@bobsworkshop/cli 0.1.1 → 0.1.3
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.
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
1
|
import {
|
|
3
2
|
callLocalModel,
|
|
4
3
|
getConfig,
|
|
5
4
|
loadLocalSuggestions,
|
|
6
5
|
markSuggestionStatus,
|
|
7
6
|
readFileContent
|
|
8
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LHWBSCJ4.js";
|
|
9
8
|
|
|
10
9
|
// src/commands/analyse-auto.ts
|
|
11
10
|
import chalk from "chalk";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
#!/usr/bin/env node
|
|
3
2
|
import {
|
|
4
3
|
buildLocalContext,
|
|
5
4
|
callCloudFunction,
|
|
@@ -14,7 +13,7 @@ import {
|
|
|
14
13
|
registerLoginCommand,
|
|
15
14
|
setConfigValue,
|
|
16
15
|
stripCodeBlockFromResponse
|
|
17
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LHWBSCJ4.js";
|
|
18
17
|
|
|
19
18
|
// bin/bob.ts
|
|
20
19
|
import { Command } from "commander";
|
|
@@ -2205,7 +2204,7 @@ function registerAnalyseCommand(program2) {
|
|
|
2205
2204
|
program2.command("analyse").description("Analyse the current project for bugs, features, improvements, and upgrades").option("--results", "Show analysis dashboard or filtered list").option("--bugs", "Show bugs list (interactive)").option("--features", "Show features list (interactive)").option("--improvements", "Show improvements list (interactive)").option("--upgrades", "Show upgrades list (interactive)").option("--sort <method>", "Sort by: priority (default) or file").option("--search <query>", "Filter results by keyword").option("--status", "Show current analysis job status").option("--auto", "Auto-fix mode: Bob triages and MiniBob implements").option("--confidence <number>", "Confidence gate for auto-fix (default: 90)", "90").option("--priority <level>", "Priority gate for auto-fix: critical, high, medium, low (default: critical)", "critical").action(async (options) => {
|
|
2206
2205
|
const config = getConfig();
|
|
2207
2206
|
if (options.auto) {
|
|
2208
|
-
const { runAutoFix } = await import("./analyse-auto-
|
|
2207
|
+
const { runAutoFix } = await import("./analyse-auto-OBCDWYWX.js");
|
|
2209
2208
|
const category = options.bugs ? "bugs" : options.features ? "features" : options.improvements ? "improvements" : options.upgrades ? "upgrades" : void 0;
|
|
2210
2209
|
await runAutoFix({
|
|
2211
2210
|
category,
|
|
@@ -2215,7 +2214,7 @@ function registerAnalyseCommand(program2) {
|
|
|
2215
2214
|
return;
|
|
2216
2215
|
}
|
|
2217
2216
|
if (options.bugs || options.features || options.improvements || options.upgrades) {
|
|
2218
|
-
const { showInteractiveResults } = await import("./analyse-results-
|
|
2217
|
+
const { showInteractiveResults } = await import("./analyse-results-QSOD3KVC.js");
|
|
2219
2218
|
const category = options.bugs ? "bugs" : options.features ? "features" : options.improvements ? "improvements" : "upgrades";
|
|
2220
2219
|
await showInteractiveResults(config, category, options.sort, options.search);
|
|
2221
2220
|
return;
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bobsworkshop/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Bob's CLI — AI coding assistant and Forge orchestrator",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": ["dist"],
|
|
7
7
|
"bin": {
|
|
8
|
-
"bob": "./dist/
|
|
8
|
+
"bob": "./dist/bob.js"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
|
-
"build": "tsup bin/bob.ts --format esm --out-dir dist
|
|
11
|
+
"build": "tsup bin/bob.ts --format esm --out-dir dist",
|
|
12
12
|
"dev": "node --loader ts-node/esm bin/bob.ts",
|
|
13
13
|
"test": "vitest"
|
|
14
14
|
},
|