Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.32 KB

File metadata and controls

47 lines (35 loc) · 1.32 KB
summary Replay and follow a live session.
read_when
Looking up attach
title coven attach
description Reference for coven attach: connect a terminal to a running harness session's PTY, with input forwarding and live event streaming from the daemon.

Usage

coven attach <session-id>

Use coven sessions or coven sessions --plain first if you need to copy the full id.

Behavior

coven attach checks the local session store, prints the session status, harness, and title to stderr, then replays printable output events. For a live session, it keeps following new output until the session stops.

When stdin is a terminal, attach also forwards input lines to the daemon input endpoint for that live session. When stdin is non-interactive, the input forwarder is disabled and attach behaves like a replay/follow log command.

Completed, failed, killed, orphaned, and archived sessions can still be replayed. They do not accept input because there is no live PTY left to write to.

Examples

coven sessions --plain
coven attach <session-id>

coven run claude "check the failing tests" --detach
coven attach <new-session-id>

Related