forgecad 0.1.0 → 0.1.1
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.
- package/README.md +12 -1
- package/dist/assets/{evalWorker-BYHXxh15.js → evalWorker-DuS4V-H5.js} +1 -1
- package/dist/assets/{index--CYbOPKS.js → index-d60dJDhX.js} +333 -332
- package/dist/assets/manifold-C44_QbND.wasm +0 -0
- package/dist/assets/manifold-DEOPQqeC.js +16 -0
- package/dist/assets/manifold-DbvY5u9x.js +16 -0
- package/dist/assets/manifold-cL7A7HeM.js +16 -0
- package/dist/assets/{reportWorker-B1Zdrz9l.js → reportWorker-GZVKtf9S.js} +1 -1
- package/dist/index.html +1 -1
- package/dist-cli/forgecad.js +3 -3
- package/package.json +2 -2
- package/dist/assets/manifold-65fIQlgQ.js +0 -20
- package/dist/assets/manifold-B85M7kop.js +0 -20
- package/dist/assets/manifold-B8h_vZ5O.js +0 -16
- package/dist/assets/manifold-D9yvTBHx.wasm +0 -0
- package/dist/assets/manifold-d1UpyLJ8.js +0 -20
package/README.md
CHANGED
|
@@ -77,6 +77,16 @@ ForgeCAD is built to work cleanly with coding agents. Your CAD models are plain
|
|
|
77
77
|
- browser + CLI run the same engine, so AI-generated scripts behave consistently
|
|
78
78
|
- the generated Codex skill is maintained via [docs/processes/MAINTAINING_FORGECAD_SKILL.md](docs/processes/MAINTAINING_FORGECAD_SKILL.md)
|
|
79
79
|
|
|
80
|
+
### Agent skill (Claude Code, Codex, OpenCode, …)
|
|
81
|
+
|
|
82
|
+
Install a self-contained ForgeCAD skill for coding agents that support the `~/.agents/skills/` convention (all API docs inlined — no repo required):
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
forgecad skill install
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
This copies a pre-built `SKILL.md` to `~/.agents/skills/forgecad/SKILL.md`. Reload your agent to activate. Run again after upgrading ForgeCAD to pick up updated docs.
|
|
89
|
+
|
|
80
90
|
### Instructions for AI model generation
|
|
81
91
|
|
|
82
92
|
When an AI model is asked to generate ForgeCAD models, require this workflow:
|
|
@@ -237,6 +247,7 @@ All CLI tools use the same runtime as the browser (`src/forge/headless.ts`), so
|
|
|
237
247
|
| Export exact BREP (supported subset only) | `forgecad export brep examples/api/brep-exportable.forge.js` |
|
|
238
248
|
| Generate report PDF | `forgecad export report examples/cup.forge.js` |
|
|
239
249
|
| Parameter robustness scan | `forgecad check params examples/shoe-rack-doors.forge.js --samples 10` |
|
|
250
|
+
| Install agent skill (Claude Code, Codex, OpenCode…) | `forgecad skill install` |
|
|
240
251
|
| Prune merged local-only branches | `uv run cli/forge-prune-local-branches.py` |
|
|
241
252
|
| Transform invariants | `forgecad check transforms` |
|
|
242
253
|
| Dimension propagation invariants | `forgecad check dimensions` |
|
|
@@ -317,7 +328,7 @@ Verify what gets included before publishing:
|
|
|
317
328
|
npm pack --dry-run
|
|
318
329
|
```
|
|
319
330
|
|
|
320
|
-
The build produces `dist/` (browser SPA)
|
|
331
|
+
The build produces `dist/` (browser SPA), `dist-cli/` (CLI bundle), and `dist-skill/` (self-contained Claude Code skill). All three are included in the published package. End users get a fast production server; contributors without a built `dist/` automatically fall back to the Vite dev server.
|
|
321
332
|
|
|
322
333
|
## Contributing
|
|
323
334
|
|