@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
13 lines (12 loc) • 628 B
TypeScript
import type { AgentSourceParseResult } from './AgentSourceParseResult';
import type { string_book } from './string_book';
/**
* Parses agent source using the new commitment system with multiline support
* This function replaces the hardcoded commitment parsing in the original parseAgentSource
*
* The first non-empty line is always consumed as plain-text agent name. Commitment parsing
* starts only after that title line has been fixed.
*
* @private internal utility of `parseAgentSource`
*/
export declare function parseAgentSourceWithCommitments(agentSource: string_book): Omit<AgentSourceParseResult, 'agentHash'>;