dsh-deeptutor
DeepTutor bridge bundle for DeepSeek Harness: learning capabilities, knowledge bases, and note archiving (HTTP/WS first, CLI fallback; auto-adapts local/remote deployment).
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TecFancy/dsh-deeptutor说明文档
阅读完整 README ↗dsh-deeptutor
English | 简体中文
面向 DeepSeek Harness (dsh) 的 DeepTutor 桥接 bundle,从 pi 编码 agent 扩展迁移而来(TecFancy/pi-extensions,extensions/deeptutor + skills/deeptutor)。
注册三个模型可见工具,驱动 HKUDS/DeepTutor 辅导服务:
| 工具 | 用途 |
|---|---|
deeptutor_run | 运行学习能力: deep_solve / deep_question / deep_research / chat / mastery_path / visualize / math_animator(优先 HTTP/WS,CLI 回退) |
deeptutor_kb | 列出 / 搜索 / 查看个人知识库(RAG)信息 |
deeptutor_note | 将 Markdown 学习笔记归档到服务端 notebook |
上表 7 个 capability 是 deeptutor_run 工具接受的固定枚举。底层 DeepTutor CLI 可能支持更多命令——用 deeptutor --help / deeptutor --help 可枚举完整命令集。deeptutor skill 会指示 agent 用这种方式动态发现命令;当工具的枚举未覆盖某能力时,agent 可直接调用 CLI(本地二进制或经 SSH)来驱动。
部署模式自动适配:本机本地 serve(或本地 CLI),或通过自动建立的 SSH 隧道访问服务器(含 SSH CLI 回退)。
安装到 profile(bundle 方式)
包已发布到 npm(dsh-deeptutor)。一条命令即可安装:dsh plugin add 会转发给 pnpm 安装依赖,并把 profile 的 dsh.profile.bundles 与已安装状态对账,因此声明了 dsh.bundle 的包(如本插件)会被自动登记(已在 dsh CLI 0.1.0-rc.6 上验证):
dsh plugin --profile web add dsh-deeptutor
验证挂载,然后重启 dsh(bundle 列表在启动时解析):
dsh --profile web --dump-config | grep dsh-deeptutor
如果你的 dsh CLI 不会自动登记 bundle(旧版本,或手动安装依赖),请在 profile 清单(~/.dsh/profiles//package.json)中手动加入,再运行 dsh plugin --profile web install:
{
"dependencies": { "dsh-deeptutor": "^0.1.0" },
"dsh": {
"profile": { "bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "dsh-deeptutor"] }
}
}
也可以不动清单,改用用户 patch 层挂载 bundle(仍需先安装 npm 包):
# overlay.yml —— 通过用户 patch 层插入 bundle 行
- insert:
- id: dsh-deeptutor
name: 'dsh-deeptutor'
dsh web --patch ./overlay.yml