dsh-context 0.69.0 → 0.70.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 +11 -11
- package/lib/index.d.ts +6 -0
- package/lib/index.js +430 -68
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -103,7 +103,7 @@ The **Context Stats** card's Agent Network cell (the billed tokens and estimated
|
|
|
103
103
|
|
|
104
104
|

|
|
105
105
|
|
|
106
|
-
A six-color stacked bar against the model's full window (
|
|
106
|
+
A six-color stacked bar against the model's full window (the two hatched masks at the end = auto-compaction's reserve: its headroom, then the request's reserved output window): system prompt, tool schemas, user messages, injected context, assistant replies, tool results — each with its ≈token figure and share. When a conversation starts degrading, this is where you see *which part* is responsible.
|
|
107
107
|
|
|
108
108
|
### 📈 Context Trend — how the context grew and evolved by turn or steps
|
|
109
109
|
|
|
@@ -136,9 +136,9 @@ Pick **Live (next request)** or any retained step, and browse what that request
|
|
|
136
136
|
|
|
137
137
|

|
|
138
138
|
|
|
139
|
-
- **
|
|
139
|
+
- **Attachments render as ordered cards** — a message's `image` and `file` blocks sit together in the order the message carries them, one card each: images with a thumbnail plus their dimensions, stored size, and the official DeepSeek image-token estimate; other files with their type glyph, extension, and stored size. One click opens the attachment in dsh's own preview column (markdown, code, PDF, office, and image viewers), under the file's real name:
|
|
140
140
|
|
|
141
|
-

|
|
142
142
|
|
|
143
143
|
- **Diff against the previous turn** — signed delta badges per category (`+N` items, `±Nk` tokens) tell you what a turn added or reclaimed at one glance. Steps older than a compaction are reconstructed from the removed-message archive — and the card says so when a step's makeup is only approximate.
|
|
144
144
|
|