g-but and Claude Opus 4.5
532457299e
refactor: major codebase cleanup and consolidation
...
## Dead Code Removed
- lib/nlp.ts (418 lines - unused duplicate)
- DemoSection.old.tsx (obsolete file)
- src/components/bots/BotPage.tsx (never imported)
- TextGenerator.tsx & EmailGenerator.tsx duplicates
## Unused Packages Removed
- @sendgrid/mail (not used - only AWS SES active)
- mailgun.js (not used)
- form-data (not used)
## Structure Consolidated
- Moved all src/lib/* to lib/ (SSOT)
- Moved src/components/navigation/* to components/
- Removed empty src/ directory
- Updated all imports to use @/lib/
## Type Fixes
- Fixed implicit any types in WorkspaceDashboard.tsx
- Fixed type union in AICaseAnalysis.tsx
- Fixed typed routes issue in page.tsx
- Fixed MongoDB module load-time error
## Build
- npm run build passes successfully
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-08 00:01:42 +01:00