Commit graph

19 commits

Author SHA1 Message Date
tanzhenxin
5926b37f4d feat(cli): Refine insight progress indicator UI
- Single-line layout with muted bar, accent stage text
- Inline

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>... in stage messages for cleaner code
- Simplify command intro text
2026-02-26 15:25:39 +08:00
tanzhenxin
f47bef1ded fix(insight): count only user interactions in metrics
- Update totalMessages to count only user messages and slash commands
- Update heatmap to reflect only user interactions
- Update activeHours to reflect only user interactions
- Update tests to verify slash commands are counted correctly

This ensures the insight report accurately reflects actual user engagement
rather than including internal tool calls and system events.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-26 11:57:21 +08:00
tanzhenxin
c948e0c6e9 fix(insight): only analyze conversational sessions for facets
Filter sessions to only include those with both user and assistant
records when generating facets. This prevents system-only logs from
being analyzed, ensuring more accurate session insights.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-26 11:26:04 +08:00
DragonnZhang
2421bb185b feat(insight): refactor prompts and integrate dynamic prompt retrieval 2026-02-11 19:01:47 +08:00
DragonnZhang
83dc4ca4ec feat(insight): add shareable card and dev environment support
Add Twitter/X-optimized share card component for exporting insights as an
image. Include Vite dev setup for local development with hot reload. Increase
DataProcessor timeout and concurrency for better reliability with large
datasets.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-11 16:16:54 +08:00
DragonnZhang
e29aab478e feat(DataProcessor): use constant for concurrency limit in pLimit calls 2026-02-10 14:10:31 +08:00
DragonnZhang
e66c203cb0 feat(insight): Refactor code structure for improved readability and maintainability 2026-02-09 19:09:02 +08:00
DragonnZhang
af21e7fdd9 feat: enhance InsightPrompts and components with additional data handling
- Updated InsightPrompts to clarify user request counting guidelines.
- Modified App.js to pass new props (topGoals, topTools) to ProjectAreas and ImpressiveWorkflows components.
- Enhanced ProjectAreas and ImpressiveWorkflows components to utilize new props for improved data visualization.
- Refactored FrictionPoints component layout to use grid display for better responsiveness.
- Removed legacy insight-app.js file to streamline the codebase.
- Expanded StaticInsightTypes to include primarySuccess, outcomes, and topGoals for better data structure.
2026-02-09 15:16:30 +08:00
DragonnZhang
fa8d596a31 feat(insight): enhance metrics generation with progress tracking and batch processing 2026-02-09 15:16:30 +08:00
DragonnZhang
0dc359405e feat(insight): add progress tracking for insight generation and display updates 2026-02-09 15:16:29 +08:00
DragonnZhang
20de2a001a feat(insight): add satisfaction and friction data aggregation and display in insights 2026-02-09 15:16:29 +08:00
DragonnZhang
f57e2619f1 feat(insight): remove Token Usage and Achievements from report
Removes Token Usage metrics and Achievements section from the generated insight report.
- Removes calculation logic in DataProcessor
- Removes types in StaticInsightTypes
- Removes UI sections in insight-app.js
2026-02-09 15:16:29 +08:00
DragonnZhang
754125e75c feat(insight): add tracking for lines and files in analysis and enhance stats display 2026-02-09 15:16:29 +08:00
DragonnZhang
aeedec3020 feat(insight): enhance qualitative insights display and improve styling 2026-02-09 15:16:29 +08:00
DragonnZhang
5a7dcce196 feat(insight): refactor data processing and add qualitative insights structure 2026-02-09 15:16:29 +08:00
DragonnZhang
39d2067d14 feat(insight): update static insight generator and command handling
- Refine DataProcessor and StaticInsightGenerator logic
- Update StaticInsightTypes definitions
- Enhance insight command implementation
- Update package dependencies
2026-02-09 15:16:28 +08:00
DragonnZhang
338387f93a feat(insight): integrate JSONL file reading utility and enhance base CSS styles 2026-02-09 15:16:27 +08:00
DragonnZhang
2931e75a17 refactor(insight): remove debug logging and unused test generator 2026-02-09 15:16:27 +08:00
DragonnZhang
0e55800941 feat(insight): Implement static insight generation and visualization
- Add HTML template for insights display.
- Create JavaScript application logic for rendering insights.
- Introduce CSS styles for layout and design.
- Develop a test generator for validating the static insight generator.
- Define TypeScript interfaces for structured insight data.
- Refactor insight command to generate insights and open in browser.
- Remove the need for a server process by generating static files directly.
2026-02-09 15:16:26 +08:00