HuanLinOTO/dsh-plugin-interpreters ↗★ 9

@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. 适合需要让模型在本地执行Python或Node.js代码并自定义解释器路径的开发者。

Package
@huanlin/dsh-plugin-interpreters
Compatibility
Unverified
Harness peer range
^0.1.7-rc.1
Cordis peer range
^4.0.1
Version
0.4.2
License
NOASSERTION
Last updated
Sep 24, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HuanLinOTO/dsh-plugin-interpreters

配置

默认配置(cordis.patch.yml):

pythonPath: 'python'    # Python 可执行文件路径
nodePath: 'node'        # Node.js 可执行文件路径
timeoutMs: 30000        # 执行超时(毫秒)

运行时通过设置页「插件配置」分区的卡片修改,持久化到 $DSH_HOME/settings.yaml。