Files
zhu1090093659 dc7e26b9f0 refactor(shared): drop dead shared artifacts and realign references
- Remove the sync-manifest entry for shared/host/run-guarded.ts and the three
  generated copies under packages/{dsh-usage,dsh-task-board,dsh-git-graph}/src/host/:
  nothing in this repository imported the module (the satellite repositories
  carry their own copies), so the entry only kept three unread files in sync.
  The shared source and its spec stay.
- Delete the unused mobileBundle helper and its node:module createRequire import
  from shared/tsdown.client.ts; the standalone mobile bundle has been gone since
  0.4.0.
- Update the sync composition guard in scripts/sync-shared.test.mjs (99 -> 96
  copies, 48 -> 45 host copies) and refresh scripts/lib-artifact-fingerprints.json.
- Re-point the notes, READMEs, CONTRIBUTING and docs that still linked the
  skin-center contract files to the dsh-skins repository, and prune the stale
  screenshots.
- Record the decision in
  .agents/notes/implemented/simplification/2026-09-26-dead-shared-artifacts-removed.md
  and correct the run-guarded facts in the aggregate fault-isolation note.
2026-09-27 20:47:07 +08:00

4.5 KiB
Raw Permalink Blame History

dsh-web 发布准备 (Release Preparation)

范围

本版本统一发布 packages/ 下由 scripts/lib/family-packages.mjs 发现的 16 个公开家族包;根 package.json 与 shared 私有包不发布,根的 version 与家族包同步 bump(git 安装仓库根别名 bundle 时,插件管理器显示的就是它)。所有家族包采用统一版本号(当前为 0.4.3),皮肤中心只随包分发 blue-fantasy,其余皮肤由 Workshop 按需安装。

皮肤中心、宠物、社区插件索引与预设中心已拆分为独立仓库并各自发版:@linxin666/dsh-client-ui-skin-center(dsh-skins)、@linxin666/dsh-pet(dsh-pet)、@linxin666/dsh-client-ui-community-plugins(dsh-community-plugins)、@linxin666/dsh-client-ui-preset-center(dsh-presets)。本仓的聚合包按 semver 依赖它们,satellites/ 下各 submodule 的 gitlink 固定市场站要拉取的内容。四个卫星仓与本仓发布同一个版本号:卫星先发、本仓后发,聚合包的依赖范围、锁定条目与 gitlink 随对齐一起更新,逐步流程见 dsh-web-release 技能。

目录 npm 包 版本 发布状态
packages/dsh-git-graph @linxin666/dsh-client-ui-git-graph 0.4.3 public
packages/dsh-i18n @linxin666/dsh-i18n 0.4.3 public
packages/dsh-liangshen @linxin666/dsh-liangshen 0.4.3 public
packages/dsh-market @linxin666/dsh-client-ui-market 0.4.3 public
packages/dsh-model-capabilities @linxin666/dsh-client-ui-model-capabilities 0.4.3 public
packages/dsh-plugin-manager @linxin666/dsh-client-ui-plugin-manager 0.4.3 public
packages/dsh-remote-web-ui @linxin666/dsh-remote-web-ui 0.4.3 public
packages/dsh-session-archive @linxin666/dsh-session-archive 0.4.3 public
packages/dsh-session-id @linxin666/dsh-client-ui-session-id 0.4.3 public
packages/dsh-skill-explorer @linxin666/dsh-client-ui-skill-explorer 0.4.3 public
packages/dsh-ssh @linxin666/dsh-ssh 0.4.3 public
packages/dsh-task-board @linxin666/dsh-client-ui-task-board 0.4.3 public
packages/dsh-update @linxin666/dsh-update 0.4.3 public
packages/dsh-usage @linxin666/dsh-usage 0.4.3 public
packages/dsh-web-all @linxin666/dsh-web-all 0.4.3 public
packages/dsh-web-settings @linxin666/dsh-client-ui-web-ui-settings 0.4.3 public

外部依赖与迁移说明

  • alpha 分支的聚合包没有任何外部依赖:dsh-better-sidebar@0.19.1(2026-09-11 发布的稳定版本)的 peer 区间 ^0.1.5-rc.1 不覆盖本分支的 0.1.7-rc.2 cohort,故 aggregate.yml 不再声明该行、package.json 不再依赖它、锁定它的 minimumReleaseAgeExclude 条目也已删除;右侧面板改为按需安装。稳定线 dev 仍内置 0.19.1 并保留对应锁定条目。
  • 历史聚合包命名迁移:从 @linxin666/dsh-web-ui-all 向 @linxin666/dsh-web-all 的迁移已在 0.3.3 完成并弃用旧包名,当前统一发布 @linxin666/dsh-web-all。

兼容性边界

所有 web-ui-* bundle id、dsh-web-ui-market、/api/dsh-web-ui-settings 与 dsh-web-ui-settings-proxy-token 请求头保持冻结。Doctor 迁移与插件管理器迁移采用共享映射;Doctor 经受限 cmd.exe 参数调用 Windows .cmd shim。直接执行 dsh web 旁路 Doctor 迁移。皮肤中心对当前工坊安装保持来源验证路径,仅当已安装 manifest 与钩子字节匹配审查通过的生成标识时才恢复预置钩子效果;该门禁已随皮肤中心迁至 dsh-skins 仓。创意工坊目录包含声明式 whalechan-harness 皮肤(本地 CC BY-NC-SA 4.0 资产,无执行钩子),其细粒度生成类选择器作为明确记录的前端重新构建兼容性边界保留。

本版本具有全新安装、单元迁移与 Linux CI 挂载证据。

发布检查门禁

pnpm sync-shared:check
pnpm typecheck
pnpm test
pnpm test:scripts
pnpm aggregate:check
pnpm runtime-deps:check
pnpm docs:check
pnpm i18n:check
pnpm market:fetch
pnpm market:check
pnpm libs:check
pnpm build
node scripts/verify-version.mjs 0.4.3

CI 与发布挂载冒烟测试挂载目标为 @deepseek-ai/dsh@0.1.7-rc.2,与家族包通过 dsh.engines.dsh >=0.1.7-rc.2 声明的最低宿主版本一致。