UNPKG

@promptbook/documents

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

15 lines (14 loc) 654 B
import type { Command as Program } from 'commander'; import type { $side_effect } from '../../utils/organization/$side_effect'; /** * Initializes `agent` command with subcommands for Promptbook CLI utilities. * * The agent command runs one `.book` source directly through a selected CLI harness: * - chat: Run an interactive terminal chat session * - exec: Send one message and print the response * * Note: `$` is used to indicate that this function is not a pure function - it registers a command in the CLI. * * @private internal function of `promptbookCli` */ export declare function $initializeAgentCommand(program: Program): $side_effect;