(prompt: string)
| 798 | * non-candidate prompt ("fix this typo", in any language) stays a zero-cost no-op. |
| 799 | */ |
| 800 | export function isStructuralPrompt(prompt: string): boolean { |
| 801 | return hasStructuralKeyword(prompt) || extractCodeTokens(prompt).length > 0; |
| 802 | } |
| 803 | |
| 804 | /** |
| 805 | * Claude Code persists `UserPromptSubmit` hook stdout above this many |
no test coverage detected