@everworker/oneringai 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -152,38 +152,55 @@ interface CustomToolListOptions {
152
152
  /**
153
153
  * Storage interface for custom tool definitions
154
154
  *
155
+ * Custom tools support optional per-user isolation for multi-tenant scenarios.
156
+ * When userId is not provided, defaults to 'default' user.
157
+ *
155
158
  * Implementations:
156
- * - FileCustomToolStorage: File-based storage at ~/.oneringai/custom-tools/
159
+ * - FileCustomToolStorage: File-based storage at ~/.oneringai/users/<userId>/custom-tools/
157
160
  */
158
161
  interface ICustomToolStorage {
159
162
  /**
160
163
  * Save a custom tool definition
164
+ * @param userId - Optional user ID for isolation (defaults to 'default')
165
+ * @param definition - Tool definition to save
161
166
  */
162
- save(definition: CustomToolDefinition): Promise<void>;
167
+ save(userId: string | undefined, definition: CustomToolDefinition): Promise<void>;
163
168
  /**
164
169
  * Load a custom tool definition by name
170
+ * @param userId - Optional user ID for isolation (defaults to 'default')
171
+ * @param name - Tool name
165
172
  */
166
- load(name: string): Promise<CustomToolDefinition | null>;
173
+ load(userId: string | undefined, name: string): Promise<CustomToolDefinition | null>;
167
174
  /**
168
175
  * Delete a custom tool definition by name
176
+ * @param userId - Optional user ID for isolation (defaults to 'default')
177
+ * @param name - Tool name
169
178
  */
170
- delete(name: string): Promise<void>;
179
+ delete(userId: string | undefined, name: string): Promise<void>;
171
180
  /**
172
181
  * Check if a custom tool exists
182
+ * @param userId - Optional user ID for isolation (defaults to 'default')
183
+ * @param name - Tool name
173
184
  */
174
- exists(name: string): Promise<boolean>;
185
+ exists(userId: string | undefined, name: string): Promise<boolean>;
175
186
  /**
176
187
  * List custom tools (summaries only)
188
+ * @param userId - Optional user ID for isolation (defaults to 'default')
189
+ * @param options - Filtering and pagination options
177
190
  */
178
- list(options?: CustomToolListOptions): Promise<CustomToolSummary[]>;
191
+ list(userId: string | undefined, options?: CustomToolListOptions): Promise<CustomToolSummary[]>;
179
192
  /**
180
193
  * Update metadata without loading full definition
194
+ * @param userId - Optional user ID for isolation (defaults to 'default')
195
+ * @param name - Tool name
196
+ * @param metadata - Metadata to update
181
197
  */
182
- updateMetadata?(name: string, metadata: Record<string, unknown>): Promise<void>;
198
+ updateMetadata?(userId: string | undefined, name: string, metadata: Record<string, unknown>): Promise<void>;
183
199
  /**
184
- * Get the storage path/location (for display/debugging)
200
+ * Get the storage path/location for a specific user (for display/debugging)
201
+ * @param userId - Optional user ID for isolation (defaults to 'default')
185
202
  */
186
- getPath(): string;
203
+ getPath(userId: string | undefined): string;
187
204
  }
188
205
 
189
206
  /**
@@ -869,6 +886,8 @@ interface ContextFeatures {
869
886
  inContextMemory?: boolean;
870
887
  /** Enable PersistentInstructions plugin (default: false) */
871
888
  persistentInstructions?: boolean;
889
+ /** Enable UserInfo plugin (default: false) */
890
+ userInfo?: boolean;
872
891
  }
873
892
  /**
874
893
  * Default feature configuration
@@ -896,6 +915,11 @@ interface PluginConfigs {
896
915
  * See PersistentInstructionsConfig for full options.
897
916
  */
898
917
  persistentInstructions?: Record<string, unknown>;
918
+ /**
919
+ * User info plugin config (used when features.userInfo=true).
920
+ * See UserInfoPluginConfig for full options.
921
+ */
922
+ userInfo?: Record<string, unknown>;
899
923
  }
900
924
  /**
901
925
  * AgentContextNextGen configuration
@@ -1459,6 +1483,78 @@ interface IMemoryStorage {
1459
1483
  getTotalSize(): Promise<number>;
1460
1484
  }
1461
1485
 
1486
+ /**
1487
+ * IUserInfoStorage - Storage interface for user information
1488
+ *
1489
+ * Abstracted storage interface following Clean Architecture principles.
1490
+ * Implementations can use file system, database, or any other storage backend.
1491
+ *
1492
+ * User information is stored per userId - each user has their own isolated data.
1493
+ */
1494
+ /**
1495
+ * A single user info entry, independently addressable by key.
1496
+ */
1497
+ interface UserInfoEntry {
1498
+ /** User-supplied key (e.g., "theme", "language") */
1499
+ id: string;
1500
+ /** Value (any JSON-serializable data) */
1501
+ value: unknown;
1502
+ /** Type of the value for display/debugging */
1503
+ valueType: 'string' | 'number' | 'boolean' | 'object' | 'array' | 'null';
1504
+ /** Optional description for self-documentation */
1505
+ description?: string;
1506
+ /** Timestamp when entry was first created */
1507
+ createdAt: number;
1508
+ /** Timestamp when entry was last updated */
1509
+ updatedAt: number;
1510
+ }
1511
+ /**
1512
+ * Storage interface for user information
1513
+ *
1514
+ * Implementations handle the actual storage mechanism while the plugin
1515
+ * handles the business logic.
1516
+ *
1517
+ * Design: Single storage instance handles ALL users. UserId is passed to
1518
+ * each method, allowing efficient multi-tenant storage.
1519
+ * When userId is undefined, defaults to 'default' user.
1520
+ */
1521
+ interface IUserInfoStorage {
1522
+ /**
1523
+ * Load user info entries from storage for a specific user
1524
+ *
1525
+ * @param userId - Optional user ID for isolation (defaults to 'default')
1526
+ * @returns The stored user info entries, or null if none exist
1527
+ */
1528
+ load(userId: string | undefined): Promise<UserInfoEntry[] | null>;
1529
+ /**
1530
+ * Save user info entries to storage for a specific user
1531
+ *
1532
+ * @param userId - Optional user ID for isolation (defaults to 'default')
1533
+ * @param entries - The user info entries to save
1534
+ */
1535
+ save(userId: string | undefined, entries: UserInfoEntry[]): Promise<void>;
1536
+ /**
1537
+ * Delete user info from storage for a specific user
1538
+ *
1539
+ * @param userId - Optional user ID for isolation (defaults to 'default')
1540
+ */
1541
+ delete(userId: string | undefined): Promise<void>;
1542
+ /**
1543
+ * Check if user info exists in storage for a specific user
1544
+ *
1545
+ * @param userId - Optional user ID for isolation (defaults to 'default')
1546
+ * @returns true if user info exists
1547
+ */
1548
+ exists(userId: string | undefined): Promise<boolean>;
1549
+ /**
1550
+ * Get the storage path for a specific user (for display/debugging)
1551
+ *
1552
+ * @param userId - Optional user ID for isolation (defaults to 'default')
1553
+ * @returns Human-readable path to the storage location
1554
+ */
1555
+ getPath(userId: string | undefined): string;
1556
+ }
1557
+
1462
1558
  /**
1463
1559
  * StorageRegistry - Centralized storage backend registry
1464
1560
  *
@@ -1519,6 +1615,7 @@ interface StorageConfig {
1519
1615
  sessions: (agentId: string, context?: StorageContext) => IContextStorage;
1520
1616
  persistentInstructions: (agentId: string, context?: StorageContext) => IPersistentInstructionsStorage;
1521
1617
  workingMemory: (context?: StorageContext) => IMemoryStorage;
1618
+ userInfo: (context?: StorageContext) => IUserInfoStorage;
1522
1619
  }
1523
1620
  declare class StorageRegistry {
1524
1621
  /** Internal storage map */
@@ -4706,6 +4803,96 @@ declare class PersistentInstructionsPluginNextGen implements IContextPluginNextG
4706
4803
  private createInstructionsClearTool;
4707
4804
  }
4708
4805
 
4806
+ /**
4807
+ * UserInfoPluginNextGen - User information storage plugin for NextGen context
4808
+ *
4809
+ * Stores key-value information about the current user (preferences, context, metadata).
4810
+ * Data is user-scoped, not agent-scoped - different agents share the same user data.
4811
+ *
4812
+ * Use cases:
4813
+ * - User preferences (theme, language, timezone)
4814
+ * - User context (location, role, permissions)
4815
+ * - User metadata (name, email, profile info)
4816
+ *
4817
+ * Storage: ~/.oneringai/users/<userId>/user_info.json
4818
+ *
4819
+ * Design:
4820
+ * - UserId passed at construction time from AgentContextNextGen._userId
4821
+ * - User data IS injected into context via getContent() (entries rendered as markdown)
4822
+ * - In-memory cache with lazy loading + write-through to storage
4823
+ * - Tools access current user's data only (no cross-user access)
4824
+ */
4825
+
4826
+ interface UserInfoPluginConfig {
4827
+ /** Custom storage implementation (default: FileUserInfoStorage) */
4828
+ storage?: IUserInfoStorage;
4829
+ /** Maximum total size across all entries in bytes (default: 100000 / ~100KB) */
4830
+ maxTotalSize?: number;
4831
+ /** Maximum number of entries (default: 100) */
4832
+ maxEntries?: number;
4833
+ /** User ID for storage isolation (resolved from AgentContextNextGen._userId) */
4834
+ userId?: string;
4835
+ }
4836
+ interface SerializedUserInfoState {
4837
+ version: 1;
4838
+ entries: UserInfoEntry[];
4839
+ userId?: string;
4840
+ }
4841
+ declare class UserInfoPluginNextGen implements IContextPluginNextGen {
4842
+ readonly name = "user_info";
4843
+ private _destroyed;
4844
+ private _storage;
4845
+ /** In-memory cache of entries */
4846
+ private _entries;
4847
+ /** Whether entries have been loaded from storage */
4848
+ private _initialized;
4849
+ private readonly maxTotalSize;
4850
+ private readonly maxEntries;
4851
+ private readonly estimator;
4852
+ private readonly explicitStorage?;
4853
+ /** UserId for getContent() and lazy initialization */
4854
+ readonly userId: string | undefined;
4855
+ private _tokenCache;
4856
+ private _instructionsTokenCache;
4857
+ constructor(config?: UserInfoPluginConfig);
4858
+ getInstructions(): string;
4859
+ getContent(): Promise<string | null>;
4860
+ getContents(): Map<string, UserInfoEntry>;
4861
+ getTokenSize(): number;
4862
+ getInstructionsTokenSize(): number;
4863
+ isCompactable(): boolean;
4864
+ compact(_targetTokensToFree: number): Promise<number>;
4865
+ getTools(): ToolFunction[];
4866
+ destroy(): void;
4867
+ getState(): SerializedUserInfoState;
4868
+ restoreState(state: unknown): void;
4869
+ /**
4870
+ * Check if initialized
4871
+ */
4872
+ get isInitialized(): boolean;
4873
+ private assertNotDestroyed;
4874
+ /**
4875
+ * Lazy load entries from storage
4876
+ */
4877
+ private ensureInitialized;
4878
+ /**
4879
+ * Render entries as markdown for context injection
4880
+ */
4881
+ private renderContent;
4882
+ /**
4883
+ * Resolve storage instance (lazy singleton)
4884
+ */
4885
+ private resolveStorage;
4886
+ /**
4887
+ * Persist current entries to storage
4888
+ */
4889
+ private persistToStorage;
4890
+ private createUserInfoSetTool;
4891
+ private createUserInfoGetTool;
4892
+ private createUserInfoRemoveTool;
4893
+ private createUserInfoClearTool;
4894
+ }
4895
+
4709
4896
  /**
4710
4897
  * DefaultCompactionStrategy - Standard compaction behavior
4711
4898
  *
@@ -9544,14 +9731,15 @@ declare function createFileMediaStorage(config?: FileMediaStorageConfig): FileMe
9544
9731
  /**
9545
9732
  * FileCustomToolStorage - File-based storage for custom tool definitions
9546
9733
  *
9547
- * Stores custom tools as JSON files on disk.
9548
- * Path: ~/.oneringai/custom-tools/<sanitized-name>.json
9734
+ * Stores custom tools as JSON files on disk with per-user isolation.
9735
+ * Path: ~/.oneringai/users/<userId>/custom-tools/<sanitized-name>.json
9549
9736
  *
9550
9737
  * Features:
9738
+ * - Per-user isolation (multi-tenant safe)
9551
9739
  * - Cross-platform path handling
9552
9740
  * - Safe name sanitization
9553
9741
  * - Atomic file operations (write to .tmp then rename)
9554
- * - Index file for fast listing
9742
+ * - Per-user index file for fast listing
9555
9743
  * - Search support (case-insensitive substring on name + description)
9556
9744
  */
9557
9745
 
@@ -9559,48 +9747,60 @@ declare function createFileMediaStorage(config?: FileMediaStorageConfig): FileMe
9559
9747
  * Configuration for FileCustomToolStorage
9560
9748
  */
9561
9749
  interface FileCustomToolStorageConfig {
9562
- /** Override the base directory (default: ~/.oneringai/custom-tools) */
9750
+ /** Override the base directory (default: ~/.oneringai/users) */
9563
9751
  baseDirectory?: string;
9564
9752
  /** Pretty-print JSON (default: true) */
9565
9753
  prettyPrint?: boolean;
9566
9754
  }
9567
9755
  /**
9568
9756
  * File-based storage for custom tool definitions
9757
+ *
9758
+ * Single instance handles all users. UserId is passed to each method.
9569
9759
  */
9570
9760
  declare class FileCustomToolStorage implements ICustomToolStorage {
9571
9761
  private readonly baseDirectory;
9572
- private readonly indexPath;
9573
9762
  private readonly prettyPrint;
9574
- private index;
9575
9763
  constructor(config?: FileCustomToolStorageConfig);
9764
+ /**
9765
+ * Get the directory path for a specific user's custom tools
9766
+ */
9767
+ private getUserDirectory;
9768
+ /**
9769
+ * Get the index file path for a specific user
9770
+ */
9771
+ private getUserIndexPath;
9772
+ /**
9773
+ * Get the tool file path for a specific user
9774
+ */
9775
+ private getToolPath;
9576
9776
  /**
9577
9777
  * Save a custom tool definition
9578
9778
  */
9579
- save(definition: CustomToolDefinition): Promise<void>;
9779
+ save(userId: string | undefined, definition: CustomToolDefinition): Promise<void>;
9580
9780
  /**
9581
9781
  * Load a custom tool definition by name
9582
9782
  */
9583
- load(name: string): Promise<CustomToolDefinition | null>;
9783
+ load(userId: string | undefined, name: string): Promise<CustomToolDefinition | null>;
9584
9784
  /**
9585
9785
  * Delete a custom tool definition
9586
9786
  */
9587
- delete(name: string): Promise<void>;
9787
+ delete(userId: string | undefined, name: string): Promise<void>;
9588
9788
  /**
9589
9789
  * Check if a custom tool exists
9590
9790
  */
9591
- exists(name: string): Promise<boolean>;
9791
+ exists(userId: string | undefined, name: string): Promise<boolean>;
9592
9792
  /**
9593
9793
  * List custom tools (summaries only)
9594
9794
  */
9595
- list(options?: CustomToolListOptions): Promise<CustomToolSummary[]>;
9795
+ list(userId: string | undefined, options?: CustomToolListOptions): Promise<CustomToolSummary[]>;
9596
9796
  /**
9597
9797
  * Update metadata without loading full definition
9598
9798
  */
9599
- updateMetadata(name: string, metadata: Record<string, unknown>): Promise<void>;
9799
+ updateMetadata(userId: string | undefined, name: string, metadata: Record<string, unknown>): Promise<void>;
9600
9800
  /**
9601
- * Get storage path
9801
+ * Get storage path for a specific user
9602
9802
  */
9603
- getPath(): string;
9803
+ getPath(userId: string | undefined): string;
9604
9804
  private ensureDirectory;
9605
9805
  private loadIndex;
9606
9806
  private saveIndex;
@@ -9613,6 +9813,74 @@ declare class FileCustomToolStorage implements ICustomToolStorage {
9613
9813
  */
9614
9814
  declare function createFileCustomToolStorage(config?: FileCustomToolStorageConfig): FileCustomToolStorage;
9615
9815
 
9816
+ /**
9817
+ * FileUserInfoStorage - File-based storage for user information
9818
+ *
9819
+ * Stores user information as a JSON file on disk.
9820
+ * Path: ~/.oneringai/users/<userId>/user_info.json
9821
+ * Windows: %APPDATA%/oneringai/users/<userId>/user_info.json
9822
+ *
9823
+ * Features:
9824
+ * - Cross-platform path handling
9825
+ * - Safe user ID sanitization
9826
+ * - Atomic file operations
9827
+ * - Automatic directory creation
9828
+ * - Multi-user support (one storage instance for all users)
9829
+ */
9830
+
9831
+ /**
9832
+ * Configuration for FileUserInfoStorage
9833
+ */
9834
+ interface FileUserInfoStorageConfig {
9835
+ /** Override the base directory (default: ~/.oneringai/users) */
9836
+ baseDirectory?: string;
9837
+ /** Override the filename (default: user_info.json) */
9838
+ filename?: string;
9839
+ }
9840
+ /**
9841
+ * File-based storage for user information
9842
+ *
9843
+ * Single instance handles all users. UserId is passed to each method.
9844
+ */
9845
+ declare class FileUserInfoStorage implements IUserInfoStorage {
9846
+ private readonly baseDirectory;
9847
+ private readonly filename;
9848
+ constructor(config?: FileUserInfoStorageConfig);
9849
+ /**
9850
+ * Get the directory path for a specific user
9851
+ */
9852
+ private getUserDirectory;
9853
+ /**
9854
+ * Get the file path for a specific user
9855
+ */
9856
+ private getUserFilePath;
9857
+ /**
9858
+ * Load user info entries from file for a specific user
9859
+ */
9860
+ load(userId: string | undefined): Promise<UserInfoEntry[] | null>;
9861
+ /**
9862
+ * Save user info entries to file for a specific user
9863
+ * Creates directory if it doesn't exist.
9864
+ */
9865
+ save(userId: string | undefined, entries: UserInfoEntry[]): Promise<void>;
9866
+ /**
9867
+ * Delete user info file for a specific user
9868
+ */
9869
+ delete(userId: string | undefined): Promise<void>;
9870
+ /**
9871
+ * Check if user info file exists for a specific user
9872
+ */
9873
+ exists(userId: string | undefined): Promise<boolean>;
9874
+ /**
9875
+ * Get the file path for a specific user (for display/debugging)
9876
+ */
9877
+ getPath(userId: string | undefined): string;
9878
+ /**
9879
+ * Ensure the directory exists
9880
+ */
9881
+ private ensureDirectory;
9882
+ }
9883
+
9616
9884
  /**
9617
9885
  * Video Model Registry
9618
9886
  *
@@ -13273,7 +13541,7 @@ declare const desktopTools: (ToolFunction<DesktopScreenshotArgs, DesktopScreensh
13273
13541
  * AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
13274
13542
  *
13275
13543
  * Generated by: scripts/generate-tool-registry.ts
13276
- * Generated at: 2026-02-18T21:07:52.434Z
13544
+ * Generated at: 2026-02-19T13:15:35.008Z
13277
13545
  *
13278
13546
  * To regenerate: npm run generate:tools
13279
13547
  */
@@ -13874,4 +14142,4 @@ declare class ProviderConfigAgent {
13874
14142
  reset(): void;
13875
14143
  }
13876
14144
 
13877
- 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 StorageConfig, type StorageContext, StorageRegistry, 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, resolveMaxContextTokens, resolveModelCapabilities, resolveRepository, retryWithBackoff, sanitizeToolName, setMediaOutputHandler, setMediaStorage, setMetricsCollector, simpleTokenEstimator, toConnectorOptions, toolRegistry, index as tools, updateTaskStatus, validatePath, writeFile };
14145
+ 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, FileUserInfoStorage, type FileUserInfoStorageConfig, 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 IUserInfoStorage, 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 SerializedUserInfoState, type SerializedWorkingMemoryState, SerperProvider, ServiceCategory, type ServiceToolFactory, type ShellToolConfig, type SimpleIcon, type SimpleVideoGenerateOptions, type SourceCapabilities, type SourceResult, SpeechToText, type SpeechToTextConfig, type StdioTransportConfig, type StorageConfig, type StorageContext, StorageRegistry, 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, type UserInfoEntry, type UserInfoPluginConfig, UserInfoPluginNextGen, 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, resolveMaxContextTokens, resolveModelCapabilities, resolveRepository, retryWithBackoff, sanitizeToolName, setMediaOutputHandler, setMediaStorage, setMetricsCollector, simpleTokenEstimator, toConnectorOptions, toolRegistry, index as tools, updateTaskStatus, validatePath, writeFile };