@agentforge/tools 0.16.76 → 0.16.78

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,11 +1,38 @@
1
1
  import * as _agentforge_core from '@agentforge/core';
2
2
  import { LogLevel, HumanRequestPriority } from '@agentforge/core';
3
3
  import { z } from 'zod';
4
+ import { AxiosRequestConfig, AxiosResponse } from 'axios';
4
5
  import { SQL } from 'drizzle-orm';
5
6
  import { EventEmitter } from 'events';
6
7
  import { Readable } from 'node:stream';
7
8
  import { Session } from 'neo4j-driver';
8
9
 
10
+ type DestinationBlockReason = 'unsupported-protocol' | 'localhost' | 'metadata' | 'private-network' | 'link-local' | 'redirect' | 'dns-resolution-failed';
11
+ interface DestinationPolicy {
12
+ allowLocalhost?: boolean;
13
+ allowPrivateNetwork?: boolean;
14
+ allowLinkLocal?: boolean;
15
+ allowMetadata?: boolean;
16
+ allowRedirects?: boolean;
17
+ maxRedirects?: number;
18
+ }
19
+ declare const DEFAULT_DESTINATION_POLICY: Readonly<{
20
+ allowLocalhost: false;
21
+ allowPrivateNetwork: false;
22
+ allowLinkLocal: false;
23
+ allowMetadata: false;
24
+ allowRedirects: true;
25
+ maxRedirects: 5;
26
+ }>;
27
+ declare class DestinationPolicyError extends Error {
28
+ readonly url: string;
29
+ readonly reason: DestinationBlockReason;
30
+ readonly code = "WEB_DESTINATION_BLOCKED";
31
+ constructor(url: string, reason: DestinationBlockReason, message: string);
32
+ }
33
+ declare function assertDestinationAllowed(url: string, policy?: DestinationPolicy): Promise<void>;
34
+ declare function requestWithDestinationPolicy<T = unknown>(config: AxiosRequestConfig<T>, policy?: DestinationPolicy): Promise<AxiosResponse<T>>;
35
+
9
36
  /**
10
37
  * HTTP Tools Types
11
38
  *
@@ -27,18 +54,18 @@ declare const httpRequestSchema: z.ZodObject<{
27
54
  timeout: z.ZodDefault<z.ZodNumber>;
28
55
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
29
56
  }, "strip", z.ZodTypeAny, {
57
+ method: "GET" | "DELETE" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH";
30
58
  url: string;
31
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS";
32
59
  timeout: number;
33
- params?: Record<string, string> | undefined;
34
60
  headers?: Record<string, string> | undefined;
35
61
  body?: unknown;
62
+ params?: Record<string, string> | undefined;
36
63
  }, {
37
64
  url: string;
38
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
39
- params?: Record<string, string> | undefined;
40
65
  headers?: Record<string, string> | undefined;
41
66
  body?: unknown;
67
+ method?: "GET" | "DELETE" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH" | undefined;
68
+ params?: Record<string, string> | undefined;
42
69
  timeout?: number | undefined;
43
70
  }>;
44
71
  /**
@@ -61,12 +88,12 @@ declare const httpGetSchema: z.ZodObject<{
61
88
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
62
89
  }, "strip", z.ZodTypeAny, {
63
90
  url: string;
64
- params?: Record<string, string> | undefined;
65
91
  headers?: Record<string, string> | undefined;
92
+ params?: Record<string, string> | undefined;
66
93
  }, {
67
94
  url: string;
68
- params?: Record<string, string> | undefined;
69
95
  headers?: Record<string, string> | undefined;
96
+ params?: Record<string, string> | undefined;
70
97
  }>;
71
98
  /**
72
99
  * HTTP POST request schema
@@ -90,42 +117,43 @@ declare const httpPostSchema: z.ZodObject<{
90
117
  interface HttpToolsConfig {
91
118
  defaultTimeout?: number;
92
119
  defaultHeaders?: Record<string, string>;
120
+ destinationPolicy?: DestinationPolicy;
93
121
  }
94
122
 
95
123
  declare const httpClient: _agentforge_core.Tool<{
96
124
  url: string;
97
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
98
- params?: Record<string, string> | undefined;
99
125
  headers?: Record<string, string> | undefined;
100
126
  body?: unknown;
127
+ method?: "GET" | "DELETE" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH" | undefined;
128
+ params?: Record<string, string> | undefined;
101
129
  timeout?: number | undefined;
102
130
  }, HttpResponse>;
103
131
  declare const httpGet: _agentforge_core.Tool<{
104
132
  url: string;
105
- params?: Record<string, string> | undefined;
106
133
  headers?: Record<string, string> | undefined;
107
- }, any>;
134
+ params?: Record<string, string> | undefined;
135
+ }, unknown>;
108
136
  declare const httpPost: _agentforge_core.Tool<{
109
137
  url: string;
110
138
  headers?: Record<string, string> | undefined;
111
139
  body?: unknown;
112
- }, any>;
140
+ }, unknown>;
113
141
  declare const httpTools: (_agentforge_core.Tool<{
114
142
  url: string;
115
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
116
- params?: Record<string, string> | undefined;
117
143
  headers?: Record<string, string> | undefined;
118
144
  body?: unknown;
145
+ method?: "GET" | "DELETE" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH" | undefined;
146
+ params?: Record<string, string> | undefined;
119
147
  timeout?: number | undefined;
120
148
  }, HttpResponse> | _agentforge_core.Tool<{
121
149
  url: string;
122
- params?: Record<string, string> | undefined;
123
150
  headers?: Record<string, string> | undefined;
124
- }, any> | _agentforge_core.Tool<{
151
+ params?: Record<string, string> | undefined;
152
+ }, unknown> | _agentforge_core.Tool<{
125
153
  url: string;
126
154
  headers?: Record<string, string> | undefined;
127
155
  body?: unknown;
128
- }, any>)[];
156
+ }, unknown>)[];
129
157
  /**
130
158
  * Create HTTP tools with custom configuration
131
159
  *
@@ -142,20 +170,20 @@ declare const httpTools: (_agentforge_core.Tool<{
142
170
  */
143
171
  declare function createHttpTools(config?: HttpToolsConfig): (_agentforge_core.Tool<{
144
172
  url: string;
145
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
146
- params?: Record<string, string> | undefined;
147
173
  headers?: Record<string, string> | undefined;
148
174
  body?: unknown;
175
+ method?: "GET" | "DELETE" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH" | undefined;
176
+ params?: Record<string, string> | undefined;
149
177
  timeout?: number | undefined;
150
178
  }, HttpResponse> | _agentforge_core.Tool<{
151
179
  url: string;
152
- params?: Record<string, string> | undefined;
153
180
  headers?: Record<string, string> | undefined;
154
- }, any> | _agentforge_core.Tool<{
181
+ params?: Record<string, string> | undefined;
182
+ }, unknown> | _agentforge_core.Tool<{
155
183
  url: string;
156
184
  headers?: Record<string, string> | undefined;
157
185
  body?: unknown;
158
- }, any>)[];
186
+ }, unknown>)[];
159
187
 
160
188
  /**
161
189
  * Web Scraper Types
@@ -182,6 +210,7 @@ interface ScraperResult {
182
210
  interface ScraperToolsConfig {
183
211
  defaultTimeout?: number;
184
212
  userAgent?: string;
213
+ destinationPolicy?: DestinationPolicy;
185
214
  }
186
215
  /**
187
216
  * Web scraper input schema
@@ -232,7 +261,7 @@ declare const webScraperSchema: z.ZodObject<{
232
261
  * });
233
262
  * ```
234
263
  */
235
- declare function createWebScraperTool(defaultTimeout?: number, userAgent?: string): _agentforge_core.Tool<{
264
+ declare function createWebScraperTool(defaultTimeout?: number, userAgent?: string, destinationPolicy?: DestinationPolicy): _agentforge_core.Tool<{
236
265
  url: string;
237
266
  timeout?: number | undefined;
238
267
  selector?: string | undefined;
@@ -952,12 +981,12 @@ declare const webSearchOutputSchema: z.ZodObject<{
952
981
  query: string;
953
982
  success: boolean;
954
983
  source: "duckduckgo" | "serper";
955
- totalResults?: number | undefined;
956
- error?: string | undefined;
957
984
  metadata?: {
958
985
  responseTime?: number | undefined;
959
986
  fallbackUsed?: boolean | undefined;
960
987
  } | undefined;
988
+ totalResults?: number | undefined;
989
+ error?: string | undefined;
961
990
  }, {
962
991
  results: {
963
992
  link: string;
@@ -968,12 +997,12 @@ declare const webSearchOutputSchema: z.ZodObject<{
968
997
  query: string;
969
998
  success: boolean;
970
999
  source: "duckduckgo" | "serper";
971
- totalResults?: number | undefined;
972
- error?: string | undefined;
973
1000
  metadata?: {
974
1001
  responseTime?: number | undefined;
975
1002
  fallbackUsed?: boolean | undefined;
976
1003
  } | undefined;
1004
+ totalResults?: number | undefined;
1005
+ error?: string | undefined;
977
1006
  }>;
978
1007
 
979
1008
  /**
@@ -6099,6 +6128,35 @@ declare const relationalGetSchema: _agentforge_core.Tool<{
6099
6128
  summary?: undefined;
6100
6129
  }>;
6101
6130
 
6131
+ type FileSystemPolicyErrorCode = 'FILE_SYSTEM_POLICY_VIOLATION';
6132
+ declare class FileSystemPolicyError extends Error {
6133
+ readonly operation: string;
6134
+ readonly inputPath: string;
6135
+ readonly code: FileSystemPolicyErrorCode;
6136
+ constructor(message: string, operation: string, inputPath: string);
6137
+ }
6138
+ interface FileSystemPolicyOptions {
6139
+ allowedRoots?: readonly string[];
6140
+ workspaceRoot?: string;
6141
+ allowOutsideRoots?: boolean;
6142
+ allowRootDeletion?: boolean;
6143
+ }
6144
+ type FileSystemPolicyInput = FileSystemPolicy | FileSystemPolicyOptions;
6145
+ declare class FileSystemPolicy {
6146
+ readonly allowedRoots: readonly string[];
6147
+ readonly allowOutsideRoots: boolean;
6148
+ readonly allowRootDeletion: boolean;
6149
+ private readonly baseDirectory;
6150
+ constructor(options?: FileSystemPolicyOptions);
6151
+ resolvePath(inputPath: string, operation: string): Promise<string>;
6152
+ resolveDeletePath(inputPath: string, recursive: boolean): Promise<string>;
6153
+ private resolvePathWithRoots;
6154
+ private resolveRoots;
6155
+ }
6156
+ declare const DEFAULT_FILE_SYSTEM_POLICY: FileSystemPolicy;
6157
+ declare function createFileSystemPolicy(options?: FileSystemPolicyOptions): FileSystemPolicy;
6158
+ declare function resolveFileSystemPolicy(policy?: FileSystemPolicyInput): FileSystemPolicy;
6159
+
6102
6160
  /**
6103
6161
  * File Operations Types
6104
6162
  *
@@ -6179,15 +6237,13 @@ declare const fileExistsSchema: z.ZodObject<{
6179
6237
  interface FileOperationsConfig {
6180
6238
  defaultEncoding?: 'utf8' | 'utf-8' | 'ascii' | 'base64' | 'hex';
6181
6239
  createDirsDefault?: boolean;
6240
+ policy?: FileSystemPolicyInput;
6182
6241
  }
6183
6242
 
6184
- /**
6185
- * File Reader Tool
6186
- */
6187
6243
  /**
6188
6244
  * Create file reader tool
6189
6245
  */
6190
- declare function createFileReaderTool(defaultEncoding?: string): _agentforge_core.Tool<{
6246
+ declare function createFileReaderTool(defaultEncoding?: string, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6191
6247
  path: string;
6192
6248
  encoding?: "ascii" | "binary" | "base64" | "hex" | "utf-8" | "utf8" | undefined;
6193
6249
  }, {
@@ -6201,13 +6257,10 @@ declare function createFileReaderTool(defaultEncoding?: string): _agentforge_cor
6201
6257
  error?: string;
6202
6258
  }>;
6203
6259
 
6204
- /**
6205
- * File Writer Tool
6206
- */
6207
6260
  /**
6208
6261
  * Create file writer tool
6209
6262
  */
6210
- declare function createFileWriterTool(defaultEncoding?: string, createDirsDefault?: boolean): _agentforge_core.Tool<{
6263
+ declare function createFileWriterTool(defaultEncoding?: string, createDirsDefault?: boolean, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6211
6264
  path: string;
6212
6265
  content: string;
6213
6266
  encoding?: "ascii" | "base64" | "hex" | "utf-8" | "utf8" | undefined;
@@ -6222,13 +6275,10 @@ declare function createFileWriterTool(defaultEncoding?: string, createDirsDefaul
6222
6275
  error?: string;
6223
6276
  }>;
6224
6277
 
6225
- /**
6226
- * File Append Tool
6227
- */
6228
6278
  /**
6229
6279
  * Create file append tool
6230
6280
  */
6231
- declare function createFileAppendTool(defaultEncoding?: string): _agentforge_core.Tool<{
6281
+ declare function createFileAppendTool(defaultEncoding?: string, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6232
6282
  path: string;
6233
6283
  content: string;
6234
6284
  encoding?: "ascii" | "utf-8" | "utf8" | undefined;
@@ -6241,13 +6291,10 @@ declare function createFileAppendTool(defaultEncoding?: string): _agentforge_cor
6241
6291
  error?: string;
6242
6292
  }>;
6243
6293
 
6244
- /**
6245
- * File Delete Tool
6246
- */
6247
6294
  /**
6248
6295
  * Create file delete tool
6249
6296
  */
6250
- declare function createFileDeleteTool(): _agentforge_core.Tool<{
6297
+ declare function createFileDeleteTool(policy?: FileSystemPolicy): _agentforge_core.Tool<{
6251
6298
  path: string;
6252
6299
  }, {
6253
6300
  success: boolean;
@@ -6258,13 +6305,10 @@ declare function createFileDeleteTool(): _agentforge_core.Tool<{
6258
6305
  error?: string;
6259
6306
  }>;
6260
6307
 
6261
- /**
6262
- * File Exists Tool
6263
- */
6264
6308
  /**
6265
6309
  * Create file exists tool
6266
6310
  */
6267
- declare function createFileExistsTool(): _agentforge_core.Tool<{
6311
+ declare function createFileExistsTool(policy?: FileSystemPolicy): _agentforge_core.Tool<{
6268
6312
  path: string;
6269
6313
  }, {
6270
6314
  exists: boolean;
@@ -6273,6 +6317,17 @@ declare function createFileExistsTool(): _agentforge_core.Tool<{
6273
6317
  isDirectory: boolean;
6274
6318
  size: number;
6275
6319
  modified: string;
6320
+ success?: undefined;
6321
+ error?: undefined;
6322
+ } | {
6323
+ success: boolean;
6324
+ error: string;
6325
+ exists?: undefined;
6326
+ path?: undefined;
6327
+ isFile?: undefined;
6328
+ isDirectory?: undefined;
6329
+ size?: undefined;
6330
+ modified?: undefined;
6276
6331
  } | {
6277
6332
  exists: boolean;
6278
6333
  path: string;
@@ -6280,6 +6335,8 @@ declare function createFileExistsTool(): _agentforge_core.Tool<{
6280
6335
  isDirectory?: undefined;
6281
6336
  size?: undefined;
6282
6337
  modified?: undefined;
6338
+ success?: undefined;
6339
+ error?: undefined;
6283
6340
  }>;
6284
6341
 
6285
6342
  /**
@@ -6343,6 +6400,17 @@ declare const fileExists: _agentforge_core.Tool<{
6343
6400
  isDirectory: boolean;
6344
6401
  size: number;
6345
6402
  modified: string;
6403
+ success?: undefined;
6404
+ error?: undefined;
6405
+ } | {
6406
+ success: boolean;
6407
+ error: string;
6408
+ exists?: undefined;
6409
+ path?: undefined;
6410
+ isFile?: undefined;
6411
+ isDirectory?: undefined;
6412
+ size?: undefined;
6413
+ modified?: undefined;
6346
6414
  } | {
6347
6415
  exists: boolean;
6348
6416
  path: string;
@@ -6350,6 +6418,8 @@ declare const fileExists: _agentforge_core.Tool<{
6350
6418
  isDirectory?: undefined;
6351
6419
  size?: undefined;
6352
6420
  modified?: undefined;
6421
+ success?: undefined;
6422
+ error?: undefined;
6353
6423
  }>;
6354
6424
  /**
6355
6425
  * Array of all file operation tools
@@ -6408,6 +6478,17 @@ declare const fileOperationTools: (_agentforge_core.Tool<{
6408
6478
  isDirectory: boolean;
6409
6479
  size: number;
6410
6480
  modified: string;
6481
+ success?: undefined;
6482
+ error?: undefined;
6483
+ } | {
6484
+ success: boolean;
6485
+ error: string;
6486
+ exists?: undefined;
6487
+ path?: undefined;
6488
+ isFile?: undefined;
6489
+ isDirectory?: undefined;
6490
+ size?: undefined;
6491
+ modified?: undefined;
6411
6492
  } | {
6412
6493
  exists: boolean;
6413
6494
  path: string;
@@ -6415,6 +6496,8 @@ declare const fileOperationTools: (_agentforge_core.Tool<{
6415
6496
  isDirectory?: undefined;
6416
6497
  size?: undefined;
6417
6498
  modified?: undefined;
6499
+ success?: undefined;
6500
+ error?: undefined;
6418
6501
  }>)[];
6419
6502
  /**
6420
6503
  * Create file operation tools with custom configuration
@@ -6473,6 +6556,17 @@ declare function createFileOperationTools(config?: FileOperationsConfig): (_agen
6473
6556
  isDirectory: boolean;
6474
6557
  size: number;
6475
6558
  modified: string;
6559
+ success?: undefined;
6560
+ error?: undefined;
6561
+ } | {
6562
+ success: boolean;
6563
+ error: string;
6564
+ exists?: undefined;
6565
+ path?: undefined;
6566
+ isFile?: undefined;
6567
+ isDirectory?: undefined;
6568
+ size?: undefined;
6569
+ modified?: undefined;
6476
6570
  } | {
6477
6571
  exists: boolean;
6478
6572
  path: string;
@@ -6480,6 +6574,8 @@ declare function createFileOperationTools(config?: FileOperationsConfig): (_agen
6480
6574
  isDirectory?: undefined;
6481
6575
  size?: undefined;
6482
6576
  modified?: undefined;
6577
+ success?: undefined;
6578
+ error?: undefined;
6483
6579
  }>)[];
6484
6580
 
6485
6581
  /**
@@ -6559,15 +6655,13 @@ interface DirectoryOperationsConfig {
6559
6655
  defaultRecursive?: boolean;
6560
6656
  defaultIncludeDetails?: boolean;
6561
6657
  defaultCaseSensitive?: boolean;
6658
+ policy?: FileSystemPolicyInput;
6562
6659
  }
6563
6660
 
6564
- /**
6565
- * Directory List Tool
6566
- */
6567
6661
  /**
6568
6662
  * Create directory list tool
6569
6663
  */
6570
- declare function createDirectoryListTool(defaultRecursive?: boolean, defaultIncludeDetails?: boolean): _agentforge_core.Tool<{
6664
+ declare function createDirectoryListTool(defaultRecursive?: boolean, defaultIncludeDetails?: boolean, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6571
6665
  path: string;
6572
6666
  recursive?: boolean | undefined;
6573
6667
  includeDetails?: boolean | undefined;
@@ -6582,13 +6676,10 @@ declare function createDirectoryListTool(defaultRecursive?: boolean, defaultIncl
6582
6676
  error?: string;
6583
6677
  }>;
6584
6678
 
6585
- /**
6586
- * Directory Create Tool
6587
- */
6588
6679
  /**
6589
6680
  * Create directory create tool
6590
6681
  */
6591
- declare function createDirectoryCreateTool(defaultRecursive?: boolean): _agentforge_core.Tool<{
6682
+ declare function createDirectoryCreateTool(defaultRecursive?: boolean, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6592
6683
  path: string;
6593
6684
  recursive?: boolean | undefined;
6594
6685
  }, {
@@ -6600,13 +6691,10 @@ declare function createDirectoryCreateTool(defaultRecursive?: boolean): _agentfo
6600
6691
  error?: string;
6601
6692
  }>;
6602
6693
 
6603
- /**
6604
- * Directory Delete Tool
6605
- */
6606
6694
  /**
6607
6695
  * Create directory delete tool
6608
6696
  */
6609
- declare function createDirectoryDeleteTool(defaultRecursive?: boolean): _agentforge_core.Tool<{
6697
+ declare function createDirectoryDeleteTool(defaultRecursive?: boolean, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6610
6698
  path: string;
6611
6699
  recursive?: boolean | undefined;
6612
6700
  }, {
@@ -6618,13 +6706,10 @@ declare function createDirectoryDeleteTool(defaultRecursive?: boolean): _agentfo
6618
6706
  error?: string;
6619
6707
  }>;
6620
6708
 
6621
- /**
6622
- * File Search Tool
6623
- */
6624
6709
  /**
6625
6710
  * Create file search tool
6626
6711
  */
6627
- declare function createFileSearchTool(defaultRecursive?: boolean, defaultCaseSensitive?: boolean): _agentforge_core.Tool<{
6712
+ declare function createFileSearchTool(defaultRecursive?: boolean, defaultCaseSensitive?: boolean, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6628
6713
  directory: string;
6629
6714
  pattern: string;
6630
6715
  recursive?: boolean | undefined;
@@ -8855,4 +8940,4 @@ declare const askHumanTool: _agentforge_core.Tool<{
8855
8940
  suggestions?: string[] | undefined;
8856
8941
  }, AskHumanOutput>;
8857
8942
 
8858
- export { type AskHumanInput, AskHumanInputSchema, type AskHumanOutput, type BatchBenchmarkResult, type BatchEmbeddingResult, type BatchExecutionOptions, type BatchExecutionResult, type BatchExecutionTask, type BatchFailureDetail, type BatchProgressUpdate, type BuiltDeleteQuery, type BuiltInsertQuery, type BuiltUpdateQuery, type CalculatorInput, CalculatorSchema, type ColumnDiff, type ColumnSchema, type ConfluenceAuth, type ConfluenceToolsConfig, type ConnectionConfig, type ConnectionEvent, ConnectionManager, ConnectionState, type CreditCardValidatorInput, CreditCardValidatorSchema, type CsvToolsConfig, type CurrentDateTimeInput, CurrentDateTimeSchema, DEFAULT_BATCH_SIZE, DEFAULT_CHUNK_SIZE, DEFAULT_RETRY_CONFIG, type DatabaseConfig, type DatabaseConnection, type DatabaseSchema, type DatabaseVendor, type DateArithmeticInput, DateArithmeticSchema, type DateComparisonInput, DateComparisonSchema, type DateDifferenceInput, DateDifferenceSchema, type DateFormatterInput, DateFormatterSchema, type DateTimeConfig, type DeleteQueryInput, type DeleteSoftDeleteOptions, type DeleteWhereCondition, type DirectoryOperationsConfig, DuckDuckGoProvider, type EmailValidatorInput, EmailValidatorSchema, type EmbeddingConfig, EmbeddingManager, type EmbeddingProvider, type EmbeddingResult, type EmbeddingRetryConfig, type FileOperationsConfig, type ForeignKeySchema, type HtmlParserToolsConfig, HttpMethod, type HttpResponse, type HttpToolsConfig, type IEmbeddingProvider, type IndexSchema, type InsertData, type InsertQueryInput, type InsertReturningMode, type InsertReturningOptions, type InsertRow, type InsertValue, type IpValidatorInput, IpValidatorSchema, type JsonToolsConfig, MAX_BATCH_SIZE, type MappedType, type MathFunctionsInput, MathFunctionsSchema, type MathOperationsConfig, MissingPeerDependencyError, type MySQLConnectionConfig, type Neo4jConfig, type Neo4jNode, type Neo4jPath, type Neo4jRelationship, type Neo4jSchema, type Neo4jToolsConfig, OpenAIEmbeddingProvider, type PathUtilitiesConfig, type PhoneValidatorInput, PhoneValidatorSchema, type PoolConfig, type PostgreSQLConnectionConfig, type QueryExecutionResult, type QueryInput, type QueryMetadata, type QueryParams, type QueryResult, type RandomNumberInput, RandomNumberSchema, type ReconnectionConfig, type RetryConfig, type SQLiteConnectionConfig, type SchemaDiffResult, type SchemaInspectOptions, SchemaInspector, type SchemaInspectorConfig, type ScraperResult, type ScraperToolsConfig, type SearchProvider, type SearchResult, type SelectOrderBy, type SelectOrderDirection, type SelectQueryInput, type SelectWhereCondition, SerperProvider, type SlackClientConfig, type SlackToolsConfig, type SqlExecutor, type StatisticsInput, StatisticsSchema, type StreamingBenchmarkResult, type StreamingMemoryUsage$1 as StreamingMemoryUsage, type StreamingSelectChunk, type StreamingSelectOptions, type StreamingSelectResult, type StringCaseConverterInput, StringCaseConverterSchema, type StringJoinInput, StringJoinSchema, type StringLengthInput, StringLengthSchema, type StringReplaceInput, StringReplaceSchema, type StringSplitInput, StringSplitSchema, type StringSubstringInput, StringSubstringSchema, type StringTrimInput, StringTrimSchema, type StringUtilitiesConfig, type TableDiff, type TableSchema, type TransactionContext, type TransactionIsolationLevel, type TransactionOptions, type TransformerToolsConfig, type UpdateData, type UpdateOptimisticLock, type UpdateQueryInput, type UpdateValue, type UpdateWhereCondition, type UpdateWhereOperator, type UrlValidationResult, type UrlValidatorSimpleInput, UrlValidatorSimpleSchema, type UrlValidatorToolsConfig, type UuidValidatorInput, UuidValidatorSchema, type ValidationConfig, type ValidationResult, type VendorConnectionConfig, type WebSearchInput, type WebSearchOutput, type XmlToolsConfig, archiveConfluencePage, arrayFilter, arrayFilterSchema, arrayGroupBy, arrayGroupBySchema, arrayMap, arrayMapSchema, arraySort, arraySortSchema, askHumanTool, benchmarkBatchExecution, benchmarkStreamingSelectMemory, buildDeleteQuery, buildInsertQuery, buildSelectQuery, buildUpdateQuery, calculator, checkPeerDependency, confluenceTools, createArrayFilterTool, createArrayGroupByTool, createArrayMapTool, createArraySortTool, createAskHumanTool, createCalculatorTool, createConfluencePage, createConfluenceTools, createCreditCardValidatorTool, createCsvGeneratorTool, createCsvParserTool, createCsvToJsonTool, createCsvTools, createCurrentDateTimeTool, createDateArithmeticTool, createDateComparisonTool, createDateDifferenceTool, createDateFormatterTool, createDateTimeTools, createDirectoryCreateTool, createDirectoryDeleteTool, createDirectoryListTool, createDirectoryOperationTools, createDuckDuckGoProvider, createEmailValidatorTool, createExtractImagesTool, createExtractLinksTool, createFileAppendTool, createFileDeleteTool, createFileExistsTool, createFileOperationTools, createFileReaderTool, createFileSearchTool, createFileWriterTool, createHtmlParserTool, createHtmlParserTools, createHttpTools, createIpValidatorTool, createJsonMergeTool, createJsonParserTool, createJsonQueryTool, createJsonStringifyTool, createJsonToCsvTool, createJsonToXmlTool, createJsonTools, createJsonValidatorTool, createMathFunctionsTool, createMathOperationTools, createNeo4jCreateNodeWithEmbeddingTool, createNeo4jFindNodesTool, createNeo4jGetSchemaTool, createNeo4jQueryTool, createNeo4jTools, createNeo4jTraverseTool, createNeo4jVectorSearchTool, createNeo4jVectorSearchWithEmbeddingTool, createObjectOmitTool, createObjectPickTool, createPathBasenameTool, createPathDirnameTool, createPathExtensionTool, createPathJoinTool, createPathNormalizeTool, createPathParseTool, createPathRelativeTool, createPathResolveTool, createPathUtilityTools, createPhoneValidatorTool, createRandomNumberTool, createScraperTools, createSelectReadableStream, createSerperProvider, createSlackTools, createStatisticsTool, createStringCaseConverterTool, createStringJoinTool, createStringLengthTool, createStringReplaceTool, createStringSplitTool, createStringSubstringTool, createStringTrimTool, createStringUtilityTools, createTransformerTools, createUrlBuilderTool, createUrlQueryParserTool, createUrlValidatorSimpleTool, createUrlValidatorTool, createUrlValidatorTools, createUuidValidatorTool, createValidationTools, createWebScraperTool, createXmlGeneratorTool, createXmlParserTool, createXmlToJsonTool, createXmlTools, creditCardValidator, csvGenerator, csvGeneratorSchema, csvParser, csvParserSchema, csvToJson, csvToJsonSchema, csvTools, currentDateTime, dateArithmetic, dateComparison, dateDifference, dateFormatter, dateTimeTools, diffSchemas, directoryCreate, directoryCreateSchema, directoryDelete, directoryDeleteSchema, directoryList, directoryListSchema, directoryOperationTools, emailValidator, embeddingManager, executeBatchedTask, executeQuery, executeStreamingSelect, exportSchemaToJson, extractImages, extractImagesSchema, extractLinks, extractLinksSchema, fileAppend, fileAppendSchema, fileDelete, fileDeleteSchema, fileExists, fileExistsSchema, fileOperationTools, fileReader, fileReaderSchema, fileSearch, fileSearchSchema, fileWriter, fileWriterSchema, generateBatchEmbeddings, generateEmbedding, getCohereApiKey, getConfluencePage, getEmbeddingModel, getEmbeddingProvider, getHuggingFaceApiKey, getInstallationInstructions, getOllamaBaseUrl, getOpenAIApiKey, getPeerDependencyName, getSlackChannels, getSlackMessages, getSpacePages, getVendorTypeMap, getVoyageApiKey, htmlParser, htmlParserSchema, htmlParserTools, httpClient, httpGet, httpGetSchema, httpPost, httpPostSchema, httpRequestSchema, httpTools, importSchemaFromJson, initializeEmbeddings, initializeEmbeddingsWithConfig, initializeFromEnv, initializeNeo4jTools, ipValidator, isRetryableError, jsonMerge, jsonMergeSchema, jsonParser, jsonParserSchema, jsonQuery, jsonQuerySchema, jsonStringify, jsonStringifySchema, jsonToCsv, jsonToCsvSchema, jsonToXml, jsonToXmlSchema, jsonTools, jsonValidator, jsonValidatorSchema, listConfluenceSpaces, mapColumnType, mapSchemaTypes, mathFunctions, mathOperationTools, neo4jCoreTools, neo4jCreateNodeWithEmbedding, neo4jCreateNodeWithEmbeddingSchema, neo4jFindNodes, neo4jFindNodesSchema, neo4jGetSchema, neo4jGetSchemaSchema, neo4jPool, neo4jQuery, neo4jQuerySchema, neo4jTools, neo4jTraverse, neo4jTraverseSchema, neo4jVectorSearch, neo4jVectorSearchSchema, neo4jVectorSearchWithEmbedding, neo4jVectorSearchWithEmbeddingSchema, notifySlack, objectOmit, objectOmitSchema, objectPick, objectPickSchema, pathBasename, pathBasenameSchema, pathDirname, pathDirnameSchema, pathExtension, pathExtensionSchema, pathJoin, pathJoinSchema, pathNormalize, pathNormalizeSchema, pathParse, pathParseSchema, pathRelative, pathRelativeSchema, pathResolve, pathResolveSchema, pathUtilityTools, phoneValidator, randomNumber, relationalDelete, relationalGetSchema, relationalInsert, relationalQuery, relationalSelect, relationalUpdate, retryWithBackoff, scraperTools, searchConfluence, searchResultSchema, sendSlackMessage, slackTools, statistics, streamSelectChunks, stringCaseConverter, stringJoin, stringLength, stringReplace, stringSplit, stringSubstring, stringTrim, stringUtilityTools, transformerArraySchema, transformerObjectSchema, transformerTools, transformerValueSchema, updateConfluencePage, urlBuilder, urlBuilderSchema, urlQueryParser, urlQueryParserSchema, urlValidator, urlValidatorSchema, urlValidatorSimple, urlValidatorTools, uuidValidator, validateBatch, validateColumnTypes, validateColumnsExist, validateTableExists, validateText, validationTools, webScraper, webScraperSchema, webSearch, webSearchOutputSchema, webSearchSchema, withTransaction, xmlGenerator, xmlGeneratorSchema, xmlParser, xmlParserSchema, xmlToJson, xmlToJsonSchema, xmlTools };
8943
+ export { type AskHumanInput, AskHumanInputSchema, type AskHumanOutput, type BatchBenchmarkResult, type BatchEmbeddingResult, type BatchExecutionOptions, type BatchExecutionResult, type BatchExecutionTask, type BatchFailureDetail, type BatchProgressUpdate, type BuiltDeleteQuery, type BuiltInsertQuery, type BuiltUpdateQuery, type CalculatorInput, CalculatorSchema, type ColumnDiff, type ColumnSchema, type ConfluenceAuth, type ConfluenceToolsConfig, type ConnectionConfig, type ConnectionEvent, ConnectionManager, ConnectionState, type CreditCardValidatorInput, CreditCardValidatorSchema, type CsvToolsConfig, type CurrentDateTimeInput, CurrentDateTimeSchema, DEFAULT_BATCH_SIZE, DEFAULT_CHUNK_SIZE, DEFAULT_DESTINATION_POLICY, DEFAULT_FILE_SYSTEM_POLICY, DEFAULT_RETRY_CONFIG, type DatabaseConfig, type DatabaseConnection, type DatabaseSchema, type DatabaseVendor, type DateArithmeticInput, DateArithmeticSchema, type DateComparisonInput, DateComparisonSchema, type DateDifferenceInput, DateDifferenceSchema, type DateFormatterInput, DateFormatterSchema, type DateTimeConfig, type DeleteQueryInput, type DeleteSoftDeleteOptions, type DeleteWhereCondition, type DestinationBlockReason, type DestinationPolicy, DestinationPolicyError, type DirectoryOperationsConfig, DuckDuckGoProvider, type EmailValidatorInput, EmailValidatorSchema, type EmbeddingConfig, EmbeddingManager, type EmbeddingProvider, type EmbeddingResult, type EmbeddingRetryConfig, type FileOperationsConfig, FileSystemPolicy, FileSystemPolicyError, type FileSystemPolicyErrorCode, type FileSystemPolicyInput, type FileSystemPolicyOptions, type ForeignKeySchema, type HtmlParserToolsConfig, HttpMethod, type HttpResponse, type HttpToolsConfig, type IEmbeddingProvider, type IndexSchema, type InsertData, type InsertQueryInput, type InsertReturningMode, type InsertReturningOptions, type InsertRow, type InsertValue, type IpValidatorInput, IpValidatorSchema, type JsonToolsConfig, MAX_BATCH_SIZE, type MappedType, type MathFunctionsInput, MathFunctionsSchema, type MathOperationsConfig, MissingPeerDependencyError, type MySQLConnectionConfig, type Neo4jConfig, type Neo4jNode, type Neo4jPath, type Neo4jRelationship, type Neo4jSchema, type Neo4jToolsConfig, OpenAIEmbeddingProvider, type PathUtilitiesConfig, type PhoneValidatorInput, PhoneValidatorSchema, type PoolConfig, type PostgreSQLConnectionConfig, type QueryExecutionResult, type QueryInput, type QueryMetadata, type QueryParams, type QueryResult, type RandomNumberInput, RandomNumberSchema, type ReconnectionConfig, type RetryConfig, type SQLiteConnectionConfig, type SchemaDiffResult, type SchemaInspectOptions, SchemaInspector, type SchemaInspectorConfig, type ScraperResult, type ScraperToolsConfig, type SearchProvider, type SearchResult, type SelectOrderBy, type SelectOrderDirection, type SelectQueryInput, type SelectWhereCondition, SerperProvider, type SlackClientConfig, type SlackToolsConfig, type SqlExecutor, type StatisticsInput, StatisticsSchema, type StreamingBenchmarkResult, type StreamingMemoryUsage$1 as StreamingMemoryUsage, type StreamingSelectChunk, type StreamingSelectOptions, type StreamingSelectResult, type StringCaseConverterInput, StringCaseConverterSchema, type StringJoinInput, StringJoinSchema, type StringLengthInput, StringLengthSchema, type StringReplaceInput, StringReplaceSchema, type StringSplitInput, StringSplitSchema, type StringSubstringInput, StringSubstringSchema, type StringTrimInput, StringTrimSchema, type StringUtilitiesConfig, type TableDiff, type TableSchema, type TransactionContext, type TransactionIsolationLevel, type TransactionOptions, type TransformerToolsConfig, type UpdateData, type UpdateOptimisticLock, type UpdateQueryInput, type UpdateValue, type UpdateWhereCondition, type UpdateWhereOperator, type UrlValidationResult, type UrlValidatorSimpleInput, UrlValidatorSimpleSchema, type UrlValidatorToolsConfig, type UuidValidatorInput, UuidValidatorSchema, type ValidationConfig, type ValidationResult, type VendorConnectionConfig, type WebSearchInput, type WebSearchOutput, type XmlToolsConfig, archiveConfluencePage, arrayFilter, arrayFilterSchema, arrayGroupBy, arrayGroupBySchema, arrayMap, arrayMapSchema, arraySort, arraySortSchema, askHumanTool, assertDestinationAllowed, benchmarkBatchExecution, benchmarkStreamingSelectMemory, buildDeleteQuery, buildInsertQuery, buildSelectQuery, buildUpdateQuery, calculator, checkPeerDependency, confluenceTools, createArrayFilterTool, createArrayGroupByTool, createArrayMapTool, createArraySortTool, createAskHumanTool, createCalculatorTool, createConfluencePage, createConfluenceTools, createCreditCardValidatorTool, createCsvGeneratorTool, createCsvParserTool, createCsvToJsonTool, createCsvTools, createCurrentDateTimeTool, createDateArithmeticTool, createDateComparisonTool, createDateDifferenceTool, createDateFormatterTool, createDateTimeTools, createDirectoryCreateTool, createDirectoryDeleteTool, createDirectoryListTool, createDirectoryOperationTools, createDuckDuckGoProvider, createEmailValidatorTool, createExtractImagesTool, createExtractLinksTool, createFileAppendTool, createFileDeleteTool, createFileExistsTool, createFileOperationTools, createFileReaderTool, createFileSearchTool, createFileSystemPolicy, createFileWriterTool, createHtmlParserTool, createHtmlParserTools, createHttpTools, createIpValidatorTool, createJsonMergeTool, createJsonParserTool, createJsonQueryTool, createJsonStringifyTool, createJsonToCsvTool, createJsonToXmlTool, createJsonTools, createJsonValidatorTool, createMathFunctionsTool, createMathOperationTools, createNeo4jCreateNodeWithEmbeddingTool, createNeo4jFindNodesTool, createNeo4jGetSchemaTool, createNeo4jQueryTool, createNeo4jTools, createNeo4jTraverseTool, createNeo4jVectorSearchTool, createNeo4jVectorSearchWithEmbeddingTool, createObjectOmitTool, createObjectPickTool, createPathBasenameTool, createPathDirnameTool, createPathExtensionTool, createPathJoinTool, createPathNormalizeTool, createPathParseTool, createPathRelativeTool, createPathResolveTool, createPathUtilityTools, createPhoneValidatorTool, createRandomNumberTool, createScraperTools, createSelectReadableStream, createSerperProvider, createSlackTools, createStatisticsTool, createStringCaseConverterTool, createStringJoinTool, createStringLengthTool, createStringReplaceTool, createStringSplitTool, createStringSubstringTool, createStringTrimTool, createStringUtilityTools, createTransformerTools, createUrlBuilderTool, createUrlQueryParserTool, createUrlValidatorSimpleTool, createUrlValidatorTool, createUrlValidatorTools, createUuidValidatorTool, createValidationTools, createWebScraperTool, createXmlGeneratorTool, createXmlParserTool, createXmlToJsonTool, createXmlTools, creditCardValidator, csvGenerator, csvGeneratorSchema, csvParser, csvParserSchema, csvToJson, csvToJsonSchema, csvTools, currentDateTime, dateArithmetic, dateComparison, dateDifference, dateFormatter, dateTimeTools, diffSchemas, directoryCreate, directoryCreateSchema, directoryDelete, directoryDeleteSchema, directoryList, directoryListSchema, directoryOperationTools, emailValidator, embeddingManager, executeBatchedTask, executeQuery, executeStreamingSelect, exportSchemaToJson, extractImages, extractImagesSchema, extractLinks, extractLinksSchema, fileAppend, fileAppendSchema, fileDelete, fileDeleteSchema, fileExists, fileExistsSchema, fileOperationTools, fileReader, fileReaderSchema, fileSearch, fileSearchSchema, fileWriter, fileWriterSchema, generateBatchEmbeddings, generateEmbedding, getCohereApiKey, getConfluencePage, getEmbeddingModel, getEmbeddingProvider, getHuggingFaceApiKey, getInstallationInstructions, getOllamaBaseUrl, getOpenAIApiKey, getPeerDependencyName, getSlackChannels, getSlackMessages, getSpacePages, getVendorTypeMap, getVoyageApiKey, htmlParser, htmlParserSchema, htmlParserTools, httpClient, httpGet, httpGetSchema, httpPost, httpPostSchema, httpRequestSchema, httpTools, importSchemaFromJson, initializeEmbeddings, initializeEmbeddingsWithConfig, initializeFromEnv, initializeNeo4jTools, ipValidator, isRetryableError, jsonMerge, jsonMergeSchema, jsonParser, jsonParserSchema, jsonQuery, jsonQuerySchema, jsonStringify, jsonStringifySchema, jsonToCsv, jsonToCsvSchema, jsonToXml, jsonToXmlSchema, jsonTools, jsonValidator, jsonValidatorSchema, listConfluenceSpaces, mapColumnType, mapSchemaTypes, mathFunctions, mathOperationTools, neo4jCoreTools, neo4jCreateNodeWithEmbedding, neo4jCreateNodeWithEmbeddingSchema, neo4jFindNodes, neo4jFindNodesSchema, neo4jGetSchema, neo4jGetSchemaSchema, neo4jPool, neo4jQuery, neo4jQuerySchema, neo4jTools, neo4jTraverse, neo4jTraverseSchema, neo4jVectorSearch, neo4jVectorSearchSchema, neo4jVectorSearchWithEmbedding, neo4jVectorSearchWithEmbeddingSchema, notifySlack, objectOmit, objectOmitSchema, objectPick, objectPickSchema, pathBasename, pathBasenameSchema, pathDirname, pathDirnameSchema, pathExtension, pathExtensionSchema, pathJoin, pathJoinSchema, pathNormalize, pathNormalizeSchema, pathParse, pathParseSchema, pathRelative, pathRelativeSchema, pathResolve, pathResolveSchema, pathUtilityTools, phoneValidator, randomNumber, relationalDelete, relationalGetSchema, relationalInsert, relationalQuery, relationalSelect, relationalUpdate, requestWithDestinationPolicy, resolveFileSystemPolicy, retryWithBackoff, scraperTools, searchConfluence, searchResultSchema, sendSlackMessage, slackTools, statistics, streamSelectChunks, stringCaseConverter, stringJoin, stringLength, stringReplace, stringSplit, stringSubstring, stringTrim, stringUtilityTools, transformerArraySchema, transformerObjectSchema, transformerTools, transformerValueSchema, updateConfluencePage, urlBuilder, urlBuilderSchema, urlQueryParser, urlQueryParserSchema, urlValidator, urlValidatorSchema, urlValidatorSimple, urlValidatorTools, uuidValidator, validateBatch, validateColumnTypes, validateColumnsExist, validateTableExists, validateText, validationTools, webScraper, webScraperSchema, webSearch, webSearchOutputSchema, webSearchSchema, withTransaction, xmlGenerator, xmlGeneratorSchema, xmlParser, xmlParserSchema, xmlToJson, xmlToJsonSchema, xmlTools };