Skip to content

Refactor/simplify dsh commands - #157

Merged
iuyo5678 merged 2 commits into
mainfrom
refactor/simplify-dsh-commands
Aug 29, 2026
Merged

Refactor/simplify dsh commands#157
iuyo5678 merged 2 commits into
mainfrom
refactor/simplify-dsh-commands

Conversation

@iuyo5678

@iuyo5678 iuyo5678 commented Aug 29, 2026

Copy link
Copy Markdown
Collaborator

改动说明

将 DSH BrowserSkill 插件原有的 28 个细粒度工具合并为 6 个领域工具:

  • browser_session
  • browser_page
  • browser_inspect
  • browser_interact
  • browser_tabs
  • browser_assist

原有 28 项浏览器操作作为内部 action handler 保留,浏览器小窗、会话管理、取消、截图附件等能力不变。

同时更新了:

  • DSH Skill 使用说明
  • browser_inspect ToolView
  • 工具注册和 action 路由校验
  • 相关文档与测试

测试

  • DSH 插件测试:178 项全部通过
  • TypeScript 类型检查通过
  • 生产构建通过
  • 本地 DSH 六工具测试通过

原因:

之前按照第一版dsh插件的思路补齐了工具,命令太多 了,想了想应该简化一下,不过还是做了一下测试:
image
两个方案准确率没有变化。效率上28个工具更高,就是耗时更短。
但是成本上6个工具的成本更低。虽然输出token多了,但是输入token大幅减少,考虑成本,还是改成6个工具版本。

@iuyo5678
iuyo5678 merged commit 177ecd3 into main Aug 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants