github-router 0.3.242 → 0.3.244

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.
@@ -15810,7 +15810,7 @@ async function searchCode(rawInput, externalSignal) {
15810
15810
  if (wantScan && o.outline.length === 0) continue;
15811
15811
  outlines.push({
15812
15812
  file,
15813
- outline: o.outline
15813
+ outline: o.outline.slice(0, 60)
15814
15814
  });
15815
15815
  }
15816
15816
  }
@@ -17692,22 +17692,6 @@ function lexicalSearchCodeMode(mode) {
17692
17692
  * it both levers: retry `mode:"semantic"` shortly (the index is self-healing
17693
17693
  * in the background) OR re-query now with specific symbol/keyword terms.
17694
17694
  */
17695
- /**
17696
- * Per-file cap on outline entries in a SEARCH response.
17697
- *
17698
- * `outlineFile`'s own cap is 1000 symbols, which is right for a deliberate
17699
- * outline of one file the caller asked for. It is far too high here: outlines
17700
- * are attached to up to 10 files the caller did NOT ask for, as orientation
17701
- * alongside the hits. A single large test file can contribute hundreds of
17702
- * entries and dominate the response, which is the opposite of the compact map
17703
- * this field is supposed to be — the caller pays that context whether or not
17704
- * they ever open the file.
17705
- *
17706
- * Capped rather than removed because the map itself is useful; only its tail
17707
- * is. The parser-level cap is deliberately left alone so other consumers of
17708
- * `outlineFile` keep full fidelity.
17709
- */
17710
- const MAX_OUTLINE_ENTRIES_PER_FILE = 60;
17711
17695
  const FALLBACK_GUIDANCE_MARKER = "retry mode:\"semantic\"";
17712
17696
  const FALLBACK_GUIDANCE = `${FALLBACK_GUIDANCE_MARKER} shortly, or re-query now with specific symbol/keyword terms`;
17713
17697
  function fallbackNoticeFor(status) {
@@ -17757,7 +17741,7 @@ async function outlinesForSemanticResults(input, results, signal) {
17757
17741
  const outlined = await outlineFile(abs, signal);
17758
17742
  outlines.push({
17759
17743
  file,
17760
- outline: outlined.outline.slice(0, MAX_OUTLINE_ENTRIES_PER_FILE)
17744
+ outline: outlined.outline.slice(0, 60)
17761
17745
  });
17762
17746
  }
17763
17747
  return outlines;
@@ -34988,4 +34972,4 @@ function enumerateInjectedMcpToolNames(groupKeys, opts = {}) {
34988
34972
  //#endregion
34989
34973
  export { searchWeb as $, DEFAULT_CLAUDE_MODEL_FALLBACKS as $t, trustRepo as A, state as An, getTokenCount as At, TEST_DEFAULT_MODEL as B, hasSupportedBrowserInstalled as Bt, fileLastPromptStore as C, fetchWithTransientRetry as Cn, scoutModel as Ct, repoRoot as D, copilotBaseUrl as Dn, shimDefaultsToXhigh as Dt, repoFingerprint as E, GITHUB_API_BASE_URL as En, workerToolsEnabled as Et, EXPLORE_DEFAULT_MODEL as F, createChatCompletions as Ft, buildEnv as G, CONDENSED_OPERATING_SEQUENCE as Gt, resolveModeDefaults as H, extractTarGzMember as Ht, EXPLORE_DEFAULT_THINKING as I, MAX_RESPONSE_BODY_BYTES as It, toolbeltEnabled as J, ArtifactClient as Jt, availableToolCommands as K, DEFINITION_OF_GREATNESS as Kt, IMPLEMENT_DEFAULT_MODEL as L, readResponseBodyCapped as Lt, resolveSealedGate as M, resolveMcpToolTimeoutMs as Mt, BROWSE_DEFAULT_MODEL as N, pickEndpoint as Nt, stopGateEnabledForRepo as O, copilotHeaders as On, countTokens as Ot, DEFAULT_MODEL as P, createResponses as Pt, assetFor as Q, toolbeltPathOverride as Qt, PLAN_DEFAULT_MODEL as R, parseJsonOrDiagnose as Rt, fileFindingsStore as S, getGitHubUser as Sn, reviewerModel as St, isSubagentContext as T, forwardError as Tn, standInToolEnabled as Tt, resolveWorkerRunOpts as U, extractZipMember as Ut, appendPlanReminder as V, provisionAndIndexColbert as Vt, runWorkerAgent as W, warmTreeSitterPool as Wt, vscodeRipgrepPath as X, buildWorkspaceHeaderJson as Xt, toolbeltSkipSet as Y, buildWorkspaceHeaderHelperCommand as Yt, TOOLBELT_TOOLS$1 as Z, collapsePathKeys as Zt, stopGateDisabled as _, isNullish as _n, browserCompoundToolsEnabled as _t, buildPeerAwarenessSnippet as a, generateRandomPort as an, buildAnthropicErrorEvent as at, stopReviewEnabled as b, sleep$3 as bn, geminiAvailable as bt, personasFor as c, withInstallLock as cn, logStreamError as ct, buildStopHookCommand as d, setupGitHubToken as dn, handleMcpDelete as dt, DEFAULT_CODEX_MODEL as en, ADVISOR_INTERNAL_TOOL_NAME as et, captureLaunchBaseline as f, tryRefreshAndRetry as fn, handleMcpPost as ft, launchBaselineKey as g, filterBetaHeader as gn, browseAgentEnabled as gt, injectStopHookIntoSettingsFile as h, cacheVSCodeVersion as hn, brainstormModel as ht, buildAgentPrompt as i, UPSTREAM_INACTIVITY_TIMEOUT_MS as in, isAdvisorRequested as it, liveExec as j, assembleResponsesPayload as jt, stopReviewStateDir as k, githubHeaders as kn, createMessages as kt, buildArtifactOpenHookCommand as l, setupCopilotToken as ln, readIteratorWithTimeout as lt, fileBlockBudget as m, cacheModels as mn, artifactToolsEnabled as mt, MCP_GROUPS as n, DEFAULT_PORT as nn, buildAdvisorStream as nt, buildPeerAwarenessSummary as o, pickClaudeDefault as on, buildOpenAIErrorEvent as ot, decideStopHook as p, cacheCopilotVersion as pn, agentToolsEnabled as pt, buildToolbeltAwareness as q, shouldUseInsecureTls as qt, assertMcpToolSurfaceConsistent as r, UPSTREAM_FETCH_TIMEOUT_MS as rn, injectAdvisorTool as rt, enumerateInjectedMcpToolNames as s, getPackageVersion as sn, isControllerClosedError as st, GROUP_META as t, DEFAULT_CODEX_MODEL_FALLBACKS as tn, ADVISOR_TOOL_INSTRUCTIONS as tt, buildSessionBindHookCommand as u, setupGitHubAgentToken as un, relayAnthropicStream as ut, stopGateId as v, resolveCodexModel as vn, browserToolsEnabled as vt, fileReviewDebounce as w, HTTPError as wn, scribeModel as wt, fileBaselineStore as x, getModels as xn, nativeSubagentModel as xt, stopGatePlanMode as y, resolveModel as yn, fleetToolsEnabled as yt, REVIEW_DEFAULT_MODEL as z, provisionBrowserAssets as zt };
34990
34974
 
34991
- //# sourceMappingURL=peer-mcp-personas-CPcQik2-.js.map
34975
+ //# sourceMappingURL=peer-mcp-personas-B4r1LmlQ.js.map