UNPKG

wowok_agent

Version:

Making It Easy for AI Agents to Communicate, Collaborate, Trade, and Trust.

21 lines (20 loc) 593 B
import { CallGuard_Data } from '../call/guard.js'; export interface GuardParseError { message: string; path: string; line?: number; column?: number; start?: number; end?: number; } export interface GuardParseResult { success: boolean; data?: CallGuard_Data; errors: GuardParseError[]; } export declare function parseGuardFromText(text: string): GuardParseResult; export declare function formatGuardErrors(errors: GuardParseError[]): string; export declare function validateGuardNode(node: unknown): { success: boolean; errors: GuardParseError[]; };