J.A.R.V.I.S-rust/resources/commands/weather/command.toml
Bossiara13 16240609de 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.
2026-05-15 00:54:34 +03:00

31 lines
No EOL
736 B
TOML

[[commands]]
id = "weather"
type = "lua"
script = "script.lua"
timeout = 5000
sandbox = "standard"
[commands.phrases]
ru = ["какая погода в {city}", "погода {city}"]
en = ["what's the weather in {city}", "weather in {city}"]
[commands.sounds]
ru = ["weather_ru_1", "weather_ru_2"]
en = ["weather_en_1", "weather_en_2"]
[commands.slots.city]
entity = "city name"
context = ["in", "for", "at", "в", "для"]
[[commands]]
id = "set_city"
type = "lua"
script = "set_city.lua"
sandbox = "standard"
timeout = 5000
[commands.phrases]
ru = ["установи город", "смени город", "поменяй город"]
en = ["set city", "change city"]
ua = ["встанови місто", "змін місто"]