HuanLinOTO/dsh-plugin-interpreters2

@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 进行数学计算、数据处理或运行脚本,且需要自定义运行环境的用户。

패키지
@huanlin/dsh-plugin-interpreters
버전
0.1.0
라이선스
NOASSERTION
최근 업데이트
2026. 8. 13.

설치

$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