@promptbook/utils
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
11 lines (10 loc) • 500 B
TypeScript
import type { HarnessDefinition } from './HarnessDefinition';
/**
* Reads the version of the globally installed harness command.
*
* Note: `$` is used to indicate that this function is not a pure function - it runs the harness command
*
* @returns The installed version or `null` when the harness command is not available globally
* @private internal utility of `promptbookCli`
*/
export declare function $resolveInstalledHarnessVersion(definition: HarnessDefinition): Promise<string | null>;