MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / canonicalVersionTag

Function canonicalVersionTag

src/upgrade/update-check.ts:127–131  ·  view source on GitHub ↗
(v: string)

Source from the content-addressed store, hash-verified

125 * the trailing text straight into every session's instructions.)
126 */
127export function canonicalVersionTag(v: string): string | null {
128 const s = parseSemver(v);
129 if (!s) return null;
130 return `v${s.major}.${s.minor}.${s.patch}${s.pre ? `-${s.pre}` : ''}`;
131}
132
133/** One user-facing sentence; every surface (stderr, instructions, status) shows this. */
134export function formatUpdateNotice(current: string, latest: string): string {

Callers 2

noticeFromFunction · 0.85
refreshUpdateCheckFunction · 0.85

Calls 1

parseSemverFunction · 0.90

Tested by

no test coverage detected