Description
Issue Description
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.
Plugins
None
OpenCode version
1.1.20
Description
Issue Description
The desktop version of OpenCode is missing the
/unsharecommand that exists in the TUI version.Current State
TUI (working):
/unsharecommand that removes share links and makes sessions privateDesktop/Web App (missing):
/unshareslash commandExpected Behavior
Desktop app should have the same unshare functionality as the TUI version:
/unshareslash command should be available in the command paletteImpact
Users who share sessions from the desktop app cannot revoke access through the UI, which is a privacy/usability concern.
Steps to Reproduce
/unsharecommand/shareis available)Additional Context
This creates a feature discrepancy between the TUI and desktop interfaces. The underlying API endpoint
DELETE /session/:id/shareexists 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.
Plugins
None
OpenCode version
1.1.20