AGENTS.md@packages/client/src/lib/plugins · git:20260813.e389cb7 · 2026-08-13 · sha256 b70df8eba66bdea7
AGENTS.md@packages/client/src/lib/plugins git:20260813.e389cb7A
Immutable. This exact content is served forever at /api/v1/blob/b70df8eba66bdea7.
# DOX — packages/client/src/lib/plugins
Files in this directory. One row per source file.
| File | Purpose |
|------|---------|
| `shell-primitives.tsx` | Shell-bound UI primitive wrappers registered in `main.tsx`. Exports `ModelSelectorPrimitive` (public contract `{ current, models, onSelect, placeholder }`; injects `favorites` / `onToggleFavorite` / `onRefresh` from `ModelConfigContext` via `useModelConfigOptional()` — context absent ⇒ no favorites, no refresh, caller's list still renders) and `ThinkingLevelSelectorPrimitive` (thin pass-through to the shell `ThinkingLevelSelector`; `supportedLevels` stays caller-supplied). Extracted from `main.tsx` so the binding is testable without booting the app. See change: upgrade-model-selector-primitives. |