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.
87 lines
1.3 KiB
TOML
87 lines
1.3 KiB
TOML
[[commands]]
|
|
id = "volume_up"
|
|
type = "lua"
|
|
script = "volume_up.lua"
|
|
sandbox = "full"
|
|
timeout = 3000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"громче",
|
|
"сделай громче",
|
|
"прибавь звук",
|
|
"увеличь громкость",
|
|
"погромче",
|
|
]
|
|
en = [
|
|
"louder",
|
|
"volume up",
|
|
"increase volume",
|
|
"turn it up",
|
|
]
|
|
|
|
|
|
[[commands]]
|
|
id = "volume_down"
|
|
type = "lua"
|
|
script = "volume_down.lua"
|
|
sandbox = "full"
|
|
timeout = 3000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"тише",
|
|
"сделай тише",
|
|
"убавь звук",
|
|
"уменьши громкость",
|
|
"потише",
|
|
]
|
|
en = [
|
|
"quieter",
|
|
"volume down",
|
|
"decrease volume",
|
|
"turn it down",
|
|
]
|
|
|
|
|
|
[[commands]]
|
|
id = "volume_mute"
|
|
type = "lua"
|
|
script = "volume_mute.lua"
|
|
sandbox = "full"
|
|
timeout = 3000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"выключи звук",
|
|
"заткнись",
|
|
"тишина",
|
|
"приглуши звук",
|
|
"отключи звук",
|
|
]
|
|
en = [
|
|
"mute",
|
|
"silence",
|
|
"shut up",
|
|
"be quiet",
|
|
]
|
|
|
|
|
|
[[commands]]
|
|
id = "volume_max"
|
|
type = "lua"
|
|
script = "volume_max.lua"
|
|
sandbox = "full"
|
|
timeout = 3000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"максимальная громкость",
|
|
"звук на максимум",
|
|
"на полную",
|
|
]
|
|
en = [
|
|
"max volume",
|
|
"full volume",
|
|
"maximum",
|
|
]
|