dsh-watcher 0.4.1 → 0.4.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.en.md +3 -1
- package/README.md +3 -1
- package/lib/client.js +1448 -41
- package/lib/client.js.map +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 +27 -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 +367 -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 +3 -2
- package/pricing/models.yaml +707 -0
package/README.en.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Prefer npm (version-pinable):
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
dsh plugin --profile web add dsh-watcher@0.4.
|
|
8
|
+
dsh plugin --profile web add dsh-watcher@0.4.1
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
Or latest:
|
|
@@ -55,6 +55,8 @@ dsh plugin --profile web remove dsh-watcher
|
|
|
55
55
|
|
|
56
56
|
DSH.app's `desktop` profile rejects `github:`. Use `dsh web` and install into the `web` profile.
|
|
57
57
|
|
|
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
|
+
|
|
58
60
|
The interaction contract lives in [DESIGN.md](./DESIGN.md). MIT.
|
|
59
61
|
|
|
60
62
|
## Build from source
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
推荐用 npm(可钉版本):
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
dsh plugin --profile web add dsh-watcher@0.4.
|
|
8
|
+
dsh plugin --profile web add dsh-watcher@0.4.1
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
也可以装 latest:
|
|
@@ -55,6 +55,8 @@ dsh plugin --profile web remove dsh-watcher
|
|
|
55
55
|
|
|
56
56
|
DSH.app 的 `desktop` profile 不接受 `github:`。用 `dsh web` 装进 web profile。
|
|
57
57
|
|
|
58
|
+
设置页和会话 HUD 的 Token 总数旁有 **估算费用**(不是「总价值」)。按模型的输入 / 输出 / 缓存桶对照 `pricing/models.yaml` 计价;缺行显示 **未知**,不会当成 $0。部分已知时主数字只显示已标价金额,未标价写在脚注。这是估算,不是账单。默认表含 DeepSeek、MiniMax、OpenAI、Anthropic、Gemini、Grok、GLM、Qwen 主流行,不联网。设置里打开的是当前生效价格表;保存只把改动过的行写入 `localStorage` 键 `dsh-watcher:pricing-override:v1`。欢迎对默认表提 PR。
|
|
59
|
+
|
|
58
60
|
交互约定在 [DESIGN.md](./DESIGN.md)。MIT。
|
|
59
61
|
|
|
60
62
|
## 从源码构建
|