@oss-autopilot/core 1.6.3 → 1.7.0
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-registry.js +5 -1
- package/dist/cli.bundle.cjs +63 -59
- package/dist/commands/dashboard-data.d.ts +1 -0
- package/dist/commands/dashboard-server.js +23 -1
- package/dist/commands/index.d.ts +2 -2
- package/dist/commands/index.js +1 -1
- package/dist/commands/parse-list.d.ts +14 -0
- package/dist/commands/parse-list.js +145 -1
- package/dist/commands/vet-list.d.ts +1 -0
- package/dist/commands/vet-list.js +19 -2
- package/dist/core/issue-vetting.js +12 -0
- package/dist/core/repo-health.js +1 -0
- package/dist/core/types.d.ts +2 -0
- package/dist/formatters/json.d.ts +4 -0
- package/package.json +1 -1
package/dist/cli-registry.js
CHANGED
|
@@ -209,6 +209,7 @@ export const commands = [
|
|
|
209
209
|
.description('Re-vet all available issues in your curated issue list (#764)')
|
|
210
210
|
.option('--path <file>', 'Path to issue list file (auto-detected if not specified)')
|
|
211
211
|
.option('--concurrency <n>', 'Max parallel vet operations (default: 5)')
|
|
212
|
+
.option('--prune', 'After vetting, remove completed/skipped/low-score items from the file')
|
|
212
213
|
.option('--json', 'Output as JSON')
|
|
213
214
|
.action(async (options) => {
|
|
214
215
|
try {
|
|
@@ -217,7 +218,7 @@ export const commands = [
|
|
|
217
218
|
if (concurrency !== undefined && (!Number.isFinite(concurrency) || concurrency < 1)) {
|
|
218
219
|
throw new Error(`Invalid concurrency "${options.concurrency}". Must be a positive integer.`);
|
|
219
220
|
}
|
|
220
|
-
const data = await runVetList({ issueListPath: options.path, concurrency });
|
|
221
|
+
const data = await runVetList({ issueListPath: options.path, concurrency, prune: options.prune });
|
|
221
222
|
if (options.json) {
|
|
222
223
|
outputJson(data);
|
|
223
224
|
}
|
|
@@ -240,6 +241,9 @@ export const commands = [
|
|
|
240
241
|
console.log(` Error: ${result.errorMessage}`);
|
|
241
242
|
}
|
|
242
243
|
}
|
|
244
|
+
if (data.pruneResult) {
|
|
245
|
+
console.log(`\nPruned ${data.pruneResult.removedCount} items from issue list.`);
|
|
246
|
+
}
|
|
243
247
|
}
|
|
244
248
|
}
|
|
245
249
|
catch (err) {
|