AGENTS.md@packages/dashboard-plugin-runtime · git:20260907.33d6653 · 2026-09-07 · sha256 b55607d9d18aed24

AGENTS.md@packages/dashboard-plugin-runtime git:20260907.33d6653A

Immutable. This exact content is served forever at /api/v1/blob/b55607d9d18aed24.

# DOX — packages/dashboard-plugin-runtime

Files in this directory. One row per source file.

| File | Purpose |
|------|---------|
| `README.md` | Package overview. Plugin loader, slot registry, slot consumers, plugin context API, Vite plugin. Public import paths: barrel, `/context` (client hooks), `/server` (loader, `ServerPluginContext`, config validator), `/vite-plugin` (`viteDashboardPluginsPlugin`). Plugins import ONLY these paths; internal-package imports banned (lint fails). Manifest = `pi-dashboard-plugin` field in `package.json`. |
| `vitest.config.ts` | Vitest config for runtime package. jsdom env, forks pool, `src/**/__tests__` include, `globalSetup` from shared test-support. Aliases `@blackbelt-technology/pi-dashboard-shared` to `../shared/src` so worktree-local shared source wins over hoisted symlink. See change: add-blackhole-session-pipeline (runtime alias pattern reused by server/client/blackhole vitest configs for `dashboard-plugin-runtime`). |