Files
bun.sh/test/cli
Claude Bot 5be5b28cd4 Add process manager CLI skeleton (incomplete implementation)
This commit adds the basic CLI structure for a process manager feature with
four new commands: start, stop, list, and logs. The implementation provides
the command routing and basic structure but is NOT FUNCTIONAL yet.

What this commit adds:
- CLI commands: bun start/stop/list/logs with proper help text
- Protocol definitions for IPC communication
- Manager daemon skeleton with process spawning logic
- Client connection structure
- Basic integration tests verifying CLI wiring

What is NOT implemented:
- Unix socket communication between client and daemon
- Actual daemon lifecycle management
- Log following and real-time output
- Process monitoring and auto-restart

The socket communication functions return NotImplemented errors. This is
intentional - the full implementation requires deep integration with uSockets
and proper event loop handling which is beyond the scope of this initial commit.

Tests verify that:
- Commands are properly registered and show usage messages
- The list command returns "no processes" when manager is not running
- Commands fail gracefully with NotImplemented errors

This skeleton can serve as a foundation for future work to complete the
socket communication and daemon implementation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 18:28:10 +00:00
..
2025-05-24 13:36:51 -07:00
2025-10-11 08:23:25 -07:00