@axiom-lattice/protocols 6.4.0 → 7.0.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 +208 -0
- package/dist/index.d.mts +37 -21
- package/dist/index.d.ts +37 -21
- package/dist/index.js +1 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -7
- package/src/AgentLatticeProtocol.ts +4 -27
- package/src/McpLatticeProtocol.ts +15 -0
- package/src/MessageProtocol.ts +17 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @axiom-lattice/protocols@
|
|
2
|
+
> @axiom-lattice/protocols@7.0.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
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
11
|
+
[32mCJS[39m [1mdist/index.js [22m[32m55.30 KB[39m
|
|
12
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m226.08 KB[39m
|
|
13
|
+
[32mCJS[39m ⚡️ Build success in 627ms
|
|
14
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m48.98 KB[39m
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m221.72 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 635ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
19
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m291.
|
|
20
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m291.
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 15625ms
|
|
19
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m291.85 KB[39m
|
|
20
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m291.85 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,213 @@
|
|
|
1
1
|
# @axiom-lattice/protocols
|
|
2
2
|
|
|
3
|
+
## 7.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 3c95be1: This changeset consolidates all pending release notes into a single release entry. All packages are released as patch versions for this consolidated release.
|
|
8
|
+
|
|
9
|
+
## Pending changes
|
|
10
|
+
|
|
11
|
+
### chat-cursor-expired-auto-recovery
|
|
12
|
+
|
|
13
|
+
Console chat now silently recovers from chunk-stream `CURSOR_EXPIRED`: it reloads durable messages, reconnects without the expired cursor, and only shows a localized retry prompt when recovery fails or exceeds the bounded recovery budget.
|
|
14
|
+
|
|
15
|
+
### chat-quick-prompts-generic
|
|
16
|
+
|
|
17
|
+
Make `Chating` empty-state content generic by default: the question is now "How can I help you today?", the built-in data-analysis dataset is opt-in via `showQuickAnalysis`, and all quick prompts use one `QuickPromptCategory[]` shape rendered below the composer in both empty and non-empty states. Adds `quickPromptsData` / `quickPromptsTitle` props, keeps the shell `quickPromptsData` as a fallback, and exports `BusinessAnalysisPrompts`, `QuickPrompts`, `buildDataAnalysisPrompts`, and the `BusinessAnalysisPromptsProps` type. Also removes the empty→active send transition animation.
|
|
18
|
+
|
|
19
|
+
### chat-quick-prompts-hardening
|
|
20
|
+
|
|
21
|
+
Fix chat quick prompts:
|
|
22
|
+
|
|
23
|
+
- Sender labels and descriptions are no longer duplicated, including description-only prompts and whitespace-only labels.
|
|
24
|
+
- Effective sender prompt text is trimmed; fully blank or whitespace-only prompts are dropped and whitespace-only descriptions are suppressed.
|
|
25
|
+
- The renderer honors `disabled` for generated items and guards the click and More handlers.
|
|
26
|
+
- Simple-mode item keys are collision-safe across categories.
|
|
27
|
+
- An explicit `title` takes precedence over the category title.
|
|
28
|
+
- Single-category items inherit the category icon when they have none.
|
|
29
|
+
|
|
30
|
+
### fix-abort-notice-task-detail-overflow
|
|
31
|
+
|
|
32
|
+
Preserve the neutral "Response stopped." notice after a user aborts a run: terminal stream events from that same run no longer clear it immediately, while a new run's output still clears it.
|
|
33
|
+
|
|
34
|
+
Also fix task-detail horizontal overflow on narrow layouts by wrapping activity metadata and removing the mobile subtask row negative margin.
|
|
35
|
+
|
|
36
|
+
### fix-client-sdk-delete-content-type
|
|
37
|
+
|
|
38
|
+
Fix bodyless `DELETE` requests sending `Content-Type: application/json`. `makeRequest` strips the header for bodyless deletes, but `fetchWithTimeout` merged `this.headers` back in and silently restored it, so delete requests could be rejected by servers that treat a declared JSON content type as requiring a body. `fetchWithTimeout` now trusts the already-merged request headers from `makeRequest`.
|
|
39
|
+
|
|
40
|
+
`WorkspaceClient.request` had the same problem: it always merged `this.headers` (including `Content-Type: application/json`) into every request. Bodyless `deleteWorkspace` / `deleteProject` calls now strip the `content-type` header case-insensitively from the merged map, including a lowercase `content-type` supplied through `ClientConfig.headers`.
|
|
41
|
+
|
|
42
|
+
### fix-filesystem-write-edit-symlink-parent
|
|
43
|
+
|
|
44
|
+
Fix `FilesystemBackend` virtual-mode confinement for writes and edits: both operations now validate the resolved parent directory against the virtual root (mirroring reads and deletes), so a symlinked parent that points outside the root can no longer be used to create or modify files outside the sandbox.
|
|
45
|
+
|
|
46
|
+
Writes additionally validate the nearest existing ancestor before recursive directory creation. A nested path such as `/outside-link/created-dir/escaped.txt` is rejected before `fs.mkdir(..., { recursive: true })` runs, so no directories are created outside the virtual root either.
|
|
47
|
+
|
|
48
|
+
Directory listing and search are hardened too: in virtual mode the requested `lsInfo` directory, `globInfo` search base, and `grepRaw` base must resolve inside the root; symlink entries are hidden from scans; `globInfo`/grep fallback stop following symlinks; and ripgrep runs with `--no-follow`.
|
|
49
|
+
|
|
50
|
+
Symlink behavior is intentionally split between root scans and direct access. A symlink whose target stays inside the root is hidden from directory listings and recursive scans, but a direct `lsInfo`, `globInfo`, or `grepRaw` call whose resolved base stays inside the root is allowed, and direct file reads through an inside-root symlink remain allowed. A symlink whose target leaves the root is rejected for direct listing/search/read and is neither listed nor searched.
|
|
51
|
+
|
|
52
|
+
Residual limitations:
|
|
53
|
+
|
|
54
|
+
- Plain Node file APIs cannot make "validate ancestor, then create directory/file" atomic. The checks close the symlinked-parent escape and nested-directory side effect, but a concurrent attacker who can swap path components between the ancestor check and the create/open calls could still win a TOCTOU race. Directory-level isolation (or an OS primitive with `openat`/`O_NOFOLLOW`-style semantics for every component) would be required to eliminate that race completely.
|
|
55
|
+
- Hard-link escapes remain possible: hard links share inode data and cannot be distinguished from ordinary files by path checks, so a hard link inside the root can still expose content outside it.
|
|
56
|
+
|
|
57
|
+
### fix-inmemory-workflow-run-id-collision
|
|
58
|
+
|
|
59
|
+
Fix `InMemoryWorkflowTrackingStore.createWorkflowRun` ID collisions: the generated ID is now `${threadId}_${Date.now()}_${randomUUID()}` (matching the PostgreSQL and Local stores) instead of `${threadId}_${Date.now()}`, so two runs started on the same thread within the same millisecond no longer overwrite each other in the backing `Map` (which also silently reset the earlier run's steps). Added a unit test that pins `Date.now()` and asserts both runs exist with distinct IDs and isolated steps.
|
|
60
|
+
|
|
61
|
+
### fix-local-store-workflow-and-schedule
|
|
62
|
+
|
|
63
|
+
Fix four local-store defects found while adding coverage:
|
|
64
|
+
|
|
65
|
+
- `LocalWorkflowTrackingStore` could not be constructed: its DDL used `ALTER TABLE ... ADD COLUMN IF NOT EXISTS`, which SQLite does not support, so every constructor call threw. The `thread_id` backfill now uses the same `PRAGMA table_info` guard as the other local stores.
|
|
66
|
+
- `LocalWorkflowTrackingStore.createWorkflowRun` generated `${threadId}_${Date.now()}`, so two runs on the same thread within the same millisecond collided on the primary key. IDs are now `${threadId}_${Date.now()}_${randomUUID()}`, matching the PostgreSQL store.
|
|
67
|
+
- `LocalScheduleStorage.getAllTasks` emitted `OFFSET` without `LIMIT` when only an offset was supplied, which SQLite rejects. It now emits `LIMIT -1` first, matching `LocalWorkflowTrackingStore.queryWorkflowRuns`.
|
|
68
|
+
- **Security parity:** `LocalMetricsServerConfigStore` stored `apiKey`/`password` in plaintext while the PostgreSQL store encrypted them. Both fields are now encrypted on create/update (partial updates still preserve the stored ciphertext) and decrypted on read. Legacy plaintext rows are preserved unchanged on read and encrypted on the next config write; a value that looks encrypted but cannot be decrypted with the current key degrades to `""` via `safeDecrypt`, matching PostgreSQL.
|
|
69
|
+
|
|
70
|
+
**Upgrade note:** the legacy-row heuristic is shape-based. A plaintext secret that itself happens to look like canonical ciphertext (valid base64 of at least the salt+IV+tag length) cannot be distinguished from encrypted data, so it is treated as ciphertext and may read back as an empty string. There is no safe way to tell the two apart after the fact; re-enter any such metric-server secret once after upgrading. Other plaintext secrets are read unchanged and encrypted on the next write.
|
|
71
|
+
|
|
72
|
+
### fix-opensandbox-concurrent-ensure-dedup
|
|
73
|
+
|
|
74
|
+
Fix `ensureSandbox` concurrency and `listSandboxes` status filtering.
|
|
75
|
+
|
|
76
|
+
`ensureSandbox` now keeps the early in-flight fast path, then re-checks both the cache and the in-flight create map after the asynchronous metadata lookup. A caller that was suspended during metadata recovery can no longer create a duplicate sandbox when another caller finishes first, and waiters on a failed create reject and leave `pendingCreates` cleared so a later call retries instead of hanging.
|
|
77
|
+
|
|
78
|
+
`listSandboxes` now translates the lowercase API status filter to the SDK's capitalized lifecycle states: `running` → `Running`, `stopped` → `Paused`, `crashed` → `Failed`, and `unknown` omits the states filter instead of sending an invalid state. Returned items are mapped back to the same API vocabulary instead of leaking raw SDK states: `Running` → `running`, `Paused`/`Stopping`/`Stopped`/`Terminated` → `stopped`, `Failed`/`Error` → `crashed`, and everything else → `unknown` (previously `Paused` and `Failed` came back as `paused`/`failed`, outside the response schema's allowed values).
|
|
79
|
+
|
|
80
|
+
`mapVolumes` now validates named volume definitions with the same conservative name validator used by the volume-fs routes, so a traversal name such as `../../escape` is rejected with `HttpError(400, INVALID_VOLUME_NAME)` before it can resolve outside `VOLUME_BASE_PATH` or become a PVC `subPath`. Bind volumes are unchanged and still accept arbitrary host source paths.
|
|
81
|
+
|
|
82
|
+
### fix-pg-eval-result-and-project-defaults
|
|
83
|
+
|
|
84
|
+
Fix two `PostgreSQLEvalStore` contract gaps. `updateRunResult` now includes `interrupted` in its `RETURNING` list, so updating that field returns the new value instead of a stale `false` (follow-up reads already agreed with the database). `createProject` now defaults an omitted `judgeModelConfig` (and defensively an undefined `targetServerConfig`) to `{}` instead of writing SQL `NULL` into a `NOT NULL` JSONB column, matching the protocol's optional `judgeModelConfig`. Added DB-backed integration tests for both cases.
|
|
85
|
+
|
|
86
|
+
### fix-pg-skill-get-sub-skills
|
|
87
|
+
|
|
88
|
+
Fix `PostgreSQLSkillStore.getSubSkills` so it returns the skills whose `subSkills` list contains the requested parent. The query bound `JSON.stringify([parentName])`, which made the JSONB containment compare against the JSON string `"[\"parent\"]"` instead of the array element `"parent"`, so it never matched. It now binds the bare parent name while keeping the lookup tenant-scoped. Added DB-backed integration coverage for the skill store, including cross-tenant isolation.
|
|
89
|
+
|
|
90
|
+
### fix-pg-workflow-run-id-collision
|
|
91
|
+
|
|
92
|
+
Fix `PostgreSQLWorkflowTrackingStore.createWorkflowRun` ID collisions: the generated ID is now `${threadId}_${Date.now()}_${randomUUID()}` instead of `${threadId}_${Date.now()}`, so two runs started on the same thread within the same millisecond no longer collide on the primary key. The thread prefix is kept for readability. Added a DB-backed integration test that pins `Date.now()` to a fixed value and asserts both runs exist with distinct IDs.
|
|
93
|
+
|
|
94
|
+
### fix-publish-target-json-schema
|
|
95
|
+
|
|
96
|
+
Fix `publish_target` for OpenAI-compatible function calling. The Zod schema now has an object root (instead of a root `oneOf` from `discriminatedUnion`), so providers no longer reject it with `schema must be a JSON Schema of 'type: "object"', got 'type: null'`.
|
|
97
|
+
|
|
98
|
+
### fix-review-regressions
|
|
99
|
+
|
|
100
|
+
Fix review regressions across skills, SQL and filesystem backends:
|
|
101
|
+
|
|
102
|
+
- `FileSystemSkillStore.listSkillResources` falls back to the dirent `path` when `parentPath` is unavailable on older Node versions.
|
|
103
|
+
- `list_tables_sql` quotes mixed-case / non-simple identifiers only on PostgreSQL so its output round-trips through `info_sql`/`getTableInfo`; MySQL keeps raw names because its lookup is exact (unquoted input is still lowercased).
|
|
104
|
+
- `FilesystemBackend.write` creates a missing virtual root before validating ancestors.
|
|
105
|
+
- `query_checker_sql` flags data-modifying CTE `UPDATE`/`DELETE` without a `WHERE`, without misreading `FOR NO KEY UPDATE`.
|
|
106
|
+
|
|
107
|
+
Note: a cancelled workflow thread remains terminal by design — every later input on that thread (including a would-be new turn) is intentionally blocked; this wave does not change workflow abort semantics.
|
|
108
|
+
|
|
109
|
+
### fix-sql-query-checker-schema-qualified
|
|
110
|
+
|
|
111
|
+
Harden `query_checker_sql` and fix schema-qualified PostgreSQL table lookups.
|
|
112
|
+
|
|
113
|
+
- `ISqlDatabase` gains an optional `explainQuery(query)` method. `PostgresDatabase` implements it with both guards required for safe validation: parenthesized options (`{ text: "EXPLAIN (FORMAT JSON) " + query, queryMode: "extended" }`). The parenthesized option list prevents a user query from starting with `ANALYZE` (or another EXPLAIN option) and turning validation into execution; extended query mode rejects multi-statement input server-side before any tail statement runs. Either guard alone is insufficient. `query_checker_sql` calls `explainQuery` for Postgres validation and never calls `executeQuery` for EXPLAIN; when `explainQuery` is unavailable it skips database validation instead of falling back to simple-mode execution. A server-side validation rejection now makes the overall verdict unsafe.
|
|
114
|
+
- `query_checker_sql` uses a SQL lexer that blanks single-quoted strings (including doubled quotes and E-string backslash escapes), double-quoted identifiers, dollar-quoted strings (`$$...$$`, `$tag$...$tag$`, only at token boundaries), line comments, and nested block comments. The normalized text drives both multi-statement detection and the unqualified-DML check. DML detection looks only at the statement's top-level `UPDATE`/`DELETE` and requires a depth-zero `WHERE` after it, so subquery/CTE `WHERE` clauses, `SELECT ... FOR UPDATE`, `INSERT ... ON CONFLICT DO UPDATE`, and `CREATE TABLE ... ON DELETE/ON UPDATE` do not mask or create a full-table-DML finding.
|
|
115
|
+
- The lexer is advisory/diagnostic rather than a full SQL parser: it does not implement every PostgreSQL literal/identifier form and can misclassify unusual or malformed input. The execution-safety boundary is the server-side parenthesized-options EXPLAIN in extended mode whenever Postgres validation runs; if the adapter lacks `explainQuery`, no server-side validation is performed.
|
|
116
|
+
- `PostgresDatabase.getTableInfo` now lowercases unquoted schema/table parts, preserves quoted identifier case, safely quotes schema-qualified names such as `sales.orders`, filters column and PK/FK metadata by schema (including constraint joins), and reads sample rows from the qualified table.
|
|
117
|
+
|
|
118
|
+
### fix-wechat-client-request-contract
|
|
119
|
+
|
|
120
|
+
Fix `WeChatClient` request and stream handling:
|
|
121
|
+
|
|
122
|
+
- `makeRequest` dropped per-request headers. It built the merged header map (Content-Type, Authorization, config headers, caller headers, tenant) but passed only the workspace headers to `wechatRequest`, so headers supplied through `request()` / `chat.abort()` (including `x-axiom-affinity`) never reached `wx.request`. It now forwards the fully merged header map with precedence defaults < config < workspace < per-request, so workspace context overrides config headers.
|
|
123
|
+
- `resumeStream` omitted the required `assistant_id` body field, so the gateway rejected resumes with 400. It now includes `assistant_id`, matching the main `Client.resumeStream`.
|
|
124
|
+
- `resumeStream` and `streamRun` omitted workspace/project context. Both now merge `getWorkspaceHeaders()` into their request headers and send `Accept: text/event-stream`.
|
|
125
|
+
- `resumeStream` ignored `ResumeStreamOptions.lastEventId`. A trimmed, non-empty value is now sent as `Last-Event-ID`, matching `Client.resumeStream`.
|
|
126
|
+
- Streaming chunks are now decoded with a per-request `TextDecoder` (`{ stream: true }`) and a pending-line buffer, so JSON frames and multibyte UTF-8 characters split across chunks are no longer dropped or corrupted. Both `data: {...}` and `data:{...}` frames are accepted. On completion the pending final line is flushed, so a last `data:` line without a trailing newline is emitted.
|
|
127
|
+
- `resumeStream` and `streamRun` now inspect the stream response status: 401 surfaces `AuthenticationError` and other non-2xx statuses surface `ApiError` via `onError`, and chunks/completion are suppressed. The error body is parsed from objects, JSON strings, or plain text (`error` / `message`), falling back to `HTTP error! Status: <code>`. A transport `fail` is terminal, so the subsequent `complete` no longer calls `onComplete` or fetches agent state.
|
|
128
|
+
- Aborting through the returned stop function no longer surfaces the WeChat `fail` callback as `onError`, matching the web `Client`; aborts also suppress completion and agent-state fetching. A late completion reported through `success` after abort/terminal is ignored as well.
|
|
129
|
+
- `wechatRequest` now uses the same error-body extractor for 401 and other non-2xx responses, so gateway envelopes like `{ success: false, error: "..." }` surface their `error` (not only `message`).
|
|
130
|
+
- Bodyless `DELETE` requests no longer send `Content-Type: application/json`, matching the web `Client`.
|
|
131
|
+
- Missing `wx` / `wx.request` now raises a descriptive error instead of a raw `TypeError`.
|
|
132
|
+
|
|
133
|
+
### fix-workspace-client-errors
|
|
134
|
+
|
|
135
|
+
Fix two `WorkspaceClient` error-handling gaps:
|
|
136
|
+
|
|
137
|
+
- `request()` now reads the gateway wire contract's `error` field (`{ success: false, error: "..." }`) before falling back to `message` and the HTTP status, matching `uploadFile`, `downloadFolder`, and `Client`. Previously only `message` was read, so gateway errors surfaced as `HTTP error! Status: 404`.
|
|
138
|
+
- `createWorkspace`, `getWorkspace`, `updateWorkspace`, `createProject`, `getProject`, and `updateProject` now throw a clear `Error` when a successful envelope omits `data`, instead of returning `undefined` through a non-null assertion. `readFile` and `browseFilesystem` get the same treatment (`Failed to read file` / `Failed to browse filesystem`). List methods keep their empty-array fallback.
|
|
139
|
+
|
|
140
|
+
### harden-menu-item-update-patch
|
|
141
|
+
|
|
142
|
+
Security hardening for menu item updates: PUT `/api/menu-items/:id` now strips server-owned `id` and `tenantId` fields from the patch before calling the registry, so a caller cannot move an item to another tenant or rewrite its id. Normal clients that send a full persisted item back are unaffected; only the mutable fields are applied.
|
|
143
|
+
|
|
144
|
+
### harden-microsandbox-volume-fs-confinement
|
|
145
|
+
|
|
146
|
+
Harden volume filesystem route confinement. Volume names are now validated against a conservative pattern before host path resolution, guest paths reject lexical traversal, backslashes and NUL bytes, reads/downloads/listings verify the real path stays inside the volume root, and writes/uploads/mkdir verify the nearest existing ancestor before recursive directory creation so symlinked parents cannot create or modify files outside the volume. Uploads also reject malformed base64 instead of silently decoding it.
|
|
147
|
+
This is a deterministic symlink/path hardening, not an atomic guarantee: a concurrent writer with volume access can still race validation and I/O (TOCTOU), and hard links to outside inodes are not detectable by path checks. Guest paths containing any `..` segment (even `a/../b`) are now rejected, and uploads accept only standard base64 (no base64url/whitespace-wrapped input).
|
|
148
|
+
|
|
149
|
+
### harden-opensandbox-volume-fs-confinement
|
|
150
|
+
|
|
151
|
+
Harden volume filesystem route confinement. Volume names are now validated against a conservative pattern before host path resolution, guest paths reject lexical traversal and backslashes, reads/downloads/listings verify the real path stays inside the volume root, and writes/uploads verify the nearest existing ancestor before recursive directory creation so symlinked parents cannot create or modify files outside the volume. Uploads also reject malformed base64 instead of silently decoding it.
|
|
152
|
+
This is a deterministic symlink/path hardening, not an atomic guarantee: a concurrent writer with volume access can still race validation and I/O (TOCTOU), and hard links to outside inodes are not detectable by path checks. Guest paths containing any `..` segment (even `a/../b`) are now rejected, and uploads accept only standard base64 (no base64url/whitespace-wrapped input).
|
|
153
|
+
|
|
154
|
+
### remove-processing-agents
|
|
155
|
+
|
|
156
|
+
Remove the deprecated PROCESSING agent type and topology middleware. WORKFLOW agents are the only orchestration type.
|
|
157
|
+
|
|
158
|
+
- Removed `AgentType.PROCESSING`, `ProcessingAgentConfig`, `isProcessingAgentConfig`, the PROCESSING builder/agent, and the disabled `create_processing_agent` / `update_processing_agent` tools.
|
|
159
|
+
- Removed `topologyMiddleware`, the topology middleware editor/default config, the Topology Automation view, and related i18n.
|
|
160
|
+
- Removed `/api/workflows/definitions` and `/api/assistants/:assistantId/workflows/definitions`; workflow run/inbox tracking remains.
|
|
161
|
+
- `CreateWorkflowModal` now creates WORKFLOW agents only.
|
|
162
|
+
|
|
163
|
+
### tenant-plugin-schema-root
|
|
164
|
+
|
|
165
|
+
Reject tenant sandbox plugin tools whose JSON Schema root is not `type: "object"`. OpenAI-compatible function calling requires an object root; allowing `string`/`array` roots produced runtime `type: null` failures.
|
|
166
|
+
|
|
167
|
+
### workflow-skill-store-fixes
|
|
168
|
+
|
|
169
|
+
Fix workflow abort detection and filesystem skill resource listing. The input node now lets the "workflow was cancelled before restart" error escape instead of swallowing it in the tracking-store catch, and `FileSystemSkillStore.listSkillResources` reads Node's recursive `Dirent.parentPath` instead of the removed `.path` property. Added workflow, skill-manager, and skill-store lifecycle coverage.
|
|
170
|
+
|
|
171
|
+
## 7.0.0
|
|
172
|
+
|
|
173
|
+
### Major Changes
|
|
174
|
+
|
|
175
|
+
- 587c375: MCP SDK v2, workspace Zod 4, dual-era MCP, and reasoning improvements.
|
|
176
|
+
|
|
177
|
+
**Breaking / runtime**
|
|
178
|
+
|
|
179
|
+
- Migrate to `@modelcontextprotocol/client/server 2.4.0` + `node 2.1.2` and
|
|
180
|
+
`@langchain/mcp-adapters 2.0.1`; remove `@modelcontextprotocol/sdk 1.x`.
|
|
181
|
+
- Unify the workspace on Zod 4.6.7 with no nested/scoped Zod 3 copies. This
|
|
182
|
+
changes Zod schema authoring (`ZodObject` generics, `z.record`, `.issues`,
|
|
183
|
+
explicit optional `z.any`/`z.unknown`) and removes `zod-to-json-schema`.
|
|
184
|
+
- Node.js `>=20.10.0` is now required. See
|
|
185
|
+
`docs/migrations/mcp-sdk-v2.md` for the full migration guide.
|
|
186
|
+
- Unknown/unauthorized Open MCP tools now surface as JSON-RPC errors.
|
|
187
|
+
|
|
188
|
+
**MCP dual-era**
|
|
189
|
+
|
|
190
|
+
- `McpServerConfig.protocolMode` defaults to `auto` (modern `2026-07-28`
|
|
191
|
+
negotiation with legacy fallback); pin `legacy` or `modern` per server.
|
|
192
|
+
- Open MCP serves both eras at the same stateless endpoint, preserving the
|
|
193
|
+
legacy JSON response contract; no sessions or sticky routing.
|
|
194
|
+
- Connection tests report the negotiated protocol revision; the MCP config UI
|
|
195
|
+
exposes an advanced protocol selector.
|
|
196
|
+
- HTTP/SSE adapter-level `reconnect` is legacy-only in mcp-adapters 2.x;
|
|
197
|
+
`auto`/`modern` rely on the manager health-check/backoff loop.
|
|
198
|
+
|
|
199
|
+
**Reasoning**
|
|
200
|
+
|
|
201
|
+
- Stream `reasoning_content` separately from the answer and echo it for
|
|
202
|
+
tool-call continuations on compatible providers.
|
|
203
|
+
- Persist measured reasoning time as `additional_kwargs.reasoning_duration_ms`;
|
|
204
|
+
`ChunkMessageMerger` lifts it to assistant messages and the thinking block
|
|
205
|
+
renders `Thought for Xs` (or `Thought process` without a measurement).
|
|
206
|
+
The field is display-only and stripped before provider requests.
|
|
207
|
+
- Refine the thinking block into a compact custom header with smaller
|
|
208
|
+
icon/type, hover/focus states, and an indented reasoning panel.
|
|
209
|
+
- Left-align the agent creation method cards (manual / external / learn).
|
|
210
|
+
|
|
3
211
|
## 6.4.0
|
|
4
212
|
|
|
5
213
|
### Minor Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -160,7 +160,6 @@ interface ModelLatticeProtocol extends BaseLatticeProtocol<LLMConfig, BaseChatMo
|
|
|
160
160
|
declare enum AgentType {
|
|
161
161
|
REACT = "react",
|
|
162
162
|
DEEP_AGENT = "deep_agent",
|
|
163
|
-
PROCESSING = "processing",
|
|
164
163
|
/** Remote A2A agent — delegates to an external A2A-compatible server */
|
|
165
164
|
A2A_REMOTE = "a2a_remote",
|
|
166
165
|
/** Workflow agent — compiled from YAML DSL into a LangGraph StateGraph */
|
|
@@ -196,7 +195,7 @@ interface BaseAgentConfig {
|
|
|
196
195
|
* Child's explicitly set fields override the parent's.
|
|
197
196
|
*/
|
|
198
197
|
extendsAgent?: string;
|
|
199
|
-
schema?: ZodObject
|
|
198
|
+
schema?: ZodObject;
|
|
200
199
|
modelKey?: string;
|
|
201
200
|
/**
|
|
202
201
|
* Runtime configuration to inject into tool execution context
|
|
@@ -264,7 +263,7 @@ interface CollectionMiddlewareConfig {
|
|
|
264
263
|
*/
|
|
265
264
|
connectAll?: boolean;
|
|
266
265
|
}
|
|
267
|
-
type MiddlewareType = "filesystem" | "code_eval" | "browser" | "sql" | "skill" | "http" | "custom" | "metrics" | "ask_user_to_clarify" | "widget" | "claw" | "date" | "scheduler" | "
|
|
266
|
+
type MiddlewareType = "filesystem" | "code_eval" | "browser" | "sql" | "skill" | "http" | "custom" | "metrics" | "ask_user_to_clarify" | "widget" | "claw" | "date" | "scheduler" | "task" | "collection" | string;
|
|
268
267
|
interface AgentMiddlewareConfig {
|
|
269
268
|
id: string;
|
|
270
269
|
type: MiddlewareType;
|
|
@@ -319,16 +318,6 @@ interface DeepAgentConfig extends BaseAgentConfig {
|
|
|
319
318
|
subAgents?: string[];
|
|
320
319
|
internalSubAgents?: AgentConfig[];
|
|
321
320
|
}
|
|
322
|
-
/**
|
|
323
|
-
* PROCESSING agent configuration — workflow orchestration with topology enforcement.
|
|
324
|
-
* Replaces todoListMiddleware with topologyMiddleware.
|
|
325
|
-
*/
|
|
326
|
-
interface ProcessingAgentConfig extends BaseAgentConfig {
|
|
327
|
-
type: AgentType.PROCESSING;
|
|
328
|
-
tools?: string[];
|
|
329
|
-
subAgents?: string[];
|
|
330
|
-
internalSubAgents?: AgentConfig[];
|
|
331
|
-
}
|
|
332
321
|
interface LocalRuntimeConfig {
|
|
333
322
|
label?: string;
|
|
334
323
|
agentCardUrl: string;
|
|
@@ -414,11 +403,11 @@ declare function isWorkflowAgentConfig(config: AgentConfig): config is WorkflowA
|
|
|
414
403
|
* Agent configuration union type
|
|
415
404
|
* Different agent types have different configuration options
|
|
416
405
|
*/
|
|
417
|
-
type AgentConfig = ReactAgentConfig | DeepAgentConfig |
|
|
406
|
+
type AgentConfig = ReactAgentConfig | DeepAgentConfig | A2ARemoteAgentConfig | WorkflowAgentConfig;
|
|
418
407
|
/**
|
|
419
408
|
* Agent configuration with tools property
|
|
420
409
|
*/
|
|
421
|
-
type AgentConfigWithTools = ReactAgentConfig | DeepAgentConfig |
|
|
410
|
+
type AgentConfigWithTools = ReactAgentConfig | DeepAgentConfig | A2ARemoteAgentConfig | WorkflowAgentConfig;
|
|
422
411
|
/**
|
|
423
412
|
* Type guard to check if config has tools property
|
|
424
413
|
*/
|
|
@@ -427,16 +416,12 @@ declare function hasTools(config: AgentConfig): config is AgentConfigWithTools;
|
|
|
427
416
|
* Type guard to check if config is DeepAgentConfig (has subAgents)
|
|
428
417
|
*/
|
|
429
418
|
declare function isDeepAgentConfig(config: AgentConfig): config is DeepAgentConfig;
|
|
430
|
-
/**
|
|
431
|
-
* Type guard to check if config is ProcessingAgentConfig (has subAgents + topology)
|
|
432
|
-
*/
|
|
433
|
-
declare function isProcessingAgentConfig(config: AgentConfig): config is ProcessingAgentConfig;
|
|
434
419
|
/**
|
|
435
420
|
* Get tools from config safely
|
|
436
421
|
*/
|
|
437
422
|
declare function getToolsFromConfig(config: AgentConfig): string[];
|
|
438
423
|
/**
|
|
439
|
-
* Get subAgents from config safely (DeepAgentConfig
|
|
424
|
+
* Get subAgents from config safely (only DeepAgentConfig has subAgents)
|
|
440
425
|
*/
|
|
441
426
|
declare function getSubAgentsFromConfig(config: AgentConfig): string[];
|
|
442
427
|
/**
|
|
@@ -1176,6 +1161,10 @@ interface ToolCall {
|
|
|
1176
1161
|
interface AssistantMessage extends BaseMessage {
|
|
1177
1162
|
role: "ai";
|
|
1178
1163
|
content?: string;
|
|
1164
|
+
/** Reasoning / thinking text kept separate from the answer. */
|
|
1165
|
+
reasoning_content?: string;
|
|
1166
|
+
/** Measured reasoning time in milliseconds, when the server could observe it. */
|
|
1167
|
+
reasoning_duration_ms?: number;
|
|
1179
1168
|
tool_calls?: ToolCall[];
|
|
1180
1169
|
}
|
|
1181
1170
|
interface InterruptMessage extends BaseMessage {
|
|
@@ -1231,6 +1220,15 @@ interface MessageChunk {
|
|
|
1231
1220
|
data: {
|
|
1232
1221
|
id: string;
|
|
1233
1222
|
content?: string;
|
|
1223
|
+
/**
|
|
1224
|
+
* Normalized reasoning text. Wire data normally arrives under
|
|
1225
|
+
* `additional_kwargs.reasoning_content`; this field is accepted as a
|
|
1226
|
+
* forward-compatible top-level form (and is how the merger re-feeds live
|
|
1227
|
+
* messages through history loading).
|
|
1228
|
+
*/
|
|
1229
|
+
reasoning_content?: string;
|
|
1230
|
+
/** Measured reasoning time in milliseconds, when the server could observe it. */
|
|
1231
|
+
reasoning_duration_ms?: number;
|
|
1234
1232
|
/**
|
|
1235
1233
|
* Machine-readable end reason for {@link MessageChunkTypes.ERROR} chunks.
|
|
1236
1234
|
* Known values: `aborted`, `superseded`, `stream_error`.
|
|
@@ -1257,6 +1255,10 @@ interface MessageChunk {
|
|
|
1257
1255
|
};
|
|
1258
1256
|
id?: string;
|
|
1259
1257
|
}>;
|
|
1258
|
+
/** OpenAI-compatible reasoning tokens (Qwen, DeepSeek, ...). */
|
|
1259
|
+
reasoning_content?: string;
|
|
1260
|
+
/** Measured reasoning time in milliseconds (server-authored metadata). */
|
|
1261
|
+
reasoning_duration_ms?: number;
|
|
1260
1262
|
};
|
|
1261
1263
|
tool_call_id?: string;
|
|
1262
1264
|
/**
|
|
@@ -1855,6 +1857,14 @@ interface SkillLatticeProtocol extends BaseLatticeProtocol<SkillConfig, SkillCli
|
|
|
1855
1857
|
* MCP transport type
|
|
1856
1858
|
*/
|
|
1857
1859
|
type McpTransportType = "stdio" | "streamable_http" | "sse";
|
|
1860
|
+
/**
|
|
1861
|
+
* MCP protocol era selection for client connections.
|
|
1862
|
+
*
|
|
1863
|
+
* - `auto` (default): negotiate the modern protocol and fall back to legacy
|
|
1864
|
+
* - `legacy`: pin the 2025-era client interface
|
|
1865
|
+
* - `modern`: pin the 2026-07-28 protocol revision
|
|
1866
|
+
*/
|
|
1867
|
+
type McpProtocolMode = "auto" | "legacy" | "modern";
|
|
1858
1868
|
/**
|
|
1859
1869
|
* MCP server configuration
|
|
1860
1870
|
*/
|
|
@@ -1883,6 +1893,12 @@ interface McpServerConfig {
|
|
|
1883
1893
|
timeout?: number;
|
|
1884
1894
|
/** Retry attempts on connection failure */
|
|
1885
1895
|
retryAttempts?: number;
|
|
1896
|
+
/**
|
|
1897
|
+
* Protocol era selection. Defaults to `auto` (modern negotiation with a
|
|
1898
|
+
* legacy fallback). Servers that only understand the 2025-era handshake
|
|
1899
|
+
* should use `legacy`; servers that must use 2026-07-28 can pin `modern`.
|
|
1900
|
+
*/
|
|
1901
|
+
protocolMode?: McpProtocolMode;
|
|
1886
1902
|
}
|
|
1887
1903
|
/**
|
|
1888
1904
|
* MCP tool definition
|
|
@@ -8536,4 +8552,4 @@ interface LangfuseObservabilityDashboardPayload {
|
|
|
8536
8552
|
tools: LangfuseToolBreakdownRow[];
|
|
8537
8553
|
}
|
|
8538
8554
|
|
|
8539
|
-
export { type A2AApiKeyEntry, type A2AApiKeyRecord, type A2AApiKeyStore, type A2AAuthContext, type A2AEventCursor, type A2ARemoteAgentConfig, AFFINITY_ECHO_HEADER, AFFINITY_MISS_CODE, AGENT_AFFINITY_HEADER, ASR_DEFAULT_KEY, type AgentClient, type AgentConfig, type AgentConfigWithTools, type AgentInterrupt, 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, CHANNEL_REPLY_JOB_LIST_LIMIT_DEFAULT, CHANNEL_REPLY_JOB_LIST_LIMIT_MAX, CHANNEL_REPLY_JOB_LIST_LIMIT_MIN, 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 ChannelReplyJob, type ChannelReplyJobStatus, type ChannelReplyJobStore, type CheckpointMaintenance, type CheckpointStorage, 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 CreateChannelReplyJobInput, type CreateCollectionRequest, type CreateConversationInput, type CreateDatabaseConfigRequest, type CreateEvalCaseRequest, type CreateEvalProjectRequest, type CreateEvalRunRequest, type CreateEvalSuiteRequest, type CreateFileShareRequest, type CreateMcpAppShareRequest, type CreateMcpServerConfigRequest, type CreateMenuItemInput, type CreateMetricsServerConfigRequest, type CreateModelProviderRequest, type CreateProjectRequest, type CreateRunStepRequest, type CreateShareRecord, type CreateShareRequest, type CreateSkillRequest, type CreateTaskRequest, type CreateTenantRequest, type CreateThreadRequest, type CreateUserRequest, type CreateUserTenantLinkRequest, type CreateWorkItemIfAbsentRequest, type CreateWorkItemRequest, type CreateWorkflowRunRequest, type CreateWorkspaceRequest, type CustomMenuConfig, DEFAULT_MODEL_KEY, type DataSource, type DatabaseConfig, type DatabaseConfigEntry, type DatabaseConfigStore, type DatabaseType, type DeepAgentConfig, type DescriptorDataValue, type DeveloperMessage, type DiscoveredModel, type DispatchResult, DuplicateChannelBindingSubjectError, EMBEDDING_DEFAULT_KEY, 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 FileShareRecord, 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 InterruptAnswerKey, type InterruptMessage, type InterruptPolicy, InvalidProjectCapabilityBundleConfigError, LANGFUSE_OBSERVABILITY_DASHBOARD_VERSION, type LLMConfig, type LangfuseAgentBreakdownRow, type LangfuseModelBreakdownRow, type LangfuseModelCostSeries, type LangfuseObservabilityDashboardPayload, type LangfuseObservabilitySeriesPoint, type LangfuseToolBreakdownRow, type LarkChannelInstallationConfig, type LatticeError, type LatticeEventBus, type LatticeMessage, type LeaseRecord, type LeaseStore, 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 McpAppShareApp, type McpAppShareBootstrap, type McpAppShareRecord, type McpAppShareTarget, 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 ModelDiscoveryResult, type ModelKind, type ModelLatticeProtocol, type ModelProviderApiStyle, type ModelProviderEntry, type ModelProviderErrorCode, type ModelProviderLlmProvider, type ModelProviderModelEntry, type ModelProviderProbeRequest, type ModelProviderProbeResult, type ModelProviderPublicEntry, type ModelProviderStatus, type ModelProviderStore, type ModelProviderUpstreamErrorCode, type ModelProviderWireProtocol, type ModelSelection, OBSERVABILITY_DASHBOARD_ELEMENT_KEY_PREFIX, type ObservabilityDashboardEnvelope, type ObservabilityDashboardInput, type ObservabilityDashboardRange, type ObservabilityDashboardResult, type OpenAuditAppendInput, type OpenAuditQuery, type OpenAuditRecord, type OpenAuditStore, type OpenCapabilitySource, type OpenCatalog, type OpenCatalogConnection, type OpenCatalogDomain, type OpenCatalogItem, type OpenCredentialKind, type OpenExecutionContext, type OpenExecutionResult, type OpenGrant, type OpenGrantSelector, type OutboundMessage, type OutboundStreamChunk, type OutboxEvent, type OutboxStore, 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 PluginDeployment, type PluginDeploymentMode, type PluginDeploymentStatus, type PluginDeploymentStore, 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 ProviderModelInput, type PublicChannelInstallationType, type QueryParams, type QueryResultFormat, type QueryWorkflowRunsOptions, type QueryWorkflowRunsResult, type QueueClient, type QueueConfig, type QueueLatticeProtocol, type QueueResult, QueueType, type QueuedExecutionMode, REPLICA_HEADER, type ReactAgentConfig, type ReplyTarget, type ResourceAddress, type ResourceResolver, type Result, type RunCancelSignal, type RunScope, type RunStep, STORE_IDENTITY_SEPARATOR, 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 ShareCardData, type ShareKind, type ShareRecord, type ShareRecordPatch, type ShareResult, type ShareTarget, 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 StoreItem, type StoreProtocol, type StorePutInput, type StoreSearchInput, StoreValidationError, 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 Tenant, type TenantModelCatalog, type TenantModelPublicEntry, type TenantStatus, type TenantStore, type TestMcpServerToolsResponse, type Thread, type ThreadCheckpointStorage, 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 UpdateModelProviderRequest, 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 WecomChannelInstallationConfig, type WorkflowAgentConfig, type WorkflowRun, type WorkflowRunStatus, type WorkflowTrackingStore, type Workspace, type WorkspaceStore, type YamlAgentStep, type YamlMapStep, type YamlParallelBlock, type YamlTopLevelStep, type YamlWorkflow, a2aEventCursorSchema, affinityEchoHeaders, assertGenericProjectConfig, assertStoreIdentity, assertStoreNamespacePrefix, assertValidCreateChannelReplyJobInput, buildAffinityMissChunk, createAgentWebAppStreamProjectionContext, descriptorDataValue, effectiveGrants, firstNonEmptyString, getSubAgentsFromConfig, getToolsFromConfig, hasTools, interruptAnswerKeySchema, isA2ARemoteAgentConfig, isDeepAgentConfig, isExecutionResultEventKey, isMcpUiRef, isProcessingAgentConfig, isProjectRoomEventId, isWorkflowAgentConfig, isWorkspacePublicRoomProjectId, normalizeChannelReplyJobListLimit, normalizeTaskMetadataScalar, observabilityDashboardElementKey, parseAgentWebAppGenUIBlock, parseMcpUiRef, parseModelKey, parseProjectRoomEventId, parseQueuedExecutionMode, parseTaskBeliefState, parseTrustedRunContext, projectAgentWebAppChunk, projectRoomUserEventScope, replaceTaskBeliefState, requireProjectTaskWorkItemStore, resolveRunScope, runCancelSignalSchema, snapshotExactArray, snapshotExactRecord, snapshotProjectRoomBotMembershipRealtime, snapshotProjectRoomMembershipRealtime, snapshotProjectRoomMessageRealtime, storeExpiresAt, storePaginationValue, taskBeliefStatesEqual, threadAffinityHeaders, toModelKey, toProjectRoomPublicBotMembership, toProjectRoomPublicMembership, toProjectRoomPublicMessage };
|
|
8555
|
+
export { type A2AApiKeyEntry, type A2AApiKeyRecord, type A2AApiKeyStore, type A2AAuthContext, type A2AEventCursor, type A2ARemoteAgentConfig, AFFINITY_ECHO_HEADER, AFFINITY_MISS_CODE, AGENT_AFFINITY_HEADER, ASR_DEFAULT_KEY, type AgentClient, type AgentConfig, type AgentConfigWithTools, type AgentInterrupt, 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, CHANNEL_REPLY_JOB_LIST_LIMIT_DEFAULT, CHANNEL_REPLY_JOB_LIST_LIMIT_MAX, CHANNEL_REPLY_JOB_LIST_LIMIT_MIN, 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 ChannelReplyJob, type ChannelReplyJobStatus, type ChannelReplyJobStore, type CheckpointMaintenance, type CheckpointStorage, 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 CreateChannelReplyJobInput, type CreateCollectionRequest, type CreateConversationInput, type CreateDatabaseConfigRequest, type CreateEvalCaseRequest, type CreateEvalProjectRequest, type CreateEvalRunRequest, type CreateEvalSuiteRequest, type CreateFileShareRequest, type CreateMcpAppShareRequest, type CreateMcpServerConfigRequest, type CreateMenuItemInput, type CreateMetricsServerConfigRequest, type CreateModelProviderRequest, type CreateProjectRequest, type CreateRunStepRequest, type CreateShareRecord, type CreateShareRequest, type CreateSkillRequest, type CreateTaskRequest, type CreateTenantRequest, type CreateThreadRequest, type CreateUserRequest, type CreateUserTenantLinkRequest, type CreateWorkItemIfAbsentRequest, type CreateWorkItemRequest, type CreateWorkflowRunRequest, type CreateWorkspaceRequest, type CustomMenuConfig, DEFAULT_MODEL_KEY, type DataSource, type DatabaseConfig, type DatabaseConfigEntry, type DatabaseConfigStore, type DatabaseType, type DeepAgentConfig, type DescriptorDataValue, type DeveloperMessage, type DiscoveredModel, type DispatchResult, DuplicateChannelBindingSubjectError, EMBEDDING_DEFAULT_KEY, 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 FileShareRecord, 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 InterruptAnswerKey, type InterruptMessage, type InterruptPolicy, InvalidProjectCapabilityBundleConfigError, LANGFUSE_OBSERVABILITY_DASHBOARD_VERSION, type LLMConfig, type LangfuseAgentBreakdownRow, type LangfuseModelBreakdownRow, type LangfuseModelCostSeries, type LangfuseObservabilityDashboardPayload, type LangfuseObservabilitySeriesPoint, type LangfuseToolBreakdownRow, type LarkChannelInstallationConfig, type LatticeError, type LatticeEventBus, type LatticeMessage, type LeaseRecord, type LeaseStore, 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 McpAppShareApp, type McpAppShareBootstrap, type McpAppShareRecord, type McpAppShareTarget, type McpClient, type McpClientOptions, type McpConnectionStatus, type McpLatticeMessage, type McpLatticeProtocol, McpMessageType, type McpProtocolMode, 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 ModelDiscoveryResult, type ModelKind, type ModelLatticeProtocol, type ModelProviderApiStyle, type ModelProviderEntry, type ModelProviderErrorCode, type ModelProviderLlmProvider, type ModelProviderModelEntry, type ModelProviderProbeRequest, type ModelProviderProbeResult, type ModelProviderPublicEntry, type ModelProviderStatus, type ModelProviderStore, type ModelProviderUpstreamErrorCode, type ModelProviderWireProtocol, type ModelSelection, OBSERVABILITY_DASHBOARD_ELEMENT_KEY_PREFIX, type ObservabilityDashboardEnvelope, type ObservabilityDashboardInput, type ObservabilityDashboardRange, type ObservabilityDashboardResult, type OpenAuditAppendInput, type OpenAuditQuery, type OpenAuditRecord, type OpenAuditStore, type OpenCapabilitySource, type OpenCatalog, type OpenCatalogConnection, type OpenCatalogDomain, type OpenCatalogItem, type OpenCredentialKind, type OpenExecutionContext, type OpenExecutionResult, type OpenGrant, type OpenGrantSelector, type OutboundMessage, type OutboundStreamChunk, type OutboxEvent, type OutboxStore, 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 PluginDeployment, type PluginDeploymentMode, type PluginDeploymentStatus, type PluginDeploymentStore, type PluginDiscoveredResource, type PluginMeta, type PluginMetaOutput, type PluginMiddlewareFactory, type PluginSkillDefinition, type PluginSkillResource, type PluginStandardConnectionConfig, type PluginToolMeta, type PluginToolUi, type PluginUiResource, 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 ProviderModelInput, type PublicChannelInstallationType, type QueryParams, type QueryResultFormat, type QueryWorkflowRunsOptions, type QueryWorkflowRunsResult, type QueueClient, type QueueConfig, type QueueLatticeProtocol, type QueueResult, QueueType, type QueuedExecutionMode, REPLICA_HEADER, type ReactAgentConfig, type ReplyTarget, type ResourceAddress, type ResourceResolver, type Result, type RunCancelSignal, type RunScope, type RunStep, STORE_IDENTITY_SEPARATOR, 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 ShareCardData, type ShareKind, type ShareRecord, type ShareRecordPatch, type ShareResult, type ShareTarget, 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 StoreItem, type StoreProtocol, type StorePutInput, type StoreSearchInput, StoreValidationError, 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 Tenant, type TenantModelCatalog, type TenantModelPublicEntry, type TenantStatus, type TenantStore, type TestMcpServerToolsResponse, type Thread, type ThreadCheckpointStorage, 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 UpdateModelProviderRequest, 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 WecomChannelInstallationConfig, type WorkflowAgentConfig, type WorkflowRun, type WorkflowRunStatus, type WorkflowTrackingStore, type Workspace, type WorkspaceStore, type YamlAgentStep, type YamlMapStep, type YamlParallelBlock, type YamlTopLevelStep, type YamlWorkflow, a2aEventCursorSchema, affinityEchoHeaders, assertGenericProjectConfig, assertStoreIdentity, assertStoreNamespacePrefix, assertValidCreateChannelReplyJobInput, buildAffinityMissChunk, createAgentWebAppStreamProjectionContext, descriptorDataValue, effectiveGrants, firstNonEmptyString, getSubAgentsFromConfig, getToolsFromConfig, hasTools, interruptAnswerKeySchema, isA2ARemoteAgentConfig, isDeepAgentConfig, isExecutionResultEventKey, isMcpUiRef, isProjectRoomEventId, isWorkflowAgentConfig, isWorkspacePublicRoomProjectId, normalizeChannelReplyJobListLimit, normalizeTaskMetadataScalar, observabilityDashboardElementKey, parseAgentWebAppGenUIBlock, parseMcpUiRef, parseModelKey, parseProjectRoomEventId, parseQueuedExecutionMode, parseTaskBeliefState, parseTrustedRunContext, projectAgentWebAppChunk, projectRoomUserEventScope, replaceTaskBeliefState, requireProjectTaskWorkItemStore, resolveRunScope, runCancelSignalSchema, snapshotExactArray, snapshotExactRecord, snapshotProjectRoomBotMembershipRealtime, snapshotProjectRoomMembershipRealtime, snapshotProjectRoomMessageRealtime, storeExpiresAt, storePaginationValue, taskBeliefStatesEqual, threadAffinityHeaders, toModelKey, toProjectRoomPublicBotMembership, toProjectRoomPublicMembership, toProjectRoomPublicMessage };
|