Refactor database hooks to add new session tracking features

- Introduced `getSessionById` method in HooksDatabase to retrieve session details by ID.
- Updated context, new, save, and summary hooks to utilize the new `getSessionById` method.
- Enhanced session management by adding `worker_port` and `prompt_counter` columns to relevant tables.
- Improved logging in WorkerService to provide clearer output during session initialization and processing.
- Removed redundant error logging in favor of more informative console logs.
This commit is contained in:
Alex Newman
2025-10-17 16:42:23 -04:00
parent be936d8413
commit 015b38c763
8 changed files with 147 additions and 100 deletions
+60 -55
View File
File diff suppressed because one or more lines are too long