@timmyjl12/pi-agy-bridge 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ARCHITECTURE.md +2 -2
- package/README.md +7 -6
- package/UPGRADING.md +6 -4
- package/compat/baselines/agy-1.5.16.json +284 -0
- package/compat/baselines/sdk-0.1.24.json +4343 -0
- package/compat/matrix.json +2 -2
- package/compat/probe.ts +1 -1
- package/compat/sdk-canary/pyproject.toml +1 -1
- package/compat/sdk-canary/uv.lock +8 -8
- package/package.json +1 -1
- package/src/accounts.ts +26 -1
- package/src/acp/connection.ts +1 -1
- package/src/runtime.ts +2 -2
- package/src/session-pool.ts +10 -1
- package/src/stream.ts +16 -0
package/ARCHITECTURE.md
CHANGED
|
@@ -69,7 +69,7 @@ One shared `agy acp` per extension runtime, started on first real use, serving e
|
|
|
69
69
|
|
|
70
70
|
`AccountManager` (`account-manager.ts`) owns one `AgyRuntime` per Antigravity account. The default runtime is the one described above (provider `agy`, api `agy-acp`, agy's keyring login) and is registered synchronously at load, exactly as before. Each enabled entry of `<home>/accounts.json` (plus `PI_AGY_ACCOUNTS`) gets its own runtime, pool and `agy acp` process, and its own pi provider `agy-<alias ?? id>` with its own api id `agy-acp-<alias ?? id>` (pi-ai's compat stream registry is keyed by api id, so ids must not be shared). Providers are (un)registered live through `pi.registerProvider` / `pi.unregisterProvider` when an account is added, renamed, enabled, disabled or removed.
|
|
71
71
|
|
|
72
|
-
An extra account's process differs from the default in three ways: `--gemini-dir <home>/accounts/<id>/gemini` (and its own work dir), `--log-file <home>/accounts/<id>/acp.log
|
|
72
|
+
An extra account's process differs from the default in three ways: `--gemini-dir <home>/accounts/<id>/gemini` (and its own work dir), `--log-file <home>/accounts/<id>/acp.log` (moved to `acp.prev.log` when the next process starts, so a failed run can still be read), and `SSH_CONNECTION` in its environment. agy keeps one login per OS user in the keyring; when it sees an SSH session it uses a token file inside the gemini dir instead (measured on 1.5.12 and 1.5.14, `.plan/agy-multi-account/evidence`). `agy acp --login` with the same three settings signs that folder in (`accounts.ts` `startLogin`).
|
|
73
73
|
|
|
74
74
|
The identity guard (`PoolOptions.verifyProcess`, `AgyRuntime` `#checkIdentity`) runs once per process right after its first `session/new`, because agy resolves the login lazily during that call. It reads agy's own log: the process is used only if agy reports file-based token storage and `authenticated successfully as <expected email>`. Otherwise the session is closed, the process stopped, and the request fails with `agy authentication required (not logged in) … account <id>` (non-retryable for pi-fallback-chains) or, when the storage trigger is missing, `pi-agy-bridge is unavailable: …` - so an extra provider never silently spends the default account's quota. Each account has its own `state.json` hint and trace tag; error messages of an extra account end with `(account <id>)`.
|
|
75
75
|
|
|
@@ -79,7 +79,7 @@ Management: `/agy-bridge` subcommands (`index.ts` `handle`) and the overlay (`ui
|
|
|
79
79
|
|
|
80
80
|
- agy runs with `--gemini-dir <home>/gemini`: its conversations, logs and caches never touch `~/.gemini`, and your global MCP servers and settings are not loaded.
|
|
81
81
|
- A staged carrier agent (`--add-dir <home>/stage --agent pi-agy-fence-<hash>`) sets `tools: []`, `commandExecutionPolicy: off`, `inheritCustomizations: false` and `excludeDefaultComponents: true`. This removes agy's native tools and its built-in prompt scaffolding. Measured: the base prompt shrinks from 2431 to 716 tokens and the model no longer hears that its workspace is our private stage folder, to write artifacts to a brain directory or to build `file://` links, all of which conflict with pi owning the files. pi-antigravity-bridge cannot do this because its tool route is MCP, whose catalogue lives in those components. MCP built-ins are never listed under `tools:` (agy rejects them at start-up). Evidence: `evidence/cache-and-usage-semantics.md`.
|
|
82
|
-
- The ACP client capabilities declare no file or terminal access, and every `session/request_permission` is answered with a reject option.
|
|
82
|
+
- The ACP client capabilities declare no file or terminal access, and every `session/request_permission` is answered with a reject option. Any other agent-to-client request is answered with a JSON-RPC error. agy 1.5.16 can forward subagent and workflow questions and form prompts to the client; the carrier agent has no tools, subagents or skills, so agy never raises them here (none appeared in 448 recorded agy logs, 2026-11-24). Supporting them would mean giving agy its own tools, which contradicts pi owning tool execution.
|
|
83
83
|
- Sessions use an empty working directory so no project rules leak into agy's prompt (pi already sends its own).
|
|
84
84
|
|
|
85
85
|
## Start-up cost (measured)
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Use Google Antigravity models (Gemini, Claude, GPT-OSS) in [pi](https://github.c
|
|
|
4
4
|
|
|
5
5
|
It follows the design of `pi-claude-code`: **pi keeps the conversation, the approvals and the tool execution; agy is only the model.** Every pi request becomes one ACP prompt turn. When the model wants a pi tool it writes a small tool-call block, pi runs the tool, and the next request carries the result. Nothing is parked between requests, so a slow tool (a long `pytest` run, a user dialog) can take as long as it needs and there is no turn time limit.
|
|
6
6
|
|
|
7
|
-
> Status: 0.
|
|
7
|
+
> Status: 0.3.0. agy 1.5.16 and the `google-antigravity` SDK 0.1.24 are now tested. agy 1.5.16 retired `gemini-pro-orchestrator-g1-pro`; its orchestrators are now `gemini-pro-orchestrator` (Carbon), `gemini-pro-orchestrator-argon` and `gemini-pro-orchestrator-neon`, and Gemini 4 Carbon (low, medium, high) is new. The SDK change (a removed `InputConfig.use_interactions_api` field) does not touch the bridge, which uses the SDK only as a drift canary. Stalls and timeouts are now easier to diagnose: an extra account keeps its previous agy log as `acp.prev.log`, and with `PI_AGY_TRACE=1` a stalled or timed-out turn records what agy last sent and when. agy 1.5.16 also forwards subagent and workflow questions to the editor; the bridge's carrier agent has no agy tools, subagents or skills, so agy never asks them here. 0.2.1: Extra-account sign-in works on agy 1.5.14: agy now prints a link and waits for the authorization code, so the bridge opens the link and asks for the code in a dialog. 0.2.0: Multiple Antigravity accounts: each extra account runs as its own provider `agy-<alias or id>` with its own login, managed from `/agy-bridge menu` or the `/agy-bridge` account commands; verified live on agy 1.5.14 with two Google accounts answering side by side. agy 1.5.14 is now tested: it refuses pi's appended system prompt silently (no notice for ~2 min), which `auto` now detects with a 30 s refusal probe and answers inline (see [Multiple Antigravity accounts](#multiple-antigravity-accounts)). 0.1.5: the default bridge home now honors Pi's configured agent directory (`PI_CODING_AGENT_DIR`). Every Pi session shutdown now recycles the outgoing runtime instead of permanently latching it shut, so a late pi-advisor retry can start a fresh ACP process; explicit terminal disposal remains terminal. The compatibility probe passed on `agy 1.5.8`, `1.5.9` and `1.5.12`; the drift from 1.5.9 to 1.5.12 is additive only (the `gemini-4-neon` family, `gemini-pro-orchestrator-neon`, and `xhigh` as a `thought_level`). The `google-antigravity` SDK was then current at `0.1.23`. On 2026-11-14 (agy 1.5.9) the Antigravity backend began refusing pi's default system prompt sent through the append hook with `RESOURCE_EXHAUSTED`; live `gemini-4-hydrogen` turns and pi-subagents runs succeed through the `auto` inline fallback (see `PI_AGY_SYSTEM_PROMPT`). Earlier live bridge checks passed on `agy 1.5.8`. Live turns succeeded on `gemini-3.8-flash`, `gemini-4-hydrogen` (including `xhigh`), and `gemini-pro-orchestrator-g1-pro`. A real pi surface check with the configured extensions also passed. Claude, GPT-OSS and the `gemini-4-neon` family have not been exercised in a live model turn.
|
|
8
8
|
|
|
9
9
|
## Requirements
|
|
10
10
|
|
|
@@ -28,10 +28,10 @@ Models appear as `agy/<id>` in `/model`:
|
|
|
28
28
|
|
|
29
29
|
| Model | Thinking levels |
|
|
30
30
|
| --- | --- |
|
|
31
|
-
| `agy/gemini-4-argon`, `agy/gemini-3.8-flash`, `agy/claude-opus-5-5`, `agy/claude-sonnet-5-5` | low, medium, high |
|
|
31
|
+
| `agy/gemini-4-argon`, `agy/gemini-4-carbon`, `agy/gemini-3.8-flash`, `agy/claude-opus-5-5`, `agy/claude-sonnet-5-5` | low, medium, high |
|
|
32
32
|
| `agy/gemini-4-hydrogen` | low, medium, high, xhigh (reported by agy 1.5.8) |
|
|
33
33
|
| `agy/gemini-4-neon` | low, medium, high, xhigh (reported by agy 1.5.12) |
|
|
34
|
-
| `agy/gemini-pro-orchestrator-
|
|
34
|
+
| `agy/gemini-pro-orchestrator` (Carbon), `agy/gemini-pro-orchestrator-argon`, `agy/gemini-pro-orchestrator-neon` | no selectable reasoning level (agy 1.5.16; earlier releases called the Argon orchestrator `gemini-pro-orchestrator-g1-pro`) |
|
|
35
35
|
| `agy/gpt-oss-120b-medium` | fixed (medium) |
|
|
36
36
|
|
|
37
37
|
The list is what your agy reports, so new models appear without an update. pi's "off" thinking level is not offered because agy cannot switch thinking off.
|
|
@@ -99,9 +99,9 @@ Environment variables (all optional). Invalid values fall back to the default.
|
|
|
99
99
|
| `PI_AGY_CANCEL_GRACE_MS` | `3000` | wait this long for a cancel before giving up on a turn |
|
|
100
100
|
| `PI_AGY_MAX_REPLAY_KB` | `8192` | refuse to replay a conversation larger than this |
|
|
101
101
|
| `PI_AGY_CONTROL_TIMEOUT_SEC` | `60` | timeout for handshake and session calls |
|
|
102
|
-
| `PI_AGY_SYSTEM_PROMPT` | `auto` | how pi's system prompt reaches agy: `append` (the `session/new` append hook), `inline` (top of the first prompt), or `auto` (append; if Antigravity refuses a fresh appended session with `RESOURCE_EXHAUSTED` before any output, retry that turn inline once and keep using inline). In `auto` the refusal is saved in `<home>/state.json` for 24 hours (or until agy's version changes), so other pi processes, including subagents, start inline without a refused attempt. agy 1.5.14 retries the refusal silently for about two minutes, so in
|
|
102
|
+
| `PI_AGY_SYSTEM_PROMPT` | `auto` | how pi's system prompt reaches agy: `append` (the `session/new` append hook), `inline` (top of the first prompt), or `auto` (append; if Antigravity refuses a fresh appended session with `RESOURCE_EXHAUSTED` before any output, retry that turn inline once and keep using inline). In `auto` the refusal is saved in `<home>/state.json` for 24 hours (or until agy's version changes), so other pi processes, including subagents, start inline without a refused attempt. agy 1.5.14 retries the refusal silently for about two minutes, so in `auto` a fresh appended session that shows no model output (text or thinking) within PI_AGY_REFUSAL_PROBE_SEC is treated as refused too |
|
|
103
103
|
| `PI_AGY_REFUSAL_PROBE_SEC` | `30` | `auto` only: seconds a fresh session with the appended system prompt may stay silent before it is retried inline (measured first output on agy 1.5.14: 0.4-3.4 s); `0` disables the probe |
|
|
104
|
-
| `PI_AGY_TRACE` | off | `1` appends diagnostics to `<home>/trace.log
|
|
104
|
+
| `PI_AGY_TRACE` | off | `1` appends diagnostics to `<home>/trace.log`, including, for a stalled or timed-out turn, how many updates agy sent, the kind of the last one and how long ago it arrived |
|
|
105
105
|
| `PI_AGY_ACCOUNTS` | none | extra accounts by id, comma-separated, in addition to `accounts.json` (see [Multiple Antigravity accounts](#multiple-antigravity-accounts)) |
|
|
106
106
|
| `PI_AGY_ACCOUNT_<ID>_EMAIL` | none | expected Google account of an extra account (normally recorded at sign-in) |
|
|
107
107
|
|
|
@@ -142,7 +142,8 @@ Example chain, mirrored from an `antigravity/*` chain:
|
|
|
142
142
|
| `pi-agy-bridge is unavailable: agy did not switch to per-account token storage for account <id>` | an agy update stopped honouring the trigger extra accounts use; they fail closed rather than use your default login | see `UPGRADING.md` §1 (the compat probe reports this as breaking) |
|
|
143
143
|
| `agy quota exhausted: ... Resets in ...` | the plan's quota for that model is used up (agy delivers this as a normal reply with no tokens; the bridge turns it into an error so fallback chains rotate) | use another model; the reset time is in the message |
|
|
144
144
|
| `agy quota exceeded: Antigravity answered RESOURCE_EXHAUSTED ...` | the backend refused the request (429). agy would retry five times (~75 s); the bridge stops at the first notice. Since 2026-11-14 the backend refuses pi's default system prompt when it comes through the append hook (all models), while the same text inline is served; `auto` handles this | nothing in `auto` mode; otherwise use another model. The message says whether the prompt was appended or inline |
|
|
145
|
-
| `agy stalled for 120s with no output` | the model produced nothing for the silence limit (with agy 1.5.14 and `PI_AGY_SYSTEM_PROMPT=append`: the backend's silent refusal of the appended prompt; use `auto`) | retry; raise `PI_AGY_SILENCE_SEC` for very long silent thinking |
|
|
145
|
+
| `agy stalled for 120s with no output` | the model produced nothing for the silence limit (with agy 1.5.14 and `PI_AGY_SYSTEM_PROMPT=append`: the backend's silent refusal of the appended prompt; use `auto`) | retry; raise `PI_AGY_SILENCE_SEC` for very long silent thinking. To see why, set `PI_AGY_TRACE=1` (the trace names agy's last update); for an extra account agy's own log of the failed run is `<home>/accounts/<id>/acp.prev.log` after the next start |
|
|
146
|
+
| `agy request timed out after 300s` | the turn hit pi's own request timeout (`timeoutMs`; 300 s here). agy's logs show its model request was still open: the backend kept the stream silent until the deadline, so this is a slow or stuck backend turn, not the bridge | retry; the same `PI_AGY_TRACE=1` line shows what agy last sent. The timeout itself is pi's setting, not the bridge's |
|
|
146
147
|
| `agy exited with status N` | the agy process died | retry (a new process starts); `/agy-bridge doctor` shows agy's last stderr |
|
|
147
148
|
| `agy is unavailable: pi-agy-bridge is shut down` during or just after reload/session replacement | 0.1.2 or older permanently latched the outgoing pool while a background caller (often pi-advisor) was retrying | upgrade to 0.1.3 or newer. An old advisor error can remain visible until a later review succeeds; that sticky status is normal |
|
|
148
149
|
| `pi-agy-bridge is unavailable: agy ... below the minimum` | agy too old | `agy update` |
|
package/UPGRADING.md
CHANGED
|
@@ -67,8 +67,8 @@ npm run check # tsc --noEmit
|
|
|
67
67
|
|
|
68
68
|
`features.test.ts` pins feature negotiation against the recorded 1.5.3
|
|
69
69
|
`initialize` result and its mutations. `model-catalog.test.ts` covers the
|
|
70
|
-
`session/new` catalog captured from agy 1.5.8
|
|
71
|
-
1.5.12 baseline, including per-model `xhigh`, models with no selectable reasoning
|
|
70
|
+
`session/new` catalog captured from agy 1.5.8, the catalog recorded in the
|
|
71
|
+
1.5.12 baseline and the live 1.5.16 catalog (renamed orchestrators, Gemini 4 Carbon), including per-model `xhigh`, models with no selectable reasoning
|
|
72
72
|
level, and that the session-wide `thought_level` option never leaks a level to a
|
|
73
73
|
model whose own variants do not list it. `probe.test.ts` pins parsers, diff
|
|
74
74
|
classification, baseline selection and CLI exit codes through injected
|
|
@@ -101,9 +101,11 @@ uv run --project compat/sdk-canary python compat/sdk-canary/canary.py --latest
|
|
|
101
101
|
|
|
102
102
|
First run creates `compat/sdk-canary/.venv` (the pinned `google-antigravity`
|
|
103
103
|
version is in `pyproject.toml`; `uv.lock` is committed and `.venv` is gitignored).
|
|
104
|
-
As of 2026-11-
|
|
104
|
+
As of 2026-11-24, PyPI latest, the `v0.1.24` tag of
|
|
105
105
|
`google-antigravity/antigravity-sdk-python` and the recorded SDK baseline are all
|
|
106
|
-
`0.1.
|
|
106
|
+
`0.1.24`. 0.1.24 removed `InputConfig.use_interactions_api` (breaking for the
|
|
107
|
+
canary, not for the bridge: the bridge never imports the SDK) and added
|
|
108
|
+
`SubagentsConfig.disable_manage_subagents_tool` and the `ThinkingEffort` enum. Check both upstreams before assuming
|
|
107
109
|
one leads the other: a missing git tag is not a newer release. `--latest` needs
|
|
108
110
|
network (PyPI + uv); `--record` is deterministic. Additive: re-record, add to
|
|
109
111
|
`sdk.tested`. Breaking (removed/renumbered messages, fields or enums): the harness
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": 1,
|
|
3
|
+
"agyVersion": "1.5.16",
|
|
4
|
+
"collectedAt": "2026-11-24T20:35:52.119Z",
|
|
5
|
+
"helpFlags": [
|
|
6
|
+
"--add-dir",
|
|
7
|
+
"--agent",
|
|
8
|
+
"--continue",
|
|
9
|
+
"--conversation",
|
|
10
|
+
"--dangerously-skip-permissions",
|
|
11
|
+
"--disable-slash-commands",
|
|
12
|
+
"--effort",
|
|
13
|
+
"--input-format",
|
|
14
|
+
"--json-schema",
|
|
15
|
+
"--log-file",
|
|
16
|
+
"--mode",
|
|
17
|
+
"--model",
|
|
18
|
+
"--new-project",
|
|
19
|
+
"--output-format",
|
|
20
|
+
"--print",
|
|
21
|
+
"--print-timeout",
|
|
22
|
+
"--project",
|
|
23
|
+
"--prompt",
|
|
24
|
+
"--prompt-interactive",
|
|
25
|
+
"--remote-agent",
|
|
26
|
+
"--remote-control",
|
|
27
|
+
"--resume",
|
|
28
|
+
"--sandbox",
|
|
29
|
+
"--settings",
|
|
30
|
+
"-c",
|
|
31
|
+
"-i",
|
|
32
|
+
"-p",
|
|
33
|
+
"-r"
|
|
34
|
+
],
|
|
35
|
+
"acpHelpFlags": [
|
|
36
|
+
"--add-dir",
|
|
37
|
+
"--agent",
|
|
38
|
+
"--app-data-dir",
|
|
39
|
+
"--app_data_dir",
|
|
40
|
+
"--cli_dir_name",
|
|
41
|
+
"--cli_log_file",
|
|
42
|
+
"--cloud_code_endpoint",
|
|
43
|
+
"--dangerously-skip-permissions",
|
|
44
|
+
"--disable-telemetry",
|
|
45
|
+
"--disable_telemetry",
|
|
46
|
+
"--gemini-dir",
|
|
47
|
+
"--gemini_dir",
|
|
48
|
+
"--help",
|
|
49
|
+
"--ide-mcp-port",
|
|
50
|
+
"--ide_mcp_port",
|
|
51
|
+
"--include-default-customizations",
|
|
52
|
+
"--is_google3_workspace",
|
|
53
|
+
"--is_google_internal",
|
|
54
|
+
"--log-file",
|
|
55
|
+
"--login",
|
|
56
|
+
"--override_user_agent_name",
|
|
57
|
+
"--process-per-session",
|
|
58
|
+
"--sandbox",
|
|
59
|
+
"--stdio",
|
|
60
|
+
"--use_stubby_auth",
|
|
61
|
+
"--worker",
|
|
62
|
+
"-h"
|
|
63
|
+
],
|
|
64
|
+
"models": [
|
|
65
|
+
{
|
|
66
|
+
"id": "claude-opus-5-5-high",
|
|
67
|
+
"label": "Claude Opus 5.5 (High)"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "claude-opus-5-5-low",
|
|
71
|
+
"label": "Claude Opus 5.5 (Low)"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "claude-opus-5-5-medium",
|
|
75
|
+
"label": "Claude Opus 5.5 (Medium)"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"id": "claude-sonnet-5-5-high",
|
|
79
|
+
"label": "Claude Sonnet 5.5 (High)"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": "claude-sonnet-5-5-low",
|
|
83
|
+
"label": "Claude Sonnet 5.5 (Low)"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "claude-sonnet-5-5-medium",
|
|
87
|
+
"label": "Claude Sonnet 5.5 (Medium)"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "gemini-3.8-flash-high",
|
|
91
|
+
"label": "Gemini 3.8 Flash (High)"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "gemini-3.8-flash-low",
|
|
95
|
+
"label": "Gemini 3.8 Flash (Low)"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"id": "gemini-3.8-flash-medium",
|
|
99
|
+
"label": "Gemini 3.8 Flash (Medium)"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "gemini-4-argon-high",
|
|
103
|
+
"label": "Gemini 4 Argon (High)"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "gemini-4-argon-low",
|
|
107
|
+
"label": "Gemini 4 Argon (Low)"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "gemini-4-argon-medium",
|
|
111
|
+
"label": "Gemini 4 Argon (Medium)"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": "gemini-4-carbon-high",
|
|
115
|
+
"label": "Gemini 4 Carbon (High)"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "gemini-4-carbon-low",
|
|
119
|
+
"label": "Gemini 4 Carbon (Low)"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "gemini-4-carbon-medium",
|
|
123
|
+
"label": "Gemini 4 Carbon (Medium)"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": "gemini-4-hydrogen-high",
|
|
127
|
+
"label": "Gemini 4 Hydrogen (High)"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"id": "gemini-4-hydrogen-low",
|
|
131
|
+
"label": "Gemini 4 Hydrogen (Low)"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"id": "gemini-4-hydrogen-medium",
|
|
135
|
+
"label": "Gemini 4 Hydrogen (Medium)"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "gemini-4-hydrogen-xhigh",
|
|
139
|
+
"label": "Gemini 4 Hydrogen (XHigh)"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "gemini-4-neon-high",
|
|
143
|
+
"label": "Gemini 4 Neon (High)"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "gemini-4-neon-low",
|
|
147
|
+
"label": "Gemini 4 Neon (Low)"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"id": "gemini-4-neon-medium",
|
|
151
|
+
"label": "Gemini 4 Neon (Medium)"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"id": "gemini-4-neon-xhigh",
|
|
155
|
+
"label": "Gemini 4 Neon (XHigh)"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"id": "gemini-pro-orchestrator",
|
|
159
|
+
"label": "Orchestrator (Carbon)"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"id": "gemini-pro-orchestrator-argon",
|
|
163
|
+
"label": "Orchestrator (Argon)"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": "gemini-pro-orchestrator-neon",
|
|
167
|
+
"label": "Orchestrator (Neon)"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"id": "gpt-oss-120b-medium",
|
|
171
|
+
"label": "GPT-OSS 120B (Medium)"
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
"initialize": {
|
|
175
|
+
"protocolVersion": 1,
|
|
176
|
+
"agentName": "Antigravity ACP Server",
|
|
177
|
+
"agentVersion": "1.5.16",
|
|
178
|
+
"capabilities": {
|
|
179
|
+
"_meta.antigravity.systemPrompt.append": true,
|
|
180
|
+
"auth.logout": true,
|
|
181
|
+
"loadSession": true,
|
|
182
|
+
"load_session": true,
|
|
183
|
+
"promptCapabilities.audio": false,
|
|
184
|
+
"promptCapabilities.embeddedContext": true,
|
|
185
|
+
"promptCapabilities.image": true,
|
|
186
|
+
"sessionCapabilities.additionalDirectories": true,
|
|
187
|
+
"sessionCapabilities.close": true,
|
|
188
|
+
"sessionCapabilities.list": true,
|
|
189
|
+
"sessionCapabilities.load": true,
|
|
190
|
+
"sessionCapabilities.resume": true,
|
|
191
|
+
"session_capabilities.additionalDirectories": true,
|
|
192
|
+
"session_capabilities.close": true,
|
|
193
|
+
"session_capabilities.list": true,
|
|
194
|
+
"session_capabilities.load": true,
|
|
195
|
+
"session_capabilities.resume": true
|
|
196
|
+
},
|
|
197
|
+
"authMethodIds": [
|
|
198
|
+
"agent-platform",
|
|
199
|
+
"gemini-api-key",
|
|
200
|
+
"oauth-business",
|
|
201
|
+
"oauth-personal"
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
"session": {
|
|
205
|
+
"configOptions": [
|
|
206
|
+
{
|
|
207
|
+
"id": "mode",
|
|
208
|
+
"type": "select",
|
|
209
|
+
"values": [
|
|
210
|
+
"accept-edits",
|
|
211
|
+
"auto",
|
|
212
|
+
"default",
|
|
213
|
+
"plan"
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"id": "model",
|
|
218
|
+
"type": "select",
|
|
219
|
+
"values": [
|
|
220
|
+
"claude-opus-5-5",
|
|
221
|
+
"claude-sonnet-5-5",
|
|
222
|
+
"gemini-3.8-flash",
|
|
223
|
+
"gemini-4-argon",
|
|
224
|
+
"gemini-4-carbon",
|
|
225
|
+
"gemini-4-hydrogen",
|
|
226
|
+
"gemini-4-neon",
|
|
227
|
+
"gemini-pro-orchestrator",
|
|
228
|
+
"gemini-pro-orchestrator-argon",
|
|
229
|
+
"gemini-pro-orchestrator-neon",
|
|
230
|
+
"gpt-oss-120b-medium"
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"id": "thought_level",
|
|
235
|
+
"type": "select",
|
|
236
|
+
"values": [
|
|
237
|
+
"high",
|
|
238
|
+
"low",
|
|
239
|
+
"medium",
|
|
240
|
+
"xhigh"
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
"modeIds": [
|
|
245
|
+
"accept-edits",
|
|
246
|
+
"auto",
|
|
247
|
+
"default",
|
|
248
|
+
"plan"
|
|
249
|
+
],
|
|
250
|
+
"modelIds": [
|
|
251
|
+
"claude-opus-5-5-high",
|
|
252
|
+
"claude-opus-5-5-low",
|
|
253
|
+
"claude-opus-5-5-medium",
|
|
254
|
+
"claude-sonnet-5-5-high",
|
|
255
|
+
"claude-sonnet-5-5-low",
|
|
256
|
+
"claude-sonnet-5-5-medium",
|
|
257
|
+
"gemini-3.8-flash-high",
|
|
258
|
+
"gemini-3.8-flash-low",
|
|
259
|
+
"gemini-3.8-flash-medium",
|
|
260
|
+
"gemini-4-argon-high",
|
|
261
|
+
"gemini-4-argon-low",
|
|
262
|
+
"gemini-4-argon-medium",
|
|
263
|
+
"gemini-4-carbon-high",
|
|
264
|
+
"gemini-4-carbon-low",
|
|
265
|
+
"gemini-4-carbon-medium",
|
|
266
|
+
"gemini-4-hydrogen-high",
|
|
267
|
+
"gemini-4-hydrogen-low",
|
|
268
|
+
"gemini-4-hydrogen-medium",
|
|
269
|
+
"gemini-4-hydrogen-xhigh",
|
|
270
|
+
"gemini-4-neon-high",
|
|
271
|
+
"gemini-4-neon-low",
|
|
272
|
+
"gemini-4-neon-medium",
|
|
273
|
+
"gemini-4-neon-xhigh",
|
|
274
|
+
"gemini-pro-orchestrator",
|
|
275
|
+
"gemini-pro-orchestrator-argon",
|
|
276
|
+
"gemini-pro-orchestrator-neon",
|
|
277
|
+
"gpt-oss-120b-medium"
|
|
278
|
+
],
|
|
279
|
+
"metaKeys": [
|
|
280
|
+
"antigravity"
|
|
281
|
+
]
|
|
282
|
+
},
|
|
283
|
+
"fileTokenStorageTrigger": "SSH_CONNECTION"
|
|
284
|
+
}
|