You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The desktop version of OpenCode is missing the /unshare command that exists in the TUI version.
Current State
TUI (working):
Has /unshare command that removes share links and makes sessions private
Command is documented in tui.mdx and functional
Desktop/Web App (missing):
Has share functionality (can share sessions via session header UI)
NO /unshare slash command
NO unshare button in the UI
Users can share sessions but cannot unshare them through the interface
Expected Behavior
Desktop app should have the same unshare functionality as the TUI version:
/unshare slash command should be available in the command palette
Optionally, an unshare button in the session header UI
Impact
Users who share sessions from the desktop app cannot revoke access through the UI, which is a privacy/usability concern.
Steps to Reproduce
Use the desktop app
Try to run /unshare command
Command is not available in the slash commands list (only /share is available)
Additional Context
This creates a feature discrepancy between the TUI and desktop interfaces. The underlying API endpoint DELETE /session/:id/share exists and is used by the TUI version (see packages/opencode/src/cli/cmd/tui/routes/session/index.tsx:396-407).
The desktop app already has share functionality implemented in packages/app/src/components/session/session-header.tsx but lacks the corresponding unshare capability.
Activity
github-actions commentedon Jan 15, 2026
This issue might be a duplicate of existing issues. Please check:
/unsharecommand #271: Should probably have an /unshare command - Original feature request to add /unshare commandFeel free to ignore if none of these address your specific case.