@inf-monkeys-tech/monkeys 1.1.35 → 1.1.36

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.
Files changed (46) hide show
  1. package/README.md +4 -0
  2. package/lib/contracts/design-board.d.ts +357 -0
  3. package/lib/contracts/design-board.d.ts.map +1 -0
  4. package/lib/contracts/design-board.js +75 -0
  5. package/lib/contracts/design-board.js.map +1 -0
  6. package/lib/contracts/index.d.ts +1 -0
  7. package/lib/contracts/index.d.ts.map +1 -1
  8. package/lib/contracts/index.js +1 -0
  9. package/lib/contracts/index.js.map +1 -1
  10. package/lib/contracts/menu.d.ts +5 -5
  11. package/lib/contracts/tenant.d.ts +1 -1
  12. package/lib/esm/{chunk-RSHMTLT6.mjs → chunk-2YGFLKSP.mjs} +7 -3
  13. package/lib/esm/{chunk-RSHMTLT6.mjs.map → chunk-2YGFLKSP.mjs.map} +1 -1
  14. package/lib/esm/{chunk-4QMWKKPP.mjs → chunk-AGT4MIWF.mjs} +56 -3
  15. package/lib/esm/chunk-AGT4MIWF.mjs.map +1 -0
  16. package/lib/esm/{chunk-TNA3ZX6I.mjs → chunk-GT5OGNJE.mjs} +2081 -1967
  17. package/lib/esm/chunk-GT5OGNJE.mjs.map +1 -0
  18. package/lib/esm/{chunk-EJJLMGKU.mjs → chunk-HLW3X2NX.mjs} +2 -2
  19. package/lib/esm/{chunk-DBIRUF5K.mjs → chunk-LYWJTAAM.mjs} +2 -2
  20. package/lib/esm/{chunk-NTH4LWR3.mjs → chunk-UF5TNIAZ.mjs} +2 -2
  21. package/lib/esm/contracts/index.mjs +24 -4
  22. package/lib/esm/index.mjs +30 -6
  23. package/lib/esm/index.mjs.map +1 -1
  24. package/lib/esm/runtime/index.mjs +7 -3
  25. package/lib/esm/schemas/index.mjs +7 -3
  26. package/lib/json-schema/design-board-commit-command.schema.json +408 -0
  27. package/lib/json-schema/design-board-document.schema.json +380 -0
  28. package/lib/json-schema/index.json +2 -0
  29. package/lib/runtime/design-board.d.ts +4 -0
  30. package/lib/runtime/design-board.d.ts.map +1 -0
  31. package/lib/runtime/design-board.js +57 -0
  32. package/lib/runtime/design-board.js.map +1 -0
  33. package/lib/runtime/index.d.ts +1 -0
  34. package/lib/runtime/index.d.ts.map +1 -1
  35. package/lib/runtime/index.js +1 -0
  36. package/lib/runtime/index.js.map +1 -1
  37. package/lib/schemas/index.d.ts +145 -2
  38. package/lib/schemas/index.d.ts.map +1 -1
  39. package/lib/schemas/index.js +7 -1
  40. package/lib/schemas/index.js.map +1 -1
  41. package/package.json +1 -1
  42. package/lib/esm/chunk-4QMWKKPP.mjs.map +0 -1
  43. package/lib/esm/chunk-TNA3ZX6I.mjs.map +0 -1
  44. /package/lib/esm/{chunk-EJJLMGKU.mjs.map → chunk-HLW3X2NX.mjs.map} +0 -0
  45. /package/lib/esm/{chunk-DBIRUF5K.mjs.map → chunk-LYWJTAAM.mjs.map} +0 -0
  46. /package/lib/esm/{chunk-NTH4LWR3.mjs.map → chunk-UF5TNIAZ.mjs.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["import {\n ActionProgramDefinitionSchema,\n ActionProgramArtifactSchema,\n} from \"../contracts/declarative-control\";\nexport {\n AggregateAssetDeleteSchema,\n AggregateAssetRelationObjectSchema,\n AggregateAssetRelationReplaceSchema,\n AggregateAssetSchema,\n AggregateAssetUpsertSchema,\n AggregateCommitRequestSchema,\n AggregateContainerMembershipWriteSchema,\n AggregateFeatureRelationReplaceSchema,\n AggregateFeatureRelationTargetSchema,\n AggregateFeatureValueWriteSchema,\n} from \"../contracts/aggregate-commit\";\nexport {\n PermissionBundleSchema,\n PermissionDefinitionSchema,\n ProductAccessDeclarationSchema,\n SystemGroupDefinitionSchema,\n} from \"../contracts/access\";\nexport {\n ArtifactManifestSchema,\n OutputRecordSchema,\n StorageLocatorSchema,\n} from \"../contracts/artifact\";\nexport {\n CapabilityRegistryDocumentSchema,\n CapabilityRegistryEntrySchema,\n CapabilityRegistrySourceSchema,\n CapabilitySourceTypeSchema,\n CapabilityManifestSchema,\n ContractPortSchema,\n} from \"../contracts/capability\";\nexport {\n ContractMetadataSchema,\n EntityRefSchema,\n JsonObjectSchema,\n JsonValueSchema,\n SensitiveResultPathSchema,\n SensitiveResultPathsSchema,\n} from \"../contracts/common\";\nexport {\n AgentConfigurationCapabilitySchema,\n StudioAgentModeSchema,\n AgentModeSchema,\n AgentModeCapabilitiesSchema,\n AgentResourceModeSupportSchema,\n AgentSessionCapabilitiesSchema,\n AgentSessionCapabilitySchema,\n AgentSessionPermissionProfileSchema,\n AgentSessionActiveBranchSchema,\n AgentSessionCommandPolicySchema,\n AgentSessionCommandErrorCodeSchema,\n AgentSessionCommandResultSchema,\n AgentSessionCommandSchema,\n AgentSessionContinuationRequestSchema,\n AgentSessionContinuationResultSchema,\n AgentSessionCommandTypeSchema,\n AgentSessionEventSchema,\n AgentSessionContextInheritanceSchema,\n AgentSessionLineageSchema,\n AgentSessionRunEventSchema,\n AgentSessionSnapshotSchema,\n AgentSessionStatusSchema,\n AgentSessionTerminalStatusSchema,\n AgentSessionRunSchema,\n AgentSessionTargetedCommandSchema,\n AgentSessionViewModelSchema,\n AgentWorkbenchAgentItemSchema,\n AgentWorkbenchComposerAttachmentSchema,\n AgentWorkbenchComposerInputActionSchema,\n AgentWorkbenchComposerCapabilitiesSchema,\n AgentWorkbenchComposerModelOptionSchema,\n AgentWorkbenchComposerQueueItemSchema,\n AgentWorkbenchComposerStatusSchema,\n AgentWorkbenchComposerViewModelSchema,\n AgentWorkbenchQuickStartCategorySchema,\n AgentWorkbenchQuickStartIconSchema,\n AgentWorkbenchQuickStartSectionSchema,\n AgentWorkbenchQuickStartTemplateActionSchema,\n AgentWorkbenchQuickStartTemplateSchema,\n AgentWorkbenchQuickStartViewModelSchema,\n AgentWorkbenchSidebarConfigSchema,\n AgentWorkbenchSidebarGroupItemSchema,\n AgentWorkbenchSidebarGroupSchema,\n AgentWorkbenchSidebarNavigationModeSchema,\n AgentWorkbenchSidebarSectionSchema,\n AgentWorkbenchCollectionStatusSchema,\n AgentWorkbenchNavigationCapabilitiesSchema,\n AgentWorkbenchNavigationItemStatusSchema,\n AgentWorkbenchNavigationViewModelSchema,\n AgentWorkbenchSessionItemSchema,\n AgentExecutionModeSchema,\n} from \"../contracts/agent\";\nexport {\n AgentRuntimeEventSchema,\n CompletionEventSchema,\n CompletionHeaderSchema,\n ExecutionLinkSchema,\n RequestScopeSchema,\n} from \"../contracts/context\";\nexport {\n ApplicationRunSchema,\n BodyRelationRecordSchema,\n DataContinuityEnvelopeSchema,\n ExpiringAccessGrantSchema,\n} from \"../contracts/continuity\";\nexport {\n DomainEventSchema,\n LineageRecordSchema,\n OntologyDefinitionSchema,\n ProjectionSpecSchema,\n SourceRecordRefSchema,\n} from \"../contracts/data\";\nexport { LegacyRoutePolicySchema } from \"../contracts/legacy-route\";\nexport {\n AccessPolicySchema,\n ActionProgramDefinitionSchema,\n ActionProgramArtifactSchema,\n ActionBindingSchema,\n ActionResultClipboardEffectSchema,\n ActionResultBindingEffectSchema,\n BindingSourceSchema,\n CapabilityInstanceSchema,\n CursorWindowBindingSchema,\n DomainQueryDataSourceSchema,\n DomainQueryDefinitionSchema,\n GovernedCatalogDomainQueryDataSourceSchema,\n GovernedCatalogResourceKindSchema,\n RegisteredServiceDomainQueryDataSourceSchema,\n InteractionBindingSchema,\n LegacyBrowserPreferenceImportSchema,\n PageStateActivationSchema,\n PageStateConditionSchema,\n PageStateDefinitionSchema,\n QueryBindingSchema,\n CompiledNavigationGroupNodeSchema,\n CompiledNavigationDomainCommandTargetSchema,\n CompiledNavigationNodeSchema,\n CompiledNavigationRegisteredMenuActionTargetSchema,\n CompiledNavigationResolvedTargetSchema,\n CompiledNavigationSeparatorNodeSchema,\n CompiledNavigationTargetNodeSchema,\n CompiledRouteClaimSchema,\n CompiledRouteMatcherSchema,\n DeclarativeControlOntologyDefinitionSchema,\n DeclarativeLifecycleSchema,\n DeclarativeRouteOwnerIndexSchema,\n DeclarativeRuntimeShellDescriptorSchema,\n DeclarativeWorkbenchCatalogSchema,\n DeclarativeShellHeaderChromeSchema,\n DeclarativeShellSurfaceChromeSchema,\n I18nTextSchema,\n ManagementAccessSchema,\n LegacyRouteTakeoverAuthorizationSchema,\n NavigationGroupNodeSchema,\n NavigationNodeSchema,\n NavigationReleaseSchema,\n NavigationRuntimeBundleSchema,\n NavigationSchema,\n NavigationSeparatorNodeSchema,\n NavigationTargetNodeSchema,\n OntologyBindingSchema,\n LegacyOntologyBindingSchema,\n PersistedOntologyBindingSchema,\n ReadablePageRuntimeBundleSchema,\n PageReleaseSchema,\n PageRuntimeBundleSchema,\n LegacyPageRuntimeBundleSchema,\n PageMigrationEquivalenceDimensionSchema,\n PageMigrationEquivalenceSchema,\n PageSchema,\n ResolvedPageSchema,\n PermissionAlternativePolicySchema,\n ProductSurfaceSchema,\n PublicationPlanOperationSchema,\n PublicationPlanSchema,\n ReferenceVisibilitySchema,\n ReleaseDependencyRoleSchema,\n ReleaseDependencySchema,\n ReleaseEvidenceSchema,\n ReleaseOperationSchema,\n ReleaseValidationSchema,\n ResolvedNavigationTargetSchema,\n UnavailableNavigationTargetSchema,\n ResolvedWorkbenchAppInstanceSchema,\n RevisionRefSchema,\n RouteClaimSchema,\n RoutePathTemplateSchema,\n RouteSpaceParameterSchema,\n RouteSpaceSchema,\n ScopedIdentityRefSchema,\n StableRefAliasMapSchema,\n StableRefAliasSchema,\n StableRefSchema,\n TenantScopeSchema,\n WorkbenchAppInstanceSchema,\n WorkbenchGroupSchema,\n WorkbenchReleaseSchema,\n WorkbenchRuntimeBundleSchema,\n WorkbenchSchema,\n DeclarativeRouteClaimSchema,\n LegacyRouteClaimSchema,\n} from \"../contracts/declarative-control\";\nexport {\n DeclarativeAuthoringChoicePageQuerySchema,\n LegacyDeclarativeRuntimeActionExecuteIntentSchema,\n DeclarativeAuthoringChoicePageSchema,\n DeclarativeAuthoringPageInfoSchema,\n DeclarativeAuthoringResourcePageQuerySchema,\n DeclarativeAuthoringResourcePageSchema,\n DesignCapabilityCatalogArtifactSchema,\n ProductDeclarativeCapabilityRegistrationSchema,\n} from \"../contracts/declarative-control-http\";\n\nexport {\n CompiledMenuActionBehaviorSchema,\n CompiledMenuBehaviorSchema,\n CompiledMenuDividerNodeSchema,\n CompiledMenuGroupNodeSchema,\n CompiledMenuItemAccessSchema,\n CompiledMenuItemNodeSchema,\n CompiledMenuNodeSchema,\n CompiledMenuProjectionSchema,\n CompiledMenuNavigateBehaviorSchema,\n MenuAccessRequirementSchema,\n MenuActionBehaviorSchema,\n MenuActionRegistrationSchema,\n MenuBehaviorSchema,\n MenuBoundedInputSchema,\n MenuContributionProviderRegistrationSchema,\n MenuContributionResultSchema,\n MenuContributionSchema,\n MenuDefinitionSchema,\n MenuDefinitionSetSchema,\n MenuDividerNodeSchema,\n MenuGroupNodeSchema,\n MenuItemNodeSchema,\n MenuNavigateBehaviorSchema,\n MenuNavigationTargetSchema,\n MenuNodeSchema,\n MenuPageRefSchema,\n MenuPageRegistrationSchema,\n MenuRuntimeBundleSchema,\n MenuRuntimeInputBindingSchema,\n MenuSourceInputBindingSchema,\n} from \"../contracts/menu\";\nexport {\n PageDefinitionSchema,\n PageGuardProjectionSchema,\n PageNavigationProjectionSchema,\n PageRendererProjectionSchema,\n PageRouteProjectionSchema,\n PageRuntimeDescriptorSchema,\n PageRuntimeProjectionSchema,\n PageTypeSchema,\n PageVisibilitySchema,\n} from \"../contracts/page\";\nexport {\n ApplicationHandoffEndpointSchema,\n ApplicationHandoffSchema,\n OverlayNodeSchema,\n OverlayZIndexLaneSchema,\n ProductContextSchema,\n RenderActivationSchema,\n RenderLifecycleSchema,\n RenderLayoutSchema,\n RenderNodeKindSchema,\n RenderNodeSchema,\n RenderNodeStateSchema,\n RenderResponsiveRuleSchema,\n RenderScrollSchema,\n RenderSurfaceSchema,\n RenderTreeSchema,\n ViewProviderDescriptorSchema,\n} from \"../contracts/render\";\nexport {\n ChangeImpactGraphSchema,\n ConceptDefinitionSchema,\n DomainCommandDefinitionSchema,\n DomainCommandSchema,\n ProductDeclarationSchema,\n} from \"../contracts/semantic\";\nexport {\n CurrentUserMenuActionItemSchema,\n CurrentUserMenuConfigSchema,\n CurrentUserMenuControlItemSchema,\n CurrentUserMenuDisplayTextSchema,\n CurrentUserMenuItemSchema,\n CurrentUserMenuNavigationItemSchema,\n CurrentUserMenuProfileSchema,\n CurrentUserMenuSectionSchema,\n TenantApplicationConfigSchema,\n TenantAgentThemeConfigSchema,\n TenantListFooterConfigSchema,\n TenantLandingPageConfigSchema,\n TenantProductConfigSchema,\n TenantRuntimeConfigSchema,\n TenantTrendRadarCollectionTargetSchema,\n TenantTrendRadarDerivedMetricsSchema,\n TenantTrendRadarEvaluationSchema,\n TenantTrendRadarSourceSchema,\n TenantTrendRadarSourcesSchema,\n TenantWorkbenchConfigSchema,\n TenantWorkbenchPageContextSchema,\n TenantWorkbenchPageEnvelopeSchema,\n TenantWorkbenchPageGroupSchema,\n} from \"../contracts/tenant\";\nexport {\n ResolvedThemeTokensSchema,\n ThemeTokenGroupSchema,\n ThemeTokenTypeSchema,\n ThemeTokenSchema,\n ThemeTokensSchema,\n} from \"../contracts/theme\";\nexport {\n BrandGeneticsProfileSchema,\n BrandBodySchema,\n HotwordBodySchema,\n ProductBodySchema,\n RadarActionRecordSchema,\n RadarAnalysisAssetSchema,\n RadarAnalysisDetailSchema,\n RadarAnalysisRunSchema,\n RadarDecisionMetricsSchema,\n RadarOpportunityMatrixSchema,\n RadarOpportunityMatrixPointSchema,\n RadarPanoramaEdgeSchema,\n RadarPanoramaNodeSchema,\n RadarPanoramaSchema,\n RadarQueryBodySchema,\n RadarScoreModelBodySchema,\n RadarScoreProjectionSchema,\n RadarSelectionSchema,\n RadarWritebackRecordSchema,\n SavedRadarQuerySchema,\n TrendRadarCollectionArtifactProjectionSchema,\n TrendRadarCollectionArtifactRefSchema,\n TrendRadarCollectionAssetRefSchema,\n TrendRadarCollectionDecisionAxisSchema,\n TrendRadarCollectionDecisionProjectionSchema,\n TrendRadarCollectionItemSchema,\n TrendRadarCollectionProjectionWritebackSchema,\n TrendRadarCollectionRecipeEntrySchema,\n TrendRadarCollectionRecipeSchema,\n TrendRadarCollectionRunRefSchema,\n TrendRadarCollectionSelectionRefSchema,\n TrendRadarCollectionSubjectRefSchema,\n TrendIngestRunSchema,\n TrendMetricSnapshotSchema,\n TrendSourceSchema,\n TrendSourceRecordSchema,\n} from \"../contracts/trend\";\nexport {\n ConductorTaskDefinitionSchema,\n ConductorTaskTypeSchema,\n ConductorWorkflowDefinitionSchema,\n WorkflowDefinitionSchema,\n WorkflowEdgeSchema,\n WorkflowNodeSchema,\n WorkflowOutputBindingSchema,\n WorkflowParameterSchema,\n WorkflowParameterTypeSchema,\n WorkflowTriggerSchema,\n WorkflowValidationIssueSchema,\n} from \"../contracts/workflow-definition\";\nexport {\n WorkflowCatalogEntrySchema,\n WorkflowCompletionCommitSchema,\n WorkflowCompletionReceiptSchema,\n WorkflowPublicationSchema,\n} from \"../contracts/workflow-runtime\";\n\nimport { AggregateCommitRequestSchema } from \"../contracts/aggregate-commit\";\nimport {\n ArtifactManifestSchema,\n OutputRecordSchema,\n} from \"../contracts/artifact\";\nimport {\n AgentSessionCommandResultSchema,\n AgentSessionCommandSchema,\n AgentSessionContinuationRequestSchema,\n AgentSessionContinuationResultSchema,\n AgentSessionEventSchema,\n AgentSessionRunEventSchema,\n AgentSessionRunSchema,\n AgentSessionTargetedCommandSchema,\n AgentSessionViewModelSchema,\n AgentWorkbenchComposerViewModelSchema,\n AgentWorkbenchNavigationViewModelSchema,\n AgentWorkbenchQuickStartViewModelSchema,\n} from \"../contracts/agent\";\nimport {\n CapabilityManifestSchema,\n CapabilityRegistryDocumentSchema,\n} from \"../contracts/capability\";\nimport {\n AgentRuntimeEventSchema,\n CompletionEventSchema,\n CompletionHeaderSchema,\n ExecutionLinkSchema,\n RequestScopeSchema,\n} from \"../contracts/context\";\nimport {\n ApplicationRunSchema,\n BodyRelationRecordSchema,\n DataContinuityEnvelopeSchema,\n ExpiringAccessGrantSchema,\n} from \"../contracts/continuity\";\nimport {\n DomainEventSchema,\n LineageRecordSchema,\n OntologyDefinitionSchema,\n ProjectionSpecSchema,\n} from \"../contracts/data\";\nimport {\n DeclarativeControlOntologyDefinitionSchema,\n DeclarativeRouteOwnerIndexSchema,\n DeclarativeWorkbenchCatalogSchema,\n DomainQueryDefinitionSchema,\n LegacyRouteTakeoverAuthorizationSchema,\n NavigationReleaseSchema,\n NavigationRuntimeBundleSchema,\n NavigationSchema,\n PageReleaseSchema,\n PageRuntimeBundleSchema,\n PageMigrationEquivalenceDimensionSchema,\n PageMigrationEquivalenceSchema,\n PageSchema,\n ResolvedPageSchema,\n PermissionAlternativePolicySchema,\n PublicationPlanSchema,\n RouteSpaceSchema,\n StableRefAliasMapSchema,\n WorkbenchReleaseSchema,\n WorkbenchRuntimeBundleSchema,\n WorkbenchSchema,\n} from \"../contracts/declarative-control\";\nimport { DesignCapabilityCatalogArtifactSchema } from \"../contracts/declarative-control-http\";\nimport {\n MenuDefinitionSchema,\n MenuDefinitionSetSchema,\n MenuRuntimeBundleSchema,\n} from \"../contracts/menu\";\nimport {\n PageDefinitionSchema,\n PageRuntimeDescriptorSchema,\n PageRuntimeProjectionSchema,\n} from \"../contracts/page\";\nimport {\n ApplicationHandoffSchema,\n OverlayNodeSchema,\n RenderNodeSchema,\n RenderTreeSchema,\n ViewProviderDescriptorSchema,\n} from \"../contracts/render\";\nimport {\n TenantProductConfigSchema,\n TenantRuntimeConfigSchema,\n} from \"../contracts/tenant\";\nimport {\n ChangeImpactGraphSchema,\n ConceptDefinitionSchema,\n DomainCommandDefinitionSchema,\n DomainCommandSchema,\n ProductDeclarationSchema,\n} from \"../contracts/semantic\";\nimport { ThemeTokensSchema } from \"../contracts/theme\";\nimport {\n BrandGeneticsProfileSchema,\n BrandBodySchema,\n HotwordBodySchema,\n ProductBodySchema,\n RadarActionRecordSchema,\n RadarAnalysisDetailSchema,\n RadarAnalysisRunSchema,\n RadarOpportunityMatrixSchema,\n RadarPanoramaSchema,\n RadarQueryBodySchema,\n RadarScoreModelBodySchema,\n RadarScoreProjectionSchema,\n RadarSelectionSchema,\n RadarWritebackRecordSchema,\n SavedRadarQuerySchema,\n TrendRadarCollectionItemSchema,\n TrendIngestRunSchema,\n TrendMetricSnapshotSchema,\n TrendSourceRecordSchema,\n} from \"../contracts/trend\";\nimport {\n ConductorWorkflowDefinitionSchema,\n WorkflowDefinitionSchema,\n} from \"../contracts/workflow-definition\";\nimport {\n WorkflowCatalogEntrySchema,\n WorkflowCompletionCommitSchema,\n WorkflowCompletionReceiptSchema,\n WorkflowPublicationSchema,\n} from \"../contracts/workflow-runtime\";\n\nexport {\n WorkflowColumnBindingSchema,\n WorkflowColumnInputSchema,\n WorkflowColumnDependencySchema,\n WorkflowColumnOutputSchema,\n WorkflowColumnFieldRefSchema,\n} from \"../contracts/workflow-column\";\nimport { WorkflowColumnBindingSchema } from \"../contracts/workflow-column\";\n\nexport const canonicalContractSchemas = {\n \"aggregate-commit-request\": AggregateCommitRequestSchema,\n \"workflow-column-binding\": WorkflowColumnBindingSchema,\n \"agent-session-command\": AgentSessionCommandSchema,\n \"agent-session-targeted-command\": AgentSessionTargetedCommandSchema,\n \"agent-session-command-result\": AgentSessionCommandResultSchema,\n \"agent-session-continuation-request\": AgentSessionContinuationRequestSchema,\n \"agent-session-continuation-result\": AgentSessionContinuationResultSchema,\n \"agent-session-event\": AgentSessionEventSchema,\n \"agent-session-run-event\": AgentSessionRunEventSchema,\n \"agent-session-run\": AgentSessionRunSchema,\n \"agent-session-view-model\": AgentSessionViewModelSchema,\n \"agent-workbench-composer-view-model\": AgentWorkbenchComposerViewModelSchema,\n \"agent-workbench-navigation-view-model\":\n AgentWorkbenchNavigationViewModelSchema,\n \"agent-workbench-quick-start-view-model\":\n AgentWorkbenchQuickStartViewModelSchema,\n \"agent-runtime-event\": AgentRuntimeEventSchema,\n \"application-run\": ApplicationRunSchema,\n \"application-handoff\": ApplicationHandoffSchema,\n \"artifact-manifest\": ArtifactManifestSchema,\n \"brand-body\": BrandBodySchema,\n \"body-relation-record\": BodyRelationRecordSchema,\n \"brand-genetics-profile\": BrandGeneticsProfileSchema,\n \"capability-manifest\": CapabilityManifestSchema,\n \"capability-registry\": CapabilityRegistryDocumentSchema,\n \"change-impact-graph\": ChangeImpactGraphSchema,\n \"concept-definition\": ConceptDefinitionSchema,\n \"completion-event\": CompletionEventSchema,\n \"completion-header\": CompletionHeaderSchema,\n \"conductor-workflow-definition\": ConductorWorkflowDefinitionSchema,\n \"domain-event\": DomainEventSchema,\n \"domain-command\": DomainCommandSchema,\n \"domain-command-definition\": DomainCommandDefinitionSchema,\n \"action-program-definition\": ActionProgramDefinitionSchema,\n \"action-program-artifact\": ActionProgramArtifactSchema,\n \"data-continuity-envelope\": DataContinuityEnvelopeSchema,\n \"domain-query-definition\": DomainQueryDefinitionSchema,\n \"declarative-control-ontology-definition\":\n DeclarativeControlOntologyDefinitionSchema,\n \"declarative-route-owner-index\": DeclarativeRouteOwnerIndexSchema,\n \"declarative-workbench-catalog\": DeclarativeWorkbenchCatalogSchema,\n \"design-capability-catalog-artifact\": DesignCapabilityCatalogArtifactSchema,\n \"execution-link\": ExecutionLinkSchema,\n \"expiring-access-grant\": ExpiringAccessGrantSchema,\n \"hotword-body\": HotwordBodySchema,\n \"lineage-record\": LineageRecordSchema,\n \"legacy-route-takeover-authorization\": LegacyRouteTakeoverAuthorizationSchema,\n \"menu-definition\": MenuDefinitionSchema,\n \"menu-definition-set\": MenuDefinitionSetSchema,\n \"menu-runtime-bundle\": MenuRuntimeBundleSchema,\n navigation: NavigationSchema,\n \"navigation-release\": NavigationReleaseSchema,\n \"navigation-runtime-bundle\": NavigationRuntimeBundleSchema,\n \"ontology-definition\": OntologyDefinitionSchema,\n \"overlay-node\": OverlayNodeSchema,\n \"output-record\": OutputRecordSchema,\n \"page-definition\": PageDefinitionSchema,\n page: PageSchema,\n \"page-release\": PageReleaseSchema,\n \"page-runtime-bundle\": PageRuntimeBundleSchema,\n \"page-runtime-descriptor\": PageRuntimeDescriptorSchema,\n \"page-runtime-projection\": PageRuntimeProjectionSchema,\n \"permission-alternative-policy\": PermissionAlternativePolicySchema,\n \"projection-spec\": ProjectionSpecSchema,\n \"publication-plan\": PublicationPlanSchema,\n \"product-declaration\": ProductDeclarationSchema,\n \"product-body\": ProductBodySchema,\n \"radar-action-record\": RadarActionRecordSchema,\n \"radar-analysis-detail\": RadarAnalysisDetailSchema,\n \"radar-analysis-run\": RadarAnalysisRunSchema,\n \"radar-opportunity-matrix\": RadarOpportunityMatrixSchema,\n \"radar-panorama\": RadarPanoramaSchema,\n \"radar-query-body\": RadarQueryBodySchema,\n \"radar-score-model-body\": RadarScoreModelBodySchema,\n \"radar-score-projection\": RadarScoreProjectionSchema,\n \"radar-selection\": RadarSelectionSchema,\n \"radar-writeback-record\": RadarWritebackRecordSchema,\n \"request-scope\": RequestScopeSchema,\n \"route-space\": RouteSpaceSchema,\n \"render-node\": RenderNodeSchema,\n \"render-tree\": RenderTreeSchema,\n \"saved-radar-query\": SavedRadarQuerySchema,\n \"stable-ref-alias-map\": StableRefAliasMapSchema,\n \"tenant-product-config\": TenantProductConfigSchema,\n \"tenant-runtime-config\": TenantRuntimeConfigSchema,\n \"theme-tokens\": ThemeTokensSchema,\n \"trend-radar-collection-item\": TrendRadarCollectionItemSchema,\n \"trend-ingest-run\": TrendIngestRunSchema,\n \"trend-metric-snapshot\": TrendMetricSnapshotSchema,\n \"trend-source-record\": TrendSourceRecordSchema,\n \"view-provider-descriptor\": ViewProviderDescriptorSchema,\n workbench: WorkbenchSchema,\n \"workbench-release\": WorkbenchReleaseSchema,\n \"workbench-runtime-bundle\": WorkbenchRuntimeBundleSchema,\n \"workflow-definition\": WorkflowDefinitionSchema,\n \"workflow-catalog-entry\": WorkflowCatalogEntrySchema,\n \"workflow-publication\": WorkflowPublicationSchema,\n \"workflow-completion-commit\": WorkflowCompletionCommitSchema,\n \"workflow-completion-receipt\": WorkflowCompletionReceiptSchema,\n} as const;\n\nexport type CanonicalContractSchemaName = keyof typeof canonicalContractSchemas;\n\nexport {\n ComponentAssemblySchema,\n ComponentEventArgumentSchema,\n ComponentEventBindingSchema,\n} from \"../contracts/component-assembly\";\n\nexport {\n PageExpressionSchema,\n PagePropertyBindingSchema,\n} from \"../contracts/page-expression\";\n\nexport * from \"../contracts/record-editor-draft\";\nexport {\n DeclarativeImportDocumentSchema,\n DeclarativeDocumentImportRequestSchema,\n DeclarativeDocumentImportIntentSchema,\n DeclarativeDocumentImportPlanSchema,\n DeclarativeDocumentImportResultSchema,\n} from \"../contracts/declarative-document-import\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+fO,IAAM,2BAA2B;AAAA,EACtC,4BAA4B;AAAA,EAC5B,2BAA2B;AAAA,EAC3B,yBAAyB;AAAA,EACzB,kCAAkC;AAAA,EAClC,gCAAgC;AAAA,EAChC,sCAAsC;AAAA,EACtC,qCAAqC;AAAA,EACrC,uBAAuB;AAAA,EACvB,2BAA2B;AAAA,EAC3B,qBAAqB;AAAA,EACrB,4BAA4B;AAAA,EAC5B,uCAAuC;AAAA,EACvC,yCACE;AAAA,EACF,0CACE;AAAA,EACF,uBAAuB;AAAA,EACvB,mBAAmB;AAAA,EACnB,uBAAuB;AAAA,EACvB,qBAAqB;AAAA,EACrB,cAAc;AAAA,EACd,wBAAwB;AAAA,EACxB,0BAA0B;AAAA,EAC1B,uBAAuB;AAAA,EACvB,uBAAuB;AAAA,EACvB,uBAAuB;AAAA,EACvB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,iCAAiC;AAAA,EACjC,gBAAgB;AAAA,EAChB,kBAAkB;AAAA,EAClB,6BAA6B;AAAA,EAC7B,6BAA6B;AAAA,EAC7B,2BAA2B;AAAA,EAC3B,4BAA4B;AAAA,EAC5B,2BAA2B;AAAA,EAC3B,2CACE;AAAA,EACF,iCAAiC;AAAA,EACjC,iCAAiC;AAAA,EACjC,sCAAsC;AAAA,EACtC,kBAAkB;AAAA,EAClB,yBAAyB;AAAA,EACzB,gBAAgB;AAAA,EAChB,kBAAkB;AAAA,EAClB,uCAAuC;AAAA,EACvC,mBAAmB;AAAA,EACnB,uBAAuB;AAAA,EACvB,uBAAuB;AAAA,EACvB,YAAY;AAAA,EACZ,sBAAsB;AAAA,EACtB,6BAA6B;AAAA,EAC7B,uBAAuB;AAAA,EACvB,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,mBAAmB;AAAA,EACnB,MAAM;AAAA,EACN,gBAAgB;AAAA,EAChB,uBAAuB;AAAA,EACvB,2BAA2B;AAAA,EAC3B,2BAA2B;AAAA,EAC3B,iCAAiC;AAAA,EACjC,mBAAmB;AAAA,EACnB,oBAAoB;AAAA,EACpB,uBAAuB;AAAA,EACvB,gBAAgB;AAAA,EAChB,uBAAuB;AAAA,EACvB,yBAAyB;AAAA,EACzB,sBAAsB;AAAA,EACtB,4BAA4B;AAAA,EAC5B,kBAAkB;AAAA,EAClB,oBAAoB;AAAA,EACpB,0BAA0B;AAAA,EAC1B,0BAA0B;AAAA,EAC1B,mBAAmB;AAAA,EACnB,0BAA0B;AAAA,EAC1B,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,eAAe;AAAA,EACf,eAAe;AAAA,EACf,qBAAqB;AAAA,EACrB,wBAAwB;AAAA,EACxB,yBAAyB;AAAA,EACzB,yBAAyB;AAAA,EACzB,gBAAgB;AAAA,EAChB,+BAA+B;AAAA,EAC/B,oBAAoB;AAAA,EACpB,yBAAyB;AAAA,EACzB,uBAAuB;AAAA,EACvB,4BAA4B;AAAA,EAC5B,WAAW;AAAA,EACX,qBAAqB;AAAA,EACrB,4BAA4B;AAAA,EAC5B,uBAAuB;AAAA,EACvB,0BAA0B;AAAA,EAC1B,wBAAwB;AAAA,EACxB,8BAA8B;AAAA,EAC9B,+BAA+B;AACjC;","names":[]}
1
+ {"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["import {\n ActionProgramDefinitionSchema,\n ActionProgramArtifactSchema,\n} from \"../contracts/declarative-control\";\nexport {\n AggregateAssetDeleteSchema,\n AggregateAssetRelationObjectSchema,\n AggregateAssetRelationReplaceSchema,\n AggregateAssetSchema,\n AggregateAssetUpsertSchema,\n AggregateCommitRequestSchema,\n AggregateContainerMembershipWriteSchema,\n AggregateFeatureRelationReplaceSchema,\n AggregateFeatureRelationTargetSchema,\n AggregateFeatureValueWriteSchema,\n} from \"../contracts/aggregate-commit\";\nexport {\n PermissionBundleSchema,\n PermissionDefinitionSchema,\n ProductAccessDeclarationSchema,\n SystemGroupDefinitionSchema,\n} from \"../contracts/access\";\nexport {\n ArtifactManifestSchema,\n OutputRecordSchema,\n StorageLocatorSchema,\n} from \"../contracts/artifact\";\nexport {\n CapabilityRegistryDocumentSchema,\n CapabilityRegistryEntrySchema,\n CapabilityRegistrySourceSchema,\n CapabilitySourceTypeSchema,\n CapabilityManifestSchema,\n ContractPortSchema,\n} from \"../contracts/capability\";\nexport {\n ContractMetadataSchema,\n EntityRefSchema,\n JsonObjectSchema,\n JsonValueSchema,\n SensitiveResultPathSchema,\n SensitiveResultPathsSchema,\n} from \"../contracts/common\";\nexport {\n AgentConfigurationCapabilitySchema,\n StudioAgentModeSchema,\n AgentModeSchema,\n AgentModeCapabilitiesSchema,\n AgentResourceModeSupportSchema,\n AgentSessionCapabilitiesSchema,\n AgentSessionCapabilitySchema,\n AgentSessionPermissionProfileSchema,\n AgentSessionActiveBranchSchema,\n AgentSessionCommandPolicySchema,\n AgentSessionCommandErrorCodeSchema,\n AgentSessionCommandResultSchema,\n AgentSessionCommandSchema,\n AgentSessionContinuationRequestSchema,\n AgentSessionContinuationResultSchema,\n AgentSessionCommandTypeSchema,\n AgentSessionEventSchema,\n AgentSessionContextInheritanceSchema,\n AgentSessionLineageSchema,\n AgentSessionRunEventSchema,\n AgentSessionSnapshotSchema,\n AgentSessionStatusSchema,\n AgentSessionTerminalStatusSchema,\n AgentSessionRunSchema,\n AgentSessionTargetedCommandSchema,\n AgentSessionViewModelSchema,\n AgentWorkbenchAgentItemSchema,\n AgentWorkbenchComposerAttachmentSchema,\n AgentWorkbenchComposerInputActionSchema,\n AgentWorkbenchComposerCapabilitiesSchema,\n AgentWorkbenchComposerModelOptionSchema,\n AgentWorkbenchComposerQueueItemSchema,\n AgentWorkbenchComposerStatusSchema,\n AgentWorkbenchComposerViewModelSchema,\n AgentWorkbenchQuickStartCategorySchema,\n AgentWorkbenchQuickStartIconSchema,\n AgentWorkbenchQuickStartSectionSchema,\n AgentWorkbenchQuickStartTemplateActionSchema,\n AgentWorkbenchQuickStartTemplateSchema,\n AgentWorkbenchQuickStartViewModelSchema,\n AgentWorkbenchSidebarConfigSchema,\n AgentWorkbenchSidebarGroupItemSchema,\n AgentWorkbenchSidebarGroupSchema,\n AgentWorkbenchSidebarNavigationModeSchema,\n AgentWorkbenchSidebarSectionSchema,\n AgentWorkbenchCollectionStatusSchema,\n AgentWorkbenchNavigationCapabilitiesSchema,\n AgentWorkbenchNavigationItemStatusSchema,\n AgentWorkbenchNavigationViewModelSchema,\n AgentWorkbenchSessionItemSchema,\n AgentExecutionModeSchema,\n} from \"../contracts/agent\";\nexport {\n AgentRuntimeEventSchema,\n CompletionEventSchema,\n CompletionHeaderSchema,\n ExecutionLinkSchema,\n RequestScopeSchema,\n} from \"../contracts/context\";\nexport {\n ApplicationRunSchema,\n BodyRelationRecordSchema,\n DataContinuityEnvelopeSchema,\n ExpiringAccessGrantSchema,\n} from \"../contracts/continuity\";\nexport {\n DomainEventSchema,\n LineageRecordSchema,\n OntologyDefinitionSchema,\n ProjectionSpecSchema,\n SourceRecordRefSchema,\n} from \"../contracts/data\";\nexport { LegacyRoutePolicySchema } from \"../contracts/legacy-route\";\nexport {\n AccessPolicySchema,\n ActionProgramDefinitionSchema,\n ActionProgramArtifactSchema,\n ActionBindingSchema,\n ActionResultClipboardEffectSchema,\n ActionResultBindingEffectSchema,\n BindingSourceSchema,\n CapabilityInstanceSchema,\n CursorWindowBindingSchema,\n DomainQueryDataSourceSchema,\n DomainQueryDefinitionSchema,\n GovernedCatalogDomainQueryDataSourceSchema,\n GovernedCatalogResourceKindSchema,\n RegisteredServiceDomainQueryDataSourceSchema,\n InteractionBindingSchema,\n LegacyBrowserPreferenceImportSchema,\n PageStateActivationSchema,\n PageStateConditionSchema,\n PageStateDefinitionSchema,\n QueryBindingSchema,\n CompiledNavigationGroupNodeSchema,\n CompiledNavigationDomainCommandTargetSchema,\n CompiledNavigationNodeSchema,\n CompiledNavigationRegisteredMenuActionTargetSchema,\n CompiledNavigationResolvedTargetSchema,\n CompiledNavigationSeparatorNodeSchema,\n CompiledNavigationTargetNodeSchema,\n CompiledRouteClaimSchema,\n CompiledRouteMatcherSchema,\n DeclarativeControlOntologyDefinitionSchema,\n DeclarativeLifecycleSchema,\n DeclarativeRouteOwnerIndexSchema,\n DeclarativeRuntimeShellDescriptorSchema,\n DeclarativeWorkbenchCatalogSchema,\n DeclarativeShellHeaderChromeSchema,\n DeclarativeShellSurfaceChromeSchema,\n I18nTextSchema,\n ManagementAccessSchema,\n LegacyRouteTakeoverAuthorizationSchema,\n NavigationGroupNodeSchema,\n NavigationNodeSchema,\n NavigationReleaseSchema,\n NavigationRuntimeBundleSchema,\n NavigationSchema,\n NavigationSeparatorNodeSchema,\n NavigationTargetNodeSchema,\n OntologyBindingSchema,\n LegacyOntologyBindingSchema,\n PersistedOntologyBindingSchema,\n ReadablePageRuntimeBundleSchema,\n PageReleaseSchema,\n PageRuntimeBundleSchema,\n LegacyPageRuntimeBundleSchema,\n PageMigrationEquivalenceDimensionSchema,\n PageMigrationEquivalenceSchema,\n PageSchema,\n ResolvedPageSchema,\n PermissionAlternativePolicySchema,\n ProductSurfaceSchema,\n PublicationPlanOperationSchema,\n PublicationPlanSchema,\n ReferenceVisibilitySchema,\n ReleaseDependencyRoleSchema,\n ReleaseDependencySchema,\n ReleaseEvidenceSchema,\n ReleaseOperationSchema,\n ReleaseValidationSchema,\n ResolvedNavigationTargetSchema,\n UnavailableNavigationTargetSchema,\n ResolvedWorkbenchAppInstanceSchema,\n RevisionRefSchema,\n RouteClaimSchema,\n RoutePathTemplateSchema,\n RouteSpaceParameterSchema,\n RouteSpaceSchema,\n ScopedIdentityRefSchema,\n StableRefAliasMapSchema,\n StableRefAliasSchema,\n StableRefSchema,\n TenantScopeSchema,\n WorkbenchAppInstanceSchema,\n WorkbenchGroupSchema,\n WorkbenchReleaseSchema,\n WorkbenchRuntimeBundleSchema,\n WorkbenchSchema,\n DeclarativeRouteClaimSchema,\n LegacyRouteClaimSchema,\n} from \"../contracts/declarative-control\";\nexport {\n DeclarativeAuthoringChoicePageQuerySchema,\n LegacyDeclarativeRuntimeActionExecuteIntentSchema,\n DeclarativeAuthoringChoicePageSchema,\n DeclarativeAuthoringPageInfoSchema,\n DeclarativeAuthoringResourcePageQuerySchema,\n DeclarativeAuthoringResourcePageSchema,\n DesignCapabilityCatalogArtifactSchema,\n ProductDeclarativeCapabilityRegistrationSchema,\n} from \"../contracts/declarative-control-http\";\n\nexport {\n CompiledMenuActionBehaviorSchema,\n CompiledMenuBehaviorSchema,\n CompiledMenuDividerNodeSchema,\n CompiledMenuGroupNodeSchema,\n CompiledMenuItemAccessSchema,\n CompiledMenuItemNodeSchema,\n CompiledMenuNodeSchema,\n CompiledMenuProjectionSchema,\n CompiledMenuNavigateBehaviorSchema,\n MenuAccessRequirementSchema,\n MenuActionBehaviorSchema,\n MenuActionRegistrationSchema,\n MenuBehaviorSchema,\n MenuBoundedInputSchema,\n MenuContributionProviderRegistrationSchema,\n MenuContributionResultSchema,\n MenuContributionSchema,\n MenuDefinitionSchema,\n MenuDefinitionSetSchema,\n MenuDividerNodeSchema,\n MenuGroupNodeSchema,\n MenuItemNodeSchema,\n MenuNavigateBehaviorSchema,\n MenuNavigationTargetSchema,\n MenuNodeSchema,\n MenuPageRefSchema,\n MenuPageRegistrationSchema,\n MenuRuntimeBundleSchema,\n MenuRuntimeInputBindingSchema,\n MenuSourceInputBindingSchema,\n} from \"../contracts/menu\";\nexport {\n PageDefinitionSchema,\n PageGuardProjectionSchema,\n PageNavigationProjectionSchema,\n PageRendererProjectionSchema,\n PageRouteProjectionSchema,\n PageRuntimeDescriptorSchema,\n PageRuntimeProjectionSchema,\n PageTypeSchema,\n PageVisibilitySchema,\n} from \"../contracts/page\";\nexport {\n ApplicationHandoffEndpointSchema,\n ApplicationHandoffSchema,\n OverlayNodeSchema,\n OverlayZIndexLaneSchema,\n ProductContextSchema,\n RenderActivationSchema,\n RenderLifecycleSchema,\n RenderLayoutSchema,\n RenderNodeKindSchema,\n RenderNodeSchema,\n RenderNodeStateSchema,\n RenderResponsiveRuleSchema,\n RenderScrollSchema,\n RenderSurfaceSchema,\n RenderTreeSchema,\n ViewProviderDescriptorSchema,\n} from \"../contracts/render\";\nexport {\n ChangeImpactGraphSchema,\n ConceptDefinitionSchema,\n DomainCommandDefinitionSchema,\n DomainCommandSchema,\n ProductDeclarationSchema,\n} from \"../contracts/semantic\";\nexport {\n CurrentUserMenuActionItemSchema,\n CurrentUserMenuConfigSchema,\n CurrentUserMenuControlItemSchema,\n CurrentUserMenuDisplayTextSchema,\n CurrentUserMenuItemSchema,\n CurrentUserMenuNavigationItemSchema,\n CurrentUserMenuProfileSchema,\n CurrentUserMenuSectionSchema,\n TenantApplicationConfigSchema,\n TenantAgentThemeConfigSchema,\n TenantListFooterConfigSchema,\n TenantLandingPageConfigSchema,\n TenantProductConfigSchema,\n TenantRuntimeConfigSchema,\n TenantTrendRadarCollectionTargetSchema,\n TenantTrendRadarDerivedMetricsSchema,\n TenantTrendRadarEvaluationSchema,\n TenantTrendRadarSourceSchema,\n TenantTrendRadarSourcesSchema,\n TenantWorkbenchConfigSchema,\n TenantWorkbenchPageContextSchema,\n TenantWorkbenchPageEnvelopeSchema,\n TenantWorkbenchPageGroupSchema,\n} from \"../contracts/tenant\";\nexport {\n ResolvedThemeTokensSchema,\n ThemeTokenGroupSchema,\n ThemeTokenTypeSchema,\n ThemeTokenSchema,\n ThemeTokensSchema,\n} from \"../contracts/theme\";\nexport {\n BrandGeneticsProfileSchema,\n BrandBodySchema,\n HotwordBodySchema,\n ProductBodySchema,\n RadarActionRecordSchema,\n RadarAnalysisAssetSchema,\n RadarAnalysisDetailSchema,\n RadarAnalysisRunSchema,\n RadarDecisionMetricsSchema,\n RadarOpportunityMatrixSchema,\n RadarOpportunityMatrixPointSchema,\n RadarPanoramaEdgeSchema,\n RadarPanoramaNodeSchema,\n RadarPanoramaSchema,\n RadarQueryBodySchema,\n RadarScoreModelBodySchema,\n RadarScoreProjectionSchema,\n RadarSelectionSchema,\n RadarWritebackRecordSchema,\n SavedRadarQuerySchema,\n TrendRadarCollectionArtifactProjectionSchema,\n TrendRadarCollectionArtifactRefSchema,\n TrendRadarCollectionAssetRefSchema,\n TrendRadarCollectionDecisionAxisSchema,\n TrendRadarCollectionDecisionProjectionSchema,\n TrendRadarCollectionItemSchema,\n TrendRadarCollectionProjectionWritebackSchema,\n TrendRadarCollectionRecipeEntrySchema,\n TrendRadarCollectionRecipeSchema,\n TrendRadarCollectionRunRefSchema,\n TrendRadarCollectionSelectionRefSchema,\n TrendRadarCollectionSubjectRefSchema,\n TrendIngestRunSchema,\n TrendMetricSnapshotSchema,\n TrendSourceSchema,\n TrendSourceRecordSchema,\n} from \"../contracts/trend\";\nexport {\n ConductorTaskDefinitionSchema,\n ConductorTaskTypeSchema,\n ConductorWorkflowDefinitionSchema,\n WorkflowDefinitionSchema,\n WorkflowEdgeSchema,\n WorkflowNodeSchema,\n WorkflowOutputBindingSchema,\n WorkflowParameterSchema,\n WorkflowParameterTypeSchema,\n WorkflowTriggerSchema,\n WorkflowValidationIssueSchema,\n} from \"../contracts/workflow-definition\";\nexport {\n WorkflowCatalogEntrySchema,\n WorkflowCompletionCommitSchema,\n WorkflowCompletionReceiptSchema,\n WorkflowPublicationSchema,\n} from \"../contracts/workflow-runtime\";\n\nimport { AggregateCommitRequestSchema } from \"../contracts/aggregate-commit\";\nimport {\n ArtifactManifestSchema,\n OutputRecordSchema,\n} from \"../contracts/artifact\";\nimport {\n AgentSessionCommandResultSchema,\n AgentSessionCommandSchema,\n AgentSessionContinuationRequestSchema,\n AgentSessionContinuationResultSchema,\n AgentSessionEventSchema,\n AgentSessionRunEventSchema,\n AgentSessionRunSchema,\n AgentSessionTargetedCommandSchema,\n AgentSessionViewModelSchema,\n AgentWorkbenchComposerViewModelSchema,\n AgentWorkbenchNavigationViewModelSchema,\n AgentWorkbenchQuickStartViewModelSchema,\n} from \"../contracts/agent\";\nimport {\n CapabilityManifestSchema,\n CapabilityRegistryDocumentSchema,\n} from \"../contracts/capability\";\nimport {\n AgentRuntimeEventSchema,\n CompletionEventSchema,\n CompletionHeaderSchema,\n ExecutionLinkSchema,\n RequestScopeSchema,\n} from \"../contracts/context\";\nimport {\n ApplicationRunSchema,\n BodyRelationRecordSchema,\n DataContinuityEnvelopeSchema,\n ExpiringAccessGrantSchema,\n} from \"../contracts/continuity\";\nimport {\n DomainEventSchema,\n LineageRecordSchema,\n OntologyDefinitionSchema,\n ProjectionSpecSchema,\n} from \"../contracts/data\";\nimport {\n DeclarativeControlOntologyDefinitionSchema,\n DeclarativeRouteOwnerIndexSchema,\n DeclarativeWorkbenchCatalogSchema,\n DomainQueryDefinitionSchema,\n LegacyRouteTakeoverAuthorizationSchema,\n NavigationReleaseSchema,\n NavigationRuntimeBundleSchema,\n NavigationSchema,\n PageReleaseSchema,\n PageRuntimeBundleSchema,\n PageMigrationEquivalenceDimensionSchema,\n PageMigrationEquivalenceSchema,\n PageSchema,\n ResolvedPageSchema,\n PermissionAlternativePolicySchema,\n PublicationPlanSchema,\n RouteSpaceSchema,\n StableRefAliasMapSchema,\n WorkbenchReleaseSchema,\n WorkbenchRuntimeBundleSchema,\n WorkbenchSchema,\n} from \"../contracts/declarative-control\";\nimport { DesignCapabilityCatalogArtifactSchema } from \"../contracts/declarative-control-http\";\nimport {\n MenuDefinitionSchema,\n MenuDefinitionSetSchema,\n MenuRuntimeBundleSchema,\n} from \"../contracts/menu\";\nimport {\n PageDefinitionSchema,\n PageRuntimeDescriptorSchema,\n PageRuntimeProjectionSchema,\n} from \"../contracts/page\";\nimport {\n ApplicationHandoffSchema,\n OverlayNodeSchema,\n RenderNodeSchema,\n RenderTreeSchema,\n ViewProviderDescriptorSchema,\n} from \"../contracts/render\";\nimport {\n TenantProductConfigSchema,\n TenantRuntimeConfigSchema,\n} from \"../contracts/tenant\";\nimport {\n ChangeImpactGraphSchema,\n ConceptDefinitionSchema,\n DomainCommandDefinitionSchema,\n DomainCommandSchema,\n ProductDeclarationSchema,\n} from \"../contracts/semantic\";\nimport { ThemeTokensSchema } from \"../contracts/theme\";\nimport {\n BrandGeneticsProfileSchema,\n BrandBodySchema,\n HotwordBodySchema,\n ProductBodySchema,\n RadarActionRecordSchema,\n RadarAnalysisDetailSchema,\n RadarAnalysisRunSchema,\n RadarOpportunityMatrixSchema,\n RadarPanoramaSchema,\n RadarQueryBodySchema,\n RadarScoreModelBodySchema,\n RadarScoreProjectionSchema,\n RadarSelectionSchema,\n RadarWritebackRecordSchema,\n SavedRadarQuerySchema,\n TrendRadarCollectionItemSchema,\n TrendIngestRunSchema,\n TrendMetricSnapshotSchema,\n TrendSourceRecordSchema,\n} from \"../contracts/trend\";\nimport {\n ConductorWorkflowDefinitionSchema,\n WorkflowDefinitionSchema,\n} from \"../contracts/workflow-definition\";\nimport {\n WorkflowCatalogEntrySchema,\n WorkflowCompletionCommitSchema,\n WorkflowCompletionReceiptSchema,\n WorkflowPublicationSchema,\n} from \"../contracts/workflow-runtime\";\n\nexport {\n WorkflowColumnBindingSchema,\n WorkflowColumnInputSchema,\n WorkflowColumnDependencySchema,\n WorkflowColumnOutputSchema,\n WorkflowColumnFieldRefSchema,\n} from \"../contracts/workflow-column\";\nimport { WorkflowColumnBindingSchema } from \"../contracts/workflow-column\";\nimport { DesignBoardDocumentSchema, DesignBoardCommitCommandSchema } from '../contracts/design-board';\nexport { DesignBoardDocumentSchema, DesignBoardCommitCommandSchema } from '../contracts/design-board';\n\nexport const canonicalContractSchemas = {\n 'design-board-document': DesignBoardDocumentSchema,\n 'design-board-commit-command': DesignBoardCommitCommandSchema,\n \"aggregate-commit-request\": AggregateCommitRequestSchema,\n \"workflow-column-binding\": WorkflowColumnBindingSchema,\n \"agent-session-command\": AgentSessionCommandSchema,\n \"agent-session-targeted-command\": AgentSessionTargetedCommandSchema,\n \"agent-session-command-result\": AgentSessionCommandResultSchema,\n \"agent-session-continuation-request\": AgentSessionContinuationRequestSchema,\n \"agent-session-continuation-result\": AgentSessionContinuationResultSchema,\n \"agent-session-event\": AgentSessionEventSchema,\n \"agent-session-run-event\": AgentSessionRunEventSchema,\n \"agent-session-run\": AgentSessionRunSchema,\n \"agent-session-view-model\": AgentSessionViewModelSchema,\n \"agent-workbench-composer-view-model\": AgentWorkbenchComposerViewModelSchema,\n \"agent-workbench-navigation-view-model\":\n AgentWorkbenchNavigationViewModelSchema,\n \"agent-workbench-quick-start-view-model\":\n AgentWorkbenchQuickStartViewModelSchema,\n \"agent-runtime-event\": AgentRuntimeEventSchema,\n \"application-run\": ApplicationRunSchema,\n \"application-handoff\": ApplicationHandoffSchema,\n \"artifact-manifest\": ArtifactManifestSchema,\n \"brand-body\": BrandBodySchema,\n \"body-relation-record\": BodyRelationRecordSchema,\n \"brand-genetics-profile\": BrandGeneticsProfileSchema,\n \"capability-manifest\": CapabilityManifestSchema,\n \"capability-registry\": CapabilityRegistryDocumentSchema,\n \"change-impact-graph\": ChangeImpactGraphSchema,\n \"concept-definition\": ConceptDefinitionSchema,\n \"completion-event\": CompletionEventSchema,\n \"completion-header\": CompletionHeaderSchema,\n \"conductor-workflow-definition\": ConductorWorkflowDefinitionSchema,\n \"domain-event\": DomainEventSchema,\n \"domain-command\": DomainCommandSchema,\n \"domain-command-definition\": DomainCommandDefinitionSchema,\n \"action-program-definition\": ActionProgramDefinitionSchema,\n \"action-program-artifact\": ActionProgramArtifactSchema,\n \"data-continuity-envelope\": DataContinuityEnvelopeSchema,\n \"domain-query-definition\": DomainQueryDefinitionSchema,\n \"declarative-control-ontology-definition\":\n DeclarativeControlOntologyDefinitionSchema,\n \"declarative-route-owner-index\": DeclarativeRouteOwnerIndexSchema,\n \"declarative-workbench-catalog\": DeclarativeWorkbenchCatalogSchema,\n \"design-capability-catalog-artifact\": DesignCapabilityCatalogArtifactSchema,\n \"execution-link\": ExecutionLinkSchema,\n \"expiring-access-grant\": ExpiringAccessGrantSchema,\n \"hotword-body\": HotwordBodySchema,\n \"lineage-record\": LineageRecordSchema,\n \"legacy-route-takeover-authorization\": LegacyRouteTakeoverAuthorizationSchema,\n \"menu-definition\": MenuDefinitionSchema,\n \"menu-definition-set\": MenuDefinitionSetSchema,\n \"menu-runtime-bundle\": MenuRuntimeBundleSchema,\n navigation: NavigationSchema,\n \"navigation-release\": NavigationReleaseSchema,\n \"navigation-runtime-bundle\": NavigationRuntimeBundleSchema,\n \"ontology-definition\": OntologyDefinitionSchema,\n \"overlay-node\": OverlayNodeSchema,\n \"output-record\": OutputRecordSchema,\n \"page-definition\": PageDefinitionSchema,\n page: PageSchema,\n \"page-release\": PageReleaseSchema,\n \"page-runtime-bundle\": PageRuntimeBundleSchema,\n \"page-runtime-descriptor\": PageRuntimeDescriptorSchema,\n \"page-runtime-projection\": PageRuntimeProjectionSchema,\n \"permission-alternative-policy\": PermissionAlternativePolicySchema,\n \"projection-spec\": ProjectionSpecSchema,\n \"publication-plan\": PublicationPlanSchema,\n \"product-declaration\": ProductDeclarationSchema,\n \"product-body\": ProductBodySchema,\n \"radar-action-record\": RadarActionRecordSchema,\n \"radar-analysis-detail\": RadarAnalysisDetailSchema,\n \"radar-analysis-run\": RadarAnalysisRunSchema,\n \"radar-opportunity-matrix\": RadarOpportunityMatrixSchema,\n \"radar-panorama\": RadarPanoramaSchema,\n \"radar-query-body\": RadarQueryBodySchema,\n \"radar-score-model-body\": RadarScoreModelBodySchema,\n \"radar-score-projection\": RadarScoreProjectionSchema,\n \"radar-selection\": RadarSelectionSchema,\n \"radar-writeback-record\": RadarWritebackRecordSchema,\n \"request-scope\": RequestScopeSchema,\n \"route-space\": RouteSpaceSchema,\n \"render-node\": RenderNodeSchema,\n \"render-tree\": RenderTreeSchema,\n \"saved-radar-query\": SavedRadarQuerySchema,\n \"stable-ref-alias-map\": StableRefAliasMapSchema,\n \"tenant-product-config\": TenantProductConfigSchema,\n \"tenant-runtime-config\": TenantRuntimeConfigSchema,\n \"theme-tokens\": ThemeTokensSchema,\n \"trend-radar-collection-item\": TrendRadarCollectionItemSchema,\n \"trend-ingest-run\": TrendIngestRunSchema,\n \"trend-metric-snapshot\": TrendMetricSnapshotSchema,\n \"trend-source-record\": TrendSourceRecordSchema,\n \"view-provider-descriptor\": ViewProviderDescriptorSchema,\n workbench: WorkbenchSchema,\n \"workbench-release\": WorkbenchReleaseSchema,\n \"workbench-runtime-bundle\": WorkbenchRuntimeBundleSchema,\n \"workflow-definition\": WorkflowDefinitionSchema,\n \"workflow-catalog-entry\": WorkflowCatalogEntrySchema,\n \"workflow-publication\": WorkflowPublicationSchema,\n \"workflow-completion-commit\": WorkflowCompletionCommitSchema,\n \"workflow-completion-receipt\": WorkflowCompletionReceiptSchema,\n} as const;\n\nexport type CanonicalContractSchemaName = keyof typeof canonicalContractSchemas;\n\nexport {\n ComponentAssemblySchema,\n ComponentEventArgumentSchema,\n ComponentEventBindingSchema,\n} from \"../contracts/component-assembly\";\n\nexport {\n PageExpressionSchema,\n PagePropertyBindingSchema,\n} from \"../contracts/page-expression\";\n\nexport * from \"../contracts/record-editor-draft\";\nexport {\n DeclarativeImportDocumentSchema,\n DeclarativeDocumentImportRequestSchema,\n DeclarativeDocumentImportIntentSchema,\n DeclarativeDocumentImportPlanSchema,\n DeclarativeDocumentImportResultSchema,\n} from \"../contracts/declarative-document-import\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAigBO,IAAM,2BAA2B;AAAA,EACtC,yBAAyB;AAAA,EACzB,+BAA+B;AAAA,EAC/B,4BAA4B;AAAA,EAC5B,2BAA2B;AAAA,EAC3B,yBAAyB;AAAA,EACzB,kCAAkC;AAAA,EAClC,gCAAgC;AAAA,EAChC,sCAAsC;AAAA,EACtC,qCAAqC;AAAA,EACrC,uBAAuB;AAAA,EACvB,2BAA2B;AAAA,EAC3B,qBAAqB;AAAA,EACrB,4BAA4B;AAAA,EAC5B,uCAAuC;AAAA,EACvC,yCACE;AAAA,EACF,0CACE;AAAA,EACF,uBAAuB;AAAA,EACvB,mBAAmB;AAAA,EACnB,uBAAuB;AAAA,EACvB,qBAAqB;AAAA,EACrB,cAAc;AAAA,EACd,wBAAwB;AAAA,EACxB,0BAA0B;AAAA,EAC1B,uBAAuB;AAAA,EACvB,uBAAuB;AAAA,EACvB,uBAAuB;AAAA,EACvB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,iCAAiC;AAAA,EACjC,gBAAgB;AAAA,EAChB,kBAAkB;AAAA,EAClB,6BAA6B;AAAA,EAC7B,6BAA6B;AAAA,EAC7B,2BAA2B;AAAA,EAC3B,4BAA4B;AAAA,EAC5B,2BAA2B;AAAA,EAC3B,2CACE;AAAA,EACF,iCAAiC;AAAA,EACjC,iCAAiC;AAAA,EACjC,sCAAsC;AAAA,EACtC,kBAAkB;AAAA,EAClB,yBAAyB;AAAA,EACzB,gBAAgB;AAAA,EAChB,kBAAkB;AAAA,EAClB,uCAAuC;AAAA,EACvC,mBAAmB;AAAA,EACnB,uBAAuB;AAAA,EACvB,uBAAuB;AAAA,EACvB,YAAY;AAAA,EACZ,sBAAsB;AAAA,EACtB,6BAA6B;AAAA,EAC7B,uBAAuB;AAAA,EACvB,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,mBAAmB;AAAA,EACnB,MAAM;AAAA,EACN,gBAAgB;AAAA,EAChB,uBAAuB;AAAA,EACvB,2BAA2B;AAAA,EAC3B,2BAA2B;AAAA,EAC3B,iCAAiC;AAAA,EACjC,mBAAmB;AAAA,EACnB,oBAAoB;AAAA,EACpB,uBAAuB;AAAA,EACvB,gBAAgB;AAAA,EAChB,uBAAuB;AAAA,EACvB,yBAAyB;AAAA,EACzB,sBAAsB;AAAA,EACtB,4BAA4B;AAAA,EAC5B,kBAAkB;AAAA,EAClB,oBAAoB;AAAA,EACpB,0BAA0B;AAAA,EAC1B,0BAA0B;AAAA,EAC1B,mBAAmB;AAAA,EACnB,0BAA0B;AAAA,EAC1B,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,eAAe;AAAA,EACf,eAAe;AAAA,EACf,qBAAqB;AAAA,EACrB,wBAAwB;AAAA,EACxB,yBAAyB;AAAA,EACzB,yBAAyB;AAAA,EACzB,gBAAgB;AAAA,EAChB,+BAA+B;AAAA,EAC/B,oBAAoB;AAAA,EACpB,yBAAyB;AAAA,EACzB,uBAAuB;AAAA,EACvB,4BAA4B;AAAA,EAC5B,WAAW;AAAA,EACX,qBAAqB;AAAA,EACrB,4BAA4B;AAAA,EAC5B,uBAAuB;AAAA,EACvB,0BAA0B;AAAA,EAC1B,wBAAwB;AAAA,EACxB,8BAA8B;AAAA,EAC9B,+BAA+B;AACjC;","names":[]}
@@ -4,7 +4,7 @@ import {
4
4
  PAGE_STREAM_MAX_FRAME_BYTES,
5
5
  PageStreamDescriptorSchema,
6
6
  PageStreamEventSchema
7
- } from "./chunk-EJJLMGKU.mjs";
7
+ } from "./chunk-HLW3X2NX.mjs";
8
8
  import {
9
9
  AccessPolicySchema,
10
10
  ActionProgramDefinitionSchema,
@@ -26,6 +26,8 @@ import {
26
26
  DeclarativeRuntimeResolveResultSchema,
27
27
  DeclarativeShellResourceDocumentSchema,
28
28
  DeclarativeWorkbenchCatalogSchema,
29
+ DesignBoardChangesSchema,
30
+ DesignBoardDocumentSchema,
29
31
  DesignCapabilityCatalogArtifactSchema,
30
32
  DomainCommandDefinitionSchema,
31
33
  DomainCommandSchema,
@@ -111,7 +113,7 @@ import {
111
113
  require_validation,
112
114
  require_validation_error,
113
115
  resolveThemeTokens
114
- } from "./chunk-TNA3ZX6I.mjs";
116
+ } from "./chunk-GT5OGNJE.mjs";
115
117
  import {
116
118
  __commonJS,
117
119
  __toESM
@@ -6181,6 +6183,55 @@ function resolveWorkflowColumnResult(binding, payload, nowMs = Date.now()) {
6181
6183
  return { value, expiresAt };
6182
6184
  }
6183
6185
 
6186
+ // src/runtime/design-board.ts
6187
+ var stable = (value) => JSON.stringify(value, (_key, item) => item && typeof item === "object" && !Array.isArray(item) ? Object.fromEntries(Object.keys(item).sort().map((key) => [key, item[key]])) : item);
6188
+ var changed = (before, after, identity) => {
6189
+ const previous = new Map(before.map((value) => [identity(value), stable(value)]));
6190
+ return after.filter((value) => previous.get(identity(value)) !== stable(value));
6191
+ };
6192
+ function diffDesignBoardDocuments(before, after) {
6193
+ const pageElements = (document, id) => document.document.elements.filter((element) => String(element.customData?.designBoard?.pageId || document.domain.pages[0]?.id) === id);
6194
+ const removed = (left, right, identity) => {
6195
+ const kept = new Set(right.map(identity));
6196
+ return left.map(identity).filter((id) => !kept.has(id));
6197
+ };
6198
+ return DesignBoardChangesSchema.parse({
6199
+ ...stable(before.document.appState) !== stable(after.document.appState) ? { appState: after.document.appState ?? {} } : {},
6200
+ ...stable(before.domain.pages) !== stable(after.domain.pages) ? { pages: after.domain.pages } : {},
6201
+ scenes: after.domain.pages.filter((page) => stable(pageElements(before, page.id)) !== stable(pageElements(after, page.id))).map((page) => ({ pageId: page.id, elements: pageElements(after, page.id) })),
6202
+ nodes: changed(before.domain.nodes, after.domain.nodes, (node) => node.id),
6203
+ removedNodeIds: removed(before.domain.nodes, after.domain.nodes, (node) => node.id),
6204
+ connections: changed(before.domain.connections, after.domain.connections, (edge) => edge.id),
6205
+ removedConnectionIds: removed(before.domain.connections, after.domain.connections, (edge) => edge.id),
6206
+ files: changed(before.domain.files, after.domain.files, (file) => file.canonicalUri),
6207
+ removedFileUris: removed(before.domain.files, after.domain.files, (file) => file.canonicalUri)
6208
+ });
6209
+ }
6210
+ function applyDesignBoardChanges(document, changes) {
6211
+ changes = DesignBoardChangesSchema.parse(changes);
6212
+ const identities = [changes.scenes.map((scene) => scene.pageId), changes.nodes.map((node) => node.id), changes.connections.map((edge) => edge.id), changes.files.map((file) => file.canonicalUri)];
6213
+ if (identities.some((ids) => new Set(ids).size !== ids.length)) throw new Error("DESIGN_BOARD_CHANGE_IDENTITIES_DUPLICATE");
6214
+ const apply = (previous, updates, removed, identity) => {
6215
+ const values = new Map(previous.map((item) => [identity(item), item]));
6216
+ removed.forEach((id) => values.delete(id));
6217
+ updates.forEach((item) => values.set(identity(item), item));
6218
+ return [...values.values()];
6219
+ };
6220
+ const pages = changes.pages || document.domain.pages;
6221
+ const pageIds = new Set(pages.map((page) => page.id));
6222
+ if (changes.scenes.some((scene) => !pageIds.has(scene.pageId))) throw new Error("DESIGN_BOARD_CHANGE_PAGE_MISSING");
6223
+ const scenes = new Map(changes.scenes.map((scene) => [scene.pageId, scene.elements]));
6224
+ const elements = pages.flatMap((page) => scenes.get(page.id) ?? document.document.elements.filter((element) => String(element.customData?.designBoard?.pageId || document.domain.pages[0]?.id) === page.id));
6225
+ const result = { ...document, document: { ...document.document, elements, files: {}, ...changes.appState === void 0 ? {} : { appState: changes.appState } }, domain: {
6226
+ ...document.domain,
6227
+ pages,
6228
+ nodes: apply(document.domain.nodes, changes.nodes, changes.removedNodeIds, (node) => node.id).filter((node) => pageIds.has(node.pageId)),
6229
+ connections: apply(document.domain.connections, changes.connections, changes.removedConnectionIds, (edge) => edge.id).filter((edge) => pageIds.has(edge.pageId)),
6230
+ files: apply(document.domain.files, changes.files, changes.removedFileUris, (file) => file.canonicalUri)
6231
+ } };
6232
+ return DesignBoardDocumentSchema.parse(result);
6233
+ }
6234
+
6184
6235
  // src/runtime/access-compiler.ts
6185
6236
  var uniqueBy = (values, key, label) => {
6186
6237
  const result = /* @__PURE__ */ new Map();
@@ -7368,6 +7419,8 @@ export {
7368
7419
  compileWorkflowPersistenceProjection,
7369
7420
  parseWorkflowColumnBinding,
7370
7421
  resolveWorkflowColumnResult,
7422
+ diffDesignBoardDocuments,
7423
+ applyDesignBoardChanges,
7371
7424
  compileProductAccessDeclaration,
7372
7425
  compileComponentAssemblyValidator,
7373
7426
  readPageValue,
@@ -7406,4 +7459,4 @@ export {
7406
7459
  PageCompositionSchema,
7407
7460
  compilePageComposition
7408
7461
  };
7409
- //# sourceMappingURL=chunk-4QMWKKPP.mjs.map
7462
+ //# sourceMappingURL=chunk-AGT4MIWF.mjs.map