dsh-agy-link 0.5.0 → 0.5.2

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/dist/index.js CHANGED
@@ -33350,7 +33350,7 @@ function buildTranslationSetup(input) {
33350
33350
  if (input.cwd !== void 0 && input.cwd !== "") lines.push("- 该会话的工作目录:" + input.cwd);
33351
33351
  if (input.digest !== void 0 && input.digest.trim() !== "") lines.push("", "该会话到目前为止的摘要(供你理解上下文,不必翻译它):", "", "<digest>", input.digest.trim(), "</digest>");
33352
33352
  if (input.logPath !== void 0 && input.logPath !== "") lines.push("", "需要完整历史时可以自己读:原始日志在 " + input.logPath + "(zstd 压缩的 JSONL,每行一个事件)。读取示例:", " zstd -dc '" + input.logPath + "' | jq -c 'select(.type==\"assistant/message\") | {turn:.data.turn, text:([.data.message.content[]?.text] | join(\"\"))}' | tail -40", "没有 jq 就用 python3 逐行 json.loads 过滤;不要修改这些文件。");
33353
- lines.push("", "规则:", "1. 说" + lang + "的大白话、短句,别用行话和缩写;别写标题、别分点列条目;别改原意、别加原文没有的内容。", "2. 只输出讲解本身,不要前言、不要复述我发的内容、不要问我问题。", "3. 默认直接翻译我发的这段文字;需要上下文时可以读上面的摘要或日志文件。");
33353
+ lines.push("", "规则:", "1. 只讲「当前这一轮」的 AI 回复:我每次发来的是这一轮的原文,别去翻历史里的其它回答来顶替它。", "2. 说" + lang + "的大白话,像当面给同事解释:口语、短句、按原文顺序讲;不要标题,不要分点罗列,不要写成报告。", "3. 遇到术语、缩写、报错、函数名,先用日常说法讲清,再往下说;必要时补一句它大概是干什么的。", "4. 结论、条件、谁做了什么都要留着;别为了短把细节吞掉,也别替它下原文没有的结论。", "5. 只输出讲解本身,不要前言、不要复述我发的内容、不要反问我。");
33354
33354
  return lines.join("\n");
33355
33355
  }
33356
33356
  /** Read the event log whichever shape the host exposes. */
@@ -33569,9 +33569,32 @@ function buildTranslationPrompt(text, targetLanguage, maxChars) {
33569
33569
  const limit = Math.max(MIN_TEXT_LIMIT, Math.round(maxChars));
33570
33570
  const long = text.length > Math.min(2e3, Math.floor(limit / 4));
33571
33571
  return [
33572
- "用" + lang + "把下面这段内容通俗易懂地讲一遍,就像跟同事随口解释一样:用大白话、短句,别用行话和缩写,别写标题或分点列表,别改原意、别加原文没有的内容。",
33573
- ...long ? ["原文有点长,挑重点讲清楚就行,没提到的细节不用硬补。"] : [],
33574
- "只输出这段讲解本身。",
33572
+ "把下面这段「当前这一轮 AI 回复」的原文,用" + lang + "通俗易懂地讲一遍,就像当面跟同事解释:",
33573
+ "说大白话、短句,按原文的顺序讲;别用行话和缩写,遇到术语先换成日常说法(必要时补一句它是干什么的);别写标题或分点列表,别写成报告。",
33574
+ "结论、条件、谁做了什么都要留着,别为了短把细节吞掉;别改原意,别加原文没有的内容,别替它下结论。",
33575
+ ...long ? ["原文有点长,挑重点讲清楚就行,按它自己的顺序讲,别压成几句结论。"] : [],
33576
+ "只输出这段讲解本身,不要复述我发的内容,不要提问。",
33577
+ "",
33578
+ "<content>",
33579
+ text,
33580
+ "</content>"
33581
+ ].join("\n");
33582
+ }
33583
+ /**
33584
+ * Per-turn request for a BOUND translation conversation.
33585
+ *
33586
+ * The persona (`buildTranslationSetup`) goes out once, when that conversation is
33587
+ * created; every later turn receives only this line plus the source. Keeping the
33588
+ * request on every turn is what pins the model to the reply it is looking at now
33589
+ * instead of translating something it remembers from an earlier turn.
33590
+ */
33591
+ function buildTranslationRequest(text, targetLanguage, maxChars) {
33592
+ const lang = targetLanguage.trim() === "" ? "中文(简体)" : targetLanguage.trim();
33593
+ const long = text.length > Math.min(2e3, Math.floor(Math.max(MIN_TEXT_LIMIT, Math.round(maxChars)) / 4));
33594
+ return [
33595
+ "把「当前这一轮 AI 回复」的下面这段原文,用" + lang + "通俗易懂地讲一遍:说大白话、短句,按原文顺序,术语先换成日常说法,别写成报告,别为了短丢信息,别加原文没有的内容。",
33596
+ ...long ? ["原文有点长,挑重点讲清楚就行,别压成几句结论。"] : [],
33597
+ "只输出讲解本身。",
33575
33598
  "",
33576
33599
  "<content>",
33577
33600
  text,
@@ -33804,7 +33827,7 @@ var TranslationService = class {
33804
33827
  for (const chunk of chunks) {
33805
33828
  const res = await this.withRetry({
33806
33829
  prompt: buildTranslationPrompt(chunk, language, cfg.translateMaxChars),
33807
- text: chunk,
33830
+ text: buildTranslationRequest(chunk, language, cfg.translateMaxChars),
33808
33831
  setup: sessionId === void 0 ? void 0 : this.setupFor(sessionId, language, setupEvents),
33809
33832
  ...sessionId === void 0 ? {} : { sessionId },
33810
33833
  model: target.model,
@@ -0,0 +1,110 @@
1
+ # Configuration reference
2
+
3
+ Resolution order (highest first): `DSH_AGY_*` environment variable → runtime overrides written by `/agy` (`.dsh/agy-link/runtime-overrides.json`) → plugin entry config in the DSH profile → defaults below.
4
+
5
+ | Legend | Meaning |
6
+ | --- | --- |
7
+ | `—` | No environment variable; set it through the plugin config |
8
+
9
+ ## Basics
10
+
11
+ | Key | Environment | Default | Description |
12
+ | --- | --- | --- | --- |
13
+ | `enabled` | `DSH_AGY_ENABLED` | `true` | Master switch |
14
+ | `agyBin` | `DSH_AGY_BIN` | `''` (auto-detect) | Path to the `agy` binary |
15
+ | `extraArgs` | `DSH_AGY_EXTRA_ARGS` | `[]` | Extra argv appended to every `agy` spawn (space separated in the env var) |
16
+ | `permissionMode` | `DSH_AGY_MODE` | `skip` | `skip` / `plan` / `accept-edits`. `DSH_AGY_SKIP_PERMISSIONS` maps `true`→`skip`, `false`→`plan` |
17
+ | `workspaceRoot` | `DSH_AGY_WORKSPACE_ROOT` | `''` (session cwd) | Workspace root passed to agy |
18
+
19
+ ## Models and effort
20
+
21
+ | Key | Environment | Default | Description |
22
+ | --- | --- | --- | --- |
23
+ | `defaultModel` | `DSH_AGY_DEFAULT_MODEL` | `''` (agy default) | Initial model slug |
24
+ | `defaultEffort` | `DSH_AGY_DEFAULT_EFFORT` | `high` | Initial thinking effort: `low` / `medium` / `high` / `auto`; overridable per model in the session menu |
25
+ | `hiddenModels` | `DSH_AGY_HIDDEN_MODELS` | `[]` | Slugs hidden from the model picker (comma separated) |
26
+ | `fallbackModels` | `—` | Gemini 3.8/3.7/3.6/3.5 Flash, Gemini 4 Argon, Claude Sonnet 4.6, Claude Opus 4.6 (Thinking), GPT-OSS 120B | Catalog shown before `agy models` succeeds (signed out or offline) |
27
+ | `autoFallbackModel` | `DSH_AGY_AUTO_FALLBACK_MODEL` | `false` | Retry on a fallback model when the selected one cannot run |
28
+ | `modelsCacheTtlMs` | `—` | `300000` | Model catalog cache lifetime |
29
+
30
+ ## Timeouts and scheduling
31
+
32
+ | Key | Environment | Default | Description |
33
+ | --- | --- | --- | --- |
34
+ | `timeoutMs` | `DSH_AGY_TIMEOUT_MS` | `600000` | Activity watchdog timeout per turn |
35
+ | `longToolIdleMinutes` | `DSH_AGY_LONG_TOOL_IDLE_MINUTES` | `240` | Idle budget while a tool step is open; `0` keeps `timeoutMs` so wedged tools fail fast |
36
+ | `dispatchTimeoutMinutes` | `—` | `15` | Cap on waiting for the Windows credential slot before backing off and retrying; `0` waits indefinitely |
37
+ | `dispatchRetries` | `—` | `1` | Extra dispatch attempts after a credential-slot timeout |
38
+ | `parallelSameAccount` | `—` | `true` | Concurrent sessions on the credential already in the slot start without exclusivity; `false` restores full slot exclusivity |
39
+ | `maxConcurrent` | `—` | `0` (unlimited) | Cross-session cap on concurrent agy streams |
40
+ | `rateLimitPerMinute` | `DSH_AGY_RATE_LIMIT_PER_MINUTE` | `0` (off) | Admission cap on requests per minute |
41
+
42
+ ## Context and metering
43
+
44
+ | Key | Environment | Default | Description |
45
+ | --- | --- | --- | --- |
46
+ | `contextWindowDefault` | `—` | `1048576` | Context window advertised when agy does not report one |
47
+ | `maxTokensDefault` | `—` | `65536` | Max output tokens advertised when agy does not report one |
48
+ | `forwardSystemPrompt` | `—` | `false` | Forward the DSH system prompt to agy |
49
+ | `digestMaxChars` | `—` | `8000` | Budget for the history digest sent each turn |
50
+ | `contextTransferMaxChars` | `—` | `660000` | Character cap for the transferred context block |
51
+ | `contextTransferMaxBytes` | `—` | `150000` | Byte cap for the transferred context block |
52
+ | `contextTransferFileAboveBytes` | `—` | `55000` | Files larger than this are elided in the context block |
53
+ | `contextTransferFileMaxBytes` | `—` | `2000000` | Hard cap for an inlined file |
54
+ | `compactionMaxChars` | `—` | `800000` | Character budget for compaction input |
55
+ | `allowAuxiliary` | `—` | `true` | Allow auxiliary calls (titles, goal derivation) through the adapter |
56
+
57
+ ## Media
58
+
59
+ | Key | Environment | Default | Description |
60
+ | --- | --- | --- | --- |
61
+ | `mediaDir` | `DSH_AGY_MEDIA_DIR` | `''` (plugin data dir) | Staging directory for multimodal images |
62
+ | `mediaTtlMs` | `DSH_AGY_MEDIA_TTL_MS` | `86400000` | Staged image lifetime |
63
+ | `mediaMaxBytes` | `—` | `10485760` | Per-image size cap |
64
+ | `mediaMaxImages` | `—` | `8` | Images per turn |
65
+
66
+ ## MCP and tools
67
+
68
+ | Key | Environment | Default | Description |
69
+ | --- | --- | --- | --- |
70
+ | `askTool` | `—` | `false` | Expose the `agy_ask` delegation tool |
71
+ | `mcpBridge` | `DSH_AGY_MCP_BRIDGE` | `false` | Bridge DSH-side MCP servers into agy |
72
+ | `mcpConfigScope` | `DSH_AGY_MCP_CONFIG_SCOPE` | `global` | `global` / `workspace` / `both` |
73
+ | `mcpConfigPath` | `DSH_AGY_MCP_CONFIG_PATH` | `''` | Explicit agy MCP config path |
74
+ | `mcpToolAllowlist` | `DSH_AGY_MCP_TOOL_ALLOWLIST` | `''` | Only expose these MCP tools (comma separated) |
75
+
76
+ ## Network, quota and updates
77
+
78
+ | Key | Environment | Default | Description |
79
+ | --- | --- | --- | --- |
80
+ | `proxyUrl` | `DSH_AGY_PROXY_URL` | `''` | Global proxy for agy processes; per-account proxies take precedence |
81
+ | `quotaPollIntervalMs` | `DSH_AGY_QUOTA_POLL_INTERVAL_MS` | `3600000` | Background quota poll interval (minimum 60 s) |
82
+ | `quotaViaCli` | `DSH_AGY_QUOTA_VIA_CLI` | `true` | Prefer the agy CLI path for quota queries |
83
+ | `autoWarmup` | `DSH_AGY_AUTO_WARMUP` | `false` | Opt-in weekly-quota warmup |
84
+ | `warmupModels` | `DSH_AGY_WARMUP_MODELS` | `gemini-3.8-flash,claude-sonnet-4-6` | Models used for warmup probes |
85
+ | `suppressAgyAutoUpdate` | `DSH_AGY_SUPPRESS_AUTOUPDATE` | `true` on Windows, `false` elsewhere | Refresh agy's update-check timestamp before every spawn to stop the `--bg-updater` console flash chain |
86
+
87
+ ## Translation (`/tsl`)
88
+
89
+ | Key | Environment | Default | Description |
90
+ | --- | --- | --- | --- |
91
+ | `autoTranslate` | `DSH_AGY_AUTO_TRANSLATE` | `false` | Translate every completed turn |
92
+ | `translateModel` | `DSH_AGY_TRANSLATE_MODEL` | `gemini-3.8-flash` | Translate model, with catalog fallback |
93
+ | `translateEffort` | `DSH_AGY_TRANSLATE_EFFORT` | `high` | Reasoning effort for the translate model |
94
+ | `translateTargetLanguage` | `DSH_AGY_TRANSLATE_LANG` | `中文(简体)` | Target language wording in the prompt |
95
+ | `translateMaxChars` | `—` | `8000` | Source truncation limit |
96
+ | `translateMaxTokens` | `—` | `4096` | Output token cap |
97
+ | `translateTimeoutMs` | `—` | `120000` | Per-translation timeout |
98
+ | `translateRetries` | `—` | `2` | Retries on retryable failures (account stall, empty answer) |
99
+
100
+ `translateModel` and `translateEffort` are also editable in **DSH Settings → Antigravity**, on the auto-translate row (two dropdowns next to the on/off control). Leaving them on their default option hands the choice back to the fallback chain above.
101
+ | `translateSkipSameModel` | `—` | `true` | Skip translation when the reply already came from the translate model |
102
+ | `translateBindConversation` | `—` | `true` | One agy conversation per DSH session, persona sent once |
103
+ | `translateMinIntervalMs` | `—` | `3000` | Minimum spacing between automatic translations |
104
+
105
+ ## Diagnostics
106
+
107
+ | Key | Environment | Default | Description |
108
+ | --- | --- | --- | --- |
109
+ | `logRetentionDays` | `DSH_AGY_LOG_RETENTION_DAYS` | `7` | Host log retention |
110
+ | `disableTelemetry` | `DSH_AGY_DISABLE_TELEMETRY` | `true` | Disable outbound telemetry |
package/docs/README.en.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # dsh-agy-link — English
2
2
 
3
- Integrate Google Antigravity models into DeepSeek Harness (DSH) through the official, unmodified `agy` CLI. The plugin provides streaming, thinking, tool activity, token metering, in-GUI OAuth login, and quota monitoring.
3
+ Integrate Google Antigravity models into DeepSeek Harness (DSH) through the official, unmodified `agy` CLI. The plugin provides streaming, thinking, tool activity, token metering, in-GUI OAuth login, official multi-bucket quota tracking, and `/tsl` plain-language translation.
4
4
 
5
5
  ## Requirements
6
6
 
@@ -35,10 +35,13 @@ In DSH, click the `AGY (n)` badge and choose **Add Account** to complete Google
35
35
 
36
36
  - Account pool with isolated HOME environments and credentials.
37
37
  - Sequential failover on HTTP 429 or quota exhaustion.
38
- - Official five-hour and seven-day quota monitoring with reset countdowns.
38
+ - Official five-hour, seven-day, and Argon weekly quota monitoring with reset countdowns.
39
39
  - Text, thinking, and tool-activity streaming into native DSH UI cards.
40
40
  - DSH sessions bound to native `agy` conversations through `--conversation`.
41
41
  - Gemini, Claude, and GPT-OSS models available through the `antigravity` provider.
42
+ - Mobile web responsiveness: transitions to full-height drawer (`100dvh`) under 680px with equal-width buttons.
43
+ - Plain-language translation (`/tsl`): Gemini-branded card pinned below reply, 1:1 bound translation conversation.
44
+ - Effort learning: learns when a model rejects `--effort` and re-runs smoothly without failure.
42
45
  - Multimodal images staged locally and authorized to `agy` through `--add-dir`.
43
46
  - `agy_ask` for delegating a one-off task to an Antigravity model.
44
47
 
@@ -48,16 +51,23 @@ In DSH, click the `AGY (n)` badge and choose **Add Account** to complete Google
48
51
  | --- | --- | --- | --- |
49
52
  | `enabled` | `DSH_AGY_ENABLED` | `true` | Plugin master switch |
50
53
  | `agyBin` | `DSH_AGY_BIN` | auto-detected | Path to the `agy` executable |
51
- | `permissionMode` | `DSH_AGY_MODE` | `skip` | `skip`, `plan`, or `accept-edits` (no longer switchable in the settings panel; config/env still override) |
54
+ | `permissionMode` | `DSH_AGY_MODE` | `skip` | `skip`, `plan`, or `accept-edits` (fixed to `skip` in settings panel; config/env still override) |
52
55
  | `defaultModel` | `DSH_AGY_DEFAULT_MODEL` | agy default | Default model slug |
53
- | `defaultEffort` | `DSH_AGY_DEFAULT_EFFORT` | `high` | `low`, `medium`, `high`, or `auto`; the settings panel row seeds the session model menu, which can override it per model |
56
+ | `defaultEffort` | `DSH_AGY_DEFAULT_EFFORT` | `high` | `low`, `medium`, `high`, or `auto`; initial effort level in model picker |
54
57
  | `timeoutMs` | `DSH_AGY_TIMEOUT_MS` | `600000` | Activity watchdog timeout in ms |
55
- | `longToolIdleMinutes` | `DSH_AGY_LONG_TOOL_IDLE_MINUTES` | `240` | Idle budget (minutes) while an agy tool step is still open; `0` = keep `timeoutMs` so a wedged tool fails fast |
58
+ | `longToolIdleMinutes` | `DSH_AGY_LONG_TOOL_IDLE_MINUTES` | `240` | Idle budget (minutes) while an agy tool step is still open; `0` = keep `timeoutMs` |
56
59
  | `workspaceRoot` | `DSH_AGY_WORKSPACE_ROOT` | session cwd | Workspace root |
60
+ | `suppressAgyAutoUpdate` | `DSH_AGY_SUPPRESS_AUTOUPDATE` | `true` on Windows | Refreshes update check timestamp before spawn to block console flash |
61
+ | `autoWarmup` | `DSH_AGY_AUTO_WARMUP` | `false` | Opt-in 7-day weekly quota warmup probe |
62
+ | `autoTranslate` | `DSH_AGY_AUTO_TRANSLATE` | `false` | Automatically translate completed turns using Gemini |
63
+ | `translateModel` | `DSH_AGY_TRANSLATE_MODEL` | `gemini-3.8-flash` | Model used for `/tsl` plain translation |
57
64
 
58
- ## `/agy` commands
65
+ > For complete configuration options, see [docs/CONFIGURATION.md](./CONFIGURATION.md).
59
66
 
60
- `status`, `auth`, `models`, `mode`, `effort`, `workspace`, `clear`, `doctor`, and `help`.
67
+ ## Commands
68
+
69
+ `/agy`: `status`, `pool`, `auth`, `models`, `mode`, `effort`, `workspace`, `goal`, `session`, `enable-account`, `disable-account`, `clear`, `doctor`, and `help`.
70
+ `/tsl`: translate last turn or arbitrary text with optional `--full`, `--text`, `--model`, or `auto on|off`.
61
71
 
62
72
  ## Security and terms
63
73
 
package/docs/README.es.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # dsh-agy-link — Español
2
2
 
3
- Integra modelos de Google Antigravity en DeepSeek Harness (DSH) mediante el CLI oficial y sin modificar `agy`. El plugin ofrece streaming, thinking, actividad de herramientas, uso de tokens, login OAuth desde la interfaz y monitor de cuota.
3
+ Integra modelos de Google Antigravity en DeepSeek Harness (DSH) mediante el CLI oficial y sin modificar `agy`. El plugin ofrece streaming, thinking, actividad de herramientas, uso de tokens, login OAuth desde la interfaz, monitor oficial de cuotas y traducción a lenguaje natural con `/tsl`.
4
4
 
5
5
  ## Requisitos
6
6
 
@@ -35,10 +35,13 @@ En DSH, haga clic en la insignia `AGY (n)` y seleccione **Add Account** para com
35
35
 
36
36
  - Pool de cuentas con entornos HOME y credenciales aislados.
37
37
  - Failover secuencial cuando una cuenta recibe HTTP 429 o agota su cuota.
38
- - Cuotas oficiales de 5 horas y 7 días con barras y cuenta regresiva.
38
+ - Cuotas oficiales de 5 horas, 7 días y Argon con barras y cuenta regresiva.
39
39
  - Streaming de texto, thinking y actividad de herramientas en tarjetas nativas de DSH.
40
40
  - Sesiones DSH vinculadas a conversaciones `agy` mediante `--conversation`.
41
41
  - Modelos Gemini, Claude y GPT-OSS elegibles desde el provider `antigravity`.
42
+ - Adaptabilidad web móvil: cajón a pantalla completa (`100dvh`) bajo 680px y botones de ancho parejo.
43
+ - Traducción a lenguaje natural (`/tsl`): tarjeta estilo Gemini anclada bajo la respuesta, conversación 1:1 dedicada.
44
+ - Aprendizaje adaptativo de `--effort`: detecta si un modelo rechaza el esfuerzo y reintenta de inmediato sin fallar.
42
45
  - Imágenes multimodales guardadas localmente y autorizadas a `agy` con `--add-dir`.
43
46
  - Herramienta `agy_ask` para delegar una tarea puntual a un modelo Antigravity.
44
47
 
@@ -48,16 +51,23 @@ En DSH, haga clic en la insignia `AGY (n)` y seleccione **Add Account** para com
48
51
  | --- | --- | --- | --- |
49
52
  | `enabled` | `DSH_AGY_ENABLED` | `true` | Activa/desactiva el plugin |
50
53
  | `agyBin` | `DSH_AGY_BIN` | detección automática | Ruta al ejecutable `agy` |
51
- | `permissionMode` | `DSH_AGY_MODE` | `skip` | `skip`, `plan` o `accept-edits` (ya no se cambia en el panel; config/env siguen pudiendo sobrescribirlo) |
54
+ | `permissionMode` | `DSH_AGY_MODE` | `skip` | `skip`, `plan` o `accept-edits` (fijo a `skip` en el panel; config/env pueden sobrescribirlo) |
52
55
  | `defaultModel` | `DSH_AGY_DEFAULT_MODEL` | predeterminado de agy | Slug del modelo predeterminado |
53
- | `defaultEffort` | `DSH_AGY_DEFAULT_EFFORT` | `high` | `low`, `medium`, `high` o `auto`; la fila del panel fija el valor inicial del menú de modelos de la sesión, que puede sobrescribirlo por modelo |
56
+ | `defaultEffort` | `DSH_AGY_DEFAULT_EFFORT` | `high` | `low`, `medium`, `high` o `auto`; valor inicial del menú de modelos |
54
57
  | `timeoutMs` | `DSH_AGY_TIMEOUT_MS` | `600000` | Timeout del watchdog en ms |
55
58
  | `longToolIdleMinutes` | `DSH_AGY_LONG_TOOL_IDLE_MINUTES` | `240` | Presupuesto de inactividad (minutos) mientras un paso de herramienta sigue abierto; `0` = mantener `timeoutMs` |
56
59
  | `workspaceRoot` | `DSH_AGY_WORKSPACE_ROOT` | cwd de la sesión | Raíz del workspace |
60
+ | `suppressAgyAutoUpdate` | `DSH_AGY_SUPPRESS_AUTOUPDATE` | `true` en Windows | Actualiza marca de tiempo para evitar destellos de consola |
61
+ | `autoWarmup` | `DSH_AGY_AUTO_WARMUP` | `false` | Sonda de precalentamiento para cuota semanal de 7 días |
62
+ | `autoTranslate` | `DSH_AGY_AUTO_TRANSLATE` | `false` | Traducción automática a lenguaje natural tras cada turno |
63
+ | `translateModel` | `DSH_AGY_TRANSLATE_MODEL` | `gemini-3.8-flash` | Modelo usado para traducciones `/tsl` |
57
64
 
58
- ## Comandos `/agy`
65
+ > Para consultar la lista completa de opciones, véase [docs/CONFIGURATION.md](./CONFIGURATION.md).
59
66
 
60
- `status`, `auth`, `models`, `mode`, `effort`, `workspace`, `clear`, `doctor` y `help`.
67
+ ## Comandos
68
+
69
+ `/agy`: `status`, `pool`, `auth`, `models`, `mode`, `effort`, `workspace`, `goal`, `session`, `enable-account`, `disable-account`, `clear`, `doctor` y `help`.
70
+ `/tsl`: traduce el último turno o texto arbitrario con `--full`, `--text`, `--model` o `auto on|off`.
61
71
 
62
72
  ## Seguridad y términos
63
73
 
@@ -1,6 +1,6 @@
1
1
  # dsh-agy-link — Português (Brasil)
2
2
 
3
- Integre modelos Google Antigravity ao DeepSeek Harness (DSH) por meio do CLI oficial e não modificado `agy`. O plugin oferece streaming, thinking, atividade de ferramentas, medição de tokens, login OAuth pela interface e painel de quota.
3
+ Integre modelos Google Antigravity ao DeepSeek Harness (DSH) por meio do CLI oficial e não modificado `agy`. O plugin oferece streaming, thinking, atividade de ferramentas, medição de tokens, login OAuth pela interface, monitoramento oficial de quotas e tradução para linguagem natural com `/tsl`.
4
4
 
5
5
  ## Requisitos
6
6
 
@@ -35,10 +35,13 @@ No DSH, clique no selo `AGY (n)` e selecione **Add Account** para concluir o log
35
35
 
36
36
  - Pool de contas com ambientes HOME e credenciais isolados.
37
37
  - Failover sequencial quando uma conta recebe HTTP 429 ou esgota a quota.
38
- - Quotas oficiais de 5 horas e 7 dias, com barras e contagem regressiva.
38
+ - Quotas oficiais de 5 horas, 7 dias e Argon com barras e contagem regressiva.
39
39
  - Streaming de texto, thinking e atividade de ferramentas em componentes nativos do DSH.
40
40
  - Conversas DSH vinculadas às conversas do `agy` por `--conversation`.
41
41
  - Modelos Gemini, Claude e GPT-OSS selecionáveis no provider `antigravity`.
42
+ - Responsividade web móvel: gaveta em tela cheia (`100dvh`) abaixo de 680px e botões de largura uniforme.
43
+ - Tradução para linguagem natural (`/tsl`): cartão estilo Gemini ancorado sob a resposta, conversa 1:1 dedicada.
44
+ - Aprendizado de `--effort`: detecta recusas do parâmetro de esforço e reexecuta com sucesso sem falhas.
42
45
  - Imagens multimodais armazenadas localmente e autorizadas ao `agy` por `--add-dir`.
43
46
  - Ferramenta `agy_ask` para delegar uma tarefa pontual a um modelo Antigravity.
44
47
 
@@ -48,16 +51,23 @@ No DSH, clique no selo `AGY (n)` e selecione **Add Account** para concluir o log
48
51
  | --- | --- | --- | --- |
49
52
  | `enabled` | `DSH_AGY_ENABLED` | `true` | Liga/desliga o plugin |
50
53
  | `agyBin` | `DSH_AGY_BIN` | autodetectado | Caminho do executável `agy` |
51
- | `permissionMode` | `DSH_AGY_MODE` | `skip` | `skip`, `plan` ou `accept-edits` (não é mais alternável no painel; config/env ainda pode sobrescrever) |
54
+ | `permissionMode` | `DSH_AGY_MODE` | `skip` | `skip`, `plan` ou `accept-edits` (fixo em `skip` no painel; config/env ainda podem sobrescrever) |
52
55
  | `defaultModel` | `DSH_AGY_DEFAULT_MODEL` | padrão do agy | Slug do modelo padrão |
53
- | `defaultEffort` | `DSH_AGY_DEFAULT_EFFORT` | `high` | `low`, `medium`, `high` ou `auto`; a linha do painel define o valor inicial do menu de modelos da sessão, que ainda pode ser sobrescrito por modelo |
56
+ | `defaultEffort` | `DSH_AGY_DEFAULT_EFFORT` | `high` | `low`, `medium`, `high` ou `auto`; valor inicial do seletor de modelos |
54
57
  | `timeoutMs` | `DSH_AGY_TIMEOUT_MS` | `600000` | Timeout do watchdog, em ms |
55
58
  | `longToolIdleMinutes` | `DSH_AGY_LONG_TOOL_IDLE_MINUTES` | `240` | Orçamento de inatividade (minutos) enquanto um passo de ferramenta está aberto; `0` = manter `timeoutMs` |
56
59
  | `workspaceRoot` | `DSH_AGY_WORKSPACE_ROOT` | cwd da sessão | Raiz do workspace |
60
+ | `suppressAgyAutoUpdate` | `DSH_AGY_SUPPRESS_AUTOUPDATE` | `true` no Windows | Atualiza timestamp para evitar flashes do terminal |
61
+ | `autoWarmup` | `DSH_AGY_AUTO_WARMUP` | `false` | Sonda de pré-aquecimento para quota semanal de 7 dias |
62
+ | `autoTranslate` | `DSH_AGY_AUTO_TRANSLATE` | `false` | Tradução automática para linguagem natural a cada turno |
63
+ | `translateModel` | `DSH_AGY_TRANSLATE_MODEL` | `gemini-3.8-flash` | Modelo usado para traduções `/tsl` |
57
64
 
58
- ## Comandos `/agy`
65
+ > Para consultar a lista completa de opções, consulte [docs/CONFIGURATION.md](./CONFIGURATION.md).
59
66
 
60
- `status`, `auth`, `models`, `mode`, `effort`, `workspace`, `clear`, `doctor` e `help`.
67
+ ## Comandos
68
+
69
+ `/agy`: `status`, `pool`, `auth`, `models`, `mode`, `effort`, `workspace`, `goal`, `session`, `enable-account`, `disable-account`, `clear`, `doctor` e `help`.
70
+ `/tsl`: traduz o último turno ou texto arbitrário com `--full`, `--text`, `--model` ou `auto on|off`.
61
71
 
62
72
  ## Segurança e termos
63
73
 
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-agy-link",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Google Antigravity (agy CLI) models for DeepSeek Harness — stream Gemini/Claude/GPT-OSS subscriptions into DSH with thinking, tool activity, token usage and in-GUI Google OAuth login.",
5
5
  "type": "module",
6
6
  "license": "MIT",
Binary file