UNPKG

@promptbook/utils

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

8 lines (7 loc) • 493 B
import type { PlanningChange } from './preparePlanningChanges'; /** * Validates the entire batch before writing, stages outside the queue, then atomically replaces each file. * The synchronous commit region cannot be interrupted by a SIGINT callback halfway through a save. * @private internal execution boundary of `coder plan` */ export declare function savePlanningChanges(projectPath: string, workspacePath: string, changes: ReadonlyArray<PlanningChange>, isDraft: boolean): string[];