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

Function isHidden

src/commands/cost/index.ts:12–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 name: 'cost',
11 description: 'Show the total cost and duration of the current session',
12 get isHidden() {
13 // Keep visible for Ants even if they're subscribers (they see cost breakdowns)
14 if (process.env.USER_TYPE === 'ant') {
15 return false
16 }
17 return isClaudeAISubscriber()
18 },
19 supportsNonInteractive: true,
20 load: () => import('./cost.js'),
21} satisfies Command

Callers

nothing calls this directly

Calls 1

isClaudeAISubscriberFunction · 0.50

Tested by

no test coverage detected