-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
webRelates to opencode on web / desktopRelates to opencode on web / desktop
Description
Summary
The OpenCode desktop app does not currently support deep links to open directly to a session.
Current State
The desktop app's Tauri configuration does not include a deep-link plugin configuration. The config only contains:
- Basic app identifiers and build settings
- Bundle configuration (icons, installers)
- External binary sidecar for the CLI
There's no URL scheme (like opencode://session/<id>) registered.
Use Case
Being able to deep link directly to a session would enable:
- Clicking links in external tools (Slack, email, notes) to jump straight to a specific OpenCode session
- Better integration with workflow automation
- Sharing session references with teammates that open in the native app
Current Workarounds
- CLI:
opencode --session <id>oropencode -copens the TUI to a specific session - Web console: The
/sharecommand creates shareable web URLs (opncd.ai/s/<share-id>), but these are read-only views
Proposed Solution
Register a URL scheme handler via Tauri's deep-link plugin:
opencode://session/<session-id>
The architecture (Tauri + client/server model) should support adding deep links relatively easily since the app already communicates with the local HTTP server.
Additional Context
This would bring the desktop app closer to feature parity with how other dev tools handle session/context linking.
Metadata
Metadata
Assignees
Labels
webRelates to opencode on web / desktopRelates to opencode on web / desktop