omdsh-dev/dsh-custom-tool ↗★ 24
dsh-custom-tool
DSH 自定义工具管理插件,支持在设置 UI 中使用 Monaco 编辑器管理用户定义的 JS 工具,并允许模型自主创建新工具。
AI 分析
核心用途是动态扩展 Agent 的工具箱。适合需要快速编写轻量级 JS 脚本供大模型调用,或允许大模型自我进化工具的开发者。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:omdsh-dev/dsh-custom-tool說明文件
閱讀完整 README ↗Configuration
All tunables are cordis.yml config fields of the dsh-custom-tool entry:
| Field | Default | Meaning |
|---|---|---|
timeoutMs | 30000 | wall-clock budget per call |
memoryLimitMb | 128 | worker old-generation heap cap per call |
maxResultChars | 16000 | rendered result text budget |
maxCodeBytes | 65536 | UTF-8 byte budget per tool body |
maxTools | 100 | stored-tool cap |
allowNetwork | true | whether tool bodies may call fetch or use network APIs |