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

Function run

packages/cli/src/commands/skills.ts:307–319  ·  view source on GitHub ↗
({ args })

Source from the content-addressed store, hash-verified

305 },
306 },
307 async run({ args }) {
308 const result = await checkSkills({
309 dir: args.dir,
310 source: args.source,
311 });
312
313 if (args.json) console.log(JSON.stringify(withMeta(result), null, 2));
314 else renderCheck(result);
315
316 // Exit non-zero when installed skills are stale, so agents and CI can gate:
317 // hyperframes skills check || npx hyperframes skills update
318 if (result.updateAvailable) process.exitCode = 1;
319 },
320});
321
322// ── update ───────────────────────────────────────────────────────────────────

Callers

nothing calls this directly

Calls 7

checkSkillsFunction · 0.85
withMetaFunction · 0.85
renderCheckFunction · 0.85
installAllSkillsFunction · 0.85
runSkillsRemoveFunction · 0.85
errorMethod · 0.80
warnMethod · 0.80

Tested by

no test coverage detected