opencode
opencode copied to clipboard
opentui: fatal: undefined is not an object (evaluating 'sync.data.session_status[props.sessionID ?? ""]')
Description
TypeError: undefined is not an object (evaluating 'sync.data.session_status[props.sessionID ?? ""]')
at <anonymous> (src/cli/cmd/tui/component/prompt/index.tsx:62:45)
at runComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:742:22)
at updateComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:724:3)
at runTop (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:833:7)
at runQueue (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:904:42)
at completeUpdates (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:860:84)
at runUpdates (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:850:5)
at setStore (../../node_modules/.bun/[email protected]/node_modules/solid-js/store/dist/dev.js:221:5)
at processTicksAndRejections (native:7:39)...
OpenCode version
1.0.152
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
macOS 15.7.1 (24G231)
Terminal
ghostty
This issue might be a duplicate of existing issues. Please check:
- #4719: Similar undefined error with color.buffer in prompt component
- #5308: Related opentui fatal error with undefined objects in theme context
- #4372: Related undefined error in lines() within session rendering
These issues all relate to undefined objects being accessed in opentui components. Feel free to ignore if your specific case differs from these.