CI (.github/workflows/ci.yml): - Three parallel jobs on push & PR: cargo test (jarvis-core), cargo clippy (lint, warnings-as-errors), cargo check (workspace). Windows runner, stable toolchain, rust-cache for fast incremental builds. - Deliberately skips release build of jarvis-gui — that needs Node+npm +Tauri bundler and would balloon CI to ~10min per push. Drop Ukrainian: - Delete ua.ftl, remove UA from SUPPORTED_LANGUAGES. - config.rs: prune UA arms from get_wake_phrases / get_wake_grammar / get_phrases_to_remove / get_llm_trigger_phrases / get_llm_system_prompt. - stt/vosk.rs: drop UA → uk language mapping. - tray menu: drop "Українська" entry. - frontend: drop UA from Header.svelte language list, settings page language map, i18n.ts fallback. - 82 command.toml files stripped of every `ua = [...]` block (205 blocks total). Handled via subagent — TOML still parses, all 6 command tests pass. .gitignore: stop tracking dev.env / dll_probe*.py / imports_full.txt which were sitting in working tree. Tests: 128 pass (no regression). Workspace still compiles end-to-end.
58 lines
1.4 KiB
TOML
58 lines
1.4 KiB
TOML
# 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"]
|