@inf-monkeys-tech/monkeys 1.1.60 → 1.1.62

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 (83) hide show
  1. package/lib/contracts/agent-data.d.ts +2 -2
  2. package/lib/contracts/agent.d.ts +3 -3
  3. package/lib/contracts/artifact-platform.d.ts +6 -263
  4. package/lib/contracts/artifact-platform.d.ts.map +1 -1
  5. package/lib/contracts/artifact-platform.js +14 -113
  6. package/lib/contracts/artifact-platform.js.map +1 -1
  7. package/lib/contracts/bento-block.d.ts +616 -0
  8. package/lib/contracts/bento-block.d.ts.map +1 -0
  9. package/lib/contracts/bento-block.js +505 -0
  10. package/lib/contracts/bento-block.js.map +1 -0
  11. package/lib/contracts/declarative-control-http.d.ts +1090 -967
  12. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  13. package/lib/contracts/declarative-control.d.ts +173 -158
  14. package/lib/contracts/declarative-control.d.ts.map +1 -1
  15. package/lib/contracts/declarative-control.js +26 -1
  16. package/lib/contracts/declarative-control.js.map +1 -1
  17. package/lib/contracts/declarative-document-import.d.ts +75 -60
  18. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  19. package/lib/contracts/declarative-publication-job.d.ts +232 -208
  20. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  21. package/lib/contracts/index.d.ts +1 -0
  22. package/lib/contracts/index.d.ts.map +1 -1
  23. package/lib/contracts/index.js +1 -0
  24. package/lib/contracts/index.js.map +1 -1
  25. package/lib/contracts/menu.d.ts +16 -13
  26. package/lib/contracts/menu.d.ts.map +1 -1
  27. package/lib/contracts/page-expression.d.ts +5 -5
  28. package/lib/contracts/page.d.ts +50 -41
  29. package/lib/contracts/page.d.ts.map +1 -1
  30. package/lib/contracts/render.d.ts +66 -66
  31. package/lib/contracts/semantic.d.ts +16 -13
  32. package/lib/contracts/semantic.d.ts.map +1 -1
  33. package/lib/contracts/tenant.d.ts +86 -71
  34. package/lib/contracts/tenant.d.ts.map +1 -1
  35. package/lib/contracts/trend.d.ts +1 -1
  36. package/lib/contracts/unified-view.d.ts +26 -533
  37. package/lib/contracts/unified-view.d.ts.map +1 -1
  38. package/lib/contracts/unified-view.js +17 -316
  39. package/lib/contracts/unified-view.js.map +1 -1
  40. package/lib/contracts/workflow-definition.d.ts +10 -10
  41. package/lib/esm/{chunk-5IWBM5FS.mjs → chunk-EFVODA3P.mjs} +3521 -3402
  42. package/lib/esm/chunk-EFVODA3P.mjs.map +1 -0
  43. package/lib/esm/{chunk-QM3K7CWF.mjs → chunk-MAZ3HUFS.mjs} +152 -142
  44. package/lib/esm/chunk-MAZ3HUFS.mjs.map +1 -0
  45. package/lib/esm/{chunk-L7WP57HT.mjs → chunk-RWTW74VC.mjs} +2 -2
  46. package/lib/esm/{chunk-POHBVHPL.mjs → chunk-UPCRRS4I.mjs} +4 -2
  47. package/lib/esm/chunk-UPCRRS4I.mjs.map +1 -0
  48. package/lib/esm/contracts/index.mjs +40 -28
  49. package/lib/esm/index.mjs +46 -36
  50. package/lib/esm/index.mjs.map +1 -1
  51. package/lib/esm/runtime/index.mjs +7 -9
  52. package/lib/esm/schemas/index.mjs +26 -28
  53. package/lib/json-schema/bento-node.schema.json +1446 -0
  54. package/lib/json-schema/index.json +1 -0
  55. package/lib/json-schema/page-definition.schema.json +51 -64
  56. package/lib/json-schema/page-runtime-bundle.schema.json +97 -110
  57. package/lib/json-schema/page-runtime-descriptor.schema.json +51 -64
  58. package/lib/json-schema/page.schema.json +61 -74
  59. package/lib/json-schema/product-declaration.schema.json +17 -30
  60. package/lib/json-schema/tenant-product-config.schema.json +17 -30
  61. package/lib/json-schema/tenant-runtime-config.schema.json +17 -30
  62. package/lib/json-schema/view-ontology-record.schema.json +1141 -145
  63. package/lib/runtime/artifact-session.d.ts +5 -10
  64. package/lib/runtime/artifact-session.d.ts.map +1 -1
  65. package/lib/runtime/artifact-session.js +91 -78
  66. package/lib/runtime/artifact-session.js.map +1 -1
  67. package/lib/runtime/native-page-composition.d.ts +5 -2
  68. package/lib/runtime/native-page-composition.d.ts.map +1 -1
  69. package/lib/runtime/runtime-definition-wire.d.ts +90 -78
  70. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  71. package/lib/runtime/unified-view-compiler.d.ts +12 -16
  72. package/lib/runtime/unified-view-compiler.d.ts.map +1 -1
  73. package/lib/runtime/unified-view-compiler.js +69 -77
  74. package/lib/runtime/unified-view-compiler.js.map +1 -1
  75. package/lib/schemas/index.d.ts +235 -242
  76. package/lib/schemas/index.d.ts.map +1 -1
  77. package/lib/schemas/index.js +32 -30
  78. package/lib/schemas/index.js.map +1 -1
  79. package/package.json +2 -2
  80. package/lib/esm/chunk-5IWBM5FS.mjs.map +0 -1
  81. package/lib/esm/chunk-POHBVHPL.mjs.map +0 -1
  82. package/lib/esm/chunk-QM3K7CWF.mjs.map +0 -1
  83. /package/lib/esm/{chunk-L7WP57HT.mjs.map → chunk-RWTW74VC.mjs.map} +0 -0
@@ -15,7 +15,7 @@ import {
15
15
  ManagedFileUriSchema,
16
16
  RevisionRefSchema,
17
17
  Sha256Schema
18
- } from "./chunk-5IWBM5FS.mjs";
18
+ } from "./chunk-EFVODA3P.mjs";
19
19
 
20
20
  // src/contracts/agent-data.ts
21
21
  import { z } from "zod";
@@ -688,4 +688,4 @@ export {
688
688
  PlatformNotificationSnapshotSchema,
689
689
  platformNotificationRoutes
690
690
  };
691
- //# sourceMappingURL=chunk-L7WP57HT.mjs.map
691
+ //# sourceMappingURL=chunk-RWTW74VC.mjs.map
@@ -18,6 +18,7 @@ import {
18
18
  ApplicationHandoffSchema,
19
19
  ApplicationRunSchema,
20
20
  ArtifactManifestSchema,
21
+ BentoNodeSchema,
21
22
  BodyRelationRecordSchema,
22
23
  BrandBodySchema,
23
24
  BrandGeneticsProfileSchema,
@@ -100,10 +101,11 @@ import {
100
101
  WorkflowCompletionReceiptSchema,
101
102
  WorkflowDefinitionSchema,
102
103
  WorkflowPublicationSchema
103
- } from "./chunk-5IWBM5FS.mjs";
104
+ } from "./chunk-EFVODA3P.mjs";
104
105
 
105
106
  // src/schemas/index.ts
106
107
  var canonicalContractSchemas = {
108
+ "bento-node": BentoNodeSchema,
107
109
  "view-ontology-record": ViewOntologyRecordSchema,
108
110
  "declarative-publication-verification-request": DeclarativePublicationVerificationRequestSchema,
109
111
  "declarative-publication-verification": DeclarativePublicationVerificationSchema,
@@ -210,4 +212,4 @@ var canonicalContractSchemas = {
210
212
  export {
211
213
  canonicalContractSchemas
212
214
  };
213
- //# sourceMappingURL=chunk-POHBVHPL.mjs.map
215
+ //# sourceMappingURL=chunk-UPCRRS4I.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 ArtifactCollabClientMessageSchema,\n ArtifactCollabRoomKeySchema,\n ArtifactCollabServerMessageSchema,\n ArtifactCrdtCodecSchema,\n ArtifactKindSchema,\n ArtifactPresenceCursorSchema,\n ArtifactPresenceStateSchema,\n ArtifactProfileSchema,\n ArtifactStorageModeSchema,\n ArtifactSubjectSchema,\n ArtifactViewSchema,\n} from \"../contracts/artifact-platform\";\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 DeclarativeShellWorkspaceModesSchema,\n WorkspaceInteractionModeSchema,\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 ProgramActionTriggerSchema,\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 RenderBentoSurfaceSchema,\n RenderDynamicLayoutSchema,\n RenderLifecycleSchema,\n RenderLayoutSchema,\n RenderNodeKindSchema,\n RenderNodeSchema,\n RenderNodeStateSchema,\n RenderResponsiveRuleSchema,\n RenderScrollSchema,\n RenderSkeletonKindSchema,\n RenderSkeletonSchema,\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 WorkflowBatchControlSchema,\n WorkflowChoicePresentationSchema,\n WorkflowDefinitionSchema,\n WorkflowEdgeSchema,\n WorkflowFieldGroupSchema,\n WorkflowNodeSchema,\n WorkflowOntologyOptionSourceSchema,\n WorkflowOutputArtifactModalitySchema,\n WorkflowOutputBindingSchema,\n WorkflowOutputFieldBindingSchema,\n WorkflowOutputRelationBindingSchema,\n WorkflowOutputStrategySchema,\n WorkflowParameterSchema,\n WorkflowParameterTypeSchema,\n WorkflowResultViewPresentationSchema,\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';\nimport {\n BentoChromeSchema,\n BentoGridRectSchema,\n BentoNodeSchema,\n BentoPlacementSchema,\n BentoSplitPlacementSchema,\n BentoTabPlacementSchema,\n BentoWiringRuleSchema,\n BlockDataSourceSchema,\n BlockSpecSchema,\n BlockTypeSchema,\n ViewDataDeclarationSchema,\n ViewSqlAggregateMetricSchema,\n ViewSqlCachePolicySchema,\n ViewSqlFromSourceSchema,\n ViewSqlGraphSpecSchema,\n ViewSqlOrderBySchema,\n ViewSqlSelectProjectionSchema,\n ViewSqlStatementSchema,\n ViewSqlWhereSchema,\n} from '../contracts/bento-block';\nimport {\n ViewCapabilitySchema,\n ViewOntologyRecordSchema,\n ViewShareLinkPolicySchema,\n ViewShareTargetGrantSchema,\n} from '../contracts/unified-view';\nexport {\n BentoChromeSchema,\n BentoGridRectSchema,\n BentoNodeSchema,\n BentoPlacementSchema,\n BentoSplitPlacementSchema,\n BentoTabPlacementSchema,\n BentoWiringRuleSchema,\n BlockDataSourceSchema,\n BlockSpecSchema,\n BlockTypeSchema,\n ViewDataDeclarationSchema,\n ViewSqlAggregateMetricSchema,\n ViewSqlCachePolicySchema,\n ViewSqlFromSourceSchema,\n ViewSqlGraphSpecSchema,\n ViewSqlOrderBySchema,\n ViewSqlSelectProjectionSchema,\n ViewSqlStatementSchema,\n ViewSqlWhereSchema,\n} from '../contracts/bento-block';\nexport {\n ViewCapabilitySchema,\n ViewOntologyRecordSchema,\n ViewShareLinkPolicySchema,\n ViewShareTargetGrantSchema,\n} from '../contracts/unified-view';\n\nexport const canonicalContractSchemas = {\n 'bento-node': BentoNodeSchema,\n 'view-ontology-record': ViewOntologyRecordSchema,\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAulBO,IAAM,2BAA2B;AAAA,EACtC,cAAc;AAAA,EACd,wBAAwB;AAAA,EACxB,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":[]}
@@ -87,7 +87,7 @@ import {
87
87
  TaskAgentSessionLinkSchema,
88
88
  pageStreamRoutes,
89
89
  platformNotificationRoutes
90
- } from "../chunk-L7WP57HT.mjs";
90
+ } from "../chunk-RWTW74VC.mjs";
91
91
  import {
92
92
  ACTION_PROGRAM_ABI,
93
93
  AGENT_MODE_CAPABILITIES,
@@ -183,8 +183,24 @@ import {
183
183
  ArtifactPresenceStateSchema,
184
184
  ArtifactProfileSchema,
185
185
  ArtifactStorageModeSchema,
186
+ ArtifactSubjectSchema,
187
+ ArtifactViewSchema,
186
188
  AuthorityScopeSchema,
189
+ BENTO_GRID_COLUMNS,
190
+ BENTO_GRID_MAX_ROWS,
191
+ BENTO_GRID_MIN_H,
192
+ BENTO_GRID_MIN_W,
193
+ BentoChromeSchema,
194
+ BentoGridRectSchema,
195
+ BentoNodeSchema,
196
+ BentoPlacementSchema,
197
+ BentoSplitPlacementSchema,
198
+ BentoTabPlacementSchema,
199
+ BentoWiringRuleSchema,
187
200
  BindingSourceSchema,
201
+ BlockDataSourceSchema,
202
+ BlockSpecSchema,
203
+ BlockTypeSchema,
188
204
  BodyRelationRecordSchema,
189
205
  BrandBodySchema,
190
206
  BrandGeneticsProfileSchema,
@@ -599,7 +615,6 @@ import {
599
615
  SensitiveResultPathSchema,
600
616
  SensitiveResultPathsSchema,
601
617
  Sha256Schema,
602
- ShellModeSchema,
603
618
  SourceRecordRefSchema,
604
619
  StableRefAliasMapSchema,
605
620
  StableRefAliasSchema,
@@ -654,22 +669,12 @@ import {
654
669
  VIEW_BOUND_ONTOLOGY_RELATION_KIND,
655
670
  VIEW_ONTOLOGY_ID,
656
671
  VIEW_SHARED_WITH_RELATION_KIND,
657
- ViewBentoCanvasSchema,
658
- ViewBentoItemSchema,
659
- ViewBentoTypeSchema,
660
- ViewBlockDataSourceSchema,
661
- ViewBlockSchema,
662
672
  ViewCapabilitySchema,
663
673
  ViewDataDeclarationSchema,
664
- ViewLayoutRegionSchema,
665
- ViewLayoutSchema,
666
674
  ViewOntologyRecordSchema,
667
675
  ViewProviderDescriptorSchema,
668
- ViewQuerySchema,
669
676
  ViewShareLinkPolicySchema,
670
677
  ViewShareTargetGrantSchema,
671
- ViewSortSchema,
672
- ViewSpecSchema,
673
678
  ViewSqlAggregateMetricSchema,
674
679
  ViewSqlCachePolicySchema,
675
680
  ViewSqlFromSourceSchema,
@@ -678,8 +683,6 @@ import {
678
683
  ViewSqlSelectProjectionSchema,
679
684
  ViewSqlStatementSchema,
680
685
  ViewSqlWhereSchema,
681
- ViewSubjectSchema,
682
- ViewWiringRuleSchema,
683
686
  WorkbenchAppInstanceSchema,
684
687
  WorkbenchGroupSchema,
685
688
  WorkbenchIdentitySchema,
@@ -725,6 +728,7 @@ import {
725
728
  assertPageValueBudget,
726
729
  canApplyAgentSessionRunStatus,
727
730
  canIssueAgentSessionCommand,
731
+ collectBentoLeafNodes,
728
732
  collectExternalPageExpressionReads,
729
733
  collectPageExpressionReads,
730
734
  declarativeControlRoutes,
@@ -732,6 +736,7 @@ import {
732
736
  getAgentModeCapabilities,
733
737
  getAgentSessionCommandPolicy,
734
738
  getAgentSessionRuntimeCapabilities,
739
+ getPrimaryBlockType,
735
740
  isAgentResourceModeCompatible,
736
741
  isAgentSessionTerminalStatus,
737
742
  normalizeAgentExecutionMode,
@@ -739,8 +744,9 @@ import {
739
744
  normalizeStudioAgentMode,
740
745
  resolveAgentSessionCommandTransition,
741
746
  resolveAgentWorkbenchSidebarConfig,
747
+ validateBentoTree,
742
748
  visitPageExpression
743
- } from "../chunk-5IWBM5FS.mjs";
749
+ } from "../chunk-EFVODA3P.mjs";
744
750
  import "../chunk-3QS3WKRC.mjs";
745
751
  export {
746
752
  ACTION_PROGRAM_ABI,
@@ -875,8 +881,24 @@ export {
875
881
  ArtifactPresenceStateSchema,
876
882
  ArtifactProfileSchema,
877
883
  ArtifactStorageModeSchema,
884
+ ArtifactSubjectSchema,
885
+ ArtifactViewSchema,
878
886
  AuthorityScopeSchema,
887
+ BENTO_GRID_COLUMNS,
888
+ BENTO_GRID_MAX_ROWS,
889
+ BENTO_GRID_MIN_H,
890
+ BENTO_GRID_MIN_W,
891
+ BentoChromeSchema,
892
+ BentoGridRectSchema,
893
+ BentoNodeSchema,
894
+ BentoPlacementSchema,
895
+ BentoSplitPlacementSchema,
896
+ BentoTabPlacementSchema,
897
+ BentoWiringRuleSchema,
879
898
  BindingSourceSchema,
899
+ BlockDataSourceSchema,
900
+ BlockSpecSchema,
901
+ BlockTypeSchema,
880
902
  BodyRelationRecordSchema,
881
903
  BrandBodySchema,
882
904
  BrandGeneticsProfileSchema,
@@ -1338,7 +1360,6 @@ export {
1338
1360
  SensitiveResultPathSchema,
1339
1361
  SensitiveResultPathsSchema,
1340
1362
  Sha256Schema,
1341
- ShellModeSchema,
1342
1363
  SourceRecordRefSchema,
1343
1364
  StableRefAliasMapSchema,
1344
1365
  StableRefAliasSchema,
@@ -1394,22 +1415,12 @@ export {
1394
1415
  VIEW_BOUND_ONTOLOGY_RELATION_KIND,
1395
1416
  VIEW_ONTOLOGY_ID,
1396
1417
  VIEW_SHARED_WITH_RELATION_KIND,
1397
- ViewBentoCanvasSchema,
1398
- ViewBentoItemSchema,
1399
- ViewBentoTypeSchema,
1400
- ViewBlockDataSourceSchema,
1401
- ViewBlockSchema,
1402
1418
  ViewCapabilitySchema,
1403
1419
  ViewDataDeclarationSchema,
1404
- ViewLayoutRegionSchema,
1405
- ViewLayoutSchema,
1406
1420
  ViewOntologyRecordSchema,
1407
1421
  ViewProviderDescriptorSchema,
1408
- ViewQuerySchema,
1409
1422
  ViewShareLinkPolicySchema,
1410
1423
  ViewShareTargetGrantSchema,
1411
- ViewSortSchema,
1412
- ViewSpecSchema,
1413
1424
  ViewSqlAggregateMetricSchema,
1414
1425
  ViewSqlCachePolicySchema,
1415
1426
  ViewSqlFromSourceSchema,
@@ -1418,8 +1429,6 @@ export {
1418
1429
  ViewSqlSelectProjectionSchema,
1419
1430
  ViewSqlStatementSchema,
1420
1431
  ViewSqlWhereSchema,
1421
- ViewSubjectSchema,
1422
- ViewWiringRuleSchema,
1423
1432
  WorkbenchAppInstanceSchema,
1424
1433
  WorkbenchGroupSchema,
1425
1434
  WorkbenchIdentitySchema,
@@ -1465,6 +1474,7 @@ export {
1465
1474
  assertPageValueBudget,
1466
1475
  canApplyAgentSessionRunStatus,
1467
1476
  canIssueAgentSessionCommand,
1477
+ collectBentoLeafNodes,
1468
1478
  collectExternalPageExpressionReads,
1469
1479
  collectPageExpressionReads,
1470
1480
  declarativeControlRoutes,
@@ -1472,6 +1482,7 @@ export {
1472
1482
  getAgentModeCapabilities,
1473
1483
  getAgentSessionCommandPolicy,
1474
1484
  getAgentSessionRuntimeCapabilities,
1485
+ getPrimaryBlockType,
1475
1486
  isAgentResourceModeCompatible,
1476
1487
  isAgentSessionTerminalStatus,
1477
1488
  normalizeAgentExecutionMode,
@@ -1481,6 +1492,7 @@ export {
1481
1492
  platformNotificationRoutes,
1482
1493
  resolveAgentSessionCommandTransition,
1483
1494
  resolveAgentWorkbenchSidebarConfig,
1495
+ validateBentoTree,
1484
1496
  visitPageExpression
1485
1497
  };
1486
1498
  //# sourceMappingURL=index.mjs.map
package/lib/esm/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  canonicalContractSchemas
3
- } from "./chunk-POHBVHPL.mjs";
3
+ } from "./chunk-UPCRRS4I.mjs";
4
4
  import {
5
5
  APPLICATION_HANDOFF_QUERY_PARAMETER,
6
6
  DEFAULT_CONDUCTOR_OWNER_EMAIL,
@@ -34,6 +34,7 @@ import {
34
34
  captureRecordEditorSubmission,
35
35
  collectManagedFileReferences,
36
36
  collectMaterializedModelPages,
37
+ compileBentoTreeToRenderTree,
37
38
  compileCapabilityRegistry,
38
39
  compileComponentAssemblyValidator,
39
40
  compileConductorWorkflowDefinition,
@@ -61,7 +62,6 @@ import {
61
62
  compileToolCapabilityManifest,
62
63
  compileViewProviderInput,
63
64
  compileViewProviderRegistry,
64
- compileViewSpecToRenderTree,
65
65
  compileWorkbenchRuntimeBundle,
66
66
  compileWorkflowDefinitionFromConductor,
67
67
  compileWorkflowPersistenceProjection,
@@ -75,7 +75,7 @@ import {
75
75
  createPageStreamState,
76
76
  createRecordEditorDraft,
77
77
  createSelectionShareViewRecord,
78
- createSingleBentoViewRecord,
78
+ createSingleBlockViewRecord,
79
79
  createToolCapabilityManifest,
80
80
  createWorkflowCapabilityManifest,
81
81
  createWorkflowViewRecord,
@@ -136,7 +136,6 @@ import {
136
136
  resolvePageInputBindings,
137
137
  resolvePageMountInputs,
138
138
  resolvePageRootParameters,
139
- resolveViewHostShell,
140
139
  resolveWorkbenchEntry,
141
140
  resolveWorkflowColumnResult,
142
141
  revisionRefKey,
@@ -152,7 +151,7 @@ import {
152
151
  validateDomainCommand,
153
152
  validateWorkbenchRuntimeSet,
154
153
  writePageDraftPath
155
- } from "./chunk-QM3K7CWF.mjs";
154
+ } from "./chunk-MAZ3HUFS.mjs";
156
155
  import {
157
156
  AGENT_DATA_CONTEXT_ENV,
158
157
  AGENT_DATA_CONTEXT_FILE_ENV,
@@ -242,7 +241,7 @@ import {
242
241
  TaskAgentSessionLinkSchema,
243
242
  pageStreamRoutes,
244
243
  platformNotificationRoutes
245
- } from "./chunk-L7WP57HT.mjs";
244
+ } from "./chunk-RWTW74VC.mjs";
246
245
  import {
247
246
  ACTION_PROGRAM_ABI,
248
247
  AGENT_MODE_CAPABILITIES,
@@ -338,8 +337,24 @@ import {
338
337
  ArtifactPresenceStateSchema,
339
338
  ArtifactProfileSchema,
340
339
  ArtifactStorageModeSchema,
340
+ ArtifactSubjectSchema,
341
+ ArtifactViewSchema,
341
342
  AuthorityScopeSchema,
343
+ BENTO_GRID_COLUMNS,
344
+ BENTO_GRID_MAX_ROWS,
345
+ BENTO_GRID_MIN_H,
346
+ BENTO_GRID_MIN_W,
347
+ BentoChromeSchema,
348
+ BentoGridRectSchema,
349
+ BentoNodeSchema,
350
+ BentoPlacementSchema,
351
+ BentoSplitPlacementSchema,
352
+ BentoTabPlacementSchema,
353
+ BentoWiringRuleSchema,
342
354
  BindingSourceSchema,
355
+ BlockDataSourceSchema,
356
+ BlockSpecSchema,
357
+ BlockTypeSchema,
343
358
  BodyRelationRecordSchema,
344
359
  BrandBodySchema,
345
360
  BrandGeneticsProfileSchema,
@@ -755,7 +770,6 @@ import {
755
770
  SensitiveResultPathSchema,
756
771
  SensitiveResultPathsSchema,
757
772
  Sha256Schema,
758
- ShellModeSchema,
759
773
  SourceRecordRefSchema,
760
774
  StableRefAliasMapSchema,
761
775
  StableRefAliasSchema,
@@ -811,22 +825,12 @@ import {
811
825
  VIEW_BOUND_ONTOLOGY_RELATION_KIND,
812
826
  VIEW_ONTOLOGY_ID,
813
827
  VIEW_SHARED_WITH_RELATION_KIND,
814
- ViewBentoCanvasSchema,
815
- ViewBentoItemSchema,
816
- ViewBentoTypeSchema,
817
- ViewBlockDataSourceSchema,
818
- ViewBlockSchema,
819
828
  ViewCapabilitySchema,
820
829
  ViewDataDeclarationSchema,
821
- ViewLayoutRegionSchema,
822
- ViewLayoutSchema,
823
830
  ViewOntologyRecordSchema,
824
831
  ViewProviderDescriptorSchema,
825
- ViewQuerySchema,
826
832
  ViewShareLinkPolicySchema,
827
833
  ViewShareTargetGrantSchema,
828
- ViewSortSchema,
829
- ViewSpecSchema,
830
834
  ViewSqlAggregateMetricSchema,
831
835
  ViewSqlCachePolicySchema,
832
836
  ViewSqlFromSourceSchema,
@@ -835,8 +839,6 @@ import {
835
839
  ViewSqlSelectProjectionSchema,
836
840
  ViewSqlStatementSchema,
837
841
  ViewSqlWhereSchema,
838
- ViewSubjectSchema,
839
- ViewWiringRuleSchema,
840
842
  WorkbenchAppInstanceSchema,
841
843
  WorkbenchGroupSchema,
842
844
  WorkbenchIdentitySchema,
@@ -884,6 +886,7 @@ import {
884
886
  assertThemeTokensDocumentStructure,
885
887
  canApplyAgentSessionRunStatus,
886
888
  canIssueAgentSessionCommand,
889
+ collectBentoLeafNodes,
887
890
  collectExternalPageExpressionReads,
888
891
  collectPageExpressionReads,
889
892
  declarativeControlRoutes,
@@ -891,6 +894,7 @@ import {
891
894
  getAgentModeCapabilities,
892
895
  getAgentSessionCommandPolicy,
893
896
  getAgentSessionRuntimeCapabilities,
897
+ getPrimaryBlockType,
894
898
  isAgentResourceModeCompatible,
895
899
  isAgentSessionTerminalStatus,
896
900
  mergeThemeTokenDocuments,
@@ -900,10 +904,11 @@ import {
900
904
  resolveAgentSessionCommandTransition,
901
905
  resolveAgentWorkbenchSidebarConfig,
902
906
  resolveThemeTokens,
907
+ validateBentoTree,
903
908
  validateThemeTokensDocument,
904
909
  validateThemeTokensDocumentStructure,
905
910
  visitPageExpression
906
- } from "./chunk-5IWBM5FS.mjs";
911
+ } from "./chunk-EFVODA3P.mjs";
907
912
  import "./chunk-3QS3WKRC.mjs";
908
913
 
909
914
  // src/types/tool.ts
@@ -1076,8 +1081,24 @@ export {
1076
1081
  ArtifactPresenceStateSchema,
1077
1082
  ArtifactProfileSchema,
1078
1083
  ArtifactStorageModeSchema,
1084
+ ArtifactSubjectSchema,
1085
+ ArtifactViewSchema,
1079
1086
  AuthorityScopeSchema,
1087
+ BENTO_GRID_COLUMNS,
1088
+ BENTO_GRID_MAX_ROWS,
1089
+ BENTO_GRID_MIN_H,
1090
+ BENTO_GRID_MIN_W,
1091
+ BentoChromeSchema,
1092
+ BentoGridRectSchema,
1093
+ BentoNodeSchema,
1094
+ BentoPlacementSchema,
1095
+ BentoSplitPlacementSchema,
1096
+ BentoTabPlacementSchema,
1097
+ BentoWiringRuleSchema,
1080
1098
  BindingSourceSchema,
1099
+ BlockDataSourceSchema,
1100
+ BlockSpecSchema,
1101
+ BlockTypeSchema,
1081
1102
  BodyRelationRecordSchema,
1082
1103
  BrandBodySchema,
1083
1104
  BrandGeneticsProfileSchema,
@@ -1550,7 +1571,6 @@ export {
1550
1571
  SensitiveResultPathSchema,
1551
1572
  SensitiveResultPathsSchema,
1552
1573
  Sha256Schema,
1553
- ShellModeSchema,
1554
1574
  SourceRecordRefSchema,
1555
1575
  StableRefAliasMapSchema,
1556
1576
  StableRefAliasSchema,
@@ -1611,22 +1631,12 @@ export {
1611
1631
  VIEW_SHARED_WITH_RELATION_KIND,
1612
1632
  ValidationIssueType,
1613
1633
  ValidationReasonType,
1614
- ViewBentoCanvasSchema,
1615
- ViewBentoItemSchema,
1616
- ViewBentoTypeSchema,
1617
- ViewBlockDataSourceSchema,
1618
- ViewBlockSchema,
1619
1634
  ViewCapabilitySchema,
1620
1635
  ViewDataDeclarationSchema,
1621
- ViewLayoutRegionSchema,
1622
- ViewLayoutSchema,
1623
1636
  ViewOntologyRecordSchema,
1624
1637
  ViewProviderDescriptorSchema,
1625
- ViewQuerySchema,
1626
1638
  ViewShareLinkPolicySchema,
1627
1639
  ViewShareTargetGrantSchema,
1628
- ViewSortSchema,
1629
- ViewSpecSchema,
1630
1640
  ViewSqlAggregateMetricSchema,
1631
1641
  ViewSqlCachePolicySchema,
1632
1642
  ViewSqlFromSourceSchema,
@@ -1635,8 +1645,6 @@ export {
1635
1645
  ViewSqlSelectProjectionSchema,
1636
1646
  ViewSqlStatementSchema,
1637
1647
  ViewSqlWhereSchema,
1638
- ViewSubjectSchema,
1639
- ViewWiringRuleSchema,
1640
1648
  WorkbenchAppInstanceSchema,
1641
1649
  WorkbenchGroupSchema,
1642
1650
  WorkbenchIdentitySchema,
@@ -1705,10 +1713,12 @@ export {
1705
1713
  canonicalContentHash,
1706
1714
  canonicalContractSchemas,
1707
1715
  captureRecordEditorSubmission,
1716
+ collectBentoLeafNodes,
1708
1717
  collectExternalPageExpressionReads,
1709
1718
  collectManagedFileReferences,
1710
1719
  collectMaterializedModelPages,
1711
1720
  collectPageExpressionReads,
1721
+ compileBentoTreeToRenderTree,
1712
1722
  compileCapabilityRegistry,
1713
1723
  compileComponentAssemblyValidator,
1714
1724
  compileConductorWorkflowDefinition,
@@ -1736,7 +1746,6 @@ export {
1736
1746
  compileToolCapabilityManifest,
1737
1747
  compileViewProviderInput,
1738
1748
  compileViewProviderRegistry,
1739
- compileViewSpecToRenderTree,
1740
1749
  compileWorkbenchRuntimeBundle,
1741
1750
  compileWorkflowDefinitionFromConductor,
1742
1751
  compileWorkflowPersistenceProjection,
@@ -1750,7 +1759,7 @@ export {
1750
1759
  createPageStreamState,
1751
1760
  createRecordEditorDraft,
1752
1761
  createSelectionShareViewRecord,
1753
- createSingleBentoViewRecord,
1762
+ createSingleBlockViewRecord,
1754
1763
  createToolCapabilityManifest,
1755
1764
  createWorkflowCapabilityManifest,
1756
1765
  createWorkflowViewRecord,
@@ -1775,6 +1784,7 @@ export {
1775
1784
  getAgentModeCapabilities,
1776
1785
  getAgentSessionCommandPolicy,
1777
1786
  getAgentSessionRuntimeCapabilities,
1787
+ getPrimaryBlockType,
1778
1788
  isAgentResourceModeCompatible,
1779
1789
  isAgentSessionTerminalStatus,
1780
1790
  isCompiledMenuItemSelected,
@@ -1827,7 +1837,6 @@ export {
1827
1837
  resolvePageMountInputs,
1828
1838
  resolvePageRootParameters,
1829
1839
  resolveThemeTokens,
1830
- resolveViewHostShell,
1831
1840
  resolveWorkbenchEntry,
1832
1841
  resolveWorkflowColumnResult,
1833
1842
  revisionRefKey,
@@ -1840,6 +1849,7 @@ export {
1840
1849
  stableRefKey,
1841
1850
  supportsCapabilityInputSchema,
1842
1851
  toAgentSessionViewModel,
1852
+ validateBentoTree,
1843
1853
  validateDomainCommand,
1844
1854
  validateThemeTokensDocument,
1845
1855
  validateThemeTokensDocumentStructure,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/types/tool.ts","../../src/types/workflow.ts"],"sourcesContent":["import { I18nValue } from \"./i18n\";\n\nexport type IJSONValue = string | number | boolean | IJSONObject | IJSONArray;\nexport type IJSONArray = Array<IJSONValue>;\nexport interface IJSONObject {\n [x: string]: IJSONValue;\n}\n\nexport type ToolPropertyTypes =\n | \"string\"\n | \"file\"\n | \"number\"\n | \"boolean\"\n | \"options\"\n | \"json\"\n | \"notice\"\n | \"canvas-assist\";\n\nexport const CODE_LANGUAGES = [\"javaScript\", \"json\", \"python\", \"sql\"] as const;\n\nexport type EditorType =\n | \"code\"\n | \"codeNodeEditor\"\n | \"htmlEditor\"\n | \"sqlEditor\"\n | \"json\";\nexport type CodeNodeEditorLanguage = (typeof CODE_LANGUAGES)[number];\n\nexport interface ToolPropertyTypeOptions {\n editor?: EditorType; // Supported by: string\n editorLanguage?: CodeNodeEditorLanguage; // Supported by: string in combination with editor: codeNodeEditor\n maxValue?: number; // Supported by: number\n minValue?: number; // Supported by: number\n multipleValues?: boolean; // Supported by: <All>\n multipleValueButtonText?: string; // Supported when \"multipleValues\" set to true\n numberPrecision?: number; // Supported by: number\n password?: boolean; // Supported by: string\n rows?: number; // Supported by: string\n assetType?: AssetType;\n accept?: string;\n max?: number;\n\n [key: string]: any;\n}\n\nexport type ToolPropertyParameterValue =\n | string\n | number\n | boolean\n | undefined\n | null;\n\nexport type ResourceLocatorModes = \"id\" | \"url\" | \"list\" | string;\nexport interface IResourceLocatorResult {\n name: string;\n value: string;\n url?: string;\n}\n\nexport interface ToolParameter {\n [key: string]: ToolParameterValueType;\n}\nexport type ToolParameterValueType =\n // TODO: Later also has to be possible to add multiple ones with the name name. So array has to be possible\n | ToolPropertyParameterValue\n | ToolParameter\n | ToolPropertyParameterValue[]\n | ToolParameter[];\n\nexport interface ToolPropertyDisplayOptions {\n hide?: {\n [key: string]: ToolPropertyParameterValue[] | undefined;\n };\n show?: {\n [key: string]: ToolPropertyParameterValue[] | undefined;\n };\n}\n\nexport interface ToolPropertyOptions {\n name: string | I18nValue;\n value: string | number | boolean;\n action?: string;\n description?: string | I18nValue;\n}\n\nexport interface ToolPropertyCollection {\n displayName: string;\n name: string;\n values: ToolProperty[];\n}\n\nexport interface ToolPropertyValueExtractorBase {\n type: string;\n}\n\nexport interface ToolPropertyValueExtractorRegex {\n type: \"regex\";\n regex: string | RegExp;\n}\n\nexport type AssetType =\n | \"llm-model\"\n | \"sd-model\"\n | \"workflow\"\n | \"workflow-association\"\n | \"design-project\"\n | \"design-association\"\n | \"design-board\"\n | \"workflow-view\"\n | \"media-file\"\n | \"sql-knowledge-base-table\"\n | \"sql-knowledge-base\"\n | \"knowledge-base\"\n | \"canvas\"\n | \"workflow-template\"\n | \"fork-join-branch\"\n | \"workflow-version\"\n | \"tools\"\n | \"comfyui-server\"\n | \"comfyui-workflow\"\n | \"comfyui-model-type\"\n | \"comfyui-model\"\n | \"llm-channel\"\n | \"conversation-app\"\n | \"oneapi-model\"\n | \"leaderboard\"\n | \"model-training\";\n\nexport interface ToolProperty {\n displayName: string | I18nValue;\n name: string;\n type: ToolPropertyTypes;\n typeOptions?: ToolPropertyTypeOptions;\n default?: ToolParameterValueType;\n description?: string | I18nValue;\n hint?: string;\n displayOptions?: ToolPropertyDisplayOptions;\n options?: Array<ToolPropertyOptions | ToolProperty | ToolPropertyCollection>;\n placeholder?: string | I18nValue;\n isNodeSetting?: boolean;\n noDataExpression?: boolean;\n required?: boolean;\n example?: string;\n extractValue?: ToolPropertyValueExtractorRegex;\n properties?: ToolProperty[];\n assetType?: AssetType;\n flag?: boolean;\n}\n\nexport type ToolCategory =\n | \"image\" // 图像处理\n | \"text\" // 文本处理\n | \"file\" // 文件处理\n | \"gen-image\" // 图像生成\n | \"gen-text\" // 文本生成\n | \"train-model\" // 模型训练\n | \"process\" // 流程控制\n | \"auto\" // 自动化\n | \"bio\" // 生命科学\n | \"human\" // 用户交互\n | \"query\" // 搜索增强\n | \"db\" // 数据存储\n | \"extra\"; // 扩展能力\n\nexport enum ToolType {\n SIMPLE = \"SIMPLE\",\n FORK_JOIN = \"FORK_JOIN\",\n JOIN = \"JOIN\",\n DO_WHILE = \"DO_WHILE\",\n SWITCH = \"SWITCH\",\n DYNAMIC = \"DYNAMIC\",\n FORK_JOIN_DYNAMIC = \"FORK_JOIN_DYNAMIC\",\n TERMINATE = \"TERMINATE\",\n HUMAN = \"HUMAN\",\n SUB_WORKFLOW = \"SUB_WORKFLOW\",\n INLINE = \"INLINE\",\n SET_VARIABLE = \"SET_VARIABLE\",\n}\n\nexport interface ToolRuleItem {\n type: string;\n [x: string]: any;\n}\n\nexport interface ToolExtraInfo {\n [x: string]: any;\n}\n\nexport interface ToolCredentialItem {\n name: string;\n required: boolean;\n}\n\nexport interface ToolDef {\n type: ToolType;\n name: string;\n displayName: string | I18nValue;\n description?: string | I18nValue;\n icon?: string;\n input: ToolProperty[];\n output: ToolProperty[];\n categories?: ToolCategory[];\n rules?: ToolRuleItem[];\n extra?: ToolExtraInfo;\n credentials?: ToolCredentialItem[];\n}\n","export enum ValidationIssueType {\n ERROR = 'ERROR',\n WANTING = 'WANTING',\n}\n\nexport enum ValidationReasonType {\n VALUE_REQUIRED = 'VALUE_REQUIRED',\n VALUE_TYPE_NOT_MATCH = 'VALUE_TYPE_NOT_MATCH',\n DO_WHILE_EMPTY_LOOP_OVER = 'DO_WHILE_EMPTY_LOOP_OVER',\n}\n\nexport interface ValidationIssueReason {\n type: ValidationReasonType;\n name: string;\n}\n\nexport interface WorkflowValidationIssue {\n taskReferenceName: string;\n issueType: ValidationIssueType;\n detailReason: ValidationIssueReason;\n humanMessage: {\n en: string;\n zh: string;\n };\n}\n\nexport interface WorkflowTriggerConfig {\n triggerType: WorkflowTriggerType;\n cron?: string;\n}\n\nexport enum WorkflowTriggerType {\n MANUALLY = 'MANUAL',\n SCHEDULER = 'SCHEDULER',\n WEBHOOK = 'WEBHOOK',\n}\n \n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBO,IAAM,iBAAiB,CAAC,cAAc,QAAQ,UAAU,KAAK;AAkJ7D,IAAK,WAAL,kBAAKA,cAAL;AACL,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,eAAY;AACZ,EAAAA,UAAA,UAAO;AACP,EAAAA,UAAA,cAAW;AACX,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,aAAU;AACV,EAAAA,UAAA,uBAAoB;AACpB,EAAAA,UAAA,eAAY;AACZ,EAAAA,UAAA,WAAQ;AACR,EAAAA,UAAA,kBAAe;AACf,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,kBAAe;AAZL,SAAAA;AAAA,GAAA;;;ACpKL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,WAAQ;AACR,EAAAA,qBAAA,aAAU;AAFA,SAAAA;AAAA,GAAA;AAKL,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,oBAAiB;AACjB,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,8BAA2B;AAHjB,SAAAA;AAAA,GAAA;AA0BL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,cAAW;AACX,EAAAA,qBAAA,eAAY;AACZ,EAAAA,qBAAA,aAAU;AAHA,SAAAA;AAAA,GAAA;","names":["ToolType","ValidationIssueType","ValidationReasonType","WorkflowTriggerType"]}
1
+ {"version":3,"sources":["../../src/types/tool.ts","../../src/types/workflow.ts"],"sourcesContent":["import { I18nValue } from \"./i18n\";\n\nexport type IJSONValue = string | number | boolean | IJSONObject | IJSONArray;\nexport type IJSONArray = Array<IJSONValue>;\nexport interface IJSONObject {\n [x: string]: IJSONValue;\n}\n\nexport type ToolPropertyTypes =\n | \"string\"\n | \"file\"\n | \"number\"\n | \"boolean\"\n | \"options\"\n | \"json\"\n | \"notice\"\n | \"canvas-assist\";\n\nexport const CODE_LANGUAGES = [\"javaScript\", \"json\", \"python\", \"sql\"] as const;\n\nexport type EditorType =\n | \"code\"\n | \"codeNodeEditor\"\n | \"htmlEditor\"\n | \"sqlEditor\"\n | \"json\";\nexport type CodeNodeEditorLanguage = (typeof CODE_LANGUAGES)[number];\n\nexport interface ToolPropertyTypeOptions {\n editor?: EditorType; // Supported by: string\n editorLanguage?: CodeNodeEditorLanguage; // Supported by: string in combination with editor: codeNodeEditor\n maxValue?: number; // Supported by: number\n minValue?: number; // Supported by: number\n multipleValues?: boolean; // Supported by: <All>\n multipleValueButtonText?: string; // Supported when \"multipleValues\" set to true\n numberPrecision?: number; // Supported by: number\n password?: boolean; // Supported by: string\n rows?: number; // Supported by: string\n assetType?: AssetType;\n accept?: string;\n max?: number;\n\n [key: string]: any;\n}\n\nexport type ToolPropertyParameterValue =\n | string\n | number\n | boolean\n | undefined\n | null;\n\nexport type ResourceLocatorModes = \"id\" | \"url\" | \"list\" | string;\nexport interface IResourceLocatorResult {\n name: string;\n value: string;\n url?: string;\n}\n\nexport interface ToolParameter {\n [key: string]: ToolParameterValueType;\n}\nexport type ToolParameterValueType =\n // TODO: Later also has to be possible to add multiple ones with the name name. So array has to be possible\n | ToolPropertyParameterValue\n | ToolParameter\n | ToolPropertyParameterValue[]\n | ToolParameter[];\n\nexport interface ToolPropertyDisplayOptions {\n hide?: {\n [key: string]: ToolPropertyParameterValue[] | undefined;\n };\n show?: {\n [key: string]: ToolPropertyParameterValue[] | undefined;\n };\n}\n\nexport interface ToolPropertyOptions {\n name: string | I18nValue;\n value: string | number | boolean;\n action?: string;\n description?: string | I18nValue;\n}\n\nexport interface ToolPropertyCollection {\n displayName: string;\n name: string;\n values: ToolProperty[];\n}\n\nexport interface ToolPropertyValueExtractorBase {\n type: string;\n}\n\nexport interface ToolPropertyValueExtractorRegex {\n type: \"regex\";\n regex: string | RegExp;\n}\n\nexport type AssetType =\n | \"llm-model\"\n | \"sd-model\"\n | \"workflow\"\n | \"workflow-association\"\n | \"design-project\"\n | \"design-association\"\n | \"design-board\"\n | \"workflow-view\"\n | \"media-file\"\n | \"sql-knowledge-base-table\"\n | \"sql-knowledge-base\"\n | \"knowledge-base\"\n | \"canvas\"\n | \"workflow-template\"\n | \"fork-join-branch\"\n | \"workflow-version\"\n | \"tools\"\n | \"comfyui-server\"\n | \"comfyui-workflow\"\n | \"comfyui-model-type\"\n | \"comfyui-model\"\n | \"llm-channel\"\n | \"conversation-app\"\n | \"oneapi-model\"\n | \"leaderboard\"\n | \"model-training\";\n\nexport interface ToolProperty {\n displayName: string | I18nValue;\n name: string;\n type: ToolPropertyTypes;\n typeOptions?: ToolPropertyTypeOptions;\n default?: ToolParameterValueType;\n description?: string | I18nValue;\n hint?: string;\n displayOptions?: ToolPropertyDisplayOptions;\n options?: Array<ToolPropertyOptions | ToolProperty | ToolPropertyCollection>;\n placeholder?: string | I18nValue;\n isNodeSetting?: boolean;\n noDataExpression?: boolean;\n required?: boolean;\n example?: string;\n extractValue?: ToolPropertyValueExtractorRegex;\n properties?: ToolProperty[];\n assetType?: AssetType;\n flag?: boolean;\n}\n\nexport type ToolCategory =\n | \"image\" // 图像处理\n | \"text\" // 文本处理\n | \"file\" // 文件处理\n | \"gen-image\" // 图像生成\n | \"gen-text\" // 文本生成\n | \"train-model\" // 模型训练\n | \"process\" // 流程控制\n | \"auto\" // 自动化\n | \"bio\" // 生命科学\n | \"human\" // 用户交互\n | \"query\" // 搜索增强\n | \"db\" // 数据存储\n | \"extra\"; // 扩展能力\n\nexport enum ToolType {\n SIMPLE = \"SIMPLE\",\n FORK_JOIN = \"FORK_JOIN\",\n JOIN = \"JOIN\",\n DO_WHILE = \"DO_WHILE\",\n SWITCH = \"SWITCH\",\n DYNAMIC = \"DYNAMIC\",\n FORK_JOIN_DYNAMIC = \"FORK_JOIN_DYNAMIC\",\n TERMINATE = \"TERMINATE\",\n HUMAN = \"HUMAN\",\n SUB_WORKFLOW = \"SUB_WORKFLOW\",\n INLINE = \"INLINE\",\n SET_VARIABLE = \"SET_VARIABLE\",\n}\n\nexport interface ToolRuleItem {\n type: string;\n [x: string]: any;\n}\n\nexport interface ToolExtraInfo {\n [x: string]: any;\n}\n\nexport interface ToolCredentialItem {\n name: string;\n required: boolean;\n}\n\nexport interface ToolDef {\n type: ToolType;\n name: string;\n displayName: string | I18nValue;\n description?: string | I18nValue;\n icon?: string;\n input: ToolProperty[];\n output: ToolProperty[];\n categories?: ToolCategory[];\n rules?: ToolRuleItem[];\n extra?: ToolExtraInfo;\n credentials?: ToolCredentialItem[];\n}\n","export enum ValidationIssueType {\n ERROR = 'ERROR',\n WANTING = 'WANTING',\n}\n\nexport enum ValidationReasonType {\n VALUE_REQUIRED = 'VALUE_REQUIRED',\n VALUE_TYPE_NOT_MATCH = 'VALUE_TYPE_NOT_MATCH',\n DO_WHILE_EMPTY_LOOP_OVER = 'DO_WHILE_EMPTY_LOOP_OVER',\n}\n\nexport interface ValidationIssueReason {\n type: ValidationReasonType;\n name: string;\n}\n\nexport interface WorkflowValidationIssue {\n taskReferenceName: string;\n issueType: ValidationIssueType;\n detailReason: ValidationIssueReason;\n humanMessage: {\n en: string;\n zh: string;\n };\n}\n\nexport interface WorkflowTriggerConfig {\n triggerType: WorkflowTriggerType;\n cron?: string;\n}\n\nexport enum WorkflowTriggerType {\n MANUALLY = 'MANUAL',\n SCHEDULER = 'SCHEDULER',\n WEBHOOK = 'WEBHOOK',\n}\n \n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBO,IAAM,iBAAiB,CAAC,cAAc,QAAQ,UAAU,KAAK;AAkJ7D,IAAK,WAAL,kBAAKA,cAAL;AACL,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,eAAY;AACZ,EAAAA,UAAA,UAAO;AACP,EAAAA,UAAA,cAAW;AACX,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,aAAU;AACV,EAAAA,UAAA,uBAAoB;AACpB,EAAAA,UAAA,eAAY;AACZ,EAAAA,UAAA,WAAQ;AACR,EAAAA,UAAA,kBAAe;AACf,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,kBAAe;AAZL,SAAAA;AAAA,GAAA;;;ACpKL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,WAAQ;AACR,EAAAA,qBAAA,aAAU;AAFA,SAAAA;AAAA,GAAA;AAKL,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,oBAAiB;AACjB,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,8BAA2B;AAHjB,SAAAA;AAAA,GAAA;AA0BL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,cAAW;AACX,EAAAA,qBAAA,eAAY;AACZ,EAAAA,qBAAA,aAAU;AAHA,SAAAA;AAAA,GAAA;","names":["ToolType","ValidationIssueType","ValidationReasonType","WorkflowTriggerType"]}
@@ -31,6 +31,7 @@ import {
31
31
  captureRecordEditorSubmission,
32
32
  collectManagedFileReferences,
33
33
  collectMaterializedModelPages,
34
+ compileBentoTreeToRenderTree,
34
35
  compileCapabilityRegistry,
35
36
  compileComponentAssemblyValidator,
36
37
  compileConductorWorkflowDefinition,
@@ -58,7 +59,6 @@ import {
58
59
  compileToolCapabilityManifest,
59
60
  compileViewProviderInput,
60
61
  compileViewProviderRegistry,
61
- compileViewSpecToRenderTree,
62
62
  compileWorkbenchRuntimeBundle,
63
63
  compileWorkflowDefinitionFromConductor,
64
64
  compileWorkflowPersistenceProjection,
@@ -72,7 +72,7 @@ import {
72
72
  createPageStreamState,
73
73
  createRecordEditorDraft,
74
74
  createSelectionShareViewRecord,
75
- createSingleBentoViewRecord,
75
+ createSingleBlockViewRecord,
76
76
  createToolCapabilityManifest,
77
77
  createWorkflowCapabilityManifest,
78
78
  createWorkflowViewRecord,
@@ -133,7 +133,6 @@ import {
133
133
  resolvePageInputBindings,
134
134
  resolvePageMountInputs,
135
135
  resolvePageRootParameters,
136
- resolveViewHostShell,
137
136
  resolveWorkbenchEntry,
138
137
  resolveWorkflowColumnResult,
139
138
  revisionRefKey,
@@ -149,8 +148,8 @@ import {
149
148
  validateDomainCommand,
150
149
  validateWorkbenchRuntimeSet,
151
150
  writePageDraftPath
152
- } from "../chunk-QM3K7CWF.mjs";
153
- import "../chunk-L7WP57HT.mjs";
151
+ } from "../chunk-MAZ3HUFS.mjs";
152
+ import "../chunk-RWTW74VC.mjs";
154
153
  import {
155
154
  MONKEYS_REQUIRED_THEME_TOKEN_PATHS,
156
155
  ThemeTokenValidationError,
@@ -160,7 +159,7 @@ import {
160
159
  resolveThemeTokens,
161
160
  validateThemeTokensDocument,
162
161
  validateThemeTokensDocumentStructure
163
- } from "../chunk-5IWBM5FS.mjs";
162
+ } from "../chunk-EFVODA3P.mjs";
164
163
  import "../chunk-3QS3WKRC.mjs";
165
164
  export {
166
165
  APPLICATION_HANDOFF_QUERY_PARAMETER,
@@ -199,6 +198,7 @@ export {
199
198
  captureRecordEditorSubmission,
200
199
  collectManagedFileReferences,
201
200
  collectMaterializedModelPages,
201
+ compileBentoTreeToRenderTree,
202
202
  compileCapabilityRegistry,
203
203
  compileComponentAssemblyValidator,
204
204
  compileConductorWorkflowDefinition,
@@ -226,7 +226,6 @@ export {
226
226
  compileToolCapabilityManifest,
227
227
  compileViewProviderInput,
228
228
  compileViewProviderRegistry,
229
- compileViewSpecToRenderTree,
230
229
  compileWorkbenchRuntimeBundle,
231
230
  compileWorkflowDefinitionFromConductor,
232
231
  compileWorkflowPersistenceProjection,
@@ -240,7 +239,7 @@ export {
240
239
  createPageStreamState,
241
240
  createRecordEditorDraft,
242
241
  createSelectionShareViewRecord,
243
- createSingleBentoViewRecord,
242
+ createSingleBlockViewRecord,
244
243
  createToolCapabilityManifest,
245
244
  createWorkflowCapabilityManifest,
246
245
  createWorkflowViewRecord,
@@ -303,7 +302,6 @@ export {
303
302
  resolvePageMountInputs,
304
303
  resolvePageRootParameters,
305
304
  resolveThemeTokens,
306
- resolveViewHostShell,
307
305
  resolveWorkbenchEntry,
308
306
  resolveWorkflowColumnResult,
309
307
  revisionRefKey,