Make v3 code compatible with Cloudflare workers for web deployments#1616
Merged
Conversation
…patible with cloudflare workers
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
greenlight | ff79467 | May 24 2026, 02:49 PM |
|
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.


This pull request introduces major improvements to authentication, workflow, and workspace management for the desktop-v3 app. The most significant changes are the implementation of a complete authentication context with device code flow, integration of tRPC for backend communication via IPC, and updates to the monorepo and build workflows to support new packages and deployment flows.
Authentication and User Context:
AuthContextinrenderer/contexts/AuthContext.tsxto manage authentication state, device code flow, token retrieval, and logout logic, with persistent storage and React context for easy access throughout the app.auth/home.tsx) that handles device code login flow and displays a QR code for user authentication.tRPC Integration and IPC Communication:
trpcIpchandler via Electron's IPC and wiring it up in both the main and preload scripts. [1] [2] [3] [4]package.jsonand configured the workspace to include the shared platform package.Monorepo and Build Workflow Updates:
pagespackage and updated workspace and build scripts to support building and deploying the new package..gitignoreto exclude.wrangler/artifacts in the desktop-v3 package.These changes collectively modernize the authentication flow, improve code maintainability, and set up the project for easier scaling and deployment.
References:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]