export type CommandModalName = | 'claude-account' | 'claude-cache' | 'claude-cachekeep' | 'claude-quota' | 'claude-dump' | 'claude-fast' | 'claude-routing' | 'claude-killswitch' | 'claude-logging' export interface OpenDialogPayload { command: CommandModalName text: string knobs: Record } export interface RpcNotification { id: number type: 'open-dialog' payload: OpenDialogPayload sessionId?: string } export interface ApplyRequest { command: CommandModalName arguments: string sessionId?: string } export interface ApplyResult { text: string knobs: Record }