Botsmann now runs self-hosted on the Hetzner box "bitbaum" behind Caddy
(botsmann.orangecat.ch); Vercel is fully decommissioned.
- CI: rename the "Deploy to Vercel" workflow to a vendor-neutral CI workflow
(build/lint/test only). Actual deploy runs from .husky/pre-push → Hetzner
deploy script. Remove vercel.json and the Vercel-only deploy-monitor.sh.
- Docs: rewrite current-setup deploy/hosting text in .claude/CLAUDE.md,
README badge, docs/COMMANDS.md and docs/SHARED_CONTEXT.md to the self-hosted
box. Repoint the dead botsmann.vercel.app URL → botsmann.orangecat.ch.
- Code: neutralize "(Vercel)" route-segment comments; reword the warmup cron
comment; update the demo page tech-stack line to self-hosted.
- Keep: secret-scan guardrail (VERCEL_OIDC_TOKEN) and `env -u VERCEL` in the
husky hooks, the educational hosting-comparison page, historical docs/archive,
and executive-docs business/finance planning material (see PR body).
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Create lib/logger.ts — lightweight wrapper that outputs plain text in dev
and structured JSON in production. Replace 117 console.log/error/warn
calls across 31 files (27 API routes + 4 lib files) with logger.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When a document is processed and has no user-assigned domains, analyze
its text content with the keyword-based domain detector and auto-tag it.
This ensures documents are correctly filtered when professionals search
for relevant context.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add "Skip and chat directly" button in DemoIntake to reduce friction
- Create /api/demo/parse-pdf endpoint for unauthenticated PDF parsing
- Add PDF upload support to /try page
- Change homepage CTA from "Meet Your Professionals" to "Try Now - Free"
- Add typing indicator with animated bouncing dots in DemoChat
- Fix pdf-parse v2 import (use named export and class API)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Refactored multiple API routes and components to improve code organization and reduce duplication:
- Simplified API route implementations across chat, documents, consultations, and other endpoints
- Reorganized navigation components for better maintainability
- Added shared utility functions and hooks
- Created reusable Avatar and Logo components
- Added validation schemas and API utilities
- Improved type definitions and constants management
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add maxDuration config for chat, search, and process routes
- Add timeout wrapper for embedding generation with clear error message
- Add detailed logging throughout chat API for debugging
- Add Transformers.js for local embeddings generation
- Create document upload API with Supabase Storage
- Create document processing pipeline (parse, chunk, embed)
- Create semantic search API using pgvector
- Create RAG chat API combining search + LLM
- Add documents page UI with upload, process, and chat
- Add database migration for document status columns
- Configure Next.js to externalize ONNX packages
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>