dsh-budget 0.4.2 → 0.4.3
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 +6 -0
- package/README.es.md +2 -2
- package/README.hi.md +2 -2
- package/README.md +2 -2
- package/README.pt.md +2 -2
- package/README.zh.md +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ 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
|
+
## [0.4.3] - 2026-09-02
|
|
9
|
+
|
|
10
|
+
### Docs
|
|
11
|
+
|
|
12
|
+
- Sync the five-language READMEs to the 0.1.2-alpha.5 facts; no behavior change.
|
|
13
|
+
|
|
8
14
|
## [0.4.2] - 2026-09-02
|
|
9
15
|
|
|
10
16
|
### Changed
|
package/README.es.md
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
| Superficie | Estado |
|
|
27
27
|
|---|---|
|
|
28
|
-
| Harness | DeepSeek Harness `0.1.
|
|
28
|
+
| Harness | DeepSeek Harness `0.1.2-alpha.5` (adaptado el 2026-09-02): 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. |
|
|
29
29
|
|
|
30
30
|
| Eventos de auditoría | Se escriben en harness anteriores a `0.1.2-alpha.5`; se suprimen con una razón de degradación registrada en `0.1.2-alpha.5` y posteriores (vocabulario de eventos de sesión fail-closed, sin superficie de registro externa) || Node | `^22.19.0 \|\| >=24.0.0` |
|
|
31
31
|
| Superficies | Host + cliente Web (pestaña Budget en Settings); comando `/budget` |
|
|
@@ -122,7 +122,7 @@ Todos los ajustes son campos `Config` de Schemastery (modificables desde cordis.
|
|
|
122
122
|
```sh
|
|
123
123
|
pnpm install # node ^22.19 || >=24
|
|
124
124
|
pnpm run typecheck # tsc: src + tests contra el checkout local del harness
|
|
125
|
-
pnpm run typecheck:ci # tsc contra los tipos publicados 0.1.
|
|
125
|
+
pnpm run typecheck:ci # tsc contra los tipos publicados 0.1.2-alpha.5 (sin paths)
|
|
126
126
|
pnpm test # vitest
|
|
127
127
|
pnpm run build # declaraciones tsc + bundles tsdown (lib/)
|
|
128
128
|
pnpm run verify:self-contained # las especificaciones de dependencias resuelven desde el registry
|
package/README.hi.md
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
| सतह | स्थिति |
|
|
27
27
|
|---|---|
|
|
28
|
-
| Harness | DeepSeek Harness `0.1.
|
|
28
|
+
| Harness | DeepSeek Harness `0.1.2-alpha.5` (2026-09-02 को अनुकूलित): सत्र लिफ़ाफ़ा अपना ignorable फ़ील्ड केवल संग्रहीत-लॉग पठन संगतता के लिए रखता है - Session.append अभी भी इसे स्टैम्प नहीं कर सकता, इसलिए गेट व्यवहार अपरिवर्तित है। |
|
|
29
29
|
|
|
30
30
|
| ऑडिट इवेंट | `0.1.2-alpha.5` से पहले के harness पर लिखे जाते हैं; `0.1.2-alpha.5` और बाद में दबाए जाते हैं और डिग्रेडेशन कारण लॉग होता है (fail-closed सत्र इवेंट शब्दावली, कोई बाहरी पंजीकरण सतह नहीं) || Node | `^22.19.0 \|\| >=24.0.0` |
|
|
31
31
|
| सतहें | Host + वेब क्लाइंट (Settings में Budget टैब); `/budget` कमांड |
|
|
@@ -122,7 +122,7 @@ dsh --profile web --dump-config | grep -A2 'id: budget'
|
|
|
122
122
|
```sh
|
|
123
123
|
pnpm install # node ^22.19 || >=24
|
|
124
124
|
pnpm run typecheck # tsc: src + tests स्थानीय हार्नेस चेकआउट के विरुद्ध
|
|
125
|
-
pnpm run typecheck:ci # tsc प्रकाशित 0.1.
|
|
125
|
+
pnpm run typecheck:ci # tsc प्रकाशित 0.1.2-alpha.5 प्रकारों के विरुद्ध (बिना paths)
|
|
126
126
|
pnpm test # vitest
|
|
127
127
|
pnpm run build # tsc घोषणाएँ + tsdown बंडल (lib/)
|
|
128
128
|
pnpm run verify:self-contained # निर्भरता स्पेक registry से हल होती हैं
|
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
|
|
29
29
|
| Surface | Status |
|
|
30
30
|
|---|---|
|
|
31
|
-
| Harness | DeepSeek Harness `0.1.
|
|
31
|
+
| Harness | DeepSeek Harness `0.1.2-alpha.5` (adapted 2026-09-02): 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. |
|
|
32
32
|
|
|
33
33
|
| Audit events | Written on harnesses before `0.1.2-alpha.5`; suppressed with a logged degradation reason on `0.1.2-alpha.5` and later (fail-closed session event vocabulary, no external registration surface) || Node | `^22.19.0 \|\| >=24.0.0` |
|
|
34
34
|
| Surfaces | Host + Web client (Settings budget tab); `/budget` command |
|
|
@@ -125,7 +125,7 @@ All tunables are Schemastery `Config` fields (changeable from cordis.yml). `cord
|
|
|
125
125
|
```sh
|
|
126
126
|
pnpm install # node ^22.19 || >=24
|
|
127
127
|
pnpm run typecheck # tsc: src + tests against the local harness checkout
|
|
128
|
-
pnpm run typecheck:ci # tsc against the published 0.1.
|
|
128
|
+
pnpm run typecheck:ci # tsc against the published 0.1.2-alpha.5 types (no paths)
|
|
129
129
|
pnpm test # vitest
|
|
130
130
|
pnpm run build # tsc declarations + tsdown bundles (lib/)
|
|
131
131
|
pnpm run verify:self-contained # dependency specs resolve from the registry
|
package/README.pt.md
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
| Superfície | Status |
|
|
27
27
|
|---|---|
|
|
28
|
-
| Harness | DeepSeek Harness `0.1.
|
|
28
|
+
| Harness | DeepSeek Harness `0.1.2-alpha.5` (adaptado em 2026-09-02): 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. |
|
|
29
29
|
|
|
30
30
|
| Eventos de auditoria | Gravados em harness anteriores a `0.1.2-alpha.5`; suprimidos com uma razão de degradação registrada em `0.1.2-alpha.5` 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
31
|
| Superfícies | Host + cliente Web (aba Budget em Settings); comando `/budget` |
|
|
@@ -122,7 +122,7 @@ Todos os ajustes são campos `Config` do Schemastery (alteráveis pelo cordis.ym
|
|
|
122
122
|
```sh
|
|
123
123
|
pnpm install # node ^22.19 || >=24
|
|
124
124
|
pnpm run typecheck # tsc: src + tests contra o checkout local do harness
|
|
125
|
-
pnpm run typecheck:ci # tsc contra os tipos publicados 0.1.
|
|
125
|
+
pnpm run typecheck:ci # tsc contra os tipos publicados 0.1.2-alpha.5 (sem paths)
|
|
126
126
|
pnpm test # vitest
|
|
127
127
|
pnpm run build # declarações tsc + bundles tsdown (lib/)
|
|
128
128
|
pnpm run verify:self-contained # especificações de dependências resolvem pelo registry
|
package/README.zh.md
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
| 方面 | 状态 |
|
|
29
29
|
|---|---|
|
|
30
|
-
| Harness | DeepSeek Harness `0.1.
|
|
30
|
+
| Harness | DeepSeek Harness `0.1.2-alpha.5`(2026-09-02 已适配):会话信封保留 ignorable 字段但仅用于存量日志读取兼容——Session.append 仍无法盖章,门控行为不变。 |
|
|
31
31
|
|
|
32
32
|
| 审计事件 | `0.1.2-alpha.5` 之前的宿主上写入;在 `0.1.2-alpha.5` 及以后抑制并记录降级原因(fail-closed 会话事件词表,无外部注册面) || Node | `^22.19.0 \|\| >=24.0.0` |
|
|
33
33
|
| 界面 | Host + Web 客户端(设置页预算页签);`/budget` 命令 |
|
|
@@ -124,7 +124,7 @@ dsh --profile web --dump-config | grep -A2 'id: budget'
|
|
|
124
124
|
```sh
|
|
125
125
|
pnpm install # node ^22.19 || >=24
|
|
126
126
|
pnpm run typecheck # tsc:src + tests,对照本地 harness checkout
|
|
127
|
-
pnpm run typecheck:ci # tsc:对照已发布的 0.1.
|
|
127
|
+
pnpm run typecheck:ci # tsc:对照已发布的 0.1.2-alpha.5 类型(无 paths)
|
|
128
128
|
pnpm test # vitest
|
|
129
129
|
pnpm run build # tsc 声明 + tsdown bundles(lib/)
|
|
130
130
|
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.3",
|
|
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",
|