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

Function getUltrathinkEffortAttachment

src/utils/attachments.ts:1446–1452  ·  view source on GitHub ↗
(input: string | null)

Source from the content-addressed store, hash-verified

1444}
1445
1446function getUltrathinkEffortAttachment(input: string | null): Attachment[] {
1447 if (!isUltrathinkEnabled() || !input || !hasUltrathinkKeyword(input)) {
1448 return []
1449 }
1450 logEvent('tengu_ultrathink', {})
1451 return [{ type: 'ultrathink_effort', level: 'high' }]
1452}
1453
1454// Exported for compact.ts — the gate must be identical at both call sites.
1455export function getDeferredToolsDeltaAttachment(

Callers 1

getAttachmentsFunction · 0.85

Calls 3

isUltrathinkEnabledFunction · 0.85
hasUltrathinkKeywordFunction · 0.85
logEventFunction · 0.85

Tested by

no test coverage detected