@axiom-lattice/core 3.0.1 → 3.0.3

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
@@ -1362,6 +1362,23 @@ interface EditResult {
1362
1362
  /** Metadata for the edit operation, attached to the ToolMessage */
1363
1363
  metadata?: Record<string, unknown>;
1364
1364
  }
1365
+ /**
1366
+ * Result from backend delete operations.
1367
+ *
1368
+ * Checkpoint backends populate filesUpdate with `{ [filePath]: null }` so the
1369
+ * filesystem state reducer removes the file. External backends set
1370
+ * filesUpdate to null after deleting the persisted file.
1371
+ */
1372
+ interface DeleteResult {
1373
+ /** Error message on failure, undefined on success */
1374
+ error?: string;
1375
+ /** File path of the deleted file, undefined on failure */
1376
+ path?: string;
1377
+ /** State update for checkpoint backends, null for external storage */
1378
+ filesUpdate?: Record<string, FileData | null> | null;
1379
+ /** Metadata for the delete operation, attached to the ToolMessage */
1380
+ metadata?: Record<string, unknown>;
1381
+ }
1365
1382
  /**
1366
1383
  * Protocol for pluggable memory backends (single, unified).
1367
1384
  *
@@ -1457,6 +1474,16 @@ interface BackendProtocol {
1457
1474
  * @returns EditResult with error, path, filesUpdate, and occurrences
1458
1475
  */
1459
1476
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): MaybePromise<EditResult>;
1477
+ /**
1478
+ * Delete an existing regular file.
1479
+ *
1480
+ * Optional for compatibility with third-party backends. Implementations
1481
+ * must reject missing files, directories, and symbolic links.
1482
+ *
1483
+ * @param filePath - Absolute file path
1484
+ * @returns DeleteResult with error populated on failure
1485
+ */
1486
+ delete?(filePath: string): MaybePromise<DeleteResult>;
1460
1487
  }
1461
1488
  /**
1462
1489
  * State and store container for backend initialization.
@@ -1536,6 +1563,8 @@ interface SandboxFileService {
1536
1563
  downloadFile(params: {
1537
1564
  file: string;
1538
1565
  }): Promise<Buffer>;
1566
+ /** Delete an existing regular file without recursively deleting directories. */
1567
+ deleteFile?(file: string): Promise<void>;
1539
1568
  deletePath(path: string): Promise<void>;
1540
1569
  createDirectory(path: string): Promise<void>;
1541
1570
  }
@@ -4532,6 +4561,8 @@ interface VolumeFsClient {
4532
4561
  list(path: string): Promise<FsEntry[]>;
4533
4562
  readRaw(path: string): Promise<Buffer>;
4534
4563
  writeRaw(path: string, data: Buffer): Promise<void>;
4564
+ /** Delete an existing regular file. */
4565
+ delete?(path: string): Promise<void>;
4535
4566
  /**
4536
4567
  * Create a directory (and any missing parent directories).
4537
4568
  *
@@ -4634,6 +4665,7 @@ declare class MicrosandboxServiceClient {
4634
4665
  getStatus(name: string): Promise<SandboxLifecycleResponse>;
4635
4666
  readFile(sandboxName: string, path: string): Promise<ReadFileResponse>;
4636
4667
  writeFile(sandboxName: string, path: string, content: string): Promise<WriteFileResponse>;
4668
+ deleteFile(sandboxName: string, path: string): Promise<WriteFileResponse>;
4637
4669
  listPath(sandboxName: string, path: string, recursive?: boolean): Promise<ListPathResponse>;
4638
4670
  findFiles(sandboxName: string, path: string, pattern: string): Promise<FindFilesResponse>;
4639
4671
  searchInFile(sandboxName: string, path: string, query: string): Promise<SearchInFileResponse>;
@@ -4647,6 +4679,7 @@ declare class MicrosandboxServiceClient {
4647
4679
  execCommand(input: MicrosandboxShellExecInput): Promise<ExecCommandResponse>;
4648
4680
  volumeFsRead(volumeName: string, path: string): Promise<string>;
4649
4681
  volumeFsWrite(volumeName: string, path: string, content: string): Promise<void>;
4682
+ volumeFsDelete(volumeName: string, path: string): Promise<void>;
4650
4683
  volumeFsList(volumeName: string, path: string): Promise<VolumeFsListResponse["entries"]>;
4651
4684
  volumeFsDownload(volumeName: string, path: string): Promise<Buffer>;
4652
4685
  volumeFsUpload(volumeName: string, path: string, data: Buffer): Promise<void>;
@@ -4666,7 +4699,7 @@ declare function createResourceAddress(config: {
4666
4699
  resourcePath: string;
4667
4700
  }): ResourceAddress;
4668
4701
 
4669
- type MicrosandboxRemoteProviderClient = Pick<MicrosandboxServiceClient, "ensureSandbox" | "startSandbox" | "stopSandbox" | "killSandbox" | "deleteSandbox" | "getStatus" | "readFile" | "writeFile" | "listPath" | "findFiles" | "searchInFile" | "replaceInFile" | "uploadFile" | "downloadFile" | "execCommand" | "volumeFsRead" | "volumeFsWrite" | "volumeFsList" | "volumeFsDownload" | "volumeFsUpload" | "volumeFsCreateDirectory">;
4702
+ type MicrosandboxRemoteProviderClient = Pick<MicrosandboxServiceClient, "ensureSandbox" | "startSandbox" | "stopSandbox" | "killSandbox" | "deleteSandbox" | "getStatus" | "readFile" | "writeFile" | "deleteFile" | "listPath" | "findFiles" | "searchInFile" | "replaceInFile" | "uploadFile" | "downloadFile" | "execCommand" | "volumeFsRead" | "volumeFsWrite" | "volumeFsDelete" | "volumeFsList" | "volumeFsDownload" | "volumeFsUpload" | "volumeFsCreateDirectory">;
4670
4703
  interface MicrosandboxRemoteProviderConfig extends MicrosandboxServiceClientConfig {
4671
4704
  client?: MicrosandboxRemoteProviderClient;
4672
4705
  image?: string;
@@ -4955,6 +4988,7 @@ declare class RemoteSandboxInstance implements SandboxInstance {
4955
4988
  readonly name: string;
4956
4989
  constructor(name: string, client: SandboxClient, workspace: string);
4957
4990
  private resolvePath;
4991
+ private resolveDeletePath;
4958
4992
  start(): Promise<void>;
4959
4993
  stop(): Promise<void>;
4960
4994
  kill(): Promise<void>;
@@ -5262,9 +5296,20 @@ interface EvalRunService {
5262
5296
  * @param suiteIds - Optional suite filter — only these suites run.
5263
5297
  * Omit to run all suites. Used to keep the validation suite
5264
5298
  * untouched during the fix loop (hold-out isolation).
5299
+ * @param caseIds - Optional case filter — only these cases run (across
5300
+ * the suites selected by `suiteIds`, or all suites if omitted).
5301
+ * Suites with no matching cases are skipped; an error is thrown if
5302
+ * no case matches at all.
5303
+ * @param runConfig - Runtime environment (workspace/project) the eval
5304
+ * executes in. Comes from the CALLER's runConfig, NOT from the eval
5305
+ * project's targetServerConfig. Test cases are environment-agnostic;
5306
+ * the run environment is decided at run time.
5265
5307
  * @returns The newly created run ID
5266
5308
  */
5267
- startRun(tenantId: string, projectId: string, suiteIds?: string[]): Promise<string>;
5309
+ startRun(tenantId: string, projectId: string, suiteIds?: string[], caseIds?: string[], runConfig?: {
5310
+ workspaceId?: string;
5311
+ projectId?: string;
5312
+ }): Promise<string>;
5268
5313
  /**
5269
5314
  * Abort a running evaluation.
5270
5315
  *
@@ -5607,6 +5652,7 @@ declare class LatticeEvalProject {
5607
5652
  calibrateJudge(): Promise<{
5608
5653
  ok: boolean;
5609
5654
  reason?: string;
5655
+ bypassed?: boolean;
5610
5656
  }>;
5611
5657
  /**
5612
5658
  * Run all suites as a batch and build an in-memory report.
@@ -6245,6 +6291,8 @@ declare class StateBackend implements BackendProtocol {
6245
6291
  * Returns EditResult with filesUpdate and occurrences.
6246
6292
  */
6247
6293
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): EditResult;
6294
+ /** Delete an existing file through a LangGraph state update. */
6295
+ delete(filePath: string): DeleteResult;
6248
6296
  /**
6249
6297
  * Structured search results or error string for invalid input.
6250
6298
  */
@@ -6344,6 +6392,8 @@ declare class StoreBackend implements BackendProtocol {
6344
6392
  * Returns EditResult. External storage sets filesUpdate=null.
6345
6393
  */
6346
6394
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
6395
+ /** Delete an existing persistent file. */
6396
+ delete(filePath: string): Promise<DeleteResult>;
6347
6397
  /**
6348
6398
  * Structured search results or error string for invalid input.
6349
6399
  */
@@ -6393,6 +6443,8 @@ declare class FilesystemBackend implements BackendProtocol {
6393
6443
  * @throws Error if path traversal detected or path outside root
6394
6444
  */
6395
6445
  private resolvePath;
6446
+ private assertVirtualParentContained;
6447
+ private validateDeleteTarget;
6396
6448
  /**
6397
6449
  * List files and directories in the specified directory (non-recursive).
6398
6450
  *
@@ -6422,6 +6474,8 @@ declare class FilesystemBackend implements BackendProtocol {
6422
6474
  * Returns WriteResult. External storage sets filesUpdate=null.
6423
6475
  */
6424
6476
  write(filePath: string, content: string): Promise<WriteResult>;
6477
+ /** Delete an existing regular file without following symbolic links. */
6478
+ delete(filePath: string): Promise<DeleteResult>;
6425
6479
  /**
6426
6480
  * Edit a file by replacing string occurrences.
6427
6481
  * Returns EditResult. External storage sets filesUpdate=null.
@@ -6512,6 +6566,8 @@ declare class CompositeBackend implements BackendProtocol {
6512
6566
  * @returns WriteResult with path or error
6513
6567
  */
6514
6568
  write(filePath: string, content: string): Promise<WriteResult>;
6569
+ /** Delete a file, routing to the same backend selected for write and edit. */
6570
+ delete(filePath: string): Promise<DeleteResult>;
6515
6571
  /**
6516
6572
  * Edit a file, routing to appropriate backend.
6517
6573
  *
@@ -6542,6 +6598,8 @@ declare class MemoryBackend implements BackendProtocol {
6542
6598
  readRaw(filePath: string): FileData;
6543
6599
  write(filePath: string, content: string): WriteResult;
6544
6600
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): EditResult;
6601
+ /** Delete an existing in-memory file. */
6602
+ delete(filePath: string): DeleteResult;
6545
6603
  grepRaw(pattern: string, path?: string, glob?: string | null): GrepMatch[] | string;
6546
6604
  globInfo(pattern: string, path?: string): FileInfo[];
6547
6605
  }
@@ -6565,6 +6623,8 @@ declare class SandboxFilesystem implements BackendProtocol {
6565
6623
  readRaw(filePath: string): Promise<FileData>;
6566
6624
  readBinary(filePath: string): Promise<Buffer>;
6567
6625
  write(filePath: string, content: string): Promise<WriteResult>;
6626
+ /** Delete an existing regular file in the sandbox. */
6627
+ delete(filePath: string): Promise<DeleteResult>;
6568
6628
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
6569
6629
  grepRaw(pattern: string, searchPath?: string | null, glob?: string | null): Promise<GrepMatch[] | string>;
6570
6630
  globInfo(pattern: string, searchPath?: string): Promise<FileInfo[]>;
@@ -6582,6 +6642,8 @@ declare class VolumeFilesystem implements BackendProtocol {
6582
6642
  grepRaw(_pattern: string, _path?: string | null, _glob?: string | null): string | GrepMatch[];
6583
6643
  globInfo(_pattern: string, _path?: string): FileInfo[];
6584
6644
  write(filePath: string, content: string): Promise<WriteResult>;
6645
+ /** Delete an existing regular file from the mounted volume. */
6646
+ delete(filePath: string): Promise<DeleteResult>;
6585
6647
  edit(_filePath: string, _oldString: string, _newString: string, _replaceAll?: boolean): EditResult;
6586
6648
  }
6587
6649
 
@@ -7502,11 +7564,12 @@ declare function serializePluginMeta(plugin: Plugin): PluginMetaOutput;
7502
7564
  declare const BUILTIN_PLUGINS: Plugin[];
7503
7565
 
7504
7566
  /**
7505
- * Document Learning Plugin
7567
+ * Capability Learning Plugin
7506
7568
  *
7507
- * Provides a document-learner agent and learn-document procedural skill.
7508
- * The agent guides users through turning documents into structured skill
7509
- * systems with evaluations following a supervised learning paradigm.
7569
+ * Provides a document-learner agent and learn-capability procedural skill.
7570
+ * The agent guides users through turning source material (documents, API
7571
+ * specs, conversations, spreadsheets) into structured skill systems with
7572
+ * evaluations — following a supervised learning paradigm.
7510
7573
  */
7511
7574
 
7512
7575
  declare const documentLearningPlugin: Plugin;
@@ -8065,4 +8128,4 @@ declare class IdRemapper {
8065
8128
  remapSkillIds(graphDefinition: Record<string, unknown>, skillRemap: Record<string, string>): Record<string, unknown>;
8066
8129
  }
8067
8130
 
8068
- export { AGENT_TASK_EVENT, type AddMessageParams, Agent, type AgentClient, type AgentExecutor, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, AgentManager, type AgentStreamExecutor, type AgentThreadInterface, BUILTIN_PLUGINS, BUILTIN_SKILLS, type BackendFactory, type BackendProtocol, type BufferStats, type CacheEntry, type CaseRunResult, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, CollectionLatticeManager, type ColumnInfo, CompositeBackend, type ConflictItem, type ConnectAllChannelsOptions, ConnectionRegistry, ConsoleLoggerClient, type CreateSandboxProviderConfig, type CronFields, CustomMetricsClient, type CustomMiddlewareFactory, CustomMiddlewareRegistry, type DatabaseConfig, type DatabaseType, DaytonaInstance, DaytonaProvider, type DaytonaProviderConfig, DefaultScheduleClient, DependencyResolver, E2BInstance, E2BProvider, type E2BProviderConfig, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingsInfo, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type EnsureMicrosandboxInput, type EvalRunService, type ExportBundle, type ExportJob, type ExportableEntity, type ExportableEntityDefinition, ExportableEntityRegistry, type ExportableTypeInfo, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type FsEntry, type GrepMatch, type IMessageQueueStore, type IMetricsServerClient, type ISqlDatabase, IdRemapper, type ImportApplyResult, type ImportEntityResult, type ImportEntityStatus, type ImportPreviewResult, InMemoryA2AApiKeyStore, InMemoryAssistantStore, InMemoryBindingStore, InMemoryChannelInstallationStore, InMemoryChunkBuffer, InMemoryCollectionStore, InMemoryDatabaseConfigStore, InMemoryMailboxStore, InMemoryMenuStore, InMemoryTaskListStore, InMemoryTaskStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserStore, InMemoryUserTenantLinkStore, type InsertionItem, type JudgeVerdict, LINE_NUMBER_WIDTH, type LangGraphStateChecker, type LatticeAgentStepConfig, LatticeEval, type LatticeEvalBatchReport, type LatticeEvalCase, type LatticeEvalCaseType, type LatticeEvalCaseWithTemplate, type LatticeEvalConfig, type LatticeEvalLogEvent, type LatticeEvalLogLevel, LatticeEvalProject, type LatticeEvalProjectType, type LatticeEvalResult, type LatticeEvalRubric, LatticeEvalSuite, type LatticeEvalSuiteType, type LatticeEvalTemplate, LocalSandboxInstance, LocalSandboxProvider, type LocalSandboxProviderConfig, 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, MysqlDatabase, type OutputType, type PendingMessage, PersonalAssistantConfig, PinoLoggerClient, PluginRegistry, PostgresDatabase, type PreviewError, PrometheusClient, type QueryResult, type QueueLattice, QueueLatticeManager, QueueMode, type QueuePendingEvent, RemoteSandboxInstance, RemoteSandboxProvider, type RemoteSandboxProviderConfig, type Resolution, type ResolutionAction, type ResolveAgentFn, type ResolvedConfig, type RunSandboxConfig, type RuntimeModelConfig, type STTModelInfo, STTModelLattice, type STTModelLatticeInterface, STTModelLatticeManager, type SandboxFileInfo, type SandboxFileService, SandboxFilesystem, type SandboxInstance, type SandboxIsolationLevel, SandboxLatticeManager, type SandboxManagerProtocol, type SandboxProvider, type SandboxProviderFactory, type SandboxProviderType, type SandboxShellService, SandboxSkillStore, type SandboxSkillStoreOptions, type SandboxVolumeDefinition, type ScheduleLattice, ScheduleLatticeManager, type SchedulerMiddlewareOptions, SemanticMetricsClient, type SharePayload, SimpleMemoryVectorStore, 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, TokenCache, type ToolDefinition, type ToolLattice, ToolLatticeManager, type UnknownToolHandlerConfig, type VectorStoreLatticeInterface, VectorStoreLatticeManager, type VectorStoreProviderLattice, VectorStoreProviderManager, VolumeFilesystem, type VolumeFsClient, type WorkflowValidationError, type WriteResult, abortWorkflowRun, agentInstanceManager, agentLatticeManager, buildGrepResultsDict, buildInput, buildNamedVolumeName, buildSandboxMetadataEnv, buildSkillFile, buildStateAnnotation, buildTableName, checkEmptyContent, clearEncryptionKeyCache, clearEvalRunService, collectionLatticeManager, compileInternal, compileWorkflow, computeSandboxName, configureStores, connectAllChannels, createAgentNode, createAgentTeam, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createMapNode, createModelSelectorMiddleware, createNodeHandler, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createResourceAddress, createSandboxProvider, createSchedulerMiddleware, createSharePayload, createTaskMiddleware, createTeamMiddleware, createTeammateTools, createUnknownToolHandlerMiddleware, createWidgetMiddleware, decrypt, describeCronExpression, documentLearningPlugin, documentParserPlugin, embeddingsLatticeManager, encrypt, ensureBuiltinAgentsForTenant, evaluateLatticeCaseWithLogs, eventBus, eventBus as eventBusDefault, extractFetcherError, extractOutput, fileDataToString, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, generateToken, getAgentClient, getAgentConfig, getAllAgentConfigs, getAllBuiltInSkillMetas, getAllToolDefinitions, getBindingRegistry, getBuiltInSkillContent, getBuiltInSkillMeta, getBuiltInSkillNames, getCheckpointSaver, getChunkBuffer, getCollectionEntryCount, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getEvalRunService, getLoggerLattice, getMenuRegistry, getModelLattice, getNextCronTime, getOrCreateCollectionVectorStore, getQueueLattice, getSTTClient, getSTTClientWithTenant, getSTTModelLattice, getSandBoxManager, getScheduleLattice, getStoreLattice, getToolClient, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, getVectorStoreProvider, getWorkflowSignal, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, hasChunkBuffer, invokeWithRetry, isBuiltInSkill, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, listCollectionEntries, listSandboxProviderTypes, loggerLatticeManager, mcpManager, metricsServerManager, modelLatticeManager, normalizeSandboxName, parallelLimit, parseCronExpression, parseJudgeVerdict, parseSkillFrontmatter, parseYaml, performStringReplacement, queueLatticeManager, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, registerBuiltinSkill, registerCheckpointSaver, registerChunkBuffer, registerEmbeddingsLattice, registerExistingTool, registerLoggerLattice, registerModelLattice, registerQueueLattice, registerSTTModelLattice, registerSandboxProviderType, registerScheduleLattice, registerStoreLattice, registerTeammateAgent, registerToolLattice, registerVectorStoreLattice, registerVectorStoreProvider, registerWorkflowRun, removeCollectionVectorStore, renderTemplate, resolvePath, sandboxLatticeManager, sanitizeToolCallId, scheduleLatticeManager, serializePluginMeta, setBindingRegistry, setEvalRunService, setMenuRegistry, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, sttModelLatticeManager, toJsonSchema, toSafeStateExpr, toolLatticeManager, truncateIfTooLong, unregisterTeammateAgent, unregisterWorkflowRun, updateFileData, validateAgentInput, validateDSL, validateEncryptionKey, validatePath, validateSkillName, validateToolInput, vectorStoreLatticeManager, vectorStoreProviderManager };
8131
+ export { AGENT_TASK_EVENT, type AddMessageParams, Agent, type AgentClient, type AgentExecutor, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, AgentManager, type AgentStreamExecutor, type AgentThreadInterface, BUILTIN_PLUGINS, BUILTIN_SKILLS, type BackendFactory, type BackendProtocol, type BufferStats, type CacheEntry, type CaseRunResult, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, CollectionLatticeManager, type ColumnInfo, CompositeBackend, type ConflictItem, type ConnectAllChannelsOptions, ConnectionRegistry, ConsoleLoggerClient, type CreateSandboxProviderConfig, type CronFields, CustomMetricsClient, type CustomMiddlewareFactory, CustomMiddlewareRegistry, type DatabaseConfig, type DatabaseType, DaytonaInstance, DaytonaProvider, type DaytonaProviderConfig, DefaultScheduleClient, type DeleteResult, DependencyResolver, E2BInstance, E2BProvider, type E2BProviderConfig, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingsInfo, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type EnsureMicrosandboxInput, type EvalRunService, type ExportBundle, type ExportJob, type ExportableEntity, type ExportableEntityDefinition, ExportableEntityRegistry, type ExportableTypeInfo, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type FsEntry, type GrepMatch, type IMessageQueueStore, type IMetricsServerClient, type ISqlDatabase, IdRemapper, type ImportApplyResult, type ImportEntityResult, type ImportEntityStatus, type ImportPreviewResult, InMemoryA2AApiKeyStore, InMemoryAssistantStore, InMemoryBindingStore, InMemoryChannelInstallationStore, InMemoryChunkBuffer, InMemoryCollectionStore, InMemoryDatabaseConfigStore, InMemoryMailboxStore, InMemoryMenuStore, InMemoryTaskListStore, InMemoryTaskStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserStore, InMemoryUserTenantLinkStore, type InsertionItem, type JudgeVerdict, LINE_NUMBER_WIDTH, type LangGraphStateChecker, type LatticeAgentStepConfig, LatticeEval, type LatticeEvalBatchReport, type LatticeEvalCase, type LatticeEvalCaseType, type LatticeEvalCaseWithTemplate, type LatticeEvalConfig, type LatticeEvalLogEvent, type LatticeEvalLogLevel, LatticeEvalProject, type LatticeEvalProjectType, type LatticeEvalResult, type LatticeEvalRubric, LatticeEvalSuite, type LatticeEvalSuiteType, type LatticeEvalTemplate, LocalSandboxInstance, LocalSandboxProvider, type LocalSandboxProviderConfig, 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, MysqlDatabase, type OutputType, type PendingMessage, PersonalAssistantConfig, PinoLoggerClient, PluginRegistry, PostgresDatabase, type PreviewError, PrometheusClient, type QueryResult, type QueueLattice, QueueLatticeManager, QueueMode, type QueuePendingEvent, RemoteSandboxInstance, RemoteSandboxProvider, type RemoteSandboxProviderConfig, type Resolution, type ResolutionAction, type ResolveAgentFn, type ResolvedConfig, type RunSandboxConfig, type RuntimeModelConfig, type STTModelInfo, STTModelLattice, type STTModelLatticeInterface, STTModelLatticeManager, type SandboxFileInfo, type SandboxFileService, SandboxFilesystem, type SandboxInstance, type SandboxIsolationLevel, SandboxLatticeManager, type SandboxManagerProtocol, type SandboxProvider, type SandboxProviderFactory, type SandboxProviderType, type SandboxShellService, SandboxSkillStore, type SandboxSkillStoreOptions, type SandboxVolumeDefinition, type ScheduleLattice, ScheduleLatticeManager, type SchedulerMiddlewareOptions, SemanticMetricsClient, type SharePayload, SimpleMemoryVectorStore, 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, TokenCache, type ToolDefinition, type ToolLattice, ToolLatticeManager, type UnknownToolHandlerConfig, type VectorStoreLatticeInterface, VectorStoreLatticeManager, type VectorStoreProviderLattice, VectorStoreProviderManager, VolumeFilesystem, type VolumeFsClient, type WorkflowValidationError, type WriteResult, abortWorkflowRun, agentInstanceManager, agentLatticeManager, buildGrepResultsDict, buildInput, buildNamedVolumeName, buildSandboxMetadataEnv, buildSkillFile, buildStateAnnotation, buildTableName, checkEmptyContent, clearEncryptionKeyCache, clearEvalRunService, collectionLatticeManager, compileInternal, compileWorkflow, computeSandboxName, configureStores, connectAllChannels, createAgentNode, createAgentTeam, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createMapNode, createModelSelectorMiddleware, createNodeHandler, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createResourceAddress, createSandboxProvider, createSchedulerMiddleware, createSharePayload, createTaskMiddleware, createTeamMiddleware, createTeammateTools, createUnknownToolHandlerMiddleware, createWidgetMiddleware, decrypt, describeCronExpression, documentLearningPlugin, documentParserPlugin, embeddingsLatticeManager, encrypt, ensureBuiltinAgentsForTenant, evaluateLatticeCaseWithLogs, eventBus, eventBus as eventBusDefault, extractFetcherError, extractOutput, fileDataToString, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, generateToken, getAgentClient, getAgentConfig, getAllAgentConfigs, getAllBuiltInSkillMetas, getAllToolDefinitions, getBindingRegistry, getBuiltInSkillContent, getBuiltInSkillMeta, getBuiltInSkillNames, getCheckpointSaver, getChunkBuffer, getCollectionEntryCount, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getEvalRunService, getLoggerLattice, getMenuRegistry, getModelLattice, getNextCronTime, getOrCreateCollectionVectorStore, getQueueLattice, getSTTClient, getSTTClientWithTenant, getSTTModelLattice, getSandBoxManager, getScheduleLattice, getStoreLattice, getToolClient, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, getVectorStoreProvider, getWorkflowSignal, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, hasChunkBuffer, invokeWithRetry, isBuiltInSkill, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, listCollectionEntries, listSandboxProviderTypes, loggerLatticeManager, mcpManager, metricsServerManager, modelLatticeManager, normalizeSandboxName, parallelLimit, parseCronExpression, parseJudgeVerdict, parseSkillFrontmatter, parseYaml, performStringReplacement, queueLatticeManager, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, registerBuiltinSkill, registerCheckpointSaver, registerChunkBuffer, registerEmbeddingsLattice, registerExistingTool, registerLoggerLattice, registerModelLattice, registerQueueLattice, registerSTTModelLattice, registerSandboxProviderType, registerScheduleLattice, registerStoreLattice, registerTeammateAgent, registerToolLattice, registerVectorStoreLattice, registerVectorStoreProvider, registerWorkflowRun, removeCollectionVectorStore, renderTemplate, resolvePath, sandboxLatticeManager, sanitizeToolCallId, scheduleLatticeManager, serializePluginMeta, setBindingRegistry, setEvalRunService, setMenuRegistry, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, sttModelLatticeManager, toJsonSchema, toSafeStateExpr, toolLatticeManager, truncateIfTooLong, unregisterTeammateAgent, unregisterWorkflowRun, updateFileData, validateAgentInput, validateDSL, validateEncryptionKey, validatePath, validateSkillName, validateToolInput, vectorStoreLatticeManager, vectorStoreProviderManager };
package/dist/index.d.ts CHANGED
@@ -1362,6 +1362,23 @@ interface EditResult {
1362
1362
  /** Metadata for the edit operation, attached to the ToolMessage */
1363
1363
  metadata?: Record<string, unknown>;
1364
1364
  }
1365
+ /**
1366
+ * Result from backend delete operations.
1367
+ *
1368
+ * Checkpoint backends populate filesUpdate with `{ [filePath]: null }` so the
1369
+ * filesystem state reducer removes the file. External backends set
1370
+ * filesUpdate to null after deleting the persisted file.
1371
+ */
1372
+ interface DeleteResult {
1373
+ /** Error message on failure, undefined on success */
1374
+ error?: string;
1375
+ /** File path of the deleted file, undefined on failure */
1376
+ path?: string;
1377
+ /** State update for checkpoint backends, null for external storage */
1378
+ filesUpdate?: Record<string, FileData | null> | null;
1379
+ /** Metadata for the delete operation, attached to the ToolMessage */
1380
+ metadata?: Record<string, unknown>;
1381
+ }
1365
1382
  /**
1366
1383
  * Protocol for pluggable memory backends (single, unified).
1367
1384
  *
@@ -1457,6 +1474,16 @@ interface BackendProtocol {
1457
1474
  * @returns EditResult with error, path, filesUpdate, and occurrences
1458
1475
  */
1459
1476
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): MaybePromise<EditResult>;
1477
+ /**
1478
+ * Delete an existing regular file.
1479
+ *
1480
+ * Optional for compatibility with third-party backends. Implementations
1481
+ * must reject missing files, directories, and symbolic links.
1482
+ *
1483
+ * @param filePath - Absolute file path
1484
+ * @returns DeleteResult with error populated on failure
1485
+ */
1486
+ delete?(filePath: string): MaybePromise<DeleteResult>;
1460
1487
  }
1461
1488
  /**
1462
1489
  * State and store container for backend initialization.
@@ -1536,6 +1563,8 @@ interface SandboxFileService {
1536
1563
  downloadFile(params: {
1537
1564
  file: string;
1538
1565
  }): Promise<Buffer>;
1566
+ /** Delete an existing regular file without recursively deleting directories. */
1567
+ deleteFile?(file: string): Promise<void>;
1539
1568
  deletePath(path: string): Promise<void>;
1540
1569
  createDirectory(path: string): Promise<void>;
1541
1570
  }
@@ -4532,6 +4561,8 @@ interface VolumeFsClient {
4532
4561
  list(path: string): Promise<FsEntry[]>;
4533
4562
  readRaw(path: string): Promise<Buffer>;
4534
4563
  writeRaw(path: string, data: Buffer): Promise<void>;
4564
+ /** Delete an existing regular file. */
4565
+ delete?(path: string): Promise<void>;
4535
4566
  /**
4536
4567
  * Create a directory (and any missing parent directories).
4537
4568
  *
@@ -4634,6 +4665,7 @@ declare class MicrosandboxServiceClient {
4634
4665
  getStatus(name: string): Promise<SandboxLifecycleResponse>;
4635
4666
  readFile(sandboxName: string, path: string): Promise<ReadFileResponse>;
4636
4667
  writeFile(sandboxName: string, path: string, content: string): Promise<WriteFileResponse>;
4668
+ deleteFile(sandboxName: string, path: string): Promise<WriteFileResponse>;
4637
4669
  listPath(sandboxName: string, path: string, recursive?: boolean): Promise<ListPathResponse>;
4638
4670
  findFiles(sandboxName: string, path: string, pattern: string): Promise<FindFilesResponse>;
4639
4671
  searchInFile(sandboxName: string, path: string, query: string): Promise<SearchInFileResponse>;
@@ -4647,6 +4679,7 @@ declare class MicrosandboxServiceClient {
4647
4679
  execCommand(input: MicrosandboxShellExecInput): Promise<ExecCommandResponse>;
4648
4680
  volumeFsRead(volumeName: string, path: string): Promise<string>;
4649
4681
  volumeFsWrite(volumeName: string, path: string, content: string): Promise<void>;
4682
+ volumeFsDelete(volumeName: string, path: string): Promise<void>;
4650
4683
  volumeFsList(volumeName: string, path: string): Promise<VolumeFsListResponse["entries"]>;
4651
4684
  volumeFsDownload(volumeName: string, path: string): Promise<Buffer>;
4652
4685
  volumeFsUpload(volumeName: string, path: string, data: Buffer): Promise<void>;
@@ -4666,7 +4699,7 @@ declare function createResourceAddress(config: {
4666
4699
  resourcePath: string;
4667
4700
  }): ResourceAddress;
4668
4701
 
4669
- type MicrosandboxRemoteProviderClient = Pick<MicrosandboxServiceClient, "ensureSandbox" | "startSandbox" | "stopSandbox" | "killSandbox" | "deleteSandbox" | "getStatus" | "readFile" | "writeFile" | "listPath" | "findFiles" | "searchInFile" | "replaceInFile" | "uploadFile" | "downloadFile" | "execCommand" | "volumeFsRead" | "volumeFsWrite" | "volumeFsList" | "volumeFsDownload" | "volumeFsUpload" | "volumeFsCreateDirectory">;
4702
+ type MicrosandboxRemoteProviderClient = Pick<MicrosandboxServiceClient, "ensureSandbox" | "startSandbox" | "stopSandbox" | "killSandbox" | "deleteSandbox" | "getStatus" | "readFile" | "writeFile" | "deleteFile" | "listPath" | "findFiles" | "searchInFile" | "replaceInFile" | "uploadFile" | "downloadFile" | "execCommand" | "volumeFsRead" | "volumeFsWrite" | "volumeFsDelete" | "volumeFsList" | "volumeFsDownload" | "volumeFsUpload" | "volumeFsCreateDirectory">;
4670
4703
  interface MicrosandboxRemoteProviderConfig extends MicrosandboxServiceClientConfig {
4671
4704
  client?: MicrosandboxRemoteProviderClient;
4672
4705
  image?: string;
@@ -4955,6 +4988,7 @@ declare class RemoteSandboxInstance implements SandboxInstance {
4955
4988
  readonly name: string;
4956
4989
  constructor(name: string, client: SandboxClient, workspace: string);
4957
4990
  private resolvePath;
4991
+ private resolveDeletePath;
4958
4992
  start(): Promise<void>;
4959
4993
  stop(): Promise<void>;
4960
4994
  kill(): Promise<void>;
@@ -5262,9 +5296,20 @@ interface EvalRunService {
5262
5296
  * @param suiteIds - Optional suite filter — only these suites run.
5263
5297
  * Omit to run all suites. Used to keep the validation suite
5264
5298
  * untouched during the fix loop (hold-out isolation).
5299
+ * @param caseIds - Optional case filter — only these cases run (across
5300
+ * the suites selected by `suiteIds`, or all suites if omitted).
5301
+ * Suites with no matching cases are skipped; an error is thrown if
5302
+ * no case matches at all.
5303
+ * @param runConfig - Runtime environment (workspace/project) the eval
5304
+ * executes in. Comes from the CALLER's runConfig, NOT from the eval
5305
+ * project's targetServerConfig. Test cases are environment-agnostic;
5306
+ * the run environment is decided at run time.
5265
5307
  * @returns The newly created run ID
5266
5308
  */
5267
- startRun(tenantId: string, projectId: string, suiteIds?: string[]): Promise<string>;
5309
+ startRun(tenantId: string, projectId: string, suiteIds?: string[], caseIds?: string[], runConfig?: {
5310
+ workspaceId?: string;
5311
+ projectId?: string;
5312
+ }): Promise<string>;
5268
5313
  /**
5269
5314
  * Abort a running evaluation.
5270
5315
  *
@@ -5607,6 +5652,7 @@ declare class LatticeEvalProject {
5607
5652
  calibrateJudge(): Promise<{
5608
5653
  ok: boolean;
5609
5654
  reason?: string;
5655
+ bypassed?: boolean;
5610
5656
  }>;
5611
5657
  /**
5612
5658
  * Run all suites as a batch and build an in-memory report.
@@ -6245,6 +6291,8 @@ declare class StateBackend implements BackendProtocol {
6245
6291
  * Returns EditResult with filesUpdate and occurrences.
6246
6292
  */
6247
6293
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): EditResult;
6294
+ /** Delete an existing file through a LangGraph state update. */
6295
+ delete(filePath: string): DeleteResult;
6248
6296
  /**
6249
6297
  * Structured search results or error string for invalid input.
6250
6298
  */
@@ -6344,6 +6392,8 @@ declare class StoreBackend implements BackendProtocol {
6344
6392
  * Returns EditResult. External storage sets filesUpdate=null.
6345
6393
  */
6346
6394
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
6395
+ /** Delete an existing persistent file. */
6396
+ delete(filePath: string): Promise<DeleteResult>;
6347
6397
  /**
6348
6398
  * Structured search results or error string for invalid input.
6349
6399
  */
@@ -6393,6 +6443,8 @@ declare class FilesystemBackend implements BackendProtocol {
6393
6443
  * @throws Error if path traversal detected or path outside root
6394
6444
  */
6395
6445
  private resolvePath;
6446
+ private assertVirtualParentContained;
6447
+ private validateDeleteTarget;
6396
6448
  /**
6397
6449
  * List files and directories in the specified directory (non-recursive).
6398
6450
  *
@@ -6422,6 +6474,8 @@ declare class FilesystemBackend implements BackendProtocol {
6422
6474
  * Returns WriteResult. External storage sets filesUpdate=null.
6423
6475
  */
6424
6476
  write(filePath: string, content: string): Promise<WriteResult>;
6477
+ /** Delete an existing regular file without following symbolic links. */
6478
+ delete(filePath: string): Promise<DeleteResult>;
6425
6479
  /**
6426
6480
  * Edit a file by replacing string occurrences.
6427
6481
  * Returns EditResult. External storage sets filesUpdate=null.
@@ -6512,6 +6566,8 @@ declare class CompositeBackend implements BackendProtocol {
6512
6566
  * @returns WriteResult with path or error
6513
6567
  */
6514
6568
  write(filePath: string, content: string): Promise<WriteResult>;
6569
+ /** Delete a file, routing to the same backend selected for write and edit. */
6570
+ delete(filePath: string): Promise<DeleteResult>;
6515
6571
  /**
6516
6572
  * Edit a file, routing to appropriate backend.
6517
6573
  *
@@ -6542,6 +6598,8 @@ declare class MemoryBackend implements BackendProtocol {
6542
6598
  readRaw(filePath: string): FileData;
6543
6599
  write(filePath: string, content: string): WriteResult;
6544
6600
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): EditResult;
6601
+ /** Delete an existing in-memory file. */
6602
+ delete(filePath: string): DeleteResult;
6545
6603
  grepRaw(pattern: string, path?: string, glob?: string | null): GrepMatch[] | string;
6546
6604
  globInfo(pattern: string, path?: string): FileInfo[];
6547
6605
  }
@@ -6565,6 +6623,8 @@ declare class SandboxFilesystem implements BackendProtocol {
6565
6623
  readRaw(filePath: string): Promise<FileData>;
6566
6624
  readBinary(filePath: string): Promise<Buffer>;
6567
6625
  write(filePath: string, content: string): Promise<WriteResult>;
6626
+ /** Delete an existing regular file in the sandbox. */
6627
+ delete(filePath: string): Promise<DeleteResult>;
6568
6628
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
6569
6629
  grepRaw(pattern: string, searchPath?: string | null, glob?: string | null): Promise<GrepMatch[] | string>;
6570
6630
  globInfo(pattern: string, searchPath?: string): Promise<FileInfo[]>;
@@ -6582,6 +6642,8 @@ declare class VolumeFilesystem implements BackendProtocol {
6582
6642
  grepRaw(_pattern: string, _path?: string | null, _glob?: string | null): string | GrepMatch[];
6583
6643
  globInfo(_pattern: string, _path?: string): FileInfo[];
6584
6644
  write(filePath: string, content: string): Promise<WriteResult>;
6645
+ /** Delete an existing regular file from the mounted volume. */
6646
+ delete(filePath: string): Promise<DeleteResult>;
6585
6647
  edit(_filePath: string, _oldString: string, _newString: string, _replaceAll?: boolean): EditResult;
6586
6648
  }
6587
6649
 
@@ -7502,11 +7564,12 @@ declare function serializePluginMeta(plugin: Plugin): PluginMetaOutput;
7502
7564
  declare const BUILTIN_PLUGINS: Plugin[];
7503
7565
 
7504
7566
  /**
7505
- * Document Learning Plugin
7567
+ * Capability Learning Plugin
7506
7568
  *
7507
- * Provides a document-learner agent and learn-document procedural skill.
7508
- * The agent guides users through turning documents into structured skill
7509
- * systems with evaluations following a supervised learning paradigm.
7569
+ * Provides a document-learner agent and learn-capability procedural skill.
7570
+ * The agent guides users through turning source material (documents, API
7571
+ * specs, conversations, spreadsheets) into structured skill systems with
7572
+ * evaluations — following a supervised learning paradigm.
7510
7573
  */
7511
7574
 
7512
7575
  declare const documentLearningPlugin: Plugin;
@@ -8065,4 +8128,4 @@ declare class IdRemapper {
8065
8128
  remapSkillIds(graphDefinition: Record<string, unknown>, skillRemap: Record<string, string>): Record<string, unknown>;
8066
8129
  }
8067
8130
 
8068
- export { AGENT_TASK_EVENT, type AddMessageParams, Agent, type AgentClient, type AgentExecutor, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, AgentManager, type AgentStreamExecutor, type AgentThreadInterface, BUILTIN_PLUGINS, BUILTIN_SKILLS, type BackendFactory, type BackendProtocol, type BufferStats, type CacheEntry, type CaseRunResult, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, CollectionLatticeManager, type ColumnInfo, CompositeBackend, type ConflictItem, type ConnectAllChannelsOptions, ConnectionRegistry, ConsoleLoggerClient, type CreateSandboxProviderConfig, type CronFields, CustomMetricsClient, type CustomMiddlewareFactory, CustomMiddlewareRegistry, type DatabaseConfig, type DatabaseType, DaytonaInstance, DaytonaProvider, type DaytonaProviderConfig, DefaultScheduleClient, DependencyResolver, E2BInstance, E2BProvider, type E2BProviderConfig, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingsInfo, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type EnsureMicrosandboxInput, type EvalRunService, type ExportBundle, type ExportJob, type ExportableEntity, type ExportableEntityDefinition, ExportableEntityRegistry, type ExportableTypeInfo, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type FsEntry, type GrepMatch, type IMessageQueueStore, type IMetricsServerClient, type ISqlDatabase, IdRemapper, type ImportApplyResult, type ImportEntityResult, type ImportEntityStatus, type ImportPreviewResult, InMemoryA2AApiKeyStore, InMemoryAssistantStore, InMemoryBindingStore, InMemoryChannelInstallationStore, InMemoryChunkBuffer, InMemoryCollectionStore, InMemoryDatabaseConfigStore, InMemoryMailboxStore, InMemoryMenuStore, InMemoryTaskListStore, InMemoryTaskStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserStore, InMemoryUserTenantLinkStore, type InsertionItem, type JudgeVerdict, LINE_NUMBER_WIDTH, type LangGraphStateChecker, type LatticeAgentStepConfig, LatticeEval, type LatticeEvalBatchReport, type LatticeEvalCase, type LatticeEvalCaseType, type LatticeEvalCaseWithTemplate, type LatticeEvalConfig, type LatticeEvalLogEvent, type LatticeEvalLogLevel, LatticeEvalProject, type LatticeEvalProjectType, type LatticeEvalResult, type LatticeEvalRubric, LatticeEvalSuite, type LatticeEvalSuiteType, type LatticeEvalTemplate, LocalSandboxInstance, LocalSandboxProvider, type LocalSandboxProviderConfig, 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, MysqlDatabase, type OutputType, type PendingMessage, PersonalAssistantConfig, PinoLoggerClient, PluginRegistry, PostgresDatabase, type PreviewError, PrometheusClient, type QueryResult, type QueueLattice, QueueLatticeManager, QueueMode, type QueuePendingEvent, RemoteSandboxInstance, RemoteSandboxProvider, type RemoteSandboxProviderConfig, type Resolution, type ResolutionAction, type ResolveAgentFn, type ResolvedConfig, type RunSandboxConfig, type RuntimeModelConfig, type STTModelInfo, STTModelLattice, type STTModelLatticeInterface, STTModelLatticeManager, type SandboxFileInfo, type SandboxFileService, SandboxFilesystem, type SandboxInstance, type SandboxIsolationLevel, SandboxLatticeManager, type SandboxManagerProtocol, type SandboxProvider, type SandboxProviderFactory, type SandboxProviderType, type SandboxShellService, SandboxSkillStore, type SandboxSkillStoreOptions, type SandboxVolumeDefinition, type ScheduleLattice, ScheduleLatticeManager, type SchedulerMiddlewareOptions, SemanticMetricsClient, type SharePayload, SimpleMemoryVectorStore, 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, TokenCache, type ToolDefinition, type ToolLattice, ToolLatticeManager, type UnknownToolHandlerConfig, type VectorStoreLatticeInterface, VectorStoreLatticeManager, type VectorStoreProviderLattice, VectorStoreProviderManager, VolumeFilesystem, type VolumeFsClient, type WorkflowValidationError, type WriteResult, abortWorkflowRun, agentInstanceManager, agentLatticeManager, buildGrepResultsDict, buildInput, buildNamedVolumeName, buildSandboxMetadataEnv, buildSkillFile, buildStateAnnotation, buildTableName, checkEmptyContent, clearEncryptionKeyCache, clearEvalRunService, collectionLatticeManager, compileInternal, compileWorkflow, computeSandboxName, configureStores, connectAllChannels, createAgentNode, createAgentTeam, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createMapNode, createModelSelectorMiddleware, createNodeHandler, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createResourceAddress, createSandboxProvider, createSchedulerMiddleware, createSharePayload, createTaskMiddleware, createTeamMiddleware, createTeammateTools, createUnknownToolHandlerMiddleware, createWidgetMiddleware, decrypt, describeCronExpression, documentLearningPlugin, documentParserPlugin, embeddingsLatticeManager, encrypt, ensureBuiltinAgentsForTenant, evaluateLatticeCaseWithLogs, eventBus, eventBus as eventBusDefault, extractFetcherError, extractOutput, fileDataToString, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, generateToken, getAgentClient, getAgentConfig, getAllAgentConfigs, getAllBuiltInSkillMetas, getAllToolDefinitions, getBindingRegistry, getBuiltInSkillContent, getBuiltInSkillMeta, getBuiltInSkillNames, getCheckpointSaver, getChunkBuffer, getCollectionEntryCount, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getEvalRunService, getLoggerLattice, getMenuRegistry, getModelLattice, getNextCronTime, getOrCreateCollectionVectorStore, getQueueLattice, getSTTClient, getSTTClientWithTenant, getSTTModelLattice, getSandBoxManager, getScheduleLattice, getStoreLattice, getToolClient, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, getVectorStoreProvider, getWorkflowSignal, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, hasChunkBuffer, invokeWithRetry, isBuiltInSkill, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, listCollectionEntries, listSandboxProviderTypes, loggerLatticeManager, mcpManager, metricsServerManager, modelLatticeManager, normalizeSandboxName, parallelLimit, parseCronExpression, parseJudgeVerdict, parseSkillFrontmatter, parseYaml, performStringReplacement, queueLatticeManager, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, registerBuiltinSkill, registerCheckpointSaver, registerChunkBuffer, registerEmbeddingsLattice, registerExistingTool, registerLoggerLattice, registerModelLattice, registerQueueLattice, registerSTTModelLattice, registerSandboxProviderType, registerScheduleLattice, registerStoreLattice, registerTeammateAgent, registerToolLattice, registerVectorStoreLattice, registerVectorStoreProvider, registerWorkflowRun, removeCollectionVectorStore, renderTemplate, resolvePath, sandboxLatticeManager, sanitizeToolCallId, scheduleLatticeManager, serializePluginMeta, setBindingRegistry, setEvalRunService, setMenuRegistry, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, sttModelLatticeManager, toJsonSchema, toSafeStateExpr, toolLatticeManager, truncateIfTooLong, unregisterTeammateAgent, unregisterWorkflowRun, updateFileData, validateAgentInput, validateDSL, validateEncryptionKey, validatePath, validateSkillName, validateToolInput, vectorStoreLatticeManager, vectorStoreProviderManager };
8131
+ export { AGENT_TASK_EVENT, type AddMessageParams, Agent, type AgentClient, type AgentExecutor, AgentInstanceManager, type AgentLattice, AgentLatticeManager, type AgentLifecycleEventName, AgentManager, type AgentStreamExecutor, type AgentThreadInterface, BUILTIN_PLUGINS, BUILTIN_SKILLS, type BackendFactory, type BackendProtocol, type BufferStats, type CacheEntry, type CaseRunResult, type Chunk, ChunkBuffer, ChunkBufferLatticeManager, CollectionLatticeManager, type ColumnInfo, CompositeBackend, type ConflictItem, type ConnectAllChannelsOptions, ConnectionRegistry, ConsoleLoggerClient, type CreateSandboxProviderConfig, type CronFields, CustomMetricsClient, type CustomMiddlewareFactory, CustomMiddlewareRegistry, type DatabaseConfig, type DatabaseType, DaytonaInstance, DaytonaProvider, type DaytonaProviderConfig, DefaultScheduleClient, type DeleteResult, DependencyResolver, E2BInstance, E2BProvider, type E2BProviderConfig, EMPTY_CONTENT_WARNING, type EditResult, type EmbeddingsInfo, type EmbeddingsLatticeInterface, EmbeddingsLatticeManager, type EnsureMicrosandboxInput, type EvalRunService, type ExportBundle, type ExportJob, type ExportableEntity, type ExportableEntityDefinition, ExportableEntityRegistry, type ExportableTypeInfo, type FileData, type FileInfo, FileSystemSkillStore, type FileSystemSkillStoreOptions, FilesystemBackend, type FsEntry, type GrepMatch, type IMessageQueueStore, type IMetricsServerClient, type ISqlDatabase, IdRemapper, type ImportApplyResult, type ImportEntityResult, type ImportEntityStatus, type ImportPreviewResult, InMemoryA2AApiKeyStore, InMemoryAssistantStore, InMemoryBindingStore, InMemoryChannelInstallationStore, InMemoryChunkBuffer, InMemoryCollectionStore, InMemoryDatabaseConfigStore, InMemoryMailboxStore, InMemoryMenuStore, InMemoryTaskListStore, InMemoryTaskStore, InMemoryTenantStore, InMemoryThreadMessageQueueStore, InMemoryThreadStore, InMemoryUserStore, InMemoryUserTenantLinkStore, type InsertionItem, type JudgeVerdict, LINE_NUMBER_WIDTH, type LangGraphStateChecker, type LatticeAgentStepConfig, LatticeEval, type LatticeEvalBatchReport, type LatticeEvalCase, type LatticeEvalCaseType, type LatticeEvalCaseWithTemplate, type LatticeEvalConfig, type LatticeEvalLogEvent, type LatticeEvalLogLevel, LatticeEvalProject, type LatticeEvalProjectType, type LatticeEvalResult, type LatticeEvalRubric, LatticeEvalSuite, type LatticeEvalSuiteType, type LatticeEvalTemplate, LocalSandboxInstance, LocalSandboxProvider, type LocalSandboxProviderConfig, 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, MysqlDatabase, type OutputType, type PendingMessage, PersonalAssistantConfig, PinoLoggerClient, PluginRegistry, PostgresDatabase, type PreviewError, PrometheusClient, type QueryResult, type QueueLattice, QueueLatticeManager, QueueMode, type QueuePendingEvent, RemoteSandboxInstance, RemoteSandboxProvider, type RemoteSandboxProviderConfig, type Resolution, type ResolutionAction, type ResolveAgentFn, type ResolvedConfig, type RunSandboxConfig, type RuntimeModelConfig, type STTModelInfo, STTModelLattice, type STTModelLatticeInterface, STTModelLatticeManager, type SandboxFileInfo, type SandboxFileService, SandboxFilesystem, type SandboxInstance, type SandboxIsolationLevel, SandboxLatticeManager, type SandboxManagerProtocol, type SandboxProvider, type SandboxProviderFactory, type SandboxProviderType, type SandboxShellService, SandboxSkillStore, type SandboxSkillStoreOptions, type SandboxVolumeDefinition, type ScheduleLattice, ScheduleLatticeManager, type SchedulerMiddlewareOptions, SemanticMetricsClient, type SharePayload, SimpleMemoryVectorStore, 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, TokenCache, type ToolDefinition, type ToolLattice, ToolLatticeManager, type UnknownToolHandlerConfig, type VectorStoreLatticeInterface, VectorStoreLatticeManager, type VectorStoreProviderLattice, VectorStoreProviderManager, VolumeFilesystem, type VolumeFsClient, type WorkflowValidationError, type WriteResult, abortWorkflowRun, agentInstanceManager, agentLatticeManager, buildGrepResultsDict, buildInput, buildNamedVolumeName, buildSandboxMetadataEnv, buildSkillFile, buildStateAnnotation, buildTableName, checkEmptyContent, clearEncryptionKeyCache, clearEvalRunService, collectionLatticeManager, compileInternal, compileWorkflow, computeSandboxName, configureStores, connectAllChannels, createAgentNode, createAgentTeam, createExecuteSqlQueryTool, createFileData, createInfoSqlTool, createListMetricsDataSourcesTool, createListMetricsServersTool, createListTablesSqlTool, createMapNode, createModelSelectorMiddleware, createNodeHandler, createQueryCheckerSqlTool, createQueryMetricDefinitionTool, createQueryMetricsListTool, createQuerySemanticMetricDataTool, createQuerySqlTool, createQueryTableDefinitionTool, createQueryTablesListTool, createResourceAddress, createSandboxProvider, createSchedulerMiddleware, createSharePayload, createTaskMiddleware, createTeamMiddleware, createTeammateTools, createUnknownToolHandlerMiddleware, createWidgetMiddleware, decrypt, describeCronExpression, documentLearningPlugin, documentParserPlugin, embeddingsLatticeManager, encrypt, ensureBuiltinAgentsForTenant, evaluateLatticeCaseWithLogs, eventBus, eventBus as eventBusDefault, extractFetcherError, extractOutput, fileDataToString, formatContentWithLineNumbers, formatGrepMatches, formatGrepResults, formatReadResponse, generateToken, getAgentClient, getAgentConfig, getAllAgentConfigs, getAllBuiltInSkillMetas, getAllToolDefinitions, getBindingRegistry, getBuiltInSkillContent, getBuiltInSkillMeta, getBuiltInSkillNames, getCheckpointSaver, getChunkBuffer, getCollectionEntryCount, getEmbeddingsClient, getEmbeddingsLattice, getEncryptionKey, getEvalRunService, getLoggerLattice, getMenuRegistry, getModelLattice, getNextCronTime, getOrCreateCollectionVectorStore, getQueueLattice, getSTTClient, getSTTClientWithTenant, getSTTModelLattice, getSandBoxManager, getScheduleLattice, getStoreLattice, getToolClient, getToolDefinition, getToolLattice, getVectorStoreClient, getVectorStoreLattice, getVectorStoreProvider, getWorkflowSignal, globSearchFiles, grepMatchesFromFiles, grepSearchFiles, hasChunkBuffer, invokeWithRetry, isBuiltInSkill, isUsingDefaultKey, isValidCronExpression, isValidSandboxName, isValidSkillName, listCollectionEntries, listSandboxProviderTypes, loggerLatticeManager, mcpManager, metricsServerManager, modelLatticeManager, normalizeSandboxName, parallelLimit, parseCronExpression, parseJudgeVerdict, parseSkillFrontmatter, parseYaml, performStringReplacement, queueLatticeManager, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, registerBuiltinSkill, registerCheckpointSaver, registerChunkBuffer, registerEmbeddingsLattice, registerExistingTool, registerLoggerLattice, registerModelLattice, registerQueueLattice, registerSTTModelLattice, registerSandboxProviderType, registerScheduleLattice, registerStoreLattice, registerTeammateAgent, registerToolLattice, registerVectorStoreLattice, registerVectorStoreProvider, registerWorkflowRun, removeCollectionVectorStore, renderTemplate, resolvePath, sandboxLatticeManager, sanitizeToolCallId, scheduleLatticeManager, serializePluginMeta, setBindingRegistry, setEvalRunService, setMenuRegistry, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, sttModelLatticeManager, toJsonSchema, toSafeStateExpr, toolLatticeManager, truncateIfTooLong, unregisterTeammateAgent, unregisterWorkflowRun, updateFileData, validateAgentInput, validateDSL, validateEncryptionKey, validatePath, validateSkillName, validateToolInput, vectorStoreLatticeManager, vectorStoreProviderManager };