SivanCola/dsh-subagent-reasonix ↗★ 0
dsh-subagent-reasonix
One-shot Reasonix subagent over the Agent Client Protocol, using Reasonix's native authentication and settings 适合需要调用 Reasonix 独立完成特定子任务的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SivanCola/dsh-subagent-reasonixREADME
Read the full README ↗使用
在对话里让 DSH 把任务交给 Reasonix,最好点名工具:
用 subagent_reasonix 让 Reasonix 去做:给 src/utils/date.ts 的 formatDate 补单元测试,跑通 npm test 后告诉我结果。
- DSH 调用
subagent_reasonix,先返回子智能体 id。 - Reasonix 在当前会话的工作目录里新建会话,独立完成任务。
- 完成后,Reasonix 的最终答案作为通知回到对话,DSH 继续回复。
Reasonix 看不到你和 DSH 的对话历史,任务要写完整:路径、要求、怎样算完成。每次委派都是全新会话,不能追问;中间步骤记录在 ~/.reasonix/sessions/,不回传 DSH。
调整配置
在 profile 的 cordis.patch.yml 中按 id 覆盖。覆盖会替换整个 config,需写全:
- id: subagent-reasonix
config:
providerName: reasonix
command: /absolute/path/to/reasonix # PATH 里找不到 reasonix 时
args: [acp, --workspace-only, --sandbox-bash, enforce] # 收紧写入范围与 bash 沙箱
permission: allow
args 可用 reasonix acp --help 中的参数,例如 --model、--profile economy|balanced|delivery。