dsh-context 0.65.0 → 0.66.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 +6 -7
- package/lib/client.js +30 -14311
- package/lib/index.d.ts +102 -39
- package/lib/index.js +641 -1606
- package/package.json +16 -15
package/README.md
CHANGED
|
@@ -8,10 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
**The best [DeepSeek Harness plugin](https://www.deepseek.com/harness/) for Agent's context insights and management.**
|
|
10
10
|
|
|
11
|
+
> Recommended and starred by DeepSeek Harness staff [@tianyicui](https://github.com/tianyicui) and [@turtle1999](https://github.com/turtle1999) — see [this post on X](https://x.com/tianyi/status/2105256532657267119).
|
|
12
|
+
|
|
11
13
|
[`dsh-context`](https://www.npmjs.com/package/dsh-context) provides full context lifecycle management features.
|
|
12
14
|
- **Context Insights page** — the cross-session overview as a first-level sidebar panel (beside Plugins and Automation tasks): KPI band with a 7-day token/cost usage chart, activity heatmap, aggregate composition ring, and filterable session cards that jump straight into any session.
|
|
13
15
|
- **Context tab** — an UI context dashboard for DeepSeek Harness's context stats, composition, trend, events, and messages.
|
|
14
|
-
- **Context panel** — the same dashboard as a right-sidebar tab
|
|
16
|
+
- **Context panel** — the same dashboard as a right-sidebar tab: pick **Context** on the sidebar's guide page and the panel opens beside the chat.
|
|
15
17
|
- **`/context` command** — the slash command shows the context model for current context composition and recent context evolution.
|
|
16
18
|
|
|
17
19
|
## Install / Update
|
|
@@ -154,7 +156,7 @@ One row per touched file — read, written, or searched — aggregated up to whi
|
|
|
154
156
|
- **Every mode counts** — native tools, the Minimal preset's `str_replace_editor`, and the nested calls inside PTC `run_code` programs are all folded into per-tool rows.
|
|
155
157
|
- **Searches land on real files** — matched files get their own ops rows with hit counts.
|
|
156
158
|
- **Click a row** to expand its full operation log — every op jumps straight to the exact tool result in the Context browser.
|
|
157
|
-
- **Click a file name** to open its preview in the right Sidebar
|
|
159
|
+
- **Click a file name** to open its preview in the right Sidebar, exactly as the built-in Files sidebar does — the same viewer, the same tab-per-file behavior. On a harness without that column the name opens on your system as before.
|
|
158
160
|
|
|
159
161
|
### 🕸 Agent Network — the family portrait
|
|
160
162
|
|
|
@@ -174,10 +176,7 @@ A centered dialog opens with the **Current Composition** card and the **Context
|
|
|
174
176
|
|
|
175
177
|
## ⚙️ Settings
|
|
176
178
|
|
|
177
|
-
The **Context** preferences card holds this plugin's per-user settings — default placement, trend granularity (Step/Turn), trend mode (Total/Delta), the trend duration curve (shown by default), tool and File Activity sort, and the sidebar insights entry.
|
|
178
|
-
|
|
179
|
-
- **dsh 0.1.7+** — the sidebar **Plugins** entry → the **dsh-context** bundle's page → its **Configuration** section (the card is served by the entry's live Config form).
|
|
180
|
-
- **older releases** — **Settings → Plugins → Plugin configuration** → the **Context** card.
|
|
179
|
+
The **Context** preferences card holds this plugin's per-user settings — default placement, trend granularity (Step/Turn), trend mode (Total/Delta), the trend duration curve (shown by default), tool and File Activity sort, and the sidebar insights entry. 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).
|
|
181
180
|
|
|
182
181
|
In-chart and in-card toggles stay per-view and never overwrite the stored preference.
|
|
183
182
|
|
|
@@ -186,7 +185,7 @@ In-chart and in-card toggles stay per-view and never overwrite the stored prefer
|
|
|
186
185
|
## Good to know
|
|
187
186
|
|
|
188
187
|
- **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.
|
|
189
|
-
- **Compatibility** — works on `@deepseek-ai/dsh` **0.1.
|
|
188
|
+
- **Compatibility** — works on `@deepseek-ai/dsh` **0.1.7-rc.2+** (the `0.1.7` line from rc.2 and the `0.2.0` line from rc.2), 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).
|
|
190
189
|
- **I18n** — UI in English and 简体中文.
|
|
191
190
|
|
|
192
191
|
## Like it?
|