qwen-code/packages
echoVic 1789b16914 feat: support MCP readOnlyHint annotation in plan mode (#1826)
MCP tools annotated with readOnlyHint: true are now allowed to execute
in plan mode without being blocked. Previously, all MCP tools were
assigned Kind.Other and required confirmation, causing plan mode to
block even read-only MCP tools.

Changes:
- Add McpToolAnnotations interface to mcp-tool.ts
- Fetch tool annotations via mcpClient.listTools() during discovery
- Pass annotations through to DiscoveredMCPTool and its invocation
- Set Kind.Read for tools with readOnlyHint: true (instead of Kind.Other)
- Skip confirmation for readOnlyHint: true tools in shouldConfirmExecute

Fixes #1826
2026-02-14 15:07:03 +08:00
..
cli fix: ts error 2026-02-13 22:12:00 +08:00
core feat: support MCP readOnlyHint annotation in plan mode (#1826) 2026-02-14 15:07:03 +08:00
sdk-java feat: promote Agent Skills from experimental to stable 2026-02-06 13:04:08 +08:00
sdk-typescript feat: enhance session ID handling and error propagation 2026-02-13 21:41:38 +08:00
test-utils chore: bump version to 0.10.1 2026-02-11 19:22:31 +08:00
vscode-ide-companion chore: bump version to 0.10.1 2026-02-11 19:22:31 +08:00
webui chore: bump version to 0.10.1 2026-02-11 19:22:31 +08:00
zed-extension chore(zed-extension): update package version to 0.10.0 2026-02-06 14:26:01 +08:00