Skip to content

fix(session): fix unshare command not clearing share state - #5523

Merged
rekram1-node merged 2 commits into
anomalyco:devfrom
Raviguntakala:fix/unshare-command
Dec 15, 2025
Merged

rekram1-node merged 2 commits into
anomalyco:devfrom
Raviguntakala:fix/unshare-command

Conversation

@Raviguntakala

@Raviguntakala Raviguntakala commented Dec 14, 2025 •

Copy link
Copy Markdown
Contributor

Summary

Fix sharing-related issues: unshare command not working and wrong share URL displayed

Changes

Commit 1: fix unshare command (Fixes #5493)

  • Fixed code path mismatch: unshare now uses ShareNext.remove() like share does
  • Fixed storage key bug in ShareNext.remove() (was using wrong key)
  • Added toast feedback for unshare command

Commit 2: fix share URL display (Fixes #5522)

  • --share flag was showing hardcoded URL opencode.ai/s/xxx
  • Now shows actual URL from API response opncd.ai/share/xxx

@modelnova-ai

Copy link
Copy Markdown

@rekram1-node could you take a look when you get a chance? The unshare option isn’t working for me, and this PR seems to fix it.

@rekram1-node

Copy link
Copy Markdown
Collaborator

/review

@github-actions

Copy link
Copy Markdown
Contributor

lgtm

@rekram1-node
rekram1-node merged commit 54569b5 into anomalyco:dev Dec 15, 2025
3 checks passed
nalin-singh pushed a commit to nalin-singh/opencode that referenced this pull request Dec 17, 2025
@Raviguntakala
Raviguntakala deleted the fix/unshare-command branch February 1, 2026 07:59
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 2026
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
androidand pushed a commit to androidand/opencode-skein that referenced this pull request Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Share links are broken The Share page is completely empty, and /unshare does nothing

3 participants