@synnaxlabs/client 0.54.2 → 0.55.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.
- package/.turbo/turbo-build.log +6 -6
- package/dist/client.cjs +28 -34
- package/dist/client.js +5341 -5193
- package/dist/src/arc/arc.spec.d.ts +2 -0
- package/dist/src/arc/arc.spec.d.ts.map +1 -0
- package/dist/src/arc/graph/types.gen.d.ts +20 -20
- package/dist/src/arc/ir/types.gen.d.ts +145 -176
- package/dist/src/arc/ir/types.gen.d.ts.map +1 -1
- package/dist/src/arc/module/types.gen.d.ts +46 -65
- package/dist/src/arc/module/types.gen.d.ts.map +1 -1
- package/dist/src/arc/program/types.gen.d.ts +46 -65
- package/dist/src/arc/program/types.gen.d.ts.map +1 -1
- package/dist/src/arc/types.gen.d.ts +86 -105
- package/dist/src/arc/types.gen.d.ts.map +1 -1
- package/dist/src/auth/auth.d.ts.map +1 -1
- package/dist/src/channel/types.gen.d.ts.map +1 -1
- package/dist/src/client.d.ts +5 -0
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/connection/checker.d.ts +17 -2
- package/dist/src/connection/checker.d.ts.map +1 -1
- package/dist/src/control/state.d.ts.map +1 -1
- package/dist/src/framer/client.d.ts.map +1 -1
- package/dist/src/task/client.d.ts.map +1 -1
- package/package.json +10 -10
- package/src/arc/arc.spec.ts +44 -0
- package/src/arc/ir/types.gen.ts +101 -47
- package/src/auth/auth.ts +13 -1
- package/src/channel/channel.spec.ts +13 -0
- package/src/channel/types.gen.ts +1 -2
- package/src/client.ts +3 -0
- package/src/connection/checker.ts +44 -5
- package/src/connection/connection.spec.ts +67 -2
- package/src/control/state.ts +5 -4
- package/src/device/device.spec.ts +7 -5
- package/src/framer/client.ts +12 -0
- package/src/framer/writer.spec.ts +144 -1
- package/src/label/label.spec.ts +12 -0
- package/src/ontology/ontology.spec.ts +10 -0
- package/src/rack/rack.spec.ts +12 -1
- package/src/ranger/ranger.spec.ts +12 -0
- package/src/schematic/symbol/client.spec.ts +33 -9
- package/src/status/status.spec.ts +7 -6
- package/src/task/client.ts +7 -9
- package/src/task/task.spec.ts +15 -1
- package/src/view/view.spec.ts +9 -5
- 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.
|
|
41
|
+
config: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
30
42
|
name: string;
|
|
31
43
|
type: {
|
|
32
44
|
kind: types.Kind;
|
|
@@ -126,8 +138,8 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
126
138
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
127
139
|
}, z.core.$strip>;
|
|
128
140
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
129
|
-
}, z.core.$strip>>]
|
|
130
|
-
inputs: z.
|
|
141
|
+
}, z.core.$strip>>]>;
|
|
142
|
+
inputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
131
143
|
name: string;
|
|
132
144
|
type: {
|
|
133
145
|
kind: types.Kind;
|
|
@@ -227,8 +239,8 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
227
239
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
228
240
|
}, z.core.$strip>;
|
|
229
241
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
230
|
-
}, z.core.$strip>>]
|
|
231
|
-
outputs: z.
|
|
242
|
+
}, z.core.$strip>>]>;
|
|
243
|
+
outputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
232
244
|
name: string;
|
|
233
245
|
type: {
|
|
234
246
|
kind: types.Kind;
|
|
@@ -328,23 +340,21 @@ export declare const nodeZ: z.ZodObject<{
|
|
|
328
340
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
329
341
|
}, z.core.$strip>;
|
|
330
342
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
331
|
-
}, z.core.$strip>>]
|
|
332
|
-
channels: z.
|
|
343
|
+
}, z.core.$strip>>]>;
|
|
344
|
+
channels: z.ZodObject<{
|
|
333
345
|
read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
|
|
334
346
|
write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
|
|
335
|
-
}, z.core.$strip
|
|
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.
|
|
354
|
+
channels: z.ZodRecord<z.ZodUInt32, z.ZodInt>;
|
|
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.
|
|
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.
|
|
391
|
+
config: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
372
392
|
name: string;
|
|
373
393
|
type: {
|
|
374
394
|
kind: types.Kind;
|
|
@@ -468,8 +488,8 @@ export declare const functionZ: z.ZodObject<{
|
|
|
468
488
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
469
489
|
}, z.core.$strip>;
|
|
470
490
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
471
|
-
}, z.core.$strip>>]
|
|
472
|
-
inputs: z.
|
|
491
|
+
}, z.core.$strip>>]>;
|
|
492
|
+
inputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
473
493
|
name: string;
|
|
474
494
|
type: {
|
|
475
495
|
kind: types.Kind;
|
|
@@ -569,8 +589,8 @@ export declare const functionZ: z.ZodObject<{
|
|
|
569
589
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
570
590
|
}, z.core.$strip>;
|
|
571
591
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
572
|
-
}, z.core.$strip>>]
|
|
573
|
-
outputs: z.
|
|
592
|
+
}, z.core.$strip>>]>;
|
|
593
|
+
outputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
574
594
|
name: string;
|
|
575
595
|
type: {
|
|
576
596
|
kind: types.Kind;
|
|
@@ -670,18 +690,18 @@ export declare const functionZ: z.ZodObject<{
|
|
|
670
690
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
671
691
|
}, z.core.$strip>;
|
|
672
692
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
673
|
-
}, z.core.$strip>>]
|
|
674
|
-
channels: z.
|
|
693
|
+
}, z.core.$strip>>]>;
|
|
694
|
+
channels: z.ZodObject<{
|
|
675
695
|
read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
|
|
676
696
|
write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
|
|
677
|
-
}, z.core.$strip
|
|
697
|
+
}, z.core.$strip>;
|
|
678
698
|
}, z.core.$strip>;
|
|
679
699
|
export interface Function extends z.infer<typeof functionZ> {
|
|
680
700
|
}
|
|
681
701
|
export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, 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
|
-
}[]
|
|
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
|
-
}[]
|
|
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
|
-
}[]
|
|
906
|
-
channels
|
|
925
|
+
}[];
|
|
926
|
+
channels: {
|
|
907
927
|
read: Record<number, string>;
|
|
908
928
|
write: Record<number, string>;
|
|
909
|
-
}
|
|
929
|
+
};
|
|
910
930
|
}[], null | undefined>>, z.ZodArray<z.ZodObject<{
|
|
911
931
|
key: z.ZodString;
|
|
912
932
|
type: z.ZodString;
|
|
913
|
-
config: z.
|
|
933
|
+
config: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
914
934
|
name: string;
|
|
915
935
|
type: {
|
|
916
936
|
kind: types.Kind;
|
|
@@ -1010,8 +1030,8 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
|
|
|
1010
1030
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
1011
1031
|
}, z.core.$strip>;
|
|
1012
1032
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1013
|
-
}, z.core.$strip>>]
|
|
1014
|
-
inputs: z.
|
|
1033
|
+
}, z.core.$strip>>]>;
|
|
1034
|
+
inputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
1015
1035
|
name: string;
|
|
1016
1036
|
type: {
|
|
1017
1037
|
kind: types.Kind;
|
|
@@ -1111,8 +1131,8 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
|
|
|
1111
1131
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
1112
1132
|
}, z.core.$strip>;
|
|
1113
1133
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1114
|
-
}, z.core.$strip>>]
|
|
1115
|
-
outputs: z.
|
|
1134
|
+
}, z.core.$strip>>]>;
|
|
1135
|
+
outputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
1116
1136
|
name: string;
|
|
1117
1137
|
type: {
|
|
1118
1138
|
kind: types.Kind;
|
|
@@ -1212,15 +1232,13 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
|
|
|
1212
1232
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
1213
1233
|
}, z.core.$strip>;
|
|
1214
1234
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1215
|
-
}, z.core.$strip>>]
|
|
1216
|
-
channels: z.
|
|
1235
|
+
}, z.core.$strip>>]>;
|
|
1236
|
+
channels: z.ZodObject<{
|
|
1217
1237
|
read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
|
|
1218
1238
|
write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
|
|
1219
|
-
}, z.core.$strip
|
|
1239
|
+
}, z.core.$strip>;
|
|
1220
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
1242
|
export declare const edgesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
1225
1243
|
source: {
|
|
1226
1244
|
node: string;
|
|
@@ -1230,7 +1248,7 @@ export declare const edgesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
|
|
|
1230
1248
|
node: string;
|
|
1231
1249
|
param: string;
|
|
1232
1250
|
};
|
|
1233
|
-
kind
|
|
1251
|
+
kind: EdgeKind;
|
|
1234
1252
|
}[], null | undefined>>, z.ZodArray<z.ZodObject<{
|
|
1235
1253
|
source: z.ZodObject<{
|
|
1236
1254
|
node: 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.
|
|
1261
|
+
kind: z.ZodEnum<typeof EdgeKind>;
|
|
1244
1262
|
}, z.core.$strip>>]>;
|
|
1245
1263
|
export type Edges = z.infer<typeof edgesZ>;
|
|
1246
1264
|
export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
1247
1265
|
key: string;
|
|
1248
|
-
|
|
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
|
-
}[]
|
|
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
|
-
}[]
|
|
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
|
-
}[]
|
|
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
1495
|
}[], null | undefined>>, 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.
|
|
1500
|
+
config: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
1483
1501
|
name: string;
|
|
1484
1502
|
type: {
|
|
1485
1503
|
kind: types.Kind;
|
|
@@ -1579,8 +1597,8 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
|
|
|
1579
1597
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
1580
1598
|
}, z.core.$strip>;
|
|
1581
1599
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1582
|
-
}, z.core.$strip>>]
|
|
1583
|
-
inputs: z.
|
|
1600
|
+
}, z.core.$strip>>]>;
|
|
1601
|
+
inputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
1584
1602
|
name: string;
|
|
1585
1603
|
type: {
|
|
1586
1604
|
kind: types.Kind;
|
|
@@ -1680,8 +1698,8 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
|
|
|
1680
1698
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
1681
1699
|
}, z.core.$strip>;
|
|
1682
1700
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1683
|
-
}, z.core.$strip>>]
|
|
1684
|
-
outputs: z.
|
|
1701
|
+
}, z.core.$strip>>]>;
|
|
1702
|
+
outputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
1685
1703
|
name: string;
|
|
1686
1704
|
type: {
|
|
1687
1705
|
kind: types.Kind;
|
|
@@ -1781,84 +1799,49 @@ export declare const functionsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<reado
|
|
|
1781
1799
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
1782
1800
|
}, z.core.$strip>;
|
|
1783
1801
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1784
|
-
}, z.core.$strip>>]
|
|
1785
|
-
channels: z.
|
|
1802
|
+
}, z.core.$strip>>]>;
|
|
1803
|
+
channels: z.ZodObject<{
|
|
1786
1804
|
read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
|
|
1787
1805
|
write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
|
|
1788
|
-
}, z.core.$strip
|
|
1806
|
+
}, z.core.$strip>;
|
|
1789
1807
|
}, z.core.$strip>>]>;
|
|
1790
1808
|
export type Functions = z.infer<typeof functionsZ>;
|
|
1791
1809
|
/**
|
|
1792
|
-
*
|
|
1793
|
-
*
|
|
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
|
|
1796
|
-
|
|
1797
|
-
|
|
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
|
-
*
|
|
1804
|
-
*
|
|
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
|
|
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<{
|
|
1826
|
+
export interface Scope {
|
|
1821
1827
|
key: string;
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
}
|
|
1829
|
-
export
|
|
1830
|
-
export declare const sequencesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
1831
|
-
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.
|
|
1842
|
+
functions: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
1857
1843
|
key: string;
|
|
1858
|
-
|
|
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
|
-
}[]
|
|
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
|
-
}[]
|
|
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
|
-
}[]
|
|
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
2073
|
}[], null | undefined>>, 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.
|
|
2078
|
+
config: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
2093
2079
|
name: string;
|
|
2094
2080
|
type: {
|
|
2095
2081
|
kind: types.Kind;
|
|
@@ -2189,8 +2175,8 @@ export declare const irZ: z.ZodObject<{
|
|
|
2189
2175
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
2190
2176
|
}, z.core.$strip>;
|
|
2191
2177
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
2192
|
-
}, z.core.$strip>>]
|
|
2193
|
-
inputs: z.
|
|
2178
|
+
}, z.core.$strip>>]>;
|
|
2179
|
+
inputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
2194
2180
|
name: string;
|
|
2195
2181
|
type: {
|
|
2196
2182
|
kind: types.Kind;
|
|
@@ -2290,8 +2276,8 @@ export declare const irZ: z.ZodObject<{
|
|
|
2290
2276
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
2291
2277
|
}, z.core.$strip>;
|
|
2292
2278
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
2293
|
-
}, z.core.$strip>>]
|
|
2294
|
-
outputs: z.
|
|
2279
|
+
}, z.core.$strip>>]>;
|
|
2280
|
+
outputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
2295
2281
|
name: string;
|
|
2296
2282
|
type: {
|
|
2297
2283
|
kind: types.Kind;
|
|
@@ -2391,16 +2377,16 @@ export declare const irZ: z.ZodObject<{
|
|
|
2391
2377
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
2392
2378
|
}, z.core.$strip>;
|
|
2393
2379
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
2394
|
-
}, z.core.$strip>>]
|
|
2395
|
-
channels: z.
|
|
2380
|
+
}, z.core.$strip>>]>;
|
|
2381
|
+
channels: z.ZodObject<{
|
|
2396
2382
|
read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
|
|
2397
2383
|
write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
|
|
2398
|
-
}, z.core.$strip
|
|
2399
|
-
}, z.core.$strip>>]
|
|
2400
|
-
nodes: z.
|
|
2384
|
+
}, z.core.$strip>;
|
|
2385
|
+
}, z.core.$strip>>]>;
|
|
2386
|
+
nodes: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, 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
|
-
}[]
|
|
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
|
-
}[]
|
|
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
|
-
}[]
|
|
2625
|
-
channels
|
|
2610
|
+
}[];
|
|
2611
|
+
channels: {
|
|
2626
2612
|
read: Record<number, string>;
|
|
2627
2613
|
write: Record<number, string>;
|
|
2628
|
-
}
|
|
2614
|
+
};
|
|
2629
2615
|
}[], null | undefined>>, z.ZodArray<z.ZodObject<{
|
|
2630
2616
|
key: z.ZodString;
|
|
2631
2617
|
type: z.ZodString;
|
|
2632
|
-
config: z.
|
|
2618
|
+
config: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
2633
2619
|
name: string;
|
|
2634
2620
|
type: {
|
|
2635
2621
|
kind: types.Kind;
|
|
@@ -2729,8 +2715,8 @@ export declare const irZ: z.ZodObject<{
|
|
|
2729
2715
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
2730
2716
|
}, z.core.$strip>;
|
|
2731
2717
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
2732
|
-
}, z.core.$strip>>]
|
|
2733
|
-
inputs: z.
|
|
2718
|
+
}, z.core.$strip>>]>;
|
|
2719
|
+
inputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
2734
2720
|
name: string;
|
|
2735
2721
|
type: {
|
|
2736
2722
|
kind: types.Kind;
|
|
@@ -2830,8 +2816,8 @@ export declare const irZ: z.ZodObject<{
|
|
|
2830
2816
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
2831
2817
|
}, z.core.$strip>;
|
|
2832
2818
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
2833
|
-
}, z.core.$strip>>]
|
|
2834
|
-
outputs: z.
|
|
2819
|
+
}, z.core.$strip>>]>;
|
|
2820
|
+
outputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
2835
2821
|
name: string;
|
|
2836
2822
|
type: {
|
|
2837
2823
|
kind: types.Kind;
|
|
@@ -2931,13 +2917,13 @@ export declare const irZ: z.ZodObject<{
|
|
|
2931
2917
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof types.ChanDirection>>;
|
|
2932
2918
|
}, z.core.$strip>;
|
|
2933
2919
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
2934
|
-
}, z.core.$strip>>]
|
|
2935
|
-
channels: z.
|
|
2920
|
+
}, z.core.$strip>>]>;
|
|
2921
|
+
channels: z.ZodObject<{
|
|
2936
2922
|
read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
|
|
2937
2923
|
write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
|
|
2938
|
-
}, z.core.$strip
|
|
2939
|
-
}, z.core.$strip>>]
|
|
2940
|
-
edges: z.
|
|
2924
|
+
}, z.core.$strip>;
|
|
2925
|
+
}, z.core.$strip>>]>;
|
|
2926
|
+
edges: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
|
|
2941
2927
|
source: {
|
|
2942
2928
|
node: string;
|
|
2943
2929
|
param: string;
|
|
@@ -2946,7 +2932,7 @@ export declare const irZ: z.ZodObject<{
|
|
|
2946
2932
|
node: string;
|
|
2947
2933
|
param: string;
|
|
2948
2934
|
};
|
|
2949
|
-
kind
|
|
2935
|
+
kind: EdgeKind;
|
|
2950
2936
|
}[], null | undefined>>, z.ZodArray<z.ZodObject<{
|
|
2951
2937
|
source: z.ZodObject<{
|
|
2952
2938
|
node: 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.
|
|
2960
|
-
}, z.core.$strip>>]
|
|
2961
|
-
|
|
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>>]>;
|
|
2980
|
-
}, z.core.$strip>>]>>;
|
|
2981
|
-
authorities: z.ZodOptional<z.ZodObject<{
|
|
2945
|
+
kind: z.ZodEnum<typeof EdgeKind>;
|
|
2946
|
+
}, z.core.$strip>>]>;
|
|
2947
|
+
authorities: z.ZodObject<{
|
|
2982
2948
|
default: z.ZodOptional<z.ZodInt>;
|
|
2983
|
-
channels: z.
|
|
2984
|
-
}, z.core.$strip
|
|
2949
|
+
channels: z.ZodRecord<z.ZodUInt32, z.ZodInt>;
|
|
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.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<Member[], null | undefined>>, 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
|