@axiom-lattice/core 2.1.39 → 2.1.40
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 +25 -3
- package/dist/index.d.ts +25 -3
- package/dist/index.js +2687 -2615
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2661 -2590
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1410,7 +1410,7 @@ interface AgentBuildParams {
|
|
|
1410
1410
|
}>;
|
|
1411
1411
|
prompt: string;
|
|
1412
1412
|
stateSchema?: z$1.ZodObject<any, any, any, any, any>;
|
|
1413
|
-
tenantId
|
|
1413
|
+
tenantId?: string;
|
|
1414
1414
|
}
|
|
1415
1415
|
|
|
1416
1416
|
/**
|
|
@@ -4928,6 +4928,7 @@ interface QueueMessage {
|
|
|
4928
4928
|
message: string;
|
|
4929
4929
|
};
|
|
4930
4930
|
command?: CommandParams<any>;
|
|
4931
|
+
custom_run_config?: any;
|
|
4931
4932
|
}
|
|
4932
4933
|
interface ThreadStatusChangedEvent {
|
|
4933
4934
|
type: "thread:status:changed";
|
|
@@ -5013,7 +5014,7 @@ declare class Agent {
|
|
|
5013
5014
|
chunkStream(message_id: string, known_content?: string): {
|
|
5014
5015
|
[Symbol.asyncIterator]: () => AsyncGenerator<MessageChunk, void, unknown>;
|
|
5015
5016
|
};
|
|
5016
|
-
getLatticeClientAndRuntimeConfig(): Promise<{
|
|
5017
|
+
getLatticeClientAndRuntimeConfig(custom_run_config?: any): Promise<{
|
|
5017
5018
|
runnable_agent: AgentClient;
|
|
5018
5019
|
runConfig: any;
|
|
5019
5020
|
}>;
|
|
@@ -5191,4 +5192,25 @@ declare function clearEncryptionKeyCache(): void;
|
|
|
5191
5192
|
*/
|
|
5192
5193
|
declare function createWidgetMiddleware(): AgentMiddleware;
|
|
5193
5194
|
|
|
5194
|
-
|
|
5195
|
+
/**
|
|
5196
|
+
* Runtime model configuration interface
|
|
5197
|
+
*/
|
|
5198
|
+
interface RuntimeModelConfig {
|
|
5199
|
+
modelKey: string;
|
|
5200
|
+
temperature?: number;
|
|
5201
|
+
maxTokens?: number;
|
|
5202
|
+
topP?: number;
|
|
5203
|
+
frequencyPenalty?: number;
|
|
5204
|
+
presencePenalty?: number;
|
|
5205
|
+
}
|
|
5206
|
+
/**
|
|
5207
|
+
* Create middleware that dynamically selects model based on runConfig.modelConfig
|
|
5208
|
+
*
|
|
5209
|
+
* This middleware intercepts model calls and replaces the model if a modelConfig
|
|
5210
|
+
* is specified in the runConfig. This allows per-message model selection
|
|
5211
|
+
* without modifying the agent instance. If no modelConfig is provided, uses
|
|
5212
|
+
* the Agent's default model.
|
|
5213
|
+
*/
|
|
5214
|
+
declare function createModelSelectorMiddleware(): AgentMiddleware;
|
|
5215
|
+
|
|
5216
|
+
export { AGENT_TASK_EVENT, type AddMessageParams, Agent, type AgentClient, type AgentExecutor, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, AgentManager, type AgentStreamExecutor, type AgentThreadInterface, type BackendFactory, type BackendProtocol, type BufferStats, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, type ColumnInfo, CompositeBackend, ConsoleLoggerClient, type CronFields, CustomMetricsClient, type DatabaseConfig, type DatabaseType, DefaultScheduleClient, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type GrepMatch, type IMessageQueueStore, type IMetricsServerClient, type ISqlDatabase, InMemoryAssistantStore, InMemoryChunkBuffer, InMemoryDatabaseConfigStore, InMemoryMailboxStore, InMemoryTaskListStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserStore, InMemoryUserTenantLinkStore, type IsolatedLevel, 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, type ModelConfig, type ModelLatticeInterface, ModelLatticeManager, type PendingMessage, PinoLoggerClient, PostgresDatabase, PrometheusClient, type QueryResult, type QueueLattice, QueueLatticeManager, QueueMode, type QueuePendingEvent, type RunSandboxConfig, type RuntimeModelConfig, SandboxFilesystem, SandboxLatticeManager, type SandboxManagerProtocol, SandboxSkillStore, type SandboxSkillStoreOptions, type ScheduleLattice, ScheduleLatticeManager, SemanticMetricsClient, type SkillLattice, SkillLatticeManager, 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 VectorStoreLatticeInterface, VectorStoreLatticeManager, type WriteResult, agentInstanceManager, agentLatticeManager, buildGrepResultsDict, checkEmptyContent, clearEncryptionKeyCache, createAgentTeam, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createModelSelectorMiddleware, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createTeamMiddleware, createTeammateTools, createWidgetMiddleware, decrypt, describeCronExpression, embeddingsLatticeManager, encrypt, eventBus, eventBus as eventBusDefault, fileDataToString, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, getAgentClient, getAgentConfig, getAllAgentConfigs, getAllToolDefinitions, getCheckpointSaver, getChunkBuffer, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getLoggerLattice, getModelLattice, getNextCronTime, getQueueLattice, getSandBoxManager, getScheduleLattice, getStoreLattice, getToolClient, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, hasChunkBuffer, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, loggerLatticeManager, mcpManager, metricsServerManager, modelLatticeManager, normalizeSandboxName, parseCronExpression, 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
|
@@ -1410,7 +1410,7 @@ interface AgentBuildParams {
|
|
|
1410
1410
|
}>;
|
|
1411
1411
|
prompt: string;
|
|
1412
1412
|
stateSchema?: z$1.ZodObject<any, any, any, any, any>;
|
|
1413
|
-
tenantId
|
|
1413
|
+
tenantId?: string;
|
|
1414
1414
|
}
|
|
1415
1415
|
|
|
1416
1416
|
/**
|
|
@@ -4928,6 +4928,7 @@ interface QueueMessage {
|
|
|
4928
4928
|
message: string;
|
|
4929
4929
|
};
|
|
4930
4930
|
command?: CommandParams<any>;
|
|
4931
|
+
custom_run_config?: any;
|
|
4931
4932
|
}
|
|
4932
4933
|
interface ThreadStatusChangedEvent {
|
|
4933
4934
|
type: "thread:status:changed";
|
|
@@ -5013,7 +5014,7 @@ declare class Agent {
|
|
|
5013
5014
|
chunkStream(message_id: string, known_content?: string): {
|
|
5014
5015
|
[Symbol.asyncIterator]: () => AsyncGenerator<MessageChunk, void, unknown>;
|
|
5015
5016
|
};
|
|
5016
|
-
getLatticeClientAndRuntimeConfig(): Promise<{
|
|
5017
|
+
getLatticeClientAndRuntimeConfig(custom_run_config?: any): Promise<{
|
|
5017
5018
|
runnable_agent: AgentClient;
|
|
5018
5019
|
runConfig: any;
|
|
5019
5020
|
}>;
|
|
@@ -5191,4 +5192,25 @@ declare function clearEncryptionKeyCache(): void;
|
|
|
5191
5192
|
*/
|
|
5192
5193
|
declare function createWidgetMiddleware(): AgentMiddleware;
|
|
5193
5194
|
|
|
5194
|
-
|
|
5195
|
+
/**
|
|
5196
|
+
* Runtime model configuration interface
|
|
5197
|
+
*/
|
|
5198
|
+
interface RuntimeModelConfig {
|
|
5199
|
+
modelKey: string;
|
|
5200
|
+
temperature?: number;
|
|
5201
|
+
maxTokens?: number;
|
|
5202
|
+
topP?: number;
|
|
5203
|
+
frequencyPenalty?: number;
|
|
5204
|
+
presencePenalty?: number;
|
|
5205
|
+
}
|
|
5206
|
+
/**
|
|
5207
|
+
* Create middleware that dynamically selects model based on runConfig.modelConfig
|
|
5208
|
+
*
|
|
5209
|
+
* This middleware intercepts model calls and replaces the model if a modelConfig
|
|
5210
|
+
* is specified in the runConfig. This allows per-message model selection
|
|
5211
|
+
* without modifying the agent instance. If no modelConfig is provided, uses
|
|
5212
|
+
* the Agent's default model.
|
|
5213
|
+
*/
|
|
5214
|
+
declare function createModelSelectorMiddleware(): AgentMiddleware;
|
|
5215
|
+
|
|
5216
|
+
export { AGENT_TASK_EVENT, type AddMessageParams, Agent, type AgentClient, type AgentExecutor, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, AgentManager, type AgentStreamExecutor, type AgentThreadInterface, type BackendFactory, type BackendProtocol, type BufferStats, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, type ColumnInfo, CompositeBackend, ConsoleLoggerClient, type CronFields, CustomMetricsClient, type DatabaseConfig, type DatabaseType, DefaultScheduleClient, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type GrepMatch, type IMessageQueueStore, type IMetricsServerClient, type ISqlDatabase, InMemoryAssistantStore, InMemoryChunkBuffer, InMemoryDatabaseConfigStore, InMemoryMailboxStore, InMemoryTaskListStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserStore, InMemoryUserTenantLinkStore, type IsolatedLevel, 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, type ModelConfig, type ModelLatticeInterface, ModelLatticeManager, type PendingMessage, PinoLoggerClient, PostgresDatabase, PrometheusClient, type QueryResult, type QueueLattice, QueueLatticeManager, QueueMode, type QueuePendingEvent, type RunSandboxConfig, type RuntimeModelConfig, SandboxFilesystem, SandboxLatticeManager, type SandboxManagerProtocol, SandboxSkillStore, type SandboxSkillStoreOptions, type ScheduleLattice, ScheduleLatticeManager, SemanticMetricsClient, type SkillLattice, SkillLatticeManager, 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 VectorStoreLatticeInterface, VectorStoreLatticeManager, type WriteResult, agentInstanceManager, agentLatticeManager, buildGrepResultsDict, checkEmptyContent, clearEncryptionKeyCache, createAgentTeam, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createModelSelectorMiddleware, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createTeamMiddleware, createTeammateTools, createWidgetMiddleware, decrypt, describeCronExpression, embeddingsLatticeManager, encrypt, eventBus, eventBus as eventBusDefault, fileDataToString, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, getAgentClient, getAgentConfig, getAllAgentConfigs, getAllToolDefinitions, getCheckpointSaver, getChunkBuffer, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getLoggerLattice, getModelLattice, getNextCronTime, getQueueLattice, getSandBoxManager, getScheduleLattice, getStoreLattice, getToolClient, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, hasChunkBuffer, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, loggerLatticeManager, mcpManager, metricsServerManager, modelLatticeManager, normalizeSandboxName, parseCronExpression, 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 };
|