Reference implementation for the Phoenix Architecture. Work in progress.
aicoding.leaflet.pub/
ai
coding
crazy
1/**
2 * Bot models for Freeq integration.
3 */
4
5export type BotName = 'SpecBot' | 'ImplBot' | 'PolicyBot';
6
7export interface BotCommand {
8 bot: BotName;
9 action: string;
10 args: Record<string, string>;
11 raw: string;
12}
13
14export interface BotResponse {
15 bot: BotName;
16 action: string;
17 mutating: boolean;
18 /** For mutating commands: the confirmation ID */
19 confirm_id?: string;
20 /** Human-readable description of what will happen */
21 intent?: string;
22 /** The result (for read-only commands or after confirmation) */
23 result?: unknown;
24 message: string;
25}