MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / getSubscriptionName

Function getSubscriptionName

src/utils/auth.ts:1710–1725  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1708}
1709
1710export function getSubscriptionName(): string {
1711 const subscriptionType = getSubscriptionType()
1712
1713 switch (subscriptionType) {
1714 case 'enterprise':
1715 return 'Claude Enterprise'
1716 case 'team':
1717 return 'Claude Team'
1718 case 'max':
1719 return 'Claude Max'
1720 case 'pro':
1721 return 'Claude Pro'
1722 default:
1723 return 'Claude API'
1724 }
1725}
1726
1727/**
1728 * Check if using third-party services (non-Anthropic providers).

Callers 2

getAccountInformationFunction · 0.85
getLogoDisplayDataFunction · 0.85

Calls 1

getSubscriptionTypeFunction · 0.85

Tested by

no test coverage detected