@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
package/dist/interaction.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export declare const INTERACTION_PROTOCOL_VERSION: 1;
|
|
|
3
3
|
export declare const BROWSER_CONTROL_PROTOCOL_VERSION: 1;
|
|
4
4
|
export declare const BROWSER_CONTROL_WEBSOCKET_PROTOCOL: "opengeni.browser.v1";
|
|
5
5
|
export declare const COMPUTER_CONTROL_WEBSOCKET_PROTOCOL: "opengeni.computer.v1";
|
|
6
|
+
export declare const COMPUTER_RFB_WEBSOCKET_PROTOCOL: "opengeni.computer.rfb.v1";
|
|
6
7
|
export declare const BROWSER_CONTROL_WEBSOCKET_BEARER_PREFIX: "opengeni.auth.";
|
|
7
8
|
export declare const BROWSER_CONTROL_MAX_JSON_BYTES: number;
|
|
8
9
|
export declare const BROWSER_CONTROL_MAX_FRAME_HEADER_BYTES: number;
|
|
@@ -12,6 +13,21 @@ export declare const INTERACTION_MAX_SEMANTIC_NODES = 10000;
|
|
|
12
13
|
export declare const INTERACTION_MAX_CHANGED_NODES = 2000;
|
|
13
14
|
export declare const INTERACTION_MAX_DIAGNOSTIC_ENTRIES = 1000;
|
|
14
15
|
export declare const INTERACTION_MAX_ACTIONS_PER_BATCH = 32;
|
|
16
|
+
export declare const INTERACTION_MAX_WORKSPACE_FILES_PER_COMMAND = 100;
|
|
17
|
+
export declare const INTERACTION_MAX_CLIPBOARD_BYTES: number;
|
|
18
|
+
/**
|
|
19
|
+
* Latest-wins workspace invalidation for Browser/Computer resources. This is
|
|
20
|
+
* deliberately a cursor snapshot rather than a durable event-log entry:
|
|
21
|
+
* consumers refetch authoritative resource lists whenever `revision` advances.
|
|
22
|
+
*/
|
|
23
|
+
export declare const WorkspaceInteractionRevisionEvent: z.ZodObject<{
|
|
24
|
+
workspaceId: z.ZodString;
|
|
25
|
+
sequence: z.ZodNumber;
|
|
26
|
+
revision: z.ZodNumber;
|
|
27
|
+
type: z.ZodLiteral<"workspace.interaction.changed">;
|
|
28
|
+
occurredAt: z.ZodString;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
|
+
export type WorkspaceInteractionRevisionEvent = z.infer<typeof WorkspaceInteractionRevisionEvent>;
|
|
15
31
|
export declare const InteractionPlacement: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16
32
|
kind: z.ZodLiteral<"sandbox_group">;
|
|
17
33
|
sandboxGroupId: z.ZodString;
|
|
@@ -82,6 +98,7 @@ export declare const BrowserSessionCapabilities: z.ZodObject<{
|
|
|
82
98
|
downloads: z.ZodBoolean;
|
|
83
99
|
uploads: z.ZodBoolean;
|
|
84
100
|
clipboard: z.ZodBoolean;
|
|
101
|
+
permissions: z.ZodBoolean;
|
|
85
102
|
diagnostics: z.ZodBoolean;
|
|
86
103
|
rawCdp: z.ZodBoolean;
|
|
87
104
|
linkedComputer: z.ZodBoolean;
|
|
@@ -90,6 +107,13 @@ export declare const BrowserSessionCapabilities: z.ZodObject<{
|
|
|
90
107
|
parallelTargets: z.ZodBoolean;
|
|
91
108
|
}, z.core.$strict>;
|
|
92
109
|
export type BrowserSessionCapabilities = z.infer<typeof BrowserSessionCapabilities>;
|
|
110
|
+
/** Versioned persistent discriminator for experimental disposable contexts. */
|
|
111
|
+
export { EPHEMERAL_CHROMIUM_DRIVER_ID, browserSessionStorageMode } from "./browser-storage.js";
|
|
112
|
+
export declare const BrowserStorageMode: z.ZodEnum<{
|
|
113
|
+
ephemeral_context: "ephemeral_context";
|
|
114
|
+
private_profile: "private_profile";
|
|
115
|
+
}>;
|
|
116
|
+
export type BrowserStorageMode = z.infer<typeof BrowserStorageMode>;
|
|
93
117
|
export declare const BrowserSession: z.ZodObject<{
|
|
94
118
|
id: z.ZodString;
|
|
95
119
|
accountId: z.ZodString;
|
|
@@ -150,6 +174,7 @@ export declare const BrowserSession: z.ZodObject<{
|
|
|
150
174
|
downloads: z.ZodBoolean;
|
|
151
175
|
uploads: z.ZodBoolean;
|
|
152
176
|
clipboard: z.ZodBoolean;
|
|
177
|
+
permissions: z.ZodBoolean;
|
|
153
178
|
diagnostics: z.ZodBoolean;
|
|
154
179
|
rawCdp: z.ZodBoolean;
|
|
155
180
|
linkedComputer: z.ZodBoolean;
|
|
@@ -176,6 +201,25 @@ export declare const BrowserSession: z.ZodObject<{
|
|
|
176
201
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
177
202
|
}, z.core.$strict>;
|
|
178
203
|
export type BrowserSession = z.infer<typeof BrowserSession>;
|
|
204
|
+
/** Controller-private, BrowserSession-scoped clipboard. This is deliberately
|
|
205
|
+
* distinct from a ComputerSession/host OS clipboard so concurrent browsers do
|
|
206
|
+
* not exchange ambient machine state. */
|
|
207
|
+
export declare const BrowserClipboard: z.ZodObject<{
|
|
208
|
+
browserSessionId: z.ZodString;
|
|
209
|
+
controllerGeneration: z.ZodString;
|
|
210
|
+
revision: z.ZodNumber;
|
|
211
|
+
text: z.ZodString;
|
|
212
|
+
source: z.ZodEnum<{
|
|
213
|
+
clear: "clear";
|
|
214
|
+
copy: "copy";
|
|
215
|
+
empty: "empty";
|
|
216
|
+
paste: "paste";
|
|
217
|
+
write: "write";
|
|
218
|
+
}>;
|
|
219
|
+
sourceTargetId: z.ZodNullable<z.ZodString>;
|
|
220
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
221
|
+
}, z.core.$strict>;
|
|
222
|
+
export type BrowserClipboard = z.infer<typeof BrowserClipboard>;
|
|
179
223
|
/** One live Chrome-profile bridge installed on an enrolled machine. This is a
|
|
180
224
|
* transport endpoint, not saved browser/login state: BrowserIdentity remains
|
|
181
225
|
* the immutable, reusable state abstraction. */
|
|
@@ -302,8 +346,34 @@ export declare const AttachedBrowserDevice: z.ZodObject<{
|
|
|
302
346
|
updatedAt: z.ZodString;
|
|
303
347
|
}, z.core.$strict>;
|
|
304
348
|
export type AttachedBrowserDevice = z.infer<typeof AttachedBrowserDevice>;
|
|
349
|
+
/** One enrolled machine agent currently reporting its browser-bridge inventory.
|
|
350
|
+
* A bridge with zero devices is operational but has no Chrome profile connected
|
|
351
|
+
* through the OpenGeni extension yet. */
|
|
352
|
+
export declare const AttachedBrowserBridge: z.ZodObject<{
|
|
353
|
+
enrollmentId: z.ZodString;
|
|
354
|
+
state: z.ZodEnum<{
|
|
355
|
+
offline: "offline";
|
|
356
|
+
online: "online";
|
|
357
|
+
}>;
|
|
358
|
+
bridgeGeneration: z.ZodString;
|
|
359
|
+
inventoryRevision: z.ZodNumber;
|
|
360
|
+
connectedProfileCount: z.ZodNumber;
|
|
361
|
+
lastSeenAt: z.ZodString;
|
|
362
|
+
}, z.core.$strict>;
|
|
363
|
+
export type AttachedBrowserBridge = z.infer<typeof AttachedBrowserBridge>;
|
|
305
364
|
export declare const AttachedBrowserDeviceListResponse: z.ZodObject<{
|
|
306
365
|
revision: z.ZodNumber;
|
|
366
|
+
bridges: z.ZodArray<z.ZodObject<{
|
|
367
|
+
enrollmentId: z.ZodString;
|
|
368
|
+
state: z.ZodEnum<{
|
|
369
|
+
offline: "offline";
|
|
370
|
+
online: "online";
|
|
371
|
+
}>;
|
|
372
|
+
bridgeGeneration: z.ZodString;
|
|
373
|
+
inventoryRevision: z.ZodNumber;
|
|
374
|
+
connectedProfileCount: z.ZodNumber;
|
|
375
|
+
lastSeenAt: z.ZodString;
|
|
376
|
+
}, z.core.$strict>>;
|
|
307
377
|
devices: z.ZodArray<z.ZodObject<{
|
|
308
378
|
id: z.ZodString;
|
|
309
379
|
accountId: z.ZodString;
|
|
@@ -593,6 +663,7 @@ export declare const BrowserIdentity: z.ZodObject<{
|
|
|
593
663
|
active: "active";
|
|
594
664
|
archived: "archived";
|
|
595
665
|
}>;
|
|
666
|
+
version: z.ZodNumber;
|
|
596
667
|
defaultRevisionId: z.ZodNullable<z.ZodString>;
|
|
597
668
|
headGeneration: z.ZodNumber;
|
|
598
669
|
revisionCount: z.ZodNumber;
|
|
@@ -692,6 +763,10 @@ export declare const NetworkRouteConsistency: z.ZodObject<{
|
|
|
692
763
|
}>;
|
|
693
764
|
}, z.core.$strict>;
|
|
694
765
|
export type NetworkRouteConsistency = z.infer<typeof NetworkRouteConsistency>;
|
|
766
|
+
export declare function interactionPlacementsEqual(left: InteractionPlacement, right: InteractionPlacement): boolean;
|
|
767
|
+
/** One secret-free compatibility rule shared by configuration, persistence,
|
|
768
|
+
* and launch. `null` placement means the ordinary managed sandbox default. */
|
|
769
|
+
export declare function networkRoutePlacementCompatibilityIssue(configuration: NetworkRouteConfiguration, consistency: NetworkRouteConsistency, placement: InteractionPlacement | null): string | null;
|
|
695
770
|
export declare const NetworkRoute: z.ZodObject<{
|
|
696
771
|
id: z.ZodString;
|
|
697
772
|
accountId: z.ZodString;
|
|
@@ -1185,6 +1260,7 @@ export declare const SiteAuthAuthority: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1185
1260
|
kind: z.ZodLiteral<"external_provider">;
|
|
1186
1261
|
label: z.ZodString;
|
|
1187
1262
|
adapterId: z.ZodString;
|
|
1263
|
+
connectionId: z.ZodString;
|
|
1188
1264
|
credential: z.ZodNullable<z.ZodObject<{
|
|
1189
1265
|
connectionId: z.ZodString;
|
|
1190
1266
|
connectionSubjectId: z.ZodNullable<z.ZodString>;
|
|
@@ -1221,6 +1297,19 @@ export declare const SiteAuthVerificationState: z.ZodEnum<{
|
|
|
1221
1297
|
verified: "verified";
|
|
1222
1298
|
}>;
|
|
1223
1299
|
export type SiteAuthVerificationState = z.infer<typeof SiteAuthVerificationState>;
|
|
1300
|
+
export declare const SiteAuthMaintenance: z.ZodObject<{
|
|
1301
|
+
action: z.ZodEnum<{
|
|
1302
|
+
health_check: "health_check";
|
|
1303
|
+
repair: "repair";
|
|
1304
|
+
}>;
|
|
1305
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
1306
|
+
dueAt: z.ZodString;
|
|
1307
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
1308
|
+
}, z.core.$strict>;
|
|
1309
|
+
export type SiteAuthMaintenance = z.infer<typeof SiteAuthMaintenance>;
|
|
1310
|
+
/** Trusted service provenance for scheduler-authored maintenance sessions. */
|
|
1311
|
+
export declare const SITE_AUTH_MAINTENANCE_OPERATION_CONTEXT_KEY: "opengeniSiteAuthMaintenanceOperationId";
|
|
1312
|
+
export declare const SITE_AUTH_MAINTENANCE_CONNECTION_CONTEXT_KEY: "opengeniSiteAuthConnectionId";
|
|
1224
1313
|
export declare const SiteAuthConnection: z.ZodObject<{
|
|
1225
1314
|
name: z.ZodString;
|
|
1226
1315
|
accountLabel: z.ZodString;
|
|
@@ -1271,6 +1360,7 @@ export declare const SiteAuthConnection: z.ZodObject<{
|
|
|
1271
1360
|
kind: z.ZodLiteral<"external_provider">;
|
|
1272
1361
|
label: z.ZodString;
|
|
1273
1362
|
adapterId: z.ZodString;
|
|
1363
|
+
connectionId: z.ZodString;
|
|
1274
1364
|
credential: z.ZodNullable<z.ZodObject<{
|
|
1275
1365
|
connectionId: z.ZodString;
|
|
1276
1366
|
connectionSubjectId: z.ZodNullable<z.ZodString>;
|
|
@@ -1328,6 +1418,17 @@ export declare const SiteAuthConnection: z.ZodObject<{
|
|
|
1328
1418
|
}>;
|
|
1329
1419
|
lastVerifiedAt: z.ZodNullable<z.ZodString>;
|
|
1330
1420
|
lastVerifiedUrl: z.ZodNullable<z.ZodString>;
|
|
1421
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
1422
|
+
nextCheckAt: z.ZodNullable<z.ZodString>;
|
|
1423
|
+
maintenance: z.ZodNullable<z.ZodObject<{
|
|
1424
|
+
action: z.ZodEnum<{
|
|
1425
|
+
health_check: "health_check";
|
|
1426
|
+
repair: "repair";
|
|
1427
|
+
}>;
|
|
1428
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
1429
|
+
dueAt: z.ZodString;
|
|
1430
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
1431
|
+
}, z.core.$strict>>;
|
|
1331
1432
|
repairCode: z.ZodNullable<z.ZodString>;
|
|
1332
1433
|
version: z.ZodNumber;
|
|
1333
1434
|
createdBySubjectId: z.ZodString;
|
|
@@ -1387,6 +1488,7 @@ export declare const SiteAuthConnectionListResponse: z.ZodObject<{
|
|
|
1387
1488
|
kind: z.ZodLiteral<"external_provider">;
|
|
1388
1489
|
label: z.ZodString;
|
|
1389
1490
|
adapterId: z.ZodString;
|
|
1491
|
+
connectionId: z.ZodString;
|
|
1390
1492
|
credential: z.ZodNullable<z.ZodObject<{
|
|
1391
1493
|
connectionId: z.ZodString;
|
|
1392
1494
|
connectionSubjectId: z.ZodNullable<z.ZodString>;
|
|
@@ -1444,6 +1546,17 @@ export declare const SiteAuthConnectionListResponse: z.ZodObject<{
|
|
|
1444
1546
|
}>;
|
|
1445
1547
|
lastVerifiedAt: z.ZodNullable<z.ZodString>;
|
|
1446
1548
|
lastVerifiedUrl: z.ZodNullable<z.ZodString>;
|
|
1549
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
1550
|
+
nextCheckAt: z.ZodNullable<z.ZodString>;
|
|
1551
|
+
maintenance: z.ZodNullable<z.ZodObject<{
|
|
1552
|
+
action: z.ZodEnum<{
|
|
1553
|
+
health_check: "health_check";
|
|
1554
|
+
repair: "repair";
|
|
1555
|
+
}>;
|
|
1556
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
1557
|
+
dueAt: z.ZodString;
|
|
1558
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
1559
|
+
}, z.core.$strict>>;
|
|
1447
1560
|
repairCode: z.ZodNullable<z.ZodString>;
|
|
1448
1561
|
version: z.ZodNumber;
|
|
1449
1562
|
createdBySubjectId: z.ZodString;
|
|
@@ -1502,6 +1615,7 @@ export declare const CreateSiteAuthConnectionRequest: z.ZodObject<{
|
|
|
1502
1615
|
kind: z.ZodLiteral<"external_provider">;
|
|
1503
1616
|
label: z.ZodString;
|
|
1504
1617
|
adapterId: z.ZodString;
|
|
1618
|
+
connectionId: z.ZodString;
|
|
1505
1619
|
credential: z.ZodNullable<z.ZodObject<{
|
|
1506
1620
|
connectionId: z.ZodString;
|
|
1507
1621
|
connectionSubjectId: z.ZodNullable<z.ZodString>;
|
|
@@ -1597,6 +1711,7 @@ export declare const UpdateSiteAuthConnectionRequest: z.ZodObject<{
|
|
|
1597
1711
|
kind: z.ZodLiteral<"external_provider">;
|
|
1598
1712
|
label: z.ZodString;
|
|
1599
1713
|
adapterId: z.ZodString;
|
|
1714
|
+
connectionId: z.ZodString;
|
|
1600
1715
|
credential: z.ZodNullable<z.ZodObject<{
|
|
1601
1716
|
connectionId: z.ZodString;
|
|
1602
1717
|
connectionSubjectId: z.ZodNullable<z.ZodString>;
|
|
@@ -1698,6 +1813,7 @@ export declare const SiteAuthConnectionMutationResponse: z.ZodObject<{
|
|
|
1698
1813
|
kind: z.ZodLiteral<"external_provider">;
|
|
1699
1814
|
label: z.ZodString;
|
|
1700
1815
|
adapterId: z.ZodString;
|
|
1816
|
+
connectionId: z.ZodString;
|
|
1701
1817
|
credential: z.ZodNullable<z.ZodObject<{
|
|
1702
1818
|
connectionId: z.ZodString;
|
|
1703
1819
|
connectionSubjectId: z.ZodNullable<z.ZodString>;
|
|
@@ -1755,6 +1871,17 @@ export declare const SiteAuthConnectionMutationResponse: z.ZodObject<{
|
|
|
1755
1871
|
}>;
|
|
1756
1872
|
lastVerifiedAt: z.ZodNullable<z.ZodString>;
|
|
1757
1873
|
lastVerifiedUrl: z.ZodNullable<z.ZodString>;
|
|
1874
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
1875
|
+
nextCheckAt: z.ZodNullable<z.ZodString>;
|
|
1876
|
+
maintenance: z.ZodNullable<z.ZodObject<{
|
|
1877
|
+
action: z.ZodEnum<{
|
|
1878
|
+
health_check: "health_check";
|
|
1879
|
+
repair: "repair";
|
|
1880
|
+
}>;
|
|
1881
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
1882
|
+
dueAt: z.ZodString;
|
|
1883
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
1884
|
+
}, z.core.$strict>>;
|
|
1758
1885
|
repairCode: z.ZodNullable<z.ZodString>;
|
|
1759
1886
|
version: z.ZodNumber;
|
|
1760
1887
|
createdBySubjectId: z.ZodString;
|
|
@@ -1816,6 +1943,11 @@ export declare const AuthRun: z.ZodObject<{
|
|
|
1816
1943
|
controllerGeneration: z.ZodString;
|
|
1817
1944
|
targetGeneration: z.ZodString;
|
|
1818
1945
|
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
1946
|
+
purpose: z.ZodEnum<{
|
|
1947
|
+
authenticate: "authenticate";
|
|
1948
|
+
health_check: "health_check";
|
|
1949
|
+
repair: "repair";
|
|
1950
|
+
}>;
|
|
1819
1951
|
methodId: z.ZodNullable<z.ZodString>;
|
|
1820
1952
|
authorityId: z.ZodNullable<z.ZodString>;
|
|
1821
1953
|
state: z.ZodEnum<{
|
|
@@ -1877,6 +2009,11 @@ export declare const AuthRunListResponse: z.ZodObject<{
|
|
|
1877
2009
|
controllerGeneration: z.ZodString;
|
|
1878
2010
|
targetGeneration: z.ZodString;
|
|
1879
2011
|
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
2012
|
+
purpose: z.ZodEnum<{
|
|
2013
|
+
authenticate: "authenticate";
|
|
2014
|
+
health_check: "health_check";
|
|
2015
|
+
repair: "repair";
|
|
2016
|
+
}>;
|
|
1880
2017
|
methodId: z.ZodNullable<z.ZodString>;
|
|
1881
2018
|
authorityId: z.ZodNullable<z.ZodString>;
|
|
1882
2019
|
state: z.ZodEnum<{
|
|
@@ -1939,6 +2076,11 @@ export declare const AuthRunMutationResponse: z.ZodObject<{
|
|
|
1939
2076
|
controllerGeneration: z.ZodString;
|
|
1940
2077
|
targetGeneration: z.ZodString;
|
|
1941
2078
|
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
2079
|
+
purpose: z.ZodEnum<{
|
|
2080
|
+
authenticate: "authenticate";
|
|
2081
|
+
health_check: "health_check";
|
|
2082
|
+
repair: "repair";
|
|
2083
|
+
}>;
|
|
1942
2084
|
methodId: z.ZodNullable<z.ZodString>;
|
|
1943
2085
|
authorityId: z.ZodNullable<z.ZodString>;
|
|
1944
2086
|
state: z.ZodEnum<{
|
|
@@ -1998,12 +2140,58 @@ export declare const StartAuthRunRequest: z.ZodObject<{
|
|
|
1998
2140
|
targetId: z.ZodString;
|
|
1999
2141
|
expectedTargetGeneration: z.ZodString;
|
|
2000
2142
|
expectedDocumentGeneration: z.ZodNullable<z.ZodString>;
|
|
2143
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
2144
|
+
authenticate: "authenticate";
|
|
2145
|
+
health_check: "health_check";
|
|
2146
|
+
repair: "repair";
|
|
2147
|
+
}>>;
|
|
2001
2148
|
methodId: z.ZodOptional<z.ZodString>;
|
|
2002
2149
|
authorityId: z.ZodOptional<z.ZodString>;
|
|
2003
2150
|
}, z.core.$strict>;
|
|
2004
2151
|
export type StartAuthRunRequest = z.infer<typeof StartAuthRunRequest>;
|
|
2152
|
+
export declare const ReportAuthRunPayload: z.ZodObject<{
|
|
2153
|
+
expectedVersion: z.ZodNumber;
|
|
2154
|
+
methodId: z.ZodOptional<z.ZodString>;
|
|
2155
|
+
authorityId: z.ZodOptional<z.ZodString>;
|
|
2156
|
+
state: z.ZodEnum<{
|
|
2157
|
+
awaiting_choice: "awaiting_choice";
|
|
2158
|
+
awaiting_external_action: "awaiting_external_action";
|
|
2159
|
+
awaiting_secret: "awaiting_secret";
|
|
2160
|
+
cancelled: "cancelled";
|
|
2161
|
+
failed: "failed";
|
|
2162
|
+
working: "working";
|
|
2163
|
+
}>;
|
|
2164
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2165
|
+
id: z.ZodString;
|
|
2166
|
+
label: z.ZodString;
|
|
2167
|
+
methodId: z.ZodString;
|
|
2168
|
+
}, z.core.$strict>>>;
|
|
2169
|
+
pendingFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2170
|
+
id: z.ZodString;
|
|
2171
|
+
label: z.ZodString;
|
|
2172
|
+
purpose: z.ZodEnum<{
|
|
2173
|
+
identifier: "identifier";
|
|
2174
|
+
password: "password";
|
|
2175
|
+
secret: "secret";
|
|
2176
|
+
totp: "totp";
|
|
2177
|
+
}>;
|
|
2178
|
+
}, z.core.$strict>>>;
|
|
2179
|
+
externalAction: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2180
|
+
kind: z.ZodEnum<{
|
|
2181
|
+
device: "device";
|
|
2182
|
+
human: "human";
|
|
2183
|
+
other: "other";
|
|
2184
|
+
passkey: "passkey";
|
|
2185
|
+
push: "push";
|
|
2186
|
+
security_key: "security_key";
|
|
2187
|
+
}>;
|
|
2188
|
+
label: z.ZodString;
|
|
2189
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2190
|
+
}, z.core.$strict>>>;
|
|
2191
|
+
failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2192
|
+
}, z.core.$strict>;
|
|
2193
|
+
export type ReportAuthRunPayload = z.infer<typeof ReportAuthRunPayload>;
|
|
2005
2194
|
export declare const ReportAuthRunRequest: z.ZodObject<{
|
|
2006
|
-
operationId: z.ZodString;
|
|
2007
2195
|
expectedVersion: z.ZodNumber;
|
|
2008
2196
|
methodId: z.ZodOptional<z.ZodString>;
|
|
2009
2197
|
authorityId: z.ZodOptional<z.ZodString>;
|
|
@@ -2043,6 +2231,7 @@ export declare const ReportAuthRunRequest: z.ZodObject<{
|
|
|
2043
2231
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2044
2232
|
}, z.core.$strict>>>;
|
|
2045
2233
|
failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2234
|
+
operationId: z.ZodString;
|
|
2046
2235
|
}, z.core.$strict>;
|
|
2047
2236
|
export type ReportAuthRunRequest = z.infer<typeof ReportAuthRunRequest>;
|
|
2048
2237
|
export declare const ProtectedAuthField: z.ZodObject<{
|
|
@@ -2233,6 +2422,11 @@ export declare const ProtectedAuthFillResponse: z.ZodObject<{
|
|
|
2233
2422
|
controllerGeneration: z.ZodString;
|
|
2234
2423
|
targetGeneration: z.ZodString;
|
|
2235
2424
|
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
2425
|
+
purpose: z.ZodEnum<{
|
|
2426
|
+
authenticate: "authenticate";
|
|
2427
|
+
health_check: "health_check";
|
|
2428
|
+
repair: "repair";
|
|
2429
|
+
}>;
|
|
2236
2430
|
methodId: z.ZodNullable<z.ZodString>;
|
|
2237
2431
|
authorityId: z.ZodNullable<z.ZodString>;
|
|
2238
2432
|
state: z.ZodEnum<{
|
|
@@ -2293,6 +2487,144 @@ export declare const ProtectedAuthFillResponse: z.ZodObject<{
|
|
|
2293
2487
|
replayed: z.ZodBoolean;
|
|
2294
2488
|
}, z.core.$strict>;
|
|
2295
2489
|
export type ProtectedAuthFillResponse = z.infer<typeof ProtectedAuthFillResponse>;
|
|
2490
|
+
/** Public request for advancing a provider-managed AuthRun. Provider secrets,
|
|
2491
|
+
* profile names, browser ids, and hosted-login URLs stay behind browserd. */
|
|
2492
|
+
export declare const ExternalAuthRunRequest: z.ZodObject<{
|
|
2493
|
+
operationId: z.ZodString;
|
|
2494
|
+
expectedVersion: z.ZodNumber;
|
|
2495
|
+
action: z.ZodEnum<{
|
|
2496
|
+
poll: "poll";
|
|
2497
|
+
start: "start";
|
|
2498
|
+
}>;
|
|
2499
|
+
}, z.core.$strict>;
|
|
2500
|
+
export type ExternalAuthRunRequest = z.infer<typeof ExternalAuthRunRequest>;
|
|
2501
|
+
export declare const ExternalAuthRunResponse: z.ZodObject<{
|
|
2502
|
+
run: z.ZodObject<{
|
|
2503
|
+
id: z.ZodString;
|
|
2504
|
+
accountId: z.ZodString;
|
|
2505
|
+
workspaceId: z.ZodString;
|
|
2506
|
+
siteAuthConnectionId: z.ZodString;
|
|
2507
|
+
browserSessionId: z.ZodString;
|
|
2508
|
+
targetId: z.ZodString;
|
|
2509
|
+
controllerGeneration: z.ZodString;
|
|
2510
|
+
targetGeneration: z.ZodString;
|
|
2511
|
+
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
2512
|
+
purpose: z.ZodEnum<{
|
|
2513
|
+
authenticate: "authenticate";
|
|
2514
|
+
health_check: "health_check";
|
|
2515
|
+
repair: "repair";
|
|
2516
|
+
}>;
|
|
2517
|
+
methodId: z.ZodNullable<z.ZodString>;
|
|
2518
|
+
authorityId: z.ZodNullable<z.ZodString>;
|
|
2519
|
+
state: z.ZodEnum<{
|
|
2520
|
+
awaiting_choice: "awaiting_choice";
|
|
2521
|
+
awaiting_external_action: "awaiting_external_action";
|
|
2522
|
+
awaiting_secret: "awaiting_secret";
|
|
2523
|
+
cancelled: "cancelled";
|
|
2524
|
+
discovering: "discovering";
|
|
2525
|
+
failed: "failed";
|
|
2526
|
+
verified: "verified";
|
|
2527
|
+
working: "working";
|
|
2528
|
+
}>;
|
|
2529
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
2530
|
+
id: z.ZodString;
|
|
2531
|
+
label: z.ZodString;
|
|
2532
|
+
methodId: z.ZodString;
|
|
2533
|
+
}, z.core.$strict>>;
|
|
2534
|
+
pendingFields: z.ZodArray<z.ZodObject<{
|
|
2535
|
+
id: z.ZodString;
|
|
2536
|
+
label: z.ZodString;
|
|
2537
|
+
purpose: z.ZodEnum<{
|
|
2538
|
+
identifier: "identifier";
|
|
2539
|
+
password: "password";
|
|
2540
|
+
secret: "secret";
|
|
2541
|
+
totp: "totp";
|
|
2542
|
+
}>;
|
|
2543
|
+
}, z.core.$strict>>;
|
|
2544
|
+
externalAction: z.ZodNullable<z.ZodObject<{
|
|
2545
|
+
kind: z.ZodEnum<{
|
|
2546
|
+
device: "device";
|
|
2547
|
+
human: "human";
|
|
2548
|
+
other: "other";
|
|
2549
|
+
passkey: "passkey";
|
|
2550
|
+
push: "push";
|
|
2551
|
+
security_key: "security_key";
|
|
2552
|
+
}>;
|
|
2553
|
+
label: z.ZodString;
|
|
2554
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2555
|
+
}, z.core.$strict>>;
|
|
2556
|
+
interventionId: z.ZodNullable<z.ZodString>;
|
|
2557
|
+
verifiedUrl: z.ZodNullable<z.ZodString>;
|
|
2558
|
+
failureCode: z.ZodNullable<z.ZodString>;
|
|
2559
|
+
version: z.ZodNumber;
|
|
2560
|
+
operationId: z.ZodString;
|
|
2561
|
+
createdBySubjectId: z.ZodString;
|
|
2562
|
+
createdAt: z.ZodString;
|
|
2563
|
+
updatedAt: z.ZodString;
|
|
2564
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
2565
|
+
}, z.core.$strict>;
|
|
2566
|
+
status: z.ZodEnum<{
|
|
2567
|
+
failed: "failed";
|
|
2568
|
+
needs_human: "needs_human";
|
|
2569
|
+
ready_to_verify: "ready_to_verify";
|
|
2570
|
+
working: "working";
|
|
2571
|
+
}>;
|
|
2572
|
+
operationId: z.ZodString;
|
|
2573
|
+
replayed: z.ZodBoolean;
|
|
2574
|
+
}, z.core.$strict>;
|
|
2575
|
+
export type ExternalAuthRunResponse = z.infer<typeof ExternalAuthRunResponse>;
|
|
2576
|
+
/** Human-only request for opening the provider's ephemeral hosted login UI. */
|
|
2577
|
+
export declare const ExternalAuthInteractiveRequest: z.ZodObject<{
|
|
2578
|
+
operationId: z.ZodString;
|
|
2579
|
+
expectedVersion: z.ZodNumber;
|
|
2580
|
+
}, z.core.$strict>;
|
|
2581
|
+
export type ExternalAuthInteractiveRequest = z.infer<typeof ExternalAuthInteractiveRequest>;
|
|
2582
|
+
export declare const ExternalAuthInteractiveResponse: z.ZodObject<{
|
|
2583
|
+
authRunId: z.ZodString;
|
|
2584
|
+
url: z.ZodString;
|
|
2585
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2586
|
+
}, z.core.$strict>;
|
|
2587
|
+
export type ExternalAuthInteractiveResponse = z.infer<typeof ExternalAuthInteractiveResponse>;
|
|
2588
|
+
/** Controller-private Kernel/host-adapter command. This crosses only the
|
|
2589
|
+
* authenticated API -> browserd control channel; it is not a model tool. */
|
|
2590
|
+
export declare const BrowserExternalAuthCommand: z.ZodObject<{
|
|
2591
|
+
browserSessionId: z.ZodString;
|
|
2592
|
+
controllerGeneration: z.ZodString;
|
|
2593
|
+
operationId: z.ZodString;
|
|
2594
|
+
authRunId: z.ZodString;
|
|
2595
|
+
adapterId: z.ZodString;
|
|
2596
|
+
connectionId: z.ZodString;
|
|
2597
|
+
action: z.ZodEnum<{
|
|
2598
|
+
interactive: "interactive";
|
|
2599
|
+
poll: "poll";
|
|
2600
|
+
start: "start";
|
|
2601
|
+
}>;
|
|
2602
|
+
}, z.core.$strict>;
|
|
2603
|
+
export type BrowserExternalAuthCommand = z.infer<typeof BrowserExternalAuthCommand>;
|
|
2604
|
+
export declare const BrowserExternalAuthResult: z.ZodObject<{
|
|
2605
|
+
state: z.ZodEnum<{
|
|
2606
|
+
authenticated: "authenticated";
|
|
2607
|
+
failed: "failed";
|
|
2608
|
+
in_progress: "in_progress";
|
|
2609
|
+
needs_human: "needs_human";
|
|
2610
|
+
}>;
|
|
2611
|
+
externalAction: z.ZodNullable<z.ZodObject<{
|
|
2612
|
+
kind: z.ZodEnum<{
|
|
2613
|
+
device: "device";
|
|
2614
|
+
human: "human";
|
|
2615
|
+
other: "other";
|
|
2616
|
+
passkey: "passkey";
|
|
2617
|
+
push: "push";
|
|
2618
|
+
security_key: "security_key";
|
|
2619
|
+
}>;
|
|
2620
|
+
label: z.ZodString;
|
|
2621
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2622
|
+
}, z.core.$strict>>;
|
|
2623
|
+
interactiveUrl: z.ZodNullable<z.ZodString>;
|
|
2624
|
+
failureCode: z.ZodNullable<z.ZodString>;
|
|
2625
|
+
profileLoaded: z.ZodBoolean;
|
|
2626
|
+
}, z.core.$strict>;
|
|
2627
|
+
export type BrowserExternalAuthResult = z.infer<typeof BrowserExternalAuthResult>;
|
|
2296
2628
|
export declare const VerifyAuthRunRequest: z.ZodObject<{
|
|
2297
2629
|
operationId: z.ZodString;
|
|
2298
2630
|
expectedVersion: z.ZodNumber;
|
|
@@ -2470,23 +2802,280 @@ export declare const InteractionInterventionMutationResponse: z.ZodObject<{
|
|
|
2470
2802
|
replayed: z.ZodBoolean;
|
|
2471
2803
|
}, z.core.$strict>;
|
|
2472
2804
|
export type InteractionInterventionMutationResponse = z.infer<typeof InteractionInterventionMutationResponse>;
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2805
|
+
/** Canonical model/Codemode input for one typed browser/computer human wait. */
|
|
2806
|
+
export declare const INTERACTION_REQUEST_HUMAN_MODEL_TOOL_NAME = "interaction__interaction_request_human";
|
|
2807
|
+
export declare const RequestHumanInteractionToolInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2808
|
+
operation: z.ZodLiteral<"wait">;
|
|
2809
|
+
interventionId: z.ZodString;
|
|
2810
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2811
|
+
operation: z.ZodLiteral<"request">;
|
|
2812
|
+
resourceKind: z.ZodEnum<{
|
|
2813
|
+
browser_session: "browser_session";
|
|
2814
|
+
computer_session: "computer_session";
|
|
2815
|
+
}>;
|
|
2816
|
+
resourceId: z.ZodString;
|
|
2817
|
+
targetId: z.ZodString;
|
|
2818
|
+
expectedControllerGeneration: z.ZodString;
|
|
2819
|
+
expectedTargetGeneration: z.ZodString;
|
|
2820
|
+
expectedDocumentGeneration: z.ZodNullable<z.ZodString>;
|
|
2821
|
+
kind: z.ZodEnum<{
|
|
2822
|
+
confirmation: "confirmation";
|
|
2823
|
+
external_action: "external_action";
|
|
2824
|
+
manual_login: "manual_login";
|
|
2825
|
+
mfa: "mfa";
|
|
2826
|
+
other: "other";
|
|
2827
|
+
}>;
|
|
2828
|
+
reason: z.ZodString;
|
|
2829
|
+
authRunId: z.ZodOptional<z.ZodString>;
|
|
2830
|
+
expiresInSeconds: z.ZodDefault<z.ZodNumber>;
|
|
2831
|
+
}, z.core.$strict>], "operation">;
|
|
2832
|
+
export type RequestHumanInteractionToolInput = z.infer<typeof RequestHumanInteractionToolInput>;
|
|
2833
|
+
export declare const RequestHumanInteractionToolOutput: z.ZodObject<{
|
|
2834
|
+
intervention: z.ZodObject<{
|
|
2476
2835
|
id: z.ZodString;
|
|
2477
2836
|
accountId: z.ZodString;
|
|
2478
2837
|
workspaceId: z.ZodString;
|
|
2479
|
-
|
|
2838
|
+
resourceKind: z.ZodEnum<{
|
|
2839
|
+
browser_session: "browser_session";
|
|
2840
|
+
computer_session: "computer_session";
|
|
2841
|
+
}>;
|
|
2842
|
+
resourceId: z.ZodString;
|
|
2843
|
+
targetId: z.ZodString;
|
|
2844
|
+
controllerGeneration: z.ZodString;
|
|
2845
|
+
targetGeneration: z.ZodString;
|
|
2846
|
+
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
2847
|
+
kind: z.ZodEnum<{
|
|
2848
|
+
confirmation: "confirmation";
|
|
2849
|
+
external_action: "external_action";
|
|
2850
|
+
manual_login: "manual_login";
|
|
2851
|
+
mfa: "mfa";
|
|
2852
|
+
other: "other";
|
|
2853
|
+
}>;
|
|
2854
|
+
reason: z.ZodString;
|
|
2480
2855
|
status: z.ZodEnum<{
|
|
2481
|
-
|
|
2482
|
-
|
|
2856
|
+
cancelled: "cancelled";
|
|
2857
|
+
completed: "completed";
|
|
2858
|
+
dismissed: "dismissed";
|
|
2859
|
+
expired: "expired";
|
|
2860
|
+
open: "open";
|
|
2483
2861
|
}>;
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2862
|
+
authRunId: z.ZodNullable<z.ZodString>;
|
|
2863
|
+
originatingSessionId: z.ZodString;
|
|
2864
|
+
originatingTurnId: z.ZodNullable<z.ZodString>;
|
|
2865
|
+
originatingAttemptId: z.ZodNullable<z.ZodString>;
|
|
2866
|
+
originatingToolOperationId: z.ZodNullable<z.ZodString>;
|
|
2867
|
+
responseActorSubjectId: z.ZodNullable<z.ZodString>;
|
|
2868
|
+
version: z.ZodNumber;
|
|
2869
|
+
operationId: z.ZodString;
|
|
2870
|
+
expiresAt: z.ZodString;
|
|
2871
|
+
createdAt: z.ZodString;
|
|
2872
|
+
updatedAt: z.ZodString;
|
|
2873
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
2874
|
+
}, z.core.$strict>;
|
|
2875
|
+
observation: z.ZodNullable<z.ZodLazy<z.ZodUnion<readonly [z.ZodObject<{
|
|
2876
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
2877
|
+
observationId: z.ZodString;
|
|
2878
|
+
browserSessionId: z.ZodString;
|
|
2879
|
+
target: z.ZodObject<{
|
|
2880
|
+
id: z.ZodString;
|
|
2881
|
+
browserSessionId: z.ZodString;
|
|
2882
|
+
controllerGeneration: z.ZodString;
|
|
2883
|
+
targetGeneration: z.ZodString;
|
|
2884
|
+
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
2885
|
+
kind: z.ZodEnum<{
|
|
2886
|
+
background_page: "background_page";
|
|
2887
|
+
page: "page";
|
|
2888
|
+
popup: "popup";
|
|
2889
|
+
worker: "worker";
|
|
2890
|
+
}>;
|
|
2891
|
+
title: z.ZodString;
|
|
2892
|
+
url: z.ZodString;
|
|
2893
|
+
selected: z.ZodBoolean;
|
|
2894
|
+
attached: z.ZodBoolean;
|
|
2895
|
+
createdAt: z.ZodString;
|
|
2896
|
+
}, z.core.$strict>;
|
|
2897
|
+
frameId: z.ZodNullable<z.ZodString>;
|
|
2898
|
+
semantic: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
2899
|
+
kind: z.ZodLiteral<"snapshot">;
|
|
2900
|
+
roots: z.ZodArray<z.ZodType<InteractionSemanticNodeValue, unknown, z.core.$ZodTypeInternals<InteractionSemanticNodeValue, unknown>>>;
|
|
2901
|
+
nodeCount: z.ZodNumber;
|
|
2902
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2903
|
+
kind: z.ZodLiteral<"diff">;
|
|
2904
|
+
baseObservationId: z.ZodString;
|
|
2905
|
+
removedRefs: z.ZodArray<z.ZodString>;
|
|
2906
|
+
changed: z.ZodArray<z.ZodType<InteractionSemanticNodeValue, unknown, z.core.$ZodTypeInternals<InteractionSemanticNodeValue, unknown>>>;
|
|
2907
|
+
}, z.core.$strict>]>>;
|
|
2908
|
+
screenshot: z.ZodNullable<z.ZodObject<{
|
|
2909
|
+
available: z.ZodLiteral<true>;
|
|
2910
|
+
artifactId: z.ZodString;
|
|
2911
|
+
kind: z.ZodEnum<{
|
|
2912
|
+
assistant_completion: "assistant_completion";
|
|
2913
|
+
browser_screenshot: "browser_screenshot";
|
|
2914
|
+
computer_screenshot: "computer_screenshot";
|
|
2915
|
+
event_media: "event_media";
|
|
2916
|
+
file: "file";
|
|
2917
|
+
generated_image: "generated_image";
|
|
2918
|
+
generated_video: "generated_video";
|
|
2919
|
+
internal_update: "internal_update";
|
|
2920
|
+
tool_result: "tool_result";
|
|
2921
|
+
}>;
|
|
2922
|
+
contentType: z.ZodString;
|
|
2923
|
+
originalBytes: z.ZodNumber;
|
|
2924
|
+
sha256: z.ZodString;
|
|
2925
|
+
retainedAt: z.ZodString;
|
|
2926
|
+
dimensions: z.ZodOptional<z.ZodObject<{
|
|
2927
|
+
width: z.ZodNumber;
|
|
2928
|
+
height: z.ZodNumber;
|
|
2929
|
+
}, z.core.$strict>>;
|
|
2930
|
+
retention: z.ZodUnion<readonly [z.ZodObject<{
|
|
2931
|
+
policy: z.ZodLiteral<"workspace_file">;
|
|
2932
|
+
expiresAt: z.ZodNull;
|
|
2933
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2934
|
+
policy: z.ZodLiteral<"session_screenshot">;
|
|
2935
|
+
expiresAt: z.ZodString;
|
|
2936
|
+
}, z.core.$strict>]>;
|
|
2937
|
+
retrieval: z.ZodObject<{
|
|
2938
|
+
method: z.ZodLiteral<"GET">;
|
|
2939
|
+
path: z.ZodString;
|
|
2940
|
+
acceptRanges: z.ZodLiteral<"bytes">;
|
|
2941
|
+
maxRangeBytes: z.ZodNumber;
|
|
2942
|
+
}, z.core.$strict>;
|
|
2943
|
+
}, z.core.$strict>>;
|
|
2944
|
+
viewport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2945
|
+
width: z.ZodNumber;
|
|
2946
|
+
height: z.ZodNumber;
|
|
2947
|
+
visualWidth: z.ZodNumber;
|
|
2948
|
+
visualHeight: z.ZodNumber;
|
|
2949
|
+
deviceScaleFactor: z.ZodNumber;
|
|
2950
|
+
maxTouchPoints: z.ZodNumber;
|
|
2951
|
+
}, z.core.$strict>>>;
|
|
2952
|
+
focusedRef: z.ZodNullable<z.ZodString>;
|
|
2953
|
+
changedRegions: z.ZodArray<z.ZodObject<{
|
|
2954
|
+
x: z.ZodNumber;
|
|
2955
|
+
y: z.ZodNumber;
|
|
2956
|
+
width: z.ZodNumber;
|
|
2957
|
+
height: z.ZodNumber;
|
|
2958
|
+
}, z.core.$strict>>;
|
|
2959
|
+
diagnostics: z.ZodObject<{
|
|
2960
|
+
consoleErrorCount: z.ZodNumber;
|
|
2961
|
+
failedRequestCount: z.ZodNumber;
|
|
2962
|
+
downloadCount: z.ZodNumber;
|
|
2963
|
+
pageErrorCount: z.ZodNumber;
|
|
2964
|
+
}, z.core.$strict>;
|
|
2965
|
+
dialog: z.ZodNullable<z.ZodObject<{
|
|
2966
|
+
type: z.ZodEnum<{
|
|
2967
|
+
alert: "alert";
|
|
2968
|
+
beforeunload: "beforeunload";
|
|
2969
|
+
confirm: "confirm";
|
|
2970
|
+
prompt: "prompt";
|
|
2971
|
+
}>;
|
|
2972
|
+
message: z.ZodString;
|
|
2973
|
+
defaultPrompt: z.ZodString;
|
|
2974
|
+
openedAt: z.ZodString;
|
|
2975
|
+
}, z.core.$strict>>;
|
|
2976
|
+
observedAt: z.ZodString;
|
|
2977
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2978
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
2979
|
+
observationId: z.ZodString;
|
|
2980
|
+
computerSessionId: z.ZodString;
|
|
2981
|
+
target: z.ZodObject<{
|
|
2982
|
+
id: z.ZodString;
|
|
2983
|
+
computerSessionId: z.ZodString;
|
|
2984
|
+
controllerGeneration: z.ZodString;
|
|
2985
|
+
targetGeneration: z.ZodString;
|
|
2986
|
+
kind: z.ZodEnum<{
|
|
2987
|
+
app: "app";
|
|
2988
|
+
screen: "screen";
|
|
2989
|
+
window: "window";
|
|
2990
|
+
}>;
|
|
2991
|
+
applicationId: z.ZodNullable<z.ZodString>;
|
|
2992
|
+
processId: z.ZodNullable<z.ZodNumber>;
|
|
2993
|
+
title: z.ZodString;
|
|
2994
|
+
bounds: z.ZodNullable<z.ZodObject<{
|
|
2995
|
+
x: z.ZodNumber;
|
|
2996
|
+
y: z.ZodNumber;
|
|
2997
|
+
width: z.ZodNumber;
|
|
2998
|
+
height: z.ZodNumber;
|
|
2999
|
+
}, z.core.$strict>>;
|
|
3000
|
+
focused: z.ZodBoolean;
|
|
3001
|
+
}, z.core.$strict>;
|
|
3002
|
+
frameId: z.ZodNullable<z.ZodString>;
|
|
3003
|
+
semantic: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
3004
|
+
kind: z.ZodLiteral<"snapshot">;
|
|
3005
|
+
roots: z.ZodArray<z.ZodType<InteractionSemanticNodeValue, unknown, z.core.$ZodTypeInternals<InteractionSemanticNodeValue, unknown>>>;
|
|
3006
|
+
nodeCount: z.ZodNumber;
|
|
3007
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3008
|
+
kind: z.ZodLiteral<"diff">;
|
|
3009
|
+
baseObservationId: z.ZodString;
|
|
3010
|
+
removedRefs: z.ZodArray<z.ZodString>;
|
|
3011
|
+
changed: z.ZodArray<z.ZodType<InteractionSemanticNodeValue, unknown, z.core.$ZodTypeInternals<InteractionSemanticNodeValue, unknown>>>;
|
|
3012
|
+
}, z.core.$strict>]>>;
|
|
3013
|
+
screenshot: z.ZodNullable<z.ZodObject<{
|
|
3014
|
+
available: z.ZodLiteral<true>;
|
|
3015
|
+
artifactId: z.ZodString;
|
|
3016
|
+
kind: z.ZodEnum<{
|
|
3017
|
+
assistant_completion: "assistant_completion";
|
|
3018
|
+
browser_screenshot: "browser_screenshot";
|
|
3019
|
+
computer_screenshot: "computer_screenshot";
|
|
3020
|
+
event_media: "event_media";
|
|
3021
|
+
file: "file";
|
|
3022
|
+
generated_image: "generated_image";
|
|
3023
|
+
generated_video: "generated_video";
|
|
3024
|
+
internal_update: "internal_update";
|
|
3025
|
+
tool_result: "tool_result";
|
|
3026
|
+
}>;
|
|
3027
|
+
contentType: z.ZodString;
|
|
3028
|
+
originalBytes: z.ZodNumber;
|
|
3029
|
+
sha256: z.ZodString;
|
|
3030
|
+
retainedAt: z.ZodString;
|
|
3031
|
+
dimensions: z.ZodOptional<z.ZodObject<{
|
|
3032
|
+
width: z.ZodNumber;
|
|
3033
|
+
height: z.ZodNumber;
|
|
3034
|
+
}, z.core.$strict>>;
|
|
3035
|
+
retention: z.ZodUnion<readonly [z.ZodObject<{
|
|
3036
|
+
policy: z.ZodLiteral<"workspace_file">;
|
|
3037
|
+
expiresAt: z.ZodNull;
|
|
3038
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3039
|
+
policy: z.ZodLiteral<"session_screenshot">;
|
|
3040
|
+
expiresAt: z.ZodString;
|
|
3041
|
+
}, z.core.$strict>]>;
|
|
3042
|
+
retrieval: z.ZodObject<{
|
|
3043
|
+
method: z.ZodLiteral<"GET">;
|
|
3044
|
+
path: z.ZodString;
|
|
3045
|
+
acceptRanges: z.ZodLiteral<"bytes">;
|
|
3046
|
+
maxRangeBytes: z.ZodNumber;
|
|
3047
|
+
}, z.core.$strict>;
|
|
3048
|
+
}, z.core.$strict>>;
|
|
3049
|
+
focusedRef: z.ZodNullable<z.ZodString>;
|
|
3050
|
+
changedRegions: z.ZodArray<z.ZodObject<{
|
|
3051
|
+
x: z.ZodNumber;
|
|
3052
|
+
y: z.ZodNumber;
|
|
3053
|
+
width: z.ZodNumber;
|
|
3054
|
+
height: z.ZodNumber;
|
|
3055
|
+
}, z.core.$strict>>;
|
|
3056
|
+
observedAt: z.ZodString;
|
|
3057
|
+
}, z.core.$strict>]>>>;
|
|
3058
|
+
observationErrorCode: z.ZodNullable<z.ZodString>;
|
|
3059
|
+
}, z.core.$strict>;
|
|
3060
|
+
export type RequestHumanInteractionToolOutput = z.infer<typeof RequestHumanInteractionToolOutput>;
|
|
3061
|
+
export declare const BrowserIdentityListResponse: z.ZodObject<{
|
|
3062
|
+
revision: z.ZodNumber;
|
|
3063
|
+
identities: z.ZodArray<z.ZodObject<{
|
|
3064
|
+
id: z.ZodString;
|
|
3065
|
+
accountId: z.ZodString;
|
|
3066
|
+
workspaceId: z.ZodString;
|
|
3067
|
+
name: z.ZodString;
|
|
3068
|
+
status: z.ZodEnum<{
|
|
3069
|
+
active: "active";
|
|
3070
|
+
archived: "archived";
|
|
3071
|
+
}>;
|
|
3072
|
+
version: z.ZodNumber;
|
|
3073
|
+
defaultRevisionId: z.ZodNullable<z.ZodString>;
|
|
3074
|
+
headGeneration: z.ZodNumber;
|
|
3075
|
+
revisionCount: z.ZodNumber;
|
|
3076
|
+
createdBySubjectId: z.ZodString;
|
|
3077
|
+
createdAt: z.ZodString;
|
|
3078
|
+
updatedAt: z.ZodString;
|
|
2490
3079
|
}, z.core.$strict>>;
|
|
2491
3080
|
}, z.core.$strict>;
|
|
2492
3081
|
export type BrowserIdentityListResponse = z.infer<typeof BrowserIdentityListResponse>;
|
|
@@ -2500,6 +3089,7 @@ export declare const BrowserRevisionListResponse: z.ZodObject<{
|
|
|
2500
3089
|
active: "active";
|
|
2501
3090
|
archived: "archived";
|
|
2502
3091
|
}>;
|
|
3092
|
+
version: z.ZodNumber;
|
|
2503
3093
|
defaultRevisionId: z.ZodNullable<z.ZodString>;
|
|
2504
3094
|
headGeneration: z.ZodNumber;
|
|
2505
3095
|
revisionCount: z.ZodNumber;
|
|
@@ -2585,6 +3175,17 @@ export declare const CreateBrowserIdentityRequest: z.ZodObject<{
|
|
|
2585
3175
|
name: z.ZodString;
|
|
2586
3176
|
}, z.core.$strict>;
|
|
2587
3177
|
export type CreateBrowserIdentityRequest = z.infer<typeof CreateBrowserIdentityRequest>;
|
|
3178
|
+
export declare const UpdateBrowserIdentityRequest: z.ZodObject<{
|
|
3179
|
+
operationId: z.ZodString;
|
|
3180
|
+
expectedVersion: z.ZodNumber;
|
|
3181
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3182
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3183
|
+
active: "active";
|
|
3184
|
+
archived: "archived";
|
|
3185
|
+
}>>;
|
|
3186
|
+
defaultRevisionId: z.ZodOptional<z.ZodString>;
|
|
3187
|
+
}, z.core.$strict>;
|
|
3188
|
+
export type UpdateBrowserIdentityRequest = z.infer<typeof UpdateBrowserIdentityRequest>;
|
|
2588
3189
|
export declare const BrowserIdentityMutationResponse: z.ZodObject<{
|
|
2589
3190
|
identity: z.ZodObject<{
|
|
2590
3191
|
id: z.ZodString;
|
|
@@ -2595,6 +3196,7 @@ export declare const BrowserIdentityMutationResponse: z.ZodObject<{
|
|
|
2595
3196
|
active: "active";
|
|
2596
3197
|
archived: "archived";
|
|
2597
3198
|
}>;
|
|
3199
|
+
version: z.ZodNumber;
|
|
2598
3200
|
defaultRevisionId: z.ZodNullable<z.ZodString>;
|
|
2599
3201
|
headGeneration: z.ZodNumber;
|
|
2600
3202
|
revisionCount: z.ZodNumber;
|
|
@@ -2625,6 +3227,7 @@ export declare const PublishBrowserRevisionResponse: z.ZodObject<{
|
|
|
2625
3227
|
active: "active";
|
|
2626
3228
|
archived: "archived";
|
|
2627
3229
|
}>;
|
|
3230
|
+
version: z.ZodNumber;
|
|
2628
3231
|
defaultRevisionId: z.ZodNullable<z.ZodString>;
|
|
2629
3232
|
headGeneration: z.ZodNumber;
|
|
2630
3233
|
revisionCount: z.ZodNumber;
|
|
@@ -2729,6 +3332,120 @@ export declare const BrowserTarget: z.ZodObject<{
|
|
|
2729
3332
|
createdAt: z.ZodString;
|
|
2730
3333
|
}, z.core.$strict>;
|
|
2731
3334
|
export type BrowserTarget = z.infer<typeof BrowserTarget>;
|
|
3335
|
+
export declare const BrowserDownloadStatus: z.ZodEnum<{
|
|
3336
|
+
cancelled: "cancelled";
|
|
3337
|
+
completed: "completed";
|
|
3338
|
+
failed: "failed";
|
|
3339
|
+
in_progress: "in_progress";
|
|
3340
|
+
unavailable: "unavailable";
|
|
3341
|
+
}>;
|
|
3342
|
+
export type BrowserDownloadStatus = z.infer<typeof BrowserDownloadStatus>;
|
|
3343
|
+
/** One browser-produced file. Its bytes remain private to the exact controller
|
|
3344
|
+
* until an explicit save publishes and materializes them. No placement path or
|
|
3345
|
+
* source URL crosses this contract. */
|
|
3346
|
+
export declare const BrowserDownload: z.ZodObject<{
|
|
3347
|
+
id: z.ZodString;
|
|
3348
|
+
browserSessionId: z.ZodString;
|
|
3349
|
+
controllerGeneration: z.ZodString;
|
|
3350
|
+
targetId: z.ZodNullable<z.ZodString>;
|
|
3351
|
+
filename: z.ZodString;
|
|
3352
|
+
status: z.ZodEnum<{
|
|
3353
|
+
cancelled: "cancelled";
|
|
3354
|
+
completed: "completed";
|
|
3355
|
+
failed: "failed";
|
|
3356
|
+
in_progress: "in_progress";
|
|
3357
|
+
unavailable: "unavailable";
|
|
3358
|
+
}>;
|
|
3359
|
+
receivedBytes: z.ZodNumber;
|
|
3360
|
+
totalBytes: z.ZodNullable<z.ZodNumber>;
|
|
3361
|
+
sha256: z.ZodNullable<z.ZodString>;
|
|
3362
|
+
version: z.ZodNumber;
|
|
3363
|
+
startedAt: z.ZodString;
|
|
3364
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
3365
|
+
failureCode: z.ZodNullable<z.ZodString>;
|
|
3366
|
+
}, z.core.$strict>;
|
|
3367
|
+
export type BrowserDownload = z.infer<typeof BrowserDownload>;
|
|
3368
|
+
export declare const BrowserDownloadListResponse: z.ZodObject<{
|
|
3369
|
+
browserSessionId: z.ZodString;
|
|
3370
|
+
controllerGeneration: z.ZodString;
|
|
3371
|
+
downloads: z.ZodArray<z.ZodObject<{
|
|
3372
|
+
id: z.ZodString;
|
|
3373
|
+
browserSessionId: z.ZodString;
|
|
3374
|
+
controllerGeneration: z.ZodString;
|
|
3375
|
+
targetId: z.ZodNullable<z.ZodString>;
|
|
3376
|
+
filename: z.ZodString;
|
|
3377
|
+
status: z.ZodEnum<{
|
|
3378
|
+
cancelled: "cancelled";
|
|
3379
|
+
completed: "completed";
|
|
3380
|
+
failed: "failed";
|
|
3381
|
+
in_progress: "in_progress";
|
|
3382
|
+
unavailable: "unavailable";
|
|
3383
|
+
}>;
|
|
3384
|
+
receivedBytes: z.ZodNumber;
|
|
3385
|
+
totalBytes: z.ZodNullable<z.ZodNumber>;
|
|
3386
|
+
sha256: z.ZodNullable<z.ZodString>;
|
|
3387
|
+
version: z.ZodNumber;
|
|
3388
|
+
startedAt: z.ZodString;
|
|
3389
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
3390
|
+
failureCode: z.ZodNullable<z.ZodString>;
|
|
3391
|
+
}, z.core.$strict>>;
|
|
3392
|
+
}, z.core.$strict>;
|
|
3393
|
+
export type BrowserDownloadListResponse = z.infer<typeof BrowserDownloadListResponse>;
|
|
3394
|
+
export declare const BrowserDownloadSaveRequest: z.ZodObject<{
|
|
3395
|
+
operationId: z.ZodString;
|
|
3396
|
+
destinationPath: z.ZodString;
|
|
3397
|
+
overwrite: z.ZodDefault<z.ZodBoolean>;
|
|
3398
|
+
}, z.core.$strict>;
|
|
3399
|
+
export type BrowserDownloadSaveRequest = z.infer<typeof BrowserDownloadSaveRequest>;
|
|
3400
|
+
export declare const BrowserDownloadSaveResponse: z.ZodObject<{
|
|
3401
|
+
download: z.ZodObject<{
|
|
3402
|
+
id: z.ZodString;
|
|
3403
|
+
browserSessionId: z.ZodString;
|
|
3404
|
+
controllerGeneration: z.ZodString;
|
|
3405
|
+
targetId: z.ZodNullable<z.ZodString>;
|
|
3406
|
+
filename: z.ZodString;
|
|
3407
|
+
status: z.ZodEnum<{
|
|
3408
|
+
cancelled: "cancelled";
|
|
3409
|
+
completed: "completed";
|
|
3410
|
+
failed: "failed";
|
|
3411
|
+
in_progress: "in_progress";
|
|
3412
|
+
unavailable: "unavailable";
|
|
3413
|
+
}>;
|
|
3414
|
+
receivedBytes: z.ZodNumber;
|
|
3415
|
+
totalBytes: z.ZodNullable<z.ZodNumber>;
|
|
3416
|
+
sha256: z.ZodNullable<z.ZodString>;
|
|
3417
|
+
version: z.ZodNumber;
|
|
3418
|
+
startedAt: z.ZodString;
|
|
3419
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
3420
|
+
failureCode: z.ZodNullable<z.ZodString>;
|
|
3421
|
+
}, z.core.$strict>;
|
|
3422
|
+
destinationPath: z.ZodString;
|
|
3423
|
+
fileId: z.ZodString;
|
|
3424
|
+
operationId: z.ZodString;
|
|
3425
|
+
replayed: z.ZodBoolean;
|
|
3426
|
+
}, z.core.$strict>;
|
|
3427
|
+
export type BrowserDownloadSaveResponse = z.infer<typeof BrowserDownloadSaveResponse>;
|
|
3428
|
+
/** Controller-private, narrow object authority for publishing one exact
|
|
3429
|
+
* completed download. Signed URLs and headers never appear in public SDK or
|
|
3430
|
+
* durable controller receipts. */
|
|
3431
|
+
export declare const BrowserDownloadExportRequest: z.ZodObject<{
|
|
3432
|
+
operationId: z.ZodString;
|
|
3433
|
+
downloadId: z.ZodString;
|
|
3434
|
+
upload: z.ZodObject<{
|
|
3435
|
+
url: z.ZodString;
|
|
3436
|
+
requiredHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3437
|
+
expiresAt: z.ZodString;
|
|
3438
|
+
}, z.core.$strict>;
|
|
3439
|
+
}, z.core.$strict>;
|
|
3440
|
+
export type BrowserDownloadExportRequest = z.infer<typeof BrowserDownloadExportRequest>;
|
|
3441
|
+
export declare const BrowserDownloadExportReceipt: z.ZodObject<{
|
|
3442
|
+
operationId: z.ZodString;
|
|
3443
|
+
downloadId: z.ZodString;
|
|
3444
|
+
sizeBytes: z.ZodNumber;
|
|
3445
|
+
sha256: z.ZodString;
|
|
3446
|
+
replayed: z.ZodBoolean;
|
|
3447
|
+
}, z.core.$strict>;
|
|
3448
|
+
export type BrowserDownloadExportReceipt = z.infer<typeof BrowserDownloadExportReceipt>;
|
|
2732
3449
|
export declare const InteractionRect: z.ZodObject<{
|
|
2733
3450
|
x: z.ZodNumber;
|
|
2734
3451
|
y: z.ZodNumber;
|
|
@@ -2830,6 +3547,7 @@ export declare const BrowserObservation: z.ZodObject<{
|
|
|
2830
3547
|
artifactId: z.ZodString;
|
|
2831
3548
|
kind: z.ZodEnum<{
|
|
2832
3549
|
assistant_completion: "assistant_completion";
|
|
3550
|
+
browser_screenshot: "browser_screenshot";
|
|
2833
3551
|
computer_screenshot: "computer_screenshot";
|
|
2834
3552
|
event_media: "event_media";
|
|
2835
3553
|
file: "file";
|
|
@@ -2860,6 +3578,14 @@ export declare const BrowserObservation: z.ZodObject<{
|
|
|
2860
3578
|
maxRangeBytes: z.ZodNumber;
|
|
2861
3579
|
}, z.core.$strict>;
|
|
2862
3580
|
}, z.core.$strict>>;
|
|
3581
|
+
viewport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3582
|
+
width: z.ZodNumber;
|
|
3583
|
+
height: z.ZodNumber;
|
|
3584
|
+
visualWidth: z.ZodNumber;
|
|
3585
|
+
visualHeight: z.ZodNumber;
|
|
3586
|
+
deviceScaleFactor: z.ZodNumber;
|
|
3587
|
+
maxTouchPoints: z.ZodNumber;
|
|
3588
|
+
}, z.core.$strict>>>;
|
|
2863
3589
|
focusedRef: z.ZodNullable<z.ZodString>;
|
|
2864
3590
|
changedRegions: z.ZodArray<z.ZodObject<{
|
|
2865
3591
|
x: z.ZodNumber;
|
|
@@ -2971,6 +3697,134 @@ export declare const BrowserLocator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2971
3697
|
selector: z.ZodString;
|
|
2972
3698
|
}, z.core.$strict>], "kind">;
|
|
2973
3699
|
export type BrowserLocator = z.infer<typeof BrowserLocator>;
|
|
3700
|
+
/** Cheap causal state for a target. This is intentionally independent of an
|
|
3701
|
+
* accessibility observation, which can require a full tree for every frame. */
|
|
3702
|
+
export declare const BrowserTargetState: z.ZodObject<{
|
|
3703
|
+
browserSessionId: z.ZodString;
|
|
3704
|
+
controllerGeneration: z.ZodString;
|
|
3705
|
+
targetId: z.ZodString;
|
|
3706
|
+
targetGeneration: z.ZodString;
|
|
3707
|
+
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
3708
|
+
frameId: z.ZodNullable<z.ZodString>;
|
|
3709
|
+
}, z.core.$strict>;
|
|
3710
|
+
export type BrowserTargetState = z.infer<typeof BrowserTargetState>;
|
|
3711
|
+
export declare const BrowserDomSafeAttribute: z.ZodEnum<{
|
|
3712
|
+
alt: "alt";
|
|
3713
|
+
"aria-checked": "aria-checked";
|
|
3714
|
+
"aria-expanded": "aria-expanded";
|
|
3715
|
+
"aria-label": "aria-label";
|
|
3716
|
+
"aria-selected": "aria-selected";
|
|
3717
|
+
"data-testid": "data-testid";
|
|
3718
|
+
href: "href";
|
|
3719
|
+
name: "name";
|
|
3720
|
+
placeholder: "placeholder";
|
|
3721
|
+
role: "role";
|
|
3722
|
+
src: "src";
|
|
3723
|
+
title: "title";
|
|
3724
|
+
type: "type";
|
|
3725
|
+
}>;
|
|
3726
|
+
export type BrowserDomSafeAttribute = z.infer<typeof BrowserDomSafeAttribute>;
|
|
3727
|
+
export declare const BrowserDomReadSelector: z.ZodString;
|
|
3728
|
+
/** DOM extraction avoids content-matching locators, which can probe redacted text. */
|
|
3729
|
+
export declare const BrowserDomReadLocator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3730
|
+
kind: z.ZodLiteral<"ref">;
|
|
3731
|
+
ref: z.ZodString;
|
|
3732
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3733
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
3734
|
+
text: z.ZodString;
|
|
3735
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3736
|
+
kind: z.ZodLiteral<"test_id">;
|
|
3737
|
+
value: z.ZodString;
|
|
3738
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3739
|
+
kind: z.ZodLiteral<"css">;
|
|
3740
|
+
selector: z.ZodString;
|
|
3741
|
+
}, z.core.$strict>], "kind">;
|
|
3742
|
+
export type BrowserDomReadLocator = z.infer<typeof BrowserDomReadLocator>;
|
|
3743
|
+
/** A fixed, read-only query. The caller never supplies executable JavaScript.
|
|
3744
|
+
* CSS reads accept only simple tag, class, id, descendant, and child selectors
|
|
3745
|
+
* so predicate queries cannot probe protected attribute values. CSS count is
|
|
3746
|
+
* scoped to the target's main document; child frames and shadow roots are not
|
|
3747
|
+
* part of its count. */
|
|
3748
|
+
export declare const BrowserDomReadRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3749
|
+
expectedTargetGeneration: z.ZodString;
|
|
3750
|
+
expectedDocumentGeneration: z.ZodString;
|
|
3751
|
+
expectedFrameId: z.ZodString;
|
|
3752
|
+
kind: z.ZodLiteral<"element">;
|
|
3753
|
+
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3754
|
+
kind: z.ZodLiteral<"ref">;
|
|
3755
|
+
ref: z.ZodString;
|
|
3756
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3757
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
3758
|
+
text: z.ZodString;
|
|
3759
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3760
|
+
kind: z.ZodLiteral<"test_id">;
|
|
3761
|
+
value: z.ZodString;
|
|
3762
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3763
|
+
kind: z.ZodLiteral<"css">;
|
|
3764
|
+
selector: z.ZodString;
|
|
3765
|
+
}, z.core.$strict>], "kind">;
|
|
3766
|
+
attributes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3767
|
+
alt: "alt";
|
|
3768
|
+
"aria-checked": "aria-checked";
|
|
3769
|
+
"aria-expanded": "aria-expanded";
|
|
3770
|
+
"aria-label": "aria-label";
|
|
3771
|
+
"aria-selected": "aria-selected";
|
|
3772
|
+
"data-testid": "data-testid";
|
|
3773
|
+
href: "href";
|
|
3774
|
+
name: "name";
|
|
3775
|
+
placeholder: "placeholder";
|
|
3776
|
+
role: "role";
|
|
3777
|
+
src: "src";
|
|
3778
|
+
title: "title";
|
|
3779
|
+
type: "type";
|
|
3780
|
+
}>>>;
|
|
3781
|
+
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
3782
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3783
|
+
expectedTargetGeneration: z.ZodString;
|
|
3784
|
+
expectedDocumentGeneration: z.ZodString;
|
|
3785
|
+
expectedFrameId: z.ZodString;
|
|
3786
|
+
kind: z.ZodLiteral<"count">;
|
|
3787
|
+
selector: z.ZodString;
|
|
3788
|
+
}, z.core.$strict>], "kind">;
|
|
3789
|
+
export type BrowserDomReadRequest = z.infer<typeof BrowserDomReadRequest>;
|
|
3790
|
+
export declare const BrowserDomReadResponse: z.ZodObject<{
|
|
3791
|
+
browserSessionId: z.ZodString;
|
|
3792
|
+
controllerGeneration: z.ZodString;
|
|
3793
|
+
targetId: z.ZodString;
|
|
3794
|
+
targetGeneration: z.ZodString;
|
|
3795
|
+
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
3796
|
+
frameId: z.ZodNullable<z.ZodString>;
|
|
3797
|
+
kind: z.ZodEnum<{
|
|
3798
|
+
count: "count";
|
|
3799
|
+
element: "element";
|
|
3800
|
+
}>;
|
|
3801
|
+
count: z.ZodNumber;
|
|
3802
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3803
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3804
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
3805
|
+
alt: "alt";
|
|
3806
|
+
"aria-checked": "aria-checked";
|
|
3807
|
+
"aria-expanded": "aria-expanded";
|
|
3808
|
+
"aria-label": "aria-label";
|
|
3809
|
+
"aria-selected": "aria-selected";
|
|
3810
|
+
"data-testid": "data-testid";
|
|
3811
|
+
href: "href";
|
|
3812
|
+
name: "name";
|
|
3813
|
+
placeholder: "placeholder";
|
|
3814
|
+
role: "role";
|
|
3815
|
+
src: "src";
|
|
3816
|
+
title: "title";
|
|
3817
|
+
type: "type";
|
|
3818
|
+
}> & z.core.$partial, z.ZodNullable<z.ZodString>>>;
|
|
3819
|
+
redacted: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3820
|
+
password: "password";
|
|
3821
|
+
payment: "payment";
|
|
3822
|
+
policy: "policy";
|
|
3823
|
+
private: "private";
|
|
3824
|
+
}>>>;
|
|
3825
|
+
truncated: z.ZodBoolean;
|
|
3826
|
+
}, z.core.$strict>;
|
|
3827
|
+
export type BrowserDomReadResponse = z.infer<typeof BrowserDomReadResponse>;
|
|
2974
3828
|
/** Provider-neutral locator for native accessibility trees. Native automation
|
|
2975
3829
|
* identifiers are intentionally distinct from DOM selectors/test ids: AX,
|
|
2976
3830
|
* AT-SPI, and UIA adapters resolve them inside the exact observed target. */
|
|
@@ -2995,9 +3849,45 @@ export declare const ComputerLocator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2995
3849
|
value: z.ZodString;
|
|
2996
3850
|
}, z.core.$strict>], "kind">;
|
|
2997
3851
|
export type ComputerLocator = z.infer<typeof ComputerLocator>;
|
|
3852
|
+
/** Web-platform permissions which a managed browser can set for the exact
|
|
3853
|
+
* top-level origin currently fenced by a BrowserActionCommand. Names remain
|
|
3854
|
+
* provider-neutral; drivers map them to their native permission descriptors. */
|
|
3855
|
+
export declare const BrowserPermission: z.ZodEnum<{
|
|
3856
|
+
camera: "camera";
|
|
3857
|
+
geolocation: "geolocation";
|
|
3858
|
+
idle_detection: "idle_detection";
|
|
3859
|
+
local_fonts: "local_fonts";
|
|
3860
|
+
microphone: "microphone";
|
|
3861
|
+
midi: "midi";
|
|
3862
|
+
midi_sysex: "midi_sysex";
|
|
3863
|
+
notifications: "notifications";
|
|
3864
|
+
sensors: "sensors";
|
|
3865
|
+
window_management: "window_management";
|
|
3866
|
+
}>;
|
|
3867
|
+
export type BrowserPermission = z.infer<typeof BrowserPermission>;
|
|
3868
|
+
export declare const BrowserPermissionSetting: z.ZodEnum<{
|
|
3869
|
+
denied: "denied";
|
|
3870
|
+
granted: "granted";
|
|
3871
|
+
prompt: "prompt";
|
|
3872
|
+
}>;
|
|
3873
|
+
export type BrowserPermissionSetting = z.infer<typeof BrowserPermissionSetting>;
|
|
2998
3874
|
export declare const BrowserAction: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
2999
3875
|
type: z.ZodLiteral<"navigate">;
|
|
3000
3876
|
url: z.ZodString;
|
|
3877
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3878
|
+
type: z.ZodLiteral<"history">;
|
|
3879
|
+
direction: z.ZodEnum<{
|
|
3880
|
+
back: "back";
|
|
3881
|
+
forward: "forward";
|
|
3882
|
+
}>;
|
|
3883
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3884
|
+
type: z.ZodLiteral<"activate">;
|
|
3885
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3886
|
+
type: z.ZodLiteral<"viewport">;
|
|
3887
|
+
width: z.ZodNumber;
|
|
3888
|
+
height: z.ZodNumber;
|
|
3889
|
+
mobile: z.ZodBoolean;
|
|
3890
|
+
deviceScaleFactor: z.ZodOptional<z.ZodNumber>;
|
|
3001
3891
|
}, z.core.$strict>, z.ZodObject<{
|
|
3002
3892
|
type: z.ZodLiteral<"click">;
|
|
3003
3893
|
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3314,6 +4204,7 @@ export declare const BrowserAction: z.ZodDiscriminatedUnion<readonly [z.ZodObjec
|
|
|
3314
4204
|
middle: "middle";
|
|
3315
4205
|
right: "right";
|
|
3316
4206
|
}>>;
|
|
4207
|
+
clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
3317
4208
|
}, z.core.$strict>, z.ZodObject<{
|
|
3318
4209
|
type: z.ZodLiteral<"handle_dialog">;
|
|
3319
4210
|
response: z.ZodEnum<{
|
|
@@ -3348,6 +4239,63 @@ export declare const BrowserAction: z.ZodDiscriminatedUnion<readonly [z.ZodObjec
|
|
|
3348
4239
|
selector: z.ZodString;
|
|
3349
4240
|
}, z.core.$strict>], "kind">;
|
|
3350
4241
|
workspaceFileIds: z.ZodArray<z.ZodString>;
|
|
4242
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4243
|
+
type: z.ZodLiteral<"clipboard">;
|
|
4244
|
+
operation: z.ZodEnum<{
|
|
4245
|
+
clear: "clear";
|
|
4246
|
+
copy: "copy";
|
|
4247
|
+
paste: "paste";
|
|
4248
|
+
write: "write";
|
|
4249
|
+
}>;
|
|
4250
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4251
|
+
locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4252
|
+
kind: z.ZodLiteral<"ref">;
|
|
4253
|
+
ref: z.ZodString;
|
|
4254
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4255
|
+
kind: z.ZodLiteral<"role">;
|
|
4256
|
+
role: z.ZodString;
|
|
4257
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4258
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
4259
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4260
|
+
kind: z.ZodLiteral<"label">;
|
|
4261
|
+
text: z.ZodString;
|
|
4262
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4263
|
+
kind: z.ZodLiteral<"text">;
|
|
4264
|
+
text: z.ZodString;
|
|
4265
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4266
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
4267
|
+
text: z.ZodString;
|
|
4268
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4269
|
+
kind: z.ZodLiteral<"test_id">;
|
|
4270
|
+
value: z.ZodString;
|
|
4271
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4272
|
+
kind: z.ZodLiteral<"css">;
|
|
4273
|
+
selector: z.ZodString;
|
|
4274
|
+
}, z.core.$strict>], "kind">>;
|
|
4275
|
+
content: z.ZodOptional<z.ZodEnum<{
|
|
4276
|
+
selection: "selection";
|
|
4277
|
+
text: "text";
|
|
4278
|
+
value: "value";
|
|
4279
|
+
}>>;
|
|
4280
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4281
|
+
type: z.ZodLiteral<"permission">;
|
|
4282
|
+
permission: z.ZodEnum<{
|
|
4283
|
+
camera: "camera";
|
|
4284
|
+
geolocation: "geolocation";
|
|
4285
|
+
idle_detection: "idle_detection";
|
|
4286
|
+
local_fonts: "local_fonts";
|
|
4287
|
+
microphone: "microphone";
|
|
4288
|
+
midi: "midi";
|
|
4289
|
+
midi_sysex: "midi_sysex";
|
|
4290
|
+
notifications: "notifications";
|
|
4291
|
+
sensors: "sensors";
|
|
4292
|
+
window_management: "window_management";
|
|
4293
|
+
}>;
|
|
4294
|
+
setting: z.ZodEnum<{
|
|
4295
|
+
denied: "denied";
|
|
4296
|
+
granted: "granted";
|
|
4297
|
+
prompt: "prompt";
|
|
4298
|
+
}>;
|
|
3351
4299
|
}, z.core.$strict>, z.ZodObject<{
|
|
3352
4300
|
type: z.ZodLiteral<"wait">;
|
|
3353
4301
|
condition: z.ZodEnum<{
|
|
@@ -3388,6 +4336,20 @@ export declare const BrowserActionBatch: z.ZodObject<{
|
|
|
3388
4336
|
actions: z.ZodArray<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
3389
4337
|
type: z.ZodLiteral<"navigate">;
|
|
3390
4338
|
url: z.ZodString;
|
|
4339
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4340
|
+
type: z.ZodLiteral<"history">;
|
|
4341
|
+
direction: z.ZodEnum<{
|
|
4342
|
+
back: "back";
|
|
4343
|
+
forward: "forward";
|
|
4344
|
+
}>;
|
|
4345
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4346
|
+
type: z.ZodLiteral<"activate">;
|
|
4347
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4348
|
+
type: z.ZodLiteral<"viewport">;
|
|
4349
|
+
width: z.ZodNumber;
|
|
4350
|
+
height: z.ZodNumber;
|
|
4351
|
+
mobile: z.ZodBoolean;
|
|
4352
|
+
deviceScaleFactor: z.ZodOptional<z.ZodNumber>;
|
|
3391
4353
|
}, z.core.$strict>, z.ZodObject<{
|
|
3392
4354
|
type: z.ZodLiteral<"click">;
|
|
3393
4355
|
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3704,6 +4666,7 @@ export declare const BrowserActionBatch: z.ZodObject<{
|
|
|
3704
4666
|
middle: "middle";
|
|
3705
4667
|
right: "right";
|
|
3706
4668
|
}>>;
|
|
4669
|
+
clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
3707
4670
|
}, z.core.$strict>, z.ZodObject<{
|
|
3708
4671
|
type: z.ZodLiteral<"handle_dialog">;
|
|
3709
4672
|
response: z.ZodEnum<{
|
|
@@ -3738,6 +4701,63 @@ export declare const BrowserActionBatch: z.ZodObject<{
|
|
|
3738
4701
|
selector: z.ZodString;
|
|
3739
4702
|
}, z.core.$strict>], "kind">;
|
|
3740
4703
|
workspaceFileIds: z.ZodArray<z.ZodString>;
|
|
4704
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4705
|
+
type: z.ZodLiteral<"clipboard">;
|
|
4706
|
+
operation: z.ZodEnum<{
|
|
4707
|
+
clear: "clear";
|
|
4708
|
+
copy: "copy";
|
|
4709
|
+
paste: "paste";
|
|
4710
|
+
write: "write";
|
|
4711
|
+
}>;
|
|
4712
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4713
|
+
locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4714
|
+
kind: z.ZodLiteral<"ref">;
|
|
4715
|
+
ref: z.ZodString;
|
|
4716
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4717
|
+
kind: z.ZodLiteral<"role">;
|
|
4718
|
+
role: z.ZodString;
|
|
4719
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4720
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
4721
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4722
|
+
kind: z.ZodLiteral<"label">;
|
|
4723
|
+
text: z.ZodString;
|
|
4724
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4725
|
+
kind: z.ZodLiteral<"text">;
|
|
4726
|
+
text: z.ZodString;
|
|
4727
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4728
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
4729
|
+
text: z.ZodString;
|
|
4730
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4731
|
+
kind: z.ZodLiteral<"test_id">;
|
|
4732
|
+
value: z.ZodString;
|
|
4733
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4734
|
+
kind: z.ZodLiteral<"css">;
|
|
4735
|
+
selector: z.ZodString;
|
|
4736
|
+
}, z.core.$strict>], "kind">>;
|
|
4737
|
+
content: z.ZodOptional<z.ZodEnum<{
|
|
4738
|
+
selection: "selection";
|
|
4739
|
+
text: "text";
|
|
4740
|
+
value: "value";
|
|
4741
|
+
}>>;
|
|
4742
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4743
|
+
type: z.ZodLiteral<"permission">;
|
|
4744
|
+
permission: z.ZodEnum<{
|
|
4745
|
+
camera: "camera";
|
|
4746
|
+
geolocation: "geolocation";
|
|
4747
|
+
idle_detection: "idle_detection";
|
|
4748
|
+
local_fonts: "local_fonts";
|
|
4749
|
+
microphone: "microphone";
|
|
4750
|
+
midi: "midi";
|
|
4751
|
+
midi_sysex: "midi_sysex";
|
|
4752
|
+
notifications: "notifications";
|
|
4753
|
+
sensors: "sensors";
|
|
4754
|
+
window_management: "window_management";
|
|
4755
|
+
}>;
|
|
4756
|
+
setting: z.ZodEnum<{
|
|
4757
|
+
denied: "denied";
|
|
4758
|
+
granted: "granted";
|
|
4759
|
+
prompt: "prompt";
|
|
4760
|
+
}>;
|
|
3741
4761
|
}, z.core.$strict>, z.ZodObject<{
|
|
3742
4762
|
type: z.ZodLiteral<"wait">;
|
|
3743
4763
|
condition: z.ZodEnum<{
|
|
@@ -3772,8 +4792,51 @@ export declare const BrowserActionBatch: z.ZodObject<{
|
|
|
3772
4792
|
}, z.core.$strict>], "kind">>;
|
|
3773
4793
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
3774
4794
|
}, z.core.$strict>], "type">>;
|
|
4795
|
+
fenceEachAction: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3775
4796
|
}, z.core.$strict>;
|
|
3776
4797
|
export type BrowserActionBatch = z.infer<typeof BrowserActionBatch>;
|
|
4798
|
+
/** Secret-safe projection of a connected-machine control failure carried in a
|
|
4799
|
+
* standard API error envelope. The outer envelope owns HTTP status, retryability,
|
|
4800
|
+
* and public request correlation; this preserves the exact failing control class
|
|
4801
|
+
* and optional inner request id without exposing subjects, local paths, or tokens. */
|
|
4802
|
+
export declare const InteractionControlFailureCode: z.ZodEnum<{
|
|
4803
|
+
agent_offline: "agent_offline";
|
|
4804
|
+
consent_required: "consent_required";
|
|
4805
|
+
draining: "draining";
|
|
4806
|
+
fenced: "fenced";
|
|
4807
|
+
not_found: "not_found";
|
|
4808
|
+
os: "os";
|
|
4809
|
+
payload_too_large: "payload_too_large";
|
|
4810
|
+
protocol: "protocol";
|
|
4811
|
+
stream: "stream";
|
|
4812
|
+
timeout: "timeout";
|
|
4813
|
+
unknown: "unknown";
|
|
4814
|
+
unsupported: "unsupported";
|
|
4815
|
+
}>;
|
|
4816
|
+
export type InteractionControlFailureCode = z.infer<typeof InteractionControlFailureCode>;
|
|
4817
|
+
export declare const InteractionControlFailureDetails: z.ZodObject<{
|
|
4818
|
+
interactionLayer: z.ZodLiteral<"connected_machine">;
|
|
4819
|
+
interactionSurface: z.ZodEnum<{
|
|
4820
|
+
browser: "browser";
|
|
4821
|
+
computer: "computer";
|
|
4822
|
+
}>;
|
|
4823
|
+
controlFailureCode: z.ZodEnum<{
|
|
4824
|
+
agent_offline: "agent_offline";
|
|
4825
|
+
consent_required: "consent_required";
|
|
4826
|
+
draining: "draining";
|
|
4827
|
+
fenced: "fenced";
|
|
4828
|
+
not_found: "not_found";
|
|
4829
|
+
os: "os";
|
|
4830
|
+
payload_too_large: "payload_too_large";
|
|
4831
|
+
protocol: "protocol";
|
|
4832
|
+
stream: "stream";
|
|
4833
|
+
timeout: "timeout";
|
|
4834
|
+
unknown: "unknown";
|
|
4835
|
+
unsupported: "unsupported";
|
|
4836
|
+
}>;
|
|
4837
|
+
controlRequestId: z.ZodOptional<z.ZodString>;
|
|
4838
|
+
}, z.core.$strict>;
|
|
4839
|
+
export type InteractionControlFailureDetails = z.infer<typeof InteractionControlFailureDetails>;
|
|
3777
4840
|
export declare const InteractionError: z.ZodObject<{
|
|
3778
4841
|
code: z.ZodEnum<{
|
|
3779
4842
|
attempt_stale: "attempt_stale";
|
|
@@ -3823,9 +4886,28 @@ export declare const BrowserActionCommand: z.ZodObject<{
|
|
|
3823
4886
|
attemptId: z.ZodOptional<z.ZodString>;
|
|
3824
4887
|
executionGeneration: z.ZodOptional<z.ZodNumber>;
|
|
3825
4888
|
}, z.core.$strict>;
|
|
4889
|
+
observationMode: z.ZodOptional<z.ZodEnum<{
|
|
4890
|
+
full: "full";
|
|
4891
|
+
input: "input";
|
|
4892
|
+
none: "none";
|
|
4893
|
+
}>>;
|
|
3826
4894
|
action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
3827
4895
|
type: z.ZodLiteral<"navigate">;
|
|
3828
4896
|
url: z.ZodString;
|
|
4897
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4898
|
+
type: z.ZodLiteral<"history">;
|
|
4899
|
+
direction: z.ZodEnum<{
|
|
4900
|
+
back: "back";
|
|
4901
|
+
forward: "forward";
|
|
4902
|
+
}>;
|
|
4903
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4904
|
+
type: z.ZodLiteral<"activate">;
|
|
4905
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4906
|
+
type: z.ZodLiteral<"viewport">;
|
|
4907
|
+
width: z.ZodNumber;
|
|
4908
|
+
height: z.ZodNumber;
|
|
4909
|
+
mobile: z.ZodBoolean;
|
|
4910
|
+
deviceScaleFactor: z.ZodOptional<z.ZodNumber>;
|
|
3829
4911
|
}, z.core.$strict>, z.ZodObject<{
|
|
3830
4912
|
type: z.ZodLiteral<"click">;
|
|
3831
4913
|
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -4142,6 +5224,7 @@ export declare const BrowserActionCommand: z.ZodObject<{
|
|
|
4142
5224
|
middle: "middle";
|
|
4143
5225
|
right: "right";
|
|
4144
5226
|
}>>;
|
|
5227
|
+
clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
4145
5228
|
}, z.core.$strict>, z.ZodObject<{
|
|
4146
5229
|
type: z.ZodLiteral<"handle_dialog">;
|
|
4147
5230
|
response: z.ZodEnum<{
|
|
@@ -4176,6 +5259,63 @@ export declare const BrowserActionCommand: z.ZodObject<{
|
|
|
4176
5259
|
selector: z.ZodString;
|
|
4177
5260
|
}, z.core.$strict>], "kind">;
|
|
4178
5261
|
workspaceFileIds: z.ZodArray<z.ZodString>;
|
|
5262
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5263
|
+
type: z.ZodLiteral<"clipboard">;
|
|
5264
|
+
operation: z.ZodEnum<{
|
|
5265
|
+
clear: "clear";
|
|
5266
|
+
copy: "copy";
|
|
5267
|
+
paste: "paste";
|
|
5268
|
+
write: "write";
|
|
5269
|
+
}>;
|
|
5270
|
+
text: z.ZodOptional<z.ZodString>;
|
|
5271
|
+
locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5272
|
+
kind: z.ZodLiteral<"ref">;
|
|
5273
|
+
ref: z.ZodString;
|
|
5274
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5275
|
+
kind: z.ZodLiteral<"role">;
|
|
5276
|
+
role: z.ZodString;
|
|
5277
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5278
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
5279
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5280
|
+
kind: z.ZodLiteral<"label">;
|
|
5281
|
+
text: z.ZodString;
|
|
5282
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5283
|
+
kind: z.ZodLiteral<"text">;
|
|
5284
|
+
text: z.ZodString;
|
|
5285
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5286
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
5287
|
+
text: z.ZodString;
|
|
5288
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5289
|
+
kind: z.ZodLiteral<"test_id">;
|
|
5290
|
+
value: z.ZodString;
|
|
5291
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5292
|
+
kind: z.ZodLiteral<"css">;
|
|
5293
|
+
selector: z.ZodString;
|
|
5294
|
+
}, z.core.$strict>], "kind">>;
|
|
5295
|
+
content: z.ZodOptional<z.ZodEnum<{
|
|
5296
|
+
selection: "selection";
|
|
5297
|
+
text: "text";
|
|
5298
|
+
value: "value";
|
|
5299
|
+
}>>;
|
|
5300
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5301
|
+
type: z.ZodLiteral<"permission">;
|
|
5302
|
+
permission: z.ZodEnum<{
|
|
5303
|
+
camera: "camera";
|
|
5304
|
+
geolocation: "geolocation";
|
|
5305
|
+
idle_detection: "idle_detection";
|
|
5306
|
+
local_fonts: "local_fonts";
|
|
5307
|
+
microphone: "microphone";
|
|
5308
|
+
midi: "midi";
|
|
5309
|
+
midi_sysex: "midi_sysex";
|
|
5310
|
+
notifications: "notifications";
|
|
5311
|
+
sensors: "sensors";
|
|
5312
|
+
window_management: "window_management";
|
|
5313
|
+
}>;
|
|
5314
|
+
setting: z.ZodEnum<{
|
|
5315
|
+
denied: "denied";
|
|
5316
|
+
granted: "granted";
|
|
5317
|
+
prompt: "prompt";
|
|
5318
|
+
}>;
|
|
4179
5319
|
}, z.core.$strict>, z.ZodObject<{
|
|
4180
5320
|
type: z.ZodLiteral<"wait">;
|
|
4181
5321
|
condition: z.ZodEnum<{
|
|
@@ -4214,6 +5354,20 @@ export declare const BrowserActionCommand: z.ZodObject<{
|
|
|
4214
5354
|
actions: z.ZodArray<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
4215
5355
|
type: z.ZodLiteral<"navigate">;
|
|
4216
5356
|
url: z.ZodString;
|
|
5357
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5358
|
+
type: z.ZodLiteral<"history">;
|
|
5359
|
+
direction: z.ZodEnum<{
|
|
5360
|
+
back: "back";
|
|
5361
|
+
forward: "forward";
|
|
5362
|
+
}>;
|
|
5363
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5364
|
+
type: z.ZodLiteral<"activate">;
|
|
5365
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5366
|
+
type: z.ZodLiteral<"viewport">;
|
|
5367
|
+
width: z.ZodNumber;
|
|
5368
|
+
height: z.ZodNumber;
|
|
5369
|
+
mobile: z.ZodBoolean;
|
|
5370
|
+
deviceScaleFactor: z.ZodOptional<z.ZodNumber>;
|
|
4217
5371
|
}, z.core.$strict>, z.ZodObject<{
|
|
4218
5372
|
type: z.ZodLiteral<"click">;
|
|
4219
5373
|
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -4530,6 +5684,7 @@ export declare const BrowserActionCommand: z.ZodObject<{
|
|
|
4530
5684
|
middle: "middle";
|
|
4531
5685
|
right: "right";
|
|
4532
5686
|
}>>;
|
|
5687
|
+
clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
4533
5688
|
}, z.core.$strict>, z.ZodObject<{
|
|
4534
5689
|
type: z.ZodLiteral<"handle_dialog">;
|
|
4535
5690
|
response: z.ZodEnum<{
|
|
@@ -4564,6 +5719,63 @@ export declare const BrowserActionCommand: z.ZodObject<{
|
|
|
4564
5719
|
selector: z.ZodString;
|
|
4565
5720
|
}, z.core.$strict>], "kind">;
|
|
4566
5721
|
workspaceFileIds: z.ZodArray<z.ZodString>;
|
|
5722
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5723
|
+
type: z.ZodLiteral<"clipboard">;
|
|
5724
|
+
operation: z.ZodEnum<{
|
|
5725
|
+
clear: "clear";
|
|
5726
|
+
copy: "copy";
|
|
5727
|
+
paste: "paste";
|
|
5728
|
+
write: "write";
|
|
5729
|
+
}>;
|
|
5730
|
+
text: z.ZodOptional<z.ZodString>;
|
|
5731
|
+
locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5732
|
+
kind: z.ZodLiteral<"ref">;
|
|
5733
|
+
ref: z.ZodString;
|
|
5734
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5735
|
+
kind: z.ZodLiteral<"role">;
|
|
5736
|
+
role: z.ZodString;
|
|
5737
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5738
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
5739
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5740
|
+
kind: z.ZodLiteral<"label">;
|
|
5741
|
+
text: z.ZodString;
|
|
5742
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5743
|
+
kind: z.ZodLiteral<"text">;
|
|
5744
|
+
text: z.ZodString;
|
|
5745
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5746
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
5747
|
+
text: z.ZodString;
|
|
5748
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5749
|
+
kind: z.ZodLiteral<"test_id">;
|
|
5750
|
+
value: z.ZodString;
|
|
5751
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5752
|
+
kind: z.ZodLiteral<"css">;
|
|
5753
|
+
selector: z.ZodString;
|
|
5754
|
+
}, z.core.$strict>], "kind">>;
|
|
5755
|
+
content: z.ZodOptional<z.ZodEnum<{
|
|
5756
|
+
selection: "selection";
|
|
5757
|
+
text: "text";
|
|
5758
|
+
value: "value";
|
|
5759
|
+
}>>;
|
|
5760
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5761
|
+
type: z.ZodLiteral<"permission">;
|
|
5762
|
+
permission: z.ZodEnum<{
|
|
5763
|
+
camera: "camera";
|
|
5764
|
+
geolocation: "geolocation";
|
|
5765
|
+
idle_detection: "idle_detection";
|
|
5766
|
+
local_fonts: "local_fonts";
|
|
5767
|
+
microphone: "microphone";
|
|
5768
|
+
midi: "midi";
|
|
5769
|
+
midi_sysex: "midi_sysex";
|
|
5770
|
+
notifications: "notifications";
|
|
5771
|
+
sensors: "sensors";
|
|
5772
|
+
window_management: "window_management";
|
|
5773
|
+
}>;
|
|
5774
|
+
setting: z.ZodEnum<{
|
|
5775
|
+
denied: "denied";
|
|
5776
|
+
granted: "granted";
|
|
5777
|
+
prompt: "prompt";
|
|
5778
|
+
}>;
|
|
4567
5779
|
}, z.core.$strict>, z.ZodObject<{
|
|
4568
5780
|
type: z.ZodLiteral<"wait">;
|
|
4569
5781
|
condition: z.ZodEnum<{
|
|
@@ -4598,9 +5810,44 @@ export declare const BrowserActionCommand: z.ZodObject<{
|
|
|
4598
5810
|
}, z.core.$strict>], "kind">>;
|
|
4599
5811
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
4600
5812
|
}, z.core.$strict>], "type">>;
|
|
5813
|
+
fenceEachAction: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4601
5814
|
}, z.core.$strict>]>;
|
|
4602
5815
|
}, z.core.$strict>;
|
|
4603
5816
|
export type BrowserActionCommand = z.infer<typeof BrowserActionCommand>;
|
|
5817
|
+
/** Controller-private authority used to materialize immutable workspace files
|
|
5818
|
+
* beside a BrowserSession before an upload action dispatches. Signed URLs and
|
|
5819
|
+
* placement paths never appear in the public BrowserAction or its receipt. */
|
|
5820
|
+
export declare const BrowserWorkspaceFileAuthority: z.ZodObject<{
|
|
5821
|
+
fileId: z.ZodString;
|
|
5822
|
+
safeFilename: z.ZodString;
|
|
5823
|
+
sizeBytes: z.ZodNumber;
|
|
5824
|
+
sha256: z.ZodNullable<z.ZodString>;
|
|
5825
|
+
download: z.ZodObject<{
|
|
5826
|
+
url: z.ZodString;
|
|
5827
|
+
expiresAt: z.ZodString;
|
|
5828
|
+
}, z.core.$strict>;
|
|
5829
|
+
}, z.core.$strict>;
|
|
5830
|
+
export type BrowserWorkspaceFileAuthority = z.infer<typeof BrowserWorkspaceFileAuthority>;
|
|
5831
|
+
export declare const BrowserWorkspaceFileStageRequest: z.ZodObject<{
|
|
5832
|
+
operationId: z.ZodString;
|
|
5833
|
+
files: z.ZodArray<z.ZodObject<{
|
|
5834
|
+
fileId: z.ZodString;
|
|
5835
|
+
safeFilename: z.ZodString;
|
|
5836
|
+
sizeBytes: z.ZodNumber;
|
|
5837
|
+
sha256: z.ZodNullable<z.ZodString>;
|
|
5838
|
+
download: z.ZodObject<{
|
|
5839
|
+
url: z.ZodString;
|
|
5840
|
+
expiresAt: z.ZodString;
|
|
5841
|
+
}, z.core.$strict>;
|
|
5842
|
+
}, z.core.$strict>>;
|
|
5843
|
+
}, z.core.$strict>;
|
|
5844
|
+
export type BrowserWorkspaceFileStageRequest = z.infer<typeof BrowserWorkspaceFileStageRequest>;
|
|
5845
|
+
export declare const BrowserWorkspaceFileStageResponse: z.ZodObject<{
|
|
5846
|
+
operationId: z.ZodString;
|
|
5847
|
+
fileIds: z.ZodArray<z.ZodString>;
|
|
5848
|
+
replayed: z.ZodBoolean;
|
|
5849
|
+
}, z.core.$strict>;
|
|
5850
|
+
export type BrowserWorkspaceFileStageResponse = z.infer<typeof BrowserWorkspaceFileStageResponse>;
|
|
4604
5851
|
export declare const InteractionOperationState: z.ZodEnum<{
|
|
4605
5852
|
completed: "completed";
|
|
4606
5853
|
dispatched: "dispatched";
|
|
@@ -4677,6 +5924,14 @@ export declare const CreateBrowserSessionRequest: z.ZodObject<{
|
|
|
4677
5924
|
name: z.ZodOptional<z.ZodString>;
|
|
4678
5925
|
initialUrl: z.ZodOptional<z.ZodString>;
|
|
4679
5926
|
headless: z.ZodDefault<z.ZodBoolean>;
|
|
5927
|
+
storageMode: z.ZodDefault<z.ZodEnum<{
|
|
5928
|
+
ephemeral_context: "ephemeral_context";
|
|
5929
|
+
private_profile: "private_profile";
|
|
5930
|
+
}>>;
|
|
5931
|
+
engine: z.ZodDefault<z.ZodEnum<{
|
|
5932
|
+
chromium: "chromium";
|
|
5933
|
+
lightpanda: "lightpanda";
|
|
5934
|
+
}>>;
|
|
4680
5935
|
placement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4681
5936
|
kind: z.ZodLiteral<"sandbox_group">;
|
|
4682
5937
|
sandboxGroupId: z.ZodString;
|
|
@@ -4759,6 +6014,7 @@ export declare const BrowserSessionListResponse: z.ZodObject<{
|
|
|
4759
6014
|
downloads: z.ZodBoolean;
|
|
4760
6015
|
uploads: z.ZodBoolean;
|
|
4761
6016
|
clipboard: z.ZodBoolean;
|
|
6017
|
+
permissions: z.ZodBoolean;
|
|
4762
6018
|
diagnostics: z.ZodBoolean;
|
|
4763
6019
|
rawCdp: z.ZodBoolean;
|
|
4764
6020
|
linkedComputer: z.ZodBoolean;
|
|
@@ -4847,6 +6103,7 @@ export declare const BrowserSessionMutationResponse: z.ZodObject<{
|
|
|
4847
6103
|
downloads: z.ZodBoolean;
|
|
4848
6104
|
uploads: z.ZodBoolean;
|
|
4849
6105
|
clipboard: z.ZodBoolean;
|
|
6106
|
+
permissions: z.ZodBoolean;
|
|
4850
6107
|
diagnostics: z.ZodBoolean;
|
|
4851
6108
|
rawCdp: z.ZodBoolean;
|
|
4852
6109
|
linkedComputer: z.ZodBoolean;
|
|
@@ -5001,6 +6258,11 @@ export declare const ComputerFrameStreamAttachment: z.ZodDiscriminatedUnion<[z.Z
|
|
|
5001
6258
|
kind: z.ZodLiteral<"direct_websocket">;
|
|
5002
6259
|
url: z.ZodString;
|
|
5003
6260
|
protocols: z.ZodArray<z.ZodString>;
|
|
6261
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6262
|
+
kind: z.ZodLiteral<"direct_rfb">;
|
|
6263
|
+
url: z.ZodString;
|
|
6264
|
+
protocols: z.ZodArray<z.ZodString>;
|
|
6265
|
+
inputAllowed: z.ZodDefault<z.ZodBoolean>;
|
|
5004
6266
|
}, z.core.$strict>, z.ZodObject<{
|
|
5005
6267
|
kind: z.ZodLiteral<"relay">;
|
|
5006
6268
|
url: z.ZodString;
|
|
@@ -5033,6 +6295,11 @@ export declare const InteractionFrameStreamAttachment: z.ZodUnion<readonly [z.Zo
|
|
|
5033
6295
|
kind: z.ZodLiteral<"direct_websocket">;
|
|
5034
6296
|
url: z.ZodString;
|
|
5035
6297
|
protocols: z.ZodArray<z.ZodString>;
|
|
6298
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6299
|
+
kind: z.ZodLiteral<"direct_rfb">;
|
|
6300
|
+
url: z.ZodString;
|
|
6301
|
+
protocols: z.ZodArray<z.ZodString>;
|
|
6302
|
+
inputAllowed: z.ZodDefault<z.ZodBoolean>;
|
|
5036
6303
|
}, z.core.$strict>, z.ZodObject<{
|
|
5037
6304
|
kind: z.ZodLiteral<"relay">;
|
|
5038
6305
|
url: z.ZodString;
|
|
@@ -5066,6 +6333,8 @@ export declare const BrowserSessionAttachment: z.ZodObject<{
|
|
|
5066
6333
|
port: z.ZodNumber;
|
|
5067
6334
|
}, z.core.$strict>;
|
|
5068
6335
|
}, z.core.$strict>], "kind">;
|
|
6336
|
+
fencedInputBatches: z.ZodOptional<z.ZodLiteral<true>>;
|
|
6337
|
+
focusedInputObservations: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5069
6338
|
expiresAt: z.ZodString;
|
|
5070
6339
|
}, z.core.$strict>;
|
|
5071
6340
|
export type BrowserSessionAttachment = z.infer<typeof BrowserSessionAttachment>;
|
|
@@ -5093,9 +6362,28 @@ export declare const BrowserActionRequest: z.ZodObject<{
|
|
|
5093
6362
|
expectedTargetGeneration: z.ZodString;
|
|
5094
6363
|
expectedDocumentGeneration: z.ZodNullable<z.ZodString>;
|
|
5095
6364
|
expectedFrameId: z.ZodNullable<z.ZodString>;
|
|
6365
|
+
observationMode: z.ZodDefault<z.ZodEnum<{
|
|
6366
|
+
full: "full";
|
|
6367
|
+
input: "input";
|
|
6368
|
+
none: "none";
|
|
6369
|
+
}>>;
|
|
5096
6370
|
action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
5097
6371
|
type: z.ZodLiteral<"navigate">;
|
|
5098
6372
|
url: z.ZodString;
|
|
6373
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6374
|
+
type: z.ZodLiteral<"history">;
|
|
6375
|
+
direction: z.ZodEnum<{
|
|
6376
|
+
back: "back";
|
|
6377
|
+
forward: "forward";
|
|
6378
|
+
}>;
|
|
6379
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6380
|
+
type: z.ZodLiteral<"activate">;
|
|
6381
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6382
|
+
type: z.ZodLiteral<"viewport">;
|
|
6383
|
+
width: z.ZodNumber;
|
|
6384
|
+
height: z.ZodNumber;
|
|
6385
|
+
mobile: z.ZodBoolean;
|
|
6386
|
+
deviceScaleFactor: z.ZodOptional<z.ZodNumber>;
|
|
5099
6387
|
}, z.core.$strict>, z.ZodObject<{
|
|
5100
6388
|
type: z.ZodLiteral<"click">;
|
|
5101
6389
|
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -5412,6 +6700,7 @@ export declare const BrowserActionRequest: z.ZodObject<{
|
|
|
5412
6700
|
middle: "middle";
|
|
5413
6701
|
right: "right";
|
|
5414
6702
|
}>>;
|
|
6703
|
+
clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
5415
6704
|
}, z.core.$strict>, z.ZodObject<{
|
|
5416
6705
|
type: z.ZodLiteral<"handle_dialog">;
|
|
5417
6706
|
response: z.ZodEnum<{
|
|
@@ -5446,6 +6735,63 @@ export declare const BrowserActionRequest: z.ZodObject<{
|
|
|
5446
6735
|
selector: z.ZodString;
|
|
5447
6736
|
}, z.core.$strict>], "kind">;
|
|
5448
6737
|
workspaceFileIds: z.ZodArray<z.ZodString>;
|
|
6738
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6739
|
+
type: z.ZodLiteral<"clipboard">;
|
|
6740
|
+
operation: z.ZodEnum<{
|
|
6741
|
+
clear: "clear";
|
|
6742
|
+
copy: "copy";
|
|
6743
|
+
paste: "paste";
|
|
6744
|
+
write: "write";
|
|
6745
|
+
}>;
|
|
6746
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6747
|
+
locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6748
|
+
kind: z.ZodLiteral<"ref">;
|
|
6749
|
+
ref: z.ZodString;
|
|
6750
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6751
|
+
kind: z.ZodLiteral<"role">;
|
|
6752
|
+
role: z.ZodString;
|
|
6753
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6754
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
6755
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6756
|
+
kind: z.ZodLiteral<"label">;
|
|
6757
|
+
text: z.ZodString;
|
|
6758
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6759
|
+
kind: z.ZodLiteral<"text">;
|
|
6760
|
+
text: z.ZodString;
|
|
6761
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6762
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
6763
|
+
text: z.ZodString;
|
|
6764
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6765
|
+
kind: z.ZodLiteral<"test_id">;
|
|
6766
|
+
value: z.ZodString;
|
|
6767
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6768
|
+
kind: z.ZodLiteral<"css">;
|
|
6769
|
+
selector: z.ZodString;
|
|
6770
|
+
}, z.core.$strict>], "kind">>;
|
|
6771
|
+
content: z.ZodOptional<z.ZodEnum<{
|
|
6772
|
+
selection: "selection";
|
|
6773
|
+
text: "text";
|
|
6774
|
+
value: "value";
|
|
6775
|
+
}>>;
|
|
6776
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6777
|
+
type: z.ZodLiteral<"permission">;
|
|
6778
|
+
permission: z.ZodEnum<{
|
|
6779
|
+
camera: "camera";
|
|
6780
|
+
geolocation: "geolocation";
|
|
6781
|
+
idle_detection: "idle_detection";
|
|
6782
|
+
local_fonts: "local_fonts";
|
|
6783
|
+
microphone: "microphone";
|
|
6784
|
+
midi: "midi";
|
|
6785
|
+
midi_sysex: "midi_sysex";
|
|
6786
|
+
notifications: "notifications";
|
|
6787
|
+
sensors: "sensors";
|
|
6788
|
+
window_management: "window_management";
|
|
6789
|
+
}>;
|
|
6790
|
+
setting: z.ZodEnum<{
|
|
6791
|
+
denied: "denied";
|
|
6792
|
+
granted: "granted";
|
|
6793
|
+
prompt: "prompt";
|
|
6794
|
+
}>;
|
|
5449
6795
|
}, z.core.$strict>, z.ZodObject<{
|
|
5450
6796
|
type: z.ZodLiteral<"wait">;
|
|
5451
6797
|
condition: z.ZodEnum<{
|
|
@@ -5484,6 +6830,20 @@ export declare const BrowserActionRequest: z.ZodObject<{
|
|
|
5484
6830
|
actions: z.ZodArray<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
5485
6831
|
type: z.ZodLiteral<"navigate">;
|
|
5486
6832
|
url: z.ZodString;
|
|
6833
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6834
|
+
type: z.ZodLiteral<"history">;
|
|
6835
|
+
direction: z.ZodEnum<{
|
|
6836
|
+
back: "back";
|
|
6837
|
+
forward: "forward";
|
|
6838
|
+
}>;
|
|
6839
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6840
|
+
type: z.ZodLiteral<"activate">;
|
|
6841
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6842
|
+
type: z.ZodLiteral<"viewport">;
|
|
6843
|
+
width: z.ZodNumber;
|
|
6844
|
+
height: z.ZodNumber;
|
|
6845
|
+
mobile: z.ZodBoolean;
|
|
6846
|
+
deviceScaleFactor: z.ZodOptional<z.ZodNumber>;
|
|
5487
6847
|
}, z.core.$strict>, z.ZodObject<{
|
|
5488
6848
|
type: z.ZodLiteral<"click">;
|
|
5489
6849
|
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -5800,6 +7160,7 @@ export declare const BrowserActionRequest: z.ZodObject<{
|
|
|
5800
7160
|
middle: "middle";
|
|
5801
7161
|
right: "right";
|
|
5802
7162
|
}>>;
|
|
7163
|
+
clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
5803
7164
|
}, z.core.$strict>, z.ZodObject<{
|
|
5804
7165
|
type: z.ZodLiteral<"handle_dialog">;
|
|
5805
7166
|
response: z.ZodEnum<{
|
|
@@ -5834,6 +7195,63 @@ export declare const BrowserActionRequest: z.ZodObject<{
|
|
|
5834
7195
|
selector: z.ZodString;
|
|
5835
7196
|
}, z.core.$strict>], "kind">;
|
|
5836
7197
|
workspaceFileIds: z.ZodArray<z.ZodString>;
|
|
7198
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7199
|
+
type: z.ZodLiteral<"clipboard">;
|
|
7200
|
+
operation: z.ZodEnum<{
|
|
7201
|
+
clear: "clear";
|
|
7202
|
+
copy: "copy";
|
|
7203
|
+
paste: "paste";
|
|
7204
|
+
write: "write";
|
|
7205
|
+
}>;
|
|
7206
|
+
text: z.ZodOptional<z.ZodString>;
|
|
7207
|
+
locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7208
|
+
kind: z.ZodLiteral<"ref">;
|
|
7209
|
+
ref: z.ZodString;
|
|
7210
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7211
|
+
kind: z.ZodLiteral<"role">;
|
|
7212
|
+
role: z.ZodString;
|
|
7213
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7214
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
7215
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7216
|
+
kind: z.ZodLiteral<"label">;
|
|
7217
|
+
text: z.ZodString;
|
|
7218
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7219
|
+
kind: z.ZodLiteral<"text">;
|
|
7220
|
+
text: z.ZodString;
|
|
7221
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7222
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
7223
|
+
text: z.ZodString;
|
|
7224
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7225
|
+
kind: z.ZodLiteral<"test_id">;
|
|
7226
|
+
value: z.ZodString;
|
|
7227
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7228
|
+
kind: z.ZodLiteral<"css">;
|
|
7229
|
+
selector: z.ZodString;
|
|
7230
|
+
}, z.core.$strict>], "kind">>;
|
|
7231
|
+
content: z.ZodOptional<z.ZodEnum<{
|
|
7232
|
+
selection: "selection";
|
|
7233
|
+
text: "text";
|
|
7234
|
+
value: "value";
|
|
7235
|
+
}>>;
|
|
7236
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7237
|
+
type: z.ZodLiteral<"permission">;
|
|
7238
|
+
permission: z.ZodEnum<{
|
|
7239
|
+
camera: "camera";
|
|
7240
|
+
geolocation: "geolocation";
|
|
7241
|
+
idle_detection: "idle_detection";
|
|
7242
|
+
local_fonts: "local_fonts";
|
|
7243
|
+
microphone: "microphone";
|
|
7244
|
+
midi: "midi";
|
|
7245
|
+
midi_sysex: "midi_sysex";
|
|
7246
|
+
notifications: "notifications";
|
|
7247
|
+
sensors: "sensors";
|
|
7248
|
+
window_management: "window_management";
|
|
7249
|
+
}>;
|
|
7250
|
+
setting: z.ZodEnum<{
|
|
7251
|
+
denied: "denied";
|
|
7252
|
+
granted: "granted";
|
|
7253
|
+
prompt: "prompt";
|
|
7254
|
+
}>;
|
|
5837
7255
|
}, z.core.$strict>, z.ZodObject<{
|
|
5838
7256
|
type: z.ZodLiteral<"wait">;
|
|
5839
7257
|
condition: z.ZodEnum<{
|
|
@@ -5868,6 +7286,7 @@ export declare const BrowserActionRequest: z.ZodObject<{
|
|
|
5868
7286
|
}, z.core.$strict>], "kind">>;
|
|
5869
7287
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
5870
7288
|
}, z.core.$strict>], "type">>;
|
|
7289
|
+
fenceEachAction: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5871
7290
|
}, z.core.$strict>]>;
|
|
5872
7291
|
}, z.core.$strict>;
|
|
5873
7292
|
export type BrowserActionRequest = z.infer<typeof BrowserActionRequest>;
|
|
@@ -5930,6 +7349,7 @@ export declare const BrowserActionReceipt: z.ZodObject<{
|
|
|
5930
7349
|
artifactId: z.ZodString;
|
|
5931
7350
|
kind: z.ZodEnum<{
|
|
5932
7351
|
assistant_completion: "assistant_completion";
|
|
7352
|
+
browser_screenshot: "browser_screenshot";
|
|
5933
7353
|
computer_screenshot: "computer_screenshot";
|
|
5934
7354
|
event_media: "event_media";
|
|
5935
7355
|
file: "file";
|
|
@@ -5960,6 +7380,14 @@ export declare const BrowserActionReceipt: z.ZodObject<{
|
|
|
5960
7380
|
maxRangeBytes: z.ZodNumber;
|
|
5961
7381
|
}, z.core.$strict>;
|
|
5962
7382
|
}, z.core.$strict>>;
|
|
7383
|
+
viewport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7384
|
+
width: z.ZodNumber;
|
|
7385
|
+
height: z.ZodNumber;
|
|
7386
|
+
visualWidth: z.ZodNumber;
|
|
7387
|
+
visualHeight: z.ZodNumber;
|
|
7388
|
+
deviceScaleFactor: z.ZodNumber;
|
|
7389
|
+
maxTouchPoints: z.ZodNumber;
|
|
7390
|
+
}, z.core.$strict>>>;
|
|
5963
7391
|
focusedRef: z.ZodNullable<z.ZodString>;
|
|
5964
7392
|
changedRegions: z.ZodArray<z.ZodObject<{
|
|
5965
7393
|
x: z.ZodNumber;
|
|
@@ -6015,6 +7443,255 @@ export declare const BrowserActionReceipt: z.ZodObject<{
|
|
|
6015
7443
|
}, z.core.$strict>>;
|
|
6016
7444
|
}, z.core.$strict>;
|
|
6017
7445
|
export type BrowserActionReceipt = z.infer<typeof BrowserActionReceipt>;
|
|
7446
|
+
/** Controller-private protected-fill wire contract. Secret values cross only
|
|
7447
|
+
* the credential broker -> exact placement controller boundary; this command
|
|
7448
|
+
* is never projected into model MCP, Codemode, public action history, or UI. */
|
|
7449
|
+
export declare const BrowserProtectedAuthFieldValue: z.ZodObject<{
|
|
7450
|
+
fieldId: z.ZodString;
|
|
7451
|
+
locator: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7452
|
+
kind: z.ZodLiteral<"ref">;
|
|
7453
|
+
ref: z.ZodString;
|
|
7454
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7455
|
+
kind: z.ZodLiteral<"role">;
|
|
7456
|
+
role: z.ZodString;
|
|
7457
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7458
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
7459
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7460
|
+
kind: z.ZodLiteral<"label">;
|
|
7461
|
+
text: z.ZodString;
|
|
7462
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7463
|
+
kind: z.ZodLiteral<"text">;
|
|
7464
|
+
text: z.ZodString;
|
|
7465
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7466
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
7467
|
+
text: z.ZodString;
|
|
7468
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7469
|
+
kind: z.ZodLiteral<"test_id">;
|
|
7470
|
+
value: z.ZodString;
|
|
7471
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7472
|
+
kind: z.ZodLiteral<"css">;
|
|
7473
|
+
selector: z.ZodString;
|
|
7474
|
+
}, z.core.$strict>], "kind">>;
|
|
7475
|
+
purpose: z.ZodEnum<{
|
|
7476
|
+
identifier: "identifier";
|
|
7477
|
+
password: "password";
|
|
7478
|
+
secret: "secret";
|
|
7479
|
+
totp: "totp";
|
|
7480
|
+
}>;
|
|
7481
|
+
value: z.ZodString;
|
|
7482
|
+
}, z.core.$strict>;
|
|
7483
|
+
export type BrowserProtectedAuthFieldValue = z.infer<typeof BrowserProtectedAuthFieldValue>;
|
|
7484
|
+
export declare const BrowserProtectedAuthFillCommand: z.ZodObject<{
|
|
7485
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
7486
|
+
operationId: z.ZodString;
|
|
7487
|
+
browserSessionId: z.ZodString;
|
|
7488
|
+
controllerGeneration: z.ZodString;
|
|
7489
|
+
targetId: z.ZodString;
|
|
7490
|
+
expectedTargetGeneration: z.ZodString;
|
|
7491
|
+
expectedDocumentGeneration: z.ZodString;
|
|
7492
|
+
expectedFrameId: z.ZodString;
|
|
7493
|
+
actor: z.ZodObject<{
|
|
7494
|
+
kind: z.ZodEnum<{
|
|
7495
|
+
agent: "agent";
|
|
7496
|
+
human: "human";
|
|
7497
|
+
system: "system";
|
|
7498
|
+
}>;
|
|
7499
|
+
subjectId: z.ZodString;
|
|
7500
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
7501
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
7502
|
+
attemptId: z.ZodOptional<z.ZodString>;
|
|
7503
|
+
executionGeneration: z.ZodOptional<z.ZodNumber>;
|
|
7504
|
+
}, z.core.$strict>;
|
|
7505
|
+
authorityId: z.ZodString;
|
|
7506
|
+
credentialVersion: z.ZodNumber;
|
|
7507
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
7508
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
7509
|
+
fieldId: z.ZodString;
|
|
7510
|
+
locator: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7511
|
+
kind: z.ZodLiteral<"ref">;
|
|
7512
|
+
ref: z.ZodString;
|
|
7513
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7514
|
+
kind: z.ZodLiteral<"role">;
|
|
7515
|
+
role: z.ZodString;
|
|
7516
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7517
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
7518
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7519
|
+
kind: z.ZodLiteral<"label">;
|
|
7520
|
+
text: z.ZodString;
|
|
7521
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7522
|
+
kind: z.ZodLiteral<"text">;
|
|
7523
|
+
text: z.ZodString;
|
|
7524
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7525
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
7526
|
+
text: z.ZodString;
|
|
7527
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7528
|
+
kind: z.ZodLiteral<"test_id">;
|
|
7529
|
+
value: z.ZodString;
|
|
7530
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7531
|
+
kind: z.ZodLiteral<"css">;
|
|
7532
|
+
selector: z.ZodString;
|
|
7533
|
+
}, z.core.$strict>], "kind">>;
|
|
7534
|
+
purpose: z.ZodEnum<{
|
|
7535
|
+
identifier: "identifier";
|
|
7536
|
+
password: "password";
|
|
7537
|
+
secret: "secret";
|
|
7538
|
+
totp: "totp";
|
|
7539
|
+
}>;
|
|
7540
|
+
value: z.ZodString;
|
|
7541
|
+
}, z.core.$strict>>;
|
|
7542
|
+
submit: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7543
|
+
type: z.ZodLiteral<"none">;
|
|
7544
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7545
|
+
type: z.ZodLiteral<"click">;
|
|
7546
|
+
locator: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7547
|
+
kind: z.ZodLiteral<"ref">;
|
|
7548
|
+
ref: z.ZodString;
|
|
7549
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7550
|
+
kind: z.ZodLiteral<"role">;
|
|
7551
|
+
role: z.ZodString;
|
|
7552
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7553
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
7554
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7555
|
+
kind: z.ZodLiteral<"label">;
|
|
7556
|
+
text: z.ZodString;
|
|
7557
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7558
|
+
kind: z.ZodLiteral<"text">;
|
|
7559
|
+
text: z.ZodString;
|
|
7560
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7561
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
7562
|
+
text: z.ZodString;
|
|
7563
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7564
|
+
kind: z.ZodLiteral<"test_id">;
|
|
7565
|
+
value: z.ZodString;
|
|
7566
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7567
|
+
kind: z.ZodLiteral<"css">;
|
|
7568
|
+
selector: z.ZodString;
|
|
7569
|
+
}, z.core.$strict>], "kind">>;
|
|
7570
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7571
|
+
type: z.ZodLiteral<"press">;
|
|
7572
|
+
key: z.ZodString;
|
|
7573
|
+
locator: z.ZodOptional<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7574
|
+
kind: z.ZodLiteral<"ref">;
|
|
7575
|
+
ref: z.ZodString;
|
|
7576
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7577
|
+
kind: z.ZodLiteral<"role">;
|
|
7578
|
+
role: z.ZodString;
|
|
7579
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7580
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
7581
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7582
|
+
kind: z.ZodLiteral<"label">;
|
|
7583
|
+
text: z.ZodString;
|
|
7584
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7585
|
+
kind: z.ZodLiteral<"text">;
|
|
7586
|
+
text: z.ZodString;
|
|
7587
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7588
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
7589
|
+
text: z.ZodString;
|
|
7590
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7591
|
+
kind: z.ZodLiteral<"test_id">;
|
|
7592
|
+
value: z.ZodString;
|
|
7593
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7594
|
+
kind: z.ZodLiteral<"css">;
|
|
7595
|
+
selector: z.ZodString;
|
|
7596
|
+
}, z.core.$strict>], "kind">>>;
|
|
7597
|
+
}, z.core.$strict>], "type">;
|
|
7598
|
+
}, z.core.$strict>;
|
|
7599
|
+
export type BrowserProtectedAuthFillCommand = z.infer<typeof BrowserProtectedAuthFillCommand>;
|
|
7600
|
+
export declare const BrowserProtectedAuthObservation: z.ZodObject<{
|
|
7601
|
+
target: z.ZodObject<{
|
|
7602
|
+
id: z.ZodString;
|
|
7603
|
+
browserSessionId: z.ZodString;
|
|
7604
|
+
controllerGeneration: z.ZodString;
|
|
7605
|
+
targetGeneration: z.ZodString;
|
|
7606
|
+
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
7607
|
+
kind: z.ZodEnum<{
|
|
7608
|
+
background_page: "background_page";
|
|
7609
|
+
page: "page";
|
|
7610
|
+
popup: "popup";
|
|
7611
|
+
worker: "worker";
|
|
7612
|
+
}>;
|
|
7613
|
+
title: z.ZodString;
|
|
7614
|
+
url: z.ZodString;
|
|
7615
|
+
selected: z.ZodBoolean;
|
|
7616
|
+
attached: z.ZodBoolean;
|
|
7617
|
+
createdAt: z.ZodString;
|
|
7618
|
+
}, z.core.$strict>;
|
|
7619
|
+
status: z.ZodEnum<{
|
|
7620
|
+
submitted: "submitted";
|
|
7621
|
+
working: "working";
|
|
7622
|
+
}>;
|
|
7623
|
+
}, z.core.$strict>;
|
|
7624
|
+
export type BrowserProtectedAuthObservation = z.infer<typeof BrowserProtectedAuthObservation>;
|
|
7625
|
+
/** Secret-free placement receipt. It can be journaled, replayed, and returned
|
|
7626
|
+
* to the broker without retaining any field value or model-visible page tree. */
|
|
7627
|
+
export declare const BrowserProtectedAuthFillReceipt: z.ZodObject<{
|
|
7628
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
7629
|
+
operationId: z.ZodString;
|
|
7630
|
+
browserSessionId: z.ZodString;
|
|
7631
|
+
controllerGeneration: z.ZodString;
|
|
7632
|
+
targetId: z.ZodString;
|
|
7633
|
+
state: z.ZodEnum<{
|
|
7634
|
+
completed: "completed";
|
|
7635
|
+
dispatched: "dispatched";
|
|
7636
|
+
failed: "failed";
|
|
7637
|
+
outcome_unknown: "outcome_unknown";
|
|
7638
|
+
prepared: "prepared";
|
|
7639
|
+
}>;
|
|
7640
|
+
dispatchedAt: z.ZodNullable<z.ZodString>;
|
|
7641
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
7642
|
+
observation: z.ZodNullable<z.ZodObject<{
|
|
7643
|
+
target: z.ZodObject<{
|
|
7644
|
+
id: z.ZodString;
|
|
7645
|
+
browserSessionId: z.ZodString;
|
|
7646
|
+
controllerGeneration: z.ZodString;
|
|
7647
|
+
targetGeneration: z.ZodString;
|
|
7648
|
+
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
7649
|
+
kind: z.ZodEnum<{
|
|
7650
|
+
background_page: "background_page";
|
|
7651
|
+
page: "page";
|
|
7652
|
+
popup: "popup";
|
|
7653
|
+
worker: "worker";
|
|
7654
|
+
}>;
|
|
7655
|
+
title: z.ZodString;
|
|
7656
|
+
url: z.ZodString;
|
|
7657
|
+
selected: z.ZodBoolean;
|
|
7658
|
+
attached: z.ZodBoolean;
|
|
7659
|
+
createdAt: z.ZodString;
|
|
7660
|
+
}, z.core.$strict>;
|
|
7661
|
+
status: z.ZodEnum<{
|
|
7662
|
+
submitted: "submitted";
|
|
7663
|
+
working: "working";
|
|
7664
|
+
}>;
|
|
7665
|
+
}, z.core.$strict>>;
|
|
7666
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
7667
|
+
code: z.ZodEnum<{
|
|
7668
|
+
attempt_stale: "attempt_stale";
|
|
7669
|
+
controller_lost: "controller_lost";
|
|
7670
|
+
controller_stale: "controller_stale";
|
|
7671
|
+
document_stale: "document_stale";
|
|
7672
|
+
driver_failed: "driver_failed";
|
|
7673
|
+
frame_stale: "frame_stale";
|
|
7674
|
+
invalid_action: "invalid_action";
|
|
7675
|
+
locator_ambiguous: "locator_ambiguous";
|
|
7676
|
+
locator_not_found: "locator_not_found";
|
|
7677
|
+
machine_locked: "machine_locked";
|
|
7678
|
+
observation_stale: "observation_stale";
|
|
7679
|
+
operation_conflict: "operation_conflict";
|
|
7680
|
+
outcome_unknown: "outcome_unknown";
|
|
7681
|
+
permission_denied: "permission_denied";
|
|
7682
|
+
resource_not_found: "resource_not_found";
|
|
7683
|
+
resource_unavailable: "resource_unavailable";
|
|
7684
|
+
target_not_found: "target_not_found";
|
|
7685
|
+
target_stale: "target_stale";
|
|
7686
|
+
timeout: "timeout";
|
|
7687
|
+
unsupported: "unsupported";
|
|
7688
|
+
}>;
|
|
7689
|
+
message: z.ZodString;
|
|
7690
|
+
retryable: z.ZodBoolean;
|
|
7691
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
7692
|
+
}, z.core.$strict>>;
|
|
7693
|
+
}, z.core.$strict>;
|
|
7694
|
+
export type BrowserProtectedAuthFillReceipt = z.infer<typeof BrowserProtectedAuthFillReceipt>;
|
|
6018
7695
|
export declare const ComputerSessionCapabilities: z.ZodObject<{
|
|
6019
7696
|
semanticObservation: z.ZodBoolean;
|
|
6020
7697
|
appDiscovery: z.ZodBoolean;
|
|
@@ -6024,10 +7701,23 @@ export declare const ComputerSessionCapabilities: z.ZodObject<{
|
|
|
6024
7701
|
semanticActions: z.ZodBoolean;
|
|
6025
7702
|
pointerInput: z.ZodBoolean;
|
|
6026
7703
|
keyboardInput: z.ZodBoolean;
|
|
7704
|
+
clipboard: z.ZodBoolean;
|
|
6027
7705
|
backgroundActions: z.ZodBoolean;
|
|
7706
|
+
backgroundInput: z.ZodOptional<z.ZodBoolean>;
|
|
6028
7707
|
parallelApps: z.ZodBoolean;
|
|
6029
7708
|
}, z.core.$strict>;
|
|
6030
7709
|
export type ComputerSessionCapabilities = z.infer<typeof ComputerSessionCapabilities>;
|
|
7710
|
+
/** A fresh bounded read of the native clipboard for the ComputerSession's
|
|
7711
|
+
* graphical seat. Physical ComputerSessions on the same login seat intentionally
|
|
7712
|
+
* observe the same OS clipboard; BrowserSession private clipboards never do. */
|
|
7713
|
+
export declare const ComputerClipboard: z.ZodObject<{
|
|
7714
|
+
computerSessionId: z.ZodString;
|
|
7715
|
+
controllerGeneration: z.ZodString;
|
|
7716
|
+
text: z.ZodNullable<z.ZodString>;
|
|
7717
|
+
truncated: z.ZodBoolean;
|
|
7718
|
+
observedAt: z.ZodString;
|
|
7719
|
+
}, z.core.$strict>;
|
|
7720
|
+
export type ComputerClipboard = z.infer<typeof ComputerClipboard>;
|
|
6031
7721
|
export declare const ComputerSession: z.ZodObject<{
|
|
6032
7722
|
id: z.ZodString;
|
|
6033
7723
|
accountId: z.ZodString;
|
|
@@ -6081,7 +7771,9 @@ export declare const ComputerSession: z.ZodObject<{
|
|
|
6081
7771
|
semanticActions: z.ZodBoolean;
|
|
6082
7772
|
pointerInput: z.ZodBoolean;
|
|
6083
7773
|
keyboardInput: z.ZodBoolean;
|
|
7774
|
+
clipboard: z.ZodBoolean;
|
|
6084
7775
|
backgroundActions: z.ZodBoolean;
|
|
7776
|
+
backgroundInput: z.ZodOptional<z.ZodBoolean>;
|
|
6085
7777
|
parallelApps: z.ZodBoolean;
|
|
6086
7778
|
}, z.core.$strict>>;
|
|
6087
7779
|
associations: z.ZodArray<z.ZodObject<{
|
|
@@ -6166,6 +7858,7 @@ export declare const ComputerObservation: z.ZodObject<{
|
|
|
6166
7858
|
artifactId: z.ZodString;
|
|
6167
7859
|
kind: z.ZodEnum<{
|
|
6168
7860
|
assistant_completion: "assistant_completion";
|
|
7861
|
+
browser_screenshot: "browser_screenshot";
|
|
6169
7862
|
computer_screenshot: "computer_screenshot";
|
|
6170
7863
|
event_media: "event_media";
|
|
6171
7864
|
file: "file";
|
|
@@ -6270,6 +7963,15 @@ export declare const ComputerAction: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6270
7963
|
type: "type";
|
|
6271
7964
|
}>;
|
|
6272
7965
|
value: z.ZodString;
|
|
7966
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7967
|
+
type: z.ZodLiteral<"clipboard">;
|
|
7968
|
+
operation: z.ZodEnum<{
|
|
7969
|
+
clear: "clear";
|
|
7970
|
+
copy: "copy";
|
|
7971
|
+
paste: "paste";
|
|
7972
|
+
write: "write";
|
|
7973
|
+
}>;
|
|
7974
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6273
7975
|
}, z.core.$strict>, z.ZodObject<{
|
|
6274
7976
|
type: z.ZodLiteral<"focus">;
|
|
6275
7977
|
targetId: z.ZodString;
|
|
@@ -6363,6 +8065,15 @@ export declare const ComputerActionCommand: z.ZodObject<{
|
|
|
6363
8065
|
type: "type";
|
|
6364
8066
|
}>;
|
|
6365
8067
|
value: z.ZodString;
|
|
8068
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8069
|
+
type: z.ZodLiteral<"clipboard">;
|
|
8070
|
+
operation: z.ZodEnum<{
|
|
8071
|
+
clear: "clear";
|
|
8072
|
+
copy: "copy";
|
|
8073
|
+
paste: "paste";
|
|
8074
|
+
write: "write";
|
|
8075
|
+
}>;
|
|
8076
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6366
8077
|
}, z.core.$strict>, z.ZodObject<{
|
|
6367
8078
|
type: z.ZodLiteral<"focus">;
|
|
6368
8079
|
targetId: z.ZodString;
|
|
@@ -6428,6 +8139,7 @@ export declare const ComputerActionReceipt: z.ZodObject<{
|
|
|
6428
8139
|
artifactId: z.ZodString;
|
|
6429
8140
|
kind: z.ZodEnum<{
|
|
6430
8141
|
assistant_completion: "assistant_completion";
|
|
8142
|
+
browser_screenshot: "browser_screenshot";
|
|
6431
8143
|
computer_screenshot: "computer_screenshot";
|
|
6432
8144
|
event_media: "event_media";
|
|
6433
8145
|
file: "file";
|
|
@@ -6574,7 +8286,9 @@ export declare const ComputerSessionListResponse: z.ZodObject<{
|
|
|
6574
8286
|
semanticActions: z.ZodBoolean;
|
|
6575
8287
|
pointerInput: z.ZodBoolean;
|
|
6576
8288
|
keyboardInput: z.ZodBoolean;
|
|
8289
|
+
clipboard: z.ZodBoolean;
|
|
6577
8290
|
backgroundActions: z.ZodBoolean;
|
|
8291
|
+
backgroundInput: z.ZodOptional<z.ZodBoolean>;
|
|
6578
8292
|
parallelApps: z.ZodBoolean;
|
|
6579
8293
|
}, z.core.$strict>>;
|
|
6580
8294
|
associations: z.ZodArray<z.ZodObject<{
|
|
@@ -6651,7 +8365,9 @@ export declare const ComputerSessionMutationResponse: z.ZodObject<{
|
|
|
6651
8365
|
semanticActions: z.ZodBoolean;
|
|
6652
8366
|
pointerInput: z.ZodBoolean;
|
|
6653
8367
|
keyboardInput: z.ZodBoolean;
|
|
8368
|
+
clipboard: z.ZodBoolean;
|
|
6654
8369
|
backgroundActions: z.ZodBoolean;
|
|
8370
|
+
backgroundInput: z.ZodOptional<z.ZodBoolean>;
|
|
6655
8371
|
parallelApps: z.ZodBoolean;
|
|
6656
8372
|
}, z.core.$strict>>;
|
|
6657
8373
|
associations: z.ZodArray<z.ZodObject<{
|
|
@@ -6772,10 +8488,16 @@ export declare const ComputerSessionAttachment: z.ZodObject<{
|
|
|
6772
8488
|
computerSessionId: z.ZodString;
|
|
6773
8489
|
controllerGeneration: z.ZodString;
|
|
6774
8490
|
targetId: z.ZodString;
|
|
8491
|
+
inputAllowed: z.ZodOptional<z.ZodBoolean>;
|
|
6775
8492
|
stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6776
8493
|
kind: z.ZodLiteral<"direct_websocket">;
|
|
6777
8494
|
url: z.ZodString;
|
|
6778
8495
|
protocols: z.ZodArray<z.ZodString>;
|
|
8496
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8497
|
+
kind: z.ZodLiteral<"direct_rfb">;
|
|
8498
|
+
url: z.ZodString;
|
|
8499
|
+
protocols: z.ZodArray<z.ZodString>;
|
|
8500
|
+
inputAllowed: z.ZodDefault<z.ZodBoolean>;
|
|
6779
8501
|
}, z.core.$strict>, z.ZodObject<{
|
|
6780
8502
|
kind: z.ZodLiteral<"relay">;
|
|
6781
8503
|
url: z.ZodString;
|
|
@@ -6791,6 +8513,14 @@ export declare const ComputerSessionAttachment: z.ZodObject<{
|
|
|
6791
8513
|
expiresAt: z.ZodString;
|
|
6792
8514
|
}, z.core.$strict>;
|
|
6793
8515
|
export type ComputerSessionAttachment = z.infer<typeof ComputerSessionAttachment>;
|
|
8516
|
+
/** Caller-specific human input posture, independent of media/native capability.
|
|
8517
|
+
* It is a current-controller hint; every action still reauthorizes. */
|
|
8518
|
+
export declare const ComputerSessionInputPosture: z.ZodObject<{
|
|
8519
|
+
computerSessionId: z.ZodString;
|
|
8520
|
+
controllerGeneration: z.ZodString;
|
|
8521
|
+
inputAllowed: z.ZodBoolean;
|
|
8522
|
+
}, z.core.$strict>;
|
|
8523
|
+
export type ComputerSessionInputPosture = z.infer<typeof ComputerSessionInputPosture>;
|
|
6794
8524
|
export declare const ComputerSessionAttachmentRequest: z.ZodObject<{
|
|
6795
8525
|
targetId: z.ZodString;
|
|
6796
8526
|
expiresInSeconds: z.ZodDefault<z.ZodNumber>;
|
|
@@ -6878,6 +8608,15 @@ export declare const ComputerActionRequest: z.ZodObject<{
|
|
|
6878
8608
|
type: "type";
|
|
6879
8609
|
}>;
|
|
6880
8610
|
value: z.ZodString;
|
|
8611
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8612
|
+
type: z.ZodLiteral<"clipboard">;
|
|
8613
|
+
operation: z.ZodEnum<{
|
|
8614
|
+
clear: "clear";
|
|
8615
|
+
copy: "copy";
|
|
8616
|
+
paste: "paste";
|
|
8617
|
+
write: "write";
|
|
8618
|
+
}>;
|
|
8619
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6881
8620
|
}, z.core.$strict>, z.ZodObject<{
|
|
6882
8621
|
type: z.ZodLiteral<"focus">;
|
|
6883
8622
|
targetId: z.ZodString;
|