clanka 0.24.4 → 0.24.5
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/Agent.js +1 -1
- package/dist/Agent.js.map +1 -1
- package/dist/AgentTools.d.ts +88 -88
- package/dist/AgentTools.d.ts.map +1 -1
- package/dist/bin/{AiError-fiHIiGOy.mjs → AiError-CsvdOsKR.mjs} +67 -43
- package/dist/bin/Latch-B3e9629m.mjs +5 -0
- package/dist/bin/{McpClient-CXwyRd_3.mjs → McpClient-BCxZZgnA.mjs} +1 -1
- package/dist/bin/{OutputFormatter-B8yF7iiq.mjs → OutputFormatter-ByMjyBhe.mjs} +2 -2
- package/dist/bin/{Schema-D629S5yu.mjs → Schema-BfUmMefy.mjs} +224 -163
- package/dist/bin/{SemanticSearch-BlcfFvPr.mjs → SemanticSearch-DMzIsoZb.mjs} +68 -55
- package/dist/bin/cli.mjs +466 -353
- package/dist/bin/{helpers-CljL9OKa.mjs → helpers-Bb68A2Sv.mjs} +2 -2
- package/dist/bin/{index.min-ClUfQ5ji.mjs → index.min-CuA3AuA-.mjs} +1448 -1348
- package/dist/bin/{rolldown-runtime-5zChB7MF.mjs → rolldown-runtime-CXhmmSW5.mjs} +4 -4
- package/dist/bin/{server-HlLriZxF.mjs → server-D4nrvZHH.mjs} +2 -2
- package/dist/bin/{turndown.cjs-C2WBxeA-.mjs → turndown.cjs-CwE2EFNQ.mjs} +15 -10
- package/dist/bin/{types-LcwjLVkt.mjs → types-N9Z-HYP0.mjs} +1 -1
- package/dist/bin/{upgrade-E_f-q2h8.mjs → upgrade-t590zYhO.mjs} +4 -4
- package/package.json +15 -15
- package/src/Agent.ts +1 -1
- package/dist/bin/Latch-D1909CI6.mjs +0 -5
package/dist/AgentTools.d.ts
CHANGED
|
@@ -261,7 +261,7 @@ export declare const makeBashTool: (timeout: Duration.Duration) => Tool.Tool<"ba
|
|
|
261
261
|
}>;
|
|
262
262
|
readonly failure: Schema.Never;
|
|
263
263
|
readonly failureMode: "error";
|
|
264
|
-
}, CurrentDirectory>;
|
|
264
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
265
265
|
/**
|
|
266
266
|
* @since 1.0.0
|
|
267
267
|
* @category Context
|
|
@@ -277,7 +277,7 @@ export declare const AgentTools: Toolkit.Toolkit<{
|
|
|
277
277
|
readonly success: Schema.String;
|
|
278
278
|
readonly failure: Schema.Never;
|
|
279
279
|
readonly failureMode: "error";
|
|
280
|
-
}, CurrentDirectory>;
|
|
280
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
281
281
|
readonly bash: Tool.Tool<"bash", {
|
|
282
282
|
readonly parameters: Schema.Struct<{
|
|
283
283
|
readonly command: Schema.String;
|
|
@@ -297,31 +297,31 @@ export declare const AgentTools: Toolkit.Toolkit<{
|
|
|
297
297
|
}>;
|
|
298
298
|
readonly failure: Schema.Never;
|
|
299
299
|
readonly failureMode: "error";
|
|
300
|
-
}, CurrentDirectory>;
|
|
300
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
301
301
|
readonly changeDirectory: Tool.Tool<"changeDirectory", {
|
|
302
302
|
readonly parameters: Schema.String;
|
|
303
303
|
readonly success: Schema.String;
|
|
304
304
|
readonly failure: Schema.Never;
|
|
305
305
|
readonly failureMode: "error";
|
|
306
|
-
}, DirectoryChanger>;
|
|
306
|
+
}, DirectoryChanger, Tool.Execution>;
|
|
307
307
|
readonly fetchMarkdown: Tool.Tool<"fetchMarkdown", {
|
|
308
308
|
readonly parameters: Schema.String;
|
|
309
309
|
readonly success: Schema.String;
|
|
310
310
|
readonly failure: Schema.Never;
|
|
311
311
|
readonly failureMode: "error";
|
|
312
|
-
}, never>;
|
|
312
|
+
}, never, Tool.Execution>;
|
|
313
313
|
readonly gh: Tool.Tool<"gh", {
|
|
314
314
|
readonly parameters: Schema.$Array<Schema.String>;
|
|
315
315
|
readonly success: Schema.String;
|
|
316
316
|
readonly failure: Schema.Never;
|
|
317
317
|
readonly failureMode: "error";
|
|
318
|
-
}, CurrentDirectory>;
|
|
318
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
319
319
|
readonly glob: Tool.Tool<"glob", {
|
|
320
320
|
readonly parameters: Schema.String;
|
|
321
321
|
readonly success: Schema.$Array<Schema.String>;
|
|
322
322
|
readonly failure: Schema.Never;
|
|
323
323
|
readonly failureMode: "error";
|
|
324
|
-
}, CurrentDirectory>;
|
|
324
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
325
325
|
readonly listTasks: Tool.Tool<"listTasks", {
|
|
326
326
|
readonly parameters: Schema.Void;
|
|
327
327
|
readonly success: Schema.$Array<Schema.Struct<{
|
|
@@ -337,13 +337,13 @@ export declare const AgentTools: Toolkit.Toolkit<{
|
|
|
337
337
|
}>>;
|
|
338
338
|
readonly failure: Schema.Never;
|
|
339
339
|
readonly failureMode: "error";
|
|
340
|
-
}, AgentTaskExecutor>;
|
|
340
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
341
341
|
readonly ls: Tool.Tool<"ls", {
|
|
342
342
|
readonly parameters: Schema.String;
|
|
343
343
|
readonly success: Schema.$Array<Schema.String>;
|
|
344
344
|
readonly failure: Schema.Never;
|
|
345
345
|
readonly failureMode: "error";
|
|
346
|
-
}, CurrentDirectory>;
|
|
346
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
347
347
|
readonly messageAgent: Tool.Tool<"messageAgent", {
|
|
348
348
|
readonly parameters: Schema.Struct<{
|
|
349
349
|
readonly id: Schema.String;
|
|
@@ -352,7 +352,7 @@ export declare const AgentTools: Toolkit.Toolkit<{
|
|
|
352
352
|
readonly success: Schema.Void;
|
|
353
353
|
readonly failure: Schema.String;
|
|
354
354
|
readonly failureMode: "error";
|
|
355
|
-
}, AgentTaskExecutor>;
|
|
355
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
356
356
|
readonly readFile: Tool.Tool<"readFile", {
|
|
357
357
|
readonly parameters: Schema.Struct<{
|
|
358
358
|
readonly path: Schema.String;
|
|
@@ -363,13 +363,13 @@ export declare const AgentTools: Toolkit.Toolkit<{
|
|
|
363
363
|
readonly success: Schema.NullOr<Schema.String>;
|
|
364
364
|
readonly failure: Schema.Never;
|
|
365
365
|
readonly failureMode: "error";
|
|
366
|
-
}, CurrentDirectory | ImageAttacher>;
|
|
366
|
+
}, CurrentDirectory | ImageAttacher, Tool.Execution>;
|
|
367
367
|
readonly removeFile: Tool.Tool<"removeFile", {
|
|
368
368
|
readonly parameters: Schema.String;
|
|
369
369
|
readonly success: Schema.Void;
|
|
370
370
|
readonly failure: Schema.Never;
|
|
371
371
|
readonly failureMode: "error";
|
|
372
|
-
}, CurrentDirectory>;
|
|
372
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
373
373
|
readonly renameFile: Tool.Tool<"renameFile", {
|
|
374
374
|
readonly parameters: Schema.Struct<{
|
|
375
375
|
readonly from: Schema.String;
|
|
@@ -378,7 +378,7 @@ export declare const AgentTools: Toolkit.Toolkit<{
|
|
|
378
378
|
readonly success: Schema.Void;
|
|
379
379
|
readonly failure: Schema.Never;
|
|
380
380
|
readonly failureMode: "error";
|
|
381
|
-
}, CurrentDirectory>;
|
|
381
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
382
382
|
readonly rg: Tool.Tool<"rg", {
|
|
383
383
|
readonly parameters: Schema.Struct<{
|
|
384
384
|
readonly pattern: Schema.String;
|
|
@@ -389,19 +389,19 @@ export declare const AgentTools: Toolkit.Toolkit<{
|
|
|
389
389
|
readonly success: Schema.String;
|
|
390
390
|
readonly failure: Schema.Never;
|
|
391
391
|
readonly failureMode: "error";
|
|
392
|
-
}, CurrentDirectory>;
|
|
392
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
393
393
|
readonly sleep: Tool.Tool<"sleep", {
|
|
394
394
|
readonly parameters: Schema.Finite;
|
|
395
395
|
readonly success: Schema.Void;
|
|
396
396
|
readonly failure: Schema.Never;
|
|
397
397
|
readonly failureMode: "error";
|
|
398
|
-
}, never>;
|
|
398
|
+
}, never, Tool.Execution>;
|
|
399
399
|
readonly stopTask: Tool.Tool<"stopTask", {
|
|
400
400
|
readonly parameters: Schema.String;
|
|
401
401
|
readonly success: Schema.Void;
|
|
402
402
|
readonly failure: Schema.String;
|
|
403
403
|
readonly failureMode: "error";
|
|
404
|
-
}, AgentTaskExecutor>;
|
|
404
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
405
405
|
readonly subagent: Tool.Tool<"subagent", {
|
|
406
406
|
readonly parameters: Schema.Struct<{
|
|
407
407
|
readonly prompt: Schema.String;
|
|
@@ -420,13 +420,13 @@ export declare const AgentTools: Toolkit.Toolkit<{
|
|
|
420
420
|
}>;
|
|
421
421
|
readonly failure: Schema.String;
|
|
422
422
|
readonly failureMode: "error";
|
|
423
|
-
}, AgentTaskExecutor>;
|
|
423
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
424
424
|
readonly taskComplete: Tool.Tool<"taskComplete", {
|
|
425
425
|
readonly parameters: Schema.String;
|
|
426
426
|
readonly success: Schema.Void;
|
|
427
427
|
readonly failure: Schema.String;
|
|
428
428
|
readonly failureMode: "error";
|
|
429
|
-
}, TaskCompleter>;
|
|
429
|
+
}, TaskCompleter, Tool.Execution>;
|
|
430
430
|
readonly taskOutput: Tool.Tool<"taskOutput", {
|
|
431
431
|
readonly parameters: Schema.String;
|
|
432
432
|
readonly success: Schema.Struct<{
|
|
@@ -442,7 +442,7 @@ export declare const AgentTools: Toolkit.Toolkit<{
|
|
|
442
442
|
}>;
|
|
443
443
|
readonly failure: Schema.String;
|
|
444
444
|
readonly failureMode: "error";
|
|
445
|
-
}, AgentTaskExecutor>;
|
|
445
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
446
446
|
readonly waitTasks: Tool.Tool<"waitTasks", {
|
|
447
447
|
readonly parameters: Schema.Struct<{
|
|
448
448
|
readonly ids: Schema.$Array<Schema.String>;
|
|
@@ -461,7 +461,7 @@ export declare const AgentTools: Toolkit.Toolkit<{
|
|
|
461
461
|
}>>;
|
|
462
462
|
readonly failure: Schema.String;
|
|
463
463
|
readonly failureMode: "error";
|
|
464
|
-
}, AgentTaskExecutor>;
|
|
464
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
465
465
|
readonly webSearch: Tool.Tool<"webSearch", {
|
|
466
466
|
readonly parameters: Schema.Struct<{
|
|
467
467
|
readonly query: Schema.String;
|
|
@@ -470,7 +470,7 @@ export declare const AgentTools: Toolkit.Toolkit<{
|
|
|
470
470
|
readonly success: Schema.String;
|
|
471
471
|
readonly failure: Schema.Never;
|
|
472
472
|
readonly failureMode: "error";
|
|
473
|
-
}, never>;
|
|
473
|
+
}, never, Tool.Execution>;
|
|
474
474
|
readonly writeFile: Tool.Tool<"writeFile", {
|
|
475
475
|
readonly parameters: Schema.Struct<{
|
|
476
476
|
readonly path: Schema.String;
|
|
@@ -479,7 +479,7 @@ export declare const AgentTools: Toolkit.Toolkit<{
|
|
|
479
479
|
readonly success: Schema.Void;
|
|
480
480
|
readonly failure: Schema.Never;
|
|
481
481
|
readonly failureMode: "error";
|
|
482
|
-
}, CurrentDirectory>;
|
|
482
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
483
483
|
}>;
|
|
484
484
|
/**
|
|
485
485
|
* @since 1.0.0
|
|
@@ -491,7 +491,7 @@ export declare const AgentToolsWithSearch: Toolkit.Toolkit<{
|
|
|
491
491
|
readonly success: Schema.String;
|
|
492
492
|
readonly failure: Schema.Never;
|
|
493
493
|
readonly failureMode: "error";
|
|
494
|
-
}, CurrentDirectory>;
|
|
494
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
495
495
|
readonly bash: Tool.Tool<"bash", {
|
|
496
496
|
readonly parameters: Schema.Struct<{
|
|
497
497
|
readonly command: Schema.String;
|
|
@@ -511,31 +511,31 @@ export declare const AgentToolsWithSearch: Toolkit.Toolkit<{
|
|
|
511
511
|
}>;
|
|
512
512
|
readonly failure: Schema.Never;
|
|
513
513
|
readonly failureMode: "error";
|
|
514
|
-
}, CurrentDirectory>;
|
|
514
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
515
515
|
readonly changeDirectory: Tool.Tool<"changeDirectory", {
|
|
516
516
|
readonly parameters: Schema.String;
|
|
517
517
|
readonly success: Schema.String;
|
|
518
518
|
readonly failure: Schema.Never;
|
|
519
519
|
readonly failureMode: "error";
|
|
520
|
-
}, DirectoryChanger>;
|
|
520
|
+
}, DirectoryChanger, Tool.Execution>;
|
|
521
521
|
readonly fetchMarkdown: Tool.Tool<"fetchMarkdown", {
|
|
522
522
|
readonly parameters: Schema.String;
|
|
523
523
|
readonly success: Schema.String;
|
|
524
524
|
readonly failure: Schema.Never;
|
|
525
525
|
readonly failureMode: "error";
|
|
526
|
-
}, never>;
|
|
526
|
+
}, never, Tool.Execution>;
|
|
527
527
|
readonly gh: Tool.Tool<"gh", {
|
|
528
528
|
readonly parameters: Schema.$Array<Schema.String>;
|
|
529
529
|
readonly success: Schema.String;
|
|
530
530
|
readonly failure: Schema.Never;
|
|
531
531
|
readonly failureMode: "error";
|
|
532
|
-
}, CurrentDirectory>;
|
|
532
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
533
533
|
readonly glob: Tool.Tool<"glob", {
|
|
534
534
|
readonly parameters: Schema.String;
|
|
535
535
|
readonly success: Schema.$Array<Schema.String>;
|
|
536
536
|
readonly failure: Schema.Never;
|
|
537
537
|
readonly failureMode: "error";
|
|
538
|
-
}, CurrentDirectory>;
|
|
538
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
539
539
|
readonly listTasks: Tool.Tool<"listTasks", {
|
|
540
540
|
readonly parameters: Schema.Void;
|
|
541
541
|
readonly success: Schema.$Array<Schema.Struct<{
|
|
@@ -551,13 +551,13 @@ export declare const AgentToolsWithSearch: Toolkit.Toolkit<{
|
|
|
551
551
|
}>>;
|
|
552
552
|
readonly failure: Schema.Never;
|
|
553
553
|
readonly failureMode: "error";
|
|
554
|
-
}, AgentTaskExecutor>;
|
|
554
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
555
555
|
readonly ls: Tool.Tool<"ls", {
|
|
556
556
|
readonly parameters: Schema.String;
|
|
557
557
|
readonly success: Schema.$Array<Schema.String>;
|
|
558
558
|
readonly failure: Schema.Never;
|
|
559
559
|
readonly failureMode: "error";
|
|
560
|
-
}, CurrentDirectory>;
|
|
560
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
561
561
|
readonly messageAgent: Tool.Tool<"messageAgent", {
|
|
562
562
|
readonly parameters: Schema.Struct<{
|
|
563
563
|
readonly id: Schema.String;
|
|
@@ -566,7 +566,7 @@ export declare const AgentToolsWithSearch: Toolkit.Toolkit<{
|
|
|
566
566
|
readonly success: Schema.Void;
|
|
567
567
|
readonly failure: Schema.String;
|
|
568
568
|
readonly failureMode: "error";
|
|
569
|
-
}, AgentTaskExecutor>;
|
|
569
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
570
570
|
readonly readFile: Tool.Tool<"readFile", {
|
|
571
571
|
readonly parameters: Schema.Struct<{
|
|
572
572
|
readonly path: Schema.String;
|
|
@@ -577,13 +577,13 @@ export declare const AgentToolsWithSearch: Toolkit.Toolkit<{
|
|
|
577
577
|
readonly success: Schema.NullOr<Schema.String>;
|
|
578
578
|
readonly failure: Schema.Never;
|
|
579
579
|
readonly failureMode: "error";
|
|
580
|
-
}, CurrentDirectory | ImageAttacher>;
|
|
580
|
+
}, CurrentDirectory | ImageAttacher, Tool.Execution>;
|
|
581
581
|
readonly removeFile: Tool.Tool<"removeFile", {
|
|
582
582
|
readonly parameters: Schema.String;
|
|
583
583
|
readonly success: Schema.Void;
|
|
584
584
|
readonly failure: Schema.Never;
|
|
585
585
|
readonly failureMode: "error";
|
|
586
|
-
}, CurrentDirectory>;
|
|
586
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
587
587
|
readonly renameFile: Tool.Tool<"renameFile", {
|
|
588
588
|
readonly parameters: Schema.Struct<{
|
|
589
589
|
readonly from: Schema.String;
|
|
@@ -592,7 +592,7 @@ export declare const AgentToolsWithSearch: Toolkit.Toolkit<{
|
|
|
592
592
|
readonly success: Schema.Void;
|
|
593
593
|
readonly failure: Schema.Never;
|
|
594
594
|
readonly failureMode: "error";
|
|
595
|
-
}, CurrentDirectory>;
|
|
595
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
596
596
|
readonly rg: Tool.Tool<"rg", {
|
|
597
597
|
readonly parameters: Schema.Struct<{
|
|
598
598
|
readonly pattern: Schema.String;
|
|
@@ -603,25 +603,25 @@ export declare const AgentToolsWithSearch: Toolkit.Toolkit<{
|
|
|
603
603
|
readonly success: Schema.String;
|
|
604
604
|
readonly failure: Schema.Never;
|
|
605
605
|
readonly failureMode: "error";
|
|
606
|
-
}, CurrentDirectory>;
|
|
606
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
607
607
|
readonly search: Tool.Tool<"search", {
|
|
608
608
|
readonly parameters: Schema.String;
|
|
609
609
|
readonly success: Schema.String;
|
|
610
610
|
readonly failure: Schema.Never;
|
|
611
611
|
readonly failureMode: "error";
|
|
612
|
-
}, SemanticSearch.SemanticSearch>;
|
|
612
|
+
}, SemanticSearch.SemanticSearch, Tool.Execution>;
|
|
613
613
|
readonly sleep: Tool.Tool<"sleep", {
|
|
614
614
|
readonly parameters: Schema.Finite;
|
|
615
615
|
readonly success: Schema.Void;
|
|
616
616
|
readonly failure: Schema.Never;
|
|
617
617
|
readonly failureMode: "error";
|
|
618
|
-
}, never>;
|
|
618
|
+
}, never, Tool.Execution>;
|
|
619
619
|
readonly stopTask: Tool.Tool<"stopTask", {
|
|
620
620
|
readonly parameters: Schema.String;
|
|
621
621
|
readonly success: Schema.Void;
|
|
622
622
|
readonly failure: Schema.String;
|
|
623
623
|
readonly failureMode: "error";
|
|
624
|
-
}, AgentTaskExecutor>;
|
|
624
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
625
625
|
readonly subagent: Tool.Tool<"subagent", {
|
|
626
626
|
readonly parameters: Schema.Struct<{
|
|
627
627
|
readonly prompt: Schema.String;
|
|
@@ -640,13 +640,13 @@ export declare const AgentToolsWithSearch: Toolkit.Toolkit<{
|
|
|
640
640
|
}>;
|
|
641
641
|
readonly failure: Schema.String;
|
|
642
642
|
readonly failureMode: "error";
|
|
643
|
-
}, AgentTaskExecutor>;
|
|
643
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
644
644
|
readonly taskComplete: Tool.Tool<"taskComplete", {
|
|
645
645
|
readonly parameters: Schema.String;
|
|
646
646
|
readonly success: Schema.Void;
|
|
647
647
|
readonly failure: Schema.String;
|
|
648
648
|
readonly failureMode: "error";
|
|
649
|
-
}, TaskCompleter>;
|
|
649
|
+
}, TaskCompleter, Tool.Execution>;
|
|
650
650
|
readonly taskOutput: Tool.Tool<"taskOutput", {
|
|
651
651
|
readonly parameters: Schema.String;
|
|
652
652
|
readonly success: Schema.Struct<{
|
|
@@ -662,7 +662,7 @@ export declare const AgentToolsWithSearch: Toolkit.Toolkit<{
|
|
|
662
662
|
}>;
|
|
663
663
|
readonly failure: Schema.String;
|
|
664
664
|
readonly failureMode: "error";
|
|
665
|
-
}, AgentTaskExecutor>;
|
|
665
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
666
666
|
readonly waitTasks: Tool.Tool<"waitTasks", {
|
|
667
667
|
readonly parameters: Schema.Struct<{
|
|
668
668
|
readonly ids: Schema.$Array<Schema.String>;
|
|
@@ -681,7 +681,7 @@ export declare const AgentToolsWithSearch: Toolkit.Toolkit<{
|
|
|
681
681
|
}>>;
|
|
682
682
|
readonly failure: Schema.String;
|
|
683
683
|
readonly failureMode: "error";
|
|
684
|
-
}, AgentTaskExecutor>;
|
|
684
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
685
685
|
readonly webSearch: Tool.Tool<"webSearch", {
|
|
686
686
|
readonly parameters: Schema.Struct<{
|
|
687
687
|
readonly query: Schema.String;
|
|
@@ -690,7 +690,7 @@ export declare const AgentToolsWithSearch: Toolkit.Toolkit<{
|
|
|
690
690
|
readonly success: Schema.String;
|
|
691
691
|
readonly failure: Schema.Never;
|
|
692
692
|
readonly failureMode: "error";
|
|
693
|
-
}, never>;
|
|
693
|
+
}, never, Tool.Execution>;
|
|
694
694
|
readonly writeFile: Tool.Tool<"writeFile", {
|
|
695
695
|
readonly parameters: Schema.Struct<{
|
|
696
696
|
readonly path: Schema.String;
|
|
@@ -699,7 +699,7 @@ export declare const AgentToolsWithSearch: Toolkit.Toolkit<{
|
|
|
699
699
|
readonly success: Schema.Void;
|
|
700
700
|
readonly failure: Schema.Never;
|
|
701
701
|
readonly failureMode: "error";
|
|
702
|
-
}, CurrentDirectory>;
|
|
702
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
703
703
|
}>;
|
|
704
704
|
/**
|
|
705
705
|
* A built-in tool a caller can leave out. `taskComplete` always stays.
|
|
@@ -718,7 +718,7 @@ export declare const AgentToolHandlersNoDeps: Layer.Layer<Tool.HandlersFor<{
|
|
|
718
718
|
readonly success: Schema.String;
|
|
719
719
|
readonly failure: Schema.Never;
|
|
720
720
|
readonly failureMode: "error";
|
|
721
|
-
}, CurrentDirectory>;
|
|
721
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
722
722
|
readonly bash: Tool.Tool<"bash", {
|
|
723
723
|
readonly parameters: Schema.Struct<{
|
|
724
724
|
readonly command: Schema.String;
|
|
@@ -738,31 +738,31 @@ export declare const AgentToolHandlersNoDeps: Layer.Layer<Tool.HandlersFor<{
|
|
|
738
738
|
}>;
|
|
739
739
|
readonly failure: Schema.Never;
|
|
740
740
|
readonly failureMode: "error";
|
|
741
|
-
}, CurrentDirectory>;
|
|
741
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
742
742
|
readonly changeDirectory: Tool.Tool<"changeDirectory", {
|
|
743
743
|
readonly parameters: Schema.String;
|
|
744
744
|
readonly success: Schema.String;
|
|
745
745
|
readonly failure: Schema.Never;
|
|
746
746
|
readonly failureMode: "error";
|
|
747
|
-
}, DirectoryChanger>;
|
|
747
|
+
}, DirectoryChanger, Tool.Execution>;
|
|
748
748
|
readonly fetchMarkdown: Tool.Tool<"fetchMarkdown", {
|
|
749
749
|
readonly parameters: Schema.String;
|
|
750
750
|
readonly success: Schema.String;
|
|
751
751
|
readonly failure: Schema.Never;
|
|
752
752
|
readonly failureMode: "error";
|
|
753
|
-
}, never>;
|
|
753
|
+
}, never, Tool.Execution>;
|
|
754
754
|
readonly gh: Tool.Tool<"gh", {
|
|
755
755
|
readonly parameters: Schema.$Array<Schema.String>;
|
|
756
756
|
readonly success: Schema.String;
|
|
757
757
|
readonly failure: Schema.Never;
|
|
758
758
|
readonly failureMode: "error";
|
|
759
|
-
}, CurrentDirectory>;
|
|
759
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
760
760
|
readonly glob: Tool.Tool<"glob", {
|
|
761
761
|
readonly parameters: Schema.String;
|
|
762
762
|
readonly success: Schema.$Array<Schema.String>;
|
|
763
763
|
readonly failure: Schema.Never;
|
|
764
764
|
readonly failureMode: "error";
|
|
765
|
-
}, CurrentDirectory>;
|
|
765
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
766
766
|
readonly listTasks: Tool.Tool<"listTasks", {
|
|
767
767
|
readonly parameters: Schema.Void;
|
|
768
768
|
readonly success: Schema.$Array<Schema.Struct<{
|
|
@@ -778,13 +778,13 @@ export declare const AgentToolHandlersNoDeps: Layer.Layer<Tool.HandlersFor<{
|
|
|
778
778
|
}>>;
|
|
779
779
|
readonly failure: Schema.Never;
|
|
780
780
|
readonly failureMode: "error";
|
|
781
|
-
}, AgentTaskExecutor>;
|
|
781
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
782
782
|
readonly ls: Tool.Tool<"ls", {
|
|
783
783
|
readonly parameters: Schema.String;
|
|
784
784
|
readonly success: Schema.$Array<Schema.String>;
|
|
785
785
|
readonly failure: Schema.Never;
|
|
786
786
|
readonly failureMode: "error";
|
|
787
|
-
}, CurrentDirectory>;
|
|
787
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
788
788
|
readonly messageAgent: Tool.Tool<"messageAgent", {
|
|
789
789
|
readonly parameters: Schema.Struct<{
|
|
790
790
|
readonly id: Schema.String;
|
|
@@ -793,7 +793,7 @@ export declare const AgentToolHandlersNoDeps: Layer.Layer<Tool.HandlersFor<{
|
|
|
793
793
|
readonly success: Schema.Void;
|
|
794
794
|
readonly failure: Schema.String;
|
|
795
795
|
readonly failureMode: "error";
|
|
796
|
-
}, AgentTaskExecutor>;
|
|
796
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
797
797
|
readonly readFile: Tool.Tool<"readFile", {
|
|
798
798
|
readonly parameters: Schema.Struct<{
|
|
799
799
|
readonly path: Schema.String;
|
|
@@ -804,13 +804,13 @@ export declare const AgentToolHandlersNoDeps: Layer.Layer<Tool.HandlersFor<{
|
|
|
804
804
|
readonly success: Schema.NullOr<Schema.String>;
|
|
805
805
|
readonly failure: Schema.Never;
|
|
806
806
|
readonly failureMode: "error";
|
|
807
|
-
}, CurrentDirectory | ImageAttacher>;
|
|
807
|
+
}, CurrentDirectory | ImageAttacher, Tool.Execution>;
|
|
808
808
|
readonly removeFile: Tool.Tool<"removeFile", {
|
|
809
809
|
readonly parameters: Schema.String;
|
|
810
810
|
readonly success: Schema.Void;
|
|
811
811
|
readonly failure: Schema.Never;
|
|
812
812
|
readonly failureMode: "error";
|
|
813
|
-
}, CurrentDirectory>;
|
|
813
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
814
814
|
readonly renameFile: Tool.Tool<"renameFile", {
|
|
815
815
|
readonly parameters: Schema.Struct<{
|
|
816
816
|
readonly from: Schema.String;
|
|
@@ -819,7 +819,7 @@ export declare const AgentToolHandlersNoDeps: Layer.Layer<Tool.HandlersFor<{
|
|
|
819
819
|
readonly success: Schema.Void;
|
|
820
820
|
readonly failure: Schema.Never;
|
|
821
821
|
readonly failureMode: "error";
|
|
822
|
-
}, CurrentDirectory>;
|
|
822
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
823
823
|
readonly rg: Tool.Tool<"rg", {
|
|
824
824
|
readonly parameters: Schema.Struct<{
|
|
825
825
|
readonly pattern: Schema.String;
|
|
@@ -830,25 +830,25 @@ export declare const AgentToolHandlersNoDeps: Layer.Layer<Tool.HandlersFor<{
|
|
|
830
830
|
readonly success: Schema.String;
|
|
831
831
|
readonly failure: Schema.Never;
|
|
832
832
|
readonly failureMode: "error";
|
|
833
|
-
}, CurrentDirectory>;
|
|
833
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
834
834
|
readonly search: Tool.Tool<"search", {
|
|
835
835
|
readonly parameters: Schema.String;
|
|
836
836
|
readonly success: Schema.String;
|
|
837
837
|
readonly failure: Schema.Never;
|
|
838
838
|
readonly failureMode: "error";
|
|
839
|
-
}, SemanticSearch.SemanticSearch>;
|
|
839
|
+
}, SemanticSearch.SemanticSearch, Tool.Execution>;
|
|
840
840
|
readonly sleep: Tool.Tool<"sleep", {
|
|
841
841
|
readonly parameters: Schema.Finite;
|
|
842
842
|
readonly success: Schema.Void;
|
|
843
843
|
readonly failure: Schema.Never;
|
|
844
844
|
readonly failureMode: "error";
|
|
845
|
-
}, never>;
|
|
845
|
+
}, never, Tool.Execution>;
|
|
846
846
|
readonly stopTask: Tool.Tool<"stopTask", {
|
|
847
847
|
readonly parameters: Schema.String;
|
|
848
848
|
readonly success: Schema.Void;
|
|
849
849
|
readonly failure: Schema.String;
|
|
850
850
|
readonly failureMode: "error";
|
|
851
|
-
}, AgentTaskExecutor>;
|
|
851
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
852
852
|
readonly subagent: Tool.Tool<"subagent", {
|
|
853
853
|
readonly parameters: Schema.Struct<{
|
|
854
854
|
readonly prompt: Schema.String;
|
|
@@ -867,13 +867,13 @@ export declare const AgentToolHandlersNoDeps: Layer.Layer<Tool.HandlersFor<{
|
|
|
867
867
|
}>;
|
|
868
868
|
readonly failure: Schema.String;
|
|
869
869
|
readonly failureMode: "error";
|
|
870
|
-
}, AgentTaskExecutor>;
|
|
870
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
871
871
|
readonly taskComplete: Tool.Tool<"taskComplete", {
|
|
872
872
|
readonly parameters: Schema.String;
|
|
873
873
|
readonly success: Schema.Void;
|
|
874
874
|
readonly failure: Schema.String;
|
|
875
875
|
readonly failureMode: "error";
|
|
876
|
-
}, TaskCompleter>;
|
|
876
|
+
}, TaskCompleter, Tool.Execution>;
|
|
877
877
|
readonly taskOutput: Tool.Tool<"taskOutput", {
|
|
878
878
|
readonly parameters: Schema.String;
|
|
879
879
|
readonly success: Schema.Struct<{
|
|
@@ -889,7 +889,7 @@ export declare const AgentToolHandlersNoDeps: Layer.Layer<Tool.HandlersFor<{
|
|
|
889
889
|
}>;
|
|
890
890
|
readonly failure: Schema.String;
|
|
891
891
|
readonly failureMode: "error";
|
|
892
|
-
}, AgentTaskExecutor>;
|
|
892
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
893
893
|
readonly waitTasks: Tool.Tool<"waitTasks", {
|
|
894
894
|
readonly parameters: Schema.Struct<{
|
|
895
895
|
readonly ids: Schema.$Array<Schema.String>;
|
|
@@ -908,7 +908,7 @@ export declare const AgentToolHandlersNoDeps: Layer.Layer<Tool.HandlersFor<{
|
|
|
908
908
|
}>>;
|
|
909
909
|
readonly failure: Schema.String;
|
|
910
910
|
readonly failureMode: "error";
|
|
911
|
-
}, AgentTaskExecutor>;
|
|
911
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
912
912
|
readonly webSearch: Tool.Tool<"webSearch", {
|
|
913
913
|
readonly parameters: Schema.Struct<{
|
|
914
914
|
readonly query: Schema.String;
|
|
@@ -917,7 +917,7 @@ export declare const AgentToolHandlersNoDeps: Layer.Layer<Tool.HandlersFor<{
|
|
|
917
917
|
readonly success: Schema.String;
|
|
918
918
|
readonly failure: Schema.Never;
|
|
919
919
|
readonly failureMode: "error";
|
|
920
|
-
}, never>;
|
|
920
|
+
}, never, Tool.Execution>;
|
|
921
921
|
readonly writeFile: Tool.Tool<"writeFile", {
|
|
922
922
|
readonly parameters: Schema.Struct<{
|
|
923
923
|
readonly path: Schema.String;
|
|
@@ -926,7 +926,7 @@ export declare const AgentToolHandlersNoDeps: Layer.Layer<Tool.HandlersFor<{
|
|
|
926
926
|
readonly success: Schema.Void;
|
|
927
927
|
readonly failure: Schema.Never;
|
|
928
928
|
readonly failureMode: "error";
|
|
929
|
-
}, CurrentDirectory>;
|
|
929
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
930
930
|
}>, never, ChildProcessSpawner.ChildProcessSpawner | ExaSearch.ExaSearch | FileSystem.FileSystem | Path.Path | WebToMarkdown.WebToMarkdown>;
|
|
931
931
|
/**
|
|
932
932
|
* @since 1.0.0
|
|
@@ -943,7 +943,7 @@ export declare const AgentToolHandlersTest: Layer.Layer<Tool.HandlersFor<{
|
|
|
943
943
|
readonly success: Schema.String;
|
|
944
944
|
readonly failure: Schema.Never;
|
|
945
945
|
readonly failureMode: "error";
|
|
946
|
-
}, CurrentDirectory>;
|
|
946
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
947
947
|
readonly bash: Tool.Tool<"bash", {
|
|
948
948
|
readonly parameters: Schema.Struct<{
|
|
949
949
|
readonly command: Schema.String;
|
|
@@ -963,31 +963,31 @@ export declare const AgentToolHandlersTest: Layer.Layer<Tool.HandlersFor<{
|
|
|
963
963
|
}>;
|
|
964
964
|
readonly failure: Schema.Never;
|
|
965
965
|
readonly failureMode: "error";
|
|
966
|
-
}, CurrentDirectory>;
|
|
966
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
967
967
|
readonly changeDirectory: Tool.Tool<"changeDirectory", {
|
|
968
968
|
readonly parameters: Schema.String;
|
|
969
969
|
readonly success: Schema.String;
|
|
970
970
|
readonly failure: Schema.Never;
|
|
971
971
|
readonly failureMode: "error";
|
|
972
|
-
}, DirectoryChanger>;
|
|
972
|
+
}, DirectoryChanger, Tool.Execution>;
|
|
973
973
|
readonly fetchMarkdown: Tool.Tool<"fetchMarkdown", {
|
|
974
974
|
readonly parameters: Schema.String;
|
|
975
975
|
readonly success: Schema.String;
|
|
976
976
|
readonly failure: Schema.Never;
|
|
977
977
|
readonly failureMode: "error";
|
|
978
|
-
}, never>;
|
|
978
|
+
}, never, Tool.Execution>;
|
|
979
979
|
readonly gh: Tool.Tool<"gh", {
|
|
980
980
|
readonly parameters: Schema.$Array<Schema.String>;
|
|
981
981
|
readonly success: Schema.String;
|
|
982
982
|
readonly failure: Schema.Never;
|
|
983
983
|
readonly failureMode: "error";
|
|
984
|
-
}, CurrentDirectory>;
|
|
984
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
985
985
|
readonly glob: Tool.Tool<"glob", {
|
|
986
986
|
readonly parameters: Schema.String;
|
|
987
987
|
readonly success: Schema.$Array<Schema.String>;
|
|
988
988
|
readonly failure: Schema.Never;
|
|
989
989
|
readonly failureMode: "error";
|
|
990
|
-
}, CurrentDirectory>;
|
|
990
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
991
991
|
readonly listTasks: Tool.Tool<"listTasks", {
|
|
992
992
|
readonly parameters: Schema.Void;
|
|
993
993
|
readonly success: Schema.$Array<Schema.Struct<{
|
|
@@ -1003,13 +1003,13 @@ export declare const AgentToolHandlersTest: Layer.Layer<Tool.HandlersFor<{
|
|
|
1003
1003
|
}>>;
|
|
1004
1004
|
readonly failure: Schema.Never;
|
|
1005
1005
|
readonly failureMode: "error";
|
|
1006
|
-
}, AgentTaskExecutor>;
|
|
1006
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
1007
1007
|
readonly ls: Tool.Tool<"ls", {
|
|
1008
1008
|
readonly parameters: Schema.String;
|
|
1009
1009
|
readonly success: Schema.$Array<Schema.String>;
|
|
1010
1010
|
readonly failure: Schema.Never;
|
|
1011
1011
|
readonly failureMode: "error";
|
|
1012
|
-
}, CurrentDirectory>;
|
|
1012
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
1013
1013
|
readonly messageAgent: Tool.Tool<"messageAgent", {
|
|
1014
1014
|
readonly parameters: Schema.Struct<{
|
|
1015
1015
|
readonly id: Schema.String;
|
|
@@ -1018,7 +1018,7 @@ export declare const AgentToolHandlersTest: Layer.Layer<Tool.HandlersFor<{
|
|
|
1018
1018
|
readonly success: Schema.Void;
|
|
1019
1019
|
readonly failure: Schema.String;
|
|
1020
1020
|
readonly failureMode: "error";
|
|
1021
|
-
}, AgentTaskExecutor>;
|
|
1021
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
1022
1022
|
readonly readFile: Tool.Tool<"readFile", {
|
|
1023
1023
|
readonly parameters: Schema.Struct<{
|
|
1024
1024
|
readonly path: Schema.String;
|
|
@@ -1029,13 +1029,13 @@ export declare const AgentToolHandlersTest: Layer.Layer<Tool.HandlersFor<{
|
|
|
1029
1029
|
readonly success: Schema.NullOr<Schema.String>;
|
|
1030
1030
|
readonly failure: Schema.Never;
|
|
1031
1031
|
readonly failureMode: "error";
|
|
1032
|
-
}, CurrentDirectory | ImageAttacher>;
|
|
1032
|
+
}, CurrentDirectory | ImageAttacher, Tool.Execution>;
|
|
1033
1033
|
readonly removeFile: Tool.Tool<"removeFile", {
|
|
1034
1034
|
readonly parameters: Schema.String;
|
|
1035
1035
|
readonly success: Schema.Void;
|
|
1036
1036
|
readonly failure: Schema.Never;
|
|
1037
1037
|
readonly failureMode: "error";
|
|
1038
|
-
}, CurrentDirectory>;
|
|
1038
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
1039
1039
|
readonly renameFile: Tool.Tool<"renameFile", {
|
|
1040
1040
|
readonly parameters: Schema.Struct<{
|
|
1041
1041
|
readonly from: Schema.String;
|
|
@@ -1044,7 +1044,7 @@ export declare const AgentToolHandlersTest: Layer.Layer<Tool.HandlersFor<{
|
|
|
1044
1044
|
readonly success: Schema.Void;
|
|
1045
1045
|
readonly failure: Schema.Never;
|
|
1046
1046
|
readonly failureMode: "error";
|
|
1047
|
-
}, CurrentDirectory>;
|
|
1047
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
1048
1048
|
readonly rg: Tool.Tool<"rg", {
|
|
1049
1049
|
readonly parameters: Schema.Struct<{
|
|
1050
1050
|
readonly pattern: Schema.String;
|
|
@@ -1055,25 +1055,25 @@ export declare const AgentToolHandlersTest: Layer.Layer<Tool.HandlersFor<{
|
|
|
1055
1055
|
readonly success: Schema.String;
|
|
1056
1056
|
readonly failure: Schema.Never;
|
|
1057
1057
|
readonly failureMode: "error";
|
|
1058
|
-
}, CurrentDirectory>;
|
|
1058
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
1059
1059
|
readonly search: Tool.Tool<"search", {
|
|
1060
1060
|
readonly parameters: Schema.String;
|
|
1061
1061
|
readonly success: Schema.String;
|
|
1062
1062
|
readonly failure: Schema.Never;
|
|
1063
1063
|
readonly failureMode: "error";
|
|
1064
|
-
}, SemanticSearch.SemanticSearch>;
|
|
1064
|
+
}, SemanticSearch.SemanticSearch, Tool.Execution>;
|
|
1065
1065
|
readonly sleep: Tool.Tool<"sleep", {
|
|
1066
1066
|
readonly parameters: Schema.Finite;
|
|
1067
1067
|
readonly success: Schema.Void;
|
|
1068
1068
|
readonly failure: Schema.Never;
|
|
1069
1069
|
readonly failureMode: "error";
|
|
1070
|
-
}, never>;
|
|
1070
|
+
}, never, Tool.Execution>;
|
|
1071
1071
|
readonly stopTask: Tool.Tool<"stopTask", {
|
|
1072
1072
|
readonly parameters: Schema.String;
|
|
1073
1073
|
readonly success: Schema.Void;
|
|
1074
1074
|
readonly failure: Schema.String;
|
|
1075
1075
|
readonly failureMode: "error";
|
|
1076
|
-
}, AgentTaskExecutor>;
|
|
1076
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
1077
1077
|
readonly subagent: Tool.Tool<"subagent", {
|
|
1078
1078
|
readonly parameters: Schema.Struct<{
|
|
1079
1079
|
readonly prompt: Schema.String;
|
|
@@ -1092,13 +1092,13 @@ export declare const AgentToolHandlersTest: Layer.Layer<Tool.HandlersFor<{
|
|
|
1092
1092
|
}>;
|
|
1093
1093
|
readonly failure: Schema.String;
|
|
1094
1094
|
readonly failureMode: "error";
|
|
1095
|
-
}, AgentTaskExecutor>;
|
|
1095
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
1096
1096
|
readonly taskComplete: Tool.Tool<"taskComplete", {
|
|
1097
1097
|
readonly parameters: Schema.String;
|
|
1098
1098
|
readonly success: Schema.Void;
|
|
1099
1099
|
readonly failure: Schema.String;
|
|
1100
1100
|
readonly failureMode: "error";
|
|
1101
|
-
}, TaskCompleter>;
|
|
1101
|
+
}, TaskCompleter, Tool.Execution>;
|
|
1102
1102
|
readonly taskOutput: Tool.Tool<"taskOutput", {
|
|
1103
1103
|
readonly parameters: Schema.String;
|
|
1104
1104
|
readonly success: Schema.Struct<{
|
|
@@ -1114,7 +1114,7 @@ export declare const AgentToolHandlersTest: Layer.Layer<Tool.HandlersFor<{
|
|
|
1114
1114
|
}>;
|
|
1115
1115
|
readonly failure: Schema.String;
|
|
1116
1116
|
readonly failureMode: "error";
|
|
1117
|
-
}, AgentTaskExecutor>;
|
|
1117
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
1118
1118
|
readonly waitTasks: Tool.Tool<"waitTasks", {
|
|
1119
1119
|
readonly parameters: Schema.Struct<{
|
|
1120
1120
|
readonly ids: Schema.$Array<Schema.String>;
|
|
@@ -1133,7 +1133,7 @@ export declare const AgentToolHandlersTest: Layer.Layer<Tool.HandlersFor<{
|
|
|
1133
1133
|
}>>;
|
|
1134
1134
|
readonly failure: Schema.String;
|
|
1135
1135
|
readonly failureMode: "error";
|
|
1136
|
-
}, AgentTaskExecutor>;
|
|
1136
|
+
}, AgentTaskExecutor, Tool.Execution>;
|
|
1137
1137
|
readonly webSearch: Tool.Tool<"webSearch", {
|
|
1138
1138
|
readonly parameters: Schema.Struct<{
|
|
1139
1139
|
readonly query: Schema.String;
|
|
@@ -1142,7 +1142,7 @@ export declare const AgentToolHandlersTest: Layer.Layer<Tool.HandlersFor<{
|
|
|
1142
1142
|
readonly success: Schema.String;
|
|
1143
1143
|
readonly failure: Schema.Never;
|
|
1144
1144
|
readonly failureMode: "error";
|
|
1145
|
-
}, never>;
|
|
1145
|
+
}, never, Tool.Execution>;
|
|
1146
1146
|
readonly writeFile: Tool.Tool<"writeFile", {
|
|
1147
1147
|
readonly parameters: Schema.Struct<{
|
|
1148
1148
|
readonly path: Schema.String;
|
|
@@ -1151,7 +1151,7 @@ export declare const AgentToolHandlersTest: Layer.Layer<Tool.HandlersFor<{
|
|
|
1151
1151
|
readonly success: Schema.Void;
|
|
1152
1152
|
readonly failure: Schema.Never;
|
|
1153
1153
|
readonly failureMode: "error";
|
|
1154
|
-
}, CurrentDirectory>;
|
|
1154
|
+
}, CurrentDirectory, Tool.Execution>;
|
|
1155
1155
|
}>, never, ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | Path.Path>;
|
|
1156
1156
|
export {};
|
|
1157
1157
|
//# sourceMappingURL=AgentTools.d.ts.map
|