Name Description Size Coverage
AgentCommands.mjs Defines the agent commands that may be triggered when a slash is typed. Commands listed here will be available in the palette, but the AgentUI will still need to register handlers. 2662 -
AITabUtils.mjs @import { A2UIComponent } from "moz-src:///browser/components/aiwindow/models/aitab/AITab.sys.mjs" 1248 -
ChatMarkdownParser.mjs Markdown parser for Smart Window chat messages. 3799 -
ClientErrorTelemetry.mjs Shared vocabulary and helpers for the smart_window.client_error event. The event is recorded in the parent process by SmartWindowTelemetry.recordClientError(), but the Smart Window UI that reports failures runs in two documents: the chrome document, which can call Glean directly, and the about:aichatcontent document, which lives in a content process and has to relay through AIChatContentChild/Parent. Keeping the key sets, the field extraction and the message normalization here means both sides describe a failure the same way, whichever route it takes. 8152 -
ModelIcons.mjs 675 -
SmartFormFillConstants.mjs @typedef {object} FormReviewField @property {string} id The stable ID of the detected form field. @property {string} label The label detected for the form field. @property {string} placeholder The form field’s placeholder text. @property {string} name The form field’s name attribute. @property {string} value The generated or user-edited field value. 2916 -
TrustedInternalURLs.mjs The internal pages the chat may link to, one check each. Callers compose the set they trust: AIChatContentParent gates navigation, ai-chat-message gates whether a link stays clickable and additionally requires a generated page to have been seen, which the parent process has no access to. 2015 -