@opengeni/contracts 0.50.0 → 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 +26 -12
- 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/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-M5ZGRVIQ.js → chunk-5IXYF6XN.js} +14 -5
- 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-CM6BMECR.js → chunk-GRG7PHWQ.js} +2 -1
- package/dist/chunk-GRG7PHWQ.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-LW7OH6CS.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-JBCIY7QD.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/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 +18 -8
- 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 +47 -35
- 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 +90 -16
- 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 +32396 -11386
- package/dist/index.js +2198 -164
- 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 +344 -0
- package/dist/knowledge-entries.d.ts +982 -0
- package/dist/knowledge-preparation.d.ts +237 -0
- package/dist/knowledge.d.ts +197 -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/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 +42 -1
- 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 +3 -0
- package/dist/video-generation.js +1 -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 +3 -0
- package/dist/xai-provider-account-authority.js +1 -1
- package/package.json +134 -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/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/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 +7093 -1466
- package/src/insights-usage.ts +679 -0
- package/src/interaction.ts +220 -5
- package/src/knowledge-entries.ts +375 -0
- package/src/knowledge-preparation.ts +50 -0
- package/src/knowledge.ts +134 -6
- 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/spreadsheet-artifact-commands.ts +12 -13
- package/src/subscription-account-pools.ts +44 -0
- package/src/task-notes.ts +14 -1
- package/src/tool-catalog.ts +155 -0
- package/src/tool-result-spill.ts +35 -0
- package/src/usage-allowances.ts +187 -0
- 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 +1 -0
- 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-CM6BMECR.js.map +0 -1
- package/dist/chunk-JBCIY7QD.js.map +0 -1
- package/dist/chunk-LSB7GRLG.js.map +0 -1
- package/dist/chunk-LW7OH6CS.js.map +0 -1
- package/dist/chunk-M5ZGRVIQ.js.map +0 -1
- package/dist/chunk-Q6A7XT2N.js +0 -16734
- package/dist/chunk-Q6A7XT2N.js.map +0 -1
- package/dist/chunk-TZ6YEYN4.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,71 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const MCP_OAUTH_SCOPE: "mcp:access";
|
|
3
|
+
export declare const MCP_OAUTH_ACCESS_TOKEN_TTL_SECONDS: number;
|
|
4
|
+
export declare const MCP_OAUTH_REFRESH_TOKEN_TTL_SECONDS: number;
|
|
5
|
+
export declare const MCP_OAUTH_AUTHORIZATION_CODE_TTL_SECONDS: number;
|
|
6
|
+
export declare const MCP_OAUTH_CONSENT_TTL_SECONDS: number;
|
|
7
|
+
export declare const McpOAuthClientRegistrationRequest: z.ZodObject<{
|
|
8
|
+
redirect_uris: z.ZodArray<z.ZodString>;
|
|
9
|
+
client_name: z.ZodOptional<z.ZodString>;
|
|
10
|
+
application_type: z.ZodOptional<z.ZodEnum<{
|
|
11
|
+
native: "native";
|
|
12
|
+
web: "web";
|
|
13
|
+
}>>;
|
|
14
|
+
token_endpoint_auth_method: z.ZodDefault<z.ZodLiteral<"none">>;
|
|
15
|
+
scope: z.ZodOptional<z.ZodLiteral<"mcp:access">>;
|
|
16
|
+
grant_types: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
17
|
+
authorization_code: "authorization_code";
|
|
18
|
+
refresh_token: "refresh_token";
|
|
19
|
+
}>>>;
|
|
20
|
+
response_types: z.ZodDefault<z.ZodArray<z.ZodLiteral<"code">>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
export type McpOAuthClientRegistrationRequest = z.infer<typeof McpOAuthClientRegistrationRequest>;
|
|
23
|
+
export declare const McpOAuthClientRegistrationResponse: z.ZodObject<{
|
|
24
|
+
redirect_uris: z.ZodArray<z.ZodString>;
|
|
25
|
+
client_name: z.ZodOptional<z.ZodString>;
|
|
26
|
+
application_type: z.ZodOptional<z.ZodEnum<{
|
|
27
|
+
native: "native";
|
|
28
|
+
web: "web";
|
|
29
|
+
}>>;
|
|
30
|
+
token_endpoint_auth_method: z.ZodDefault<z.ZodLiteral<"none">>;
|
|
31
|
+
scope: z.ZodOptional<z.ZodLiteral<"mcp:access">>;
|
|
32
|
+
grant_types: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
33
|
+
authorization_code: "authorization_code";
|
|
34
|
+
refresh_token: "refresh_token";
|
|
35
|
+
}>>>;
|
|
36
|
+
response_types: z.ZodDefault<z.ZodArray<z.ZodLiteral<"code">>>;
|
|
37
|
+
client_id: z.ZodString;
|
|
38
|
+
client_id_issued_at: z.ZodNumber;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
export type McpOAuthClientRegistrationResponse = z.infer<typeof McpOAuthClientRegistrationResponse>;
|
|
41
|
+
export declare const McpOAuthTokenResponse: z.ZodObject<{
|
|
42
|
+
access_token: z.ZodString;
|
|
43
|
+
token_type: z.ZodLiteral<"Bearer">;
|
|
44
|
+
expires_in: z.ZodNumber;
|
|
45
|
+
refresh_token: z.ZodOptional<z.ZodString>;
|
|
46
|
+
scope: z.ZodLiteral<"mcp:access">;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
export type McpOAuthTokenResponse = z.infer<typeof McpOAuthTokenResponse>;
|
|
49
|
+
export declare const McpOAuthProtectedResourceMetadata: z.ZodObject<{
|
|
50
|
+
resource: z.ZodString;
|
|
51
|
+
authorization_servers: z.ZodArray<z.ZodString>;
|
|
52
|
+
scopes_supported: z.ZodArray<z.ZodLiteral<"mcp:access">>;
|
|
53
|
+
bearer_methods_supported: z.ZodArray<z.ZodLiteral<"header">>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
export type McpOAuthProtectedResourceMetadata = z.infer<typeof McpOAuthProtectedResourceMetadata>;
|
|
56
|
+
export declare const McpOAuthAuthorizationServerMetadata: z.ZodObject<{
|
|
57
|
+
issuer: z.ZodString;
|
|
58
|
+
authorization_endpoint: z.ZodString;
|
|
59
|
+
token_endpoint: z.ZodString;
|
|
60
|
+
registration_endpoint: z.ZodString;
|
|
61
|
+
response_types_supported: z.ZodArray<z.ZodLiteral<"code">>;
|
|
62
|
+
grant_types_supported: z.ZodArray<z.ZodEnum<{
|
|
63
|
+
authorization_code: "authorization_code";
|
|
64
|
+
refresh_token: "refresh_token";
|
|
65
|
+
}>>;
|
|
66
|
+
code_challenge_methods_supported: z.ZodArray<z.ZodLiteral<"S256">>;
|
|
67
|
+
token_endpoint_auth_methods_supported: z.ZodArray<z.ZodLiteral<"none">>;
|
|
68
|
+
scopes_supported: z.ZodArray<z.ZodLiteral<"mcp:access">>;
|
|
69
|
+
authorization_response_iss_parameter_supported: z.ZodLiteral<true>;
|
|
70
|
+
}, z.core.$strip>;
|
|
71
|
+
export type McpOAuthAuthorizationServerMetadata = z.infer<typeof McpOAuthAuthorizationServerMetadata>;
|
|
@@ -0,0 +1,587 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Secret-free descriptions for the NEW native proof protocol. Parsing any
|
|
3
|
+
* value below establishes correlation ONLY. It does not authenticate a host,
|
|
4
|
+
* native response, grant, election, capture, Start, or semantic continuation.
|
|
5
|
+
* Frozen reservation/journal v1 values are never adopted into this protocol. */
|
|
6
|
+
export declare const MODAL_NATIVE_PROOF_PROTOCOL_VERSION: 2;
|
|
7
|
+
export declare const MODAL_NATIVE_FRESH_COMPILER_FINGERPRINT: "db6d33c8a1142e5ffe3d1a130d8b9f9d819e46832ad0417d41d5606b7fe25ab1";
|
|
8
|
+
/** This entire profile is declared BEFORE even namespace lookup. It is a
|
|
9
|
+
* reviewed literal, not caller-selected defaults or an arbitrary self-hash. */
|
|
10
|
+
export declare const ModalNativeFreshNormalizationV1: z.ZodObject<{
|
|
11
|
+
recipeId: z.ZodLiteral<"modal-native-fresh-v1">;
|
|
12
|
+
recipeRevision: z.ZodLiteral<1>;
|
|
13
|
+
schema: z.ZodLiteral<"modal.client.ModalClient/SandboxCreate">;
|
|
14
|
+
encoding: z.ZodLiteral<"modal-create-json-v1">;
|
|
15
|
+
sdkVersion: z.ZodLiteral<"0.9.0">;
|
|
16
|
+
sdkSourceSha256: z.ZodLiteral<"bb830ded1925e1d927d1fc221b2329d961f9a57eafdd9a85bf13fb7cfc982599">;
|
|
17
|
+
entrypoint: z.ZodTuple<[z.ZodLiteral<"sleep">, z.ZodLiteral<"infinity">], null>;
|
|
18
|
+
createWorkdir: z.ZodLiteral<"/tmp">;
|
|
19
|
+
env: z.ZodObject<{}, z.core.$strict>;
|
|
20
|
+
mounts: z.ZodTuple<[], null>;
|
|
21
|
+
restore: z.ZodNull;
|
|
22
|
+
idleTimeout: z.ZodLiteral<"unset">;
|
|
23
|
+
gpu: z.ZodLiteral<"unset">;
|
|
24
|
+
gpuProto: z.ZodObject<{
|
|
25
|
+
type: z.ZodLiteral<0>;
|
|
26
|
+
count: z.ZodLiteral<0>;
|
|
27
|
+
gpuType: z.ZodLiteral<"">;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
cpuLimit: z.ZodLiteral<"unset">;
|
|
30
|
+
memoryLimit: z.ZodLiteral<"unset">;
|
|
31
|
+
pty: z.ZodLiteral<"unset">;
|
|
32
|
+
regions: z.ZodLiteral<"unset">;
|
|
33
|
+
proxy: z.ZodLiteral<"unset">;
|
|
34
|
+
readinessProbe: z.ZodLiteral<"unset">;
|
|
35
|
+
environmentVariables: z.ZodLiteral<"unset">;
|
|
36
|
+
network: z.ZodObject<{
|
|
37
|
+
access: z.ZodLiteral<"OPEN">;
|
|
38
|
+
outboundCidrs: z.ZodTuple<[], null>;
|
|
39
|
+
outboundDomains: z.ZodTuple<[], null>;
|
|
40
|
+
inboundCidrs: z.ZodTuple<[], null>;
|
|
41
|
+
i6pn: z.ZodLiteral<false>;
|
|
42
|
+
}, z.core.$strict>;
|
|
43
|
+
volumes: z.ZodTuple<[], null>;
|
|
44
|
+
cloudBucketMounts: z.ZodTuple<[], null>;
|
|
45
|
+
secrets: z.ZodTuple<[], null>;
|
|
46
|
+
ports: z.ZodTuple<[], null>;
|
|
47
|
+
cloud: z.ZodLiteral<"">;
|
|
48
|
+
verbose: z.ZodLiteral<false>;
|
|
49
|
+
includeOidcIdentityToken: z.ZodLiteral<false>;
|
|
50
|
+
experimentalOptions: z.ZodObject<{}, z.core.$strict>;
|
|
51
|
+
experimentalOptionsV2: z.ZodObject<{}, z.core.$strict>;
|
|
52
|
+
customDomain: z.ZodLiteral<"">;
|
|
53
|
+
}, z.core.$strict>;
|
|
54
|
+
export type ModalNativeFreshNormalizationV1 = z.infer<typeof ModalNativeFreshNormalizationV1>;
|
|
55
|
+
/** Public, credential-free recipe data. The host must normatively select this
|
|
56
|
+
* literal before I/O; possessing a copy supplies no issuance provenance. */
|
|
57
|
+
export declare const MODAL_NATIVE_FRESH_NORMALIZATION_V1: {
|
|
58
|
+
recipeId: "modal-native-fresh-v1";
|
|
59
|
+
recipeRevision: 1;
|
|
60
|
+
schema: "modal.client.ModalClient/SandboxCreate";
|
|
61
|
+
encoding: "modal-create-json-v1";
|
|
62
|
+
sdkVersion: "0.9.0";
|
|
63
|
+
sdkSourceSha256: "bb830ded1925e1d927d1fc221b2329d961f9a57eafdd9a85bf13fb7cfc982599";
|
|
64
|
+
entrypoint: ["sleep", "infinity"];
|
|
65
|
+
createWorkdir: "/tmp";
|
|
66
|
+
env: Record<string, never>;
|
|
67
|
+
mounts: [];
|
|
68
|
+
restore: null;
|
|
69
|
+
idleTimeout: "unset";
|
|
70
|
+
gpu: "unset";
|
|
71
|
+
gpuProto: {
|
|
72
|
+
type: 0;
|
|
73
|
+
count: 0;
|
|
74
|
+
gpuType: "";
|
|
75
|
+
};
|
|
76
|
+
cpuLimit: "unset";
|
|
77
|
+
memoryLimit: "unset";
|
|
78
|
+
pty: "unset";
|
|
79
|
+
regions: "unset";
|
|
80
|
+
proxy: "unset";
|
|
81
|
+
readinessProbe: "unset";
|
|
82
|
+
environmentVariables: "unset";
|
|
83
|
+
network: {
|
|
84
|
+
access: "OPEN";
|
|
85
|
+
outboundCidrs: [];
|
|
86
|
+
outboundDomains: [];
|
|
87
|
+
inboundCidrs: [];
|
|
88
|
+
i6pn: false;
|
|
89
|
+
};
|
|
90
|
+
volumes: [];
|
|
91
|
+
cloudBucketMounts: [];
|
|
92
|
+
secrets: [];
|
|
93
|
+
ports: [];
|
|
94
|
+
cloud: "";
|
|
95
|
+
verbose: false;
|
|
96
|
+
includeOidcIdentityToken: false;
|
|
97
|
+
experimentalOptions: Record<string, never>;
|
|
98
|
+
experimentalOptionsV2: Record<string, never>;
|
|
99
|
+
customDomain: "";
|
|
100
|
+
};
|
|
101
|
+
export declare const ModalNativePreparationRecipeV2: z.ZodObject<{
|
|
102
|
+
version: z.ZodLiteral<1>;
|
|
103
|
+
recipeId: z.ZodLiteral<"modal-native-fresh-v1">;
|
|
104
|
+
recipeRevision: z.ZodLiteral<1>;
|
|
105
|
+
createWorkdir: z.ZodLiteral<"/tmp">;
|
|
106
|
+
entrypoint: z.ZodTuple<[z.ZodLiteral<"sleep">, z.ZodLiteral<"infinity">], null>;
|
|
107
|
+
normalization: z.ZodObject<{
|
|
108
|
+
recipeId: z.ZodLiteral<"modal-native-fresh-v1">;
|
|
109
|
+
recipeRevision: z.ZodLiteral<1>;
|
|
110
|
+
schema: z.ZodLiteral<"modal.client.ModalClient/SandboxCreate">;
|
|
111
|
+
encoding: z.ZodLiteral<"modal-create-json-v1">;
|
|
112
|
+
sdkVersion: z.ZodLiteral<"0.9.0">;
|
|
113
|
+
sdkSourceSha256: z.ZodLiteral<"bb830ded1925e1d927d1fc221b2329d961f9a57eafdd9a85bf13fb7cfc982599">;
|
|
114
|
+
entrypoint: z.ZodTuple<[z.ZodLiteral<"sleep">, z.ZodLiteral<"infinity">], null>;
|
|
115
|
+
createWorkdir: z.ZodLiteral<"/tmp">;
|
|
116
|
+
env: z.ZodObject<{}, z.core.$strict>;
|
|
117
|
+
mounts: z.ZodTuple<[], null>;
|
|
118
|
+
restore: z.ZodNull;
|
|
119
|
+
idleTimeout: z.ZodLiteral<"unset">;
|
|
120
|
+
gpu: z.ZodLiteral<"unset">;
|
|
121
|
+
gpuProto: z.ZodObject<{
|
|
122
|
+
type: z.ZodLiteral<0>;
|
|
123
|
+
count: z.ZodLiteral<0>;
|
|
124
|
+
gpuType: z.ZodLiteral<"">;
|
|
125
|
+
}, z.core.$strict>;
|
|
126
|
+
cpuLimit: z.ZodLiteral<"unset">;
|
|
127
|
+
memoryLimit: z.ZodLiteral<"unset">;
|
|
128
|
+
pty: z.ZodLiteral<"unset">;
|
|
129
|
+
regions: z.ZodLiteral<"unset">;
|
|
130
|
+
proxy: z.ZodLiteral<"unset">;
|
|
131
|
+
readinessProbe: z.ZodLiteral<"unset">;
|
|
132
|
+
environmentVariables: z.ZodLiteral<"unset">;
|
|
133
|
+
network: z.ZodObject<{
|
|
134
|
+
access: z.ZodLiteral<"OPEN">;
|
|
135
|
+
outboundCidrs: z.ZodTuple<[], null>;
|
|
136
|
+
outboundDomains: z.ZodTuple<[], null>;
|
|
137
|
+
inboundCidrs: z.ZodTuple<[], null>;
|
|
138
|
+
i6pn: z.ZodLiteral<false>;
|
|
139
|
+
}, z.core.$strict>;
|
|
140
|
+
volumes: z.ZodTuple<[], null>;
|
|
141
|
+
cloudBucketMounts: z.ZodTuple<[], null>;
|
|
142
|
+
secrets: z.ZodTuple<[], null>;
|
|
143
|
+
ports: z.ZodTuple<[], null>;
|
|
144
|
+
cloud: z.ZodLiteral<"">;
|
|
145
|
+
verbose: z.ZodLiteral<false>;
|
|
146
|
+
includeOidcIdentityToken: z.ZodLiteral<false>;
|
|
147
|
+
experimentalOptions: z.ZodObject<{}, z.core.$strict>;
|
|
148
|
+
experimentalOptionsV2: z.ZodObject<{}, z.core.$strict>;
|
|
149
|
+
customDomain: z.ZodLiteral<"">;
|
|
150
|
+
}, z.core.$strict>;
|
|
151
|
+
compilerFingerprint: z.ZodLiteral<"db6d33c8a1142e5ffe3d1a130d8b9f9d819e46832ad0417d41d5606b7fe25ab1">;
|
|
152
|
+
}, z.core.$strict>;
|
|
153
|
+
export type ModalNativePreparationRecipeV2 = z.infer<typeof ModalNativePreparationRecipeV2>;
|
|
154
|
+
export declare const MODAL_NATIVE_PREPARATION_RECIPE_V2: {
|
|
155
|
+
version: 1;
|
|
156
|
+
recipeId: "modal-native-fresh-v1";
|
|
157
|
+
recipeRevision: 1;
|
|
158
|
+
createWorkdir: "/tmp";
|
|
159
|
+
entrypoint: ["sleep", "infinity"];
|
|
160
|
+
normalization: {
|
|
161
|
+
recipeId: "modal-native-fresh-v1";
|
|
162
|
+
recipeRevision: 1;
|
|
163
|
+
schema: "modal.client.ModalClient/SandboxCreate";
|
|
164
|
+
encoding: "modal-create-json-v1";
|
|
165
|
+
sdkVersion: "0.9.0";
|
|
166
|
+
sdkSourceSha256: "bb830ded1925e1d927d1fc221b2329d961f9a57eafdd9a85bf13fb7cfc982599";
|
|
167
|
+
entrypoint: ["sleep", "infinity"];
|
|
168
|
+
createWorkdir: "/tmp";
|
|
169
|
+
env: Record<string, never>;
|
|
170
|
+
mounts: [];
|
|
171
|
+
restore: null;
|
|
172
|
+
idleTimeout: "unset";
|
|
173
|
+
gpu: "unset";
|
|
174
|
+
gpuProto: {
|
|
175
|
+
type: 0;
|
|
176
|
+
count: 0;
|
|
177
|
+
gpuType: "";
|
|
178
|
+
};
|
|
179
|
+
cpuLimit: "unset";
|
|
180
|
+
memoryLimit: "unset";
|
|
181
|
+
pty: "unset";
|
|
182
|
+
regions: "unset";
|
|
183
|
+
proxy: "unset";
|
|
184
|
+
readinessProbe: "unset";
|
|
185
|
+
environmentVariables: "unset";
|
|
186
|
+
network: {
|
|
187
|
+
access: "OPEN";
|
|
188
|
+
outboundCidrs: [];
|
|
189
|
+
outboundDomains: [];
|
|
190
|
+
inboundCidrs: [];
|
|
191
|
+
i6pn: false;
|
|
192
|
+
};
|
|
193
|
+
volumes: [];
|
|
194
|
+
cloudBucketMounts: [];
|
|
195
|
+
secrets: [];
|
|
196
|
+
ports: [];
|
|
197
|
+
cloud: "";
|
|
198
|
+
verbose: false;
|
|
199
|
+
includeOidcIdentityToken: false;
|
|
200
|
+
experimentalOptions: Record<string, never>;
|
|
201
|
+
experimentalOptionsV2: Record<string, never>;
|
|
202
|
+
customDomain: "";
|
|
203
|
+
};
|
|
204
|
+
compilerFingerprint: "db6d33c8a1142e5ffe3d1a130d8b9f9d819e46832ad0417d41d5606b7fe25ab1";
|
|
205
|
+
};
|
|
206
|
+
/** Exactly the old reservation vocabulary, NOT an extension to its keys. */
|
|
207
|
+
export declare const ModalNativeFreshBlueprintV1: z.ZodObject<{
|
|
208
|
+
version: z.ZodLiteral<1>;
|
|
209
|
+
adapterId: z.ZodLiteral<"modal-native-fresh-creator-reservation-v1">;
|
|
210
|
+
create: z.ZodObject<{
|
|
211
|
+
operationId: z.ZodString;
|
|
212
|
+
appId: z.ZodString;
|
|
213
|
+
imageId: z.ZodString;
|
|
214
|
+
cpu: z.ZodNumber;
|
|
215
|
+
memoryMiB: z.ZodNumber;
|
|
216
|
+
timeoutSeconds: z.ZodNumber;
|
|
217
|
+
env: z.ZodObject<{}, z.core.$strict>;
|
|
218
|
+
mounts: z.ZodTuple<[], null>;
|
|
219
|
+
}, z.core.$strict>;
|
|
220
|
+
restore: z.ZodNull;
|
|
221
|
+
readiness: z.ZodObject<{
|
|
222
|
+
operationId: z.ZodString;
|
|
223
|
+
execId: z.ZodPipe<z.ZodString, z.ZodString>;
|
|
224
|
+
commandArgs: z.ZodTuple<[z.ZodLiteral<"/bin/true">], null>;
|
|
225
|
+
workdir: z.ZodLiteral<"/tmp">;
|
|
226
|
+
env: z.ZodObject<{}, z.core.$strict>;
|
|
227
|
+
}, z.core.$strict>;
|
|
228
|
+
publishOperationId: z.ZodString;
|
|
229
|
+
cleanup: z.ZodObject<{
|
|
230
|
+
operationId: z.ZodString;
|
|
231
|
+
requires: z.ZodLiteral<"physical-terminal-proof">;
|
|
232
|
+
}, z.core.$strict>;
|
|
233
|
+
}, z.core.$strict>;
|
|
234
|
+
export type ModalNativeFreshBlueprintV1 = z.infer<typeof ModalNativeFreshBlueprintV1>;
|
|
235
|
+
/** Full pre-election identity. routeEpoch is NOT the physical lease epoch;
|
|
236
|
+
* creatorId is NOT an elected owner or a replacement accepted attempt. */
|
|
237
|
+
export declare const ModalNativeOriginalScopeV2: z.ZodObject<{
|
|
238
|
+
version: z.ZodLiteral<2>;
|
|
239
|
+
declarationId: z.ZodString;
|
|
240
|
+
planId: z.ZodString;
|
|
241
|
+
creatorId: z.ZodString;
|
|
242
|
+
accountId: z.ZodString;
|
|
243
|
+
workspaceId: z.ZodString;
|
|
244
|
+
sessionId: z.ZodString;
|
|
245
|
+
turnId: z.ZodString;
|
|
246
|
+
attemptId: z.ZodString;
|
|
247
|
+
executionGeneration: z.ZodNumber;
|
|
248
|
+
triggerEventId: z.ZodString;
|
|
249
|
+
sandboxGroupId: z.ZodString;
|
|
250
|
+
routeKind: z.ZodLiteral<"home">;
|
|
251
|
+
routeTargetId: z.ZodNull;
|
|
252
|
+
routeEpoch: z.ZodNumber;
|
|
253
|
+
}, z.core.$strict>;
|
|
254
|
+
export type ModalNativeOriginalScopeV2 = z.infer<typeof ModalNativeOriginalScopeV2>;
|
|
255
|
+
/** References must resolve through the complete protected scope/config join.
|
|
256
|
+
* They are neither credentials nor canonical/native authentication receipts. */
|
|
257
|
+
export declare const ModalNativeConfigurationCaptureRefV2: z.ZodObject<{
|
|
258
|
+
id: z.ZodString;
|
|
259
|
+
revision: z.ZodNumber;
|
|
260
|
+
}, z.core.$strict>;
|
|
261
|
+
export type ModalNativeConfigurationCaptureRefV2 = z.infer<typeof ModalNativeConfigurationCaptureRefV2>;
|
|
262
|
+
export declare const ModalNativeProofGrantRefV2: z.ZodObject<{
|
|
263
|
+
id: z.ZodString;
|
|
264
|
+
epoch: z.ZodNumber;
|
|
265
|
+
}, z.core.$strict>;
|
|
266
|
+
export type ModalNativeProofGrantRefV2 = z.infer<typeof ModalNativeProofGrantRefV2>;
|
|
267
|
+
export declare const ModalNativeReservedLeaseRefV2: z.ZodObject<{
|
|
268
|
+
id: z.ZodString;
|
|
269
|
+
epoch: z.ZodNumber;
|
|
270
|
+
}, z.core.$strict>;
|
|
271
|
+
export type ModalNativeReservedLeaseRefV2 = z.infer<typeof ModalNativeReservedLeaseRefV2>;
|
|
272
|
+
export declare const ModalNativePreparationDeclarationV2: z.ZodObject<{
|
|
273
|
+
version: z.ZodLiteral<2>;
|
|
274
|
+
scope: z.ZodObject<{
|
|
275
|
+
version: z.ZodLiteral<2>;
|
|
276
|
+
declarationId: z.ZodString;
|
|
277
|
+
planId: z.ZodString;
|
|
278
|
+
creatorId: z.ZodString;
|
|
279
|
+
accountId: z.ZodString;
|
|
280
|
+
workspaceId: z.ZodString;
|
|
281
|
+
sessionId: z.ZodString;
|
|
282
|
+
turnId: z.ZodString;
|
|
283
|
+
attemptId: z.ZodString;
|
|
284
|
+
executionGeneration: z.ZodNumber;
|
|
285
|
+
triggerEventId: z.ZodString;
|
|
286
|
+
sandboxGroupId: z.ZodString;
|
|
287
|
+
routeKind: z.ZodLiteral<"home">;
|
|
288
|
+
routeTargetId: z.ZodNull;
|
|
289
|
+
routeEpoch: z.ZodNumber;
|
|
290
|
+
}, z.core.$strict>;
|
|
291
|
+
blueprint: z.ZodObject<{
|
|
292
|
+
version: z.ZodLiteral<1>;
|
|
293
|
+
adapterId: z.ZodLiteral<"modal-native-fresh-creator-reservation-v1">;
|
|
294
|
+
create: z.ZodObject<{
|
|
295
|
+
operationId: z.ZodString;
|
|
296
|
+
appId: z.ZodString;
|
|
297
|
+
imageId: z.ZodString;
|
|
298
|
+
cpu: z.ZodNumber;
|
|
299
|
+
memoryMiB: z.ZodNumber;
|
|
300
|
+
timeoutSeconds: z.ZodNumber;
|
|
301
|
+
env: z.ZodObject<{}, z.core.$strict>;
|
|
302
|
+
mounts: z.ZodTuple<[], null>;
|
|
303
|
+
}, z.core.$strict>;
|
|
304
|
+
restore: z.ZodNull;
|
|
305
|
+
readiness: z.ZodObject<{
|
|
306
|
+
operationId: z.ZodString;
|
|
307
|
+
execId: z.ZodPipe<z.ZodString, z.ZodString>;
|
|
308
|
+
commandArgs: z.ZodTuple<[z.ZodLiteral<"/bin/true">], null>;
|
|
309
|
+
workdir: z.ZodLiteral<"/tmp">;
|
|
310
|
+
env: z.ZodObject<{}, z.core.$strict>;
|
|
311
|
+
}, z.core.$strict>;
|
|
312
|
+
publishOperationId: z.ZodString;
|
|
313
|
+
cleanup: z.ZodObject<{
|
|
314
|
+
operationId: z.ZodString;
|
|
315
|
+
requires: z.ZodLiteral<"physical-terminal-proof">;
|
|
316
|
+
}, z.core.$strict>;
|
|
317
|
+
}, z.core.$strict>;
|
|
318
|
+
preparationRecipe: z.ZodObject<{
|
|
319
|
+
version: z.ZodLiteral<1>;
|
|
320
|
+
recipeId: z.ZodLiteral<"modal-native-fresh-v1">;
|
|
321
|
+
recipeRevision: z.ZodLiteral<1>;
|
|
322
|
+
createWorkdir: z.ZodLiteral<"/tmp">;
|
|
323
|
+
entrypoint: z.ZodTuple<[z.ZodLiteral<"sleep">, z.ZodLiteral<"infinity">], null>;
|
|
324
|
+
normalization: z.ZodObject<{
|
|
325
|
+
recipeId: z.ZodLiteral<"modal-native-fresh-v1">;
|
|
326
|
+
recipeRevision: z.ZodLiteral<1>;
|
|
327
|
+
schema: z.ZodLiteral<"modal.client.ModalClient/SandboxCreate">;
|
|
328
|
+
encoding: z.ZodLiteral<"modal-create-json-v1">;
|
|
329
|
+
sdkVersion: z.ZodLiteral<"0.9.0">;
|
|
330
|
+
sdkSourceSha256: z.ZodLiteral<"bb830ded1925e1d927d1fc221b2329d961f9a57eafdd9a85bf13fb7cfc982599">;
|
|
331
|
+
entrypoint: z.ZodTuple<[z.ZodLiteral<"sleep">, z.ZodLiteral<"infinity">], null>;
|
|
332
|
+
createWorkdir: z.ZodLiteral<"/tmp">;
|
|
333
|
+
env: z.ZodObject<{}, z.core.$strict>;
|
|
334
|
+
mounts: z.ZodTuple<[], null>;
|
|
335
|
+
restore: z.ZodNull;
|
|
336
|
+
idleTimeout: z.ZodLiteral<"unset">;
|
|
337
|
+
gpu: z.ZodLiteral<"unset">;
|
|
338
|
+
gpuProto: z.ZodObject<{
|
|
339
|
+
type: z.ZodLiteral<0>;
|
|
340
|
+
count: z.ZodLiteral<0>;
|
|
341
|
+
gpuType: z.ZodLiteral<"">;
|
|
342
|
+
}, z.core.$strict>;
|
|
343
|
+
cpuLimit: z.ZodLiteral<"unset">;
|
|
344
|
+
memoryLimit: z.ZodLiteral<"unset">;
|
|
345
|
+
pty: z.ZodLiteral<"unset">;
|
|
346
|
+
regions: z.ZodLiteral<"unset">;
|
|
347
|
+
proxy: z.ZodLiteral<"unset">;
|
|
348
|
+
readinessProbe: z.ZodLiteral<"unset">;
|
|
349
|
+
environmentVariables: z.ZodLiteral<"unset">;
|
|
350
|
+
network: z.ZodObject<{
|
|
351
|
+
access: z.ZodLiteral<"OPEN">;
|
|
352
|
+
outboundCidrs: z.ZodTuple<[], null>;
|
|
353
|
+
outboundDomains: z.ZodTuple<[], null>;
|
|
354
|
+
inboundCidrs: z.ZodTuple<[], null>;
|
|
355
|
+
i6pn: z.ZodLiteral<false>;
|
|
356
|
+
}, z.core.$strict>;
|
|
357
|
+
volumes: z.ZodTuple<[], null>;
|
|
358
|
+
cloudBucketMounts: z.ZodTuple<[], null>;
|
|
359
|
+
secrets: z.ZodTuple<[], null>;
|
|
360
|
+
ports: z.ZodTuple<[], null>;
|
|
361
|
+
cloud: z.ZodLiteral<"">;
|
|
362
|
+
verbose: z.ZodLiteral<false>;
|
|
363
|
+
includeOidcIdentityToken: z.ZodLiteral<false>;
|
|
364
|
+
experimentalOptions: z.ZodObject<{}, z.core.$strict>;
|
|
365
|
+
experimentalOptionsV2: z.ZodObject<{}, z.core.$strict>;
|
|
366
|
+
customDomain: z.ZodLiteral<"">;
|
|
367
|
+
}, z.core.$strict>;
|
|
368
|
+
compilerFingerprint: z.ZodLiteral<"db6d33c8a1142e5ffe3d1a130d8b9f9d819e46832ad0417d41d5606b7fe25ab1">;
|
|
369
|
+
}, z.core.$strict>;
|
|
370
|
+
configurationCaptureRef: z.ZodObject<{
|
|
371
|
+
id: z.ZodString;
|
|
372
|
+
revision: z.ZodNumber;
|
|
373
|
+
}, z.core.$strict>;
|
|
374
|
+
proofGrantRef: z.ZodObject<{
|
|
375
|
+
id: z.ZodString;
|
|
376
|
+
epoch: z.ZodNumber;
|
|
377
|
+
}, z.core.$strict>;
|
|
378
|
+
providerRecoveryCount: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
379
|
+
namespaceState: z.ZodLiteral<"unbound">;
|
|
380
|
+
}, z.core.$strict>;
|
|
381
|
+
export type ModalNativePreparationDeclarationV2 = z.infer<typeof ModalNativePreparationDeclarationV2>;
|
|
382
|
+
/** Separate bind-once append, linked to the SAME captured configuration and
|
|
383
|
+
* claim. This deliberately has no invented immutable provider-principal ID.
|
|
384
|
+
* Only a trusted native issuer + authenticated host ingress can attest it. */
|
|
385
|
+
export declare const ModalNativeNamespaceEvidenceV2: z.ZodObject<{
|
|
386
|
+
version: z.ZodLiteral<2>;
|
|
387
|
+
scope: z.ZodObject<{
|
|
388
|
+
version: z.ZodLiteral<2>;
|
|
389
|
+
declarationId: z.ZodString;
|
|
390
|
+
planId: z.ZodString;
|
|
391
|
+
creatorId: z.ZodString;
|
|
392
|
+
accountId: z.ZodString;
|
|
393
|
+
workspaceId: z.ZodString;
|
|
394
|
+
sessionId: z.ZodString;
|
|
395
|
+
turnId: z.ZodString;
|
|
396
|
+
attemptId: z.ZodString;
|
|
397
|
+
executionGeneration: z.ZodNumber;
|
|
398
|
+
triggerEventId: z.ZodString;
|
|
399
|
+
sandboxGroupId: z.ZodString;
|
|
400
|
+
routeKind: z.ZodLiteral<"home">;
|
|
401
|
+
routeTargetId: z.ZodNull;
|
|
402
|
+
routeEpoch: z.ZodNumber;
|
|
403
|
+
}, z.core.$strict>;
|
|
404
|
+
configurationCaptureRef: z.ZodObject<{
|
|
405
|
+
id: z.ZodString;
|
|
406
|
+
revision: z.ZodNumber;
|
|
407
|
+
}, z.core.$strict>;
|
|
408
|
+
proofGrantRef: z.ZodObject<{
|
|
409
|
+
id: z.ZodString;
|
|
410
|
+
epoch: z.ZodNumber;
|
|
411
|
+
}, z.core.$strict>;
|
|
412
|
+
claimId: z.ZodString;
|
|
413
|
+
nonce: z.ZodString;
|
|
414
|
+
claimRevision: z.ZodNumber;
|
|
415
|
+
recordRevision: z.ZodNumber;
|
|
416
|
+
captureId: z.ZodString;
|
|
417
|
+
purpose: z.ZodLiteral<"original-namespace-read">;
|
|
418
|
+
reservation: z.ZodObject<{
|
|
419
|
+
id: z.ZodString;
|
|
420
|
+
epoch: z.ZodNumber;
|
|
421
|
+
}, z.core.$strict>;
|
|
422
|
+
source: z.ZodLiteral<"modal-client-workspace-name-lookup-v1">;
|
|
423
|
+
responseField: z.ZodEnum<{
|
|
424
|
+
username: "username";
|
|
425
|
+
workspaceName: "workspaceName";
|
|
426
|
+
}>;
|
|
427
|
+
binding: z.ZodObject<{
|
|
428
|
+
version: z.ZodLiteral<1>;
|
|
429
|
+
serverUrl: z.ZodString;
|
|
430
|
+
workspaceName: z.ZodString;
|
|
431
|
+
environment: z.ZodString;
|
|
432
|
+
}, z.core.$strict>;
|
|
433
|
+
}, z.core.$strict>;
|
|
434
|
+
export type ModalNativeNamespaceEvidenceV2 = z.infer<typeof ModalNativeNamespaceEvidenceV2>;
|
|
435
|
+
/** Scheduling custody ONLY. No lease/task grant is fabricated to authorize
|
|
436
|
+
* this prerequisite lookup. A reserved lease supplies exclusion, not effects. */
|
|
437
|
+
export declare const ModalNativeNamespaceReadClaimV2: z.ZodObject<{
|
|
438
|
+
version: z.ZodLiteral<2>;
|
|
439
|
+
scope: z.ZodObject<{
|
|
440
|
+
version: z.ZodLiteral<2>;
|
|
441
|
+
declarationId: z.ZodString;
|
|
442
|
+
planId: z.ZodString;
|
|
443
|
+
creatorId: z.ZodString;
|
|
444
|
+
accountId: z.ZodString;
|
|
445
|
+
workspaceId: z.ZodString;
|
|
446
|
+
sessionId: z.ZodString;
|
|
447
|
+
turnId: z.ZodString;
|
|
448
|
+
attemptId: z.ZodString;
|
|
449
|
+
executionGeneration: z.ZodNumber;
|
|
450
|
+
triggerEventId: z.ZodString;
|
|
451
|
+
sandboxGroupId: z.ZodString;
|
|
452
|
+
routeKind: z.ZodLiteral<"home">;
|
|
453
|
+
routeTargetId: z.ZodNull;
|
|
454
|
+
routeEpoch: z.ZodNumber;
|
|
455
|
+
}, z.core.$strict>;
|
|
456
|
+
configurationCaptureRef: z.ZodObject<{
|
|
457
|
+
id: z.ZodString;
|
|
458
|
+
revision: z.ZodNumber;
|
|
459
|
+
}, z.core.$strict>;
|
|
460
|
+
proofGrantRef: z.ZodObject<{
|
|
461
|
+
id: z.ZodString;
|
|
462
|
+
epoch: z.ZodNumber;
|
|
463
|
+
}, z.core.$strict>;
|
|
464
|
+
claimId: z.ZodString;
|
|
465
|
+
nonce: z.ZodString;
|
|
466
|
+
claimRevision: z.ZodNumber;
|
|
467
|
+
recordRevision: z.ZodNumber;
|
|
468
|
+
captureId: z.ZodString;
|
|
469
|
+
expiresAt: z.ZodString;
|
|
470
|
+
purpose: z.ZodLiteral<"original-namespace-read">;
|
|
471
|
+
reservation: z.ZodObject<{
|
|
472
|
+
id: z.ZodString;
|
|
473
|
+
epoch: z.ZodNumber;
|
|
474
|
+
}, z.core.$strict>;
|
|
475
|
+
}, z.core.$strict>;
|
|
476
|
+
export type ModalNativeNamespaceReadClaimV2 = z.infer<typeof ModalNativeNamespaceReadClaimV2>;
|
|
477
|
+
/** Exact original router command and authoritative prior cursors; no retarget,
|
|
478
|
+
* new TaskGet adoption, legacy locator, PTY, Start, stdin or process-cancel API. */
|
|
479
|
+
export declare const ModalNativeOriginalCommandReadClaimV2: z.ZodObject<{
|
|
480
|
+
version: z.ZodLiteral<2>;
|
|
481
|
+
scope: z.ZodObject<{
|
|
482
|
+
version: z.ZodLiteral<2>;
|
|
483
|
+
declarationId: z.ZodString;
|
|
484
|
+
planId: z.ZodString;
|
|
485
|
+
creatorId: z.ZodString;
|
|
486
|
+
accountId: z.ZodString;
|
|
487
|
+
workspaceId: z.ZodString;
|
|
488
|
+
sessionId: z.ZodString;
|
|
489
|
+
turnId: z.ZodString;
|
|
490
|
+
attemptId: z.ZodString;
|
|
491
|
+
executionGeneration: z.ZodNumber;
|
|
492
|
+
triggerEventId: z.ZodString;
|
|
493
|
+
sandboxGroupId: z.ZodString;
|
|
494
|
+
routeKind: z.ZodLiteral<"home">;
|
|
495
|
+
routeTargetId: z.ZodNull;
|
|
496
|
+
routeEpoch: z.ZodNumber;
|
|
497
|
+
}, z.core.$strict>;
|
|
498
|
+
configurationCaptureRef: z.ZodObject<{
|
|
499
|
+
id: z.ZodString;
|
|
500
|
+
revision: z.ZodNumber;
|
|
501
|
+
}, z.core.$strict>;
|
|
502
|
+
proofGrantRef: z.ZodObject<{
|
|
503
|
+
id: z.ZodString;
|
|
504
|
+
epoch: z.ZodNumber;
|
|
505
|
+
}, z.core.$strict>;
|
|
506
|
+
claimId: z.ZodString;
|
|
507
|
+
nonce: z.ZodString;
|
|
508
|
+
claimRevision: z.ZodNumber;
|
|
509
|
+
recordRevision: z.ZodNumber;
|
|
510
|
+
captureId: z.ZodString;
|
|
511
|
+
expiresAt: z.ZodString;
|
|
512
|
+
purpose: z.ZodLiteral<"original-readiness-read">;
|
|
513
|
+
reservation: z.ZodObject<{
|
|
514
|
+
id: z.ZodString;
|
|
515
|
+
epoch: z.ZodNumber;
|
|
516
|
+
}, z.core.$strict>;
|
|
517
|
+
physicalOwnerGeneration: z.ZodNumber;
|
|
518
|
+
operationId: z.ZodString;
|
|
519
|
+
providerBindingKey: z.ZodString;
|
|
520
|
+
command: z.ZodObject<{
|
|
521
|
+
kind: z.ZodLiteral<"modal-router-v1">;
|
|
522
|
+
sandboxId: z.ZodString;
|
|
523
|
+
taskId: z.ZodString;
|
|
524
|
+
execId: z.ZodString;
|
|
525
|
+
pty: z.ZodOptional<z.ZodBoolean>;
|
|
526
|
+
supervision: z.ZodOptional<z.ZodObject<{
|
|
527
|
+
protocol: z.ZodLiteral<"native-subreaper-v1">;
|
|
528
|
+
invocationId: z.ZodString;
|
|
529
|
+
nonce: z.ZodString;
|
|
530
|
+
controlPath: z.ZodString;
|
|
531
|
+
}, z.core.$strict>>;
|
|
532
|
+
streams: z.ZodObject<{
|
|
533
|
+
stdout: z.ZodObject<{
|
|
534
|
+
byteOffset: z.ZodNumber;
|
|
535
|
+
utf8Remainder: z.ZodString;
|
|
536
|
+
eof: z.ZodBoolean;
|
|
537
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
538
|
+
}, z.core.$strict>;
|
|
539
|
+
stderr: z.ZodObject<{
|
|
540
|
+
byteOffset: z.ZodNumber;
|
|
541
|
+
utf8Remainder: z.ZodString;
|
|
542
|
+
eof: z.ZodBoolean;
|
|
543
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
544
|
+
}, z.core.$strict>;
|
|
545
|
+
}, z.core.$strict>;
|
|
546
|
+
}, z.core.$strict>;
|
|
547
|
+
}, z.core.$strict>;
|
|
548
|
+
export type ModalNativeOriginalCommandReadClaimV2 = z.infer<typeof ModalNativeOriginalCommandReadClaimV2>;
|
|
549
|
+
/** Preserve the actual runtime descriptor's encoding/fingerprint domain. This
|
|
550
|
+
* is passive protobuf PREFLIGHT, not the RPC's transmitted bytes or permission. */
|
|
551
|
+
export declare const ModalNativePreparedStartDescriptionV1: z.ZodObject<{
|
|
552
|
+
taskId: z.ZodString;
|
|
553
|
+
execId: z.ZodPipe<z.ZodString, z.ZodString>;
|
|
554
|
+
descriptorProtocol: z.ZodLiteral<"modal-prepared-start-descriptor">;
|
|
555
|
+
descriptorVersion: z.ZodLiteral<1>;
|
|
556
|
+
readinessRecipe: z.ZodLiteral<"modal-exec-readiness-bin-true-v1">;
|
|
557
|
+
readinessRecipeVersion: z.ZodLiteral<1>;
|
|
558
|
+
startMessage: z.ZodLiteral<"Start">;
|
|
559
|
+
rpcMethod: z.ZodLiteral<"/modal.task_command_router.TaskCommandRouter/TaskExecStart">;
|
|
560
|
+
encoderVersion: z.ZodLiteral<"protobufjs@7.6.5">;
|
|
561
|
+
preflight: z.ZodObject<{
|
|
562
|
+
encoding: z.ZodLiteral<"modal-start-protobuf-preflight-v1">;
|
|
563
|
+
sha256: z.ZodString;
|
|
564
|
+
byteLength: z.ZodNumber;
|
|
565
|
+
encoderFingerprint: z.ZodString;
|
|
566
|
+
}, z.core.$strict>;
|
|
567
|
+
}, z.core.$strict>;
|
|
568
|
+
export type ModalNativePreparedStartDescriptionV1 = z.infer<typeof ModalNativePreparedStartDescriptionV1>;
|
|
569
|
+
/** Host/native acquisition objects are intentionally NOT constructed here.
|
|
570
|
+
* Raw DTOs, copied refs and any schema-success result cannot mint those objects.
|
|
571
|
+
* Capture needs issuer-authenticated OWN bytes, the exact original claim and a
|
|
572
|
+
* durable capture key; unknown ACK reconciles that same key/acquisition. */
|
|
573
|
+
export type ModalNativeProofCaptureStatusV2 = {
|
|
574
|
+
status: "committed";
|
|
575
|
+
captureId: string;
|
|
576
|
+
receiptId: string;
|
|
577
|
+
recordRevision: number;
|
|
578
|
+
} | {
|
|
579
|
+
status: "absent_fenced";
|
|
580
|
+
captureId: string;
|
|
581
|
+
} | {
|
|
582
|
+
status: "conflict";
|
|
583
|
+
captureId: string;
|
|
584
|
+
} | {
|
|
585
|
+
status: "unresolved";
|
|
586
|
+
captureId: string;
|
|
587
|
+
};
|