J.A.R.V.I.S-rust/resources/commands/window/command.toml
Bossiara13 3f8300dc6f chore: CI workflows + drop Ukrainian (UA → just RU/EN)
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.
2026-05-16 13:38:12 +03:00

94 lines
2.1 KiB
TOML

[[commands]]
id = "show_desktop"
type = "lua"
script = "dispatch.lua"
sandbox = "full"
timeout = 3000
[commands.phrases]
ru = ["покажи рабочий стол", "свернуть всё", "сверни все окна", "покажи десктоп"]
en = ["show desktop", "minimize all"]
[[commands]]
id = "maximize_window"
type = "lua"
script = "dispatch.lua"
sandbox = "full"
timeout = 3000
[commands.phrases]
ru = ["разверни окно", "развернуть окно", "на весь экран", "раскрой окно"]
en = ["maximize window", "fullscreen window"]
[[commands]]
id = "minimize_window"
type = "lua"
script = "dispatch.lua"
sandbox = "full"
timeout = 3000
[commands.phrases]
ru = ["сверни окно", "свернуть окно", "убери окно"]
en = ["minimize window"]
[[commands]]
id = "snap_left"
type = "lua"
script = "dispatch.lua"
sandbox = "full"
timeout = 3000
[commands.phrases]
ru = ["окно влево", "сдвинь влево", "прижми влево"]
en = ["snap left", "window left"]
[[commands]]
id = "snap_right"
type = "lua"
script = "dispatch.lua"
sandbox = "full"
timeout = 3000
[commands.phrases]
ru = ["окно вправо", "сдвинь вправо", "прижми вправо"]
en = ["snap right", "window right"]
[[commands]]
id = "close_window"
type = "lua"
script = "dispatch.lua"
sandbox = "full"
timeout = 3000
[commands.phrases]
ru = ["закрой окно", "закрой вкладку", "закрой текущее", "alt f4"]
en = ["close window", "close tab"]
[[commands]]
id = "restore_all"
type = "lua"
script = "dispatch.lua"
sandbox = "full"
timeout = 3000
[commands.phrases]
ru = ["восстанови окна", "верни окна", "разверни окна"]
en = ["restore windows", "restore all"]
[[commands]]
id = "task_view"
type = "lua"
script = "dispatch.lua"
sandbox = "full"
timeout = 3000
[commands.phrases]
ru = ["открой все окна", "обзор окон", "таск вью", "покажи все окна"]
en = ["task view", "show all windows"]