@axiom-lattice/core 2.1.102 → 3.0.0
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 +170 -3
- package/dist/index.d.ts +170 -3
- package/dist/index.js +11197 -9748
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11201 -9766
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -8,7 +8,7 @@ import { BaseLanguageModelInput, LanguageModelLike } from '@langchain/core/langu
|
|
|
8
8
|
import { CallbackManagerForLLMRun } from '@langchain/core/callbacks/manager';
|
|
9
9
|
import { ChatResult } from '@langchain/core/outputs';
|
|
10
10
|
import * as _axiom_lattice_protocols from '@axiom-lattice/protocols';
|
|
11
|
-
import { LLMConfig, SemanticMetricsServerConfig, MetricMeta, MetricQueryResult, DataSource, SemanticMetricsQueryRequest, SemanticMetricsQueryResponse, TableQueryRequest, TableQueryResponse, ExecuteSqlQueryRequest, ExecuteSqlQueryResponse, MetricsServerType, MetricsServerConfig, ToolConfig, ToolExecutor, AgentConfig, MiddlewareType, GraphBuildOptions, MessageChunk, MessageChunkType, QueueLatticeProtocol, QueueConfig, QueueClient, QueueResult, ScheduleLatticeProtocol, ScheduleConfig, ScheduleClient, ScheduleStorage, TaskHandler, ScheduleOnceOptions, ScheduleCronOptions, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, ThreadStore, AssistantStore, SkillStore, CollectionStore, WorkspaceStore, ProjectStore, DatabaseConfigStore, MetricsServerConfigStore, McpServerConfigStore, UserStore, TenantStore, UserTenantLinkStore, WorkflowTrackingStore, EvalStore, ChannelInstallationStore, BindingRegistry, MenuRegistry, A2AApiKeyStore, TaskStore, SharedResourceStore, ConnectionStore, TaskWorkItemStore, VectorStoreProvider, Thread, CreateThreadRequest, Assistant, CreateAssistantRequest, Skill, CreateSkillRequest, SkillStoreContext, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, User, CreateUserRequest, UpdateUserRequest, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, ChannelInstallation, ChannelInstallationType, CreateChannelInstallationRequest, UpdateChannelInstallationRequest, Binding, CreateBindingInput, A2AApiKeyRecord, CreateA2AApiKeyInput, A2AApiKeyEntry, CreateTaskRequest, TaskItem, TaskListFilter, UpdateTaskRequest, Collection, CreateCollectionRequest, UpdateCollectionRequest, MenuItem, CreateMenuItemInput, UpdateMenuItemInput, LoggerLatticeProtocol, LoggerConfig, LoggerClient, LoggerContext, SkillConfig, SkillClient, McpTool, ResourceResolver, ResourceAddress, ShareVisibility, CreateShareRequest, ChannelAdapter, PluginMeta, Plugin, PluginMetaOutput, InternalStateField, InternalInput, InternalNode, InternalAgentNode, InternalMapNode, InternalDSL, ConnectionEntry } from '@axiom-lattice/protocols';
|
|
11
|
+
import { LLMConfig, SemanticMetricsServerConfig, MetricMeta, MetricQueryResult, DataSource, SemanticMetricsQueryRequest, SemanticMetricsQueryResponse, TableQueryRequest, TableQueryResponse, ExecuteSqlQueryRequest, ExecuteSqlQueryResponse, MetricsServerType, MetricsServerConfig, ToolConfig, ToolExecutor, AgentConfig, MiddlewareType, GraphBuildOptions, MessageChunk, MessageChunkType, QueueLatticeProtocol, QueueConfig, QueueClient, QueueResult, ScheduleLatticeProtocol, ScheduleConfig, ScheduleClient, ScheduleStorage, TaskHandler, ScheduleOnceOptions, ScheduleCronOptions, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, ThreadStore, AssistantStore, SkillStore, CollectionStore, WorkspaceStore, ProjectStore, DatabaseConfigStore, MetricsServerConfigStore, McpServerConfigStore, UserStore, TenantStore, UserTenantLinkStore, WorkflowTrackingStore, EvalStore, ChannelInstallationStore, BindingRegistry, MenuRegistry, A2AApiKeyStore, TaskStore, SharedResourceStore, ConnectionStore, TaskWorkItemStore, VectorStoreProvider, Thread, CreateThreadRequest, Assistant, CreateAssistantRequest, Skill, CreateSkillRequest, SkillStoreContext, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, User, CreateUserRequest, UpdateUserRequest, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, ChannelInstallation, ChannelInstallationType, CreateChannelInstallationRequest, UpdateChannelInstallationRequest, Binding, CreateBindingInput, A2AApiKeyRecord, CreateA2AApiKeyInput, A2AApiKeyEntry, CreateTaskRequest, TaskItem, TaskListFilter, UpdateTaskRequest, Collection, CreateCollectionRequest, UpdateCollectionRequest, MenuItem, CreateMenuItemInput, UpdateMenuItemInput, STTModelLatticeProtocol, STTConfig, STTClient, TranscriptionResult, LoggerLatticeProtocol, LoggerConfig, LoggerClient, LoggerContext, SkillConfig, SkillClient, McpTool, ResourceResolver, ResourceAddress, ShareVisibility, CreateShareRequest, ChannelAdapter, PluginMeta, Plugin, PluginMetaOutput, InternalStateField, InternalInput, InternalNode, InternalAgentNode, InternalMapNode, InternalDSL, ConnectionEntry } from '@axiom-lattice/protocols';
|
|
12
12
|
export { _axiom_lattice_protocols as Protocols };
|
|
13
13
|
export { AgentConfig, AgentType, GraphBuildOptions, MemoryType } from '@axiom-lattice/protocols';
|
|
14
14
|
import * as langchain from 'langchain';
|
|
@@ -3694,6 +3694,129 @@ declare const registerEmbeddingsLattice: (key: string, embeddings: Embeddings, l
|
|
|
3694
3694
|
declare const getEmbeddingsLattice: (key: string) => EmbeddingsLatticeInterface;
|
|
3695
3695
|
declare const getEmbeddingsClient: (key: string) => Embeddings<number[]>;
|
|
3696
3696
|
|
|
3697
|
+
/**
|
|
3698
|
+
* STTModelLattice — Speech-to-text model wrapper.
|
|
3699
|
+
*
|
|
3700
|
+
* Implements the STTModelLatticeProtocol. Uses the OpenAI client from
|
|
3701
|
+
* @langchain/openai for openai-compatible providers. Supports two API modes:
|
|
3702
|
+
*
|
|
3703
|
+
* - **whisper**: Calls POST /v1/audio/transcriptions (multipart file upload).
|
|
3704
|
+
* Compatible with OpenAI Whisper API and any provider that implements it.
|
|
3705
|
+
*
|
|
3706
|
+
* - **chat**: Calls POST /v1/chat/completions with input_audio content blocks.
|
|
3707
|
+
* Compatible with Qwen3-ASR-Flash on Alibaba Bailian (DashScope).
|
|
3708
|
+
*
|
|
3709
|
+
* @example
|
|
3710
|
+
* ```ts
|
|
3711
|
+
* const stt = new STTModelLattice({
|
|
3712
|
+
* provider: "openai-compatible",
|
|
3713
|
+
* apiMode: "chat",
|
|
3714
|
+
* model: "qwen3-asr-flash",
|
|
3715
|
+
* baseURL: "https://xxx.cn-beijing.maas.aliyuncs.com/compatible-mode/v1",
|
|
3716
|
+
* apiKeyEnvName: "DASHSCOPE_API_KEY",
|
|
3717
|
+
* });
|
|
3718
|
+
* const result = await stt.transcribe(audioBuffer, "webm");
|
|
3719
|
+
* ```
|
|
3720
|
+
*/
|
|
3721
|
+
declare class STTModelLattice implements STTModelLatticeProtocol {
|
|
3722
|
+
readonly key: string;
|
|
3723
|
+
readonly config: STTConfig;
|
|
3724
|
+
readonly client: STTClient;
|
|
3725
|
+
private openaiClient;
|
|
3726
|
+
constructor(key: string, config: STTConfig);
|
|
3727
|
+
/**
|
|
3728
|
+
* Transcribe audio buffer to text.
|
|
3729
|
+
* Routes to whisper or chat API mode based on config.
|
|
3730
|
+
*/
|
|
3731
|
+
transcribe(audio: Buffer, format: string): Promise<TranscriptionResult>;
|
|
3732
|
+
/**
|
|
3733
|
+
* Transcribe via OpenAI /v1/audio/transcriptions endpoint (multipart).
|
|
3734
|
+
*/
|
|
3735
|
+
private transcribeViaWhisper;
|
|
3736
|
+
/**
|
|
3737
|
+
* Transcribe via OpenAI /v1/chat/completions with input_audio.
|
|
3738
|
+
* Used by Qwen3-ASR-Flash and similar audio-via-chat models.
|
|
3739
|
+
*/
|
|
3740
|
+
private transcribeViaChat;
|
|
3741
|
+
}
|
|
3742
|
+
|
|
3743
|
+
/**
|
|
3744
|
+
* STT model lattice interface — stored in the registry.
|
|
3745
|
+
*/
|
|
3746
|
+
interface STTModelLatticeInterface {
|
|
3747
|
+
key: string;
|
|
3748
|
+
client: STTModelLattice;
|
|
3749
|
+
config: STTConfig;
|
|
3750
|
+
label: string;
|
|
3751
|
+
}
|
|
3752
|
+
/**
|
|
3753
|
+
* STT model lattice info (public view).
|
|
3754
|
+
*/
|
|
3755
|
+
interface STTModelInfo {
|
|
3756
|
+
key: string;
|
|
3757
|
+
label: string;
|
|
3758
|
+
provider: string;
|
|
3759
|
+
model: string;
|
|
3760
|
+
}
|
|
3761
|
+
|
|
3762
|
+
/**
|
|
3763
|
+
* STTModelLatticeManager — Singleton STT model lattice manager.
|
|
3764
|
+
* Responsible for registering and managing speech-to-text model lattices.
|
|
3765
|
+
* Follows the same pattern as EmbeddingsLatticeManager.
|
|
3766
|
+
*
|
|
3767
|
+
* @example
|
|
3768
|
+
* ```ts
|
|
3769
|
+
* registerSTTModelLattice("default", {
|
|
3770
|
+
* provider: "openai-compatible",
|
|
3771
|
+
* apiMode: "whisper",
|
|
3772
|
+
* model: "whisper-1",
|
|
3773
|
+
* apiKeyEnvName: "OPENAI_API_KEY",
|
|
3774
|
+
* });
|
|
3775
|
+
* const client = getSTTClient("default");
|
|
3776
|
+
* const result = await client.transcribe(audioBuffer, "webm");
|
|
3777
|
+
* ```
|
|
3778
|
+
*/
|
|
3779
|
+
declare class STTModelLatticeManager extends BaseLatticeManager<STTModelLatticeInterface> {
|
|
3780
|
+
private static _instance;
|
|
3781
|
+
static getInstance(): STTModelLatticeManager;
|
|
3782
|
+
protected getLatticeType(): string;
|
|
3783
|
+
/**
|
|
3784
|
+
* Register an STT model lattice.
|
|
3785
|
+
* @param key - Lattice key name
|
|
3786
|
+
* @param config - STT provider configuration
|
|
3787
|
+
*/
|
|
3788
|
+
registerLattice(key: string, config: STTConfig): void;
|
|
3789
|
+
/**
|
|
3790
|
+
* Get an STT model lattice by key.
|
|
3791
|
+
*/
|
|
3792
|
+
getSTTModelLattice(key: string): STTModelLatticeInterface;
|
|
3793
|
+
/**
|
|
3794
|
+
* Get STT client instance by key (default tenant).
|
|
3795
|
+
*/
|
|
3796
|
+
getSTTClient(key: string): STTModelLatticeInterface["client"];
|
|
3797
|
+
/**
|
|
3798
|
+
* Get STT client instance by key and tenant.
|
|
3799
|
+
* @param tenantId - Tenant ID for isolation
|
|
3800
|
+
* @param key - Lattice key name
|
|
3801
|
+
*/
|
|
3802
|
+
getSTTClientWithTenant(tenantId: string, key: string): STTModelLatticeInterface["client"];
|
|
3803
|
+
/**
|
|
3804
|
+
* Get all registered STT models as info list.
|
|
3805
|
+
*/
|
|
3806
|
+
getAllSTTModelInfo(): STTModelInfo[];
|
|
3807
|
+
getAllLattices(): STTModelLatticeInterface[];
|
|
3808
|
+
hasLattice(key: string): boolean;
|
|
3809
|
+
removeLattice(key: string): boolean;
|
|
3810
|
+
clearLattices(): void;
|
|
3811
|
+
getLatticeCount(): number;
|
|
3812
|
+
getLatticeKeys(): string[];
|
|
3813
|
+
}
|
|
3814
|
+
declare const sttModelLatticeManager: STTModelLatticeManager;
|
|
3815
|
+
declare const registerSTTModelLattice: (key: string, config: STTConfig) => void;
|
|
3816
|
+
declare const getSTTModelLattice: (key: string) => STTModelLatticeInterface;
|
|
3817
|
+
declare const getSTTClient: (key: string) => STTModelLattice;
|
|
3818
|
+
declare const getSTTClientWithTenant: (tenantId: string, key: string) => STTModelLattice;
|
|
3819
|
+
|
|
3697
3820
|
/**
|
|
3698
3821
|
* VectorStore Lattice Interface
|
|
3699
3822
|
* Defines the structure of a vector store lattice entry
|
|
@@ -4155,6 +4278,7 @@ interface SkillMeta {
|
|
|
4155
4278
|
description: string;
|
|
4156
4279
|
license?: string;
|
|
4157
4280
|
compatibility?: string;
|
|
4281
|
+
verified?: string;
|
|
4158
4282
|
metadata?: Record<string, string>;
|
|
4159
4283
|
subSkills?: string[];
|
|
4160
4284
|
}
|
|
@@ -4206,6 +4330,14 @@ declare function getBuiltInSkillNames(): string[];
|
|
|
4206
4330
|
* Check if a skill name refers to a built-in skill.
|
|
4207
4331
|
*/
|
|
4208
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;
|
|
4209
4341
|
|
|
4210
4342
|
/**
|
|
4211
4343
|
* CollectionLatticeManager
|
|
@@ -4400,6 +4532,13 @@ interface VolumeFsClient {
|
|
|
4400
4532
|
list(path: string): Promise<FsEntry[]>;
|
|
4401
4533
|
readRaw(path: string): Promise<Buffer>;
|
|
4402
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>;
|
|
4403
4542
|
}
|
|
4404
4543
|
|
|
4405
4544
|
interface SandboxProvider {
|
|
@@ -4511,6 +4650,7 @@ declare class MicrosandboxServiceClient {
|
|
|
4511
4650
|
volumeFsList(volumeName: string, path: string): Promise<VolumeFsListResponse["entries"]>;
|
|
4512
4651
|
volumeFsDownload(volumeName: string, path: string): Promise<Buffer>;
|
|
4513
4652
|
volumeFsUpload(volumeName: string, path: string, data: Buffer): Promise<void>;
|
|
4653
|
+
volumeFsCreateDirectory(volumeName: string, path: string): Promise<void>;
|
|
4514
4654
|
private request;
|
|
4515
4655
|
}
|
|
4516
4656
|
|
|
@@ -4526,7 +4666,7 @@ declare function createResourceAddress(config: {
|
|
|
4526
4666
|
resourcePath: string;
|
|
4527
4667
|
}): ResourceAddress;
|
|
4528
4668
|
|
|
4529
|
-
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">;
|
|
4530
4670
|
interface MicrosandboxRemoteProviderConfig extends MicrosandboxServiceClientConfig {
|
|
4531
4671
|
client?: MicrosandboxRemoteProviderClient;
|
|
4532
4672
|
image?: string;
|
|
@@ -5200,6 +5340,8 @@ interface LatticeEvalProjectType {
|
|
|
5200
5340
|
};
|
|
5201
5341
|
lattice_server_config: {
|
|
5202
5342
|
tenant_id?: string;
|
|
5343
|
+
workspace_id?: string;
|
|
5344
|
+
project_id?: string;
|
|
5203
5345
|
};
|
|
5204
5346
|
concurrency?: number;
|
|
5205
5347
|
}
|
|
@@ -5323,6 +5465,8 @@ interface CaseRunResult {
|
|
|
5323
5465
|
*/
|
|
5324
5466
|
interface LatticeEvalConfig {
|
|
5325
5467
|
tenant_id?: string;
|
|
5468
|
+
workspace_id?: string;
|
|
5469
|
+
project_id?: string;
|
|
5326
5470
|
/**
|
|
5327
5471
|
* Key of the judge agent lattice to invoke for scoring.
|
|
5328
5472
|
* Registered per-project by LatticeEvalProject.
|
|
@@ -5384,6 +5528,8 @@ declare function evaluateLatticeCaseWithLogs(evalCase: LatticeEvalCase, config?:
|
|
|
5384
5528
|
interface ResolvedConfig {
|
|
5385
5529
|
lattice_server_config: {
|
|
5386
5530
|
tenant_id?: string;
|
|
5531
|
+
workspace_id?: string;
|
|
5532
|
+
project_id?: string;
|
|
5387
5533
|
};
|
|
5388
5534
|
judge_agent_config?: {
|
|
5389
5535
|
modelKey?: string;
|
|
@@ -7322,6 +7468,27 @@ declare function serializePluginMeta(plugin: Plugin): PluginMetaOutput;
|
|
|
7322
7468
|
|
|
7323
7469
|
declare const BUILTIN_PLUGINS: Plugin[];
|
|
7324
7470
|
|
|
7471
|
+
/**
|
|
7472
|
+
* Document Learning Plugin
|
|
7473
|
+
*
|
|
7474
|
+
* Provides a document-learner agent and learn-document procedural skill.
|
|
7475
|
+
* The agent guides users through turning documents into structured skill
|
|
7476
|
+
* systems with evaluations — following a supervised learning paradigm.
|
|
7477
|
+
*/
|
|
7478
|
+
|
|
7479
|
+
declare const documentLearningPlugin: Plugin;
|
|
7480
|
+
|
|
7481
|
+
/**
|
|
7482
|
+
* Document Parser Middleware & Plugin
|
|
7483
|
+
*
|
|
7484
|
+
* Provides a `parse_document` tool and a `document-bench` workflow agent.
|
|
7485
|
+
*
|
|
7486
|
+
* Connection credentials are resolved at runtime via ConnectionRegistry.list()
|
|
7487
|
+
* when connectAll is enabled.
|
|
7488
|
+
*/
|
|
7489
|
+
|
|
7490
|
+
declare const documentParserPlugin: Plugin;
|
|
7491
|
+
|
|
7325
7492
|
/**
|
|
7326
7493
|
* Create middleware that provides widget rendering capabilities.
|
|
7327
7494
|
*
|
|
@@ -7865,4 +8032,4 @@ declare class IdRemapper {
|
|
|
7865
8032
|
remapSkillIds(graphDefinition: Record<string, unknown>, skillRemap: Record<string, string>): Record<string, unknown>;
|
|
7866
8033
|
}
|
|
7867
8034
|
|
|
7868
|
-
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 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, 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, registerSandboxProviderType, registerScheduleLattice, registerStoreLattice, registerTeammateAgent, registerToolLattice, registerVectorStoreLattice, registerVectorStoreProvider, registerWorkflowRun, removeCollectionVectorStore, renderTemplate, resolvePath, sandboxLatticeManager, sanitizeToolCallId, scheduleLatticeManager, serializePluginMeta, setBindingRegistry, setEvalRunService, setMenuRegistry, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, toJsonSchema, toSafeStateExpr, toolLatticeManager, truncateIfTooLong, unregisterTeammateAgent, unregisterWorkflowRun, updateFileData, validateAgentInput, validateDSL, validateEncryptionKey, validatePath, validateSkillName, validateToolInput, vectorStoreLatticeManager, vectorStoreProviderManager };
|
|
8035
|
+
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, 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, 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
|
@@ -8,7 +8,7 @@ import { BaseLanguageModelInput, LanguageModelLike } from '@langchain/core/langu
|
|
|
8
8
|
import { CallbackManagerForLLMRun } from '@langchain/core/callbacks/manager';
|
|
9
9
|
import { ChatResult } from '@langchain/core/outputs';
|
|
10
10
|
import * as _axiom_lattice_protocols from '@axiom-lattice/protocols';
|
|
11
|
-
import { LLMConfig, SemanticMetricsServerConfig, MetricMeta, MetricQueryResult, DataSource, SemanticMetricsQueryRequest, SemanticMetricsQueryResponse, TableQueryRequest, TableQueryResponse, ExecuteSqlQueryRequest, ExecuteSqlQueryResponse, MetricsServerType, MetricsServerConfig, ToolConfig, ToolExecutor, AgentConfig, MiddlewareType, GraphBuildOptions, MessageChunk, MessageChunkType, QueueLatticeProtocol, QueueConfig, QueueClient, QueueResult, ScheduleLatticeProtocol, ScheduleConfig, ScheduleClient, ScheduleStorage, TaskHandler, ScheduleOnceOptions, ScheduleCronOptions, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, ThreadStore, AssistantStore, SkillStore, CollectionStore, WorkspaceStore, ProjectStore, DatabaseConfigStore, MetricsServerConfigStore, McpServerConfigStore, UserStore, TenantStore, UserTenantLinkStore, WorkflowTrackingStore, EvalStore, ChannelInstallationStore, BindingRegistry, MenuRegistry, A2AApiKeyStore, TaskStore, SharedResourceStore, ConnectionStore, TaskWorkItemStore, VectorStoreProvider, Thread, CreateThreadRequest, Assistant, CreateAssistantRequest, Skill, CreateSkillRequest, SkillStoreContext, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, User, CreateUserRequest, UpdateUserRequest, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, ChannelInstallation, ChannelInstallationType, CreateChannelInstallationRequest, UpdateChannelInstallationRequest, Binding, CreateBindingInput, A2AApiKeyRecord, CreateA2AApiKeyInput, A2AApiKeyEntry, CreateTaskRequest, TaskItem, TaskListFilter, UpdateTaskRequest, Collection, CreateCollectionRequest, UpdateCollectionRequest, MenuItem, CreateMenuItemInput, UpdateMenuItemInput, LoggerLatticeProtocol, LoggerConfig, LoggerClient, LoggerContext, SkillConfig, SkillClient, McpTool, ResourceResolver, ResourceAddress, ShareVisibility, CreateShareRequest, ChannelAdapter, PluginMeta, Plugin, PluginMetaOutput, InternalStateField, InternalInput, InternalNode, InternalAgentNode, InternalMapNode, InternalDSL, ConnectionEntry } from '@axiom-lattice/protocols';
|
|
11
|
+
import { LLMConfig, SemanticMetricsServerConfig, MetricMeta, MetricQueryResult, DataSource, SemanticMetricsQueryRequest, SemanticMetricsQueryResponse, TableQueryRequest, TableQueryResponse, ExecuteSqlQueryRequest, ExecuteSqlQueryResponse, MetricsServerType, MetricsServerConfig, ToolConfig, ToolExecutor, AgentConfig, MiddlewareType, GraphBuildOptions, MessageChunk, MessageChunkType, QueueLatticeProtocol, QueueConfig, QueueClient, QueueResult, ScheduleLatticeProtocol, ScheduleConfig, ScheduleClient, ScheduleStorage, TaskHandler, ScheduleOnceOptions, ScheduleCronOptions, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, ThreadStore, AssistantStore, SkillStore, CollectionStore, WorkspaceStore, ProjectStore, DatabaseConfigStore, MetricsServerConfigStore, McpServerConfigStore, UserStore, TenantStore, UserTenantLinkStore, WorkflowTrackingStore, EvalStore, ChannelInstallationStore, BindingRegistry, MenuRegistry, A2AApiKeyStore, TaskStore, SharedResourceStore, ConnectionStore, TaskWorkItemStore, VectorStoreProvider, Thread, CreateThreadRequest, Assistant, CreateAssistantRequest, Skill, CreateSkillRequest, SkillStoreContext, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, User, CreateUserRequest, UpdateUserRequest, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, ChannelInstallation, ChannelInstallationType, CreateChannelInstallationRequest, UpdateChannelInstallationRequest, Binding, CreateBindingInput, A2AApiKeyRecord, CreateA2AApiKeyInput, A2AApiKeyEntry, CreateTaskRequest, TaskItem, TaskListFilter, UpdateTaskRequest, Collection, CreateCollectionRequest, UpdateCollectionRequest, MenuItem, CreateMenuItemInput, UpdateMenuItemInput, STTModelLatticeProtocol, STTConfig, STTClient, TranscriptionResult, LoggerLatticeProtocol, LoggerConfig, LoggerClient, LoggerContext, SkillConfig, SkillClient, McpTool, ResourceResolver, ResourceAddress, ShareVisibility, CreateShareRequest, ChannelAdapter, PluginMeta, Plugin, PluginMetaOutput, InternalStateField, InternalInput, InternalNode, InternalAgentNode, InternalMapNode, InternalDSL, ConnectionEntry } from '@axiom-lattice/protocols';
|
|
12
12
|
export { _axiom_lattice_protocols as Protocols };
|
|
13
13
|
export { AgentConfig, AgentType, GraphBuildOptions, MemoryType } from '@axiom-lattice/protocols';
|
|
14
14
|
import * as langchain from 'langchain';
|
|
@@ -3694,6 +3694,129 @@ declare const registerEmbeddingsLattice: (key: string, embeddings: Embeddings, l
|
|
|
3694
3694
|
declare const getEmbeddingsLattice: (key: string) => EmbeddingsLatticeInterface;
|
|
3695
3695
|
declare const getEmbeddingsClient: (key: string) => Embeddings<number[]>;
|
|
3696
3696
|
|
|
3697
|
+
/**
|
|
3698
|
+
* STTModelLattice — Speech-to-text model wrapper.
|
|
3699
|
+
*
|
|
3700
|
+
* Implements the STTModelLatticeProtocol. Uses the OpenAI client from
|
|
3701
|
+
* @langchain/openai for openai-compatible providers. Supports two API modes:
|
|
3702
|
+
*
|
|
3703
|
+
* - **whisper**: Calls POST /v1/audio/transcriptions (multipart file upload).
|
|
3704
|
+
* Compatible with OpenAI Whisper API and any provider that implements it.
|
|
3705
|
+
*
|
|
3706
|
+
* - **chat**: Calls POST /v1/chat/completions with input_audio content blocks.
|
|
3707
|
+
* Compatible with Qwen3-ASR-Flash on Alibaba Bailian (DashScope).
|
|
3708
|
+
*
|
|
3709
|
+
* @example
|
|
3710
|
+
* ```ts
|
|
3711
|
+
* const stt = new STTModelLattice({
|
|
3712
|
+
* provider: "openai-compatible",
|
|
3713
|
+
* apiMode: "chat",
|
|
3714
|
+
* model: "qwen3-asr-flash",
|
|
3715
|
+
* baseURL: "https://xxx.cn-beijing.maas.aliyuncs.com/compatible-mode/v1",
|
|
3716
|
+
* apiKeyEnvName: "DASHSCOPE_API_KEY",
|
|
3717
|
+
* });
|
|
3718
|
+
* const result = await stt.transcribe(audioBuffer, "webm");
|
|
3719
|
+
* ```
|
|
3720
|
+
*/
|
|
3721
|
+
declare class STTModelLattice implements STTModelLatticeProtocol {
|
|
3722
|
+
readonly key: string;
|
|
3723
|
+
readonly config: STTConfig;
|
|
3724
|
+
readonly client: STTClient;
|
|
3725
|
+
private openaiClient;
|
|
3726
|
+
constructor(key: string, config: STTConfig);
|
|
3727
|
+
/**
|
|
3728
|
+
* Transcribe audio buffer to text.
|
|
3729
|
+
* Routes to whisper or chat API mode based on config.
|
|
3730
|
+
*/
|
|
3731
|
+
transcribe(audio: Buffer, format: string): Promise<TranscriptionResult>;
|
|
3732
|
+
/**
|
|
3733
|
+
* Transcribe via OpenAI /v1/audio/transcriptions endpoint (multipart).
|
|
3734
|
+
*/
|
|
3735
|
+
private transcribeViaWhisper;
|
|
3736
|
+
/**
|
|
3737
|
+
* Transcribe via OpenAI /v1/chat/completions with input_audio.
|
|
3738
|
+
* Used by Qwen3-ASR-Flash and similar audio-via-chat models.
|
|
3739
|
+
*/
|
|
3740
|
+
private transcribeViaChat;
|
|
3741
|
+
}
|
|
3742
|
+
|
|
3743
|
+
/**
|
|
3744
|
+
* STT model lattice interface — stored in the registry.
|
|
3745
|
+
*/
|
|
3746
|
+
interface STTModelLatticeInterface {
|
|
3747
|
+
key: string;
|
|
3748
|
+
client: STTModelLattice;
|
|
3749
|
+
config: STTConfig;
|
|
3750
|
+
label: string;
|
|
3751
|
+
}
|
|
3752
|
+
/**
|
|
3753
|
+
* STT model lattice info (public view).
|
|
3754
|
+
*/
|
|
3755
|
+
interface STTModelInfo {
|
|
3756
|
+
key: string;
|
|
3757
|
+
label: string;
|
|
3758
|
+
provider: string;
|
|
3759
|
+
model: string;
|
|
3760
|
+
}
|
|
3761
|
+
|
|
3762
|
+
/**
|
|
3763
|
+
* STTModelLatticeManager — Singleton STT model lattice manager.
|
|
3764
|
+
* Responsible for registering and managing speech-to-text model lattices.
|
|
3765
|
+
* Follows the same pattern as EmbeddingsLatticeManager.
|
|
3766
|
+
*
|
|
3767
|
+
* @example
|
|
3768
|
+
* ```ts
|
|
3769
|
+
* registerSTTModelLattice("default", {
|
|
3770
|
+
* provider: "openai-compatible",
|
|
3771
|
+
* apiMode: "whisper",
|
|
3772
|
+
* model: "whisper-1",
|
|
3773
|
+
* apiKeyEnvName: "OPENAI_API_KEY",
|
|
3774
|
+
* });
|
|
3775
|
+
* const client = getSTTClient("default");
|
|
3776
|
+
* const result = await client.transcribe(audioBuffer, "webm");
|
|
3777
|
+
* ```
|
|
3778
|
+
*/
|
|
3779
|
+
declare class STTModelLatticeManager extends BaseLatticeManager<STTModelLatticeInterface> {
|
|
3780
|
+
private static _instance;
|
|
3781
|
+
static getInstance(): STTModelLatticeManager;
|
|
3782
|
+
protected getLatticeType(): string;
|
|
3783
|
+
/**
|
|
3784
|
+
* Register an STT model lattice.
|
|
3785
|
+
* @param key - Lattice key name
|
|
3786
|
+
* @param config - STT provider configuration
|
|
3787
|
+
*/
|
|
3788
|
+
registerLattice(key: string, config: STTConfig): void;
|
|
3789
|
+
/**
|
|
3790
|
+
* Get an STT model lattice by key.
|
|
3791
|
+
*/
|
|
3792
|
+
getSTTModelLattice(key: string): STTModelLatticeInterface;
|
|
3793
|
+
/**
|
|
3794
|
+
* Get STT client instance by key (default tenant).
|
|
3795
|
+
*/
|
|
3796
|
+
getSTTClient(key: string): STTModelLatticeInterface["client"];
|
|
3797
|
+
/**
|
|
3798
|
+
* Get STT client instance by key and tenant.
|
|
3799
|
+
* @param tenantId - Tenant ID for isolation
|
|
3800
|
+
* @param key - Lattice key name
|
|
3801
|
+
*/
|
|
3802
|
+
getSTTClientWithTenant(tenantId: string, key: string): STTModelLatticeInterface["client"];
|
|
3803
|
+
/**
|
|
3804
|
+
* Get all registered STT models as info list.
|
|
3805
|
+
*/
|
|
3806
|
+
getAllSTTModelInfo(): STTModelInfo[];
|
|
3807
|
+
getAllLattices(): STTModelLatticeInterface[];
|
|
3808
|
+
hasLattice(key: string): boolean;
|
|
3809
|
+
removeLattice(key: string): boolean;
|
|
3810
|
+
clearLattices(): void;
|
|
3811
|
+
getLatticeCount(): number;
|
|
3812
|
+
getLatticeKeys(): string[];
|
|
3813
|
+
}
|
|
3814
|
+
declare const sttModelLatticeManager: STTModelLatticeManager;
|
|
3815
|
+
declare const registerSTTModelLattice: (key: string, config: STTConfig) => void;
|
|
3816
|
+
declare const getSTTModelLattice: (key: string) => STTModelLatticeInterface;
|
|
3817
|
+
declare const getSTTClient: (key: string) => STTModelLattice;
|
|
3818
|
+
declare const getSTTClientWithTenant: (tenantId: string, key: string) => STTModelLattice;
|
|
3819
|
+
|
|
3697
3820
|
/**
|
|
3698
3821
|
* VectorStore Lattice Interface
|
|
3699
3822
|
* Defines the structure of a vector store lattice entry
|
|
@@ -4155,6 +4278,7 @@ interface SkillMeta {
|
|
|
4155
4278
|
description: string;
|
|
4156
4279
|
license?: string;
|
|
4157
4280
|
compatibility?: string;
|
|
4281
|
+
verified?: string;
|
|
4158
4282
|
metadata?: Record<string, string>;
|
|
4159
4283
|
subSkills?: string[];
|
|
4160
4284
|
}
|
|
@@ -4206,6 +4330,14 @@ declare function getBuiltInSkillNames(): string[];
|
|
|
4206
4330
|
* Check if a skill name refers to a built-in skill.
|
|
4207
4331
|
*/
|
|
4208
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;
|
|
4209
4341
|
|
|
4210
4342
|
/**
|
|
4211
4343
|
* CollectionLatticeManager
|
|
@@ -4400,6 +4532,13 @@ interface VolumeFsClient {
|
|
|
4400
4532
|
list(path: string): Promise<FsEntry[]>;
|
|
4401
4533
|
readRaw(path: string): Promise<Buffer>;
|
|
4402
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>;
|
|
4403
4542
|
}
|
|
4404
4543
|
|
|
4405
4544
|
interface SandboxProvider {
|
|
@@ -4511,6 +4650,7 @@ declare class MicrosandboxServiceClient {
|
|
|
4511
4650
|
volumeFsList(volumeName: string, path: string): Promise<VolumeFsListResponse["entries"]>;
|
|
4512
4651
|
volumeFsDownload(volumeName: string, path: string): Promise<Buffer>;
|
|
4513
4652
|
volumeFsUpload(volumeName: string, path: string, data: Buffer): Promise<void>;
|
|
4653
|
+
volumeFsCreateDirectory(volumeName: string, path: string): Promise<void>;
|
|
4514
4654
|
private request;
|
|
4515
4655
|
}
|
|
4516
4656
|
|
|
@@ -4526,7 +4666,7 @@ declare function createResourceAddress(config: {
|
|
|
4526
4666
|
resourcePath: string;
|
|
4527
4667
|
}): ResourceAddress;
|
|
4528
4668
|
|
|
4529
|
-
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">;
|
|
4530
4670
|
interface MicrosandboxRemoteProviderConfig extends MicrosandboxServiceClientConfig {
|
|
4531
4671
|
client?: MicrosandboxRemoteProviderClient;
|
|
4532
4672
|
image?: string;
|
|
@@ -5200,6 +5340,8 @@ interface LatticeEvalProjectType {
|
|
|
5200
5340
|
};
|
|
5201
5341
|
lattice_server_config: {
|
|
5202
5342
|
tenant_id?: string;
|
|
5343
|
+
workspace_id?: string;
|
|
5344
|
+
project_id?: string;
|
|
5203
5345
|
};
|
|
5204
5346
|
concurrency?: number;
|
|
5205
5347
|
}
|
|
@@ -5323,6 +5465,8 @@ interface CaseRunResult {
|
|
|
5323
5465
|
*/
|
|
5324
5466
|
interface LatticeEvalConfig {
|
|
5325
5467
|
tenant_id?: string;
|
|
5468
|
+
workspace_id?: string;
|
|
5469
|
+
project_id?: string;
|
|
5326
5470
|
/**
|
|
5327
5471
|
* Key of the judge agent lattice to invoke for scoring.
|
|
5328
5472
|
* Registered per-project by LatticeEvalProject.
|
|
@@ -5384,6 +5528,8 @@ declare function evaluateLatticeCaseWithLogs(evalCase: LatticeEvalCase, config?:
|
|
|
5384
5528
|
interface ResolvedConfig {
|
|
5385
5529
|
lattice_server_config: {
|
|
5386
5530
|
tenant_id?: string;
|
|
5531
|
+
workspace_id?: string;
|
|
5532
|
+
project_id?: string;
|
|
5387
5533
|
};
|
|
5388
5534
|
judge_agent_config?: {
|
|
5389
5535
|
modelKey?: string;
|
|
@@ -7322,6 +7468,27 @@ declare function serializePluginMeta(plugin: Plugin): PluginMetaOutput;
|
|
|
7322
7468
|
|
|
7323
7469
|
declare const BUILTIN_PLUGINS: Plugin[];
|
|
7324
7470
|
|
|
7471
|
+
/**
|
|
7472
|
+
* Document Learning Plugin
|
|
7473
|
+
*
|
|
7474
|
+
* Provides a document-learner agent and learn-document procedural skill.
|
|
7475
|
+
* The agent guides users through turning documents into structured skill
|
|
7476
|
+
* systems with evaluations — following a supervised learning paradigm.
|
|
7477
|
+
*/
|
|
7478
|
+
|
|
7479
|
+
declare const documentLearningPlugin: Plugin;
|
|
7480
|
+
|
|
7481
|
+
/**
|
|
7482
|
+
* Document Parser Middleware & Plugin
|
|
7483
|
+
*
|
|
7484
|
+
* Provides a `parse_document` tool and a `document-bench` workflow agent.
|
|
7485
|
+
*
|
|
7486
|
+
* Connection credentials are resolved at runtime via ConnectionRegistry.list()
|
|
7487
|
+
* when connectAll is enabled.
|
|
7488
|
+
*/
|
|
7489
|
+
|
|
7490
|
+
declare const documentParserPlugin: Plugin;
|
|
7491
|
+
|
|
7325
7492
|
/**
|
|
7326
7493
|
* Create middleware that provides widget rendering capabilities.
|
|
7327
7494
|
*
|
|
@@ -7865,4 +8032,4 @@ declare class IdRemapper {
|
|
|
7865
8032
|
remapSkillIds(graphDefinition: Record<string, unknown>, skillRemap: Record<string, string>): Record<string, unknown>;
|
|
7866
8033
|
}
|
|
7867
8034
|
|
|
7868
|
-
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 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, 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, registerSandboxProviderType, registerScheduleLattice, registerStoreLattice, registerTeammateAgent, registerToolLattice, registerVectorStoreLattice, registerVectorStoreProvider, registerWorkflowRun, removeCollectionVectorStore, renderTemplate, resolvePath, sandboxLatticeManager, sanitizeToolCallId, scheduleLatticeManager, serializePluginMeta, setBindingRegistry, setEvalRunService, setMenuRegistry, skillLatticeManager, sqlDatabaseManager, storeLatticeManager, toJsonSchema, toSafeStateExpr, toolLatticeManager, truncateIfTooLong, unregisterTeammateAgent, unregisterWorkflowRun, updateFileData, validateAgentInput, validateDSL, validateEncryptionKey, validatePath, validateSkillName, validateToolInput, vectorStoreLatticeManager, vectorStoreProviderManager };
|
|
8035
|
+
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, 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, 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 };
|