omdsh-dev/dsh-custom-tool24

dsh-custom-tool

DSH 自定义工具管理插件,支持在设置 UI 中使用 Monaco 编辑器管理用户定义的 JS 工具,并允许模型自主创建新工具。

AI 分析

核心用途是动态扩展 Agent 的工具箱。适合需要快速编写轻量级 JS 脚本供大模型调用,或允许大模型自我进化工具的开发者。

套件
dsh-custom-tool
版本
0.1.2
授權
MIT
最近更新
2026年8月16日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:omdsh-dev/dsh-custom-tool

Configuration

All tunables are cordis.yml config fields of the dsh-custom-tool entry:

FieldDefaultMeaning
timeoutMs30000wall-clock budget per call
memoryLimitMb128worker old-generation heap cap per call
maxResultChars16000rendered result text budget
maxCodeBytes65536UTF-8 byte budget per tool body
maxTools100stored-tool cap
allowNetworktruewhether tool bodies may call fetch or use network APIs