Skip to content

Releases: csiroqa/dsh-plugin-forge

Release list

v0.1.0

Choose a tag to compare

@csiroqa csiroqa released this 15 Aug 22:33

新增

  • forge_plugin 工具:AI 在执行任务时自发判断能力缺口并生成插件——子代理开发(staging 内)→ 迁移为「项目根/dsh-plugins/」独立 git 仓库 → 功能完成即英文 Conventional Commit → 登记 $DSH_HOME/plugin-forge.json → 自动装入当前 profile → 热挂载当前会话(本会话立即可用,agent 无需重启)
  • /forge status:列出已创建仓库(路径 / HEAD / 工作区状态 / 最近提交 / 累计提交数)
  • 防重复:子代理开发前自检 registry 与 dsh-plugins/,需求与既有插件重复则拒绝新建并返回 existingName,迭代走 update=true
  • update 模式:同步删除目标仓库中已移除的源文件,link/CI 中 deepseek-harness 路径按目标深度改写

优化

  • 加载冒烟全覆盖:真实 cordis Context 执行 apply,拦截 apply 期崩溃(真实事故:命令 input.hint 为空导致 DSH 启动即崩);commands/tools 精确复刻校验,其余注入服务以宽容占位兜底——任何 inject 组合的 apply 期错误都在交付前拦截
  • 宿主工具名冲突拦截:工具名与宿主已有工具同名时跨 scope 注册不报错但模型侧遮蔽,加载冒烟与热挂载双重拦截
  • 热挂载:内容感知 cache-busting(mtime+size),未变更时复用 ESM 缓存;缺注入服务时拒绝挂载并给出重启方案
  • 质量门:staging typecheck/test/build → 迁移后目标重装重建 → main/types 存在校验 → 拒绝 registry 版 @deepseek-ai/* 依赖 → 提交前 diff 检查

兼容性

  • 平台:Windows / macOS / Linux(Node >= 22)——三平台 CI 验证(harness 库构建 + typecheck + 单测 + 构建 + 冒烟)
  • 依赖以 link: 指向本地 deepseek-harness 检出(vendor/cordispackages/* 构建产物)

注意事项

  • forge 会启动子代理、联网 pnpm install、在目标目录构建、执行 git commit——只传可信需求
  • 提交后不自动 push/tag/release;不自动修改 profile(autoInstall 默认 true,install:false 可关闭单次)
  • 子代理只写 staging(工作区内)