()
| 363 | * Creates default chat keyboard state for initialization. |
| 364 | */ |
| 365 | export function createDefaultChatKeyboardState(): ChatKeyboardState { |
| 366 | return { |
| 367 | inputMode: 'default', |
| 368 | inputValue: '', |
| 369 | cursorPosition: 0, |
| 370 | isStreaming: false, |
| 371 | isWaitingForResponse: false, |
| 372 | feedbackMode: false, |
| 373 | focusedAgentId: null, |
| 374 | slashMenuActive: false, |
| 375 | mentionMenuActive: false, |
| 376 | slashSelectedIndex: 0, |
| 377 | agentSelectedIndex: 0, |
| 378 | slashMatchesLength: 0, |
| 379 | totalMentionMatches: 0, |
| 380 | disableSlashSuggestions: false, |
| 381 | queuePaused: false, |
| 382 | queuedCount: 0, |
| 383 | historyNavUpEnabled: false, |
| 384 | historyNavDownEnabled: false, |
| 385 | nextCtrlCWillExit: false, |
| 386 | } |
| 387 | } |
no outgoing calls
no test coverage detected