UNPKG

@promptbook/utils

Version:

Promptbook: Run AI apps in plain human language across multiple models and platforms

25 lines (24 loc) 1.02 kB
import type { AgentBasicInformation } from '../../agent-source/parseAgentSource'; import type { string_book } from '../../agent-source/string_book'; import type { AgentSourceParseResult } from './AgentSourceParseResult'; /** * Parses agent source using the new commitment system with multiline support * This function replaces the hardcoded commitment parsing in the original parseAgentSource * * @private */ export declare function parseAgentSourceWithCommitments(agentSource: string_book): AgentSourceParseResult; /** * Extracts basic information from agent source using the new commitment system * This maintains compatibility with the original parseAgentSource interface * * @private */ export declare function parseAgentSourceBasicInfo(agentSource: string_book): AgentBasicInformation; /** * Extracts META LINK commitments from agent source * Returns an array of all META LINK URLs found in the agent source * * @private */ export declare function extractMetaLinks(agentSource: string_book): string[];