@pimmesz/afterburner 1.0.8 → 1.0.9
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.
- package/dist/cli/index.js +13 -3
- 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.
|
|
34
|
+
version: "1.0.9",
|
|
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: {
|
|
@@ -774,12 +774,22 @@ async function collectAnswers(rl, opts, cwd = process.cwd()) {
|
|
|
774
774
|
console.log(step("Engine", backend));
|
|
775
775
|
console.log(`
|
|
776
776
|
${bold("Step 2 of 3 \u2014 Repository (the allowlist of what it may touch)")}`);
|
|
777
|
+
const detectedRepo = existsSync3(join2(cwd, ".git")) ? cwd : null;
|
|
778
|
+
if (detectedRepo) {
|
|
779
|
+
console.log(` - press Enter to use this folder (a git repo): ${detectedRepo}`);
|
|
780
|
+
}
|
|
777
781
|
console.log(' - a local path (e.g. ~/code/my-project, or "." for this folder)');
|
|
778
782
|
console.log(" \u2192 a dry run can scan it for candidate tasks right away");
|
|
779
783
|
console.log(" - a GitHub URL (e.g. https://github.com/you/repo)");
|
|
780
784
|
console.log(" \u2192 saved to your allowlist; used once live runs are enabled");
|
|
781
|
-
console.log(
|
|
782
|
-
|
|
785
|
+
console.log(
|
|
786
|
+
detectedRepo ? " - type 'skip' to decide later (the health check flags it until a repo is added)" : " - leave empty to skip for now (the health check flags it until a repo is added)"
|
|
787
|
+
);
|
|
788
|
+
let repoAnswer = (await rl.question(detectedRepo ? `Repo path or URL [${detectedRepo}]: ` : "Repo path or URL: ")).trim();
|
|
789
|
+
if (detectedRepo) {
|
|
790
|
+
if (repoAnswer === "") repoAnswer = detectedRepo;
|
|
791
|
+
else if (repoAnswer.toLowerCase() === "skip") repoAnswer = "";
|
|
792
|
+
}
|
|
783
793
|
const repoPath = localRepoPath(repoAnswer, cwd);
|
|
784
794
|
const repoUrl = repoPath ?? repoAnswer;
|
|
785
795
|
const repoEcho = repoUrl === "" ? '(skipped \u2014 add one to "repos" later)' : !repoPath && !looksRemoteRepoUrl(repoAnswer) ? `${repoUrl} (not an existing directory \u2014 saved as typed; the health check will flag it)` : repoUrl;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pimmesz/afterburner",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
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": {
|