@everworker/oneringai 0.4.0 → 0.4.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/README.md +5 -1
- package/dist/{IProvider-BUbU5UwV.d.ts → IProvider-B6hqVVq8.d.ts} +1 -1
- package/dist/{IProvider-Br817mKc.d.cts → IProvider-CNJqZItJ.d.cts} +1 -1
- package/dist/{ImageModel-zh19LiVM.d.cts → ImageModel-B64HX3lN.d.cts} +1 -1
- package/dist/{ImageModel-B2KUs-ps.d.ts → ImageModel-DU-y_WOb.d.ts} +1 -1
- package/dist/capabilities/agents/index.d.cts +2 -2
- package/dist/capabilities/agents/index.d.ts +2 -2
- package/dist/capabilities/images/index.d.cts +2 -2
- package/dist/capabilities/images/index.d.ts +2 -2
- package/dist/{index-CR5PHkck.d.cts → index-9VOnAX17.d.ts} +47 -7
- package/dist/{index-Cb7N9QIj.d.ts → index-BMjyFNJQ.d.cts} +47 -7
- package/dist/index.cjs +854 -54
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +214 -12
- package/dist/index.d.ts +214 -12
- package/dist/index.js +852 -55
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { I as IConnectorRegistry, a as IConnectorAccessPolicy, C as ConnectorAccessContext, b as Connector, c as ConnectorConfig, d as ITokenStorage, e as IProvider, f as ConnectorFetchOptions, P as ProviderCapabilities, S as StoredToken$1, g as ConnectorAuth, h as ConnectorConfigResult } from './IProvider-
|
|
2
|
-
export { A as APIKeyConnectorAuth, D as DEFAULT_BASE_DELAY_MS, i as DEFAULT_CONNECTOR_TIMEOUT, j as DEFAULT_MAX_DELAY_MS, k as DEFAULT_MAX_RETRIES, l as DEFAULT_RETRYABLE_STATUSES, J as JWTConnectorAuth, O as OAuthConnectorAuth } from './IProvider-
|
|
3
|
-
import { I as InputItem, T as ToolFunction, M as MemoryEntry, a as MemoryScope, b as Tool, c as ToolContext, d as ToolPermissionConfig$1, e as ToolCall, W as WorkingMemoryConfig, P as PriorityCalculator, f as MemoryPriority, g as MemoryTier, C as Content, O as OutputItem, h as ToolResult, i as ITextProvider, F as FunctionToolDefinition, L as LLMResponse, S as StreamEvent, H as HookConfig, j as HistoryMode, A as AgentEvents, k as AgentResponse, E as ExecutionContext, l as ExecutionMetrics, m as AuditEntry, n as HookName, o as StaleEntryInfo, p as PriorityContext, q as MemoryIndex, r as TaskStatusForMemory, s as WorkingMemoryAccess, t as TokenUsage, u as StreamEventType, v as TextGenerateOptions, w as ModelCapabilities, x as MessageRole } from './index-
|
|
4
|
-
export { y as AfterToolContext, z as AgentEventName, B as AgenticLoopEventName, D as AgenticLoopEvents, G as ApprovalResult, J as ApproveToolContext, K as BeforeToolContext, N as BuiltInTool, Q as CompactionItem, R as ContentType, U as DEFAULT_MEMORY_CONFIG, V as ErrorEvent, X as ExecutionConfig, Y as Hook, Z as HookManager, _ as InputImageContent, $ as InputTextContent, a0 as IterationCompleteEvent, a1 as JSONSchema, a2 as MEMORY_PRIORITY_VALUES, a3 as MemoryEntryInput, a4 as MemoryIndexEntry, a5 as Message, a6 as ModifyingHook, a7 as OutputTextContent, a8 as OutputTextDeltaEvent, a9 as OutputTextDoneEvent, aa as
|
|
1
|
+
import { I as IConnectorRegistry, a as IConnectorAccessPolicy, C as ConnectorAccessContext, b as Connector, c as ConnectorConfig, d as ITokenStorage, e as IProvider, f as ConnectorFetchOptions, P as ProviderCapabilities, S as StoredToken$1, g as ConnectorAuth, h as ConnectorConfigResult } from './IProvider-B6hqVVq8.js';
|
|
2
|
+
export { A as APIKeyConnectorAuth, D as DEFAULT_BASE_DELAY_MS, i as DEFAULT_CONNECTOR_TIMEOUT, j as DEFAULT_MAX_DELAY_MS, k as DEFAULT_MAX_RETRIES, l as DEFAULT_RETRYABLE_STATUSES, J as JWTConnectorAuth, O as OAuthConnectorAuth } from './IProvider-B6hqVVq8.js';
|
|
3
|
+
import { I as InputItem, T as ToolFunction, M as MemoryEntry, a as MemoryScope, b as Tool, c as ToolContext, d as ToolPermissionConfig$1, e as ToolCall, W as WorkingMemoryConfig, P as PriorityCalculator, f as MemoryPriority, g as MemoryTier, C as Content, O as OutputItem, h as ToolResult, i as ITextProvider, F as FunctionToolDefinition, L as LLMResponse, S as StreamEvent, H as HookConfig, j as HistoryMode, A as AgentEvents, k as AgentResponse, E as ExecutionContext, l as ExecutionMetrics, m as AuditEntry, n as HookName, o as StaleEntryInfo, p as PriorityContext, q as MemoryIndex, r as TaskStatusForMemory, s as WorkingMemoryAccess, t as TokenUsage, u as StreamEventType, v as TextGenerateOptions, w as ModelCapabilities, x as MessageRole } from './index-9VOnAX17.js';
|
|
4
|
+
export { y as AfterToolContext, z as AgentEventName, B as AgenticLoopEventName, D as AgenticLoopEvents, G as ApprovalResult, J as ApproveToolContext, K as BeforeToolContext, N as BuiltInTool, Q as CompactionItem, R as ContentType, U as DEFAULT_MEMORY_CONFIG, V as ErrorEvent, X as ExecutionConfig, Y as Hook, Z as HookManager, _ as InputImageContent, $ as InputTextContent, a0 as IterationCompleteEvent, a1 as JSONSchema, a2 as MEMORY_PRIORITY_VALUES, a3 as MemoryEntryInput, a4 as MemoryIndexEntry, a5 as Message, a6 as ModifyingHook, a7 as OutputTextContent, a8 as OutputTextDeltaEvent, a9 as OutputTextDoneEvent, aa as ReasoningDeltaEvent, ab as ReasoningDoneEvent, ac as ReasoningItem, ad as ResponseCompleteEvent, ae as ResponseCreatedEvent, af as ResponseInProgressEvent, ag as SimpleScope, ah as TaskAwareScope, ai as ThinkingContent, aj as ToolCallArgumentsDeltaEvent, ak as ToolCallArgumentsDoneEvent, al as ToolCallStartEvent, am as ToolCallState, an as ToolExecutionContext, ao as ToolExecutionDoneEvent, ap as ToolExecutionStartEvent, aq as ToolModification, ar as ToolResultContent, as as ToolUseContent, at as calculateEntrySize, au as defaultDescribeCall, av as forPlan, aw as forTasks, ax as getToolCallDescription, ay as isErrorEvent, az as isOutputTextDelta, aA as isReasoningDelta, aB as isReasoningDone, aC as isResponseComplete, aD as isSimpleScope, aE as isStreamEvent, aF as isTaskAwareScope, aG as isTerminalMemoryStatus, aH as isToolCallArgumentsDelta, aI as isToolCallArgumentsDone, aJ as isToolCallStart, aK as scopeEquals, aL as scopeMatches } from './index-9VOnAX17.js';
|
|
5
5
|
import { EventEmitter } from 'eventemitter3';
|
|
6
6
|
import { V as Vendor } from './Vendor-DYh_bzwo.js';
|
|
7
7
|
export { a as VENDORS, i as isVendor } from './Vendor-DYh_bzwo.js';
|
|
8
|
-
import { A as AudioFormat, I as IBaseModelDescription, V as VendorOptionSchema, a as IImageProvider } from './ImageModel-
|
|
9
|
-
export { b as AspectRatio, c as IImageModelDescription, d as IMAGE_MODELS, e as IMAGE_MODEL_REGISTRY, f as ISourceLinks, g as ImageEditOptions, h as ImageGenerateOptions, i as ImageGeneration, j as ImageGenerationCreateOptions, k as ImageModelCapabilities, l as ImageModelPricing, m as ImageResponse, n as ImageVariationOptions, O as OutputFormat, Q as QualityLevel, S as SimpleGenerateOptions, o as calculateImageCost, p as getActiveImageModels, q as getImageModelInfo, r as getImageModelsByVendor, s as getImageModelsWithFeature } from './ImageModel-
|
|
8
|
+
import { A as AudioFormat, I as IBaseModelDescription, V as VendorOptionSchema, a as IImageProvider } from './ImageModel-DU-y_WOb.js';
|
|
9
|
+
export { b as AspectRatio, c as IImageModelDescription, d as IMAGE_MODELS, e as IMAGE_MODEL_REGISTRY, f as ISourceLinks, g as ImageEditOptions, h as ImageGenerateOptions, i as ImageGeneration, j as ImageGenerationCreateOptions, k as ImageModelCapabilities, l as ImageModelPricing, m as ImageResponse, n as ImageVariationOptions, O as OutputFormat, Q as QualityLevel, S as SimpleGenerateOptions, o as calculateImageCost, p as getActiveImageModels, q as getImageModelInfo, r as getImageModelsByVendor, s as getImageModelsWithFeature } from './ImageModel-DU-y_WOb.js';
|
|
10
10
|
import { ServiceCategory } from './shared/index.js';
|
|
11
11
|
export { ILLMDescription, LLM_MODELS, MODEL_REGISTRY, SERVICE_DEFINITIONS, SERVICE_INFO, SERVICE_URL_PATTERNS, ServiceDefinition, ServiceInfo, ServiceType, Services, calculateCost, detectServiceFromURL, getActiveModels, getAllServiceIds, getModelInfo, getModelsByVendor, getServiceDefinition, getServiceInfo, getServicesByCategory, isKnownService } from './shared/index.js';
|
|
12
12
|
|
|
@@ -1627,7 +1627,7 @@ interface TaskExecution {
|
|
|
1627
1627
|
priority?: number;
|
|
1628
1628
|
/**
|
|
1629
1629
|
* Maximum LLM iterations (tool-call loops) per agent.run() for this task.
|
|
1630
|
-
* Prevents runaway agents. Default:
|
|
1630
|
+
* Prevents runaway agents. Default: 50.
|
|
1631
1631
|
*/
|
|
1632
1632
|
maxIterations?: number;
|
|
1633
1633
|
/**
|
|
@@ -2926,6 +2926,113 @@ declare class ToolManager extends EventEmitter implements IToolExecutor, IDispos
|
|
|
2926
2926
|
private estimateToolTokens;
|
|
2927
2927
|
}
|
|
2928
2928
|
|
|
2929
|
+
/**
|
|
2930
|
+
* Snapshot Types — Canonical, serializable representations of agent context state.
|
|
2931
|
+
*
|
|
2932
|
+
* Used by UI components (Hosea, v25, etc.) to render "Look Inside" panels
|
|
2933
|
+
* without reaching into plugin internals directly.
|
|
2934
|
+
*
|
|
2935
|
+
* Design: `plugins` is an array (not hardcoded fields) enabling auto-discovery
|
|
2936
|
+
* of new/custom plugins without code changes.
|
|
2937
|
+
*/
|
|
2938
|
+
|
|
2939
|
+
/**
|
|
2940
|
+
* Complete snapshot of an agent's context state.
|
|
2941
|
+
* Returned by `AgentContextNextGen.getSnapshot()` and `BaseAgent.getSnapshot()`.
|
|
2942
|
+
*/
|
|
2943
|
+
interface IContextSnapshot {
|
|
2944
|
+
/** Whether the context is available (not destroyed) */
|
|
2945
|
+
available: boolean;
|
|
2946
|
+
/** Agent ID */
|
|
2947
|
+
agentId: string;
|
|
2948
|
+
/** Model name */
|
|
2949
|
+
model: string;
|
|
2950
|
+
/** Feature flags */
|
|
2951
|
+
features: Required<ContextFeatures>;
|
|
2952
|
+
/** Token budget breakdown */
|
|
2953
|
+
budget: ContextBudget$1;
|
|
2954
|
+
/** Compaction strategy name */
|
|
2955
|
+
strategy: string;
|
|
2956
|
+
/** Number of messages in conversation history */
|
|
2957
|
+
messagesCount: number;
|
|
2958
|
+
/** Number of tool calls in conversation */
|
|
2959
|
+
toolCallsCount: number;
|
|
2960
|
+
/** System prompt (null if not set) */
|
|
2961
|
+
systemPrompt: string | null;
|
|
2962
|
+
/** All registered plugins with their current state */
|
|
2963
|
+
plugins: IPluginSnapshot[];
|
|
2964
|
+
/** All registered tools */
|
|
2965
|
+
tools: IToolSnapshot[];
|
|
2966
|
+
}
|
|
2967
|
+
/**
|
|
2968
|
+
* Snapshot of a single plugin's state.
|
|
2969
|
+
* `contents` is the raw data from `plugin.getContents()` (plugin-specific shape).
|
|
2970
|
+
* `formattedContent` is the human-readable string from `plugin.getContent()`.
|
|
2971
|
+
*/
|
|
2972
|
+
interface IPluginSnapshot {
|
|
2973
|
+
/** Plugin identifier (e.g., 'working_memory') */
|
|
2974
|
+
name: string;
|
|
2975
|
+
/** Human-readable display name (e.g., 'Working Memory') */
|
|
2976
|
+
displayName: string;
|
|
2977
|
+
/** Whether this plugin is active */
|
|
2978
|
+
enabled: boolean;
|
|
2979
|
+
/** Current token size of plugin content */
|
|
2980
|
+
tokenSize: number;
|
|
2981
|
+
/** Token size of plugin instructions */
|
|
2982
|
+
instructionsTokenSize: number;
|
|
2983
|
+
/** Whether this plugin supports compaction */
|
|
2984
|
+
compactable: boolean;
|
|
2985
|
+
/** Raw plugin data (entries, state, etc.) */
|
|
2986
|
+
contents: unknown;
|
|
2987
|
+
/** Human-readable formatted content (Markdown) */
|
|
2988
|
+
formattedContent: string | null;
|
|
2989
|
+
}
|
|
2990
|
+
/**
|
|
2991
|
+
* Snapshot of a single tool's registration state.
|
|
2992
|
+
*/
|
|
2993
|
+
interface IToolSnapshot {
|
|
2994
|
+
/** Tool name */
|
|
2995
|
+
name: string;
|
|
2996
|
+
/** Tool description */
|
|
2997
|
+
description: string;
|
|
2998
|
+
/** Whether the tool is currently enabled */
|
|
2999
|
+
enabled: boolean;
|
|
3000
|
+
/** Number of times this tool has been called */
|
|
3001
|
+
callCount: number;
|
|
3002
|
+
/** Tool namespace (if registered with one) */
|
|
3003
|
+
namespace?: string;
|
|
3004
|
+
}
|
|
3005
|
+
/**
|
|
3006
|
+
* Human-readable breakdown of the prepared context.
|
|
3007
|
+
* Used by "View Full Context" UI panels.
|
|
3008
|
+
*/
|
|
3009
|
+
interface IViewContextData {
|
|
3010
|
+
/** Whether the data is available */
|
|
3011
|
+
available: boolean;
|
|
3012
|
+
/** Ordered list of context components */
|
|
3013
|
+
components: IViewContextComponent[];
|
|
3014
|
+
/** Total estimated tokens across all components */
|
|
3015
|
+
totalTokens: number;
|
|
3016
|
+
/** All components concatenated (for "Copy All" functionality) */
|
|
3017
|
+
rawContext: string;
|
|
3018
|
+
}
|
|
3019
|
+
/**
|
|
3020
|
+
* A single component of the prepared context.
|
|
3021
|
+
*/
|
|
3022
|
+
interface IViewContextComponent {
|
|
3023
|
+
/** Component name (e.g., 'System Message', 'User Message', 'Tool Call: search') */
|
|
3024
|
+
name: string;
|
|
3025
|
+
/** Human-readable text content */
|
|
3026
|
+
content: string;
|
|
3027
|
+
/** Estimated token count for this component */
|
|
3028
|
+
tokenEstimate: number;
|
|
3029
|
+
}
|
|
3030
|
+
/**
|
|
3031
|
+
* Convert a plugin name to a human-readable display name.
|
|
3032
|
+
* e.g., 'working_memory' → 'Working Memory'
|
|
3033
|
+
*/
|
|
3034
|
+
declare function formatPluginDisplayName(name: string): string;
|
|
3035
|
+
|
|
2929
3036
|
/**
|
|
2930
3037
|
* Tool Permission Types
|
|
2931
3038
|
*
|
|
@@ -3635,6 +3742,8 @@ declare class AgentContextNextGen extends EventEmitter<ContextEvents> {
|
|
|
3635
3742
|
private readonly _storage?;
|
|
3636
3743
|
/** Destroyed flag */
|
|
3637
3744
|
private _destroyed;
|
|
3745
|
+
/** Last thinking/reasoning content from the most recent assistant response */
|
|
3746
|
+
private _lastThinking;
|
|
3638
3747
|
/** Cached budget from last prepare() call */
|
|
3639
3748
|
private _cachedBudget;
|
|
3640
3749
|
/** Callback for beforeCompaction hook (set by Agent) */
|
|
@@ -3651,7 +3760,7 @@ declare class AgentContextNextGen extends EventEmitter<ContextEvents> {
|
|
|
3651
3760
|
private initializePlugins;
|
|
3652
3761
|
/**
|
|
3653
3762
|
* Validate that a strategy's required plugins are registered.
|
|
3654
|
-
*
|
|
3763
|
+
* Logs a warning if required plugins are missing — the strategy should degrade gracefully.
|
|
3655
3764
|
*/
|
|
3656
3765
|
private validateStrategyDependencies;
|
|
3657
3766
|
/**
|
|
@@ -3693,6 +3802,11 @@ declare class AgentContextNextGen extends EventEmitter<ContextEvents> {
|
|
|
3693
3802
|
get sessionId(): string | null;
|
|
3694
3803
|
/** Get storage (null if not configured) */
|
|
3695
3804
|
get storage(): IContextStorage | null;
|
|
3805
|
+
/**
|
|
3806
|
+
* Get the last thinking/reasoning content from the most recent assistant response.
|
|
3807
|
+
* Updated on every assistant response, always available regardless of persistence setting.
|
|
3808
|
+
*/
|
|
3809
|
+
get lastThinking(): string | null;
|
|
3696
3810
|
/** Get max context tokens */
|
|
3697
3811
|
get maxContextTokens(): number;
|
|
3698
3812
|
/** Get response reserve tokens */
|
|
@@ -3942,6 +4056,31 @@ declare class AgentContextNextGen extends EventEmitter<ContextEvents> {
|
|
|
3942
4056
|
* Get the current strategy name.
|
|
3943
4057
|
*/
|
|
3944
4058
|
get strategy(): string;
|
|
4059
|
+
/**
|
|
4060
|
+
* Get a complete, serializable snapshot of the context state.
|
|
4061
|
+
*
|
|
4062
|
+
* Returns all data needed by UI "Look Inside" panels without reaching
|
|
4063
|
+
* into plugin internals. Plugin data is auto-discovered from the plugin
|
|
4064
|
+
* registry — new/custom plugins appear automatically.
|
|
4065
|
+
*
|
|
4066
|
+
* @param toolStats - Optional tool usage stats (from ToolManager.getStats())
|
|
4067
|
+
* @returns Serializable context snapshot
|
|
4068
|
+
*/
|
|
4069
|
+
getSnapshot(toolStats?: {
|
|
4070
|
+
mostUsed?: Array<{
|
|
4071
|
+
name: string;
|
|
4072
|
+
count: number;
|
|
4073
|
+
}>;
|
|
4074
|
+
}): Promise<IContextSnapshot>;
|
|
4075
|
+
/**
|
|
4076
|
+
* Get a human-readable breakdown of the prepared context.
|
|
4077
|
+
*
|
|
4078
|
+
* Calls `prepare()` internally, then maps each InputItem to a named
|
|
4079
|
+
* component with content text and token estimate. Used by "View Full Context" UIs.
|
|
4080
|
+
*
|
|
4081
|
+
* @returns View context data with components and raw text for "Copy All"
|
|
4082
|
+
*/
|
|
4083
|
+
getViewContext(): Promise<IViewContextData>;
|
|
3945
4084
|
/**
|
|
3946
4085
|
* Generate unique ID.
|
|
3947
4086
|
*/
|
|
@@ -4322,6 +4461,25 @@ declare abstract class BaseAgent<TConfig extends BaseAgentConfig = BaseAgentConf
|
|
|
4322
4461
|
* always sees up-to-date tool descriptions.
|
|
4323
4462
|
*/
|
|
4324
4463
|
protected getEnabledToolDefinitions(): FunctionToolDefinition[];
|
|
4464
|
+
/**
|
|
4465
|
+
* List available models from the provider's API.
|
|
4466
|
+
* Useful for discovering models dynamically (e.g., Ollama local models).
|
|
4467
|
+
*/
|
|
4468
|
+
listModels(): Promise<string[]>;
|
|
4469
|
+
/**
|
|
4470
|
+
* Get a complete, serializable snapshot of the agent's context state.
|
|
4471
|
+
*
|
|
4472
|
+
* Convenience method that auto-wires tool usage stats from ToolManager.
|
|
4473
|
+
* Used by UI "Look Inside" panels.
|
|
4474
|
+
*/
|
|
4475
|
+
getSnapshot(): Promise<IContextSnapshot>;
|
|
4476
|
+
/**
|
|
4477
|
+
* Get a human-readable breakdown of the prepared context.
|
|
4478
|
+
*
|
|
4479
|
+
* Convenience method that delegates to AgentContextNextGen.
|
|
4480
|
+
* Used by "View Full Context" UI panels.
|
|
4481
|
+
*/
|
|
4482
|
+
getViewContext(): Promise<IViewContextData>;
|
|
4325
4483
|
/**
|
|
4326
4484
|
* Get the provider for LLM calls.
|
|
4327
4485
|
* Returns the single shared provider instance.
|
|
@@ -4462,6 +4620,14 @@ interface AgentConfig$1 extends BaseAgentConfig {
|
|
|
4462
4620
|
temperature?: number;
|
|
4463
4621
|
/** Maximum iterations for tool calling loop */
|
|
4464
4622
|
maxIterations?: number;
|
|
4623
|
+
/** Vendor-agnostic thinking/reasoning configuration */
|
|
4624
|
+
thinking?: {
|
|
4625
|
+
enabled: boolean;
|
|
4626
|
+
/** Budget in tokens for thinking (Anthropic & Google) */
|
|
4627
|
+
budgetTokens?: number;
|
|
4628
|
+
/** Reasoning effort level (OpenAI) */
|
|
4629
|
+
effort?: 'low' | 'medium' | 'high';
|
|
4630
|
+
};
|
|
4465
4631
|
/** Vendor-specific options (e.g., Google's thinkingLevel: 'low' | 'high') */
|
|
4466
4632
|
vendorOptions?: Record<string, unknown>;
|
|
4467
4633
|
/**
|
|
@@ -10313,6 +10479,7 @@ declare class StreamState {
|
|
|
10313
10479
|
model: string;
|
|
10314
10480
|
createdAt: number;
|
|
10315
10481
|
private textBuffers;
|
|
10482
|
+
private reasoningBuffers;
|
|
10316
10483
|
private toolCallBuffers;
|
|
10317
10484
|
private completedToolCalls;
|
|
10318
10485
|
private toolResults;
|
|
@@ -10337,6 +10504,22 @@ declare class StreamState {
|
|
|
10337
10504
|
* Get all accumulated text (all items concatenated)
|
|
10338
10505
|
*/
|
|
10339
10506
|
getAllText(): string;
|
|
10507
|
+
/**
|
|
10508
|
+
* Accumulate reasoning delta for a specific item
|
|
10509
|
+
*/
|
|
10510
|
+
accumulateReasoningDelta(itemId: string, delta: string): void;
|
|
10511
|
+
/**
|
|
10512
|
+
* Get complete accumulated reasoning for an item
|
|
10513
|
+
*/
|
|
10514
|
+
getCompleteReasoning(itemId: string): string;
|
|
10515
|
+
/**
|
|
10516
|
+
* Get all accumulated reasoning (all items concatenated)
|
|
10517
|
+
*/
|
|
10518
|
+
getAllReasoning(): string;
|
|
10519
|
+
/**
|
|
10520
|
+
* Check if stream has any accumulated reasoning
|
|
10521
|
+
*/
|
|
10522
|
+
hasReasoning(): boolean;
|
|
10340
10523
|
/**
|
|
10341
10524
|
* Start accumulating tool call arguments
|
|
10342
10525
|
*/
|
|
@@ -10441,6 +10624,7 @@ declare class StreamState {
|
|
|
10441
10624
|
model: string;
|
|
10442
10625
|
createdAt: number;
|
|
10443
10626
|
textBuffers: Map<string, string[]>;
|
|
10627
|
+
reasoningBuffers: Map<string, string[]>;
|
|
10444
10628
|
toolCallBuffers: Map<string, ToolCallBuffer>;
|
|
10445
10629
|
completedToolCalls: ToolCall[];
|
|
10446
10630
|
toolResults: Map<string, any>;
|
|
@@ -10485,6 +10669,23 @@ declare class StreamHelpers {
|
|
|
10485
10669
|
* Accumulate text from stream into a single string
|
|
10486
10670
|
*/
|
|
10487
10671
|
static accumulateText(stream: AsyncIterableIterator<StreamEvent>): Promise<string>;
|
|
10672
|
+
/**
|
|
10673
|
+
* Get only reasoning/thinking deltas from stream
|
|
10674
|
+
* Filters out all other event types
|
|
10675
|
+
*/
|
|
10676
|
+
static thinkingOnly(stream: AsyncIterableIterator<StreamEvent>): AsyncIterableIterator<string>;
|
|
10677
|
+
/**
|
|
10678
|
+
* Get both text and thinking deltas from stream
|
|
10679
|
+
* Yields tagged objects so consumers can distinguish them
|
|
10680
|
+
*/
|
|
10681
|
+
static textAndThinking(stream: AsyncIterableIterator<StreamEvent>): AsyncIterableIterator<{
|
|
10682
|
+
type: 'text' | 'thinking';
|
|
10683
|
+
delta: string;
|
|
10684
|
+
}>;
|
|
10685
|
+
/**
|
|
10686
|
+
* Accumulate all thinking/reasoning content from stream into a single string
|
|
10687
|
+
*/
|
|
10688
|
+
static accumulateThinking(stream: AsyncIterableIterator<StreamEvent>): Promise<string>;
|
|
10488
10689
|
/**
|
|
10489
10690
|
* Buffer stream events into batches
|
|
10490
10691
|
*/
|
|
@@ -10781,9 +10982,10 @@ declare abstract class BaseTextProvider extends BaseProvider implements ITextPro
|
|
|
10781
10982
|
*/
|
|
10782
10983
|
protected normalizeInputToString(input: string | any[]): string;
|
|
10783
10984
|
/**
|
|
10784
|
-
* List available models
|
|
10985
|
+
* List available models from the provider's API.
|
|
10986
|
+
* Default returns empty array; providers override when they have SDK support.
|
|
10785
10987
|
*/
|
|
10786
|
-
listModels
|
|
10988
|
+
listModels(): Promise<string[]>;
|
|
10787
10989
|
/**
|
|
10788
10990
|
* Clean up provider resources (circuit breaker listeners, etc.)
|
|
10789
10991
|
* Should be called when the provider is no longer needed.
|
|
@@ -14100,7 +14302,7 @@ declare const desktopTools: (ToolFunction<DesktopScreenshotArgs, DesktopScreensh
|
|
|
14100
14302
|
* AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
|
|
14101
14303
|
*
|
|
14102
14304
|
* Generated by: scripts/generate-tool-registry.ts
|
|
14103
|
-
* Generated at: 2026-02-
|
|
14305
|
+
* Generated at: 2026-02-22T21:55:57.315Z
|
|
14104
14306
|
*
|
|
14105
14307
|
* To regenerate: npm run generate:tools
|
|
14106
14308
|
*/
|
|
@@ -14721,4 +14923,4 @@ declare class ProviderConfigAgent {
|
|
|
14721
14923
|
reset(): void;
|
|
14722
14924
|
}
|
|
14723
14925
|
|
|
14724
|
-
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, type ExecuteRoutineOptions, 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, FileRoutineDefinitionStorage, type FileRoutineDefinitionStorageConfig, 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, HookName, 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 IRoutineDefinitionStorage, 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, type MeetingSlotSuggestion, MemoryConnectorStorage, MemoryEntry, MemoryEvictionCompactor, MemoryIndex, MemoryPriority, MemoryScope, MemoryStorage, MessageBuilder, MessageRole, type MetricTags, type MetricsCollector, type MetricsCollectorType, type MicrosoftCreateMeetingResult, type MicrosoftDraftEmailResult, type MicrosoftEditMeetingResult, type MicrosoftFindSlotsResult, type MicrosoftGetTranscriptResult, type MicrosoftSendEmailResult, 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, type RoutineDefinition, type RoutineDefinitionInput, type RoutineExecution, type RoutineExecutionStatus, 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, type ValidationContext, 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, createDraftEmailTool, createEditFileTool, createEditMeetingTool, createEstimator, createExecuteJavaScriptTool, createFileAgentDefinitionStorage, createFileContextStorage, createFileCustomToolStorage, createFileMediaStorage, createFileRoutineDefinitionStorage, createFindMeetingSlotsTool, createGetMeetingTranscriptTool, createGetPRTool, createGitHubReadFileTool, createGlobTool, createGrepTool, createImageGenerationTool, createImageProvider, createListDirectoryTool, createMeetingTool, createMessageWithImages, createMetricsCollector, createPRCommentsTool, createPRFilesTool, createPlan, createProvider, createReadFileTool, createRoutineDefinition, createRoutineExecution, createSearchCodeTool, createSearchFilesTool, createSendEmailTool, 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, executeRoutine, extractJSON, extractJSONField, extractNumber, findConnectorByServiceTypes, formatAttendees, formatRecipients, generateEncryptionKey, generateSimplePlan, generateWebAPITool, getActiveSTTModels, getActiveTTSModels, getActiveVideoModels, getAllBuiltInTools, getAllVendorLogos, getAllVendorTemplates, getBackgroundOutput, getConnectorTools, getCredentialsSetupURL, getDesktopDriver, getDocsURL, getMediaOutputHandler, getMediaStorage, getNextExecutableTasks, getRegisteredScrapeProviders, getRoutineProgress, getSTTModelInfo, getSTTModelsByVendor, getSTTModelsWithFeature, getTTSModelInfo, getTTSModelsByVendor, getTTSModelsWithFeature, getTaskDependencies, getToolByName, getToolCategories, getToolRegistry, getToolsByCategory, getToolsRequiringConnector, getUserPathPrefix, getVendorAuthTemplate, getVendorColor, getVendorDefaultBaseURL, getVendorInfo, getVendorLogo, getVendorLogoCdnUrl, getVendorLogoSvg, getVendorTemplate, getVideoModelInfo, getVideoModelsByVendor, getVideoModelsWithAudio, getVideoModelsWithFeature, glob, globalErrorHandler, grep, hasClipboardImage, hasVendorLogo, hydrateCustomTool, isBlockedCommand, isExcludedExtension, isTaskBlocked, isTeamsMeetingUrl, isTerminalStatus, killBackgroundProcess, listConnectorsByServiceTypes, listDirectory, listVendorIds, listVendors, listVendorsByAuthType, listVendorsByCategory, listVendorsWithLogos, logger, mergeTextPieces, metrics, microsoftFetch, normalizeEmails, parseKeyCombo, parseRepository, readClipboardImage, readDocumentAsContent, readFile, registerScrapeProvider, resetDefaultDriver, resolveConnector, resolveDependencies, resolveMaxContextTokens, resolveMeetingId, resolveModelCapabilities, resolveRepository, retryWithBackoff, sanitizeToolName, setMediaOutputHandler, setMediaStorage, setMetricsCollector, simpleTokenEstimator, toConnectorOptions, toolRegistry, index as tools, updateTaskStatus, validatePath, writeFile };
|
|
14926
|
+
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, type ExecuteRoutineOptions, 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, FileRoutineDefinitionStorage, type FileRoutineDefinitionStorageConfig, 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, HookName, 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 IContextSnapshot, 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, type IPluginSnapshot, IProvider, type IResearchSource, type IRoutineDefinitionStorage, 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 IToolSnapshot, type IUserInfoStorage, type IVideoModelDescription, type IVideoProvider, type IViewContextComponent, type IViewContextData, 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, type MeetingSlotSuggestion, MemoryConnectorStorage, MemoryEntry, MemoryEvictionCompactor, MemoryIndex, MemoryPriority, MemoryScope, MemoryStorage, MessageBuilder, MessageRole, type MetricTags, type MetricsCollector, type MetricsCollectorType, type MicrosoftCreateMeetingResult, type MicrosoftDraftEmailResult, type MicrosoftEditMeetingResult, type MicrosoftFindSlotsResult, type MicrosoftGetTranscriptResult, type MicrosoftSendEmailResult, 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, type RoutineDefinition, type RoutineDefinitionInput, type RoutineExecution, type RoutineExecutionStatus, 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, type ValidationContext, 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, createDraftEmailTool, createEditFileTool, createEditMeetingTool, createEstimator, createExecuteJavaScriptTool, createFileAgentDefinitionStorage, createFileContextStorage, createFileCustomToolStorage, createFileMediaStorage, createFileRoutineDefinitionStorage, createFindMeetingSlotsTool, createGetMeetingTranscriptTool, createGetPRTool, createGitHubReadFileTool, createGlobTool, createGrepTool, createImageGenerationTool, createImageProvider, createListDirectoryTool, createMeetingTool, createMessageWithImages, createMetricsCollector, createPRCommentsTool, createPRFilesTool, createPlan, createProvider, createReadFileTool, createRoutineDefinition, createRoutineExecution, createSearchCodeTool, createSearchFilesTool, createSendEmailTool, 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, executeRoutine, extractJSON, extractJSONField, extractNumber, findConnectorByServiceTypes, formatAttendees, formatPluginDisplayName, formatRecipients, generateEncryptionKey, generateSimplePlan, generateWebAPITool, getActiveSTTModels, getActiveTTSModels, getActiveVideoModels, getAllBuiltInTools, getAllVendorLogos, getAllVendorTemplates, getBackgroundOutput, getConnectorTools, getCredentialsSetupURL, getDesktopDriver, getDocsURL, getMediaOutputHandler, getMediaStorage, getNextExecutableTasks, getRegisteredScrapeProviders, getRoutineProgress, getSTTModelInfo, getSTTModelsByVendor, getSTTModelsWithFeature, getTTSModelInfo, getTTSModelsByVendor, getTTSModelsWithFeature, getTaskDependencies, getToolByName, getToolCategories, getToolRegistry, getToolsByCategory, getToolsRequiringConnector, getUserPathPrefix, getVendorAuthTemplate, getVendorColor, getVendorDefaultBaseURL, getVendorInfo, getVendorLogo, getVendorLogoCdnUrl, getVendorLogoSvg, getVendorTemplate, getVideoModelInfo, getVideoModelsByVendor, getVideoModelsWithAudio, getVideoModelsWithFeature, glob, globalErrorHandler, grep, hasClipboardImage, hasVendorLogo, hydrateCustomTool, isBlockedCommand, isExcludedExtension, isTaskBlocked, isTeamsMeetingUrl, isTerminalStatus, killBackgroundProcess, listConnectorsByServiceTypes, listDirectory, listVendorIds, listVendors, listVendorsByAuthType, listVendorsByCategory, listVendorsWithLogos, logger, mergeTextPieces, metrics, microsoftFetch, normalizeEmails, parseKeyCombo, parseRepository, readClipboardImage, readDocumentAsContent, readFile, registerScrapeProvider, resetDefaultDriver, resolveConnector, resolveDependencies, resolveMaxContextTokens, resolveMeetingId, resolveModelCapabilities, resolveRepository, retryWithBackoff, sanitizeToolName, setMediaOutputHandler, setMediaStorage, setMetricsCollector, simpleTokenEstimator, toConnectorOptions, toolRegistry, index as tools, updateTaskStatus, validatePath, writeFile };
|