Backend: - Enterprise Agent refactored from single-round to ReAct multi-turn loop - New agent.ts (LLM decision node) + tool-executor.ts (tool execution + Gen-UI) - tool-defs.ts extracted for shared tool schemas - MAX_ITERATIONS=6 safeguard against infinite loops Frontend: - MessageBubble: Markdown + code highlighting + LaTeX + tables - ThemeToggle: light/dark/system theme cycling - chart-result Gen-UI card: recharts bar/line/pie/area charts Infrastructure: - Docker Compose (lightweight): only LangGraph + Frontend, Azure cloud for PG/Redis/Blob - Dockerfiles for dev (hot reload) and prod - Makefile with dev/prod/down/logs commands - Updated CLAUDE.md and agent definitions for LangGraph.js architecture Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
21 lines
471 B
Docker
21 lines
471 B
Docker
# Frontend - Development (Vite dev server with HMR)
|
|
FROM node:20-slim
|
|
|
|
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
RUN npm install -g pnpm@10
|
|
|
|
COPY package.json pnpm-lock.yaml .npmrc ./
|
|
|
|
RUN pnpm install --frozen-lockfile
|
|
|
|
# Copy source (overridden by volume mounts in dev mode)
|
|
COPY . .
|
|
|
|
EXPOSE 5173
|
|
|
|
# Vite dev server with HMR, accessible from host
|
|
CMD ["./node_modules/.bin/vite", "--host", "0.0.0.0", "--port", "5173"]
|