@axiom-lattice/core 2.1.103 → 3.0.1
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 +80 -3
- package/dist/index.d.ts +80 -3
- package/dist/index.js +11587 -9886
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11560 -9864
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -4278,6 +4278,7 @@ interface SkillMeta {
|
|
|
4278
4278
|
description: string;
|
|
4279
4279
|
license?: string;
|
|
4280
4280
|
compatibility?: string;
|
|
4281
|
+
verified?: string;
|
|
4281
4282
|
metadata?: Record<string, string>;
|
|
4282
4283
|
subSkills?: string[];
|
|
4283
4284
|
}
|
|
@@ -4329,6 +4330,14 @@ declare function getBuiltInSkillNames(): string[];
|
|
|
4329
4330
|
* Check if a skill name refers to a built-in skill.
|
|
4330
4331
|
*/
|
|
4331
4332
|
declare function isBuiltInSkill(name: string): boolean;
|
|
4333
|
+
/**
|
|
4334
|
+
* Register a skill as a built-in skill at runtime.
|
|
4335
|
+
* Used by PluginRegistry to expose plugin procedural skills
|
|
4336
|
+
* through the same unified API as static built-in skills.
|
|
4337
|
+
*
|
|
4338
|
+
* Duplicate registrations are ignored (first wins).
|
|
4339
|
+
*/
|
|
4340
|
+
declare function registerBuiltinSkill(name: string, content: string): void;
|
|
4332
4341
|
|
|
4333
4342
|
/**
|
|
4334
4343
|
* CollectionLatticeManager
|
|
@@ -4523,6 +4532,13 @@ interface VolumeFsClient {
|
|
|
4523
4532
|
list(path: string): Promise<FsEntry[]>;
|
|
4524
4533
|
readRaw(path: string): Promise<Buffer>;
|
|
4525
4534
|
writeRaw(path: string, data: Buffer): Promise<void>;
|
|
4535
|
+
/**
|
|
4536
|
+
* Create a directory (and any missing parent directories).
|
|
4537
|
+
*
|
|
4538
|
+
* Optional — providers that don't support this will have `write()` fail
|
|
4539
|
+
* if the parent directory does not exist.
|
|
4540
|
+
*/
|
|
4541
|
+
mkdir?(path: string): Promise<void>;
|
|
4526
4542
|
}
|
|
4527
4543
|
|
|
4528
4544
|
interface SandboxProvider {
|
|
@@ -4634,6 +4650,7 @@ declare class MicrosandboxServiceClient {
|
|
|
4634
4650
|
volumeFsList(volumeName: string, path: string): Promise<VolumeFsListResponse["entries"]>;
|
|
4635
4651
|
volumeFsDownload(volumeName: string, path: string): Promise<Buffer>;
|
|
4636
4652
|
volumeFsUpload(volumeName: string, path: string, data: Buffer): Promise<void>;
|
|
4653
|
+
volumeFsCreateDirectory(volumeName: string, path: string): Promise<void>;
|
|
4637
4654
|
private request;
|
|
4638
4655
|
}
|
|
4639
4656
|
|
|
@@ -4649,7 +4666,7 @@ declare function createResourceAddress(config: {
|
|
|
4649
4666
|
resourcePath: string;
|
|
4650
4667
|
}): ResourceAddress;
|
|
4651
4668
|
|
|
4652
|
-
type MicrosandboxRemoteProviderClient = Pick<MicrosandboxServiceClient, "ensureSandbox" | "startSandbox" | "stopSandbox" | "killSandbox" | "deleteSandbox" | "getStatus" | "readFile" | "writeFile" | "listPath" | "findFiles" | "searchInFile" | "replaceInFile" | "uploadFile" | "downloadFile" | "execCommand" | "volumeFsRead" | "volumeFsWrite" | "volumeFsList" | "volumeFsDownload" | "volumeFsUpload">;
|
|
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">;
|
|
4653
4670
|
interface MicrosandboxRemoteProviderConfig extends MicrosandboxServiceClientConfig {
|
|
4654
4671
|
client?: MicrosandboxRemoteProviderClient;
|
|
4655
4672
|
image?: string;
|
|
@@ -5242,9 +5259,12 @@ interface EvalRunService {
|
|
|
5242
5259
|
*
|
|
5243
5260
|
* @param tenantId - Tenant that owns the project
|
|
5244
5261
|
* @param projectId - Project to evaluate
|
|
5262
|
+
* @param suiteIds - Optional suite filter — only these suites run.
|
|
5263
|
+
* Omit to run all suites. Used to keep the validation suite
|
|
5264
|
+
* untouched during the fix loop (hold-out isolation).
|
|
5245
5265
|
* @returns The newly created run ID
|
|
5246
5266
|
*/
|
|
5247
|
-
startRun(tenantId: string, projectId: string): Promise<string>;
|
|
5267
|
+
startRun(tenantId: string, projectId: string, suiteIds?: string[]): Promise<string>;
|
|
5248
5268
|
/**
|
|
5249
5269
|
* Abort a running evaluation.
|
|
5250
5270
|
*
|
|
@@ -5323,6 +5343,8 @@ interface LatticeEvalProjectType {
|
|
|
5323
5343
|
};
|
|
5324
5344
|
lattice_server_config: {
|
|
5325
5345
|
tenant_id?: string;
|
|
5346
|
+
workspace_id?: string;
|
|
5347
|
+
project_id?: string;
|
|
5326
5348
|
};
|
|
5327
5349
|
concurrency?: number;
|
|
5328
5350
|
}
|
|
@@ -5441,11 +5463,34 @@ interface CaseRunResult {
|
|
|
5441
5463
|
logs: LatticeEvalLogEvent[];
|
|
5442
5464
|
}
|
|
5443
5465
|
|
|
5466
|
+
interface JudgeVerdict {
|
|
5467
|
+
pass?: boolean;
|
|
5468
|
+
final_score?: number;
|
|
5469
|
+
dimension_results?: Array<{
|
|
5470
|
+
name: string;
|
|
5471
|
+
score: number;
|
|
5472
|
+
reason: string;
|
|
5473
|
+
}>;
|
|
5474
|
+
summary?: string;
|
|
5475
|
+
error?: string;
|
|
5476
|
+
}
|
|
5477
|
+
/**
|
|
5478
|
+
* Parse judge agent's raw output into a structured verdict.
|
|
5479
|
+
* Returns error when no valid JSON is found — callers should treat
|
|
5480
|
+
* unparseable output as FAIL (never guess pass from keywords).
|
|
5481
|
+
*
|
|
5482
|
+
* Type-guards verdict fields: a string `pass: "false"` or `final_score: "90"`
|
|
5483
|
+
* is treated as missing (undefined) rather than truthy — a judge emitting
|
|
5484
|
+
* wrong-typed verdicts must not produce a false PASS.
|
|
5485
|
+
*/
|
|
5486
|
+
declare function parseJudgeVerdict(raw: string): JudgeVerdict;
|
|
5444
5487
|
/**
|
|
5445
5488
|
* Configuration for Lattice evaluation.
|
|
5446
5489
|
*/
|
|
5447
5490
|
interface LatticeEvalConfig {
|
|
5448
5491
|
tenant_id?: string;
|
|
5492
|
+
workspace_id?: string;
|
|
5493
|
+
project_id?: string;
|
|
5449
5494
|
/**
|
|
5450
5495
|
* Key of the judge agent lattice to invoke for scoring.
|
|
5451
5496
|
* Registered per-project by LatticeEvalProject.
|
|
@@ -5507,6 +5552,8 @@ declare function evaluateLatticeCaseWithLogs(evalCase: LatticeEvalCase, config?:
|
|
|
5507
5552
|
interface ResolvedConfig {
|
|
5508
5553
|
lattice_server_config: {
|
|
5509
5554
|
tenant_id?: string;
|
|
5555
|
+
workspace_id?: string;
|
|
5556
|
+
project_id?: string;
|
|
5510
5557
|
};
|
|
5511
5558
|
judge_agent_config?: {
|
|
5512
5559
|
modelKey?: string;
|
|
@@ -5552,6 +5599,15 @@ declare class LatticeEvalProject {
|
|
|
5552
5599
|
runCase(suiteName: string, caseId: string): Promise<CaseRunResult>;
|
|
5553
5600
|
runSuite(suiteName: string, concurrency?: number, signal?: AbortSignal): Promise<CaseRunResult[]>;
|
|
5554
5601
|
runAllSuites(concurrency?: number, signal?: AbortSignal): Promise<Map<string, CaseRunResult[]>>;
|
|
5602
|
+
/**
|
|
5603
|
+
* Verify the judge agent can produce parseable, correct verdicts
|
|
5604
|
+
* before committing to a full run. Uses two known-answer cases
|
|
5605
|
+
* (one expected PASS, one expected FAIL) to catch broken judges.
|
|
5606
|
+
*/
|
|
5607
|
+
calibrateJudge(): Promise<{
|
|
5608
|
+
ok: boolean;
|
|
5609
|
+
reason?: string;
|
|
5610
|
+
}>;
|
|
5555
5611
|
/**
|
|
5556
5612
|
* Run all suites as a batch and build an in-memory report.
|
|
5557
5613
|
*/
|
|
@@ -7445,6 +7501,27 @@ declare function serializePluginMeta(plugin: Plugin): PluginMetaOutput;
|
|
|
7445
7501
|
|
|
7446
7502
|
declare const BUILTIN_PLUGINS: Plugin[];
|
|
7447
7503
|
|
|
7504
|
+
/**
|
|
7505
|
+
* Document Learning Plugin
|
|
7506
|
+
*
|
|
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.
|
|
7510
|
+
*/
|
|
7511
|
+
|
|
7512
|
+
declare const documentLearningPlugin: Plugin;
|
|
7513
|
+
|
|
7514
|
+
/**
|
|
7515
|
+
* Document Parser Middleware & Plugin
|
|
7516
|
+
*
|
|
7517
|
+
* Provides a `parse_document` tool and a `document-bench` workflow agent.
|
|
7518
|
+
*
|
|
7519
|
+
* Connection credentials are resolved at runtime via ConnectionRegistry.list()
|
|
7520
|
+
* when connectAll is enabled.
|
|
7521
|
+
*/
|
|
7522
|
+
|
|
7523
|
+
declare const documentParserPlugin: Plugin;
|
|
7524
|
+
|
|
7448
7525
|
/**
|
|
7449
7526
|
* Create middleware that provides widget rendering capabilities.
|
|
7450
7527
|
*
|
|
@@ -7988,4 +8065,4 @@ declare class IdRemapper {
|
|
|
7988
8065
|
remapSkillIds(graphDefinition: Record<string, unknown>, skillRemap: Record<string, string>): Record<string, unknown>;
|
|
7989
8066
|
}
|
|
7990
8067
|
|
|
7991
|
-
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, 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, 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, parseSkillFrontmatter, parseYaml, performStringReplacement, queueLatticeManager, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, 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 };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -4278,6 +4278,7 @@ interface SkillMeta {
|
|
|
4278
4278
|
description: string;
|
|
4279
4279
|
license?: string;
|
|
4280
4280
|
compatibility?: string;
|
|
4281
|
+
verified?: string;
|
|
4281
4282
|
metadata?: Record<string, string>;
|
|
4282
4283
|
subSkills?: string[];
|
|
4283
4284
|
}
|
|
@@ -4329,6 +4330,14 @@ declare function getBuiltInSkillNames(): string[];
|
|
|
4329
4330
|
* Check if a skill name refers to a built-in skill.
|
|
4330
4331
|
*/
|
|
4331
4332
|
declare function isBuiltInSkill(name: string): boolean;
|
|
4333
|
+
/**
|
|
4334
|
+
* Register a skill as a built-in skill at runtime.
|
|
4335
|
+
* Used by PluginRegistry to expose plugin procedural skills
|
|
4336
|
+
* through the same unified API as static built-in skills.
|
|
4337
|
+
*
|
|
4338
|
+
* Duplicate registrations are ignored (first wins).
|
|
4339
|
+
*/
|
|
4340
|
+
declare function registerBuiltinSkill(name: string, content: string): void;
|
|
4332
4341
|
|
|
4333
4342
|
/**
|
|
4334
4343
|
* CollectionLatticeManager
|
|
@@ -4523,6 +4532,13 @@ interface VolumeFsClient {
|
|
|
4523
4532
|
list(path: string): Promise<FsEntry[]>;
|
|
4524
4533
|
readRaw(path: string): Promise<Buffer>;
|
|
4525
4534
|
writeRaw(path: string, data: Buffer): Promise<void>;
|
|
4535
|
+
/**
|
|
4536
|
+
* Create a directory (and any missing parent directories).
|
|
4537
|
+
*
|
|
4538
|
+
* Optional — providers that don't support this will have `write()` fail
|
|
4539
|
+
* if the parent directory does not exist.
|
|
4540
|
+
*/
|
|
4541
|
+
mkdir?(path: string): Promise<void>;
|
|
4526
4542
|
}
|
|
4527
4543
|
|
|
4528
4544
|
interface SandboxProvider {
|
|
@@ -4634,6 +4650,7 @@ declare class MicrosandboxServiceClient {
|
|
|
4634
4650
|
volumeFsList(volumeName: string, path: string): Promise<VolumeFsListResponse["entries"]>;
|
|
4635
4651
|
volumeFsDownload(volumeName: string, path: string): Promise<Buffer>;
|
|
4636
4652
|
volumeFsUpload(volumeName: string, path: string, data: Buffer): Promise<void>;
|
|
4653
|
+
volumeFsCreateDirectory(volumeName: string, path: string): Promise<void>;
|
|
4637
4654
|
private request;
|
|
4638
4655
|
}
|
|
4639
4656
|
|
|
@@ -4649,7 +4666,7 @@ declare function createResourceAddress(config: {
|
|
|
4649
4666
|
resourcePath: string;
|
|
4650
4667
|
}): ResourceAddress;
|
|
4651
4668
|
|
|
4652
|
-
type MicrosandboxRemoteProviderClient = Pick<MicrosandboxServiceClient, "ensureSandbox" | "startSandbox" | "stopSandbox" | "killSandbox" | "deleteSandbox" | "getStatus" | "readFile" | "writeFile" | "listPath" | "findFiles" | "searchInFile" | "replaceInFile" | "uploadFile" | "downloadFile" | "execCommand" | "volumeFsRead" | "volumeFsWrite" | "volumeFsList" | "volumeFsDownload" | "volumeFsUpload">;
|
|
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">;
|
|
4653
4670
|
interface MicrosandboxRemoteProviderConfig extends MicrosandboxServiceClientConfig {
|
|
4654
4671
|
client?: MicrosandboxRemoteProviderClient;
|
|
4655
4672
|
image?: string;
|
|
@@ -5242,9 +5259,12 @@ interface EvalRunService {
|
|
|
5242
5259
|
*
|
|
5243
5260
|
* @param tenantId - Tenant that owns the project
|
|
5244
5261
|
* @param projectId - Project to evaluate
|
|
5262
|
+
* @param suiteIds - Optional suite filter — only these suites run.
|
|
5263
|
+
* Omit to run all suites. Used to keep the validation suite
|
|
5264
|
+
* untouched during the fix loop (hold-out isolation).
|
|
5245
5265
|
* @returns The newly created run ID
|
|
5246
5266
|
*/
|
|
5247
|
-
startRun(tenantId: string, projectId: string): Promise<string>;
|
|
5267
|
+
startRun(tenantId: string, projectId: string, suiteIds?: string[]): Promise<string>;
|
|
5248
5268
|
/**
|
|
5249
5269
|
* Abort a running evaluation.
|
|
5250
5270
|
*
|
|
@@ -5323,6 +5343,8 @@ interface LatticeEvalProjectType {
|
|
|
5323
5343
|
};
|
|
5324
5344
|
lattice_server_config: {
|
|
5325
5345
|
tenant_id?: string;
|
|
5346
|
+
workspace_id?: string;
|
|
5347
|
+
project_id?: string;
|
|
5326
5348
|
};
|
|
5327
5349
|
concurrency?: number;
|
|
5328
5350
|
}
|
|
@@ -5441,11 +5463,34 @@ interface CaseRunResult {
|
|
|
5441
5463
|
logs: LatticeEvalLogEvent[];
|
|
5442
5464
|
}
|
|
5443
5465
|
|
|
5466
|
+
interface JudgeVerdict {
|
|
5467
|
+
pass?: boolean;
|
|
5468
|
+
final_score?: number;
|
|
5469
|
+
dimension_results?: Array<{
|
|
5470
|
+
name: string;
|
|
5471
|
+
score: number;
|
|
5472
|
+
reason: string;
|
|
5473
|
+
}>;
|
|
5474
|
+
summary?: string;
|
|
5475
|
+
error?: string;
|
|
5476
|
+
}
|
|
5477
|
+
/**
|
|
5478
|
+
* Parse judge agent's raw output into a structured verdict.
|
|
5479
|
+
* Returns error when no valid JSON is found — callers should treat
|
|
5480
|
+
* unparseable output as FAIL (never guess pass from keywords).
|
|
5481
|
+
*
|
|
5482
|
+
* Type-guards verdict fields: a string `pass: "false"` or `final_score: "90"`
|
|
5483
|
+
* is treated as missing (undefined) rather than truthy — a judge emitting
|
|
5484
|
+
* wrong-typed verdicts must not produce a false PASS.
|
|
5485
|
+
*/
|
|
5486
|
+
declare function parseJudgeVerdict(raw: string): JudgeVerdict;
|
|
5444
5487
|
/**
|
|
5445
5488
|
* Configuration for Lattice evaluation.
|
|
5446
5489
|
*/
|
|
5447
5490
|
interface LatticeEvalConfig {
|
|
5448
5491
|
tenant_id?: string;
|
|
5492
|
+
workspace_id?: string;
|
|
5493
|
+
project_id?: string;
|
|
5449
5494
|
/**
|
|
5450
5495
|
* Key of the judge agent lattice to invoke for scoring.
|
|
5451
5496
|
* Registered per-project by LatticeEvalProject.
|
|
@@ -5507,6 +5552,8 @@ declare function evaluateLatticeCaseWithLogs(evalCase: LatticeEvalCase, config?:
|
|
|
5507
5552
|
interface ResolvedConfig {
|
|
5508
5553
|
lattice_server_config: {
|
|
5509
5554
|
tenant_id?: string;
|
|
5555
|
+
workspace_id?: string;
|
|
5556
|
+
project_id?: string;
|
|
5510
5557
|
};
|
|
5511
5558
|
judge_agent_config?: {
|
|
5512
5559
|
modelKey?: string;
|
|
@@ -5552,6 +5599,15 @@ declare class LatticeEvalProject {
|
|
|
5552
5599
|
runCase(suiteName: string, caseId: string): Promise<CaseRunResult>;
|
|
5553
5600
|
runSuite(suiteName: string, concurrency?: number, signal?: AbortSignal): Promise<CaseRunResult[]>;
|
|
5554
5601
|
runAllSuites(concurrency?: number, signal?: AbortSignal): Promise<Map<string, CaseRunResult[]>>;
|
|
5602
|
+
/**
|
|
5603
|
+
* Verify the judge agent can produce parseable, correct verdicts
|
|
5604
|
+
* before committing to a full run. Uses two known-answer cases
|
|
5605
|
+
* (one expected PASS, one expected FAIL) to catch broken judges.
|
|
5606
|
+
*/
|
|
5607
|
+
calibrateJudge(): Promise<{
|
|
5608
|
+
ok: boolean;
|
|
5609
|
+
reason?: string;
|
|
5610
|
+
}>;
|
|
5555
5611
|
/**
|
|
5556
5612
|
* Run all suites as a batch and build an in-memory report.
|
|
5557
5613
|
*/
|
|
@@ -7445,6 +7501,27 @@ declare function serializePluginMeta(plugin: Plugin): PluginMetaOutput;
|
|
|
7445
7501
|
|
|
7446
7502
|
declare const BUILTIN_PLUGINS: Plugin[];
|
|
7447
7503
|
|
|
7504
|
+
/**
|
|
7505
|
+
* Document Learning Plugin
|
|
7506
|
+
*
|
|
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.
|
|
7510
|
+
*/
|
|
7511
|
+
|
|
7512
|
+
declare const documentLearningPlugin: Plugin;
|
|
7513
|
+
|
|
7514
|
+
/**
|
|
7515
|
+
* Document Parser Middleware & Plugin
|
|
7516
|
+
*
|
|
7517
|
+
* Provides a `parse_document` tool and a `document-bench` workflow agent.
|
|
7518
|
+
*
|
|
7519
|
+
* Connection credentials are resolved at runtime via ConnectionRegistry.list()
|
|
7520
|
+
* when connectAll is enabled.
|
|
7521
|
+
*/
|
|
7522
|
+
|
|
7523
|
+
declare const documentParserPlugin: Plugin;
|
|
7524
|
+
|
|
7448
7525
|
/**
|
|
7449
7526
|
* Create middleware that provides widget rendering capabilities.
|
|
7450
7527
|
*
|
|
@@ -7988,4 +8065,4 @@ declare class IdRemapper {
|
|
|
7988
8065
|
remapSkillIds(graphDefinition: Record<string, unknown>, skillRemap: Record<string, string>): Record<string, unknown>;
|
|
7989
8066
|
}
|
|
7990
8067
|
|
|
7991
|
-
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, 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, 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, parseSkillFrontmatter, parseYaml, performStringReplacement, queueLatticeManager, registerAgentLattice, registerAgentLatticeWithTenant, registerAgentLattices, 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 };
|
|
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 };
|