dsh-cad-harness 0.1.2-preview.2 → 0.2.1-preview.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 (185) hide show
  1. package/NOTICE +1 -1
  2. package/README.en.md +42 -27
  3. package/README.md +26 -18
  4. package/docs/TOKEN-BASELINE.json +98 -0
  5. package/docs/TOOL-CONTRACTS.md +172 -36
  6. package/docs/TOOL-SURFACE-MAP.md +103 -0
  7. package/docs/TOOL-SURFACE-V1.json +289 -0
  8. package/docs/en/llm/README.md +75 -0
  9. package/docs/en/llm/assembly.md +306 -0
  10. package/docs/en/llm/cadquery.md +62 -0
  11. package/docs/en/llm/conventions.md +73 -0
  12. package/docs/en/llm/delivery.md +173 -0
  13. package/docs/en/llm/engines.md +98 -0
  14. package/docs/en/llm/library.md +75 -0
  15. package/docs/en/llm/manufacturing.md +178 -0
  16. package/docs/en/llm/modeling.md +89 -0
  17. package/docs/en/llm/processes.md +51 -0
  18. package/docs/en/llm/traps.md +119 -0
  19. package/docs/en/llm/verify.md +365 -0
  20. package/docs/llm/README.md +75 -0
  21. package/docs/llm/assembly.md +271 -0
  22. package/docs/llm/cadquery.md +59 -0
  23. package/docs/llm/conventions.md +75 -0
  24. package/docs/llm/delivery.md +174 -0
  25. package/docs/llm/engines.md +92 -0
  26. package/docs/llm/library.md +71 -0
  27. package/docs/llm/manufacturing.md +232 -0
  28. package/docs/llm/modeling.md +121 -0
  29. package/docs/llm/processes.md +52 -0
  30. package/docs/llm/traps.md +120 -0
  31. package/docs/llm/verify.md +364 -0
  32. package/lib/check-register.js +1580 -0
  33. package/lib/check-register.js.map +7 -0
  34. package/lib/client.js +3919 -625
  35. package/lib/client.js.map +4 -4
  36. package/lib/contract-cli.js +405 -103
  37. package/lib/contract-cli.js.map +4 -4
  38. package/lib/import-run.js +64 -9
  39. package/lib/import-run.js.map +3 -3
  40. package/lib/index.js +11473 -7038
  41. package/lib/index.js.map +4 -4
  42. package/lib/provision.js +1293 -0
  43. package/lib/provision.js.map +7 -0
  44. package/lib/types/client/assembly.d.ts +19 -0
  45. package/lib/types/client/attention-store.d.ts +33 -0
  46. package/lib/types/client/attention-turn-tail.d.ts +11 -0
  47. package/lib/types/client/attention-view.d.ts +62 -0
  48. package/lib/types/client/audit-gaps.d.ts +97 -0
  49. package/lib/types/client/bom-csv.d.ts +44 -0
  50. package/lib/types/client/browse.d.ts +55 -0
  51. package/lib/types/client/explode.d.ts +35 -0
  52. package/lib/types/client/fit.d.ts +12 -0
  53. package/lib/types/client/free-orbit.d.ts +1 -1
  54. package/lib/types/client/i18n.d.ts +150 -1
  55. package/lib/types/client/measure-families.d.ts +70 -0
  56. package/lib/types/client/mesh-cache.d.ts +16 -0
  57. package/lib/types/client/overlay.d.ts +1 -1
  58. package/lib/types/client/panel-target.d.ts +47 -0
  59. package/lib/types/client/panel.d.ts +73 -1
  60. package/lib/types/client/part-mention.d.ts +150 -0
  61. package/lib/types/client/playback.d.ts +43 -0
  62. package/lib/types/client/project.d.ts +4 -0
  63. package/lib/types/client/section.d.ts +76 -6
  64. package/lib/types/client/shot-caption.d.ts +20 -0
  65. package/lib/types/client/stream-progress.d.ts +27 -0
  66. package/lib/types/client/view-orientation.d.ts +33 -0
  67. package/lib/types/host/appearance-budget.d.ts +13 -0
  68. package/lib/types/host/appearance-delta.d.ts +62 -0
  69. package/lib/types/host/appearance-exposure.d.ts +66 -0
  70. package/lib/types/host/assembly-check.d.ts +8 -0
  71. package/lib/types/host/assembly-contract.d.ts +0 -1
  72. package/lib/types/host/attention.d.ts +68 -0
  73. package/lib/types/host/brief-gate.d.ts +7 -0
  74. package/lib/types/host/budget-bootstrap.d.ts +34 -0
  75. package/lib/types/host/cadquery-pack.d.ts +7 -0
  76. package/lib/types/host/check-rerun.d.ts +85 -0
  77. package/lib/types/host/checkers/registry.d.ts +1 -1
  78. package/lib/types/host/checkers/types.d.ts +1 -1
  79. package/lib/types/host/compile.d.ts +10 -0
  80. package/lib/types/host/deliver-attention.d.ts +4 -0
  81. package/lib/types/host/deliver-audit-value.d.ts +112 -0
  82. package/lib/types/host/deliver-defer.d.ts +7 -0
  83. package/lib/types/host/deliver-plan.d.ts +23 -0
  84. package/lib/types/host/deliver-present.d.ts +19 -0
  85. package/lib/types/host/delivery-audit.d.ts +13 -1
  86. package/lib/types/host/delivery-gate.d.ts +7 -0
  87. package/lib/types/host/delivery-handoff.d.ts +4 -0
  88. package/lib/types/host/delivery-routes.d.ts +1 -0
  89. package/lib/types/host/delivery-state.d.ts +85 -0
  90. package/lib/types/host/design-exceptions.d.ts +24 -0
  91. package/lib/types/host/export-gate.d.ts +12 -0
  92. package/lib/types/host/fluid-jobs.d.ts +39 -0
  93. package/lib/types/host/fluid.d.ts +142 -5
  94. package/lib/types/host/inspect.d.ts +26 -5
  95. package/lib/types/host/legacy-route.d.ts +26 -0
  96. package/lib/types/host/library.d.ts +142 -0
  97. package/lib/types/host/manifest.d.ts +72 -1
  98. package/lib/types/host/mesh.d.ts +32 -0
  99. package/lib/types/host/parts.d.ts +38 -0
  100. package/lib/types/host/present-gate.d.ts +15 -0
  101. package/lib/types/host/project.d.ts +24 -3
  102. package/lib/types/host/provision-cli.d.ts +39 -0
  103. package/lib/types/host/python-runtime.d.ts +32 -2
  104. package/lib/types/host/python-worker.d.ts +1 -1
  105. package/lib/types/host/retire.d.ts +55 -0
  106. package/lib/types/host/revert.d.ts +29 -0
  107. package/lib/types/host/run-attention.d.ts +11 -0
  108. package/lib/types/host/runs.d.ts +12 -0
  109. package/lib/types/host/stress-hotspots.d.ts +86 -0
  110. package/lib/types/host/support-seats.d.ts +49 -0
  111. package/lib/types/host/surface-assembly.d.ts +1 -1
  112. package/lib/types/host/surface-deliver.d.ts +1 -1
  113. package/lib/types/host/surface-part.d.ts +1 -1
  114. package/lib/types/host/surface-see.d.ts +1 -1
  115. package/lib/types/host/surface-session.d.ts +1 -1
  116. package/lib/types/host/surface-trim.d.ts +170 -0
  117. package/lib/types/host/surface.d.ts +22 -0
  118. package/lib/types/host/verify/check-register.d.ts +2 -0
  119. package/lib/types/host/verify/freshness.d.ts +1 -1
  120. package/lib/types/host/version-export.d.ts +13 -0
  121. package/lib/types/host/version.d.ts +9 -0
  122. package/lib/types/host/versions-index.d.ts +43 -0
  123. package/lib/types/host/write-assembly.d.ts +31 -0
  124. package/lib/types/shared/error-envelope.d.ts +34 -2
  125. package/lib/types/shared/products-wire.d.ts +3 -0
  126. package/lib/types/shared/types.d.ts +11 -1
  127. package/lib/verify.js +249 -35
  128. package/lib/verify.js.map +4 -4
  129. package/library/README.md +8 -8
  130. package/package.json +72 -40
  131. package/presets/cad/preset.patch.yml +5 -2
  132. package/presets/cad/workflow.md +5 -2
  133. package/python/cad_worker/stress_fem.py +11 -1
  134. package/python/cad_worker/worker.py +364 -2
  135. package/schemas/assembly-manifest.schema.json +18 -3
  136. package/scripts/check-register.mjs +5 -0
  137. package/scripts/doctor.mjs +1 -1
  138. package/scripts/provision.mjs +242 -0
  139. package/scripts/setup.mjs +131 -88
  140. package/skills/cad-assembly/SKILL.md +19 -8
  141. package/skills/cad-manufacturing/SKILL.md +4 -4
  142. package/skills/cad-modeling-measure/SKILL.md +4 -3
  143. package/skills/cad-simulation/SKILL.md +4 -3
  144. package/skills/cad-toolbox/SKILL.md +131 -155
  145. package/docs/PEARL-PLAN.md +0 -984
  146. package/docs/PEARL-REPORT-2026-11-05.md +0 -343
  147. package/examples/pearls/probes.json +0 -9
  148. package/lib/types/host/pearls/context.d.ts +0 -2
  149. package/lib/types/host/pearls/contract.d.ts +0 -62
  150. package/lib/types/host/pearls/execute-template.d.ts +0 -42
  151. package/lib/types/host/pearls/execute.d.ts +0 -27
  152. package/lib/types/host/pearls/format.d.ts +0 -19
  153. package/lib/types/host/pearls/inputs.d.ts +0 -18
  154. package/lib/types/host/pearls/plan.d.ts +0 -4
  155. package/lib/types/host/pearls/probes.d.ts +0 -15
  156. package/lib/types/host/pearls/profile.d.ts +0 -39
  157. package/lib/types/host/pearls/prompt.d.ts +0 -2
  158. package/lib/types/host/pearls/repair-history.d.ts +0 -15
  159. package/lib/types/host/pearls/repair-loop.d.ts +0 -23
  160. package/lib/types/host/pearls/repair.d.ts +0 -26
  161. package/lib/types/host/pearls/run.d.ts +0 -36
  162. package/pearls/brief/pearl.json +0 -11
  163. package/pearls/brief/templates/standard.json +0 -27
  164. package/pearls/deliver/pearl.json +0 -30
  165. package/pearls/deliver/templates/standard.json +0 -32
  166. package/pearls/fit/INTERFACE-GUIDE.md +0 -88
  167. package/pearls/fit/pearl.json +0 -37
  168. package/pearls/fit/templates/mechanism.json +0 -77
  169. package/pearls/fit/templates/static.json +0 -84
  170. package/pearls/make/pearl.json +0 -31
  171. package/pearls/make/templates/fdm.json +0 -54
  172. package/pearls/make/templates/wood.json +0 -44
  173. package/pearls/model/ASSEMBLY-CONTRACT.md +0 -55
  174. package/pearls/model/pearl.json +0 -34
  175. package/pearls/model/templates/assembly.json +0 -78
  176. package/pearls/model/templates/import.json +0 -28
  177. package/pearls/model/templates/scad.json +0 -32
  178. package/pearls/probe-templates/fit-clearance/check.mjs +0 -46
  179. package/pearls/probe-templates/fit-clearance/manifest.json +0 -12
  180. package/pearls/probe-templates/fit-clearance/negative.json +0 -4
  181. package/pearls/probes.json +0 -9
  182. package/pearls/review/pearl.json +0 -31
  183. package/pearls/review/templates/section.json +0 -32
  184. package/pearls/review/templates/visual.json +0 -32
  185. package/schemas/necklace-contract.schema.json +0 -142
package/NOTICE CHANGED
@@ -1,4 +1,4 @@
1
- ToyMarker · dsh-cad-harness
1
+ 营造(Yingzao) · dsh-cad-harness
2
2
  Copyright 2026 songsenand <songsenand@163.com> and other contributors
3
3
 
4
4
  本产品以 Apache License 2.0 发布(全文见 LICENSE)。
package/README.en.md CHANGED
@@ -7,18 +7,27 @@ fluid/process checks, immutable versions, and an evidence policy).
7
7
  This package is normally installed as a dsh plugin bundle, not imported as a
8
8
  library.
9
9
 
10
- ## Install (preview)
10
+ ## Install
11
11
 
12
- Tarball release (no build; `lib/` is included):
12
+ npm (recommended; no build, `lib/` is included):
13
13
 
14
14
  ```bash
15
- tar -xzf dsh-cad-harness-0.1.2-preview.2.tgz
15
+ dsh plugin --profile <profile> add dsh-cad-harness
16
+ npx dsh-cad-setup # preset + OpenSCAD
17
+ npx dsh-cad-doctor # kind=ok, or an explained degraded
18
+ npx dsh-cad-backend --show # kernel=openscad, compileBackend=auto
19
+ # restart dsh; then choose the 「营造模式」 preset for a new session
20
+ ```
21
+
22
+ Tarball (offline / intranet fallback; no build):
23
+
24
+ ```bash
25
+ tar -xzf dsh-cad-harness-<version>.tgz # use the release page version
16
26
  dsh plugin --profile <profile> add -w "$PWD/package"
17
27
  cd package
18
- node scripts/setup.mjs # writes this machine's skill path into the preset
19
- node scripts/doctor.mjs # kind=ok, or an explained degraded
20
- node scripts/backend.mjs --show # kernel=openscad, compileBackend=auto
21
- # restart dsh; then choose the 「营造模式」 preset for a new session
28
+ npx dsh-cad-setup
29
+ npx dsh-cad-doctor
30
+ npx dsh-cad-backend --show
22
31
  ```
23
32
 
24
33
  Source checkout (development):
@@ -26,17 +35,17 @@ Source checkout (development):
26
35
  ```bash
27
36
  dsh plugin --profile <profile> add -w /path/to/dsh-cad-harness
28
37
  cd /path/to/dsh-cad-harness && pnpm install && pnpm run build
29
- npm run setup
38
+ node scripts/setup.mjs
30
39
  ```
31
40
 
32
- `node scripts/setup.mjs --check` reports whether the preset is stale. The package
41
+ `npx dsh-cad-setup --check` reports whether the preset is stale. The package
33
42
  ships with the CAD skill path omitted on purpose: an absolute path from the
34
43
  packing machine would be wrong here.
35
44
 
36
- **After a dsh upgrade, run `node scripts/setup.mjs` again and restart.** The preset is
45
+ **After a dsh upgrade, run `npx dsh-cad-setup` again and restart.** The preset is
37
46
  a verbatim copy of dsh's `standard.patch.yml`, and dsh removes or renames internal
38
47
  rows between releases. A preset mounts as a whole: one stale row and the 「营造模式」
39
- mode does not appear at all — no error, just a missing mode. `node scripts/doctor.mjs`
48
+ mode does not appear at all — no error, just a missing mode. `npx dsh-cad-doctor`
40
49
  reports `preset-standard-drift` and names this fix.
41
50
 
42
51
  ## Requirements
@@ -46,7 +55,9 @@ reports `preset-standard-drift` and names this fix.
46
55
  - OpenSCAD on `PATH` (or `CAD_OPENSCAD_BIN`); 2021.01 works but `doctor` reports
47
56
  `degraded`; 2025.06+ enables the Manifold backend
48
57
  - BOSL2 optional, under `lib/BOSL2/` in the source checkout
49
- - Python runtime is provisioned on first use (about 400 MB, not shipped)
58
+ - Python runtime: prepared by `setup` (~350 MB; `--python=system` reuses a system
59
+ CPython 3.13, `--from-python` is the offline path)
60
+ - CadQuery pack optional, ~1.6 GiB, post-install: `npx dsh-cad-provision --cadquery`
50
61
 
51
62
  ## Preview limits
52
63
 
@@ -58,32 +69,36 @@ reports `preset-standard-drift` and names this fix.
58
69
  - UI English covers the tab title, environment notices, export dialog and main
59
70
  empty states; the deep panel is still mostly Chinese.
60
71
  - OpenSCAD 2021.01 works but has no Manifold backend; 2025.06+ is recommended.
61
- - No second geometry kernel in this preview; CadQuery/FreeCAD are planned.
72
+ - OpenSCAD is the default kernel; CadQuery is an optional B-rep pack (about 1.6 GiB, installed explicitly), and FreeCAD remains planned.
62
73
 
63
74
  ## Commands
64
75
 
65
76
  ```bash
66
- node scripts/doctor.mjs --json
67
- node scripts/backend.mjs --show
68
- node scripts/verify-cli.mjs <project> --advisory
69
- node scripts/clean.mjs # dry-run; --apply to remove stale temp dirs
77
+ npx dsh-cad-doctor --json
78
+ npx dsh-cad-backend --show
79
+ npx dsh-cad-verify <project> --advisory
80
+ npx dsh-cad-check-register <project> --id <id>
81
+ npx dsh-cad-clean # dry-run; --apply to remove stale temp dirs
70
82
  ```
71
83
 
72
84
  The `dsh-cad-*` binaries are declared in `package.json`; they are on `PATH` when
73
85
  the package is linked into a profile/tool installation. From an unpacked tarball,
74
86
  `node scripts/*.mjs` is the reliable form.
75
87
 
76
- ## What's new in 0.1.2-preview.2
88
+ ## What's new in 0.2.1-preview.3
77
89
 
78
- - `generate` takes `dryRun` (compile + measure, save nothing) and `preflight` (save only watertight single-body meshes).
79
- - `cad_check` `sweep` screens a declared joint range before a motion run; revolute joints can declare `overlapEnvelope` / `fit`; motion supports a `gear` ratio.
80
- - Print overhang is a support cost reported as a finding; only a process profile with `overhangDeg.hard: true` lowers the verdict.
81
- - Heat-map layers (fused / thickness / overhang / von Mises) and a host-following light/dark theme.
82
- - New sewing-rotary-hook and 3-speed-derailleur examples (each with a CadQuery variant); older examples move to the history index without being deleted.
83
- - Full notes and known issues: `docs/dev/RELEASE-NOTES-0.1.2.md` in the source repository.
90
+ - **Attention management**: `cad_deliver` `invite` pins a record to a version, `@pNNN` names a part in chat, and the panel's "to look at" strip / per-turn footer locate that record in one click. Duplicate reminders are de-duplicated and a read mark expires with the version.
91
+ - **Assembly extractability**: `cad_check` `retention` walks a declared disassembly sequence and reports whether a part can actually come out (a closed cavity, or a part blocked by one that can leave, is not retained). The verdict enters the contract, the delivery audit and `verify` / `claim` / `run` evidence; `acceptedFree` accepts a part that is free but stays put.
92
+ - **Replay**: the simulation section of the navigator stays visible, a `run` can be named, and the machine page gains a Replay tab; runs with no part can be pinned too.
93
+ - **Delivery gate**: the review turn branches on "is the design finished" (deliver vs defer), the gate reminder no longer reads the turn text, and explained warnings are no longer printed as UNEXPLAINED.
94
+ - **`$fn` / meshes**: `$fn` became a default value and the saved mesh is normalized at the compile boundary.
95
+ - **Examples**: pitcher-pump 304 (pump head + bench plumbing) with contract, motion and single-phase-fluid evidence.
96
+ - Full notes: `docs/user/preview.md`; the release history is in `docs/dev/RELEASE-NOTES-0.2.1-preview.3.md` in the source repository.
84
97
 
85
98
  ## Documentation
86
99
 
87
- The full user, agent and maintainer docs live in the source repository under
88
- `docs/` (`docs/user/` with English mirrors, `docs/llm/`, `docs/dev/`); the
89
- maintainer docs remain Chinese for this preview.
100
+ The Agent reference (`docs/llm/`, English mirror in `docs/en/llm/`) ships inside
101
+ the package beside the tool contracts, so an installed plugin's agent reads its
102
+ long-form rules without a checkout. The user guide and maintainer notes
103
+ (`docs/user/`, `docs/dev/`) stay in the source repository; the maintainer docs
104
+ remain Chinese for 0.2.0.
package/README.md CHANGED
@@ -14,13 +14,16 @@ you accept a model, and the final call left to you.
14
14
 
15
15
  ```bash
16
16
  dsh plugin --profile <profile> add dsh-cad-harness
17
- npx dsh-cad-setup --openscad=auto # preset + OpenSCAD
17
+ npx dsh-cad-setup # preset + Python runtime + OpenSCAD
18
18
  npx dsh-cad-doctor # kind=ok, or an explained degraded
19
19
  ```
20
20
 
21
21
  `setup` writes this machine's skill path into the preset; an absolute path from the
22
- packing machine would be wrong here, so the package ships without it. Restart dsh,
23
- then start a session with the 「营造模式」 preset.
22
+ packing machine would be wrong here, so the package ships without it. It then prepares
23
+ the two hard prerequisites: the bundled Python 3.13 runtime (npmmirror first) and
24
+ OpenSCAD (system 2025.06+ if present, otherwise the pinned download). If either piece
25
+ fails, the plugin is still installed and the command exits `3`; re-run it after fixing
26
+ the source. Restart dsh, then start a session with the 「营造模式」 preset.
24
27
 
25
28
  **After a dsh upgrade, run `npx dsh-cad-setup` again and restart.** The preset is a
26
29
  verbatim copy of dsh's `standard.patch.yml`, and dsh removes or renames internal rows
@@ -35,27 +38,32 @@ does not appear at all — no error, just a missing mode. `npx dsh-cad-doctor` r
35
38
 
36
39
  - Node.js >= 20
37
40
  - dsh, with the CAD bundle enabled for the profile
38
- - OpenSCAD on `PATH` (or `CAD_OPENSCAD_BIN`); 2021.01 works but `doctor` reports
39
- `degraded` — the same model measured 2467 ms on it against 69 ms on a Manifold
40
- build. 2025.06+ enables the Manifold backend; `npx dsh-cad-provision` installs the
41
- pinned snapshot
41
+ - OpenSCAD: `setup` takes an existing 2025.06+ copy or installs the pinned snapshot;
42
+ 2021.01 works but `doctor` reports `degraded` — the same model measured 2467 ms on it
43
+ against 69 ms on a Manifold build. `CAD_OPENSCAD_BIN` overrides the choice
44
+ - Python runtime: prepared by `setup` (~350 MB; `--python=system` reuses a system
45
+ CPython 3.13, `--from-python` is the offline path)
46
+ - CadQuery pack optional, ~1.6 GiB, post-install: `npx dsh-cad-provision --cadquery`
42
47
  - BOSL2 optional, under `lib/BOSL2/` in the source checkout
43
- - Python runtime is provisioned on first use (about 400 MB)
44
48
 
45
- ## What's new in 0.1.2-preview.2
49
+ ## What's new in 0.2.1-preview.3
46
50
 
47
- - `generate` takes `dryRun` (compile + measure, save nothing) and `preflight` (save only watertight single-body meshes).
48
- - `cad_check` `sweep` screens a declared joint range before a motion run; revolute joints can declare `overlapEnvelope` / `fit`; motion supports a `gear` ratio.
49
- - Print overhang is a support cost reported as a finding; only a process profile with `overhangDeg.hard: true` lowers the verdict.
50
- - Heat-map layers (fused / thickness / overhang / von Mises) and a host-following light/dark theme.
51
- - New sewing-rotary-hook and 3-speed-derailleur examples (each with a CadQuery variant); older examples move to the history index without being deleted.
52
- - Full notes and known issues: `docs/dev/RELEASE-NOTES-0.1.2.md` in the source repository.
51
+ - **Attention management**: `cad_deliver` `invite` pins a record to a version, `@pNNN` names a part in chat, and the panel's "to look at" strip / per-turn footer locate that record in one click. Duplicate reminders are de-duplicated and a read mark expires with the version.
52
+ - **Assembly extractability**: `cad_check` `retention` walks a declared disassembly sequence and reports whether a part can actually come out (a closed cavity, or a part blocked by one that can leave, is not retained). The verdict enters the contract, the delivery audit and `verify` / `claim` / `run` evidence; `acceptedFree` accepts a part that is free but stays put.
53
+ - **Replay**: the simulation section of the navigator stays visible, a `run` can be named, and the machine page gains a Replay tab; runs with no part can be pinned too.
54
+ - **Delivery gate**: the review turn branches on "is the design finished" (deliver vs defer), the gate reminder no longer reads the turn text, and explained warnings are no longer printed as UNEXPLAINED.
55
+ - **`$fn` / meshes**: `$fn` became a default value and the saved mesh is normalized at the compile boundary.
56
+ - **Examples**: pitcher-pump 304 (pump head + bench plumbing) with contract, motion and single-phase-fluid evidence.
57
+ - Full notes: `docs/user/preview.md`; the release history is in `docs/dev/RELEASE-NOTES-0.2.1-preview.3.md` in the source repository.
53
58
 
54
59
  ## Documentation
55
60
 
56
- The user guide, Agent reference, and maintainer notes live in the source
57
- repository under `docs/` (`docs/user/`, `docs/llm/`, `docs/dev/`). This tarball
58
- keeps the package-local `docs/` (tool contracts) so the bundle is inspectable.
61
+ The Agent reference ships inside the package (`docs/llm/`, English mirror in
62
+ `docs/en/llm/`) beside the tool contracts (`docs/TOOL-CONTRACTS.md`): a skill
63
+ points at `../../docs/llm/<file>` from its own directory, so an installed
64
+ plugin's agent can read the long-form rules without a git checkout. The user
65
+ guide and maintainer notes (`docs/user/`, `docs/dev/`) stay in the source
66
+ repository.
59
67
 
60
68
  ## License
61
69
 
@@ -0,0 +1,98 @@
1
+ {
2
+ "recordedAt": "2026-11-26",
3
+ "surfaceSchemaChars": 4065,
4
+ "skillCatalogChars": 1865,
5
+ "fixedPrefixChars": 5930,
6
+ "surfaceBudgetChars": 6144,
7
+ "tolerance": 0.1,
8
+ "legacySchemaChars": 104675,
9
+ "components": {
10
+ "surfaces": [
11
+ {
12
+ "name": "cad_session",
13
+ "chars": 395
14
+ },
15
+ {
16
+ "name": "cad_part",
17
+ "chars": 399
18
+ },
19
+ {
20
+ "name": "cad_assembly",
21
+ "chars": 420
22
+ },
23
+ {
24
+ "name": "cad_check",
25
+ "chars": 522
26
+ },
27
+ {
28
+ "name": "cad_simulate",
29
+ "chars": 485
30
+ },
31
+ {
32
+ "name": "cad_inspect",
33
+ "chars": 546
34
+ },
35
+ {
36
+ "name": "cad_see",
37
+ "chars": 375
38
+ },
39
+ {
40
+ "name": "cad_python",
41
+ "chars": 498
42
+ },
43
+ {
44
+ "name": "cad_deliver",
45
+ "chars": 425
46
+ }
47
+ ],
48
+ "skills": [
49
+ {
50
+ "name": "cad-assembly",
51
+ "chars": 335
52
+ },
53
+ {
54
+ "name": "cad-manufacturing",
55
+ "chars": 417
56
+ },
57
+ {
58
+ "name": "cad-modeling-measure",
59
+ "chars": 386
60
+ },
61
+ {
62
+ "name": "cad-simulation",
63
+ "chars": 445
64
+ },
65
+ {
66
+ "name": "cad-toolbox",
67
+ "chars": 282
68
+ }
69
+ ]
70
+ },
71
+ "skillBodies": [
72
+ {
73
+ "name": "cad-assembly",
74
+ "chars": 9629,
75
+ "lines": 54
76
+ },
77
+ {
78
+ "name": "cad-manufacturing",
79
+ "chars": 4073,
80
+ "lines": 38
81
+ },
82
+ {
83
+ "name": "cad-modeling-measure",
84
+ "chars": 5345,
85
+ "lines": 50
86
+ },
87
+ {
88
+ "name": "cad-simulation",
89
+ "chars": 11497,
90
+ "lines": 72
91
+ },
92
+ {
93
+ "name": "cad-toolbox",
94
+ "chars": 18768,
95
+ "lines": 164
96
+ }
97
+ ]
98
+ }