@trusty-squire/mcp 1.1.13 → 1.1.14-rc.10

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 (163) hide show
  1. package/README.md +94 -110
  2. package/{LICENSE → assets/licenses/browser-use-MIT.txt} +1 -1
  3. package/dist/api-client.d.ts +9 -0
  4. package/dist/api-client.d.ts.map +1 -1
  5. package/dist/api-client.js +11 -0
  6. package/dist/api-client.js.map +1 -1
  7. package/dist/bin.js +7 -1
  8. package/dist/bin.js.map +1 -1
  9. package/dist/bot/broker/admission-context.d.ts +11 -0
  10. package/dist/bot/broker/admission-context.d.ts.map +1 -0
  11. package/dist/bot/broker/admission-context.js +17 -0
  12. package/dist/bot/broker/admission-context.js.map +1 -0
  13. package/dist/bot/broker/authority.d.ts +76 -0
  14. package/dist/bot/broker/authority.d.ts.map +1 -0
  15. package/dist/bot/broker/authority.js +528 -0
  16. package/dist/bot/broker/authority.js.map +1 -0
  17. package/dist/bot/broker/custody.d.ts +20 -0
  18. package/dist/bot/broker/custody.d.ts.map +1 -0
  19. package/dist/bot/broker/custody.js +10 -0
  20. package/dist/bot/broker/custody.js.map +1 -0
  21. package/dist/bot/broker/daemon.d.ts +24 -0
  22. package/dist/bot/broker/daemon.d.ts.map +1 -0
  23. package/dist/bot/broker/daemon.js +371 -0
  24. package/dist/bot/broker/daemon.js.map +1 -0
  25. package/dist/bot/broker/discovery.d.ts +9 -0
  26. package/dist/bot/broker/discovery.d.ts.map +1 -0
  27. package/dist/bot/broker/discovery.js +167 -0
  28. package/dist/bot/broker/discovery.js.map +1 -0
  29. package/dist/bot/broker/dispatch-journal.d.ts +71 -0
  30. package/dist/bot/broker/dispatch-journal.d.ts.map +1 -0
  31. package/dist/bot/broker/dispatch-journal.js +319 -0
  32. package/dist/bot/broker/dispatch-journal.js.map +1 -0
  33. package/dist/bot/broker/forwarder.d.ts +35 -0
  34. package/dist/bot/broker/forwarder.d.ts.map +1 -0
  35. package/dist/bot/broker/forwarder.js +150 -0
  36. package/dist/bot/broker/forwarder.js.map +1 -0
  37. package/dist/bot/broker/identity-lane.d.ts +3 -0
  38. package/dist/bot/broker/identity-lane.d.ts.map +1 -0
  39. package/dist/bot/broker/identity-lane.js +15 -0
  40. package/dist/bot/broker/identity-lane.js.map +1 -0
  41. package/dist/bot/broker/lineage.d.ts +3 -0
  42. package/dist/bot/broker/lineage.d.ts.map +1 -0
  43. package/dist/bot/broker/lineage.js +16 -0
  44. package/dist/bot/broker/lineage.js.map +1 -0
  45. package/dist/bot/broker/maintenance.d.ts +4 -0
  46. package/dist/bot/broker/maintenance.d.ts.map +1 -0
  47. package/dist/bot/broker/maintenance.js +49 -0
  48. package/dist/bot/broker/maintenance.js.map +1 -0
  49. package/dist/bot/broker/operator.d.ts +48 -0
  50. package/dist/bot/broker/operator.d.ts.map +1 -0
  51. package/dist/bot/broker/operator.js +523 -0
  52. package/dist/bot/broker/operator.js.map +1 -0
  53. package/dist/bot/broker/qualification.d.ts +5 -0
  54. package/dist/bot/broker/qualification.d.ts.map +1 -0
  55. package/dist/bot/broker/qualification.js +67 -0
  56. package/dist/bot/broker/qualification.js.map +1 -0
  57. package/dist/bot/broker/runtime.d.ts +36 -0
  58. package/dist/bot/broker/runtime.d.ts.map +1 -0
  59. package/dist/bot/broker/runtime.js +202 -0
  60. package/dist/bot/broker/runtime.js.map +1 -0
  61. package/dist/bot/broker/scheduler.d.ts +20 -0
  62. package/dist/bot/broker/scheduler.d.ts.map +1 -0
  63. package/dist/bot/broker/scheduler.js +94 -0
  64. package/dist/bot/broker/scheduler.js.map +1 -0
  65. package/dist/bot/broker/transport.d.ts +27 -0
  66. package/dist/bot/broker/transport.d.ts.map +1 -0
  67. package/dist/bot/broker/transport.js +265 -0
  68. package/dist/bot/broker/transport.js.map +1 -0
  69. package/dist/bot/browser-process-owner.d.ts +75 -0
  70. package/dist/bot/browser-process-owner.d.ts.map +1 -0
  71. package/dist/bot/browser-process-owner.js +939 -0
  72. package/dist/bot/browser-process-owner.js.map +1 -0
  73. package/dist/bot/browser-process-runtime.d.ts +168 -0
  74. package/dist/bot/browser-process-runtime.d.ts.map +1 -0
  75. package/dist/bot/browser-process-runtime.js +940 -0
  76. package/dist/bot/browser-process-runtime.js.map +1 -0
  77. package/dist/bot/browser-use-capture.d.ts +15 -0
  78. package/dist/bot/browser-use-capture.d.ts.map +1 -0
  79. package/dist/bot/browser-use-capture.js +975 -0
  80. package/dist/bot/browser-use-capture.js.map +1 -0
  81. package/dist/bot/browser-use-paint-order.d.ts +12 -0
  82. package/dist/bot/browser-use-paint-order.d.ts.map +1 -0
  83. package/dist/bot/browser-use-paint-order.js +73 -0
  84. package/dist/bot/browser-use-paint-order.js.map +1 -0
  85. package/dist/bot/browser-use-serializer.d.ts +67 -0
  86. package/dist/bot/browser-use-serializer.d.ts.map +1 -0
  87. package/dist/bot/browser-use-serializer.js +1027 -0
  88. package/dist/bot/browser-use-serializer.js.map +1 -0
  89. package/dist/bot/browser.d.ts +158 -264
  90. package/dist/bot/browser.d.ts.map +1 -1
  91. package/dist/bot/browser.js +1681 -2830
  92. package/dist/bot/browser.js.map +1 -1
  93. package/dist/bot/compact-observation-v2.d.ts +54 -45
  94. package/dist/bot/compact-observation-v2.d.ts.map +1 -1
  95. package/dist/bot/compact-observation-v2.js +454 -165
  96. package/dist/bot/compact-observation-v2.js.map +1 -1
  97. package/dist/bot/credential-shape.d.ts.map +1 -1
  98. package/dist/bot/credential-shape.js +7 -0
  99. package/dist/bot/credential-shape.js.map +1 -1
  100. package/dist/bot/identity-runtime.d.ts +56 -0
  101. package/dist/bot/identity-runtime.d.ts.map +1 -0
  102. package/dist/bot/identity-runtime.js +141 -0
  103. package/dist/bot/identity-runtime.js.map +1 -0
  104. package/dist/bot/mutation-dispatch-evidence.d.ts +13 -0
  105. package/dist/bot/mutation-dispatch-evidence.d.ts.map +1 -0
  106. package/dist/bot/mutation-dispatch-evidence.js +19 -0
  107. package/dist/bot/mutation-dispatch-evidence.js.map +1 -0
  108. package/dist/bot/owned-pages.d.ts +16 -0
  109. package/dist/bot/owned-pages.d.ts.map +1 -0
  110. package/dist/bot/owned-pages.js +58 -0
  111. package/dist/bot/owned-pages.js.map +1 -0
  112. package/dist/bot/page-driver.d.ts +37 -0
  113. package/dist/bot/page-driver.d.ts.map +1 -0
  114. package/dist/bot/page-driver.js +303 -0
  115. package/dist/bot/page-driver.js.map +1 -0
  116. package/dist/bot/pay-operator.d.ts +1 -0
  117. package/dist/bot/pay-operator.d.ts.map +1 -1
  118. package/dist/bot/pay-operator.js +10 -0
  119. package/dist/bot/pay-operator.js.map +1 -1
  120. package/dist/bot/profile.d.ts +9 -0
  121. package/dist/bot/profile.d.ts.map +1 -1
  122. package/dist/bot/profile.js +16 -11
  123. package/dist/bot/profile.js.map +1 -1
  124. package/dist/bot/provision-session.d.ts +32 -7
  125. package/dist/bot/provision-session.d.ts.map +1 -1
  126. package/dist/bot/provision-session.js +1008 -471
  127. package/dist/bot/provision-session.js.map +1 -1
  128. package/dist/bot/session/lifecycle.d.ts +5 -2
  129. package/dist/bot/session/lifecycle.d.ts.map +1 -1
  130. package/dist/bot/session/lifecycle.js +303 -34
  131. package/dist/bot/session/lifecycle.js.map +1 -1
  132. package/dist/bot/session/multisession-flag.d.ts +2 -0
  133. package/dist/bot/session/multisession-flag.d.ts.map +1 -0
  134. package/dist/bot/session/multisession-flag.js +23 -0
  135. package/dist/bot/session/multisession-flag.js.map +1 -0
  136. package/dist/install/cli.d.ts.map +1 -1
  137. package/dist/install/cli.js +2 -1
  138. package/dist/install/cli.js.map +1 -1
  139. package/dist/server-instance-registry.d.ts +18 -6
  140. package/dist/server-instance-registry.d.ts.map +1 -1
  141. package/dist/server-instance-registry.js +49 -28
  142. package/dist/server-instance-registry.js.map +1 -1
  143. package/dist/server.d.ts +6 -3
  144. package/dist/server.d.ts.map +1 -1
  145. package/dist/server.js +122 -29
  146. package/dist/server.js.map +1 -1
  147. package/dist/tools/audit-log.d.ts.map +1 -1
  148. package/dist/tools/audit-log.js +1 -5
  149. package/dist/tools/audit-log.js.map +1 -1
  150. package/dist/tools/audit-rollup.d.ts +2 -5
  151. package/dist/tools/audit-rollup.d.ts.map +1 -1
  152. package/dist/tools/audit-rollup.js +0 -0
  153. package/dist/tools/audit-rollup.js.map +1 -1
  154. package/dist/tools/credential-mutations.d.ts +16 -16
  155. package/dist/tools/index.js +2 -2
  156. package/dist/tools/index.js.map +1 -1
  157. package/dist/tools/operate-pay.d.ts +18 -18
  158. package/dist/tools/provision-drive.d.ts +263 -555
  159. package/dist/tools/provision-drive.d.ts.map +1 -1
  160. package/dist/tools/provision-drive.js +404 -1139
  161. package/dist/tools/provision-drive.js.map +1 -1
  162. package/dist/tools/use-credential.d.ts +6 -6
  163. package/package.json +1 -1
@@ -7,16 +7,19 @@ export declare function resolveRecipeForTask(verb: OperatorVerb, serviceUrl: str
7
7
  export declare function resolveCheckoutLegRecipe(verb: OperatorVerb, signature: string): Promise<OperatorRecipe | null>;
8
8
  declare const startSchema: z.ZodObject<{
9
9
  service_url: z.ZodString;
10
+ format: z.ZodOptional<z.ZodEnum<["compact", "full"]>>;
10
11
  proxy: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
11
12
  allowed_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12
13
  extra_allowed_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
14
  }, "strip", z.ZodTypeAny, {
14
15
  service_url: string;
16
+ format?: "full" | "compact" | undefined;
15
17
  proxy?: string | undefined;
16
18
  allowed_hosts?: string[] | undefined;
17
19
  extra_allowed_hosts?: string[] | undefined;
18
20
  }, {
19
21
  service_url: string;
22
+ format?: "full" | "compact" | undefined;
20
23
  proxy?: string | undefined;
21
24
  allowed_hosts?: string[] | undefined;
22
25
  extra_allowed_hosts?: string[] | undefined;
@@ -24,13 +27,22 @@ declare const startSchema: z.ZodObject<{
24
27
  export declare const provisionStartTool: Tool<z.infer<typeof startSchema>>;
25
28
  declare const observeSchema: z.ZodObject<{
26
29
  session_id: z.ZodString;
27
- detail: z.ZodOptional<z.ZodEnum<["compact", "full"]>>;
30
+ query: z.ZodOptional<z.ZodString>;
31
+ cursor: z.ZodOptional<z.ZodString>;
32
+ role: z.ZodOptional<z.ZodEnum<["button", "link", "textbox", "select", "checkbox", "radio", "tab", "menuitem", "file"]>>;
33
+ format: z.ZodOptional<z.ZodEnum<["compact", "full"]>>;
28
34
  }, "strip", z.ZodTypeAny, {
29
35
  session_id: string;
30
- detail?: "full" | "compact" | undefined;
36
+ role?: "link" | "select" | "button" | "menuitem" | "radio" | "checkbox" | "tab" | "textbox" | "file" | undefined;
37
+ format?: "full" | "compact" | undefined;
38
+ query?: string | undefined;
39
+ cursor?: string | undefined;
31
40
  }, {
32
41
  session_id: string;
33
- detail?: "full" | "compact" | undefined;
42
+ role?: "link" | "select" | "button" | "menuitem" | "radio" | "checkbox" | "tab" | "textbox" | "file" | undefined;
43
+ format?: "full" | "compact" | undefined;
44
+ query?: string | undefined;
45
+ cursor?: string | undefined;
34
46
  }>;
35
47
  export declare const provisionObserveTool: Tool<z.infer<typeof observeSchema>>;
36
48
  declare const screenshotSchema: z.ZodObject<{
@@ -50,282 +62,6 @@ declare const screenshotSchema: z.ZodObject<{
50
62
  full_page?: boolean | undefined;
51
63
  }>;
52
64
  export declare const provisionScreenshotTool: Tool<z.infer<typeof screenshotSchema>>;
53
- declare const observeQuerySchema: z.ZodObject<{
54
- session_id: z.ZodString;
55
- query: z.ZodDefault<z.ZodString>;
56
- role: z.ZodOptional<z.ZodEnum<["button", "link", "textbox", "select", "checkbox", "radio", "tab", "menuitem", "file"]>>;
57
- cursor: z.ZodOptional<z.ZodString>;
58
- }, "strip", z.ZodTypeAny, {
59
- query: string;
60
- session_id: string;
61
- cursor?: string | undefined;
62
- role?: "link" | "button" | "select" | "menuitem" | "file" | "radio" | "checkbox" | "tab" | "textbox" | undefined;
63
- }, {
64
- session_id: string;
65
- cursor?: string | undefined;
66
- query?: string | undefined;
67
- role?: "link" | "button" | "select" | "menuitem" | "file" | "radio" | "checkbox" | "tab" | "textbox" | undefined;
68
- }>;
69
- export declare const provisionObserveQueryTool: Tool<z.infer<typeof observeQuerySchema>>;
70
- declare const actSchema: z.ZodEffects<z.ZodObject<{
71
- session_id: z.ZodString;
72
- kind: z.ZodEnum<["click", "js_click", "type", "select", "set_phone_country", "goto", "press", "oauth_login", "oauth_click", "oauth_settle", "allow_host", "type_secret", "scroll", "upload", "cart_add", "cart_clear", "select_many", "extract", "solve_captcha", "await_verification", "login_prepare_signup", "login_store_signup", "login_load_saved"]>;
73
- target: z.ZodOptional<z.ZodString>;
74
- text: z.ZodOptional<z.ZodString>;
75
- country: z.ZodOptional<z.ZodString>;
76
- path: z.ZodOptional<z.ZodString>;
77
- url: z.ZodOptional<z.ZodString>;
78
- key: z.ZodOptional<z.ZodString>;
79
- provider: z.ZodOptional<z.ZodEnum<["google", "github"]>>;
80
- host: z.ZodOptional<z.ZodString>;
81
- slot: z.ZodOptional<z.ZodString>;
82
- product_identity: z.ZodOptional<z.ZodString>;
83
- options_hash: z.ZodOptional<z.ZodString>;
84
- idempotency_key: z.ZodOptional<z.ZodString>;
85
- selections: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
86
- into_slot: z.ZodOptional<z.ZodString>;
87
- secret_label: z.ZodOptional<z.ZodString>;
88
- store: z.ZodOptional<z.ZodObject<{
89
- service: z.ZodString;
90
- label: z.ZodOptional<z.ZodString>;
91
- env_var_suggestion: z.ZodOptional<z.ZodString>;
92
- type: z.ZodOptional<z.ZodString>;
93
- egress_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
94
- auth_shape: z.ZodOptional<z.ZodString>;
95
- }, "strip", z.ZodTypeAny, {
96
- service: string;
97
- label?: string | undefined;
98
- type?: string | undefined;
99
- env_var_suggestion?: string | undefined;
100
- auth_shape?: string | undefined;
101
- egress_hosts?: string[] | undefined;
102
- }, {
103
- service: string;
104
- label?: string | undefined;
105
- type?: string | undefined;
106
- env_var_suggestion?: string | undefined;
107
- auth_shape?: string | undefined;
108
- egress_hosts?: string[] | undefined;
109
- }>>;
110
- sender: z.ZodOptional<z.ZodString>;
111
- grant_inbox_consent: z.ZodOptional<z.ZodBoolean>;
112
- login_slot: z.ZodOptional<z.ZodString>;
113
- password_slot: z.ZodOptional<z.ZodString>;
114
- password_length: z.ZodOptional<z.ZodNumber>;
115
- service: z.ZodOptional<z.ZodString>;
116
- label: z.ZodOptional<z.ZodString>;
117
- signin_url: z.ZodOptional<z.ZodString>;
118
- login_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
119
- reference: z.ZodOptional<z.ZodString>;
120
- fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
121
- slot_prefix: z.ZodOptional<z.ZodString>;
122
- provenance: z.ZodOptional<z.ZodString>;
123
- replay_step_index: z.ZodOptional<z.ZodNumber>;
124
- replay_hole: z.ZodOptional<z.ZodString>;
125
- direction: z.ZodOptional<z.ZodEnum<["down", "up", "bottom", "top"]>>;
126
- detail: z.ZodOptional<z.ZodEnum<["none", "compact", "full"]>>;
127
- }, "strip", z.ZodTypeAny, {
128
- kind: "type" | "goto" | "click" | "extract" | "js_click" | "select" | "scroll" | "press" | "oauth_click" | "oauth_settle" | "allow_host" | "type_secret" | "set_phone_country" | "oauth_login" | "upload" | "select_many" | "await_verification" | "cart_add" | "cart_clear" | "solve_captcha" | "login_prepare_signup" | "login_store_signup" | "login_load_saved";
129
- session_id: string;
130
- label?: string | undefined;
131
- reference?: string | undefined;
132
- country?: string | undefined;
133
- host?: string | undefined;
134
- key?: string | undefined;
135
- slot?: string | undefined;
136
- path?: string | undefined;
137
- text?: string | undefined;
138
- url?: string | undefined;
139
- fields?: string[] | undefined;
140
- provider?: "github" | "google" | undefined;
141
- detail?: "none" | "full" | "compact" | undefined;
142
- target?: string | undefined;
143
- service?: string | undefined;
144
- provenance?: string | undefined;
145
- direction?: "top" | "bottom" | "down" | "up" | undefined;
146
- sender?: string | undefined;
147
- signin_url?: string | undefined;
148
- login_hosts?: string[] | undefined;
149
- product_identity?: string | undefined;
150
- options_hash?: string | undefined;
151
- idempotency_key?: string | undefined;
152
- selections?: Record<string, string> | undefined;
153
- into_slot?: string | undefined;
154
- secret_label?: string | undefined;
155
- store?: {
156
- service: string;
157
- label?: string | undefined;
158
- type?: string | undefined;
159
- env_var_suggestion?: string | undefined;
160
- auth_shape?: string | undefined;
161
- egress_hosts?: string[] | undefined;
162
- } | undefined;
163
- grant_inbox_consent?: boolean | undefined;
164
- login_slot?: string | undefined;
165
- password_slot?: string | undefined;
166
- password_length?: number | undefined;
167
- slot_prefix?: string | undefined;
168
- replay_step_index?: number | undefined;
169
- replay_hole?: string | undefined;
170
- }, {
171
- kind: "type" | "goto" | "click" | "extract" | "js_click" | "select" | "scroll" | "press" | "oauth_click" | "oauth_settle" | "allow_host" | "type_secret" | "set_phone_country" | "oauth_login" | "upload" | "select_many" | "await_verification" | "cart_add" | "cart_clear" | "solve_captcha" | "login_prepare_signup" | "login_store_signup" | "login_load_saved";
172
- session_id: string;
173
- label?: string | undefined;
174
- reference?: string | undefined;
175
- country?: string | undefined;
176
- host?: string | undefined;
177
- key?: string | undefined;
178
- slot?: string | undefined;
179
- path?: string | undefined;
180
- text?: string | undefined;
181
- url?: string | undefined;
182
- fields?: string[] | undefined;
183
- provider?: "github" | "google" | undefined;
184
- detail?: "none" | "full" | "compact" | undefined;
185
- target?: string | undefined;
186
- service?: string | undefined;
187
- provenance?: string | undefined;
188
- direction?: "top" | "bottom" | "down" | "up" | undefined;
189
- sender?: string | undefined;
190
- signin_url?: string | undefined;
191
- login_hosts?: string[] | undefined;
192
- product_identity?: string | undefined;
193
- options_hash?: string | undefined;
194
- idempotency_key?: string | undefined;
195
- selections?: Record<string, string> | undefined;
196
- into_slot?: string | undefined;
197
- secret_label?: string | undefined;
198
- store?: {
199
- service: string;
200
- label?: string | undefined;
201
- type?: string | undefined;
202
- env_var_suggestion?: string | undefined;
203
- auth_shape?: string | undefined;
204
- egress_hosts?: string[] | undefined;
205
- } | undefined;
206
- grant_inbox_consent?: boolean | undefined;
207
- login_slot?: string | undefined;
208
- password_slot?: string | undefined;
209
- password_length?: number | undefined;
210
- slot_prefix?: string | undefined;
211
- replay_step_index?: number | undefined;
212
- replay_hole?: string | undefined;
213
- }>, {
214
- kind: "type" | "goto" | "click" | "extract" | "js_click" | "select" | "scroll" | "press" | "oauth_click" | "oauth_settle" | "allow_host" | "type_secret" | "set_phone_country" | "oauth_login" | "upload" | "select_many" | "await_verification" | "cart_add" | "cart_clear" | "solve_captcha" | "login_prepare_signup" | "login_store_signup" | "login_load_saved";
215
- session_id: string;
216
- label?: string | undefined;
217
- reference?: string | undefined;
218
- country?: string | undefined;
219
- host?: string | undefined;
220
- key?: string | undefined;
221
- slot?: string | undefined;
222
- path?: string | undefined;
223
- text?: string | undefined;
224
- url?: string | undefined;
225
- fields?: string[] | undefined;
226
- provider?: "github" | "google" | undefined;
227
- detail?: "none" | "full" | "compact" | undefined;
228
- target?: string | undefined;
229
- service?: string | undefined;
230
- provenance?: string | undefined;
231
- direction?: "top" | "bottom" | "down" | "up" | undefined;
232
- sender?: string | undefined;
233
- signin_url?: string | undefined;
234
- login_hosts?: string[] | undefined;
235
- product_identity?: string | undefined;
236
- options_hash?: string | undefined;
237
- idempotency_key?: string | undefined;
238
- selections?: Record<string, string> | undefined;
239
- into_slot?: string | undefined;
240
- secret_label?: string | undefined;
241
- store?: {
242
- service: string;
243
- label?: string | undefined;
244
- type?: string | undefined;
245
- env_var_suggestion?: string | undefined;
246
- auth_shape?: string | undefined;
247
- egress_hosts?: string[] | undefined;
248
- } | undefined;
249
- grant_inbox_consent?: boolean | undefined;
250
- login_slot?: string | undefined;
251
- password_slot?: string | undefined;
252
- password_length?: number | undefined;
253
- slot_prefix?: string | undefined;
254
- replay_step_index?: number | undefined;
255
- replay_hole?: string | undefined;
256
- }, {
257
- kind: "type" | "goto" | "click" | "extract" | "js_click" | "select" | "scroll" | "press" | "oauth_click" | "oauth_settle" | "allow_host" | "type_secret" | "set_phone_country" | "oauth_login" | "upload" | "select_many" | "await_verification" | "cart_add" | "cart_clear" | "solve_captcha" | "login_prepare_signup" | "login_store_signup" | "login_load_saved";
258
- session_id: string;
259
- label?: string | undefined;
260
- reference?: string | undefined;
261
- country?: string | undefined;
262
- host?: string | undefined;
263
- key?: string | undefined;
264
- slot?: string | undefined;
265
- path?: string | undefined;
266
- text?: string | undefined;
267
- url?: string | undefined;
268
- fields?: string[] | undefined;
269
- provider?: "github" | "google" | undefined;
270
- detail?: "none" | "full" | "compact" | undefined;
271
- target?: string | undefined;
272
- service?: string | undefined;
273
- provenance?: string | undefined;
274
- direction?: "top" | "bottom" | "down" | "up" | undefined;
275
- sender?: string | undefined;
276
- signin_url?: string | undefined;
277
- login_hosts?: string[] | undefined;
278
- product_identity?: string | undefined;
279
- options_hash?: string | undefined;
280
- idempotency_key?: string | undefined;
281
- selections?: Record<string, string> | undefined;
282
- into_slot?: string | undefined;
283
- secret_label?: string | undefined;
284
- store?: {
285
- service: string;
286
- label?: string | undefined;
287
- type?: string | undefined;
288
- env_var_suggestion?: string | undefined;
289
- auth_shape?: string | undefined;
290
- egress_hosts?: string[] | undefined;
291
- } | undefined;
292
- grant_inbox_consent?: boolean | undefined;
293
- login_slot?: string | undefined;
294
- password_slot?: string | undefined;
295
- password_length?: number | undefined;
296
- slot_prefix?: string | undefined;
297
- replay_step_index?: number | undefined;
298
- replay_hole?: string | undefined;
299
- }>;
300
- export declare const provisionActTool: Tool<z.infer<typeof actSchema>>;
301
- declare const cartAddSchema: z.ZodObject<{
302
- session_id: z.ZodString;
303
- product_identity: z.ZodString;
304
- options_hash: z.ZodString;
305
- idempotency_key: z.ZodString;
306
- }, "strip", z.ZodTypeAny, {
307
- session_id: string;
308
- product_identity: string;
309
- options_hash: string;
310
- idempotency_key: string;
311
- }, {
312
- session_id: string;
313
- product_identity: string;
314
- options_hash: string;
315
- idempotency_key: string;
316
- }>;
317
- export declare const operateCartAddTool: Tool<z.infer<typeof cartAddSchema>>;
318
- declare const formSelectManySchema: z.ZodObject<{
319
- session_id: z.ZodString;
320
- selections: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>;
321
- }, "strip", z.ZodTypeAny, {
322
- session_id: string;
323
- selections: Record<string, string>;
324
- }, {
325
- session_id: string;
326
- selections: Record<string, string>;
327
- }>;
328
- export declare const operateFormSelectManyTool: Tool<z.infer<typeof formSelectManySchema>>;
329
65
  declare const extractSchema: z.ZodObject<{
330
66
  session_id: z.ZodString;
331
67
  into_slot: z.ZodOptional<z.ZodString>;
@@ -378,31 +114,6 @@ declare const extractSchema: z.ZodObject<{
378
114
  } | undefined;
379
115
  }>;
380
116
  export declare const provisionExtractTool: Tool<z.infer<typeof extractSchema>>;
381
- declare const captchaSchema: z.ZodObject<{
382
- session_id: z.ZodString;
383
- }, "strip", z.ZodTypeAny, {
384
- session_id: string;
385
- }, {
386
- session_id: string;
387
- }>;
388
- export declare const provisionCaptchaGateTool: Tool<z.infer<typeof captchaSchema>>;
389
- declare const verifySchema: z.ZodObject<{
390
- session_id: z.ZodString;
391
- sender: z.ZodOptional<z.ZodString>;
392
- into_slot: z.ZodOptional<z.ZodString>;
393
- grant_inbox_consent: z.ZodOptional<z.ZodBoolean>;
394
- }, "strip", z.ZodTypeAny, {
395
- session_id: string;
396
- sender?: string | undefined;
397
- into_slot?: string | undefined;
398
- grant_inbox_consent?: boolean | undefined;
399
- }, {
400
- session_id: string;
401
- sender?: string | undefined;
402
- into_slot?: string | undefined;
403
- grant_inbox_consent?: boolean | undefined;
404
- }>;
405
- export declare const provisionAwaitVerificationTool: Tool<z.infer<typeof verifySchema>>;
406
117
  export interface StoredCredentialMetadata {
407
118
  reference: string;
408
119
  service: string;
@@ -425,184 +136,6 @@ export declare function storedExtractResult(extracted: ExtractResult, stored: St
425
136
  url: string;
426
137
  candidate_count: number;
427
138
  };
428
- declare const finishTaskSchema: z.ZodObject<{
429
- session_id: z.ZodString;
430
- kind: z.ZodEnum<["credentials", "result"]>;
431
- store: z.ZodOptional<z.ZodObject<{
432
- service: z.ZodString;
433
- label: z.ZodOptional<z.ZodString>;
434
- env_var_suggestion: z.ZodOptional<z.ZodString>;
435
- type: z.ZodOptional<z.ZodString>;
436
- egress_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
437
- auth_shape: z.ZodOptional<z.ZodString>;
438
- }, "strip", z.ZodTypeAny, {
439
- service: string;
440
- label?: string | undefined;
441
- type?: string | undefined;
442
- env_var_suggestion?: string | undefined;
443
- auth_shape?: string | undefined;
444
- egress_hosts?: string[] | undefined;
445
- }, {
446
- service: string;
447
- label?: string | undefined;
448
- type?: string | undefined;
449
- env_var_suggestion?: string | undefined;
450
- auth_shape?: string | undefined;
451
- egress_hosts?: string[] | undefined;
452
- }>>;
453
- summary: z.ZodOptional<z.ZodString>;
454
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, string, string | number | boolean>>>;
455
- verify_recipe: z.ZodOptional<z.ZodString>;
456
- }, "strip", z.ZodTypeAny, {
457
- kind: "credentials" | "result";
458
- session_id: string;
459
- data?: Record<string, string> | undefined;
460
- summary?: string | undefined;
461
- store?: {
462
- service: string;
463
- label?: string | undefined;
464
- type?: string | undefined;
465
- env_var_suggestion?: string | undefined;
466
- auth_shape?: string | undefined;
467
- egress_hosts?: string[] | undefined;
468
- } | undefined;
469
- verify_recipe?: string | undefined;
470
- }, {
471
- kind: "credentials" | "result";
472
- session_id: string;
473
- data?: Record<string, string | number | boolean> | undefined;
474
- summary?: string | undefined;
475
- store?: {
476
- service: string;
477
- label?: string | undefined;
478
- type?: string | undefined;
479
- env_var_suggestion?: string | undefined;
480
- auth_shape?: string | undefined;
481
- egress_hosts?: string[] | undefined;
482
- } | undefined;
483
- verify_recipe?: string | undefined;
484
- }>;
485
- export declare const provisionFinishTaskTool: Tool<z.infer<typeof finishTaskSchema>>;
486
- declare const finishSchema: z.ZodObject<{
487
- session_id: z.ZodString;
488
- outcome: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
489
- kind: z.ZodLiteral<"none">;
490
- }, "strip", z.ZodTypeAny, {
491
- kind: "none";
492
- }, {
493
- kind: "none";
494
- }>, z.ZodObject<{
495
- kind: z.ZodLiteral<"credentials">;
496
- store: z.ZodObject<{
497
- service: z.ZodString;
498
- label: z.ZodOptional<z.ZodString>;
499
- env_var_suggestion: z.ZodOptional<z.ZodString>;
500
- type: z.ZodOptional<z.ZodString>;
501
- egress_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
502
- auth_shape: z.ZodOptional<z.ZodString>;
503
- }, "strip", z.ZodTypeAny, {
504
- service: string;
505
- label?: string | undefined;
506
- type?: string | undefined;
507
- env_var_suggestion?: string | undefined;
508
- auth_shape?: string | undefined;
509
- egress_hosts?: string[] | undefined;
510
- }, {
511
- service: string;
512
- label?: string | undefined;
513
- type?: string | undefined;
514
- env_var_suggestion?: string | undefined;
515
- auth_shape?: string | undefined;
516
- egress_hosts?: string[] | undefined;
517
- }>;
518
- }, "strip", z.ZodTypeAny, {
519
- kind: "credentials";
520
- store: {
521
- service: string;
522
- label?: string | undefined;
523
- type?: string | undefined;
524
- env_var_suggestion?: string | undefined;
525
- auth_shape?: string | undefined;
526
- egress_hosts?: string[] | undefined;
527
- };
528
- }, {
529
- kind: "credentials";
530
- store: {
531
- service: string;
532
- label?: string | undefined;
533
- type?: string | undefined;
534
- env_var_suggestion?: string | undefined;
535
- auth_shape?: string | undefined;
536
- egress_hosts?: string[] | undefined;
537
- };
538
- }>, z.ZodEffects<z.ZodObject<{
539
- kind: z.ZodLiteral<"result">;
540
- summary: z.ZodOptional<z.ZodString>;
541
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, string, string | number | boolean>>>;
542
- verify_recipe: z.ZodOptional<z.ZodString>;
543
- }, "strip", z.ZodTypeAny, {
544
- kind: "result";
545
- data?: Record<string, string> | undefined;
546
- summary?: string | undefined;
547
- verify_recipe?: string | undefined;
548
- }, {
549
- kind: "result";
550
- data?: Record<string, string | number | boolean> | undefined;
551
- summary?: string | undefined;
552
- verify_recipe?: string | undefined;
553
- }>, {
554
- kind: "result";
555
- data?: Record<string, string> | undefined;
556
- summary?: string | undefined;
557
- verify_recipe?: string | undefined;
558
- }, {
559
- kind: "result";
560
- data?: Record<string, string | number | boolean> | undefined;
561
- summary?: string | undefined;
562
- verify_recipe?: string | undefined;
563
- }>]>>;
564
- }, "strip", z.ZodTypeAny, {
565
- session_id: string;
566
- outcome?: {
567
- kind: "none";
568
- } | {
569
- kind: "credentials";
570
- store: {
571
- service: string;
572
- label?: string | undefined;
573
- type?: string | undefined;
574
- env_var_suggestion?: string | undefined;
575
- auth_shape?: string | undefined;
576
- egress_hosts?: string[] | undefined;
577
- };
578
- } | {
579
- kind: "result";
580
- data?: Record<string, string> | undefined;
581
- summary?: string | undefined;
582
- verify_recipe?: string | undefined;
583
- } | undefined;
584
- }, {
585
- session_id: string;
586
- outcome?: {
587
- kind: "none";
588
- } | {
589
- kind: "credentials";
590
- store: {
591
- service: string;
592
- label?: string | undefined;
593
- type?: string | undefined;
594
- env_var_suggestion?: string | undefined;
595
- auth_shape?: string | undefined;
596
- egress_hosts?: string[] | undefined;
597
- };
598
- } | {
599
- kind: "result";
600
- data?: Record<string, string | number | boolean> | undefined;
601
- summary?: string | undefined;
602
- verify_recipe?: string | undefined;
603
- } | undefined;
604
- }>;
605
- export declare const provisionFinishTool: Tool<z.infer<typeof finishSchema>>;
606
139
  declare const rememberSchema: z.ZodObject<{
607
140
  session_id: z.ZodString;
608
141
  name: z.ZodString;
@@ -727,7 +260,7 @@ declare const rememberSchema: z.ZodObject<{
727
260
  email_hole?: string | undefined;
728
261
  probe_url?: string | undefined;
729
262
  };
730
- verb: "checkout" | "purchase" | "download" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure";
263
+ verb: "download" | "checkout" | "purchase" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure";
731
264
  goal: string;
732
265
  inputs: {
733
266
  address?: Record<string, string> | undefined;
@@ -754,7 +287,7 @@ declare const rememberSchema: z.ZodObject<{
754
287
  email_hole?: string | undefined;
755
288
  probe_url?: string | undefined;
756
289
  };
757
- verb: "checkout" | "purchase" | "download" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure";
290
+ verb: "download" | "checkout" | "purchase" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure";
758
291
  goal: string;
759
292
  inputs: {
760
293
  address?: Record<string, string> | undefined;
@@ -765,7 +298,7 @@ declare const rememberSchema: z.ZodObject<{
765
298
  product_query?: string | undefined;
766
299
  };
767
300
  }>;
768
- export declare const provisionRememberTool: Tool<z.infer<typeof rememberSchema>>;
301
+ export declare const operateRecipeSaveTool: Tool<z.infer<typeof rememberSchema>>;
769
302
  declare const useSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
770
303
  name: z.ZodOptional<z.ZodString>;
771
304
  verb: z.ZodOptional<z.ZodEnum<["purchase", "get_api_key", "signup", "subscribe", "cancel", "login", "book", "reserve", "renew", "upgrade", "downgrade", "add_to_cart", "checkout", "download", "configure"]>>;
@@ -775,133 +308,88 @@ declare const useSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
775
308
  resume_from: z.ZodOptional<z.ZodNumber>;
776
309
  leg: z.ZodOptional<z.ZodEnum<["checkout"]>>;
777
310
  }, "strip", z.ZodTypeAny, {
778
- name?: string | undefined;
779
311
  params?: Record<string, string> | undefined;
312
+ name?: string | undefined;
780
313
  session_id?: string | undefined;
781
314
  service_url?: string | undefined;
782
- verb?: "checkout" | "purchase" | "download" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
315
+ verb?: "download" | "checkout" | "purchase" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
783
316
  leg?: "checkout" | undefined;
784
317
  resume_from?: number | undefined;
785
318
  }, {
786
- name?: string | undefined;
787
319
  params?: Record<string, string> | undefined;
320
+ name?: string | undefined;
788
321
  session_id?: string | undefined;
789
322
  service_url?: string | undefined;
790
- verb?: "checkout" | "purchase" | "download" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
323
+ verb?: "download" | "checkout" | "purchase" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
791
324
  leg?: "checkout" | undefined;
792
325
  resume_from?: number | undefined;
793
326
  }>, {
794
- name?: string | undefined;
795
327
  params?: Record<string, string> | undefined;
328
+ name?: string | undefined;
796
329
  session_id?: string | undefined;
797
330
  service_url?: string | undefined;
798
- verb?: "checkout" | "purchase" | "download" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
331
+ verb?: "download" | "checkout" | "purchase" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
799
332
  leg?: "checkout" | undefined;
800
333
  resume_from?: number | undefined;
801
334
  }, {
802
- name?: string | undefined;
803
335
  params?: Record<string, string> | undefined;
336
+ name?: string | undefined;
804
337
  session_id?: string | undefined;
805
338
  service_url?: string | undefined;
806
- verb?: "checkout" | "purchase" | "download" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
339
+ verb?: "download" | "checkout" | "purchase" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
807
340
  leg?: "checkout" | undefined;
808
341
  resume_from?: number | undefined;
809
342
  }>, {
810
- name?: string | undefined;
811
343
  params?: Record<string, string> | undefined;
344
+ name?: string | undefined;
812
345
  session_id?: string | undefined;
813
346
  service_url?: string | undefined;
814
- verb?: "checkout" | "purchase" | "download" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
347
+ verb?: "download" | "checkout" | "purchase" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
815
348
  leg?: "checkout" | undefined;
816
349
  resume_from?: number | undefined;
817
350
  }, {
818
- name?: string | undefined;
819
351
  params?: Record<string, string> | undefined;
352
+ name?: string | undefined;
820
353
  session_id?: string | undefined;
821
354
  service_url?: string | undefined;
822
- verb?: "checkout" | "purchase" | "download" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
355
+ verb?: "download" | "checkout" | "purchase" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
823
356
  leg?: "checkout" | undefined;
824
357
  resume_from?: number | undefined;
825
358
  }>, {
826
- name?: string | undefined;
827
359
  params?: Record<string, string> | undefined;
360
+ name?: string | undefined;
828
361
  session_id?: string | undefined;
829
362
  service_url?: string | undefined;
830
- verb?: "checkout" | "purchase" | "download" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
363
+ verb?: "download" | "checkout" | "purchase" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
831
364
  leg?: "checkout" | undefined;
832
365
  resume_from?: number | undefined;
833
366
  }, {
834
- name?: string | undefined;
835
367
  params?: Record<string, string> | undefined;
368
+ name?: string | undefined;
836
369
  session_id?: string | undefined;
837
370
  service_url?: string | undefined;
838
- verb?: "checkout" | "purchase" | "download" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
371
+ verb?: "download" | "checkout" | "purchase" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
839
372
  leg?: "checkout" | undefined;
840
373
  resume_from?: number | undefined;
841
374
  }>, {
842
- name?: string | undefined;
843
375
  params?: Record<string, string> | undefined;
376
+ name?: string | undefined;
844
377
  session_id?: string | undefined;
845
378
  service_url?: string | undefined;
846
- verb?: "checkout" | "purchase" | "download" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
379
+ verb?: "download" | "checkout" | "purchase" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
847
380
  leg?: "checkout" | undefined;
848
381
  resume_from?: number | undefined;
849
382
  }, {
850
- name?: string | undefined;
851
383
  params?: Record<string, string> | undefined;
384
+ name?: string | undefined;
852
385
  session_id?: string | undefined;
853
386
  service_url?: string | undefined;
854
- verb?: "checkout" | "purchase" | "download" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
387
+ verb?: "download" | "checkout" | "purchase" | "signup" | "login" | "add_to_cart" | "cancel" | "get_api_key" | "subscribe" | "book" | "reserve" | "renew" | "upgrade" | "downgrade" | "configure" | undefined;
855
388
  leg?: "checkout" | undefined;
856
389
  resume_from?: number | undefined;
857
390
  }>;
858
- export declare const provisionUseTool: Tool<z.infer<typeof useSchema>>;
859
- export declare const operateRecipeSaveTool: Tool<z.infer<typeof rememberSchema>>;
860
391
  export declare const operateRecipeRunTool: Tool<z.infer<typeof useSchema>>;
861
- declare const prepareLoginSchema: z.ZodObject<{
862
- session_id: z.ZodString;
863
- login_slot: z.ZodOptional<z.ZodString>;
864
- password_slot: z.ZodOptional<z.ZodString>;
865
- password_length: z.ZodOptional<z.ZodNumber>;
866
- }, "strip", z.ZodTypeAny, {
867
- session_id: string;
868
- login_slot?: string | undefined;
869
- password_slot?: string | undefined;
870
- password_length?: number | undefined;
871
- }, {
872
- session_id: string;
873
- login_slot?: string | undefined;
874
- password_slot?: string | undefined;
875
- password_length?: number | undefined;
876
- }>;
877
- export declare const provisionPrepareLoginTool: Tool<z.infer<typeof prepareLoginSchema>>;
878
392
  export declare function withSigninHost(loginHosts: readonly string[], signinUrl?: string): string[];
879
- declare const storeLoginSchema: z.ZodObject<{
880
- session_id: z.ZodString;
881
- service: z.ZodString;
882
- login_slot: z.ZodOptional<z.ZodString>;
883
- password_slot: z.ZodOptional<z.ZodString>;
884
- label: z.ZodOptional<z.ZodString>;
885
- signin_url: z.ZodOptional<z.ZodString>;
886
- login_hosts: z.ZodArray<z.ZodString, "many">;
887
- }, "strip", z.ZodTypeAny, {
888
- session_id: string;
889
- service: string;
890
- login_hosts: string[];
891
- label?: string | undefined;
892
- signin_url?: string | undefined;
893
- login_slot?: string | undefined;
894
- password_slot?: string | undefined;
895
- }, {
896
- session_id: string;
897
- service: string;
898
- login_hosts: string[];
899
- label?: string | undefined;
900
- signin_url?: string | undefined;
901
- login_slot?: string | undefined;
902
- password_slot?: string | undefined;
903
- }>;
904
- export declare const provisionStoreLoginTool: Tool<z.infer<typeof storeLoginSchema>>;
905
393
  declare const sealVaultCredentialSchema: z.ZodEffects<z.ZodObject<{
906
394
  session_id: z.ZodString;
907
395
  reference: z.ZodOptional<z.ZodString>;
@@ -909,8 +397,8 @@ declare const sealVaultCredentialSchema: z.ZodEffects<z.ZodObject<{
909
397
  fields: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
910
398
  slot_prefix: z.ZodDefault<z.ZodString>;
911
399
  }, "strip", z.ZodTypeAny, {
912
- fields: string[];
913
400
  session_id: string;
401
+ fields: string[];
914
402
  slot_prefix: string;
915
403
  reference?: string | undefined;
916
404
  service?: string | undefined;
@@ -921,8 +409,8 @@ declare const sealVaultCredentialSchema: z.ZodEffects<z.ZodObject<{
921
409
  service?: string | undefined;
922
410
  slot_prefix?: string | undefined;
923
411
  }>, {
924
- fields: string[];
925
412
  session_id: string;
413
+ fields: string[];
926
414
  slot_prefix: string;
927
415
  reference?: string | undefined;
928
416
  service?: string | undefined;
@@ -933,8 +421,23 @@ declare const sealVaultCredentialSchema: z.ZodEffects<z.ZodObject<{
933
421
  service?: string | undefined;
934
422
  slot_prefix?: string | undefined;
935
423
  }>;
936
- export declare const provisionSealVaultCredentialTool: Tool<z.infer<typeof sealVaultCredentialSchema>>;
424
+ export declare const operateFillCredentialTool: Tool<z.infer<typeof sealVaultCredentialSchema>>;
937
425
  declare const loginSchema: z.ZodUnion<[z.ZodObject<{
426
+ session_id: z.ZodString;
427
+ action: z.ZodOptional<z.ZodLiteral<"oauth">>;
428
+ provider: z.ZodEnum<["google", "github"]>;
429
+ ref: z.ZodString;
430
+ }, "strip", z.ZodTypeAny, {
431
+ ref: string;
432
+ provider: "google" | "github";
433
+ session_id: string;
434
+ action?: "oauth" | undefined;
435
+ }, {
436
+ ref: string;
437
+ provider: "google" | "github";
438
+ session_id: string;
439
+ action?: "oauth" | undefined;
440
+ }>, z.ZodObject<{
938
441
  session_id: z.ZodString;
939
442
  login_slot: z.ZodOptional<z.ZodString>;
940
443
  password_slot: z.ZodOptional<z.ZodString>;
@@ -991,8 +494,8 @@ declare const loginSchema: z.ZodUnion<[z.ZodObject<{
991
494
  action: z.ZodLiteral<"load_saved">;
992
495
  }, "strip", z.ZodTypeAny, {
993
496
  action: "load_saved";
994
- fields: string[];
995
497
  session_id: string;
498
+ fields: string[];
996
499
  slot_prefix: string;
997
500
  reference?: string | undefined;
998
501
  service?: string | undefined;
@@ -1005,8 +508,8 @@ declare const loginSchema: z.ZodUnion<[z.ZodObject<{
1005
508
  slot_prefix?: string | undefined;
1006
509
  }>, {
1007
510
  action: "load_saved";
1008
- fields: string[];
1009
511
  session_id: string;
512
+ fields: string[];
1010
513
  slot_prefix: string;
1011
514
  reference?: string | undefined;
1012
515
  service?: string | undefined;
@@ -1019,6 +522,211 @@ declare const loginSchema: z.ZodUnion<[z.ZodObject<{
1019
522
  slot_prefix?: string | undefined;
1020
523
  }>]>;
1021
524
  export declare const operateLoginTool: Tool<z.infer<typeof loginSchema>>;
525
+ declare const navigateSchema: z.ZodObject<{
526
+ url: z.ZodString;
527
+ session_id: z.ZodString;
528
+ }, "strip", z.ZodTypeAny, {
529
+ url: string;
530
+ session_id: string;
531
+ }, {
532
+ url: string;
533
+ session_id: string;
534
+ }>;
535
+ export declare const operateNavigateTool: Tool<z.infer<typeof navigateSchema>>;
536
+ declare const clickSchema: z.ZodObject<{
537
+ ref: z.ZodString;
538
+ session_id: z.ZodString;
539
+ }, "strip", z.ZodTypeAny, {
540
+ ref: string;
541
+ session_id: string;
542
+ }, {
543
+ ref: string;
544
+ session_id: string;
545
+ }>;
546
+ export declare const operateClickTool: Tool<z.infer<typeof clickSchema>>;
547
+ declare const typeSchema: z.ZodEffects<z.ZodObject<{
548
+ ref: z.ZodString;
549
+ text: z.ZodOptional<z.ZodString>;
550
+ slot: z.ZodOptional<z.ZodString>;
551
+ submit: z.ZodOptional<z.ZodBoolean>;
552
+ session_id: z.ZodString;
553
+ }, "strip", z.ZodTypeAny, {
554
+ ref: string;
555
+ session_id: string;
556
+ text?: string | undefined;
557
+ slot?: string | undefined;
558
+ submit?: boolean | undefined;
559
+ }, {
560
+ ref: string;
561
+ session_id: string;
562
+ text?: string | undefined;
563
+ slot?: string | undefined;
564
+ submit?: boolean | undefined;
565
+ }>, {
566
+ ref: string;
567
+ session_id: string;
568
+ text?: string | undefined;
569
+ slot?: string | undefined;
570
+ submit?: boolean | undefined;
571
+ }, {
572
+ ref: string;
573
+ session_id: string;
574
+ text?: string | undefined;
575
+ slot?: string | undefined;
576
+ submit?: boolean | undefined;
577
+ }>;
578
+ export declare const operateTypeTool: Tool<z.infer<typeof typeSchema>>;
579
+ declare const selectSchema: z.ZodEffects<z.ZodObject<{
580
+ ref: z.ZodOptional<z.ZodString>;
581
+ values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
582
+ selections: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
583
+ country: z.ZodOptional<z.ZodString>;
584
+ session_id: z.ZodString;
585
+ }, "strip", z.ZodTypeAny, {
586
+ session_id: string;
587
+ values?: string[] | undefined;
588
+ ref?: string | undefined;
589
+ country?: string | undefined;
590
+ selections?: Record<string, string> | undefined;
591
+ }, {
592
+ session_id: string;
593
+ values?: string[] | undefined;
594
+ ref?: string | undefined;
595
+ country?: string | undefined;
596
+ selections?: Record<string, string> | undefined;
597
+ }>, {
598
+ session_id: string;
599
+ values?: string[] | undefined;
600
+ ref?: string | undefined;
601
+ country?: string | undefined;
602
+ selections?: Record<string, string> | undefined;
603
+ }, {
604
+ session_id: string;
605
+ values?: string[] | undefined;
606
+ ref?: string | undefined;
607
+ country?: string | undefined;
608
+ selections?: Record<string, string> | undefined;
609
+ }>;
610
+ export declare const operateSelectTool: Tool<z.infer<typeof selectSchema>>;
611
+ declare const pressSchema: z.ZodObject<{
612
+ key: z.ZodString;
613
+ session_id: z.ZodString;
614
+ }, "strip", z.ZodTypeAny, {
615
+ key: string;
616
+ session_id: string;
617
+ }, {
618
+ key: string;
619
+ session_id: string;
620
+ }>;
621
+ export declare const operatePressTool: Tool<z.infer<typeof pressSchema>>;
622
+ declare const scrollSchema: z.ZodObject<{
623
+ direction: z.ZodDefault<z.ZodEnum<["down", "up", "bottom", "top"]>>;
624
+ session_id: z.ZodString;
625
+ }, "strip", z.ZodTypeAny, {
626
+ session_id: string;
627
+ direction: "top" | "bottom" | "down" | "up";
628
+ }, {
629
+ session_id: string;
630
+ direction?: "top" | "bottom" | "down" | "up" | undefined;
631
+ }>;
632
+ export declare const operateScrollTool: Tool<z.infer<typeof scrollSchema>>;
633
+ declare const allowHostSchema: z.ZodObject<{
634
+ host: z.ZodString;
635
+ session_id: z.ZodString;
636
+ }, "strip", z.ZodTypeAny, {
637
+ host: string;
638
+ session_id: string;
639
+ }, {
640
+ host: string;
641
+ session_id: string;
642
+ }>;
643
+ export declare const operateAllowHostTool: Tool<z.infer<typeof allowHostSchema>>;
644
+ declare const publicFinishSchema: z.ZodEffects<z.ZodObject<{
645
+ outcome: z.ZodDefault<z.ZodEnum<["none", "credentials", "result"]>>;
646
+ store: z.ZodOptional<z.ZodObject<{
647
+ service: z.ZodString;
648
+ label: z.ZodOptional<z.ZodString>;
649
+ env_var_suggestion: z.ZodOptional<z.ZodString>;
650
+ type: z.ZodOptional<z.ZodString>;
651
+ egress_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
652
+ auth_shape: z.ZodOptional<z.ZodString>;
653
+ }, "strip", z.ZodTypeAny, {
654
+ service: string;
655
+ label?: string | undefined;
656
+ type?: string | undefined;
657
+ env_var_suggestion?: string | undefined;
658
+ auth_shape?: string | undefined;
659
+ egress_hosts?: string[] | undefined;
660
+ }, {
661
+ service: string;
662
+ label?: string | undefined;
663
+ type?: string | undefined;
664
+ env_var_suggestion?: string | undefined;
665
+ auth_shape?: string | undefined;
666
+ egress_hosts?: string[] | undefined;
667
+ }>>;
668
+ summary: z.ZodOptional<z.ZodString>;
669
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, string, string | number | boolean>>>;
670
+ verify_recipe: z.ZodOptional<z.ZodString>;
671
+ session_id: z.ZodString;
672
+ }, "strip", z.ZodTypeAny, {
673
+ outcome: "none" | "credentials" | "result";
674
+ session_id: string;
675
+ data?: Record<string, string> | undefined;
676
+ summary?: string | undefined;
677
+ store?: {
678
+ service: string;
679
+ label?: string | undefined;
680
+ type?: string | undefined;
681
+ env_var_suggestion?: string | undefined;
682
+ auth_shape?: string | undefined;
683
+ egress_hosts?: string[] | undefined;
684
+ } | undefined;
685
+ verify_recipe?: string | undefined;
686
+ }, {
687
+ session_id: string;
688
+ data?: Record<string, string | number | boolean> | undefined;
689
+ outcome?: "none" | "credentials" | "result" | undefined;
690
+ summary?: string | undefined;
691
+ store?: {
692
+ service: string;
693
+ label?: string | undefined;
694
+ type?: string | undefined;
695
+ env_var_suggestion?: string | undefined;
696
+ auth_shape?: string | undefined;
697
+ egress_hosts?: string[] | undefined;
698
+ } | undefined;
699
+ verify_recipe?: string | undefined;
700
+ }>, {
701
+ outcome: "none" | "credentials" | "result";
702
+ session_id: string;
703
+ data?: Record<string, string> | undefined;
704
+ summary?: string | undefined;
705
+ store?: {
706
+ service: string;
707
+ label?: string | undefined;
708
+ type?: string | undefined;
709
+ env_var_suggestion?: string | undefined;
710
+ auth_shape?: string | undefined;
711
+ egress_hosts?: string[] | undefined;
712
+ } | undefined;
713
+ verify_recipe?: string | undefined;
714
+ }, {
715
+ session_id: string;
716
+ data?: Record<string, string | number | boolean> | undefined;
717
+ outcome?: "none" | "credentials" | "result" | undefined;
718
+ summary?: string | undefined;
719
+ store?: {
720
+ service: string;
721
+ label?: string | undefined;
722
+ type?: string | undefined;
723
+ env_var_suggestion?: string | undefined;
724
+ auth_shape?: string | undefined;
725
+ egress_hosts?: string[] | undefined;
726
+ } | undefined;
727
+ verify_recipe?: string | undefined;
728
+ }>;
729
+ export declare const operateFinishTool: Tool<z.infer<typeof publicFinishSchema>>;
1022
730
  export declare const OPERATE_TOOLS: Tool[];
1023
731
  export {};
1024
732
  //# sourceMappingURL=provision-drive.d.ts.map