ronitchidara
|
6008724277
|
docs(architecture): add large file analysis for refactoring
Analyze 9 TypeScript files over 700 LOC for refactoring opportunities:
High priority:
- memory/manager.ts (2178 LOC) - Split by responsibility
Medium priority:
- bash-tools.exec.ts (1495 LOC) - Extract validation/sanitization
- tts/tts.ts (1473 LOC) - Split by provider
- exec-approvals.ts (1267 LOC) - Extract approval strategies
- node-host/runner.ts (1199 LOC) - Extract message handlers
- media-understanding/runner.ts (1118 LOC) - Extract provider adapters
Leave as-is:
- line/flex-templates.ts - Static templates
- cli/update-cli.ts - Sequential workflow
- config/schema.ts - Declarative schemas
Part of Phase 2: Architecture Cleanup
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-28 16:56:56 +05:30 |
|