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

@ -24,8 +24,8 @@ type = "lua"
script = "set_city.lua" script = "set_city.lua"
sandbox = "standard" sandbox = "standard"
timeout = 5000 timeout = 5000
phrases = [
"установи город", [commands.phrases]
"set city", ru = ["установи город", "смени город", "поменяй город"]
"change city", en = ["set city", "change city"]
] ua = ["встанови місто", "змін місто"]