@oss-autopilot/core 3.29.2 → 3.31.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 +3 -2
- package/dist/cli.bundle.cjs +87 -87
- package/dist/commands/search.d.ts +9 -3
- package/dist/commands/search.js +2 -1
- package/dist/commands/setup.js +3 -2
- package/dist/core/compliance-score.d.ts +2 -3
- package/dist/core/compliance-score.js +9 -2
- package/dist/core/config-registry.js +6 -0
- package/dist/core/github-stats.d.ts +2 -0
- package/dist/core/github-stats.js +3 -1
- package/dist/core/maintainer-analysis.js +13 -1
- package/dist/core/pr-monitor.js +3 -1
- package/dist/core/pr-quality-rubric.js +1 -1
- package/dist/core/state-schema.d.ts +2 -0
- package/dist/core/state-schema.js +6 -0
- package/dist/core/urls.d.ts +2 -0
- package/dist/core/urls.js +5 -0
- package/package.json +2 -2
package/dist/cli-registry.js
CHANGED
|
@@ -323,7 +323,8 @@ export const commands = [
|
|
|
323
323
|
.command('search [count]')
|
|
324
324
|
.description('Search for new issues to work on')
|
|
325
325
|
.option('--json', 'Output as JSON')
|
|
326
|
-
.option('--strategy <strategies>',
|
|
326
|
+
.option('--strategy <strategies>', 'Comma-separated discovery phases to rotate through (merged,orgs,starred,broad,maintained,all). Omit for all. Each search runs one of them in turn unless --full is set.')
|
|
327
|
+
.option('--full', 'Run every enabled strategy in this search instead of one per search in rotation. More API calls, can take a few minutes.')
|
|
327
328
|
.action(async (count, options) => {
|
|
328
329
|
const { SearchOutputSchema } = await import('./formatters/json.js');
|
|
329
330
|
await executeAction(options, async () => {
|
|
@@ -344,7 +345,7 @@ export const commands = [
|
|
|
344
345
|
if (!options.json) {
|
|
345
346
|
console.log(`\nSearching for issues (max ${maxResults})...\n`);
|
|
346
347
|
}
|
|
347
|
-
return runSearch({ maxResults, strategies });
|
|
348
|
+
return runSearch({ maxResults, strategies, full: options.full });
|
|
348
349
|
}, (data) => {
|
|
349
350
|
if (data.hiddenOwnPRCount > 0) {
|
|
350
351
|
console.log(`Hidden: ${data.hiddenOwnPRCount} candidate(s) were issues you already have open PRs for.`);
|