nikivdev/code · error

run-agent bridge show failed: {}

Error message

run-agent bridge show failed: {}

What it means

Error "run-agent bridge show failed: {}" thrown in nikivdev/code.

Source

Thrown at src/ai.rs:4728

    if !output.status.success() {
        bail!(
            "run-agent bridge list failed: {}",
            command_output_error_detail(&output)
        );
    }
    Ok(parse_run_agent_list_output(&output.stdout))
}

fn run_agent_router_show(agent_id: &str) -> Result<String> {
    let router_path = require_run_agent_router_path()?;
    let output = Command::new("bash")
        .arg(&router_path)
        .arg("show")
        .arg(agent_id)
        .output()
        .with_context(|| format!("failed to execute {}", router_path.display()))?;
    if !output.status.success() {
        bail!(
            "run-agent bridge show failed: {}",
            command_output_error_detail(&output)
        );
    }
    String::from_utf8(output.stdout).context("failed to decode run-agent show output")
}

fn parse_run_agent_completed_event(stdout: &[u8]) -> Result<CodexRunAgentCompletedEvent> {
    let rendered = String::from_utf8(stdout.to_vec())
        .context("failed to decode run-agent event stream as UTF-8")?;
    let mut completed: Option<CodexRunAgentCompletedEvent> = None;

    for line in rendered.lines() {
        let trimmed = line.trim();
        if trimmed.is_empty() {
            continue;
        }
        let value: serde_json::Value =

View on GitHub (pinned to a747e741ae)

When it happens

Trigger: Thrown at src/ai.rs:4728 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of nikivdev/code@a747e741ae (2026-09-01). Data as JSON: /api/errors/654060d33e35c78d. Report an issue: GitHub.