omdsh-dev/dsh-custom-tool ↗★ 24
dsh-custom-tool
DSH custom tools: manage user-defined JavaScript tools in the settings UI with a Monaco editor; the model creates its own tools through custom_tool_create
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 |