Steve Yegge
dacf8de993
Implement daemon registry system (bd-07b8c8)
...
- Created global daemon registry at ~/.beads/registry.json
- Daemons auto-register on start, unregister on graceful shutdown
- DiscoverDaemons() now uses registry instead of filesystem scan
- Instant daemon discovery (35ms vs indefinite hang)
- Auto-cleanup of stale registry entries
- Full test coverage
Closes bd-07b8c8, bd-acb971c7
2025-10-30 18:37:12 -07:00
Steve Yegge
9eafdf9f0e
Remove unused strings import in Windows build
2025-10-26 23:47:14 -07:00
Steve Yegge
7980b9c9e9
Implement bd daemons killall and logs (bd-153, bd-152)
...
Amp-Thread-ID: https://ampcode.com/threads/T-f1cff202-188b-4850-a909-c2750d24ad22
Co-authored-by: Amp <amp@ampcode.com >
2025-10-26 19:03:00 -07:00
Steve Yegge
93e170627d
bd-154: Implement bd daemons stop and restart subcommands
2025-10-26 18:35:28 -07:00
Steve Yegge
9448d5227c
bd-149: Add auto-cleanup of stale sockets and PID files to bd daemons list
2025-10-26 18:17:33 -07:00
Steve Yegge
c61ca494fe
feat(daemons): implement discovery and list command (bd-146, bd-147)
...
- Add daemon discovery mechanism with socket scanning
- Implement depth-limited filesystem walk to avoid hangs
- Add DaemonInfo struct with metadata collection
- Create 'bd daemons list' command with table and JSON output
- Add FindDaemonByWorkspace and CleanupStaleSockets utilities
- Fix workspace path to be parent of .beads directory
- Add comprehensive tests for discovery functionality
Closes bd-146
Closes bd-147
2025-10-26 18:10:24 -07:00