DSH Forge v0.3.0
中文
DSH Forge v0.3.0 将官方发行组合升级到 DSH 0.1.2-alpha.4 与 Cordis 4.0.2:窗口必须加载 Host 签发的带 token loopback URL,官方 agent preset 改从独立包注入,旧会话投影缓存和死进程 credentials 锁不再阻断启动。
本版本包含
- 固定 runtime 组合升级为 DSH
0.1.2-alpha.4、Cordis4.0.2;dsh-forge-official与developer两个 profile、工具链RUNTIME_MATRIX和根锁文件同步到同一精确版本。 - 官方外部 bundle 升级为
dsh-better-sidebar@0.18.0-alpha.0与dsh-dream-skin@8.30.1,catalog 同步版本、integrity、依赖摘要和2026-09-02的darwin-arm64审核事实。sidebar 不使用 npm latest0.17.1,因为该版本无法加载当前 Host。 - 官方 agent preset 从
@deepseek-ai/dsh-agent-presets的presets/注入;启动器不再读取@deepseek-ai/dsh/config/agent-presets。缺少该包或standard组合文件时,Host 启动前失败。 - 窗口只加载 Host
connection.authenticatedUrl()返回的当前 loopback 根 URL,且必须带且仅带一个非空token。无 token 的http://127.0.0.1:<port>/会被上游鉴权成 401,启动器拒绝离开当前 origin、缺少 token 或无效 URL。 - Host boot 前把
DSH_HOME对齐到本次 generation 的 Home。检测到仍被存活进程持有的.credentials.yaml.lock时立即以DSH_HOME_BUSY失败,不删除活锁;死进程锁和对应临时文件会在 boot 前清理。 0.1.2的session_projcache新增 identity 字段后,旧缓存会使 Host 无法加载。启动器在该 schema 失败时把storages/session_projcache移出运行路径并重试一次;会话正文仍在sessions/,缓存可从日志重建。- 文档站与根 README 重写项目定位、安装路径和核心分层说明,并增加中英文总览图。仓库新增
dsh-forge-add-pluginskill,以及 GitHub star-history 工作流(浅色/深色 SVG)。
升级与安全边界
- 本版本绑定的是 DSH 预发布
0.1.2-alpha.4,不是把 npmlatest(仍指向0.1.1-rc.2)写成当前发行事实。 - 当前发行包仍不提供页面端插件市场、在线下载或运行时安装。
dsh-better-sidebar的“添加插件”只复制安装命令并打开仓库链接,不改变该边界。 - catalog 的
verifiedOn只记录本次实际验证的darwin-arm64。未覆盖darwin-x64、Windows 和 Linux,不得视为已通过。 - Electron
43.4.0、pnpm11.7.0和 Node 引擎要求未变。插件执行模式仍是trusted-in-process。 - 窗口仍只允许当前 generation 的 loopback authority;token 只用于加载鉴权根 URL,页面不会因此获得安装包路径、helper 命令或升级重启 token。
感谢所有参与 DSH 0.1.2-alpha.4 适配与文档整理的贡献者。
English
DSH Forge v0.3.0 upgrades the official distribution to DSH 0.1.2-alpha.4 and Cordis 4.0.2. The window must load a Host-issued loopback URL with a token, official agent presets come from a dedicated package, and stale session projection caches or dead credential locks no longer block startup.
What's included
- The pinned runtime set is now DSH
0.1.2-alpha.4and Cordis4.0.2. Bothdsh-forge-officialanddeveloperprofiles, the toolchainRUNTIME_MATRIX, and the root lockfile move to the same exact versions. - Official external bundles are now
dsh-better-sidebar@0.18.0-alpha.0anddsh-dream-skin@8.30.1. Catalog records version, integrity, dependency summaries, and the2026-09-02darwin-arm64audit facts. Sidebar does not use npm latest0.17.1, which cannot load the current Host. - Official agent presets are injected from
@deepseek-ai/dsh-agent-presetspresets/. The launcher no longer reads@deepseek-ai/dsh/config/agent-presets. Missing that package or thestandardcomposition fails before Host start. - The window loads only the current loopback root URL from Host
connection.authenticatedUrl(), which must include exactly one non-emptytoken. Unauthenticatedhttp://127.0.0.1:<port>/is rejected by upstream as 401. The launcher rejects URLs that leave the current origin, omit the token, or are invalid. - Host boot aligns
DSH_HOMEwith this generation’s Home. A.credentials.yaml.lockstill held by a live process fails immediately withDSH_HOME_BUSYand is not deleted. Dead-process locks and matching temp files are cleaned before boot. 0.1.2adds identity fields tosession_projcache; an old cache prevents Host load. On that schema failure the launcher movesstorages/session_projcacheoff the runtime path and retries once. Session bodies remain insessions/; the cache can be rebuilt from logs.- Root README and the docs site rewrite project positioning, install paths, and layering, with new Chinese and English overview images. The repo adds the
dsh-forge-add-pluginskill and a GitHub star-history workflow (light/dark SVG).
Upgrade and security boundaries
- This release pins DSH prerelease
0.1.2-alpha.4. npmlateststill points at0.1.1-rc.2and is not the current distribution fact. - Packaged apps still have no in-page plugin marketplace, online download, or runtime install.
dsh-better-sidebar“add plugin” only copies an install command and opens the repository link; it does not change that boundary. - Catalog
verifiedOnrecords only the platform actually verified this time:darwin-arm64.darwin-x64, Windows, and Linux were not covered and must not be treated as passed. - Electron
43.4.0, pnpm11.7.0, and the Node engine requirement are unchanged. Plugin execution remainstrusted-in-process. - The window still allows only the current generation’s loopback authority. The token is used only to load the authenticated root URL; the page still does not receive package paths, helper commands, or upgrade restart tokens.
Thank you to everyone who contributed to the DSH 0.1.2-alpha.4 adaptation and documentation updates.