dsh-context 0.2.1 → 0.2.2
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 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,19 +6,19 @@ A **Context insight panel** for [DeepSeek Harness](https://github.com/deepseek-a
|
|
|
6
6
|
|
|
7
7
|
## Quick install
|
|
8
8
|
|
|
9
|
-
One command, from any [DeepSeek Harness](https://github.com/deepseek-ai/DeepSeek-Harness) installation (the `
|
|
9
|
+
One command, from any [DeepSeek Harness](https://github.com/deepseek-ai/DeepSeek-Harness) installation (the `web` profile is the one `dsh web` boots; it is created automatically on first use):
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
dsh plugin --profile
|
|
12
|
+
dsh plugin --profile web add dsh-context
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
then start the web UI and open any session — the **上下文 / Context** tab appears right beside **Chat** and **Trajectory**:
|
|
16
16
|
|
|
17
17
|
```sh
|
|
18
|
-
dsh
|
|
18
|
+
dsh web
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
> Running dsh from a source checkout instead of the installed CLI? Prefix the commands with `pnpm` (`pnpm dsh plugin --profile
|
|
21
|
+
> Running dsh from a source checkout instead of the installed CLI? Prefix the commands with `pnpm` (`pnpm dsh plugin --profile web add dsh-context`).
|
|
22
22
|
|
|
23
23
|
## Why
|
|
24
24
|
|
|
@@ -33,7 +33,7 @@ The UI is bilingual (中文/English) and follows the dsh locale automatically.
|
|
|
33
33
|
|
|
34
34
|
## Install
|
|
35
35
|
|
|
36
|
-
dsh-context ships as a **dsh bundle**: an npm package with a `dsh.bundle` manifest (a `cordis.patch.yml` layer that inserts the plugin row) and a `dsh.client` manifest (the web UI half). No build step, no restart — the one-liner above installs it into
|
|
36
|
+
dsh-context ships as a **dsh bundle**: an npm package with a `dsh.bundle` manifest (a `cordis.patch.yml` layer that inserts the plugin row) and a `dsh.client` manifest (the web UI half). No build step, no restart — the one-liner above installs it into the `web` profile (or any other profile you boot with `dsh --profile <name>`). The `dsh-context` loader row activates the host half, and the web app picks up the package's `./client` bundle and adds the **上下文 / Context** tab to every session view.
|
|
37
37
|
|
|
38
38
|
To install from this checkout instead (for development), from the repo root:
|
|
39
39
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-context",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Context insight panel for DeepSeek Harness: a Context tab (beside Chat/Trajectory) showing what the model's context window is made of and how it evolves — composition, per-request history, compactions, injections, and model switches.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|