← 返回列表
D

dsh-pi-adapter

v0.1.0 · 4 天前发布

Run pi coding-agent extensions (ExtensionAPI) inside DeepSeek Harness via a cordis plugin bridge.

dsh-plugindeepseek-harnesspi-coding-agentcordis

README

dsh-pi-adapter

Run pi coding-agent extensions
(~/.pi/agent/extensions/*.ts) inside
DeepSeek Harness (dsh).

A pi extension is export default (pi: ExtensionAPI) => void; every capability
comes from the injected ExtensionAPI object. This project implements that
contract on a cordis context so pi extensions run unmodified inside dsh.

How it works

```
pi extension (.ts factory) dsh (cordis)
┌────────────────────────────┐ jiti ┌──────────────────────────────┐
│ export default (pi) => { │ ───────► │ ExtensionBridge (PiCompat) │
│ pi.registerTool({...}) │ alias │ registerTool → ctx.tools │
│ pi.registerCommand(...) │ to pi │ registerCommand → command

查看完整 README →

版本兼容矩阵

DSH 版本状态说明
dsh@0.1.0-rc.6 ❓ 未知 metadata 缺失
dsh@0.1.0 ❓ 未知
dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
dsh@0.3.0+ ❓ 未知 尚未发布

💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

元数据

License
MIT
npm
dsh-pi-adapter
Repo
git+https://github.com/cyzlmh/dsh-pi-adapter.git
Engines
{}
Weekly DL
0
Monthly DL
0
dsh.bundle
{}