@pimmesz/afterburner 1.0.12 → 1.0.13
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 +5 -6
- package/dist/core/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -36,7 +36,7 @@ import { Command } from "commander";
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@pimmesz/afterburner",
|
|
39
|
-
version: "1.0.
|
|
39
|
+
version: "1.0.13",
|
|
40
40
|
description: "Convert idle Claude subscription quota into shippable engineering work: budget-aware trigger, bounded task selection, PR-only output.",
|
|
41
41
|
license: "Apache-2.0",
|
|
42
42
|
publishConfig: {
|
|
@@ -922,12 +922,11 @@ ${artifacts.removalHint}`);
|
|
|
922
922
|
}
|
|
923
923
|
|
|
924
924
|
// src/cli/commands/init.ts
|
|
925
|
-
var
|
|
925
|
+
var OFFERED_BACKENDS = ["dry-run", "claude-code"];
|
|
926
926
|
var BUDGET_PROVIDERS = ["manual", "claude-usage", "claude-code-transcripts"];
|
|
927
927
|
var ENGINE_CHOICES = {
|
|
928
928
|
"dry-run": "simulates everything, spends nothing. The safe default.",
|
|
929
|
-
"claude-code": "your Claude subscription via the local `claude` login. No extra money; it spends quota you already pay for."
|
|
930
|
-
"api-key": "bills your Anthropic API account per token. Every run costs real money."
|
|
929
|
+
"claude-code": "your Claude subscription via the local `claude` login. No extra money; it spends quota you already pay for."
|
|
931
930
|
};
|
|
932
931
|
var ENGINE_NOTES = {
|
|
933
932
|
"dry-run": "dry-run (simulates everything, spends nothing)",
|
|
@@ -1126,10 +1125,10 @@ async function collectAnswers(rl, opts, cwd = process.cwd()) {
|
|
|
1126
1125
|
"Afterburner turns unused Claude subscription quota into small, reviewed pull requests.\nDry-run first: nothing executes or spends until a live engine is set in the config\nAND you pass --live. Three questions, then an optional health check.\n"
|
|
1127
1126
|
);
|
|
1128
1127
|
console.log(bold("Step 1 of 3 \u2014 Engine (who does the work, and what it can spend)"));
|
|
1129
|
-
|
|
1128
|
+
OFFERED_BACKENDS.forEach((name, i) => {
|
|
1130
1129
|
console.log(` ${i + 1}. ${name}: ${ENGINE_CHOICES[name]}`);
|
|
1131
1130
|
});
|
|
1132
|
-
const backend =
|
|
1131
|
+
const backend = OFFERED_BACKENDS[await askChoice(rl, "Engine [1]: ", OFFERED_BACKENDS.length)] ?? "dry-run";
|
|
1133
1132
|
console.log(step("Engine", backend));
|
|
1134
1133
|
console.log(`
|
|
1135
1134
|
${bold("Step 2 of 3 \u2014 Repository (the allowlist of what it may touch)")}`);
|
package/dist/core/index.d.ts
CHANGED
|
@@ -53,8 +53,8 @@ declare const budgetConfigSchema: z.ZodPrefault<z.ZodObject<{
|
|
|
53
53
|
}, z.core.$strip>>;
|
|
54
54
|
declare const agentConfigSchema: z.ZodPrefault<z.ZodObject<{
|
|
55
55
|
backend: z.ZodDefault<z.ZodEnum<{
|
|
56
|
-
"dry-run": "dry-run";
|
|
57
56
|
"claude-code": "claude-code";
|
|
57
|
+
"dry-run": "dry-run";
|
|
58
58
|
"api-key": "api-key";
|
|
59
59
|
}>>;
|
|
60
60
|
modelByCategory: z.ZodPipe<z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
|
@@ -115,8 +115,8 @@ declare const configSchema: z.ZodObject<{
|
|
|
115
115
|
}, z.core.$strip>>;
|
|
116
116
|
agent: z.ZodPrefault<z.ZodObject<{
|
|
117
117
|
backend: z.ZodDefault<z.ZodEnum<{
|
|
118
|
-
"dry-run": "dry-run";
|
|
119
118
|
"claude-code": "claude-code";
|
|
119
|
+
"dry-run": "dry-run";
|
|
120
120
|
"api-key": "api-key";
|
|
121
121
|
}>>;
|
|
122
122
|
modelByCategory: z.ZodPipe<z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pimmesz/afterburner",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
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": {
|