@promptbook/google
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
29 lines (28 loc) • 1.31 kB
TypeScript
/**
* Free disk space below which `ptbk coder` refuses to start a new run.
*
* A coding round writes prompt and log artifacts, lets the harness rewrite the project, may install npm packages,
* may create a git worktree for `--isolate` and usually runs a build, so a run started with less than this
* would very likely die somewhere in the middle with a filesystem error.
*
* @private internal utility of `promptbookCli`
*/
export declare const LOW_FREE_DISK_SPACE_BYTES: number;
/**
* Free disk space below which a started `ptbk coder` run stops at its next checkpoint and waits until space is freed.
*
* This limit is lower than `LOW_FREE_DISK_SPACE_BYTES`, because interrupting a run which is already in progress
* is more expensive than not starting one at all.
*
* @private internal utility of `promptbookCli`
*/
export declare const CRITICALLY_LOW_FREE_DISK_SPACE_BYTES: number;
/**
* How long one free disk space measurement is reused before the filesystem is measured again during a run.
*
* Pause checkpoints are passed very often - for example on every tick of a timed wait - so without this
* interval the filesystem would be measured many times per second.
*
* @private internal utility of `promptbookCli`
*/
export declare const FREE_DISK_SPACE_RECHECK_INTERVAL_MS: number;