v0.6.1: Add mobile PWA with pairing, install guidance, and compact pair links#21
Merged
Conversation
Create a separate @crew44/mobile-pwa workspace with pairing, relay RPC, chat browsing, message sending, and PWA static build assets. Expose the desktop mobile pairing entry for debugging while keeping the existing Expo mobile app in place.
Adjust the PWA header, pairing screen, rows, loading state, back button, and chat composer to better match the existing Expo mobile UI. Keep the PWA proof-of-concept behavior unchanged while tightening visual consistency on mobile-sized Chrome.
Update the dev launcher to rely on Electron's own install path resolution and point missing-binary recovery at npm exec install-electron --no. Also replace lingering pnpm-specific wording in package metadata, daemon prompts, tests, and built-in skill examples with npm workspace and package-lock terminology.
Persist install prompt handling as soon as the prompt is shown or the app is detected running standalone, so users are not prompted again after dismissing, installing, unpairing, or repairing. Also tighten mobile tool-call expansion hit targets and prevent iOS textarea focus zoom.
Generate mobile pair links with compact secret payloads, support URL-prefixed pairing secrets in mobile clients, replace existing pairings cleanly, and remove PWA service worker caching so CDN headers control updates.
Hide the relay edit entry on the mobile pairing screen so the default relay stays fixed in the current flow. Keep the underlying relay editing logic intact for now while preserving the rest of the dialog updates in this file.
Revert accidental npm workspace wording in optimizer and prompt fixtures so the examples remain project-agnostic pnpm misuse cases. This keeps the npm migration changes limited to actual package tooling and docs.
Remove the maximum-scale viewport cap, pin text size adjustment for Safari, and update the paired-device mobile control copy.
Tighten relay-driven desktop offline and timeout handling for mobile clients. Simplify mobile-pwa navigation and tool timeline interactions, including chat back navigation, expandable tool rows, and improved tool output/error presentation.
Move chat draft hydration to useLayoutEffect so switching chats cannot overwrite fresh input after the new chat loads. This stabilizes the stale-draft TaskView test instead of relying on reruns.
Update the root package version, refresh the lockfile metadata, and add a short changelog entry for the mobile PWA polish and composer draft race fix in this release.
Extend the root npm test chain to run the mobile-pwa workspace tests alongside the existing Go, desktop web, and mobile suites so local verification matches the intended CI coverage.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://mobileapp.crew44.io/#secret=...links with compact pairing payloads.