Creates a new OnboardingChat component that provides an embedded chat experience between the user and the CEO agent during onboarding. How it works: - After CEO creation (step 3), a planning task is auto-created and assigned to the CEO with the company mission as context - An initial comment kicks off the conversation asking the CEO to propose a hiring plan - OnboardingChat polls issuesApi.listComments every 4 seconds - Messages render as chat bubbles (user on right, agent on left) - A "thinking" indicator shows when waiting for the agent - Automatically detects hiring plan patterns in agent responses (markdown headers/lists with role names) - Calls onPlanDetected callback when a plan is found The existing issue comment system is the backbone — no new server endpoints needed. The agent wakes up automatically when comments are posted via the existing wakeup-on-comment pipeline. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| components.json | ||
| index.html | ||
| package.json | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||