HuanLinOTO/dsh-plugin-interpreters ↗★ 2
@huanlin/dsh-plugin-interpreters
Exposes run_python and run_node tools with configurable interpreter paths; settings card (via /interpreters/api HTTP route) lets users set the executable locations.
AI 分析
允许 Agent 在本地安全地执行 Python 和 JavaScript 代码。适合需要 Agent 进行数学计算、数据处理或运行脚本,且需要自定义运行环境的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HuanLinOTO/dsh-plugin-interpretersドキュメント
README 全文を読む ↗配置
默认配置(cordis.patch.yml):
pythonPath: 'python' # Python 可执行文件路径
nodePath: 'node' # Node.js 可执行文件路径
timeoutMs: 30000 # 执行超时(毫秒)
运行时通过设置页「插件配置」分区的卡片修改,持久化到 $DSH_HOME/settings.yaml。