ai-dsh-book
其他 活跃维护

ai-dsh-book

yunfei07/ai-dsh-book

提供大模型插件开发双语实战教程,涵盖开发规范、实操案例与全流程代码示例,中英内容对照编排,帮开发者快速掌握插件开发核心技能,轻松完成从入门到进阶的跃升。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
MDX
主要语言
MIT
开源协议
179 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:yunfei07/ai-dsh-book
git clone https://github.com/yunfei07/ai-dsh-book.git
git clone git@github.com:yunfei07/ai-dsh-book.git
README.md main

dsh Plugin Development in Practice

English | 中文

A bilingual, runnable guide to building plugins for DeepSeek Harness. The book starts with a minimal local plugin and progresses through tools, configuration, lifecycle, services, events, capability roles, provider adapters, and Web UI themes.

The site uses the MkThingsHQ/mkdocs FumaPress template with Waku, React, Tailwind CSS, static search, light and dark themes, llms.txt, and sitemap generation. Chinese is the default locale; English pages live under /en/.

Local development

Requirements: Node.js 24 or later and Corepack.

corepack pnpm@11.21.0 install
pnpm dev

Validate and build the static site before publishing:

pnpm check

Set PUBLIC_SITE_URL to the deployed origin when building production metadata:

PUBLIC_SITE_URL=https://docs.example.com pnpm build

The included wrangler.jsonc deploys static assets to Cloudflare Workers. Authenticate with Wrangler and run pnpm deploy; add a custom domain to that file only when the domain is known.

Contents

  • Part I: first plugin, Tool, configuration, and distribution
  • Part II: lifecycle, services, and events
  • Part III: capability roles, LLM adapters, and the Song-inspired UI theme

The examples target the current DeepSeek Harness source tree. Links that leave this book point to their owning repository so the book can be built and read independently. Chinese chapters are unsuffixed files under content/; matching English files use the .en.mdx suffix.

License

MIT. The book content is derived from the DeepSeek Harness documentation, and the site runtime is adapted from MkThingsHQ/mkdocs. Both upstream copyright notices are retained.