@oss-autopilot/core 3.18.0 → 3.19.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.
@@ -24,7 +24,7 @@ export { runStatus } from './status.js';
24
24
  /** On-demand strategy snapshot via the typed `computeStrategy` core function (#1243 step 4). */
25
25
  export { runStrategy } from './strategy.js';
26
26
  /** Search GitHub for contributable issues using multi-strategy discovery. */
27
- export { runSearch, MAX_SEARCH_RESULTS } from './search.js';
27
+ export { runSearch, MAX_SEARCH_RESULTS, DEFAULT_SEARCH_RESULTS } from './search.js';
28
28
  /** Surface feature-scoped opportunities in repos with 3+ merged PRs (scout 0.9.0). */
29
29
  export { runFeatures, MAX_FEATURES_RESULTS } from './features.js';
30
30
  /** Vet a single GitHub issue for claimability (open, unassigned, no linked PRs, repo health). */
@@ -25,7 +25,7 @@ export { runStatus } from './status.js';
25
25
  /** On-demand strategy snapshot via the typed `computeStrategy` core function (#1243 step 4). */
26
26
  export { runStrategy } from './strategy.js';
27
27
  /** Search GitHub for contributable issues using multi-strategy discovery. */
28
- export { runSearch, MAX_SEARCH_RESULTS } from './search.js';
28
+ export { runSearch, MAX_SEARCH_RESULTS, DEFAULT_SEARCH_RESULTS } from './search.js';
29
29
  /** Surface feature-scoped opportunities in repos with 3+ merged PRs (scout 0.9.0). */
30
30
  export { runFeatures, MAX_FEATURES_RESULTS } from './features.js';
31
31
  /** Vet a single GitHub issue for claimability (open, unassigned, no linked PRs, repo health). */
@@ -12,6 +12,14 @@ export { type SearchOutput } from '../formatters/json.js';
12
12
  * lands in one place instead of three (#1002).
13
13
  */
14
14
  export declare const MAX_SEARCH_RESULTS = 100;
15
+ /**
16
+ * Default issue-search result count when no count is passed (#1571). Sized to
17
+ * leave headroom past scout's affinity phases (merged-PR + starred), which can
18
+ * fill a small cap on their own and starve the broad/maintained phases via the
19
+ * `allCandidates.length < maxResults` gate. Shared between CLI
20
+ * (`cli-registry.ts`), MCP tool (`tools.ts`), and MCP prompt (`prompts.ts`).
21
+ */
22
+ export declare const DEFAULT_SEARCH_RESULTS = 15;
15
23
  /**
16
24
  * Diversity-counterweight ratio (#1244). Moved to `scout-bridge.ts` in #1464
17
25
  * (it is now also baked into the bridge-built `ScoutPreferences`); re-exported
@@ -16,6 +16,14 @@ const MODULE = 'search';
16
16
  * lands in one place instead of three (#1002).
17
17
  */
18
18
  export const MAX_SEARCH_RESULTS = 100;
19
+ /**
20
+ * Default issue-search result count when no count is passed (#1571). Sized to
21
+ * leave headroom past scout's affinity phases (merged-PR + starred), which can
22
+ * fill a small cap on their own and starve the broad/maintained phases via the
23
+ * `allCandidates.length < maxResults` gate. Shared between CLI
24
+ * (`cli-registry.ts`), MCP tool (`tools.ts`), and MCP prompt (`prompts.ts`).
25
+ */
26
+ export const DEFAULT_SEARCH_RESULTS = 15;
19
27
  /**
20
28
  * Diversity-counterweight ratio (#1244). Moved to `scout-bridge.ts` in #1464
21
29
  * (it is now also baked into the bridge-built `ScoutPreferences`); re-exported
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oss-autopilot/core",
3
- "version": "3.18.0",
3
+ "version": "3.19.0",
4
4
  "description": "CLI and core library for managing open source contributions",
5
5
  "type": "module",
6
6
  "bin": {