zhangzhangco/dsh-llm-antigravity ↗★ 0
dsh-llm-antigravity
Antigravity route for DeepSeek Harness: local Antigravity CLI (agy) as an LLM provider 适合需要使用本地agy命令行工具作为DSH模型后端的特定用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhangzhangco/dsh-llm-antigravityConfiguration
Mounted by the package itself. This row ships in
cordis.patch.yml, which dsh plugin composes as a bundle
layer as soon as the package is installed:
- insert:
- id: llm-antigravity
name: dsh-llm-antigravity
Every field below then takes its default from the schema in config.js. To
change one on a given machine, add an id-targeted patch to your own
~/.dsh/profiles/ /cordis.patch.yml:
- id: llm-antigravity
config:
textOnly: false
skipPermissions: true
An id-targeted patch replaces the whole config value; the schema fills in
every key you leave out, so a partial override is enough. Do not write a
second insert row for llm-antigravity — see
Upgrading from 0.2.x.
| Field | Default | Meaning |
|---|---|---|
provider | antigravity-local | Route name shown to the model picker |
command | discovered | agy to run; empty discovers it ($AGY_COMMAND, PATH, known installs) |
args | [] | Extra argv appended before the prompt flag |
model | empty | Pin one model; empty follows the catalog, then models, then the CLI default |
effort | empty | Default reasoning level, low/medium/high |
agent | empty | Antigravity agent; empty selects the built-in tool-less one when textOnly is on |
textOnly | true | Select a tool-less agent so answers are text, not tool calls |
geminiConfigDir | empty | Antigravity config root; empty uses $GEMINI_CONFIG_DIR or ~/.gemini/config |
provisionAgent | true | Create the built-in tool-less agent file when it is missing |
proxy | empty | Proxy for the child, exported as HTTP_PROXY/HTTPS_PROXY |
noProxy | localhost,127.0.0.1,::1 | Hosts that bypass proxy |
cwd | empty | CLI working root; empty uses the session workspace |
addDirs | [] | Extra workspace roots, one --add-dir each |
sandbox | false | Enable Antigravity's own terminal sandbox (--sandbox) |
skipPermissions | false | Auto-approve every Antigravity tool request (--dangerously-skip-permissions) |
disableSlashCommands | true | Keep slash-command and skill expansion out of print mode |
mode | empty | accept-edits or plan; empty uses the CLI default |
timeoutMs | 600000 | Wall-clock budget for one agy invocation |
printTimeout | empty | --print-timeout (Go duration, e.g. 8m); empty derives one just below timeoutMs |
modelsCachePath | empty | Catalog cache path; empty uses ~/.cache/dsh-llm-antigravity/models.json |
modelsCacheTtlMs | 21600000 | Catalog freshness window (6 hours) |
discover | true | Run agy models to discover models |
models | [] | Extra ids to advertise, listed first |
contextWindows | {} | Per-model capacity overrides, keyed by exact model id |
defaultContextWindow | 200000 | Capacity fallback when no hint or override applies |