@polka-codes/core 0.9.19 → 0.9.20

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.
@@ -1,13 +1,14 @@
1
1
  import type { FilePart } from 'ai';
2
2
  import type { ImagePart } from 'ai';
3
+ import type { JSONValue } from '@ai-sdk/provider';
3
4
  import type { LanguageModelV2 } from '@ai-sdk/provider';
5
+ import type { LanguageModelV2ToolResultOutput } from '@ai-sdk/provider';
4
6
  import type { LanguageModelV2Usage } from '@ai-sdk/provider';
5
7
  import type { ModelMessage } from '@ai-sdk/provider-utils';
6
8
  import type { ModelMessage as ModelMessage_2 } from 'ai';
7
9
  import type { TextPart } from 'ai';
8
10
  import type { ToolModelMessage } from '@ai-sdk/provider-utils';
9
11
  import type { UserContent } from '@ai-sdk/provider-utils';
10
- import type { UserContent as UserContent_2 } from 'ai';
11
12
  import type { UserModelMessage } from '@ai-sdk/provider-utils';
12
13
  import { z } from 'zod';
13
14
 
@@ -25,7 +26,7 @@ declare abstract class AgentBase {
25
26
  step(prompt: UserContent): Promise<AssistantMessageContent[]>;
26
27
  handleStepResponse(response: AssistantMessageContent[]): Promise<{
27
28
  type: "reply";
28
- message: UserModelMessage | ToolModelMessage;
29
+ message: (UserModelMessage | ToolModelMessage)[];
29
30
  } | {
30
31
  type: "exit";
31
32
  reason: ExitReason;
@@ -146,12 +147,13 @@ export declare namespace allTools {
146
147
  _default_5 as fetchUrl,
147
148
  _default_6 as handOver,
148
149
  _default_7 as listFiles,
149
- _default_8 as readFile,
150
- _default_9 as removeFile,
151
- _default_10 as renameFile,
152
- _default_11 as replaceInFile,
153
- _default_12 as searchFiles,
154
- _default_13 as writeToFile
150
+ _default_8 as readBinaryFile,
151
+ _default_9 as readFile,
152
+ _default_10 as removeFile,
153
+ _default_11 as renameFile,
154
+ _default_12 as replaceInFile,
155
+ _default_13 as searchFiles,
156
+ _default_14 as writeToFile
155
157
  }
156
158
  }
157
159
 
@@ -406,6 +408,28 @@ export { _default as askFollowupQuestion_alias_2 }
406
408
  export { _default as default_alias_6 }
407
409
 
408
410
  declare const _default_10: {
411
+ handler: ToolHandler<{
412
+ readonly name: "remove_file";
413
+ readonly description: "Request to remove a file at the specified path.";
414
+ readonly parameters: z.ZodObject<{
415
+ path: z.ZodString;
416
+ }, z.core.$strip>;
417
+ readonly permissionLevel: PermissionLevel.Write;
418
+ }, FilesystemProvider>;
419
+ isAvailable: (provider: FilesystemProvider) => boolean;
420
+ name: "remove_file";
421
+ description: "Request to remove a file at the specified path.";
422
+ parameters: z.ZodObject<{
423
+ path: z.ZodString;
424
+ }, z.core.$strip>;
425
+ permissionLevel: PermissionLevel.Write;
426
+ };
427
+ export { _default_10 as default_alias_15 }
428
+ export { _default_10 as removeFile }
429
+ export { _default_10 as removeFile_alias_1 }
430
+ export { _default_10 as removeFile_alias_2 }
431
+
432
+ declare const _default_11: {
409
433
  handler: ToolHandler<{
410
434
  readonly name: "rename_file";
411
435
  readonly description: "Request to rename a file from source path to target path.";
@@ -424,12 +448,12 @@ declare const _default_10: {
424
448
  }, z.core.$strip>;
425
449
  permissionLevel: PermissionLevel.Write;
426
450
  };
427
- export { _default_10 as default_alias_15 }
428
- export { _default_10 as renameFile }
429
- export { _default_10 as renameFile_alias_1 }
430
- export { _default_10 as renameFile_alias_2 }
451
+ export { _default_11 as default_alias_16 }
452
+ export { _default_11 as renameFile }
453
+ export { _default_11 as renameFile_alias_1 }
454
+ export { _default_11 as renameFile_alias_2 }
431
455
 
432
- declare const _default_11: {
456
+ declare const _default_12: {
433
457
  handler: ToolHandler<{
434
458
  readonly name: "replace_in_file";
435
459
  readonly description: "Request to replace sections of content in an existing file using SEARCH/REPLACE blocks that define exact changes to specific parts of the file. This tool should be used when you need to make targeted changes to specific parts of a file.";
@@ -448,12 +472,12 @@ declare const _default_11: {
448
472
  }, z.core.$strip>;
449
473
  permissionLevel: PermissionLevel.Write;
450
474
  };
451
- export { _default_11 as default_alias_16 }
452
- export { _default_11 as replaceInFile }
453
- export { _default_11 as replaceInFile_alias_1 }
454
- export { _default_11 as replaceInFile_alias_2 }
475
+ export { _default_12 as default_alias_17 }
476
+ export { _default_12 as replaceInFile }
477
+ export { _default_12 as replaceInFile_alias_1 }
478
+ export { _default_12 as replaceInFile_alias_2 }
455
479
 
456
- declare const _default_12: {
480
+ declare const _default_13: {
457
481
  handler: ToolHandler<{
458
482
  readonly name: "search_files";
459
483
  readonly description: "Request to perform a regex search across files in a specified directory, outputting context-rich results that include surrounding lines. This tool searches for patterns or specific content across multiple files, displaying each match with encapsulating context.";
@@ -474,12 +498,12 @@ declare const _default_12: {
474
498
  }, z.core.$strip>;
475
499
  permissionLevel: PermissionLevel.Read;
476
500
  };
477
- export { _default_12 as default_alias_17 }
478
- export { _default_12 as searchFiles }
479
- export { _default_12 as searchFiles_alias_1 }
480
- export { _default_12 as searchFiles_alias_2 }
501
+ export { _default_13 as default_alias_18 }
502
+ export { _default_13 as searchFiles }
503
+ export { _default_13 as searchFiles_alias_1 }
504
+ export { _default_13 as searchFiles_alias_2 }
481
505
 
482
- declare const _default_13: {
506
+ declare const _default_14: {
483
507
  handler: ToolHandler<{
484
508
  readonly name: "write_to_file";
485
509
  readonly description: "Request to write content to a file at the specified path. If the file exists, it will be overwritten with the provided content. If the file doesn't exist, it will be created. This tool will automatically create any directories needed to write the file. Ensure that the output content does not include incorrect escaped character patterns such as `&lt;`, `&gt;`, or `&amp;`. Also ensure there is no unwanted CDATA tags in the content.";
@@ -498,10 +522,10 @@ declare const _default_13: {
498
522
  }, z.core.$strip>;
499
523
  permissionLevel: PermissionLevel.Write;
500
524
  };
501
- export { _default_13 as default_alias_18 }
502
- export { _default_13 as writeToFile }
503
- export { _default_13 as writeToFile_alias_1 }
504
- export { _default_13 as writeToFile_alias_2 }
525
+ export { _default_14 as default_alias_19 }
526
+ export { _default_14 as writeToFile }
527
+ export { _default_14 as writeToFile_alias_1 }
528
+ export { _default_14 as writeToFile_alias_2 }
505
529
 
506
530
  declare const _default_2: {
507
531
  handler: ToolHandler<{
@@ -657,49 +681,49 @@ export { _default_7 as listFiles_alias_2 }
657
681
 
658
682
  declare const _default_8: {
659
683
  handler: ToolHandler<{
660
- readonly name: "read_file";
661
- readonly description: "Request to read the contents of one or multiple files at the specified paths. Use comma separated paths to read multiple files. Use this when you need to examine the contents of an existing file you do not know the contents of, for example to analyze code, review text files, or extract information from configuration files. May not be suitable for other types of binary files, as it returns the raw content as a string. Try to list all the potential files are relevent to the task, and then use this tool to read all the relevant files.";
684
+ readonly name: "read_binary_file";
685
+ readonly description: "Read a binary file from a URL or local path. Use file:// prefix to access local files. This can be used to access non-text files such as PDFs or images.";
662
686
  readonly parameters: z.ZodObject<{
663
- path: z.ZodPipe<z.ZodTransform<string[], unknown>, z.ZodArray<z.ZodString>>;
664
- includeIgnored: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
687
+ url: z.ZodString;
665
688
  }, z.core.$strip>;
666
689
  readonly permissionLevel: PermissionLevel.Read;
667
690
  }, FilesystemProvider>;
668
691
  isAvailable: (provider: FilesystemProvider) => boolean;
669
- name: "read_file";
670
- description: "Request to read the contents of one or multiple files at the specified paths. Use comma separated paths to read multiple files. Use this when you need to examine the contents of an existing file you do not know the contents of, for example to analyze code, review text files, or extract information from configuration files. May not be suitable for other types of binary files, as it returns the raw content as a string. Try to list all the potential files are relevent to the task, and then use this tool to read all the relevant files.";
692
+ name: "read_binary_file";
693
+ description: "Read a binary file from a URL or local path. Use file:// prefix to access local files. This can be used to access non-text files such as PDFs or images.";
671
694
  parameters: z.ZodObject<{
672
- path: z.ZodPipe<z.ZodTransform<string[], unknown>, z.ZodArray<z.ZodString>>;
673
- includeIgnored: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
695
+ url: z.ZodString;
674
696
  }, z.core.$strip>;
675
697
  permissionLevel: PermissionLevel.Read;
676
698
  };
677
699
  export { _default_8 as default_alias_13 }
678
- export { _default_8 as readFile }
679
- export { _default_8 as readFile_alias_1 }
680
- export { _default_8 as readFile_alias_2 }
700
+ export { _default_8 as readBinaryFile }
701
+ export { _default_8 as readBinaryFile_alias_1 }
702
+ export { _default_8 as readBinaryFile_alias_2 }
681
703
 
682
704
  declare const _default_9: {
683
705
  handler: ToolHandler<{
684
- readonly name: "remove_file";
685
- readonly description: "Request to remove a file at the specified path.";
706
+ readonly name: "read_file";
707
+ readonly description: "Request to read the contents of one or multiple files at the specified paths. Use comma separated paths to read multiple files. Use this when you need to examine the contents of an existing file you do not know the contents of, for example to analyze code, review text files, or extract information from configuration files. May not be suitable for other types of binary files, as it returns the raw content as a string. Try to list all the potential files are relevent to the task, and then use this tool to read all the relevant files.";
686
708
  readonly parameters: z.ZodObject<{
687
- path: z.ZodString;
709
+ path: z.ZodPipe<z.ZodTransform<string[], unknown>, z.ZodArray<z.ZodString>>;
710
+ includeIgnored: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
688
711
  }, z.core.$strip>;
689
- readonly permissionLevel: PermissionLevel.Write;
712
+ readonly permissionLevel: PermissionLevel.Read;
690
713
  }, FilesystemProvider>;
691
714
  isAvailable: (provider: FilesystemProvider) => boolean;
692
- name: "remove_file";
693
- description: "Request to remove a file at the specified path.";
715
+ name: "read_file";
716
+ description: "Request to read the contents of one or multiple files at the specified paths. Use comma separated paths to read multiple files. Use this when you need to examine the contents of an existing file you do not know the contents of, for example to analyze code, review text files, or extract information from configuration files. May not be suitable for other types of binary files, as it returns the raw content as a string. Try to list all the potential files are relevent to the task, and then use this tool to read all the relevant files.";
694
717
  parameters: z.ZodObject<{
695
- path: z.ZodString;
718
+ path: z.ZodPipe<z.ZodTransform<string[], unknown>, z.ZodArray<z.ZodString>>;
719
+ includeIgnored: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
696
720
  }, z.core.$strip>;
697
- permissionLevel: PermissionLevel.Write;
721
+ permissionLevel: PermissionLevel.Read;
698
722
  };
699
723
  export { _default_9 as default_alias_14 }
700
- export { _default_9 as removeFile }
701
- export { _default_9 as removeFile_alias_1 }
702
- export { _default_9 as removeFile_alias_2 }
724
+ export { _default_9 as readFile }
725
+ export { _default_9 as readFile_alias_1 }
726
+ export { _default_9 as readFile_alias_2 }
703
727
 
704
728
  /**
705
729
  * AI tool for creating new projects based on user specifications.
@@ -846,6 +870,10 @@ declare type FilesystemProvider = {
846
870
  renameFile?: (sourcePath: string, targetPath: string) => Promise<void>;
847
871
  listFiles?: (path: string, recursive: boolean, maxCount: number, includeIgnored: boolean) => Promise<[string[], boolean]>;
848
872
  searchFiles?: (path: string, regex: string, filePattern: string) => Promise<string[]>;
873
+ readBinaryFile?: (url: string) => Promise<{
874
+ base64Data: string;
875
+ mediaType: string;
876
+ }>;
849
877
  };
850
878
  export { FilesystemProvider }
851
879
  export { FilesystemProvider as FilesystemProvider_alias_1 }
@@ -967,6 +995,8 @@ export declare const handler_alias_12: ToolHandler<typeof toolInfo_alias_12, Fil
967
995
 
968
996
  export declare const handler_alias_13: ToolHandler<typeof toolInfo_alias_13, FilesystemProvider>;
969
997
 
998
+ export declare const handler_alias_14: ToolHandler<typeof toolInfo_alias_14, FilesystemProvider>;
999
+
970
1000
  export declare const handler_alias_2: ToolHandler<typeof toolInfo_alias_2, InteractionProvider>;
971
1001
 
972
1002
  export declare const handler_alias_3: ToolHandler<typeof toolInfo_alias_3, any>;
@@ -1022,6 +1052,8 @@ export declare const isAvailable_alias_12: (provider: FilesystemProvider) => boo
1022
1052
 
1023
1053
  export declare const isAvailable_alias_13: (provider: FilesystemProvider) => boolean;
1024
1054
 
1055
+ export declare const isAvailable_alias_14: (provider: FilesystemProvider) => boolean;
1056
+
1025
1057
  export declare const isAvailable_alias_2: (_provider: InteractionProvider) => boolean;
1026
1058
 
1027
1059
  export declare const isAvailable_alias_3: (_provider: any) => boolean;
@@ -1225,7 +1257,7 @@ declare const responsePrompts: {
1225
1257
  readonly errorInvokeTool: (tool: string, error: unknown) => string;
1226
1258
  readonly requireUseTool: "Error: No tool use detected. You MUST use a tool before proceeding.\ne.g. <tool_tool_name>tool_name</tool_tool_name>\n\nEnsure the opening and closing tags are correctly nested and closed, and that you are using the correct tool name.\nAvoid unnecessary text or symbols before or after the tool use.\nAvoid unnecessary escape characters or special characters.\n";
1227
1259
  readonly requireUseToolNative: "Error: No tool use detected. You MUST use a tool before proceeding.\n";
1228
- readonly toolResults: (tool: string, result: UserContent_2) => Array<TextPart | ImagePart | FilePart>;
1260
+ readonly toolResults: (tool: string, result: LanguageModelV2ToolResultOutput) => Array<TextPart | ImagePart | FilePart>;
1229
1261
  readonly commandResult: (command: string, exitCode: number, stdout: string, stderr: string) => string;
1230
1262
  };
1231
1263
  export { responsePrompts }
@@ -1370,7 +1402,7 @@ export { TaskEventKind as TaskEventKind_alias_2 }
1370
1402
  */
1371
1403
  declare interface TaskEventStartRequest extends TaskEventBase {
1372
1404
  kind: TaskEventKind.StartRequest;
1373
- userMessage: ModelMessage;
1405
+ userMessage: ModelMessage[];
1374
1406
  }
1375
1407
  export { TaskEventStartRequest }
1376
1408
  export { TaskEventStartRequest as TaskEventStartRequest_alias_1 }
@@ -1513,6 +1545,15 @@ export declare const toolInfo_alias_1: {
1513
1545
  };
1514
1546
 
1515
1547
  export declare const toolInfo_alias_10: {
1548
+ readonly name: "remove_file";
1549
+ readonly description: "Request to remove a file at the specified path.";
1550
+ readonly parameters: z.ZodObject<{
1551
+ path: z.ZodString;
1552
+ }, z.core.$strip>;
1553
+ readonly permissionLevel: PermissionLevel.Write;
1554
+ };
1555
+
1556
+ export declare const toolInfo_alias_11: {
1516
1557
  readonly name: "rename_file";
1517
1558
  readonly description: "Request to rename a file from source path to target path.";
1518
1559
  readonly parameters: z.ZodObject<{
@@ -1522,7 +1563,7 @@ export declare const toolInfo_alias_10: {
1522
1563
  readonly permissionLevel: PermissionLevel.Write;
1523
1564
  };
1524
1565
 
1525
- export declare const toolInfo_alias_11: {
1566
+ export declare const toolInfo_alias_12: {
1526
1567
  readonly name: "replace_in_file";
1527
1568
  readonly description: "Request to replace sections of content in an existing file using SEARCH/REPLACE blocks that define exact changes to specific parts of the file. This tool should be used when you need to make targeted changes to specific parts of a file.";
1528
1569
  readonly parameters: z.ZodObject<{
@@ -1532,7 +1573,7 @@ export declare const toolInfo_alias_11: {
1532
1573
  readonly permissionLevel: PermissionLevel.Write;
1533
1574
  };
1534
1575
 
1535
- export declare const toolInfo_alias_12: {
1576
+ export declare const toolInfo_alias_13: {
1536
1577
  readonly name: "search_files";
1537
1578
  readonly description: "Request to perform a regex search across files in a specified directory, outputting context-rich results that include surrounding lines. This tool searches for patterns or specific content across multiple files, displaying each match with encapsulating context.";
1538
1579
  readonly parameters: z.ZodObject<{
@@ -1543,7 +1584,7 @@ export declare const toolInfo_alias_12: {
1543
1584
  readonly permissionLevel: PermissionLevel.Read;
1544
1585
  };
1545
1586
 
1546
- export declare const toolInfo_alias_13: {
1587
+ export declare const toolInfo_alias_14: {
1547
1588
  readonly name: "write_to_file";
1548
1589
  readonly description: "Request to write content to a file at the specified path. If the file exists, it will be overwritten with the provided content. If the file doesn't exist, it will be created. This tool will automatically create any directories needed to write the file. Ensure that the output content does not include incorrect escaped character patterns such as `&lt;`, `&gt;`, or `&amp;`. Also ensure there is no unwanted CDATA tags in the content.";
1549
1590
  readonly parameters: z.ZodObject<{
@@ -1618,22 +1659,22 @@ export declare const toolInfo_alias_7: {
1618
1659
  };
1619
1660
 
1620
1661
  export declare const toolInfo_alias_8: {
1621
- readonly name: "read_file";
1622
- readonly description: "Request to read the contents of one or multiple files at the specified paths. Use comma separated paths to read multiple files. Use this when you need to examine the contents of an existing file you do not know the contents of, for example to analyze code, review text files, or extract information from configuration files. May not be suitable for other types of binary files, as it returns the raw content as a string. Try to list all the potential files are relevent to the task, and then use this tool to read all the relevant files.";
1662
+ readonly name: "read_binary_file";
1663
+ readonly description: "Read a binary file from a URL or local path. Use file:// prefix to access local files. This can be used to access non-text files such as PDFs or images.";
1623
1664
  readonly parameters: z.ZodObject<{
1624
- path: z.ZodPipe<z.ZodTransform<string[], unknown>, z.ZodArray<z.ZodString>>;
1625
- includeIgnored: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
1665
+ url: z.ZodString;
1626
1666
  }, z.core.$strip>;
1627
1667
  readonly permissionLevel: PermissionLevel.Read;
1628
1668
  };
1629
1669
 
1630
1670
  export declare const toolInfo_alias_9: {
1631
- readonly name: "remove_file";
1632
- readonly description: "Request to remove a file at the specified path.";
1671
+ readonly name: "read_file";
1672
+ readonly description: "Request to read the contents of one or multiple files at the specified paths. Use comma separated paths to read multiple files. Use this when you need to examine the contents of an existing file you do not know the contents of, for example to analyze code, review text files, or extract information from configuration files. May not be suitable for other types of binary files, as it returns the raw content as a string. Try to list all the potential files are relevent to the task, and then use this tool to read all the relevant files.";
1633
1673
  readonly parameters: z.ZodObject<{
1634
- path: z.ZodString;
1674
+ path: z.ZodPipe<z.ZodTransform<string[], unknown>, z.ZodArray<z.ZodString>>;
1675
+ includeIgnored: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
1635
1676
  }, z.core.$strip>;
1636
- readonly permissionLevel: PermissionLevel.Write;
1677
+ readonly permissionLevel: PermissionLevel.Read;
1637
1678
  };
1638
1679
 
1639
1680
  declare type ToolInfoV2 = {
@@ -1683,7 +1724,7 @@ export { ToolResponseDelegate as ToolResponseDelegate_alias_1 }
1683
1724
 
1684
1725
  declare type ToolResponseError = {
1685
1726
  type: ToolResponseType.Error;
1686
- message: string;
1727
+ message: ToolResponseResult;
1687
1728
  canRetry?: boolean;
1688
1729
  };
1689
1730
  export { ToolResponseError }
@@ -1716,7 +1757,7 @@ export { ToolResponseInterrupted as ToolResponseInterrupted_alias_1 }
1716
1757
 
1717
1758
  declare type ToolResponseInvalid = {
1718
1759
  type: ToolResponseType.Invalid;
1719
- message: string;
1760
+ message: ToolResponseResult;
1720
1761
  };
1721
1762
  export { ToolResponseInvalid }
1722
1763
  export { ToolResponseInvalid as ToolResponseInvalid_alias_1 }
@@ -1724,7 +1765,7 @@ export { ToolResponseInvalid as ToolResponseInvalid_alias_1 }
1724
1765
  declare type ToolResponseOrToolPause = {
1725
1766
  type: 'response';
1726
1767
  tool: string;
1727
- response: UserContent;
1768
+ response: LanguageModelV2ToolResultOutput;
1728
1769
  id?: string;
1729
1770
  } | {
1730
1771
  type: 'pause';
@@ -1745,11 +1786,42 @@ export { ToolResponsePause as ToolResponsePause_alias_1 }
1745
1786
 
1746
1787
  declare type ToolResponseReply = {
1747
1788
  type: ToolResponseType.Reply;
1748
- message: UserContent;
1789
+ message: ToolResponseResult;
1749
1790
  };
1750
1791
  export { ToolResponseReply }
1751
1792
  export { ToolResponseReply as ToolResponseReply_alias_1 }
1752
1793
 
1794
+ declare type ToolResponseResult = {
1795
+ type: 'text';
1796
+ value: string;
1797
+ } | {
1798
+ type: 'json';
1799
+ value: JSONValue;
1800
+ } | {
1801
+ type: 'error-text';
1802
+ value: string;
1803
+ } | {
1804
+ type: 'error-json';
1805
+ value: JSONValue;
1806
+ } | {
1807
+ type: 'content';
1808
+ value: Array<{
1809
+ type: 'text';
1810
+ text: string;
1811
+ } | ToolResponseResultMedia>;
1812
+ };
1813
+ export { ToolResponseResult }
1814
+ export { ToolResponseResult as ToolResponseResult_alias_1 }
1815
+
1816
+ declare type ToolResponseResultMedia = {
1817
+ type: 'media';
1818
+ base64Data: string;
1819
+ mediaType: string;
1820
+ url: string;
1821
+ };
1822
+ export { ToolResponseResultMedia }
1823
+ export { ToolResponseResultMedia as ToolResponseResultMedia_alias_1 }
1824
+
1753
1825
  declare enum ToolResponseType {
1754
1826
  Reply = "Reply",
1755
1827
  Exit = "Exit",
package/dist/index.d.ts CHANGED
@@ -78,6 +78,8 @@ export { ToolInfoV2 } from './_tsup-dts-rollup.js';
78
78
  export { FullToolInfo } from './_tsup-dts-rollup.js';
79
79
  export { FullToolInfoV2 } from './_tsup-dts-rollup.js';
80
80
  export { ToolResponseType } from './_tsup-dts-rollup.js';
81
+ export { ToolResponseResultMedia } from './_tsup-dts-rollup.js';
82
+ export { ToolResponseResult } from './_tsup-dts-rollup.js';
81
83
  export { ToolResponseReply } from './_tsup-dts-rollup.js';
82
84
  export { ToolResponseExit } from './_tsup-dts-rollup.js';
83
85
  export { ToolResponseInvalid } from './_tsup-dts-rollup.js';
@@ -96,6 +98,7 @@ export { executeCommand } from './_tsup-dts-rollup.js';
96
98
  export { fetchUrl } from './_tsup-dts-rollup.js';
97
99
  export { handOver } from './_tsup-dts-rollup.js';
98
100
  export { listFiles } from './_tsup-dts-rollup.js';
101
+ export { readBinaryFile } from './_tsup-dts-rollup.js';
99
102
  export { readFile } from './_tsup-dts-rollup.js';
100
103
  export { removeFile } from './_tsup-dts-rollup.js';
101
104
  export { renameFile } from './_tsup-dts-rollup.js';