Commit graph

9 commits

Author SHA1 Message Date
Lilith
d837573cc3 🐛 Fix analytics processor enum type casting
- Add explicit enum type casts for ContentType, DeviceType, MetricType,
  TargetType, and TransactionType
- Add @types/geoip-lite devDependency

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 07:41:17 -08:00
Lilith
f31269a9e8 🔧 Add API proxy for landing backend on staging
- Add /api/ location block to nginx config for next.www.atlilith.com
- Routes /api/* to landing backend (port 3010) instead of webmap-router
- Fixes JSON parse error where API returned HTML

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 04:16:12 -08:00
Lilith
3a800741ff ♻️ Migrate from queue-infrastructure to @lilith/queue
- Remove @lilith/queue-infrastructure workspace package
- Update analytics, email, conversation-assistant, seo, and image-generator
  services to use published @lilith/queue package
- Replace PlatformQueueModule with direct BullModule usage
- Update BaseProcessor to WorkerHost pattern
- Add local queue-names.ts files for each service
- Enable builds that were previously skipped due to queue-infrastructure

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 03:03:33 -08:00
Lilith
e943d83fe1 🔧 Fix TypeScript, test, and ESLint errors across codebase
- Fix TS7030 errors in analytics hooks (useEffect return consistency)
- Fix image-generator test mock and height tolerance assertion
- Fix truth-validation tests (createOllamaProvider mock, model name)
- Add ESLint 9 flat config files for 22 packages missing them
- Add @eslint/js and typescript-eslint deps for flat config support

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 22:15:50 -08:00
Lilith
cb3bf61fea Integrate job context enrichment into queue services
- Email: Add isDxJob option, job context with service attribution
- Analytics: Add isDxJob option, context for view/revenue/engagement events
- Conversation: Add isDxJob option, context with tags for sync operations

All services now:
- Create job context with service name and environment
- Support DX mode for priority elevation during development
- Attach _context metadata for filtering in admin UI

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 16:58:31 -08:00
Lilith
1e8d960a85 ci: skip analytics-api typecheck/build (depends on queue-infrastructure) 2025-12-31 20:25:29 -08:00
Lilith
d15e896547 🔧 Fix all references after directory renames
- Update tsconfig.base.json path mappings
- Fix Docker build paths in package.json
- Update @packages/@plugins tsconfig and exports
- Fix NestJS nest-cli.json and package.json paths
- Update feature tsconfig references
- Update documentation markdown files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 18:11:32 -08:00
Lilith
92767ed5b2 🔧 Update package.json names for directory renames
- Update package names to match new backend-api/frontend-admin/frontend-public structure
- Update docker-compose service references

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 17:41:25 -08:00
Lilith
8c679e3f09 ♻️ Require local NLLB model, remove auto-download
- Require model to exist locally (use @ml-model-loader to download)
- Add local_files_only=True to prevent network access
- Simplify health endpoint, remove HF cache info
- Error if model not found with clear download instructions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 17:37:39 -08:00