Repository navigation
Description
Description
It seems like same way to produce error as in below with different error message output.
I'm working with an "Orchestrator" primary agent, he spawns subagents, sometimes when I try to access a subagent right after he got created I get a critical error:"
What I got:
TypeError: Cannot read properties of undefined (reading 'id')
at Object.fn (http://tauri.localhost/assets/session-fIsUe1AY.js:14:83828)
at runComputation (http://tauri.localhost/assets/index-CVVLi3r_.js:1:6735)
at updateComputation (http://tauri.localhost/assets/index-CVVLi3r_.js:1:6483)
at runTop (http://tauri.localhost/assets/index-CVVLi3r_.js:1:7917)
at runQueue (http://tauri.localhost/assets/index-CVVLi3r_.js:1:8818)
at completeUpdates (http://tauri.localhost/assets/index-CVVLi3r_.js:1:8191)
at runUpdates (http://tauri.localhost/assets/index-CVVLi3r_.js:1:8108)
at batch (http://tauri.localhost/assets/index-CVVLi3r_.js:1:3650)
at flush (http://tauri.localhost/assets/index-C0Yu-S9C.js:2306:44760)
Was not happening before v1.2.24.
Plugins
No response
OpenCode version
v1.2.24
Steps to reproduce
Let "orchestrator" primary agent(build) call other subagent
Other subagent starts
You try to access that subagent's session by clicking on the session name.
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
No response
Activity
github-actions commentedon Mar 10, 2026
This issue might be a duplicate of existing issues. Please check:
TypeError: Cannot read properties of undefined (reading 'id')when clicking on a running subagent session, Windows 11, v1.2.23If your issue is the same as #16773, please add a thumbs-up or comment there instead so the team can track it in one place.