Skip to content

feat: add desktop native bridge skeleton#276

Merged
rogerchappel merged 1 commit intocodex/desktop-shell-scaffoldfrom
codex/desktop-native-bridge
May 1, 2026
Merged

feat: add desktop native bridge skeleton#276
rogerchappel merged 1 commit intocodex/desktop-shell-scaffoldfrom
codex/desktop-native-bridge

Conversation

@rogerchappel
Copy link
Copy Markdown
Owner

Summary

  • add a preload script exposing a narrow desktop bridge to the renderer
  • add IPC handlers for app metadata, current server URL, and safe external navigation
  • keep server URL writes, secure storage, notifications, tray, updater, signing, and runtime bundling out of scope

Stack

Verification

  • git diff --check
  • node --check apps/desktop/src/main.cjs && node --check apps/desktop/src/preload.cjs
  • cd apps/desktop && pnpm install --frozen-lockfile
  • cd apps/desktop && pnpm check
  • pnpm exec tsc --noEmit --pretty false
  • push hook: pnpm typecheck
  • push hook: pnpm build

Risk

Low-medium. This adds a minimal Electron bridge surface only and keeps product logic, auth, runtime management, and storage server-owned.

@rogerchappel rogerchappel merged commit 8a43bc9 into codex/desktop-shell-scaffold May 1, 2026
rogerchappel added a commit that referenced this pull request May 1, 2026
* chore: scaffold desktop shell

* feat: add desktop native bridge skeleton (#276)

* docs: add desktop release checklist (#277)

* docs: define desktop gateway discovery (#278)

* feat: add desktop notification bridge (#279)

* fix: satisfy desktop lint rules
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