@axiom-lattice/core 2.1.55 → 2.1.56

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 CHANGED
@@ -23,10 +23,9 @@ import { ReplaySubject } from 'rxjs';
23
23
  import { Embeddings } from '@langchain/core/embeddings';
24
24
  import { VectorStore } from '@langchain/core/vectorstores';
25
25
  import { Connection, MultiServerMCPClient } from '@langchain/mcp-adapters';
26
- import { FsEntry, Sandbox } from 'microsandbox';
27
26
  import { SandboxClient } from '@agent-infra/sandbox';
28
- import { Sandbox as Sandbox$1 } from 'e2b';
29
- import { Sandbox as Sandbox$2 } from '@daytonaio/sdk';
27
+ import { Sandbox } from 'e2b';
28
+ import { Sandbox as Sandbox$1 } from '@daytonaio/sdk';
30
29
 
31
30
  /**
32
31
  * BaseLatticeManager - 抽象基类,为各种Lattice管理器提供通用功能
@@ -3723,6 +3722,13 @@ declare class McpLatticeManager extends BaseLatticeManager<McpLatticeInterface>
3723
3722
  }
3724
3723
  declare const mcpManager: McpLatticeManager;
3725
3724
 
3725
+ interface FsEntry {
3726
+ path: string;
3727
+ kind: string;
3728
+ size: number;
3729
+ mode: number;
3730
+ modified: string | null;
3731
+ }
3726
3732
  interface VolumeFsClient {
3727
3733
  read(path: string): Promise<string>;
3728
3734
  write(path: string, content: string): Promise<void>;
@@ -3740,25 +3746,6 @@ interface SandboxProvider {
3740
3746
  createVolumeFsClient?(volumeName: string): VolumeFsClient;
3741
3747
  }
3742
3748
 
3743
- interface MicrosandboxProviderConfig {
3744
- image?: string;
3745
- cpus?: number;
3746
- memoryMib?: number;
3747
- env?: Record<string, string>;
3748
- }
3749
- declare const defaultMicrosandboxConfig: MicrosandboxProviderConfig;
3750
- declare class MicrosandboxProvider implements SandboxProvider {
3751
- private config;
3752
- private instances;
3753
- private creating;
3754
- constructor(config?: MicrosandboxProviderConfig);
3755
- createSandbox(name: string, config?: RunSandboxConfig): Promise<SandboxInstance>;
3756
- getSandbox(name: string): Promise<SandboxInstance>;
3757
- stopSandbox(name: string): Promise<void>;
3758
- deleteSandbox(name: string): Promise<void>;
3759
- listSandboxes(): Promise<SandboxInstance[]>;
3760
- }
3761
-
3762
3749
  type SandboxLifecycleResponse = {
3763
3750
  name: string;
3764
3751
  status: string;
@@ -3944,13 +3931,12 @@ declare class DaytonaProvider implements SandboxProvider {
3944
3931
  interface CreateSandboxProviderConfig {
3945
3932
  /**
3946
3933
  * Provider type
3947
- * - "microsandbox": local microVM via microsandbox SDK (requires KVM/Hypervisor)
3948
3934
  * - "microsandbox-remote": remote microsandbox-service via dedicated HTTP client
3949
3935
  * - "remote": remote sandbox service via @agent-infra/sandbox HTTP client
3950
3936
  * - "e2b": E2B cloud sandbox (https://e2b.dev)
3951
3937
  * - "daytona": Daytona cloud sandbox (https://daytona.io)
3952
3938
  */
3953
- type: "microsandbox" | "microsandbox-remote" | "remote" | "e2b" | "daytona";
3939
+ type: "microsandbox-remote" | "remote" | "e2b" | "daytona";
3954
3940
  /**
3955
3941
  * Required when type = "remote"
3956
3942
  */
@@ -4012,18 +3998,6 @@ interface CreateSandboxProviderConfig {
4012
3998
  */
4013
3999
  declare function createSandboxProvider(config: CreateSandboxProviderConfig): SandboxProvider;
4014
4000
 
4015
- declare class MicrosandboxInstance implements SandboxInstance {
4016
- private native;
4017
- readonly name: string;
4018
- constructor(name: string, native: Sandbox);
4019
- start(): Promise<void>;
4020
- stop(): Promise<void>;
4021
- kill(): Promise<void>;
4022
- getStatus(): Promise<"running" | "stopped" | "unknown">;
4023
- readonly file: SandboxFileService;
4024
- readonly shell: SandboxShellService;
4025
- }
4026
-
4027
4001
  declare class MicrosandboxRemoteInstance implements SandboxInstance {
4028
4002
  private readonly client;
4029
4003
  readonly name: string;
@@ -4051,7 +4025,7 @@ declare class RemoteSandboxInstance implements SandboxInstance {
4051
4025
  declare class E2BInstance implements SandboxInstance {
4052
4026
  private native;
4053
4027
  readonly name: string;
4054
- constructor(name: string, native: Sandbox$1);
4028
+ constructor(name: string, native: Sandbox);
4055
4029
  start(): Promise<void>;
4056
4030
  stop(): Promise<void>;
4057
4031
  kill(): Promise<void>;
@@ -4063,7 +4037,7 @@ declare class E2BInstance implements SandboxInstance {
4063
4037
  declare class DaytonaInstance implements SandboxInstance {
4064
4038
  private native;
4065
4039
  readonly name: string;
4066
- constructor(name: string, native: Sandbox$2);
4040
+ constructor(name: string, native: Sandbox$1);
4067
4041
  start(): Promise<void>;
4068
4042
  stop(): Promise<void>;
4069
4043
  kill(): Promise<void>;
@@ -5697,4 +5671,4 @@ interface SchedulerMiddlewareOptions {
5697
5671
  }
5698
5672
  declare function createSchedulerMiddleware(options?: SchedulerMiddlewareOptions): AgentMiddleware;
5699
5673
 
5700
- 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 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 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, MicrosandboxInstance, MicrosandboxProvider, type MicrosandboxProviderConfig, 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, defaultMicrosandboxConfig, 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, 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 };
5674
+ 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 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, 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, 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
@@ -23,10 +23,9 @@ import { ReplaySubject } from 'rxjs';
23
23
  import { Embeddings } from '@langchain/core/embeddings';
24
24
  import { VectorStore } from '@langchain/core/vectorstores';
25
25
  import { Connection, MultiServerMCPClient } from '@langchain/mcp-adapters';
26
- import { FsEntry, Sandbox } from 'microsandbox';
27
26
  import { SandboxClient } from '@agent-infra/sandbox';
28
- import { Sandbox as Sandbox$1 } from 'e2b';
29
- import { Sandbox as Sandbox$2 } from '@daytonaio/sdk';
27
+ import { Sandbox } from 'e2b';
28
+ import { Sandbox as Sandbox$1 } from '@daytonaio/sdk';
30
29
 
31
30
  /**
32
31
  * BaseLatticeManager - 抽象基类,为各种Lattice管理器提供通用功能
@@ -3723,6 +3722,13 @@ declare class McpLatticeManager extends BaseLatticeManager<McpLatticeInterface>
3723
3722
  }
3724
3723
  declare const mcpManager: McpLatticeManager;
3725
3724
 
3725
+ interface FsEntry {
3726
+ path: string;
3727
+ kind: string;
3728
+ size: number;
3729
+ mode: number;
3730
+ modified: string | null;
3731
+ }
3726
3732
  interface VolumeFsClient {
3727
3733
  read(path: string): Promise<string>;
3728
3734
  write(path: string, content: string): Promise<void>;
@@ -3740,25 +3746,6 @@ interface SandboxProvider {
3740
3746
  createVolumeFsClient?(volumeName: string): VolumeFsClient;
3741
3747
  }
3742
3748
 
3743
- interface MicrosandboxProviderConfig {
3744
- image?: string;
3745
- cpus?: number;
3746
- memoryMib?: number;
3747
- env?: Record<string, string>;
3748
- }
3749
- declare const defaultMicrosandboxConfig: MicrosandboxProviderConfig;
3750
- declare class MicrosandboxProvider implements SandboxProvider {
3751
- private config;
3752
- private instances;
3753
- private creating;
3754
- constructor(config?: MicrosandboxProviderConfig);
3755
- createSandbox(name: string, config?: RunSandboxConfig): Promise<SandboxInstance>;
3756
- getSandbox(name: string): Promise<SandboxInstance>;
3757
- stopSandbox(name: string): Promise<void>;
3758
- deleteSandbox(name: string): Promise<void>;
3759
- listSandboxes(): Promise<SandboxInstance[]>;
3760
- }
3761
-
3762
3749
  type SandboxLifecycleResponse = {
3763
3750
  name: string;
3764
3751
  status: string;
@@ -3944,13 +3931,12 @@ declare class DaytonaProvider implements SandboxProvider {
3944
3931
  interface CreateSandboxProviderConfig {
3945
3932
  /**
3946
3933
  * Provider type
3947
- * - "microsandbox": local microVM via microsandbox SDK (requires KVM/Hypervisor)
3948
3934
  * - "microsandbox-remote": remote microsandbox-service via dedicated HTTP client
3949
3935
  * - "remote": remote sandbox service via @agent-infra/sandbox HTTP client
3950
3936
  * - "e2b": E2B cloud sandbox (https://e2b.dev)
3951
3937
  * - "daytona": Daytona cloud sandbox (https://daytona.io)
3952
3938
  */
3953
- type: "microsandbox" | "microsandbox-remote" | "remote" | "e2b" | "daytona";
3939
+ type: "microsandbox-remote" | "remote" | "e2b" | "daytona";
3954
3940
  /**
3955
3941
  * Required when type = "remote"
3956
3942
  */
@@ -4012,18 +3998,6 @@ interface CreateSandboxProviderConfig {
4012
3998
  */
4013
3999
  declare function createSandboxProvider(config: CreateSandboxProviderConfig): SandboxProvider;
4014
4000
 
4015
- declare class MicrosandboxInstance implements SandboxInstance {
4016
- private native;
4017
- readonly name: string;
4018
- constructor(name: string, native: Sandbox);
4019
- start(): Promise<void>;
4020
- stop(): Promise<void>;
4021
- kill(): Promise<void>;
4022
- getStatus(): Promise<"running" | "stopped" | "unknown">;
4023
- readonly file: SandboxFileService;
4024
- readonly shell: SandboxShellService;
4025
- }
4026
-
4027
4001
  declare class MicrosandboxRemoteInstance implements SandboxInstance {
4028
4002
  private readonly client;
4029
4003
  readonly name: string;
@@ -4051,7 +4025,7 @@ declare class RemoteSandboxInstance implements SandboxInstance {
4051
4025
  declare class E2BInstance implements SandboxInstance {
4052
4026
  private native;
4053
4027
  readonly name: string;
4054
- constructor(name: string, native: Sandbox$1);
4028
+ constructor(name: string, native: Sandbox);
4055
4029
  start(): Promise<void>;
4056
4030
  stop(): Promise<void>;
4057
4031
  kill(): Promise<void>;
@@ -4063,7 +4037,7 @@ declare class E2BInstance implements SandboxInstance {
4063
4037
  declare class DaytonaInstance implements SandboxInstance {
4064
4038
  private native;
4065
4039
  readonly name: string;
4066
- constructor(name: string, native: Sandbox$2);
4040
+ constructor(name: string, native: Sandbox$1);
4067
4041
  start(): Promise<void>;
4068
4042
  stop(): Promise<void>;
4069
4043
  kill(): Promise<void>;
@@ -5697,4 +5671,4 @@ interface SchedulerMiddlewareOptions {
5697
5671
  }
5698
5672
  declare function createSchedulerMiddleware(options?: SchedulerMiddlewareOptions): AgentMiddleware;
5699
5673
 
5700
- 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 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 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, MicrosandboxInstance, MicrosandboxProvider, type MicrosandboxProviderConfig, 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, defaultMicrosandboxConfig, 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, 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 };
5674
+ 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 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, 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, 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.js CHANGED
@@ -72,8 +72,6 @@ __export(index_exports, {
72
72
  MemoryType: () => import_protocols2.MemoryType,
73
73
  MessageType: () => MessageType,
74
74
  MetricsServerManager: () => MetricsServerManager,
75
- MicrosandboxInstance: () => MicrosandboxInstance,
76
- MicrosandboxProvider: () => MicrosandboxProvider,
77
75
  MicrosandboxRemoteInstance: () => MicrosandboxRemoteInstance,
78
76
  MicrosandboxRemoteProvider: () => MicrosandboxRemoteProvider,
79
77
  MicrosandboxServiceClient: () => MicrosandboxServiceClient,
@@ -135,7 +133,6 @@ __export(index_exports, {
135
133
  createUnknownToolHandlerMiddleware: () => createUnknownToolHandlerMiddleware,
136
134
  createWidgetMiddleware: () => createWidgetMiddleware,
137
135
  decrypt: () => decrypt,
138
- defaultMicrosandboxConfig: () => defaultMicrosandboxConfig,
139
136
  describeCronExpression: () => describeCronExpression,
140
137
  embeddingsLatticeManager: () => embeddingsLatticeManager,
141
138
  encrypt: () => encrypt,
@@ -18343,230 +18340,6 @@ var McpLatticeManager = class _McpLatticeManager extends BaseLatticeManager {
18343
18340
  };
18344
18341
  var mcpManager = McpLatticeManager.getInstance();
18345
18342
 
18346
- // src/sandbox_lattice/providers/MicrosandboxProvider.ts
18347
- var import_microsandbox = require("microsandbox");
18348
-
18349
- // src/sandbox_lattice/MicrosandboxInstance.ts
18350
- function exec(native, cmd, opts) {
18351
- return native.execWithConfig({ cmd, args: opts?.args, cwd: opts?.cwd, timeoutMs: opts?.timeoutMs });
18352
- }
18353
- var MicrosandboxInstance = class {
18354
- constructor(name, native) {
18355
- this.native = native;
18356
- this.file = {
18357
- readFile: async (file) => {
18358
- const fs3 = this.native.fs();
18359
- const content = await fs3.readString(file);
18360
- return { content };
18361
- },
18362
- writeFile: async (file, content) => {
18363
- const fs3 = this.native.fs();
18364
- await fs3.write(file, Buffer.from(content));
18365
- },
18366
- listPath: async (path3, options) => {
18367
- const fs3 = this.native.fs();
18368
- const entries = await fs3.list(path3);
18369
- const files = (entries || []).map((e) => ({
18370
- path: e.path,
18371
- is_dir: e.kind === "directory",
18372
- size: e.size,
18373
- modified_at: e.modified ? String(e.modified) : void 0
18374
- }));
18375
- return { files };
18376
- },
18377
- findFiles: async (path3, glob) => {
18378
- const output = await exec(this.native, "sh", {
18379
- args: ["-c", `find "${path3}" -name "${glob}" -type f`]
18380
- });
18381
- const lines = output.stdout().split("\n").filter(Boolean);
18382
- return { files: lines };
18383
- },
18384
- searchInFile: async (file, regex) => {
18385
- const output = await exec(this.native, "grep", {
18386
- args: ["-n", "-E", regex, file]
18387
- });
18388
- const lines = output.stdout().split("\n").filter(Boolean);
18389
- const matches = [];
18390
- const line_numbers = [];
18391
- for (const line of lines) {
18392
- const colonIdx = line.indexOf(":");
18393
- if (colonIdx === -1) continue;
18394
- const num = parseInt(line.slice(0, colonIdx), 10);
18395
- const text = line.slice(colonIdx + 1);
18396
- line_numbers.push(num);
18397
- matches.push(text);
18398
- }
18399
- return { matches, line_numbers };
18400
- },
18401
- strReplaceEditor: async (params) => {
18402
- const { path: path3, old_str, new_str, replace_mode } = params;
18403
- const delim = "#";
18404
- const escapedOld = old_str.replace(new RegExp(`[\\\\${delim}]`, "g"), "\\$&").replace(/\n/g, "\\n");
18405
- const escapedNew = new_str.replace(new RegExp(`[\\\\${delim}]`, "g"), "\\$&").replace(/\n/g, "\\n");
18406
- const flag = replace_mode === "ALL" ? "g" : "";
18407
- await exec(this.native, "sh", {
18408
- args: ["-c", `sed -i 's${delim}${escapedOld}${delim}${escapedNew}${delim}${flag}' "${path3}"`]
18409
- });
18410
- },
18411
- uploadFile: async (params) => {
18412
- const fs3 = this.native.fs();
18413
- await fs3.write(params.file, params.data);
18414
- },
18415
- downloadFile: async (params) => {
18416
- const fs3 = this.native.fs();
18417
- const data = await fs3.read(params.file);
18418
- return Buffer.isBuffer(data) ? data : Buffer.from(data);
18419
- }
18420
- };
18421
- this.shell = {
18422
- execCommand: async (params) => {
18423
- const output = await exec(this.native, "sh", {
18424
- args: ["-c", params.command],
18425
- cwd: params.exec_dir,
18426
- timeoutMs: params.timeout ? params.timeout * 1e3 : void 0
18427
- });
18428
- return {
18429
- output: output.stdout(),
18430
- exit_code: output.code ?? 0
18431
- };
18432
- }
18433
- };
18434
- this.name = name;
18435
- }
18436
- async start() {
18437
- }
18438
- async stop() {
18439
- await this.native.stop();
18440
- }
18441
- async kill() {
18442
- await this.native.kill();
18443
- }
18444
- async getStatus() {
18445
- try {
18446
- await this.native.exec("echo", ["ok"]);
18447
- return "running";
18448
- } catch {
18449
- return "unknown";
18450
- }
18451
- }
18452
- };
18453
-
18454
- // src/sandbox_lattice/providers/MicrosandboxProvider.ts
18455
- var defaultMicrosandboxConfig = {
18456
- image: process.env.MICROSANDBOX_IMAGE ?? "python:3.11-slim",
18457
- cpus: Number(process.env.MICROSANDBOX_CPUS ?? "1"),
18458
- memoryMib: Number(process.env.MICROSANDBOX_MEMORY ?? "512"),
18459
- env: {
18460
- PYTHONDONTWRITEBYTECODE: "1",
18461
- PIP_NO_CACHE_DIR: "1",
18462
- ...process.env.MICROSANDBOX_EXTRA_ENV ? Object.fromEntries(
18463
- process.env.MICROSANDBOX_EXTRA_ENV.split(",").map((pair) => pair.split("="))
18464
- ) : {}
18465
- }
18466
- };
18467
- var MicrosandboxProvider = class {
18468
- constructor(config = {}) {
18469
- this.config = config;
18470
- this.instances = /* @__PURE__ */ new Map();
18471
- this.creating = /* @__PURE__ */ new Map();
18472
- }
18473
- async createSandbox(name, config) {
18474
- const existing = this.instances.get(name);
18475
- if (existing) {
18476
- return existing;
18477
- }
18478
- const inFlight = this.creating.get(name);
18479
- if (inFlight) {
18480
- return inFlight;
18481
- }
18482
- const creation = (async () => {
18483
- let native;
18484
- try {
18485
- const handle = await import_microsandbox.Sandbox.get(name);
18486
- if (handle.status === "stopped") {
18487
- native = await import_microsandbox.Sandbox.start(name);
18488
- } else if (handle.status === "running") {
18489
- native = await handle.connect();
18490
- } else if (handle.status === "crashed" || handle.status === "draining") {
18491
- await import_microsandbox.Sandbox.remove(name);
18492
- native = void 0;
18493
- } else {
18494
- throw new Error(`Unexpected sandbox status: ${handle.status}`);
18495
- }
18496
- } catch {
18497
- native = void 0;
18498
- }
18499
- if (!native) {
18500
- try {
18501
- native = await import_microsandbox.Sandbox.createDetached({
18502
- name,
18503
- image: this.config.image ?? "python:3.11-slim",
18504
- cpus: this.config.cpus ?? 1,
18505
- memoryMib: this.config.memoryMib ?? 512,
18506
- env: {
18507
- ...this.config.env,
18508
- ...buildSandboxMetadataEnv(config)
18509
- }
18510
- });
18511
- } catch (err) {
18512
- if (err instanceof Error && err.message.includes("already exists")) {
18513
- await import_microsandbox.Sandbox.remove(name);
18514
- native = await import_microsandbox.Sandbox.createDetached({
18515
- name,
18516
- image: this.config.image ?? "python:3.11-slim",
18517
- cpus: this.config.cpus ?? 1,
18518
- memoryMib: this.config.memoryMib ?? 512,
18519
- env: {
18520
- ...this.config.env,
18521
- ...buildSandboxMetadataEnv(config)
18522
- }
18523
- });
18524
- } else {
18525
- throw err;
18526
- }
18527
- }
18528
- }
18529
- const instance = new MicrosandboxInstance(name, native);
18530
- this.instances.set(name, instance);
18531
- return instance;
18532
- })();
18533
- this.creating.set(name, creation);
18534
- creation.catch(() => this.creating.delete(name)).then(() => this.creating.delete(name));
18535
- return creation;
18536
- }
18537
- async getSandbox(name) {
18538
- const instance = this.instances.get(name);
18539
- if (!instance) {
18540
- throw new Error(`Sandbox ${name} not found`);
18541
- }
18542
- return instance;
18543
- }
18544
- async stopSandbox(name) {
18545
- const instance = this.instances.get(name);
18546
- if (instance) {
18547
- try {
18548
- await instance.stop();
18549
- } catch {
18550
- }
18551
- }
18552
- }
18553
- async deleteSandbox(name) {
18554
- const instance = this.instances.get(name);
18555
- this.instances.delete(name);
18556
- if (instance) {
18557
- try {
18558
- await instance.kill();
18559
- await new Promise((r) => setTimeout(r, 200));
18560
- } catch {
18561
- }
18562
- }
18563
- await import_microsandbox.Sandbox.remove(name);
18564
- }
18565
- async listSandboxes() {
18566
- return Array.from(this.instances.values());
18567
- }
18568
- };
18569
-
18570
18343
  // src/sandbox_lattice/MicrosandboxRemoteInstance.ts
18571
18344
  var MicrosandboxRemoteInstance = class {
18572
18345
  constructor(name, client) {
@@ -19601,14 +19374,6 @@ var DaytonaProvider = class {
19601
19374
  // src/sandbox_lattice/SandboxProviderFactory.ts
19602
19375
  function createSandboxProvider(config) {
19603
19376
  switch (config.type) {
19604
- case "microsandbox": {
19605
- return new MicrosandboxProvider({
19606
- image: config.microsandboxImage ?? defaultMicrosandboxConfig.image,
19607
- cpus: config.microsandboxCpus ?? defaultMicrosandboxConfig.cpus,
19608
- memoryMib: config.microsandboxMemoryMib ?? defaultMicrosandboxConfig.memoryMib,
19609
- env: defaultMicrosandboxConfig.env
19610
- });
19611
- }
19612
19377
  case "remote": {
19613
19378
  if (!config.remoteBaseURL) {
19614
19379
  throw new Error("remoteBaseURL is required when sandbox provider type is 'remote'");
@@ -19625,8 +19390,7 @@ function createSandboxProvider(config) {
19625
19390
  baseURL: config.microsandboxServiceBaseURL,
19626
19391
  image: config.microsandboxImage,
19627
19392
  cpus: config.microsandboxCpus,
19628
- memoryMib: config.microsandboxMemoryMib,
19629
- env: defaultMicrosandboxConfig.env
19393
+ memoryMib: config.microsandboxMemoryMib
19630
19394
  });
19631
19395
  }
19632
19396
  case "e2b": {
@@ -19768,8 +19532,6 @@ function clearEncryptionKeyCache() {
19768
19532
  MemoryType,
19769
19533
  MessageType,
19770
19534
  MetricsServerManager,
19771
- MicrosandboxInstance,
19772
- MicrosandboxProvider,
19773
19535
  MicrosandboxRemoteInstance,
19774
19536
  MicrosandboxRemoteProvider,
19775
19537
  MicrosandboxServiceClient,
@@ -19831,7 +19593,6 @@ function clearEncryptionKeyCache() {
19831
19593
  createUnknownToolHandlerMiddleware,
19832
19594
  createWidgetMiddleware,
19833
19595
  decrypt,
19834
- defaultMicrosandboxConfig,
19835
19596
  describeCronExpression,
19836
19597
  embeddingsLatticeManager,
19837
19598
  encrypt,