jean3690/dsh-toolbox0

dsh-toolbox

DSH 工具箱插件:侧边栏独立页面 + /toolbox 命令 + 配置驱动的 agent 确定性工具。约 35 个纯本地工具(文本/编码/数据/安全/提取/转换/网络/效率),数据不出机器。参考 devtoolbox.online 设计。

包名
dsh-toolbox
版本
0.1.0
许可证
NOASSERTION
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jean3690/dsh-toolbox

配置(cordis.patch.yml)

- insert:
    - id: dsh-toolbox
      name: dsh-toolbox
      config:
        # 暴露给模型的内置工具;'*' = 全部,[] = 不暴露(默认)
        agentTools: ['json_format', 'base64', 'md5']
        # 用户自定义工具(JS 表达式;agentTools 含其 name 或 '*' 时注册为 toolbox_)
        # userTools:
        #   - name: shout
        #     description: 把文本转成大写并加感叹号
        #     args:
        #       text: { type: 'string', required: true, description: '输入文本' }
        #     run: !!js |
        #       ((args) => ({ text: String(args.text).toUpperCase() + '!' }))
        # 浏览器「保存到项目」RPC(写入 
/toolbox-saves,可改 saveDir)
        saveEnabled: true
        # saveDir: toolbox-saves

可暴露的内置工具/toolbox agent 可查看):text_stats cn_convert case_convert fullwidth base64 url html_entity unicode_escape radix timestamp json_format json_csv csv_fix text_diff md5 sha uuid password random_num phone email url_extract ip_extract money color http_codes ports mime ascii text_ops text_remove_blank text_dedup case_change regex + 宿主文件工具 file_hash file_encode