claude code drop from npm

This commit is contained in:
2026-04-02 11:51:49 +03:00
commit ffe24f128e
1905 changed files with 513700 additions and 0 deletions

16
commands/upgrade/index.ts Normal file
View File

@@ -0,0 +1,16 @@
import type { Command } from '../../commands.js'
import { getSubscriptionType } from '../../utils/auth.js'
import { isEnvTruthy } from '../../utils/envUtils.js'
const upgrade = {
type: 'local-jsx',
name: 'upgrade',
description: 'Upgrade to Max for higher rate limits and more Opus',
availability: ['claude-ai'],
isEnabled: () =>
!isEnvTruthy(process.env.DISABLE_UPGRADE_COMMAND) &&
getSubscriptionType() !== 'enterprise',
load: () => import('./upgrade.js'),
} satisfies Command
export default upgrade

File diff suppressed because one or more lines are too long