mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-11-20 07:52:52 +08:00
1cc2c73213
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.