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

Function getMaxVersionMessage

source code/utils/autoUpdater.ts:122–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

NativeAutoUpdaterFunction · 0.85

Calls 1

getMaxVersionConfigFunction · 0.85

Tested by

no test coverage detected