dsh-context 0.55.0 → 0.56.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 +10 -1
- package/lib/client.js +435 -353
- package/lib/index.d.ts +43 -56
- package/lib/index.js +54 -124
- package/package.json +27 -13
package/README.md
CHANGED
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
|
|
17
17
|
## Install / Update
|
|
18
18
|
|
|
19
|
+
### Install on DeekSeek Harness web or desktop
|
|
20
|
+
|
|
21
|
+
Fill `dsh-context` in the **Add plugin** wizard's search box, and click **Install**:
|
|
22
|
+
|
|
23
|
+

|
|
24
|
+
|
|
25
|
+
### Install with `dsh` cli
|
|
26
|
+
|
|
19
27
|
Install [`dsh-context`](https://www.npmjs.com/package/dsh-context) plugin from [DeepSeek Harness](https://www.npmjs.com/package/@deepseek-ai/dsh):
|
|
20
28
|
|
|
21
29
|
```sh
|
|
@@ -51,6 +59,7 @@ Click **Context Dashboard / 上下文仪表盘** at the bottom-left of the sideb
|
|
|
51
59
|
| --- | --- |
|
|
52
60
|
| **KPI band** | How much am I using — sessions, billed tokens, estimated cost, and cache-hit rate over the picked range (7d / 30d / all). |
|
|
53
61
|
| **Activity heatmap** | When do I actually work — the last 8 weeks of daily billed tokens; click a day to filter the sessions that were active on it. |
|
|
62
|
+
| **Settings entry** | One row under the heatmap — the same guarded jump to this plugin's preferences as the Context tab's Plugin Info card. |
|
|
54
63
|
| **Context Composition** | Where the context windows went, summed over the range's sessions. |
|
|
55
64
|
| **Session cards** | Each session's profile: composition ring, billed tokens, turns, cost, and its workspace-group / project breadcrumb — sorted by recency, tokens, or context size, searchable, grouped by workspace. A card click opens the session. |
|
|
56
65
|
|
|
@@ -172,7 +181,7 @@ In-chart and in-card toggles stay per-view and never overwrite the stored prefer
|
|
|
172
181
|
## Good to know
|
|
173
182
|
|
|
174
183
|
- **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.
|
|
175
|
-
- **Compatibility** — works on `@deepseek-ai/dsh` **0.1.
|
|
184
|
+
- **Compatibility** — works on `@deepseek-ai/dsh` **0.1.5-rc.1+** (the `0.1.5` line from rc.1, the `0.1.7` line from rc.2), across the V3 (`0.1.5-alpha.x+`) and V4 (`0.1.6/0.1.7+`) session-log generations, from one shape-driven code path. The per-release matrix and how it is verified: [docs/compatibility.md](docs/compatibility.md).
|
|
176
185
|
- **I18n** — UI in English and 简体中文.
|
|
177
186
|
|
|
178
187
|
## Like it?
|