(input: string)
| 49 | } |
| 50 | |
| 51 | export function isNewCommand(input: string): boolean { |
| 52 | return input.trim().toLowerCase() === "/new" |
| 53 | } |
| 54 | |
| 55 | export function createPromptHistory(items?: RunPrompt[]): PromptHistoryState { |
| 56 | const list = (items ?? []).filter((item) => item.text.trim().length > 0).map(promptCopy) |
no outgoing calls
no test coverage detected