@opengeni/contracts 3.1.0-canary.2 → 3.1.2

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.
Files changed (429) hide show
  1. package/dist/agent-authored-durable-text.d.ts +9 -9
  2. package/dist/agent-config.d.ts +971 -0
  3. package/dist/agent-instruction-changes.d.ts +0 -2
  4. package/dist/allowance-refusal.d.ts +9 -0
  5. package/dist/allowance-refusal.js +50 -0
  6. package/dist/allowance-refusal.js.map +1 -0
  7. package/dist/analytics-consent-report.d.ts +19 -0
  8. package/dist/analytics-consent-report.js +10 -0
  9. package/dist/analytics-consent-report.js.map +1 -0
  10. package/dist/api-key-presets.d.ts +19 -0
  11. package/dist/artifact-catalog.d.ts +188 -0
  12. package/dist/artifacts.d.ts +86 -0
  13. package/dist/atlassian-native-retirement.d.ts +16 -0
  14. package/dist/atlassian-native-retirement.js +30 -0
  15. package/dist/atlassian-native-retirement.js.map +1 -0
  16. package/dist/atlassian.d.ts +1 -0
  17. package/dist/atlassian.js +34 -19
  18. package/dist/browser-storage.d.ts +5 -0
  19. package/dist/browser-storage.js +9 -0
  20. package/dist/browser-storage.js.map +1 -0
  21. package/dist/bundled-skills.d.ts +24 -1
  22. package/dist/canonical-human-identities.js +2 -1
  23. package/dist/chunk-2ZIHHL72.js +153 -0
  24. package/dist/chunk-2ZIHHL72.js.map +1 -0
  25. package/dist/{chunk-5LYFSZ7O.js → chunk-352X6ENP.js} +31 -31
  26. package/dist/chunk-4JGHSSB7.js +11 -0
  27. package/dist/chunk-4JGHSSB7.js.map +1 -0
  28. package/dist/chunk-4QO6GJUX.js +85 -0
  29. package/dist/chunk-4QO6GJUX.js.map +1 -0
  30. package/dist/chunk-4VDMHLLL.js +49 -0
  31. package/dist/chunk-4VDMHLLL.js.map +1 -0
  32. package/dist/chunk-56SNIMDO.js +9 -0
  33. package/dist/chunk-56SNIMDO.js.map +1 -0
  34. package/dist/chunk-6C2HKFTU.js +207 -0
  35. package/dist/chunk-6C2HKFTU.js.map +1 -0
  36. package/dist/chunk-6IXO76Z6.js +72 -0
  37. package/dist/chunk-6IXO76Z6.js.map +1 -0
  38. package/dist/chunk-7272KVWZ.js +60 -0
  39. package/dist/chunk-7272KVWZ.js.map +1 -0
  40. package/dist/{chunk-7ABONTXE.js → chunk-E3GGUBHS.js} +49 -5
  41. package/dist/chunk-E3GGUBHS.js.map +1 -0
  42. package/dist/chunk-EFZYKUE2.js +767 -0
  43. package/dist/chunk-EFZYKUE2.js.map +1 -0
  44. package/dist/chunk-EKWNTOG3.js +154 -0
  45. package/dist/chunk-EKWNTOG3.js.map +1 -0
  46. package/dist/chunk-HABQ7ADB.js +234 -0
  47. package/dist/chunk-HABQ7ADB.js.map +1 -0
  48. package/dist/chunk-HRRU4QPI.js +91 -0
  49. package/dist/chunk-HRRU4QPI.js.map +1 -0
  50. package/dist/{chunk-3SIZGL3O.js → chunk-IK36LXKC.js} +18 -2
  51. package/dist/chunk-IK36LXKC.js.map +1 -0
  52. package/dist/{chunk-TXTQIYCV.js → chunk-ILJ72KPO.js} +56 -3
  53. package/dist/chunk-ILJ72KPO.js.map +1 -0
  54. package/dist/chunk-J4HQ3UKY.js +93 -0
  55. package/dist/chunk-J4HQ3UKY.js.map +1 -0
  56. package/dist/chunk-KHHZTBP7.js +11 -0
  57. package/dist/chunk-KHHZTBP7.js.map +1 -0
  58. package/dist/{chunk-WYBDERIY.js → chunk-LZ2LAHIX.js} +47 -41
  59. package/dist/chunk-LZ2LAHIX.js.map +1 -0
  60. package/dist/chunk-NDZHPTCL.js +400 -0
  61. package/dist/chunk-NDZHPTCL.js.map +1 -0
  62. package/dist/chunk-OF6OKOBF.js +54793 -0
  63. package/dist/chunk-OF6OKOBF.js.map +1 -0
  64. package/dist/chunk-OL23ARTF.js +94 -0
  65. package/dist/chunk-OL23ARTF.js.map +1 -0
  66. package/dist/chunk-PUIUXIOL.js +189 -0
  67. package/dist/chunk-PUIUXIOL.js.map +1 -0
  68. package/dist/{chunk-Y3KNXVTD.js → chunk-RMWXDZEO.js} +128 -21
  69. package/dist/chunk-RMWXDZEO.js.map +1 -0
  70. package/dist/{chunk-MRWYRAS5.js → chunk-SHO4YO4B.js} +27 -35
  71. package/dist/chunk-SHO4YO4B.js.map +1 -0
  72. package/dist/chunk-SWRN2DJ3.js +153 -0
  73. package/dist/chunk-SWRN2DJ3.js.map +1 -0
  74. package/dist/chunk-TCXCRBPF.js +267 -0
  75. package/dist/chunk-TCXCRBPF.js.map +1 -0
  76. package/dist/chunk-TLU3UEMD.js +324 -0
  77. package/dist/chunk-TLU3UEMD.js.map +1 -0
  78. package/dist/chunk-TSWWZMUS.js +186 -0
  79. package/dist/chunk-TSWWZMUS.js.map +1 -0
  80. package/dist/{chunk-PX3VCKAU.js → chunk-WVCFSOUZ.js} +1 -1
  81. package/dist/{chunk-PX3VCKAU.js.map → chunk-WVCFSOUZ.js.map} +1 -1
  82. package/dist/chunk-XDLAGX66.js +127 -0
  83. package/dist/chunk-XDLAGX66.js.map +1 -0
  84. package/dist/chunk-YKZ4WU4P.js +33 -0
  85. package/dist/chunk-YKZ4WU4P.js.map +1 -0
  86. package/dist/{chunk-O5LEQHDM.js → chunk-Z7WEVGCL.js} +3 -3
  87. package/dist/{chunk-YBW5JSA3.js → chunk-ZDCRWCGZ.js} +119 -101
  88. package/dist/chunk-ZDCRWCGZ.js.map +1 -0
  89. package/dist/claude-provider-account-authority.d.ts +18 -0
  90. package/dist/claude-subscription-oauth.d.ts +42 -0
  91. package/dist/claude-subscription-usage.d.ts +159 -0
  92. package/dist/client-error-report.d.ts +158 -0
  93. package/dist/client-error-report.js +164 -0
  94. package/dist/client-error-report.js.map +1 -0
  95. package/dist/code-search.d.ts +52 -0
  96. package/dist/code-search.js +40 -0
  97. package/dist/code-search.js.map +1 -0
  98. package/dist/codex-provider-account-authority.js +20 -12
  99. package/dist/codex-provider-account-authority.js.map +1 -1
  100. package/dist/company-profile.d.ts +144 -6
  101. package/dist/connect.d.ts +37 -0
  102. package/dist/connect.js +216 -159
  103. package/dist/connect.js.map +1 -1
  104. package/dist/connection-account-label.d.ts +2 -0
  105. package/dist/connection-account-label.js +35 -0
  106. package/dist/connection-account-label.js.map +1 -0
  107. package/dist/connection-authority.d.ts +9 -317
  108. package/dist/connection-authority.js +37 -42
  109. package/dist/connector-attachments.js +2 -1
  110. package/dist/connector-destinations.js +2 -1
  111. package/dist/connector-tool-permissions.d.ts +137 -0
  112. package/dist/cua-desktop-tools.d.ts +17 -0
  113. package/dist/define-schema.d.ts +8 -0
  114. package/dist/direct-model-provider.d.ts +36 -0
  115. package/dist/editable-artifact-codec-registry.js +5 -5
  116. package/dist/editable-artifact-committed-transaction.js +3 -2
  117. package/dist/editable-artifact-live.js +5 -5
  118. package/dist/editable-artifact-serialized-commit.js +6 -6
  119. package/dist/editable-artifact-versions.d.ts +7 -1
  120. package/dist/editable-artifact-versions.js +1 -1
  121. package/dist/editable-artifacts.js +62 -56
  122. package/dist/event-preview.d.ts +22 -0
  123. package/dist/external-identities.d.ts +138 -0
  124. package/dist/external-identities.js +9 -4
  125. package/dist/first-party-tool-authorization.d.ts +815 -0
  126. package/dist/github-repository-contracts.js +60 -43
  127. package/dist/github-repository-contracts.js.map +1 -1
  128. package/dist/google-drive.d.ts +2 -1
  129. package/dist/google-drive.js +305 -238
  130. package/dist/google-drive.js.map +1 -1
  131. package/dist/host-mcp-bindings.d.ts +5 -0
  132. package/dist/host-mcp-bindings.js +233 -170
  133. package/dist/host-mcp-bindings.js.map +1 -1
  134. package/dist/image-generation.d.ts +1 -0
  135. package/dist/index.d.ts +16761 -5946
  136. package/dist/index.js +1973 -260
  137. package/dist/insights-usage.d.ts +877 -0
  138. package/dist/insights-usage.js +559 -0
  139. package/dist/insights-usage.js.map +1 -0
  140. package/dist/interaction.d.ts +1176 -829
  141. package/dist/knowledge-entries.d.ts +81 -2
  142. package/dist/knowledge-preparation.d.ts +239 -0
  143. package/dist/managed-auth-session-sets.d.ts +7 -0
  144. package/dist/managed-auth-session-sets.js +198 -132
  145. package/dist/managed-auth-session-sets.js.map +1 -1
  146. package/dist/managed-sign-in-methods.d.ts +56 -0
  147. package/dist/managed-sign-in-methods.js +64 -0
  148. package/dist/managed-sign-in-methods.js.map +1 -0
  149. package/dist/mcp-catalog-limits.d.ts +2 -0
  150. package/dist/mcp-oauth.d.ts +2 -2
  151. package/dist/mcp-structured-content.d.ts +25 -0
  152. package/dist/modal-native-proof-v2.d.ts +587 -0
  153. package/dist/modal-native-proof-v2.js +38 -0
  154. package/dist/modal-native-proof-v2.js.map +1 -0
  155. package/dist/model-account-choice.d.ts +235 -0
  156. package/dist/model-account-settings.d.ts +422 -0
  157. package/dist/model-availability.d.ts +15 -0
  158. package/dist/model-connection-access.d.ts +13 -0
  159. package/dist/model-context-inspector.d.ts +98 -0
  160. package/dist/model-display.d.ts +43 -0
  161. package/dist/model-display.js +17 -0
  162. package/dist/model-display.js.map +1 -0
  163. package/dist/model-picker-order.d.ts +3 -1
  164. package/dist/model-picker-order.js +3 -0
  165. package/dist/model-picker-order.js.map +1 -1
  166. package/dist/organization-access.d.ts +412 -0
  167. package/dist/organization-access.js +39 -0
  168. package/dist/organization-access.js.map +1 -0
  169. package/dist/organization-integration-policy.d.ts +27 -0
  170. package/dist/organization-membership-lifecycle.d.ts +38 -0
  171. package/dist/organization-model-usage.d.ts +146 -0
  172. package/dist/organization-model-usage.js +78 -0
  173. package/dist/organization-model-usage.js.map +1 -0
  174. package/dist/organization-recovery.js +2 -1
  175. package/dist/organization-usage.d.ts +138 -0
  176. package/dist/permissions.d.ts +18 -0
  177. package/dist/personal-github.d.ts +1 -0
  178. package/dist/personal-github.js +199 -144
  179. package/dist/personal-github.js.map +1 -1
  180. package/dist/prepared-mcp-setup.d.ts +54 -0
  181. package/dist/prepared-mcp-setup.js +12 -0
  182. package/dist/prepared-mcp-setup.js.map +1 -0
  183. package/dist/product-analytics.d.ts +116 -0
  184. package/dist/product-lifecycle-facts.d.ts +73 -0
  185. package/dist/remember.d.ts +98 -6
  186. package/dist/retained-output.d.ts +8 -0
  187. package/dist/sandbox-file-artifacts.d.ts +1 -0
  188. package/dist/sandbox-provider-command.d.ts +91 -1
  189. package/dist/sandbox-recovery.d.ts +146 -0
  190. package/dist/secret-generator.d.ts +44 -0
  191. package/dist/secret-references.d.ts +90 -0
  192. package/dist/secret-resolution.d.ts +111 -0
  193. package/dist/secret-totp.d.ts +41 -0
  194. package/dist/session-final-reply.d.ts +6 -0
  195. package/dist/session-final-reply.js +9 -0
  196. package/dist/session-final-reply.js.map +1 -0
  197. package/dist/session-goal-reports.d.ts +21 -0
  198. package/dist/session-history-import.d.ts +1272 -0
  199. package/dist/session-list-entries.d.ts +4 -0
  200. package/dist/session-list-entries.js +56 -0
  201. package/dist/session-list-entries.js.map +1 -0
  202. package/dist/session-mcp-projections.d.ts +6 -0
  203. package/dist/session-mcp-tool-permissions.d.ts +62 -0
  204. package/dist/session-message-search.d.ts +68 -0
  205. package/dist/session-target.d.ts +18 -0
  206. package/dist/session-titles.d.ts +8 -0
  207. package/dist/session-titles.js +5 -1
  208. package/dist/session-usage-limit-refusal.d.ts +34 -0
  209. package/dist/session-usage-limit-refusal.js +15 -0
  210. package/dist/session-usage-limit-refusal.js.map +1 -0
  211. package/dist/session-usage-limits.d.ts +127 -0
  212. package/dist/session-usage-limits.js +41 -0
  213. package/dist/session-usage-limits.js.map +1 -0
  214. package/dist/signup-attribution.d.ts +39 -0
  215. package/dist/site-data.d.ts +286 -0
  216. package/dist/site-operations.d.ts +39 -0
  217. package/dist/site-publishing.d.ts +778 -0
  218. package/dist/site-session-http.d.ts +89 -4
  219. package/dist/site-session-http.js +25 -1
  220. package/dist/site-sql.d.ts +421 -0
  221. package/dist/skill-catalog-context.d.ts +7 -0
  222. package/dist/skill-files.d.ts +1 -1
  223. package/dist/skill-use.d.ts +61 -0
  224. package/dist/skills.d.ts +15 -0
  225. package/dist/slack-bot-scopes.d.ts +17 -12
  226. package/dist/slack-bot-scopes.js +10 -3
  227. package/dist/slack-rest-mcp.d.ts +36 -0
  228. package/dist/slack-rest-mcp.js +25 -0
  229. package/dist/slack-rest-mcp.js.map +1 -0
  230. package/dist/spreadsheet-artifact-commands.d.ts +14 -1
  231. package/dist/spreadsheet-artifact-commands.js +8 -2
  232. package/dist/spreadsheet-artifact-query.d.ts +13 -6
  233. package/dist/spreadsheet-artifact-query.js +3 -3
  234. package/dist/subscription-account-actions.d.ts +64 -0
  235. package/dist/subscription-account-pools.d.ts +292 -0
  236. package/dist/subscription-personal-authority-v2.d.ts +28 -0
  237. package/dist/subscription-personal-authority-v2.js +12 -0
  238. package/dist/subscription-personal-authority-v2.js.map +1 -0
  239. package/dist/tool-action-review.d.ts +132 -0
  240. package/dist/tool-catalog.d.ts +408 -0
  241. package/dist/tool-policy.d.ts +5 -0
  242. package/dist/tool-review-presentation.d.ts +12 -0
  243. package/dist/tool-review-presentation.js +17 -0
  244. package/dist/tool-review-presentation.js.map +1 -0
  245. package/dist/transcription-recordings.d.ts +21 -0
  246. package/dist/turn-serving-policy.d.ts +221 -0
  247. package/dist/usage-allowances.d.ts +314 -0
  248. package/dist/usage-allowances.js +52 -0
  249. package/dist/usage-allowances.js.map +1 -0
  250. package/dist/vaults.d.ts +1286 -0
  251. package/dist/video-generation.d.ts +3 -0
  252. package/dist/video-generation.js +2 -1
  253. package/dist/workspace-integration-wire.d.ts +36 -0
  254. package/dist/workspace-integration-wire.js +23 -0
  255. package/dist/workspace-integration-wire.js.map +1 -0
  256. package/dist/workspace-integrations.d.ts +1028 -0
  257. package/dist/xai-provider-account-authority.js +2 -1
  258. package/package.json +93 -5
  259. package/src/agent-authored-durable-text.ts +14 -11
  260. package/src/agent-config.ts +1698 -0
  261. package/src/agent-instruction-changes.ts +91 -74
  262. package/src/agent-learning.ts +94 -67
  263. package/src/agent-topology.ts +57 -52
  264. package/src/allowance-refusal.ts +81 -0
  265. package/src/analytics-consent-report.ts +20 -0
  266. package/src/api-key-presets.ts +28 -0
  267. package/src/artifact-catalog.ts +82 -0
  268. package/src/artifacts.ts +299 -227
  269. package/src/atlassian-native-retirement.ts +33 -0
  270. package/src/atlassian.ts +135 -108
  271. package/src/browser-storage.ts +10 -0
  272. package/src/bundled-skills.ts +60 -17
  273. package/src/canonical-human-identities.ts +60 -58
  274. package/src/claude-provider-account-authority.ts +12 -0
  275. package/src/claude-subscription-oauth.ts +73 -0
  276. package/src/claude-subscription-usage.ts +68 -0
  277. package/src/client-error-report.ts +343 -0
  278. package/src/code-search.ts +105 -0
  279. package/src/codex-provider-account-authority.ts +21 -16
  280. package/src/company-brain-governed-writes.ts +255 -233
  281. package/src/company-brain.ts +164 -153
  282. package/src/company-profile.ts +365 -292
  283. package/src/connect.ts +212 -173
  284. package/src/connection-account-label.ts +46 -0
  285. package/src/connection-authority.ts +183 -364
  286. package/src/connector-attachments.ts +137 -122
  287. package/src/connector-destinations.ts +46 -42
  288. package/src/connector-tool-permissions.ts +117 -0
  289. package/src/cua-desktop-tools.gen.json +6512 -0
  290. package/src/cua-desktop-tools.linux.gen.json +6600 -0
  291. package/src/cua-desktop-tools.ts +36 -0
  292. package/src/cua-desktop-tools.windows.gen.json +6353 -0
  293. package/src/define-schema.ts +10 -0
  294. package/src/direct-model-provider.ts +108 -0
  295. package/src/editable-artifact-committed-transaction.ts +17 -0
  296. package/src/editable-artifact-versions.ts +7 -1
  297. package/src/event-preview.ts +53 -3
  298. package/src/external-identities.ts +249 -176
  299. package/src/feedback.ts +43 -30
  300. package/src/first-party-tool-authorization.ts +356 -0
  301. package/src/github-repository-contracts.ts +78 -64
  302. package/src/google-drive.ts +285 -234
  303. package/src/governed-learning-activation.ts +152 -131
  304. package/src/governed-learning-evaluator.ts +140 -133
  305. package/src/host-mcp-bindings.ts +252 -198
  306. package/src/image-generation.ts +104 -95
  307. package/src/index.ts +13235 -8687
  308. package/src/insights-usage.ts +727 -0
  309. package/src/interaction.ts +3070 -2326
  310. package/src/knowledge-entries.ts +361 -276
  311. package/src/knowledge-preparation.ts +57 -0
  312. package/src/knowledge.ts +246 -213
  313. package/src/managed-auth-session-sets.ts +220 -144
  314. package/src/managed-sign-in-methods.ts +52 -0
  315. package/src/mcp-catalog-limits.ts +2 -0
  316. package/src/mcp-oauth.ts +43 -34
  317. package/src/mcp-receipts.ts +192 -192
  318. package/src/mcp-structured-content.ts +81 -0
  319. package/src/memory-slack-delivery.ts +171 -142
  320. package/src/modal-native-proof-v2.ts +429 -0
  321. package/src/model-account-choice.ts +177 -0
  322. package/src/model-account-settings.ts +210 -0
  323. package/src/model-availability.ts +22 -0
  324. package/src/model-connection-access.ts +61 -14
  325. package/src/model-context-inspector.ts +133 -99
  326. package/src/model-display.ts +221 -0
  327. package/src/model-picker-order.ts +12 -1
  328. package/src/organization-access.ts +217 -0
  329. package/src/organization-integration-policy.ts +63 -0
  330. package/src/organization-membership-lifecycle.ts +528 -382
  331. package/src/organization-model-usage.ts +81 -0
  332. package/src/organization-recovery.ts +147 -135
  333. package/src/organization-usage.ts +94 -0
  334. package/src/permissions.ts +88 -52
  335. package/src/personal-github.ts +210 -171
  336. package/src/preference-registry.ts +314 -258
  337. package/src/prepared-mcp-setup.ts +189 -0
  338. package/src/product-analytics.ts +261 -0
  339. package/src/product-lifecycle-facts.ts +122 -0
  340. package/src/remember.ts +181 -167
  341. package/src/retained-output.ts +194 -165
  342. package/src/sandbox-file-artifacts.ts +60 -47
  343. package/src/sandbox-provider-command.ts +88 -20
  344. package/src/sandbox-recovery.ts +129 -0
  345. package/src/scoped-knowledge.ts +61 -43
  346. package/src/secret-generator.ts +155 -0
  347. package/src/secret-references.ts +414 -0
  348. package/src/secret-resolution.ts +274 -0
  349. package/src/secret-totp.ts +188 -0
  350. package/src/session-final-reply.ts +16 -0
  351. package/src/session-goal-reports.ts +64 -0
  352. package/src/session-history-import.ts +177 -0
  353. package/src/session-list-entries.ts +96 -0
  354. package/src/session-mcp-projections.ts +11 -0
  355. package/src/session-mcp-tool-permissions.ts +108 -0
  356. package/src/session-message-search.ts +61 -0
  357. package/src/session-target.ts +57 -0
  358. package/src/session-titles.ts +80 -10
  359. package/src/session-topology-primitives.ts +19 -12
  360. package/src/session-usage-limit-refusal.ts +101 -0
  361. package/src/session-usage-limits.ts +171 -0
  362. package/src/signup-attribution.ts +86 -0
  363. package/src/site-data.ts +339 -0
  364. package/src/site-operations.ts +154 -0
  365. package/src/site-publishing.ts +876 -0
  366. package/src/site-session-http.ts +294 -16
  367. package/src/site-sql.ts +1123 -0
  368. package/src/skill-catalog-context.ts +50 -0
  369. package/src/skill-files.ts +3 -3
  370. package/src/skill-use.ts +80 -0
  371. package/src/skills.ts +82 -54
  372. package/src/slack-bot-scopes.ts +31 -39
  373. package/src/slack-rest-mcp.ts +222 -0
  374. package/src/slack-task-policy.ts +96 -73
  375. package/src/spreadsheet-artifact-commands.ts +73 -2
  376. package/src/spreadsheet-artifact-query.ts +187 -39
  377. package/src/subscription-account-actions.ts +84 -0
  378. package/src/subscription-account-pools.ts +53 -0
  379. package/src/subscription-personal-authority-v2.ts +66 -0
  380. package/src/task-notes.ts +55 -51
  381. package/src/tool-action-review.ts +258 -0
  382. package/src/tool-catalog.ts +609 -372
  383. package/src/tool-policy.ts +82 -0
  384. package/src/tool-result-spill.ts +12 -9
  385. package/src/tool-review-presentation.ts +385 -0
  386. package/src/transcription-recordings.ts +145 -131
  387. package/src/turn-serving-policy.ts +166 -0
  388. package/src/usage-allowances.ts +248 -0
  389. package/src/vaults.ts +850 -0
  390. package/src/video-generation.ts +385 -360
  391. package/src/work-claims.ts +173 -149
  392. package/src/workspace-instruction-policies.ts +349 -276
  393. package/src/workspace-integration-wire.ts +101 -0
  394. package/src/workspace-integrations.ts +724 -0
  395. package/src/workspace-learning-administration.ts +57 -44
  396. package/src/workspace-learning-policy.ts +127 -96
  397. package/src/workspace-state.ts +250 -220
  398. package/src/xai-provider-account-authority.ts +22 -17
  399. package/dist/chunk-2AC63F4S.js +0 -171
  400. package/dist/chunk-2AC63F4S.js.map +0 -1
  401. package/dist/chunk-3SIZGL3O.js.map +0 -1
  402. package/dist/chunk-7ABONTXE.js.map +0 -1
  403. package/dist/chunk-BCS7WHCK.js +0 -139
  404. package/dist/chunk-BCS7WHCK.js.map +0 -1
  405. package/dist/chunk-GRG7PHWQ.js +0 -25
  406. package/dist/chunk-GRG7PHWQ.js.map +0 -1
  407. package/dist/chunk-JUFK3T4Q.js +0 -80
  408. package/dist/chunk-JUFK3T4Q.js.map +0 -1
  409. package/dist/chunk-M5ZGRVIQ.js +0 -719
  410. package/dist/chunk-M5ZGRVIQ.js.map +0 -1
  411. package/dist/chunk-MRWYRAS5.js.map +0 -1
  412. package/dist/chunk-OVFORMPW.js +0 -348
  413. package/dist/chunk-OVFORMPW.js.map +0 -1
  414. package/dist/chunk-P3HLDT77.js +0 -59
  415. package/dist/chunk-P3HLDT77.js.map +0 -1
  416. package/dist/chunk-QQUJ6NPW.js +0 -23093
  417. package/dist/chunk-QQUJ6NPW.js.map +0 -1
  418. package/dist/chunk-TXTQIYCV.js.map +0 -1
  419. package/dist/chunk-WYBDERIY.js.map +0 -1
  420. package/dist/chunk-Y3KNXVTD.js.map +0 -1
  421. package/dist/chunk-YBW5JSA3.js.map +0 -1
  422. package/dist/chunk-YRXAWWCU.js +0 -45
  423. package/dist/chunk-YRXAWWCU.js.map +0 -1
  424. package/dist/host-mcp-resolvers.d.ts +0 -32
  425. package/dist/host-mcp-resolvers.js +0 -34
  426. package/dist/host-mcp-resolvers.js.map +0 -1
  427. package/src/host-mcp-resolvers.ts +0 -50
  428. /package/dist/{chunk-5LYFSZ7O.js.map → chunk-352X6ENP.js.map} +0 -0
  429. /package/dist/{chunk-O5LEQHDM.js.map → chunk-Z7WEVGCL.js.map} +0 -0
@@ -13,6 +13,9 @@ export declare const INTERACTION_MAX_SEMANTIC_NODES = 10000;
13
13
  export declare const INTERACTION_MAX_CHANGED_NODES = 2000;
14
14
  export declare const INTERACTION_MAX_DIAGNOSTIC_ENTRIES = 1000;
15
15
  export declare const INTERACTION_MAX_ACTIONS_PER_BATCH = 32;
16
+ /** A batch action resolves at most two locators (drag: from and to). */
17
+ export declare const INTERACTION_MAX_RESOLVED_ACTION_TARGETS: number;
18
+ export declare const INTERACTION_MAX_RESOLVED_TARGET_TEXT = 200;
16
19
  export declare const INTERACTION_MAX_WORKSPACE_FILES_PER_COMMAND = 100;
17
20
  export declare const INTERACTION_MAX_CLIPBOARD_BYTES: number;
18
21
  /**
@@ -107,6 +110,13 @@ export declare const BrowserSessionCapabilities: z.ZodObject<{
107
110
  parallelTargets: z.ZodBoolean;
108
111
  }, z.core.$strict>;
109
112
  export type BrowserSessionCapabilities = z.infer<typeof BrowserSessionCapabilities>;
113
+ /** Versioned persistent discriminator for experimental disposable contexts. */
114
+ export { EPHEMERAL_CHROMIUM_DRIVER_ID, browserSessionStorageMode } from "./browser-storage.js";
115
+ export declare const BrowserStorageMode: z.ZodEnum<{
116
+ ephemeral_context: "ephemeral_context";
117
+ private_profile: "private_profile";
118
+ }>;
119
+ export type BrowserStorageMode = z.infer<typeof BrowserStorageMode>;
110
120
  export declare const BrowserSession: z.ZodObject<{
111
121
  id: z.ZodString;
112
122
  accountId: z.ZodString;
@@ -260,6 +270,30 @@ export declare const AttachedBrowserDeviceAnnouncement: z.ZodObject<{
260
270
  }, z.core.$strict>;
261
271
  }, z.core.$strict>;
262
272
  export type AttachedBrowserDeviceAnnouncement = z.infer<typeof AttachedBrowserDeviceAnnouncement>;
273
+ /** Why the machine's browser bridge saw one extension connection end. */
274
+ export declare const AttachedBrowserConnectionEndReason: z.ZodEnum<{
275
+ agent_rejected: "agent_rejected";
276
+ browser_closed_port: "browser_closed_port";
277
+ browser_message_invalid: "browser_message_invalid";
278
+ browser_output_failed: "browser_output_failed";
279
+ native_host_lost: "native_host_lost";
280
+ }>;
281
+ export type AttachedBrowserConnectionEndReason = z.infer<typeof AttachedBrowserConnectionEndReason>;
282
+ export declare const AttachedBrowserConnectionEnd: z.ZodObject<{
283
+ deviceId: z.ZodString;
284
+ connectionGeneration: z.ZodString;
285
+ reason: z.ZodEnum<{
286
+ agent_rejected: "agent_rejected";
287
+ browser_closed_port: "browser_closed_port";
288
+ browser_message_invalid: "browser_message_invalid";
289
+ browser_output_failed: "browser_output_failed";
290
+ native_host_lost: "native_host_lost";
291
+ }>;
292
+ detail: z.ZodNullable<z.ZodString>;
293
+ endedAt: z.ZodString;
294
+ connectedMs: z.ZodNumber;
295
+ }, z.core.$strict>;
296
+ export type AttachedBrowserConnectionEnd = z.infer<typeof AttachedBrowserConnectionEnd>;
263
297
  export declare const AttachedBrowserInventorySnapshot: z.ZodObject<{
264
298
  bridgeGeneration: z.ZodString;
265
299
  revision: z.ZodNumber;
@@ -294,6 +328,20 @@ export declare const AttachedBrowserInventorySnapshot: z.ZodObject<{
294
328
  linkedComputer: z.ZodBoolean;
295
329
  }, z.core.$strict>;
296
330
  }, z.core.$strict>>;
331
+ connectionEnds: z.ZodOptional<z.ZodArray<z.ZodObject<{
332
+ deviceId: z.ZodString;
333
+ connectionGeneration: z.ZodString;
334
+ reason: z.ZodEnum<{
335
+ agent_rejected: "agent_rejected";
336
+ browser_closed_port: "browser_closed_port";
337
+ browser_message_invalid: "browser_message_invalid";
338
+ browser_output_failed: "browser_output_failed";
339
+ native_host_lost: "native_host_lost";
340
+ }>;
341
+ detail: z.ZodNullable<z.ZodString>;
342
+ endedAt: z.ZodString;
343
+ connectedMs: z.ZodNumber;
344
+ }, z.core.$strict>>>;
297
345
  }, z.core.$strict>;
298
346
  export type AttachedBrowserInventorySnapshot = z.infer<typeof AttachedBrowserInventorySnapshot>;
299
347
  export declare const AttachedBrowserDevice: z.ZodObject<{
@@ -341,7 +389,7 @@ export declare const AttachedBrowserDevice: z.ZodObject<{
341
389
  export type AttachedBrowserDevice = z.infer<typeof AttachedBrowserDevice>;
342
390
  /** One enrolled machine agent currently reporting its browser-bridge inventory.
343
391
  * A bridge with zero devices is operational but has no Chrome profile connected
344
- * through the OpenGeni extension yet. */
392
+ * through the Opengeni extension yet. */
345
393
  export declare const AttachedBrowserBridge: z.ZodObject<{
346
394
  enrollmentId: z.ZodString;
347
395
  state: z.ZodEnum<{
@@ -665,7 +713,7 @@ export declare const BrowserIdentity: z.ZodObject<{
665
713
  updatedAt: z.ZodString;
666
714
  }, z.core.$strict>;
667
715
  export type BrowserIdentity = z.infer<typeof BrowserIdentity>;
668
- /** A non-secret reference to credential authority held by OpenGeni Connections.
716
+ /** A non-secret reference to credential authority held by Opengeni Connections.
669
717
  * The subject and provider bindings are copied when the browser-auth resource is
670
718
  * configured so a later agent cannot swap the UUID to another credential. */
671
719
  export declare const InteractionCredentialAuthorityRef: z.ZodObject<{
@@ -1202,53 +1250,7 @@ export declare const NetworkRouteMutationResponse: z.ZodObject<{
1202
1250
  replayed: z.ZodBoolean;
1203
1251
  }, z.core.$strict>;
1204
1252
  export type NetworkRouteMutationResponse = z.infer<typeof NetworkRouteMutationResponse>;
1205
- export declare const SiteAuthFieldPurpose: z.ZodEnum<{
1206
- identifier: "identifier";
1207
- password: "password";
1208
- secret: "secret";
1209
- totp: "totp";
1210
- }>;
1211
- export type SiteAuthFieldPurpose = z.infer<typeof SiteAuthFieldPurpose>;
1212
1253
  export declare const SiteAuthAuthority: z.ZodDiscriminatedUnion<[z.ZodObject<{
1213
- id: z.ZodString;
1214
- kind: z.ZodLiteral<"connection_fields">;
1215
- label: z.ZodString;
1216
- credential: z.ZodObject<{
1217
- connectionId: z.ZodString;
1218
- connectionSubjectId: z.ZodNullable<z.ZodString>;
1219
- providerDomain: z.ZodString;
1220
- }, z.core.$strict>;
1221
- fields: z.ZodArray<z.ZodObject<{
1222
- id: z.ZodString;
1223
- purpose: z.ZodEnum<{
1224
- identifier: "identifier";
1225
- password: "password";
1226
- secret: "secret";
1227
- totp: "totp";
1228
- }>;
1229
- credentialKey: z.ZodString;
1230
- digits: z.ZodOptional<z.ZodNumber>;
1231
- periodSeconds: z.ZodOptional<z.ZodNumber>;
1232
- algorithm: z.ZodOptional<z.ZodEnum<{
1233
- sha1: "sha1";
1234
- sha256: "sha256";
1235
- sha512: "sha512";
1236
- }>>;
1237
- }, z.core.$strict>>;
1238
- }, z.core.$strict>, z.ZodObject<{
1239
- id: z.ZodString;
1240
- kind: z.ZodLiteral<"human">;
1241
- label: z.ZodString;
1242
- fields: z.ZodArray<z.ZodObject<{
1243
- id: z.ZodString;
1244
- purpose: z.ZodEnum<{
1245
- identifier: "identifier";
1246
- password: "password";
1247
- secret: "secret";
1248
- totp: "totp";
1249
- }>;
1250
- }, z.core.$strict>>;
1251
- }, z.core.$strict>, z.ZodObject<{
1252
1254
  id: z.ZodString;
1253
1255
  kind: z.ZodLiteral<"external_provider">;
1254
1256
  label: z.ZodString;
@@ -1310,45 +1312,6 @@ export declare const SiteAuthConnection: z.ZodObject<{
1310
1312
  loginUrl: z.ZodNullable<z.ZodString>;
1311
1313
  verificationUrlPrefixes: z.ZodArray<z.ZodString>;
1312
1314
  authorities: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1313
- id: z.ZodString;
1314
- kind: z.ZodLiteral<"connection_fields">;
1315
- label: z.ZodString;
1316
- credential: z.ZodObject<{
1317
- connectionId: z.ZodString;
1318
- connectionSubjectId: z.ZodNullable<z.ZodString>;
1319
- providerDomain: z.ZodString;
1320
- }, z.core.$strict>;
1321
- fields: z.ZodArray<z.ZodObject<{
1322
- id: z.ZodString;
1323
- purpose: z.ZodEnum<{
1324
- identifier: "identifier";
1325
- password: "password";
1326
- secret: "secret";
1327
- totp: "totp";
1328
- }>;
1329
- credentialKey: z.ZodString;
1330
- digits: z.ZodOptional<z.ZodNumber>;
1331
- periodSeconds: z.ZodOptional<z.ZodNumber>;
1332
- algorithm: z.ZodOptional<z.ZodEnum<{
1333
- sha1: "sha1";
1334
- sha256: "sha256";
1335
- sha512: "sha512";
1336
- }>>;
1337
- }, z.core.$strict>>;
1338
- }, z.core.$strict>, z.ZodObject<{
1339
- id: z.ZodString;
1340
- kind: z.ZodLiteral<"human">;
1341
- label: z.ZodString;
1342
- fields: z.ZodArray<z.ZodObject<{
1343
- id: z.ZodString;
1344
- purpose: z.ZodEnum<{
1345
- identifier: "identifier";
1346
- password: "password";
1347
- secret: "secret";
1348
- totp: "totp";
1349
- }>;
1350
- }, z.core.$strict>>;
1351
- }, z.core.$strict>, z.ZodObject<{
1352
1315
  id: z.ZodString;
1353
1316
  kind: z.ZodLiteral<"external_provider">;
1354
1317
  label: z.ZodString;
@@ -1438,45 +1401,6 @@ export declare const SiteAuthConnectionListResponse: z.ZodObject<{
1438
1401
  loginUrl: z.ZodNullable<z.ZodString>;
1439
1402
  verificationUrlPrefixes: z.ZodArray<z.ZodString>;
1440
1403
  authorities: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1441
- id: z.ZodString;
1442
- kind: z.ZodLiteral<"connection_fields">;
1443
- label: z.ZodString;
1444
- credential: z.ZodObject<{
1445
- connectionId: z.ZodString;
1446
- connectionSubjectId: z.ZodNullable<z.ZodString>;
1447
- providerDomain: z.ZodString;
1448
- }, z.core.$strict>;
1449
- fields: z.ZodArray<z.ZodObject<{
1450
- id: z.ZodString;
1451
- purpose: z.ZodEnum<{
1452
- identifier: "identifier";
1453
- password: "password";
1454
- secret: "secret";
1455
- totp: "totp";
1456
- }>;
1457
- credentialKey: z.ZodString;
1458
- digits: z.ZodOptional<z.ZodNumber>;
1459
- periodSeconds: z.ZodOptional<z.ZodNumber>;
1460
- algorithm: z.ZodOptional<z.ZodEnum<{
1461
- sha1: "sha1";
1462
- sha256: "sha256";
1463
- sha512: "sha512";
1464
- }>>;
1465
- }, z.core.$strict>>;
1466
- }, z.core.$strict>, z.ZodObject<{
1467
- id: z.ZodString;
1468
- kind: z.ZodLiteral<"human">;
1469
- label: z.ZodString;
1470
- fields: z.ZodArray<z.ZodObject<{
1471
- id: z.ZodString;
1472
- purpose: z.ZodEnum<{
1473
- identifier: "identifier";
1474
- password: "password";
1475
- secret: "secret";
1476
- totp: "totp";
1477
- }>;
1478
- }, z.core.$strict>>;
1479
- }, z.core.$strict>, z.ZodObject<{
1480
1404
  id: z.ZodString;
1481
1405
  kind: z.ZodLiteral<"external_provider">;
1482
1406
  label: z.ZodString;
@@ -1565,45 +1489,6 @@ export declare const CreateSiteAuthConnectionRequest: z.ZodObject<{
1565
1489
  loginUrl: z.ZodNullable<z.ZodString>;
1566
1490
  verificationUrlPrefixes: z.ZodArray<z.ZodString>;
1567
1491
  authorities: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1568
- id: z.ZodString;
1569
- kind: z.ZodLiteral<"connection_fields">;
1570
- label: z.ZodString;
1571
- credential: z.ZodObject<{
1572
- connectionId: z.ZodString;
1573
- connectionSubjectId: z.ZodNullable<z.ZodString>;
1574
- providerDomain: z.ZodString;
1575
- }, z.core.$strict>;
1576
- fields: z.ZodArray<z.ZodObject<{
1577
- id: z.ZodString;
1578
- purpose: z.ZodEnum<{
1579
- identifier: "identifier";
1580
- password: "password";
1581
- secret: "secret";
1582
- totp: "totp";
1583
- }>;
1584
- credentialKey: z.ZodString;
1585
- digits: z.ZodOptional<z.ZodNumber>;
1586
- periodSeconds: z.ZodOptional<z.ZodNumber>;
1587
- algorithm: z.ZodOptional<z.ZodEnum<{
1588
- sha1: "sha1";
1589
- sha256: "sha256";
1590
- sha512: "sha512";
1591
- }>>;
1592
- }, z.core.$strict>>;
1593
- }, z.core.$strict>, z.ZodObject<{
1594
- id: z.ZodString;
1595
- kind: z.ZodLiteral<"human">;
1596
- label: z.ZodString;
1597
- fields: z.ZodArray<z.ZodObject<{
1598
- id: z.ZodString;
1599
- purpose: z.ZodEnum<{
1600
- identifier: "identifier";
1601
- password: "password";
1602
- secret: "secret";
1603
- totp: "totp";
1604
- }>;
1605
- }, z.core.$strict>>;
1606
- }, z.core.$strict>, z.ZodObject<{
1607
1492
  id: z.ZodString;
1608
1493
  kind: z.ZodLiteral<"external_provider">;
1609
1494
  label: z.ZodString;
@@ -1661,45 +1546,6 @@ export declare const UpdateSiteAuthConnectionRequest: z.ZodObject<{
1661
1546
  loginUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1662
1547
  verificationUrlPrefixes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1663
1548
  authorities: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1664
- id: z.ZodString;
1665
- kind: z.ZodLiteral<"connection_fields">;
1666
- label: z.ZodString;
1667
- credential: z.ZodObject<{
1668
- connectionId: z.ZodString;
1669
- connectionSubjectId: z.ZodNullable<z.ZodString>;
1670
- providerDomain: z.ZodString;
1671
- }, z.core.$strict>;
1672
- fields: z.ZodArray<z.ZodObject<{
1673
- id: z.ZodString;
1674
- purpose: z.ZodEnum<{
1675
- identifier: "identifier";
1676
- password: "password";
1677
- secret: "secret";
1678
- totp: "totp";
1679
- }>;
1680
- credentialKey: z.ZodString;
1681
- digits: z.ZodOptional<z.ZodNumber>;
1682
- periodSeconds: z.ZodOptional<z.ZodNumber>;
1683
- algorithm: z.ZodOptional<z.ZodEnum<{
1684
- sha1: "sha1";
1685
- sha256: "sha256";
1686
- sha512: "sha512";
1687
- }>>;
1688
- }, z.core.$strict>>;
1689
- }, z.core.$strict>, z.ZodObject<{
1690
- id: z.ZodString;
1691
- kind: z.ZodLiteral<"human">;
1692
- label: z.ZodString;
1693
- fields: z.ZodArray<z.ZodObject<{
1694
- id: z.ZodString;
1695
- purpose: z.ZodEnum<{
1696
- identifier: "identifier";
1697
- password: "password";
1698
- secret: "secret";
1699
- totp: "totp";
1700
- }>;
1701
- }, z.core.$strict>>;
1702
- }, z.core.$strict>, z.ZodObject<{
1703
1549
  id: z.ZodString;
1704
1550
  kind: z.ZodLiteral<"external_provider">;
1705
1551
  label: z.ZodString;
@@ -1763,45 +1609,6 @@ export declare const SiteAuthConnectionMutationResponse: z.ZodObject<{
1763
1609
  loginUrl: z.ZodNullable<z.ZodString>;
1764
1610
  verificationUrlPrefixes: z.ZodArray<z.ZodString>;
1765
1611
  authorities: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1766
- id: z.ZodString;
1767
- kind: z.ZodLiteral<"connection_fields">;
1768
- label: z.ZodString;
1769
- credential: z.ZodObject<{
1770
- connectionId: z.ZodString;
1771
- connectionSubjectId: z.ZodNullable<z.ZodString>;
1772
- providerDomain: z.ZodString;
1773
- }, z.core.$strict>;
1774
- fields: z.ZodArray<z.ZodObject<{
1775
- id: z.ZodString;
1776
- purpose: z.ZodEnum<{
1777
- identifier: "identifier";
1778
- password: "password";
1779
- secret: "secret";
1780
- totp: "totp";
1781
- }>;
1782
- credentialKey: z.ZodString;
1783
- digits: z.ZodOptional<z.ZodNumber>;
1784
- periodSeconds: z.ZodOptional<z.ZodNumber>;
1785
- algorithm: z.ZodOptional<z.ZodEnum<{
1786
- sha1: "sha1";
1787
- sha256: "sha256";
1788
- sha512: "sha512";
1789
- }>>;
1790
- }, z.core.$strict>>;
1791
- }, z.core.$strict>, z.ZodObject<{
1792
- id: z.ZodString;
1793
- kind: z.ZodLiteral<"human">;
1794
- label: z.ZodString;
1795
- fields: z.ZodArray<z.ZodObject<{
1796
- id: z.ZodString;
1797
- purpose: z.ZodEnum<{
1798
- identifier: "identifier";
1799
- password: "password";
1800
- secret: "secret";
1801
- totp: "totp";
1802
- }>;
1803
- }, z.core.$strict>>;
1804
- }, z.core.$strict>, z.ZodObject<{
1805
1612
  id: z.ZodString;
1806
1613
  kind: z.ZodLiteral<"external_provider">;
1807
1614
  label: z.ZodString;
@@ -1888,7 +1695,6 @@ export type SiteAuthConnectionMutationResponse = z.infer<typeof SiteAuthConnecti
1888
1695
  export declare const AuthRunState: z.ZodEnum<{
1889
1696
  awaiting_choice: "awaiting_choice";
1890
1697
  awaiting_external_action: "awaiting_external_action";
1891
- awaiting_secret: "awaiting_secret";
1892
1698
  cancelled: "cancelled";
1893
1699
  discovering: "discovering";
1894
1700
  failed: "failed";
@@ -1902,17 +1708,6 @@ export declare const AuthRunChoice: z.ZodObject<{
1902
1708
  methodId: z.ZodString;
1903
1709
  }, z.core.$strict>;
1904
1710
  export type AuthRunChoice = z.infer<typeof AuthRunChoice>;
1905
- export declare const AuthRunPendingField: z.ZodObject<{
1906
- id: z.ZodString;
1907
- label: z.ZodString;
1908
- purpose: z.ZodEnum<{
1909
- identifier: "identifier";
1910
- password: "password";
1911
- secret: "secret";
1912
- totp: "totp";
1913
- }>;
1914
- }, z.core.$strict>;
1915
- export type AuthRunPendingField = z.infer<typeof AuthRunPendingField>;
1916
1711
  export declare const AuthRunExternalAction: z.ZodObject<{
1917
1712
  kind: z.ZodEnum<{
1918
1713
  device: "device";
@@ -1946,7 +1741,6 @@ export declare const AuthRun: z.ZodObject<{
1946
1741
  state: z.ZodEnum<{
1947
1742
  awaiting_choice: "awaiting_choice";
1948
1743
  awaiting_external_action: "awaiting_external_action";
1949
- awaiting_secret: "awaiting_secret";
1950
1744
  cancelled: "cancelled";
1951
1745
  discovering: "discovering";
1952
1746
  failed: "failed";
@@ -1958,16 +1752,6 @@ export declare const AuthRun: z.ZodObject<{
1958
1752
  label: z.ZodString;
1959
1753
  methodId: z.ZodString;
1960
1754
  }, z.core.$strict>>;
1961
- pendingFields: z.ZodArray<z.ZodObject<{
1962
- id: z.ZodString;
1963
- label: z.ZodString;
1964
- purpose: z.ZodEnum<{
1965
- identifier: "identifier";
1966
- password: "password";
1967
- secret: "secret";
1968
- totp: "totp";
1969
- }>;
1970
- }, z.core.$strict>>;
1971
1755
  externalAction: z.ZodNullable<z.ZodObject<{
1972
1756
  kind: z.ZodEnum<{
1973
1757
  device: "device";
@@ -2012,7 +1796,6 @@ export declare const AuthRunListResponse: z.ZodObject<{
2012
1796
  state: z.ZodEnum<{
2013
1797
  awaiting_choice: "awaiting_choice";
2014
1798
  awaiting_external_action: "awaiting_external_action";
2015
- awaiting_secret: "awaiting_secret";
2016
1799
  cancelled: "cancelled";
2017
1800
  discovering: "discovering";
2018
1801
  failed: "failed";
@@ -2024,16 +1807,6 @@ export declare const AuthRunListResponse: z.ZodObject<{
2024
1807
  label: z.ZodString;
2025
1808
  methodId: z.ZodString;
2026
1809
  }, z.core.$strict>>;
2027
- pendingFields: z.ZodArray<z.ZodObject<{
2028
- id: z.ZodString;
2029
- label: z.ZodString;
2030
- purpose: z.ZodEnum<{
2031
- identifier: "identifier";
2032
- password: "password";
2033
- secret: "secret";
2034
- totp: "totp";
2035
- }>;
2036
- }, z.core.$strict>>;
2037
1810
  externalAction: z.ZodNullable<z.ZodObject<{
2038
1811
  kind: z.ZodEnum<{
2039
1812
  device: "device";
@@ -2079,7 +1852,6 @@ export declare const AuthRunMutationResponse: z.ZodObject<{
2079
1852
  state: z.ZodEnum<{
2080
1853
  awaiting_choice: "awaiting_choice";
2081
1854
  awaiting_external_action: "awaiting_external_action";
2082
- awaiting_secret: "awaiting_secret";
2083
1855
  cancelled: "cancelled";
2084
1856
  discovering: "discovering";
2085
1857
  failed: "failed";
@@ -2091,16 +1863,6 @@ export declare const AuthRunMutationResponse: z.ZodObject<{
2091
1863
  label: z.ZodString;
2092
1864
  methodId: z.ZodString;
2093
1865
  }, z.core.$strict>>;
2094
- pendingFields: z.ZodArray<z.ZodObject<{
2095
- id: z.ZodString;
2096
- label: z.ZodString;
2097
- purpose: z.ZodEnum<{
2098
- identifier: "identifier";
2099
- password: "password";
2100
- secret: "secret";
2101
- totp: "totp";
2102
- }>;
2103
- }, z.core.$strict>>;
2104
1866
  externalAction: z.ZodNullable<z.ZodObject<{
2105
1867
  kind: z.ZodEnum<{
2106
1868
  device: "device";
@@ -2149,7 +1911,6 @@ export declare const ReportAuthRunPayload: z.ZodObject<{
2149
1911
  state: z.ZodEnum<{
2150
1912
  awaiting_choice: "awaiting_choice";
2151
1913
  awaiting_external_action: "awaiting_external_action";
2152
- awaiting_secret: "awaiting_secret";
2153
1914
  cancelled: "cancelled";
2154
1915
  failed: "failed";
2155
1916
  working: "working";
@@ -2159,16 +1920,6 @@ export declare const ReportAuthRunPayload: z.ZodObject<{
2159
1920
  label: z.ZodString;
2160
1921
  methodId: z.ZodString;
2161
1922
  }, z.core.$strict>>>;
2162
- pendingFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2163
- id: z.ZodString;
2164
- label: z.ZodString;
2165
- purpose: z.ZodEnum<{
2166
- identifier: "identifier";
2167
- password: "password";
2168
- secret: "secret";
2169
- totp: "totp";
2170
- }>;
2171
- }, z.core.$strict>>>;
2172
1923
  externalAction: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2173
1924
  kind: z.ZodEnum<{
2174
1925
  device: "device";
@@ -2191,7 +1942,6 @@ export declare const ReportAuthRunRequest: z.ZodObject<{
2191
1942
  state: z.ZodEnum<{
2192
1943
  awaiting_choice: "awaiting_choice";
2193
1944
  awaiting_external_action: "awaiting_external_action";
2194
- awaiting_secret: "awaiting_secret";
2195
1945
  cancelled: "cancelled";
2196
1946
  failed: "failed";
2197
1947
  working: "working";
@@ -2201,16 +1951,6 @@ export declare const ReportAuthRunRequest: z.ZodObject<{
2201
1951
  label: z.ZodString;
2202
1952
  methodId: z.ZodString;
2203
1953
  }, z.core.$strict>>>;
2204
- pendingFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2205
- id: z.ZodString;
2206
- label: z.ZodString;
2207
- purpose: z.ZodEnum<{
2208
- identifier: "identifier";
2209
- password: "password";
2210
- secret: "secret";
2211
- totp: "totp";
2212
- }>;
2213
- }, z.core.$strict>>>;
2214
1954
  externalAction: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2215
1955
  kind: z.ZodEnum<{
2216
1956
  device: "device";
@@ -2227,262 +1967,9 @@ export declare const ReportAuthRunRequest: z.ZodObject<{
2227
1967
  operationId: z.ZodString;
2228
1968
  }, z.core.$strict>;
2229
1969
  export type ReportAuthRunRequest = z.infer<typeof ReportAuthRunRequest>;
2230
- export declare const ProtectedAuthField: z.ZodObject<{
2231
- fieldId: z.ZodString;
2232
- locator: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
2233
- kind: z.ZodLiteral<"ref">;
2234
- ref: z.ZodString;
2235
- }, z.core.$strict>, z.ZodObject<{
2236
- kind: z.ZodLiteral<"role">;
2237
- role: z.ZodString;
2238
- name: z.ZodOptional<z.ZodString>;
2239
- exact: z.ZodOptional<z.ZodBoolean>;
2240
- }, z.core.$strict>, z.ZodObject<{
2241
- kind: z.ZodLiteral<"label">;
2242
- text: z.ZodString;
2243
- }, z.core.$strict>, z.ZodObject<{
2244
- kind: z.ZodLiteral<"text">;
2245
- text: z.ZodString;
2246
- }, z.core.$strict>, z.ZodObject<{
2247
- kind: z.ZodLiteral<"placeholder">;
2248
- text: z.ZodString;
2249
- }, z.core.$strict>, z.ZodObject<{
2250
- kind: z.ZodLiteral<"test_id">;
2251
- value: z.ZodString;
2252
- }, z.core.$strict>, z.ZodObject<{
2253
- kind: z.ZodLiteral<"css">;
2254
- selector: z.ZodString;
2255
- }, z.core.$strict>], "kind">>;
2256
- }, z.core.$strict>;
2257
- export type ProtectedAuthField = z.infer<typeof ProtectedAuthField>;
2258
- export declare const ProtectedAuthSubmit: z.ZodDiscriminatedUnion<[z.ZodObject<{
2259
- type: z.ZodLiteral<"none">;
2260
- }, z.core.$strict>, z.ZodObject<{
2261
- type: z.ZodLiteral<"click">;
2262
- locator: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
2263
- kind: z.ZodLiteral<"ref">;
2264
- ref: z.ZodString;
2265
- }, z.core.$strict>, z.ZodObject<{
2266
- kind: z.ZodLiteral<"role">;
2267
- role: z.ZodString;
2268
- name: z.ZodOptional<z.ZodString>;
2269
- exact: z.ZodOptional<z.ZodBoolean>;
2270
- }, z.core.$strict>, z.ZodObject<{
2271
- kind: z.ZodLiteral<"label">;
2272
- text: z.ZodString;
2273
- }, z.core.$strict>, z.ZodObject<{
2274
- kind: z.ZodLiteral<"text">;
2275
- text: z.ZodString;
2276
- }, z.core.$strict>, z.ZodObject<{
2277
- kind: z.ZodLiteral<"placeholder">;
2278
- text: z.ZodString;
2279
- }, z.core.$strict>, z.ZodObject<{
2280
- kind: z.ZodLiteral<"test_id">;
2281
- value: z.ZodString;
2282
- }, z.core.$strict>, z.ZodObject<{
2283
- kind: z.ZodLiteral<"css">;
2284
- selector: z.ZodString;
2285
- }, z.core.$strict>], "kind">>;
2286
- }, z.core.$strict>, z.ZodObject<{
2287
- type: z.ZodLiteral<"press">;
2288
- key: z.ZodString;
2289
- locator: z.ZodOptional<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
2290
- kind: z.ZodLiteral<"ref">;
2291
- ref: z.ZodString;
2292
- }, z.core.$strict>, z.ZodObject<{
2293
- kind: z.ZodLiteral<"role">;
2294
- role: z.ZodString;
2295
- name: z.ZodOptional<z.ZodString>;
2296
- exact: z.ZodOptional<z.ZodBoolean>;
2297
- }, z.core.$strict>, z.ZodObject<{
2298
- kind: z.ZodLiteral<"label">;
2299
- text: z.ZodString;
2300
- }, z.core.$strict>, z.ZodObject<{
2301
- kind: z.ZodLiteral<"text">;
2302
- text: z.ZodString;
2303
- }, z.core.$strict>, z.ZodObject<{
2304
- kind: z.ZodLiteral<"placeholder">;
2305
- text: z.ZodString;
2306
- }, z.core.$strict>, z.ZodObject<{
2307
- kind: z.ZodLiteral<"test_id">;
2308
- value: z.ZodString;
2309
- }, z.core.$strict>, z.ZodObject<{
2310
- kind: z.ZodLiteral<"css">;
2311
- selector: z.ZodString;
2312
- }, z.core.$strict>], "kind">>>;
2313
- }, z.core.$strict>], "type">;
2314
- export type ProtectedAuthSubmit = z.infer<typeof ProtectedAuthSubmit>;
2315
- export declare const ProtectedAuthFillRequest: z.ZodObject<{
2316
- operationId: z.ZodString;
2317
- expectedVersion: z.ZodNumber;
2318
- expectedTargetGeneration: z.ZodString;
2319
- expectedDocumentGeneration: z.ZodNullable<z.ZodString>;
2320
- expectedFrameId: z.ZodNullable<z.ZodString>;
2321
- authorityId: z.ZodString;
2322
- fields: z.ZodArray<z.ZodObject<{
2323
- fieldId: z.ZodString;
2324
- locator: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
2325
- kind: z.ZodLiteral<"ref">;
2326
- ref: z.ZodString;
2327
- }, z.core.$strict>, z.ZodObject<{
2328
- kind: z.ZodLiteral<"role">;
2329
- role: z.ZodString;
2330
- name: z.ZodOptional<z.ZodString>;
2331
- exact: z.ZodOptional<z.ZodBoolean>;
2332
- }, z.core.$strict>, z.ZodObject<{
2333
- kind: z.ZodLiteral<"label">;
2334
- text: z.ZodString;
2335
- }, z.core.$strict>, z.ZodObject<{
2336
- kind: z.ZodLiteral<"text">;
2337
- text: z.ZodString;
2338
- }, z.core.$strict>, z.ZodObject<{
2339
- kind: z.ZodLiteral<"placeholder">;
2340
- text: z.ZodString;
2341
- }, z.core.$strict>, z.ZodObject<{
2342
- kind: z.ZodLiteral<"test_id">;
2343
- value: z.ZodString;
2344
- }, z.core.$strict>, z.ZodObject<{
2345
- kind: z.ZodLiteral<"css">;
2346
- selector: z.ZodString;
2347
- }, z.core.$strict>], "kind">>;
2348
- }, z.core.$strict>>;
2349
- submit: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
2350
- type: z.ZodLiteral<"none">;
2351
- }, z.core.$strict>, z.ZodObject<{
2352
- type: z.ZodLiteral<"click">;
2353
- locator: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
2354
- kind: z.ZodLiteral<"ref">;
2355
- ref: z.ZodString;
2356
- }, z.core.$strict>, z.ZodObject<{
2357
- kind: z.ZodLiteral<"role">;
2358
- role: z.ZodString;
2359
- name: z.ZodOptional<z.ZodString>;
2360
- exact: z.ZodOptional<z.ZodBoolean>;
2361
- }, z.core.$strict>, z.ZodObject<{
2362
- kind: z.ZodLiteral<"label">;
2363
- text: z.ZodString;
2364
- }, z.core.$strict>, z.ZodObject<{
2365
- kind: z.ZodLiteral<"text">;
2366
- text: z.ZodString;
2367
- }, z.core.$strict>, z.ZodObject<{
2368
- kind: z.ZodLiteral<"placeholder">;
2369
- text: z.ZodString;
2370
- }, z.core.$strict>, z.ZodObject<{
2371
- kind: z.ZodLiteral<"test_id">;
2372
- value: z.ZodString;
2373
- }, z.core.$strict>, z.ZodObject<{
2374
- kind: z.ZodLiteral<"css">;
2375
- selector: z.ZodString;
2376
- }, z.core.$strict>], "kind">>;
2377
- }, z.core.$strict>, z.ZodObject<{
2378
- type: z.ZodLiteral<"press">;
2379
- key: z.ZodString;
2380
- locator: z.ZodOptional<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
2381
- kind: z.ZodLiteral<"ref">;
2382
- ref: z.ZodString;
2383
- }, z.core.$strict>, z.ZodObject<{
2384
- kind: z.ZodLiteral<"role">;
2385
- role: z.ZodString;
2386
- name: z.ZodOptional<z.ZodString>;
2387
- exact: z.ZodOptional<z.ZodBoolean>;
2388
- }, z.core.$strict>, z.ZodObject<{
2389
- kind: z.ZodLiteral<"label">;
2390
- text: z.ZodString;
2391
- }, z.core.$strict>, z.ZodObject<{
2392
- kind: z.ZodLiteral<"text">;
2393
- text: z.ZodString;
2394
- }, z.core.$strict>, z.ZodObject<{
2395
- kind: z.ZodLiteral<"placeholder">;
2396
- text: z.ZodString;
2397
- }, z.core.$strict>, z.ZodObject<{
2398
- kind: z.ZodLiteral<"test_id">;
2399
- value: z.ZodString;
2400
- }, z.core.$strict>, z.ZodObject<{
2401
- kind: z.ZodLiteral<"css">;
2402
- selector: z.ZodString;
2403
- }, z.core.$strict>], "kind">>>;
2404
- }, z.core.$strict>], "type">>;
2405
- }, z.core.$strict>;
2406
- export type ProtectedAuthFillRequest = z.infer<typeof ProtectedAuthFillRequest>;
2407
- export declare const ProtectedAuthFillResponse: z.ZodObject<{
2408
- run: z.ZodObject<{
2409
- id: z.ZodString;
2410
- accountId: z.ZodString;
2411
- workspaceId: z.ZodString;
2412
- siteAuthConnectionId: z.ZodString;
2413
- browserSessionId: z.ZodString;
2414
- targetId: z.ZodString;
2415
- controllerGeneration: z.ZodString;
2416
- targetGeneration: z.ZodString;
2417
- documentGeneration: z.ZodNullable<z.ZodString>;
2418
- purpose: z.ZodEnum<{
2419
- authenticate: "authenticate";
2420
- health_check: "health_check";
2421
- repair: "repair";
2422
- }>;
2423
- methodId: z.ZodNullable<z.ZodString>;
2424
- authorityId: z.ZodNullable<z.ZodString>;
2425
- state: z.ZodEnum<{
2426
- awaiting_choice: "awaiting_choice";
2427
- awaiting_external_action: "awaiting_external_action";
2428
- awaiting_secret: "awaiting_secret";
2429
- cancelled: "cancelled";
2430
- discovering: "discovering";
2431
- failed: "failed";
2432
- verified: "verified";
2433
- working: "working";
2434
- }>;
2435
- choices: z.ZodArray<z.ZodObject<{
2436
- id: z.ZodString;
2437
- label: z.ZodString;
2438
- methodId: z.ZodString;
2439
- }, z.core.$strict>>;
2440
- pendingFields: z.ZodArray<z.ZodObject<{
2441
- id: z.ZodString;
2442
- label: z.ZodString;
2443
- purpose: z.ZodEnum<{
2444
- identifier: "identifier";
2445
- password: "password";
2446
- secret: "secret";
2447
- totp: "totp";
2448
- }>;
2449
- }, z.core.$strict>>;
2450
- externalAction: z.ZodNullable<z.ZodObject<{
2451
- kind: z.ZodEnum<{
2452
- device: "device";
2453
- human: "human";
2454
- other: "other";
2455
- passkey: "passkey";
2456
- push: "push";
2457
- security_key: "security_key";
2458
- }>;
2459
- label: z.ZodString;
2460
- expiresAt: z.ZodNullable<z.ZodString>;
2461
- }, z.core.$strict>>;
2462
- interventionId: z.ZodNullable<z.ZodString>;
2463
- verifiedUrl: z.ZodNullable<z.ZodString>;
2464
- failureCode: z.ZodNullable<z.ZodString>;
2465
- version: z.ZodNumber;
2466
- operationId: z.ZodString;
2467
- createdBySubjectId: z.ZodString;
2468
- createdAt: z.ZodString;
2469
- updatedAt: z.ZodString;
2470
- settledAt: z.ZodNullable<z.ZodString>;
2471
- }, z.core.$strict>;
2472
- status: z.ZodEnum<{
2473
- failed: "failed";
2474
- needs_human: "needs_human";
2475
- stale: "stale";
2476
- submitted: "submitted";
2477
- working: "working";
2478
- }>;
2479
- operationId: z.ZodString;
2480
- replayed: z.ZodBoolean;
2481
- }, z.core.$strict>;
2482
- export type ProtectedAuthFillResponse = z.infer<typeof ProtectedAuthFillResponse>;
2483
- /** Public request for advancing a provider-managed AuthRun. Provider secrets,
2484
- * profile names, browser ids, and hosted-login URLs stay behind browserd. */
2485
- export declare const ExternalAuthRunRequest: z.ZodObject<{
1970
+ /** Public request for advancing a provider-managed AuthRun. Provider secrets,
1971
+ * profile names, browser ids, and hosted-login URLs stay behind browserd. */
1972
+ export declare const ExternalAuthRunRequest: z.ZodObject<{
2486
1973
  operationId: z.ZodString;
2487
1974
  expectedVersion: z.ZodNumber;
2488
1975
  action: z.ZodEnum<{
@@ -2512,7 +1999,6 @@ export declare const ExternalAuthRunResponse: z.ZodObject<{
2512
1999
  state: z.ZodEnum<{
2513
2000
  awaiting_choice: "awaiting_choice";
2514
2001
  awaiting_external_action: "awaiting_external_action";
2515
- awaiting_secret: "awaiting_secret";
2516
2002
  cancelled: "cancelled";
2517
2003
  discovering: "discovering";
2518
2004
  failed: "failed";
@@ -2524,16 +2010,6 @@ export declare const ExternalAuthRunResponse: z.ZodObject<{
2524
2010
  label: z.ZodString;
2525
2011
  methodId: z.ZodString;
2526
2012
  }, z.core.$strict>>;
2527
- pendingFields: z.ZodArray<z.ZodObject<{
2528
- id: z.ZodString;
2529
- label: z.ZodString;
2530
- purpose: z.ZodEnum<{
2531
- identifier: "identifier";
2532
- password: "password";
2533
- secret: "secret";
2534
- totp: "totp";
2535
- }>;
2536
- }, z.core.$strict>>;
2537
2013
  externalAction: z.ZodNullable<z.ZodObject<{
2538
2014
  kind: z.ZodEnum<{
2539
2015
  device: "device";
@@ -2903,6 +2379,7 @@ export declare const RequestHumanInteractionToolOutput: z.ZodObject<{
2903
2379
  artifactId: z.ZodString;
2904
2380
  kind: z.ZodEnum<{
2905
2381
  assistant_completion: "assistant_completion";
2382
+ browser_screenshot: "browser_screenshot";
2906
2383
  computer_screenshot: "computer_screenshot";
2907
2384
  event_media: "event_media";
2908
2385
  file: "file";
@@ -2933,6 +2410,14 @@ export declare const RequestHumanInteractionToolOutput: z.ZodObject<{
2933
2410
  maxRangeBytes: z.ZodNumber;
2934
2411
  }, z.core.$strict>;
2935
2412
  }, z.core.$strict>>;
2413
+ viewport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2414
+ width: z.ZodNumber;
2415
+ height: z.ZodNumber;
2416
+ visualWidth: z.ZodNumber;
2417
+ visualHeight: z.ZodNumber;
2418
+ deviceScaleFactor: z.ZodNumber;
2419
+ maxTouchPoints: z.ZodNumber;
2420
+ }, z.core.$strict>>>;
2936
2421
  focusedRef: z.ZodNullable<z.ZodString>;
2937
2422
  changedRegions: z.ZodArray<z.ZodObject<{
2938
2423
  x: z.ZodNumber;
@@ -2999,6 +2484,7 @@ export declare const RequestHumanInteractionToolOutput: z.ZodObject<{
2999
2484
  artifactId: z.ZodString;
3000
2485
  kind: z.ZodEnum<{
3001
2486
  assistant_completion: "assistant_completion";
2487
+ browser_screenshot: "browser_screenshot";
3002
2488
  computer_screenshot: "computer_screenshot";
3003
2489
  event_media: "event_media";
3004
2490
  file: "file";
@@ -3530,6 +3016,7 @@ export declare const BrowserObservation: z.ZodObject<{
3530
3016
  artifactId: z.ZodString;
3531
3017
  kind: z.ZodEnum<{
3532
3018
  assistant_completion: "assistant_completion";
3019
+ browser_screenshot: "browser_screenshot";
3533
3020
  computer_screenshot: "computer_screenshot";
3534
3021
  event_media: "event_media";
3535
3022
  file: "file";
@@ -3560,6 +3047,14 @@ export declare const BrowserObservation: z.ZodObject<{
3560
3047
  maxRangeBytes: z.ZodNumber;
3561
3048
  }, z.core.$strict>;
3562
3049
  }, z.core.$strict>>;
3050
+ viewport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3051
+ width: z.ZodNumber;
3052
+ height: z.ZodNumber;
3053
+ visualWidth: z.ZodNumber;
3054
+ visualHeight: z.ZodNumber;
3055
+ deviceScaleFactor: z.ZodNumber;
3056
+ maxTouchPoints: z.ZodNumber;
3057
+ }, z.core.$strict>>>;
3563
3058
  focusedRef: z.ZodNullable<z.ZodString>;
3564
3059
  changedRegions: z.ZodArray<z.ZodObject<{
3565
3060
  x: z.ZodNumber;
@@ -3671,6 +3166,134 @@ export declare const BrowserLocator: z.ZodDiscriminatedUnion<[z.ZodObject<{
3671
3166
  selector: z.ZodString;
3672
3167
  }, z.core.$strict>], "kind">;
3673
3168
  export type BrowserLocator = z.infer<typeof BrowserLocator>;
3169
+ /** Cheap causal state for a target. This is intentionally independent of an
3170
+ * accessibility observation, which can require a full tree for every frame. */
3171
+ export declare const BrowserTargetState: z.ZodObject<{
3172
+ browserSessionId: z.ZodString;
3173
+ controllerGeneration: z.ZodString;
3174
+ targetId: z.ZodString;
3175
+ targetGeneration: z.ZodString;
3176
+ documentGeneration: z.ZodNullable<z.ZodString>;
3177
+ frameId: z.ZodNullable<z.ZodString>;
3178
+ }, z.core.$strict>;
3179
+ export type BrowserTargetState = z.infer<typeof BrowserTargetState>;
3180
+ export declare const BrowserDomSafeAttribute: z.ZodEnum<{
3181
+ alt: "alt";
3182
+ "aria-checked": "aria-checked";
3183
+ "aria-expanded": "aria-expanded";
3184
+ "aria-label": "aria-label";
3185
+ "aria-selected": "aria-selected";
3186
+ "data-testid": "data-testid";
3187
+ href: "href";
3188
+ name: "name";
3189
+ placeholder: "placeholder";
3190
+ role: "role";
3191
+ src: "src";
3192
+ title: "title";
3193
+ type: "type";
3194
+ }>;
3195
+ export type BrowserDomSafeAttribute = z.infer<typeof BrowserDomSafeAttribute>;
3196
+ export declare const BrowserDomReadSelector: z.ZodString;
3197
+ /** DOM extraction avoids content-matching locators, which can probe redacted text. */
3198
+ export declare const BrowserDomReadLocator: z.ZodDiscriminatedUnion<[z.ZodObject<{
3199
+ kind: z.ZodLiteral<"ref">;
3200
+ ref: z.ZodString;
3201
+ }, z.core.$strict>, z.ZodObject<{
3202
+ kind: z.ZodLiteral<"placeholder">;
3203
+ text: z.ZodString;
3204
+ }, z.core.$strict>, z.ZodObject<{
3205
+ kind: z.ZodLiteral<"test_id">;
3206
+ value: z.ZodString;
3207
+ }, z.core.$strict>, z.ZodObject<{
3208
+ kind: z.ZodLiteral<"css">;
3209
+ selector: z.ZodString;
3210
+ }, z.core.$strict>], "kind">;
3211
+ export type BrowserDomReadLocator = z.infer<typeof BrowserDomReadLocator>;
3212
+ /** A fixed, read-only query. The caller never supplies executable JavaScript.
3213
+ * CSS reads accept only simple tag, class, id, descendant, and child selectors
3214
+ * so predicate queries cannot probe protected attribute values. CSS count is
3215
+ * scoped to the target's main document; child frames and shadow roots are not
3216
+ * part of its count. */
3217
+ export declare const BrowserDomReadRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
3218
+ expectedTargetGeneration: z.ZodString;
3219
+ expectedDocumentGeneration: z.ZodString;
3220
+ expectedFrameId: z.ZodString;
3221
+ kind: z.ZodLiteral<"element">;
3222
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
3223
+ kind: z.ZodLiteral<"ref">;
3224
+ ref: z.ZodString;
3225
+ }, z.core.$strict>, z.ZodObject<{
3226
+ kind: z.ZodLiteral<"placeholder">;
3227
+ text: z.ZodString;
3228
+ }, z.core.$strict>, z.ZodObject<{
3229
+ kind: z.ZodLiteral<"test_id">;
3230
+ value: z.ZodString;
3231
+ }, z.core.$strict>, z.ZodObject<{
3232
+ kind: z.ZodLiteral<"css">;
3233
+ selector: z.ZodString;
3234
+ }, z.core.$strict>], "kind">;
3235
+ attributes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3236
+ alt: "alt";
3237
+ "aria-checked": "aria-checked";
3238
+ "aria-expanded": "aria-expanded";
3239
+ "aria-label": "aria-label";
3240
+ "aria-selected": "aria-selected";
3241
+ "data-testid": "data-testid";
3242
+ href: "href";
3243
+ name: "name";
3244
+ placeholder: "placeholder";
3245
+ role: "role";
3246
+ src: "src";
3247
+ title: "title";
3248
+ type: "type";
3249
+ }>>>;
3250
+ maxChars: z.ZodOptional<z.ZodNumber>;
3251
+ }, z.core.$strict>, z.ZodObject<{
3252
+ expectedTargetGeneration: z.ZodString;
3253
+ expectedDocumentGeneration: z.ZodString;
3254
+ expectedFrameId: z.ZodString;
3255
+ kind: z.ZodLiteral<"count">;
3256
+ selector: z.ZodString;
3257
+ }, z.core.$strict>], "kind">;
3258
+ export type BrowserDomReadRequest = z.infer<typeof BrowserDomReadRequest>;
3259
+ export declare const BrowserDomReadResponse: z.ZodObject<{
3260
+ browserSessionId: z.ZodString;
3261
+ controllerGeneration: z.ZodString;
3262
+ targetId: z.ZodString;
3263
+ targetGeneration: z.ZodString;
3264
+ documentGeneration: z.ZodNullable<z.ZodString>;
3265
+ frameId: z.ZodNullable<z.ZodString>;
3266
+ kind: z.ZodEnum<{
3267
+ count: "count";
3268
+ element: "element";
3269
+ }>;
3270
+ count: z.ZodNumber;
3271
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3272
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3273
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
3274
+ alt: "alt";
3275
+ "aria-checked": "aria-checked";
3276
+ "aria-expanded": "aria-expanded";
3277
+ "aria-label": "aria-label";
3278
+ "aria-selected": "aria-selected";
3279
+ "data-testid": "data-testid";
3280
+ href: "href";
3281
+ name: "name";
3282
+ placeholder: "placeholder";
3283
+ role: "role";
3284
+ src: "src";
3285
+ title: "title";
3286
+ type: "type";
3287
+ }> & z.core.$partial, z.ZodNullable<z.ZodString>>>;
3288
+ redacted: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3289
+ password: "password";
3290
+ payment: "payment";
3291
+ policy: "policy";
3292
+ private: "private";
3293
+ }>>>;
3294
+ truncated: z.ZodBoolean;
3295
+ }, z.core.$strict>;
3296
+ export type BrowserDomReadResponse = z.infer<typeof BrowserDomReadResponse>;
3674
3297
  /** Provider-neutral locator for native accessibility trees. Native automation
3675
3298
  * identifiers are intentionally distinct from DOM selectors/test ids: AX,
3676
3299
  * AT-SPI, and UIA adapters resolve them inside the exact observed target. */
@@ -3720,6 +3343,20 @@ export type BrowserPermissionSetting = z.infer<typeof BrowserPermissionSetting>;
3720
3343
  export declare const BrowserAction: z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
3721
3344
  type: z.ZodLiteral<"navigate">;
3722
3345
  url: z.ZodString;
3346
+ }, z.core.$strict>, z.ZodObject<{
3347
+ type: z.ZodLiteral<"history">;
3348
+ direction: z.ZodEnum<{
3349
+ back: "back";
3350
+ forward: "forward";
3351
+ }>;
3352
+ }, z.core.$strict>, z.ZodObject<{
3353
+ type: z.ZodLiteral<"activate">;
3354
+ }, z.core.$strict>, z.ZodObject<{
3355
+ type: z.ZodLiteral<"viewport">;
3356
+ width: z.ZodNumber;
3357
+ height: z.ZodNumber;
3358
+ mobile: z.ZodBoolean;
3359
+ deviceScaleFactor: z.ZodOptional<z.ZodNumber>;
3723
3360
  }, z.core.$strict>, z.ZodObject<{
3724
3361
  type: z.ZodLiteral<"click">;
3725
3362
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3857,6 +3494,10 @@ export declare const BrowserAction: z.ZodDiscriminatedUnion<readonly [z.ZodObjec
3857
3494
  selector: z.ZodString;
3858
3495
  }, z.core.$strict>], "kind">>;
3859
3496
  text: z.ZodString;
3497
+ mode: z.ZodOptional<z.ZodEnum<{
3498
+ insert: "insert";
3499
+ keys: "keys";
3500
+ }>>;
3860
3501
  }, z.core.$strict>, z.ZodObject<{
3861
3502
  type: z.ZodLiteral<"press">;
3862
3503
  locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4168,6 +3809,20 @@ export declare const BrowserActionBatch: z.ZodObject<{
4168
3809
  actions: z.ZodArray<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
4169
3810
  type: z.ZodLiteral<"navigate">;
4170
3811
  url: z.ZodString;
3812
+ }, z.core.$strict>, z.ZodObject<{
3813
+ type: z.ZodLiteral<"history">;
3814
+ direction: z.ZodEnum<{
3815
+ back: "back";
3816
+ forward: "forward";
3817
+ }>;
3818
+ }, z.core.$strict>, z.ZodObject<{
3819
+ type: z.ZodLiteral<"activate">;
3820
+ }, z.core.$strict>, z.ZodObject<{
3821
+ type: z.ZodLiteral<"viewport">;
3822
+ width: z.ZodNumber;
3823
+ height: z.ZodNumber;
3824
+ mobile: z.ZodBoolean;
3825
+ deviceScaleFactor: z.ZodOptional<z.ZodNumber>;
4171
3826
  }, z.core.$strict>, z.ZodObject<{
4172
3827
  type: z.ZodLiteral<"click">;
4173
3828
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4305,6 +3960,10 @@ export declare const BrowserActionBatch: z.ZodObject<{
4305
3960
  selector: z.ZodString;
4306
3961
  }, z.core.$strict>], "kind">>;
4307
3962
  text: z.ZodString;
3963
+ mode: z.ZodOptional<z.ZodEnum<{
3964
+ insert: "insert";
3965
+ keys: "keys";
3966
+ }>>;
4308
3967
  }, z.core.$strict>, z.ZodObject<{
4309
3968
  type: z.ZodLiteral<"press">;
4310
3969
  locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4610,6 +4269,7 @@ export declare const BrowserActionBatch: z.ZodObject<{
4610
4269
  }, z.core.$strict>], "kind">>;
4611
4270
  timeoutMs: z.ZodOptional<z.ZodNumber>;
4612
4271
  }, z.core.$strict>], "type">>;
4272
+ fenceEachAction: z.ZodOptional<z.ZodLiteral<true>>;
4613
4273
  }, z.core.$strict>;
4614
4274
  export type BrowserActionBatch = z.infer<typeof BrowserActionBatch>;
4615
4275
  /** Secret-safe projection of a connected-machine control failure carried in a
@@ -4672,6 +4332,8 @@ export declare const InteractionError: z.ZodObject<{
4672
4332
  permission_denied: "permission_denied";
4673
4333
  resource_not_found: "resource_not_found";
4674
4334
  resource_unavailable: "resource_unavailable";
4335
+ tab_crashed: "tab_crashed";
4336
+ tab_not_responding: "tab_not_responding";
4675
4337
  target_not_found: "target_not_found";
4676
4338
  target_stale: "target_stale";
4677
4339
  timeout: "timeout";
@@ -4682,6 +4344,13 @@ export declare const InteractionError: z.ZodObject<{
4682
4344
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
4683
4345
  }, z.core.$strict>;
4684
4346
  export type InteractionError = z.infer<typeof InteractionError>;
4347
+ /** Upper bound on distinct secret references one interaction command may carry. */
4348
+ export declare const INTERACTION_MAX_SECRET_VALUES = 64;
4349
+ /** Controller-private plaintext for the `{{secret:…}}` references in one
4350
+ * interaction command, keyed by `referenceKey(reference)`. TOTP references
4351
+ * carry the code computed at dispatch, never the seed. */
4352
+ export declare const InteractionSecretValues: z.ZodRecord<z.ZodString, z.ZodString>;
4353
+ export type InteractionSecretValues = z.infer<typeof InteractionSecretValues>;
4685
4354
  export declare const BrowserActionCommand: z.ZodObject<{
4686
4355
  protocolVersion: z.ZodLiteral<1>;
4687
4356
  operationId: z.ZodString;
@@ -4705,11 +4374,26 @@ export declare const BrowserActionCommand: z.ZodObject<{
4705
4374
  }, z.core.$strict>;
4706
4375
  observationMode: z.ZodOptional<z.ZodEnum<{
4707
4376
  full: "full";
4377
+ input: "input";
4708
4378
  none: "none";
4709
4379
  }>>;
4710
4380
  action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
4711
4381
  type: z.ZodLiteral<"navigate">;
4712
4382
  url: z.ZodString;
4383
+ }, z.core.$strict>, z.ZodObject<{
4384
+ type: z.ZodLiteral<"history">;
4385
+ direction: z.ZodEnum<{
4386
+ back: "back";
4387
+ forward: "forward";
4388
+ }>;
4389
+ }, z.core.$strict>, z.ZodObject<{
4390
+ type: z.ZodLiteral<"activate">;
4391
+ }, z.core.$strict>, z.ZodObject<{
4392
+ type: z.ZodLiteral<"viewport">;
4393
+ width: z.ZodNumber;
4394
+ height: z.ZodNumber;
4395
+ mobile: z.ZodBoolean;
4396
+ deviceScaleFactor: z.ZodOptional<z.ZodNumber>;
4713
4397
  }, z.core.$strict>, z.ZodObject<{
4714
4398
  type: z.ZodLiteral<"click">;
4715
4399
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4847,6 +4531,10 @@ export declare const BrowserActionCommand: z.ZodObject<{
4847
4531
  selector: z.ZodString;
4848
4532
  }, z.core.$strict>], "kind">>;
4849
4533
  text: z.ZodString;
4534
+ mode: z.ZodOptional<z.ZodEnum<{
4535
+ insert: "insert";
4536
+ keys: "keys";
4537
+ }>>;
4850
4538
  }, z.core.$strict>, z.ZodObject<{
4851
4539
  type: z.ZodLiteral<"press">;
4852
4540
  locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5156,6 +4844,20 @@ export declare const BrowserActionCommand: z.ZodObject<{
5156
4844
  actions: z.ZodArray<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
5157
4845
  type: z.ZodLiteral<"navigate">;
5158
4846
  url: z.ZodString;
4847
+ }, z.core.$strict>, z.ZodObject<{
4848
+ type: z.ZodLiteral<"history">;
4849
+ direction: z.ZodEnum<{
4850
+ back: "back";
4851
+ forward: "forward";
4852
+ }>;
4853
+ }, z.core.$strict>, z.ZodObject<{
4854
+ type: z.ZodLiteral<"activate">;
4855
+ }, z.core.$strict>, z.ZodObject<{
4856
+ type: z.ZodLiteral<"viewport">;
4857
+ width: z.ZodNumber;
4858
+ height: z.ZodNumber;
4859
+ mobile: z.ZodBoolean;
4860
+ deviceScaleFactor: z.ZodOptional<z.ZodNumber>;
5159
4861
  }, z.core.$strict>, z.ZodObject<{
5160
4862
  type: z.ZodLiteral<"click">;
5161
4863
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5293,6 +4995,10 @@ export declare const BrowserActionCommand: z.ZodObject<{
5293
4995
  selector: z.ZodString;
5294
4996
  }, z.core.$strict>], "kind">>;
5295
4997
  text: z.ZodString;
4998
+ mode: z.ZodOptional<z.ZodEnum<{
4999
+ insert: "insert";
5000
+ keys: "keys";
5001
+ }>>;
5296
5002
  }, z.core.$strict>, z.ZodObject<{
5297
5003
  type: z.ZodLiteral<"press">;
5298
5004
  locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5598,7 +5304,9 @@ export declare const BrowserActionCommand: z.ZodObject<{
5598
5304
  }, z.core.$strict>], "kind">>;
5599
5305
  timeoutMs: z.ZodOptional<z.ZodNumber>;
5600
5306
  }, z.core.$strict>], "type">>;
5307
+ fenceEachAction: z.ZodOptional<z.ZodLiteral<true>>;
5601
5308
  }, z.core.$strict>]>;
5309
+ secretValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5602
5310
  }, z.core.$strict>;
5603
5311
  export type BrowserActionCommand = z.infer<typeof BrowserActionCommand>;
5604
5312
  /** Controller-private authority used to materialize immutable workspace files
@@ -5691,6 +5399,8 @@ export declare const InteractionLifecycleOperationReceipt: z.ZodObject<{
5691
5399
  permission_denied: "permission_denied";
5692
5400
  resource_not_found: "resource_not_found";
5693
5401
  resource_unavailable: "resource_unavailable";
5402
+ tab_crashed: "tab_crashed";
5403
+ tab_not_responding: "tab_not_responding";
5694
5404
  target_not_found: "target_not_found";
5695
5405
  target_stale: "target_stale";
5696
5406
  timeout: "timeout";
@@ -5711,6 +5421,10 @@ export declare const CreateBrowserSessionRequest: z.ZodObject<{
5711
5421
  name: z.ZodOptional<z.ZodString>;
5712
5422
  initialUrl: z.ZodOptional<z.ZodString>;
5713
5423
  headless: z.ZodDefault<z.ZodBoolean>;
5424
+ storageMode: z.ZodDefault<z.ZodEnum<{
5425
+ ephemeral_context: "ephemeral_context";
5426
+ private_profile: "private_profile";
5427
+ }>>;
5714
5428
  engine: z.ZodDefault<z.ZodEnum<{
5715
5429
  chromium: "chromium";
5716
5430
  lightpanda: "lightpanda";
@@ -5952,6 +5666,8 @@ export declare const BrowserSessionMutationResponse: z.ZodObject<{
5952
5666
  permission_denied: "permission_denied";
5953
5667
  resource_not_found: "resource_not_found";
5954
5668
  resource_unavailable: "resource_unavailable";
5669
+ tab_crashed: "tab_crashed";
5670
+ tab_not_responding: "tab_not_responding";
5955
5671
  target_not_found: "target_not_found";
5956
5672
  target_stale: "target_stale";
5957
5673
  timeout: "timeout";
@@ -6045,6 +5761,7 @@ export declare const ComputerFrameStreamAttachment: z.ZodDiscriminatedUnion<[z.Z
6045
5761
  kind: z.ZodLiteral<"direct_rfb">;
6046
5762
  url: z.ZodString;
6047
5763
  protocols: z.ZodArray<z.ZodString>;
5764
+ inputAllowed: z.ZodDefault<z.ZodBoolean>;
6048
5765
  }, z.core.$strict>, z.ZodObject<{
6049
5766
  kind: z.ZodLiteral<"relay">;
6050
5767
  url: z.ZodString;
@@ -6081,6 +5798,7 @@ export declare const InteractionFrameStreamAttachment: z.ZodUnion<readonly [z.Zo
6081
5798
  kind: z.ZodLiteral<"direct_rfb">;
6082
5799
  url: z.ZodString;
6083
5800
  protocols: z.ZodArray<z.ZodString>;
5801
+ inputAllowed: z.ZodDefault<z.ZodBoolean>;
6084
5802
  }, z.core.$strict>, z.ZodObject<{
6085
5803
  kind: z.ZodLiteral<"relay">;
6086
5804
  url: z.ZodString;
@@ -6114,6 +5832,8 @@ export declare const BrowserSessionAttachment: z.ZodObject<{
6114
5832
  port: z.ZodNumber;
6115
5833
  }, z.core.$strict>;
6116
5834
  }, z.core.$strict>], "kind">;
5835
+ fencedInputBatches: z.ZodOptional<z.ZodLiteral<true>>;
5836
+ focusedInputObservations: z.ZodOptional<z.ZodLiteral<true>>;
6117
5837
  expiresAt: z.ZodString;
6118
5838
  }, z.core.$strict>;
6119
5839
  export type BrowserSessionAttachment = z.infer<typeof BrowserSessionAttachment>;
@@ -6138,16 +5858,31 @@ export type BrowserSessionAttachmentRequest = z.infer<typeof BrowserSessionAttac
6138
5858
  export declare const BrowserActionRequest: z.ZodObject<{
6139
5859
  operationId: z.ZodString;
6140
5860
  targetId: z.ZodString;
6141
- expectedTargetGeneration: z.ZodString;
6142
- expectedDocumentGeneration: z.ZodNullable<z.ZodString>;
6143
- expectedFrameId: z.ZodNullable<z.ZodString>;
5861
+ expectedTargetGeneration: z.ZodOptional<z.ZodString>;
5862
+ expectedDocumentGeneration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5863
+ expectedFrameId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6144
5864
  observationMode: z.ZodDefault<z.ZodEnum<{
6145
5865
  full: "full";
5866
+ input: "input";
6146
5867
  none: "none";
6147
5868
  }>>;
6148
5869
  action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
6149
5870
  type: z.ZodLiteral<"navigate">;
6150
5871
  url: z.ZodString;
5872
+ }, z.core.$strict>, z.ZodObject<{
5873
+ type: z.ZodLiteral<"history">;
5874
+ direction: z.ZodEnum<{
5875
+ back: "back";
5876
+ forward: "forward";
5877
+ }>;
5878
+ }, z.core.$strict>, z.ZodObject<{
5879
+ type: z.ZodLiteral<"activate">;
5880
+ }, z.core.$strict>, z.ZodObject<{
5881
+ type: z.ZodLiteral<"viewport">;
5882
+ width: z.ZodNumber;
5883
+ height: z.ZodNumber;
5884
+ mobile: z.ZodBoolean;
5885
+ deviceScaleFactor: z.ZodOptional<z.ZodNumber>;
6151
5886
  }, z.core.$strict>, z.ZodObject<{
6152
5887
  type: z.ZodLiteral<"click">;
6153
5888
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -6285,6 +6020,10 @@ export declare const BrowserActionRequest: z.ZodObject<{
6285
6020
  selector: z.ZodString;
6286
6021
  }, z.core.$strict>], "kind">>;
6287
6022
  text: z.ZodString;
6023
+ mode: z.ZodOptional<z.ZodEnum<{
6024
+ insert: "insert";
6025
+ keys: "keys";
6026
+ }>>;
6288
6027
  }, z.core.$strict>, z.ZodObject<{
6289
6028
  type: z.ZodLiteral<"press">;
6290
6029
  locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -6594,6 +6333,20 @@ export declare const BrowserActionRequest: z.ZodObject<{
6594
6333
  actions: z.ZodArray<z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
6595
6334
  type: z.ZodLiteral<"navigate">;
6596
6335
  url: z.ZodString;
6336
+ }, z.core.$strict>, z.ZodObject<{
6337
+ type: z.ZodLiteral<"history">;
6338
+ direction: z.ZodEnum<{
6339
+ back: "back";
6340
+ forward: "forward";
6341
+ }>;
6342
+ }, z.core.$strict>, z.ZodObject<{
6343
+ type: z.ZodLiteral<"activate">;
6344
+ }, z.core.$strict>, z.ZodObject<{
6345
+ type: z.ZodLiteral<"viewport">;
6346
+ width: z.ZodNumber;
6347
+ height: z.ZodNumber;
6348
+ mobile: z.ZodBoolean;
6349
+ deviceScaleFactor: z.ZodOptional<z.ZodNumber>;
6597
6350
  }, z.core.$strict>, z.ZodObject<{
6598
6351
  type: z.ZodLiteral<"click">;
6599
6352
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -6731,6 +6484,10 @@ export declare const BrowserActionRequest: z.ZodObject<{
6731
6484
  selector: z.ZodString;
6732
6485
  }, z.core.$strict>], "kind">>;
6733
6486
  text: z.ZodString;
6487
+ mode: z.ZodOptional<z.ZodEnum<{
6488
+ insert: "insert";
6489
+ keys: "keys";
6490
+ }>>;
6734
6491
  }, z.core.$strict>, z.ZodObject<{
6735
6492
  type: z.ZodLiteral<"press">;
6736
6493
  locator: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -7036,6 +6793,7 @@ export declare const BrowserActionRequest: z.ZodObject<{
7036
6793
  }, z.core.$strict>], "kind">>;
7037
6794
  timeoutMs: z.ZodOptional<z.ZodNumber>;
7038
6795
  }, z.core.$strict>], "type">>;
6796
+ fenceEachAction: z.ZodOptional<z.ZodLiteral<true>>;
7039
6797
  }, z.core.$strict>]>;
7040
6798
  }, z.core.$strict>;
7041
6799
  export type BrowserActionRequest = z.infer<typeof BrowserActionRequest>;
@@ -7045,6 +6803,24 @@ export declare const BrowserSessionHeartbeatResponse: z.ZodObject<{
7045
6803
  alive: z.ZodLiteral<true>;
7046
6804
  }, z.core.$strict>;
7047
6805
  export type BrowserSessionHeartbeatResponse = z.infer<typeof BrowserSessionHeartbeatResponse>;
6806
+ /** The element one locator of an action resolved to, captured before input.
6807
+ * `container` is the nearest dialog, landmark, menu or toolbar around it, so a
6808
+ * reader can tell a dialog's "Close" from a page header's "Close". */
6809
+ export declare const BrowserActionResolvedTarget: z.ZodObject<{
6810
+ actionIndex: z.ZodNumber;
6811
+ ref: z.ZodNullable<z.ZodString>;
6812
+ role: z.ZodString;
6813
+ name: z.ZodNullable<z.ZodString>;
6814
+ container: z.ZodNullable<z.ZodObject<{
6815
+ role: z.ZodString;
6816
+ name: z.ZodNullable<z.ZodString>;
6817
+ }, z.core.$strict>>;
6818
+ }, z.core.$strict>;
6819
+ export type BrowserActionResolvedTarget = z.infer<typeof BrowserActionResolvedTarget>;
6820
+ /** Query parameter by which a caller asks a browser controller to include
6821
+ * `targets` in an action receipt. Controllers that predate the field ignore it,
6822
+ * and callers that do not send it receive receipts without the field. */
6823
+ export declare const BROWSER_ACTION_RECEIPT_TARGETS_PARAMETER = "receiptTargets";
7048
6824
  export declare const BrowserActionReceipt: z.ZodObject<{
7049
6825
  protocolVersion: z.ZodLiteral<1>;
7050
6826
  operationId: z.ZodString;
@@ -7098,6 +6874,7 @@ export declare const BrowserActionReceipt: z.ZodObject<{
7098
6874
  artifactId: z.ZodString;
7099
6875
  kind: z.ZodEnum<{
7100
6876
  assistant_completion: "assistant_completion";
6877
+ browser_screenshot: "browser_screenshot";
7101
6878
  computer_screenshot: "computer_screenshot";
7102
6879
  event_media: "event_media";
7103
6880
  file: "file";
@@ -7128,6 +6905,14 @@ export declare const BrowserActionReceipt: z.ZodObject<{
7128
6905
  maxRangeBytes: z.ZodNumber;
7129
6906
  }, z.core.$strict>;
7130
6907
  }, z.core.$strict>>;
6908
+ viewport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6909
+ width: z.ZodNumber;
6910
+ height: z.ZodNumber;
6911
+ visualWidth: z.ZodNumber;
6912
+ visualHeight: z.ZodNumber;
6913
+ deviceScaleFactor: z.ZodNumber;
6914
+ maxTouchPoints: z.ZodNumber;
6915
+ }, z.core.$strict>>>;
7131
6916
  focusedRef: z.ZodNullable<z.ZodString>;
7132
6917
  changedRegions: z.ZodArray<z.ZodObject<{
7133
6918
  x: z.ZodNumber;
@@ -7172,6 +6957,8 @@ export declare const BrowserActionReceipt: z.ZodObject<{
7172
6957
  permission_denied: "permission_denied";
7173
6958
  resource_not_found: "resource_not_found";
7174
6959
  resource_unavailable: "resource_unavailable";
6960
+ tab_crashed: "tab_crashed";
6961
+ tab_not_responding: "tab_not_responding";
7175
6962
  target_not_found: "target_not_found";
7176
6963
  target_stale: "target_stale";
7177
6964
  timeout: "timeout";
@@ -7181,257 +6968,18 @@ export declare const BrowserActionReceipt: z.ZodObject<{
7181
6968
  retryable: z.ZodBoolean;
7182
6969
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
7183
6970
  }, z.core.$strict>>;
6971
+ targets: z.ZodOptional<z.ZodArray<z.ZodObject<{
6972
+ actionIndex: z.ZodNumber;
6973
+ ref: z.ZodNullable<z.ZodString>;
6974
+ role: z.ZodString;
6975
+ name: z.ZodNullable<z.ZodString>;
6976
+ container: z.ZodNullable<z.ZodObject<{
6977
+ role: z.ZodString;
6978
+ name: z.ZodNullable<z.ZodString>;
6979
+ }, z.core.$strict>>;
6980
+ }, z.core.$strict>>>;
7184
6981
  }, z.core.$strict>;
7185
6982
  export type BrowserActionReceipt = z.infer<typeof BrowserActionReceipt>;
7186
- /** Controller-private protected-fill wire contract. Secret values cross only
7187
- * the credential broker -> exact placement controller boundary; this command
7188
- * is never projected into model MCP, Codemode, public action history, or UI. */
7189
- export declare const BrowserProtectedAuthFieldValue: z.ZodObject<{
7190
- fieldId: z.ZodString;
7191
- locator: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
7192
- kind: z.ZodLiteral<"ref">;
7193
- ref: z.ZodString;
7194
- }, z.core.$strict>, z.ZodObject<{
7195
- kind: z.ZodLiteral<"role">;
7196
- role: z.ZodString;
7197
- name: z.ZodOptional<z.ZodString>;
7198
- exact: z.ZodOptional<z.ZodBoolean>;
7199
- }, z.core.$strict>, z.ZodObject<{
7200
- kind: z.ZodLiteral<"label">;
7201
- text: z.ZodString;
7202
- }, z.core.$strict>, z.ZodObject<{
7203
- kind: z.ZodLiteral<"text">;
7204
- text: z.ZodString;
7205
- }, z.core.$strict>, z.ZodObject<{
7206
- kind: z.ZodLiteral<"placeholder">;
7207
- text: z.ZodString;
7208
- }, z.core.$strict>, z.ZodObject<{
7209
- kind: z.ZodLiteral<"test_id">;
7210
- value: z.ZodString;
7211
- }, z.core.$strict>, z.ZodObject<{
7212
- kind: z.ZodLiteral<"css">;
7213
- selector: z.ZodString;
7214
- }, z.core.$strict>], "kind">>;
7215
- purpose: z.ZodEnum<{
7216
- identifier: "identifier";
7217
- password: "password";
7218
- secret: "secret";
7219
- totp: "totp";
7220
- }>;
7221
- value: z.ZodString;
7222
- }, z.core.$strict>;
7223
- export type BrowserProtectedAuthFieldValue = z.infer<typeof BrowserProtectedAuthFieldValue>;
7224
- export declare const BrowserProtectedAuthFillCommand: z.ZodObject<{
7225
- protocolVersion: z.ZodLiteral<1>;
7226
- operationId: z.ZodString;
7227
- browserSessionId: z.ZodString;
7228
- controllerGeneration: z.ZodString;
7229
- targetId: z.ZodString;
7230
- expectedTargetGeneration: z.ZodString;
7231
- expectedDocumentGeneration: z.ZodString;
7232
- expectedFrameId: z.ZodString;
7233
- actor: z.ZodObject<{
7234
- kind: z.ZodEnum<{
7235
- agent: "agent";
7236
- human: "human";
7237
- system: "system";
7238
- }>;
7239
- subjectId: z.ZodString;
7240
- sessionId: z.ZodOptional<z.ZodString>;
7241
- turnId: z.ZodOptional<z.ZodString>;
7242
- attemptId: z.ZodOptional<z.ZodString>;
7243
- executionGeneration: z.ZodOptional<z.ZodNumber>;
7244
- }, z.core.$strict>;
7245
- authorityId: z.ZodString;
7246
- credentialVersion: z.ZodNumber;
7247
- allowedOrigins: z.ZodArray<z.ZodString>;
7248
- fields: z.ZodArray<z.ZodObject<{
7249
- fieldId: z.ZodString;
7250
- locator: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
7251
- kind: z.ZodLiteral<"ref">;
7252
- ref: z.ZodString;
7253
- }, z.core.$strict>, z.ZodObject<{
7254
- kind: z.ZodLiteral<"role">;
7255
- role: z.ZodString;
7256
- name: z.ZodOptional<z.ZodString>;
7257
- exact: z.ZodOptional<z.ZodBoolean>;
7258
- }, z.core.$strict>, z.ZodObject<{
7259
- kind: z.ZodLiteral<"label">;
7260
- text: z.ZodString;
7261
- }, z.core.$strict>, z.ZodObject<{
7262
- kind: z.ZodLiteral<"text">;
7263
- text: z.ZodString;
7264
- }, z.core.$strict>, z.ZodObject<{
7265
- kind: z.ZodLiteral<"placeholder">;
7266
- text: z.ZodString;
7267
- }, z.core.$strict>, z.ZodObject<{
7268
- kind: z.ZodLiteral<"test_id">;
7269
- value: z.ZodString;
7270
- }, z.core.$strict>, z.ZodObject<{
7271
- kind: z.ZodLiteral<"css">;
7272
- selector: z.ZodString;
7273
- }, z.core.$strict>], "kind">>;
7274
- purpose: z.ZodEnum<{
7275
- identifier: "identifier";
7276
- password: "password";
7277
- secret: "secret";
7278
- totp: "totp";
7279
- }>;
7280
- value: z.ZodString;
7281
- }, z.core.$strict>>;
7282
- submit: z.ZodDiscriminatedUnion<[z.ZodObject<{
7283
- type: z.ZodLiteral<"none">;
7284
- }, z.core.$strict>, z.ZodObject<{
7285
- type: z.ZodLiteral<"click">;
7286
- locator: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
7287
- kind: z.ZodLiteral<"ref">;
7288
- ref: z.ZodString;
7289
- }, z.core.$strict>, z.ZodObject<{
7290
- kind: z.ZodLiteral<"role">;
7291
- role: z.ZodString;
7292
- name: z.ZodOptional<z.ZodString>;
7293
- exact: z.ZodOptional<z.ZodBoolean>;
7294
- }, z.core.$strict>, z.ZodObject<{
7295
- kind: z.ZodLiteral<"label">;
7296
- text: z.ZodString;
7297
- }, z.core.$strict>, z.ZodObject<{
7298
- kind: z.ZodLiteral<"text">;
7299
- text: z.ZodString;
7300
- }, z.core.$strict>, z.ZodObject<{
7301
- kind: z.ZodLiteral<"placeholder">;
7302
- text: z.ZodString;
7303
- }, z.core.$strict>, z.ZodObject<{
7304
- kind: z.ZodLiteral<"test_id">;
7305
- value: z.ZodString;
7306
- }, z.core.$strict>, z.ZodObject<{
7307
- kind: z.ZodLiteral<"css">;
7308
- selector: z.ZodString;
7309
- }, z.core.$strict>], "kind">>;
7310
- }, z.core.$strict>, z.ZodObject<{
7311
- type: z.ZodLiteral<"press">;
7312
- key: z.ZodString;
7313
- locator: z.ZodOptional<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
7314
- kind: z.ZodLiteral<"ref">;
7315
- ref: z.ZodString;
7316
- }, z.core.$strict>, z.ZodObject<{
7317
- kind: z.ZodLiteral<"role">;
7318
- role: z.ZodString;
7319
- name: z.ZodOptional<z.ZodString>;
7320
- exact: z.ZodOptional<z.ZodBoolean>;
7321
- }, z.core.$strict>, z.ZodObject<{
7322
- kind: z.ZodLiteral<"label">;
7323
- text: z.ZodString;
7324
- }, z.core.$strict>, z.ZodObject<{
7325
- kind: z.ZodLiteral<"text">;
7326
- text: z.ZodString;
7327
- }, z.core.$strict>, z.ZodObject<{
7328
- kind: z.ZodLiteral<"placeholder">;
7329
- text: z.ZodString;
7330
- }, z.core.$strict>, z.ZodObject<{
7331
- kind: z.ZodLiteral<"test_id">;
7332
- value: z.ZodString;
7333
- }, z.core.$strict>, z.ZodObject<{
7334
- kind: z.ZodLiteral<"css">;
7335
- selector: z.ZodString;
7336
- }, z.core.$strict>], "kind">>>;
7337
- }, z.core.$strict>], "type">;
7338
- }, z.core.$strict>;
7339
- export type BrowserProtectedAuthFillCommand = z.infer<typeof BrowserProtectedAuthFillCommand>;
7340
- export declare const BrowserProtectedAuthObservation: z.ZodObject<{
7341
- target: z.ZodObject<{
7342
- id: z.ZodString;
7343
- browserSessionId: z.ZodString;
7344
- controllerGeneration: z.ZodString;
7345
- targetGeneration: z.ZodString;
7346
- documentGeneration: z.ZodNullable<z.ZodString>;
7347
- kind: z.ZodEnum<{
7348
- background_page: "background_page";
7349
- page: "page";
7350
- popup: "popup";
7351
- worker: "worker";
7352
- }>;
7353
- title: z.ZodString;
7354
- url: z.ZodString;
7355
- selected: z.ZodBoolean;
7356
- attached: z.ZodBoolean;
7357
- createdAt: z.ZodString;
7358
- }, z.core.$strict>;
7359
- status: z.ZodEnum<{
7360
- submitted: "submitted";
7361
- working: "working";
7362
- }>;
7363
- }, z.core.$strict>;
7364
- export type BrowserProtectedAuthObservation = z.infer<typeof BrowserProtectedAuthObservation>;
7365
- /** Secret-free placement receipt. It can be journaled, replayed, and returned
7366
- * to the broker without retaining any field value or model-visible page tree. */
7367
- export declare const BrowserProtectedAuthFillReceipt: z.ZodObject<{
7368
- protocolVersion: z.ZodLiteral<1>;
7369
- operationId: z.ZodString;
7370
- browserSessionId: z.ZodString;
7371
- controllerGeneration: z.ZodString;
7372
- targetId: z.ZodString;
7373
- state: z.ZodEnum<{
7374
- completed: "completed";
7375
- dispatched: "dispatched";
7376
- failed: "failed";
7377
- outcome_unknown: "outcome_unknown";
7378
- prepared: "prepared";
7379
- }>;
7380
- dispatchedAt: z.ZodNullable<z.ZodString>;
7381
- settledAt: z.ZodNullable<z.ZodString>;
7382
- observation: z.ZodNullable<z.ZodObject<{
7383
- target: z.ZodObject<{
7384
- id: z.ZodString;
7385
- browserSessionId: z.ZodString;
7386
- controllerGeneration: z.ZodString;
7387
- targetGeneration: z.ZodString;
7388
- documentGeneration: z.ZodNullable<z.ZodString>;
7389
- kind: z.ZodEnum<{
7390
- background_page: "background_page";
7391
- page: "page";
7392
- popup: "popup";
7393
- worker: "worker";
7394
- }>;
7395
- title: z.ZodString;
7396
- url: z.ZodString;
7397
- selected: z.ZodBoolean;
7398
- attached: z.ZodBoolean;
7399
- createdAt: z.ZodString;
7400
- }, z.core.$strict>;
7401
- status: z.ZodEnum<{
7402
- submitted: "submitted";
7403
- working: "working";
7404
- }>;
7405
- }, z.core.$strict>>;
7406
- error: z.ZodNullable<z.ZodObject<{
7407
- code: z.ZodEnum<{
7408
- attempt_stale: "attempt_stale";
7409
- controller_lost: "controller_lost";
7410
- controller_stale: "controller_stale";
7411
- document_stale: "document_stale";
7412
- driver_failed: "driver_failed";
7413
- frame_stale: "frame_stale";
7414
- invalid_action: "invalid_action";
7415
- locator_ambiguous: "locator_ambiguous";
7416
- locator_not_found: "locator_not_found";
7417
- machine_locked: "machine_locked";
7418
- observation_stale: "observation_stale";
7419
- operation_conflict: "operation_conflict";
7420
- outcome_unknown: "outcome_unknown";
7421
- permission_denied: "permission_denied";
7422
- resource_not_found: "resource_not_found";
7423
- resource_unavailable: "resource_unavailable";
7424
- target_not_found: "target_not_found";
7425
- target_stale: "target_stale";
7426
- timeout: "timeout";
7427
- unsupported: "unsupported";
7428
- }>;
7429
- message: z.ZodString;
7430
- retryable: z.ZodBoolean;
7431
- details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
7432
- }, z.core.$strict>>;
7433
- }, z.core.$strict>;
7434
- export type BrowserProtectedAuthFillReceipt = z.infer<typeof BrowserProtectedAuthFillReceipt>;
7435
6983
  export declare const ComputerSessionCapabilities: z.ZodObject<{
7436
6984
  semanticObservation: z.ZodBoolean;
7437
6985
  appDiscovery: z.ZodBoolean;
@@ -7440,9 +6988,11 @@ export declare const ComputerSessionCapabilities: z.ZodObject<{
7440
6988
  screenCapture: z.ZodBoolean;
7441
6989
  semanticActions: z.ZodBoolean;
7442
6990
  pointerInput: z.ZodBoolean;
6991
+ pointerClickContinuation: z.ZodOptional<z.ZodBoolean>;
7443
6992
  keyboardInput: z.ZodBoolean;
7444
6993
  clipboard: z.ZodBoolean;
7445
6994
  backgroundActions: z.ZodBoolean;
6995
+ backgroundInput: z.ZodOptional<z.ZodBoolean>;
7446
6996
  parallelApps: z.ZodBoolean;
7447
6997
  }, z.core.$strict>;
7448
6998
  export type ComputerSessionCapabilities = z.infer<typeof ComputerSessionCapabilities>;
@@ -7509,9 +7059,11 @@ export declare const ComputerSession: z.ZodObject<{
7509
7059
  screenCapture: z.ZodBoolean;
7510
7060
  semanticActions: z.ZodBoolean;
7511
7061
  pointerInput: z.ZodBoolean;
7062
+ pointerClickContinuation: z.ZodOptional<z.ZodBoolean>;
7512
7063
  keyboardInput: z.ZodBoolean;
7513
7064
  clipboard: z.ZodBoolean;
7514
7065
  backgroundActions: z.ZodBoolean;
7066
+ backgroundInput: z.ZodOptional<z.ZodBoolean>;
7515
7067
  parallelApps: z.ZodBoolean;
7516
7068
  }, z.core.$strict>>;
7517
7069
  associations: z.ZodArray<z.ZodObject<{
@@ -7596,6 +7148,7 @@ export declare const ComputerObservation: z.ZodObject<{
7596
7148
  artifactId: z.ZodString;
7597
7149
  kind: z.ZodEnum<{
7598
7150
  assistant_completion: "assistant_completion";
7151
+ browser_screenshot: "browser_screenshot";
7599
7152
  computer_screenshot: "computer_screenshot";
7600
7153
  event_media: "event_media";
7601
7154
  file: "file";
@@ -7693,6 +7246,8 @@ export declare const ComputerAction: z.ZodDiscriminatedUnion<[z.ZodObject<{
7693
7246
  middle: "middle";
7694
7247
  right: "right";
7695
7248
  }>>;
7249
+ clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
7250
+ continuationOfOperationId: z.ZodOptional<z.ZodString>;
7696
7251
  }, z.core.$strict>, z.ZodObject<{
7697
7252
  type: z.ZodLiteral<"keyboard">;
7698
7253
  action: z.ZodEnum<{
@@ -7795,6 +7350,8 @@ export declare const ComputerActionCommand: z.ZodObject<{
7795
7350
  middle: "middle";
7796
7351
  right: "right";
7797
7352
  }>>;
7353
+ clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
7354
+ continuationOfOperationId: z.ZodOptional<z.ZodString>;
7798
7355
  }, z.core.$strict>, z.ZodObject<{
7799
7356
  type: z.ZodLiteral<"keyboard">;
7800
7357
  action: z.ZodEnum<{
@@ -7818,6 +7375,7 @@ export declare const ComputerActionCommand: z.ZodObject<{
7818
7375
  type: z.ZodLiteral<"launch">;
7819
7376
  applicationId: z.ZodString;
7820
7377
  }, z.core.$strict>], "type">;
7378
+ secretValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7821
7379
  }, z.core.$strict>;
7822
7380
  export type ComputerActionCommand = z.infer<typeof ComputerActionCommand>;
7823
7381
  export declare const ComputerActionReceipt: z.ZodObject<{
@@ -7876,6 +7434,7 @@ export declare const ComputerActionReceipt: z.ZodObject<{
7876
7434
  artifactId: z.ZodString;
7877
7435
  kind: z.ZodEnum<{
7878
7436
  assistant_completion: "assistant_completion";
7437
+ browser_screenshot: "browser_screenshot";
7879
7438
  computer_screenshot: "computer_screenshot";
7880
7439
  event_media: "event_media";
7881
7440
  file: "file";
@@ -7933,6 +7492,8 @@ export declare const ComputerActionReceipt: z.ZodObject<{
7933
7492
  permission_denied: "permission_denied";
7934
7493
  resource_not_found: "resource_not_found";
7935
7494
  resource_unavailable: "resource_unavailable";
7495
+ tab_crashed: "tab_crashed";
7496
+ tab_not_responding: "tab_not_responding";
7936
7497
  target_not_found: "target_not_found";
7937
7498
  target_stale: "target_stale";
7938
7499
  timeout: "timeout";
@@ -8021,9 +7582,11 @@ export declare const ComputerSessionListResponse: z.ZodObject<{
8021
7582
  screenCapture: z.ZodBoolean;
8022
7583
  semanticActions: z.ZodBoolean;
8023
7584
  pointerInput: z.ZodBoolean;
7585
+ pointerClickContinuation: z.ZodOptional<z.ZodBoolean>;
8024
7586
  keyboardInput: z.ZodBoolean;
8025
7587
  clipboard: z.ZodBoolean;
8026
7588
  backgroundActions: z.ZodBoolean;
7589
+ backgroundInput: z.ZodOptional<z.ZodBoolean>;
8027
7590
  parallelApps: z.ZodBoolean;
8028
7591
  }, z.core.$strict>>;
8029
7592
  associations: z.ZodArray<z.ZodObject<{
@@ -8099,9 +7662,11 @@ export declare const ComputerSessionMutationResponse: z.ZodObject<{
8099
7662
  screenCapture: z.ZodBoolean;
8100
7663
  semanticActions: z.ZodBoolean;
8101
7664
  pointerInput: z.ZodBoolean;
7665
+ pointerClickContinuation: z.ZodOptional<z.ZodBoolean>;
8102
7666
  keyboardInput: z.ZodBoolean;
8103
7667
  clipboard: z.ZodBoolean;
8104
7668
  backgroundActions: z.ZodBoolean;
7669
+ backgroundInput: z.ZodOptional<z.ZodBoolean>;
8105
7670
  parallelApps: z.ZodBoolean;
8106
7671
  }, z.core.$strict>>;
8107
7672
  associations: z.ZodArray<z.ZodObject<{
@@ -8162,6 +7727,8 @@ export declare const ComputerSessionMutationResponse: z.ZodObject<{
8162
7727
  permission_denied: "permission_denied";
8163
7728
  resource_not_found: "resource_not_found";
8164
7729
  resource_unavailable: "resource_unavailable";
7730
+ tab_crashed: "tab_crashed";
7731
+ tab_not_responding: "tab_not_responding";
8165
7732
  target_not_found: "target_not_found";
8166
7733
  target_stale: "target_stale";
8167
7734
  timeout: "timeout";
@@ -8222,6 +7789,7 @@ export declare const ComputerSessionAttachment: z.ZodObject<{
8222
7789
  computerSessionId: z.ZodString;
8223
7790
  controllerGeneration: z.ZodString;
8224
7791
  targetId: z.ZodString;
7792
+ inputAllowed: z.ZodOptional<z.ZodBoolean>;
8225
7793
  stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
8226
7794
  kind: z.ZodLiteral<"direct_websocket">;
8227
7795
  url: z.ZodString;
@@ -8230,6 +7798,7 @@ export declare const ComputerSessionAttachment: z.ZodObject<{
8230
7798
  kind: z.ZodLiteral<"direct_rfb">;
8231
7799
  url: z.ZodString;
8232
7800
  protocols: z.ZodArray<z.ZodString>;
7801
+ inputAllowed: z.ZodDefault<z.ZodBoolean>;
8233
7802
  }, z.core.$strict>, z.ZodObject<{
8234
7803
  kind: z.ZodLiteral<"relay">;
8235
7804
  url: z.ZodString;
@@ -8245,6 +7814,14 @@ export declare const ComputerSessionAttachment: z.ZodObject<{
8245
7814
  expiresAt: z.ZodString;
8246
7815
  }, z.core.$strict>;
8247
7816
  export type ComputerSessionAttachment = z.infer<typeof ComputerSessionAttachment>;
7817
+ /** Caller-specific human input posture, independent of media/native capability.
7818
+ * It is a current-controller hint; every action still reauthorizes. */
7819
+ export declare const ComputerSessionInputPosture: z.ZodObject<{
7820
+ computerSessionId: z.ZodString;
7821
+ controllerGeneration: z.ZodString;
7822
+ inputAllowed: z.ZodBoolean;
7823
+ }, z.core.$strict>;
7824
+ export type ComputerSessionInputPosture = z.infer<typeof ComputerSessionInputPosture>;
8248
7825
  export declare const ComputerSessionAttachmentRequest: z.ZodObject<{
8249
7826
  targetId: z.ZodString;
8250
7827
  expiresInSeconds: z.ZodDefault<z.ZodNumber>;
@@ -8325,6 +7902,8 @@ export declare const ComputerActionRequest: z.ZodObject<{
8325
7902
  middle: "middle";
8326
7903
  right: "right";
8327
7904
  }>>;
7905
+ clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
7906
+ continuationOfOperationId: z.ZodOptional<z.ZodString>;
8328
7907
  }, z.core.$strict>, z.ZodObject<{
8329
7908
  type: z.ZodLiteral<"keyboard">;
8330
7909
  action: z.ZodEnum<{
@@ -8356,3 +7935,771 @@ export declare const ComputerSessionHeartbeatResponse: z.ZodObject<{
8356
7935
  alive: z.ZodLiteral<true>;
8357
7936
  }, z.core.$strict>;
8358
7937
  export type ComputerSessionHeartbeatResponse = z.infer<typeof ComputerSessionHeartbeatResponse>;
7938
+ /** Native desktop calls share ComputerSession authority and its operation journal.
7939
+ * CUA owns argument schemas; session/lifecycle authority never comes from callers. */
7940
+ export declare const ComputerNativeCallRequest: z.ZodObject<{
7941
+ operationId: z.ZodString;
7942
+ tool: z.ZodString;
7943
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7944
+ }, z.core.$strict>;
7945
+ export type ComputerNativeCallRequest = z.infer<typeof ComputerNativeCallRequest>;
7946
+ export declare const ComputerNativeCommand: z.ZodObject<{
7947
+ operationId: z.ZodString;
7948
+ tool: z.ZodString;
7949
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7950
+ protocolVersion: z.ZodLiteral<1>;
7951
+ computerSessionId: z.ZodString;
7952
+ controllerGeneration: z.ZodString;
7953
+ targetId: z.ZodNull;
7954
+ actor: z.ZodObject<{
7955
+ kind: z.ZodEnum<{
7956
+ agent: "agent";
7957
+ human: "human";
7958
+ system: "system";
7959
+ }>;
7960
+ subjectId: z.ZodString;
7961
+ sessionId: z.ZodOptional<z.ZodString>;
7962
+ turnId: z.ZodOptional<z.ZodString>;
7963
+ attemptId: z.ZodOptional<z.ZodString>;
7964
+ executionGeneration: z.ZodOptional<z.ZodNumber>;
7965
+ }, z.core.$strict>;
7966
+ secretValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7967
+ }, z.core.$strict>;
7968
+ export type ComputerNativeCommand = z.infer<typeof ComputerNativeCommand>;
7969
+ export declare const ComputerNativeResult: z.ZodObject<{
7970
+ target: z.ZodNull;
7971
+ computerSessionId: z.ZodString;
7972
+ controllerGeneration: z.ZodString;
7973
+ tool: z.ZodString;
7974
+ result: z.ZodObject<{
7975
+ content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7976
+ structuredContent: z.ZodOptional<z.ZodUnknown>;
7977
+ isError: z.ZodOptional<z.ZodBoolean>;
7978
+ }, z.core.$loose>;
7979
+ outcome: z.ZodEnum<{
7980
+ completed: "completed";
7981
+ failed: "failed";
7982
+ outcome_unknown: "outcome_unknown";
7983
+ }>;
7984
+ error: z.ZodNullable<z.ZodObject<{
7985
+ code: z.ZodEnum<{
7986
+ attempt_stale: "attempt_stale";
7987
+ controller_lost: "controller_lost";
7988
+ controller_stale: "controller_stale";
7989
+ document_stale: "document_stale";
7990
+ driver_failed: "driver_failed";
7991
+ frame_stale: "frame_stale";
7992
+ invalid_action: "invalid_action";
7993
+ locator_ambiguous: "locator_ambiguous";
7994
+ locator_not_found: "locator_not_found";
7995
+ machine_locked: "machine_locked";
7996
+ observation_stale: "observation_stale";
7997
+ operation_conflict: "operation_conflict";
7998
+ outcome_unknown: "outcome_unknown";
7999
+ permission_denied: "permission_denied";
8000
+ resource_not_found: "resource_not_found";
8001
+ resource_unavailable: "resource_unavailable";
8002
+ tab_crashed: "tab_crashed";
8003
+ tab_not_responding: "tab_not_responding";
8004
+ target_not_found: "target_not_found";
8005
+ target_stale: "target_stale";
8006
+ timeout: "timeout";
8007
+ unsupported: "unsupported";
8008
+ }>;
8009
+ message: z.ZodString;
8010
+ retryable: z.ZodBoolean;
8011
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
8012
+ }, z.core.$strict>>;
8013
+ }, z.core.$strict>;
8014
+ export type ComputerNativeResult = z.infer<typeof ComputerNativeResult>;
8015
+ export declare const ComputerNativeReceipt: z.ZodObject<{
8016
+ protocolVersion: z.ZodLiteral<1>;
8017
+ operationId: z.ZodString;
8018
+ computerSessionId: z.ZodString;
8019
+ controllerGeneration: z.ZodString;
8020
+ targetId: z.ZodNull;
8021
+ state: z.ZodEnum<{
8022
+ completed: "completed";
8023
+ dispatched: "dispatched";
8024
+ failed: "failed";
8025
+ outcome_unknown: "outcome_unknown";
8026
+ prepared: "prepared";
8027
+ }>;
8028
+ dispatchedAt: z.ZodNullable<z.ZodString>;
8029
+ settledAt: z.ZodNullable<z.ZodString>;
8030
+ observation: z.ZodNullable<z.ZodObject<{
8031
+ target: z.ZodNull;
8032
+ computerSessionId: z.ZodString;
8033
+ controllerGeneration: z.ZodString;
8034
+ tool: z.ZodString;
8035
+ result: z.ZodObject<{
8036
+ content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8037
+ structuredContent: z.ZodOptional<z.ZodUnknown>;
8038
+ isError: z.ZodOptional<z.ZodBoolean>;
8039
+ }, z.core.$loose>;
8040
+ outcome: z.ZodEnum<{
8041
+ completed: "completed";
8042
+ failed: "failed";
8043
+ outcome_unknown: "outcome_unknown";
8044
+ }>;
8045
+ error: z.ZodNullable<z.ZodObject<{
8046
+ code: z.ZodEnum<{
8047
+ attempt_stale: "attempt_stale";
8048
+ controller_lost: "controller_lost";
8049
+ controller_stale: "controller_stale";
8050
+ document_stale: "document_stale";
8051
+ driver_failed: "driver_failed";
8052
+ frame_stale: "frame_stale";
8053
+ invalid_action: "invalid_action";
8054
+ locator_ambiguous: "locator_ambiguous";
8055
+ locator_not_found: "locator_not_found";
8056
+ machine_locked: "machine_locked";
8057
+ observation_stale: "observation_stale";
8058
+ operation_conflict: "operation_conflict";
8059
+ outcome_unknown: "outcome_unknown";
8060
+ permission_denied: "permission_denied";
8061
+ resource_not_found: "resource_not_found";
8062
+ resource_unavailable: "resource_unavailable";
8063
+ tab_crashed: "tab_crashed";
8064
+ tab_not_responding: "tab_not_responding";
8065
+ target_not_found: "target_not_found";
8066
+ target_stale: "target_stale";
8067
+ timeout: "timeout";
8068
+ unsupported: "unsupported";
8069
+ }>;
8070
+ message: z.ZodString;
8071
+ retryable: z.ZodBoolean;
8072
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
8073
+ }, z.core.$strict>>;
8074
+ }, z.core.$strict>>;
8075
+ error: z.ZodNullable<z.ZodObject<{
8076
+ code: z.ZodEnum<{
8077
+ attempt_stale: "attempt_stale";
8078
+ controller_lost: "controller_lost";
8079
+ controller_stale: "controller_stale";
8080
+ document_stale: "document_stale";
8081
+ driver_failed: "driver_failed";
8082
+ frame_stale: "frame_stale";
8083
+ invalid_action: "invalid_action";
8084
+ locator_ambiguous: "locator_ambiguous";
8085
+ locator_not_found: "locator_not_found";
8086
+ machine_locked: "machine_locked";
8087
+ observation_stale: "observation_stale";
8088
+ operation_conflict: "operation_conflict";
8089
+ outcome_unknown: "outcome_unknown";
8090
+ permission_denied: "permission_denied";
8091
+ resource_not_found: "resource_not_found";
8092
+ resource_unavailable: "resource_unavailable";
8093
+ tab_crashed: "tab_crashed";
8094
+ tab_not_responding: "tab_not_responding";
8095
+ target_not_found: "target_not_found";
8096
+ target_stale: "target_stale";
8097
+ timeout: "timeout";
8098
+ unsupported: "unsupported";
8099
+ }>;
8100
+ message: z.ZodString;
8101
+ retryable: z.ZodBoolean;
8102
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
8103
+ }, z.core.$strict>>;
8104
+ }, z.core.$strict>;
8105
+ export type ComputerNativeReceipt = z.infer<typeof ComputerNativeReceipt>;
8106
+ export declare const ComputerOperationCommand: z.ZodUnion<readonly [z.ZodObject<{
8107
+ operationId: z.ZodString;
8108
+ tool: z.ZodString;
8109
+ arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8110
+ protocolVersion: z.ZodLiteral<1>;
8111
+ computerSessionId: z.ZodString;
8112
+ controllerGeneration: z.ZodString;
8113
+ targetId: z.ZodNull;
8114
+ actor: z.ZodObject<{
8115
+ kind: z.ZodEnum<{
8116
+ agent: "agent";
8117
+ human: "human";
8118
+ system: "system";
8119
+ }>;
8120
+ subjectId: z.ZodString;
8121
+ sessionId: z.ZodOptional<z.ZodString>;
8122
+ turnId: z.ZodOptional<z.ZodString>;
8123
+ attemptId: z.ZodOptional<z.ZodString>;
8124
+ executionGeneration: z.ZodOptional<z.ZodNumber>;
8125
+ }, z.core.$strict>;
8126
+ secretValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8127
+ }, z.core.$strict>, z.ZodObject<{
8128
+ protocolVersion: z.ZodLiteral<1>;
8129
+ operationId: z.ZodString;
8130
+ computerSessionId: z.ZodString;
8131
+ controllerGeneration: z.ZodString;
8132
+ targetId: z.ZodString;
8133
+ expectedTargetGeneration: z.ZodString;
8134
+ expectedObservationId: z.ZodNullable<z.ZodString>;
8135
+ expectedFrameId: z.ZodNullable<z.ZodString>;
8136
+ actor: z.ZodObject<{
8137
+ kind: z.ZodEnum<{
8138
+ agent: "agent";
8139
+ human: "human";
8140
+ system: "system";
8141
+ }>;
8142
+ subjectId: z.ZodString;
8143
+ sessionId: z.ZodOptional<z.ZodString>;
8144
+ turnId: z.ZodOptional<z.ZodString>;
8145
+ attemptId: z.ZodOptional<z.ZodString>;
8146
+ executionGeneration: z.ZodOptional<z.ZodNumber>;
8147
+ }, z.core.$strict>;
8148
+ action: z.ZodDiscriminatedUnion<[z.ZodObject<{
8149
+ type: z.ZodLiteral<"semantic">;
8150
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
8151
+ kind: z.ZodLiteral<"ref">;
8152
+ ref: z.ZodString;
8153
+ }, z.core.$strict>, z.ZodObject<{
8154
+ kind: z.ZodLiteral<"role">;
8155
+ role: z.ZodString;
8156
+ name: z.ZodOptional<z.ZodString>;
8157
+ exact: z.ZodOptional<z.ZodBoolean>;
8158
+ }, z.core.$strict>, z.ZodObject<{
8159
+ kind: z.ZodLiteral<"label">;
8160
+ text: z.ZodString;
8161
+ exact: z.ZodOptional<z.ZodBoolean>;
8162
+ }, z.core.$strict>, z.ZodObject<{
8163
+ kind: z.ZodLiteral<"text">;
8164
+ text: z.ZodString;
8165
+ exact: z.ZodOptional<z.ZodBoolean>;
8166
+ }, z.core.$strict>, z.ZodObject<{
8167
+ kind: z.ZodLiteral<"identifier">;
8168
+ value: z.ZodString;
8169
+ }, z.core.$strict>], "kind">;
8170
+ action: z.ZodEnum<{
8171
+ collapse: "collapse";
8172
+ decrement: "decrement";
8173
+ deselect: "deselect";
8174
+ expand: "expand";
8175
+ focus: "focus";
8176
+ increment: "increment";
8177
+ invoke: "invoke";
8178
+ scroll_into_view: "scroll_into_view";
8179
+ select: "select";
8180
+ set_value: "set_value";
8181
+ show_menu: "show_menu";
8182
+ }>;
8183
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
8184
+ }, z.core.$strict>, z.ZodObject<{
8185
+ type: z.ZodLiteral<"pointer">;
8186
+ frameId: z.ZodString;
8187
+ action: z.ZodEnum<{
8188
+ click: "click";
8189
+ double_click: "double_click";
8190
+ drag: "drag";
8191
+ move: "move";
8192
+ scroll: "scroll";
8193
+ }>;
8194
+ x: z.ZodNumber;
8195
+ y: z.ZodNumber;
8196
+ endX: z.ZodOptional<z.ZodNumber>;
8197
+ endY: z.ZodOptional<z.ZodNumber>;
8198
+ deltaX: z.ZodOptional<z.ZodNumber>;
8199
+ deltaY: z.ZodOptional<z.ZodNumber>;
8200
+ button: z.ZodOptional<z.ZodEnum<{
8201
+ left: "left";
8202
+ middle: "middle";
8203
+ right: "right";
8204
+ }>>;
8205
+ clickCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
8206
+ continuationOfOperationId: z.ZodOptional<z.ZodString>;
8207
+ }, z.core.$strict>, z.ZodObject<{
8208
+ type: z.ZodLiteral<"keyboard">;
8209
+ action: z.ZodEnum<{
8210
+ press: "press";
8211
+ type: "type";
8212
+ }>;
8213
+ value: z.ZodString;
8214
+ }, z.core.$strict>, z.ZodObject<{
8215
+ type: z.ZodLiteral<"clipboard">;
8216
+ operation: z.ZodEnum<{
8217
+ clear: "clear";
8218
+ copy: "copy";
8219
+ paste: "paste";
8220
+ write: "write";
8221
+ }>;
8222
+ text: z.ZodOptional<z.ZodString>;
8223
+ }, z.core.$strict>, z.ZodObject<{
8224
+ type: z.ZodLiteral<"focus">;
8225
+ targetId: z.ZodString;
8226
+ }, z.core.$strict>, z.ZodObject<{
8227
+ type: z.ZodLiteral<"launch">;
8228
+ applicationId: z.ZodString;
8229
+ }, z.core.$strict>], "type">;
8230
+ secretValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8231
+ }, z.core.$strict>]>;
8232
+ export type ComputerOperationCommand = z.infer<typeof ComputerOperationCommand>;
8233
+ export declare const ComputerOperationReceipt: z.ZodUnion<readonly [z.ZodObject<{
8234
+ protocolVersion: z.ZodLiteral<1>;
8235
+ operationId: z.ZodString;
8236
+ computerSessionId: z.ZodString;
8237
+ controllerGeneration: z.ZodString;
8238
+ targetId: z.ZodNull;
8239
+ state: z.ZodEnum<{
8240
+ completed: "completed";
8241
+ dispatched: "dispatched";
8242
+ failed: "failed";
8243
+ outcome_unknown: "outcome_unknown";
8244
+ prepared: "prepared";
8245
+ }>;
8246
+ dispatchedAt: z.ZodNullable<z.ZodString>;
8247
+ settledAt: z.ZodNullable<z.ZodString>;
8248
+ observation: z.ZodNullable<z.ZodObject<{
8249
+ target: z.ZodNull;
8250
+ computerSessionId: z.ZodString;
8251
+ controllerGeneration: z.ZodString;
8252
+ tool: z.ZodString;
8253
+ result: z.ZodObject<{
8254
+ content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8255
+ structuredContent: z.ZodOptional<z.ZodUnknown>;
8256
+ isError: z.ZodOptional<z.ZodBoolean>;
8257
+ }, z.core.$loose>;
8258
+ outcome: z.ZodEnum<{
8259
+ completed: "completed";
8260
+ failed: "failed";
8261
+ outcome_unknown: "outcome_unknown";
8262
+ }>;
8263
+ error: z.ZodNullable<z.ZodObject<{
8264
+ code: z.ZodEnum<{
8265
+ attempt_stale: "attempt_stale";
8266
+ controller_lost: "controller_lost";
8267
+ controller_stale: "controller_stale";
8268
+ document_stale: "document_stale";
8269
+ driver_failed: "driver_failed";
8270
+ frame_stale: "frame_stale";
8271
+ invalid_action: "invalid_action";
8272
+ locator_ambiguous: "locator_ambiguous";
8273
+ locator_not_found: "locator_not_found";
8274
+ machine_locked: "machine_locked";
8275
+ observation_stale: "observation_stale";
8276
+ operation_conflict: "operation_conflict";
8277
+ outcome_unknown: "outcome_unknown";
8278
+ permission_denied: "permission_denied";
8279
+ resource_not_found: "resource_not_found";
8280
+ resource_unavailable: "resource_unavailable";
8281
+ tab_crashed: "tab_crashed";
8282
+ tab_not_responding: "tab_not_responding";
8283
+ target_not_found: "target_not_found";
8284
+ target_stale: "target_stale";
8285
+ timeout: "timeout";
8286
+ unsupported: "unsupported";
8287
+ }>;
8288
+ message: z.ZodString;
8289
+ retryable: z.ZodBoolean;
8290
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
8291
+ }, z.core.$strict>>;
8292
+ }, z.core.$strict>>;
8293
+ error: z.ZodNullable<z.ZodObject<{
8294
+ code: z.ZodEnum<{
8295
+ attempt_stale: "attempt_stale";
8296
+ controller_lost: "controller_lost";
8297
+ controller_stale: "controller_stale";
8298
+ document_stale: "document_stale";
8299
+ driver_failed: "driver_failed";
8300
+ frame_stale: "frame_stale";
8301
+ invalid_action: "invalid_action";
8302
+ locator_ambiguous: "locator_ambiguous";
8303
+ locator_not_found: "locator_not_found";
8304
+ machine_locked: "machine_locked";
8305
+ observation_stale: "observation_stale";
8306
+ operation_conflict: "operation_conflict";
8307
+ outcome_unknown: "outcome_unknown";
8308
+ permission_denied: "permission_denied";
8309
+ resource_not_found: "resource_not_found";
8310
+ resource_unavailable: "resource_unavailable";
8311
+ tab_crashed: "tab_crashed";
8312
+ tab_not_responding: "tab_not_responding";
8313
+ target_not_found: "target_not_found";
8314
+ target_stale: "target_stale";
8315
+ timeout: "timeout";
8316
+ unsupported: "unsupported";
8317
+ }>;
8318
+ message: z.ZodString;
8319
+ retryable: z.ZodBoolean;
8320
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
8321
+ }, z.core.$strict>>;
8322
+ }, z.core.$strict>, z.ZodObject<{
8323
+ protocolVersion: z.ZodLiteral<1>;
8324
+ operationId: z.ZodString;
8325
+ computerSessionId: z.ZodString;
8326
+ controllerGeneration: z.ZodString;
8327
+ targetId: z.ZodString;
8328
+ state: z.ZodEnum<{
8329
+ completed: "completed";
8330
+ dispatched: "dispatched";
8331
+ failed: "failed";
8332
+ outcome_unknown: "outcome_unknown";
8333
+ prepared: "prepared";
8334
+ }>;
8335
+ dispatchedAt: z.ZodNullable<z.ZodString>;
8336
+ settledAt: z.ZodNullable<z.ZodString>;
8337
+ observation: z.ZodNullable<z.ZodObject<{
8338
+ protocolVersion: z.ZodLiteral<1>;
8339
+ observationId: z.ZodString;
8340
+ computerSessionId: z.ZodString;
8341
+ target: z.ZodObject<{
8342
+ id: z.ZodString;
8343
+ computerSessionId: z.ZodString;
8344
+ controllerGeneration: z.ZodString;
8345
+ targetGeneration: z.ZodString;
8346
+ kind: z.ZodEnum<{
8347
+ app: "app";
8348
+ screen: "screen";
8349
+ window: "window";
8350
+ }>;
8351
+ applicationId: z.ZodNullable<z.ZodString>;
8352
+ processId: z.ZodNullable<z.ZodNumber>;
8353
+ title: z.ZodString;
8354
+ bounds: z.ZodNullable<z.ZodObject<{
8355
+ x: z.ZodNumber;
8356
+ y: z.ZodNumber;
8357
+ width: z.ZodNumber;
8358
+ height: z.ZodNumber;
8359
+ }, z.core.$strict>>;
8360
+ focused: z.ZodBoolean;
8361
+ }, z.core.$strict>;
8362
+ frameId: z.ZodNullable<z.ZodString>;
8363
+ semantic: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
8364
+ kind: z.ZodLiteral<"snapshot">;
8365
+ roots: z.ZodArray<z.ZodType<InteractionSemanticNodeValue, unknown, z.core.$ZodTypeInternals<InteractionSemanticNodeValue, unknown>>>;
8366
+ nodeCount: z.ZodNumber;
8367
+ }, z.core.$strict>, z.ZodObject<{
8368
+ kind: z.ZodLiteral<"diff">;
8369
+ baseObservationId: z.ZodString;
8370
+ removedRefs: z.ZodArray<z.ZodString>;
8371
+ changed: z.ZodArray<z.ZodType<InteractionSemanticNodeValue, unknown, z.core.$ZodTypeInternals<InteractionSemanticNodeValue, unknown>>>;
8372
+ }, z.core.$strict>]>>;
8373
+ screenshot: z.ZodNullable<z.ZodObject<{
8374
+ available: z.ZodLiteral<true>;
8375
+ artifactId: z.ZodString;
8376
+ kind: z.ZodEnum<{
8377
+ assistant_completion: "assistant_completion";
8378
+ browser_screenshot: "browser_screenshot";
8379
+ computer_screenshot: "computer_screenshot";
8380
+ event_media: "event_media";
8381
+ file: "file";
8382
+ generated_image: "generated_image";
8383
+ generated_video: "generated_video";
8384
+ internal_update: "internal_update";
8385
+ tool_result: "tool_result";
8386
+ }>;
8387
+ contentType: z.ZodString;
8388
+ originalBytes: z.ZodNumber;
8389
+ sha256: z.ZodString;
8390
+ retainedAt: z.ZodString;
8391
+ dimensions: z.ZodOptional<z.ZodObject<{
8392
+ width: z.ZodNumber;
8393
+ height: z.ZodNumber;
8394
+ }, z.core.$strict>>;
8395
+ retention: z.ZodUnion<readonly [z.ZodObject<{
8396
+ policy: z.ZodLiteral<"workspace_file">;
8397
+ expiresAt: z.ZodNull;
8398
+ }, z.core.$strict>, z.ZodObject<{
8399
+ policy: z.ZodLiteral<"session_screenshot">;
8400
+ expiresAt: z.ZodString;
8401
+ }, z.core.$strict>]>;
8402
+ retrieval: z.ZodObject<{
8403
+ method: z.ZodLiteral<"GET">;
8404
+ path: z.ZodString;
8405
+ acceptRanges: z.ZodLiteral<"bytes">;
8406
+ maxRangeBytes: z.ZodNumber;
8407
+ }, z.core.$strict>;
8408
+ }, z.core.$strict>>;
8409
+ focusedRef: z.ZodNullable<z.ZodString>;
8410
+ changedRegions: z.ZodArray<z.ZodObject<{
8411
+ x: z.ZodNumber;
8412
+ y: z.ZodNumber;
8413
+ width: z.ZodNumber;
8414
+ height: z.ZodNumber;
8415
+ }, z.core.$strict>>;
8416
+ observedAt: z.ZodString;
8417
+ }, z.core.$strict>>;
8418
+ error: z.ZodNullable<z.ZodObject<{
8419
+ code: z.ZodEnum<{
8420
+ attempt_stale: "attempt_stale";
8421
+ controller_lost: "controller_lost";
8422
+ controller_stale: "controller_stale";
8423
+ document_stale: "document_stale";
8424
+ driver_failed: "driver_failed";
8425
+ frame_stale: "frame_stale";
8426
+ invalid_action: "invalid_action";
8427
+ locator_ambiguous: "locator_ambiguous";
8428
+ locator_not_found: "locator_not_found";
8429
+ machine_locked: "machine_locked";
8430
+ observation_stale: "observation_stale";
8431
+ operation_conflict: "operation_conflict";
8432
+ outcome_unknown: "outcome_unknown";
8433
+ permission_denied: "permission_denied";
8434
+ resource_not_found: "resource_not_found";
8435
+ resource_unavailable: "resource_unavailable";
8436
+ tab_crashed: "tab_crashed";
8437
+ tab_not_responding: "tab_not_responding";
8438
+ target_not_found: "target_not_found";
8439
+ target_stale: "target_stale";
8440
+ timeout: "timeout";
8441
+ unsupported: "unsupported";
8442
+ }>;
8443
+ message: z.ZodString;
8444
+ retryable: z.ZodBoolean;
8445
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
8446
+ }, z.core.$strict>>;
8447
+ }, z.core.$strict>]>;
8448
+ export type ComputerOperationReceipt = z.infer<typeof ComputerOperationReceipt>;
8449
+ export declare const ComputerOperationObservation: z.ZodUnion<readonly [z.ZodObject<{
8450
+ target: z.ZodNull;
8451
+ computerSessionId: z.ZodString;
8452
+ controllerGeneration: z.ZodString;
8453
+ tool: z.ZodString;
8454
+ result: z.ZodObject<{
8455
+ content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8456
+ structuredContent: z.ZodOptional<z.ZodUnknown>;
8457
+ isError: z.ZodOptional<z.ZodBoolean>;
8458
+ }, z.core.$loose>;
8459
+ outcome: z.ZodEnum<{
8460
+ completed: "completed";
8461
+ failed: "failed";
8462
+ outcome_unknown: "outcome_unknown";
8463
+ }>;
8464
+ error: z.ZodNullable<z.ZodObject<{
8465
+ code: z.ZodEnum<{
8466
+ attempt_stale: "attempt_stale";
8467
+ controller_lost: "controller_lost";
8468
+ controller_stale: "controller_stale";
8469
+ document_stale: "document_stale";
8470
+ driver_failed: "driver_failed";
8471
+ frame_stale: "frame_stale";
8472
+ invalid_action: "invalid_action";
8473
+ locator_ambiguous: "locator_ambiguous";
8474
+ locator_not_found: "locator_not_found";
8475
+ machine_locked: "machine_locked";
8476
+ observation_stale: "observation_stale";
8477
+ operation_conflict: "operation_conflict";
8478
+ outcome_unknown: "outcome_unknown";
8479
+ permission_denied: "permission_denied";
8480
+ resource_not_found: "resource_not_found";
8481
+ resource_unavailable: "resource_unavailable";
8482
+ tab_crashed: "tab_crashed";
8483
+ tab_not_responding: "tab_not_responding";
8484
+ target_not_found: "target_not_found";
8485
+ target_stale: "target_stale";
8486
+ timeout: "timeout";
8487
+ unsupported: "unsupported";
8488
+ }>;
8489
+ message: z.ZodString;
8490
+ retryable: z.ZodBoolean;
8491
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
8492
+ }, z.core.$strict>>;
8493
+ }, z.core.$strict>, z.ZodObject<{
8494
+ protocolVersion: z.ZodLiteral<1>;
8495
+ observationId: z.ZodString;
8496
+ computerSessionId: z.ZodString;
8497
+ target: z.ZodObject<{
8498
+ id: z.ZodString;
8499
+ computerSessionId: z.ZodString;
8500
+ controllerGeneration: z.ZodString;
8501
+ targetGeneration: z.ZodString;
8502
+ kind: z.ZodEnum<{
8503
+ app: "app";
8504
+ screen: "screen";
8505
+ window: "window";
8506
+ }>;
8507
+ applicationId: z.ZodNullable<z.ZodString>;
8508
+ processId: z.ZodNullable<z.ZodNumber>;
8509
+ title: z.ZodString;
8510
+ bounds: z.ZodNullable<z.ZodObject<{
8511
+ x: z.ZodNumber;
8512
+ y: z.ZodNumber;
8513
+ width: z.ZodNumber;
8514
+ height: z.ZodNumber;
8515
+ }, z.core.$strict>>;
8516
+ focused: z.ZodBoolean;
8517
+ }, z.core.$strict>;
8518
+ frameId: z.ZodNullable<z.ZodString>;
8519
+ semantic: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
8520
+ kind: z.ZodLiteral<"snapshot">;
8521
+ roots: z.ZodArray<z.ZodType<InteractionSemanticNodeValue, unknown, z.core.$ZodTypeInternals<InteractionSemanticNodeValue, unknown>>>;
8522
+ nodeCount: z.ZodNumber;
8523
+ }, z.core.$strict>, z.ZodObject<{
8524
+ kind: z.ZodLiteral<"diff">;
8525
+ baseObservationId: z.ZodString;
8526
+ removedRefs: z.ZodArray<z.ZodString>;
8527
+ changed: z.ZodArray<z.ZodType<InteractionSemanticNodeValue, unknown, z.core.$ZodTypeInternals<InteractionSemanticNodeValue, unknown>>>;
8528
+ }, z.core.$strict>]>>;
8529
+ screenshot: z.ZodNullable<z.ZodObject<{
8530
+ available: z.ZodLiteral<true>;
8531
+ artifactId: z.ZodString;
8532
+ kind: z.ZodEnum<{
8533
+ assistant_completion: "assistant_completion";
8534
+ browser_screenshot: "browser_screenshot";
8535
+ computer_screenshot: "computer_screenshot";
8536
+ event_media: "event_media";
8537
+ file: "file";
8538
+ generated_image: "generated_image";
8539
+ generated_video: "generated_video";
8540
+ internal_update: "internal_update";
8541
+ tool_result: "tool_result";
8542
+ }>;
8543
+ contentType: z.ZodString;
8544
+ originalBytes: z.ZodNumber;
8545
+ sha256: z.ZodString;
8546
+ retainedAt: z.ZodString;
8547
+ dimensions: z.ZodOptional<z.ZodObject<{
8548
+ width: z.ZodNumber;
8549
+ height: z.ZodNumber;
8550
+ }, z.core.$strict>>;
8551
+ retention: z.ZodUnion<readonly [z.ZodObject<{
8552
+ policy: z.ZodLiteral<"workspace_file">;
8553
+ expiresAt: z.ZodNull;
8554
+ }, z.core.$strict>, z.ZodObject<{
8555
+ policy: z.ZodLiteral<"session_screenshot">;
8556
+ expiresAt: z.ZodString;
8557
+ }, z.core.$strict>]>;
8558
+ retrieval: z.ZodObject<{
8559
+ method: z.ZodLiteral<"GET">;
8560
+ path: z.ZodString;
8561
+ acceptRanges: z.ZodLiteral<"bytes">;
8562
+ maxRangeBytes: z.ZodNumber;
8563
+ }, z.core.$strict>;
8564
+ }, z.core.$strict>>;
8565
+ focusedRef: z.ZodNullable<z.ZodString>;
8566
+ changedRegions: z.ZodArray<z.ZodObject<{
8567
+ x: z.ZodNumber;
8568
+ y: z.ZodNumber;
8569
+ width: z.ZodNumber;
8570
+ height: z.ZodNumber;
8571
+ }, z.core.$strict>>;
8572
+ observedAt: z.ZodString;
8573
+ }, z.core.$strict>]>;
8574
+ export type ComputerOperationObservation = z.infer<typeof ComputerOperationObservation>;
8575
+ export declare class InteractionSecretValueError extends Error {
8576
+ constructor(message: string);
8577
+ }
8578
+ /** Replace each reference with its value from `values` and remove escapes.
8579
+ * Throws when a reference has no value or a candidate is malformed; the
8580
+ * message never contains a value. */
8581
+ export declare function substituteSecretText(text: string, values: InteractionSecretValues): string;
8582
+ /** The text fields of a browser action that may carry secret references. */
8583
+ export declare function browserActionSecretTexts(action: BrowserAction | BrowserActionBatch): string[];
8584
+ /** The action to dispatch: references replaced when the command carries
8585
+ * `secretValues`; otherwise the action exactly as written (literal text). */
8586
+ export declare function materializeBrowserActionSecrets(command: Pick<BrowserActionCommand, "action" | "secretValues">): BrowserAction | BrowserActionBatch;
8587
+ /** The text fields of a computer action that may carry secret references. */
8588
+ export declare function computerActionSecretTexts(action: ComputerAction): string[];
8589
+ export declare function materializeComputerActionSecrets(command: Pick<ComputerActionCommand, "action" | "secretValues">): ComputerAction;
8590
+ /** Native desktop call arguments with every reference in every string replaced. */
8591
+ export declare function materializeComputerNativeSecrets(command: Pick<ComputerNativeCommand, "arguments" | "secretValues">): Record<string, unknown>;
8592
+ /** The command without its private side map: what digests and journals bind. */
8593
+ export declare function withoutInteractionSecretValues<T extends {
8594
+ secretValues?: unknown;
8595
+ }>(command: T): Omit<T, "secretValues">;
8596
+ export declare const INTERACTION_REDACTED_SECRET = "[secret]";
8597
+ /** Values shorter than this are not searched for: they would redact noise. */
8598
+ export declare const INTERACTION_MIN_REDACTED_SECRET_CHARS = 4;
8599
+ /** Deep copy with every occurrence of a supplied secret value in a text
8600
+ * string replaced by `[secret]`. Used on results a driver returns after
8601
+ * dispatching materialized values (CUA tools echo typed text; desktop
8602
+ * accessibility trees expose field values). */
8603
+ export declare function redactInteractionSecretValues<T>(value: T, secretValues: InteractionSecretValues | undefined): T;
8604
+ /** A WebAuthn credential as the virtual authenticator holds it. Binary fields
8605
+ * use the CDP encoding (base64). `privateKey` is PKCS#8. */
8606
+ export declare const BrowserPasskeyCredentialMaterial: z.ZodObject<{
8607
+ rpId: z.ZodString;
8608
+ credentialId: z.ZodString;
8609
+ userHandle: z.ZodNullable<z.ZodString>;
8610
+ userName: z.ZodNullable<z.ZodString>;
8611
+ userDisplayName: z.ZodNullable<z.ZodString>;
8612
+ privateKey: z.ZodString;
8613
+ signCount: z.ZodNumber;
8614
+ }, z.core.$strict>;
8615
+ export type BrowserPasskeyCredentialMaterial = z.infer<typeof BrowserPasskeyCredentialMaterial>;
8616
+ /** A vault passkey item loaded into the session's authenticators. */
8617
+ export declare const BrowserPasskeyCredential: z.ZodObject<{
8618
+ rpId: z.ZodString;
8619
+ credentialId: z.ZodString;
8620
+ userHandle: z.ZodNullable<z.ZodString>;
8621
+ userName: z.ZodNullable<z.ZodString>;
8622
+ userDisplayName: z.ZodNullable<z.ZodString>;
8623
+ privateKey: z.ZodString;
8624
+ signCount: z.ZodNumber;
8625
+ itemId: z.ZodString;
8626
+ }, z.core.$strict>;
8627
+ export type BrowserPasskeyCredential = z.infer<typeof BrowserPasskeyCredential>;
8628
+ export declare const BrowserPasskeyEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
8629
+ type: z.ZodLiteral<"registered">;
8630
+ eventId: z.ZodString;
8631
+ occurredAt: z.ZodString;
8632
+ targetId: z.ZodString;
8633
+ origin: z.ZodNullable<z.ZodString>;
8634
+ credential: z.ZodObject<{
8635
+ rpId: z.ZodString;
8636
+ credentialId: z.ZodString;
8637
+ userHandle: z.ZodNullable<z.ZodString>;
8638
+ userName: z.ZodNullable<z.ZodString>;
8639
+ userDisplayName: z.ZodNullable<z.ZodString>;
8640
+ privateKey: z.ZodString;
8641
+ signCount: z.ZodNumber;
8642
+ }, z.core.$strict>;
8643
+ }, z.core.$strict>, z.ZodObject<{
8644
+ type: z.ZodLiteral<"asserted">;
8645
+ eventId: z.ZodString;
8646
+ occurredAt: z.ZodString;
8647
+ targetId: z.ZodString;
8648
+ rpId: z.ZodString;
8649
+ credentialId: z.ZodString;
8650
+ itemId: z.ZodNullable<z.ZodString>;
8651
+ signCount: z.ZodNumber;
8652
+ }, z.core.$strict>], "type">;
8653
+ export type BrowserPasskeyEvent = z.infer<typeof BrowserPasskeyEvent>;
8654
+ export declare const BROWSER_MAX_PASSKEY_CREDENTIALS = 256;
8655
+ export declare const BROWSER_MAX_PASSKEY_EVENTS = 256;
8656
+ /** Controller-private. `credentials` replaces the loaded set (null keeps it).
8657
+ * Events stay pending in browserd until a later sync acknowledges them. */
8658
+ export declare const BrowserPasskeySyncRequest: z.ZodObject<{
8659
+ protocolVersion: z.ZodLiteral<1>;
8660
+ browserSessionId: z.ZodString;
8661
+ controllerGeneration: z.ZodString;
8662
+ credentials: z.ZodNullable<z.ZodArray<z.ZodObject<{
8663
+ rpId: z.ZodString;
8664
+ credentialId: z.ZodString;
8665
+ userHandle: z.ZodNullable<z.ZodString>;
8666
+ userName: z.ZodNullable<z.ZodString>;
8667
+ userDisplayName: z.ZodNullable<z.ZodString>;
8668
+ privateKey: z.ZodString;
8669
+ signCount: z.ZodNumber;
8670
+ itemId: z.ZodString;
8671
+ }, z.core.$strict>>>;
8672
+ acknowledgeEventIds: z.ZodArray<z.ZodString>;
8673
+ }, z.core.$strict>;
8674
+ export type BrowserPasskeySyncRequest = z.infer<typeof BrowserPasskeySyncRequest>;
8675
+ export declare const BrowserPasskeySyncResponse: z.ZodObject<{
8676
+ browserSessionId: z.ZodString;
8677
+ controllerGeneration: z.ZodString;
8678
+ authenticators: z.ZodNumber;
8679
+ events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8680
+ type: z.ZodLiteral<"registered">;
8681
+ eventId: z.ZodString;
8682
+ occurredAt: z.ZodString;
8683
+ targetId: z.ZodString;
8684
+ origin: z.ZodNullable<z.ZodString>;
8685
+ credential: z.ZodObject<{
8686
+ rpId: z.ZodString;
8687
+ credentialId: z.ZodString;
8688
+ userHandle: z.ZodNullable<z.ZodString>;
8689
+ userName: z.ZodNullable<z.ZodString>;
8690
+ userDisplayName: z.ZodNullable<z.ZodString>;
8691
+ privateKey: z.ZodString;
8692
+ signCount: z.ZodNumber;
8693
+ }, z.core.$strict>;
8694
+ }, z.core.$strict>, z.ZodObject<{
8695
+ type: z.ZodLiteral<"asserted">;
8696
+ eventId: z.ZodString;
8697
+ occurredAt: z.ZodString;
8698
+ targetId: z.ZodString;
8699
+ rpId: z.ZodString;
8700
+ credentialId: z.ZodString;
8701
+ itemId: z.ZodNullable<z.ZodString>;
8702
+ signCount: z.ZodNumber;
8703
+ }, z.core.$strict>], "type">>;
8704
+ }, z.core.$strict>;
8705
+ export type BrowserPasskeySyncResponse = z.infer<typeof BrowserPasskeySyncResponse>;