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.
53 lines
1.1 KiB
TOML
53 lines
1.1 KiB
TOML
# Network info — WiFi SSID, local IP, public IP via PowerShell + free service.
|
||
# Separate from existing `network` pack which likely covers different things.
|
||
|
||
[[commands]]
|
||
id = "net.wifi_ssid"
|
||
type = "lua"
|
||
script = "wifi.lua"
|
||
sandbox = "full"
|
||
timeout = 5000
|
||
|
||
[commands.phrases]
|
||
ru = [
|
||
"к какой сети я подключен",
|
||
"какой wi-fi",
|
||
"какой вайфай",
|
||
"какая сеть",
|
||
"имя сети",
|
||
]
|
||
en = ["what wifi", "what network", "wifi name", "ssid"]
|
||
|
||
|
||
[[commands]]
|
||
id = "net.local_ip"
|
||
type = "lua"
|
||
script = "local_ip.lua"
|
||
sandbox = "full"
|
||
timeout = 5000
|
||
|
||
[commands.phrases]
|
||
ru = [
|
||
"мой локальный ip",
|
||
"мой ip",
|
||
"айпи адрес",
|
||
"локальный адрес",
|
||
]
|
||
en = ["my ip", "local ip", "ip address"]
|
||
|
||
|
||
[[commands]]
|
||
id = "net.public_ip"
|
||
type = "lua"
|
||
script = "public_ip.lua"
|
||
sandbox = "full"
|
||
timeout = 10000
|
||
|
||
[commands.phrases]
|
||
ru = [
|
||
"мой внешний ip",
|
||
"публичный ip",
|
||
"внешний айпи",
|
||
"какой у меня внешний",
|
||
]
|
||
en = ["public ip", "external ip", "what's my ip online"]
|