Skip to content

feat: import the local web Harness home on first launch - #397

Merged
yaojin3616 merged 2 commits into
mainfrom
feat/web-home-import
Sep 14, 2026
Merged

yaojin3616 merged 2 commits into
mainfrom
feat/web-home-import

Conversation

@Fairy-happy

Copy link
Copy Markdown
Collaborator

Copy ~/.dsh into an unused desktop home so same-machine web users are not treated as a fresh install.

Base automatically changed from v0.9.0 to main September 13, 2026 14:59
Copy ~/.dsh into an unused desktop home so same-machine web users are not treated as a fresh install.

Co-authored-by: Cursor <cursoragent@cursor.com>
…talls

In dev mode (dsh-desktop-dev), profiles have no nodeLinker:hoisted config
so pnpm installs dshmarket as a symlink into .pnpm/…. The previous
isSymbolicLink() check treated any symlink as a stray generation link,
deleted it, then called pnpm to reinstall — which recreated the same
symlink. The post-install guard rejected it and the app entered Safe Mode
on every dev launch.

Fix: read the symlink target and only treat paths containing `.generations`
as generation links. pnpm isolated-store symlinks (.pnpm/…) are left alone
in demoteMarketGeneration and ensureMarketBaseline, and are accepted by
upgradeMarketInSharedTree's post-install verification.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@yaojin3616
yaojin3616 merged commit f76daa1 into main Sep 14, 2026
2 of 3 checks passed
@yaojin3616
yaojin3616 deleted the feat/web-home-import branch September 14, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants