forked from
oppi.li/claude-code
source dump of claude code
1import type { Command } from '../../commands.js'
2import { isClaudeAISubscriber } from '../../utils/auth.js'
3
4const rateLimitOptions = {
5 type: 'local-jsx',
6 name: 'rate-limit-options',
7 description: 'Show options when rate limit is reached',
8 isEnabled: () => {
9 if (!isClaudeAISubscriber()) {
10 return false
11 }
12
13 return true
14 },
15 isHidden: true, // Hidden from help - only used internally
16 load: () => import('./rate-limit-options.js'),
17} satisfies Command
18
19export default rateLimitOptions