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

Function description

src/commands/passes/index.ts:10–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 type: 'local-jsx',
9 name: 'passes',
10 get description() {
11 const reward = getCachedReferrerReward()
12 if (reward) {
13 return 'Share a free week of Claude Code with friends and earn extra usage'
14 }
15 return 'Share a free week of Claude Code with friends'
16 },
17 get isHidden() {
18 const { eligible, hasCache } = checkCachedPassesEligibility()
19 return !eligible || !hasCache

Callers

nothing calls this directly

Calls 1

getCachedReferrerRewardFunction · 0.85

Tested by

no test coverage detected