@niscorp/nova 0.4.0 → 0.5.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 (97) hide show
  1. package/ACTION_DOCS.md +2 -0
  2. package/CHANGELOG.md +21 -0
  3. package/README.md +20 -11
  4. package/SHELL_DOCS.md +26 -1
  5. package/dist/adapters/dom/components/index.d.cts +1 -1
  6. package/dist/adapters/dom/components/index.d.ts +1 -1
  7. package/dist/adapters/dom/index.cjs +6 -6
  8. package/dist/adapters/dom/index.d.cts +1 -1
  9. package/dist/adapters/dom/index.d.ts +1 -1
  10. package/dist/adapters/dom/index.js +4 -4
  11. package/dist/adapters/dom/server.cjs +5 -5
  12. package/dist/adapters/dom/server.d.cts +1 -1
  13. package/dist/adapters/dom/server.d.ts +1 -1
  14. package/dist/adapters/dom/server.js +4 -4
  15. package/dist/adapters/react/components/index.cjs +24 -24
  16. package/dist/adapters/react/components/index.js +5 -5
  17. package/dist/adapters/react/index.cjs +27 -27
  18. package/dist/adapters/react/index.d.cts +1 -1
  19. package/dist/adapters/react/index.d.ts +1 -1
  20. package/dist/adapters/react/index.js +5 -5
  21. package/dist/adapters/tty/components/index.d.cts +1 -1
  22. package/dist/adapters/tty/components/index.d.ts +1 -1
  23. package/dist/adapters/tty/index.cjs +3 -3
  24. package/dist/adapters/tty/index.d.cts +1 -1
  25. package/dist/adapters/tty/index.d.ts +1 -1
  26. package/dist/adapters/tty/index.js +3 -3
  27. package/dist/adapters/vue/components/index.cjs +24 -24
  28. package/dist/adapters/vue/components/index.d.cts +9 -9
  29. package/dist/adapters/vue/components/index.d.ts +9 -9
  30. package/dist/adapters/vue/components/index.js +5 -5
  31. package/dist/adapters/vue/index.cjs +32 -32
  32. package/dist/adapters/vue/index.d.cts +1 -1
  33. package/dist/adapters/vue/index.d.ts +1 -1
  34. package/dist/adapters/vue/index.js +6 -6
  35. package/dist/agent/index.cjs +2 -2
  36. package/dist/agent/index.js +1 -1
  37. package/dist/{chunk-EZ3AJRQ7.cjs → chunk-3XZODV7S.cjs} +4 -4
  38. package/dist/{chunk-EZ3AJRQ7.cjs.map → chunk-3XZODV7S.cjs.map} +1 -1
  39. package/dist/{chunk-2SEZAI3I.js → chunk-57PZEPIK.js} +5 -5
  40. package/dist/{chunk-2SEZAI3I.js.map → chunk-57PZEPIK.js.map} +1 -1
  41. package/dist/{chunk-XHDQIQAG.cjs → chunk-5T26T2EJ.cjs} +6 -6
  42. package/dist/{chunk-XHDQIQAG.cjs.map → chunk-5T26T2EJ.cjs.map} +1 -1
  43. package/dist/{chunk-O2N4BVLL.js → chunk-6VHOMWNF.js} +3 -3
  44. package/dist/{chunk-O2N4BVLL.js.map → chunk-6VHOMWNF.js.map} +1 -1
  45. package/dist/{chunk-ZZRQAH5Z.js → chunk-A3IIJF4E.js} +16 -12
  46. package/dist/chunk-A3IIJF4E.js.map +1 -0
  47. package/dist/{chunk-ZVQKCDUG.cjs → chunk-BML7HQPE.cjs} +8 -28
  48. package/dist/chunk-BML7HQPE.cjs.map +1 -0
  49. package/dist/{chunk-YV2G37TJ.js → chunk-E2PXYR3H.js} +3 -3
  50. package/dist/{chunk-YV2G37TJ.js.map → chunk-E2PXYR3H.js.map} +1 -1
  51. package/dist/{chunk-UXFQZX6O.js → chunk-GY3KNTNK.js} +6 -26
  52. package/dist/chunk-GY3KNTNK.js.map +1 -0
  53. package/dist/{chunk-WQJZMXS5.cjs → chunk-ITSVPZS5.cjs} +22 -22
  54. package/dist/{chunk-WQJZMXS5.cjs.map → chunk-ITSVPZS5.cjs.map} +1 -1
  55. package/dist/{chunk-D42FJUQA.js → chunk-LAVCNLL3.js} +5 -5
  56. package/dist/{chunk-D42FJUQA.js.map → chunk-LAVCNLL3.js.map} +1 -1
  57. package/dist/{chunk-BXUEWV7V.cjs → chunk-OM2HY2GE.cjs} +16 -12
  58. package/dist/chunk-OM2HY2GE.cjs.map +1 -0
  59. package/dist/{chunk-X77B4ZKQ.cjs → chunk-OWA5Z3WT.cjs} +77 -45
  60. package/dist/chunk-OWA5Z3WT.cjs.map +1 -0
  61. package/dist/{chunk-3YS2FBF5.js → chunk-OY7SCFTJ.js} +46 -14
  62. package/dist/chunk-OY7SCFTJ.js.map +1 -0
  63. package/dist/{chunk-2HWYS6OJ.js → chunk-T33VE5XQ.js} +4 -4
  64. package/dist/{chunk-2HWYS6OJ.js.map → chunk-T33VE5XQ.js.map} +1 -1
  65. package/dist/{chunk-FG6IKUHA.cjs → chunk-UIWTFU3M.cjs} +21 -21
  66. package/dist/{chunk-FG6IKUHA.cjs.map → chunk-UIWTFU3M.cjs.map} +1 -1
  67. package/dist/{chunk-K54CT3QN.cjs → chunk-VDB7VHFS.cjs} +4 -4
  68. package/dist/{chunk-K54CT3QN.cjs.map → chunk-VDB7VHFS.cjs.map} +1 -1
  69. package/dist/devtools/index.cjs +52 -32
  70. package/dist/devtools/index.cjs.map +1 -1
  71. package/dist/devtools/index.d.cts +2 -2
  72. package/dist/devtools/index.d.ts +2 -2
  73. package/dist/devtools/index.js +52 -32
  74. package/dist/devtools/index.js.map +1 -1
  75. package/dist/document/index.d.cts +3 -3
  76. package/dist/document/index.d.ts +3 -3
  77. package/dist/examples/index.d.cts +1 -1
  78. package/dist/examples/index.d.ts +1 -1
  79. package/dist/{head-BvqHLqlL.d.ts → head-CVjtToF8.d.ts} +1 -1
  80. package/dist/{head-CB1fcRjc.d.cts → head-zznJvVEE.d.cts} +1 -1
  81. package/dist/index.cjs +41 -41
  82. package/dist/index.d.cts +4 -20
  83. package/dist/index.d.ts +4 -20
  84. package/dist/index.js +3 -3
  85. package/dist/reflect/index.cjs +21 -21
  86. package/dist/reflect/index.d.cts +2 -2
  87. package/dist/reflect/index.d.ts +2 -2
  88. package/dist/reflect/index.js +3 -3
  89. package/dist/{types-BTha1ZLR.d.cts → types-CWOom_fv.d.cts} +32 -1
  90. package/dist/{types-BxpSKUxn.d.ts → types-DOm2MKDk.d.ts} +32 -1
  91. package/package.json +3 -3
  92. package/dist/chunk-3YS2FBF5.js.map +0 -1
  93. package/dist/chunk-BXUEWV7V.cjs.map +0 -1
  94. package/dist/chunk-UXFQZX6O.js.map +0 -1
  95. package/dist/chunk-X77B4ZKQ.cjs.map +0 -1
  96. package/dist/chunk-ZVQKCDUG.cjs.map +0 -1
  97. package/dist/chunk-ZZRQAH5Z.js.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkDC5HONDE_cjs = require('./chunk-DC5HONDE.cjs');
4
- var chunkX77B4ZKQ_cjs = require('./chunk-X77B4ZKQ.cjs');
4
+ var chunkOWA5Z3WT_cjs = require('./chunk-OWA5Z3WT.cjs');
5
5
  var chunkQTJ4ZQRM_cjs = require('./chunk-QTJ4ZQRM.cjs');
6
- var chunkK54CT3QN_cjs = require('./chunk-K54CT3QN.cjs');
7
- require('./chunk-BXUEWV7V.cjs');
6
+ var chunkVDB7VHFS_cjs = require('./chunk-VDB7VHFS.cjs');
7
+ require('./chunk-OM2HY2GE.cjs');
8
8
  require('./chunk-RVU6YEHO.cjs');
9
9
  var chunkMEZCO7ND_cjs = require('./chunk-MEZCO7ND.cjs');
10
10
  var chunkCQZH3L3W_cjs = require('./chunk-CQZH3L3W.cjs');
@@ -25,59 +25,59 @@ Object.defineProperty(exports, "paletteFromRegistry", {
25
25
  });
26
26
  Object.defineProperty(exports, "DEFAULT_HISTORY_DEPTH", {
27
27
  enumerable: true,
28
- get: function () { return chunkX77B4ZKQ_cjs.DEFAULT_HISTORY_DEPTH; }
28
+ get: function () { return chunkOWA5Z3WT_cjs.DEFAULT_HISTORY_DEPTH; }
29
29
  });
30
30
  Object.defineProperty(exports, "DEFAULT_SETTLE_WAIT_MS", {
31
31
  enumerable: true,
32
- get: function () { return chunkX77B4ZKQ_cjs.DEFAULT_SETTLE_WAIT_MS; }
32
+ get: function () { return chunkOWA5Z3WT_cjs.DEFAULT_SETTLE_WAIT_MS; }
33
33
  });
34
34
  Object.defineProperty(exports, "MessageEnvelopeSchema", {
35
35
  enumerable: true,
36
- get: function () { return chunkX77B4ZKQ_cjs.MessageEnvelopeSchema; }
36
+ get: function () { return chunkOWA5Z3WT_cjs.MessageEnvelopeSchema; }
37
37
  });
38
38
  Object.defineProperty(exports, "NovaEventSchema", {
39
39
  enumerable: true,
40
- get: function () { return chunkX77B4ZKQ_cjs.NovaEventSchema; }
40
+ get: function () { return chunkOWA5Z3WT_cjs.NovaEventSchema; }
41
41
  });
42
42
  Object.defineProperty(exports, "canvasTreeOf", {
43
43
  enumerable: true,
44
- get: function () { return chunkX77B4ZKQ_cjs.canvasTreeOf; }
44
+ get: function () { return chunkOWA5Z3WT_cjs.canvasTreeOf; }
45
45
  });
46
46
  Object.defineProperty(exports, "createIdFactory", {
47
47
  enumerable: true,
48
- get: function () { return chunkX77B4ZKQ_cjs.createIdFactory; }
48
+ get: function () { return chunkOWA5Z3WT_cjs.createIdFactory; }
49
49
  });
50
50
  Object.defineProperty(exports, "createShell", {
51
51
  enumerable: true,
52
- get: function () { return chunkX77B4ZKQ_cjs.createShell; }
52
+ get: function () { return chunkOWA5Z3WT_cjs.createShell; }
53
53
  });
54
54
  Object.defineProperty(exports, "hasVisibleContent", {
55
55
  enumerable: true,
56
- get: function () { return chunkX77B4ZKQ_cjs.hasVisibleContent; }
56
+ get: function () { return chunkOWA5Z3WT_cjs.hasVisibleContent; }
57
57
  });
58
58
  Object.defineProperty(exports, "navigatedChannel", {
59
59
  enumerable: true,
60
- get: function () { return chunkX77B4ZKQ_cjs.navigatedChannel; }
60
+ get: function () { return chunkOWA5Z3WT_cjs.navigatedChannel; }
61
61
  });
62
62
  Object.defineProperty(exports, "reconcileCanvas", {
63
63
  enumerable: true,
64
- get: function () { return chunkX77B4ZKQ_cjs.reconcileCanvas; }
64
+ get: function () { return chunkOWA5Z3WT_cjs.reconcileCanvas; }
65
65
  });
66
66
  Object.defineProperty(exports, "scopeDispatch", {
67
67
  enumerable: true,
68
- get: function () { return chunkX77B4ZKQ_cjs.scopeDispatch; }
68
+ get: function () { return chunkOWA5Z3WT_cjs.scopeDispatch; }
69
69
  });
70
70
  Object.defineProperty(exports, "shellIdle", {
71
71
  enumerable: true,
72
- get: function () { return chunkX77B4ZKQ_cjs.shellIdle; }
72
+ get: function () { return chunkOWA5Z3WT_cjs.shellIdle; }
73
73
  });
74
74
  Object.defineProperty(exports, "shellSettled", {
75
75
  enumerable: true,
76
- get: function () { return chunkX77B4ZKQ_cjs.shellSettled; }
76
+ get: function () { return chunkOWA5Z3WT_cjs.shellSettled; }
77
77
  });
78
78
  Object.defineProperty(exports, "shellView", {
79
79
  enumerable: true,
80
- get: function () { return chunkX77B4ZKQ_cjs.shellView; }
80
+ get: function () { return chunkOWA5Z3WT_cjs.shellView; }
81
81
  });
82
82
  Object.defineProperty(exports, "ACTION_SLOT_NAME", {
83
83
  enumerable: true,
@@ -97,99 +97,99 @@ Object.defineProperty(exports, "isHeadNode", {
97
97
  });
98
98
  Object.defineProperty(exports, "HEAD_META", {
99
99
  enumerable: true,
100
- get: function () { return chunkK54CT3QN_cjs.HEAD_META; }
100
+ get: function () { return chunkVDB7VHFS_cjs.HEAD_META; }
101
101
  });
102
102
  Object.defineProperty(exports, "HeadLinkPropsSchema", {
103
103
  enumerable: true,
104
- get: function () { return chunkK54CT3QN_cjs.HeadLinkPropsSchema; }
104
+ get: function () { return chunkVDB7VHFS_cjs.HeadLinkPropsSchema; }
105
105
  });
106
106
  Object.defineProperty(exports, "HeadMetaPropsSchema", {
107
107
  enumerable: true,
108
- get: function () { return chunkK54CT3QN_cjs.HeadMetaPropsSchema; }
108
+ get: function () { return chunkVDB7VHFS_cjs.HeadMetaPropsSchema; }
109
109
  });
110
110
  Object.defineProperty(exports, "HeadPropsSchema", {
111
111
  enumerable: true,
112
- get: function () { return chunkK54CT3QN_cjs.HeadPropsSchema; }
112
+ get: function () { return chunkVDB7VHFS_cjs.HeadPropsSchema; }
113
113
  });
114
114
  Object.defineProperty(exports, "HeadScriptPropsSchema", {
115
115
  enumerable: true,
116
- get: function () { return chunkK54CT3QN_cjs.HeadScriptPropsSchema; }
116
+ get: function () { return chunkVDB7VHFS_cjs.HeadScriptPropsSchema; }
117
117
  });
118
118
  Object.defineProperty(exports, "HeadTitlePropsSchema", {
119
119
  enumerable: true,
120
- get: function () { return chunkK54CT3QN_cjs.HeadTitlePropsSchema; }
120
+ get: function () { return chunkVDB7VHFS_cjs.HeadTitlePropsSchema; }
121
121
  });
122
122
  Object.defineProperty(exports, "NOVA_MODEL_PROP", {
123
123
  enumerable: true,
124
- get: function () { return chunkK54CT3QN_cjs.NOVA_MODEL_PROP; }
124
+ get: function () { return chunkVDB7VHFS_cjs.NOVA_MODEL_PROP; }
125
125
  });
126
126
  Object.defineProperty(exports, "NOVA_REF_PROP", {
127
127
  enumerable: true,
128
- get: function () { return chunkK54CT3QN_cjs.NOVA_REF_PROP; }
128
+ get: function () { return chunkVDB7VHFS_cjs.NOVA_REF_PROP; }
129
129
  });
130
130
  Object.defineProperty(exports, "auditAction", {
131
131
  enumerable: true,
132
- get: function () { return chunkK54CT3QN_cjs.auditAction; }
132
+ get: function () { return chunkVDB7VHFS_cjs.auditAction; }
133
133
  });
134
134
  Object.defineProperty(exports, "collectChannels", {
135
135
  enumerable: true,
136
- get: function () { return chunkK54CT3QN_cjs.collectChannels; }
136
+ get: function () { return chunkVDB7VHFS_cjs.collectChannels; }
137
137
  });
138
138
  Object.defineProperty(exports, "composeAction", {
139
139
  enumerable: true,
140
- get: function () { return chunkK54CT3QN_cjs.composeAction; }
140
+ get: function () { return chunkVDB7VHFS_cjs.composeAction; }
141
141
  });
142
142
  Object.defineProperty(exports, "createLayoutStore", {
143
143
  enumerable: true,
144
- get: function () { return chunkK54CT3QN_cjs.createLayoutStore; }
144
+ get: function () { return chunkVDB7VHFS_cjs.createLayoutStore; }
145
145
  });
146
146
  Object.defineProperty(exports, "fillSlots", {
147
147
  enumerable: true,
148
- get: function () { return chunkK54CT3QN_cjs.fillSlots; }
148
+ get: function () { return chunkVDB7VHFS_cjs.fillSlots; }
149
149
  });
150
150
  Object.defineProperty(exports, "isComponentNode", {
151
151
  enumerable: true,
152
- get: function () { return chunkK54CT3QN_cjs.isComponentNode; }
152
+ get: function () { return chunkVDB7VHFS_cjs.isComponentNode; }
153
153
  });
154
154
  Object.defineProperty(exports, "isConditionalNode", {
155
155
  enumerable: true,
156
- get: function () { return chunkK54CT3QN_cjs.isConditionalNode; }
156
+ get: function () { return chunkVDB7VHFS_cjs.isConditionalNode; }
157
157
  });
158
158
  Object.defineProperty(exports, "isLayoutNode", {
159
159
  enumerable: true,
160
- get: function () { return chunkK54CT3QN_cjs.isLayoutNode; }
160
+ get: function () { return chunkVDB7VHFS_cjs.isLayoutNode; }
161
161
  });
162
162
  Object.defineProperty(exports, "isLayoutPrimitive", {
163
163
  enumerable: true,
164
- get: function () { return chunkK54CT3QN_cjs.isLayoutPrimitive; }
164
+ get: function () { return chunkVDB7VHFS_cjs.isLayoutPrimitive; }
165
165
  });
166
166
  Object.defineProperty(exports, "isLayoutRefNode", {
167
167
  enumerable: true,
168
- get: function () { return chunkK54CT3QN_cjs.isLayoutRefNode; }
168
+ get: function () { return chunkVDB7VHFS_cjs.isLayoutRefNode; }
169
169
  });
170
170
  Object.defineProperty(exports, "isLoopNode", {
171
171
  enumerable: true,
172
- get: function () { return chunkK54CT3QN_cjs.isLoopNode; }
172
+ get: function () { return chunkVDB7VHFS_cjs.isLoopNode; }
173
173
  });
174
174
  Object.defineProperty(exports, "isSlotNode", {
175
175
  enumerable: true,
176
- get: function () { return chunkK54CT3QN_cjs.isSlotNode; }
176
+ get: function () { return chunkVDB7VHFS_cjs.isSlotNode; }
177
177
  });
178
178
  Object.defineProperty(exports, "render", {
179
179
  enumerable: true,
180
- get: function () { return chunkK54CT3QN_cjs.render; }
180
+ get: function () { return chunkVDB7VHFS_cjs.render; }
181
181
  });
182
182
  Object.defineProperty(exports, "renderLayout", {
183
183
  enumerable: true,
184
- get: function () { return chunkK54CT3QN_cjs.renderLayout; }
184
+ get: function () { return chunkVDB7VHFS_cjs.renderLayout; }
185
185
  });
186
186
  Object.defineProperty(exports, "renderLayoutFromStore", {
187
187
  enumerable: true,
188
- get: function () { return chunkK54CT3QN_cjs.renderLayoutFromStore; }
188
+ get: function () { return chunkVDB7VHFS_cjs.renderLayoutFromStore; }
189
189
  });
190
190
  Object.defineProperty(exports, "renderNodeKey", {
191
191
  enumerable: true,
192
- get: function () { return chunkK54CT3QN_cjs.renderNodeKey; }
192
+ get: function () { return chunkVDB7VHFS_cjs.renderNodeKey; }
193
193
  });
194
194
  Object.defineProperty(exports, "HEAD_LINK_NAME", {
195
195
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -1,13 +1,13 @@
1
1
  import { R as RenderContext, a as RenderOnError, b as RenderNode, D as DataStoreView, L as LayoutStore, C as ComponentRegistry, c as ComponentMeta } from './types-CR56luN7.cjs';
2
2
  export { d as ComponentEntry, e as ComponentNotFoundContext, f as ComponentNotFoundError, g as DefinitionValidationContext, h as DefinitionValidationError, i as DefinitionValidationFailure, E as ErrorCode, j as ErrorCodes, k as EventMeta, l as LayoutRefNotFoundContext, m as LayoutRefNotFoundError, n as LifecycleError, o as LifecycleErrorContext, p as LifecycleHook, M as ModelBindingDescriptor, q as MutationError, N as NovaError, r as NovaErrorContext, s as RegistrationInput, t as RenderComponentNode, u as RenderError, v as RenderErrorNode, w as RenderFragmentNode, x as RenderTextNode, S as ShellDisposedError, U as UnknownActionContext, y as UnknownActionError, z as UnknownFragmentContext, A as UnknownFragmentError, B as UnknownFunctionContext, F as UnknownFunctionError, G as Unsubscribe } from './types-CR56luN7.cjs';
3
- import { S as ShellConfig, a as Shell, R as RenderApi } from './types-BTha1ZLR.cjs';
4
- export { A as ActionInstance, b as ActionStatus, C as CanvasConfig, c as CanvasInitialSeed, d as CanvasState, e as ChannelHandler, D as DataChangeHandler, E as EventBus, f as EventHandler, F as FetchFn, g as FetchInit, h as FetchResponse, i as FunctionHandler, I as IdFactory, M as MessageBus, N as NavigateHandler, j as NavigationEffect, P as PublicActionRuntime, k as PushOptions, l as ShellCanvasChangeHandler, m as ShellDataChangeEvent, n as ShellDataChangeHandler, o as ShellStateChangeHandler, p as ShellTelemetry, q as StateSnapshot, r as StatusChangeHandler, T as TransformFn, s as createIdFactory } from './types-BTha1ZLR.cjs';
3
+ import { S as ShellConfig, a as Shell, R as RenderApi } from './types-CWOom_fv.cjs';
4
+ export { A as ActionInstance, b as ActionStatus, C as CanvasConfig, c as CanvasInitialSeed, d as CanvasState, e as ChannelHandler, D as DataChangeHandler, f as Desired, E as EventBus, g as EventHandler, F as FetchFn, h as FetchInit, i as FetchResponse, j as FunctionDefinition, k as FunctionHandler, I as IdFactory, M as MessageBus, N as NavigateHandler, l as NavigationEffect, P as PublicActionRuntime, m as PushOptions, n as ReconcileOptions, o as ReconcileResult, p as Reconciler, q as ReconcilerOptions, r as ShellCanvasChangeHandler, s as ShellDataChangeEvent, t as ShellDataChangeHandler, u as ShellStateChangeHandler, v as ShellTelemetry, w as StateSnapshot, x as StatusChangeHandler, T as TransformFn, y as createIdFactory, z as reconcileCanvas } from './types-CWOom_fv.cjs';
5
5
  import { N as NovaEvent } from './schemas-pMyyuXV7.cjs';
6
6
  export { a as NovaEventSchema } from './schemas-pMyyuXV7.cjs';
7
7
  import { z } from 'zod';
8
8
  import { C as ComponentNode, a as ConditionalNode, L as LayoutNode, b as LayoutPrimitive, c as LayoutRefNode, d as LoopNode, S as SlotNode } from './schemas-DPdeFlCT.cjs';
9
9
  export { e as ComponentNodeSchema, f as ConditionalNodeSchema, g as LayoutNodeSchema, h as LayoutPrimitiveSchema, i as LayoutRefNodeSchema, j as LoopNodeSchema, k as SlotNodeSchema } from './schemas-DPdeFlCT.cjs';
10
- export { H as HEAD_LINK_NAME, a as HEAD_META_NAME, b as HEAD_NAME, c as HEAD_NAMES, d as HEAD_SCRIPT_NAME, e as HEAD_TITLE_NAME, f as HeadElement, S as ScreenHead, h as headKeyOf, g as headOf, i as isHeadNode } from './head-CB1fcRjc.cjs';
10
+ export { H as HEAD_LINK_NAME, a as HEAD_META_NAME, b as HEAD_NAME, c as HEAD_NAMES, d as HEAD_SCRIPT_NAME, e as HEAD_TITLE_NAME, f as HeadElement, S as ScreenHead, h as headKeyOf, g as headOf, i as isHeadNode } from './head-zznJvVEE.cjs';
11
11
  export { L as LayoutPaletteEntry, P as PaletteFromRegistryOptions, p as paletteEntryOf, a as paletteFromRegistry } from './palette-CCxWSi3C.cjs';
12
12
  import { A as ActionDefinition, a as ActionFragment } from './index-BoPH5aSd.cjs';
13
13
  export { b as ActionDefinitionSchema, c as ActionFragmentSchema } from './index-BoPH5aSd.cjs';
@@ -143,20 +143,4 @@ type NavigatedMessage = {
143
143
  declare const CANVAS_SLOT_NAME = "CanvasSlot";
144
144
  declare const ACTION_SLOT_NAME = "ActionSlot";
145
145
 
146
- type Desired = {
147
- actionId: string;
148
- input?: Record<string, unknown>;
149
- with?: string[];
150
- };
151
- type ReconcileOptions = {
152
- origin: string;
153
- definitionOf?: (actionId: string) => ActionDefinition | undefined;
154
- own?: 'pushed' | 'canvas';
155
- };
156
- type ReconcileResult = {
157
- changed: boolean;
158
- notes: string[];
159
- };
160
- declare const reconcileCanvas: (shell: Shell, canvasId: string, desired: readonly Desired[], options: ReconcileOptions) => ReconcileResult;
161
-
162
- export { ACTION_SLOT_NAME, ActionDefinition, ActionFragment, type AuditCatalogEntry, type AuditOptions, type AuditResult, CANVAS_SLOT_NAME, type ChannelUsage, ComponentMeta, ComponentNode, ComponentRegistry, ConditionalNode, DEFAULT_HISTORY_DEPTH, DEFAULT_SETTLE_WAIT_MS, type Desired, HEAD_META, type HeadLinkProps, HeadLinkPropsSchema, type HeadMetaProps, HeadMetaPropsSchema, HeadPropsSchema, type HeadScriptProps, HeadScriptPropsSchema, HeadTitlePropsSchema, type HistoryEntry, type HistoryFrame, LayoutNode, LayoutPrimitive, LayoutRefNode, LayoutStore, type LifecycleConfig, LifecycleConfigSchema, LoopNode, type MessageEnvelope, MessageEnvelopeSchema, NOVA_MODEL_PROP, NOVA_REF_PROP, type NavigatedMessage, NovaEvent, type ReconcileOptions, type ReconcileResult, RenderApi, RenderNode, RenderOnError, type RenderOptions, Shell, ShellConfig, type ShellView, SlotNode, Step, auditAction, canvasTreeOf, collectChannels, composeAction, createComponentRegistry, createLayoutStore, createShell, fillSlots, getPath, hasVisibleContent, isComponentNode, isConditionalNode, isLayoutNode, isLayoutPrimitive, isLayoutRefNode, isLoopNode, isSlotNode, navigatedChannel, reconcileCanvas, render, renderLayout, renderLayoutFromStore, renderNodeKey, scopeDispatch, shellIdle, shellSettled, shellView };
146
+ export { ACTION_SLOT_NAME, ActionDefinition, ActionFragment, type AuditCatalogEntry, type AuditOptions, type AuditResult, CANVAS_SLOT_NAME, type ChannelUsage, ComponentMeta, ComponentNode, ComponentRegistry, ConditionalNode, DEFAULT_HISTORY_DEPTH, DEFAULT_SETTLE_WAIT_MS, HEAD_META, type HeadLinkProps, HeadLinkPropsSchema, type HeadMetaProps, HeadMetaPropsSchema, HeadPropsSchema, type HeadScriptProps, HeadScriptPropsSchema, HeadTitlePropsSchema, type HistoryEntry, type HistoryFrame, LayoutNode, LayoutPrimitive, LayoutRefNode, LayoutStore, type LifecycleConfig, LifecycleConfigSchema, LoopNode, type MessageEnvelope, MessageEnvelopeSchema, NOVA_MODEL_PROP, NOVA_REF_PROP, type NavigatedMessage, NovaEvent, RenderApi, RenderNode, RenderOnError, type RenderOptions, Shell, ShellConfig, type ShellView, SlotNode, Step, auditAction, canvasTreeOf, collectChannels, composeAction, createComponentRegistry, createLayoutStore, createShell, fillSlots, getPath, hasVisibleContent, isComponentNode, isConditionalNode, isLayoutNode, isLayoutPrimitive, isLayoutRefNode, isLoopNode, isSlotNode, navigatedChannel, render, renderLayout, renderLayoutFromStore, renderNodeKey, scopeDispatch, shellIdle, shellSettled, shellView };
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import { R as RenderContext, a as RenderOnError, b as RenderNode, D as DataStoreView, L as LayoutStore, C as ComponentRegistry, c as ComponentMeta } from './types-CJC8mnzl.js';
2
2
  export { d as ComponentEntry, e as ComponentNotFoundContext, f as ComponentNotFoundError, g as DefinitionValidationContext, h as DefinitionValidationError, i as DefinitionValidationFailure, E as ErrorCode, j as ErrorCodes, k as EventMeta, l as LayoutRefNotFoundContext, m as LayoutRefNotFoundError, n as LifecycleError, o as LifecycleErrorContext, p as LifecycleHook, M as ModelBindingDescriptor, q as MutationError, N as NovaError, r as NovaErrorContext, s as RegistrationInput, t as RenderComponentNode, u as RenderError, v as RenderErrorNode, w as RenderFragmentNode, x as RenderTextNode, S as ShellDisposedError, U as UnknownActionContext, y as UnknownActionError, z as UnknownFragmentContext, A as UnknownFragmentError, B as UnknownFunctionContext, F as UnknownFunctionError, G as Unsubscribe } from './types-CJC8mnzl.js';
3
- import { S as ShellConfig, a as Shell, R as RenderApi } from './types-BxpSKUxn.js';
4
- export { A as ActionInstance, b as ActionStatus, C as CanvasConfig, c as CanvasInitialSeed, d as CanvasState, e as ChannelHandler, D as DataChangeHandler, E as EventBus, f as EventHandler, F as FetchFn, g as FetchInit, h as FetchResponse, i as FunctionHandler, I as IdFactory, M as MessageBus, N as NavigateHandler, j as NavigationEffect, P as PublicActionRuntime, k as PushOptions, l as ShellCanvasChangeHandler, m as ShellDataChangeEvent, n as ShellDataChangeHandler, o as ShellStateChangeHandler, p as ShellTelemetry, q as StateSnapshot, r as StatusChangeHandler, T as TransformFn, s as createIdFactory } from './types-BxpSKUxn.js';
3
+ import { S as ShellConfig, a as Shell, R as RenderApi } from './types-DOm2MKDk.js';
4
+ export { A as ActionInstance, b as ActionStatus, C as CanvasConfig, c as CanvasInitialSeed, d as CanvasState, e as ChannelHandler, D as DataChangeHandler, f as Desired, E as EventBus, g as EventHandler, F as FetchFn, h as FetchInit, i as FetchResponse, j as FunctionDefinition, k as FunctionHandler, I as IdFactory, M as MessageBus, N as NavigateHandler, l as NavigationEffect, P as PublicActionRuntime, m as PushOptions, n as ReconcileOptions, o as ReconcileResult, p as Reconciler, q as ReconcilerOptions, r as ShellCanvasChangeHandler, s as ShellDataChangeEvent, t as ShellDataChangeHandler, u as ShellStateChangeHandler, v as ShellTelemetry, w as StateSnapshot, x as StatusChangeHandler, T as TransformFn, y as createIdFactory, z as reconcileCanvas } from './types-DOm2MKDk.js';
5
5
  import { N as NovaEvent } from './schemas-pMyyuXV7.js';
6
6
  export { a as NovaEventSchema } from './schemas-pMyyuXV7.js';
7
7
  import { z } from 'zod';
8
8
  import { C as ComponentNode, a as ConditionalNode, L as LayoutNode, b as LayoutPrimitive, c as LayoutRefNode, d as LoopNode, S as SlotNode } from './schemas-DPdeFlCT.js';
9
9
  export { e as ComponentNodeSchema, f as ConditionalNodeSchema, g as LayoutNodeSchema, h as LayoutPrimitiveSchema, i as LayoutRefNodeSchema, j as LoopNodeSchema, k as SlotNodeSchema } from './schemas-DPdeFlCT.js';
10
- export { H as HEAD_LINK_NAME, a as HEAD_META_NAME, b as HEAD_NAME, c as HEAD_NAMES, d as HEAD_SCRIPT_NAME, e as HEAD_TITLE_NAME, f as HeadElement, S as ScreenHead, h as headKeyOf, g as headOf, i as isHeadNode } from './head-BvqHLqlL.js';
10
+ export { H as HEAD_LINK_NAME, a as HEAD_META_NAME, b as HEAD_NAME, c as HEAD_NAMES, d as HEAD_SCRIPT_NAME, e as HEAD_TITLE_NAME, f as HeadElement, S as ScreenHead, h as headKeyOf, g as headOf, i as isHeadNode } from './head-CVjtToF8.js';
11
11
  export { L as LayoutPaletteEntry, P as PaletteFromRegistryOptions, p as paletteEntryOf, a as paletteFromRegistry } from './palette-BZujb2rm.js';
12
12
  import { A as ActionDefinition, a as ActionFragment } from './index-BjQX8XZl.js';
13
13
  export { b as ActionDefinitionSchema, c as ActionFragmentSchema } from './index-BjQX8XZl.js';
@@ -143,20 +143,4 @@ type NavigatedMessage = {
143
143
  declare const CANVAS_SLOT_NAME = "CanvasSlot";
144
144
  declare const ACTION_SLOT_NAME = "ActionSlot";
145
145
 
146
- type Desired = {
147
- actionId: string;
148
- input?: Record<string, unknown>;
149
- with?: string[];
150
- };
151
- type ReconcileOptions = {
152
- origin: string;
153
- definitionOf?: (actionId: string) => ActionDefinition | undefined;
154
- own?: 'pushed' | 'canvas';
155
- };
156
- type ReconcileResult = {
157
- changed: boolean;
158
- notes: string[];
159
- };
160
- declare const reconcileCanvas: (shell: Shell, canvasId: string, desired: readonly Desired[], options: ReconcileOptions) => ReconcileResult;
161
-
162
- export { ACTION_SLOT_NAME, ActionDefinition, ActionFragment, type AuditCatalogEntry, type AuditOptions, type AuditResult, CANVAS_SLOT_NAME, type ChannelUsage, ComponentMeta, ComponentNode, ComponentRegistry, ConditionalNode, DEFAULT_HISTORY_DEPTH, DEFAULT_SETTLE_WAIT_MS, type Desired, HEAD_META, type HeadLinkProps, HeadLinkPropsSchema, type HeadMetaProps, HeadMetaPropsSchema, HeadPropsSchema, type HeadScriptProps, HeadScriptPropsSchema, HeadTitlePropsSchema, type HistoryEntry, type HistoryFrame, LayoutNode, LayoutPrimitive, LayoutRefNode, LayoutStore, type LifecycleConfig, LifecycleConfigSchema, LoopNode, type MessageEnvelope, MessageEnvelopeSchema, NOVA_MODEL_PROP, NOVA_REF_PROP, type NavigatedMessage, NovaEvent, type ReconcileOptions, type ReconcileResult, RenderApi, RenderNode, RenderOnError, type RenderOptions, Shell, ShellConfig, type ShellView, SlotNode, Step, auditAction, canvasTreeOf, collectChannels, composeAction, createComponentRegistry, createLayoutStore, createShell, fillSlots, getPath, hasVisibleContent, isComponentNode, isConditionalNode, isLayoutNode, isLayoutPrimitive, isLayoutRefNode, isLoopNode, isSlotNode, navigatedChannel, reconcileCanvas, render, renderLayout, renderLayoutFromStore, renderNodeKey, scopeDispatch, shellIdle, shellSettled, shellView };
146
+ export { ACTION_SLOT_NAME, ActionDefinition, ActionFragment, type AuditCatalogEntry, type AuditOptions, type AuditResult, CANVAS_SLOT_NAME, type ChannelUsage, ComponentMeta, ComponentNode, ComponentRegistry, ConditionalNode, DEFAULT_HISTORY_DEPTH, DEFAULT_SETTLE_WAIT_MS, HEAD_META, type HeadLinkProps, HeadLinkPropsSchema, type HeadMetaProps, HeadMetaPropsSchema, HeadPropsSchema, type HeadScriptProps, HeadScriptPropsSchema, HeadTitlePropsSchema, type HistoryEntry, type HistoryFrame, LayoutNode, LayoutPrimitive, LayoutRefNode, LayoutStore, type LifecycleConfig, LifecycleConfigSchema, LoopNode, type MessageEnvelope, MessageEnvelopeSchema, NOVA_MODEL_PROP, NOVA_REF_PROP, type NavigatedMessage, NovaEvent, RenderApi, RenderNode, RenderOnError, type RenderOptions, Shell, ShellConfig, type ShellView, SlotNode, Step, auditAction, canvasTreeOf, collectChannels, composeAction, createComponentRegistry, createLayoutStore, createShell, fillSlots, getPath, hasVisibleContent, isComponentNode, isConditionalNode, isLayoutNode, isLayoutPrimitive, isLayoutRefNode, isLoopNode, isSlotNode, navigatedChannel, render, renderLayout, renderLayoutFromStore, renderNodeKey, scopeDispatch, shellIdle, shellSettled, shellView };
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export { paletteEntryOf, paletteFromRegistry } from './chunk-OBFFZ23H.js';
2
- export { DEFAULT_HISTORY_DEPTH, DEFAULT_SETTLE_WAIT_MS, MessageEnvelopeSchema, NovaEventSchema, canvasTreeOf, createIdFactory, createShell, hasVisibleContent, navigatedChannel, reconcileCanvas, scopeDispatch, shellIdle, shellSettled, shellView } from './chunk-3YS2FBF5.js';
2
+ export { DEFAULT_HISTORY_DEPTH, DEFAULT_SETTLE_WAIT_MS, MessageEnvelopeSchema, NovaEventSchema, canvasTreeOf, createIdFactory, createShell, hasVisibleContent, navigatedChannel, reconcileCanvas, scopeDispatch, shellIdle, shellSettled, shellView } from './chunk-OY7SCFTJ.js';
3
3
  export { ACTION_SLOT_NAME, CANVAS_SLOT_NAME, headOf, isHeadNode } from './chunk-C63CBYD5.js';
4
- export { HEAD_META, HeadLinkPropsSchema, HeadMetaPropsSchema, HeadPropsSchema, HeadScriptPropsSchema, HeadTitlePropsSchema, NOVA_MODEL_PROP, NOVA_REF_PROP, auditAction, collectChannels, composeAction, createLayoutStore, fillSlots, isComponentNode, isConditionalNode, isLayoutNode, isLayoutPrimitive, isLayoutRefNode, isLoopNode, isSlotNode, render, renderLayout, renderLayoutFromStore, renderNodeKey } from './chunk-YV2G37TJ.js';
5
- import './chunk-ZZRQAH5Z.js';
4
+ export { HEAD_META, HeadLinkPropsSchema, HeadMetaPropsSchema, HeadPropsSchema, HeadScriptPropsSchema, HeadTitlePropsSchema, NOVA_MODEL_PROP, NOVA_REF_PROP, auditAction, collectChannels, composeAction, createLayoutStore, fillSlots, isComponentNode, isConditionalNode, isLayoutNode, isLayoutPrimitive, isLayoutRefNode, isLoopNode, isSlotNode, render, renderLayout, renderLayoutFromStore, renderNodeKey } from './chunk-E2PXYR3H.js';
5
+ import './chunk-A3IIJF4E.js';
6
6
  import './chunk-M2ZZUSH3.js';
7
7
  export { HEAD_LINK_NAME, HEAD_META_NAME, HEAD_NAME, HEAD_NAMES, HEAD_SCRIPT_NAME, HEAD_TITLE_NAME, headKeyOf } from './chunk-Y3UKAJJX.js';
8
8
  export { ActionDefinitionSchema, ActionFragmentSchema, ComponentNotFoundError, DefinitionValidationError, EffectSchema, EndpointConfigSchema, ErrorCodes, LayoutRefNotFoundError, LifecycleConfigSchema, LifecycleError, MutationError, MutationSchema, NovaError, RenderError, ShellDisposedError, StepSchema, TriggerConfigSchema, UnknownActionError, UnknownFragmentError, UnknownFunctionError, getPath } from './chunk-G4OQ4PEO.js';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkZVQKCDUG_cjs = require('../chunk-ZVQKCDUG.cjs');
4
- var chunkK54CT3QN_cjs = require('../chunk-K54CT3QN.cjs');
5
- require('../chunk-BXUEWV7V.cjs');
3
+ var chunkBML7HQPE_cjs = require('../chunk-BML7HQPE.cjs');
4
+ var chunkVDB7VHFS_cjs = require('../chunk-VDB7VHFS.cjs');
5
+ require('../chunk-OM2HY2GE.cjs');
6
6
  require('../chunk-RVU6YEHO.cjs');
7
7
  require('../chunk-MEZCO7ND.cjs');
8
8
  require('../chunk-CQZH3L3W.cjs');
@@ -15,75 +15,75 @@ require('../chunk-Q7SFCCGT.cjs');
15
15
 
16
16
  Object.defineProperty(exports, "actionGraph", {
17
17
  enumerable: true,
18
- get: function () { return chunkZVQKCDUG_cjs.actionGraph; }
18
+ get: function () { return chunkBML7HQPE_cjs.actionGraph; }
19
19
  });
20
20
  Object.defineProperty(exports, "auditCatalog", {
21
21
  enumerable: true,
22
- get: function () { return chunkZVQKCDUG_cjs.auditCatalog; }
22
+ get: function () { return chunkBML7HQPE_cjs.auditCatalog; }
23
23
  });
24
24
  Object.defineProperty(exports, "chainCycles", {
25
25
  enumerable: true,
26
- get: function () { return chunkZVQKCDUG_cjs.chainCycles; }
26
+ get: function () { return chunkBML7HQPE_cjs.chainCycles; }
27
27
  });
28
28
  Object.defineProperty(exports, "classifyAudit", {
29
29
  enumerable: true,
30
- get: function () { return chunkZVQKCDUG_cjs.classifyAudit; }
30
+ get: function () { return chunkBML7HQPE_cjs.classifyAudit; }
31
31
  });
32
32
  Object.defineProperty(exports, "componentsOf", {
33
33
  enumerable: true,
34
- get: function () { return chunkZVQKCDUG_cjs.componentsOf; }
34
+ get: function () { return chunkBML7HQPE_cjs.componentsOf; }
35
35
  });
36
36
  Object.defineProperty(exports, "describeInstance", {
37
37
  enumerable: true,
38
- get: function () { return chunkZVQKCDUG_cjs.describeInstance; }
38
+ get: function () { return chunkBML7HQPE_cjs.describeInstance; }
39
39
  });
40
40
  Object.defineProperty(exports, "describeShell", {
41
41
  enumerable: true,
42
- get: function () { return chunkZVQKCDUG_cjs.describeShell; }
42
+ get: function () { return chunkBML7HQPE_cjs.describeShell; }
43
43
  });
44
44
  Object.defineProperty(exports, "isRecord", {
45
45
  enumerable: true,
46
- get: function () { return chunkZVQKCDUG_cjs.isRecord; }
46
+ get: function () { return chunkBML7HQPE_cjs.isRecord; }
47
47
  });
48
48
  Object.defineProperty(exports, "livenessOf", {
49
49
  enumerable: true,
50
- get: function () { return chunkZVQKCDUG_cjs.livenessOf; }
50
+ get: function () { return chunkBML7HQPE_cjs.livenessOf; }
51
51
  });
52
52
  Object.defineProperty(exports, "loopVarsOf", {
53
53
  enumerable: true,
54
- get: function () { return chunkZVQKCDUG_cjs.loopVarsOf; }
54
+ get: function () { return chunkBML7HQPE_cjs.loopVarsOf; }
55
55
  });
56
56
  Object.defineProperty(exports, "refsOf", {
57
57
  enumerable: true,
58
- get: function () { return chunkZVQKCDUG_cjs.refsOf; }
58
+ get: function () { return chunkBML7HQPE_cjs.refsOf; }
59
59
  });
60
60
  Object.defineProperty(exports, "snapshotShell", {
61
61
  enumerable: true,
62
- get: function () { return chunkZVQKCDUG_cjs.snapshotShell; }
62
+ get: function () { return chunkBML7HQPE_cjs.snapshotShell; }
63
63
  });
64
64
  Object.defineProperty(exports, "walkNodes", {
65
65
  enumerable: true,
66
- get: function () { return chunkZVQKCDUG_cjs.walkNodes; }
66
+ get: function () { return chunkBML7HQPE_cjs.walkNodes; }
67
67
  });
68
68
  Object.defineProperty(exports, "declaredKeys", {
69
69
  enumerable: true,
70
- get: function () { return chunkK54CT3QN_cjs.declaredKeys; }
70
+ get: function () { return chunkVDB7VHFS_cjs.declaredKeys; }
71
71
  });
72
72
  Object.defineProperty(exports, "gesturedKeys", {
73
73
  enumerable: true,
74
- get: function () { return chunkK54CT3QN_cjs.gesturedKeys; }
74
+ get: function () { return chunkVDB7VHFS_cjs.gesturedKeys; }
75
75
  });
76
76
  Object.defineProperty(exports, "lifecycleKeys", {
77
77
  enumerable: true,
78
- get: function () { return chunkK54CT3QN_cjs.lifecycleKeys; }
78
+ get: function () { return chunkVDB7VHFS_cjs.lifecycleKeys; }
79
79
  });
80
80
  Object.defineProperty(exports, "loadedKeys", {
81
81
  enumerable: true,
82
- get: function () { return chunkK54CT3QN_cjs.loadedKeys; }
82
+ get: function () { return chunkVDB7VHFS_cjs.loadedKeys; }
83
83
  });
84
84
  Object.defineProperty(exports, "mountInputKeys", {
85
85
  enumerable: true,
86
- get: function () { return chunkK54CT3QN_cjs.mountInputKeys; }
86
+ get: function () { return chunkVDB7VHFS_cjs.mountInputKeys; }
87
87
  });
88
88
  //# sourceMappingURL=index.cjs.map
89
89
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,4 @@
1
- import { a as Shell } from '../types-BTha1ZLR.cjs';
1
+ import { a as Shell } from '../types-CWOom_fv.cjs';
2
2
  import { L as LayoutNode } from '../schemas-DPdeFlCT.cjs';
3
3
  import { E as EndpointConfig, T as TriggerConfig } from '../endpoints-fqx9Vmf6.cjs';
4
4
  import { A as ActionDefinition } from '../index-BoPH5aSd.cjs';
@@ -20,7 +20,7 @@ type IssueClass = {
20
20
  tag: string;
21
21
  reason: string;
22
22
  };
23
- declare const classifyAudit: (issue: string, definition: ActionDefinition) => IssueClass;
23
+ declare const classifyAudit: (issue: string) => IssueClass;
24
24
  type ClassifiedIssue = {
25
25
  issue: string;
26
26
  } & IssueClass;
@@ -1,4 +1,4 @@
1
- import { a as Shell } from '../types-BxpSKUxn.js';
1
+ import { a as Shell } from '../types-DOm2MKDk.js';
2
2
  import { L as LayoutNode } from '../schemas-DPdeFlCT.js';
3
3
  import { E as EndpointConfig, T as TriggerConfig } from '../endpoints-DD6VsLv9.js';
4
4
  import { A as ActionDefinition } from '../index-BjQX8XZl.js';
@@ -20,7 +20,7 @@ type IssueClass = {
20
20
  tag: string;
21
21
  reason: string;
22
22
  };
23
- declare const classifyAudit: (issue: string, definition: ActionDefinition) => IssueClass;
23
+ declare const classifyAudit: (issue: string) => IssueClass;
24
24
  type ClassifiedIssue = {
25
25
  issue: string;
26
26
  } & IssueClass;
@@ -1,6 +1,6 @@
1
- export { actionGraph, auditCatalog, chainCycles, classifyAudit, componentsOf, describeInstance, describeShell, isRecord, livenessOf, loopVarsOf, refsOf, snapshotShell, walkNodes } from '../chunk-UXFQZX6O.js';
2
- export { declaredKeys, gesturedKeys, lifecycleKeys, loadedKeys, mountInputKeys } from '../chunk-YV2G37TJ.js';
3
- import '../chunk-ZZRQAH5Z.js';
1
+ export { actionGraph, auditCatalog, chainCycles, classifyAudit, componentsOf, describeInstance, describeShell, isRecord, livenessOf, loopVarsOf, refsOf, snapshotShell, walkNodes } from '../chunk-GY3KNTNK.js';
2
+ export { declaredKeys, gesturedKeys, lifecycleKeys, loadedKeys, mountInputKeys } from '../chunk-E2PXYR3H.js';
3
+ import '../chunk-A3IIJF4E.js';
4
4
  import '../chunk-M2ZZUSH3.js';
5
5
  import '../chunk-Y3UKAJJX.js';
6
6
  import '../chunk-G4OQ4PEO.js';
@@ -41,6 +41,11 @@ type StatusChangeHandler = (status: ActionStatus) => void;
41
41
  type TransformFn = (config: unknown, source: unknown) => unknown;
42
42
  type FetchFn = (url: string, init?: FetchInit) => Promise<FetchResponse>;
43
43
  type FunctionHandler = (data: Record<string, unknown>, signal: AbortSignal) => Promise<unknown>;
44
+ type FunctionDefinition = {
45
+ id: string;
46
+ description: string;
47
+ execute: FunctionHandler;
48
+ };
44
49
  type FetchInit = {
45
50
  method?: string;
46
51
  headers?: Record<string, string>;
@@ -63,6 +68,7 @@ type ReconcileNavigation = {
63
68
  desired: {
64
69
  actionId: string;
65
70
  input?: Record<string, unknown>;
71
+ row?: Record<string, unknown>;
66
72
  }[];
67
73
  };
68
74
  };
@@ -89,6 +95,28 @@ type PublicActionRuntime = {
89
95
  onStatusChange: (handler: StatusChangeHandler) => Unsubscribe;
90
96
  };
91
97
 
98
+ type Desired = {
99
+ actionId: string;
100
+ input?: Record<string, unknown>;
101
+ with?: string[];
102
+ row?: Record<string, unknown>;
103
+ };
104
+ type ReconcileOptions = {
105
+ origin: string;
106
+ definitionOf?: (actionId: string) => ActionDefinition | undefined;
107
+ own?: 'pushed' | 'canvas';
108
+ };
109
+ type ReconcileResult = {
110
+ changed: boolean;
111
+ notes: string[];
112
+ };
113
+ type ReconcilerOptions = ReconcileOptions & {
114
+ moveInstance: (canvasId: string, instanceId: string, index: number) => void;
115
+ keyOf: (instanceId: string) => string | undefined;
116
+ };
117
+ type Reconciler = (shell: Shell, canvasId: string, desired: readonly Desired[], options: ReconcilerOptions) => ReconcileResult;
118
+ declare const reconcileCanvas: (shell: Shell, canvasId: string, desired: readonly Desired[], options: ReconcileOptions) => ReconcileResult;
119
+
92
120
  type CanvasInitialSeed = string | {
93
121
  action: string;
94
122
  input?: Record<string, unknown>;
@@ -99,10 +127,12 @@ type CanvasConfig = {
99
127
  mode?: 'stack' | 'list';
100
128
  actionLayout?: LayoutNode | string;
101
129
  initial?: CanvasInitialSeed | CanvasInitialSeed[];
130
+ reconcile?: string;
102
131
  };
103
132
  type PushOptions = {
104
133
  origin?: string;
105
134
  history?: boolean;
135
+ key?: string;
106
136
  };
107
137
  type CanvasState = {
108
138
  id: string;
@@ -142,6 +172,7 @@ type ShellConfig = {
142
172
  transform?: TransformFn;
143
173
  fetch?: FetchFn;
144
174
  functions?: Record<string, FunctionHandler>;
175
+ reconcilers?: Record<string, Reconciler>;
145
176
  endpointTimeoutMs?: number;
146
177
  telemetry?: ShellTelemetry;
147
178
  strict?: boolean;
@@ -190,4 +221,4 @@ type Shell = {
190
221
  dispose: () => void;
191
222
  };
192
223
 
193
- export { type ActionInstance as A, type CanvasConfig as C, type DataChangeHandler$1 as D, type EventBus as E, type FetchFn as F, type IdFactory as I, type MessageBus as M, type NavigateHandler as N, type PublicActionRuntime as P, type RenderApi as R, type ShellConfig as S, type TransformFn as T, type Shell as a, type ActionStatus as b, type CanvasInitialSeed as c, type CanvasState as d, type ChannelHandler as e, type EventHandler as f, type FetchInit as g, type FetchResponse as h, type FunctionHandler as i, type NavigationEffect as j, type PushOptions as k, type CanvasChangeHandler as l, type DataChangeEvent as m, type DataChangeHandler as n, type StateChangeHandler as o, type ShellTelemetry as p, type StateSnapshot as q, type StatusChangeHandler as r, createIdFactory as s };
224
+ export { type ActionInstance as A, type CanvasConfig as C, type DataChangeHandler$1 as D, type EventBus as E, type FetchFn as F, type IdFactory as I, type MessageBus as M, type NavigateHandler as N, type PublicActionRuntime as P, type RenderApi as R, type ShellConfig as S, type TransformFn as T, type Shell as a, type ActionStatus as b, type CanvasInitialSeed as c, type CanvasState as d, type ChannelHandler as e, type Desired as f, type EventHandler as g, type FetchInit as h, type FetchResponse as i, type FunctionDefinition as j, type FunctionHandler as k, type NavigationEffect as l, type PushOptions as m, type ReconcileOptions as n, type ReconcileResult as o, type Reconciler as p, type ReconcilerOptions as q, type CanvasChangeHandler as r, type DataChangeEvent as s, type DataChangeHandler as t, type StateChangeHandler as u, type ShellTelemetry as v, type StateSnapshot as w, type StatusChangeHandler as x, createIdFactory as y, reconcileCanvas as z };
@@ -41,6 +41,11 @@ type StatusChangeHandler = (status: ActionStatus) => void;
41
41
  type TransformFn = (config: unknown, source: unknown) => unknown;
42
42
  type FetchFn = (url: string, init?: FetchInit) => Promise<FetchResponse>;
43
43
  type FunctionHandler = (data: Record<string, unknown>, signal: AbortSignal) => Promise<unknown>;
44
+ type FunctionDefinition = {
45
+ id: string;
46
+ description: string;
47
+ execute: FunctionHandler;
48
+ };
44
49
  type FetchInit = {
45
50
  method?: string;
46
51
  headers?: Record<string, string>;
@@ -63,6 +68,7 @@ type ReconcileNavigation = {
63
68
  desired: {
64
69
  actionId: string;
65
70
  input?: Record<string, unknown>;
71
+ row?: Record<string, unknown>;
66
72
  }[];
67
73
  };
68
74
  };
@@ -89,6 +95,28 @@ type PublicActionRuntime = {
89
95
  onStatusChange: (handler: StatusChangeHandler) => Unsubscribe;
90
96
  };
91
97
 
98
+ type Desired = {
99
+ actionId: string;
100
+ input?: Record<string, unknown>;
101
+ with?: string[];
102
+ row?: Record<string, unknown>;
103
+ };
104
+ type ReconcileOptions = {
105
+ origin: string;
106
+ definitionOf?: (actionId: string) => ActionDefinition | undefined;
107
+ own?: 'pushed' | 'canvas';
108
+ };
109
+ type ReconcileResult = {
110
+ changed: boolean;
111
+ notes: string[];
112
+ };
113
+ type ReconcilerOptions = ReconcileOptions & {
114
+ moveInstance: (canvasId: string, instanceId: string, index: number) => void;
115
+ keyOf: (instanceId: string) => string | undefined;
116
+ };
117
+ type Reconciler = (shell: Shell, canvasId: string, desired: readonly Desired[], options: ReconcilerOptions) => ReconcileResult;
118
+ declare const reconcileCanvas: (shell: Shell, canvasId: string, desired: readonly Desired[], options: ReconcileOptions) => ReconcileResult;
119
+
92
120
  type CanvasInitialSeed = string | {
93
121
  action: string;
94
122
  input?: Record<string, unknown>;
@@ -99,10 +127,12 @@ type CanvasConfig = {
99
127
  mode?: 'stack' | 'list';
100
128
  actionLayout?: LayoutNode | string;
101
129
  initial?: CanvasInitialSeed | CanvasInitialSeed[];
130
+ reconcile?: string;
102
131
  };
103
132
  type PushOptions = {
104
133
  origin?: string;
105
134
  history?: boolean;
135
+ key?: string;
106
136
  };
107
137
  type CanvasState = {
108
138
  id: string;
@@ -142,6 +172,7 @@ type ShellConfig = {
142
172
  transform?: TransformFn;
143
173
  fetch?: FetchFn;
144
174
  functions?: Record<string, FunctionHandler>;
175
+ reconcilers?: Record<string, Reconciler>;
145
176
  endpointTimeoutMs?: number;
146
177
  telemetry?: ShellTelemetry;
147
178
  strict?: boolean;
@@ -190,4 +221,4 @@ type Shell = {
190
221
  dispose: () => void;
191
222
  };
192
223
 
193
- export { type ActionInstance as A, type CanvasConfig as C, type DataChangeHandler$1 as D, type EventBus as E, type FetchFn as F, type IdFactory as I, type MessageBus as M, type NavigateHandler as N, type PublicActionRuntime as P, type RenderApi as R, type ShellConfig as S, type TransformFn as T, type Shell as a, type ActionStatus as b, type CanvasInitialSeed as c, type CanvasState as d, type ChannelHandler as e, type EventHandler as f, type FetchInit as g, type FetchResponse as h, type FunctionHandler as i, type NavigationEffect as j, type PushOptions as k, type CanvasChangeHandler as l, type DataChangeEvent as m, type DataChangeHandler as n, type StateChangeHandler as o, type ShellTelemetry as p, type StateSnapshot as q, type StatusChangeHandler as r, createIdFactory as s };
224
+ export { type ActionInstance as A, type CanvasConfig as C, type DataChangeHandler$1 as D, type EventBus as E, type FetchFn as F, type IdFactory as I, type MessageBus as M, type NavigateHandler as N, type PublicActionRuntime as P, type RenderApi as R, type ShellConfig as S, type TransformFn as T, type Shell as a, type ActionStatus as b, type CanvasInitialSeed as c, type CanvasState as d, type ChannelHandler as e, type Desired as f, type EventHandler as g, type FetchInit as h, type FetchResponse as i, type FunctionDefinition as j, type FunctionHandler as k, type NavigationEffect as l, type PushOptions as m, type ReconcileOptions as n, type ReconcileResult as o, type Reconciler as p, type ReconcilerOptions as q, type CanvasChangeHandler as r, type DataChangeEvent as s, type DataChangeHandler as t, type StateChangeHandler as u, type ShellTelemetry as v, type StateSnapshot as w, type StatusChangeHandler as x, createIdFactory as y, reconcileCanvas as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@niscorp/nova",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "description": "Declarative UI framework for AI agents — JSON layouts, shell orchestration, React",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -216,8 +216,8 @@
216
216
  "vue": "^3.5.43",
217
217
  "zod": "^4.6.5",
218
218
  "@niscorp/cortex": "^0.1.4",
219
- "@niscorp/prism": "^0.3.1",
220
- "@niscorp/strata": "^0.1.7"
219
+ "@niscorp/strata": "^0.1.7",
220
+ "@niscorp/prism": "^0.3.1"
221
221
  },
222
222
  "peerDependencies": {
223
223
  "ink": "^7.1.1",