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

Function markHintPluginShown

src/utils/plugins/hintRecommendation.ts:141–153  ·  view source on GitHub ↗
(pluginId: string)

Source from the content-addressed store, hash-verified

139 * the user's yes/no response — show-once semantics.
140 */
141export function markHintPluginShown(pluginId: string): void {
142 saveGlobalConfig(current => {
143 const existing = current.claudeCodeHints?.plugin ?? []
144 if (existing.includes(pluginId)) return current
145 return {
146 ...current,
147 claudeCodeHints: {
148 ...current.claudeCodeHints,
149 plugin: [...existing, pluginId],
150 },
151 }
152 })
153}
154
155/** Called when the user picks "don't show plugin installation hints again". */
156export function disableHintRecommendations(): void {

Callers 1

Calls 1

saveGlobalConfigFunction · 0.85

Tested by

no test coverage detected