fix(commands): repair weather set_city schema, retire broken AHK browser pack

set_city used a plain `phrases = [...]` array which fails the lang-map schema
in JCommand — the whole weather pack was being skipped at load. Normalized
to per-language phrases.

browser/command.toml pointed at Priler's bundled AutoHotKey exes that do not
ship in this fork, so the entries were dead. Renamed to .disabled (the loader
skips packs without command.toml) so we do not collide with the new Lua
apps pack while keeping the directory for reference.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bossiara13 2026-05-15 00:54:34 +03:00
parent c234c46642
commit 307688c7d8
2 changed files with 5 additions and 5 deletions

View file

@ -0,0 +1,91 @@
[[commands]]
id = "browser_open"
type = "ahk"
exe_path = "ahk/Run browser.exe"
sounds.ru = ["ok1", "ok2", "ok3", "ok4"]
sounds.en = ["ok1", "ok2", "ok3"]
sounds.ua = ["ok1", "ok2", "ok3", "ok4", "ok5", "ok6"]
phrases.ru = [
"открой браузер",
"запусти браузер",
"открой хром",
"запусти хром",
"включи браузер",
"браузер открой",
"нужен браузер",
]
phrases.en = [
"open browser",
"launch browser",
"open chrome",
"launch chrome",
"start browser",
"i need browser",
]
phrases.ua = [
"відкрий браузер",
"запусти браузер",
"відкрий хром",
"запусти хром",
"увімкни браузер",
"потрібен браузер",
]
[[commands]]
id = "browser_close"
type = "ahk"
exe_path = "ahk/Close browser.exe"
sounds.ru = ["ok1", "ok2", "ok3", "ok4"]
sounds.en = ["ok1", "ok2", "ok3"]
sounds.ua = ["ok1", "ok2", "ok3", "ok4", "ok5", "ok6"]
phrases.ru = [
"закрой браузер",
"закрой все браузеры",
"выключи браузер",
"убери браузер",
]
phrases.en = [
"close browser",
"close all browsers",
"shut down browser",
"exit browser",
]
phrases.ua = [
"закрий браузер",
"закрий всі браузери",
"вимкни браузер",
]
[[commands]]
id = "open_google"
type = "ahk"
exe_path = "ahk/Run website.exe"
exe_args = ["http://google.com"]
sounds.ru = ["ok1", "ok2", "ok3", "ok4"]
sounds.en = ["ok1", "ok2", "ok3"]
sounds.ua = ["ok1", "ok2", "ok3", "ok4", "ok5", "ok6"]
phrases.ru = [
"открой гугл",
"открой гугл поиск",
"запусти гугл",
"зайди в гугл",
]
phrases.en = [
"open google",
"google search",
"launch google",
"go to google",
]
phrases.ua = [
"відкрий гугл",
"відкрий гугл пошук",
"запусти гугл",
"зайди в гугл",
]