1 Commits

Author SHA1 Message Date
1jehuang f5743008ef Unify standalone and client TUI code
- Add TuiState trait for shared UI rendering interface
- Add run_remote() method to App for client mode
- Create RemoteConnection in backend.rs for server communication
- Add debug socket event broadcasting for state comparison
- Fix standalone ToolUseStart to update status and streaming_tool_calls
- Fix standalone ToolResult to update display immediately (not batched)
- Deprecate ClientApp (use App::new_for_remote().run_remote() instead)
- Add debug_socket_test.sh script for testing

Both standalone and client now use the same App struct and UI code,
just with different backends (local vs remote server).
2026-01-14 17:11:58 -08:00