安装
npx -y @deepseek-ai/dsh plugin --profile web add github:hatter123/dsh-wolfram此安装命令根据 GitHub 仓库地址生成,是未经验证的安装起点。
README
维护者编写的文档快照。
最近一次目录同步未能刷新此 README 快照。
dsh-wolfram
Call Wolfram Mathematica (or the free Wolfram Engine) from DeepSeek Harness. It registers a wolfram tool that runs Mathematica code through wolframscript and returns the result.
Prerequisites
Install Wolfram Mathematica or the free Wolfram Engine, which provides the wolframscript command. Verify it works:
wolframscript -code "Integrate[Cos[x], x]"
Install
dsh plugin --profile web add dsh-wolfram
Usage
The agent calls the wolfram tool automatically with one expression argument (a string of Mathematica code).
Examples:
- integral:
Integrate[Cos[x], x]→Sin[x] - solve:
Solve[x^2 - 1 == 0, x]→{{x -> -1}, {x -> 1}} - limit:
Limit[Sin[x]/x, x -> 0]→1 - series:
Series[Exp[x], {x, 0, 3}]→1 + x + x^2/2 + x^3/6 + O[x]^4
How it works
The plugin uses Node's built-in child_process module to run wolframscript -code <expression> and captures the standard output. It has no npm dependencies.
License
MIT
仓库信息
- 开发语言
- JavaScript
- 许可证
- MIT
- 最后更新
- 2026年8月18日 03:28
谨慎安装
请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。