@field/cascade 0.6.0 → 0.7.0

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 (48) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist/assets/{CodeEditor-BLpahZw6.js → CodeEditor-DkpxJFRs.js} +4 -4
  3. package/dist/assets/{CodePanel-BqYKqBMH.js → CodePanel-O31InnQg.js} +2 -2
  4. package/dist/assets/{CustomNodeDialog-CYr9y7dG.js → CustomNodeDialog-Cn3sT-M2.js} +1 -1
  5. package/dist/assets/{ProjectSettings-CnYfrkKh.js → ProjectSettings-BzEmtsYc.js} +1 -1
  6. package/dist/assets/{SettingsDialog-mSS6KUyS.js → SettingsDialog-zWct7T8j.js} +1 -1
  7. package/dist/assets/{VersionHistoryDialog-DZuwNG6s.js → VersionHistoryDialog-DCe6XQcO.js} +1 -1
  8. package/dist/assets/{core-BOGrwBxU.js → core-DwPLRUzm.js} +1 -1
  9. package/dist/assets/{cssMode-0Z3pyDOW.js → cssMode-C1bjAPYj.js} +1 -1
  10. package/dist/assets/definitions-Dh-oZAA5.js +1 -0
  11. package/dist/assets/{editor.api-D-_7pnnj.js → editor.api-wr5lElMs.js} +1 -1
  12. package/dist/assets/{freemarker2-DE0JRkF7.js → freemarker2-DQHTaSDb.js} +1 -1
  13. package/dist/assets/geo-DLRNQg57.js +1 -0
  14. package/dist/assets/{handlebars-B_Shirzj.js → handlebars-DOiZYGbp.js} +1 -1
  15. package/dist/assets/{html-DI5Qj4gd.js → html-B1u4CWMY.js} +1 -1
  16. package/dist/assets/{htmlMode-CkHZy0mE.js → htmlMode-YNKJ8Hq1.js} +1 -1
  17. package/dist/assets/{image-B6RU2frM.js → image-DmeeS7Tl.js} +1 -1
  18. package/dist/assets/{index-DTyzl6YV.js → index-C35beBgj.js} +15 -15
  19. package/dist/assets/{javascript-zxQfbzS_.js → javascript-DVujl3OI.js} +1 -1
  20. package/dist/assets/{jsonMode-DSQ0uLqA.js → jsonMode-Bp_Ujoae.js} +1 -1
  21. package/dist/assets/{liquid-0zs2oOuA.js → liquid-C0wcDX3X.js} +1 -1
  22. package/dist/assets/{lspLanguageFeatures-7VWaq5lc.js → lspLanguageFeatures-C2XtKL_c.js} +1 -1
  23. package/dist/assets/math-D0hLbnR2.js +1 -0
  24. package/dist/assets/{mdx-BFKlF5Xh.js → mdx-Dz4Hb1ZN.js} +1 -1
  25. package/dist/assets/pop-OaOoEUwk.js +1 -0
  26. package/dist/assets/{python-BgexpWZh.js → python-Y4eTKlAp.js} +1 -1
  27. package/dist/assets/{razor-E1kWyvkT.js → razor-BmpH_QN_.js} +1 -1
  28. package/dist/assets/{tsMode-CTmJLLW5.js → tsMode-mOQwydYU.js} +1 -1
  29. package/dist/assets/{typescript-BheZLRDM.js → typescript-8ItD7azm.js} +1 -1
  30. package/dist/assets/{workers-KIoho05H.js → workers-xhda_-L2.js} +1 -1
  31. package/dist/assets/{xml-DaVLg9zI.js → xml-ydyZSquM.js} +1 -1
  32. package/dist/assets/{yaml-D6XGTfOj.js → yaml-BQjpTmW5.js} +1 -1
  33. package/dist/cli/index.js +3245 -11426
  34. package/dist/index.html +1 -1
  35. package/dist/runtime/builtins/geo/definitions.d.ts +153 -0
  36. package/dist/runtime/builtins/geo/definitions.js +75 -0
  37. package/dist/runtime/builtins/geo/index.d.ts +3 -1
  38. package/dist/runtime/builtins/geo/index.js +4 -1
  39. package/dist/runtime/geometry/index.d.ts +1 -0
  40. package/dist/runtime/geometry/index.js +1 -0
  41. package/dist/runtime/geometry/rects.d.ts +88 -0
  42. package/dist/runtime/geometry/rects.js +68 -0
  43. package/doc/NODE_REFERENCE.md +26 -1
  44. package/package.json +1 -1
  45. package/dist/assets/definitions-Cckh442l.js +0 -1
  46. package/dist/assets/geo-DcAVygkw.js +0 -1
  47. package/dist/assets/math-BA6juJD7.js +0 -1
  48. package/dist/assets/pop-Bkzzmp57.js +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,55 @@
2
2
 
3
3
  Notable changes to Cascade. Newest first.
4
4
 
5
+ ## 0.7.0 — 2026-09-12
6
+
7
+ ### Removed
8
+
9
+ - **The dynamic executor.** `cascade run` had a second execution path: when the
10
+ deterministic runtime declined a graph, the CLI built a Studio `Graph`,
11
+ compiled each node with esbuild and cooked it through the class-based
12
+ scheduler. About 160 lines of second implementation, with behaviour that
13
+ differed from the one every other surface uses.
14
+
15
+ Removed on a measurement: all nine graphs across six sketches either render
16
+ through the deterministic runtime or are refused by the runtime's own
17
+ `runtime/preflight-environment` for declaring `runsOn: 'browser'`. 72 nodes,
18
+ none dynamic. A graph with no definition-v1 nodes is now refused by name
19
+ rather than run through the other path.
20
+
21
+ Nothing in the CLI reads the class registry any more, so
22
+ `registerStandardNodes()` is gone from the runner and the bundled CLI no
23
+ longer carries the class-based standard library.
24
+
25
+ ### Added
26
+
27
+ - **`cascade.geo.FromRects`** and `rectsToGeometry`. `rects` was a declared core
28
+ type with no consumers; it converts to geometry as one closed polygon per
29
+ rect, with the tag preserved as a primitive string attribute. Raster rects
30
+ need their frame height, and the node refuses rather than guessing it — an
31
+ unflipped raster rect renders mirrored and plausible.
32
+ - **A `files` capability on the CLI host.** Declaring `files` previously got a
33
+ node `undefined`, which pushed authors towards an undeclared `node:fs` import
34
+ — the invisible version of the thing declarations exist to make visible.
35
+ Reads resolve inside the project, writes are confined to `.cascade-cache/`.
36
+ - **Stage output reaches the operator.** A stage could log and nobody could read
37
+ it: `stderr` was consulted only on failure and `stdout` only for its last
38
+ line. `cascade run --verbose` now forwards both.
39
+ - **`--strict`** fails `validate` and `check` when a node names a module with no
40
+ file, and the summary says how many were unresolved rather than reporting
41
+ "passed" directly under the list.
42
+
43
+ ### Fixed
44
+
45
+ - **Scrubbing no longer kills the cook it is waiting for.** The timeline marked
46
+ time-dependent nodes dirty *before* its own already-cooking guard, so every
47
+ scrubbed frame aborted the cook in flight and then deferred — a graph slower
48
+ than the mouse never finished one. The coalescing that was already there is
49
+ what makes leaving the running cook alone correct.
50
+ - **A cancelled cook is no longer logged as a failure.** The node's state was
51
+ already right; only the console was lying, several times a second, which
52
+ buries the real failure when one arrives.
53
+
5
54
  ## 0.6.0 — 2026-09-10
6
55
 
7
56
  All three items from a user's first day with the npm package.