@oss-autopilot/core 3.32.0 → 3.33.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 +2 -1
- package/dist/cli.bundle.cjs +53 -53
- package/dist/commands/search.d.ts +8 -0
- package/dist/commands/search.js +12 -9
- package/package.json +2 -2
package/dist/cli-registry.js
CHANGED
|
@@ -325,6 +325,7 @@ export const commands = [
|
|
|
325
325
|
.option('--json', 'Output as JSON')
|
|
326
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
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.')
|
|
328
|
+
.option('--no-record', "Don't save surfaced issues or the rotation cursor to shared state. For scheduled searches on a second machine, so they don't hide issues from your own searches. Use with --full.")
|
|
328
329
|
.action(async (count, options) => {
|
|
329
330
|
const { SearchOutputSchema } = await import('./formatters/json.js');
|
|
330
331
|
await executeAction(options, async () => {
|
|
@@ -345,7 +346,7 @@ export const commands = [
|
|
|
345
346
|
if (!options.json) {
|
|
346
347
|
console.log(`\nSearching for issues (max ${maxResults})...\n`);
|
|
347
348
|
}
|
|
348
|
-
return runSearch({ maxResults, strategies, full: options.full });
|
|
349
|
+
return runSearch({ maxResults, strategies, full: options.full, record: options.record });
|
|
349
350
|
}, (data) => {
|
|
350
351
|
if (data.hiddenOwnPRCount > 0) {
|
|
351
352
|
console.log(`Hidden: ${data.hiddenOwnPRCount} candidate(s) were issues you already have open PRs for.`);
|