@axiom-lattice/protocols 4.2.0 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +20 -0
- package/dist/index.d.mts +266 -20
- package/dist/index.d.ts +266 -20
- package/dist/index.js +41 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +38 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/A2AApiKeyStoreProtocol.ts +18 -0
- package/src/A2AProtocol.ts +3 -11
- package/src/AgentWebAppStreamProjection.ts +21 -0
- package/src/ChannelAdapterProtocol.ts +12 -0
- package/src/MessageProtocol.ts +6 -0
- package/src/OpenProtocol.ts +125 -0
- package/src/PluginProtocol.ts +19 -0
- package/src/ProjectRoomMessageStoreProtocol.ts +4 -1
- package/src/ProjectRoomProtocol.ts +11 -0
- package/src/ProjectRoomRealtimeProtocol.ts +6 -0
- package/src/SandboxPluginProtocol.ts +62 -0
- package/src/SandboxResourceProtocol.ts +5 -0
- package/src/UserPushSubscriptionStoreProtocol.ts +25 -0
- package/src/__tests__/AgentWebAppStreamProjection.test.ts +59 -0
- package/src/__tests__/ProjectRoomRealtimeProtocol.test.ts +2 -2
- package/src/__tests__/a2a-types.test.ts +0 -6
- package/src/__tests__/open-grants.test.ts +29 -0
- package/src/index.ts +4 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @axiom-lattice/protocols@4.2.
|
|
2
|
+
> @axiom-lattice/protocols@4.2.2 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
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
11
|
+
[32mCJS[39m [1mdist/index.js [22m[32m42.59 KB[39m
|
|
12
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m142.74 KB[39m
|
|
13
|
+
[32mCJS[39m ⚡️ Build success in 366ms
|
|
14
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m38.28 KB[39m
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m139.16 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 367ms
|
|
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 15859ms
|
|
19
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m213.23 KB[39m
|
|
20
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m213.23 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @axiom-lattice/protocols
|
|
2
2
|
|
|
3
|
+
## 4.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0d39471: Surface real stream errors and neutral stops instead of rendering a bogus "Thread aborted" assistant bubble.
|
|
8
|
+
|
|
9
|
+
- core: `abortThread` carries a reason + end code (`aborted` / `superseded` / `stream_error`); `Agent` preserves the real error and tags user aborts and STEER interruptions, including during checkpoint resume.
|
|
10
|
+
- protocols: add `MessageChunkTypes.ERROR` and `data.code`; project real error reasons onto the Web App stream.
|
|
11
|
+
- gateway: include the end code and real message in SSE error frames.
|
|
12
|
+
- client-sdk: `ChunkMessageMerger` ignores error frames so they never become assistant messages.
|
|
13
|
+
- react-sdk: `AgentThreadContext` / `useChat` surface error frames (neutral stop notice vs. red error alert), clear the notice on the next run, and guard idle aborts.
|
|
14
|
+
|
|
15
|
+
- a467ced: publish new room
|
|
16
|
+
|
|
17
|
+
## 4.2.1
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- 20ec3c1: add webapp, mcps
|
|
22
|
+
|
|
3
23
|
## 4.2.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -1169,6 +1169,7 @@ declare const MessageChunkTypes: {
|
|
|
1169
1169
|
readonly AI: "ai";
|
|
1170
1170
|
readonly TOOL: "tool";
|
|
1171
1171
|
readonly INTERRUPT: "interrupt";
|
|
1172
|
+
readonly ERROR: "error";
|
|
1172
1173
|
readonly MESSAGE_COMPLETED: "message_completed";
|
|
1173
1174
|
readonly MESSAGE_FAILED: "message_failed";
|
|
1174
1175
|
readonly THREAD_IDLE: "thread_idle";
|
|
@@ -1179,6 +1180,11 @@ interface MessageChunk {
|
|
|
1179
1180
|
data: {
|
|
1180
1181
|
id: string;
|
|
1181
1182
|
content?: string;
|
|
1183
|
+
/**
|
|
1184
|
+
* Machine-readable end reason for {@link MessageChunkTypes.ERROR} chunks.
|
|
1185
|
+
* Known values: `aborted`, `superseded`, `stream_error`.
|
|
1186
|
+
*/
|
|
1187
|
+
code?: string;
|
|
1182
1188
|
tool_call_chunks?: Array<{
|
|
1183
1189
|
name?: string;
|
|
1184
1190
|
args?: string;
|
|
@@ -4587,6 +4593,14 @@ interface ChannelAdapter<TConfig = unknown> {
|
|
|
4587
4593
|
readonly configSchema: z.ZodSchema<TConfig>;
|
|
4588
4594
|
receive(rawPayload: unknown, installation: ChannelInstallation): Promise<InboundMessage | null>;
|
|
4589
4595
|
sendReply(replyTarget: ReplyTarget, message: OutboundMessage, installation: ChannelInstallation): Promise<void>;
|
|
4596
|
+
/**
|
|
4597
|
+
* 可选:把 Agent 暂停等待人工输入时的问题/提示投影到会话中。
|
|
4598
|
+
*
|
|
4599
|
+
* 与 `sendReply` 不同,这不是对某条入站消息的最终回复,而是运行中途
|
|
4600
|
+
* 产生的一条独立 bot 消息(例如 Project Room 的 clarify 卡片)。
|
|
4601
|
+
* `message.metadata.inputMessageId` 关联触发该运行的入站队列消息。
|
|
4602
|
+
*/
|
|
4603
|
+
sendInterrupt?(replyTarget: ReplyTarget, message: OutboundMessage, installation: ChannelInstallation): Promise<void>;
|
|
4590
4604
|
/**
|
|
4591
4605
|
* 可选:Channel 自定义 thread ID 生成策略。
|
|
4592
4606
|
* 如果提供,MessageRouter 会优先使用此方法决定 thread ID,
|
|
@@ -4610,30 +4624,120 @@ interface ChannelAdapter<TConfig = unknown> {
|
|
|
4610
4624
|
}
|
|
4611
4625
|
|
|
4612
4626
|
/**
|
|
4613
|
-
*
|
|
4614
|
-
*
|
|
4627
|
+
* OpenProtocol — contracts for the Open API surface (unified external
|
|
4628
|
+
* capability invocation). See docs/superpowers/specs/2026-09-07-open-platform-api-design.md.
|
|
4615
4629
|
*/
|
|
4630
|
+
/** Authorization grant: default-deny; a grant covers one capability domain. */
|
|
4631
|
+
interface OpenGrant {
|
|
4632
|
+
domain: string;
|
|
4633
|
+
/**
|
|
4634
|
+
* Action names (kb: ["search"]) or instance ids (agent: [assistantId]).
|
|
4635
|
+
* Absent/empty = every action in the domain.
|
|
4636
|
+
*/
|
|
4637
|
+
items?: string[];
|
|
4638
|
+
selector?: {
|
|
4639
|
+
sandbox?: "self";
|
|
4640
|
+
};
|
|
4641
|
+
}
|
|
4642
|
+
/** Execution context synthesized from a verified credential — never from the caller. */
|
|
4643
|
+
interface OpenExecutionContext {
|
|
4644
|
+
tenantId: string;
|
|
4645
|
+
projectId: string;
|
|
4646
|
+
/** Addressing only, not an authorization dimension (see design §6.2). */
|
|
4647
|
+
workspaceId?: string;
|
|
4648
|
+
/** Synthesized runConfig (mirrors the Agent path, incl. _resolvedConnections). */
|
|
4649
|
+
runConfig: Record<string, unknown>;
|
|
4650
|
+
}
|
|
4651
|
+
interface OpenExecutionResult {
|
|
4652
|
+
content: Array<{
|
|
4653
|
+
type: "text";
|
|
4654
|
+
text: string;
|
|
4655
|
+
}>;
|
|
4656
|
+
isError?: boolean;
|
|
4657
|
+
}
|
|
4658
|
+
/**
|
|
4659
|
+
* Effective grants for the Open door, derived from a key record.
|
|
4660
|
+
*
|
|
4661
|
+
* Backward compatibility with pre-grants A2A keys:
|
|
4662
|
+
* - explicit grants win;
|
|
4663
|
+
* - otherwise assistantIds become an agent-domain grant;
|
|
4664
|
+
* - legacy "empty assistantIds = all exposed agents" maps to a bare agent grant.
|
|
4665
|
+
*
|
|
4666
|
+
* The A2A door keeps reading assistantIds directly and never consults this —
|
|
4667
|
+
* existing A2A behavior is unchanged by construction.
|
|
4668
|
+
*/
|
|
4669
|
+
declare function effectiveGrants(record: {
|
|
4670
|
+
grants?: OpenGrant[];
|
|
4671
|
+
assistantIds?: string[];
|
|
4672
|
+
}): OpenGrant[];
|
|
4673
|
+
/** Where an exposed capability comes from. */
|
|
4674
|
+
type OpenCapabilitySource = "builtin" | "plugin" | "agent";
|
|
4675
|
+
/** A selectable grant item: an action name or an instance id. */
|
|
4676
|
+
interface OpenCatalogItem {
|
|
4677
|
+
/** Grant item value: action name (kb → "search") or instance id (agent → assistantId). */
|
|
4678
|
+
id: string;
|
|
4679
|
+
/** Full MCP tool name when this item is exclusively exposed (informational). */
|
|
4680
|
+
toolName: string;
|
|
4681
|
+
label: string;
|
|
4682
|
+
description?: string;
|
|
4683
|
+
annotations?: {
|
|
4684
|
+
readOnlyHint: boolean;
|
|
4685
|
+
destructiveHint: boolean;
|
|
4686
|
+
};
|
|
4687
|
+
}
|
|
4688
|
+
interface OpenCatalogDomain {
|
|
4689
|
+
domain: string;
|
|
4690
|
+
label: string;
|
|
4691
|
+
source: OpenCapabilitySource;
|
|
4692
|
+
/** Display-only scope hint (defaults to tenant-wide). */
|
|
4693
|
+
scopeKind?: "tenant" | "workspace" | "project";
|
|
4694
|
+
/** How grant items are chosen: per-action or per-instance. */
|
|
4695
|
+
itemKind: "action" | "instance";
|
|
4696
|
+
items: OpenCatalogItem[];
|
|
4697
|
+
}
|
|
4698
|
+
/** Full grantable capability catalog for a tenant (drives the key picker). */
|
|
4699
|
+
interface OpenCatalog {
|
|
4700
|
+
domains: OpenCatalogDomain[];
|
|
4701
|
+
}
|
|
4702
|
+
type OpenCredentialKind = "api_key" | "sandbox_token" | "browser_token";
|
|
4703
|
+
/** Append-only audit input; the writer is responsible for redacting args. */
|
|
4704
|
+
interface OpenAuditAppendInput {
|
|
4705
|
+
tenantId: string;
|
|
4706
|
+
credentialId: string;
|
|
4707
|
+
credentialKind: OpenCredentialKind;
|
|
4708
|
+
projectId: string;
|
|
4709
|
+
domain: string;
|
|
4710
|
+
action: string;
|
|
4711
|
+
args: unknown;
|
|
4712
|
+
status: "ok" | "error";
|
|
4713
|
+
errorCode?: string;
|
|
4714
|
+
durationMs: number;
|
|
4715
|
+
}
|
|
4716
|
+
interface OpenAuditRecord extends OpenAuditAppendInput {
|
|
4717
|
+
id: string;
|
|
4718
|
+
createdAt: Date;
|
|
4719
|
+
}
|
|
4720
|
+
interface OpenAuditQuery {
|
|
4721
|
+
tenantId: string;
|
|
4722
|
+
credentialId?: string;
|
|
4723
|
+
domain?: string;
|
|
4724
|
+
status?: "ok" | "error";
|
|
4725
|
+
/** ISO timestamps; inclusive from / exclusive to. */
|
|
4726
|
+
from?: string;
|
|
4727
|
+
to?: string;
|
|
4728
|
+
limit?: number;
|
|
4729
|
+
offset?: number;
|
|
4730
|
+
}
|
|
4731
|
+
interface OpenAuditStore {
|
|
4732
|
+
append(record: OpenAuditAppendInput): Promise<void>;
|
|
4733
|
+
/** Tenant-scoped, newest-first. */
|
|
4734
|
+
query(params: OpenAuditQuery): Promise<OpenAuditRecord[]>;
|
|
4735
|
+
}
|
|
4616
4736
|
|
|
4617
4737
|
/**
|
|
4618
4738
|
* Per-agent A2A exposure configuration — controls whether an agent is
|
|
4619
4739
|
* reachable over A2A and which skills are advertised on its AgentCard.
|
|
4620
4740
|
*/
|
|
4621
|
-
interface A2AExposure {
|
|
4622
|
-
/** Whether this agent is exposed over the A2A protocol */
|
|
4623
|
-
enabled: boolean;
|
|
4624
|
-
/** Skills advertised on the AgentCard; defaults to a single generic skill when omitted */
|
|
4625
|
-
skills?: Array<{
|
|
4626
|
-
id: string;
|
|
4627
|
-
name: string;
|
|
4628
|
-
description: string;
|
|
4629
|
-
tags?: string[];
|
|
4630
|
-
examples?: string[];
|
|
4631
|
-
}>;
|
|
4632
|
-
/** Supported input modes (MIME types); defaults to text modes when omitted */
|
|
4633
|
-
inputModes?: string[];
|
|
4634
|
-
/** Supported output modes (MIME types); defaults to text modes when omitted */
|
|
4635
|
-
outputModes?: string[];
|
|
4636
|
-
}
|
|
4637
4741
|
/**
|
|
4638
4742
|
* In-memory API key entry used for request authentication.
|
|
4639
4743
|
* Empty/undefined assistantIds means all exposed agents in the tenant.
|
|
@@ -4643,6 +4747,8 @@ interface A2AApiKeyEntry {
|
|
|
4643
4747
|
tenantId: string;
|
|
4644
4748
|
projectId: string;
|
|
4645
4749
|
assistantIds?: string[];
|
|
4750
|
+
/** Open-door grants; the agent whitelist derives from the agent-domain items. */
|
|
4751
|
+
grants?: OpenGrant[];
|
|
4646
4752
|
}
|
|
4647
4753
|
/**
|
|
4648
4754
|
* Authentication context attached to an incoming A2A request after key validation.
|
|
@@ -4671,6 +4777,11 @@ interface A2AApiKeyRecord {
|
|
|
4671
4777
|
projectId: string;
|
|
4672
4778
|
/** Assistant whitelist; empty/undefined = all exposed agents in the tenant */
|
|
4673
4779
|
assistantIds?: string[];
|
|
4780
|
+
/**
|
|
4781
|
+
* Open-door authorization grants (A2A door keeps reading assistantIds).
|
|
4782
|
+
* Absent/empty → derived via effectiveGrants() legacy semantics.
|
|
4783
|
+
*/
|
|
4784
|
+
grants?: OpenGrant[];
|
|
4674
4785
|
label?: string;
|
|
4675
4786
|
enabled: boolean;
|
|
4676
4787
|
createdAt: Date;
|
|
@@ -4682,8 +4793,16 @@ interface CreateA2AApiKeyInput {
|
|
|
4682
4793
|
projectId: string;
|
|
4683
4794
|
/** Assistant whitelist; empty/undefined = all exposed agents in the tenant */
|
|
4684
4795
|
assistantIds?: string[];
|
|
4796
|
+
/** Open-door grants (see OpenProtocol); absent → legacy derivation */
|
|
4797
|
+
grants?: OpenGrant[];
|
|
4685
4798
|
label?: string;
|
|
4686
4799
|
}
|
|
4800
|
+
interface UpdateA2AApiKeyInput {
|
|
4801
|
+
label?: string;
|
|
4802
|
+
projectId?: string;
|
|
4803
|
+
assistantIds?: string[];
|
|
4804
|
+
grants?: OpenGrant[];
|
|
4805
|
+
}
|
|
4687
4806
|
interface A2AApiKeyStore {
|
|
4688
4807
|
/** Look up a key record by its bearer token value (for auth). */
|
|
4689
4808
|
findByKey(key: string): Promise<A2AApiKeyRecord | null>;
|
|
@@ -4705,6 +4824,8 @@ interface A2AApiKeyStore {
|
|
|
4705
4824
|
rotate(id: string): Promise<A2AApiKeyRecord>;
|
|
4706
4825
|
/** Delete a key permanently. */
|
|
4707
4826
|
delete(id: string): Promise<void>;
|
|
4827
|
+
/** Update mutable fields of an existing key (label, grants, projectId, assistantIds). */
|
|
4828
|
+
update(id: string, input: UpdateA2AApiKeyInput): Promise<A2AApiKeyRecord>;
|
|
4708
4829
|
/** Bulk load all active keys into a lookup Map (used at startup). */
|
|
4709
4830
|
loadIntoMap(): Promise<Map<string, A2AApiKeyEntry>>;
|
|
4710
4831
|
}
|
|
@@ -5144,6 +5265,15 @@ type ProjectBotRole = "coordinator" | "specialist";
|
|
|
5144
5265
|
type ProjectBotMembershipStatus = "active" | "paused" | "removed";
|
|
5145
5266
|
/** Origins supported by project room messages. */
|
|
5146
5267
|
type ProjectRoomMessageSource = "user" | "agent" | "task" | "routine" | "system";
|
|
5268
|
+
/**
|
|
5269
|
+
* Canonical label prefix for the one-time room event that announces agent-to-agent task delegation.
|
|
5270
|
+
*
|
|
5271
|
+
* The projection text is `${PROJECT_ROOM_TASK_DELEGATED_LABEL} · <creator> → <owner>`; the UI maps
|
|
5272
|
+
* the exact label or this prefix to the "delegated" task-event kind and never parses arbitrary prose.
|
|
5273
|
+
*/
|
|
5274
|
+
declare const PROJECT_ROOM_TASK_DELEGATED_LABEL = "Task delegated";
|
|
5275
|
+
/** Separator between the delegation label and its resolved actor labels. */
|
|
5276
|
+
declare const PROJECT_ROOM_TASK_DELEGATED_SEPARATOR = " \u00B7 ";
|
|
5147
5277
|
/** The main room associated with a project. */
|
|
5148
5278
|
interface ProjectRoom {
|
|
5149
5279
|
id: string;
|
|
@@ -5372,7 +5502,10 @@ interface ProjectRoomMessageStore {
|
|
|
5372
5502
|
createIdempotent(input: Omit<ProjectRoomMessage, "createdAt"> & {
|
|
5373
5503
|
idempotencyKey: string;
|
|
5374
5504
|
}): Promise<ProjectRoomMessage>;
|
|
5375
|
-
/**
|
|
5505
|
+
/**
|
|
5506
|
+
* Lists messages strictly before an optional cursor, up to the requested limit.
|
|
5507
|
+
* Individually invalid persisted rows are skipped (and logged) instead of failing the whole read.
|
|
5508
|
+
*/
|
|
5376
5509
|
list(input: {
|
|
5377
5510
|
tenantId: string;
|
|
5378
5511
|
roomId: string;
|
|
@@ -5415,6 +5548,34 @@ interface ProjectRoomReadStateStore {
|
|
|
5415
5548
|
}): Promise<ProjectRoomReadState>;
|
|
5416
5549
|
}
|
|
5417
5550
|
|
|
5551
|
+
/** A browser Web Push subscription belonging to one user. */
|
|
5552
|
+
interface UserPushSubscription {
|
|
5553
|
+
id: string;
|
|
5554
|
+
tenantId: string;
|
|
5555
|
+
userId: string;
|
|
5556
|
+
/** Push service endpoint URL from the browser's PushSubscription. */
|
|
5557
|
+
endpoint: string;
|
|
5558
|
+
/** Client public keys used to encrypt the payload. */
|
|
5559
|
+
keys: {
|
|
5560
|
+
p256dh: string;
|
|
5561
|
+
auth: string;
|
|
5562
|
+
};
|
|
5563
|
+
userAgent?: string;
|
|
5564
|
+
createdAt: string;
|
|
5565
|
+
}
|
|
5566
|
+
/** Persistence operations for per-user Web Push subscriptions. */
|
|
5567
|
+
interface UserPushSubscriptionStore {
|
|
5568
|
+
/** Lists every subscription for a user (a user may have several devices). */
|
|
5569
|
+
list(tenantId: string, userId: string): Promise<UserPushSubscription[]>;
|
|
5570
|
+
/**
|
|
5571
|
+
* Saves a subscription. Re-saving the same endpoint replaces its keys/agent
|
|
5572
|
+
* (idempotent per tenant+user+endpoint).
|
|
5573
|
+
*/
|
|
5574
|
+
save(input: Omit<UserPushSubscription, "id" | "createdAt">): Promise<UserPushSubscription>;
|
|
5575
|
+
/** Deletes one subscription by endpoint. Returns whether a row was removed. */
|
|
5576
|
+
delete(tenantId: string, userId: string, endpoint: string): Promise<boolean>;
|
|
5577
|
+
}
|
|
5578
|
+
|
|
5418
5579
|
/** A safely extracted value from an own enumerable data-property descriptor. */
|
|
5419
5580
|
interface DescriptorDataValue {
|
|
5420
5581
|
ok: true;
|
|
@@ -5467,6 +5628,8 @@ interface ProjectRoomPublicMessage {
|
|
|
5467
5628
|
mentions: ProjectRoomMention[];
|
|
5468
5629
|
replyToMessageId?: string;
|
|
5469
5630
|
source: ProjectRoomMessageSource;
|
|
5631
|
+
/** Canonical source identity (e.g. the Task id for source "task"). */
|
|
5632
|
+
sourceId?: string;
|
|
5470
5633
|
createdAt: string;
|
|
5471
5634
|
}
|
|
5472
5635
|
/** A human membership shape safe to expose to Project Room clients. */
|
|
@@ -5830,6 +5993,8 @@ interface ShareRecord {
|
|
|
5830
5993
|
passwordHash: string | null;
|
|
5831
5994
|
expiresAt: Date | null;
|
|
5832
5995
|
maxAccess: number | null;
|
|
5996
|
+
/** Extra Open-door grants appended to sandbox tokens (V1: kb read-only). */
|
|
5997
|
+
openGrants?: OpenGrant[];
|
|
5833
5998
|
accessCount: number;
|
|
5834
5999
|
revoked: boolean;
|
|
5835
6000
|
createdAt: Date;
|
|
@@ -5844,6 +6009,8 @@ interface CreateShareRequest {
|
|
|
5844
6009
|
title?: string;
|
|
5845
6010
|
expiresAt?: string;
|
|
5846
6011
|
maxAccess?: number;
|
|
6012
|
+
/** Extra Open-door grants for sandbox tokens minted for this share. */
|
|
6013
|
+
openGrants?: OpenGrant[];
|
|
5847
6014
|
}
|
|
5848
6015
|
/** Response returned to clients after a share is created. */
|
|
5849
6016
|
interface ShareResult {
|
|
@@ -5929,6 +6096,16 @@ interface PluginConnection {
|
|
|
5929
6096
|
interface PluginToolMeta {
|
|
5930
6097
|
name: string;
|
|
5931
6098
|
description: string;
|
|
6099
|
+
/** When true, this tool surfaces on the Open API (MCP) surface. */
|
|
6100
|
+
expose?: boolean;
|
|
6101
|
+
}
|
|
6102
|
+
/** Open-surface exposure entry with MCP annotation hints. */
|
|
6103
|
+
interface PluginOpenExposeTool {
|
|
6104
|
+
name: string;
|
|
6105
|
+
/** MCP readOnlyHint — pure query, no side effects. */
|
|
6106
|
+
readOnly?: boolean;
|
|
6107
|
+
/** MCP destructiveHint — may cause irreversible changes. */
|
|
6108
|
+
destructive?: boolean;
|
|
5932
6109
|
}
|
|
5933
6110
|
/**
|
|
5934
6111
|
* A text file included in a plugin skill bundle.
|
|
@@ -5987,6 +6164,14 @@ interface PluginMeta {
|
|
|
5987
6164
|
icon?: string;
|
|
5988
6165
|
/** 工具清单(可选,middleware 能自动提取时不需要写) */
|
|
5989
6166
|
tools?: PluginToolMeta[];
|
|
6167
|
+
/**
|
|
6168
|
+
* Open 面(MCP)暴露的工具名清单——独立于 tools 声明,一行即生长。
|
|
6169
|
+
* 声明后 OpenCredentialService 的 grants 匹配 domain=<meta.type>。
|
|
6170
|
+
*
|
|
6171
|
+
* 条目可为字符串(默认 readOnly=false, destructive=false)或带注解对象,
|
|
6172
|
+
* 注解映射到 MCP annotations(readOnlyHint / destructiveHint)。
|
|
6173
|
+
*/
|
|
6174
|
+
openExpose?: Array<string | PluginOpenExposeTool>;
|
|
5990
6175
|
/**
|
|
5991
6176
|
* 中间件配置 schema(用于 agent 配置面板)。新的 connection-backed
|
|
5992
6177
|
* plugins use `connections: string[]` and optional `connectAll?: boolean`.
|
|
@@ -6109,6 +6294,67 @@ interface Plugin {
|
|
|
6109
6294
|
stores?: Record<string, object | (() => object)>;
|
|
6110
6295
|
}
|
|
6111
6296
|
|
|
6297
|
+
/**
|
|
6298
|
+
* A single tool contributed by a sandbox-authored tenant plugin.
|
|
6299
|
+
*
|
|
6300
|
+
* @property name - Tool name exposed to the LLM (validated `^[a-zA-Z0-9_-]{1,64}$`).
|
|
6301
|
+
* @property description - Tool description.
|
|
6302
|
+
* @property schema - Restricted JSON Schema subset describing the tool input.
|
|
6303
|
+
* @property handler - Safe relative path (within the plugin directory) to a JS file.
|
|
6304
|
+
*/
|
|
6305
|
+
interface SandboxPluginToolDef {
|
|
6306
|
+
name: string;
|
|
6307
|
+
description: string;
|
|
6308
|
+
schema: Record<string, unknown>;
|
|
6309
|
+
handler: string;
|
|
6310
|
+
expose?: boolean;
|
|
6311
|
+
readOnly?: boolean;
|
|
6312
|
+
destructive?: boolean;
|
|
6313
|
+
timeoutMs?: number;
|
|
6314
|
+
maxResultBytes?: number;
|
|
6315
|
+
}
|
|
6316
|
+
/**
|
|
6317
|
+
* Connection capability contributed by a sandbox plugin. `test`/`discover`
|
|
6318
|
+
* point at handler files relative to the plugin directory.
|
|
6319
|
+
*/
|
|
6320
|
+
interface SandboxPluginConnectionDef {
|
|
6321
|
+
fields: PluginConnectionFieldSchema[];
|
|
6322
|
+
test?: {
|
|
6323
|
+
handler: string;
|
|
6324
|
+
};
|
|
6325
|
+
discover?: {
|
|
6326
|
+
handler: string;
|
|
6327
|
+
};
|
|
6328
|
+
resourceLabel?: string;
|
|
6329
|
+
}
|
|
6330
|
+
/**
|
|
6331
|
+
* Authoritative declarative definition of a tenant plugin, stored at
|
|
6332
|
+
* `/root/.agents/plugins/<type>/plugin.json`.
|
|
6333
|
+
*/
|
|
6334
|
+
interface SandboxPluginManifest {
|
|
6335
|
+
schemaVersion: 1;
|
|
6336
|
+
type: string;
|
|
6337
|
+
name: string;
|
|
6338
|
+
description: string;
|
|
6339
|
+
version: string;
|
|
6340
|
+
icon?: string;
|
|
6341
|
+
category?: string;
|
|
6342
|
+
configSchema?: Record<string, unknown>;
|
|
6343
|
+
defaultConfig?: Record<string, unknown>;
|
|
6344
|
+
connection?: SandboxPluginConnectionDef;
|
|
6345
|
+
tools: SandboxPluginToolDef[];
|
|
6346
|
+
skills?: Record<string, PluginSkillDefinition>;
|
|
6347
|
+
agents?: Record<string, AgentConfig>;
|
|
6348
|
+
}
|
|
6349
|
+
/** Structured load/validation feedback surfaced to authors and operators. */
|
|
6350
|
+
interface SandboxPluginDiagnostic {
|
|
6351
|
+
level: "error" | "warning";
|
|
6352
|
+
code: string;
|
|
6353
|
+
pluginType?: string;
|
|
6354
|
+
tool?: string;
|
|
6355
|
+
message: string;
|
|
6356
|
+
}
|
|
6357
|
+
|
|
6112
6358
|
/**
|
|
6113
6359
|
* 通用类型定义
|
|
6114
6360
|
*
|
|
@@ -6222,4 +6468,4 @@ declare function parseTrustedRunContext(value: unknown): TrustedRunContext;
|
|
|
6222
6468
|
*/
|
|
6223
6469
|
declare function parseQueuedExecutionMode(value: unknown): QueuedExecutionMode;
|
|
6224
6470
|
|
|
6225
|
-
export { type A2AApiKeyEntry, type A2AApiKeyRecord, type A2AApiKeyStore, type A2AAuthContext, type A2AExposure, type A2ARemoteAgentConfig, type AgentClient, type AgentConfig, type AgentConfigWithTools, type AgentLatticeProtocol, type AgentMenuConfig, type AgentMiddlewareConfig, type AgentRunConfig, AgentType, type AgentWebApp, type AgentWebAppAppearance, type AgentWebAppBootstrap, type AgentWebAppCalloutWidget, type AgentWebAppError, type AgentWebAppErrorCode, type AgentWebAppFeatures, type AgentWebAppGenUIBlock, type AgentWebAppIdentityAssurance, type AgentWebAppIdentityConfig, type AgentWebAppIdentityPolicy, type AgentWebAppInterrupt, type AgentWebAppIssuerConfig, type AgentWebAppRuntimeMessage, type AgentWebAppRuntimeThread, type AgentWebAppScope, type AgentWebAppStatus, type AgentWebAppStore, type AgentWebAppStorePatch, type AgentWebAppStreamEvent, type AgentWebAppStreamProjectionContext, type AgentWebAppTableWidget, type AgentWebAppThreadMetadata, type AgentWebAppUpdateOptions, type Assistant, type AssistantMessage, type AssistantStore, type Attachment, type AvailableModule, type BaseLatticeProtocol, type BaseMessage, type Binding, type BindingListParams, type BindingMutablePatch, type BindingRegistry, type BootstrapFilesConfig, type BrowserMiddlewareConfig, type Callback, type CapabilityBundle, type CapabilityBundleDeleteResult, type CapabilityBundleStore, type CapabilityBundleUpdateConflict, type CapabilityFieldSource, type CapabilityOverride, type CapabilityPreview, type CapabilityPreviewIssue, type CapabilityRuntime, type ChannelAdapter, type ChannelBindingMigrationConflict, ChannelBindingMigrationConflictError, 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 ConversationRecord, type CreateA2AApiKeyInput, type CreateAgentWebAppInput, type CreateAssistantRequest, type CreateBindingInput, type CreateCapabilityBundleInput, type CreateChannelInstallationInput, type CreateChannelInstallationRequest, type CreateCollectionRequest, type CreateConversationInput, 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 CreateWorkItemIfAbsentRequest, type CreateWorkItemRequest, type CreateWorkflowRunRequest, type CreateWorkspaceRequest, type CustomMenuConfig, type DataSource, type DatabaseConfig, type DatabaseConfigEntry, type DatabaseConfigStore, type DatabaseType, type DeepAgentConfig, type DescriptorDataValue, type DeveloperMessage, type DispatchResult, DuplicateChannelBindingSubjectError, EXECUTION_RESULT_EVENT_KEY_PATTERN, EXECUTION_RESULT_EVENT_KEY_PATTERN_SOURCE, EXECUTION_RESULT_EVENT_KEY_PREFIX, type EmbeddingsConfig, type EmbeddingsLatticeProtocol, type EvalCase, type EvalProject, type EvalProjectReport, type EvalRun, type EvalRunResult, type EvalStore, type EvalSuite, type ExecuteSqlQueryRequest, type ExecuteSqlQueryResponse, type ExpectedCapabilityBundleRevisions, type FilterCondition, type GraphBuildOptions, type HtmlMenuConfig, type IConversationStore, type ID, type InboundMessage, type InternalAgentNode, type InternalBaseNode, type InternalCreateCapabilityBundleInput, type InternalDSL, type InternalEdge, type InternalInput, type InternalInputNode, type InternalMapNode, type InternalNode, type InternalNodeConfig, type InternalOutput, type InternalState, type InternalStateField, type InternalTerminalNode, type InternalUpdateCapabilityBundleInput, type InterruptMessage, type InterruptPolicy, InvalidProjectCapabilityBundleConfigError, type LLMConfig, type LarkChannelInstallationConfig, type LatticeError, type LatticeEventBus, type LatticeMessage, type LocalA2AProviderId, type LocalA2AProviderState, type LocalA2AProviderStatus, type LocalA2ATemplateDefinition, type LocalRuntimeConfig, type LoggerClient, type LoggerConfig, type LoggerContext, type LoggerLatticeProtocol, LoggerType, MAX_PENDING_EXECUTION_RESULTS_LIMIT, 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, PROJECT_ROOM_USER_CHANNEL_PROJECT, PROJECT_TASK_LIFECYCLE_ACTIONS, 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 PluginSkillDefinition, type PluginSkillResource, type PluginStandardConnectionConfig, type PluginToolMeta, type ProcessingAgentConfig, type Project, type ProjectBotMembership, type ProjectBotMembershipStatus, type ProjectBotMembershipStore, type ProjectBotRole, type ProjectCapabilityConfig, type ProjectFilter, type ProjectHumanRole, type ProjectKind, type ProjectLifecycleEventCursor, type ProjectLifecycleEventQuery, type ProjectMembership, type ProjectMembershipMutationResult, type ProjectMembershipStatus, type ProjectMembershipStore, type ProjectRoom, ProjectRoomBrokerCapacityError, type ProjectRoomBusinessEvent, type ProjectRoomBusinessEventDraft, type ProjectRoomControlEvent, ProjectRoomCursorError, type ProjectRoomEventBrokerProtocol, type ProjectRoomEventId, type ProjectRoomEventOf, type ProjectRoomEventScope, type ProjectRoomEventSubscription, type ProjectRoomMembershipAffectedEvent, type ProjectRoomMembershipChangedEvent, type ProjectRoomMention, type ProjectRoomMessage, type ProjectRoomMessageAuthor, type ProjectRoomMessageCreatedEvent, type ProjectRoomMessageCursor, type ProjectRoomMessageSource, type ProjectRoomMessageStore, type ProjectRoomPublicBotMembership, type ProjectRoomPublicMembership, type ProjectRoomPublicMessage, type ProjectRoomReadChangedEvent, type ProjectRoomReadState, type ProjectRoomReadStateStore, type ProjectRoomRealtimeActor, type ProjectRoomRosterChangedEvent, type ProjectRoomScopedBusinessEvent, type ProjectRoomSseWritable, type ProjectRoomStore, type ProjectRoomTaskChangedEvent, type ProjectRoomThreadMetadata, type ProjectRoomTrustedRunContext, type ProjectStore, type ProjectTaskLifecycleAction, ProjectTaskStoreUnsupportedError, type ProjectTaskThreadMetadata, type ProjectTaskTrustedRunContext, type ProjectTaskWorkItemStore, type PublicChannelInstallationType, type QueryParams, type QueryResultFormat, type QueryWorkflowRunsOptions, type QueryWorkflowRunsResult, type QueueClient, type QueueConfig, type QueueLatticeProtocol, type QueueResult, QueueType, type QueuedExecutionMode, 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 TaskBeliefDiagnosticCode, type TaskBeliefEntry, type TaskBeliefParseFailure, type TaskBeliefParseResult, type TaskBeliefParseSuccess, type TaskBeliefState, type TaskDependentListQuery, type TaskFileRef, type TaskHandler, type TaskItem, type TaskListFilter, type TaskMutationSnapshot, 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 TrustedRunContext, type UIComponent, UIComponentType, type UIConfig, type UILatticeProtocol, type UpdateAgentWebAppInput, type UpdateCapabilityBundleInput, type UpdateChannelInstallationRequest, type UpdateCollectionRequest, type UpdateDatabaseConfigRequest, type UpdateMcpServerConfigRequest, type UpdateMenuItemInput, type UpdateMetricsServerConfigRequest, type UpdateProjectCapabilityBundlesResult, 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, assertGenericProjectConfig, createAgentWebAppStreamProjectionContext, descriptorDataValue, getSubAgentsFromConfig, getToolsFromConfig, hasTools, isA2ARemoteAgentConfig, isDeepAgentConfig, isExecutionResultEventKey, isProcessingAgentConfig, isProjectRoomEventId, isTeamAgentConfig, isWorkflowAgentConfig, parseAgentWebAppGenUIBlock, parseProjectRoomEventId, parseQueuedExecutionMode, parseTaskBeliefState, parseTrustedRunContext, projectAgentWebAppChunk, projectRoomUserEventScope, replaceTaskBeliefState, requireProjectTaskWorkItemStore, snapshotExactArray, snapshotExactRecord, snapshotProjectRoomBotMembershipRealtime, snapshotProjectRoomMembershipRealtime, snapshotProjectRoomMessageRealtime, taskBeliefStatesEqual, toProjectRoomPublicBotMembership, toProjectRoomPublicMembership, toProjectRoomPublicMessage };
|
|
6471
|
+
export { type A2AApiKeyEntry, type A2AApiKeyRecord, type A2AApiKeyStore, type A2AAuthContext, type A2ARemoteAgentConfig, type AgentClient, type AgentConfig, type AgentConfigWithTools, type AgentLatticeProtocol, type AgentMenuConfig, type AgentMiddlewareConfig, type AgentRunConfig, AgentType, type AgentWebApp, type AgentWebAppAppearance, type AgentWebAppBootstrap, type AgentWebAppCalloutWidget, type AgentWebAppError, type AgentWebAppErrorCode, type AgentWebAppFeatures, type AgentWebAppGenUIBlock, type AgentWebAppIdentityAssurance, type AgentWebAppIdentityConfig, type AgentWebAppIdentityPolicy, type AgentWebAppInterrupt, type AgentWebAppIssuerConfig, type AgentWebAppRuntimeMessage, type AgentWebAppRuntimeThread, type AgentWebAppScope, type AgentWebAppStatus, type AgentWebAppStore, type AgentWebAppStorePatch, type AgentWebAppStreamEvent, type AgentWebAppStreamProjectionContext, type AgentWebAppTableWidget, type AgentWebAppThreadMetadata, type AgentWebAppUpdateOptions, type Assistant, type AssistantMessage, type AssistantStore, type Attachment, type AvailableModule, type BaseLatticeProtocol, type BaseMessage, type Binding, type BindingListParams, type BindingMutablePatch, type BindingRegistry, type BootstrapFilesConfig, type BrowserMiddlewareConfig, type Callback, type CapabilityBundle, type CapabilityBundleDeleteResult, type CapabilityBundleStore, type CapabilityBundleUpdateConflict, type CapabilityFieldSource, type CapabilityOverride, type CapabilityPreview, type CapabilityPreviewIssue, type CapabilityRuntime, type ChannelAdapter, type ChannelBindingMigrationConflict, ChannelBindingMigrationConflictError, 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 ConversationRecord, type CreateA2AApiKeyInput, type CreateAgentWebAppInput, type CreateAssistantRequest, type CreateBindingInput, type CreateCapabilityBundleInput, type CreateChannelInstallationInput, type CreateChannelInstallationRequest, type CreateCollectionRequest, type CreateConversationInput, 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 CreateWorkItemIfAbsentRequest, type CreateWorkItemRequest, type CreateWorkflowRunRequest, type CreateWorkspaceRequest, type CustomMenuConfig, type DataSource, type DatabaseConfig, type DatabaseConfigEntry, type DatabaseConfigStore, type DatabaseType, type DeepAgentConfig, type DescriptorDataValue, type DeveloperMessage, type DispatchResult, DuplicateChannelBindingSubjectError, EXECUTION_RESULT_EVENT_KEY_PATTERN, EXECUTION_RESULT_EVENT_KEY_PATTERN_SOURCE, EXECUTION_RESULT_EVENT_KEY_PREFIX, type EmbeddingsConfig, type EmbeddingsLatticeProtocol, type EvalCase, type EvalProject, type EvalProjectReport, type EvalRun, type EvalRunResult, type EvalStore, type EvalSuite, type ExecuteSqlQueryRequest, type ExecuteSqlQueryResponse, type ExpectedCapabilityBundleRevisions, type FilterCondition, type GraphBuildOptions, type HtmlMenuConfig, type IConversationStore, type ID, type InboundMessage, type InternalAgentNode, type InternalBaseNode, type InternalCreateCapabilityBundleInput, type InternalDSL, type InternalEdge, type InternalInput, type InternalInputNode, type InternalMapNode, type InternalNode, type InternalNodeConfig, type InternalOutput, type InternalState, type InternalStateField, type InternalTerminalNode, type InternalUpdateCapabilityBundleInput, type InterruptMessage, type InterruptPolicy, InvalidProjectCapabilityBundleConfigError, type LLMConfig, type LarkChannelInstallationConfig, type LatticeError, type LatticeEventBus, type LatticeMessage, type LocalA2AProviderId, type LocalA2AProviderState, type LocalA2AProviderStatus, type LocalA2ATemplateDefinition, type LocalRuntimeConfig, type LoggerClient, type LoggerConfig, type LoggerContext, type LoggerLatticeProtocol, LoggerType, MAX_PENDING_EXECUTION_RESULTS_LIMIT, 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 OpenAuditAppendInput, type OpenAuditQuery, type OpenAuditRecord, type OpenAuditStore, type OpenCapabilitySource, type OpenCatalog, type OpenCatalogDomain, type OpenCatalogItem, type OpenCredentialKind, type OpenExecutionContext, type OpenExecutionResult, type OpenGrant, type OutboundMessage, PROJECT_ROOM_TASK_DELEGATED_LABEL, PROJECT_ROOM_TASK_DELEGATED_SEPARATOR, PROJECT_ROOM_USER_CHANNEL_PROJECT, PROJECT_TASK_LIFECYCLE_ACTIONS, 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 PluginSkillDefinition, type PluginSkillResource, type PluginStandardConnectionConfig, type PluginToolMeta, type ProcessingAgentConfig, type Project, type ProjectBotMembership, type ProjectBotMembershipStatus, type ProjectBotMembershipStore, type ProjectBotRole, type ProjectCapabilityConfig, type ProjectFilter, type ProjectHumanRole, type ProjectKind, type ProjectLifecycleEventCursor, type ProjectLifecycleEventQuery, type ProjectMembership, type ProjectMembershipMutationResult, type ProjectMembershipStatus, type ProjectMembershipStore, type ProjectRoom, ProjectRoomBrokerCapacityError, type ProjectRoomBusinessEvent, type ProjectRoomBusinessEventDraft, type ProjectRoomControlEvent, ProjectRoomCursorError, type ProjectRoomEventBrokerProtocol, type ProjectRoomEventId, type ProjectRoomEventOf, type ProjectRoomEventScope, type ProjectRoomEventSubscription, type ProjectRoomMembershipAffectedEvent, type ProjectRoomMembershipChangedEvent, type ProjectRoomMention, type ProjectRoomMessage, type ProjectRoomMessageAuthor, type ProjectRoomMessageCreatedEvent, type ProjectRoomMessageCursor, type ProjectRoomMessageSource, type ProjectRoomMessageStore, type ProjectRoomPublicBotMembership, type ProjectRoomPublicMembership, type ProjectRoomPublicMessage, type ProjectRoomReadChangedEvent, type ProjectRoomReadState, type ProjectRoomReadStateStore, type ProjectRoomRealtimeActor, type ProjectRoomRosterChangedEvent, type ProjectRoomScopedBusinessEvent, type ProjectRoomSseWritable, type ProjectRoomStore, type ProjectRoomTaskChangedEvent, type ProjectRoomThreadMetadata, type ProjectRoomTrustedRunContext, type ProjectStore, type ProjectTaskLifecycleAction, ProjectTaskStoreUnsupportedError, type ProjectTaskThreadMetadata, type ProjectTaskTrustedRunContext, type ProjectTaskWorkItemStore, type PublicChannelInstallationType, type QueryParams, type QueryResultFormat, type QueryWorkflowRunsOptions, type QueryWorkflowRunsResult, type QueueClient, type QueueConfig, type QueueLatticeProtocol, type QueueResult, QueueType, type QueuedExecutionMode, type ReactAgentConfig, type ReplyTarget, type ResourceAddress, type ResourceResolver, type Result, type RunStep, type STTClient, type STTConfig, type STTModelLatticeProtocol, type SandboxMiddlewareConfig, type SandboxPluginConnectionDef, type SandboxPluginDiagnostic, type SandboxPluginManifest, type SandboxPluginToolDef, 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 TaskBeliefDiagnosticCode, type TaskBeliefEntry, type TaskBeliefParseFailure, type TaskBeliefParseResult, type TaskBeliefParseSuccess, type TaskBeliefState, type TaskDependentListQuery, type TaskFileRef, type TaskHandler, type TaskItem, type TaskListFilter, type TaskMutationSnapshot, 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 TrustedRunContext, type UIComponent, UIComponentType, type UIConfig, type UILatticeProtocol, type UpdateA2AApiKeyInput, type UpdateAgentWebAppInput, type UpdateCapabilityBundleInput, type UpdateChannelInstallationRequest, type UpdateCollectionRequest, type UpdateDatabaseConfigRequest, type UpdateMcpServerConfigRequest, type UpdateMenuItemInput, type UpdateMetricsServerConfigRequest, type UpdateProjectCapabilityBundlesResult, type UpdateProjectRequest, type UpdateRunStepRequest, type UpdateTaskRequest, type UpdateTenantRequest, type UpdateUserRequest, type UpdateUserTenantLinkRequest, type UpdateWorkflowRunRequest, type UpdateWorkspaceRequest, type User, type UserMessage, type UserPushSubscription, type UserPushSubscriptionStore, 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, assertGenericProjectConfig, createAgentWebAppStreamProjectionContext, descriptorDataValue, effectiveGrants, getSubAgentsFromConfig, getToolsFromConfig, hasTools, isA2ARemoteAgentConfig, isDeepAgentConfig, isExecutionResultEventKey, isProcessingAgentConfig, isProjectRoomEventId, isTeamAgentConfig, isWorkflowAgentConfig, parseAgentWebAppGenUIBlock, parseProjectRoomEventId, parseQueuedExecutionMode, parseTaskBeliefState, parseTrustedRunContext, projectAgentWebAppChunk, projectRoomUserEventScope, replaceTaskBeliefState, requireProjectTaskWorkItemStore, snapshotExactArray, snapshotExactRecord, snapshotProjectRoomBotMembershipRealtime, snapshotProjectRoomMembershipRealtime, snapshotProjectRoomMessageRealtime, taskBeliefStatesEqual, toProjectRoomPublicBotMembership, toProjectRoomPublicMembership, toProjectRoomPublicMessage };
|