dsh-context 0.32.0 → 0.33.1
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 +7 -3
- package/lib/client.js +785 -178
- package/lib/index.d.ts +0 -8
- package/lib/index.js +14 -17
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ Type `/context` (or pick it from the `/` menu) and press Enter: a centered dialo
|
|
|
46
46
|
|
|
47
47
|
### ⚙️ Settings — per-user preferences
|
|
48
48
|
|
|
49
|
-
In **Settings → Plugins → Plugin configuration**, the **Context / 上下文** card holds this plugin's per-user preferences — the **default trend granularity** (Step/Turn)
|
|
49
|
+
In **Settings → Plugins → Plugin configuration**, the **Context / 上下文** card holds this plugin's per-user preferences — the **default trend granularity** (Step/Turn), the **default trend mode** (Total/Delta), and the **File Activity default sort** (Most active / Latest / By path) the Context tab opens with. In-chart and in-card toggling stays per-view and never overwrites the stored preference. The card appears only when the Host half is installed and the settings document is writable (a remote browser keeps settings process-local and shows no card).
|
|
50
50
|
|
|
51
51
|
## What you'll see
|
|
52
52
|
|
|
@@ -88,9 +88,13 @@ Every compaction, tool-output prune, skill or plugin context injection, model sw
|
|
|
88
88
|
|
|
89
89
|

|
|
90
90
|
|
|
91
|
-
###
|
|
91
|
+
### 📁 File Activity — what the agent *did* to your files
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
Not what the context is made of, but what it was good for: one row per touched file — read, written, or searched — aggregated up to the step you pick on the trend chart (the card scrubs live as you hover the bars; the default is the whole session to date):
|
|
94
|
+
|
|
95
|
+
- **Per-purpose counts** — how many times each file was read, written, and searched, with the header chips doubling as purpose filters (**Read / Written / Searched**), an **Images** chip for the multimodal view (`read_image` calls and image extensions), and a path search box.
|
|
96
|
+
- **Line deltas** — every `edit`/`write` contributes its estimated footprint (`+added / −removed`, read off the call arguments), per file and summed in the header.
|
|
97
|
+
- **Click to inspect** — a row expands into the file's own operation log (tool, time, per-op delta, failures flagged); each operation jumps straight to the exact tool result in the Context browser. Operations whose paths aged out of the retained window are honestly counted in a footnote.
|
|
94
98
|
|
|
95
99
|
### 🧭 Context browser — open the box of any request
|
|
96
100
|
|