@bendyline/molen-tooling 0.0.3 → 0.0.5

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 (50) hide show
  1. package/README.md +4 -4
  2. package/dist/capture/harness.js +231 -231
  3. package/dist/capture/worldgen-preview.js +206 -206
  4. package/dist/cli.mjs +54 -2
  5. package/dist/docs-src/guide/adaptive-performance.md +5 -2
  6. package/dist/docs-src/guide/aircraft.md +12 -0
  7. package/dist/docs-src/guide/ambient-life.md +389 -0
  8. package/dist/docs-src/guide/browser-mount.md +5 -0
  9. package/dist/docs-src/guide/capability-authoring.md +5 -0
  10. package/dist/docs-src/guide/determinism.md +24 -16
  11. package/dist/docs-src/guide/earth-view.md +108 -20
  12. package/dist/docs-src/guide/entities.md +8 -0
  13. package/dist/docs-src/guide/examples.md +4 -1
  14. package/dist/docs-src/guide/figures.md +3 -0
  15. package/dist/docs-src/guide/game-samples.md +1 -1
  16. package/dist/docs-src/guide/markers.md +7 -1
  17. package/dist/docs-src/guide/navigation.md +10 -1
  18. package/dist/docs-src/guide/sky.md +5 -0
  19. package/dist/docs-src/guide/surface-rendering.md +7 -4
  20. package/dist/docs-src/guide/terrain.md +58 -3
  21. package/dist/docs-src/guide/vehicles.md +14 -1
  22. package/dist/docs-src/guide/worldgen.md +30 -17
  23. package/dist/docs-src/llms.txt +7 -4
  24. package/dist/docs-src/schemas/README.md +1 -0
  25. package/dist/docs-src/schemas/components.md +530 -1
  26. package/dist/docs-src/schemas/scene.md +105 -0
  27. package/dist/docs-src/schemas/terrain-package.md +102 -0
  28. package/dist/docs-src/schemas/transport-network.md +351 -0
  29. package/dist/index.d.mts +44 -1
  30. package/dist/index.mjs +81 -4
  31. package/dist/{mcp-BTVwVKFb.mjs → mcp-DKm1h9hD.mjs} +22 -1
  32. package/dist/{ops-BPdHodFR.mjs → ops-DHyZWZUE.mjs} +291 -66
  33. package/dist/templates/city-courier/README.md +1 -1
  34. package/dist/templates/city-courier/delivery-run.replay.json +151 -151
  35. package/dist/templates/city-courier/gen/molen-types.ts +82 -2
  36. package/dist/templates/city-courier/package.json +1 -0
  37. package/dist/templates/city-courier/scene.json +99 -282
  38. package/dist/templates/city-courier/scripts/game.ts +2 -14
  39. package/dist/templates/city-courier/scripts/molen-scripts.d.ts +86 -13
  40. package/dist/templates/city-courier/src/worker.ts +3 -1
  41. package/dist/templates/city-courier/test/headless.test.ts +3 -2
  42. package/dist/templates/data-viz/README.md +1 -1
  43. package/dist/templates/index.json +19 -1
  44. package/dist/templates/skybound/gen/molen-types.ts +82 -2
  45. package/dist/templates/skybound/scripts/molen-scripts.d.ts +81 -1
  46. package/dist/templates/terrain-flyover/README.md +2 -2
  47. package/dist/templates/top-down-arena/README.md +1 -1
  48. package/dist/templates/top-down-arena/scripts/molen-scripts.d.ts +81 -1
  49. package/dist/templates/top-down-arena/src/gen/molen-types.ts +82 -2
  50. package/package.json +13 -12
package/README.md CHANGED
@@ -70,7 +70,7 @@ starter — carries an `AGENTS.md` that points a coding agent at the version-loc
70
70
  | `molen mcp` | every operation but the file watcher, as MCP tools over stdio; `drive_scene`, `play_experience`, `worldgen_preview` and `figure_preview` return frames as images |
71
71
  | `molen describe [op]` | the machine-readable contract for every operation, CLI flags and MCP tool name side by side — the surface to build an agent against |
72
72
  | discovery, no source reading | `molen schema list`/`get`, `molen components`/`component <name>`, `molen docs search <q>` over the engine docs bundle shipped inside this package |
73
- | `.` (the ops library) | every op as a plain async `(input) => output`: `validateAsset`, `runSimulation`, `screenshotScene`, `runReplayFile`, `driveScene`, `playExperience`, `rasterizeMaterial`, `checkScripts`, `generateTypes`, `importAsset`, `scaffoldExperience`, `listTemplates`, … plus `OPS_CATALOG`, and `compareGolden`/`diffImages` for your own image tests |
73
+ | `.` (the ops library) | every op as a plain async `(input) => output`: `validateAsset`, `runSimulation`, `screenshotScene`, `runReplayFile`, `driveScene`, `playExperience`, `rasterizeMaterial`, `checkScripts`, `generateTypes`, `importAsset`, `scaffoldExperience`, `listTemplates`, … plus `OPS_CATALOG`, and `diffImages`/`frameStats`/`compareGolden` for your own image tests |
74
74
 
75
75
  Ops that need content (entity types, a style pack, a region atlas) read it from content packs,
76
76
  never from npm packages: the project's `project.json` `packs` list (paths or pinned URLs), then
@@ -93,9 +93,9 @@ step.
93
93
 
94
94
  ## Status
95
95
 
96
- 0.x. Nothing imports this package — it sits on top of the engine, so its version line moves with
97
- everything else. All logic lives in the ops library and the CLI and MCP server are thin mappings
98
- over it, which means new operations appear on both at once and `OPS_CATALOG` / `molen describe`
96
+ 0.x. Nothing imports this package — it sits on top of the engine and releases whenever an engine
97
+ package it depends on does, so new projects scaffold the newest versions. All logic lives in the
98
+ ops library and the CLI and MCP server are thin mappings over it, which means new operations appear on both at once and `OPS_CATALOG` / `molen describe`
99
99
  stay the one description of them. Expect operations and flags to be added; existing output shapes
100
100
  are exercised by the repo's own tests but are not yet frozen.
101
101