kittimzhe/dsh-plugin-authoring-guide

dsh-plugin-authoring-guide

Hands-on guide to building a DeepSeek Harness plugin (EN/ZH) — real code & pitfalls from dsh-session-export and dsh-session-recall

未分類deepseek-agentdeepseek-harnesstutorial

Building a DeepSeek Harness Plugin from Zero · 手把手造一个 DSH 插件

A hands-on guide to authoring a DeepSeek Harness plugin, written after shipping two published plugins. Every line of code is real; every pitfall is one the author actually hit.

一篇 DeepSeek Harness 插件实战手册,源自两个已发布插件的踩坑复盘。所有代码逐字真实,所有坑都真掉进去过。

Guides · 阅读指南

Reference plugins · 参考实现

  • dsh-session-export — ctx.commands 命令注册、会话读写、Markdown/JSON 渲染、原子写文件
  • dsh-session-recall — ctx.tools 工具注册、defineTool 完整四面、授权过滤、cordis.patch.yml 覆盖官方默认

License

MIT