# Codebase Q&A — point J.A.R.V.I.S. at a folder, ask questions about the code. # Active folder stored via jarvis.memory (key="codebase.root"). Voice commands let # you swap the folder, list it, and ask questions. The script reads files lazily # (depth-limited, size-capped) and feeds a digest to the LLM. [[commands]] id = "codebase.set" type = "lua" script = "set.lua" sandbox = "full" timeout = 5000 [commands.phrases] ru = [ "укажи проект", "укажи папку проекта", "укажи кодовую базу", "выбери проект", "проект сейчас", ] en = ["set codebase", "set project folder", "use project"] [[commands]] id = "codebase.ask" type = "lua" script = "ask.lua" sandbox = "full" timeout = 60000 [commands.phrases] ru = [ "спроси код", "вопрос по коду", "что в коде", "что делает функция", "найди в коде", "найди в проекте", "объясни код", ] en = ["ask the code", "ask the codebase", "what does the function", "explain the code"] [[commands]] id = "codebase.where" type = "lua" script = "where.lua" sandbox = "full" timeout = 3000 [commands.phrases] ru = [ "какой проект сейчас", "где проект", "какая папка проекта", "какая кодовая база", ] en = ["which project", "what's the codebase"]