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.
67 lines
1.2 KiB
TOML
67 lines
1.2 KiB
TOML
[[commands]]
|
|
id = "search_google"
|
|
type = "lua"
|
|
script = "dispatch.lua"
|
|
sandbox = "full"
|
|
timeout = 5000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"загугли",
|
|
"поиск в гугл",
|
|
"поищи в гугл",
|
|
"найди в гугл",
|
|
"ищи в гугл",
|
|
]
|
|
en = ["google", "search google", "google for"]
|
|
|
|
|
|
[[commands]]
|
|
id = "search_youtube"
|
|
type = "lua"
|
|
script = "dispatch.lua"
|
|
sandbox = "full"
|
|
timeout = 5000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"найди на ютубе",
|
|
"поиск на ютубе",
|
|
"ищи на ютубе",
|
|
"ютуб поиск",
|
|
]
|
|
en = ["youtube search", "search youtube", "find on youtube"]
|
|
|
|
|
|
[[commands]]
|
|
id = "search_wiki"
|
|
type = "lua"
|
|
script = "dispatch.lua"
|
|
sandbox = "full"
|
|
timeout = 5000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"найди в википедии",
|
|
"поиск в википедии",
|
|
"википедия",
|
|
"вики поиск",
|
|
]
|
|
en = ["wikipedia search", "search wikipedia", "look up wikipedia"]
|
|
|
|
|
|
[[commands]]
|
|
id = "search_yandex"
|
|
type = "lua"
|
|
script = "dispatch.lua"
|
|
sandbox = "full"
|
|
timeout = 5000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"поищи в яндекс",
|
|
"найди в яндекс",
|
|
"яндекс поиск",
|
|
"пробей в яндекс",
|
|
]
|
|
en = ["yandex search", "search yandex"]
|