@everworker/oneringai 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +63 -17
- package/dist/index.cjs +1022 -129
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +461 -4
- package/dist/index.d.ts +461 -4
- package/dist/index.js +946 -70
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -438,6 +438,10 @@ interface ToolExecutionPipelineOptions {
|
|
|
438
438
|
useRandomUUID?: boolean;
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
+
/**
|
|
442
|
+
* Source identifier for a registered tool
|
|
443
|
+
*/
|
|
444
|
+
type ToolSource = 'built-in' | 'connector' | 'custom' | 'mcp' | string;
|
|
441
445
|
interface ToolOptions {
|
|
442
446
|
/** Whether the tool is enabled. Default: true */
|
|
443
447
|
enabled?: boolean;
|
|
@@ -449,6 +453,12 @@ interface ToolOptions {
|
|
|
449
453
|
conditions?: ToolCondition[];
|
|
450
454
|
/** Permission configuration override. If not set, uses tool's config or defaults. */
|
|
451
455
|
permission?: ToolPermissionConfig$1;
|
|
456
|
+
/** Tags for categorization and search */
|
|
457
|
+
tags?: string[];
|
|
458
|
+
/** Category grouping */
|
|
459
|
+
category?: string;
|
|
460
|
+
/** Source identifier (built-in, connector, custom, mcp, etc.) */
|
|
461
|
+
source?: ToolSource;
|
|
452
462
|
}
|
|
453
463
|
interface ToolCondition {
|
|
454
464
|
type: 'mode' | 'context' | 'custom';
|
|
@@ -479,6 +489,12 @@ interface ToolRegistration {
|
|
|
479
489
|
permission?: ToolPermissionConfig$1;
|
|
480
490
|
/** Circuit breaker configuration for this tool (uses shared CircuitBreakerConfig from resilience) */
|
|
481
491
|
circuitBreakerConfig?: Partial<CircuitBreakerConfig>;
|
|
492
|
+
/** Tags for categorization and search */
|
|
493
|
+
tags?: string[];
|
|
494
|
+
/** Category grouping */
|
|
495
|
+
category?: string;
|
|
496
|
+
/** Source identifier (built-in, connector, custom, mcp, etc.) */
|
|
497
|
+
source?: ToolSource;
|
|
482
498
|
}
|
|
483
499
|
interface ToolMetadata {
|
|
484
500
|
registeredAt: Date;
|
|
@@ -507,6 +523,12 @@ interface SerializedToolState {
|
|
|
507
523
|
priorities: Record<string, number>;
|
|
508
524
|
/** Permission configs by tool name */
|
|
509
525
|
permissions?: Record<string, ToolPermissionConfig$1>;
|
|
526
|
+
/** Tags by tool name */
|
|
527
|
+
tags?: Record<string, string[]>;
|
|
528
|
+
/** Categories by tool name */
|
|
529
|
+
categories?: Record<string, string>;
|
|
530
|
+
/** Sources by tool name */
|
|
531
|
+
sources?: Record<string, ToolSource>;
|
|
510
532
|
}
|
|
511
533
|
type ToolManagerEvent = 'tool:registered' | 'tool:unregistered' | 'tool:enabled' | 'tool:disabled' | 'tool:executed' | 'namespace:enabled' | 'namespace:disabled';
|
|
512
534
|
/**
|
|
@@ -9161,6 +9183,227 @@ declare class FileMediaStorage implements IMediaStorage {
|
|
|
9161
9183
|
*/
|
|
9162
9184
|
declare function createFileMediaStorage(config?: FileMediaStorageConfig): FileMediaStorage;
|
|
9163
9185
|
|
|
9186
|
+
/**
|
|
9187
|
+
* CustomToolDefinition - Entity for user-created custom tools
|
|
9188
|
+
*
|
|
9189
|
+
* Defines the structure for tools created by agents at runtime,
|
|
9190
|
+
* persisted to disk, and hydrated back into executable ToolFunctions.
|
|
9191
|
+
*/
|
|
9192
|
+
/**
|
|
9193
|
+
* Current format version for stored custom tool definitions
|
|
9194
|
+
*/
|
|
9195
|
+
declare const CUSTOM_TOOL_DEFINITION_VERSION = 1;
|
|
9196
|
+
/**
|
|
9197
|
+
* Test case for a custom tool
|
|
9198
|
+
*/
|
|
9199
|
+
interface CustomToolTestCase {
|
|
9200
|
+
/** Human-readable label for this test case */
|
|
9201
|
+
label: string;
|
|
9202
|
+
/** Input to pass to the tool */
|
|
9203
|
+
input: unknown;
|
|
9204
|
+
/** Expected output (for validation) */
|
|
9205
|
+
expectedOutput?: unknown;
|
|
9206
|
+
/** Result from last test run */
|
|
9207
|
+
lastResult?: unknown;
|
|
9208
|
+
/** Error from last test run */
|
|
9209
|
+
lastError?: string;
|
|
9210
|
+
}
|
|
9211
|
+
/**
|
|
9212
|
+
* Metadata for a custom tool
|
|
9213
|
+
*/
|
|
9214
|
+
interface CustomToolMetadata {
|
|
9215
|
+
/** Tags for categorization and search */
|
|
9216
|
+
tags?: string[];
|
|
9217
|
+
/** Category grouping */
|
|
9218
|
+
category?: string;
|
|
9219
|
+
/** Author/creator identifier */
|
|
9220
|
+
author?: string;
|
|
9221
|
+
/** The prompt that was used to generate this tool */
|
|
9222
|
+
generationPrompt?: string;
|
|
9223
|
+
/** Test cases for validation */
|
|
9224
|
+
testCases?: CustomToolTestCase[];
|
|
9225
|
+
/** Whether this tool requires a connector to function */
|
|
9226
|
+
requiresConnector?: boolean;
|
|
9227
|
+
/** Connector names this tool uses */
|
|
9228
|
+
connectorNames?: string[];
|
|
9229
|
+
/** Extensible metadata */
|
|
9230
|
+
[key: string]: unknown;
|
|
9231
|
+
}
|
|
9232
|
+
/**
|
|
9233
|
+
* Full custom tool definition - everything needed to hydrate into a ToolFunction
|
|
9234
|
+
*/
|
|
9235
|
+
interface CustomToolDefinition {
|
|
9236
|
+
/** Format version for migration support */
|
|
9237
|
+
version: number;
|
|
9238
|
+
/** Unique tool name (must match /^[a-z][a-z0-9_]*$/) */
|
|
9239
|
+
name: string;
|
|
9240
|
+
/** Human-readable display name */
|
|
9241
|
+
displayName?: string;
|
|
9242
|
+
/** Description of what the tool does */
|
|
9243
|
+
description: string;
|
|
9244
|
+
/** JSON Schema for input parameters */
|
|
9245
|
+
inputSchema: Record<string, unknown>;
|
|
9246
|
+
/** JSON Schema for output (documentation only) */
|
|
9247
|
+
outputSchema?: Record<string, unknown>;
|
|
9248
|
+
/** JavaScript code to execute in VM sandbox */
|
|
9249
|
+
code: string;
|
|
9250
|
+
/** When the definition was created */
|
|
9251
|
+
createdAt: string;
|
|
9252
|
+
/** When the definition was last updated */
|
|
9253
|
+
updatedAt: string;
|
|
9254
|
+
/** Optional metadata */
|
|
9255
|
+
metadata?: CustomToolMetadata;
|
|
9256
|
+
}
|
|
9257
|
+
/**
|
|
9258
|
+
* Lightweight summary of a custom tool (no code) - used for listing
|
|
9259
|
+
*/
|
|
9260
|
+
interface CustomToolSummary {
|
|
9261
|
+
/** Tool name */
|
|
9262
|
+
name: string;
|
|
9263
|
+
/** Human-readable display name */
|
|
9264
|
+
displayName?: string;
|
|
9265
|
+
/** Description */
|
|
9266
|
+
description: string;
|
|
9267
|
+
/** When created */
|
|
9268
|
+
createdAt: string;
|
|
9269
|
+
/** When last updated */
|
|
9270
|
+
updatedAt: string;
|
|
9271
|
+
/** Optional metadata */
|
|
9272
|
+
metadata?: CustomToolMetadata;
|
|
9273
|
+
}
|
|
9274
|
+
|
|
9275
|
+
/**
|
|
9276
|
+
* ICustomToolStorage - Storage interface for custom tool definitions
|
|
9277
|
+
*
|
|
9278
|
+
* Provides persistence operations for user-created custom tools.
|
|
9279
|
+
* Follows Clean Architecture - interface in domain layer,
|
|
9280
|
+
* implementations in infrastructure layer.
|
|
9281
|
+
*/
|
|
9282
|
+
|
|
9283
|
+
/**
|
|
9284
|
+
* Options for listing custom tools
|
|
9285
|
+
*/
|
|
9286
|
+
interface CustomToolListOptions {
|
|
9287
|
+
/** Filter by tags (any match) */
|
|
9288
|
+
tags?: string[];
|
|
9289
|
+
/** Filter by category */
|
|
9290
|
+
category?: string;
|
|
9291
|
+
/** Search string (case-insensitive substring match on name + description) */
|
|
9292
|
+
search?: string;
|
|
9293
|
+
/** Maximum number of results */
|
|
9294
|
+
limit?: number;
|
|
9295
|
+
/** Offset for pagination */
|
|
9296
|
+
offset?: number;
|
|
9297
|
+
}
|
|
9298
|
+
/**
|
|
9299
|
+
* Storage interface for custom tool definitions
|
|
9300
|
+
*
|
|
9301
|
+
* Implementations:
|
|
9302
|
+
* - FileCustomToolStorage: File-based storage at ~/.oneringai/custom-tools/
|
|
9303
|
+
*/
|
|
9304
|
+
interface ICustomToolStorage {
|
|
9305
|
+
/**
|
|
9306
|
+
* Save a custom tool definition
|
|
9307
|
+
*/
|
|
9308
|
+
save(definition: CustomToolDefinition): Promise<void>;
|
|
9309
|
+
/**
|
|
9310
|
+
* Load a custom tool definition by name
|
|
9311
|
+
*/
|
|
9312
|
+
load(name: string): Promise<CustomToolDefinition | null>;
|
|
9313
|
+
/**
|
|
9314
|
+
* Delete a custom tool definition by name
|
|
9315
|
+
*/
|
|
9316
|
+
delete(name: string): Promise<void>;
|
|
9317
|
+
/**
|
|
9318
|
+
* Check if a custom tool exists
|
|
9319
|
+
*/
|
|
9320
|
+
exists(name: string): Promise<boolean>;
|
|
9321
|
+
/**
|
|
9322
|
+
* List custom tools (summaries only)
|
|
9323
|
+
*/
|
|
9324
|
+
list(options?: CustomToolListOptions): Promise<CustomToolSummary[]>;
|
|
9325
|
+
/**
|
|
9326
|
+
* Update metadata without loading full definition
|
|
9327
|
+
*/
|
|
9328
|
+
updateMetadata?(name: string, metadata: Record<string, unknown>): Promise<void>;
|
|
9329
|
+
/**
|
|
9330
|
+
* Get the storage path/location (for display/debugging)
|
|
9331
|
+
*/
|
|
9332
|
+
getPath(): string;
|
|
9333
|
+
}
|
|
9334
|
+
|
|
9335
|
+
/**
|
|
9336
|
+
* FileCustomToolStorage - File-based storage for custom tool definitions
|
|
9337
|
+
*
|
|
9338
|
+
* Stores custom tools as JSON files on disk.
|
|
9339
|
+
* Path: ~/.oneringai/custom-tools/<sanitized-name>.json
|
|
9340
|
+
*
|
|
9341
|
+
* Features:
|
|
9342
|
+
* - Cross-platform path handling
|
|
9343
|
+
* - Safe name sanitization
|
|
9344
|
+
* - Atomic file operations (write to .tmp then rename)
|
|
9345
|
+
* - Index file for fast listing
|
|
9346
|
+
* - Search support (case-insensitive substring on name + description)
|
|
9347
|
+
*/
|
|
9348
|
+
|
|
9349
|
+
/**
|
|
9350
|
+
* Configuration for FileCustomToolStorage
|
|
9351
|
+
*/
|
|
9352
|
+
interface FileCustomToolStorageConfig {
|
|
9353
|
+
/** Override the base directory (default: ~/.oneringai/custom-tools) */
|
|
9354
|
+
baseDirectory?: string;
|
|
9355
|
+
/** Pretty-print JSON (default: true) */
|
|
9356
|
+
prettyPrint?: boolean;
|
|
9357
|
+
}
|
|
9358
|
+
/**
|
|
9359
|
+
* File-based storage for custom tool definitions
|
|
9360
|
+
*/
|
|
9361
|
+
declare class FileCustomToolStorage implements ICustomToolStorage {
|
|
9362
|
+
private readonly baseDirectory;
|
|
9363
|
+
private readonly indexPath;
|
|
9364
|
+
private readonly prettyPrint;
|
|
9365
|
+
private index;
|
|
9366
|
+
constructor(config?: FileCustomToolStorageConfig);
|
|
9367
|
+
/**
|
|
9368
|
+
* Save a custom tool definition
|
|
9369
|
+
*/
|
|
9370
|
+
save(definition: CustomToolDefinition): Promise<void>;
|
|
9371
|
+
/**
|
|
9372
|
+
* Load a custom tool definition by name
|
|
9373
|
+
*/
|
|
9374
|
+
load(name: string): Promise<CustomToolDefinition | null>;
|
|
9375
|
+
/**
|
|
9376
|
+
* Delete a custom tool definition
|
|
9377
|
+
*/
|
|
9378
|
+
delete(name: string): Promise<void>;
|
|
9379
|
+
/**
|
|
9380
|
+
* Check if a custom tool exists
|
|
9381
|
+
*/
|
|
9382
|
+
exists(name: string): Promise<boolean>;
|
|
9383
|
+
/**
|
|
9384
|
+
* List custom tools (summaries only)
|
|
9385
|
+
*/
|
|
9386
|
+
list(options?: CustomToolListOptions): Promise<CustomToolSummary[]>;
|
|
9387
|
+
/**
|
|
9388
|
+
* Update metadata without loading full definition
|
|
9389
|
+
*/
|
|
9390
|
+
updateMetadata(name: string, metadata: Record<string, unknown>): Promise<void>;
|
|
9391
|
+
/**
|
|
9392
|
+
* Get storage path
|
|
9393
|
+
*/
|
|
9394
|
+
getPath(): string;
|
|
9395
|
+
private ensureDirectory;
|
|
9396
|
+
private loadIndex;
|
|
9397
|
+
private saveIndex;
|
|
9398
|
+
private updateIndex;
|
|
9399
|
+
private removeFromIndex;
|
|
9400
|
+
private definitionToIndexEntry;
|
|
9401
|
+
}
|
|
9402
|
+
/**
|
|
9403
|
+
* Create a FileCustomToolStorage with default configuration
|
|
9404
|
+
*/
|
|
9405
|
+
declare function createFileCustomToolStorage(config?: FileCustomToolStorageConfig): FileCustomToolStorage;
|
|
9406
|
+
|
|
9164
9407
|
/**
|
|
9165
9408
|
* Video Model Registry
|
|
9166
9409
|
*
|
|
@@ -12018,6 +12261,10 @@ declare function createExecuteJavaScriptTool(options?: ExecuteJavaScriptToolOpti
|
|
|
12018
12261
|
* For custom timeouts, use createExecuteJavaScriptTool(options).
|
|
12019
12262
|
*/
|
|
12020
12263
|
declare const executeJavaScript: ToolFunction<ExecuteJSArgs, ExecuteJSResult>;
|
|
12264
|
+
/**
|
|
12265
|
+
* Execute code in Node.js vm module with userId-scoped connector access.
|
|
12266
|
+
*/
|
|
12267
|
+
declare function executeInVM(code: string, input: any, timeout: number, logs: string[], userId: string | undefined, registry: IConnectorRegistry): Promise<any>;
|
|
12021
12268
|
|
|
12022
12269
|
/**
|
|
12023
12270
|
* Module-level configuration for multimedia output storage
|
|
@@ -12844,13 +13091,13 @@ declare const desktopTools: (ToolFunction<DesktopScreenshotArgs, DesktopScreensh
|
|
|
12844
13091
|
* AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
|
|
12845
13092
|
*
|
|
12846
13093
|
* Generated by: scripts/generate-tool-registry.ts
|
|
12847
|
-
* Generated at: 2026-02-
|
|
13094
|
+
* Generated at: 2026-02-17T20:31:54.061Z
|
|
12848
13095
|
*
|
|
12849
13096
|
* To regenerate: npm run generate:tools
|
|
12850
13097
|
*/
|
|
12851
13098
|
|
|
12852
13099
|
/** Tool category for grouping */
|
|
12853
|
-
type ToolCategory = 'filesystem' | 'shell' | 'web' | 'code' | 'json' | 'connector' | 'desktop' | 'other';
|
|
13100
|
+
type ToolCategory = 'filesystem' | 'shell' | 'web' | 'code' | 'json' | 'connector' | 'desktop' | 'custom-tools' | 'other';
|
|
12854
13101
|
/** Metadata for a tool in the registry */
|
|
12855
13102
|
interface ToolRegistryEntry {
|
|
12856
13103
|
/** Tool name (matches definition.function.name) */
|
|
@@ -12887,6 +13134,199 @@ declare function getToolsRequiringConnector(): ToolRegistryEntry[];
|
|
|
12887
13134
|
/** Get all unique category names */
|
|
12888
13135
|
declare function getToolCategories(): ToolCategory[];
|
|
12889
13136
|
|
|
13137
|
+
/**
|
|
13138
|
+
* custom_tool_draft - Validates a draft custom tool structure
|
|
13139
|
+
*
|
|
13140
|
+
* The agent generates the tool content; this tool validates:
|
|
13141
|
+
* - Name format (/^[a-z][a-z0-9_]*$/)
|
|
13142
|
+
* - Input schema has type: 'object'
|
|
13143
|
+
* - Code is syntactically valid
|
|
13144
|
+
* - Description is not empty
|
|
13145
|
+
*
|
|
13146
|
+
* Uses descriptionFactory to dynamically show available connectors
|
|
13147
|
+
* so the agent knows what APIs it can use when writing tool code.
|
|
13148
|
+
*/
|
|
13149
|
+
|
|
13150
|
+
interface DraftArgs {
|
|
13151
|
+
name: string;
|
|
13152
|
+
description: string;
|
|
13153
|
+
inputSchema: Record<string, unknown>;
|
|
13154
|
+
outputSchema?: Record<string, unknown>;
|
|
13155
|
+
code: string;
|
|
13156
|
+
tags?: string[];
|
|
13157
|
+
connectorName?: string;
|
|
13158
|
+
}
|
|
13159
|
+
interface DraftResult {
|
|
13160
|
+
success: boolean;
|
|
13161
|
+
errors?: string[];
|
|
13162
|
+
validated?: {
|
|
13163
|
+
name: string;
|
|
13164
|
+
description: string;
|
|
13165
|
+
inputSchema: Record<string, unknown>;
|
|
13166
|
+
outputSchema?: Record<string, unknown>;
|
|
13167
|
+
code: string;
|
|
13168
|
+
tags?: string[];
|
|
13169
|
+
connectorName?: string;
|
|
13170
|
+
};
|
|
13171
|
+
}
|
|
13172
|
+
declare function createCustomToolDraft(): ToolFunction<DraftArgs, DraftResult>;
|
|
13173
|
+
/** Default custom_tool_draft instance */
|
|
13174
|
+
declare const customToolDraft: ToolFunction<DraftArgs, DraftResult>;
|
|
13175
|
+
|
|
13176
|
+
/**
|
|
13177
|
+
* custom_tool_test - Executes custom tool code in the VM sandbox for testing
|
|
13178
|
+
*
|
|
13179
|
+
* Reuses executeInVM from the executeJavaScript tool.
|
|
13180
|
+
* Uses descriptionFactory to dynamically show available connectors.
|
|
13181
|
+
*/
|
|
13182
|
+
|
|
13183
|
+
interface TestArgs {
|
|
13184
|
+
code: string;
|
|
13185
|
+
inputSchema: Record<string, unknown>;
|
|
13186
|
+
testInput: unknown;
|
|
13187
|
+
connectorName?: string;
|
|
13188
|
+
timeout?: number;
|
|
13189
|
+
}
|
|
13190
|
+
interface TestResult {
|
|
13191
|
+
success: boolean;
|
|
13192
|
+
result: unknown;
|
|
13193
|
+
logs: string[];
|
|
13194
|
+
error?: string;
|
|
13195
|
+
executionTime: number;
|
|
13196
|
+
}
|
|
13197
|
+
declare function createCustomToolTest(): ToolFunction<TestArgs, TestResult>;
|
|
13198
|
+
/** Default custom_tool_test instance */
|
|
13199
|
+
declare const customToolTest: ToolFunction<TestArgs, TestResult>;
|
|
13200
|
+
|
|
13201
|
+
/**
|
|
13202
|
+
* custom_tool_save - Persists a custom tool definition to storage
|
|
13203
|
+
*/
|
|
13204
|
+
|
|
13205
|
+
interface SaveArgs {
|
|
13206
|
+
name: string;
|
|
13207
|
+
description: string;
|
|
13208
|
+
displayName?: string;
|
|
13209
|
+
inputSchema: Record<string, unknown>;
|
|
13210
|
+
outputSchema?: Record<string, unknown>;
|
|
13211
|
+
code: string;
|
|
13212
|
+
tags?: string[];
|
|
13213
|
+
category?: string;
|
|
13214
|
+
generationPrompt?: string;
|
|
13215
|
+
connectorNames?: string[];
|
|
13216
|
+
}
|
|
13217
|
+
interface SaveResult {
|
|
13218
|
+
success: boolean;
|
|
13219
|
+
name: string;
|
|
13220
|
+
storagePath: string;
|
|
13221
|
+
error?: string;
|
|
13222
|
+
}
|
|
13223
|
+
declare function createCustomToolSave(storage: ICustomToolStorage): ToolFunction<SaveArgs, SaveResult>;
|
|
13224
|
+
/** Default custom_tool_save instance (uses FileCustomToolStorage) */
|
|
13225
|
+
declare const customToolSave: ToolFunction<SaveArgs, SaveResult>;
|
|
13226
|
+
|
|
13227
|
+
/**
|
|
13228
|
+
* custom_tool_list - Lists saved custom tools from storage
|
|
13229
|
+
*/
|
|
13230
|
+
|
|
13231
|
+
interface ListArgs {
|
|
13232
|
+
search?: string;
|
|
13233
|
+
tags?: string[];
|
|
13234
|
+
category?: string;
|
|
13235
|
+
limit?: number;
|
|
13236
|
+
offset?: number;
|
|
13237
|
+
}
|
|
13238
|
+
interface ListResult {
|
|
13239
|
+
tools: CustomToolSummary[];
|
|
13240
|
+
total: number;
|
|
13241
|
+
}
|
|
13242
|
+
declare function createCustomToolList(storage: ICustomToolStorage): ToolFunction<ListArgs, ListResult>;
|
|
13243
|
+
/** Default custom_tool_list instance (uses FileCustomToolStorage) */
|
|
13244
|
+
declare const customToolList: ToolFunction<ListArgs, ListResult>;
|
|
13245
|
+
|
|
13246
|
+
/**
|
|
13247
|
+
* custom_tool_load - Loads a full custom tool definition from storage
|
|
13248
|
+
*/
|
|
13249
|
+
|
|
13250
|
+
interface LoadArgs {
|
|
13251
|
+
name: string;
|
|
13252
|
+
}
|
|
13253
|
+
interface LoadResult {
|
|
13254
|
+
success: boolean;
|
|
13255
|
+
tool?: CustomToolDefinition;
|
|
13256
|
+
error?: string;
|
|
13257
|
+
}
|
|
13258
|
+
declare function createCustomToolLoad(storage: ICustomToolStorage): ToolFunction<LoadArgs, LoadResult>;
|
|
13259
|
+
/** Default custom_tool_load instance (uses FileCustomToolStorage) */
|
|
13260
|
+
declare const customToolLoad: ToolFunction<LoadArgs, LoadResult>;
|
|
13261
|
+
|
|
13262
|
+
/**
|
|
13263
|
+
* custom_tool_delete - Deletes a custom tool from storage
|
|
13264
|
+
*/
|
|
13265
|
+
|
|
13266
|
+
interface DeleteArgs {
|
|
13267
|
+
name: string;
|
|
13268
|
+
}
|
|
13269
|
+
interface DeleteResult {
|
|
13270
|
+
success: boolean;
|
|
13271
|
+
name: string;
|
|
13272
|
+
error?: string;
|
|
13273
|
+
}
|
|
13274
|
+
declare function createCustomToolDelete(storage: ICustomToolStorage): ToolFunction<DeleteArgs, DeleteResult>;
|
|
13275
|
+
/** Default custom_tool_delete instance (uses FileCustomToolStorage) */
|
|
13276
|
+
declare const customToolDelete: ToolFunction<DeleteArgs, DeleteResult>;
|
|
13277
|
+
|
|
13278
|
+
/**
|
|
13279
|
+
* Factory functions for creating custom tool meta-tools.
|
|
13280
|
+
*
|
|
13281
|
+
* Individual factories for each tool, plus a bundle factory
|
|
13282
|
+
* that creates all 6 tools at once.
|
|
13283
|
+
*/
|
|
13284
|
+
|
|
13285
|
+
interface CustomToolMetaToolsOptions {
|
|
13286
|
+
/** Custom storage backend. Default: FileCustomToolStorage */
|
|
13287
|
+
storage?: ICustomToolStorage;
|
|
13288
|
+
}
|
|
13289
|
+
/**
|
|
13290
|
+
* Create all 6 custom tool meta-tools as an array.
|
|
13291
|
+
*
|
|
13292
|
+
* @example
|
|
13293
|
+
* ```typescript
|
|
13294
|
+
* const agent = Agent.create({
|
|
13295
|
+
* connector: 'openai',
|
|
13296
|
+
* model: 'gpt-4',
|
|
13297
|
+
* tools: [
|
|
13298
|
+
* ...createCustomToolMetaTools(),
|
|
13299
|
+
* ...otherTools,
|
|
13300
|
+
* ],
|
|
13301
|
+
* });
|
|
13302
|
+
* ```
|
|
13303
|
+
*/
|
|
13304
|
+
declare function createCustomToolMetaTools(options?: CustomToolMetaToolsOptions): ToolFunction[];
|
|
13305
|
+
|
|
13306
|
+
/**
|
|
13307
|
+
* hydrateCustomTool - Converts a CustomToolDefinition into a live ToolFunction
|
|
13308
|
+
*
|
|
13309
|
+
* The hydrated tool is indistinguishable from built-in tools once
|
|
13310
|
+
* registered on ToolManager.
|
|
13311
|
+
*/
|
|
13312
|
+
|
|
13313
|
+
interface HydrateOptions {
|
|
13314
|
+
/** Default execution timeout in ms. Default: 10000 */
|
|
13315
|
+
defaultTimeout?: number;
|
|
13316
|
+
/** Maximum execution timeout in ms. Default: 30000 */
|
|
13317
|
+
maxTimeout?: number;
|
|
13318
|
+
}
|
|
13319
|
+
/**
|
|
13320
|
+
* Convert a stored CustomToolDefinition into an executable ToolFunction.
|
|
13321
|
+
*
|
|
13322
|
+
* The resulting ToolFunction:
|
|
13323
|
+
* - Executes the definition's code through executeInVM
|
|
13324
|
+
* - Has input args passed as `input` in the VM sandbox
|
|
13325
|
+
* - Gets connector registry from ToolContext for authenticatedFetch
|
|
13326
|
+
* - Has session-scoped permission with medium risk level
|
|
13327
|
+
*/
|
|
13328
|
+
declare function hydrateCustomTool(definition: CustomToolDefinition, options?: HydrateOptions): ToolFunction;
|
|
13329
|
+
|
|
12890
13330
|
/**
|
|
12891
13331
|
* ToolRegistry - Unified registry for all tools (built-in + connector-generated)
|
|
12892
13332
|
*
|
|
@@ -13022,6 +13462,7 @@ type index_BashResult = BashResult;
|
|
|
13022
13462
|
type index_ConnectorToolEntry = ConnectorToolEntry;
|
|
13023
13463
|
type index_ConnectorTools = ConnectorTools;
|
|
13024
13464
|
declare const index_ConnectorTools: typeof ConnectorTools;
|
|
13465
|
+
type index_CustomToolMetaToolsOptions = CustomToolMetaToolsOptions;
|
|
13025
13466
|
declare const index_DEFAULT_DESKTOP_CONFIG: typeof DEFAULT_DESKTOP_CONFIG;
|
|
13026
13467
|
declare const index_DEFAULT_FILESYSTEM_CONFIG: typeof DEFAULT_FILESYSTEM_CONFIG;
|
|
13027
13468
|
declare const index_DEFAULT_SHELL_CONFIG: typeof DEFAULT_SHELL_CONFIG;
|
|
@@ -13084,6 +13525,7 @@ type index_GitHubSearchFilesResult = GitHubSearchFilesResult;
|
|
|
13084
13525
|
type index_GlobResult = GlobResult;
|
|
13085
13526
|
type index_GrepMatch = GrepMatch;
|
|
13086
13527
|
type index_GrepResult = GrepResult;
|
|
13528
|
+
type index_HydrateOptions = HydrateOptions;
|
|
13087
13529
|
type index_IDesktopDriver = IDesktopDriver;
|
|
13088
13530
|
type index_IDocumentTransformer = IDocumentTransformer;
|
|
13089
13531
|
type index_IFormatHandler = IFormatHandler;
|
|
@@ -13104,6 +13546,13 @@ declare const index_applyHumanDelay: typeof applyHumanDelay;
|
|
|
13104
13546
|
declare const index_bash: typeof bash;
|
|
13105
13547
|
declare const index_createBashTool: typeof createBashTool;
|
|
13106
13548
|
declare const index_createCreatePRTool: typeof createCreatePRTool;
|
|
13549
|
+
declare const index_createCustomToolDelete: typeof createCustomToolDelete;
|
|
13550
|
+
declare const index_createCustomToolDraft: typeof createCustomToolDraft;
|
|
13551
|
+
declare const index_createCustomToolList: typeof createCustomToolList;
|
|
13552
|
+
declare const index_createCustomToolLoad: typeof createCustomToolLoad;
|
|
13553
|
+
declare const index_createCustomToolMetaTools: typeof createCustomToolMetaTools;
|
|
13554
|
+
declare const index_createCustomToolSave: typeof createCustomToolSave;
|
|
13555
|
+
declare const index_createCustomToolTest: typeof createCustomToolTest;
|
|
13107
13556
|
declare const index_createDesktopGetCursorTool: typeof createDesktopGetCursorTool;
|
|
13108
13557
|
declare const index_createDesktopGetScreenSizeTool: typeof createDesktopGetScreenSizeTool;
|
|
13109
13558
|
declare const index_createDesktopKeyboardKeyTool: typeof createDesktopKeyboardKeyTool;
|
|
@@ -13134,6 +13583,12 @@ declare const index_createVideoTools: typeof createVideoTools;
|
|
|
13134
13583
|
declare const index_createWebScrapeTool: typeof createWebScrapeTool;
|
|
13135
13584
|
declare const index_createWebSearchTool: typeof createWebSearchTool;
|
|
13136
13585
|
declare const index_createWriteFileTool: typeof createWriteFileTool;
|
|
13586
|
+
declare const index_customToolDelete: typeof customToolDelete;
|
|
13587
|
+
declare const index_customToolDraft: typeof customToolDraft;
|
|
13588
|
+
declare const index_customToolList: typeof customToolList;
|
|
13589
|
+
declare const index_customToolLoad: typeof customToolLoad;
|
|
13590
|
+
declare const index_customToolSave: typeof customToolSave;
|
|
13591
|
+
declare const index_customToolTest: typeof customToolTest;
|
|
13137
13592
|
declare const index_desktopGetCursor: typeof desktopGetCursor;
|
|
13138
13593
|
declare const index_desktopGetScreenSize: typeof desktopGetScreenSize;
|
|
13139
13594
|
declare const index_desktopKeyboardKey: typeof desktopKeyboardKey;
|
|
@@ -13148,6 +13603,7 @@ declare const index_desktopWindowFocus: typeof desktopWindowFocus;
|
|
|
13148
13603
|
declare const index_desktopWindowList: typeof desktopWindowList;
|
|
13149
13604
|
declare const index_developerTools: typeof developerTools;
|
|
13150
13605
|
declare const index_editFile: typeof editFile;
|
|
13606
|
+
declare const index_executeInVM: typeof executeInVM;
|
|
13151
13607
|
declare const index_executeJavaScript: typeof executeJavaScript;
|
|
13152
13608
|
declare const index_expandTilde: typeof expandTilde;
|
|
13153
13609
|
declare const index_getAllBuiltInTools: typeof getAllBuiltInTools;
|
|
@@ -13162,6 +13618,7 @@ declare const index_getToolsByCategory: typeof getToolsByCategory;
|
|
|
13162
13618
|
declare const index_getToolsRequiringConnector: typeof getToolsRequiringConnector;
|
|
13163
13619
|
declare const index_glob: typeof glob;
|
|
13164
13620
|
declare const index_grep: typeof grep;
|
|
13621
|
+
declare const index_hydrateCustomTool: typeof hydrateCustomTool;
|
|
13165
13622
|
declare const index_isBlockedCommand: typeof isBlockedCommand;
|
|
13166
13623
|
declare const index_isExcludedExtension: typeof isExcludedExtension;
|
|
13167
13624
|
declare const index_jsonManipulator: typeof jsonManipulator;
|
|
@@ -13180,7 +13637,7 @@ declare const index_validatePath: typeof validatePath;
|
|
|
13180
13637
|
declare const index_webFetch: typeof webFetch;
|
|
13181
13638
|
declare const index_writeFile: typeof writeFile;
|
|
13182
13639
|
declare namespace index {
|
|
13183
|
-
export { type index_BashResult as BashResult, type index_ConnectorToolEntry as ConnectorToolEntry, index_ConnectorTools as ConnectorTools, index_DEFAULT_DESKTOP_CONFIG as DEFAULT_DESKTOP_CONFIG, index_DEFAULT_FILESYSTEM_CONFIG as DEFAULT_FILESYSTEM_CONFIG, index_DEFAULT_SHELL_CONFIG as DEFAULT_SHELL_CONFIG, index_DESKTOP_TOOL_NAMES as DESKTOP_TOOL_NAMES, type index_DesktopGetCursorResult as DesktopGetCursorResult, type index_DesktopGetScreenSizeResult as DesktopGetScreenSizeResult, type index_DesktopKeyboardKeyArgs as DesktopKeyboardKeyArgs, type index_DesktopKeyboardKeyResult as DesktopKeyboardKeyResult, type index_DesktopKeyboardTypeArgs as DesktopKeyboardTypeArgs, type index_DesktopKeyboardTypeResult as DesktopKeyboardTypeResult, type index_DesktopMouseClickArgs as DesktopMouseClickArgs, type index_DesktopMouseClickResult as DesktopMouseClickResult, type index_DesktopMouseDragArgs as DesktopMouseDragArgs, type index_DesktopMouseDragResult as DesktopMouseDragResult, type index_DesktopMouseMoveArgs as DesktopMouseMoveArgs, type index_DesktopMouseMoveResult as DesktopMouseMoveResult, type index_DesktopMouseScrollArgs as DesktopMouseScrollArgs, type index_DesktopMouseScrollResult as DesktopMouseScrollResult, type index_DesktopPoint as DesktopPoint, type index_DesktopScreenSize as DesktopScreenSize, type index_DesktopScreenshot as DesktopScreenshot, type index_DesktopScreenshotArgs as DesktopScreenshotArgs, type index_DesktopScreenshotResult as DesktopScreenshotResult, type index_DesktopToolConfig as DesktopToolConfig, type index_DesktopToolName as DesktopToolName, type index_DesktopWindow as DesktopWindow, type index_DesktopWindowFocusArgs as DesktopWindowFocusArgs, type index_DesktopWindowFocusResult as DesktopWindowFocusResult, type index_DesktopWindowListResult as DesktopWindowListResult, type index_DocumentFamily as DocumentFamily, type index_DocumentFormat as DocumentFormat, type index_DocumentImagePiece as DocumentImagePiece, type index_DocumentMetadata as DocumentMetadata, type index_DocumentPiece as DocumentPiece, type index_DocumentReadOptions as DocumentReadOptions, index_DocumentReader as DocumentReader, type index_DocumentReaderConfig as DocumentReaderConfig, type index_DocumentResult as DocumentResult, type index_DocumentSource as DocumentSource, type index_DocumentTextPiece as DocumentTextPiece, type index_DocumentToContentOptions as DocumentToContentOptions, type index_EditFileResult as EditFileResult, FileMediaStorage as FileMediaOutputHandler, type index_FilesystemToolConfig as FilesystemToolConfig, type index_FormatDetectionResult as FormatDetectionResult, index_FormatDetector as FormatDetector, type index_GenericAPICallArgs as GenericAPICallArgs, type index_GenericAPICallResult as GenericAPICallResult, type index_GenericAPIToolOptions as GenericAPIToolOptions, type index_GitHubCreatePRResult as GitHubCreatePRResult, type index_GitHubGetPRResult as GitHubGetPRResult, type index_GitHubPRCommentEntry as GitHubPRCommentEntry, type index_GitHubPRCommentsResult as GitHubPRCommentsResult, type index_GitHubPRFilesResult as GitHubPRFilesResult, type index_GitHubReadFileResult as GitHubReadFileResult, type index_GitHubRepository as GitHubRepository, type index_GitHubSearchCodeResult as GitHubSearchCodeResult, type index_GitHubSearchFilesResult as GitHubSearchFilesResult, type index_GlobResult as GlobResult, type index_GrepMatch as GrepMatch, type index_GrepResult as GrepResult, type index_IDesktopDriver as IDesktopDriver, type index_IDocumentTransformer as IDocumentTransformer, type index_IFormatHandler as IFormatHandler, type IMediaStorage as IMediaOutputHandler, type index_ImageFilterOptions as ImageFilterOptions, type MediaStorageMetadata as MediaOutputMetadata, type MediaStorageResult as MediaOutputResult, type index_MouseButton as MouseButton, index_NutTreeDriver as NutTreeDriver, type index_ReadFileResult as ReadFileResult, type index_SearchResult as SearchResult, type index_ServiceToolFactory as ServiceToolFactory, type index_ShellToolConfig as ShellToolConfig, type index_ToolCategory as ToolCategory, index_ToolRegistry as ToolRegistry, type index_ToolRegistryEntry as ToolRegistryEntry, type index_WriteFileResult as WriteFileResult, index_applyHumanDelay as applyHumanDelay, index_bash as bash, index_createBashTool as createBashTool, index_createCreatePRTool as createCreatePRTool, index_createDesktopGetCursorTool as createDesktopGetCursorTool, index_createDesktopGetScreenSizeTool as createDesktopGetScreenSizeTool, index_createDesktopKeyboardKeyTool as createDesktopKeyboardKeyTool, index_createDesktopKeyboardTypeTool as createDesktopKeyboardTypeTool, index_createDesktopMouseClickTool as createDesktopMouseClickTool, index_createDesktopMouseDragTool as createDesktopMouseDragTool, index_createDesktopMouseMoveTool as createDesktopMouseMoveTool, index_createDesktopMouseScrollTool as createDesktopMouseScrollTool, index_createDesktopScreenshotTool as createDesktopScreenshotTool, index_createDesktopWindowFocusTool as createDesktopWindowFocusTool, index_createDesktopWindowListTool as createDesktopWindowListTool, index_createEditFileTool as createEditFileTool, index_createExecuteJavaScriptTool as createExecuteJavaScriptTool, index_createGetPRTool as createGetPRTool, index_createGitHubReadFileTool as createGitHubReadFileTool, index_createGlobTool as createGlobTool, index_createGrepTool as createGrepTool, index_createImageGenerationTool as createImageGenerationTool, index_createListDirectoryTool as createListDirectoryTool, index_createPRCommentsTool as createPRCommentsTool, index_createPRFilesTool as createPRFilesTool, index_createReadFileTool as createReadFileTool, index_createSearchCodeTool as createSearchCodeTool, index_createSearchFilesTool as createSearchFilesTool, index_createSpeechToTextTool as createSpeechToTextTool, index_createTextToSpeechTool as createTextToSpeechTool, index_createVideoTools as createVideoTools, index_createWebScrapeTool as createWebScrapeTool, index_createWebSearchTool as createWebSearchTool, index_createWriteFileTool as createWriteFileTool, index_desktopGetCursor as desktopGetCursor, index_desktopGetScreenSize as desktopGetScreenSize, index_desktopKeyboardKey as desktopKeyboardKey, index_desktopKeyboardType as desktopKeyboardType, index_desktopMouseClick as desktopMouseClick, index_desktopMouseDrag as desktopMouseDrag, index_desktopMouseMove as desktopMouseMove, index_desktopMouseScroll as desktopMouseScroll, index_desktopScreenshot as desktopScreenshot, index_desktopTools as desktopTools, index_desktopWindowFocus as desktopWindowFocus, index_desktopWindowList as desktopWindowList, index_developerTools as developerTools, index_editFile as editFile, index_executeJavaScript as executeJavaScript, index_expandTilde as expandTilde, index_getAllBuiltInTools as getAllBuiltInTools, index_getBackgroundOutput as getBackgroundOutput, index_getDesktopDriver as getDesktopDriver, index_getMediaOutputHandler as getMediaOutputHandler, index_getMediaStorage as getMediaStorage, index_getToolByName as getToolByName, index_getToolCategories as getToolCategories, index_getToolRegistry as getToolRegistry, index_getToolsByCategory as getToolsByCategory, index_getToolsRequiringConnector as getToolsRequiringConnector, index_glob as glob, index_grep as grep, index_isBlockedCommand as isBlockedCommand, index_isExcludedExtension as isExcludedExtension, index_jsonManipulator as jsonManipulator, index_killBackgroundProcess as killBackgroundProcess, index_listDirectory as listDirectory, index_mergeTextPieces as mergeTextPieces, index_parseKeyCombo as parseKeyCombo, index_parseRepository as parseRepository, index_readFile as readFile, index_resetDefaultDriver as resetDefaultDriver, index_resolveRepository as resolveRepository, index_setMediaOutputHandler as setMediaOutputHandler, index_setMediaStorage as setMediaStorage, index_toolRegistry as toolRegistry, index_validatePath as validatePath, index_webFetch as webFetch, index_writeFile as writeFile };
|
|
13640
|
+
export { type index_BashResult as BashResult, type index_ConnectorToolEntry as ConnectorToolEntry, index_ConnectorTools as ConnectorTools, type index_CustomToolMetaToolsOptions as CustomToolMetaToolsOptions, index_DEFAULT_DESKTOP_CONFIG as DEFAULT_DESKTOP_CONFIG, index_DEFAULT_FILESYSTEM_CONFIG as DEFAULT_FILESYSTEM_CONFIG, index_DEFAULT_SHELL_CONFIG as DEFAULT_SHELL_CONFIG, index_DESKTOP_TOOL_NAMES as DESKTOP_TOOL_NAMES, type index_DesktopGetCursorResult as DesktopGetCursorResult, type index_DesktopGetScreenSizeResult as DesktopGetScreenSizeResult, type index_DesktopKeyboardKeyArgs as DesktopKeyboardKeyArgs, type index_DesktopKeyboardKeyResult as DesktopKeyboardKeyResult, type index_DesktopKeyboardTypeArgs as DesktopKeyboardTypeArgs, type index_DesktopKeyboardTypeResult as DesktopKeyboardTypeResult, type index_DesktopMouseClickArgs as DesktopMouseClickArgs, type index_DesktopMouseClickResult as DesktopMouseClickResult, type index_DesktopMouseDragArgs as DesktopMouseDragArgs, type index_DesktopMouseDragResult as DesktopMouseDragResult, type index_DesktopMouseMoveArgs as DesktopMouseMoveArgs, type index_DesktopMouseMoveResult as DesktopMouseMoveResult, type index_DesktopMouseScrollArgs as DesktopMouseScrollArgs, type index_DesktopMouseScrollResult as DesktopMouseScrollResult, type index_DesktopPoint as DesktopPoint, type index_DesktopScreenSize as DesktopScreenSize, type index_DesktopScreenshot as DesktopScreenshot, type index_DesktopScreenshotArgs as DesktopScreenshotArgs, type index_DesktopScreenshotResult as DesktopScreenshotResult, type index_DesktopToolConfig as DesktopToolConfig, type index_DesktopToolName as DesktopToolName, type index_DesktopWindow as DesktopWindow, type index_DesktopWindowFocusArgs as DesktopWindowFocusArgs, type index_DesktopWindowFocusResult as DesktopWindowFocusResult, type index_DesktopWindowListResult as DesktopWindowListResult, type index_DocumentFamily as DocumentFamily, type index_DocumentFormat as DocumentFormat, type index_DocumentImagePiece as DocumentImagePiece, type index_DocumentMetadata as DocumentMetadata, type index_DocumentPiece as DocumentPiece, type index_DocumentReadOptions as DocumentReadOptions, index_DocumentReader as DocumentReader, type index_DocumentReaderConfig as DocumentReaderConfig, type index_DocumentResult as DocumentResult, type index_DocumentSource as DocumentSource, type index_DocumentTextPiece as DocumentTextPiece, type index_DocumentToContentOptions as DocumentToContentOptions, type index_EditFileResult as EditFileResult, FileMediaStorage as FileMediaOutputHandler, type index_FilesystemToolConfig as FilesystemToolConfig, type index_FormatDetectionResult as FormatDetectionResult, index_FormatDetector as FormatDetector, type index_GenericAPICallArgs as GenericAPICallArgs, type index_GenericAPICallResult as GenericAPICallResult, type index_GenericAPIToolOptions as GenericAPIToolOptions, type index_GitHubCreatePRResult as GitHubCreatePRResult, type index_GitHubGetPRResult as GitHubGetPRResult, type index_GitHubPRCommentEntry as GitHubPRCommentEntry, type index_GitHubPRCommentsResult as GitHubPRCommentsResult, type index_GitHubPRFilesResult as GitHubPRFilesResult, type index_GitHubReadFileResult as GitHubReadFileResult, type index_GitHubRepository as GitHubRepository, type index_GitHubSearchCodeResult as GitHubSearchCodeResult, type index_GitHubSearchFilesResult as GitHubSearchFilesResult, type index_GlobResult as GlobResult, type index_GrepMatch as GrepMatch, type index_GrepResult as GrepResult, type index_HydrateOptions as HydrateOptions, type index_IDesktopDriver as IDesktopDriver, type index_IDocumentTransformer as IDocumentTransformer, type index_IFormatHandler as IFormatHandler, type IMediaStorage as IMediaOutputHandler, type index_ImageFilterOptions as ImageFilterOptions, type MediaStorageMetadata as MediaOutputMetadata, type MediaStorageResult as MediaOutputResult, type index_MouseButton as MouseButton, index_NutTreeDriver as NutTreeDriver, type index_ReadFileResult as ReadFileResult, type index_SearchResult as SearchResult, type index_ServiceToolFactory as ServiceToolFactory, type index_ShellToolConfig as ShellToolConfig, type index_ToolCategory as ToolCategory, index_ToolRegistry as ToolRegistry, type index_ToolRegistryEntry as ToolRegistryEntry, type index_WriteFileResult as WriteFileResult, index_applyHumanDelay as applyHumanDelay, index_bash as bash, index_createBashTool as createBashTool, index_createCreatePRTool as createCreatePRTool, index_createCustomToolDelete as createCustomToolDelete, index_createCustomToolDraft as createCustomToolDraft, index_createCustomToolList as createCustomToolList, index_createCustomToolLoad as createCustomToolLoad, index_createCustomToolMetaTools as createCustomToolMetaTools, index_createCustomToolSave as createCustomToolSave, index_createCustomToolTest as createCustomToolTest, index_createDesktopGetCursorTool as createDesktopGetCursorTool, index_createDesktopGetScreenSizeTool as createDesktopGetScreenSizeTool, index_createDesktopKeyboardKeyTool as createDesktopKeyboardKeyTool, index_createDesktopKeyboardTypeTool as createDesktopKeyboardTypeTool, index_createDesktopMouseClickTool as createDesktopMouseClickTool, index_createDesktopMouseDragTool as createDesktopMouseDragTool, index_createDesktopMouseMoveTool as createDesktopMouseMoveTool, index_createDesktopMouseScrollTool as createDesktopMouseScrollTool, index_createDesktopScreenshotTool as createDesktopScreenshotTool, index_createDesktopWindowFocusTool as createDesktopWindowFocusTool, index_createDesktopWindowListTool as createDesktopWindowListTool, index_createEditFileTool as createEditFileTool, index_createExecuteJavaScriptTool as createExecuteJavaScriptTool, index_createGetPRTool as createGetPRTool, index_createGitHubReadFileTool as createGitHubReadFileTool, index_createGlobTool as createGlobTool, index_createGrepTool as createGrepTool, index_createImageGenerationTool as createImageGenerationTool, index_createListDirectoryTool as createListDirectoryTool, index_createPRCommentsTool as createPRCommentsTool, index_createPRFilesTool as createPRFilesTool, index_createReadFileTool as createReadFileTool, index_createSearchCodeTool as createSearchCodeTool, index_createSearchFilesTool as createSearchFilesTool, index_createSpeechToTextTool as createSpeechToTextTool, index_createTextToSpeechTool as createTextToSpeechTool, index_createVideoTools as createVideoTools, index_createWebScrapeTool as createWebScrapeTool, index_createWebSearchTool as createWebSearchTool, index_createWriteFileTool as createWriteFileTool, index_customToolDelete as customToolDelete, index_customToolDraft as customToolDraft, index_customToolList as customToolList, index_customToolLoad as customToolLoad, index_customToolSave as customToolSave, index_customToolTest as customToolTest, index_desktopGetCursor as desktopGetCursor, index_desktopGetScreenSize as desktopGetScreenSize, index_desktopKeyboardKey as desktopKeyboardKey, index_desktopKeyboardType as desktopKeyboardType, index_desktopMouseClick as desktopMouseClick, index_desktopMouseDrag as desktopMouseDrag, index_desktopMouseMove as desktopMouseMove, index_desktopMouseScroll as desktopMouseScroll, index_desktopScreenshot as desktopScreenshot, index_desktopTools as desktopTools, index_desktopWindowFocus as desktopWindowFocus, index_desktopWindowList as desktopWindowList, index_developerTools as developerTools, index_editFile as editFile, index_executeInVM as executeInVM, index_executeJavaScript as executeJavaScript, index_expandTilde as expandTilde, index_getAllBuiltInTools as getAllBuiltInTools, index_getBackgroundOutput as getBackgroundOutput, index_getDesktopDriver as getDesktopDriver, index_getMediaOutputHandler as getMediaOutputHandler, index_getMediaStorage as getMediaStorage, index_getToolByName as getToolByName, index_getToolCategories as getToolCategories, index_getToolRegistry as getToolRegistry, index_getToolsByCategory as getToolsByCategory, index_getToolsRequiringConnector as getToolsRequiringConnector, index_glob as glob, index_grep as grep, index_hydrateCustomTool as hydrateCustomTool, index_isBlockedCommand as isBlockedCommand, index_isExcludedExtension as isExcludedExtension, index_jsonManipulator as jsonManipulator, index_killBackgroundProcess as killBackgroundProcess, index_listDirectory as listDirectory, index_mergeTextPieces as mergeTextPieces, index_parseKeyCombo as parseKeyCombo, index_parseRepository as parseRepository, index_readFile as readFile, index_resetDefaultDriver as resetDefaultDriver, index_resolveRepository as resolveRepository, index_setMediaOutputHandler as setMediaOutputHandler, index_setMediaStorage as setMediaStorage, index_toolRegistry as toolRegistry, index_validatePath as validatePath, index_webFetch as webFetch, index_writeFile as writeFile };
|
|
13184
13641
|
}
|
|
13185
13642
|
|
|
13186
13643
|
/**
|
|
@@ -13235,4 +13692,4 @@ declare class ProviderConfigAgent {
|
|
|
13235
13692
|
reset(): void;
|
|
13236
13693
|
}
|
|
13237
13694
|
|
|
13238
|
-
export { AGENT_DEFINITION_FORMAT_VERSION, AIError, APPROVAL_STATE_VERSION, Agent, type AgentConfig$1 as AgentConfig, AgentContextNextGen, type AgentContextNextGenConfig, type AgentDefinitionListOptions, type AgentDefinitionMetadata, type AgentDefinitionSummary, AgentEvents, type AgentMetrics, type AgentPermissionsConfig, AgentResponse, type AgentSessionConfig, type AgentState, type AgentStatus, type ApprovalCacheEntry, type ApprovalDecision, ApproximateTokenEstimator, AudioFormat, AuditEntry, type AuthTemplate, type AuthTemplateField, type BackoffConfig, type BackoffStrategyType, BaseMediaProvider, BasePluginNextGen, BaseProvider, type BaseProviderConfig$1 as BaseProviderConfig, type BaseProviderResponse, BaseTextProvider, type BashResult, type BeforeExecuteResult, BraveProvider, CONNECTOR_CONFIG_VERSION, CONTEXT_SESSION_FORMAT_VERSION, CheckpointManager, type CheckpointStrategy, CircuitBreaker, type CircuitBreakerConfig, type CircuitBreakerEvents, type CircuitBreakerMetrics, CircuitOpenError, type CircuitState, type ClipboardImageResult, type CompactionContext, type CompactionResult, Connector, ConnectorAccessContext, ConnectorAuth, ConnectorConfig, ConnectorConfigResult, ConnectorConfigStore, ConnectorFetchOptions, type ConnectorToolEntry, ConnectorTools, type ConnectorToolsOptions, ConsoleMetrics, type ConsolidationResult, Content, type ContextBudget$1 as ContextBudget, type ContextEvents, type ContextFeatures, type ContextManagerConfig, type ContextOverflowBudget, ContextOverflowError, type ContextSessionMetadata, type ContextSessionSummary, type ContextStorageListOptions, type ConversationMessage, type CreateConnectorOptions, DEFAULT_ALLOWLIST, DEFAULT_BACKOFF_CONFIG, DEFAULT_CHECKPOINT_STRATEGY, DEFAULT_CIRCUIT_BREAKER_CONFIG, DEFAULT_CONFIG, DEFAULT_CONTEXT_CONFIG, DEFAULT_DESKTOP_CONFIG, DEFAULT_FEATURES, DEFAULT_FILESYSTEM_CONFIG, DEFAULT_HISTORY_MANAGER_CONFIG, DEFAULT_PERMISSION_CONFIG, DEFAULT_RATE_LIMITER_CONFIG, DEFAULT_SHELL_CONFIG, DESKTOP_TOOL_NAMES, type DefaultAllowlistedTool, DefaultCompactionStrategy, type DefaultCompactionStrategyConfig, DependencyCycleError, type DesktopGetCursorResult, type DesktopGetScreenSizeResult, type DesktopKeyboardKeyArgs, type DesktopKeyboardKeyResult, type DesktopKeyboardTypeArgs, type DesktopKeyboardTypeResult, type DesktopMouseClickArgs, type DesktopMouseClickResult, type DesktopMouseDragArgs, type DesktopMouseDragResult, type DesktopMouseMoveArgs, type DesktopMouseMoveResult, type DesktopMouseScrollArgs, type DesktopMouseScrollResult, type DesktopPoint, type DesktopScreenSize, type DesktopScreenshot, type DesktopScreenshotArgs, type DesktopScreenshotResult, type DesktopToolConfig, type DesktopToolName, type DesktopWindow, type DesktopWindowFocusArgs, type DesktopWindowFocusResult, type DesktopWindowListResult, type DirectCallOptions, type DocumentFamily, type DocumentFormat, type DocumentImagePiece, type DocumentMetadata, type DocumentPiece, type DocumentReadOptions, DocumentReader, type DocumentReaderConfig, type DocumentResult, type DocumentSource, type DocumentTextPiece, type DocumentToContentOptions, type EditFileResult, type ErrorContext, ErrorHandler, type ErrorHandlerConfig, type ErrorHandlerEvents, type EvictionStrategy, ExecutionContext, ExecutionMetrics, type ExtendedFetchOptions, type ExternalDependency, type ExternalDependencyEvents, ExternalDependencyHandler, type FetchedContent, FileAgentDefinitionStorage, type FileAgentDefinitionStorageConfig, FileConnectorStorage, type FileConnectorStorageConfig, FileContextStorage, type FileContextStorageConfig, FileMediaStorage as FileMediaOutputHandler, FileMediaStorage, type FileMediaStorageConfig, FilePersistentInstructionsStorage, type FilePersistentInstructionsStorageConfig, FileStorage, type FileStorageConfig, type FilesystemToolConfig, type FormatDetectionResult, FormatDetector, FrameworkLogger, FunctionToolDefinition, type GeneratedPlan, type GenericAPICallArgs, type GenericAPICallResult, type GenericAPIToolOptions, type GitHubCreatePRResult, type GitHubGetPRResult, type GitHubPRCommentEntry, type GitHubPRCommentsResult, type GitHubPRFilesResult, type GitHubReadFileResult, type GitHubRepository, type GitHubSearchCodeResult, type GitHubSearchFilesResult, type GlobResult, type GrepMatch, type GrepResult, type HTTPTransportConfig, type HistoryManagerEvents, type HistoryMessage, HistoryMode, HookConfig, type IAgentDefinitionStorage, type IAgentStateStorage, type IAgentStorage, type IAsyncDisposable, IBaseModelDescription, type ICapabilityProvider, type ICompactionStrategy, IConnectorAccessPolicy, type IConnectorConfigStorage, IConnectorRegistry, type IContextCompactor, type IContextComponent, type IContextPluginNextGen, type IContextStorage, type IContextStrategy, type IDesktopDriver, type IDisposable, type IDocumentTransformer, type IFormatHandler, type IHistoryManager, type IHistoryManagerConfig, type IHistoryStorage, IImageProvider, type IMCPClient, type IMediaStorage as IMediaOutputHandler, type IMediaStorage, type IMemoryStorage, type IPersistentInstructionsStorage, type IPlanStorage, IProvider, type IResearchSource, type ISTTModelDescription, type IScrapeProvider, type ISearchProvider, type ISpeechToTextProvider, type ITTSModelDescription, ITextProvider, type ITextToSpeechProvider, type ITokenEstimator$1 as ITokenEstimator, ITokenStorage, type IToolExecutionPipeline, type IToolExecutionPlugin, type IToolExecutor, type IVideoModelDescription, type IVideoProvider, type IVoiceInfo, type ImageFilterOptions, type InContextEntry, type InContextMemoryConfig, InContextMemoryPluginNextGen, type InContextPriority, InMemoryAgentStateStorage, InMemoryHistoryStorage, InMemoryMetrics, InMemoryPlanStorage, InMemoryStorage, InputItem, type InstructionEntry, InvalidConfigError, InvalidToolArgumentsError, type JSONExtractionResult, LLMResponse, type LogEntry, type LogLevel, type LoggerConfig, LoggingPlugin, type LoggingPluginOptions, MCPClient, type MCPClientConnectionState, type MCPClientState, type MCPConfiguration, MCPConnectionError, MCPError, type MCPPrompt, type MCPPromptResult, MCPProtocolError, MCPRegistry, type MCPResource, type MCPResourceContent, MCPResourceError, type MCPServerCapabilities, type MCPServerConfig, MCPTimeoutError, type MCPTool, MCPToolError, type MCPToolResult, type MCPTransportType, type MediaStorageMetadata as MediaOutputMetadata, type MediaStorageResult as MediaOutputResult, type MediaStorageEntry, type MediaStorageListOptions, type MediaStorageMetadata, type MediaStorageResult, MemoryConnectorStorage, MemoryEntry, MemoryEvictionCompactor, MemoryIndex, MemoryPriority, MemoryScope, MemoryStorage, MessageBuilder, MessageRole, type MetricTags, type MetricsCollector, type MetricsCollectorType, ModelCapabilities, ModelNotSupportedError, type MouseButton, type EvictionStrategy$1 as NextGenEvictionStrategy, NoOpMetrics, NutTreeDriver, type OAuthConfig, type OAuthFlow, OAuthManager, OutputItem, type OversizedInputResult, ParallelTasksError, type PermissionCheckContext, type PermissionCheckResult, type PermissionManagerEvent, type PermissionScope, type PersistentInstructionsConfig, PersistentInstructionsPluginNextGen, type PieceMetadata, type Plan, type PlanConcurrency, type PlanInput, type PlanStatus, PlanningAgent, type PlanningAgentConfig, type PluginConfigs, type PluginExecutionContext, type PreparedContext, ProviderAuthError, ProviderCapabilities, ProviderConfigAgent, ProviderContextLengthError, ProviderError, ProviderErrorMapper, ProviderNotFoundError, ProviderRateLimitError, RapidAPIProvider, RateLimitError, type RateLimiterConfig, type RateLimiterMetrics, type ReadFileResult, type FetchOptions as ResearchFetchOptions, type ResearchFinding, type ResearchPlan, type ResearchProgress, type ResearchQuery, type ResearchResult, type SearchOptions as ResearchSearchOptions, type SearchResponse as ResearchSearchResponse, type RiskLevel, SIMPLE_ICONS_CDN, type STTModelCapabilities, type STTOptions, type STTOutputFormat$1 as STTOutputFormat, type STTResponse, STT_MODELS, STT_MODEL_REGISTRY, ScopedConnectorRegistry, type ScrapeFeature, type ScrapeOptions, ScrapeProvider, type ScrapeProviderConfig, type ScrapeProviderFallbackConfig, type ScrapeResponse, type ScrapeResult, type SearchOptions$1 as SearchOptions, SearchProvider, type SearchProviderConfig, type SearchResponse$1 as SearchResponse, type SearchResult, type SegmentTimestamp, type SerializedApprovalEntry, type SerializedApprovalState, type SerializedContextState, type SerializedHistoryState, type SerializedInContextMemoryState, type SerializedPersistentInstructionsState, type SerializedToolState, type SerializedWorkingMemoryState, SerperProvider, ServiceCategory, type ServiceToolFactory, type ShellToolConfig, type SimpleIcon, type SimpleVideoGenerateOptions, type SourceCapabilities, type SourceResult, SpeechToText, type SpeechToTextConfig, type StdioTransportConfig, type StoredAgentDefinition, type StoredAgentType, type StoredConnectorConfig, type StoredContextSession, type StoredToken, type StrategyInfo, StrategyRegistry, type StrategyRegistryEntry, StreamEvent, StreamEventType, StreamHelpers, StreamState, SummarizeCompactor, TERMINAL_TASK_STATUSES, type TTSModelCapabilities, type TTSOptions, type TTSResponse, TTS_MODELS, TTS_MODEL_REGISTRY, type Task, type AgentConfig as TaskAgentStateConfig, type TaskCondition, type TaskExecution, type TaskFailure, type TaskInput, type TaskStatus, TaskStatusForMemory, TaskTimeoutError, ToolContext as TaskToolContext, type TaskValidation, TaskValidationError, type TaskValidationResult, TavilyProvider, type TemplateCredentials, TextGenerateOptions, TextToSpeech, type TextToSpeechConfig, TokenBucketRateLimiter, type TokenContentType, Tool, ToolCall, type ToolCategory, type ToolCondition, ToolContext, ToolExecutionError, ToolExecutionPipeline, type ToolExecutionPipelineOptions, ToolFunction, ToolManager, type ToolManagerConfig, type ToolManagerEvent, type ToolManagerStats, type ToolMetadata, ToolNotFoundError, type ToolOptions, type ToolPermissionConfig, ToolPermissionManager, type ToolRegistration, ToolRegistry, type ToolRegistryEntry, ToolResult, type ToolSelectionContext, ToolTimeoutError, type TransportConfig, TruncateCompactor, VENDOR_ICON_MAP, VIDEO_MODELS, VIDEO_MODEL_REGISTRY, Vendor, type VendorInfo, type VendorLogo, VendorOptionSchema, type VendorRegistryEntry, type VendorTemplate, type VideoExtendOptions, type VideoGenerateOptions, VideoGeneration, type VideoGenerationCreateOptions, type VideoJob, type VideoModelCapabilities, type VideoModelPricing, type VideoResponse, type VideoStatus, type WordTimestamp, WorkingMemory, WorkingMemoryAccess, WorkingMemoryConfig, type WorkingMemoryEvents, type WorkingMemoryPluginConfig, WorkingMemoryPluginNextGen, type WriteFileResult, addJitter, allVendorTemplates, assertNotDestroyed, authenticatedFetch, backoffSequence, backoffWait, bash, buildAuthConfig, buildEndpointWithQuery, buildQueryString, calculateBackoff, calculateSTTCost, calculateTTSCost, calculateVideoCost, canTaskExecute, createAgentStorage, createAuthenticatedFetch, createBashTool, createConnectorFromTemplate, createCreatePRTool, createDesktopGetCursorTool, createDesktopGetScreenSizeTool, createDesktopKeyboardKeyTool, createDesktopKeyboardTypeTool, createDesktopMouseClickTool, createDesktopMouseDragTool, createDesktopMouseMoveTool, createDesktopMouseScrollTool, createDesktopScreenshotTool, createDesktopWindowFocusTool, createDesktopWindowListTool, createEditFileTool, createEstimator, createExecuteJavaScriptTool, createFileAgentDefinitionStorage, createFileContextStorage, createFileMediaStorage, createGetPRTool, createGitHubReadFileTool, createGlobTool, createGrepTool, createImageGenerationTool, createImageProvider, createListDirectoryTool, createMessageWithImages, createMetricsCollector, createPRCommentsTool, createPRFilesTool, createPlan, createProvider, createReadFileTool, createSearchCodeTool, createSearchFilesTool, createSpeechToTextTool, createTask, createTextMessage, createTextToSpeechTool, createVideoProvider, createVideoTools, createWriteFileTool, desktopGetCursor, desktopGetScreenSize, desktopKeyboardKey, desktopKeyboardType, desktopMouseClick, desktopMouseDrag, desktopMouseMove, desktopMouseScroll, desktopScreenshot, desktopTools, desktopWindowFocus, desktopWindowList, detectDependencyCycle, developerTools, documentToContent, editFile, evaluateCondition, extractJSON, extractJSONField, extractNumber, findConnectorByServiceTypes, generateEncryptionKey, generateSimplePlan, generateWebAPITool, getActiveSTTModels, getActiveTTSModels, getActiveVideoModels, getAllBuiltInTools, getAllVendorLogos, getAllVendorTemplates, getBackgroundOutput, getConnectorTools, getCredentialsSetupURL, getDesktopDriver, getDocsURL, getMediaOutputHandler, getMediaStorage, getNextExecutableTasks, getRegisteredScrapeProviders, getSTTModelInfo, getSTTModelsByVendor, getSTTModelsWithFeature, getTTSModelInfo, getTTSModelsByVendor, getTTSModelsWithFeature, getTaskDependencies, getToolByName, getToolCategories, getToolRegistry, getToolsByCategory, getToolsRequiringConnector, getVendorAuthTemplate, getVendorColor, getVendorDefaultBaseURL, getVendorInfo, getVendorLogo, getVendorLogoCdnUrl, getVendorLogoSvg, getVendorTemplate, getVideoModelInfo, getVideoModelsByVendor, getVideoModelsWithAudio, getVideoModelsWithFeature, glob, globalErrorHandler, grep, hasClipboardImage, hasVendorLogo, isBlockedCommand, isExcludedExtension, isTaskBlocked, isTerminalStatus, killBackgroundProcess, listConnectorsByServiceTypes, listDirectory, listVendorIds, listVendors, listVendorsByAuthType, listVendorsByCategory, listVendorsWithLogos, logger, mergeTextPieces, metrics, parseKeyCombo, parseRepository, readClipboardImage, readDocumentAsContent, readFile, registerScrapeProvider, resetDefaultDriver, resolveConnector, resolveDependencies, resolveRepository, retryWithBackoff, setMediaOutputHandler, setMediaStorage, setMetricsCollector, simpleTokenEstimator, toConnectorOptions, toolRegistry, index as tools, updateTaskStatus, validatePath, writeFile };
|
|
13695
|
+
export { AGENT_DEFINITION_FORMAT_VERSION, AIError, APPROVAL_STATE_VERSION, Agent, type AgentConfig$1 as AgentConfig, AgentContextNextGen, type AgentContextNextGenConfig, type AgentDefinitionListOptions, type AgentDefinitionMetadata, type AgentDefinitionSummary, AgentEvents, type AgentMetrics, type AgentPermissionsConfig, AgentResponse, type AgentSessionConfig, type AgentState, type AgentStatus, type ApprovalCacheEntry, type ApprovalDecision, ApproximateTokenEstimator, AudioFormat, AuditEntry, type AuthTemplate, type AuthTemplateField, type BackoffConfig, type BackoffStrategyType, BaseMediaProvider, BasePluginNextGen, BaseProvider, type BaseProviderConfig$1 as BaseProviderConfig, type BaseProviderResponse, BaseTextProvider, type BashResult, type BeforeExecuteResult, BraveProvider, CONNECTOR_CONFIG_VERSION, CONTEXT_SESSION_FORMAT_VERSION, CUSTOM_TOOL_DEFINITION_VERSION, CheckpointManager, type CheckpointStrategy, CircuitBreaker, type CircuitBreakerConfig, type CircuitBreakerEvents, type CircuitBreakerMetrics, CircuitOpenError, type CircuitState, type ClipboardImageResult, type CompactionContext, type CompactionResult, Connector, ConnectorAccessContext, ConnectorAuth, ConnectorConfig, ConnectorConfigResult, ConnectorConfigStore, ConnectorFetchOptions, type ConnectorToolEntry, ConnectorTools, type ConnectorToolsOptions, ConsoleMetrics, type ConsolidationResult, Content, type ContextBudget$1 as ContextBudget, type ContextEvents, type ContextFeatures, type ContextManagerConfig, type ContextOverflowBudget, ContextOverflowError, type ContextSessionMetadata, type ContextSessionSummary, type ContextStorageListOptions, type ConversationMessage, type CreateConnectorOptions, type CustomToolDefinition, type CustomToolListOptions, type CustomToolMetaToolsOptions, type CustomToolMetadata, type CustomToolSummary, type CustomToolTestCase, DEFAULT_ALLOWLIST, DEFAULT_BACKOFF_CONFIG, DEFAULT_CHECKPOINT_STRATEGY, DEFAULT_CIRCUIT_BREAKER_CONFIG, DEFAULT_CONFIG, DEFAULT_CONTEXT_CONFIG, DEFAULT_DESKTOP_CONFIG, DEFAULT_FEATURES, DEFAULT_FILESYSTEM_CONFIG, DEFAULT_HISTORY_MANAGER_CONFIG, DEFAULT_PERMISSION_CONFIG, DEFAULT_RATE_LIMITER_CONFIG, DEFAULT_SHELL_CONFIG, DESKTOP_TOOL_NAMES, type DefaultAllowlistedTool, DefaultCompactionStrategy, type DefaultCompactionStrategyConfig, DependencyCycleError, type DesktopGetCursorResult, type DesktopGetScreenSizeResult, type DesktopKeyboardKeyArgs, type DesktopKeyboardKeyResult, type DesktopKeyboardTypeArgs, type DesktopKeyboardTypeResult, type DesktopMouseClickArgs, type DesktopMouseClickResult, type DesktopMouseDragArgs, type DesktopMouseDragResult, type DesktopMouseMoveArgs, type DesktopMouseMoveResult, type DesktopMouseScrollArgs, type DesktopMouseScrollResult, type DesktopPoint, type DesktopScreenSize, type DesktopScreenshot, type DesktopScreenshotArgs, type DesktopScreenshotResult, type DesktopToolConfig, type DesktopToolName, type DesktopWindow, type DesktopWindowFocusArgs, type DesktopWindowFocusResult, type DesktopWindowListResult, type DirectCallOptions, type DocumentFamily, type DocumentFormat, type DocumentImagePiece, type DocumentMetadata, type DocumentPiece, type DocumentReadOptions, DocumentReader, type DocumentReaderConfig, type DocumentResult, type DocumentSource, type DocumentTextPiece, type DocumentToContentOptions, type EditFileResult, type ErrorContext, ErrorHandler, type ErrorHandlerConfig, type ErrorHandlerEvents, type EvictionStrategy, ExecutionContext, ExecutionMetrics, type ExtendedFetchOptions, type ExternalDependency, type ExternalDependencyEvents, ExternalDependencyHandler, type FetchedContent, FileAgentDefinitionStorage, type FileAgentDefinitionStorageConfig, FileConnectorStorage, type FileConnectorStorageConfig, FileContextStorage, type FileContextStorageConfig, FileCustomToolStorage, type FileCustomToolStorageConfig, FileMediaStorage as FileMediaOutputHandler, FileMediaStorage, type FileMediaStorageConfig, FilePersistentInstructionsStorage, type FilePersistentInstructionsStorageConfig, FileStorage, type FileStorageConfig, type FilesystemToolConfig, type FormatDetectionResult, FormatDetector, FrameworkLogger, FunctionToolDefinition, type GeneratedPlan, type GenericAPICallArgs, type GenericAPICallResult, type GenericAPIToolOptions, type GitHubCreatePRResult, type GitHubGetPRResult, type GitHubPRCommentEntry, type GitHubPRCommentsResult, type GitHubPRFilesResult, type GitHubReadFileResult, type GitHubRepository, type GitHubSearchCodeResult, type GitHubSearchFilesResult, type GlobResult, type GrepMatch, type GrepResult, type HTTPTransportConfig, type HistoryManagerEvents, type HistoryMessage, HistoryMode, HookConfig, type HydrateOptions, type IAgentDefinitionStorage, type IAgentStateStorage, type IAgentStorage, type IAsyncDisposable, IBaseModelDescription, type ICapabilityProvider, type ICompactionStrategy, IConnectorAccessPolicy, type IConnectorConfigStorage, IConnectorRegistry, type IContextCompactor, type IContextComponent, type IContextPluginNextGen, type IContextStorage, type IContextStrategy, type ICustomToolStorage, type IDesktopDriver, type IDisposable, type IDocumentTransformer, type IFormatHandler, type IHistoryManager, type IHistoryManagerConfig, type IHistoryStorage, IImageProvider, type IMCPClient, type IMediaStorage as IMediaOutputHandler, type IMediaStorage, type IMemoryStorage, type IPersistentInstructionsStorage, type IPlanStorage, IProvider, type IResearchSource, type ISTTModelDescription, type IScrapeProvider, type ISearchProvider, type ISpeechToTextProvider, type ITTSModelDescription, ITextProvider, type ITextToSpeechProvider, type ITokenEstimator$1 as ITokenEstimator, ITokenStorage, type IToolExecutionPipeline, type IToolExecutionPlugin, type IToolExecutor, type IVideoModelDescription, type IVideoProvider, type IVoiceInfo, type ImageFilterOptions, type InContextEntry, type InContextMemoryConfig, InContextMemoryPluginNextGen, type InContextPriority, InMemoryAgentStateStorage, InMemoryHistoryStorage, InMemoryMetrics, InMemoryPlanStorage, InMemoryStorage, InputItem, type InstructionEntry, InvalidConfigError, InvalidToolArgumentsError, type JSONExtractionResult, LLMResponse, type LogEntry, type LogLevel, type LoggerConfig, LoggingPlugin, type LoggingPluginOptions, MCPClient, type MCPClientConnectionState, type MCPClientState, type MCPConfiguration, MCPConnectionError, MCPError, type MCPPrompt, type MCPPromptResult, MCPProtocolError, MCPRegistry, type MCPResource, type MCPResourceContent, MCPResourceError, type MCPServerCapabilities, type MCPServerConfig, MCPTimeoutError, type MCPTool, MCPToolError, type MCPToolResult, type MCPTransportType, type MediaStorageMetadata as MediaOutputMetadata, type MediaStorageResult as MediaOutputResult, type MediaStorageEntry, type MediaStorageListOptions, type MediaStorageMetadata, type MediaStorageResult, MemoryConnectorStorage, MemoryEntry, MemoryEvictionCompactor, MemoryIndex, MemoryPriority, MemoryScope, MemoryStorage, MessageBuilder, MessageRole, type MetricTags, type MetricsCollector, type MetricsCollectorType, ModelCapabilities, ModelNotSupportedError, type MouseButton, type EvictionStrategy$1 as NextGenEvictionStrategy, NoOpMetrics, NutTreeDriver, type OAuthConfig, type OAuthFlow, OAuthManager, OutputItem, type OversizedInputResult, ParallelTasksError, type PermissionCheckContext, type PermissionCheckResult, type PermissionManagerEvent, type PermissionScope, type PersistentInstructionsConfig, PersistentInstructionsPluginNextGen, type PieceMetadata, type Plan, type PlanConcurrency, type PlanInput, type PlanStatus, PlanningAgent, type PlanningAgentConfig, type PluginConfigs, type PluginExecutionContext, type PreparedContext, ProviderAuthError, ProviderCapabilities, ProviderConfigAgent, ProviderContextLengthError, ProviderError, ProviderErrorMapper, ProviderNotFoundError, ProviderRateLimitError, RapidAPIProvider, RateLimitError, type RateLimiterConfig, type RateLimiterMetrics, type ReadFileResult, type FetchOptions as ResearchFetchOptions, type ResearchFinding, type ResearchPlan, type ResearchProgress, type ResearchQuery, type ResearchResult, type SearchOptions as ResearchSearchOptions, type SearchResponse as ResearchSearchResponse, type RiskLevel, SIMPLE_ICONS_CDN, type STTModelCapabilities, type STTOptions, type STTOutputFormat$1 as STTOutputFormat, type STTResponse, STT_MODELS, STT_MODEL_REGISTRY, ScopedConnectorRegistry, type ScrapeFeature, type ScrapeOptions, ScrapeProvider, type ScrapeProviderConfig, type ScrapeProviderFallbackConfig, type ScrapeResponse, type ScrapeResult, type SearchOptions$1 as SearchOptions, SearchProvider, type SearchProviderConfig, type SearchResponse$1 as SearchResponse, type SearchResult, type SegmentTimestamp, type SerializedApprovalEntry, type SerializedApprovalState, type SerializedContextState, type SerializedHistoryState, type SerializedInContextMemoryState, type SerializedPersistentInstructionsState, type SerializedToolState, type SerializedWorkingMemoryState, SerperProvider, ServiceCategory, type ServiceToolFactory, type ShellToolConfig, type SimpleIcon, type SimpleVideoGenerateOptions, type SourceCapabilities, type SourceResult, SpeechToText, type SpeechToTextConfig, type StdioTransportConfig, type StoredAgentDefinition, type StoredAgentType, type StoredConnectorConfig, type StoredContextSession, type StoredToken, type StrategyInfo, StrategyRegistry, type StrategyRegistryEntry, StreamEvent, StreamEventType, StreamHelpers, StreamState, SummarizeCompactor, TERMINAL_TASK_STATUSES, type TTSModelCapabilities, type TTSOptions, type TTSResponse, TTS_MODELS, TTS_MODEL_REGISTRY, type Task, type AgentConfig as TaskAgentStateConfig, type TaskCondition, type TaskExecution, type TaskFailure, type TaskInput, type TaskStatus, TaskStatusForMemory, TaskTimeoutError, ToolContext as TaskToolContext, type TaskValidation, TaskValidationError, type TaskValidationResult, TavilyProvider, type TemplateCredentials, TextGenerateOptions, TextToSpeech, type TextToSpeechConfig, TokenBucketRateLimiter, type TokenContentType, Tool, ToolCall, type ToolCategory, type ToolCondition, ToolContext, ToolExecutionError, ToolExecutionPipeline, type ToolExecutionPipelineOptions, ToolFunction, ToolManager, type ToolManagerConfig, type ToolManagerEvent, type ToolManagerStats, type ToolMetadata, ToolNotFoundError, type ToolOptions, type ToolPermissionConfig, ToolPermissionManager, type ToolRegistration, ToolRegistry, type ToolRegistryEntry, ToolResult, type ToolSelectionContext, type ToolSource, ToolTimeoutError, type TransportConfig, TruncateCompactor, VENDOR_ICON_MAP, VIDEO_MODELS, VIDEO_MODEL_REGISTRY, Vendor, type VendorInfo, type VendorLogo, VendorOptionSchema, type VendorRegistryEntry, type VendorTemplate, type VideoExtendOptions, type VideoGenerateOptions, VideoGeneration, type VideoGenerationCreateOptions, type VideoJob, type VideoModelCapabilities, type VideoModelPricing, type VideoResponse, type VideoStatus, type WordTimestamp, WorkingMemory, WorkingMemoryAccess, WorkingMemoryConfig, type WorkingMemoryEvents, type WorkingMemoryPluginConfig, WorkingMemoryPluginNextGen, type WriteFileResult, addJitter, allVendorTemplates, assertNotDestroyed, authenticatedFetch, backoffSequence, backoffWait, bash, buildAuthConfig, buildEndpointWithQuery, buildQueryString, calculateBackoff, calculateSTTCost, calculateTTSCost, calculateVideoCost, canTaskExecute, createAgentStorage, createAuthenticatedFetch, createBashTool, createConnectorFromTemplate, createCreatePRTool, createCustomToolDelete, createCustomToolDraft, createCustomToolList, createCustomToolLoad, createCustomToolMetaTools, createCustomToolSave, createCustomToolTest, createDesktopGetCursorTool, createDesktopGetScreenSizeTool, createDesktopKeyboardKeyTool, createDesktopKeyboardTypeTool, createDesktopMouseClickTool, createDesktopMouseDragTool, createDesktopMouseMoveTool, createDesktopMouseScrollTool, createDesktopScreenshotTool, createDesktopWindowFocusTool, createDesktopWindowListTool, createEditFileTool, createEstimator, createExecuteJavaScriptTool, createFileAgentDefinitionStorage, createFileContextStorage, createFileCustomToolStorage, createFileMediaStorage, createGetPRTool, createGitHubReadFileTool, createGlobTool, createGrepTool, createImageGenerationTool, createImageProvider, createListDirectoryTool, createMessageWithImages, createMetricsCollector, createPRCommentsTool, createPRFilesTool, createPlan, createProvider, createReadFileTool, createSearchCodeTool, createSearchFilesTool, createSpeechToTextTool, createTask, createTextMessage, createTextToSpeechTool, createVideoProvider, createVideoTools, createWriteFileTool, customToolDelete, customToolDraft, customToolList, customToolLoad, customToolSave, customToolTest, desktopGetCursor, desktopGetScreenSize, desktopKeyboardKey, desktopKeyboardType, desktopMouseClick, desktopMouseDrag, desktopMouseMove, desktopMouseScroll, desktopScreenshot, desktopTools, desktopWindowFocus, desktopWindowList, detectDependencyCycle, developerTools, documentToContent, editFile, evaluateCondition, extractJSON, extractJSONField, extractNumber, findConnectorByServiceTypes, generateEncryptionKey, generateSimplePlan, generateWebAPITool, getActiveSTTModels, getActiveTTSModels, getActiveVideoModels, getAllBuiltInTools, getAllVendorLogos, getAllVendorTemplates, getBackgroundOutput, getConnectorTools, getCredentialsSetupURL, getDesktopDriver, getDocsURL, getMediaOutputHandler, getMediaStorage, getNextExecutableTasks, getRegisteredScrapeProviders, getSTTModelInfo, getSTTModelsByVendor, getSTTModelsWithFeature, getTTSModelInfo, getTTSModelsByVendor, getTTSModelsWithFeature, getTaskDependencies, getToolByName, getToolCategories, getToolRegistry, getToolsByCategory, getToolsRequiringConnector, getVendorAuthTemplate, getVendorColor, getVendorDefaultBaseURL, getVendorInfo, getVendorLogo, getVendorLogoCdnUrl, getVendorLogoSvg, getVendorTemplate, getVideoModelInfo, getVideoModelsByVendor, getVideoModelsWithAudio, getVideoModelsWithFeature, glob, globalErrorHandler, grep, hasClipboardImage, hasVendorLogo, hydrateCustomTool, isBlockedCommand, isExcludedExtension, isTaskBlocked, isTerminalStatus, killBackgroundProcess, listConnectorsByServiceTypes, listDirectory, listVendorIds, listVendors, listVendorsByAuthType, listVendorsByCategory, listVendorsWithLogos, logger, mergeTextPieces, metrics, parseKeyCombo, parseRepository, readClipboardImage, readDocumentAsContent, readFile, registerScrapeProvider, resetDefaultDriver, resolveConnector, resolveDependencies, resolveRepository, retryWithBackoff, setMediaOutputHandler, setMediaStorage, setMetricsCollector, simpleTokenEstimator, toConnectorOptions, toolRegistry, index as tools, updateTaskStatus, validatePath, writeFile };
|