-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Description
Description
TypeError: undefined is not an object (evaluating 'input.setText')
at set (src/cli/cmd/tui/component/prompt/index.tsx:412:7)
at ref (src/cli/cmd/tui/routes/session/index.tsx:1055:21)
at Prompt (src/cli/cmd/tui/component/prompt/index.tsx:398:9)
at untrack (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:475:12)
at runComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:742:22)
at updateComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:724:3)
at devComponent (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:593:3)
at <anonymous> (src/cli/cmd/tui/routes/session/index.tsx:1046:29)
at children (src/cli/cmd/tui/routes/session/index.tsx:1068:20)
at <anonymous> (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:1531:21)
at runComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:742:22)
at updateComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:724:3)
at runTop (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:833:7)
at runQueue (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:904:42)
at completeUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:860:84)
at runUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:850:5)
at setStore (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/store/dist/dev.js:221:5)
at sync (src/cli/cmd/tui/context/sync.tsx:304:11)
at processTicksAndRejections (native:7:39)...
Plugins
None
OpenCode version
1.1.12
Steps to reproduce
This happened while forking a session of a Plan. This was the first prompt, and the plan was running. I wanted to fork to another session, to make another model plan the same thing.
Screenshot and/or share link
No response
Operating System
macOS Tahoe
Terminal
Ghostty
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui