@opengeni/contracts 0.44.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/agent-authored-durable-text.d.ts +70 -0
- package/dist/agent-config.d.ts +869 -0
- package/dist/agent-instruction-changes.d.ts +110 -0
- package/dist/agent-learning.d.ts +243 -0
- package/dist/agent-topology.d.ts +292 -0
- package/dist/allowance-refusal.d.ts +9 -0
- package/dist/allowance-refusal.js +50 -0
- package/dist/allowance-refusal.js.map +1 -0
- package/dist/analytics-consent-report.d.ts +19 -0
- package/dist/analytics-consent-report.js +10 -0
- package/dist/analytics-consent-report.js.map +1 -0
- package/dist/api-key-presets.d.ts +19 -0
- package/dist/artifact-catalog.d.ts +161 -0
- package/dist/artifacts.d.ts +135 -11
- package/dist/atlassian-native-retirement.d.ts +16 -0
- package/dist/atlassian-native-retirement.js +30 -0
- package/dist/atlassian-native-retirement.js.map +1 -0
- package/dist/atlassian.d.ts +2 -0
- package/dist/atlassian.js +27 -11
- package/dist/browser-storage.d.ts +5 -0
- package/dist/browser-storage.js +9 -0
- package/dist/browser-storage.js.map +1 -0
- package/dist/bundled-skills.d.ts +40 -0
- package/dist/canonical-human-identities.d.ts +157 -0
- package/dist/canonical-human-identities.js +23 -0
- package/dist/canonical-human-identities.js.map +1 -0
- package/dist/chunk-2ACYHZFB.js +292 -0
- package/dist/chunk-2ACYHZFB.js.map +1 -0
- package/dist/chunk-2VORLN2R.js +353 -0
- package/dist/chunk-2VORLN2R.js.map +1 -0
- package/dist/{chunk-Y3MLSLB4.js → chunk-3SIZGL3O.js} +42 -30
- package/dist/chunk-3SIZGL3O.js.map +1 -0
- package/dist/chunk-46KLD2UH.js +186 -0
- package/dist/chunk-46KLD2UH.js.map +1 -0
- package/dist/chunk-4JGHSSB7.js +11 -0
- package/dist/chunk-4JGHSSB7.js.map +1 -0
- package/dist/{chunk-52SGB2QO.js → chunk-5IXYF6XN.js} +50 -10
- package/dist/chunk-5IXYF6XN.js.map +1 -0
- package/dist/chunk-BCS7WHCK.js +139 -0
- package/dist/chunk-BCS7WHCK.js.map +1 -0
- package/dist/chunk-EK7NDGFR.js +128 -0
- package/dist/chunk-EK7NDGFR.js.map +1 -0
- package/dist/{chunk-5UDNP7AO.js → chunk-FZ6BXQHL.js} +78 -38
- package/dist/chunk-FZ6BXQHL.js.map +1 -0
- package/dist/chunk-GRG7PHWQ.js +25 -0
- package/dist/chunk-GRG7PHWQ.js.map +1 -0
- package/dist/chunk-JUFK3T4Q.js +80 -0
- package/dist/chunk-JUFK3T4Q.js.map +1 -0
- package/dist/chunk-KHHZTBP7.js +11 -0
- package/dist/chunk-KHHZTBP7.js.map +1 -0
- package/dist/chunk-KR2V42UZ.js +187 -0
- package/dist/chunk-KR2V42UZ.js.map +1 -0
- package/dist/chunk-MZLBPKFE.js +168 -0
- package/dist/chunk-MZLBPKFE.js.map +1 -0
- package/dist/{chunk-H5BVCZKF.js → chunk-NRMCVHAU.js} +6 -5
- package/dist/chunk-NRMCVHAU.js.map +1 -0
- package/dist/{chunk-TZ6YEYN4.js → chunk-NVJMJWLL.js} +3 -1
- package/dist/chunk-NVJMJWLL.js.map +1 -0
- package/dist/chunk-O77VSFYZ.js +70 -0
- package/dist/chunk-O77VSFYZ.js.map +1 -0
- package/dist/chunk-PX3VCKAU.js +29 -0
- package/dist/chunk-PX3VCKAU.js.map +1 -0
- package/dist/chunk-QR5D2IQC.js +61 -0
- package/dist/chunk-QR5D2IQC.js.map +1 -0
- package/dist/chunk-RJ76DRPO.js +117 -0
- package/dist/chunk-RJ76DRPO.js.map +1 -0
- package/dist/chunk-RKX3NQYS.js +28 -0
- package/dist/chunk-RKX3NQYS.js.map +1 -0
- package/dist/{chunk-FJBG5E4O.js → chunk-SIOU2K4U.js} +45 -22
- package/dist/chunk-SIOU2K4U.js.map +1 -0
- package/dist/chunk-TSCDAGET.js +75 -0
- package/dist/chunk-TSCDAGET.js.map +1 -0
- package/dist/{chunk-LSB7GRLG.js → chunk-TXTQIYCV.js} +15 -11
- package/dist/chunk-TXTQIYCV.js.map +1 -0
- package/dist/chunk-X7ETVO4P.js +26544 -0
- package/dist/chunk-X7ETVO4P.js.map +1 -0
- package/dist/{chunk-CADSX6UN.js → chunk-Y3KNXVTD.js} +2 -2
- package/dist/chunk-YBW5JSA3.js +251 -0
- package/dist/chunk-YBW5JSA3.js.map +1 -0
- package/dist/chunk-YRXAWWCU.js +45 -0
- package/dist/chunk-YRXAWWCU.js.map +1 -0
- package/dist/claude-provider-account-authority.d.ts +18 -0
- package/dist/claude-subscription-oauth.d.ts +42 -0
- package/dist/claude-subscription-usage.d.ts +159 -0
- package/dist/client-error-report.d.ts +109 -0
- package/dist/client-error-report.js +87 -0
- package/dist/client-error-report.js.map +1 -0
- package/dist/code-search.d.ts +52 -0
- package/dist/code-search.js +40 -0
- package/dist/code-search.js.map +1 -0
- package/dist/codex-provider-account-authority.d.ts +23 -0
- package/dist/codex-provider-account-authority.js +23 -0
- package/dist/codex-provider-account-authority.js.map +1 -0
- package/dist/company-brain-governed-writes.d.ts +475 -0
- package/dist/company-brain.d.ts +336 -0
- package/dist/company-profile.d.ts +566 -0
- package/dist/connect.d.ts +325 -0
- package/dist/connect.js +191 -0
- package/dist/connect.js.map +1 -0
- package/dist/connection-account-label.d.ts +2 -0
- package/dist/connection-account-label.js +35 -0
- package/dist/connection-account-label.js.map +1 -0
- package/dist/connection-authority.d.ts +193 -0
- package/dist/connection-authority.js +50 -0
- package/dist/connection-authority.js.map +1 -0
- package/dist/connector-attachments.d.ts +95 -0
- package/dist/connector-attachments.js +51 -0
- package/dist/connector-attachments.js.map +1 -0
- package/dist/connector-tool-permissions.d.ts +73 -0
- package/dist/direct-model-provider.d.ts +36 -0
- package/dist/editable-artifact-codec-registry.d.ts +16 -7
- package/dist/editable-artifact-codec-registry.js +19 -9
- package/dist/editable-artifact-committed-transaction.d.ts +2 -2
- package/dist/editable-artifact-committed-transaction.js +2 -2
- package/dist/editable-artifact-live.d.ts +11 -12
- package/dist/editable-artifact-live.js +110 -45
- package/dist/editable-artifact-live.js.map +1 -1
- package/dist/editable-artifact-serialized-commit.d.ts +2 -1
- package/dist/editable-artifact-serialized-commit.js +8 -7
- package/dist/editable-artifact-versions.d.ts +20 -5
- package/dist/editable-artifact-versions.js +23 -5
- package/dist/editable-artifacts.d.ts +2 -0
- package/dist/editable-artifacts.js +48 -36
- package/dist/external-identities.d.ts +784 -0
- package/dist/external-identities.js +44 -0
- package/dist/external-identities.js.map +1 -0
- package/dist/feedback.d.ts +51 -0
- package/dist/github-repository-contracts.d.ts +36 -0
- package/dist/github-repository-contracts.js +59 -0
- package/dist/github-repository-contracts.js.map +1 -0
- package/dist/github-repository.d.ts +14 -0
- package/dist/github-repository.js +36 -0
- package/dist/github-repository.js.map +1 -0
- package/dist/google-drive.d.ts +90 -1
- package/dist/google-drive.js +91 -15
- package/dist/google-drive.js.map +1 -1
- package/dist/governed-learning-activation.d.ts +154 -0
- package/dist/governed-learning-evaluator.d.ts +152 -0
- package/dist/host-mcp-bindings.d.ts +326 -0
- package/dist/host-mcp-bindings.js +252 -0
- package/dist/host-mcp-bindings.js.map +1 -0
- package/dist/image-generation.d.ts +1 -0
- package/dist/index.d.ts +27574 -5374
- package/dist/index.js +2531 -177
- package/dist/insights-usage.d.ts +877 -0
- package/dist/insights-usage.js +509 -0
- package/dist/insights-usage.js.map +1 -0
- package/dist/interaction.d.ts +1752 -13
- package/dist/knowledge-entries.d.ts +982 -0
- package/dist/knowledge-preparation.d.ts +237 -0
- package/dist/knowledge.d.ts +740 -0
- package/dist/managed-auth-session-sets.d.ts +241 -0
- package/dist/managed-auth-session-sets.js +191 -0
- package/dist/managed-auth-session-sets.js.map +1 -0
- package/dist/managed-sign-in-methods.d.ts +56 -0
- package/dist/managed-sign-in-methods.js +46 -0
- package/dist/managed-sign-in-methods.js.map +1 -0
- package/dist/mcp-catalog-limits.d.ts +2 -0
- package/dist/mcp-endpoint.d.ts +7 -0
- package/dist/mcp-endpoint.js +9 -0
- package/dist/mcp-endpoint.js.map +1 -0
- package/dist/mcp-oauth.d.ts +71 -0
- package/dist/modal-native-proof-v2.d.ts +587 -0
- package/dist/modal-native-proof-v2.js +37 -0
- package/dist/modal-native-proof-v2.js.map +1 -0
- package/dist/model-availability.d.ts +15 -0
- package/dist/model-connection-access.d.ts +24 -0
- package/dist/model-context-inspector.d.ts +329 -0
- package/dist/model-display.d.ts +38 -0
- package/dist/model-display.js +134 -0
- package/dist/model-display.js.map +1 -0
- package/dist/model-picker-order.d.ts +25 -0
- package/dist/model-picker-order.js +42 -0
- package/dist/model-picker-order.js.map +1 -0
- package/dist/organization-access.d.ts +231 -0
- package/dist/organization-access.js +34 -0
- package/dist/organization-access.js.map +1 -0
- package/dist/organization-integration-policy.d.ts +27 -0
- package/dist/organization-membership-lifecycle.d.ts +1022 -0
- package/dist/organization-model-usage.d.ts +146 -0
- package/dist/organization-model-usage.js +67 -0
- package/dist/organization-model-usage.js.map +1 -0
- package/dist/organization-recovery.d.ts +337 -0
- package/dist/organization-recovery.js +37 -0
- package/dist/organization-recovery.js.map +1 -0
- package/dist/organization-usage.d.ts +138 -0
- package/dist/permissions.d.ts +54 -0
- package/dist/personal-github.d.ts +320 -0
- package/dist/personal-github.js +222 -0
- package/dist/personal-github.js.map +1 -0
- package/dist/plugin-discovery.d.ts +35 -0
- package/dist/plugin-discovery.js +7 -0
- package/dist/plugin-discovery.js.map +1 -0
- package/dist/preference-registry.d.ts +44 -1
- package/dist/product-analytics.d.ts +113 -0
- package/dist/product-lifecycle-facts.d.ts +73 -0
- package/dist/remember.d.ts +350 -0
- package/dist/retained-output.d.ts +8 -0
- package/dist/sandbox-file-artifacts.d.ts +57 -0
- package/dist/sandbox-provider-command.d.ts +113 -0
- package/dist/sandbox-recovery.d.ts +146 -0
- package/dist/sandbox-snapshots.d.ts +39 -0
- package/dist/session-final-reply.d.ts +6 -0
- package/dist/session-final-reply.js +9 -0
- package/dist/session-final-reply.js.map +1 -0
- package/dist/session-goal-reports.d.ts +21 -0
- package/dist/session-history-import.d.ts +947 -0
- package/dist/session-list-entries.d.ts +4 -0
- package/dist/session-list-entries.js +51 -0
- package/dist/session-list-entries.js.map +1 -0
- package/dist/session-mcp-projections.d.ts +215 -0
- package/dist/session-message-search.d.ts +68 -0
- package/dist/session-titles.d.ts +68 -0
- package/dist/session-titles.js +25 -0
- package/dist/session-titles.js.map +1 -0
- package/dist/session-topology-primitives.d.ts +22 -0
- package/dist/signup-attribution.d.ts +39 -0
- package/dist/site-request-headers.test.d.ts +1 -0
- package/dist/site-session-http.d.ts +11 -0
- package/dist/site-session-http.js +11 -0
- package/dist/site-session-http.js.map +1 -0
- package/dist/skill-catalog-context.d.ts +7 -0
- package/dist/skill-files.d.ts +12 -0
- package/dist/skill-metadata.d.ts +9 -0
- package/dist/skill-use.d.ts +61 -0
- package/dist/skills.d.ts +185 -0
- package/dist/slack-bot-scopes.d.ts +46 -21
- package/dist/slack-bot-scopes.js +14 -3
- package/dist/slack-rest-mcp.d.ts +31 -0
- package/dist/slack-rest-mcp.js +19 -0
- package/dist/slack-rest-mcp.js.map +1 -0
- package/dist/slack-task-policy.d.ts +294 -0
- package/dist/spreadsheet-artifact-commands.d.ts +2 -3
- package/dist/spreadsheet-artifact-commands.js +4 -2
- package/dist/spreadsheet-artifact-query.js +3 -2
- package/dist/subscription-account-pools.d.ts +292 -0
- package/dist/task-notes.d.ts +169 -0
- package/dist/tool-catalog.d.ts +286 -0
- package/dist/tool-result-spill.d.ts +16 -0
- package/dist/usage-allowances.d.ts +285 -0
- package/dist/usage-allowances.js +49 -0
- package/dist/usage-allowances.js.map +1 -0
- package/dist/video-generation.d.ts +51 -0
- package/dist/video-generation.js +9 -1
- package/dist/work-claims.d.ts +411 -0
- package/dist/workspace-instruction-policies.d.ts +94 -0
- package/dist/workspace-integration-wire.d.ts +36 -0
- package/dist/workspace-integration-wire.js +23 -0
- package/dist/workspace-integration-wire.js.map +1 -0
- package/dist/workspace-integrations.d.ts +948 -0
- package/dist/workspace-learning-administration.d.ts +289 -0
- package/dist/workspace-learning-policy.d.ts +1 -1
- package/dist/workspace-state.d.ts +85 -416
- package/dist/xai-provider-account-authority.d.ts +26 -0
- package/dist/xai-provider-account-authority.js +9 -0
- package/dist/xai-provider-account-authority.js.map +1 -0
- package/package.json +146 -1
- package/src/agent-authored-durable-text.ts +116 -0
- package/src/agent-config.ts +1527 -0
- package/src/agent-instruction-changes.ts +98 -0
- package/src/agent-learning.ts +161 -0
- package/src/agent-topology.ts +69 -0
- package/src/allowance-refusal.ts +81 -0
- package/src/analytics-consent-report.ts +20 -0
- package/src/api-key-presets.ts +25 -0
- package/src/artifact-catalog.ts +60 -0
- package/src/artifacts.ts +146 -18
- package/src/atlassian-native-retirement.ts +33 -0
- package/src/browser-storage.ts +10 -0
- package/src/bundled-skills.ts +73 -0
- package/src/canonical-human-identities.ts +93 -0
- package/src/claude-provider-account-authority.ts +12 -0
- package/src/claude-subscription-oauth.ts +62 -0
- package/src/claude-subscription-usage.ts +59 -0
- package/src/client-error-report.ts +184 -0
- package/src/code-search.ts +105 -0
- package/src/codex-provider-account-authority.ts +37 -0
- package/src/company-brain-governed-writes.ts +356 -0
- package/src/company-brain.ts +201 -0
- package/src/company-profile.ts +167 -1
- package/src/connect.ts +202 -0
- package/src/connection-account-label.ts +46 -0
- package/src/connection-authority.ts +213 -0
- package/src/connector-attachments.ts +327 -0
- package/src/connector-tool-permissions.ts +60 -0
- package/src/direct-model-provider.ts +98 -0
- package/src/editable-artifact-codec-registry.ts +55 -17
- package/src/editable-artifact-committed-transaction.ts +44 -31
- package/src/editable-artifact-live.ts +123 -57
- package/src/editable-artifact-serialized-commit.ts +2 -1
- package/src/editable-artifact-versions.ts +26 -5
- package/src/editable-artifacts.ts +2 -0
- package/src/external-identities.ts +285 -0
- package/src/feedback.ts +39 -0
- package/src/github-repository-contracts.ts +85 -0
- package/src/github-repository.ts +59 -0
- package/src/google-drive.ts +76 -4
- package/src/governed-learning-activation.ts +191 -0
- package/src/governed-learning-evaluator.ts +176 -0
- package/src/host-mcp-bindings.ts +298 -0
- package/src/image-generation.ts +8 -2
- package/src/index.ts +8019 -1799
- package/src/insights-usage.ts +679 -0
- package/src/interaction.ts +1102 -6
- package/src/knowledge-entries.ts +375 -0
- package/src/knowledge-preparation.ts +50 -0
- package/src/knowledge.ts +335 -0
- package/src/managed-auth-session-sets.ts +253 -0
- package/src/managed-sign-in-methods.ts +37 -0
- package/src/mcp-catalog-limits.ts +2 -0
- package/src/mcp-endpoint.ts +30 -0
- package/src/mcp-oauth.ts +66 -0
- package/src/modal-native-proof-v2.ts +398 -0
- package/src/model-availability.ts +22 -0
- package/src/model-connection-access.ts +17 -0
- package/src/model-context-inspector.ts +139 -0
- package/src/model-display.ts +195 -0
- package/src/model-picker-order.ts +97 -0
- package/src/organization-access.ts +176 -0
- package/src/organization-integration-policy.ts +54 -0
- package/src/organization-membership-lifecycle.ts +559 -0
- package/src/organization-model-usage.ts +72 -0
- package/src/organization-recovery.ts +186 -0
- package/src/organization-usage.ts +79 -0
- package/src/permissions.ts +58 -0
- package/src/personal-github.ts +267 -0
- package/src/plugin-discovery.ts +33 -0
- package/src/preference-registry.ts +20 -1
- package/src/product-analytics.ts +253 -0
- package/src/product-lifecycle-facts.ts +121 -0
- package/src/remember.ts +243 -0
- package/src/retained-output.ts +20 -3
- package/src/sandbox-file-artifacts.ts +73 -0
- package/src/sandbox-provider-command.ts +82 -0
- package/src/sandbox-recovery.ts +116 -0
- package/src/sandbox-snapshots.ts +142 -0
- package/src/session-final-reply.ts +16 -0
- package/src/session-goal-reports.ts +55 -0
- package/src/session-history-import.ts +159 -0
- package/src/session-list-entries.ts +91 -0
- package/src/session-mcp-projections.ts +273 -0
- package/src/session-message-search.ts +54 -0
- package/src/session-titles.ts +467 -0
- package/src/session-topology-primitives.ts +21 -0
- package/src/signup-attribution.ts +81 -0
- package/src/site-request-headers.test.ts +28 -0
- package/src/site-session-http.ts +63 -0
- package/src/skill-catalog-context.ts +50 -0
- package/src/skill-files.ts +52 -0
- package/src/skill-metadata.ts +40 -0
- package/src/skill-use.ts +77 -0
- package/src/skills.ts +136 -0
- package/src/slack-bot-scopes.ts +106 -42
- package/src/slack-rest-mcp.ts +194 -0
- package/src/slack-task-policy.ts +215 -0
- package/src/spreadsheet-artifact-commands.ts +12 -13
- package/src/subscription-account-pools.ts +44 -0
- package/src/task-notes.ts +105 -0
- package/src/tool-catalog.ts +155 -0
- package/src/tool-result-spill.ts +35 -0
- package/src/usage-allowances.ts +187 -0
- package/src/video-generation.ts +43 -6
- package/src/work-claims.ts +266 -0
- package/src/workspace-instruction-policies.ts +31 -0
- package/src/workspace-integration-wire.ts +99 -0
- package/src/workspace-integrations.ts +640 -0
- package/src/workspace-learning-administration.ts +88 -0
- package/src/workspace-learning-policy.ts +4 -3
- package/src/workspace-state.ts +16 -126
- package/src/xai-provider-account-authority.ts +38 -0
- package/dist/chunk-52SGB2QO.js.map +0 -1
- package/dist/chunk-5UDNP7AO.js.map +0 -1
- package/dist/chunk-BVGIYW7D.js +0 -11
- package/dist/chunk-BVGIYW7D.js.map +0 -1
- package/dist/chunk-FJBG5E4O.js.map +0 -1
- package/dist/chunk-H5BVCZKF.js.map +0 -1
- package/dist/chunk-LSB7GRLG.js.map +0 -1
- package/dist/chunk-TZ6YEYN4.js.map +0 -1
- package/dist/chunk-VA22KRHS.js +0 -15177
- package/dist/chunk-VA22KRHS.js.map +0 -1
- package/dist/chunk-Y3MLSLB4.js.map +0 -1
- /package/dist/{chunk-CADSX6UN.js.map → chunk-Y3KNXVTD.js.map} +0 -0
|
@@ -0,0 +1,947 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Import is a server-side migration boundary, not an execution/history API. */
|
|
3
|
+
export declare const SESSION_HISTORY_IMPORT_MAX_EVENTS = 100;
|
|
4
|
+
export declare const SESSION_HISTORY_IMPORT_MAX_BODY_BYTES = 1048576;
|
|
5
|
+
export declare const SESSION_HISTORY_IMPORT_MAX_EVENT_BYTES = 262144;
|
|
6
|
+
/** Historical facts only: no approval, credential, control or execution inputs. */
|
|
7
|
+
export declare const ARCHIVED_SESSION_IMPORT_EVENT_TYPES: readonly ["user.message", "agent.message.delta", "agent.message.completed", "agent.reasoning.delta", "agent.toolCall.created", "agent.toolCall.output", "artifact.created", "turn.started", "turn.completed", "turn.failed", "turn.cancelled", "turn.superseded", "goal.set", "goal.updated", "goal.progress", "goal.completed", "goal.paused", "goal.resumed", "goal.cleared"];
|
|
8
|
+
export declare const SessionImportedArchive: z.ZodObject<{
|
|
9
|
+
importId: z.ZodString;
|
|
10
|
+
importedAt: z.ZodISODateTime;
|
|
11
|
+
readOnly: z.ZodLiteral<true>;
|
|
12
|
+
}, z.core.$strict>;
|
|
13
|
+
export type SessionImportedArchive = z.infer<typeof SessionImportedArchive>;
|
|
14
|
+
export declare const ArchivedSessionImportEvent: z.ZodObject<{
|
|
15
|
+
type: z.ZodEnum<{
|
|
16
|
+
"agent.message.completed": "agent.message.completed";
|
|
17
|
+
"agent.message.delta": "agent.message.delta";
|
|
18
|
+
"agent.reasoning.delta": "agent.reasoning.delta";
|
|
19
|
+
"agent.toolCall.created": "agent.toolCall.created";
|
|
20
|
+
"agent.toolCall.output": "agent.toolCall.output";
|
|
21
|
+
"artifact.created": "artifact.created";
|
|
22
|
+
"goal.cleared": "goal.cleared";
|
|
23
|
+
"goal.completed": "goal.completed";
|
|
24
|
+
"goal.paused": "goal.paused";
|
|
25
|
+
"goal.progress": "goal.progress";
|
|
26
|
+
"goal.resumed": "goal.resumed";
|
|
27
|
+
"goal.set": "goal.set";
|
|
28
|
+
"goal.updated": "goal.updated";
|
|
29
|
+
"turn.cancelled": "turn.cancelled";
|
|
30
|
+
"turn.completed": "turn.completed";
|
|
31
|
+
"turn.failed": "turn.failed";
|
|
32
|
+
"turn.started": "turn.started";
|
|
33
|
+
"turn.superseded": "turn.superseded";
|
|
34
|
+
"user.message": "user.message";
|
|
35
|
+
}>;
|
|
36
|
+
createdAt: z.ZodISODateTime;
|
|
37
|
+
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
39
|
+
}, z.core.$strict>;
|
|
40
|
+
export type ArchivedSessionImportEvent = z.infer<typeof ArchivedSessionImportEvent>;
|
|
41
|
+
export declare const ImportArchivedSessionRequest: z.ZodObject<{
|
|
42
|
+
importId: z.ZodString;
|
|
43
|
+
title: z.ZodString;
|
|
44
|
+
createdAt: z.ZodISODateTime;
|
|
45
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
46
|
+
user_private: "user_private";
|
|
47
|
+
workspace_shared: "workspace_shared";
|
|
48
|
+
}>>;
|
|
49
|
+
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
50
|
+
type: z.ZodEnum<{
|
|
51
|
+
"agent.message.completed": "agent.message.completed";
|
|
52
|
+
"agent.message.delta": "agent.message.delta";
|
|
53
|
+
"agent.reasoning.delta": "agent.reasoning.delta";
|
|
54
|
+
"agent.toolCall.created": "agent.toolCall.created";
|
|
55
|
+
"agent.toolCall.output": "agent.toolCall.output";
|
|
56
|
+
"artifact.created": "artifact.created";
|
|
57
|
+
"goal.cleared": "goal.cleared";
|
|
58
|
+
"goal.completed": "goal.completed";
|
|
59
|
+
"goal.paused": "goal.paused";
|
|
60
|
+
"goal.progress": "goal.progress";
|
|
61
|
+
"goal.resumed": "goal.resumed";
|
|
62
|
+
"goal.set": "goal.set";
|
|
63
|
+
"goal.updated": "goal.updated";
|
|
64
|
+
"turn.cancelled": "turn.cancelled";
|
|
65
|
+
"turn.completed": "turn.completed";
|
|
66
|
+
"turn.failed": "turn.failed";
|
|
67
|
+
"turn.started": "turn.started";
|
|
68
|
+
"turn.superseded": "turn.superseded";
|
|
69
|
+
"user.message": "user.message";
|
|
70
|
+
}>;
|
|
71
|
+
createdAt: z.ZodISODateTime;
|
|
72
|
+
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
74
|
+
}, z.core.$strict>>>;
|
|
75
|
+
}, z.core.$strict>;
|
|
76
|
+
export type ImportArchivedSessionRequest = z.input<typeof ImportArchivedSessionRequest>;
|
|
77
|
+
export declare const AppendArchivedSessionEventsRequest: z.ZodObject<{
|
|
78
|
+
batchId: z.ZodString;
|
|
79
|
+
offset: z.ZodNumber;
|
|
80
|
+
events: z.ZodArray<z.ZodObject<{
|
|
81
|
+
type: z.ZodEnum<{
|
|
82
|
+
"agent.message.completed": "agent.message.completed";
|
|
83
|
+
"agent.message.delta": "agent.message.delta";
|
|
84
|
+
"agent.reasoning.delta": "agent.reasoning.delta";
|
|
85
|
+
"agent.toolCall.created": "agent.toolCall.created";
|
|
86
|
+
"agent.toolCall.output": "agent.toolCall.output";
|
|
87
|
+
"artifact.created": "artifact.created";
|
|
88
|
+
"goal.cleared": "goal.cleared";
|
|
89
|
+
"goal.completed": "goal.completed";
|
|
90
|
+
"goal.paused": "goal.paused";
|
|
91
|
+
"goal.progress": "goal.progress";
|
|
92
|
+
"goal.resumed": "goal.resumed";
|
|
93
|
+
"goal.set": "goal.set";
|
|
94
|
+
"goal.updated": "goal.updated";
|
|
95
|
+
"turn.cancelled": "turn.cancelled";
|
|
96
|
+
"turn.completed": "turn.completed";
|
|
97
|
+
"turn.failed": "turn.failed";
|
|
98
|
+
"turn.started": "turn.started";
|
|
99
|
+
"turn.superseded": "turn.superseded";
|
|
100
|
+
"user.message": "user.message";
|
|
101
|
+
}>;
|
|
102
|
+
createdAt: z.ZodISODateTime;
|
|
103
|
+
turnId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
104
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
105
|
+
}, z.core.$strict>>;
|
|
106
|
+
}, z.core.$strict>;
|
|
107
|
+
export type AppendArchivedSessionEventsRequest = z.infer<typeof AppendArchivedSessionEventsRequest>;
|
|
108
|
+
export declare const ImportArchivedSessionResponse: z.ZodObject<{
|
|
109
|
+
session: z.ZodLazy<z.ZodObject<{
|
|
110
|
+
bundledSkillIds: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
111
|
+
"builtin:document-parsing": "builtin:document-parsing";
|
|
112
|
+
"builtin:opengeni-client": "builtin:opengeni-client";
|
|
113
|
+
"builtin:opengeni-documents": "builtin:opengeni-documents";
|
|
114
|
+
"builtin:opengeni-help": "builtin:opengeni-help";
|
|
115
|
+
"builtin:opengeni-presentations": "builtin:opengeni-presentations";
|
|
116
|
+
"builtin:opengeni-projects": "builtin:opengeni-projects";
|
|
117
|
+
"builtin:opengeni-schedules": "builtin:opengeni-schedules";
|
|
118
|
+
"builtin:opengeni-sites": "builtin:opengeni-sites";
|
|
119
|
+
"builtin:opengeni-skills": "builtin:opengeni-skills";
|
|
120
|
+
"builtin:opengeni-spreadsheets": "builtin:opengeni-spreadsheets";
|
|
121
|
+
"builtin:opengeni-video-generation": "builtin:opengeni-video-generation";
|
|
122
|
+
"builtin:opengeni-visualize": "builtin:opengeni-visualize";
|
|
123
|
+
}>>, 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")[]>>>;
|
|
124
|
+
id: z.ZodString;
|
|
125
|
+
workspaceId: z.ZodString;
|
|
126
|
+
accountId: z.ZodString;
|
|
127
|
+
status: z.ZodEnum<{
|
|
128
|
+
cancelled: "cancelled";
|
|
129
|
+
failed: "failed";
|
|
130
|
+
idle: "idle";
|
|
131
|
+
queued: "queued";
|
|
132
|
+
recovering: "recovering";
|
|
133
|
+
requires_action: "requires_action";
|
|
134
|
+
running: "running";
|
|
135
|
+
waiting_capacity: "waiting_capacity";
|
|
136
|
+
}>;
|
|
137
|
+
admissionBlock: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
138
|
+
reason: z.ZodEnum<{
|
|
139
|
+
database_claim_rejected: "database_claim_rejected";
|
|
140
|
+
initiator_membership_required: "initiator_membership_required";
|
|
141
|
+
personal_resource_grant_required: "personal_resource_grant_required";
|
|
142
|
+
}>;
|
|
143
|
+
sqlState: z.ZodNullable<z.ZodString>;
|
|
144
|
+
retryPolicy: z.ZodLiteral<"explicit_recheck">;
|
|
145
|
+
blockedAt: z.ZodString;
|
|
146
|
+
}, z.core.$strict>>>;
|
|
147
|
+
dispatchWait: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
148
|
+
state: z.ZodEnum<{
|
|
149
|
+
acknowledged: "acknowledged";
|
|
150
|
+
pending: "pending";
|
|
151
|
+
unavailable: "unavailable";
|
|
152
|
+
}>;
|
|
153
|
+
attempts: z.ZodNumber;
|
|
154
|
+
nextAttemptAt: z.ZodNullable<z.ZodString>;
|
|
155
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
156
|
+
}, z.core.$strip>>>;
|
|
157
|
+
failureDiagnostics: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
158
|
+
eventId: z.ZodString;
|
|
159
|
+
sequence: z.ZodNumber;
|
|
160
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
161
|
+
occurredAt: z.ZodString;
|
|
162
|
+
payload: z.ZodUnknown;
|
|
163
|
+
}, z.core.$strip>>>;
|
|
164
|
+
backgroundCommandActivity: z.ZodOptional<z.ZodObject<{
|
|
165
|
+
state: z.ZodEnum<{
|
|
166
|
+
running: "running";
|
|
167
|
+
stopping: "stopping";
|
|
168
|
+
}>;
|
|
169
|
+
count: z.ZodNumber;
|
|
170
|
+
unavailableCount: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
}, z.core.$strict>>;
|
|
172
|
+
hasSchedules: z.ZodOptional<z.ZodBoolean>;
|
|
173
|
+
initialMessage: z.ZodString;
|
|
174
|
+
title: z.ZodNullable<z.ZodString>;
|
|
175
|
+
titleSource: z.ZodNullable<z.ZodEnum<{
|
|
176
|
+
agent: "agent";
|
|
177
|
+
user: "user";
|
|
178
|
+
}>>;
|
|
179
|
+
instructions: z.ZodNullable<z.ZodString>;
|
|
180
|
+
policyRole: z.ZodDefault<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
181
|
+
agentAccess: z.ZodDefault<z.ZodEnum<{
|
|
182
|
+
session: "session";
|
|
183
|
+
user: "user";
|
|
184
|
+
workspace: "workspace";
|
|
185
|
+
}>>;
|
|
186
|
+
scopeSubjectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
187
|
+
memoryScope: z.ZodDefault<z.ZodEnum<{
|
|
188
|
+
off: "off";
|
|
189
|
+
user: "user";
|
|
190
|
+
workspace: "workspace";
|
|
191
|
+
}>>;
|
|
192
|
+
resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
193
|
+
kind: z.ZodLiteral<"repository">;
|
|
194
|
+
uri: z.ZodString;
|
|
195
|
+
ref: z.ZodString;
|
|
196
|
+
expectedCommitSha: z.ZodOptional<z.ZodString>;
|
|
197
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
198
|
+
subpath: z.ZodOptional<z.ZodString>;
|
|
199
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
200
|
+
azure_devops: "azure_devops";
|
|
201
|
+
github: "github";
|
|
202
|
+
gitlab: "gitlab";
|
|
203
|
+
}>>;
|
|
204
|
+
connectionType: z.ZodOptional<z.ZodLiteral<"github_personal">>;
|
|
205
|
+
credentialBindingId: z.ZodOptional<z.ZodString>;
|
|
206
|
+
access: z.ZodOptional<z.ZodEnum<{
|
|
207
|
+
read: "read";
|
|
208
|
+
write: "write";
|
|
209
|
+
}>>;
|
|
210
|
+
repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
211
|
+
installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
212
|
+
projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
213
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
214
|
+
githubInstallationId: z.ZodOptional<z.ZodNumber>;
|
|
215
|
+
githubRepositoryId: z.ZodOptional<z.ZodNumber>;
|
|
216
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
218
|
+
kind: z.ZodLiteral<"file">;
|
|
219
|
+
fileId: z.ZodString;
|
|
220
|
+
mountPath: z.ZodOptional<z.ZodString>;
|
|
221
|
+
}, z.core.$strip>], "kind">>;
|
|
222
|
+
skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodObject<{
|
|
223
|
+
name: z.ZodOptional<z.ZodString>;
|
|
224
|
+
description: z.ZodOptional<z.ZodString>;
|
|
225
|
+
activationMode: z.ZodOptional<z.ZodEnum<{
|
|
226
|
+
session_selected: "session_selected";
|
|
227
|
+
workspace_managed: "workspace_managed";
|
|
228
|
+
}>>;
|
|
229
|
+
files: z.ZodArray<z.ZodObject<{
|
|
230
|
+
path: z.ZodString;
|
|
231
|
+
content: z.ZodString;
|
|
232
|
+
}, z.core.$strip>>;
|
|
233
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
234
|
+
name: string;
|
|
235
|
+
description: string;
|
|
236
|
+
activationMode?: "session_selected" | "workspace_managed" | undefined;
|
|
237
|
+
files: {
|
|
238
|
+
path: string;
|
|
239
|
+
content: string;
|
|
240
|
+
}[];
|
|
241
|
+
}, {
|
|
242
|
+
name?: string | undefined;
|
|
243
|
+
description?: string | undefined;
|
|
244
|
+
activationMode?: "session_selected" | "workspace_managed" | undefined;
|
|
245
|
+
files: {
|
|
246
|
+
path: string;
|
|
247
|
+
content: string;
|
|
248
|
+
}[];
|
|
249
|
+
}>>, z.ZodTransform<{
|
|
250
|
+
name: string;
|
|
251
|
+
description: string;
|
|
252
|
+
files: {
|
|
253
|
+
path: string;
|
|
254
|
+
content: string;
|
|
255
|
+
}[];
|
|
256
|
+
}, {
|
|
257
|
+
name: string;
|
|
258
|
+
description: string;
|
|
259
|
+
activationMode?: "session_selected" | "workspace_managed" | undefined;
|
|
260
|
+
files: {
|
|
261
|
+
path: string;
|
|
262
|
+
content: string;
|
|
263
|
+
}[];
|
|
264
|
+
}>>>, z.ZodTransform<{
|
|
265
|
+
name: string;
|
|
266
|
+
description: string;
|
|
267
|
+
files: {
|
|
268
|
+
path: string;
|
|
269
|
+
content: string;
|
|
270
|
+
}[];
|
|
271
|
+
}[], {
|
|
272
|
+
name: string;
|
|
273
|
+
description: string;
|
|
274
|
+
files: {
|
|
275
|
+
path: string;
|
|
276
|
+
content: string;
|
|
277
|
+
}[];
|
|
278
|
+
}[]>>>;
|
|
279
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
280
|
+
kind: z.ZodLiteral<"mcp">;
|
|
281
|
+
id: z.ZodString;
|
|
282
|
+
eager: z.ZodOptional<z.ZodBoolean>;
|
|
283
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
284
|
+
}, z.core.$strip>>;
|
|
285
|
+
toolPolicy: z.ZodObject<{
|
|
286
|
+
mode: z.ZodEnum<{
|
|
287
|
+
explicit: "explicit";
|
|
288
|
+
inherited: "inherited";
|
|
289
|
+
workspace_default: "workspace_default";
|
|
290
|
+
}>;
|
|
291
|
+
inheritedFromSessionId: z.ZodNullable<z.ZodString>;
|
|
292
|
+
excludedMcpServerIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
293
|
+
}, z.core.$strip>;
|
|
294
|
+
toolPolicyVersion: z.ZodNumber;
|
|
295
|
+
effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
|
|
296
|
+
mode: z.ZodEnum<{
|
|
297
|
+
explicit: "explicit";
|
|
298
|
+
inherited: "inherited";
|
|
299
|
+
workspace_default: "workspace_default";
|
|
300
|
+
}>;
|
|
301
|
+
inheritedFromSessionId: z.ZodNullable<z.ZodString>;
|
|
302
|
+
selectedIds: z.ZodArray<z.ZodString>;
|
|
303
|
+
effectiveIds: z.ZodArray<z.ZodString>;
|
|
304
|
+
mandatoryIds: z.ZodArray<z.ZodString>;
|
|
305
|
+
lazyRouter: z.ZodObject<{
|
|
306
|
+
state: z.ZodEnum<{
|
|
307
|
+
disabled: "disabled";
|
|
308
|
+
required: "required";
|
|
309
|
+
}>;
|
|
310
|
+
deferredIds: z.ZodArray<z.ZodString>;
|
|
311
|
+
}, z.core.$strict>;
|
|
312
|
+
configuredIds: z.ZodArray<z.ZodString>;
|
|
313
|
+
droppedIds: z.ZodArray<z.ZodString>;
|
|
314
|
+
counts: z.ZodObject<{
|
|
315
|
+
selected: z.ZodNumber;
|
|
316
|
+
effective: z.ZodNumber;
|
|
317
|
+
mandatory: z.ZodNumber;
|
|
318
|
+
deferred: z.ZodNumber;
|
|
319
|
+
configured: z.ZodNumber;
|
|
320
|
+
dropped: z.ZodNumber;
|
|
321
|
+
}, z.core.$strict>;
|
|
322
|
+
idsTruncated: z.ZodBoolean;
|
|
323
|
+
}, z.core.$strict>>;
|
|
324
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
325
|
+
tenancy: z.ZodOptional<z.ZodObject<{
|
|
326
|
+
visibility: z.ZodEnum<{
|
|
327
|
+
private: "private";
|
|
328
|
+
workspace: "workspace";
|
|
329
|
+
}>;
|
|
330
|
+
authorityEpoch: z.ZodNumber;
|
|
331
|
+
ownedByCurrentUser: z.ZodBoolean;
|
|
332
|
+
fork: z.ZodNullable<z.ZodObject<{
|
|
333
|
+
sourceVisibility: z.ZodEnum<{
|
|
334
|
+
private: "private";
|
|
335
|
+
workspace: "workspace";
|
|
336
|
+
}>;
|
|
337
|
+
sourceAuthorityEpoch: z.ZodNumber;
|
|
338
|
+
forkedAt: z.ZodString;
|
|
339
|
+
}, z.core.$strip>>;
|
|
340
|
+
}, z.core.$strip>>;
|
|
341
|
+
createdBy: z.ZodObject<{
|
|
342
|
+
subjectId: z.ZodString;
|
|
343
|
+
label: z.ZodOptional<z.ZodString>;
|
|
344
|
+
kind: z.ZodEnum<{
|
|
345
|
+
service: "service";
|
|
346
|
+
subject: "subject";
|
|
347
|
+
}>;
|
|
348
|
+
}, z.core.$strip>;
|
|
349
|
+
createdByContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
350
|
+
model: z.ZodString;
|
|
351
|
+
reasoningEffort: z.ZodEnum<{
|
|
352
|
+
high: "high";
|
|
353
|
+
low: "low";
|
|
354
|
+
max: "max";
|
|
355
|
+
medium: "medium";
|
|
356
|
+
minimal: "minimal";
|
|
357
|
+
none: "none";
|
|
358
|
+
xhigh: "xhigh";
|
|
359
|
+
}>;
|
|
360
|
+
latencyMode: z.ZodEnum<{
|
|
361
|
+
fast: "fast";
|
|
362
|
+
priority: "priority";
|
|
363
|
+
standard: "standard";
|
|
364
|
+
}>;
|
|
365
|
+
sandboxBackend: z.ZodEnum<{
|
|
366
|
+
blaxel: "blaxel";
|
|
367
|
+
cloudflare: "cloudflare";
|
|
368
|
+
daytona: "daytona";
|
|
369
|
+
docker: "docker";
|
|
370
|
+
e2b: "e2b";
|
|
371
|
+
local: "local";
|
|
372
|
+
modal: "modal";
|
|
373
|
+
none: "none";
|
|
374
|
+
opensandbox: "opensandbox";
|
|
375
|
+
runloop: "runloop";
|
|
376
|
+
selfhosted: "selfhosted";
|
|
377
|
+
vercel: "vercel";
|
|
378
|
+
}>;
|
|
379
|
+
sandboxOs: z.ZodEnum<{
|
|
380
|
+
linux: "linux";
|
|
381
|
+
macos: "macos";
|
|
382
|
+
windows: "windows";
|
|
383
|
+
}>;
|
|
384
|
+
sandboxGroupId: z.ZodString;
|
|
385
|
+
activeSandboxId: z.ZodNullable<z.ZodString>;
|
|
386
|
+
activeEpoch: z.ZodNumber;
|
|
387
|
+
workingDir: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
388
|
+
variableSetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
389
|
+
variableSetId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
390
|
+
environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
391
|
+
rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
392
|
+
rigVersionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
393
|
+
channelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
394
|
+
firstPartyMcpPermissions: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
395
|
+
"account:admin": "account:admin";
|
|
396
|
+
"account:read": "account:read";
|
|
397
|
+
"api_keys:manage": "api_keys:manage";
|
|
398
|
+
"artifacts:publish": "artifacts:publish";
|
|
399
|
+
"artifacts:read": "artifacts:read";
|
|
400
|
+
"billing:manage": "billing:manage";
|
|
401
|
+
"billing:read": "billing:read";
|
|
402
|
+
"capabilities:manage": "capabilities:manage";
|
|
403
|
+
"codemode:call": "codemode:call";
|
|
404
|
+
"connections:read": "connections:read";
|
|
405
|
+
"connections:write": "connections:write";
|
|
406
|
+
"documents:manage": "documents:manage";
|
|
407
|
+
"documents:search": "documents:search";
|
|
408
|
+
"enrollments:manage": "enrollments:manage";
|
|
409
|
+
"enrollments:read": "enrollments:read";
|
|
410
|
+
"environments:manage": "environments:manage";
|
|
411
|
+
"environments:use": "environments:use";
|
|
412
|
+
"files:read": "files:read";
|
|
413
|
+
"files:upload": "files:upload";
|
|
414
|
+
"files:write": "files:write";
|
|
415
|
+
"github:manage": "github:manage";
|
|
416
|
+
"github:use": "github:use";
|
|
417
|
+
"goals:manage": "goals:manage";
|
|
418
|
+
"mcp_servers:attach": "mcp_servers:attach";
|
|
419
|
+
"members:manage": "members:manage";
|
|
420
|
+
"rigs:manage": "rigs:manage";
|
|
421
|
+
"rigs:use": "rigs:use";
|
|
422
|
+
"scheduled_tasks:manage": "scheduled_tasks:manage";
|
|
423
|
+
"scheduled_tasks:run": "scheduled_tasks:run";
|
|
424
|
+
"secrets:list": "secrets:list";
|
|
425
|
+
"secrets:read": "secrets:read";
|
|
426
|
+
"secrets:write": "secrets:write";
|
|
427
|
+
"sessions:control": "sessions:control";
|
|
428
|
+
"sessions:create": "sessions:create";
|
|
429
|
+
"sessions:read": "sessions:read";
|
|
430
|
+
"stream:acknowledge": "stream:acknowledge";
|
|
431
|
+
"stream:control": "stream:control";
|
|
432
|
+
"stream:view": "stream:view";
|
|
433
|
+
"terminal:attach": "terminal:attach";
|
|
434
|
+
"usage_allowances:manage": "usage_allowances:manage";
|
|
435
|
+
"variable-sets:attach": "variable-sets:attach";
|
|
436
|
+
"variable-sets:list": "variable-sets:list";
|
|
437
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
438
|
+
"variable-sets:read": "variable-sets:read";
|
|
439
|
+
"variable-sets:use": "variable-sets:use";
|
|
440
|
+
"variable-sets:write": "variable-sets:write";
|
|
441
|
+
"workspace:admin": "workspace:admin";
|
|
442
|
+
"workspace:create": "workspace:create";
|
|
443
|
+
"workspace:read": "workspace:read";
|
|
444
|
+
}>>>;
|
|
445
|
+
firstPartyMcpTools: z.ZodArray<z.ZodEnum<{
|
|
446
|
+
artifacts_archive: "artifacts_archive";
|
|
447
|
+
artifacts_create: "artifacts_create";
|
|
448
|
+
artifacts_get_source: "artifacts_get_source";
|
|
449
|
+
artifacts_list: "artifacts_list";
|
|
450
|
+
artifacts_prepare_upload: "artifacts_prepare_upload";
|
|
451
|
+
artifacts_publish: "artifacts_publish";
|
|
452
|
+
artifacts_restore: "artifacts_restore";
|
|
453
|
+
artifacts_rollback: "artifacts_rollback";
|
|
454
|
+
atlassian_get: "atlassian_get";
|
|
455
|
+
atlassian_search: "atlassian_search";
|
|
456
|
+
atlassian_sources_list: "atlassian_sources_list";
|
|
457
|
+
browser_act: "browser_act";
|
|
458
|
+
browser_auth: "browser_auth";
|
|
459
|
+
browser_clipboard: "browser_clipboard";
|
|
460
|
+
browser_debug: "browser_debug";
|
|
461
|
+
browser_download_save: "browser_download_save";
|
|
462
|
+
browser_downloads: "browser_downloads";
|
|
463
|
+
browser_identity: "browser_identity";
|
|
464
|
+
browser_lifecycle: "browser_lifecycle";
|
|
465
|
+
browser_observe: "browser_observe";
|
|
466
|
+
browser_open: "browser_open";
|
|
467
|
+
browser_publish: "browser_publish";
|
|
468
|
+
browser_read: "browser_read";
|
|
469
|
+
browser_screenshot: "browser_screenshot";
|
|
470
|
+
browser_tabs: "browser_tabs";
|
|
471
|
+
capability_authorization_request: "capability_authorization_request";
|
|
472
|
+
capability_catalog_search: "capability_catalog_search";
|
|
473
|
+
command_read: "command_read";
|
|
474
|
+
command_wait: "command_wait";
|
|
475
|
+
company_profile_confirm: "company_profile_confirm";
|
|
476
|
+
company_profile_propose: "company_profile_propose";
|
|
477
|
+
computer_act: "computer_act";
|
|
478
|
+
computer_clipboard: "computer_clipboard";
|
|
479
|
+
computer_lifecycle: "computer_lifecycle";
|
|
480
|
+
computer_observe: "computer_observe";
|
|
481
|
+
computer_open: "computer_open";
|
|
482
|
+
computer_targets: "computer_targets";
|
|
483
|
+
connected_machine_enroll_token: "connected_machine_enroll_token";
|
|
484
|
+
connected_machine_remove: "connected_machine_remove";
|
|
485
|
+
custom_mcp_setup_request: "custom_mcp_setup_request";
|
|
486
|
+
editable_artifact_apply: "editable_artifact_apply";
|
|
487
|
+
editable_artifact_create: "editable_artifact_create";
|
|
488
|
+
editable_artifact_export: "editable_artifact_export";
|
|
489
|
+
editable_artifact_export_status: "editable_artifact_export_status";
|
|
490
|
+
editable_artifact_get: "editable_artifact_get";
|
|
491
|
+
editable_artifact_import: "editable_artifact_import";
|
|
492
|
+
editable_artifact_inspect: "editable_artifact_inspect";
|
|
493
|
+
editable_artifact_list: "editable_artifact_list";
|
|
494
|
+
environment_list: "environment_list";
|
|
495
|
+
environment_set_variable: "environment_set_variable";
|
|
496
|
+
fiken_bank_accounts_list: "fiken_bank_accounts_list";
|
|
497
|
+
fiken_companies_list: "fiken_companies_list";
|
|
498
|
+
fiken_contact_create: "fiken_contact_create";
|
|
499
|
+
fiken_contacts_list: "fiken_contacts_list";
|
|
500
|
+
fiken_invoice_draft_create: "fiken_invoice_draft_create";
|
|
501
|
+
fiken_invoice_get: "fiken_invoice_get";
|
|
502
|
+
fiken_invoices_list: "fiken_invoices_list";
|
|
503
|
+
fiken_products_list: "fiken_products_list";
|
|
504
|
+
fiken_purchases_list: "fiken_purchases_list";
|
|
505
|
+
fiken_sales_list: "fiken_sales_list";
|
|
506
|
+
github_connect_link: "github_connect_link";
|
|
507
|
+
github_repositories_list: "github_repositories_list";
|
|
508
|
+
goal_complete: "goal_complete";
|
|
509
|
+
goal_pause: "goal_pause";
|
|
510
|
+
goal_progress: "goal_progress";
|
|
511
|
+
goal_resume: "goal_resume";
|
|
512
|
+
goal_set: "goal_set";
|
|
513
|
+
goal_update: "goal_update";
|
|
514
|
+
instruction_policy_get: "instruction_policy_get";
|
|
515
|
+
instruction_policy_propose: "instruction_policy_propose";
|
|
516
|
+
instruction_policy_save: "instruction_policy_save";
|
|
517
|
+
interaction_discover: "interaction_discover";
|
|
518
|
+
interaction_request_human: "interaction_request_human";
|
|
519
|
+
knowledge_archive: "knowledge_archive";
|
|
520
|
+
knowledge_browse: "knowledge_browse";
|
|
521
|
+
knowledge_correct: "knowledge_correct";
|
|
522
|
+
knowledge_get: "knowledge_get";
|
|
523
|
+
knowledge_prepare_save: "knowledge_prepare_save";
|
|
524
|
+
knowledge_propose: "knowledge_propose";
|
|
525
|
+
knowledge_retain_file: "knowledge_retain_file";
|
|
526
|
+
knowledge_retain_message: "knowledge_retain_message";
|
|
527
|
+
knowledge_save: "knowledge_save";
|
|
528
|
+
knowledge_search: "knowledge_search";
|
|
529
|
+
memory_correct: "memory_correct";
|
|
530
|
+
memory_save: "memory_save";
|
|
531
|
+
memory_search: "memory_search";
|
|
532
|
+
preference_propose: "preference_propose";
|
|
533
|
+
preference_registry_get: "preference_registry_get";
|
|
534
|
+
preference_registry_summary: "preference_registry_summary";
|
|
535
|
+
project_create: "project_create";
|
|
536
|
+
project_delete: "project_delete";
|
|
537
|
+
project_get: "project_get";
|
|
538
|
+
project_list: "project_list";
|
|
539
|
+
project_reorder: "project_reorder";
|
|
540
|
+
project_update: "project_update";
|
|
541
|
+
reddit_accounts_list: "reddit_accounts_list";
|
|
542
|
+
reddit_mentions_live: "reddit_mentions_live";
|
|
543
|
+
reddit_post_reply: "reddit_post_reply";
|
|
544
|
+
reddit_posts_sync: "reddit_posts_sync";
|
|
545
|
+
reddit_search_live: "reddit_search_live";
|
|
546
|
+
reddit_thread_fetch: "reddit_thread_fetch";
|
|
547
|
+
remember: "remember";
|
|
548
|
+
remember_confirm: "remember_confirm";
|
|
549
|
+
rig_get: "rig_get";
|
|
550
|
+
rig_list: "rig_list";
|
|
551
|
+
rig_promote: "rig_promote";
|
|
552
|
+
rig_propose_change: "rig_propose_change";
|
|
553
|
+
rig_verify: "rig_verify";
|
|
554
|
+
run_on: "run_on";
|
|
555
|
+
sandbox_attach: "sandbox_attach";
|
|
556
|
+
sandbox_file_publish: "sandbox_file_publish";
|
|
557
|
+
sandbox_provision: "sandbox_provision";
|
|
558
|
+
sandbox_swap: "sandbox_swap";
|
|
559
|
+
sandboxes_list: "sandboxes_list";
|
|
560
|
+
scheduled_task_runs_list: "scheduled_task_runs_list";
|
|
561
|
+
scheduled_tasks_create: "scheduled_tasks_create";
|
|
562
|
+
scheduled_tasks_delete: "scheduled_tasks_delete";
|
|
563
|
+
scheduled_tasks_get: "scheduled_tasks_get";
|
|
564
|
+
scheduled_tasks_list: "scheduled_tasks_list";
|
|
565
|
+
scheduled_tasks_pause: "scheduled_tasks_pause";
|
|
566
|
+
scheduled_tasks_resume: "scheduled_tasks_resume";
|
|
567
|
+
scheduled_tasks_trigger: "scheduled_tasks_trigger";
|
|
568
|
+
scheduled_tasks_update: "scheduled_tasks_update";
|
|
569
|
+
session_create: "session_create";
|
|
570
|
+
session_events: "session_events";
|
|
571
|
+
session_get: "session_get";
|
|
572
|
+
session_human_input_respond: "session_human_input_respond";
|
|
573
|
+
session_pause: "session_pause";
|
|
574
|
+
session_resume: "session_resume";
|
|
575
|
+
session_send_message: "session_send_message";
|
|
576
|
+
session_set_model: "session_set_model";
|
|
577
|
+
session_set_project: "session_set_project";
|
|
578
|
+
session_steer: "session_steer";
|
|
579
|
+
session_wait: "session_wait";
|
|
580
|
+
sessions_list: "sessions_list";
|
|
581
|
+
set_other_session_title: "set_other_session_title";
|
|
582
|
+
set_session_title: "set_session_title";
|
|
583
|
+
slack_bot_channel_history: "slack_bot_channel_history";
|
|
584
|
+
slack_bot_delete_message: "slack_bot_delete_message";
|
|
585
|
+
slack_bot_file_content: "slack_bot_file_content";
|
|
586
|
+
slack_bot_file_info: "slack_bot_file_info";
|
|
587
|
+
slack_bot_list_channels: "slack_bot_list_channels";
|
|
588
|
+
slack_bot_list_files: "slack_bot_list_files";
|
|
589
|
+
slack_bot_list_users: "slack_bot_list_users";
|
|
590
|
+
slack_bot_post_message: "slack_bot_post_message";
|
|
591
|
+
slack_bot_prepare_message: "slack_bot_prepare_message";
|
|
592
|
+
slack_bot_search: "slack_bot_search";
|
|
593
|
+
slack_bot_send_prepared_message: "slack_bot_send_prepared_message";
|
|
594
|
+
slack_bot_thread_replies: "slack_bot_thread_replies";
|
|
595
|
+
slack_bot_upload_file: "slack_bot_upload_file";
|
|
596
|
+
social_connections_list: "social_connections_list";
|
|
597
|
+
social_daily_analysis_context: "social_daily_analysis_context";
|
|
598
|
+
social_mentions_live: "social_mentions_live";
|
|
599
|
+
social_post_reply: "social_post_reply";
|
|
600
|
+
social_posts_recent: "social_posts_recent";
|
|
601
|
+
social_posts_sync: "social_posts_sync";
|
|
602
|
+
social_search_live: "social_search_live";
|
|
603
|
+
social_thread_fetch: "social_thread_fetch";
|
|
604
|
+
task_note_archive: "task_note_archive";
|
|
605
|
+
task_note_promote_instruction_policy: "task_note_promote_instruction_policy";
|
|
606
|
+
task_note_promote_knowledge: "task_note_promote_knowledge";
|
|
607
|
+
task_note_promote_preference: "task_note_promote_preference";
|
|
608
|
+
task_note_replace: "task_note_replace";
|
|
609
|
+
task_note_save: "task_note_save";
|
|
610
|
+
task_notes_list: "task_notes_list";
|
|
611
|
+
variable_set_get_variable: "variable_set_get_variable";
|
|
612
|
+
variable_set_list: "variable_set_list";
|
|
613
|
+
variable_set_set_variable: "variable_set_set_variable";
|
|
614
|
+
wait_for_input: "wait_for_input";
|
|
615
|
+
work_claim_release: "work_claim_release";
|
|
616
|
+
work_claim_upsert: "work_claim_upsert";
|
|
617
|
+
x_accounts_list: "x_accounts_list";
|
|
618
|
+
x_mentions_live: "x_mentions_live";
|
|
619
|
+
x_post_reply: "x_post_reply";
|
|
620
|
+
x_posts_sync: "x_posts_sync";
|
|
621
|
+
x_search_live: "x_search_live";
|
|
622
|
+
x_thread_fetch: "x_thread_fetch";
|
|
623
|
+
}>>;
|
|
624
|
+
agent: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
625
|
+
version: z.ZodLiteral<1>;
|
|
626
|
+
from: z.ZodEnum<{
|
|
627
|
+
all: "all";
|
|
628
|
+
none: "none";
|
|
629
|
+
}>;
|
|
630
|
+
capabilities: z.ZodObject<{
|
|
631
|
+
webSearch: z.ZodBoolean;
|
|
632
|
+
humanInput: z.ZodBoolean;
|
|
633
|
+
skills: z.ZodUnion<readonly [z.ZodLiteral<"read">, z.ZodLiteral<"manage">, z.ZodLiteral<false>]>;
|
|
634
|
+
goals: z.ZodBoolean;
|
|
635
|
+
subagents: z.ZodBoolean;
|
|
636
|
+
knowledge: z.ZodBoolean;
|
|
637
|
+
schedules: z.ZodBoolean;
|
|
638
|
+
artifacts: z.ZodBoolean;
|
|
639
|
+
browser: z.ZodBoolean;
|
|
640
|
+
media: z.ZodBoolean;
|
|
641
|
+
workspaceFiles: z.ZodBoolean;
|
|
642
|
+
workspaceConnectors: z.ZodBoolean;
|
|
643
|
+
workspaceAdmin: z.ZodBoolean;
|
|
644
|
+
}, z.core.$strict>;
|
|
645
|
+
unavailable: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
646
|
+
artifacts: "artifacts";
|
|
647
|
+
browser: "browser";
|
|
648
|
+
goals: "goals";
|
|
649
|
+
humanInput: "humanInput";
|
|
650
|
+
knowledge: "knowledge";
|
|
651
|
+
media: "media";
|
|
652
|
+
schedules: "schedules";
|
|
653
|
+
skills: "skills";
|
|
654
|
+
subagents: "subagents";
|
|
655
|
+
webSearch: "webSearch";
|
|
656
|
+
workspaceAdmin: "workspaceAdmin";
|
|
657
|
+
workspaceConnectors: "workspaceConnectors";
|
|
658
|
+
workspaceFiles: "workspaceFiles";
|
|
659
|
+
}>>>;
|
|
660
|
+
identity: z.ZodNullable<z.ZodString>;
|
|
661
|
+
renderer: z.ZodEnum<{
|
|
662
|
+
markdown: "markdown";
|
|
663
|
+
opengeni: "opengeni";
|
|
664
|
+
}>;
|
|
665
|
+
source: z.ZodEnum<{
|
|
666
|
+
deployment_default: "deployment_default";
|
|
667
|
+
inherited: "inherited";
|
|
668
|
+
legacy_conversion: "legacy_conversion";
|
|
669
|
+
request: "request";
|
|
670
|
+
workspace_default: "workspace_default";
|
|
671
|
+
}>;
|
|
672
|
+
}, z.core.$strict>>>;
|
|
673
|
+
effectiveTools: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
674
|
+
capabilities: z.ZodObject<{
|
|
675
|
+
webSearch: z.ZodBoolean;
|
|
676
|
+
humanInput: z.ZodBoolean;
|
|
677
|
+
skills: z.ZodUnion<readonly [z.ZodLiteral<"read">, z.ZodLiteral<"manage">, z.ZodLiteral<false>]>;
|
|
678
|
+
goals: z.ZodBoolean;
|
|
679
|
+
subagents: z.ZodBoolean;
|
|
680
|
+
knowledge: z.ZodBoolean;
|
|
681
|
+
schedules: z.ZodBoolean;
|
|
682
|
+
artifacts: z.ZodBoolean;
|
|
683
|
+
browser: z.ZodBoolean;
|
|
684
|
+
media: z.ZodBoolean;
|
|
685
|
+
workspaceFiles: z.ZodBoolean;
|
|
686
|
+
workspaceConnectors: z.ZodBoolean;
|
|
687
|
+
workspaceAdmin: z.ZodBoolean;
|
|
688
|
+
}, z.core.$strict>;
|
|
689
|
+
unavailable: z.ZodArray<z.ZodEnum<{
|
|
690
|
+
artifacts: "artifacts";
|
|
691
|
+
browser: "browser";
|
|
692
|
+
goals: "goals";
|
|
693
|
+
humanInput: "humanInput";
|
|
694
|
+
knowledge: "knowledge";
|
|
695
|
+
media: "media";
|
|
696
|
+
schedules: "schedules";
|
|
697
|
+
skills: "skills";
|
|
698
|
+
subagents: "subagents";
|
|
699
|
+
webSearch: "webSearch";
|
|
700
|
+
workspaceAdmin: "workspaceAdmin";
|
|
701
|
+
workspaceConnectors: "workspaceConnectors";
|
|
702
|
+
workspaceFiles: "workspaceFiles";
|
|
703
|
+
}>>;
|
|
704
|
+
mediaToolsKnown: z.ZodOptional<z.ZodBoolean>;
|
|
705
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
706
|
+
name: z.ZodString;
|
|
707
|
+
capability: z.ZodUnion<readonly [z.ZodEnum<{
|
|
708
|
+
artifacts: "artifacts";
|
|
709
|
+
browser: "browser";
|
|
710
|
+
goals: "goals";
|
|
711
|
+
humanInput: "humanInput";
|
|
712
|
+
knowledge: "knowledge";
|
|
713
|
+
media: "media";
|
|
714
|
+
schedules: "schedules";
|
|
715
|
+
skills: "skills";
|
|
716
|
+
subagents: "subagents";
|
|
717
|
+
webSearch: "webSearch";
|
|
718
|
+
workspaceAdmin: "workspaceAdmin";
|
|
719
|
+
workspaceConnectors: "workspaceConnectors";
|
|
720
|
+
workspaceFiles: "workspaceFiles";
|
|
721
|
+
}>, z.ZodLiteral<"runtime">, z.ZodLiteral<"sandbox">, z.ZodLiteral<"product">]>;
|
|
722
|
+
source: z.ZodEnum<{
|
|
723
|
+
first_party: "first_party";
|
|
724
|
+
hosted: "hosted";
|
|
725
|
+
mcp: "mcp";
|
|
726
|
+
runtime: "runtime";
|
|
727
|
+
sandbox: "sandbox";
|
|
728
|
+
}>;
|
|
729
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
730
|
+
search: "search";
|
|
731
|
+
upfront: "upfront";
|
|
732
|
+
}>>;
|
|
733
|
+
}, z.core.$strict>>;
|
|
734
|
+
mcpServers: z.ZodArray<z.ZodObject<{
|
|
735
|
+
id: z.ZodString;
|
|
736
|
+
capability: z.ZodUnion<readonly [z.ZodEnum<{
|
|
737
|
+
artifacts: "artifacts";
|
|
738
|
+
browser: "browser";
|
|
739
|
+
goals: "goals";
|
|
740
|
+
humanInput: "humanInput";
|
|
741
|
+
knowledge: "knowledge";
|
|
742
|
+
media: "media";
|
|
743
|
+
schedules: "schedules";
|
|
744
|
+
skills: "skills";
|
|
745
|
+
subagents: "subagents";
|
|
746
|
+
webSearch: "webSearch";
|
|
747
|
+
workspaceAdmin: "workspaceAdmin";
|
|
748
|
+
workspaceConnectors: "workspaceConnectors";
|
|
749
|
+
workspaceFiles: "workspaceFiles";
|
|
750
|
+
}>, z.ZodLiteral<"runtime">, z.ZodLiteral<"product">]>;
|
|
751
|
+
toolsKnown: z.ZodBoolean;
|
|
752
|
+
}, z.core.$strict>>;
|
|
753
|
+
}, z.core.$strict>>>;
|
|
754
|
+
mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
755
|
+
id: z.ZodString;
|
|
756
|
+
name: z.ZodNullable<z.ZodString>;
|
|
757
|
+
url: z.ZodString;
|
|
758
|
+
headerNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
759
|
+
credentialVersion: z.ZodNumber;
|
|
760
|
+
requireApproval: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>]>>;
|
|
761
|
+
connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
762
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
763
|
+
accountSelection: z.ZodOptional<z.ZodLiteral<"all_eligible">>;
|
|
764
|
+
authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
|
|
765
|
+
hostBinding: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
766
|
+
bindingId: z.ZodString;
|
|
767
|
+
generation: z.ZodNumber;
|
|
768
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
769
|
+
selection: z.ZodLiteral<"accepted_turn">;
|
|
770
|
+
}, z.core.$strict>]>>;
|
|
771
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
772
|
+
providerDomain: z.ZodString;
|
|
773
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
774
|
+
api_key: "api_key";
|
|
775
|
+
app_install: "app_install";
|
|
776
|
+
delegated: "delegated";
|
|
777
|
+
oauth2: "oauth2";
|
|
778
|
+
}>>;
|
|
779
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
780
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
781
|
+
selectedResources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
782
|
+
id: z.ZodString;
|
|
783
|
+
kind: z.ZodLiteral<"repository">;
|
|
784
|
+
}, z.core.$strict>>>;
|
|
785
|
+
subjectScope: z.ZodOptional<z.ZodEnum<{
|
|
786
|
+
subject: "subject";
|
|
787
|
+
workspace: "workspace";
|
|
788
|
+
}>>;
|
|
789
|
+
}, z.core.$strict>>>;
|
|
790
|
+
}, z.core.$strict>>>;
|
|
791
|
+
mcpApprovalPolicies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>]>>>;
|
|
792
|
+
parentSessionId: z.ZodNullable<z.ZodString>;
|
|
793
|
+
rootSessionId: z.ZodString;
|
|
794
|
+
nestedAgentDepth: z.ZodNumber;
|
|
795
|
+
maxNestedAgentDepthOverride: z.ZodNullable<z.ZodNumber>;
|
|
796
|
+
effectiveMaxNestedAgentDepth: z.ZodNumber;
|
|
797
|
+
nestedAgentDepthPolicySource: z.ZodEnum<{
|
|
798
|
+
default: "default";
|
|
799
|
+
deployment: "deployment";
|
|
800
|
+
session: "session";
|
|
801
|
+
workspace: "workspace";
|
|
802
|
+
}>;
|
|
803
|
+
nestedAgentDepthPolicySessionId: z.ZodNullable<z.ZodString>;
|
|
804
|
+
createIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
805
|
+
temporalWorkflowId: z.ZodNullable<z.ZodString>;
|
|
806
|
+
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
807
|
+
lastInputTokens: z.ZodNullable<z.ZodNumber>;
|
|
808
|
+
queueVersion: z.ZodNumber;
|
|
809
|
+
queueHeadPosition: z.ZodNumber;
|
|
810
|
+
queueTailPosition: z.ZodNumber;
|
|
811
|
+
effectiveControl: z.ZodObject<{
|
|
812
|
+
state: z.ZodEnum<{
|
|
813
|
+
active: "active";
|
|
814
|
+
paused: "paused";
|
|
815
|
+
}>;
|
|
816
|
+
controlVersion: z.ZodNumber;
|
|
817
|
+
controlEtag: z.ZodString;
|
|
818
|
+
directState: z.ZodEnum<{
|
|
819
|
+
active: "active";
|
|
820
|
+
paused: "paused";
|
|
821
|
+
}>;
|
|
822
|
+
primaryBlocker: z.ZodNullable<z.ZodObject<{
|
|
823
|
+
kind: z.ZodEnum<{
|
|
824
|
+
session: "session";
|
|
825
|
+
workspace: "workspace";
|
|
826
|
+
}>;
|
|
827
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
828
|
+
displayName: z.ZodString;
|
|
829
|
+
actor: z.ZodNullable<z.ZodString>;
|
|
830
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
831
|
+
changedAt: z.ZodNullable<z.ZodString>;
|
|
832
|
+
revision: z.ZodNumber;
|
|
833
|
+
}, z.core.$strip>>;
|
|
834
|
+
additionalBlockerCount: z.ZodNumber;
|
|
835
|
+
blockers: z.ZodArray<z.ZodObject<{
|
|
836
|
+
kind: z.ZodEnum<{
|
|
837
|
+
session: "session";
|
|
838
|
+
workspace: "workspace";
|
|
839
|
+
}>;
|
|
840
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
841
|
+
displayName: z.ZodString;
|
|
842
|
+
actor: z.ZodNullable<z.ZodString>;
|
|
843
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
844
|
+
changedAt: z.ZodNullable<z.ZodString>;
|
|
845
|
+
revision: z.ZodNumber;
|
|
846
|
+
}, z.core.$strip>>;
|
|
847
|
+
resumeOptions: z.ZodArray<z.ZodObject<{
|
|
848
|
+
scope: z.ZodEnum<{
|
|
849
|
+
selected: "selected";
|
|
850
|
+
session: "session";
|
|
851
|
+
workspace: "workspace";
|
|
852
|
+
}>;
|
|
853
|
+
targetId: z.ZodOptional<z.ZodString>;
|
|
854
|
+
selectedStateAfter: z.ZodEnum<{
|
|
855
|
+
active: "active";
|
|
856
|
+
paused: "paused";
|
|
857
|
+
}>;
|
|
858
|
+
remainingPrimaryBlocker: z.ZodOptional<z.ZodObject<{
|
|
859
|
+
kind: z.ZodEnum<{
|
|
860
|
+
session: "session";
|
|
861
|
+
workspace: "workspace";
|
|
862
|
+
}>;
|
|
863
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
864
|
+
displayName: z.ZodString;
|
|
865
|
+
actor: z.ZodNullable<z.ZodString>;
|
|
866
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
867
|
+
changedAt: z.ZodNullable<z.ZodString>;
|
|
868
|
+
revision: z.ZodNumber;
|
|
869
|
+
}, z.core.$strip>>;
|
|
870
|
+
impactCopy: z.ZodString;
|
|
871
|
+
}, z.core.$strip>>;
|
|
872
|
+
override: z.ZodNullable<z.ZodObject<{
|
|
873
|
+
rootSessionId: z.ZodString;
|
|
874
|
+
revision: z.ZodNumber;
|
|
875
|
+
}, z.core.$strip>>;
|
|
876
|
+
settlement: z.ZodNullable<z.ZodObject<{
|
|
877
|
+
state: z.ZodLiteral<"stopping">;
|
|
878
|
+
attemptCount: z.ZodNumber;
|
|
879
|
+
interruptionPendingCount: z.ZodNumber;
|
|
880
|
+
quiescencePendingCount: z.ZodNumber;
|
|
881
|
+
}, z.core.$strip>>;
|
|
882
|
+
backgroundCommandSettlement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
883
|
+
state: z.ZodLiteral<"stopping">;
|
|
884
|
+
commandCount: z.ZodNumber;
|
|
885
|
+
}, z.core.$strip>>>;
|
|
886
|
+
}, z.core.$strip>;
|
|
887
|
+
inputWait: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
888
|
+
deadlineAt: z.ZodString;
|
|
889
|
+
reason: z.ZodString;
|
|
890
|
+
}, z.core.$strip>>>;
|
|
891
|
+
lastSequence: z.ZodNumber;
|
|
892
|
+
codexPinnedCredentialId: z.ZodNullable<z.ZodString>;
|
|
893
|
+
codexLastCredentialId: z.ZodNullable<z.ZodString>;
|
|
894
|
+
codexCurrentSelection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
895
|
+
credentialId: z.ZodNullable<z.ZodString>;
|
|
896
|
+
waiting: z.ZodBoolean;
|
|
897
|
+
}, z.core.$strip>>>;
|
|
898
|
+
codexCompactionMode: z.ZodEnum<{
|
|
899
|
+
portable: "portable";
|
|
900
|
+
remote_v2: "remote_v2";
|
|
901
|
+
}>;
|
|
902
|
+
codeSearchEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
903
|
+
pinned: z.ZodDefault<z.ZodBoolean>;
|
|
904
|
+
pinnedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
905
|
+
pinVersion: z.ZodDefault<z.ZodNumber>;
|
|
906
|
+
unread: z.ZodDefault<z.ZodBoolean>;
|
|
907
|
+
activelyWorking: z.ZodDefault<z.ZodBoolean>;
|
|
908
|
+
attentionVersion: z.ZodDefault<z.ZodNumber>;
|
|
909
|
+
archived: z.ZodDefault<z.ZodBoolean>;
|
|
910
|
+
archivedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
911
|
+
importedArchive: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
912
|
+
importId: z.ZodString;
|
|
913
|
+
importedAt: z.ZodISODateTime;
|
|
914
|
+
readOnly: z.ZodLiteral<true>;
|
|
915
|
+
}, z.core.$strict>>>;
|
|
916
|
+
archiveVersion: z.ZodDefault<z.ZodNumber>;
|
|
917
|
+
treeStats: z.ZodOptional<z.ZodObject<{
|
|
918
|
+
directChildren: z.ZodNumber;
|
|
919
|
+
totalDescendants: z.ZodNumber;
|
|
920
|
+
runningDescendants: z.ZodNumber;
|
|
921
|
+
queuedDescendants: z.ZodNumber;
|
|
922
|
+
waitingDescendants: z.ZodOptional<z.ZodNumber>;
|
|
923
|
+
attentionDescendants: z.ZodNumber;
|
|
924
|
+
pausedDescendants: z.ZodNumber;
|
|
925
|
+
failedDescendants: z.ZodNumber;
|
|
926
|
+
unreadDescendants: z.ZodOptional<z.ZodNumber>;
|
|
927
|
+
unreadFailedDescendants: z.ZodOptional<z.ZodNumber>;
|
|
928
|
+
activelyWorkingDescendants: z.ZodOptional<z.ZodNumber>;
|
|
929
|
+
attentionSince: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
930
|
+
truncated: z.ZodDefault<z.ZodBoolean>;
|
|
931
|
+
}, z.core.$strip>>;
|
|
932
|
+
requiresActionSince: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
933
|
+
createdAt: z.ZodString;
|
|
934
|
+
updatedAt: z.ZodString;
|
|
935
|
+
}, z.core.$strip>>;
|
|
936
|
+
importId: z.ZodString;
|
|
937
|
+
created: z.ZodBoolean;
|
|
938
|
+
nextOffset: z.ZodNumber;
|
|
939
|
+
}, z.core.$strip>;
|
|
940
|
+
export type ImportArchivedSessionResponse = z.infer<typeof ImportArchivedSessionResponse>;
|
|
941
|
+
export declare const AppendArchivedSessionEventsResponse: z.ZodObject<{
|
|
942
|
+
sessionId: z.ZodString;
|
|
943
|
+
importId: z.ZodString;
|
|
944
|
+
nextOffset: z.ZodNumber;
|
|
945
|
+
replayed: z.ZodBoolean;
|
|
946
|
+
}, z.core.$strip>;
|
|
947
|
+
export type AppendArchivedSessionEventsResponse = z.infer<typeof AppendArchivedSessionEventsResponse>;
|