@robota-sdk/agent-core 3.0.0-beta.60 → 3.0.0-beta.61
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/CHANGELOG.md +8 -0
- package/README.md +17 -11
- package/dist/browser/index.d.ts +78 -2
- package/dist/browser/index.js +7 -7
- package/dist/node/index.cjs +7 -7
- package/dist/node/index.d.cts +78 -2
- package/dist/node/index.d.ts +78 -2
- package/dist/node/index.js +7 -7
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @robota-sdk/agent-core
|
|
2
2
|
|
|
3
|
+
## 3.0.0-beta.61
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1c0d44c: Align context usage estimation across session display, auto-compaction, and core hard-capacity guards so mid-window sessions do not block prematurely.
|
|
8
|
+
- 36eb7a9: Add provider-owned native replay payload hooks, replay validation coverage, and a session log validation command.
|
|
9
|
+
- d97bdf2: Add provider-owned model catalog metadata, route `/model` suggestions through the active provider, and make `cli:dev` resolve the CLI workspace dependency closure through source export conditions.
|
|
10
|
+
|
|
3
11
|
## 3.0.0-beta.60
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -70,13 +70,18 @@ agent.setModel({ provider: 'openai', model: 'gpt-4o' });
|
|
|
70
70
|
`run()` accepts `onExecutionEvent` in run options. The execution loop emits provider-neutral events that higher layers can persist as append-only session provenance:
|
|
71
71
|
|
|
72
72
|
- `provider_request`
|
|
73
|
+
- `provider_native_raw_payload`
|
|
74
|
+
- `provider_stream_raw_delta`
|
|
75
|
+
- `provider_response_raw`
|
|
73
76
|
- `provider_response_normalized`
|
|
74
77
|
- `assistant_message_committed`
|
|
75
78
|
- `tool_batch_started`
|
|
76
79
|
- `tool_execution_request`
|
|
77
80
|
- `tool_execution_result`
|
|
81
|
+
- `tool_message_committed`
|
|
82
|
+
- `history_mutation`
|
|
78
83
|
|
|
79
|
-
|
|
84
|
+
Provider-specific SDK payload capture remains provider-owned. Providers may call `IChatOptions.onProviderNativeRawPayload` with exact SDK request, response, or stream event objects; `Robota` forwards those callbacks as provider-neutral `provider_native_raw_payload` execution events without importing concrete provider SDK types. `provider_response_raw.responseKind` remains `provider-normalized-message`, which keeps common replay validation provider-neutral.
|
|
80
85
|
|
|
81
86
|
## IAgentConfig
|
|
82
87
|
|
|
@@ -107,16 +112,17 @@ agent-cli ← Terminal UI
|
|
|
107
112
|
|
|
108
113
|
## Public API Surface
|
|
109
114
|
|
|
110
|
-
| Category | Exports
|
|
111
|
-
| --------------- |
|
|
112
|
-
| **Core** | `Robota`, `ConversationStore`, `AbstractAgent`, `AbstractAIProvider` (+ `streamWithAbort`), `AbstractPlugin`, `AbstractTool`, `AbstractExecutor`, `LocalExecutor`, `getProviderCapabilities`, `assertProviderNativeWebToolsAvailable`
|
|
113
|
-
| **Permissions** | `evaluatePermission`, `MODE_POLICY`, `TRUST_TO_MODE`, `UNKNOWN_TOOL_FALLBACK`, `TPermissionMode`, `TTrustLevel`, `TPermissionDecision`, `TToolArgs`, `IPermissionLists`, `TKnownToolName`
|
|
114
|
-
| **Hooks** | `runHooks`, `CommandExecutor`, `HttpExecutor`, `IHookTypeExecutor`, `THookEvent`, `THooksConfig`, `IHookGroup`, `IHookDefinition`, `IHookInput`, `IHookResult`
|
|
115
|
-
| **Events** | `EventEmitterPlugin`, `IEventService`, `IOwnerPathSegment`
|
|
116
|
-
| **Models** | `CLAUDE_MODELS`, `DEFAULT_CONTEXT_WINDOW`, `DEFAULT_MAX_OUTPUT`, `getModelContextWindow()`, `getModelMaxOutput()`, `getModelName()`, `formatTokenCount()`, `IModelDefinition`
|
|
117
|
-
| **
|
|
118
|
-
| **
|
|
119
|
-
| **
|
|
115
|
+
| Category | Exports |
|
|
116
|
+
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
117
|
+
| **Core** | `Robota`, `ConversationStore`, `AbstractAgent`, `AbstractAIProvider` (+ `streamWithAbort`), `AbstractPlugin`, `AbstractTool`, `AbstractExecutor`, `LocalExecutor`, `getProviderCapabilities`, `assertProviderNativeWebToolsAvailable` |
|
|
118
|
+
| **Permissions** | `evaluatePermission`, `MODE_POLICY`, `TRUST_TO_MODE`, `UNKNOWN_TOOL_FALLBACK`, `TPermissionMode`, `TTrustLevel`, `TPermissionDecision`, `TToolArgs`, `IPermissionLists`, `TKnownToolName` |
|
|
119
|
+
| **Hooks** | `runHooks`, `CommandExecutor`, `HttpExecutor`, `IHookTypeExecutor`, `THookEvent`, `THooksConfig`, `IHookGroup`, `IHookDefinition`, `IHookInput`, `IHookResult` |
|
|
120
|
+
| **Events** | `EventEmitterPlugin`, `IEventService`, `IOwnerPathSegment` |
|
|
121
|
+
| **Models** | `CLAUDE_MODELS`, `DEFAULT_CONTEXT_WINDOW`, `DEFAULT_MAX_OUTPUT`, `getModelContextWindow()`, `getModelMaxOutput()`, `getModelName()`, `formatTokenCount()`, `IModelDefinition` |
|
|
122
|
+
| **Context** | `estimateContextTokensFromMessages()`, `estimateSerializedContextTokens()`, `readTokenUsageFromMessage()`, `IContextTokenEstimate`, `IMessageTokenUsage`, `IContextWindowState`, `IContextTokenUsage` |
|
|
123
|
+
| **Types** | `TUniversalMessage`, `IBaseMessage` (`id`, `state`), `TMessageState`, `IAgentConfig`, `IAIProvider`, `IProviderCapabilities`, `IProviderNativeWebToolRequest`, `IToolSchema`, `TTextDeltaCallback` |
|
|
124
|
+
| **Errors** | `RobotaError`, `ProviderError`, `RateLimitError`, `AuthenticationError`, `ToolExecutionError`, etc. |
|
|
125
|
+
| **Managers** | `AgentFactory`, `AgentTemplates`, `ConversationHistory`, `EventHistoryModule` |
|
|
120
126
|
|
|
121
127
|
## What Moved Out in v3
|
|
122
128
|
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -367,6 +367,17 @@ interface IProviderSpecificOptions {
|
|
|
367
367
|
* Called for each text chunk as the model generates output.
|
|
368
368
|
*/
|
|
369
369
|
type TTextDeltaCallback = (delta: string) => void;
|
|
370
|
+
type TProviderNativeRawPayloadKind = 'request' | 'response' | 'stream_event';
|
|
371
|
+
type TProviderNativeRawPayload = string | number | boolean | object | null | undefined;
|
|
372
|
+
interface IProviderNativeRawPayloadEvent {
|
|
373
|
+
provider: string;
|
|
374
|
+
apiSurface?: string;
|
|
375
|
+
payloadKind: TProviderNativeRawPayloadKind;
|
|
376
|
+
payload: TProviderNativeRawPayload;
|
|
377
|
+
sequence?: number;
|
|
378
|
+
metadata?: Record<string, TProviderConfigValue>;
|
|
379
|
+
}
|
|
380
|
+
type TProviderNativeRawPayloadCallback = (event: IProviderNativeRawPayloadEvent) => void;
|
|
370
381
|
/**
|
|
371
382
|
* Options for AI provider chat requests
|
|
372
383
|
*/
|
|
@@ -383,6 +394,8 @@ interface IChatOptions extends IProviderSpecificOptions {
|
|
|
383
394
|
* should use streaming internally and call this for each text chunk,
|
|
384
395
|
* while still returning the complete assembled message. */
|
|
385
396
|
onTextDelta?: TTextDeltaCallback;
|
|
397
|
+
/** Callback for provider-owned native SDK request/response/stream payload capture. */
|
|
398
|
+
onProviderNativeRawPayload?: TProviderNativeRawPayloadCallback;
|
|
386
399
|
/** AbortSignal for cancelling the provider call */
|
|
387
400
|
signal?: AbortSignal;
|
|
388
401
|
/** Provider-native hosted web tools requested for this call */
|
|
@@ -1756,7 +1769,43 @@ interface IProviderProbeResult {
|
|
|
1756
1769
|
message: string;
|
|
1757
1770
|
models?: string[];
|
|
1758
1771
|
}
|
|
1759
|
-
type
|
|
1772
|
+
type TProviderCredentialField = 'apiKey';
|
|
1773
|
+
type TProviderSetupField = 'baseURL' | 'model' | TProviderCredentialField;
|
|
1774
|
+
type TProviderSetupHelpLinkKind = 'api-key' | 'console' | 'official';
|
|
1775
|
+
interface IProviderCredentialRequirement {
|
|
1776
|
+
anyOf: readonly TProviderCredentialField[];
|
|
1777
|
+
}
|
|
1778
|
+
interface IProviderSetupHelpLink {
|
|
1779
|
+
kind: TProviderSetupHelpLinkKind;
|
|
1780
|
+
label: string;
|
|
1781
|
+
url: string;
|
|
1782
|
+
sourceUrl?: string;
|
|
1783
|
+
lastVerifiedAt?: string;
|
|
1784
|
+
}
|
|
1785
|
+
type TProviderModelCatalogStatus = 'live' | 'generated' | 'fallback' | 'unavailable';
|
|
1786
|
+
type TProviderModelLifecycle = 'active' | 'preview' | 'deprecated' | 'unavailable';
|
|
1787
|
+
type TProviderModelCapability = 'tools' | 'vision' | 'json_schema' | 'reasoning' | 'native_web' | 'streaming';
|
|
1788
|
+
interface IProviderModelCatalogEntry {
|
|
1789
|
+
id: string;
|
|
1790
|
+
displayName: string;
|
|
1791
|
+
aliases?: readonly string[];
|
|
1792
|
+
contextWindow?: number;
|
|
1793
|
+
capabilities?: readonly TProviderModelCapability[];
|
|
1794
|
+
lifecycle?: TProviderModelLifecycle;
|
|
1795
|
+
lastVerifiedAt?: string;
|
|
1796
|
+
sourceUrl?: string;
|
|
1797
|
+
}
|
|
1798
|
+
interface IProviderModelCatalog {
|
|
1799
|
+
status: TProviderModelCatalogStatus;
|
|
1800
|
+
entries?: readonly IProviderModelCatalogEntry[];
|
|
1801
|
+
lastVerifiedAt?: string;
|
|
1802
|
+
sourceUrl?: string;
|
|
1803
|
+
message?: string;
|
|
1804
|
+
}
|
|
1805
|
+
interface IProviderModelCatalogRefreshOptions {
|
|
1806
|
+
profile: IProviderProfileConfig;
|
|
1807
|
+
}
|
|
1808
|
+
type TProviderModelCatalogRefresh = (options: IProviderModelCatalogRefreshOptions) => Promise<IProviderModelCatalog>;
|
|
1760
1809
|
interface IProviderSetupStepDefinition {
|
|
1761
1810
|
key: TProviderSetupField;
|
|
1762
1811
|
title: string;
|
|
@@ -1770,13 +1819,18 @@ interface IProviderDefinition {
|
|
|
1770
1819
|
displayName?: string;
|
|
1771
1820
|
description?: string;
|
|
1772
1821
|
defaults?: IProviderProfileDefaults;
|
|
1822
|
+
modelCatalog?: IProviderModelCatalog;
|
|
1823
|
+
refreshModelCatalog?: TProviderModelCatalogRefresh;
|
|
1824
|
+
setupHelpLinks?: readonly IProviderSetupHelpLink[];
|
|
1773
1825
|
setupSteps?: readonly IProviderSetupStepDefinition[];
|
|
1826
|
+
credentialRequirement?: IProviderCredentialRequirement;
|
|
1774
1827
|
requiresApiKey?: boolean;
|
|
1775
1828
|
createProvider: (config: IProviderConfig$1) => IAIProvider;
|
|
1776
1829
|
probeProfile?: (profile: IProviderProfileConfig) => Promise<IProviderProbeResult>;
|
|
1777
1830
|
}
|
|
1778
1831
|
declare function findProviderDefinition(definitions: readonly IProviderDefinition[], type: string): IProviderDefinition | undefined;
|
|
1779
1832
|
declare function formatSupportedProviderTypes(definitions: readonly IProviderDefinition[]): string;
|
|
1833
|
+
declare function getProviderCredentialRequirement(definition: IProviderDefinition | undefined): IProviderCredentialRequirement | undefined;
|
|
1780
1834
|
|
|
1781
1835
|
/**
|
|
1782
1836
|
* Provider-agnostic media output reference.
|
|
@@ -4400,6 +4454,28 @@ interface IContextWindowState {
|
|
|
4400
4454
|
remainingPercentage: number;
|
|
4401
4455
|
}
|
|
4402
4456
|
|
|
4457
|
+
declare const CONTEXT_ESTIMATE_CHARS_PER_TOKEN = 4;
|
|
4458
|
+
interface IContextTokenEstimateOptions {
|
|
4459
|
+
readonly usageFloorTokens?: number;
|
|
4460
|
+
}
|
|
4461
|
+
interface IContextTokenEstimate {
|
|
4462
|
+
readonly usedTokens: number;
|
|
4463
|
+
readonly serializedTokens: number;
|
|
4464
|
+
readonly providerTokens?: number;
|
|
4465
|
+
readonly usageFloorTokens?: number;
|
|
4466
|
+
}
|
|
4467
|
+
declare function estimateSerializedContextTokens(messages: readonly TUniversalMessage[]): number;
|
|
4468
|
+
declare function estimateContextTokensFromMessages(messages: readonly TUniversalMessage[], options?: IContextTokenEstimateOptions): IContextTokenEstimate;
|
|
4469
|
+
|
|
4470
|
+
interface IMessageTokenUsage {
|
|
4471
|
+
readonly inputTokens: number;
|
|
4472
|
+
readonly outputTokens: number;
|
|
4473
|
+
readonly totalTokens?: number;
|
|
4474
|
+
}
|
|
4475
|
+
/** Read normalized provider usage from a universal message when present. */
|
|
4476
|
+
declare function readTokenUsageFromMessage(message: TUniversalMessage): IMessageTokenUsage | undefined;
|
|
4477
|
+
declare function readTokenUsageFromMetadata(metadata: TUniversalMessageMetadata | undefined): IMessageTokenUsage | undefined;
|
|
4478
|
+
|
|
4403
4479
|
/**
|
|
4404
4480
|
* Claude model definitions — SSOT for model metadata.
|
|
4405
4481
|
* Source: https://platform.claude.com/docs/en/about-claude/models/overview
|
|
@@ -4557,4 +4633,4 @@ interface IRunHooksResult {
|
|
|
4557
4633
|
}
|
|
4558
4634
|
declare function runHooks(config: THooksConfig | undefined, event: THookEvent, input: IHookInput, executors?: IHookTypeExecutor[]): Promise<IRunHooksResult>;
|
|
4559
4635
|
|
|
4560
|
-
export { AGENT_EVENTS, AGENT_EVENT_PREFIX, AbstractAIProvider, AbstractAgent, AbstractEventService, AbstractExecutor, AbstractManager, AbstractPlugin, AbstractTool, AgentFactory, AgentTemplates, AuthenticationError, CLAUDE_MODELS, CacheIntegrityError, CircuitBreakerOpenError, ConfigurationError, ConsoleLogger, ConversationHistory, ConversationStore, DEFAULT_ABSTRACT_EVENT_SERVICE, DEFAULT_CONTEXT_WINDOW, DEFAULT_MAX_OUTPUT, DefaultEventService, EVENT_EMITTER_EVENTS, EXECUTION_EVENTS, EXECUTION_EVENT_PREFIX, ErrorUtils, EventEmitterPlugin, EventHistoryModule, ExecutionProxy, type IAIProvider, type IAIProviderInstance, type IAIProviderManager, type IAbstractTool, type IAbstractToolOptions, type IAgent, type IAgentConfig, type IAgentCreationOptions, type IAgentCreationStats, type IAgentEventData, type IAgentFactory, type IAgentFactoryOptions, type IAgentHookDefinition, type IAgentLifecycleEvents, type IAgentTemplate, type IAssistantMessage, type IAssistantUsageMetadata, type IBaseEventData, type IBaseMessage, type ICacheEntry, type ICacheKey, type ICacheOptions, type ICacheStats, type ICacheStorage, type IChatExecutionRequest, type IChatOptions, type ICommandHookDefinition, type IConfigValidationResult, type IContextOptions, type IContextTokenUsage, type IContextWindowState, type IConversationContext, type IConversationResponse, type IConversationService, type IConversationServiceOptions, type IEventContext, type IEventEmitterEventData, type IEventEmitterHierarchicalEventData, type IEventEmitterMetrics, type IEventEmitterMetricsSnapshot, type IEventEmitterPlugin, type IEventEmitterPluginOptions, type IEventHistoryModule, type IEventHistoryRecord, type IEventHistorySnapshot, type IEventObjectValue, type IEventService, type IEventServiceOwnerBinding, type IExecutionEventData, type IExecutionService, type IExecutionServiceOptions, type IExecutor, type IExecutorAwareProviderConfig, type IFunctionTool, type IHistoryEntry, type IHookDefinition, type IHookGroup, type IHookInput, type IHookResult, type IHookTypeExecutor, type IHttpHookDefinition, type IImageComposeRequest, type IImageEditRequest, type IImageGenerationProvider, type IImageGenerationRequest, type IImageGenerationResult, type IInlineImageInputSource, type IInlineImageMessagePart, type ILocalExecutorConfig, type ILogger, type IMCPToolConfig, type IMediaOutputRef, type IModelDefinition, type IOpenAPIToolConfig, type IOwnerPathSegment, type IParameterSchema, type IParameterValidationResult, type IPermissionLists, type IPlugin, type IPluginConfig, type IPluginContext, type IPluginContract, type IPluginData, type IPluginErrorContext, type IPluginExecutionContext, type IPluginExecutionResult, type IPluginHooks, type IPluginOptions, type IPluginStats, type IProgressReportingTool, type IPromptHookDefinition, type IProviderCapabilities, type IProviderConfig$1 as IProviderConfig, type IProviderDefinition, type IProviderFunctionCallingCapability, type IProviderMediaError, type IProviderNativeWebToolCapabilities, type IProviderNativeWebToolCapability, type IProviderNativeWebToolRequest, type IProviderOptions, type IProviderProbeResult, type IProviderProfileConfig, type IProviderProfileDefaults, type IProviderRequest, type IProviderSetupStepDefinition, type IProviderSpecificOptions, type IRawProviderResponse, type IRemoteExecutorConfig, type IRunOptions, type ISimpleValidationResult, type IStreamExecutionRequest, type IStreamingChunk, type ISystemMessage, type ITemplateApplicationResult, type ITextMessagePart, type ITokenUsage, type ITool, type IToolCall, type IToolContract, type IToolEventData, type IToolExecutionContext, type IToolExecutionRequest, type IToolExecutionResult, type IToolExecutionService, type IToolExecutionStep, type IToolFactory, type IToolManager, type IToolMessage, type IToolRegistry, type IToolResult, type IToolSchema, type IToolWithEventService, type IUniversalObjectValue, type IUriImageInputSource, type IUriImageMessagePart, type IUserMessage, type IUtilLogEntry, type IValidationIssue, type IValidationOptions, type IValidationResult, type IVideoGenerationProvider, type IVideoGenerationRequest, type IVideoJobAccepted, type IVideoJobSnapshot, type IWorkflowConfig, type IWorkflowConversionOptions, type IWorkflowConversionResult, type IWorkflowConverter, type IWorkflowData, type IWorkflowMetadata, type IWorkflowValidator, InMemoryEventEmitterMetrics, LocalExecutor, MODE_POLICY, MessageConverter, ModelNotAvailableError, NetworkError, ObservableEventService, PluginCategory, PluginError, PluginPriority, ProviderError, RateLimitError, Robota, RobotaError, SilentLogger, StorageError, StructuredEventService, TASK_EVENTS, TASK_EVENT_PREFIX, type TAgentCreationMetadata, type TComplexConfigValue, type TConfigData, type TConfigValue, type TContextData, type TConversationContextMetadata, type TErrorContextData, type TErrorExternalInput, type TEventEmitterListener, type TEventExtensionValue, type TEventListener, type TEventLoggerData, type TEventName, type TEventUniversalValue, type TExecutionEventName, type TExecutionMetadata, type THookEvent, type THooksConfig, type TImageInputSource, type TJSONSchemaEnum, type TJSONSchemaKind, type TKnownToolName, type TLoggerData, type TManagerToolParameters, type TMessageConverterRegistry, type TMessageFormatConverter, type TMessageState, type TMetadata, type TMetadataValue, TOOL_EVENTS, TOOL_EVENT_PREFIX, type TParameterDefaultValue, type TPermissionDecision, type TPermissionMode, type TPrimitiveValue, type TProviderConfigValue, type TProviderLoggingData, type TProviderMediaResult, type TProviderMessage, type TProviderOptionValueBase, type TProviderSetupField, TRUST_TO_MODE, type TResponseMetadata, type TSessionEndReason, type TTextDeltaCallback, type TTimerId, type TToolArgs, type TToolExecutionFunction, type TToolExecutionParameters, type TToolExecutor, type TToolMetadata, type TToolParameters, type TToolProgressCallback, type TTrustLevel, type TUniversalArrayValue, type TUniversalMessage, type TUniversalMessageMetadata, type TUniversalMessagePart, type TUniversalMessageRole, type TUniversalValue, type TUserEvent, type TUtilLogLevel, ToolExecutionError, TypeUtils, UNKNOWN_TOOL_FALLBACK, USER_EVENTS, USER_EVENT_PREFIX, ValidationError, ValidationSeverity, Validator, assertProviderNativeWebToolsAvailable, bindEventServiceOwner, bindWithOwnerPath, chatEntryToMessage, collectAssistantUsageMetadata, composeEventName, createAssistantMessage, createDefaultProviderCapabilities, createExecutionProxy, createLogger, createSystemMessage, createToolMessage, createUserMessage, evaluatePermission, findProviderDefinition, formatSupportedProviderTypes, formatTokenCount, getGlobalLogLevel, getMessagesForAPI, getModelContextWindow, getModelMaxOutput, getModelName, getProviderCapabilities, getToolEstimatedDuration, getToolExecutionSteps, isAssistantMessage, isChatEntry, isDefaultEventService, isImageGenerationProvider, isProgressReportingTool, isSystemMessage, isToolMessage, isUserMessage, isVideoGenerationProvider, logger, messageToHistoryEntry, runHooks, setGlobalLogLevel, setToolProgressCallback, startPeriodicTask, stopPeriodicTask, validateAgentConfig, validateApiKey, validateModelName, validateProviderName, validateUserInput, withEventEmission };
|
|
4636
|
+
export { AGENT_EVENTS, AGENT_EVENT_PREFIX, AbstractAIProvider, AbstractAgent, AbstractEventService, AbstractExecutor, AbstractManager, AbstractPlugin, AbstractTool, AgentFactory, AgentTemplates, AuthenticationError, CLAUDE_MODELS, CONTEXT_ESTIMATE_CHARS_PER_TOKEN, CacheIntegrityError, CircuitBreakerOpenError, ConfigurationError, ConsoleLogger, ConversationHistory, ConversationStore, DEFAULT_ABSTRACT_EVENT_SERVICE, DEFAULT_CONTEXT_WINDOW, DEFAULT_MAX_OUTPUT, DefaultEventService, EVENT_EMITTER_EVENTS, EXECUTION_EVENTS, EXECUTION_EVENT_PREFIX, ErrorUtils, EventEmitterPlugin, EventHistoryModule, ExecutionProxy, type IAIProvider, type IAIProviderInstance, type IAIProviderManager, type IAbstractTool, type IAbstractToolOptions, type IAgent, type IAgentConfig, type IAgentCreationOptions, type IAgentCreationStats, type IAgentEventData, type IAgentFactory, type IAgentFactoryOptions, type IAgentHookDefinition, type IAgentLifecycleEvents, type IAgentTemplate, type IAssistantMessage, type IAssistantUsageMetadata, type IBaseEventData, type IBaseMessage, type ICacheEntry, type ICacheKey, type ICacheOptions, type ICacheStats, type ICacheStorage, type IChatExecutionRequest, type IChatOptions, type ICommandHookDefinition, type IConfigValidationResult, type IContextOptions, type IContextTokenEstimate, type IContextTokenEstimateOptions, type IContextTokenUsage, type IContextWindowState, type IConversationContext, type IConversationResponse, type IConversationService, type IConversationServiceOptions, type IEventContext, type IEventEmitterEventData, type IEventEmitterHierarchicalEventData, type IEventEmitterMetrics, type IEventEmitterMetricsSnapshot, type IEventEmitterPlugin, type IEventEmitterPluginOptions, type IEventHistoryModule, type IEventHistoryRecord, type IEventHistorySnapshot, type IEventObjectValue, type IEventService, type IEventServiceOwnerBinding, type IExecutionEventData, type IExecutionService, type IExecutionServiceOptions, type IExecutor, type IExecutorAwareProviderConfig, type IFunctionTool, type IHistoryEntry, type IHookDefinition, type IHookGroup, type IHookInput, type IHookResult, type IHookTypeExecutor, type IHttpHookDefinition, type IImageComposeRequest, type IImageEditRequest, type IImageGenerationProvider, type IImageGenerationRequest, type IImageGenerationResult, type IInlineImageInputSource, type IInlineImageMessagePart, type ILocalExecutorConfig, type ILogger, type IMCPToolConfig, type IMediaOutputRef, type IMessageTokenUsage, type IModelDefinition, type IOpenAPIToolConfig, type IOwnerPathSegment, type IParameterSchema, type IParameterValidationResult, type IPermissionLists, type IPlugin, type IPluginConfig, type IPluginContext, type IPluginContract, type IPluginData, type IPluginErrorContext, type IPluginExecutionContext, type IPluginExecutionResult, type IPluginHooks, type IPluginOptions, type IPluginStats, type IProgressReportingTool, type IPromptHookDefinition, type IProviderCapabilities, type IProviderConfig$1 as IProviderConfig, type IProviderCredentialRequirement, type IProviderDefinition, type IProviderFunctionCallingCapability, type IProviderMediaError, type IProviderModelCatalog, type IProviderModelCatalogEntry, type IProviderModelCatalogRefreshOptions, type IProviderNativeRawPayloadEvent, type IProviderNativeWebToolCapabilities, type IProviderNativeWebToolCapability, type IProviderNativeWebToolRequest, type IProviderOptions, type IProviderProbeResult, type IProviderProfileConfig, type IProviderProfileDefaults, type IProviderRequest, type IProviderSetupHelpLink, type IProviderSetupStepDefinition, type IProviderSpecificOptions, type IRawProviderResponse, type IRemoteExecutorConfig, type IRunOptions, type ISimpleValidationResult, type IStreamExecutionRequest, type IStreamingChunk, type ISystemMessage, type ITemplateApplicationResult, type ITextMessagePart, type ITokenUsage, type ITool, type IToolCall, type IToolContract, type IToolEventData, type IToolExecutionContext, type IToolExecutionRequest, type IToolExecutionResult, type IToolExecutionService, type IToolExecutionStep, type IToolFactory, type IToolManager, type IToolMessage, type IToolRegistry, type IToolResult, type IToolSchema, type IToolWithEventService, type IUniversalObjectValue, type IUriImageInputSource, type IUriImageMessagePart, type IUserMessage, type IUtilLogEntry, type IValidationIssue, type IValidationOptions, type IValidationResult, type IVideoGenerationProvider, type IVideoGenerationRequest, type IVideoJobAccepted, type IVideoJobSnapshot, type IWorkflowConfig, type IWorkflowConversionOptions, type IWorkflowConversionResult, type IWorkflowConverter, type IWorkflowData, type IWorkflowMetadata, type IWorkflowValidator, InMemoryEventEmitterMetrics, LocalExecutor, MODE_POLICY, MessageConverter, ModelNotAvailableError, NetworkError, ObservableEventService, PluginCategory, PluginError, PluginPriority, ProviderError, RateLimitError, Robota, RobotaError, SilentLogger, StorageError, StructuredEventService, TASK_EVENTS, TASK_EVENT_PREFIX, type TAgentCreationMetadata, type TComplexConfigValue, type TConfigData, type TConfigValue, type TContextData, type TConversationContextMetadata, type TErrorContextData, type TErrorExternalInput, type TEventEmitterListener, type TEventExtensionValue, type TEventListener, type TEventLoggerData, type TEventName, type TEventUniversalValue, type TExecutionEventCallback, type TExecutionEventData, type TExecutionEventName, type TExecutionMetadata, type THookEvent, type THooksConfig, type TImageInputSource, type TJSONSchemaEnum, type TJSONSchemaKind, type TKnownToolName, type TLoggerData, type TManagerToolParameters, type TMessageConverterRegistry, type TMessageFormatConverter, type TMessageState, type TMetadata, type TMetadataValue, TOOL_EVENTS, TOOL_EVENT_PREFIX, type TParameterDefaultValue, type TPermissionDecision, type TPermissionMode, type TPrimitiveValue, type TProviderConfigValue, type TProviderCredentialField, type TProviderLoggingData, type TProviderMediaResult, type TProviderMessage, type TProviderModelCapability, type TProviderModelCatalogRefresh, type TProviderModelCatalogStatus, type TProviderModelLifecycle, type TProviderNativeRawPayload, type TProviderNativeRawPayloadCallback, type TProviderNativeRawPayloadKind, type TProviderOptionValueBase, type TProviderSetupField, type TProviderSetupHelpLinkKind, TRUST_TO_MODE, type TResponseMetadata, type TSessionEndReason, type TTextDeltaCallback, type TTimerId, type TToolArgs, type TToolExecutionFunction, type TToolExecutionParameters, type TToolExecutor, type TToolMetadata, type TToolParameters, type TToolProgressCallback, type TTrustLevel, type TUniversalArrayValue, type TUniversalMessage, type TUniversalMessageMetadata, type TUniversalMessagePart, type TUniversalMessageRole, type TUniversalValue, type TUserEvent, type TUtilLogLevel, ToolExecutionError, TypeUtils, UNKNOWN_TOOL_FALLBACK, USER_EVENTS, USER_EVENT_PREFIX, ValidationError, ValidationSeverity, Validator, assertProviderNativeWebToolsAvailable, bindEventServiceOwner, bindWithOwnerPath, chatEntryToMessage, collectAssistantUsageMetadata, composeEventName, createAssistantMessage, createDefaultProviderCapabilities, createExecutionProxy, createLogger, createSystemMessage, createToolMessage, createUserMessage, estimateContextTokensFromMessages, estimateSerializedContextTokens, evaluatePermission, findProviderDefinition, formatSupportedProviderTypes, formatTokenCount, getGlobalLogLevel, getMessagesForAPI, getModelContextWindow, getModelMaxOutput, getModelName, getProviderCapabilities, getProviderCredentialRequirement, getToolEstimatedDuration, getToolExecutionSteps, isAssistantMessage, isChatEntry, isDefaultEventService, isImageGenerationProvider, isProgressReportingTool, isSystemMessage, isToolMessage, isUserMessage, isVideoGenerationProvider, logger, messageToHistoryEntry, readTokenUsageFromMessage, readTokenUsageFromMetadata, runHooks, setGlobalLogLevel, setToolProgressCallback, startPeriodicTask, stopPeriodicTask, validateAgentConfig, validateApiKey, validateModelName, validateProviderName, validateUserInput, withEventEmission };
|