hezi2020/dsh-plugin-wiki--plugins-dsh-custom-tool ↗★ 0

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模型在DSH中动态编写和管理自定义JS工具。适合有编程基础、需要扩展模型工具链的开发者或高级用户。可在设置UI中直接编辑,支持配置超时、内存限制等参数。

パッケージ
dsh-custom-tool
互換性
未検証
Harness ピア範囲
^0.0.1-rc.1
Cordis ピア範囲
^4.0.1-rc.1
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/14

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add 'github:hezi2020/dsh-plugin-wiki#3e7b506b6d6121905945a2aca4cffd67ed8ad9bf&path:plugins/dsh-custom-tool'

ドキュメント

README 全文を読む ↗

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