UNPKG

@promptbook/node

Version:

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

25 lines (24 loc) 1.19 kB
/** * Temporary subdirectory used for agent-message runner shell scripts. * * @private internal constant of agent-message runtime paths */ export declare const AGENT_MESSAGE_SCRIPT_DIRECTORY_NAME = "agent-messages"; /** * Builds the temporary shell script path used by one queued agent-message harness run. * * @param projectPath - Local agent project path containing the message queue. * @param sourceFileName - Queued message filename used to name the temporary shell script. * @returns Temporary shell script path. * @private internal utility of agent-message runners */ export declare function buildAgentMessageScriptPathFromFileName(projectPath: string, sourceFileName: string): string; /** * Builds the live runtime log path used by one queued agent-message harness run. * * @param projectPath - Local agent project path containing the message queue. * @param sourceFileName - Queued message filename used to name the temporary shell script. * @returns Temporary live runtime log path. * @private internal utility of agent-message runners */ export declare function buildAgentMessageRuntimeLogPathFromFileName(projectPath: string, sourceFileName: string): string;