UNPKG

histoire

Version:

A fast story book powered by Vite

7 lines • 747 B
import type { AvailableCommand } from '@agentclientprotocol/sdk'; import type { UiAgentCommand, UiAgentSettings, UiAgentStatus } from '@histoire/shared'; /** Keeps serialized public text beneath the UI channel budget, including escapes. */ export declare function projectAgentStatuses(settings: UiAgentSettings, statuses: Map<string, UiAgentStatus>, environment: Record<string, Record<string, string>>, sanitize: (text: string) => string, commands?: Map<string, UiAgentCommand[]>): UiAgentStatus[]; /** Redacted, bounded slash commands from one ACP `available_commands_update`. */ export declare function projectAgentCommands(list: AvailableCommand[], sanitize: (text: string) => string): UiAgentCommand[]; //# sourceMappingURL=projection.d.ts.map