@pimmesz/afterburner 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli/index.js +11 -5
  2. package/package.json +1 -1
package/dist/cli/index.js CHANGED
@@ -31,7 +31,7 @@ import { Command } from "commander";
31
31
  // package.json
32
32
  var package_default = {
33
33
  name: "@pimmesz/afterburner",
34
- version: "1.0.6",
34
+ version: "1.0.7",
35
35
  description: "Convert idle Claude subscription quota into shippable engineering work: budget-aware trigger, bounded task selection, PR-only output.",
36
36
  license: "Apache-2.0",
37
37
  publishConfig: {
@@ -337,8 +337,10 @@ async function runDoctor(opts) {
337
337
  ${green(`${deco(emoji.rocket)}All checks passed.`)}` : `
338
338
  ${red(`${failures} check(s) failed.`)}`
339
339
  );
340
- console.log(`
341
- ${renderDoctorNextSteps({ config, configPath, failures })}`);
340
+ console.log(
341
+ `
342
+ ${renderDoctorNextSteps({ config, configPath, failed: results.filter((r) => !r.ok) })}`
343
+ );
342
344
  process.exitCode = failures === 0 ? 0 : 1;
343
345
  }
344
346
  function renderDoctorNextSteps(opts) {
@@ -356,9 +358,13 @@ ${nextCmd("afterburner init", "three questions; writes the config and takes it f
356
358
  then re-run:
357
359
  ${nextCmd(cmd("doctor"))}`;
358
360
  }
359
- if (opts.failures > 0) {
361
+ if (opts.failed.length > 0) {
362
+ const steps = opts.failed.map(
363
+ (check, i) => ` ${i + 1}. ${check.fix ?? `Fix the \u2717 ${check.name} check above.`}`
364
+ );
360
365
  return `${next}
361
- Fix the failed checks above (each prints its fix), then re-run:
366
+ ${steps.join("\n")}
367
+ ${opts.failed.length + 1}. Re-run the health check; all green ends with your first run command:
362
368
  ${nextCmd(cmd("doctor"))}`;
363
369
  }
364
370
  const repoNames = config.repos.map((r) => r.url);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pimmesz/afterburner",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Convert idle Claude subscription quota into shippable engineering work: budget-aware trigger, bounded task selection, PR-only output.",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {