()
| 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 |
nothing calls this directly
no test coverage detected