@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
13 lines • 830 B
TypeScript
/**
* A steer that names the turn it is meant for (senpi#5776). The name is checked at the moment the steer enters the
* runtime's queue, in the same synchronous step, so a turn that ends while the steer waits on input handlers, command
* holds or the pending-input journal can never receive it.
*/
export declare class TurnConflictError extends Error {
/** The running turn when the steer was refused; undefined when no turn was running. */
readonly currentTurnId: string | undefined;
constructor(currentTurnId: string | undefined);
}
/** The refusal for a steer meant for `expected` while `current` runs; undefined when it may be queued. */
export declare function turnConflict(expected: string | undefined, current: string | undefined): TurnConflictError | undefined;
//# sourceMappingURL=turn-conflict.d.ts.map