@agentforge/tools 0.16.77 → 0.16.79

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.cts CHANGED
@@ -6128,6 +6128,35 @@ declare const relationalGetSchema: _agentforge_core.Tool<{
6128
6128
  summary?: undefined;
6129
6129
  }>;
6130
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
+
6131
6160
  /**
6132
6161
  * File Operations Types
6133
6162
  *
@@ -6208,15 +6237,13 @@ declare const fileExistsSchema: z.ZodObject<{
6208
6237
  interface FileOperationsConfig {
6209
6238
  defaultEncoding?: 'utf8' | 'utf-8' | 'ascii' | 'base64' | 'hex';
6210
6239
  createDirsDefault?: boolean;
6240
+ policy?: FileSystemPolicyInput;
6211
6241
  }
6212
6242
 
6213
- /**
6214
- * File Reader Tool
6215
- */
6216
6243
  /**
6217
6244
  * Create file reader tool
6218
6245
  */
6219
- declare function createFileReaderTool(defaultEncoding?: string): _agentforge_core.Tool<{
6246
+ declare function createFileReaderTool(defaultEncoding?: string, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6220
6247
  path: string;
6221
6248
  encoding?: "ascii" | "binary" | "base64" | "hex" | "utf-8" | "utf8" | undefined;
6222
6249
  }, {
@@ -6230,13 +6257,10 @@ declare function createFileReaderTool(defaultEncoding?: string): _agentforge_cor
6230
6257
  error?: string;
6231
6258
  }>;
6232
6259
 
6233
- /**
6234
- * File Writer Tool
6235
- */
6236
6260
  /**
6237
6261
  * Create file writer tool
6238
6262
  */
6239
- declare function createFileWriterTool(defaultEncoding?: string, createDirsDefault?: boolean): _agentforge_core.Tool<{
6263
+ declare function createFileWriterTool(defaultEncoding?: string, createDirsDefault?: boolean, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6240
6264
  path: string;
6241
6265
  content: string;
6242
6266
  encoding?: "ascii" | "base64" | "hex" | "utf-8" | "utf8" | undefined;
@@ -6251,13 +6275,10 @@ declare function createFileWriterTool(defaultEncoding?: string, createDirsDefaul
6251
6275
  error?: string;
6252
6276
  }>;
6253
6277
 
6254
- /**
6255
- * File Append Tool
6256
- */
6257
6278
  /**
6258
6279
  * Create file append tool
6259
6280
  */
6260
- declare function createFileAppendTool(defaultEncoding?: string): _agentforge_core.Tool<{
6281
+ declare function createFileAppendTool(defaultEncoding?: string, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6261
6282
  path: string;
6262
6283
  content: string;
6263
6284
  encoding?: "ascii" | "utf-8" | "utf8" | undefined;
@@ -6270,13 +6291,10 @@ declare function createFileAppendTool(defaultEncoding?: string): _agentforge_cor
6270
6291
  error?: string;
6271
6292
  }>;
6272
6293
 
6273
- /**
6274
- * File Delete Tool
6275
- */
6276
6294
  /**
6277
6295
  * Create file delete tool
6278
6296
  */
6279
- declare function createFileDeleteTool(): _agentforge_core.Tool<{
6297
+ declare function createFileDeleteTool(policy?: FileSystemPolicy): _agentforge_core.Tool<{
6280
6298
  path: string;
6281
6299
  }, {
6282
6300
  success: boolean;
@@ -6287,13 +6305,10 @@ declare function createFileDeleteTool(): _agentforge_core.Tool<{
6287
6305
  error?: string;
6288
6306
  }>;
6289
6307
 
6290
- /**
6291
- * File Exists Tool
6292
- */
6293
6308
  /**
6294
6309
  * Create file exists tool
6295
6310
  */
6296
- declare function createFileExistsTool(): _agentforge_core.Tool<{
6311
+ declare function createFileExistsTool(policy?: FileSystemPolicy): _agentforge_core.Tool<{
6297
6312
  path: string;
6298
6313
  }, {
6299
6314
  exists: boolean;
@@ -6302,6 +6317,17 @@ declare function createFileExistsTool(): _agentforge_core.Tool<{
6302
6317
  isDirectory: boolean;
6303
6318
  size: number;
6304
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;
6305
6331
  } | {
6306
6332
  exists: boolean;
6307
6333
  path: string;
@@ -6309,6 +6335,8 @@ declare function createFileExistsTool(): _agentforge_core.Tool<{
6309
6335
  isDirectory?: undefined;
6310
6336
  size?: undefined;
6311
6337
  modified?: undefined;
6338
+ success?: undefined;
6339
+ error?: undefined;
6312
6340
  }>;
6313
6341
 
6314
6342
  /**
@@ -6372,6 +6400,17 @@ declare const fileExists: _agentforge_core.Tool<{
6372
6400
  isDirectory: boolean;
6373
6401
  size: number;
6374
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;
6375
6414
  } | {
6376
6415
  exists: boolean;
6377
6416
  path: string;
@@ -6379,6 +6418,8 @@ declare const fileExists: _agentforge_core.Tool<{
6379
6418
  isDirectory?: undefined;
6380
6419
  size?: undefined;
6381
6420
  modified?: undefined;
6421
+ success?: undefined;
6422
+ error?: undefined;
6382
6423
  }>;
6383
6424
  /**
6384
6425
  * Array of all file operation tools
@@ -6437,6 +6478,17 @@ declare const fileOperationTools: (_agentforge_core.Tool<{
6437
6478
  isDirectory: boolean;
6438
6479
  size: number;
6439
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;
6440
6492
  } | {
6441
6493
  exists: boolean;
6442
6494
  path: string;
@@ -6444,6 +6496,8 @@ declare const fileOperationTools: (_agentforge_core.Tool<{
6444
6496
  isDirectory?: undefined;
6445
6497
  size?: undefined;
6446
6498
  modified?: undefined;
6499
+ success?: undefined;
6500
+ error?: undefined;
6447
6501
  }>)[];
6448
6502
  /**
6449
6503
  * Create file operation tools with custom configuration
@@ -6502,6 +6556,17 @@ declare function createFileOperationTools(config?: FileOperationsConfig): (_agen
6502
6556
  isDirectory: boolean;
6503
6557
  size: number;
6504
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;
6505
6570
  } | {
6506
6571
  exists: boolean;
6507
6572
  path: string;
@@ -6509,6 +6574,8 @@ declare function createFileOperationTools(config?: FileOperationsConfig): (_agen
6509
6574
  isDirectory?: undefined;
6510
6575
  size?: undefined;
6511
6576
  modified?: undefined;
6577
+ success?: undefined;
6578
+ error?: undefined;
6512
6579
  }>)[];
6513
6580
 
6514
6581
  /**
@@ -6588,15 +6655,13 @@ interface DirectoryOperationsConfig {
6588
6655
  defaultRecursive?: boolean;
6589
6656
  defaultIncludeDetails?: boolean;
6590
6657
  defaultCaseSensitive?: boolean;
6658
+ policy?: FileSystemPolicyInput;
6591
6659
  }
6592
6660
 
6593
- /**
6594
- * Directory List Tool
6595
- */
6596
6661
  /**
6597
6662
  * Create directory list tool
6598
6663
  */
6599
- declare function createDirectoryListTool(defaultRecursive?: boolean, defaultIncludeDetails?: boolean): _agentforge_core.Tool<{
6664
+ declare function createDirectoryListTool(defaultRecursive?: boolean, defaultIncludeDetails?: boolean, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6600
6665
  path: string;
6601
6666
  recursive?: boolean | undefined;
6602
6667
  includeDetails?: boolean | undefined;
@@ -6611,13 +6676,10 @@ declare function createDirectoryListTool(defaultRecursive?: boolean, defaultIncl
6611
6676
  error?: string;
6612
6677
  }>;
6613
6678
 
6614
- /**
6615
- * Directory Create Tool
6616
- */
6617
6679
  /**
6618
6680
  * Create directory create tool
6619
6681
  */
6620
- declare function createDirectoryCreateTool(defaultRecursive?: boolean): _agentforge_core.Tool<{
6682
+ declare function createDirectoryCreateTool(defaultRecursive?: boolean, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6621
6683
  path: string;
6622
6684
  recursive?: boolean | undefined;
6623
6685
  }, {
@@ -6629,13 +6691,10 @@ declare function createDirectoryCreateTool(defaultRecursive?: boolean): _agentfo
6629
6691
  error?: string;
6630
6692
  }>;
6631
6693
 
6632
- /**
6633
- * Directory Delete Tool
6634
- */
6635
6694
  /**
6636
6695
  * Create directory delete tool
6637
6696
  */
6638
- declare function createDirectoryDeleteTool(defaultRecursive?: boolean): _agentforge_core.Tool<{
6697
+ declare function createDirectoryDeleteTool(defaultRecursive?: boolean, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6639
6698
  path: string;
6640
6699
  recursive?: boolean | undefined;
6641
6700
  }, {
@@ -6647,13 +6706,10 @@ declare function createDirectoryDeleteTool(defaultRecursive?: boolean): _agentfo
6647
6706
  error?: string;
6648
6707
  }>;
6649
6708
 
6650
- /**
6651
- * File Search Tool
6652
- */
6653
6709
  /**
6654
6710
  * Create file search tool
6655
6711
  */
6656
- declare function createFileSearchTool(defaultRecursive?: boolean, defaultCaseSensitive?: boolean): _agentforge_core.Tool<{
6712
+ declare function createFileSearchTool(defaultRecursive?: boolean, defaultCaseSensitive?: boolean, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6657
6713
  directory: string;
6658
6714
  pattern: string;
6659
6715
  recursive?: boolean | undefined;
@@ -8884,4 +8940,4 @@ declare const askHumanTool: _agentforge_core.Tool<{
8884
8940
  suggestions?: string[] | undefined;
8885
8941
  }, AskHumanOutput>;
8886
8942
 
8887
- 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_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, 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, 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, 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 };
package/dist/index.d.ts CHANGED
@@ -6128,6 +6128,35 @@ declare const relationalGetSchema: _agentforge_core.Tool<{
6128
6128
  summary?: undefined;
6129
6129
  }>;
6130
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
+
6131
6160
  /**
6132
6161
  * File Operations Types
6133
6162
  *
@@ -6208,15 +6237,13 @@ declare const fileExistsSchema: z.ZodObject<{
6208
6237
  interface FileOperationsConfig {
6209
6238
  defaultEncoding?: 'utf8' | 'utf-8' | 'ascii' | 'base64' | 'hex';
6210
6239
  createDirsDefault?: boolean;
6240
+ policy?: FileSystemPolicyInput;
6211
6241
  }
6212
6242
 
6213
- /**
6214
- * File Reader Tool
6215
- */
6216
6243
  /**
6217
6244
  * Create file reader tool
6218
6245
  */
6219
- declare function createFileReaderTool(defaultEncoding?: string): _agentforge_core.Tool<{
6246
+ declare function createFileReaderTool(defaultEncoding?: string, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6220
6247
  path: string;
6221
6248
  encoding?: "ascii" | "binary" | "base64" | "hex" | "utf-8" | "utf8" | undefined;
6222
6249
  }, {
@@ -6230,13 +6257,10 @@ declare function createFileReaderTool(defaultEncoding?: string): _agentforge_cor
6230
6257
  error?: string;
6231
6258
  }>;
6232
6259
 
6233
- /**
6234
- * File Writer Tool
6235
- */
6236
6260
  /**
6237
6261
  * Create file writer tool
6238
6262
  */
6239
- declare function createFileWriterTool(defaultEncoding?: string, createDirsDefault?: boolean): _agentforge_core.Tool<{
6263
+ declare function createFileWriterTool(defaultEncoding?: string, createDirsDefault?: boolean, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6240
6264
  path: string;
6241
6265
  content: string;
6242
6266
  encoding?: "ascii" | "base64" | "hex" | "utf-8" | "utf8" | undefined;
@@ -6251,13 +6275,10 @@ declare function createFileWriterTool(defaultEncoding?: string, createDirsDefaul
6251
6275
  error?: string;
6252
6276
  }>;
6253
6277
 
6254
- /**
6255
- * File Append Tool
6256
- */
6257
6278
  /**
6258
6279
  * Create file append tool
6259
6280
  */
6260
- declare function createFileAppendTool(defaultEncoding?: string): _agentforge_core.Tool<{
6281
+ declare function createFileAppendTool(defaultEncoding?: string, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6261
6282
  path: string;
6262
6283
  content: string;
6263
6284
  encoding?: "ascii" | "utf-8" | "utf8" | undefined;
@@ -6270,13 +6291,10 @@ declare function createFileAppendTool(defaultEncoding?: string): _agentforge_cor
6270
6291
  error?: string;
6271
6292
  }>;
6272
6293
 
6273
- /**
6274
- * File Delete Tool
6275
- */
6276
6294
  /**
6277
6295
  * Create file delete tool
6278
6296
  */
6279
- declare function createFileDeleteTool(): _agentforge_core.Tool<{
6297
+ declare function createFileDeleteTool(policy?: FileSystemPolicy): _agentforge_core.Tool<{
6280
6298
  path: string;
6281
6299
  }, {
6282
6300
  success: boolean;
@@ -6287,13 +6305,10 @@ declare function createFileDeleteTool(): _agentforge_core.Tool<{
6287
6305
  error?: string;
6288
6306
  }>;
6289
6307
 
6290
- /**
6291
- * File Exists Tool
6292
- */
6293
6308
  /**
6294
6309
  * Create file exists tool
6295
6310
  */
6296
- declare function createFileExistsTool(): _agentforge_core.Tool<{
6311
+ declare function createFileExistsTool(policy?: FileSystemPolicy): _agentforge_core.Tool<{
6297
6312
  path: string;
6298
6313
  }, {
6299
6314
  exists: boolean;
@@ -6302,6 +6317,17 @@ declare function createFileExistsTool(): _agentforge_core.Tool<{
6302
6317
  isDirectory: boolean;
6303
6318
  size: number;
6304
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;
6305
6331
  } | {
6306
6332
  exists: boolean;
6307
6333
  path: string;
@@ -6309,6 +6335,8 @@ declare function createFileExistsTool(): _agentforge_core.Tool<{
6309
6335
  isDirectory?: undefined;
6310
6336
  size?: undefined;
6311
6337
  modified?: undefined;
6338
+ success?: undefined;
6339
+ error?: undefined;
6312
6340
  }>;
6313
6341
 
6314
6342
  /**
@@ -6372,6 +6400,17 @@ declare const fileExists: _agentforge_core.Tool<{
6372
6400
  isDirectory: boolean;
6373
6401
  size: number;
6374
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;
6375
6414
  } | {
6376
6415
  exists: boolean;
6377
6416
  path: string;
@@ -6379,6 +6418,8 @@ declare const fileExists: _agentforge_core.Tool<{
6379
6418
  isDirectory?: undefined;
6380
6419
  size?: undefined;
6381
6420
  modified?: undefined;
6421
+ success?: undefined;
6422
+ error?: undefined;
6382
6423
  }>;
6383
6424
  /**
6384
6425
  * Array of all file operation tools
@@ -6437,6 +6478,17 @@ declare const fileOperationTools: (_agentforge_core.Tool<{
6437
6478
  isDirectory: boolean;
6438
6479
  size: number;
6439
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;
6440
6492
  } | {
6441
6493
  exists: boolean;
6442
6494
  path: string;
@@ -6444,6 +6496,8 @@ declare const fileOperationTools: (_agentforge_core.Tool<{
6444
6496
  isDirectory?: undefined;
6445
6497
  size?: undefined;
6446
6498
  modified?: undefined;
6499
+ success?: undefined;
6500
+ error?: undefined;
6447
6501
  }>)[];
6448
6502
  /**
6449
6503
  * Create file operation tools with custom configuration
@@ -6502,6 +6556,17 @@ declare function createFileOperationTools(config?: FileOperationsConfig): (_agen
6502
6556
  isDirectory: boolean;
6503
6557
  size: number;
6504
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;
6505
6570
  } | {
6506
6571
  exists: boolean;
6507
6572
  path: string;
@@ -6509,6 +6574,8 @@ declare function createFileOperationTools(config?: FileOperationsConfig): (_agen
6509
6574
  isDirectory?: undefined;
6510
6575
  size?: undefined;
6511
6576
  modified?: undefined;
6577
+ success?: undefined;
6578
+ error?: undefined;
6512
6579
  }>)[];
6513
6580
 
6514
6581
  /**
@@ -6588,15 +6655,13 @@ interface DirectoryOperationsConfig {
6588
6655
  defaultRecursive?: boolean;
6589
6656
  defaultIncludeDetails?: boolean;
6590
6657
  defaultCaseSensitive?: boolean;
6658
+ policy?: FileSystemPolicyInput;
6591
6659
  }
6592
6660
 
6593
- /**
6594
- * Directory List Tool
6595
- */
6596
6661
  /**
6597
6662
  * Create directory list tool
6598
6663
  */
6599
- declare function createDirectoryListTool(defaultRecursive?: boolean, defaultIncludeDetails?: boolean): _agentforge_core.Tool<{
6664
+ declare function createDirectoryListTool(defaultRecursive?: boolean, defaultIncludeDetails?: boolean, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6600
6665
  path: string;
6601
6666
  recursive?: boolean | undefined;
6602
6667
  includeDetails?: boolean | undefined;
@@ -6611,13 +6676,10 @@ declare function createDirectoryListTool(defaultRecursive?: boolean, defaultIncl
6611
6676
  error?: string;
6612
6677
  }>;
6613
6678
 
6614
- /**
6615
- * Directory Create Tool
6616
- */
6617
6679
  /**
6618
6680
  * Create directory create tool
6619
6681
  */
6620
- declare function createDirectoryCreateTool(defaultRecursive?: boolean): _agentforge_core.Tool<{
6682
+ declare function createDirectoryCreateTool(defaultRecursive?: boolean, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6621
6683
  path: string;
6622
6684
  recursive?: boolean | undefined;
6623
6685
  }, {
@@ -6629,13 +6691,10 @@ declare function createDirectoryCreateTool(defaultRecursive?: boolean): _agentfo
6629
6691
  error?: string;
6630
6692
  }>;
6631
6693
 
6632
- /**
6633
- * Directory Delete Tool
6634
- */
6635
6694
  /**
6636
6695
  * Create directory delete tool
6637
6696
  */
6638
- declare function createDirectoryDeleteTool(defaultRecursive?: boolean): _agentforge_core.Tool<{
6697
+ declare function createDirectoryDeleteTool(defaultRecursive?: boolean, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6639
6698
  path: string;
6640
6699
  recursive?: boolean | undefined;
6641
6700
  }, {
@@ -6647,13 +6706,10 @@ declare function createDirectoryDeleteTool(defaultRecursive?: boolean): _agentfo
6647
6706
  error?: string;
6648
6707
  }>;
6649
6708
 
6650
- /**
6651
- * File Search Tool
6652
- */
6653
6709
  /**
6654
6710
  * Create file search tool
6655
6711
  */
6656
- declare function createFileSearchTool(defaultRecursive?: boolean, defaultCaseSensitive?: boolean): _agentforge_core.Tool<{
6712
+ declare function createFileSearchTool(defaultRecursive?: boolean, defaultCaseSensitive?: boolean, policy?: FileSystemPolicy): _agentforge_core.Tool<{
6657
6713
  directory: string;
6658
6714
  pattern: string;
6659
6715
  recursive?: boolean | undefined;
@@ -8884,4 +8940,4 @@ declare const askHumanTool: _agentforge_core.Tool<{
8884
8940
  suggestions?: string[] | undefined;
8885
8941
  }, AskHumanOutput>;
8886
8942
 
8887
- 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_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, 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, 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, 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 };