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
{{ message }}
Repository navigation
Commit 38d5342
Browse filesBrowse the repository at this point in the historyBrowse files
fix(desktop): auto-setup workspace and skip onboarding for shared identity worktrees
SPROUT_SHARE_IDENTITY=1 shares the Nostr private key across worktrees
but each worktree gets a unique Tauri identifier, isolating localStorage.
This left two gaps: no workspace config (forcing WelcomeSetup on every
new worktree) and no onboarding completion marker (forcing re-onboarding
despite the user already having a profile on the relay).
Add an is_shared_identity Tauri command that exposes the env var to the
frontend. When true, useWorkspaceInit auto-creates a workspace from the
default relay URL (mirroring WelcomeSetup.handleConnect) and the
onboarding gate writes the completion marker immediately after the
identity query succeeds, bypassing the fragile relay profile check.
0 commit comments