@axiom-lattice/protocols 4.3.2 → 4.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +43 -0
- package/dist/index.d.mts +184 -8
- package/dist/index.d.ts +184 -8
- package/dist/index.js +63 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +60 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/CapabilityBundleStoreProtocol.ts +3 -4
- package/src/McpUiProtocol.ts +76 -0
- package/src/MenuProtocol.ts +50 -2
- package/src/MessageProtocol.ts +30 -0
- package/src/OpenProtocol.ts +1 -1
- package/src/PluginProtocol.ts +36 -0
- package/src/SandboxPluginProtocol.ts +3 -1
- package/src/TaskStoreProtocol.ts +19 -0
- package/src/TrustedRunContextProtocol.ts +40 -15
- package/src/__tests__/McpUiProtocol.test.ts +43 -0
- package/src/__tests__/MenuProtocol.test.ts +28 -0
- package/src/__tests__/ProjectRoomStores.test.ts +6 -0
- package/src/__tests__/TaskMetadataFilter.test.ts +27 -0
- package/src/__tests__/ToolCallUi.test.ts +46 -0
- package/src/__tests__/TrustedRunContextProtocol.test.ts +75 -3
- package/src/__tests__/open-ui-meta.test.ts +23 -0
- package/src/index.ts +3 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @axiom-lattice/protocols@4.
|
|
2
|
+
> @axiom-lattice/protocols@4.4.1 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[
|
|
12
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[
|
|
13
|
-
[32mESM[39m ⚡️ Build success in
|
|
14
|
-
[32mCJS[39m [1mdist/index.js [22m[
|
|
15
|
-
[32mCJS[39m [1mdist/index.js.map [22m[
|
|
16
|
-
[32mCJS[39m ⚡️ Build success in
|
|
11
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m40.76 KB[39m
|
|
12
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m161.70 KB[39m
|
|
13
|
+
[32mESM[39m ⚡️ Build success in 370ms
|
|
14
|
+
[32mCJS[39m [1mdist/index.js [22m[32m45.35 KB[39m
|
|
15
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m165.38 KB[39m
|
|
16
|
+
[32mCJS[39m ⚡️ Build success in 372ms
|
|
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 11517ms
|
|
19
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m221.50 KB[39m
|
|
20
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m221.50 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,48 @@
|
|
|
1
1
|
# @axiom-lattice/protocols
|
|
2
2
|
|
|
3
|
+
## 4.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 26fecff: task refactor
|
|
8
|
+
- 910bd08: enhance tasks
|
|
9
|
+
|
|
10
|
+
## 4.4.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- c5cd1fe: Host-provided task provenance (ADR-118 Plan C). `ProjectTaskTrustedRunContext` and `ProjectRoomTrustedRunContext` gain an optional `source?: string`; the gateway sets `"project_task"`/`"project_room"`, and Core copies it on create and compares it for the trusted child-dependency-wait exception — Core no longer names `"project_task"`/`"project_room"` anywhere (writer and reader). On **trusted** creates, caller-supplied `context.source` is no longer accepted as provenance (it is stripped); the ordinary non-trusted create path still persists `context.source` verbatim.
|
|
15
|
+
|
|
16
|
+
`trusted_run_context` is persisted and the parser strict, so the field is optional/additive: deploy `protocols`+`core` before `gateway`. Trusted contexts persisted before this change lack `source`: on read, the child-dependency-wait exception fails closed (`DEPENDENCY_BLOCKED`); on write, tasks created by such a legacy run carry **no** `context.source`, so the host predicate will not classify them (they bypass managed routing/projection). Mitigation: drain the queue before upgrading, or accept the bounded window, or backfill.
|
|
17
|
+
|
|
18
|
+
- fbc46a4: Expose plugin MCP App UIs on the Open MCP surface (`POST /open/mcp`) for external hosts like ChatGPT and Claude. `OpenToolDescriptor` carries `ui` metadata and `buildSessionServer` advertises each tool's `_meta.ui.resourceUri` plus the matching `ui://` HTML resource (capability announced via `experimental`). Global plugins supply UI through a new inline `PluginMeta.uiResources` contract (`PluginUiResource`), while tenant sandbox plugins get deterministic `ui://<type>/<path>` URIs read lazily from the tenant volume. Grant filtering covers both tools and resources. The Open path now resolves plugin connections (tenant-scoped, `connectAll` semantics) so connection-backed plugin tools work when invoked externally, with rate limiting and audit applied to tenant tools too.
|
|
19
|
+
- 978699d: Add plugin-authored MCP app UI: sandbox plugin tools may declare a `ui` HTML resource (new public `PluginToolUi` protocol type), which core validates and compiles into an `mcp_app` fence and the gateway serves as a sandboxed MCP app with membership-enforced callbacks to the plugin's own tools.
|
|
20
|
+
- 41c6ee2: Carry MCP rich tool results (`structuredContent`, `_meta`, image/audio/resource
|
|
21
|
+
blocks) to the MCP Apps host through a new UI-only `ToolCall.ui` payload
|
|
22
|
+
(`ToolCallUi`), normalized once in client-sdk (`normalizeToolResult`) from the
|
|
23
|
+
tool message `artifact` that both live streaming and history already carry. The
|
|
24
|
+
`mcp_app` content fence now carries identity only (no embedded
|
|
25
|
+
`structuredContent`), so rich data no longer reaches the model-visible text,
|
|
26
|
+
the prompt, or token accounting. The MCP app renderer turns the normalized
|
|
27
|
+
payload into the `ui/notifications/tool-result` `CallToolResult` (including
|
|
28
|
+
non-text `ContentBlock`s), and generic tool cards/trace view render inline
|
|
29
|
+
image/audio blocks. `McpUiRef.structuredContent` is retained read-only for
|
|
30
|
+
backward compatibility with pre-unification messages.
|
|
31
|
+
- ad3ac4d: Add a first-class `mcpApp` custom-menu content type so a rendered MCP App can be
|
|
32
|
+
pinned to the workspace menu and re-opened as a live entry point. The protocol
|
|
33
|
+
gains `McpAppMenuConfig` (discriminated `mcp` / `plugin`) and `FileMenuConfig`;
|
|
34
|
+
react-sdk encodes/parses the item, renders it via `McpAppFullscreen`, and adds a
|
|
35
|
+
pin affordance to `McpAppToolbar` reusing `PinToMenuButton`. pg-stores broadens
|
|
36
|
+
the `lattice_menu_items.content_type` CHECK constraint to accept `mcpApp`
|
|
37
|
+
(migration v181, registered centrally in `createPgStoreConfig`).
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- 1cc5893: Repair the drifted test baseline, authenticate Lark webhook ingress with the verification token and request signature, require CAS revisions on capability bundle updates, and fix SandboxRegistry process-lifetime issues.
|
|
42
|
+
- e4a110f: mcp ui etc
|
|
43
|
+
- a87f880: Add `metadataFilter` to the `manage_task` `list` action and a shared `normalizeTaskMetadataScalar` helper so task metadata filtering has one type-tolerant JSON-value equality contract (number `1` matches string `"1"`; boolean `true` matches `"true"` but never `1`) across InMemory, Local SQLite, and PostgreSQL task stores.
|
|
44
|
+
- db00edc: Forward MCP `structuredContent` to MCP Apps so official Apps that read `result.structuredContent` in `app.ontoolresult` render. `McpUiRef` (`kind:"mcp"`) now carries an optional `structuredContent`; `wrapMcpToolWithUi` folds it into the `mcp_app` fence (from a content block or a `mcp_structured_content` artifact entry, omitted when oversized); and `McpAppRenderer.buildToolResult` includes it in the `ui/notifications/tool-result` params.
|
|
45
|
+
|
|
3
46
|
## 4.3.2
|
|
4
47
|
|
|
5
48
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -1117,6 +1117,24 @@ interface UserMessage extends BaseMessage {
|
|
|
1117
1117
|
id: string;
|
|
1118
1118
|
}>;
|
|
1119
1119
|
}
|
|
1120
|
+
/**
|
|
1121
|
+
* UI-only rich payload for a tool call.
|
|
1122
|
+
*
|
|
1123
|
+
* Populated by the client-side message merger from the tool message's raw
|
|
1124
|
+
* LangChain `artifact` and non-text content blocks. It is never part of the
|
|
1125
|
+
* model-visible text: the model only sees `ToolCall.response`.
|
|
1126
|
+
*/
|
|
1127
|
+
interface ToolCallUi {
|
|
1128
|
+
/** MCP `CallToolResult.structuredContent`, when the tool produced one. */
|
|
1129
|
+
structuredContent?: unknown;
|
|
1130
|
+
/** MCP `CallToolResult._meta`, when present. */
|
|
1131
|
+
meta?: Record<string, unknown>;
|
|
1132
|
+
/** Non-text content blocks (image / audio / resource / file). */
|
|
1133
|
+
contentBlocks?: Array<{
|
|
1134
|
+
type: string;
|
|
1135
|
+
[key: string]: unknown;
|
|
1136
|
+
}>;
|
|
1137
|
+
}
|
|
1120
1138
|
/**
|
|
1121
1139
|
* Tool call interface
|
|
1122
1140
|
*/
|
|
@@ -1126,6 +1144,12 @@ interface ToolCall {
|
|
|
1126
1144
|
args: Record<string, any>;
|
|
1127
1145
|
type: "tool_call";
|
|
1128
1146
|
response?: string;
|
|
1147
|
+
/** UI-only rich result (MCP Apps). Never part of the model-visible text. */
|
|
1148
|
+
ui?: ToolCallUi;
|
|
1149
|
+
/** Execution status reported by the client-side message merger. */
|
|
1150
|
+
status?: "success" | "pending" | "error";
|
|
1151
|
+
/** Correlation id of the originating tool message (internal). */
|
|
1152
|
+
original_tool_message_id?: string;
|
|
1129
1153
|
}
|
|
1130
1154
|
/**
|
|
1131
1155
|
* Assistant message interface
|
|
@@ -1208,6 +1232,12 @@ interface MessageChunk {
|
|
|
1208
1232
|
}>;
|
|
1209
1233
|
};
|
|
1210
1234
|
tool_call_id?: string;
|
|
1235
|
+
/**
|
|
1236
|
+
* Raw LangChain tool message `artifact` (e.g. MCP `structuredContent`
|
|
1237
|
+
* and non-text content blocks). Present on `tool` chunks; consumed by the
|
|
1238
|
+
* client-side message merger to populate `ToolCall.ui`.
|
|
1239
|
+
*/
|
|
1240
|
+
artifact?: unknown;
|
|
1211
1241
|
};
|
|
1212
1242
|
}
|
|
1213
1243
|
/**
|
|
@@ -3558,14 +3588,65 @@ interface VectorStoreProvider {
|
|
|
3558
3588
|
dropTable?(tableName: string): Promise<void>;
|
|
3559
3589
|
}
|
|
3560
3590
|
|
|
3591
|
+
/** Display modes supported by MCP Apps. */
|
|
3592
|
+
type McpUiDisplayMode = "inline" | "fullscreen" | "pip";
|
|
3593
|
+
/** CSP origins declared by a UI resource. */
|
|
3594
|
+
interface McpUiCsp {
|
|
3595
|
+
connectDomains?: string[];
|
|
3596
|
+
resourceDomains?: string[];
|
|
3597
|
+
frameDomains?: string[];
|
|
3598
|
+
baseUriDomains?: string[];
|
|
3599
|
+
}
|
|
3600
|
+
/** Sandbox permissions requested by a UI resource. */
|
|
3601
|
+
interface McpUiPermissions {
|
|
3602
|
+
camera?: boolean;
|
|
3603
|
+
microphone?: boolean;
|
|
3604
|
+
geolocation?: boolean;
|
|
3605
|
+
clipboardWrite?: boolean;
|
|
3606
|
+
}
|
|
3607
|
+
/** A UI ref carried in the `mcp_app` content fence. */
|
|
3608
|
+
type McpUiRef = {
|
|
3609
|
+
kind: "mcp";
|
|
3610
|
+
serverKey: string;
|
|
3611
|
+
resourceUri: string;
|
|
3612
|
+
displayMode: McpUiDisplayMode;
|
|
3613
|
+
title?: string;
|
|
3614
|
+
/**
|
|
3615
|
+
* Retained only for backward compatibility with pre-unification
|
|
3616
|
+
* messages; no longer emitted. Rich tool results now travel via
|
|
3617
|
+
* `ToolCall.ui`.
|
|
3618
|
+
*/
|
|
3619
|
+
structuredContent?: unknown;
|
|
3620
|
+
} | {
|
|
3621
|
+
kind: "plugin";
|
|
3622
|
+
pluginType: string;
|
|
3623
|
+
resource: string;
|
|
3624
|
+
displayMode: McpUiDisplayMode;
|
|
3625
|
+
title?: string;
|
|
3626
|
+
};
|
|
3627
|
+
/** Resolved UI resource body returned by the gateway. */
|
|
3628
|
+
interface McpUiResourcePayload {
|
|
3629
|
+
mimeType: string;
|
|
3630
|
+
html: string;
|
|
3631
|
+
csp?: McpUiCsp;
|
|
3632
|
+
permissions?: McpUiPermissions;
|
|
3633
|
+
prefersBorder?: boolean;
|
|
3634
|
+
stale?: boolean;
|
|
3635
|
+
}
|
|
3636
|
+
/** Type guard for a parsed `McpUiRef`. */
|
|
3637
|
+
declare function isMcpUiRef(value: unknown): value is McpUiRef;
|
|
3638
|
+
/** Parse and normalize an unknown value into a `McpUiRef`, or `null`. */
|
|
3639
|
+
declare function parseMcpUiRef(value: unknown): McpUiRef | null;
|
|
3640
|
+
|
|
3561
3641
|
/**
|
|
3562
3642
|
* MenuProtocol
|
|
3563
3643
|
*
|
|
3564
3644
|
* Defines types and registry interface for per-tenant customizable menu items.
|
|
3565
3645
|
* Menu items are merged with built-in defaults at the React SDK layer.
|
|
3566
3646
|
*/
|
|
3647
|
+
|
|
3567
3648
|
type MenuTarget = 'sidebar' | 'workspace';
|
|
3568
|
-
type MenuContentType = 'agent' | 'html' | 'custom';
|
|
3649
|
+
type MenuContentType = 'agent' | 'html' | 'custom' | 'file' | 'mcpApp';
|
|
3569
3650
|
interface AgentMenuConfig {
|
|
3570
3651
|
agentId: string;
|
|
3571
3652
|
workspaceId?: string;
|
|
@@ -3579,7 +3660,43 @@ interface HtmlMenuConfig {
|
|
|
3579
3660
|
interface CustomMenuConfig {
|
|
3580
3661
|
componentKey: string;
|
|
3581
3662
|
}
|
|
3582
|
-
|
|
3663
|
+
/**
|
|
3664
|
+
* A pinned MCP App menu item.
|
|
3665
|
+
*
|
|
3666
|
+
* The identity (`kind` + server/plugin + resource) is enough to re-open the
|
|
3667
|
+
* App; `toolInput` lets a self-refreshing App re-run the same query. The pin
|
|
3668
|
+
* flow also captures the current `toolResult` and `ui` so the pinned view has
|
|
3669
|
+
* the same initial data as the chat view did (an App that refreshes itself can
|
|
3670
|
+
* still re-query).
|
|
3671
|
+
*/
|
|
3672
|
+
type McpAppMenuConfig = {
|
|
3673
|
+
kind: 'mcp';
|
|
3674
|
+
serverKey: string;
|
|
3675
|
+
resourceUri: string;
|
|
3676
|
+
displayMode?: McpUiDisplayMode;
|
|
3677
|
+
title?: string;
|
|
3678
|
+
toolInput?: Record<string, unknown>;
|
|
3679
|
+
toolResult?: unknown;
|
|
3680
|
+
ui?: ToolCallUi;
|
|
3681
|
+
} | {
|
|
3682
|
+
kind: 'plugin';
|
|
3683
|
+
pluginType: string;
|
|
3684
|
+
resource: string;
|
|
3685
|
+
displayMode?: McpUiDisplayMode;
|
|
3686
|
+
title?: string;
|
|
3687
|
+
toolInput?: Record<string, unknown>;
|
|
3688
|
+
toolResult?: unknown;
|
|
3689
|
+
ui?: ToolCallUi;
|
|
3690
|
+
};
|
|
3691
|
+
/** A pinned workspace file rendered by the file viewer. */
|
|
3692
|
+
interface FileMenuConfig {
|
|
3693
|
+
resourcePath: string;
|
|
3694
|
+
fileName?: string;
|
|
3695
|
+
workspaceId?: string;
|
|
3696
|
+
projectId?: string;
|
|
3697
|
+
assistantId?: string;
|
|
3698
|
+
}
|
|
3699
|
+
type MenuContentConfig = AgentMenuConfig | HtmlMenuConfig | CustomMenuConfig | FileMenuConfig | McpAppMenuConfig;
|
|
3583
3700
|
interface MenuItem {
|
|
3584
3701
|
id: string;
|
|
3585
3702
|
tenantId: string;
|
|
@@ -4109,6 +4226,19 @@ interface UpdateTaskRequest {
|
|
|
4109
4226
|
/** File references attached to this task */
|
|
4110
4227
|
files?: TaskFileRef[];
|
|
4111
4228
|
}
|
|
4229
|
+
/**
|
|
4230
|
+
* Normalizes a task metadata scalar to its JSON text form so every task store
|
|
4231
|
+
* backend compares metadata filters identically.
|
|
4232
|
+
*
|
|
4233
|
+
* The contract is JSON scalar value equality, type-tolerant: `1` and `"1"`
|
|
4234
|
+
* are equal, `true` and `"true"` are equal, and `true` never equals `1`.
|
|
4235
|
+
* PostgreSQL's `metadata->>` naturally yields this form; InMemory and SQLite
|
|
4236
|
+
* use this helper to match it.
|
|
4237
|
+
*
|
|
4238
|
+
* @param value Candidate filter or stored metadata value.
|
|
4239
|
+
* @returns JSON text form for string/number/boolean, otherwise `undefined`.
|
|
4240
|
+
*/
|
|
4241
|
+
declare function normalizeTaskMetadataScalar(value: unknown): string | undefined;
|
|
4112
4242
|
/**
|
|
4113
4243
|
* Task list filter criteria
|
|
4114
4244
|
*/
|
|
@@ -4654,7 +4784,7 @@ interface OpenExecutionContext {
|
|
|
4654
4784
|
projectId: string;
|
|
4655
4785
|
/** Addressing only, not an authorization dimension (see design §6.2). */
|
|
4656
4786
|
workspaceId?: string;
|
|
4657
|
-
/** Synthesized
|
|
4787
|
+
/** Synthesized run identity (mirrors the Agent path's runConfig; plugin tools resolve their own connections). */
|
|
4658
4788
|
runConfig: Record<string, unknown>;
|
|
4659
4789
|
}
|
|
4660
4790
|
interface OpenExecutionResult {
|
|
@@ -5170,9 +5300,9 @@ interface InternalCreateCapabilityBundleInput extends Omit<CreateCapabilityBundl
|
|
|
5170
5300
|
interface UpdateCapabilityBundleInput extends Partial<CreateCapabilityBundleInput> {
|
|
5171
5301
|
expectedUpdatedAt: string;
|
|
5172
5302
|
}
|
|
5173
|
-
/** Store input
|
|
5303
|
+
/** Store input for updating a bundle; the stable key is immutable and the revision is always required for CAS. */
|
|
5174
5304
|
interface InternalUpdateCapabilityBundleInput extends Partial<CreateCapabilityBundleInput> {
|
|
5175
|
-
expectedUpdatedAt
|
|
5305
|
+
expectedUpdatedAt: string;
|
|
5176
5306
|
}
|
|
5177
5307
|
/** Result returned when an update's expected revision no longer matches. */
|
|
5178
5308
|
interface CapabilityBundleUpdateConflict {
|
|
@@ -5190,8 +5320,7 @@ interface CapabilityBundleStore {
|
|
|
5190
5320
|
getManyByIds(tenantId: string, ids: string[]): Promise<CapabilityBundle[]>;
|
|
5191
5321
|
/** Creates a bundle for a tenant. */
|
|
5192
5322
|
create(tenantId: string, input: InternalCreateCapabilityBundleInput): Promise<CapabilityBundle>;
|
|
5193
|
-
/** Updates a bundle, or returns null when it does not exist. */
|
|
5194
|
-
/** Omitted expectedUpdatedAt is reserved for internal maintenance callers. */
|
|
5323
|
+
/** Updates a bundle with mandatory revision CAS, or returns null when it does not exist. */
|
|
5195
5324
|
update(tenantId: string, id: string, input: InternalUpdateCapabilityBundleInput): Promise<CapabilityBundle | CapabilityBundleUpdateConflict | null>;
|
|
5196
5325
|
/** Atomically deletes a bundle unless a tenant project references it. */
|
|
5197
5326
|
deleteIfUnreferenced(tenantId: string, id: string): Promise<CapabilityBundleDeleteResult>;
|
|
@@ -6126,6 +6255,35 @@ interface PluginConnection {
|
|
|
6126
6255
|
/** 资源发现面板标题 */
|
|
6127
6256
|
resourceLabel?: string;
|
|
6128
6257
|
}
|
|
6258
|
+
/**
|
|
6259
|
+
* UI declaration for a plugin tool: an HTML file rendered as an MCP App when
|
|
6260
|
+
* the tool runs.
|
|
6261
|
+
*
|
|
6262
|
+
* @property resource - Safe relative path (within the plugin directory) to an `.html` file.
|
|
6263
|
+
* @property displayMode - Preferred display mode; defaults to `inline` (resolved by the compiler).
|
|
6264
|
+
* @property csp - Origins the UI needs (see `McpUiCsp`).
|
|
6265
|
+
* @property permissions - Sandbox permissions requested (see `McpUiPermissions`).
|
|
6266
|
+
* @property prefersBorder - Visual boundary preference.
|
|
6267
|
+
*/
|
|
6268
|
+
interface PluginToolUi {
|
|
6269
|
+
resource: string;
|
|
6270
|
+
displayMode?: McpUiDisplayMode;
|
|
6271
|
+
csp?: McpUiCsp;
|
|
6272
|
+
permissions?: McpUiPermissions;
|
|
6273
|
+
prefersBorder?: boolean;
|
|
6274
|
+
}
|
|
6275
|
+
/**
|
|
6276
|
+
* Inline UI resource served by a GLOBAL (non-sandbox) plugin.
|
|
6277
|
+
*
|
|
6278
|
+
* @property html - Full HTML document served for a `ui://` resource.
|
|
6279
|
+
* @property mimeType - Defaults to `text/html;profile=mcp-app` when omitted.
|
|
6280
|
+
* @property csp - Origins the UI needs.
|
|
6281
|
+
*/
|
|
6282
|
+
interface PluginUiResource {
|
|
6283
|
+
html: string;
|
|
6284
|
+
mimeType?: string;
|
|
6285
|
+
csp?: McpUiCsp;
|
|
6286
|
+
}
|
|
6129
6287
|
/**
|
|
6130
6288
|
* 工具元信息(用于前端 allowedTools 筛选)
|
|
6131
6289
|
*
|
|
@@ -6138,6 +6296,8 @@ interface PluginToolMeta {
|
|
|
6138
6296
|
description: string;
|
|
6139
6297
|
/** When true, this tool surfaces on the Open API (MCP) surface. */
|
|
6140
6298
|
expose?: boolean;
|
|
6299
|
+
/** Optional UI (HTML) declaration for this tool. */
|
|
6300
|
+
ui?: PluginToolUi;
|
|
6141
6301
|
}
|
|
6142
6302
|
/** Open-surface exposure entry with MCP annotation hints. */
|
|
6143
6303
|
interface PluginOpenExposeTool {
|
|
@@ -6204,6 +6364,8 @@ interface PluginMeta {
|
|
|
6204
6364
|
icon?: string;
|
|
6205
6365
|
/** 工具清单(可选,middleware 能自动提取时不需要写) */
|
|
6206
6366
|
tools?: PluginToolMeta[];
|
|
6367
|
+
/** Inline `ui://` resources for this plugin's tool UIs (global plugins only). */
|
|
6368
|
+
uiResources?: Record<string, PluginUiResource>;
|
|
6207
6369
|
/**
|
|
6208
6370
|
* Open 面(MCP)暴露的工具名清单——独立于 tools 声明,一行即生长。
|
|
6209
6371
|
* 声明后 OpenCredentialService 的 grants 匹配 domain=<meta.type>。
|
|
@@ -6352,6 +6514,8 @@ interface SandboxPluginToolDef {
|
|
|
6352
6514
|
destructive?: boolean;
|
|
6353
6515
|
timeoutMs?: number;
|
|
6354
6516
|
maxResultBytes?: number;
|
|
6517
|
+
/** Optional UI (HTML) rendered as an MCP App when this tool runs. */
|
|
6518
|
+
ui?: PluginToolUi;
|
|
6355
6519
|
}
|
|
6356
6520
|
/**
|
|
6357
6521
|
* Connection capability contributed by a sandbox plugin. `test`/`discover`
|
|
@@ -6473,6 +6637,12 @@ interface ProjectRoomTrustedRunContext {
|
|
|
6473
6637
|
role: "coordinator" | "specialist";
|
|
6474
6638
|
title: string;
|
|
6475
6639
|
responsibility?: string;
|
|
6640
|
+
/**
|
|
6641
|
+
* Host-provided provenance string, persisted unchanged. Optional; a non-empty string when present;
|
|
6642
|
+
* `undefined` is treated as absent. Core copies and compares this value without interpreting or
|
|
6643
|
+
* naming any specific value (ADR-118).
|
|
6644
|
+
*/
|
|
6645
|
+
source?: string;
|
|
6476
6646
|
}
|
|
6477
6647
|
/** Trusted Project Task identity persisted with a privileged queue message. */
|
|
6478
6648
|
interface ProjectTaskTrustedRunContext {
|
|
@@ -6485,6 +6655,12 @@ interface ProjectTaskTrustedRunContext {
|
|
|
6485
6655
|
taskId: string;
|
|
6486
6656
|
threadId: string;
|
|
6487
6657
|
inputMessageId: string;
|
|
6658
|
+
/**
|
|
6659
|
+
* Host-provided provenance string, persisted unchanged. Optional; a non-empty string when present;
|
|
6660
|
+
* `undefined` is treated as absent. Core copies and compares this value without interpreting or
|
|
6661
|
+
* naming any specific value (ADR-118).
|
|
6662
|
+
*/
|
|
6663
|
+
source?: string;
|
|
6488
6664
|
}
|
|
6489
6665
|
/** Host-authenticated metadata that cannot be supplied through public Agent APIs. */
|
|
6490
6666
|
interface TrustedRunContext {
|
|
@@ -6508,4 +6684,4 @@ declare function parseTrustedRunContext(value: unknown): TrustedRunContext;
|
|
|
6508
6684
|
*/
|
|
6509
6685
|
declare function parseQueuedExecutionMode(value: unknown): QueuedExecutionMode;
|
|
6510
6686
|
|
|
6511
|
-
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 AgentWebAppQuickPrompt, 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, WORKSPACE_PUBLIC_ROOM_PROJECT_PREFIX, 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, isWorkspacePublicRoomProjectId, parseAgentWebAppGenUIBlock, parseProjectRoomEventId, parseQueuedExecutionMode, parseTaskBeliefState, parseTrustedRunContext, projectAgentWebAppChunk, projectRoomUserEventScope, replaceTaskBeliefState, requireProjectTaskWorkItemStore, snapshotExactArray, snapshotExactRecord, snapshotProjectRoomBotMembershipRealtime, snapshotProjectRoomMembershipRealtime, snapshotProjectRoomMessageRealtime, taskBeliefStatesEqual, toProjectRoomPublicBotMembership, toProjectRoomPublicMembership, toProjectRoomPublicMessage };
|
|
6687
|
+
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 AgentWebAppQuickPrompt, 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 FileMenuConfig, 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 McpAppMenuConfig, 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 McpUiCsp, type McpUiDisplayMode, type McpUiPermissions, type McpUiRef, type McpUiResourcePayload, 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 PluginToolUi, type PluginUiResource, 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 ToolCallUi, 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, WORKSPACE_PUBLIC_ROOM_PROJECT_PREFIX, 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, isMcpUiRef, isProcessingAgentConfig, isProjectRoomEventId, isTeamAgentConfig, isWorkflowAgentConfig, isWorkspacePublicRoomProjectId, normalizeTaskMetadataScalar, parseAgentWebAppGenUIBlock, parseMcpUiRef, parseProjectRoomEventId, parseQueuedExecutionMode, parseTaskBeliefState, parseTrustedRunContext, projectAgentWebAppChunk, projectRoomUserEventScope, replaceTaskBeliefState, requireProjectTaskWorkItemStore, snapshotExactArray, snapshotExactRecord, snapshotProjectRoomBotMembershipRealtime, snapshotProjectRoomMembershipRealtime, snapshotProjectRoomMessageRealtime, taskBeliefStatesEqual, toProjectRoomPublicBotMembership, toProjectRoomPublicMembership, toProjectRoomPublicMessage };
|