dsh-xdpool 3.0.7 → 3.0.8
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 +2432 -2361
- package/LICENSE +21 -21
- package/README.en.md +308 -308
- package/README.md +12 -1
- package/cordis.patch.yml +24 -24
- package/lib/bin.js +699 -32
- package/lib/client.js +1125 -135
- package/lib/index.d.ts +468 -7
- package/lib/index.js +5392 -478
- package/package.json +1 -1
- package/screenshots.json +9 -9
- package/scripts/extract-design-css.mjs +322 -322
- package/scripts/link-host-peers.mjs +359 -359
- package/scripts/make-rail-icons.mjs +46 -46
- package/scripts/probe-channels.mjs +142 -142
- package/vendor/channel-pack/LICENSE +21 -21
- package/vendor/channel-pack/NOTICE.md +53 -53
- package/vendor/channel-pack/pack.js +243 -45
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
## 更新公告
|
|
11
11
|
|
|
12
|
-
**3.0.
|
|
12
|
+
**3.0.8** — 账号昵称与模型列表按渠道读取、优先账号开关、CodeArts 图片输入、登录签到提速。
|
|
13
13
|
|
|
14
14
|
- 修复账号池页整页错乱:账号卡回到详情列里,只在选中 WorkBuddy 国内版/国际版时显示
|
|
15
15
|
- 修复一键更新「更新了但版本号一直没变」:现在会同步 lockfile 和 node_modules,不再被 DSH 启动时装回旧版
|
|
@@ -291,6 +291,17 @@ xdpool:
|
|
|
291
291
|
distribution: sticky
|
|
292
292
|
```
|
|
293
293
|
|
|
294
|
+
## 开发文档
|
|
295
|
+
|
|
296
|
+
给以后改代码的人(包括 AI)画的一幅地图,改功能前先看对应的文档,别靠猜:
|
|
297
|
+
|
|
298
|
+
- [文档地图](docs/MAP.md) —— 总索引,按「要改什么」找到该读哪份
|
|
299
|
+
- [技术栈与构建](docs/TECH-STACK.md) —— 依赖、构建产物、测试、发布、版本号
|
|
300
|
+
- [系统架构](docs/ARCHITECTURE.md) —— 数据流、两个池、启动顺序、持久化、定时任务
|
|
301
|
+
- [HTTP 接口](docs/API.md) —— 所有路由、请求/响应、副作用、来源校验
|
|
302
|
+
- [前端结构](docs/FRONTEND.md) —— 页面结构、组件、样式来源、界面坑
|
|
303
|
+
- [运维与故障定位](docs/OPERATIONS.md) —— 数据文件、日志、升级回滚、故障矩阵
|
|
304
|
+
|
|
294
305
|
## 架构
|
|
295
306
|
|
|
296
307
|
- **宿主侧**(`src/`,跑在 DSH 主进程里)
|
package/cordis.patch.yml
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# Register the XD Pool provider. Discovery is read-only: the plugin reuses the
|
|
2
|
-
# WorkBuddy desktop app's own sign-in files and never starts a separate OAuth
|
|
3
|
-
# flow. Requests rotate across every discovered account.
|
|
4
|
-
- insert:
|
|
5
|
-
- id: llm-xdpool
|
|
6
|
-
name: dsh-xdpool
|
|
7
|
-
#
|
|
8
|
-
# billion-context is gone from this plugin, and so is the row that used to sit
|
|
9
|
-
# here (`billion-context-xdpool`, kept disabled).
|
|
10
|
-
#
|
|
11
|
-
# 2.0.0 inserted that row so a profile without the compressor would get one for
|
|
12
|
-
# free. Measured against a profile that had ALREADY installed billion-context —
|
|
13
|
-
# the normal state for anyone using it, since `bili-native` comes from that
|
|
14
|
-
# plugin's own `dsh.bundle.patch.yml` — the host did not disable the duplicate
|
|
15
|
-
# and did not resolve it to a no-op: it ran the fiber to `failed`, because the
|
|
16
|
-
# plugin registers a cordis service under its own name and a second registration
|
|
17
|
-
# is refused outright (`service "…" has been registered at <…>`). Every user who
|
|
18
|
-
# had installed it got a permanently failed entry, unexplained, pointing at us.
|
|
19
|
-
#
|
|
20
|
-
# The follow-up kept the row, disabled, "for addressability". That was the wrong
|
|
21
|
-
# trade: it left a name in this file for a feature the plugin no longer has, and
|
|
22
|
-
# the page that read it (`billion-context`) is deleted too. Installing the
|
|
23
|
-
# compressor is its own decision, made by installing it — which is the
|
|
24
|
-
# arrangement that always worked.
|
|
1
|
+
# Register the XD Pool provider. Discovery is read-only: the plugin reuses the
|
|
2
|
+
# WorkBuddy desktop app's own sign-in files and never starts a separate OAuth
|
|
3
|
+
# flow. Requests rotate across every discovered account.
|
|
4
|
+
- insert:
|
|
5
|
+
- id: llm-xdpool
|
|
6
|
+
name: dsh-xdpool
|
|
7
|
+
#
|
|
8
|
+
# billion-context is gone from this plugin, and so is the row that used to sit
|
|
9
|
+
# here (`billion-context-xdpool`, kept disabled).
|
|
10
|
+
#
|
|
11
|
+
# 2.0.0 inserted that row so a profile without the compressor would get one for
|
|
12
|
+
# free. Measured against a profile that had ALREADY installed billion-context —
|
|
13
|
+
# the normal state for anyone using it, since `bili-native` comes from that
|
|
14
|
+
# plugin's own `dsh.bundle.patch.yml` — the host did not disable the duplicate
|
|
15
|
+
# and did not resolve it to a no-op: it ran the fiber to `failed`, because the
|
|
16
|
+
# plugin registers a cordis service under its own name and a second registration
|
|
17
|
+
# is refused outright (`service "…" has been registered at <…>`). Every user who
|
|
18
|
+
# had installed it got a permanently failed entry, unexplained, pointing at us.
|
|
19
|
+
#
|
|
20
|
+
# The follow-up kept the row, disabled, "for addressability". That was the wrong
|
|
21
|
+
# trade: it left a name in this file for a feature the plugin no longer has, and
|
|
22
|
+
# the page that read it (`billion-context`) is deleted too. Installing the
|
|
23
|
+
# compressor is its own decision, made by installing it — which is the
|
|
24
|
+
# arrangement that always worked.
|