CoAgent8 - Source API
    Preparing search index...

    Interface StdinSession

    Stdin protocol of a CLI that supports a graceful interrupt (termination layer 1).

    The session parses the CLI's output itself (through onStdoutLine) and must close the channel when the CLI reports its terminal event, including after an interrupt.

    interface StdinSession {
        interrupt(channel: StdinChannel): void;
        start(channel: StdinChannel, input: string): void;
    }
    Index