MCPcopy Create free account
hub / github.com/codeaashu/claude-code / recordShownTip

Function recordShownTip

src/services/tips/tipScheduler.ts:48–58  ·  view source on GitHub ↗
(tip: Tip)

Source from the content-addressed store, hash-verified

46}
47
48export function recordShownTip(tip: Tip): void {
49 // Record in history
50 recordTipShown(tip.id)
51
52 // Log event for analytics
53 logEvent('tengu_tip_shown', {
54 tipIdLength:
55 tip.id as AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS,
56 cooldownSessions: tip.cooldownSessions,
57 })
58}
59

Callers 1

REPLFunction · 0.85

Calls 2

recordTipShownFunction · 0.85
logEventFunction · 0.85

Tested by

no test coverage detected