- Home
- Plugin
- Strumenti e capacità
- dsh-subagent-antigravity
dsh-subagent-antigravity
alambicco/dsh-subagent-antigravity
Route native DeepSeek Harness subagent_fork child sessions onto your Google AI Pro (Antigravity) subscription (Gemini 3.8 Flash, Claude Sonnet 5.5, Claude Opus 5.5, GPT-OSS 120B) with zero API cost, live SSE streaming, full tool calling, prefill cache warm-up gating, ~200ms HTTPS quota checks, and a chat header button + slide-out settings/effort drawer.
Installazione
dsh plugin --profile web add github:alambicco/dsh-subagent-antigravityREADME
dsh-subagent-antigravity
Route native DeepSeek Harness subagent_fork child sessions onto your Google AI Pro (Antigravity) subscription (daily-cloudcode-pa.googleapis.com) with zero API billing, real-time token streaming, full DSH tool calling, ~200 ms HTTPS quota checks, and a vertically centered right-side UI panel for live usage, model setting, effort level, and /subagent toggling.
parent session (any model route — e.g. deepseek-flash or google-vertex)
└── subagent_fork → native DSH child session (header tab, live output, token meter, send_message)
└── AntigravityLlmAdapter / Loopback Proxy (provider: "antigravity", dynamic model & effort)
└── daily-cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse
Features
-
Native
subagent_forkDelegation (No TUI / No PTY):- Automatically pins
subagent_forkchild sessions toantigravity/<selected-model>and<selected-effort>by wrappingctx.subagents.startActivation. - Every delegated child is a first-class DSH session: it opens as a navigable tab, streams real SSE text and tool-call deltas as they arrive, supports
send_messagecontinuation andinterrupt_agent, and reports exactusageMetadatato DSH's token meter. - Zero vendor preset tampering required: works out of the box with shipped
standard,cordis, andptcpresets.
- Automatically pins
-
Direct In-Process
LlmAdapter+ Loopback OpenAI Proxy:- Registers
AntigravityLlmAdapterdirectly onctx.llm(provider: "antigravity") so child sessions require zerocordis.patch.yml/llm-pi-aiboilerplate. - Also starts a loopback OpenAI-compatible proxy on
127.0.0.1:8791/v1(GET /v1/models,POST /v1/chat/completions,GET /health) for compatibility withllm-pi-aior external local tools. - Full bidirectional tool calling: converts JSON Schemas to Gemini's strict uppercase
Schemasubset (collapsinganyOf/oneOf/allOfand ensuringARRAYitems), pairs parallelfunctionCall/functionResponseturns (separating inline tool-result images into a follow-up user turn), caches and replays Gemini 3.x cryptographicthoughtSignaturetokens in~/.dsh/antigravity/tool-signatures.json(bounded to 600 entries), and gracefully degrades foreign/unsigned parent history turns to readable text.
- Registers
-
Instant HTTPS Plan Usage (
~200 ms, Zero PTY):- Queries
v1internal:fetchAvailableModelsandv1internal:retrieveUserQuotaSummarydirectly over HTTPS using the CLI's OAuth token (~/.gemini/antigravity-cli/antigravity-oauth-token), refreshing tokens automatically in memory. - Exposed via the
antigravity_usagemodel tool andGET /api/dsh-antigravity/usage(?force=1bypasses the 5-minute cache).
- Queries
-
Vertically Centered Right-Side UI Panel (
shell.overlay+conversation.input.right):- Renders a compact capsule vertically centered on the right edge of the DSH UI (
shell.overlay), featuring:- Simple Quota &
/subagentButton: Shows the remaining 5-hour quota percentage for the active setting (amber under 25%, red under 8%, solid blue when/subagentis armed). Click to toggle/subagentin the active composer draft; Alt-click to force a live quota refresh. - Slim Side Arrow: Expands and collapses the floating settings popover panel.
- Simple Quota &
- Expanded Settings & Usage Popover:
- Setting (Model & Usage Left): Choose between
Gemini 3.8 Flash,Claude Sonnet 5.5,Claude Opus 5.5, andGPT-OSS 120B, each displaying its live remaining quota percentage, progress bar, and reset countdown. - Effort Level: Choose
Low(0 budget),Med(4k),High(24k), orMax(32k) thinking token budget. Persisted to~/.dsh/antigravity/settings.jsonviaGET|POST /api/dsh-antigravity/settingsand applied immediately to newsubagent_forkactivations. - Delegate with
/subagentToggle: Synced with the active conversation composer via a headless bridge inconversation.input.right.
- Setting (Model & Usage Left): Choose between
- Renders a compact capsule vertically centered on the right edge of the DSH UI (
Supported Models
| Model ID | Family | Upstream | Context Window | Max Output | Thinking Budget | Quota Bucket |
|---|---|---|---|---|---|---|
gemini-3.8-flash-high (default) | gemini-3.8-flash | gemini-3.8-flash-tiered | 1,048,576 | 65,536 | 24,576 | Gemini Flash/Pro |
gemini-3.8-flash-medium | gemini-3.8-flash | gemini-3.8-flash-tiered | 1,048,576 | 65,536 | 4,096 | Gemini Flash/Pro |
gemini-3.8-flash-low | gemini-3.8-flash | gemini-3.8-flash-tiered | 1,048,576 | 65,536 | 0 | Gemini Flash/Pro |
claude-sonnet-5-5-high | claude-sonnet-5-5 | claude-sonnet-5-5-high | 1,000,000 | 128,000 | adaptive | Claude / GPT-OSS |
claude-sonnet-5-5-medium | claude-sonnet-5-5 | claude-sonnet-5-5-medium | 1,000,000 | 128,000 | adaptive | Claude / GPT-OSS |
claude-sonnet-5-5-low | claude-sonnet-5-5 | claude-sonnet-5-5-low | 1,000,000 | 128,000 | adaptive | Claude / GPT-OSS |
claude-opus-5-5-high | claude-opus-5-5 | claude-opus-5-5-high | 1,000,000 | 128,000 | adaptive | Claude / GPT-OSS |
claude-opus-5-5-medium | claude-opus-5-5 | claude-opus-5-5-medium | 1,000,000 | 128,000 | adaptive | Claude / GPT-OSS |
claude-opus-5-5-low | claude-opus-5-5 | claude-opus-5-5-low | 1,000,000 | 128,000 | adaptive | Claude / GPT-OSS |
gpt-oss-120b-medium | gpt-oss-120b | gpt-oss-120b-medium | 131,072 | 65,536 | adaptive | Claude / GPT-OSS |
Plugin correlati
archify (deepseek-harness)
tt-a1i/archify
WeKnora (dsh-weknora)
tencent/weknora
weknora
tencent/weknora
BrowserSkill (dsh-plugin-browserskill)
tencent/browserskill