@flutchai/flutch-sdk 0.1.8 → 0.1.10
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.cjs +336 -285
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -28
- package/dist/index.d.ts +25 -28
- package/dist/index.js +336 -285
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/dist/index.d.cts
CHANGED
|
@@ -9,6 +9,7 @@ import { Registry } from 'prom-client';
|
|
|
9
9
|
import { Response, Request } from 'express';
|
|
10
10
|
import { DiscoveryService, MetadataScanner, ModuleRef } from '@nestjs/core';
|
|
11
11
|
import { StructuredTool } from '@langchain/core/tools';
|
|
12
|
+
import { RunnableConfig } from '@langchain/core/runnables';
|
|
12
13
|
import { ChatAnthropic } from '@langchain/anthropic';
|
|
13
14
|
import { ChatCohere } from '@langchain/cohere';
|
|
14
15
|
import { ChatMistralAI } from '@langchain/mistralai';
|
|
@@ -209,7 +210,7 @@ type CitationValue = {
|
|
|
209
210
|
};
|
|
210
211
|
};
|
|
211
212
|
|
|
212
|
-
interface
|
|
213
|
+
interface IContentBlock {
|
|
213
214
|
index: number;
|
|
214
215
|
type: "text" | "tool_use";
|
|
215
216
|
text?: string;
|
|
@@ -219,10 +220,13 @@ interface IReasoningStep {
|
|
|
219
220
|
input?: string;
|
|
220
221
|
output?: string;
|
|
221
222
|
}
|
|
222
|
-
interface
|
|
223
|
-
|
|
223
|
+
interface IContentChain {
|
|
224
|
+
channel: string;
|
|
225
|
+
steps: IContentBlock[];
|
|
224
226
|
isComplete: boolean;
|
|
225
227
|
}
|
|
228
|
+
type IReasoningStep = IContentBlock;
|
|
229
|
+
type IReasoningChain = IContentChain;
|
|
226
230
|
|
|
227
231
|
type TracingLevel = "info" | "warn" | "error" | "debug";
|
|
228
232
|
interface IToolCall {
|
|
@@ -241,11 +245,12 @@ interface ITracingEvent {
|
|
|
241
245
|
}
|
|
242
246
|
|
|
243
247
|
interface IStoredMessageContent {
|
|
244
|
-
|
|
248
|
+
contentChains?: IContentChain[];
|
|
245
249
|
attachments?: IAttachment[];
|
|
246
250
|
metadata?: Record<string, any>;
|
|
247
|
-
|
|
251
|
+
text?: string;
|
|
248
252
|
reasoningChains?: IReasoningChain[];
|
|
253
|
+
tracingEvents?: ITracingEvent[];
|
|
249
254
|
hasReasoningProcess?: boolean;
|
|
250
255
|
currentToolCall?: IToolCall | null;
|
|
251
256
|
}
|
|
@@ -284,8 +289,7 @@ interface IUsageMetrics {
|
|
|
284
289
|
|
|
285
290
|
declare enum StreamChannel {
|
|
286
291
|
TEXT = "text",
|
|
287
|
-
PROCESSING = "processing"
|
|
288
|
-
TOOLS = "tools"
|
|
292
|
+
PROCESSING = "processing"
|
|
289
293
|
}
|
|
290
294
|
|
|
291
295
|
interface IGraphService {
|
|
@@ -1116,44 +1120,34 @@ interface LLMCallRecord {
|
|
|
1116
1120
|
timestamp: number;
|
|
1117
1121
|
nodeName?: string;
|
|
1118
1122
|
}
|
|
1123
|
+
interface ChannelState {
|
|
1124
|
+
contentChain: IContentBlock[];
|
|
1125
|
+
currentBlock: IContentBlock | null;
|
|
1126
|
+
}
|
|
1119
1127
|
interface StreamAccumulator {
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
llmCalls: LLMCallRecord[];
|
|
1128
|
+
channels: Map<StreamChannel, ChannelState>;
|
|
1129
|
+
attachments: IAttachment[];
|
|
1130
|
+
metadata: Record<string, any>;
|
|
1124
1131
|
traceEvents: IGraphTraceEvent[];
|
|
1125
1132
|
traceStartedAt: number | null;
|
|
1126
1133
|
traceCompletedAt: number | null;
|
|
1127
|
-
currentReasoningSteps: IReasoningStep[];
|
|
1128
|
-
currentToolUse: IReasoningStep | null;
|
|
1129
1134
|
}
|
|
1130
1135
|
declare class EventProcessor {
|
|
1131
1136
|
private readonly logger;
|
|
1132
1137
|
createAccumulator(): StreamAccumulator;
|
|
1133
1138
|
private normalizeContentBlocks;
|
|
1139
|
+
private sendDelta;
|
|
1140
|
+
private processContentStream;
|
|
1134
1141
|
private mapReasoningSteps;
|
|
1135
1142
|
processEvent(acc: StreamAccumulator, event: any, onPartial?: (chunk: string) => void): void;
|
|
1136
1143
|
getResult(acc: StreamAccumulator): {
|
|
1137
1144
|
content: IStoredMessageContent;
|
|
1138
|
-
metrics: {
|
|
1139
|
-
modelCalls: Array<{
|
|
1140
|
-
nodeName: string;
|
|
1141
|
-
timestamp: number;
|
|
1142
|
-
modelId: string;
|
|
1143
|
-
promptTokens: number;
|
|
1144
|
-
completionTokens: number;
|
|
1145
|
-
totalTokens: number;
|
|
1146
|
-
latencyMs: number;
|
|
1147
|
-
}>;
|
|
1148
|
-
apiCalls: any[];
|
|
1149
|
-
} | null;
|
|
1150
1145
|
trace: {
|
|
1151
1146
|
events: IGraphTraceEvent[];
|
|
1152
1147
|
startedAt: number;
|
|
1153
1148
|
completedAt: number;
|
|
1154
1149
|
durationMs: number;
|
|
1155
1150
|
totalEvents: number;
|
|
1156
|
-
totalModelCalls: number;
|
|
1157
1151
|
} | null;
|
|
1158
1152
|
};
|
|
1159
1153
|
private captureTraceEvent;
|
|
@@ -1418,7 +1412,6 @@ declare class McpConverter {
|
|
|
1418
1412
|
private readonly mcpRuntimeUrl;
|
|
1419
1413
|
constructor(mcpRuntimeUrl?: string);
|
|
1420
1414
|
private jsonSchemaToZod;
|
|
1421
|
-
private mapPrimitiveSchema;
|
|
1422
1415
|
convertTool(mcpTool: McpTool): LangChainStructuredTool;
|
|
1423
1416
|
convertTools(mcpTools: McpTool[]): Promise<LangChainStructuredTool[]>;
|
|
1424
1417
|
fetchAndConvertTools(filter?: string): Promise<LangChainStructuredTool[]>;
|
|
@@ -1445,6 +1438,10 @@ declare class McpRuntimeHttpClient implements McpRuntimeClient {
|
|
|
1445
1438
|
executeTool(name: string, args: any, context?: any): Promise<ToolExecutionResult>;
|
|
1446
1439
|
getToolStats(): Promise<any>;
|
|
1447
1440
|
isHealthy(): Promise<boolean>;
|
|
1441
|
+
executeToolWithEvents(toolCallId: string, toolName: string, enrichedArgs: Record<string, any>, executionContext: Record<string, any>, config?: RunnableConfig): Promise<{
|
|
1442
|
+
content: string;
|
|
1443
|
+
success: boolean;
|
|
1444
|
+
}>;
|
|
1448
1445
|
}
|
|
1449
1446
|
|
|
1450
1447
|
declare enum RetrieverSearchType {
|
|
@@ -1564,4 +1561,4 @@ declare class StaticDiscovery implements ServiceDiscoveryProvider {
|
|
|
1564
1561
|
}>>;
|
|
1565
1562
|
}
|
|
1566
1563
|
|
|
1567
|
-
export { type ACLValidationResult, AbstractGraphBuilder, type ApiCallTracerOptions, AttachmentType, type AuditEntry, GraphController as BaseGraphServiceController, UniversalGraphModule as BaseGraphServiceModule, type BaseGraphState, BuilderRegistryService, Callback, CallbackACL, CallbackAuditAction, CallbackAuditor, type CallbackContext, CallbackController, type CallbackEntry, type CallbackHandler, type CallbackMetadata, CallbackMetrics, type CallbackPatch, type CallbackPatchHandler, CallbackPatchService, CallbackRateLimiter, type CallbackRecord, CallbackRegistry, type CallbackRequest, type CallbackResult, CallbackStore, CallbackTokenGuard, type CallbackUser, type ChartType, ChatFeature, type ChatModelCreator, type CitationValue, type CompiledGraphFor, type ConcreteModels, type CustomDocument, DEFAULT_TRACER_OPTIONS, type DataEnvelope, ENDPOINT_METADATA_KEY, type EmbeddingModelCreator, Endpoint, type EndpointDescriptor, type EndpointHandler, type EndpointMetadata, type EndpointOptions, EndpointRegistry, EventProcessor, type ExtendedCallbackContext, type ExtendedCallbackHandler, FileBasedDiscovery, GraphController, GraphEngineFactory, GraphEngineType, GraphManifestSchema, GraphManifestValidator, GraphServiceTokens, GraphTypeUtils, type IAgentToolConfig, type IAgentToolConfiguration, type IAttachment, type IBaseEntity, type IChartDataPoint, type IChartDataset, type IChartValue, type IDeletionInfo, type IGenericGraphType, type IGraphBuilder, type IGraphCompiler, type IGraphConfigurable, type IGraphEngine, type IGraphManifest, type IGraphMetadata, type IGraphMetadataRegistry, type IGraphRequestPayload, type IGraphResponsePayload, type IGraphRunnableConfig, type IGraphService, type IGraphServiceRegistry, type IGraphSettingsRepository, type IGraphTraceEvent, type IGraphTracer, type IGraphTypeMetadata, type IGraphTypeRegistry, type IModelInitializer, type IReasoningChain, type IReasoningStep, type IStoredMessageContent, type ISystemToolCredentials, type IToolCall, type IToolCatalog, type IToolConfigOption, type IToolExecutionContext, type ITracingEvent, type IUsageMetrics, type IUsageRecorder, type IdempotencyConfig, type IdempotencyEntry, IdempotencyManager, IdempotencyStatus, type KnowledgeBaseInfo, type LLMCallRecord, type LLMConfig, type LLModel, LangGraphEngine, type MappedChannels, McpConverter, type McpRuntimeClient, McpRuntimeHttpClient, type McpTool, McpToolFilter, type Model, type ModelByIdConfig, type ModelByIdWithTypeConfig, type ModelConfig, type ModelConfigFetcher, type ModelConfigWithToken, type ModelConfigWithTokenAndType, type ModelCreator, type ModelCreators, ModelInitializer, ModelProvider, ModelType, type RateLimitConfig, type RateLimitResult, type RequestContext, type RerankModelCreator, type RetrieveQueryOptions, type RetrieverConfig, RetrieverSearchType, RetrieverService, type RouterConfig, type ServiceDiscoveryProvider, SmartCallbackRouter, StaticDiscovery, type StreamAccumulator, StreamChannel, type StrictGraphRunnableConfig, TelegramPatchHandler, type ToolExecutionResult, type TraceApiCallResult, type TracingLevel, UIDispatchController, type UIDispatchDto, UIEndpoint, type UIEndpointClassMetadata, type UIEndpointMethodMetadata, UIEndpointsDiscoveryService, UniversalCallbackService, UniversalGraphModule, type UniversalGraphModuleOptions, UniversalGraphService, type VersionResolution, type VersionResolutionOptions, type VersionRoute, VersionedGraphService, type VersioningConfig, VoyageAIRerank, type VoyageAIRerankConfig, WebPatchHandler, WithCallbacks, WithEndpoints, WithUIEndpoints, bootstrap, createEndpointDescriptors, findCallbackMethod, findEndpointMethod, getCallbackMetadata, getEndpointMetadata, getUIEndpointClassMetadata, getUIEndpointMethodsMetadata, hasCallbacks, hasUIEndpoints, prepareModelWithTools, registerFinanceExampleCallback, registerUIEndpointsFromClass, sanitizeTraceData, traceApiCall };
|
|
1564
|
+
export { type ACLValidationResult, AbstractGraphBuilder, type ApiCallTracerOptions, AttachmentType, type AuditEntry, GraphController as BaseGraphServiceController, UniversalGraphModule as BaseGraphServiceModule, type BaseGraphState, BuilderRegistryService, Callback, CallbackACL, CallbackAuditAction, CallbackAuditor, type CallbackContext, CallbackController, type CallbackEntry, type CallbackHandler, type CallbackMetadata, CallbackMetrics, type CallbackPatch, type CallbackPatchHandler, CallbackPatchService, CallbackRateLimiter, type CallbackRecord, CallbackRegistry, type CallbackRequest, type CallbackResult, CallbackStore, CallbackTokenGuard, type CallbackUser, type ChannelState, type ChartType, ChatFeature, type ChatModelCreator, type CitationValue, type CompiledGraphFor, type ConcreteModels, type CustomDocument, DEFAULT_TRACER_OPTIONS, type DataEnvelope, ENDPOINT_METADATA_KEY, type EmbeddingModelCreator, Endpoint, type EndpointDescriptor, type EndpointHandler, type EndpointMetadata, type EndpointOptions, EndpointRegistry, EventProcessor, type ExtendedCallbackContext, type ExtendedCallbackHandler, FileBasedDiscovery, GraphController, GraphEngineFactory, GraphEngineType, GraphManifestSchema, GraphManifestValidator, GraphServiceTokens, GraphTypeUtils, type IAgentToolConfig, type IAgentToolConfiguration, type IAttachment, type IBaseEntity, type IChartDataPoint, type IChartDataset, type IChartValue, type IContentBlock, type IContentChain, type IDeletionInfo, type IGenericGraphType, type IGraphBuilder, type IGraphCompiler, type IGraphConfigurable, type IGraphEngine, type IGraphManifest, type IGraphMetadata, type IGraphMetadataRegistry, type IGraphRequestPayload, type IGraphResponsePayload, type IGraphRunnableConfig, type IGraphService, type IGraphServiceRegistry, type IGraphSettingsRepository, type IGraphTraceEvent, type IGraphTracer, type IGraphTypeMetadata, type IGraphTypeRegistry, type IModelInitializer, type IReasoningChain, type IReasoningStep, type IStoredMessageContent, type ISystemToolCredentials, type IToolCall, type IToolCatalog, type IToolConfigOption, type IToolExecutionContext, type ITracingEvent, type IUsageMetrics, type IUsageRecorder, type IdempotencyConfig, type IdempotencyEntry, IdempotencyManager, IdempotencyStatus, type KnowledgeBaseInfo, type LLMCallRecord, type LLMConfig, type LLModel, LangGraphEngine, type MappedChannels, McpConverter, type McpRuntimeClient, McpRuntimeHttpClient, type McpTool, McpToolFilter, type Model, type ModelByIdConfig, type ModelByIdWithTypeConfig, type ModelConfig, type ModelConfigFetcher, type ModelConfigWithToken, type ModelConfigWithTokenAndType, type ModelCreator, type ModelCreators, ModelInitializer, ModelProvider, ModelType, type RateLimitConfig, type RateLimitResult, type RequestContext, type RerankModelCreator, type RetrieveQueryOptions, type RetrieverConfig, RetrieverSearchType, RetrieverService, type RouterConfig, type ServiceDiscoveryProvider, SmartCallbackRouter, StaticDiscovery, type StreamAccumulator, StreamChannel, type StrictGraphRunnableConfig, TelegramPatchHandler, type ToolExecutionResult, type TraceApiCallResult, type TracingLevel, UIDispatchController, type UIDispatchDto, UIEndpoint, type UIEndpointClassMetadata, type UIEndpointMethodMetadata, UIEndpointsDiscoveryService, UniversalCallbackService, UniversalGraphModule, type UniversalGraphModuleOptions, UniversalGraphService, type VersionResolution, type VersionResolutionOptions, type VersionRoute, VersionedGraphService, type VersioningConfig, VoyageAIRerank, type VoyageAIRerankConfig, WebPatchHandler, WithCallbacks, WithEndpoints, WithUIEndpoints, bootstrap, createEndpointDescriptors, findCallbackMethod, findEndpointMethod, getCallbackMetadata, getEndpointMetadata, getUIEndpointClassMetadata, getUIEndpointMethodsMetadata, hasCallbacks, hasUIEndpoints, prepareModelWithTools, registerFinanceExampleCallback, registerUIEndpointsFromClass, sanitizeTraceData, traceApiCall };
|
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { Registry } from 'prom-client';
|
|
|
9
9
|
import { Response, Request } from 'express';
|
|
10
10
|
import { DiscoveryService, MetadataScanner, ModuleRef } from '@nestjs/core';
|
|
11
11
|
import { StructuredTool } from '@langchain/core/tools';
|
|
12
|
+
import { RunnableConfig } from '@langchain/core/runnables';
|
|
12
13
|
import { ChatAnthropic } from '@langchain/anthropic';
|
|
13
14
|
import { ChatCohere } from '@langchain/cohere';
|
|
14
15
|
import { ChatMistralAI } from '@langchain/mistralai';
|
|
@@ -209,7 +210,7 @@ type CitationValue = {
|
|
|
209
210
|
};
|
|
210
211
|
};
|
|
211
212
|
|
|
212
|
-
interface
|
|
213
|
+
interface IContentBlock {
|
|
213
214
|
index: number;
|
|
214
215
|
type: "text" | "tool_use";
|
|
215
216
|
text?: string;
|
|
@@ -219,10 +220,13 @@ interface IReasoningStep {
|
|
|
219
220
|
input?: string;
|
|
220
221
|
output?: string;
|
|
221
222
|
}
|
|
222
|
-
interface
|
|
223
|
-
|
|
223
|
+
interface IContentChain {
|
|
224
|
+
channel: string;
|
|
225
|
+
steps: IContentBlock[];
|
|
224
226
|
isComplete: boolean;
|
|
225
227
|
}
|
|
228
|
+
type IReasoningStep = IContentBlock;
|
|
229
|
+
type IReasoningChain = IContentChain;
|
|
226
230
|
|
|
227
231
|
type TracingLevel = "info" | "warn" | "error" | "debug";
|
|
228
232
|
interface IToolCall {
|
|
@@ -241,11 +245,12 @@ interface ITracingEvent {
|
|
|
241
245
|
}
|
|
242
246
|
|
|
243
247
|
interface IStoredMessageContent {
|
|
244
|
-
|
|
248
|
+
contentChains?: IContentChain[];
|
|
245
249
|
attachments?: IAttachment[];
|
|
246
250
|
metadata?: Record<string, any>;
|
|
247
|
-
|
|
251
|
+
text?: string;
|
|
248
252
|
reasoningChains?: IReasoningChain[];
|
|
253
|
+
tracingEvents?: ITracingEvent[];
|
|
249
254
|
hasReasoningProcess?: boolean;
|
|
250
255
|
currentToolCall?: IToolCall | null;
|
|
251
256
|
}
|
|
@@ -284,8 +289,7 @@ interface IUsageMetrics {
|
|
|
284
289
|
|
|
285
290
|
declare enum StreamChannel {
|
|
286
291
|
TEXT = "text",
|
|
287
|
-
PROCESSING = "processing"
|
|
288
|
-
TOOLS = "tools"
|
|
292
|
+
PROCESSING = "processing"
|
|
289
293
|
}
|
|
290
294
|
|
|
291
295
|
interface IGraphService {
|
|
@@ -1116,44 +1120,34 @@ interface LLMCallRecord {
|
|
|
1116
1120
|
timestamp: number;
|
|
1117
1121
|
nodeName?: string;
|
|
1118
1122
|
}
|
|
1123
|
+
interface ChannelState {
|
|
1124
|
+
contentChain: IContentBlock[];
|
|
1125
|
+
currentBlock: IContentBlock | null;
|
|
1126
|
+
}
|
|
1119
1127
|
interface StreamAccumulator {
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
llmCalls: LLMCallRecord[];
|
|
1128
|
+
channels: Map<StreamChannel, ChannelState>;
|
|
1129
|
+
attachments: IAttachment[];
|
|
1130
|
+
metadata: Record<string, any>;
|
|
1124
1131
|
traceEvents: IGraphTraceEvent[];
|
|
1125
1132
|
traceStartedAt: number | null;
|
|
1126
1133
|
traceCompletedAt: number | null;
|
|
1127
|
-
currentReasoningSteps: IReasoningStep[];
|
|
1128
|
-
currentToolUse: IReasoningStep | null;
|
|
1129
1134
|
}
|
|
1130
1135
|
declare class EventProcessor {
|
|
1131
1136
|
private readonly logger;
|
|
1132
1137
|
createAccumulator(): StreamAccumulator;
|
|
1133
1138
|
private normalizeContentBlocks;
|
|
1139
|
+
private sendDelta;
|
|
1140
|
+
private processContentStream;
|
|
1134
1141
|
private mapReasoningSteps;
|
|
1135
1142
|
processEvent(acc: StreamAccumulator, event: any, onPartial?: (chunk: string) => void): void;
|
|
1136
1143
|
getResult(acc: StreamAccumulator): {
|
|
1137
1144
|
content: IStoredMessageContent;
|
|
1138
|
-
metrics: {
|
|
1139
|
-
modelCalls: Array<{
|
|
1140
|
-
nodeName: string;
|
|
1141
|
-
timestamp: number;
|
|
1142
|
-
modelId: string;
|
|
1143
|
-
promptTokens: number;
|
|
1144
|
-
completionTokens: number;
|
|
1145
|
-
totalTokens: number;
|
|
1146
|
-
latencyMs: number;
|
|
1147
|
-
}>;
|
|
1148
|
-
apiCalls: any[];
|
|
1149
|
-
} | null;
|
|
1150
1145
|
trace: {
|
|
1151
1146
|
events: IGraphTraceEvent[];
|
|
1152
1147
|
startedAt: number;
|
|
1153
1148
|
completedAt: number;
|
|
1154
1149
|
durationMs: number;
|
|
1155
1150
|
totalEvents: number;
|
|
1156
|
-
totalModelCalls: number;
|
|
1157
1151
|
} | null;
|
|
1158
1152
|
};
|
|
1159
1153
|
private captureTraceEvent;
|
|
@@ -1418,7 +1412,6 @@ declare class McpConverter {
|
|
|
1418
1412
|
private readonly mcpRuntimeUrl;
|
|
1419
1413
|
constructor(mcpRuntimeUrl?: string);
|
|
1420
1414
|
private jsonSchemaToZod;
|
|
1421
|
-
private mapPrimitiveSchema;
|
|
1422
1415
|
convertTool(mcpTool: McpTool): LangChainStructuredTool;
|
|
1423
1416
|
convertTools(mcpTools: McpTool[]): Promise<LangChainStructuredTool[]>;
|
|
1424
1417
|
fetchAndConvertTools(filter?: string): Promise<LangChainStructuredTool[]>;
|
|
@@ -1445,6 +1438,10 @@ declare class McpRuntimeHttpClient implements McpRuntimeClient {
|
|
|
1445
1438
|
executeTool(name: string, args: any, context?: any): Promise<ToolExecutionResult>;
|
|
1446
1439
|
getToolStats(): Promise<any>;
|
|
1447
1440
|
isHealthy(): Promise<boolean>;
|
|
1441
|
+
executeToolWithEvents(toolCallId: string, toolName: string, enrichedArgs: Record<string, any>, executionContext: Record<string, any>, config?: RunnableConfig): Promise<{
|
|
1442
|
+
content: string;
|
|
1443
|
+
success: boolean;
|
|
1444
|
+
}>;
|
|
1448
1445
|
}
|
|
1449
1446
|
|
|
1450
1447
|
declare enum RetrieverSearchType {
|
|
@@ -1564,4 +1561,4 @@ declare class StaticDiscovery implements ServiceDiscoveryProvider {
|
|
|
1564
1561
|
}>>;
|
|
1565
1562
|
}
|
|
1566
1563
|
|
|
1567
|
-
export { type ACLValidationResult, AbstractGraphBuilder, type ApiCallTracerOptions, AttachmentType, type AuditEntry, GraphController as BaseGraphServiceController, UniversalGraphModule as BaseGraphServiceModule, type BaseGraphState, BuilderRegistryService, Callback, CallbackACL, CallbackAuditAction, CallbackAuditor, type CallbackContext, CallbackController, type CallbackEntry, type CallbackHandler, type CallbackMetadata, CallbackMetrics, type CallbackPatch, type CallbackPatchHandler, CallbackPatchService, CallbackRateLimiter, type CallbackRecord, CallbackRegistry, type CallbackRequest, type CallbackResult, CallbackStore, CallbackTokenGuard, type CallbackUser, type ChartType, ChatFeature, type ChatModelCreator, type CitationValue, type CompiledGraphFor, type ConcreteModels, type CustomDocument, DEFAULT_TRACER_OPTIONS, type DataEnvelope, ENDPOINT_METADATA_KEY, type EmbeddingModelCreator, Endpoint, type EndpointDescriptor, type EndpointHandler, type EndpointMetadata, type EndpointOptions, EndpointRegistry, EventProcessor, type ExtendedCallbackContext, type ExtendedCallbackHandler, FileBasedDiscovery, GraphController, GraphEngineFactory, GraphEngineType, GraphManifestSchema, GraphManifestValidator, GraphServiceTokens, GraphTypeUtils, type IAgentToolConfig, type IAgentToolConfiguration, type IAttachment, type IBaseEntity, type IChartDataPoint, type IChartDataset, type IChartValue, type IDeletionInfo, type IGenericGraphType, type IGraphBuilder, type IGraphCompiler, type IGraphConfigurable, type IGraphEngine, type IGraphManifest, type IGraphMetadata, type IGraphMetadataRegistry, type IGraphRequestPayload, type IGraphResponsePayload, type IGraphRunnableConfig, type IGraphService, type IGraphServiceRegistry, type IGraphSettingsRepository, type IGraphTraceEvent, type IGraphTracer, type IGraphTypeMetadata, type IGraphTypeRegistry, type IModelInitializer, type IReasoningChain, type IReasoningStep, type IStoredMessageContent, type ISystemToolCredentials, type IToolCall, type IToolCatalog, type IToolConfigOption, type IToolExecutionContext, type ITracingEvent, type IUsageMetrics, type IUsageRecorder, type IdempotencyConfig, type IdempotencyEntry, IdempotencyManager, IdempotencyStatus, type KnowledgeBaseInfo, type LLMCallRecord, type LLMConfig, type LLModel, LangGraphEngine, type MappedChannels, McpConverter, type McpRuntimeClient, McpRuntimeHttpClient, type McpTool, McpToolFilter, type Model, type ModelByIdConfig, type ModelByIdWithTypeConfig, type ModelConfig, type ModelConfigFetcher, type ModelConfigWithToken, type ModelConfigWithTokenAndType, type ModelCreator, type ModelCreators, ModelInitializer, ModelProvider, ModelType, type RateLimitConfig, type RateLimitResult, type RequestContext, type RerankModelCreator, type RetrieveQueryOptions, type RetrieverConfig, RetrieverSearchType, RetrieverService, type RouterConfig, type ServiceDiscoveryProvider, SmartCallbackRouter, StaticDiscovery, type StreamAccumulator, StreamChannel, type StrictGraphRunnableConfig, TelegramPatchHandler, type ToolExecutionResult, type TraceApiCallResult, type TracingLevel, UIDispatchController, type UIDispatchDto, UIEndpoint, type UIEndpointClassMetadata, type UIEndpointMethodMetadata, UIEndpointsDiscoveryService, UniversalCallbackService, UniversalGraphModule, type UniversalGraphModuleOptions, UniversalGraphService, type VersionResolution, type VersionResolutionOptions, type VersionRoute, VersionedGraphService, type VersioningConfig, VoyageAIRerank, type VoyageAIRerankConfig, WebPatchHandler, WithCallbacks, WithEndpoints, WithUIEndpoints, bootstrap, createEndpointDescriptors, findCallbackMethod, findEndpointMethod, getCallbackMetadata, getEndpointMetadata, getUIEndpointClassMetadata, getUIEndpointMethodsMetadata, hasCallbacks, hasUIEndpoints, prepareModelWithTools, registerFinanceExampleCallback, registerUIEndpointsFromClass, sanitizeTraceData, traceApiCall };
|
|
1564
|
+
export { type ACLValidationResult, AbstractGraphBuilder, type ApiCallTracerOptions, AttachmentType, type AuditEntry, GraphController as BaseGraphServiceController, UniversalGraphModule as BaseGraphServiceModule, type BaseGraphState, BuilderRegistryService, Callback, CallbackACL, CallbackAuditAction, CallbackAuditor, type CallbackContext, CallbackController, type CallbackEntry, type CallbackHandler, type CallbackMetadata, CallbackMetrics, type CallbackPatch, type CallbackPatchHandler, CallbackPatchService, CallbackRateLimiter, type CallbackRecord, CallbackRegistry, type CallbackRequest, type CallbackResult, CallbackStore, CallbackTokenGuard, type CallbackUser, type ChannelState, type ChartType, ChatFeature, type ChatModelCreator, type CitationValue, type CompiledGraphFor, type ConcreteModels, type CustomDocument, DEFAULT_TRACER_OPTIONS, type DataEnvelope, ENDPOINT_METADATA_KEY, type EmbeddingModelCreator, Endpoint, type EndpointDescriptor, type EndpointHandler, type EndpointMetadata, type EndpointOptions, EndpointRegistry, EventProcessor, type ExtendedCallbackContext, type ExtendedCallbackHandler, FileBasedDiscovery, GraphController, GraphEngineFactory, GraphEngineType, GraphManifestSchema, GraphManifestValidator, GraphServiceTokens, GraphTypeUtils, type IAgentToolConfig, type IAgentToolConfiguration, type IAttachment, type IBaseEntity, type IChartDataPoint, type IChartDataset, type IChartValue, type IContentBlock, type IContentChain, type IDeletionInfo, type IGenericGraphType, type IGraphBuilder, type IGraphCompiler, type IGraphConfigurable, type IGraphEngine, type IGraphManifest, type IGraphMetadata, type IGraphMetadataRegistry, type IGraphRequestPayload, type IGraphResponsePayload, type IGraphRunnableConfig, type IGraphService, type IGraphServiceRegistry, type IGraphSettingsRepository, type IGraphTraceEvent, type IGraphTracer, type IGraphTypeMetadata, type IGraphTypeRegistry, type IModelInitializer, type IReasoningChain, type IReasoningStep, type IStoredMessageContent, type ISystemToolCredentials, type IToolCall, type IToolCatalog, type IToolConfigOption, type IToolExecutionContext, type ITracingEvent, type IUsageMetrics, type IUsageRecorder, type IdempotencyConfig, type IdempotencyEntry, IdempotencyManager, IdempotencyStatus, type KnowledgeBaseInfo, type LLMCallRecord, type LLMConfig, type LLModel, LangGraphEngine, type MappedChannels, McpConverter, type McpRuntimeClient, McpRuntimeHttpClient, type McpTool, McpToolFilter, type Model, type ModelByIdConfig, type ModelByIdWithTypeConfig, type ModelConfig, type ModelConfigFetcher, type ModelConfigWithToken, type ModelConfigWithTokenAndType, type ModelCreator, type ModelCreators, ModelInitializer, ModelProvider, ModelType, type RateLimitConfig, type RateLimitResult, type RequestContext, type RerankModelCreator, type RetrieveQueryOptions, type RetrieverConfig, RetrieverSearchType, RetrieverService, type RouterConfig, type ServiceDiscoveryProvider, SmartCallbackRouter, StaticDiscovery, type StreamAccumulator, StreamChannel, type StrictGraphRunnableConfig, TelegramPatchHandler, type ToolExecutionResult, type TraceApiCallResult, type TracingLevel, UIDispatchController, type UIDispatchDto, UIEndpoint, type UIEndpointClassMetadata, type UIEndpointMethodMetadata, UIEndpointsDiscoveryService, UniversalCallbackService, UniversalGraphModule, type UniversalGraphModuleOptions, UniversalGraphService, type VersionResolution, type VersionResolutionOptions, type VersionRoute, VersionedGraphService, type VersioningConfig, VoyageAIRerank, type VoyageAIRerankConfig, WebPatchHandler, WithCallbacks, WithEndpoints, WithUIEndpoints, bootstrap, createEndpointDescriptors, findCallbackMethod, findEndpointMethod, getCallbackMetadata, getEndpointMetadata, getUIEndpointClassMetadata, getUIEndpointMethodsMetadata, hasCallbacks, hasUIEndpoints, prepareModelWithTools, registerFinanceExampleCallback, registerUIEndpointsFromClass, sanitizeTraceData, traceApiCall };
|