- Added Rust `AstrBotClient` for probe/list/send chat stream.
- Added `DualSlotRuntime` with activate/probe/send/deactivate skeleton.
- Added bounded credential enrollment IPC (`enroll_profile_credential` / `clear_profile_credential`) using Windows Credential Manager; secrets never returned to React.
- Added frontend transport fields and credential enrollment card.
- Recorded ADR-0005 and live probe report.
## In progress
- User acceptance of real-protocol foundation.
- Next product increments: chat panel rendering, history persistence, JWT login path, stronger server identity UX.
## Remaining
- Wire auto-connect startup to DualSlotRuntime without weakening secret boundary.
- Q3: main chat panel MVP with Companion/Operations switching, streaming event merge, send error state, and session history restore.
- Q4: dynamic Tauri quick-chat window sharing the Rust runtime.
- Q5: non-default-topmost status bubble window with runtime status display.
- Q6: pet state, safe PNG/WebP manifest schema, monitor geometry, and safe-edge placement model.
Validation: Rust workspace tests passed (59 tests), Rust Clippy with warnings denied passed, Rust format check passed, TypeScript check passed, Vitest passed (6 tests), and Vite production build passed.
Still not claimed complete: automatic startup activation, real Tauri multi-window manual UX, long-duration reconnect soak, JWT login, attachment protocol, certificate pinning, actual Windows multi-monitor/game-mode integration, voice, and release installer validation.
- Completed: added the `window_states` SQLite table (schema v7) for quick-chat position, size, and monitor identity.
- Completed: restore geometry on open; fall back to the current primary monitor and clamp to its work area when a monitor is unavailable or the saved position is invalid.
- Completed: save geometry on move, resize, and close-to-tray; keep the quick window single-instance without destroying the shared chat runtime.
## 2026-07-20: JWT profile and 2D paper pet foundation
- Added JWT as a persisted connection authentication type alongside API Key and device token; SQLite schema is now v8 and migrates existing profiles without losing slot assignments.
- Added remote ID validation: 3-32 ASCII letters or digits; the ID remains separate from the user-facing nickname field planned for the profile UI.
- Extended the pet-pack manifest with optional animation IDs, loop flags, and bounded movement modes for 2D paper-character actions.
- Updated the pet importer copy and JWT selection UI; full Dashboard login, JWT expiry handling, and background pet window controller remain next-stage work.
- Validation: Rust workspace tests, TypeScript, ESLint, Vitest (6), and Vite production build pass.
- Added a Rust-owned login_profile_jwt command for AstrBot Dashboard login at /api/v1/auth/login.
- Dashboard username, password, and optional TOTP stay inside Rust; successful JWTs are written to Windows Credential Manager and the Profile is switched to JWT authentication.
- Added Profile UI fields for JWT login and retained API Key/device-token enrollment for non-JWT profiles.
- Full JWT expiry/401 re-login UX and nickname/remote-ID separation remain next increments.
- Validation: Rust workspace tests (65), Clippy, TypeScript, ESLint, Vitest (6), and Vite build pass.