MCPcopy Create free account
hub / github.com/anus-dev/ANUS / getOnboardTier

Function getOnboardTier

packages/core/src/code_assist/setup.ts:113–125  ·  view source on GitHub ↗
(res: LoadCodeAssistResponse)

Source from the content-addressed store, hash-verified

111}
112
113function getOnboardTier(res: LoadCodeAssistResponse): AnusUserTier {
114 for (const tier of res.allowedTiers || []) {
115 if (tier.isDefault) {
116 return tier;
117 }
118 }
119 return {
120 name: '',
121 description: '',
122 id: UserTierId.LEGACY,
123 userDefinedCloudaicompanionProject: true,
124 };
125}

Callers 1

setupUserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected