@promptbook/utils
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
13 lines (12 loc) • 713 B
TypeScript
import { type PromptbookCliInstallation } from './PromptbookCliInstallation';
/**
* Finds every directly declared local or directly installed global Promptbook CLI package which can be updated.
*
* Transitive packages are deliberately ignored because this command must update the dependency chosen by the current
* project or global npm installation, not mutate a dependency owned by another package.
*
* Note: `$` is used to indicate that this function is not a pure function - it reads package manifests and runs npm
*
* @private internal utility of `promptbookCli`
*/
export declare function $resolvePromptbookCliInstallations(projectPath?: string): Promise<ReadonlyArray<PromptbookCliInstallation>>;