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.
30 lines
No EOL
676 B
TOML
30 lines
No EOL
676 B
TOML
[[commands]]
|
|
id = "weather"
|
|
type = "lua"
|
|
script = "script.lua"
|
|
timeout = 5000
|
|
sandbox = "standard"
|
|
|
|
[commands.phrases]
|
|
ru = ["какая погода в {city}", "погода {city}"]
|
|
en = ["what's the weather in {city}", "weather in {city}"]
|
|
|
|
[commands.sounds]
|
|
ru = ["weather_ru_1", "weather_ru_2"]
|
|
en = ["weather_en_1", "weather_en_2"]
|
|
|
|
[commands.slots.city]
|
|
entity = "city name"
|
|
context = ["in", "for", "at", "в", "для"]
|
|
|
|
|
|
[[commands]]
|
|
id = "set_city"
|
|
type = "lua"
|
|
script = "set_city.lua"
|
|
sandbox = "standard"
|
|
timeout = 5000
|
|
|
|
[commands.phrases]
|
|
ru = ["установи город", "смени город", "поменяй город"]
|
|
en = ["set city", "change city"] |