GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix CLI-docs drift: Claude Code --transport, OpenCode --auto, Antigra… · ai-automation-tools/roundtable@6f1dc32

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • docs
    • CHANGELOG.md
    • CLI-MCP-Config/Per-CLI
      • antigravity.md
      • claude.md
      • opencode.md
  • scripts/lib
    • spawn-agents.ps1
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docs/CHANGELOG.md‎

Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+40-1Lines changed: 40 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,46 @@
22

33
All notable changes to this repository. Format loosely follows [Keep a Changelog](https://keepachangelog.com/).
44

5-
## 2026-08-27 (latest)
5+
## 2026-08-29 (latest)
6+
7+
### Fixed — weekly CLI-docs drift audit: three vendor changes since 2026-08-22
8+
9+
- **Claude Code: `claude mcp add` now requires `--transport stdio`.** Confirmed
10+
directly against `code.claude.com/docs/en/mcp` today — the vendor added an
11+
explicit transport flag and the command now errors without it (`claude mcp
12+
add airtable -- npx -y airtable-mcp-server` fails; `--transport stdio` must
13+
be given). `docs/CLI-MCP-Config/Per-CLI/claude.md`'s two registration
14+
commands (project and user scope) were missing it and would have failed for
15+
anyone copy-pasting them. `-s`/`--scope` and the `--` separator are
16+
unchanged.
17+
- **OpenCode: the documented skip-permissions flag is now `--auto`.**
18+
`--dangerously-skip-permissions` still works (confirmed in the CLI source),
19+
but it's an undocumented/hidden flag per an open upstream issue
20+
(`anomalyco/opencode#23370`) and the official docs now ship a purpose-built
21+
documented equivalent, `--auto`. Updated `docs/CLI-MCP-Config/Per-CLI/opencode.md`
22+
and `scripts/lib/spawn-agents.ps1`'s `$Clis.opencode.SkipPerm` (used by both
23+
`debate.ps1` and the `/orchestrate` web form spawn path) to `--auto`. Since
24+
this integration was already flagged "wired but not yet validated," relying
25+
on a hidden flag was the highest-risk gap of the three.
26+
- **Antigravity: `agy mcp add`/`remove`/`list`/`enable`/`disable` now exist**
27+
(shipped in `agy` v1.1.16, per the CLI's own GitHub changelog) — but only for
28+
the **global** `~/.gemini/config/mcp_config.json`. The **project**-scope file
29+
this repo actually registers against (`.agents/mcp_config.json`) still has no
30+
CLI command and needs hand-editing or the `/mcp` panel, same as before.
31+
`docs/CLI-MCP-Config/Per-CLI/antigravity.md` no longer claims the subcommand
32+
doesn't exist at all.
33+
34+
Codex (`--yolo`, TOML shape, `CODEX_HOME` behavior) and Gemini CLI (deprecated
35+
fallback) held up against current docs — no changes needed there. Left for a
36+
human: Antigravity's "long form `antigravity` also accepted" binary-name claim
37+
in `orchestrator/availability.py`'s `CLI_BINARIES` and the antigravity.md doc
38+
looked possibly unreliable against a secondary source (a Windows-only
39+
`antigravity-cli.cmd` alias and a same-named but unrelated desktop-IDE binary
40+
on Linux) but wasn't changed without a primary-source read — worth a local
41+
sanity check (`Get-Command antigravity` / `which antigravity`) rather than a
42+
doc edit made from secondhand evidence.
43+
44+
## 2026-08-27
645

746
### Fixed — a pasted kickoff brief no longer becomes a homepage headline
847

Collapse file

‎docs/CLI-MCP-Config/Per-CLI/antigravity.md‎

Copy file name to clipboardExpand all lines: docs/CLI-MCP-Config/Per-CLI/antigravity.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Register the `agent_chat` MCP server with the **Antigravity** CLI (binary: `agy`
1616
| **project** | `.agents/mcp_config.json` (relative to launch dir) | per-folder; in this repo at `agents/CLIs/antigravity_agent1/.agents/mcp_config.json` |
1717
| **global** | `~/.gemini/config/mcp_config.json` | shared by Antigravity 2.0, the IDE, and the CLI |
1818

19-
Both use a top-level `mcpServers` object. There is **no `agy mcp add` subcommand** — manage servers by editing the JSON directly, or interactively via the `/mcp` slash command (the "MCP server manager") inside an `agy` session.
19+
Both use a top-level `mcpServers` object. As of `agy` v1.1.16, `agy mcp add` / `remove` / `list` / `enable` / `disable` exist — but they manage the **global** `~/.gemini/config/mcp_config.json` only. The **project**-scope file this repo actually uses still has no CLI command: edit the JSON directly, or use the `/mcp` slash command (the "MCP server manager") inside an `agy` session.
2020

2121
In this repo, `.agents/mcp_config.json` is the one file in `.agents/` that's **tracked in git** (it holds the `agent_chat` config) — so any secret in it (e.g. GitHub) **must** use `${ENV_VAR}` substitution, never an inlined key. The rest of `.agents/` is gitignored.
2222

Collapse file

‎docs/CLI-MCP-Config/Per-CLI/claude.md‎

Copy file name to clipboardExpand all lines: docs/CLI-MCP-Config/Per-CLI/claude.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ Add `agent_chat` inside the existing `mcpServers` object of `agents/CLIs/claude-
3838
}
3939
```
4040

41-
…or let the CLI write it for you (the `--` separator is required — everything after it is the launch command):
41+
…or let the CLI write it for you (`--transport stdio` is required — `claude mcp add` no longer defaults to stdio and errors without an explicit transport; the `--` separator is required too — everything after it is the launch command):
4242

4343
```powershell
44-
claude mcp add -s project agent_chat -- pwsh -NoProfile -File "D:/AI_Agents/Projects/Mikes_AI_Lab/Repos/Live_Apps/Agent-Chat/scripts/run-mcp-server.ps1" claude-code
44+
claude mcp add --transport stdio -s project agent_chat -- pwsh -NoProfile -File "D:/AI_Agents/Projects/Mikes_AI_Lab/Repos/Live_Apps/Agent-Chat/scripts/run-mcp-server.ps1" claude-code
4545
```
4646

4747
> [!IMPORTANT]
@@ -71,7 +71,7 @@ The `.sh` ships with the +x bit set in the git index, so it works directly after
7171
Prefer `agent_chat` available in **every** Claude Code session, regardless of cwd? Register at user scope:
7272

7373
```powershell
74-
claude mcp add -s user agent_chat -- pwsh -NoProfile -File "D:/AI_Agents/Projects/Mikes_AI_Lab/Repos/Live_Apps/Agent-Chat/scripts/run-mcp-server.ps1" claude-code
74+
claude mcp add --transport stdio -s user agent_chat -- pwsh -NoProfile -File "D:/AI_Agents/Projects/Mikes_AI_Lab/Repos/Live_Apps/Agent-Chat/scripts/run-mcp-server.ps1" claude-code
7575
```
7676

7777
This writes to `~/.claude.json` (Windows: `%USERPROFILE%\.claude.json`).
Collapse file

‎docs/CLI-MCP-Config/Per-CLI/opencode.md‎

Copy file name to clipboardExpand all lines: docs/CLI-MCP-Config/Per-CLI/opencode.md
+7-3Lines changed: 7 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -149,20 +149,24 @@ OpenCode's headless agent is the **`run`** subcommand — `opencode run "<prompt
149149
| Flag | Effect |
150150
|:--|:--|
151151
| `opencode run "<prompt>"` | non-interactive agent run; drives the full tool loop, then exits when the agent is done |
152-
| `--dangerously-skip-permissions` | auto-approve permissions not explicitly denied (unattended) |
152+
| `--auto` | auto-approve permissions not explicitly denied (unattended) |
153153
| `-m` / `--model <provider/model>` | pick the model |
154154
| `-f` / `--file` · `--format json` | attach files · machine-readable output |
155155

156-
`scripts/debate.ps1` launches OpenCode as `opencode run --dangerously-skip-permissions "<opening>"` from `agents/CLIs/opencode_agent1/` (so `opencode.json` auto-loads). The `run` subcommand is carried in the registry's `Exe` field so the skip flag lands after it.
156+
`scripts/debate.ps1` launches OpenCode as `opencode run --auto "<opening>"` from `agents/CLIs/opencode_agent1/` (so `opencode.json` auto-loads). The `run` subcommand is carried in the registry's `Exe` field so the skip flag lands after it.
157+
158+
> [!NOTE]
159+
> `--dangerously-skip-permissions` also exists and does the same thing, but it's an undocumented/hidden flag (not on the official CLI reference) — `--auto` is the documented, supported way to auto-approve.
157160
158161
> [!WARNING]
159-
> OpenCode's auto-spawn row in `debate.ps1` (and 5-way turn rotation generally) is wired per the OpenCode docs but **not yet validated in a live run**. Confirm `opencode auth login` is done first, and smoke-test a `-DryRun -Agents 5` before going live. Note `--dangerously-skip-permissions` removes the approval rail — fine for a throwaway debate run, riskier in a real repo.
162+
> OpenCode's auto-spawn row in `debate.ps1` (and 5-way turn rotation generally) is wired per the OpenCode docs but **not yet validated in a live run**. Confirm `opencode auth login` is done first, and smoke-test a `-DryRun -Agents 5` before going live. Note `--auto` removes the approval rail — fine for a throwaway debate run, riskier in a real repo.
160163
161164
---
162165

163166
## ⚠️ Known quirks
164167

165168
- **Different MCP shape.** `mcp` key (not `mcpServers`), `"type": "local"`, single `command` array. Copy/pasting another CLI's block won't work.
169+
- **Skip-permissions flag is `--auto`, not `--dangerously-skip-permissions`.** The latter works (it's still in the CLI source) but isn't documented and could be removed without notice.
166170
- **Project overrides global.** A project `opencode.json` `agent_chat` entry overrides a same-named global entry on conflicting keys.
167171
- **Auth is provider-based.** Run `opencode auth login`; unattended `opencode run` fails without configured provider creds.
168172
- **No hot-reload.** Restart after editing `opencode.json`.
Collapse file

‎scripts/lib/spawn-agents.ps1‎

Copy file name to clipboardExpand all lines: scripts/lib/spawn-agents.ps1
+8-6Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,14 @@ $Clis = [ordered]@{
4040
# `opencode run "<prompt>"` is the headless agent loop (no TUI) — it keeps
4141
# executing tool calls (wait_for_turn -> send_message -> ...) until the agent
4242
# stops, which sustains the multi-turn debate. The Exe carries the `run`
43-
# subcommand so the SkipPerm flag lands after it (`opencode run
44-
# --dangerously-skip-permissions "<prompt>"`). Appended last so 2/3-agent
45-
# runs are unchanged; only -Agents 4 uses it. Auth via `opencode auth login`
46-
# (provider creds, no API-key env var assumed). Wired per the opencode docs,
47-
# not yet live-validated.
48-
'opencode' = @{ Dir = 'agents\CLIs\opencode_agent1'; Exe = 'opencode run'; PromptArg = '{0}'; SkipPerm = '--dangerously-skip-permissions' }
43+
# subcommand so the SkipPerm flag lands after it (`opencode run --auto
44+
# "<prompt>"`). `--auto` is the documented skip-permissions flag as of the
45+
# 2026-08-29 CLI-docs audit (`--dangerously-skip-permissions` still works but
46+
# is an undocumented/hidden alias — see opencode.md). Appended last so
47+
# 2/3-agent runs are unchanged; only -Agents 4 uses it. Auth via `opencode
48+
# auth login` (provider creds, no API-key env var assumed). Wired per the
49+
# opencode docs, not yet live-validated.
50+
'opencode' = @{ Dir = 'agents\CLIs\opencode_agent1'; Exe = 'opencode run'; PromptArg = '{0}'; SkipPerm = '--auto' }
4951
}
5052

5153
# --------------------------------------------------------------------------

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.