dsh-context 0.72.0 → 0.73.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 +4 -0
- package/lib/client.js +11 -11
- package/lib/index.js +4 -4
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
# dsh-context
|
|
4
4
|
|
|
5
|
+
[中文](README_zh.md)
|
|
6
|
+
|
|
5
7
|
[](https://www.npmjs.com/package/dsh-context)
|
|
6
8
|
[](https://github.com/bowenliang123/dsh-context)
|
|
7
9
|
[](https://dshfind.com/en/plugins/bowenliang123/dsh-context?ref=badge)
|
|
@@ -143,6 +145,8 @@ Pick **Live (next request)** or any retained step, and browse what that request
|
|
|
143
145
|
|
|
144
146
|
- **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.
|
|
145
147
|
|
|
148
|
+
- **DNA mode lays the whole context out flat** — the bar draws one band per item in the model's reading order, and below it the same items become one flat list with the newest message on top (the model reads oldest-first, so the list runs that order bottom-up): every row carries its prompt position (`#12`), category, introducing step, and token price, and expands into the same full content; the tool schemas and the system prompt close the list as two group rows. The card is capped at three times the height of the composition + trend cards beside it — a fully flattened session scrolls inside instead of flooding the page.
|
|
149
|
+
|
|
146
150
|
### ⚡ Context Events — when and why the window changed
|
|
147
151
|
|
|
148
152
|

|