fix: keep approval batching internal
CI / Client installer (macos-latest) (push) Canceled after 0s
CI / Client installer (ubuntu-latest) (push) Canceled after 0s
CI / Client installer (windows-latest) (push) Canceled after 0s
CI / test (22) (push) Canceled after 0s
CI / test (24) (push) Canceled after 0s
CI / release-smoke (push) Canceled after 0s

This commit is contained in:
2026-08-18 01:55:34 +00:00
parent 504145aec6
commit 1d1c7e1d8a
7 changed files with 22 additions and 25 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ test("MCP approval_login returns both portable text and a standard resource link
assert.equal((history.inputSchema as any).properties.endDate.default, "");
const batch = tools.tools.find((tool) => tool.name === "approval_process_batch")!;
assert.equal((batch.inputSchema as any).properties.items.maxItems, 20);
assert.match(batch.description ?? "", /最多 20 条.*零写入/s);
assert.match(batch.description ?? "", /Schema容量.*不向用户解释.*任一无效则零写入/s);
} finally {
await client.close();
await server.close();