@trusty-squire/mcp 1.1.35 → 1.1.36

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 (46) hide show
  1. package/dist/api-client.d.ts +19 -0
  2. package/dist/api-client.d.ts.map +1 -1
  3. package/dist/api-client.js +10 -0
  4. package/dist/api-client.js.map +1 -1
  5. package/dist/server.d.ts +1 -1
  6. package/dist/server.d.ts.map +1 -1
  7. package/dist/server.js +3 -28
  8. package/dist/server.js.map +1 -1
  9. package/dist/tools/audit-log.d.ts.map +1 -1
  10. package/dist/tools/audit-log.js +66 -30
  11. package/dist/tools/audit-log.js.map +1 -1
  12. package/dist/tools/audit-rollup.d.ts +16 -1
  13. package/dist/tools/audit-rollup.d.ts.map +1 -1
  14. package/dist/tools/audit-rollup.js +66 -12
  15. package/dist/tools/audit-rollup.js.map +1 -1
  16. package/dist/tools/card-mutations.d.ts +10 -18
  17. package/dist/tools/card-mutations.d.ts.map +1 -1
  18. package/dist/tools/card-mutations.js +5 -4
  19. package/dist/tools/card-mutations.js.map +1 -1
  20. package/dist/tools/credential-mutations.d.ts +20 -140
  21. package/dist/tools/credential-mutations.d.ts.map +1 -1
  22. package/dist/tools/credential-mutations.js +8 -7
  23. package/dist/tools/credential-mutations.js.map +1 -1
  24. package/dist/tools/fetch-credential.d.ts +10 -30
  25. package/dist/tools/fetch-credential.d.ts.map +1 -1
  26. package/dist/tools/fetch-credential.js +5 -4
  27. package/dist/tools/fetch-credential.js.map +1 -1
  28. package/dist/tools/flat-variants.d.ts +17 -0
  29. package/dist/tools/flat-variants.d.ts.map +1 -0
  30. package/dist/tools/flat-variants.js +70 -0
  31. package/dist/tools/flat-variants.js.map +1 -0
  32. package/dist/tools/list-credentials.d.ts.map +1 -1
  33. package/dist/tools/list-credentials.js +7 -6
  34. package/dist/tools/list-credentials.js.map +1 -1
  35. package/dist/tools/provision-drive-schema.d.ts.map +1 -1
  36. package/dist/tools/provision-drive-schema.js +31 -65
  37. package/dist/tools/provision-drive-schema.js.map +1 -1
  38. package/dist/tools/provision-drive.d.ts +90 -186
  39. package/dist/tools/provision-drive.d.ts.map +1 -1
  40. package/dist/tools/provision-drive.js +31 -70
  41. package/dist/tools/provision-drive.js.map +1 -1
  42. package/dist/tools/store-credential.d.ts +17 -10
  43. package/dist/tools/store-credential.d.ts.map +1 -1
  44. package/dist/tools/store-credential.js +4 -13
  45. package/dist/tools/store-credential.js.map +1 -1
  46. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  import type { Tool } from "./index.js";
3
3
  import { type ExtractResult } from "../bot/provision-session.js";
4
- declare const startSchema: z.ZodObject<{
4
+ declare const startSchema: z.ZodEffects<z.ZodObject<{
5
5
  service_url: z.ZodString;
6
6
  format: z.ZodOptional<z.ZodEnum<["compact", "full"]>>;
7
7
  proxy: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
@@ -13,7 +13,11 @@ declare const startSchema: z.ZodObject<{
13
13
  service_url: string;
14
14
  format?: "compact" | "full" | undefined;
15
15
  proxy?: string | undefined;
16
- }>;
16
+ }>, {
17
+ service_url: string;
18
+ format?: "compact" | "full" | undefined;
19
+ proxy?: string | undefined;
20
+ }, unknown>;
17
21
  export declare const provisionStartTool: Tool<z.infer<typeof startSchema>>;
18
22
  declare const observeSchema: z.ZodObject<{
19
23
  session_id: z.ZodString;
@@ -74,13 +78,12 @@ declare const networkSchema: z.ZodObject<{
74
78
  export declare const provisionNetworkTool: Tool<z.infer<typeof networkSchema>>;
75
79
  declare const extractSchema: z.ZodObject<{
76
80
  capture: z.ZodOptional<z.ZodObject<{
77
- store: z.ZodObject<{
81
+ store: z.ZodEffects<z.ZodObject<{
78
82
  service: z.ZodString;
79
83
  label: z.ZodOptional<z.ZodString>;
80
84
  env_var_suggestion: z.ZodOptional<z.ZodString>;
81
85
  type: z.ZodOptional<z.ZodString>;
82
86
  api_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
83
- egress_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
84
87
  auth_shape: z.ZodOptional<z.ZodString>;
85
88
  }, "strip", z.ZodTypeAny, {
86
89
  service: string;
@@ -89,7 +92,6 @@ declare const extractSchema: z.ZodObject<{
89
92
  env_var_suggestion?: string | undefined;
90
93
  api_hosts?: string[] | undefined;
91
94
  auth_shape?: string | undefined;
92
- egress_hosts?: string[] | undefined;
93
95
  }, {
94
96
  service: string;
95
97
  label?: string | undefined;
@@ -97,8 +99,14 @@ declare const extractSchema: z.ZodObject<{
97
99
  env_var_suggestion?: string | undefined;
98
100
  api_hosts?: string[] | undefined;
99
101
  auth_shape?: string | undefined;
100
- egress_hosts?: string[] | undefined;
101
- }>;
102
+ }>, {
103
+ service: string;
104
+ label?: string | undefined;
105
+ type?: string | undefined;
106
+ env_var_suggestion?: string | undefined;
107
+ api_hosts?: string[] | undefined;
108
+ auth_shape?: string | undefined;
109
+ }, unknown>;
102
110
  write_id: z.ZodOptional<z.ZodString>;
103
111
  } & {
104
112
  source: z.ZodUnion<[z.ZodObject<{
@@ -175,7 +183,6 @@ declare const extractSchema: z.ZodObject<{
175
183
  env_var_suggestion?: string | undefined;
176
184
  api_hosts?: string[] | undefined;
177
185
  auth_shape?: string | undefined;
178
- egress_hosts?: string[] | undefined;
179
186
  };
180
187
  write_id?: string | undefined;
181
188
  }, {
@@ -193,26 +200,17 @@ declare const extractSchema: z.ZodObject<{
193
200
  name?: string | undefined;
194
201
  } | undefined;
195
202
  };
196
- store: {
197
- service: string;
198
- label?: string | undefined;
199
- type?: string | undefined;
200
- env_var_suggestion?: string | undefined;
201
- api_hosts?: string[] | undefined;
202
- auth_shape?: string | undefined;
203
- egress_hosts?: string[] | undefined;
204
- };
205
203
  write_id?: string | undefined;
204
+ store?: unknown;
206
205
  }>>;
207
206
  session_id: z.ZodString;
208
207
  into_slot: z.ZodOptional<z.ZodString>;
209
- store: z.ZodOptional<z.ZodObject<{
208
+ store: z.ZodOptional<z.ZodEffects<z.ZodObject<{
210
209
  service: z.ZodString;
211
210
  label: z.ZodOptional<z.ZodString>;
212
211
  env_var_suggestion: z.ZodOptional<z.ZodString>;
213
212
  type: z.ZodOptional<z.ZodString>;
214
213
  api_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
215
- egress_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
216
214
  auth_shape: z.ZodOptional<z.ZodString>;
217
215
  }, "strip", z.ZodTypeAny, {
218
216
  service: string;
@@ -221,7 +219,6 @@ declare const extractSchema: z.ZodObject<{
221
219
  env_var_suggestion?: string | undefined;
222
220
  api_hosts?: string[] | undefined;
223
221
  auth_shape?: string | undefined;
224
- egress_hosts?: string[] | undefined;
225
222
  }, {
226
223
  service: string;
227
224
  label?: string | undefined;
@@ -229,8 +226,14 @@ declare const extractSchema: z.ZodObject<{
229
226
  env_var_suggestion?: string | undefined;
230
227
  api_hosts?: string[] | undefined;
231
228
  auth_shape?: string | undefined;
232
- egress_hosts?: string[] | undefined;
233
- }>>;
229
+ }>, {
230
+ service: string;
231
+ label?: string | undefined;
232
+ type?: string | undefined;
233
+ env_var_suggestion?: string | undefined;
234
+ api_hosts?: string[] | undefined;
235
+ auth_shape?: string | undefined;
236
+ }, unknown>>;
234
237
  }, "strip", z.ZodTypeAny, {
235
238
  session_id: string;
236
239
  capture?: {
@@ -255,7 +258,6 @@ declare const extractSchema: z.ZodObject<{
255
258
  env_var_suggestion?: string | undefined;
256
259
  api_hosts?: string[] | undefined;
257
260
  auth_shape?: string | undefined;
258
- egress_hosts?: string[] | undefined;
259
261
  };
260
262
  write_id?: string | undefined;
261
263
  } | undefined;
@@ -266,7 +268,6 @@ declare const extractSchema: z.ZodObject<{
266
268
  env_var_suggestion?: string | undefined;
267
269
  api_hosts?: string[] | undefined;
268
270
  auth_shape?: string | undefined;
269
- egress_hosts?: string[] | undefined;
270
271
  } | undefined;
271
272
  into_slot?: string | undefined;
272
273
  }, {
@@ -286,26 +287,10 @@ declare const extractSchema: z.ZodObject<{
286
287
  name?: string | undefined;
287
288
  } | undefined;
288
289
  };
289
- store: {
290
- service: string;
291
- label?: string | undefined;
292
- type?: string | undefined;
293
- env_var_suggestion?: string | undefined;
294
- api_hosts?: string[] | undefined;
295
- auth_shape?: string | undefined;
296
- egress_hosts?: string[] | undefined;
297
- };
298
290
  write_id?: string | undefined;
291
+ store?: unknown;
299
292
  } | undefined;
300
- store?: {
301
- service: string;
302
- label?: string | undefined;
303
- type?: string | undefined;
304
- env_var_suggestion?: string | undefined;
305
- api_hosts?: string[] | undefined;
306
- auth_shape?: string | undefined;
307
- egress_hosts?: string[] | undefined;
308
- } | undefined;
293
+ store?: unknown;
309
294
  into_slot?: string | undefined;
310
295
  }>;
311
296
  export declare const provisionExtractTool: Tool<z.infer<typeof extractSchema>>;
@@ -330,51 +315,19 @@ export declare function storedExtractResult(extracted: ExtractResult, stored: St
330
315
  stored_credential: StoredCredentialMetadata | null;
331
316
  };
332
317
  export declare function withSigninHost(loginHosts: readonly string[], signinUrl?: string): string[];
333
- declare const loginSchema: z.ZodUnion<[z.ZodObject<{
334
- session_id: z.ZodString;
335
- action: z.ZodOptional<z.ZodLiteral<"oauth">>;
336
- provider: z.ZodEnum<["google", "github"]>;
337
- ref: z.ZodString;
338
- }, "strip", z.ZodTypeAny, {
339
- ref: string;
340
- session_id: string;
341
- provider: "google" | "github";
342
- action?: "oauth" | undefined;
343
- }, {
344
- ref: string;
345
- session_id: string;
346
- provider: "google" | "github";
347
- action?: "oauth" | undefined;
348
- }>, z.ZodObject<{
349
- session_id: z.ZodString;
350
- login_slot: z.ZodOptional<z.ZodString>;
351
- password_slot: z.ZodOptional<z.ZodString>;
352
- password_length: z.ZodOptional<z.ZodNumber>;
353
- } & {
354
- action: z.ZodLiteral<"prepare_signup">;
355
- }, "strip", z.ZodTypeAny, {
356
- session_id: string;
357
- action: "prepare_signup";
358
- login_slot?: string | undefined;
359
- password_slot?: string | undefined;
360
- password_length?: number | undefined;
318
+ declare const loginSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<z.ZodRawShape, "strict", z.ZodTypeAny, {
319
+ [x: string]: any;
361
320
  }, {
321
+ [x: string]: any;
322
+ }> | z.ZodObject<z.ZodRawShape, "passthrough", z.ZodTypeAny, z.objectOutputType<z.ZodRawShape, z.ZodTypeAny, "passthrough">, z.objectInputType<z.ZodRawShape, z.ZodTypeAny, "passthrough">>, {
323
+ [x: string]: any;
324
+ } | z.objectOutputType<z.ZodRawShape, z.ZodTypeAny, "passthrough">, unknown>, ({
362
325
  session_id: string;
363
326
  action: "prepare_signup";
364
327
  login_slot?: string | undefined;
365
328
  password_slot?: string | undefined;
366
329
  password_length?: number | undefined;
367
- }>, z.ZodObject<{
368
- session_id: z.ZodString;
369
- service: z.ZodString;
370
- login_slot: z.ZodOptional<z.ZodString>;
371
- password_slot: z.ZodOptional<z.ZodString>;
372
- label: z.ZodOptional<z.ZodString>;
373
- signin_url: z.ZodOptional<z.ZodString>;
374
- login_hosts: z.ZodArray<z.ZodString, "many">;
375
- } & {
376
- action: z.ZodLiteral<"store_signup">;
377
- }, "strip", z.ZodTypeAny, {
330
+ } | {
378
331
  session_id: string;
379
332
  action: "store_signup";
380
333
  service: string;
@@ -383,52 +336,21 @@ declare const loginSchema: z.ZodUnion<[z.ZodObject<{
383
336
  signin_url?: string | undefined;
384
337
  login_slot?: string | undefined;
385
338
  password_slot?: string | undefined;
386
- }, {
387
- session_id: string;
388
- action: "store_signup";
389
- service: string;
390
- login_hosts: string[];
391
- label?: string | undefined;
392
- signin_url?: string | undefined;
393
- login_slot?: string | undefined;
394
- password_slot?: string | undefined;
395
- }>, z.ZodEffects<z.ZodObject<{
396
- session_id: z.ZodString;
397
- reference: z.ZodOptional<z.ZodString>;
398
- service: z.ZodOptional<z.ZodString>;
399
- fields: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
400
- slot_prefix: z.ZodDefault<z.ZodString>;
401
- } & {
402
- action: z.ZodLiteral<"load_saved">;
403
- }, "strip", z.ZodTypeAny, {
339
+ } | {
404
340
  session_id: string;
405
341
  action: "load_saved";
406
342
  fields: string[];
407
343
  slot_prefix: string;
408
344
  reference?: string | undefined;
409
345
  service?: string | undefined;
410
- }, {
411
- session_id: string;
412
- action: "load_saved";
413
- reference?: string | undefined;
414
- fields?: string[] | undefined;
415
- service?: string | undefined;
416
- slot_prefix?: string | undefined;
417
- }>, {
418
- session_id: string;
419
- action: "load_saved";
420
- fields: string[];
421
- slot_prefix: string;
422
- reference?: string | undefined;
423
- service?: string | undefined;
424
- }, {
346
+ } | {
347
+ ref: string;
425
348
  session_id: string;
426
- action: "load_saved";
427
- reference?: string | undefined;
428
- fields?: string[] | undefined;
429
- service?: string | undefined;
430
- slot_prefix?: string | undefined;
431
- }>]>;
349
+ provider: "google" | "github";
350
+ action: "oauth";
351
+ }) & {
352
+ action: "oauth" | "prepare_signup" | "store_signup" | "load_saved";
353
+ }, unknown>;
432
354
  export declare const operateLoginTool: Tool<z.infer<typeof loginSchema>>;
433
355
  declare const navigateSchema: z.ZodObject<{
434
356
  url: z.ZodString;
@@ -457,13 +379,12 @@ declare const clickSchema: z.ZodEffects<z.ZodObject<{
457
379
  screenshot_id: string;
458
380
  }>>;
459
381
  capture: z.ZodOptional<z.ZodObject<Omit<{
460
- store: z.ZodObject<{
382
+ store: z.ZodEffects<z.ZodObject<{
461
383
  service: z.ZodString;
462
384
  label: z.ZodOptional<z.ZodString>;
463
385
  env_var_suggestion: z.ZodOptional<z.ZodString>;
464
386
  type: z.ZodOptional<z.ZodString>;
465
387
  api_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
466
- egress_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
467
388
  auth_shape: z.ZodOptional<z.ZodString>;
468
389
  }, "strip", z.ZodTypeAny, {
469
390
  service: string;
@@ -472,7 +393,6 @@ declare const clickSchema: z.ZodEffects<z.ZodObject<{
472
393
  env_var_suggestion?: string | undefined;
473
394
  api_hosts?: string[] | undefined;
474
395
  auth_shape?: string | undefined;
475
- egress_hosts?: string[] | undefined;
476
396
  }, {
477
397
  service: string;
478
398
  label?: string | undefined;
@@ -480,8 +400,14 @@ declare const clickSchema: z.ZodEffects<z.ZodObject<{
480
400
  env_var_suggestion?: string | undefined;
481
401
  api_hosts?: string[] | undefined;
482
402
  auth_shape?: string | undefined;
483
- egress_hosts?: string[] | undefined;
484
- }>;
403
+ }>, {
404
+ service: string;
405
+ label?: string | undefined;
406
+ type?: string | undefined;
407
+ env_var_suggestion?: string | undefined;
408
+ api_hosts?: string[] | undefined;
409
+ auth_shape?: string | undefined;
410
+ }, unknown>;
485
411
  source: z.ZodUnion<[z.ZodObject<{
486
412
  role: z.ZodEnum<["textbox", "code"]>;
487
413
  name: z.ZodOptional<z.ZodString>;
@@ -565,7 +491,6 @@ declare const clickSchema: z.ZodEffects<z.ZodObject<{
565
491
  env_var_suggestion?: string | undefined;
566
492
  api_hosts?: string[] | undefined;
567
493
  auth_shape?: string | undefined;
568
- egress_hosts?: string[] | undefined;
569
494
  };
570
495
  }, {
571
496
  source: {
@@ -584,15 +509,7 @@ declare const clickSchema: z.ZodEffects<z.ZodObject<{
584
509
  } | {
585
510
  clipboard: true;
586
511
  };
587
- store: {
588
- service: string;
589
- label?: string | undefined;
590
- type?: string | undefined;
591
- env_var_suggestion?: string | undefined;
592
- api_hosts?: string[] | undefined;
593
- auth_shape?: string | undefined;
594
- egress_hosts?: string[] | undefined;
595
- };
512
+ store?: unknown;
596
513
  }>>;
597
514
  format: z.ZodOptional<z.ZodEnum<["compact", "full"]>>;
598
515
  session_id: z.ZodString;
@@ -629,7 +546,6 @@ declare const clickSchema: z.ZodEffects<z.ZodObject<{
629
546
  env_var_suggestion?: string | undefined;
630
547
  api_hosts?: string[] | undefined;
631
548
  auth_shape?: string | undefined;
632
- egress_hosts?: string[] | undefined;
633
549
  };
634
550
  } | undefined;
635
551
  }, {
@@ -658,15 +574,7 @@ declare const clickSchema: z.ZodEffects<z.ZodObject<{
658
574
  } | {
659
575
  clipboard: true;
660
576
  };
661
- store: {
662
- service: string;
663
- label?: string | undefined;
664
- type?: string | undefined;
665
- env_var_suggestion?: string | undefined;
666
- api_hosts?: string[] | undefined;
667
- auth_shape?: string | undefined;
668
- egress_hosts?: string[] | undefined;
669
- };
577
+ store?: unknown;
670
578
  } | undefined;
671
579
  }>, {
672
580
  session_id: string;
@@ -701,7 +609,6 @@ declare const clickSchema: z.ZodEffects<z.ZodObject<{
701
609
  env_var_suggestion?: string | undefined;
702
610
  api_hosts?: string[] | undefined;
703
611
  auth_shape?: string | undefined;
704
- egress_hosts?: string[] | undefined;
705
612
  };
706
613
  } | undefined;
707
614
  }, {
@@ -730,24 +637,15 @@ declare const clickSchema: z.ZodEffects<z.ZodObject<{
730
637
  } | {
731
638
  clipboard: true;
732
639
  };
733
- store: {
734
- service: string;
735
- label?: string | undefined;
736
- type?: string | undefined;
737
- env_var_suggestion?: string | undefined;
738
- api_hosts?: string[] | undefined;
739
- auth_shape?: string | undefined;
740
- egress_hosts?: string[] | undefined;
741
- };
640
+ store?: unknown;
742
641
  } | undefined;
743
642
  }>;
744
643
  export declare const operateClickTool: Tool<z.infer<typeof clickSchema>>;
745
- declare const typeSchema: z.ZodEffects<z.ZodObject<{
644
+ declare const typeSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
746
645
  ref: z.ZodString;
747
646
  text: z.ZodOptional<z.ZodString>;
748
647
  slot: z.ZodOptional<z.ZodString>;
749
648
  submit: z.ZodOptional<z.ZodBoolean>;
750
- capture: z.ZodOptional<z.ZodUnknown>;
751
649
  format: z.ZodOptional<z.ZodEnum<["compact", "full"]>>;
752
650
  session_id: z.ZodString;
753
651
  }, "strip", z.ZodTypeAny, {
@@ -757,7 +655,6 @@ declare const typeSchema: z.ZodEffects<z.ZodObject<{
757
655
  format?: "compact" | "full" | undefined;
758
656
  submit?: boolean | undefined;
759
657
  slot?: string | undefined;
760
- capture?: unknown;
761
658
  }, {
762
659
  ref: string;
763
660
  session_id: string;
@@ -765,7 +662,6 @@ declare const typeSchema: z.ZodEffects<z.ZodObject<{
765
662
  format?: "compact" | "full" | undefined;
766
663
  submit?: boolean | undefined;
767
664
  slot?: string | undefined;
768
- capture?: unknown;
769
665
  }>, {
770
666
  ref: string;
771
667
  session_id: string;
@@ -773,7 +669,6 @@ declare const typeSchema: z.ZodEffects<z.ZodObject<{
773
669
  format?: "compact" | "full" | undefined;
774
670
  submit?: boolean | undefined;
775
671
  slot?: string | undefined;
776
- capture?: unknown;
777
672
  }, {
778
673
  ref: string;
779
674
  session_id: string;
@@ -781,14 +676,19 @@ declare const typeSchema: z.ZodEffects<z.ZodObject<{
781
676
  format?: "compact" | "full" | undefined;
782
677
  submit?: boolean | undefined;
783
678
  slot?: string | undefined;
784
- capture?: unknown;
785
- }>;
679
+ }>, {
680
+ ref: string;
681
+ session_id: string;
682
+ text?: string | undefined;
683
+ format?: "compact" | "full" | undefined;
684
+ submit?: boolean | undefined;
685
+ slot?: string | undefined;
686
+ }, unknown>;
786
687
  export declare const operateTypeTool: Tool<z.infer<typeof typeSchema>>;
787
- declare const selectSchema: z.ZodEffects<z.ZodObject<{
688
+ declare const selectSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
788
689
  ref: z.ZodOptional<z.ZodString>;
789
690
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
790
691
  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>>>;
791
- capture: z.ZodOptional<z.ZodUnknown>;
792
692
  country: z.ZodOptional<z.ZodString>;
793
693
  format: z.ZodOptional<z.ZodEnum<["compact", "full"]>>;
794
694
  session_id: z.ZodString;
@@ -798,7 +698,6 @@ declare const selectSchema: z.ZodEffects<z.ZodObject<{
798
698
  ref?: string | undefined;
799
699
  format?: "compact" | "full" | undefined;
800
700
  country?: string | undefined;
801
- capture?: unknown;
802
701
  selections?: Record<string, string> | undefined;
803
702
  }, {
804
703
  session_id: string;
@@ -806,7 +705,6 @@ declare const selectSchema: z.ZodEffects<z.ZodObject<{
806
705
  ref?: string | undefined;
807
706
  format?: "compact" | "full" | undefined;
808
707
  country?: string | undefined;
809
- capture?: unknown;
810
708
  selections?: Record<string, string> | undefined;
811
709
  }>, {
812
710
  session_id: string;
@@ -814,7 +712,6 @@ declare const selectSchema: z.ZodEffects<z.ZodObject<{
814
712
  ref?: string | undefined;
815
713
  format?: "compact" | "full" | undefined;
816
714
  country?: string | undefined;
817
- capture?: unknown;
818
715
  selections?: Record<string, string> | undefined;
819
716
  }, {
820
717
  session_id: string;
@@ -822,9 +719,15 @@ declare const selectSchema: z.ZodEffects<z.ZodObject<{
822
719
  ref?: string | undefined;
823
720
  format?: "compact" | "full" | undefined;
824
721
  country?: string | undefined;
825
- capture?: unknown;
826
722
  selections?: Record<string, string> | undefined;
827
- }>;
723
+ }>, {
724
+ session_id: string;
725
+ values?: string[] | undefined;
726
+ ref?: string | undefined;
727
+ format?: "compact" | "full" | undefined;
728
+ country?: string | undefined;
729
+ selections?: Record<string, string> | undefined;
730
+ }, unknown>;
828
731
  export declare const operateSelectTool: Tool<z.infer<typeof selectSchema>>;
829
732
  declare const uploadSchema: z.ZodEffects<z.ZodObject<{
830
733
  target: z.ZodOptional<z.ZodString>;
@@ -906,22 +809,23 @@ declare const downloadSchema: z.ZodObject<{
906
809
  timeout_ms?: number | undefined;
907
810
  }>;
908
811
  export declare const operateDownloadTool: Tool<z.infer<typeof downloadSchema>>;
909
- declare const pressSchema: z.ZodObject<{
812
+ declare const pressSchema: z.ZodEffects<z.ZodObject<{
910
813
  key: z.ZodString;
911
- capture: z.ZodOptional<z.ZodUnknown>;
912
814
  format: z.ZodOptional<z.ZodEnum<["compact", "full"]>>;
913
815
  session_id: z.ZodString;
914
816
  }, "strip", z.ZodTypeAny, {
915
817
  session_id: string;
916
818
  key: string;
917
819
  format?: "compact" | "full" | undefined;
918
- capture?: unknown;
919
820
  }, {
920
821
  session_id: string;
921
822
  key: string;
922
823
  format?: "compact" | "full" | undefined;
923
- capture?: unknown;
924
- }>;
824
+ }>, {
825
+ session_id: string;
826
+ key: string;
827
+ format?: "compact" | "full" | undefined;
828
+ }, unknown>;
925
829
  export declare const operatePressTool: Tool<z.infer<typeof pressSchema>>;
926
830
  declare const solveCaptchaSchema: z.ZodObject<{
927
831
  session_id: z.ZodString;
@@ -985,37 +889,37 @@ declare const readInboxSchema: z.ZodObject<{
985
889
  grant_inbox_consent?: boolean | undefined;
986
890
  }>;
987
891
  export declare const operateReadInboxTool: Tool<z.infer<typeof readInboxSchema>>;
988
- declare const publicFinishSchema: z.ZodEffects<z.ZodObject<{
989
- outcome: z.ZodDefault<z.ZodEnum<["none", "credentials", "result"]>>;
990
- store: z.ZodOptional<z.ZodUnknown>;
892
+ declare const publicFinishSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
893
+ outcome: z.ZodDefault<z.ZodEnum<["none", "result"]>>;
991
894
  summary: z.ZodOptional<z.ZodString>;
992
895
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
993
896
  session_id: z.ZodString;
994
897
  }, "strip", z.ZodTypeAny, {
995
898
  session_id: string;
996
- outcome: "none" | "credentials" | "result";
899
+ outcome: "none" | "result";
997
900
  data?: Record<string, string | number | boolean> | undefined;
998
901
  summary?: string | undefined;
999
- store?: unknown;
1000
902
  }, {
1001
903
  session_id: string;
1002
904
  data?: Record<string, string | number | boolean> | undefined;
1003
905
  summary?: string | undefined;
1004
- outcome?: "none" | "credentials" | "result" | undefined;
1005
- store?: unknown;
906
+ outcome?: "none" | "result" | undefined;
1006
907
  }>, {
1007
908
  session_id: string;
1008
- outcome: "none" | "credentials" | "result";
909
+ outcome: "none" | "result";
1009
910
  data?: Record<string, string | number | boolean> | undefined;
1010
911
  summary?: string | undefined;
1011
- store?: unknown;
1012
912
  }, {
1013
913
  session_id: string;
1014
914
  data?: Record<string, string | number | boolean> | undefined;
1015
915
  summary?: string | undefined;
1016
- outcome?: "none" | "credentials" | "result" | undefined;
1017
- store?: unknown;
1018
- }>;
916
+ outcome?: "none" | "result" | undefined;
917
+ }>, {
918
+ session_id: string;
919
+ outcome: "none" | "result";
920
+ data?: Record<string, string | number | boolean> | undefined;
921
+ summary?: string | undefined;
922
+ }, unknown>;
1019
923
  export declare const operateFinishTool: Tool<z.infer<typeof publicFinishSchema>>;
1020
924
  declare const driveSchema: z.ZodEffects<z.ZodObject<{
1021
925
  session_id: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"provision-drive.d.ts","sourceRoot":"","sources":["../../src/tools/provision-drive.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,EAyBL,KAAK,aAAa,EACnB,MAAM,6BAA6B,CAAC;AAiGrC,QAAA,MAAM,WAAW;;;;;;;;;;;;EASf,CAAC;AAwBH,eAAO,MAAM,kBAAkB,EAAE,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CA8BhE,CAAC;AAEF,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;EAcjB,CAAC;AAEH,eAAO,MAAM,oBAAoB,EAAE,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAkBpE,CAAC;AAEF,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;EAcpB,CAAC;AAEH,eAAO,MAAM,uBAAuB,EAAE,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAoC1E,CAAC;AAEF,QAAA,MAAM,aAAa;;;;;;;;;;;;EAIjB,CAAC;AAEH,eAAO,MAAM,oBAAoB,EAAE,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,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