UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

10 lines • 467 B
import { checkoutRefusal, checkoutVerdict } from "./repository-check.js"; export async function prepareMove(options) { if (options.cwd === undefined) return options.ledger.prepare(options.moveId); const verdict = await checkoutVerdict(options.cwd, options.repository); if (verdict !== "same") throw checkoutRefusal(verdict, options.cwd); return options.ledger.prepare(options.moveId, options.cwd); } //# sourceMappingURL=prepare.js.map