opencode icon indicating copy to clipboard operation
opencode copied to clipboard

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

Open Dragoy opened this issue 1 month ago • 7 comments

I shared my session to send it to a colleague. However, when I click on the link https://opncd.ai/share/, I get a blank black page. I tried to regenerate the link, but the /unshare command doesn't work—nothing happens!

Dragoy avatar Dec 13 '25 21:12 Dragoy

it looks like you are missing the share id?

what version of opencode are you on?

rekram1-node avatar Dec 13 '25 21:12 rekram1-node

it looks like you are missing the share id?

what version of opencode are you on?

v1.0.152 I cannot provide the full link, but I can send it to your email if necessary

Dragoy avatar Dec 13 '25 21:12 Dragoy

With the usual “hello,” everything works: https://opncd.ai/share/izwdCmN7

but in the last session there may have been some characters that could have broken the page

Dragoy avatar Dec 13 '25 21:12 Dragoy

sure you can email:

[email protected]

rekram1-node avatar Dec 13 '25 22:12 rekram1-node

All done!

I checked /unshare in another session, it doesn't work either, nothing happens.

Dragoy avatar Dec 13 '25 22:12 Dragoy

What I found

Dug around in DevTools and found the cause. There's this error in the page HTML:

ReferenceError: Node is not defined
    at isTriggerTitle (placeholder:43114:92)

Looks like isTriggerTitle function tries to use browser's Node during SSR, but it doesn't exist on the server.

Because of this, one of the hydration keys (000000010000000020000000010) becomes an empty object {}, and React/Solid can't mount — <div id="app"> stays empty.

Session comparison

Broken Working
Messages 57 4
Tool-calls 47 0
Errors in data 2 0
Content in #app empty 25KB

Dragoy avatar Dec 13 '25 22:12 Dragoy

Same here.

It worked fine with the new layout around 12:00UTC on the 12th, but I've been getting an empty page since the 13th. Also, I can't use /unshare.

akiba-azuki avatar Dec 14 '25 01:12 akiba-azuki