cherry-studio/src
LiuVaayne 20438989f8
feat(MCPSettings): enhance JSON loading to inherit all MCPServer fields (#8498)
Use spread operator to copy all fields from parsed JSON instead of manually
mapping specific fields. This ensures all MCPServer properties including
headers, timeout, dxtVersion, and other optional fields are preserved during
JSON import.

Previously missing fields:
- headers: Record<string, string>
- timeout: number
- dxtVersion: string
- dxtPath: string
- Other optional MCPServer properties

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-25 16:56:43 +08:00
..
main feat: support Relative Path Input for Backup Directory (#8471) 2025-07-25 16:51:59 +08:00
preload feat: support Relative Path Input for Backup Directory (#8471) 2025-07-25 16:51:59 +08:00
renderer feat(MCPSettings): enhance JSON loading to inherit all MCPServer fields (#8498) 2025-07-25 16:56:43 +08:00