| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Zqjeo upgrade (#2976) * Update the new flutter, ndk version to setup scripts, ci, docs * Reformat app/ * Reformat code for backend, mcp, plugins | 11 个月前 | |
Zqjeo upgrade (#2976) * Update the new flutter, ndk version to setup scripts, ci, docs * Reformat app/ * Reformat code for backend, mcp, plugins | 11 个月前 | |
Zqjeo upgrade (#2976) * Update the new flutter, ndk version to setup scripts, ci, docs * Reformat app/ * Reformat code for backend, mcp, plugins | 11 个月前 | |
fix(mcp): support MCP 2.0 while maintaining backwards compatibility (#13422) * fix(mcp): support MCP 2.0 while maintaining backwards compatibility The standalone MCP server failed at startup under `mcp>=2.0.0` (pinned in `mcp/pyproject.toml` constraint-dependencies) with: `AttributeError: 'Server' object has no attribute 'list_tools'`. Refactor tool registration into a dual-mode server constructor: - Supports MCP 2.x by wiring `on_list_tools` and `on_call_tool` handlers during `Server` initialization. - Retains backwards compatibility with MCP 1.x by falling back to the `@server.list_tools()` and `@server.call_tool()` decorator API when available. - Exposes `create_server()` to facilitate lifecycle testing and server verification. - Adds `mcp/tests/test_server_lifecycle.py` verifying tool definitions, capability discovery, and stdio/memory session tool listing across all 8 tools. Failure-Class: none Closes #13020 Co-authored-by: sowmyarang26-boop <sowmyarang26-boop@users.noreply.github.com> * fix(mcp): redact api_key from tool execution logging Mask api_key in tool execution log messages to avoid writing Bearer credentials to logs. Failure-Class: none Co-authored-by: CreamPle <CreamPle@users.noreply.github.com> * test(mcp): add legacy MCP 1.x compatibility test for server decorators Failure-Class: none --------- Co-authored-by: CreamPle <CreamPle@users.noreply.github.com> Co-authored-by: sowmyarang26-boop <sowmyarang26-boop@users.noreply.github.com> | 4 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 4 天前 |