@datalayer/core 1.1.60 → 1.2.10
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.
- package/README.md +41 -18
- package/lib/api/DatalayerApi.d.ts +42 -1
- package/lib/api/DatalayerApi.js +90 -3
- package/lib/api/constants.d.ts +19 -1
- package/lib/api/constants.js +19 -1
- package/lib/api/contents/attachments.d.ts +9 -0
- package/lib/api/contents/attachments.js +39 -0
- package/lib/api/contents/bridges.d.ts +22 -0
- package/lib/api/contents/bridges.js +79 -0
- package/lib/api/contents/capabilities.d.ts +11 -0
- package/lib/api/contents/capabilities.js +21 -0
- package/lib/api/contents/cloudStorage.d.ts +31 -0
- package/lib/api/contents/cloudStorage.js +89 -0
- package/lib/api/contents/dataservers.d.ts +37 -0
- package/lib/api/contents/dataservers.js +121 -0
- package/lib/api/contents/datasets.d.ts +63 -0
- package/lib/api/contents/datasets.js +82 -0
- package/lib/api/contents/datasources.d.ts +70 -0
- package/lib/api/contents/datasources.js +149 -0
- package/lib/api/contents/generated.d.ts +1070 -0
- package/lib/api/contents/index.d.ts +16 -0
- package/lib/api/contents/index.js +20 -0
- package/lib/api/contents/mcp.d.ts +46 -0
- package/lib/api/contents/mcp.js +157 -0
- package/lib/api/contents/objects.d.ts +31 -0
- package/lib/api/contents/objects.js +88 -0
- package/lib/api/contents/operations.d.ts +3 -0
- package/lib/api/contents/operations.js +19 -0
- package/lib/api/contents/runtimeMounts.d.ts +40 -0
- package/lib/api/contents/runtimeMounts.js +59 -0
- package/lib/api/contents/sandboxUid.d.ts +21 -0
- package/lib/api/contents/sandboxUid.js +27 -0
- package/lib/api/contents/sources.d.ts +19 -0
- package/lib/api/contents/sources.js +119 -0
- package/lib/api/contents/sync.d.ts +18 -0
- package/lib/api/contents/sync.js +69 -0
- package/lib/api/contents/transfers.d.ts +38 -0
- package/lib/api/contents/transfers.js +123 -0
- package/lib/api/evals/client.d.ts +402 -0
- package/lib/api/evals/client.js +359 -0
- package/lib/api/evals/index.d.ts +10 -0
- package/lib/api/evals/index.js +18 -0
- package/lib/api/evals/request.d.ts +43 -0
- package/lib/api/evals/request.js +67 -0
- package/lib/api/evals/status.d.ts +27 -0
- package/lib/api/evals/status.js +122 -0
- package/lib/api/evals/types.d.ts +1335 -0
- package/lib/api/evals/types.js +5 -0
- package/lib/api/iam/connectedAgents.d.ts +68 -0
- package/lib/api/iam/connectedAgents.js +87 -0
- package/lib/api/iam/identityProviders.d.ts +76 -0
- package/lib/api/iam/identityProviders.js +187 -0
- package/lib/api/iam/index.d.ts +3 -1
- package/lib/api/iam/index.js +3 -1
- package/lib/api/iam/mcpAlertRules.d.ts +51 -0
- package/lib/api/iam/mcpAlertRules.js +198 -0
- package/lib/api/iam/mcpAuditSettings.d.ts +46 -0
- package/lib/api/iam/mcpAuditSettings.js +120 -0
- package/lib/api/iam/mcpPolicy.d.ts +181 -0
- package/lib/api/iam/mcpPolicy.js +168 -0
- package/lib/api/iam/organizationTeams.d.ts +13 -0
- package/lib/api/iam/organizationTeams.js +43 -0
- package/lib/api/iam/profile.d.ts +17 -1
- package/lib/api/iam/profile.js +27 -0
- package/lib/api/iam/scimTokens.d.ts +79 -0
- package/lib/api/iam/scimTokens.js +141 -0
- package/lib/api/iam/secrets.js +9 -21
- package/lib/api/iam/serviceAgents.d.ts +68 -0
- package/lib/api/iam/serviceAgents.js +119 -0
- package/lib/api/iam/trials.d.ts +38 -0
- package/lib/api/iam/trials.js +66 -0
- package/lib/api/index.d.ts +8 -1
- package/lib/api/index.js +7 -1
- package/lib/api/mcp/activity.d.ts +37 -0
- package/lib/api/mcp/activity.js +26 -0
- package/lib/api/mcp/alerts.d.ts +25 -0
- package/lib/api/mcp/alerts.js +51 -0
- package/lib/api/mcp/audit.d.ts +29 -0
- package/lib/api/mcp/audit.js +55 -0
- package/lib/api/mcp/bindings.d.ts +18 -0
- package/lib/api/mcp/bindings.js +42 -0
- package/lib/api/mcp/forwarding.d.ts +25 -0
- package/lib/api/mcp/forwarding.js +46 -0
- package/lib/api/mcp/gateway.d.ts +16 -0
- package/lib/api/mcp/gateway.js +70 -0
- package/lib/api/mcp/generated.d.ts +22 -0
- package/lib/api/mcp/generated.js +213 -0
- package/lib/api/mcp/index.d.ts +17 -0
- package/lib/api/mcp/index.js +25 -0
- package/lib/api/mcp/observability.d.ts +141 -0
- package/lib/api/mcp/observability.js +267 -0
- package/lib/api/mcp/operations.d.ts +83 -0
- package/lib/api/mcp/operations.js +50 -0
- package/lib/api/mcp/organizations.d.ts +102 -0
- package/lib/api/mcp/organizations.js +46 -0
- package/lib/api/mcp/policy.d.ts +9 -0
- package/lib/api/mcp/policy.js +23 -0
- package/lib/api/mcp/tasks.d.ts +49 -0
- package/lib/api/mcp/tasks.js +147 -0
- package/lib/api/orchestration/client.d.ts +53 -0
- package/lib/api/orchestration/client.js +105 -0
- package/lib/api/orchestration/events.d.ts +88 -0
- package/lib/api/orchestration/events.js +245 -0
- package/lib/api/orchestration/generated.d.ts +693 -0
- package/lib/api/orchestration/generated.js +687 -0
- package/lib/api/orchestration/index.d.ts +30 -0
- package/lib/api/orchestration/index.js +34 -0
- package/lib/api/orchestration/lifecycle.d.ts +39 -0
- package/lib/api/orchestration/lifecycle.js +57 -0
- package/lib/api/orchestration/measures.d.ts +55 -0
- package/lib/api/orchestration/measures.js +99 -0
- package/lib/api/otel/dashboards.d.ts +56 -0
- package/lib/api/otel/dashboards.js +50 -0
- package/lib/api/otel/index.d.ts +1 -0
- package/lib/api/otel/index.js +1 -0
- package/lib/api/otel/metrics.d.ts +16 -0
- package/lib/api/otel/metrics.js +15 -0
- package/lib/api/scheduler/client.d.ts +32 -0
- package/lib/api/scheduler/client.js +42 -0
- package/lib/api/scheduler/index.d.ts +8 -0
- package/lib/api/scheduler/index.js +16 -0
- package/lib/api/scheduler/request.d.ts +28 -0
- package/lib/api/scheduler/request.js +50 -0
- package/lib/api/scheduler/types.d.ts +88 -0
- package/lib/api/scheduler/types.js +5 -0
- package/lib/api/spacer/comments.d.ts +97 -0
- package/lib/api/spacer/comments.js +45 -0
- package/lib/api/spacer/index.d.ts +9 -0
- package/lib/api/spacer/index.js +17 -0
- package/lib/api/spacer/notebooks.d.ts +33 -0
- package/lib/api/spacer/notebooks.js +39 -0
- package/lib/api/spacer/request.d.ts +25 -0
- package/lib/api/spacer/request.js +46 -0
- package/lib/api/spacer/spaces.d.ts +68 -0
- package/lib/api/spacer/spaces.js +45 -0
- package/lib/api/utils/validation.d.ts +4 -4
- package/lib/api/utils/validation.js +10 -7
- package/lib/client/auth/index.js +0 -5
- package/lib/client/auth/storage.js +0 -5
- package/lib/client/auth/strategies.js +0 -5
- package/lib/client/base.d.ts +6 -0
- package/lib/client/base.js +8 -0
- package/lib/client/constants.d.ts +1 -0
- package/lib/client/constants.js +1 -0
- package/lib/client/index.d.ts +0 -10
- package/lib/client/index.js +2 -2
- package/lib/client/mixins/ContentsMixin.d.ts +71 -0
- package/lib/client/mixins/ContentsMixin.js +157 -0
- package/lib/client/mixins/IAMMixin.d.ts +0 -31
- package/lib/client/mixins/IAMMixin.js +0 -58
- package/lib/components/animation/AnimatedText.d.ts +2 -44
- package/lib/components/animation/AnimatedText.js +6 -126
- package/lib/components/anonymous/AnonymousKeyExpired.d.ts +56 -0
- package/lib/components/anonymous/AnonymousKeyExpired.js +96 -0
- package/lib/components/anonymous/AnonymousKeyTimer.d.ts +63 -0
- package/lib/components/anonymous/AnonymousKeyTimer.js +140 -0
- package/lib/components/anonymous/index.d.ts +7 -0
- package/lib/components/anonymous/index.js +15 -0
- package/lib/components/auth/SigInAPIKey.d.ts +1 -0
- package/lib/components/auth/SigInAPIKey.js +0 -6
- package/lib/components/auth/SignIn.d.ts +1 -0
- package/lib/components/auth/SignIn.js +0 -4
- package/lib/components/auth/SignIn.stories.d.ts +2 -2
- package/lib/components/avatars/BoringAvatar.d.ts +1 -1
- package/lib/components/avatars/BoringAvatar.stories.d.ts +1 -1
- package/lib/components/avatars/DLAvatar.d.ts +1 -1
- package/lib/components/avatars/DLAvatar.js +0 -4
- package/lib/components/avatars/UserAvatar.d.ts +16 -1
- package/lib/components/avatars/UserAvatar.js +15 -13
- package/lib/components/avatars/UserProfileAvatar.d.ts +1 -1
- package/lib/components/banners/NoAutomationBanner.d.ts +1 -1
- package/lib/components/billing/BillingEntitySelect.d.ts +16 -0
- package/lib/components/billing/BillingEntitySelect.js +49 -27
- package/lib/components/billing/eligibility.d.ts +22 -0
- package/lib/components/billing/eligibility.js +27 -0
- package/lib/components/billing/index.d.ts +1 -0
- package/lib/components/billing/index.js +1 -4
- package/lib/components/buttons/DownloadCSVButton.d.ts +1 -1
- package/lib/components/buttons/DownloadJsonButton.d.ts +1 -1
- package/lib/components/buttons/LongActionButton.d.ts +1 -0
- package/lib/components/buttons/LongActionButton.js +0 -4
- package/lib/components/buttons/UploadButton.d.ts +1 -0
- package/lib/components/buttons/UploadButton.js +0 -4
- package/lib/components/checkout/StripeCheckout.d.ts +1 -1
- package/lib/components/collaboration/LiveEditorCollaborators.d.ts +36 -0
- package/lib/components/collaboration/LiveEditorCollaborators.js +88 -53
- package/lib/components/collaboration/index.js +0 -4
- package/lib/components/confetti/ConfettiSuccess.d.ts +1 -1
- package/lib/components/contents/ContentSourceCard.d.ts +8 -0
- package/lib/components/contents/ContentSourceCard.js +23 -0
- package/lib/components/contents/HomeFolderObjectsBrowser.d.ts +10 -0
- package/lib/components/contents/HomeFolderObjectsBrowser.js +148 -0
- package/lib/components/contents/index.d.ts +2 -0
- package/lib/components/contents/index.js +6 -0
- package/lib/components/context/OrganizationSelect.d.ts +1 -1
- package/lib/components/display/AvatarSkeleton.d.ts +1 -1
- package/lib/components/display/BusyDots.d.ts +1 -1
- package/lib/components/display/CenteredSpinner.d.ts +1 -1
- package/lib/components/display/CodePreview.d.ts +1 -1
- package/lib/components/display/DatalayerBox.d.ts +7 -3
- package/lib/components/display/DatalayerBox.js +7 -7
- package/lib/components/display/HorizontalCenter.d.ts +1 -1
- package/lib/components/display/JupyterDialog.d.ts +1 -0
- package/lib/components/display/JupyterDialog.js +1 -7
- package/lib/components/display/Markdown.d.ts +1 -0
- package/lib/components/display/NavLink.js +3 -2
- package/lib/components/display/NotebookSkeleton.d.ts +1 -1
- package/lib/components/display/Placeholder.d.ts +1 -1
- package/lib/components/display/ToTopBranded.d.ts +1 -1
- package/lib/components/echarts/EChartsReact.d.ts +1 -1
- package/lib/components/flashes/FlashClosable.d.ts +1 -0
- package/lib/components/flashes/FlashClosable.js +0 -4
- package/lib/components/flashes/FlashGuest.d.ts +1 -1
- package/lib/components/flashes/FlashSurveys.d.ts +1 -1
- package/lib/components/flashes/FlashUnauthorized.d.ts +1 -0
- package/lib/components/flashes/FlashUnauthorized.js +0 -6
- package/lib/components/flashes/surveys/Survey2025_1.d.ts +1 -1
- package/lib/components/iam/ExternalTokenSilentLogin.d.ts +1 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.js +2 -0
- package/lib/components/labels/StatusLabels.d.ts +2 -9
- package/lib/components/labels/StatusLabels.js +2 -26
- package/lib/components/labels/VisibilityLabel.d.ts +1 -1
- package/lib/components/landings/StepBlock.d.ts +1 -1
- package/lib/components/mcp/ClientBadge.d.ts +41 -0
- package/lib/components/mcp/ClientBadge.js +33 -0
- package/lib/components/mcp/McpErrorBlankslate.d.ts +21 -0
- package/lib/components/mcp/McpErrorBlankslate.js +17 -0
- package/lib/components/mcp/ScopeList.d.ts +28 -0
- package/lib/components/mcp/ScopeList.js +14 -0
- package/lib/components/mcp/index.d.ts +10 -0
- package/lib/components/mcp/index.js +18 -0
- package/lib/components/navbar/NavigationVisbilityObserver.d.ts +2 -1
- package/lib/components/navbar/SubdomainNavBar.d.ts +10 -5
- package/lib/components/navbar/SubdomainNavBar.js +2 -1
- package/lib/components/notebooks/JupyterNotebook.d.ts +1 -1
- package/lib/components/notebooks/JupyterNotebookToolbar.d.ts +1 -1
- package/lib/components/principal/PrincipalAppearance.d.ts +22 -42
- package/lib/components/principal/PrincipalAppearance.js +232 -182
- package/lib/components/principal/PrincipalAvatar.d.ts +9 -1
- package/lib/components/principal/PrincipalAvatar.js +18 -10
- package/lib/components/principal/PrincipalBadge.d.ts +1 -1
- package/lib/components/principal/PrincipalBanner.d.ts +1 -1
- package/lib/components/principal/PrincipalDetailsOverlay.d.ts +38 -1
- package/lib/components/principal/PrincipalDetailsOverlay.js +64 -33
- package/lib/components/principal/PrincipalHoverCard.d.ts +31 -0
- package/lib/components/principal/PrincipalHoverCard.js +52 -0
- package/lib/components/principal/PrincipalSwitcherMenu.d.ts +1 -0
- package/lib/components/principal/PrincipalSwitcherMenu.js +5 -14
- package/lib/components/principal/index.d.ts +2 -1
- package/lib/components/principal/index.js +2 -1
- package/lib/components/progress/ConsumptionBar.d.ts +1 -0
- package/lib/components/progress/ConsumptionBar.js +0 -4
- package/lib/components/progress/ProgressRing.d.ts +1 -0
- package/lib/components/progress/SpinnerBar.d.ts +1 -1
- package/lib/components/progress/Timer.d.ts +1 -0
- package/lib/components/progress/Timer.js +0 -4
- package/lib/components/screencapture/Screencapture.js +46 -3
- package/lib/components/screencapture/ScreencaptureButton.d.ts +1 -1
- package/lib/components/sharing/ShareAccessComponent.d.ts +58 -3
- package/lib/components/sharing/ShareAccessComponent.js +143 -98
- package/lib/components/sharing/SharingEditor.d.ts +21 -0
- package/lib/components/sharing/SharingEditor.js +9 -28
- package/lib/components/sharing/index.d.ts +1 -0
- package/lib/components/sharing/index.js +1 -0
- package/lib/components/sharing/sandboxSharing.d.ts +26 -0
- package/lib/components/sharing/sandboxSharing.js +41 -0
- package/lib/components/spaces/SpaceDetailsOverlay.d.ts +39 -0
- package/lib/components/spaces/SpaceDetailsOverlay.js +80 -0
- package/lib/components/spaces/SpaceDisplay.d.ts +38 -0
- package/lib/components/spaces/SpaceDisplay.js +92 -0
- package/lib/components/spaces/index.d.ts +4 -0
- package/lib/components/spaces/index.js +7 -0
- package/lib/components/spaces/spaceDisplayModel.d.ts +93 -0
- package/lib/components/spaces/spaceDisplayModel.js +170 -0
- package/lib/components/sparklines/Sparklines.js +3 -4
- package/lib/components/sparklines/index.js +0 -4
- package/lib/components/storage/ContentsBrowser.d.ts +25 -1
- package/lib/components/storage/ContentsBrowser.js +145 -52
- package/lib/components/storage/ContentsBrowserMock.d.ts +3 -0
- package/lib/components/storage/ContentsBrowserMock.js +75 -0
- package/lib/components/storage/ContentsItems.d.ts +2 -1
- package/lib/components/storage/ContentsItems.js +0 -4
- package/lib/components/storage/ContentsTable.d.ts +50 -0
- package/lib/components/storage/ContentsTable.js +134 -0
- package/lib/components/storage/HomeFolderDrive.d.ts +71 -0
- package/lib/components/storage/HomeFolderDrive.js +248 -0
- package/lib/components/storage/index.d.ts +2 -0
- package/lib/components/storage/index.js +2 -0
- package/lib/components/students/StudentItemStatus.d.ts +1 -1
- package/lib/components/students/StudentResultCircle.d.ts +1 -1
- package/lib/components/subnav/SubNav.d.ts +5 -5
- package/lib/components/subnav/SubNav.js +11 -9
- package/lib/components/tables/DataTable.d.ts +1 -1
- package/lib/components/text-reveal/TextRevealAnimation.d.ts +2 -2
- package/lib/components/text-reveal/useTextRevealAnimationLines.d.ts +1 -1
- package/lib/components/time/LiveRelativeTime.d.ts +1 -0
- package/lib/components/time/LiveRelativeTime.js +0 -8
- package/lib/components/time/index.js +0 -4
- package/lib/components/timeline/Timeline.d.ts +1 -1
- package/lib/components/timeline/index.js +0 -4
- package/lib/components/users/PeerIndicator.d.ts +1 -0
- package/lib/components/users/PeerIndicator.js +0 -4
- package/lib/config/Configuration.d.ts +15 -17
- package/lib/config/Configuration.js +7 -0
- package/lib/hooks/cacheConverters.d.ts +0 -7
- package/lib/hooks/cacheConverters.js +0 -25
- package/lib/hooks/index.d.ts +3 -0
- package/lib/hooks/index.js +3 -0
- package/lib/hooks/layouts/LayoutBackdrop.d.ts +1 -1
- package/lib/hooks/layouts/LayoutScreencapture.d.ts +1 -1
- package/lib/hooks/useBackdrop.d.ts +1 -1
- package/lib/hooks/useBackdropJupyterLab.d.ts +3 -2
- package/lib/hooks/useBackdropJupyterLab.js +0 -4
- package/lib/hooks/useBillingEntityStore.js +3 -0
- package/lib/hooks/useCache.d.ts +478 -130
- package/lib/hooks/useCache.js +1580 -676
- package/lib/hooks/useContainsFocus.d.ts +1 -1
- package/lib/hooks/useContents.d.ts +334 -0
- package/lib/hooks/useContents.js +1033 -0
- package/lib/hooks/useFocusTrap.d.ts +4 -4
- package/lib/hooks/useFocusTrap.js +1 -1
- package/lib/hooks/useMcp.d.ts +315 -0
- package/lib/hooks/useMcp.js +891 -0
- package/lib/hooks/useMobile.js +0 -5
- package/lib/hooks/useNavigate.d.ts +41 -3
- package/lib/hooks/useNavigate.js +106 -52
- package/lib/hooks/usePrincipalCacheStore.js +3 -0
- package/lib/hooks/usePrincipalStore.js +3 -0
- package/lib/hooks/useProjectStore.d.ts +3 -3
- package/lib/hooks/useProjectStore.js +4 -4
- package/lib/hooks/useRef.d.ts +1 -1
- package/lib/hooks/useRef.js +3 -0
- package/lib/hooks/useScreencapture.d.ts +2 -1
- package/lib/hooks/useScreencapture.js +0 -4
- package/lib/hooks/useSpaceCacheStore.d.ts +50 -0
- package/lib/hooks/useSpaceCacheStore.js +85 -0
- package/lib/hooks/useToast.js +0 -4
- package/lib/hooks/useVisibilityObserver.d.ts +1 -1
- package/lib/index.d.ts +4 -1
- package/lib/index.js +3 -1
- package/lib/mocks/components/FlashMock.d.ts +1 -1
- package/lib/mocks/views/ActionMenuMock.d.ts +1 -1
- package/lib/mocks/views/ChartMock.d.ts +1 -1
- package/lib/mocks/views/DashboardMock.d.ts +1 -1
- package/lib/mocks/views/FormMock.d.ts +1 -1
- package/lib/mocks/views/TableMock.d.ts +1 -1
- package/lib/mocks/views/WipMock.d.ts +1 -1
- package/lib/models/Credits.d.ts +16 -0
- package/lib/models/Credits.js +22 -0
- package/lib/models/CreditsDTO.d.ts +6 -5
- package/lib/models/CreditsDTO.js +7 -5
- package/lib/models/McpAuditEvent.d.ts +52 -0
- package/lib/models/McpAuditEvent.js +5 -0
- package/lib/models/McpBinding.d.ts +57 -0
- package/lib/models/McpBinding.js +5 -0
- package/lib/models/McpPolicy.d.ts +77 -0
- package/lib/models/McpPolicy.js +5 -0
- package/lib/models/McpTask.d.ts +94 -0
- package/lib/models/McpTask.js +7 -0
- package/lib/models/Organization.d.ts +69 -0
- package/lib/models/Organization.js +96 -0
- package/lib/models/Secret.d.ts +1 -2
- package/lib/models/Secret.js +2 -18
- package/lib/models/StartedBy.d.ts +91 -0
- package/lib/models/StartedBy.js +117 -0
- package/lib/models/Team.d.ts +2 -0
- package/lib/models/Team.js +2 -0
- package/lib/models/User.d.ts +4 -0
- package/lib/models/User.js +3 -0
- package/lib/models/UserDTO.js +4 -2
- package/lib/models/UserSettings.d.ts +13 -0
- package/lib/models/UserSettings.js +9 -0
- package/lib/models/contents/__fixtures__/solr-codec.json +57 -0
- package/lib/models/contents/__fixtures__/v1-contracts.json +194 -0
- package/lib/models/contents/fieldCase.d.ts +8 -0
- package/lib/models/contents/fieldCase.js +37 -0
- package/lib/models/contents/index.d.ts +2 -0
- package/lib/models/contents/index.js +6 -0
- package/lib/models/contents/permissions.d.ts +16 -0
- package/lib/models/contents/permissions.js +34 -0
- package/lib/models/index.d.ts +5 -1
- package/lib/models/index.js +5 -1
- package/lib/navigation/components.js +2 -3
- package/lib/routes/publicPaths.js +4 -0
- package/lib/state/index.d.ts +1 -0
- package/lib/state/index.js +1 -0
- package/lib/state/sessionEnd.d.ts +55 -0
- package/lib/state/sessionEnd.js +162 -0
- package/lib/state/substates/CoreState.d.ts +15 -7
- package/lib/state/substates/CoreState.js +21 -17
- package/lib/state/substates/IAMState.d.ts +1 -1
- package/lib/state/substates/IAMState.js +12 -5
- package/lib/state/substates/LayoutState.js +12 -0
- package/lib/state/substates/ProfileState.d.ts +1 -0
- package/lib/state/substates/ProfileState.js +1 -4
- package/lib/state/substates/index.d.ts +0 -1
- package/lib/state/substates/index.js +0 -1
- package/lib/utils/Jwt.d.ts +26 -0
- package/lib/utils/Jwt.js +37 -0
- package/lib/utils/Lazy.d.ts +20 -0
- package/lib/utils/Lazy.js +32 -6
- package/lib/utils/Screencapture.js +3 -0
- package/lib/utils/WithSuspense.d.ts +11 -1
- package/lib/utils/WithSuspense.js +11 -1
- package/lib/views/api-keys/APIKeyEdit.d.ts +1 -1
- package/lib/views/api-keys/APIKeyNew.d.ts +1 -1
- package/lib/views/api-keys/APIKeys.d.ts +1 -1
- package/lib/views/api-keys/APIKeys.js +30 -4
- package/lib/views/api-keys/APIKeysStandalone.d.ts +5 -1
- package/lib/views/api-keys/APIKeysStandalone.js +2 -2
- package/lib/views/datasources/DatasourceDetail.d.ts +12 -5
- package/lib/views/datasources/DatasourceDetail.js +80 -110
- package/lib/views/datasources/DatasourceNew.d.ts +14 -8
- package/lib/views/datasources/DatasourceNew.js +129 -118
- package/lib/views/datasources/Datasources.d.ts +39 -7
- package/lib/views/datasources/Datasources.js +95 -40
- package/lib/views/datasources/DatasourcesMock.d.ts +3 -0
- package/lib/views/datasources/DatasourcesMock.js +57 -0
- package/lib/views/iam/SignInSimple.d.ts +12 -0
- package/lib/views/iam/SignInSimple.js +4 -4
- package/lib/views/index.d.ts +1 -0
- package/lib/views/index.js +1 -0
- package/lib/views/mcp/AdmittedClients.d.ts +44 -0
- package/lib/views/mcp/AdmittedClients.js +59 -0
- package/lib/views/mcp/AlertDestinations.d.ts +34 -0
- package/lib/views/mcp/AlertDestinations.js +75 -0
- package/lib/views/mcp/AlertRules.d.ts +32 -0
- package/lib/views/mcp/AlertRules.js +245 -0
- package/lib/views/mcp/ApprovalQueue.d.ts +66 -0
- package/lib/views/mcp/ApprovalQueue.js +95 -0
- package/lib/views/mcp/AuditLog.d.ts +42 -0
- package/lib/views/mcp/AuditLog.js +144 -0
- package/lib/views/mcp/ConnectedAgents.d.ts +34 -0
- package/lib/views/mcp/ConnectedAgents.js +135 -0
- package/lib/views/mcp/EnterpriseConsole.d.ts +74 -0
- package/lib/views/mcp/EnterpriseConsole.js +195 -0
- package/lib/views/mcp/IdentityProviders.d.ts +33 -0
- package/lib/views/mcp/IdentityProviders.js +299 -0
- package/lib/views/mcp/McpDashboard.d.ts +50 -0
- package/lib/views/mcp/McpDashboard.js +430 -0
- package/lib/views/mcp/McpHome.d.ts +92 -0
- package/lib/views/mcp/McpHome.js +153 -0
- package/lib/views/mcp/McpObservability.d.ts +79 -0
- package/lib/views/mcp/McpObservability.js +236 -0
- package/lib/views/mcp/NotebookRuns.d.ts +39 -0
- package/lib/views/mcp/NotebookRuns.js +44 -0
- package/lib/views/mcp/OrganizationPolicy.d.ts +45 -0
- package/lib/views/mcp/OrganizationPolicy.js +108 -0
- package/lib/views/mcp/OrganizationUsage.d.ts +69 -0
- package/lib/views/mcp/OrganizationUsage.js +113 -0
- package/lib/views/mcp/PersonalPolicy.d.ts +54 -0
- package/lib/views/mcp/PersonalPolicy.js +126 -0
- package/lib/views/mcp/Policies.d.ts +53 -0
- package/lib/views/mcp/Policies.js +210 -0
- package/lib/views/mcp/PolicyForm.d.ts +83 -0
- package/lib/views/mcp/PolicyForm.js +113 -0
- package/lib/views/mcp/PolicyHistory.d.ts +58 -0
- package/lib/views/mcp/PolicyHistory.js +75 -0
- package/lib/views/mcp/RunDetail.d.ts +87 -0
- package/lib/views/mcp/RunDetail.js +186 -0
- package/lib/views/mcp/ScimProvisioning.d.ts +54 -0
- package/lib/views/mcp/ScimProvisioning.js +173 -0
- package/lib/views/mcp/ServiceAgents.d.ts +46 -0
- package/lib/views/mcp/ServiceAgents.js +194 -0
- package/lib/views/mcp/TeamPolicies.d.ts +33 -0
- package/lib/views/mcp/TeamPolicies.js +159 -0
- package/lib/views/mcp/ToolAccess.d.ts +60 -0
- package/lib/views/mcp/ToolAccess.js +101 -0
- package/lib/views/mcp/TraceTimeline.d.ts +81 -0
- package/lib/views/mcp/TraceTimeline.js +132 -0
- package/lib/views/mcp/format.d.ts +25 -0
- package/lib/views/mcp/format.js +77 -0
- package/lib/views/mcp/index.d.ts +34 -0
- package/lib/views/mcp/index.js +42 -0
- package/lib/views/mcp/types.d.ts +66 -0
- package/lib/views/mcp/types.js +5 -0
- package/lib/views/otel/simpleAuthStore.js +3 -0
- package/lib/views/secrets/SecretEdit.d.ts +5 -1
- package/lib/views/secrets/SecretEdit.js +5 -4
- package/lib/views/secrets/SecretNew.d.ts +11 -1
- package/lib/views/secrets/SecretNew.js +7 -3
- package/lib/views/secrets/Secrets.d.ts +12 -1
- package/lib/views/secrets/Secrets.js +2 -2
- package/package.json +269 -260
- package/scripts/generate-contents-types.py +169 -0
- package/scripts/generate-mcp-types.py +233 -0
- package/scripts/generate-orchestration-types.py +920 -0
- package/lib/api/iam/datasources.d.ts +0 -86
- package/lib/api/iam/datasources.js +0 -185
- package/lib/components/toolbars/index.d.ts +0 -1
- package/lib/models/Datasource.d.ts +0 -181
- package/lib/models/Datasource.js +0 -154
- package/lib/state/substates/DatasourceState.d.ts +0 -11
- package/lib/state/substates/DatasourceState.js +0 -16
- /package/lib/{components/toolbars/index.js → api/contents/generated.js} +0 -0
|
@@ -0,0 +1,687 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2023-2025 Datalayer, Inc.
|
|
3
|
+
* Distributed under the terms of the Modified BSD License.
|
|
4
|
+
*/
|
|
5
|
+
export const ORCHESTRATION_LIFECYCLE = {
|
|
6
|
+
initial: 'created',
|
|
7
|
+
states: [
|
|
8
|
+
'created',
|
|
9
|
+
'assigned',
|
|
10
|
+
'running',
|
|
11
|
+
'waiting',
|
|
12
|
+
'paused',
|
|
13
|
+
'retrying',
|
|
14
|
+
'completed',
|
|
15
|
+
'failed',
|
|
16
|
+
'cancelled',
|
|
17
|
+
'terminated',
|
|
18
|
+
],
|
|
19
|
+
terminal: ['completed', 'failed', 'cancelled', 'terminated'],
|
|
20
|
+
events: [
|
|
21
|
+
'assign',
|
|
22
|
+
'start',
|
|
23
|
+
'wait',
|
|
24
|
+
'pause',
|
|
25
|
+
'resume',
|
|
26
|
+
'retry',
|
|
27
|
+
'complete',
|
|
28
|
+
'fail',
|
|
29
|
+
'cancel',
|
|
30
|
+
'terminate',
|
|
31
|
+
],
|
|
32
|
+
transitions: {
|
|
33
|
+
created: {
|
|
34
|
+
cancel: 'cancelled',
|
|
35
|
+
terminate: 'terminated',
|
|
36
|
+
fail: 'failed',
|
|
37
|
+
assign: 'assigned',
|
|
38
|
+
},
|
|
39
|
+
assigned: {
|
|
40
|
+
cancel: 'cancelled',
|
|
41
|
+
terminate: 'terminated',
|
|
42
|
+
fail: 'failed',
|
|
43
|
+
start: 'running',
|
|
44
|
+
retry: 'retrying',
|
|
45
|
+
},
|
|
46
|
+
running: {
|
|
47
|
+
cancel: 'cancelled',
|
|
48
|
+
terminate: 'terminated',
|
|
49
|
+
fail: 'failed',
|
|
50
|
+
wait: 'waiting',
|
|
51
|
+
pause: 'paused',
|
|
52
|
+
retry: 'retrying',
|
|
53
|
+
complete: 'completed',
|
|
54
|
+
},
|
|
55
|
+
waiting: {
|
|
56
|
+
cancel: 'cancelled',
|
|
57
|
+
terminate: 'terminated',
|
|
58
|
+
fail: 'failed',
|
|
59
|
+
resume: 'running',
|
|
60
|
+
retry: 'retrying',
|
|
61
|
+
},
|
|
62
|
+
paused: {
|
|
63
|
+
cancel: 'cancelled',
|
|
64
|
+
terminate: 'terminated',
|
|
65
|
+
fail: 'failed',
|
|
66
|
+
resume: 'running',
|
|
67
|
+
},
|
|
68
|
+
retrying: {
|
|
69
|
+
cancel: 'cancelled',
|
|
70
|
+
terminate: 'terminated',
|
|
71
|
+
fail: 'failed',
|
|
72
|
+
start: 'running',
|
|
73
|
+
},
|
|
74
|
+
completed: {},
|
|
75
|
+
failed: {},
|
|
76
|
+
cancelled: {},
|
|
77
|
+
terminated: {},
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
export const ORCHESTRATION_COMMANDS = [
|
|
81
|
+
{ name: 'agents.discover', mutating: false },
|
|
82
|
+
{ name: 'agents.create', mutating: true },
|
|
83
|
+
{ name: 'agents.attach', mutating: true },
|
|
84
|
+
{ name: 'executions.delegate', mutating: true },
|
|
85
|
+
{ name: 'executions.steer', mutating: true },
|
|
86
|
+
{ name: 'executions.pause', mutating: true },
|
|
87
|
+
{ name: 'executions.resume', mutating: true },
|
|
88
|
+
{ name: 'executions.cancel', mutating: true },
|
|
89
|
+
{ name: 'executions.checkpoint', mutating: true },
|
|
90
|
+
{ name: 'executions.collect', mutating: false },
|
|
91
|
+
{ name: 'executions.terminate', mutating: true },
|
|
92
|
+
{ name: 'executions.subscribe', mutating: false },
|
|
93
|
+
];
|
|
94
|
+
/** The five milestones of section 6.3, in the order they are reached. */
|
|
95
|
+
export const ORCHESTRATION_ACKNOWLEDGEMENT_ORDER = ['received', 'accepted', 'started', 'checkpointed', 'completed'];
|
|
96
|
+
export const ORCHESTRATION_LIMITS = {
|
|
97
|
+
delegation: {
|
|
98
|
+
maxDepth: 3,
|
|
99
|
+
maxChildrenPerParent: 8,
|
|
100
|
+
maxExecutionsPerTree: 32,
|
|
101
|
+
},
|
|
102
|
+
retry: {
|
|
103
|
+
maxRetries: 2,
|
|
104
|
+
initialBackoffSeconds: 1.0,
|
|
105
|
+
backoffMultiplier: 2.0,
|
|
106
|
+
maxBackoffSeconds: 60.0,
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
export const ORCHESTRATION_FIELDS = {
|
|
110
|
+
Acknowledgement: {
|
|
111
|
+
required: ['acknowledgedAt', 'executionId', 'kind'],
|
|
112
|
+
optional: [
|
|
113
|
+
'attemptId',
|
|
114
|
+
'checkpointId',
|
|
115
|
+
'command',
|
|
116
|
+
'detail',
|
|
117
|
+
'idempotencyKey',
|
|
118
|
+
],
|
|
119
|
+
refs: {},
|
|
120
|
+
},
|
|
121
|
+
AgentAuthentication: {
|
|
122
|
+
required: [],
|
|
123
|
+
optional: ['audience', 'schemes', 'scopes'],
|
|
124
|
+
refs: {},
|
|
125
|
+
},
|
|
126
|
+
AgentBinding: {
|
|
127
|
+
required: ['agentId', 'capability', 'protocol'],
|
|
128
|
+
optional: ['endpoint', 'sessionId'],
|
|
129
|
+
refs: {},
|
|
130
|
+
},
|
|
131
|
+
AgentCardMapping: {
|
|
132
|
+
required: ['card'],
|
|
133
|
+
optional: ['gaps'],
|
|
134
|
+
refs: { gaps: 'MappingGap' },
|
|
135
|
+
},
|
|
136
|
+
AgentDescriptor: {
|
|
137
|
+
required: ['agentId', 'name'],
|
|
138
|
+
optional: [
|
|
139
|
+
'authentication',
|
|
140
|
+
'availability',
|
|
141
|
+
'capabilities',
|
|
142
|
+
'cost',
|
|
143
|
+
'dataClassifications',
|
|
144
|
+
'description',
|
|
145
|
+
'endpoints',
|
|
146
|
+
'inputContentTypes',
|
|
147
|
+
'latency',
|
|
148
|
+
'outputContentTypes',
|
|
149
|
+
'runtime',
|
|
150
|
+
'skills',
|
|
151
|
+
'supportedOperations',
|
|
152
|
+
'trustLevel',
|
|
153
|
+
'version',
|
|
154
|
+
],
|
|
155
|
+
refs: {
|
|
156
|
+
authentication: 'AgentAuthentication',
|
|
157
|
+
availability: 'Availability',
|
|
158
|
+
cost: 'CostHint',
|
|
159
|
+
endpoints: 'ProtocolEndpoint',
|
|
160
|
+
latency: 'LatencyHint',
|
|
161
|
+
runtime: 'RuntimeRequirements',
|
|
162
|
+
skills: 'AgentSkill',
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
AgentSkill: {
|
|
166
|
+
required: ['id', 'name'],
|
|
167
|
+
optional: ['description', 'examples', 'tags'],
|
|
168
|
+
refs: {},
|
|
169
|
+
},
|
|
170
|
+
AgentsAttach: {
|
|
171
|
+
required: ['agentId', 'idempotencyKey', 'protocol'],
|
|
172
|
+
optional: ['command', 'endpoint', 'issuedAt', 'sessionId', 'traceparent'],
|
|
173
|
+
refs: {},
|
|
174
|
+
},
|
|
175
|
+
AgentsCreate: {
|
|
176
|
+
required: ['agentId', 'idempotencyKey', 'protocol'],
|
|
177
|
+
optional: ['command', 'executionId', 'issuedAt', 'runtime', 'traceparent'],
|
|
178
|
+
refs: { runtime: 'RuntimeRequirements' },
|
|
179
|
+
},
|
|
180
|
+
AgentsDiscover: {
|
|
181
|
+
required: [],
|
|
182
|
+
optional: [
|
|
183
|
+
'capabilities',
|
|
184
|
+
'command',
|
|
185
|
+
'dataClassification',
|
|
186
|
+
'issuedAt',
|
|
187
|
+
'limit',
|
|
188
|
+
'minimumTrustLevel',
|
|
189
|
+
'operations',
|
|
190
|
+
'protocols',
|
|
191
|
+
'region',
|
|
192
|
+
'traceparent',
|
|
193
|
+
],
|
|
194
|
+
refs: {},
|
|
195
|
+
},
|
|
196
|
+
Artifact: {
|
|
197
|
+
required: ['artifactId', 'name', 'type'],
|
|
198
|
+
optional: [
|
|
199
|
+
'committedBy',
|
|
200
|
+
'mediaType',
|
|
201
|
+
'provenance',
|
|
202
|
+
'reference',
|
|
203
|
+
'sizeBytes',
|
|
204
|
+
'status',
|
|
205
|
+
'summary',
|
|
206
|
+
'supersededBy',
|
|
207
|
+
],
|
|
208
|
+
refs: { provenance: 'ArtifactProvenance' },
|
|
209
|
+
},
|
|
210
|
+
ArtifactCommit: {
|
|
211
|
+
required: ['attemptId', 'executionId', 'winningAttemptId', 'won'],
|
|
212
|
+
optional: ['artifacts'],
|
|
213
|
+
refs: { artifacts: 'Artifact' },
|
|
214
|
+
},
|
|
215
|
+
ArtifactProvenance: {
|
|
216
|
+
required: ['agentId', 'attemptId', 'executionId', 'producedAt'],
|
|
217
|
+
optional: ['contentHash', 'sourceReferences', 'traceId'],
|
|
218
|
+
refs: {},
|
|
219
|
+
},
|
|
220
|
+
Attempt: {
|
|
221
|
+
required: ['agentId', 'attemptId', 'executionId', 'number', 'protocol'],
|
|
222
|
+
optional: [
|
|
223
|
+
'endedAt',
|
|
224
|
+
'error',
|
|
225
|
+
'leaseExpiresAt',
|
|
226
|
+
'protocolTaskId',
|
|
227
|
+
'resumedFrom',
|
|
228
|
+
'sessionId',
|
|
229
|
+
'startedAt',
|
|
230
|
+
'state',
|
|
231
|
+
'usage',
|
|
232
|
+
],
|
|
233
|
+
refs: { error: 'OrchestrationError', usage: 'Usage' },
|
|
234
|
+
},
|
|
235
|
+
Availability: {
|
|
236
|
+
required: [],
|
|
237
|
+
optional: ['available', 'maxConcurrentExecutions', 'queueDepth'],
|
|
238
|
+
refs: {},
|
|
239
|
+
},
|
|
240
|
+
Budget: {
|
|
241
|
+
required: [],
|
|
242
|
+
optional: [
|
|
243
|
+
'cost',
|
|
244
|
+
'credits',
|
|
245
|
+
'currency',
|
|
246
|
+
'executions',
|
|
247
|
+
'inputTokens',
|
|
248
|
+
'outputTokens',
|
|
249
|
+
'wallClockSeconds',
|
|
250
|
+
],
|
|
251
|
+
refs: {},
|
|
252
|
+
},
|
|
253
|
+
CancelAnswer: {
|
|
254
|
+
required: ['acknowledgement', 'delivered', 'execution'],
|
|
255
|
+
optional: ['cancelledExecutionIds', 'detail', 'success'],
|
|
256
|
+
refs: { acknowledgement: 'Acknowledgement', execution: 'Execution' },
|
|
257
|
+
},
|
|
258
|
+
CollectAnswer: {
|
|
259
|
+
required: ['artifacts', 'execution'],
|
|
260
|
+
optional: ['attempts', 'children', 'success'],
|
|
261
|
+
refs: {
|
|
262
|
+
artifacts: 'Artifact',
|
|
263
|
+
attempts: 'Attempt',
|
|
264
|
+
children: 'Execution',
|
|
265
|
+
execution: 'Execution',
|
|
266
|
+
},
|
|
267
|
+
},
|
|
268
|
+
Command: {
|
|
269
|
+
required: ['command'],
|
|
270
|
+
optional: ['issuedAt', 'traceparent'],
|
|
271
|
+
refs: {},
|
|
272
|
+
},
|
|
273
|
+
CommandAnswer: {
|
|
274
|
+
required: ['acknowledgement', 'delivered', 'execution'],
|
|
275
|
+
optional: ['detail', 'success'],
|
|
276
|
+
refs: { acknowledgement: 'Acknowledgement', execution: 'Execution' },
|
|
277
|
+
},
|
|
278
|
+
ContextManifest: {
|
|
279
|
+
required: [],
|
|
280
|
+
optional: ['expiresAt', 'references', 'scope'],
|
|
281
|
+
refs: { references: 'ContextReference' },
|
|
282
|
+
},
|
|
283
|
+
ContextReference: {
|
|
284
|
+
required: ['uri'],
|
|
285
|
+
optional: [
|
|
286
|
+
'access',
|
|
287
|
+
'description',
|
|
288
|
+
'materialization',
|
|
289
|
+
'required',
|
|
290
|
+
'sharing',
|
|
291
|
+
],
|
|
292
|
+
refs: {},
|
|
293
|
+
},
|
|
294
|
+
CostHint: {
|
|
295
|
+
required: [],
|
|
296
|
+
optional: ['currency', 'perExecution', 'perInputToken', 'perOutputToken'],
|
|
297
|
+
refs: {},
|
|
298
|
+
},
|
|
299
|
+
DelegateAnswer: {
|
|
300
|
+
required: ['acknowledgement', 'dispatched', 'execution'],
|
|
301
|
+
optional: ['detail', 'success'],
|
|
302
|
+
refs: { acknowledgement: 'Acknowledgement', execution: 'Execution' },
|
|
303
|
+
},
|
|
304
|
+
DelegationLimits: {
|
|
305
|
+
required: [],
|
|
306
|
+
optional: ['maxChildrenPerParent', 'maxDepth', 'maxExecutionsPerTree'],
|
|
307
|
+
refs: {},
|
|
308
|
+
},
|
|
309
|
+
DescriptorMapping: {
|
|
310
|
+
required: ['descriptor', 'source'],
|
|
311
|
+
optional: ['gaps'],
|
|
312
|
+
refs: { descriptor: 'AgentDescriptor', gaps: 'MappingGap' },
|
|
313
|
+
},
|
|
314
|
+
DiscoverAnswer: {
|
|
315
|
+
required: ['agents'],
|
|
316
|
+
optional: ['success'],
|
|
317
|
+
refs: { agents: 'AgentDescriptor' },
|
|
318
|
+
},
|
|
319
|
+
Execution: {
|
|
320
|
+
required: [
|
|
321
|
+
'agent',
|
|
322
|
+
'createdAt',
|
|
323
|
+
'executionId',
|
|
324
|
+
'objective',
|
|
325
|
+
'rootExecutionId',
|
|
326
|
+
'updatedAt',
|
|
327
|
+
],
|
|
328
|
+
optional: [
|
|
329
|
+
'attemptCount',
|
|
330
|
+
'context',
|
|
331
|
+
'currentAttemptId',
|
|
332
|
+
'depth',
|
|
333
|
+
'error',
|
|
334
|
+
'parentExecutionId',
|
|
335
|
+
'policy',
|
|
336
|
+
'recovery',
|
|
337
|
+
'status',
|
|
338
|
+
'statusMessage',
|
|
339
|
+
'trace',
|
|
340
|
+
],
|
|
341
|
+
refs: {
|
|
342
|
+
agent: 'AgentBinding',
|
|
343
|
+
context: 'ContextManifest',
|
|
344
|
+
error: 'OrchestrationError',
|
|
345
|
+
objective: 'Objective',
|
|
346
|
+
policy: 'Policy',
|
|
347
|
+
recovery: 'Recovery',
|
|
348
|
+
trace: 'Trace',
|
|
349
|
+
},
|
|
350
|
+
},
|
|
351
|
+
ExecutionAnswer: {
|
|
352
|
+
required: ['acknowledgements', 'attempts', 'execution'],
|
|
353
|
+
optional: ['success'],
|
|
354
|
+
refs: {
|
|
355
|
+
acknowledgements: 'Acknowledgement',
|
|
356
|
+
attempts: 'Attempt',
|
|
357
|
+
execution: 'Execution',
|
|
358
|
+
},
|
|
359
|
+
},
|
|
360
|
+
ExecutionEvent: {
|
|
361
|
+
required: [
|
|
362
|
+
'emittedAt',
|
|
363
|
+
'eventId',
|
|
364
|
+
'executionId',
|
|
365
|
+
'rootExecutionId',
|
|
366
|
+
'sequence',
|
|
367
|
+
'type',
|
|
368
|
+
],
|
|
369
|
+
optional: [
|
|
370
|
+
'acknowledgement',
|
|
371
|
+
'agentId',
|
|
372
|
+
'approvalUid',
|
|
373
|
+
'artifact',
|
|
374
|
+
'attemptId',
|
|
375
|
+
'data',
|
|
376
|
+
'error',
|
|
377
|
+
'lifecycleEvent',
|
|
378
|
+
'message',
|
|
379
|
+
'parentExecutionId',
|
|
380
|
+
'previousState',
|
|
381
|
+
'protocol',
|
|
382
|
+
'sessionId',
|
|
383
|
+
'state',
|
|
384
|
+
'traceparent',
|
|
385
|
+
],
|
|
386
|
+
refs: {
|
|
387
|
+
acknowledgement: 'Acknowledgement',
|
|
388
|
+
artifact: 'Artifact',
|
|
389
|
+
error: 'OrchestrationError',
|
|
390
|
+
},
|
|
391
|
+
},
|
|
392
|
+
ExecutionSummary: {
|
|
393
|
+
required: [
|
|
394
|
+
'agentId',
|
|
395
|
+
'depth',
|
|
396
|
+
'executionId',
|
|
397
|
+
'goal',
|
|
398
|
+
'protocol',
|
|
399
|
+
'status',
|
|
400
|
+
'updatedAt',
|
|
401
|
+
],
|
|
402
|
+
optional: ['parentExecutionId'],
|
|
403
|
+
refs: {},
|
|
404
|
+
},
|
|
405
|
+
ExecutionsAnswer: {
|
|
406
|
+
required: ['executions'],
|
|
407
|
+
optional: ['success'],
|
|
408
|
+
refs: { executions: 'Execution' },
|
|
409
|
+
},
|
|
410
|
+
ExecutionsCancel: {
|
|
411
|
+
required: ['executionId', 'idempotencyKey'],
|
|
412
|
+
optional: ['cascade', 'command', 'issuedAt', 'reason', 'traceparent'],
|
|
413
|
+
refs: {},
|
|
414
|
+
},
|
|
415
|
+
ExecutionsCheckpoint: {
|
|
416
|
+
required: ['executionId', 'idempotencyKey'],
|
|
417
|
+
optional: ['command', 'issuedAt', 'label', 'traceparent'],
|
|
418
|
+
refs: {},
|
|
419
|
+
},
|
|
420
|
+
ExecutionsCollect: {
|
|
421
|
+
required: ['executionId'],
|
|
422
|
+
optional: [
|
|
423
|
+
'artifactTypes',
|
|
424
|
+
'command',
|
|
425
|
+
'includeChildren',
|
|
426
|
+
'issuedAt',
|
|
427
|
+
'traceparent',
|
|
428
|
+
],
|
|
429
|
+
refs: {},
|
|
430
|
+
},
|
|
431
|
+
ExecutionsDelegate: {
|
|
432
|
+
required: ['agent', 'idempotencyKey', 'objective'],
|
|
433
|
+
optional: [
|
|
434
|
+
'command',
|
|
435
|
+
'context',
|
|
436
|
+
'issuedAt',
|
|
437
|
+
'parentExecutionId',
|
|
438
|
+
'policy',
|
|
439
|
+
'recovery',
|
|
440
|
+
'slot',
|
|
441
|
+
'trace',
|
|
442
|
+
'traceparent',
|
|
443
|
+
],
|
|
444
|
+
refs: {
|
|
445
|
+
agent: 'AgentBinding',
|
|
446
|
+
context: 'ContextManifest',
|
|
447
|
+
objective: 'Objective',
|
|
448
|
+
policy: 'Policy',
|
|
449
|
+
recovery: 'Recovery',
|
|
450
|
+
trace: 'Trace',
|
|
451
|
+
},
|
|
452
|
+
},
|
|
453
|
+
ExecutionsPause: {
|
|
454
|
+
required: ['executionId', 'idempotencyKey'],
|
|
455
|
+
optional: ['command', 'issuedAt', 'reason', 'traceparent'],
|
|
456
|
+
refs: {},
|
|
457
|
+
},
|
|
458
|
+
ExecutionsResume: {
|
|
459
|
+
required: ['executionId', 'idempotencyKey'],
|
|
460
|
+
optional: ['checkpointId', 'command', 'issuedAt', 'traceparent'],
|
|
461
|
+
refs: {},
|
|
462
|
+
},
|
|
463
|
+
ExecutionsSteer: {
|
|
464
|
+
required: ['executionId', 'idempotencyKey', 'instructions'],
|
|
465
|
+
optional: ['command', 'issuedAt', 'references', 'traceparent'],
|
|
466
|
+
refs: { references: 'ContextReference' },
|
|
467
|
+
},
|
|
468
|
+
ExecutionsSubscribe: {
|
|
469
|
+
required: ['executionId'],
|
|
470
|
+
optional: [
|
|
471
|
+
'command',
|
|
472
|
+
'events',
|
|
473
|
+
'fromSequence',
|
|
474
|
+
'includeChildren',
|
|
475
|
+
'issuedAt',
|
|
476
|
+
'traceparent',
|
|
477
|
+
],
|
|
478
|
+
refs: {},
|
|
479
|
+
},
|
|
480
|
+
ExecutionsTerminate: {
|
|
481
|
+
required: ['executionId', 'idempotencyKey'],
|
|
482
|
+
optional: ['command', 'issuedAt', 'reason', 'releaseWorker', 'traceparent'],
|
|
483
|
+
refs: {},
|
|
484
|
+
},
|
|
485
|
+
LatencyHint: {
|
|
486
|
+
required: [],
|
|
487
|
+
optional: ['acceptanceP50Ms', 'completionP50Ms', 'completionP95Ms'],
|
|
488
|
+
refs: {},
|
|
489
|
+
},
|
|
490
|
+
ManifestResolution: {
|
|
491
|
+
required: [],
|
|
492
|
+
optional: ['errors', 'references', 'usable'],
|
|
493
|
+
refs: { errors: 'OrchestrationError', references: 'ReferenceResolution' },
|
|
494
|
+
},
|
|
495
|
+
MappingGap: { required: ['field', 'reason'], optional: [], refs: {} },
|
|
496
|
+
MutatingCommand: {
|
|
497
|
+
required: ['command', 'idempotencyKey'],
|
|
498
|
+
optional: ['issuedAt', 'traceparent'],
|
|
499
|
+
refs: {},
|
|
500
|
+
},
|
|
501
|
+
Objective: {
|
|
502
|
+
required: ['goal'],
|
|
503
|
+
optional: ['acceptanceCriteria', 'instructions'],
|
|
504
|
+
refs: {},
|
|
505
|
+
},
|
|
506
|
+
OrchestrationError: {
|
|
507
|
+
required: ['code', 'message'],
|
|
508
|
+
optional: ['details', 'retryable', 'source'],
|
|
509
|
+
refs: {},
|
|
510
|
+
},
|
|
511
|
+
Permissions: {
|
|
512
|
+
required: [],
|
|
513
|
+
optional: ['agents', 'network', 'sandboxes', 'tools'],
|
|
514
|
+
refs: {},
|
|
515
|
+
},
|
|
516
|
+
Policy: {
|
|
517
|
+
required: [],
|
|
518
|
+
optional: [
|
|
519
|
+
'approvalRequired',
|
|
520
|
+
'budget',
|
|
521
|
+
'dataClassification',
|
|
522
|
+
'deadline',
|
|
523
|
+
'limits',
|
|
524
|
+
'permissions',
|
|
525
|
+
],
|
|
526
|
+
refs: {
|
|
527
|
+
budget: 'Budget',
|
|
528
|
+
limits: 'DelegationLimits',
|
|
529
|
+
permissions: 'Permissions',
|
|
530
|
+
},
|
|
531
|
+
},
|
|
532
|
+
ProtocolEndpoint: {
|
|
533
|
+
required: ['protocol'],
|
|
534
|
+
optional: ['protocolVersion', 'transport', 'url'],
|
|
535
|
+
refs: {},
|
|
536
|
+
},
|
|
537
|
+
ReadCommand: {
|
|
538
|
+
required: ['command'],
|
|
539
|
+
optional: ['issuedAt', 'traceparent'],
|
|
540
|
+
refs: {},
|
|
541
|
+
},
|
|
542
|
+
Recovery: {
|
|
543
|
+
required: [],
|
|
544
|
+
optional: ['checkpointRequired', 'retryPolicy'],
|
|
545
|
+
refs: { retryPolicy: 'RetryPolicy' },
|
|
546
|
+
},
|
|
547
|
+
ReferenceResolution: {
|
|
548
|
+
required: ['status', 'uri'],
|
|
549
|
+
optional: [
|
|
550
|
+
'contentHash',
|
|
551
|
+
'error',
|
|
552
|
+
'mediaType',
|
|
553
|
+
'resolvedAt',
|
|
554
|
+
'resolvedVersion',
|
|
555
|
+
'sizeBytes',
|
|
556
|
+
],
|
|
557
|
+
refs: { error: 'OrchestrationError' },
|
|
558
|
+
},
|
|
559
|
+
ReportAnswer: {
|
|
560
|
+
required: ['artifact', 'execution'],
|
|
561
|
+
optional: ['success'],
|
|
562
|
+
refs: { artifact: 'Artifact', execution: 'Execution' },
|
|
563
|
+
},
|
|
564
|
+
RetryPolicy: {
|
|
565
|
+
required: [],
|
|
566
|
+
optional: [
|
|
567
|
+
'backoffMultiplier',
|
|
568
|
+
'initialBackoffSeconds',
|
|
569
|
+
'maxBackoffSeconds',
|
|
570
|
+
'maxRetries',
|
|
571
|
+
],
|
|
572
|
+
refs: {},
|
|
573
|
+
},
|
|
574
|
+
RuntimeRequirements: {
|
|
575
|
+
required: [],
|
|
576
|
+
optional: ['cpu', 'environment', 'gpu', 'memoryMb', 'region'],
|
|
577
|
+
refs: {},
|
|
578
|
+
},
|
|
579
|
+
Trace: { required: [], optional: ['traceparent', 'tracestate'], refs: {} },
|
|
580
|
+
TreeAnswer: {
|
|
581
|
+
required: ['tree'],
|
|
582
|
+
optional: ['success'],
|
|
583
|
+
refs: { tree: 'TreeSummary' },
|
|
584
|
+
},
|
|
585
|
+
TreeSummary: {
|
|
586
|
+
required: ['counts', 'executions', 'rootExecutionId', 'terminal'],
|
|
587
|
+
optional: [],
|
|
588
|
+
refs: { executions: 'ExecutionSummary' },
|
|
589
|
+
},
|
|
590
|
+
Usage: {
|
|
591
|
+
required: [],
|
|
592
|
+
optional: ['cost', 'currency', 'inputTokens', 'outputTokens'],
|
|
593
|
+
refs: {},
|
|
594
|
+
},
|
|
595
|
+
Worker: {
|
|
596
|
+
required: ['agentId', 'protocol'],
|
|
597
|
+
optional: ['endpoint', 'sessionId', 'supportedOperations', 'workflowUid'],
|
|
598
|
+
refs: {},
|
|
599
|
+
},
|
|
600
|
+
WorkerAnswer: {
|
|
601
|
+
required: ['worker'],
|
|
602
|
+
optional: ['detail', 'success'],
|
|
603
|
+
refs: { worker: 'Worker' },
|
|
604
|
+
},
|
|
605
|
+
};
|
|
606
|
+
export const ORCHESTRATION_API = [
|
|
607
|
+
{
|
|
608
|
+
operation: 'agents.attach',
|
|
609
|
+
method: 'POST',
|
|
610
|
+
path: '/api/ai-agents/v1/orchestration/agents/attach',
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
operation: 'agents.create',
|
|
614
|
+
method: 'POST',
|
|
615
|
+
path: '/api/ai-agents/v1/orchestration/agents/create',
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
operation: 'agents.discover',
|
|
619
|
+
method: 'POST',
|
|
620
|
+
path: '/api/ai-agents/v1/orchestration/agents/discover',
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
operation: 'executions.list',
|
|
624
|
+
method: 'GET',
|
|
625
|
+
path: '/api/ai-agents/v1/orchestration/executions',
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
operation: 'executions.cancel',
|
|
629
|
+
method: 'POST',
|
|
630
|
+
path: '/api/ai-agents/v1/orchestration/executions/cancel',
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
operation: 'executions.checkpoint',
|
|
634
|
+
method: 'POST',
|
|
635
|
+
path: '/api/ai-agents/v1/orchestration/executions/checkpoint',
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
operation: 'executions.collect',
|
|
639
|
+
method: 'POST',
|
|
640
|
+
path: '/api/ai-agents/v1/orchestration/executions/collect',
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
operation: 'executions.delegate',
|
|
644
|
+
method: 'POST',
|
|
645
|
+
path: '/api/ai-agents/v1/orchestration/executions/delegate',
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
operation: 'executions.pause',
|
|
649
|
+
method: 'POST',
|
|
650
|
+
path: '/api/ai-agents/v1/orchestration/executions/pause',
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
operation: 'executions.resume',
|
|
654
|
+
method: 'POST',
|
|
655
|
+
path: '/api/ai-agents/v1/orchestration/executions/resume',
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
operation: 'executions.steer',
|
|
659
|
+
method: 'POST',
|
|
660
|
+
path: '/api/ai-agents/v1/orchestration/executions/steer',
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
operation: 'executions.terminate',
|
|
664
|
+
method: 'POST',
|
|
665
|
+
path: '/api/ai-agents/v1/orchestration/executions/terminate',
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
operation: 'executions.get',
|
|
669
|
+
method: 'GET',
|
|
670
|
+
path: '/api/ai-agents/v1/orchestration/executions/{execution_id}',
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
operation: 'executions.announce',
|
|
674
|
+
method: 'POST',
|
|
675
|
+
path: '/api/ai-agents/v1/orchestration/executions/{execution_id}/announce',
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
operation: 'executions.subscribe',
|
|
679
|
+
method: 'GET',
|
|
680
|
+
path: '/api/ai-agents/v1/orchestration/executions/{execution_id}/events',
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
operation: 'executions.report',
|
|
684
|
+
method: 'POST',
|
|
685
|
+
path: '/api/ai-agents/v1/orchestration/executions/{execution_id}/report',
|
|
686
|
+
},
|
|
687
|
+
];
|