@inf-monkeys-tech/monkeys 1.1.47 → 1.1.48

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 (50) hide show
  1. package/lib/contracts/declarative-control-http.d.ts +535 -1135
  2. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  3. package/lib/contracts/declarative-control.d.ts +130 -353
  4. package/lib/contracts/declarative-control.d.ts.map +1 -1
  5. package/lib/contracts/declarative-control.js +30 -31
  6. package/lib/contracts/declarative-control.js.map +1 -1
  7. package/lib/contracts/declarative-publication-job.d.ts +375 -855
  8. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  9. package/lib/esm/{chunk-Z6F4MXV2.mjs → chunk-CKNQN2NO.mjs} +2 -2
  10. package/lib/esm/{chunk-DVKZ3G6M.mjs → chunk-E7VYULFR.mjs} +26 -31
  11. package/lib/esm/chunk-E7VYULFR.mjs.map +1 -0
  12. package/lib/esm/{chunk-B4OT6FRP.mjs → chunk-J2AGWT4C.mjs} +2 -2
  13. package/lib/esm/{chunk-5IZFPLHB.mjs → chunk-P6HMIUNO.mjs} +2 -2
  14. package/lib/esm/{chunk-KLSJHH23.mjs → chunk-PLPMH3D2.mjs} +3 -3
  15. package/lib/esm/chunk-PLPMH3D2.mjs.map +1 -0
  16. package/lib/esm/{chunk-47IYYBR4.mjs → chunk-Y7VVND3P.mjs} +29 -62
  17. package/lib/esm/chunk-Y7VVND3P.mjs.map +1 -0
  18. package/lib/esm/contracts/index.mjs +10 -6
  19. package/lib/esm/index.mjs +14 -14
  20. package/lib/esm/runtime/index.mjs +5 -9
  21. package/lib/esm/schemas/index.mjs +9 -5
  22. package/lib/json-schema/navigation-release.schema.json +0 -582
  23. package/lib/json-schema/navigation-runtime-bundle.schema.json +6 -6
  24. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  25. package/lib/runtime/declarative-control-compiler.js +3 -35
  26. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  27. package/lib/runtime/declarative-reference-normalization.d.ts +31 -0
  28. package/lib/runtime/declarative-reference-normalization.d.ts.map +1 -0
  29. package/lib/runtime/declarative-reference-normalization.js +39 -0
  30. package/lib/runtime/declarative-reference-normalization.js.map +1 -0
  31. package/lib/runtime/index.d.ts +1 -0
  32. package/lib/runtime/index.d.ts.map +1 -1
  33. package/lib/runtime/index.js +1 -0
  34. package/lib/runtime/index.js.map +1 -1
  35. package/lib/runtime/navigation-availability.d.ts +0 -4
  36. package/lib/runtime/navigation-availability.d.ts.map +1 -1
  37. package/lib/runtime/navigation-availability.js +1 -12
  38. package/lib/runtime/navigation-availability.js.map +1 -1
  39. package/lib/runtime/runtime-definition-wire.d.ts +28 -28
  40. package/lib/schemas/index.d.ts +29 -149
  41. package/lib/schemas/index.d.ts.map +1 -1
  42. package/lib/schemas/index.js +7 -5
  43. package/lib/schemas/index.js.map +1 -1
  44. package/package.json +1 -1
  45. package/lib/esm/chunk-47IYYBR4.mjs.map +0 -1
  46. package/lib/esm/chunk-DVKZ3G6M.mjs.map +0 -1
  47. package/lib/esm/chunk-KLSJHH23.mjs.map +0 -1
  48. /package/lib/esm/{chunk-Z6F4MXV2.mjs.map → chunk-CKNQN2NO.mjs.map} +0 -0
  49. /package/lib/esm/{chunk-B4OT6FRP.mjs.map → chunk-J2AGWT4C.mjs.map} +0 -0
  50. /package/lib/esm/{chunk-5IZFPLHB.mjs.map → chunk-P6HMIUNO.mjs.map} +0 -0
@@ -13,7 +13,7 @@ import {
13
13
  RevisionRefSchema,
14
14
  Sha256Schema,
15
15
  TenantScopeSchema
16
- } from "./chunk-DVKZ3G6M.mjs";
16
+ } from "./chunk-E7VYULFR.mjs";
17
17
 
18
18
  // src/contracts/artifact.ts
19
19
  import { z } from "zod";
@@ -1060,4 +1060,4 @@ export {
1060
1060
  WorkflowCompletionCommitSchema,
1061
1061
  WorkflowCompletionReceiptSchema
1062
1062
  };
1063
- //# sourceMappingURL=chunk-B4OT6FRP.mjs.map
1063
+ //# sourceMappingURL=chunk-J2AGWT4C.mjs.map
@@ -14,7 +14,7 @@ import {
14
14
  ManagedFileUriSchema,
15
15
  RevisionRefSchema,
16
16
  Sha256Schema
17
- } from "./chunk-DVKZ3G6M.mjs";
17
+ } from "./chunk-E7VYULFR.mjs";
18
18
 
19
19
  // src/contracts/agent-data.ts
20
20
  import { z } from "zod";
@@ -543,4 +543,4 @@ export {
543
543
  RuntimeProgramCallResultSchema,
544
544
  RuntimeProgramDownloadResultSchema
545
545
  };
546
- //# sourceMappingURL=chunk-5IZFPLHB.mjs.map
546
+ //# sourceMappingURL=chunk-P6HMIUNO.mjs.map
@@ -36,7 +36,7 @@ import {
36
36
  WorkflowCompletionCommitSchema,
37
37
  WorkflowCompletionReceiptSchema,
38
38
  WorkflowPublicationSchema
39
- } from "./chunk-B4OT6FRP.mjs";
39
+ } from "./chunk-J2AGWT4C.mjs";
40
40
  import {
41
41
  ActionProgramArtifactSchema,
42
42
  ActionProgramDefinitionSchema,
@@ -101,7 +101,7 @@ import {
101
101
  WorkbenchSchema,
102
102
  WorkflowColumnBindingSchema,
103
103
  WorkflowDefinitionSchema
104
- } from "./chunk-DVKZ3G6M.mjs";
104
+ } from "./chunk-E7VYULFR.mjs";
105
105
 
106
106
  // src/schemas/index.ts
107
107
  var canonicalContractSchemas = {
@@ -210,4 +210,4 @@ var canonicalContractSchemas = {
210
210
  export {
211
211
  canonicalContractSchemas
212
212
  };
213
- //# sourceMappingURL=chunk-KLSJHH23.mjs.map
213
+ //# sourceMappingURL=chunk-PLPMH3D2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["import { DeclarativePublicationVerificationRequestSchema, DeclarativePublicationVerificationSchema } from \"../contracts/declarative-publication-verification\";\nimport {\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 ResolvedWorkbenchAppInstanceSchema,\n RevisionRefSchema,\n RevisionRefInputSchema,\n StableRefInputSchema,\n ReferenceInputSchema,\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 \"declarative-publication-verification-request\": DeclarativePublicationVerificationRequestSchema,\n \"declarative-publication-verification\": DeclarativePublicationVerificationSchema,\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAogBO,IAAM,2BAA2B;AAAA,EACtC,gDAAgD;AAAA,EAChD,wCAAwC;AAAA,EACxC,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-Z6F4MXV2.mjs";
7
+ } from "./chunk-CKNQN2NO.mjs";
8
8
  import {
9
9
  AccessPolicySchema,
10
10
  ActionProgramDefinitionSchema,
@@ -75,6 +75,7 @@ import {
75
75
  RecordEditorPathSchema,
76
76
  RecordEditorSubmissionSnapshotSchema,
77
77
  RecordEditorValidationDetailsSchema,
78
+ ReferenceInputSchema,
78
79
  RenderTreeSchema,
79
80
  ResolvedPageSchema,
80
81
  RevisionRefSchema,
@@ -114,7 +115,7 @@ import {
114
115
  require_validation,
115
116
  require_validation_error,
116
117
  resolveThemeTokens
117
- } from "./chunk-DVKZ3G6M.mjs";
118
+ } from "./chunk-E7VYULFR.mjs";
118
119
  import {
119
120
  __commonJS,
120
121
  __toESM
@@ -4162,22 +4163,9 @@ var compileNavigationRuntimeBundle = (input) => {
4162
4163
  const releasedByNodeId = new Map(
4163
4164
  release.resolvedTargets.map((target) => [target.nodeId, target])
4164
4165
  );
4165
- const unavailableByNodeId = new Map(
4166
- (release.unavailableTargets ?? []).map((target) => [target.nodeId, target])
4167
- );
4168
4166
  const nodesById = new Map(
4169
4167
  navigation.nodes.map((node) => [node.nodeId, node])
4170
4168
  );
4171
- for (const target of release.unavailableTargets ?? []) {
4172
- const node = nodesById.get(target.nodeId);
4173
- if (node?.kind !== "target" || !sameStableRef(node.targetRef, target.stableTargetRef)) {
4174
- throw new DeclarativeControlCompilationError(
4175
- "NAV_TARGET_UNRELEASED",
4176
- "release.unavailableTargets",
4177
- "An unavailable target must identify its source Page node exactly."
4178
- );
4179
- }
4180
- }
4181
4169
  const nodes = orderedNavigationNodes(navigation).map((node, index) => {
4182
4170
  const ancestors = [];
4183
4171
  let parentId = node.parentNodeId;
@@ -4199,42 +4187,8 @@ var compileNavigationRuntimeBundle = (input) => {
4199
4187
  }
4200
4188
  const registration = targetsByStableRef.get(stableRefKey(node.targetRef));
4201
4189
  const released = releasedByNodeId.get(node.nodeId);
4202
- const unavailable = unavailableByNodeId.get(node.nodeId);
4203
- if (!registration && node.targetRef.kind === "page" && (unavailable && sameStableRef(unavailable.stableTargetRef, node.targetRef) || released && sameStableRef(released.stableTargetRef, node.targetRef))) {
4204
- if (!released || !verifiedKernelPageReferenceKeys.has(
4205
- revisionRefKey(released.targetRevisionRef)
4206
- )) {
4207
- assertTenantCompatible(
4208
- node.targetRef,
4209
- scope,
4210
- `nodes[${index}].targetRef`
4211
- );
4212
- }
4213
- if (unavailable?.accessPolicy && !accessPolicyChainImplies(
4214
- [...ancestors, node.audience],
4215
- unavailable.accessPolicy
4216
- )) {
4217
- throw new DeclarativeControlCompilationError(
4218
- "AUDIENCE_WIDER_THAN_TARGET",
4219
- `nodes[${index}].audience`,
4220
- "Effective Navigation audience is wider than the last verified target audience."
4221
- );
4222
- }
4223
- return {
4224
- ...node,
4225
- disabled: true,
4226
- parameterMapping: {},
4227
- ancestorAccessPolicies: ancestors,
4228
- resolvedTarget: {
4229
- kind: "unavailable",
4230
- nodeId: node.nodeId,
4231
- stableTargetRef: node.targetRef,
4232
- accessPolicy: unavailable?.accessPolicy ?? null
4233
- }
4234
- };
4235
- }
4236
4190
  const currentPage = node.targetRef.kind === "page" && registration?.kind === "route";
4237
- if (!registration || !released && !(currentPage && unavailable && sameStableRef(unavailable.stableTargetRef, node.targetRef)) || !sameStableRef(
4191
+ if (!registration || !released || !sameStableRef(
4238
4192
  registration.stableTargetRef,
4239
4193
  stableFromRevision(registration.targetRevisionRef)
4240
4194
  ) || released && !sameStableRef(
@@ -4533,14 +4487,6 @@ function assertProgramRegistration(registration, scope, surface, path = "program
4533
4487
  }
4534
4488
 
4535
4489
  // src/runtime/navigation-availability.ts
4536
- var NAVIGATION_UNAVAILABLE_CAPABILITY_HEADER = "x-monkeys-navigation-capabilities";
4537
- var NAVIGATION_UNAVAILABLE_CAPABILITY = "unavailable-pages-v1";
4538
- function projectNavigationCompatibility(bundle, supportsUnavailable) {
4539
- if (supportsUnavailable || !bundle.nodes.some((node) => node.kind === "target" && node.resolvedTarget.kind === "unavailable")) return bundle;
4540
- const { contentHash: _hash, ...unsigned } = bundle;
4541
- const nodes = bundle.nodes.filter((node) => node.kind !== "target" || node.resolvedTarget.kind !== "unavailable");
4542
- return NavigationRuntimeBundleSchema.parse({ ...unsigned, nodes, contentHash: canonicalContentHash({ ...unsigned, nodes }) });
4543
- }
4544
4490
  function projectCurrentNavigationPages(source, navigation, targets) {
4545
4491
  const currentTargets = new Map(targets.map((target) => [canonicalContentHash(target.stableTargetRef), target]));
4546
4492
  if (currentTargets.size !== targets.length) throw new TypeError("DECLARATIVE_TARGET_CATALOG_INVALID");
@@ -4581,6 +4527,29 @@ function projectCurrentNavigationPages(source, navigation, targets) {
4581
4527
  return NavigationRuntimeBundleSchema.parse({ ...unsigned, nodes, contentHash: canonicalContentHash({ ...unsigned, nodes }) });
4582
4528
  }
4583
4529
 
4530
+ // src/runtime/declarative-reference-normalization.ts
4531
+ var isObject = (value) => Boolean(value) && typeof value === "object" && !Array.isArray(value);
4532
+ function normalizeDeclarativeReferences(document, resolve) {
4533
+ const counts = { expanded: 0, unresolved: [] };
4534
+ const visit = (value) => {
4535
+ if (Array.isArray(value)) return value.map(visit);
4536
+ if (!isObject(value)) return value;
4537
+ if ("ownerRepo" in value) return Object.fromEntries(Object.entries(value).map(([key, entry]) => [key, visit(entry)]));
4538
+ const parsed = ReferenceInputSchema.safeParse(value);
4539
+ if (parsed.success && !("ownerRepo" in value)) {
4540
+ const resolved = resolve(parsed.data);
4541
+ if (!resolved) {
4542
+ counts.unresolved.push(parsed.data.id);
4543
+ return value;
4544
+ }
4545
+ counts.expanded += 1;
4546
+ return structuredClone(resolved);
4547
+ }
4548
+ return Object.fromEntries(Object.entries(value).map(([key, entry]) => [key, visit(entry)]));
4549
+ };
4550
+ return { document: visit(document), counts };
4551
+ }
4552
+
4584
4553
  // src/runtime/menu-compiler.ts
4585
4554
  var MenuCompilationError = class extends Error {
4586
4555
  constructor(code, path, message) {
@@ -7432,10 +7401,8 @@ export {
7432
7401
  resolveWorkbenchEntry,
7433
7402
  programDependencies,
7434
7403
  assertProgramRegistration,
7435
- NAVIGATION_UNAVAILABLE_CAPABILITY_HEADER,
7436
- NAVIGATION_UNAVAILABLE_CAPABILITY,
7437
- projectNavigationCompatibility,
7438
7404
  projectCurrentNavigationPages,
7405
+ normalizeDeclarativeReferences,
7439
7406
  MenuCompilationError,
7440
7407
  resolveMenuActivationId,
7441
7408
  readMenuActivationFromSearch,
@@ -7510,4 +7477,4 @@ export {
7510
7477
  collectManagedFileReferences,
7511
7478
  resolveFileResourceReference
7512
7479
  };
7513
- //# sourceMappingURL=chunk-47IYYBR4.mjs.map
7480
+ //# sourceMappingURL=chunk-Y7VVND3P.mjs.map