AstrBot-Desktop/src-tauri/src
YokiiroBW 4f73c0819d
一些检测仍在等待运行
ci / Portable quality checks (push) Waiting to run
ci / Windows Tauri build (push) Waiting to run
fix(pet): hide the pet window instead of destroying it
The desktop-floating pet never appeared. The log established that
open_pet_window ran, took the rebuild branch, and then produced neither
the success log nor the failure log — so it returned Err somewhere in
the config lookup, from_config, or build(), all three of which used a
bare `?` with no log of their own.

Two changes. close_pet_window now hides the window rather than
destroying it, so every later open takes the branch that demonstrably
works instead of the rebuild branch; hiding also keeps the pet's
listeners and animation state, which the mode switch wants back
immediately anyway. And open_pet_window is wrapped so any failure on
any path is logged with the error, rather than only the reveal step.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 04:39:20 +08:00
..
credentials feat(pet): separate remote identity and add paper pet window 2026-07-20 16:28:42 +08:00
database feat(desktop): complete Q9 chat and stability increment 2026-07-21 14:43:14 +08:00
diagnostics feat(desktop): complete Q9 chat and stability increment 2026-07-21 14:43:14 +08:00
file_transfer feat(p00): add Tauri desktop spike foundation 2026-07-18 20:34:47 +08:00
networking fix(astrbot): try the current file API before the legacy one 2026-07-27 03:43:12 +08:00
secure_store feat(chat): add AstrBot dual-slot chat foundation 2026-07-20 11:31:41 +08:00
windows feat(desktop): complete Q9 chat and stability increment 2026-07-21 14:43:14 +08:00
auth.rs feat(auth): add dashboard jwt login 2026-07-20 16:12:11 +08:00
lib.rs fix(pet): hide the pet window instead of destroying it 2026-07-27 04:39:20 +08:00
logging.rs feat(foundation): add persistent bootstrap safeguards 2026-07-18 22:17:29 +08:00
main.rs feat(p00): add Tauri desktop spike foundation 2026-07-18 20:34:47 +08:00
pet.rs feat(chat): add AstrBot dual-slot chat foundation 2026-07-20 11:31:41 +08:00
policy.rs feat(pet): separate remote identity and add paper pet window 2026-07-20 16:28:42 +08:00
profiles.rs feat(pet): separate remote identity and add paper pet window 2026-07-20 16:28:42 +08:00
quick_window.rs feat(window): persist quick chat geometry 2026-07-20 14:59:55 +08:00
runtime_guards.rs feat(connection): validate auto-connect and guard operations switches 2026-07-20 00:49:15 +08:00
slots.rs feat(pet): separate remote identity and add paper pet window 2026-07-20 16:28:42 +08:00