mirror of
https://github.com/pocketpaw/pocketpaw.git
synced 2026-05-20 08:49:49 +00:00
* fix(client): reliable first-install pipeline and production CSP Rewrites the Tauri installer to handle fresh devices with no Python/uv. Uses a cascading bootstrap: find Python 3.11+ -> install uv -> uv python install -> fallback to system package manager -> prompt user. Only passes --uv-available when uv is actually detected. Reads both stdout and stderr from the installer subprocess so errors are visible in the UI. Fixes production-only "Failed to load sessions" by adding localhost to CSP connect-src (production uses tauri.localhost origin, not 127.0.0.1). Adds Tauri logging plugin (file + stdout + webview) and a TypeScript logger wrapper with console fallback for non-Tauri environments. Embeds Claude Code CLI installation in the bootstrap pipeline. Updates "CLI not found" messages across all agent backends with platform-specific install commands and alternative backend suggestions. * fix(lint): reformat test files flagged by ruff Reformat tests/test_headless_permissions.py and tests/test_integration_headless.py to satisfy ruff format. Fix UP038 lint error: use `dict | str` instead of `(dict, str)`. Closes #584 * fix(client): add missing Command import in context.rs The macOS active-context detection uses std::process::Command but the import was missing, causing a build failure on macOS. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Prakash <prakashd88@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>