You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(desktop): electron app with a local mcp bridge (#297)
* feat(desktop): add the electron shell over the served app
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(desktop): open the shell on the deployed app with task desktop
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(desktop): run the nix electron in the dev shell on nixos
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(desktop): drop the window menu bar on windows and linux
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(desktop): build a windows wizard and stable installer names
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ci: build and release the desktop installers on a desktop tag
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(mcp): run a command server on the user's machine with :local
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(backend): route :local mcp servers to the owner's desktop bridge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(app): accept the desktop bridge over a websocket and relay mcp to it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(desktop): run :local mcp servers for the agent over the bridge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* harness: say where the desktop bridge lives and how its wire changes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(mcp): offer the local toolkit to a session with the desktop bridge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(mcp): list local servers only while the desktop is connected, and say so
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* harness: describe the local toolkit and when the served agent offers it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(backend): keep each account's desktop presence in convex
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(app): show desktop connected in the status bar, live from convex
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(app): pin that the desktop bridge follows the account, not the window
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(app): name the desktop's first message auth and bump the protocol
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(backend): sort the bridge imports
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* harness: drop the dead :local and lisptc:// references
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(desktop): open task desktop on the branch's preview when there is one
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(app): keep the no-desktop error private to the registry
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ci: run the desktop dist script by name so knip reads it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(mcp): split load-mcp url and command configs out of the parser
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(app): name the session check sessionOf instead of aliasing verifyToken
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* harness: state the local toolkit rules without the mechanism
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* harness: point the desktop shape at sources, not build output
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(components): share the running glyph cycle as GlyphCycle
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(desktop): fall back to main when the preview does not load
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* harness: allow the desktop its loading screen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(components): sort the glyph cycle imports
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(desktop): fall back on a server error and let the loading page run its script
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(desktop): keep the loading page beside its source and copy it into the build
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(app): prefetch the layout on navigation and show the glyph cycle while it loads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(app): share one desktop registry across the server chunks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(app): regenerate the route tree
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(mcp): let the agent ask whether the desktop app is connected
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(app): give the desktop status its own bottom bar slot and widen the bar to seven
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(preferences): teach the agent the seven bottom bar slots and the desktop item
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(preferences): accept every bottom bar slot even when the stored order predates it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(mcp): read desktop presence from its row at the start of each step
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(backend): keep one desktop row per account as the only truth of its presence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(app): ping the desktop and drop it when it goes silent
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(desktop): ping the app, and let go of it on quit, sleep and lock
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(app): keep the ping cadence on the desktop side only
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(app): let the socket know its own authentication instead of asking the registry
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(app): align the sidebar footer with the workspace bar edges
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(desktop): keep running in the tray and start at login, set from the tray or preferences
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(preferences): let the agent set the desktop preferences while a desktop is connected
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(app): keep the desktop settings shape private to the shell glue
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(desktop): show an offline screen with a retry button when the app cannot be reached
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(desktop-protocol): share the desktop wire as one package instead of two mirrored copies
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(mcp): add a local playwright setup the desktop runs with the nix browser
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(mcp): load a toolkit server's local setup with :local and refuse :command from the model
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(mcp): show a load held on auth as a gray lock row, not an error
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(mcp): let toolkit entries declare agent flags and pass display env to local servers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(mcp): show a load held on auth as a gray lock row, not an error
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(permissions): gate local mcp servers as local/<server> calls with always allow
* feat(desktop): prompt to install a downloaded update when the app is outdated
* feat(app): show an update ready button in the desktop status
* refactor(desktop): stop exporting the update check interval
* fix(compaction): show a failed form's error to the user, not only the model
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(mcp): add :local and :headless flags to load-mcp for toolkit servers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(compaction): split list description out of describe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(mcp): split url and command configs out of connConfigFromArgs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(mcp): take a trailing load-mcp flag without a value as set
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
* feat(backend): key the desktop on caller and machine, and split settings off the bridge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* harness: state the desktop update rule without its mechanism
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(desktop-protocol): carry mcp messages as rpc frames instead of tunnelled http
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(app): add a landing page at / and a page to download the desktop app
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(desktop): name the product salsal and point the shell at salsal.xyz
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(app): send a signed-out desktop shell straight to login, past the landing page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(app): keep the release shape private and export its ports
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(app): treat a session for a deleted account as signed out and drop its cookies
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(app): start the desktop download in place and thank the user with install steps
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(app): keep the download ids private to their module
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(app): decide signed-out routing on the server and drop a stale session in the authed loader
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* perf(app): show the login form without waiting on auth and skip the token for cookieless requests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(app): show each platform's icon on the download page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(app): drop a rejected session in the root loader too, through one shared helper
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(app): start the client signed out when the root loader drops a stale session
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* perf(app): serve the public assets precompressed with brotli and gzip
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* perf(app): load the readme editor and the json viewer only when opened
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* perf(app): load the slim posthog build after first paint, without session replay
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* perf(app): land in the app with a full load after sign in and fetch its route code early
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* perf(app): share one convex token fetch between concurrent auth requests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* perf(app): start the workspace prefetches alongside the workspace check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(app): show the loading glyphs instead of a blank screen while auth settles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* perf(app): reuse the server's convex token until it nears expiry and authenticate the socket once
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(mcp): restore :local for toolkit servers and drop the headless special case
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(desktop): show connecting and failed states with a retry countdown in the status bar
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(app): split the desktop status into one component per state
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(app): tick the desktop retry countdown from mount
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(desktop): add zoom shortcuts and a zoom control in the status bar
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(backend): bind the desktop to its user once as a single port
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(app): widen the status bar to nine equal slots with the middle one centered
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(app): derive desktop status from the live registry and withdraw on shutdown
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(shared): hold the desktop preferences shape in one place
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(shared): share the bottom bar slots so the app, the extension and its prompt agree
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(app): make convex the only source of desktop presence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Revert "refactor(app): make convex the only source of desktop presence"
This reverts commit cb9aca65e8a90d683743f643064a6167cdfd8a98.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(mcp): fail a :local load instead of falling back to docker
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: auto-resolve-merge-conflict[bot] <343603835+auto-resolve-merge-conflict[bot]@users.noreply.github.com>