feat(logging): add usage logging hooks for AI stack monitoring

- Add usage-logging hook that sends events to log-ingest service
- Track session start/end, tool calls, and token usage
- Integrate with LOG_INGEST_URL environment variable
- Update hooks index to include usage-logging
This commit is contained in:
Oussama Douhou
2026-01-10 14:20:32 +01:00
parent 7c7f974e2e
commit 2ffc72f6f8
4 changed files with 240 additions and 0 deletions

View File

@@ -30,3 +30,4 @@ export { createTaskResumeInfoHook } from "./task-resume-info";
export { createStartWorkHook } from "./start-work";
export { createSisyphusOrchestratorHook } from "./sisyphus-orchestrator";
export { createTodoCodebaseCompactionInjector, createCustomCompactionHook } from "./todo-codebase-compaction";
export { createUsageLoggingHook } from "./usage-logging";