Name Description Size
Chat.sys.mjs Chat 5238
ChatUtils.sys.mjs Get the current local time in ISO format with timezone offset. @returns {string} 7091
ConversationSuggestions.sys.mjs Helper to trim conversation history to recent messages, dropping empty messages, tool calls and responses @param {Array} messages - Array of chat messages @param {number} maxMessages - Max number of messages to keep (default 15) @returns {Array} Trimmed array of user/assistant messages 11279
IntentClassifier.sys.mjs Intent Classifier Engine 5403
memories
moz.build 752
prompts
SearchBrowsingHistory.sys.mjs Convert ISO timestamp string to microseconds (moz_places format). @param {string|null} iso @returns {number|null} 13785
SearchBrowsingHistoryDomainBoost.sys.mjs SearchBrowsingHistoryDomainBoost Temporary heuristic for general-category queries (games, movies, news, etc.) when semantic embeddings over title/description are insufficient. Safe to remove once richer embeddings or better intent classification lands. 8859
tests
TitleGeneration.sys.mjs Generate a default title from the first four words of a message. @param {string} message - The user's message @returns {string} The default title 2432
Tools.sys.mjs This file contains LLM tool abstractions and tool definitions. 14818
Utils.sys.mjs This module defines utility functions and classes needed for invoking LLMs such as: - Creating and running OpenAI engine instances - Rendering prompts from files 18834