dsh-context 0.74.0 → 0.75.0
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.md +3 -3
- package/lib/client.js +18 -11
- package/lib/index.d.ts +200 -165
- package/lib/index.js +7 -7
- package/package.json +10 -11
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ Five surfaces, one story — what your agent is carrying, how it got there, and
|
|
|
53
53
|
| **Context tab** | The full dashboard: stats, composition, per-request trend, events, and file activity — in every session. |
|
|
54
54
|
| **Fleet tab** | The agent network: the current agent, its parents, and every subagent, live. |
|
|
55
55
|
| **`/context` command** | A centered modal with the same composition and context browser, without leaving the chat. |
|
|
56
|
-
| **Preferences card** | Per-user defaults:
|
|
56
|
+
| **Preferences card** | Per-user defaults: the Context panel entry, trend granularity & mode, File Activity sort, and the system prompt prefix/suffix joined around every session. |
|
|
57
57
|
|
|
58
58
|
## 🗂️ The Context Insights page
|
|
59
59
|
|
|
@@ -190,7 +190,7 @@ A centered dialog opens with the **Current Composition** card and the **Context
|
|
|
190
190
|
|
|
191
191
|
## ⚙️ Settings
|
|
192
192
|
|
|
193
|
-
The **Context** preferences card holds this plugin's per-user settings —
|
|
193
|
+
The **Context** preferences card holds this plugin's per-user settings — the **Context panel entry** (the **Context** conversation tab, the right Sidebar panel, both, or Hide for neither — the reply-row jump goes with it), the **Fleet** tab's own Show/Hide switch (the panel entry never gates it), the **Context Insights** default range (Today / Last 7 days / Last 30 days / All, Last 30 days unless changed; picking a preset on the page writes it back), trend granularity (Step/Turn), trend mode (Total/Delta), the trend duration curve (shown by default), tool and File Activity sort, and the Context Insights Show/Hide switch. It lives on the **Plugins** page: the sidebar **Plugins** entry → the **dsh-context** bundle's page → its **Configuration** section (the card is served by the entry's live Config form).
|
|
194
194
|
|
|
195
195
|
The **System Prompt · Prefix / Suffix** rows hold free text joined at the very start / end of every session's system prompt, for all agents (subagents included) — a per-deployment persona or behavioral rule that rides the harness's own prompt assembly. Edits apply from the next turn; leave a row empty to disable it.
|
|
196
196
|
|
|
@@ -201,7 +201,7 @@ The Context Insights preset buttons write the pick back as the stored default; e
|
|
|
201
201
|
## Good to know
|
|
202
202
|
|
|
203
203
|
- **Estimates vs actuals** — category figures use dsh's own fixed-density heuristic (the same one as its built-in token meter); the pinned trend details show provider-reported actuals next to them, and the Token card pairs its ≈-estimated composition shares with the provider-exact billed total.
|
|
204
|
-
- **Compatibility** — works on `@deepseek-ai/dsh` **0.
|
|
204
|
+
- **Compatibility** — works on `@deepseek-ai/dsh` from **0.2.0-rc.2** (the `0.2.0` and `0.2.1` lines; verified on their rc.2 releases), the V4 session-log generation, from one shape-driven code path. The per-release matrix and how it is verified: [docs/compatibility.md](docs/compatibility.md).
|
|
205
205
|
- **I18n** — UI in English and 简体中文.
|
|
206
206
|
|
|
207
207
|
## Like it?
|