dsh-agent-enhancer 0.3.7 → 0.3.8

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.
Files changed (42) hide show
  1. package/README.en.md +5 -4
  2. package/README.md +5 -4
  3. package/lib/client/dsh/settings-catalog.d.ts +2 -2
  4. package/lib/client/dsh/settings-catalog.d.ts.map +1 -1
  5. package/lib/client/dsh/settings-features.d.ts +2 -2
  6. package/lib/client/dsh/settings-features.d.ts.map +1 -1
  7. package/lib/client/dsh/settings.d.ts.map +1 -1
  8. package/lib/client/index.d.ts.map +1 -1
  9. package/lib/client/locales.d.ts +25 -1
  10. package/lib/client/locales.d.ts.map +1 -1
  11. package/lib/client/remote.d.ts +7 -1
  12. package/lib/client/remote.d.ts.map +1 -1
  13. package/lib/client/run-alerts/copy.d.ts +4 -0
  14. package/lib/client/run-alerts/copy.d.ts.map +1 -0
  15. package/lib/client/run-alerts/dedupe.d.ts +14 -0
  16. package/lib/client/run-alerts/dedupe.d.ts.map +1 -0
  17. package/lib/client/run-alerts/deliver.d.ts +16 -0
  18. package/lib/client/run-alerts/deliver.d.ts.map +1 -0
  19. package/lib/client/run-alerts/detect.d.ts +12 -0
  20. package/lib/client/run-alerts/detect.d.ts.map +1 -0
  21. package/lib/client/run-alerts/gate.d.ts +25 -0
  22. package/lib/client/run-alerts/gate.d.ts.map +1 -0
  23. package/lib/client/run-alerts/host.d.ts +29 -0
  24. package/lib/client/run-alerts/host.d.ts.map +1 -0
  25. package/lib/client/run-alerts/pending-kind.d.ts +4 -0
  26. package/lib/client/run-alerts/pending-kind.d.ts.map +1 -0
  27. package/lib/client/run-alerts/types.d.ts +21 -0
  28. package/lib/client/run-alerts/types.d.ts.map +1 -0
  29. package/lib/client.js +610 -82
  30. package/lib/client.js.map +1 -1
  31. package/lib/config.d.ts +6 -1
  32. package/lib/config.d.ts.map +1 -1
  33. package/lib/host/index.d.ts +9 -1
  34. package/lib/host/index.d.ts.map +1 -1
  35. package/lib/host/rpc.d.ts +15 -0
  36. package/lib/host/rpc.d.ts.map +1 -1
  37. package/lib/host/run-alerts/notify.d.ts +39 -0
  38. package/lib/host/run-alerts/notify.d.ts.map +1 -0
  39. package/lib/identity.d.ts +1 -1
  40. package/lib/index.js +155 -1
  41. package/lib/index.js.map +4 -4
  42. package/package.json +1 -1
package/README.en.md CHANGED
@@ -20,16 +20,17 @@ Previews are 56×56 squares — click for the full image. UI language follows De
20
20
  | --- | --- | --- |
21
21
  | **Write** | `↑↓` / `Alt+R` history; **Optimize** (undo); after a reply, `Tab` for gray predict; select in chat / preview / editor / terminal → **Quote text** | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/prompt-history.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/prompt-history.png" alt="History" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/optimize-and-predict.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/optimize-and-predict.png" alt="Optimize & predict" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/select-to-quote.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/select-to-quote.png" alt="Quote" width="56" height="56" /></a> |
22
22
  | **Soft pause** | **Pause / Resume** on the latest user bubble toolbar (‖ in a circle): hold the next model step to save later tokens; the current stream and in-flight tools still finish. Official Stop remains a hard interrupt | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/soft-pause-action.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/soft-pause-action.png" alt="Soft pause" width="56" height="56" /></a> |
23
+ | **Run alerts** | Finish / approval / error alerts; default **when unfocused** (dual-monitor or another app), or background-only / always; OS notification while away, Toast after focus if needed | |
23
24
  | **Restore** | Bubble or timeline **Restore to here** (optional tracked text files) → preview → confirm; **+** / `/` **Undo restore** | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/checkpoint-timeline-entry.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/checkpoint-timeline-entry.png" alt="Timeline" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/rollback-entry.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/rollback-entry.png" alt="Rollback entry" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/rollback-preview.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/rollback-preview.png" alt="Preview" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/undo-restore.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/undo-restore.png" alt="Undo" width="56" height="56" /></a> |
24
25
  | **Workspace** | Preview **Edit** (Monaco); guide capsule **Extra folders**; left-nav **Skills** / **Connectors** (Plugins-page chrome: list · Add dialog · detail; Skills GitHub·Zip → `~/.agents/skills` → `/`; Connectors via `mcp.json`); session ⋯ **Delete session** | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/skills-mcp-left-nav.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/skills-mcp-left-nav.png" alt="Skills & connectors" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/file-edit-toolbar.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/file-edit-toolbar.png" alt="Edit" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/extra-folders.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/extra-folders.png" alt="Extra folders" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/session-delete.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/session-delete.png" alt="Delete session" width="56" height="56" /></a> |
25
26
  | **Usage** | **Token usage** → model bill; **Settings → Models** for per-provider balance | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/token-usage-meter.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/token-usage-meter.png" alt="Token usage" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/model-bill.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/model-bill.png" alt="Bill" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/provider-balance.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/provider-balance.png" alt="Balance" width="56" height="56" /></a> |
26
27
  | **Context** | Meter → right-pane details; one-click official `/compact` | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/context-meter.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/context-meter.png" alt="Meter" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/context-details.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/context-details.png" alt="Details" width="56" height="56" /></a> |
27
28
  | **Routing** | Pick **Auto** in the model list; map Instant / Thinking / Pro in settings | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/auto-model-picker.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/auto-model-picker.png" alt="Auto picker" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/auto-routing-settings.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/auto-routing-settings.png" alt="Auto routing" width="56" height="56" /></a> |
28
- | **Settings** | **Features** twelve toggles · **Models & routing** helpers / Auto · **About** updates | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/settings.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/settings.png" alt="Settings" width="56" height="56" /></a> |
29
+ | **Settings** | **Features** thirteen toggles · **Models & routing** helpers / Auto · **About** updates | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/settings.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/settings.png" alt="Settings" width="56" height="56" /></a> |
29
30
 
30
- **Limits (short):** Quote never calls a model; streaming assistant replies and HTML/PDF/Excel previews are not quote sources yet. Restore tracks UTF-8 text only — no processes / terminals / untracked / binaries. Extra folders do not widen the Agent sandbox. Skills and Connectors are left-nav peers under Plugins (Plugins-page chrome): Skills use GitHub·Zip install / search / detail / uninstall (default `~/.agents/skills`; GitHub can update, Zip cannot; no AGENTS.md or empty stubs; invoke via `/`); Connectors add via `mcp.json`, toggle in the list, tools on the detail page. Session delete is permanent. Context numbers are heuristic; bill “≈ ¥” is not an invoice. Soft pause holds **later** model steps after pause; the gate is not kept across restarts.
31
+ **Limits (short):** Quote never calls a model; streaming assistant replies and HTML/PDF/Excel previews are not quote sources yet. Restore tracks UTF-8 text only — no processes / terminals / untracked / binaries. Extra folders do not widen the Agent sandbox. Skills and Connectors are left-nav peers under Plugins (Plugins-page chrome): Skills use GitHub·Zip install / search / detail / uninstall (default `~/.agents/skills`; GitHub can update, Zip cannot; no AGENTS.md or empty stubs; invoke via `/`); Connectors add via `mcp.json`, toggle in the list, tools on the detail page. Session delete is permanent. Context numbers are heuristic; bill “≈ ¥” is not an invoice. Soft pause holds **later** model steps after pause; the gate is not kept across restarts. Run alerts post to the Windows Action Center via the Host (under DeepSeek Harness / DSH Desktop); otherwise a Toast appears after focus returns. Level is adjustable on Features; they do not replace sidebar status dots.
31
32
 
32
- Feature toggles: `history` · `optimize` · `predict` · `quote` · `rollback` · `softPause` · `contextInspect` · `usage` · `sessionDelete` · `fileEdit` · `instructionsSkills` · `mcpConnectors` (all default on; Extra folders follows `fileEdit`).
33
+ Feature toggles: `history` · `optimize` · `predict` · `quote` · `rollback` · `softPause` · `runAlerts` · `contextInspect` · `usage` · `sessionDelete` · `fileEdit` · `instructionsSkills` · `mcpConnectors` (all default on; Extra folders follows `fileEdit`).
33
34
 
34
35
  ---
35
36
 
@@ -40,7 +41,7 @@ Targets **Desktop / the `desktop` profile** (do not validate with `web`). Quit D
40
41
  | Method | Steps |
41
42
  | --- | --- |
42
43
  | **In-app (recommended)** | **Settings → Plugins** → search `dsh-agent-enhancer` / **Agent Enhance** → install → restart |
43
- | **CLI** | `dsh plugin --profile desktop add dsh-agent-enhancer@0.3.7` |
44
+ | **CLI** | `dsh plugin --profile desktop add dsh-agent-enhancer@0.3.8` |
44
45
  | **Dev** | `corepack pnpm install --frozen-lockfile` → `corepack pnpm desktop:link` → restart; back to npm: `corepack pnpm desktop:npm` |
45
46
 
46
47
  Optional market: [dsh-market](https://github.com/dsh-market/dsh-market) (in-app search `dshmarket`; do not use the `web` profile). Remove legacy `dsh-composer-enhancer` before installing this package.
package/README.md CHANGED
@@ -20,16 +20,17 @@
20
20
  | --- | --- | --- |
21
21
  | **写提示** | `↑↓` / `Alt+R` 历史;右侧 **优化**(可撤销);回复后 `Tab` 采纳灰字;对话 / 预览 / 编辑器 / 终端划词 → **引用文本** | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/prompt-history.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/prompt-history.png" alt="历史搜索" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/optimize-and-predict.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/optimize-and-predict.png" alt="优化与预测" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/select-to-quote.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/select-to-quote.png" alt="划词引用" width="56" height="56" /></a> |
22
22
  | **软暂停** | 最新用户气泡工具栏 **暂停 / 恢复**(圆圈内 ‖):挡住下一步模型调用,省后续 token;当前流式与已发出工具仍跑完。官方 Stop 仍硬中断 | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/soft-pause-action.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/soft-pause-action.png" alt="软暂停" width="56" height="56" /></a> |
23
+ | **运行提醒** | 结束 / 待批准 / 出错时拉回注意力;默认 **失焦时**(双屏或切到其他应用也提醒),可选仅后台 / 总是;失焦走系统通知,回焦可补 Toast | |
23
24
  | **回退** | 气泡或时间线 **恢复到这里**(可含已跟踪文本文件)→ 预览 → 确认;**+** / `/` **撤销恢复** | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/checkpoint-timeline-entry.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/checkpoint-timeline-entry.png" alt="检查点时间线" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/rollback-entry.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/rollback-entry.png" alt="回滚入口" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/rollback-preview.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/rollback-preview.png" alt="回滚预览" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/undo-restore.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/undo-restore.png" alt="撤销恢复" width="56" height="56" /></a> |
24
25
  | **工作区** | 预览 **编辑**(Monaco);指南胶囊 **附加目录**;左侧栏一级 **技能** / **连接器**(对齐官方插件页:列表 · 添加对话框 · 详情;技能 GitHub·Zip 可选 `~/.agents/skills` / `~/.dsh/skills` 或项目对应目录 → `/`;连接器 `mcp.json`);会话 ⋯ **删除会话** | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/skills-mcp-left-nav.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/skills-mcp-left-nav.png" alt="技能与连接器" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/file-edit-toolbar.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/file-edit-toolbar.png" alt="文件编辑" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/extra-folders.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/extra-folders.png" alt="附加目录" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/session-delete.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/session-delete.png" alt="删除会话" width="56" height="56" /></a> |
25
26
  | **用量** | **Token 用量** → 模型账单;**设置 → 模型** 看分账号余额 | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/token-usage-meter.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/token-usage-meter.png" alt="Token 用量" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/model-bill.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/model-bill.png" alt="模型账单" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/provider-balance.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/provider-balance.png" alt="分账号余额" width="56" height="56" /></a> |
26
27
  | **上下文** | 占用环 → 右侧明细;可一键官方 `/compact` | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/context-meter.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/context-meter.png" alt="上下文占用" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/context-details.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/context-details.png" alt="上下文明细" width="56" height="56" /></a> |
27
28
  | **路由** | 模型列表选 **Auto**;设置映射 Instant / Thinking / Pro | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/auto-model-picker.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/auto-model-picker.png" alt="Auto 选择" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/auto-routing-settings.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/auto-routing-settings.png" alt="Auto 路由" width="56" height="56" /></a> |
28
- | **设置** | **功能** 十二开关 · **模型与路由** 辅助模型 / Auto · **关于** 更新 | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/settings.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/settings.png" alt="设置" width="56" height="56" /></a> |
29
+ | **设置** | **功能** 十三开关 · **模型与路由** 辅助模型 / Auto · **关于** 更新 | <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/settings.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/settings.png" alt="设置" width="56" height="56" /></a> |
29
30
 
30
- **边界(精简):** 划词引用不调模型;流式助手与 HTML/PDF/Excel 预览暂不可划词。回退仅跟踪 UTF-8 文本文件,不恢复进程 / 终端 / 未跟踪 / 二进制。附加目录不扩大 Agent 沙箱。技能与连接器:左侧栏一级入口(在「插件」下方;chrome 对齐官方插件页);技能 GitHub·Zip 安装 / 搜索 / 详情预览 / 卸载(安装目标可选用户/项目 × `.agents/skills` 或 `.dsh/skills`,默认用户 `.agents`),GitHub 可更新、Zip 无更新提示,不代建 AGENTS.md / 空 Skill,调用走官方 `/`;连接器用 `mcp.json` 添加、列表开关、详情看工具。删除会话不可恢复。占用数字为启发式约值;账单「约 ¥」非发票。软暂停挡住的是**暂停之后**尚未发生的模型步;不跨重启保留门闸。
31
+ **边界(精简):** 划词引用不调模型;流式助手与 HTML/PDF/Excel 预览暂不可划词。回退仅跟踪 UTF-8 文本文件,不恢复进程 / 终端 / 未跟踪 / 二进制。附加目录不扩大 Agent 沙箱。技能与连接器:左侧栏一级入口(在「插件」下方;chrome 对齐官方插件页);技能 GitHub·Zip 安装 / 搜索 / 详情预览 / 卸载(安装目标可选用户/项目 × `.agents/skills` 或 `.dsh/skills`,默认用户 `.agents`),GitHub 可更新、Zip 无更新提示,不代建 AGENTS.md / 空 Skill,调用走官方 `/`;连接器用 `mcp.json` 添加、列表开关、详情看工具。删除会话不可恢复。占用数字为启发式约值;账单「约 ¥」非发票。软暂停挡住的是**暂停之后**尚未发生的模型步;不跨重启保留门闸。运行提醒:系统通知经 Host 发到 Windows 通知中心(归在 DeepSeek Harness / DSH Desktop);失败则回焦后补 Toast;级别可在功能页调节;不替代侧栏状态点。
31
32
 
32
- 功能页开关:`history` · `optimize` · `predict` · `quote` · `rollback` · `softPause` · `contextInspect` · `usage` · `sessionDelete` · `fileEdit` · `instructionsSkills` · `mcpConnectors`(均默认开;附加目录随 `fileEdit`)。
33
+ 功能页开关:`history` · `optimize` · `predict` · `quote` · `rollback` · `softPause` · `runAlerts` · `contextInspect` · `usage` · `sessionDelete` · `fileEdit` · `instructionsSkills` · `mcpConnectors`(均默认开;附加目录随 `fileEdit`)。
33
34
 
34
35
  ---
35
36
 
@@ -40,7 +41,7 @@
40
41
  | 方式 | 步骤 |
41
42
  | --- | --- |
42
43
  | **应用内(推荐)** | **设置 → 插件** 搜索 `dsh-agent-enhancer` / **智能体增强** → 安装 → 重启 |
43
- | **CLI** | `dsh plugin --profile desktop add dsh-agent-enhancer@0.3.7` |
44
+ | **CLI** | `dsh plugin --profile desktop add dsh-agent-enhancer@0.3.8` |
44
45
  | **开发** | `corepack pnpm install --frozen-lockfile` → `corepack pnpm desktop:link` → 重启;切回线上:`corepack pnpm desktop:npm` |
45
46
 
46
47
  可选市场:[dsh-market](https://github.com/dsh-market/dsh-market)(应用内搜 `dshmarket`,勿用 `web` profile)。曾装 `dsh-composer-enhancer` 请先卸再装本包。
@@ -3,8 +3,8 @@ import type { ConfigurableAuxiliaryFeature, ModuleName } from '../../config.ts';
3
3
  export declare const SETTINGS_TABS: readonly ["features", "models", "about"];
4
4
  export type SettingsTabId = typeof SETTINGS_TABS[number];
5
5
  export type SettingsGroupId = 'chat' | 'workspace';
6
- export type FeatureLabelKey = 'history' | 'optimize' | 'predict' | 'quote' | 'rollback' | 'softPause' | 'contextInspect' | 'usage' | 'sessionDelete' | 'fileEdit' | 'instructionsSkills' | 'mcpConnectors';
7
- export type FeatureDescriptionKey = 'historyDescription' | 'optimizeDescription' | 'predictDescription' | 'quoteDescription' | 'rollbackDescription' | 'softPauseDescription' | 'contextInspectDescription' | 'usageDescription' | 'sessionDeleteDescription' | 'fileEditDescription' | 'instructionsSkillsDescription' | 'mcpConnectorsDescription';
6
+ export type FeatureLabelKey = 'history' | 'optimize' | 'predict' | 'quote' | 'rollback' | 'softPause' | 'runAlerts' | 'contextInspect' | 'usage' | 'sessionDelete' | 'fileEdit' | 'instructionsSkills' | 'mcpConnectors';
7
+ export type FeatureDescriptionKey = 'historyDescription' | 'optimizeDescription' | 'predictDescription' | 'quoteDescription' | 'rollbackDescription' | 'softPauseDescription' | 'runAlertsDescription' | 'contextInspectDescription' | 'usageDescription' | 'sessionDeleteDescription' | 'fileEditDescription' | 'instructionsSkillsDescription' | 'mcpConnectorsDescription';
8
8
  export interface SettingsFeatureEntry {
9
9
  readonly module: ModuleName;
10
10
  readonly labelKey: FeatureLabelKey;
@@ -1 +1 @@
1
- {"version":3,"file":"settings-catalog.d.ts","sourceRoot":"","sources":["../../../src/client/dsh/settings-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE/E,2EAA2E;AAC3E,eAAO,MAAM,aAAa,0CAA2C,CAAA;AACrE,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC,MAAM,CAAC,CAAA;AAExD,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,WAAW,CAAA;AAElD,MAAM,MAAM,eAAe,GACvB,SAAS,GACT,UAAU,GACV,SAAS,GACT,OAAO,GACP,UAAU,GACV,WAAW,GACX,gBAAgB,GAChB,OAAO,GACP,eAAe,GACf,UAAU,GACV,oBAAoB,GACpB,eAAe,CAAA;AAEnB,MAAM,MAAM,qBAAqB,GAC7B,oBAAoB,GACpB,qBAAqB,GACrB,oBAAoB,GACpB,kBAAkB,GAClB,qBAAqB,GACrB,sBAAsB,GACtB,2BAA2B,GAC3B,kBAAkB,GAClB,0BAA0B,GAC1B,qBAAqB,GACrB,+BAA+B,GAC/B,0BAA0B,CAAA;AAE9B,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAA;IAC3B,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAA;IAClC,QAAQ,CAAC,cAAc,EAAE,qBAAqB,CAAA;IAC9C,QAAQ,CAAC,YAAY,EAAE,4BAA4B,GAAG,IAAI,CAAA;CAC3D;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,EAAE,eAAe,CAAA;IAC5B,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,GAAG,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BAAqB,GACrB,sBAAsB,GACtB,sBAAsB,GACtB,2BAA2B,GAC3B,kBAAkB,GAClB,0BAA0B,GAC1B,qBAAqB,GACrB,+BAA+B,GAC/B,0BAA0B,CAAA;AAE9B,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAA;IAC3B,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAA;IAClC,QAAQ,CAAC,cAAc,EAAE,qBAAqB,CAAA;IAC9C,QAAQ,CAAC,YAAY,EAAE,4BAA4B,GAAG,IAAI,CAAA;CAC3D;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,EAAE,eAAe,CAAA;IAC5B,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,GAAG,wBAAwB,CAAA;IACjE,QAAQ,CAAC,OAAO,EAAE,SAAS,oBAAoB,EAAE,CAAA;CAClD;AAED,sEAAsE;AACtE,eAAO,MAAM,uBAAuB,EAAE,SAAS,oBAAoB,EA2FlE,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,UAAU,GAAG,KAAK,GAAG,YAAY,CAAA;AAEzE,eAAO,MAAM,UAAU,EAAE,SAAS,aAAa,EAAiD,CAAA;AAEhG,eAAO,MAAM,gBAAgB,EAAE,MAAM,CACnC,aAAa,EACb,kBAAkB,GAAG,mBAAmB,GAAG,cAAc,GAAG,qBAAqB,CAMlF,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,SAAS;IACxC,QAAQ,CAAC,OAAO,EAAE,4BAA4B,CAAA;IAC9C,QAAQ,CAAC,QAAQ,EAAE,UAAU,GAAG,SAAS,GAAG,gBAAgB,CAAA;IAC5D,QAAQ,CAAC,aAAa,EAAE,UAAU,CAAA;CACnC,EAIA,CAAA"}
@@ -1,11 +1,11 @@
1
1
  import type { TranslateNS } from '@deepseek-ai/dsh-client-ui-slots';
2
- import type { EnhancerSettings, ModuleName } from '../../config.ts';
3
- import type { ConfigurableAuxiliaryFeature } from '../../config.ts';
2
+ import type { ConfigurableAuxiliaryFeature, EnhancerSettings, ModuleName, RunAlertsLevel } from '../../config.ts';
4
3
  export interface SettingsFeaturesPanelProps {
5
4
  readonly settings: EnhancerSettings;
6
5
  readonly busy: boolean;
7
6
  readonly t: TranslateNS<'agent-enhancer'>;
8
7
  readonly onToggle: (module: ModuleName, checked: boolean) => void;
8
+ readonly onRunAlertsLevel?: (level: RunAlertsLevel) => void;
9
9
  readonly onOpenModel: (feature: ConfigurableAuxiliaryFeature) => void;
10
10
  /** Optional per-module extra description (e.g. host capability warnings). */
11
11
  readonly featureExtraDescription?: (module: ModuleName) => string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"settings-features.d.ts","sourceRoot":"","sources":["../../../src/client/dsh/settings-features.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACnE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAA;AAInE,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAA;IACnC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAA;IACzC,QAAQ,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IACjE,QAAQ,CAAC,WAAW,EAAE,CAAC,OAAO,EAAE,4BAA4B,KAAK,IAAI,CAAA;IACrE,6EAA6E;IAC7E,QAAQ,CAAC,uBAAuB,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,MAAM,GAAG,SAAS,CAAA;CAC9E;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,2CAiDtE"}
1
+ {"version":3,"file":"settings-features.d.ts","sourceRoot":"","sources":["../../../src/client/dsh/settings-features.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAMnE,OAAO,KAAK,EACV,4BAA4B,EAC5B,gBAAgB,EAChB,UAAU,EACV,cAAc,EACf,MAAM,iBAAiB,CAAA;AAIxB,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAA;IACnC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAA;IACzC,QAAQ,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IACjE,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAA;IAC3D,QAAQ,CAAC,WAAW,EAAE,CAAC,OAAO,EAAE,4BAA4B,KAAK,IAAI,CAAA;IACrE,6EAA6E;IAC7E,QAAQ,CAAC,uBAAuB,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,MAAM,GAAG,SAAS,CAAA;CAC9E;AAoBD,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,2CA0EtE"}
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/client/dsh/settings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAA;AAC5E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAA;AAIjF,OAAO,KAAK,EAEV,gBAAgB,EAEjB,MAAM,iBAAiB,CAAA;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,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CAAC,gBAAgB,CAAC,EAAE,aAAa,GAAG,WAAW,GAAG,KAAK,GAAG,QAAQ,CAAC,CAAA;AAEtG,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAA;IAC3B,QAAQ,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAA;IACzC,+EAA+E;IAC/E,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,SAAS,iBAAiB,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACvE,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC,YAAY,CAAC,CAAA;IAClD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC,iBAAiB,CAAC,CAAA;IACvD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC,iBAAiB,CAAC,CAAA;CACxD;AAkWD,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CAUxD"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAkGlD,OAAO,2BAA2B,CAAA;AAmBlC,eAAO,MAAM,MAAM,UAMlB,CAAA;AAED,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAwxBxC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAmGlD,OAAO,2BAA2B,CAAA;AAmBlC,eAAO,MAAM,MAAM,UAMlB,CAAA;AAED,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAszBxC"}
@@ -1,6 +1,6 @@
1
1
  declare module '@deepseek-ai/dsh-client-ui-slots' {
2
2
  interface LocaleNamespaceMap {
3
- 'agent-enhancer': 'historyTitle' | 'historySearch' | 'historyResults' | 'historyClose' | 'optimize' | 'optimizePending' | 'optimizeUndo' | 'optimizeError' | 'optimizeChips' | 'optimizeChipSelection' | 'optimizeModelUnavailable' | 'optimizeRequestFailed' | 'optimizeInvalidOutput' | 'optimizeRollbackFailed' | 'optimizeSessionChanged' | 'settingsTitle' | 'settingsSubtitle' | 'history' | 'historyDescription' | 'optimizeDescription' | 'predict' | 'predictDescription' | 'quote' | 'quoteDescription' | 'usage' | 'usageDescription' | 'privacyTitle' | 'privacy' | 'coexistence' | 'settingsError' | 'settingsUnavailable' | 'modelCatalogLoading' | 'modelCatalogError' | 'modelLabel' | 'modelFollowSession' | 'modelAuto' | 'modelUnconfigured' | 'reasoningDefault' | 'settingsBack' | 'settingsConfigure' | 'settingsTabFeatures' | 'settingsTabModels' | 'settingsTabAbout' | 'settingsGroupChat' | 'settingsGroupWorkspace' | 'settingsOpenModel' | 'settingsAuxModelsTitle' | 'settingsAuxModelsIntro' | 'usageTitle' | 'usageNote' | 'usageMeterOpen' | 'usageBuckets' | 'usageBucketInput' | 'usageBucketOutput' | 'usageBucketCacheRead' | 'usageBucketCacheWrite' | 'usageReasoningNote' | 'usageChartSources' | 'usageChartModels' | 'usageChartTotal' | 'usageChartEmpty' | 'usageHeatmap' | 'usageHeatmapHint' | 'usageHeatmapHourHint' | 'usageShareBar' | 'usageTotalLabel' | 'usageEstimateLabel' | 'usageEstimateHint' | 'usageUnpriced' | 'usageBalanceLabel' | 'usageBalanceDetail' | 'usageBalanceStale' | 'usageBalanceNoKey' | 'usageBalanceUnavailable' | 'providerBalanceLabel' | 'providerBalanceDetail' | 'providerBalanceStale' | 'providerBalanceLoading' | 'providerBalanceNoKey' | 'providerBalanceSignedOut' | 'providerBalanceUnavailable' | 'providerBalanceRefreshHint' | 'usageRecordModel' | 'usageRecordProvider' | 'usageRecordEffort' | 'usageRecordInput' | 'usageRecordOutput' | 'usageRecordCacheRead' | 'usageRecordCacheWrite' | 'usageModelRouteEffort' | 'usageBack' | 'usageRecordsOpen' | 'usageRecordsHint' | 'usageRecordsEmpty' | 'usageLoading' | 'usageLoadFailed' | 'usageRetry' | 'usageRefresh' | 'usageUnavailable' | 'usageEmpty' | 'usageRangeLabel' | 'usageRange_today' | 'usageRange_7d' | 'usageRange_30d' | 'usageRange_all' | 'usageRecent' | 'usageRetention' | 'usageCalls' | 'usageModelRoute' | 'usageSource_optimize' | 'usageSource_predict' | 'usageSource_compact' | 'usageSource_autoClassifier' | 'usageSource_session' | 'usageSource_compaction' | 'usageSource_sessionTitle' | 'usageSource_other' | 'updateTitle' | 'updateCurrent' | 'updateCheck' | 'updateChecking' | 'updateLatest' | 'updateAvailable' | 'updateApply' | 'updateApplying' | 'updateRestart' | 'updateLinkBlocked' | 'updateManual' | 'updateFailed' | 'updateCheckFailed' | 'updateCopy' | 'updateCopied' | 'autoRouting' | 'autoRoutingDescription' | 'autoClassifier' | 'autoClassifierDescription' | 'autoMappingTitle' | 'autoTier_instant' | 'autoTier_thinking' | 'autoTier_pro' | 'autoTier_classifier' | 'overlapHistory' | 'overlapOptimize' | 'overlapPredict' | 'overlapSoftPause' | 'dismissHint' | 'softPause' | 'softPauseDescription' | 'softPausePause' | 'softPauseResume' | 'rollback' | 'rollbackDescription' | 'rollbackBoundary' | 'rollbackAction' | 'rollbackUndoAction' | 'rollbackUndoCommandDescription' | 'rollbackTitle' | 'rollbackScope' | 'rollbackScopeAlready' | 'rollbackScopeCovered' | 'rollbackUndoTitle' | 'rollbackUndoScope' | 'rollbackUndoScopeConversation' | 'rollbackClose' | 'rollbackConfirm' | 'rollbackConfirmConversation' | 'rollbackConfirmAlready' | 'rollbackConfirmConversationAlready' | 'rollbackUndoConfirm' | 'rollbackUndoConfirmConversation' | 'rollbackCancel' | 'rollbackLoading' | 'rollbackAlreadyRestored' | 'rollbackCoveredByEarlier' | 'rollbackRestoring' | 'rollbackRestoringConversation' | 'rollbackUndoRestoring' | 'rollbackUndoRestoringConversation' | 'rollbackFailed' | 'rollbackFailedUnavailable' | 'rollbackFailedConflict' | 'rollbackFailedRecovery' | 'rollbackRetry' | 'rollbackTurnOpen' | 'rollbackTurnStartMissing' | 'rollbackSummary' | 'rollbackSummaryLabel' | 'rollbackMessageEmpty' | 'rollbackRole_user' | 'rollbackRole_assistant' | 'rollbackRole_tool' | 'rollbackRole_system' | 'rollbackRole_other' | 'rollbackCoverageFiles' | 'rollbackCoveragePartial' | 'rollbackCoverageConversation' | 'rollbackTimelineTitle' | 'rollbackTimelineOpen' | 'rollbackTimelineLead' | 'rollbackTimelineLeadRestoredNote' | 'rollbackTimelineRestoreHint' | 'rollbackTimelineFilterEmpty' | 'rollbackTimelineSearchLabel' | 'rollbackTimelineSearchPlaceholder' | 'rollbackTimelineLoading' | 'rollbackTimelineFailed' | 'rollbackTimelineEmpty' | 'rollbackTimelineNoSession' | 'rollbackTimelineTurn' | 'rollbackTimelineRolledBack' | 'rollbackTimelineTip' | 'rollbackTimelineOpening' | 'rollbackTimelineCoveredHint' | 'rollbackTimelineNoPrompt' | 'rollbackTimelineFileFallback' | 'rollbackTimelineFilesFallback' | 'rollbackTimelineCoverageFiles' | 'rollbackTimelineCoveragePartial' | 'rollbackTimelineCoverageConversation' | 'rollbackTimelineCoverageUnknown' | 'rollbackMessages' | 'rollbackFiles' | 'rollbackGaps' | 'rollbackFilesLimited' | 'rollbackFilesLimitedHint' | 'rollbackConflicts' | 'rollbackNoMessages' | 'rollbackNoFiles' | 'rollbackFile_create' | 'rollbackFile_modify' | 'rollbackFile_delete' | 'rollbackGapWorkspace' | 'rollbackGapPrompt' | 'rollbackUnavailableCheckpoint' | 'rollbackUnavailableIncomplete' | 'rollbackUnavailableSessionChanged' | 'rollbackUnavailableRunning' | 'rollbackUnavailablePermission' | 'rollbackUnavailableDisabled' | 'rollbackUnavailableIncompatible' | 'rollbackUnavailableCompacted' | 'rollbackUnavailableSubagent' | 'rollbackUnavailableUnknown' | 'rollbackUnavailableAlready' | 'rollbackUnavailableCovered' | 'rollbackConflictUnsafe' | 'rollbackConflictSymlink' | 'rollbackConflictRegular' | 'rollbackConflictBinary' | 'rollbackConflictLarge' | 'rollbackConflictBefore' | 'rollbackConflictHash' | 'rollbackConflictHashHint' | 'sessionDelete' | 'sessionDeleteDescription' | 'sessionDeleteBusy' | 'sessionDeleteBusyConfirm' | 'sessionDeleteConfirmTitle' | 'sessionDeleteConfirmDesc' | 'sessionDeleteConfirmAction' | 'sessionDeleteCancel' | 'sessionDeleteDeleting' | 'sessionDeleteDone' | 'sessionDeleteDoneUnloaded' | 'sessionDeleteDoneHidden' | 'sessionDeleteFailed' | 'sessionDeleteFailedDetail' | 'instructionsSkills' | 'instructionsSkillsDescription' | 'instructionsSkillsTitle' | 'instructionsSkillsIntro' | 'instructionsSkillsAdd' | 'instructionsSkillsGuideDescription' | 'instructionsSkillsLeftNavUnsupported' | 'instructionsSkillsSectionInstructions' | 'instructionsSkillsSectionSkills' | 'instructionsSkillsRefresh' | 'instructionsSkillsRefreshHint' | 'instructionsSkillsNewSkill' | 'instructionsSkillsNewSkillHint' | 'instructionsSkillsNewSkillPrompt' | 'instructionsSkillsNewAgents' | 'instructionsSkillsNewAgentsHint' | 'instructionsSkillsOpen' | 'instructionsSkillsMissing' | 'instructionsSkillsEmptySkills' | 'instructionsSkillsLoading' | 'instructionsSkillsNoSession' | 'instructionsSkillsFailed' | 'instructionsSkillsDenied' | 'instructionsSkillsNotFound' | 'instructionsSkillsSessionChanged' | 'instructionsSkillsInvalidName' | 'instructionsSkillsExists' | 'instructionsSkillsCreated' | 'instructionsSkillsScope_global' | 'instructionsSkillsScope_shared' | 'instructionsSkillsScope_project' | 'instructionsSkillsProvider' | 'instructionsSkillsInstallGit' | 'instructionsSkillsInstallGitHint' | 'instructionsSkillsInstallGitPlaceholder' | 'instructionsSkillsInstall' | 'instructionsSkillsInstalling' | 'instructionsSkillsInstallCancel' | 'instructionsSkillsInstallCancelled' | 'instructionsSkillsInstallStageResolving' | 'instructionsSkillsInstallStageDownloading' | 'instructionsSkillsInstallStageExtracting' | 'instructionsSkillsInstallStageCloning' | 'instructionsSkillsInstallStageCopying' | 'instructionsSkillsInstallStageFinishing' | 'instructionsSkillsInstallProgressLine' | 'instructionsSkillsInstallProgressBytes' | 'instructionsSkillsInstallProgressBytesUnknown' | 'instructionsSkillsInstallTarget' | 'instructionsSkillsTargetUser' | 'instructionsSkillsTargetUserDsh' | 'instructionsSkillsTargetProject' | 'instructionsSkillsTargetProjectDsh' | 'instructionsSkillsInstallHint' | 'instructionsSkillsForceOverwrite' | 'instructionsSkillsHostStale' | 'instructionsSkillsInstallUnavailable' | 'instructionsSkillsPaneInstall' | 'instructionsSkillsPaneInstalled' | 'instructionsSkillsInstalledNote' | 'instructionsSkillsInstalledPartialNote' | 'instructionsSkillsInstalledEmpty' | 'instructionsSkillsNetworkFailed' | 'instructionsSkillsRepoNotFound' | 'instructionsSkillsSearch' | 'instructionsSkillsSearchPlaceholder' | 'instructionsSkillsSearchEmpty' | 'instructionsSkillsFilter' | 'instructionsSkillsFilterAll' | 'instructionsSkillsFilterUser' | 'instructionsSkillsFilterProject' | 'instructionsSkillsFilterOther' | 'instructionsSkillsProviderUser' | 'instructionsSkillsProviderDsh' | 'instructionsSkillsProviderProject' | 'instructionsSkillsProviderProjectDsh' | 'instructionsSkillsProviderRegistry' | 'instructionsSkillsProviderCursor' | 'instructionsSkillsProviderCursorBuiltin' | 'instructionsSkillsProviderCodex' | 'instructionsSkillsProviderClaude' | 'instructionsSkillsUninstall' | 'instructionsSkillsUninstallHint' | 'instructionsSkillsUninstallConfirm' | 'instructionsSkillsUninstallCancel' | 'instructionsSkillsUninstalling' | 'instructionsSkillsUninstalledNote' | 'instructionsSkillsUninstallDenied' | 'instructionsSkillsRemoveBusy' | 'instructionsSkillsInstallZip' | 'instructionsSkillsInstallZipHint' | 'instructionsSkillsZipInstalledNote' | 'instructionsSkillsZipNoUpdateHint' | 'instructionsSkillsUpdateAvailable' | 'instructionsSkillsUpdate' | 'instructionsSkillsUpdating' | 'instructionsSkillsUpdatedNote' | 'instructionsSkillsUpdateCheckFailed' | 'instructionsSkillsChannelGithub' | 'instructionsSkillsChannelZip' | 'instructionsSkillsChannelUnknown' | 'instructionsSkillsPreviewEmpty' | 'instructionsSkillsPreviewLoading' | 'instructionsSkillsPreviewBack' | 'instructionsSkillsOpenInSidebar' | 'instructionsSkillsOpenInSidebarHint' | 'mcpConnectors' | 'mcpConnectorsDescription' | 'mcpConnectorsLeftNavUnsupported' | 'mcpConnectorsTitle' | 'mcpConnectorsIntro' | 'mcpConnectorsAdd' | 'mcpConnectorsRefresh' | 'mcpConnectorsRefreshHint' | 'mcpConnectorsPaneServers' | 'mcpConnectorsPaneAdd' | 'mcpConnectorsAddHint' | 'mcpConnectorsTransportStdio' | 'mcpConnectorsTransportRemote' | 'mcpConnectorsEnabled' | 'mcpConnectorsDisabled' | 'mcpConnectorsJson' | 'mcpConnectorsImport' | 'mcpConnectorsImporting' | 'mcpConnectorsImportedNote' | 'mcpConnectorsUninstall' | 'mcpConnectorsUninstallHint' | 'mcpConnectorsUninstallConfirm' | 'mcpConnectorsUninstallCancel' | 'mcpConnectorsUninstalling' | 'mcpConnectorsUninstalledNote' | 'mcpConnectorsEmpty' | 'mcpConnectorsLoading' | 'mcpConnectorsFailed' | 'mcpConnectorsBridgeMissing' | 'mcpConnectorsToolsTitle' | 'mcpConnectorsToolsEmpty' | 'mcpConnectorsToolsDisabled' | 'mcpConnectorsToolsPick' | 'mcpConnectorsToolsLoading' | 'mcpConnectorsForceOverwrite' | 'mcpConnectorsHostStale' | 'instructionsSkillsMdCopy' | 'instructionsSkillsMdCopied' | 'instructionsSkillsMdFootnotes' | 'instructionsSkillsMdCode' | 'instructionsSkillsMdWrap' | 'instructionsSkillsMdUnwrap' | 'fileEdit' | 'fileEditDescription' | 'fileEditTitle' | 'fileEditActionHint' | 'fileEditLoading' | 'fileEditReady' | 'fileEditSaving' | 'fileEditSaved' | 'fileEditSave' | 'fileEditSaveDirty' | 'fileEditSaveHint' | 'fileEditSearch' | 'fileEditSearchHint' | 'fileEditReload' | 'fileEditReloadHint' | 'fileEditPreview' | 'fileEditPreviewHint' | 'fileEditNoPath' | 'fileEditUnavailable' | 'fileEditFailed' | 'fileEditSaveFailed' | 'fileEditTooLarge' | 'fileEditNotText' | 'fileEditDenied' | 'fileEditNotFound' | 'fileEditSessionChanged' | 'extraFolders' | 'extraFoldersTitle' | 'extraFoldersGuideDescription' | 'extraFoldersAdd' | 'extraFoldersAddHint' | 'extraFoldersPicking' | 'extraFoldersRemove' | 'extraFoldersRemoveHint' | 'extraFoldersNone' | 'extraFoldersEmptyDir' | 'extraFoldersLoading' | 'extraFoldersExpand' | 'extraFoldersCollapse' | 'extraFoldersNoSession' | 'extraFoldersUnavailable' | 'extraFoldersFailed' | 'extraFoldersDenied' | 'extraFoldersNotFound' | 'extraFoldersSessionChanged' | 'contextInspect' | 'contextInspectDescription' | 'contextInspectDetailTitle' | 'contextInspectNote' | 'contextInspectEmpty' | 'contextInspectApproxTotal' | 'contextInspectApproxBadge' | 'contextInspectOpenCategory' | 'contextInspectCategories' | 'contextInspectItemDetail' | 'contextInspectLoading' | 'contextInspectLoadFailed' | 'contextInspectNoSession' | 'contextInspectChartOverview' | 'contextInspectChartCategory' | 'contextInspectChartMessages' | 'contextInspectChartOther' | 'contextInspectCategory_system' | 'contextInspectCategory_tools' | 'contextInspectCategory_messages' | 'contextInspectKind_user' | 'contextInspectKind_inject' | 'contextInspectKind_assistant' | 'contextInspectKind_tool' | 'contextInspectKind_developer' | 'contextInspectHeadroom' | 'contextInspectOccupied' | 'contextInspectEvents' | 'contextInspectEvent_compact' | 'contextInspectEvent_prune' | 'contextInspectEvent_replace' | 'contextInspectReplaced' | 'contextInspectCompact' | 'contextInspectCompactHint' | 'contextInspectCompacting' | 'contextInspectCompactDone' | 'contextInspectCompactNoop' | 'contextInspectCompactUnavailable' | 'contextInspectCompactBusy' | 'contextInspectCompactFailed' | 'contextInspectCompactModel' | 'contextInspectCompactSummary' | 'contextInspectCompactChanged' | 'quoteSelection';
3
+ 'agent-enhancer': 'historyTitle' | 'historySearch' | 'historyResults' | 'historyClose' | 'optimize' | 'optimizePending' | 'optimizeUndo' | 'optimizeError' | 'optimizeChips' | 'optimizeChipSelection' | 'optimizeModelUnavailable' | 'optimizeRequestFailed' | 'optimizeInvalidOutput' | 'optimizeRollbackFailed' | 'optimizeSessionChanged' | 'settingsTitle' | 'settingsSubtitle' | 'history' | 'historyDescription' | 'optimizeDescription' | 'predict' | 'predictDescription' | 'quote' | 'quoteDescription' | 'usage' | 'usageDescription' | 'privacyTitle' | 'privacy' | 'coexistence' | 'settingsError' | 'settingsUnavailable' | 'modelCatalogLoading' | 'modelCatalogError' | 'modelLabel' | 'modelFollowSession' | 'modelAuto' | 'modelUnconfigured' | 'reasoningDefault' | 'settingsBack' | 'settingsConfigure' | 'settingsTabFeatures' | 'settingsTabModels' | 'settingsTabAbout' | 'settingsGroupChat' | 'settingsGroupWorkspace' | 'settingsOpenModel' | 'settingsAuxModelsTitle' | 'settingsAuxModelsIntro' | 'usageTitle' | 'usageNote' | 'usageMeterOpen' | 'usageBuckets' | 'usageBucketInput' | 'usageBucketOutput' | 'usageBucketCacheRead' | 'usageBucketCacheWrite' | 'usageReasoningNote' | 'usageChartSources' | 'usageChartModels' | 'usageChartTotal' | 'usageChartEmpty' | 'usageHeatmap' | 'usageHeatmapHint' | 'usageHeatmapHourHint' | 'usageShareBar' | 'usageTotalLabel' | 'usageEstimateLabel' | 'usageEstimateHint' | 'usageUnpriced' | 'usageBalanceLabel' | 'usageBalanceDetail' | 'usageBalanceStale' | 'usageBalanceNoKey' | 'usageBalanceUnavailable' | 'providerBalanceLabel' | 'providerBalanceDetail' | 'providerBalanceStale' | 'providerBalanceLoading' | 'providerBalanceNoKey' | 'providerBalanceSignedOut' | 'providerBalanceUnavailable' | 'providerBalanceRefreshHint' | 'usageRecordModel' | 'usageRecordProvider' | 'usageRecordEffort' | 'usageRecordInput' | 'usageRecordOutput' | 'usageRecordCacheRead' | 'usageRecordCacheWrite' | 'usageModelRouteEffort' | 'usageBack' | 'usageRecordsOpen' | 'usageRecordsHint' | 'usageRecordsEmpty' | 'usageLoading' | 'usageLoadFailed' | 'usageRetry' | 'usageRefresh' | 'usageUnavailable' | 'usageEmpty' | 'usageRangeLabel' | 'usageRange_today' | 'usageRange_7d' | 'usageRange_30d' | 'usageRange_all' | 'usageRecent' | 'usageRetention' | 'usageCalls' | 'usageModelRoute' | 'usageSource_optimize' | 'usageSource_predict' | 'usageSource_compact' | 'usageSource_autoClassifier' | 'usageSource_session' | 'usageSource_compaction' | 'usageSource_sessionTitle' | 'usageSource_other' | 'updateTitle' | 'updateCurrent' | 'updateCheck' | 'updateChecking' | 'updateLatest' | 'updateAvailable' | 'updateApply' | 'updateApplying' | 'updateRestart' | 'updateLinkBlocked' | 'updateManual' | 'updateFailed' | 'updateCheckFailed' | 'updateCopy' | 'updateCopied' | 'autoRouting' | 'autoRoutingDescription' | 'autoClassifier' | 'autoClassifierDescription' | 'autoMappingTitle' | 'autoTier_instant' | 'autoTier_thinking' | 'autoTier_pro' | 'autoTier_classifier' | 'overlapHistory' | 'overlapOptimize' | 'overlapPredict' | 'overlapSoftPause' | 'dismissHint' | 'softPause' | 'softPauseDescription' | 'softPausePause' | 'softPauseResume' | 'runAlerts' | 'runAlertsDescription' | 'runAlertsLevel' | 'runAlertsLevel_hidden' | 'runAlertsLevel_unfocused' | 'runAlertsLevel_always' | 'runAlertsFinished' | 'runAlertsWaitingApproval' | 'runAlertsWaitingQuestion' | 'runAlertsWaitingPlanReview' | 'runAlertsWaiting' | 'runAlertsError' | 'rollback' | 'rollbackDescription' | 'rollbackBoundary' | 'rollbackAction' | 'rollbackUndoAction' | 'rollbackUndoCommandDescription' | 'rollbackTitle' | 'rollbackScope' | 'rollbackScopeAlready' | 'rollbackScopeCovered' | 'rollbackUndoTitle' | 'rollbackUndoScope' | 'rollbackUndoScopeConversation' | 'rollbackClose' | 'rollbackConfirm' | 'rollbackConfirmConversation' | 'rollbackConfirmAlready' | 'rollbackConfirmConversationAlready' | 'rollbackUndoConfirm' | 'rollbackUndoConfirmConversation' | 'rollbackCancel' | 'rollbackLoading' | 'rollbackAlreadyRestored' | 'rollbackCoveredByEarlier' | 'rollbackRestoring' | 'rollbackRestoringConversation' | 'rollbackUndoRestoring' | 'rollbackUndoRestoringConversation' | 'rollbackFailed' | 'rollbackFailedUnavailable' | 'rollbackFailedConflict' | 'rollbackFailedRecovery' | 'rollbackRetry' | 'rollbackTurnOpen' | 'rollbackTurnStartMissing' | 'rollbackSummary' | 'rollbackSummaryLabel' | 'rollbackMessageEmpty' | 'rollbackRole_user' | 'rollbackRole_assistant' | 'rollbackRole_tool' | 'rollbackRole_system' | 'rollbackRole_other' | 'rollbackCoverageFiles' | 'rollbackCoveragePartial' | 'rollbackCoverageConversation' | 'rollbackTimelineTitle' | 'rollbackTimelineOpen' | 'rollbackTimelineLead' | 'rollbackTimelineLeadRestoredNote' | 'rollbackTimelineRestoreHint' | 'rollbackTimelineFilterEmpty' | 'rollbackTimelineSearchLabel' | 'rollbackTimelineSearchPlaceholder' | 'rollbackTimelineLoading' | 'rollbackTimelineFailed' | 'rollbackTimelineEmpty' | 'rollbackTimelineNoSession' | 'rollbackTimelineTurn' | 'rollbackTimelineRolledBack' | 'rollbackTimelineTip' | 'rollbackTimelineOpening' | 'rollbackTimelineCoveredHint' | 'rollbackTimelineNoPrompt' | 'rollbackTimelineFileFallback' | 'rollbackTimelineFilesFallback' | 'rollbackTimelineCoverageFiles' | 'rollbackTimelineCoveragePartial' | 'rollbackTimelineCoverageConversation' | 'rollbackTimelineCoverageUnknown' | 'rollbackMessages' | 'rollbackFiles' | 'rollbackGaps' | 'rollbackFilesLimited' | 'rollbackFilesLimitedHint' | 'rollbackConflicts' | 'rollbackNoMessages' | 'rollbackNoFiles' | 'rollbackFile_create' | 'rollbackFile_modify' | 'rollbackFile_delete' | 'rollbackGapWorkspace' | 'rollbackGapPrompt' | 'rollbackUnavailableCheckpoint' | 'rollbackUnavailableIncomplete' | 'rollbackUnavailableSessionChanged' | 'rollbackUnavailableRunning' | 'rollbackUnavailablePermission' | 'rollbackUnavailableDisabled' | 'rollbackUnavailableIncompatible' | 'rollbackUnavailableCompacted' | 'rollbackUnavailableSubagent' | 'rollbackUnavailableUnknown' | 'rollbackUnavailableAlready' | 'rollbackUnavailableCovered' | 'rollbackConflictUnsafe' | 'rollbackConflictSymlink' | 'rollbackConflictRegular' | 'rollbackConflictBinary' | 'rollbackConflictLarge' | 'rollbackConflictBefore' | 'rollbackConflictHash' | 'rollbackConflictHashHint' | 'sessionDelete' | 'sessionDeleteDescription' | 'sessionDeleteBusy' | 'sessionDeleteBusyConfirm' | 'sessionDeleteConfirmTitle' | 'sessionDeleteConfirmDesc' | 'sessionDeleteConfirmAction' | 'sessionDeleteCancel' | 'sessionDeleteDeleting' | 'sessionDeleteDone' | 'sessionDeleteDoneUnloaded' | 'sessionDeleteDoneHidden' | 'sessionDeleteFailed' | 'sessionDeleteFailedDetail' | 'instructionsSkills' | 'instructionsSkillsDescription' | 'instructionsSkillsTitle' | 'instructionsSkillsIntro' | 'instructionsSkillsAdd' | 'instructionsSkillsGuideDescription' | 'instructionsSkillsLeftNavUnsupported' | 'instructionsSkillsSectionInstructions' | 'instructionsSkillsSectionSkills' | 'instructionsSkillsRefresh' | 'instructionsSkillsRefreshHint' | 'instructionsSkillsNewSkill' | 'instructionsSkillsNewSkillHint' | 'instructionsSkillsNewSkillPrompt' | 'instructionsSkillsNewAgents' | 'instructionsSkillsNewAgentsHint' | 'instructionsSkillsOpen' | 'instructionsSkillsMissing' | 'instructionsSkillsEmptySkills' | 'instructionsSkillsLoading' | 'instructionsSkillsNoSession' | 'instructionsSkillsFailed' | 'instructionsSkillsDenied' | 'instructionsSkillsNotFound' | 'instructionsSkillsSessionChanged' | 'instructionsSkillsInvalidName' | 'instructionsSkillsExists' | 'instructionsSkillsCreated' | 'instructionsSkillsScope_global' | 'instructionsSkillsScope_shared' | 'instructionsSkillsScope_project' | 'instructionsSkillsProvider' | 'instructionsSkillsInstallGit' | 'instructionsSkillsInstallGitHint' | 'instructionsSkillsInstallGitPlaceholder' | 'instructionsSkillsInstall' | 'instructionsSkillsInstalling' | 'instructionsSkillsInstallCancel' | 'instructionsSkillsInstallCancelled' | 'instructionsSkillsInstallStageResolving' | 'instructionsSkillsInstallStageDownloading' | 'instructionsSkillsInstallStageExtracting' | 'instructionsSkillsInstallStageCloning' | 'instructionsSkillsInstallStageCopying' | 'instructionsSkillsInstallStageFinishing' | 'instructionsSkillsInstallProgressLine' | 'instructionsSkillsInstallProgressBytes' | 'instructionsSkillsInstallProgressBytesUnknown' | 'instructionsSkillsInstallTarget' | 'instructionsSkillsTargetUser' | 'instructionsSkillsTargetUserDsh' | 'instructionsSkillsTargetProject' | 'instructionsSkillsTargetProjectDsh' | 'instructionsSkillsInstallHint' | 'instructionsSkillsForceOverwrite' | 'instructionsSkillsHostStale' | 'instructionsSkillsInstallUnavailable' | 'instructionsSkillsPaneInstall' | 'instructionsSkillsPaneInstalled' | 'instructionsSkillsInstalledNote' | 'instructionsSkillsInstalledPartialNote' | 'instructionsSkillsInstalledEmpty' | 'instructionsSkillsNetworkFailed' | 'instructionsSkillsRepoNotFound' | 'instructionsSkillsSearch' | 'instructionsSkillsSearchPlaceholder' | 'instructionsSkillsSearchEmpty' | 'instructionsSkillsFilter' | 'instructionsSkillsFilterAll' | 'instructionsSkillsFilterUser' | 'instructionsSkillsFilterProject' | 'instructionsSkillsFilterOther' | 'instructionsSkillsProviderUser' | 'instructionsSkillsProviderDsh' | 'instructionsSkillsProviderProject' | 'instructionsSkillsProviderProjectDsh' | 'instructionsSkillsProviderRegistry' | 'instructionsSkillsProviderCursor' | 'instructionsSkillsProviderCursorBuiltin' | 'instructionsSkillsProviderCodex' | 'instructionsSkillsProviderClaude' | 'instructionsSkillsUninstall' | 'instructionsSkillsUninstallHint' | 'instructionsSkillsUninstallConfirm' | 'instructionsSkillsUninstallCancel' | 'instructionsSkillsUninstalling' | 'instructionsSkillsUninstalledNote' | 'instructionsSkillsUninstallDenied' | 'instructionsSkillsRemoveBusy' | 'instructionsSkillsInstallZip' | 'instructionsSkillsInstallZipHint' | 'instructionsSkillsZipInstalledNote' | 'instructionsSkillsZipNoUpdateHint' | 'instructionsSkillsUpdateAvailable' | 'instructionsSkillsUpdate' | 'instructionsSkillsUpdating' | 'instructionsSkillsUpdatedNote' | 'instructionsSkillsUpdateCheckFailed' | 'instructionsSkillsChannelGithub' | 'instructionsSkillsChannelZip' | 'instructionsSkillsChannelUnknown' | 'instructionsSkillsPreviewEmpty' | 'instructionsSkillsPreviewLoading' | 'instructionsSkillsPreviewBack' | 'instructionsSkillsOpenInSidebar' | 'instructionsSkillsOpenInSidebarHint' | 'mcpConnectors' | 'mcpConnectorsDescription' | 'mcpConnectorsLeftNavUnsupported' | 'mcpConnectorsTitle' | 'mcpConnectorsIntro' | 'mcpConnectorsAdd' | 'mcpConnectorsRefresh' | 'mcpConnectorsRefreshHint' | 'mcpConnectorsPaneServers' | 'mcpConnectorsPaneAdd' | 'mcpConnectorsAddHint' | 'mcpConnectorsTransportStdio' | 'mcpConnectorsTransportRemote' | 'mcpConnectorsEnabled' | 'mcpConnectorsDisabled' | 'mcpConnectorsJson' | 'mcpConnectorsImport' | 'mcpConnectorsImporting' | 'mcpConnectorsImportedNote' | 'mcpConnectorsUninstall' | 'mcpConnectorsUninstallHint' | 'mcpConnectorsUninstallConfirm' | 'mcpConnectorsUninstallCancel' | 'mcpConnectorsUninstalling' | 'mcpConnectorsUninstalledNote' | 'mcpConnectorsEmpty' | 'mcpConnectorsLoading' | 'mcpConnectorsFailed' | 'mcpConnectorsBridgeMissing' | 'mcpConnectorsToolsTitle' | 'mcpConnectorsToolsEmpty' | 'mcpConnectorsToolsDisabled' | 'mcpConnectorsToolsPick' | 'mcpConnectorsToolsLoading' | 'mcpConnectorsForceOverwrite' | 'mcpConnectorsHostStale' | 'instructionsSkillsMdCopy' | 'instructionsSkillsMdCopied' | 'instructionsSkillsMdFootnotes' | 'instructionsSkillsMdCode' | 'instructionsSkillsMdWrap' | 'instructionsSkillsMdUnwrap' | 'fileEdit' | 'fileEditDescription' | 'fileEditTitle' | 'fileEditActionHint' | 'fileEditLoading' | 'fileEditReady' | 'fileEditSaving' | 'fileEditSaved' | 'fileEditSave' | 'fileEditSaveDirty' | 'fileEditSaveHint' | 'fileEditSearch' | 'fileEditSearchHint' | 'fileEditReload' | 'fileEditReloadHint' | 'fileEditPreview' | 'fileEditPreviewHint' | 'fileEditNoPath' | 'fileEditUnavailable' | 'fileEditFailed' | 'fileEditSaveFailed' | 'fileEditTooLarge' | 'fileEditNotText' | 'fileEditDenied' | 'fileEditNotFound' | 'fileEditSessionChanged' | 'extraFolders' | 'extraFoldersTitle' | 'extraFoldersGuideDescription' | 'extraFoldersAdd' | 'extraFoldersAddHint' | 'extraFoldersPicking' | 'extraFoldersRemove' | 'extraFoldersRemoveHint' | 'extraFoldersNone' | 'extraFoldersEmptyDir' | 'extraFoldersLoading' | 'extraFoldersExpand' | 'extraFoldersCollapse' | 'extraFoldersNoSession' | 'extraFoldersUnavailable' | 'extraFoldersFailed' | 'extraFoldersDenied' | 'extraFoldersNotFound' | 'extraFoldersSessionChanged' | 'contextInspect' | 'contextInspectDescription' | 'contextInspectDetailTitle' | 'contextInspectNote' | 'contextInspectEmpty' | 'contextInspectApproxTotal' | 'contextInspectApproxBadge' | 'contextInspectOpenCategory' | 'contextInspectCategories' | 'contextInspectItemDetail' | 'contextInspectLoading' | 'contextInspectLoadFailed' | 'contextInspectNoSession' | 'contextInspectChartOverview' | 'contextInspectChartCategory' | 'contextInspectChartMessages' | 'contextInspectChartOther' | 'contextInspectCategory_system' | 'contextInspectCategory_tools' | 'contextInspectCategory_messages' | 'contextInspectKind_user' | 'contextInspectKind_inject' | 'contextInspectKind_assistant' | 'contextInspectKind_tool' | 'contextInspectKind_developer' | 'contextInspectHeadroom' | 'contextInspectOccupied' | 'contextInspectEvents' | 'contextInspectEvent_compact' | 'contextInspectEvent_prune' | 'contextInspectEvent_replace' | 'contextInspectReplaced' | 'contextInspectCompact' | 'contextInspectCompactHint' | 'contextInspectCompacting' | 'contextInspectCompactDone' | 'contextInspectCompactNoop' | 'contextInspectCompactUnavailable' | 'contextInspectCompactBusy' | 'contextInspectCompactFailed' | 'contextInspectCompactModel' | 'contextInspectCompactSummary' | 'contextInspectCompactChanged' | 'quoteSelection';
4
4
  }
5
5
  }
6
6
  export declare const agentLocales: {
@@ -154,6 +154,18 @@ export declare const agentLocales: {
154
154
  readonly softPauseDescription: "在最新用户气泡上暂停/恢复:挡住下一步模型调用以节省后续 token;当前流式回复与已发出工具会跑完。不替代官方停止。";
155
155
  readonly softPausePause: "暂停后续模型步";
156
156
  readonly softPauseResume: "恢复后续模型步";
157
+ readonly runAlerts: "运行提醒";
158
+ readonly runAlertsDescription: "长跑结束、等待批准或出错时拉回注意力。可选手动级别:仅后台 / 失焦(双屏或切到其他应用,推荐)/ 总是。系统通知不可用时会在回焦后用 Toast 补一条。";
159
+ readonly runAlertsLevel: "提醒级别";
160
+ readonly runAlertsLevel_hidden: "仅后台";
161
+ readonly runAlertsLevel_unfocused: "失焦时";
162
+ readonly runAlertsLevel_always: "总是";
163
+ readonly runAlertsFinished: "{title}:已完成";
164
+ readonly runAlertsWaitingApproval: "{title}:等待批准";
165
+ readonly runAlertsWaitingQuestion: "{title}:等待回答";
166
+ readonly runAlertsWaitingPlanReview: "{title}:等待审阅计划";
167
+ readonly runAlertsWaiting: "{title}:等待你的操作";
168
+ readonly runAlertsError: "{title}:出错 — {message}";
157
169
  readonly instructionsSkills: "技能";
158
170
  readonly instructionsSkillsDescription: "GitHub·Zip 可选装到 .agents/skills 或 .dsh/skills;入口在左侧栏;安装后用官方 / 调用";
159
171
  readonly instructionsSkillsLeftNavUnsupported: "当前 Desktop 未提供左侧技能入口(无 sidebar.panellist);请升级 Desktop 或在设置中确认功能已开启";
@@ -660,6 +672,18 @@ export declare const agentLocales: {
660
672
  readonly softPauseDescription: "Pause / resume on the latest user bubble: hold the next model step to save later tokens; the current stream and in-flight tools still finish. Does not replace official Stop.";
661
673
  readonly softPausePause: "Pause further model steps";
662
674
  readonly softPauseResume: "Resume further model steps";
675
+ readonly runAlerts: "Run alerts";
676
+ readonly runAlertsDescription: "Pull you back when a run finishes, waits for approval, or errors. Choose a level: background only / unfocused (dual-monitor or another app — recommended) / always. If system notifications are unavailable, a Toast appears when you return.";
677
+ readonly runAlertsLevel: "Alert level";
678
+ readonly runAlertsLevel_hidden: "Background only";
679
+ readonly runAlertsLevel_unfocused: "When unfocused";
680
+ readonly runAlertsLevel_always: "Always";
681
+ readonly runAlertsFinished: "{title}: finished";
682
+ readonly runAlertsWaitingApproval: "{title}: waiting for approval";
683
+ readonly runAlertsWaitingQuestion: "{title}: waiting for your answer";
684
+ readonly runAlertsWaitingPlanReview: "{title}: waiting for plan review";
685
+ readonly runAlertsWaiting: "{title}: waiting for you";
686
+ readonly runAlertsError: "{title}: error — {message}";
663
687
  readonly instructionsSkills: "Skills";
664
688
  readonly instructionsSkillsDescription: "GitHub·Zip into .agents/skills or .dsh/skills; left-nav entry; invoke with /";
665
689
  readonly instructionsSkillsLeftNavUnsupported: "This Desktop build has no left Skills entry (sidebar.panellist missing). Upgrade Desktop or confirm the feature toggle is on";
@@ -1 +1 @@
1
- {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../src/client/locales.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,kCAAkC,CAAC;IAChD,UAAU,kBAAkB;QAC1B,gBAAgB,EAAE,cAAc,GAAG,eAAe,GAAG,gBAAgB,GAAG,cAAc,GACpF,UAAU,GAAG,iBAAiB,GAAG,cAAc,GAAG,eAAe,GAAG,eAAe,GAAG,uBAAuB,GAC7G,0BAA0B,GAAG,uBAAuB,GAAG,uBAAuB,GAAG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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6gCf,CAAA"}
@@ -3,7 +3,7 @@ import type { ContextCompactRequest, ContextCompactResult } from '../host/contex
3
3
  import type { ContextInspectRequest, ContextInspectResult } from '../host/context-inspect.ts';
4
4
  import type { ApplyUpdateResult, UpdateCheckResult } from '../host/update/types.ts';
5
5
  import type { ProviderBalances, ProviderBalancesRequest, UsageRange, UsageSummary } from '../host/usage/types.ts';
6
- import type { RpcPayload, SoftPauseSetRequest, SoftPauseSnapshotRequest } from '../host/rpc.ts';
6
+ import type { RpcPayload, ShowOsNotificationRequest, SoftPauseSetRequest, SoftPauseSnapshotRequest } from '../host/rpc.ts';
7
7
  import type { AuxiliaryResult } from '../host/types.ts';
8
8
  export declare const clientRemoteInfo: {
9
9
  package: string;
@@ -76,6 +76,12 @@ export declare const agentEnhancerSoftPauseSet: {
76
76
  engaged: boolean;
77
77
  }>;
78
78
  };
79
+ export declare const agentEnhancerShowOsNotification: {
80
+ invoke(remote: unknown, request: ShowOsNotificationRequest, signal?: AbortSignal): Promise<{
81
+ shown: boolean;
82
+ channel: "none" | "electron" | "windows";
83
+ }>;
84
+ };
79
85
  export declare const agentEnhancerApplyUpdate: {
80
86
  invoke(remote: unknown): Promise<ApplyUpdateResult>;
81
87
  };
@@ -1 +1 @@
1
- {"version":3,"file":"remote.d.ts","sourceRoot":"","sources":["../../src/client/remote.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAA4B,MAAM,kCAAkC,CAAA;AAS7F,OAAO,KAAK,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAC7F,OAAO,KAAK,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAC7F,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AACnF,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACvB,UAAU,EACV,YAAY,EACb,MAAM,wBAAwB,CAAA;AAC/B,OAAO,KAAK,EACV,UAAU,EACV,mBAAmB,EACnB,wBAAwB,EAEzB,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAevD,e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AU,EACV,yBAAyB,EAEzB,mBAAmB,EACnB,wBAAwB,EAEzB,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAevD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwgBO,CAAA;AAEpC,eAAO,MAAM,iBAAiB;mBACP,OAAO,SAAS;QAAE,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAA;KAAE,WAAW,WAAW;CAkB5F,CAAA;AAOD,eAAO,MAAM,2BAA2B;mBACjB,OAAO,WAAW,qBAAqB,WAAW,WAAW;CAkBnF,CAAA;AAOD,eAAO,MAAM,2BAA2B;mBACjB,OAAO,WAAW,qBAAqB,WAAW,WAAW;CAkBnF,CAAA;AAID,eAAO,MAAM,wBAAwB;mBACd,OAAO;CA4B7B,CAAA;AAID,eAAO,MAAM,yBAAyB;mBACf,OAAO,SAAS,UAAU;CA0BhD,CAAA;AAMD,eAAO,MAAM,6BAA6B;mBACnB,OAAO,YAAW,uBAAuB;CA0B/D,CAAA;AAMD,eAAO,MAAM,8BAA8B;mBACpB,OAAO,WAAW,wBAAwB,WAAW,WAAW;;;;CActF,CAAA;AAMD,eAAO,MAAM,yBAAyB;mBACf,OAAO,WAAW,mBAAmB,WAAW,WAAW;;;;CAcjF,CAAA;AAMD,eAAO,MAAM,+BAA+B;mBACrB,OAAO,WAAW,yBAAyB,WAAW,WAAW;;;;CAoBvF,CAAA;AAID,eAAO,MAAM,wBAAwB;mBACd,OAAO;CA4B7B,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { TranslateNS } from '@deepseek-ai/dsh-client-ui-slots';
2
+ import type { RunAlertEvent } from './types.ts';
3
+ export declare function runAlertBody(t: TranslateNS<'agent-enhancer'>, event: RunAlertEvent, title: string): string;
4
+ //# sourceMappingURL=copy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copy.d.ts","sourceRoot":"","sources":["../../../src/client/run-alerts/copy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAU/C,wBAAgB,YAAY,CAC1B,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,EAChC,KAAK,EAAE,aAAa,EACpB,KAAK,EAAE,MAAM,GACZ,MAAM,CA2BR"}
@@ -0,0 +1,14 @@
1
+ import type { SessionId } from '@deepseek-ai/dsh-session/types';
2
+ import type { RunAlertEvent } from './types.ts';
3
+ /** Short-window dedupe so finish + unread edges (or burst pending) do not double-fire. */
4
+ export declare class RunAlertDedupe {
5
+ private readonly windowMs;
6
+ private readonly lastAt;
7
+ constructor(windowMs?: number);
8
+ accept(event: RunAlertEvent, now?: number): boolean;
9
+ /** Also suppress a second finish for the same session within the window (unread + running). */
10
+ acceptFinish(sessionId: SessionId, now?: number): boolean;
11
+ clear(): void;
12
+ private prune;
13
+ }
14
+ //# sourceMappingURL=dedupe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedupe.d.ts","sourceRoot":"","sources":["../../../src/client/run-alerts/dedupe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAgB,MAAM,YAAY,CAAA;AAS7D,0FAA0F;AAC1F,qBAAa,cAAc;IAGb,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAFrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;gBAEtB,QAAQ,GAAE,MAA0B;IAEjE,MAAM,CAAC,KAAK,EAAE,aAAa,EAAE,GAAG,GAAE,MAAmB,GAAG,OAAO;IAS/D,+FAA+F;IAC/F,YAAY,CAAC,SAAS,EAAE,SAAS,EAAE,GAAG,GAAE,MAAmB,GAAG,OAAO;IAIrE,KAAK,IAAI,IAAI;IAIb,OAAO,CAAC,KAAK;CAKd"}
@@ -0,0 +1,16 @@
1
+ export type NotificationPermissionState = 'granted' | 'denied' | 'default' | 'unsupported';
2
+ export declare function notificationPermission(): NotificationPermissionState;
3
+ export declare function ensureNotificationPermission(): Promise<NotificationPermissionState>;
4
+ export interface SystemNotificationInput {
5
+ readonly title: string;
6
+ readonly body: string;
7
+ readonly tag?: string;
8
+ /** Host remote for Electron / Windows Action Center notifications. */
9
+ readonly remote?: unknown;
10
+ }
11
+ /**
12
+ * Prefer host Electron / Windows toast (shows in Action Center), then Web Notification.
13
+ * @returns false when the caller should fall back to Toast.
14
+ */
15
+ export declare function showSystemNotification(input: SystemNotificationInput): Promise<boolean>;
16
+ //# sourceMappingURL=deliver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deliver.d.ts","sourceRoot":"","sources":["../../../src/client/run-alerts/deliver.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,2BAA2B,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,aAAa,CAAA;AAE1F,wBAAgB,sBAAsB,IAAI,2BAA2B,CAGpE;AAED,wBAAsB,4BAA4B,IAAI,OAAO,CAAC,2BAA2B,CAAC,CAUzF;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAA;IACrB,sEAAsE;IACtE,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAC1B;AA6BD;;;GAGG;AACH,wBAAsB,sBAAsB,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO,CAAC,OAAO,CAAC,CAU7F"}
@@ -0,0 +1,12 @@
1
+ import type { SessionId } from '@deepseek-ai/dsh-session/types';
2
+ import type { RunAlertEvent, SessionStatusMap } from './types.ts';
3
+ /**
4
+ * Diff two status snapshots into alert edges.
5
+ * `away` (hidden or unfocused) enables a running→false finish edge when the
6
+ * user left the window — official `completionUnread` only fires off mainView.
7
+ */
8
+ export declare function detectStatusEdges(previous: SessionStatusMap | undefined, next: SessionStatusMap, options?: {
9
+ readonly away: boolean;
10
+ }): readonly RunAlertEvent[];
11
+ export declare function detectSessionError(sessionId: SessionId, message: string): RunAlertEvent;
12
+ //# sourceMappingURL=detect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"detect.d.ts","sourceRoot":"","sources":["../../../src/client/run-alerts/detect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAE/D,OAAO,KAAK,EAAE,aAAa,EAAqB,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAapF;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,gBAAgB,GAAG,SAAS,EACtC,IAAI,EAAE,gBAAgB,EACtB,OAAO,GAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;CAAoB,GACpD,SAAS,aAAa,EAAE,CA6B1B;AAED,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,MAAM,GACd,aAAa,CAOf"}
@@ -0,0 +1,25 @@
1
+ import type { RunAlertsLevel } from '../../config.ts';
2
+ import type { DeliverChannel } from './types.ts';
3
+ export interface AlertGateInput {
4
+ readonly level: RunAlertsLevel;
5
+ readonly documentHidden: boolean;
6
+ /** `document.hasFocus()` — false on dual-monitor / other-app attention. */
7
+ readonly windowFocused: boolean;
8
+ /** True when the session is retained as the main conversation view. */
9
+ readonly isMainView: boolean;
10
+ }
11
+ /**
12
+ * Decide whether to notify for one event under the user's chosen level.
13
+ * - hidden: only when the page is not visible (minimized / covered tab)
14
+ * - unfocused: page hidden, window blurred, or another session is focused (default)
15
+ * - always: even while watching that session
16
+ */
17
+ export declare function shouldDeliverAlert(input: AlertGateInput): boolean;
18
+ /** Prefer OS notification whenever the user is not looking at this window. */
19
+ export declare function deliverChannel(input: {
20
+ readonly documentHidden: boolean;
21
+ readonly windowFocused: boolean;
22
+ }): DeliverChannel;
23
+ /** True when the user is away from the Desktop page for finish-edge heuristics. */
24
+ export declare function isAway(documentHidden: boolean, windowFocused: boolean): boolean;
25
+ //# sourceMappingURL=gate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gate.d.ts","sourceRoot":"","sources":["../../../src/client/run-alerts/gate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAEhD,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAA;IAC9B,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAA;IAChC,2EAA2E;IAC3E,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAA;IAC/B,uEAAuE;IACvE,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAA;CAC7B;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAcjE;AAED,8EAA8E;AAC9E,wBAAgB,cAAc,CAAC,KAAK,EAAE;IACpC,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAA;IAChC,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAA;CAChC,GAAG,cAAc,CAGjB;AAED,mFAAmF;AACnF,wBAAgB,MAAM,CAAC,cAAc,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,GAAG,OAAO,CAE/E"}
@@ -0,0 +1,29 @@
1
+ import type { PropsRuntime, TranslateNS } from '@deepseek-ai/dsh-client-ui-slots';
2
+ import type { RunAlertsLevel } from '../../config.ts';
3
+ export interface RunAlertsHostProps {
4
+ readonly t: TranslateNS<'agent-enhancer'>;
5
+ /** Cordis client context — typed loosely so Desktop Context assigns cleanly. */
6
+ readonly ctx?: {
7
+ get?: (key: string) => unknown;
8
+ remote?: unknown;
9
+ };
10
+ readonly useSessionStatus?: PropsRuntime<'shell.overlay'>['useSessionStatus'];
11
+ /** Latest level from settings (read on each deliver). */
12
+ readonly getLevel: () => RunAlertsLevel;
13
+ /** Host remote for Electron / Windows OS notifications. */
14
+ readonly getRemote?: () => unknown;
15
+ }
16
+ export declare function RunAlertsHost(props: RunAlertsHostProps): import("react").FunctionComponentElement<{
17
+ text: string;
18
+ icon?: import("react").ReactNode;
19
+ tone?: "success";
20
+ anchor?: HTMLElement | null;
21
+ holdMs?: number;
22
+ actions?: readonly {
23
+ label: string;
24
+ prefix?: string;
25
+ onClick: () => void;
26
+ }[];
27
+ onDone: () => void;
28
+ }> | null;
29
+ //# sourceMappingURL=host.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../../../src/client/run-alerts/host.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAQrD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAA;IACzC,gFAAgF;IAChF,QAAQ,CAAC,GAAG,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,CAAA;IACnE,QAAQ,CAAC,gBAAgB,CAAC,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC,kBAAkB,CAAC,CAAA;IAC7E,yDAAyD;IACzD,QAAQ,CAAC,QAAQ,EAAE,MAAM,cAAc,CAAA;IACvC,2DAA2D;IAC3D,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,OAAO,CAAA;CACnC;AA2ED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB;;;;;;;;cA/BrD,CAAA;;;;UAsJD"}
@@ -0,0 +1,4 @@
1
+ import type { RunAlertPendingKind } from './types.ts';
2
+ /** Match official workspace `visiblePendingKind` — only user-facing waits. */
3
+ export declare function visiblePendingKind(kind: string | undefined): RunAlertPendingKind | undefined;
4
+ //# sourceMappingURL=pending-kind.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pending-kind.d.ts","sourceRoot":"","sources":["../../../src/client/run-alerts/pending-kind.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAErD,8EAA8E;AAC9E,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,mBAAmB,GAAG,SAAS,CAS5F"}
@@ -0,0 +1,21 @@
1
+ import type { SessionId } from '@deepseek-ai/dsh-session/types';
2
+ /** Pending kinds that match workspace sidebar presentation. */
3
+ export type RunAlertPendingKind = 'approval' | 'question' | 'plan-review';
4
+ export type RunAlertKind = 'finished' | 'pending' | 'error';
5
+ export interface RunAlertEvent {
6
+ readonly sessionId: SessionId;
7
+ readonly kind: RunAlertKind;
8
+ readonly pendingKind?: RunAlertPendingKind;
9
+ readonly message?: string;
10
+ }
11
+ export interface SessionStatusFace {
12
+ readonly running?: boolean;
13
+ readonly pendingInteraction?: {
14
+ readonly kind?: string;
15
+ readonly key?: string;
16
+ } | null;
17
+ readonly completionUnread?: boolean;
18
+ }
19
+ export type SessionStatusMap = ReadonlyMap<SessionId, SessionStatusFace>;
20
+ export type DeliverChannel = 'notification' | 'toast';
21
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/client/run-alerts/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAE/D,+DAA+D;AAC/D,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,UAAU,GAAG,aAAa,CAAA;AAEzE,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAAA;AAE3D,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAA;IAC7B,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAA;IAC3B,QAAQ,CAAC,WAAW,CAAC,EAAE,mBAAmB,CAAA;IAC1C,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAC1B;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,kBAAkB,CAAC,EAAE;QAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;IACtF,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;CACpC;AAED,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAA;AAExE,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG,OAAO,CAAA"}