github-router 0.3.303 → 0.3.304
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/README.md +4 -4
- package/dist/{attribution-settings-dta8MTnd.js → attribution-settings-C8iSwEAZ.js} +7 -7
- package/dist/{attribution-settings-dta8MTnd.js.map → attribution-settings-C8iSwEAZ.js.map} +1 -1
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/{claude-kr-Augld.js → claude-Drv0roq1.js} +11 -11
- package/dist/{claude-kr-Augld.js.map → claude-Drv0roq1.js.map} +1 -1
- package/dist/{codex-B1qnVlzG.js → codex-kgVL5OyN.js} +4 -4
- package/dist/{codex-B1qnVlzG.js.map → codex-kgVL5OyN.js.map} +1 -1
- package/dist/engine-xuIzQNV1.js +2 -0
- package/dist/{fast-profile-contract-B6xn-Rzo.js → fast-profile-contract-OuZQaGif.js} +4 -4
- package/dist/{fast-profile-contract-B6xn-Rzo.js.map → fast-profile-contract-OuZQaGif.js.map} +1 -1
- package/dist/{gate-discovery-DOIm3XHF.js → gate-discovery-D4-F99e_.js} +2 -2
- package/dist/{gate-discovery-DOIm3XHF.js.map → gate-discovery-D4-F99e_.js.map} +1 -1
- package/dist/hooks.mjs +7 -7
- package/dist/hooks.sha256 +1 -1
- package/dist/{internal-fast-dispatch-guard-BhpZ6LvO.js → internal-fast-dispatch-guard-BaUB-F8o.js} +2 -2
- package/dist/{internal-fast-dispatch-guard-BhpZ6LvO.js.map → internal-fast-dispatch-guard-BaUB-F8o.js.map} +1 -1
- package/dist/{internal-fast-dispatch-guard-C6BNoOnn.js → internal-fast-dispatch-guard-ByzwIsxA.js} +1 -1
- package/dist/{internal-max-dispatch-guard-DhAr8N_o.js → internal-max-dispatch-guard-CXRB-4a3.js} +5 -5
- package/dist/{internal-max-dispatch-guard-DhAr8N_o.js.map → internal-max-dispatch-guard-CXRB-4a3.js.map} +1 -1
- package/dist/{internal-max-dispatch-guard-k52H-PdC.js → internal-max-dispatch-guard-Sb6ACr_0.js} +1 -1
- package/dist/{internal-stop-hook-CWffknT2.js → internal-stop-hook-D8LIWryj.js} +2 -2
- package/dist/{internal-stop-hook-CWffknT2.js.map → internal-stop-hook-D8LIWryj.js.map} +1 -1
- package/dist/main.js +7 -7
- package/dist/{max-profile-contract-Ct62mtAR.js → max-profile-contract-CiD5wyET.js} +4 -4
- package/dist/{max-profile-contract-Ct62mtAR.js.map → max-profile-contract-CiD5wyET.js.map} +1 -1
- package/dist/{peer-mcp-personas-BU5dNLxQ.js → peer-mcp-personas-D4bHdjOx.js} +35 -40
- package/dist/{peer-mcp-personas-BU5dNLxQ.js.map → peer-mcp-personas-D4bHdjOx.js.map} +1 -1
- package/dist/{provision-qNJgF5XD.js → provision-D3_GtXze.js} +2 -2
- package/dist/{provision-qNJgF5XD.js.map → provision-D3_GtXze.js.map} +1 -1
- package/dist/{serve-T64kVeQN.js → serve-DPRZX-2j.js} +5 -5
- package/dist/{serve-T64kVeQN.js.map → serve-DPRZX-2j.js.map} +1 -1
- package/dist/{server-setup-C_LAE8NI.js → server-setup-CSkdFAPP.js} +13 -13
- package/dist/{server-setup-C_LAE8NI.js.map → server-setup-CSkdFAPP.js.map} +1 -1
- package/dist/{start-DHRToEyb.js → start-C6G5tu81.js} +3 -3
- package/dist/{start-DHRToEyb.js.map → start-C6G5tu81.js.map} +1 -1
- package/package.json +1 -1
- package/dist/engine-B3w1TDgR.js +0 -2
|
@@ -4,8 +4,8 @@ import { t as PATHS } from "./paths-IcZW8gZx.js";
|
|
|
4
4
|
import { t as state } from "./state-B8adscCv.js";
|
|
5
5
|
import { C as GITHUB_GRAPHQL_URL, D as githubAgentGraphQLHeaders, E as copilotVersion, O as githubAgentHeaders, S as GITHUB_API_BASE_URL, T as copilotHeaders, b as sanitizeTransportText, d as resolveModel, f as sleep$2, g as HTTPError, h as isAllowedCopilotHost, i as tryRefreshAndRetry, v as classifyTransportError, w as copilotBaseUrl, x as withTransientRetry, y as fetchWithTransientRetry } from "./token-CbuFyx-B.js";
|
|
6
6
|
import { a as resolveExecutable, c as runManagedExeCapture, i as parseIntEnv, l as spawnTaskkillBestEffort, r as parseBoolEnv } from "./exec-y8C_MU8A.js";
|
|
7
|
-
import { a as FAST_PROFILE_MODELS, c as FAST_PROFILE_NATIVE_MODELS, l as FAST_PROFILE_ORACLE_EFFORT, n as FAST_PROFILE_ADVISOR_EFFORT, o as FAST_PROFILE_NATIVE_AGENT_NAMES, r as FAST_PROFILE_ADVISOR_MODEL, s as FAST_PROFILE_NATIVE_EFFORTS, u as FAST_PROFILE_ORACLE_MODEL } from "./fast-profile-contract-
|
|
8
|
-
import { _ as validateMaxProfilePrerequisites, a as MAX_PROFILE_NATIVE_AGENT_NAMES, b as normalizeTrailingOneMSuffix, f as maxGeminiModel, h as maxProReplacementModel, i as MAX_PROFILE_MODELS, m as maxOpusModel, p as maxGrokModel, r as MAX_PROFILE_LEAD_MODEL, v as fastEndpointForCatalogId, x as stripTrailingOneMSuffix, y as fastEndpointForModel } from "./max-profile-contract-
|
|
7
|
+
import { a as FAST_PROFILE_MODELS, c as FAST_PROFILE_NATIVE_MODELS, l as FAST_PROFILE_ORACLE_EFFORT, n as FAST_PROFILE_ADVISOR_EFFORT, o as FAST_PROFILE_NATIVE_AGENT_NAMES, r as FAST_PROFILE_ADVISOR_MODEL, s as FAST_PROFILE_NATIVE_EFFORTS, u as FAST_PROFILE_ORACLE_MODEL } from "./fast-profile-contract-OuZQaGif.js";
|
|
8
|
+
import { _ as validateMaxProfilePrerequisites, a as MAX_PROFILE_NATIVE_AGENT_NAMES, b as normalizeTrailingOneMSuffix, f as maxGeminiModel, h as maxProReplacementModel, i as MAX_PROFILE_MODELS, m as maxOpusModel, p as maxGrokModel, r as MAX_PROFILE_LEAD_MODEL, v as fastEndpointForCatalogId, x as stripTrailingOneMSuffix, y as fastEndpointForModel } from "./max-profile-contract-CiD5wyET.js";
|
|
9
9
|
import { i as registerExitHandlers$1, n as getInstanceUuid, r as recordWorkerRepo, t as WorktreeRegistry } from "./lifecycle-DgsJ_8Am.js";
|
|
10
10
|
import { t as MCP_WORKSPACE_HEADER } from "./mcp-workspace-header-NzFD0Wgd.js";
|
|
11
11
|
import { n as ArtifactError, r as applyInsecureTls, t as ArtifactClient } from "./client-CQMfroGV.js";
|
|
@@ -24609,7 +24609,7 @@ const FALLBACK_TOKEN_PRICES = Object.freeze({
|
|
|
24609
24609
|
in: 200,
|
|
24610
24610
|
out: 1200
|
|
24611
24611
|
},
|
|
24612
|
-
"gemini-3.
|
|
24612
|
+
"gemini-3.8-flash": {
|
|
24613
24613
|
in: 75,
|
|
24614
24614
|
out: 375
|
|
24615
24615
|
}
|
|
@@ -24673,21 +24673,16 @@ function catalogTokenPrices(modelId) {
|
|
|
24673
24673
|
* second speed axis invites optimising a routing choice that policy already
|
|
24674
24674
|
* settles (see the decorrelation note below).
|
|
24675
24675
|
*
|
|
24676
|
-
* `gemini-3.
|
|
24677
|
-
*
|
|
24678
|
-
*
|
|
24679
|
-
*
|
|
24680
|
-
*
|
|
24681
|
-
*
|
|
24682
|
-
*
|
|
24683
|
-
*
|
|
24684
|
-
*
|
|
24685
|
-
*
|
|
24686
|
-
* Artificial Analysis figure, roughly confirmed once TTFT is excluded) against
|
|
24687
|
-
* `gpt-5.6-terra`'s ~135-190 tok/s decode — gemini-3.7-flash is the faster
|
|
24688
|
-
* decoder, but its ~1.1-1.7s TTFT (vs terra's ~0.9-1.0s) drags its TOTAL rate
|
|
24689
|
-
* below terra's on short responses, which is exactly why this row uses total,
|
|
24690
|
-
* not decode, to stay consistent with its neighbors.
|
|
24676
|
+
* The `gemini-3.8-flash` row carries forward the predecessor generation's 91
|
|
24677
|
+
* total-tokens/sec result as a conservative floor: the user confirmed 3.8 is the
|
|
24678
|
+
* same speed or slightly faster. It is not a fresh 3.8 benchmark. The predecessor
|
|
24679
|
+
* measurement (2026-08-13, n=5, one untimed warmup rep) used the script's newer
|
|
24680
|
+
* `GH_ROUTER_BENCH_STREAM=1` mode, which splits wall-clock into TTFT and a
|
|
24681
|
+
* decode-phase rate excluding the first delta's own time+tokens. The row records
|
|
24682
|
+
* the SAME metric family as every other row here (total tokens / total wall-clock,
|
|
24683
|
+
* the script's "total tok/s" column), not the decode-phase figure, so the table
|
|
24684
|
+
* remains internally comparable. `gemini-3.1-pro-preview` was re-measured with
|
|
24685
|
+
* the same method.
|
|
24691
24686
|
*/
|
|
24692
24687
|
const INDICATIVE_TOKENS_PER_SECOND = Object.freeze({
|
|
24693
24688
|
"gpt-5.6-luna": 120,
|
|
@@ -24700,7 +24695,7 @@ const INDICATIVE_TOKENS_PER_SECOND = Object.freeze({
|
|
|
24700
24695
|
"gpt-5.6-sol": 75,
|
|
24701
24696
|
"grok-4.5": 70,
|
|
24702
24697
|
"gpt-5.5": 65,
|
|
24703
|
-
"gemini-3.
|
|
24698
|
+
"gemini-3.8-flash": 91,
|
|
24704
24699
|
"gemini-3.6-flash": 45,
|
|
24705
24700
|
"gemini-3.5-flash": 40,
|
|
24706
24701
|
"gemini-3.1-pro-preview": 33
|
|
@@ -27799,7 +27794,7 @@ function shimDefaultsToXhigh(id) {
|
|
|
27799
27794
|
* live tool list would be a silent regression (the snippet would name
|
|
27800
27795
|
* a tool the live catalog doesn't expose).
|
|
27801
27796
|
*/
|
|
27802
|
-
const REVIEW_FAST_DEFAULT_MODEL = "gemini-3.
|
|
27797
|
+
const REVIEW_FAST_DEFAULT_MODEL = "gemini-3.8-flash";
|
|
27803
27798
|
/**
|
|
27804
27799
|
* Gate for the `stand_in` tool.
|
|
27805
27800
|
*
|
|
@@ -27809,8 +27804,8 @@ const REVIEW_FAST_DEFAULT_MODEL = "gemini-3.7-flash";
|
|
|
27809
27804
|
* `resolveOpenAiFrontier`)
|
|
27810
27805
|
* - `claude-opus-5` (stand_in's Anthropic slot)
|
|
27811
27806
|
* - standard/BYO: the preferred Gemini reviewer model
|
|
27812
|
-
* (`gemini-3.1-pro-preview`, falling back to `gemini-3.
|
|
27813
|
-
* - max: Grok 4.6/high when usable, otherwise Gemini 3.
|
|
27807
|
+
* (`gemini-3.1-pro-preview`, falling back to `gemini-3.8-flash`)
|
|
27808
|
+
* - max: Grok 4.6/high when usable, otherwise Gemini 3.8 Flash 1M/high
|
|
27814
27809
|
*
|
|
27815
27810
|
* If any one is missing, `stand_in` is dropped from `tools/list` AND
|
|
27816
27811
|
* fails `tools/call` with -32601 (mirroring the `worker` capability's
|
|
@@ -27830,7 +27825,7 @@ const REVIEW_FAST_DEFAULT_MODEL = "gemini-3.7-flash";
|
|
|
27830
27825
|
* simplification.
|
|
27831
27826
|
*/
|
|
27832
27827
|
function findGeminiProGaRename(models) {
|
|
27833
|
-
return models.find((m) => /^gemini-3\..*pro/i.test(m.id) && m.id !== "gemini-3.1-pro-preview" && m.id !== "gemini-3.
|
|
27828
|
+
return models.find((m) => /^gemini-3\..*pro/i.test(m.id) && m.id !== "gemini-3.1-pro-preview" && m.id !== "gemini-3.8-flash")?.id;
|
|
27834
27829
|
}
|
|
27835
27830
|
function resolveGeminiReviewModel(source = state) {
|
|
27836
27831
|
const models = source.models?.data;
|
|
@@ -27838,7 +27833,7 @@ function resolveGeminiReviewModel(source = state) {
|
|
|
27838
27833
|
if (models.some((m) => m.id === "gemini-3.1-pro-preview")) return GEMINI_REVIEW_DEFAULT_MODEL;
|
|
27839
27834
|
const gaRename = findGeminiProGaRename(models);
|
|
27840
27835
|
if (gaRename) return gaRename;
|
|
27841
|
-
if (models.some((m) => m.id === "gemini-3.
|
|
27836
|
+
if (models.some((m) => m.id === "gemini-3.8-flash")) return REVIEW_FAST_DEFAULT_MODEL;
|
|
27842
27837
|
}
|
|
27843
27838
|
/**
|
|
27844
27839
|
* Gemini review candidates in preference order, for resolvers that ALSO need
|
|
@@ -27970,16 +27965,16 @@ function scribeModel() {
|
|
|
27970
27965
|
* impostor wearing the cheap agent's name.
|
|
27971
27966
|
*
|
|
27972
27967
|
* `gpt-5.6-luna` leads because it is the cheapest 1M-context model in the
|
|
27973
|
-
* catalog; `gemini-3.
|
|
27968
|
+
* catalog; `gemini-3.8-flash` remains the cross-vendor fallback so an OpenAI-side
|
|
27974
27969
|
* outage does not remove the scout. Both entries must continue advertising at
|
|
27975
27970
|
* least 1M context so Claude Code's `[1m]` accounting remains honest if an
|
|
27976
27971
|
* upstream catalog entry shrinks.
|
|
27977
27972
|
*
|
|
27978
|
-
* The fallback moved off `gemini-3.6-flash` on 2026-08-13
|
|
27979
|
-
* is strictly better on every axis this chain
|
|
27980
|
-
* (75/375 vs 150/750 per 1M),
|
|
27981
|
-
*
|
|
27982
|
-
*
|
|
27973
|
+
* The fallback moved off `gemini-3.6-flash` on 2026-08-13 and subsequently
|
|
27974
|
+
* upgraded to `gemini-3.8-flash`: it is strictly better on every axis this chain
|
|
27975
|
+
* cares about — half the price (75/375 vs 150/750 per 1M), fast tool-call
|
|
27976
|
+
* performance, same 1M window, same vendor, so the cross-vendor property the
|
|
27977
|
+
* fallback exists for is preserved.
|
|
27983
27978
|
*
|
|
27984
27979
|
* This chain deliberately uses literal ids rather than `EXPLORE_DEFAULT_MODEL`:
|
|
27985
27980
|
* the explore worker default and scout's cross-vendor fallback are independent
|
|
@@ -27987,7 +27982,7 @@ function scribeModel() {
|
|
|
27987
27982
|
* 400K last resort. On a catalog carrying neither chain member, `scout` is
|
|
27988
27983
|
* dropped rather than inheriting the lead or presenting a narrower-context agent.
|
|
27989
27984
|
*/
|
|
27990
|
-
const SCOUT_MODEL_CHAIN = Object.freeze(["gpt-5.6-luna", "gemini-3.
|
|
27985
|
+
const SCOUT_MODEL_CHAIN = Object.freeze(["gpt-5.6-luna", "gemini-3.8-flash"]);
|
|
27991
27986
|
function scoutModel() {
|
|
27992
27987
|
return firstPresentInCatalog(SCOUT_MODEL_CHAIN, {
|
|
27993
27988
|
requireToolCalls: true,
|
|
@@ -28107,7 +28102,7 @@ function fastReviewerModel() {
|
|
|
28107
28102
|
if (fastEndpointForModel(found) !== "responses") return void 0;
|
|
28108
28103
|
return FAST_REVIEWER_MODEL;
|
|
28109
28104
|
}
|
|
28110
|
-
/** Dedicated Gemini 3.
|
|
28105
|
+
/** Dedicated Gemini 3.8 Flash Advisor check. */
|
|
28111
28106
|
function fastAdvisorModel() {
|
|
28112
28107
|
const found = state.models?.data.find((m) => m.id === FAST_ADVISOR_MODEL);
|
|
28113
28108
|
if (!found) return void 0;
|
|
@@ -28533,7 +28528,7 @@ function toolEntries(scope, launch) {
|
|
|
28533
28528
|
tool
|
|
28534
28529
|
})).map((tool) => ({
|
|
28535
28530
|
name: tool.toolNameHttp,
|
|
28536
|
-
description: tool.toolNameHttp === "stand_in" ? "Three-lab away-mode decision tiebreak for bounded choices while the user is unavailable. The max panel is Sol, Opus 5, and Grok 4.6 at high effort when available, otherwise Gemini 3.
|
|
28531
|
+
description: tool.toolNameHttp === "stand_in" ? "Three-lab away-mode decision tiebreak for bounded choices while the user is unavailable. The max panel is Sol, Opus 5, and Grok 4.6 at high effort when available, otherwise Gemini 3.8 Flash 1M at high. It recommends but never executes; destructive actions still require the user." : tool.description,
|
|
28537
28532
|
inputSchema: tool.inputSchema
|
|
28538
28533
|
}));
|
|
28539
28534
|
return [...personaEntries, ...nonPersonaEntries];
|
|
@@ -30090,7 +30085,7 @@ const ADVISOR_MIN_EFFORT = "high";
|
|
|
30090
30085
|
* the decorrelation instrument and are untouched. `GH_ROUTER_ADVISOR_MODEL`
|
|
30091
30086
|
* keeps a cross-lab advisor one env var away for anyone who wants it back. */
|
|
30092
30087
|
const ADVISOR_ESCALATION_MODEL = "claude-opus-5";
|
|
30093
|
-
/** The Advisor model for an authenticated fast primary lead. Gemini 3.
|
|
30088
|
+
/** The Advisor model for an authenticated fast primary lead. Gemini 3.8 Flash
|
|
30094
30089
|
* is cross-lab from the OpenAI-backed Luna/Sol leads and is selected only when
|
|
30095
30090
|
* its live catalog entry advertises the required Chat endpoint. Kept distinct
|
|
30096
30091
|
* from `ADVISOR_DEFAULT_MODEL` so standard launches remain unchanged. */
|
|
@@ -34240,7 +34235,7 @@ function appendPlanReminder(messages, planState) {
|
|
|
34240
34235
|
* The tool's purpose is "give me the best 3-lab judgment available";
|
|
34241
34236
|
* exposing effort knobs would invite the caller to cheap out and would
|
|
34242
34237
|
* muddy the consensus signal. Standard retains the Pro-preferred Google slot.
|
|
34243
|
-
* Max replaces that slot with Grok 4.6/high, falling back only to Gemini 3.
|
|
34238
|
+
* Max replaces that slot with Grok 4.6/high, falling back only to Gemini 3.8
|
|
34244
34239
|
* Flash/high; neither max branch can select Gemini 3.1 Pro.
|
|
34245
34240
|
*/
|
|
34246
34241
|
const STAND_IN_MODELS_BASE = Object.freeze([
|
|
@@ -34275,7 +34270,7 @@ function standInModels(opts = {}) {
|
|
|
34275
34270
|
effort: "high"
|
|
34276
34271
|
} : {
|
|
34277
34272
|
...config,
|
|
34278
|
-
key: "gemini-3.
|
|
34273
|
+
key: "gemini-3.8-flash",
|
|
34279
34274
|
model: MAX_PROFILE_MODELS.gemini,
|
|
34280
34275
|
effort: "high"
|
|
34281
34276
|
} : config);
|
|
@@ -34283,7 +34278,7 @@ function standInModels(opts = {}) {
|
|
|
34283
34278
|
const geminiModel = resolveGeminiReviewModel();
|
|
34284
34279
|
return STAND_IN_MODELS_BASE.map((config) => config.key === "gemini-3.1-pro-preview" ? {
|
|
34285
34280
|
...config,
|
|
34286
|
-
model: geminiModel ?? "gemini-3.
|
|
34281
|
+
model: geminiModel ?? "gemini-3.8-flash"
|
|
34287
34282
|
} : config);
|
|
34288
34283
|
}
|
|
34289
34284
|
const SYSTEM_PROMPT_R1 = `You are one of three frontier reasoning models the user has authorized to stand in for them on a bounded decision while they are unavailable. Your task: pick the best option from those provided.
|
|
@@ -36075,7 +36070,7 @@ function buildPeerAwarenessSnippet(opts) {
|
|
|
36075
36070
|
"## Peer review and advisor",
|
|
36076
36071
|
"",
|
|
36077
36072
|
`Max launch profile. The native roster is a menu of complementary capabilities rather than a required workflow: \`Explore\` for broad discovery, \`brainstorm\` for open design choices, \`Plan\` when sequencing or acceptance criteria benefit from a separate view, \`implementer\` for bounded coding, \`general-purpose\` for mixed work, and \`reviewer\` for repository-aware verification. Their frontmatter models are intentional defaults chosen for role fit and cross-lab diversity; overrides are most useful after a concrete mismatch and remain within the max allowlist. Independent work can run in parallel when it improves context isolation or latency. Fresh-context peers can reduce correlated blind spots where deterministic evidence does not settle the issue; \`peer-review-coordinator\` can combine max-profile \`sol_critic\`, \`luna_reviewer\`, and catalog-present \`opus_critic\`, \`gemini_critic\`/\`gemini_reviewer\`, and \`grok_critic\`/\`grok_reviewer\` when the risk merits several lenses. Small or obvious tasks are often better handled directly, and model output remains evidence to synthesize rather than a vote.`,
|
|
36078
|
-
`\`mcp__${searchKey}__code\` provides semantic-first code search and \`mcp__${searchKey}__web\` provides citable web sources. Advisor is optional, non-binding, primary-lead-only counsel for a focused consequential uncertainty that direct evidence, Plan, reviewer, or peers cannot settle. It is not a supervisor, approver, or routine workflow/completion gate; consult again only when materially new evidence creates a different question. It remains available across controlled max lead switches, while native subagents and browse workers do not receive it.${opts.standInAvailable ? " Max stand_in uses Sol + Opus 5 + Grok 4.6/high when available, otherwise Gemini 3.
|
|
36073
|
+
`\`mcp__${searchKey}__code\` provides semantic-first code search and \`mcp__${searchKey}__web\` provides citable web sources. Advisor is optional, non-binding, primary-lead-only counsel for a focused consequential uncertainty that direct evidence, Plan, reviewer, or peers cannot settle. It is not a supervisor, approver, or routine workflow/completion gate; consult again only when materially new evidence creates a different question. It remains available across controlled max lead switches, while native subagents and browse workers do not receive it.${opts.standInAvailable ? " Max stand_in uses Sol + Opus 5 + Grok 4.6/high when available, otherwise Gemini 3.8 Flash 1M/high; it never uses Gemini 3.1 Pro." : ""}${opts.agentToolsAvailable ? " Max first-mate replaces any Gemini 3.1 Pro model choice with the same Grok/high → Gemini 3.8 Flash/high fallback." : ""}${browserClause}${workerClause}${decideClause}${fleetClause}${agentsClause}${artifactClause}`
|
|
36079
36074
|
].join("\n");
|
|
36080
36075
|
}
|
|
36081
36076
|
if (opts.profile === "fast") {
|
|
@@ -36153,7 +36148,7 @@ function buildPeerAwarenessSummary(opts) {
|
|
|
36153
36148
|
return [
|
|
36154
36149
|
"## Injected capabilities (summary)",
|
|
36155
36150
|
"",
|
|
36156
|
-
"Max launch profile. The roster offers complementary capabilities: `Explore` for broad discovery, `brainstorm` for open choices, `Plan` for a separate planning view, `implementer` and `general-purpose` for execution, and `reviewer` for repository-aware verification. Small or obvious tasks can be handled directly; independent work can run in parallel. Configured models are the default best fit, and a fresh-context peer or `peer-review-coordinator` can reduce correlated blind spots when risk and uncertainty justify it. Model output is evidence to synthesize, not a vote. Advisor is optional, non-binding, and primary-lead-only counsel for a focused consequential uncertainty the normal evidence and roles cannot settle; it has no approval or workflow authority. The lead decides. On every retained max path, replace Gemini 3.1 Pro with Grok 4.6/high when available, otherwise Gemini 3.
|
|
36151
|
+
"Max launch profile. The roster offers complementary capabilities: `Explore` for broad discovery, `brainstorm` for open choices, `Plan` for a separate planning view, `implementer` and `general-purpose` for execution, and `reviewer` for repository-aware verification. Small or obvious tasks can be handled directly; independent work can run in parallel. Configured models are the default best fit, and a fresh-context peer or `peer-review-coordinator` can reduce correlated blind spots when risk and uncertainty justify it. Model output is evidence to synthesize, not a vote. Advisor is optional, non-binding, and primary-lead-only counsel for a focused consequential uncertainty the normal evidence and roles cannot settle; it has no approval or workflow authority. The lead decides. On every retained max path, replace Gemini 3.1 Pro with Grok 4.6/high when available, otherwise Gemini 3.8 Flash 1M/high.",
|
|
36157
36152
|
`\`mcp__${key("search")}__code\` and \`mcp__${key("search")}__web\` provide code and web search.${directBrowserAvailable ? ` \`mcp__${key("browser")}__*\` provides browser control.` : ""}${opts.browseAvailable ? ` \`worker-browse\` dispatches the browse-only worker through \`mcp__${key("workers")}__browse\`.` : ""}${opts.standInAvailable ? ` \`mcp__${key("decide")}__stand_in\` provides deterministic decision tiebreak.` : ""}${opts.fleetAvailable ? ` \`mcp__${key("fleet")}__*\` provides gated remote sessions.` : ""}${opts.agentToolsAvailable ? " First-mate remains available when its own gate passes." : ""}${opts.artifactToolsAvailable ? ` \`mcp__${key("peers")}__artifact_*\` provides human review with plan auto-open.` : ""}`
|
|
36158
36153
|
].join("\n");
|
|
36159
36154
|
}
|
|
@@ -37499,4 +37494,4 @@ function enumerateInjectedMcpToolNames(groupKeys, opts = {}) {
|
|
|
37499
37494
|
//#endregion
|
|
37500
37495
|
export { UNKNOWN_EFFORT_ANCHOR as $, warmTreeSitterPool as $t, TOOLBELT_TOOLS$1 as A, MAX_LUNA_HIGH_ALIAS_ID as An, countTokens as At, resolveAdvisorEffort as B, resolveModelAlias as Bn, resolveMcpToolTimeoutMs as Bt, runWorkerAgent as C, withOneMSuffix as Cn, reviewerFastModel as Ct, toolbeltEnabled as D, LUNA_REAL_MODEL_ID as Dn, standInToolEnabled as Dt, buildToolbeltAwareness as E, LUNA_HAIKU_ALIAS_ID as En, scribeModel as Et, ADVISOR_TOOL_INSTRUCTIONS as F, isRetiredFastModelAlias as Fn, findLaunchBySecret as Ft, repairRejectedThinkingHistory as G, parseJsonOrDiagnose as Gt, formatThinkingRepairDecline as H, validateMaxProfileLaunch as Hn, createChatCompletions as Ht, FAST_ADVISOR_TOOL_INSTRUCTIONS as I, maxAliasEffort as In, registerLaunch as It, isControllerClosedError as J, hasSupportedBrowserInstalled as Jt, buildAnthropicErrorEvent as K, normalizeOpenAIUsage as Kt, buildAdvisorStream as L, maxAliasModel as Ln, unregisterLaunch as Lt, satisfiesMinVersion as M, canonicalizeAliasModel as Mn, getTextTokenCount as Mt, searchWeb as N, formatFastPrerequisiteFailure as Nn, getTokenCount as Nt, toolbeltSkipSet as O, LUNA_SCOUT_ALIAS_ID as On, workerToolsEnabled as Ot, ADVISOR_INTERNAL_TOOL_NAME as P, isMaxModelAlias as Pn, getTokenizerFromModel as Pt, EFFORT_ORDER as Q, extractZipMember as Qt, injectAdvisorTool as R, profileDescriptor as Rn, assembleResponsesPayload as Rt, resolveWorkerRunOpts as S, oneMContextDisabled as Sn, resolveGeminiReviewModel as St, availableToolCommands as T, LUNA_DRIVER_ALIAS_ID as Tn, scoutModel as Tt, rememberThinkingHistoryRepair as U, withInstallLock as Un, MAX_RESPONSE_BODY_BYTES as Ut, resolveAdvisorModel as V, validateFastProfilePrerequisites as Vn, createResponses as Vt, repairKnownThinkingHistory as W, readResponseBodyCapped as Wt, readIteratorWithTimeout as X, provisionAndIndexColbert as Xt, logStreamError as Y, colbertDegradedWarning as Yt, relayAnthropicStream as Z, extractTarGzMember as Zt, REVIEW_DEFAULT_MODEL as _, resolveLeadSlugArg as _n, fleetToolsEnabled as _t, buildAgentPrompt as a, toolbeltPathOverride as an, artifactToolsEnabled as at, resolveDefaultModel as b, classifyMessagesRoute as bn, implementerFastModel as bt, enumerateInjectedMcpToolNames as c, DEFAULT_CLAUDE_MODEL_FALLBACKS as cn, browserCompoundToolsEnabled as ct, BROWSE_DEFAULT_MODEL as d, DEFAULT_PORT as dn, fastGeneralPurposeModel as dt, provisionTreeSitterAssets as en, bucketEffort as et, DEFAULT_MODEL_CHAIN as f, UPSTREAM_FETCH_TIMEOUT_MS as fn, fastImplementerModel as ft, PLAN_DEFAULT_MODEL as g, pickClaudeDefault as gn, fastScoutModel as gt, IMPLEMENT_DEFAULT_MODEL as h, isBudgetClaudeLead as hn, fastReviewerModel as ht, assertMcpToolSurfaceConsistent as i, collapsePathKeys as in, agentToolsEnabled as it, assetFor as j, MAX_LUNA_MAX_ALIAS_ID as jn, createMessages as jt, vscodeRipgrepPath as k, LUNA_SONNET_ALIAS_ID as kn, shimDefaultsToXhigh as kt, maxPersonasFor as l, DEFAULT_CODEX_MODEL as ln, browserToolsEnabled as lt, EXPLORE_DEFAULT_THINKING as m, generateRandomPort as mn, fastPlanModel as mt, MCP_GROUPS as n, DEFINITION_OF_GREATNESS as nn, handleMcpDelete as nt, buildPeerAwarenessSnippet as o, BUDGET_SMALL_FAST_CATALOG_ID as on, brainstormModel as ot, EXPLORE_DEFAULT_MODEL as p, UPSTREAM_INACTIVITY_TIMEOUT_MS as pn, fastOracleModel as pt, buildOpenAIErrorEvent as q, provisionBrowserAssets as qt, agentNamesForToolAllowlist as r, shouldUseInsecureTls as rn, handleMcpPost as rt, buildPeerAwarenessSummary as s, BUDGET_SMALL_FAST_SLUG as sn, browseAgentEnabled as st, GROUP_META as t, CONDENSED_OPERATING_SEQUENCE as tn, clampEffort as tt, personasFor as u, DEFAULT_CODEX_MODEL_FALLBACKS as un, fastAdvisorModel as ut, TEST_DEFAULT_MODEL as v, upstreamAllowH2 as vn, geminiAvailable as vt, buildEnv as w, withOneMSuffixForLead as wn, reviewerModel as wt, resolveModeDefaults as x, catalogAdvertises1M as xn, nativeSubagentModel as xt, appendPlanReminder as y, upstreamMaxConnections as yn, generalPurposeFastModel as yt, isAdvisorRequested as z, resolveLaunchProfile as zn, warnOnTokenPriceDrift as zt };
|
|
37501
37496
|
|
|
37502
|
-
//# sourceMappingURL=peer-mcp-personas-
|
|
37497
|
+
//# sourceMappingURL=peer-mcp-personas-D4bHdjOx.js.map
|