@ai-sdk/harness-cline 1.0.27 → 1.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import * as _ai_sdk_harness from '@ai-sdk/harness';
2
2
  import { HarnessV1Authentication, HarnessV1, HarnessV1BuiltinTool } from '@ai-sdk/harness';
3
+ import * as _ai_sdk_provider from '@ai-sdk/provider';
4
+ import * as _ai_sdk_provider_utils from '@ai-sdk/provider-utils';
3
5
 
4
6
  type ClineAuthenticationMode = HarnessV1Authentication;
5
7
 
@@ -51,6 +53,346 @@ type ClineHarnessSettings = {
51
53
  readonly maxIterations?: number;
52
54
  };
53
55
  declare const CLINE_BUILTIN_TOOLS: {
56
+ readonly askUserQuestions: {
57
+ readonly nativeName: "ask_question";
58
+ readonly toolUseKind: "readonly";
59
+ readonly title?: string;
60
+ readonly providerOptions?: _ai_sdk_provider_utils.ProviderOptions;
61
+ readonly metadata?: _ai_sdk_provider.JSONObject;
62
+ readonly inputSchema: _ai_sdk_provider_utils.FlexibleSchema<{
63
+ allowPartialAnswers: boolean;
64
+ questions: {
65
+ id: string;
66
+ question: string;
67
+ header?: string | undefined;
68
+ options?: {
69
+ id: string;
70
+ label: string;
71
+ description?: string | undefined;
72
+ preview?: string | undefined;
73
+ }[] | undefined;
74
+ allowMultiple?: boolean | undefined;
75
+ allowFreeForm?: boolean | {
76
+ secret: boolean;
77
+ } | undefined;
78
+ }[];
79
+ }>;
80
+ readonly contextSchema?: _ai_sdk_provider_utils.FlexibleSchema<any> | undefined;
81
+ readonly needsApproval?: boolean | _ai_sdk_provider_utils.ToolNeedsApprovalFunction<{
82
+ allowPartialAnswers: boolean;
83
+ questions: {
84
+ id: string;
85
+ question: string;
86
+ header?: string | undefined;
87
+ options?: {
88
+ id: string;
89
+ label: string;
90
+ description?: string | undefined;
91
+ preview?: string | undefined;
92
+ }[] | undefined;
93
+ allowMultiple?: boolean | undefined;
94
+ allowFreeForm?: boolean | {
95
+ secret: boolean;
96
+ } | undefined;
97
+ }[];
98
+ }, any> | undefined;
99
+ readonly onInputStart?: ((options: _ai_sdk_provider_utils.ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
100
+ readonly onInputDelta?: ((options: {
101
+ inputTextDelta: string;
102
+ } & _ai_sdk_provider_utils.ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
103
+ readonly onInputAvailable?: ((options: {
104
+ input: {
105
+ allowPartialAnswers: boolean;
106
+ questions: {
107
+ id: string;
108
+ question: string;
109
+ header?: string | undefined;
110
+ options?: {
111
+ id: string;
112
+ label: string;
113
+ description?: string | undefined;
114
+ preview?: string | undefined;
115
+ }[] | undefined;
116
+ allowMultiple?: boolean | undefined;
117
+ allowFreeForm?: boolean | {
118
+ secret: boolean;
119
+ } | undefined;
120
+ }[];
121
+ };
122
+ } & _ai_sdk_provider_utils.ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
123
+ readonly toModelOutput?: ((options: {
124
+ toolCallId: string;
125
+ input: {
126
+ allowPartialAnswers: boolean;
127
+ questions: {
128
+ id: string;
129
+ question: string;
130
+ header?: string | undefined;
131
+ options?: {
132
+ id: string;
133
+ label: string;
134
+ description?: string | undefined;
135
+ preview?: string | undefined;
136
+ }[] | undefined;
137
+ allowMultiple?: boolean | undefined;
138
+ allowFreeForm?: boolean | {
139
+ secret: boolean;
140
+ } | undefined;
141
+ }[];
142
+ };
143
+ output: NoInfer<{
144
+ action: "answered";
145
+ answers: Record<string, {
146
+ optionIds: string[];
147
+ freeform?: string | undefined;
148
+ }>;
149
+ } | {
150
+ action: "partially-answered";
151
+ answers: Record<string, {
152
+ optionIds: string[];
153
+ freeform?: string | undefined;
154
+ }>;
155
+ } | {
156
+ action: "declined";
157
+ } | {
158
+ action: "cancelled";
159
+ }>;
160
+ }) => _ai_sdk_provider_utils.ToolResultOutput | PromiseLike<_ai_sdk_provider_utils.ToolResultOutput>) | undefined;
161
+ readonly outputSchema?: _ai_sdk_provider_utils.FlexibleSchema<{
162
+ action: "answered";
163
+ answers: Record<string, {
164
+ optionIds: string[];
165
+ freeform?: string | undefined;
166
+ }>;
167
+ } | {
168
+ action: "partially-answered";
169
+ answers: Record<string, {
170
+ optionIds: string[];
171
+ freeform?: string | undefined;
172
+ }>;
173
+ } | {
174
+ action: "declined";
175
+ } | {
176
+ action: "cancelled";
177
+ }> | undefined;
178
+ readonly execute: _ai_sdk_provider_utils.ToolExecuteFunction<{
179
+ allowPartialAnswers: boolean;
180
+ questions: {
181
+ id: string;
182
+ question: string;
183
+ header?: string | undefined;
184
+ options?: {
185
+ id: string;
186
+ label: string;
187
+ description?: string | undefined;
188
+ preview?: string | undefined;
189
+ }[] | undefined;
190
+ allowMultiple?: boolean | undefined;
191
+ allowFreeForm?: boolean | {
192
+ secret: boolean;
193
+ } | undefined;
194
+ }[];
195
+ }, {
196
+ action: "answered";
197
+ answers: Record<string, {
198
+ optionIds: string[];
199
+ freeform?: string | undefined;
200
+ }>;
201
+ } | {
202
+ action: "partially-answered";
203
+ answers: Record<string, {
204
+ optionIds: string[];
205
+ freeform?: string | undefined;
206
+ }>;
207
+ } | {
208
+ action: "declined";
209
+ } | {
210
+ action: "cancelled";
211
+ }, any>;
212
+ readonly description?: string | ((options: {
213
+ context: any;
214
+ experimental_sandbox?: _ai_sdk_provider_utils.Experimental_SandboxSession;
215
+ }) => string) | undefined;
216
+ readonly strict?: boolean;
217
+ readonly inputExamples?: {
218
+ input: NoInfer<{
219
+ allowPartialAnswers: boolean;
220
+ questions: {
221
+ id: string;
222
+ question: string;
223
+ header?: string | undefined;
224
+ options?: {
225
+ id: string;
226
+ label: string;
227
+ description?: string | undefined;
228
+ preview?: string | undefined;
229
+ }[] | undefined;
230
+ allowMultiple?: boolean | undefined;
231
+ allowFreeForm?: boolean | {
232
+ secret: boolean;
233
+ } | undefined;
234
+ }[];
235
+ }>;
236
+ }[] | undefined;
237
+ readonly id?: never;
238
+ readonly isProviderExecuted?: never;
239
+ readonly args?: never;
240
+ readonly supportsDeferredResults?: never;
241
+ readonly type?: undefined | "function";
242
+ } | {
243
+ readonly nativeName: "ask_question";
244
+ readonly toolUseKind: "readonly";
245
+ readonly title?: string;
246
+ readonly providerOptions?: _ai_sdk_provider_utils.ProviderOptions;
247
+ readonly metadata?: _ai_sdk_provider.JSONObject;
248
+ readonly inputSchema: _ai_sdk_provider_utils.FlexibleSchema<{
249
+ allowPartialAnswers: boolean;
250
+ questions: {
251
+ id: string;
252
+ question: string;
253
+ header?: string | undefined;
254
+ options?: {
255
+ id: string;
256
+ label: string;
257
+ description?: string | undefined;
258
+ preview?: string | undefined;
259
+ }[] | undefined;
260
+ allowMultiple?: boolean | undefined;
261
+ allowFreeForm?: boolean | {
262
+ secret: boolean;
263
+ } | undefined;
264
+ }[];
265
+ }>;
266
+ readonly contextSchema?: _ai_sdk_provider_utils.FlexibleSchema<any> | undefined;
267
+ readonly needsApproval?: boolean | _ai_sdk_provider_utils.ToolNeedsApprovalFunction<{
268
+ allowPartialAnswers: boolean;
269
+ questions: {
270
+ id: string;
271
+ question: string;
272
+ header?: string | undefined;
273
+ options?: {
274
+ id: string;
275
+ label: string;
276
+ description?: string | undefined;
277
+ preview?: string | undefined;
278
+ }[] | undefined;
279
+ allowMultiple?: boolean | undefined;
280
+ allowFreeForm?: boolean | {
281
+ secret: boolean;
282
+ } | undefined;
283
+ }[];
284
+ }, any> | undefined;
285
+ readonly onInputStart?: ((options: _ai_sdk_provider_utils.ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
286
+ readonly onInputDelta?: ((options: {
287
+ inputTextDelta: string;
288
+ } & _ai_sdk_provider_utils.ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
289
+ readonly onInputAvailable?: ((options: {
290
+ input: {
291
+ allowPartialAnswers: boolean;
292
+ questions: {
293
+ id: string;
294
+ question: string;
295
+ header?: string | undefined;
296
+ options?: {
297
+ id: string;
298
+ label: string;
299
+ description?: string | undefined;
300
+ preview?: string | undefined;
301
+ }[] | undefined;
302
+ allowMultiple?: boolean | undefined;
303
+ allowFreeForm?: boolean | {
304
+ secret: boolean;
305
+ } | undefined;
306
+ }[];
307
+ };
308
+ } & _ai_sdk_provider_utils.ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
309
+ readonly toModelOutput?: ((options: {
310
+ toolCallId: string;
311
+ input: {
312
+ allowPartialAnswers: boolean;
313
+ questions: {
314
+ id: string;
315
+ question: string;
316
+ header?: string | undefined;
317
+ options?: {
318
+ id: string;
319
+ label: string;
320
+ description?: string | undefined;
321
+ preview?: string | undefined;
322
+ }[] | undefined;
323
+ allowMultiple?: boolean | undefined;
324
+ allowFreeForm?: boolean | {
325
+ secret: boolean;
326
+ } | undefined;
327
+ }[];
328
+ };
329
+ output: NoInfer<{
330
+ action: "answered";
331
+ answers: Record<string, {
332
+ optionIds: string[];
333
+ freeform?: string | undefined;
334
+ }>;
335
+ } | {
336
+ action: "partially-answered";
337
+ answers: Record<string, {
338
+ optionIds: string[];
339
+ freeform?: string | undefined;
340
+ }>;
341
+ } | {
342
+ action: "declined";
343
+ } | {
344
+ action: "cancelled";
345
+ }>;
346
+ }) => _ai_sdk_provider_utils.ToolResultOutput | PromiseLike<_ai_sdk_provider_utils.ToolResultOutput>) | undefined;
347
+ readonly outputSchema: _ai_sdk_provider_utils.FlexibleSchema<{
348
+ action: "answered";
349
+ answers: Record<string, {
350
+ optionIds: string[];
351
+ freeform?: string | undefined;
352
+ }>;
353
+ } | {
354
+ action: "partially-answered";
355
+ answers: Record<string, {
356
+ optionIds: string[];
357
+ freeform?: string | undefined;
358
+ }>;
359
+ } | {
360
+ action: "declined";
361
+ } | {
362
+ action: "cancelled";
363
+ }>;
364
+ readonly execute?: never;
365
+ readonly description?: string | ((options: {
366
+ context: any;
367
+ experimental_sandbox?: _ai_sdk_provider_utils.Experimental_SandboxSession;
368
+ }) => string) | undefined;
369
+ readonly strict?: boolean;
370
+ readonly inputExamples?: {
371
+ input: NoInfer<{
372
+ allowPartialAnswers: boolean;
373
+ questions: {
374
+ id: string;
375
+ question: string;
376
+ header?: string | undefined;
377
+ options?: {
378
+ id: string;
379
+ label: string;
380
+ description?: string | undefined;
381
+ preview?: string | undefined;
382
+ }[] | undefined;
383
+ allowMultiple?: boolean | undefined;
384
+ allowFreeForm?: boolean | {
385
+ secret: boolean;
386
+ } | undefined;
387
+ }[];
388
+ }>;
389
+ }[] | undefined;
390
+ readonly id?: never;
391
+ readonly isProviderExecuted?: never;
392
+ readonly args?: never;
393
+ readonly supportsDeferredResults?: never;
394
+ readonly type?: undefined | "function";
395
+ };
54
396
  readonly read: HarnessV1BuiltinTool<{
55
397
  file_path: string;
56
398
  }, unknown>;
@@ -94,6 +436,346 @@ declare const VERSION: string;
94
436
  * `createCline()`.
95
437
  */
96
438
  declare const cline: _ai_sdk_harness.HarnessV1<{
439
+ readonly askUserQuestions: {
440
+ readonly nativeName: "ask_question";
441
+ readonly toolUseKind: "readonly";
442
+ readonly title?: string;
443
+ readonly providerOptions?: _ai_sdk_provider_utils.ProviderOptions;
444
+ readonly metadata?: _ai_sdk_provider.JSONObject;
445
+ readonly inputSchema: _ai_sdk_provider_utils.FlexibleSchema<{
446
+ allowPartialAnswers: boolean;
447
+ questions: {
448
+ id: string;
449
+ question: string;
450
+ header?: string | undefined;
451
+ options?: {
452
+ id: string;
453
+ label: string;
454
+ description?: string | undefined;
455
+ preview?: string | undefined;
456
+ }[] | undefined;
457
+ allowMultiple?: boolean | undefined;
458
+ allowFreeForm?: boolean | {
459
+ secret: boolean;
460
+ } | undefined;
461
+ }[];
462
+ }>;
463
+ readonly contextSchema?: _ai_sdk_provider_utils.FlexibleSchema<any> | undefined;
464
+ readonly needsApproval?: boolean | _ai_sdk_provider_utils.ToolNeedsApprovalFunction<{
465
+ allowPartialAnswers: boolean;
466
+ questions: {
467
+ id: string;
468
+ question: string;
469
+ header?: string | undefined;
470
+ options?: {
471
+ id: string;
472
+ label: string;
473
+ description?: string | undefined;
474
+ preview?: string | undefined;
475
+ }[] | undefined;
476
+ allowMultiple?: boolean | undefined;
477
+ allowFreeForm?: boolean | {
478
+ secret: boolean;
479
+ } | undefined;
480
+ }[];
481
+ }, any> | undefined;
482
+ readonly onInputStart?: ((options: _ai_sdk_provider_utils.ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
483
+ readonly onInputDelta?: ((options: {
484
+ inputTextDelta: string;
485
+ } & _ai_sdk_provider_utils.ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
486
+ readonly onInputAvailable?: ((options: {
487
+ input: {
488
+ allowPartialAnswers: boolean;
489
+ questions: {
490
+ id: string;
491
+ question: string;
492
+ header?: string | undefined;
493
+ options?: {
494
+ id: string;
495
+ label: string;
496
+ description?: string | undefined;
497
+ preview?: string | undefined;
498
+ }[] | undefined;
499
+ allowMultiple?: boolean | undefined;
500
+ allowFreeForm?: boolean | {
501
+ secret: boolean;
502
+ } | undefined;
503
+ }[];
504
+ };
505
+ } & _ai_sdk_provider_utils.ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
506
+ readonly toModelOutput?: ((options: {
507
+ toolCallId: string;
508
+ input: {
509
+ allowPartialAnswers: boolean;
510
+ questions: {
511
+ id: string;
512
+ question: string;
513
+ header?: string | undefined;
514
+ options?: {
515
+ id: string;
516
+ label: string;
517
+ description?: string | undefined;
518
+ preview?: string | undefined;
519
+ }[] | undefined;
520
+ allowMultiple?: boolean | undefined;
521
+ allowFreeForm?: boolean | {
522
+ secret: boolean;
523
+ } | undefined;
524
+ }[];
525
+ };
526
+ output: NoInfer<{
527
+ action: "answered";
528
+ answers: Record<string, {
529
+ optionIds: string[];
530
+ freeform?: string | undefined;
531
+ }>;
532
+ } | {
533
+ action: "partially-answered";
534
+ answers: Record<string, {
535
+ optionIds: string[];
536
+ freeform?: string | undefined;
537
+ }>;
538
+ } | {
539
+ action: "declined";
540
+ } | {
541
+ action: "cancelled";
542
+ }>;
543
+ }) => _ai_sdk_provider_utils.ToolResultOutput | PromiseLike<_ai_sdk_provider_utils.ToolResultOutput>) | undefined;
544
+ readonly outputSchema?: _ai_sdk_provider_utils.FlexibleSchema<{
545
+ action: "answered";
546
+ answers: Record<string, {
547
+ optionIds: string[];
548
+ freeform?: string | undefined;
549
+ }>;
550
+ } | {
551
+ action: "partially-answered";
552
+ answers: Record<string, {
553
+ optionIds: string[];
554
+ freeform?: string | undefined;
555
+ }>;
556
+ } | {
557
+ action: "declined";
558
+ } | {
559
+ action: "cancelled";
560
+ }> | undefined;
561
+ readonly execute: _ai_sdk_provider_utils.ToolExecuteFunction<{
562
+ allowPartialAnswers: boolean;
563
+ questions: {
564
+ id: string;
565
+ question: string;
566
+ header?: string | undefined;
567
+ options?: {
568
+ id: string;
569
+ label: string;
570
+ description?: string | undefined;
571
+ preview?: string | undefined;
572
+ }[] | undefined;
573
+ allowMultiple?: boolean | undefined;
574
+ allowFreeForm?: boolean | {
575
+ secret: boolean;
576
+ } | undefined;
577
+ }[];
578
+ }, {
579
+ action: "answered";
580
+ answers: Record<string, {
581
+ optionIds: string[];
582
+ freeform?: string | undefined;
583
+ }>;
584
+ } | {
585
+ action: "partially-answered";
586
+ answers: Record<string, {
587
+ optionIds: string[];
588
+ freeform?: string | undefined;
589
+ }>;
590
+ } | {
591
+ action: "declined";
592
+ } | {
593
+ action: "cancelled";
594
+ }, any>;
595
+ readonly description?: string | ((options: {
596
+ context: any;
597
+ experimental_sandbox?: _ai_sdk_provider_utils.Experimental_SandboxSession;
598
+ }) => string) | undefined;
599
+ readonly strict?: boolean;
600
+ readonly inputExamples?: {
601
+ input: NoInfer<{
602
+ allowPartialAnswers: boolean;
603
+ questions: {
604
+ id: string;
605
+ question: string;
606
+ header?: string | undefined;
607
+ options?: {
608
+ id: string;
609
+ label: string;
610
+ description?: string | undefined;
611
+ preview?: string | undefined;
612
+ }[] | undefined;
613
+ allowMultiple?: boolean | undefined;
614
+ allowFreeForm?: boolean | {
615
+ secret: boolean;
616
+ } | undefined;
617
+ }[];
618
+ }>;
619
+ }[] | undefined;
620
+ readonly id?: never;
621
+ readonly isProviderExecuted?: never;
622
+ readonly args?: never;
623
+ readonly supportsDeferredResults?: never;
624
+ readonly type?: undefined | "function";
625
+ } | {
626
+ readonly nativeName: "ask_question";
627
+ readonly toolUseKind: "readonly";
628
+ readonly title?: string;
629
+ readonly providerOptions?: _ai_sdk_provider_utils.ProviderOptions;
630
+ readonly metadata?: _ai_sdk_provider.JSONObject;
631
+ readonly inputSchema: _ai_sdk_provider_utils.FlexibleSchema<{
632
+ allowPartialAnswers: boolean;
633
+ questions: {
634
+ id: string;
635
+ question: string;
636
+ header?: string | undefined;
637
+ options?: {
638
+ id: string;
639
+ label: string;
640
+ description?: string | undefined;
641
+ preview?: string | undefined;
642
+ }[] | undefined;
643
+ allowMultiple?: boolean | undefined;
644
+ allowFreeForm?: boolean | {
645
+ secret: boolean;
646
+ } | undefined;
647
+ }[];
648
+ }>;
649
+ readonly contextSchema?: _ai_sdk_provider_utils.FlexibleSchema<any> | undefined;
650
+ readonly needsApproval?: boolean | _ai_sdk_provider_utils.ToolNeedsApprovalFunction<{
651
+ allowPartialAnswers: boolean;
652
+ questions: {
653
+ id: string;
654
+ question: string;
655
+ header?: string | undefined;
656
+ options?: {
657
+ id: string;
658
+ label: string;
659
+ description?: string | undefined;
660
+ preview?: string | undefined;
661
+ }[] | undefined;
662
+ allowMultiple?: boolean | undefined;
663
+ allowFreeForm?: boolean | {
664
+ secret: boolean;
665
+ } | undefined;
666
+ }[];
667
+ }, any> | undefined;
668
+ readonly onInputStart?: ((options: _ai_sdk_provider_utils.ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
669
+ readonly onInputDelta?: ((options: {
670
+ inputTextDelta: string;
671
+ } & _ai_sdk_provider_utils.ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
672
+ readonly onInputAvailable?: ((options: {
673
+ input: {
674
+ allowPartialAnswers: boolean;
675
+ questions: {
676
+ id: string;
677
+ question: string;
678
+ header?: string | undefined;
679
+ options?: {
680
+ id: string;
681
+ label: string;
682
+ description?: string | undefined;
683
+ preview?: string | undefined;
684
+ }[] | undefined;
685
+ allowMultiple?: boolean | undefined;
686
+ allowFreeForm?: boolean | {
687
+ secret: boolean;
688
+ } | undefined;
689
+ }[];
690
+ };
691
+ } & _ai_sdk_provider_utils.ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
692
+ readonly toModelOutput?: ((options: {
693
+ toolCallId: string;
694
+ input: {
695
+ allowPartialAnswers: boolean;
696
+ questions: {
697
+ id: string;
698
+ question: string;
699
+ header?: string | undefined;
700
+ options?: {
701
+ id: string;
702
+ label: string;
703
+ description?: string | undefined;
704
+ preview?: string | undefined;
705
+ }[] | undefined;
706
+ allowMultiple?: boolean | undefined;
707
+ allowFreeForm?: boolean | {
708
+ secret: boolean;
709
+ } | undefined;
710
+ }[];
711
+ };
712
+ output: NoInfer<{
713
+ action: "answered";
714
+ answers: Record<string, {
715
+ optionIds: string[];
716
+ freeform?: string | undefined;
717
+ }>;
718
+ } | {
719
+ action: "partially-answered";
720
+ answers: Record<string, {
721
+ optionIds: string[];
722
+ freeform?: string | undefined;
723
+ }>;
724
+ } | {
725
+ action: "declined";
726
+ } | {
727
+ action: "cancelled";
728
+ }>;
729
+ }) => _ai_sdk_provider_utils.ToolResultOutput | PromiseLike<_ai_sdk_provider_utils.ToolResultOutput>) | undefined;
730
+ readonly outputSchema: _ai_sdk_provider_utils.FlexibleSchema<{
731
+ action: "answered";
732
+ answers: Record<string, {
733
+ optionIds: string[];
734
+ freeform?: string | undefined;
735
+ }>;
736
+ } | {
737
+ action: "partially-answered";
738
+ answers: Record<string, {
739
+ optionIds: string[];
740
+ freeform?: string | undefined;
741
+ }>;
742
+ } | {
743
+ action: "declined";
744
+ } | {
745
+ action: "cancelled";
746
+ }>;
747
+ readonly execute?: never;
748
+ readonly description?: string | ((options: {
749
+ context: any;
750
+ experimental_sandbox?: _ai_sdk_provider_utils.Experimental_SandboxSession;
751
+ }) => string) | undefined;
752
+ readonly strict?: boolean;
753
+ readonly inputExamples?: {
754
+ input: NoInfer<{
755
+ allowPartialAnswers: boolean;
756
+ questions: {
757
+ id: string;
758
+ question: string;
759
+ header?: string | undefined;
760
+ options?: {
761
+ id: string;
762
+ label: string;
763
+ description?: string | undefined;
764
+ preview?: string | undefined;
765
+ }[] | undefined;
766
+ allowMultiple?: boolean | undefined;
767
+ allowFreeForm?: boolean | {
768
+ secret: boolean;
769
+ } | undefined;
770
+ }[];
771
+ }>;
772
+ }[] | undefined;
773
+ readonly id?: never;
774
+ readonly isProviderExecuted?: never;
775
+ readonly args?: never;
776
+ readonly supportsDeferredResults?: never;
777
+ readonly type?: undefined | "function";
778
+ };
97
779
  readonly read: _ai_sdk_harness.HarnessV1BuiltinTool<{
98
780
  file_path: string;
99
781
  }, unknown>;