@axiom-lattice/core 2.1.57 → 2.1.58
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.mts +100 -10
- package/dist/index.d.ts +100 -10
- package/dist/index.js +2087 -250
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2088 -245
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4,21 +4,21 @@ export { HumanMessage } from '@langchain/core/messages';
|
|
|
4
4
|
import { ZodType } from 'zod/v3';
|
|
5
5
|
import { $ZodType } from 'zod/v4/core';
|
|
6
6
|
import { BaseChatModel, BaseChatModelCallOptions } from '@langchain/core/language_models/chat_models';
|
|
7
|
-
import { BaseLanguageModelInput, LanguageModelLike } from '@langchain/core/language_models/base';
|
|
7
|
+
import { BaseLanguageModelInput, LanguageModelLike, BaseLanguageModel } from '@langchain/core/language_models/base';
|
|
8
8
|
import { CallbackManagerForLLMRun } from '@langchain/core/callbacks/manager';
|
|
9
9
|
import { ChatResult } from '@langchain/core/outputs';
|
|
10
10
|
import * as _axiom_lattice_protocols from '@axiom-lattice/protocols';
|
|
11
|
-
import { LLMConfig, SemanticMetricsServerConfig, MetricMeta, MetricQueryResult, DataSource, SemanticMetricsQueryRequest, SemanticMetricsQueryResponse, TableQueryRequest, TableQueryResponse, ExecuteSqlQueryRequest, ExecuteSqlQueryResponse, MetricsServerType, MetricsServerConfig, ToolConfig, ToolExecutor, AgentConfig, MiddlewareType, GraphBuildOptions, MessageChunk, MessageChunkType, QueueLatticeProtocol, QueueConfig, QueueClient, QueueResult, ScheduleLatticeProtocol, ScheduleConfig, ScheduleClient, ScheduleStorage, TaskHandler, ScheduleOnceOptions, ScheduleCronOptions, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, ThreadStore, AssistantStore, SkillStore, WorkspaceStore, ProjectStore, DatabaseConfigStore, MetricsServerConfigStore, McpServerConfigStore, UserStore, TenantStore, UserTenantLinkStore, Thread, CreateThreadRequest, Assistant, CreateAssistantRequest, Skill, CreateSkillRequest, SkillStoreContext, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, User, CreateUserRequest, UpdateUserRequest, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, LoggerLatticeProtocol, LoggerConfig, LoggerClient, LoggerContext, SkillConfig, SkillClient } from '@axiom-lattice/protocols';
|
|
11
|
+
import { LLMConfig, SemanticMetricsServerConfig, MetricMeta, MetricQueryResult, DataSource, SemanticMetricsQueryRequest, SemanticMetricsQueryResponse, TableQueryRequest, TableQueryResponse, ExecuteSqlQueryRequest, ExecuteSqlQueryResponse, MetricsServerType, MetricsServerConfig, ToolConfig, ToolExecutor, AgentConfig, MiddlewareType, GraphBuildOptions, MessageChunk, MessageChunkType, QueueLatticeProtocol, QueueConfig, QueueClient, QueueResult, ScheduleLatticeProtocol, ScheduleConfig, ScheduleClient, ScheduleStorage, TaskHandler, ScheduleOnceOptions, ScheduleCronOptions, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, ThreadStore, AssistantStore, SkillStore, WorkspaceStore, ProjectStore, DatabaseConfigStore, MetricsServerConfigStore, McpServerConfigStore, UserStore, TenantStore, UserTenantLinkStore, WorkflowTrackingStore, Thread, CreateThreadRequest, Assistant, CreateAssistantRequest, Skill, CreateSkillRequest, SkillStoreContext, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, User, CreateUserRequest, UpdateUserRequest, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, LoggerLatticeProtocol, LoggerConfig, LoggerClient, LoggerContext, SkillConfig, SkillClient } from '@axiom-lattice/protocols';
|
|
12
12
|
export { _axiom_lattice_protocols as Protocols };
|
|
13
13
|
export { AgentConfig, AgentType, GraphBuildOptions, MemoryType } from '@axiom-lattice/protocols';
|
|
14
14
|
import * as langchain from 'langchain';
|
|
15
|
-
import { ReactAgent, AgentMiddleware } from 'langchain';
|
|
15
|
+
import { ReactAgent, AgentMiddleware, StructuredTool as StructuredTool$1, InterruptOnConfig } from 'langchain';
|
|
16
16
|
import z, { z as z$1 } from 'zod';
|
|
17
17
|
import { BaseStore, BaseCheckpointSaver } from '@langchain/langgraph-checkpoint';
|
|
18
18
|
import * as _langchain_core_tools from '@langchain/core/tools';
|
|
19
19
|
import { StructuredTool } from '@langchain/core/tools';
|
|
20
20
|
import * as _langchain_langgraph from '@langchain/langgraph';
|
|
21
|
-
import { CompiledStateGraph, CommandParams } from '@langchain/langgraph';
|
|
21
|
+
import { CompiledStateGraph, CommandParams, AnnotationRoot } from '@langchain/langgraph';
|
|
22
22
|
import { ReplaySubject } from 'rxjs';
|
|
23
23
|
import { Embeddings } from '@langchain/core/embeddings';
|
|
24
24
|
import { VectorStore } from '@langchain/core/vectorstores';
|
|
@@ -26,6 +26,8 @@ import { Connection, MultiServerMCPClient } from '@langchain/mcp-adapters';
|
|
|
26
26
|
import { SandboxClient } from '@agent-infra/sandbox';
|
|
27
27
|
import { Sandbox } from 'e2b';
|
|
28
28
|
import { Sandbox as Sandbox$1 } from '@daytonaio/sdk';
|
|
29
|
+
import { Runnable } from '@langchain/core/runnables';
|
|
30
|
+
import { InteropZodObject } from '@langchain/core/utils/types';
|
|
29
31
|
|
|
30
32
|
/**
|
|
31
33
|
* BaseLatticeManager - 抽象基类,为各种Lattice管理器提供通用功能
|
|
@@ -2660,6 +2662,7 @@ type StoreTypeMap = {
|
|
|
2660
2662
|
tenant: TenantStore;
|
|
2661
2663
|
userTenantLink: UserTenantLinkStore;
|
|
2662
2664
|
threadMessageQueue: IMessageQueueStore;
|
|
2665
|
+
workflowTracking: WorkflowTrackingStore;
|
|
2663
2666
|
};
|
|
2664
2667
|
/**
|
|
2665
2668
|
* Store type keys
|
|
@@ -5266,6 +5269,82 @@ declare function buildGrepResultsDict(matches: GrepMatch[]): Record<string, Arra
|
|
|
5266
5269
|
*/
|
|
5267
5270
|
declare function formatGrepMatches(matches: GrepMatch[], outputMode: "files_with_matches" | "content" | "count"): string;
|
|
5268
5271
|
|
|
5272
|
+
/**
|
|
5273
|
+
* Type definitions for pre-compiled agents.
|
|
5274
|
+
*/
|
|
5275
|
+
interface CompiledSubAgent {
|
|
5276
|
+
/** The key of the agent */
|
|
5277
|
+
key: string;
|
|
5278
|
+
/** The name of the agent */
|
|
5279
|
+
name: string;
|
|
5280
|
+
/** The description of the agent */
|
|
5281
|
+
description: string;
|
|
5282
|
+
/** The agent instance */
|
|
5283
|
+
runnable: AgentClient | Runnable;
|
|
5284
|
+
}
|
|
5285
|
+
/**
|
|
5286
|
+
* Type definitions for subagents
|
|
5287
|
+
*/
|
|
5288
|
+
interface SubAgent {
|
|
5289
|
+
/** The key of the agent */
|
|
5290
|
+
key: string;
|
|
5291
|
+
/** The name of the agent */
|
|
5292
|
+
name: string;
|
|
5293
|
+
/** The description of the agent */
|
|
5294
|
+
description: string;
|
|
5295
|
+
/** The system prompt to use for the agent */
|
|
5296
|
+
systemPrompt: string;
|
|
5297
|
+
/** The tools to use for the agent (tool instances, not names). Defaults to defaultTools */
|
|
5298
|
+
tools?: StructuredTool$1[];
|
|
5299
|
+
/** The model for the agent. Defaults to default_model */
|
|
5300
|
+
model?: LanguageModelLike | string;
|
|
5301
|
+
/** Additional middleware to append after default_middleware */
|
|
5302
|
+
middleware?: AgentMiddleware[];
|
|
5303
|
+
/** The tool configs to use for the agent */
|
|
5304
|
+
interruptOn?: Record<string, boolean | InterruptOnConfig>;
|
|
5305
|
+
}
|
|
5306
|
+
|
|
5307
|
+
interface SchedulerMiddlewareOptions {
|
|
5308
|
+
defaultMaxRetries?: number;
|
|
5309
|
+
}
|
|
5310
|
+
declare function createSchedulerMiddleware(options?: SchedulerMiddlewareOptions): AgentMiddleware;
|
|
5311
|
+
|
|
5312
|
+
interface TopologyEdge {
|
|
5313
|
+
from: string;
|
|
5314
|
+
to: string;
|
|
5315
|
+
purpose: string;
|
|
5316
|
+
}
|
|
5317
|
+
|
|
5318
|
+
interface CreateProcessingAgentParams<ContextSchema extends AnnotationRoot<any> | InteropZodObject = AnnotationRoot<any>> {
|
|
5319
|
+
model?: BaseLanguageModel | string;
|
|
5320
|
+
tools?: StructuredTool[];
|
|
5321
|
+
systemPrompt?: string;
|
|
5322
|
+
middleware?: AgentMiddleware[];
|
|
5323
|
+
subagents?: (SubAgent | CompiledSubAgent)[];
|
|
5324
|
+
responseFormat?: any;
|
|
5325
|
+
contextSchema?: ContextSchema;
|
|
5326
|
+
checkpointer?: BaseCheckpointSaver | boolean;
|
|
5327
|
+
store?: BaseStore;
|
|
5328
|
+
backend?: BackendProtocol | ((config: {
|
|
5329
|
+
state: unknown;
|
|
5330
|
+
store?: BaseStore;
|
|
5331
|
+
}) => Promise<BackendProtocol>);
|
|
5332
|
+
interruptOn?: Record<string, boolean | InterruptOnConfig>;
|
|
5333
|
+
name?: string;
|
|
5334
|
+
skills?: string[];
|
|
5335
|
+
topologyEdges: TopologyEdge[];
|
|
5336
|
+
}
|
|
5337
|
+
/**
|
|
5338
|
+
* Create a Processing Agent with middleware-based architecture.
|
|
5339
|
+
*
|
|
5340
|
+
* Same as createDeepAgent, but replaces todoListMiddleware with
|
|
5341
|
+
* topologyMiddleware for workflow topology enforcement.
|
|
5342
|
+
*
|
|
5343
|
+
* @param params Configuration parameters for the agent
|
|
5344
|
+
* @returns ReactAgent instance ready for invocation
|
|
5345
|
+
*/
|
|
5346
|
+
declare function createProcessingAgent<ContextSchema extends AnnotationRoot<any> | InteropZodObject = AnnotationRoot<any>>(params: CreateProcessingAgentParams<ContextSchema>): ReactAgent<any, any, ContextSchema, any>;
|
|
5347
|
+
|
|
5269
5348
|
/**
|
|
5270
5349
|
* Event bus service
|
|
5271
5350
|
* Used for event publishing and subscription between internal system components
|
|
@@ -5319,6 +5398,9 @@ declare class AgentManager {
|
|
|
5319
5398
|
command?: any;
|
|
5320
5399
|
"x-tenant-id": string;
|
|
5321
5400
|
runConfig?: Record<string, unknown>;
|
|
5401
|
+
main_thread_id?: string;
|
|
5402
|
+
main_tenant_id?: string;
|
|
5403
|
+
main_assistant_id?: string;
|
|
5322
5404
|
}, return_agent_state?: boolean): Promise<unknown>;
|
|
5323
5405
|
}
|
|
5324
5406
|
|
|
@@ -5413,6 +5495,14 @@ interface AgentThreadInterface {
|
|
|
5413
5495
|
project_id?: string;
|
|
5414
5496
|
custom_run_config?: any;
|
|
5415
5497
|
}
|
|
5498
|
+
interface AsyncTaskRecord {
|
|
5499
|
+
taskId: string;
|
|
5500
|
+
assistantId: string;
|
|
5501
|
+
description: string;
|
|
5502
|
+
status: 'running' | 'completed' | 'failed' | 'cancelled';
|
|
5503
|
+
createdAt: number;
|
|
5504
|
+
completedAt?: number;
|
|
5505
|
+
}
|
|
5416
5506
|
declare class Agent {
|
|
5417
5507
|
private queueStore;
|
|
5418
5508
|
private stateChecker;
|
|
@@ -5426,6 +5516,7 @@ declare class Agent {
|
|
|
5426
5516
|
custom_run_config: any;
|
|
5427
5517
|
queueMode: ThreadQueueConfig;
|
|
5428
5518
|
private isWaitingForQueueEnd;
|
|
5519
|
+
asyncTasks: AsyncTaskRecord[];
|
|
5429
5520
|
constructor({ assistant_id, thread_id, tenant_id, workspace_id, project_id, custom_run_config, }: AgentThreadInterface);
|
|
5430
5521
|
private getHumanPendingContent;
|
|
5431
5522
|
/**
|
|
@@ -5526,6 +5617,10 @@ declare class Agent {
|
|
|
5526
5617
|
* Publish lifecycle event (internal use)
|
|
5527
5618
|
*/
|
|
5528
5619
|
private publish;
|
|
5620
|
+
addAsyncTask(task: AsyncTaskRecord): void;
|
|
5621
|
+
getAsyncTasks(): AsyncTaskRecord[];
|
|
5622
|
+
getAsyncTask(taskId: string): AsyncTaskRecord | undefined;
|
|
5623
|
+
updateAsyncTaskStatus(taskId: string, status: AsyncTaskRecord['status']): void;
|
|
5529
5624
|
}
|
|
5530
5625
|
|
|
5531
5626
|
/**
|
|
@@ -5710,9 +5805,4 @@ interface UnknownToolHandlerConfig {
|
|
|
5710
5805
|
*/
|
|
5711
5806
|
declare function createUnknownToolHandlerMiddleware(config?: UnknownToolHandlerConfig): AgentMiddleware;
|
|
5712
5807
|
|
|
5713
|
-
|
|
5714
|
-
defaultMaxRetries?: number;
|
|
5715
|
-
}
|
|
5716
|
-
declare function createSchedulerMiddleware(options?: SchedulerMiddlewareOptions): AgentMiddleware;
|
|
5717
|
-
|
|
5718
|
-
export { AGENT_TASK_EVENT, type AddMessageParams, Agent, type AgentClient, type AgentExecutor, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, AgentManager, type AgentStreamExecutor, type AgentThreadInterface, BUILTIN_SKILLS, type BackendFactory, type BackendProtocol, type BufferStats, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, type ColumnInfo, CompositeBackend, ConsoleLoggerClient, type CreateSandboxProviderConfig, type CronFields, CustomMetricsClient, type DatabaseConfig, type DatabaseType, DaytonaInstance, DaytonaProvider, type DaytonaProviderConfig, DefaultScheduleClient, E2BInstance, E2BProvider, type E2BProviderConfig, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type EnsureMicrosandboxInput, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type FsEntry, type GrepMatch, type IMessageQueueStore, type IMetricsServerClient, type ISqlDatabase, InMemoryAssistantStore, InMemoryChunkBuffer, InMemoryDatabaseConfigStore, InMemoryMailboxStore, InMemoryTaskListStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserStore, InMemoryUserTenantLinkStore, LINE_NUMBER_WIDTH, type LangGraphStateChecker, type LoggerLattice, LoggerLatticeManager, MAX_LINE_LENGTH, type MailboxMessage, type MailboxStore, type McpLatticeInterface, McpLatticeManager, type McpServerInfo, MemoryBackend, MemoryLatticeManager, MemoryQueueClient, MemoryScheduleStorage, type MessageCompletedEvent, type MessageFailedEvent, type MessageStartedEvent, MessageType, MetricsServerManager, MicrosandboxRemoteInstance, MicrosandboxRemoteProvider, type MicrosandboxRemoteProviderClient, type MicrosandboxRemoteProviderConfig, MicrosandboxServiceClient, type MicrosandboxServiceClientConfig, type MicrosandboxShellExecInput, type ModelConfig, type ModelLatticeInterface, ModelLatticeManager, type PendingMessage, PinoLoggerClient, PostgresDatabase, PrometheusClient, type QueryResult, type QueueLattice, QueueLatticeManager, QueueMode, type QueuePendingEvent, RemoteSandboxInstance, RemoteSandboxProvider, type RemoteSandboxProviderConfig, type RunSandboxConfig, type RuntimeModelConfig, type SandboxFileInfo, type SandboxFileService, SandboxFilesystem, type SandboxInstance, type SandboxIsolationLevel, SandboxLatticeManager, type SandboxManagerProtocol, type SandboxProvider, type SandboxShellService, SandboxSkillStore, type SandboxSkillStoreOptions, type SandboxVolumeDefinition, type ScheduleLattice, ScheduleLatticeManager, type SchedulerMiddlewareOptions, SemanticMetricsClient, type SkillLattice, SkillLatticeManager, type SkillMeta, type SkillResource, SqlDatabaseManager, type StateAndStore, StateBackend, StoreBackend, type StoreLattice, StoreLatticeManager, type StoreType, type StoreTypeMap, TOOL_RESULT_TOKEN_LIMIT, TRUNCATION_GUIDANCE, type TableInfo, type TableSchema, type TaskEvent, type TaskListStore, type TaskSpec, TaskStatus, type TaskUpdatable, TeamAgentGraphBuilder, type TeamConfig, type TeamMiddlewareOptions, type TeamTask, type TeammateSpec, type TeammateToolsOptions, type ThreadBuffer, type ThreadBufferConfig, type ThreadBusyEvent, type ThreadIdleEvent, type ThreadInfo, type ThreadQueueConfig, type ThreadState, ThreadStatus, type ThreadStatusChangedEvent, type ToolDefinition, type ToolLattice, ToolLatticeManager, type UnknownToolHandlerConfig, type VectorStoreLatticeInterface, VectorStoreLatticeManager, VolumeFilesystem, type VolumeFsClient, type WriteResult, agentInstanceManager, agentLatticeManager, buildGrepResultsDict, buildNamedVolumeName, buildSandboxMetadataEnv, buildSkillFile, checkEmptyContent, clearEncryptionKeyCache, computeSandboxName, createAgentTeam, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createModelSelectorMiddleware, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createSandboxProvider, createSchedulerMiddleware, createTeamMiddleware, createTeammateTools, createUnknownToolHandlerMiddleware, createWidgetMiddleware, decrypt, describeCronExpression, embeddingsLatticeManager, encrypt, eventBus, eventBus as eventBusDefault, fileDataToString, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, getAgentClient, getAgentConfig, getAllAgentConfigs, getAllBuiltInSkillMetas, getAllToolDefinitions, getBuiltInSkillContent, getBuiltInSkillMeta, getBuiltInSkillNames, getCheckpointSaver, getChunkBuffer, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getLoggerLattice, getModelLattice, getNextCronTime, getQueueLattice, getSandBoxManager, getScheduleLattice, getStoreLattice, getToolClient, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, hasChunkBuffer, isBuiltInSkill, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, loggerLatticeManager, mcpManager, metricsServerManager, modelLatticeManager, normalizeSandboxName, parseCronExpression, parseSkillFrontmatter, performStringReplacement, queueLatticeManager, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, registerCheckpointSaver, registerChunkBuffer, registerEmbeddingsLattice, registerExistingTool, registerLoggerLattice, registerModelLattice, registerQueueLattice, registerScheduleLattice, registerStoreLattice, registerTeammateAgent, registerToolLattice, registerVectorStoreLattice, sandboxLatticeManager, sanitizeToolCallId, scheduleLatticeManager, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, toolLatticeManager, truncateIfTooLong, unregisterTeammateAgent, updateFileData, validateAgentInput, validateEncryptionKey, validatePath, validateSkillName, validateToolInput, vectorStoreLatticeManager };
|
|
5808
|
+
export { AGENT_TASK_EVENT, type AddMessageParams, Agent, type AgentClient, type AgentExecutor, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, AgentManager, type AgentStreamExecutor, type AgentThreadInterface, BUILTIN_SKILLS, type BackendFactory, type BackendProtocol, type BufferStats, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, type ColumnInfo, CompositeBackend, ConsoleLoggerClient, type CreateProcessingAgentParams, type CreateSandboxProviderConfig, type CronFields, CustomMetricsClient, type DatabaseConfig, type DatabaseType, DaytonaInstance, DaytonaProvider, type DaytonaProviderConfig, DefaultScheduleClient, E2BInstance, E2BProvider, type E2BProviderConfig, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type EnsureMicrosandboxInput, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type FsEntry, type GrepMatch, type IMessageQueueStore, type IMetricsServerClient, type ISqlDatabase, InMemoryAssistantStore, InMemoryChunkBuffer, InMemoryDatabaseConfigStore, InMemoryMailboxStore, InMemoryTaskListStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserStore, InMemoryUserTenantLinkStore, LINE_NUMBER_WIDTH, type LangGraphStateChecker, type LoggerLattice, LoggerLatticeManager, MAX_LINE_LENGTH, type MailboxMessage, type MailboxStore, type McpLatticeInterface, McpLatticeManager, type McpServerInfo, MemoryBackend, MemoryLatticeManager, MemoryQueueClient, MemoryScheduleStorage, type MessageCompletedEvent, type MessageFailedEvent, type MessageStartedEvent, MessageType, MetricsServerManager, MicrosandboxRemoteInstance, MicrosandboxRemoteProvider, type MicrosandboxRemoteProviderClient, type MicrosandboxRemoteProviderConfig, MicrosandboxServiceClient, type MicrosandboxServiceClientConfig, type MicrosandboxShellExecInput, type ModelConfig, type ModelLatticeInterface, ModelLatticeManager, type PendingMessage, PinoLoggerClient, PostgresDatabase, PrometheusClient, type QueryResult, type QueueLattice, QueueLatticeManager, QueueMode, type QueuePendingEvent, RemoteSandboxInstance, RemoteSandboxProvider, type RemoteSandboxProviderConfig, type RunSandboxConfig, type RuntimeModelConfig, type SandboxFileInfo, type SandboxFileService, SandboxFilesystem, type SandboxInstance, type SandboxIsolationLevel, SandboxLatticeManager, type SandboxManagerProtocol, type SandboxProvider, type SandboxShellService, SandboxSkillStore, type SandboxSkillStoreOptions, type SandboxVolumeDefinition, type ScheduleLattice, ScheduleLatticeManager, type SchedulerMiddlewareOptions, SemanticMetricsClient, type SkillLattice, SkillLatticeManager, type SkillMeta, type SkillResource, SqlDatabaseManager, type StateAndStore, StateBackend, StoreBackend, type StoreLattice, StoreLatticeManager, type StoreType, type StoreTypeMap, TOOL_RESULT_TOKEN_LIMIT, TRUNCATION_GUIDANCE, type TableInfo, type TableSchema, type TaskEvent, type TaskListStore, type TaskSpec, TaskStatus, type TaskUpdatable, TeamAgentGraphBuilder, type TeamConfig, type TeamMiddlewareOptions, type TeamTask, type TeammateSpec, type TeammateToolsOptions, type ThreadBuffer, type ThreadBufferConfig, type ThreadBusyEvent, type ThreadIdleEvent, type ThreadInfo, type ThreadQueueConfig, type ThreadState, ThreadStatus, type ThreadStatusChangedEvent, type ToolDefinition, type ToolLattice, ToolLatticeManager, type TopologyEdge, type UnknownToolHandlerConfig, type VectorStoreLatticeInterface, VectorStoreLatticeManager, VolumeFilesystem, type VolumeFsClient, type WriteResult, agentInstanceManager, agentLatticeManager, buildGrepResultsDict, buildNamedVolumeName, buildSandboxMetadataEnv, buildSkillFile, checkEmptyContent, clearEncryptionKeyCache, computeSandboxName, createAgentTeam, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createModelSelectorMiddleware, createProcessingAgent, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createSandboxProvider, createSchedulerMiddleware, createTeamMiddleware, createTeammateTools, createUnknownToolHandlerMiddleware, createWidgetMiddleware, decrypt, describeCronExpression, embeddingsLatticeManager, encrypt, eventBus, eventBus as eventBusDefault, fileDataToString, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, getAgentClient, getAgentConfig, getAllAgentConfigs, getAllBuiltInSkillMetas, getAllToolDefinitions, getBuiltInSkillContent, getBuiltInSkillMeta, getBuiltInSkillNames, getCheckpointSaver, getChunkBuffer, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getLoggerLattice, getModelLattice, getNextCronTime, getQueueLattice, getSandBoxManager, getScheduleLattice, getStoreLattice, getToolClient, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, hasChunkBuffer, isBuiltInSkill, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, loggerLatticeManager, mcpManager, metricsServerManager, modelLatticeManager, normalizeSandboxName, parseCronExpression, parseSkillFrontmatter, performStringReplacement, queueLatticeManager, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, registerCheckpointSaver, registerChunkBuffer, registerEmbeddingsLattice, registerExistingTool, registerLoggerLattice, registerModelLattice, registerQueueLattice, registerScheduleLattice, registerStoreLattice, registerTeammateAgent, registerToolLattice, registerVectorStoreLattice, sandboxLatticeManager, sanitizeToolCallId, scheduleLatticeManager, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, toolLatticeManager, truncateIfTooLong, unregisterTeammateAgent, updateFileData, validateAgentInput, validateEncryptionKey, validatePath, validateSkillName, validateToolInput, vectorStoreLatticeManager };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,21 +4,21 @@ export { HumanMessage } from '@langchain/core/messages';
|
|
|
4
4
|
import { ZodType } from 'zod/v3';
|
|
5
5
|
import { $ZodType } from 'zod/v4/core';
|
|
6
6
|
import { BaseChatModel, BaseChatModelCallOptions } from '@langchain/core/language_models/chat_models';
|
|
7
|
-
import { BaseLanguageModelInput, LanguageModelLike } from '@langchain/core/language_models/base';
|
|
7
|
+
import { BaseLanguageModelInput, LanguageModelLike, BaseLanguageModel } from '@langchain/core/language_models/base';
|
|
8
8
|
import { CallbackManagerForLLMRun } from '@langchain/core/callbacks/manager';
|
|
9
9
|
import { ChatResult } from '@langchain/core/outputs';
|
|
10
10
|
import * as _axiom_lattice_protocols from '@axiom-lattice/protocols';
|
|
11
|
-
import { LLMConfig, SemanticMetricsServerConfig, MetricMeta, MetricQueryResult, DataSource, SemanticMetricsQueryRequest, SemanticMetricsQueryResponse, TableQueryRequest, TableQueryResponse, ExecuteSqlQueryRequest, ExecuteSqlQueryResponse, MetricsServerType, MetricsServerConfig, ToolConfig, ToolExecutor, AgentConfig, MiddlewareType, GraphBuildOptions, MessageChunk, MessageChunkType, QueueLatticeProtocol, QueueConfig, QueueClient, QueueResult, ScheduleLatticeProtocol, ScheduleConfig, ScheduleClient, ScheduleStorage, TaskHandler, ScheduleOnceOptions, ScheduleCronOptions, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, ThreadStore, AssistantStore, SkillStore, WorkspaceStore, ProjectStore, DatabaseConfigStore, MetricsServerConfigStore, McpServerConfigStore, UserStore, TenantStore, UserTenantLinkStore, Thread, CreateThreadRequest, Assistant, CreateAssistantRequest, Skill, CreateSkillRequest, SkillStoreContext, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, User, CreateUserRequest, UpdateUserRequest, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, LoggerLatticeProtocol, LoggerConfig, LoggerClient, LoggerContext, SkillConfig, SkillClient } from '@axiom-lattice/protocols';
|
|
11
|
+
import { LLMConfig, SemanticMetricsServerConfig, MetricMeta, MetricQueryResult, DataSource, SemanticMetricsQueryRequest, SemanticMetricsQueryResponse, TableQueryRequest, TableQueryResponse, ExecuteSqlQueryRequest, ExecuteSqlQueryResponse, MetricsServerType, MetricsServerConfig, ToolConfig, ToolExecutor, AgentConfig, MiddlewareType, GraphBuildOptions, MessageChunk, MessageChunkType, QueueLatticeProtocol, QueueConfig, QueueClient, QueueResult, ScheduleLatticeProtocol, ScheduleConfig, ScheduleClient, ScheduleStorage, TaskHandler, ScheduleOnceOptions, ScheduleCronOptions, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, ThreadStore, AssistantStore, SkillStore, WorkspaceStore, ProjectStore, DatabaseConfigStore, MetricsServerConfigStore, McpServerConfigStore, UserStore, TenantStore, UserTenantLinkStore, WorkflowTrackingStore, Thread, CreateThreadRequest, Assistant, CreateAssistantRequest, Skill, CreateSkillRequest, SkillStoreContext, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, User, CreateUserRequest, UpdateUserRequest, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, LoggerLatticeProtocol, LoggerConfig, LoggerClient, LoggerContext, SkillConfig, SkillClient } from '@axiom-lattice/protocols';
|
|
12
12
|
export { _axiom_lattice_protocols as Protocols };
|
|
13
13
|
export { AgentConfig, AgentType, GraphBuildOptions, MemoryType } from '@axiom-lattice/protocols';
|
|
14
14
|
import * as langchain from 'langchain';
|
|
15
|
-
import { ReactAgent, AgentMiddleware } from 'langchain';
|
|
15
|
+
import { ReactAgent, AgentMiddleware, StructuredTool as StructuredTool$1, InterruptOnConfig } from 'langchain';
|
|
16
16
|
import z, { z as z$1 } from 'zod';
|
|
17
17
|
import { BaseStore, BaseCheckpointSaver } from '@langchain/langgraph-checkpoint';
|
|
18
18
|
import * as _langchain_core_tools from '@langchain/core/tools';
|
|
19
19
|
import { StructuredTool } from '@langchain/core/tools';
|
|
20
20
|
import * as _langchain_langgraph from '@langchain/langgraph';
|
|
21
|
-
import { CompiledStateGraph, CommandParams } from '@langchain/langgraph';
|
|
21
|
+
import { CompiledStateGraph, CommandParams, AnnotationRoot } from '@langchain/langgraph';
|
|
22
22
|
import { ReplaySubject } from 'rxjs';
|
|
23
23
|
import { Embeddings } from '@langchain/core/embeddings';
|
|
24
24
|
import { VectorStore } from '@langchain/core/vectorstores';
|
|
@@ -26,6 +26,8 @@ import { Connection, MultiServerMCPClient } from '@langchain/mcp-adapters';
|
|
|
26
26
|
import { SandboxClient } from '@agent-infra/sandbox';
|
|
27
27
|
import { Sandbox } from 'e2b';
|
|
28
28
|
import { Sandbox as Sandbox$1 } from '@daytonaio/sdk';
|
|
29
|
+
import { Runnable } from '@langchain/core/runnables';
|
|
30
|
+
import { InteropZodObject } from '@langchain/core/utils/types';
|
|
29
31
|
|
|
30
32
|
/**
|
|
31
33
|
* BaseLatticeManager - 抽象基类,为各种Lattice管理器提供通用功能
|
|
@@ -2660,6 +2662,7 @@ type StoreTypeMap = {
|
|
|
2660
2662
|
tenant: TenantStore;
|
|
2661
2663
|
userTenantLink: UserTenantLinkStore;
|
|
2662
2664
|
threadMessageQueue: IMessageQueueStore;
|
|
2665
|
+
workflowTracking: WorkflowTrackingStore;
|
|
2663
2666
|
};
|
|
2664
2667
|
/**
|
|
2665
2668
|
* Store type keys
|
|
@@ -5266,6 +5269,82 @@ declare function buildGrepResultsDict(matches: GrepMatch[]): Record<string, Arra
|
|
|
5266
5269
|
*/
|
|
5267
5270
|
declare function formatGrepMatches(matches: GrepMatch[], outputMode: "files_with_matches" | "content" | "count"): string;
|
|
5268
5271
|
|
|
5272
|
+
/**
|
|
5273
|
+
* Type definitions for pre-compiled agents.
|
|
5274
|
+
*/
|
|
5275
|
+
interface CompiledSubAgent {
|
|
5276
|
+
/** The key of the agent */
|
|
5277
|
+
key: string;
|
|
5278
|
+
/** The name of the agent */
|
|
5279
|
+
name: string;
|
|
5280
|
+
/** The description of the agent */
|
|
5281
|
+
description: string;
|
|
5282
|
+
/** The agent instance */
|
|
5283
|
+
runnable: AgentClient | Runnable;
|
|
5284
|
+
}
|
|
5285
|
+
/**
|
|
5286
|
+
* Type definitions for subagents
|
|
5287
|
+
*/
|
|
5288
|
+
interface SubAgent {
|
|
5289
|
+
/** The key of the agent */
|
|
5290
|
+
key: string;
|
|
5291
|
+
/** The name of the agent */
|
|
5292
|
+
name: string;
|
|
5293
|
+
/** The description of the agent */
|
|
5294
|
+
description: string;
|
|
5295
|
+
/** The system prompt to use for the agent */
|
|
5296
|
+
systemPrompt: string;
|
|
5297
|
+
/** The tools to use for the agent (tool instances, not names). Defaults to defaultTools */
|
|
5298
|
+
tools?: StructuredTool$1[];
|
|
5299
|
+
/** The model for the agent. Defaults to default_model */
|
|
5300
|
+
model?: LanguageModelLike | string;
|
|
5301
|
+
/** Additional middleware to append after default_middleware */
|
|
5302
|
+
middleware?: AgentMiddleware[];
|
|
5303
|
+
/** The tool configs to use for the agent */
|
|
5304
|
+
interruptOn?: Record<string, boolean | InterruptOnConfig>;
|
|
5305
|
+
}
|
|
5306
|
+
|
|
5307
|
+
interface SchedulerMiddlewareOptions {
|
|
5308
|
+
defaultMaxRetries?: number;
|
|
5309
|
+
}
|
|
5310
|
+
declare function createSchedulerMiddleware(options?: SchedulerMiddlewareOptions): AgentMiddleware;
|
|
5311
|
+
|
|
5312
|
+
interface TopologyEdge {
|
|
5313
|
+
from: string;
|
|
5314
|
+
to: string;
|
|
5315
|
+
purpose: string;
|
|
5316
|
+
}
|
|
5317
|
+
|
|
5318
|
+
interface CreateProcessingAgentParams<ContextSchema extends AnnotationRoot<any> | InteropZodObject = AnnotationRoot<any>> {
|
|
5319
|
+
model?: BaseLanguageModel | string;
|
|
5320
|
+
tools?: StructuredTool[];
|
|
5321
|
+
systemPrompt?: string;
|
|
5322
|
+
middleware?: AgentMiddleware[];
|
|
5323
|
+
subagents?: (SubAgent | CompiledSubAgent)[];
|
|
5324
|
+
responseFormat?: any;
|
|
5325
|
+
contextSchema?: ContextSchema;
|
|
5326
|
+
checkpointer?: BaseCheckpointSaver | boolean;
|
|
5327
|
+
store?: BaseStore;
|
|
5328
|
+
backend?: BackendProtocol | ((config: {
|
|
5329
|
+
state: unknown;
|
|
5330
|
+
store?: BaseStore;
|
|
5331
|
+
}) => Promise<BackendProtocol>);
|
|
5332
|
+
interruptOn?: Record<string, boolean | InterruptOnConfig>;
|
|
5333
|
+
name?: string;
|
|
5334
|
+
skills?: string[];
|
|
5335
|
+
topologyEdges: TopologyEdge[];
|
|
5336
|
+
}
|
|
5337
|
+
/**
|
|
5338
|
+
* Create a Processing Agent with middleware-based architecture.
|
|
5339
|
+
*
|
|
5340
|
+
* Same as createDeepAgent, but replaces todoListMiddleware with
|
|
5341
|
+
* topologyMiddleware for workflow topology enforcement.
|
|
5342
|
+
*
|
|
5343
|
+
* @param params Configuration parameters for the agent
|
|
5344
|
+
* @returns ReactAgent instance ready for invocation
|
|
5345
|
+
*/
|
|
5346
|
+
declare function createProcessingAgent<ContextSchema extends AnnotationRoot<any> | InteropZodObject = AnnotationRoot<any>>(params: CreateProcessingAgentParams<ContextSchema>): ReactAgent<any, any, ContextSchema, any>;
|
|
5347
|
+
|
|
5269
5348
|
/**
|
|
5270
5349
|
* Event bus service
|
|
5271
5350
|
* Used for event publishing and subscription between internal system components
|
|
@@ -5319,6 +5398,9 @@ declare class AgentManager {
|
|
|
5319
5398
|
command?: any;
|
|
5320
5399
|
"x-tenant-id": string;
|
|
5321
5400
|
runConfig?: Record<string, unknown>;
|
|
5401
|
+
main_thread_id?: string;
|
|
5402
|
+
main_tenant_id?: string;
|
|
5403
|
+
main_assistant_id?: string;
|
|
5322
5404
|
}, return_agent_state?: boolean): Promise<unknown>;
|
|
5323
5405
|
}
|
|
5324
5406
|
|
|
@@ -5413,6 +5495,14 @@ interface AgentThreadInterface {
|
|
|
5413
5495
|
project_id?: string;
|
|
5414
5496
|
custom_run_config?: any;
|
|
5415
5497
|
}
|
|
5498
|
+
interface AsyncTaskRecord {
|
|
5499
|
+
taskId: string;
|
|
5500
|
+
assistantId: string;
|
|
5501
|
+
description: string;
|
|
5502
|
+
status: 'running' | 'completed' | 'failed' | 'cancelled';
|
|
5503
|
+
createdAt: number;
|
|
5504
|
+
completedAt?: number;
|
|
5505
|
+
}
|
|
5416
5506
|
declare class Agent {
|
|
5417
5507
|
private queueStore;
|
|
5418
5508
|
private stateChecker;
|
|
@@ -5426,6 +5516,7 @@ declare class Agent {
|
|
|
5426
5516
|
custom_run_config: any;
|
|
5427
5517
|
queueMode: ThreadQueueConfig;
|
|
5428
5518
|
private isWaitingForQueueEnd;
|
|
5519
|
+
asyncTasks: AsyncTaskRecord[];
|
|
5429
5520
|
constructor({ assistant_id, thread_id, tenant_id, workspace_id, project_id, custom_run_config, }: AgentThreadInterface);
|
|
5430
5521
|
private getHumanPendingContent;
|
|
5431
5522
|
/**
|
|
@@ -5526,6 +5617,10 @@ declare class Agent {
|
|
|
5526
5617
|
* Publish lifecycle event (internal use)
|
|
5527
5618
|
*/
|
|
5528
5619
|
private publish;
|
|
5620
|
+
addAsyncTask(task: AsyncTaskRecord): void;
|
|
5621
|
+
getAsyncTasks(): AsyncTaskRecord[];
|
|
5622
|
+
getAsyncTask(taskId: string): AsyncTaskRecord | undefined;
|
|
5623
|
+
updateAsyncTaskStatus(taskId: string, status: AsyncTaskRecord['status']): void;
|
|
5529
5624
|
}
|
|
5530
5625
|
|
|
5531
5626
|
/**
|
|
@@ -5710,9 +5805,4 @@ interface UnknownToolHandlerConfig {
|
|
|
5710
5805
|
*/
|
|
5711
5806
|
declare function createUnknownToolHandlerMiddleware(config?: UnknownToolHandlerConfig): AgentMiddleware;
|
|
5712
5807
|
|
|
5713
|
-
|
|
5714
|
-
defaultMaxRetries?: number;
|
|
5715
|
-
}
|
|
5716
|
-
declare function createSchedulerMiddleware(options?: SchedulerMiddlewareOptions): AgentMiddleware;
|
|
5717
|
-
|
|
5718
|
-
export { AGENT_TASK_EVENT, type AddMessageParams, Agent, type AgentClient, type AgentExecutor, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, AgentManager, type AgentStreamExecutor, type AgentThreadInterface, BUILTIN_SKILLS, type BackendFactory, type BackendProtocol, type BufferStats, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, type ColumnInfo, CompositeBackend, ConsoleLoggerClient, type CreateSandboxProviderConfig, type CronFields, CustomMetricsClient, type DatabaseConfig, type DatabaseType, DaytonaInstance, DaytonaProvider, type DaytonaProviderConfig, DefaultScheduleClient, E2BInstance, E2BProvider, type E2BProviderConfig, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type EnsureMicrosandboxInput, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type FsEntry, type GrepMatch, type IMessageQueueStore, type IMetricsServerClient, type ISqlDatabase, InMemoryAssistantStore, InMemoryChunkBuffer, InMemoryDatabaseConfigStore, InMemoryMailboxStore, InMemoryTaskListStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserStore, InMemoryUserTenantLinkStore, LINE_NUMBER_WIDTH, type LangGraphStateChecker, type LoggerLattice, LoggerLatticeManager, MAX_LINE_LENGTH, type MailboxMessage, type MailboxStore, type McpLatticeInterface, McpLatticeManager, type McpServerInfo, MemoryBackend, MemoryLatticeManager, MemoryQueueClient, MemoryScheduleStorage, type MessageCompletedEvent, type MessageFailedEvent, type MessageStartedEvent, MessageType, MetricsServerManager, MicrosandboxRemoteInstance, MicrosandboxRemoteProvider, type MicrosandboxRemoteProviderClient, type MicrosandboxRemoteProviderConfig, MicrosandboxServiceClient, type MicrosandboxServiceClientConfig, type MicrosandboxShellExecInput, type ModelConfig, type ModelLatticeInterface, ModelLatticeManager, type PendingMessage, PinoLoggerClient, PostgresDatabase, PrometheusClient, type QueryResult, type QueueLattice, QueueLatticeManager, QueueMode, type QueuePendingEvent, RemoteSandboxInstance, RemoteSandboxProvider, type RemoteSandboxProviderConfig, type RunSandboxConfig, type RuntimeModelConfig, type SandboxFileInfo, type SandboxFileService, SandboxFilesystem, type SandboxInstance, type SandboxIsolationLevel, SandboxLatticeManager, type SandboxManagerProtocol, type SandboxProvider, type SandboxShellService, SandboxSkillStore, type SandboxSkillStoreOptions, type SandboxVolumeDefinition, type ScheduleLattice, ScheduleLatticeManager, type SchedulerMiddlewareOptions, SemanticMetricsClient, type SkillLattice, SkillLatticeManager, type SkillMeta, type SkillResource, SqlDatabaseManager, type StateAndStore, StateBackend, StoreBackend, type StoreLattice, StoreLatticeManager, type StoreType, type StoreTypeMap, TOOL_RESULT_TOKEN_LIMIT, TRUNCATION_GUIDANCE, type TableInfo, type TableSchema, type TaskEvent, type TaskListStore, type TaskSpec, TaskStatus, type TaskUpdatable, TeamAgentGraphBuilder, type TeamConfig, type TeamMiddlewareOptions, type TeamTask, type TeammateSpec, type TeammateToolsOptions, type ThreadBuffer, type ThreadBufferConfig, type ThreadBusyEvent, type ThreadIdleEvent, type ThreadInfo, type ThreadQueueConfig, type ThreadState, ThreadStatus, type ThreadStatusChangedEvent, type ToolDefinition, type ToolLattice, ToolLatticeManager, type UnknownToolHandlerConfig, type VectorStoreLatticeInterface, VectorStoreLatticeManager, VolumeFilesystem, type VolumeFsClient, type WriteResult, agentInstanceManager, agentLatticeManager, buildGrepResultsDict, buildNamedVolumeName, buildSandboxMetadataEnv, buildSkillFile, checkEmptyContent, clearEncryptionKeyCache, computeSandboxName, createAgentTeam, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createModelSelectorMiddleware, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createSandboxProvider, createSchedulerMiddleware, createTeamMiddleware, createTeammateTools, createUnknownToolHandlerMiddleware, createWidgetMiddleware, decrypt, describeCronExpression, embeddingsLatticeManager, encrypt, eventBus, eventBus as eventBusDefault, fileDataToString, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, getAgentClient, getAgentConfig, getAllAgentConfigs, getAllBuiltInSkillMetas, getAllToolDefinitions, getBuiltInSkillContent, getBuiltInSkillMeta, getBuiltInSkillNames, getCheckpointSaver, getChunkBuffer, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getLoggerLattice, getModelLattice, getNextCronTime, getQueueLattice, getSandBoxManager, getScheduleLattice, getStoreLattice, getToolClient, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, hasChunkBuffer, isBuiltInSkill, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, loggerLatticeManager, mcpManager, metricsServerManager, modelLatticeManager, normalizeSandboxName, parseCronExpression, parseSkillFrontmatter, performStringReplacement, queueLatticeManager, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, registerCheckpointSaver, registerChunkBuffer, registerEmbeddingsLattice, registerExistingTool, registerLoggerLattice, registerModelLattice, registerQueueLattice, registerScheduleLattice, registerStoreLattice, registerTeammateAgent, registerToolLattice, registerVectorStoreLattice, sandboxLatticeManager, sanitizeToolCallId, scheduleLatticeManager, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, toolLatticeManager, truncateIfTooLong, unregisterTeammateAgent, updateFileData, validateAgentInput, validateEncryptionKey, validatePath, validateSkillName, validateToolInput, vectorStoreLatticeManager };
|
|
5808
|
+
export { AGENT_TASK_EVENT, type AddMessageParams, Agent, type AgentClient, type AgentExecutor, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, AgentManager, type AgentStreamExecutor, type AgentThreadInterface, BUILTIN_SKILLS, type BackendFactory, type BackendProtocol, type BufferStats, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, type ColumnInfo, CompositeBackend, ConsoleLoggerClient, type CreateProcessingAgentParams, type CreateSandboxProviderConfig, type CronFields, CustomMetricsClient, type DatabaseConfig, type DatabaseType, DaytonaInstance, DaytonaProvider, type DaytonaProviderConfig, DefaultScheduleClient, E2BInstance, E2BProvider, type E2BProviderConfig, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type EnsureMicrosandboxInput, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type FsEntry, type GrepMatch, type IMessageQueueStore, type IMetricsServerClient, type ISqlDatabase, InMemoryAssistantStore, InMemoryChunkBuffer, InMemoryDatabaseConfigStore, InMemoryMailboxStore, InMemoryTaskListStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserStore, InMemoryUserTenantLinkStore, LINE_NUMBER_WIDTH, type LangGraphStateChecker, type LoggerLattice, LoggerLatticeManager, MAX_LINE_LENGTH, type MailboxMessage, type MailboxStore, type McpLatticeInterface, McpLatticeManager, type McpServerInfo, MemoryBackend, MemoryLatticeManager, MemoryQueueClient, MemoryScheduleStorage, type MessageCompletedEvent, type MessageFailedEvent, type MessageStartedEvent, MessageType, MetricsServerManager, MicrosandboxRemoteInstance, MicrosandboxRemoteProvider, type MicrosandboxRemoteProviderClient, type MicrosandboxRemoteProviderConfig, MicrosandboxServiceClient, type MicrosandboxServiceClientConfig, type MicrosandboxShellExecInput, type ModelConfig, type ModelLatticeInterface, ModelLatticeManager, type PendingMessage, PinoLoggerClient, PostgresDatabase, PrometheusClient, type QueryResult, type QueueLattice, QueueLatticeManager, QueueMode, type QueuePendingEvent, RemoteSandboxInstance, RemoteSandboxProvider, type RemoteSandboxProviderConfig, type RunSandboxConfig, type RuntimeModelConfig, type SandboxFileInfo, type SandboxFileService, SandboxFilesystem, type SandboxInstance, type SandboxIsolationLevel, SandboxLatticeManager, type SandboxManagerProtocol, type SandboxProvider, type SandboxShellService, SandboxSkillStore, type SandboxSkillStoreOptions, type SandboxVolumeDefinition, type ScheduleLattice, ScheduleLatticeManager, type SchedulerMiddlewareOptions, SemanticMetricsClient, type SkillLattice, SkillLatticeManager, type SkillMeta, type SkillResource, SqlDatabaseManager, type StateAndStore, StateBackend, StoreBackend, type StoreLattice, StoreLatticeManager, type StoreType, type StoreTypeMap, TOOL_RESULT_TOKEN_LIMIT, TRUNCATION_GUIDANCE, type TableInfo, type TableSchema, type TaskEvent, type TaskListStore, type TaskSpec, TaskStatus, type TaskUpdatable, TeamAgentGraphBuilder, type TeamConfig, type TeamMiddlewareOptions, type TeamTask, type TeammateSpec, type TeammateToolsOptions, type ThreadBuffer, type ThreadBufferConfig, type ThreadBusyEvent, type ThreadIdleEvent, type ThreadInfo, type ThreadQueueConfig, type ThreadState, ThreadStatus, type ThreadStatusChangedEvent, type ToolDefinition, type ToolLattice, ToolLatticeManager, type TopologyEdge, type UnknownToolHandlerConfig, type VectorStoreLatticeInterface, VectorStoreLatticeManager, VolumeFilesystem, type VolumeFsClient, type WriteResult, agentInstanceManager, agentLatticeManager, buildGrepResultsDict, buildNamedVolumeName, buildSandboxMetadataEnv, buildSkillFile, checkEmptyContent, clearEncryptionKeyCache, computeSandboxName, createAgentTeam, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createModelSelectorMiddleware, createProcessingAgent, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createSandboxProvider, createSchedulerMiddleware, createTeamMiddleware, createTeammateTools, createUnknownToolHandlerMiddleware, createWidgetMiddleware, decrypt, describeCronExpression, embeddingsLatticeManager, encrypt, eventBus, eventBus as eventBusDefault, fileDataToString, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, getAgentClient, getAgentConfig, getAllAgentConfigs, getAllBuiltInSkillMetas, getAllToolDefinitions, getBuiltInSkillContent, getBuiltInSkillMeta, getBuiltInSkillNames, getCheckpointSaver, getChunkBuffer, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getLoggerLattice, getModelLattice, getNextCronTime, getQueueLattice, getSandBoxManager, getScheduleLattice, getStoreLattice, getToolClient, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, hasChunkBuffer, isBuiltInSkill, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, loggerLatticeManager, mcpManager, metricsServerManager, modelLatticeManager, normalizeSandboxName, parseCronExpression, parseSkillFrontmatter, performStringReplacement, queueLatticeManager, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, registerCheckpointSaver, registerChunkBuffer, registerEmbeddingsLattice, registerExistingTool, registerLoggerLattice, registerModelLattice, registerQueueLattice, registerScheduleLattice, registerStoreLattice, registerTeammateAgent, registerToolLattice, registerVectorStoreLattice, sandboxLatticeManager, sanitizeToolCallId, scheduleLatticeManager, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, toolLatticeManager, truncateIfTooLong, unregisterTeammateAgent, updateFileData, validateAgentInput, validateEncryptionKey, validatePath, validateSkillName, validateToolInput, vectorStoreLatticeManager };
|