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.
127 lines
2.2 KiB
TOML
127 lines
2.2 KiB
TOML
[[commands]]
|
||
id = "sysinfo_battery"
|
||
type = "lua"
|
||
script = "battery.lua"
|
||
sandbox = "full"
|
||
timeout = 5000
|
||
|
||
[commands.phrases]
|
||
ru = [
|
||
"сколько заряда",
|
||
"сколько батарея",
|
||
"заряд батареи",
|
||
"сколько процентов",
|
||
]
|
||
en = [
|
||
"battery level",
|
||
"how much battery",
|
||
"battery status",
|
||
]
|
||
|
||
|
||
[[commands]]
|
||
id = "sysinfo_time"
|
||
type = "lua"
|
||
script = "time.lua"
|
||
sandbox = "full"
|
||
timeout = 3000
|
||
|
||
[commands.phrases]
|
||
ru = [
|
||
"сколько времени",
|
||
"который час",
|
||
"сколько сейчас времени",
|
||
"какой день",
|
||
"какое сегодня число",
|
||
]
|
||
en = [
|
||
"what time is it",
|
||
"current time",
|
||
"what day is it",
|
||
"what is the date",
|
||
]
|
||
|
||
|
||
[[commands]]
|
||
id = "sysinfo_cpu"
|
||
type = "lua"
|
||
script = "cpu.lua"
|
||
sandbox = "full"
|
||
timeout = 8000
|
||
|
||
[commands.phrases]
|
||
ru = [
|
||
"загрузка процессора",
|
||
"сколько процессор",
|
||
"нагрузка цпу",
|
||
"что с процессором",
|
||
]
|
||
en = [
|
||
"cpu load",
|
||
"cpu usage",
|
||
"how is cpu",
|
||
]
|
||
|
||
|
||
[[commands]]
|
||
id = "sysinfo_ram"
|
||
type = "lua"
|
||
script = "ram.lua"
|
||
sandbox = "full"
|
||
timeout = 5000
|
||
|
||
[commands.phrases]
|
||
ru = [
|
||
"сколько памяти",
|
||
"сколько оперативки",
|
||
"загрузка оперативки",
|
||
"сколько свободной памяти",
|
||
]
|
||
en = [
|
||
"how much ram",
|
||
"ram usage",
|
||
"memory usage",
|
||
]
|
||
|
||
|
||
[[commands]]
|
||
id = "sysinfo_disk"
|
||
type = "lua"
|
||
script = "disk.lua"
|
||
sandbox = "full"
|
||
timeout = 5000
|
||
|
||
[commands.phrases]
|
||
ru = [
|
||
"сколько свободно на диске",
|
||
"сколько места на диске",
|
||
"сколько места на жёстком",
|
||
"сколько свободно",
|
||
]
|
||
en = [
|
||
"free disk space",
|
||
"how much disk space",
|
||
"disk usage",
|
||
]
|
||
|
||
|
||
[[commands]]
|
||
id = "sysinfo_all"
|
||
type = "lua"
|
||
script = "all.lua"
|
||
sandbox = "full"
|
||
timeout = 10000
|
||
|
||
[commands.phrases]
|
||
ru = [
|
||
"статус системы",
|
||
"что с компьютером",
|
||
"состояние пк",
|
||
"что по системе",
|
||
"статус",
|
||
]
|
||
en = [
|
||
"system status",
|
||
"how is the system",
|
||
"pc status",
|
||
]
|