fix(tauri): grant desktop-pet capability

The `desktop-pet` window is created at startup but was absent from the
capability window list, so every IPC call and event listener it made was
rejected by the Tauri ACL. Because those calls are issued as `void invoke(...)`
the rejections were swallowed, and the pet silently lost its runtime status
link, dragging, context menu, and preference handling.

Refs P1-13 / F-03.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
这个提交存在于:
YokiiroBW 2026-07-26 22:28:35 +08:00
父节点 28ec3001ac
当前提交 def5e92802

查看文件

@ -2,6 +2,6 @@
"$schema": "../gen/schemas/desktop-schema.json", "$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default", "identifier": "default",
"description": "Minimal capability set for the main AstrBot Desktop window.", "description": "Minimal capability set for the main AstrBot Desktop window.",
"windows": ["main", "quick-chat", "status-bubble"], "windows": ["main", "quick-chat", "status-bubble", "desktop-pet"],
"permissions": ["core:default"] "permissions": ["core:default"]
} }