dsh-watcher 0.5.1 → 0.7.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.en.md +27 -17
- package/README.md +27 -17
- package/lib/client.js +472 -454
- package/lib/client.js.map +1 -1
- package/lib/dsh-watcher.js +1 -1
- package/lib/types/client/Insights.d.ts +18 -0
- package/lib/types/client/TimingPanel.d.ts +7 -0
- package/lib/types/client/Watcher.d.ts +9 -0
- package/lib/types/client/disclosure-depth.d.ts +22 -0
- package/lib/types/client/index.d.ts +9 -0
- package/lib/types/client/model-trace-definition.d.ts +11 -0
- package/lib/types/client/step-timeline.d.ts +15 -0
- package/lib/types/dsh-watcher.d.ts +6 -0
- package/lib/types/hub/aggregation.d.ts +40 -0
- package/lib/types/hub/follow.d.ts +29 -0
- package/lib/types/hub/history.d.ts +30 -0
- package/lib/types/hub/overview.d.ts +10 -0
- package/lib/types/hub/watcher.d.ts +4 -0
- package/lib/types/insights/projection.d.ts +263 -0
- package/lib/types/observation/fold.d.ts +207 -0
- package/lib/types/observation/model-trace.d.ts +96 -0
- package/lib/types/observation/performance.d.ts +67 -0
- package/package.json +27 -26
package/README.en.md
CHANGED
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
# Watcher
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Install
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
dsh plugin --profile web add dsh-watcher@0.5.1
|
|
9
|
-
```
|
|
7
|
+
### DSH Studio desktop app (recommended)
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
Open **Settings → Plugins → Add plugin** and enter this in “Package name or address”:
|
|
12
10
|
|
|
13
|
-
```
|
|
14
|
-
dsh
|
|
11
|
+
```text
|
|
12
|
+
github:aa2246740/dsh-watcher#v0.7.0
|
|
15
13
|
```
|
|
16
14
|
|
|
17
|
-
|
|
15
|
+
The desktop plugin manager owns the Desktop profile and bundled package manager. This release commits `lib/`; normal use needs no clone, build, or DSHX installation. Follow the app if it asks you to reload or reopen after installation.
|
|
16
|
+
|
|
17
|
+
### Web CLI
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
|
-
dsh plugin --profile web add github:aa2246740/dsh-watcher
|
|
20
|
+
dsh plugin --profile web add github:aa2246740/dsh-watcher#v0.7.0
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
This official CLI command writes only the `web` profile; it cannot modify the Desktop App profile. For an already-running Web Host, reopen that Host once and reload the page.
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
DeepSeek Harness **0.2.0-rc.2** (`@deepseek-ai/dsh@0.2.0-rc.2`, `dsh-v0.2.0-rc.2`). The `@deepseek-ai/dsh-*` peer range is `>=0.2.0-rc.1 <0.2.1`: it accepts **0.2.0-rc.2** and stable **0.2.0**, rejects alphas, and rejects **0.1.7-rc.2**. Node `^22.19.0` or `>=24`.
|
|
26
26
|
|
|
27
27
|
A read-only plugin for DeepSeek Harness Web. Open the eye in the session header. A Session becomes a foldable work path: how many steps ran, how many tools fired, how long it took. Open a step for parallel branches, a tool result, or a reasoning row that stays folded until you ask.
|
|
28
28
|
|
|
@@ -40,29 +40,39 @@ It does not inject messages, invent hidden chain-of-thought, or replace the offi
|
|
|
40
40
|
|
|
41
41
|
Grouped view only stacks what it can prove. Two different bash calls stay apart. The model stage shows only provider-visible reasoning already written into the Session. If nothing was recorded, it says so.
|
|
42
42
|
|
|
43
|
-
From a clone:
|
|
43
|
+
From a clone (development/local testing):
|
|
44
44
|
|
|
45
45
|
```sh
|
|
46
46
|
git clone https://github.com/aa2246740/dsh-watcher.git
|
|
47
47
|
dsh plugin --profile web add ./dsh-watcher
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
That path also needs pnpm, then
|
|
50
|
+
That path also needs pnpm, then reopen that Web Host and reload the page.
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
53
|
dsh plugin --profile web remove dsh-watcher
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
The public CLI manages `web` only; use the in-app “Add plugin” entry above for the Desktop App.
|
|
57
57
|
|
|
58
58
|
The settings summary and session HUD show **Estimated cost** (not “total value”) next to total tokens. Input / output / cache buckets are priced from `pricing/models.yaml`. A missing row is **Unknown**, never $0. A partial estimate keeps the known dollar in the main number and footnotes **Some models unpriced**. It is an estimate, not a bill. The default table covers mainstream DeepSeek, MiniMax, OpenAI, Anthropic, Gemini, Grok, GLM, and Qwen rows and is static (no live fetch). Override it in Watcher settings (`localStorage` key `dsh-watcher:pricing-override:v1`). PRs to the default table are welcome.
|
|
59
59
|
|
|
60
60
|
The interaction contract lives in [DESIGN.md](./DESIGN.md). MIT.
|
|
61
61
|
|
|
62
|
-
## What's new in 0.
|
|
62
|
+
## What's new in 0.7.0
|
|
63
|
+
|
|
64
|
+
- Targets official DeepSeek Harness **0.2.0-rc.2** (`dsh-v0.2.0-rc.2`, SHA `639ed015397290b3745d163aafe02ffee4aa3f84`). `@deepseek-ai/dsh-*` peers are `>=0.2.0-rc.1 <0.2.1`: the range accepts `0.2.0-rc.2` and stable `0.2.0`, rejects alphas, and rejects `0.1.7-rc.2`.
|
|
65
|
+
- Icons stay `IconChevronRightOutlineRegular`, `IconRefreshOutlineRegular`, `IconCheckOutlineRegular`, and `IconCopyOutlineRegular`. Those four names are still exported by primitives at `dsh-v0.2.0-rc.2`. The size-suffixed names are still absent.
|
|
66
|
+
|
|
67
|
+
## 0.6.1
|
|
68
|
+
|
|
69
|
+
- Checked on official DeepSeek Harness **0.1.7-rc.2**. `@deepseek-ai/dsh-*` peers stay `>=0.1.7-rc.1 <0.1.8`, so install accepts `0.1.7-rc.1` and `0.1.7-rc.2` and rejects `0.1.7-alpha.*`.
|
|
70
|
+
- Icons stay `IconChevronRightOutlineRegular`, `IconRefreshOutlineRegular`, `IconCheckOutlineRegular`, and `IconCopyOutlineRegular`. rc.2 still does not export the size-suffixed names.
|
|
71
|
+
|
|
72
|
+
## 0.6.0
|
|
63
73
|
|
|
64
|
-
- Targets official DeepSeek Harness **0.1.
|
|
65
|
-
- Icons
|
|
74
|
+
- Targets official DeepSeek Harness **0.1.7-rc.1**. `@deepseek-ai/dsh-*` peers are `>=0.1.7-rc.1 <0.1.8`, so install accepts `0.1.7-rc.1` and rejects `0.1.7-alpha.*`.
|
|
75
|
+
- Icons are `IconChevronRightOutlineRegular`, `IconRefreshOutlineRegular`, `IconCheckOutlineRegular`, and `IconCopyOutlineRegular`. rc.1 removed the size-suffixed exports and ships no aliases.
|
|
66
76
|
|
|
67
77
|
## 0.5.0
|
|
68
78
|
|
package/README.md
CHANGED
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
# Watcher
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## 安装
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
dsh plugin --profile web add dsh-watcher@0.5.1
|
|
9
|
-
```
|
|
7
|
+
### DSH Studio 桌面 App(推荐)
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
打开 **设置 → 插件 → 添加插件**,在“包名或地址”中输入:
|
|
12
10
|
|
|
13
|
-
```
|
|
14
|
-
dsh
|
|
11
|
+
```text
|
|
12
|
+
github:aa2246740/dsh-watcher#v0.7.0
|
|
15
13
|
```
|
|
16
14
|
|
|
17
|
-
|
|
15
|
+
桌面端插件管理器负责 Desktop profile 和内置包管理器。本发布已提交 `lib/`;普通使用不需要 clone、构建或安装 DSHX。若应用提示刷新或重新打开,请按提示完成。
|
|
16
|
+
|
|
17
|
+
### Web CLI
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
|
-
dsh plugin --profile web add github:aa2246740/dsh-watcher
|
|
20
|
+
dsh plugin --profile web add github:aa2246740/dsh-watcher#v0.7.0
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
这条官方 CLI 命令只写入 `web` profile,不能修改 Desktop App 的 profile。对于已经运行的 Web Host,请重新打开该 Host 一次,再刷新网页。
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
需要 DeepSeek Harness **0.2.0-rc.2**(`@deepseek-ai/dsh@0.2.0-rc.2`,`dsh-v0.2.0-rc.2`)。`@deepseek-ai/dsh-*` 的 peer 范围是 `>=0.2.0-rc.1 <0.2.1`:接受 **0.2.0-rc.2** 和稳定版 **0.2.0**,拒绝 alpha,也拒绝 **0.1.7-rc.2**。Node `^22.19.0` 或 `>=24`。
|
|
26
26
|
|
|
27
27
|
DeepSeek Harness Web 的只读插件。点会话标题栏里的眼睛,把 Session 收成一张能折叠的工作路径:这轮走了几步、跑了几次、花了多久;再展开某一步看并行分支、工具结果,或一条默认折着的推理记录。
|
|
28
28
|
|
|
@@ -40,29 +40,39 @@ DeepSeek Harness Web 的只读插件。点会话标题栏里的眼睛,把 Sess
|
|
|
40
40
|
|
|
41
41
|
归类只叠能证明相同的调用。两条不同的 bash 不会被捏在一起。模型阶段只显示供应商已经写进 Session 的可见 reasoning;没有记录就写未记录。
|
|
42
42
|
|
|
43
|
-
已经 clone
|
|
43
|
+
已经 clone 过的目录也可以(开发/本地测试):
|
|
44
44
|
|
|
45
45
|
```sh
|
|
46
46
|
git clone https://github.com/aa2246740/dsh-watcher.git
|
|
47
47
|
dsh plugin --profile web add ./dsh-watcher
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
同样需要 pnpm
|
|
50
|
+
同样需要 pnpm,然后重新打开该 Web Host 并刷新页面。
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
53
|
dsh plugin --profile web remove dsh-watcher
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
官方 CLI 只管理 `web` profile;Desktop App 请使用上面的应用内“添加插件”入口。
|
|
57
57
|
|
|
58
58
|
设置页和会话 HUD 的 Token 总数旁有 **估算费用**(不是「总价值」)。按模型的输入 / 输出 / 缓存桶对照 `pricing/models.yaml` 计价;缺行显示 **未知**,不会当成 $0。部分已知时主数字只显示已标价金额,未标价写在脚注。这是估算,不是账单。默认表含 DeepSeek、MiniMax、OpenAI、Anthropic、Gemini、Grok、GLM、Qwen 主流行,不联网。设置里打开的是当前生效价格表;保存只把改动过的行写入 `localStorage` 键 `dsh-watcher:pricing-override:v1`。欢迎对默认表提 PR。
|
|
59
59
|
|
|
60
60
|
交互约定在 [DESIGN.md](./DESIGN.md)。MIT。
|
|
61
61
|
|
|
62
|
-
## 本次更新(0.
|
|
62
|
+
## 本次更新(0.7.0)
|
|
63
|
+
|
|
64
|
+
- 对齐官方 DeepSeek Harness **0.2.0-rc.2**(`dsh-v0.2.0-rc.2`,SHA `639ed015397290b3745d163aafe02ffee4aa3f84`)。`@deepseek-ai/dsh-*` 的 peer 是 `>=0.2.0-rc.1 <0.2.1`:接受 `0.2.0-rc.2` 和稳定版 `0.2.0`,拒绝 alpha,也拒绝 `0.1.7-rc.2`。
|
|
65
|
+
- 图标仍是 `IconChevronRightOutlineRegular`、`IconRefreshOutlineRegular`、`IconCheckOutlineRegular`、`IconCopyOutlineRegular`。这四个名字在 `dsh-v0.2.0-rc.2` 的 primitives 里还在。带尺寸后缀的旧导出仍然没有。
|
|
66
|
+
|
|
67
|
+
## 0.6.1
|
|
68
|
+
|
|
69
|
+
- 在官方 DeepSeek Harness **0.1.7-rc.2** 上核对通过。`@deepseek-ai/dsh-*` 的 peer 仍是 `>=0.1.7-rc.1 <0.1.8`,安装期接受 `0.1.7-rc.1` 和 `0.1.7-rc.2`,不接受 `0.1.7-alpha.*`。
|
|
70
|
+
- 图标仍是 `IconChevronRightOutlineRegular`、`IconRefreshOutlineRegular`、`IconCheckOutlineRegular`、`IconCopyOutlineRegular`。rc.2 同样没有带尺寸后缀的旧导出。
|
|
71
|
+
|
|
72
|
+
## 0.6.0
|
|
63
73
|
|
|
64
|
-
- 对齐官方 DeepSeek Harness **0.1.
|
|
65
|
-
-
|
|
74
|
+
- 对齐官方 DeepSeek Harness **0.1.7-rc.1**。`@deepseek-ai/dsh-*` 的 peer 改为 `>=0.1.7-rc.1 <0.1.8`,安装期接受 `0.1.7-rc.1`,不接受 `0.1.7-alpha.*`。
|
|
75
|
+
- 图标改为 `IconChevronRightOutlineRegular`、`IconRefreshOutlineRegular`、`IconCheckOutlineRegular`、`IconCopyOutlineRegular`。rc.1 删掉了带尺寸后缀的旧导出,没有别名。
|
|
66
76
|
|
|
67
77
|
## 0.5.0
|
|
68
78
|
|