@oss-autopilot/core 3.23.0 → 3.24.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 +11 -1
- package/dist/cli.bundle.cjs +107 -107
- package/dist/commands/daily.d.ts +8 -1
- package/dist/commands/daily.js +33 -3
- package/dist/commands/features.js +5 -11
- package/dist/commands/guidelines.d.ts +15 -0
- package/dist/commands/guidelines.js +22 -0
- package/dist/commands/overnight.d.ts +3 -1
- package/dist/commands/overnight.js +7 -1
- package/dist/commands/search.js +11 -15
- package/dist/commands/setup.js +9 -0
- package/dist/core/config-registry.js +6 -0
- package/dist/core/issue-grading.d.ts +8 -10
- package/dist/core/issue-grading.js +8 -10
- package/dist/core/state-schema.d.ts +2 -0
- package/dist/core/state-schema.js +6 -0
- package/dist/formatters/json.d.ts +23 -0
- package/dist/formatters/json.js +7 -0
- package/package.json +1 -1
package/dist/cli-registry.js
CHANGED
|
@@ -56,7 +56,7 @@ export function handleCommandError(err, json) {
|
|
|
56
56
|
* the goldens were last updated.
|
|
57
57
|
* Commands: state (show/sync/unlink), vet, vet-list, track, comments,
|
|
58
58
|
* startup, dismiss, undismiss, stats, and the five
|
|
59
|
-
* guidelines subcommands (list/view/store/reset/fetch-corpus).
|
|
59
|
+
* guidelines subcommands (list/view/store/reset/fetch-corpus/mark-extracted).
|
|
60
60
|
*
|
|
61
61
|
* (`dashboard serve` is exempt: it has no `--json` mode.)
|
|
62
62
|
*
|
|
@@ -1536,6 +1536,16 @@ Load it with:
|
|
|
1536
1536
|
console.log(`Stored ${data.byteSize} bytes of guidelines for ${data.repo}.`);
|
|
1537
1537
|
});
|
|
1538
1538
|
});
|
|
1539
|
+
group
|
|
1540
|
+
.command('mark-extracted')
|
|
1541
|
+
.description('Stamp learningsExtractedAt on fetched PRs of a repo so daily stops reporting them as unextracted (#1696)')
|
|
1542
|
+
.requiredOption('--repo <owner/repo>', 'Repository identifier')
|
|
1543
|
+
.option('--json', 'Output as JSON')
|
|
1544
|
+
.action(async (options) => {
|
|
1545
|
+
await executeAction(options, async () => (await import('./commands/guidelines.js')).runMarkExtracted({ repo: options.repo }), (data) => {
|
|
1546
|
+
console.log(`Marked ${data.marked} PR(s) in ${data.repo} as extracted.`);
|
|
1547
|
+
});
|
|
1548
|
+
});
|
|
1539
1549
|
group
|
|
1540
1550
|
.command('reset')
|
|
1541
1551
|
.description('Tombstone the guidelines file for a repo (subsequent reads return null)')
|