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

Function getCustomTips

src/services/tips/tipRegistry.ts:655–666  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

653 : []
654
655function getCustomTips(): Tip[] {
656 const settings = getInitialSettings()
657 const override = settings.spinnerTipsOverride
658 if (!override?.tips?.length) return []
659
660 return override.tips.map((content, i) => ({
661 id: `custom-tip-${i}`,
662 content: async () => content,
663 cooldownSessions: 0,
664 isRelevant: async () => true,
665 }))
666}
667
668export async function getRelevantTips(context?: TipContext): Promise<Tip[]> {
669 const settings = getInitialSettings()

Callers 1

getRelevantTipsFunction · 0.85

Calls 1

getInitialSettingsFunction · 0.85

Tested by

no test coverage detected