(host: SlashCommandHost)
| 36 | const MODEL_PICKER_REFRESH_TIMEOUT_MS = 2_000; |
| 37 | |
| 38 | function currentTuiConfig(host: SlashCommandHost): TuiConfig { |
| 39 | return { |
| 40 | theme: host.state.appState.theme, |
| 41 | editorCommand: host.state.appState.editorCommand, |
| 42 | disablePasteBurst: host.state.appState.disablePasteBurst ?? DEFAULT_TUI_CONFIG.disablePasteBurst, |
| 43 | notifications: host.state.appState.notifications, |
| 44 | upgrade: host.state.appState.upgrade, |
| 45 | }; |
| 46 | } |
| 47 | |
| 48 | export async function handlePlanCommand(host: SlashCommandHost, args: string): Promise<void> { |
| 49 | const session = host.session; |
no outgoing calls
no test coverage detected