Desktop app missing /unshare command #6043

Closed
opened 2026-02-16 17:59:48 -05:00 by yindo · 0 comments
Owner

Originally created by @ariane-emory on GitHub (Jan 15, 2026).

Originally assigned to: @adamdotdevin on GitHub.

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:

  1. /unshare slash command should be available in the command palette
  2. 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

  1. Use the desktop app
  2. Try to run /unshare command
  3. 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

Originally created by @ariane-emory on GitHub (Jan 15, 2026). Originally assigned to: @adamdotdevin on GitHub. ### 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: 1. `/unshare` slash command should be available in the command palette 2. 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 1. Use the desktop app 2. Try to run `/unshare` command 3. 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
yindo added the bugweb labels 2026-02-16 17:59:48 -05:00
yindo closed this issue 2026-02-16 17:59:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6043