feat: Wave 8 — bedtime/morning/coffee routine packs
routines/good_night: - Switch profile to "sleep" (silences idle banter overnight). - Cancel one-shot timers (Таймер:/Timer:/Кухня:/Cooking: name prefix) so a forgotten 6-hour reminder doesn't wake the user up. - Speak a varied 5-line RU/EN good night with cancelled-count suffix. - Deliberately does NOT lock PC / shut displays — too destructive without an explicit confirm step. routines/good_morning: - Switch profile back to "default". - Report scheduled task count for the day. - Speak a varied 5-line greeting with agenda preview. routines/coffee_break: - Pause idle banter so Jarvis isn't talking to an empty chair. - Schedule a 5-minute check-in via the persistent scheduler. - Speak a varied 3-line acknowledgement. Pack count: 97 → 98 (one pack, three commands). Tests: 140 still pass.
This commit is contained in:
parent
7e1d1c3cc7
commit
bb2799ed8c
4 changed files with 193 additions and 0 deletions
68
resources/commands/routines/command.toml
Normal file
68
resources/commands/routines/command.toml
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
# Bedtime / wake-up routines — bundle several actions into one voice trigger.
|
||||
# These are the Jarvis equivalents of Alexa "routines": one phrase, many
|
||||
# side-effects.
|
||||
|
||||
[[commands]]
|
||||
id = "routines.good_night"
|
||||
type = "lua"
|
||||
script = "good_night.lua"
|
||||
sandbox = "full"
|
||||
timeout = 8000
|
||||
|
||||
[commands.phrases]
|
||||
ru = [
|
||||
"спокойной ночи",
|
||||
"иду спать",
|
||||
"пока я в кровати",
|
||||
"ночной режим",
|
||||
"выключи всё на ночь",
|
||||
]
|
||||
en = [
|
||||
"good night",
|
||||
"i'm going to bed",
|
||||
"bedtime mode",
|
||||
"shut down for the night",
|
||||
]
|
||||
|
||||
|
||||
[[commands]]
|
||||
id = "routines.good_morning"
|
||||
type = "lua"
|
||||
script = "good_morning.lua"
|
||||
sandbox = "full"
|
||||
timeout = 8000
|
||||
|
||||
[commands.phrases]
|
||||
ru = [
|
||||
"доброе утро джарвис",
|
||||
"доброе утро",
|
||||
"я проснулся",
|
||||
"начинаем день",
|
||||
]
|
||||
en = [
|
||||
"good morning",
|
||||
"i'm awake",
|
||||
"start the day",
|
||||
]
|
||||
|
||||
|
||||
[[commands]]
|
||||
id = "routines.coffee_break"
|
||||
type = "lua"
|
||||
script = "coffee_break.lua"
|
||||
sandbox = "full"
|
||||
timeout = 5000
|
||||
|
||||
[commands.phrases]
|
||||
ru = [
|
||||
"иду за кофе",
|
||||
"перерыв на кофе",
|
||||
"перерыв на чай",
|
||||
"отойду минут на пять",
|
||||
]
|
||||
en = [
|
||||
"going for coffee",
|
||||
"coffee break",
|
||||
"back in 5",
|
||||
"afk five minutes",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue