|
1 | 1 | # @lytics/dev-agent-cli |
2 | 2 |
|
| 3 | +## 0.4.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- 0f8c4eb: ## 🎉 v0.8.0 - Major Feature Release |
| 8 | + |
| 9 | + This release includes 33 commits with significant new features, performance improvements, and architectural enhancements. |
| 10 | + |
| 11 | + ### 🚀 Major Features |
| 12 | + |
| 13 | + - **`dev map` command** - Visualize codebase structure with component counts, exports, and hot paths (224x performance improvement!) |
| 14 | + - **`dev activity` command** - Show most active files with commit counts, recency, and complexity |
| 15 | + - **`dev owners` command** - Developer specialization breakdown with file-level ownership |
| 16 | + - **Author contribution indexing** - Indexed during `dev index` for 35x faster ownership queries |
| 17 | + - **Service layer architecture** - 7 services with dependency injection for better testability |
| 18 | + - **MetricsStore with SQLite** - Persistent code analytics with `file_authors` table |
| 19 | + - **Code metadata system** - Factual metrics replacing risk scoring |
| 20 | + - **Change frequency analysis** - Git activity tracking and hotspot identification |
| 21 | + - **Stats comparison & export** - Historical metrics analysis |
| 22 | + |
| 23 | + ### 🎨 CLI/UX Improvements |
| 24 | + |
| 25 | + - **Compact table format** for metrics commands with factual summaries |
| 26 | + - **Top-level commands** - `dev activity` and `dev owners` (refactored from `dev metrics`) |
| 27 | + - Enhanced `dev stats` output with 10x performance boost |
| 28 | + - Enhanced `dev git stats` with clean, scannable format |
| 29 | + - Enhanced `dev compact`, `dev clean`, and MCP command outputs |
| 30 | + - Modernized CLI with compact, user-friendly formatting |
| 31 | + - Comprehensive help text with examples and use cases |
| 32 | + - Visual indicators (🔥 for hotspots, ✏️ for activity) |
| 33 | + - GitHub handle resolution for developer identification |
| 34 | + |
| 35 | + ### 🏗️ Architecture & Quality |
| 36 | + |
| 37 | + - Service-oriented architecture with dependency injection |
| 38 | + - Circular dependency resolution via shared types package |
| 39 | + - Complete Zod validation across all 9 MCP adapters and external boundaries |
| 40 | + - Kero logger integration throughout |
| 41 | + - SearchService refactor for better code reuse |
| 42 | + - Improved error handling and messaging |
| 43 | + |
| 44 | + ### ⚡ Performance Optimizations |
| 45 | + |
| 46 | + - **`dev map`**: 224x speedup (103s → 0.46s) |
| 47 | + - Added `getAll()` method for fast scans without semantic search |
| 48 | + - Added `skipEmbedder` option for read-only operations |
| 49 | + - Added `getBasicStats()` to avoid expensive git enrichment |
| 50 | + - **`dev owners`**: 35x speedup (17.5s → 0.5s) |
| 51 | + - Batched git operations during indexing (1 call vs N file calls) |
| 52 | + - Author contributions stored in `file_authors` table |
| 53 | + - Offline capability - no git access needed after indexing |
| 54 | + - **`dev stats`**: 10x speedup via direct JSON reads |
| 55 | + |
| 56 | + ### 🐛 Bug Fixes |
| 57 | + |
| 58 | + - Fixed component count overflow in map generation (2.4B → 3.7K) |
| 59 | + - Fixed detailed stats persistence in indexer |
| 60 | + - Fixed ENOBUFS issues |
| 61 | + |
| 62 | + ### 📚 Documentation |
| 63 | + |
| 64 | + - Updated website for v0.7.0 features |
| 65 | + - TypeScript standards with Zod validation examples |
| 66 | + - Workflow documentation with commit checkpoints |
| 67 | + - Enhanced CLI help text across all commands |
| 68 | + |
| 69 | + ### 🧪 Testing |
| 70 | + |
| 71 | + - All 1,918 tests passing |
| 72 | + - Added comprehensive test coverage for new features |
| 73 | + - Mock updates for new `getAll()` method |
| 74 | + |
| 75 | + This release represents a significant step forward in usability, performance, and code quality. Special thanks to all contributors! |
| 76 | + |
| 77 | +### Patch Changes |
| 78 | + |
| 79 | +- Updated dependencies [0f8c4eb] |
| 80 | + - @lytics/dev-agent-core@0.8.0 |
| 81 | + - @lytics/dev-agent-mcp@0.5.0 |
| 82 | + - @lytics/dev-agent-subagents@0.5.0 |
| 83 | + |
3 | 84 | ## 0.3.0 |
4 | 85 |
|
5 | 86 | ### Minor Changes |
|
0 commit comments