opencode
opencode copied to clipboard
fix(session): fix unshare command not clearing share state
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:
unsharenow usesShareNext.remove()likesharedoes - 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)
-
--shareflag was showing hardcoded URLopencode.ai/s/xxx - Now shows actual URL from API response
opncd.ai/share/xxx