agent-ecosystem/src
ShyamKumar1 c23ccde24d fix: prevent stale-runtime display on team lead for OpenCode teams
The team lead's runtime is tracked via config.leadSessionId, not as a
spawned runtime process. In the OpenCode adapter path,
buildTeamAgentRuntimeSnapshot creates a synthetic runtime entry for the
lead with alive:false (no CLI child pid) and no livenessKind, which the
getCurrentRuntimeOfflineVisualState function then classifies as
stale_runtime. This causes every team to show the lead as stale-runtime
permanently.

Add a guard in getCurrentRuntimeOfflineVisualState to skip the
stale_runtime classification when the member is the team lead and the
runtime entry carries the 'lead' backend marker.
2026-05-29 23:13:07 +03:00
..
features fix(opencode): wire junction diagnostics on dev 2026-05-28 13:12:02 +03:00
main fix(opencode): extend summary status timeout 2026-05-28 00:39:53 +03:00
preload perf(startup): defer provider status checks 2026-05-23 14:23:57 +03:00
renderer fix: prevent stale-runtime display on team lead for OpenCode teams 2026-05-29 23:13:07 +03:00
shared fix(team): reconcile provisioned-but-not-alive bootstrap state 2026-05-27 12:16:41 +03:00
types feat: harden opencode and team runtime flows 2026-05-21 01:10:48 +03:00