From 16240609de0b16bbf42fb1a82dc8b813806240a5 Mon Sep 17 00:00:00 2001 From: Bossiara13 <236771060+DmitryBykov-ISPO@users.noreply.github.com> Date: Fri, 15 May 2026 00:54:34 +0300 Subject: [PATCH] fix(commands): repair weather set_city schema, retire broken AHK browser pack MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .../browser/{command.toml => command.toml.disabled} | 0 resources/commands/weather/command.toml | 10 +++++----- 2 files changed, 5 insertions(+), 5 deletions(-) rename resources/commands/browser/{command.toml => command.toml.disabled} (100%) diff --git a/resources/commands/browser/command.toml b/resources/commands/browser/command.toml.disabled similarity index 100% rename from resources/commands/browser/command.toml rename to resources/commands/browser/command.toml.disabled diff --git a/resources/commands/weather/command.toml b/resources/commands/weather/command.toml index 268f3e5..6ad0bb5 100644 --- a/resources/commands/weather/command.toml +++ b/resources/commands/weather/command.toml @@ -24,8 +24,8 @@ type = "lua" script = "set_city.lua" sandbox = "standard" timeout = 5000 -phrases = [ - "установи город", - "set city", - "change city", -] \ No newline at end of file + +[commands.phrases] +ru = ["установи город", "смени город", "поменяй город"] +en = ["set city", "change city"] +ua = ["встанови місто", "змін місто"] \ No newline at end of file