zed-industries/zed · error · anyhow::Error
Terminal panel is unavailable
Error message
Terminal panel is unavailable
What it means
Error "Terminal panel is unavailable" thrown in zed-industries/zed.
Source
Thrown at crates/agent_ui/src/conversation_view.rs:2103
return;
};
connected.threads.insert(subagent_session_id, view);
})
})
.detach();
}
fn spawn_external_agent_login(
login: task::SpawnInTerminal,
workspace: Entity<Workspace>,
project: Entity<Project>,
method: acp::AuthMethodId,
previous_attempt: bool,
window: &mut Window,
cx: &mut App,
) -> Task<Result<()>> {
let Some(terminal_panel) = workspace.read(cx).panel::<TerminalPanel>(cx) else {
return Task::ready(Err(anyhow!("Terminal panel is unavailable")));
};
window.spawn(cx, async move |cx| {
let mut task = login.clone();
if let Some(cmd) = &task.command {
// Have "node" command use Zed's managed Node runtime by default
if cmd == "node" {
let resolved_node_runtime = project.update(cx, |project, cx| {
let agent_server_store = project.agent_server_store().clone();
agent_server_store.update(cx, |store, cx| {
store.node_runtime().map(|node_runtime| {
cx.background_spawn(async move { node_runtime.binary_path().await })
})
})
});
if let Some(resolve_task) = resolved_node_runtime {
if let Ok(node_path) = resolve_task.await {View on GitHub (pinned to bc538def45)
When it happens
Trigger: Thrown at crates/agent_ui/src/conversation_view.rs:2103 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of zed-industries/zed@bc538def45 (2026-08-16).
Data as JSON: /api/errors/384d580349825977.
Report an issue: GitHub.