@louisultra/dsh-verymath 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/CHANGELOG.md +80 -12
  2. package/README.md +14 -5
  3. package/README_EN.md +10 -5
  4. package/UPSTREAM.json +2 -2
  5. package/docs/capability-examples.md +581 -0
  6. package/docs/examples/README.md +32 -0
  7. package/docs/examples/bad_scan.md +10 -0
  8. package/docs/examples/broken-proof.lean +9 -0
  9. package/docs/examples/claims.md +7 -0
  10. package/docs/examples/knapsack.json +10 -0
  11. package/docs/examples/matrix.json +1 -0
  12. package/docs/examples/points.csv +21 -0
  13. package/docs/examples/qp.json +8 -0
  14. package/docs/examples/research-ws/project/GOALS.yaml +4 -0
  15. package/docs/examples/research-ws/workstreams/ws-lsa/report.md +13 -0
  16. package/docs/examples/research-ws/workstreams/ws-lsa/reviews/r1.json +1 -0
  17. package/docs/examples/research-ws/workstreams/ws-lsa/status.yaml +1 -0
  18. package/docs/examples/source.csv +4 -0
  19. package/lib/core/gates.js +1 -1
  20. package/lib/index.d.ts +20 -0
  21. package/lib/index.js +20 -0
  22. package/lib/tool/index.d.ts +9 -0
  23. package/lib/tool/index.js +68 -19
  24. package/package.json +28 -25
  25. package/skills/lean-formalization/SKILL.md +4 -3
  26. package/skills/after-ocr/tests/test_scripts.py +0 -84
  27. package/skills/lean-formalization/lean-runtime/tests/fixtures/after_bad.lean +0 -4
  28. package/skills/lean-formalization/lean-runtime/tests/fixtures/after_statement_changed.lean +0 -4
  29. package/skills/lean-formalization/lean-runtime/tests/fixtures/before.lean +0 -4
  30. package/skills/lean-formalization/lean-runtime/tests/fixtures/failure.lean +0 -7
  31. package/skills/lean-formalization/lean-runtime/tests/test_check_lean_project.py +0 -59
  32. package/skills/lean-formalization/lean-runtime/tests/test_cli.py +0 -377
  33. package/skills/lean-formalization/lean-runtime/tests/test_common_config.py +0 -84
  34. package/skills/lean-formalization/lean-runtime/tests/test_configure_lean.py +0 -138
  35. package/skills/lean-formalization/lean-runtime/tests/test_detect_sorry.py +0 -24
  36. package/skills/lean-formalization/lean-runtime/tests/test_direct_task.py +0 -69
  37. package/skills/lean-formalization/lean-runtime/tests/test_numina_runtime.py +0 -168
  38. package/skills/lean-formalization/lean-runtime/tests/test_validate_patch.py +0 -29
package/CHANGELOG.md CHANGED
@@ -3,6 +3,69 @@
3
3
  All notable changes to this project are documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5
5
 
6
+ ## [0.3.3] - 2026-11-08
7
+
8
+ ### Fixed
9
+
10
+ - The package root entry did not exist: `main`, `types` and `exports["."]`
11
+ all pointed at `lib/index.js`, but there was no `src/index.ts`, so `tsc`
12
+ only ever emitted `lib/core/` and `lib/tool/`. The file was missing from the
13
+ published 0.3.0, 0.3.1 and 0.3.2 tarballs, so `import '@louisultra/dsh-verymath'`
14
+ failed for anyone using the package by name. DSH loads the `./core` and
15
+ `./tool` subpaths, which is why this never showed up in use. A re-export-only
16
+ entry is added and verified to be inside the packed tarball.
17
+ - `verymath_beamer_check` shelled out to `/usr/bin/which` and
18
+ `/Library/TeX/texbin/kpsewhich`. The former does not exist on Windows and the
19
+ latter is a macOS-only directory, so a Linux or Windows host reported a
20
+ missing TeX toolchain even with TeX installed. Binaries are now resolved
21
+ in-process by scanning `PATH` (honouring `PATHEXT` on Windows) and falling
22
+ back to the distribution's own bin directory, which is what a desktop app
23
+ launched from Finder needs because it does not inherit the login shell
24
+ `PATH`. `kpsewhich` is resolved the same way instead of assuming a fixed
25
+ location. Covered by five new tests.
26
+
27
+ ### Changed
28
+
29
+ - Development dependencies moved to DSH `0.2.2-rc.1`, cordis `4.1.0` and
30
+ schemastery `3.19.0`, matching the version EduWork 0.4.13 bundles. The
31
+ runtime probe is now the dual-version variant: it mounts
32
+ `dsh-tool-executor-native` when present and drives the 0.2.2 batch
33
+ `ctx.tools.execute` API, falling back to the 0.2.1 single-call shape
34
+ otherwise. `npm run test:runtime` therefore exercises the host version that
35
+ users actually run rather than the previous 0.2.0-rc.2 pin.
36
+ - Two unreferenced development dependencies that conflicted with cordis 4.1.0
37
+ (`cordis-plugin-include`, `cordis-plugin-loader`) are removed.
38
+ - `engines.node` raised to `>=24.22.1` and the peer range starts at
39
+ `0.2.1-rc.5`, matching what is actually tested.
40
+
41
+ ### Documentation
42
+
43
+ - The skill table in both READMEs listed 15 of the 16 bundled skills; it was
44
+ missing `osqp-solver`, which the tool table already documented.
45
+ - `docs/integration-matrix.md` is repository research material that `files`
46
+ deliberately excludes, but the READMEs linked it by relative path, so the
47
+ link was broken in an installed package. It now points at the repository URL
48
+ and says it is not shipped.
49
+ - `docs/glossary-coverage-gap.md` listed 68 tests; the suite has 107.
50
+
51
+ ## [0.3.2] - 2026-10-19
52
+
53
+ ### Fixed
54
+
55
+ - `verymath_research_gate` `goal_approval`: the `details` payload carried an
56
+ `undefined` `goalId`, which the tool output contract rejects as
57
+ "value is not lossless JSON" whenever the gate ran without an explicit
58
+ goalId. Found by a real run during capability-example verification; covered
59
+ by two regression tests.
60
+ - `lean-formalization` DSH notes referenced `verymath_lean_review` and
61
+ `verymath_lean_check`, which do not exist; patch review and environment
62
+ checks go through the bundled `ai4m_lean.py` script instead.
63
+
64
+ ### Added
65
+
66
+ - `docs/capability-examples.md`: all 14 capabilities documented with the
67
+ five-field scenario structure and real verification records (macOS).
68
+
6
69
  ## [0.3.1] - 2026-10-16
7
70
 
8
71
  ### Added
@@ -25,23 +88,25 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
25
88
  on v0.14.0 and v0.12.0; docs corrected (`docs/matlab-connection-status.md`).
26
89
  The matlab-runner skill now documents the desktop-attach execution path.
27
90
 
28
- ### Added (late 0.3.0 round)
91
+ ### Added (0.3.1 round — tools and skills)
29
92
 
30
- - Sage execution path verified: miniforge `sage=10.9` env installed; the
31
- sagemath-skill runner works via SAGE_PYTHON with Python-form syntax
32
- (preparser constructs like `x^2` are correctly rejected per the contract).
33
- Search works without the binary; execution requires it.
93
+ - Sage environment note: miniforge `sage=10.9` installed on the development
94
+ machine; the upstream runner works via `SAGE_PYTHON` with Python-form
95
+ syntax (preparser constructs like `x^2` are correctly rejected per the
96
+ contract). This package exposes corpus search only; running Sage code is
97
+ the user's own environment.
34
98
 
35
99
  - `verymath_research_gate`: three-gate validation for Co-Mathematician-style
36
100
  research workspaces (goal approval / workstream completion / final render),
37
101
  ported from the documented upstream file contract (report.md mandatory
38
102
  sections, independent-reviewer rule, blocking-review resolution).
39
103
  - `verymath_sage_check` / `verymath_sage_search`: clean-room TypeScript corpus
40
- search over the separately-distributed CC BY-SA SageMath docs (route-a).
104
+ search over the separately-distributed CC BY-SA SageMath docs (the
105
+ Sagemath-skill repository itself is GPLv3 and is not bundled).
41
106
  - `verymath_osqp_check` / `verymath_osqp_solve`: OSQP stack probe + JSON
42
107
  contract QP solving with independent verification.
43
108
  - Bundled skills: `osqp-solver`, `mixed-integer-programming` (repaired),
44
- `matlab-runner`, `math-beamer`.
109
+ `matlab-runner`, `math-beamer` (23 template packs).
45
110
 
46
111
  ## [0.3.0] - 2026-10-15
47
112
 
@@ -60,11 +125,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
60
125
  (AI4Math-Computational-Mathematics).
61
126
  - Formalization: `lean-formalization` (with embedded lean-runtime support
62
127
  layer), `lean-setup` (AI4Math-Lean-Agents).
63
- - **12 model-facing tools**: `verymath_glossary_query`, `verymath_glossary_upsert`,
64
- `verymath_glossary_build`, `verymath_python_check`, `verymath_osqp_check`,
65
- `verymath_osqp_solve`, `verymath_ocr_scan`, `verymath_lean_detect_sorry`,
66
- `verymath_paper_validate`, `verymath_paper_graph` (+ `focus` closure),
67
- and the paper-graph engine.
128
+ - **10 model-facing tools**: `verymath_glossary_query`,
129
+ `verymath_glossary_upsert`, `verymath_glossary_build`,
130
+ `verymath_python_check`, `verymath_osqp_check`, `verymath_osqp_solve`,
131
+ `verymath_ocr_scan`, `verymath_lean_detect_sorry`, `verymath_paper_validate`,
132
+ `verymath_paper_graph` (with `focus` transitive closure and Mermaid
133
+ rendering). `verymath_sage_check`/`verymath_sage_search`,
134
+ `verymath_research_gate`, and `verymath_beamer_check` followed in the
135
+ 0.3.1 round (see above), bringing the current total to 14.
68
136
  - Package-hygiene tests ported from upstream `test_course_skills.py`
69
137
  (no machine-local paths/secrets in skills, no tool caches).
70
138
 
package/README.md CHANGED
@@ -20,11 +20,13 @@
20
20
  | `verymath_paper_graph` | 论文依赖图引擎:批次合并、`cited_by` 重建、`shared_node` 枢纽、环检测、双向阅读路径、`focus` 传递闭包、Mermaid 渲染(>40 实体自动降级)。 |
21
21
  | `verymath_ocr_scan` | OCR Markdown 错误候选定位(胶连算符/字体误识/美元失衡/环境失配等 22 类规则;候选仅供 after-ocr 逐段审校,需 Python)。 |
22
22
  | `verymath_osqp_check` / `verymath_osqp_solve` | OSQP 求解栈探测(主版本门 >=1,<2)/ JSON 契约 QP 求解:11 态状态门 + 独立 KKT 与不可行证书验证(需 osqp Python 栈)。 |
23
- | `verymath_lean_detect_sorry` | Lean 文件的 sorry/admit/axiom 禁用词扫描——**无需 Lean 工具链**,patch 验收安全门。 |
23
+ | `verymath_lean_detect_sorry` | Lean 文件的 sorry/admit/axiom 禁用词扫描——**无需 Lean 工具链**(需要本机 Python 3,脚本随包),patch 验收安全门。 |
24
24
  | `verymath_research_gate` | 研究工作区三道闸门校验(目标批准/工作流完成/最终渲染):report.md 强制三节、独立审阅人、阻断性评审解决状态——纯文件契约校验。 |
25
- | `verymath_sage_check` / `verymath_sage_search` | SageMath 二进制+语料探测 / 3196 篇官方文档的**反幻觉 API 查询**(语料 CC BY-SA,独立放置于 ~/.verymath/sagemath-corpus;干净房间 TS 实现,无 GPL 代码)。 |
25
+ | `verymath_sage_check` / `verymath_sage_search` | SageMath 文档语料 + 二进制探测 / 3196 篇官方文档的**反幻觉 API 查询**。语料取自 SageMath 官方 Sphinx 参考手册(10.9.beta9,CC BY-SA 3.0),默认放 `~/.verymath/sagemath-corpus`,可用 `VERYMATH_SAGE_CORPUS` 覆盖;只查文档、**不提供 Sage 代码执行**。Sagemath-skill 本体(GPLv3)未收录,查询与打分逻辑是干净房间 TS 重实现。 |
26
26
  | `verymath_beamer_check` | math-beamer 编译前的 TeX 工具链探测:latexmk、xelatex(中文模板需要)、forest/ctex 宏包(kpsewhich 定位);不安装不编译,缺件时给安装提示并要求只交付 .tex 源码。 |
27
27
 
28
+ 每一项能力的**场景示例**(谁在什么情况下用、可复制的提示词、输入样例、预期产物、运行条件与验证情况)见 [`docs/capability-examples.md`](docs/capability-examples.md)。
29
+
28
30
  **随包技能**(注册进 DSH 技能目录,模型与用户均可触发):
29
31
 
30
32
  | 技能 | 用途 | 上游 |
@@ -40,12 +42,13 @@
40
42
  | `least-squares` | 最小二乘拟合与参数估计(OLS/WLS/正则化/非线性/贝叶斯,12 级降级链)。 | [AI4Math-Computational-Mathematics](https://github.com/VeryMath/AI4Math-Computational-Mathematics) |
41
43
  | `invariant-computation` | 代数/拓扑/几何不变量的计算路由与证据报告(审批式环境安装)。 | [AI4Math-Computational-Mathematics](https://github.com/VeryMath/AI4Math-Computational-Mathematics) |
42
44
  | `mixed-integer-programming` | MILP 建模求解:背包/指派等实测示例(PuLP+CBC)+ 恢复的上游 LP 示例。 | [AI4Math-Optimization](https://github.com/VeryMath/AI4Math-Optimization)(已修复错版示例) |
45
+ | `osqp-solver` | 凸二次规划的求解与验证:状态门、独立 KKT 检查与不可行证书(需 osqp Python 栈)。 | [AI4Math-Optimization](https://github.com/VeryMath/AI4Math-Optimization) |
43
46
  | `matlab-runner` | MATLAB 执行路由/安全/报告层——经 MathWorks 官方 MCP server 驱动本机 MATLAB(需用户自装 MATLAB + license)。 | [AI4Math-MathTool](https://github.com/VeryMath/AI4Math-MathTool) |
44
47
  | `math-beamer` | 数学 Beamer 幻灯片:23 模板包(中英/学科分类)、4 闸门引导流程、slide-source-ledger 溯源。 | [AI4Math-Writing](https://github.com/VeryMath/AI4Math-Writing) |
45
48
  | `lean-formalization` | Lean 4 形式化、证明修复、sorry 补全与 patch 审查(编码代理优先,GB 级工具链留在用户机器)。 | [AI4Math-Lean-Agents](https://github.com/VeryMath/AI4Math-Lean-Agents) |
46
49
  | `lean-setup` | Lean/elan/lake/mathlib 工作区的检测、安装引导与两级就绪度报告。 | [AI4Math-Lean-Agents](https://github.com/VeryMath/AI4Math-Lean-Agents) |
47
50
 
48
- > 暂缓接入(理由与升级路径见 `docs/integration-matrix.md`):Sagemath-skill 技能本体(GPLv3;查询能力已按
51
+ > 暂缓接入(理由与升级路径见 [`docs/integration-matrix.md`](https://github.com/LouisUltra/dsh-verymath/blob/main/docs/integration-matrix.md),该文件是仓库内的调研材料,不随 npm 包分发):Sagemath-skill 技能本体(GPLv3;查询能力已按
49
52
  > 评审结论以干净房间 TS 重实现,语料独立分发)、paper-to-skill 全链(MinerU 云 API 隐私考量;本地 mineru 可选)、
50
53
  > agent-laboratory-workflow(外部 LLM API+重部署)、scientific-computing-reproduction(Codex 生态耦合,零依赖脚本按需摘取)、
51
54
  > co-mathematician(独立 App,仅提炼概念)、textbook-copilot(Apache-2.0 独立应用)。
@@ -54,7 +57,7 @@
54
57
 
55
58
  ## 安装与使用
56
59
 
57
- 要求 Node.js `24.18.0+` 与 DSH `0.2.x(从 0.2.0-rc.1 起)`。
60
+ 要求 Node.js `24.22.1+` 与 DSH `0.2.x`:peer 覆盖 `0.2.1-rc.5` 到 `0.2.x` 并显式包含 `0.2.2-rc.1`,开发依赖锁定 `0.2.2-rc.1`。运行探针会检测宿主是否装载了工具执行器,据此自适应 0.2.1 的单调用与 0.2.2 的批量接口。
58
61
 
59
62
  ```sh
60
63
  dsh plugin --profile <你的profile> add @louisultra/dsh-verymath
@@ -75,7 +78,11 @@ dsh plugin --profile <你的profile> add ./louisultra-dsh-verymath-<version>.tgz
75
78
 
76
79
  - **查询与论文校验**:无需任何外部依赖。
77
80
  - **术语库构建/导出**(`verymath_glossary_build`):需要本地 Python 3 与上游脚本依赖(`PyYAML`;Excel 导出另需 `openpyxl`,Web 管理界面另需 `Flask`)。缺失时先用 `verymath_python_check` 检查并按提示安装;插件不捆绑 Python。
78
- - **平台**:macOS(Apple Silicon)已验证(DSH CLI 沙箱 + EduWork 0.4.3 桌面端实际装载);Windows 理论可用(依赖 Node 与 Python 的 PATH),尚未实测——欢迎反馈。
81
+ - **平台**:仅在 macOS(Apple Silicon)验证过(DSH CLI 沙箱 + EduWork 0.4.3 桌面端实际装载)。**Windows 未测试**:代码依赖 Node 与 Python 的 PATH;外部二进制按 PATH 与 PATHEXT 解析(不再指向 macOS 固定路径),但未在 Windows 上实测,涉及 TeX、MATLAB、osqp 等外部环境的场景尤其如此。
82
+
83
+ ## 持续集成
84
+
85
+ `.github/workflows/check.yml` 在每次 push / PR 时跑 `typecheck → build → test → runtime probe`(GitHub Actions,Node 24)。
79
86
 
80
87
  ## 从源码开发
81
88
 
@@ -85,6 +92,8 @@ npm run build # tsc → lib/
85
92
  npm test # vitest 合成测试(不联网)
86
93
  npm run test:runtime # 真实 DSH API 探针(合成数据,不调用模型)
87
94
  npm run check # 全部
95
+ npm run test:upstream # 上游 math-glossary 离线测试(需把 VeryMath 的 AI4Math-MathTool 仓库
96
+ # 克隆到与本仓库同级的 research/ 下;仅开发机可用,不随 npm 包分发)
88
97
  ```
89
98
 
90
99
  ## 许可与来源
package/README_EN.md CHANGED
@@ -20,9 +20,9 @@
20
20
  | `verymath_paper_graph` | Paper dependency-graph engine: batch merging, `cited_by` reconstruction, `shared_node` hubs, cycle detection, both reading directions, `focus` transitive closure, Mermaid rendering (auto-degrades above 40 entities). |
21
21
  | `verymath_ocr_scan` | OCR Markdown error-candidate locator (22 rule categories: glued operators, font misreads, dollar imbalance, environment mismatches; candidates only, for the after-ocr review protocol; needs Python). |
22
22
  | `verymath_osqp_check` / `verymath_osqp_solve` | OSQP stack probe (major-version gate >=1,<2) / JSON-contract QP solving with 11-state status gates and independent KKT/certificate verification (needs the osqp Python stack). |
23
- | `verymath_lean_detect_sorry` | sorry/admit/axiom forbidden-token scan for Lean files — **works without a Lean toolchain**; a patch-acceptance safety gate. |
23
+ | `verymath_lean_detect_sorry` | Scans Lean files for sorry/admit/axiom — **no Lean toolchain needed** (requires local Python 3; the script ships with the package), a patch acceptance gate. |
24
24
  | `verymath_research_gate` | Three-gate validation for research workspaces (goal approval / workstream completion / final render): mandatory report.md sections, independent-reviewer rule, blocking-review resolution — pure file-contract validation. |
25
- | `verymath_sage_check` / `verymath_sage_search` | SageMath binary+corpus probe / anti-hallucination API lookup across 3196 official docs (corpus is CC BY-SA, placed separately at ~/.verymath/sagemath-corpus; clean-room TS implementation, no GPL code). |
25
+ | `verymath_sage_check` / `verymath_sage_search` | SageMath docs-corpus + binary probe / anti-hallucination API lookup across 3196 official docs. The corpus comes from the official SageMath Sphinx reference manual (10.9.beta9, CC BY-SA 3.0), defaults to `~/.verymath/sagemath-corpus` (override with `VERYMATH_SAGE_CORPUS`); documentation lookup only — **no Sage code execution**. The GPLv3 Sagemath-skill body is not bundled; lookup and scoring are a clean-room TypeScript re-implementation. |
26
26
  | `verymath_beamer_check` | TeX toolchain probe for math-beamer compiles: latexmk, xelatex (needed by Chinese/bilingual templates), forest/ctex packages (located via kpsewhich); installs nothing, surfaces an install hint and deliver-.tex-only guidance when pieces are missing. |
27
27
 
28
28
  **Bundled skills** (registered in the DSH skill catalog; model- and user-invocable):
@@ -40,12 +40,13 @@
40
40
  | `least-squares` | Least-squares fitting and parameter estimation (OLS/WLS/regularized/nonlinear/Bayesian, 12-tier degradation). | [AI4Math-Computational-Mathematics](https://github.com/VeryMath/AI4Math-Computational-Mathematics) |
41
41
  | `invariant-computation` | Routing and evidence reporting for algebraic/topological/geometric invariant computation (approval-gated installs). | [AI4Math-Computational-Mathematics](https://github.com/VeryMath/AI4Math-Computational-Mathematics) |
42
42
  | `mixed-integer-programming` | MILP modeling and solving: tested knapsack/assignment examples (PuLP+CBC) + restored upstream LP examples. | [AI4Math-Optimization](https://github.com/VeryMath/AI4Math-Optimization) (broken examples repaired) |
43
+ | `osqp-solver` | Convex QP solving and verification: status gate, independent KKT check and infeasibility certificates (needs the osqp Python stack). | [AI4Math-Optimization](https://github.com/VeryMath/AI4Math-Optimization) |
43
44
  | `matlab-runner` | MATLAB execution routing/safety/reporting layer — drives local MATLAB via the official MathWorks MCP server (requires user-installed MATLAB + license). | [AI4Math-MathTool](https://github.com/VeryMath/AI4Math-MathTool) |
44
45
  | `math-beamer` | Mathematical Beamer slide decks: 23 template packs (bilingual, per-field), 4-gate guided workflow, slide-source-ledger provenance. | [AI4Math-Writing](https://github.com/VeryMath/AI4Math-Writing) |
45
46
  | `lean-formalization` | Lean 4 formalization, proof repair, sorry completion, and patch review (coding-agent-first; the GB-scale toolchain stays on the user machine). | [AI4Math-Lean-Agents](https://github.com/VeryMath/AI4Math-Lean-Agents) |
46
47
  | `lean-setup` | Lean/elan/lake/mathlib workspace detection, install guidance, and two-level readiness reporting. | [AI4Math-Lean-Agents](https://github.com/VeryMath/AI4Math-Lean-Agents) |
47
48
 
48
- > Deferred (rationale and upgrade paths in `docs/integration-matrix.md`): Sagemath-skill skill body (GPLv3; route-a
49
+ > Deferred (rationale and upgrade paths in [`docs/integration-matrix.md`](https://github.com/LouisUltra/dsh-verymath/blob/main/docs/integration-matrix.md), repository research material that is not shipped in the npm package): Sagemath-skill skill body (GPLv3; route-a
49
50
  > clean-room TS lookup shipped, corpus distributed separately), paper-to-skill chain (MinerU cloud-API privacy; local mineru optional), agent-laboratory-workflow (external LLM API + heavy deploy),
50
51
  > scientific-computing-reproduction (Codex ecosystem coupling; zero-dep scripts extractable on demand),
51
52
  > co-mathematician (standalone app; concepts only), textbook-copilot (Apache-2.0 standalone app).
@@ -54,7 +55,7 @@ Skills carry the methodology; tools carry deterministic execution. The plugin co
54
55
 
55
56
  ## Installation and usage
56
57
 
57
- Requires Node.js `24.18.0+` and DSH `0.2.x (since 0.2.0-rc.1)`.
58
+ Requires Node.js `24.22.1+` and DSH `0.2.x`: the peer range covers `0.2.1-rc.5` through `0.2.x` and names `0.2.2-rc.1` explicitly, and the development dependencies pin `0.2.2-rc.1`. The runtime probe detects whether the host mounted a tool executor and adapts to the 0.2.1 single-call and 0.2.2 batch interfaces accordingly.
58
59
 
59
60
  ```sh
60
61
  dsh plugin --profile <your-profile> add @louisultra/dsh-verymath
@@ -75,7 +76,11 @@ Then just ask in a session, e.g. "look up the Chinese term for manifold" or "rea
75
76
 
76
77
  - **Query and paper validation**: no external dependencies.
77
78
  - **Glossary build/export** (`verymath_glossary_build`): requires a local Python 3 plus the upstream script dependencies (`PyYAML`; Excel export additionally needs `openpyxl`, the web UI needs `Flask`). Check availability with `verymath_python_check` first and install per its hints; the plugin does not bundle Python.
78
- - **Platforms**: verified on macOS (Apple Silicon) (DSH CLI sandbox + the EduWork 0.4.3 desktop app itself); Windows should work (Node and Python on PATH) but is not yet tested — feedback welcome.
79
+ - **Platforms**: verified on macOS (Apple Silicon) (DSH CLI sandbox + the EduWork 0.4.3 desktop app itself); Windows should work (Node and Python on PATH) but is not yet tested — external binaries are now resolved through PATH and PATHEXT rather than a macOS-only path, though that has not been exercised on Windows. Feedback welcome.
80
+
81
+ ## Continuous integration
82
+
83
+ `.github/workflows/check.yml` runs `typecheck → build → test → runtime probe` on every push and pull request (GitHub Actions, Node 24).
79
84
 
80
85
  ## Developing from source
81
86
 
package/UPSTREAM.json CHANGED
@@ -46,7 +46,7 @@
46
46
  "skills/paper-writing/templates/",
47
47
  "skills/math-beamer/ (SKILL.md + templates/ catalog+23 packs+previews + references/, verbatim with DSH notes)"
48
48
  ],
49
- "adaptationNotes": "paper-writing bundled with sub-skills flattened to module files (plugin skill-discovery layout) and DSH Integration Notes added; templates verbatim. math-beamer NOT bundled (TeX-heavy; candidate for later with verymath_beamer_check). math-beamer bundled after verifying local TeX Live 2025 compiles the seminar-minimal-zh template end-to-end; ECNU third-party template index NOT vendored (upstream policy)."
49
+ "adaptationNotes": "paper-writing bundled with sub-skills flattened to module files (plugin skill-discovery layout) and DSH Integration Notes added; templates verbatim. math-beamer bundled after verifying local TeX Live 2025 compiles the seminar-minimal-zh template end-to-end; ECNU third-party template index NOT vendored (upstream policy)."
50
50
  },
51
51
  {
52
52
  "repository": "https://github.com/VeryMath/AI4Math-Auto-Research",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  {
73
73
  "repository": "https://github.com/VeryMath/AI4Math-Optimization",
74
- "commit": "a054d39a",
74
+ "commit": "a054d39a6be36a539eb511336af5a6b8c6c466b7",
75
75
  "license": "MIT",
76
76
  "adaptedPaths": [
77
77
  "skills/osqp-solver/ (SKILL.md + scripts/, scripts verbatim)",