Skip to content

v0.2.0 - Initial release

Choose a tag to compare

@CrazyPigHead CrazyPigHead released this 28 Sep 08:28
· 1 commit to main since this release

首个公开版本。

功能

  • MCP 服务器加载:读取 ~/.agents/mcp.json,为每个启用的服务器创建 dsh-mcp-client 子 fiber,工具以 mcp__<server>__<tool> 注册;支持 http(streamable-http)与 stdio 两种 transport,环境变量占位符插值
  • 斜杠命令:~/.agents/commands/*.md 每个文件注册一个命令,frontmatter description 作为命令描述,触发时正文注入 agent
  • AGENTS.md 迁移:首次运行时将 ~/.agents/AGENTS.md 软链到 ~/.dsh/AGENTS.md,接入 dsh 原生 agent instructions
  • 热重载:内置 fs.watch + 500ms 防抖,mcp.json / commands/ 变更后自动销毁并重建全部动态资源,无需重启

兼容性

  • 适配 dsh 0.1.7-rc.2(cordis 4.0.4),peer 依赖精确锁定
  • Node.js >= 20

安装方式见 README。