Commit Graph
2 Commits
Author SHA1 Message Date
Daniel SamsonandClaude Opus 4.5 1ce74e0bc8 fix(logging): suppress logback status messages in CLI output
- Add NopStatusListener to suppress logback initialization messages
- Remove console appender from default root logger (file only)
- CLI commands now show clean output without logging noise

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 21:48:45 +00:00
Daniel SamsonandClaude Opus 4.5 92810cabee feat(service): add IPC communication and service management
Implement proper CLI-to-service communication via Unix domain sockets,
fixing issue where CLI commands couldn't see jobs managed by the service.

Key changes:
- Add IPC client/server for CLI-service communication
- Fix directory mismatch (CLI used java.io.tmpdir, service used /tmp/barn)
- Add service management commands (start, stop, restart, reload, logs)
- Add service installation for macOS (launchd), Linux (systemd), Windows
- Add process usage monitoring (barn usage command)
- Add job state breakdown in service status (succeeded, failed, canceled)
- Add output formatters (human, JSON, XML)
- Add crash recovery and heartbeat checking
- Add structured logging with MDC context

The CLI commands now properly communicate with the running service
via IPC, ensuring consistent job state visibility.

Fixes #24

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 21:41:02 +00:00