Steve Yegge
b5839b656d
Fix compilation errors in internal/daemonrunner package
Created missing files:
- logger.go: Logger type, setupLogger method, and env helpers
- signals_unix.go: Unix signal definitions (SIGTERM, SIGINT, SIGHUP)
- signals_windows.go: Windows signal definitions
- sync.go: Sync loop implementation with export/import/validation helpers
Fixed errors:
- Added missing 'version' parameter to acquireDaemonLock call
- Removed duplicate setupLock method from process.go (kept in daemon.go)
- Removed duplicate startRPCServer from daemon.go (kept in rpc.go)
- Fixed LogPath -> LogFile config field reference
- Removed unused 'io' import from process.go
Implementation notes:
- exportToJSONL: Full implementation with dependencies, labels, comments
- importFromJSONL: Placeholder (TODO: extract from cmd/bd/import.go)
- countDBIssues: Uses SQL COUNT(*) optimization with fallback
- validatePostImport: Checks for data loss
- runSyncLoop/runEventLoop: Main daemon event loops with signal handling
All packages now compile successfully with 'go build ./...'
Amp-Thread-ID: https://ampcode.com/threads/T-36a7f730-3420-426f-9e23-f13d5fa089c4
Co-authored-by: Amp <amp@ampcode.com>
2025-11-01 19:10:27 -07:00
..
2025-10-31 00:19:42 -07:00
2025-10-31 18:40:32 -07:00
2025-10-31 21:27:33 -07:00
2025-10-31 18:40:32 -07:00
2025-10-31 01:07:42 -07:00
2025-10-27 20:08:50 -07:00
2025-10-26 22:31:24 -07:00
2025-10-30 15:41:46 -07:00
2025-11-01 11:11:20 -07:00
2025-10-31 22:39:53 -07:00
2025-10-26 21:55:01 -07:00
2025-10-31 21:51:54 -07:00
2025-10-30 14:42:08 -07:00
2025-11-01 12:41:49 -07:00
2025-10-27 20:08:50 -07:00
2025-10-29 12:32:27 -07:00
2025-10-29 22:55:13 -07:00
2025-10-31 20:18:05 -07:00
2025-10-26 18:37:25 -07:00
2025-10-26 22:48:19 -07:00
2025-10-29 15:30:47 -07:00
2025-10-29 15:53:41 -07:00
2025-10-29 11:47:40 -07:00
2025-10-29 22:55:13 -07:00
2025-11-01 19:10:27 -07:00
2025-10-31 18:40:32 -07:00
2025-10-26 22:48:19 -07:00
2025-10-31 22:38:39 -07:00
2025-10-31 15:11:29 -07:00
2025-10-31 15:11:29 -07:00
2025-10-28 19:46:12 -07:00
2025-10-26 22:31:24 -07:00
2025-10-31 21:27:05 -07:00
2025-11-01 17:05:47 -07:00
2025-10-31 19:51:44 -07:00
2025-11-01 11:11:20 -07:00
2025-10-27 20:00:49 -07:00
2025-10-29 21:57:15 -07:00
2025-10-26 23:06:03 -07:00
2025-10-31 22:39:53 -07:00
2025-10-27 20:45:59 -07:00
2025-10-27 22:44:40 -07:00
2025-10-31 01:07:42 -07:00
2025-10-27 20:00:49 -07:00
2025-10-30 22:24:42 -07:00
2025-10-31 01:07:42 -07:00
2025-10-31 22:39:53 -07:00
2025-10-27 20:08:50 -07:00
2025-10-31 01:38:29 -07:00
2025-10-27 20:00:49 -07:00
2025-10-26 20:17:48 -07:00
2025-10-31 01:07:42 -07:00
2025-10-26 22:31:24 -07:00
2025-10-31 14:36:20 -07:00
2025-10-31 21:27:33 -07:00
2025-10-28 11:34:27 -07:00
2025-10-31 17:17:33 -07:00
2025-10-31 22:01:45 -07:00
2025-10-27 20:08:50 -07:00
2025-10-27 20:00:49 -07:00
2025-10-31 14:36:20 -07:00
2025-10-30 16:28:13 -07:00
2025-10-30 16:28:13 -07:00
2025-10-26 19:20:59 -07:00
2025-10-31 22:39:53 -07:00
2025-10-31 17:26:37 -07:00
2025-10-27 20:21:34 -07:00
2025-10-31 18:12:40 -07:00
2025-10-27 20:08:50 -07:00
2025-10-31 18:15:13 -07:00
2025-10-27 22:59:19 -07:00
2025-10-27 18:31:01 +00:00
2025-10-26 22:31:24 -07:00
2025-10-31 14:36:20 -07:00
2025-10-29 12:56:51 -07:00
2025-10-31 22:39:53 -07:00
2025-10-31 19:44:43 -07:00
2025-10-31 22:39:53 -07:00
2025-10-31 20:29:17 -07:00
2025-10-31 14:36:20 -07:00
2025-10-27 20:38:13 -07:00
2025-10-31 23:03:56 -07:00
2025-10-31 23:03:56 -07:00
2025-10-31 19:44:43 -07:00
2025-10-31 22:39:53 -07:00
2025-10-27 20:08:50 -07:00
2025-10-31 19:44:43 -07:00
2025-10-31 19:37:18 -07:00
2025-11-01 10:43:38 -07:00