Skip to content

Crash on Subagent Access by User on Desktop UI #16863

Closed as duplicate
Closed as duplicate

Description

@ardabcalli

Description

It seems like same way to produce error as in below with different error message output.

"#16039

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

  1. github-actions commented on Mar 10, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions