Commit Graph

5 Commits (39d7302a4eb97171c07d1ecd6a39bd030a551ef0)

Author SHA1 Message Date
John Kenyon 39d7302a4e Add daemon shutdown functionality for testing and administration
- 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
2025-04-07 05:07:38 +00:00
John Kenyon 03eccc999f Fix XDG_RUNTIME_DIR dependency by adding fallback to temp directory 2025-04-07 04:29:27 +00:00
Developer dd3552336f Small rename 2025-04-06 05:50:43 +00:00
Developer bf4f757ef2 Fix build and runtime issues
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
2025-04-06 03:36:02 +00:00
Developer bb683724a3 Implement core project structure and functionality
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
2025-04-06 03:27:28 +00:00