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.
191 lines
3.3 KiB
TOML
191 lines
3.3 KiB
TOML
[[commands]]
|
|
id = "open_browser"
|
|
type = "lua"
|
|
script = "open_browser.lua"
|
|
sandbox = "full"
|
|
timeout = 5000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"открой браузер",
|
|
"запусти браузер",
|
|
"открой хром",
|
|
"запусти хром",
|
|
"включи браузер",
|
|
"браузер открой",
|
|
"нужен браузер",
|
|
]
|
|
en = [
|
|
"open browser",
|
|
"launch browser",
|
|
"open chrome",
|
|
"launch chrome",
|
|
"start browser",
|
|
"i need browser",
|
|
]
|
|
|
|
|
|
[[commands]]
|
|
id = "open_notepad"
|
|
type = "lua"
|
|
script = "open_notepad.lua"
|
|
sandbox = "full"
|
|
timeout = 5000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"открой блокнот",
|
|
"запусти блокнот",
|
|
"открой нотепад",
|
|
]
|
|
en = [
|
|
"open notepad",
|
|
"launch notepad",
|
|
]
|
|
|
|
|
|
[[commands]]
|
|
id = "open_calculator"
|
|
type = "lua"
|
|
script = "open_calculator.lua"
|
|
sandbox = "full"
|
|
timeout = 5000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"открой калькулятор",
|
|
"запусти калькулятор",
|
|
"нужен калькулятор",
|
|
]
|
|
en = [
|
|
"open calculator",
|
|
"launch calculator",
|
|
"calculator please",
|
|
]
|
|
|
|
|
|
[[commands]]
|
|
id = "open_explorer"
|
|
type = "lua"
|
|
script = "open_explorer.lua"
|
|
sandbox = "full"
|
|
timeout = 5000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"открой проводник",
|
|
"открой папку",
|
|
"запусти проводник",
|
|
"открой файлы",
|
|
]
|
|
en = [
|
|
"open explorer",
|
|
"open file explorer",
|
|
"open files",
|
|
"open folder",
|
|
]
|
|
|
|
|
|
[[commands]]
|
|
id = "open_terminal"
|
|
type = "lua"
|
|
script = "open_terminal.lua"
|
|
sandbox = "full"
|
|
timeout = 5000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"открой терминал",
|
|
"запусти терминал",
|
|
"открой консоль",
|
|
"запусти консоль",
|
|
"открой повершелл",
|
|
]
|
|
en = [
|
|
"open terminal",
|
|
"open powershell",
|
|
"open console",
|
|
"launch terminal",
|
|
]
|
|
|
|
|
|
[[commands]]
|
|
id = "open_settings"
|
|
type = "lua"
|
|
script = "open_settings.lua"
|
|
sandbox = "full"
|
|
timeout = 5000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"открой настройки",
|
|
"открой параметры",
|
|
"запусти настройки",
|
|
"открой настройки виндоус",
|
|
]
|
|
en = [
|
|
"open settings",
|
|
"launch settings",
|
|
"windows settings",
|
|
]
|
|
|
|
|
|
[[commands]]
|
|
id = "open_task_manager"
|
|
type = "lua"
|
|
script = "open_task_manager.lua"
|
|
sandbox = "full"
|
|
timeout = 5000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"открой диспетчер задач",
|
|
"запусти диспетчер задач",
|
|
"диспетчер задач",
|
|
]
|
|
en = [
|
|
"open task manager",
|
|
"launch task manager",
|
|
"task manager",
|
|
]
|
|
|
|
|
|
[[commands]]
|
|
id = "lock_screen"
|
|
type = "lua"
|
|
script = "lock_screen.lua"
|
|
sandbox = "full"
|
|
timeout = 3000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"заблокируй компьютер",
|
|
"заблокируй экран",
|
|
"блокировка экрана",
|
|
"залочь",
|
|
]
|
|
en = [
|
|
"lock screen",
|
|
"lock the computer",
|
|
"lock pc",
|
|
]
|
|
|
|
|
|
[[commands]]
|
|
id = "screenshot"
|
|
type = "lua"
|
|
script = "screenshot.lua"
|
|
sandbox = "full"
|
|
timeout = 5000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"сделай скриншот",
|
|
"скриншот",
|
|
"сними экран",
|
|
]
|
|
en = [
|
|
"take screenshot",
|
|
"screenshot",
|
|
"capture screen",
|
|
]
|