/** * agentText.ts * * Single source of truth for all agent-facing text: * - Tool descriptions (shown in the MCP tool list) * - Per-tool guidance functions (returned in each tool's "Suggested Next Steps" section) * - Prompt text (healix-agent-guide) * * Guidance functions return string[] — the lines passed to fmtSection(). * They accept only the runtime state they actually need so callers stay minimal. */ export declare const toolDescriptions: Record; export declare function g_sessions_empty(): string[]; export declare function g_sessions_live(primarySessionId: string, sessionCount: number): string[]; export declare function g_scaffold(hasSession?: boolean): string[]; export declare function g_list_run_targets_no_config(): string[]; export declare function g_list_run_targets(firstPlatform: string, firstSuite: string, hasSuites?: boolean): string[]; export declare function g_start_session(firstTestName: string, testCount: number, registeredTests: string[]): string[]; export declare function g_status_inactive(): string[]; export declare function g_status_running(ctx?: { human?: boolean; activity?: { kind: string; name: string; } | null; }): string[]; /** The run is blocked on a dialog in the user's terminal — not stuck, and not yours to answer. */ export declare function g_waiting_for_human(): string[]; /** "Still In Progress" follow-up for run_test / run_hook. */ export declare function g_still_running(ctx: { human: boolean; recallHint: string; }): string[]; /** After healix_wait returns. */ export declare function g_wait(ctx: { timedOut: boolean; human: boolean; activity: string | null; lastEvent: string | null; }): string[]; export declare function g_status_not_run(notRun: number, nextName: string): string[]; export declare function g_status_failed(failed: number): string[]; export declare function g_status_all_passed(): string[]; export declare function g_list_pages_empty(): string[]; export declare function g_list_pages(): string[]; export declare function g_test_result_failed(name: string): string[]; export declare function g_test_result_more(notRun: number, nextName: string): string[]; export declare function g_test_result_all_passed(): string[]; export declare function g_test_result_suite_failures(passed: number, failed: number): string[]; export declare function g_validate_locator(found: boolean, count: number, locator: string): string[]; export declare function g_replace_locator(): string[]; export declare function g_screenshot(path?: string): string[]; export declare function g_stop(sessionId: string): string[]; export declare function g_try(ok: boolean): string[]; export declare function g_get_dom(isPaused?: boolean, hasAria?: boolean): string[]; export declare function g_switch_context_list(contexts: string[], current?: string): string[]; export declare function g_switch_context(error?: string): string[]; export declare function g_pending_maintenance_steps(): string[]; export declare function g_no_paused_test(notRun: number): string[]; export declare function composeGuide(frameworkModel?: string): string; export declare const HEALING_CYCLE_GUIDE: string; export declare function g_core_rules(): string; export declare const INSTRUCTIONS_HEAD_MAX = 1900; export declare const HEALIX_INSTRUCTIONS_HEAD: string; export declare const INSTRUCTIONS_FULL_SEPARATOR = "--- Full contract and guide (clients that show everything) ---"; /** The full triage contract + agent guide (everything after the compact head). */ export declare const HEALIX_FULL_INSTRUCTIONS: string; export declare const HEALIX_INSTRUCTIONS: string; /** * healix_diagnose { contract: true }: the recovery route the compact head points * truncating clients to. Leads with the full contract + guide as readable text (the MCP's * own copy, so it works even against workers that predate the `guidance` field), then the * worker-owned diagnosis history as JSON. */ export declare function g_diagnose_read(body: unknown): string; export declare const PROMPTS: Array<{ name: string; description: string; }>;