| name | Put Aria Avatar to Sleep |
| description | Send the Aria desktop avatar to sleep — plays a farewell animation, then quits the app gracefully. Use when the user wants to dismiss, close, hide, or sleep the desktop companion. Triggers include "sleep aria", "让 aria 睡觉", "关闭 aria", "把 aria 收起来", "bye aria", "dismiss the avatar". |
Sleep Aria
When the user wants to send Aria to sleep / close / dismiss the avatar (中文: 让 aria 睡觉, 关闭 aria, 收起 aria), run:
"${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/bin/sleep.sh"
This will:
- POST a
sleep event to aria-agent (the avatar plays the sleep_farewell wave animation, says goodbye like "拜拜~/下次见/晚安")
- Wait 1 second for the farewell animation to play
- Gracefully quit
Aria.app via AppleScript
After running, tell the user "Aria 已发出告别动画 + 关闭 app" (or English equivalent).