dsh-budget 0.4.7 → 0.4.9

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.
@@ -2,7 +2,7 @@
2
2
  * `dsh-budget`, browser half: mounts the `budget` Remote contribution, then
3
3
  * registers the budget tab into the Plugins settings section
4
4
  * (`settings.plugins.tab`, id `budget`). All data arrives through the
5
- * `remote.budget` namespace 鈥?the tab issues no other RPC and holds no state
5
+ * `remote.budget` namespace — the tab issues no other RPC and holds no state
6
6
  * of its own beyond the edit form and the last loaded snapshot.
7
7
  *
8
8
  * @module dsh-budget/client
@@ -1,5 +1,5 @@
1
1
  /**
2
- * `dsh-budget` 鈥?cost governance for DeepSeek Harness. Aggregated
2
+ * `dsh-budget` — cost governance for DeepSeek Harness. Aggregated
3
3
  * token/cost/carbon metering per model, session and day; session/daily/monthly
4
4
  * budget caps with threshold alerts (webhook + desktop notification flag) and
5
5
  * alert/block/degrade over-limit policies; per-model latency statistics; the
@@ -8,7 +8,7 @@
8
8
  * `/budget` command; and `budget/alert` + `budget/block` session audit events
9
9
  * (suppressed on hosts whose fail-closed event vocabulary rejects them).
10
10
  *
11
- * Function plugin 鈥?no default export (the Loader unwraps
11
+ * Function plugin — no default export (the Loader unwraps
12
12
  * `exports.default ?? exports`).
13
13
  *
14
14
  * Seam notes (verified against 0.1.1-rc.2 and the local checkout):
@@ -17,7 +17,7 @@
17
17
  * (`header.config.provider` / `header.config.model`).
18
18
  * - Blocking happens on the `llm/stream` waterfall: when a scope is blocked
19
19
  * the listener short-circuits (no `next()`) and yields a text block plus an
20
- * error finish that names the budget breach 鈥?loop-built requests are
20
+ * error finish that names the budget breach — loop-built requests are
21
21
  * deep-frozen and may NOT be rewritten, so `degrade` manifests the same way
22
22
  * with corrective text naming the degraded model (plus the alert). A
23
23
  * waterfall listener short-circuit is a deliberate claim, not a passthrough
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-budget",
3
- "version": "0.4.7",
3
+ "version": "0.4.9",
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",
@@ -37,10 +37,10 @@
37
37
  "THIRD_PARTY_NOTICES.md",
38
38
  "SECURITY.md",
39
39
  "README.md",
40
- "README.zh.md",
41
- "README.es.md",
42
- "README.pt.md",
43
- "README.hi.md",
40
+ "README-zh.md",
41
+ "README-es.md",
42
+ "README-pt.md",
43
+ "README-hi.md",
44
44
  "LICENSE"
45
45
  ],
46
46
  "dsh": {
@@ -79,7 +79,10 @@
79
79
  "native-code:none"
80
80
  ],
81
81
  "compatibility": {
82
- "dshVersions": ["0.1.2-rc.1","0.1.5-alpha.1"]
82
+ "dshVersions": [
83
+ "0.1.2-rc.1",
84
+ "0.1.5-rc.2"
85
+ ]
83
86
  },
84
87
  "capability": {
85
88
  "id": "budget-governance",
@@ -142,23 +145,23 @@
142
145
  "zod": "^4.4.3"
143
146
  },
144
147
  "devDependencies": {
145
- "@deepseek-ai/dsh-api-remotes": "0.1.5-alpha.1",
146
- "@deepseek-ai/dsh-attachment": "0.1.5-alpha.1",
148
+ "@deepseek-ai/dsh-api-remotes": "0.1.5-rc.2",
149
+ "@deepseek-ai/dsh-attachment": "0.1.5-rc.2",
147
150
  "@deepseek-ai/cordis": "^4.0.2",
148
151
  "@deepseek-ai/cordis-plugin-include": "^1.0.7",
149
152
  "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
150
- "@deepseek-ai/dsh-agent": "0.1.5-alpha.1",
151
- "@deepseek-ai/dsh-client-connection": "0.1.5-alpha.1",
152
- "@deepseek-ai/dsh-client-locale": "0.1.5-alpha.1",
153
- "@deepseek-ai/dsh-client-ui-settings": "0.1.5-alpha.1",
154
- "@deepseek-ai/dsh-client-ui-slots": "0.1.5-alpha.1",
155
- "@deepseek-ai/dsh-commands": "0.1.5-alpha.1",
156
- "@deepseek-ai/dsh-llm": "0.1.5-alpha.1",
157
- "@deepseek-ai/dsh-session": "0.1.5-alpha.1",
158
- "@deepseek-ai/dsh-storage-domain": "0.1.5-alpha.1",
159
- "@deepseek-ai/dsh-token-meter": "0.1.5-alpha.1",
160
- "@deepseek-ai/dsh-tools": "0.1.5-alpha.1",
161
- "@deepseek-ai/dsh-typert-protocol": "0.1.5-alpha.1",
153
+ "@deepseek-ai/dsh-agent": "0.1.5-rc.2",
154
+ "@deepseek-ai/dsh-client-connection": "0.1.5-rc.2",
155
+ "@deepseek-ai/dsh-client-locale": "0.1.5-rc.2",
156
+ "@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.2",
157
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.2",
158
+ "@deepseek-ai/dsh-commands": "0.1.5-rc.2",
159
+ "@deepseek-ai/dsh-llm": "0.1.5-rc.2",
160
+ "@deepseek-ai/dsh-session": "0.1.5-rc.2",
161
+ "@deepseek-ai/dsh-storage-domain": "0.1.5-rc.2",
162
+ "@deepseek-ai/dsh-token-meter": "0.1.5-rc.2",
163
+ "@deepseek-ai/dsh-tools": "0.1.5-rc.2",
164
+ "@deepseek-ai/dsh-typert-protocol": "0.1.5-rc.2",
162
165
  "@deepseek-ai/schemastery": "^3.18.2",
163
166
  "@types/node": "^22.19.0",
164
167
  "@types/react": "18.3.31",