MCPcopy Index your code
hub / github.com/codeaashu/claude-code / matchesKeepGoingKeyword

Function matchesKeepGoingKeyword

src/utils/userPromptKeywords.ts:16–27  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

14 * Checks if input matches keep going/continuation patterns
15 */
16export function matchesKeepGoingKeyword(input: string): boolean {
17 const lowerInput = input.toLowerCase().trim()
18
19 // Match "continue" only if it's the entire prompt
20 if (lowerInput === 'continue') {
21 return true
22 }
23
24 // Match "keep going" or "go on" anywhere in the input
25 const keepGoingPattern = /\b(keep going|go on)\b/
26 return keepGoingPattern.test(lowerInput)
27}
28

Callers 1

processTextPromptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected