@almadar/core 10.77.0 → 10.79.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/dist/builders.d.ts +8 -3
- package/dist/builders.js +31 -6
- package/dist/builders.js.map +1 -1
- package/dist/{effect-BHaHSAvM.d.ts → effect-Mx_niZdY.d.ts} +62 -21
- package/dist/{entityAccess-CqqGrG-7.d.ts → entityAccess-C3_cjLNi.d.ts} +1 -1
- package/dist/factory/index.d.ts +41 -5
- package/dist/factory/index.js +52615 -1
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +31 -6
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/{index-B8ZQ8lo5.d.ts → index-B1N3gjT0.d.ts} +4 -4
- package/dist/index.d.ts +11 -11
- package/dist/index.js +4792 -749
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/mock/index.js +27 -4
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +14 -1
- package/dist/patterns/index.d.ts +8460 -898
- package/dist/patterns/index.js +4140 -612
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +3966 -455
- package/dist/patterns/registry.json +3966 -455
- package/dist/{schema-Czlrw3bA.d.ts → schema-CkTuSx6F.d.ts} +5971 -5622
- package/dist/{trait-DCmf5iRN.d.ts → trait-B1fI0lTU.d.ts} +686 -568
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +29 -5
- package/dist/types/index.js.map +1 -1
- package/dist/{types-Cb51Jqxe.d.ts → types-B53Myv7U.d.ts} +41 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as EventId, c as Effect, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, A as AnyPatternConfig, e as Entity, E as EntityField } from './effect-
|
|
1
|
+
import { b as EventId, c as Effect, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, A as AnyPatternConfig, e as Entity, E as EntityField } from './effect-Mx_niZdY.js';
|
|
2
2
|
import { E as Expression, S as SExpr, J as JsonValue } from './expression-Fk8bQWef.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
@@ -33,16 +33,16 @@ declare const StateSchema: z.ZodObject<{
|
|
|
33
33
|
name: string;
|
|
34
34
|
description?: string | undefined;
|
|
35
35
|
isInitial?: boolean | undefined;
|
|
36
|
-
isTerminal?: boolean | undefined;
|
|
37
36
|
isFinal?: boolean | undefined;
|
|
37
|
+
isTerminal?: boolean | undefined;
|
|
38
38
|
onEntry?: string[] | undefined;
|
|
39
39
|
onExit?: string[] | undefined;
|
|
40
40
|
}, {
|
|
41
41
|
name: string;
|
|
42
42
|
description?: string | undefined;
|
|
43
43
|
isInitial?: boolean | undefined;
|
|
44
|
-
isTerminal?: boolean | undefined;
|
|
45
44
|
isFinal?: boolean | undefined;
|
|
45
|
+
isTerminal?: boolean | undefined;
|
|
46
46
|
onEntry?: string[] | undefined;
|
|
47
47
|
onExit?: string[] | undefined;
|
|
48
48
|
}>;
|
|
@@ -194,17 +194,17 @@ declare const TransitionSchema: z.ZodObject<{
|
|
|
194
194
|
from: string;
|
|
195
195
|
to: string;
|
|
196
196
|
description?: string | null | undefined;
|
|
197
|
-
eventId?: EventId | undefined;
|
|
198
197
|
guard?: SExpr | undefined;
|
|
199
198
|
effects?: SExpr[][] | undefined;
|
|
199
|
+
eventId?: EventId | undefined;
|
|
200
200
|
}, {
|
|
201
201
|
event: string;
|
|
202
202
|
from: string;
|
|
203
203
|
to: string;
|
|
204
204
|
description?: string | null | undefined;
|
|
205
|
-
eventId?: string | undefined;
|
|
206
205
|
guard?: SExpr | undefined;
|
|
207
206
|
effects?: SExpr[][] | undefined;
|
|
207
|
+
eventId?: string | undefined;
|
|
208
208
|
}>;
|
|
209
209
|
/**
|
|
210
210
|
* Complete state machine definition
|
|
@@ -232,16 +232,16 @@ declare const StateMachineSchema: z.ZodObject<{
|
|
|
232
232
|
name: string;
|
|
233
233
|
description?: string | undefined;
|
|
234
234
|
isInitial?: boolean | undefined;
|
|
235
|
-
isTerminal?: boolean | undefined;
|
|
236
235
|
isFinal?: boolean | undefined;
|
|
236
|
+
isTerminal?: boolean | undefined;
|
|
237
237
|
onEntry?: string[] | undefined;
|
|
238
238
|
onExit?: string[] | undefined;
|
|
239
239
|
}, {
|
|
240
240
|
name: string;
|
|
241
241
|
description?: string | undefined;
|
|
242
242
|
isInitial?: boolean | undefined;
|
|
243
|
-
isTerminal?: boolean | undefined;
|
|
244
243
|
isFinal?: boolean | undefined;
|
|
244
|
+
isTerminal?: boolean | undefined;
|
|
245
245
|
onEntry?: string[] | undefined;
|
|
246
246
|
onExit?: string[] | undefined;
|
|
247
247
|
}>, "many">;
|
|
@@ -289,17 +289,17 @@ declare const StateMachineSchema: z.ZodObject<{
|
|
|
289
289
|
from: string;
|
|
290
290
|
to: string;
|
|
291
291
|
description?: string | null | undefined;
|
|
292
|
-
eventId?: EventId | undefined;
|
|
293
292
|
guard?: SExpr | undefined;
|
|
294
293
|
effects?: SExpr[][] | undefined;
|
|
294
|
+
eventId?: EventId | undefined;
|
|
295
295
|
}, {
|
|
296
296
|
event: string;
|
|
297
297
|
from: string;
|
|
298
298
|
to: string;
|
|
299
299
|
description?: string | null | undefined;
|
|
300
|
-
eventId?: string | undefined;
|
|
301
300
|
guard?: SExpr | undefined;
|
|
302
301
|
effects?: SExpr[][] | undefined;
|
|
302
|
+
eventId?: string | undefined;
|
|
303
303
|
}>, "many">;
|
|
304
304
|
guards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
305
305
|
name: z.ZodString;
|
|
@@ -315,23 +315,12 @@ declare const StateMachineSchema: z.ZodObject<{
|
|
|
315
315
|
description?: string | undefined;
|
|
316
316
|
}>, "many">>;
|
|
317
317
|
}, "strip", z.ZodTypeAny, {
|
|
318
|
-
events: {
|
|
319
|
-
name: string;
|
|
320
|
-
key: string;
|
|
321
|
-
id?: EventId | undefined;
|
|
322
|
-
description?: string | undefined;
|
|
323
|
-
synonyms?: string | undefined;
|
|
324
|
-
tier?: string | undefined;
|
|
325
|
-
payloadSchema?: PayloadField[] | undefined;
|
|
326
|
-
classification?: "domain" | "system" | undefined;
|
|
327
|
-
semanticRole?: string | undefined;
|
|
328
|
-
}[];
|
|
329
318
|
states: {
|
|
330
319
|
name: string;
|
|
331
320
|
description?: string | undefined;
|
|
332
321
|
isInitial?: boolean | undefined;
|
|
333
|
-
isTerminal?: boolean | undefined;
|
|
334
322
|
isFinal?: boolean | undefined;
|
|
323
|
+
isTerminal?: boolean | undefined;
|
|
335
324
|
onEntry?: string[] | undefined;
|
|
336
325
|
onExit?: string[] | undefined;
|
|
337
326
|
}[];
|
|
@@ -340,20 +329,14 @@ declare const StateMachineSchema: z.ZodObject<{
|
|
|
340
329
|
from: string;
|
|
341
330
|
to: string;
|
|
342
331
|
description?: string | null | undefined;
|
|
343
|
-
eventId?: EventId | undefined;
|
|
344
332
|
guard?: SExpr | undefined;
|
|
345
333
|
effects?: SExpr[][] | undefined;
|
|
334
|
+
eventId?: EventId | undefined;
|
|
346
335
|
}[];
|
|
347
|
-
guards?: {
|
|
348
|
-
name: string;
|
|
349
|
-
expression: SExpr;
|
|
350
|
-
description?: string | undefined;
|
|
351
|
-
}[] | undefined;
|
|
352
|
-
}, {
|
|
353
336
|
events: {
|
|
354
337
|
name: string;
|
|
355
338
|
key: string;
|
|
356
|
-
id?:
|
|
339
|
+
id?: EventId | undefined;
|
|
357
340
|
description?: string | undefined;
|
|
358
341
|
synonyms?: string | undefined;
|
|
359
342
|
tier?: string | undefined;
|
|
@@ -361,12 +344,18 @@ declare const StateMachineSchema: z.ZodObject<{
|
|
|
361
344
|
classification?: "domain" | "system" | undefined;
|
|
362
345
|
semanticRole?: string | undefined;
|
|
363
346
|
}[];
|
|
347
|
+
guards?: {
|
|
348
|
+
name: string;
|
|
349
|
+
expression: SExpr;
|
|
350
|
+
description?: string | undefined;
|
|
351
|
+
}[] | undefined;
|
|
352
|
+
}, {
|
|
364
353
|
states: {
|
|
365
354
|
name: string;
|
|
366
355
|
description?: string | undefined;
|
|
367
356
|
isInitial?: boolean | undefined;
|
|
368
|
-
isTerminal?: boolean | undefined;
|
|
369
357
|
isFinal?: boolean | undefined;
|
|
358
|
+
isTerminal?: boolean | undefined;
|
|
370
359
|
onEntry?: string[] | undefined;
|
|
371
360
|
onExit?: string[] | undefined;
|
|
372
361
|
}[];
|
|
@@ -375,9 +364,20 @@ declare const StateMachineSchema: z.ZodObject<{
|
|
|
375
364
|
from: string;
|
|
376
365
|
to: string;
|
|
377
366
|
description?: string | null | undefined;
|
|
378
|
-
eventId?: string | undefined;
|
|
379
367
|
guard?: SExpr | undefined;
|
|
380
368
|
effects?: SExpr[][] | undefined;
|
|
369
|
+
eventId?: string | undefined;
|
|
370
|
+
}[];
|
|
371
|
+
events: {
|
|
372
|
+
name: string;
|
|
373
|
+
key: string;
|
|
374
|
+
id?: string | undefined;
|
|
375
|
+
description?: string | undefined;
|
|
376
|
+
synonyms?: string | undefined;
|
|
377
|
+
tier?: string | undefined;
|
|
378
|
+
payloadSchema?: PayloadField[] | undefined;
|
|
379
|
+
classification?: "domain" | "system" | undefined;
|
|
380
|
+
semanticRole?: string | undefined;
|
|
381
381
|
}[];
|
|
382
382
|
guards?: {
|
|
383
383
|
name: string;
|
|
@@ -568,7 +568,7 @@ declare const TraitCategorySchema: z.ZodEnum<["lifecycle", "temporal", "validati
|
|
|
568
568
|
/**
|
|
569
569
|
* Field types for trait data entities
|
|
570
570
|
*/
|
|
571
|
-
type TraitFieldType = 'string' | 'number' | 'boolean' | 'date' | 'array' | 'object' | 'timestamp' | 'datetime' | 'enum' | 'email' | 'url' | 'phone' | 'uuid' | 'image' | 'trait' | 'slot' | 'pattern' | 'node' | 'event';
|
|
571
|
+
type TraitFieldType = 'string' | 'number' | 'boolean' | 'date' | 'array' | 'object' | 'timestamp' | 'datetime' | 'enum' | 'email' | 'url' | 'phone' | 'uuid' | 'image' | 'trait' | 'slot' | 'pattern' | 'node' | 'event' | 'scalar' | 'union' | 'opaque';
|
|
572
572
|
/**
|
|
573
573
|
* Simplified field for trait data entities
|
|
574
574
|
*/
|
|
@@ -684,11 +684,11 @@ declare const TraitTickSchema: z.ZodObject<{
|
|
|
684
684
|
interval: string | number;
|
|
685
685
|
description?: string | undefined;
|
|
686
686
|
pages?: string[] | undefined;
|
|
687
|
-
|
|
687
|
+
emits?: string[] | undefined;
|
|
688
688
|
guard?: SExpr | undefined;
|
|
689
|
+
priority?: number | undefined;
|
|
689
690
|
appliesTo?: string[] | undefined;
|
|
690
691
|
pageIds?: PageId[] | undefined;
|
|
691
|
-
emits?: string[] | undefined;
|
|
692
692
|
emitIds?: EventId[] | undefined;
|
|
693
693
|
}, {
|
|
694
694
|
name: string;
|
|
@@ -696,11 +696,11 @@ declare const TraitTickSchema: z.ZodObject<{
|
|
|
696
696
|
interval: string | number;
|
|
697
697
|
description?: string | undefined;
|
|
698
698
|
pages?: string[] | undefined;
|
|
699
|
-
|
|
699
|
+
emits?: string[] | undefined;
|
|
700
700
|
guard?: SExpr | undefined;
|
|
701
|
+
priority?: number | undefined;
|
|
701
702
|
appliesTo?: string[] | undefined;
|
|
702
703
|
pageIds?: string[] | undefined;
|
|
703
|
-
emits?: string[] | undefined;
|
|
704
704
|
emitIds?: string[] | undefined;
|
|
705
705
|
}>;
|
|
706
706
|
/**
|
|
@@ -755,6 +755,27 @@ type TraitEventContract = {
|
|
|
755
755
|
synonyms?: string;
|
|
756
756
|
/** Authoring tier (`essential`/`customization`/`advanced`/`internal`). */
|
|
757
757
|
tier?: string;
|
|
758
|
+
/**
|
|
759
|
+
* The config knob whose value DEFINES this event's name, when the emit was
|
|
760
|
+
* authored as `emits { @config.<knob> }`. Captured at L1, where the
|
|
761
|
+
* `@config.X` spelling still exists — after inlining, `event` holds the
|
|
762
|
+
* resolved literal and the fact that it came from a knob is otherwise
|
|
763
|
+
* unrecoverable.
|
|
764
|
+
*
|
|
765
|
+
* A definer knob CREATES an event name rather than referencing one, which
|
|
766
|
+
* is why consumers must not pin such a knob to the trait's existing event
|
|
767
|
+
* vocabulary: doing so forbids the very name it exists to introduce.
|
|
768
|
+
*/
|
|
769
|
+
definerKnob?: string;
|
|
770
|
+
/**
|
|
771
|
+
* `true` when `scope` was set by a CALL-SITE `emitsScope` override (the
|
|
772
|
+
* inline phase applies it), not by the source atom's own `-> external`
|
|
773
|
+
* declaration. An atom declaring its emits external is an unexamined
|
|
774
|
+
* default (nearly every atom does), while a composition restating it is
|
|
775
|
+
* the consumer's own deferral — the dead-control check honours it as an
|
|
776
|
+
* exemption. See ORB-X-EXTERNAL-EMIT-EXEMPTION.
|
|
777
|
+
*/
|
|
778
|
+
scopeOverridden?: boolean;
|
|
758
779
|
/** Payload schema — declarative type info for the event's payload.
|
|
759
780
|
* Distinct from the runtime payload value (`@payload.X` bindings,
|
|
760
781
|
* `EventPayload`) which is a separate concept. */
|
|
@@ -809,6 +830,8 @@ declare const TraitEventContractSchema: z.ZodObject<{
|
|
|
809
830
|
description: z.ZodOptional<z.ZodString>;
|
|
810
831
|
synonyms: z.ZodOptional<z.ZodString>;
|
|
811
832
|
tier: z.ZodOptional<z.ZodString>;
|
|
833
|
+
definerKnob: z.ZodOptional<z.ZodString>;
|
|
834
|
+
scopeOverridden: z.ZodOptional<z.ZodBoolean>;
|
|
812
835
|
payloadSchema: z.ZodOptional<z.ZodArray<z.ZodType<EventPayloadField, z.ZodTypeDef, EventPayloadField>, "many">>;
|
|
813
836
|
scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
|
|
814
837
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -819,6 +842,8 @@ declare const TraitEventContractSchema: z.ZodObject<{
|
|
|
819
842
|
scope?: "internal" | "external" | undefined;
|
|
820
843
|
tier?: string | undefined;
|
|
821
844
|
payloadSchema?: EventPayloadField[] | undefined;
|
|
845
|
+
definerKnob?: string | undefined;
|
|
846
|
+
scopeOverridden?: boolean | undefined;
|
|
822
847
|
}, {
|
|
823
848
|
event: string;
|
|
824
849
|
description?: string | undefined;
|
|
@@ -827,6 +852,8 @@ declare const TraitEventContractSchema: z.ZodObject<{
|
|
|
827
852
|
scope?: "internal" | "external" | undefined;
|
|
828
853
|
tier?: string | undefined;
|
|
829
854
|
payloadSchema?: EventPayloadField[] | undefined;
|
|
855
|
+
definerKnob?: string | undefined;
|
|
856
|
+
scopeOverridden?: boolean | undefined;
|
|
830
857
|
}>;
|
|
831
858
|
/**
|
|
832
859
|
* Event listener for trait communication.
|
|
@@ -1001,10 +1028,10 @@ declare const TraitEventListenerSchema: z.ZodObject<{
|
|
|
1001
1028
|
traitId?: TraitId | undefined;
|
|
1002
1029
|
orbitalId?: OrbitalId | undefined;
|
|
1003
1030
|
} | undefined;
|
|
1031
|
+
guard?: SExpr | undefined;
|
|
1004
1032
|
eventId?: EventId | undefined;
|
|
1005
1033
|
scope?: "internal" | "external" | undefined;
|
|
1006
1034
|
tier?: string | undefined;
|
|
1007
|
-
guard?: SExpr | undefined;
|
|
1008
1035
|
triggersId?: EventId | undefined;
|
|
1009
1036
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
1010
1037
|
}, {
|
|
@@ -1025,10 +1052,10 @@ declare const TraitEventListenerSchema: z.ZodObject<{
|
|
|
1025
1052
|
traitId?: string | undefined;
|
|
1026
1053
|
orbitalId?: string | undefined;
|
|
1027
1054
|
} | undefined;
|
|
1055
|
+
guard?: SExpr | undefined;
|
|
1028
1056
|
eventId?: string | undefined;
|
|
1029
1057
|
scope?: "internal" | "external" | undefined;
|
|
1030
1058
|
tier?: string | undefined;
|
|
1031
|
-
guard?: SExpr | undefined;
|
|
1032
1059
|
triggersId?: string | undefined;
|
|
1033
1060
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
1034
1061
|
}>;
|
|
@@ -1088,6 +1115,15 @@ type TraitReference = {
|
|
|
1088
1115
|
name?: string;
|
|
1089
1116
|
/** Phase F: rename atom event keys at the call site, e.g. {OPEN: "ADD_ITEM"} */
|
|
1090
1117
|
events?: Record<string, string>;
|
|
1118
|
+
/**
|
|
1119
|
+
* 3-II trait type-parameter arguments (`:: p SomeType` in `.lolo`):
|
|
1120
|
+
* declared-param name → type-vocabulary name (an entity, a primitive incl.
|
|
1121
|
+
* `scalar`, or a struct alias from the AUTHORING file's `types` map).
|
|
1122
|
+
* Present on pre-inline registry references only — the inline phase
|
|
1123
|
+
* consumes it while resolving `$<name>` payload sentinels and it never
|
|
1124
|
+
* appears in a final composed `.orb`.
|
|
1125
|
+
*/
|
|
1126
|
+
typeArgs?: Record<string, string>;
|
|
1091
1127
|
/** V4 dual-carry id sibling of `events` (keys = baked event names resolved to ids) — optional until the Phase-7 flip. */
|
|
1092
1128
|
eventIds?: Record<string, EventId>;
|
|
1093
1129
|
/**
|
|
@@ -1161,6 +1197,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1161
1197
|
name: z.ZodOptional<z.ZodString>;
|
|
1162
1198
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1163
1199
|
eventIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, EventId, string>>>;
|
|
1200
|
+
typeArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1164
1201
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1165
1202
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodType<ConfigFieldDeclaration, z.ZodTypeDef, ConfigFieldDeclaration>, z.ZodType<TraitConfigValue, z.ZodTypeDef, TraitConfigValue>]>>>;
|
|
1166
1203
|
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1230,10 +1267,10 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1230
1267
|
traitId?: TraitId | undefined;
|
|
1231
1268
|
orbitalId?: OrbitalId | undefined;
|
|
1232
1269
|
} | undefined;
|
|
1270
|
+
guard?: SExpr | undefined;
|
|
1233
1271
|
eventId?: EventId | undefined;
|
|
1234
1272
|
scope?: "internal" | "external" | undefined;
|
|
1235
1273
|
tier?: string | undefined;
|
|
1236
|
-
guard?: SExpr | undefined;
|
|
1237
1274
|
triggersId?: EventId | undefined;
|
|
1238
1275
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
1239
1276
|
}, {
|
|
@@ -1254,10 +1291,10 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1254
1291
|
traitId?: string | undefined;
|
|
1255
1292
|
orbitalId?: string | undefined;
|
|
1256
1293
|
} | undefined;
|
|
1294
|
+
guard?: SExpr | undefined;
|
|
1257
1295
|
eventId?: string | undefined;
|
|
1258
1296
|
scope?: "internal" | "external" | undefined;
|
|
1259
1297
|
tier?: string | undefined;
|
|
1260
|
-
guard?: SExpr | undefined;
|
|
1261
1298
|
triggersId?: string | undefined;
|
|
1262
1299
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
1263
1300
|
}>, "many">>;
|
|
@@ -1270,13 +1307,6 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1270
1307
|
name?: string | undefined;
|
|
1271
1308
|
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
1272
1309
|
fields?: Record<string, string> | undefined;
|
|
1273
|
-
events?: Record<string, string> | undefined;
|
|
1274
|
-
effects?: Record<string, SExpr[]> | undefined;
|
|
1275
|
-
refId?: TraitId | undefined;
|
|
1276
|
-
appliesTo?: string[] | undefined;
|
|
1277
|
-
linkedEntity?: string | undefined;
|
|
1278
|
-
linkedEntityId?: EntityId | undefined;
|
|
1279
|
-
eventIds?: Record<string, EventId> | undefined;
|
|
1280
1310
|
listens?: {
|
|
1281
1311
|
event: string;
|
|
1282
1312
|
triggers: string;
|
|
@@ -1295,13 +1325,21 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1295
1325
|
traitId?: TraitId | undefined;
|
|
1296
1326
|
orbitalId?: OrbitalId | undefined;
|
|
1297
1327
|
} | undefined;
|
|
1328
|
+
guard?: SExpr | undefined;
|
|
1298
1329
|
eventId?: EventId | undefined;
|
|
1299
1330
|
scope?: "internal" | "external" | undefined;
|
|
1300
1331
|
tier?: string | undefined;
|
|
1301
|
-
guard?: SExpr | undefined;
|
|
1302
1332
|
triggersId?: EventId | undefined;
|
|
1303
1333
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
1304
1334
|
}[] | undefined;
|
|
1335
|
+
effects?: Record<string, SExpr[]> | undefined;
|
|
1336
|
+
linkedEntity?: string | undefined;
|
|
1337
|
+
events?: Record<string, string> | undefined;
|
|
1338
|
+
refId?: TraitId | undefined;
|
|
1339
|
+
appliesTo?: string[] | undefined;
|
|
1340
|
+
linkedEntityId?: EntityId | undefined;
|
|
1341
|
+
eventIds?: Record<string, EventId> | undefined;
|
|
1342
|
+
typeArgs?: Record<string, string> | undefined;
|
|
1305
1343
|
emitsScope?: "internal" | "external" | undefined;
|
|
1306
1344
|
}, {
|
|
1307
1345
|
ref: string;
|
|
@@ -1310,13 +1348,6 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1310
1348
|
name?: string | undefined;
|
|
1311
1349
|
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
1312
1350
|
fields?: Record<string, string> | undefined;
|
|
1313
|
-
events?: Record<string, string> | undefined;
|
|
1314
|
-
effects?: Record<string, SExpr[]> | undefined;
|
|
1315
|
-
refId?: string | undefined;
|
|
1316
|
-
appliesTo?: string[] | undefined;
|
|
1317
|
-
linkedEntity?: string | undefined;
|
|
1318
|
-
linkedEntityId?: string | undefined;
|
|
1319
|
-
eventIds?: Record<string, string> | undefined;
|
|
1320
1351
|
listens?: {
|
|
1321
1352
|
event: string;
|
|
1322
1353
|
triggers: string;
|
|
@@ -1335,13 +1366,21 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1335
1366
|
traitId?: string | undefined;
|
|
1336
1367
|
orbitalId?: string | undefined;
|
|
1337
1368
|
} | undefined;
|
|
1369
|
+
guard?: SExpr | undefined;
|
|
1338
1370
|
eventId?: string | undefined;
|
|
1339
1371
|
scope?: "internal" | "external" | undefined;
|
|
1340
1372
|
tier?: string | undefined;
|
|
1341
|
-
guard?: SExpr | undefined;
|
|
1342
1373
|
triggersId?: string | undefined;
|
|
1343
1374
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
1344
1375
|
}[] | undefined;
|
|
1376
|
+
effects?: Record<string, SExpr[]> | undefined;
|
|
1377
|
+
linkedEntity?: string | undefined;
|
|
1378
|
+
events?: Record<string, string> | undefined;
|
|
1379
|
+
refId?: string | undefined;
|
|
1380
|
+
appliesTo?: string[] | undefined;
|
|
1381
|
+
linkedEntityId?: string | undefined;
|
|
1382
|
+
eventIds?: Record<string, string> | undefined;
|
|
1383
|
+
typeArgs?: Record<string, string> | undefined;
|
|
1345
1384
|
emitsScope?: "internal" | "external" | undefined;
|
|
1346
1385
|
}>, {
|
|
1347
1386
|
ref: string;
|
|
@@ -1350,13 +1389,6 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1350
1389
|
name?: string | undefined;
|
|
1351
1390
|
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
1352
1391
|
fields?: Record<string, string> | undefined;
|
|
1353
|
-
events?: Record<string, string> | undefined;
|
|
1354
|
-
effects?: Record<string, SExpr[]> | undefined;
|
|
1355
|
-
refId?: TraitId | undefined;
|
|
1356
|
-
appliesTo?: string[] | undefined;
|
|
1357
|
-
linkedEntity?: string | undefined;
|
|
1358
|
-
linkedEntityId?: EntityId | undefined;
|
|
1359
|
-
eventIds?: Record<string, EventId> | undefined;
|
|
1360
1392
|
listens?: {
|
|
1361
1393
|
event: string;
|
|
1362
1394
|
triggers: string;
|
|
@@ -1375,13 +1407,21 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1375
1407
|
traitId?: TraitId | undefined;
|
|
1376
1408
|
orbitalId?: OrbitalId | undefined;
|
|
1377
1409
|
} | undefined;
|
|
1410
|
+
guard?: SExpr | undefined;
|
|
1378
1411
|
eventId?: EventId | undefined;
|
|
1379
1412
|
scope?: "internal" | "external" | undefined;
|
|
1380
1413
|
tier?: string | undefined;
|
|
1381
|
-
guard?: SExpr | undefined;
|
|
1382
1414
|
triggersId?: EventId | undefined;
|
|
1383
1415
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
1384
1416
|
}[] | undefined;
|
|
1417
|
+
effects?: Record<string, SExpr[]> | undefined;
|
|
1418
|
+
linkedEntity?: string | undefined;
|
|
1419
|
+
events?: Record<string, string> | undefined;
|
|
1420
|
+
refId?: TraitId | undefined;
|
|
1421
|
+
appliesTo?: string[] | undefined;
|
|
1422
|
+
linkedEntityId?: EntityId | undefined;
|
|
1423
|
+
eventIds?: Record<string, EventId> | undefined;
|
|
1424
|
+
typeArgs?: Record<string, string> | undefined;
|
|
1385
1425
|
emitsScope?: "internal" | "external" | undefined;
|
|
1386
1426
|
}, {
|
|
1387
1427
|
ref: string;
|
|
@@ -1390,13 +1430,6 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1390
1430
|
name?: string | undefined;
|
|
1391
1431
|
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
1392
1432
|
fields?: Record<string, string> | undefined;
|
|
1393
|
-
events?: Record<string, string> | undefined;
|
|
1394
|
-
effects?: Record<string, SExpr[]> | undefined;
|
|
1395
|
-
refId?: string | undefined;
|
|
1396
|
-
appliesTo?: string[] | undefined;
|
|
1397
|
-
linkedEntity?: string | undefined;
|
|
1398
|
-
linkedEntityId?: string | undefined;
|
|
1399
|
-
eventIds?: Record<string, string> | undefined;
|
|
1400
1433
|
listens?: {
|
|
1401
1434
|
event: string;
|
|
1402
1435
|
triggers: string;
|
|
@@ -1415,13 +1448,21 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1415
1448
|
traitId?: string | undefined;
|
|
1416
1449
|
orbitalId?: string | undefined;
|
|
1417
1450
|
} | undefined;
|
|
1451
|
+
guard?: SExpr | undefined;
|
|
1418
1452
|
eventId?: string | undefined;
|
|
1419
1453
|
scope?: "internal" | "external" | undefined;
|
|
1420
1454
|
tier?: string | undefined;
|
|
1421
|
-
guard?: SExpr | undefined;
|
|
1422
1455
|
triggersId?: string | undefined;
|
|
1423
1456
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
1424
1457
|
}[] | undefined;
|
|
1458
|
+
effects?: Record<string, SExpr[]> | undefined;
|
|
1459
|
+
linkedEntity?: string | undefined;
|
|
1460
|
+
events?: Record<string, string> | undefined;
|
|
1461
|
+
refId?: string | undefined;
|
|
1462
|
+
appliesTo?: string[] | undefined;
|
|
1463
|
+
linkedEntityId?: string | undefined;
|
|
1464
|
+
eventIds?: Record<string, string> | undefined;
|
|
1465
|
+
typeArgs?: Record<string, string> | undefined;
|
|
1425
1466
|
emitsScope?: "internal" | "external" | undefined;
|
|
1426
1467
|
}>;
|
|
1427
1468
|
/**
|
|
@@ -1479,8 +1520,8 @@ declare const TraitUIBindingSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
1479
1520
|
width?: string | undefined;
|
|
1480
1521
|
title?: string | undefined;
|
|
1481
1522
|
totalSteps?: number | undefined;
|
|
1482
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
1483
1523
|
step?: number | undefined;
|
|
1524
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
1484
1525
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
1485
1526
|
showProgress?: boolean | undefined;
|
|
1486
1527
|
closable?: boolean | undefined;
|
|
@@ -1488,8 +1529,8 @@ declare const TraitUIBindingSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
1488
1529
|
width?: string | undefined;
|
|
1489
1530
|
title?: string | undefined;
|
|
1490
1531
|
totalSteps?: number | undefined;
|
|
1491
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
1492
1532
|
step?: number | undefined;
|
|
1533
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
1493
1534
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
1494
1535
|
showProgress?: boolean | undefined;
|
|
1495
1536
|
closable?: boolean | undefined;
|
|
@@ -1501,8 +1542,8 @@ declare const TraitUIBindingSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
1501
1542
|
width?: string | undefined;
|
|
1502
1543
|
title?: string | undefined;
|
|
1503
1544
|
totalSteps?: number | undefined;
|
|
1504
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
1505
1545
|
step?: number | undefined;
|
|
1546
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
1506
1547
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
1507
1548
|
showProgress?: boolean | undefined;
|
|
1508
1549
|
closable?: boolean | undefined;
|
|
@@ -1514,8 +1555,8 @@ declare const TraitUIBindingSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
1514
1555
|
width?: string | undefined;
|
|
1515
1556
|
title?: string | undefined;
|
|
1516
1557
|
totalSteps?: number | undefined;
|
|
1517
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
1518
1558
|
step?: number | undefined;
|
|
1559
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
1519
1560
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
1520
1561
|
showProgress?: boolean | undefined;
|
|
1521
1562
|
closable?: boolean | undefined;
|
|
@@ -1679,6 +1720,12 @@ type Trait = {
|
|
|
1679
1720
|
* `linkedEntity` without re-walking the import graph at runtime.
|
|
1680
1721
|
*/
|
|
1681
1722
|
sourceEntityDefinition?: Entity;
|
|
1723
|
+
/**
|
|
1724
|
+
* Increment 3-II: this trait's own declared type parameters. Present
|
|
1725
|
+
* only on an atom's DECLARING inline trait (never authored on a
|
|
1726
|
+
* reference); survives cloning into a consumer's composed schema.
|
|
1727
|
+
*/
|
|
1728
|
+
typeParams?: TraitTypeParamDef[];
|
|
1682
1729
|
};
|
|
1683
1730
|
/**
|
|
1684
1731
|
* Provenance attached to a trait that was cloned from a `uses[]` import
|
|
@@ -1696,6 +1743,28 @@ type SourceBehaviorMetadata = {
|
|
|
1696
1743
|
* call-site `name:` rename. */
|
|
1697
1744
|
originalName: string;
|
|
1698
1745
|
};
|
|
1746
|
+
/**
|
|
1747
|
+
* One trait-level type parameter — `(V : Type, R : Type)` in
|
|
1748
|
+
* `trait Name (V : Type, R : Type) -> Entity { ... }`. Present only on an
|
|
1749
|
+
* atom's DECLARING inline trait; survives cloning into a consumer's composed
|
|
1750
|
+
* schema so the inline phase can read each param's `kind` when resolving a
|
|
1751
|
+
* surviving `"$<name>"` payload sentinel. `kind` is one of the six alias
|
|
1752
|
+
* type-parameter kind names (`Type`, `Entity`, `Trait`, `Page`, `Orbital`,
|
|
1753
|
+
* `Event`) — in practice `Type` and `Entity` are the two meaningful kinds
|
|
1754
|
+
* for a trait param today.
|
|
1755
|
+
*/
|
|
1756
|
+
type TraitTypeParamDef = {
|
|
1757
|
+
name: string;
|
|
1758
|
+
kind: string;
|
|
1759
|
+
/**
|
|
1760
|
+
* Declaration default (`(r : Type = <name>)`) — a primitive name (incl.
|
|
1761
|
+
* `scalar`), an entity name, or a struct-alias name, all resolved in
|
|
1762
|
+
* the atom's own file. Consulted only when no call-site `::` arg was
|
|
1763
|
+
* supplied (and, for Entity-kind, only when `linkedEntity` also gave no
|
|
1764
|
+
* default).
|
|
1765
|
+
*/
|
|
1766
|
+
default?: string;
|
|
1767
|
+
};
|
|
1699
1768
|
declare const TraitSchema: z.ZodObject<{
|
|
1700
1769
|
id: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
|
|
1701
1770
|
name: z.ZodString;
|
|
@@ -1775,16 +1844,16 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1775
1844
|
name: string;
|
|
1776
1845
|
description?: string | undefined;
|
|
1777
1846
|
isInitial?: boolean | undefined;
|
|
1778
|
-
isTerminal?: boolean | undefined;
|
|
1779
1847
|
isFinal?: boolean | undefined;
|
|
1848
|
+
isTerminal?: boolean | undefined;
|
|
1780
1849
|
onEntry?: string[] | undefined;
|
|
1781
1850
|
onExit?: string[] | undefined;
|
|
1782
1851
|
}, {
|
|
1783
1852
|
name: string;
|
|
1784
1853
|
description?: string | undefined;
|
|
1785
1854
|
isInitial?: boolean | undefined;
|
|
1786
|
-
isTerminal?: boolean | undefined;
|
|
1787
1855
|
isFinal?: boolean | undefined;
|
|
1856
|
+
isTerminal?: boolean | undefined;
|
|
1788
1857
|
onEntry?: string[] | undefined;
|
|
1789
1858
|
onExit?: string[] | undefined;
|
|
1790
1859
|
}>, "many">;
|
|
@@ -1832,17 +1901,17 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1832
1901
|
from: string;
|
|
1833
1902
|
to: string;
|
|
1834
1903
|
description?: string | null | undefined;
|
|
1835
|
-
eventId?: EventId | undefined;
|
|
1836
1904
|
guard?: SExpr | undefined;
|
|
1837
1905
|
effects?: SExpr[][] | undefined;
|
|
1906
|
+
eventId?: EventId | undefined;
|
|
1838
1907
|
}, {
|
|
1839
1908
|
event: string;
|
|
1840
1909
|
from: string;
|
|
1841
1910
|
to: string;
|
|
1842
1911
|
description?: string | null | undefined;
|
|
1843
|
-
eventId?: string | undefined;
|
|
1844
1912
|
guard?: SExpr | undefined;
|
|
1845
1913
|
effects?: SExpr[][] | undefined;
|
|
1914
|
+
eventId?: string | undefined;
|
|
1846
1915
|
}>, "many">;
|
|
1847
1916
|
guards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1848
1917
|
name: z.ZodString;
|
|
@@ -1858,23 +1927,12 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1858
1927
|
description?: string | undefined;
|
|
1859
1928
|
}>, "many">>;
|
|
1860
1929
|
}, "strip", z.ZodTypeAny, {
|
|
1861
|
-
events: {
|
|
1862
|
-
name: string;
|
|
1863
|
-
key: string;
|
|
1864
|
-
id?: EventId | undefined;
|
|
1865
|
-
description?: string | undefined;
|
|
1866
|
-
synonyms?: string | undefined;
|
|
1867
|
-
tier?: string | undefined;
|
|
1868
|
-
payloadSchema?: PayloadField[] | undefined;
|
|
1869
|
-
classification?: "domain" | "system" | undefined;
|
|
1870
|
-
semanticRole?: string | undefined;
|
|
1871
|
-
}[];
|
|
1872
1930
|
states: {
|
|
1873
1931
|
name: string;
|
|
1874
1932
|
description?: string | undefined;
|
|
1875
1933
|
isInitial?: boolean | undefined;
|
|
1876
|
-
isTerminal?: boolean | undefined;
|
|
1877
1934
|
isFinal?: boolean | undefined;
|
|
1935
|
+
isTerminal?: boolean | undefined;
|
|
1878
1936
|
onEntry?: string[] | undefined;
|
|
1879
1937
|
onExit?: string[] | undefined;
|
|
1880
1938
|
}[];
|
|
@@ -1883,20 +1941,14 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1883
1941
|
from: string;
|
|
1884
1942
|
to: string;
|
|
1885
1943
|
description?: string | null | undefined;
|
|
1886
|
-
eventId?: EventId | undefined;
|
|
1887
1944
|
guard?: SExpr | undefined;
|
|
1888
1945
|
effects?: SExpr[][] | undefined;
|
|
1946
|
+
eventId?: EventId | undefined;
|
|
1889
1947
|
}[];
|
|
1890
|
-
guards?: {
|
|
1891
|
-
name: string;
|
|
1892
|
-
expression: SExpr;
|
|
1893
|
-
description?: string | undefined;
|
|
1894
|
-
}[] | undefined;
|
|
1895
|
-
}, {
|
|
1896
1948
|
events: {
|
|
1897
1949
|
name: string;
|
|
1898
1950
|
key: string;
|
|
1899
|
-
id?:
|
|
1951
|
+
id?: EventId | undefined;
|
|
1900
1952
|
description?: string | undefined;
|
|
1901
1953
|
synonyms?: string | undefined;
|
|
1902
1954
|
tier?: string | undefined;
|
|
@@ -1904,12 +1956,18 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1904
1956
|
classification?: "domain" | "system" | undefined;
|
|
1905
1957
|
semanticRole?: string | undefined;
|
|
1906
1958
|
}[];
|
|
1959
|
+
guards?: {
|
|
1960
|
+
name: string;
|
|
1961
|
+
expression: SExpr;
|
|
1962
|
+
description?: string | undefined;
|
|
1963
|
+
}[] | undefined;
|
|
1964
|
+
}, {
|
|
1907
1965
|
states: {
|
|
1908
1966
|
name: string;
|
|
1909
1967
|
description?: string | undefined;
|
|
1910
1968
|
isInitial?: boolean | undefined;
|
|
1911
|
-
isTerminal?: boolean | undefined;
|
|
1912
1969
|
isFinal?: boolean | undefined;
|
|
1970
|
+
isTerminal?: boolean | undefined;
|
|
1913
1971
|
onEntry?: string[] | undefined;
|
|
1914
1972
|
onExit?: string[] | undefined;
|
|
1915
1973
|
}[];
|
|
@@ -1918,9 +1976,20 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1918
1976
|
from: string;
|
|
1919
1977
|
to: string;
|
|
1920
1978
|
description?: string | null | undefined;
|
|
1921
|
-
eventId?: string | undefined;
|
|
1922
1979
|
guard?: SExpr | undefined;
|
|
1923
1980
|
effects?: SExpr[][] | undefined;
|
|
1981
|
+
eventId?: string | undefined;
|
|
1982
|
+
}[];
|
|
1983
|
+
events: {
|
|
1984
|
+
name: string;
|
|
1985
|
+
key: string;
|
|
1986
|
+
id?: string | undefined;
|
|
1987
|
+
description?: string | undefined;
|
|
1988
|
+
synonyms?: string | undefined;
|
|
1989
|
+
tier?: string | undefined;
|
|
1990
|
+
payloadSchema?: PayloadField[] | undefined;
|
|
1991
|
+
classification?: "domain" | "system" | undefined;
|
|
1992
|
+
semanticRole?: string | undefined;
|
|
1924
1993
|
}[];
|
|
1925
1994
|
guards?: {
|
|
1926
1995
|
name: string;
|
|
@@ -1947,11 +2016,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1947
2016
|
interval: string | number;
|
|
1948
2017
|
description?: string | undefined;
|
|
1949
2018
|
pages?: string[] | undefined;
|
|
1950
|
-
|
|
2019
|
+
emits?: string[] | undefined;
|
|
1951
2020
|
guard?: SExpr | undefined;
|
|
2021
|
+
priority?: number | undefined;
|
|
1952
2022
|
appliesTo?: string[] | undefined;
|
|
1953
2023
|
pageIds?: PageId[] | undefined;
|
|
1954
|
-
emits?: string[] | undefined;
|
|
1955
2024
|
emitIds?: EventId[] | undefined;
|
|
1956
2025
|
}, {
|
|
1957
2026
|
name: string;
|
|
@@ -1959,11 +2028,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1959
2028
|
interval: string | number;
|
|
1960
2029
|
description?: string | undefined;
|
|
1961
2030
|
pages?: string[] | undefined;
|
|
1962
|
-
|
|
2031
|
+
emits?: string[] | undefined;
|
|
1963
2032
|
guard?: SExpr | undefined;
|
|
2033
|
+
priority?: number | undefined;
|
|
1964
2034
|
appliesTo?: string[] | undefined;
|
|
1965
2035
|
pageIds?: string[] | undefined;
|
|
1966
|
-
emits?: string[] | undefined;
|
|
1967
2036
|
emitIds?: string[] | undefined;
|
|
1968
2037
|
}>, "many">>;
|
|
1969
2038
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1981,6 +2050,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1981
2050
|
description: z.ZodOptional<z.ZodString>;
|
|
1982
2051
|
synonyms: z.ZodOptional<z.ZodString>;
|
|
1983
2052
|
tier: z.ZodOptional<z.ZodString>;
|
|
2053
|
+
definerKnob: z.ZodOptional<z.ZodString>;
|
|
2054
|
+
scopeOverridden: z.ZodOptional<z.ZodBoolean>;
|
|
1984
2055
|
payloadSchema: z.ZodOptional<z.ZodArray<z.ZodType<EventPayloadField, z.ZodTypeDef, EventPayloadField>, "many">>;
|
|
1985
2056
|
scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
|
|
1986
2057
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1991,6 +2062,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1991
2062
|
scope?: "internal" | "external" | undefined;
|
|
1992
2063
|
tier?: string | undefined;
|
|
1993
2064
|
payloadSchema?: EventPayloadField[] | undefined;
|
|
2065
|
+
definerKnob?: string | undefined;
|
|
2066
|
+
scopeOverridden?: boolean | undefined;
|
|
1994
2067
|
}, {
|
|
1995
2068
|
event: string;
|
|
1996
2069
|
description?: string | undefined;
|
|
@@ -1999,6 +2072,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1999
2072
|
scope?: "internal" | "external" | undefined;
|
|
2000
2073
|
tier?: string | undefined;
|
|
2001
2074
|
payloadSchema?: EventPayloadField[] | undefined;
|
|
2075
|
+
definerKnob?: string | undefined;
|
|
2076
|
+
scopeOverridden?: boolean | undefined;
|
|
2002
2077
|
}>, "many">>;
|
|
2003
2078
|
listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2004
2079
|
event: z.ZodString;
|
|
@@ -2066,10 +2141,10 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2066
2141
|
traitId?: TraitId | undefined;
|
|
2067
2142
|
orbitalId?: OrbitalId | undefined;
|
|
2068
2143
|
} | undefined;
|
|
2144
|
+
guard?: SExpr | undefined;
|
|
2069
2145
|
eventId?: EventId | undefined;
|
|
2070
2146
|
scope?: "internal" | "external" | undefined;
|
|
2071
2147
|
tier?: string | undefined;
|
|
2072
|
-
guard?: SExpr | undefined;
|
|
2073
2148
|
triggersId?: EventId | undefined;
|
|
2074
2149
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2075
2150
|
}, {
|
|
@@ -2090,10 +2165,10 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2090
2165
|
traitId?: string | undefined;
|
|
2091
2166
|
orbitalId?: string | undefined;
|
|
2092
2167
|
} | undefined;
|
|
2168
|
+
guard?: SExpr | undefined;
|
|
2093
2169
|
eventId?: string | undefined;
|
|
2094
2170
|
scope?: "internal" | "external" | undefined;
|
|
2095
2171
|
tier?: string | undefined;
|
|
2096
|
-
guard?: SExpr | undefined;
|
|
2097
2172
|
triggersId?: string | undefined;
|
|
2098
2173
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2099
2174
|
}>, "many">>;
|
|
@@ -2113,8 +2188,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2113
2188
|
width?: string | undefined;
|
|
2114
2189
|
title?: string | undefined;
|
|
2115
2190
|
totalSteps?: number | undefined;
|
|
2116
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2117
2191
|
step?: number | undefined;
|
|
2192
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2118
2193
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
2119
2194
|
showProgress?: boolean | undefined;
|
|
2120
2195
|
closable?: boolean | undefined;
|
|
@@ -2122,8 +2197,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2122
2197
|
width?: string | undefined;
|
|
2123
2198
|
title?: string | undefined;
|
|
2124
2199
|
totalSteps?: number | undefined;
|
|
2125
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2126
2200
|
step?: number | undefined;
|
|
2201
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2127
2202
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
2128
2203
|
showProgress?: boolean | undefined;
|
|
2129
2204
|
closable?: boolean | undefined;
|
|
@@ -2135,8 +2210,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2135
2210
|
width?: string | undefined;
|
|
2136
2211
|
title?: string | undefined;
|
|
2137
2212
|
totalSteps?: number | undefined;
|
|
2138
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2139
2213
|
step?: number | undefined;
|
|
2214
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2140
2215
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
2141
2216
|
showProgress?: boolean | undefined;
|
|
2142
2217
|
closable?: boolean | undefined;
|
|
@@ -2148,8 +2223,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2148
2223
|
width?: string | undefined;
|
|
2149
2224
|
title?: string | undefined;
|
|
2150
2225
|
totalSteps?: number | undefined;
|
|
2151
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2152
2226
|
step?: number | undefined;
|
|
2227
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2153
2228
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
2154
2229
|
showProgress?: boolean | undefined;
|
|
2155
2230
|
closable?: boolean | undefined;
|
|
@@ -2289,6 +2364,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2289
2364
|
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
2290
2365
|
} | undefined;
|
|
2291
2366
|
}>>;
|
|
2367
|
+
typeParams: z.ZodOptional<z.ZodArray<z.ZodType<TraitTypeParamDef, z.ZodTypeDef, TraitTypeParamDef>, "many">>;
|
|
2292
2368
|
}, "strip", z.ZodTypeAny, {
|
|
2293
2369
|
name: string;
|
|
2294
2370
|
scope: "collection" | "instance";
|
|
@@ -2301,8 +2377,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2301
2377
|
width?: string | undefined;
|
|
2302
2378
|
title?: string | undefined;
|
|
2303
2379
|
totalSteps?: number | undefined;
|
|
2304
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2305
2380
|
step?: number | undefined;
|
|
2381
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2306
2382
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
2307
2383
|
showProgress?: boolean | undefined;
|
|
2308
2384
|
closable?: boolean | undefined;
|
|
@@ -2310,64 +2386,17 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2310
2386
|
}> | undefined;
|
|
2311
2387
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
2312
2388
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
name: string;
|
|
2316
|
-
fields: TraitEntityField[];
|
|
2389
|
+
emits?: {
|
|
2390
|
+
event: string;
|
|
2317
2391
|
description?: string | undefined;
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2392
|
+
synonyms?: string | undefined;
|
|
2393
|
+
eventId?: EventId | undefined;
|
|
2394
|
+
scope?: "internal" | "external" | undefined;
|
|
2395
|
+
tier?: string | undefined;
|
|
2396
|
+
payloadSchema?: EventPayloadField[] | undefined;
|
|
2397
|
+
definerKnob?: string | undefined;
|
|
2398
|
+
scopeOverridden?: boolean | undefined;
|
|
2323
2399
|
}[] | undefined;
|
|
2324
|
-
stateMachine?: {
|
|
2325
|
-
events: {
|
|
2326
|
-
name: string;
|
|
2327
|
-
key: string;
|
|
2328
|
-
id?: EventId | undefined;
|
|
2329
|
-
description?: string | undefined;
|
|
2330
|
-
synonyms?: string | undefined;
|
|
2331
|
-
tier?: string | undefined;
|
|
2332
|
-
payloadSchema?: PayloadField[] | undefined;
|
|
2333
|
-
classification?: "domain" | "system" | undefined;
|
|
2334
|
-
semanticRole?: string | undefined;
|
|
2335
|
-
}[];
|
|
2336
|
-
states: {
|
|
2337
|
-
name: string;
|
|
2338
|
-
description?: string | undefined;
|
|
2339
|
-
isInitial?: boolean | undefined;
|
|
2340
|
-
isTerminal?: boolean | undefined;
|
|
2341
|
-
isFinal?: boolean | undefined;
|
|
2342
|
-
onEntry?: string[] | undefined;
|
|
2343
|
-
onExit?: string[] | undefined;
|
|
2344
|
-
}[];
|
|
2345
|
-
transitions: {
|
|
2346
|
-
event: string;
|
|
2347
|
-
from: string;
|
|
2348
|
-
to: string;
|
|
2349
|
-
description?: string | null | undefined;
|
|
2350
|
-
eventId?: EventId | undefined;
|
|
2351
|
-
guard?: SExpr | undefined;
|
|
2352
|
-
effects?: SExpr[][] | undefined;
|
|
2353
|
-
}[];
|
|
2354
|
-
guards?: {
|
|
2355
|
-
name: string;
|
|
2356
|
-
expression: SExpr;
|
|
2357
|
-
description?: string | undefined;
|
|
2358
|
-
}[] | undefined;
|
|
2359
|
-
} | undefined;
|
|
2360
|
-
emits?: {
|
|
2361
|
-
event: string;
|
|
2362
|
-
description?: string | undefined;
|
|
2363
|
-
synonyms?: string | undefined;
|
|
2364
|
-
eventId?: EventId | undefined;
|
|
2365
|
-
scope?: "internal" | "external" | undefined;
|
|
2366
|
-
tier?: string | undefined;
|
|
2367
|
-
payloadSchema?: EventPayloadField[] | undefined;
|
|
2368
|
-
}[] | undefined;
|
|
2369
|
-
linkedEntity?: string | undefined;
|
|
2370
|
-
linkedEntityId?: EntityId | undefined;
|
|
2371
2400
|
listens?: {
|
|
2372
2401
|
event: string;
|
|
2373
2402
|
triggers: string;
|
|
@@ -2386,13 +2415,62 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2386
2415
|
traitId?: TraitId | undefined;
|
|
2387
2416
|
orbitalId?: OrbitalId | undefined;
|
|
2388
2417
|
} | undefined;
|
|
2418
|
+
guard?: SExpr | undefined;
|
|
2389
2419
|
eventId?: EventId | undefined;
|
|
2390
2420
|
scope?: "internal" | "external" | undefined;
|
|
2391
2421
|
tier?: string | undefined;
|
|
2392
|
-
guard?: SExpr | undefined;
|
|
2393
2422
|
triggersId?: EventId | undefined;
|
|
2394
2423
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2395
2424
|
}[] | undefined;
|
|
2425
|
+
linkedEntity?: string | undefined;
|
|
2426
|
+
capabilities?: string[] | undefined;
|
|
2427
|
+
dataEntities?: {
|
|
2428
|
+
name: string;
|
|
2429
|
+
fields: TraitEntityField[];
|
|
2430
|
+
description?: string | undefined;
|
|
2431
|
+
pages?: string[] | undefined;
|
|
2432
|
+
runtime?: boolean | undefined;
|
|
2433
|
+
collection?: string | undefined;
|
|
2434
|
+
timestamps?: boolean | undefined;
|
|
2435
|
+
singleton?: boolean | undefined;
|
|
2436
|
+
}[] | undefined;
|
|
2437
|
+
stateMachine?: {
|
|
2438
|
+
states: {
|
|
2439
|
+
name: string;
|
|
2440
|
+
description?: string | undefined;
|
|
2441
|
+
isInitial?: boolean | undefined;
|
|
2442
|
+
isFinal?: boolean | undefined;
|
|
2443
|
+
isTerminal?: boolean | undefined;
|
|
2444
|
+
onEntry?: string[] | undefined;
|
|
2445
|
+
onExit?: string[] | undefined;
|
|
2446
|
+
}[];
|
|
2447
|
+
transitions: {
|
|
2448
|
+
event: string;
|
|
2449
|
+
from: string;
|
|
2450
|
+
to: string;
|
|
2451
|
+
description?: string | null | undefined;
|
|
2452
|
+
guard?: SExpr | undefined;
|
|
2453
|
+
effects?: SExpr[][] | undefined;
|
|
2454
|
+
eventId?: EventId | undefined;
|
|
2455
|
+
}[];
|
|
2456
|
+
events: {
|
|
2457
|
+
name: string;
|
|
2458
|
+
key: string;
|
|
2459
|
+
id?: EventId | undefined;
|
|
2460
|
+
description?: string | undefined;
|
|
2461
|
+
synonyms?: string | undefined;
|
|
2462
|
+
tier?: string | undefined;
|
|
2463
|
+
payloadSchema?: PayloadField[] | undefined;
|
|
2464
|
+
classification?: "domain" | "system" | undefined;
|
|
2465
|
+
semanticRole?: string | undefined;
|
|
2466
|
+
}[];
|
|
2467
|
+
guards?: {
|
|
2468
|
+
name: string;
|
|
2469
|
+
expression: SExpr;
|
|
2470
|
+
description?: string | undefined;
|
|
2471
|
+
}[] | undefined;
|
|
2472
|
+
} | undefined;
|
|
2473
|
+
linkedEntityId?: EntityId | undefined;
|
|
2396
2474
|
description_visual_prompt?: string | undefined;
|
|
2397
2475
|
entityRebindable?: boolean | undefined;
|
|
2398
2476
|
entityContract?: {
|
|
@@ -2415,11 +2493,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2415
2493
|
interval: string | number;
|
|
2416
2494
|
description?: string | undefined;
|
|
2417
2495
|
pages?: string[] | undefined;
|
|
2418
|
-
|
|
2496
|
+
emits?: string[] | undefined;
|
|
2419
2497
|
guard?: SExpr | undefined;
|
|
2498
|
+
priority?: number | undefined;
|
|
2420
2499
|
appliesTo?: string[] | undefined;
|
|
2421
2500
|
pageIds?: PageId[] | undefined;
|
|
2422
|
-
emits?: string[] | undefined;
|
|
2423
2501
|
emitIds?: EventId[] | undefined;
|
|
2424
2502
|
}[] | undefined;
|
|
2425
2503
|
sourceBehavior?: {
|
|
@@ -2459,6 +2537,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2459
2537
|
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
2460
2538
|
} | undefined;
|
|
2461
2539
|
} | undefined;
|
|
2540
|
+
typeParams?: TraitTypeParamDef[] | undefined;
|
|
2462
2541
|
}, {
|
|
2463
2542
|
name: string;
|
|
2464
2543
|
scope: "collection" | "instance";
|
|
@@ -2471,8 +2550,8 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2471
2550
|
width?: string | undefined;
|
|
2472
2551
|
title?: string | undefined;
|
|
2473
2552
|
totalSteps?: number | undefined;
|
|
2474
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2475
2553
|
step?: number | undefined;
|
|
2554
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
2476
2555
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
2477
2556
|
showProgress?: boolean | undefined;
|
|
2478
2557
|
closable?: boolean | undefined;
|
|
@@ -2480,6 +2559,43 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2480
2559
|
}> | undefined;
|
|
2481
2560
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
2482
2561
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
2562
|
+
emits?: {
|
|
2563
|
+
event: string;
|
|
2564
|
+
description?: string | undefined;
|
|
2565
|
+
synonyms?: string | undefined;
|
|
2566
|
+
eventId?: string | undefined;
|
|
2567
|
+
scope?: "internal" | "external" | undefined;
|
|
2568
|
+
tier?: string | undefined;
|
|
2569
|
+
payloadSchema?: EventPayloadField[] | undefined;
|
|
2570
|
+
definerKnob?: string | undefined;
|
|
2571
|
+
scopeOverridden?: boolean | undefined;
|
|
2572
|
+
}[] | undefined;
|
|
2573
|
+
listens?: {
|
|
2574
|
+
event: string;
|
|
2575
|
+
triggers: string;
|
|
2576
|
+
description?: string | undefined;
|
|
2577
|
+
synonyms?: string | undefined;
|
|
2578
|
+
source?: {
|
|
2579
|
+
kind: "any";
|
|
2580
|
+
} | {
|
|
2581
|
+
trait: string;
|
|
2582
|
+
kind: "trait";
|
|
2583
|
+
traitId?: string | undefined;
|
|
2584
|
+
} | {
|
|
2585
|
+
orbital: string;
|
|
2586
|
+
trait: string;
|
|
2587
|
+
kind: "orbital";
|
|
2588
|
+
traitId?: string | undefined;
|
|
2589
|
+
orbitalId?: string | undefined;
|
|
2590
|
+
} | undefined;
|
|
2591
|
+
guard?: SExpr | undefined;
|
|
2592
|
+
eventId?: string | undefined;
|
|
2593
|
+
scope?: "internal" | "external" | undefined;
|
|
2594
|
+
tier?: string | undefined;
|
|
2595
|
+
triggersId?: string | undefined;
|
|
2596
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2597
|
+
}[] | undefined;
|
|
2598
|
+
linkedEntity?: string | undefined;
|
|
2483
2599
|
capabilities?: string[] | undefined;
|
|
2484
2600
|
dataEntities?: {
|
|
2485
2601
|
name: string;
|
|
@@ -2492,23 +2608,12 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2492
2608
|
singleton?: boolean | undefined;
|
|
2493
2609
|
}[] | undefined;
|
|
2494
2610
|
stateMachine?: {
|
|
2495
|
-
events: {
|
|
2496
|
-
name: string;
|
|
2497
|
-
key: string;
|
|
2498
|
-
id?: string | undefined;
|
|
2499
|
-
description?: string | undefined;
|
|
2500
|
-
synonyms?: string | undefined;
|
|
2501
|
-
tier?: string | undefined;
|
|
2502
|
-
payloadSchema?: PayloadField[] | undefined;
|
|
2503
|
-
classification?: "domain" | "system" | undefined;
|
|
2504
|
-
semanticRole?: string | undefined;
|
|
2505
|
-
}[];
|
|
2506
2611
|
states: {
|
|
2507
2612
|
name: string;
|
|
2508
2613
|
description?: string | undefined;
|
|
2509
2614
|
isInitial?: boolean | undefined;
|
|
2510
|
-
isTerminal?: boolean | undefined;
|
|
2511
2615
|
isFinal?: boolean | undefined;
|
|
2616
|
+
isTerminal?: boolean | undefined;
|
|
2512
2617
|
onEntry?: string[] | undefined;
|
|
2513
2618
|
onExit?: string[] | undefined;
|
|
2514
2619
|
}[];
|
|
@@ -2517,9 +2622,20 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2517
2622
|
from: string;
|
|
2518
2623
|
to: string;
|
|
2519
2624
|
description?: string | null | undefined;
|
|
2520
|
-
eventId?: string | undefined;
|
|
2521
2625
|
guard?: SExpr | undefined;
|
|
2522
2626
|
effects?: SExpr[][] | undefined;
|
|
2627
|
+
eventId?: string | undefined;
|
|
2628
|
+
}[];
|
|
2629
|
+
events: {
|
|
2630
|
+
name: string;
|
|
2631
|
+
key: string;
|
|
2632
|
+
id?: string | undefined;
|
|
2633
|
+
description?: string | undefined;
|
|
2634
|
+
synonyms?: string | undefined;
|
|
2635
|
+
tier?: string | undefined;
|
|
2636
|
+
payloadSchema?: PayloadField[] | undefined;
|
|
2637
|
+
classification?: "domain" | "system" | undefined;
|
|
2638
|
+
semanticRole?: string | undefined;
|
|
2523
2639
|
}[];
|
|
2524
2640
|
guards?: {
|
|
2525
2641
|
name: string;
|
|
@@ -2527,42 +2643,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2527
2643
|
description?: string | undefined;
|
|
2528
2644
|
}[] | undefined;
|
|
2529
2645
|
} | undefined;
|
|
2530
|
-
emits?: {
|
|
2531
|
-
event: string;
|
|
2532
|
-
description?: string | undefined;
|
|
2533
|
-
synonyms?: string | undefined;
|
|
2534
|
-
eventId?: string | undefined;
|
|
2535
|
-
scope?: "internal" | "external" | undefined;
|
|
2536
|
-
tier?: string | undefined;
|
|
2537
|
-
payloadSchema?: EventPayloadField[] | undefined;
|
|
2538
|
-
}[] | undefined;
|
|
2539
|
-
linkedEntity?: string | undefined;
|
|
2540
2646
|
linkedEntityId?: string | undefined;
|
|
2541
|
-
listens?: {
|
|
2542
|
-
event: string;
|
|
2543
|
-
triggers: string;
|
|
2544
|
-
description?: string | undefined;
|
|
2545
|
-
synonyms?: string | undefined;
|
|
2546
|
-
source?: {
|
|
2547
|
-
kind: "any";
|
|
2548
|
-
} | {
|
|
2549
|
-
trait: string;
|
|
2550
|
-
kind: "trait";
|
|
2551
|
-
traitId?: string | undefined;
|
|
2552
|
-
} | {
|
|
2553
|
-
orbital: string;
|
|
2554
|
-
trait: string;
|
|
2555
|
-
kind: "orbital";
|
|
2556
|
-
traitId?: string | undefined;
|
|
2557
|
-
orbitalId?: string | undefined;
|
|
2558
|
-
} | undefined;
|
|
2559
|
-
eventId?: string | undefined;
|
|
2560
|
-
scope?: "internal" | "external" | undefined;
|
|
2561
|
-
tier?: string | undefined;
|
|
2562
|
-
guard?: SExpr | undefined;
|
|
2563
|
-
triggersId?: string | undefined;
|
|
2564
|
-
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2565
|
-
}[] | undefined;
|
|
2566
2647
|
description_visual_prompt?: string | undefined;
|
|
2567
2648
|
entityRebindable?: boolean | undefined;
|
|
2568
2649
|
entityContract?: {
|
|
@@ -2585,11 +2666,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2585
2666
|
interval: string | number;
|
|
2586
2667
|
description?: string | undefined;
|
|
2587
2668
|
pages?: string[] | undefined;
|
|
2588
|
-
|
|
2669
|
+
emits?: string[] | undefined;
|
|
2589
2670
|
guard?: SExpr | undefined;
|
|
2671
|
+
priority?: number | undefined;
|
|
2590
2672
|
appliesTo?: string[] | undefined;
|
|
2591
2673
|
pageIds?: string[] | undefined;
|
|
2592
|
-
emits?: string[] | undefined;
|
|
2593
2674
|
emitIds?: string[] | undefined;
|
|
2594
2675
|
}[] | undefined;
|
|
2595
2676
|
sourceBehavior?: {
|
|
@@ -2629,6 +2710,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2629
2710
|
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
2630
2711
|
} | undefined;
|
|
2631
2712
|
} | undefined;
|
|
2713
|
+
typeParams?: TraitTypeParamDef[] | undefined;
|
|
2632
2714
|
}>;
|
|
2633
2715
|
declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
2634
2716
|
ref: z.ZodString;
|
|
@@ -2640,6 +2722,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2640
2722
|
name: z.ZodOptional<z.ZodString>;
|
|
2641
2723
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2642
2724
|
eventIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, EventId, string>>>;
|
|
2725
|
+
typeArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2643
2726
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2644
2727
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodType<ConfigFieldDeclaration, z.ZodTypeDef, ConfigFieldDeclaration>, z.ZodType<TraitConfigValue, z.ZodTypeDef, TraitConfigValue>]>>>;
|
|
2645
2728
|
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2709,10 +2792,10 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2709
2792
|
traitId?: TraitId | undefined;
|
|
2710
2793
|
orbitalId?: OrbitalId | undefined;
|
|
2711
2794
|
} | undefined;
|
|
2795
|
+
guard?: SExpr | undefined;
|
|
2712
2796
|
eventId?: EventId | undefined;
|
|
2713
2797
|
scope?: "internal" | "external" | undefined;
|
|
2714
2798
|
tier?: string | undefined;
|
|
2715
|
-
guard?: SExpr | undefined;
|
|
2716
2799
|
triggersId?: EventId | undefined;
|
|
2717
2800
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2718
2801
|
}, {
|
|
@@ -2733,10 +2816,10 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2733
2816
|
traitId?: string | undefined;
|
|
2734
2817
|
orbitalId?: string | undefined;
|
|
2735
2818
|
} | undefined;
|
|
2819
|
+
guard?: SExpr | undefined;
|
|
2736
2820
|
eventId?: string | undefined;
|
|
2737
2821
|
scope?: "internal" | "external" | undefined;
|
|
2738
2822
|
tier?: string | undefined;
|
|
2739
|
-
guard?: SExpr | undefined;
|
|
2740
2823
|
triggersId?: string | undefined;
|
|
2741
2824
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2742
2825
|
}>, "many">>;
|
|
@@ -2749,13 +2832,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2749
2832
|
name?: string | undefined;
|
|
2750
2833
|
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
2751
2834
|
fields?: Record<string, string> | undefined;
|
|
2752
|
-
events?: Record<string, string> | undefined;
|
|
2753
|
-
effects?: Record<string, SExpr[]> | undefined;
|
|
2754
|
-
refId?: TraitId | undefined;
|
|
2755
|
-
appliesTo?: string[] | undefined;
|
|
2756
|
-
linkedEntity?: string | undefined;
|
|
2757
|
-
linkedEntityId?: EntityId | undefined;
|
|
2758
|
-
eventIds?: Record<string, EventId> | undefined;
|
|
2759
2835
|
listens?: {
|
|
2760
2836
|
event: string;
|
|
2761
2837
|
triggers: string;
|
|
@@ -2774,13 +2850,21 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2774
2850
|
traitId?: TraitId | undefined;
|
|
2775
2851
|
orbitalId?: OrbitalId | undefined;
|
|
2776
2852
|
} | undefined;
|
|
2853
|
+
guard?: SExpr | undefined;
|
|
2777
2854
|
eventId?: EventId | undefined;
|
|
2778
2855
|
scope?: "internal" | "external" | undefined;
|
|
2779
2856
|
tier?: string | undefined;
|
|
2780
|
-
guard?: SExpr | undefined;
|
|
2781
2857
|
triggersId?: EventId | undefined;
|
|
2782
2858
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2783
2859
|
}[] | undefined;
|
|
2860
|
+
effects?: Record<string, SExpr[]> | undefined;
|
|
2861
|
+
linkedEntity?: string | undefined;
|
|
2862
|
+
events?: Record<string, string> | undefined;
|
|
2863
|
+
refId?: TraitId | undefined;
|
|
2864
|
+
appliesTo?: string[] | undefined;
|
|
2865
|
+
linkedEntityId?: EntityId | undefined;
|
|
2866
|
+
eventIds?: Record<string, EventId> | undefined;
|
|
2867
|
+
typeArgs?: Record<string, string> | undefined;
|
|
2784
2868
|
emitsScope?: "internal" | "external" | undefined;
|
|
2785
2869
|
}, {
|
|
2786
2870
|
ref: string;
|
|
@@ -2789,13 +2873,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2789
2873
|
name?: string | undefined;
|
|
2790
2874
|
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
2791
2875
|
fields?: Record<string, string> | undefined;
|
|
2792
|
-
events?: Record<string, string> | undefined;
|
|
2793
|
-
effects?: Record<string, SExpr[]> | undefined;
|
|
2794
|
-
refId?: string | undefined;
|
|
2795
|
-
appliesTo?: string[] | undefined;
|
|
2796
|
-
linkedEntity?: string | undefined;
|
|
2797
|
-
linkedEntityId?: string | undefined;
|
|
2798
|
-
eventIds?: Record<string, string> | undefined;
|
|
2799
2876
|
listens?: {
|
|
2800
2877
|
event: string;
|
|
2801
2878
|
triggers: string;
|
|
@@ -2814,13 +2891,21 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2814
2891
|
traitId?: string | undefined;
|
|
2815
2892
|
orbitalId?: string | undefined;
|
|
2816
2893
|
} | undefined;
|
|
2894
|
+
guard?: SExpr | undefined;
|
|
2817
2895
|
eventId?: string | undefined;
|
|
2818
2896
|
scope?: "internal" | "external" | undefined;
|
|
2819
2897
|
tier?: string | undefined;
|
|
2820
|
-
guard?: SExpr | undefined;
|
|
2821
2898
|
triggersId?: string | undefined;
|
|
2822
2899
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2823
2900
|
}[] | undefined;
|
|
2901
|
+
effects?: Record<string, SExpr[]> | undefined;
|
|
2902
|
+
linkedEntity?: string | undefined;
|
|
2903
|
+
events?: Record<string, string> | undefined;
|
|
2904
|
+
refId?: string | undefined;
|
|
2905
|
+
appliesTo?: string[] | undefined;
|
|
2906
|
+
linkedEntityId?: string | undefined;
|
|
2907
|
+
eventIds?: Record<string, string> | undefined;
|
|
2908
|
+
typeArgs?: Record<string, string> | undefined;
|
|
2824
2909
|
emitsScope?: "internal" | "external" | undefined;
|
|
2825
2910
|
}>, {
|
|
2826
2911
|
ref: string;
|
|
@@ -2829,13 +2914,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2829
2914
|
name?: string | undefined;
|
|
2830
2915
|
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
2831
2916
|
fields?: Record<string, string> | undefined;
|
|
2832
|
-
events?: Record<string, string> | undefined;
|
|
2833
|
-
effects?: Record<string, SExpr[]> | undefined;
|
|
2834
|
-
refId?: TraitId | undefined;
|
|
2835
|
-
appliesTo?: string[] | undefined;
|
|
2836
|
-
linkedEntity?: string | undefined;
|
|
2837
|
-
linkedEntityId?: EntityId | undefined;
|
|
2838
|
-
eventIds?: Record<string, EventId> | undefined;
|
|
2839
2917
|
listens?: {
|
|
2840
2918
|
event: string;
|
|
2841
2919
|
triggers: string;
|
|
@@ -2854,13 +2932,21 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2854
2932
|
traitId?: TraitId | undefined;
|
|
2855
2933
|
orbitalId?: OrbitalId | undefined;
|
|
2856
2934
|
} | undefined;
|
|
2935
|
+
guard?: SExpr | undefined;
|
|
2857
2936
|
eventId?: EventId | undefined;
|
|
2858
2937
|
scope?: "internal" | "external" | undefined;
|
|
2859
2938
|
tier?: string | undefined;
|
|
2860
|
-
guard?: SExpr | undefined;
|
|
2861
2939
|
triggersId?: EventId | undefined;
|
|
2862
2940
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2863
2941
|
}[] | undefined;
|
|
2942
|
+
effects?: Record<string, SExpr[]> | undefined;
|
|
2943
|
+
linkedEntity?: string | undefined;
|
|
2944
|
+
events?: Record<string, string> | undefined;
|
|
2945
|
+
refId?: TraitId | undefined;
|
|
2946
|
+
appliesTo?: string[] | undefined;
|
|
2947
|
+
linkedEntityId?: EntityId | undefined;
|
|
2948
|
+
eventIds?: Record<string, EventId> | undefined;
|
|
2949
|
+
typeArgs?: Record<string, string> | undefined;
|
|
2864
2950
|
emitsScope?: "internal" | "external" | undefined;
|
|
2865
2951
|
}, {
|
|
2866
2952
|
ref: string;
|
|
@@ -2869,13 +2955,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2869
2955
|
name?: string | undefined;
|
|
2870
2956
|
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
2871
2957
|
fields?: Record<string, string> | undefined;
|
|
2872
|
-
events?: Record<string, string> | undefined;
|
|
2873
|
-
effects?: Record<string, SExpr[]> | undefined;
|
|
2874
|
-
refId?: string | undefined;
|
|
2875
|
-
appliesTo?: string[] | undefined;
|
|
2876
|
-
linkedEntity?: string | undefined;
|
|
2877
|
-
linkedEntityId?: string | undefined;
|
|
2878
|
-
eventIds?: Record<string, string> | undefined;
|
|
2879
2958
|
listens?: {
|
|
2880
2959
|
event: string;
|
|
2881
2960
|
triggers: string;
|
|
@@ -2894,13 +2973,21 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2894
2973
|
traitId?: string | undefined;
|
|
2895
2974
|
orbitalId?: string | undefined;
|
|
2896
2975
|
} | undefined;
|
|
2976
|
+
guard?: SExpr | undefined;
|
|
2897
2977
|
eventId?: string | undefined;
|
|
2898
2978
|
scope?: "internal" | "external" | undefined;
|
|
2899
2979
|
tier?: string | undefined;
|
|
2900
|
-
guard?: SExpr | undefined;
|
|
2901
2980
|
triggersId?: string | undefined;
|
|
2902
2981
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
2903
2982
|
}[] | undefined;
|
|
2983
|
+
effects?: Record<string, SExpr[]> | undefined;
|
|
2984
|
+
linkedEntity?: string | undefined;
|
|
2985
|
+
events?: Record<string, string> | undefined;
|
|
2986
|
+
refId?: string | undefined;
|
|
2987
|
+
appliesTo?: string[] | undefined;
|
|
2988
|
+
linkedEntityId?: string | undefined;
|
|
2989
|
+
eventIds?: Record<string, string> | undefined;
|
|
2990
|
+
typeArgs?: Record<string, string> | undefined;
|
|
2904
2991
|
emitsScope?: "internal" | "external" | undefined;
|
|
2905
2992
|
}>, z.ZodObject<{
|
|
2906
2993
|
id: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
|
|
@@ -2981,16 +3068,16 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2981
3068
|
name: string;
|
|
2982
3069
|
description?: string | undefined;
|
|
2983
3070
|
isInitial?: boolean | undefined;
|
|
2984
|
-
isTerminal?: boolean | undefined;
|
|
2985
3071
|
isFinal?: boolean | undefined;
|
|
3072
|
+
isTerminal?: boolean | undefined;
|
|
2986
3073
|
onEntry?: string[] | undefined;
|
|
2987
3074
|
onExit?: string[] | undefined;
|
|
2988
3075
|
}, {
|
|
2989
3076
|
name: string;
|
|
2990
3077
|
description?: string | undefined;
|
|
2991
3078
|
isInitial?: boolean | undefined;
|
|
2992
|
-
isTerminal?: boolean | undefined;
|
|
2993
3079
|
isFinal?: boolean | undefined;
|
|
3080
|
+
isTerminal?: boolean | undefined;
|
|
2994
3081
|
onEntry?: string[] | undefined;
|
|
2995
3082
|
onExit?: string[] | undefined;
|
|
2996
3083
|
}>, "many">;
|
|
@@ -3038,17 +3125,17 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3038
3125
|
from: string;
|
|
3039
3126
|
to: string;
|
|
3040
3127
|
description?: string | null | undefined;
|
|
3041
|
-
eventId?: EventId | undefined;
|
|
3042
3128
|
guard?: SExpr | undefined;
|
|
3043
3129
|
effects?: SExpr[][] | undefined;
|
|
3130
|
+
eventId?: EventId | undefined;
|
|
3044
3131
|
}, {
|
|
3045
3132
|
event: string;
|
|
3046
3133
|
from: string;
|
|
3047
3134
|
to: string;
|
|
3048
3135
|
description?: string | null | undefined;
|
|
3049
|
-
eventId?: string | undefined;
|
|
3050
3136
|
guard?: SExpr | undefined;
|
|
3051
3137
|
effects?: SExpr[][] | undefined;
|
|
3138
|
+
eventId?: string | undefined;
|
|
3052
3139
|
}>, "many">;
|
|
3053
3140
|
guards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3054
3141
|
name: z.ZodString;
|
|
@@ -3064,23 +3151,12 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3064
3151
|
description?: string | undefined;
|
|
3065
3152
|
}>, "many">>;
|
|
3066
3153
|
}, "strip", z.ZodTypeAny, {
|
|
3067
|
-
events: {
|
|
3068
|
-
name: string;
|
|
3069
|
-
key: string;
|
|
3070
|
-
id?: EventId | undefined;
|
|
3071
|
-
description?: string | undefined;
|
|
3072
|
-
synonyms?: string | undefined;
|
|
3073
|
-
tier?: string | undefined;
|
|
3074
|
-
payloadSchema?: PayloadField[] | undefined;
|
|
3075
|
-
classification?: "domain" | "system" | undefined;
|
|
3076
|
-
semanticRole?: string | undefined;
|
|
3077
|
-
}[];
|
|
3078
3154
|
states: {
|
|
3079
3155
|
name: string;
|
|
3080
3156
|
description?: string | undefined;
|
|
3081
3157
|
isInitial?: boolean | undefined;
|
|
3082
|
-
isTerminal?: boolean | undefined;
|
|
3083
3158
|
isFinal?: boolean | undefined;
|
|
3159
|
+
isTerminal?: boolean | undefined;
|
|
3084
3160
|
onEntry?: string[] | undefined;
|
|
3085
3161
|
onExit?: string[] | undefined;
|
|
3086
3162
|
}[];
|
|
@@ -3089,20 +3165,14 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3089
3165
|
from: string;
|
|
3090
3166
|
to: string;
|
|
3091
3167
|
description?: string | null | undefined;
|
|
3092
|
-
eventId?: EventId | undefined;
|
|
3093
3168
|
guard?: SExpr | undefined;
|
|
3094
3169
|
effects?: SExpr[][] | undefined;
|
|
3170
|
+
eventId?: EventId | undefined;
|
|
3095
3171
|
}[];
|
|
3096
|
-
guards?: {
|
|
3097
|
-
name: string;
|
|
3098
|
-
expression: SExpr;
|
|
3099
|
-
description?: string | undefined;
|
|
3100
|
-
}[] | undefined;
|
|
3101
|
-
}, {
|
|
3102
3172
|
events: {
|
|
3103
3173
|
name: string;
|
|
3104
3174
|
key: string;
|
|
3105
|
-
id?:
|
|
3175
|
+
id?: EventId | undefined;
|
|
3106
3176
|
description?: string | undefined;
|
|
3107
3177
|
synonyms?: string | undefined;
|
|
3108
3178
|
tier?: string | undefined;
|
|
@@ -3110,12 +3180,18 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3110
3180
|
classification?: "domain" | "system" | undefined;
|
|
3111
3181
|
semanticRole?: string | undefined;
|
|
3112
3182
|
}[];
|
|
3183
|
+
guards?: {
|
|
3184
|
+
name: string;
|
|
3185
|
+
expression: SExpr;
|
|
3186
|
+
description?: string | undefined;
|
|
3187
|
+
}[] | undefined;
|
|
3188
|
+
}, {
|
|
3113
3189
|
states: {
|
|
3114
3190
|
name: string;
|
|
3115
3191
|
description?: string | undefined;
|
|
3116
3192
|
isInitial?: boolean | undefined;
|
|
3117
|
-
isTerminal?: boolean | undefined;
|
|
3118
3193
|
isFinal?: boolean | undefined;
|
|
3194
|
+
isTerminal?: boolean | undefined;
|
|
3119
3195
|
onEntry?: string[] | undefined;
|
|
3120
3196
|
onExit?: string[] | undefined;
|
|
3121
3197
|
}[];
|
|
@@ -3124,9 +3200,20 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3124
3200
|
from: string;
|
|
3125
3201
|
to: string;
|
|
3126
3202
|
description?: string | null | undefined;
|
|
3127
|
-
eventId?: string | undefined;
|
|
3128
3203
|
guard?: SExpr | undefined;
|
|
3129
3204
|
effects?: SExpr[][] | undefined;
|
|
3205
|
+
eventId?: string | undefined;
|
|
3206
|
+
}[];
|
|
3207
|
+
events: {
|
|
3208
|
+
name: string;
|
|
3209
|
+
key: string;
|
|
3210
|
+
id?: string | undefined;
|
|
3211
|
+
description?: string | undefined;
|
|
3212
|
+
synonyms?: string | undefined;
|
|
3213
|
+
tier?: string | undefined;
|
|
3214
|
+
payloadSchema?: PayloadField[] | undefined;
|
|
3215
|
+
classification?: "domain" | "system" | undefined;
|
|
3216
|
+
semanticRole?: string | undefined;
|
|
3130
3217
|
}[];
|
|
3131
3218
|
guards?: {
|
|
3132
3219
|
name: string;
|
|
@@ -3153,11 +3240,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3153
3240
|
interval: string | number;
|
|
3154
3241
|
description?: string | undefined;
|
|
3155
3242
|
pages?: string[] | undefined;
|
|
3156
|
-
|
|
3243
|
+
emits?: string[] | undefined;
|
|
3157
3244
|
guard?: SExpr | undefined;
|
|
3245
|
+
priority?: number | undefined;
|
|
3158
3246
|
appliesTo?: string[] | undefined;
|
|
3159
3247
|
pageIds?: PageId[] | undefined;
|
|
3160
|
-
emits?: string[] | undefined;
|
|
3161
3248
|
emitIds?: EventId[] | undefined;
|
|
3162
3249
|
}, {
|
|
3163
3250
|
name: string;
|
|
@@ -3165,11 +3252,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3165
3252
|
interval: string | number;
|
|
3166
3253
|
description?: string | undefined;
|
|
3167
3254
|
pages?: string[] | undefined;
|
|
3168
|
-
|
|
3255
|
+
emits?: string[] | undefined;
|
|
3169
3256
|
guard?: SExpr | undefined;
|
|
3257
|
+
priority?: number | undefined;
|
|
3170
3258
|
appliesTo?: string[] | undefined;
|
|
3171
3259
|
pageIds?: string[] | undefined;
|
|
3172
|
-
emits?: string[] | undefined;
|
|
3173
3260
|
emitIds?: string[] | undefined;
|
|
3174
3261
|
}>, "many">>;
|
|
3175
3262
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3187,6 +3274,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3187
3274
|
description: z.ZodOptional<z.ZodString>;
|
|
3188
3275
|
synonyms: z.ZodOptional<z.ZodString>;
|
|
3189
3276
|
tier: z.ZodOptional<z.ZodString>;
|
|
3277
|
+
definerKnob: z.ZodOptional<z.ZodString>;
|
|
3278
|
+
scopeOverridden: z.ZodOptional<z.ZodBoolean>;
|
|
3190
3279
|
payloadSchema: z.ZodOptional<z.ZodArray<z.ZodType<EventPayloadField, z.ZodTypeDef, EventPayloadField>, "many">>;
|
|
3191
3280
|
scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
|
|
3192
3281
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3197,6 +3286,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3197
3286
|
scope?: "internal" | "external" | undefined;
|
|
3198
3287
|
tier?: string | undefined;
|
|
3199
3288
|
payloadSchema?: EventPayloadField[] | undefined;
|
|
3289
|
+
definerKnob?: string | undefined;
|
|
3290
|
+
scopeOverridden?: boolean | undefined;
|
|
3200
3291
|
}, {
|
|
3201
3292
|
event: string;
|
|
3202
3293
|
description?: string | undefined;
|
|
@@ -3205,6 +3296,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3205
3296
|
scope?: "internal" | "external" | undefined;
|
|
3206
3297
|
tier?: string | undefined;
|
|
3207
3298
|
payloadSchema?: EventPayloadField[] | undefined;
|
|
3299
|
+
definerKnob?: string | undefined;
|
|
3300
|
+
scopeOverridden?: boolean | undefined;
|
|
3208
3301
|
}>, "many">>;
|
|
3209
3302
|
listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3210
3303
|
event: z.ZodString;
|
|
@@ -3272,10 +3365,10 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3272
3365
|
traitId?: TraitId | undefined;
|
|
3273
3366
|
orbitalId?: OrbitalId | undefined;
|
|
3274
3367
|
} | undefined;
|
|
3368
|
+
guard?: SExpr | undefined;
|
|
3275
3369
|
eventId?: EventId | undefined;
|
|
3276
3370
|
scope?: "internal" | "external" | undefined;
|
|
3277
3371
|
tier?: string | undefined;
|
|
3278
|
-
guard?: SExpr | undefined;
|
|
3279
3372
|
triggersId?: EventId | undefined;
|
|
3280
3373
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
3281
3374
|
}, {
|
|
@@ -3296,10 +3389,10 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3296
3389
|
traitId?: string | undefined;
|
|
3297
3390
|
orbitalId?: string | undefined;
|
|
3298
3391
|
} | undefined;
|
|
3392
|
+
guard?: SExpr | undefined;
|
|
3299
3393
|
eventId?: string | undefined;
|
|
3300
3394
|
scope?: "internal" | "external" | undefined;
|
|
3301
3395
|
tier?: string | undefined;
|
|
3302
|
-
guard?: SExpr | undefined;
|
|
3303
3396
|
triggersId?: string | undefined;
|
|
3304
3397
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
3305
3398
|
}>, "many">>;
|
|
@@ -3319,8 +3412,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3319
3412
|
width?: string | undefined;
|
|
3320
3413
|
title?: string | undefined;
|
|
3321
3414
|
totalSteps?: number | undefined;
|
|
3322
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3323
3415
|
step?: number | undefined;
|
|
3416
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3324
3417
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
3325
3418
|
showProgress?: boolean | undefined;
|
|
3326
3419
|
closable?: boolean | undefined;
|
|
@@ -3328,8 +3421,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3328
3421
|
width?: string | undefined;
|
|
3329
3422
|
title?: string | undefined;
|
|
3330
3423
|
totalSteps?: number | undefined;
|
|
3331
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3332
3424
|
step?: number | undefined;
|
|
3425
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3333
3426
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
3334
3427
|
showProgress?: boolean | undefined;
|
|
3335
3428
|
closable?: boolean | undefined;
|
|
@@ -3341,8 +3434,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3341
3434
|
width?: string | undefined;
|
|
3342
3435
|
title?: string | undefined;
|
|
3343
3436
|
totalSteps?: number | undefined;
|
|
3344
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3345
3437
|
step?: number | undefined;
|
|
3438
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3346
3439
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
3347
3440
|
showProgress?: boolean | undefined;
|
|
3348
3441
|
closable?: boolean | undefined;
|
|
@@ -3354,8 +3447,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3354
3447
|
width?: string | undefined;
|
|
3355
3448
|
title?: string | undefined;
|
|
3356
3449
|
totalSteps?: number | undefined;
|
|
3357
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3358
3450
|
step?: number | undefined;
|
|
3451
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3359
3452
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
3360
3453
|
showProgress?: boolean | undefined;
|
|
3361
3454
|
closable?: boolean | undefined;
|
|
@@ -3495,6 +3588,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3495
3588
|
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
3496
3589
|
} | undefined;
|
|
3497
3590
|
}>>;
|
|
3591
|
+
typeParams: z.ZodOptional<z.ZodArray<z.ZodType<TraitTypeParamDef, z.ZodTypeDef, TraitTypeParamDef>, "many">>;
|
|
3498
3592
|
}, "strip", z.ZodTypeAny, {
|
|
3499
3593
|
name: string;
|
|
3500
3594
|
scope: "collection" | "instance";
|
|
@@ -3507,8 +3601,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3507
3601
|
width?: string | undefined;
|
|
3508
3602
|
title?: string | undefined;
|
|
3509
3603
|
totalSteps?: number | undefined;
|
|
3510
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3511
3604
|
step?: number | undefined;
|
|
3605
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3512
3606
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
3513
3607
|
showProgress?: boolean | undefined;
|
|
3514
3608
|
closable?: boolean | undefined;
|
|
@@ -3516,6 +3610,43 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3516
3610
|
}> | undefined;
|
|
3517
3611
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
3518
3612
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
3613
|
+
emits?: {
|
|
3614
|
+
event: string;
|
|
3615
|
+
description?: string | undefined;
|
|
3616
|
+
synonyms?: string | undefined;
|
|
3617
|
+
eventId?: EventId | undefined;
|
|
3618
|
+
scope?: "internal" | "external" | undefined;
|
|
3619
|
+
tier?: string | undefined;
|
|
3620
|
+
payloadSchema?: EventPayloadField[] | undefined;
|
|
3621
|
+
definerKnob?: string | undefined;
|
|
3622
|
+
scopeOverridden?: boolean | undefined;
|
|
3623
|
+
}[] | undefined;
|
|
3624
|
+
listens?: {
|
|
3625
|
+
event: string;
|
|
3626
|
+
triggers: string;
|
|
3627
|
+
description?: string | undefined;
|
|
3628
|
+
synonyms?: string | undefined;
|
|
3629
|
+
source?: {
|
|
3630
|
+
kind: "any";
|
|
3631
|
+
} | {
|
|
3632
|
+
trait: string;
|
|
3633
|
+
kind: "trait";
|
|
3634
|
+
traitId?: TraitId | undefined;
|
|
3635
|
+
} | {
|
|
3636
|
+
orbital: string;
|
|
3637
|
+
trait: string;
|
|
3638
|
+
kind: "orbital";
|
|
3639
|
+
traitId?: TraitId | undefined;
|
|
3640
|
+
orbitalId?: OrbitalId | undefined;
|
|
3641
|
+
} | undefined;
|
|
3642
|
+
guard?: SExpr | undefined;
|
|
3643
|
+
eventId?: EventId | undefined;
|
|
3644
|
+
scope?: "internal" | "external" | undefined;
|
|
3645
|
+
tier?: string | undefined;
|
|
3646
|
+
triggersId?: EventId | undefined;
|
|
3647
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
3648
|
+
}[] | undefined;
|
|
3649
|
+
linkedEntity?: string | undefined;
|
|
3519
3650
|
capabilities?: string[] | undefined;
|
|
3520
3651
|
dataEntities?: {
|
|
3521
3652
|
name: string;
|
|
@@ -3528,23 +3659,12 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3528
3659
|
singleton?: boolean | undefined;
|
|
3529
3660
|
}[] | undefined;
|
|
3530
3661
|
stateMachine?: {
|
|
3531
|
-
events: {
|
|
3532
|
-
name: string;
|
|
3533
|
-
key: string;
|
|
3534
|
-
id?: EventId | undefined;
|
|
3535
|
-
description?: string | undefined;
|
|
3536
|
-
synonyms?: string | undefined;
|
|
3537
|
-
tier?: string | undefined;
|
|
3538
|
-
payloadSchema?: PayloadField[] | undefined;
|
|
3539
|
-
classification?: "domain" | "system" | undefined;
|
|
3540
|
-
semanticRole?: string | undefined;
|
|
3541
|
-
}[];
|
|
3542
3662
|
states: {
|
|
3543
3663
|
name: string;
|
|
3544
3664
|
description?: string | undefined;
|
|
3545
3665
|
isInitial?: boolean | undefined;
|
|
3546
|
-
isTerminal?: boolean | undefined;
|
|
3547
3666
|
isFinal?: boolean | undefined;
|
|
3667
|
+
isTerminal?: boolean | undefined;
|
|
3548
3668
|
onEntry?: string[] | undefined;
|
|
3549
3669
|
onExit?: string[] | undefined;
|
|
3550
3670
|
}[];
|
|
@@ -3553,9 +3673,20 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3553
3673
|
from: string;
|
|
3554
3674
|
to: string;
|
|
3555
3675
|
description?: string | null | undefined;
|
|
3556
|
-
eventId?: EventId | undefined;
|
|
3557
3676
|
guard?: SExpr | undefined;
|
|
3558
3677
|
effects?: SExpr[][] | undefined;
|
|
3678
|
+
eventId?: EventId | undefined;
|
|
3679
|
+
}[];
|
|
3680
|
+
events: {
|
|
3681
|
+
name: string;
|
|
3682
|
+
key: string;
|
|
3683
|
+
id?: EventId | undefined;
|
|
3684
|
+
description?: string | undefined;
|
|
3685
|
+
synonyms?: string | undefined;
|
|
3686
|
+
tier?: string | undefined;
|
|
3687
|
+
payloadSchema?: PayloadField[] | undefined;
|
|
3688
|
+
classification?: "domain" | "system" | undefined;
|
|
3689
|
+
semanticRole?: string | undefined;
|
|
3559
3690
|
}[];
|
|
3560
3691
|
guards?: {
|
|
3561
3692
|
name: string;
|
|
@@ -3563,42 +3694,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3563
3694
|
description?: string | undefined;
|
|
3564
3695
|
}[] | undefined;
|
|
3565
3696
|
} | undefined;
|
|
3566
|
-
emits?: {
|
|
3567
|
-
event: string;
|
|
3568
|
-
description?: string | undefined;
|
|
3569
|
-
synonyms?: string | undefined;
|
|
3570
|
-
eventId?: EventId | undefined;
|
|
3571
|
-
scope?: "internal" | "external" | undefined;
|
|
3572
|
-
tier?: string | undefined;
|
|
3573
|
-
payloadSchema?: EventPayloadField[] | undefined;
|
|
3574
|
-
}[] | undefined;
|
|
3575
|
-
linkedEntity?: string | undefined;
|
|
3576
3697
|
linkedEntityId?: EntityId | undefined;
|
|
3577
|
-
listens?: {
|
|
3578
|
-
event: string;
|
|
3579
|
-
triggers: string;
|
|
3580
|
-
description?: string | undefined;
|
|
3581
|
-
synonyms?: string | undefined;
|
|
3582
|
-
source?: {
|
|
3583
|
-
kind: "any";
|
|
3584
|
-
} | {
|
|
3585
|
-
trait: string;
|
|
3586
|
-
kind: "trait";
|
|
3587
|
-
traitId?: TraitId | undefined;
|
|
3588
|
-
} | {
|
|
3589
|
-
orbital: string;
|
|
3590
|
-
trait: string;
|
|
3591
|
-
kind: "orbital";
|
|
3592
|
-
traitId?: TraitId | undefined;
|
|
3593
|
-
orbitalId?: OrbitalId | undefined;
|
|
3594
|
-
} | undefined;
|
|
3595
|
-
eventId?: EventId | undefined;
|
|
3596
|
-
scope?: "internal" | "external" | undefined;
|
|
3597
|
-
tier?: string | undefined;
|
|
3598
|
-
guard?: SExpr | undefined;
|
|
3599
|
-
triggersId?: EventId | undefined;
|
|
3600
|
-
payloadMapping?: Record<string, SExpr> | undefined;
|
|
3601
|
-
}[] | undefined;
|
|
3602
3698
|
description_visual_prompt?: string | undefined;
|
|
3603
3699
|
entityRebindable?: boolean | undefined;
|
|
3604
3700
|
entityContract?: {
|
|
@@ -3621,11 +3717,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3621
3717
|
interval: string | number;
|
|
3622
3718
|
description?: string | undefined;
|
|
3623
3719
|
pages?: string[] | undefined;
|
|
3624
|
-
|
|
3720
|
+
emits?: string[] | undefined;
|
|
3625
3721
|
guard?: SExpr | undefined;
|
|
3722
|
+
priority?: number | undefined;
|
|
3626
3723
|
appliesTo?: string[] | undefined;
|
|
3627
3724
|
pageIds?: PageId[] | undefined;
|
|
3628
|
-
emits?: string[] | undefined;
|
|
3629
3725
|
emitIds?: EventId[] | undefined;
|
|
3630
3726
|
}[] | undefined;
|
|
3631
3727
|
sourceBehavior?: {
|
|
@@ -3665,6 +3761,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3665
3761
|
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
3666
3762
|
} | undefined;
|
|
3667
3763
|
} | undefined;
|
|
3764
|
+
typeParams?: TraitTypeParamDef[] | undefined;
|
|
3668
3765
|
}, {
|
|
3669
3766
|
name: string;
|
|
3670
3767
|
scope: "collection" | "instance";
|
|
@@ -3677,8 +3774,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3677
3774
|
width?: string | undefined;
|
|
3678
3775
|
title?: string | undefined;
|
|
3679
3776
|
totalSteps?: number | undefined;
|
|
3680
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3681
3777
|
step?: number | undefined;
|
|
3778
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
3682
3779
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
3683
3780
|
showProgress?: boolean | undefined;
|
|
3684
3781
|
closable?: boolean | undefined;
|
|
@@ -3686,6 +3783,43 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3686
3783
|
}> | undefined;
|
|
3687
3784
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
3688
3785
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
3786
|
+
emits?: {
|
|
3787
|
+
event: string;
|
|
3788
|
+
description?: string | undefined;
|
|
3789
|
+
synonyms?: string | undefined;
|
|
3790
|
+
eventId?: string | undefined;
|
|
3791
|
+
scope?: "internal" | "external" | undefined;
|
|
3792
|
+
tier?: string | undefined;
|
|
3793
|
+
payloadSchema?: EventPayloadField[] | undefined;
|
|
3794
|
+
definerKnob?: string | undefined;
|
|
3795
|
+
scopeOverridden?: boolean | undefined;
|
|
3796
|
+
}[] | undefined;
|
|
3797
|
+
listens?: {
|
|
3798
|
+
event: string;
|
|
3799
|
+
triggers: string;
|
|
3800
|
+
description?: string | undefined;
|
|
3801
|
+
synonyms?: string | undefined;
|
|
3802
|
+
source?: {
|
|
3803
|
+
kind: "any";
|
|
3804
|
+
} | {
|
|
3805
|
+
trait: string;
|
|
3806
|
+
kind: "trait";
|
|
3807
|
+
traitId?: string | undefined;
|
|
3808
|
+
} | {
|
|
3809
|
+
orbital: string;
|
|
3810
|
+
trait: string;
|
|
3811
|
+
kind: "orbital";
|
|
3812
|
+
traitId?: string | undefined;
|
|
3813
|
+
orbitalId?: string | undefined;
|
|
3814
|
+
} | undefined;
|
|
3815
|
+
guard?: SExpr | undefined;
|
|
3816
|
+
eventId?: string | undefined;
|
|
3817
|
+
scope?: "internal" | "external" | undefined;
|
|
3818
|
+
tier?: string | undefined;
|
|
3819
|
+
triggersId?: string | undefined;
|
|
3820
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
3821
|
+
}[] | undefined;
|
|
3822
|
+
linkedEntity?: string | undefined;
|
|
3689
3823
|
capabilities?: string[] | undefined;
|
|
3690
3824
|
dataEntities?: {
|
|
3691
3825
|
name: string;
|
|
@@ -3698,23 +3832,12 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3698
3832
|
singleton?: boolean | undefined;
|
|
3699
3833
|
}[] | undefined;
|
|
3700
3834
|
stateMachine?: {
|
|
3701
|
-
events: {
|
|
3702
|
-
name: string;
|
|
3703
|
-
key: string;
|
|
3704
|
-
id?: string | undefined;
|
|
3705
|
-
description?: string | undefined;
|
|
3706
|
-
synonyms?: string | undefined;
|
|
3707
|
-
tier?: string | undefined;
|
|
3708
|
-
payloadSchema?: PayloadField[] | undefined;
|
|
3709
|
-
classification?: "domain" | "system" | undefined;
|
|
3710
|
-
semanticRole?: string | undefined;
|
|
3711
|
-
}[];
|
|
3712
3835
|
states: {
|
|
3713
3836
|
name: string;
|
|
3714
3837
|
description?: string | undefined;
|
|
3715
3838
|
isInitial?: boolean | undefined;
|
|
3716
|
-
isTerminal?: boolean | undefined;
|
|
3717
3839
|
isFinal?: boolean | undefined;
|
|
3840
|
+
isTerminal?: boolean | undefined;
|
|
3718
3841
|
onEntry?: string[] | undefined;
|
|
3719
3842
|
onExit?: string[] | undefined;
|
|
3720
3843
|
}[];
|
|
@@ -3723,9 +3846,20 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3723
3846
|
from: string;
|
|
3724
3847
|
to: string;
|
|
3725
3848
|
description?: string | null | undefined;
|
|
3726
|
-
eventId?: string | undefined;
|
|
3727
3849
|
guard?: SExpr | undefined;
|
|
3728
3850
|
effects?: SExpr[][] | undefined;
|
|
3851
|
+
eventId?: string | undefined;
|
|
3852
|
+
}[];
|
|
3853
|
+
events: {
|
|
3854
|
+
name: string;
|
|
3855
|
+
key: string;
|
|
3856
|
+
id?: string | undefined;
|
|
3857
|
+
description?: string | undefined;
|
|
3858
|
+
synonyms?: string | undefined;
|
|
3859
|
+
tier?: string | undefined;
|
|
3860
|
+
payloadSchema?: PayloadField[] | undefined;
|
|
3861
|
+
classification?: "domain" | "system" | undefined;
|
|
3862
|
+
semanticRole?: string | undefined;
|
|
3729
3863
|
}[];
|
|
3730
3864
|
guards?: {
|
|
3731
3865
|
name: string;
|
|
@@ -3733,42 +3867,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3733
3867
|
description?: string | undefined;
|
|
3734
3868
|
}[] | undefined;
|
|
3735
3869
|
} | undefined;
|
|
3736
|
-
emits?: {
|
|
3737
|
-
event: string;
|
|
3738
|
-
description?: string | undefined;
|
|
3739
|
-
synonyms?: string | undefined;
|
|
3740
|
-
eventId?: string | undefined;
|
|
3741
|
-
scope?: "internal" | "external" | undefined;
|
|
3742
|
-
tier?: string | undefined;
|
|
3743
|
-
payloadSchema?: EventPayloadField[] | undefined;
|
|
3744
|
-
}[] | undefined;
|
|
3745
|
-
linkedEntity?: string | undefined;
|
|
3746
3870
|
linkedEntityId?: string | undefined;
|
|
3747
|
-
listens?: {
|
|
3748
|
-
event: string;
|
|
3749
|
-
triggers: string;
|
|
3750
|
-
description?: string | undefined;
|
|
3751
|
-
synonyms?: string | undefined;
|
|
3752
|
-
source?: {
|
|
3753
|
-
kind: "any";
|
|
3754
|
-
} | {
|
|
3755
|
-
trait: string;
|
|
3756
|
-
kind: "trait";
|
|
3757
|
-
traitId?: string | undefined;
|
|
3758
|
-
} | {
|
|
3759
|
-
orbital: string;
|
|
3760
|
-
trait: string;
|
|
3761
|
-
kind: "orbital";
|
|
3762
|
-
traitId?: string | undefined;
|
|
3763
|
-
orbitalId?: string | undefined;
|
|
3764
|
-
} | undefined;
|
|
3765
|
-
eventId?: string | undefined;
|
|
3766
|
-
scope?: "internal" | "external" | undefined;
|
|
3767
|
-
tier?: string | undefined;
|
|
3768
|
-
guard?: SExpr | undefined;
|
|
3769
|
-
triggersId?: string | undefined;
|
|
3770
|
-
payloadMapping?: Record<string, SExpr> | undefined;
|
|
3771
|
-
}[] | undefined;
|
|
3772
3871
|
description_visual_prompt?: string | undefined;
|
|
3773
3872
|
entityRebindable?: boolean | undefined;
|
|
3774
3873
|
entityContract?: {
|
|
@@ -3791,11 +3890,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3791
3890
|
interval: string | number;
|
|
3792
3891
|
description?: string | undefined;
|
|
3793
3892
|
pages?: string[] | undefined;
|
|
3794
|
-
|
|
3893
|
+
emits?: string[] | undefined;
|
|
3795
3894
|
guard?: SExpr | undefined;
|
|
3895
|
+
priority?: number | undefined;
|
|
3796
3896
|
appliesTo?: string[] | undefined;
|
|
3797
3897
|
pageIds?: string[] | undefined;
|
|
3798
|
-
emits?: string[] | undefined;
|
|
3799
3898
|
emitIds?: string[] | undefined;
|
|
3800
3899
|
}[] | undefined;
|
|
3801
3900
|
sourceBehavior?: {
|
|
@@ -3835,6 +3934,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3835
3934
|
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
3836
3935
|
} | undefined;
|
|
3837
3936
|
} | undefined;
|
|
3937
|
+
typeParams?: TraitTypeParamDef[] | undefined;
|
|
3838
3938
|
}>]>;
|
|
3839
3939
|
/**
|
|
3840
3940
|
* Check if a trait ref is an inline Trait definition
|
|
@@ -3916,6 +4016,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3916
4016
|
name: z.ZodOptional<z.ZodString>;
|
|
3917
4017
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3918
4018
|
eventIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, EventId, string>>>;
|
|
4019
|
+
typeArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3919
4020
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3920
4021
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodType<ConfigFieldDeclaration, z.ZodTypeDef, ConfigFieldDeclaration>, z.ZodType<TraitConfigValue, z.ZodTypeDef, TraitConfigValue>]>>>;
|
|
3921
4022
|
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3985,10 +4086,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
3985
4086
|
traitId?: TraitId | undefined;
|
|
3986
4087
|
orbitalId?: OrbitalId | undefined;
|
|
3987
4088
|
} | undefined;
|
|
4089
|
+
guard?: SExpr | undefined;
|
|
3988
4090
|
eventId?: EventId | undefined;
|
|
3989
4091
|
scope?: "internal" | "external" | undefined;
|
|
3990
4092
|
tier?: string | undefined;
|
|
3991
|
-
guard?: SExpr | undefined;
|
|
3992
4093
|
triggersId?: EventId | undefined;
|
|
3993
4094
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
3994
4095
|
}, {
|
|
@@ -4009,10 +4110,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4009
4110
|
traitId?: string | undefined;
|
|
4010
4111
|
orbitalId?: string | undefined;
|
|
4011
4112
|
} | undefined;
|
|
4113
|
+
guard?: SExpr | undefined;
|
|
4012
4114
|
eventId?: string | undefined;
|
|
4013
4115
|
scope?: "internal" | "external" | undefined;
|
|
4014
4116
|
tier?: string | undefined;
|
|
4015
|
-
guard?: SExpr | undefined;
|
|
4016
4117
|
triggersId?: string | undefined;
|
|
4017
4118
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
4018
4119
|
}>, "many">>;
|
|
@@ -4025,13 +4126,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4025
4126
|
name?: string | undefined;
|
|
4026
4127
|
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
4027
4128
|
fields?: Record<string, string> | undefined;
|
|
4028
|
-
events?: Record<string, string> | undefined;
|
|
4029
|
-
effects?: Record<string, SExpr[]> | undefined;
|
|
4030
|
-
refId?: TraitId | undefined;
|
|
4031
|
-
appliesTo?: string[] | undefined;
|
|
4032
|
-
linkedEntity?: string | undefined;
|
|
4033
|
-
linkedEntityId?: EntityId | undefined;
|
|
4034
|
-
eventIds?: Record<string, EventId> | undefined;
|
|
4035
4129
|
listens?: {
|
|
4036
4130
|
event: string;
|
|
4037
4131
|
triggers: string;
|
|
@@ -4050,13 +4144,21 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4050
4144
|
traitId?: TraitId | undefined;
|
|
4051
4145
|
orbitalId?: OrbitalId | undefined;
|
|
4052
4146
|
} | undefined;
|
|
4147
|
+
guard?: SExpr | undefined;
|
|
4053
4148
|
eventId?: EventId | undefined;
|
|
4054
4149
|
scope?: "internal" | "external" | undefined;
|
|
4055
4150
|
tier?: string | undefined;
|
|
4056
|
-
guard?: SExpr | undefined;
|
|
4057
4151
|
triggersId?: EventId | undefined;
|
|
4058
4152
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
4059
4153
|
}[] | undefined;
|
|
4154
|
+
effects?: Record<string, SExpr[]> | undefined;
|
|
4155
|
+
linkedEntity?: string | undefined;
|
|
4156
|
+
events?: Record<string, string> | undefined;
|
|
4157
|
+
refId?: TraitId | undefined;
|
|
4158
|
+
appliesTo?: string[] | undefined;
|
|
4159
|
+
linkedEntityId?: EntityId | undefined;
|
|
4160
|
+
eventIds?: Record<string, EventId> | undefined;
|
|
4161
|
+
typeArgs?: Record<string, string> | undefined;
|
|
4060
4162
|
emitsScope?: "internal" | "external" | undefined;
|
|
4061
4163
|
}, {
|
|
4062
4164
|
ref: string;
|
|
@@ -4065,13 +4167,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4065
4167
|
name?: string | undefined;
|
|
4066
4168
|
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
4067
4169
|
fields?: Record<string, string> | undefined;
|
|
4068
|
-
events?: Record<string, string> | undefined;
|
|
4069
|
-
effects?: Record<string, SExpr[]> | undefined;
|
|
4070
|
-
refId?: string | undefined;
|
|
4071
|
-
appliesTo?: string[] | undefined;
|
|
4072
|
-
linkedEntity?: string | undefined;
|
|
4073
|
-
linkedEntityId?: string | undefined;
|
|
4074
|
-
eventIds?: Record<string, string> | undefined;
|
|
4075
4170
|
listens?: {
|
|
4076
4171
|
event: string;
|
|
4077
4172
|
triggers: string;
|
|
@@ -4090,13 +4185,21 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4090
4185
|
traitId?: string | undefined;
|
|
4091
4186
|
orbitalId?: string | undefined;
|
|
4092
4187
|
} | undefined;
|
|
4188
|
+
guard?: SExpr | undefined;
|
|
4093
4189
|
eventId?: string | undefined;
|
|
4094
4190
|
scope?: "internal" | "external" | undefined;
|
|
4095
4191
|
tier?: string | undefined;
|
|
4096
|
-
guard?: SExpr | undefined;
|
|
4097
4192
|
triggersId?: string | undefined;
|
|
4098
4193
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
4099
4194
|
}[] | undefined;
|
|
4195
|
+
effects?: Record<string, SExpr[]> | undefined;
|
|
4196
|
+
linkedEntity?: string | undefined;
|
|
4197
|
+
events?: Record<string, string> | undefined;
|
|
4198
|
+
refId?: string | undefined;
|
|
4199
|
+
appliesTo?: string[] | undefined;
|
|
4200
|
+
linkedEntityId?: string | undefined;
|
|
4201
|
+
eventIds?: Record<string, string> | undefined;
|
|
4202
|
+
typeArgs?: Record<string, string> | undefined;
|
|
4100
4203
|
emitsScope?: "internal" | "external" | undefined;
|
|
4101
4204
|
}>, {
|
|
4102
4205
|
ref: string;
|
|
@@ -4105,13 +4208,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4105
4208
|
name?: string | undefined;
|
|
4106
4209
|
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
4107
4210
|
fields?: Record<string, string> | undefined;
|
|
4108
|
-
events?: Record<string, string> | undefined;
|
|
4109
|
-
effects?: Record<string, SExpr[]> | undefined;
|
|
4110
|
-
refId?: TraitId | undefined;
|
|
4111
|
-
appliesTo?: string[] | undefined;
|
|
4112
|
-
linkedEntity?: string | undefined;
|
|
4113
|
-
linkedEntityId?: EntityId | undefined;
|
|
4114
|
-
eventIds?: Record<string, EventId> | undefined;
|
|
4115
4211
|
listens?: {
|
|
4116
4212
|
event: string;
|
|
4117
4213
|
triggers: string;
|
|
@@ -4130,13 +4226,21 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4130
4226
|
traitId?: TraitId | undefined;
|
|
4131
4227
|
orbitalId?: OrbitalId | undefined;
|
|
4132
4228
|
} | undefined;
|
|
4229
|
+
guard?: SExpr | undefined;
|
|
4133
4230
|
eventId?: EventId | undefined;
|
|
4134
4231
|
scope?: "internal" | "external" | undefined;
|
|
4135
4232
|
tier?: string | undefined;
|
|
4136
|
-
guard?: SExpr | undefined;
|
|
4137
4233
|
triggersId?: EventId | undefined;
|
|
4138
4234
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
4139
4235
|
}[] | undefined;
|
|
4236
|
+
effects?: Record<string, SExpr[]> | undefined;
|
|
4237
|
+
linkedEntity?: string | undefined;
|
|
4238
|
+
events?: Record<string, string> | undefined;
|
|
4239
|
+
refId?: TraitId | undefined;
|
|
4240
|
+
appliesTo?: string[] | undefined;
|
|
4241
|
+
linkedEntityId?: EntityId | undefined;
|
|
4242
|
+
eventIds?: Record<string, EventId> | undefined;
|
|
4243
|
+
typeArgs?: Record<string, string> | undefined;
|
|
4140
4244
|
emitsScope?: "internal" | "external" | undefined;
|
|
4141
4245
|
}, {
|
|
4142
4246
|
ref: string;
|
|
@@ -4145,13 +4249,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4145
4249
|
name?: string | undefined;
|
|
4146
4250
|
config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
|
|
4147
4251
|
fields?: Record<string, string> | undefined;
|
|
4148
|
-
events?: Record<string, string> | undefined;
|
|
4149
|
-
effects?: Record<string, SExpr[]> | undefined;
|
|
4150
|
-
refId?: string | undefined;
|
|
4151
|
-
appliesTo?: string[] | undefined;
|
|
4152
|
-
linkedEntity?: string | undefined;
|
|
4153
|
-
linkedEntityId?: string | undefined;
|
|
4154
|
-
eventIds?: Record<string, string> | undefined;
|
|
4155
4252
|
listens?: {
|
|
4156
4253
|
event: string;
|
|
4157
4254
|
triggers: string;
|
|
@@ -4170,13 +4267,21 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4170
4267
|
traitId?: string | undefined;
|
|
4171
4268
|
orbitalId?: string | undefined;
|
|
4172
4269
|
} | undefined;
|
|
4270
|
+
guard?: SExpr | undefined;
|
|
4173
4271
|
eventId?: string | undefined;
|
|
4174
4272
|
scope?: "internal" | "external" | undefined;
|
|
4175
4273
|
tier?: string | undefined;
|
|
4176
|
-
guard?: SExpr | undefined;
|
|
4177
4274
|
triggersId?: string | undefined;
|
|
4178
4275
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
4179
4276
|
}[] | undefined;
|
|
4277
|
+
effects?: Record<string, SExpr[]> | undefined;
|
|
4278
|
+
linkedEntity?: string | undefined;
|
|
4279
|
+
events?: Record<string, string> | undefined;
|
|
4280
|
+
refId?: string | undefined;
|
|
4281
|
+
appliesTo?: string[] | undefined;
|
|
4282
|
+
linkedEntityId?: string | undefined;
|
|
4283
|
+
eventIds?: Record<string, string> | undefined;
|
|
4284
|
+
typeArgs?: Record<string, string> | undefined;
|
|
4180
4285
|
emitsScope?: "internal" | "external" | undefined;
|
|
4181
4286
|
}>, z.ZodObject<{
|
|
4182
4287
|
id: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
|
|
@@ -4257,16 +4362,16 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4257
4362
|
name: string;
|
|
4258
4363
|
description?: string | undefined;
|
|
4259
4364
|
isInitial?: boolean | undefined;
|
|
4260
|
-
isTerminal?: boolean | undefined;
|
|
4261
4365
|
isFinal?: boolean | undefined;
|
|
4366
|
+
isTerminal?: boolean | undefined;
|
|
4262
4367
|
onEntry?: string[] | undefined;
|
|
4263
4368
|
onExit?: string[] | undefined;
|
|
4264
4369
|
}, {
|
|
4265
4370
|
name: string;
|
|
4266
4371
|
description?: string | undefined;
|
|
4267
4372
|
isInitial?: boolean | undefined;
|
|
4268
|
-
isTerminal?: boolean | undefined;
|
|
4269
4373
|
isFinal?: boolean | undefined;
|
|
4374
|
+
isTerminal?: boolean | undefined;
|
|
4270
4375
|
onEntry?: string[] | undefined;
|
|
4271
4376
|
onExit?: string[] | undefined;
|
|
4272
4377
|
}>, "many">;
|
|
@@ -4314,17 +4419,17 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4314
4419
|
from: string;
|
|
4315
4420
|
to: string;
|
|
4316
4421
|
description?: string | null | undefined;
|
|
4317
|
-
eventId?: EventId | undefined;
|
|
4318
4422
|
guard?: SExpr | undefined;
|
|
4319
4423
|
effects?: SExpr[][] | undefined;
|
|
4424
|
+
eventId?: EventId | undefined;
|
|
4320
4425
|
}, {
|
|
4321
4426
|
event: string;
|
|
4322
4427
|
from: string;
|
|
4323
4428
|
to: string;
|
|
4324
4429
|
description?: string | null | undefined;
|
|
4325
|
-
eventId?: string | undefined;
|
|
4326
4430
|
guard?: SExpr | undefined;
|
|
4327
4431
|
effects?: SExpr[][] | undefined;
|
|
4432
|
+
eventId?: string | undefined;
|
|
4328
4433
|
}>, "many">;
|
|
4329
4434
|
guards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4330
4435
|
name: z.ZodString;
|
|
@@ -4340,23 +4445,12 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4340
4445
|
description?: string | undefined;
|
|
4341
4446
|
}>, "many">>;
|
|
4342
4447
|
}, "strip", z.ZodTypeAny, {
|
|
4343
|
-
events: {
|
|
4344
|
-
name: string;
|
|
4345
|
-
key: string;
|
|
4346
|
-
id?: EventId | undefined;
|
|
4347
|
-
description?: string | undefined;
|
|
4348
|
-
synonyms?: string | undefined;
|
|
4349
|
-
tier?: string | undefined;
|
|
4350
|
-
payloadSchema?: PayloadField[] | undefined;
|
|
4351
|
-
classification?: "domain" | "system" | undefined;
|
|
4352
|
-
semanticRole?: string | undefined;
|
|
4353
|
-
}[];
|
|
4354
4448
|
states: {
|
|
4355
4449
|
name: string;
|
|
4356
4450
|
description?: string | undefined;
|
|
4357
4451
|
isInitial?: boolean | undefined;
|
|
4358
|
-
isTerminal?: boolean | undefined;
|
|
4359
4452
|
isFinal?: boolean | undefined;
|
|
4453
|
+
isTerminal?: boolean | undefined;
|
|
4360
4454
|
onEntry?: string[] | undefined;
|
|
4361
4455
|
onExit?: string[] | undefined;
|
|
4362
4456
|
}[];
|
|
@@ -4365,20 +4459,14 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4365
4459
|
from: string;
|
|
4366
4460
|
to: string;
|
|
4367
4461
|
description?: string | null | undefined;
|
|
4368
|
-
eventId?: EventId | undefined;
|
|
4369
4462
|
guard?: SExpr | undefined;
|
|
4370
4463
|
effects?: SExpr[][] | undefined;
|
|
4464
|
+
eventId?: EventId | undefined;
|
|
4371
4465
|
}[];
|
|
4372
|
-
guards?: {
|
|
4373
|
-
name: string;
|
|
4374
|
-
expression: SExpr;
|
|
4375
|
-
description?: string | undefined;
|
|
4376
|
-
}[] | undefined;
|
|
4377
|
-
}, {
|
|
4378
4466
|
events: {
|
|
4379
4467
|
name: string;
|
|
4380
4468
|
key: string;
|
|
4381
|
-
id?:
|
|
4469
|
+
id?: EventId | undefined;
|
|
4382
4470
|
description?: string | undefined;
|
|
4383
4471
|
synonyms?: string | undefined;
|
|
4384
4472
|
tier?: string | undefined;
|
|
@@ -4386,12 +4474,18 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4386
4474
|
classification?: "domain" | "system" | undefined;
|
|
4387
4475
|
semanticRole?: string | undefined;
|
|
4388
4476
|
}[];
|
|
4477
|
+
guards?: {
|
|
4478
|
+
name: string;
|
|
4479
|
+
expression: SExpr;
|
|
4480
|
+
description?: string | undefined;
|
|
4481
|
+
}[] | undefined;
|
|
4482
|
+
}, {
|
|
4389
4483
|
states: {
|
|
4390
4484
|
name: string;
|
|
4391
4485
|
description?: string | undefined;
|
|
4392
4486
|
isInitial?: boolean | undefined;
|
|
4393
|
-
isTerminal?: boolean | undefined;
|
|
4394
4487
|
isFinal?: boolean | undefined;
|
|
4488
|
+
isTerminal?: boolean | undefined;
|
|
4395
4489
|
onEntry?: string[] | undefined;
|
|
4396
4490
|
onExit?: string[] | undefined;
|
|
4397
4491
|
}[];
|
|
@@ -4400,9 +4494,20 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4400
4494
|
from: string;
|
|
4401
4495
|
to: string;
|
|
4402
4496
|
description?: string | null | undefined;
|
|
4403
|
-
eventId?: string | undefined;
|
|
4404
4497
|
guard?: SExpr | undefined;
|
|
4405
4498
|
effects?: SExpr[][] | undefined;
|
|
4499
|
+
eventId?: string | undefined;
|
|
4500
|
+
}[];
|
|
4501
|
+
events: {
|
|
4502
|
+
name: string;
|
|
4503
|
+
key: string;
|
|
4504
|
+
id?: string | undefined;
|
|
4505
|
+
description?: string | undefined;
|
|
4506
|
+
synonyms?: string | undefined;
|
|
4507
|
+
tier?: string | undefined;
|
|
4508
|
+
payloadSchema?: PayloadField[] | undefined;
|
|
4509
|
+
classification?: "domain" | "system" | undefined;
|
|
4510
|
+
semanticRole?: string | undefined;
|
|
4406
4511
|
}[];
|
|
4407
4512
|
guards?: {
|
|
4408
4513
|
name: string;
|
|
@@ -4429,11 +4534,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4429
4534
|
interval: string | number;
|
|
4430
4535
|
description?: string | undefined;
|
|
4431
4536
|
pages?: string[] | undefined;
|
|
4432
|
-
|
|
4537
|
+
emits?: string[] | undefined;
|
|
4433
4538
|
guard?: SExpr | undefined;
|
|
4539
|
+
priority?: number | undefined;
|
|
4434
4540
|
appliesTo?: string[] | undefined;
|
|
4435
4541
|
pageIds?: PageId[] | undefined;
|
|
4436
|
-
emits?: string[] | undefined;
|
|
4437
4542
|
emitIds?: EventId[] | undefined;
|
|
4438
4543
|
}, {
|
|
4439
4544
|
name: string;
|
|
@@ -4441,11 +4546,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4441
4546
|
interval: string | number;
|
|
4442
4547
|
description?: string | undefined;
|
|
4443
4548
|
pages?: string[] | undefined;
|
|
4444
|
-
|
|
4549
|
+
emits?: string[] | undefined;
|
|
4445
4550
|
guard?: SExpr | undefined;
|
|
4551
|
+
priority?: number | undefined;
|
|
4446
4552
|
appliesTo?: string[] | undefined;
|
|
4447
4553
|
pageIds?: string[] | undefined;
|
|
4448
|
-
emits?: string[] | undefined;
|
|
4449
4554
|
emitIds?: string[] | undefined;
|
|
4450
4555
|
}>, "many">>;
|
|
4451
4556
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4463,6 +4568,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4463
4568
|
description: z.ZodOptional<z.ZodString>;
|
|
4464
4569
|
synonyms: z.ZodOptional<z.ZodString>;
|
|
4465
4570
|
tier: z.ZodOptional<z.ZodString>;
|
|
4571
|
+
definerKnob: z.ZodOptional<z.ZodString>;
|
|
4572
|
+
scopeOverridden: z.ZodOptional<z.ZodBoolean>;
|
|
4466
4573
|
payloadSchema: z.ZodOptional<z.ZodArray<z.ZodType<EventPayloadField, z.ZodTypeDef, EventPayloadField>, "many">>;
|
|
4467
4574
|
scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
|
|
4468
4575
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4473,6 +4580,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4473
4580
|
scope?: "internal" | "external" | undefined;
|
|
4474
4581
|
tier?: string | undefined;
|
|
4475
4582
|
payloadSchema?: EventPayloadField[] | undefined;
|
|
4583
|
+
definerKnob?: string | undefined;
|
|
4584
|
+
scopeOverridden?: boolean | undefined;
|
|
4476
4585
|
}, {
|
|
4477
4586
|
event: string;
|
|
4478
4587
|
description?: string | undefined;
|
|
@@ -4481,6 +4590,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4481
4590
|
scope?: "internal" | "external" | undefined;
|
|
4482
4591
|
tier?: string | undefined;
|
|
4483
4592
|
payloadSchema?: EventPayloadField[] | undefined;
|
|
4593
|
+
definerKnob?: string | undefined;
|
|
4594
|
+
scopeOverridden?: boolean | undefined;
|
|
4484
4595
|
}>, "many">>;
|
|
4485
4596
|
listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4486
4597
|
event: z.ZodString;
|
|
@@ -4548,10 +4659,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4548
4659
|
traitId?: TraitId | undefined;
|
|
4549
4660
|
orbitalId?: OrbitalId | undefined;
|
|
4550
4661
|
} | undefined;
|
|
4662
|
+
guard?: SExpr | undefined;
|
|
4551
4663
|
eventId?: EventId | undefined;
|
|
4552
4664
|
scope?: "internal" | "external" | undefined;
|
|
4553
4665
|
tier?: string | undefined;
|
|
4554
|
-
guard?: SExpr | undefined;
|
|
4555
4666
|
triggersId?: EventId | undefined;
|
|
4556
4667
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
4557
4668
|
}, {
|
|
@@ -4572,10 +4683,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4572
4683
|
traitId?: string | undefined;
|
|
4573
4684
|
orbitalId?: string | undefined;
|
|
4574
4685
|
} | undefined;
|
|
4686
|
+
guard?: SExpr | undefined;
|
|
4575
4687
|
eventId?: string | undefined;
|
|
4576
4688
|
scope?: "internal" | "external" | undefined;
|
|
4577
4689
|
tier?: string | undefined;
|
|
4578
|
-
guard?: SExpr | undefined;
|
|
4579
4690
|
triggersId?: string | undefined;
|
|
4580
4691
|
payloadMapping?: Record<string, SExpr> | undefined;
|
|
4581
4692
|
}>, "many">>;
|
|
@@ -4595,8 +4706,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4595
4706
|
width?: string | undefined;
|
|
4596
4707
|
title?: string | undefined;
|
|
4597
4708
|
totalSteps?: number | undefined;
|
|
4598
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4599
4709
|
step?: number | undefined;
|
|
4710
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4600
4711
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
4601
4712
|
showProgress?: boolean | undefined;
|
|
4602
4713
|
closable?: boolean | undefined;
|
|
@@ -4604,8 +4715,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4604
4715
|
width?: string | undefined;
|
|
4605
4716
|
title?: string | undefined;
|
|
4606
4717
|
totalSteps?: number | undefined;
|
|
4607
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4608
4718
|
step?: number | undefined;
|
|
4719
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4609
4720
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
4610
4721
|
showProgress?: boolean | undefined;
|
|
4611
4722
|
closable?: boolean | undefined;
|
|
@@ -4617,8 +4728,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4617
4728
|
width?: string | undefined;
|
|
4618
4729
|
title?: string | undefined;
|
|
4619
4730
|
totalSteps?: number | undefined;
|
|
4620
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4621
4731
|
step?: number | undefined;
|
|
4732
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4622
4733
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
4623
4734
|
showProgress?: boolean | undefined;
|
|
4624
4735
|
closable?: boolean | undefined;
|
|
@@ -4630,8 +4741,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4630
4741
|
width?: string | undefined;
|
|
4631
4742
|
title?: string | undefined;
|
|
4632
4743
|
totalSteps?: number | undefined;
|
|
4633
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4634
4744
|
step?: number | undefined;
|
|
4745
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4635
4746
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
4636
4747
|
showProgress?: boolean | undefined;
|
|
4637
4748
|
closable?: boolean | undefined;
|
|
@@ -4771,6 +4882,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4771
4882
|
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4772
4883
|
} | undefined;
|
|
4773
4884
|
}>>;
|
|
4885
|
+
typeParams: z.ZodOptional<z.ZodArray<z.ZodType<TraitTypeParamDef, z.ZodTypeDef, TraitTypeParamDef>, "many">>;
|
|
4774
4886
|
}, "strip", z.ZodTypeAny, {
|
|
4775
4887
|
name: string;
|
|
4776
4888
|
scope: "collection" | "instance";
|
|
@@ -4783,8 +4895,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4783
4895
|
width?: string | undefined;
|
|
4784
4896
|
title?: string | undefined;
|
|
4785
4897
|
totalSteps?: number | undefined;
|
|
4786
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4787
4898
|
step?: number | undefined;
|
|
4899
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4788
4900
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
4789
4901
|
showProgress?: boolean | undefined;
|
|
4790
4902
|
closable?: boolean | undefined;
|
|
@@ -4792,6 +4904,43 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4792
4904
|
}> | undefined;
|
|
4793
4905
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
4794
4906
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
4907
|
+
emits?: {
|
|
4908
|
+
event: string;
|
|
4909
|
+
description?: string | undefined;
|
|
4910
|
+
synonyms?: string | undefined;
|
|
4911
|
+
eventId?: EventId | undefined;
|
|
4912
|
+
scope?: "internal" | "external" | undefined;
|
|
4913
|
+
tier?: string | undefined;
|
|
4914
|
+
payloadSchema?: EventPayloadField[] | undefined;
|
|
4915
|
+
definerKnob?: string | undefined;
|
|
4916
|
+
scopeOverridden?: boolean | undefined;
|
|
4917
|
+
}[] | undefined;
|
|
4918
|
+
listens?: {
|
|
4919
|
+
event: string;
|
|
4920
|
+
triggers: string;
|
|
4921
|
+
description?: string | undefined;
|
|
4922
|
+
synonyms?: string | undefined;
|
|
4923
|
+
source?: {
|
|
4924
|
+
kind: "any";
|
|
4925
|
+
} | {
|
|
4926
|
+
trait: string;
|
|
4927
|
+
kind: "trait";
|
|
4928
|
+
traitId?: TraitId | undefined;
|
|
4929
|
+
} | {
|
|
4930
|
+
orbital: string;
|
|
4931
|
+
trait: string;
|
|
4932
|
+
kind: "orbital";
|
|
4933
|
+
traitId?: TraitId | undefined;
|
|
4934
|
+
orbitalId?: OrbitalId | undefined;
|
|
4935
|
+
} | undefined;
|
|
4936
|
+
guard?: SExpr | undefined;
|
|
4937
|
+
eventId?: EventId | undefined;
|
|
4938
|
+
scope?: "internal" | "external" | undefined;
|
|
4939
|
+
tier?: string | undefined;
|
|
4940
|
+
triggersId?: EventId | undefined;
|
|
4941
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
4942
|
+
}[] | undefined;
|
|
4943
|
+
linkedEntity?: string | undefined;
|
|
4795
4944
|
capabilities?: string[] | undefined;
|
|
4796
4945
|
dataEntities?: {
|
|
4797
4946
|
name: string;
|
|
@@ -4804,23 +4953,12 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4804
4953
|
singleton?: boolean | undefined;
|
|
4805
4954
|
}[] | undefined;
|
|
4806
4955
|
stateMachine?: {
|
|
4807
|
-
events: {
|
|
4808
|
-
name: string;
|
|
4809
|
-
key: string;
|
|
4810
|
-
id?: EventId | undefined;
|
|
4811
|
-
description?: string | undefined;
|
|
4812
|
-
synonyms?: string | undefined;
|
|
4813
|
-
tier?: string | undefined;
|
|
4814
|
-
payloadSchema?: PayloadField[] | undefined;
|
|
4815
|
-
classification?: "domain" | "system" | undefined;
|
|
4816
|
-
semanticRole?: string | undefined;
|
|
4817
|
-
}[];
|
|
4818
4956
|
states: {
|
|
4819
4957
|
name: string;
|
|
4820
4958
|
description?: string | undefined;
|
|
4821
4959
|
isInitial?: boolean | undefined;
|
|
4822
|
-
isTerminal?: boolean | undefined;
|
|
4823
4960
|
isFinal?: boolean | undefined;
|
|
4961
|
+
isTerminal?: boolean | undefined;
|
|
4824
4962
|
onEntry?: string[] | undefined;
|
|
4825
4963
|
onExit?: string[] | undefined;
|
|
4826
4964
|
}[];
|
|
@@ -4829,9 +4967,20 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4829
4967
|
from: string;
|
|
4830
4968
|
to: string;
|
|
4831
4969
|
description?: string | null | undefined;
|
|
4832
|
-
eventId?: EventId | undefined;
|
|
4833
4970
|
guard?: SExpr | undefined;
|
|
4834
4971
|
effects?: SExpr[][] | undefined;
|
|
4972
|
+
eventId?: EventId | undefined;
|
|
4973
|
+
}[];
|
|
4974
|
+
events: {
|
|
4975
|
+
name: string;
|
|
4976
|
+
key: string;
|
|
4977
|
+
id?: EventId | undefined;
|
|
4978
|
+
description?: string | undefined;
|
|
4979
|
+
synonyms?: string | undefined;
|
|
4980
|
+
tier?: string | undefined;
|
|
4981
|
+
payloadSchema?: PayloadField[] | undefined;
|
|
4982
|
+
classification?: "domain" | "system" | undefined;
|
|
4983
|
+
semanticRole?: string | undefined;
|
|
4835
4984
|
}[];
|
|
4836
4985
|
guards?: {
|
|
4837
4986
|
name: string;
|
|
@@ -4839,42 +4988,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4839
4988
|
description?: string | undefined;
|
|
4840
4989
|
}[] | undefined;
|
|
4841
4990
|
} | undefined;
|
|
4842
|
-
emits?: {
|
|
4843
|
-
event: string;
|
|
4844
|
-
description?: string | undefined;
|
|
4845
|
-
synonyms?: string | undefined;
|
|
4846
|
-
eventId?: EventId | undefined;
|
|
4847
|
-
scope?: "internal" | "external" | undefined;
|
|
4848
|
-
tier?: string | undefined;
|
|
4849
|
-
payloadSchema?: EventPayloadField[] | undefined;
|
|
4850
|
-
}[] | undefined;
|
|
4851
|
-
linkedEntity?: string | undefined;
|
|
4852
4991
|
linkedEntityId?: EntityId | undefined;
|
|
4853
|
-
listens?: {
|
|
4854
|
-
event: string;
|
|
4855
|
-
triggers: string;
|
|
4856
|
-
description?: string | undefined;
|
|
4857
|
-
synonyms?: string | undefined;
|
|
4858
|
-
source?: {
|
|
4859
|
-
kind: "any";
|
|
4860
|
-
} | {
|
|
4861
|
-
trait: string;
|
|
4862
|
-
kind: "trait";
|
|
4863
|
-
traitId?: TraitId | undefined;
|
|
4864
|
-
} | {
|
|
4865
|
-
orbital: string;
|
|
4866
|
-
trait: string;
|
|
4867
|
-
kind: "orbital";
|
|
4868
|
-
traitId?: TraitId | undefined;
|
|
4869
|
-
orbitalId?: OrbitalId | undefined;
|
|
4870
|
-
} | undefined;
|
|
4871
|
-
eventId?: EventId | undefined;
|
|
4872
|
-
scope?: "internal" | "external" | undefined;
|
|
4873
|
-
tier?: string | undefined;
|
|
4874
|
-
guard?: SExpr | undefined;
|
|
4875
|
-
triggersId?: EventId | undefined;
|
|
4876
|
-
payloadMapping?: Record<string, SExpr> | undefined;
|
|
4877
|
-
}[] | undefined;
|
|
4878
4992
|
description_visual_prompt?: string | undefined;
|
|
4879
4993
|
entityRebindable?: boolean | undefined;
|
|
4880
4994
|
entityContract?: {
|
|
@@ -4897,11 +5011,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4897
5011
|
interval: string | number;
|
|
4898
5012
|
description?: string | undefined;
|
|
4899
5013
|
pages?: string[] | undefined;
|
|
4900
|
-
|
|
5014
|
+
emits?: string[] | undefined;
|
|
4901
5015
|
guard?: SExpr | undefined;
|
|
5016
|
+
priority?: number | undefined;
|
|
4902
5017
|
appliesTo?: string[] | undefined;
|
|
4903
5018
|
pageIds?: PageId[] | undefined;
|
|
4904
|
-
emits?: string[] | undefined;
|
|
4905
5019
|
emitIds?: EventId[] | undefined;
|
|
4906
5020
|
}[] | undefined;
|
|
4907
5021
|
sourceBehavior?: {
|
|
@@ -4941,6 +5055,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4941
5055
|
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
4942
5056
|
} | undefined;
|
|
4943
5057
|
} | undefined;
|
|
5058
|
+
typeParams?: TraitTypeParamDef[] | undefined;
|
|
4944
5059
|
}, {
|
|
4945
5060
|
name: string;
|
|
4946
5061
|
scope: "collection" | "instance";
|
|
@@ -4953,8 +5068,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4953
5068
|
width?: string | undefined;
|
|
4954
5069
|
title?: string | undefined;
|
|
4955
5070
|
totalSteps?: number | undefined;
|
|
4956
|
-
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4957
5071
|
step?: number | undefined;
|
|
5072
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
4958
5073
|
position?: "top" | "center" | "left" | "right" | "bottom" | undefined;
|
|
4959
5074
|
showProgress?: boolean | undefined;
|
|
4960
5075
|
closable?: boolean | undefined;
|
|
@@ -4962,6 +5077,43 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4962
5077
|
}> | undefined;
|
|
4963
5078
|
category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
|
|
4964
5079
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
5080
|
+
emits?: {
|
|
5081
|
+
event: string;
|
|
5082
|
+
description?: string | undefined;
|
|
5083
|
+
synonyms?: string | undefined;
|
|
5084
|
+
eventId?: string | undefined;
|
|
5085
|
+
scope?: "internal" | "external" | undefined;
|
|
5086
|
+
tier?: string | undefined;
|
|
5087
|
+
payloadSchema?: EventPayloadField[] | undefined;
|
|
5088
|
+
definerKnob?: string | undefined;
|
|
5089
|
+
scopeOverridden?: boolean | undefined;
|
|
5090
|
+
}[] | undefined;
|
|
5091
|
+
listens?: {
|
|
5092
|
+
event: string;
|
|
5093
|
+
triggers: string;
|
|
5094
|
+
description?: string | undefined;
|
|
5095
|
+
synonyms?: string | undefined;
|
|
5096
|
+
source?: {
|
|
5097
|
+
kind: "any";
|
|
5098
|
+
} | {
|
|
5099
|
+
trait: string;
|
|
5100
|
+
kind: "trait";
|
|
5101
|
+
traitId?: string | undefined;
|
|
5102
|
+
} | {
|
|
5103
|
+
orbital: string;
|
|
5104
|
+
trait: string;
|
|
5105
|
+
kind: "orbital";
|
|
5106
|
+
traitId?: string | undefined;
|
|
5107
|
+
orbitalId?: string | undefined;
|
|
5108
|
+
} | undefined;
|
|
5109
|
+
guard?: SExpr | undefined;
|
|
5110
|
+
eventId?: string | undefined;
|
|
5111
|
+
scope?: "internal" | "external" | undefined;
|
|
5112
|
+
tier?: string | undefined;
|
|
5113
|
+
triggersId?: string | undefined;
|
|
5114
|
+
payloadMapping?: Record<string, SExpr> | undefined;
|
|
5115
|
+
}[] | undefined;
|
|
5116
|
+
linkedEntity?: string | undefined;
|
|
4965
5117
|
capabilities?: string[] | undefined;
|
|
4966
5118
|
dataEntities?: {
|
|
4967
5119
|
name: string;
|
|
@@ -4974,23 +5126,12 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4974
5126
|
singleton?: boolean | undefined;
|
|
4975
5127
|
}[] | undefined;
|
|
4976
5128
|
stateMachine?: {
|
|
4977
|
-
events: {
|
|
4978
|
-
name: string;
|
|
4979
|
-
key: string;
|
|
4980
|
-
id?: string | undefined;
|
|
4981
|
-
description?: string | undefined;
|
|
4982
|
-
synonyms?: string | undefined;
|
|
4983
|
-
tier?: string | undefined;
|
|
4984
|
-
payloadSchema?: PayloadField[] | undefined;
|
|
4985
|
-
classification?: "domain" | "system" | undefined;
|
|
4986
|
-
semanticRole?: string | undefined;
|
|
4987
|
-
}[];
|
|
4988
5129
|
states: {
|
|
4989
5130
|
name: string;
|
|
4990
5131
|
description?: string | undefined;
|
|
4991
5132
|
isInitial?: boolean | undefined;
|
|
4992
|
-
isTerminal?: boolean | undefined;
|
|
4993
5133
|
isFinal?: boolean | undefined;
|
|
5134
|
+
isTerminal?: boolean | undefined;
|
|
4994
5135
|
onEntry?: string[] | undefined;
|
|
4995
5136
|
onExit?: string[] | undefined;
|
|
4996
5137
|
}[];
|
|
@@ -4999,9 +5140,20 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4999
5140
|
from: string;
|
|
5000
5141
|
to: string;
|
|
5001
5142
|
description?: string | null | undefined;
|
|
5002
|
-
eventId?: string | undefined;
|
|
5003
5143
|
guard?: SExpr | undefined;
|
|
5004
5144
|
effects?: SExpr[][] | undefined;
|
|
5145
|
+
eventId?: string | undefined;
|
|
5146
|
+
}[];
|
|
5147
|
+
events: {
|
|
5148
|
+
name: string;
|
|
5149
|
+
key: string;
|
|
5150
|
+
id?: string | undefined;
|
|
5151
|
+
description?: string | undefined;
|
|
5152
|
+
synonyms?: string | undefined;
|
|
5153
|
+
tier?: string | undefined;
|
|
5154
|
+
payloadSchema?: PayloadField[] | undefined;
|
|
5155
|
+
classification?: "domain" | "system" | undefined;
|
|
5156
|
+
semanticRole?: string | undefined;
|
|
5005
5157
|
}[];
|
|
5006
5158
|
guards?: {
|
|
5007
5159
|
name: string;
|
|
@@ -5009,42 +5161,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
5009
5161
|
description?: string | undefined;
|
|
5010
5162
|
}[] | undefined;
|
|
5011
5163
|
} | undefined;
|
|
5012
|
-
emits?: {
|
|
5013
|
-
event: string;
|
|
5014
|
-
description?: string | undefined;
|
|
5015
|
-
synonyms?: string | undefined;
|
|
5016
|
-
eventId?: string | undefined;
|
|
5017
|
-
scope?: "internal" | "external" | undefined;
|
|
5018
|
-
tier?: string | undefined;
|
|
5019
|
-
payloadSchema?: EventPayloadField[] | undefined;
|
|
5020
|
-
}[] | undefined;
|
|
5021
|
-
linkedEntity?: string | undefined;
|
|
5022
5164
|
linkedEntityId?: string | undefined;
|
|
5023
|
-
listens?: {
|
|
5024
|
-
event: string;
|
|
5025
|
-
triggers: string;
|
|
5026
|
-
description?: string | undefined;
|
|
5027
|
-
synonyms?: string | undefined;
|
|
5028
|
-
source?: {
|
|
5029
|
-
kind: "any";
|
|
5030
|
-
} | {
|
|
5031
|
-
trait: string;
|
|
5032
|
-
kind: "trait";
|
|
5033
|
-
traitId?: string | undefined;
|
|
5034
|
-
} | {
|
|
5035
|
-
orbital: string;
|
|
5036
|
-
trait: string;
|
|
5037
|
-
kind: "orbital";
|
|
5038
|
-
traitId?: string | undefined;
|
|
5039
|
-
orbitalId?: string | undefined;
|
|
5040
|
-
} | undefined;
|
|
5041
|
-
eventId?: string | undefined;
|
|
5042
|
-
scope?: "internal" | "external" | undefined;
|
|
5043
|
-
tier?: string | undefined;
|
|
5044
|
-
guard?: SExpr | undefined;
|
|
5045
|
-
triggersId?: string | undefined;
|
|
5046
|
-
payloadMapping?: Record<string, SExpr> | undefined;
|
|
5047
|
-
}[] | undefined;
|
|
5048
5165
|
description_visual_prompt?: string | undefined;
|
|
5049
5166
|
entityRebindable?: boolean | undefined;
|
|
5050
5167
|
entityContract?: {
|
|
@@ -5067,11 +5184,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
5067
5184
|
interval: string | number;
|
|
5068
5185
|
description?: string | undefined;
|
|
5069
5186
|
pages?: string[] | undefined;
|
|
5070
|
-
|
|
5187
|
+
emits?: string[] | undefined;
|
|
5071
5188
|
guard?: SExpr | undefined;
|
|
5189
|
+
priority?: number | undefined;
|
|
5072
5190
|
appliesTo?: string[] | undefined;
|
|
5073
5191
|
pageIds?: string[] | undefined;
|
|
5074
|
-
emits?: string[] | undefined;
|
|
5075
5192
|
emitIds?: string[] | undefined;
|
|
5076
5193
|
}[] | undefined;
|
|
5077
5194
|
sourceBehavior?: {
|
|
@@ -5111,6 +5228,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
5111
5228
|
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
5112
5229
|
} | undefined;
|
|
5113
5230
|
} | undefined;
|
|
5231
|
+
typeParams?: TraitTypeParamDef[] | undefined;
|
|
5114
5232
|
}>]>;
|
|
5115
5233
|
|
|
5116
|
-
export {
|
|
5234
|
+
export { TraitConfigSchema as $, ListenSourceSchema as A, OrbitalTraitRefSchema as B, type ConfigFieldDeclaration as C, type DeclaredTraitConfig as D, type EventPayloadField as E, PayloadFieldSchema as F, type Guard as G, type PresentationType as H, type ReferenceConfigType as I, type RequiredField as J, RequiredFieldSchema as K, type ListenSource as L, SECRET_CONFIG_TYPES as M, type SecretConfigType as N, type OrbitalTraitRef as O, type PayloadField as P, type StateInput as Q, REFERENCE_CONFIG_TYPES as R, type State as S, type TraitEventListener as T, type StateMachine as U, type StateMachineInput as V, StateMachineSchema as W, StateSchema as X, TickIntervalSchema as Y, type TraitCategory as Z, TraitCategorySchema as _, type TraitReference as a, TraitConfigValueSchema as a0, type TraitDataEntity as a1, TraitDataEntitySchema as a2, TraitEntityFieldSchema as a3, TraitEventContractSchema as a4, TraitEventListenerSchema as a5, type TraitInput as a6, TraitRefSchema as a7, type TraitReferenceInput as a8, TraitReferenceSchema as a9, TraitSchema as aa, type TraitTick as ab, TraitTickSchema as ac, type TraitUIBinding as ad, TraitUIBindingSchema as ae, type Transition as af, type TransitionInput as ag, TransitionSchema as ah, configRefEventKnob as ai, getTraitConfig as aj, getTraitName as ak, isCallSiteConfigDeclaration as al, isCircuitEvent as am, isInlineTrait as an, isReferenceConfigType as ao, isSecretConfigType as ap, maskSecretConfigValues as aq, normalizeCallSiteConfigToValues as ar, normalizeTraitRef as as, resolveConfigRefEventName as at, type TraitScope as au, type TraitConfig as b, type TraitConfigObject as c, type TraitRef as d, type TraitConfigValue as e, type TraitEntityField as f, type TraitTypeParamDef as g, type Trait as h, type CallSiteConfig as i, type CallSiteConfigEntry as j, type TraitEventContract as k, CONFIG_REF_EVENT_PATTERN as l, ConfigFieldDeclarationSchema as m, type ConfigFieldItemsDeclaration as n, type ConfigRefEventError as o, DeclaredTraitConfigSchema as p, type EntityFieldContract as q, EntityFieldContractSchema as r, type Event as s, type EventInput as t, EventPayloadFieldSchema as u, EventSchema as v, type EventScope as w, EventScopeSchema as x, type GuardInput as y, GuardSchema as z };
|