UNPKG

@promptbook/remote-client

Version:

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

20 lines (19 loc) 583 B
import type { TODO_any } from '../../utils/organization/TODO_any'; /** * Creates one serialized tool-execution envelope. * * @private internal tool-execution transport */ export declare function createToolExecutionEnvelope(options: { readonly assistantMessage: string; readonly toolResult: TODO_any; }): string; /** * Parses one serialized tool-execution envelope when present. * * @private internal tool-execution transport */ export declare function parseToolExecutionEnvelope(rawValue: unknown): { assistantMessage: string; toolResult: TODO_any; } | null;