@lifeaitools/rdc-skills 0.13.0 → 0.13.2

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rdc",
3
- "version": "0.13.0",
3
+ "version": "0.13.2",
4
4
  "description": "RDC typed-agent dispatch skill suite for Claude Code — plan, build, review, overnight unattended builds with work-item tracking and TDD enforcement.",
5
5
  "author": {
6
6
  "name": "LIFEAI",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifeaitools/rdc-skills",
3
- "version": "0.13.0",
3
+ "version": "0.13.2",
4
4
  "description": "RDC typed-agent dispatch skill suite for Claude Code - plan, build, review, overnight builds",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -31,17 +31,25 @@ fetch and run the tool in its own session (this is how claude.ai uses it).
31
31
  The command is always `build-corpus <input> [flags]`. Resolve the binary like this:
32
32
 
33
33
  1. **Already on PATH?** Use it directly: `build-corpus --help`.
34
- 2. **Python runtime (recommended on Linux/macOS/claude.ai):**
35
- - one-off, no install: `pipx run build-corpus <input> [flags]`
36
- - or install: `pipx install build-corpus` (PEP 668-safe)
37
- - in a disposable sandbox: `python3 -m pip install build-corpus && build-corpus <input> [flags]`
38
- - S3/R2 image upload needs the extra: `pip install "build-corpus[s3]"`
39
- 3. **Node runtime:** `npx -y -p regen-mde build-corpus <input> [flags]`
34
+ 2. **Install straight from GitHub — REQUIRED for current behavior** (native LaTeX→OMML
35
+ equations, the fidelity report, and the escaped-currency fix; the PyPI/npm packages
36
+ below currently LAG GitHub):
37
+ ```bash
38
+ pip install "git+https://github.com/LIFEAI/build-corpus.git@feat/dual-package-ubuntu"
39
+ # once merged to main, drop the @branch:
40
+ # pip install "git+https://github.com/LIFEAI/build-corpus.git"
41
+ ```
42
+ This installs the `build-corpus` CLI and its deps (latex2mathml, mathml2omml,
43
+ python-docx, Pillow, omml2latex). On Debian/Ubuntu externally-managed Python, add
44
+ `--break-system-packages`, use a venv, or `pipx install "git+https://github.com/LIFEAI/build-corpus.git@feat/dual-package-ubuntu"`.
45
+ 3. **PyPI / npm (only if you do NOT need the latest fixes — these lag GitHub):**
46
+ `pipx install build-corpus` · `npx -y -p regen-mde build-corpus <input> [flags]`
40
47
  4. **Legacy `.ppt` input** additionally needs LibreOffice (`soffice`) on PATH
41
48
  (`sudo apt install libreoffice`). `.docx`/`.pptx` need nothing extra.
49
+ 5. **S3/R2 image upload** needs the extra: append `[s3]` to the package spec.
42
50
 
43
- claude.ai note: pull from PyPI (`build-corpus`) or npm (`regen-mde`) and run in the
44
- analysis/session sandbox. No local repo checkout is required.
51
+ claude.ai note: install from GitHub (step 2) into the analysis/session sandbox and run
52
+ `build-corpus` there. GitHub is the source of truth until PyPI/npm are republished.
45
53
 
46
54
  ## Command Reference
47
55
 
@@ -73,9 +81,15 @@ Prefer keeping S3 secrets in `--config`, not on the command line.
73
81
  - `base64` — embed images directly as Markdown data URIs.
74
82
  - `s3` — upload to S3-compatible storage (Cloudflare R2 / AWS S3); needs the S3 flags or `--config`.
75
83
 
76
- ### Equation modes (`--equations`)
77
- - `tex` convert Word OMML equations to KaTeX-readable TeX (default).
78
- - `image` render equations as images (visual debugging only).
84
+ ### Equations (both directions are real)
85
+ - **docx → markdown** (`--equations`): `tex` converts Word OMML equations to
86
+ KaTeX-readable TeX (default); `image` renders them as images (debug only).
87
+ - **markdown → word** (`--to word`): inline `$...$` and display `$$...$$` LaTeX
88
+ are converted to **native Office Math (OMML)** that Word renders as real
89
+ equations (`\sum`, `\int`, `\frac`, `\Delta`, `\rightarrow`, `\leq`, …) — not
90
+ raw text in a math font. Unparseable fragments fall back to Cambria Math text
91
+ and are flagged in the export report. Requires build-corpus ≥ 0.4.0. Fence
92
+ display math with `$$` on their own lines, no blank lines inside the fence.
79
93
 
80
94
  ## Editor — `regen-mde` (Windows only)
81
95