Commit Graph

3 Commits

Author SHA1 Message Date
5c76b19624 refactor: packet-based IPC with core/ui separation
- All logic in core layer (BackendServer runs independently)
- Packet protocol: {id, type, body} for all communications
- UI simplified: just input→backend→display
- Config, history, tools all handled by core
- BackendServer can run standalone without UI
2026-04-12 20:47:07 +08:00
a820afada9 feat: add config/history management to core layer
- Add GET_CONFIG, SET_CONFIG, GET_HISTORY, SAVE_HISTORY to BackendServer
- Update BackendClient with get_config, get_message_history, save_message_history
- All API key and message history now stored in core layer
2026-04-12 18:22:07 +08:00
83906a6985 refactor: restructure to core/ + ui/ with multi-threaded backend 2026-04-12 18:15:55 +08:00