MCPcopy
hub / github.com/codeaashu/claude-code / getMaxVersionMessage

Function getMaxVersionMessage

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

Source from the content-addressed store, hash-verified

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

Callers 1

NativeAutoUpdaterFunction · 0.85

Calls 1

getMaxVersionConfigFunction · 0.85

Tested by

no test coverage detected