@opengeni/contracts 0.44.1 → 0.50.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/atlassian.js +10 -8
- 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-CM6BMECR.js +24 -0
- package/dist/chunk-CM6BMECR.js.map +1 -0
- package/dist/{chunk-FJBG5E4O.js → chunk-JBCIY7QD.js} +12 -12
- package/dist/chunk-JUFK3T4Q.js +80 -0
- package/dist/chunk-JUFK3T4Q.js.map +1 -0
- package/dist/{chunk-H5BVCZKF.js → chunk-LW7OH6CS.js} +2 -2
- package/dist/{chunk-52SGB2QO.js → chunk-M5ZGRVIQ.js} +37 -6
- package/dist/chunk-M5ZGRVIQ.js.map +1 -0
- package/dist/{chunk-VA22KRHS.js → chunk-Q6A7XT2N.js} +6371 -4814
- package/dist/chunk-Q6A7XT2N.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/editable-artifact-codec-registry.js +5 -5
- package/dist/editable-artifact-live.js +3 -3
- package/dist/editable-artifact-serialized-commit.js +4 -4
- package/dist/editable-artifacts.js +27 -27
- package/dist/google-drive.js +11 -9
- package/dist/google-drive.js.map +1 -1
- package/dist/index.d.ts +1318 -128
- package/dist/index.js +400 -80
- package/dist/interaction.d.ts +1415 -20
- package/dist/knowledge.d.ts +543 -0
- package/dist/slack-task-policy.d.ts +294 -0
- package/dist/task-notes.d.ts +128 -0
- package/dist/video-generation.d.ts +48 -0
- package/dist/video-generation.js +9 -1
- package/dist/xai-provider-account-authority.d.ts +23 -0
- package/dist/xai-provider-account-authority.js +9 -0
- package/dist/xai-provider-account-authority.js.map +1 -0
- package/package.json +13 -1
- package/src/artifacts.ts +1 -1
- package/src/canonical-human-identities.ts +93 -0
- package/src/codex-provider-account-authority.ts +37 -0
- package/src/index.ts +731 -138
- package/src/interaction.ts +886 -5
- package/src/knowledge.ts +207 -0
- package/src/slack-task-policy.ts +215 -0
- package/src/task-notes.ts +92 -0
- package/src/video-generation.ts +43 -6
- package/src/xai-provider-account-authority.ts +37 -0
- package/dist/chunk-52SGB2QO.js.map +0 -1
- package/dist/chunk-VA22KRHS.js.map +0 -1
- /package/dist/{chunk-FJBG5E4O.js.map → chunk-JBCIY7QD.js.map} +0 -0
- /package/dist/{chunk-H5BVCZKF.js.map → chunk-LW7OH6CS.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;
|
|
@@ -150,6 +167,7 @@ export declare const BrowserSession: z.ZodObject<{
|
|
|
150
167
|
downloads: z.ZodBoolean;
|
|
151
168
|
uploads: z.ZodBoolean;
|
|
152
169
|
clipboard: z.ZodBoolean;
|
|
170
|
+
permissions: z.ZodBoolean;
|
|
153
171
|
diagnostics: z.ZodBoolean;
|
|
154
172
|
rawCdp: z.ZodBoolean;
|
|
155
173
|
linkedComputer: z.ZodBoolean;
|
|
@@ -176,6 +194,25 @@ export declare const BrowserSession: z.ZodObject<{
|
|
|
176
194
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
177
195
|
}, z.core.$strict>;
|
|
178
196
|
export type BrowserSession = z.infer<typeof BrowserSession>;
|
|
197
|
+
/** Controller-private, BrowserSession-scoped clipboard. This is deliberately
|
|
198
|
+
* distinct from a ComputerSession/host OS clipboard so concurrent browsers do
|
|
199
|
+
* not exchange ambient machine state. */
|
|
200
|
+
export declare const BrowserClipboard: z.ZodObject<{
|
|
201
|
+
browserSessionId: z.ZodString;
|
|
202
|
+
controllerGeneration: z.ZodString;
|
|
203
|
+
revision: z.ZodNumber;
|
|
204
|
+
text: z.ZodString;
|
|
205
|
+
source: z.ZodEnum<{
|
|
206
|
+
clear: "clear";
|
|
207
|
+
copy: "copy";
|
|
208
|
+
empty: "empty";
|
|
209
|
+
paste: "paste";
|
|
210
|
+
write: "write";
|
|
211
|
+
}>;
|
|
212
|
+
sourceTargetId: z.ZodNullable<z.ZodString>;
|
|
213
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
214
|
+
}, z.core.$strict>;
|
|
215
|
+
export type BrowserClipboard = z.infer<typeof BrowserClipboard>;
|
|
179
216
|
/** One live Chrome-profile bridge installed on an enrolled machine. This is a
|
|
180
217
|
* transport endpoint, not saved browser/login state: BrowserIdentity remains
|
|
181
218
|
* the immutable, reusable state abstraction. */
|
|
@@ -593,6 +630,7 @@ export declare const BrowserIdentity: z.ZodObject<{
|
|
|
593
630
|
active: "active";
|
|
594
631
|
archived: "archived";
|
|
595
632
|
}>;
|
|
633
|
+
version: z.ZodNumber;
|
|
596
634
|
defaultRevisionId: z.ZodNullable<z.ZodString>;
|
|
597
635
|
headGeneration: z.ZodNumber;
|
|
598
636
|
revisionCount: z.ZodNumber;
|
|
@@ -692,6 +730,10 @@ export declare const NetworkRouteConsistency: z.ZodObject<{
|
|
|
692
730
|
}>;
|
|
693
731
|
}, z.core.$strict>;
|
|
694
732
|
export type NetworkRouteConsistency = z.infer<typeof NetworkRouteConsistency>;
|
|
733
|
+
export declare function interactionPlacementsEqual(left: InteractionPlacement, right: InteractionPlacement): boolean;
|
|
734
|
+
/** One secret-free compatibility rule shared by configuration, persistence,
|
|
735
|
+
* and launch. `null` placement means the ordinary managed sandbox default. */
|
|
736
|
+
export declare function networkRoutePlacementCompatibilityIssue(configuration: NetworkRouteConfiguration, consistency: NetworkRouteConsistency, placement: InteractionPlacement | null): string | null;
|
|
695
737
|
export declare const NetworkRoute: z.ZodObject<{
|
|
696
738
|
id: z.ZodString;
|
|
697
739
|
accountId: z.ZodString;
|
|
@@ -1185,6 +1227,7 @@ export declare const SiteAuthAuthority: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1185
1227
|
kind: z.ZodLiteral<"external_provider">;
|
|
1186
1228
|
label: z.ZodString;
|
|
1187
1229
|
adapterId: z.ZodString;
|
|
1230
|
+
connectionId: z.ZodString;
|
|
1188
1231
|
credential: z.ZodNullable<z.ZodObject<{
|
|
1189
1232
|
connectionId: z.ZodString;
|
|
1190
1233
|
connectionSubjectId: z.ZodNullable<z.ZodString>;
|
|
@@ -1221,6 +1264,19 @@ export declare const SiteAuthVerificationState: z.ZodEnum<{
|
|
|
1221
1264
|
verified: "verified";
|
|
1222
1265
|
}>;
|
|
1223
1266
|
export type SiteAuthVerificationState = z.infer<typeof SiteAuthVerificationState>;
|
|
1267
|
+
export declare const SiteAuthMaintenance: z.ZodObject<{
|
|
1268
|
+
action: z.ZodEnum<{
|
|
1269
|
+
health_check: "health_check";
|
|
1270
|
+
repair: "repair";
|
|
1271
|
+
}>;
|
|
1272
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
1273
|
+
dueAt: z.ZodString;
|
|
1274
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
1275
|
+
}, z.core.$strict>;
|
|
1276
|
+
export type SiteAuthMaintenance = z.infer<typeof SiteAuthMaintenance>;
|
|
1277
|
+
/** Trusted service provenance for scheduler-authored maintenance sessions. */
|
|
1278
|
+
export declare const SITE_AUTH_MAINTENANCE_OPERATION_CONTEXT_KEY: "opengeniSiteAuthMaintenanceOperationId";
|
|
1279
|
+
export declare const SITE_AUTH_MAINTENANCE_CONNECTION_CONTEXT_KEY: "opengeniSiteAuthConnectionId";
|
|
1224
1280
|
export declare const SiteAuthConnection: z.ZodObject<{
|
|
1225
1281
|
name: z.ZodString;
|
|
1226
1282
|
accountLabel: z.ZodString;
|
|
@@ -1271,6 +1327,7 @@ export declare const SiteAuthConnection: z.ZodObject<{
|
|
|
1271
1327
|
kind: z.ZodLiteral<"external_provider">;
|
|
1272
1328
|
label: z.ZodString;
|
|
1273
1329
|
adapterId: z.ZodString;
|
|
1330
|
+
connectionId: z.ZodString;
|
|
1274
1331
|
credential: z.ZodNullable<z.ZodObject<{
|
|
1275
1332
|
connectionId: z.ZodString;
|
|
1276
1333
|
connectionSubjectId: z.ZodNullable<z.ZodString>;
|
|
@@ -1328,6 +1385,17 @@ export declare const SiteAuthConnection: z.ZodObject<{
|
|
|
1328
1385
|
}>;
|
|
1329
1386
|
lastVerifiedAt: z.ZodNullable<z.ZodString>;
|
|
1330
1387
|
lastVerifiedUrl: z.ZodNullable<z.ZodString>;
|
|
1388
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
1389
|
+
nextCheckAt: z.ZodNullable<z.ZodString>;
|
|
1390
|
+
maintenance: z.ZodNullable<z.ZodObject<{
|
|
1391
|
+
action: z.ZodEnum<{
|
|
1392
|
+
health_check: "health_check";
|
|
1393
|
+
repair: "repair";
|
|
1394
|
+
}>;
|
|
1395
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
1396
|
+
dueAt: z.ZodString;
|
|
1397
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
1398
|
+
}, z.core.$strict>>;
|
|
1331
1399
|
repairCode: z.ZodNullable<z.ZodString>;
|
|
1332
1400
|
version: z.ZodNumber;
|
|
1333
1401
|
createdBySubjectId: z.ZodString;
|
|
@@ -1387,6 +1455,7 @@ export declare const SiteAuthConnectionListResponse: z.ZodObject<{
|
|
|
1387
1455
|
kind: z.ZodLiteral<"external_provider">;
|
|
1388
1456
|
label: z.ZodString;
|
|
1389
1457
|
adapterId: z.ZodString;
|
|
1458
|
+
connectionId: z.ZodString;
|
|
1390
1459
|
credential: z.ZodNullable<z.ZodObject<{
|
|
1391
1460
|
connectionId: z.ZodString;
|
|
1392
1461
|
connectionSubjectId: z.ZodNullable<z.ZodString>;
|
|
@@ -1444,6 +1513,17 @@ export declare const SiteAuthConnectionListResponse: z.ZodObject<{
|
|
|
1444
1513
|
}>;
|
|
1445
1514
|
lastVerifiedAt: z.ZodNullable<z.ZodString>;
|
|
1446
1515
|
lastVerifiedUrl: z.ZodNullable<z.ZodString>;
|
|
1516
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
1517
|
+
nextCheckAt: z.ZodNullable<z.ZodString>;
|
|
1518
|
+
maintenance: z.ZodNullable<z.ZodObject<{
|
|
1519
|
+
action: z.ZodEnum<{
|
|
1520
|
+
health_check: "health_check";
|
|
1521
|
+
repair: "repair";
|
|
1522
|
+
}>;
|
|
1523
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
1524
|
+
dueAt: z.ZodString;
|
|
1525
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
1526
|
+
}, z.core.$strict>>;
|
|
1447
1527
|
repairCode: z.ZodNullable<z.ZodString>;
|
|
1448
1528
|
version: z.ZodNumber;
|
|
1449
1529
|
createdBySubjectId: z.ZodString;
|
|
@@ -1502,6 +1582,7 @@ export declare const CreateSiteAuthConnectionRequest: z.ZodObject<{
|
|
|
1502
1582
|
kind: z.ZodLiteral<"external_provider">;
|
|
1503
1583
|
label: z.ZodString;
|
|
1504
1584
|
adapterId: z.ZodString;
|
|
1585
|
+
connectionId: z.ZodString;
|
|
1505
1586
|
credential: z.ZodNullable<z.ZodObject<{
|
|
1506
1587
|
connectionId: z.ZodString;
|
|
1507
1588
|
connectionSubjectId: z.ZodNullable<z.ZodString>;
|
|
@@ -1597,6 +1678,7 @@ export declare const UpdateSiteAuthConnectionRequest: z.ZodObject<{
|
|
|
1597
1678
|
kind: z.ZodLiteral<"external_provider">;
|
|
1598
1679
|
label: z.ZodString;
|
|
1599
1680
|
adapterId: z.ZodString;
|
|
1681
|
+
connectionId: z.ZodString;
|
|
1600
1682
|
credential: z.ZodNullable<z.ZodObject<{
|
|
1601
1683
|
connectionId: z.ZodString;
|
|
1602
1684
|
connectionSubjectId: z.ZodNullable<z.ZodString>;
|
|
@@ -1698,6 +1780,7 @@ export declare const SiteAuthConnectionMutationResponse: z.ZodObject<{
|
|
|
1698
1780
|
kind: z.ZodLiteral<"external_provider">;
|
|
1699
1781
|
label: z.ZodString;
|
|
1700
1782
|
adapterId: z.ZodString;
|
|
1783
|
+
connectionId: z.ZodString;
|
|
1701
1784
|
credential: z.ZodNullable<z.ZodObject<{
|
|
1702
1785
|
connectionId: z.ZodString;
|
|
1703
1786
|
connectionSubjectId: z.ZodNullable<z.ZodString>;
|
|
@@ -1755,6 +1838,17 @@ export declare const SiteAuthConnectionMutationResponse: z.ZodObject<{
|
|
|
1755
1838
|
}>;
|
|
1756
1839
|
lastVerifiedAt: z.ZodNullable<z.ZodString>;
|
|
1757
1840
|
lastVerifiedUrl: z.ZodNullable<z.ZodString>;
|
|
1841
|
+
lastCheckedAt: z.ZodNullable<z.ZodString>;
|
|
1842
|
+
nextCheckAt: z.ZodNullable<z.ZodString>;
|
|
1843
|
+
maintenance: z.ZodNullable<z.ZodObject<{
|
|
1844
|
+
action: z.ZodEnum<{
|
|
1845
|
+
health_check: "health_check";
|
|
1846
|
+
repair: "repair";
|
|
1847
|
+
}>;
|
|
1848
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
1849
|
+
dueAt: z.ZodString;
|
|
1850
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
1851
|
+
}, z.core.$strict>>;
|
|
1758
1852
|
repairCode: z.ZodNullable<z.ZodString>;
|
|
1759
1853
|
version: z.ZodNumber;
|
|
1760
1854
|
createdBySubjectId: z.ZodString;
|
|
@@ -1816,6 +1910,11 @@ export declare const AuthRun: z.ZodObject<{
|
|
|
1816
1910
|
controllerGeneration: z.ZodString;
|
|
1817
1911
|
targetGeneration: z.ZodString;
|
|
1818
1912
|
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
1913
|
+
purpose: z.ZodEnum<{
|
|
1914
|
+
authenticate: "authenticate";
|
|
1915
|
+
health_check: "health_check";
|
|
1916
|
+
repair: "repair";
|
|
1917
|
+
}>;
|
|
1819
1918
|
methodId: z.ZodNullable<z.ZodString>;
|
|
1820
1919
|
authorityId: z.ZodNullable<z.ZodString>;
|
|
1821
1920
|
state: z.ZodEnum<{
|
|
@@ -1877,6 +1976,11 @@ export declare const AuthRunListResponse: z.ZodObject<{
|
|
|
1877
1976
|
controllerGeneration: z.ZodString;
|
|
1878
1977
|
targetGeneration: z.ZodString;
|
|
1879
1978
|
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
1979
|
+
purpose: z.ZodEnum<{
|
|
1980
|
+
authenticate: "authenticate";
|
|
1981
|
+
health_check: "health_check";
|
|
1982
|
+
repair: "repair";
|
|
1983
|
+
}>;
|
|
1880
1984
|
methodId: z.ZodNullable<z.ZodString>;
|
|
1881
1985
|
authorityId: z.ZodNullable<z.ZodString>;
|
|
1882
1986
|
state: z.ZodEnum<{
|
|
@@ -1939,6 +2043,11 @@ export declare const AuthRunMutationResponse: z.ZodObject<{
|
|
|
1939
2043
|
controllerGeneration: z.ZodString;
|
|
1940
2044
|
targetGeneration: z.ZodString;
|
|
1941
2045
|
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
2046
|
+
purpose: z.ZodEnum<{
|
|
2047
|
+
authenticate: "authenticate";
|
|
2048
|
+
health_check: "health_check";
|
|
2049
|
+
repair: "repair";
|
|
2050
|
+
}>;
|
|
1942
2051
|
methodId: z.ZodNullable<z.ZodString>;
|
|
1943
2052
|
authorityId: z.ZodNullable<z.ZodString>;
|
|
1944
2053
|
state: z.ZodEnum<{
|
|
@@ -1998,12 +2107,58 @@ export declare const StartAuthRunRequest: z.ZodObject<{
|
|
|
1998
2107
|
targetId: z.ZodString;
|
|
1999
2108
|
expectedTargetGeneration: z.ZodString;
|
|
2000
2109
|
expectedDocumentGeneration: z.ZodNullable<z.ZodString>;
|
|
2110
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
2111
|
+
authenticate: "authenticate";
|
|
2112
|
+
health_check: "health_check";
|
|
2113
|
+
repair: "repair";
|
|
2114
|
+
}>>;
|
|
2001
2115
|
methodId: z.ZodOptional<z.ZodString>;
|
|
2002
2116
|
authorityId: z.ZodOptional<z.ZodString>;
|
|
2003
2117
|
}, z.core.$strict>;
|
|
2004
2118
|
export type StartAuthRunRequest = z.infer<typeof StartAuthRunRequest>;
|
|
2119
|
+
export declare const ReportAuthRunPayload: z.ZodObject<{
|
|
2120
|
+
expectedVersion: z.ZodNumber;
|
|
2121
|
+
methodId: z.ZodOptional<z.ZodString>;
|
|
2122
|
+
authorityId: z.ZodOptional<z.ZodString>;
|
|
2123
|
+
state: z.ZodEnum<{
|
|
2124
|
+
awaiting_choice: "awaiting_choice";
|
|
2125
|
+
awaiting_external_action: "awaiting_external_action";
|
|
2126
|
+
awaiting_secret: "awaiting_secret";
|
|
2127
|
+
cancelled: "cancelled";
|
|
2128
|
+
failed: "failed";
|
|
2129
|
+
working: "working";
|
|
2130
|
+
}>;
|
|
2131
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2132
|
+
id: z.ZodString;
|
|
2133
|
+
label: z.ZodString;
|
|
2134
|
+
methodId: z.ZodString;
|
|
2135
|
+
}, z.core.$strict>>>;
|
|
2136
|
+
pendingFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2137
|
+
id: z.ZodString;
|
|
2138
|
+
label: z.ZodString;
|
|
2139
|
+
purpose: z.ZodEnum<{
|
|
2140
|
+
identifier: "identifier";
|
|
2141
|
+
password: "password";
|
|
2142
|
+
secret: "secret";
|
|
2143
|
+
totp: "totp";
|
|
2144
|
+
}>;
|
|
2145
|
+
}, z.core.$strict>>>;
|
|
2146
|
+
externalAction: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2147
|
+
kind: z.ZodEnum<{
|
|
2148
|
+
device: "device";
|
|
2149
|
+
human: "human";
|
|
2150
|
+
other: "other";
|
|
2151
|
+
passkey: "passkey";
|
|
2152
|
+
push: "push";
|
|
2153
|
+
security_key: "security_key";
|
|
2154
|
+
}>;
|
|
2155
|
+
label: z.ZodString;
|
|
2156
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2157
|
+
}, z.core.$strict>>>;
|
|
2158
|
+
failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2159
|
+
}, z.core.$strict>;
|
|
2160
|
+
export type ReportAuthRunPayload = z.infer<typeof ReportAuthRunPayload>;
|
|
2005
2161
|
export declare const ReportAuthRunRequest: z.ZodObject<{
|
|
2006
|
-
operationId: z.ZodString;
|
|
2007
2162
|
expectedVersion: z.ZodNumber;
|
|
2008
2163
|
methodId: z.ZodOptional<z.ZodString>;
|
|
2009
2164
|
authorityId: z.ZodOptional<z.ZodString>;
|
|
@@ -2043,6 +2198,7 @@ export declare const ReportAuthRunRequest: z.ZodObject<{
|
|
|
2043
2198
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2044
2199
|
}, z.core.$strict>>>;
|
|
2045
2200
|
failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2201
|
+
operationId: z.ZodString;
|
|
2046
2202
|
}, z.core.$strict>;
|
|
2047
2203
|
export type ReportAuthRunRequest = z.infer<typeof ReportAuthRunRequest>;
|
|
2048
2204
|
export declare const ProtectedAuthField: z.ZodObject<{
|
|
@@ -2233,6 +2389,11 @@ export declare const ProtectedAuthFillResponse: z.ZodObject<{
|
|
|
2233
2389
|
controllerGeneration: z.ZodString;
|
|
2234
2390
|
targetGeneration: z.ZodString;
|
|
2235
2391
|
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
2392
|
+
purpose: z.ZodEnum<{
|
|
2393
|
+
authenticate: "authenticate";
|
|
2394
|
+
health_check: "health_check";
|
|
2395
|
+
repair: "repair";
|
|
2396
|
+
}>;
|
|
2236
2397
|
methodId: z.ZodNullable<z.ZodString>;
|
|
2237
2398
|
authorityId: z.ZodNullable<z.ZodString>;
|
|
2238
2399
|
state: z.ZodEnum<{
|
|
@@ -2293,6 +2454,144 @@ export declare const ProtectedAuthFillResponse: z.ZodObject<{
|
|
|
2293
2454
|
replayed: z.ZodBoolean;
|
|
2294
2455
|
}, z.core.$strict>;
|
|
2295
2456
|
export type ProtectedAuthFillResponse = z.infer<typeof ProtectedAuthFillResponse>;
|
|
2457
|
+
/** Public request for advancing a provider-managed AuthRun. Provider secrets,
|
|
2458
|
+
* profile names, browser ids, and hosted-login URLs stay behind browserd. */
|
|
2459
|
+
export declare const ExternalAuthRunRequest: z.ZodObject<{
|
|
2460
|
+
operationId: z.ZodString;
|
|
2461
|
+
expectedVersion: z.ZodNumber;
|
|
2462
|
+
action: z.ZodEnum<{
|
|
2463
|
+
poll: "poll";
|
|
2464
|
+
start: "start";
|
|
2465
|
+
}>;
|
|
2466
|
+
}, z.core.$strict>;
|
|
2467
|
+
export type ExternalAuthRunRequest = z.infer<typeof ExternalAuthRunRequest>;
|
|
2468
|
+
export declare const ExternalAuthRunResponse: z.ZodObject<{
|
|
2469
|
+
run: z.ZodObject<{
|
|
2470
|
+
id: z.ZodString;
|
|
2471
|
+
accountId: z.ZodString;
|
|
2472
|
+
workspaceId: z.ZodString;
|
|
2473
|
+
siteAuthConnectionId: z.ZodString;
|
|
2474
|
+
browserSessionId: z.ZodString;
|
|
2475
|
+
targetId: z.ZodString;
|
|
2476
|
+
controllerGeneration: z.ZodString;
|
|
2477
|
+
targetGeneration: z.ZodString;
|
|
2478
|
+
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
2479
|
+
purpose: z.ZodEnum<{
|
|
2480
|
+
authenticate: "authenticate";
|
|
2481
|
+
health_check: "health_check";
|
|
2482
|
+
repair: "repair";
|
|
2483
|
+
}>;
|
|
2484
|
+
methodId: z.ZodNullable<z.ZodString>;
|
|
2485
|
+
authorityId: z.ZodNullable<z.ZodString>;
|
|
2486
|
+
state: z.ZodEnum<{
|
|
2487
|
+
awaiting_choice: "awaiting_choice";
|
|
2488
|
+
awaiting_external_action: "awaiting_external_action";
|
|
2489
|
+
awaiting_secret: "awaiting_secret";
|
|
2490
|
+
cancelled: "cancelled";
|
|
2491
|
+
discovering: "discovering";
|
|
2492
|
+
failed: "failed";
|
|
2493
|
+
verified: "verified";
|
|
2494
|
+
working: "working";
|
|
2495
|
+
}>;
|
|
2496
|
+
choices: z.ZodArray<z.ZodObject<{
|
|
2497
|
+
id: z.ZodString;
|
|
2498
|
+
label: z.ZodString;
|
|
2499
|
+
methodId: z.ZodString;
|
|
2500
|
+
}, z.core.$strict>>;
|
|
2501
|
+
pendingFields: z.ZodArray<z.ZodObject<{
|
|
2502
|
+
id: z.ZodString;
|
|
2503
|
+
label: z.ZodString;
|
|
2504
|
+
purpose: z.ZodEnum<{
|
|
2505
|
+
identifier: "identifier";
|
|
2506
|
+
password: "password";
|
|
2507
|
+
secret: "secret";
|
|
2508
|
+
totp: "totp";
|
|
2509
|
+
}>;
|
|
2510
|
+
}, z.core.$strict>>;
|
|
2511
|
+
externalAction: z.ZodNullable<z.ZodObject<{
|
|
2512
|
+
kind: z.ZodEnum<{
|
|
2513
|
+
device: "device";
|
|
2514
|
+
human: "human";
|
|
2515
|
+
other: "other";
|
|
2516
|
+
passkey: "passkey";
|
|
2517
|
+
push: "push";
|
|
2518
|
+
security_key: "security_key";
|
|
2519
|
+
}>;
|
|
2520
|
+
label: z.ZodString;
|
|
2521
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2522
|
+
}, z.core.$strict>>;
|
|
2523
|
+
interventionId: z.ZodNullable<z.ZodString>;
|
|
2524
|
+
verifiedUrl: z.ZodNullable<z.ZodString>;
|
|
2525
|
+
failureCode: z.ZodNullable<z.ZodString>;
|
|
2526
|
+
version: z.ZodNumber;
|
|
2527
|
+
operationId: z.ZodString;
|
|
2528
|
+
createdBySubjectId: z.ZodString;
|
|
2529
|
+
createdAt: z.ZodString;
|
|
2530
|
+
updatedAt: z.ZodString;
|
|
2531
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
2532
|
+
}, z.core.$strict>;
|
|
2533
|
+
status: z.ZodEnum<{
|
|
2534
|
+
failed: "failed";
|
|
2535
|
+
needs_human: "needs_human";
|
|
2536
|
+
ready_to_verify: "ready_to_verify";
|
|
2537
|
+
working: "working";
|
|
2538
|
+
}>;
|
|
2539
|
+
operationId: z.ZodString;
|
|
2540
|
+
replayed: z.ZodBoolean;
|
|
2541
|
+
}, z.core.$strict>;
|
|
2542
|
+
export type ExternalAuthRunResponse = z.infer<typeof ExternalAuthRunResponse>;
|
|
2543
|
+
/** Human-only request for opening the provider's ephemeral hosted login UI. */
|
|
2544
|
+
export declare const ExternalAuthInteractiveRequest: z.ZodObject<{
|
|
2545
|
+
operationId: z.ZodString;
|
|
2546
|
+
expectedVersion: z.ZodNumber;
|
|
2547
|
+
}, z.core.$strict>;
|
|
2548
|
+
export type ExternalAuthInteractiveRequest = z.infer<typeof ExternalAuthInteractiveRequest>;
|
|
2549
|
+
export declare const ExternalAuthInteractiveResponse: z.ZodObject<{
|
|
2550
|
+
authRunId: z.ZodString;
|
|
2551
|
+
url: z.ZodString;
|
|
2552
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2553
|
+
}, z.core.$strict>;
|
|
2554
|
+
export type ExternalAuthInteractiveResponse = z.infer<typeof ExternalAuthInteractiveResponse>;
|
|
2555
|
+
/** Controller-private Kernel/host-adapter command. This crosses only the
|
|
2556
|
+
* authenticated API -> browserd control channel; it is not a model tool. */
|
|
2557
|
+
export declare const BrowserExternalAuthCommand: z.ZodObject<{
|
|
2558
|
+
browserSessionId: z.ZodString;
|
|
2559
|
+
controllerGeneration: z.ZodString;
|
|
2560
|
+
operationId: z.ZodString;
|
|
2561
|
+
authRunId: z.ZodString;
|
|
2562
|
+
adapterId: z.ZodString;
|
|
2563
|
+
connectionId: z.ZodString;
|
|
2564
|
+
action: z.ZodEnum<{
|
|
2565
|
+
interactive: "interactive";
|
|
2566
|
+
poll: "poll";
|
|
2567
|
+
start: "start";
|
|
2568
|
+
}>;
|
|
2569
|
+
}, z.core.$strict>;
|
|
2570
|
+
export type BrowserExternalAuthCommand = z.infer<typeof BrowserExternalAuthCommand>;
|
|
2571
|
+
export declare const BrowserExternalAuthResult: z.ZodObject<{
|
|
2572
|
+
state: z.ZodEnum<{
|
|
2573
|
+
authenticated: "authenticated";
|
|
2574
|
+
failed: "failed";
|
|
2575
|
+
in_progress: "in_progress";
|
|
2576
|
+
needs_human: "needs_human";
|
|
2577
|
+
}>;
|
|
2578
|
+
externalAction: z.ZodNullable<z.ZodObject<{
|
|
2579
|
+
kind: z.ZodEnum<{
|
|
2580
|
+
device: "device";
|
|
2581
|
+
human: "human";
|
|
2582
|
+
other: "other";
|
|
2583
|
+
passkey: "passkey";
|
|
2584
|
+
push: "push";
|
|
2585
|
+
security_key: "security_key";
|
|
2586
|
+
}>;
|
|
2587
|
+
label: z.ZodString;
|
|
2588
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2589
|
+
}, z.core.$strict>>;
|
|
2590
|
+
interactiveUrl: z.ZodNullable<z.ZodString>;
|
|
2591
|
+
failureCode: z.ZodNullable<z.ZodString>;
|
|
2592
|
+
profileLoaded: z.ZodBoolean;
|
|
2593
|
+
}, z.core.$strict>;
|
|
2594
|
+
export type BrowserExternalAuthResult = z.infer<typeof BrowserExternalAuthResult>;
|
|
2296
2595
|
export declare const VerifyAuthRunRequest: z.ZodObject<{
|
|
2297
2596
|
operationId: z.ZodString;
|
|
2298
2597
|
expectedVersion: z.ZodNumber;
|
|
@@ -2470,36 +2769,284 @@ export declare const InteractionInterventionMutationResponse: z.ZodObject<{
|
|
|
2470
2769
|
replayed: z.ZodBoolean;
|
|
2471
2770
|
}, z.core.$strict>;
|
|
2472
2771
|
export type InteractionInterventionMutationResponse = z.infer<typeof InteractionInterventionMutationResponse>;
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2772
|
+
/** Canonical model/Codemode input for one typed browser/computer human wait. */
|
|
2773
|
+
export declare const INTERACTION_REQUEST_HUMAN_MODEL_TOOL_NAME = "interaction__interaction_request_human";
|
|
2774
|
+
export declare const RequestHumanInteractionToolInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2775
|
+
operation: z.ZodLiteral<"wait">;
|
|
2776
|
+
interventionId: z.ZodString;
|
|
2777
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2778
|
+
operation: z.ZodLiteral<"request">;
|
|
2779
|
+
resourceKind: z.ZodEnum<{
|
|
2780
|
+
browser_session: "browser_session";
|
|
2781
|
+
computer_session: "computer_session";
|
|
2782
|
+
}>;
|
|
2783
|
+
resourceId: z.ZodString;
|
|
2784
|
+
targetId: z.ZodString;
|
|
2785
|
+
expectedControllerGeneration: z.ZodString;
|
|
2786
|
+
expectedTargetGeneration: z.ZodString;
|
|
2787
|
+
expectedDocumentGeneration: z.ZodNullable<z.ZodString>;
|
|
2788
|
+
kind: z.ZodEnum<{
|
|
2789
|
+
confirmation: "confirmation";
|
|
2790
|
+
external_action: "external_action";
|
|
2791
|
+
manual_login: "manual_login";
|
|
2792
|
+
mfa: "mfa";
|
|
2793
|
+
other: "other";
|
|
2794
|
+
}>;
|
|
2795
|
+
reason: z.ZodString;
|
|
2796
|
+
authRunId: z.ZodOptional<z.ZodString>;
|
|
2797
|
+
expiresInSeconds: z.ZodDefault<z.ZodNumber>;
|
|
2798
|
+
}, z.core.$strict>], "operation">;
|
|
2799
|
+
export type RequestHumanInteractionToolInput = z.infer<typeof RequestHumanInteractionToolInput>;
|
|
2800
|
+
export declare const RequestHumanInteractionToolOutput: z.ZodObject<{
|
|
2801
|
+
intervention: z.ZodObject<{
|
|
2476
2802
|
id: z.ZodString;
|
|
2477
2803
|
accountId: z.ZodString;
|
|
2478
2804
|
workspaceId: z.ZodString;
|
|
2479
|
-
|
|
2805
|
+
resourceKind: z.ZodEnum<{
|
|
2806
|
+
browser_session: "browser_session";
|
|
2807
|
+
computer_session: "computer_session";
|
|
2808
|
+
}>;
|
|
2809
|
+
resourceId: z.ZodString;
|
|
2810
|
+
targetId: z.ZodString;
|
|
2811
|
+
controllerGeneration: z.ZodString;
|
|
2812
|
+
targetGeneration: z.ZodString;
|
|
2813
|
+
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
2814
|
+
kind: z.ZodEnum<{
|
|
2815
|
+
confirmation: "confirmation";
|
|
2816
|
+
external_action: "external_action";
|
|
2817
|
+
manual_login: "manual_login";
|
|
2818
|
+
mfa: "mfa";
|
|
2819
|
+
other: "other";
|
|
2820
|
+
}>;
|
|
2821
|
+
reason: z.ZodString;
|
|
2480
2822
|
status: z.ZodEnum<{
|
|
2481
|
-
|
|
2482
|
-
|
|
2823
|
+
cancelled: "cancelled";
|
|
2824
|
+
completed: "completed";
|
|
2825
|
+
dismissed: "dismissed";
|
|
2826
|
+
expired: "expired";
|
|
2827
|
+
open: "open";
|
|
2483
2828
|
}>;
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2829
|
+
authRunId: z.ZodNullable<z.ZodString>;
|
|
2830
|
+
originatingSessionId: z.ZodString;
|
|
2831
|
+
originatingTurnId: z.ZodNullable<z.ZodString>;
|
|
2832
|
+
originatingAttemptId: z.ZodNullable<z.ZodString>;
|
|
2833
|
+
originatingToolOperationId: z.ZodNullable<z.ZodString>;
|
|
2834
|
+
responseActorSubjectId: z.ZodNullable<z.ZodString>;
|
|
2835
|
+
version: z.ZodNumber;
|
|
2836
|
+
operationId: z.ZodString;
|
|
2837
|
+
expiresAt: z.ZodString;
|
|
2488
2838
|
createdAt: z.ZodString;
|
|
2489
2839
|
updatedAt: z.ZodString;
|
|
2490
|
-
|
|
2491
|
-
}, z.core.$strict>;
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2840
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
2841
|
+
}, z.core.$strict>;
|
|
2842
|
+
observation: z.ZodNullable<z.ZodLazy<z.ZodUnion<readonly [z.ZodObject<{
|
|
2843
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
2844
|
+
observationId: z.ZodString;
|
|
2845
|
+
browserSessionId: z.ZodString;
|
|
2846
|
+
target: z.ZodObject<{
|
|
2847
|
+
id: z.ZodString;
|
|
2848
|
+
browserSessionId: z.ZodString;
|
|
2849
|
+
controllerGeneration: z.ZodString;
|
|
2850
|
+
targetGeneration: z.ZodString;
|
|
2851
|
+
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
2852
|
+
kind: z.ZodEnum<{
|
|
2853
|
+
background_page: "background_page";
|
|
2854
|
+
page: "page";
|
|
2855
|
+
popup: "popup";
|
|
2856
|
+
worker: "worker";
|
|
2857
|
+
}>;
|
|
2858
|
+
title: z.ZodString;
|
|
2859
|
+
url: z.ZodString;
|
|
2860
|
+
selected: z.ZodBoolean;
|
|
2861
|
+
attached: z.ZodBoolean;
|
|
2862
|
+
createdAt: z.ZodString;
|
|
2863
|
+
}, z.core.$strict>;
|
|
2864
|
+
frameId: z.ZodNullable<z.ZodString>;
|
|
2865
|
+
semantic: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
2866
|
+
kind: z.ZodLiteral<"snapshot">;
|
|
2867
|
+
roots: z.ZodArray<z.ZodType<InteractionSemanticNodeValue, unknown, z.core.$ZodTypeInternals<InteractionSemanticNodeValue, unknown>>>;
|
|
2868
|
+
nodeCount: z.ZodNumber;
|
|
2869
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2870
|
+
kind: z.ZodLiteral<"diff">;
|
|
2871
|
+
baseObservationId: z.ZodString;
|
|
2872
|
+
removedRefs: z.ZodArray<z.ZodString>;
|
|
2873
|
+
changed: z.ZodArray<z.ZodType<InteractionSemanticNodeValue, unknown, z.core.$ZodTypeInternals<InteractionSemanticNodeValue, unknown>>>;
|
|
2874
|
+
}, z.core.$strict>]>>;
|
|
2875
|
+
screenshot: z.ZodNullable<z.ZodObject<{
|
|
2876
|
+
available: z.ZodLiteral<true>;
|
|
2877
|
+
artifactId: z.ZodString;
|
|
2878
|
+
kind: z.ZodEnum<{
|
|
2879
|
+
assistant_completion: "assistant_completion";
|
|
2880
|
+
computer_screenshot: "computer_screenshot";
|
|
2881
|
+
event_media: "event_media";
|
|
2882
|
+
file: "file";
|
|
2883
|
+
generated_image: "generated_image";
|
|
2884
|
+
generated_video: "generated_video";
|
|
2885
|
+
internal_update: "internal_update";
|
|
2886
|
+
tool_result: "tool_result";
|
|
2887
|
+
}>;
|
|
2888
|
+
contentType: z.ZodString;
|
|
2889
|
+
originalBytes: z.ZodNumber;
|
|
2890
|
+
sha256: z.ZodString;
|
|
2891
|
+
retainedAt: z.ZodString;
|
|
2892
|
+
dimensions: z.ZodOptional<z.ZodObject<{
|
|
2893
|
+
width: z.ZodNumber;
|
|
2894
|
+
height: z.ZodNumber;
|
|
2895
|
+
}, z.core.$strict>>;
|
|
2896
|
+
retention: z.ZodUnion<readonly [z.ZodObject<{
|
|
2897
|
+
policy: z.ZodLiteral<"workspace_file">;
|
|
2898
|
+
expiresAt: z.ZodNull;
|
|
2899
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2900
|
+
policy: z.ZodLiteral<"session_screenshot">;
|
|
2901
|
+
expiresAt: z.ZodString;
|
|
2902
|
+
}, z.core.$strict>]>;
|
|
2903
|
+
retrieval: z.ZodObject<{
|
|
2904
|
+
method: z.ZodLiteral<"GET">;
|
|
2905
|
+
path: z.ZodString;
|
|
2906
|
+
acceptRanges: z.ZodLiteral<"bytes">;
|
|
2907
|
+
maxRangeBytes: z.ZodNumber;
|
|
2908
|
+
}, z.core.$strict>;
|
|
2909
|
+
}, z.core.$strict>>;
|
|
2910
|
+
focusedRef: z.ZodNullable<z.ZodString>;
|
|
2911
|
+
changedRegions: z.ZodArray<z.ZodObject<{
|
|
2912
|
+
x: z.ZodNumber;
|
|
2913
|
+
y: z.ZodNumber;
|
|
2914
|
+
width: z.ZodNumber;
|
|
2915
|
+
height: z.ZodNumber;
|
|
2916
|
+
}, z.core.$strict>>;
|
|
2917
|
+
diagnostics: z.ZodObject<{
|
|
2918
|
+
consoleErrorCount: z.ZodNumber;
|
|
2919
|
+
failedRequestCount: z.ZodNumber;
|
|
2920
|
+
downloadCount: z.ZodNumber;
|
|
2921
|
+
pageErrorCount: z.ZodNumber;
|
|
2922
|
+
}, z.core.$strict>;
|
|
2923
|
+
dialog: z.ZodNullable<z.ZodObject<{
|
|
2924
|
+
type: z.ZodEnum<{
|
|
2925
|
+
alert: "alert";
|
|
2926
|
+
beforeunload: "beforeunload";
|
|
2927
|
+
confirm: "confirm";
|
|
2928
|
+
prompt: "prompt";
|
|
2929
|
+
}>;
|
|
2930
|
+
message: z.ZodString;
|
|
2931
|
+
defaultPrompt: z.ZodString;
|
|
2932
|
+
openedAt: z.ZodString;
|
|
2933
|
+
}, z.core.$strict>>;
|
|
2934
|
+
observedAt: z.ZodString;
|
|
2935
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2936
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
2937
|
+
observationId: z.ZodString;
|
|
2938
|
+
computerSessionId: z.ZodString;
|
|
2939
|
+
target: z.ZodObject<{
|
|
2940
|
+
id: z.ZodString;
|
|
2941
|
+
computerSessionId: z.ZodString;
|
|
2942
|
+
controllerGeneration: z.ZodString;
|
|
2943
|
+
targetGeneration: z.ZodString;
|
|
2944
|
+
kind: z.ZodEnum<{
|
|
2945
|
+
app: "app";
|
|
2946
|
+
screen: "screen";
|
|
2947
|
+
window: "window";
|
|
2948
|
+
}>;
|
|
2949
|
+
applicationId: z.ZodNullable<z.ZodString>;
|
|
2950
|
+
processId: z.ZodNullable<z.ZodNumber>;
|
|
2951
|
+
title: z.ZodString;
|
|
2952
|
+
bounds: z.ZodNullable<z.ZodObject<{
|
|
2953
|
+
x: z.ZodNumber;
|
|
2954
|
+
y: z.ZodNumber;
|
|
2955
|
+
width: z.ZodNumber;
|
|
2956
|
+
height: z.ZodNumber;
|
|
2957
|
+
}, z.core.$strict>>;
|
|
2958
|
+
focused: z.ZodBoolean;
|
|
2959
|
+
}, z.core.$strict>;
|
|
2960
|
+
frameId: z.ZodNullable<z.ZodString>;
|
|
2961
|
+
semantic: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
2962
|
+
kind: z.ZodLiteral<"snapshot">;
|
|
2963
|
+
roots: z.ZodArray<z.ZodType<InteractionSemanticNodeValue, unknown, z.core.$ZodTypeInternals<InteractionSemanticNodeValue, unknown>>>;
|
|
2964
|
+
nodeCount: z.ZodNumber;
|
|
2965
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2966
|
+
kind: z.ZodLiteral<"diff">;
|
|
2967
|
+
baseObservationId: z.ZodString;
|
|
2968
|
+
removedRefs: z.ZodArray<z.ZodString>;
|
|
2969
|
+
changed: z.ZodArray<z.ZodType<InteractionSemanticNodeValue, unknown, z.core.$ZodTypeInternals<InteractionSemanticNodeValue, unknown>>>;
|
|
2970
|
+
}, z.core.$strict>]>>;
|
|
2971
|
+
screenshot: z.ZodNullable<z.ZodObject<{
|
|
2972
|
+
available: z.ZodLiteral<true>;
|
|
2973
|
+
artifactId: z.ZodString;
|
|
2974
|
+
kind: z.ZodEnum<{
|
|
2975
|
+
assistant_completion: "assistant_completion";
|
|
2976
|
+
computer_screenshot: "computer_screenshot";
|
|
2977
|
+
event_media: "event_media";
|
|
2978
|
+
file: "file";
|
|
2979
|
+
generated_image: "generated_image";
|
|
2980
|
+
generated_video: "generated_video";
|
|
2981
|
+
internal_update: "internal_update";
|
|
2982
|
+
tool_result: "tool_result";
|
|
2983
|
+
}>;
|
|
2984
|
+
contentType: z.ZodString;
|
|
2985
|
+
originalBytes: z.ZodNumber;
|
|
2986
|
+
sha256: z.ZodString;
|
|
2987
|
+
retainedAt: z.ZodString;
|
|
2988
|
+
dimensions: z.ZodOptional<z.ZodObject<{
|
|
2989
|
+
width: z.ZodNumber;
|
|
2990
|
+
height: z.ZodNumber;
|
|
2991
|
+
}, z.core.$strict>>;
|
|
2992
|
+
retention: z.ZodUnion<readonly [z.ZodObject<{
|
|
2993
|
+
policy: z.ZodLiteral<"workspace_file">;
|
|
2994
|
+
expiresAt: z.ZodNull;
|
|
2995
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2996
|
+
policy: z.ZodLiteral<"session_screenshot">;
|
|
2997
|
+
expiresAt: z.ZodString;
|
|
2998
|
+
}, z.core.$strict>]>;
|
|
2999
|
+
retrieval: z.ZodObject<{
|
|
3000
|
+
method: z.ZodLiteral<"GET">;
|
|
3001
|
+
path: z.ZodString;
|
|
3002
|
+
acceptRanges: z.ZodLiteral<"bytes">;
|
|
3003
|
+
maxRangeBytes: z.ZodNumber;
|
|
3004
|
+
}, z.core.$strict>;
|
|
3005
|
+
}, z.core.$strict>>;
|
|
3006
|
+
focusedRef: z.ZodNullable<z.ZodString>;
|
|
3007
|
+
changedRegions: z.ZodArray<z.ZodObject<{
|
|
3008
|
+
x: z.ZodNumber;
|
|
3009
|
+
y: z.ZodNumber;
|
|
3010
|
+
width: z.ZodNumber;
|
|
3011
|
+
height: z.ZodNumber;
|
|
3012
|
+
}, z.core.$strict>>;
|
|
3013
|
+
observedAt: z.ZodString;
|
|
3014
|
+
}, z.core.$strict>]>>>;
|
|
3015
|
+
observationErrorCode: z.ZodNullable<z.ZodString>;
|
|
3016
|
+
}, z.core.$strict>;
|
|
3017
|
+
export type RequestHumanInteractionToolOutput = z.infer<typeof RequestHumanInteractionToolOutput>;
|
|
3018
|
+
export declare const BrowserIdentityListResponse: z.ZodObject<{
|
|
3019
|
+
revision: z.ZodNumber;
|
|
3020
|
+
identities: z.ZodArray<z.ZodObject<{
|
|
3021
|
+
id: z.ZodString;
|
|
3022
|
+
accountId: z.ZodString;
|
|
2497
3023
|
workspaceId: z.ZodString;
|
|
2498
3024
|
name: z.ZodString;
|
|
2499
3025
|
status: z.ZodEnum<{
|
|
2500
3026
|
active: "active";
|
|
2501
3027
|
archived: "archived";
|
|
2502
3028
|
}>;
|
|
3029
|
+
version: z.ZodNumber;
|
|
3030
|
+
defaultRevisionId: z.ZodNullable<z.ZodString>;
|
|
3031
|
+
headGeneration: z.ZodNumber;
|
|
3032
|
+
revisionCount: z.ZodNumber;
|
|
3033
|
+
createdBySubjectId: z.ZodString;
|
|
3034
|
+
createdAt: z.ZodString;
|
|
3035
|
+
updatedAt: z.ZodString;
|
|
3036
|
+
}, z.core.$strict>>;
|
|
3037
|
+
}, z.core.$strict>;
|
|
3038
|
+
export type BrowserIdentityListResponse = z.infer<typeof BrowserIdentityListResponse>;
|
|
3039
|
+
export declare const BrowserRevisionListResponse: z.ZodObject<{
|
|
3040
|
+
identity: z.ZodObject<{
|
|
3041
|
+
id: z.ZodString;
|
|
3042
|
+
accountId: z.ZodString;
|
|
3043
|
+
workspaceId: z.ZodString;
|
|
3044
|
+
name: z.ZodString;
|
|
3045
|
+
status: z.ZodEnum<{
|
|
3046
|
+
active: "active";
|
|
3047
|
+
archived: "archived";
|
|
3048
|
+
}>;
|
|
3049
|
+
version: z.ZodNumber;
|
|
2503
3050
|
defaultRevisionId: z.ZodNullable<z.ZodString>;
|
|
2504
3051
|
headGeneration: z.ZodNumber;
|
|
2505
3052
|
revisionCount: z.ZodNumber;
|
|
@@ -2585,6 +3132,17 @@ export declare const CreateBrowserIdentityRequest: z.ZodObject<{
|
|
|
2585
3132
|
name: z.ZodString;
|
|
2586
3133
|
}, z.core.$strict>;
|
|
2587
3134
|
export type CreateBrowserIdentityRequest = z.infer<typeof CreateBrowserIdentityRequest>;
|
|
3135
|
+
export declare const UpdateBrowserIdentityRequest: z.ZodObject<{
|
|
3136
|
+
operationId: z.ZodString;
|
|
3137
|
+
expectedVersion: z.ZodNumber;
|
|
3138
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3139
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3140
|
+
active: "active";
|
|
3141
|
+
archived: "archived";
|
|
3142
|
+
}>>;
|
|
3143
|
+
defaultRevisionId: z.ZodOptional<z.ZodString>;
|
|
3144
|
+
}, z.core.$strict>;
|
|
3145
|
+
export type UpdateBrowserIdentityRequest = z.infer<typeof UpdateBrowserIdentityRequest>;
|
|
2588
3146
|
export declare const BrowserIdentityMutationResponse: z.ZodObject<{
|
|
2589
3147
|
identity: z.ZodObject<{
|
|
2590
3148
|
id: z.ZodString;
|
|
@@ -2595,6 +3153,7 @@ export declare const BrowserIdentityMutationResponse: z.ZodObject<{
|
|
|
2595
3153
|
active: "active";
|
|
2596
3154
|
archived: "archived";
|
|
2597
3155
|
}>;
|
|
3156
|
+
version: z.ZodNumber;
|
|
2598
3157
|
defaultRevisionId: z.ZodNullable<z.ZodString>;
|
|
2599
3158
|
headGeneration: z.ZodNumber;
|
|
2600
3159
|
revisionCount: z.ZodNumber;
|
|
@@ -2625,6 +3184,7 @@ export declare const PublishBrowserRevisionResponse: z.ZodObject<{
|
|
|
2625
3184
|
active: "active";
|
|
2626
3185
|
archived: "archived";
|
|
2627
3186
|
}>;
|
|
3187
|
+
version: z.ZodNumber;
|
|
2628
3188
|
defaultRevisionId: z.ZodNullable<z.ZodString>;
|
|
2629
3189
|
headGeneration: z.ZodNumber;
|
|
2630
3190
|
revisionCount: z.ZodNumber;
|
|
@@ -2729,6 +3289,120 @@ export declare const BrowserTarget: z.ZodObject<{
|
|
|
2729
3289
|
createdAt: z.ZodString;
|
|
2730
3290
|
}, z.core.$strict>;
|
|
2731
3291
|
export type BrowserTarget = z.infer<typeof BrowserTarget>;
|
|
3292
|
+
export declare const BrowserDownloadStatus: z.ZodEnum<{
|
|
3293
|
+
cancelled: "cancelled";
|
|
3294
|
+
completed: "completed";
|
|
3295
|
+
failed: "failed";
|
|
3296
|
+
in_progress: "in_progress";
|
|
3297
|
+
unavailable: "unavailable";
|
|
3298
|
+
}>;
|
|
3299
|
+
export type BrowserDownloadStatus = z.infer<typeof BrowserDownloadStatus>;
|
|
3300
|
+
/** One browser-produced file. Its bytes remain private to the exact controller
|
|
3301
|
+
* until an explicit save publishes and materializes them. No placement path or
|
|
3302
|
+
* source URL crosses this contract. */
|
|
3303
|
+
export declare const BrowserDownload: z.ZodObject<{
|
|
3304
|
+
id: z.ZodString;
|
|
3305
|
+
browserSessionId: z.ZodString;
|
|
3306
|
+
controllerGeneration: z.ZodString;
|
|
3307
|
+
targetId: z.ZodNullable<z.ZodString>;
|
|
3308
|
+
filename: z.ZodString;
|
|
3309
|
+
status: z.ZodEnum<{
|
|
3310
|
+
cancelled: "cancelled";
|
|
3311
|
+
completed: "completed";
|
|
3312
|
+
failed: "failed";
|
|
3313
|
+
in_progress: "in_progress";
|
|
3314
|
+
unavailable: "unavailable";
|
|
3315
|
+
}>;
|
|
3316
|
+
receivedBytes: z.ZodNumber;
|
|
3317
|
+
totalBytes: z.ZodNullable<z.ZodNumber>;
|
|
3318
|
+
sha256: z.ZodNullable<z.ZodString>;
|
|
3319
|
+
version: z.ZodNumber;
|
|
3320
|
+
startedAt: z.ZodString;
|
|
3321
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
3322
|
+
failureCode: z.ZodNullable<z.ZodString>;
|
|
3323
|
+
}, z.core.$strict>;
|
|
3324
|
+
export type BrowserDownload = z.infer<typeof BrowserDownload>;
|
|
3325
|
+
export declare const BrowserDownloadListResponse: z.ZodObject<{
|
|
3326
|
+
browserSessionId: z.ZodString;
|
|
3327
|
+
controllerGeneration: z.ZodString;
|
|
3328
|
+
downloads: z.ZodArray<z.ZodObject<{
|
|
3329
|
+
id: z.ZodString;
|
|
3330
|
+
browserSessionId: z.ZodString;
|
|
3331
|
+
controllerGeneration: z.ZodString;
|
|
3332
|
+
targetId: z.ZodNullable<z.ZodString>;
|
|
3333
|
+
filename: z.ZodString;
|
|
3334
|
+
status: z.ZodEnum<{
|
|
3335
|
+
cancelled: "cancelled";
|
|
3336
|
+
completed: "completed";
|
|
3337
|
+
failed: "failed";
|
|
3338
|
+
in_progress: "in_progress";
|
|
3339
|
+
unavailable: "unavailable";
|
|
3340
|
+
}>;
|
|
3341
|
+
receivedBytes: z.ZodNumber;
|
|
3342
|
+
totalBytes: z.ZodNullable<z.ZodNumber>;
|
|
3343
|
+
sha256: z.ZodNullable<z.ZodString>;
|
|
3344
|
+
version: z.ZodNumber;
|
|
3345
|
+
startedAt: z.ZodString;
|
|
3346
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
3347
|
+
failureCode: z.ZodNullable<z.ZodString>;
|
|
3348
|
+
}, z.core.$strict>>;
|
|
3349
|
+
}, z.core.$strict>;
|
|
3350
|
+
export type BrowserDownloadListResponse = z.infer<typeof BrowserDownloadListResponse>;
|
|
3351
|
+
export declare const BrowserDownloadSaveRequest: z.ZodObject<{
|
|
3352
|
+
operationId: z.ZodString;
|
|
3353
|
+
destinationPath: z.ZodString;
|
|
3354
|
+
overwrite: z.ZodDefault<z.ZodBoolean>;
|
|
3355
|
+
}, z.core.$strict>;
|
|
3356
|
+
export type BrowserDownloadSaveRequest = z.infer<typeof BrowserDownloadSaveRequest>;
|
|
3357
|
+
export declare const BrowserDownloadSaveResponse: z.ZodObject<{
|
|
3358
|
+
download: z.ZodObject<{
|
|
3359
|
+
id: z.ZodString;
|
|
3360
|
+
browserSessionId: z.ZodString;
|
|
3361
|
+
controllerGeneration: z.ZodString;
|
|
3362
|
+
targetId: z.ZodNullable<z.ZodString>;
|
|
3363
|
+
filename: z.ZodString;
|
|
3364
|
+
status: z.ZodEnum<{
|
|
3365
|
+
cancelled: "cancelled";
|
|
3366
|
+
completed: "completed";
|
|
3367
|
+
failed: "failed";
|
|
3368
|
+
in_progress: "in_progress";
|
|
3369
|
+
unavailable: "unavailable";
|
|
3370
|
+
}>;
|
|
3371
|
+
receivedBytes: z.ZodNumber;
|
|
3372
|
+
totalBytes: z.ZodNullable<z.ZodNumber>;
|
|
3373
|
+
sha256: z.ZodNullable<z.ZodString>;
|
|
3374
|
+
version: z.ZodNumber;
|
|
3375
|
+
startedAt: z.ZodString;
|
|
3376
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
3377
|
+
failureCode: z.ZodNullable<z.ZodString>;
|
|
3378
|
+
}, z.core.$strict>;
|
|
3379
|
+
destinationPath: z.ZodString;
|
|
3380
|
+
fileId: z.ZodString;
|
|
3381
|
+
operationId: z.ZodString;
|
|
3382
|
+
replayed: z.ZodBoolean;
|
|
3383
|
+
}, z.core.$strict>;
|
|
3384
|
+
export type BrowserDownloadSaveResponse = z.infer<typeof BrowserDownloadSaveResponse>;
|
|
3385
|
+
/** Controller-private, narrow object authority for publishing one exact
|
|
3386
|
+
* completed download. Signed URLs and headers never appear in public SDK or
|
|
3387
|
+
* durable controller receipts. */
|
|
3388
|
+
export declare const BrowserDownloadExportRequest: z.ZodObject<{
|
|
3389
|
+
operationId: z.ZodString;
|
|
3390
|
+
downloadId: z.ZodString;
|
|
3391
|
+
upload: z.ZodObject<{
|
|
3392
|
+
url: z.ZodString;
|
|
3393
|
+
requiredHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3394
|
+
expiresAt: z.ZodString;
|
|
3395
|
+
}, z.core.$strict>;
|
|
3396
|
+
}, z.core.$strict>;
|
|
3397
|
+
export type BrowserDownloadExportRequest = z.infer<typeof BrowserDownloadExportRequest>;
|
|
3398
|
+
export declare const BrowserDownloadExportReceipt: z.ZodObject<{
|
|
3399
|
+
operationId: z.ZodString;
|
|
3400
|
+
downloadId: z.ZodString;
|
|
3401
|
+
sizeBytes: z.ZodNumber;
|
|
3402
|
+
sha256: z.ZodString;
|
|
3403
|
+
replayed: z.ZodBoolean;
|
|
3404
|
+
}, z.core.$strict>;
|
|
3405
|
+
export type BrowserDownloadExportReceipt = z.infer<typeof BrowserDownloadExportReceipt>;
|
|
2732
3406
|
export declare const InteractionRect: z.ZodObject<{
|
|
2733
3407
|
x: z.ZodNumber;
|
|
2734
3408
|
y: z.ZodNumber;
|
|
@@ -2995,6 +3669,28 @@ export declare const ComputerLocator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2995
3669
|
value: z.ZodString;
|
|
2996
3670
|
}, z.core.$strict>], "kind">;
|
|
2997
3671
|
export type ComputerLocator = z.infer<typeof ComputerLocator>;
|
|
3672
|
+
/** Web-platform permissions which a managed browser can set for the exact
|
|
3673
|
+
* top-level origin currently fenced by a BrowserActionCommand. Names remain
|
|
3674
|
+
* provider-neutral; drivers map them to their native permission descriptors. */
|
|
3675
|
+
export declare const BrowserPermission: z.ZodEnum<{
|
|
3676
|
+
camera: "camera";
|
|
3677
|
+
geolocation: "geolocation";
|
|
3678
|
+
idle_detection: "idle_detection";
|
|
3679
|
+
local_fonts: "local_fonts";
|
|
3680
|
+
microphone: "microphone";
|
|
3681
|
+
midi: "midi";
|
|
3682
|
+
midi_sysex: "midi_sysex";
|
|
3683
|
+
notifications: "notifications";
|
|
3684
|
+
sensors: "sensors";
|
|
3685
|
+
window_management: "window_management";
|
|
3686
|
+
}>;
|
|
3687
|
+
export type BrowserPermission = z.infer<typeof BrowserPermission>;
|
|
3688
|
+
export declare const BrowserPermissionSetting: z.ZodEnum<{
|
|
3689
|
+
denied: "denied";
|
|
3690
|
+
granted: "granted";
|
|
3691
|
+
prompt: "prompt";
|
|
3692
|
+
}>;
|
|
3693
|
+
export type BrowserPermissionSetting = z.infer<typeof BrowserPermissionSetting>;
|
|
2998
3694
|
export declare const BrowserAction: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
2999
3695
|
type: z.ZodLiteral<"navigate">;
|
|
3000
3696
|
url: z.ZodString;
|
|
@@ -3314,6 +4010,7 @@ export declare const BrowserAction: z.ZodDiscriminatedUnion<readonly [z.ZodObjec
|
|
|
3314
4010
|
middle: "middle";
|
|
3315
4011
|
right: "right";
|
|
3316
4012
|
}>>;
|
|
4013
|
+
clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
3317
4014
|
}, z.core.$strict>, z.ZodObject<{
|
|
3318
4015
|
type: z.ZodLiteral<"handle_dialog">;
|
|
3319
4016
|
response: z.ZodEnum<{
|
|
@@ -3348,6 +4045,63 @@ export declare const BrowserAction: z.ZodDiscriminatedUnion<readonly [z.ZodObjec
|
|
|
3348
4045
|
selector: z.ZodString;
|
|
3349
4046
|
}, z.core.$strict>], "kind">;
|
|
3350
4047
|
workspaceFileIds: z.ZodArray<z.ZodString>;
|
|
4048
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4049
|
+
type: z.ZodLiteral<"clipboard">;
|
|
4050
|
+
operation: z.ZodEnum<{
|
|
4051
|
+
clear: "clear";
|
|
4052
|
+
copy: "copy";
|
|
4053
|
+
paste: "paste";
|
|
4054
|
+
write: "write";
|
|
4055
|
+
}>;
|
|
4056
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4057
|
+
locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4058
|
+
kind: z.ZodLiteral<"ref">;
|
|
4059
|
+
ref: z.ZodString;
|
|
4060
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4061
|
+
kind: z.ZodLiteral<"role">;
|
|
4062
|
+
role: z.ZodString;
|
|
4063
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4064
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
4065
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4066
|
+
kind: z.ZodLiteral<"label">;
|
|
4067
|
+
text: z.ZodString;
|
|
4068
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4069
|
+
kind: z.ZodLiteral<"text">;
|
|
4070
|
+
text: z.ZodString;
|
|
4071
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4072
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
4073
|
+
text: z.ZodString;
|
|
4074
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4075
|
+
kind: z.ZodLiteral<"test_id">;
|
|
4076
|
+
value: z.ZodString;
|
|
4077
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4078
|
+
kind: z.ZodLiteral<"css">;
|
|
4079
|
+
selector: z.ZodString;
|
|
4080
|
+
}, z.core.$strict>], "kind">>;
|
|
4081
|
+
content: z.ZodOptional<z.ZodEnum<{
|
|
4082
|
+
selection: "selection";
|
|
4083
|
+
text: "text";
|
|
4084
|
+
value: "value";
|
|
4085
|
+
}>>;
|
|
4086
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4087
|
+
type: z.ZodLiteral<"permission">;
|
|
4088
|
+
permission: z.ZodEnum<{
|
|
4089
|
+
camera: "camera";
|
|
4090
|
+
geolocation: "geolocation";
|
|
4091
|
+
idle_detection: "idle_detection";
|
|
4092
|
+
local_fonts: "local_fonts";
|
|
4093
|
+
microphone: "microphone";
|
|
4094
|
+
midi: "midi";
|
|
4095
|
+
midi_sysex: "midi_sysex";
|
|
4096
|
+
notifications: "notifications";
|
|
4097
|
+
sensors: "sensors";
|
|
4098
|
+
window_management: "window_management";
|
|
4099
|
+
}>;
|
|
4100
|
+
setting: z.ZodEnum<{
|
|
4101
|
+
denied: "denied";
|
|
4102
|
+
granted: "granted";
|
|
4103
|
+
prompt: "prompt";
|
|
4104
|
+
}>;
|
|
3351
4105
|
}, z.core.$strict>, z.ZodObject<{
|
|
3352
4106
|
type: z.ZodLiteral<"wait">;
|
|
3353
4107
|
condition: z.ZodEnum<{
|
|
@@ -3704,6 +4458,7 @@ export declare const BrowserActionBatch: z.ZodObject<{
|
|
|
3704
4458
|
middle: "middle";
|
|
3705
4459
|
right: "right";
|
|
3706
4460
|
}>>;
|
|
4461
|
+
clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
3707
4462
|
}, z.core.$strict>, z.ZodObject<{
|
|
3708
4463
|
type: z.ZodLiteral<"handle_dialog">;
|
|
3709
4464
|
response: z.ZodEnum<{
|
|
@@ -3738,6 +4493,63 @@ export declare const BrowserActionBatch: z.ZodObject<{
|
|
|
3738
4493
|
selector: z.ZodString;
|
|
3739
4494
|
}, z.core.$strict>], "kind">;
|
|
3740
4495
|
workspaceFileIds: z.ZodArray<z.ZodString>;
|
|
4496
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4497
|
+
type: z.ZodLiteral<"clipboard">;
|
|
4498
|
+
operation: z.ZodEnum<{
|
|
4499
|
+
clear: "clear";
|
|
4500
|
+
copy: "copy";
|
|
4501
|
+
paste: "paste";
|
|
4502
|
+
write: "write";
|
|
4503
|
+
}>;
|
|
4504
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4505
|
+
locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4506
|
+
kind: z.ZodLiteral<"ref">;
|
|
4507
|
+
ref: z.ZodString;
|
|
4508
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4509
|
+
kind: z.ZodLiteral<"role">;
|
|
4510
|
+
role: z.ZodString;
|
|
4511
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4512
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
4513
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4514
|
+
kind: z.ZodLiteral<"label">;
|
|
4515
|
+
text: z.ZodString;
|
|
4516
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4517
|
+
kind: z.ZodLiteral<"text">;
|
|
4518
|
+
text: z.ZodString;
|
|
4519
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4520
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
4521
|
+
text: z.ZodString;
|
|
4522
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4523
|
+
kind: z.ZodLiteral<"test_id">;
|
|
4524
|
+
value: z.ZodString;
|
|
4525
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4526
|
+
kind: z.ZodLiteral<"css">;
|
|
4527
|
+
selector: z.ZodString;
|
|
4528
|
+
}, z.core.$strict>], "kind">>;
|
|
4529
|
+
content: z.ZodOptional<z.ZodEnum<{
|
|
4530
|
+
selection: "selection";
|
|
4531
|
+
text: "text";
|
|
4532
|
+
value: "value";
|
|
4533
|
+
}>>;
|
|
4534
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4535
|
+
type: z.ZodLiteral<"permission">;
|
|
4536
|
+
permission: z.ZodEnum<{
|
|
4537
|
+
camera: "camera";
|
|
4538
|
+
geolocation: "geolocation";
|
|
4539
|
+
idle_detection: "idle_detection";
|
|
4540
|
+
local_fonts: "local_fonts";
|
|
4541
|
+
microphone: "microphone";
|
|
4542
|
+
midi: "midi";
|
|
4543
|
+
midi_sysex: "midi_sysex";
|
|
4544
|
+
notifications: "notifications";
|
|
4545
|
+
sensors: "sensors";
|
|
4546
|
+
window_management: "window_management";
|
|
4547
|
+
}>;
|
|
4548
|
+
setting: z.ZodEnum<{
|
|
4549
|
+
denied: "denied";
|
|
4550
|
+
granted: "granted";
|
|
4551
|
+
prompt: "prompt";
|
|
4552
|
+
}>;
|
|
3741
4553
|
}, z.core.$strict>, z.ZodObject<{
|
|
3742
4554
|
type: z.ZodLiteral<"wait">;
|
|
3743
4555
|
condition: z.ZodEnum<{
|
|
@@ -3823,6 +4635,10 @@ export declare const BrowserActionCommand: z.ZodObject<{
|
|
|
3823
4635
|
attemptId: z.ZodOptional<z.ZodString>;
|
|
3824
4636
|
executionGeneration: z.ZodOptional<z.ZodNumber>;
|
|
3825
4637
|
}, z.core.$strict>;
|
|
4638
|
+
observationMode: z.ZodOptional<z.ZodEnum<{
|
|
4639
|
+
full: "full";
|
|
4640
|
+
none: "none";
|
|
4641
|
+
}>>;
|
|
3826
4642
|
action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
3827
4643
|
type: z.ZodLiteral<"navigate">;
|
|
3828
4644
|
url: z.ZodString;
|
|
@@ -4142,6 +4958,7 @@ export declare const BrowserActionCommand: z.ZodObject<{
|
|
|
4142
4958
|
middle: "middle";
|
|
4143
4959
|
right: "right";
|
|
4144
4960
|
}>>;
|
|
4961
|
+
clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
4145
4962
|
}, z.core.$strict>, z.ZodObject<{
|
|
4146
4963
|
type: z.ZodLiteral<"handle_dialog">;
|
|
4147
4964
|
response: z.ZodEnum<{
|
|
@@ -4176,6 +4993,63 @@ export declare const BrowserActionCommand: z.ZodObject<{
|
|
|
4176
4993
|
selector: z.ZodString;
|
|
4177
4994
|
}, z.core.$strict>], "kind">;
|
|
4178
4995
|
workspaceFileIds: z.ZodArray<z.ZodString>;
|
|
4996
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4997
|
+
type: z.ZodLiteral<"clipboard">;
|
|
4998
|
+
operation: z.ZodEnum<{
|
|
4999
|
+
clear: "clear";
|
|
5000
|
+
copy: "copy";
|
|
5001
|
+
paste: "paste";
|
|
5002
|
+
write: "write";
|
|
5003
|
+
}>;
|
|
5004
|
+
text: z.ZodOptional<z.ZodString>;
|
|
5005
|
+
locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5006
|
+
kind: z.ZodLiteral<"ref">;
|
|
5007
|
+
ref: z.ZodString;
|
|
5008
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5009
|
+
kind: z.ZodLiteral<"role">;
|
|
5010
|
+
role: z.ZodString;
|
|
5011
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5012
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
5013
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5014
|
+
kind: z.ZodLiteral<"label">;
|
|
5015
|
+
text: z.ZodString;
|
|
5016
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5017
|
+
kind: z.ZodLiteral<"text">;
|
|
5018
|
+
text: z.ZodString;
|
|
5019
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5020
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
5021
|
+
text: z.ZodString;
|
|
5022
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5023
|
+
kind: z.ZodLiteral<"test_id">;
|
|
5024
|
+
value: z.ZodString;
|
|
5025
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5026
|
+
kind: z.ZodLiteral<"css">;
|
|
5027
|
+
selector: z.ZodString;
|
|
5028
|
+
}, z.core.$strict>], "kind">>;
|
|
5029
|
+
content: z.ZodOptional<z.ZodEnum<{
|
|
5030
|
+
selection: "selection";
|
|
5031
|
+
text: "text";
|
|
5032
|
+
value: "value";
|
|
5033
|
+
}>>;
|
|
5034
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5035
|
+
type: z.ZodLiteral<"permission">;
|
|
5036
|
+
permission: z.ZodEnum<{
|
|
5037
|
+
camera: "camera";
|
|
5038
|
+
geolocation: "geolocation";
|
|
5039
|
+
idle_detection: "idle_detection";
|
|
5040
|
+
local_fonts: "local_fonts";
|
|
5041
|
+
microphone: "microphone";
|
|
5042
|
+
midi: "midi";
|
|
5043
|
+
midi_sysex: "midi_sysex";
|
|
5044
|
+
notifications: "notifications";
|
|
5045
|
+
sensors: "sensors";
|
|
5046
|
+
window_management: "window_management";
|
|
5047
|
+
}>;
|
|
5048
|
+
setting: z.ZodEnum<{
|
|
5049
|
+
denied: "denied";
|
|
5050
|
+
granted: "granted";
|
|
5051
|
+
prompt: "prompt";
|
|
5052
|
+
}>;
|
|
4179
5053
|
}, z.core.$strict>, z.ZodObject<{
|
|
4180
5054
|
type: z.ZodLiteral<"wait">;
|
|
4181
5055
|
condition: z.ZodEnum<{
|
|
@@ -4530,6 +5404,7 @@ export declare const BrowserActionCommand: z.ZodObject<{
|
|
|
4530
5404
|
middle: "middle";
|
|
4531
5405
|
right: "right";
|
|
4532
5406
|
}>>;
|
|
5407
|
+
clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
4533
5408
|
}, z.core.$strict>, z.ZodObject<{
|
|
4534
5409
|
type: z.ZodLiteral<"handle_dialog">;
|
|
4535
5410
|
response: z.ZodEnum<{
|
|
@@ -4564,6 +5439,63 @@ export declare const BrowserActionCommand: z.ZodObject<{
|
|
|
4564
5439
|
selector: z.ZodString;
|
|
4565
5440
|
}, z.core.$strict>], "kind">;
|
|
4566
5441
|
workspaceFileIds: z.ZodArray<z.ZodString>;
|
|
5442
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5443
|
+
type: z.ZodLiteral<"clipboard">;
|
|
5444
|
+
operation: z.ZodEnum<{
|
|
5445
|
+
clear: "clear";
|
|
5446
|
+
copy: "copy";
|
|
5447
|
+
paste: "paste";
|
|
5448
|
+
write: "write";
|
|
5449
|
+
}>;
|
|
5450
|
+
text: z.ZodOptional<z.ZodString>;
|
|
5451
|
+
locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5452
|
+
kind: z.ZodLiteral<"ref">;
|
|
5453
|
+
ref: z.ZodString;
|
|
5454
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5455
|
+
kind: z.ZodLiteral<"role">;
|
|
5456
|
+
role: z.ZodString;
|
|
5457
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5458
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
5459
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5460
|
+
kind: z.ZodLiteral<"label">;
|
|
5461
|
+
text: z.ZodString;
|
|
5462
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5463
|
+
kind: z.ZodLiteral<"text">;
|
|
5464
|
+
text: z.ZodString;
|
|
5465
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5466
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
5467
|
+
text: z.ZodString;
|
|
5468
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5469
|
+
kind: z.ZodLiteral<"test_id">;
|
|
5470
|
+
value: z.ZodString;
|
|
5471
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5472
|
+
kind: z.ZodLiteral<"css">;
|
|
5473
|
+
selector: z.ZodString;
|
|
5474
|
+
}, z.core.$strict>], "kind">>;
|
|
5475
|
+
content: z.ZodOptional<z.ZodEnum<{
|
|
5476
|
+
selection: "selection";
|
|
5477
|
+
text: "text";
|
|
5478
|
+
value: "value";
|
|
5479
|
+
}>>;
|
|
5480
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5481
|
+
type: z.ZodLiteral<"permission">;
|
|
5482
|
+
permission: z.ZodEnum<{
|
|
5483
|
+
camera: "camera";
|
|
5484
|
+
geolocation: "geolocation";
|
|
5485
|
+
idle_detection: "idle_detection";
|
|
5486
|
+
local_fonts: "local_fonts";
|
|
5487
|
+
microphone: "microphone";
|
|
5488
|
+
midi: "midi";
|
|
5489
|
+
midi_sysex: "midi_sysex";
|
|
5490
|
+
notifications: "notifications";
|
|
5491
|
+
sensors: "sensors";
|
|
5492
|
+
window_management: "window_management";
|
|
5493
|
+
}>;
|
|
5494
|
+
setting: z.ZodEnum<{
|
|
5495
|
+
denied: "denied";
|
|
5496
|
+
granted: "granted";
|
|
5497
|
+
prompt: "prompt";
|
|
5498
|
+
}>;
|
|
4567
5499
|
}, z.core.$strict>, z.ZodObject<{
|
|
4568
5500
|
type: z.ZodLiteral<"wait">;
|
|
4569
5501
|
condition: z.ZodEnum<{
|
|
@@ -4601,6 +5533,40 @@ export declare const BrowserActionCommand: z.ZodObject<{
|
|
|
4601
5533
|
}, z.core.$strict>]>;
|
|
4602
5534
|
}, z.core.$strict>;
|
|
4603
5535
|
export type BrowserActionCommand = z.infer<typeof BrowserActionCommand>;
|
|
5536
|
+
/** Controller-private authority used to materialize immutable workspace files
|
|
5537
|
+
* beside a BrowserSession before an upload action dispatches. Signed URLs and
|
|
5538
|
+
* placement paths never appear in the public BrowserAction or its receipt. */
|
|
5539
|
+
export declare const BrowserWorkspaceFileAuthority: z.ZodObject<{
|
|
5540
|
+
fileId: z.ZodString;
|
|
5541
|
+
safeFilename: z.ZodString;
|
|
5542
|
+
sizeBytes: z.ZodNumber;
|
|
5543
|
+
sha256: z.ZodNullable<z.ZodString>;
|
|
5544
|
+
download: z.ZodObject<{
|
|
5545
|
+
url: z.ZodString;
|
|
5546
|
+
expiresAt: z.ZodString;
|
|
5547
|
+
}, z.core.$strict>;
|
|
5548
|
+
}, z.core.$strict>;
|
|
5549
|
+
export type BrowserWorkspaceFileAuthority = z.infer<typeof BrowserWorkspaceFileAuthority>;
|
|
5550
|
+
export declare const BrowserWorkspaceFileStageRequest: z.ZodObject<{
|
|
5551
|
+
operationId: z.ZodString;
|
|
5552
|
+
files: z.ZodArray<z.ZodObject<{
|
|
5553
|
+
fileId: z.ZodString;
|
|
5554
|
+
safeFilename: z.ZodString;
|
|
5555
|
+
sizeBytes: z.ZodNumber;
|
|
5556
|
+
sha256: z.ZodNullable<z.ZodString>;
|
|
5557
|
+
download: z.ZodObject<{
|
|
5558
|
+
url: z.ZodString;
|
|
5559
|
+
expiresAt: z.ZodString;
|
|
5560
|
+
}, z.core.$strict>;
|
|
5561
|
+
}, z.core.$strict>>;
|
|
5562
|
+
}, z.core.$strict>;
|
|
5563
|
+
export type BrowserWorkspaceFileStageRequest = z.infer<typeof BrowserWorkspaceFileStageRequest>;
|
|
5564
|
+
export declare const BrowserWorkspaceFileStageResponse: z.ZodObject<{
|
|
5565
|
+
operationId: z.ZodString;
|
|
5566
|
+
fileIds: z.ZodArray<z.ZodString>;
|
|
5567
|
+
replayed: z.ZodBoolean;
|
|
5568
|
+
}, z.core.$strict>;
|
|
5569
|
+
export type BrowserWorkspaceFileStageResponse = z.infer<typeof BrowserWorkspaceFileStageResponse>;
|
|
4604
5570
|
export declare const InteractionOperationState: z.ZodEnum<{
|
|
4605
5571
|
completed: "completed";
|
|
4606
5572
|
dispatched: "dispatched";
|
|
@@ -4677,6 +5643,10 @@ export declare const CreateBrowserSessionRequest: z.ZodObject<{
|
|
|
4677
5643
|
name: z.ZodOptional<z.ZodString>;
|
|
4678
5644
|
initialUrl: z.ZodOptional<z.ZodString>;
|
|
4679
5645
|
headless: z.ZodDefault<z.ZodBoolean>;
|
|
5646
|
+
engine: z.ZodDefault<z.ZodEnum<{
|
|
5647
|
+
chromium: "chromium";
|
|
5648
|
+
lightpanda: "lightpanda";
|
|
5649
|
+
}>>;
|
|
4680
5650
|
placement: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4681
5651
|
kind: z.ZodLiteral<"sandbox_group">;
|
|
4682
5652
|
sandboxGroupId: z.ZodString;
|
|
@@ -4759,6 +5729,7 @@ export declare const BrowserSessionListResponse: z.ZodObject<{
|
|
|
4759
5729
|
downloads: z.ZodBoolean;
|
|
4760
5730
|
uploads: z.ZodBoolean;
|
|
4761
5731
|
clipboard: z.ZodBoolean;
|
|
5732
|
+
permissions: z.ZodBoolean;
|
|
4762
5733
|
diagnostics: z.ZodBoolean;
|
|
4763
5734
|
rawCdp: z.ZodBoolean;
|
|
4764
5735
|
linkedComputer: z.ZodBoolean;
|
|
@@ -4847,6 +5818,7 @@ export declare const BrowserSessionMutationResponse: z.ZodObject<{
|
|
|
4847
5818
|
downloads: z.ZodBoolean;
|
|
4848
5819
|
uploads: z.ZodBoolean;
|
|
4849
5820
|
clipboard: z.ZodBoolean;
|
|
5821
|
+
permissions: z.ZodBoolean;
|
|
4850
5822
|
diagnostics: z.ZodBoolean;
|
|
4851
5823
|
rawCdp: z.ZodBoolean;
|
|
4852
5824
|
linkedComputer: z.ZodBoolean;
|
|
@@ -5001,6 +5973,10 @@ export declare const ComputerFrameStreamAttachment: z.ZodDiscriminatedUnion<[z.Z
|
|
|
5001
5973
|
kind: z.ZodLiteral<"direct_websocket">;
|
|
5002
5974
|
url: z.ZodString;
|
|
5003
5975
|
protocols: z.ZodArray<z.ZodString>;
|
|
5976
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5977
|
+
kind: z.ZodLiteral<"direct_rfb">;
|
|
5978
|
+
url: z.ZodString;
|
|
5979
|
+
protocols: z.ZodArray<z.ZodString>;
|
|
5004
5980
|
}, z.core.$strict>, z.ZodObject<{
|
|
5005
5981
|
kind: z.ZodLiteral<"relay">;
|
|
5006
5982
|
url: z.ZodString;
|
|
@@ -5033,6 +6009,10 @@ export declare const InteractionFrameStreamAttachment: z.ZodUnion<readonly [z.Zo
|
|
|
5033
6009
|
kind: z.ZodLiteral<"direct_websocket">;
|
|
5034
6010
|
url: z.ZodString;
|
|
5035
6011
|
protocols: z.ZodArray<z.ZodString>;
|
|
6012
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6013
|
+
kind: z.ZodLiteral<"direct_rfb">;
|
|
6014
|
+
url: z.ZodString;
|
|
6015
|
+
protocols: z.ZodArray<z.ZodString>;
|
|
5036
6016
|
}, z.core.$strict>, z.ZodObject<{
|
|
5037
6017
|
kind: z.ZodLiteral<"relay">;
|
|
5038
6018
|
url: z.ZodString;
|
|
@@ -5093,6 +6073,10 @@ export declare const BrowserActionRequest: z.ZodObject<{
|
|
|
5093
6073
|
expectedTargetGeneration: z.ZodString;
|
|
5094
6074
|
expectedDocumentGeneration: z.ZodNullable<z.ZodString>;
|
|
5095
6075
|
expectedFrameId: z.ZodNullable<z.ZodString>;
|
|
6076
|
+
observationMode: z.ZodDefault<z.ZodEnum<{
|
|
6077
|
+
full: "full";
|
|
6078
|
+
none: "none";
|
|
6079
|
+
}>>;
|
|
5096
6080
|
action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
5097
6081
|
type: z.ZodLiteral<"navigate">;
|
|
5098
6082
|
url: z.ZodString;
|
|
@@ -5412,6 +6396,7 @@ export declare const BrowserActionRequest: z.ZodObject<{
|
|
|
5412
6396
|
middle: "middle";
|
|
5413
6397
|
right: "right";
|
|
5414
6398
|
}>>;
|
|
6399
|
+
clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
5415
6400
|
}, z.core.$strict>, z.ZodObject<{
|
|
5416
6401
|
type: z.ZodLiteral<"handle_dialog">;
|
|
5417
6402
|
response: z.ZodEnum<{
|
|
@@ -5446,6 +6431,63 @@ export declare const BrowserActionRequest: z.ZodObject<{
|
|
|
5446
6431
|
selector: z.ZodString;
|
|
5447
6432
|
}, z.core.$strict>], "kind">;
|
|
5448
6433
|
workspaceFileIds: z.ZodArray<z.ZodString>;
|
|
6434
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6435
|
+
type: z.ZodLiteral<"clipboard">;
|
|
6436
|
+
operation: z.ZodEnum<{
|
|
6437
|
+
clear: "clear";
|
|
6438
|
+
copy: "copy";
|
|
6439
|
+
paste: "paste";
|
|
6440
|
+
write: "write";
|
|
6441
|
+
}>;
|
|
6442
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6443
|
+
locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6444
|
+
kind: z.ZodLiteral<"ref">;
|
|
6445
|
+
ref: z.ZodString;
|
|
6446
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6447
|
+
kind: z.ZodLiteral<"role">;
|
|
6448
|
+
role: z.ZodString;
|
|
6449
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6450
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
6451
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6452
|
+
kind: z.ZodLiteral<"label">;
|
|
6453
|
+
text: z.ZodString;
|
|
6454
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6455
|
+
kind: z.ZodLiteral<"text">;
|
|
6456
|
+
text: z.ZodString;
|
|
6457
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6458
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
6459
|
+
text: z.ZodString;
|
|
6460
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6461
|
+
kind: z.ZodLiteral<"test_id">;
|
|
6462
|
+
value: z.ZodString;
|
|
6463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6464
|
+
kind: z.ZodLiteral<"css">;
|
|
6465
|
+
selector: z.ZodString;
|
|
6466
|
+
}, z.core.$strict>], "kind">>;
|
|
6467
|
+
content: z.ZodOptional<z.ZodEnum<{
|
|
6468
|
+
selection: "selection";
|
|
6469
|
+
text: "text";
|
|
6470
|
+
value: "value";
|
|
6471
|
+
}>>;
|
|
6472
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6473
|
+
type: z.ZodLiteral<"permission">;
|
|
6474
|
+
permission: z.ZodEnum<{
|
|
6475
|
+
camera: "camera";
|
|
6476
|
+
geolocation: "geolocation";
|
|
6477
|
+
idle_detection: "idle_detection";
|
|
6478
|
+
local_fonts: "local_fonts";
|
|
6479
|
+
microphone: "microphone";
|
|
6480
|
+
midi: "midi";
|
|
6481
|
+
midi_sysex: "midi_sysex";
|
|
6482
|
+
notifications: "notifications";
|
|
6483
|
+
sensors: "sensors";
|
|
6484
|
+
window_management: "window_management";
|
|
6485
|
+
}>;
|
|
6486
|
+
setting: z.ZodEnum<{
|
|
6487
|
+
denied: "denied";
|
|
6488
|
+
granted: "granted";
|
|
6489
|
+
prompt: "prompt";
|
|
6490
|
+
}>;
|
|
5449
6491
|
}, z.core.$strict>, z.ZodObject<{
|
|
5450
6492
|
type: z.ZodLiteral<"wait">;
|
|
5451
6493
|
condition: z.ZodEnum<{
|
|
@@ -5800,6 +6842,7 @@ export declare const BrowserActionRequest: z.ZodObject<{
|
|
|
5800
6842
|
middle: "middle";
|
|
5801
6843
|
right: "right";
|
|
5802
6844
|
}>>;
|
|
6845
|
+
clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
5803
6846
|
}, z.core.$strict>, z.ZodObject<{
|
|
5804
6847
|
type: z.ZodLiteral<"handle_dialog">;
|
|
5805
6848
|
response: z.ZodEnum<{
|
|
@@ -5832,8 +6875,65 @@ export declare const BrowserActionRequest: z.ZodObject<{
|
|
|
5832
6875
|
}, z.core.$strict>, z.ZodObject<{
|
|
5833
6876
|
kind: z.ZodLiteral<"css">;
|
|
5834
6877
|
selector: z.ZodString;
|
|
5835
|
-
}, z.core.$strict>], "kind">;
|
|
5836
|
-
workspaceFileIds: z.ZodArray<z.ZodString>;
|
|
6878
|
+
}, z.core.$strict>], "kind">;
|
|
6879
|
+
workspaceFileIds: z.ZodArray<z.ZodString>;
|
|
6880
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6881
|
+
type: z.ZodLiteral<"clipboard">;
|
|
6882
|
+
operation: z.ZodEnum<{
|
|
6883
|
+
clear: "clear";
|
|
6884
|
+
copy: "copy";
|
|
6885
|
+
paste: "paste";
|
|
6886
|
+
write: "write";
|
|
6887
|
+
}>;
|
|
6888
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6889
|
+
locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6890
|
+
kind: z.ZodLiteral<"ref">;
|
|
6891
|
+
ref: z.ZodString;
|
|
6892
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6893
|
+
kind: z.ZodLiteral<"role">;
|
|
6894
|
+
role: z.ZodString;
|
|
6895
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6896
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
6897
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6898
|
+
kind: z.ZodLiteral<"label">;
|
|
6899
|
+
text: z.ZodString;
|
|
6900
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6901
|
+
kind: z.ZodLiteral<"text">;
|
|
6902
|
+
text: z.ZodString;
|
|
6903
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6904
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
6905
|
+
text: z.ZodString;
|
|
6906
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6907
|
+
kind: z.ZodLiteral<"test_id">;
|
|
6908
|
+
value: z.ZodString;
|
|
6909
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6910
|
+
kind: z.ZodLiteral<"css">;
|
|
6911
|
+
selector: z.ZodString;
|
|
6912
|
+
}, z.core.$strict>], "kind">>;
|
|
6913
|
+
content: z.ZodOptional<z.ZodEnum<{
|
|
6914
|
+
selection: "selection";
|
|
6915
|
+
text: "text";
|
|
6916
|
+
value: "value";
|
|
6917
|
+
}>>;
|
|
6918
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6919
|
+
type: z.ZodLiteral<"permission">;
|
|
6920
|
+
permission: z.ZodEnum<{
|
|
6921
|
+
camera: "camera";
|
|
6922
|
+
geolocation: "geolocation";
|
|
6923
|
+
idle_detection: "idle_detection";
|
|
6924
|
+
local_fonts: "local_fonts";
|
|
6925
|
+
microphone: "microphone";
|
|
6926
|
+
midi: "midi";
|
|
6927
|
+
midi_sysex: "midi_sysex";
|
|
6928
|
+
notifications: "notifications";
|
|
6929
|
+
sensors: "sensors";
|
|
6930
|
+
window_management: "window_management";
|
|
6931
|
+
}>;
|
|
6932
|
+
setting: z.ZodEnum<{
|
|
6933
|
+
denied: "denied";
|
|
6934
|
+
granted: "granted";
|
|
6935
|
+
prompt: "prompt";
|
|
6936
|
+
}>;
|
|
5837
6937
|
}, z.core.$strict>, z.ZodObject<{
|
|
5838
6938
|
type: z.ZodLiteral<"wait">;
|
|
5839
6939
|
condition: z.ZodEnum<{
|
|
@@ -6015,6 +7115,255 @@ export declare const BrowserActionReceipt: z.ZodObject<{
|
|
|
6015
7115
|
}, z.core.$strict>>;
|
|
6016
7116
|
}, z.core.$strict>;
|
|
6017
7117
|
export type BrowserActionReceipt = z.infer<typeof BrowserActionReceipt>;
|
|
7118
|
+
/** Controller-private protected-fill wire contract. Secret values cross only
|
|
7119
|
+
* the credential broker -> exact placement controller boundary; this command
|
|
7120
|
+
* is never projected into model MCP, Codemode, public action history, or UI. */
|
|
7121
|
+
export declare const BrowserProtectedAuthFieldValue: z.ZodObject<{
|
|
7122
|
+
fieldId: z.ZodString;
|
|
7123
|
+
locator: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7124
|
+
kind: z.ZodLiteral<"ref">;
|
|
7125
|
+
ref: z.ZodString;
|
|
7126
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7127
|
+
kind: z.ZodLiteral<"role">;
|
|
7128
|
+
role: z.ZodString;
|
|
7129
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7130
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
7131
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7132
|
+
kind: z.ZodLiteral<"label">;
|
|
7133
|
+
text: z.ZodString;
|
|
7134
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7135
|
+
kind: z.ZodLiteral<"text">;
|
|
7136
|
+
text: z.ZodString;
|
|
7137
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7138
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
7139
|
+
text: z.ZodString;
|
|
7140
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7141
|
+
kind: z.ZodLiteral<"test_id">;
|
|
7142
|
+
value: z.ZodString;
|
|
7143
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7144
|
+
kind: z.ZodLiteral<"css">;
|
|
7145
|
+
selector: z.ZodString;
|
|
7146
|
+
}, z.core.$strict>], "kind">>;
|
|
7147
|
+
purpose: z.ZodEnum<{
|
|
7148
|
+
identifier: "identifier";
|
|
7149
|
+
password: "password";
|
|
7150
|
+
secret: "secret";
|
|
7151
|
+
totp: "totp";
|
|
7152
|
+
}>;
|
|
7153
|
+
value: z.ZodString;
|
|
7154
|
+
}, z.core.$strict>;
|
|
7155
|
+
export type BrowserProtectedAuthFieldValue = z.infer<typeof BrowserProtectedAuthFieldValue>;
|
|
7156
|
+
export declare const BrowserProtectedAuthFillCommand: z.ZodObject<{
|
|
7157
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
7158
|
+
operationId: z.ZodString;
|
|
7159
|
+
browserSessionId: z.ZodString;
|
|
7160
|
+
controllerGeneration: z.ZodString;
|
|
7161
|
+
targetId: z.ZodString;
|
|
7162
|
+
expectedTargetGeneration: z.ZodString;
|
|
7163
|
+
expectedDocumentGeneration: z.ZodString;
|
|
7164
|
+
expectedFrameId: z.ZodString;
|
|
7165
|
+
actor: z.ZodObject<{
|
|
7166
|
+
kind: z.ZodEnum<{
|
|
7167
|
+
agent: "agent";
|
|
7168
|
+
human: "human";
|
|
7169
|
+
system: "system";
|
|
7170
|
+
}>;
|
|
7171
|
+
subjectId: z.ZodString;
|
|
7172
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
7173
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
7174
|
+
attemptId: z.ZodOptional<z.ZodString>;
|
|
7175
|
+
executionGeneration: z.ZodOptional<z.ZodNumber>;
|
|
7176
|
+
}, z.core.$strict>;
|
|
7177
|
+
authorityId: z.ZodString;
|
|
7178
|
+
credentialVersion: z.ZodNumber;
|
|
7179
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
7180
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
7181
|
+
fieldId: z.ZodString;
|
|
7182
|
+
locator: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7183
|
+
kind: z.ZodLiteral<"ref">;
|
|
7184
|
+
ref: z.ZodString;
|
|
7185
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7186
|
+
kind: z.ZodLiteral<"role">;
|
|
7187
|
+
role: z.ZodString;
|
|
7188
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7189
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
7190
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7191
|
+
kind: z.ZodLiteral<"label">;
|
|
7192
|
+
text: z.ZodString;
|
|
7193
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7194
|
+
kind: z.ZodLiteral<"text">;
|
|
7195
|
+
text: z.ZodString;
|
|
7196
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7197
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
7198
|
+
text: z.ZodString;
|
|
7199
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7200
|
+
kind: z.ZodLiteral<"test_id">;
|
|
7201
|
+
value: z.ZodString;
|
|
7202
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7203
|
+
kind: z.ZodLiteral<"css">;
|
|
7204
|
+
selector: z.ZodString;
|
|
7205
|
+
}, z.core.$strict>], "kind">>;
|
|
7206
|
+
purpose: z.ZodEnum<{
|
|
7207
|
+
identifier: "identifier";
|
|
7208
|
+
password: "password";
|
|
7209
|
+
secret: "secret";
|
|
7210
|
+
totp: "totp";
|
|
7211
|
+
}>;
|
|
7212
|
+
value: z.ZodString;
|
|
7213
|
+
}, z.core.$strict>>;
|
|
7214
|
+
submit: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7215
|
+
type: z.ZodLiteral<"none">;
|
|
7216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7217
|
+
type: z.ZodLiteral<"click">;
|
|
7218
|
+
locator: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7219
|
+
kind: z.ZodLiteral<"ref">;
|
|
7220
|
+
ref: z.ZodString;
|
|
7221
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7222
|
+
kind: z.ZodLiteral<"role">;
|
|
7223
|
+
role: z.ZodString;
|
|
7224
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7225
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
7226
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7227
|
+
kind: z.ZodLiteral<"label">;
|
|
7228
|
+
text: z.ZodString;
|
|
7229
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7230
|
+
kind: z.ZodLiteral<"text">;
|
|
7231
|
+
text: z.ZodString;
|
|
7232
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7233
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
7234
|
+
text: z.ZodString;
|
|
7235
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7236
|
+
kind: z.ZodLiteral<"test_id">;
|
|
7237
|
+
value: z.ZodString;
|
|
7238
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7239
|
+
kind: z.ZodLiteral<"css">;
|
|
7240
|
+
selector: z.ZodString;
|
|
7241
|
+
}, z.core.$strict>], "kind">>;
|
|
7242
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7243
|
+
type: z.ZodLiteral<"press">;
|
|
7244
|
+
key: z.ZodString;
|
|
7245
|
+
locator: z.ZodOptional<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7246
|
+
kind: z.ZodLiteral<"ref">;
|
|
7247
|
+
ref: z.ZodString;
|
|
7248
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7249
|
+
kind: z.ZodLiteral<"role">;
|
|
7250
|
+
role: z.ZodString;
|
|
7251
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7252
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
7253
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7254
|
+
kind: z.ZodLiteral<"label">;
|
|
7255
|
+
text: z.ZodString;
|
|
7256
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7257
|
+
kind: z.ZodLiteral<"text">;
|
|
7258
|
+
text: z.ZodString;
|
|
7259
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7260
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
7261
|
+
text: z.ZodString;
|
|
7262
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7263
|
+
kind: z.ZodLiteral<"test_id">;
|
|
7264
|
+
value: z.ZodString;
|
|
7265
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7266
|
+
kind: z.ZodLiteral<"css">;
|
|
7267
|
+
selector: z.ZodString;
|
|
7268
|
+
}, z.core.$strict>], "kind">>>;
|
|
7269
|
+
}, z.core.$strict>], "type">;
|
|
7270
|
+
}, z.core.$strict>;
|
|
7271
|
+
export type BrowserProtectedAuthFillCommand = z.infer<typeof BrowserProtectedAuthFillCommand>;
|
|
7272
|
+
export declare const BrowserProtectedAuthObservation: z.ZodObject<{
|
|
7273
|
+
target: z.ZodObject<{
|
|
7274
|
+
id: z.ZodString;
|
|
7275
|
+
browserSessionId: z.ZodString;
|
|
7276
|
+
controllerGeneration: z.ZodString;
|
|
7277
|
+
targetGeneration: z.ZodString;
|
|
7278
|
+
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
7279
|
+
kind: z.ZodEnum<{
|
|
7280
|
+
background_page: "background_page";
|
|
7281
|
+
page: "page";
|
|
7282
|
+
popup: "popup";
|
|
7283
|
+
worker: "worker";
|
|
7284
|
+
}>;
|
|
7285
|
+
title: z.ZodString;
|
|
7286
|
+
url: z.ZodString;
|
|
7287
|
+
selected: z.ZodBoolean;
|
|
7288
|
+
attached: z.ZodBoolean;
|
|
7289
|
+
createdAt: z.ZodString;
|
|
7290
|
+
}, z.core.$strict>;
|
|
7291
|
+
status: z.ZodEnum<{
|
|
7292
|
+
submitted: "submitted";
|
|
7293
|
+
working: "working";
|
|
7294
|
+
}>;
|
|
7295
|
+
}, z.core.$strict>;
|
|
7296
|
+
export type BrowserProtectedAuthObservation = z.infer<typeof BrowserProtectedAuthObservation>;
|
|
7297
|
+
/** Secret-free placement receipt. It can be journaled, replayed, and returned
|
|
7298
|
+
* to the broker without retaining any field value or model-visible page tree. */
|
|
7299
|
+
export declare const BrowserProtectedAuthFillReceipt: z.ZodObject<{
|
|
7300
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
7301
|
+
operationId: z.ZodString;
|
|
7302
|
+
browserSessionId: z.ZodString;
|
|
7303
|
+
controllerGeneration: z.ZodString;
|
|
7304
|
+
targetId: z.ZodString;
|
|
7305
|
+
state: z.ZodEnum<{
|
|
7306
|
+
completed: "completed";
|
|
7307
|
+
dispatched: "dispatched";
|
|
7308
|
+
failed: "failed";
|
|
7309
|
+
outcome_unknown: "outcome_unknown";
|
|
7310
|
+
prepared: "prepared";
|
|
7311
|
+
}>;
|
|
7312
|
+
dispatchedAt: z.ZodNullable<z.ZodString>;
|
|
7313
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
7314
|
+
observation: z.ZodNullable<z.ZodObject<{
|
|
7315
|
+
target: z.ZodObject<{
|
|
7316
|
+
id: z.ZodString;
|
|
7317
|
+
browserSessionId: z.ZodString;
|
|
7318
|
+
controllerGeneration: z.ZodString;
|
|
7319
|
+
targetGeneration: z.ZodString;
|
|
7320
|
+
documentGeneration: z.ZodNullable<z.ZodString>;
|
|
7321
|
+
kind: z.ZodEnum<{
|
|
7322
|
+
background_page: "background_page";
|
|
7323
|
+
page: "page";
|
|
7324
|
+
popup: "popup";
|
|
7325
|
+
worker: "worker";
|
|
7326
|
+
}>;
|
|
7327
|
+
title: z.ZodString;
|
|
7328
|
+
url: z.ZodString;
|
|
7329
|
+
selected: z.ZodBoolean;
|
|
7330
|
+
attached: z.ZodBoolean;
|
|
7331
|
+
createdAt: z.ZodString;
|
|
7332
|
+
}, z.core.$strict>;
|
|
7333
|
+
status: z.ZodEnum<{
|
|
7334
|
+
submitted: "submitted";
|
|
7335
|
+
working: "working";
|
|
7336
|
+
}>;
|
|
7337
|
+
}, z.core.$strict>>;
|
|
7338
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
7339
|
+
code: z.ZodEnum<{
|
|
7340
|
+
attempt_stale: "attempt_stale";
|
|
7341
|
+
controller_lost: "controller_lost";
|
|
7342
|
+
controller_stale: "controller_stale";
|
|
7343
|
+
document_stale: "document_stale";
|
|
7344
|
+
driver_failed: "driver_failed";
|
|
7345
|
+
frame_stale: "frame_stale";
|
|
7346
|
+
invalid_action: "invalid_action";
|
|
7347
|
+
locator_ambiguous: "locator_ambiguous";
|
|
7348
|
+
locator_not_found: "locator_not_found";
|
|
7349
|
+
machine_locked: "machine_locked";
|
|
7350
|
+
observation_stale: "observation_stale";
|
|
7351
|
+
operation_conflict: "operation_conflict";
|
|
7352
|
+
outcome_unknown: "outcome_unknown";
|
|
7353
|
+
permission_denied: "permission_denied";
|
|
7354
|
+
resource_not_found: "resource_not_found";
|
|
7355
|
+
resource_unavailable: "resource_unavailable";
|
|
7356
|
+
target_not_found: "target_not_found";
|
|
7357
|
+
target_stale: "target_stale";
|
|
7358
|
+
timeout: "timeout";
|
|
7359
|
+
unsupported: "unsupported";
|
|
7360
|
+
}>;
|
|
7361
|
+
message: z.ZodString;
|
|
7362
|
+
retryable: z.ZodBoolean;
|
|
7363
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
7364
|
+
}, z.core.$strict>>;
|
|
7365
|
+
}, z.core.$strict>;
|
|
7366
|
+
export type BrowserProtectedAuthFillReceipt = z.infer<typeof BrowserProtectedAuthFillReceipt>;
|
|
6018
7367
|
export declare const ComputerSessionCapabilities: z.ZodObject<{
|
|
6019
7368
|
semanticObservation: z.ZodBoolean;
|
|
6020
7369
|
appDiscovery: z.ZodBoolean;
|
|
@@ -6024,10 +7373,22 @@ export declare const ComputerSessionCapabilities: z.ZodObject<{
|
|
|
6024
7373
|
semanticActions: z.ZodBoolean;
|
|
6025
7374
|
pointerInput: z.ZodBoolean;
|
|
6026
7375
|
keyboardInput: z.ZodBoolean;
|
|
7376
|
+
clipboard: z.ZodBoolean;
|
|
6027
7377
|
backgroundActions: z.ZodBoolean;
|
|
6028
7378
|
parallelApps: z.ZodBoolean;
|
|
6029
7379
|
}, z.core.$strict>;
|
|
6030
7380
|
export type ComputerSessionCapabilities = z.infer<typeof ComputerSessionCapabilities>;
|
|
7381
|
+
/** A fresh bounded read of the native clipboard for the ComputerSession's
|
|
7382
|
+
* graphical seat. Physical ComputerSessions on the same login seat intentionally
|
|
7383
|
+
* observe the same OS clipboard; BrowserSession private clipboards never do. */
|
|
7384
|
+
export declare const ComputerClipboard: z.ZodObject<{
|
|
7385
|
+
computerSessionId: z.ZodString;
|
|
7386
|
+
controllerGeneration: z.ZodString;
|
|
7387
|
+
text: z.ZodNullable<z.ZodString>;
|
|
7388
|
+
truncated: z.ZodBoolean;
|
|
7389
|
+
observedAt: z.ZodString;
|
|
7390
|
+
}, z.core.$strict>;
|
|
7391
|
+
export type ComputerClipboard = z.infer<typeof ComputerClipboard>;
|
|
6031
7392
|
export declare const ComputerSession: z.ZodObject<{
|
|
6032
7393
|
id: z.ZodString;
|
|
6033
7394
|
accountId: z.ZodString;
|
|
@@ -6081,6 +7442,7 @@ export declare const ComputerSession: z.ZodObject<{
|
|
|
6081
7442
|
semanticActions: z.ZodBoolean;
|
|
6082
7443
|
pointerInput: z.ZodBoolean;
|
|
6083
7444
|
keyboardInput: z.ZodBoolean;
|
|
7445
|
+
clipboard: z.ZodBoolean;
|
|
6084
7446
|
backgroundActions: z.ZodBoolean;
|
|
6085
7447
|
parallelApps: z.ZodBoolean;
|
|
6086
7448
|
}, z.core.$strict>>;
|
|
@@ -6270,6 +7632,15 @@ export declare const ComputerAction: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6270
7632
|
type: "type";
|
|
6271
7633
|
}>;
|
|
6272
7634
|
value: z.ZodString;
|
|
7635
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7636
|
+
type: z.ZodLiteral<"clipboard">;
|
|
7637
|
+
operation: z.ZodEnum<{
|
|
7638
|
+
clear: "clear";
|
|
7639
|
+
copy: "copy";
|
|
7640
|
+
paste: "paste";
|
|
7641
|
+
write: "write";
|
|
7642
|
+
}>;
|
|
7643
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6273
7644
|
}, z.core.$strict>, z.ZodObject<{
|
|
6274
7645
|
type: z.ZodLiteral<"focus">;
|
|
6275
7646
|
targetId: z.ZodString;
|
|
@@ -6363,6 +7734,15 @@ export declare const ComputerActionCommand: z.ZodObject<{
|
|
|
6363
7734
|
type: "type";
|
|
6364
7735
|
}>;
|
|
6365
7736
|
value: z.ZodString;
|
|
7737
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7738
|
+
type: z.ZodLiteral<"clipboard">;
|
|
7739
|
+
operation: z.ZodEnum<{
|
|
7740
|
+
clear: "clear";
|
|
7741
|
+
copy: "copy";
|
|
7742
|
+
paste: "paste";
|
|
7743
|
+
write: "write";
|
|
7744
|
+
}>;
|
|
7745
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6366
7746
|
}, z.core.$strict>, z.ZodObject<{
|
|
6367
7747
|
type: z.ZodLiteral<"focus">;
|
|
6368
7748
|
targetId: z.ZodString;
|
|
@@ -6574,6 +7954,7 @@ export declare const ComputerSessionListResponse: z.ZodObject<{
|
|
|
6574
7954
|
semanticActions: z.ZodBoolean;
|
|
6575
7955
|
pointerInput: z.ZodBoolean;
|
|
6576
7956
|
keyboardInput: z.ZodBoolean;
|
|
7957
|
+
clipboard: z.ZodBoolean;
|
|
6577
7958
|
backgroundActions: z.ZodBoolean;
|
|
6578
7959
|
parallelApps: z.ZodBoolean;
|
|
6579
7960
|
}, z.core.$strict>>;
|
|
@@ -6651,6 +8032,7 @@ export declare const ComputerSessionMutationResponse: z.ZodObject<{
|
|
|
6651
8032
|
semanticActions: z.ZodBoolean;
|
|
6652
8033
|
pointerInput: z.ZodBoolean;
|
|
6653
8034
|
keyboardInput: z.ZodBoolean;
|
|
8035
|
+
clipboard: z.ZodBoolean;
|
|
6654
8036
|
backgroundActions: z.ZodBoolean;
|
|
6655
8037
|
parallelApps: z.ZodBoolean;
|
|
6656
8038
|
}, z.core.$strict>>;
|
|
@@ -6776,6 +8158,10 @@ export declare const ComputerSessionAttachment: z.ZodObject<{
|
|
|
6776
8158
|
kind: z.ZodLiteral<"direct_websocket">;
|
|
6777
8159
|
url: z.ZodString;
|
|
6778
8160
|
protocols: z.ZodArray<z.ZodString>;
|
|
8161
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8162
|
+
kind: z.ZodLiteral<"direct_rfb">;
|
|
8163
|
+
url: z.ZodString;
|
|
8164
|
+
protocols: z.ZodArray<z.ZodString>;
|
|
6779
8165
|
}, z.core.$strict>, z.ZodObject<{
|
|
6780
8166
|
kind: z.ZodLiteral<"relay">;
|
|
6781
8167
|
url: z.ZodString;
|
|
@@ -6878,6 +8264,15 @@ export declare const ComputerActionRequest: z.ZodObject<{
|
|
|
6878
8264
|
type: "type";
|
|
6879
8265
|
}>;
|
|
6880
8266
|
value: z.ZodString;
|
|
8267
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8268
|
+
type: z.ZodLiteral<"clipboard">;
|
|
8269
|
+
operation: z.ZodEnum<{
|
|
8270
|
+
clear: "clear";
|
|
8271
|
+
copy: "copy";
|
|
8272
|
+
paste: "paste";
|
|
8273
|
+
write: "write";
|
|
8274
|
+
}>;
|
|
8275
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6881
8276
|
}, z.core.$strict>, z.ZodObject<{
|
|
6882
8277
|
type: z.ZodLiteral<"focus">;
|
|
6883
8278
|
targetId: z.ZodString;
|