SixId666/dsh-math-plugin--plugins-dsh-math ↗★ 0

dsh-math

基于 SymPy 的考研数学一精确计算与独立验证插件。 适合需要进行考研数学一精确计算与公式验证的用户。

包名
dsh-math
兼容性
待验证
版本
1.0.2
许可证
MIT
最近更新
2026年10月19日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SixId666/dsh-math-plugin#dca492bd2429c62740055e0e0d74541a6c07f7d1&path:plugins/dsh-math

4. 配置

配置写在 profile 的 cordis.patch.yml 对应条目里:

- id: dsh-math
  config:
    python: 'E:\anaconda3\python.exe'   # 指定解释器(缺省走第 1 节的探测顺序)
    workerPath: ''                      # 覆盖 engine/worker.py 的路径(一般留空)
    timeoutMs: 60000                    # 单次调用超时(毫秒),默认 60000
    cache: true                         # 是否启用结果缓存与失败记账,默认 true

四个键都有默认值,config: {} 即可直接使用。插件不导出 Config schema(DSH 的 Config 描述依赖 @deepseek-ai/schemastery,而 linked bundle 在本构建里解析不到宿主包),因此这里由插件自己归一化与 校验:非法的 timeoutMs 会被忽略并回落到 60000,cache 只认布尔语义。