The ai-window-prompts collection stores system prompts and configuration for
every feature in the Firefox Smart Window (browser/components/aiwindow). Firefox
selects the appropriate record at runtime based on the active model, major version, and
whether a default is set.
The collection mixes several record shapes, distinguished by a kind field. Each
shape is shown in its own table below:
kind): a system prompt for a feature + model, plus any additional components.kind: "params") — a model and its inference parameters for a feature; references prompt modules by name.kind: "module") — reusable, named prompt fragments.kind: "skill") — named, self-contained knowledge prompts (e.g. a policy).Fetching records…