@almadar/core 10.36.0 → 10.38.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-CBL9rED-.d.ts → builders-BoyWDFfH.d.ts} +175 -174
- package/dist/builders.d.ts +4 -3
- package/dist/builders.js +30 -17
- package/dist/builders.js.map +1 -1
- package/dist/{effect-Cd6ibbZc.d.ts → effect-5kg4MCeB.d.ts} +33 -1561
- package/dist/entity-CVylqnAf.d.ts +1559 -0
- package/dist/factory/index.d.ts +6 -5
- package/dist/factory/index.js +7 -0
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +4 -3
- package/dist/factory-runtime/index.js +30 -17
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +8 -7
- package/dist/index.js +471 -22
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +119 -0
- package/dist/mock/index.js +695 -0
- package/dist/mock/index.js.map +1 -0
- package/dist/patterns/component-mapping.json +16 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +897 -6
- package/dist/patterns/index.js +396 -4
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +21 -1
- package/dist/patterns/patterns-registry.json +355 -1
- package/dist/patterns/registry.json +355 -1
- package/dist/patterns/services-registry.json +104 -0
- package/dist/{trait-X5mQAMtW.d.ts → trait-Bnd3i_2G.d.ts} +69 -40
- package/dist/types/index.d.ts +11 -9
- package/dist/types/index.js +71 -18
- package/dist/types/index.js.map +1 -1
- package/dist/{types-DujRcijG.d.ts → types-BE598tvP.d.ts} +3 -3
- package/package.json +6 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as EventId, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, e as Entity, a as EntityField } from './entity-CVylqnAf.js';
|
|
2
2
|
import { E as Expression, S as SExpr } from './expression-DpAj1RzP.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
+
import { E as Effect, A as AnyPatternConfig } from './effect-5kg4MCeB.js';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Represents a state in the state machine
|
|
@@ -496,6 +497,21 @@ declare const REFERENCE_CONFIG_TYPES: readonly ["entity", "trait", "event"];
|
|
|
496
497
|
type ReferenceConfigType = (typeof REFERENCE_CONFIG_TYPES)[number];
|
|
497
498
|
/** True when a config field's `type` marks its value as an entity/trait/event reference. */
|
|
498
499
|
declare function isReferenceConfigType(type: string): type is ReferenceConfigType;
|
|
500
|
+
/**
|
|
501
|
+
* The secret config-field types. A config knob typed `secret` holds a
|
|
502
|
+
* CREDENTIAL (or a reference to one): it must never flow into spec.json,
|
|
503
|
+
* traces, plan snapshots, or factory bakes in cleartext — consumers mask it
|
|
504
|
+
* in UI (password-rendered input) and exclude it from serialization. The
|
|
505
|
+
* `.lolo` language does not yet accept `secret` as a config-field type
|
|
506
|
+
* (orbital-lolo parser gate); this contract is the single deterministic
|
|
507
|
+
* source downstream consumers (studio, verifiers, rabit bakes) key on once
|
|
508
|
+
* it lands — until then hosts use a `string` knob plus a password-rendered
|
|
509
|
+
* `ui-input` (the std-service-custom-bearer pattern).
|
|
510
|
+
*/
|
|
511
|
+
declare const SECRET_CONFIG_TYPES: readonly ["secret"];
|
|
512
|
+
type SecretConfigType = (typeof SECRET_CONFIG_TYPES)[number];
|
|
513
|
+
/** True when a config field's `type` marks its value as a credential to be masked. */
|
|
514
|
+
declare function isSecretConfigType(type: string): type is SecretConfigType;
|
|
499
515
|
type ConfigFieldDeclaration = {
|
|
500
516
|
readonly type: string;
|
|
501
517
|
readonly default?: TraitConfigValue;
|
|
@@ -546,7 +562,7 @@ declare const TraitCategorySchema: z.ZodEnum<["lifecycle", "temporal", "validati
|
|
|
546
562
|
/**
|
|
547
563
|
* Field types for trait data entities
|
|
548
564
|
*/
|
|
549
|
-
type TraitFieldType = 'string' | 'number' | 'boolean' | 'date' | 'array' | 'object' | 'timestamp' | 'datetime' | 'enum';
|
|
565
|
+
type TraitFieldType = 'string' | 'number' | 'boolean' | 'date' | 'array' | 'object' | 'timestamp' | 'datetime' | 'enum' | 'email' | 'url' | 'phone' | 'uuid' | 'image';
|
|
550
566
|
/**
|
|
551
567
|
* Simplified field for trait data entities
|
|
552
568
|
*/
|
|
@@ -631,11 +647,24 @@ type TraitTick = {
|
|
|
631
647
|
/** V4 dual-carry id sibling of `emits` — optional until the Phase-7 flip. */
|
|
632
648
|
emitIds?: EventId[];
|
|
633
649
|
};
|
|
650
|
+
/**
|
|
651
|
+
* A tick's cadence: `"frame"`, a positive number of milliseconds, a duration
|
|
652
|
+
* string, or a cron expression.
|
|
653
|
+
*
|
|
654
|
+
* This schema previously accepted only `"frame"` or a number, while `TraitTick`
|
|
655
|
+
* declared `string | number` and BOTH schedulers already parsed durations and cron
|
|
656
|
+
* (`OrbitalServerRuntime.registerTick` → `isValidCronExpression`/
|
|
657
|
+
* `parseDurationString`; Rust `TickScheduler::parse_interval` → `cron::parse_cron`).
|
|
658
|
+
* The gate therefore rejected every cron/duration tick before its runtime could
|
|
659
|
+
* run it — `std-data-erasure`'s hourly `executionScan` made the whole orbital
|
|
660
|
+
* unloadable in the interpreter with only `traits.N: Invalid input` to go on.
|
|
661
|
+
*/
|
|
662
|
+
declare const TickIntervalSchema: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
|
|
634
663
|
declare const TraitTickSchema: z.ZodObject<{
|
|
635
664
|
name: z.ZodString;
|
|
636
665
|
description: z.ZodOptional<z.ZodString>;
|
|
637
666
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
638
|
-
interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber]>;
|
|
667
|
+
interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
|
|
639
668
|
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
640
669
|
pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
641
670
|
pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
|
|
@@ -646,7 +675,7 @@ declare const TraitTickSchema: z.ZodObject<{
|
|
|
646
675
|
}, "strip", z.ZodTypeAny, {
|
|
647
676
|
name: string;
|
|
648
677
|
effects: unknown[][];
|
|
649
|
-
interval:
|
|
678
|
+
interval: string | number;
|
|
650
679
|
description?: string | undefined;
|
|
651
680
|
pages?: string[] | undefined;
|
|
652
681
|
guard?: SExpr | undefined;
|
|
@@ -658,7 +687,7 @@ declare const TraitTickSchema: z.ZodObject<{
|
|
|
658
687
|
}, {
|
|
659
688
|
name: string;
|
|
660
689
|
effects: unknown[][];
|
|
661
|
-
interval:
|
|
690
|
+
interval: string | number;
|
|
662
691
|
description?: string | undefined;
|
|
663
692
|
pages?: string[] | undefined;
|
|
664
693
|
guard?: SExpr | undefined;
|
|
@@ -1001,19 +1030,19 @@ declare const TraitEventListenerSchema: z.ZodObject<{
|
|
|
1001
1030
|
*/
|
|
1002
1031
|
type RequiredField = {
|
|
1003
1032
|
name: string;
|
|
1004
|
-
type:
|
|
1033
|
+
type: TraitFieldType;
|
|
1005
1034
|
description?: string;
|
|
1006
1035
|
};
|
|
1007
1036
|
declare const RequiredFieldSchema: z.ZodObject<{
|
|
1008
1037
|
name: z.ZodString;
|
|
1009
|
-
type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]>;
|
|
1038
|
+
type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum", "email", "url", "phone", "uuid", "image"]>;
|
|
1010
1039
|
description: z.ZodOptional<z.ZodString>;
|
|
1011
1040
|
}, "strip", z.ZodTypeAny, {
|
|
1012
|
-
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
|
|
1041
|
+
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
|
|
1013
1042
|
name: string;
|
|
1014
1043
|
description?: string | undefined;
|
|
1015
1044
|
}, {
|
|
1016
|
-
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
|
|
1045
|
+
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
|
|
1017
1046
|
name: string;
|
|
1018
1047
|
description?: string | undefined;
|
|
1019
1048
|
}>;
|
|
@@ -1423,14 +1452,14 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1423
1452
|
traitEmbedIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, TraitId, string>>>;
|
|
1424
1453
|
requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1425
1454
|
name: z.ZodString;
|
|
1426
|
-
type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]>;
|
|
1455
|
+
type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum", "email", "url", "phone", "uuid", "image"]>;
|
|
1427
1456
|
description: z.ZodOptional<z.ZodString>;
|
|
1428
1457
|
}, "strip", z.ZodTypeAny, {
|
|
1429
|
-
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
|
|
1458
|
+
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
|
|
1430
1459
|
name: string;
|
|
1431
1460
|
description?: string | undefined;
|
|
1432
1461
|
}, {
|
|
1433
|
-
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
|
|
1462
|
+
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
|
|
1434
1463
|
name: string;
|
|
1435
1464
|
description?: string | undefined;
|
|
1436
1465
|
}>, "many">>;
|
|
@@ -1633,7 +1662,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1633
1662
|
name: z.ZodString;
|
|
1634
1663
|
description: z.ZodOptional<z.ZodString>;
|
|
1635
1664
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
1636
|
-
interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber]>;
|
|
1665
|
+
interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
|
|
1637
1666
|
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1638
1667
|
pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1639
1668
|
pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
|
|
@@ -1644,7 +1673,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1644
1673
|
}, "strip", z.ZodTypeAny, {
|
|
1645
1674
|
name: string;
|
|
1646
1675
|
effects: unknown[][];
|
|
1647
|
-
interval:
|
|
1676
|
+
interval: string | number;
|
|
1648
1677
|
description?: string | undefined;
|
|
1649
1678
|
pages?: string[] | undefined;
|
|
1650
1679
|
guard?: SExpr | undefined;
|
|
@@ -1656,7 +1685,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1656
1685
|
}, {
|
|
1657
1686
|
name: string;
|
|
1658
1687
|
effects: unknown[][];
|
|
1659
|
-
interval:
|
|
1688
|
+
interval: string | number;
|
|
1660
1689
|
description?: string | undefined;
|
|
1661
1690
|
pages?: string[] | undefined;
|
|
1662
1691
|
guard?: SExpr | undefined;
|
|
@@ -1991,7 +2020,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1991
2020
|
entityRefIds?: Record<string, EntityId> | undefined;
|
|
1992
2021
|
traitEmbedIds?: Record<string, TraitId> | undefined;
|
|
1993
2022
|
requiredFields?: {
|
|
1994
|
-
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
|
|
2023
|
+
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
|
|
1995
2024
|
name: string;
|
|
1996
2025
|
description?: string | undefined;
|
|
1997
2026
|
}[] | undefined;
|
|
@@ -1999,7 +2028,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1999
2028
|
ticks?: {
|
|
2000
2029
|
name: string;
|
|
2001
2030
|
effects: unknown[][];
|
|
2002
|
-
interval:
|
|
2031
|
+
interval: string | number;
|
|
2003
2032
|
description?: string | undefined;
|
|
2004
2033
|
pages?: string[] | undefined;
|
|
2005
2034
|
guard?: SExpr | undefined;
|
|
@@ -2137,7 +2166,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2137
2166
|
entityRefIds?: Record<string, string> | undefined;
|
|
2138
2167
|
traitEmbedIds?: Record<string, string> | undefined;
|
|
2139
2168
|
requiredFields?: {
|
|
2140
|
-
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
|
|
2169
|
+
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
|
|
2141
2170
|
name: string;
|
|
2142
2171
|
description?: string | undefined;
|
|
2143
2172
|
}[] | undefined;
|
|
@@ -2145,7 +2174,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2145
2174
|
ticks?: {
|
|
2146
2175
|
name: string;
|
|
2147
2176
|
effects: unknown[][];
|
|
2148
|
-
interval:
|
|
2177
|
+
interval: string | number;
|
|
2149
2178
|
description?: string | undefined;
|
|
2150
2179
|
pages?: string[] | undefined;
|
|
2151
2180
|
guard?: SExpr | undefined;
|
|
@@ -2227,14 +2256,14 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2227
2256
|
traitEmbedIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, TraitId, string>>>;
|
|
2228
2257
|
requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2229
2258
|
name: z.ZodString;
|
|
2230
|
-
type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]>;
|
|
2259
|
+
type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum", "email", "url", "phone", "uuid", "image"]>;
|
|
2231
2260
|
description: z.ZodOptional<z.ZodString>;
|
|
2232
2261
|
}, "strip", z.ZodTypeAny, {
|
|
2233
|
-
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
|
|
2262
|
+
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
|
|
2234
2263
|
name: string;
|
|
2235
2264
|
description?: string | undefined;
|
|
2236
2265
|
}, {
|
|
2237
|
-
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
|
|
2266
|
+
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
|
|
2238
2267
|
name: string;
|
|
2239
2268
|
description?: string | undefined;
|
|
2240
2269
|
}>, "many">>;
|
|
@@ -2437,7 +2466,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2437
2466
|
name: z.ZodString;
|
|
2438
2467
|
description: z.ZodOptional<z.ZodString>;
|
|
2439
2468
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
2440
|
-
interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber]>;
|
|
2469
|
+
interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
|
|
2441
2470
|
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2442
2471
|
pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2443
2472
|
pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
|
|
@@ -2448,7 +2477,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2448
2477
|
}, "strip", z.ZodTypeAny, {
|
|
2449
2478
|
name: string;
|
|
2450
2479
|
effects: unknown[][];
|
|
2451
|
-
interval:
|
|
2480
|
+
interval: string | number;
|
|
2452
2481
|
description?: string | undefined;
|
|
2453
2482
|
pages?: string[] | undefined;
|
|
2454
2483
|
guard?: SExpr | undefined;
|
|
@@ -2460,7 +2489,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2460
2489
|
}, {
|
|
2461
2490
|
name: string;
|
|
2462
2491
|
effects: unknown[][];
|
|
2463
|
-
interval:
|
|
2492
|
+
interval: string | number;
|
|
2464
2493
|
description?: string | undefined;
|
|
2465
2494
|
pages?: string[] | undefined;
|
|
2466
2495
|
guard?: SExpr | undefined;
|
|
@@ -2795,7 +2824,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2795
2824
|
entityRefIds?: Record<string, EntityId> | undefined;
|
|
2796
2825
|
traitEmbedIds?: Record<string, TraitId> | undefined;
|
|
2797
2826
|
requiredFields?: {
|
|
2798
|
-
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
|
|
2827
|
+
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
|
|
2799
2828
|
name: string;
|
|
2800
2829
|
description?: string | undefined;
|
|
2801
2830
|
}[] | undefined;
|
|
@@ -2803,7 +2832,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2803
2832
|
ticks?: {
|
|
2804
2833
|
name: string;
|
|
2805
2834
|
effects: unknown[][];
|
|
2806
|
-
interval:
|
|
2835
|
+
interval: string | number;
|
|
2807
2836
|
description?: string | undefined;
|
|
2808
2837
|
pages?: string[] | undefined;
|
|
2809
2838
|
guard?: SExpr | undefined;
|
|
@@ -2941,7 +2970,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2941
2970
|
entityRefIds?: Record<string, string> | undefined;
|
|
2942
2971
|
traitEmbedIds?: Record<string, string> | undefined;
|
|
2943
2972
|
requiredFields?: {
|
|
2944
|
-
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
|
|
2973
|
+
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
|
|
2945
2974
|
name: string;
|
|
2946
2975
|
description?: string | undefined;
|
|
2947
2976
|
}[] | undefined;
|
|
@@ -2949,7 +2978,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2949
2978
|
ticks?: {
|
|
2950
2979
|
name: string;
|
|
2951
2980
|
effects: unknown[][];
|
|
2952
|
-
interval:
|
|
2981
|
+
interval: string | number;
|
|
2953
2982
|
description?: string | undefined;
|
|
2954
2983
|
pages?: string[] | undefined;
|
|
2955
2984
|
guard?: SExpr | undefined;
|
|
@@ -3101,14 +3130,14 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3101
3130
|
traitEmbedIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, TraitId, string>>>;
|
|
3102
3131
|
requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3103
3132
|
name: z.ZodString;
|
|
3104
|
-
type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]>;
|
|
3133
|
+
type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum", "email", "url", "phone", "uuid", "image"]>;
|
|
3105
3134
|
description: z.ZodOptional<z.ZodString>;
|
|
3106
3135
|
}, "strip", z.ZodTypeAny, {
|
|
3107
|
-
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
|
|
3136
|
+
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
|
|
3108
3137
|
name: string;
|
|
3109
3138
|
description?: string | undefined;
|
|
3110
3139
|
}, {
|
|
3111
|
-
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
|
|
3140
|
+
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
|
|
3112
3141
|
name: string;
|
|
3113
3142
|
description?: string | undefined;
|
|
3114
3143
|
}>, "many">>;
|
|
@@ -3311,7 +3340,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3311
3340
|
name: z.ZodString;
|
|
3312
3341
|
description: z.ZodOptional<z.ZodString>;
|
|
3313
3342
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
3314
|
-
interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber]>;
|
|
3343
|
+
interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
|
|
3315
3344
|
appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3316
3345
|
pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3317
3346
|
pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
|
|
@@ -3322,7 +3351,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3322
3351
|
}, "strip", z.ZodTypeAny, {
|
|
3323
3352
|
name: string;
|
|
3324
3353
|
effects: unknown[][];
|
|
3325
|
-
interval:
|
|
3354
|
+
interval: string | number;
|
|
3326
3355
|
description?: string | undefined;
|
|
3327
3356
|
pages?: string[] | undefined;
|
|
3328
3357
|
guard?: SExpr | undefined;
|
|
@@ -3334,7 +3363,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3334
3363
|
}, {
|
|
3335
3364
|
name: string;
|
|
3336
3365
|
effects: unknown[][];
|
|
3337
|
-
interval:
|
|
3366
|
+
interval: string | number;
|
|
3338
3367
|
description?: string | undefined;
|
|
3339
3368
|
pages?: string[] | undefined;
|
|
3340
3369
|
guard?: SExpr | undefined;
|
|
@@ -3669,7 +3698,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3669
3698
|
entityRefIds?: Record<string, EntityId> | undefined;
|
|
3670
3699
|
traitEmbedIds?: Record<string, TraitId> | undefined;
|
|
3671
3700
|
requiredFields?: {
|
|
3672
|
-
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
|
|
3701
|
+
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
|
|
3673
3702
|
name: string;
|
|
3674
3703
|
description?: string | undefined;
|
|
3675
3704
|
}[] | undefined;
|
|
@@ -3677,7 +3706,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3677
3706
|
ticks?: {
|
|
3678
3707
|
name: string;
|
|
3679
3708
|
effects: unknown[][];
|
|
3680
|
-
interval:
|
|
3709
|
+
interval: string | number;
|
|
3681
3710
|
description?: string | undefined;
|
|
3682
3711
|
pages?: string[] | undefined;
|
|
3683
3712
|
guard?: SExpr | undefined;
|
|
@@ -3815,7 +3844,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3815
3844
|
entityRefIds?: Record<string, string> | undefined;
|
|
3816
3845
|
traitEmbedIds?: Record<string, string> | undefined;
|
|
3817
3846
|
requiredFields?: {
|
|
3818
|
-
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
|
|
3847
|
+
type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
|
|
3819
3848
|
name: string;
|
|
3820
3849
|
description?: string | undefined;
|
|
3821
3850
|
}[] | undefined;
|
|
@@ -3823,7 +3852,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3823
3852
|
ticks?: {
|
|
3824
3853
|
name: string;
|
|
3825
3854
|
effects: unknown[][];
|
|
3826
|
-
interval:
|
|
3855
|
+
interval: string | number;
|
|
3827
3856
|
description?: string | undefined;
|
|
3828
3857
|
pages?: string[] | undefined;
|
|
3829
3858
|
guard?: SExpr | undefined;
|
|
@@ -3861,4 +3890,4 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3861
3890
|
} | undefined;
|
|
3862
3891
|
}>]>;
|
|
3863
3892
|
|
|
3864
|
-
export {
|
|
3893
|
+
export { type TraitEntityField as $, RequiredFieldSchema as A, SECRET_CONFIG_TYPES as B, type CallSiteConfig as C, type DeclaredTraitConfig as D, type EntityFieldContract as E, type SecretConfigType as F, type Guard as G, type StateInput as H, type StateMachine as I, type StateMachineInput as J, StateMachineSchema as K, type ListenSource as L, StateSchema as M, TickIntervalSchema as N, type OrbitalTraitRef as O, type PayloadField as P, type TraitCategory as Q, REFERENCE_CONFIG_TYPES as R, type State as S, type TraitEventListener as T, TraitCategorySchema as U, type TraitConfigObject as V, TraitConfigSchema as W, type TraitConfigValue as X, TraitConfigValueSchema as Y, type TraitDataEntity as Z, TraitDataEntitySchema as _, type TraitReference as a, TraitEntityFieldSchema as a0, type TraitEventContract as a1, TraitEventContractSchema as a2, TraitEventListenerSchema as a3, type TraitInput as a4, type TraitRef as a5, TraitRefSchema as a6, type TraitReferenceInput as a7, TraitReferenceSchema as a8, TraitSchema as a9, type TraitTick as aa, TraitTickSchema as ab, type TraitUIBinding as ac, type Transition as ad, type TransitionInput as ae, TransitionSchema as af, configRefEventKnob as ag, getTraitConfig as ah, getTraitName as ai, isCallSiteConfigDeclaration as aj, isCircuitEvent as ak, isInlineTrait as al, isReferenceConfigType as am, isSecretConfigType as an, normalizeCallSiteConfigToValues as ao, normalizeTraitRef as ap, resolveConfigRefEventName as aq, type TraitScope as ar, type CallSiteConfigEntry as b, type Trait as c, type TraitConfig as d, CONFIG_REF_EVENT_PATTERN as e, type ConfigFieldDeclaration as f, ConfigFieldDeclarationSchema as g, type ConfigFieldItemsDeclaration as h, type ConfigRefEventError as i, DeclaredTraitConfigSchema as j, EntityFieldContractSchema as k, type Event as l, type EventInput as m, type EventPayloadField as n, EventPayloadFieldSchema as o, EventSchema as p, type EventScope as q, EventScopeSchema as r, type GuardInput as s, GuardSchema as t, ListenSourceSchema as u, OrbitalTraitRefSchema as v, PayloadFieldSchema as w, type PresentationType as x, type ReferenceConfigType as y, type RequiredField as z };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { M as MakeTraitRefOpts, b4 as PageTraitRef, O as OrbitalSchema, a6 as EventWiringEntry, aq as LayoutStrategy, bi as ThemeDefinition, a7 as Orbital, aZ as Page, K as DomainContext, a as OrbitalDefinition } from '../builders-
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES, b as ALLOWED_CUSTOM_COMPONENTS, c as AgentDomainCategory, d as AgentDomainCategorySchema, e as AllowedCustomComponent, C as ColorSlice, f as ColorSliceSchema, g as ColorTokens, h as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, E as DesignPreferencesSchema, F as DesignTokens, G as DesignTokensInput, H as DesignTokensSchema, I as DomainCategory, J as DomainCategorySchema, L as DomainContextInput, N as DomainContextSchema, P as DomainVocabulary, Q as DomainVocabularySchema, R as ElevationSlice, S as ElevationSliceSchema, T as ElevationTokens, U as ElevationTokensSchema, V as EntityCall, W as EntityCallSchema, X as EntityRef, Y as EntityRefSchema, Z as EntityRefStringSchema, _ as EntitySemanticRole, $ as EntitySemanticRoleSchema, a0 as EventListener, a1 as EventListenerSchema, a2 as EventSemanticRole, a3 as EventSemanticRoleSchema, a4 as EventSource, a5 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, ar as MotionDurationKey, as as MotionDurationKeySchema, at as MotionDurationPalette, au as MotionDurationPaletteSchema, av as MotionEasingKey, aw as MotionEasingKeySchema, ax as MotionEasingPalette, ay as MotionEasingPaletteSchema, az as MotionIntent, aA as MotionIntentMap, aB as MotionIntentMapSchema, aC as MotionIntentSchema, aD as MotionSlice, aE as MotionSliceSchema, aF as MotionTokens, aG as MotionTokensSchema, aH as NodeClassification, aI as NodeClassificationSchema, aJ as OrbitalConfig, aK as OrbitalConfigInput, aL as OrbitalConfigSchema, aM as OrbitalDefinitionSchema, aN as OrbitalInput, aO as OrbitalPage, aP as OrbitalPageInput, aQ as OrbitalPageSchema, aR as OrbitalPageStrictInput, aS as OrbitalPageStrictSchema, aT as OrbitalSchemaInput, aU as OrbitalSchemaSchema, aV as OrbitalSchemaWithTraits, aW as OrbitalUnit, aX as OrbitalUnitSchema, aY as OrbitalZodSchema, a_ as PageRef, a$ as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, b5 as PageTraitRefSchema, b6 as RelatedLink, b7 as RelatedLinkSchema, b8 as SchemaMetadata, b9 as SchemaMetadataSchema, ba as SkinSpec, bb as SkinSpecSchema, bc as SpacingScale, bd as SpacingScaleSchema, be as StateSemanticRole, bf as StateSemanticRoleSchema, bg as SuggestedGuard, bh as SuggestedGuardSchema, bj as ThemeDefinitionSchema, bk as ThemeRef, bl as ThemeRefSchema, bm as ThemeRefStringSchema, bn as ThemeTokens, bo as ThemeTokensSchema, bp as ThemeVariant, bq as ThemeVariantSchema, br as TypeIntent, bs as TypeIntentMap, bt as TypeIntentMapSchema, bu as TypeIntentSchema, bv as TypeScale, bw as TypeScaleEntry, bx as TypeScaleEntrySchema, by as TypeScaleSchema, bz as TypeScaleTokens, bA as TypeScaleTokensSchema, bB as TypeSizeKey, bC as TypeSizeKeySchema, bD as TypeSlice, bE as TypeSliceSchema, bF as TypeSlot, bG as TypeSlotSchema, bH as TypeWeight, bI as TypeWeightSchema, bJ as UXHints, bK as UXHintsSchema, bL as UseDeclaration, bM as UseDeclarationSchema, bN as UserPersona, bO as UserPersonaInput, bP as UserPersonaSchema, bQ as ViewType, bR as ViewTypeSchema, bV as isEntityCall, bW as isEntityReference, bX as isEntityReferenceAny, bY as isImportedTraitRef, bZ as isOrbitalDefinition, b_ as isPageReference, b$ as isPageReferenceObject, c0 as isPageReferenceString, c1 as isThemeReference, c2 as parseEntityRef, c3 as parseImportedTraitRef, c4 as parseOrbitalSchema, c5 as parsePageRef, c6 as safeParseOrbitalSchema } from '../builders-
|
|
3
|
-
import { F as FieldValue,
|
|
4
|
-
export {
|
|
1
|
+
import { M as MakeTraitRefOpts, b4 as PageTraitRef, O as OrbitalSchema, a6 as EventWiringEntry, aq as LayoutStrategy, bi as ThemeDefinition, a7 as Orbital, aZ as Page, K as DomainContext, a as OrbitalDefinition } from '../builders-BoyWDFfH.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, b as ALLOWED_CUSTOM_COMPONENTS, c as AgentDomainCategory, d as AgentDomainCategorySchema, e as AllowedCustomComponent, C as ColorSlice, f as ColorSliceSchema, g as ColorTokens, h as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, E as DesignPreferencesSchema, F as DesignTokens, G as DesignTokensInput, H as DesignTokensSchema, I as DomainCategory, J as DomainCategorySchema, L as DomainContextInput, N as DomainContextSchema, P as DomainVocabulary, Q as DomainVocabularySchema, R as ElevationSlice, S as ElevationSliceSchema, T as ElevationTokens, U as ElevationTokensSchema, V as EntityCall, W as EntityCallSchema, X as EntityRef, Y as EntityRefSchema, Z as EntityRefStringSchema, _ as EntitySemanticRole, $ as EntitySemanticRoleSchema, a0 as EventListener, a1 as EventListenerSchema, a2 as EventSemanticRole, a3 as EventSemanticRoleSchema, a4 as EventSource, a5 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, ar as MotionDurationKey, as as MotionDurationKeySchema, at as MotionDurationPalette, au as MotionDurationPaletteSchema, av as MotionEasingKey, aw as MotionEasingKeySchema, ax as MotionEasingPalette, ay as MotionEasingPaletteSchema, az as MotionIntent, aA as MotionIntentMap, aB as MotionIntentMapSchema, aC as MotionIntentSchema, aD as MotionSlice, aE as MotionSliceSchema, aF as MotionTokens, aG as MotionTokensSchema, aH as NodeClassification, aI as NodeClassificationSchema, aJ as OrbitalConfig, aK as OrbitalConfigInput, aL as OrbitalConfigSchema, aM as OrbitalDefinitionSchema, aN as OrbitalInput, aO as OrbitalPage, aP as OrbitalPageInput, aQ as OrbitalPageSchema, aR as OrbitalPageStrictInput, aS as OrbitalPageStrictSchema, aT as OrbitalSchemaInput, aU as OrbitalSchemaSchema, aV as OrbitalSchemaWithTraits, aW as OrbitalUnit, aX as OrbitalUnitSchema, aY as OrbitalZodSchema, a_ as PageRef, a$ as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, b5 as PageTraitRefSchema, b6 as RelatedLink, b7 as RelatedLinkSchema, b8 as SchemaMetadata, b9 as SchemaMetadataSchema, ba as SkinSpec, bb as SkinSpecSchema, bc as SpacingScale, bd as SpacingScaleSchema, be as StateSemanticRole, bf as StateSemanticRoleSchema, bg as SuggestedGuard, bh as SuggestedGuardSchema, bj as ThemeDefinitionSchema, bk as ThemeRef, bl as ThemeRefSchema, bm as ThemeRefStringSchema, bn as ThemeTokens, bo as ThemeTokensSchema, bp as ThemeVariant, bq as ThemeVariantSchema, br as TypeIntent, bs as TypeIntentMap, bt as TypeIntentMapSchema, bu as TypeIntentSchema, bv as TypeScale, bw as TypeScaleEntry, bx as TypeScaleEntrySchema, by as TypeScaleSchema, bz as TypeScaleTokens, bA as TypeScaleTokensSchema, bB as TypeSizeKey, bC as TypeSizeKeySchema, bD as TypeSlice, bE as TypeSliceSchema, bF as TypeSlot, bG as TypeSlotSchema, bH as TypeWeight, bI as TypeWeightSchema, bJ as UXHints, bK as UXHintsSchema, bL as UseDeclaration, bM as UseDeclarationSchema, bN as UserPersona, bO as UserPersonaInput, bP as UserPersonaSchema, bQ as ViewType, bR as ViewTypeSchema, bV as isEntityCall, bW as isEntityReference, bX as isEntityReferenceAny, bY as isImportedTraitRef, bZ as isOrbitalDefinition, b_ as isPageReference, b$ as isPageReferenceObject, c0 as isPageReferenceString, c1 as isThemeReference, c2 as parseEntityRef, c3 as parseImportedTraitRef, c4 as parseOrbitalSchema, c5 as parsePageRef, c6 as safeParseOrbitalSchema } from '../builders-BoyWDFfH.js';
|
|
3
|
+
import { F as FieldValue, a as EntityField, E as EntityPersistence, J as JsonValue, e as Entity, b as EntityRow, O as OrbitalId, T as TraitId, c as EventId, a6 as JsonObject, f as ToolArgs } from '../entity-CVylqnAf.js';
|
|
4
|
+
export { A as ANIMATION_NAMES, g as ASSET_ASPECTS, h as ASSET_DIMENSIONS, i as AnimationDef, j as AnimationDefInput, k as AnimationDefSchema, l as AnimationName, m as AnimationNameSchema, n as ArrayEntityField, o as Asset, p as AssetAspect, q as AssetAspectSchema, r as AssetCatalog, s as AssetCatalogEntry, t as AssetCatalogEntryInput, u as AssetCatalogEntrySchema, v as AssetCatalogSchema, w as AssetDimension, x as AssetDimensionSchema, y as AssetSchema, z as AssetUrl, C as CAMERA_MODES, B as Camera, D as CameraMode, G as CameraModeSchema, H as CameraSchema, I as ENTITY_ROLES, K as EntityData, L as EntityFieldInput, M as EntityFieldSchema, d as EntityId, N as EntityIdSchema, Q as EntityPersistenceSchema, S as EntityRole, U as EntityRoleSchema, V as EntitySchema, W as EntityWith, X as EnumEntityField, Y as EventIdSchema, Z as FIELD_TYPES, _ as Field, $ as FieldSchema, a0 as FieldType, a1 as FieldTypeSchema, a2 as IdForKind, a3 as IdKind, a4 as IdentityLedger, a5 as IdentityLedgerSchema, a7 as LedgerEntry, a8 as LedgerEntrySchema, a9 as LedgerKind, aa as LedgerKindSchema, ab as ObjectEntityField, ac as OrbitalEntity, ad as OrbitalEntityInput, ae as OrbitalEntitySchema, af as OrbitalIdSchema, P as PageId, ag as PageIdSchema, ah as PaletteEntryId, ai as PaletteEntryIdSchema, R as RelationConfig, aj as RelationConfigSchema, ak as RelationEntityField, al as SEMANTIC_STRING_TYPES, am as SPRITE_DIRECTIONS, an as ScalarEntityField, ao as ScenePos, ap as ScenePosSchema, aq as SemanticAssetRef, ar as SemanticAssetRefInput, as as SemanticAssetRefSchema, at as SemanticStringType, au as ServiceId, av as ServiceIdSchema, aw as SpriteDirection, ax as SpriteDirectionSchema, ay as SpriteSheetAtlas, az as SpriteSheetAtlasInput, aA as SpriteSheetAtlasSchema, aB as SubTexture, aC as SubTextureSchema, aD as TextureAtlas, aE as TextureAtlasSchema, aF as ThemeId, aG as ThemeIdSchema, aH as Tilesheet, aI as TilesheetSchema, aJ as TraitIdSchema, aK as VISUAL_STYLES, aL as VisualStyle, aM as VisualStyleSchema, aN as asEntityId, aO as asEventId, aP as asOrbitalId, aQ as asPageId, aR as asPaletteEntryId, aS as asServiceId, aT as asThemeId, aU as asTraitId, aV as createAssetKey, aW as deriveCollection, aX as getDefaultAnimationsForRole, aY as idKindOf, aZ as idPrefix, a_ as isEmailValue, a$ as isEntityId, b0 as isEventId, b1 as isFieldValue, b2 as isJsonArray, b3 as isJsonObject, b4 as isJsonPrimitive, b5 as isOrbitalId, b6 as isPageId, b7 as isPaletteEntryId, b8 as isPhoneValue, b9 as isRuntimeEntity, ba as isSemanticStringType, bb as isSemanticStringValue, bc as isServiceId, bd as isThemeId, be as isTraitId, bf as isUrlValue, bg as isUuidValue, bh as ledgerCurName, bi as ledgerRename, bj as ledgerResolveName, bk as mintId, bl as parseAssetKey, bm as persistenceModeAllowsOverrides, bn as validateAssetAnimations } from '../entity-CVylqnAf.js';
|
|
5
5
|
import { d as EventPayloadValue, a as EventPayload, L as LogMeta, S as SExpr, c as EvalContext } from '../expression-DpAj1RzP.js';
|
|
6
6
|
export { C as CORE_BINDINGS, b as CoreBinding, E as Expression, e as ExpressionInput, f as ExpressionSchema, g as LogMetaValue, P as ParsedBinding, h as SExprAtom, i as SExprAtomSchema, j as SExprInput, k as SExprSchema, l as collectBindings, m as getArgs, n as getOperator, o as isBinding, p as isEventPayloadValue, q as isSExpr, r as isSExprAtom, s as isSExprCall, t as isValidBinding, u as parseBinding, v as sexpr, w as walkSExpr } from '../expression-DpAj1RzP.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
|
-
import { a as TraitReference, c as Trait, L as ListenSource, D as DeclaredTraitConfig, d as TraitConfig, f as ConfigFieldDeclaration, S as State,
|
|
9
|
-
export { e as CONFIG_REF_EVENT_PATTERN, C as CallSiteConfig, b as CallSiteConfigEntry, g as ConfigFieldDeclarationSchema, h as ConfigFieldItemsDeclaration, i as ConfigRefEventError, j as DeclaredTraitConfigSchema, E as EntityFieldContract, k as EntityFieldContractSchema, m as EventInput, n as EventPayloadField, o as EventPayloadFieldSchema, p as EventSchema, q as EventScope, r as EventScopeSchema, G as Guard, s as GuardInput, t as GuardSchema, u as ListenSourceSchema, O as OrbitalTraitRef, v as OrbitalTraitRefSchema, P as PayloadField, w as PayloadFieldSchema, x as PresentationType, R as REFERENCE_CONFIG_TYPES, y as ReferenceConfigType, z as RequiredField, A as RequiredFieldSchema, B as
|
|
10
|
-
import {
|
|
8
|
+
import { a as TraitReference, c as Trait, L as ListenSource, D as DeclaredTraitConfig, d as TraitConfig, f as ConfigFieldDeclaration, S as State, ad as Transition, l as Event, X as TraitConfigValue, Q as TraitCategory, ar as TraitScope } from '../trait-Bnd3i_2G.js';
|
|
9
|
+
export { e as CONFIG_REF_EVENT_PATTERN, C as CallSiteConfig, b as CallSiteConfigEntry, g as ConfigFieldDeclarationSchema, h as ConfigFieldItemsDeclaration, i as ConfigRefEventError, j as DeclaredTraitConfigSchema, E as EntityFieldContract, k as EntityFieldContractSchema, m as EventInput, n as EventPayloadField, o as EventPayloadFieldSchema, p as EventSchema, q as EventScope, r as EventScopeSchema, G as Guard, s as GuardInput, t as GuardSchema, u as ListenSourceSchema, O as OrbitalTraitRef, v as OrbitalTraitRefSchema, P as PayloadField, w as PayloadFieldSchema, x as PresentationType, R as REFERENCE_CONFIG_TYPES, y as ReferenceConfigType, z as RequiredField, A as RequiredFieldSchema, B as SECRET_CONFIG_TYPES, F as SecretConfigType, H as StateInput, I as StateMachine, J as StateMachineInput, K as StateMachineSchema, M as StateSchema, N as TickIntervalSchema, U as TraitCategorySchema, V as TraitConfigObject, W as TraitConfigSchema, Y as TraitConfigValueSchema, Z as TraitDataEntity, _ as TraitDataEntitySchema, $ as TraitEntityField, a0 as TraitEntityFieldSchema, a1 as TraitEventContract, a2 as TraitEventContractSchema, T as TraitEventListener, a3 as TraitEventListenerSchema, a4 as TraitInput, a5 as TraitRef, a6 as TraitRefSchema, a7 as TraitReferenceInput, a8 as TraitReferenceSchema, a9 as TraitSchema, aa as TraitTick, ab as TraitTickSchema, ac as TraitUIBinding, ae as TransitionInput, af as TransitionSchema, ag as configRefEventKnob, ah as getTraitConfig, ai as getTraitName, aj as isCallSiteConfigDeclaration, ak as isCircuitEvent, al as isInlineTrait, am as isReferenceConfigType, an as isSecretConfigType, ao as normalizeCallSiteConfigToValues, ap as normalizeTraitRef, aq as resolveConfigRefEventName } from '../trait-Bnd3i_2G.js';
|
|
10
|
+
import { a3 as ServiceParams, A as AnyPatternConfig, E as Effect } from '../effect-5kg4MCeB.js';
|
|
11
|
+
export { a as AgentEffect, b as ApplicationEffect, c as AtomicEffect, B as BehaviorEffect, C as CallServiceConfig, d as CallServiceEffect, e as CheckpointLoadEffect, f as CheckpointSaveEffect, g as ComposeEffect, D as DerefEffect, h as DespawnEffect, i as DoEffect, j as EffectInput, k as EffectSchema, l as EmitConfig, m as EmitEffect, n as EvaluateConfig, o as EvaluateEffect, F as FetchEffect, p as FetchOptions, q as FetchResult, r as ForwardConfig, s as ForwardEffect, L as LlmEffect, t as LogEffect, M as McpServiceDef, u as McpServiceDefSchema, v as MemoryEffect, N as NavigateEffect, w as NnConfig, x as NnLayer, y as NotifyEffect, O as OsEffect, P as PATTERN_TYPES, z as PatternConfig, I as PatternType, J as PersistData, K as PersistEffect, Q as PersistEmitConfig, R as RefEffect, S as RenderBinding, T as RenderChildrenMap, U as RenderItemLambda, V as RenderUIEffect, W as RenderUINode, X as ResolvedPatternProps, Y as RestAuthConfig, Z as RestAuthConfigSchema, _ as RestServiceDef, $ as RestServiceDefSchema, a0 as SERVICE_TYPES, a1 as ServiceDefinition, a2 as ServiceDefinitionSchema, a4 as ServiceParamsValue, a5 as ServiceRef, a6 as ServiceRefObject, a7 as ServiceRefObjectSchema, a8 as ServiceRefSchema, a9 as ServiceRefStringSchema, aa as ServiceType, ab as ServiceTypeSchema, ac as SessionEffect, ad as SetEffect, ae as SocketEvents, af as SocketEventsSchema, ag as SocketServiceDef, ah as SocketServiceDefSchema, ai as SpawnEffect, aj as SwapEffect, ak as TraceEffect, al as TrainConfig, am as TrainEffect, an as TypedEffect, ao as UISlot, ap as UISlotSchema, aq as UI_SLOTS, ar as ValidateEffect, as as WatchEffect, at as WatchOptions, au as atomic, av as callService, aw as deref, ax as despawn, ay as doEffects, az as emit, aA as findService, aB as getServiceNames, aC as hasService, aD as isEffect, aE as isMcpService, aF as isRestService, aG as isSExprEffect, aH as isServiceReference, aI as isServiceReferenceObject, aJ as isSocketService, aK as isValidPatternType, aL as navigate, aM as notify, aN as parseServiceRef, aO as persist, aP as ref, aQ as renderUI, aR as set, aS as spawn, aT as swap, aU as watch } from '../effect-5kg4MCeB.js';
|
|
12
|
+
import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-BE598tvP.js';
|
|
11
13
|
|
|
12
14
|
/**
|
|
13
15
|
* S-Expression Bindings
|
|
@@ -1371,9 +1373,9 @@ interface ValidationDocument {
|
|
|
1371
1373
|
*/
|
|
1372
1374
|
type PersistActionName = "create" | "update" | "delete" | "list" | "query";
|
|
1373
1375
|
/**
|
|
1374
|
-
* Union of all service action names across
|
|
1376
|
+
* Union of all service action names across the registered service contracts.
|
|
1375
1377
|
*/
|
|
1376
|
-
type ServiceActionName = PersistActionName | "get" | "getById" | "set" | "remove" | "size" | "generate" | "classify" | "extract" | "summarize" | "send" | "sendMessage" | "sendSMS" | "sendWhatsApp" | "authorize" | "revoke" | "token" | "refresh" | "userinfo" | "register" | "cloneRepo" | "commit" | "createBranch" | "createPR" | "getPRComments" | "pull" | "push" | "build" | "compile" | "compileSchema" | "run" | "validate" | "validateSchema" | "publish" | "enqueue" | "dequeue" | "cancel" | "upload" | "download" | "getSignedUrl" | "search" | "getIssue" | "listIssues" | "generateAll" | "generateDomainLanguage" | "generateFix" | "generateOrbitals" | "cancelGeneration" | "getGenerationHistory" | "recordGeneration" | "startSpan" | "endSpan" | "getSpan" | "recordMetric" | "getMetrics" | "increment" | "logs" | "addEvent" | "emit" | "findEmitters" | "findListeners" | "getListenerCounts" | "getChannel" | "subscribe" | "getUserPreferences" | "updateUserPreferences" | "getThreadHistory" | "getVideo" | "createPaymentIntent" | "confirmPayment" | "refund" | "complete" | "fail" | "expire" | "resume" | "status" | "stop" | "lock" | "unlock" | "clear";
|
|
1378
|
+
type ServiceActionName = PersistActionName | "get" | "getById" | "set" | "remove" | "size" | "generate" | "classify" | "extract" | "summarize" | "send" | "sendMessage" | "sendSMS" | "sendWhatsApp" | "authorize" | "revoke" | "token" | "refresh" | "userinfo" | "register" | "cloneRepo" | "commit" | "createBranch" | "createPR" | "getPRComments" | "pull" | "push" | "build" | "compile" | "compileSchema" | "run" | "validate" | "validateSchema" | "publish" | "enqueue" | "dequeue" | "cancel" | "upload" | "download" | "getSignedUrl" | "search" | "getIssue" | "listIssues" | "generateAll" | "generateDomainLanguage" | "generateFix" | "generateOrbitals" | "cancelGeneration" | "getGenerationHistory" | "recordGeneration" | "startSpan" | "endSpan" | "getSpan" | "recordMetric" | "getMetrics" | "increment" | "logs" | "addEvent" | "emit" | "findEmitters" | "findListeners" | "getListenerCounts" | "getChannel" | "subscribe" | "getUserPreferences" | "updateUserPreferences" | "getThreadHistory" | "listDocuments" | "fetchDocument" | "getVideo" | "createPaymentIntent" | "confirmPayment" | "refund" | "complete" | "fail" | "expire" | "resume" | "status" | "stop" | "lock" | "unlock" | "clear";
|
|
1377
1379
|
/**
|
|
1378
1380
|
* Action definition for a service contract.
|
|
1379
1381
|
*
|