@inf-monkeys-tech/monkeys 1.1.61 → 1.1.63

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 (84) 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 +5167 -814
  12. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  13. package/lib/contracts/declarative-control.d.ts +483 -113
  14. package/lib/contracts/declarative-control.d.ts.map +1 -1
  15. package/lib/contracts/declarative-document-import.d.ts +15 -15
  16. package/lib/contracts/declarative-publication-job.d.ts +1104 -208
  17. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  18. package/lib/contracts/index.d.ts +1 -0
  19. package/lib/contracts/index.d.ts.map +1 -1
  20. package/lib/contracts/index.js +1 -0
  21. package/lib/contracts/index.js.map +1 -1
  22. package/lib/contracts/menu.d.ts +4 -4
  23. package/lib/contracts/page-expression.d.ts +5 -5
  24. package/lib/contracts/page.d.ts +14 -14
  25. package/lib/contracts/render.d.ts +363 -66
  26. package/lib/contracts/render.d.ts.map +1 -1
  27. package/lib/contracts/render.js +60 -5
  28. package/lib/contracts/render.js.map +1 -1
  29. package/lib/contracts/semantic.d.ts +4 -4
  30. package/lib/contracts/tenant.d.ts +26 -26
  31. package/lib/contracts/trend.d.ts +1 -1
  32. package/lib/contracts/unified-view.d.ts +26 -533
  33. package/lib/contracts/unified-view.d.ts.map +1 -1
  34. package/lib/contracts/unified-view.js +17 -316
  35. package/lib/contracts/unified-view.js.map +1 -1
  36. package/lib/contracts/workflow-definition.d.ts +10 -10
  37. package/lib/esm/{chunk-NKTRUUOP.mjs → chunk-766TRFRH.mjs} +3548 -3406
  38. package/lib/esm/chunk-766TRFRH.mjs.map +1 -0
  39. package/lib/esm/{chunk-DPHV7ES3.mjs → chunk-BTJGKWPM.mjs} +327 -143
  40. package/lib/esm/chunk-BTJGKWPM.mjs.map +1 -0
  41. package/lib/esm/{chunk-7MUE4GTZ.mjs → chunk-MP4OJWJ3.mjs} +2 -2
  42. package/lib/esm/{chunk-43N4Q3U7.mjs → chunk-SDA2NWFB.mjs} +4 -2
  43. package/lib/esm/chunk-SDA2NWFB.mjs.map +1 -0
  44. package/lib/esm/contracts/index.mjs +44 -28
  45. package/lib/esm/index.mjs +54 -36
  46. package/lib/esm/index.mjs.map +1 -1
  47. package/lib/esm/runtime/index.mjs +11 -9
  48. package/lib/esm/schemas/index.mjs +26 -28
  49. package/lib/json-schema/bento-node.schema.json +1446 -0
  50. package/lib/json-schema/index.json +1 -0
  51. package/lib/json-schema/overlay-node.schema.json +1092 -49
  52. package/lib/json-schema/page-runtime-bundle.schema.json +1996 -424
  53. package/lib/json-schema/page.schema.json +24 -0
  54. package/lib/json-schema/render-node.schema.json +1317 -274
  55. package/lib/json-schema/render-tree.schema.json +1686 -114
  56. package/lib/json-schema/view-ontology-record.schema.json +1141 -145
  57. package/lib/runtime/artifact-session.d.ts +5 -10
  58. package/lib/runtime/artifact-session.d.ts.map +1 -1
  59. package/lib/runtime/artifact-session.js +91 -78
  60. package/lib/runtime/artifact-session.js.map +1 -1
  61. package/lib/runtime/bento-render-tree.d.ts +22 -0
  62. package/lib/runtime/bento-render-tree.d.ts.map +1 -0
  63. package/lib/runtime/bento-render-tree.js +194 -0
  64. package/lib/runtime/bento-render-tree.js.map +1 -0
  65. package/lib/runtime/index.d.ts +1 -0
  66. package/lib/runtime/index.d.ts.map +1 -1
  67. package/lib/runtime/index.js +1 -0
  68. package/lib/runtime/index.js.map +1 -1
  69. package/lib/runtime/native-page-composition.d.ts +2 -2
  70. package/lib/runtime/runtime-definition-wire.d.ts +526 -78
  71. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  72. package/lib/runtime/unified-view-compiler.d.ts +12 -16
  73. package/lib/runtime/unified-view-compiler.d.ts.map +1 -1
  74. package/lib/runtime/unified-view-compiler.js +69 -77
  75. package/lib/runtime/unified-view-compiler.js.map +1 -1
  76. package/lib/schemas/index.d.ts +1523 -3082
  77. package/lib/schemas/index.d.ts.map +1 -1
  78. package/lib/schemas/index.js +32 -30
  79. package/lib/schemas/index.js.map +1 -1
  80. package/package.json +2 -2
  81. package/lib/esm/chunk-43N4Q3U7.mjs.map +0 -1
  82. package/lib/esm/chunk-DPHV7ES3.mjs.map +0 -1
  83. package/lib/esm/chunk-NKTRUUOP.mjs.map +0 -1
  84. /package/lib/esm/{chunk-7MUE4GTZ.mjs.map → chunk-MP4OJWJ3.mjs.map} +0 -0
@@ -15,7 +15,7 @@ import {
15
15
  ManagedFileUriSchema,
16
16
  RevisionRefSchema,
17
17
  Sha256Schema
18
- } from "./chunk-NKTRUUOP.mjs";
18
+ } from "./chunk-766TRFRH.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-7MUE4GTZ.mjs.map
691
+ //# sourceMappingURL=chunk-MP4OJWJ3.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-NKTRUUOP.mjs";
104
+ } from "./chunk-766TRFRH.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-43N4Q3U7.mjs.map
215
+ //# sourceMappingURL=chunk-SDA2NWFB.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["import type { ZodTypeAny } from \"zod\";\nimport { 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 as ZodTypeAny,\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 as ZodTypeAny,\n \"render-tree\": RenderTreeSchema as ZodTypeAny,\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwlBO,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-7MUE4GTZ.mjs";
90
+ } from "../chunk-MP4OJWJ3.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,
@@ -563,10 +579,12 @@ import {
563
579
  ReleaseOperationSchema,
564
580
  ReleaseValidationSchema,
565
581
  RenderActivationSchema,
582
+ RenderBentoBindingSchema,
566
583
  RenderBentoSurfaceSchema,
567
584
  RenderDynamicLayoutSchema,
568
585
  RenderLayoutSchema,
569
586
  RenderLifecycleSchema,
587
+ RenderModuleRefSchema,
570
588
  RenderNodeKindSchema,
571
589
  RenderNodeSchema,
572
590
  RenderNodeStateSchema,
@@ -599,7 +617,6 @@ import {
599
617
  SensitiveResultPathSchema,
600
618
  SensitiveResultPathsSchema,
601
619
  Sha256Schema,
602
- ShellModeSchema,
603
620
  SourceRecordRefSchema,
604
621
  StableRefAliasMapSchema,
605
622
  StableRefAliasSchema,
@@ -654,22 +671,12 @@ import {
654
671
  VIEW_BOUND_ONTOLOGY_RELATION_KIND,
655
672
  VIEW_ONTOLOGY_ID,
656
673
  VIEW_SHARED_WITH_RELATION_KIND,
657
- ViewBentoCanvasSchema,
658
- ViewBentoItemSchema,
659
- ViewBentoTypeSchema,
660
- ViewBlockDataSourceSchema,
661
- ViewBlockSchema,
662
674
  ViewCapabilitySchema,
663
675
  ViewDataDeclarationSchema,
664
- ViewLayoutRegionSchema,
665
- ViewLayoutSchema,
666
676
  ViewOntologyRecordSchema,
667
677
  ViewProviderDescriptorSchema,
668
- ViewQuerySchema,
669
678
  ViewShareLinkPolicySchema,
670
679
  ViewShareTargetGrantSchema,
671
- ViewSortSchema,
672
- ViewSpecSchema,
673
680
  ViewSqlAggregateMetricSchema,
674
681
  ViewSqlCachePolicySchema,
675
682
  ViewSqlFromSourceSchema,
@@ -678,8 +685,6 @@ import {
678
685
  ViewSqlSelectProjectionSchema,
679
686
  ViewSqlStatementSchema,
680
687
  ViewSqlWhereSchema,
681
- ViewSubjectSchema,
682
- ViewWiringRuleSchema,
683
688
  WorkbenchAppInstanceSchema,
684
689
  WorkbenchGroupSchema,
685
690
  WorkbenchIdentitySchema,
@@ -725,6 +730,7 @@ import {
725
730
  assertPageValueBudget,
726
731
  canApplyAgentSessionRunStatus,
727
732
  canIssueAgentSessionCommand,
733
+ collectBentoLeafNodes,
728
734
  collectExternalPageExpressionReads,
729
735
  collectPageExpressionReads,
730
736
  declarativeControlRoutes,
@@ -732,6 +738,7 @@ import {
732
738
  getAgentModeCapabilities,
733
739
  getAgentSessionCommandPolicy,
734
740
  getAgentSessionRuntimeCapabilities,
741
+ getPrimaryBlockType,
735
742
  isAgentResourceModeCompatible,
736
743
  isAgentSessionTerminalStatus,
737
744
  normalizeAgentExecutionMode,
@@ -739,8 +746,9 @@ import {
739
746
  normalizeStudioAgentMode,
740
747
  resolveAgentSessionCommandTransition,
741
748
  resolveAgentWorkbenchSidebarConfig,
749
+ validateBentoTree,
742
750
  visitPageExpression
743
- } from "../chunk-NKTRUUOP.mjs";
751
+ } from "../chunk-766TRFRH.mjs";
744
752
  import "../chunk-3QS3WKRC.mjs";
745
753
  export {
746
754
  ACTION_PROGRAM_ABI,
@@ -875,8 +883,24 @@ export {
875
883
  ArtifactPresenceStateSchema,
876
884
  ArtifactProfileSchema,
877
885
  ArtifactStorageModeSchema,
886
+ ArtifactSubjectSchema,
887
+ ArtifactViewSchema,
878
888
  AuthorityScopeSchema,
889
+ BENTO_GRID_COLUMNS,
890
+ BENTO_GRID_MAX_ROWS,
891
+ BENTO_GRID_MIN_H,
892
+ BENTO_GRID_MIN_W,
893
+ BentoChromeSchema,
894
+ BentoGridRectSchema,
895
+ BentoNodeSchema,
896
+ BentoPlacementSchema,
897
+ BentoSplitPlacementSchema,
898
+ BentoTabPlacementSchema,
899
+ BentoWiringRuleSchema,
879
900
  BindingSourceSchema,
901
+ BlockDataSourceSchema,
902
+ BlockSpecSchema,
903
+ BlockTypeSchema,
880
904
  BodyRelationRecordSchema,
881
905
  BrandBodySchema,
882
906
  BrandGeneticsProfileSchema,
@@ -1297,10 +1321,12 @@ export {
1297
1321
  ReleaseOperationSchema,
1298
1322
  ReleaseValidationSchema,
1299
1323
  RenderActivationSchema,
1324
+ RenderBentoBindingSchema,
1300
1325
  RenderBentoSurfaceSchema,
1301
1326
  RenderDynamicLayoutSchema,
1302
1327
  RenderLayoutSchema,
1303
1328
  RenderLifecycleSchema,
1329
+ RenderModuleRefSchema,
1304
1330
  RenderNodeKindSchema,
1305
1331
  RenderNodeSchema,
1306
1332
  RenderNodeStateSchema,
@@ -1338,7 +1364,6 @@ export {
1338
1364
  SensitiveResultPathSchema,
1339
1365
  SensitiveResultPathsSchema,
1340
1366
  Sha256Schema,
1341
- ShellModeSchema,
1342
1367
  SourceRecordRefSchema,
1343
1368
  StableRefAliasMapSchema,
1344
1369
  StableRefAliasSchema,
@@ -1394,22 +1419,12 @@ export {
1394
1419
  VIEW_BOUND_ONTOLOGY_RELATION_KIND,
1395
1420
  VIEW_ONTOLOGY_ID,
1396
1421
  VIEW_SHARED_WITH_RELATION_KIND,
1397
- ViewBentoCanvasSchema,
1398
- ViewBentoItemSchema,
1399
- ViewBentoTypeSchema,
1400
- ViewBlockDataSourceSchema,
1401
- ViewBlockSchema,
1402
1422
  ViewCapabilitySchema,
1403
1423
  ViewDataDeclarationSchema,
1404
- ViewLayoutRegionSchema,
1405
- ViewLayoutSchema,
1406
1424
  ViewOntologyRecordSchema,
1407
1425
  ViewProviderDescriptorSchema,
1408
- ViewQuerySchema,
1409
1426
  ViewShareLinkPolicySchema,
1410
1427
  ViewShareTargetGrantSchema,
1411
- ViewSortSchema,
1412
- ViewSpecSchema,
1413
1428
  ViewSqlAggregateMetricSchema,
1414
1429
  ViewSqlCachePolicySchema,
1415
1430
  ViewSqlFromSourceSchema,
@@ -1418,8 +1433,6 @@ export {
1418
1433
  ViewSqlSelectProjectionSchema,
1419
1434
  ViewSqlStatementSchema,
1420
1435
  ViewSqlWhereSchema,
1421
- ViewSubjectSchema,
1422
- ViewWiringRuleSchema,
1423
1436
  WorkbenchAppInstanceSchema,
1424
1437
  WorkbenchGroupSchema,
1425
1438
  WorkbenchIdentitySchema,
@@ -1465,6 +1478,7 @@ export {
1465
1478
  assertPageValueBudget,
1466
1479
  canApplyAgentSessionRunStatus,
1467
1480
  canIssueAgentSessionCommand,
1481
+ collectBentoLeafNodes,
1468
1482
  collectExternalPageExpressionReads,
1469
1483
  collectPageExpressionReads,
1470
1484
  declarativeControlRoutes,
@@ -1472,6 +1486,7 @@ export {
1472
1486
  getAgentModeCapabilities,
1473
1487
  getAgentSessionCommandPolicy,
1474
1488
  getAgentSessionRuntimeCapabilities,
1489
+ getPrimaryBlockType,
1475
1490
  isAgentResourceModeCompatible,
1476
1491
  isAgentSessionTerminalStatus,
1477
1492
  normalizeAgentExecutionMode,
@@ -1481,6 +1496,7 @@ export {
1481
1496
  platformNotificationRoutes,
1482
1497
  resolveAgentSessionCommandTransition,
1483
1498
  resolveAgentWorkbenchSidebarConfig,
1499
+ validateBentoTree,
1484
1500
  visitPageExpression
1485
1501
  };
1486
1502
  //# sourceMappingURL=index.mjs.map
package/lib/esm/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  canonicalContractSchemas
3
- } from "./chunk-43N4Q3U7.mjs";
3
+ } from "./chunk-SDA2NWFB.mjs";
4
4
  import {
5
5
  APPLICATION_HANDOFF_QUERY_PARAMETER,
6
6
  DEFAULT_CONDUCTOR_OWNER_EMAIL,
@@ -34,6 +34,8 @@ import {
34
34
  captureRecordEditorSubmission,
35
35
  collectManagedFileReferences,
36
36
  collectMaterializedModelPages,
37
+ compileBentoNodeToRenderTree,
38
+ compileBentoTreeToRenderTree,
37
39
  compileCapabilityRegistry,
38
40
  compileComponentAssemblyValidator,
39
41
  compileConductorWorkflowDefinition,
@@ -61,7 +63,7 @@ import {
61
63
  compileToolCapabilityManifest,
62
64
  compileViewProviderInput,
63
65
  compileViewProviderRegistry,
64
- compileViewSpecToRenderTree,
66
+ compileViewRecordToRenderTree,
65
67
  compileWorkbenchRuntimeBundle,
66
68
  compileWorkflowDefinitionFromConductor,
67
69
  compileWorkflowPersistenceProjection,
@@ -75,7 +77,7 @@ import {
75
77
  createPageStreamState,
76
78
  createRecordEditorDraft,
77
79
  createSelectionShareViewRecord,
78
- createSingleBentoViewRecord,
80
+ createSingleBlockViewRecord,
79
81
  createToolCapabilityManifest,
80
82
  createWorkflowCapabilityManifest,
81
83
  createWorkflowViewRecord,
@@ -136,7 +138,6 @@ import {
136
138
  resolvePageInputBindings,
137
139
  resolvePageMountInputs,
138
140
  resolvePageRootParameters,
139
- resolveViewHostShell,
140
141
  resolveWorkbenchEntry,
141
142
  resolveWorkflowColumnResult,
142
143
  revisionRefKey,
@@ -152,7 +153,7 @@ import {
152
153
  validateDomainCommand,
153
154
  validateWorkbenchRuntimeSet,
154
155
  writePageDraftPath
155
- } from "./chunk-DPHV7ES3.mjs";
156
+ } from "./chunk-BTJGKWPM.mjs";
156
157
  import {
157
158
  AGENT_DATA_CONTEXT_ENV,
158
159
  AGENT_DATA_CONTEXT_FILE_ENV,
@@ -242,7 +243,7 @@ import {
242
243
  TaskAgentSessionLinkSchema,
243
244
  pageStreamRoutes,
244
245
  platformNotificationRoutes
245
- } from "./chunk-7MUE4GTZ.mjs";
246
+ } from "./chunk-MP4OJWJ3.mjs";
246
247
  import {
247
248
  ACTION_PROGRAM_ABI,
248
249
  AGENT_MODE_CAPABILITIES,
@@ -338,8 +339,24 @@ import {
338
339
  ArtifactPresenceStateSchema,
339
340
  ArtifactProfileSchema,
340
341
  ArtifactStorageModeSchema,
342
+ ArtifactSubjectSchema,
343
+ ArtifactViewSchema,
341
344
  AuthorityScopeSchema,
345
+ BENTO_GRID_COLUMNS,
346
+ BENTO_GRID_MAX_ROWS,
347
+ BENTO_GRID_MIN_H,
348
+ BENTO_GRID_MIN_W,
349
+ BentoChromeSchema,
350
+ BentoGridRectSchema,
351
+ BentoNodeSchema,
352
+ BentoPlacementSchema,
353
+ BentoSplitPlacementSchema,
354
+ BentoTabPlacementSchema,
355
+ BentoWiringRuleSchema,
342
356
  BindingSourceSchema,
357
+ BlockDataSourceSchema,
358
+ BlockSpecSchema,
359
+ BlockTypeSchema,
343
360
  BodyRelationRecordSchema,
344
361
  BrandBodySchema,
345
362
  BrandGeneticsProfileSchema,
@@ -719,10 +736,12 @@ import {
719
736
  ReleaseOperationSchema,
720
737
  ReleaseValidationSchema,
721
738
  RenderActivationSchema,
739
+ RenderBentoBindingSchema,
722
740
  RenderBentoSurfaceSchema,
723
741
  RenderDynamicLayoutSchema,
724
742
  RenderLayoutSchema,
725
743
  RenderLifecycleSchema,
744
+ RenderModuleRefSchema,
726
745
  RenderNodeKindSchema,
727
746
  RenderNodeSchema,
728
747
  RenderNodeStateSchema,
@@ -755,7 +774,6 @@ import {
755
774
  SensitiveResultPathSchema,
756
775
  SensitiveResultPathsSchema,
757
776
  Sha256Schema,
758
- ShellModeSchema,
759
777
  SourceRecordRefSchema,
760
778
  StableRefAliasMapSchema,
761
779
  StableRefAliasSchema,
@@ -811,22 +829,12 @@ import {
811
829
  VIEW_BOUND_ONTOLOGY_RELATION_KIND,
812
830
  VIEW_ONTOLOGY_ID,
813
831
  VIEW_SHARED_WITH_RELATION_KIND,
814
- ViewBentoCanvasSchema,
815
- ViewBentoItemSchema,
816
- ViewBentoTypeSchema,
817
- ViewBlockDataSourceSchema,
818
- ViewBlockSchema,
819
832
  ViewCapabilitySchema,
820
833
  ViewDataDeclarationSchema,
821
- ViewLayoutRegionSchema,
822
- ViewLayoutSchema,
823
834
  ViewOntologyRecordSchema,
824
835
  ViewProviderDescriptorSchema,
825
- ViewQuerySchema,
826
836
  ViewShareLinkPolicySchema,
827
837
  ViewShareTargetGrantSchema,
828
- ViewSortSchema,
829
- ViewSpecSchema,
830
838
  ViewSqlAggregateMetricSchema,
831
839
  ViewSqlCachePolicySchema,
832
840
  ViewSqlFromSourceSchema,
@@ -835,8 +843,6 @@ import {
835
843
  ViewSqlSelectProjectionSchema,
836
844
  ViewSqlStatementSchema,
837
845
  ViewSqlWhereSchema,
838
- ViewSubjectSchema,
839
- ViewWiringRuleSchema,
840
846
  WorkbenchAppInstanceSchema,
841
847
  WorkbenchGroupSchema,
842
848
  WorkbenchIdentitySchema,
@@ -884,6 +890,7 @@ import {
884
890
  assertThemeTokensDocumentStructure,
885
891
  canApplyAgentSessionRunStatus,
886
892
  canIssueAgentSessionCommand,
893
+ collectBentoLeafNodes,
887
894
  collectExternalPageExpressionReads,
888
895
  collectPageExpressionReads,
889
896
  declarativeControlRoutes,
@@ -891,6 +898,7 @@ import {
891
898
  getAgentModeCapabilities,
892
899
  getAgentSessionCommandPolicy,
893
900
  getAgentSessionRuntimeCapabilities,
901
+ getPrimaryBlockType,
894
902
  isAgentResourceModeCompatible,
895
903
  isAgentSessionTerminalStatus,
896
904
  mergeThemeTokenDocuments,
@@ -900,10 +908,11 @@ import {
900
908
  resolveAgentSessionCommandTransition,
901
909
  resolveAgentWorkbenchSidebarConfig,
902
910
  resolveThemeTokens,
911
+ validateBentoTree,
903
912
  validateThemeTokensDocument,
904
913
  validateThemeTokensDocumentStructure,
905
914
  visitPageExpression
906
- } from "./chunk-NKTRUUOP.mjs";
915
+ } from "./chunk-766TRFRH.mjs";
907
916
  import "./chunk-3QS3WKRC.mjs";
908
917
 
909
918
  // src/types/tool.ts
@@ -1076,8 +1085,24 @@ export {
1076
1085
  ArtifactPresenceStateSchema,
1077
1086
  ArtifactProfileSchema,
1078
1087
  ArtifactStorageModeSchema,
1088
+ ArtifactSubjectSchema,
1089
+ ArtifactViewSchema,
1079
1090
  AuthorityScopeSchema,
1091
+ BENTO_GRID_COLUMNS,
1092
+ BENTO_GRID_MAX_ROWS,
1093
+ BENTO_GRID_MIN_H,
1094
+ BENTO_GRID_MIN_W,
1095
+ BentoChromeSchema,
1096
+ BentoGridRectSchema,
1097
+ BentoNodeSchema,
1098
+ BentoPlacementSchema,
1099
+ BentoSplitPlacementSchema,
1100
+ BentoTabPlacementSchema,
1101
+ BentoWiringRuleSchema,
1080
1102
  BindingSourceSchema,
1103
+ BlockDataSourceSchema,
1104
+ BlockSpecSchema,
1105
+ BlockTypeSchema,
1081
1106
  BodyRelationRecordSchema,
1082
1107
  BrandBodySchema,
1083
1108
  BrandGeneticsProfileSchema,
@@ -1508,10 +1533,12 @@ export {
1508
1533
  ReleaseOperationSchema,
1509
1534
  ReleaseValidationSchema,
1510
1535
  RenderActivationSchema,
1536
+ RenderBentoBindingSchema,
1511
1537
  RenderBentoSurfaceSchema,
1512
1538
  RenderDynamicLayoutSchema,
1513
1539
  RenderLayoutSchema,
1514
1540
  RenderLifecycleSchema,
1541
+ RenderModuleRefSchema,
1515
1542
  RenderNodeKindSchema,
1516
1543
  RenderNodeSchema,
1517
1544
  RenderNodeStateSchema,
@@ -1550,7 +1577,6 @@ export {
1550
1577
  SensitiveResultPathSchema,
1551
1578
  SensitiveResultPathsSchema,
1552
1579
  Sha256Schema,
1553
- ShellModeSchema,
1554
1580
  SourceRecordRefSchema,
1555
1581
  StableRefAliasMapSchema,
1556
1582
  StableRefAliasSchema,
@@ -1611,22 +1637,12 @@ export {
1611
1637
  VIEW_SHARED_WITH_RELATION_KIND,
1612
1638
  ValidationIssueType,
1613
1639
  ValidationReasonType,
1614
- ViewBentoCanvasSchema,
1615
- ViewBentoItemSchema,
1616
- ViewBentoTypeSchema,
1617
- ViewBlockDataSourceSchema,
1618
- ViewBlockSchema,
1619
1640
  ViewCapabilitySchema,
1620
1641
  ViewDataDeclarationSchema,
1621
- ViewLayoutRegionSchema,
1622
- ViewLayoutSchema,
1623
1642
  ViewOntologyRecordSchema,
1624
1643
  ViewProviderDescriptorSchema,
1625
- ViewQuerySchema,
1626
1644
  ViewShareLinkPolicySchema,
1627
1645
  ViewShareTargetGrantSchema,
1628
- ViewSortSchema,
1629
- ViewSpecSchema,
1630
1646
  ViewSqlAggregateMetricSchema,
1631
1647
  ViewSqlCachePolicySchema,
1632
1648
  ViewSqlFromSourceSchema,
@@ -1635,8 +1651,6 @@ export {
1635
1651
  ViewSqlSelectProjectionSchema,
1636
1652
  ViewSqlStatementSchema,
1637
1653
  ViewSqlWhereSchema,
1638
- ViewSubjectSchema,
1639
- ViewWiringRuleSchema,
1640
1654
  WorkbenchAppInstanceSchema,
1641
1655
  WorkbenchGroupSchema,
1642
1656
  WorkbenchIdentitySchema,
@@ -1705,10 +1719,13 @@ export {
1705
1719
  canonicalContentHash,
1706
1720
  canonicalContractSchemas,
1707
1721
  captureRecordEditorSubmission,
1722
+ collectBentoLeafNodes,
1708
1723
  collectExternalPageExpressionReads,
1709
1724
  collectManagedFileReferences,
1710
1725
  collectMaterializedModelPages,
1711
1726
  collectPageExpressionReads,
1727
+ compileBentoNodeToRenderTree,
1728
+ compileBentoTreeToRenderTree,
1712
1729
  compileCapabilityRegistry,
1713
1730
  compileComponentAssemblyValidator,
1714
1731
  compileConductorWorkflowDefinition,
@@ -1736,7 +1753,7 @@ export {
1736
1753
  compileToolCapabilityManifest,
1737
1754
  compileViewProviderInput,
1738
1755
  compileViewProviderRegistry,
1739
- compileViewSpecToRenderTree,
1756
+ compileViewRecordToRenderTree,
1740
1757
  compileWorkbenchRuntimeBundle,
1741
1758
  compileWorkflowDefinitionFromConductor,
1742
1759
  compileWorkflowPersistenceProjection,
@@ -1750,7 +1767,7 @@ export {
1750
1767
  createPageStreamState,
1751
1768
  createRecordEditorDraft,
1752
1769
  createSelectionShareViewRecord,
1753
- createSingleBentoViewRecord,
1770
+ createSingleBlockViewRecord,
1754
1771
  createToolCapabilityManifest,
1755
1772
  createWorkflowCapabilityManifest,
1756
1773
  createWorkflowViewRecord,
@@ -1775,6 +1792,7 @@ export {
1775
1792
  getAgentModeCapabilities,
1776
1793
  getAgentSessionCommandPolicy,
1777
1794
  getAgentSessionRuntimeCapabilities,
1795
+ getPrimaryBlockType,
1778
1796
  isAgentResourceModeCompatible,
1779
1797
  isAgentSessionTerminalStatus,
1780
1798
  isCompiledMenuItemSelected,
@@ -1827,7 +1845,6 @@ export {
1827
1845
  resolvePageMountInputs,
1828
1846
  resolvePageRootParameters,
1829
1847
  resolveThemeTokens,
1830
- resolveViewHostShell,
1831
1848
  resolveWorkbenchEntry,
1832
1849
  resolveWorkflowColumnResult,
1833
1850
  revisionRefKey,
@@ -1840,6 +1857,7 @@ export {
1840
1857
  stableRefKey,
1841
1858
  supportsCapabilityInputSchema,
1842
1859
  toAgentSessionViewModel,
1860
+ validateBentoTree,
1843
1861
  validateDomainCommand,
1844
1862
  validateThemeTokensDocument,
1845
1863
  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"]}