@oss-autopilot/core 3.30.0 → 3.31.1

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.
@@ -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>', "Comma-separated discovery phases to run (merged,orgs,starred,broad,maintained,all). Omit to run scout's default staged pipeline.")
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.`);