@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
15 lines • 794 B
TypeScript
import { type MovedSessionOptions } from "../core/moved-sessions.ts";
export interface ContinueMovedChoice extends MovedSessionOptions {
readonly cwd: string;
readonly interactive: boolean;
readonly confirm: (message: string) => Promise<boolean>;
readonly out: (line: string) => void;
readonly err: (line: string) => void;
}
/**
* `--continue` in a project with no session of its own: the newest session this repository recorded
* before it moved is offered for the #2182 rebind. Returns its path when the user accepts; without an
* interactive session nothing is asked and the `--rebind` command is printed instead.
*/
export declare function movedSessionToContinue(choice: ContinueMovedChoice): Promise<string | undefined>;
//# sourceMappingURL=continue-moved.d.ts.map