J.A.R.V.I.S-rust/resources/commands/birthdays/command.toml

51 lines
1.3 KiB
TOML
Raw Normal View History

# Birthday tracker — voice-add and check upcoming birthdays.
# Storage uses `jarvis.memory.remember` with keys "birthday.<name>" so the
# data lives in the same long-term memory store and survives across packs.
#
# Voice flow:
# "запомни день рождения мама 15 марта"
# → memory key "birthday.мама" = "15.03"
# "ближайший день рождения" → reads all "birthday.*" keys + tells the next
# "день рождения мама" → reads back what we know about Mom
[[commands]]
id = "birthdays.add"
type = "lua"
script = "add.lua"
sandbox = "standard"
timeout = 3000
[commands.phrases]
ru = [
"запомни день рождения",
"день рождения у",
"добавь день рождения",
"запиши день рождения",
]
en = [
"remember birthday",
"add birthday",
"save birthday",
]
[[commands]]
id = "birthdays.next"
type = "lua"
script = "next.lua"
sandbox = "standard"
timeout = 3000
[commands.phrases]
ru = [
"ближайший день рождения",
"у кого скоро день рождения",
"кто следующий именинник",
"когда следующий день рождения",
]
en = [
"next birthday",
"whose birthday is next",
"upcoming birthdays",
]