@synnaxlabs/client 0.54.2 → 0.56.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 (222) hide show
  1. package/.turbo/turbo-build.log +10 -13
  2. package/dist/client.cjs +60 -42
  3. package/dist/client.js +8037 -6265
  4. package/dist/src/access/policy/client.d.ts +70 -80
  5. package/dist/src/access/policy/client.d.ts.map +1 -1
  6. package/dist/src/access/policy/types.gen.d.ts +18 -20
  7. package/dist/src/access/policy/types.gen.d.ts.map +1 -1
  8. package/dist/src/access/role/client.d.ts.map +1 -1
  9. package/dist/src/access/role/types.gen.d.ts +2 -2
  10. package/dist/src/actions/actions.d.ts +68 -0
  11. package/dist/src/actions/actions.d.ts.map +1 -0
  12. package/dist/src/actions/actions.spec.d.ts +2 -0
  13. package/dist/src/actions/actions.spec.d.ts.map +1 -0
  14. package/dist/src/actions/external.d.ts +2 -0
  15. package/dist/src/actions/external.d.ts.map +1 -0
  16. package/dist/src/actions/index.d.ts +2 -0
  17. package/dist/src/actions/index.d.ts.map +1 -0
  18. package/dist/src/arc/arc.spec.d.ts +2 -0
  19. package/dist/src/arc/arc.spec.d.ts.map +1 -0
  20. package/dist/src/arc/client.d.ts.map +1 -1
  21. package/dist/src/arc/compiler/types.gen.d.ts +1 -1
  22. package/dist/src/arc/compiler/types.gen.d.ts.map +1 -1
  23. package/dist/src/arc/graph/types.gen.d.ts +40 -40
  24. package/dist/src/arc/graph/types.gen.d.ts.map +1 -1
  25. package/dist/src/arc/ir/types.gen.d.ts +202 -233
  26. package/dist/src/arc/ir/types.gen.d.ts.map +1 -1
  27. package/dist/src/arc/module/types.gen.d.ts +63 -82
  28. package/dist/src/arc/module/types.gen.d.ts.map +1 -1
  29. package/dist/src/arc/program/types.gen.d.ts +63 -82
  30. package/dist/src/arc/program/types.gen.d.ts.map +1 -1
  31. package/dist/src/arc/types/types.gen.d.ts +11 -11
  32. package/dist/src/arc/types/types.gen.d.ts.map +1 -1
  33. package/dist/src/arc/types.gen.d.ts +139 -158
  34. package/dist/src/arc/types.gen.d.ts.map +1 -1
  35. package/dist/src/auth/auth.d.ts +3 -3
  36. package/dist/src/auth/auth.d.ts.map +1 -1
  37. package/dist/src/channel/client.d.ts +2 -2
  38. package/dist/src/channel/client.d.ts.map +1 -1
  39. package/dist/src/channel/retriever.d.ts +5 -8
  40. package/dist/src/channel/retriever.d.ts.map +1 -1
  41. package/dist/src/channel/types.gen.d.ts +3 -3
  42. package/dist/src/channel/types.gen.d.ts.map +1 -1
  43. package/dist/src/channel/writer.d.ts.map +1 -1
  44. package/dist/src/client.d.ts +5 -0
  45. package/dist/src/client.d.ts.map +1 -1
  46. package/dist/src/connection/checker.d.ts +17 -2
  47. package/dist/src/connection/checker.d.ts.map +1 -1
  48. package/dist/src/control/state.d.ts.map +1 -1
  49. package/dist/src/device/client.d.ts.map +1 -1
  50. package/dist/src/device/types.gen.d.ts +6 -8
  51. package/dist/src/device/types.gen.d.ts.map +1 -1
  52. package/dist/src/errors.d.ts +2 -0
  53. package/dist/src/errors.d.ts.map +1 -1
  54. package/dist/src/framer/adapter.d.ts.map +1 -1
  55. package/dist/src/framer/client.d.ts +2 -2
  56. package/dist/src/framer/client.d.ts.map +1 -1
  57. package/dist/src/framer/codec.d.ts +9 -1
  58. package/dist/src/framer/codec.d.ts.map +1 -1
  59. package/dist/src/framer/deleter.d.ts.map +1 -1
  60. package/dist/src/framer/frame.d.ts +1 -1
  61. package/dist/src/framer/iterator.d.ts +84 -3
  62. package/dist/src/framer/iterator.d.ts.map +1 -1
  63. package/dist/src/framer/streamProxy.d.ts.map +1 -1
  64. package/dist/src/framer/streamer.d.ts +1 -3
  65. package/dist/src/framer/streamer.d.ts.map +1 -1
  66. package/dist/src/framer/types.gen.d.ts +18 -0
  67. package/dist/src/framer/types.gen.d.ts.map +1 -1
  68. package/dist/src/framer/writer.d.ts +8 -8
  69. package/dist/src/framer/writer.d.ts.map +1 -1
  70. package/dist/src/group/client.d.ts +1 -2
  71. package/dist/src/group/client.d.ts.map +1 -1
  72. package/dist/src/group/types.gen.d.ts +2 -2
  73. package/dist/src/index.d.ts +2 -1
  74. package/dist/src/index.d.ts.map +1 -1
  75. package/dist/src/label/client.d.ts +5 -8
  76. package/dist/src/label/client.d.ts.map +1 -1
  77. package/dist/src/lineplot/client.d.ts.map +1 -1
  78. package/dist/src/lineplot/types.gen.d.ts +2 -2
  79. package/dist/src/log/client.d.ts.map +1 -1
  80. package/dist/src/log/types.gen.d.ts +2 -2
  81. package/dist/src/ontology/client.d.ts +1 -3
  82. package/dist/src/ontology/client.d.ts.map +1 -1
  83. package/dist/src/ontology/payload.d.ts +12 -16
  84. package/dist/src/ontology/payload.d.ts.map +1 -1
  85. package/dist/src/ontology/types.gen.d.ts +1 -2
  86. package/dist/src/ontology/types.gen.d.ts.map +1 -1
  87. package/dist/src/ontology/writer.d.ts +5 -10
  88. package/dist/src/ontology/writer.d.ts.map +1 -1
  89. package/dist/src/rack/client.d.ts.map +1 -1
  90. package/dist/src/rack/types.gen.d.ts +3 -3
  91. package/dist/src/ranger/alias/client.d.ts.map +1 -1
  92. package/dist/src/ranger/client.d.ts.map +1 -1
  93. package/dist/src/ranger/kv/client.d.ts.map +1 -1
  94. package/dist/src/ranger/types.gen.d.ts +6 -6
  95. package/dist/src/ranger/types.gen.d.ts.map +1 -1
  96. package/dist/src/ranger/writer.d.ts +2 -3
  97. package/dist/src/ranger/writer.d.ts.map +1 -1
  98. package/dist/src/schematic/actions.d.ts +147 -0
  99. package/dist/src/schematic/actions.d.ts.map +1 -0
  100. package/dist/src/schematic/actions.gen.d.ts +484 -0
  101. package/dist/src/schematic/actions.gen.d.ts.map +1 -0
  102. package/dist/src/schematic/actions.spec.d.ts +2 -0
  103. package/dist/src/schematic/actions.spec.d.ts.map +1 -0
  104. package/dist/src/schematic/client.d.ts +53 -2
  105. package/dist/src/schematic/client.d.ts.map +1 -1
  106. package/dist/src/schematic/external.d.ts +2 -0
  107. package/dist/src/schematic/external.d.ts.map +1 -1
  108. package/dist/src/schematic/symbol/client.d.ts.map +1 -1
  109. package/dist/src/schematic/symbol/types.gen.d.ts +48 -58
  110. package/dist/src/schematic/symbol/types.gen.d.ts.map +1 -1
  111. package/dist/src/schematic/types.gen.d.ts +131 -5
  112. package/dist/src/schematic/types.gen.d.ts.map +1 -1
  113. package/dist/src/status/client.d.ts.map +1 -1
  114. package/dist/src/status/payload.d.ts +3 -3
  115. package/dist/src/table/actions.d.ts +156 -0
  116. package/dist/src/table/actions.d.ts.map +1 -0
  117. package/dist/src/table/actions.gen.d.ts +587 -0
  118. package/dist/src/table/actions.gen.d.ts.map +1 -0
  119. package/dist/src/table/client.d.ts +28 -2
  120. package/dist/src/table/client.d.ts.map +1 -1
  121. package/dist/src/table/external.d.ts +2 -0
  122. package/dist/src/table/external.d.ts.map +1 -1
  123. package/dist/src/table/types.gen.d.ts +71 -4
  124. package/dist/src/table/types.gen.d.ts.map +1 -1
  125. package/dist/src/task/client.d.ts.map +1 -1
  126. package/dist/src/task/types.gen.d.ts +7 -7
  127. package/dist/src/task/types.gen.d.ts.map +1 -1
  128. package/dist/src/user/client.d.ts +2 -2
  129. package/dist/src/user/client.d.ts.map +1 -1
  130. package/dist/src/user/types.gen.d.ts +2 -2
  131. package/dist/src/view/client.d.ts.map +1 -1
  132. package/dist/src/view/types.gen.d.ts +2 -2
  133. package/dist/src/workspace/client.d.ts.map +1 -1
  134. package/dist/src/workspace/types.gen.d.ts +3 -3
  135. package/dist/src/workspace/types.gen.d.ts.map +1 -1
  136. package/package.json +12 -11
  137. package/src/access/policy/client.ts +4 -7
  138. package/src/access/role/client.ts +6 -26
  139. package/src/actions/actions.spec.ts +229 -0
  140. package/src/actions/actions.ts +104 -0
  141. package/src/actions/external.ts +10 -0
  142. package/src/actions/index.ts +10 -0
  143. package/src/arc/arc.spec.ts +44 -0
  144. package/src/arc/client.ts +3 -7
  145. package/src/arc/compiler/types.gen.ts +2 -1
  146. package/src/arc/ir/types.gen.ts +102 -48
  147. package/src/arc/lsp.spec.ts +3 -7
  148. package/src/arc/types/types.gen.ts +3 -3
  149. package/src/auth/auth.spec.ts +12 -13
  150. package/src/auth/auth.ts +48 -34
  151. package/src/channel/batchRetriever.spec.ts +13 -4
  152. package/src/channel/channel.spec.ts +13 -0
  153. package/src/channel/client.ts +8 -6
  154. package/src/channel/retriever.ts +7 -16
  155. package/src/channel/types.gen.ts +1 -2
  156. package/src/channel/writer.ts +4 -20
  157. package/src/client.ts +3 -0
  158. package/src/connection/checker.ts +48 -10
  159. package/src/connection/connection.spec.ts +64 -2
  160. package/src/control/state.ts +5 -4
  161. package/src/device/client.ts +5 -8
  162. package/src/device/device.spec.ts +7 -5
  163. package/src/device/types.gen.ts +4 -4
  164. package/src/errors.ts +8 -9
  165. package/src/framer/adapter.ts +2 -4
  166. package/src/framer/client.ts +12 -0
  167. package/src/framer/codec.spec.ts +53 -3
  168. package/src/framer/codec.ts +58 -25
  169. package/src/framer/deleter.ts +2 -8
  170. package/src/framer/iterator.ts +42 -39
  171. package/src/framer/streamProxy.ts +11 -12
  172. package/src/framer/streamer.spec.ts +1 -1
  173. package/src/framer/streamer.ts +2 -7
  174. package/src/framer/types.gen.ts +20 -0
  175. package/src/framer/writer.spec.ts +221 -1
  176. package/src/framer/writer.ts +53 -28
  177. package/src/group/client.ts +4 -7
  178. package/src/index.ts +3 -2
  179. package/src/label/client.ts +6 -16
  180. package/src/label/label.spec.ts +12 -0
  181. package/src/lineplot/client.ts +6 -21
  182. package/src/log/client.ts +6 -21
  183. package/src/ontology/client.ts +2 -3
  184. package/src/ontology/ontology.spec.ts +10 -0
  185. package/src/ontology/types.gen.ts +0 -1
  186. package/src/ontology/writer.ts +4 -7
  187. package/src/rack/client.ts +4 -7
  188. package/src/rack/rack.spec.ts +12 -1
  189. package/src/ranger/alias/client.ts +6 -11
  190. package/src/ranger/client.ts +2 -3
  191. package/src/ranger/kv/client.ts +4 -7
  192. package/src/ranger/ranger.spec.ts +12 -0
  193. package/src/ranger/writer.ts +4 -17
  194. package/src/schematic/access.spec.ts +6 -6
  195. package/src/schematic/actions.gen.ts +200 -0
  196. package/src/schematic/actions.spec.ts +699 -0
  197. package/src/schematic/actions.ts +168 -0
  198. package/src/schematic/client.ts +34 -30
  199. package/src/schematic/external.ts +2 -0
  200. package/src/schematic/schematic.spec.ts +233 -69
  201. package/src/schematic/symbol/client.spec.ts +33 -9
  202. package/src/schematic/symbol/client.ts +6 -11
  203. package/src/schematic/symbol/types.gen.ts +1 -10
  204. package/src/schematic/types.gen.ts +55 -6
  205. package/src/status/client.ts +4 -10
  206. package/src/status/status.spec.ts +7 -6
  207. package/src/table/access.spec.ts +0 -6
  208. package/src/table/actions.gen.ts +243 -0
  209. package/src/table/actions.ts +255 -0
  210. package/src/table/client.ts +21 -25
  211. package/src/table/external.ts +2 -0
  212. package/src/table/table.spec.ts +588 -43
  213. package/src/table/types.gen.ts +58 -5
  214. package/src/task/client.ts +14 -20
  215. package/src/task/task.spec.ts +15 -1
  216. package/src/task/types.gen.ts +8 -6
  217. package/src/user/client.ts +6 -11
  218. package/src/view/client.ts +4 -7
  219. package/src/view/view.spec.ts +9 -5
  220. package/src/workspace/client.ts +6 -16
  221. package/src/workspace/types.gen.ts +2 -1
  222. package/src/workspace/workspace.spec.ts +14 -1
@@ -6,6 +6,18 @@ export declare enum EdgeKind {
6
6
  conditional = 2
7
7
  }
8
8
  export declare const edgeKindZ: z.ZodEnum<typeof EdgeKind>;
9
+ export declare enum ScopeMode {
10
+ unspecified = 0,
11
+ parallel = 1,
12
+ sequential = 2
13
+ }
14
+ export declare const scopeModeZ: z.ZodEnum<typeof ScopeMode>;
15
+ export declare enum Liveness {
16
+ unspecified = 0,
17
+ always = 1,
18
+ gated = 2
19
+ }
20
+ export declare const livenessZ: z.ZodEnum<typeof Liveness>;
9
21
  /** Handle is a reference to a specific parameter on a specific node in the dataflow graph. */
10
22
  export declare const handleZ: z.ZodObject<{
11
23
  node: z.ZodString;
@@ -26,7 +38,7 @@ export interface Body extends z.infer<typeof bodyZ> {
26
38
  export declare const nodeZ: z.ZodObject<{
27
39
  key: z.ZodString;
28
40
  type: z.ZodString;
29
- config: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
41
+ config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
30
42
  name: string;
31
43
  type: {
32
44
  kind: types.Kind;
@@ -99,7 +111,7 @@ export declare const nodeZ: z.ZodObject<{
99
111
  chanDirection?: types.ChanDirection | undefined;
100
112
  };
101
113
  value?: unknown;
102
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
114
+ }[], null>>, z.ZodArray<z.ZodObject<{
103
115
  name: z.ZodString;
104
116
  type: z.ZodObject<{
105
117
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -107,7 +119,7 @@ export declare const nodeZ: z.ZodObject<{
107
119
  config: z.ZodOptional<typeof types.paramsZ>;
108
120
  kind: z.ZodEnum<typeof types.Kind>;
109
121
  name: z.ZodString;
110
- readonly elem: z.ZodOptional<typeof types.typeZ>;
122
+ elem: z.ZodOptional<typeof types.typeZ>;
111
123
  unit: z.ZodOptional<z.ZodObject<{
112
124
  dimensions: z.ZodObject<{
113
125
  length: z.ZodInt;
@@ -122,12 +134,12 @@ export declare const nodeZ: z.ZodObject<{
122
134
  scale: z.ZodNumber;
123
135
  name: z.ZodString;
124
136
  }, z.core.$strip>>;
125
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
137
+ constraint: z.ZodOptional<typeof types.typeZ>;
126
138
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
127
139
  }, z.core.$strip>;
128
140
  value: z.ZodOptional<z.ZodUnknown>;
129
141
  }, z.core.$strip>>]>>;
130
- inputs: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
142
+ inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
131
143
  name: string;
132
144
  type: {
133
145
  kind: types.Kind;
@@ -200,7 +212,7 @@ export declare const nodeZ: z.ZodObject<{
200
212
  chanDirection?: types.ChanDirection | undefined;
201
213
  };
202
214
  value?: unknown;
203
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
215
+ }[], null>>, z.ZodArray<z.ZodObject<{
204
216
  name: z.ZodString;
205
217
  type: z.ZodObject<{
206
218
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -208,7 +220,7 @@ export declare const nodeZ: z.ZodObject<{
208
220
  config: z.ZodOptional<typeof types.paramsZ>;
209
221
  kind: z.ZodEnum<typeof types.Kind>;
210
222
  name: z.ZodString;
211
- readonly elem: z.ZodOptional<typeof types.typeZ>;
223
+ elem: z.ZodOptional<typeof types.typeZ>;
212
224
  unit: z.ZodOptional<z.ZodObject<{
213
225
  dimensions: z.ZodObject<{
214
226
  length: z.ZodInt;
@@ -223,12 +235,12 @@ export declare const nodeZ: z.ZodObject<{
223
235
  scale: z.ZodNumber;
224
236
  name: z.ZodString;
225
237
  }, z.core.$strip>>;
226
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
238
+ constraint: z.ZodOptional<typeof types.typeZ>;
227
239
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
228
240
  }, z.core.$strip>;
229
241
  value: z.ZodOptional<z.ZodUnknown>;
230
242
  }, z.core.$strip>>]>>;
231
- outputs: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
243
+ outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
232
244
  name: string;
233
245
  type: {
234
246
  kind: types.Kind;
@@ -301,7 +313,7 @@ export declare const nodeZ: z.ZodObject<{
301
313
  chanDirection?: types.ChanDirection | undefined;
302
314
  };
303
315
  value?: unknown;
304
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
316
+ }[], null>>, z.ZodArray<z.ZodObject<{
305
317
  name: z.ZodString;
306
318
  type: z.ZodObject<{
307
319
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -309,7 +321,7 @@ export declare const nodeZ: z.ZodObject<{
309
321
  config: z.ZodOptional<typeof types.paramsZ>;
310
322
  kind: z.ZodEnum<typeof types.Kind>;
311
323
  name: z.ZodString;
312
- readonly elem: z.ZodOptional<typeof types.typeZ>;
324
+ elem: z.ZodOptional<typeof types.typeZ>;
313
325
  unit: z.ZodOptional<z.ZodObject<{
314
326
  dimensions: z.ZodObject<{
315
327
  length: z.ZodInt;
@@ -324,27 +336,25 @@ export declare const nodeZ: z.ZodObject<{
324
336
  scale: z.ZodNumber;
325
337
  name: z.ZodString;
326
338
  }, z.core.$strip>>;
327
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
339
+ constraint: z.ZodOptional<typeof types.typeZ>;
328
340
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
329
341
  }, z.core.$strip>;
330
342
  value: z.ZodOptional<z.ZodUnknown>;
331
343
  }, z.core.$strip>>]>>;
332
- channels: z.ZodOptional<z.ZodObject<{
333
- read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
334
- write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
335
- }, z.core.$strip>>;
344
+ channels: z.ZodObject<{
345
+ read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
346
+ write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
347
+ }, z.core.$strip>;
336
348
  }, z.core.$strip>;
337
349
  export interface Node extends z.infer<typeof nodeZ> {
338
350
  }
339
351
  /** Authorities holds the static authority declarations from an Arc program. */
340
352
  export declare const authoritiesZ: z.ZodObject<{
341
353
  default: z.ZodOptional<z.ZodInt>;
342
- channels: z.ZodOptional<z.ZodRecord<z.ZodUInt32, z.ZodInt>>;
354
+ channels: z.ZodType<Record<number, number>, unknown, z.core.$ZodTypeInternals<Record<number, number>, unknown>>;
343
355
  }, z.core.$strip>;
344
356
  export interface Authorities extends z.infer<typeof authoritiesZ> {
345
357
  }
346
- export declare const stratumZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[], null | undefined>>, z.ZodArray<z.ZodString>]>;
347
- export type Stratum = z.infer<typeof stratumZ>;
348
358
  /** Edge is a dataflow connection between node parameters in the Arc graph. */
349
359
  export declare const edgeZ: z.ZodObject<{
350
360
  source: z.ZodObject<{
@@ -355,10 +365,20 @@ export declare const edgeZ: z.ZodObject<{
355
365
  node: z.ZodString;
356
366
  param: z.ZodString;
357
367
  }, z.core.$strip>;
358
- kind: z.ZodOptional<z.ZodEnum<typeof EdgeKind>>;
368
+ kind: z.ZodEnum<typeof EdgeKind>;
359
369
  }, z.core.$strip>;
360
370
  export interface Edge extends z.infer<typeof edgeZ> {
361
371
  }
372
+ /** Transition is a declarative state-transition rule on a sequential Scope. */
373
+ export declare const transitionZ: z.ZodObject<{
374
+ on: z.ZodObject<{
375
+ node: z.ZodString;
376
+ param: z.ZodString;
377
+ }, z.core.$strip>;
378
+ targetKey: z.ZodOptional<z.ZodString>;
379
+ }, z.core.$strip>;
380
+ export interface Transition extends z.infer<typeof transitionZ> {
381
+ }
362
382
  /**
363
383
  * Function is a function template definition with typed parameters, serving as a
364
384
  * blueprint for node instantiation.
@@ -368,7 +388,7 @@ export declare const functionZ: z.ZodObject<{
368
388
  body: z.ZodOptional<z.ZodObject<{
369
389
  raw: z.ZodString;
370
390
  }, z.core.$strip>>;
371
- config: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
391
+ config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
372
392
  name: string;
373
393
  type: {
374
394
  kind: types.Kind;
@@ -441,7 +461,7 @@ export declare const functionZ: z.ZodObject<{
441
461
  chanDirection?: types.ChanDirection | undefined;
442
462
  };
443
463
  value?: unknown;
444
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
464
+ }[], null>>, z.ZodArray<z.ZodObject<{
445
465
  name: z.ZodString;
446
466
  type: z.ZodObject<{
447
467
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -449,7 +469,7 @@ export declare const functionZ: z.ZodObject<{
449
469
  config: z.ZodOptional<typeof types.paramsZ>;
450
470
  kind: z.ZodEnum<typeof types.Kind>;
451
471
  name: z.ZodString;
452
- readonly elem: z.ZodOptional<typeof types.typeZ>;
472
+ elem: z.ZodOptional<typeof types.typeZ>;
453
473
  unit: z.ZodOptional<z.ZodObject<{
454
474
  dimensions: z.ZodObject<{
455
475
  length: z.ZodInt;
@@ -464,12 +484,12 @@ export declare const functionZ: z.ZodObject<{
464
484
  scale: z.ZodNumber;
465
485
  name: z.ZodString;
466
486
  }, z.core.$strip>>;
467
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
487
+ constraint: z.ZodOptional<typeof types.typeZ>;
468
488
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
469
489
  }, z.core.$strip>;
470
490
  value: z.ZodOptional<z.ZodUnknown>;
471
491
  }, z.core.$strip>>]>>;
472
- inputs: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
492
+ inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
473
493
  name: string;
474
494
  type: {
475
495
  kind: types.Kind;
@@ -542,7 +562,7 @@ export declare const functionZ: z.ZodObject<{
542
562
  chanDirection?: types.ChanDirection | undefined;
543
563
  };
544
564
  value?: unknown;
545
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
565
+ }[], null>>, z.ZodArray<z.ZodObject<{
546
566
  name: z.ZodString;
547
567
  type: z.ZodObject<{
548
568
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -550,7 +570,7 @@ export declare const functionZ: z.ZodObject<{
550
570
  config: z.ZodOptional<typeof types.paramsZ>;
551
571
  kind: z.ZodEnum<typeof types.Kind>;
552
572
  name: z.ZodString;
553
- readonly elem: z.ZodOptional<typeof types.typeZ>;
573
+ elem: z.ZodOptional<typeof types.typeZ>;
554
574
  unit: z.ZodOptional<z.ZodObject<{
555
575
  dimensions: z.ZodObject<{
556
576
  length: z.ZodInt;
@@ -565,12 +585,12 @@ export declare const functionZ: z.ZodObject<{
565
585
  scale: z.ZodNumber;
566
586
  name: z.ZodString;
567
587
  }, z.core.$strip>>;
568
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
588
+ constraint: z.ZodOptional<typeof types.typeZ>;
569
589
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
570
590
  }, z.core.$strip>;
571
591
  value: z.ZodOptional<z.ZodUnknown>;
572
592
  }, z.core.$strip>>]>>;
573
- outputs: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
593
+ outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
574
594
  name: string;
575
595
  type: {
576
596
  kind: types.Kind;
@@ -643,7 +663,7 @@ export declare const functionZ: z.ZodObject<{
643
663
  chanDirection?: types.ChanDirection | undefined;
644
664
  };
645
665
  value?: unknown;
646
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
666
+ }[], null>>, z.ZodArray<z.ZodObject<{
647
667
  name: z.ZodString;
648
668
  type: z.ZodObject<{
649
669
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -651,7 +671,7 @@ export declare const functionZ: z.ZodObject<{
651
671
  config: z.ZodOptional<typeof types.paramsZ>;
652
672
  kind: z.ZodEnum<typeof types.Kind>;
653
673
  name: z.ZodString;
654
- readonly elem: z.ZodOptional<typeof types.typeZ>;
674
+ elem: z.ZodOptional<typeof types.typeZ>;
655
675
  unit: z.ZodOptional<z.ZodObject<{
656
676
  dimensions: z.ZodObject<{
657
677
  length: z.ZodInt;
@@ -666,22 +686,22 @@ export declare const functionZ: z.ZodObject<{
666
686
  scale: z.ZodNumber;
667
687
  name: z.ZodString;
668
688
  }, z.core.$strip>>;
669
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
689
+ constraint: z.ZodOptional<typeof types.typeZ>;
670
690
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
671
691
  }, z.core.$strip>;
672
692
  value: z.ZodOptional<z.ZodUnknown>;
673
693
  }, z.core.$strip>>]>>;
674
- channels: z.ZodOptional<z.ZodObject<{
675
- read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
676
- write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
677
- }, z.core.$strip>>;
694
+ channels: z.ZodObject<{
695
+ read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
696
+ write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
697
+ }, z.core.$strip>;
678
698
  }, z.core.$strip>;
679
699
  export interface Function extends z.infer<typeof functionZ> {
680
700
  }
681
- export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
701
+ export declare const nodesZ: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
682
702
  key: string;
683
703
  type: string;
684
- config?: {
704
+ config: {
685
705
  name: string;
686
706
  type: {
687
707
  kind: types.Kind;
@@ -754,8 +774,8 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
754
774
  chanDirection?: types.ChanDirection | undefined;
755
775
  };
756
776
  value?: unknown;
757
- }[] | undefined;
758
- inputs?: {
777
+ }[];
778
+ inputs: {
759
779
  name: string;
760
780
  type: {
761
781
  kind: types.Kind;
@@ -828,8 +848,8 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
828
848
  chanDirection?: types.ChanDirection | undefined;
829
849
  };
830
850
  value?: unknown;
831
- }[] | undefined;
832
- outputs?: {
851
+ }[];
852
+ outputs: {
833
853
  name: string;
834
854
  type: {
835
855
  kind: types.Kind;
@@ -902,15 +922,15 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
902
922
  chanDirection?: types.ChanDirection | undefined;
903
923
  };
904
924
  value?: unknown;
905
- }[] | undefined;
906
- channels?: {
925
+ }[];
926
+ channels: {
907
927
  read: Record<number, string>;
908
928
  write: Record<number, string>;
909
- } | undefined;
910
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
929
+ };
930
+ }[], null>>, z.ZodArray<z.ZodObject<{
911
931
  key: z.ZodString;
912
932
  type: z.ZodString;
913
- config: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
933
+ config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
914
934
  name: string;
915
935
  type: {
916
936
  kind: types.Kind;
@@ -983,7 +1003,7 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
983
1003
  chanDirection?: types.ChanDirection | undefined;
984
1004
  };
985
1005
  value?: unknown;
986
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1006
+ }[], null>>, z.ZodArray<z.ZodObject<{
987
1007
  name: z.ZodString;
988
1008
  type: z.ZodObject<{
989
1009
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -991,7 +1011,7 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
991
1011
  config: z.ZodOptional<typeof types.paramsZ>;
992
1012
  kind: z.ZodEnum<typeof types.Kind>;
993
1013
  name: z.ZodString;
994
- readonly elem: z.ZodOptional<typeof types.typeZ>;
1014
+ elem: z.ZodOptional<typeof types.typeZ>;
995
1015
  unit: z.ZodOptional<z.ZodObject<{
996
1016
  dimensions: z.ZodObject<{
997
1017
  length: z.ZodInt;
@@ -1006,12 +1026,12 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1006
1026
  scale: z.ZodNumber;
1007
1027
  name: z.ZodString;
1008
1028
  }, z.core.$strip>>;
1009
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
1029
+ constraint: z.ZodOptional<typeof types.typeZ>;
1010
1030
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
1011
1031
  }, z.core.$strip>;
1012
1032
  value: z.ZodOptional<z.ZodUnknown>;
1013
1033
  }, z.core.$strip>>]>>;
1014
- inputs: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1034
+ inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1015
1035
  name: string;
1016
1036
  type: {
1017
1037
  kind: types.Kind;
@@ -1084,7 +1104,7 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1084
1104
  chanDirection?: types.ChanDirection | undefined;
1085
1105
  };
1086
1106
  value?: unknown;
1087
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1107
+ }[], null>>, z.ZodArray<z.ZodObject<{
1088
1108
  name: z.ZodString;
1089
1109
  type: z.ZodObject<{
1090
1110
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -1092,7 +1112,7 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1092
1112
  config: z.ZodOptional<typeof types.paramsZ>;
1093
1113
  kind: z.ZodEnum<typeof types.Kind>;
1094
1114
  name: z.ZodString;
1095
- readonly elem: z.ZodOptional<typeof types.typeZ>;
1115
+ elem: z.ZodOptional<typeof types.typeZ>;
1096
1116
  unit: z.ZodOptional<z.ZodObject<{
1097
1117
  dimensions: z.ZodObject<{
1098
1118
  length: z.ZodInt;
@@ -1107,12 +1127,12 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1107
1127
  scale: z.ZodNumber;
1108
1128
  name: z.ZodString;
1109
1129
  }, z.core.$strip>>;
1110
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
1130
+ constraint: z.ZodOptional<typeof types.typeZ>;
1111
1131
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
1112
1132
  }, z.core.$strip>;
1113
1133
  value: z.ZodOptional<z.ZodUnknown>;
1114
1134
  }, z.core.$strip>>]>>;
1115
- outputs: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1135
+ outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1116
1136
  name: string;
1117
1137
  type: {
1118
1138
  kind: types.Kind;
@@ -1185,7 +1205,7 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1185
1205
  chanDirection?: types.ChanDirection | undefined;
1186
1206
  };
1187
1207
  value?: unknown;
1188
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1208
+ }[], null>>, z.ZodArray<z.ZodObject<{
1189
1209
  name: z.ZodString;
1190
1210
  type: z.ZodObject<{
1191
1211
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -1193,7 +1213,7 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1193
1213
  config: z.ZodOptional<typeof types.paramsZ>;
1194
1214
  kind: z.ZodEnum<typeof types.Kind>;
1195
1215
  name: z.ZodString;
1196
- readonly elem: z.ZodOptional<typeof types.typeZ>;
1216
+ elem: z.ZodOptional<typeof types.typeZ>;
1197
1217
  unit: z.ZodOptional<z.ZodObject<{
1198
1218
  dimensions: z.ZodObject<{
1199
1219
  length: z.ZodInt;
@@ -1208,20 +1228,18 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1208
1228
  scale: z.ZodNumber;
1209
1229
  name: z.ZodString;
1210
1230
  }, z.core.$strip>>;
1211
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
1231
+ constraint: z.ZodOptional<typeof types.typeZ>;
1212
1232
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
1213
1233
  }, z.core.$strip>;
1214
1234
  value: z.ZodOptional<z.ZodUnknown>;
1215
1235
  }, z.core.$strip>>]>>;
1216
- channels: z.ZodOptional<z.ZodObject<{
1217
- read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
1218
- write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
1219
- }, z.core.$strip>>;
1220
- }, z.core.$strip>>]>;
1236
+ channels: z.ZodObject<{
1237
+ read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
1238
+ write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
1239
+ }, z.core.$strip>;
1240
+ }, z.core.$strip>>]>>;
1221
1241
  export type Nodes = z.infer<typeof nodesZ>;
1222
- export declare const strataZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[][], null | undefined>>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[], null | undefined>>, z.ZodArray<z.ZodString>]>>]>;
1223
- export type Strata = z.infer<typeof strataZ>;
1224
- export declare const edgesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1242
+ export declare const edgesZ: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1225
1243
  source: {
1226
1244
  node: string;
1227
1245
  param: string;
@@ -1230,8 +1248,8 @@ export declare const edgesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1230
1248
  node: string;
1231
1249
  param: string;
1232
1250
  };
1233
- kind?: EdgeKind | undefined;
1234
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1251
+ kind: EdgeKind;
1252
+ }[], null>>, z.ZodArray<z.ZodObject<{
1235
1253
  source: z.ZodObject<{
1236
1254
  node: z.ZodString;
1237
1255
  param: z.ZodString;
@@ -1240,15 +1258,12 @@ export declare const edgesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
1240
1258
  node: z.ZodString;
1241
1259
  param: z.ZodString;
1242
1260
  }, z.core.$strip>;
1243
- kind: z.ZodOptional<z.ZodEnum<typeof EdgeKind>>;
1244
- }, z.core.$strip>>]>;
1261
+ kind: z.ZodEnum<typeof EdgeKind>;
1262
+ }, z.core.$strip>>]>>;
1245
1263
  export type Edges = z.infer<typeof edgesZ>;
1246
- export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1264
+ export declare const functionsZ: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1247
1265
  key: string;
1248
- body?: {
1249
- raw: string;
1250
- } | undefined;
1251
- config?: {
1266
+ config: {
1252
1267
  name: string;
1253
1268
  type: {
1254
1269
  kind: types.Kind;
@@ -1321,8 +1336,8 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1321
1336
  chanDirection?: types.ChanDirection | undefined;
1322
1337
  };
1323
1338
  value?: unknown;
1324
- }[] | undefined;
1325
- inputs?: {
1339
+ }[];
1340
+ inputs: {
1326
1341
  name: string;
1327
1342
  type: {
1328
1343
  kind: types.Kind;
@@ -1395,8 +1410,8 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1395
1410
  chanDirection?: types.ChanDirection | undefined;
1396
1411
  };
1397
1412
  value?: unknown;
1398
- }[] | undefined;
1399
- outputs?: {
1413
+ }[];
1414
+ outputs: {
1400
1415
  name: string;
1401
1416
  type: {
1402
1417
  kind: types.Kind;
@@ -1469,17 +1484,20 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1469
1484
  chanDirection?: types.ChanDirection | undefined;
1470
1485
  };
1471
1486
  value?: unknown;
1472
- }[] | undefined;
1473
- channels?: {
1487
+ }[];
1488
+ channels: {
1474
1489
  read: Record<number, string>;
1475
1490
  write: Record<number, string>;
1491
+ };
1492
+ body?: {
1493
+ raw: string;
1476
1494
  } | undefined;
1477
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1495
+ }[], null>>, z.ZodArray<z.ZodObject<{
1478
1496
  key: z.ZodString;
1479
1497
  body: z.ZodOptional<z.ZodObject<{
1480
1498
  raw: z.ZodString;
1481
1499
  }, z.core.$strip>>;
1482
- config: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1500
+ config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1483
1501
  name: string;
1484
1502
  type: {
1485
1503
  kind: types.Kind;
@@ -1552,7 +1570,7 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1552
1570
  chanDirection?: types.ChanDirection | undefined;
1553
1571
  };
1554
1572
  value?: unknown;
1555
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1573
+ }[], null>>, z.ZodArray<z.ZodObject<{
1556
1574
  name: z.ZodString;
1557
1575
  type: z.ZodObject<{
1558
1576
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -1560,7 +1578,7 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1560
1578
  config: z.ZodOptional<typeof types.paramsZ>;
1561
1579
  kind: z.ZodEnum<typeof types.Kind>;
1562
1580
  name: z.ZodString;
1563
- readonly elem: z.ZodOptional<typeof types.typeZ>;
1581
+ elem: z.ZodOptional<typeof types.typeZ>;
1564
1582
  unit: z.ZodOptional<z.ZodObject<{
1565
1583
  dimensions: z.ZodObject<{
1566
1584
  length: z.ZodInt;
@@ -1575,12 +1593,12 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1575
1593
  scale: z.ZodNumber;
1576
1594
  name: z.ZodString;
1577
1595
  }, z.core.$strip>>;
1578
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
1596
+ constraint: z.ZodOptional<typeof types.typeZ>;
1579
1597
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
1580
1598
  }, z.core.$strip>;
1581
1599
  value: z.ZodOptional<z.ZodUnknown>;
1582
1600
  }, z.core.$strip>>]>>;
1583
- inputs: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1601
+ inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1584
1602
  name: string;
1585
1603
  type: {
1586
1604
  kind: types.Kind;
@@ -1653,7 +1671,7 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1653
1671
  chanDirection?: types.ChanDirection | undefined;
1654
1672
  };
1655
1673
  value?: unknown;
1656
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1674
+ }[], null>>, z.ZodArray<z.ZodObject<{
1657
1675
  name: z.ZodString;
1658
1676
  type: z.ZodObject<{
1659
1677
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -1661,7 +1679,7 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1661
1679
  config: z.ZodOptional<typeof types.paramsZ>;
1662
1680
  kind: z.ZodEnum<typeof types.Kind>;
1663
1681
  name: z.ZodString;
1664
- readonly elem: z.ZodOptional<typeof types.typeZ>;
1682
+ elem: z.ZodOptional<typeof types.typeZ>;
1665
1683
  unit: z.ZodOptional<z.ZodObject<{
1666
1684
  dimensions: z.ZodObject<{
1667
1685
  length: z.ZodInt;
@@ -1676,12 +1694,12 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1676
1694
  scale: z.ZodNumber;
1677
1695
  name: z.ZodString;
1678
1696
  }, z.core.$strip>>;
1679
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
1697
+ constraint: z.ZodOptional<typeof types.typeZ>;
1680
1698
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
1681
1699
  }, z.core.$strip>;
1682
1700
  value: z.ZodOptional<z.ZodUnknown>;
1683
1701
  }, z.core.$strip>>]>>;
1684
- outputs: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1702
+ outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1685
1703
  name: string;
1686
1704
  type: {
1687
1705
  kind: types.Kind;
@@ -1754,7 +1772,7 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1754
1772
  chanDirection?: types.ChanDirection | undefined;
1755
1773
  };
1756
1774
  value?: unknown;
1757
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1775
+ }[], null>>, z.ZodArray<z.ZodObject<{
1758
1776
  name: z.ZodString;
1759
1777
  type: z.ZodObject<{
1760
1778
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -1762,7 +1780,7 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1762
1780
  config: z.ZodOptional<typeof types.paramsZ>;
1763
1781
  kind: z.ZodEnum<typeof types.Kind>;
1764
1782
  name: z.ZodString;
1765
- readonly elem: z.ZodOptional<typeof types.typeZ>;
1783
+ elem: z.ZodOptional<typeof types.typeZ>;
1766
1784
  unit: z.ZodOptional<z.ZodObject<{
1767
1785
  dimensions: z.ZodObject<{
1768
1786
  length: z.ZodInt;
@@ -1777,88 +1795,53 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
1777
1795
  scale: z.ZodNumber;
1778
1796
  name: z.ZodString;
1779
1797
  }, z.core.$strip>>;
1780
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
1798
+ constraint: z.ZodOptional<typeof types.typeZ>;
1781
1799
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
1782
1800
  }, z.core.$strip>;
1783
1801
  value: z.ZodOptional<z.ZodUnknown>;
1784
1802
  }, z.core.$strip>>]>>;
1785
- channels: z.ZodOptional<z.ZodObject<{
1786
- read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
1787
- write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
1788
- }, z.core.$strip>>;
1789
- }, z.core.$strip>>]>;
1803
+ channels: z.ZodObject<{
1804
+ read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
1805
+ write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
1806
+ }, z.core.$strip>;
1807
+ }, z.core.$strip>>]>>;
1790
1808
  export type Functions = z.infer<typeof functionsZ>;
1791
1809
  /**
1792
- * Stage is a stage in a sequence state machine, containing active nodes and their
1793
- * execution stratification.
1810
+ * Member is a tagged union representing a single child of a Scope. Exactly one
1811
+ * of nodeKey or scope is set. The member's lookup key (used as the
1812
+ * target of `=> name` transitions) is derived from the set variant via
1813
+ * Member.key().
1794
1814
  */
1795
- export declare const stageZ: z.ZodObject<{
1796
- key: z.ZodString;
1797
- nodes: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[], null | undefined>>, z.ZodArray<z.ZodString>]>;
1798
- strata: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[][], null | undefined>>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[], null | undefined>>, z.ZodArray<z.ZodString>]>>]>;
1799
- }, z.core.$strip>;
1800
- export interface Stage extends z.infer<typeof stageZ> {
1815
+ export interface Member {
1816
+ nodeKey?: string;
1817
+ scope?: Scope;
1801
1818
  }
1819
+ export declare const memberZ: z.ZodType<Member>;
1802
1820
  /**
1803
- * Sequence is a state machine defining ordered stages of execution, where entry point
1804
- * is always the first stage.
1821
+ * Scope is the unified Layer 2 execution primitive. Parameterized by mode
1822
+ * (parallel or sequential) and liveness (always-live or gated). Parallel
1823
+ * scopes organize members into strata; sequential scopes run one step
1824
+ * at a time and advance via transitions.
1805
1825
  */
1806
- export declare const sequenceZ: z.ZodObject<{
1807
- key: z.ZodString;
1808
- stages: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1809
- key: string;
1810
- nodes: string[];
1811
- strata: string[][];
1812
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1813
- key: z.ZodString;
1814
- nodes: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[], null | undefined>>, z.ZodArray<z.ZodString>]>;
1815
- strata: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[][], null | undefined>>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[], null | undefined>>, z.ZodArray<z.ZodString>]>>]>;
1816
- }, z.core.$strip>>]>;
1817
- }, z.core.$strip>;
1818
- export interface Sequence extends z.infer<typeof sequenceZ> {
1819
- }
1820
- export declare const stagesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1821
- key: string;
1822
- nodes: string[];
1823
- strata: string[][];
1824
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1825
- key: z.ZodString;
1826
- nodes: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[], null | undefined>>, z.ZodArray<z.ZodString>]>;
1827
- strata: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[][], null | undefined>>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[], null | undefined>>, z.ZodArray<z.ZodString>]>>]>;
1828
- }, z.core.$strip>>]>;
1829
- export type Stages = z.infer<typeof stagesZ>;
1830
- export declare const sequencesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1826
+ export interface Scope {
1831
1827
  key: string;
1832
- stages: {
1833
- key: string;
1834
- nodes: string[];
1835
- strata: string[][];
1836
- }[];
1837
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1838
- key: z.ZodString;
1839
- stages: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1840
- key: string;
1841
- nodes: string[];
1842
- strata: string[][];
1843
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
1844
- key: z.ZodString;
1845
- nodes: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[], null | undefined>>, z.ZodArray<z.ZodString>]>;
1846
- strata: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[][], null | undefined>>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[], null | undefined>>, z.ZodArray<z.ZodString>]>>]>;
1847
- }, z.core.$strip>>]>;
1848
- }, z.core.$strip>>]>;
1849
- export type Sequences = z.infer<typeof sequencesZ>;
1828
+ mode: ScopeMode;
1829
+ liveness: Liveness;
1830
+ activation?: Handle;
1831
+ strata: Members[];
1832
+ steps: Members;
1833
+ transitions: Transition[];
1834
+ }
1835
+ export declare const scopeZ: z.ZodType<Scope>;
1850
1836
  /**
1851
1837
  * IR is the intermediate representation of an Arc program as a dataflow graph
1852
1838
  * with stratified execution, bridging semantic analysis and WebAssembly
1853
1839
  * compilation.
1854
1840
  */
1855
1841
  export declare const irZ: z.ZodObject<{
1856
- functions: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
1842
+ functions: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
1857
1843
  key: string;
1858
- body?: {
1859
- raw: string;
1860
- } | undefined;
1861
- config?: {
1844
+ config: {
1862
1845
  name: string;
1863
1846
  type: {
1864
1847
  kind: types.Kind;
@@ -1931,8 +1914,8 @@ export declare const irZ: z.ZodObject<{
1931
1914
  chanDirection?: types.ChanDirection | undefined;
1932
1915
  };
1933
1916
  value?: unknown;
1934
- }[] | undefined;
1935
- inputs?: {
1917
+ }[];
1918
+ inputs: {
1936
1919
  name: string;
1937
1920
  type: {
1938
1921
  kind: types.Kind;
@@ -2005,8 +1988,8 @@ export declare const irZ: z.ZodObject<{
2005
1988
  chanDirection?: types.ChanDirection | undefined;
2006
1989
  };
2007
1990
  value?: unknown;
2008
- }[] | undefined;
2009
- outputs?: {
1991
+ }[];
1992
+ outputs: {
2010
1993
  name: string;
2011
1994
  type: {
2012
1995
  kind: types.Kind;
@@ -2079,17 +2062,20 @@ export declare const irZ: z.ZodObject<{
2079
2062
  chanDirection?: types.ChanDirection | undefined;
2080
2063
  };
2081
2064
  value?: unknown;
2082
- }[] | undefined;
2083
- channels?: {
2065
+ }[];
2066
+ channels: {
2084
2067
  read: Record<number, string>;
2085
2068
  write: Record<number, string>;
2069
+ };
2070
+ body?: {
2071
+ raw: string;
2086
2072
  } | undefined;
2087
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2073
+ }[], null>>, z.ZodArray<z.ZodObject<{
2088
2074
  key: z.ZodString;
2089
2075
  body: z.ZodOptional<z.ZodObject<{
2090
2076
  raw: z.ZodString;
2091
2077
  }, z.core.$strip>>;
2092
- config: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2078
+ config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2093
2079
  name: string;
2094
2080
  type: {
2095
2081
  kind: types.Kind;
@@ -2162,7 +2148,7 @@ export declare const irZ: z.ZodObject<{
2162
2148
  chanDirection?: types.ChanDirection | undefined;
2163
2149
  };
2164
2150
  value?: unknown;
2165
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2151
+ }[], null>>, z.ZodArray<z.ZodObject<{
2166
2152
  name: z.ZodString;
2167
2153
  type: z.ZodObject<{
2168
2154
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -2170,7 +2156,7 @@ export declare const irZ: z.ZodObject<{
2170
2156
  config: z.ZodOptional<typeof types.paramsZ>;
2171
2157
  kind: z.ZodEnum<typeof types.Kind>;
2172
2158
  name: z.ZodString;
2173
- readonly elem: z.ZodOptional<typeof types.typeZ>;
2159
+ elem: z.ZodOptional<typeof types.typeZ>;
2174
2160
  unit: z.ZodOptional<z.ZodObject<{
2175
2161
  dimensions: z.ZodObject<{
2176
2162
  length: z.ZodInt;
@@ -2185,12 +2171,12 @@ export declare const irZ: z.ZodObject<{
2185
2171
  scale: z.ZodNumber;
2186
2172
  name: z.ZodString;
2187
2173
  }, z.core.$strip>>;
2188
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
2174
+ constraint: z.ZodOptional<typeof types.typeZ>;
2189
2175
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
2190
2176
  }, z.core.$strip>;
2191
2177
  value: z.ZodOptional<z.ZodUnknown>;
2192
2178
  }, z.core.$strip>>]>>;
2193
- inputs: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2179
+ inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2194
2180
  name: string;
2195
2181
  type: {
2196
2182
  kind: types.Kind;
@@ -2263,7 +2249,7 @@ export declare const irZ: z.ZodObject<{
2263
2249
  chanDirection?: types.ChanDirection | undefined;
2264
2250
  };
2265
2251
  value?: unknown;
2266
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2252
+ }[], null>>, z.ZodArray<z.ZodObject<{
2267
2253
  name: z.ZodString;
2268
2254
  type: z.ZodObject<{
2269
2255
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -2271,7 +2257,7 @@ export declare const irZ: z.ZodObject<{
2271
2257
  config: z.ZodOptional<typeof types.paramsZ>;
2272
2258
  kind: z.ZodEnum<typeof types.Kind>;
2273
2259
  name: z.ZodString;
2274
- readonly elem: z.ZodOptional<typeof types.typeZ>;
2260
+ elem: z.ZodOptional<typeof types.typeZ>;
2275
2261
  unit: z.ZodOptional<z.ZodObject<{
2276
2262
  dimensions: z.ZodObject<{
2277
2263
  length: z.ZodInt;
@@ -2286,12 +2272,12 @@ export declare const irZ: z.ZodObject<{
2286
2272
  scale: z.ZodNumber;
2287
2273
  name: z.ZodString;
2288
2274
  }, z.core.$strip>>;
2289
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
2275
+ constraint: z.ZodOptional<typeof types.typeZ>;
2290
2276
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
2291
2277
  }, z.core.$strip>;
2292
2278
  value: z.ZodOptional<z.ZodUnknown>;
2293
2279
  }, z.core.$strip>>]>>;
2294
- outputs: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2280
+ outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2295
2281
  name: string;
2296
2282
  type: {
2297
2283
  kind: types.Kind;
@@ -2364,7 +2350,7 @@ export declare const irZ: z.ZodObject<{
2364
2350
  chanDirection?: types.ChanDirection | undefined;
2365
2351
  };
2366
2352
  value?: unknown;
2367
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2353
+ }[], null>>, z.ZodArray<z.ZodObject<{
2368
2354
  name: z.ZodString;
2369
2355
  type: z.ZodObject<{
2370
2356
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -2372,7 +2358,7 @@ export declare const irZ: z.ZodObject<{
2372
2358
  config: z.ZodOptional<typeof types.paramsZ>;
2373
2359
  kind: z.ZodEnum<typeof types.Kind>;
2374
2360
  name: z.ZodString;
2375
- readonly elem: z.ZodOptional<typeof types.typeZ>;
2361
+ elem: z.ZodOptional<typeof types.typeZ>;
2376
2362
  unit: z.ZodOptional<z.ZodObject<{
2377
2363
  dimensions: z.ZodObject<{
2378
2364
  length: z.ZodInt;
@@ -2387,20 +2373,20 @@ export declare const irZ: z.ZodObject<{
2387
2373
  scale: z.ZodNumber;
2388
2374
  name: z.ZodString;
2389
2375
  }, z.core.$strip>>;
2390
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
2376
+ constraint: z.ZodOptional<typeof types.typeZ>;
2391
2377
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
2392
2378
  }, z.core.$strip>;
2393
2379
  value: z.ZodOptional<z.ZodUnknown>;
2394
2380
  }, z.core.$strip>>]>>;
2395
- channels: z.ZodOptional<z.ZodObject<{
2396
- read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
2397
- write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
2398
- }, z.core.$strip>>;
2381
+ channels: z.ZodObject<{
2382
+ read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
2383
+ write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
2384
+ }, z.core.$strip>;
2399
2385
  }, z.core.$strip>>]>>;
2400
- nodes: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2386
+ nodes: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2401
2387
  key: string;
2402
2388
  type: string;
2403
- config?: {
2389
+ config: {
2404
2390
  name: string;
2405
2391
  type: {
2406
2392
  kind: types.Kind;
@@ -2473,8 +2459,8 @@ export declare const irZ: z.ZodObject<{
2473
2459
  chanDirection?: types.ChanDirection | undefined;
2474
2460
  };
2475
2461
  value?: unknown;
2476
- }[] | undefined;
2477
- inputs?: {
2462
+ }[];
2463
+ inputs: {
2478
2464
  name: string;
2479
2465
  type: {
2480
2466
  kind: types.Kind;
@@ -2547,8 +2533,8 @@ export declare const irZ: z.ZodObject<{
2547
2533
  chanDirection?: types.ChanDirection | undefined;
2548
2534
  };
2549
2535
  value?: unknown;
2550
- }[] | undefined;
2551
- outputs?: {
2536
+ }[];
2537
+ outputs: {
2552
2538
  name: string;
2553
2539
  type: {
2554
2540
  kind: types.Kind;
@@ -2621,15 +2607,15 @@ export declare const irZ: z.ZodObject<{
2621
2607
  chanDirection?: types.ChanDirection | undefined;
2622
2608
  };
2623
2609
  value?: unknown;
2624
- }[] | undefined;
2625
- channels?: {
2610
+ }[];
2611
+ channels: {
2626
2612
  read: Record<number, string>;
2627
2613
  write: Record<number, string>;
2628
- } | undefined;
2629
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2614
+ };
2615
+ }[], null>>, z.ZodArray<z.ZodObject<{
2630
2616
  key: z.ZodString;
2631
2617
  type: z.ZodString;
2632
- config: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2618
+ config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2633
2619
  name: string;
2634
2620
  type: {
2635
2621
  kind: types.Kind;
@@ -2702,7 +2688,7 @@ export declare const irZ: z.ZodObject<{
2702
2688
  chanDirection?: types.ChanDirection | undefined;
2703
2689
  };
2704
2690
  value?: unknown;
2705
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2691
+ }[], null>>, z.ZodArray<z.ZodObject<{
2706
2692
  name: z.ZodString;
2707
2693
  type: z.ZodObject<{
2708
2694
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -2710,7 +2696,7 @@ export declare const irZ: z.ZodObject<{
2710
2696
  config: z.ZodOptional<typeof types.paramsZ>;
2711
2697
  kind: z.ZodEnum<typeof types.Kind>;
2712
2698
  name: z.ZodString;
2713
- readonly elem: z.ZodOptional<typeof types.typeZ>;
2699
+ elem: z.ZodOptional<typeof types.typeZ>;
2714
2700
  unit: z.ZodOptional<z.ZodObject<{
2715
2701
  dimensions: z.ZodObject<{
2716
2702
  length: z.ZodInt;
@@ -2725,12 +2711,12 @@ export declare const irZ: z.ZodObject<{
2725
2711
  scale: z.ZodNumber;
2726
2712
  name: z.ZodString;
2727
2713
  }, z.core.$strip>>;
2728
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
2714
+ constraint: z.ZodOptional<typeof types.typeZ>;
2729
2715
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
2730
2716
  }, z.core.$strip>;
2731
2717
  value: z.ZodOptional<z.ZodUnknown>;
2732
2718
  }, z.core.$strip>>]>>;
2733
- inputs: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2719
+ inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2734
2720
  name: string;
2735
2721
  type: {
2736
2722
  kind: types.Kind;
@@ -2803,7 +2789,7 @@ export declare const irZ: z.ZodObject<{
2803
2789
  chanDirection?: types.ChanDirection | undefined;
2804
2790
  };
2805
2791
  value?: unknown;
2806
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2792
+ }[], null>>, z.ZodArray<z.ZodObject<{
2807
2793
  name: z.ZodString;
2808
2794
  type: z.ZodObject<{
2809
2795
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -2811,7 +2797,7 @@ export declare const irZ: z.ZodObject<{
2811
2797
  config: z.ZodOptional<typeof types.paramsZ>;
2812
2798
  kind: z.ZodEnum<typeof types.Kind>;
2813
2799
  name: z.ZodString;
2814
- readonly elem: z.ZodOptional<typeof types.typeZ>;
2800
+ elem: z.ZodOptional<typeof types.typeZ>;
2815
2801
  unit: z.ZodOptional<z.ZodObject<{
2816
2802
  dimensions: z.ZodObject<{
2817
2803
  length: z.ZodInt;
@@ -2826,12 +2812,12 @@ export declare const irZ: z.ZodObject<{
2826
2812
  scale: z.ZodNumber;
2827
2813
  name: z.ZodString;
2828
2814
  }, z.core.$strip>>;
2829
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
2815
+ constraint: z.ZodOptional<typeof types.typeZ>;
2830
2816
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
2831
2817
  }, z.core.$strip>;
2832
2818
  value: z.ZodOptional<z.ZodUnknown>;
2833
2819
  }, z.core.$strip>>]>>;
2834
- outputs: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2820
+ outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2835
2821
  name: string;
2836
2822
  type: {
2837
2823
  kind: types.Kind;
@@ -2904,7 +2890,7 @@ export declare const irZ: z.ZodObject<{
2904
2890
  chanDirection?: types.ChanDirection | undefined;
2905
2891
  };
2906
2892
  value?: unknown;
2907
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2893
+ }[], null>>, z.ZodArray<z.ZodObject<{
2908
2894
  name: z.ZodString;
2909
2895
  type: z.ZodObject<{
2910
2896
  inputs: z.ZodOptional<typeof types.paramsZ>;
@@ -2912,7 +2898,7 @@ export declare const irZ: z.ZodObject<{
2912
2898
  config: z.ZodOptional<typeof types.paramsZ>;
2913
2899
  kind: z.ZodEnum<typeof types.Kind>;
2914
2900
  name: z.ZodString;
2915
- readonly elem: z.ZodOptional<typeof types.typeZ>;
2901
+ elem: z.ZodOptional<typeof types.typeZ>;
2916
2902
  unit: z.ZodOptional<z.ZodObject<{
2917
2903
  dimensions: z.ZodObject<{
2918
2904
  length: z.ZodInt;
@@ -2927,17 +2913,17 @@ export declare const irZ: z.ZodObject<{
2927
2913
  scale: z.ZodNumber;
2928
2914
  name: z.ZodString;
2929
2915
  }, z.core.$strip>>;
2930
- readonly constraint: z.ZodOptional<typeof types.typeZ>;
2916
+ constraint: z.ZodOptional<typeof types.typeZ>;
2931
2917
  chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
2932
2918
  }, z.core.$strip>;
2933
2919
  value: z.ZodOptional<z.ZodUnknown>;
2934
2920
  }, z.core.$strip>>]>>;
2935
- channels: z.ZodOptional<z.ZodObject<{
2936
- read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
2937
- write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
2938
- }, z.core.$strip>>;
2921
+ channels: z.ZodObject<{
2922
+ read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
2923
+ write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
2924
+ }, z.core.$strip>;
2939
2925
  }, z.core.$strip>>]>>;
2940
- edges: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2926
+ edges: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
2941
2927
  source: {
2942
2928
  node: string;
2943
2929
  param: string;
@@ -2946,8 +2932,8 @@ export declare const irZ: z.ZodObject<{
2946
2932
  node: string;
2947
2933
  param: string;
2948
2934
  };
2949
- kind?: EdgeKind | undefined;
2950
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2935
+ kind: EdgeKind;
2936
+ }[], null>>, z.ZodArray<z.ZodObject<{
2951
2937
  source: z.ZodObject<{
2952
2938
  node: z.ZodString;
2953
2939
  param: z.ZodString;
@@ -2956,33 +2942,16 @@ export declare const irZ: z.ZodObject<{
2956
2942
  node: z.ZodString;
2957
2943
  param: z.ZodString;
2958
2944
  }, z.core.$strip>;
2959
- kind: z.ZodOptional<z.ZodEnum<typeof EdgeKind>>;
2960
- }, z.core.$strip>>]>>;
2961
- strata: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[][], null | undefined>>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[], null | undefined>>, z.ZodArray<z.ZodString>]>>]>>;
2962
- sequences: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2963
- key: string;
2964
- stages: {
2965
- key: string;
2966
- nodes: string[];
2967
- strata: string[][];
2968
- }[];
2969
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2970
- key: z.ZodString;
2971
- stages: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
2972
- key: string;
2973
- nodes: string[];
2974
- strata: string[][];
2975
- }[], null | undefined>>, z.ZodArray<z.ZodObject<{
2976
- key: z.ZodString;
2977
- nodes: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[], null | undefined>>, z.ZodArray<z.ZodString>]>;
2978
- strata: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[][], null | undefined>>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string[], null | undefined>>, z.ZodArray<z.ZodString>]>>]>;
2979
- }, z.core.$strip>>]>;
2945
+ kind: z.ZodEnum<typeof EdgeKind>;
2980
2946
  }, z.core.$strip>>]>>;
2981
- authorities: z.ZodOptional<z.ZodObject<{
2947
+ authorities: z.ZodObject<{
2982
2948
  default: z.ZodOptional<z.ZodInt>;
2983
- channels: z.ZodOptional<z.ZodRecord<z.ZodUInt32, z.ZodInt>>;
2984
- }, z.core.$strip>>;
2949
+ channels: z.ZodType<Record<number, number>, unknown, z.core.$ZodTypeInternals<Record<number, number>, unknown>>;
2950
+ }, z.core.$strip>;
2951
+ root: z.ZodType<Scope, unknown, z.core.$ZodTypeInternals<Scope, unknown>>;
2985
2952
  }, z.core.$strip>;
2986
2953
  export interface IR extends z.infer<typeof irZ> {
2987
2954
  }
2955
+ export declare const membersZ: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<Member[], null>>, z.ZodArray<z.ZodType<Member, unknown, z.core.$ZodTypeInternals<Member, unknown>>>]>>;
2956
+ export type Members = z.infer<typeof membersZ>;
2988
2957
  //# sourceMappingURL=types.gen.d.ts.map