@almadar/core 9.4.0 → 9.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builders.d.ts +3 -3
- package/dist/builders.js +3 -1
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-BgQF4nDE.d.ts → compose-behaviors-BJyUFeMQ.d.ts} +1 -1
- package/dist/factory/index.d.ts +6 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/{schema-ChiLwvNY.d.ts → schema-B5-kHxVf.d.ts} +231 -231
- package/dist/{trait-S6adsRKG.d.ts → trait-Bzv2COpe.d.ts} +43 -36
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.js +3 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -135,6 +135,13 @@ interface EntityFieldBase {
|
|
|
135
135
|
/** Runtime-managed widget state (authored `@intrinsic` in `.lolo`). Exempt
|
|
136
136
|
* from the explicit-binding rule and never a domain-data bind target. */
|
|
137
137
|
intrinsic?: boolean;
|
|
138
|
+
/** Human/semantic description (authored `@description "..."` in `.lolo`).
|
|
139
|
+
* Authoring/build-time metadata — factory-signature catalog, embeddings,
|
|
140
|
+
* curation field-matching; the runtime ignores it. */
|
|
141
|
+
description?: string;
|
|
142
|
+
/** User-vocabulary synonyms (authored `@synonyms "..."` in `.lolo`).
|
|
143
|
+
* Free text feeding catalog search / curation field-matching. */
|
|
144
|
+
synonyms?: string;
|
|
138
145
|
}
|
|
139
146
|
/**
|
|
140
147
|
* Scalar / structural fields — no type-dependent payload required.
|
|
@@ -1377,11 +1384,11 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
1377
1384
|
name: string;
|
|
1378
1385
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
1379
1386
|
fields: EntityField[];
|
|
1387
|
+
description?: string | undefined;
|
|
1380
1388
|
collection?: string | undefined;
|
|
1381
1389
|
instances?: Record<string, unknown>[] | undefined;
|
|
1382
1390
|
timestamps?: boolean | undefined;
|
|
1383
1391
|
softDelete?: boolean | undefined;
|
|
1384
|
-
description?: string | undefined;
|
|
1385
1392
|
visual_prompt?: string | undefined;
|
|
1386
1393
|
assetRef?: {
|
|
1387
1394
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -1393,12 +1400,12 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
1393
1400
|
}, {
|
|
1394
1401
|
name: string;
|
|
1395
1402
|
fields: unknown[];
|
|
1403
|
+
description?: string | undefined;
|
|
1396
1404
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
1397
1405
|
collection?: string | undefined;
|
|
1398
1406
|
instances?: Record<string, unknown>[] | undefined;
|
|
1399
1407
|
timestamps?: boolean | undefined;
|
|
1400
1408
|
softDelete?: boolean | undefined;
|
|
1401
|
-
description?: string | undefined;
|
|
1402
1409
|
visual_prompt?: string | undefined;
|
|
1403
1410
|
assetRef?: {
|
|
1404
1411
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -1445,11 +1452,11 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
1445
1452
|
name: string;
|
|
1446
1453
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
1447
1454
|
fields: EntityField[];
|
|
1455
|
+
description?: string | undefined;
|
|
1448
1456
|
collection?: string | undefined;
|
|
1449
1457
|
instances?: Record<string, unknown>[] | undefined;
|
|
1450
1458
|
timestamps?: boolean | undefined;
|
|
1451
1459
|
softDelete?: boolean | undefined;
|
|
1452
|
-
description?: string | undefined;
|
|
1453
1460
|
visual_prompt?: string | undefined;
|
|
1454
1461
|
assetRef?: {
|
|
1455
1462
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -1461,12 +1468,12 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
1461
1468
|
}, {
|
|
1462
1469
|
name: string;
|
|
1463
1470
|
fields: unknown[];
|
|
1471
|
+
description?: string | undefined;
|
|
1464
1472
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
1465
1473
|
collection?: string | undefined;
|
|
1466
1474
|
instances?: Record<string, unknown>[] | undefined;
|
|
1467
1475
|
timestamps?: boolean | undefined;
|
|
1468
1476
|
softDelete?: boolean | undefined;
|
|
1469
|
-
description?: string | undefined;
|
|
1470
1477
|
visual_prompt?: string | undefined;
|
|
1471
1478
|
assetRef?: {
|
|
1472
1479
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -2757,11 +2764,11 @@ declare const TraitDataEntitySchema: z.ZodObject<{
|
|
|
2757
2764
|
required?: boolean | undefined;
|
|
2758
2765
|
default?: unknown;
|
|
2759
2766
|
}[];
|
|
2767
|
+
description?: string | undefined;
|
|
2760
2768
|
runtime?: boolean | undefined;
|
|
2761
2769
|
singleton?: boolean | undefined;
|
|
2762
2770
|
collection?: string | undefined;
|
|
2763
2771
|
timestamps?: boolean | undefined;
|
|
2764
|
-
description?: string | undefined;
|
|
2765
2772
|
pages?: string[] | undefined;
|
|
2766
2773
|
}, {
|
|
2767
2774
|
name: string;
|
|
@@ -2772,11 +2779,11 @@ declare const TraitDataEntitySchema: z.ZodObject<{
|
|
|
2772
2779
|
required?: boolean | undefined;
|
|
2773
2780
|
default?: unknown;
|
|
2774
2781
|
}[];
|
|
2782
|
+
description?: string | undefined;
|
|
2775
2783
|
runtime?: boolean | undefined;
|
|
2776
2784
|
singleton?: boolean | undefined;
|
|
2777
2785
|
collection?: string | undefined;
|
|
2778
2786
|
timestamps?: boolean | undefined;
|
|
2779
|
-
description?: string | undefined;
|
|
2780
2787
|
pages?: string[] | undefined;
|
|
2781
2788
|
}>;
|
|
2782
2789
|
/**
|
|
@@ -3529,11 +3536,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
3529
3536
|
required?: boolean | undefined;
|
|
3530
3537
|
default?: unknown;
|
|
3531
3538
|
}[];
|
|
3539
|
+
description?: string | undefined;
|
|
3532
3540
|
runtime?: boolean | undefined;
|
|
3533
3541
|
singleton?: boolean | undefined;
|
|
3534
3542
|
collection?: string | undefined;
|
|
3535
3543
|
timestamps?: boolean | undefined;
|
|
3536
|
-
description?: string | undefined;
|
|
3537
3544
|
pages?: string[] | undefined;
|
|
3538
3545
|
}, {
|
|
3539
3546
|
name: string;
|
|
@@ -3544,11 +3551,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
3544
3551
|
required?: boolean | undefined;
|
|
3545
3552
|
default?: unknown;
|
|
3546
3553
|
}[];
|
|
3554
|
+
description?: string | undefined;
|
|
3547
3555
|
runtime?: boolean | undefined;
|
|
3548
3556
|
singleton?: boolean | undefined;
|
|
3549
3557
|
collection?: string | undefined;
|
|
3550
3558
|
timestamps?: boolean | undefined;
|
|
3551
|
-
description?: string | undefined;
|
|
3552
3559
|
pages?: string[] | undefined;
|
|
3553
3560
|
}>, "many">>;
|
|
3554
3561
|
stateMachine: z.ZodOptional<z.ZodObject<{
|
|
@@ -3935,11 +3942,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
3935
3942
|
name: string;
|
|
3936
3943
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
3937
3944
|
fields: EntityField[];
|
|
3945
|
+
description?: string | undefined;
|
|
3938
3946
|
collection?: string | undefined;
|
|
3939
3947
|
instances?: Record<string, unknown>[] | undefined;
|
|
3940
3948
|
timestamps?: boolean | undefined;
|
|
3941
3949
|
softDelete?: boolean | undefined;
|
|
3942
|
-
description?: string | undefined;
|
|
3943
3950
|
visual_prompt?: string | undefined;
|
|
3944
3951
|
assetRef?: {
|
|
3945
3952
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -3951,12 +3958,12 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
3951
3958
|
}, {
|
|
3952
3959
|
name: string;
|
|
3953
3960
|
fields: unknown[];
|
|
3961
|
+
description?: string | undefined;
|
|
3954
3962
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
3955
3963
|
collection?: string | undefined;
|
|
3956
3964
|
instances?: Record<string, unknown>[] | undefined;
|
|
3957
3965
|
timestamps?: boolean | undefined;
|
|
3958
3966
|
softDelete?: boolean | undefined;
|
|
3959
|
-
description?: string | undefined;
|
|
3960
3967
|
visual_prompt?: string | undefined;
|
|
3961
3968
|
assetRef?: {
|
|
3962
3969
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -3969,9 +3976,9 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
3969
3976
|
}, "strip", z.ZodTypeAny, {
|
|
3970
3977
|
name: string;
|
|
3971
3978
|
scope: "instance" | "collection";
|
|
3979
|
+
description?: string | undefined;
|
|
3972
3980
|
ui?: Record<string, unknown> | undefined;
|
|
3973
3981
|
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;
|
|
3974
|
-
description?: string | undefined;
|
|
3975
3982
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
3976
3983
|
capabilities?: string[] | undefined;
|
|
3977
3984
|
emits?: {
|
|
@@ -4026,11 +4033,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4026
4033
|
required?: boolean | undefined;
|
|
4027
4034
|
default?: unknown;
|
|
4028
4035
|
}[];
|
|
4036
|
+
description?: string | undefined;
|
|
4029
4037
|
runtime?: boolean | undefined;
|
|
4030
4038
|
singleton?: boolean | undefined;
|
|
4031
4039
|
collection?: string | undefined;
|
|
4032
4040
|
timestamps?: boolean | undefined;
|
|
4033
|
-
description?: string | undefined;
|
|
4034
4041
|
pages?: string[] | undefined;
|
|
4035
4042
|
}[] | undefined;
|
|
4036
4043
|
stateMachine?: {
|
|
@@ -4090,11 +4097,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4090
4097
|
name: string;
|
|
4091
4098
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
4092
4099
|
fields: EntityField[];
|
|
4100
|
+
description?: string | undefined;
|
|
4093
4101
|
collection?: string | undefined;
|
|
4094
4102
|
instances?: Record<string, unknown>[] | undefined;
|
|
4095
4103
|
timestamps?: boolean | undefined;
|
|
4096
4104
|
softDelete?: boolean | undefined;
|
|
4097
|
-
description?: string | undefined;
|
|
4098
4105
|
visual_prompt?: string | undefined;
|
|
4099
4106
|
assetRef?: {
|
|
4100
4107
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -4107,9 +4114,9 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4107
4114
|
}, {
|
|
4108
4115
|
name: string;
|
|
4109
4116
|
scope: "instance" | "collection";
|
|
4117
|
+
description?: string | undefined;
|
|
4110
4118
|
ui?: Record<string, unknown> | undefined;
|
|
4111
4119
|
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;
|
|
4112
|
-
description?: string | undefined;
|
|
4113
4120
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
4114
4121
|
capabilities?: string[] | undefined;
|
|
4115
4122
|
emits?: {
|
|
@@ -4164,11 +4171,11 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4164
4171
|
required?: boolean | undefined;
|
|
4165
4172
|
default?: unknown;
|
|
4166
4173
|
}[];
|
|
4174
|
+
description?: string | undefined;
|
|
4167
4175
|
runtime?: boolean | undefined;
|
|
4168
4176
|
singleton?: boolean | undefined;
|
|
4169
4177
|
collection?: string | undefined;
|
|
4170
4178
|
timestamps?: boolean | undefined;
|
|
4171
|
-
description?: string | undefined;
|
|
4172
4179
|
pages?: string[] | undefined;
|
|
4173
4180
|
}[] | undefined;
|
|
4174
4181
|
stateMachine?: {
|
|
@@ -4227,12 +4234,12 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
4227
4234
|
sourceEntityDefinition?: {
|
|
4228
4235
|
name: string;
|
|
4229
4236
|
fields: unknown[];
|
|
4237
|
+
description?: string | undefined;
|
|
4230
4238
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
4231
4239
|
collection?: string | undefined;
|
|
4232
4240
|
instances?: Record<string, unknown>[] | undefined;
|
|
4233
4241
|
timestamps?: boolean | undefined;
|
|
4234
4242
|
softDelete?: boolean | undefined;
|
|
4235
|
-
description?: string | undefined;
|
|
4236
4243
|
visual_prompt?: string | undefined;
|
|
4237
4244
|
assetRef?: {
|
|
4238
4245
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -4331,11 +4338,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4331
4338
|
required?: boolean | undefined;
|
|
4332
4339
|
default?: unknown;
|
|
4333
4340
|
}[];
|
|
4341
|
+
description?: string | undefined;
|
|
4334
4342
|
runtime?: boolean | undefined;
|
|
4335
4343
|
singleton?: boolean | undefined;
|
|
4336
4344
|
collection?: string | undefined;
|
|
4337
4345
|
timestamps?: boolean | undefined;
|
|
4338
|
-
description?: string | undefined;
|
|
4339
4346
|
pages?: string[] | undefined;
|
|
4340
4347
|
}, {
|
|
4341
4348
|
name: string;
|
|
@@ -4346,11 +4353,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4346
4353
|
required?: boolean | undefined;
|
|
4347
4354
|
default?: unknown;
|
|
4348
4355
|
}[];
|
|
4356
|
+
description?: string | undefined;
|
|
4349
4357
|
runtime?: boolean | undefined;
|
|
4350
4358
|
singleton?: boolean | undefined;
|
|
4351
4359
|
collection?: string | undefined;
|
|
4352
4360
|
timestamps?: boolean | undefined;
|
|
4353
|
-
description?: string | undefined;
|
|
4354
4361
|
pages?: string[] | undefined;
|
|
4355
4362
|
}>, "many">>;
|
|
4356
4363
|
stateMachine: z.ZodOptional<z.ZodObject<{
|
|
@@ -4737,11 +4744,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4737
4744
|
name: string;
|
|
4738
4745
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
4739
4746
|
fields: EntityField[];
|
|
4747
|
+
description?: string | undefined;
|
|
4740
4748
|
collection?: string | undefined;
|
|
4741
4749
|
instances?: Record<string, unknown>[] | undefined;
|
|
4742
4750
|
timestamps?: boolean | undefined;
|
|
4743
4751
|
softDelete?: boolean | undefined;
|
|
4744
|
-
description?: string | undefined;
|
|
4745
4752
|
visual_prompt?: string | undefined;
|
|
4746
4753
|
assetRef?: {
|
|
4747
4754
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -4753,12 +4760,12 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4753
4760
|
}, {
|
|
4754
4761
|
name: string;
|
|
4755
4762
|
fields: unknown[];
|
|
4763
|
+
description?: string | undefined;
|
|
4756
4764
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
4757
4765
|
collection?: string | undefined;
|
|
4758
4766
|
instances?: Record<string, unknown>[] | undefined;
|
|
4759
4767
|
timestamps?: boolean | undefined;
|
|
4760
4768
|
softDelete?: boolean | undefined;
|
|
4761
|
-
description?: string | undefined;
|
|
4762
4769
|
visual_prompt?: string | undefined;
|
|
4763
4770
|
assetRef?: {
|
|
4764
4771
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -4771,9 +4778,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4771
4778
|
}, "strip", z.ZodTypeAny, {
|
|
4772
4779
|
name: string;
|
|
4773
4780
|
scope: "instance" | "collection";
|
|
4781
|
+
description?: string | undefined;
|
|
4774
4782
|
ui?: Record<string, unknown> | undefined;
|
|
4775
4783
|
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;
|
|
4776
|
-
description?: string | undefined;
|
|
4777
4784
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
4778
4785
|
capabilities?: string[] | undefined;
|
|
4779
4786
|
emits?: {
|
|
@@ -4828,11 +4835,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4828
4835
|
required?: boolean | undefined;
|
|
4829
4836
|
default?: unknown;
|
|
4830
4837
|
}[];
|
|
4838
|
+
description?: string | undefined;
|
|
4831
4839
|
runtime?: boolean | undefined;
|
|
4832
4840
|
singleton?: boolean | undefined;
|
|
4833
4841
|
collection?: string | undefined;
|
|
4834
4842
|
timestamps?: boolean | undefined;
|
|
4835
|
-
description?: string | undefined;
|
|
4836
4843
|
pages?: string[] | undefined;
|
|
4837
4844
|
}[] | undefined;
|
|
4838
4845
|
stateMachine?: {
|
|
@@ -4892,11 +4899,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4892
4899
|
name: string;
|
|
4893
4900
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
4894
4901
|
fields: EntityField[];
|
|
4902
|
+
description?: string | undefined;
|
|
4895
4903
|
collection?: string | undefined;
|
|
4896
4904
|
instances?: Record<string, unknown>[] | undefined;
|
|
4897
4905
|
timestamps?: boolean | undefined;
|
|
4898
4906
|
softDelete?: boolean | undefined;
|
|
4899
|
-
description?: string | undefined;
|
|
4900
4907
|
visual_prompt?: string | undefined;
|
|
4901
4908
|
assetRef?: {
|
|
4902
4909
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -4909,9 +4916,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4909
4916
|
}, {
|
|
4910
4917
|
name: string;
|
|
4911
4918
|
scope: "instance" | "collection";
|
|
4919
|
+
description?: string | undefined;
|
|
4912
4920
|
ui?: Record<string, unknown> | undefined;
|
|
4913
4921
|
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;
|
|
4914
|
-
description?: string | undefined;
|
|
4915
4922
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
4916
4923
|
capabilities?: string[] | undefined;
|
|
4917
4924
|
emits?: {
|
|
@@ -4966,11 +4973,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
4966
4973
|
required?: boolean | undefined;
|
|
4967
4974
|
default?: unknown;
|
|
4968
4975
|
}[];
|
|
4976
|
+
description?: string | undefined;
|
|
4969
4977
|
runtime?: boolean | undefined;
|
|
4970
4978
|
singleton?: boolean | undefined;
|
|
4971
4979
|
collection?: string | undefined;
|
|
4972
4980
|
timestamps?: boolean | undefined;
|
|
4973
|
-
description?: string | undefined;
|
|
4974
4981
|
pages?: string[] | undefined;
|
|
4975
4982
|
}[] | undefined;
|
|
4976
4983
|
stateMachine?: {
|
|
@@ -5029,12 +5036,12 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5029
5036
|
sourceEntityDefinition?: {
|
|
5030
5037
|
name: string;
|
|
5031
5038
|
fields: unknown[];
|
|
5039
|
+
description?: string | undefined;
|
|
5032
5040
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
5033
5041
|
collection?: string | undefined;
|
|
5034
5042
|
instances?: Record<string, unknown>[] | undefined;
|
|
5035
5043
|
timestamps?: boolean | undefined;
|
|
5036
5044
|
softDelete?: boolean | undefined;
|
|
5037
|
-
description?: string | undefined;
|
|
5038
5045
|
visual_prompt?: string | undefined;
|
|
5039
5046
|
assetRef?: {
|
|
5040
5047
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -5203,11 +5210,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5203
5210
|
required?: boolean | undefined;
|
|
5204
5211
|
default?: unknown;
|
|
5205
5212
|
}[];
|
|
5213
|
+
description?: string | undefined;
|
|
5206
5214
|
runtime?: boolean | undefined;
|
|
5207
5215
|
singleton?: boolean | undefined;
|
|
5208
5216
|
collection?: string | undefined;
|
|
5209
5217
|
timestamps?: boolean | undefined;
|
|
5210
|
-
description?: string | undefined;
|
|
5211
5218
|
pages?: string[] | undefined;
|
|
5212
5219
|
}, {
|
|
5213
5220
|
name: string;
|
|
@@ -5218,11 +5225,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5218
5225
|
required?: boolean | undefined;
|
|
5219
5226
|
default?: unknown;
|
|
5220
5227
|
}[];
|
|
5228
|
+
description?: string | undefined;
|
|
5221
5229
|
runtime?: boolean | undefined;
|
|
5222
5230
|
singleton?: boolean | undefined;
|
|
5223
5231
|
collection?: string | undefined;
|
|
5224
5232
|
timestamps?: boolean | undefined;
|
|
5225
|
-
description?: string | undefined;
|
|
5226
5233
|
pages?: string[] | undefined;
|
|
5227
5234
|
}>, "many">>;
|
|
5228
5235
|
stateMachine: z.ZodOptional<z.ZodObject<{
|
|
@@ -5609,11 +5616,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5609
5616
|
name: string;
|
|
5610
5617
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
5611
5618
|
fields: EntityField[];
|
|
5619
|
+
description?: string | undefined;
|
|
5612
5620
|
collection?: string | undefined;
|
|
5613
5621
|
instances?: Record<string, unknown>[] | undefined;
|
|
5614
5622
|
timestamps?: boolean | undefined;
|
|
5615
5623
|
softDelete?: boolean | undefined;
|
|
5616
|
-
description?: string | undefined;
|
|
5617
5624
|
visual_prompt?: string | undefined;
|
|
5618
5625
|
assetRef?: {
|
|
5619
5626
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -5625,12 +5632,12 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5625
5632
|
}, {
|
|
5626
5633
|
name: string;
|
|
5627
5634
|
fields: unknown[];
|
|
5635
|
+
description?: string | undefined;
|
|
5628
5636
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
5629
5637
|
collection?: string | undefined;
|
|
5630
5638
|
instances?: Record<string, unknown>[] | undefined;
|
|
5631
5639
|
timestamps?: boolean | undefined;
|
|
5632
5640
|
softDelete?: boolean | undefined;
|
|
5633
|
-
description?: string | undefined;
|
|
5634
5641
|
visual_prompt?: string | undefined;
|
|
5635
5642
|
assetRef?: {
|
|
5636
5643
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -5643,9 +5650,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5643
5650
|
}, "strip", z.ZodTypeAny, {
|
|
5644
5651
|
name: string;
|
|
5645
5652
|
scope: "instance" | "collection";
|
|
5653
|
+
description?: string | undefined;
|
|
5646
5654
|
ui?: Record<string, unknown> | undefined;
|
|
5647
5655
|
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;
|
|
5648
|
-
description?: string | undefined;
|
|
5649
5656
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
5650
5657
|
capabilities?: string[] | undefined;
|
|
5651
5658
|
emits?: {
|
|
@@ -5700,11 +5707,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5700
5707
|
required?: boolean | undefined;
|
|
5701
5708
|
default?: unknown;
|
|
5702
5709
|
}[];
|
|
5710
|
+
description?: string | undefined;
|
|
5703
5711
|
runtime?: boolean | undefined;
|
|
5704
5712
|
singleton?: boolean | undefined;
|
|
5705
5713
|
collection?: string | undefined;
|
|
5706
5714
|
timestamps?: boolean | undefined;
|
|
5707
|
-
description?: string | undefined;
|
|
5708
5715
|
pages?: string[] | undefined;
|
|
5709
5716
|
}[] | undefined;
|
|
5710
5717
|
stateMachine?: {
|
|
@@ -5764,11 +5771,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5764
5771
|
name: string;
|
|
5765
5772
|
persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
|
|
5766
5773
|
fields: EntityField[];
|
|
5774
|
+
description?: string | undefined;
|
|
5767
5775
|
collection?: string | undefined;
|
|
5768
5776
|
instances?: Record<string, unknown>[] | undefined;
|
|
5769
5777
|
timestamps?: boolean | undefined;
|
|
5770
5778
|
softDelete?: boolean | undefined;
|
|
5771
|
-
description?: string | undefined;
|
|
5772
5779
|
visual_prompt?: string | undefined;
|
|
5773
5780
|
assetRef?: {
|
|
5774
5781
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
@@ -5781,9 +5788,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5781
5788
|
}, {
|
|
5782
5789
|
name: string;
|
|
5783
5790
|
scope: "instance" | "collection";
|
|
5791
|
+
description?: string | undefined;
|
|
5784
5792
|
ui?: Record<string, unknown> | undefined;
|
|
5785
5793
|
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;
|
|
5786
|
-
description?: string | undefined;
|
|
5787
5794
|
config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
|
|
5788
5795
|
capabilities?: string[] | undefined;
|
|
5789
5796
|
emits?: {
|
|
@@ -5838,11 +5845,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5838
5845
|
required?: boolean | undefined;
|
|
5839
5846
|
default?: unknown;
|
|
5840
5847
|
}[];
|
|
5848
|
+
description?: string | undefined;
|
|
5841
5849
|
runtime?: boolean | undefined;
|
|
5842
5850
|
singleton?: boolean | undefined;
|
|
5843
5851
|
collection?: string | undefined;
|
|
5844
5852
|
timestamps?: boolean | undefined;
|
|
5845
|
-
description?: string | undefined;
|
|
5846
5853
|
pages?: string[] | undefined;
|
|
5847
5854
|
}[] | undefined;
|
|
5848
5855
|
stateMachine?: {
|
|
@@ -5901,12 +5908,12 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
5901
5908
|
sourceEntityDefinition?: {
|
|
5902
5909
|
name: string;
|
|
5903
5910
|
fields: unknown[];
|
|
5911
|
+
description?: string | undefined;
|
|
5904
5912
|
persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
|
|
5905
5913
|
collection?: string | undefined;
|
|
5906
5914
|
instances?: Record<string, unknown>[] | undefined;
|
|
5907
5915
|
timestamps?: boolean | undefined;
|
|
5908
5916
|
softDelete?: boolean | undefined;
|
|
5909
|
-
description?: string | undefined;
|
|
5910
5917
|
visual_prompt?: string | undefined;
|
|
5911
5918
|
assetRef?: {
|
|
5912
5919
|
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aL as OrbitalSchema, az as Orbital, aS as Page, F as DomainContext, aZ as PageTraitRef } from '../schema-
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES, a as ALLOWED_CUSTOM_COMPONENTS, b as AgentDomainCategory, c as AgentDomainCategorySchema, d as AllowedCustomComponent, C as ColorSlice, e as ColorSliceSchema, f as ColorTokens, g as ColorTokensSchema, h as ComputedEventContract, i as ComputedEventContractSchema, j as ComputedEventListener, k as ComputedEventListenerSchema, l as CustomPatternDefinition, m as CustomPatternDefinitionInput, n as CustomPatternDefinitionSchema, o as CustomPatternMap, p as CustomPatternMapInput, q as CustomPatternMapSchema, D as DensitySlice, r as DensitySliceSchema, s as DensityTokens, t as DensityTokensSchema, u as DesignPreferences, v as DesignPreferencesInput, w as DesignPreferencesSchema, x as DesignTokens, y as DesignTokensInput, z as DesignTokensSchema, B as DomainCategory, E as DomainCategorySchema, G as DomainContextInput, H as DomainContextSchema, I as DomainVocabulary, J as DomainVocabularySchema, K as ElevationSlice, L as ElevationSliceSchema, M as ElevationTokens, N as ElevationTokensSchema, O as EntityCall, P as EntityCallSchema, Q as EntityRef, R as EntityRefSchema, S as EntityRefStringSchema, T as EntitySemanticRole, U as EntitySemanticRoleSchema, V as EventListener, W as EventListenerSchema, X as EventSemanticRole, Y as EventSemanticRoleSchema, Z as EventSource, _ as EventSourceSchema, $ as GameSubCategory, a0 as GameSubCategorySchema, a1 as GeometrySlice, a2 as GeometrySliceSchema, a3 as GeometryTokens, a4 as GeometryTokensSchema, a5 as IconFamily, a6 as IconFamilySchema, a7 as IconographySlice, a8 as IconographySliceSchema, a9 as IconographyTokens, aa as IconographyTokensSchema, ab as IllustrationSlice, ac as IllustrationSliceSchema, ad as IllustrationStyle, ae as IllustrationStyleSchema, af as IllustrationTokens, ag as IllustrationTokensSchema, ah as MotionDurationKey, ai as MotionDurationKeySchema, aj as MotionDurationPalette, ak as MotionDurationPaletteSchema, al as MotionEasingKey, am as MotionEasingKeySchema, an as MotionEasingPalette, ao as MotionEasingPaletteSchema, ap as MotionIntent, aq as MotionIntentMap, ar as MotionIntentMapSchema, as as MotionIntentSchema, at as MotionSlice, au as MotionSliceSchema, av as MotionTokens, aw as MotionTokensSchema, ax as NodeClassification, ay as NodeClassificationSchema, aA as OrbitalConfig, aB as OrbitalConfigInput, aC as OrbitalConfigSchema, aD as OrbitalDefinition, aE as OrbitalDefinitionSchema, aF as OrbitalInput, aG as OrbitalPage, aH as OrbitalPageInput, aI as OrbitalPageSchema, aJ as OrbitalPageStrictInput, aK as OrbitalPageStrictSchema, aN as OrbitalSchemaInput, aO as OrbitalSchemaSchema, aP as OrbitalSchemaWithTraits, aQ as OrbitalUnit, aR as OrbitalUnitSchema, aM as OrbitalZodSchema, aT as PageRef, aU as PageRefObject, aV as PageRefObjectSchema, aW as PageRefSchema, aX as PageRefStringSchema, aY as PageSchema, a_ as PageTraitRefSchema, a$ as RelatedLink, b0 as RelatedLinkSchema, b1 as SkinSpec, b2 as SkinSpecSchema, b3 as SpacingScale, b4 as SpacingScaleSchema, b5 as StateSemanticRole, b6 as StateSemanticRoleSchema, b7 as SuggestedGuard, b8 as SuggestedGuardSchema, b9 as ThemeDefinition, ba as ThemeDefinitionSchema, bb as ThemeRef, bc as ThemeRefSchema, bd as ThemeRefStringSchema, be as ThemeTokens, bf as ThemeTokensSchema, bg as ThemeVariant, bh as ThemeVariantSchema, bi as TypeIntent, bj as TypeIntentMap, bk as TypeIntentMapSchema, bl as TypeIntentSchema, bm as TypeScale, bn as TypeScaleEntry, bo as TypeScaleEntrySchema, bp as TypeScaleSchema, bq as TypeScaleTokens, br as TypeScaleTokensSchema, bs as TypeSizeKey, bt as TypeSizeKeySchema, bu as TypeSlice, bv as TypeSliceSchema, bw as TypeSlot, bx as TypeSlotSchema, by as TypeWeight, bz as TypeWeightSchema, bA as UXHints, bB as UXHintsSchema, bC as UseDeclaration, bD as UseDeclarationSchema, bE as UserPersona, bF as UserPersonaInput, bG as UserPersonaSchema, aD as ValidatedOrbital, bH as ViewType, bI as ViewTypeSchema, bJ as isEntityCall, bK as isEntityReference, bL as isEntityReferenceAny, bM as isImportedTraitRef, bN as isOrbitalDefinition, bO as isPageReference, bP as isPageReferenceObject, bQ as isPageReferenceString, bR as isThemeReference, bS as parseEntityRef, bT as parseImportedTraitRef, bU as parseOrbitalSchema, bV as parsePageRef, bW as safeParseOrbitalSchema } from '../schema-
|
|
3
|
-
import { a_ as ServiceParams, bm as Trait, z as Entity, O as EntityRow, a7 as FieldValue, D as DeclaredTraitConfig, bp as TraitConfig, F as EntityField, K as EntityPersistence, bn as TraitCategory, bJ as TraitScope } from '../trait-
|
|
4
|
-
export { A as AgentEffect, a as AnimationDef, b as AnimationDefInput, c as AnimationDefSchema, d as ArrayEntityField, e as AssetMap, f as AssetMapInput, g as AssetMapSchema, h as AssetMapping, i as AssetMappingInput, j as AssetMappingSchema, k as AtomicEffect, C as CallServiceConfig, l as CallServiceEffect, m as CheckpointLoadEffect, n as CheckpointSaveEffect, o as ConfigFieldDeclaration, p as ConfigFieldDeclarationSchema, q as DeclaredTraitConfigSchema, r as DerefEffect, s as DespawnEffect, t as DoEffect, E as ENTITY_ROLES, u as Effect, v as EffectInput, w as EffectSchema, x as EmitConfig, y as EmitEffect, B as EntityData, G as EntityFieldContract, H as EntityFieldContractSchema, I as EntityFieldInput, J as EntityFieldSchema, L as EntityPersistenceSchema, M as EntityRole, N as EntityRoleSchema, P as EntitySchema, Q as EnumEntityField, R as EvaluateConfig, S as EvaluateEffect, T as Event, U as EventInput, V as EventPayloadField, W as EventPayloadFieldSchema, X as EventSchema, Y as EventScope, Z as EventScopeSchema, _ as FetchEffect, $ as FetchOptions, a0 as FetchResult, a1 as Field, a2 as FieldFormat, a3 as FieldFormatSchema, a4 as FieldSchema, a5 as FieldType, a6 as FieldTypeSchema, a8 as ForwardConfig, a9 as ForwardEffect, aa as GAME_TYPES, ab as GameType, ac as GameTypeSchema, ad as Guard, ae as GuardInput, af as GuardSchema, ag as ListenSource, ah as ListenSourceSchema, ai as LogEffect, aj as McpServiceDef, ak as McpServiceDefSchema, al as NavigateEffect, am as NnConfig, an as NnLayer, ao as NotifyEffect, ap as OrbitalEntity, aq as OrbitalEntityInput, ar as OrbitalEntitySchema, as as OrbitalTraitRef, at as OrbitalTraitRefSchema, au as OsEffect, av as PayloadField, aw as PayloadFieldSchema, ax as PersistData, ay as PersistEffect, az as PersistEmitConfig, aA as PresentationType, aB as RefEffect, aC as RelationConfig, aD as RelationConfigSchema, aE as RelationEntityField, aF as RenderItemLambda, aG as RenderUIConfig, aH as RenderUIEffect, aI as RenderUINode, aJ as RequiredField, aK as RequiredFieldSchema, aL as ResolvedAsset, aM as ResolvedAssetInput, aN as ResolvedAssetSchema, aO as ResolvedPatternProps, aP as RestAuthConfig, aQ as RestAuthConfigSchema, aR as RestServiceDef, aS as RestServiceDefSchema, aT as SERVICE_TYPES, aU as ScalarEntityField, aV as SemanticAssetRef, aW as SemanticAssetRefInput, aX as SemanticAssetRefSchema, aY as ServiceDefinition, aZ as ServiceDefinitionSchema, a$ as ServiceParamsValue, b0 as ServiceRef, b1 as ServiceRefObject, b2 as ServiceRefObjectSchema, b3 as ServiceRefSchema, b4 as ServiceRefStringSchema, b5 as ServiceType, b6 as ServiceTypeSchema, b7 as SetEffect, b8 as SocketEvents, b9 as SocketEventsSchema, ba as SocketServiceDef, bb as SocketServiceDefSchema, bc as SpawnEffect, bd as State, be as StateInput, bf as StateMachine, bg as StateMachineInput, bh as StateMachineSchema, bi as StateSchema, bj as SwapEffect, bk as TrainConfig, bl as TrainEffect, bo as TraitCategorySchema, bq as TraitConfigObject, br as TraitConfigSchema, bs as TraitConfigValue, bt as TraitConfigValueSchema, bu as TraitDataEntity, bv as TraitDataEntitySchema, bw as TraitEntityField, bx as TraitEntityFieldSchema, by as TraitEventContract, bz as TraitEventContractSchema, bA as TraitEventListener, bB as TraitEventListenerSchema, bC as TraitInput, bD as TraitRef, bE as TraitRefSchema, bF as TraitReference, bG as TraitReferenceInput, bH as TraitReferenceSchema, bI as TraitSchema, bK as TraitTick, bL as TraitTickSchema, bM as TraitUIBinding, bN as Transition, bO as TransitionInput, bP as TransitionSchema, bQ as TypedEffect, bR as UISlot, bS as UISlotSchema, bT as UI_SLOTS, bU as VISUAL_STYLES, bV as VisualStyle, bW as VisualStyleSchema, bX as WatchEffect, bY as WatchOptions, bZ as atomic, b_ as callService, b$ as createAssetKey, c0 as deref, c1 as deriveCollection, c2 as despawn, c3 as doEffects, c4 as emit, c5 as findService, c6 as getDefaultAnimationsForRole, c7 as getServiceNames, c8 as getTraitConfig, c9 as getTraitName, ca as hasService, cb as isCircuitEvent, cc as isEffect, cd as isInlineTrait, ce as isMcpService, cf as isRestService, cg as isRuntimeEntity, ch as isSExprEffect, ci as isServiceReference, cj as isServiceReferenceObject, ck as isSingletonEntity, cl as isSocketService, cm as navigate, cn as normalizeTraitRef, co as notify, cp as parseAssetKey, cq as parseServiceRef, cr as persist, cs as ref, ct as renderUI, cu as set, cv as spawn, cw as swap, cx as validateAssetAnimations, cy as watch } from '../trait-
|
|
1
|
+
import { aL as OrbitalSchema, az as Orbital, aS as Page, F as DomainContext, aZ as PageTraitRef } from '../schema-B5-kHxVf.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, a as ALLOWED_CUSTOM_COMPONENTS, b as AgentDomainCategory, c as AgentDomainCategorySchema, d as AllowedCustomComponent, C as ColorSlice, e as ColorSliceSchema, f as ColorTokens, g as ColorTokensSchema, h as ComputedEventContract, i as ComputedEventContractSchema, j as ComputedEventListener, k as ComputedEventListenerSchema, l as CustomPatternDefinition, m as CustomPatternDefinitionInput, n as CustomPatternDefinitionSchema, o as CustomPatternMap, p as CustomPatternMapInput, q as CustomPatternMapSchema, D as DensitySlice, r as DensitySliceSchema, s as DensityTokens, t as DensityTokensSchema, u as DesignPreferences, v as DesignPreferencesInput, w as DesignPreferencesSchema, x as DesignTokens, y as DesignTokensInput, z as DesignTokensSchema, B as DomainCategory, E as DomainCategorySchema, G as DomainContextInput, H as DomainContextSchema, I as DomainVocabulary, J as DomainVocabularySchema, K as ElevationSlice, L as ElevationSliceSchema, M as ElevationTokens, N as ElevationTokensSchema, O as EntityCall, P as EntityCallSchema, Q as EntityRef, R as EntityRefSchema, S as EntityRefStringSchema, T as EntitySemanticRole, U as EntitySemanticRoleSchema, V as EventListener, W as EventListenerSchema, X as EventSemanticRole, Y as EventSemanticRoleSchema, Z as EventSource, _ as EventSourceSchema, $ as GameSubCategory, a0 as GameSubCategorySchema, a1 as GeometrySlice, a2 as GeometrySliceSchema, a3 as GeometryTokens, a4 as GeometryTokensSchema, a5 as IconFamily, a6 as IconFamilySchema, a7 as IconographySlice, a8 as IconographySliceSchema, a9 as IconographyTokens, aa as IconographyTokensSchema, ab as IllustrationSlice, ac as IllustrationSliceSchema, ad as IllustrationStyle, ae as IllustrationStyleSchema, af as IllustrationTokens, ag as IllustrationTokensSchema, ah as MotionDurationKey, ai as MotionDurationKeySchema, aj as MotionDurationPalette, ak as MotionDurationPaletteSchema, al as MotionEasingKey, am as MotionEasingKeySchema, an as MotionEasingPalette, ao as MotionEasingPaletteSchema, ap as MotionIntent, aq as MotionIntentMap, ar as MotionIntentMapSchema, as as MotionIntentSchema, at as MotionSlice, au as MotionSliceSchema, av as MotionTokens, aw as MotionTokensSchema, ax as NodeClassification, ay as NodeClassificationSchema, aA as OrbitalConfig, aB as OrbitalConfigInput, aC as OrbitalConfigSchema, aD as OrbitalDefinition, aE as OrbitalDefinitionSchema, aF as OrbitalInput, aG as OrbitalPage, aH as OrbitalPageInput, aI as OrbitalPageSchema, aJ as OrbitalPageStrictInput, aK as OrbitalPageStrictSchema, aN as OrbitalSchemaInput, aO as OrbitalSchemaSchema, aP as OrbitalSchemaWithTraits, aQ as OrbitalUnit, aR as OrbitalUnitSchema, aM as OrbitalZodSchema, aT as PageRef, aU as PageRefObject, aV as PageRefObjectSchema, aW as PageRefSchema, aX as PageRefStringSchema, aY as PageSchema, a_ as PageTraitRefSchema, a$ as RelatedLink, b0 as RelatedLinkSchema, b1 as SkinSpec, b2 as SkinSpecSchema, b3 as SpacingScale, b4 as SpacingScaleSchema, b5 as StateSemanticRole, b6 as StateSemanticRoleSchema, b7 as SuggestedGuard, b8 as SuggestedGuardSchema, b9 as ThemeDefinition, ba as ThemeDefinitionSchema, bb as ThemeRef, bc as ThemeRefSchema, bd as ThemeRefStringSchema, be as ThemeTokens, bf as ThemeTokensSchema, bg as ThemeVariant, bh as ThemeVariantSchema, bi as TypeIntent, bj as TypeIntentMap, bk as TypeIntentMapSchema, bl as TypeIntentSchema, bm as TypeScale, bn as TypeScaleEntry, bo as TypeScaleEntrySchema, bp as TypeScaleSchema, bq as TypeScaleTokens, br as TypeScaleTokensSchema, bs as TypeSizeKey, bt as TypeSizeKeySchema, bu as TypeSlice, bv as TypeSliceSchema, bw as TypeSlot, bx as TypeSlotSchema, by as TypeWeight, bz as TypeWeightSchema, bA as UXHints, bB as UXHintsSchema, bC as UseDeclaration, bD as UseDeclarationSchema, bE as UserPersona, bF as UserPersonaInput, bG as UserPersonaSchema, aD as ValidatedOrbital, bH as ViewType, bI as ViewTypeSchema, bJ as isEntityCall, bK as isEntityReference, bL as isEntityReferenceAny, bM as isImportedTraitRef, bN as isOrbitalDefinition, bO as isPageReference, bP as isPageReferenceObject, bQ as isPageReferenceString, bR as isThemeReference, bS as parseEntityRef, bT as parseImportedTraitRef, bU as parseOrbitalSchema, bV as parsePageRef, bW as safeParseOrbitalSchema } from '../schema-B5-kHxVf.js';
|
|
3
|
+
import { a_ as ServiceParams, bm as Trait, z as Entity, O as EntityRow, a7 as FieldValue, D as DeclaredTraitConfig, bp as TraitConfig, F as EntityField, K as EntityPersistence, bn as TraitCategory, bJ as TraitScope } from '../trait-Bzv2COpe.js';
|
|
4
|
+
export { A as AgentEffect, a as AnimationDef, b as AnimationDefInput, c as AnimationDefSchema, d as ArrayEntityField, e as AssetMap, f as AssetMapInput, g as AssetMapSchema, h as AssetMapping, i as AssetMappingInput, j as AssetMappingSchema, k as AtomicEffect, C as CallServiceConfig, l as CallServiceEffect, m as CheckpointLoadEffect, n as CheckpointSaveEffect, o as ConfigFieldDeclaration, p as ConfigFieldDeclarationSchema, q as DeclaredTraitConfigSchema, r as DerefEffect, s as DespawnEffect, t as DoEffect, E as ENTITY_ROLES, u as Effect, v as EffectInput, w as EffectSchema, x as EmitConfig, y as EmitEffect, B as EntityData, G as EntityFieldContract, H as EntityFieldContractSchema, I as EntityFieldInput, J as EntityFieldSchema, L as EntityPersistenceSchema, M as EntityRole, N as EntityRoleSchema, P as EntitySchema, Q as EnumEntityField, R as EvaluateConfig, S as EvaluateEffect, T as Event, U as EventInput, V as EventPayloadField, W as EventPayloadFieldSchema, X as EventSchema, Y as EventScope, Z as EventScopeSchema, _ as FetchEffect, $ as FetchOptions, a0 as FetchResult, a1 as Field, a2 as FieldFormat, a3 as FieldFormatSchema, a4 as FieldSchema, a5 as FieldType, a6 as FieldTypeSchema, a8 as ForwardConfig, a9 as ForwardEffect, aa as GAME_TYPES, ab as GameType, ac as GameTypeSchema, ad as Guard, ae as GuardInput, af as GuardSchema, ag as ListenSource, ah as ListenSourceSchema, ai as LogEffect, aj as McpServiceDef, ak as McpServiceDefSchema, al as NavigateEffect, am as NnConfig, an as NnLayer, ao as NotifyEffect, ap as OrbitalEntity, aq as OrbitalEntityInput, ar as OrbitalEntitySchema, as as OrbitalTraitRef, at as OrbitalTraitRefSchema, au as OsEffect, av as PayloadField, aw as PayloadFieldSchema, ax as PersistData, ay as PersistEffect, az as PersistEmitConfig, aA as PresentationType, aB as RefEffect, aC as RelationConfig, aD as RelationConfigSchema, aE as RelationEntityField, aF as RenderItemLambda, aG as RenderUIConfig, aH as RenderUIEffect, aI as RenderUINode, aJ as RequiredField, aK as RequiredFieldSchema, aL as ResolvedAsset, aM as ResolvedAssetInput, aN as ResolvedAssetSchema, aO as ResolvedPatternProps, aP as RestAuthConfig, aQ as RestAuthConfigSchema, aR as RestServiceDef, aS as RestServiceDefSchema, aT as SERVICE_TYPES, aU as ScalarEntityField, aV as SemanticAssetRef, aW as SemanticAssetRefInput, aX as SemanticAssetRefSchema, aY as ServiceDefinition, aZ as ServiceDefinitionSchema, a$ as ServiceParamsValue, b0 as ServiceRef, b1 as ServiceRefObject, b2 as ServiceRefObjectSchema, b3 as ServiceRefSchema, b4 as ServiceRefStringSchema, b5 as ServiceType, b6 as ServiceTypeSchema, b7 as SetEffect, b8 as SocketEvents, b9 as SocketEventsSchema, ba as SocketServiceDef, bb as SocketServiceDefSchema, bc as SpawnEffect, bd as State, be as StateInput, bf as StateMachine, bg as StateMachineInput, bh as StateMachineSchema, bi as StateSchema, bj as SwapEffect, bk as TrainConfig, bl as TrainEffect, bo as TraitCategorySchema, bq as TraitConfigObject, br as TraitConfigSchema, bs as TraitConfigValue, bt as TraitConfigValueSchema, bu as TraitDataEntity, bv as TraitDataEntitySchema, bw as TraitEntityField, bx as TraitEntityFieldSchema, by as TraitEventContract, bz as TraitEventContractSchema, bA as TraitEventListener, bB as TraitEventListenerSchema, bC as TraitInput, bD as TraitRef, bE as TraitRefSchema, bF as TraitReference, bG as TraitReferenceInput, bH as TraitReferenceSchema, bI as TraitSchema, bK as TraitTick, bL as TraitTickSchema, bM as TraitUIBinding, bN as Transition, bO as TransitionInput, bP as TransitionSchema, bQ as TypedEffect, bR as UISlot, bS as UISlotSchema, bT as UI_SLOTS, bU as VISUAL_STYLES, bV as VisualStyle, bW as VisualStyleSchema, bX as WatchEffect, bY as WatchOptions, bZ as atomic, b_ as callService, b$ as createAssetKey, c0 as deref, c1 as deriveCollection, c2 as despawn, c3 as doEffects, c4 as emit, c5 as findService, c6 as getDefaultAnimationsForRole, c7 as getServiceNames, c8 as getTraitConfig, c9 as getTraitName, ca as hasService, cb as isCircuitEvent, cc as isEffect, cd as isInlineTrait, ce as isMcpService, cf as isRestService, cg as isRuntimeEntity, ch as isSExprEffect, ci as isServiceReference, cj as isServiceReferenceObject, ck as isSingletonEntity, cl as isSocketService, cm as navigate, cn as normalizeTraitRef, co as notify, cp as parseAssetKey, cq as parseServiceRef, cr as persist, cs as ref, ct as renderUI, cu as set, cv as spawn, cw as swap, cx as validateAssetAnimations, cy as watch } from '../trait-Bzv2COpe.js';
|
|
5
5
|
import { c as EventPayloadValue, b as EventPayload, L as LogMeta, S as SExpr } from '../expression-BVRFm0sV.js';
|
|
6
6
|
export { C as CORE_BINDINGS, a as CoreBinding, E as EvalContext, d as Expression, e as ExpressionInput, f as ExpressionSchema, P as ParsedBinding, g as SExprAtom, h as SExprAtomSchema, i as SExprInput, j as SExprSchema, k as collectBindings, l as getArgs, m as getOperator, n as isBinding, o as isSExpr, p as isSExprAtom, q as isSExprCall, r as isValidBinding, s as parseBinding, t as sexpr, w as walkSExpr } from '../expression-BVRFm0sV.js';
|
|
7
7
|
import { z } from 'zod';
|
package/dist/types/index.js
CHANGED
|
@@ -69,7 +69,9 @@ var EntityFieldSchema = z.lazy(() => {
|
|
|
69
69
|
min: z.number().optional(),
|
|
70
70
|
max: z.number().optional(),
|
|
71
71
|
properties: z.record(EntityFieldSchema).optional(),
|
|
72
|
-
intrinsic: z.boolean().optional()
|
|
72
|
+
intrinsic: z.boolean().optional(),
|
|
73
|
+
description: z.string().optional(),
|
|
74
|
+
synonyms: z.string().optional()
|
|
73
75
|
};
|
|
74
76
|
function scalarVariant(t) {
|
|
75
77
|
return z.object({
|