opentui: fatal: undefined is not an object (evaluating 'currentSession.id') #3011

Closed
opened 2026-02-16 17:38:14 -05:00 by yindo · 2 comments
Owner

Originally created by @zibler on GitHub (Nov 20, 2025).

Description

https://github.com/sst/opencode/issues/new?template=bug-report.yml&title=opentui%3A+fatal%3A+undefined+is+not+an+object+%28evaluating+%27currentSession.id%27%29&description=%60%60%60%0ATypeError%3A+undefined+is+not+an+object+%28evaluating+%27currentSession.id%27%29%0A++++at+%3Canonymous%3E+%28src%2Fcli%2Fcmd%2Ftui%2Froutes%2Fsession%2Findex.tsx%3A116%3A64%29%0A++++at+find+%28native%3A1%3A11%29%0A++++at+%3Canonymous%3E+%28src%2Fcli%2Fcmd%2Ftui%2Froutes%2Fsession%2Findex.tsx%3A116%3A39%29%0A++++at+runComputation+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A742%3A22%29%0A++++at+updateComputation+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A724%3A3%29%0A++++at+runTop+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A833%3A7%29%0A++++at+runUserEffects+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A943%3A36%29%0A++++at+runUpdates+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A849%3A17%29%0A++++at+completeUpdates+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A900%3A17%29%0A++++at+runUpdates+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A850%3A5%29%0A++++at+setStore+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fstore%2Fdist%2Fdev.js%3A221%3A5%29%0A++++at+navigate+%28src%2Fcli%2Fcmd%2Ftui%2Fcontext%2Froute.tsx%3A18%3A9%29%0A++++at+%3Canonymous%3E+%28src%2Fcli%2Fcmd%2Ftui%2Fcomponent%2Fprompt%2Findex.tsx%3A427%3A13%29...%0A%60%60%60&opencode-version=1.0.82

OpenCode version

1.0.82

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @zibler on GitHub (Nov 20, 2025). ### Description https://github.com/sst/opencode/issues/new?template=bug-report.yml&title=opentui%3A+fatal%3A+undefined+is+not+an+object+%28evaluating+%27currentSession.id%27%29&description=%60%60%60%0ATypeError%3A+undefined+is+not+an+object+%28evaluating+%27currentSession.id%27%29%0A++++at+%3Canonymous%3E+%28src%2Fcli%2Fcmd%2Ftui%2Froutes%2Fsession%2Findex.tsx%3A116%3A64%29%0A++++at+find+%28native%3A1%3A11%29%0A++++at+%3Canonymous%3E+%28src%2Fcli%2Fcmd%2Ftui%2Froutes%2Fsession%2Findex.tsx%3A116%3A39%29%0A++++at+runComputation+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A742%3A22%29%0A++++at+updateComputation+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A724%3A3%29%0A++++at+runTop+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A833%3A7%29%0A++++at+runUserEffects+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A943%3A36%29%0A++++at+runUpdates+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A849%3A17%29%0A++++at+completeUpdates+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A900%3A17%29%0A++++at+runUpdates+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fdist%2Fdev.js%3A850%3A5%29%0A++++at+setStore+%28..%2F..%2Fnode_modules%2F.bun%2Fsolid-js%401.9.9%2Fnode_modules%2Fsolid-js%2Fstore%2Fdist%2Fdev.js%3A221%3A5%29%0A++++at+navigate+%28src%2Fcli%2Fcmd%2Ftui%2Fcontext%2Froute.tsx%3A18%3A9%29%0A++++at+%3Canonymous%3E+%28src%2Fcli%2Fcmd%2Ftui%2Fcomponent%2Fprompt%2Findex.tsx%3A427%3A13%29...%0A%60%60%60&opencode-version=1.0.82 ### OpenCode version 1.0.82 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 17:38:14 -05:00
yindo closed this issue 2026-02-16 17:38:14 -05:00
Author
Owner

@zibler commented on GitHub (Nov 20, 2025):

I was using the terminal inside VSCode and I got this. I might have deleted all the sessions before. I can't remember. Apologies for not having more context. It just happened out the the blue

@zibler commented on GitHub (Nov 20, 2025): I was using the terminal inside VSCode and I got this. I might have deleted all the sessions before. I can't remember. Apologies for not having more context. It just happened out the the blue
Author
Owner

@rekram1-node commented on GitHub (Nov 20, 2025):

fixed this on latest

@rekram1-node commented on GitHub (Nov 20, 2025): fixed this on latest
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3011