opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Desktop typecheck error: Cannot find name 'platform'

Open jerome-benoit opened this issue 1 day ago • 0 comments

Description

Desktop package fails typecheck with error:

src/index.tsx:300:5 - error TS2304: Cannot find name 'platform'.

Cause

PR #7360 introduced an event listener that references platform.openLink() before platform is defined.

Impact

  • Build fails on pre-push hook
  • Cannot push to repository
  • Introduced in commit 779610d66

Expected Behavior

Typecheck should pass.

jerome-benoit avatar Jan 15 '26 11:01 jerome-benoit