@almadar/core 10.57.0 → 10.58.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-05-20T19:26:16.363Z",
3
+ "exportedAt": "2026-08-16T04:55:02.135Z",
4
4
  "services": {
5
5
  "llm": {
6
6
  "name": "llm",
@@ -138,39 +138,61 @@
138
138
  "summary": "string",
139
139
  "keyPoints": "string[]"
140
140
  }
141
+ }
142
+ ],
143
+ "credentials": [
144
+ {
145
+ "envVar": "ANTHROPIC_API_KEY",
146
+ "required": false,
147
+ "description": "Anthropic API key (use this OR OPENAI_API_KEY)"
141
148
  },
142
149
  {
143
- "name": "embed",
144
- "description": "Generate embeddings for an array of texts.",
150
+ "envVar": "OPENAI_API_KEY",
151
+ "required": false,
152
+ "description": "OpenAI API key (use this OR ANTHROPIC_API_KEY)"
153
+ }
154
+ ]
155
+ },
156
+ "ml": {
157
+ "name": "ml",
158
+ "description": "ML service — model inference on a trained or off-the-shelf model",
159
+ "category": "ai",
160
+ "package": "@almadar/llm",
161
+ "actions": [
162
+ {
163
+ "name": "infer",
164
+ "description": "Run inference against a deployed model checkpoint.",
145
165
  "params": [
146
166
  {
147
- "name": "texts",
148
- "type": "string[]",
167
+ "name": "model",
168
+ "type": "string",
149
169
  "required": true,
150
- "description": ""
170
+ "description": "`hf:<id>` for off-the-shelf weights, or a masar checkpoint id."
151
171
  },
152
172
  {
153
- "name": "model",
154
- "type": "string",
155
- "required": false,
156
- "description": ""
173
+ "name": "input",
174
+ "type": "ServiceParamsValue",
175
+ "required": true,
176
+ "description": "JSON-safe model input (tensor-shaped payload from `contract/entity-to-tensor`)."
157
177
  }
158
178
  ],
159
179
  "responseShape": {
160
- "embeddings": "number[][]"
180
+ "output": "ServiceParamsValue",
181
+ "confidence": "number",
182
+ "violations": "ServiceParamsValue[]"
161
183
  }
162
184
  }
163
185
  ],
164
186
  "credentials": [
165
187
  {
166
- "envVar": "ANTHROPIC_API_KEY",
167
- "required": false,
168
- "description": "Anthropic API key (use this OR OPENAI_API_KEY)"
188
+ "envVar": "MASAR_URL",
189
+ "required": true,
190
+ "description": "Base URL of the deployed model-serving orbital"
169
191
  },
170
192
  {
171
- "envVar": "OPENAI_API_KEY",
172
- "required": false,
173
- "description": "OpenAI API key (use this OR ANTHROPIC_API_KEY)"
193
+ "envVar": "MASAR_ML_TRAIT",
194
+ "required": true,
195
+ "description": "Kebab-case trait name the serving orbital exposes its /events route under"
174
196
  }
175
197
  ]
176
198
  },
@@ -410,240 +432,6 @@
410
432
  ],
411
433
  "credentials": []
412
434
  },
413
- "session": {
414
- "name": "session",
415
- "description": "Session management — create, get, list, clear agent sessions",
416
- "category": "ai",
417
- "package": "@almadar/agent",
418
- "actions": [
419
- {
420
- "name": "create",
421
- "description": "",
422
- "params": [
423
- {
424
- "name": "threadId",
425
- "type": "string",
426
- "required": true,
427
- "description": ""
428
- },
429
- {
430
- "name": "userId",
431
- "type": "string",
432
- "required": false,
433
- "description": ""
434
- }
435
- ],
436
- "responseShape": {
437
- "threadId": "string",
438
- "created": "boolean"
439
- }
440
- },
441
- {
442
- "name": "get",
443
- "description": "",
444
- "params": [
445
- {
446
- "name": "threadId",
447
- "type": "string",
448
- "required": true,
449
- "description": ""
450
- }
451
- ],
452
- "responseShape": {
453
- "session": "EventPayload | null"
454
- }
455
- },
456
- {
457
- "name": "list",
458
- "description": "",
459
- "params": [
460
- {
461
- "name": "userId",
462
- "type": "string",
463
- "required": false,
464
- "description": ""
465
- }
466
- ],
467
- "responseShape": {
468
- "sessions": "array"
469
- }
470
- },
471
- {
472
- "name": "clear",
473
- "description": "",
474
- "params": [
475
- {
476
- "name": "threadId",
477
- "type": "string",
478
- "required": true,
479
- "description": ""
480
- }
481
- ],
482
- "responseShape": {
483
- "cleared": "boolean"
484
- }
485
- }
486
- ],
487
- "credentials": []
488
- },
489
- "memory": {
490
- "name": "memory",
491
- "description": "Memory service — user preferences and generation history",
492
- "category": "ai",
493
- "package": "@almadar/agent",
494
- "actions": [
495
- {
496
- "name": "getUserPreferences",
497
- "description": "",
498
- "params": [
499
- {
500
- "name": "userId",
501
- "type": "string",
502
- "required": true,
503
- "description": ""
504
- }
505
- ],
506
- "responseShape": {
507
- "preferences": "EventPayload | null"
508
- }
509
- },
510
- {
511
- "name": "updateUserPreferences",
512
- "description": "",
513
- "params": [
514
- {
515
- "name": "userId",
516
- "type": "string",
517
- "required": true,
518
- "description": ""
519
- },
520
- {
521
- "name": "preferences",
522
- "type": "ServiceParams",
523
- "required": true,
524
- "description": ""
525
- }
526
- ],
527
- "responseShape": {
528
- "updated": "boolean"
529
- }
530
- },
531
- {
532
- "name": "recordGeneration",
533
- "description": "",
534
- "params": [
535
- {
536
- "name": "userId",
537
- "type": "string",
538
- "required": true,
539
- "description": ""
540
- },
541
- {
542
- "name": "prompt",
543
- "type": "string",
544
- "required": true,
545
- "description": ""
546
- },
547
- {
548
- "name": "result",
549
- "type": "string",
550
- "required": true,
551
- "description": ""
552
- },
553
- {
554
- "name": "skill",
555
- "type": "string",
556
- "required": false,
557
- "description": ""
558
- }
559
- ],
560
- "responseShape": {
561
- "sessionId": "string"
562
- }
563
- },
564
- {
565
- "name": "getGenerationHistory",
566
- "description": "",
567
- "params": [
568
- {
569
- "name": "userId",
570
- "type": "string",
571
- "required": true,
572
- "description": ""
573
- },
574
- {
575
- "name": "limit",
576
- "type": "number",
577
- "required": false,
578
- "description": ""
579
- }
580
- ],
581
- "responseShape": {
582
- "sessions": "array"
583
- }
584
- }
585
- ],
586
- "credentials": []
587
- },
588
- "agent": {
589
- "name": "agent",
590
- "description": "Agent service — send messages and manage generation",
591
- "category": "ai",
592
- "package": "@almadar/agent",
593
- "actions": [
594
- {
595
- "name": "sendMessage",
596
- "description": "",
597
- "params": [
598
- {
599
- "name": "message",
600
- "type": "string",
601
- "required": true,
602
- "description": ""
603
- },
604
- {
605
- "name": "threadId",
606
- "type": "string",
607
- "required": false,
608
- "description": ""
609
- },
610
- {
611
- "name": "skill",
612
- "type": "string",
613
- "required": false,
614
- "description": ""
615
- },
616
- {
617
- "name": "context",
618
- "type": "ServiceParams",
619
- "required": false,
620
- "description": ""
621
- }
622
- ],
623
- "responseShape": {
624
- "response": "string",
625
- "threadId": "string",
626
- "toolCalls": "readonly EventPayloadValue[]"
627
- }
628
- },
629
- {
630
- "name": "cancelGeneration",
631
- "description": "",
632
- "params": [
633
- {
634
- "name": "threadId",
635
- "type": "string",
636
- "required": true,
637
- "description": ""
638
- }
639
- ],
640
- "responseShape": {
641
- "cancelled": "boolean"
642
- }
643
- }
644
- ],
645
- "credentials": []
646
- },
647
435
  "migration": {
648
436
  "name": "migration",
649
437
  "description": "Migration service — import external data (notes, docs, references) into the system",
@@ -656,9 +444,21 @@
656
444
  "params": [
657
445
  {
658
446
  "name": "source",
659
- "type": "ServiceParams",
447
+ "type": "object",
660
448
  "required": true,
661
449
  "description": "ImportSource descriptor (kind + source-specific config)"
450
+ },
451
+ {
452
+ "name": "connectionRef",
453
+ "type": "string",
454
+ "required": false,
455
+ "description": "Host-side credential reference (a name, never the secret)"
456
+ },
457
+ {
458
+ "name": "files",
459
+ "type": "string[]",
460
+ "required": false,
461
+ "description": "Optional explicit file list to restrict the listing"
662
462
  }
663
463
  ],
664
464
  "responseShape": {
@@ -671,7 +471,7 @@
671
471
  "params": [
672
472
  {
673
473
  "name": "source",
674
- "type": "ServiceParams",
474
+ "type": "object",
675
475
  "required": true,
676
476
  "description": "ImportSource descriptor (kind + source-specific config)"
677
477
  },
@@ -680,6 +480,12 @@
680
480
  "type": "string",
681
481
  "required": true,
682
482
  "description": ""
483
+ },
484
+ {
485
+ "name": "connectionRef",
486
+ "type": "string",
487
+ "required": false,
488
+ "description": "Host-side credential reference (a name, never the secret)"
683
489
  }
684
490
  ],
685
491
  "responseShape": {
@@ -701,6 +507,12 @@
701
507
  "type": "array",
702
508
  "required": true,
703
509
  "description": "ImportUnit[] staged for commit"
510
+ },
511
+ {
512
+ "name": "connectionRef",
513
+ "type": "string",
514
+ "required": false,
515
+ "description": "Host-side credential reference (a name, never the secret)"
704
516
  }
705
517
  ],
706
518
  "responseShape": {
@@ -1334,6 +1146,27 @@
1334
1146
  "summary": "string",
1335
1147
  "keyPoints": "string[]"
1336
1148
  }
1149
+ },
1150
+ {
1151
+ "name": "embed",
1152
+ "description": "",
1153
+ "params": [
1154
+ {
1155
+ "name": "texts",
1156
+ "type": "string[]",
1157
+ "required": true,
1158
+ "description": ""
1159
+ },
1160
+ {
1161
+ "name": "model",
1162
+ "type": "string",
1163
+ "required": false,
1164
+ "description": ""
1165
+ }
1166
+ ],
1167
+ "responseShape": {
1168
+ "embeddings": "number[][]"
1169
+ }
1337
1170
  }
1338
1171
  ],
1339
1172
  "credentials": [
@@ -1552,6 +1385,61 @@
1552
1385
  }
1553
1386
  ]
1554
1387
  },
1388
+ "webhook": {
1389
+ "name": "webhook",
1390
+ "description": "Outbound webhook — signed HTTP POST notifications to external endpoints",
1391
+ "category": "messaging",
1392
+ "package": "@almadar/integrations",
1393
+ "actions": [
1394
+ {
1395
+ "name": "send",
1396
+ "description": "",
1397
+ "params": [
1398
+ {
1399
+ "name": "url",
1400
+ "type": "string",
1401
+ "required": true,
1402
+ "description": ""
1403
+ },
1404
+ {
1405
+ "name": "event",
1406
+ "type": "string",
1407
+ "required": true,
1408
+ "description": ""
1409
+ },
1410
+ {
1411
+ "name": "payload",
1412
+ "type": "object",
1413
+ "required": false,
1414
+ "description": ""
1415
+ },
1416
+ {
1417
+ "name": "secret",
1418
+ "type": "string",
1419
+ "required": false,
1420
+ "description": ""
1421
+ }
1422
+ ],
1423
+ "responseShape": {
1424
+ "status": "number",
1425
+ "ok": "boolean",
1426
+ "durationMs": "number"
1427
+ }
1428
+ }
1429
+ ],
1430
+ "credentials": [
1431
+ {
1432
+ "envVar": "WEBHOOK_SIGNING_SECRET",
1433
+ "required": false,
1434
+ "description": "Default HMAC-SHA256 signing secret (per-call secret overrides)"
1435
+ },
1436
+ {
1437
+ "envVar": "WEBHOOK_TIMEOUT_MS",
1438
+ "required": false,
1439
+ "description": "Per-request timeout (ms, default 10000)"
1440
+ }
1441
+ ]
1442
+ },
1555
1443
  "docker": {
1556
1444
  "name": "docker",
1557
1445
  "description": "Docker — container and image management",
@@ -1,6 +1,6 @@
1
- import { b as TraitConfig, c as TraitConfigObject, d as TraitRef, E as EventPayloadField, C as ConfigFieldDeclaration, e as TraitConfigValue, f as TraitEntityField, P as PayloadField, g as Trait } from './trait-A4_OlY_l.js';
1
+ import { b as TraitConfig, c as TraitConfigObject, d as TraitRef, E as EventPayloadField, C as ConfigFieldDeclaration, e as TraitConfigValue, f as TraitEntityField, P as PayloadField, g as Trait } from './trait-Bw4nWHu1.js';
2
2
  import { J as JsonValue, E as Expression, S as SExpr, R as RuntimeValue } from './expression-Fk8bQWef.js';
3
- import { T as TraitId, d as EntityId, P as PageId, O as OrbitalId, E as EntityField, S as ServiceRef, e as Entity, a as EntityPersistence, b as EventId, g as ServiceDefinition, I as IdentityLedger } from './effect-D-_fm4No.js';
3
+ import { T as TraitId, d as EntityId, P as PageId, O as OrbitalId, E as EntityField, S as ServiceRef, e as Entity, a as EntityPersistence, b as EventId, g as ServiceDefinition, I as IdentityLedger } from './effect-BH2k4oK6.js';
4
4
  import { z } from 'zod';
5
5
 
6
6
  /**
@@ -1,4 +1,4 @@
1
- import { b as EventId, c as Effect, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, A as AnyPatternConfig, e as Entity, E as EntityField } from './effect-D-_fm4No.js';
1
+ import { b as EventId, c as Effect, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, A as AnyPatternConfig, e as Entity, E as EntityField } from './effect-BH2k4oK6.js';
2
2
  import { E as Expression, S as SExpr, J as JsonValue } from './expression-Fk8bQWef.js';
3
3
  import { z } from 'zod';
4
4
 
@@ -1,13 +1,13 @@
1
- import { b3 as PageTraitRef, O as OrbitalSchema, bh as ThemeDefinition, aa as Orbital, c as Page, N as DomainContext, a as OrbitalDefinition } from '../schema-CrUFqWXN.js';
2
- export { A as AGENT_DOMAIN_CATEGORIES, f as ALLOWED_CUSTOM_COMPONENTS, g as AgentDomainCategory, h as AgentDomainCategorySchema, i as AllowedCustomComponent, C as ColorSlice, j as ColorSliceSchema, k as ColorTokens, l as ColorTokensSchema, m as ComputedEventContract, n as ComputedEventContractSchema, o as ComputedEventListener, p as ComputedEventListenerSchema, q as ConfigProvenanceRecord, r as ConfigProvenanceRecordSchema, s as CustomPatternDefinition, t as CustomPatternDefinitionInput, u as CustomPatternDefinitionSchema, v as CustomPatternMap, w as CustomPatternMapInput, x as CustomPatternMapSchema, D as DensitySlice, y as DensitySliceSchema, z as DensityTokens, B as DensityTokensSchema, F as DesignPreferences, G as DesignPreferencesInput, H as DesignPreferencesSchema, I as DesignTokens, J as DesignTokensInput, K as DesignTokensSchema, L as DomainCategory, M as DomainCategorySchema, Q as DomainContextInput, R as DomainContextSchema, S as DomainVocabulary, T as DomainVocabularySchema, V as ElevationSlice, W as ElevationSliceSchema, X as ElevationTokens, Y as ElevationTokensSchema, Z as EntityCall, _ as EntityCallSchema, E as EntityRef, $ as EntityRefSchema, a0 as EntityRefStringSchema, a1 as EntitySemanticRole, a2 as EntitySemanticRoleSchema, a3 as EventListener, a4 as EventListenerSchema, a5 as EventSemanticRole, a6 as EventSemanticRoleSchema, a7 as EventSource, a8 as EventSourceSchema, b as ExpectDeclaration, a9 as ExpectDeclarationSchema, ab as GameSubCategory, ac as GameSubCategorySchema, ad as GeometrySlice, ae as GeometrySliceSchema, af as GeometryTokens, ag as GeometryTokensSchema, ah as IconFamily, ai as IconFamilySchema, aj as IconographySlice, ak as IconographySliceSchema, al as IconographyTokens, am as IconographyTokensSchema, an as IllustrationSlice, ao as IllustrationSliceSchema, ap as IllustrationStyle, aq as IllustrationStyleSchema, ar as IllustrationTokens, as as IllustrationTokensSchema, at as MotionDurationKey, au as MotionDurationKeySchema, av as MotionDurationPalette, aw as MotionDurationPaletteSchema, ax as MotionEasingKey, ay as MotionEasingKeySchema, az as MotionEasingPalette, aA as MotionEasingPaletteSchema, aB as MotionIntent, aC as MotionIntentMap, aD as MotionIntentMapSchema, aE as MotionIntentSchema, aF as MotionSlice, aG as MotionSliceSchema, aH as MotionTokens, aI as MotionTokensSchema, aJ as NavItem, aK as NodeClassification, aL as NodeClassificationSchema, aM as OrbitalConfig, aN as OrbitalConfigInput, aO as OrbitalConfigSchema, aP as OrbitalDefinitionSchema, aQ as OrbitalInput, e as OrbitalPage, aR as OrbitalPageInput, aS as OrbitalPageSchema, aT as OrbitalPageStrictInput, aU as OrbitalPageStrictSchema, aV as OrbitalSchemaInput, aW as OrbitalSchemaSchema, aX as OrbitalSchemaWithTraits, aY as OrbitalUnit, aZ as OrbitalUnitSchema, a_ as OrbitalZodSchema, P as PageRef, d as PageRefObject, a$ as PageRefObjectSchema, b0 as PageRefSchema, b1 as PageRefStringSchema, b2 as PageSchema, b4 as PageTraitRefSchema, b5 as RelatedLink, b6 as RelatedLinkSchema, b7 as SchemaMetadata, b8 as SchemaMetadataSchema, b9 as SkinSpec, ba as SkinSpecSchema, bb as SpacingScale, bc as SpacingScaleSchema, bd as StateSemanticRole, be as StateSemanticRoleSchema, bf as SuggestedGuard, bg as SuggestedGuardSchema, bi as ThemeDefinitionSchema, bj as ThemeRef, bk as ThemeRefSchema, bl as ThemeRefStringSchema, bm as ThemeTokens, bn as ThemeTokensSchema, bo as ThemeVariant, bp as ThemeVariantSchema, bq as TypeIntent, br as TypeIntentMap, bs as TypeIntentMapSchema, bt as TypeIntentSchema, bu as TypeScale, bv as TypeScaleEntry, bw as TypeScaleEntrySchema, bx as TypeScaleSchema, by as TypeScaleTokens, bz as TypeScaleTokensSchema, bA as TypeSizeKey, bB as TypeSizeKeySchema, bC as TypeSlice, bD as TypeSliceSchema, bE as TypeSlot, bF as TypeSlotSchema, bG as TypeWeight, bH as TypeWeightSchema, bI as UXHints, bJ as UXHintsSchema, U as UseDeclaration, bK as UseDeclarationSchema, bL as UserPersona, bM as UserPersonaInput, bN as UserPersonaSchema, bO as ViewType, bP as ViewTypeSchema, bQ as isEntityCall, bR as isEntityReference, bS as isEntityReferenceAny, bT as isImportedTraitRef, bU as isOrbitalDefinition, bV as isPageReference, bW as isPageReferenceObject, bX as isPageReferenceString, bY as isThemeReference, bZ as parseEntityRef, b_ as parseImportedTraitRef, b$ as parseOrbitalSchema, c0 as parsePageRef, c1 as safeParseOrbitalSchema } from '../schema-CrUFqWXN.js';
3
- import { F as FieldValue, E as EntityField, a as EntityPersistence, bp as ServiceParams, e as Entity, f as EntityRow, A as AnyPatternConfig, O as OrbitalId, T as TraitId, b as EventId, c as Effect } from '../effect-D-_fm4No.js';
4
- export { j as ANIMATION_NAMES, k as ASSET_ASPECTS, l as ASSET_DIMENSIONS, m as AgentEffect, n as AnimationDef, o as AnimationDefInput, p as AnimationDefSchema, q as AnimationName, r as AnimationNameSchema, s as ApplicationEffect, t as ArrayEntityField, u as Asset, v as AssetAspect, w as AssetAspectSchema, x as AssetCatalog, y as AssetCatalogEntry, z as AssetCatalogEntryInput, B as AssetCatalogEntrySchema, C as AssetCatalogSchema, D as AssetDimension, G as AssetDimensionSchema, H as AssetSchema, J as AssetUrl, K as AtomicEffect, L as BehaviorEffect, M as CAMERA_MODES, N as CallServiceConfig, Q as CallServiceEffect, V as Camera, W as CameraMode, X as CameraModeSchema, Y as CameraSchema, Z as CheckpointLoadEffect, _ as CheckpointSaveEffect, $ as ComposeEffect, a0 as DerefEffect, a1 as DespawnEffect, a2 as DoEffect, a3 as ENTITY_ROLES, a4 as EffectInput, a5 as EffectSchema, a6 as EmitConfig, a7 as EmitEffect, a8 as EntityData, a9 as EntityFieldInput, aa as EntityFieldSchema, d as EntityId, ab as EntityIdSchema, ac as EntityPersistenceSchema, ad as EntityRole, ae as EntityRoleSchema, af as EntitySchema, ag as EntityWith, ah as EnumEntityField, ai as EvaluateConfig, aj as EvaluateEffect, ak as EventIdSchema, al as FIELD_TYPES, am as FetchEffect, an as FetchOptions, ao as FetchResult, ap as Field, aq as FieldSchema, ar as FieldType, as as FieldTypeSchema, at as ForwardConfig, au as ForwardEffect, av as IdForKind, aw as IdKind, I as IdentityLedger, ax as IdentityLedgerSchema, ay as LedgerEntry, az as LedgerEntrySchema, aA as LedgerKind, aB as LedgerKindSchema, aC as LlmEffect, aD as LogEffect, aE as McpServiceDef, aF as McpServiceDefSchema, aG as MemoryEffect, aH as NavigateEffect, aI as NnConfig, aJ as NnLayer, aK as NotifyEffect, aL as ObjectEntityField, aM as OrbitalEntity, aN as OrbitalEntityInput, aO as OrbitalEntitySchema, aP as OrbitalIdSchema, aQ as OsEffect, aR as PATTERN_TYPES, P as PageId, aS as PageIdSchema, aT as PaletteEntryId, aU as PaletteEntryIdSchema, aV as PatternConfig, aY as PatternType, aZ as PersistData, a_ as PersistEffect, a$ as PersistEmitConfig, b0 as RefEffect, R as RelationConfig, b1 as RelationConfigSchema, b2 as RelationEntityField, h as RenderBinding, b3 as RenderChildrenMap, b4 as RenderItemLambda, i as RenderUIEffect, b5 as RenderUINode, b6 as ResolvedPatternProps, b7 as RestAuthConfig, b8 as RestAuthConfigSchema, b9 as RestServiceDef, ba as RestServiceDefSchema, bb as SEMANTIC_STRING_TYPES, bc as SERVICE_TYPES, bd as SHEET_PROJECTIONS, be as SPRITE_DIRECTIONS, bf as ScalarEntityField, bg as ScenePos, bh as ScenePosSchema, bi as SemanticAssetRef, bj as SemanticAssetRefInput, bk as SemanticAssetRefSchema, bl as SemanticStringType, g as ServiceDefinition, bm as ServiceDefinitionSchema, bn as ServiceId, bo as ServiceIdSchema, bq as ServiceParamsValue, S as ServiceRef, br as ServiceRefObject, bs as ServiceRefObjectSchema, bt as ServiceRefSchema, bu as ServiceRefStringSchema, bv as ServiceType, bw as ServiceTypeSchema, bx as SessionEffect, by as SetEffect, bz as SheetProjection, bA as SheetProjectionSchema, bB as SocketEvents, bC as SocketEventsSchema, bD as SocketServiceDef, bE as SocketServiceDefSchema, bF as SpawnEffect, bG as SpriteDirection, bH as SpriteDirectionSchema, bI as SpriteSheetAtlas, bJ as SpriteSheetAtlasInput, bK as SpriteSheetAtlasSchema, bL as SubTexture, bM as SubTextureSchema, bN as SwapEffect, bO as TextureAtlas, bP as TextureAtlasSchema, bQ as ThemeId, bR as ThemeIdSchema, bS as Tilesheet, bT as TilesheetSchema, bU as TraceEffect, bV as TrainConfig, bW as TrainEffect, bX as TraitIdSchema, bY as TypedEffect, U as UISlot, bZ as UISlotSchema, b_ as UI_SLOTS, b$ as VISUAL_STYLES, c0 as ValidateEffect, c1 as VisualStyle, c2 as VisualStyleSchema, c3 as WatchEffect, c4 as WatchOptions, c5 as asEntityId, c6 as asEventId, c7 as asOrbitalId, c8 as asPageId, c9 as asPaletteEntryId, ca as asServiceId, cb as asThemeId, cc as asTraitId, cd as atomic, ce as callService, cf as createAssetKey, cg as deref, ch as deriveCollection, ci as despawn, cj as doEffects, ck as emit, cl as findService, cm as getDefaultAnimationsForRole, cn as getServiceNames, co as hasService, cp as idKindOf, cq as idPrefix, cr as isEffect, cs as isEmailValue, ct as isEntityId, cu as isEventId, cv as isFieldValue, cw as isMcpService, cx as isOrbitalId, cy as isPageId, cz as isPaletteEntryId, cA as isPhoneValue, cB as isRestService, cC as isRuntimeEntity, cD as isSExprEffect, cE as isSemanticStringType, cF as isSemanticStringValue, cG as isServiceId, cH as isServiceReference, cI as isServiceReferenceObject, cJ as isSocketService, cK as isThemeId, cL as isTraitId, cM as isUrlValue, cN as isUuidValue, cO as isValidPatternType, cP as ledgerCurName, cQ as ledgerRename, cR as ledgerResolveName, cS as mintId, cT as navigate, cU as notify, cV as parseAssetKey, cW as parseServiceRef, cX as persist, cY as persistenceModeAllowsOverrides, cZ as ref, c_ as renderUI, c$ as set, d0 as spawn, d1 as swap, d2 as validateAssetAnimations, d3 as watch } from '../effect-D-_fm4No.js';
1
+ import { b3 as PageTraitRef, O as OrbitalSchema, bh as ThemeDefinition, aa as Orbital, c as Page, N as DomainContext, a as OrbitalDefinition } from '../schema-Sk_irLOY.js';
2
+ export { A as AGENT_DOMAIN_CATEGORIES, f as ALLOWED_CUSTOM_COMPONENTS, g as AgentDomainCategory, h as AgentDomainCategorySchema, i as AllowedCustomComponent, C as ColorSlice, j as ColorSliceSchema, k as ColorTokens, l as ColorTokensSchema, m as ComputedEventContract, n as ComputedEventContractSchema, o as ComputedEventListener, p as ComputedEventListenerSchema, q as ConfigProvenanceRecord, r as ConfigProvenanceRecordSchema, s as CustomPatternDefinition, t as CustomPatternDefinitionInput, u as CustomPatternDefinitionSchema, v as CustomPatternMap, w as CustomPatternMapInput, x as CustomPatternMapSchema, D as DensitySlice, y as DensitySliceSchema, z as DensityTokens, B as DensityTokensSchema, F as DesignPreferences, G as DesignPreferencesInput, H as DesignPreferencesSchema, I as DesignTokens, J as DesignTokensInput, K as DesignTokensSchema, L as DomainCategory, M as DomainCategorySchema, Q as DomainContextInput, R as DomainContextSchema, S as DomainVocabulary, T as DomainVocabularySchema, V as ElevationSlice, W as ElevationSliceSchema, X as ElevationTokens, Y as ElevationTokensSchema, Z as EntityCall, _ as EntityCallSchema, E as EntityRef, $ as EntityRefSchema, a0 as EntityRefStringSchema, a1 as EntitySemanticRole, a2 as EntitySemanticRoleSchema, a3 as EventListener, a4 as EventListenerSchema, a5 as EventSemanticRole, a6 as EventSemanticRoleSchema, a7 as EventSource, a8 as EventSourceSchema, b as ExpectDeclaration, a9 as ExpectDeclarationSchema, ab as GameSubCategory, ac as GameSubCategorySchema, ad as GeometrySlice, ae as GeometrySliceSchema, af as GeometryTokens, ag as GeometryTokensSchema, ah as IconFamily, ai as IconFamilySchema, aj as IconographySlice, ak as IconographySliceSchema, al as IconographyTokens, am as IconographyTokensSchema, an as IllustrationSlice, ao as IllustrationSliceSchema, ap as IllustrationStyle, aq as IllustrationStyleSchema, ar as IllustrationTokens, as as IllustrationTokensSchema, at as MotionDurationKey, au as MotionDurationKeySchema, av as MotionDurationPalette, aw as MotionDurationPaletteSchema, ax as MotionEasingKey, ay as MotionEasingKeySchema, az as MotionEasingPalette, aA as MotionEasingPaletteSchema, aB as MotionIntent, aC as MotionIntentMap, aD as MotionIntentMapSchema, aE as MotionIntentSchema, aF as MotionSlice, aG as MotionSliceSchema, aH as MotionTokens, aI as MotionTokensSchema, aJ as NavItem, aK as NodeClassification, aL as NodeClassificationSchema, aM as OrbitalConfig, aN as OrbitalConfigInput, aO as OrbitalConfigSchema, aP as OrbitalDefinitionSchema, aQ as OrbitalInput, e as OrbitalPage, aR as OrbitalPageInput, aS as OrbitalPageSchema, aT as OrbitalPageStrictInput, aU as OrbitalPageStrictSchema, aV as OrbitalSchemaInput, aW as OrbitalSchemaSchema, aX as OrbitalSchemaWithTraits, aY as OrbitalUnit, aZ as OrbitalUnitSchema, a_ as OrbitalZodSchema, P as PageRef, d as PageRefObject, a$ as PageRefObjectSchema, b0 as PageRefSchema, b1 as PageRefStringSchema, b2 as PageSchema, b4 as PageTraitRefSchema, b5 as RelatedLink, b6 as RelatedLinkSchema, b7 as SchemaMetadata, b8 as SchemaMetadataSchema, b9 as SkinSpec, ba as SkinSpecSchema, bb as SpacingScale, bc as SpacingScaleSchema, bd as StateSemanticRole, be as StateSemanticRoleSchema, bf as SuggestedGuard, bg as SuggestedGuardSchema, bi as ThemeDefinitionSchema, bj as ThemeRef, bk as ThemeRefSchema, bl as ThemeRefStringSchema, bm as ThemeTokens, bn as ThemeTokensSchema, bo as ThemeVariant, bp as ThemeVariantSchema, bq as TypeIntent, br as TypeIntentMap, bs as TypeIntentMapSchema, bt as TypeIntentSchema, bu as TypeScale, bv as TypeScaleEntry, bw as TypeScaleEntrySchema, bx as TypeScaleSchema, by as TypeScaleTokens, bz as TypeScaleTokensSchema, bA as TypeSizeKey, bB as TypeSizeKeySchema, bC as TypeSlice, bD as TypeSliceSchema, bE as TypeSlot, bF as TypeSlotSchema, bG as TypeWeight, bH as TypeWeightSchema, bI as UXHints, bJ as UXHintsSchema, U as UseDeclaration, bK as UseDeclarationSchema, bL as UserPersona, bM as UserPersonaInput, bN as UserPersonaSchema, bO as ViewType, bP as ViewTypeSchema, bQ as isEntityCall, bR as isEntityReference, bS as isEntityReferenceAny, bT as isImportedTraitRef, bU as isOrbitalDefinition, bV as isPageReference, bW as isPageReferenceObject, bX as isPageReferenceString, bY as isThemeReference, bZ as parseEntityRef, b_ as parseImportedTraitRef, b$ as parseOrbitalSchema, c0 as parsePageRef, c1 as safeParseOrbitalSchema } from '../schema-Sk_irLOY.js';
3
+ import { F as FieldValue, E as EntityField, a as EntityPersistence, bp as ServiceParams, e as Entity, f as EntityRow, A as AnyPatternConfig, O as OrbitalId, T as TraitId, b as EventId, c as Effect } from '../effect-BH2k4oK6.js';
4
+ export { j as ANIMATION_NAMES, k as ASSET_ASPECTS, l as ASSET_DIMENSIONS, m as AgentEffect, n as AnimationDef, o as AnimationDefInput, p as AnimationDefSchema, q as AnimationName, r as AnimationNameSchema, s as ApplicationEffect, t as ArrayEntityField, u as Asset, v as AssetAspect, w as AssetAspectSchema, x as AssetCatalog, y as AssetCatalogEntry, z as AssetCatalogEntryInput, B as AssetCatalogEntrySchema, C as AssetCatalogSchema, D as AssetDimension, G as AssetDimensionSchema, H as AssetSchema, J as AssetUrl, K as AtomicEffect, L as BehaviorEffect, M as CAMERA_MODES, N as CallServiceConfig, Q as CallServiceEffect, V as Camera, W as CameraMode, X as CameraModeSchema, Y as CameraSchema, Z as CheckpointLoadEffect, _ as CheckpointSaveEffect, $ as ComposeEffect, a0 as DerefEffect, a1 as DespawnEffect, a2 as DoEffect, a3 as ENTITY_ROLES, a4 as EffectInput, a5 as EffectSchema, a6 as EmitConfig, a7 as EmitEffect, a8 as EntityData, a9 as EntityFieldInput, aa as EntityFieldSchema, d as EntityId, ab as EntityIdSchema, ac as EntityPersistenceSchema, ad as EntityRole, ae as EntityRoleSchema, af as EntitySchema, ag as EntityWith, ah as EnumEntityField, ai as EvaluateConfig, aj as EvaluateEffect, ak as EventIdSchema, al as FIELD_TYPES, am as FetchEffect, an as FetchOptions, ao as FetchResult, ap as Field, aq as FieldSchema, ar as FieldType, as as FieldTypeSchema, at as ForwardConfig, au as ForwardEffect, av as IdForKind, aw as IdKind, I as IdentityLedger, ax as IdentityLedgerSchema, ay as LedgerEntry, az as LedgerEntrySchema, aA as LedgerKind, aB as LedgerKindSchema, aC as LlmEffect, aD as LogEffect, aE as McpServiceDef, aF as McpServiceDefSchema, aG as MemoryEffect, aH as NavigateEffect, aI as NnConfig, aJ as NnLayer, aK as NotifyEffect, aL as ObjectEntityField, aM as OrbitalEntity, aN as OrbitalEntityInput, aO as OrbitalEntitySchema, aP as OrbitalIdSchema, aQ as OsEffect, aR as PATTERN_TYPES, P as PageId, aS as PageIdSchema, aT as PaletteEntryId, aU as PaletteEntryIdSchema, aV as PatternConfig, aY as PatternType, aZ as PersistData, a_ as PersistEffect, a$ as PersistEmitConfig, b0 as RefEffect, R as RelationConfig, b1 as RelationConfigSchema, b2 as RelationEntityField, h as RenderBinding, b3 as RenderChildrenMap, b4 as RenderItemLambda, i as RenderUIEffect, b5 as RenderUINode, b6 as ResolvedPatternProps, b7 as RestAuthConfig, b8 as RestAuthConfigSchema, b9 as RestServiceDef, ba as RestServiceDefSchema, bb as SEMANTIC_STRING_TYPES, bc as SERVICE_TYPES, bd as SHEET_PROJECTIONS, be as SPRITE_DIRECTIONS, bf as ScalarEntityField, bg as ScenePos, bh as ScenePosSchema, bi as SemanticAssetRef, bj as SemanticAssetRefInput, bk as SemanticAssetRefSchema, bl as SemanticStringType, g as ServiceDefinition, bm as ServiceDefinitionSchema, bn as ServiceId, bo as ServiceIdSchema, bq as ServiceParamsValue, S as ServiceRef, br as ServiceRefObject, bs as ServiceRefObjectSchema, bt as ServiceRefSchema, bu as ServiceRefStringSchema, bv as ServiceType, bw as ServiceTypeSchema, bx as SessionEffect, by as SetEffect, bz as SheetProjection, bA as SheetProjectionSchema, bB as SocketEvents, bC as SocketEventsSchema, bD as SocketServiceDef, bE as SocketServiceDefSchema, bF as SpawnEffect, bG as SpriteDirection, bH as SpriteDirectionSchema, bI as SpriteSheetAtlas, bJ as SpriteSheetAtlasInput, bK as SpriteSheetAtlasSchema, bL as SubTexture, bM as SubTextureSchema, bN as SwapEffect, bO as TextureAtlas, bP as TextureAtlasSchema, bQ as ThemeId, bR as ThemeIdSchema, bS as Tilesheet, bT as TilesheetSchema, bU as TraceEffect, bV as TrainConfig, bW as TrainEffect, bX as TraitIdSchema, bY as TypedEffect, U as UISlot, bZ as UISlotSchema, b_ as UI_SLOTS, b$ as VISUAL_STYLES, c0 as ValidateEffect, c1 as VisualStyle, c2 as VisualStyleSchema, c3 as WatchEffect, c4 as WatchOptions, c5 as asEntityId, c6 as asEventId, c7 as asOrbitalId, c8 as asPageId, c9 as asPaletteEntryId, ca as asServiceId, cb as asThemeId, cc as asTraitId, cd as atomic, ce as callService, cf as createAssetKey, cg as deref, ch as deriveCollection, ci as despawn, cj as doEffects, ck as emit, cl as findService, cm as getDefaultAnimationsForRole, cn as getServiceNames, co as hasService, cp as idKindOf, cq as idPrefix, cr as isEffect, cs as isEmailValue, ct as isEntityId, cu as isEventId, cv as isFieldValue, cw as isMcpService, cx as isOrbitalId, cy as isPageId, cz as isPaletteEntryId, cA as isPhoneValue, cB as isRestService, cC as isRuntimeEntity, cD as isSExprEffect, cE as isSemanticStringType, cF as isSemanticStringValue, cG as isServiceId, cH as isServiceReference, cI as isServiceReferenceObject, cJ as isSocketService, cK as isThemeId, cL as isTraitId, cM as isUrlValue, cN as isUuidValue, cO as isValidPatternType, cP as ledgerCurName, cQ as ledgerRename, cR as ledgerResolveName, cS as mintId, cT as navigate, cU as notify, cV as parseAssetKey, cW as parseServiceRef, cX as persist, cY as persistenceModeAllowsOverrides, cZ as ref, c_ as renderUI, c$ as set, d0 as spawn, d1 as swap, d2 as validateAssetAnimations, d3 as watch } from '../effect-BH2k4oK6.js';
5
5
  import { S as SExpr, R as RuntimeValue, d as EventPayloadValue, J as JsonValue, a as EventPayload, L as LogMeta, g as JsonObject, T as ToolArgs, c as EvalContext } from '../expression-Fk8bQWef.js';
6
6
  export { C as CORE_BINDINGS, b as CoreBinding, E as Expression, e as ExpressionInput, f as ExpressionSchema, h as LogMetaValue, P as ParsedBinding, i as SExprAtom, j as SExprAtomSchema, k as SExprDataSchema, l as SExprInput, m as SExprObject, n as SExprSchema, o as collectBindings, p as getArgs, q as getOperator, r as isBinding, s as isEventPayloadValue, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive, w as isSExpr, x as isSExprAtom, y as isSExprCall, z as isValidBinding, A as parseBinding, B as sexpr, D as walkSExpr } from '../expression-Fk8bQWef.js';
7
7
  import { z } from 'zod';
8
- import { a as TraitReference, g as Trait, L as ListenSource, D as DeclaredTraitConfig, b as TraitConfig, C as ConfigFieldDeclaration, S as State, ae as Transition, r as Event, e as TraitConfigValue, Y as TraitCategory, as as TraitScope } from '../trait-A4_OlY_l.js';
9
- export { k as CONFIG_REF_EVENT_PATTERN, h as CallSiteConfig, i as CallSiteConfigEntry, l as ConfigFieldDeclarationSchema, m as ConfigFieldItemsDeclaration, n as ConfigRefEventError, o as DeclaredTraitConfigSchema, p as EntityFieldContract, q as EntityFieldContractSchema, s as EventInput, E as EventPayloadField, t as EventPayloadFieldSchema, u as EventSchema, v as EventScope, w as EventScopeSchema, G as Guard, x as GuardInput, y as GuardSchema, z as ListenSourceSchema, O as OrbitalTraitRef, A as OrbitalTraitRefSchema, P as PayloadField, B as PayloadFieldSchema, F as PresentationType, R as REFERENCE_CONFIG_TYPES, H as ReferenceConfigType, I as RequiredField, J as RequiredFieldSchema, K as SECRET_CONFIG_TYPES, M as SecretConfigType, N as StateInput, Q as StateMachine, U as StateMachineInput, V as StateMachineSchema, W as StateSchema, X as TickIntervalSchema, Z as TraitCategorySchema, c as TraitConfigObject, _ as TraitConfigSchema, $ as TraitConfigValueSchema, a0 as TraitDataEntity, a1 as TraitDataEntitySchema, f as TraitEntityField, a2 as TraitEntityFieldSchema, j as TraitEventContract, a3 as TraitEventContractSchema, T as TraitEventListener, a4 as TraitEventListenerSchema, a5 as TraitInput, d as TraitRef, a6 as TraitRefSchema, a7 as TraitReferenceInput, a8 as TraitReferenceSchema, a9 as TraitSchema, aa as TraitTick, ab as TraitTickSchema, ac as TraitUIBinding, ad as TraitUIBindingSchema, af as TransitionInput, ag as TransitionSchema, ah as configRefEventKnob, ai as getTraitConfig, aj as getTraitName, ak as isCallSiteConfigDeclaration, al as isCircuitEvent, am as isInlineTrait, an as isReferenceConfigType, ao as isSecretConfigType, ap as normalizeCallSiteConfigToValues, aq as normalizeTraitRef, ar as resolveConfigRefEventName } from '../trait-A4_OlY_l.js';
10
- import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-AHD31Gn-.js';
8
+ import { a as TraitReference, g as Trait, L as ListenSource, D as DeclaredTraitConfig, b as TraitConfig, C as ConfigFieldDeclaration, S as State, ae as Transition, r as Event, e as TraitConfigValue, Y as TraitCategory, as as TraitScope } from '../trait-Bw4nWHu1.js';
9
+ export { k as CONFIG_REF_EVENT_PATTERN, h as CallSiteConfig, i as CallSiteConfigEntry, l as ConfigFieldDeclarationSchema, m as ConfigFieldItemsDeclaration, n as ConfigRefEventError, o as DeclaredTraitConfigSchema, p as EntityFieldContract, q as EntityFieldContractSchema, s as EventInput, E as EventPayloadField, t as EventPayloadFieldSchema, u as EventSchema, v as EventScope, w as EventScopeSchema, G as Guard, x as GuardInput, y as GuardSchema, z as ListenSourceSchema, O as OrbitalTraitRef, A as OrbitalTraitRefSchema, P as PayloadField, B as PayloadFieldSchema, F as PresentationType, R as REFERENCE_CONFIG_TYPES, H as ReferenceConfigType, I as RequiredField, J as RequiredFieldSchema, K as SECRET_CONFIG_TYPES, M as SecretConfigType, N as StateInput, Q as StateMachine, U as StateMachineInput, V as StateMachineSchema, W as StateSchema, X as TickIntervalSchema, Z as TraitCategorySchema, c as TraitConfigObject, _ as TraitConfigSchema, $ as TraitConfigValueSchema, a0 as TraitDataEntity, a1 as TraitDataEntitySchema, f as TraitEntityField, a2 as TraitEntityFieldSchema, j as TraitEventContract, a3 as TraitEventContractSchema, T as TraitEventListener, a4 as TraitEventListenerSchema, a5 as TraitInput, d as TraitRef, a6 as TraitRefSchema, a7 as TraitReferenceInput, a8 as TraitReferenceSchema, a9 as TraitSchema, aa as TraitTick, ab as TraitTickSchema, ac as TraitUIBinding, ad as TraitUIBindingSchema, af as TransitionInput, ag as TransitionSchema, ah as configRefEventKnob, ai as getTraitConfig, aj as getTraitName, ak as isCallSiteConfigDeclaration, al as isCircuitEvent, am as isInlineTrait, an as isReferenceConfigType, ao as isSecretConfigType, ap as normalizeCallSiteConfigToValues, aq as normalizeTraitRef, ar as resolveConfigRefEventName } from '../trait-Bw4nWHu1.js';
10
+ import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-D71hY_4A.js';
11
11
  import { MakeTraitRefOpts, EventWiringEntry, LayoutStrategy } from '../builders.js';
12
12
 
13
13
  /**