@jingyi0605/codingns4dsh
Codingns4DSH 插件骨架与连接契约 适合希望在DSH中接入外部Agent CLI、使用工作区终端及配置远程访问的开发者。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jingyi0605/Codingns4DSHドキュメント
README 全文を読む ↗最简单的安装方式:使用内置 web Profile
DSH 的 web Profile 会在首次使用时自动初始化,不需要手动创建配置文件,也不需要执行 --dump-config:
dsh plugin --profile web add @jingyi0605/codingns4dsh@0.2.0-rc3
dsh web
可选:使用独立 Profile
如果不想修改内置的 web Profile,再创建一个独立 Profile。这里的 --dump-config 只用于初始化并检查 Profile,不是插件安装的必需步骤:
dsh codingns --from-default-profile web --dump-config
dsh plugin --profile codingns add @jingyi0605/codingns4dsh@0.2.0-rc3
dsh codingns
- 不要用
dsh plugin --profile add …创建需要 Web 界面的独立 Profile:该命令只会从@deepseek-ai/dsh-base初始化,之后会报entry "terminal-controller" not found。需要独立 Profile 时,请使用上面的--from-default-profile web。 - npm 返回 404 说明该版本还没发布,请改用下面的源码安装。
## 首次使用
1. `dsh codingns` 打开 DSH Web 界面。
2. 打开 **设置 → Codingns4DSH** 查看模块卡片(需重启的模块会同时显示当前生效状态与下次启动目标)。
3. 在 DSH **之外** 安装并登录 Agent CLI,确保命令在 Host 的 `PATH` 中,然后在 **外部Agent集成** 中启用。
4. 在输入框选择 Agent、模型和思考强度并发送消息——输出流式写入原生会话,并带 Agent Logo 出现在侧栏。
5. 右侧栏:终端面板为当前工作区开终端(要持久化请启用 **终端强化** 后重启);**调试** 面板添加启动配置并查看端口。
6. 需要远程使用时,开启 **登录保护**、配置 **局域网访问DSH**,或登录 **中转访问服务** 从任意网络访问;账户入口会显示当前访问路径与 Host 负载。
---