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.
72 lines
1.9 KiB
TOML
72 lines
1.9 KiB
TOML
# IMBA-3: Profile switching — work / game / sleep / driving / default.
|
|
|
|
[[commands]]
|
|
id = "profile.work"
|
|
type = "lua"
|
|
script = "switch.lua"
|
|
sandbox = "standard"
|
|
timeout = 3000
|
|
|
|
[commands.phrases]
|
|
ru = ["режим работа", "включи режим работы", "рабочий режим", "переключись в работу"]
|
|
en = ["work mode", "switch to work mode", "enable work mode"]
|
|
|
|
|
|
[[commands]]
|
|
id = "profile.game"
|
|
type = "lua"
|
|
script = "switch.lua"
|
|
sandbox = "standard"
|
|
timeout = 3000
|
|
|
|
[commands.phrases]
|
|
ru = ["режим игра", "игровой режим", "включи игровой режим", "переключись в игры"]
|
|
en = ["game mode", "gaming mode", "switch to game"]
|
|
|
|
|
|
[[commands]]
|
|
id = "profile.sleep"
|
|
type = "lua"
|
|
script = "switch.lua"
|
|
sandbox = "standard"
|
|
timeout = 3000
|
|
|
|
[commands.phrases]
|
|
ru = ["режим сон", "ночной режим", "режим тишины", "иди спать", "выключи всё"]
|
|
en = ["sleep mode", "night mode", "quiet mode"]
|
|
|
|
|
|
[[commands]]
|
|
id = "profile.driving"
|
|
type = "lua"
|
|
script = "switch.lua"
|
|
sandbox = "standard"
|
|
timeout = 3000
|
|
|
|
[commands.phrases]
|
|
ru = ["режим за рулём", "режим вождения", "я за рулём", "поехали"]
|
|
en = ["driving mode", "in the car"]
|
|
|
|
|
|
[[commands]]
|
|
id = "profile.default"
|
|
type = "lua"
|
|
script = "switch.lua"
|
|
sandbox = "standard"
|
|
timeout = 3000
|
|
|
|
[commands.phrases]
|
|
ru = ["обычный режим", "режим по умолчанию", "сбрось режим", "вернись в обычный"]
|
|
en = ["normal mode", "default mode", "reset mode"]
|
|
|
|
|
|
[[commands]]
|
|
id = "profile.what"
|
|
type = "lua"
|
|
script = "what.lua"
|
|
sandbox = "minimal"
|
|
timeout = 2000
|
|
|
|
[commands.phrases]
|
|
ru = ["какой сейчас режим", "в каком ты режиме", "текущий режим", "какой режим"]
|
|
en = ["what mode", "current mode", "what profile"]
|