dsh-budget 0.1.1 → 0.1.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/CHANGELOG.md +4 -0
- package/README.es.md +2 -2
- package/README.hi.md +2 -2
- package/README.md +3 -2
- package/README.pt.md +2 -2
- package/README.zh.md +2 -2
- package/lib/types/index.d.ts +2 -2
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ 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.1.2] - 2026-08-22
|
|
9
|
+
|
|
10
|
+
- Compatibility release for DeepSeek Harness `0.1.1-rc.2`: all `@deepseek-ai/dsh-*` devDependencies moved to rc.2 (peers unchanged at `>=0.1.0-rc.8 <0.2.0`); `dshWorkshop.compatibility.dshVersions` set to `0.1.1-rc.2`; the READMEs, AGENTS notes, and CI `compat`/`typecheck` pins synced to rc.2. No source changes required — the session/llm/typert/commands/client seams used here are unchanged in rc.2.
|
|
11
|
+
|
|
8
12
|
## [0.1.1] - 2026-08-21
|
|
9
13
|
|
|
10
14
|
- Compatibility release for DeepSeek Harness `0.1.0-rc.8`: all `@deepseek-ai/dsh-*` peers and devDependencies moved to rc.8 (peers declared as `>=0.1.0-rc.8 <0.2.0`); verified against the rc.8 harness checkout and the npm-published rc.8 type faces. No source changes required — the session/llm/typert/commands/client seams used here are unchanged in rc.8.
|
package/README.es.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
| Superficie | Estado |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.1-rc.2` |
|
|
28
28
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
29
|
| Superficies | Host + cliente Web (pestaña Budget en Settings); comando `/budget` |
|
|
30
30
|
|
|
@@ -119,7 +119,7 @@ Todos los ajustes son campos `Config` de Schemastery (modificables desde cordis.
|
|
|
119
119
|
```sh
|
|
120
120
|
pnpm install # node ^22.19 || >=24
|
|
121
121
|
pnpm run typecheck # tsc: src + tests contra el checkout local del harness
|
|
122
|
-
pnpm run typecheck:ci # tsc contra los tipos publicados 0.1.
|
|
122
|
+
pnpm run typecheck:ci # tsc contra los tipos publicados 0.1.1-rc.2 (sin paths)
|
|
123
123
|
pnpm test # vitest: 45 tests
|
|
124
124
|
pnpm run build # declaraciones tsc + bundles tsdown (lib/)
|
|
125
125
|
pnpm run verify:self-contained # las especificaciones de dependencias resuelven desde el registry
|
package/README.hi.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
| सतह | स्थिति |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.1-rc.2` |
|
|
28
28
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
29
|
| सतहें | Host + वेब क्लाइंट (Settings में Budget टैब); `/budget` कमांड |
|
|
30
30
|
|
|
@@ -119,7 +119,7 @@ dsh --profile web --dump-config | grep -A2 'id: budget'
|
|
|
119
119
|
```sh
|
|
120
120
|
pnpm install # node ^22.19 || >=24
|
|
121
121
|
pnpm run typecheck # tsc: src + tests स्थानीय हार्नेस चेकआउट के विरुद्ध
|
|
122
|
-
pnpm run typecheck:ci # tsc प्रकाशित 0.1.
|
|
122
|
+
pnpm run typecheck:ci # tsc प्रकाशित 0.1.1-rc.2 प्रकारों के विरुद्ध (बिना paths)
|
|
123
123
|
pnpm test # vitest: 45 टेस्ट
|
|
124
124
|
pnpm run build # tsc घोषणाएँ + tsdown बंडल (lib/)
|
|
125
125
|
pnpm run verify:self-contained # निर्भरता स्पेक registry से हल होती हैं
|
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
3
|
# 💰 dsh-budget
|
|
4
|
+
[](https://gitee.com/perrylink/dsh-budget)
|
|
4
5
|
|
|
5
6
|
**Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel.**
|
|
6
7
|
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
|
|
25
26
|
| Surface | Status |
|
|
26
27
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.
|
|
28
|
+
| Harness | DeepSeek Harness `0.1.1-rc.2` |
|
|
28
29
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
30
|
| Surfaces | Host + Web client (Settings budget tab); `/budget` command |
|
|
30
31
|
|
|
@@ -119,7 +120,7 @@ All tunables are Schemastery `Config` fields (changeable from cordis.yml). `cord
|
|
|
119
120
|
```sh
|
|
120
121
|
pnpm install # node ^22.19 || >=24
|
|
121
122
|
pnpm run typecheck # tsc: src + tests against the local harness checkout
|
|
122
|
-
pnpm run typecheck:ci # tsc against the published 0.1.
|
|
123
|
+
pnpm run typecheck:ci # tsc against the published 0.1.1-rc.2 types (no paths)
|
|
123
124
|
pnpm test # vitest: 45 tests
|
|
124
125
|
pnpm run build # tsc declarations + tsdown bundles (lib/)
|
|
125
126
|
pnpm run verify:self-contained # dependency specs resolve from the registry
|
package/README.pt.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
| Superfície | Status |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.1-rc.2` |
|
|
28
28
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
29
|
| Superfícies | Host + cliente Web (aba Budget em Settings); comando `/budget` |
|
|
30
30
|
|
|
@@ -119,7 +119,7 @@ Todos os ajustes são campos `Config` do Schemastery (alteráveis pelo cordis.ym
|
|
|
119
119
|
```sh
|
|
120
120
|
pnpm install # node ^22.19 || >=24
|
|
121
121
|
pnpm run typecheck # tsc: src + tests contra o checkout local do harness
|
|
122
|
-
pnpm run typecheck:ci # tsc contra os tipos publicados 0.1.
|
|
122
|
+
pnpm run typecheck:ci # tsc contra os tipos publicados 0.1.1-rc.2 (sem paths)
|
|
123
123
|
pnpm test # vitest: 45 testes
|
|
124
124
|
pnpm run build # declarações tsc + bundles tsdown (lib/)
|
|
125
125
|
pnpm run verify:self-contained # especificações de dependências resolvem pelo registry
|
package/README.zh.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
| 方面 | 状态 |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.1-rc.2` |
|
|
28
28
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
29
|
| 界面 | Host + Web 客户端(设置页预算页签);`/budget` 命令 |
|
|
30
30
|
|
|
@@ -119,7 +119,7 @@ dsh --profile web --dump-config | grep -A2 'id: budget'
|
|
|
119
119
|
```sh
|
|
120
120
|
pnpm install # node ^22.19 || >=24
|
|
121
121
|
pnpm run typecheck # tsc:src + tests,对照本地 harness checkout
|
|
122
|
-
pnpm run typecheck:ci # tsc:对照已发布的 0.1.
|
|
122
|
+
pnpm run typecheck:ci # tsc:对照已发布的 0.1.1-rc.2 类型(无 paths)
|
|
123
123
|
pnpm test # vitest:45 个测试
|
|
124
124
|
pnpm run build # tsc 声明 + tsdown bundles(lib/)
|
|
125
125
|
pnpm run verify:self-contained # 依赖声明全部来自 registry
|
package/lib/types/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Function plugin 鈥?no default export (the Loader unwraps
|
|
11
11
|
* `exports.default ?? exports`).
|
|
12
12
|
*
|
|
13
|
-
* Seam notes (verified against 0.1.
|
|
13
|
+
* Seam notes (verified against 0.1.1-rc.2 and the local checkout):
|
|
14
14
|
* - Usage arrives as `assistant/message` events (`usage?: TokenUsage`);
|
|
15
15
|
* provider/model attribution comes from the latest `request/header`
|
|
16
16
|
* (`header.config.provider` / `header.config.model`).
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* waterfall listener short-circuit is a deliberate claim, not a passthrough
|
|
23
23
|
* bug: pass-through paths always call `next()`.
|
|
24
24
|
* - Session audit appends use the two-argument `Session.append` form (the
|
|
25
|
-
* pinned rc.
|
|
25
|
+
* pinned rc.2 peers have no append-envelope option).
|
|
26
26
|
*
|
|
27
27
|
* @module dsh-budget
|
|
28
28
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-budget",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
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",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
],
|
|
82
82
|
"compatibility": {
|
|
83
83
|
"dshVersions": [
|
|
84
|
-
"0.1.
|
|
84
|
+
"0.1.1-rc.2"
|
|
85
85
|
]
|
|
86
86
|
},
|
|
87
87
|
"capability": {
|
|
@@ -133,18 +133,18 @@
|
|
|
133
133
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
134
134
|
"@deepseek-ai/cordis-plugin-include": "1.0.6",
|
|
135
135
|
"@deepseek-ai/cordis-plugin-loader": "1.0.2",
|
|
136
|
-
"@deepseek-ai/dsh-agent": "0.1.
|
|
137
|
-
"@deepseek-ai/dsh-client-connection": "0.1.
|
|
138
|
-
"@deepseek-ai/dsh-client-locale": "0.1.
|
|
139
|
-
"@deepseek-ai/dsh-client-runtime": "0.1.
|
|
140
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.1.
|
|
141
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.1.
|
|
142
|
-
"@deepseek-ai/dsh-commands": "0.1.
|
|
143
|
-
"@deepseek-ai/dsh-llm": "0.1.
|
|
144
|
-
"@deepseek-ai/dsh-session": "0.1.
|
|
145
|
-
"@deepseek-ai/dsh-token-meter": "0.1.
|
|
146
|
-
"@deepseek-ai/dsh-tools": "0.1.
|
|
147
|
-
"@deepseek-ai/dsh-typert-protocol": "0.1.
|
|
136
|
+
"@deepseek-ai/dsh-agent": "0.1.1-rc.2",
|
|
137
|
+
"@deepseek-ai/dsh-client-connection": "0.1.1-rc.2",
|
|
138
|
+
"@deepseek-ai/dsh-client-locale": "0.1.1-rc.2",
|
|
139
|
+
"@deepseek-ai/dsh-client-runtime": "0.1.1-rc.2",
|
|
140
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.2",
|
|
141
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2",
|
|
142
|
+
"@deepseek-ai/dsh-commands": "0.1.1-rc.2",
|
|
143
|
+
"@deepseek-ai/dsh-llm": "0.1.1-rc.2",
|
|
144
|
+
"@deepseek-ai/dsh-session": "0.1.1-rc.2",
|
|
145
|
+
"@deepseek-ai/dsh-token-meter": "0.1.1-rc.2",
|
|
146
|
+
"@deepseek-ai/dsh-tools": "0.1.1-rc.2",
|
|
147
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.1-rc.2",
|
|
148
148
|
"@deepseek-ai/schemastery": "^3.18.0",
|
|
149
149
|
"@types/node": "^22.19.0",
|
|
150
150
|
"@types/react": "18.3.31",
|