@promptbook/utils
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
13 lines (12 loc) • 649 B
TypeScript
import type { HarnessDefinition } from './HarnessDefinition';
import type { HarnessInstallationMethod } from './HarnessInstallationOrigin';
import type { HarnessUpdatePlan } from './HarnessUpdatePlan';
/**
* Decides how one outdated CLI coding harness should be updated.
*
* The plan follows the way the harness was installed, because `npm install -g` updates only a harness
* which npm owns and installs a **second** copy of every other one.
*
* @private internal utility of `promptbookCli`
*/
export declare function resolveHarnessUpdatePlan(definition: HarnessDefinition, installationMethod: HarnessInstallationMethod): HarnessUpdatePlan;