Files
Owlbay 1cc2c73213 fix(mcp): follow up on Pi MCP sync review notes (#7888)
Follow-up to #7862.

- Import from Pi follows Pi's rules: SSE entries, invalid names, names that differ only by -/_ from another entry or from a server already enabled for Pi are skipped and reported instead of being imported enabled and failing every sync.
- When the Pi agent directory does not exist, nothing is written (no more creating ~/.pi/agent/mcp.json); Pi's rules are still enforced, and the -/_ collision check against servers enabled for Pi runs under the Pi write lock so concurrent toggles cannot enable both.
- Map the Pi SSE / invalid-name / name-collision errors to zh, zh-TW, en and ja.
- Document Pi MCP limits, sync condition and import rules in the zh/en/ja user manual.
- Pi integration tests clear PI_CODING_AGENT_DIR and clean .pi.
2026-11-02 13:03:03 +08:00
..