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

dsh-math

考研数学一智能计算与验证插件:SymPy 驱动的精确计算 + 独立验证机制 / Smart computation & verification plugin for postgraduate entrance exam Mathematics I, powered by SymPy 适合需要进行考研数学一精确计算与公式验证的用户。

Package
dsh-math
Compatibility
Unverified
Version
1.0.2
License
MIT
Last updated
Oct 19, 2026

Other repositories with this package name

Install

$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 只认布尔语义。