tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ChatConstants.sys.mjs (766B)


      1 /*
      2 This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this
      4 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
      5 
      6 /**
      7 * The current SQLite database schema version
      8 */
      9 export const CURRENT_SCHEMA_VERSION = 2;
     10 
     11 /**
     12 * The directory that the SQLite database lives in
     13 */
     14 export const DB_FOLDER_PATH = PathUtils?.profileDir ?? "./";
     15 
     16 /**
     17 * The name of the SQLite database file
     18 */
     19 export const DB_FILE_NAME = "chat-store.sqlite";
     20 
     21 /**
     22 * Preference branch for the Chat storage location
     23 */
     24 export const PREF_BRANCH = "browser.aiWindow.chatHistory";
     25 
     26 export {
     27  CONVERSATION_STATUS,
     28  MESSAGE_ROLE,
     29  INSIGHTS_FLAG_SOURCE,
     30  SYSTEM_PROMPT_TYPE,
     31 } from "./ChatEnums.sys.mjs";