dsh-budget 0.4.7 → 0.4.8
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 +12 -0
- package/README.es.md +3 -2
- package/README.hi.md +3 -2
- package/README.md +3 -2
- package/README.pt.md +3 -2
- package/README.zh.md +3 -2
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,18 @@ 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.8] - 2026-09-10
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Pin the `@deepseek-ai/dsh-*` dev/test dependencies to the published `0.1.5-rc.1` line and record `0.1.5-rc.1` in `dshWorkshop.compatibility.dshVersions`; the monthly Compat workflow now runs against `0.1.5-rc.1`. The peer range `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0` is unchanged, so no supported host line is dropped.
|
|
15
|
+
|
|
16
|
+
### Docs
|
|
17
|
+
|
|
18
|
+
- Refresh the five-language README compatibility baseline to `dsh-v0.1.5-rc.1` (verified 2026-09-10).
|
|
19
|
+
|
|
8
20
|
## [0.4.7] - 2026-09-09
|
|
9
21
|
|
|
10
22
|
### Changed
|
package/README.es.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
[](LICENSE)
|
|
11
11
|
[](https://github.com/topics/dsh-plugin)
|
|
12
|
+
[](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
|
|
12
13
|
[](#)
|
|
13
14
|
[](https://github.com/PerryLink/dsh-budget/actions)
|
|
14
15
|
[](https://github.com/PerryLink/dsh-budget/releases)
|
|
@@ -25,7 +26,7 @@
|
|
|
25
26
|
|
|
26
27
|
| Superficie | Estado |
|
|
27
28
|
|---|---|
|
|
28
|
-
| Harness | DeepSeek Harness `dsh-v0.1.5-
|
|
29
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.1` (GitHub tag, verificado el 2026-09-10; pin de npm `0.1.5-rc.1` adaptado el 2026-09-10; rango de peer `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0`): el sobre de sesión conserva su campo ignorable solo para compatibilidad de lectura de logs almacenados - Session.append aún no puede estamparlo, por lo que el comportamiento de la puerta no cambia. Verificado el 2026-09-10 contra el master checkout dsh-v0.1.5-rc.1 (cadena local completa de puertas; el smoke de instalación de perfil lo cubre el workflow Compat mensual). |
|
|
29
30
|
|
|
30
31
|
| 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` |
|
|
31
32
|
| Superficies | Host + cliente Web (pestaña Budget en Settings); comando `/budget` |
|
|
@@ -122,7 +123,7 @@ Todos los ajustes son campos `Config` de Schemastery (modificables desde cordis.
|
|
|
122
123
|
```sh
|
|
123
124
|
pnpm install # node ^22.19 || >=24
|
|
124
125
|
pnpm run typecheck # tsc: src + tests contra el checkout local del harness
|
|
125
|
-
pnpm run typecheck:ci # tsc contra los tipos publicados 0.1.
|
|
126
|
+
pnpm run typecheck:ci # tsc contra los tipos publicados 0.1.5-rc.1 (sin paths)
|
|
126
127
|
pnpm test # vitest
|
|
127
128
|
pnpm run build # declaraciones tsc + bundles tsdown (lib/)
|
|
128
129
|
pnpm run verify:self-contained # las especificaciones de dependencias resuelven desde el registry
|
package/README.hi.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
[](LICENSE)
|
|
11
11
|
[](https://github.com/topics/dsh-plugin)
|
|
12
|
+
[](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
|
|
12
13
|
[](#)
|
|
13
14
|
[](https://github.com/PerryLink/dsh-budget/actions)
|
|
14
15
|
[](https://github.com/PerryLink/dsh-budget/releases)
|
|
@@ -25,7 +26,7 @@
|
|
|
25
26
|
|
|
26
27
|
| सतह | स्थिति |
|
|
27
28
|
|---|---|
|
|
28
|
-
| Harness | DeepSeek Harness `dsh-v0.1.5-
|
|
29
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.1` (GitHub tag, 2026-09-10 को सत्यापित; npm pin `0.1.5-rc.1` 2026-09-10 को अनुकूलित; peer रेंज `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0`): सत्र लिफ़ाफ़ा अपना ignorable फ़ील्ड केवल संग्रहीत-लॉग पठन संगतता के लिए रखता है - Session.append अभी भी इसे स्टैम्प नहीं कर सकता, इसलिए गेट व्यवहार अपरिवर्तित है। 2026-09-10 को dsh-v0.1.5-rc.1 master checkout के विरुद्ध सत्यापित (पूर्ण स्थानीय गेट श्रृंखला; प्रोफ़ाइल इंस्टॉल स्मोक मासिक Compat workflow द्वारा कवर किया जाता है)। |
|
|
29
30
|
|
|
30
31
|
| ऑडिट इवेंट | `0.1.2-rc.1` से पहले के harness पर लिखे जाते हैं; `0.1.2-rc.1` और बाद में दबाए जाते हैं और डिग्रेडेशन कारण लॉग होता है (fail-closed सत्र इवेंट शब्दावली, कोई बाहरी पंजीकरण सतह नहीं) || Node | `^22.19.0 \|\| >=24.0.0` |
|
|
31
32
|
| सतहें | Host + वेब क्लाइंट (Settings में Budget टैब); `/budget` कमांड |
|
|
@@ -122,7 +123,7 @@ dsh --profile web --dump-config | grep -A2 'id: budget'
|
|
|
122
123
|
```sh
|
|
123
124
|
pnpm install # node ^22.19 || >=24
|
|
124
125
|
pnpm run typecheck # tsc: src + tests स्थानीय हार्नेस चेकआउट के विरुद्ध
|
|
125
|
-
pnpm run typecheck:ci # tsc प्रकाशित 0.1.
|
|
126
|
+
pnpm run typecheck:ci # tsc प्रकाशित 0.1.5-rc.1 प्रकारों के विरुद्ध (बिना paths)
|
|
126
127
|
pnpm test # vitest
|
|
127
128
|
pnpm run build # tsc घोषणाएँ + tsdown बंडल (lib/)
|
|
128
129
|
pnpm run verify:self-contained # निर्भरता स्पेक registry से हल होती हैं
|
package/README.md
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
[](LICENSE)
|
|
14
14
|
[](https://github.com/topics/dsh-plugin)
|
|
15
|
+
[](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
|
|
15
16
|
[](#)
|
|
16
17
|
[](https://github.com/PerryLink/dsh-budget/actions)
|
|
17
18
|
[](https://github.com/PerryLink/dsh-budget/releases)
|
|
@@ -28,7 +29,7 @@
|
|
|
28
29
|
|
|
29
30
|
| Surface | Status |
|
|
30
31
|
|---|---|
|
|
31
|
-
| Harness | DeepSeek Harness `dsh-v0.1.5-
|
|
32
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.1` (GitHub tag, verified 2026-09-10; npm pin `0.1.5-rc.1` adapted 2026-09-10; peer range `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0`): the session envelope keeps its ignorable field for stored-log read compatibility only - Session.append still cannot stamp it, so audit-gate behavior is unchanged. Verified 2026-09-10 against the dsh-v0.1.5-rc.1 master checkout (full local gate chain; the profile install smoke runs in the monthly Compat workflow). |
|
|
32
33
|
|
|
33
34
|
| 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` |
|
|
34
35
|
| Surfaces | Host + Web client (Settings budget tab); `/budget` command |
|
|
@@ -125,7 +126,7 @@ All tunables are Schemastery `Config` fields (changeable from cordis.yml). `cord
|
|
|
125
126
|
```sh
|
|
126
127
|
pnpm install # node ^22.19 || >=24
|
|
127
128
|
pnpm run typecheck # tsc: src + tests against the local harness checkout
|
|
128
|
-
pnpm run typecheck:ci # tsc against the published 0.1.
|
|
129
|
+
pnpm run typecheck:ci # tsc against the published 0.1.5-rc.1 types (no paths)
|
|
129
130
|
pnpm test # vitest
|
|
130
131
|
pnpm run build # tsc declarations + tsdown bundles (lib/)
|
|
131
132
|
pnpm run verify:self-contained # dependency specs resolve from the registry
|
package/README.pt.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
[](LICENSE)
|
|
11
11
|
[](https://github.com/topics/dsh-plugin)
|
|
12
|
+
[](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
|
|
12
13
|
[](#)
|
|
13
14
|
[](https://github.com/PerryLink/dsh-budget/actions)
|
|
14
15
|
[](https://github.com/PerryLink/dsh-budget/releases)
|
|
@@ -25,7 +26,7 @@
|
|
|
25
26
|
|
|
26
27
|
| Superfície | Status |
|
|
27
28
|
|---|---|
|
|
28
|
-
| Harness | DeepSeek Harness `dsh-v0.1.5-
|
|
29
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.1` (GitHub tag, verificado em 2026-09-10; pin npm `0.1.5-rc.1` adaptado em 2026-09-10; faixa de peer `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0`): o envelope de sessão mantém seu campo ignorable apenas para compatibilidade de leitura de logs armazenados - o Session.append ainda não consegue estampá-lo, então o comportamento da porta não muda. Verificado em 2026-09-10 contra o checkout master dsh-v0.1.5-rc.1 (cadeia local completa de portas; o smoke de instalação de perfil é coberto pelo workflow Compat mensal). |
|
|
29
30
|
|
|
30
31
|
| 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` |
|
|
31
32
|
| Superfícies | Host + cliente Web (aba Budget em Settings); comando `/budget` |
|
|
@@ -122,7 +123,7 @@ Todos os ajustes são campos `Config` do Schemastery (alteráveis pelo cordis.ym
|
|
|
122
123
|
```sh
|
|
123
124
|
pnpm install # node ^22.19 || >=24
|
|
124
125
|
pnpm run typecheck # tsc: src + tests contra o checkout local do harness
|
|
125
|
-
pnpm run typecheck:ci # tsc contra os tipos publicados 0.1.
|
|
126
|
+
pnpm run typecheck:ci # tsc contra os tipos publicados 0.1.5-rc.1 (sem paths)
|
|
126
127
|
pnpm test # vitest
|
|
127
128
|
pnpm run build # declarações tsc + bundles tsdown (lib/)
|
|
128
129
|
pnpm run verify:self-contained # especificações de dependências resolvem pelo registry
|
package/README.zh.md
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
[](LICENSE)
|
|
13
13
|
[](https://github.com/topics/dsh-plugin)
|
|
14
|
+
[](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
|
|
14
15
|
[](#)
|
|
15
16
|
[](https://github.com/PerryLink/dsh-budget/actions)
|
|
16
17
|
[](https://github.com/PerryLink/dsh-budget/releases)
|
|
@@ -27,7 +28,7 @@
|
|
|
27
28
|
|
|
28
29
|
| 方面 | 状态 |
|
|
29
30
|
|---|---|
|
|
30
|
-
| Harness | DeepSeek Harness `dsh-v0.1.5-
|
|
31
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.1`(GitHub tag,2026-09-10 核验;npm 钉号 `0.1.5-rc.1`,2026-09-10 已适配;peer 范围 `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0`):会话信封保留 ignorable 字段但仅用于存量日志读取兼容——Session.append 仍无法盖章,门控行为不变。已于 2026-09-10 对照 dsh-v0.1.5-rc.1 master 检出核验(完整本地门禁链;profile 安装冒烟由每月 Compat workflow 覆盖)。 |
|
|
31
32
|
|
|
32
33
|
| 审计事件 | `0.1.2-rc.1` 之前的宿主上写入;在 `0.1.2-rc.1` 及以后抑制并记录降级原因(fail-closed 会话事件词表,无外部注册面) || Node | `^22.19.0 \|\| >=24.0.0` |
|
|
33
34
|
| 界面 | Host + Web 客户端(设置页预算页签);`/budget` 命令 |
|
|
@@ -124,7 +125,7 @@ dsh --profile web --dump-config | grep -A2 'id: budget'
|
|
|
124
125
|
```sh
|
|
125
126
|
pnpm install # node ^22.19 || >=24
|
|
126
127
|
pnpm run typecheck # tsc:src + tests,对照本地 harness checkout
|
|
127
|
-
pnpm run typecheck:ci # tsc:对照已发布的 0.1.
|
|
128
|
+
pnpm run typecheck:ci # tsc:对照已发布的 0.1.5-rc.1 类型(无 paths)
|
|
128
129
|
pnpm test # vitest
|
|
129
130
|
pnpm run build # tsc 声明 + tsdown bundles(lib/)
|
|
130
131
|
pnpm run verify:self-contained # 依赖声明全部来自 registry
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-budget",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.8",
|
|
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",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"native-code:none"
|
|
80
80
|
],
|
|
81
81
|
"compatibility": {
|
|
82
|
-
"dshVersions": ["0.1.2-rc.1","0.1.5-
|
|
82
|
+
"dshVersions": ["0.1.2-rc.1","0.1.5-rc.1"]
|
|
83
83
|
},
|
|
84
84
|
"capability": {
|
|
85
85
|
"id": "budget-governance",
|
|
@@ -142,23 +142,23 @@
|
|
|
142
142
|
"zod": "^4.4.3"
|
|
143
143
|
},
|
|
144
144
|
"devDependencies": {
|
|
145
|
-
"@deepseek-ai/dsh-api-remotes": "0.1.5-
|
|
146
|
-
"@deepseek-ai/dsh-attachment": "0.1.5-
|
|
145
|
+
"@deepseek-ai/dsh-api-remotes": "0.1.5-rc.1",
|
|
146
|
+
"@deepseek-ai/dsh-attachment": "0.1.5-rc.1",
|
|
147
147
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
148
148
|
"@deepseek-ai/cordis-plugin-include": "^1.0.7",
|
|
149
149
|
"@deepseek-ai/cordis-plugin-loader": "^1.0.3",
|
|
150
|
-
"@deepseek-ai/dsh-agent": "0.1.5-
|
|
151
|
-
"@deepseek-ai/dsh-client-connection": "0.1.5-
|
|
152
|
-
"@deepseek-ai/dsh-client-locale": "0.1.5-
|
|
153
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-
|
|
154
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.1.5-
|
|
155
|
-
"@deepseek-ai/dsh-commands": "0.1.5-
|
|
156
|
-
"@deepseek-ai/dsh-llm": "0.1.5-
|
|
157
|
-
"@deepseek-ai/dsh-session": "0.1.5-
|
|
158
|
-
"@deepseek-ai/dsh-storage-domain": "0.1.5-
|
|
159
|
-
"@deepseek-ai/dsh-token-meter": "0.1.5-
|
|
160
|
-
"@deepseek-ai/dsh-tools": "0.1.5-
|
|
161
|
-
"@deepseek-ai/dsh-typert-protocol": "0.1.5-
|
|
150
|
+
"@deepseek-ai/dsh-agent": "0.1.5-rc.1",
|
|
151
|
+
"@deepseek-ai/dsh-client-connection": "0.1.5-rc.1",
|
|
152
|
+
"@deepseek-ai/dsh-client-locale": "0.1.5-rc.1",
|
|
153
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.1",
|
|
154
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.1",
|
|
155
|
+
"@deepseek-ai/dsh-commands": "0.1.5-rc.1",
|
|
156
|
+
"@deepseek-ai/dsh-llm": "0.1.5-rc.1",
|
|
157
|
+
"@deepseek-ai/dsh-session": "0.1.5-rc.1",
|
|
158
|
+
"@deepseek-ai/dsh-storage-domain": "0.1.5-rc.1",
|
|
159
|
+
"@deepseek-ai/dsh-token-meter": "0.1.5-rc.1",
|
|
160
|
+
"@deepseek-ai/dsh-tools": "0.1.5-rc.1",
|
|
161
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.5-rc.1",
|
|
162
162
|
"@deepseek-ai/schemastery": "^3.18.2",
|
|
163
163
|
"@types/node": "^22.19.0",
|
|
164
164
|
"@types/react": "18.3.31",
|