@promptbook/node
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
7 lines (6 loc) • 329 B
TypeScript
/**
* Runs one prompt-processing round with a dedicated temporary runtime log file that is cleaned up only after successful non-preserved runs.
*/
export declare function withPromptRuntimeLog<T>(scriptPath: string, handler: (logPath: string) => Promise<T>, options?: {
preserveArtifactsOnSuccess?: boolean;
}): Promise<T>;