dsh-budget 0.4.10 → 0.4.12
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/CHANGELOG.md +14 -0
- package/README-es.md +9 -2
- package/README-hi.md +9 -2
- package/README-pt.md +9 -2
- package/README-zh.md +9 -2
- package/README.md +9 -1
- package/package.json +19 -17
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,20 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.4.12] - 2026-09-25
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Host pins move to `0.1.7-rc.2`; re-verified against that host line. Every `@deepseek-ai/dsh-*` dev/test dependency now pins `0.1.7-rc.2`, the `dshWorkshop.compatibility.dshVersions` timeline appends `0.1.7-rc.2`, and the compatibility baseline in every README records the `dsh-v0.1.7-rc.2` host. The declared host ranges (`engines.dsh` and the `peerDependencies` union) are deliberately **unchanged** — they already admit `0.1.7-rc.2`, and a range is what the manifest accepts, not what has been tested.
|
|
15
|
+
|
|
16
|
+
## [0.4.11] - 2026-09-24
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Move the `@deepseek-ai/dsh-*` host pins to the published `0.1.7-rc.1` line and re-verify this plugin against that host line.
|
|
20
|
+
- `dshWorkshop.compatibility.dshVersions` records `0.1.7-rc.1`; the five-language README compatibility rows name `dsh-v0.1.7-rc.1`.
|
|
21
|
+
|
|
8
22
|
## [0.4.10] - 2026-09-23
|
|
9
23
|
|
|
10
24
|
### Fixed
|
package/README-es.md
CHANGED
|
@@ -25,11 +25,18 @@
|
|
|
25
25
|
|
|
26
26
|
---
|
|
27
27
|
|
|
28
|
+
|
|
29
|
+
<!-- star-cta -->
|
|
30
|
+
## ⭐ 如果它帮到了你
|
|
31
|
+
|
|
32
|
+
Este plugin forma parte de la [familia de plugins DSH](https://github.com/PerryLink) (más de 40, todos Apache-2.0). Si te resulta útil, **dale una estrella**: no desbloquea nada, pero ayuda a que la siguiente persona lo encuentre antes.
|
|
33
|
+
|
|
34
|
+
*English:* part of a 40+ plugin family for DeepSeek Harness. If it is useful, **a star helps the next person find it** — nothing is gated behind it.
|
|
28
35
|
## Compatibilidad
|
|
29
36
|
|
|
30
37
|
| Superficie | Estado |
|
|
31
38
|
|---|---|
|
|
32
|
-
| Harness | DeepSeek Harness `dsh-v0.1.7-
|
|
39
|
+
| Harness | DeepSeek Harness `dsh-v0.1.7-rc.2` (GitHub tag, adaptado el 2026-09-24; rango de peer `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0`): los precios del catálogo alpha.2 están integrados en la tabla y los modelos sin precio aparecen como "sin precio" en lugar de una estimación inventada; la puerta de auditoría sigue suprimiendo los appends `budget/alert`/`budget/block` (vocabulario de eventos de sesión fail-closed). Verificado el 2026-09-24 mediante la cadena typecheck de dos reglas y la puerta local completa; los ítems del panel del navegador quedan 人工·未测即未完成 (checklist manual del mantenedor). |
|
|
33
40
|
|
|
34
41
|
| Eventos de auditoría | Se escriben en harness anteriores a `0.1.2-rc.1`; se suprimen con una razón de degradación registrada en `0.1.2-rc.1` y posteriores (vocabulario de eventos de sesión fail-closed, sin superficie de registro externa) || Node | `^22.19.0 \|\| >=24.0.0` |
|
|
35
42
|
| Superficies | Host + cliente Web (pestaña Budget en Settings); comando `/budget` |
|
|
@@ -126,7 +133,7 @@ Todos los ajustes son campos `Config` de Schemastery (modificables desde cordis.
|
|
|
126
133
|
```sh
|
|
127
134
|
pnpm install # node ^22.19 || >=24
|
|
128
135
|
pnpm run typecheck # tsc: src + tests contra el checkout local del harness
|
|
129
|
-
pnpm run typecheck:ci # tsc contra los tipos publicados 0.1.7-
|
|
136
|
+
pnpm run typecheck:ci # tsc contra los tipos publicados 0.1.7-rc.2 (sin paths)
|
|
130
137
|
pnpm test # vitest
|
|
131
138
|
pnpm run build # declaraciones tsc + bundles tsdown (lib/)
|
|
132
139
|
pnpm run verify:self-contained # las especificaciones de dependencias resuelven desde el registry
|
package/README-hi.md
CHANGED
|
@@ -25,11 +25,18 @@
|
|
|
25
25
|
|
|
26
26
|
---
|
|
27
27
|
|
|
28
|
+
|
|
29
|
+
<!-- star-cta -->
|
|
30
|
+
## ⭐ 如果它帮到了你
|
|
31
|
+
|
|
32
|
+
यह प्लगइन [DSH प्लगइन परिवार](https://github.com/PerryLink) का हिस्सा है (40+ प्लगइन, सभी Apache-2.0)। अगर यह उपयोगी लगे, तो **एक स्टार दें** — इससे कोई सुविधा अनलॉक नहीं होती, पर अगला व्यक्ति इसे खोज में आसानी से पा लेता है।
|
|
33
|
+
|
|
34
|
+
*English:* part of a 40+ plugin family for DeepSeek Harness. If it is useful, **a star helps the next person find it** — nothing is gated behind it.
|
|
28
35
|
## संगतता
|
|
29
36
|
|
|
30
37
|
| सतह | स्थिति |
|
|
31
38
|
|---|---|
|
|
32
|
-
| Harness | DeepSeek Harness `dsh-v0.1.7-
|
|
39
|
+
| Harness | DeepSeek Harness `dsh-v0.1.7-rc.2` (GitHub tag, 2026-09-25 को अनुकूलित; peer रेंज `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0`): alpha.2 कैटलॉग कीमतें तालिका में अंतर्निहित हैं और अज्ञात मॉडल मनगढ़ंत अनुमान के बजाय "unpriced" के रूप में दिखते हैं; ऑडिट गेट `budget/alert`/`budget/block` appends को दबाना जारी रखता है (fail-closed सत्र इवेंट शब्दावली)। 2026-09-25 को दो-रूलर typecheck श्रृंखला और पूर्ण स्थानीय गेट द्वारा सत्यापित; ब्राउज़र पैनल आइटम 人工·未测即未完成 (अनुरक्षक मैनुअल चेकलिस्ट) रहते हैं। |
|
|
33
40
|
|
|
34
41
|
| ऑडिट इवेंट | `0.1.2-rc.1` से पहले के harness पर लिखे जाते हैं; `0.1.2-rc.1` और बाद में दबाए जाते हैं और डिग्रेडेशन कारण लॉग होता है (fail-closed सत्र इवेंट शब्दावली, कोई बाहरी पंजीकरण सतह नहीं) || Node | `^22.19.0 \|\| >=24.0.0` |
|
|
35
42
|
| सतहें | Host + वेब क्लाइंट (Settings में Budget टैब); `/budget` कमांड |
|
|
@@ -126,7 +133,7 @@ dsh --profile web --dump-config | grep -A2 'id: budget'
|
|
|
126
133
|
```sh
|
|
127
134
|
pnpm install # node ^22.19 || >=24
|
|
128
135
|
pnpm run typecheck # tsc: src + tests स्थानीय हार्नेस चेकआउट के विरुद्ध
|
|
129
|
-
pnpm run typecheck:ci # tsc प्रकाशित 0.1.7-
|
|
136
|
+
pnpm run typecheck:ci # tsc प्रकाशित 0.1.7-rc.2 प्रकारों के विरुद्ध (बिना paths)
|
|
130
137
|
pnpm test # vitest
|
|
131
138
|
pnpm run build # tsc घोषणाएँ + tsdown बंडल (lib/)
|
|
132
139
|
pnpm run verify:self-contained # निर्भरता स्पेक registry से हल होती हैं
|
package/README-pt.md
CHANGED
|
@@ -25,11 +25,18 @@
|
|
|
25
25
|
|
|
26
26
|
---
|
|
27
27
|
|
|
28
|
+
|
|
29
|
+
<!-- star-cta -->
|
|
30
|
+
## ⭐ 如果它帮到了你
|
|
31
|
+
|
|
32
|
+
Este plugin faz parte da [família de plugins DSH](https://github.com/PerryLink) (mais de 40, todos Apache-2.0). Se for útil, **deixe uma estrela**: não desbloqueia nada, mas ajuda a próxima pessoa a encontrá-lo.
|
|
33
|
+
|
|
34
|
+
*English:* part of a 40+ plugin family for DeepSeek Harness. If it is useful, **a star helps the next person find it** — nothing is gated behind it.
|
|
28
35
|
## Compatibilidade
|
|
29
36
|
|
|
30
37
|
| Superfície | Status |
|
|
31
38
|
|---|---|
|
|
32
|
-
| Harness | DeepSeek Harness `dsh-v0.1.7-
|
|
39
|
+
| Harness | DeepSeek Harness `dsh-v0.1.7-rc.2` (GitHub tag, adaptado em 2026-09-24; faixa de peer `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0`): os preços do catálogo alpha.2 estão embutidos na tabela e modelos sem preço aparecem como "sem preço" em vez de uma estimativa inventada; a porta de auditoria continua suprimindo os appends `budget/alert`/`budget/block` (vocabulário de eventos de sessão fail-closed). Verificado em 2026-09-24 pela cadeia typecheck de duas réguas e pela porta local completa; os itens do painel no navegador ficam 人工·未测即未完成 (checklist manual do mantenedor). |
|
|
33
40
|
|
|
34
41
|
| Eventos de auditoria | Gravados em harness anteriores a `0.1.2-rc.1`; suprimidos com uma razão de degradação registrada em `0.1.2-rc.1` e posteriores (vocabulário de eventos de sessão fail-closed, sem superfície de registro externa) || Node | `^22.19.0 \|\| >=24.0.0` |
|
|
35
42
|
| Superfícies | Host + cliente Web (aba Budget em Settings); comando `/budget` |
|
|
@@ -126,7 +133,7 @@ Todos os ajustes são campos `Config` do Schemastery (alteráveis pelo cordis.ym
|
|
|
126
133
|
```sh
|
|
127
134
|
pnpm install # node ^22.19 || >=24
|
|
128
135
|
pnpm run typecheck # tsc: src + tests contra o checkout local do harness
|
|
129
|
-
pnpm run typecheck:ci # tsc contra os tipos publicados 0.1.7-
|
|
136
|
+
pnpm run typecheck:ci # tsc contra os tipos publicados 0.1.7-rc.2 (sem paths)
|
|
130
137
|
pnpm test # vitest
|
|
131
138
|
pnpm run build # declarações tsc + bundles tsdown (lib/)
|
|
132
139
|
pnpm run verify:self-contained # especificações de dependências resolvem pelo registry
|
package/README-zh.md
CHANGED
|
@@ -27,11 +27,18 @@
|
|
|
27
27
|
|
|
28
28
|
---
|
|
29
29
|
|
|
30
|
+
|
|
31
|
+
<!-- star-cta -->
|
|
32
|
+
## ⭐ 如果它帮到了你
|
|
33
|
+
|
|
34
|
+
这个插件是 [DSH 插件家族](https://github.com/PerryLink)的一员(40+ 个,全部 Apache-2.0)。如果你在用,**给个 star** —— 它不会解锁任何功能,但会让下一个人在搜索里更容易找到它。
|
|
35
|
+
|
|
36
|
+
*English:* part of a 40+ plugin family for DeepSeek Harness. If it is useful, **a star helps the next person find it** — nothing is gated behind it.
|
|
30
37
|
## 兼容性
|
|
31
38
|
|
|
32
39
|
| 方面 | 状态 |
|
|
33
40
|
|---|---|
|
|
34
|
-
| Harness | DeepSeek Harness `dsh-v0.1.7-
|
|
41
|
+
| Harness | DeepSeek Harness `dsh-v0.1.7-rc.2`(GitHub tag,2026-09-24 已适配;peer 范围 `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0`):alpha.2 目录价已内置进价目表,未定价模型以「未定价」呈现而非虚构估算;审计门继续抑制 `budget/alert`/`budget/block` 落盘(fail-closed 会话事件词表)。已于 2026-09-24 通过双尺子 typecheck 链与完整本地门禁核验;浏览器面板项为 人工·未测即未完成(维护者人工清单)。 |
|
|
35
42
|
|
|
36
43
|
| 审计事件 | `0.1.2-rc.1` 之前的宿主上写入;在 `0.1.2-rc.1` 及以后抑制并记录降级原因(fail-closed 会话事件词表,无外部注册面) || Node | `^22.19.0 \|\| >=24.0.0` |
|
|
37
44
|
| 界面 | Host + Web 客户端(设置页预算页签);`/budget` 命令 |
|
|
@@ -128,7 +135,7 @@ dsh --profile web --dump-config | grep -A2 'id: budget'
|
|
|
128
135
|
```sh
|
|
129
136
|
pnpm install # node ^22.19 || >=24
|
|
130
137
|
pnpm run typecheck # tsc:src + tests,对照本地 harness checkout
|
|
131
|
-
pnpm run typecheck:ci # tsc:对照已发布的 0.1.7-
|
|
138
|
+
pnpm run typecheck:ci # tsc:对照已发布的 0.1.7-rc.2 类型(无 paths)
|
|
132
139
|
pnpm test # vitest
|
|
133
140
|
pnpm run build # tsc 声明 + tsdown bundles(lib/)
|
|
134
141
|
pnpm run verify:self-contained # 依赖声明全部来自 registry
|
package/README.md
CHANGED
|
@@ -28,11 +28,19 @@
|
|
|
28
28
|
|
|
29
29
|
---
|
|
30
30
|
|
|
31
|
+
<!-- star-cta -->
|
|
32
|
+
## ⭐ 如果它帮到了你
|
|
33
|
+
|
|
34
|
+
这个插件是 [DSH 插件家族](https://github.com/PerryLink)的一员(40+ 个,全部 Apache-2.0)。如果你在用,**给个 star** —— 它不会解锁任何功能,但会让下一个人在搜索里更容易找到它。
|
|
35
|
+
|
|
36
|
+
*English:* part of a 40+ plugin family for DeepSeek Harness. If it is useful, **a star helps the next person find it** — nothing is gated behind it.
|
|
37
|
+
|
|
38
|
+
|
|
31
39
|
## Compatibility
|
|
32
40
|
|
|
33
41
|
| Surface | Status |
|
|
34
42
|
|---|---|
|
|
35
|
-
| Harness | DeepSeek Harness `dsh-v0.1.7-
|
|
43
|
+
| Harness | DeepSeek Harness `dsh-v0.1.7-rc.2` (GitHub tag, adapted 2026-09-24; peer range `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0`): the alpha.2 catalog prices are built into the price table and unknown models surface as unpriced instead of a fabricated estimate; the audit gate keeps suppressing `budget/alert`/`budget/block` appends (fail-closed session event vocabulary). Verified 2026-09-24 by the two-ruler typecheck chain and the full local gate; the browser-panel items stay 人工·未测即未完成 (maintainer manual checklist). |
|
|
36
44
|
|
|
37
45
|
| Audit events | Written on harnesses before `0.1.2-rc.1`; suppressed with a logged degradation reason on `0.1.2-rc.1` and later (fail-closed session event vocabulary, no external registration surface) || Node | `^22.19.0 \|\| >=24.0.0` |
|
|
38
46
|
| Surfaces | Host + Web client (Settings budget tab); `/budget` command |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-budget",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.12",
|
|
4
4
|
"description": "Cost governance for DeepSeek Harness: aggregated token/cost metering per model, session and day, session/daily/monthly budget caps with threshold alerts (desktop notification + webhook) and alert/block/degrade over-limit policies, built-in carbon footprint estimation and per-model latency benchmarks, a Settings budget tab, and the /budget command",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -83,7 +83,9 @@
|
|
|
83
83
|
"dshVersions": [
|
|
84
84
|
"0.1.2-rc.1",
|
|
85
85
|
"0.1.5-rc.2",
|
|
86
|
-
"0.1.7-alpha.2"
|
|
86
|
+
"0.1.7-alpha.2",
|
|
87
|
+
"0.1.7-rc.1",
|
|
88
|
+
"0.1.7-rc.2"
|
|
87
89
|
]
|
|
88
90
|
},
|
|
89
91
|
"capability": {
|
|
@@ -151,21 +153,21 @@
|
|
|
151
153
|
"@deepseek-ai/cordis": "^4.0.4",
|
|
152
154
|
"@deepseek-ai/cordis-plugin-include": "^1.0.7",
|
|
153
155
|
"@deepseek-ai/cordis-plugin-loader": "^1.0.3",
|
|
154
|
-
"@deepseek-ai/dsh-agent": "0.1.7-
|
|
155
|
-
"@deepseek-ai/dsh-api-remotes": "0.1.7-
|
|
156
|
-
"@deepseek-ai/dsh-attachment": "0.1.7-
|
|
157
|
-
"@deepseek-ai/dsh-client-connection": "0.1.7-
|
|
158
|
-
"@deepseek-ai/dsh-client-locale": "0.1.7-
|
|
159
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.1.7-
|
|
160
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.1.7-
|
|
161
|
-
"@deepseek-ai/dsh-commands": "0.1.7-
|
|
162
|
-
"@deepseek-ai/dsh-llm": "0.1.7-
|
|
163
|
-
"@deepseek-ai/dsh-session": "0.1.7-
|
|
164
|
-
"@deepseek-ai/dsh-settings": "0.1.7-
|
|
165
|
-
"@deepseek-ai/dsh-storage-domain": "0.1.7-
|
|
166
|
-
"@deepseek-ai/dsh-token-meter": "0.1.7-
|
|
167
|
-
"@deepseek-ai/dsh-tools": "0.1.7-
|
|
168
|
-
"@deepseek-ai/dsh-typert-protocol": "0.1.7-
|
|
156
|
+
"@deepseek-ai/dsh-agent": "0.1.7-rc.2",
|
|
157
|
+
"@deepseek-ai/dsh-api-remotes": "0.1.7-rc.2",
|
|
158
|
+
"@deepseek-ai/dsh-attachment": "0.1.7-rc.2",
|
|
159
|
+
"@deepseek-ai/dsh-client-connection": "0.1.7-rc.2",
|
|
160
|
+
"@deepseek-ai/dsh-client-locale": "0.1.7-rc.2",
|
|
161
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.7-rc.2",
|
|
162
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.2",
|
|
163
|
+
"@deepseek-ai/dsh-commands": "0.1.7-rc.2",
|
|
164
|
+
"@deepseek-ai/dsh-llm": "0.1.7-rc.2",
|
|
165
|
+
"@deepseek-ai/dsh-session": "0.1.7-rc.2",
|
|
166
|
+
"@deepseek-ai/dsh-settings": "0.1.7-rc.2",
|
|
167
|
+
"@deepseek-ai/dsh-storage-domain": "0.1.7-rc.2",
|
|
168
|
+
"@deepseek-ai/dsh-token-meter": "0.1.7-rc.2",
|
|
169
|
+
"@deepseek-ai/dsh-tools": "0.1.7-rc.2",
|
|
170
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.2",
|
|
169
171
|
"@deepseek-ai/schemastery": "^3.18.2",
|
|
170
172
|
"@types/node": "^22.19.0",
|
|
171
173
|
"@types/react": "18.3.31",
|