@easbot/llm 0.3.40 → 0.3.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -2039,6 +2039,18 @@ declare namespace ProviderTransform {
2039
2039
  function schema(model: Provider.Model, schema: JSONSchema.BaseSchema | JSONSchema7): JSONSchema7;
2040
2040
  }
2041
2041
 
2042
+ type CoercionTarget = 'number' | 'boolean';
2043
+ interface SchemaCoercion {
2044
+ path: string[];
2045
+ target: CoercionTarget;
2046
+ }
2047
+ interface AdaptedToolSchema {
2048
+ schema: JSONSchema7;
2049
+ coercions: SchemaCoercion[];
2050
+ }
2051
+ declare function adaptToolSchema(model: Provider.Model, raw: JSONSchema7 | Record<string, unknown>): AdaptedToolSchema;
2052
+ declare function adaptTools(model: Provider.Model, tools: Record<string, Tool$1>): Record<string, Tool$1>;
2053
+
2042
2054
  declare const DEFAULT_ENABLED_PROVIDERS: readonly string[];
2043
2055
  declare const CUSTOM_PROVIDER_DEFINITIONS: Record<string, ModelsDev.Provider>;
2044
2056
  declare const PROVIDER_DISPLAY_NAMES: Record<string, string>;
@@ -8971,6 +8983,108 @@ declare namespace StreamProcessor {
8971
8983
  function init(): Promise<void>;
8972
8984
  }
8973
8985
 
8986
+ declare namespace Loop {
8987
+ interface Input {
8988
+ model: ModelInput;
8989
+ agent: LanguageProvider.AgentLike;
8990
+ sessionId: string;
8991
+ user: LanguageUserMessage;
8992
+ system?: string[];
8993
+ messages?: ModelMessage[];
8994
+ tools?: Record<string, Tool$1>;
8995
+ activeTools?: string[];
8996
+ maxSteps?: number;
8997
+ abort?: AbortSignal;
8998
+ temperature?: number;
8999
+ maxOutputTokens?: number;
9000
+ stopSequences?: string[];
9001
+ timeout?: number | {
9002
+ totalMs?: number;
9003
+ stepMs?: number;
9004
+ chunkMs?: number;
9005
+ };
9006
+ onStep?: (info: StepInfo) => void | Promise<void>;
9007
+ }
9008
+ interface StepInfo {
9009
+ step: number;
9010
+ text: string;
9011
+ toolCalls: ToolCall[];
9012
+ finishReason: string | undefined;
9013
+ }
9014
+ interface ToolCall {
9015
+ toolCallId: string;
9016
+ toolName: string;
9017
+ input: unknown;
9018
+ output?: unknown;
9019
+ }
9020
+ interface Result {
9021
+ text: string;
9022
+ messages: ModelMessage[];
9023
+ toolCalls: ToolCall[];
9024
+ usage: LanguageModelUsage;
9025
+ cost?: number;
9026
+ finishReason: string | undefined;
9027
+ steps: number;
9028
+ }
9029
+ function run(input: Input): Promise<Result>;
9030
+ }
9031
+
9032
+ declare const DEFAULT_MAX_STEPS = 50;
9033
+ declare namespace AgentLoop {
9034
+ interface RoundContext {
9035
+ step: number;
9036
+ messages: ModelMessage[];
9037
+ verdict?: StreamProcessor.Result;
9038
+ message?: Message.Assistant;
9039
+ parts?: Message.Part[];
9040
+ cost: number;
9041
+ }
9042
+ interface RoundInput {
9043
+ system?: string[];
9044
+ messages?: ModelMessage[];
9045
+ tools?: Record<string, Tool$1>;
9046
+ temperature?: number;
9047
+ activeTools?: string[];
9048
+ maxOutputTokens?: number;
9049
+ }
9050
+ interface RoundRecord {
9051
+ step: number;
9052
+ verdict: StreamProcessor.Result;
9053
+ message: Message.Assistant;
9054
+ parts: Message.Part[];
9055
+ cost: number;
9056
+ }
9057
+ interface Input {
9058
+ model: Provider.Model;
9059
+ agent: string;
9060
+ sessionId: string;
9061
+ userMessageId: string;
9062
+ user: LanguageUserMessage;
9063
+ abort: AbortSignal;
9064
+ messages?: ModelMessage[];
9065
+ system?: string[];
9066
+ tools?: Record<string, Tool$1>;
9067
+ variant?: string;
9068
+ mode?: ContextMode;
9069
+ cwd?: string;
9070
+ root?: string;
9071
+ maxSteps?: number;
9072
+ onEvent?: (event: StreamProcessor.ProcessorEvent) => void | Promise<void>;
9073
+ onRoundFinish?: (ctx: RoundContext) => void | Promise<void>;
9074
+ buildRound?: (ctx: RoundContext) => RoundInput | Promise<RoundInput>;
9075
+ onCompact?: (ctx: RoundContext) => boolean | Promise<boolean>;
9076
+ shouldContinue?: (ctx: RoundContext) => boolean | Promise<boolean>;
9077
+ }
9078
+ interface Result {
9079
+ result: 'stop' | 'continue' | 'compact' | 'max_steps' | 'aborted';
9080
+ steps: number;
9081
+ messages: ModelMessage[];
9082
+ rounds: RoundRecord[];
9083
+ cost: number;
9084
+ }
9085
+ function run(input: Input): Promise<Result>;
9086
+ }
9087
+
8974
9088
  declare enum SdkEventType {
8975
9089
  SDK_SESSION_STATUS = "agent.status",
8976
9090
  SDK_ERROR = "sdk.error",
@@ -9806,6 +9920,7 @@ declare namespace Tool {
9806
9920
  };
9807
9921
  interface Info<Parameters extends z.ZodType = z.ZodType, M extends Metadata = Metadata> {
9808
9922
  id: string;
9923
+ description?: string;
9809
9924
  scope?: Scope;
9810
9925
  isEnabled?: EnabledCheck;
9811
9926
  source?: 'builtin' | 'custom' | 'plugin' | 'mcp';
@@ -10485,4 +10600,4 @@ interface SyncMetaCompatibleDB {
10485
10600
  type MetaEntry = readonly [key: string, value: string];
10486
10601
  declare function syncMeta(db: SyncMetaCompatibleDB, entries: ReadonlyArray<MetaEntry>): void;
10487
10602
 
10488
- export { type AdapterRegistry, Agent, type AgentClientFilterConfig, type AgentMessage, type StateResult as AgentStateResult, type AnyModelInput, BUILTIN_AGENTS, type BuildPromptOptions, CUSTOM_PROVIDER_DEFINITIONS, type CompletenessResult, Config, type ConsistencyResult, type ContentQualityResult, type ContextRelevancyResult, type CorrectnessResult, DEBUG_AGENT_FILTER, DEFAULT_AGENT_FILTER, DEFAULT_ENABLED_PROVIDERS, DEFAULT_REMOTE_TIMEOUT, EmbeddingProvider, type EvaluationBase, type EvaluationInput, EvaluationProvider, type EvaluationResult, type EvaluationType, type ExtractedEntity, type ExtractedRelation, type ExtractionResult, type FactCheckingResult, type FaithfulnessResult, Flag, type GoalCompletionResult, type GraphEntityTypeDef, GraphProvider, type GraphRelationTypeDef, type IConfigProvider, type IGlobalPathProvider, type IInstallationProvider, type IInstanceProvider, type ILLM, type ILLMCapabilities, type ILLMInitConfig, type ILLMModels, LLMConfig, LLMConfig as LLMConfigType, LanguageProvider, type LanguageUserMessage, LocalAgent, type LocalAgentConfig, LocalAgentError, Message, type MetaEntry, type ModelEntity, type ModelIdentifier, type ModelInput, type ModelInputLike, type ModelKind, ModelManager, ModelsDev, type ModerationCategory, type ModerationResult, type OpenaiCompatibleProvider, type OpenaiCompatibleProviderSettings, PROVIDER_DISPLAY_NAMES, type PartData, type ProbeEmbeddingOptions, ProcessorSdkBridge, type ProcessorSdkBridgeOptions, Provider, ProviderAuth, ProviderAuthMethod, ProviderAuthMethod as ProviderAuthMethodType, ProviderConfig, ProviderConfig as ProviderConfigType, ProviderError, ProviderTransform, type ReadabilityResult, type RelevancyResult, RemoteAgent, type RemoteAgentConfig, RemoteAgentError, RemoteAgentHandler, type RemoteAgentHandlerConfig, type RemoteInteractionResult, RerankProvider, type ScoredEvaluation, SdkEventBridge, SdkEventBus, SdkEventType, SdkMessageCollector, type SdkSessionStatusProps, type SessionEvent, StreamProcessor, SubAgent, SubAgentError, type SubAgentRegistryConfig, type SubAgentRunInput, SummaryProvider, Tool, ToolRegistry, Truncate, buildEntityExtractionPrompt, createOpenaiCompatible, deriveModelIdentifier, extractEntitiesByRules, getAdapterRegistry, getGlobal, getIConfigProvider, getIGlobalPathProvider, getIInstallationProvider, getIInstanceProvider, hasAdapterRegistry, inferEntityType, isModelEntity, normalizeExtractionResult, openaiCompatible, parseEntityExtractionResult, probeEmbeddingDims, readEnvString, readFlagBool, readFlagNumber, resetGlobalAdapter, resolveEmbeddingModel, resolveGraphModel, resolveLanguageModel, resolveModel, resolveModelId, resolveModelIdentifier, resolveRerankModel, sanitizeEntityToken, setAdapterRegistry, setGlobalAdapter, syncMeta, toModel, toRuleset };
10603
+ export { type AdaptedToolSchema, type AdapterRegistry, Agent, type AgentClientFilterConfig, AgentLoop, type AgentMessage, type StateResult as AgentStateResult, type AnyModelInput, BUILTIN_AGENTS, type BuildPromptOptions, CUSTOM_PROVIDER_DEFINITIONS, type CoercionTarget, type CompletenessResult, Config, type ConsistencyResult, type ContentQualityResult, type ContextRelevancyResult, type CorrectnessResult, DEBUG_AGENT_FILTER, DEFAULT_AGENT_FILTER, DEFAULT_ENABLED_PROVIDERS, DEFAULT_MAX_STEPS, DEFAULT_REMOTE_TIMEOUT, EmbeddingProvider, type EvaluationBase, type EvaluationInput, EvaluationProvider, type EvaluationResult, type EvaluationType, type ExtractedEntity, type ExtractedRelation, type ExtractionResult, type FactCheckingResult, type FaithfulnessResult, Flag, type GoalCompletionResult, type GraphEntityTypeDef, GraphProvider, type GraphRelationTypeDef, type IConfigProvider, type IGlobalPathProvider, type IInstallationProvider, type IInstanceProvider, type ILLM, type ILLMCapabilities, type ILLMInitConfig, type ILLMModels, LLMConfig, LLMConfig as LLMConfigType, LanguageProvider, type LanguageUserMessage, LocalAgent, type LocalAgentConfig, LocalAgentError, Loop, Message, type MetaEntry, type ModelEntity, type ModelIdentifier, type ModelInput, type ModelInputLike, type ModelKind, ModelManager, ModelsDev, type ModerationCategory, type ModerationResult, type OpenaiCompatibleProvider, type OpenaiCompatibleProviderSettings, PROVIDER_DISPLAY_NAMES, type PartData, type ProbeEmbeddingOptions, ProcessorSdkBridge, type ProcessorSdkBridgeOptions, Provider, ProviderAuth, ProviderAuthMethod, ProviderAuthMethod as ProviderAuthMethodType, ProviderConfig, ProviderConfig as ProviderConfigType, ProviderError, ProviderTransform, type ReadabilityResult, type RelevancyResult, RemoteAgent, type RemoteAgentConfig, RemoteAgentError, RemoteAgentHandler, type RemoteAgentHandlerConfig, type RemoteInteractionResult, RerankProvider, type SchemaCoercion, type ScoredEvaluation, SdkEventBridge, SdkEventBus, SdkEventType, SdkMessageCollector, type SdkSessionStatusProps, type SessionEvent, StreamProcessor, SubAgent, SubAgentError, type SubAgentRegistryConfig, type SubAgentRunInput, SummaryProvider, Tool, ToolRegistry, Truncate, adaptToolSchema, adaptTools, buildEntityExtractionPrompt, createOpenaiCompatible, deriveModelIdentifier, extractEntitiesByRules, getAdapterRegistry, getGlobal, getIConfigProvider, getIGlobalPathProvider, getIInstallationProvider, getIInstanceProvider, hasAdapterRegistry, inferEntityType, isModelEntity, normalizeExtractionResult, openaiCompatible, parseEntityExtractionResult, probeEmbeddingDims, readEnvString, readFlagBool, readFlagNumber, resetGlobalAdapter, resolveEmbeddingModel, resolveGraphModel, resolveLanguageModel, resolveModel, resolveModelId, resolveModelIdentifier, resolveRerankModel, sanitizeEntityToken, setAdapterRegistry, setGlobalAdapter, syncMeta, toModel, toRuleset };
package/dist/index.d.ts CHANGED
@@ -2039,6 +2039,18 @@ declare namespace ProviderTransform {
2039
2039
  function schema(model: Provider.Model, schema: JSONSchema.BaseSchema | JSONSchema7): JSONSchema7;
2040
2040
  }
2041
2041
 
2042
+ type CoercionTarget = 'number' | 'boolean';
2043
+ interface SchemaCoercion {
2044
+ path: string[];
2045
+ target: CoercionTarget;
2046
+ }
2047
+ interface AdaptedToolSchema {
2048
+ schema: JSONSchema7;
2049
+ coercions: SchemaCoercion[];
2050
+ }
2051
+ declare function adaptToolSchema(model: Provider.Model, raw: JSONSchema7 | Record<string, unknown>): AdaptedToolSchema;
2052
+ declare function adaptTools(model: Provider.Model, tools: Record<string, Tool$1>): Record<string, Tool$1>;
2053
+
2042
2054
  declare const DEFAULT_ENABLED_PROVIDERS: readonly string[];
2043
2055
  declare const CUSTOM_PROVIDER_DEFINITIONS: Record<string, ModelsDev.Provider>;
2044
2056
  declare const PROVIDER_DISPLAY_NAMES: Record<string, string>;
@@ -8971,6 +8983,108 @@ declare namespace StreamProcessor {
8971
8983
  function init(): Promise<void>;
8972
8984
  }
8973
8985
 
8986
+ declare namespace Loop {
8987
+ interface Input {
8988
+ model: ModelInput;
8989
+ agent: LanguageProvider.AgentLike;
8990
+ sessionId: string;
8991
+ user: LanguageUserMessage;
8992
+ system?: string[];
8993
+ messages?: ModelMessage[];
8994
+ tools?: Record<string, Tool$1>;
8995
+ activeTools?: string[];
8996
+ maxSteps?: number;
8997
+ abort?: AbortSignal;
8998
+ temperature?: number;
8999
+ maxOutputTokens?: number;
9000
+ stopSequences?: string[];
9001
+ timeout?: number | {
9002
+ totalMs?: number;
9003
+ stepMs?: number;
9004
+ chunkMs?: number;
9005
+ };
9006
+ onStep?: (info: StepInfo) => void | Promise<void>;
9007
+ }
9008
+ interface StepInfo {
9009
+ step: number;
9010
+ text: string;
9011
+ toolCalls: ToolCall[];
9012
+ finishReason: string | undefined;
9013
+ }
9014
+ interface ToolCall {
9015
+ toolCallId: string;
9016
+ toolName: string;
9017
+ input: unknown;
9018
+ output?: unknown;
9019
+ }
9020
+ interface Result {
9021
+ text: string;
9022
+ messages: ModelMessage[];
9023
+ toolCalls: ToolCall[];
9024
+ usage: LanguageModelUsage;
9025
+ cost?: number;
9026
+ finishReason: string | undefined;
9027
+ steps: number;
9028
+ }
9029
+ function run(input: Input): Promise<Result>;
9030
+ }
9031
+
9032
+ declare const DEFAULT_MAX_STEPS = 50;
9033
+ declare namespace AgentLoop {
9034
+ interface RoundContext {
9035
+ step: number;
9036
+ messages: ModelMessage[];
9037
+ verdict?: StreamProcessor.Result;
9038
+ message?: Message.Assistant;
9039
+ parts?: Message.Part[];
9040
+ cost: number;
9041
+ }
9042
+ interface RoundInput {
9043
+ system?: string[];
9044
+ messages?: ModelMessage[];
9045
+ tools?: Record<string, Tool$1>;
9046
+ temperature?: number;
9047
+ activeTools?: string[];
9048
+ maxOutputTokens?: number;
9049
+ }
9050
+ interface RoundRecord {
9051
+ step: number;
9052
+ verdict: StreamProcessor.Result;
9053
+ message: Message.Assistant;
9054
+ parts: Message.Part[];
9055
+ cost: number;
9056
+ }
9057
+ interface Input {
9058
+ model: Provider.Model;
9059
+ agent: string;
9060
+ sessionId: string;
9061
+ userMessageId: string;
9062
+ user: LanguageUserMessage;
9063
+ abort: AbortSignal;
9064
+ messages?: ModelMessage[];
9065
+ system?: string[];
9066
+ tools?: Record<string, Tool$1>;
9067
+ variant?: string;
9068
+ mode?: ContextMode;
9069
+ cwd?: string;
9070
+ root?: string;
9071
+ maxSteps?: number;
9072
+ onEvent?: (event: StreamProcessor.ProcessorEvent) => void | Promise<void>;
9073
+ onRoundFinish?: (ctx: RoundContext) => void | Promise<void>;
9074
+ buildRound?: (ctx: RoundContext) => RoundInput | Promise<RoundInput>;
9075
+ onCompact?: (ctx: RoundContext) => boolean | Promise<boolean>;
9076
+ shouldContinue?: (ctx: RoundContext) => boolean | Promise<boolean>;
9077
+ }
9078
+ interface Result {
9079
+ result: 'stop' | 'continue' | 'compact' | 'max_steps' | 'aborted';
9080
+ steps: number;
9081
+ messages: ModelMessage[];
9082
+ rounds: RoundRecord[];
9083
+ cost: number;
9084
+ }
9085
+ function run(input: Input): Promise<Result>;
9086
+ }
9087
+
8974
9088
  declare enum SdkEventType {
8975
9089
  SDK_SESSION_STATUS = "agent.status",
8976
9090
  SDK_ERROR = "sdk.error",
@@ -9806,6 +9920,7 @@ declare namespace Tool {
9806
9920
  };
9807
9921
  interface Info<Parameters extends z.ZodType = z.ZodType, M extends Metadata = Metadata> {
9808
9922
  id: string;
9923
+ description?: string;
9809
9924
  scope?: Scope;
9810
9925
  isEnabled?: EnabledCheck;
9811
9926
  source?: 'builtin' | 'custom' | 'plugin' | 'mcp';
@@ -10485,4 +10600,4 @@ interface SyncMetaCompatibleDB {
10485
10600
  type MetaEntry = readonly [key: string, value: string];
10486
10601
  declare function syncMeta(db: SyncMetaCompatibleDB, entries: ReadonlyArray<MetaEntry>): void;
10487
10602
 
10488
- export { type AdapterRegistry, Agent, type AgentClientFilterConfig, type AgentMessage, type StateResult as AgentStateResult, type AnyModelInput, BUILTIN_AGENTS, type BuildPromptOptions, CUSTOM_PROVIDER_DEFINITIONS, type CompletenessResult, Config, type ConsistencyResult, type ContentQualityResult, type ContextRelevancyResult, type CorrectnessResult, DEBUG_AGENT_FILTER, DEFAULT_AGENT_FILTER, DEFAULT_ENABLED_PROVIDERS, DEFAULT_REMOTE_TIMEOUT, EmbeddingProvider, type EvaluationBase, type EvaluationInput, EvaluationProvider, type EvaluationResult, type EvaluationType, type ExtractedEntity, type ExtractedRelation, type ExtractionResult, type FactCheckingResult, type FaithfulnessResult, Flag, type GoalCompletionResult, type GraphEntityTypeDef, GraphProvider, type GraphRelationTypeDef, type IConfigProvider, type IGlobalPathProvider, type IInstallationProvider, type IInstanceProvider, type ILLM, type ILLMCapabilities, type ILLMInitConfig, type ILLMModels, LLMConfig, LLMConfig as LLMConfigType, LanguageProvider, type LanguageUserMessage, LocalAgent, type LocalAgentConfig, LocalAgentError, Message, type MetaEntry, type ModelEntity, type ModelIdentifier, type ModelInput, type ModelInputLike, type ModelKind, ModelManager, ModelsDev, type ModerationCategory, type ModerationResult, type OpenaiCompatibleProvider, type OpenaiCompatibleProviderSettings, PROVIDER_DISPLAY_NAMES, type PartData, type ProbeEmbeddingOptions, ProcessorSdkBridge, type ProcessorSdkBridgeOptions, Provider, ProviderAuth, ProviderAuthMethod, ProviderAuthMethod as ProviderAuthMethodType, ProviderConfig, ProviderConfig as ProviderConfigType, ProviderError, ProviderTransform, type ReadabilityResult, type RelevancyResult, RemoteAgent, type RemoteAgentConfig, RemoteAgentError, RemoteAgentHandler, type RemoteAgentHandlerConfig, type RemoteInteractionResult, RerankProvider, type ScoredEvaluation, SdkEventBridge, SdkEventBus, SdkEventType, SdkMessageCollector, type SdkSessionStatusProps, type SessionEvent, StreamProcessor, SubAgent, SubAgentError, type SubAgentRegistryConfig, type SubAgentRunInput, SummaryProvider, Tool, ToolRegistry, Truncate, buildEntityExtractionPrompt, createOpenaiCompatible, deriveModelIdentifier, extractEntitiesByRules, getAdapterRegistry, getGlobal, getIConfigProvider, getIGlobalPathProvider, getIInstallationProvider, getIInstanceProvider, hasAdapterRegistry, inferEntityType, isModelEntity, normalizeExtractionResult, openaiCompatible, parseEntityExtractionResult, probeEmbeddingDims, readEnvString, readFlagBool, readFlagNumber, resetGlobalAdapter, resolveEmbeddingModel, resolveGraphModel, resolveLanguageModel, resolveModel, resolveModelId, resolveModelIdentifier, resolveRerankModel, sanitizeEntityToken, setAdapterRegistry, setGlobalAdapter, syncMeta, toModel, toRuleset };
10603
+ export { type AdaptedToolSchema, type AdapterRegistry, Agent, type AgentClientFilterConfig, AgentLoop, type AgentMessage, type StateResult as AgentStateResult, type AnyModelInput, BUILTIN_AGENTS, type BuildPromptOptions, CUSTOM_PROVIDER_DEFINITIONS, type CoercionTarget, type CompletenessResult, Config, type ConsistencyResult, type ContentQualityResult, type ContextRelevancyResult, type CorrectnessResult, DEBUG_AGENT_FILTER, DEFAULT_AGENT_FILTER, DEFAULT_ENABLED_PROVIDERS, DEFAULT_MAX_STEPS, DEFAULT_REMOTE_TIMEOUT, EmbeddingProvider, type EvaluationBase, type EvaluationInput, EvaluationProvider, type EvaluationResult, type EvaluationType, type ExtractedEntity, type ExtractedRelation, type ExtractionResult, type FactCheckingResult, type FaithfulnessResult, Flag, type GoalCompletionResult, type GraphEntityTypeDef, GraphProvider, type GraphRelationTypeDef, type IConfigProvider, type IGlobalPathProvider, type IInstallationProvider, type IInstanceProvider, type ILLM, type ILLMCapabilities, type ILLMInitConfig, type ILLMModels, LLMConfig, LLMConfig as LLMConfigType, LanguageProvider, type LanguageUserMessage, LocalAgent, type LocalAgentConfig, LocalAgentError, Loop, Message, type MetaEntry, type ModelEntity, type ModelIdentifier, type ModelInput, type ModelInputLike, type ModelKind, ModelManager, ModelsDev, type ModerationCategory, type ModerationResult, type OpenaiCompatibleProvider, type OpenaiCompatibleProviderSettings, PROVIDER_DISPLAY_NAMES, type PartData, type ProbeEmbeddingOptions, ProcessorSdkBridge, type ProcessorSdkBridgeOptions, Provider, ProviderAuth, ProviderAuthMethod, ProviderAuthMethod as ProviderAuthMethodType, ProviderConfig, ProviderConfig as ProviderConfigType, ProviderError, ProviderTransform, type ReadabilityResult, type RelevancyResult, RemoteAgent, type RemoteAgentConfig, RemoteAgentError, RemoteAgentHandler, type RemoteAgentHandlerConfig, type RemoteInteractionResult, RerankProvider, type SchemaCoercion, type ScoredEvaluation, SdkEventBridge, SdkEventBus, SdkEventType, SdkMessageCollector, type SdkSessionStatusProps, type SessionEvent, StreamProcessor, SubAgent, SubAgentError, type SubAgentRegistryConfig, type SubAgentRunInput, SummaryProvider, Tool, ToolRegistry, Truncate, adaptToolSchema, adaptTools, buildEntityExtractionPrompt, createOpenaiCompatible, deriveModelIdentifier, extractEntitiesByRules, getAdapterRegistry, getGlobal, getIConfigProvider, getIGlobalPathProvider, getIInstallationProvider, getIInstanceProvider, hasAdapterRegistry, inferEntityType, isModelEntity, normalizeExtractionResult, openaiCompatible, parseEntityExtractionResult, probeEmbeddingDims, readEnvString, readFlagBool, readFlagNumber, resetGlobalAdapter, resolveEmbeddingModel, resolveGraphModel, resolveLanguageModel, resolveModel, resolveModelId, resolveModelIdentifier, resolveRerankModel, sanitizeEntityToken, setAdapterRegistry, setGlobalAdapter, syncMeta, toModel, toRuleset };