nikivdev/code · error
claude resume requires an interactive terminal (TTY); run th
Error message
claude resume requires an interactive terminal (TTY); run this in a terminal tab (e.g. Zed/Ghostty)
What it means
Error "claude resume requires an interactive terminal (TTY); run this in a terminal tab (e.g. Zed/Ghostty)" thrown in nikivdev/code.
Source
Thrown at src/ai.rs:14904
)
}
fn launch_resolved_resume_session(
session_id: String,
session_provider: Provider,
codex_launch_target: Option<PathBuf>,
explicit_session_requested: bool,
) -> Result<()> {
let has_tty = io::stdin().is_terminal() && io::stdout().is_terminal();
if !has_tty {
match session_provider {
Provider::Codex => {
bail!(
"codex resume requires an interactive terminal (TTY); run this in a terminal tab (e.g. Zed/Ghostty)"
);
}
Provider::Claude => {
bail!(
"claude resume requires an interactive terminal (TTY); run this in a terminal tab (e.g. Zed/Ghostty)"
);
}
Provider::Cursor => {
bail!(
"cursor transcripts are readable only; use `f cursor list`, `f cursor copy`, or `f cursor context`"
);
}
Provider::All => {}
}
}
if session_provider == Provider::Cursor {
bail!(
"cursor transcripts are readable only; use `f cursor list`, `f cursor copy`, or `f cursor context`"
);
}
View on GitHub (pinned to a747e741ae)
When it happens
Trigger: Thrown at src/ai.rs:14904 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/cc7e1fb51eff67f2.
Report an issue: GitHub.