Jarvis
0793893228
refactor: extract PathResolver from main.ts - complete Phase 1
Extract all path resolution utilities from main.ts into a focused
PathResolver module, completing the Phase 1 refactoring of main.ts
into 6 focused modules.
- Create PathResolver.ts with path resolution and validation utilities
- Extract resolveExecutablePath() with system search fallback logic
- Extract prepareOutputPath() with directory creation and security validation
- Delegate path operations from main.ts to PathResolver
- Reduce main.ts by ~80 lines while maintaining all functionality
Phase 1 Summary:
- ✅ PluginLifecycle.ts (89 lines) - Plugin initialization & cleanup
- ✅ CommandRegistry.ts (35 lines) - Command registration & handlers
- ✅ EventHandlers.ts (109 lines) - Event handling & menu items
- ✅ ExportOrchestrator.ts (263 lines) - Export workflow coordination
- ✅ FontManager.ts (120 lines) - Font discovery & caching
- ✅ PathResolver.ts (80 lines) - Path resolution utilities
Total: Reduced main.ts from 1792 → ~1100 lines (39% reduction)
All functionality preserved with improved maintainability
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 09:39:50 +02:00
..
2025-09-08 19:19:01 +02:00
2025-09-08 19:27:38 +02:00
2025-09-08 19:49:20 +02:00
2025-09-08 20:13:07 +02:00
2025-09-09 09:39:50 +02:00
2025-09-08 19:14:11 +02:00