LLM Frontend for Power Users.
445 matches across 11 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/util.test.js | 8 | function createMockExpressResponse() { |
| LOW | tests/frontend/MacroLexer.e2e.js | 1320 | async function runLexerGetTokensAndErrors(page, input) { |
| LOW | tests/frontend/MacroEngine.e2e.js | 3339 | async function evaluateWithEngineAndCaptureMacroLogs(page, input) { |
| LOW | tests/frontend/MacroEngine.e2e.js | 3375 | async function evaluateWithEngineAndVariables(page, input, variables) { |
| LOW | tests/frontend/MacroRegistry.e2e.js | 623 | async function registerMacroAndCaptureErrors(page, { macroName, options }) { |
| LOW | tests/frontend/MacroRegistry.e2e.js | 679 | async function registerAliasAndCaptureErrors(page, { targetMacroName, aliasName, options = {} }) { |
| LOW | public/script.js | 1084 | function verifyCharactersSearchSortRule() { |
| LOW | public/script.js | 1362 | export async function deleteCharacterChatByName(characterId, fileName) { |
| LOW | public/script.js | 1991 | export function ensureMessageMediaIsArray(mes) { |
| LOW | public/script.js | 2447 | function updateMessageItemizedPromptButton(message, { messageId = chat.indexOf(message), messageElement = chatElement.fi |
| LOW | public/script.js | 3144 | function addPersonaDescriptionExtensionPrompt() { |
| LOW | public/script.js | 3222 | export function getExtensionPromptMaxDepth() { |
| LOW | public/script.js | 3343 | export function getCharacterCardFieldsLazy({ chid = undefined } = {}) { |
| LOW | public/script.js | 7055 | export function setExternalAbortController(controller) { |
| LOW | public/script.js | 8062 | export function setGenerationParamsFromPreset(preset) { |
| LOW | public/script.js | 8572 | export function selectRightMenuWithAnimation(selectedMenuId) { |
| LOW | public/script.js | 8882 | export function getExtensionPromptRoleByName(roleName) { |
| LOW | public/script.js | 8936 | export async function setCharacterSettingsOverrides() { |
| LOW | public/script.js | 9421 | export function getFirstDisplayedMessageId() { |
| LOW | public/script.js | 9487 | function updateAlternateGreetingsHintVisibility(root) { |
| LOW | public/script.js | 9654 | function handleMoveAlternateGreeting(event, direction) { |
| LOW | public/script.js | 10598 | export async function renameGroupOrCharacterChat({ characterId, groupId, oldFileName, newFileName, loader: showLoader }) |
| LOW | public/global.d.ts | 232 | function convertVideoToAnimatedWebp(args: ConvertVideoArgs): Promise<Uint8Array>; |
| LOW | public/scripts/swipe-picker.js | 17 | export function canOpenSwipePickerForMessage(messageId) { |
| LOW | public/scripts/welcome-screen.js | 204 | export function getPermanentAssistantAvatar() { |
| LOW | public/scripts/welcome-screen.js | 255 | async function unshallowPermanentAssistant() { |
| LOW | public/scripts/welcome-screen.js | 534 | async function renameRecentCharacterChat(avatarId, fileName) { |
| LOW | public/scripts/welcome-screen.js | 599 | async function deleteRecentCharacterChat(avatarId, fileName) { |
| LOW | public/scripts/welcome-screen.js | 690 | async function openRecentChatsSettingsPopup() { |
| LOW | public/scripts/welcome-screen.js | 819 | export async function openPermanentAssistantChat({ tryCreate = true, created = false } = {}) { |
| LOW | public/scripts/welcome-screen.js | 883 | export async function openPermanentAssistantCard() { |
| LOW | public/scripts/welcome-screen.js | 898 | export function assignCharacterAsAssistant(characterId) { |
| LOW | public/scripts/variables.js | 895 | function closureDeserializeCallback(args, value) { |
| LOW | public/scripts/action-loader-slashcommands.js | 15 | export function registerActionLoaderSlashCommands() { |
| LOW | public/scripts/chat-templates.js | 120 | export async function deriveTemplatesFromChatTemplate(chat_template, hash) { |
| LOW | public/scripts/kai-settings.js | 134 | function loadKoboldSettingsFromPreset(preset) { |
| LOW | public/scripts/kai-settings.js | 229 | export async function generateKoboldWithStreaming(generate_data, signal) { |
| LOW | public/scripts/itemized-prompts.js | 65 | export async function replaceItemizedPromptText(mesId, promptText) { |
| LOW | public/scripts/itemized-prompts.js | 389 | export function deleteItemizedPromptForMessage(messageId) { |
| LOW | public/scripts/logprobs.js | 74 | function renderAlternativeTokensView() { |
| LOW | public/scripts/logprobs.js | 509 | export function saveLogprobsForActiveMessage(logprobs, continueFrom) { |
| LOW | public/scripts/logprobs.js | 559 | function getActiveMessageLogprobData() { |
| LOW | public/scripts/logprobs.js | 575 | function convertTokenIdLogprobsToText(input) { |
| LOW | public/scripts/personas.js | 207 | function verifyPersonaSearchSortRule() { |
| LOW | public/scripts/personas.js | 551 | export async function convertCharacterToPersona(characterId = null) { |
| LOW | public/scripts/personas.js | 689 | export function updatePersonaConnectionsAvatarList() { |
| LOW | public/scripts/personas.js | 965 | export function isPersonaConnectionLocked(connection) { |
| LOW | public/scripts/personas.js | 1206 | async function onPersonaDescriptionInput() { |
| LOW | public/scripts/personas.js | 1238 | async function onPersonaDescriptionDepthValueInput() { |
| LOW | public/scripts/personas.js | 1252 | async function onPersonaDescriptionDepthRoleInput() { |
| LOW | public/scripts/personas.js | 1316 | async function onPersonaDescriptionPositionInput() { |
| LOW | public/scripts/personas.js | 1334 | export function getOrCreatePersonaDescriptor() { |
| LOW | public/scripts/personas.js | 1334 | export function getOrCreatePersonaDescriptor() { |
| LOW | public/scripts/personas.js | 1518 | function getPersonaTemporaryLockInfo() { |
| LOW | public/scripts/personas.js | 1543 | async function loadPersonaForCurrentChat({ doRender = false } = {}) { |
| LOW | public/scripts/personas.js | 1875 | export async function retriggerFirstMessageOnEmptyChat() { |
| LOW | public/scripts/personas.js | 2463 | function userMessageNamesEnumProvider() { |
| LOW | public/scripts/personas.js | 2472 | function registerPersonaSlashCommands() { |
| LOW | public/scripts/tags.js | 127 | function getVisibleAvatarsForGroupContext(type, currentGroup) { |
| LOW | public/scripts/tags.js | 151 | function filterActionableTagsForGroupContext(actionTags) { |
| 312 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .github/workflows/pr-check-merge-conflicts.yaml | 23 | # Create a GitHub App token |
| MEDIUM | .github/workflows/on-close-handler.yml | 23 | # Create a GitHub App token |
| MEDIUM | .github/workflows/issues-updates-on-merge.yml | 23 | # Create a GitHub App token |
| MEDIUM | .github/workflows/on-open-handler.yml | 23 | # Create a GitHub App token |
| MEDIUM | .github/workflows/job-close-stale.yml | 23 | # Create a GitHub App token |
| MEDIUM | .github/workflows/job-close-stale.yml | 68 | # Create a GitHub App token |
| MEDIUM | .github/workflows/job-close-stale.yml | 106 | # Create a GitHub App token |
| MEDIUM | .github/workflows/issues-auto-manager.yml | 23 | # Create a GitHub App token |
| MEDIUM | .github/workflows/issues-auto-manager.yml | 57 | # Create a GitHub App token |
| MEDIUM | .github/workflows/issues-auto-manager.yml | 115 | # Create a GitHub App token |
| MEDIUM | .github/workflows/issues-auto-manager.yml | 142 | # Create a GitHub App token |
| MEDIUM | .github/workflows/pr-auto-manager.yml | 32 | # Create a GitHub App token |
| MEDIUM | .github/workflows/pr-auto-manager.yml | 69 | # Create a GitHub App token |
| MEDIUM | .github/workflows/pr-auto-manager.yml | 100 | # Create a GitHub App token |
| MEDIUM | .github/workflows/pr-auto-manager.yml | 134 | # Create a GitHub App token |
| MEDIUM | .github/workflows/pr-auto-manager.yml | 171 | # Create a GitHub App token |
| MEDIUM | .github/workflows/pr-auto-manager.yml | 250 | # Create a GitHub App token |
| MEDIUM | .github/workflows/pr-auto-manager.yml | 290 | # Create a GitHub App token |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | public/lib/jquery-ui.min.js | 6 | !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(V){"use strict" |
| CRITICAL | public/lib/jquery-3.5.1.min.js | 2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f |
| CRITICAL | public/lib/epub.min.js | 1 | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("JSZip")):"function"==typeof d |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | public/locales/it-it.json | 1400 | "Don't forget to save a snapshot of your settings before proceeding.": "Non dimenticare di salvare un'istantanea del |
| LOW | public/locales/th-th.json | 1413 | "Don't forget to save a snapshot of your settings before proceeding.": "อย่าลืมบันทึกสแนปช็อตการตั้งค่าของคุณก่อนดำเนิ |
| LOW | public/locales/ko-kr.json | 1417 | "Don't forget to save a snapshot of your settings before proceeding.": "계속하기 전에 설정의 스냅샷을 저장하는 것을 잊지 마세요.", |
| LOW | public/locales/es-es.json | 1400 | "Don't forget to save a snapshot of your settings before proceeding.": "No olvide guardar una instantánea de su conf |
| LOW | public/locales/ja-jp.json | 1402 | "Don't forget to save a snapshot of your settings before proceeding.": "続行する前に、設定のスナップショットを保存することを忘れないでください。", |
| LOW | public/locales/zh-cn.json | 3416 | "Don't forget to save a snapshot of your settings before proceeding.": "在继续之前,不要忘记保存您的设置快照。", |
| LOW | public/locales/ar-sa.json | 1400 | "Don't forget to save a snapshot of your settings before proceeding.": "لا تنس حفظ لقطة من إعداداتك قبل المتابعة.", |
| LOW | public/locales/pt-pt.json | 1398 | "Don't forget to save a snapshot of your settings before proceeding.": "Não se esqueça de salvar um instantâneo de s |
| LOW | public/locales/uk-ua.json | 1398 | "Don't forget to save a snapshot of your settings before proceeding.": "Перш ніж продовжити, не забудьте зберегти зн |
| LOW | public/locales/de-de.json | 1400 | "Don't forget to save a snapshot of your settings before proceeding.": "Vergessen Sie nicht, einen Schnappschuss Ihr |
| LOW | public/locales/fr-fr.json | 1322 | "Don't forget to save a snapshot of your settings before proceeding.": "N'oubliez pas d'enregistrer un instantané de |
| LOW | public/locales/zh-tw.json | 1400 | "Don't forget to save a snapshot of your settings before proceeding.": "在繼續之前,請不要忘記進行備份。", |
| LOW | public/locales/is-is.json | 1398 | "Don't forget to save a snapshot of your settings before proceeding.": "Ekki gleyma að vista mynd af stillingunum þí |
| LOW | public/locales/ru-ru.json | 1569 | "Don't forget to save a snapshot of your settings before proceeding.": "Настоятельно советуем перед этим сохранить с |
| LOW | public/locales/nl-nl.json | 1396 | "Don't forget to save a snapshot of your settings before proceeding.": "Vergeet niet een momentopname van uw instell |
| LOW | public/locales/vi-vn.json | 1398 | "Don't forget to save a snapshot of your settings before proceeding.": "Đừng quên sao lưu snapshot của cài đặt của b |
| LOW | public/scripts/templates/resetSettings.html | 5 | <div data-i18n="Don't forget to save a snapshot of your settings before proceeding."> |
| LOW | public/scripts/templates/resetSettings.html | 6 | Don't forget to save a snapshot of your settings before proceeding. |
| LOW | src/endpoints/vectors.js | 21 | // Don't forget to add new sources to the SOURCES array |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | default/config.yaml | 21 | # Open the browser automatically on server startup. |
| LOW | default/config.yaml | 41 | # Interval in seconds to write a heartbeat file. Set to 0 to disable. |
| LOW | default/config.yaml | 101 | url: "socks5://username:password@example.com:1080" |
| LOW | default/config.yaml | 121 | # This will use auto login to an account with the same username |
| LOW | default/config.yaml | 141 | # Host whitelist configuration. Recommended if you're using a listen mode |
| LOW | default/config.yaml | 181 | # Disable startup security checks - NOT RECOMMENDED |
| LOW | default/config.yaml | 221 | enabled: true |
| LOW | default/config.yaml | 281 | - raw.githubusercontent.com |
| LOW | default/config.yaml | 321 | # A placeholder message to use in strict prompt post-processing mode when the prompt doesn't start with a user message |
| LOW | default/config.yaml | 341 | # Controls how long the model will stay loaded into memory following the request |
| LOW | default/config.yaml | 361 | # -- IMPORTANT! -- |
| LOW | default/config.yaml | 381 | # Enables caching of the system prompt (if supported). Only for OpenRouter. |
| LOW | public/script.js | 1161 | // We need to do multiple filter runs in a specific order, otherwise different settings might override each other |
| LOW | public/scripts/dynamic-styles.js | 121 | |
| LOW | public/scripts/slash-commands/SlashCommandParser.js | 581 | * @returns Whether the next characters are the indicated symbol. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | public/script.js | 3347 | // For group chats, we need to check if group cards should be used |
| LOW | public/scripts/world-info.js | 2259 | // Step 1: Clean all <option> elements within <select> |
| LOW | public/scripts/world-info.js | 2267 | // Step 2: Clean all <select> elements |
| LOW | public/scripts/world-info.js | 2289 | // Step 3: Clean <div>, <span>, <input> |
| LOW | public/scripts/extensions/gallery/index.js | 630 | // Step 1: Clone the template content |
| LOW | public/scripts/extensions/gallery/index.js | 640 | // Step 2: Append the given image |
| LOW | public/scripts/extensions/gallery/index.js | 687 | // Step 3: Attach it to the movingDivs container |
| LOW | public/scripts/extensions/gallery/index.js | 690 | // Step 4: Call dragElement and loadMovingUIState |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | public/scripts/world-info.js | 2722 | // we gonna utilize the custom tokenizer that also handles the input. |
| MEDIUM | public/lib/epub.min.js | 1 | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("JSZip")):"function"==typeof d |
| MEDIUM | public/lib/epub.min.js | 1 | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("JSZip")):"function"==typeof d |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | src/endpoints/characters.js | 1328 | // ── Bulk mode: avatars array is present ────────────────── |
| MEDIUM | src/endpoints/characters.js | 1398 | // ── Single mode (default behavior) ─────────────────────── |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | public/script.js | 614 | export let amount_gen = 80; //default max length of AI generated responses |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | public/scripts/variables.js | 2070 | <pre><code class="language-stscript">/len Lorem ipsum | /echo</code></pre> |
| LOW | public/scripts/extensions/tts/index.js | 94 | const fallbackPreview = 'Neque porro quisquam est qui dolorem ipsum quia dolor sit amet'; |
| LOW | public/scripts/extensions/tts/index.js | 94 | const fallbackPreview = 'Neque porro quisquam est qui dolorem ipsum quia dolor sit amet'; |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docker/docker-entrypoint.sh | 58 | # Check if PUID/PGID variables are provided |