Skip to content

refactor: sync desktop app slice#47

Merged
Astro-Han merged 1 commit into
devfrom
sync/desktop-app
Apr 20, 2026
Merged

refactor: sync desktop app slice#47
Astro-Han merged 1 commit into
devfrom
sync/desktop-app

Conversation

@Astro-Han

Copy link
Copy Markdown
Owner

Summary

  • sync the PR 9c packages/app/src/{context,types}/** and packages/desktop-electron/** lane to upstream v1.4.11
  • move global and directory bootstrap work onto TanStack Query-backed session, agent, and provider loading, including a regression test for directory provider refresh after sessions are already cached
  • carry the upstream app-context settings and event-stream handling changes needed by the desktop shell
  • align the Electron renderer channel define and Windows app-path helper updates without touching the UI rewrite carve-out

Why

This keeps the sync/desktop-app slice in lockstep with upstream as part of PR 9c under #27, while keeping the boundary tight to app context and desktop shell infrastructure. The goal is to reduce foundation drift without widening into packages/app/src/{components,pages,styles,theme,i18n}.

Related Issue

Part of #27

How To Verify

cd packages/app && bun test --preload ./happydom.ts ./src/context/global-sync/bootstrap.test.ts
bun turbo typecheck --filter=@opencode-ai/app

Manual checks: none, no visible UI changes in this slice.

Screenshots or Recordings

N/A

Checklist

  • I ran the relevant verification steps
  • I tested visible changes manually when needed
  • I am targeting the dev branch

@Astro-Han Astro-Han merged commit 64c0bd3 into dev Apr 20, 2026
9 checks passed
@Astro-Han Astro-Han deleted the sync/desktop-app branch April 20, 2026 04:33
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.

1 participant