dsh-connect-workbuddy 5.24.7 → 5.24.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.
- package/CHANGELOG.md +107 -1
- package/docs/STABLE-KEY-SEMANTICS.md +65 -0
- package/lib/bin.js +1 -1
- package/lib/client.js +57 -3
- package/lib/{host-heartbeat-BaNW2-Hp.js → host-heartbeat-CgkojTgC.js} +1 -1
- package/lib/index.js +12 -3
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,85 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.24.9 (2026-11-16)
|
|
4
|
+
|
|
5
|
+
> 版本号是 **patch**:新增一处只读展示,默认行为、开关、路由形状与池子排序一律未动;
|
|
6
|
+
> 无破坏性改动。来自 issue #263。
|
|
7
|
+
|
|
8
|
+
### 新增:积分快过期这件事,账号里能直接看出来了(issue #263)
|
|
9
|
+
|
|
10
|
+
报告者贴了 dsh-connect-trae 的琥珀色横幅(「有 143 积分将在 3 天内过期(1 个套餐)/
|
|
11
|
+
最早到期:2026/11/19 08:05」)并问:「每个账号快要过期的积分能不能在账号里简单的表达出来?」
|
|
12
|
+
|
|
13
|
+
事实是:**数据早就算好了,只是没渲染。** `WorkBuddyCredits` 一直带着 `expiringSoon`(3 天内到期
|
|
14
|
+
的积分合计)与 `nearestExpiryMs`(最近一次到期时刻),账号池表格也早就在成员行里打印
|
|
15
|
+
`{count} 积分 3 天内过期`。缺的是另外两个表面:
|
|
16
|
+
|
|
17
|
+
- **编写器(composer)的账号面板**:那张表每行只印余额,没有任何临期信息。
|
|
18
|
+
- **卡片的「账号」分区**:完全没有临期提醒。`status.credits` 一直在文档里,但卡片只读过
|
|
19
|
+
`status.creditsError`,余额字段一次都没被渲染过。
|
|
20
|
+
|
|
21
|
+
这次把这条事实接到这两个表面上:
|
|
22
|
+
|
|
23
|
+
1. **`/usage` 之外的账号积分路由**(`workBuddyAccountCredits`)现在每个账号额外带回
|
|
24
|
+
`expiringSoon` 与 `nearestExpiryMs`。这条路由本来就逐个账号读余额,信息是现成的;不补这两个
|
|
25
|
+
字段,面板就永远无从知道某个余额即将蒸发。**必须补**的原因还有一个:账号池的 `otherAccounts`
|
|
26
|
+
只列非成员账号、且不带余额,所以对「不在池里的账号」,这是唯一的来源。
|
|
27
|
+
2. **编写器面板每行**在余额下面加一行小字:`{count} 积分 3 天内过期`,措辞**复用账号池的
|
|
28
|
+
`row.poolCreditSoon`**——同一个事实、同一次测量,两处不能各写一套话术,否则读者要去分辨它们
|
|
29
|
+
讲的是不是一件事。
|
|
30
|
+
3. **卡片「账号」分区顶部**加一条琥珀色横幅:**点名当前选用账号** + 临期数量 + 最早到期时刻。
|
|
31
|
+
点名是必要的:`status.credits` 是**当前选用那个账号**的账单答案,不是整池合计——一个不带主语
|
|
32
|
+
的数字摆在多账号表格上方,必然被读成"所有账号加起来"。
|
|
33
|
+
|
|
34
|
+
### 为什么行内只说数量、日期只在悬停里
|
|
35
|
+
|
|
36
|
+
5.20.22 有过明确决定:账号行里那行「最近积分包 11/27 03:46 过期」被**按用户要求撤掉**了——它
|
|
37
|
+
在每个账号上都占第二行,而那个日期几个月后才到,没人在拿它做决定。留下的是**能据以行动的数量**。
|
|
38
|
+
这次严格沿用:面板每行仍然只印数量,绝对时刻进整行的 `title`(悬停可读、屏幕阅读器可读),
|
|
39
|
+
**不**打印出来。
|
|
40
|
+
|
|
41
|
+
卡片横幅是唯一例外:那里只出现**一次**(为一个账号),而不是每行一次,且它回答的是「我要损失多少、
|
|
42
|
+
最近一次什么时候」——所以允许同时印出数量与最早到期时刻。
|
|
43
|
+
|
|
44
|
+
### 关键约束:`expiringSoon > 0` 是唯一的触发条件
|
|
45
|
+
|
|
46
|
+
`nearestExpiryMs` 是**所有**积分包里最近的一次到期,所以一个**没有任何积分要过期**的账号照样可能
|
|
47
|
+
带着一个未来日期(月度包到期后刷新,从不真正过期)。因此两处展示都只认 `expiringSoon > 0`:
|
|
48
|
+
|
|
49
|
+
- 余额没读到时(`credits` 缺失)**什么都不显示**——「0 积分过期」是一次测量结论,不能替一个没人
|
|
50
|
+
测量过的账号下这个结论,那会让本该显示「—」的行宣称用户积分安全。
|
|
51
|
+
- 只有日期、没有数量时**什么都不显示**——否则就是 5.20.22 撤掉的那行日期卷土重来。
|
|
52
|
+
|
|
53
|
+
守护测试(均已做变异验证:改坏映射、改坏触发条件、去掉账号名,都会变红):路由两个字段的透传与
|
|
54
|
+
读取失败时的缺省;面板每行的数量与悬停时刻、以及「没临期 / 没测量」两种沉默;卡片横幅的账号名、
|
|
55
|
+
数量与时刻,以及同样两种沉默。
|
|
56
|
+
|
|
57
|
+
## 5.24.8 (2026-11-16)
|
|
58
|
+
|
|
59
|
+
> 版本号是 **patch**:这是一次**文档 / 打包**修复版,默认行为零变化(开关仍默认关闭、无接口变化、
|
|
60
|
+
> 无破坏性改动),修的是「设置界面把用户导向一个装不出来的文件」这条已随 5.24.7 上线的死链。
|
|
61
|
+
|
|
62
|
+
### 修复:`stableConversationId` 的设置说明不再指向包外文件
|
|
63
|
+
|
|
64
|
+
5.24.7 的设置界面里,`stableConversationId` 那条开关的说明文案写着「详见
|
|
65
|
+
`docs/STABLE-KEY-SEMANTICS.md`」,但该文件**不在 `package.json` 的 `files` 白名单**——用户装出来的
|
|
66
|
+
包里 `docs/` 只有 `PRIVACY.md`、`WINDOWS.md`、`assets`。跟着文案去翻,必然扑空:而这是这个实验开关
|
|
67
|
+
在用户侧**唯一的说明入口**(README 不含它,设置文案是 GUI 里唯一渲染出来的引用)。
|
|
68
|
+
|
|
69
|
+
- **修法**:把 `docs/STABLE-KEY-SEMANTICS.md` 加入 `files` 白名单,让它真的随包发布,文案由此落地。
|
|
70
|
+
这是全项目**唯一一处**会渲染进设置界面、且指向未随包文件的 `docs/` 指针(其余 `docs/*.md` 引用都在
|
|
71
|
+
`lib/*.js` 的 JSDoc 注释里,是开发者面包屑,不面向用户)——已由 `tests/privacy-gate.spec.ts` 新增
|
|
72
|
+
的守护钉死:该守护**动态读取** schema 文案里的 `docs/*.md` 指针并要求它在白名单内,将来任何一方
|
|
73
|
+
漂移(有人删条目、或换指向别的包外文件)都会变红,死链不会以同样的方式再次烂掉。
|
|
74
|
+
- **不改行为**:开关语义、默认值(`false`)、派生逻辑一律未动。
|
|
75
|
+
|
|
76
|
+
### 归类更正:`stableConversationId` 的代码其实已随 5.24.7 进入 npm,此前 CHANGELOG 标为「未发布」名不副实
|
|
77
|
+
|
|
78
|
+
本文件此前把 `stableConversationId` 挂在「## 未发布(实验性开关,默认关闭)」一节。事实是:该开关的
|
|
79
|
+
代码随 5.24.7 一起进入了 npm 包(`lib/index.js` 含其 schema 与 wiring)。也就是说,**已发布 5.24.7
|
|
80
|
+
的那份 CHANGELOG 自相矛盾**——它声称某物「未发布」,而这个包自己就带着它。下方一节已据实重标;开关
|
|
81
|
+
本身仍是默认关闭的实验能力,本次不推广默认值、不附带命中率结论、不区分上游内部机制(限定见该节)。
|
|
82
|
+
|
|
3
83
|
## 5.24.7 (2026-11-15)
|
|
4
84
|
|
|
5
85
|
> 版本号是 **patch**:默认行为零变化,修一处只在反代部署下触发的全量 403,并新增一个默认
|
|
@@ -33,7 +113,7 @@
|
|
|
33
113
|
(门禁码专属文案、其它错误零影响、恢复后清除)。三层各做一次变异验证:禁用信任匹配 / 放宽门禁码
|
|
34
114
|
判定 / 移除 Origin 半边信任,对应测试均转红。
|
|
35
115
|
|
|
36
|
-
##
|
|
116
|
+
## 实验性开关 `stableConversationId`(默认关闭;代码随 5.24.7 进入 npm,本节此前误标「未发布」)
|
|
37
117
|
|
|
38
118
|
### 新增:可选 `stableConversationId`(opt-in,默认 `false`)
|
|
39
119
|
|
|
@@ -57,6 +137,32 @@
|
|
|
57
137
|
验证:新增 `tests/upstream.spec.ts` 的离线 wire 级单测(默认关闭字节一致、派生键稳定性与回退、
|
|
58
138
|
注入块跳过、多模态首问、NUL 歧义、无状态泄漏等)。
|
|
59
139
|
|
|
140
|
+
### 新增:`stableConversationId` 的真实上游单变量对照证据与复现工具
|
|
141
|
+
|
|
142
|
+
新增一组**纯 `scripts/` + `tests/` + `docs/` 的可离线复算证据**,把「稳定 `X-Conversation-ID`
|
|
143
|
+
与隐式前缀缓存命中之间的关系」交给维护者与第三方独立复核;**不改 `src/`、不改默认值、不改开关行为**。
|
|
144
|
+
权威说明与全部限定见 [`docs/E-PHASE-EVIDENCE.md`](docs/E-PHASE-EVIDENCE.md)。
|
|
145
|
+
|
|
146
|
+
- **证据**:`evidence/batch-1`、`evidence/batch-2` 两批脱敏 JSONL + `SHA256SUMS.txt`,可
|
|
147
|
+
`shasum -a 256 -c` 核验字节;`node scripts/recompute-probe-real.mjs --in <jsonl>` 纯离线复算。
|
|
148
|
+
- **如实各报各的,不合并不择优**:第一批 `DATA INCOMPLETE` / `NOT_EVALUATED`(19/20 组完整,
|
|
149
|
+
一次孤立网络错误,未补跑未删不利数据);第二批全新独立重跑 `DATA COMPLETE` /
|
|
150
|
+
`BENEFIT_SUPPORTED`(20/20,配对平均差 91.4 个百分点、95% 区间 `[87.3, 95.4]`)。
|
|
151
|
+
- **工具**:`scripts/probe-core.ts`(零 I/O 纯函数)、`probe-stable-conversation-id-real.mjs`
|
|
152
|
+
(真实上游驱动,`--real --e-phase-authorized` 双 flag 门控、默认 `NOT_RUN`;门控先于加载
|
|
153
|
+
`lib/`,未授权路径无需构建即可运行)、`probe-usage-adapter.ts`(usage 双字段适配)、
|
|
154
|
+
`recompute-probe*.mjs`(离线复算)与三份离线单测(含 `tests/probe-real-gate.spec.ts`:
|
|
155
|
+
门控与账号选择的守护)。真实复现前仍须 `pnpm run build`(与 PR #249 的探针一致);
|
|
156
|
+
`--real` 必须用 `--account-id` 显式指定 vault 账号,多账号未指定即拒绝。
|
|
157
|
+
- 证据文件、`probe-core.ts` 与 `probe-usage-adapter.ts` 保留原字节以对齐 `scriptHash`;驱动
|
|
158
|
+
按评审修正后 `scriptHash` 变为新值,新旧哈希的对应关系与复算口径见
|
|
159
|
+
[`docs/E-PHASE-EVIDENCE.md`](docs/E-PHASE-EVIDENCE.md) §8。源码注释里遗留的历史内部指针由权威文档统一澄清。
|
|
160
|
+
|
|
161
|
+
> 这些读数仍是 **报告者实测、本插件/维护者尚未独立复现**(`docs/WINDOWS.md` §2 的 C 档):
|
|
162
|
+
> `MECHANISM_PROVEN false`,**不构成机制证明**、不区分缓存键分区与路由亲和、不外推其它账号/模型/端点,
|
|
163
|
+
> 也不把 C 档结论自动升级为可改默认值的 A/B 档。端到端完整链路验证(安装/重载/DSH→bili→插件→网关)
|
|
164
|
+
> **未完成**,不在结论内。开关仍默认 `false`,本 PR 不请求改默认值、不请求发版。
|
|
165
|
+
|
|
60
166
|
## 5.24.6 (2026-11-15)
|
|
61
167
|
|
|
62
168
|
> 版本号是 **patch**:修一处「工具声明被悄悄放宽」的语义丢失,无新增配置项、无接口变化。
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# 稳定 `X-Conversation-ID` 的语义:路线 A(请求前缀派生的亲和键实验)
|
|
2
|
+
|
|
3
|
+
> 适用对象:`stableConversationId`(默认 `false`)开启后由 `deriveStableConversationId(bodyJson)` 生成的值。
|
|
4
|
+
> 本文件是该开关语义的**唯一权威定义**;`CHANGELOG.md` / `docs/DESIGN.md` / 实现注释均须与之一致。
|
|
5
|
+
> 本文不写任何真实账号、机器、路径值;账号一律称「账号A / 账号别名」,本机路径一律 `/Users/<you>`。
|
|
6
|
+
|
|
7
|
+
## 1. 决策:采用路线 A(最小范围)
|
|
8
|
+
|
|
9
|
+
保留「从请求正文前缀派生稳定值」的实现,但把它**准确定位为「请求前缀派生的亲和键实验」(affinity-key experiment)**,供使用者在受控条件下对照「稳定 `X-Conversation-ID` 与隐式前缀缓存命中之间的关系」。
|
|
10
|
+
|
|
11
|
+
- 它**不是**宿主 `sessionId`,**不是**官方会话标识,**不是**真正的会话稳定键。
|
|
12
|
+
- 它只是一个由请求内容决定的、在一次连续对话中尽量不变的请求头取值,目的是让「同一不变前缀 + 同一 `X-Conversation-ID`」这一组合可复现,便于单变量对照。
|
|
13
|
+
- 上游内部究竟是「按缓存键分区」「按路由亲和」还是二者混合,本文件及所有相关文档**不做机制断言**;本 PR 也不声称稳定 ID 能改善命中,改善与否须由使用者自行在指定构建/账号/模型/时间窗口下验证。
|
|
14
|
+
- 默认 `stableConversationId` 为 `false`。**默认 `false` 不因任何实验成功自动改变;推广默认值属于单独决策。**
|
|
15
|
+
|
|
16
|
+
路线 B(真正的会话稳定且互斥隔离,需要可信的宿主会话标识,例如由 DSH 透传 `sessionId`)能做到「整段会话稳定 + 不同会话之间互斥隔离」,但超出本次最小范围:**本次不采用,需另行设计并提交用户确认**。
|
|
17
|
+
|
|
18
|
+
## 2. 已知限制(路线 A 的固有属性,不是 bug)
|
|
19
|
+
|
|
20
|
+
1. **纯靠请求正文无法可靠区分正文完全相同的两个独立会话。** 若两个独立会话的「不变前缀」(`model` + 首条 `system` + 第一条真实 `user`)完全相同,它们会**共享同一个派生键**。这是路线 A 的已知限制;文档不得对会话之间的隔离性或互斥性作任何肯定宣称。
|
|
21
|
+
2. **键可能在会话中途改变**,因为派生自请求内容而非会话身份。以下情况都可能换键:
|
|
22
|
+
- 上下文压缩 / 摘要重写(首条 `system` 或首条真实 `user` 变化);
|
|
23
|
+
- 首条消息被删除、重排,或注入块被当作真实首问;
|
|
24
|
+
- 首问内容变化(用户改写首个问题);
|
|
25
|
+
- 模型切换(`model` 字段变化);
|
|
26
|
+
- 会话分叉 / 恢复 / 重放(前缀被重建)。
|
|
27
|
+
因此**不得宣传为「整段会话稳定」**,也不得对 warm 轮的命中作确定性宣称。
|
|
28
|
+
3. **不把本键描述为等价于原生 `sessionId` 的身份**:原生 WorkBuddy 把 `X-Conversation-ID` 绑定为整个会话不变的 `sessionId`;本插件的稳定值派生自请求前缀,二者来源、生命周期、隔离性都不同。
|
|
29
|
+
4. **UUID 只宣称「符合 v4 形状」**:派生值被格式化成 v4 形状的 UUID 字符串,仅此而已;**不宣称是随机 UUIDv4**,不宣称是加密安全随机,也不宣称是任何官方会话 ID。
|
|
30
|
+
|
|
31
|
+
## 3. 派生输入的编码规则
|
|
32
|
+
|
|
33
|
+
- 输入元组:`(model, 首条 system, 第一条真实 user)`,跳过宿主注入的 `user` 块;追加的历史、工具调用、回复**不参与哈希**,否则每轮都会变。
|
|
34
|
+
- **NUL 歧义已修**:元组使用**无歧义编码**(JSON 数组),不同元组不会因为字段内出现 NUL 字符(U+0000)或简单拼接而产生相同输入。即三元组(a、b、c)与把 a、b 用 NUL 拼成一个字段的二元组之类不会碰撞。
|
|
35
|
+
- **多模态**:首问含非文本 part(如图片、tool 结果)时,按**规范化完整内容**编码,而不是只取文本片段;**纯图片首问**显式处理——不再隐式忽略非文本 part、不再静默回落到随机 ID。若规范化后仍无法派生(缺字段 / 无法解析),则**显式回退**到每请求现生成,并把该回退路径记入本文件与实现注释。
|
|
36
|
+
|
|
37
|
+
## 4. 默认关闭与默认值纪律
|
|
38
|
+
|
|
39
|
+
- `stableConversationId` 默认 `false`:默认路径每请求现生成三件套,相对基线 commit `d03282f` 默认路径请求构造逻辑不变(随机 ID 逐次不同;仅相对该基线描述,不覆盖更早版本)。
|
|
40
|
+
- 开启只影响 `X-Conversation-ID`;`X-Conversation-Request-ID` / `X-Conversation-Message-ID` / `X-Root-Request-ID` 仍每请求现生成。
|
|
41
|
+
- 配置在插件挂载时采样一次,改动后需重载插件才生效。
|
|
42
|
+
- **默认 `false` 不因任何实验成功自动改变;推广默认值属于单独决策。**
|
|
43
|
+
- 本 PR 只落地「默认关闭的可选开关 + 派生函数 + 离线 wire 级单测」,**不包含**真实上游实验、安装/重载完整链路验证或 GA 结论;这些属于后续单独工作。
|
|
44
|
+
|
|
45
|
+
## 5. 结论措辞纪律
|
|
46
|
+
|
|
47
|
+
本开关是实验性、默认关闭的可选能力,相关叙述一律采用**限定措辞**,不得升级为机制证明或因果宣称:
|
|
48
|
+
|
|
49
|
+
> 在指定构建、账号别名、模型和时间窗口下,观察到稳定 `X-Conversation-ID` 与更高的隐式前缀缓存命中相关。该观察不能区分缓存键分区与路由亲和等内部机制,也不能外推到所有账号/模型;它不构成稳定 ID「导致」命中提升的证明。
|
|
50
|
+
|
|
51
|
+
以下类别的过强表述一律不得作为结论出现:对 warm 轮命中作确定性宣称、把内部机制当作已证明、把本键描述为等价于宿主会话标识、对会话之间的隔离性或互斥性作肯定宣称、对全部历史版本声称字节级一致、声称控制组排除了全部混淆、把工具输出状态词当作实验证实。
|
|
52
|
+
|
|
53
|
+
本 PR 不附带任何命中率实测数字;若使用者自行验证,须自行记录条件、限定范围并避免上述过强表述。
|
|
54
|
+
|
|
55
|
+
## 6. 术语对照
|
|
56
|
+
|
|
57
|
+
| 概念 | 路线 A(本次) | 路线 B(本次不采用) |
|
|
58
|
+
| --- | --- | --- |
|
|
59
|
+
| 键来源 | 请求正文前缀派生 | 可信宿主会话标识(如 `sessionId`) |
|
|
60
|
+
| 定位 | 亲和键实验 / 单变量对照 | 真正的会话稳定键 |
|
|
61
|
+
| 整段会话稳定 | 否(压缩/首问变化/模型切换/分叉都可能换键) | 是(需宿主保证) |
|
|
62
|
+
| 不同会话之间是否互斥隔离 | 否(相同前缀会共享键) | 是 |
|
|
63
|
+
| 是否等价于原生 `sessionId` | 否 | 视实现而定,需单独验证 |
|
|
64
|
+
| 是否需要宿主改动 | 否 | 是(需透传,另行设计 + 用户确认) |
|
|
65
|
+
| 默认值 | `false`,不因实验改变 | 不适用 |
|
package/lib/bin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { F as WorkBuddyCredentialStore, J as workbuddyOwnAuthPath, Mn as hostPeersInfo, N as WORKBUDDY_AUTH_FILE_ENV, Nn as resolveDshHome, P as WORKBUDDY_VAULT_DIRNAME, R as defaultDesktopAuthCandidates, T as FALLBACK_WORKBUDDY_MODELS_GLOBAL, W as legacyWorkbuddyOwnAuthPath, X as APP_VERSION, Y as workbuddyVaultDir, _n as protectCredentialDirectory, a as readHostHeartbeat, b as readDeviceSettings, c as WORKBUDDY_CONNECT_VERSION, ct as describeRequestHeaderNames, d as rosterSeenPath, dn as readDeviceTokenFile, et as DEFAULT_WIRE_PROFILE, f as WORKBUDDY_CN_BASE_ENV, fn as ensureDeviceSalt, g as createTuringSdk, gn as inspectCredentialDirectory, m as piAiRuntimeInfo, mn as deriveDeviceId, o as workbuddyHostHeartbeatPath, p as resolveCnGateway, pn as readDeviceSalt, r as isHeartbeatProcessAlive, rt as WorkBuddyUpstreamClient, u as describeRosterSeenPayload, un as WORKBUDDY_DEVICE_TOKEN_FILE_ENV, vn as WORKBUDDY_APP_EXECUTABLE_ENV, w as FALLBACK_WORKBUDDY_MODELS, wn as findWorkbuddyAppExecutableWithSource, z as defaultDesktopAuthDirs } from "./host-heartbeat-
|
|
2
|
+
import { F as WorkBuddyCredentialStore, J as workbuddyOwnAuthPath, Mn as hostPeersInfo, N as WORKBUDDY_AUTH_FILE_ENV, Nn as resolveDshHome, P as WORKBUDDY_VAULT_DIRNAME, R as defaultDesktopAuthCandidates, T as FALLBACK_WORKBUDDY_MODELS_GLOBAL, W as legacyWorkbuddyOwnAuthPath, X as APP_VERSION, Y as workbuddyVaultDir, _n as protectCredentialDirectory, a as readHostHeartbeat, b as readDeviceSettings, c as WORKBUDDY_CONNECT_VERSION, ct as describeRequestHeaderNames, d as rosterSeenPath, dn as readDeviceTokenFile, et as DEFAULT_WIRE_PROFILE, f as WORKBUDDY_CN_BASE_ENV, fn as ensureDeviceSalt, g as createTuringSdk, gn as inspectCredentialDirectory, m as piAiRuntimeInfo, mn as deriveDeviceId, o as workbuddyHostHeartbeatPath, p as resolveCnGateway, pn as readDeviceSalt, r as isHeartbeatProcessAlive, rt as WorkBuddyUpstreamClient, u as describeRosterSeenPayload, un as WORKBUDDY_DEVICE_TOKEN_FILE_ENV, vn as WORKBUDDY_APP_EXECUTABLE_ENV, w as FALLBACK_WORKBUDDY_MODELS, wn as findWorkbuddyAppExecutableWithSource, z as defaultDesktopAuthDirs } from "./host-heartbeat-CgkojTgC.js";
|
|
3
3
|
import { readFile } from "node:fs/promises";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
5
5
|
import { realpathSync } from "node:fs";
|
package/lib/client.js
CHANGED
|
@@ -7761,6 +7761,27 @@ ${u} ${p}-pool .sw input:checked+.sw-track::after{transform:translateX(16px)}
|
|
|
7761
7761
|
.dsm-workbuddy-pool-hint{font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary,#c6c9d0)}
|
|
7762
7762
|
.dsm-workbuddy-pool-note{margin:0;font-size:12px;line-height:17px;color:var(--dsw-alias-label-secondary,#c6c9d0)}
|
|
7763
7763
|
.dsm-workbuddy-pool-warn{margin:0;padding:9px 11px;border-radius:9px;font-size:12px;line-height:17px;color:var(--dsw-alias-state-warn-primary,#f59e0b);background:rgba(245,158,11,.09);border:1px solid rgba(245,158,11,.3)}
|
|
7764
|
+
/* Credits about to lapse, once for the account in use (issue #263).
|
|
7765
|
+
The pool's .dsm-workbuddy-pool-warn is the same amber box, but this one is a
|
|
7766
|
+
COLUMN because it carries two facts: the amount (the actionable half) and the
|
|
7767
|
+
earliest instant (the "when"). Two lines rather than one wrapped sentence —
|
|
7768
|
+
at the card's width a single line would break the amount away from its own
|
|
7769
|
+
sentence on a long date, and the amount is what must stay scannable. */
|
|
7770
|
+
.dsm-workbuddy-expiry{
|
|
7771
|
+
display:flex;flex-direction:column;gap:2px;margin:0;
|
|
7772
|
+
padding:9px 11px;border-radius:9px;
|
|
7773
|
+
font-size:12px;line-height:17px;
|
|
7774
|
+
color:var(--dsw-alias-state-warn-primary,#f59e0b);
|
|
7775
|
+
background:rgba(245,158,11,.09);
|
|
7776
|
+
border:1px solid rgba(245,158,11,.3);
|
|
7777
|
+
}
|
|
7778
|
+
.dsm-workbuddy-expiry strong{font-weight:600}
|
|
7779
|
+
/* The instant, a notch quieter than the amount it belongs to: it answers a
|
|
7780
|
+
follow-up question, it is not the message. */
|
|
7781
|
+
.dsm-workbuddy-expiry-detail{
|
|
7782
|
+
font-size:11px;line-height:16px;font-weight:400;
|
|
7783
|
+
color:var(--dsw-alias-label-secondary,#c6c9d0);
|
|
7784
|
+
}
|
|
7764
7785
|
/* Ghost members (issue #60): the warning plus one removable chip per id. The
|
|
7765
7786
|
chips are what make the warning actionable — a ghost has no row in the table
|
|
7766
7787
|
above, because that roster is the sign-ins this machine still has. */
|
|
@@ -8863,6 +8884,17 @@ ${u} ${p}-pool .sw input:checked+.sw-track::after{transform:translateX(16px)}
|
|
|
8863
8884
|
.dsm-workbuddy-composer-panel-num{
|
|
8864
8885
|
text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;
|
|
8865
8886
|
}
|
|
8887
|
+
/* The "N lapsing within 3 days" warning, under the balance (issue #263).
|
|
8888
|
+
display:block is what puts it on its own line: the cell is a nowrap numeric
|
|
8889
|
+
column, so an inline span would sit beside the figure and stretch the column
|
|
8890
|
+
for every row in a 248px popover. Smaller and quieter than the balance it
|
|
8891
|
+
annotates, in the same warn tone the pool table uses for the same fact — one
|
|
8892
|
+
measurement must read the same on both surfaces. */
|
|
8893
|
+
.dsm-workbuddy-composer-panel-soon{
|
|
8894
|
+
display:block;margin-top:1px;
|
|
8895
|
+
font-size:11px;line-height:15px;font-weight:400;
|
|
8896
|
+
color:var(--dsw-alias-state-warn-primary,#f59e0b);
|
|
8897
|
+
}
|
|
8866
8898
|
.dsm-workbuddy-composer-panel-table thead th.dsm-workbuddy-composer-panel-num{padding-right:0}
|
|
8867
8899
|
.dsm-workbuddy-composer-panel-table tbody th{
|
|
8868
8900
|
padding:0;font-weight:400;text-align:left;vertical-align:middle;
|
|
@@ -12377,6 +12409,17 @@ ${u} ${p}-pool .sw input:checked+.sw-track::after{transform:translateX(16px)}
|
|
|
12377
12409
|
className: "dsm-workbuddy-usage-error",
|
|
12378
12410
|
children: t("row.creditsError", { message: status.creditsError })
|
|
12379
12411
|
}),
|
|
12412
|
+
status.credits === void 0 || status.credits.expiringSoon <= 0 ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
|
|
12413
|
+
className: "dsm-workbuddy-expiry",
|
|
12414
|
+
role: "status",
|
|
12415
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("row.creditExpirySoon", {
|
|
12416
|
+
accountName: nameOf(status.accountName),
|
|
12417
|
+
count: formatNumber(status.credits.expiringSoon)
|
|
12418
|
+
}) }), status.credits.nearestExpiryMs === void 0 ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
12419
|
+
className: "dsm-workbuddy-expiry-detail",
|
|
12420
|
+
children: t("row.creditExpiryEarliest", { time: formatDate(status.credits.nearestExpiryMs) })
|
|
12421
|
+
})]
|
|
12422
|
+
}),
|
|
12380
12423
|
status.refreshError === void 0 ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
12381
12424
|
className: "dsm-workbuddy-usage-error",
|
|
12382
12425
|
role: "alert",
|
|
@@ -13941,7 +13984,9 @@ ${u} ${p}-pool .sw input:checked+.sw-track::after{transform:translateX(16px)}
|
|
|
13941
13984
|
const usable = stateTone(availability) === "ok";
|
|
13942
13985
|
const currentMark = live ? t("composer.current") : void 0;
|
|
13943
13986
|
const reasonMark = usable ? void 0 : availabilityMark(t, availability);
|
|
13944
|
-
const
|
|
13987
|
+
const lapsing = row.credits === void 0 || row.expiringSoon === void 0 || row.expiringSoon <= 0 ? void 0 : t("row.poolCreditSoon", { count: formatCredits(row.expiringSoon) });
|
|
13988
|
+
const soonest = lapsing === void 0 || row.nearestExpiryMs === void 0 ? void 0 : t("composer.creditSoonHint", { time: formatShortClock(row.nearestExpiryMs) });
|
|
13989
|
+
const spoken = detailLine(live ? t("composer.current") : void 0, usable ? void 0 : availabilityLine(t, availability), soonest);
|
|
13945
13990
|
const whoLabel = spoken === void 0 ? row.accountName : `${row.accountName} — ${spoken}`;
|
|
13946
13991
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("tr", {
|
|
13947
13992
|
className: live ? "dsm-workbuddy-composer-panel-row-current" : void 0,
|
|
@@ -13977,9 +14022,12 @@ ${u} ${p}-pool .sw input:checked+.sw-track::after{transform:translateX(16px)}
|
|
|
13977
14022
|
})]
|
|
13978
14023
|
})]
|
|
13979
14024
|
})
|
|
13980
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.
|
|
14025
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("td", {
|
|
13981
14026
|
className: "dsm-workbuddy-composer-panel-num",
|
|
13982
|
-
children: row.credits === void 0 ? "—" : formatCredits(row.credits)
|
|
14027
|
+
children: [row.credits === void 0 ? "—" : formatCredits(row.credits), lapsing === void 0 ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
14028
|
+
className: "dsm-workbuddy-composer-panel-soon",
|
|
14029
|
+
children: lapsing
|
|
14030
|
+
})]
|
|
13983
14031
|
})]
|
|
13984
14032
|
}, row.id);
|
|
13985
14033
|
}) })]
|
|
@@ -15374,6 +15422,8 @@ ${u} ${p}-pool .sw input:checked+.sw-track::after{transform:translateX(16px)}
|
|
|
15374
15422
|
"row.poolLogBenefitFailed": "{accountName} claim failed: {message}",
|
|
15375
15423
|
"row.poolBenefitHint": "Claim it on the plans page: {url}",
|
|
15376
15424
|
"row.poolCreditSoon": "{count} expiring within 3 days",
|
|
15425
|
+
"row.creditExpirySoon": "{accountName}: {count} credits expiring within 3 days",
|
|
15426
|
+
"row.creditExpiryEarliest": "Earliest expiry: {time}",
|
|
15377
15427
|
"row.poolExcludedRateLimited": "Rate limited",
|
|
15378
15428
|
"row.poolExcludedModelBusy": "Model busy",
|
|
15379
15429
|
"row.poolExcludedOutOfCredit": "Out of credits",
|
|
@@ -15670,6 +15720,7 @@ ${u} ${p}-pool .sw input:checked+.sw-track::after{transform:translateX(16px)}
|
|
|
15670
15720
|
"composer.credits": "Credits",
|
|
15671
15721
|
"composer.switchTo": "Switch to {account}",
|
|
15672
15722
|
"composer.current": "In use",
|
|
15723
|
+
"composer.creditSoonHint": "Earliest expiry: {time}",
|
|
15673
15724
|
"composer.noAccounts": "No account in this region",
|
|
15674
15725
|
"composer.signedOut": "Not signed in",
|
|
15675
15726
|
"composer.openSettings": "Settings",
|
|
@@ -15941,6 +15992,8 @@ ${u} ${p}-pool .sw input:checked+.sw-track::after{transform:translateX(16px)}
|
|
|
15941
15992
|
"row.poolLogBenefitFailed": "{accountName} 领取失败:{message}",
|
|
15942
15993
|
"row.poolBenefitHint": "去套餐与积分页领取:{url}",
|
|
15943
15994
|
"row.poolCreditSoon": "{count} 积分 3 天内过期",
|
|
15995
|
+
"row.creditExpirySoon": "{accountName}:{count} 积分将在 3 天内过期",
|
|
15996
|
+
"row.creditExpiryEarliest": "最早到期:{time}",
|
|
15944
15997
|
"row.poolExcludedRateLimited": "被限流",
|
|
15945
15998
|
"row.poolExcludedModelBusy": "模型繁忙",
|
|
15946
15999
|
"row.poolExcludedOutOfCredit": "积分耗尽",
|
|
@@ -16237,6 +16290,7 @@ ${u} ${p}-pool .sw input:checked+.sw-track::after{transform:translateX(16px)}
|
|
|
16237
16290
|
"composer.credits": "积分",
|
|
16238
16291
|
"composer.switchTo": "切换到 {account}",
|
|
16239
16292
|
"composer.current": "当前选用",
|
|
16293
|
+
"composer.creditSoonHint": "最早到期:{time}",
|
|
16240
16294
|
"composer.noAccounts": "该区域暂无账号",
|
|
16241
16295
|
"composer.signedOut": "未登录",
|
|
16242
16296
|
"composer.openSettings": "设置",
|
|
@@ -11239,7 +11239,7 @@ function describeRosterSeenPayload(raw) {
|
|
|
11239
11239
|
//#endregion
|
|
11240
11240
|
//#region src/version.ts
|
|
11241
11241
|
/** The npm package version this build was produced from. */
|
|
11242
|
-
const WORKBUDDY_CONNECT_VERSION = "5.24.
|
|
11242
|
+
const WORKBUDDY_CONNECT_VERSION = "5.24.9";
|
|
11243
11243
|
//#endregion
|
|
11244
11244
|
//#region src/host-heartbeat.ts
|
|
11245
11245
|
/**
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as CREDENTIAL_REJECTED_CODE, $t as isBareBase64Image, A as withoutRouters, An as readAtRestKey, At as selectPromoBadge, B as defaultDesktopAuthPath, Bt as WorkBuddyVideoError, C as setDeviceMode, Cn as findWorkbuddyAppExecutable, Ct as prepareChatBody, D as applyContextBudgets, Dn as macosBundleExecutable, Dt as toolSchemaRejectAdvice, E as WorkBuddyCatalog, En as isWorkbuddyBundle, Et as rewriteSessionTitleModel, F as WorkBuddyCredentialStore, Fn as writeFileAtomic, Ft as offRefused, G as parseWorkBuddyAuth, Gt as IMAGE_TAG_IMAGE_TO_IMAGE, H as isEncryptedCredentialError, Ht as pickVideoModel, I as WorkBuddyEncryptedCredentialError, It as recordRefusal, J as workbuddyOwnAuthPath, Jt as WorkBuddyImageError, K as preferredAccountName, Kt as IMAGE_TAG_TEXT_TO_IMAGE, L as authFileName, Lt as withEffectiveOff, M as WORKBUDDY_AUTH_FILENAME, Mt as defaultOffModelIds, N as WORKBUDDY_AUTH_FILE_ENV, Nn as resolveDshHome, Nt as lastRefusalFor, O as deriveCatalog, On as macosNestedAppBundles, Ot as attachBusyLevels, Pn as withFileLock, Pt as offDefaultFor, Q as CONTEXT_OVERFLOW_MARKER, Qt as imageSizeLimitsOf, R as defaultDesktopAuthCandidates, Rt as VIDEO_TAG_IMAGE_TO_VIDEO, S as saveDeviceSdkSettings, Sn as fetchAtRestKeyPayload, St as perturbChannelFingerprints, T as FALLBACK_WORKBUDDY_MODELS_GLOBAL, Tn as isEncryptedFieldWrapper, Tt as requestEvidenceOf, U as isVaultAccountId, Ut as resolveVideoParams, V as hasEncryptedCredentialFields, Vt as parseSupportedSecondsRange, W as legacyWorkbuddyOwnAuthPath, Wt as IMAGE_SIZE_LIMITS_WIDE, X as APP_VERSION, Xt as imageMimeForPath, Yt as imageDataUrl, Z as BODY_OVERSIZE_MARKER, Zt as imageModelChoices, _ as createDeviceProfileLookup, _t as modelIdOfBody, a as readHostHeartbeat, an as queueNoticeText, at as classifyUpstreamError, b as readDeviceSettings, bn as deriveAtRestKey, bt as parseReasoning, c as WORKBUDDY_CONNECT_VERSION, cn as imageDefaultFor, dt as isContextTooLongBody, en as isWatermarkFreeImageModel, ft as isConversationIdGateBody, g as createTuringSdk, gt as knownRegionOf, h as createDeviceSdkPort, hn as isDeviceId, ht as isToolSchemaRejectBody, i as processStartTimeMs, in as parseQueueAnswer, it as channelGateMemberOf, j as ENCRYPTED_CREDENTIAL_CODE, jn as workbuddyAppExecutableCandidates, jt as REFUSES_OFF_MODEL_IDS, k as fallbackModelsFor, kn as openEncryptedField, kt as promoBadgeTone, l as createFileRosterSeenStore, ln as nativeModalityOf, lt as forceNeutralHead, m as piAiRuntimeInfo, mt as isFirstMessageGateBody, n as clearHostHeartbeat, nn as pickMediaModel, nt as WorkBuddyCredentialRejectedError, o as workbuddyHostHeartbeatPath, on as pruneTempDir, ot as declaredTools, p as resolveCnGateway, pt as isCredentialRejectedError, q as workbuddyAccountId, qt as MAX_INPUT_IMAGE_BYTES, r as isHeartbeatProcessAlive, rn as sniffImageMime, rt as WorkBuddyUpstreamClient, s as writeHostHeartbeat, sn as NATIVE_MODALITY_BY_MODEL_ID, st as deriveStableConversationId, t as WORKBUDDY_HOST_HEARTBEAT_FILENAME, tn as parseImageDataUrl, tt as WORKBUDDY_FALLBACK_SYSTEM_PROMPT, ut as isBodyOversizeRefusal, v as describeDerivedDevices, vn as WORKBUDDY_APP_EXECUTABLE_ENV, vt as openingEvidenceOfBody, w as FALLBACK_WORKBUDDY_MODELS, wt as regionOf, x as saveDeviceProfile, xn as deriveAtRestKeyId, xt as parseUpstreamModel, y as isDeviceMode, yn as clearAtRestKeyCache, yt as parseCreditMultiplier, z as defaultDesktopAuthDirs, zt as VIDEO_TAG_TEXT_TO_VIDEO } from "./host-heartbeat-
|
|
1
|
+
import { $ as CREDENTIAL_REJECTED_CODE, $t as isBareBase64Image, A as withoutRouters, An as readAtRestKey, At as selectPromoBadge, B as defaultDesktopAuthPath, Bt as WorkBuddyVideoError, C as setDeviceMode, Cn as findWorkbuddyAppExecutable, Ct as prepareChatBody, D as applyContextBudgets, Dn as macosBundleExecutable, Dt as toolSchemaRejectAdvice, E as WorkBuddyCatalog, En as isWorkbuddyBundle, Et as rewriteSessionTitleModel, F as WorkBuddyCredentialStore, Fn as writeFileAtomic, Ft as offRefused, G as parseWorkBuddyAuth, Gt as IMAGE_TAG_IMAGE_TO_IMAGE, H as isEncryptedCredentialError, Ht as pickVideoModel, I as WorkBuddyEncryptedCredentialError, It as recordRefusal, J as workbuddyOwnAuthPath, Jt as WorkBuddyImageError, K as preferredAccountName, Kt as IMAGE_TAG_TEXT_TO_IMAGE, L as authFileName, Lt as withEffectiveOff, M as WORKBUDDY_AUTH_FILENAME, Mt as defaultOffModelIds, N as WORKBUDDY_AUTH_FILE_ENV, Nn as resolveDshHome, Nt as lastRefusalFor, O as deriveCatalog, On as macosNestedAppBundles, Ot as attachBusyLevels, Pn as withFileLock, Pt as offDefaultFor, Q as CONTEXT_OVERFLOW_MARKER, Qt as imageSizeLimitsOf, R as defaultDesktopAuthCandidates, Rt as VIDEO_TAG_IMAGE_TO_VIDEO, S as saveDeviceSdkSettings, Sn as fetchAtRestKeyPayload, St as perturbChannelFingerprints, T as FALLBACK_WORKBUDDY_MODELS_GLOBAL, Tn as isEncryptedFieldWrapper, Tt as requestEvidenceOf, U as isVaultAccountId, Ut as resolveVideoParams, V as hasEncryptedCredentialFields, Vt as parseSupportedSecondsRange, W as legacyWorkbuddyOwnAuthPath, Wt as IMAGE_SIZE_LIMITS_WIDE, X as APP_VERSION, Xt as imageMimeForPath, Yt as imageDataUrl, Z as BODY_OVERSIZE_MARKER, Zt as imageModelChoices, _ as createDeviceProfileLookup, _t as modelIdOfBody, a as readHostHeartbeat, an as queueNoticeText, at as classifyUpstreamError, b as readDeviceSettings, bn as deriveAtRestKey, bt as parseReasoning, c as WORKBUDDY_CONNECT_VERSION, cn as imageDefaultFor, dt as isContextTooLongBody, en as isWatermarkFreeImageModel, ft as isConversationIdGateBody, g as createTuringSdk, gt as knownRegionOf, h as createDeviceSdkPort, hn as isDeviceId, ht as isToolSchemaRejectBody, i as processStartTimeMs, in as parseQueueAnswer, it as channelGateMemberOf, j as ENCRYPTED_CREDENTIAL_CODE, jn as workbuddyAppExecutableCandidates, jt as REFUSES_OFF_MODEL_IDS, k as fallbackModelsFor, kn as openEncryptedField, kt as promoBadgeTone, l as createFileRosterSeenStore, ln as nativeModalityOf, lt as forceNeutralHead, m as piAiRuntimeInfo, mt as isFirstMessageGateBody, n as clearHostHeartbeat, nn as pickMediaModel, nt as WorkBuddyCredentialRejectedError, o as workbuddyHostHeartbeatPath, on as pruneTempDir, ot as declaredTools, p as resolveCnGateway, pt as isCredentialRejectedError, q as workbuddyAccountId, qt as MAX_INPUT_IMAGE_BYTES, r as isHeartbeatProcessAlive, rn as sniffImageMime, rt as WorkBuddyUpstreamClient, s as writeHostHeartbeat, sn as NATIVE_MODALITY_BY_MODEL_ID, st as deriveStableConversationId, t as WORKBUDDY_HOST_HEARTBEAT_FILENAME, tn as parseImageDataUrl, tt as WORKBUDDY_FALLBACK_SYSTEM_PROMPT, ut as isBodyOversizeRefusal, v as describeDerivedDevices, vn as WORKBUDDY_APP_EXECUTABLE_ENV, vt as openingEvidenceOfBody, w as FALLBACK_WORKBUDDY_MODELS, wt as regionOf, x as saveDeviceProfile, xn as deriveAtRestKeyId, xt as parseUpstreamModel, y as isDeviceMode, yn as clearAtRestKeyCache, yt as parseCreditMultiplier, z as defaultDesktopAuthDirs, zt as VIDEO_TAG_TEXT_TO_VIDEO } from "./host-heartbeat-CgkojTgC.js";
|
|
2
2
|
import z from "@deepseek-ai/schemastery";
|
|
3
3
|
import { appendFile, mkdir, open, readFile, rename, rm, stat, writeFile } from "node:fs/promises";
|
|
4
4
|
import { randomBytes, randomUUID, timingSafeEqual } from "node:crypto";
|
|
@@ -12141,6 +12141,13 @@ function volatileFlagOf(field) {
|
|
|
12141
12141
|
* carries NO `credits` field rather than `0`, so the panel renders "—" instead
|
|
12142
12142
|
* of telling the user they are out of credits.
|
|
12143
12143
|
*
|
|
12144
|
+
* Each row also carries how much of that balance lapses within three days
|
|
12145
|
+
* (issue #263). This route is the only place the panel can learn it: the pool
|
|
12146
|
+
* block covers pool MEMBERS only, and an account outside the pool is exactly
|
|
12147
|
+
* the one whose expiring credits would otherwise go unmentioned. The whole
|
|
12148
|
+
* answer is kept rather than just `total` for that reason — the expiry split is
|
|
12149
|
+
* already computed by the same read, so forwarding it costs no extra call.
|
|
12150
|
+
*
|
|
12144
12151
|
* Failures are contained per account: one dead credential must not blank the
|
|
12145
12152
|
* table for the accounts that are fine.
|
|
12146
12153
|
*/
|
|
@@ -12150,13 +12157,15 @@ async function workBuddyAccountCredits(deps, region) {
|
|
|
12150
12157
|
const exclusions = await deps.accountExclusions?.(region).catch(() => void 0) ?? {};
|
|
12151
12158
|
return Promise.all(accounts.map(async (account) => {
|
|
12152
12159
|
const credential = await store.credentialFor(account.id).catch(() => void 0);
|
|
12153
|
-
const
|
|
12160
|
+
const answer = credential === void 0 ? void 0 : await deps.client.fetchCredits(credential).catch(() => void 0);
|
|
12154
12161
|
const excludedBy = exclusions[account.id];
|
|
12155
12162
|
return {
|
|
12156
12163
|
id: account.id,
|
|
12157
12164
|
accountName: account.accountName,
|
|
12158
12165
|
selected: account.selected,
|
|
12159
|
-
...
|
|
12166
|
+
...answer === void 0 ? {} : { credits: answer.total },
|
|
12167
|
+
...answer === void 0 ? {} : { expiringSoon: answer.expiringSoon },
|
|
12168
|
+
...answer?.nearestExpiryMs === void 0 ? {} : { nearestExpiryMs: answer.nearestExpiryMs },
|
|
12160
12169
|
...excludedBy === void 0 ? {} : { excludedBy }
|
|
12161
12170
|
};
|
|
12162
12171
|
}));
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "dsh-connect-workbuddy",
|
|
3
3
|
"displayName": "DSH Connect WorkBuddy",
|
|
4
4
|
"description": "把本机登录的 WorkBuddy 模型(国内版与国际版)接入 DeepSeek Harness:每次刷新按上游目录自动读取每个模型的积分倍率,支持逐模型图片输入开关、多账号切换与账号池自动换号,并提供每日签到、卡片与输入框里的胶囊积分读数等只读积分概览。",
|
|
5
|
-
"version": "5.24.
|
|
5
|
+
"version": "5.24.9",
|
|
6
6
|
"author": "dingminhua",
|
|
7
7
|
"copyright": "Copyright (c) 2026 LaoDing",
|
|
8
8
|
"license": "MIT",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"locale",
|
|
45
45
|
"docs/assets",
|
|
46
46
|
"docs/PRIVACY.md",
|
|
47
|
+
"docs/STABLE-KEY-SEMANTICS.md",
|
|
47
48
|
"screenshots.json",
|
|
48
49
|
"cordis.patch.yml",
|
|
49
50
|
"README.md",
|