Replace manual IPC method mapping with Proxy-based approach.
Method names now automatically route to IPC channels,
eliminating the need to update this file when adding new APIs.
- Uses Proxy to intercept property access
- Static properties (platform) handled separately
- Supports variable argument counts via rest parameters
- Move type definitions from src/renderer/src/types/ to src/shared/types/
- Add @shared/* path alias to tsconfig.node.json and tsconfig.web.json
- Update all imports from @renderer/types/* to @shared/types/*
- Update AGENTS.md with new directory structure and path alias
This fixes architecture violation where main/preload processes imported
from renderer directory. Types are now properly shared across all processes.
- Make name field optional (defaults to domain if empty)
- Simplify domain placeholder and error messages
- Add test connection button for credential validation before save