@niscorp/nova 0.3.1 → 0.5.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 (98) hide show
  1. package/ACTION_DOCS.md +1 -1
  2. package/CHANGELOG.md +30 -0
  3. package/DESIGN.md +9 -6
  4. package/README.md +13 -11
  5. package/SHELL_DOCS.md +8 -10
  6. package/dist/adapters/dom/components/index.d.cts +1 -1
  7. package/dist/adapters/dom/components/index.d.ts +1 -1
  8. package/dist/adapters/dom/index.cjs +6 -6
  9. package/dist/adapters/dom/index.d.cts +1 -1
  10. package/dist/adapters/dom/index.d.ts +1 -1
  11. package/dist/adapters/dom/index.js +4 -4
  12. package/dist/adapters/dom/server.cjs +5 -5
  13. package/dist/adapters/dom/server.d.cts +1 -1
  14. package/dist/adapters/dom/server.d.ts +1 -1
  15. package/dist/adapters/dom/server.js +4 -4
  16. package/dist/adapters/react/components/index.cjs +24 -24
  17. package/dist/adapters/react/components/index.js +5 -5
  18. package/dist/adapters/react/index.cjs +27 -27
  19. package/dist/adapters/react/index.d.cts +1 -1
  20. package/dist/adapters/react/index.d.ts +1 -1
  21. package/dist/adapters/react/index.js +5 -5
  22. package/dist/adapters/tty/components/index.d.cts +1 -1
  23. package/dist/adapters/tty/components/index.d.ts +1 -1
  24. package/dist/adapters/tty/index.cjs +3 -3
  25. package/dist/adapters/tty/index.d.cts +1 -1
  26. package/dist/adapters/tty/index.d.ts +1 -1
  27. package/dist/adapters/tty/index.js +3 -3
  28. package/dist/adapters/vue/components/index.cjs +24 -24
  29. package/dist/adapters/vue/components/index.d.cts +9 -9
  30. package/dist/adapters/vue/components/index.d.ts +9 -9
  31. package/dist/adapters/vue/components/index.js +5 -5
  32. package/dist/adapters/vue/index.cjs +32 -32
  33. package/dist/adapters/vue/index.d.cts +1 -1
  34. package/dist/adapters/vue/index.d.ts +1 -1
  35. package/dist/adapters/vue/index.js +6 -6
  36. package/dist/agent/index.cjs +2 -2
  37. package/dist/agent/index.js +1 -1
  38. package/dist/{chunk-ZZRQAH5Z.js → chunk-A3IIJF4E.js} +16 -12
  39. package/dist/chunk-A3IIJF4E.js.map +1 -0
  40. package/dist/{chunk-ZVQKCDUG.cjs → chunk-BML7HQPE.cjs} +8 -28
  41. package/dist/chunk-BML7HQPE.cjs.map +1 -0
  42. package/dist/{chunk-FKAPJMNR.cjs → chunk-CAKJCAHW.cjs} +22 -22
  43. package/dist/{chunk-FKAPJMNR.cjs.map → chunk-CAKJCAHW.cjs.map} +1 -1
  44. package/dist/{chunk-HDREPLRA.cjs → chunk-DMAVKM7M.cjs} +6 -6
  45. package/dist/{chunk-HDREPLRA.cjs.map → chunk-DMAVKM7M.cjs.map} +1 -1
  46. package/dist/{chunk-YV2G37TJ.js → chunk-E2PXYR3H.js} +3 -3
  47. package/dist/{chunk-YV2G37TJ.js.map → chunk-E2PXYR3H.js.map} +1 -1
  48. package/dist/{chunk-SABSY2BW.cjs → chunk-FVGJD6CI.cjs} +4 -4
  49. package/dist/{chunk-SABSY2BW.cjs.map → chunk-FVGJD6CI.cjs.map} +1 -1
  50. package/dist/{chunk-OSIFUROH.js → chunk-GFMNQT2X.js} +5 -5
  51. package/dist/{chunk-OSIFUROH.js.map → chunk-GFMNQT2X.js.map} +1 -1
  52. package/dist/{chunk-UXFQZX6O.js → chunk-GY3KNTNK.js} +6 -26
  53. package/dist/chunk-GY3KNTNK.js.map +1 -0
  54. package/dist/{chunk-PCUXNVWF.js → chunk-IIOO6Z4T.js} +5 -5
  55. package/dist/{chunk-PCUXNVWF.js.map → chunk-IIOO6Z4T.js.map} +1 -1
  56. package/dist/{chunk-3JE77TNL.js → chunk-L5HAGG4U.js} +41 -22
  57. package/dist/chunk-L5HAGG4U.js.map +1 -0
  58. package/dist/{chunk-BXUEWV7V.cjs → chunk-OM2HY2GE.cjs} +16 -12
  59. package/dist/chunk-OM2HY2GE.cjs.map +1 -0
  60. package/dist/{chunk-2H6Y25FO.js → chunk-OPF42ISN.js} +4 -4
  61. package/dist/{chunk-2H6Y25FO.js.map → chunk-OPF42ISN.js.map} +1 -1
  62. package/dist/{chunk-I35ZD3PU.cjs → chunk-TWXAKLMX.cjs} +21 -21
  63. package/dist/{chunk-I35ZD3PU.cjs.map → chunk-TWXAKLMX.cjs.map} +1 -1
  64. package/dist/{chunk-K54CT3QN.cjs → chunk-VDB7VHFS.cjs} +4 -4
  65. package/dist/{chunk-K54CT3QN.cjs.map → chunk-VDB7VHFS.cjs.map} +1 -1
  66. package/dist/{chunk-EK2GBZ7D.js → chunk-WKDPEBXU.js} +3 -3
  67. package/dist/{chunk-EK2GBZ7D.js.map → chunk-WKDPEBXU.js.map} +1 -1
  68. package/dist/{chunk-DLZNZHUW.cjs → chunk-WRVT7JTK.cjs} +72 -53
  69. package/dist/chunk-WRVT7JTK.cjs.map +1 -0
  70. package/dist/devtools/index.cjs +52 -32
  71. package/dist/devtools/index.cjs.map +1 -1
  72. package/dist/devtools/index.d.cts +2 -2
  73. package/dist/devtools/index.d.ts +2 -2
  74. package/dist/devtools/index.js +52 -32
  75. package/dist/devtools/index.js.map +1 -1
  76. package/dist/document/index.d.cts +3 -3
  77. package/dist/document/index.d.ts +3 -3
  78. package/dist/examples/index.d.cts +1 -1
  79. package/dist/examples/index.d.ts +1 -1
  80. package/dist/{head-BOjhYA36.d.cts → head-CBse5408.d.cts} +1 -1
  81. package/dist/{head-CBib11hD.d.ts → head-pDYg3tbK.d.ts} +1 -1
  82. package/dist/index.cjs +41 -41
  83. package/dist/index.d.cts +3 -3
  84. package/dist/index.d.ts +3 -3
  85. package/dist/index.js +3 -3
  86. package/dist/reflect/index.cjs +21 -21
  87. package/dist/reflect/index.d.cts +2 -2
  88. package/dist/reflect/index.d.ts +2 -2
  89. package/dist/reflect/index.js +3 -3
  90. package/dist/{types-OsJI-ceI.d.cts → types-6KTCKlXf.d.cts} +7 -3
  91. package/dist/{types-Dn9cBFCC.d.ts → types-DV-GDFJd.d.ts} +7 -3
  92. package/package.json +3 -3
  93. package/dist/chunk-3JE77TNL.js.map +0 -1
  94. package/dist/chunk-BXUEWV7V.cjs.map +0 -1
  95. package/dist/chunk-DLZNZHUW.cjs.map +0 -1
  96. package/dist/chunk-UXFQZX6O.js.map +0 -1
  97. package/dist/chunk-ZVQKCDUG.cjs.map +0 -1
  98. package/dist/chunk-ZZRQAH5Z.js.map +0 -1
package/ACTION_DOCS.md CHANGED
@@ -451,7 +451,7 @@ In **strict mode** (set `strict: true` on the shell), a failure inside a lifecyc
451
451
 
452
452
  ## Fragments
453
453
 
454
- An `ActionFragment` is a reusable partial action — chrome plus wired behavior — merged into a concrete action when it is opened with `with: [...]`. It only exists merged; it cannot be pushed on its own. Register fragments on `ShellConfig.fragments` or with `shell.registerFragment`.
454
+ An `ActionFragment` is a reusable partial action — chrome plus wired behavior — merged into a concrete action when it is opened with `with: [...]`. It only exists merged; it cannot be pushed on its own. Hand fragments over in `ShellConfig.fragments`, or add one while the shell runs with `shell.registerAction`, which takes an action or a fragment; `shell.removeAction` takes either out. A fragment and an action do not share an id.
455
455
 
456
456
  ```ts
457
457
  import type { ActionFragment } from '@niscorp/nova';
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @niscorp/nova
2
2
 
3
+ ## 0.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 6a62604: `createDevtoolsFunctions` answers a list of `{ id, description, execute }`, and `FunctionDefinition` names that shape. **Breaking.**
8
+
9
+ BREAKING — approved by moccadroid, 2026-10-18: `createDevtoolsFunctions(config)` returned a map of handlers by name; it returns `FunctionDefinition[]`, each with a description of what it does and what to send. An app that spread the map into its functions spreads the list into the list its `functions(session)` answers: `functions: (session) => [...createDevtoolsFunctions({ shell: () => session.shell, definitions }), ...]`.
10
+
11
+ ### Patch Changes
12
+
13
+ - 63b9ab5: `auditAction` sees through a loop and into a component's props.
14
+ - A loop variable bound under the data root — `$.row.name`, `$.index`, `$.items` inside a `for`/`as` — is no longer reported as a key `data` has no default for: the renderer binds them there.
15
+ - A ref a component dispatches from inside its props, at any depth (a Table's `menu.items[0].ref`), is no longer reported as carried by no layout node. `collectInteractive` names such a ref's `via` by the prop's path (`menu.items.0.ref`).
16
+ - `classifyAudit(issue)` of `@niscorp/nova/reflect` takes the issue alone and keeps one downgrade, a push whose target is a `{{…}}` template; its loop-variable and prop-ref downgrades had nothing left to downgrade.
17
+
18
+ ## 0.4.0
19
+
20
+ ### Minor Changes
21
+
22
+ - c7c4f9b: A nova shell keeps actions and fragments in one registry. **Breaking.**
23
+
24
+ BREAKING — approved by moccadroid, 2026-10-13: `shell.registerFragment` is gone, and an action and a fragment no longer share an id.
25
+ - **`shell.registerAction(definition)` takes an action or a fragment**, told apart by the fragment's `kind: 'fragment'`, and **`shell.removeAction(id)` takes either out**. There was no call to take a fragment out. Taken out, a fragment is unknown to a later `with: [...]`; an instance that was opened with it keeps the definition it was composed into, and `back` skips a position that was opened with it, as it skips one it cannot put back.
26
+ - **A fragment handed to `createShell` is validated**, as an action is: one that does not parse throws `DefinitionValidationError` at construction. Only `registerFragment` validated one before.
27
+ - **An id names an action or a fragment, never both.** `createShell` and `registerAction` throw `DefinitionValidationError` for an id that is already the other kind's.
28
+ - Opening a fragment by itself still throws `UnknownActionError`, and a `with: [...]` that names an action still throws `UnknownFragmentError`. `ShellConfig` keeps `actions` and `fragments`.
29
+ - **Moss:** a fragment that is no longer answered for a principal is taken out of their open shell, as an action is. A boot, and a set of actions handed over, refuse an action under the id of a fragment a shell ships. On a session's own shell, `registerAction` (refused there as before) is the one call that would take a fragment.
30
+
31
+ **What to change:** `shell.registerFragment(fragment)` becomes `shell.registerAction(fragment)`. Give an action and a fragment that share an id two ids.
32
+
3
33
  ## 0.3.1
4
34
 
5
35
  ### Patch Changes
package/DESIGN.md CHANGED
@@ -382,9 +382,8 @@ removeInstance(canvasId, instanceId): void
382
382
  replace(canvasId, actionId, input?, fragments?): string
383
383
  clear(canvasId): void
384
384
  back(): boolean
385
- registerAction(definition): void
386
- removeAction(actionId): void
387
- registerFragment(fragment): void
385
+ registerAction(definition): void // an action or a fragment
386
+ removeAction(id): void // an action or a fragment
388
387
  addCanvas(config): void
389
388
  removeCanvas(canvasId): void
390
389
  setCanvasLayout(layout): void
@@ -451,9 +450,13 @@ fire-and-forget failures via a synchronous API without making
451
450
 
452
451
  An `ActionFragment` is a reusable **partial action** — every
453
452
  `ActionDefinition` field optional, plus a `kind: 'fragment'` discriminator.
454
- It is **abstract**: it lives in a separate registry (`ShellConfig.fragments`
455
- / `registerFragment`), can never be `push`ed as an action (its id isn't in
456
- `actions`, so that throws `UnknownActionError`), and only exists once merged.
453
+ It is **abstract**: it can never be `push`ed as an action (that throws
454
+ `UnknownActionError`), and only exists once merged. A shell keeps actions and
455
+ fragments in one registry, by id, and tells them apart by `kind`: both are
456
+ added with `registerAction` and taken out with `removeAction`, and an id names
457
+ one or the other, never both (`DefinitionValidationError`). An app writes its
458
+ fragments down in `ShellConfig.fragments`, beside `actions`; they are
459
+ validated at construction as actions are.
457
460
  Because it is pure data it ships in a DB row and an agent can author it; a
458
461
  reference (`with: ['modal']`) collapses an arbitrary amount of chrome to a
459
462
  single token in the model's context.
package/README.md CHANGED
@@ -242,7 +242,7 @@ ships in a DB row and can be referenced rather than inlined.
242
242
  The orchestrator. `createShell(config)` validates every action
243
243
  definition at construction (boundary Zod validation) and returns a
244
244
  `Shell` with `push`, `pop`, `popTo`, `removeInstance`, `replace`, `clear`,
245
- `back`, `originOf`, `registerAction`, `removeAction`, `registerFragment`,
245
+ `back`, `originOf`, `registerAction`, `removeAction`,
246
246
  `addCanvas`, `removeCanvas`, `setCanvasLayout`, `setLayout`, `setPhrases`,
247
247
  `getPhrases`, `getCanvasState`, `getRuntime`, `getState`,
248
248
  `getShellRenderTree`, `getCanvasRenderTree`, `flattenRenderTree`,
@@ -462,9 +462,10 @@ can perform their own final async work (e.g. telemetry flush).
462
462
  - `auditCatalog(definitions)` audits each definition against a catalog and
463
463
  a channel list built from the whole set, so the wiring between actions is
464
464
  checked. It returns a row `{ id, address, issues }` for each definition
465
- that has findings: every issue is classified by `classifyAudit` as
466
- `address` or `info`, the `address` ones first, and the rows are ordered by
467
- how many `address` findings they hold, most first.
465
+ that has findings: every issue is classified by `classifyAudit(issue)` —
466
+ a push to a `{{…}}` template target is `info`, known only when it runs;
467
+ everything else is `address` — the `address` ones first, and the rows are
468
+ ordered by how many `address` findings they hold, most first.
468
469
  - `livenessOf(definition)`: `gestures` is true when the action has an
469
470
  `event` trigger or a component with a `model`. An HTTP endpoint also
470
471
  carries its `url` and `request` as authored (a template stays a template).
@@ -490,10 +491,10 @@ can perform their own final async work (e.g. telemetry flush).
490
491
  - **`@niscorp/nova/devtools`** — a shell inspector built as pure nova:
491
492
  `devtoolsActions` (`devtools.dock`, `devtools.inspect` — plain
492
493
  ActionDefinitions over generic primitives), `DEVTOOLS_CANVAS`, and
493
- `createDevtoolsFunctions` serving the `devtools.*` fns (the endpoint
494
+ `createDevtoolsFunctions` answering the `devtools.*` functions as `{ id, description, execute }` (the endpoint
494
495
  timeline is a ring buffer fed by `shell.onEndpoint`). An app opts in by
495
496
  granting `devtools.*` to a dev role, adding the canvas plus a frame
496
- slot, and spreading the fns into its `functions(session)`.
497
+ slot, and spreading the definitions into the list its `functions(session)` answers.
497
498
  - `createDevtoolsFunctions({ shell, definitions })`: `definitions` is the
498
499
  app's catalog (a record or an array) and is what the audit tab checks;
499
500
  without it the audit is empty.
@@ -529,11 +530,12 @@ can perform their own final async work (e.g. telemetry flush).
529
530
  schema as draft-07 JSON Schema, left out when the component has none.
530
531
  - `collectInteractive(layout)` returns `{ refs, models, boundKeys,
531
532
  suspectBindings, componentCount }`. A ref's `via` is `'ref'` for a node's
532
- own `ref`, or the prop name (`rowRef`) for a ref held in a `*Ref` prop. A
533
- model's `path` is the binding as written (`'$.search'`).
534
- `suspectBindings` lists each `$name.` whose `name` is not a loop variable
535
- of an enclosing `for`/`as`; `auditAction` reports each one as a malformed
536
- binding.
533
+ own `ref`, or the path of the prop that holds it, at any depth (`rowRef`,
534
+ `menu.items.0.ref`). A model's `path` is the binding as written
535
+ (`'$.search'`). `boundKeys` are the `$.key` roots, less what an enclosing
536
+ `for`/`as` binds (its variable, `index`, `items`). `suspectBindings` lists
537
+ each `$name.` whose `name` is not a loop variable of an enclosing
538
+ `for`/`as`; `auditAction` reports each one as a malformed binding.
537
539
  - **`@niscorp/nova/i18n`** — nova is language-blind: a host hands the shell a
538
540
  phrasebook (`phrases` on `ShellConfig`, `shell.setPhrases` at runtime) and
539
541
  nova swaps prose at render. The subpath holds the pieces around that:
package/SHELL_DOCS.md CHANGED
@@ -138,7 +138,7 @@ These are **shared** across every action in the shell. All actions read componen
138
138
 
139
139
  ### `fragments`
140
140
 
141
- Reusable partial actions (`ActionFragment`s), keyed by id, referenceable from a push/replace effect's `with: [...]`. More can be added at runtime via `shell.registerFragment`.
141
+ Reusable partial actions (`ActionFragment`s), keyed by id, referenceable from a push/replace effect's `with: [...]`. Each is validated at construction, as an action is. The shell keeps them in the registry its actions are in, so an id that is also an action's is refused (`DefinitionValidationError`). More are added while the shell runs with `shell.registerAction`, and one is taken out with `shell.removeAction`.
142
142
 
143
143
  ### `fetch`, `transform`, and `functions`
144
144
 
@@ -197,9 +197,8 @@ type Shell = {
197
197
  back: () => boolean; // undo the last navigation, anywhere on the shell
198
198
 
199
199
  // Runtime registration
200
- registerAction: (definition: ActionDefinition) => void;
201
- removeAction: (actionId: string) => void; // revocation: unmounts live instances
202
- registerFragment: (fragment: ActionFragment) => void;
200
+ registerAction: (definition: ActionDefinition | ActionFragment) => void;
201
+ removeAction: (actionId: string) => void; // an action: unmounts live instances. A fragment: what was opened with it keeps what it was composed into
203
202
 
204
203
  // Canvas set / layout mutation
205
204
  addCanvas: (config: CanvasConfig) => void;
@@ -338,7 +337,8 @@ screen moved.
338
337
  false }`) are never recorded, so `back` cannot empty the screen somebody landed
339
338
  on. A revoked action takes its entries with it: `removeAction` purges anything
340
339
  that would hand it back, and `removeCanvas` drops what can no longer be
341
- restored.
340
+ restored. A position that was opened with a fragment taken out since cannot
341
+ be put back as it was: `back` skips it and goes to the one before.
342
342
  - **Depth.** `ShellConfig.historyDepth` (default 50) bounds the journal;
343
343
  `historyDepth: 0` switches it off and makes `back` a no-op.
344
344
 
@@ -351,9 +351,8 @@ protocol-level: see its `back` client message.
351
351
  The shell starts from `createShell`'s `actions` / `fragments` / `canvases` / `canvasLayout` and can change all four live:
352
352
 
353
353
  ```ts
354
- shell.registerAction(definition); // add (or replace) an action definition
355
- shell.removeAction(actionId); // revocation: unmounts live instances, drops the definition
356
- shell.registerFragment(fragment); // add a fragment for `with: [...]`
354
+ shell.registerAction(definition); // add (or replace) an action definition, or a fragment for `with: [...]`
355
+ shell.removeAction(actionId); // an action: unmounts live instances, drops the definition. A fragment: drops it; a later `with` naming it throws
357
356
  shell.addCanvas({ id: 'aside', initial: 'inspector' }); // appends + seeds; no-op if the id exists
358
357
  shell.removeCanvas('aside'); // unmounts its instances, then drops it
359
358
  shell.setCanvasLayout(layout); // swap how the shell arranges its canvases
@@ -671,7 +670,7 @@ The shell can produce these:
671
670
  - **`UnknownActionError`** — `shell.push(canvas, 'foo')` where `'foo'` isn't in `actions`
672
671
  - **`UnknownFragmentError`** — a `fragments` / `with: [...]` id that isn't registered
673
672
  - **`ShellDisposedError`** — `push`, `replace`, and the registration / canvas / layout / phrase setters after `dispose()` (`pop`, `popTo`, `removeInstance`, `clear`, `removeCanvas` and `back` are no-ops instead)
674
- - **`DefinitionValidationError`** — at shell construction, if any action in `actions` fails schema validation; also from `registerAction` / `registerFragment`
673
+ - **`DefinitionValidationError`** — at shell construction, if any action in `actions` or fragment in `fragments` fails schema validation, or an id is in both; also from `registerAction`
675
674
  - **`LifecycleError`** — a lifecycle hook step threw (in strict mode propagates, in lax mode routes via `onError`)
676
675
 
677
676
  Plus all action-level errors (from `ACTION_DOCS.md`) and layout-level errors (from `LAYOUT_DOCS.md`) bubble up through the shell's error pipeline.
@@ -716,7 +715,6 @@ shell.back(); // → boolean
716
715
  // Runtime registration / canvas mutation
717
716
  shell.registerAction(definition);
718
717
  shell.removeAction(actionId);
719
- shell.registerFragment(fragment);
720
718
  shell.addCanvas(config);
721
719
  shell.removeCanvas(canvasId);
722
720
  shell.setCanvasLayout(layout);
@@ -3,7 +3,7 @@ import { DomComponent } from '../index.cjs';
3
3
  import 'zod';
4
4
  import '../../../schemas-DPdeFlCT.cjs';
5
5
  import '../../../schemas-pMyyuXV7.cjs';
6
- import '../../../types-OsJI-ceI.cjs';
6
+ import '../../../types-6KTCKlXf.cjs';
7
7
  import '../../../index-BoPH5aSd.cjs';
8
8
  import '../../../effects-DkBBrxVj.cjs';
9
9
 
@@ -3,7 +3,7 @@ import { DomComponent } from '../index.js';
3
3
  import 'zod';
4
4
  import '../../../schemas-DPdeFlCT.js';
5
5
  import '../../../schemas-pMyyuXV7.js';
6
- import '../../../types-Dn9cBFCC.js';
6
+ import '../../../types-DV-GDFJd.js';
7
7
  import '../../../index-BjQX8XZl.js';
8
8
  import '../../../effects-DkBBrxVj.js';
9
9
 
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkHDREPLRA_cjs = require('../../chunk-HDREPLRA.cjs');
3
+ var chunkDMAVKM7M_cjs = require('../../chunk-DMAVKM7M.cjs');
4
4
  require('../../chunk-QHX3VA55.cjs');
5
- require('../../chunk-DLZNZHUW.cjs');
5
+ require('../../chunk-WRVT7JTK.cjs');
6
6
  require('../../chunk-QTJ4ZQRM.cjs');
7
- require('../../chunk-K54CT3QN.cjs');
8
- require('../../chunk-BXUEWV7V.cjs');
7
+ require('../../chunk-VDB7VHFS.cjs');
8
+ require('../../chunk-OM2HY2GE.cjs');
9
9
  require('../../chunk-RVU6YEHO.cjs');
10
10
  require('../../chunk-MEZCO7ND.cjs');
11
11
  require('../../chunk-CQZH3L3W.cjs');
@@ -18,11 +18,11 @@ require('../../chunk-Q7SFCCGT.cjs');
18
18
 
19
19
  Object.defineProperty(exports, "createDomView", {
20
20
  enumerable: true,
21
- get: function () { return chunkHDREPLRA_cjs.createDomView; }
21
+ get: function () { return chunkDMAVKM7M_cjs.createDomView; }
22
22
  });
23
23
  Object.defineProperty(exports, "mountShell", {
24
24
  enumerable: true,
25
- get: function () { return chunkHDREPLRA_cjs.mountShell; }
25
+ get: function () { return chunkDMAVKM7M_cjs.mountShell; }
26
26
  });
27
27
  //# sourceMappingURL=index.cjs.map
28
28
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,6 @@
1
1
  import { C as ComponentRegistry } from '../../types-CR56luN7.cjs';
2
2
  import { N as NovaEvent } from '../../schemas-pMyyuXV7.cjs';
3
- import { R as RenderApi, a as Shell } from '../../types-OsJI-ceI.cjs';
3
+ import { R as RenderApi, a as Shell } from '../../types-6KTCKlXf.cjs';
4
4
  import 'zod';
5
5
  import '../../schemas-DPdeFlCT.cjs';
6
6
  import '../../index-BoPH5aSd.cjs';
@@ -1,6 +1,6 @@
1
1
  import { C as ComponentRegistry } from '../../types-CJC8mnzl.js';
2
2
  import { N as NovaEvent } from '../../schemas-pMyyuXV7.js';
3
- import { R as RenderApi, a as Shell } from '../../types-Dn9cBFCC.js';
3
+ import { R as RenderApi, a as Shell } from '../../types-DV-GDFJd.js';
4
4
  import 'zod';
5
5
  import '../../schemas-DPdeFlCT.js';
6
6
  import '../../index-BjQX8XZl.js';
@@ -1,9 +1,9 @@
1
- export { createDomView, mountShell } from '../../chunk-2H6Y25FO.js';
1
+ export { createDomView, mountShell } from '../../chunk-OPF42ISN.js';
2
2
  import '../../chunk-SCXYAXMO.js';
3
- import '../../chunk-3JE77TNL.js';
3
+ import '../../chunk-L5HAGG4U.js';
4
4
  import '../../chunk-C63CBYD5.js';
5
- import '../../chunk-YV2G37TJ.js';
6
- import '../../chunk-ZZRQAH5Z.js';
5
+ import '../../chunk-E2PXYR3H.js';
6
+ import '../../chunk-A3IIJF4E.js';
7
7
  import '../../chunk-M2ZZUSH3.js';
8
8
  import '../../chunk-Y3UKAJJX.js';
9
9
  import '../../chunk-G4OQ4PEO.js';
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkHDREPLRA_cjs = require('../../chunk-HDREPLRA.cjs');
3
+ var chunkDMAVKM7M_cjs = require('../../chunk-DMAVKM7M.cjs');
4
4
  require('../../chunk-QHX3VA55.cjs');
5
- require('../../chunk-DLZNZHUW.cjs');
5
+ require('../../chunk-WRVT7JTK.cjs');
6
6
  require('../../chunk-QTJ4ZQRM.cjs');
7
- require('../../chunk-K54CT3QN.cjs');
8
- require('../../chunk-BXUEWV7V.cjs');
7
+ require('../../chunk-VDB7VHFS.cjs');
8
+ require('../../chunk-OM2HY2GE.cjs');
9
9
  require('../../chunk-RVU6YEHO.cjs');
10
10
  require('../../chunk-MEZCO7ND.cjs');
11
11
  require('../../chunk-CQZH3L3W.cjs');
@@ -24,7 +24,7 @@ var renderToString = (registry, api, options) => {
24
24
  if (value !== void 0) Object.defineProperty(globalThis, name, { value, configurable: true, writable: true });
25
25
  }
26
26
  const root = document.createElement("div");
27
- const view = chunkHDREPLRA_cjs.createDomView(root, registry, api, options.fallback !== void 0 ? { fallback: options.fallback } : {});
27
+ const view = chunkDMAVKM7M_cjs.createDomView(root, registry, api, options.fallback !== void 0 ? { fallback: options.fallback } : {});
28
28
  view.render();
29
29
  const markup = root.innerHTML;
30
30
  view.destroy();
@@ -1,5 +1,5 @@
1
1
  import { C as ComponentRegistry } from '../../types-CR56luN7.cjs';
2
- import { R as RenderApi } from '../../types-OsJI-ceI.cjs';
2
+ import { R as RenderApi } from '../../types-6KTCKlXf.cjs';
3
3
  import { DomComponent } from './index.cjs';
4
4
  import 'zod';
5
5
  import '../../schemas-DPdeFlCT.cjs';
@@ -1,5 +1,5 @@
1
1
  import { C as ComponentRegistry } from '../../types-CJC8mnzl.js';
2
- import { R as RenderApi } from '../../types-Dn9cBFCC.js';
2
+ import { R as RenderApi } from '../../types-DV-GDFJd.js';
3
3
  import { DomComponent } from './index.js';
4
4
  import 'zod';
5
5
  import '../../schemas-DPdeFlCT.js';
@@ -1,9 +1,9 @@
1
- import { createDomView } from '../../chunk-2H6Y25FO.js';
1
+ import { createDomView } from '../../chunk-OPF42ISN.js';
2
2
  import '../../chunk-SCXYAXMO.js';
3
- import '../../chunk-3JE77TNL.js';
3
+ import '../../chunk-L5HAGG4U.js';
4
4
  import '../../chunk-C63CBYD5.js';
5
- import '../../chunk-YV2G37TJ.js';
6
- import '../../chunk-ZZRQAH5Z.js';
5
+ import '../../chunk-E2PXYR3H.js';
6
+ import '../../chunk-A3IIJF4E.js';
7
7
  import '../../chunk-M2ZZUSH3.js';
8
8
  import '../../chunk-Y3UKAJJX.js';
9
9
  import '../../chunk-G4OQ4PEO.js';
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkFKAPJMNR_cjs = require('../../../chunk-FKAPJMNR.cjs');
4
- var chunkSABSY2BW_cjs = require('../../../chunk-SABSY2BW.cjs');
3
+ var chunkCAKJCAHW_cjs = require('../../../chunk-CAKJCAHW.cjs');
4
+ var chunkFVGJD6CI_cjs = require('../../../chunk-FVGJD6CI.cjs');
5
5
  require('../../../chunk-QHX3VA55.cjs');
6
- require('../../../chunk-DLZNZHUW.cjs');
6
+ require('../../../chunk-WRVT7JTK.cjs');
7
7
  require('../../../chunk-QTJ4ZQRM.cjs');
8
- require('../../../chunk-K54CT3QN.cjs');
9
- require('../../../chunk-BXUEWV7V.cjs');
8
+ require('../../../chunk-VDB7VHFS.cjs');
9
+ require('../../../chunk-OM2HY2GE.cjs');
10
10
  require('../../../chunk-RVU6YEHO.cjs');
11
11
  require('../../../chunk-MEZCO7ND.cjs');
12
12
  require('../../../chunk-CQZH3L3W.cjs');
@@ -19,79 +19,79 @@ require('../../../chunk-Q7SFCCGT.cjs');
19
19
 
20
20
  Object.defineProperty(exports, "ActionSlot", {
21
21
  enumerable: true,
22
- get: function () { return chunkFKAPJMNR_cjs.ActionSlot; }
22
+ get: function () { return chunkCAKJCAHW_cjs.ActionSlot; }
23
23
  });
24
24
  Object.defineProperty(exports, "Box", {
25
25
  enumerable: true,
26
- get: function () { return chunkFKAPJMNR_cjs.Box; }
26
+ get: function () { return chunkCAKJCAHW_cjs.Box; }
27
27
  });
28
28
  Object.defineProperty(exports, "Button", {
29
29
  enumerable: true,
30
- get: function () { return chunkFKAPJMNR_cjs.Button; }
30
+ get: function () { return chunkCAKJCAHW_cjs.Button; }
31
31
  });
32
32
  Object.defineProperty(exports, "CanvasSlot", {
33
33
  enumerable: true,
34
- get: function () { return chunkFKAPJMNR_cjs.CanvasSlot; }
34
+ get: function () { return chunkCAKJCAHW_cjs.CanvasSlot; }
35
35
  });
36
36
  Object.defineProperty(exports, "Input", {
37
37
  enumerable: true,
38
- get: function () { return chunkFKAPJMNR_cjs.Input; }
38
+ get: function () { return chunkCAKJCAHW_cjs.Input; }
39
39
  });
40
40
  Object.defineProperty(exports, "JsonTree", {
41
41
  enumerable: true,
42
- get: function () { return chunkFKAPJMNR_cjs.JsonTree; }
42
+ get: function () { return chunkCAKJCAHW_cjs.JsonTree; }
43
43
  });
44
44
  Object.defineProperty(exports, "Panel", {
45
45
  enumerable: true,
46
- get: function () { return chunkFKAPJMNR_cjs.Panel; }
46
+ get: function () { return chunkCAKJCAHW_cjs.Panel; }
47
47
  });
48
48
  Object.defineProperty(exports, "Stack", {
49
49
  enumerable: true,
50
- get: function () { return chunkFKAPJMNR_cjs.Stack; }
50
+ get: function () { return chunkCAKJCAHW_cjs.Stack; }
51
51
  });
52
52
  Object.defineProperty(exports, "Text", {
53
53
  enumerable: true,
54
- get: function () { return chunkFKAPJMNR_cjs.Text; }
54
+ get: function () { return chunkCAKJCAHW_cjs.Text; }
55
55
  });
56
56
  Object.defineProperty(exports, "registerNovaReactComponents", {
57
57
  enumerable: true,
58
- get: function () { return chunkFKAPJMNR_cjs.registerNovaReactComponents; }
58
+ get: function () { return chunkCAKJCAHW_cjs.registerNovaReactComponents; }
59
59
  });
60
60
  Object.defineProperty(exports, "ActionSlotPropsSchema", {
61
61
  enumerable: true,
62
- get: function () { return chunkSABSY2BW_cjs.ActionSlotPropsSchema; }
62
+ get: function () { return chunkFVGJD6CI_cjs.ActionSlotPropsSchema; }
63
63
  });
64
64
  Object.defineProperty(exports, "BoxPropsSchema", {
65
65
  enumerable: true,
66
- get: function () { return chunkSABSY2BW_cjs.BoxPropsSchema; }
66
+ get: function () { return chunkFVGJD6CI_cjs.BoxPropsSchema; }
67
67
  });
68
68
  Object.defineProperty(exports, "ButtonPropsSchema", {
69
69
  enumerable: true,
70
- get: function () { return chunkSABSY2BW_cjs.ButtonPropsSchema; }
70
+ get: function () { return chunkFVGJD6CI_cjs.ButtonPropsSchema; }
71
71
  });
72
72
  Object.defineProperty(exports, "CanvasSlotPropsSchema", {
73
73
  enumerable: true,
74
- get: function () { return chunkSABSY2BW_cjs.CanvasSlotPropsSchema; }
74
+ get: function () { return chunkFVGJD6CI_cjs.CanvasSlotPropsSchema; }
75
75
  });
76
76
  Object.defineProperty(exports, "InputPropsSchema", {
77
77
  enumerable: true,
78
- get: function () { return chunkSABSY2BW_cjs.InputPropsSchema; }
78
+ get: function () { return chunkFVGJD6CI_cjs.InputPropsSchema; }
79
79
  });
80
80
  Object.defineProperty(exports, "JsonTreePropsSchema", {
81
81
  enumerable: true,
82
- get: function () { return chunkSABSY2BW_cjs.JsonTreePropsSchema; }
82
+ get: function () { return chunkFVGJD6CI_cjs.JsonTreePropsSchema; }
83
83
  });
84
84
  Object.defineProperty(exports, "PanelPropsSchema", {
85
85
  enumerable: true,
86
- get: function () { return chunkSABSY2BW_cjs.PanelPropsSchema; }
86
+ get: function () { return chunkFVGJD6CI_cjs.PanelPropsSchema; }
87
87
  });
88
88
  Object.defineProperty(exports, "StackPropsSchema", {
89
89
  enumerable: true,
90
- get: function () { return chunkSABSY2BW_cjs.StackPropsSchema; }
90
+ get: function () { return chunkFVGJD6CI_cjs.StackPropsSchema; }
91
91
  });
92
92
  Object.defineProperty(exports, "TextPropsSchema", {
93
93
  enumerable: true,
94
- get: function () { return chunkSABSY2BW_cjs.TextPropsSchema; }
94
+ get: function () { return chunkFVGJD6CI_cjs.TextPropsSchema; }
95
95
  });
96
96
  //# sourceMappingURL=index.cjs.map
97
97
  //# sourceMappingURL=index.cjs.map
@@ -1,10 +1,10 @@
1
- export { ActionSlot, Box, Button, CanvasSlot, Input, JsonTree, Panel, Stack, Text, registerNovaReactComponents } from '../../../chunk-PCUXNVWF.js';
2
- export { ActionSlotPropsSchema, BoxPropsSchema, ButtonPropsSchema, CanvasSlotPropsSchema, InputPropsSchema, JsonTreePropsSchema, PanelPropsSchema, StackPropsSchema, TextPropsSchema } from '../../../chunk-EK2GBZ7D.js';
1
+ export { ActionSlot, Box, Button, CanvasSlot, Input, JsonTree, Panel, Stack, Text, registerNovaReactComponents } from '../../../chunk-IIOO6Z4T.js';
2
+ export { ActionSlotPropsSchema, BoxPropsSchema, ButtonPropsSchema, CanvasSlotPropsSchema, InputPropsSchema, JsonTreePropsSchema, PanelPropsSchema, StackPropsSchema, TextPropsSchema } from '../../../chunk-WKDPEBXU.js';
3
3
  import '../../../chunk-SCXYAXMO.js';
4
- import '../../../chunk-3JE77TNL.js';
4
+ import '../../../chunk-L5HAGG4U.js';
5
5
  import '../../../chunk-C63CBYD5.js';
6
- import '../../../chunk-YV2G37TJ.js';
7
- import '../../../chunk-ZZRQAH5Z.js';
6
+ import '../../../chunk-E2PXYR3H.js';
7
+ import '../../../chunk-A3IIJF4E.js';
8
8
  import '../../../chunk-M2ZZUSH3.js';
9
9
  import '../../../chunk-Y3UKAJJX.js';
10
10
  import '../../../chunk-G4OQ4PEO.js';
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkFKAPJMNR_cjs = require('../../chunk-FKAPJMNR.cjs');
4
- require('../../chunk-SABSY2BW.cjs');
3
+ var chunkCAKJCAHW_cjs = require('../../chunk-CAKJCAHW.cjs');
4
+ require('../../chunk-FVGJD6CI.cjs');
5
5
  require('../../chunk-QHX3VA55.cjs');
6
- require('../../chunk-DLZNZHUW.cjs');
6
+ require('../../chunk-WRVT7JTK.cjs');
7
7
  require('../../chunk-QTJ4ZQRM.cjs');
8
- require('../../chunk-K54CT3QN.cjs');
9
- require('../../chunk-BXUEWV7V.cjs');
8
+ require('../../chunk-VDB7VHFS.cjs');
9
+ require('../../chunk-OM2HY2GE.cjs');
10
10
  require('../../chunk-RVU6YEHO.cjs');
11
11
  require('../../chunk-MEZCO7ND.cjs');
12
12
  require('../../chunk-CQZH3L3W.cjs');
@@ -19,91 +19,91 @@ require('../../chunk-Q7SFCCGT.cjs');
19
19
 
20
20
  Object.defineProperty(exports, "ErrorMarker", {
21
21
  enumerable: true,
22
- get: function () { return chunkFKAPJMNR_cjs.ErrorMarker; }
22
+ get: function () { return chunkCAKJCAHW_cjs.ErrorMarker; }
23
23
  });
24
24
  Object.defineProperty(exports, "Nova", {
25
25
  enumerable: true,
26
- get: function () { return chunkFKAPJMNR_cjs.Nova; }
26
+ get: function () { return chunkCAKJCAHW_cjs.Nova; }
27
27
  });
28
28
  Object.defineProperty(exports, "NovaCanvas", {
29
29
  enumerable: true,
30
- get: function () { return chunkFKAPJMNR_cjs.NovaCanvas; }
30
+ get: function () { return chunkCAKJCAHW_cjs.NovaCanvas; }
31
31
  });
32
32
  Object.defineProperty(exports, "NovaErrorBoundary", {
33
33
  enumerable: true,
34
- get: function () { return chunkFKAPJMNR_cjs.NovaErrorBoundary; }
34
+ get: function () { return chunkCAKJCAHW_cjs.NovaErrorBoundary; }
35
35
  });
36
36
  Object.defineProperty(exports, "NovaLayout", {
37
37
  enumerable: true,
38
- get: function () { return chunkFKAPJMNR_cjs.NovaLayout; }
38
+ get: function () { return chunkCAKJCAHW_cjs.NovaLayout; }
39
39
  });
40
40
  Object.defineProperty(exports, "NovaRenderProvider", {
41
41
  enumerable: true,
42
- get: function () { return chunkFKAPJMNR_cjs.NovaRenderProvider; }
42
+ get: function () { return chunkCAKJCAHW_cjs.NovaRenderProvider; }
43
43
  });
44
44
  Object.defineProperty(exports, "NovaShell", {
45
45
  enumerable: true,
46
- get: function () { return chunkFKAPJMNR_cjs.NovaShell; }
46
+ get: function () { return chunkCAKJCAHW_cjs.NovaShell; }
47
47
  });
48
48
  Object.defineProperty(exports, "NovaShellProvider", {
49
49
  enumerable: true,
50
- get: function () { return chunkFKAPJMNR_cjs.NovaShellProvider; }
50
+ get: function () { return chunkCAKJCAHW_cjs.NovaShellProvider; }
51
51
  });
52
52
  Object.defineProperty(exports, "RenderNodeView", {
53
53
  enumerable: true,
54
- get: function () { return chunkFKAPJMNR_cjs.RenderNodeView; }
54
+ get: function () { return chunkCAKJCAHW_cjs.RenderNodeView; }
55
55
  });
56
56
  Object.defineProperty(exports, "RenderTree", {
57
57
  enumerable: true,
58
- get: function () { return chunkFKAPJMNR_cjs.RenderTree; }
58
+ get: function () { return chunkCAKJCAHW_cjs.RenderTree; }
59
59
  });
60
60
  Object.defineProperty(exports, "useActionData", {
61
61
  enumerable: true,
62
- get: function () { return chunkFKAPJMNR_cjs.useActionData; }
62
+ get: function () { return chunkCAKJCAHW_cjs.useActionData; }
63
63
  });
64
64
  Object.defineProperty(exports, "useActionStatus", {
65
65
  enumerable: true,
66
- get: function () { return chunkFKAPJMNR_cjs.useActionStatus; }
66
+ get: function () { return chunkCAKJCAHW_cjs.useActionStatus; }
67
67
  });
68
68
  Object.defineProperty(exports, "useCanvas", {
69
69
  enumerable: true,
70
- get: function () { return chunkFKAPJMNR_cjs.useCanvas; }
70
+ get: function () { return chunkCAKJCAHW_cjs.useCanvas; }
71
71
  });
72
72
  Object.defineProperty(exports, "useCanvasRenderTree", {
73
73
  enumerable: true,
74
- get: function () { return chunkFKAPJMNR_cjs.useCanvasRenderTree; }
74
+ get: function () { return chunkCAKJCAHW_cjs.useCanvasRenderTree; }
75
75
  });
76
76
  Object.defineProperty(exports, "useNovaDispatch", {
77
77
  enumerable: true,
78
- get: function () { return chunkFKAPJMNR_cjs.useNovaDispatch; }
78
+ get: function () { return chunkCAKJCAHW_cjs.useNovaDispatch; }
79
79
  });
80
80
  Object.defineProperty(exports, "useNovaPublish", {
81
81
  enumerable: true,
82
- get: function () { return chunkFKAPJMNR_cjs.useNovaPublish; }
82
+ get: function () { return chunkCAKJCAHW_cjs.useNovaPublish; }
83
83
  });
84
84
  Object.defineProperty(exports, "useNovaRegistry", {
85
85
  enumerable: true,
86
- get: function () { return chunkFKAPJMNR_cjs.useNovaRegistry; }
86
+ get: function () { return chunkCAKJCAHW_cjs.useNovaRegistry; }
87
87
  });
88
88
  Object.defineProperty(exports, "useRenderTree", {
89
89
  enumerable: true,
90
- get: function () { return chunkFKAPJMNR_cjs.useRenderTree; }
90
+ get: function () { return chunkCAKJCAHW_cjs.useRenderTree; }
91
91
  });
92
92
  Object.defineProperty(exports, "useShell", {
93
93
  enumerable: true,
94
- get: function () { return chunkFKAPJMNR_cjs.useShell; }
94
+ get: function () { return chunkCAKJCAHW_cjs.useShell; }
95
95
  });
96
96
  Object.defineProperty(exports, "useShellRenderTree", {
97
97
  enumerable: true,
98
- get: function () { return chunkFKAPJMNR_cjs.useShellRenderTree; }
98
+ get: function () { return chunkCAKJCAHW_cjs.useShellRenderTree; }
99
99
  });
100
100
  Object.defineProperty(exports, "useShellState", {
101
101
  enumerable: true,
102
- get: function () { return chunkFKAPJMNR_cjs.useShellState; }
102
+ get: function () { return chunkCAKJCAHW_cjs.useShellState; }
103
103
  });
104
104
  Object.defineProperty(exports, "useSlotWrapper", {
105
105
  enumerable: true,
106
- get: function () { return chunkFKAPJMNR_cjs.useSlotWrapper; }
106
+ get: function () { return chunkCAKJCAHW_cjs.useSlotWrapper; }
107
107
  });
108
108
  //# sourceMappingURL=index.cjs.map
109
109
  //# sourceMappingURL=index.cjs.map
@@ -3,7 +3,7 @@ export { c as NovaComponentProps, d as NovaModelBinding } from '../../types-D0x5
3
3
  import { FC, ReactNode, ComponentType, Component, ErrorInfo } from 'react';
4
4
  import { A as ActionDefinition } from '../../index-BoPH5aSd.cjs';
5
5
  import { C as ComponentRegistry, b as RenderNode, s as RegistrationInput, L as LayoutStore, a as RenderOnError, R as RenderContext } from '../../types-CR56luN7.cjs';
6
- import { a as Shell, q as StateSnapshot, d as CanvasState, b as ActionStatus } from '../../types-OsJI-ceI.cjs';
6
+ import { a as Shell, r as StateSnapshot, d as CanvasState, b as ActionStatus } from '../../types-6KTCKlXf.cjs';
7
7
  import { L as LayoutNode } from '../../schemas-DPdeFlCT.cjs';
8
8
  import '../../schemas-pMyyuXV7.cjs';
9
9
  import 'zod';
@@ -3,7 +3,7 @@ export { c as NovaComponentProps, d as NovaModelBinding } from '../../types-pbBI
3
3
  import { FC, ReactNode, ComponentType, Component, ErrorInfo } from 'react';
4
4
  import { A as ActionDefinition } from '../../index-BjQX8XZl.js';
5
5
  import { C as ComponentRegistry, b as RenderNode, s as RegistrationInput, L as LayoutStore, a as RenderOnError, R as RenderContext } from '../../types-CJC8mnzl.js';
6
- import { a as Shell, q as StateSnapshot, d as CanvasState, b as ActionStatus } from '../../types-Dn9cBFCC.js';
6
+ import { a as Shell, r as StateSnapshot, d as CanvasState, b as ActionStatus } from '../../types-DV-GDFJd.js';
7
7
  import { L as LayoutNode } from '../../schemas-DPdeFlCT.js';
8
8
  import '../../schemas-pMyyuXV7.js';
9
9
  import 'zod';