({ args })
| 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 ─────────────────────────────────────────────────────────────────── |
nothing calls this directly
no test coverage detected