TheHeartFickle/dsh-solo-agent

TheHeartFickle★ 0JavaScript最后同步: 2026-08-21

在 GitHub 打开

DSH 插件:向用户 agent-presets 注入 `solo` preset,优化上下文占用和模型调度。

README 摘要

dsh-solo-agent DSH 插件:向用户 agent-presets 注入 solo preset,优化上下文占用和模型调度。 核心设计 - Solo 主 agent 是纯编排者 : - 模型可见目录里没有 bash / pwsh / read / write / edit / glob / grep / str replace editor 。 - 只保留 ask user question 、 todo write 、 skill 和 4 个前台 subagent 工具。 - shell / fs / web 工具在 preset 层挂载供子代理使用,由 solo-bootstrap.mjs 对主 agent 隐藏。 - 闭环调度 : 1. subagent explore 初始化一次,产出 target tests / test command / root-cause。 2. 最多 5 轮: subagent editor 修改 → subagent general 跑测试并返回原始输出 → Solo 只依据原始测试输出决策。 3. 大改动/高风险且测试通过后, subagent verify 做对抗性验证。 - 子代理 minimal 锚定 :借鉴 anchored-standard ,只对 delegationDepth 0 的子代理生效;Solo 主 agent 不受锚定。 - 压缩 : dsh-compaction-basic + dsh-compaction-tool-result-pruner + dsh-command-compact 全开。 项目结构 角色 toolName 职责 可见工具(toolFilter.allow) skill subagent explore 只读研究,产出 target tests / test command / root-cause read, read image, glob, grep, bash, web search, web fetch 无 subagent editor 聚焦编辑,不自测 read, write, edit, str replace editor, glob, grep, bash 无 subagent verify 对抗性验证,返回 PASS/FAIL/PARTIAL read, read image, glob, grep, bash, skill 有 subagent general 杂活/测试执行,返回原始输出 read, write, edit, str replace editor, glob, grep, bash, web search, web fetch, skill 有 角色注册表在 lib/roles.js ,后续加角色只需新增一条记录。 …

在 GitHub 查看完整 README →
Agent/智能体deepseek-harnessdshdsh-plugindsh-pluginsagent

分类