dsh-context 0.28.0 → 0.30.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 +5 -0
- package/cordis.patch.yml +3 -7
- package/lib/client.js +336 -201
- package/lib/index.d.ts +15 -54
- package/lib/index.js +32 -33
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/dsh-context)
|
|
6
6
|
[](https://github.com/bowenliang123/dsh-context)
|
|
7
|
+
[](https://dshfind.com/en/plugins/bowenliang123/dsh-context?ref=badge)
|
|
7
8
|
|
|
8
9
|
**The best [DeepSeek Harness plugin](https://www.deepseek.com/harness/) for Agent's context insights and management.**
|
|
9
10
|
|
|
@@ -43,6 +44,10 @@ Type `/context` (or pick it from the `/` menu) and press Enter: a centered dialo
|
|
|
43
44
|
|
|
44
45
|

|
|
45
46
|
|
|
47
|
+
### ⚙️ Settings — per-user preferences
|
|
48
|
+
|
|
49
|
+
In **Settings → Plugins → Plugin configuration**, the **Context / 上下文** card holds this plugin's per-user preferences — currently the **default trend granularity** (Step/Turn) the Context tab opens with. In-chart 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
|
+
|
|
46
51
|
## What you'll see
|
|
47
52
|
|
|
48
53
|
### 📊 Context stats — the session at a glance
|
package/cordis.patch.yml
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
# appends it to `dsh.profile.bundles`; this patch is then applied as that
|
|
5
|
-
# bundle's layer. The row below loads the package's main entry as the host
|
|
6
|
-
# half (a plain Cordis plugin) and, because the package declares `dsh.client`,
|
|
7
|
-
# the web app also loads its `./client` bundle as the browser half.
|
|
1
|
+
# Bundle patch layer: the row loads the package's main entry as the host half
|
|
2
|
+
# (a plain Cordis plugin); the `dsh.client` declaration makes the web app load
|
|
3
|
+
# its ./client bundle as the browser half.
|
|
8
4
|
- insert:
|
|
9
5
|
- id: dsh-context
|
|
10
6
|
name: dsh-context
|