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

Function hasUltrathinkKeyword

src/utils/thinking.ts:29–31  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

27 * Check if text contains the "ultrathink" keyword.
28 */
29export function hasUltrathinkKeyword(text: string): boolean {
30 return /\bultrathink\b/i.test(text)
31}
32
33/**
34 * Find positions of "ultrathink" keyword in text (for UI highlighting/notification)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected