MCPcopy
hub / github.com/codeaashu/claude-code / isOfficialMarketplaceName

Function isOfficialMarketplaceName

src/utils/plugins/pluginIdentifier.ts:75–82  ·  view source on GitHub ↗
(
  marketplace: string | undefined,
)

Source from the content-addressed store, hash-verified

73 * PII-tagged _PROTO_* BQ columns.
74 */
75export function isOfficialMarketplaceName(
76 marketplace: string | undefined,
77): boolean {
78 return (
79 marketplace !== undefined &&
80 ALLOWED_OFFICIAL_MARKETPLACE_NAMES.has(marketplace.toLowerCase())
81 )
82}
83
84/**
85 * Map from installable plugin scope to editable setting source.

Callers 5

getTelemetryPluginScopeFunction · 0.85
processSlashCommandFunction · 0.85
maybeRecordPluginHintFunction · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected