@opengeni/api-router 0.30.1 → 1.0.0
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/dist/access-grant-rls.d.ts +3 -0
- package/dist/admission-trace.d.ts +8 -0
- package/dist/api-websocket.d.ts +18 -0
- package/dist/app.d.ts +50 -2
- package/dist/app.js +12 -1
- package/dist/artifact-catalog-cursor.d.ts +27 -0
- package/dist/auth/managed-auth-attempt-context.d.ts +10 -0
- package/dist/auth/managed-auth-rate-limits.d.ts +167 -0
- package/dist/auth/managed-auth-session-adapter.d.ts +6 -0
- package/dist/auth/managed-auth.d.ts +102 -3
- package/dist/auth/managed-email.d.ts +29 -0
- package/dist/auth/managed-sign-in-notifications.d.ts +4 -0
- package/dist/auth/new-signups-gate.d.ts +23 -0
- package/dist/auth/organization-user-setup.d.ts +80 -0
- package/dist/auth/signup-funnel-metrics.d.ts +44 -0
- package/dist/browser-controller-authority.d.ts +1 -61
- package/dist/browser-ephemeral.d.ts +5 -0
- package/dist/browser-state-authority.d.ts +1 -27
- package/dist/chunk-6TZ5LG3O.js +123948 -0
- package/dist/chunk-6TZ5LG3O.js.map +1 -0
- package/dist/chunk-OGQDXVXY.js +18 -0
- package/dist/chunk-OGQDXVXY.js.map +1 -0
- package/dist/claude-subscription-account-conflicts.d.ts +1 -0
- package/dist/claude-subscription-account-usage.d.ts +39 -0
- package/dist/claude-subscription-oauth.d.ts +25 -0
- package/dist/claude-subscription-profile.d.ts +9 -0
- package/dist/claude-subscription-usage.d.ts +44 -0
- package/dist/claude-workspace-connection.d.ts +15 -0
- package/dist/codemode.d.ts +32 -1
- package/dist/company-brain-okf.d.ts +24 -0
- package/dist/connected-machine-computer-access.d.ts +11 -0
- package/dist/connection-ownership.d.ts +54 -0
- package/dist/controller-data-plane.d.ts +32 -0
- package/dist/editable-artifact-office-import.d.ts +7 -4
- package/dist/editable-artifact-source-session.d.ts +3 -0
- package/dist/editable-artifact-websocket.d.ts +10 -18
- package/dist/editable-artifact-workspace-files.d.ts +1 -1
- package/dist/fatal-process-boundary.d.ts +25 -0
- package/dist/github-access.d.ts +31 -2
- package/dist/http/acting-person.d.ts +24 -0
- package/dist/http/api-contract-compat.d.ts +19 -0
- package/dist/http/api-error.d.ts +27 -1
- package/dist/http/cors.d.ts +17 -0
- package/dist/http/deprecation.d.ts +42 -0
- package/dist/http/interaction-control-error.d.ts +13 -0
- package/dist/http/keyed-admission.d.ts +12 -0
- package/dist/http/local-browser-boundary.d.ts +72 -0
- package/dist/http/metrics-listener.d.ts +22 -0
- package/dist/http/path-identifier.d.ts +17 -0
- package/dist/http/registered-route-label.d.ts +16 -0
- package/dist/http/request-body.d.ts +27 -0
- package/dist/http/request-source.d.ts +52 -0
- package/dist/http/sse.d.ts +17 -6
- package/dist/http/unmatched-route.d.ts +18 -0
- package/dist/http/user-content.d.ts +36 -0
- package/dist/http/websocket-upgrade-dispatch.d.ts +18 -0
- package/dist/index.d.ts +10 -3
- package/dist/index.js +1129 -166
- package/dist/index.js.map +1 -1
- package/dist/integration-endpoint-test.d.ts +20 -0
- package/dist/integrations/api-integrations.d.ts +2 -2
- package/dist/integrations/atlassian.d.ts +29 -3
- package/dist/integrations/connect-authority.d.ts +1 -0
- package/dist/integrations/connect-callback-return.d.ts +6 -0
- package/dist/integrations/fiken.d.ts +16 -2
- package/dist/integrations/github-app-connect.d.ts +47 -0
- package/dist/integrations/github-installation-proof.d.ts +3 -0
- package/dist/integrations/github-lens-connect.d.ts +116 -0
- package/dist/integrations/github-skill-source.d.ts +1 -5
- package/dist/integrations/google-drive.d.ts +25 -0
- package/dist/integrations/integration-commit-authority.d.ts +13 -0
- package/dist/integrations/marketplace-plugin.d.ts +2691 -0
- package/dist/integrations/oauth-client.d.ts +178 -18
- package/dist/integrations/oauth-profiles.d.ts +222 -0
- package/dist/integrations/oauth-return-path.d.ts +1 -0
- package/dist/integrations/personal-github-repositories.d.ts +84 -0
- package/dist/integrations/personal-github.d.ts +42 -0
- package/dist/integrations/pr-review-provider.d.ts +22 -0
- package/dist/integrations/provider-oauth.d.ts +19 -1
- package/dist/integrations/slack-app-home.d.ts +24 -0
- package/dist/integrations/slack-bot.d.ts +367 -12
- package/dist/integrations/slack-file-upload-flow.d.ts +62 -0
- package/dist/integrations/slack-install.d.ts +20 -0
- package/dist/integrations/slack-interactions.d.ts +113 -10
- package/dist/integrations/slack-mrkdwn.d.ts +41 -0
- package/dist/integrations/slack-routing.d.ts +120 -0
- package/dist/integrations/slack-session-defaults.d.ts +58 -0
- package/dist/integrations/slack-task-file-upload.d.ts +36 -0
- package/dist/integrations/social-oauth.d.ts +7 -0
- package/dist/interaction-agent-access.d.ts +15 -0
- package/dist/interaction-frame-proxy.d.ts +68 -0
- package/dist/interaction-metrics.d.ts +2 -0
- package/dist/mcp/action-catalog-types.d.ts +9 -0
- package/dist/mcp/action-catalog.gen.d.ts +2 -0
- package/dist/mcp/capability-account-readiness.d.ts +7 -0
- package/dist/mcp/child-read-evidence.d.ts +9 -0
- package/dist/mcp/command-read.d.ts +24 -0
- package/dist/mcp/company-profile-agent-admin.d.ts +44 -0
- package/dist/mcp/contract-input.d.ts +11 -0
- package/dist/mcp/documents.d.ts +7 -5
- package/dist/mcp/files.d.ts +2 -2
- package/dist/mcp/first-party-tool-permissions.d.ts +650 -0
- package/dist/mcp/knowledge-entries.d.ts +5 -0
- package/dist/mcp/orchestration-failure-diagnostic.d.ts +43 -0
- package/dist/mcp/receipts.d.ts +9 -0
- package/dist/mcp/request-abort.d.ts +19 -0
- package/dist/mcp/scheduled-task-input.d.ts +1189 -0
- package/dist/mcp/scheduled-task-view.d.ts +22 -4
- package/dist/mcp/server.d.ts +255 -3
- package/dist/mcp/session-event-view.d.ts +94 -0
- package/dist/mcp/session-view.d.ts +66 -2
- package/dist/mcp/session-wait.d.ts +174 -0
- package/dist/mcp-oauth.d.ts +52 -0
- package/dist/model-catalog.d.ts +11 -31
- package/dist/observability.d.ts +3 -1
- package/dist/organization-mcp.d.ts +52 -0
- package/dist/organization-recovery-notifications.d.ts +41 -0
- package/dist/routes/analytics-consent.d.ts +26 -0
- package/dist/routes/api-integrations.d.ts +25 -0
- package/dist/routes/api-keys.d.ts +17 -0
- package/dist/routes/artifact-catalog.d.ts +6 -0
- package/dist/routes/automations.d.ts +19 -0
- package/dist/routes/billing.d.ts +49 -0
- package/dist/routes/browser-sessions.d.ts +71 -3
- package/dist/routes/claude-subscription-accounts.d.ts +3 -0
- package/dist/routes/claude-subscription-oauth.d.ts +3 -0
- package/dist/routes/client-errors.d.ts +146 -0
- package/dist/routes/codex.d.ts +76 -2
- package/dist/routes/company-brain.d.ts +3 -0
- package/dist/routes/company-profile.d.ts +2 -1
- package/dist/routes/computer-sessions.d.ts +14 -0
- package/dist/routes/connect.d.ts +5 -0
- package/dist/routes/editable-artifacts.d.ts +2 -0
- package/dist/routes/external-identity-links.d.ts +6 -0
- package/dist/routes/feedback.d.ts +3 -0
- package/dist/routes/files.d.ts +4 -0
- package/dist/routes/github-browser-pages.d.ts +12 -0
- package/dist/routes/github.d.ts +2 -0
- package/dist/routes/insights-response-cache.d.ts +10 -0
- package/dist/routes/insights-usage.d.ts +12 -0
- package/dist/routes/insights.d.ts +30 -1
- package/dist/routes/knowledge.d.ts +3 -0
- package/dist/routes/managed-auth-session-sets.d.ts +26 -0
- package/dist/routes/managed-onboarding.d.ts +29 -0
- package/dist/routes/managed-sign-in-methods.d.ts +6 -0
- package/dist/routes/model-connection-access.d.ts +3 -0
- package/dist/routes/organization-integration-policy.d.ts +3 -0
- package/dist/routes/organization-integrations.d.ts +6 -0
- package/dist/routes/organization-mcp-connections.d.ts +3 -0
- package/dist/routes/organization-model-providers.d.ts +3 -0
- package/dist/routes/organization-recovery.d.ts +19 -0
- package/dist/routes/organization-service-accounts.d.ts +3 -0
- package/dist/routes/organization-sessions.d.ts +26 -0
- package/dist/routes/personal-github-git-broker.d.ts +29 -0
- package/dist/routes/personal-github.d.ts +3 -0
- package/dist/routes/pr-review-github.d.ts +3 -0
- package/dist/routes/pr-review.d.ts +3 -0
- package/dist/routes/session-artifact-associations.d.ts +4 -0
- package/dist/routes/session-history-imports.d.ts +9 -0
- package/dist/routes/sessions.d.ts +44 -6
- package/dist/routes/skill-content.d.ts +4 -0
- package/dist/routes/skill-install-authority.d.ts +6 -0
- package/dist/routes/subscription-account-pools.d.ts +34 -0
- package/dist/routes/subscription-pool-access.d.ts +16 -0
- package/dist/routes/supergrok.d.ts +6 -1
- package/dist/routes/usage-allowances.d.ts +12 -0
- package/dist/routes/user-resource-authorities.d.ts +3 -0
- package/dist/routes/workspace-artifacts.d.ts +2 -1
- package/dist/routes/workspace-capture.d.ts +10 -2
- package/dist/routes/workspace-integrations.d.ts +35 -0
- package/dist/routes/workspace-learning.d.ts +3 -0
- package/dist/routes/workspace-model-providers.d.ts +4 -0
- package/dist/routes/workspaces.d.ts +29 -0
- package/dist/sandbox/auth-callout.d.ts +8 -0
- package/dist/sandbox/channel-a.d.ts +19 -1
- package/dist/sandbox/connection-authority.d.ts +3 -0
- package/dist/sandbox/enrollment.d.ts +9 -1
- package/dist/sandbox/machines.d.ts +5 -2
- package/dist/sandbox/metrics-ingestion.d.ts +28 -20
- package/dist/sandbox/rematerialize.d.ts +2 -0
- package/dist/sandbox/session-attach-variable-sets.d.ts +30 -0
- package/dist/sandbox/viewer.d.ts +26 -1
- package/dist/sandbox-file-artifacts.d.ts +50 -0
- package/dist/scheduled-task-deletion.d.ts +13 -0
- package/dist/session-create-observability.d.ts +5 -0
- package/dist/session-event-view-MPS2OZD3.js +292 -0
- package/dist/session-event-view-MPS2OZD3.js.map +1 -0
- package/dist/site-session-origin.d.ts +13 -0
- package/dist/site-uploads.d.ts +41 -0
- package/dist/slack-reaction-files.d.ts +1 -1
- package/dist/temporal-schedule-cleanup.d.ts +1 -0
- package/dist/temporal-schedule-sync.d.ts +26 -0
- package/dist/transcription/providers/xai-subscription.d.ts +1 -0
- package/dist/transcription/service.d.ts +2 -1
- package/dist/work-discovery-observability.d.ts +33 -0
- package/dist/workspace-artifact-content.d.ts +28 -0
- package/dist/workspace-artifact-provenance.d.ts +7 -0
- package/dist/workspace-delete-observability.d.ts +10 -0
- package/dist/workspace-deletion.d.ts +6 -0
- package/dist/workspace-state-projection.d.ts +3 -5
- package/dist/workspace-tool-gateway-observability.d.ts +17 -0
- package/dist/workspace-tool-gateway.d.ts +123 -0
- package/dist/workspace-webhook-dispatch.d.ts +26 -0
- package/package.json +23 -19
- package/src/access-grant-rls.ts +75 -0
- package/src/admission-trace.ts +14 -0
- package/src/api-websocket.ts +23 -0
- package/src/app.ts +1974 -256
- package/src/artifact-catalog-cursor.ts +60 -0
- package/src/auth/managed-auth-attempt-context.ts +70 -0
- package/src/auth/managed-auth-rate-limits.ts +252 -0
- package/src/auth/managed-auth-session-adapter.ts +222 -0
- package/src/auth/managed-auth.ts +536 -60
- package/src/auth/managed-email.ts +174 -0
- package/src/auth/managed-sign-in-notifications.ts +81 -0
- package/src/auth/new-signups-gate.ts +49 -0
- package/src/auth/organization-user-setup.ts +307 -0
- package/src/auth/signup-funnel-metrics.ts +164 -0
- package/src/browser-controller-authority.ts +1 -186
- package/src/browser-ephemeral.ts +39 -0
- package/src/browser-state-authority.ts +1 -236
- package/src/claude-subscription-account-conflicts.ts +12 -0
- package/src/claude-subscription-account-usage.ts +48 -0
- package/src/claude-subscription-oauth.ts +362 -0
- package/src/claude-subscription-profile.ts +73 -0
- package/src/claude-subscription-usage.ts +97 -0
- package/src/claude-workspace-connection.ts +82 -0
- package/src/codemode.ts +194 -30
- package/src/codex-realtime.ts +8 -2
- package/src/company-brain-okf.ts +340 -0
- package/src/connected-machine-computer-access.ts +33 -0
- package/src/connection-ownership.ts +199 -0
- package/src/controller-data-plane.ts +81 -0
- package/src/editable-artifact-native-kernel.ts +26 -15
- package/src/editable-artifact-office-import.ts +77 -9
- package/src/editable-artifact-production.ts +23 -7
- package/src/editable-artifact-source-session.ts +123 -0
- package/src/editable-artifact-websocket.ts +27 -21
- package/src/editable-artifact-workspace-files.ts +31 -6
- package/src/fatal-process-boundary.ts +246 -0
- package/src/gateway-realtime.ts +1 -1
- package/src/github-access.ts +147 -5
- package/src/http/acting-person.ts +71 -0
- package/src/http/api-contract-compat.ts +49 -0
- package/src/http/api-error.ts +115 -1
- package/src/http/auth.ts +48 -0
- package/src/http/cors.ts +67 -0
- package/src/http/deprecation.ts +118 -0
- package/src/http/interaction-control-error.ts +164 -0
- package/src/http/keyed-admission.ts +29 -0
- package/src/http/local-browser-boundary.ts +343 -0
- package/src/http/metrics-listener.ts +57 -0
- package/src/http/path-identifier.ts +54 -0
- package/src/http/registered-route-label.ts +34 -0
- package/src/http/request-body.ts +127 -0
- package/src/http/request-source.ts +178 -0
- package/src/http/sse.ts +486 -132
- package/src/http/unmatched-route.ts +60 -0
- package/src/http/user-content.ts +158 -0
- package/src/http/websocket-upgrade-dispatch.ts +29 -0
- package/src/index.ts +157 -52
- package/src/integration-endpoint-test.ts +291 -0
- package/src/integrations/api-integrations.ts +98 -11
- package/src/integrations/atlassian.ts +474 -136
- package/src/integrations/connect-authority.ts +2 -0
- package/src/integrations/connect-callback-return.ts +86 -0
- package/src/integrations/fiken.ts +354 -64
- package/src/integrations/github-app-connect.ts +435 -0
- package/src/integrations/github-installation-proof.ts +60 -0
- package/src/integrations/github-lens-connect.ts +76 -0
- package/src/integrations/github-skill-source.ts +2 -142
- package/src/integrations/google-drive.ts +820 -222
- package/src/integrations/integration-commit-authority.ts +69 -0
- package/src/integrations/marketplace-plugin.ts +48 -0
- package/src/integrations/oauth-client.ts +1356 -459
- package/src/integrations/oauth-profiles.ts +537 -0
- package/src/integrations/oauth-return-path.ts +18 -0
- package/src/integrations/personal-github-repositories.ts +674 -0
- package/src/integrations/personal-github.ts +825 -0
- package/src/integrations/pr-review-provider.ts +246 -0
- package/src/integrations/provider-oauth.ts +250 -22
- package/src/integrations/slack-app-home.ts +300 -0
- package/src/integrations/slack-bot.ts +963 -239
- package/src/integrations/slack-file-upload-flow.ts +147 -0
- package/src/integrations/slack-install.ts +83 -0
- package/src/integrations/slack-interactions.ts +3170 -474
- package/src/integrations/slack-mrkdwn.ts +193 -0
- package/src/integrations/slack-routing.ts +337 -0
- package/src/integrations/slack-session-defaults.ts +224 -0
- package/src/integrations/slack-task-file-upload.ts +323 -0
- package/src/integrations/social-oauth.ts +213 -15
- package/src/interaction-agent-access.ts +48 -0
- package/src/interaction-frame-proxy.ts +409 -0
- package/src/interaction-metrics.ts +30 -0
- package/src/mcp/action-catalog-types.ts +9 -0
- package/src/mcp/action-catalog.gen.ts +6696 -0
- package/src/mcp/capability-account-readiness.ts +17 -0
- package/src/mcp/child-read-evidence.ts +19 -0
- package/src/mcp/command-read.ts +109 -0
- package/src/mcp/company-profile-agent-admin.ts +198 -0
- package/src/mcp/contract-input.ts +141 -0
- package/src/mcp/documents.ts +65 -377
- package/src/mcp/editable-artifacts.ts +12 -6
- package/src/mcp/files.ts +80 -38
- package/src/mcp/first-party-tool-permissions.ts +305 -0
- package/src/mcp/knowledge-entries.ts +322 -0
- package/src/mcp/orchestration-failure-diagnostic.ts +43 -0
- package/src/mcp/receipts.ts +34 -0
- package/src/mcp/request-abort.ts +44 -0
- package/src/mcp/scheduled-task-input.ts +76 -0
- package/src/mcp/scheduled-task-view.ts +44 -3
- package/src/mcp/server.ts +3030 -1267
- package/src/mcp/session-event-view.ts +383 -0
- package/src/mcp/session-view.ts +84 -3
- package/src/mcp/session-wait.ts +665 -0
- package/src/mcp-oauth.ts +1123 -0
- package/src/model-catalog.ts +91 -333
- package/src/observability.ts +15 -1
- package/src/organization-mcp.ts +397 -0
- package/src/organization-recovery-notifications.ts +103 -0
- package/src/routes/analytics-consent.ts +123 -0
- package/src/routes/api-integrations.ts +364 -74
- package/src/routes/api-keys.ts +336 -10
- package/src/routes/artifact-catalog.ts +279 -0
- package/src/routes/automations.ts +768 -0
- package/src/routes/billing.ts +461 -46
- package/src/routes/browser-sessions.ts +839 -131
- package/src/routes/canonical-human-identities.ts +90 -14
- package/src/routes/capabilities.ts +107 -6
- package/src/routes/channels.ts +20 -3
- package/src/routes/claude-subscription-accounts.ts +334 -0
- package/src/routes/claude-subscription-oauth.ts +142 -0
- package/src/routes/client-errors.ts +362 -0
- package/src/routes/codex.ts +833 -116
- package/src/routes/company-brain.ts +322 -0
- package/src/routes/company-profile.ts +65 -1
- package/src/routes/computer-sessions.ts +557 -106
- package/src/routes/connect.ts +1938 -0
- package/src/routes/connections.ts +1040 -349
- package/src/routes/documents.ts +488 -287
- package/src/routes/editable-artifacts.ts +79 -9
- package/src/routes/enrollments.ts +135 -39
- package/src/routes/environments.ts +154 -58
- package/src/routes/external-identity-links.ts +201 -0
- package/src/routes/feedback.ts +113 -0
- package/src/routes/files.ts +337 -39
- package/src/routes/github-browser-pages.ts +162 -0
- package/src/routes/github.ts +446 -144
- package/src/routes/insights-response-cache.ts +83 -0
- package/src/routes/insights-usage.ts +345 -0
- package/src/routes/insights.ts +153 -19
- package/src/routes/install.ts +133 -38
- package/src/routes/integration-facets.ts +107 -33
- package/src/routes/interaction-resources.ts +30 -3
- package/src/routes/knowledge.ts +488 -0
- package/src/routes/machines.ts +313 -15
- package/src/routes/managed-auth-session-sets.ts +1218 -0
- package/src/routes/managed-onboarding.ts +337 -0
- package/src/routes/managed-sign-in-methods.ts +433 -0
- package/src/routes/memory-slack-publications.ts +3 -2
- package/src/routes/model-connection-access.ts +208 -0
- package/src/routes/organization-integration-policy.ts +116 -0
- package/src/routes/organization-integrations.ts +326 -0
- package/src/routes/organization-mcp-connections.ts +178 -0
- package/src/routes/organization-memberships.ts +1019 -27
- package/src/routes/organization-model-providers.ts +293 -0
- package/src/routes/organization-recovery.ts +325 -0
- package/src/routes/organization-service-accounts.ts +128 -0
- package/src/routes/organization-sessions.ts +350 -0
- package/src/routes/personal-github-git-broker.ts +785 -0
- package/src/routes/personal-github.ts +370 -0
- package/src/routes/plugins.ts +251 -22
- package/src/routes/pr-review-github.ts +881 -0
- package/src/routes/pr-review.ts +622 -0
- package/src/routes/preference-registry.ts +12 -93
- package/src/routes/rigs.ts +167 -50
- package/src/routes/scheduled-tasks.ts +346 -41
- package/src/routes/session-artifact-associations.ts +87 -0
- package/src/routes/session-history-imports.ts +280 -0
- package/src/routes/sessions.ts +2306 -264
- package/src/routes/skill-content.ts +297 -0
- package/src/routes/skill-install-authority.ts +64 -0
- package/src/routes/skills.ts +62 -9
- package/src/routes/social.ts +46 -18
- package/src/routes/subscription-account-pools.ts +436 -0
- package/src/routes/subscription-pool-access.ts +126 -0
- package/src/routes/supergrok.ts +219 -303
- package/src/routes/transcription-recordings.ts +38 -3
- package/src/routes/transcriptions.ts +4 -0
- package/src/routes/usage-allowances.ts +378 -0
- package/src/routes/user-resource-authorities.ts +138 -0
- package/src/routes/video-generation.ts +14 -10
- package/src/routes/workspace-artifacts.ts +275 -69
- package/src/routes/workspace-capture.ts +21 -0
- package/src/routes/workspace-integrations.ts +576 -0
- package/src/routes/workspace-learning.ts +159 -0
- package/src/routes/workspace-model-providers.ts +148 -0
- package/src/routes/workspace-state.ts +38 -25
- package/src/routes/workspaces.ts +1004 -127
- package/src/sandbox/auth-callout.ts +96 -19
- package/src/sandbox/channel-a.ts +323 -24
- package/src/sandbox/connection-authority.ts +3 -0
- package/src/sandbox/enrollment.ts +81 -6
- package/src/sandbox/machines.ts +218 -76
- package/src/sandbox/metrics-ingestion.ts +411 -62
- package/src/sandbox/rematerialize.ts +121 -19
- package/src/sandbox/session-attach-variable-sets.ts +131 -0
- package/src/sandbox/viewer.ts +280 -25
- package/src/sandbox-file-artifacts.ts +413 -0
- package/src/scheduled-task-deletion.ts +138 -0
- package/src/session-create-observability.ts +46 -0
- package/src/session-realtime-context.ts +6 -3
- package/src/site-session-origin.ts +48 -0
- package/src/site-uploads.ts +224 -0
- package/src/slack-reaction-files.ts +16 -5
- package/src/temporal-schedule-cleanup.ts +13 -0
- package/src/temporal-schedule-sync.ts +74 -0
- package/src/transcription/providers/codex-subscription.ts +2 -0
- package/src/transcription/providers/openai.ts +1 -0
- package/src/transcription/providers/xai-subscription.ts +49 -3
- package/src/transcription/segmenter.ts +8 -2
- package/src/transcription/service.ts +43 -6
- package/src/work-discovery-observability.ts +121 -0
- package/src/workspace-artifact-content.ts +144 -0
- package/src/workspace-artifact-provenance.ts +104 -0
- package/src/workspace-delete-observability.ts +75 -0
- package/src/workspace-deletion.ts +73 -0
- package/src/workspace-state-projection.ts +18 -148
- package/src/workspace-tool-gateway-observability.ts +100 -0
- package/src/workspace-tool-gateway.ts +870 -0
- package/src/workspace-webhook-dispatch.ts +190 -0
- package/src/xai-subscription-auth.ts +9 -2
- package/dist/chunk-2PQMSRCB.js +0 -49759
- package/dist/chunk-2PQMSRCB.js.map +0 -1
- package/dist/routes/packs.d.ts +0 -3
- package/src/routes/packs.ts +0 -729
|
@@ -0,0 +1,1189 @@
|
|
|
1
|
+
import { ScheduledTaskAgentConfigInput } from "@opengeni/contracts";
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
/** The calling session is supplied by the signed grant, never by model text. */
|
|
4
|
+
export declare function resolveScheduledTaskCreateInput(input: Record<string, unknown>, sessionId: string | null): {
|
|
5
|
+
agentLearning?: {
|
|
6
|
+
scope: "personal" | "workspace";
|
|
7
|
+
settings: {
|
|
8
|
+
knowledge?: "automatic" | "off" | "review_first" | undefined;
|
|
9
|
+
instructions?: "automatic" | "off" | "review_first" | undefined;
|
|
10
|
+
skills?: "automatic" | "off" | "review_first" | undefined;
|
|
11
|
+
};
|
|
12
|
+
} | undefined;
|
|
13
|
+
name: string;
|
|
14
|
+
schedule: {
|
|
15
|
+
type: "manual";
|
|
16
|
+
} | {
|
|
17
|
+
type: "once";
|
|
18
|
+
runAt: string;
|
|
19
|
+
timeZone: string;
|
|
20
|
+
} | {
|
|
21
|
+
type: "interval";
|
|
22
|
+
everySeconds: number;
|
|
23
|
+
startAt?: string | undefined;
|
|
24
|
+
endAt?: string | undefined;
|
|
25
|
+
} | {
|
|
26
|
+
type: "calendar";
|
|
27
|
+
timeZone: string;
|
|
28
|
+
hour: number;
|
|
29
|
+
minute: number;
|
|
30
|
+
daysOfWeek?: ("FRIDAY" | "MONDAY" | "SATURDAY" | "SUNDAY" | "THURSDAY" | "TUESDAY" | "WEDNESDAY")[] | undefined;
|
|
31
|
+
};
|
|
32
|
+
action: {
|
|
33
|
+
kind: "agent_turn";
|
|
34
|
+
};
|
|
35
|
+
runMode: "existing_session" | "new_session_per_run" | "reusable_session";
|
|
36
|
+
overlapPolicy: "allow_concurrent" | "buffer_one" | "skip";
|
|
37
|
+
targetSessionId?: string | null | undefined;
|
|
38
|
+
connectionAuthorities?: undefined;
|
|
39
|
+
connectionAccounts: {
|
|
40
|
+
serverId: string;
|
|
41
|
+
connectionId: string;
|
|
42
|
+
}[];
|
|
43
|
+
agentConfig: {
|
|
44
|
+
bundledSkillIds?: ("builtin:document-parsing" | "builtin:opengeni-client" | "builtin:opengeni-documents" | "builtin:opengeni-help" | "builtin:opengeni-presentations" | "builtin:opengeni-projects" | "builtin:opengeni-schedules" | "builtin:opengeni-sites" | "builtin:opengeni-skills" | "builtin:opengeni-spreadsheets" | "builtin:opengeni-video-generation" | "builtin:opengeni-visualize")[] | undefined;
|
|
45
|
+
knowledgeSource?: {
|
|
46
|
+
kind: "knowledge_source_sync";
|
|
47
|
+
sourceId: string;
|
|
48
|
+
sourceGeneration: number;
|
|
49
|
+
sourceLifecycleGeneration: number;
|
|
50
|
+
sourceConfigGeneration: number;
|
|
51
|
+
controlWorkspaceId: string;
|
|
52
|
+
providerCoordinationKey: string;
|
|
53
|
+
connection: {
|
|
54
|
+
connectionId: string;
|
|
55
|
+
connectionVersion: number;
|
|
56
|
+
providerDomain: string;
|
|
57
|
+
kind: "api_key" | "app_install" | "delegated" | "oauth2";
|
|
58
|
+
ownerSubjectId: string;
|
|
59
|
+
};
|
|
60
|
+
destination: {
|
|
61
|
+
kind: "organization";
|
|
62
|
+
workspaceId: null;
|
|
63
|
+
subjectId: null;
|
|
64
|
+
} | {
|
|
65
|
+
kind: "workspace";
|
|
66
|
+
workspaceId: string;
|
|
67
|
+
subjectId: null;
|
|
68
|
+
} | {
|
|
69
|
+
kind: "personal";
|
|
70
|
+
workspaceId: string | null;
|
|
71
|
+
subjectId: string;
|
|
72
|
+
};
|
|
73
|
+
initiatingSubjectId: string;
|
|
74
|
+
allDescendants: boolean;
|
|
75
|
+
limits: {
|
|
76
|
+
maxItems: number;
|
|
77
|
+
maxBytes: number;
|
|
78
|
+
maxFileBytes: number;
|
|
79
|
+
maxProviderRequests: number;
|
|
80
|
+
maxElapsedSeconds: number;
|
|
81
|
+
maxConcurrency: number;
|
|
82
|
+
maxFailureDetails: number;
|
|
83
|
+
};
|
|
84
|
+
} | undefined;
|
|
85
|
+
prompt: string;
|
|
86
|
+
resources: ({
|
|
87
|
+
kind: "repository";
|
|
88
|
+
uri: string;
|
|
89
|
+
ref: string;
|
|
90
|
+
expectedCommitSha?: string | undefined;
|
|
91
|
+
mountPath?: string | undefined;
|
|
92
|
+
subpath?: string | undefined;
|
|
93
|
+
provider?: "azure_devops" | "github" | "gitlab" | undefined;
|
|
94
|
+
connectionType?: "github_personal" | undefined;
|
|
95
|
+
credentialBindingId?: string | undefined;
|
|
96
|
+
access?: "read" | "write" | undefined;
|
|
97
|
+
repositoryId?: string | number | undefined;
|
|
98
|
+
installationId?: string | number | undefined;
|
|
99
|
+
projectId?: string | number | undefined;
|
|
100
|
+
connectionId?: string | undefined;
|
|
101
|
+
githubInstallationId?: number | undefined;
|
|
102
|
+
githubRepositoryId?: number | undefined;
|
|
103
|
+
optional?: boolean | undefined;
|
|
104
|
+
} | {
|
|
105
|
+
kind: "file";
|
|
106
|
+
fileId: string;
|
|
107
|
+
mountPath?: string | undefined;
|
|
108
|
+
})[];
|
|
109
|
+
tools: {
|
|
110
|
+
kind: "mcp";
|
|
111
|
+
id: string;
|
|
112
|
+
eager?: boolean | undefined;
|
|
113
|
+
optional?: boolean | undefined;
|
|
114
|
+
}[];
|
|
115
|
+
metadata: Record<string, unknown>;
|
|
116
|
+
slackBotConnectionId?: string | undefined;
|
|
117
|
+
slackBotChannelId?: string | undefined;
|
|
118
|
+
model?: string | undefined;
|
|
119
|
+
reasoningEffort?: "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
|
|
120
|
+
sandboxBackend?: "blaxel" | "cloudflare" | "daytona" | "docker" | "e2b" | "local" | "modal" | "none" | "opensandbox" | "runloop" | "selfhosted" | "vercel" | undefined;
|
|
121
|
+
machineTarget?: {
|
|
122
|
+
targetSandboxId: string;
|
|
123
|
+
workingDir?: string | undefined;
|
|
124
|
+
} | undefined;
|
|
125
|
+
goal?: {
|
|
126
|
+
text: string;
|
|
127
|
+
successCriteria?: string | undefined;
|
|
128
|
+
rootConstraints?: string[] | undefined;
|
|
129
|
+
reportRequirements?: {
|
|
130
|
+
id: string;
|
|
131
|
+
title: string;
|
|
132
|
+
}[] | undefined;
|
|
133
|
+
maxAutoContinuations?: number | undefined;
|
|
134
|
+
mutationPolicy?: "autonomous_adaptation" | "preserve_intent" | "review_changes" | undefined;
|
|
135
|
+
} | undefined;
|
|
136
|
+
executionClass?: "incident_telemetry" | undefined;
|
|
137
|
+
incidentTelemetryPreflight?: {
|
|
138
|
+
requiredResources: ({
|
|
139
|
+
kind: "repository";
|
|
140
|
+
uri: string;
|
|
141
|
+
ref: string;
|
|
142
|
+
expectedCommitSha?: string | undefined;
|
|
143
|
+
mountPath?: string | undefined;
|
|
144
|
+
subpath?: string | undefined;
|
|
145
|
+
provider?: "azure_devops" | "github" | "gitlab" | undefined;
|
|
146
|
+
connectionType?: "github_personal" | undefined;
|
|
147
|
+
credentialBindingId?: string | undefined;
|
|
148
|
+
access?: "read" | "write" | undefined;
|
|
149
|
+
repositoryId?: string | number | undefined;
|
|
150
|
+
installationId?: string | number | undefined;
|
|
151
|
+
projectId?: string | number | undefined;
|
|
152
|
+
connectionId?: string | undefined;
|
|
153
|
+
githubInstallationId?: number | undefined;
|
|
154
|
+
githubRepositoryId?: number | undefined;
|
|
155
|
+
optional?: boolean | undefined;
|
|
156
|
+
} | {
|
|
157
|
+
kind: "file";
|
|
158
|
+
fileId: string;
|
|
159
|
+
mountPath?: string | undefined;
|
|
160
|
+
})[];
|
|
161
|
+
requiredMcpServerIds: string[];
|
|
162
|
+
requiredFirstPartyMcpTools: ("artifacts_archive" | "artifacts_create" | "artifacts_get_source" | "artifacts_list" | "artifacts_prepare_upload" | "artifacts_publish" | "artifacts_restore" | "artifacts_rollback" | "atlassian_get" | "atlassian_search" | "atlassian_sources_list" | "browser_act" | "browser_auth" | "browser_clipboard" | "browser_debug" | "browser_download_save" | "browser_downloads" | "browser_identity" | "browser_lifecycle" | "browser_observe" | "browser_open" | "browser_publish" | "browser_read" | "browser_screenshot" | "browser_tabs" | "capability_authorization_request" | "capability_catalog_search" | "command_read" | "command_wait" | "company_profile_confirm" | "company_profile_propose" | "computer_act" | "computer_clipboard" | "computer_lifecycle" | "computer_observe" | "computer_open" | "computer_targets" | "connected_machine_enroll_token" | "connected_machine_remove" | "custom_mcp_setup_request" | "editable_artifact_apply" | "editable_artifact_create" | "editable_artifact_export" | "editable_artifact_export_status" | "editable_artifact_get" | "editable_artifact_import" | "editable_artifact_inspect" | "editable_artifact_list" | "environment_list" | "environment_set_variable" | "fiken_bank_accounts_list" | "fiken_companies_list" | "fiken_contact_create" | "fiken_contacts_list" | "fiken_invoice_draft_create" | "fiken_invoice_get" | "fiken_invoices_list" | "fiken_products_list" | "fiken_purchases_list" | "fiken_sales_list" | "github_connect_link" | "github_repositories_list" | "goal_complete" | "goal_pause" | "goal_progress" | "goal_resume" | "goal_set" | "goal_update" | "instruction_policy_get" | "instruction_policy_propose" | "instruction_policy_save" | "interaction_discover" | "interaction_request_human" | "knowledge_archive" | "knowledge_browse" | "knowledge_correct" | "knowledge_get" | "knowledge_prepare_save" | "knowledge_propose" | "knowledge_retain_file" | "knowledge_retain_message" | "knowledge_save" | "knowledge_search" | "memory_correct" | "memory_save" | "memory_search" | "preference_propose" | "preference_registry_get" | "preference_registry_summary" | "project_create" | "project_delete" | "project_get" | "project_list" | "project_reorder" | "project_update" | "reddit_accounts_list" | "reddit_mentions_live" | "reddit_post_reply" | "reddit_posts_sync" | "reddit_search_live" | "reddit_thread_fetch" | "remember" | "remember_confirm" | "rig_get" | "rig_list" | "rig_promote" | "rig_propose_change" | "rig_verify" | "run_on" | "sandbox_attach" | "sandbox_file_publish" | "sandbox_provision" | "sandbox_swap" | "sandboxes_list" | "scheduled_task_runs_list" | "scheduled_tasks_create" | "scheduled_tasks_delete" | "scheduled_tasks_get" | "scheduled_tasks_list" | "scheduled_tasks_pause" | "scheduled_tasks_resume" | "scheduled_tasks_trigger" | "scheduled_tasks_update" | "session_create" | "session_events" | "session_get" | "session_human_input_respond" | "session_pause" | "session_resume" | "session_send_message" | "session_set_model" | "session_set_project" | "session_steer" | "session_wait" | "sessions_list" | "set_other_session_title" | "set_session_title" | "slack_bot_channel_history" | "slack_bot_delete_message" | "slack_bot_file_content" | "slack_bot_file_info" | "slack_bot_list_channels" | "slack_bot_list_files" | "slack_bot_list_users" | "slack_bot_post_message" | "slack_bot_prepare_message" | "slack_bot_search" | "slack_bot_send_prepared_message" | "slack_bot_thread_replies" | "slack_bot_upload_file" | "social_connections_list" | "social_daily_analysis_context" | "social_mentions_live" | "social_post_reply" | "social_posts_recent" | "social_posts_sync" | "social_search_live" | "social_thread_fetch" | "task_note_archive" | "task_note_promote_instruction_policy" | "task_note_promote_knowledge" | "task_note_promote_preference" | "task_note_replace" | "task_note_save" | "task_notes_list" | "variable_set_get_variable" | "variable_set_list" | "variable_set_set_variable" | "wait_for_input" | "work_claim_release" | "work_claim_upsert" | "x_accounts_list" | "x_mentions_live" | "x_post_reply" | "x_posts_sync" | "x_search_live" | "x_thread_fetch")[];
|
|
163
|
+
requiredFirstPartyMcpPermissions: ("account:admin" | "account:read" | "api_keys:manage" | "artifacts:publish" | "artifacts:read" | "billing:manage" | "billing:read" | "capabilities:manage" | "codemode:call" | "connections:read" | "connections:write" | "documents:manage" | "documents:search" | "enrollments:manage" | "enrollments:read" | "environments:manage" | "environments:use" | "files:read" | "files:upload" | "files:write" | "github:manage" | "github:use" | "goals:manage" | "mcp_servers:attach" | "members:manage" | "rigs:manage" | "rigs:use" | "scheduled_tasks:manage" | "scheduled_tasks:run" | "secrets:list" | "secrets:read" | "secrets:write" | "sessions:control" | "sessions:create" | "sessions:read" | "stream:acknowledge" | "stream:control" | "stream:view" | "terminal:attach" | "usage_allowances:manage" | "variable-sets:attach" | "variable-sets:list" | "variable-sets:manage" | "variable-sets:read" | "variable-sets:use" | "variable-sets:write" | "workspace:admin" | "workspace:create" | "workspace:read")[];
|
|
164
|
+
requiredRig: {
|
|
165
|
+
name: string;
|
|
166
|
+
credentialHookIds: string[];
|
|
167
|
+
} | null;
|
|
168
|
+
requiredVariableSetNames: string[];
|
|
169
|
+
requiredVariableNames: string[];
|
|
170
|
+
dataSource: {
|
|
171
|
+
kind: "prometheus";
|
|
172
|
+
queryPath: "/api/v1/query" | "/api/v1/query_range";
|
|
173
|
+
workspaceLabel: string;
|
|
174
|
+
alertSelectorLabels: string[];
|
|
175
|
+
route: {
|
|
176
|
+
kind: "mcp";
|
|
177
|
+
serverId: string;
|
|
178
|
+
} | {
|
|
179
|
+
kind: "first_party";
|
|
180
|
+
tool: "artifacts_archive" | "artifacts_create" | "artifacts_get_source" | "artifacts_list" | "artifacts_prepare_upload" | "artifacts_publish" | "artifacts_restore" | "artifacts_rollback" | "atlassian_get" | "atlassian_search" | "atlassian_sources_list" | "browser_act" | "browser_auth" | "browser_clipboard" | "browser_debug" | "browser_download_save" | "browser_downloads" | "browser_identity" | "browser_lifecycle" | "browser_observe" | "browser_open" | "browser_publish" | "browser_read" | "browser_screenshot" | "browser_tabs" | "capability_authorization_request" | "capability_catalog_search" | "command_read" | "command_wait" | "company_profile_confirm" | "company_profile_propose" | "computer_act" | "computer_clipboard" | "computer_lifecycle" | "computer_observe" | "computer_open" | "computer_targets" | "connected_machine_enroll_token" | "connected_machine_remove" | "custom_mcp_setup_request" | "editable_artifact_apply" | "editable_artifact_create" | "editable_artifact_export" | "editable_artifact_export_status" | "editable_artifact_get" | "editable_artifact_import" | "editable_artifact_inspect" | "editable_artifact_list" | "environment_list" | "environment_set_variable" | "fiken_bank_accounts_list" | "fiken_companies_list" | "fiken_contact_create" | "fiken_contacts_list" | "fiken_invoice_draft_create" | "fiken_invoice_get" | "fiken_invoices_list" | "fiken_products_list" | "fiken_purchases_list" | "fiken_sales_list" | "github_connect_link" | "github_repositories_list" | "goal_complete" | "goal_pause" | "goal_progress" | "goal_resume" | "goal_set" | "goal_update" | "instruction_policy_get" | "instruction_policy_propose" | "instruction_policy_save" | "interaction_discover" | "interaction_request_human" | "knowledge_archive" | "knowledge_browse" | "knowledge_correct" | "knowledge_get" | "knowledge_prepare_save" | "knowledge_propose" | "knowledge_retain_file" | "knowledge_retain_message" | "knowledge_save" | "knowledge_search" | "memory_correct" | "memory_save" | "memory_search" | "preference_propose" | "preference_registry_get" | "preference_registry_summary" | "project_create" | "project_delete" | "project_get" | "project_list" | "project_reorder" | "project_update" | "reddit_accounts_list" | "reddit_mentions_live" | "reddit_post_reply" | "reddit_posts_sync" | "reddit_search_live" | "reddit_thread_fetch" | "remember" | "remember_confirm" | "rig_get" | "rig_list" | "rig_promote" | "rig_propose_change" | "rig_verify" | "run_on" | "sandbox_attach" | "sandbox_file_publish" | "sandbox_provision" | "sandbox_swap" | "sandboxes_list" | "scheduled_task_runs_list" | "scheduled_tasks_create" | "scheduled_tasks_delete" | "scheduled_tasks_get" | "scheduled_tasks_list" | "scheduled_tasks_pause" | "scheduled_tasks_resume" | "scheduled_tasks_trigger" | "scheduled_tasks_update" | "session_create" | "session_events" | "session_get" | "session_human_input_respond" | "session_pause" | "session_resume" | "session_send_message" | "session_set_model" | "session_set_project" | "session_steer" | "session_wait" | "sessions_list" | "set_other_session_title" | "set_session_title" | "slack_bot_channel_history" | "slack_bot_delete_message" | "slack_bot_file_content" | "slack_bot_file_info" | "slack_bot_list_channels" | "slack_bot_list_files" | "slack_bot_list_users" | "slack_bot_post_message" | "slack_bot_prepare_message" | "slack_bot_search" | "slack_bot_send_prepared_message" | "slack_bot_thread_replies" | "slack_bot_upload_file" | "social_connections_list" | "social_daily_analysis_context" | "social_mentions_live" | "social_post_reply" | "social_posts_recent" | "social_posts_sync" | "social_search_live" | "social_thread_fetch" | "task_note_archive" | "task_note_promote_instruction_policy" | "task_note_promote_knowledge" | "task_note_promote_preference" | "task_note_replace" | "task_note_save" | "task_notes_list" | "variable_set_get_variable" | "variable_set_list" | "variable_set_set_variable" | "wait_for_input" | "work_claim_release" | "work_claim_upsert" | "x_accounts_list" | "x_mentions_live" | "x_post_reply" | "x_posts_sync" | "x_search_live" | "x_thread_fetch";
|
|
181
|
+
} | {
|
|
182
|
+
kind: "variable_set";
|
|
183
|
+
variableSetName: string;
|
|
184
|
+
variableNames: string[];
|
|
185
|
+
} | {
|
|
186
|
+
kind: "rig_credential_hook";
|
|
187
|
+
credentialHookId: string;
|
|
188
|
+
};
|
|
189
|
+
requiredSeries: {
|
|
190
|
+
metric: string;
|
|
191
|
+
labels: string[];
|
|
192
|
+
}[];
|
|
193
|
+
availableSeries: {
|
|
194
|
+
metric: string;
|
|
195
|
+
labels: string[];
|
|
196
|
+
}[];
|
|
197
|
+
};
|
|
198
|
+
} | undefined;
|
|
199
|
+
maxNestedAgentDepth?: number | undefined;
|
|
200
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
201
|
+
agent?: {
|
|
202
|
+
capabilities?: "all" | "none" | {
|
|
203
|
+
webSearch?: boolean | undefined;
|
|
204
|
+
humanInput?: boolean | undefined;
|
|
205
|
+
skills?: "manage" | "read" | false | undefined;
|
|
206
|
+
goals?: boolean | undefined;
|
|
207
|
+
subagents?: boolean | undefined;
|
|
208
|
+
knowledge?: boolean | undefined;
|
|
209
|
+
schedules?: boolean | undefined;
|
|
210
|
+
artifacts?: boolean | undefined;
|
|
211
|
+
browser?: boolean | undefined;
|
|
212
|
+
media?: boolean | undefined;
|
|
213
|
+
workspaceFiles?: boolean | undefined;
|
|
214
|
+
workspaceConnectors?: boolean | undefined;
|
|
215
|
+
workspaceAdmin?: boolean | undefined;
|
|
216
|
+
from: "all" | "none";
|
|
217
|
+
} | undefined;
|
|
218
|
+
identity?: string | null | undefined;
|
|
219
|
+
instructions?: string | undefined;
|
|
220
|
+
renderer?: "markdown" | "opengeni" | undefined;
|
|
221
|
+
} | undefined;
|
|
222
|
+
};
|
|
223
|
+
status: "active" | "paused";
|
|
224
|
+
variableSetId?: string | null | undefined;
|
|
225
|
+
environmentId?: string | null | undefined;
|
|
226
|
+
rigId?: string | null | undefined;
|
|
227
|
+
metadata: Record<string, unknown>;
|
|
228
|
+
} | {
|
|
229
|
+
name: string;
|
|
230
|
+
schedule: {
|
|
231
|
+
type: "manual";
|
|
232
|
+
} | {
|
|
233
|
+
type: "once";
|
|
234
|
+
runAt: string;
|
|
235
|
+
timeZone: string;
|
|
236
|
+
} | {
|
|
237
|
+
type: "interval";
|
|
238
|
+
everySeconds: number;
|
|
239
|
+
startAt?: string | undefined;
|
|
240
|
+
endAt?: string | undefined;
|
|
241
|
+
} | {
|
|
242
|
+
type: "calendar";
|
|
243
|
+
timeZone: string;
|
|
244
|
+
hour: number;
|
|
245
|
+
minute: number;
|
|
246
|
+
daysOfWeek?: ("FRIDAY" | "MONDAY" | "SATURDAY" | "SUNDAY" | "THURSDAY" | "TUESDAY" | "WEDNESDAY")[] | undefined;
|
|
247
|
+
};
|
|
248
|
+
overlapPolicy: "buffer_one" | "skip";
|
|
249
|
+
status: "active" | "paused";
|
|
250
|
+
metadata: Record<string, unknown>;
|
|
251
|
+
action: {
|
|
252
|
+
kind: "agent_turn";
|
|
253
|
+
};
|
|
254
|
+
runMode: "new_session_per_run";
|
|
255
|
+
targetSessionId: null;
|
|
256
|
+
agentConfig: {
|
|
257
|
+
bundledSkillIds?: ("builtin:document-parsing" | "builtin:opengeni-client" | "builtin:opengeni-documents" | "builtin:opengeni-help" | "builtin:opengeni-presentations" | "builtin:opengeni-projects" | "builtin:opengeni-schedules" | "builtin:opengeni-sites" | "builtin:opengeni-skills" | "builtin:opengeni-spreadsheets" | "builtin:opengeni-video-generation" | "builtin:opengeni-visualize")[] | undefined;
|
|
258
|
+
knowledgeSource?: {
|
|
259
|
+
kind: "knowledge_source_sync";
|
|
260
|
+
sourceId: string;
|
|
261
|
+
sourceGeneration: number;
|
|
262
|
+
sourceLifecycleGeneration: number;
|
|
263
|
+
sourceConfigGeneration: number;
|
|
264
|
+
controlWorkspaceId: string;
|
|
265
|
+
providerCoordinationKey: string;
|
|
266
|
+
connection: {
|
|
267
|
+
connectionId: string;
|
|
268
|
+
connectionVersion: number;
|
|
269
|
+
providerDomain: string;
|
|
270
|
+
kind: "api_key" | "app_install" | "delegated" | "oauth2";
|
|
271
|
+
ownerSubjectId: string;
|
|
272
|
+
};
|
|
273
|
+
destination: {
|
|
274
|
+
kind: "organization";
|
|
275
|
+
workspaceId: null;
|
|
276
|
+
subjectId: null;
|
|
277
|
+
} | {
|
|
278
|
+
kind: "workspace";
|
|
279
|
+
workspaceId: string;
|
|
280
|
+
subjectId: null;
|
|
281
|
+
} | {
|
|
282
|
+
kind: "personal";
|
|
283
|
+
workspaceId: string | null;
|
|
284
|
+
subjectId: string;
|
|
285
|
+
};
|
|
286
|
+
initiatingSubjectId: string;
|
|
287
|
+
allDescendants: boolean;
|
|
288
|
+
limits: {
|
|
289
|
+
maxItems: number;
|
|
290
|
+
maxBytes: number;
|
|
291
|
+
maxFileBytes: number;
|
|
292
|
+
maxProviderRequests: number;
|
|
293
|
+
maxElapsedSeconds: number;
|
|
294
|
+
maxConcurrency: number;
|
|
295
|
+
maxFailureDetails: number;
|
|
296
|
+
};
|
|
297
|
+
} | undefined;
|
|
298
|
+
prompt: string;
|
|
299
|
+
resources: ({
|
|
300
|
+
kind: "repository";
|
|
301
|
+
uri: string;
|
|
302
|
+
ref: string;
|
|
303
|
+
expectedCommitSha?: string | undefined;
|
|
304
|
+
mountPath?: string | undefined;
|
|
305
|
+
subpath?: string | undefined;
|
|
306
|
+
provider?: "azure_devops" | "github" | "gitlab" | undefined;
|
|
307
|
+
connectionType?: "github_personal" | undefined;
|
|
308
|
+
credentialBindingId?: string | undefined;
|
|
309
|
+
access?: "read" | "write" | undefined;
|
|
310
|
+
repositoryId?: string | number | undefined;
|
|
311
|
+
installationId?: string | number | undefined;
|
|
312
|
+
projectId?: string | number | undefined;
|
|
313
|
+
connectionId?: string | undefined;
|
|
314
|
+
githubInstallationId?: number | undefined;
|
|
315
|
+
githubRepositoryId?: number | undefined;
|
|
316
|
+
optional?: boolean | undefined;
|
|
317
|
+
} | {
|
|
318
|
+
kind: "file";
|
|
319
|
+
fileId: string;
|
|
320
|
+
mountPath?: string | undefined;
|
|
321
|
+
})[];
|
|
322
|
+
tools: {
|
|
323
|
+
kind: "mcp";
|
|
324
|
+
id: string;
|
|
325
|
+
eager?: boolean | undefined;
|
|
326
|
+
optional?: boolean | undefined;
|
|
327
|
+
}[];
|
|
328
|
+
metadata: Record<string, unknown>;
|
|
329
|
+
slackBotConnectionId?: string | undefined;
|
|
330
|
+
slackBotChannelId?: string | undefined;
|
|
331
|
+
model?: string | undefined;
|
|
332
|
+
reasoningEffort?: "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
|
|
333
|
+
sandboxBackend?: "blaxel" | "cloudflare" | "daytona" | "docker" | "e2b" | "local" | "modal" | "none" | "opensandbox" | "runloop" | "selfhosted" | "vercel" | undefined;
|
|
334
|
+
machineTarget?: {
|
|
335
|
+
targetSandboxId: string;
|
|
336
|
+
workingDir?: string | undefined;
|
|
337
|
+
} | undefined;
|
|
338
|
+
goal?: {
|
|
339
|
+
text: string;
|
|
340
|
+
successCriteria?: string | undefined;
|
|
341
|
+
rootConstraints?: string[] | undefined;
|
|
342
|
+
reportRequirements?: {
|
|
343
|
+
id: string;
|
|
344
|
+
title: string;
|
|
345
|
+
}[] | undefined;
|
|
346
|
+
maxAutoContinuations?: number | undefined;
|
|
347
|
+
mutationPolicy?: "autonomous_adaptation" | "preserve_intent" | "review_changes" | undefined;
|
|
348
|
+
} | undefined;
|
|
349
|
+
executionClass?: "incident_telemetry" | undefined;
|
|
350
|
+
incidentTelemetryPreflight?: {
|
|
351
|
+
requiredResources: ({
|
|
352
|
+
kind: "repository";
|
|
353
|
+
uri: string;
|
|
354
|
+
ref: string;
|
|
355
|
+
expectedCommitSha?: string | undefined;
|
|
356
|
+
mountPath?: string | undefined;
|
|
357
|
+
subpath?: string | undefined;
|
|
358
|
+
provider?: "azure_devops" | "github" | "gitlab" | undefined;
|
|
359
|
+
connectionType?: "github_personal" | undefined;
|
|
360
|
+
credentialBindingId?: string | undefined;
|
|
361
|
+
access?: "read" | "write" | undefined;
|
|
362
|
+
repositoryId?: string | number | undefined;
|
|
363
|
+
installationId?: string | number | undefined;
|
|
364
|
+
projectId?: string | number | undefined;
|
|
365
|
+
connectionId?: string | undefined;
|
|
366
|
+
githubInstallationId?: number | undefined;
|
|
367
|
+
githubRepositoryId?: number | undefined;
|
|
368
|
+
optional?: boolean | undefined;
|
|
369
|
+
} | {
|
|
370
|
+
kind: "file";
|
|
371
|
+
fileId: string;
|
|
372
|
+
mountPath?: string | undefined;
|
|
373
|
+
})[];
|
|
374
|
+
requiredMcpServerIds: string[];
|
|
375
|
+
requiredFirstPartyMcpTools: ("artifacts_archive" | "artifacts_create" | "artifacts_get_source" | "artifacts_list" | "artifacts_prepare_upload" | "artifacts_publish" | "artifacts_restore" | "artifacts_rollback" | "atlassian_get" | "atlassian_search" | "atlassian_sources_list" | "browser_act" | "browser_auth" | "browser_clipboard" | "browser_debug" | "browser_download_save" | "browser_downloads" | "browser_identity" | "browser_lifecycle" | "browser_observe" | "browser_open" | "browser_publish" | "browser_read" | "browser_screenshot" | "browser_tabs" | "capability_authorization_request" | "capability_catalog_search" | "command_read" | "command_wait" | "company_profile_confirm" | "company_profile_propose" | "computer_act" | "computer_clipboard" | "computer_lifecycle" | "computer_observe" | "computer_open" | "computer_targets" | "connected_machine_enroll_token" | "connected_machine_remove" | "custom_mcp_setup_request" | "editable_artifact_apply" | "editable_artifact_create" | "editable_artifact_export" | "editable_artifact_export_status" | "editable_artifact_get" | "editable_artifact_import" | "editable_artifact_inspect" | "editable_artifact_list" | "environment_list" | "environment_set_variable" | "fiken_bank_accounts_list" | "fiken_companies_list" | "fiken_contact_create" | "fiken_contacts_list" | "fiken_invoice_draft_create" | "fiken_invoice_get" | "fiken_invoices_list" | "fiken_products_list" | "fiken_purchases_list" | "fiken_sales_list" | "github_connect_link" | "github_repositories_list" | "goal_complete" | "goal_pause" | "goal_progress" | "goal_resume" | "goal_set" | "goal_update" | "instruction_policy_get" | "instruction_policy_propose" | "instruction_policy_save" | "interaction_discover" | "interaction_request_human" | "knowledge_archive" | "knowledge_browse" | "knowledge_correct" | "knowledge_get" | "knowledge_prepare_save" | "knowledge_propose" | "knowledge_retain_file" | "knowledge_retain_message" | "knowledge_save" | "knowledge_search" | "memory_correct" | "memory_save" | "memory_search" | "preference_propose" | "preference_registry_get" | "preference_registry_summary" | "project_create" | "project_delete" | "project_get" | "project_list" | "project_reorder" | "project_update" | "reddit_accounts_list" | "reddit_mentions_live" | "reddit_post_reply" | "reddit_posts_sync" | "reddit_search_live" | "reddit_thread_fetch" | "remember" | "remember_confirm" | "rig_get" | "rig_list" | "rig_promote" | "rig_propose_change" | "rig_verify" | "run_on" | "sandbox_attach" | "sandbox_file_publish" | "sandbox_provision" | "sandbox_swap" | "sandboxes_list" | "scheduled_task_runs_list" | "scheduled_tasks_create" | "scheduled_tasks_delete" | "scheduled_tasks_get" | "scheduled_tasks_list" | "scheduled_tasks_pause" | "scheduled_tasks_resume" | "scheduled_tasks_trigger" | "scheduled_tasks_update" | "session_create" | "session_events" | "session_get" | "session_human_input_respond" | "session_pause" | "session_resume" | "session_send_message" | "session_set_model" | "session_set_project" | "session_steer" | "session_wait" | "sessions_list" | "set_other_session_title" | "set_session_title" | "slack_bot_channel_history" | "slack_bot_delete_message" | "slack_bot_file_content" | "slack_bot_file_info" | "slack_bot_list_channels" | "slack_bot_list_files" | "slack_bot_list_users" | "slack_bot_post_message" | "slack_bot_prepare_message" | "slack_bot_search" | "slack_bot_send_prepared_message" | "slack_bot_thread_replies" | "slack_bot_upload_file" | "social_connections_list" | "social_daily_analysis_context" | "social_mentions_live" | "social_post_reply" | "social_posts_recent" | "social_posts_sync" | "social_search_live" | "social_thread_fetch" | "task_note_archive" | "task_note_promote_instruction_policy" | "task_note_promote_knowledge" | "task_note_promote_preference" | "task_note_replace" | "task_note_save" | "task_notes_list" | "variable_set_get_variable" | "variable_set_list" | "variable_set_set_variable" | "wait_for_input" | "work_claim_release" | "work_claim_upsert" | "x_accounts_list" | "x_mentions_live" | "x_post_reply" | "x_posts_sync" | "x_search_live" | "x_thread_fetch")[];
|
|
376
|
+
requiredFirstPartyMcpPermissions: ("account:admin" | "account:read" | "api_keys:manage" | "artifacts:publish" | "artifacts:read" | "billing:manage" | "billing:read" | "capabilities:manage" | "codemode:call" | "connections:read" | "connections:write" | "documents:manage" | "documents:search" | "enrollments:manage" | "enrollments:read" | "environments:manage" | "environments:use" | "files:read" | "files:upload" | "files:write" | "github:manage" | "github:use" | "goals:manage" | "mcp_servers:attach" | "members:manage" | "rigs:manage" | "rigs:use" | "scheduled_tasks:manage" | "scheduled_tasks:run" | "secrets:list" | "secrets:read" | "secrets:write" | "sessions:control" | "sessions:create" | "sessions:read" | "stream:acknowledge" | "stream:control" | "stream:view" | "terminal:attach" | "usage_allowances:manage" | "variable-sets:attach" | "variable-sets:list" | "variable-sets:manage" | "variable-sets:read" | "variable-sets:use" | "variable-sets:write" | "workspace:admin" | "workspace:create" | "workspace:read")[];
|
|
377
|
+
requiredRig: {
|
|
378
|
+
name: string;
|
|
379
|
+
credentialHookIds: string[];
|
|
380
|
+
} | null;
|
|
381
|
+
requiredVariableSetNames: string[];
|
|
382
|
+
requiredVariableNames: string[];
|
|
383
|
+
dataSource: {
|
|
384
|
+
kind: "prometheus";
|
|
385
|
+
queryPath: "/api/v1/query" | "/api/v1/query_range";
|
|
386
|
+
workspaceLabel: string;
|
|
387
|
+
alertSelectorLabels: string[];
|
|
388
|
+
route: {
|
|
389
|
+
kind: "mcp";
|
|
390
|
+
serverId: string;
|
|
391
|
+
} | {
|
|
392
|
+
kind: "first_party";
|
|
393
|
+
tool: "artifacts_archive" | "artifacts_create" | "artifacts_get_source" | "artifacts_list" | "artifacts_prepare_upload" | "artifacts_publish" | "artifacts_restore" | "artifacts_rollback" | "atlassian_get" | "atlassian_search" | "atlassian_sources_list" | "browser_act" | "browser_auth" | "browser_clipboard" | "browser_debug" | "browser_download_save" | "browser_downloads" | "browser_identity" | "browser_lifecycle" | "browser_observe" | "browser_open" | "browser_publish" | "browser_read" | "browser_screenshot" | "browser_tabs" | "capability_authorization_request" | "capability_catalog_search" | "command_read" | "command_wait" | "company_profile_confirm" | "company_profile_propose" | "computer_act" | "computer_clipboard" | "computer_lifecycle" | "computer_observe" | "computer_open" | "computer_targets" | "connected_machine_enroll_token" | "connected_machine_remove" | "custom_mcp_setup_request" | "editable_artifact_apply" | "editable_artifact_create" | "editable_artifact_export" | "editable_artifact_export_status" | "editable_artifact_get" | "editable_artifact_import" | "editable_artifact_inspect" | "editable_artifact_list" | "environment_list" | "environment_set_variable" | "fiken_bank_accounts_list" | "fiken_companies_list" | "fiken_contact_create" | "fiken_contacts_list" | "fiken_invoice_draft_create" | "fiken_invoice_get" | "fiken_invoices_list" | "fiken_products_list" | "fiken_purchases_list" | "fiken_sales_list" | "github_connect_link" | "github_repositories_list" | "goal_complete" | "goal_pause" | "goal_progress" | "goal_resume" | "goal_set" | "goal_update" | "instruction_policy_get" | "instruction_policy_propose" | "instruction_policy_save" | "interaction_discover" | "interaction_request_human" | "knowledge_archive" | "knowledge_browse" | "knowledge_correct" | "knowledge_get" | "knowledge_prepare_save" | "knowledge_propose" | "knowledge_retain_file" | "knowledge_retain_message" | "knowledge_save" | "knowledge_search" | "memory_correct" | "memory_save" | "memory_search" | "preference_propose" | "preference_registry_get" | "preference_registry_summary" | "project_create" | "project_delete" | "project_get" | "project_list" | "project_reorder" | "project_update" | "reddit_accounts_list" | "reddit_mentions_live" | "reddit_post_reply" | "reddit_posts_sync" | "reddit_search_live" | "reddit_thread_fetch" | "remember" | "remember_confirm" | "rig_get" | "rig_list" | "rig_promote" | "rig_propose_change" | "rig_verify" | "run_on" | "sandbox_attach" | "sandbox_file_publish" | "sandbox_provision" | "sandbox_swap" | "sandboxes_list" | "scheduled_task_runs_list" | "scheduled_tasks_create" | "scheduled_tasks_delete" | "scheduled_tasks_get" | "scheduled_tasks_list" | "scheduled_tasks_pause" | "scheduled_tasks_resume" | "scheduled_tasks_trigger" | "scheduled_tasks_update" | "session_create" | "session_events" | "session_get" | "session_human_input_respond" | "session_pause" | "session_resume" | "session_send_message" | "session_set_model" | "session_set_project" | "session_steer" | "session_wait" | "sessions_list" | "set_other_session_title" | "set_session_title" | "slack_bot_channel_history" | "slack_bot_delete_message" | "slack_bot_file_content" | "slack_bot_file_info" | "slack_bot_list_channels" | "slack_bot_list_files" | "slack_bot_list_users" | "slack_bot_post_message" | "slack_bot_prepare_message" | "slack_bot_search" | "slack_bot_send_prepared_message" | "slack_bot_thread_replies" | "slack_bot_upload_file" | "social_connections_list" | "social_daily_analysis_context" | "social_mentions_live" | "social_post_reply" | "social_posts_recent" | "social_posts_sync" | "social_search_live" | "social_thread_fetch" | "task_note_archive" | "task_note_promote_instruction_policy" | "task_note_promote_knowledge" | "task_note_promote_preference" | "task_note_replace" | "task_note_save" | "task_notes_list" | "variable_set_get_variable" | "variable_set_list" | "variable_set_set_variable" | "wait_for_input" | "work_claim_release" | "work_claim_upsert" | "x_accounts_list" | "x_mentions_live" | "x_post_reply" | "x_posts_sync" | "x_search_live" | "x_thread_fetch";
|
|
394
|
+
} | {
|
|
395
|
+
kind: "variable_set";
|
|
396
|
+
variableSetName: string;
|
|
397
|
+
variableNames: string[];
|
|
398
|
+
} | {
|
|
399
|
+
kind: "rig_credential_hook";
|
|
400
|
+
credentialHookId: string;
|
|
401
|
+
};
|
|
402
|
+
requiredSeries: {
|
|
403
|
+
metric: string;
|
|
404
|
+
labels: string[];
|
|
405
|
+
}[];
|
|
406
|
+
availableSeries: {
|
|
407
|
+
metric: string;
|
|
408
|
+
labels: string[];
|
|
409
|
+
}[];
|
|
410
|
+
};
|
|
411
|
+
} | undefined;
|
|
412
|
+
maxNestedAgentDepth?: number | undefined;
|
|
413
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
414
|
+
agent?: {
|
|
415
|
+
capabilities?: "all" | "none" | {
|
|
416
|
+
webSearch?: boolean | undefined;
|
|
417
|
+
humanInput?: boolean | undefined;
|
|
418
|
+
skills?: "manage" | "read" | false | undefined;
|
|
419
|
+
goals?: boolean | undefined;
|
|
420
|
+
subagents?: boolean | undefined;
|
|
421
|
+
knowledge?: boolean | undefined;
|
|
422
|
+
schedules?: boolean | undefined;
|
|
423
|
+
artifacts?: boolean | undefined;
|
|
424
|
+
browser?: boolean | undefined;
|
|
425
|
+
media?: boolean | undefined;
|
|
426
|
+
workspaceFiles?: boolean | undefined;
|
|
427
|
+
workspaceConnectors?: boolean | undefined;
|
|
428
|
+
workspaceAdmin?: boolean | undefined;
|
|
429
|
+
from: "all" | "none";
|
|
430
|
+
} | undefined;
|
|
431
|
+
identity?: string | null | undefined;
|
|
432
|
+
instructions?: string | undefined;
|
|
433
|
+
renderer?: "markdown" | "opengeni" | undefined;
|
|
434
|
+
} | undefined;
|
|
435
|
+
connectionAccounts?: {
|
|
436
|
+
serverId: string;
|
|
437
|
+
connectionId: string;
|
|
438
|
+
}[] | undefined;
|
|
439
|
+
connectionAccountsFrozen?: true | undefined;
|
|
440
|
+
};
|
|
441
|
+
variableSetId: null;
|
|
442
|
+
environmentId: null;
|
|
443
|
+
rigId: null;
|
|
444
|
+
connectionAccounts: never[];
|
|
445
|
+
} | {
|
|
446
|
+
name: string;
|
|
447
|
+
schedule: {
|
|
448
|
+
type: "manual";
|
|
449
|
+
} | {
|
|
450
|
+
type: "once";
|
|
451
|
+
runAt: string;
|
|
452
|
+
timeZone: string;
|
|
453
|
+
} | {
|
|
454
|
+
type: "interval";
|
|
455
|
+
everySeconds: number;
|
|
456
|
+
startAt?: string | undefined;
|
|
457
|
+
endAt?: string | undefined;
|
|
458
|
+
} | {
|
|
459
|
+
type: "calendar";
|
|
460
|
+
timeZone: string;
|
|
461
|
+
hour: number;
|
|
462
|
+
minute: number;
|
|
463
|
+
daysOfWeek?: ("FRIDAY" | "MONDAY" | "SATURDAY" | "SUNDAY" | "THURSDAY" | "TUESDAY" | "WEDNESDAY")[] | undefined;
|
|
464
|
+
};
|
|
465
|
+
targetSessionId: string;
|
|
466
|
+
connectionAccounts: {
|
|
467
|
+
serverId: string;
|
|
468
|
+
connectionId: string;
|
|
469
|
+
}[];
|
|
470
|
+
runMode: "existing_session";
|
|
471
|
+
overlapPolicy: "allow_concurrent" | "buffer_one" | "skip";
|
|
472
|
+
status: "active" | "paused";
|
|
473
|
+
metadata: Record<string, unknown>;
|
|
474
|
+
action: {
|
|
475
|
+
kind: "agent_turn";
|
|
476
|
+
};
|
|
477
|
+
agentConfig: ScheduledTaskAgentConfigInput;
|
|
478
|
+
variableSetId: undefined;
|
|
479
|
+
environmentId: undefined;
|
|
480
|
+
rigId: undefined;
|
|
481
|
+
};
|
|
482
|
+
export declare function scheduledTaskCreateToolInput(): z.ZodObject<{
|
|
483
|
+
name: z.ZodString;
|
|
484
|
+
schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
485
|
+
type: z.ZodLiteral<"manual">;
|
|
486
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
487
|
+
type: z.ZodLiteral<"once">;
|
|
488
|
+
runAt: z.ZodString;
|
|
489
|
+
timeZone: z.ZodDefault<z.ZodString>;
|
|
490
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
491
|
+
type: z.ZodLiteral<"interval">;
|
|
492
|
+
everySeconds: z.ZodNumber;
|
|
493
|
+
startAt: z.ZodOptional<z.ZodString>;
|
|
494
|
+
endAt: z.ZodOptional<z.ZodString>;
|
|
495
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
496
|
+
type: z.ZodLiteral<"calendar">;
|
|
497
|
+
timeZone: z.ZodDefault<z.ZodString>;
|
|
498
|
+
hour: z.ZodNumber;
|
|
499
|
+
minute: z.ZodNumber;
|
|
500
|
+
daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
501
|
+
FRIDAY: "FRIDAY";
|
|
502
|
+
MONDAY: "MONDAY";
|
|
503
|
+
SATURDAY: "SATURDAY";
|
|
504
|
+
SUNDAY: "SUNDAY";
|
|
505
|
+
THURSDAY: "THURSDAY";
|
|
506
|
+
TUESDAY: "TUESDAY";
|
|
507
|
+
WEDNESDAY: "WEDNESDAY";
|
|
508
|
+
}>>>;
|
|
509
|
+
}, z.core.$strip>], "type">;
|
|
510
|
+
action: z.ZodDefault<z.ZodObject<{
|
|
511
|
+
kind: z.ZodLiteral<"agent_turn">;
|
|
512
|
+
}, z.core.$strict>>;
|
|
513
|
+
overlapPolicy: z.ZodDefault<z.ZodEnum<{
|
|
514
|
+
allow_concurrent: "allow_concurrent";
|
|
515
|
+
buffer_one: "buffer_one";
|
|
516
|
+
skip: "skip";
|
|
517
|
+
}>>;
|
|
518
|
+
connectionAccounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
519
|
+
serverId: z.ZodString;
|
|
520
|
+
connectionId: z.ZodString;
|
|
521
|
+
}, z.core.$strict>>>;
|
|
522
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
523
|
+
active: "active";
|
|
524
|
+
paused: "paused";
|
|
525
|
+
}>>;
|
|
526
|
+
variableSetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
527
|
+
environmentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
528
|
+
rigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
529
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
530
|
+
runMode: z.ZodOptional<z.ZodEnum<{
|
|
531
|
+
existing_session: "existing_session";
|
|
532
|
+
new_session_per_run: "new_session_per_run";
|
|
533
|
+
reusable_session: "reusable_session";
|
|
534
|
+
}>>;
|
|
535
|
+
targetSessionId: z.ZodOptional<z.ZodString>;
|
|
536
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
537
|
+
agentConfig: z.ZodOptional<z.ZodObject<{
|
|
538
|
+
bundledSkillIds: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
539
|
+
"builtin:document-parsing": "builtin:document-parsing";
|
|
540
|
+
"builtin:opengeni-client": "builtin:opengeni-client";
|
|
541
|
+
"builtin:opengeni-documents": "builtin:opengeni-documents";
|
|
542
|
+
"builtin:opengeni-help": "builtin:opengeni-help";
|
|
543
|
+
"builtin:opengeni-presentations": "builtin:opengeni-presentations";
|
|
544
|
+
"builtin:opengeni-projects": "builtin:opengeni-projects";
|
|
545
|
+
"builtin:opengeni-schedules": "builtin:opengeni-schedules";
|
|
546
|
+
"builtin:opengeni-sites": "builtin:opengeni-sites";
|
|
547
|
+
"builtin:opengeni-skills": "builtin:opengeni-skills";
|
|
548
|
+
"builtin:opengeni-spreadsheets": "builtin:opengeni-spreadsheets";
|
|
549
|
+
"builtin:opengeni-video-generation": "builtin:opengeni-video-generation";
|
|
550
|
+
"builtin:opengeni-visualize": "builtin:opengeni-visualize";
|
|
551
|
+
}>>, z.ZodTransform<("builtin:document-parsing" | "builtin:opengeni-client" | "builtin:opengeni-documents" | "builtin:opengeni-help" | "builtin:opengeni-presentations" | "builtin:opengeni-projects" | "builtin:opengeni-schedules" | "builtin:opengeni-sites" | "builtin:opengeni-skills" | "builtin:opengeni-spreadsheets" | "builtin:opengeni-video-generation" | "builtin:opengeni-visualize")[], ("builtin:document-parsing" | "builtin:opengeni-client" | "builtin:opengeni-documents" | "builtin:opengeni-help" | "builtin:opengeni-presentations" | "builtin:opengeni-projects" | "builtin:opengeni-schedules" | "builtin:opengeni-sites" | "builtin:opengeni-skills" | "builtin:opengeni-spreadsheets" | "builtin:opengeni-video-generation" | "builtin:opengeni-visualize")[]>>>;
|
|
552
|
+
knowledgeSource: z.ZodOptional<z.ZodObject<{
|
|
553
|
+
kind: z.ZodLiteral<"knowledge_source_sync">;
|
|
554
|
+
sourceId: z.ZodString;
|
|
555
|
+
sourceGeneration: z.ZodNumber;
|
|
556
|
+
sourceLifecycleGeneration: z.ZodNumber;
|
|
557
|
+
sourceConfigGeneration: z.ZodNumber;
|
|
558
|
+
controlWorkspaceId: z.ZodString;
|
|
559
|
+
providerCoordinationKey: z.ZodString;
|
|
560
|
+
connection: z.ZodObject<{
|
|
561
|
+
connectionId: z.ZodString;
|
|
562
|
+
connectionVersion: z.ZodNumber;
|
|
563
|
+
providerDomain: z.ZodString;
|
|
564
|
+
kind: z.ZodEnum<{
|
|
565
|
+
api_key: "api_key";
|
|
566
|
+
app_install: "app_install";
|
|
567
|
+
delegated: "delegated";
|
|
568
|
+
oauth2: "oauth2";
|
|
569
|
+
}>;
|
|
570
|
+
ownerSubjectId: z.ZodString;
|
|
571
|
+
}, z.core.$strip>;
|
|
572
|
+
destination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
573
|
+
kind: z.ZodLiteral<"organization">;
|
|
574
|
+
workspaceId: z.ZodNull;
|
|
575
|
+
subjectId: z.ZodNull;
|
|
576
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
577
|
+
kind: z.ZodLiteral<"workspace">;
|
|
578
|
+
workspaceId: z.ZodString;
|
|
579
|
+
subjectId: z.ZodNull;
|
|
580
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
581
|
+
kind: z.ZodLiteral<"personal">;
|
|
582
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
583
|
+
subjectId: z.ZodString;
|
|
584
|
+
}, z.core.$strip>], "kind">;
|
|
585
|
+
initiatingSubjectId: z.ZodString;
|
|
586
|
+
allDescendants: z.ZodDefault<z.ZodBoolean>;
|
|
587
|
+
limits: z.ZodPrefault<z.ZodObject<{
|
|
588
|
+
maxItems: z.ZodDefault<z.ZodNumber>;
|
|
589
|
+
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
590
|
+
maxFileBytes: z.ZodDefault<z.ZodNumber>;
|
|
591
|
+
maxProviderRequests: z.ZodDefault<z.ZodNumber>;
|
|
592
|
+
maxElapsedSeconds: z.ZodDefault<z.ZodNumber>;
|
|
593
|
+
maxConcurrency: z.ZodDefault<z.ZodNumber>;
|
|
594
|
+
maxFailureDetails: z.ZodDefault<z.ZodNumber>;
|
|
595
|
+
}, z.core.$strip>>;
|
|
596
|
+
}, z.core.$strict>>;
|
|
597
|
+
prompt: z.ZodString;
|
|
598
|
+
resources: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
599
|
+
kind: z.ZodLiteral<"repository">;
|
|
600
|
+
uri: z.ZodString;
|
|
601
|
+
ref: z.ZodString;
|
|
602
|
+
expectedCommitSha: z.ZodOptional<z.ZodString>;
|
|
603
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
604
|
+
subpath: z.ZodOptional<z.ZodString>;
|
|
605
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
606
|
+
azure_devops: "azure_devops";
|
|
607
|
+
github: "github";
|
|
608
|
+
gitlab: "gitlab";
|
|
609
|
+
}>>;
|
|
610
|
+
connectionType: z.ZodOptional<z.ZodLiteral<"github_personal">>;
|
|
611
|
+
credentialBindingId: z.ZodOptional<z.ZodString>;
|
|
612
|
+
access: z.ZodOptional<z.ZodEnum<{
|
|
613
|
+
read: "read";
|
|
614
|
+
write: "write";
|
|
615
|
+
}>>;
|
|
616
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
617
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
618
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
619
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
620
|
+
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
621
|
+
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
622
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
623
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
624
|
+
kind: z.ZodLiteral<"file">;
|
|
625
|
+
fileId: z.ZodString;
|
|
626
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
627
|
+
}, z.core.$strip>], "kind">>>;
|
|
628
|
+
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
629
|
+
kind: z.ZodLiteral<"mcp">;
|
|
630
|
+
id: z.ZodString;
|
|
631
|
+
eager: z.ZodOptional<z.ZodBoolean>;
|
|
632
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
633
|
+
}, z.core.$strip>>>;
|
|
634
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
635
|
+
slackBotConnectionId: z.ZodOptional<z.ZodString>;
|
|
636
|
+
model: z.ZodOptional<z.ZodString>;
|
|
637
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
638
|
+
high: "high";
|
|
639
|
+
low: "low";
|
|
640
|
+
max: "max";
|
|
641
|
+
medium: "medium";
|
|
642
|
+
minimal: "minimal";
|
|
643
|
+
none: "none";
|
|
644
|
+
xhigh: "xhigh";
|
|
645
|
+
}>>;
|
|
646
|
+
sandboxBackend: z.ZodOptional<z.ZodEnum<{
|
|
647
|
+
blaxel: "blaxel";
|
|
648
|
+
cloudflare: "cloudflare";
|
|
649
|
+
daytona: "daytona";
|
|
650
|
+
docker: "docker";
|
|
651
|
+
e2b: "e2b";
|
|
652
|
+
local: "local";
|
|
653
|
+
modal: "modal";
|
|
654
|
+
none: "none";
|
|
655
|
+
opensandbox: "opensandbox";
|
|
656
|
+
runloop: "runloop";
|
|
657
|
+
selfhosted: "selfhosted";
|
|
658
|
+
vercel: "vercel";
|
|
659
|
+
}>>;
|
|
660
|
+
machineTarget: z.ZodOptional<z.ZodObject<{
|
|
661
|
+
targetSandboxId: z.ZodString;
|
|
662
|
+
workingDir: z.ZodOptional<z.ZodString>;
|
|
663
|
+
}, z.core.$strict>>;
|
|
664
|
+
goal: z.ZodOptional<z.ZodObject<{
|
|
665
|
+
text: z.ZodString;
|
|
666
|
+
successCriteria: z.ZodOptional<z.ZodString>;
|
|
667
|
+
rootConstraints: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>, z.ZodArray<z.ZodString>>>;
|
|
668
|
+
reportRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
669
|
+
id: z.ZodString;
|
|
670
|
+
title: z.ZodString;
|
|
671
|
+
}, z.core.$strict>>>;
|
|
672
|
+
maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
|
|
673
|
+
mutationPolicy: z.ZodOptional<z.ZodEnum<{
|
|
674
|
+
autonomous_adaptation: "autonomous_adaptation";
|
|
675
|
+
preserve_intent: "preserve_intent";
|
|
676
|
+
review_changes: "review_changes";
|
|
677
|
+
}>>;
|
|
678
|
+
}, z.core.$strip>>;
|
|
679
|
+
executionClass: z.ZodOptional<z.ZodLiteral<"incident_telemetry">>;
|
|
680
|
+
incidentTelemetryPreflight: z.ZodOptional<z.ZodObject<{
|
|
681
|
+
requiredResources: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
682
|
+
kind: z.ZodLiteral<"repository">;
|
|
683
|
+
uri: z.ZodString;
|
|
684
|
+
ref: z.ZodString;
|
|
685
|
+
expectedCommitSha: z.ZodOptional<z.ZodString>;
|
|
686
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
687
|
+
subpath: z.ZodOptional<z.ZodString>;
|
|
688
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
689
|
+
azure_devops: "azure_devops";
|
|
690
|
+
github: "github";
|
|
691
|
+
gitlab: "gitlab";
|
|
692
|
+
}>>;
|
|
693
|
+
connectionType: z.ZodOptional<z.ZodLiteral<"github_personal">>;
|
|
694
|
+
credentialBindingId: z.ZodOptional<z.ZodString>;
|
|
695
|
+
access: z.ZodOptional<z.ZodEnum<{
|
|
696
|
+
read: "read";
|
|
697
|
+
write: "write";
|
|
698
|
+
}>>;
|
|
699
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
700
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
701
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
702
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
703
|
+
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
704
|
+
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
705
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
706
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
707
|
+
kind: z.ZodLiteral<"file">;
|
|
708
|
+
fileId: z.ZodString;
|
|
709
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
710
|
+
}, z.core.$strip>], "kind">>>;
|
|
711
|
+
requiredMcpServerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
712
|
+
requiredFirstPartyMcpTools: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
713
|
+
artifacts_archive: "artifacts_archive";
|
|
714
|
+
artifacts_create: "artifacts_create";
|
|
715
|
+
artifacts_get_source: "artifacts_get_source";
|
|
716
|
+
artifacts_list: "artifacts_list";
|
|
717
|
+
artifacts_prepare_upload: "artifacts_prepare_upload";
|
|
718
|
+
artifacts_publish: "artifacts_publish";
|
|
719
|
+
artifacts_restore: "artifacts_restore";
|
|
720
|
+
artifacts_rollback: "artifacts_rollback";
|
|
721
|
+
atlassian_get: "atlassian_get";
|
|
722
|
+
atlassian_search: "atlassian_search";
|
|
723
|
+
atlassian_sources_list: "atlassian_sources_list";
|
|
724
|
+
browser_act: "browser_act";
|
|
725
|
+
browser_auth: "browser_auth";
|
|
726
|
+
browser_clipboard: "browser_clipboard";
|
|
727
|
+
browser_debug: "browser_debug";
|
|
728
|
+
browser_download_save: "browser_download_save";
|
|
729
|
+
browser_downloads: "browser_downloads";
|
|
730
|
+
browser_identity: "browser_identity";
|
|
731
|
+
browser_lifecycle: "browser_lifecycle";
|
|
732
|
+
browser_observe: "browser_observe";
|
|
733
|
+
browser_open: "browser_open";
|
|
734
|
+
browser_publish: "browser_publish";
|
|
735
|
+
browser_read: "browser_read";
|
|
736
|
+
browser_screenshot: "browser_screenshot";
|
|
737
|
+
browser_tabs: "browser_tabs";
|
|
738
|
+
capability_authorization_request: "capability_authorization_request";
|
|
739
|
+
capability_catalog_search: "capability_catalog_search";
|
|
740
|
+
command_read: "command_read";
|
|
741
|
+
command_wait: "command_wait";
|
|
742
|
+
company_profile_confirm: "company_profile_confirm";
|
|
743
|
+
company_profile_propose: "company_profile_propose";
|
|
744
|
+
computer_act: "computer_act";
|
|
745
|
+
computer_clipboard: "computer_clipboard";
|
|
746
|
+
computer_lifecycle: "computer_lifecycle";
|
|
747
|
+
computer_observe: "computer_observe";
|
|
748
|
+
computer_open: "computer_open";
|
|
749
|
+
computer_targets: "computer_targets";
|
|
750
|
+
connected_machine_enroll_token: "connected_machine_enroll_token";
|
|
751
|
+
connected_machine_remove: "connected_machine_remove";
|
|
752
|
+
custom_mcp_setup_request: "custom_mcp_setup_request";
|
|
753
|
+
editable_artifact_apply: "editable_artifact_apply";
|
|
754
|
+
editable_artifact_create: "editable_artifact_create";
|
|
755
|
+
editable_artifact_export: "editable_artifact_export";
|
|
756
|
+
editable_artifact_export_status: "editable_artifact_export_status";
|
|
757
|
+
editable_artifact_get: "editable_artifact_get";
|
|
758
|
+
editable_artifact_import: "editable_artifact_import";
|
|
759
|
+
editable_artifact_inspect: "editable_artifact_inspect";
|
|
760
|
+
editable_artifact_list: "editable_artifact_list";
|
|
761
|
+
environment_list: "environment_list";
|
|
762
|
+
environment_set_variable: "environment_set_variable";
|
|
763
|
+
fiken_bank_accounts_list: "fiken_bank_accounts_list";
|
|
764
|
+
fiken_companies_list: "fiken_companies_list";
|
|
765
|
+
fiken_contact_create: "fiken_contact_create";
|
|
766
|
+
fiken_contacts_list: "fiken_contacts_list";
|
|
767
|
+
fiken_invoice_draft_create: "fiken_invoice_draft_create";
|
|
768
|
+
fiken_invoice_get: "fiken_invoice_get";
|
|
769
|
+
fiken_invoices_list: "fiken_invoices_list";
|
|
770
|
+
fiken_products_list: "fiken_products_list";
|
|
771
|
+
fiken_purchases_list: "fiken_purchases_list";
|
|
772
|
+
fiken_sales_list: "fiken_sales_list";
|
|
773
|
+
github_connect_link: "github_connect_link";
|
|
774
|
+
github_repositories_list: "github_repositories_list";
|
|
775
|
+
goal_complete: "goal_complete";
|
|
776
|
+
goal_pause: "goal_pause";
|
|
777
|
+
goal_progress: "goal_progress";
|
|
778
|
+
goal_resume: "goal_resume";
|
|
779
|
+
goal_set: "goal_set";
|
|
780
|
+
goal_update: "goal_update";
|
|
781
|
+
instruction_policy_get: "instruction_policy_get";
|
|
782
|
+
instruction_policy_propose: "instruction_policy_propose";
|
|
783
|
+
instruction_policy_save: "instruction_policy_save";
|
|
784
|
+
interaction_discover: "interaction_discover";
|
|
785
|
+
interaction_request_human: "interaction_request_human";
|
|
786
|
+
knowledge_archive: "knowledge_archive";
|
|
787
|
+
knowledge_browse: "knowledge_browse";
|
|
788
|
+
knowledge_correct: "knowledge_correct";
|
|
789
|
+
knowledge_get: "knowledge_get";
|
|
790
|
+
knowledge_prepare_save: "knowledge_prepare_save";
|
|
791
|
+
knowledge_propose: "knowledge_propose";
|
|
792
|
+
knowledge_retain_file: "knowledge_retain_file";
|
|
793
|
+
knowledge_retain_message: "knowledge_retain_message";
|
|
794
|
+
knowledge_save: "knowledge_save";
|
|
795
|
+
knowledge_search: "knowledge_search";
|
|
796
|
+
memory_correct: "memory_correct";
|
|
797
|
+
memory_save: "memory_save";
|
|
798
|
+
memory_search: "memory_search";
|
|
799
|
+
preference_propose: "preference_propose";
|
|
800
|
+
preference_registry_get: "preference_registry_get";
|
|
801
|
+
preference_registry_summary: "preference_registry_summary";
|
|
802
|
+
project_create: "project_create";
|
|
803
|
+
project_delete: "project_delete";
|
|
804
|
+
project_get: "project_get";
|
|
805
|
+
project_list: "project_list";
|
|
806
|
+
project_reorder: "project_reorder";
|
|
807
|
+
project_update: "project_update";
|
|
808
|
+
reddit_accounts_list: "reddit_accounts_list";
|
|
809
|
+
reddit_mentions_live: "reddit_mentions_live";
|
|
810
|
+
reddit_post_reply: "reddit_post_reply";
|
|
811
|
+
reddit_posts_sync: "reddit_posts_sync";
|
|
812
|
+
reddit_search_live: "reddit_search_live";
|
|
813
|
+
reddit_thread_fetch: "reddit_thread_fetch";
|
|
814
|
+
remember: "remember";
|
|
815
|
+
remember_confirm: "remember_confirm";
|
|
816
|
+
rig_get: "rig_get";
|
|
817
|
+
rig_list: "rig_list";
|
|
818
|
+
rig_promote: "rig_promote";
|
|
819
|
+
rig_propose_change: "rig_propose_change";
|
|
820
|
+
rig_verify: "rig_verify";
|
|
821
|
+
run_on: "run_on";
|
|
822
|
+
sandbox_attach: "sandbox_attach";
|
|
823
|
+
sandbox_file_publish: "sandbox_file_publish";
|
|
824
|
+
sandbox_provision: "sandbox_provision";
|
|
825
|
+
sandbox_swap: "sandbox_swap";
|
|
826
|
+
sandboxes_list: "sandboxes_list";
|
|
827
|
+
scheduled_task_runs_list: "scheduled_task_runs_list";
|
|
828
|
+
scheduled_tasks_create: "scheduled_tasks_create";
|
|
829
|
+
scheduled_tasks_delete: "scheduled_tasks_delete";
|
|
830
|
+
scheduled_tasks_get: "scheduled_tasks_get";
|
|
831
|
+
scheduled_tasks_list: "scheduled_tasks_list";
|
|
832
|
+
scheduled_tasks_pause: "scheduled_tasks_pause";
|
|
833
|
+
scheduled_tasks_resume: "scheduled_tasks_resume";
|
|
834
|
+
scheduled_tasks_trigger: "scheduled_tasks_trigger";
|
|
835
|
+
scheduled_tasks_update: "scheduled_tasks_update";
|
|
836
|
+
session_create: "session_create";
|
|
837
|
+
session_events: "session_events";
|
|
838
|
+
session_get: "session_get";
|
|
839
|
+
session_human_input_respond: "session_human_input_respond";
|
|
840
|
+
session_pause: "session_pause";
|
|
841
|
+
session_resume: "session_resume";
|
|
842
|
+
session_send_message: "session_send_message";
|
|
843
|
+
session_set_model: "session_set_model";
|
|
844
|
+
session_set_project: "session_set_project";
|
|
845
|
+
session_steer: "session_steer";
|
|
846
|
+
session_wait: "session_wait";
|
|
847
|
+
sessions_list: "sessions_list";
|
|
848
|
+
set_other_session_title: "set_other_session_title";
|
|
849
|
+
set_session_title: "set_session_title";
|
|
850
|
+
slack_bot_channel_history: "slack_bot_channel_history";
|
|
851
|
+
slack_bot_delete_message: "slack_bot_delete_message";
|
|
852
|
+
slack_bot_file_content: "slack_bot_file_content";
|
|
853
|
+
slack_bot_file_info: "slack_bot_file_info";
|
|
854
|
+
slack_bot_list_channels: "slack_bot_list_channels";
|
|
855
|
+
slack_bot_list_files: "slack_bot_list_files";
|
|
856
|
+
slack_bot_list_users: "slack_bot_list_users";
|
|
857
|
+
slack_bot_post_message: "slack_bot_post_message";
|
|
858
|
+
slack_bot_prepare_message: "slack_bot_prepare_message";
|
|
859
|
+
slack_bot_search: "slack_bot_search";
|
|
860
|
+
slack_bot_send_prepared_message: "slack_bot_send_prepared_message";
|
|
861
|
+
slack_bot_thread_replies: "slack_bot_thread_replies";
|
|
862
|
+
slack_bot_upload_file: "slack_bot_upload_file";
|
|
863
|
+
social_connections_list: "social_connections_list";
|
|
864
|
+
social_daily_analysis_context: "social_daily_analysis_context";
|
|
865
|
+
social_mentions_live: "social_mentions_live";
|
|
866
|
+
social_post_reply: "social_post_reply";
|
|
867
|
+
social_posts_recent: "social_posts_recent";
|
|
868
|
+
social_posts_sync: "social_posts_sync";
|
|
869
|
+
social_search_live: "social_search_live";
|
|
870
|
+
social_thread_fetch: "social_thread_fetch";
|
|
871
|
+
task_note_archive: "task_note_archive";
|
|
872
|
+
task_note_promote_instruction_policy: "task_note_promote_instruction_policy";
|
|
873
|
+
task_note_promote_knowledge: "task_note_promote_knowledge";
|
|
874
|
+
task_note_promote_preference: "task_note_promote_preference";
|
|
875
|
+
task_note_replace: "task_note_replace";
|
|
876
|
+
task_note_save: "task_note_save";
|
|
877
|
+
task_notes_list: "task_notes_list";
|
|
878
|
+
variable_set_get_variable: "variable_set_get_variable";
|
|
879
|
+
variable_set_list: "variable_set_list";
|
|
880
|
+
variable_set_set_variable: "variable_set_set_variable";
|
|
881
|
+
wait_for_input: "wait_for_input";
|
|
882
|
+
work_claim_release: "work_claim_release";
|
|
883
|
+
work_claim_upsert: "work_claim_upsert";
|
|
884
|
+
x_accounts_list: "x_accounts_list";
|
|
885
|
+
x_mentions_live: "x_mentions_live";
|
|
886
|
+
x_post_reply: "x_post_reply";
|
|
887
|
+
x_posts_sync: "x_posts_sync";
|
|
888
|
+
x_search_live: "x_search_live";
|
|
889
|
+
x_thread_fetch: "x_thread_fetch";
|
|
890
|
+
}>>>;
|
|
891
|
+
requiredFirstPartyMcpPermissions: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
892
|
+
"account:admin": "account:admin";
|
|
893
|
+
"account:read": "account:read";
|
|
894
|
+
"api_keys:manage": "api_keys:manage";
|
|
895
|
+
"artifacts:publish": "artifacts:publish";
|
|
896
|
+
"artifacts:read": "artifacts:read";
|
|
897
|
+
"billing:manage": "billing:manage";
|
|
898
|
+
"billing:read": "billing:read";
|
|
899
|
+
"capabilities:manage": "capabilities:manage";
|
|
900
|
+
"codemode:call": "codemode:call";
|
|
901
|
+
"connections:read": "connections:read";
|
|
902
|
+
"connections:write": "connections:write";
|
|
903
|
+
"documents:manage": "documents:manage";
|
|
904
|
+
"documents:search": "documents:search";
|
|
905
|
+
"enrollments:manage": "enrollments:manage";
|
|
906
|
+
"enrollments:read": "enrollments:read";
|
|
907
|
+
"environments:manage": "environments:manage";
|
|
908
|
+
"environments:use": "environments:use";
|
|
909
|
+
"files:read": "files:read";
|
|
910
|
+
"files:upload": "files:upload";
|
|
911
|
+
"files:write": "files:write";
|
|
912
|
+
"github:manage": "github:manage";
|
|
913
|
+
"github:use": "github:use";
|
|
914
|
+
"goals:manage": "goals:manage";
|
|
915
|
+
"mcp_servers:attach": "mcp_servers:attach";
|
|
916
|
+
"members:manage": "members:manage";
|
|
917
|
+
"rigs:manage": "rigs:manage";
|
|
918
|
+
"rigs:use": "rigs:use";
|
|
919
|
+
"scheduled_tasks:manage": "scheduled_tasks:manage";
|
|
920
|
+
"scheduled_tasks:run": "scheduled_tasks:run";
|
|
921
|
+
"secrets:list": "secrets:list";
|
|
922
|
+
"secrets:read": "secrets:read";
|
|
923
|
+
"secrets:write": "secrets:write";
|
|
924
|
+
"sessions:control": "sessions:control";
|
|
925
|
+
"sessions:create": "sessions:create";
|
|
926
|
+
"sessions:read": "sessions:read";
|
|
927
|
+
"stream:acknowledge": "stream:acknowledge";
|
|
928
|
+
"stream:control": "stream:control";
|
|
929
|
+
"stream:view": "stream:view";
|
|
930
|
+
"terminal:attach": "terminal:attach";
|
|
931
|
+
"usage_allowances:manage": "usage_allowances:manage";
|
|
932
|
+
"variable-sets:attach": "variable-sets:attach";
|
|
933
|
+
"variable-sets:list": "variable-sets:list";
|
|
934
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
935
|
+
"variable-sets:read": "variable-sets:read";
|
|
936
|
+
"variable-sets:use": "variable-sets:use";
|
|
937
|
+
"variable-sets:write": "variable-sets:write";
|
|
938
|
+
"workspace:admin": "workspace:admin";
|
|
939
|
+
"workspace:create": "workspace:create";
|
|
940
|
+
"workspace:read": "workspace:read";
|
|
941
|
+
}>>>;
|
|
942
|
+
requiredRig: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
943
|
+
name: z.ZodString;
|
|
944
|
+
credentialHookIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
945
|
+
}, z.core.$strict>>>;
|
|
946
|
+
requiredVariableSetNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
947
|
+
requiredVariableNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
948
|
+
dataSource: z.ZodObject<{
|
|
949
|
+
kind: z.ZodLiteral<"prometheus">;
|
|
950
|
+
queryPath: z.ZodEnum<{
|
|
951
|
+
"/api/v1/query": "/api/v1/query";
|
|
952
|
+
"/api/v1/query_range": "/api/v1/query_range";
|
|
953
|
+
}>;
|
|
954
|
+
workspaceLabel: z.ZodString;
|
|
955
|
+
alertSelectorLabels: z.ZodArray<z.ZodString>;
|
|
956
|
+
route: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
957
|
+
kind: z.ZodLiteral<"mcp">;
|
|
958
|
+
serverId: z.ZodString;
|
|
959
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
960
|
+
kind: z.ZodLiteral<"first_party">;
|
|
961
|
+
tool: z.ZodEnum<{
|
|
962
|
+
artifacts_archive: "artifacts_archive";
|
|
963
|
+
artifacts_create: "artifacts_create";
|
|
964
|
+
artifacts_get_source: "artifacts_get_source";
|
|
965
|
+
artifacts_list: "artifacts_list";
|
|
966
|
+
artifacts_prepare_upload: "artifacts_prepare_upload";
|
|
967
|
+
artifacts_publish: "artifacts_publish";
|
|
968
|
+
artifacts_restore: "artifacts_restore";
|
|
969
|
+
artifacts_rollback: "artifacts_rollback";
|
|
970
|
+
atlassian_get: "atlassian_get";
|
|
971
|
+
atlassian_search: "atlassian_search";
|
|
972
|
+
atlassian_sources_list: "atlassian_sources_list";
|
|
973
|
+
browser_act: "browser_act";
|
|
974
|
+
browser_auth: "browser_auth";
|
|
975
|
+
browser_clipboard: "browser_clipboard";
|
|
976
|
+
browser_debug: "browser_debug";
|
|
977
|
+
browser_download_save: "browser_download_save";
|
|
978
|
+
browser_downloads: "browser_downloads";
|
|
979
|
+
browser_identity: "browser_identity";
|
|
980
|
+
browser_lifecycle: "browser_lifecycle";
|
|
981
|
+
browser_observe: "browser_observe";
|
|
982
|
+
browser_open: "browser_open";
|
|
983
|
+
browser_publish: "browser_publish";
|
|
984
|
+
browser_read: "browser_read";
|
|
985
|
+
browser_screenshot: "browser_screenshot";
|
|
986
|
+
browser_tabs: "browser_tabs";
|
|
987
|
+
capability_authorization_request: "capability_authorization_request";
|
|
988
|
+
capability_catalog_search: "capability_catalog_search";
|
|
989
|
+
command_read: "command_read";
|
|
990
|
+
command_wait: "command_wait";
|
|
991
|
+
company_profile_confirm: "company_profile_confirm";
|
|
992
|
+
company_profile_propose: "company_profile_propose";
|
|
993
|
+
computer_act: "computer_act";
|
|
994
|
+
computer_clipboard: "computer_clipboard";
|
|
995
|
+
computer_lifecycle: "computer_lifecycle";
|
|
996
|
+
computer_observe: "computer_observe";
|
|
997
|
+
computer_open: "computer_open";
|
|
998
|
+
computer_targets: "computer_targets";
|
|
999
|
+
connected_machine_enroll_token: "connected_machine_enroll_token";
|
|
1000
|
+
connected_machine_remove: "connected_machine_remove";
|
|
1001
|
+
custom_mcp_setup_request: "custom_mcp_setup_request";
|
|
1002
|
+
editable_artifact_apply: "editable_artifact_apply";
|
|
1003
|
+
editable_artifact_create: "editable_artifact_create";
|
|
1004
|
+
editable_artifact_export: "editable_artifact_export";
|
|
1005
|
+
editable_artifact_export_status: "editable_artifact_export_status";
|
|
1006
|
+
editable_artifact_get: "editable_artifact_get";
|
|
1007
|
+
editable_artifact_import: "editable_artifact_import";
|
|
1008
|
+
editable_artifact_inspect: "editable_artifact_inspect";
|
|
1009
|
+
editable_artifact_list: "editable_artifact_list";
|
|
1010
|
+
environment_list: "environment_list";
|
|
1011
|
+
environment_set_variable: "environment_set_variable";
|
|
1012
|
+
fiken_bank_accounts_list: "fiken_bank_accounts_list";
|
|
1013
|
+
fiken_companies_list: "fiken_companies_list";
|
|
1014
|
+
fiken_contact_create: "fiken_contact_create";
|
|
1015
|
+
fiken_contacts_list: "fiken_contacts_list";
|
|
1016
|
+
fiken_invoice_draft_create: "fiken_invoice_draft_create";
|
|
1017
|
+
fiken_invoice_get: "fiken_invoice_get";
|
|
1018
|
+
fiken_invoices_list: "fiken_invoices_list";
|
|
1019
|
+
fiken_products_list: "fiken_products_list";
|
|
1020
|
+
fiken_purchases_list: "fiken_purchases_list";
|
|
1021
|
+
fiken_sales_list: "fiken_sales_list";
|
|
1022
|
+
github_connect_link: "github_connect_link";
|
|
1023
|
+
github_repositories_list: "github_repositories_list";
|
|
1024
|
+
goal_complete: "goal_complete";
|
|
1025
|
+
goal_pause: "goal_pause";
|
|
1026
|
+
goal_progress: "goal_progress";
|
|
1027
|
+
goal_resume: "goal_resume";
|
|
1028
|
+
goal_set: "goal_set";
|
|
1029
|
+
goal_update: "goal_update";
|
|
1030
|
+
instruction_policy_get: "instruction_policy_get";
|
|
1031
|
+
instruction_policy_propose: "instruction_policy_propose";
|
|
1032
|
+
instruction_policy_save: "instruction_policy_save";
|
|
1033
|
+
interaction_discover: "interaction_discover";
|
|
1034
|
+
interaction_request_human: "interaction_request_human";
|
|
1035
|
+
knowledge_archive: "knowledge_archive";
|
|
1036
|
+
knowledge_browse: "knowledge_browse";
|
|
1037
|
+
knowledge_correct: "knowledge_correct";
|
|
1038
|
+
knowledge_get: "knowledge_get";
|
|
1039
|
+
knowledge_prepare_save: "knowledge_prepare_save";
|
|
1040
|
+
knowledge_propose: "knowledge_propose";
|
|
1041
|
+
knowledge_retain_file: "knowledge_retain_file";
|
|
1042
|
+
knowledge_retain_message: "knowledge_retain_message";
|
|
1043
|
+
knowledge_save: "knowledge_save";
|
|
1044
|
+
knowledge_search: "knowledge_search";
|
|
1045
|
+
memory_correct: "memory_correct";
|
|
1046
|
+
memory_save: "memory_save";
|
|
1047
|
+
memory_search: "memory_search";
|
|
1048
|
+
preference_propose: "preference_propose";
|
|
1049
|
+
preference_registry_get: "preference_registry_get";
|
|
1050
|
+
preference_registry_summary: "preference_registry_summary";
|
|
1051
|
+
project_create: "project_create";
|
|
1052
|
+
project_delete: "project_delete";
|
|
1053
|
+
project_get: "project_get";
|
|
1054
|
+
project_list: "project_list";
|
|
1055
|
+
project_reorder: "project_reorder";
|
|
1056
|
+
project_update: "project_update";
|
|
1057
|
+
reddit_accounts_list: "reddit_accounts_list";
|
|
1058
|
+
reddit_mentions_live: "reddit_mentions_live";
|
|
1059
|
+
reddit_post_reply: "reddit_post_reply";
|
|
1060
|
+
reddit_posts_sync: "reddit_posts_sync";
|
|
1061
|
+
reddit_search_live: "reddit_search_live";
|
|
1062
|
+
reddit_thread_fetch: "reddit_thread_fetch";
|
|
1063
|
+
remember: "remember";
|
|
1064
|
+
remember_confirm: "remember_confirm";
|
|
1065
|
+
rig_get: "rig_get";
|
|
1066
|
+
rig_list: "rig_list";
|
|
1067
|
+
rig_promote: "rig_promote";
|
|
1068
|
+
rig_propose_change: "rig_propose_change";
|
|
1069
|
+
rig_verify: "rig_verify";
|
|
1070
|
+
run_on: "run_on";
|
|
1071
|
+
sandbox_attach: "sandbox_attach";
|
|
1072
|
+
sandbox_file_publish: "sandbox_file_publish";
|
|
1073
|
+
sandbox_provision: "sandbox_provision";
|
|
1074
|
+
sandbox_swap: "sandbox_swap";
|
|
1075
|
+
sandboxes_list: "sandboxes_list";
|
|
1076
|
+
scheduled_task_runs_list: "scheduled_task_runs_list";
|
|
1077
|
+
scheduled_tasks_create: "scheduled_tasks_create";
|
|
1078
|
+
scheduled_tasks_delete: "scheduled_tasks_delete";
|
|
1079
|
+
scheduled_tasks_get: "scheduled_tasks_get";
|
|
1080
|
+
scheduled_tasks_list: "scheduled_tasks_list";
|
|
1081
|
+
scheduled_tasks_pause: "scheduled_tasks_pause";
|
|
1082
|
+
scheduled_tasks_resume: "scheduled_tasks_resume";
|
|
1083
|
+
scheduled_tasks_trigger: "scheduled_tasks_trigger";
|
|
1084
|
+
scheduled_tasks_update: "scheduled_tasks_update";
|
|
1085
|
+
session_create: "session_create";
|
|
1086
|
+
session_events: "session_events";
|
|
1087
|
+
session_get: "session_get";
|
|
1088
|
+
session_human_input_respond: "session_human_input_respond";
|
|
1089
|
+
session_pause: "session_pause";
|
|
1090
|
+
session_resume: "session_resume";
|
|
1091
|
+
session_send_message: "session_send_message";
|
|
1092
|
+
session_set_model: "session_set_model";
|
|
1093
|
+
session_set_project: "session_set_project";
|
|
1094
|
+
session_steer: "session_steer";
|
|
1095
|
+
session_wait: "session_wait";
|
|
1096
|
+
sessions_list: "sessions_list";
|
|
1097
|
+
set_other_session_title: "set_other_session_title";
|
|
1098
|
+
set_session_title: "set_session_title";
|
|
1099
|
+
slack_bot_channel_history: "slack_bot_channel_history";
|
|
1100
|
+
slack_bot_delete_message: "slack_bot_delete_message";
|
|
1101
|
+
slack_bot_file_content: "slack_bot_file_content";
|
|
1102
|
+
slack_bot_file_info: "slack_bot_file_info";
|
|
1103
|
+
slack_bot_list_channels: "slack_bot_list_channels";
|
|
1104
|
+
slack_bot_list_files: "slack_bot_list_files";
|
|
1105
|
+
slack_bot_list_users: "slack_bot_list_users";
|
|
1106
|
+
slack_bot_post_message: "slack_bot_post_message";
|
|
1107
|
+
slack_bot_prepare_message: "slack_bot_prepare_message";
|
|
1108
|
+
slack_bot_search: "slack_bot_search";
|
|
1109
|
+
slack_bot_send_prepared_message: "slack_bot_send_prepared_message";
|
|
1110
|
+
slack_bot_thread_replies: "slack_bot_thread_replies";
|
|
1111
|
+
slack_bot_upload_file: "slack_bot_upload_file";
|
|
1112
|
+
social_connections_list: "social_connections_list";
|
|
1113
|
+
social_daily_analysis_context: "social_daily_analysis_context";
|
|
1114
|
+
social_mentions_live: "social_mentions_live";
|
|
1115
|
+
social_post_reply: "social_post_reply";
|
|
1116
|
+
social_posts_recent: "social_posts_recent";
|
|
1117
|
+
social_posts_sync: "social_posts_sync";
|
|
1118
|
+
social_search_live: "social_search_live";
|
|
1119
|
+
social_thread_fetch: "social_thread_fetch";
|
|
1120
|
+
task_note_archive: "task_note_archive";
|
|
1121
|
+
task_note_promote_instruction_policy: "task_note_promote_instruction_policy";
|
|
1122
|
+
task_note_promote_knowledge: "task_note_promote_knowledge";
|
|
1123
|
+
task_note_promote_preference: "task_note_promote_preference";
|
|
1124
|
+
task_note_replace: "task_note_replace";
|
|
1125
|
+
task_note_save: "task_note_save";
|
|
1126
|
+
task_notes_list: "task_notes_list";
|
|
1127
|
+
variable_set_get_variable: "variable_set_get_variable";
|
|
1128
|
+
variable_set_list: "variable_set_list";
|
|
1129
|
+
variable_set_set_variable: "variable_set_set_variable";
|
|
1130
|
+
wait_for_input: "wait_for_input";
|
|
1131
|
+
work_claim_release: "work_claim_release";
|
|
1132
|
+
work_claim_upsert: "work_claim_upsert";
|
|
1133
|
+
x_accounts_list: "x_accounts_list";
|
|
1134
|
+
x_mentions_live: "x_mentions_live";
|
|
1135
|
+
x_post_reply: "x_post_reply";
|
|
1136
|
+
x_posts_sync: "x_posts_sync";
|
|
1137
|
+
x_search_live: "x_search_live";
|
|
1138
|
+
x_thread_fetch: "x_thread_fetch";
|
|
1139
|
+
}>;
|
|
1140
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1141
|
+
kind: z.ZodLiteral<"variable_set">;
|
|
1142
|
+
variableSetName: z.ZodString;
|
|
1143
|
+
variableNames: z.ZodArray<z.ZodString>;
|
|
1144
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1145
|
+
kind: z.ZodLiteral<"rig_credential_hook">;
|
|
1146
|
+
credentialHookId: z.ZodString;
|
|
1147
|
+
}, z.core.$strict>], "kind">;
|
|
1148
|
+
requiredSeries: z.ZodArray<z.ZodObject<{
|
|
1149
|
+
metric: z.ZodString;
|
|
1150
|
+
labels: z.ZodArray<z.ZodString>;
|
|
1151
|
+
}, z.core.$strict>>;
|
|
1152
|
+
availableSeries: z.ZodArray<z.ZodObject<{
|
|
1153
|
+
metric: z.ZodString;
|
|
1154
|
+
labels: z.ZodArray<z.ZodString>;
|
|
1155
|
+
}, z.core.$strict>>;
|
|
1156
|
+
}, z.core.$strict>;
|
|
1157
|
+
}, z.core.$strict>>;
|
|
1158
|
+
maxNestedAgentDepth: z.ZodOptional<z.ZodNumber>;
|
|
1159
|
+
approvalTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1160
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
1161
|
+
capabilities: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodLiteral<"none">, z.ZodObject<{
|
|
1162
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
1163
|
+
humanInput: z.ZodOptional<z.ZodBoolean>;
|
|
1164
|
+
skills: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"read">, z.ZodLiteral<"manage">, z.ZodLiteral<false>]>>;
|
|
1165
|
+
goals: z.ZodOptional<z.ZodBoolean>;
|
|
1166
|
+
subagents: z.ZodOptional<z.ZodBoolean>;
|
|
1167
|
+
knowledge: z.ZodOptional<z.ZodBoolean>;
|
|
1168
|
+
schedules: z.ZodOptional<z.ZodBoolean>;
|
|
1169
|
+
artifacts: z.ZodOptional<z.ZodBoolean>;
|
|
1170
|
+
browser: z.ZodOptional<z.ZodBoolean>;
|
|
1171
|
+
media: z.ZodOptional<z.ZodBoolean>;
|
|
1172
|
+
workspaceFiles: z.ZodOptional<z.ZodBoolean>;
|
|
1173
|
+
workspaceConnectors: z.ZodOptional<z.ZodBoolean>;
|
|
1174
|
+
workspaceAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
1175
|
+
from: z.ZodEnum<{
|
|
1176
|
+
all: "all";
|
|
1177
|
+
none: "none";
|
|
1178
|
+
}>;
|
|
1179
|
+
}, z.core.$strict>]>>;
|
|
1180
|
+
identity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1181
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1182
|
+
renderer: z.ZodOptional<z.ZodEnum<{
|
|
1183
|
+
markdown: "markdown";
|
|
1184
|
+
opengeni: "opengeni";
|
|
1185
|
+
}>>;
|
|
1186
|
+
}, z.core.$strict>>;
|
|
1187
|
+
}, z.core.$strict>>;
|
|
1188
|
+
}, z.core.$strict>;
|
|
1189
|
+
export declare function scheduledTaskCreateToolValidation(sessionId: string | null): z.ZodRecord<z.ZodString, z.ZodUnknown>;
|