Replies: 5 comments 3 replies
|
Excellent catalog — this is exactly what the ecosystem needs. I maintain a related umbrella from first-responder verification on the community threads, and three of its members are missing from your table. All three are verified against upstream and each already crashed or broke a real third-party plugin this week. Suggesting them as additions (they fall under your "三.3 其他不带!但影响面的改动" bucket but have export-level consequences that row doesn't convey): 1. 2. LLM adapter duck-typed registration: optional base-class methods are unguarded at runtime (present in alpha.4). 3. client-modules bundle registration id vs package name (#5235). One platform gap worth stating for authors (from #5363): the loader rethrows the first entry-import failure and aborts the whole tree ( The encouraging half of your data matches my umbrella's conclusion exactly: the three crashes above all trace to registration/import-time validation checking metadata but not the method/export surface, and the fix direction is a single normalization seam, not per-plugin shims. If you want, I can cross-check future editions of this catalog against the upstream alpha diffs as they land — keeping this thread as the canonical migration map would save every plugin author from rediscovering these one crash at a time. |
|
整理了一个针对这 5 个 QVD 的社区补丁仓库(基于 0.1.2-alpha.2):52631/52632/52644/52646 四个有源码修复,57410 是版本核验;附逐项说明、Windows 一键验证脚本和 SHA-256。52632 的进程级读面残留也如实标注了,非官方发布,仅供参考。https://github.com/Delafroms/dsh-qvd-fixes |
|
补充两个第三方插件在 alpha 期的断点数据(供插件作者参考):
|
|
此讨论欢迎随着版本更新进行更多的补充,这几天官方更新很快 |
|
现在已经rc了。 |
Uh oh!
There was an error while loading. Please reload this page.
一、时间线与规模
官方在 5 天内连发了 4 个 alpha 版本:
dsh-v0.1.2-alpha.1dsh-v0.1.2-alpha.2dsh-v0.1.2-alpha.3!破坏性 session 重构dsh-v0.1.2-alpha.4alpha.1 → alpha.4 之间共 648 个提交。按目录改动量 top:packages/client(~1347 次文件改动)、session(~539)、code-runtime(~407)、subagent(~321)、api(~318)。
尚未出 rc:ls-remote --tags里没有 0.1.2-rc.*,最新仍是 alpha。
二、rc.2 → alpha.1 的破坏性改动(第一波,对插件影响最大)
这是从稳定版 rc.2 跳到 0.1.2 时,插件最先撞上的破坏。LMA 的 9 处适配里,绝大部分针对这一段。
1.
@deepseek-ai/dsh-client-runtime被拆散ClientContext→ cordis 的 Context(@deepseek-ai/dsh-client-runtime/client 没了)ConversationSnapshot移到 ui-conversation,且结构变了(chat.legacy.nodes信号搬到了 ChatSnapshot.legacy.nodes)dsh.client.inject数组、peerDeps、devDeps、tsconfig references 里所有dsh-client-runtime引用都要改。2. agent-presets 目录迁移
apps/cli/config/agent-presets/整体迁到packages/preset/agent-presets/presets/。memory-body-presetrow)要从旧路径的agent.cordis.yml搬到新路径。3. ApiProxy 移除 + Remote 网关重构
4. code-mode 改名 ptc
三、alpha.1 → alpha.4 的破坏性改动(! 标记的 refactor)
这是对插件作者影响最大的部分,逐条列出:
1.
refactor(session)!: remove SQLite persistence backend(alpha.2 → alpha.3)2.
refactor(session)!: distinguish event seqs from log offsets(alpha.3 → alpha.4)3. 其他不带!但影响面的改动
refactor(client): bind keyed chat sources in rendererrefactor(session-projection): compare per-step views instead of storing a dedup baselinerefactor(consumers): remove cross-package runtime relays/refactor(services): move shared values behind service APIs/refactor(values): make shared primitives duplicate-install saferefactor(client): share conversation context initializationfeat(presets): omit workflow from PTC mode三、对「依赖 dsh 的部分插件」的影响(以本人自己的(LMA)为例,大家可补充)
1. LMA(@szx-a/dsh-layered-memory-architecture)—— 作者自测
**结论:alpha.1 上做的 9 处适配,到 alpha.4 原样成立,零改动跑通。**https://github.com/szx-a/ds
packages/memory/源码:官方 648 个提交对它 0 改动,直接放回即可。ChatSnapshot.legacy.nodes(ui-chat/src/client/contract/snapshot.ts)useChat: UseChat(ui-chat/src/client/contract/slots.ts`的 SessionStandardProps)SnapshotSelectorHook/SessionIdOf(ui-slots/src/index.ts)dsh web干净启动。踩坑记录(供其他插件作者避雷):更新到 alpha.4 后首次构建报 ”MISSING_EXPORT: "FIRST_PARTY_SECTION_ORDER“ —— 这是 alpha.1 旧 API(alpha.4 已改名 SECTION_ORDERS),报错来自 lib/ 里残留的旧构建产物,不是代码错。解法:pnpm run clean清旧产物再重新构建。
官方 alpha 迭代太快,5 天 4 版,追了容易反复返工(本人,这几天,从自己的插件架构和功能改进测试,转到了做兼容适配)
四、给插件作者的判断建议
五、关键结论
All reactions