- Added Shutdown message type to the protocol
- Implemented server-side handling of shutdown requests
- Made socket server exit gracefully when shutdown is requested
- Added --shutdown flag to the client for requesting daemon termination
- Ensured proper cleanup of resources on shutdown
This commit includes:
- Fixed XDG path handling to use place_runtime_file instead of get_runtime_path
- Updated JSON deserialization for Tokio async compatibility in both client and daemon
- Added missing dirs-next dependency for home directory access
- Fixed return values in several functions
- Created display module for client UI formatting
- Fixed command-line argument conflicts in daemon
This commit includes:
- Set up workspace with daemon, client, and common crates
- Implemented protocol definitions for client-server communication
- Created session management system with command execution
- Built SQLite database logging infrastructure
- Added Unix domain socket server for daemon
- Implemented client with REPL interface
- Added utility functions for paths and error handling