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

Function getMaxVersionMessage

src/utils/autoUpdater.ts:119–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117 * Shown in the warning banner when the current version exceeds the max allowed version.
118 */
119export async function getMaxVersionMessage(): Promise<string | undefined> {
120 const config = await getMaxVersionConfig()
121 if (process.env.USER_TYPE === 'ant') {
122 return config.ant_message || undefined
123 }
124 return config.external_message || undefined
125}
126
127async function getMaxVersionConfig(): Promise<MaxVersionConfig> {
128 try {

Callers 1

NativeAutoUpdaterFunction · 0.85

Calls 1

getMaxVersionConfigFunction · 0.85

Tested by

no test coverage detected