@axiom-lattice/protocols 2.1.49 → 2.1.51
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/.turbo/turbo-build.log +9 -9
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +240 -9
- package/dist/index.d.ts +240 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/AgentLatticeProtocol.ts +3 -1
- package/src/ConnectionStoreProtocol.ts +28 -0
- package/src/InternalDSL.ts +0 -5
- package/src/PluginProtocol.ts +193 -0
- package/src/SandboxResourceProtocol.ts +1 -1
- package/src/WorkflowDSL.ts +4 -0
- package/src/WorkflowTrackingStoreProtocol.ts +24 -1
- package/src/index.ts +15 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @axiom-lattice/protocols@2.1.
|
|
2
|
+
> @axiom-lattice/protocols@2.1.51 build /home/runner/work/agentic/agentic/packages/protocols
|
|
3
3
|
> tsup src/index.ts --format cjs,esm --dts --sourcemap
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
[34mCLI[39m Target: es2020
|
|
9
9
|
[34mCJS[39m Build start
|
|
10
10
|
[34mESM[39m Build start
|
|
11
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m4.78 KB[39m
|
|
12
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m43.33 KB[39m
|
|
13
|
-
[32mESM[39m ⚡️ Build success in 312ms
|
|
14
11
|
[32mCJS[39m [1mdist/index.js [22m[32m6.69 KB[39m
|
|
15
|
-
[32mCJS[39m [1mdist/index.js.map [22m[32m45.
|
|
16
|
-
[32mCJS[39m ⚡️ Build success in
|
|
12
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m45.71 KB[39m
|
|
13
|
+
[32mCJS[39m ⚡️ Build success in 227ms
|
|
14
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m4.78 KB[39m
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m43.41 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 228ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
19
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
20
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 16795ms
|
|
19
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m130.75 KB[39m
|
|
20
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m130.75 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -217,13 +217,15 @@ interface CollectionMiddlewareConfig {
|
|
|
217
217
|
*/
|
|
218
218
|
connectAll?: boolean;
|
|
219
219
|
}
|
|
220
|
-
type MiddlewareType = "filesystem" | "code_eval" | "browser" | "sql" | "skill" | "http" | "custom" | "metrics" | "ask_user_to_clarify" | "widget" | "claw" | "date" | "scheduler" | "topology" | "task" | "collection";
|
|
220
|
+
type MiddlewareType = "filesystem" | "code_eval" | "browser" | "sql" | "skill" | "http" | "custom" | "metrics" | "ask_user_to_clarify" | "widget" | "claw" | "date" | "scheduler" | "topology" | "task" | "collection" | string;
|
|
221
221
|
interface AgentMiddlewareConfig {
|
|
222
222
|
id: string;
|
|
223
223
|
type: MiddlewareType;
|
|
224
224
|
name: string;
|
|
225
225
|
description: string;
|
|
226
226
|
enabled: boolean;
|
|
227
|
+
/** 可选:限制该中间件暴露的工具列表。不配置则默认暴露所有工具 */
|
|
228
|
+
allowedTools?: string[];
|
|
227
229
|
config: SandboxMiddlewareConfig | CodeEvalMiddlewareConfig | BrowserMiddlewareConfig | SqlMiddlewareConfig | MetricsMiddlewareConfig | ClawMiddlewareConfig | CollectionMiddlewareConfig | SchedulerMiddlewareConfig | Record<string, any>;
|
|
228
230
|
}
|
|
229
231
|
/**
|
|
@@ -2117,6 +2119,33 @@ interface DatabaseConfigStore {
|
|
|
2117
2119
|
hasConfig(tenantId: string, id: string): Promise<boolean>;
|
|
2118
2120
|
}
|
|
2119
2121
|
|
|
2122
|
+
/**
|
|
2123
|
+
* ConnectionStore Protocol
|
|
2124
|
+
*
|
|
2125
|
+
* Generic store for external service connections (databases, APIs, etc.).
|
|
2126
|
+
* Provides tenant-scoped CRUD operations keyed by a unique business key.
|
|
2127
|
+
* The key is scoped to (tenant_id, type) — same tenant, same plugin type
|
|
2128
|
+
* can't use duplicate keys, but different types can share keys (ERP "prod" != CRM "prod").
|
|
2129
|
+
*/
|
|
2130
|
+
interface ConnectionEntry {
|
|
2131
|
+
id: string;
|
|
2132
|
+
tenantId: string;
|
|
2133
|
+
type: string;
|
|
2134
|
+
key: string;
|
|
2135
|
+
name: string;
|
|
2136
|
+
description?: string;
|
|
2137
|
+
config: Record<string, unknown>;
|
|
2138
|
+
createdAt: string;
|
|
2139
|
+
updatedAt: string;
|
|
2140
|
+
}
|
|
2141
|
+
interface ConnectionStore {
|
|
2142
|
+
listByType(tenantId: string, type: string): Promise<ConnectionEntry[]>;
|
|
2143
|
+
getByKey(tenantId: string, type: string, key: string): Promise<ConnectionEntry | null>;
|
|
2144
|
+
create(entry: Omit<ConnectionEntry, "id" | "createdAt" | "updatedAt">): Promise<ConnectionEntry>;
|
|
2145
|
+
update(tenantId: string, type: string, key: string, updates: Partial<ConnectionEntry>): Promise<ConnectionEntry | null>;
|
|
2146
|
+
delete(tenantId: string, type: string, key: string): Promise<boolean>;
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2120
2149
|
type ChannelInstallationType = "lark" | "email" | "slack" | "wechat";
|
|
2121
2150
|
interface LarkChannelInstallationConfig {
|
|
2122
2151
|
appId: string;
|
|
@@ -2909,7 +2938,7 @@ interface WorkflowRun {
|
|
|
2909
2938
|
updatedAt: Date;
|
|
2910
2939
|
}
|
|
2911
2940
|
type StepType = 'task_delegation' | 'tool_call' | 'human_in_loop' | 'topology_transition' | 'agent' | 'human_feedback' | 'map' | 'input' | 'terminal';
|
|
2912
|
-
type StepStatus = 'running' | 'completed' | 'failed' | 'interrupted' | 'skipped';
|
|
2941
|
+
type StepStatus = 'running' | 'completed' | 'failed' | 'interrupted' | 'skipped' | 'cancelled';
|
|
2913
2942
|
interface RunStep {
|
|
2914
2943
|
id: string;
|
|
2915
2944
|
runId: string;
|
|
@@ -2963,6 +2992,22 @@ interface UpdateRunStepRequest {
|
|
|
2963
2992
|
completedAt?: Date | null;
|
|
2964
2993
|
durationMs?: number;
|
|
2965
2994
|
}
|
|
2995
|
+
interface QueryWorkflowRunsOptions {
|
|
2996
|
+
/** Filter by run status (e.g. 'interrupted' for inbox). */
|
|
2997
|
+
status?: WorkflowRunStatus;
|
|
2998
|
+
/** Filter by assistant. */
|
|
2999
|
+
assistantId?: string;
|
|
3000
|
+
/** Max records to return. Omit to return all matching runs. */
|
|
3001
|
+
limit?: number;
|
|
3002
|
+
/** Records to skip. Applied before limit. */
|
|
3003
|
+
offset?: number;
|
|
3004
|
+
}
|
|
3005
|
+
interface QueryWorkflowRunsResult {
|
|
3006
|
+
/** Matching runs, always ordered by updatedAt DESC. */
|
|
3007
|
+
records: WorkflowRun[];
|
|
3008
|
+
/** Total matching runs BEFORE limit/offset. */
|
|
3009
|
+
total: number;
|
|
3010
|
+
}
|
|
2966
3011
|
interface WorkflowTrackingStore {
|
|
2967
3012
|
createWorkflowRun(request: CreateWorkflowRunRequest): Promise<WorkflowRun>;
|
|
2968
3013
|
getWorkflowRun(runId: string): Promise<WorkflowRun | null>;
|
|
@@ -2971,6 +3016,11 @@ interface WorkflowTrackingStore {
|
|
|
2971
3016
|
getWorkflowRunsByThreadId(tenantId: string, threadId: string): Promise<WorkflowRun[]>;
|
|
2972
3017
|
getWorkflowRunsByAssistantId(tenantId: string, assistantId: string): Promise<WorkflowRun[]>;
|
|
2973
3018
|
getWorkflowRunsByTenantId(tenantId: string): Promise<WorkflowRun[]>;
|
|
3019
|
+
/**
|
|
3020
|
+
* Query runs with optional status/assistant filters and limit/offset pagination.
|
|
3021
|
+
* Always ordered by updatedAt DESC. `total` counts all matching runs (ignores limit/offset).
|
|
3022
|
+
*/
|
|
3023
|
+
queryWorkflowRuns(tenantId: string, options?: QueryWorkflowRunsOptions): Promise<QueryWorkflowRunsResult>;
|
|
2974
3024
|
createRunStep(request: CreateRunStepRequest): Promise<RunStep>;
|
|
2975
3025
|
/** Idempotent create — uses (runId, stepType, stepName) as unique key. Returns existing step if one already exists. */
|
|
2976
3026
|
upsertRunStep(request: CreateRunStepRequest): Promise<RunStep>;
|
|
@@ -3993,6 +4043,8 @@ interface YamlAgentStep {
|
|
|
3993
4043
|
if?: string;
|
|
3994
4044
|
/** Agent instruction with {{template}} references. */
|
|
3995
4045
|
prompt: string;
|
|
4046
|
+
/** Reference a pre-registered agent to execute this step (uses that agent's tools/model/middleware). Text passthrough — no schema enforcement. */
|
|
4047
|
+
ref?: string;
|
|
3996
4048
|
/** Shorthand output schema: { field: "string" | "number" | "boolean" } */
|
|
3997
4049
|
output?: Record<string, unknown>;
|
|
3998
4050
|
/** When true, inject ask_user_to_clarify middleware. */
|
|
@@ -4016,6 +4068,8 @@ interface YamlMapStep {
|
|
|
4016
4068
|
/** Agent applied to each element. Use {{item}} for current element. */
|
|
4017
4069
|
each: {
|
|
4018
4070
|
prompt: string;
|
|
4071
|
+
/** Reference a pre-registered agent for per-item execution. Ignores each.output schema. */
|
|
4072
|
+
ref?: string;
|
|
4019
4073
|
output?: Record<string, unknown>;
|
|
4020
4074
|
};
|
|
4021
4075
|
/** Shorthand output schema for the aggregated results. */
|
|
@@ -4086,11 +4140,6 @@ interface InternalMapNode extends InternalBaseNode {
|
|
|
4086
4140
|
input?: InternalInput;
|
|
4087
4141
|
schema?: Record<string, unknown>;
|
|
4088
4142
|
};
|
|
4089
|
-
reduce?: {
|
|
4090
|
-
ref?: string;
|
|
4091
|
-
input?: InternalInput;
|
|
4092
|
-
schema?: Record<string, unknown>;
|
|
4093
|
-
};
|
|
4094
4143
|
}
|
|
4095
4144
|
interface InternalTerminalNode extends InternalBaseNode {
|
|
4096
4145
|
type: "terminal";
|
|
@@ -4135,7 +4184,7 @@ interface ResourceResolver {
|
|
|
4135
4184
|
resolve(address: ResourceAddress): Promise<Buffer>;
|
|
4136
4185
|
}
|
|
4137
4186
|
/** Visibility level for resource shares. */
|
|
4138
|
-
type ShareVisibility = "public" | "password";
|
|
4187
|
+
type ShareVisibility = "public" | "password" | "internal";
|
|
4139
4188
|
/** Persisted record of a resource share within a project. */
|
|
4140
4189
|
interface ShareRecord {
|
|
4141
4190
|
token: string;
|
|
@@ -4181,6 +4230,188 @@ interface SharedResourceStore {
|
|
|
4181
4230
|
atomicIncrementAccess(token: string): Promise<boolean>;
|
|
4182
4231
|
}
|
|
4183
4232
|
|
|
4233
|
+
/**
|
|
4234
|
+
* Plugin Connection 字段 schema(驱动前端表单渲染)
|
|
4235
|
+
*/
|
|
4236
|
+
interface PluginConnectionFieldSchema {
|
|
4237
|
+
/** 字段 key */
|
|
4238
|
+
key: string;
|
|
4239
|
+
/** 字段类型 */
|
|
4240
|
+
type: "string" | "number" | "boolean" | "password";
|
|
4241
|
+
/** UI 标签 */
|
|
4242
|
+
title: string;
|
|
4243
|
+
/** 前端 widget 类型 */
|
|
4244
|
+
widget?: "input" | "password" | "select" | "numberInput";
|
|
4245
|
+
/** 是否必填 */
|
|
4246
|
+
required?: boolean;
|
|
4247
|
+
/** 默认值 */
|
|
4248
|
+
default?: unknown;
|
|
4249
|
+
/** 如果是 select widget,可选值列表 */
|
|
4250
|
+
enumValues?: string[];
|
|
4251
|
+
/** 帮助文本 */
|
|
4252
|
+
helpText?: string;
|
|
4253
|
+
}
|
|
4254
|
+
/**
|
|
4255
|
+
* 连接测试结果
|
|
4256
|
+
*/
|
|
4257
|
+
interface PluginConnectionTestResult {
|
|
4258
|
+
ok: boolean;
|
|
4259
|
+
message: string;
|
|
4260
|
+
/** 可选的附加诊断信息 */
|
|
4261
|
+
details?: Record<string, unknown>;
|
|
4262
|
+
}
|
|
4263
|
+
/**
|
|
4264
|
+
* 资源发现条目
|
|
4265
|
+
*/
|
|
4266
|
+
interface PluginDiscoveredResource {
|
|
4267
|
+
id: string;
|
|
4268
|
+
name: string;
|
|
4269
|
+
/** 可选的归组 */
|
|
4270
|
+
group?: string;
|
|
4271
|
+
/** 可选描述 */
|
|
4272
|
+
description?: string;
|
|
4273
|
+
}
|
|
4274
|
+
/**
|
|
4275
|
+
* 插件连接定义(全部可选,存在即生效)
|
|
4276
|
+
*
|
|
4277
|
+
* - fields: 前端渲染表单字段
|
|
4278
|
+
* - test: 连通测试 → API 推导 hasTest
|
|
4279
|
+
* - discover: 资源发现 → API 推导 hasDiscover
|
|
4280
|
+
* - resourceLabel: 资源面板标题
|
|
4281
|
+
*/
|
|
4282
|
+
interface PluginConnection {
|
|
4283
|
+
/** 连接表单字段 */
|
|
4284
|
+
fields: PluginConnectionFieldSchema[];
|
|
4285
|
+
/** 连通测试回调(存在即声明 hasTest: true) */
|
|
4286
|
+
test?: (config: Record<string, unknown>) => Promise<PluginConnectionTestResult>;
|
|
4287
|
+
/** 资源发现回调(存在即声明 hasDiscover: true) */
|
|
4288
|
+
discover?: (config: Record<string, unknown>) => Promise<PluginDiscoveredResource[]>;
|
|
4289
|
+
/** 资源发现面板标题 */
|
|
4290
|
+
resourceLabel?: string;
|
|
4291
|
+
}
|
|
4292
|
+
/**
|
|
4293
|
+
* 工具元信息(用于前端 allowedTools 筛选)
|
|
4294
|
+
*/
|
|
4295
|
+
interface PluginToolMeta {
|
|
4296
|
+
name: string;
|
|
4297
|
+
description: string;
|
|
4298
|
+
}
|
|
4299
|
+
/**
|
|
4300
|
+
* 插件元数据(开发者声明)
|
|
4301
|
+
*
|
|
4302
|
+
* connectionSchema 不在此类型中——由 serializePluginMeta 自动推导后注入 PluginMetaOutput。
|
|
4303
|
+
*/
|
|
4304
|
+
interface PluginMeta {
|
|
4305
|
+
/** 插件唯一标识,如 "erp" */
|
|
4306
|
+
type: string;
|
|
4307
|
+
/** 显示名称 */
|
|
4308
|
+
name: string;
|
|
4309
|
+
/** 描述 */
|
|
4310
|
+
description: string;
|
|
4311
|
+
/** 版本号,为包管理预留 */
|
|
4312
|
+
version?: string;
|
|
4313
|
+
/** 安装来源,如 "npm:my-plugin@1.2.0" */
|
|
4314
|
+
source?: string;
|
|
4315
|
+
/** 图标名称(可选,前端渲染用) */
|
|
4316
|
+
icon?: string;
|
|
4317
|
+
/** 工具清单(可选,middleware 能自动提取时不需要写) */
|
|
4318
|
+
tools?: PluginToolMeta[];
|
|
4319
|
+
/** 中间件配置 schema(用于 agent 配置面板) */
|
|
4320
|
+
configSchema?: Record<string, unknown>;
|
|
4321
|
+
/** 默认配置 */
|
|
4322
|
+
defaultConfig?: Record<string, unknown>;
|
|
4323
|
+
/** 推荐的配套插件,在前端中间件配置 UI 中展示为提示 */
|
|
4324
|
+
recommends?: string[];
|
|
4325
|
+
}
|
|
4326
|
+
/**
|
|
4327
|
+
* 插件元数据输出(API 返回格式)
|
|
4328
|
+
*
|
|
4329
|
+
* 在 PluginMeta 基础上增加了由 serializePluginMeta 自动推导的 connectionSchema。
|
|
4330
|
+
*/
|
|
4331
|
+
interface PluginMetaOutput extends PluginMeta {
|
|
4332
|
+
/** 连接 schema(由 API 端点从 connection 方法存在性自动注入) */
|
|
4333
|
+
connectionSchema?: {
|
|
4334
|
+
fields: PluginConnectionFieldSchema[];
|
|
4335
|
+
hasTest: boolean;
|
|
4336
|
+
hasDiscover: boolean;
|
|
4337
|
+
resourceLabel?: string;
|
|
4338
|
+
};
|
|
4339
|
+
}
|
|
4340
|
+
/**
|
|
4341
|
+
* Build-time context passed to plugin middleware factories.
|
|
4342
|
+
*
|
|
4343
|
+
* Contains cross-plugin aggregated data determined at build time.
|
|
4344
|
+
* Does NOT carry request-scoped data (tenantId, threadId) — middleware
|
|
4345
|
+
* instances may be reused across tenants, so runtime context must be
|
|
4346
|
+
* accessed at execution time via `exeConfig.configurable.runConfig`.
|
|
4347
|
+
*
|
|
4348
|
+
* @example
|
|
4349
|
+
* ```ts
|
|
4350
|
+
* const myPlugin: Plugin = {
|
|
4351
|
+
* meta: { ... },
|
|
4352
|
+
* middleware: (config, context) => {
|
|
4353
|
+
* const skills = context?.pluginSkillContents ?? {};
|
|
4354
|
+
* return createMyMiddleware({ ...config, pluginSkills: skills });
|
|
4355
|
+
* },
|
|
4356
|
+
* };
|
|
4357
|
+
* ```
|
|
4358
|
+
*/
|
|
4359
|
+
interface PluginContext {
|
|
4360
|
+
/**
|
|
4361
|
+
* Cross-plugin aggregated skill contents (SKILL.md, keyed by skill name).
|
|
4362
|
+
* Collected from all enabled plugins before the main middleware loop.
|
|
4363
|
+
* Most plugins should ignore this; only cross-plugin coordination
|
|
4364
|
+
* middleware (e.g. skillMiddleware) consumes it.
|
|
4365
|
+
*/
|
|
4366
|
+
pluginSkillContents?: Record<string, string>;
|
|
4367
|
+
}
|
|
4368
|
+
/**
|
|
4369
|
+
* Factory function that creates middleware from plugin config.
|
|
4370
|
+
*
|
|
4371
|
+
* @param config - User-provided plugin configuration (from agent middleware config)
|
|
4372
|
+
* @param context - Optional build-time cross-plugin context (NOT request-scoped)
|
|
4373
|
+
* @returns Middleware instance or Promise of one
|
|
4374
|
+
*
|
|
4375
|
+
* @remarks
|
|
4376
|
+
* - The `context` parameter was added in v3 of the plugin protocol.
|
|
4377
|
+
* - Existing plugins that only accept `config` continue to work (extra argument is ignored).
|
|
4378
|
+
* - Context is for BUILD-TIME cross-plugin data only. Request-scoped data
|
|
4379
|
+
* (tenantId, threadId) must be read at runtime from `exeConfig.configurable.runConfig`.
|
|
4380
|
+
*/
|
|
4381
|
+
type PluginMiddlewareFactory<T = unknown> = (config: Record<string, unknown>, context?: PluginContext) => T | Promise<T>;
|
|
4382
|
+
/**
|
|
4383
|
+
* Plugin 基类接口
|
|
4384
|
+
*
|
|
4385
|
+
* 一个对象 = 一个完整的插件定义。
|
|
4386
|
+
* meta + connection + middleware 全在一个类里内聚。
|
|
4387
|
+
*
|
|
4388
|
+
* @example
|
|
4389
|
+
* ```ts
|
|
4390
|
+
* const erpPlugin: Plugin = {
|
|
4391
|
+
* meta: { type: "erp", name: "ERP", description: "SAP B1" },
|
|
4392
|
+
* connection: {
|
|
4393
|
+
* fields: [{ key: "baseUrl", type: "string", title: "SAP URL" }],
|
|
4394
|
+
* test: async (config) => ({ ok: true, message: "ok" }),
|
|
4395
|
+
* },
|
|
4396
|
+
* middleware: (config) => createMiddleware({ ... }),
|
|
4397
|
+
* };
|
|
4398
|
+
* ```
|
|
4399
|
+
*/
|
|
4400
|
+
interface Plugin {
|
|
4401
|
+
/** 插件元数据 */
|
|
4402
|
+
meta: PluginMeta;
|
|
4403
|
+
/** 连接能力(可选,没有则不暴露连接管理) */
|
|
4404
|
+
connection?: PluginConnection;
|
|
4405
|
+
/** 中间件工厂(可选,没有则不注册任何工具) */
|
|
4406
|
+
middleware?: PluginMiddlewareFactory;
|
|
4407
|
+
/**
|
|
4408
|
+
* 插件贡献的技能内容(SKILL.md,以技能名为 key)。
|
|
4409
|
+
* 名称必须以 "{pluginType}-" 为前缀,注册时校验。
|
|
4410
|
+
* Builder 在构建中间件之前从所有启用的插件中收集。
|
|
4411
|
+
*/
|
|
4412
|
+
skills?: Record<string, string>;
|
|
4413
|
+
}
|
|
4414
|
+
|
|
4184
4415
|
/**
|
|
4185
4416
|
* 通用类型定义
|
|
4186
4417
|
*
|
|
@@ -4244,4 +4475,4 @@ type Timestamp = number;
|
|
|
4244
4475
|
*/
|
|
4245
4476
|
type Callback<T = any, R = void> = (data: T) => R | Promise<R>;
|
|
4246
4477
|
|
|
4247
|
-
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 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 ProcessingAgentConfig, type Project, type ProjectStore, type QueryParams, type QueryResultFormat, 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 };
|
|
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 };
|