@field/cascade 0.6.0 → 0.7.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/dist/assets/{CodeEditor-BLpahZw6.js → CodeEditor-D-N0C2jT.js} +4 -4
  3. package/dist/assets/{CodePanel-BqYKqBMH.js → CodePanel-EN411mp5.js} +2 -2
  4. package/dist/assets/{CustomNodeDialog-CYr9y7dG.js → CustomNodeDialog-6z2n27VV.js} +1 -1
  5. package/dist/assets/OpenGraphDialog-CsMNY3C6.css +1 -0
  6. package/dist/assets/OpenGraphDialog-fMZjzIR3.js +1 -0
  7. package/dist/assets/{ProjectSettings-CnYfrkKh.js → ProjectSettings-BQ8PGNqo.js} +1 -1
  8. package/dist/assets/{SettingsDialog-mSS6KUyS.js → SettingsDialog-IbYLm8Bx.js} +1 -1
  9. package/dist/assets/{VersionHistoryDialog-DZuwNG6s.js → VersionHistoryDialog-Bgh-q5Jg.js} +1 -1
  10. package/dist/assets/{core-BOGrwBxU.js → core-DlkL34JF.js} +1 -1
  11. package/dist/assets/{cssMode-0Z3pyDOW.js → cssMode-DaSSFZYi.js} +1 -1
  12. package/dist/assets/definitions-CQBdsJYJ.js +1 -0
  13. package/dist/assets/{editor.api-D-_7pnnj.js → editor.api-CHUMRaMm.js} +1 -1
  14. package/dist/assets/{freemarker2-DE0JRkF7.js → freemarker2-DQ604q2A.js} +1 -1
  15. package/dist/assets/geo-DcmMAcqM.js +1 -0
  16. package/dist/assets/{handlebars-B_Shirzj.js → handlebars-09pcWz8x.js} +1 -1
  17. package/dist/assets/{html-DI5Qj4gd.js → html-DtIKrZiD.js} +1 -1
  18. package/dist/assets/{htmlMode-CkHZy0mE.js → htmlMode-DgJ_4m1_.js} +1 -1
  19. package/dist/assets/{image-B6RU2frM.js → image-CtUE4_I-.js} +1 -1
  20. package/dist/assets/{index-DTyzl6YV.js → index-CnylT98t.js} +19 -19
  21. package/dist/assets/{javascript-zxQfbzS_.js → javascript-kbIBYYGo.js} +1 -1
  22. package/dist/assets/{jsonMode-DSQ0uLqA.js → jsonMode-DblCG64t.js} +1 -1
  23. package/dist/assets/{liquid-0zs2oOuA.js → liquid-D-qdTGhQ.js} +1 -1
  24. package/dist/assets/{lspLanguageFeatures-7VWaq5lc.js → lspLanguageFeatures-Bc6azcFQ.js} +1 -1
  25. package/dist/assets/math-CY11tkoN.js +1 -0
  26. package/dist/assets/{mdx-BFKlF5Xh.js → mdx-TXg4xsyD.js} +1 -1
  27. package/dist/assets/pop-Dr5-ARqQ.js +1 -0
  28. package/dist/assets/{python-BgexpWZh.js → python-C4SGyXJW.js} +1 -1
  29. package/dist/assets/{razor-E1kWyvkT.js → razor-BZ-lEgY9.js} +1 -1
  30. package/dist/assets/{tsMode-CTmJLLW5.js → tsMode-BoaO1D7x.js} +1 -1
  31. package/dist/assets/{typescript-BheZLRDM.js → typescript-D87dYk9k.js} +1 -1
  32. package/dist/assets/{workers-KIoho05H.js → workers-ZrST7klJ.js} +1 -1
  33. package/dist/assets/{xml-DaVLg9zI.js → xml-DT6r4F7G.js} +1 -1
  34. package/dist/assets/{yaml-D6XGTfOj.js → yaml-DxmQ8XYb.js} +1 -1
  35. package/dist/cli/index.js +3289 -11436
  36. package/dist/index.html +1 -1
  37. package/dist/runtime/builtins/geo/definitions.d.ts +153 -0
  38. package/dist/runtime/builtins/geo/definitions.js +75 -0
  39. package/dist/runtime/builtins/geo/index.d.ts +3 -1
  40. package/dist/runtime/builtins/geo/index.js +4 -1
  41. package/dist/runtime/geometry/index.d.ts +1 -0
  42. package/dist/runtime/geometry/index.js +1 -0
  43. package/dist/runtime/geometry/rects.d.ts +88 -0
  44. package/dist/runtime/geometry/rects.js +68 -0
  45. package/doc/NODE_REFERENCE.md +26 -1
  46. package/package.json +1 -1
  47. package/dist/assets/definitions-Cckh442l.js +0 -1
  48. package/dist/assets/geo-DcAVygkw.js +0 -1
  49. package/dist/assets/math-BA6juJD7.js +0 -1
  50. package/dist/assets/pop-Bkzzmp57.js +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,76 @@
2
2
 
3
3
  Notable changes to Cascade. Newest first.
4
4
 
5
+ ## 0.7.1 — 2026-09-12
6
+
7
+ ### Added
8
+
9
+ - **File > Open lists the graphs on the machine running the server.** It called
10
+ the browser's file picker, which lists the machine in front of you — opened
11
+ from Goa while the project sat in London, three of four graphs were
12
+ unreachable. `GET /api/graph` already returned them; the menu had never caught
13
+ up. The local picker remains, behind "Open from this computer…".
14
+ - **`cascade run --node <id>`**, repeatable, naming which output nodes to
15
+ render. `--entry-node` did most of this and was unfindable, because "entry
16
+ node" reads as *start here* rather than *render this*. One named node narrows
17
+ the cook as well as the saving; several narrow the saving.
18
+
19
+ ### Fixed
20
+
21
+ - **The `files` capability resolves symlinks before deciding a path is inside
22
+ the project.** `path.resolve` normalises `..` and does not follow links, so a
23
+ project containing `cache -> /somewhere/else` read outside itself. Containment
24
+ rather than a ban: a link that stays inside the project still works.
25
+
26
+ ## 0.7.0 — 2026-09-12
27
+
28
+ ### Removed
29
+
30
+ - **The dynamic executor.** `cascade run` had a second execution path: when the
31
+ deterministic runtime declined a graph, the CLI built a Studio `Graph`,
32
+ compiled each node with esbuild and cooked it through the class-based
33
+ scheduler. About 160 lines of second implementation, with behaviour that
34
+ differed from the one every other surface uses.
35
+
36
+ Removed on a measurement: all nine graphs across six sketches either render
37
+ through the deterministic runtime or are refused by the runtime's own
38
+ `runtime/preflight-environment` for declaring `runsOn: 'browser'`. 72 nodes,
39
+ none dynamic. A graph with no definition-v1 nodes is now refused by name
40
+ rather than run through the other path.
41
+
42
+ Nothing in the CLI reads the class registry any more, so
43
+ `registerStandardNodes()` is gone from the runner and the bundled CLI no
44
+ longer carries the class-based standard library.
45
+
46
+ ### Added
47
+
48
+ - **`cascade.geo.FromRects`** and `rectsToGeometry`. `rects` was a declared core
49
+ type with no consumers; it converts to geometry as one closed polygon per
50
+ rect, with the tag preserved as a primitive string attribute. Raster rects
51
+ need their frame height, and the node refuses rather than guessing it — an
52
+ unflipped raster rect renders mirrored and plausible.
53
+ - **A `files` capability on the CLI host.** Declaring `files` previously got a
54
+ node `undefined`, which pushed authors towards an undeclared `node:fs` import
55
+ — the invisible version of the thing declarations exist to make visible.
56
+ Reads resolve inside the project, writes are confined to `.cascade-cache/`.
57
+ - **Stage output reaches the operator.** A stage could log and nobody could read
58
+ it: `stderr` was consulted only on failure and `stdout` only for its last
59
+ line. `cascade run --verbose` now forwards both.
60
+ - **`--strict`** fails `validate` and `check` when a node names a module with no
61
+ file, and the summary says how many were unresolved rather than reporting
62
+ "passed" directly under the list.
63
+
64
+ ### Fixed
65
+
66
+ - **Scrubbing no longer kills the cook it is waiting for.** The timeline marked
67
+ time-dependent nodes dirty *before* its own already-cooking guard, so every
68
+ scrubbed frame aborted the cook in flight and then deferred — a graph slower
69
+ than the mouse never finished one. The coalescing that was already there is
70
+ what makes leaving the running cook alone correct.
71
+ - **A cancelled cook is no longer logged as a failure.** The node's state was
72
+ already right; only the console was lying, several times a second, which
73
+ buries the real failure when one arrives.
74
+
5
75
  ## 0.6.0 — 2026-09-10
6
76
 
7
77
  All three items from a user's first day with the npm package.