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

51 lines
1.2 KiB
TOML

# Daily briefing — chains time + weather + memory + scheduler at a fixed time.
[[commands]]
id = "daily_briefing.setup"
type = "lua"
script = "setup.lua"
sandbox = "standard"
timeout = 5000
[commands.phrases]
ru = [
"настрой утренний брифинг",
"включи утренний брифинг",
"начни утренний брифинг каждый день",
"сделай утренний брифинг",
]
en = ["set up morning briefing", "enable morning briefing", "daily briefing"]
[[commands]]
id = "daily_briefing.now"
type = "lua"
script = "now.lua"
sandbox = "standard"
timeout = 15000
[commands.phrases]
ru = [
"утренний брифинг",
"сделай брифинг",
"брифинг сейчас",
"что нового",
"сводка дня",
]
en = ["morning briefing", "give me a briefing", "what's new today"]
[[commands]]
id = "daily_briefing.off"
type = "lua"
script = "off.lua"
sandbox = "minimal"
timeout = 2000
[commands.phrases]
ru = [
"отключи утренний брифинг",
"выключи утренний брифинг",
"отмени брифинг",
]
en = ["disable morning briefing", "cancel morning briefing"]