feat(launcher): Tauri desktop launcher for multi-org Studio#4178
Open
vibegui wants to merge 2 commits into
Open
feat(launcher): Tauri desktop launcher for multi-org Studio#4178vibegui wants to merge 2 commits into
vibegui wants to merge 2 commits into
Conversation
Lightweight cross-platform (macOS/Windows/Linux) launcher that renders the hosted Deco Studio in native OS WebViews — one window per org, all sharing one login — instead of heavyweight browser tabs. Talks only to the hosted backend (configurable via DECO_STUDIO_URL); no local mesh/Postgres/NATS. Includes app menu + tray, single-instance, window-state, session restore, and per-window org titles. Fully decoupled and excluded from the root Bun workspace. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…asses bun run --workspaces enumerates apps/launcher even though it is excluded from the workspace install via the "!apps/launcher" pattern, and errors when a workspace lacks a 'check' script. Add a self-documenting no-op (the launcher is a Rust/Tauri app with no TypeScript to typecheck). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What is this contribution about?
Adds
apps/launcher, a lightweight cross-platform (macOS/Windows/Linux) Tauri v2 desktop launcher that renders the hosted Deco Studio in native OS WebViews — one window per org, all sharing a single login — so you can keep several orgs open at once without the memory footprint of a browser per org. It talks only to the hosted backend (configurable viaDECO_STUDIO_URL; no local mesh/Postgres/NATS), and ships an app menu + system tray, single-instance focus, window-state and session restore, and per-window org titles ({org} - Deco Studio). The package is fully decoupled fromapps/mesh(imports no app code) and is excluded from the root Bun workspace ("!apps/launcher") so a normalbun installdoesn't pull the Tauri CLI / Rust toolchain.Screenshots/Demonstration
N/A — native desktop windows; run locally to see (see How to Test).
How to Test
cd apps/launcher && bun installbun run dev(requires Rust + Cargo)studio.decocms.com; log in once, then⌘/Ctrl+Nopens more windows that share the session; the tray lists recent orgs; quitting and relaunching reopens your org windows with titles likedeco - Deco Studio.Migration Notes
None. Root
bun installis unaffected (the launcher is excluded from the workspace and built with its own toolchain). Known follow-up: validate OAuth inside the WebView (Google may reject embedded WebViews — a desktop UA is set as the first mitigation; seeapps/launcher/README.md).Review Checklist
Summary by cubic
Adds a cross-platform Tauri desktop launcher that opens the hosted Deco Studio in native OS WebViews, one window per org, sharing a single login. Improves multi-org workflows with lower memory than browser tabs, plus session restore and tray/menu controls.
New Features
apps/launcher(Tauri v2) using the system WebView; each org opens in its own window.DECO_STUDIO_URL), no local mesh/Postgres/NATS; remote windows are sandboxed (no Tauri IPC). Package is decoupled and excluded from the root workspace;@tauri-apps/cliis a local devDependency.Bug Fixes
checkscript inapps/launcher/package.jsonsobun run --workspaces checksucceeds even though the launcher is excluded from the root workspace.Written for commit 95af06e. Summary will update on new commits.