MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / getSkillsUpdateMeta

Function getSkillsUpdateMeta

packages/cli/src/utils/skillsUpdateCheck.ts:22–29  ·  view source on GitHub ↗

Synchronous read from cache — never fetches.

()

Source from the content-addressed store, hash-verified

20
21/** Synchronous read from cache — never fetches. */
22function getSkillsUpdateMeta(): SkillsUpdateMeta {
23 const config = readConfig();
24 return {
25 updateAvailable: config.skillsUpdateAvailable ?? false,
26 outdated: config.skillsOutdatedCount ?? 0,
27 missing: config.skillsMissingCount ?? 0,
28 };
29}
30
31function cacheFresh(lastSkillsCheck: string | undefined, now: number): boolean {
32 if (!lastSkillsCheck) return false;

Callers 2

checkSkillsForUpdateFunction · 0.85
printSkillsUpdateNoticeFunction · 0.85

Calls 1

readConfigFunction · 0.85

Tested by

no test coverage detected