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
{{ message }}
Repository navigation
[FEATURE]: Implement /share and /unshare for v2 sessions (documented but hardcoded stubs in v2.0.21) #52575
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Implement /share and /unshare for v2 sessions — or, if implementation isn't imminent, gate the docs page, keybind schema, and TUI command entries per major version so v2 users aren't advertised a feature that cannot work.
Current state (v2.0.21): both commands are hardcoded stubs. packages/tui/src/routes/session/index.tsx:
// L897-902 — /share{title: "Share session",id: "session.share",slash: {name: "share"},run: ()=>unavailable("Sharing")},// hardcoded stub// L975-981 — /unshare (also enabled: false)run: ()=>unavailable("Unsharing"),// L682-685 — the toast both hittoast.show({message: `${feature} is not implemented for V2 sessions yet`, ... })
Running /share toasts Sharing is not implemented for V2 sessions yet. Meanwhile:
the v2 keybind schema (opencode.ai/v2/cli.json) exposes session.share ("Share current session") and session.unshare with no unavailability note
Why it matters: the phantom-feature problem — nothing in docs, keybinds, or the command palette marks the feature unavailable for v2. Users only discover it's missing by trying it. This is the same class as #52491 (tabs.layout: vertical documented but silently ignored on narrow terminals): documented surface, v2 runtime doesn't deliver, no upfront signal.
Preferred outcome: implement sharing for v2 sessions — the v1 backend exists (share links at opncd.ai/s/<id>, API referenced in #45525). Fallback acceptable: honest per-version gating ("not yet available in v2") in docs, keybind schema, and the command entries.
Existing share-related issues (#45525, #41124, #48305) concern the v1 backend's security/retention behavior, not v2 missing the feature entirely. No workaround exists on v2 today; the only path is v1 if still installed.
This is framed as a feature request, but the title must start with [FEATURE]: and the Feature Request template's verification checkbox is missing. Please use that template and account for the existing related request below.
Please edit this issue to address the above within 72 hours, or it will be automatically closed.
This issue might be a duplicate of an existing issue. Please check:
changed the title [-]docs/tui: /share and /unshare documented as working in v2 but are hardcoded stubs[/-][+][FEATURE]: Implement /share and /unshare for v2 sessions (documented but hardcoded stubs in v2.0.21)[/+]on Oct 1, 2026
You're asking for /share and /unshare to work in v2 sessions, or, if they can't yet, for the docs, keybind schema and command palette to say so.
Since v2.0.21, session sharing has been retired on purpose (#55716):
The v2 /share command was removed.
The share docs pages were taken down.
The session.share and session.unshare keybinds are still accepted so existing configs don't error. Their descriptions now read "Deprecated: session sharing was removed".
From v2.1.0 onwards, v2 no longer advertises sharing, which covers your fallback. If you upgrade, you shouldn't see the old "not implemented yet" stubs.
I'll leave the request to bring sharing back for maintainers to consider.
Session sharing was retired in #55716, which removed the V2 /share command and the share docs and marked the share keybinds deprecated, so the stubs this issue describes are gone. If sharing comes back it will be tracked separately.
Activity
github-actions commentedon Oct 1, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:and the Feature Request template's verification checkbox is missing. Please use that template and account for the existing related request below.Please edit this issue to address the above within 72 hours, or it will be automatically closed.
This issue might be a duplicate of an existing issue. Please check:
/sharecommand, which overlaps with the missing/sharefunctionality reported here.For keybind-related issues, please also check our pinned keybinds documentation: #4997
If you believe this was flagged incorrectly, please let a maintainer know.
[-]docs/tui: /share and /unshare documented as working in v2 but are hardcoded stubs[/-][+][FEATURE]: Implement /share and /unshare for v2 sessions (documented but hardcoded stubs in v2.0.21)[/+]github-actions commentedon Oct 1, 2026
Thanks for updating the issue with the Feature Request template details and clear context. This now meets the issue requirements.
nexxeln commentedon Oct 2, 2026
share is in the roadmap. will be added soon
DEAD1nsane commentedon Oct 15, 2026
Hey that sounds amazing! if you need any help on this, my Telegram is in my profile, send me a message and I'll do anything I can to make this happen!
opencodejr commentedon Oct 28, 2026
Thanks for the detailed write-up, @DEAD1nsane!
You're asking for
/shareand/unshareto work in v2 sessions, or, if they can't yet, for the docs, keybind schema and command palette to say so.Since v2.0.21, session sharing has been retired on purpose (#55716):
/sharecommand was removed.session.shareandsession.unsharekeybinds are still accepted so existing configs don't error. Their descriptions now read "Deprecated: session sharing was removed".From v2.1.0 onwards, v2 no longer advertises sharing, which covers your fallback. If you upgrade, you shouldn't see the old "not implemented yet" stubs.
I'll leave the request to bring sharing back for maintainers to consider.
Related:
shareconfig key, which v2 accepts but doesn't useDEAD1nsane commentedon Oct 28, 2026
@nexxeln Thanks for the update! That's great news that it's on the roadmap.
I'll keep an eye out for it. My offer still stands - if you need any help implementing this, feel free to reach out (Telegram is in my profile).
neriousy commentedon Nov 19, 2026
Session sharing was retired in #55716, which removed the V2 /share command and the share docs and marked the share keybinds deprecated, so the stubs this issue describes are gone. If sharing comes back it will be tracked separately.