@marsken/dsh-studio 0.1.13 → 0.1.14

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/README.md CHANGED
@@ -766,7 +766,7 @@ node /tmp/verify-dashboard.mjs # 工作台风险计数 / flaky 不开缺陷 /
766
766
 
767
767
  - `config.costs = { budgetRuns, budgetHours, warnAt }`(默认 500 次 / 80 小时 / 80%)。
768
768
  - `GET /costs` 返回 `budget: { runs, hours, runRate, hourRate, level, hint }`,`level` 为 `ok|warn|over`;效能页「AI 执行成本」下方是一条预算进度条,超 `warnAt` 变黄、超 100% 变红。
769
- - 口径仍是「派单次数 + 机上时长」,宿主没有回传 token 用量。
769
+ - 口径分两层:**次数 + 机上时长**(派单日志)与 **token + 花费**(会话日志 + 价目表),两者口径不同,别混着看。
770
770
 
771
771
  ### 集成失败升级
772
772
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  | 项 | 值 |
8
8
  | --- | --- |
9
- | dsh-studio | `package.json` `version: 0.1.13` |
9
+ | dsh-studio | `package.json` `version: 0.1.14` |
10
10
  | DeepSeek Harness | `0.2.2-rc.1`(`dsh --version`) |
11
11
  | Node | `v24.22.2`(Linux 目标机);本机 Windows `v24.19.0` |
12
12
  | 目标系统 | Ubuntu 24.04,`dsh web` 监听 `18080`,nginx `:80` 反代并注入 `dsh-auth-*` cookie |
package/docs/publish.md CHANGED
@@ -127,6 +127,7 @@ token 只写进临时 npmrc(放在仓库外或 `tmp/` 且不提交),发完
127
127
  | --- | --- | --- |
128
128
  | `0.1.0` | 2026-11-13 | 首个公开版:看板 / 需求 / 用例回归 / 效能 / 设计评审四期 |
129
129
  | `0.1.1` | 2026-11-13 | 补三张 README 截图(npm 页可看图);默认值与文档去掉公司内网信息 |
130
+ | `0.1.14` | 2026-11-15 | 修正成本口径的过期文案 |
130
131
  | `0.1.13` | 2026-11-15 | 价目表编辑器 + 未配价目模型清单 |
131
132
  | `0.1.12` | 2026-11-15 | 真实 token 成本(读会话日志 + 价目表计价) |
132
133
  | `0.1.11` | 2026-11-15 | 需求变更影响面(接口 + 面板)、可跑用例口径修正、成本口径文档 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marsken/dsh-studio",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "type": "module",
5
5
  "description": "DSH Studio: role-based multi-agent workspace (product / architect / developer / QA) with a live work board, GitLab + Feishu connection settings, all configurable from the web GUI.",
6
6
  "main": "index.js",
@@ -295,7 +295,7 @@ export function runSummary() {
295
295
  byModel: sort(byModel),
296
296
  byPromptVersion: sort(byPrompt),
297
297
  days: [...byDay.values()].sort((a, b) => (a.day < b.day ? -1 : 1)).slice(-14),
298
- note: '宿主没有回传 token 用量,这里统计的是派单次数与执行时长;成本按你们自己的模型单价乘次数即可。',
298
+ note: 'token 用量读自 studio-* 会话日志(每次模型调用都记一次);钱要显示得先在「成本与预算」里配价目表,没配的模型会单独列出来。',
299
299
  }
300
300
  }
301
301
 
@@ -118,7 +118,7 @@ export function buildQuality(state, runs) {
118
118
  },
119
119
  cost: {
120
120
  wired: false,
121
- note: '成本还没接真实 token usage:平台目前只记录派单次数与耗时,没有按卡/按项目记账。接上 usage 之后这里才会有数字。',
121
+ note: '成本按真实 token 用量算:读 studio-* 会话日志,按卡 / 按专家汇总;价目表没配时只给 token,花费显示未知。',
122
122
  },
123
123
  }
124
124
  }