@polka-codes/core 0.8.1 → 0.8.3

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.
@@ -51,6 +51,7 @@ declare type AgentBaseConfig = {
51
51
  description: string;
52
52
  }>;
53
53
  callback?: TaskEventCallback;
54
+ policies: AgentPolicy[];
54
55
  };
55
56
  export { AgentBaseConfig }
56
57
  export { AgentBaseConfig as AgentBaseConfig_alias_1 }
@@ -68,6 +69,22 @@ declare type AgentNameType = (typeof allAgents)[number]['name'];
68
69
  export { AgentNameType }
69
70
  export { AgentNameType as AgentNameType_alias_1 }
70
71
 
72
+ declare type AgentPolicy = (tools: Record<string, FullToolInfo>) => AgentPolicyInstance | undefined;
73
+ export { AgentPolicy }
74
+ export { AgentPolicy as AgentPolicy_alias_1 }
75
+ export { AgentPolicy as AgentPolicy_alias_2 }
76
+
77
+ declare type AgentPolicyInstance = {
78
+ name: string;
79
+ tools?: FullToolInfo[];
80
+ prompt?: string;
81
+ updateResponse?: (response: AssistantMessageContent[]) => Promise<AssistantMessageContent[]>;
82
+ onBeforeInvokeTool?: (name: string, args: Record<string, string>) => Promise<ToolResponse | undefined>;
83
+ };
84
+ export { AgentPolicyInstance }
85
+ export { AgentPolicyInstance as AgentPolicyInstance_alias_1 }
86
+ export { AgentPolicyInstance as AgentPolicyInstance_alias_2 }
87
+
71
88
  declare const agentsPrompt: (agents: Readonly<AgentInfo[]>, name: string) => string;
72
89
  export { agentsPrompt }
73
90
  export { agentsPrompt as agentsPrompt_alias_1 }
@@ -153,10 +170,11 @@ export declare namespace allTools {
153
170
  _default_7 as readFile,
154
171
  _default_8 as replaceInFile,
155
172
  _default_9 as searchFiles,
156
- _default_10 as writeToFile,
157
- _default_11 as handOver,
158
- _default_12 as removeFile,
159
- _default_13 as renameFile
173
+ _default_10 as updateKnowledge,
174
+ _default_11 as writeToFile,
175
+ _default_12 as handOver,
176
+ _default_13 as removeFile,
177
+ _default_14 as renameFile
160
178
  }
161
179
  }
162
180
 
@@ -557,6 +575,7 @@ declare const configSchema: z.ZodObject<{
557
575
  }>, "strip">>>;
558
576
  rules: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodArray<z.ZodString, "many">>, z.ZodString]>>;
559
577
  excludeFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
578
+ policies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
560
579
  }, "strict", z.ZodTypeAny, {
561
580
  agent?: string | undefined;
562
581
  prices?: Record<string, Record<string, {
@@ -617,6 +636,7 @@ declare const configSchema: z.ZodObject<{
617
636
  }>, "strip"> | undefined;
618
637
  rules?: string | string[] | undefined;
619
638
  excludeFiles?: string[] | undefined;
639
+ policies?: string[] | undefined;
620
640
  }, {
621
641
  agent?: string | undefined;
622
642
  prices?: Record<string, Record<string, {
@@ -677,6 +697,7 @@ declare const configSchema: z.ZodObject<{
677
697
  }>, "strip"> | undefined;
678
698
  rules?: string | string[] | undefined;
679
699
  excludeFiles?: string[] | undefined;
700
+ policies?: string[] | undefined;
680
701
  }>;
681
702
  export { configSchema }
682
703
  export { configSchema as configSchema_alias_1 }
@@ -821,9 +842,139 @@ export { _default as askFollowupQuestion_alias_2 }
821
842
  export { _default as default_alias_4 }
822
843
 
823
844
  declare const _default_10: {
845
+ handler: ToolHandler<{
846
+ readonly name: "update_knowledge";
847
+ readonly description: "Update knowledge in a knowledge.ai.yml file with smart merging capabilities. This tool lets you add, update, or remove information using path-based updates and special directives.";
848
+ readonly parameters: [{
849
+ readonly name: "path";
850
+ readonly description: "Directory containing (or where to create) the knowledge.ai.yml file";
851
+ readonly required: true;
852
+ readonly usageValue: "Directory path here";
853
+ }, {
854
+ readonly name: "knowledge";
855
+ readonly description: "YAML content to merge into the knowledge file";
856
+ readonly required: true;
857
+ readonly usageValue: "YAML content with knowledge to update";
858
+ }];
859
+ readonly examples: [{
860
+ readonly description: "Add a new file entry";
861
+ readonly parameters: [{
862
+ readonly name: "path";
863
+ readonly value: "src/utils";
864
+ }, {
865
+ readonly name: "knowledge";
866
+ readonly value: "files:\n \"newFile.ts\":\n description: \"A new utility file\"\n api:\n functions:\n 1:\n name: \"processData\"\n params:\n 1: { name: \"data\", type: \"object\" }\n returns: \"object\"";
867
+ }];
868
+ }, {
869
+ readonly description: "Update an existing file description";
870
+ readonly parameters: [{
871
+ readonly name: "path";
872
+ readonly value: "src/utils";
873
+ }, {
874
+ readonly name: "knowledge";
875
+ readonly value: "files:\n \"existingFile.ts\":\n description: \"Updated description for the file\"";
876
+ }];
877
+ }, {
878
+ readonly description: "Add a new rule";
879
+ readonly parameters: [{
880
+ readonly name: "path";
881
+ readonly value: "src";
882
+ }, {
883
+ readonly name: "knowledge";
884
+ readonly value: "rules:\n 10: \"New rule to follow\"";
885
+ }];
886
+ }, {
887
+ readonly description: "Remove a rule";
888
+ readonly parameters: [{
889
+ readonly name: "path";
890
+ readonly value: "src";
891
+ }, {
892
+ readonly name: "knowledge";
893
+ readonly value: "rules:\n 5: null";
894
+ }];
895
+ }, {
896
+ readonly description: "Update nested properties using dot notation";
897
+ readonly parameters: [{
898
+ readonly name: "path";
899
+ readonly value: "src/components";
900
+ }, {
901
+ readonly name: "knowledge";
902
+ readonly value: "files.Button.tsx.api.functions.1.description: \"Updated function description\"";
903
+ }];
904
+ }];
905
+ readonly permissionLevel: PermissionLevel.Write;
906
+ }, FilesystemProvider>;
907
+ isAvailable: (provider: FilesystemProvider) => boolean;
908
+ name: "update_knowledge";
909
+ description: "Update knowledge in a knowledge.ai.yml file with smart merging capabilities. This tool lets you add, update, or remove information using path-based updates and special directives.";
910
+ parameters: [{
911
+ readonly name: "path";
912
+ readonly description: "Directory containing (or where to create) the knowledge.ai.yml file";
913
+ readonly required: true;
914
+ readonly usageValue: "Directory path here";
915
+ }, {
916
+ readonly name: "knowledge";
917
+ readonly description: "YAML content to merge into the knowledge file";
918
+ readonly required: true;
919
+ readonly usageValue: "YAML content with knowledge to update";
920
+ }];
921
+ examples: [{
922
+ readonly description: "Add a new file entry";
923
+ readonly parameters: [{
924
+ readonly name: "path";
925
+ readonly value: "src/utils";
926
+ }, {
927
+ readonly name: "knowledge";
928
+ readonly value: "files:\n \"newFile.ts\":\n description: \"A new utility file\"\n api:\n functions:\n 1:\n name: \"processData\"\n params:\n 1: { name: \"data\", type: \"object\" }\n returns: \"object\"";
929
+ }];
930
+ }, {
931
+ readonly description: "Update an existing file description";
932
+ readonly parameters: [{
933
+ readonly name: "path";
934
+ readonly value: "src/utils";
935
+ }, {
936
+ readonly name: "knowledge";
937
+ readonly value: "files:\n \"existingFile.ts\":\n description: \"Updated description for the file\"";
938
+ }];
939
+ }, {
940
+ readonly description: "Add a new rule";
941
+ readonly parameters: [{
942
+ readonly name: "path";
943
+ readonly value: "src";
944
+ }, {
945
+ readonly name: "knowledge";
946
+ readonly value: "rules:\n 10: \"New rule to follow\"";
947
+ }];
948
+ }, {
949
+ readonly description: "Remove a rule";
950
+ readonly parameters: [{
951
+ readonly name: "path";
952
+ readonly value: "src";
953
+ }, {
954
+ readonly name: "knowledge";
955
+ readonly value: "rules:\n 5: null";
956
+ }];
957
+ }, {
958
+ readonly description: "Update nested properties using dot notation";
959
+ readonly parameters: [{
960
+ readonly name: "path";
961
+ readonly value: "src/components";
962
+ }, {
963
+ readonly name: "knowledge";
964
+ readonly value: "files.Button.tsx.api.functions.1.description: \"Updated function description\"";
965
+ }];
966
+ }];
967
+ permissionLevel: PermissionLevel.Write;
968
+ };
969
+ export { _default_10 as default_alias_16 }
970
+ export { _default_10 as updateKnowledge }
971
+ export { _default_10 as updateKnowledge_alias_1 }
972
+ export { _default_10 as updateKnowledge_alias_2 }
973
+
974
+ declare const _default_11: {
824
975
  handler: ToolHandler<{
825
976
  readonly name: "write_to_file";
826
- 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.";
977
+ 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;` and `&gt;`.";
827
978
  readonly parameters: [{
828
979
  readonly name: "path";
829
980
  readonly description: "The path of the file to write to";
@@ -849,7 +1000,7 @@ declare const _default_10: {
849
1000
  }, FilesystemProvider>;
850
1001
  isAvailable: (provider: FilesystemProvider) => boolean;
851
1002
  name: "write_to_file";
852
- 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.";
1003
+ 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;` and `&gt;`.";
853
1004
  parameters: [{
854
1005
  readonly name: "path";
855
1006
  readonly description: "The path of the file to write to";
@@ -873,12 +1024,12 @@ declare const _default_10: {
873
1024
  }];
874
1025
  permissionLevel: PermissionLevel.Write;
875
1026
  };
876
- export { _default_10 as default_alias_16 }
877
- export { _default_10 as writeToFile }
878
- export { _default_10 as writeToFile_alias_1 }
879
- export { _default_10 as writeToFile_alias_2 }
1027
+ export { _default_11 as default_alias_17 }
1028
+ export { _default_11 as writeToFile }
1029
+ export { _default_11 as writeToFile_alias_1 }
1030
+ export { _default_11 as writeToFile_alias_2 }
880
1031
 
881
- declare const _default_11: {
1032
+ declare const _default_12: {
882
1033
  handler: ToolHandler<{
883
1034
  readonly name: "hand_over";
884
1035
  readonly description: "Hand over the current task to another agent to complete. This tool MUST NOT to be used with any other tool.";
@@ -963,12 +1114,12 @@ declare const _default_11: {
963
1114
  }];
964
1115
  permissionLevel: PermissionLevel.None;
965
1116
  };
966
- export { _default_11 as default_alias_8 }
967
- export { _default_11 as handOver }
968
- export { _default_11 as handOver_alias_1 }
969
- export { _default_11 as handOver_alias_2 }
1117
+ export { _default_12 as default_alias_8 }
1118
+ export { _default_12 as handOver }
1119
+ export { _default_12 as handOver_alias_1 }
1120
+ export { _default_12 as handOver_alias_2 }
970
1121
 
971
- declare const _default_12: {
1122
+ declare const _default_13: {
972
1123
  handler: ToolHandler<{
973
1124
  readonly name: "remove_file";
974
1125
  readonly description: "Request to remove a file at the specified path.";
@@ -1005,12 +1156,12 @@ declare const _default_12: {
1005
1156
  }];
1006
1157
  permissionLevel: PermissionLevel.Write;
1007
1158
  };
1008
- export { _default_12 as default_alias_12 }
1009
- export { _default_12 as removeFile }
1010
- export { _default_12 as removeFile_alias_1 }
1011
- export { _default_12 as removeFile_alias_2 }
1159
+ export { _default_13 as default_alias_12 }
1160
+ export { _default_13 as removeFile }
1161
+ export { _default_13 as removeFile_alias_1 }
1162
+ export { _default_13 as removeFile_alias_2 }
1012
1163
 
1013
- declare const _default_13: {
1164
+ declare const _default_14: {
1014
1165
  handler: ToolHandler<{
1015
1166
  readonly name: "rename_file";
1016
1167
  readonly description: "Request to rename a file from source path to target path.";
@@ -1063,10 +1214,10 @@ declare const _default_13: {
1063
1214
  }];
1064
1215
  permissionLevel: PermissionLevel.Write;
1065
1216
  };
1066
- export { _default_13 as default_alias_13 }
1067
- export { _default_13 as renameFile }
1068
- export { _default_13 as renameFile_alias_1 }
1069
- export { _default_13 as renameFile_alias_2 }
1217
+ export { _default_14 as default_alias_13 }
1218
+ export { _default_14 as renameFile }
1219
+ export { _default_14 as renameFile_alias_1 }
1220
+ export { _default_14 as renameFile_alias_2 }
1070
1221
 
1071
1222
  declare const _default_2: {
1072
1223
  handler: ToolHandler<{
@@ -1634,7 +1785,7 @@ export { ExitReason as ExitReason_alias_1 }
1634
1785
  export { ExitReason as ExitReason_alias_2 }
1635
1786
 
1636
1787
  declare type FilesystemProvider = {
1637
- readFile?: (path: string) => Promise<string>;
1788
+ readFile?: (path: string) => Promise<string | undefined>;
1638
1789
  writeFile?: (path: string, content: string) => Promise<void>;
1639
1790
  removeFile?: (path: string) => Promise<void>;
1640
1791
  renameFile?: (sourcePath: string, targetPath: string) => Promise<void>;
@@ -1769,6 +1920,8 @@ export declare const handler_alias_11: ToolHandler<typeof toolInfo_alias_11, Fil
1769
1920
 
1770
1921
  export declare const handler_alias_12: ToolHandler<typeof toolInfo_alias_12, FilesystemProvider>;
1771
1922
 
1923
+ export declare const handler_alias_13: ToolHandler<typeof toolInfo_alias_13, FilesystemProvider>;
1924
+
1772
1925
  export declare const handler_alias_2: ToolHandler<typeof toolInfo_alias_2, any>;
1773
1926
 
1774
1927
  export declare const handler_alias_3: ToolHandler<typeof toolInfo_alias_3, CommandProvider>;
@@ -1810,6 +1963,8 @@ export declare const isAvailable_alias_11: (provider: FilesystemProvider) => boo
1810
1963
 
1811
1964
  export declare const isAvailable_alias_12: (provider: FilesystemProvider) => boolean;
1812
1965
 
1966
+ export declare const isAvailable_alias_13: (provider: FilesystemProvider) => boolean;
1967
+
1813
1968
  export declare const isAvailable_alias_2: (_provider: any) => boolean;
1814
1969
 
1815
1970
  export declare const isAvailable_alias_3: (provider: CommandProvider) => boolean;
@@ -1826,6 +1981,26 @@ export declare const isAvailable_alias_8: (provider: FilesystemProvider) => bool
1826
1981
 
1827
1982
  export declare const isAvailable_alias_9: (provider: FilesystemProvider) => boolean;
1828
1983
 
1984
+ declare const KnowledgeManagementPolicy: (tools: Parameters<AgentPolicy>[0]) => {
1985
+ name: Policies;
1986
+ tools: FullToolInfo[];
1987
+ prompt: string | undefined;
1988
+ getKnowledgeFilePaths(inputFiles: string[]): Promise<string[]>;
1989
+ updateResponse(response: AssistantMessageContent[]): Promise<(TextContent | ToolUse | {
1990
+ readonly type: "tool_use";
1991
+ readonly name: "read_file";
1992
+ readonly params: {
1993
+ readonly path: string;
1994
+ };
1995
+ })[]>;
1996
+ } | undefined;
1997
+ export { KnowledgeManagementPolicy }
1998
+ export { KnowledgeManagementPolicy as KnowledgeManagementPolicy_alias_1 }
1999
+ export { KnowledgeManagementPolicy as KnowledgeManagementPolicy_alias_2 }
2000
+ export { KnowledgeManagementPolicy as KnowledgeManagementPolicy_alias_3 }
2001
+
2002
+ export declare type KnowledgeManagementPolicyInstance = NonNullable<ReturnType<typeof KnowledgeManagementPolicy>>;
2003
+
1829
2004
  declare const makeAgentTool: <T extends AiToolDefinition<any, any>>(definition: T) => (agent: MultiAgent, params: GetInput<T>) => Promise<GetOutput<T>>;
1830
2005
  export { makeAgentTool }
1831
2006
  export { makeAgentTool as makeAgentTool_alias_1 }
@@ -1976,7 +2151,7 @@ export { MultiAgent as MultiAgent_alias_2 }
1976
2151
 
1977
2152
  declare type MultiAgentConfig = {
1978
2153
  createAgent: (name: string) => Promise<AgentBase>;
1979
- getPrompt?: (name: string, task: string, context?: string, files?: string[], originalTask?: string) => Promise<string>;
2154
+ getPrompt?: (name: string, task: string, context: string | undefined, files: string[] | undefined, originalTask: string | undefined) => Promise<string>;
1980
2155
  };
1981
2156
  export { MultiAgentConfig }
1982
2157
  export { MultiAgentConfig as MultiAgentConfig_alias_1 }
@@ -2069,6 +2244,12 @@ declare enum PermissionLevel {
2069
2244
  export { PermissionLevel }
2070
2245
  export { PermissionLevel as PermissionLevel_alias_1 }
2071
2246
 
2247
+ declare enum Policies {
2248
+ KnowledgeManagement = "knowledgemanagement"
2249
+ }
2250
+ export { Policies }
2251
+ export { Policies as Policies_alias_1 }
2252
+
2072
2253
  declare const replaceInFile_2: (fileContent: string, diff: string) => Promise<string>;
2073
2254
  export { replaceInFile_2 as replaceInFileHelper }
2074
2255
  export { replaceInFile_2 as replaceInFile_alias_3 }
@@ -2101,6 +2282,7 @@ declare type SharedAgentOptions = {
2101
2282
  }>;
2102
2283
  agents?: Readonly<AgentInfo[]>;
2103
2284
  callback?: TaskEventCallback;
2285
+ policies: AgentPolicy[];
2104
2286
  };
2105
2287
  export { SharedAgentOptions }
2106
2288
  export { SharedAgentOptions as SharedAgentOptions_alias_1 }
@@ -2420,8 +2602,71 @@ export declare const toolInfo_alias_11: {
2420
2602
  };
2421
2603
 
2422
2604
  export declare const toolInfo_alias_12: {
2605
+ readonly name: "update_knowledge";
2606
+ readonly description: "Update knowledge in a knowledge.ai.yml file with smart merging capabilities. This tool lets you add, update, or remove information using path-based updates and special directives.";
2607
+ readonly parameters: [{
2608
+ readonly name: "path";
2609
+ readonly description: "Directory containing (or where to create) the knowledge.ai.yml file";
2610
+ readonly required: true;
2611
+ readonly usageValue: "Directory path here";
2612
+ }, {
2613
+ readonly name: "knowledge";
2614
+ readonly description: "YAML content to merge into the knowledge file";
2615
+ readonly required: true;
2616
+ readonly usageValue: "YAML content with knowledge to update";
2617
+ }];
2618
+ readonly examples: [{
2619
+ readonly description: "Add a new file entry";
2620
+ readonly parameters: [{
2621
+ readonly name: "path";
2622
+ readonly value: "src/utils";
2623
+ }, {
2624
+ readonly name: "knowledge";
2625
+ readonly value: "files:\n \"newFile.ts\":\n description: \"A new utility file\"\n api:\n functions:\n 1:\n name: \"processData\"\n params:\n 1: { name: \"data\", type: \"object\" }\n returns: \"object\"";
2626
+ }];
2627
+ }, {
2628
+ readonly description: "Update an existing file description";
2629
+ readonly parameters: [{
2630
+ readonly name: "path";
2631
+ readonly value: "src/utils";
2632
+ }, {
2633
+ readonly name: "knowledge";
2634
+ readonly value: "files:\n \"existingFile.ts\":\n description: \"Updated description for the file\"";
2635
+ }];
2636
+ }, {
2637
+ readonly description: "Add a new rule";
2638
+ readonly parameters: [{
2639
+ readonly name: "path";
2640
+ readonly value: "src";
2641
+ }, {
2642
+ readonly name: "knowledge";
2643
+ readonly value: "rules:\n 10: \"New rule to follow\"";
2644
+ }];
2645
+ }, {
2646
+ readonly description: "Remove a rule";
2647
+ readonly parameters: [{
2648
+ readonly name: "path";
2649
+ readonly value: "src";
2650
+ }, {
2651
+ readonly name: "knowledge";
2652
+ readonly value: "rules:\n 5: null";
2653
+ }];
2654
+ }, {
2655
+ readonly description: "Update nested properties using dot notation";
2656
+ readonly parameters: [{
2657
+ readonly name: "path";
2658
+ readonly value: "src/components";
2659
+ }, {
2660
+ readonly name: "knowledge";
2661
+ readonly value: "files.Button.tsx.api.functions.1.description: \"Updated function description\"";
2662
+ }];
2663
+ }];
2664
+ readonly permissionLevel: PermissionLevel.Write;
2665
+ };
2666
+
2667
+ export declare const toolInfo_alias_13: {
2423
2668
  readonly name: "write_to_file";
2424
- 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.";
2669
+ 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;` and `&gt;`.";
2425
2670
  readonly parameters: [{
2426
2671
  readonly name: "path";
2427
2672
  readonly description: "The path of the file to write to";
package/dist/index.d.ts CHANGED
@@ -29,6 +29,8 @@ export { TaskEventCallback } from './_tsup-dts-rollup.js';
29
29
  export { SharedAgentOptions } from './_tsup-dts-rollup.js';
30
30
  export { AgentBaseConfig } from './_tsup-dts-rollup.js';
31
31
  export { AgentInfo } from './_tsup-dts-rollup.js';
32
+ export { AgentPolicyInstance } from './_tsup-dts-rollup.js';
33
+ export { AgentPolicy } from './_tsup-dts-rollup.js';
32
34
  export { ToolResponseOrToolPause } from './_tsup-dts-rollup.js';
33
35
  export { ExitReason } from './_tsup-dts-rollup.js';
34
36
  export { AgentBase } from './_tsup-dts-rollup.js';
@@ -57,6 +59,7 @@ export { parseAssistantMessage } from './_tsup-dts-rollup.js';
57
59
  export { TextContent } from './_tsup-dts-rollup.js';
58
60
  export { ToolUse } from './_tsup-dts-rollup.js';
59
61
  export { AssistantMessageContent } from './_tsup-dts-rollup.js';
62
+ export { KnowledgeManagementPolicy } from './_tsup-dts-rollup.js';
60
63
  export { allTools } from './_tsup-dts-rollup.js';
61
64
  export { FilesystemProvider } from './_tsup-dts-rollup.js';
62
65
  export { CommandProvider } from './_tsup-dts-rollup.js';
@@ -72,6 +75,7 @@ export { listFiles } from './_tsup-dts-rollup.js';
72
75
  export { readFile } from './_tsup-dts-rollup.js';
73
76
  export { replaceInFile } from './_tsup-dts-rollup.js';
74
77
  export { searchFiles } from './_tsup-dts-rollup.js';
78
+ export { updateKnowledge } from './_tsup-dts-rollup.js';
75
79
  export { writeToFile } from './_tsup-dts-rollup.js';
76
80
  export { handOver } from './_tsup-dts-rollup.js';
77
81
  export { removeFile } from './_tsup-dts-rollup.js';
@@ -114,6 +118,7 @@ export { ToolHandler } from './_tsup-dts-rollup.js';
114
118
  export { getAvailableTools_alias_1 as getAvailableTools } from './_tsup-dts-rollup.js';
115
119
  export { configSchema_alias_1 as configSchema } from './_tsup-dts-rollup.js';
116
120
  export { Config_alias_1 as Config } from './_tsup-dts-rollup.js';
121
+ export { Policies_alias_1 as Policies } from './_tsup-dts-rollup.js';
117
122
  export { getString } from './_tsup-dts-rollup.js';
118
123
  export { getStringArray } from './_tsup-dts-rollup.js';
119
124
  export { getBoolean } from './_tsup-dts-rollup.js';