@axiom-lattice/core 3.0.1 → 3.0.2
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 +52 -2
- package/dist/index.d.ts +52 -2
- package/dist/index.js +415 -29
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +415 -29
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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>;
|
|
@@ -6245,6 +6279,8 @@ declare class StateBackend implements BackendProtocol {
|
|
|
6245
6279
|
* Returns EditResult with filesUpdate and occurrences.
|
|
6246
6280
|
*/
|
|
6247
6281
|
edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): EditResult;
|
|
6282
|
+
/** Delete an existing file through a LangGraph state update. */
|
|
6283
|
+
delete(filePath: string): DeleteResult;
|
|
6248
6284
|
/**
|
|
6249
6285
|
* Structured search results or error string for invalid input.
|
|
6250
6286
|
*/
|
|
@@ -6344,6 +6380,8 @@ declare class StoreBackend implements BackendProtocol {
|
|
|
6344
6380
|
* Returns EditResult. External storage sets filesUpdate=null.
|
|
6345
6381
|
*/
|
|
6346
6382
|
edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
|
|
6383
|
+
/** Delete an existing persistent file. */
|
|
6384
|
+
delete(filePath: string): Promise<DeleteResult>;
|
|
6347
6385
|
/**
|
|
6348
6386
|
* Structured search results or error string for invalid input.
|
|
6349
6387
|
*/
|
|
@@ -6393,6 +6431,8 @@ declare class FilesystemBackend implements BackendProtocol {
|
|
|
6393
6431
|
* @throws Error if path traversal detected or path outside root
|
|
6394
6432
|
*/
|
|
6395
6433
|
private resolvePath;
|
|
6434
|
+
private assertVirtualParentContained;
|
|
6435
|
+
private validateDeleteTarget;
|
|
6396
6436
|
/**
|
|
6397
6437
|
* List files and directories in the specified directory (non-recursive).
|
|
6398
6438
|
*
|
|
@@ -6422,6 +6462,8 @@ declare class FilesystemBackend implements BackendProtocol {
|
|
|
6422
6462
|
* Returns WriteResult. External storage sets filesUpdate=null.
|
|
6423
6463
|
*/
|
|
6424
6464
|
write(filePath: string, content: string): Promise<WriteResult>;
|
|
6465
|
+
/** Delete an existing regular file without following symbolic links. */
|
|
6466
|
+
delete(filePath: string): Promise<DeleteResult>;
|
|
6425
6467
|
/**
|
|
6426
6468
|
* Edit a file by replacing string occurrences.
|
|
6427
6469
|
* Returns EditResult. External storage sets filesUpdate=null.
|
|
@@ -6512,6 +6554,8 @@ declare class CompositeBackend implements BackendProtocol {
|
|
|
6512
6554
|
* @returns WriteResult with path or error
|
|
6513
6555
|
*/
|
|
6514
6556
|
write(filePath: string, content: string): Promise<WriteResult>;
|
|
6557
|
+
/** Delete a file, routing to the same backend selected for write and edit. */
|
|
6558
|
+
delete(filePath: string): Promise<DeleteResult>;
|
|
6515
6559
|
/**
|
|
6516
6560
|
* Edit a file, routing to appropriate backend.
|
|
6517
6561
|
*
|
|
@@ -6542,6 +6586,8 @@ declare class MemoryBackend implements BackendProtocol {
|
|
|
6542
6586
|
readRaw(filePath: string): FileData;
|
|
6543
6587
|
write(filePath: string, content: string): WriteResult;
|
|
6544
6588
|
edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): EditResult;
|
|
6589
|
+
/** Delete an existing in-memory file. */
|
|
6590
|
+
delete(filePath: string): DeleteResult;
|
|
6545
6591
|
grepRaw(pattern: string, path?: string, glob?: string | null): GrepMatch[] | string;
|
|
6546
6592
|
globInfo(pattern: string, path?: string): FileInfo[];
|
|
6547
6593
|
}
|
|
@@ -6565,6 +6611,8 @@ declare class SandboxFilesystem implements BackendProtocol {
|
|
|
6565
6611
|
readRaw(filePath: string): Promise<FileData>;
|
|
6566
6612
|
readBinary(filePath: string): Promise<Buffer>;
|
|
6567
6613
|
write(filePath: string, content: string): Promise<WriteResult>;
|
|
6614
|
+
/** Delete an existing regular file in the sandbox. */
|
|
6615
|
+
delete(filePath: string): Promise<DeleteResult>;
|
|
6568
6616
|
edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
|
|
6569
6617
|
grepRaw(pattern: string, searchPath?: string | null, glob?: string | null): Promise<GrepMatch[] | string>;
|
|
6570
6618
|
globInfo(pattern: string, searchPath?: string): Promise<FileInfo[]>;
|
|
@@ -6582,6 +6630,8 @@ declare class VolumeFilesystem implements BackendProtocol {
|
|
|
6582
6630
|
grepRaw(_pattern: string, _path?: string | null, _glob?: string | null): string | GrepMatch[];
|
|
6583
6631
|
globInfo(_pattern: string, _path?: string): FileInfo[];
|
|
6584
6632
|
write(filePath: string, content: string): Promise<WriteResult>;
|
|
6633
|
+
/** Delete an existing regular file from the mounted volume. */
|
|
6634
|
+
delete(filePath: string): Promise<DeleteResult>;
|
|
6585
6635
|
edit(_filePath: string, _oldString: string, _newString: string, _replaceAll?: boolean): EditResult;
|
|
6586
6636
|
}
|
|
6587
6637
|
|
|
@@ -8065,4 +8115,4 @@ declare class IdRemapper {
|
|
|
8065
8115
|
remapSkillIds(graphDefinition: Record<string, unknown>, skillRemap: Record<string, string>): Record<string, unknown>;
|
|
8066
8116
|
}
|
|
8067
8117
|
|
|
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 };
|
|
8118
|
+
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>;
|
|
@@ -6245,6 +6279,8 @@ declare class StateBackend implements BackendProtocol {
|
|
|
6245
6279
|
* Returns EditResult with filesUpdate and occurrences.
|
|
6246
6280
|
*/
|
|
6247
6281
|
edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): EditResult;
|
|
6282
|
+
/** Delete an existing file through a LangGraph state update. */
|
|
6283
|
+
delete(filePath: string): DeleteResult;
|
|
6248
6284
|
/**
|
|
6249
6285
|
* Structured search results or error string for invalid input.
|
|
6250
6286
|
*/
|
|
@@ -6344,6 +6380,8 @@ declare class StoreBackend implements BackendProtocol {
|
|
|
6344
6380
|
* Returns EditResult. External storage sets filesUpdate=null.
|
|
6345
6381
|
*/
|
|
6346
6382
|
edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
|
|
6383
|
+
/** Delete an existing persistent file. */
|
|
6384
|
+
delete(filePath: string): Promise<DeleteResult>;
|
|
6347
6385
|
/**
|
|
6348
6386
|
* Structured search results or error string for invalid input.
|
|
6349
6387
|
*/
|
|
@@ -6393,6 +6431,8 @@ declare class FilesystemBackend implements BackendProtocol {
|
|
|
6393
6431
|
* @throws Error if path traversal detected or path outside root
|
|
6394
6432
|
*/
|
|
6395
6433
|
private resolvePath;
|
|
6434
|
+
private assertVirtualParentContained;
|
|
6435
|
+
private validateDeleteTarget;
|
|
6396
6436
|
/**
|
|
6397
6437
|
* List files and directories in the specified directory (non-recursive).
|
|
6398
6438
|
*
|
|
@@ -6422,6 +6462,8 @@ declare class FilesystemBackend implements BackendProtocol {
|
|
|
6422
6462
|
* Returns WriteResult. External storage sets filesUpdate=null.
|
|
6423
6463
|
*/
|
|
6424
6464
|
write(filePath: string, content: string): Promise<WriteResult>;
|
|
6465
|
+
/** Delete an existing regular file without following symbolic links. */
|
|
6466
|
+
delete(filePath: string): Promise<DeleteResult>;
|
|
6425
6467
|
/**
|
|
6426
6468
|
* Edit a file by replacing string occurrences.
|
|
6427
6469
|
* Returns EditResult. External storage sets filesUpdate=null.
|
|
@@ -6512,6 +6554,8 @@ declare class CompositeBackend implements BackendProtocol {
|
|
|
6512
6554
|
* @returns WriteResult with path or error
|
|
6513
6555
|
*/
|
|
6514
6556
|
write(filePath: string, content: string): Promise<WriteResult>;
|
|
6557
|
+
/** Delete a file, routing to the same backend selected for write and edit. */
|
|
6558
|
+
delete(filePath: string): Promise<DeleteResult>;
|
|
6515
6559
|
/**
|
|
6516
6560
|
* Edit a file, routing to appropriate backend.
|
|
6517
6561
|
*
|
|
@@ -6542,6 +6586,8 @@ declare class MemoryBackend implements BackendProtocol {
|
|
|
6542
6586
|
readRaw(filePath: string): FileData;
|
|
6543
6587
|
write(filePath: string, content: string): WriteResult;
|
|
6544
6588
|
edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): EditResult;
|
|
6589
|
+
/** Delete an existing in-memory file. */
|
|
6590
|
+
delete(filePath: string): DeleteResult;
|
|
6545
6591
|
grepRaw(pattern: string, path?: string, glob?: string | null): GrepMatch[] | string;
|
|
6546
6592
|
globInfo(pattern: string, path?: string): FileInfo[];
|
|
6547
6593
|
}
|
|
@@ -6565,6 +6611,8 @@ declare class SandboxFilesystem implements BackendProtocol {
|
|
|
6565
6611
|
readRaw(filePath: string): Promise<FileData>;
|
|
6566
6612
|
readBinary(filePath: string): Promise<Buffer>;
|
|
6567
6613
|
write(filePath: string, content: string): Promise<WriteResult>;
|
|
6614
|
+
/** Delete an existing regular file in the sandbox. */
|
|
6615
|
+
delete(filePath: string): Promise<DeleteResult>;
|
|
6568
6616
|
edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
|
|
6569
6617
|
grepRaw(pattern: string, searchPath?: string | null, glob?: string | null): Promise<GrepMatch[] | string>;
|
|
6570
6618
|
globInfo(pattern: string, searchPath?: string): Promise<FileInfo[]>;
|
|
@@ -6582,6 +6630,8 @@ declare class VolumeFilesystem implements BackendProtocol {
|
|
|
6582
6630
|
grepRaw(_pattern: string, _path?: string | null, _glob?: string | null): string | GrepMatch[];
|
|
6583
6631
|
globInfo(_pattern: string, _path?: string): FileInfo[];
|
|
6584
6632
|
write(filePath: string, content: string): Promise<WriteResult>;
|
|
6633
|
+
/** Delete an existing regular file from the mounted volume. */
|
|
6634
|
+
delete(filePath: string): Promise<DeleteResult>;
|
|
6585
6635
|
edit(_filePath: string, _oldString: string, _newString: string, _replaceAll?: boolean): EditResult;
|
|
6586
6636
|
}
|
|
6587
6637
|
|
|
@@ -8065,4 +8115,4 @@ declare class IdRemapper {
|
|
|
8065
8115
|
remapSkillIds(graphDefinition: Record<string, unknown>, skillRemap: Record<string, string>): Record<string, unknown>;
|
|
8066
8116
|
}
|
|
8067
8117
|
|
|
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 };
|
|
8118
|
+
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 };
|