terraphim-session-analyzer 1.16.33

Analyze AI coding assistant session logs to identify agent usage patterns
Documentation
1
2
3
4
5
6
7
8
9
{"parentUuid":null,"isSidechain":false,"userType":"external","cwd":"/home/alex/projects/test-project","sessionId":"task-session-001","version":"1.0.111","gitBranch":"","type":"user","message":{"role":"user","content":"I need to design a new microservice architecture"},"uuid":"user-msg-001","timestamp":"2025-10-01T10:00:00.000Z"}
{"parentUuid":"user-msg-001","isSidechain":false,"userType":"external","cwd":"/home/alex/projects/test-project","sessionId":"task-session-001","version":"1.0.111","gitBranch":"","message":{"role":"assistant","content":[{"type":"tool_use","id":"task_architect","name":"Task","input":{"subagent_type":"architect","description":"Design microservice architecture for scalable system","prompt":"Design a comprehensive microservice architecture that follows best practices for scalability, maintainability, and security. Include service boundaries, communication patterns, and data flow."}}]},"type":"assistant","uuid":"architect-msg-001","timestamp":"2025-10-01T10:00:05.000Z"}
{"parentUuid":"architect-msg-001","isSidechain":false,"userType":"external","cwd":"/home/alex/projects/test-project","sessionId":"task-session-001","version":"1.0.111","gitBranch":"","message":{"role":"tool_result","content":[{"tool_use_id":"task_architect","type":"text","content":"I'll design a microservice architecture for your system. Let me start by analyzing the requirements and creating the service boundaries."}]},"type":"tool_result","uuid":"architect-result-001","timestamp":"2025-10-01T10:00:07.000Z"}
{"parentUuid":"architect-result-001","isSidechain":false,"userType":"external","cwd":"/home/alex/projects/test-project","sessionId":"task-session-001","version":"1.0.111","gitBranch":"","message":{"role":"assistant","content":[{"type":"tool_use","id":"task_developer","name":"Task","input":{"subagent_type":"developer","description":"Implement the user service based on architectural design","prompt":"Based on the architectural design, implement the user service with authentication, authorization, and user management capabilities. Use best practices for API design and data persistence."}}]},"type":"assistant","uuid":"developer-msg-001","timestamp":"2025-10-01T10:15:30.000Z"}
{"parentUuid":"developer-msg-001","isSidechain":false,"userType":"external","cwd":"/home/alex/projects/test-project","sessionId":"task-session-001","version":"1.0.111","gitBranch":"","message":{"role":"tool_result","content":[{"tool_use_id":"task_developer","type":"text","content":"I'll implement the user service with the following components: authentication middleware, user repository, and REST API endpoints."}]},"type":"tool_result","uuid":"developer-result-001","timestamp":"2025-10-01T10:15:32.000Z"}
{"parentUuid":"developer-result-001","isSidechain":false,"userType":"external","cwd":"/home/alex/projects/test-project","sessionId":"task-session-001","version":"1.0.111","gitBranch":"","message":{"role":"assistant","content":[{"type":"tool_use","id":"task_tester","name":"Task","input":{"subagent_type":"test-writer-fixer","description":"Create comprehensive test suite for the user service","prompt":"Write comprehensive tests for the user service including unit tests, integration tests, and end-to-end tests. Cover authentication flows, edge cases, and error handling."}}]},"type":"assistant","uuid":"tester-msg-001","timestamp":"2025-10-01T10:45:15.000Z"}
{"parentUuid":"tester-msg-001","isSidechain":false,"userType":"external","cwd":"/home/alex/projects/test-project","sessionId":"task-session-001","version":"1.0.111","gitBranch":"","message":{"role":"tool_result","content":[{"tool_use_id":"task_tester","type":"text","content":"I'll create a comprehensive test suite covering all aspects of the user service functionality."}]},"type":"tool_result","uuid":"tester-result-001","timestamp":"2025-10-01T10:45:17.000Z"}
{"parentUuid":"tester-result-001","isSidechain":false,"userType":"external","cwd":"/home/alex/projects/test-project","sessionId":"task-session-001","version":"1.0.111","gitBranch":"","message":{"role":"assistant","content":[{"type":"tool_use","id":"task_backend","name":"Task","input":{"subagent_type":"backend-architect","description":"Optimize backend performance and scalability","prompt":"Review the implemented services and optimize for performance and scalability. Focus on database queries, caching strategies, and async processing."}}]},"type":"assistant","uuid":"backend-msg-001","timestamp":"2025-10-01T11:00:45.000Z"}
{"parentUuid":"backend-msg-001","isSidechain":false,"userType":"external","cwd":"/home/alex/projects/test-project","sessionId":"task-session-001","version":"1.0.111","gitBranch":"","message":{"role":"tool_result","content":[{"tool_use_id":"task_backend","type":"text","content":"I'll optimize the backend for performance by implementing Redis caching, database indexing, and async processing patterns."}]},"type":"tool_result","uuid":"backend-result-001","timestamp":"2025-10-01T11:00:47.000Z"}