dsh-agent-enhancer 0.3.5 → 0.3.7
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/README.en.md +32 -155
- package/README.md +32 -155
- package/lib/client/dsh/hints.d.ts.map +1 -1
- package/lib/client/dsh/plugin-hints.d.ts +1 -0
- package/lib/client/dsh/plugin-hints.d.ts.map +1 -1
- package/lib/client/dsh/settings-catalog.d.ts +2 -2
- package/lib/client/dsh/settings-catalog.d.ts.map +1 -1
- package/lib/client/dsh/settings-features.d.ts +2 -0
- package/lib/client/dsh/settings-features.d.ts.map +1 -1
- package/lib/client/dsh/settings.d.ts.map +1 -1
- package/lib/client/file-edit/address.d.ts +16 -0
- package/lib/client/file-edit/address.d.ts.map +1 -1
- package/lib/client/file-edit/open-tab.d.ts +18 -0
- package/lib/client/file-edit/open-tab.d.ts.map +1 -1
- package/lib/client/index.d.ts.map +1 -1
- package/lib/client/instructions-skills/errors.d.ts +13 -0
- package/lib/client/instructions-skills/errors.d.ts.map +1 -0
- package/lib/client/instructions-skills/guide-icon.d.ts +4 -0
- package/lib/client/instructions-skills/guide-icon.d.ts.map +1 -0
- package/lib/client/instructions-skills/install-progress-ui.d.ts +6 -0
- package/lib/client/instructions-skills/install-progress-ui.d.ts.map +1 -0
- package/lib/client/instructions-skills/kind.d.ts +9 -0
- package/lib/client/instructions-skills/kind.d.ts.map +1 -0
- package/lib/client/instructions-skills/left-nav.d.ts +30 -0
- package/lib/client/instructions-skills/left-nav.d.ts.map +1 -0
- package/lib/client/instructions-skills/markdown-preview.d.ts +10 -0
- package/lib/client/instructions-skills/markdown-preview.d.ts.map +1 -0
- package/lib/client/instructions-skills/nav-update-hints.d.ts +6 -0
- package/lib/client/instructions-skills/nav-update-hints.d.ts.map +1 -0
- package/lib/client/instructions-skills/remote.d.ts +29 -0
- package/lib/client/instructions-skills/remote.d.ts.map +1 -0
- package/lib/client/instructions-skills/slot-types.d.ts +17 -0
- package/lib/client/instructions-skills/slot-types.d.ts.map +1 -0
- package/lib/client/instructions-skills/tab.d.ts +40 -0
- package/lib/client/instructions-skills/tab.d.ts.map +1 -0
- package/lib/client/locales.d.ts +307 -1
- package/lib/client/locales.d.ts.map +1 -1
- package/lib/client/manager-shell.d.ts +32 -0
- package/lib/client/manager-shell.d.ts.map +1 -0
- package/lib/client/mcp-connectors/errors.d.ts +3 -0
- package/lib/client/mcp-connectors/errors.d.ts.map +1 -0
- package/lib/client/mcp-connectors/guide-icon.d.ts +4 -0
- package/lib/client/mcp-connectors/guide-icon.d.ts.map +1 -0
- package/lib/client/mcp-connectors/kind.d.ts +4 -0
- package/lib/client/mcp-connectors/kind.d.ts.map +1 -0
- package/lib/client/mcp-connectors/left-nav.d.ts +21 -0
- package/lib/client/mcp-connectors/left-nav.d.ts.map +1 -0
- package/lib/client/mcp-connectors/remote.d.ts +26 -0
- package/lib/client/mcp-connectors/remote.d.ts.map +1 -0
- package/lib/client/mcp-connectors/slot-types.d.ts +16 -0
- package/lib/client/mcp-connectors/slot-types.d.ts.map +1 -0
- package/lib/client/mcp-connectors/tab.d.ts +11 -0
- package/lib/client/mcp-connectors/tab.d.ts.map +1 -0
- package/lib/client/remote.d.ts +13 -1
- package/lib/client/remote.d.ts.map +1 -1
- package/lib/client/rollback/user-node.d.ts +3 -1
- package/lib/client/rollback/user-node.d.ts.map +1 -1
- package/lib/client/soft-pause/action.d.ts +14 -0
- package/lib/client/soft-pause/action.d.ts.map +1 -0
- package/lib/client/soft-pause/controller.d.ts +39 -0
- package/lib/client/soft-pause/controller.d.ts.map +1 -0
- package/lib/client/soft-pause/visibility.d.ts +22 -0
- package/lib/client/soft-pause/visibility.d.ts.map +1 -0
- package/lib/client.js +4156 -1076
- package/lib/client.js.map +1 -1
- package/lib/config.d.ts +1 -1
- package/lib/config.d.ts.map +1 -1
- package/lib/host/extra-folders/pick.d.ts +13 -0
- package/lib/host/extra-folders/pick.d.ts.map +1 -1
- package/lib/host/index.d.ts +51 -2
- package/lib/host/index.d.ts.map +1 -1
- package/lib/host/instructions-skills/content-revision.d.ts +2 -0
- package/lib/host/instructions-skills/content-revision.d.ts.map +1 -0
- package/lib/host/instructions-skills/create.d.ts +11 -0
- package/lib/host/instructions-skills/create.d.ts.map +1 -0
- package/lib/host/instructions-skills/discover.d.ts +37 -0
- package/lib/host/instructions-skills/discover.d.ts.map +1 -0
- package/lib/host/instructions-skills/fs-access.d.ts +8 -0
- package/lib/host/instructions-skills/fs-access.d.ts.map +1 -0
- package/lib/host/instructions-skills/git-source.d.ts +22 -0
- package/lib/host/instructions-skills/git-source.d.ts.map +1 -0
- package/lib/host/instructions-skills/github-archive.d.ts +16 -0
- package/lib/host/instructions-skills/github-archive.d.ts.map +1 -0
- package/lib/host/instructions-skills/install-fs.d.ts +42 -0
- package/lib/host/instructions-skills/install-fs.d.ts.map +1 -0
- package/lib/host/instructions-skills/install-ledger.d.ts +15 -0
- package/lib/host/instructions-skills/install-ledger.d.ts.map +1 -0
- package/lib/host/instructions-skills/install-progress.d.ts +23 -0
- package/lib/host/instructions-skills/install-progress.d.ts.map +1 -0
- package/lib/host/instructions-skills/install.d.ts +40 -0
- package/lib/host/instructions-skills/install.d.ts.map +1 -0
- package/lib/host/instructions-skills/io.d.ts +65 -0
- package/lib/host/instructions-skills/io.d.ts.map +1 -0
- package/lib/host/instructions-skills/paths.d.ts +25 -0
- package/lib/host/instructions-skills/paths.d.ts.map +1 -0
- package/lib/host/instructions-skills/remove-path.d.ts +20 -0
- package/lib/host/instructions-skills/remove-path.d.ts.map +1 -0
- package/lib/host/instructions-skills/scope.d.ts +4 -0
- package/lib/host/instructions-skills/scope.d.ts.map +1 -0
- package/lib/host/instructions-skills/transient-paths.d.ts +15 -0
- package/lib/host/instructions-skills/transient-paths.d.ts.map +1 -0
- package/lib/host/instructions-skills/types.d.ts +143 -0
- package/lib/host/instructions-skills/types.d.ts.map +1 -0
- package/lib/host/instructions-skills/uninstall.d.ts +44 -0
- package/lib/host/instructions-skills/uninstall.d.ts.map +1 -0
- package/lib/host/instructions-skills/update-check.d.ts +18 -0
- package/lib/host/instructions-skills/update-check.d.ts.map +1 -0
- package/lib/host/instructions-skills/zip-install.d.ts +12 -0
- package/lib/host/instructions-skills/zip-install.d.ts.map +1 -0
- package/lib/host/mcp-connectors/import-mcp-json.d.ts +11 -0
- package/lib/host/mcp-connectors/import-mcp-json.d.ts.map +1 -0
- package/lib/host/mcp-connectors/install-git.d.ts +15 -0
- package/lib/host/mcp-connectors/install-git.d.ts.map +1 -0
- package/lib/host/mcp-connectors/io.d.ts +18 -0
- package/lib/host/mcp-connectors/io.d.ts.map +1 -0
- package/lib/host/mcp-connectors/paths.d.ts +8 -0
- package/lib/host/mcp-connectors/paths.d.ts.map +1 -0
- package/lib/host/mcp-connectors/runtime.d.ts +24 -0
- package/lib/host/mcp-connectors/runtime.d.ts.map +1 -0
- package/lib/host/mcp-connectors/store.d.ts +8 -0
- package/lib/host/mcp-connectors/store.d.ts.map +1 -0
- package/lib/host/mcp-connectors/types.d.ts +113 -0
- package/lib/host/mcp-connectors/types.d.ts.map +1 -0
- package/lib/host/mcp-connectors/validate.d.ts +7 -0
- package/lib/host/mcp-connectors/validate.d.ts.map +1 -0
- package/lib/host/rpc.d.ts +856 -0
- package/lib/host/rpc.d.ts.map +1 -1
- package/lib/host/soft-pause/gate.d.ts +19 -0
- package/lib/host/soft-pause/gate.d.ts.map +1 -0
- package/lib/host/soft-pause/live.d.ts +12 -0
- package/lib/host/soft-pause/live.d.ts.map +1 -0
- package/lib/identity.d.ts +1 -1
- package/lib/index.js +4516 -454
- package/lib/index.js.map +4 -4
- package/package.json +5 -1
package/README.en.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
English | [简体中文](./README.md)
|
|
4
4
|
|
|
5
|
-
>
|
|
6
|
-
>
|
|
5
|
+
> Make DeepSeek Harness Desktop **easier to write, refine, roll back, and see usage & context**.
|
|
6
|
+
> Features live inside the official chat and settings. Defaults on; turn off individually under **Settings → Built-in plugins → Agent Enhance**.
|
|
7
7
|
|
|
8
8
|
[](https://www.npmjs.com/package/dsh-agent-enhancer)
|
|
9
9
|
[](https://www.npmjs.com/package/dsh-agent-enhancer)
|
|
@@ -12,164 +12,52 @@ English | [简体中文](./README.md)
|
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## Features
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
| --- | --- | --- |
|
|
19
|
-
| **Write** | Revisit / clarify / continue / quote selection | `↑↓` or `Alt+R`; **Optimize** on the right; after a reply, `Tab` for the gray suggestion; select text in chat / preview / editor / terminal → **Quote text** |
|
|
20
|
-
| **Restore** | Truncate & retry | Bubble / timeline **Restore to here** (optional tracked files); **Undo restore** via **+** / `/` |
|
|
21
|
-
| **Workspace** | Edit files, attach folders, delete sessions | Preview toolbar **Edit**; right-sidebar guide capsule **Extra folders**; session ⋯ **Delete session** |
|
|
22
|
-
| **Usage & cost** | See tokens spent and remaining credit | **Token usage** → **Model bill**; **Settings → Models** for per-account balance; helpers can use a cheaper model or Auto |
|
|
23
|
-
| **Context** | See how full the window is | Context meter → right-pane details; optional **Compress context** |
|
|
24
|
-
| **Routing** | Let the session pick a strength tier | Choose **Auto** in the model list; map Instant / Thinking / Pro in settings |
|
|
25
|
-
| **Master switches** | Turn a feature off | **Settings → Built-in plugins → Agent Enhance** (Features / Models & routing / About) |
|
|
26
|
-
|
|
27
|
-
Core features default on. UI language follows Desktop (`zh` / `en`).
|
|
28
|
-
|
|
29
|
-
---
|
|
30
|
-
|
|
31
|
-
## Feature map
|
|
32
|
-
|
|
33
|
-
Grouped by capability; screenshots share a row so new features extend the matching category instead of lengthening the table.
|
|
17
|
+
Previews are 56×56 squares — click for the full image. UI language follows Desktop (`zh` / `en`).
|
|
34
18
|
|
|
35
|
-
|
|
|
36
|
-
| --- | --- | --- |
|
|
37
|
-
| **Write** |
|
|
38
|
-
| **
|
|
39
|
-
| **
|
|
40
|
-
| **
|
|
41
|
-
| **
|
|
42
|
-
| **
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
**Settings → Built-in plugins → Agent Enhance** (in-plugin **Features** / **Models & routing** / **About**)
|
|
47
|
-
|
|
48
|
-
| Category | Toggles / config | Default | Effect |
|
|
49
|
-
| --- | --- | --- | --- |
|
|
50
|
-
| **Chat** | `historyEnabled` · `optimizeEnabled` · `predictEnabled` · `quoteEnabled` · `rollbackEnabled` · `contextInspectEnabled` · `usageEnabled` | All on | `↑↓` / `Alt+R`; optimize & undo (model pill); gray predict; select-to-quote; restore; context meter; token usage / model bill |
|
|
51
|
-
| **Workspace & sessions** | `sessionDeleteEnabled` · `fileEditEnabled` | All on | Session ⋯ delete; preview **Edit** + guide-capsule **Extra folders** (both follow `fileEditEnabled`) |
|
|
52
|
-
| **Models & routing** | Helper model pills · `autoClassifierEnabled`, etc. | Classifier off | Optimize / predict / compact may follow session or Auto; tier maps; optional classifier |
|
|
53
|
-
| **About** | Plugin updates | — | Check/apply for npm installs; link installs show guidance only |
|
|
54
|
-
|
|
55
|
-
Model pills default to **Follow session**, or pick provider / model / reasoning effort, or **Auto**. Live balance stays on **Settings → Models** cards, not as a single global line on the bill.
|
|
56
|
-
|
|
57
|
-
### UI map
|
|
19
|
+
| Capability | How | Preview |
|
|
20
|
+
| --- | --- | --- |
|
|
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
|
+
| **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
|
+
| **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
|
+
| **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
|
+
| **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
|
+
| **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
|
+
| **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> |
|
|
58
29
|
|
|
59
|
-
|
|
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.
|
|
60
31
|
|
|
61
|
-
|
|
62
|
-
| --- | --- | --- |
|
|
63
|
-
| **Write** | History search; optimize & gray prediction; select → **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 search" 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="Select to quote" width="56" height="56" /></a> |
|
|
64
|
-
| **Restore** | Bubble / timeline restore → preview → undo; session-stats optional | <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="Checkpoint timeline entry" 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="Rollback 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 restore" width="56" height="56" /></a> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/checkpoint-session-stats-entry.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/checkpoint-session-stats-entry.png" alt="Session stats shortcut" width="56" height="56" /></a> |
|
|
65
|
-
| **Workspace** | Preview **Edit**; guide-capsule **Extra folders**; session ⋯ **Delete session** | <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="File 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> |
|
|
66
|
-
| **Usage & cost** | Token usage entry, model bill, 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="Model 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="Provider balance" width="56" height="56" /></a> |
|
|
67
|
-
| **Context** | Meter summary and right-pane details / 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="Context 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="Context details" width="56" height="56" /></a> |
|
|
68
|
-
| **Routing** | Auto in the model list; tier maps and optional classifier | <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> |
|
|
69
|
-
| **Settings** | Features / Models & routing / About (nine toggles) | <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> |
|
|
32
|
+
Feature toggles: `history` · `optimize` · `predict` · `quote` · `rollback` · `softPause` · `contextInspect` · `usage` · `sessionDelete` · `fileEdit` · `instructionsSkills` · `mcpConnectors` (all default on; Extra folders follows `fileEdit`).
|
|
70
33
|
|
|
71
34
|
---
|
|
72
35
|
|
|
73
36
|
## Install
|
|
74
37
|
|
|
75
|
-
|
|
76
|
-
This plugin targets **Desktop / the `desktop` profile** (do not validate with `web`). It is listed on [awesome-dsh-plugin](https://github.com/awesome-dsh-plugin/awesome-dsh-plugin); you can also search for `dsh-agent-enhancer` / **Agent Enhance** in third-party markets.
|
|
77
|
-
|
|
78
|
-
### Official Desktop · in-app install (recommended)
|
|
79
|
-
|
|
80
|
-
For the [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) **official Desktop** (and other official builds that ship **Settings → Plugins**):
|
|
81
|
-
|
|
82
|
-
1. Open **Settings → Plugins** (or the **Plugins** sidebar entry).
|
|
83
|
-
2. Search for `dsh-agent-enhancer` or **Agent Enhance**, then install when prompted.
|
|
84
|
-
3. Fully quit and restart Desktop.
|
|
85
|
-
|
|
86
|
-
> Desktop manages its own profile. Do **not** install into Desktop with `dsh plugin --profile web …` — the command may succeed while writing to `profiles/web`, which Desktop never loads.
|
|
87
|
-
|
|
88
|
-
### dsh-market (optional)
|
|
38
|
+
Targets **Desktop / the `desktop` profile** (do not validate with `web`). Quit Desktop (including tray) first.
|
|
89
39
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
- **Official Desktop:** in-app **Settings → Plugins**, search `dshmarket` and install (do not use the CLI `web` profile).
|
|
93
|
-
- **Plain `dsh web`:** `dsh plugin --profile web add dshmarket`, then restart.
|
|
94
|
-
|
|
95
|
-
Then open the **Plugin Market** tab, search, and install this plugin. Some third-party Desktop clients ship or recommend this market by default.
|
|
96
|
-
|
|
97
|
-
### CLI · npm
|
|
98
|
-
|
|
99
|
-
When the `dsh` CLI is available and you intend to write the **desktop** profile:
|
|
100
|
-
|
|
101
|
-
```sh
|
|
102
|
-
dsh plugin --profile desktop add dsh-agent-enhancer@0.3.5
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
Or unpinned: `dsh plugin --profile desktop add dsh-agent-enhancer`.
|
|
106
|
-
If you previously installed `dsh-composer-enhancer`, remove it first, then install this package.
|
|
107
|
-
You should then see the optimize control and **Agent Enhance** in settings.
|
|
108
|
-
|
|
109
|
-
### Local directory (development)
|
|
110
|
-
|
|
111
|
-
**Do not** run `dsh plugin --profile desktop add <absolute-path>` against this repo: some Desktop / CLI builds rewrite the plugin `package.json` or corrupt the profile. Use the one-shot switchers (they only edit `~/.dsh/profiles/desktop/package.json`, **never** the plugin Git tree):
|
|
112
|
-
|
|
113
|
-
```powershell
|
|
114
|
-
corepack pnpm install --frozen-lockfile
|
|
115
|
-
|
|
116
|
-
# Local dev: build → pack → extract into profile/.dsh-enhancer-pack/pkg, then install
|
|
117
|
-
corepack pnpm desktop:link
|
|
118
|
-
|
|
119
|
-
# Back to npm (defaults to this package.json version; or: pnpm desktop:npm -- 0.3.5)
|
|
120
|
-
corepack pnpm desktop:npm
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
Fully quit and restart Desktop afterward. After local code changes, run `corepack pnpm desktop:link` again (pack-snapshot install; no live repo hot reload).
|
|
124
|
-
Do not point `link:` / `file:` at the repo directory: on Windows that becomes a Junction and exposes this repo's `node_modules`, which leaves the plugin permanently off.
|
|
125
|
-
Keep host-shared DSH packages in both `peerDependencies` and `devDependencies`, not in `dependencies`.
|
|
126
|
-
|
|
127
|
-
---
|
|
128
|
-
|
|
129
|
-
## Privacy & coexistence
|
|
130
|
-
|
|
131
|
-
| Topic | Detail |
|
|
40
|
+
| Method | Steps |
|
|
132
41
|
| --- | --- |
|
|
133
|
-
|
|
|
134
|
-
|
|
|
135
|
-
|
|
|
136
|
-
| Predict | Sends the latest completed turn |
|
|
137
|
-
| File edit / Extra folders | Reads/writes local text and chosen folders; extra folders do not expand the Agent sandbox |
|
|
138
|
-
| Session delete | Purges that session’s conversation and plugin-local data (permanent) |
|
|
139
|
-
| Auto classifier | Only when the toggle is on; failures fall back to local heuristics without blocking the main request |
|
|
140
|
-
| Bill / context | Local aggregation and heuristic estimates; balance queries use Desktop-stored credentials — this plugin ships no keys |
|
|
141
|
-
| Cache | In-session memory (bill data persists under the local usage directory) |
|
|
142
|
-
| Audit | Local `plugin:agent-enhancer/request` (no telemetry upload) |
|
|
143
|
-
| Coexistence | Hints only — never auto-disables third-party plugins |
|
|
144
|
-
|
|
145
|
-
---
|
|
42
|
+
| **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
|
+
| **Dev** | `corepack pnpm install --frozen-lockfile` → `corepack pnpm desktop:link` → restart; back to npm: `corepack pnpm desktop:npm` |
|
|
146
45
|
|
|
147
|
-
|
|
46
|
+
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.
|
|
148
47
|
|
|
149
|
-
|
|
48
|
+
> Do not install into Desktop with `dsh plugin --profile web …`. Do not `add` / `link:` / `file:` a repo path (Windows Junctions expose `node_modules` and leave the plugin off). Use `desktop:link` (pack snapshot; re-link after code changes).
|
|
150
49
|
|
|
151
|
-
|
|
50
|
+
**Uninstall:** in-app remove, or `dsh plugin --profile desktop remove dsh-agent-enhancer`. For a linked dev install, do not `remove` blindly — edit the profile `package.json`, then delete only the `node_modules` link.
|
|
152
51
|
|
|
153
|
-
|
|
52
|
+
**Compatibility:** DSH `>=0.2.2-rc.1 <0.3.0-0`.
|
|
154
53
|
|
|
155
|
-
|
|
156
|
-
| --- | --- |
|
|
157
|
-
| Official Desktop / dsh-market | Uninstall or disable the plugin on the in-app **Plugins** page; or `dsh plugin --profile desktop remove dsh-agent-enhancer` |
|
|
158
|
-
| CLI npm | `dsh plugin --profile desktop remove dsh-agent-enhancer` |
|
|
159
|
-
| Local `file:` / dev install | **Do not** `remove` / run `pnpm remove` in the profile (a directory link can delete the source repo). Follow below |
|
|
54
|
+
---
|
|
160
55
|
|
|
161
|
-
|
|
162
|
-
2. Edit the **profile** `package.json`: drop this plugin from `dependencies` and `dsh.profile.bundles`
|
|
163
|
-
3. Refresh deps and delete the link only (not its target):
|
|
56
|
+
## Privacy
|
|
164
57
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
dsh plugin --profile desktop install
|
|
169
|
-
$PluginLink = Join-Path $ProfileDir 'node_modules\dsh-agent-enhancer'
|
|
170
|
-
$Item = Get-Item -LiteralPath $PluginLink -Force -ErrorAction SilentlyContinue
|
|
171
|
-
if ($Item -and $Item.LinkType -in @('SymbolicLink', 'Junction')) { $Item.Delete() }
|
|
172
|
-
```
|
|
58
|
+
- History / select-to-quote: no model calls. Optimize / predict: only the needed draft or latest completed turn.
|
|
59
|
+
- Bill and context stay local; balances use Desktop-stored credentials — this plugin ships no keys. No telemetry upload.
|
|
60
|
+
- Overlap with third-party plugins is hinted only; never auto-disabled.
|
|
173
61
|
|
|
174
62
|
---
|
|
175
63
|
|
|
@@ -177,24 +65,13 @@ if ($Item -and $Item.LinkType -in @('SymbolicLink', 'Junction')) { $Item.Delete(
|
|
|
177
65
|
|
|
178
66
|
```powershell
|
|
179
67
|
corepack pnpm install --frozen-lockfile
|
|
180
|
-
corepack pnpm typecheck
|
|
181
|
-
corepack pnpm test
|
|
182
|
-
corepack pnpm build # Desktop loads lib/
|
|
183
68
|
corepack pnpm check # typecheck + test + build + pack verify
|
|
184
69
|
```
|
|
185
70
|
|
|
186
|
-
|
|
187
|
-
| --- | --- |
|
|
188
|
-
| `src/host/` | Model calls, RPC, checkpoint rollback, bill, Auto routing, balances, file I/O, extra folders, session delete |
|
|
189
|
-
| `src/client/` | Conversation input, select-to-quote, file edit / extra folders, bill / context side panes, settings |
|
|
190
|
-
| `tests/` | Vitest |
|
|
191
|
-
| `lib/` | Build output |
|
|
192
|
-
| `docs/images/` | Full README screenshots; `thumbs/` square crops (`scripts/make-readme-thumbs.py`) |
|
|
71
|
+
`src/host/` · `src/client/` · `tests/` · `lib/` build output · `docs/images/` screenshots (`thumbs/` via `scripts/make-readme-thumbs.py`).
|
|
193
72
|
|
|
194
73
|
---
|
|
195
74
|
|
|
196
75
|
## License
|
|
197
76
|
|
|
198
|
-
[MIT](./LICENSE)
|
|
199
|
-
|
|
200
|
-
See [CHANGELOG.md](./CHANGELOG.md) for release notes.
|
|
77
|
+
[MIT](./LICENSE) · [CHANGELOG](./CHANGELOG.md)
|
package/README.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
[English](./README.en.md) | 简体中文
|
|
4
4
|
|
|
5
|
-
>
|
|
6
|
-
>
|
|
5
|
+
> 让 DeepSeek Harness Desktop **更好写、更好改、更好回退、更看得见用量与上下文**。
|
|
6
|
+
> 能力嵌在官方会话与设置里,默认开启,可在 **设置 → 内置插件 → 智能体增强** 逐项关闭。
|
|
7
7
|
|
|
8
8
|
[](https://www.npmjs.com/package/dsh-agent-enhancer)
|
|
9
9
|
[](https://www.npmjs.com/package/dsh-agent-enhancer)
|
|
@@ -12,164 +12,52 @@
|
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## 功能
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
| --- | --- | --- |
|
|
19
|
-
| **写提示** | 找回 / 改清楚 / 接着问 / 划词进输入框 | `↑↓` 或 `Alt+R`;右侧 **优化**;回复后 `Tab` 采纳灰字;对话 / 预览 / 编辑器 / 终端划词 → **引用文本** |
|
|
20
|
-
| **回退** | 截断重来 | 气泡 / 时间线 **恢复到这里**(可选已跟踪文件);**+** / `/` **撤销恢复** |
|
|
21
|
-
| **工作区** | 改文件、挂本地目录、删会话 | 预览工具栏 **编辑**;右侧指南胶囊 **附加目录**;会话 ⋯ **删除会话** |
|
|
22
|
-
| **用量与成本** | 看 token 花多少、账号还剩多少 | **Token 用量** → **模型账单**;**设置 → 模型** 看分账号余额;辅助模型可单独选更便宜档或 Auto |
|
|
23
|
-
| **上下文** | 看窗口占了多少 | 占用环 → 右侧栏明细;可 **压缩上下文** |
|
|
24
|
-
| **模型路由** | 让会话自己选强弱档 | 模型列表选 **Auto**;设置里映射 Instant / Thinking / Pro |
|
|
25
|
-
| **总开关** | 关掉某个能力 | **设置 → 内置插件 → 智能体增强**(功能 / 模型与路由 / 关于) |
|
|
26
|
-
|
|
27
|
-
默认核心能力开启。界面语言跟随 Desktop(`zh` / `en`)。
|
|
28
|
-
|
|
29
|
-
---
|
|
30
|
-
|
|
31
|
-
## 功能对照
|
|
32
|
-
|
|
33
|
-
按能力归类;同组能力共用入口与截图,后续加能力往对应行扩写即可。
|
|
17
|
+
预览为 56×56 方图,点击打开原图。语言跟随 Desktop(`zh` / `en`)。
|
|
34
18
|
|
|
35
|
-
|
|
|
36
|
-
| --- | --- | --- |
|
|
37
|
-
| **写提示** |
|
|
38
|
-
|
|
|
39
|
-
|
|
|
40
|
-
|
|
|
41
|
-
|
|
|
42
|
-
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
路径:**设置 → 内置插件 → 智能体增强**(页内 **功能** / **模型与路由** / **关于**)
|
|
47
|
-
|
|
48
|
-
| 类别 | 开关 / 配置 | 默认 | 作用 |
|
|
49
|
-
| --- | --- | --- | --- |
|
|
50
|
-
| **对话增强** | `historyEnabled` · `optimizeEnabled` · `predictEnabled` · `quoteEnabled` · `rollbackEnabled` · `contextInspectEnabled` · `usageEnabled` | 均开 | `↑↓` / `Alt+R`;优化与撤销(旁有模型药丸);灰字预测;划词引用;回退;占用环明细;Token 用量 / 模型账单 |
|
|
51
|
-
| **工作区与会话** | `sessionDeleteEnabled` · `fileEditEnabled` | 均开 | 会话 ⋯ 删除;预览 **编辑** + 指南胶囊 **附加目录**(均随 `fileEditEnabled`) |
|
|
52
|
-
| **模型与路由** | 辅助模型药丸 · `autoClassifierEnabled` 等 | 分类器关 | 优化 / 预测 / 压缩可选跟随会话或 Auto;档位映射;可选小模型分类 |
|
|
53
|
-
| **关于** | 插件更新 | — | npm 安装可检查更新;链接安装仅说明 |
|
|
54
|
-
|
|
55
|
-
模型药丸默认「跟随会话」,也可指定提供商 / 模型 / 推理等级,或选 **Auto**。余额挂在 **设置 → 模型** 各提供商卡片上,不在账单顶栏重复展示。
|
|
56
|
-
|
|
57
|
-
### 界面一览
|
|
19
|
+
| 能力 | 用法 | 预览 |
|
|
20
|
+
| --- | --- | --- |
|
|
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
|
+
| **软暂停** | 最新用户气泡工具栏 **暂停 / 恢复**(圆圈内 ‖):挡住下一步模型调用,省后续 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
|
+
| **回退** | 气泡或时间线 **恢复到这里**(可含已跟踪文本文件)→ 预览 → 确认;**+** / `/` **撤销恢复** | <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
|
+
| **工作区** | 预览 **编辑**(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
|
+
| **用量** | **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
|
+
| **上下文** | 占用环 → 右侧明细;可一键官方 `/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
|
+
| **路由** | 模型列表选 **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> |
|
|
58
29
|
|
|
59
|
-
|
|
30
|
+
**边界(精简):** 划词引用不调模型;流式助手与 HTML/PDF/Excel 预览暂不可划词。回退仅跟踪 UTF-8 文本文件,不恢复进程 / 终端 / 未跟踪 / 二进制。附加目录不扩大 Agent 沙箱。技能与连接器:左侧栏一级入口(在「插件」下方;chrome 对齐官方插件页);技能 GitHub·Zip 安装 / 搜索 / 详情预览 / 卸载(安装目标可选用户/项目 × `.agents/skills` 或 `.dsh/skills`,默认用户 `.agents`),GitHub 可更新、Zip 无更新提示,不代建 AGENTS.md / 空 Skill,调用走官方 `/`;连接器用 `mcp.json` 添加、列表开关、详情看工具。删除会话不可恢复。占用数字为启发式约值;账单「约 ¥」非发票。软暂停挡住的是**暂停之后**尚未发生的模型步;不跨重启保留门闸。
|
|
60
31
|
|
|
61
|
-
|
|
62
|
-
| --- | --- | --- |
|
|
63
|
-
| **写提示** | 历史搜索;优化与灰字预测;划词后点 **引用文本** | <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> |
|
|
64
|
-
| **回退** | 气泡 / 时间线恢复 → 预览 → 撤销;会话统计可选捷径 | <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> <a href="https://github.com/rebornace/dsh-agent-enhancer/blob/main/docs/images/checkpoint-session-stats-entry.png"><img src="https://raw.githubusercontent.com/rebornace/dsh-agent-enhancer/main/docs/images/thumbs/checkpoint-session-stats-entry.png" alt="会话统计捷径" width="56" height="56" /></a> |
|
|
65
|
-
| **工作区** | 预览 **编辑**;指南胶囊 **附加目录**;会话 ⋯ **删除会话** | <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> |
|
|
66
|
-
| **用量与成本** | 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> |
|
|
67
|
-
| **上下文** | 占用摘要与右侧栏明细 / 压缩 | <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> |
|
|
68
|
-
| **模型路由** | 模型列表 Auto;档位映射与可选分类器 | <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> |
|
|
69
|
-
| **设置** | 功能 / 模型与路由 / 关于(九项开关) | <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> |
|
|
32
|
+
功能页开关:`history` · `optimize` · `predict` · `quote` · `rollback` · `softPause` · `contextInspect` · `usage` · `sessionDelete` · `fileEdit` · `instructionsSkills` · `mcpConnectors`(均默认开;附加目录随 `fileEdit`)。
|
|
70
33
|
|
|
71
34
|
---
|
|
72
35
|
|
|
73
36
|
## 安装
|
|
74
37
|
|
|
75
|
-
|
|
76
|
-
本插件面向 **Desktop / `desktop` profile**(不要用 `web` 验收)。收录于 [awesome-dsh-plugin](https://github.com/awesome-dsh-plugin/awesome-dsh-plugin),也可在第三方市场中搜索 `dsh-agent-enhancer` / **智能体增强**。
|
|
77
|
-
|
|
78
|
-
### 官方桌面端 · 应用内安装(推荐)
|
|
79
|
-
|
|
80
|
-
适用于 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) **官方桌面端**(以及同样提供「设置 → 插件」的官方发行形态):
|
|
81
|
-
|
|
82
|
-
1. 打开应用内 **设置 → 插件**(或侧边栏 **插件**)。
|
|
83
|
-
2. 在已安装 / 搜索框中查找 `dsh-agent-enhancer` 或 **智能体增强**,按提示安装。
|
|
84
|
-
3. 完全退出并重启 Desktop。
|
|
85
|
-
|
|
86
|
-
> 桌面端的 profile 由应用管理。不要用 `dsh plugin --profile web …` 往桌面端装插件——命令可能显示成功,但装进的是 `profiles/web`,桌面端看不到。
|
|
87
|
-
|
|
88
|
-
### dsh-market(可选)
|
|
38
|
+
面向 **Desktop / `desktop` profile**(不要用 `web` 验收)。装前请退出 Desktop(含托盘)。
|
|
89
39
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
- **官方桌面端:** 在应用内 **设置 → 插件** 搜索 `dshmarket` 并安装(不要用 CLI 的 `web` profile)。
|
|
93
|
-
- **普通 `dsh web`:** `dsh plugin --profile web add dshmarket`,然后重启。
|
|
94
|
-
|
|
95
|
-
装好后打开 **插件市场** 标签,搜索并安装本插件。部分第三方桌面客户端会预装或推荐此市场。
|
|
96
|
-
|
|
97
|
-
### 命令行 · npm
|
|
98
|
-
|
|
99
|
-
本机已配置 `dsh` CLI、且要写入 **desktop** profile 时:
|
|
100
|
-
|
|
101
|
-
```sh
|
|
102
|
-
dsh plugin --profile desktop add dsh-agent-enhancer@0.3.5
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
也可不钉版本:`dsh plugin --profile desktop add dsh-agent-enhancer`。
|
|
106
|
-
若曾安装旧包 `dsh-composer-enhancer`,请先卸载再装本包。
|
|
107
|
-
启动后应能看到输入框右侧优化入口,以及设置中的 **智能体增强**。
|
|
108
|
-
|
|
109
|
-
### 本地目录(开发)
|
|
110
|
-
|
|
111
|
-
**不要**对本地仓库执行 `dsh plugin --profile desktop add <绝对路径>`:部分 Desktop / CLI 会改写仓库 `package.json` 或弄坏 profile。本仓库提供一键切换(只改 `~/.dsh/profiles/desktop/package.json`,**不会**进插件 Git):
|
|
112
|
-
|
|
113
|
-
```powershell
|
|
114
|
-
corepack pnpm install --frozen-lockfile
|
|
115
|
-
|
|
116
|
-
# 本机开发:build → pack → 解压到 profile/.dsh-enhancer-pack/pkg 再安装
|
|
117
|
-
corepack pnpm desktop:link
|
|
118
|
-
|
|
119
|
-
# 切回线上 npm(默认用本仓库 package.json 的 version;也可 pnpm desktop:npm -- 0.3.5)
|
|
120
|
-
corepack pnpm desktop:npm
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
然后完全退出并重启 Desktop。本地改代码后需再执行 `corepack pnpm desktop:link`(当前为 pack 快照安装,不支持对着仓库热更新)。
|
|
124
|
-
不要对仓库目录用 `link:` / `file:`:Windows 上会变成 Junction,把仓库 `node_modules` 暴露给宿主,插件会一直「已关闭」。
|
|
125
|
-
与宿主共享的 DSH 包请同时放在 `peerDependencies` 与 `devDependencies`,不要放进 `dependencies`。
|
|
126
|
-
|
|
127
|
-
---
|
|
128
|
-
|
|
129
|
-
## 隐私与共存
|
|
130
|
-
|
|
131
|
-
| 项目 | 说明 |
|
|
40
|
+
| 方式 | 步骤 |
|
|
132
41
|
| --- | --- |
|
|
133
|
-
|
|
|
134
|
-
|
|
|
135
|
-
|
|
|
136
|
-
| 预测 | 发送最近一轮已完成对话 |
|
|
137
|
-
| 文件编辑 / 附加目录 | 读写本机文本与所选目录;附加目录不扩大 Agent 沙箱 |
|
|
138
|
-
| 删除会话 | 清除该会话对话与插件本地数据(不可恢复) |
|
|
139
|
-
| Auto 分类器 | 仅开关打开时调用;失败回退本地启发式,不阻塞主请求 |
|
|
140
|
-
| 账单 / 上下文 | 本地汇总与启发式估算;余额查询使用 Desktop 已存凭据,插件不携带密钥 |
|
|
141
|
-
| 缓存 | 仅当前会话内存(账单落盘在本机 usage 目录) |
|
|
142
|
-
| 审计 | 本地 `plugin:agent-enhancer/request`(无遥测上传) |
|
|
143
|
-
| 共存 | 只提示,不自动关闭第三方 |
|
|
144
|
-
|
|
145
|
-
---
|
|
42
|
+
| **应用内(推荐)** | **设置 → 插件** 搜索 `dsh-agent-enhancer` / **智能体增强** → 安装 → 重启 |
|
|
43
|
+
| **CLI** | `dsh plugin --profile desktop add dsh-agent-enhancer@0.3.7` |
|
|
44
|
+
| **开发** | `corepack pnpm install --frozen-lockfile` → `corepack pnpm desktop:link` → 重启;切回线上:`corepack pnpm desktop:npm` |
|
|
146
45
|
|
|
147
|
-
|
|
46
|
+
可选市场:[dsh-market](https://github.com/dsh-market/dsh-market)(应用内搜 `dshmarket`,勿用 `web` profile)。曾装 `dsh-composer-enhancer` 请先卸再装本包。
|
|
148
47
|
|
|
149
|
-
|
|
48
|
+
> 不要 `dsh plugin --profile web …` 往桌面端装;不要对仓库路径 `add` / `link:` / `file:`(Windows Junction 会暴露仓库 `node_modules`,插件会一直关闭)。本地开发用 `desktop:link`(pack 快照,改代码需再 link)。
|
|
150
49
|
|
|
151
|
-
|
|
50
|
+
**卸载:** 应用内卸载,或 `dsh plugin --profile desktop remove dsh-agent-enhancer`。开发安装勿直接 `remove`(可能删源仓库)——先改 profile `package.json` 去掉依赖,再删 `node_modules` 里的链接本身。
|
|
152
51
|
|
|
153
|
-
|
|
52
|
+
**兼容:** DSH `>=0.2.2-rc.1 <0.3.0-0`。
|
|
154
53
|
|
|
155
|
-
|
|
156
|
-
| --- | --- |
|
|
157
|
-
| 官方桌面端 / dsh-market | 在应用内 **插件** 页对本插件选择卸载或禁用;或 `dsh plugin --profile desktop remove dsh-agent-enhancer` |
|
|
158
|
-
| 命令行 npm | `dsh plugin --profile desktop remove dsh-agent-enhancer` |
|
|
159
|
-
| 本地 `file:` / 开发安装 | **不要** `remove` / 在 profile 里 `pnpm remove`(若仍是目录链接可能删源仓库)。按下面做 |
|
|
54
|
+
---
|
|
160
55
|
|
|
161
|
-
|
|
162
|
-
2. 编辑 **profile** 的 `package.json`:从 `dependencies` 与 `dsh.profile.bundles` 去掉本插件
|
|
163
|
-
3. 更新依赖并删除链接本身(不删链接目标):
|
|
56
|
+
## 隐私
|
|
164
57
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
dsh plugin --profile desktop install
|
|
169
|
-
$PluginLink = Join-Path $ProfileDir 'node_modules\dsh-agent-enhancer'
|
|
170
|
-
$Item = Get-Item -LiteralPath $PluginLink -Force -ErrorAction SilentlyContinue
|
|
171
|
-
if ($Item -and $Item.LinkType -in @('SymbolicLink', 'Junction')) { $Item.Delete() }
|
|
172
|
-
```
|
|
58
|
+
- 历史 / 划词引用:不请求模型。优化 / 预测:仅发送必要草稿或最近一轮对话。
|
|
59
|
+
- 账单与上下文本地汇总;余额用 Desktop 已存凭据,插件不携带密钥。无遥测上传。
|
|
60
|
+
- 与第三方重叠能力只提示,不自动关闭。
|
|
173
61
|
|
|
174
62
|
---
|
|
175
63
|
|
|
@@ -177,24 +65,13 @@ if ($Item -and $Item.LinkType -in @('SymbolicLink', 'Junction')) { $Item.Delete(
|
|
|
177
65
|
|
|
178
66
|
```powershell
|
|
179
67
|
corepack pnpm install --frozen-lockfile
|
|
180
|
-
corepack pnpm typecheck
|
|
181
|
-
corepack pnpm test
|
|
182
|
-
corepack pnpm build # Desktop 加载 lib/
|
|
183
68
|
corepack pnpm check # typecheck + test + build + 打包校验
|
|
184
69
|
```
|
|
185
70
|
|
|
186
|
-
|
|
187
|
-
| --- | --- |
|
|
188
|
-
| `src/host/` | 模型调用、RPC、检查点回滚、账单、Auto 路由、余额、文件读写、附加目录、会话删除 |
|
|
189
|
-
| `src/client/` | 会话输入区、划词引用、文件编辑 / 附加目录、右侧栏账单 / 上下文、设置 |
|
|
190
|
-
| `tests/` | Vitest |
|
|
191
|
-
| `lib/` | 构建产物 |
|
|
192
|
-
| `docs/images/` | README 原图;`thumbs/` 为方裁预览(`scripts/make-readme-thumbs.py`) |
|
|
71
|
+
`src/host/` 服务端 · `src/client/` UI · `tests/` · `lib/` 构建产物 · `docs/images/` 截图(`thumbs/` 由 `scripts/make-readme-thumbs.py` 生成)。
|
|
193
72
|
|
|
194
73
|
---
|
|
195
74
|
|
|
196
75
|
## 许可
|
|
197
76
|
|
|
198
|
-
[MIT](./LICENSE)
|
|
199
|
-
|
|
200
|
-
更新日志见 [CHANGELOG.md](./CHANGELOG.md)。
|
|
77
|
+
[MIT](./LICENSE) · [CHANGELOG](./CHANGELOG.md)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hints.d.ts","sourceRoot":"","sources":["../../../src/client/dsh/hints.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;
|
|
1
|
+
{"version":3,"file":"hints.d.ts","sourceRoot":"","sources":["../../../src/client/dsh/hints.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAGnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAUzD,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC7C,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAA;IAChC,QAAQ,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAA;CAC1C,2CAuBA"}
|
|
@@ -2,6 +2,7 @@ export declare const KNOWN_OVERLAPS: {
|
|
|
2
2
|
readonly history: readonly ["dsh-composer-history", "dsh-prompt-history", "dsh-input-assistant"];
|
|
3
3
|
readonly optimize: readonly ["dsh-input-assistant"];
|
|
4
4
|
readonly predict: readonly ["dsh-reply-suggestions", "dsh-prompt-history", "dsh-input-assistant"];
|
|
5
|
+
readonly softPause: readonly ["dsh-breather"];
|
|
5
6
|
};
|
|
6
7
|
export type OverlapModule = keyof typeof KNOWN_OVERLAPS;
|
|
7
8
|
export declare function overlapHints(entries: readonly {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-hints.d.ts","sourceRoot":"","sources":["../../../src/client/dsh/plugin-hints.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"plugin-hints.d.ts","sourceRoot":"","sources":["../../../src/client/dsh/plugin-hints.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;CAKjB,CAAA;AAEV,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,cAAc,CAAA;AAGvD,wBAAgB,YAAY,CAAC,OAAO,EAAE,SAAS;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,EAAE,GAAG,aAAa,EAAE,CAG1G;AAED,KAAK,WAAW,GAAG,IAAI,CAAC,OAAO,EAAE,SAAS,GAAG,SAAS,CAAC,CAAA;AAUvD,qBAAa,gBAAgB;IAMzB,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,OAAO;IAN1B,OAAO,CAAC,KAAK,CAA+B;IAC5C,OAAO,CAAC,MAAM,CAAO;IACrB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAwB;gBAG/B,OAAO,GAAE,WAAW,GAAG,SAA4B,EACnD,OAAO,SAAU;IAGpC,WAAW,IAAI,SAAS,aAAa,EAAE;IAIvC,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAM3C,MAAM,CAAC,OAAO,EAAE,SAAS;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,EAAE,GAAG,IAAI;IAU1E,OAAO,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;IAQpC,OAAO,IAAI,IAAI;IAKf,OAAO,CAAC,GAAG;IAIX,OAAO,CAAC,SAAS;IAQjB,OAAO,CAAC,QAAQ;IAMhB,OAAO,CAAC,IAAI;CAGb"}
|
|
@@ -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' | 'contextInspect' | 'usage' | 'sessionDelete' | 'fileEdit';
|
|
7
|
-
export type FeatureDescriptionKey = 'historyDescription' | 'optimizeDescription' | 'predictDescription' | 'quoteDescription' | 'rollbackDescription' | 'contextInspectDescription' | 'usageDescription' | 'sessionDeleteDescription' | 'fileEditDescription';
|
|
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';
|
|
8
8
|
export interface SettingsFeatureEntry {
|
|
9
9
|
readonly module: ModuleName;
|
|
10
10
|
readonly labelKey: FeatureLabelKey;
|