@axiom-lattice/protocols 2.1.51 → 2.1.54

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @axiom-lattice/protocols@2.1.51 build /home/runner/work/agentic/agentic/packages/protocols
2
+ > @axiom-lattice/protocols@2.1.54 build /home/runner/work/agentic/agentic/packages/protocols
3
3
  > tsup src/index.ts --format cjs,esm --dts --sourcemap
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,13 +8,13 @@
8
8
  CLI Target: es2020
9
9
  CJS Build start
10
10
  ESM Build start
11
- CJS dist/index.js 6.69 KB
12
- CJS dist/index.js.map 45.71 KB
13
- CJS ⚡️ Build success in 227ms
14
11
  ESM dist/index.mjs 4.78 KB
15
12
  ESM dist/index.mjs.map 43.41 KB
16
- ESM ⚡️ Build success in 228ms
13
+ ESM ⚡️ Build success in 264ms
14
+ CJS dist/index.js 6.69 KB
15
+ CJS dist/index.js.map 45.80 KB
16
+ CJS ⚡️ Build success in 267ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 16795ms
19
- DTS dist/index.d.ts 130.75 KB
20
- DTS dist/index.d.mts 130.75 KB
18
+ DTS ⚡️ Build success in 16363ms
19
+ DTS dist/index.d.ts 136.09 KB
20
+ DTS dist/index.d.mts 136.09 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @axiom-lattice/protocols
2
2
 
3
+ ## 2.1.54
4
+
5
+ ### Patch Changes
6
+
7
+ - 5e1486e: add voice input
8
+
9
+ ## 2.1.53
10
+
11
+ ### Patch Changes
12
+
13
+ - 075a384: add skill graph, tenant url
14
+
15
+ ## 2.1.52
16
+
17
+ ### Patch Changes
18
+
19
+ - acdaec8: add read image file via llm
20
+
3
21
  ## 2.1.51
4
22
 
5
23
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -104,6 +104,8 @@ interface LLMConfig {
104
104
  baseURL?: string;
105
105
  modelKwargs?: Record<string, any>;
106
106
  extra?: Record<string, any>;
107
+ /** Whether the model supports vision/image inputs for multimodal processing */
108
+ supportsVision?: boolean;
107
109
  }
108
110
  /**
109
111
  * 模型Lattice协议接口
@@ -884,6 +886,67 @@ interface EmbeddingsLatticeProtocol extends BaseLatticeProtocol<EmbeddingsConfig
884
886
  embedQuery: (text: string) => Promise<number[]>;
885
887
  }
886
888
 
889
+ /**
890
+ * STTModelLatticeProtocol
891
+ *
892
+ * Speech-to-text model lattice protocol for defining unified interface
893
+ * for speech recognition / transcription models.
894
+ */
895
+
896
+ /**
897
+ * STT provider configuration.
898
+ */
899
+ interface STTConfig {
900
+ /** Provider type */
901
+ provider?: string;
902
+ /** API mode: "whisper" uses /v1/audio/transcriptions, "chat" uses /v1/chat/completions */
903
+ apiMode?: "whisper" | "chat";
904
+ /** Model name, e.g. "whisper-1", "qwen3-asr-flash" */
905
+ model?: string;
906
+ /** Direct API key */
907
+ apiKey?: string;
908
+ /** Environment variable name for API key, e.g. "DASHSCOPE_API_KEY" */
909
+ apiKeyEnvName?: string;
910
+ /** Custom base URL */
911
+ baseURL?: string;
912
+ /** Request timeout in milliseconds */
913
+ timeout?: number;
914
+ /** Additional parameters passed through to provider (e.g. asr_options) */
915
+ extra?: Record<string, unknown>;
916
+ }
917
+ /**
918
+ * Result returned by a transcription provider.
919
+ */
920
+ interface TranscriptionResult {
921
+ /** Transcribed text */
922
+ text: string;
923
+ /** Confidence score 0-1, if available */
924
+ confidence?: number;
925
+ /** Word-level timing segments, if available */
926
+ segments?: Array<{
927
+ start: number;
928
+ end: number;
929
+ text: string;
930
+ }>;
931
+ }
932
+ /**
933
+ * STT client interface for providers to implement.
934
+ */
935
+ interface STTClient {
936
+ transcribe(audio: Buffer, format: string): Promise<TranscriptionResult>;
937
+ }
938
+ /**
939
+ * STT model lattice protocol interface.
940
+ */
941
+ interface STTModelLatticeProtocol extends BaseLatticeProtocol<STTConfig, STTClient> {
942
+ /**
943
+ * Transcribe audio buffer to text.
944
+ * @param audio - Raw audio buffer
945
+ * @param format - Audio format, e.g. "webm", "wav", "mp3"
946
+ */
947
+ transcribe(audio: Buffer, format: string): Promise<TranscriptionResult>;
948
+ }
949
+
887
950
  /**
888
951
  * VectorStoreLatticeProtocol
889
952
  *
@@ -2139,6 +2202,7 @@ interface ConnectionEntry {
2139
2202
  updatedAt: string;
2140
2203
  }
2141
2204
  interface ConnectionStore {
2205
+ listByTenant(tenantId: string): Promise<ConnectionEntry[]>;
2142
2206
  listByType(tenantId: string, type: string): Promise<ConnectionEntry[]>;
2143
2207
  getByKey(tenantId: string, type: string, key: string): Promise<ConnectionEntry | null>;
2144
2208
  create(entry: Omit<ConnectionEntry, "id" | "createdAt" | "updatedAt">): Promise<ConnectionEntry>;
@@ -3480,6 +3544,7 @@ interface EvalStore {
3480
3544
  getResultsByRun(tenantId: string, runId: string): Promise<EvalRunResult[]>;
3481
3545
  createRunResult(tenantId: string, runId: string, id: string, data: Omit<EvalRunResult, 'id' | 'runId' | 'createdAt'>): Promise<EvalRunResult>;
3482
3546
  updateRunResult(tenantId: string, id: string, updates: Partial<EvalRunResult>): Promise<EvalRunResult | null>;
3547
+ deleteRunResult(tenantId: string, id: string): Promise<boolean>;
3483
3548
  getProjectReport(tenantId: string, projectId: string): Promise<EvalProjectReport | null>;
3484
3549
  }
3485
3550
 
@@ -3501,6 +3566,14 @@ interface TaskItem {
3501
3566
  * Tenant identifier
3502
3567
  */
3503
3568
  tenantId: string;
3569
+ /**
3570
+ * Workspace identifier (from runConfig)
3571
+ */
3572
+ workspaceId?: string;
3573
+ /**
3574
+ * Project identifier (from runConfig)
3575
+ */
3576
+ projectId?: string;
3504
3577
  /**
3505
3578
  * Owner type — either a user or an agent
3506
3579
  */
@@ -3520,7 +3593,7 @@ interface TaskItem {
3520
3593
  /**
3521
3594
  * Task status
3522
3595
  */
3523
- status: 'pending' | 'in_progress' | 'completed' | 'cancelled';
3596
+ status: 'pending' | 'in_progress' | 'review' | 'failed' | 'interrupted' | 'completed' | 'cancelled';
3524
3597
  /**
3525
3598
  * Task priority level
3526
3599
  */
@@ -3553,6 +3626,22 @@ interface TaskItem {
3553
3626
  * Task last update timestamp
3554
3627
  */
3555
3628
  updatedAt: Date;
3629
+ /**
3630
+ * Whether this task requires review before completion
3631
+ */
3632
+ requireReview?: boolean;
3633
+ /**
3634
+ * IDs of tasks this task depends on
3635
+ */
3636
+ dependencies?: string[];
3637
+ /**
3638
+ * Task result output
3639
+ */
3640
+ result?: string;
3641
+ /**
3642
+ * Reason for task failure (when status is 'failed')
3643
+ */
3644
+ failureReason?: string;
3556
3645
  }
3557
3646
  /**
3558
3647
  * Create task request type
@@ -3569,11 +3658,19 @@ interface CreateTaskRequest {
3569
3658
  /**
3570
3659
  * Task status — defaults to 'pending' if not provided
3571
3660
  */
3572
- status?: 'pending' | 'in_progress' | 'completed' | 'cancelled';
3661
+ status?: 'pending' | 'in_progress' | 'review' | 'failed' | 'interrupted' | 'completed' | 'cancelled';
3573
3662
  /**
3574
3663
  * Task priority level — defaults to 'medium' if not provided
3575
3664
  */
3576
3665
  priority?: 'low' | 'medium' | 'high';
3666
+ /**
3667
+ * Workspace identifier
3668
+ */
3669
+ workspaceId?: string;
3670
+ /**
3671
+ * Project identifier
3672
+ */
3673
+ projectId?: string;
3577
3674
  /**
3578
3675
  * Optional due date as ISO string
3579
3676
  */
@@ -3602,6 +3699,22 @@ interface CreateTaskRequest {
3602
3699
  * Owner identifier — defaults based on context if not provided
3603
3700
  */
3604
3701
  ownerId?: string;
3702
+ /**
3703
+ * Whether this task requires review before completion
3704
+ */
3705
+ requireReview?: boolean;
3706
+ /**
3707
+ * IDs of tasks this task depends on
3708
+ */
3709
+ dependencies?: string[];
3710
+ /**
3711
+ * Task result output
3712
+ */
3713
+ result?: string;
3714
+ /**
3715
+ * Reason for task failure (when status is 'failed')
3716
+ */
3717
+ failureReason?: string;
3605
3718
  }
3606
3719
  /**
3607
3720
  * Update task request type
@@ -3618,11 +3731,19 @@ interface UpdateTaskRequest {
3618
3731
  /**
3619
3732
  * Task status
3620
3733
  */
3621
- status?: 'pending' | 'in_progress' | 'completed' | 'cancelled';
3734
+ status?: 'pending' | 'in_progress' | 'review' | 'failed' | 'interrupted' | 'completed' | 'cancelled';
3622
3735
  /**
3623
3736
  * Task priority level
3624
3737
  */
3625
3738
  priority?: 'low' | 'medium' | 'high';
3739
+ /**
3740
+ * Workspace identifier
3741
+ */
3742
+ workspaceId?: string;
3743
+ /**
3744
+ * Project identifier
3745
+ */
3746
+ projectId?: string;
3626
3747
  /**
3627
3748
  * Optional due date as ISO string
3628
3749
  */
@@ -3651,6 +3772,22 @@ interface UpdateTaskRequest {
3651
3772
  * Owner identifier
3652
3773
  */
3653
3774
  ownerId?: string;
3775
+ /**
3776
+ * Whether this task requires review before completion
3777
+ */
3778
+ requireReview?: boolean;
3779
+ /**
3780
+ * IDs of tasks this task depends on
3781
+ */
3782
+ dependencies?: string[];
3783
+ /**
3784
+ * Task result output
3785
+ */
3786
+ result?: string;
3787
+ /**
3788
+ * Reason for task failure (when status is 'failed')
3789
+ */
3790
+ failureReason?: string;
3654
3791
  }
3655
3792
  /**
3656
3793
  * Task list filter criteria
@@ -3676,6 +3813,14 @@ interface TaskListFilter {
3676
3813
  * Filter by priority level
3677
3814
  */
3678
3815
  priority?: string;
3816
+ /**
3817
+ * Filter by workspace ID
3818
+ */
3819
+ workspaceId?: string;
3820
+ /**
3821
+ * Filter by project ID
3822
+ */
3823
+ projectId?: string;
3679
3824
  /**
3680
3825
  * Filter by parent task ID
3681
3826
  */
@@ -3742,6 +3887,52 @@ interface TaskStore {
3742
3887
  delete(tenantId: string, id: string): Promise<boolean>;
3743
3888
  }
3744
3889
 
3890
+ /**
3891
+ * TaskWorkItemProtocol
3892
+ *
3893
+ * Work item protocol for event-sourced task change tracking.
3894
+ * Every status change or action on a TaskItem produces one TaskWorkItem.
3895
+ */
3896
+ interface TaskWorkItem {
3897
+ id: string;
3898
+ taskId: string;
3899
+ tenantId: string;
3900
+ workspaceId?: string;
3901
+ projectId?: string;
3902
+ action: string;
3903
+ actor: string;
3904
+ threadId?: string;
3905
+ summary?: string;
3906
+ detail?: Record<string, unknown>;
3907
+ attempt?: number;
3908
+ createdAt: Date;
3909
+ }
3910
+ interface CreateWorkItemRequest {
3911
+ taskId: string;
3912
+ tenantId: string;
3913
+ workspaceId?: string;
3914
+ projectId?: string;
3915
+ action: string;
3916
+ actor: string;
3917
+ threadId?: string;
3918
+ summary?: string;
3919
+ detail?: Record<string, unknown>;
3920
+ attempt?: number;
3921
+ }
3922
+ interface TaskWorkItemListFilter {
3923
+ tenantId: string;
3924
+ taskId: string;
3925
+ workspaceId?: string;
3926
+ projectId?: string;
3927
+ action?: string;
3928
+ limit?: number;
3929
+ offset?: number;
3930
+ }
3931
+ interface TaskWorkItemStore {
3932
+ create(params: CreateWorkItemRequest): Promise<TaskWorkItem>;
3933
+ list(filter: TaskWorkItemListFilter): Promise<TaskWorkItem[]>;
3934
+ }
3935
+
3745
3936
  /**
3746
3937
  * ChannelAdapterProtocol
3747
3938
  */
@@ -4410,6 +4601,18 @@ interface Plugin {
4410
4601
  * Builder 在构建中间件之前从所有启用的插件中收集。
4411
4602
  */
4412
4603
  skills?: Record<string, string>;
4604
+ /**
4605
+ * 插件贡献的 Agent 定义(以 agent key 为键)。
4606
+ * 在租户首次访问时通过 ensurePluginAgentsForTenant 按租户注册到
4607
+ * AgentLatticeManager,与 builtin agents 模式一致。所有租户全局可用。
4608
+ */
4609
+ agents?: Record<string, AgentConfig>;
4610
+ /**
4611
+ * 插件贡献的 Store 实现(以 store type 为键)。
4612
+ * 在 configureStores 时通过 customStores 机制自动注册到 StoreLatticeManager。
4613
+ * 支持工厂函数(延迟初始化)或实例对象。
4614
+ */
4615
+ stores?: Record<string, object | (() => object)>;
4413
4616
  }
4414
4617
 
4415
4618
  /**
@@ -4475,4 +4678,4 @@ type Timestamp = number;
4475
4678
  */
4476
4679
  type Callback<T = any, R = void> = (data: T) => R | Promise<R>;
4477
4680
 
4478
- export { type A2AApiKeyEntry, type A2AApiKeyRecord, type A2AApiKeyStore, type A2AArtifact, type A2AAuthContext, type A2ACapabilities, type A2AConfig, type A2ADataPart, type A2AFilePart, type A2AMessage, type A2APart, type A2AProvider, type A2APushNotification, type A2ARemoteAgentConfig, type A2ASSEEvent, type A2ASkill, type A2ATask, type A2ATaskArtifactUpdatePayload, type A2ATaskSendRequest, type A2ATaskState, type A2ATaskStatus, type A2ATaskUpdatePayload, type A2ATextPart, A2A_DEFAULT_CAPABILITIES, A2A_DEFAULT_INPUT_MODES, A2A_DEFAULT_OUTPUT_MODES, type AgentCard, type AgentClient, type AgentConfig, type AgentConfigWithTools, type AgentLatticeProtocol, type AgentMenuConfig, type AgentMiddlewareConfig, type AgentRunConfig, AgentType, type Assistant, type AssistantMessage, type AssistantStore, type Attachment, type AvailableModule, type BaseLatticeProtocol, type BaseMessage, type Binding, type BindingRegistry, type BootstrapFilesConfig, type BrowserMiddlewareConfig, type Callback, type ChannelAdapter, type ChannelInstallation, type ChannelInstallationStore, type ChannelInstallationType, type ClawMiddlewareConfig, type CodeEvalMiddlewareConfig, type Collection, type CollectionField, type CollectionFieldType, type CollectionMiddlewareConfig, type CollectionSchema, type CollectionStore, type ConnectionEntry, type ConnectionStore, type CreateA2AApiKeyInput, type CreateAssistantRequest, type CreateBindingInput, type CreateChannelInstallationRequest, type CreateCollectionRequest, type CreateDatabaseConfigRequest, type CreateEvalCaseRequest, type CreateEvalProjectRequest, type CreateEvalRunRequest, type CreateEvalSuiteRequest, type CreateMcpServerConfigRequest, type CreateMenuItemInput, type CreateMetricsServerConfigRequest, type CreateProjectRequest, type CreateRunStepRequest, type CreateShareRequest, type CreateSkillRequest, type CreateTaskRequest, type CreateTenantRequest, type CreateThreadRequest, type CreateUserRequest, type CreateUserTenantLinkRequest, type CreateWorkflowRunRequest, type CreateWorkspaceRequest, type CustomMenuConfig, type DataSource, type DatabaseConfig, type DatabaseConfigEntry, type DatabaseConfigStore, type DatabaseType, type DeepAgentConfig, type DeveloperMessage, type DispatchResult, type EmbeddingsConfig, type EmbeddingsLatticeProtocol, type EvalCase, type EvalProject, type EvalProjectReport, type EvalRun, type EvalRunResult, type EvalStore, type EvalSuite, type ExecuteSqlQueryRequest, type ExecuteSqlQueryResponse, type FilterCondition, type GraphBuildOptions, type HtmlMenuConfig, type ID, type InboundMessage, type InternalAgentNode, type InternalBaseNode, type InternalDSL, type InternalEdge, type InternalInput, type InternalInputNode, type InternalMapNode, type InternalNode, type InternalNodeConfig, type InternalOutput, type InternalState, type InternalStateField, type InternalTerminalNode, type InterruptMessage, type LLMConfig, type LarkChannelInstallationConfig, type LatticeError, type LatticeEventBus, type LatticeMessage, type LoggerClient, type LoggerConfig, type LoggerContext, type LoggerLatticeProtocol, LoggerType, type McpClient, type McpClientOptions, type McpConnectionStatus, type McpLatticeMessage, type McpLatticeProtocol, McpMessageType, type McpServerConfig, type McpServerConfigEntry, type McpServerConfigStore, type McpStats, type McpTool, type McpToolResult, type McpTransportType, type MemoryClient, type MemoryConfig, type MemoryLatticeProtocol, MemoryType, type MenuContentConfig, type MenuContentType, type MenuItem, type MenuRegistry, type MenuTarget, type Message, type MessageChunk, type MessageChunkType, MessageChunkTypes, type MessageContext, type MessageMiddleware, type MetricColumn, type MetricDataPoint, type MetricMeta, type MetricQueryResult, type MetricsMiddlewareConfig, type MetricsServerConfig, type MetricsServerConfigEntry, type MetricsServerConfigStore, type MetricsServerType, type MiddlewareType, type ModelLatticeProtocol, type OutboundMessage, type PaginatedResult, type PaginationParams, type PinoFileOptions, type Plugin, type PluginConnection, type PluginConnectionFieldSchema, type PluginConnectionTestResult, type PluginContext, type PluginDiscoveredResource, type PluginMeta, type PluginMetaOutput, type PluginMiddlewareFactory, type PluginToolMeta, type ProcessingAgentConfig, type Project, type ProjectStore, type QueryParams, type QueryResultFormat, type QueryWorkflowRunsOptions, type QueryWorkflowRunsResult, type QueueClient, type QueueConfig, type QueueLatticeProtocol, type QueueResult, QueueType, type ReactAgentConfig, type ReplyTarget, type ResourceAddress, type ResourceResolver, type Result, type RunStep, type SandboxMiddlewareConfig, type ScheduleClient, type ScheduleConfig, type ScheduleCronOptions, ScheduleExecutionType, type ScheduleLatticeProtocol, type ScheduleOnceOptions, type ScheduleStorage, ScheduleType, type ScheduledTaskDefinition, ScheduledTaskStatus, type SchedulerMiddlewareConfig, type SemanticMetricsFilter, type SemanticMetricsQueryRequest, type SemanticMetricsQueryResponse, type SemanticMetricsServerConfig, type ShareRecord, type ShareResult, type ShareVisibility, type SharedResourceStore, type Skill, type SkillClient, type SkillClientType, type SkillConfig, type SkillLatticeProtocol, type SkillStore, type SkillStoreContext, type SqlMiddlewareConfig, type StepStatus, type StepType, type StorageType, type SystemMessage, type TableQueryRequest, type TableQueryResponse, type TaskHandler, type TaskItem, type TaskListFilter, type TaskStore, type TeamAgentConfig, type TeamTeammateConfig, type Tenant, type TenantStatus, type TenantStore, type TestMcpServerToolsResponse, type Thread, type ThreadStore, type Timestamp, type ToolCall, type ToolConfig, type ToolExecutor, type ToolLatticeProtocol, type ToolMessage, type TopologyEdge, type UIComponent, UIComponentType, type UIConfig, type UILatticeProtocol, type UpdateChannelInstallationRequest, type UpdateCollectionRequest, type UpdateDatabaseConfigRequest, type UpdateMcpServerConfigRequest, type UpdateMenuItemInput, type UpdateMetricsServerConfigRequest, type UpdateProjectRequest, type UpdateRunStepRequest, type UpdateTaskRequest, type UpdateTenantRequest, type UpdateUserRequest, type UpdateUserTenantLinkRequest, type UpdateWorkflowRunRequest, type UpdateWorkspaceRequest, type User, type UserMessage, type UserStatus, type UserStore, type UserTenantLink, type UserTenantLinkStore, type UserTenantRole, type VectorStoreConfig, type VectorStoreCreateParams, type VectorStoreLatticeProtocol, type VectorStoreProvider, type WechatChannelInstallationConfig, type WorkflowAgentConfig, type WorkflowRun, type WorkflowRunStatus, type WorkflowTrackingStore, type Workspace, type WorkspaceStore, type YamlAgentStep, type YamlMapStep, type YamlParallelBlock, type YamlTopLevelStep, type YamlWorkflow, getSubAgentsFromConfig, getToolsFromConfig, hasTools, isA2ARemoteAgentConfig, isDeepAgentConfig, isProcessingAgentConfig, isTeamAgentConfig, isWorkflowAgentConfig };
4681
+ export { type A2AApiKeyEntry, type A2AApiKeyRecord, type A2AApiKeyStore, type A2AArtifact, type A2AAuthContext, type A2ACapabilities, type A2AConfig, type A2ADataPart, type A2AFilePart, type A2AMessage, type A2APart, type A2AProvider, type A2APushNotification, type A2ARemoteAgentConfig, type A2ASSEEvent, type A2ASkill, type A2ATask, type A2ATaskArtifactUpdatePayload, type A2ATaskSendRequest, type A2ATaskState, type A2ATaskStatus, type A2ATaskUpdatePayload, type A2ATextPart, A2A_DEFAULT_CAPABILITIES, A2A_DEFAULT_INPUT_MODES, A2A_DEFAULT_OUTPUT_MODES, type AgentCard, type AgentClient, type AgentConfig, type AgentConfigWithTools, type AgentLatticeProtocol, type AgentMenuConfig, type AgentMiddlewareConfig, type AgentRunConfig, AgentType, type Assistant, type AssistantMessage, type AssistantStore, type Attachment, type AvailableModule, type BaseLatticeProtocol, type BaseMessage, type Binding, type BindingRegistry, type BootstrapFilesConfig, type BrowserMiddlewareConfig, type Callback, type ChannelAdapter, type ChannelInstallation, type ChannelInstallationStore, type ChannelInstallationType, type ClawMiddlewareConfig, type CodeEvalMiddlewareConfig, type Collection, type CollectionField, type CollectionFieldType, type CollectionMiddlewareConfig, type CollectionSchema, type CollectionStore, type ConnectionEntry, type ConnectionStore, type CreateA2AApiKeyInput, type CreateAssistantRequest, type CreateBindingInput, type CreateChannelInstallationRequest, type CreateCollectionRequest, type CreateDatabaseConfigRequest, type CreateEvalCaseRequest, type CreateEvalProjectRequest, type CreateEvalRunRequest, type CreateEvalSuiteRequest, type CreateMcpServerConfigRequest, type CreateMenuItemInput, type CreateMetricsServerConfigRequest, type CreateProjectRequest, type CreateRunStepRequest, type CreateShareRequest, type CreateSkillRequest, type CreateTaskRequest, type CreateTenantRequest, type CreateThreadRequest, type CreateUserRequest, type CreateUserTenantLinkRequest, type CreateWorkItemRequest, type CreateWorkflowRunRequest, type CreateWorkspaceRequest, type CustomMenuConfig, type DataSource, type DatabaseConfig, type DatabaseConfigEntry, type DatabaseConfigStore, type DatabaseType, type DeepAgentConfig, type DeveloperMessage, type DispatchResult, type EmbeddingsConfig, type EmbeddingsLatticeProtocol, type EvalCase, type EvalProject, type EvalProjectReport, type EvalRun, type EvalRunResult, type EvalStore, type EvalSuite, type ExecuteSqlQueryRequest, type ExecuteSqlQueryResponse, type FilterCondition, type GraphBuildOptions, type HtmlMenuConfig, type ID, type InboundMessage, type InternalAgentNode, type InternalBaseNode, type InternalDSL, type InternalEdge, type InternalInput, type InternalInputNode, type InternalMapNode, type InternalNode, type InternalNodeConfig, type InternalOutput, type InternalState, type InternalStateField, type InternalTerminalNode, type InterruptMessage, type LLMConfig, type LarkChannelInstallationConfig, type LatticeError, type LatticeEventBus, type LatticeMessage, type LoggerClient, type LoggerConfig, type LoggerContext, type LoggerLatticeProtocol, LoggerType, type McpClient, type McpClientOptions, type McpConnectionStatus, type McpLatticeMessage, type McpLatticeProtocol, McpMessageType, type McpServerConfig, type McpServerConfigEntry, type McpServerConfigStore, type McpStats, type McpTool, type McpToolResult, type McpTransportType, type MemoryClient, type MemoryConfig, type MemoryLatticeProtocol, MemoryType, type MenuContentConfig, type MenuContentType, type MenuItem, type MenuRegistry, type MenuTarget, type Message, type MessageChunk, type MessageChunkType, MessageChunkTypes, type MessageContext, type MessageMiddleware, type MetricColumn, type MetricDataPoint, type MetricMeta, type MetricQueryResult, type MetricsMiddlewareConfig, type MetricsServerConfig, type MetricsServerConfigEntry, type MetricsServerConfigStore, type MetricsServerType, type MiddlewareType, type ModelLatticeProtocol, type OutboundMessage, type PaginatedResult, type PaginationParams, type PinoFileOptions, type Plugin, type PluginConnection, type PluginConnectionFieldSchema, type PluginConnectionTestResult, type PluginContext, type PluginDiscoveredResource, type PluginMeta, type PluginMetaOutput, type PluginMiddlewareFactory, type PluginToolMeta, type ProcessingAgentConfig, type Project, type ProjectStore, type QueryParams, type QueryResultFormat, type QueryWorkflowRunsOptions, type QueryWorkflowRunsResult, type QueueClient, type QueueConfig, type QueueLatticeProtocol, type QueueResult, QueueType, type ReactAgentConfig, type ReplyTarget, type ResourceAddress, type ResourceResolver, type Result, type RunStep, type STTClient, type STTConfig, type STTModelLatticeProtocol, type SandboxMiddlewareConfig, type ScheduleClient, type ScheduleConfig, type ScheduleCronOptions, ScheduleExecutionType, type ScheduleLatticeProtocol, type ScheduleOnceOptions, type ScheduleStorage, ScheduleType, type ScheduledTaskDefinition, ScheduledTaskStatus, type SchedulerMiddlewareConfig, type SemanticMetricsFilter, type SemanticMetricsQueryRequest, type SemanticMetricsQueryResponse, type SemanticMetricsServerConfig, type ShareRecord, type ShareResult, type ShareVisibility, type SharedResourceStore, type Skill, type SkillClient, type SkillClientType, type SkillConfig, type SkillLatticeProtocol, type SkillStore, type SkillStoreContext, type SqlMiddlewareConfig, type StepStatus, type StepType, type StorageType, type SystemMessage, type TableQueryRequest, type TableQueryResponse, type TaskHandler, type TaskItem, type TaskListFilter, type TaskStore, type TaskWorkItem, type TaskWorkItemListFilter, type TaskWorkItemStore, type TeamAgentConfig, type TeamTeammateConfig, type Tenant, type TenantStatus, type TenantStore, type TestMcpServerToolsResponse, type Thread, type ThreadStore, type Timestamp, type ToolCall, type ToolConfig, type ToolExecutor, type ToolLatticeProtocol, type ToolMessage, type TopologyEdge, type TranscriptionResult, type UIComponent, UIComponentType, type UIConfig, type UILatticeProtocol, type UpdateChannelInstallationRequest, type UpdateCollectionRequest, type UpdateDatabaseConfigRequest, type UpdateMcpServerConfigRequest, type UpdateMenuItemInput, type UpdateMetricsServerConfigRequest, type UpdateProjectRequest, type UpdateRunStepRequest, type UpdateTaskRequest, type UpdateTenantRequest, type UpdateUserRequest, type UpdateUserTenantLinkRequest, type UpdateWorkflowRunRequest, type UpdateWorkspaceRequest, type User, type UserMessage, type UserStatus, type UserStore, type UserTenantLink, type UserTenantLinkStore, type UserTenantRole, type VectorStoreConfig, type VectorStoreCreateParams, type VectorStoreLatticeProtocol, type VectorStoreProvider, type WechatChannelInstallationConfig, type WorkflowAgentConfig, type WorkflowRun, type WorkflowRunStatus, type WorkflowTrackingStore, type Workspace, type WorkspaceStore, type YamlAgentStep, type YamlMapStep, type YamlParallelBlock, type YamlTopLevelStep, type YamlWorkflow, getSubAgentsFromConfig, getToolsFromConfig, hasTools, isA2ARemoteAgentConfig, isDeepAgentConfig, isProcessingAgentConfig, isTeamAgentConfig, isWorkflowAgentConfig };