J.A.R.V.I.S-rust/resources/commands/macros/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

101 lines
1.9 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# IMBA-7: Voice macros — record and replay sequences of voice commands.
[[commands]]
id = "macros.start_recording"
type = "lua"
script = "start.lua"
sandbox = "standard"
timeout = 3000
[commands.phrases]
ru = [
"запиши макрос",
"начни запись макроса",
"записывай макрос",
"новый макрос",
]
en = ["record macro", "start macro recording"]
[[commands]]
id = "macros.save"
type = "lua"
script = "save.lua"
sandbox = "standard"
timeout = 3000
[commands.phrases]
ru = [
"сохрани макрос",
"стоп макрос",
"стоп запись макроса",
"закончи запись",
"макрос готов",
]
en = ["save macro", "stop macro", "finish macro"]
[[commands]]
id = "macros.cancel"
type = "lua"
script = "cancel.lua"
sandbox = "minimal"
timeout = 2000
[commands.phrases]
ru = [
"отмени макрос",
"отмени запись макроса",
"отмени запись",
"забудь макрос",
]
en = ["cancel macro", "discard macro"]
[[commands]]
id = "macros.replay"
type = "lua"
script = "replay.lua"
sandbox = "standard"
timeout = 60000
[commands.phrases]
ru = [
"запусти макрос",
"выполни макрос",
"воспроизведи макрос",
"сыграй макрос",
"проиграй макрос",
]
en = ["play macro", "replay macro", "run macro"]
[[commands]]
id = "macros.list"
type = "lua"
script = "list.lua"
sandbox = "minimal"
timeout = 3000
[commands.phrases]
ru = [
"какие у меня макросы",
"список макросов",
"покажи макросы",
]
en = ["list macros", "show macros"]
[[commands]]
id = "macros.delete"
type = "lua"
script = "delete.lua"
sandbox = "minimal"
timeout = 3000
[commands.phrases]
ru = [
"удали макрос",
"забудь о макросе",
]
en = ["delete macro", "remove macro"]