Kacper
|
108d52ce9f
|
refactor: consolidate git utilities and model constants
COMPLETED MIGRATIONS:
- Migrate git utilities from routes/common.ts (383 lines → 39 lines)
- Replace duplicated code with imports from @automaker/git-utils
- Keep only route-specific utilities (getErrorMessage, createLogError)
- All git operations now use shared package consistently
- Remove duplicate model constants in UI
- Update model-config.ts to import from @automaker/types
- Update agent-context-parser.ts to use DEFAULT_MODELS.claude
- Removed 40+ lines of duplicated code
DEFERRED (Server-Specific):
- enhancement-prompts.ts (456 lines) - Server-only, no UI usage
- app-spec-format.ts (318 lines) - Server-only, no UI usage
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2025-12-20 00:20:11 +01:00 |
|