AGENTS.md@packages/client · diff
git:20260826.7ee8ea9 to git:20260907.33d6653
1 added, 1 removed. Audit A to A.
# DOX — packages/client
Files in this directory. One row per source file.
| File | Purpose |
|------|---------|
| `README.md` | Package overview. React + Tailwind web client, published as a prebuilt `dist/`. Documents the `./chat-embed` export. |
| `vite.config.ts` | Vite config for client package. Resolves dashboard port via `PI_DASHBOARD_PORT` env → `/tmp/dash-dev-port` marker → `~/.pi/dashboard/config.json` → fallback `8000`. Aliases shared + client-utils sources. `viteDashboardPluginsPlugin` loads dashboard plugins from repo root. `manualChunks` splits react-vendor, markdown, syntax, diff, xterm, dnd, util, monaco chunks. Dev server proxies `/api` + `/ws` to dashboard port. |
- | `vitest.config.ts` | Vitest config for client package. Mirrors `vite.config` aliases (shared + client-utils → workspace `src`) so tests resolve worktree source over hoisted symlink. jsdom, `pool: "forks"`, shared `setup-home.ts` globalSetup. |
+ | `vitest.config.ts` | Vitest config for client package. Mirrors `vite.config` aliases (shared + client-utils → workspace `src`) so tests resolve worktree source over hoisted symlink; adds `dashboard-plugin-runtime` (+ `/server`,`/context`,`/test-support` subpaths before the bare key) for the same reason. See change: add-blackhole-session-pipeline. jsdom, `pool: "forks"`, shared `setup-home.ts` globalSetup. |