UNPKG

histoire

Version:

A fast story book powered by Vite

11 lines • 578 B
import type { PlanEntry } from '@agentclientprotocol/sdk'; import type { UiAgentPlanEntry } from '@histoire/shared'; /** Entries kept per plan; agents rarely report more. */ export declare const PLAN_ENTRY_LIMIT = 50; /** * Projects one ACP plan update into bounded, redacted UI entries. * @param entries Complete agent plan; ACP sends the whole list on each update. * @param sanitize Redacts known secrets. */ export declare function projectAgentPlan(entries: readonly PlanEntry[], sanitize: (text: string) => string): UiAgentPlanEntry[]; //# sourceMappingURL=plan.d.ts.map