Static Vite SPA. No server, no secrets, no environment variables for the default simulator.
Production: https://multi-agent-six-murex.vercel.app
Framework: Vite. Output: dist. SPA rewrite lives in vercel.json.
npm install
npm test
npx vercel --prodOr import the GitHub repo in the Vercel dashboard (Framework: Vite, output dist).
Confirm the HTML title/shell says Agent Collective.
Asset URLs must not assume site root /. Build with a base path:
npm run build:subpage
# equivalent: vite build --base /multi-agent/dist/index.html must reference /multi-agent/assets/….
- Deploy this repo with build command
npm run build:subpage. - On the parent site, rewrite
/multi-agentand/multi-agent/:path*to this deployment.
After npm run build:subpage, copy dist/ to public/multi-agent/ (or equivalent). Missing paths under /multi-agent/* must serve that index.html.
Keep the *.vercel.app URL and link to it. Use npm run build (base /). Fastest if a real subpath is not required.
npm run preview:subpage
# open the /multi-agent/ URL Vite printsProduction checks:
GET …/multi-agent/→ 200, HTML contains Agent Collective- JS/CSS load from
/multi-agent/assets/…(no 404s) - Create an agent / press Play — the SPA is entirely client-side
Base path is BASE_PATH / VITE_BASE or vite build --base /multi-agent/. See vite.config.ts.
Pedda-specific hosting notes: HANDOVER-peddavommond.md.