github-router 0.3.336 → 0.3.338

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.
Files changed (38) hide show
  1. package/dist/{attribution-settings-XDkhQ2bk.js → attribution-settings-CeaG4eQa.js} +108 -143
  2. package/dist/attribution-settings-CeaG4eQa.js.map +1 -0
  3. package/dist/{balanced-profile-contract-B_3kJNoA.js → balanced-profile-contract-C6AgFJNp.js} +15 -18
  4. package/dist/balanced-profile-contract-C6AgFJNp.js.map +1 -0
  5. package/dist/browser-ext/manifest.json +1 -1
  6. package/dist/{claude-BOY6z6BX.js → claude-CjsxXwv2.js} +10 -14
  7. package/dist/claude-CjsxXwv2.js.map +1 -0
  8. package/dist/{codex-De2FoGs9.js → codex-CjZXP_n6.js} +4 -4
  9. package/dist/{codex-De2FoGs9.js.map → codex-CjZXP_n6.js.map} +1 -1
  10. package/dist/engine-cNHuW0j7.js +2 -0
  11. package/dist/{gate-discovery-aa7sEYNv.js → gate-discovery-DGBZpoS7.js} +2 -2
  12. package/dist/{gate-discovery-aa7sEYNv.js.map → gate-discovery-DGBZpoS7.js.map} +1 -1
  13. package/dist/hooks.mjs +2 -6
  14. package/dist/hooks.sha256 +1 -1
  15. package/dist/{internal-fast-dispatch-guard-Dtvd08n5.js → internal-fast-dispatch-guard-7UiD_vM5.js} +6 -5
  16. package/dist/internal-fast-dispatch-guard-7UiD_vM5.js.map +1 -0
  17. package/dist/{internal-fast-dispatch-guard-COveGbiT.js → internal-fast-dispatch-guard-ByXUE5oO.js} +1 -1
  18. package/dist/{internal-stop-hook-D45G87LA.js → internal-stop-hook-BgtHofxp.js} +2 -2
  19. package/dist/{internal-stop-hook-D45G87LA.js.map → internal-stop-hook-BgtHofxp.js.map} +1 -1
  20. package/dist/main.js +6 -6
  21. package/dist/{peer-mcp-personas-ChXkCxu9.js → peer-mcp-personas-qQgzZDPP.js} +23 -27
  22. package/dist/peer-mcp-personas-qQgzZDPP.js.map +1 -0
  23. package/dist/{provision-ChzRLLTd.js → provision-CjIatImk.js} +2 -2
  24. package/dist/{provision-ChzRLLTd.js.map → provision-CjIatImk.js.map} +1 -1
  25. package/dist/{serve-BWVdTPFB.js → serve-BM6x_Cqs.js} +5 -5
  26. package/dist/{serve-BWVdTPFB.js.map → serve-BM6x_Cqs.js.map} +1 -1
  27. package/dist/{server-setup-azGmaBuy.js → server-setup-M0PHRPjd.js} +48 -71
  28. package/dist/server-setup-M0PHRPjd.js.map +1 -0
  29. package/dist/{start-iGITduYA.js → start-BWEckTMU.js} +3 -3
  30. package/dist/{start-iGITduYA.js.map → start-BWEckTMU.js.map} +1 -1
  31. package/package.json +1 -1
  32. package/dist/attribution-settings-XDkhQ2bk.js.map +0 -1
  33. package/dist/balanced-profile-contract-B_3kJNoA.js.map +0 -1
  34. package/dist/claude-BOY6z6BX.js.map +0 -1
  35. package/dist/engine-PIHIf_NI.js +0 -2
  36. package/dist/internal-fast-dispatch-guard-Dtvd08n5.js.map +0 -1
  37. package/dist/peer-mcp-personas-ChXkCxu9.js.map +0 -1
  38. package/dist/server-setup-azGmaBuy.js.map +0 -1
@@ -6,8 +6,8 @@ import { _ as forwardError, a as cacheCopilotVersion, b as copilotBaseUrl, c as
6
6
  import { r as fetchWithTransientRetry } from "./upstream-retry-i1k1Xai2.js";
7
7
  import { t as getCopilotUsage } from "./get-copilot-usage-CGaV01dC.js";
8
8
  import { c as runCommandVoid, i as parseBoolEnv, o as resolveExecutable, r as killManagedTree, s as runCommandCapture } from "./exec-MCU1H-KZ.js";
9
- import { _ as FAST_PROFILE_MODELS, f as FAST_PROFILE_ADVISOR_MODEL, i as BALANCED_PROFILE_NATIVE_AGENT_NAMES, l as BALANCED_PROFILE_SUBAGENT_CONTEXT_TOKENS, n as BALANCED_PROFILE_LEAD_EFFORT, r as BALANCED_PROFILE_MODELS, v as FAST_PROFILE_NATIVE_AGENT_NAMES } from "./balanced-profile-contract-B_3kJNoA.js";
10
- import { $ as EFFORT_ORDER, $t as readResponseBodyCapped, An as withOneMSuffixForLead, B as resolveAdvisorEffort, Bt as createMessages, D as toolbeltEnabled, Dn as catalogAdvertises1M, En as classifyMessagesRoute, F as ADVISOR_TOOL_INSTRUCTIONS, G as repairKnownThinkingHistory, H as resolveCheapestAdvisorModel, Hn as CHEAP_PROFILE_SUBAGENT_CONTEXT_TOKENS, Ht as getTokenCount, I as FAST_ADVISOR_TOOL_INSTRUCTIONS, In as CHEAPEST_PROFILE_SUBAGENT_CONTEXT_TOKENS, J as buildOpenAIErrorEvent, Jt as warnOnTokenPriceDrift, K as repairRejectedThinkingHistory, L as buildAdvisorStream, Ln as CHEAP_PROFILE_ADVISOR_CLIENT_MODEL, Mn as CHEAPEST_PROFILE_MODELS, N as searchWeb, Nn as CHEAPEST_PROFILE_NATIVE_AGENT_NAMES, On as oneMContextDisabled, P as ADVISOR_INTERNAL_TOOL_NAME, Q as relayAnthropicStream, Qt as MAX_RESPONSE_BODY_BYTES, R as injectAdvisorTool, Rn as CHEAP_PROFILE_MODELS, Rt as shimDefaultsToXhigh, Tn as upstreamMaxConnections, U as formatThinkingRepairDecline, Ut as getTokenizerFromModel, V as resolveAdvisorModel, Vt as getTextTokenCount, W as rememberThinkingHistoryRepair, Wt as findLaunchBySecret, X as logStreamError, Xt as createResponses, Y as isControllerClosedError, Yt as resolveMcpToolTimeoutMs, Z as readIteratorWithTimeout, Zt as createChatCompletions, at as agentToolsEnabled, bn as generateRandomPort, dn as toolbeltPathOverride, en as parseJsonOrDiagnose, et as UNKNOWN_EFFORT_ANCHOR, i as assertMcpToolSurfaceConsistent, it as handleMcpPost, jn as CHEAPEST_PROFILE_ADVISOR_CLIENT_MODEL, kn as withOneMSuffix, nt as clampEffort, pn as BUDGET_SMALL_FAST_SLUG, q as buildAnthropicErrorEvent, qt as assembleResponsesPayload, rt as handleMcpDelete, tn as normalizeOpenAIUsage, tt as bucketEffort, vn as UPSTREAM_FETCH_TIMEOUT_MS, wn as upstreamAllowH2, xn as isBudgetClaudeLead, yn as UPSTREAM_INACTIVITY_TIMEOUT_MS, z as isAdvisorRequested, zn as CHEAP_PROFILE_NATIVE_AGENT_NAMES, zt as countTokens } from "./peer-mcp-personas-ChXkCxu9.js";
9
+ import { _ as FAST_PROFILE_MODELS, f as FAST_PROFILE_ADVISOR_MODEL, i as BALANCED_PROFILE_NATIVE_AGENT_NAMES, l as BALANCED_PROFILE_SUBAGENT_CONTEXT_TOKENS, n as BALANCED_PROFILE_LEAD_EFFORT, r as BALANCED_PROFILE_MODELS, v as FAST_PROFILE_NATIVE_AGENT_NAMES } from "./balanced-profile-contract-C6AgFJNp.js";
10
+ import { $ as EFFORT_ORDER, $t as readResponseBodyCapped, An as withOneMSuffixForLead, B as resolveAdvisorEffort, Bt as createMessages, D as toolbeltEnabled, Dn as catalogAdvertises1M, En as classifyMessagesRoute, F as ADVISOR_TOOL_INSTRUCTIONS, G as repairKnownThinkingHistory, H as resolveCheapestAdvisorModel, Hn as CHEAP_PROFILE_SUBAGENT_CONTEXT_TOKENS, Ht as getTokenCount, I as FAST_ADVISOR_TOOL_INSTRUCTIONS, In as CHEAPEST_PROFILE_SUBAGENT_CONTEXT_TOKENS, J as buildOpenAIErrorEvent, Jt as warnOnTokenPriceDrift, K as repairRejectedThinkingHistory, L as buildAdvisorStream, Ln as CHEAP_PROFILE_ADVISOR_CLIENT_MODEL, Mn as CHEAPEST_PROFILE_MODELS, N as searchWeb, Nn as CHEAPEST_PROFILE_NATIVE_AGENT_NAMES, On as oneMContextDisabled, P as ADVISOR_INTERNAL_TOOL_NAME, Q as relayAnthropicStream, Qt as MAX_RESPONSE_BODY_BYTES, R as injectAdvisorTool, Rn as CHEAP_PROFILE_MODELS, Rt as shimDefaultsToXhigh, Tn as upstreamMaxConnections, U as formatThinkingRepairDecline, Ut as getTokenizerFromModel, V as resolveAdvisorModel, Vt as getTextTokenCount, W as rememberThinkingHistoryRepair, Wt as findLaunchBySecret, X as logStreamError, Xt as createResponses, Y as isControllerClosedError, Yt as resolveMcpToolTimeoutMs, Z as readIteratorWithTimeout, Zt as createChatCompletions, at as agentToolsEnabled, bn as generateRandomPort, dn as toolbeltPathOverride, en as parseJsonOrDiagnose, et as UNKNOWN_EFFORT_ANCHOR, i as assertMcpToolSurfaceConsistent, it as handleMcpPost, jn as CHEAPEST_PROFILE_ADVISOR_CLIENT_MODEL, kn as withOneMSuffix, nt as clampEffort, pn as BUDGET_SMALL_FAST_SLUG, q as buildAnthropicErrorEvent, qt as assembleResponsesPayload, rt as handleMcpDelete, tn as normalizeOpenAIUsage, tt as bucketEffort, vn as UPSTREAM_FETCH_TIMEOUT_MS, wn as upstreamAllowH2, xn as isBudgetClaudeLead, yn as UPSTREAM_INACTIVITY_TIMEOUT_MS, z as isAdvisorRequested, zn as CHEAP_PROFILE_NATIVE_AGENT_NAMES, zt as countTokens } from "./peer-mcp-personas-qQgzZDPP.js";
11
11
  import { A as normalizeTrailingOneMSuffix, a as MAX_PROFILE_NATIVE_AGENT_NAMES, d as maxAdvisorPinIsValid, h as maxOpusModel, i as MAX_PROFILE_MODELS, j as stripTrailingOneMSuffix, k as fastEndpointForModel, l as maxAdvisorEffortForModel, n as MAX_PROFILE_ALLOWED_LEAD_MODEL_IDS, t as MAX_PROFILE_ADVISOR_INSTRUCTIONS, u as maxAdvisorModelFromPin, y as validateMaxProfilePrerequisites } from "./max-profile-contract-LTJstj1e.js";
12
12
  import { a as extractAndRecordPricedAic, f as copilotUsageToWire, h as nanoAiuToCredits, i as extractAndRecordAic, l as recordAic, m as formatAic, p as extractCopilotUsage } from "./aic-ledger-D4fmThbS.js";
13
13
  import consola from "consola";
@@ -425,7 +425,9 @@ const CHEAP_PROFILE = Object.freeze({
425
425
  /**
426
426
  * The `-m cheapest` roster: the exact cheap surface and groups, but Luna-led
427
427
  * (`gpt-6-luna`/max at the 200K default window), a Sol/medium Advisor, a
428
- * Sol/high Oracle, and a Gemini/high reviewer. Oracle-only peer set, no
428
+ * Sol/high Oracle, and a Sol/high reviewer — and no `Plan` subagent: the lead
429
+ * plans directly and reviews the final plan with the Advisor (advisory)
430
+ * before presenting it. Oracle-only peer set, no
429
431
  * `astra`. Hard-denies match fast's: core workers, `orchestrate`, `decide`,
430
432
  * `fleet`, and `first-mate`.
431
433
  */
@@ -443,10 +445,11 @@ const CHEAPEST_PROFILE = Object.freeze({
443
445
  });
444
446
  /**
445
447
  * The `-m balanced` roster: the most-complex-tasks tier. A Sol/high lead at
446
- * the 200K default window, the same four-agent surface as cheap
447
- * (`Explore`/`Plan`/`General-Purpose`/`Reviewer`, every role at 200K), and
448
- * the Grok-4.6/medium Oracle-only peer set. Hard-denies match fast's: core
449
- * workers, `orchestrate`, `decide`, `fleet`, and `first-mate`.
448
+ * the 200K default window, a three-agent surface (`Explore`/
449
+ * `General-Purpose`/`reviewer`, every role at 200K — no `Plan`: the lead
450
+ * owns planning), and the Grok-4.6/medium Oracle-only peer set. Hard-denies
451
+ * match fast's: core workers, `orchestrate`, `decide`, `fleet`, and
452
+ * `first-mate`.
450
453
  */
451
454
  const BALANCED_PROFILE = Object.freeze({
452
455
  id: "balanced",
@@ -562,7 +565,6 @@ const CHEAP_REVIEWER_ALIAS_ID = "gh-router-cheap-reviewer-max";
562
565
  * `buildCheapestProfileAgentDefinitions`.
563
566
  */
564
567
  const CHEAPEST_EXPLORE_ALIAS_ID = "gh-router-cheapest-explore-high";
565
- const CHEAPEST_PLAN_ALIAS_ID = "gh-router-cheapest-plan-high";
566
568
  const CHEAPEST_GENERAL_PURPOSE_ALIAS_ID = "gh-router-cheapest-general-purpose-xhigh";
567
569
  const CHEAPEST_IMPLEMENTER_ALIAS_ID = "gh-router-cheapest-implementer-max";
568
570
  const CHEAPEST_REVIEWER_ALIAS_ID = "gh-router-cheapest-reviewer-high";
@@ -574,7 +576,6 @@ const CHEAPEST_REVIEWER_ALIAS_ID = "gh-router-cheapest-reviewer-high";
574
576
  * `buildBalancedProfileAgentDefinitions`.
575
577
  */
576
578
  const BALANCED_EXPLORE_ALIAS_ID = "gh-router-balanced-explore-high";
577
- const BALANCED_PLAN_ALIAS_ID = "gh-router-balanced-plan-high";
578
579
  const BALANCED_GENERAL_PURPOSE_ALIAS_ID = "gh-router-balanced-general-purpose-max";
579
580
  const BALANCED_REVIEWER_ALIAS_ID = "gh-router-balanced-reviewer-high";
580
581
  const LUNA_SONNET_ALIAS_ID = "gh-router-luna-sonnet-xhigh";
@@ -697,11 +698,6 @@ const MODEL_ALIAS_TABLE = /* @__PURE__ */ new Map([
697
698
  realModel: CHEAPEST_PROFILE_MODELS.explore,
698
699
  absentEffortDefault: "high"
699
700
  }],
700
- [CHEAPEST_PLAN_ALIAS_ID, {
701
- aliasId: CHEAPEST_PLAN_ALIAS_ID,
702
- realModel: CHEAPEST_PROFILE_MODELS.plan,
703
- absentEffortDefault: "high"
704
- }],
705
701
  [CHEAPEST_GENERAL_PURPOSE_ALIAS_ID, {
706
702
  aliasId: CHEAPEST_GENERAL_PURPOSE_ALIAS_ID,
707
703
  realModel: CHEAPEST_PROFILE_MODELS["General-Purpose"],
@@ -722,11 +718,6 @@ const MODEL_ALIAS_TABLE = /* @__PURE__ */ new Map([
722
718
  realModel: BALANCED_PROFILE_MODELS.explore,
723
719
  absentEffortDefault: "high"
724
720
  }],
725
- [BALANCED_PLAN_ALIAS_ID, {
726
- aliasId: BALANCED_PLAN_ALIAS_ID,
727
- realModel: BALANCED_PROFILE_MODELS.plan,
728
- absentEffortDefault: "high"
729
- }],
730
721
  [BALANCED_GENERAL_PURPOSE_ALIAS_ID, {
731
722
  aliasId: BALANCED_GENERAL_PURPOSE_ALIAS_ID,
732
723
  realModel: BALANCED_PROFILE_MODELS["General-Purpose"],
@@ -999,9 +990,10 @@ function formatCheapPrerequisiteFailure(missing) {
999
990
  const CHEAPEST_SUBAGENT_MIN_CONTEXT_TOKENS = CHEAPEST_PROFILE_SUBAGENT_CONTEXT_TOKENS;
1000
991
  /**
1001
992
  * Validate the live Copilot catalog for `-m cheapest`: Luna lead at the 200K
1002
- * default window, Luna Explore/GP roles, a Sol Plan and Oracle, a Gemini
1003
- * reviewer, and a Sol/medium Advisor — all at the 200K default with
1004
- * their fixed efforts and supported endpoints.
993
+ * default window, Luna Explore/GP roles, a Sol/high reviewer, a Sol/high
994
+ * Oracle, and a Sol/medium Advisor — all at the 200K default with
995
+ * their fixed efforts and supported endpoints. There is no `Plan` role: the
996
+ * lead plans directly.
1005
997
  */
1006
998
  function validateCheapestProfilePrerequisites(catalog) {
1007
999
  const missing = [];
@@ -1013,22 +1005,21 @@ function validateCheapestProfilePrerequisites(catalog) {
1013
1005
  if (!supportsEffort(luna, "high") || !supportsEffort(luna, "max") || !supportsEffort(luna, "xhigh")) missing.push(`${CHEAPEST_PROFILE_MODELS.lead}: does not advertise "high", "max", and "xhigh" reasoning effort`);
1014
1006
  if (!supportsEndpoint(luna, "responses")) missing.push(`${CHEAPEST_PROFILE_MODELS.lead}: does not advertise a supported Responses endpoint`);
1015
1007
  }
1016
- const sol = findModel(catalog, CHEAPEST_PROFILE_MODELS.plan);
1017
- if (!sol) missing.push(`${CHEAPEST_PROFILE_MODELS.plan}: absent from the live catalog`);
1008
+ const oracle = findModel(catalog, CHEAPEST_PROFILE_MODELS.oracle);
1009
+ if (!oracle) missing.push(`${CHEAPEST_PROFILE_MODELS.oracle}: absent from the live catalog`);
1018
1010
  else {
1019
- if (!hasToolCalls(sol)) missing.push(`${CHEAPEST_PROFILE_MODELS.plan}: does not advertise tool_calls`);
1020
- if (!hasContextAtLeast(sol, CHEAPEST_SUBAGENT_MIN_CONTEXT_TOKENS)) missing.push(`${CHEAPEST_PROFILE_MODELS.plan}: advertised context window is below the 200K subagent floor`);
1021
- if (!supportsEffort(sol, "high")) missing.push(`${CHEAPEST_PROFILE_MODELS.plan}: does not advertise a "high" reasoning effort`);
1022
- if (!supportsEndpoint(sol, "responses")) missing.push(`${CHEAPEST_PROFILE_MODELS.plan}: does not advertise a supported Responses endpoint`);
1023
- if (!hasUsablePromptMetadata(sol)) missing.push(`${CHEAPEST_PROFILE_MODELS.plan}: no usable max_prompt_tokens metadata (Oracle brief)`);
1024
- }
1025
- const gemini = findModel(catalog, CHEAPEST_PROFILE_MODELS.reviewer);
1026
- if (!gemini) missing.push(`${CHEAPEST_PROFILE_MODELS.reviewer}: absent from the live catalog`);
1011
+ if (!hasContextAtLeast(oracle, CHEAPEST_SUBAGENT_MIN_CONTEXT_TOKENS)) missing.push(`${CHEAPEST_PROFILE_MODELS.oracle}: advertised context window is below the 200K subagent floor`);
1012
+ if (!supportsEffort(oracle, "high")) missing.push(`${CHEAPEST_PROFILE_MODELS.oracle}: does not advertise a "high" reasoning effort`);
1013
+ if (!supportsEndpoint(oracle, "responses")) missing.push(`${CHEAPEST_PROFILE_MODELS.oracle}: does not advertise a supported Responses endpoint`);
1014
+ if (!hasUsablePromptMetadata(oracle)) missing.push(`${CHEAPEST_PROFILE_MODELS.oracle}: no usable max_prompt_tokens metadata (Oracle brief)`);
1015
+ }
1016
+ const reviewer = findModel(catalog, CHEAPEST_PROFILE_MODELS.reviewer);
1017
+ if (!reviewer) missing.push(`${CHEAPEST_PROFILE_MODELS.reviewer}: absent from the live catalog`);
1027
1018
  else {
1028
- if (!hasToolCalls(gemini)) missing.push(`${CHEAPEST_PROFILE_MODELS.reviewer}: does not advertise tool_calls`);
1029
- if (!hasContextAtLeast(gemini, CHEAPEST_SUBAGENT_MIN_CONTEXT_TOKENS)) missing.push(`${CHEAPEST_PROFILE_MODELS.reviewer}: advertised context window is below the 200K subagent floor`);
1030
- if (!supportsEffort(gemini, "high")) missing.push(`${CHEAPEST_PROFILE_MODELS.reviewer}: does not advertise a "high" reasoning effort`);
1031
- if (!supportsEndpoint(gemini, "chat")) missing.push(`${CHEAPEST_PROFILE_MODELS.reviewer}: does not advertise a supported chat-completions endpoint`);
1019
+ if (!hasToolCalls(reviewer)) missing.push(`${CHEAPEST_PROFILE_MODELS.reviewer}: does not advertise tool_calls`);
1020
+ if (!hasContextAtLeast(reviewer, CHEAPEST_SUBAGENT_MIN_CONTEXT_TOKENS)) missing.push(`${CHEAPEST_PROFILE_MODELS.reviewer}: advertised context window is below the 200K subagent floor`);
1021
+ if (!supportsEffort(reviewer, "high")) missing.push(`${CHEAPEST_PROFILE_MODELS.reviewer}: does not advertise a "high" reasoning effort`);
1022
+ if (!supportsEndpoint(reviewer, "responses")) missing.push(`${CHEAPEST_PROFILE_MODELS.reviewer}: does not advertise a supported Responses endpoint`);
1032
1023
  }
1033
1024
  return {
1034
1025
  ok: missing.length === 0,
@@ -1046,9 +1037,10 @@ function formatCheapestPrerequisiteFailure(missing) {
1046
1037
  const BALANCED_SUBAGENT_MIN_CONTEXT_TOKENS = BALANCED_PROFILE_SUBAGENT_CONTEXT_TOKENS;
1047
1038
  /**
1048
1039
  * Validate the live Copilot catalog for `-m balanced`: Sol lead at the 200K
1049
- * default window, Luna Explore/General-Purpose roles, Sol Plan, Gemini
1050
- * reviewer, and a Grok Oracle — all at the 200K default with their
1051
- * fixed efforts and supported endpoints.
1040
+ * default window, Luna Explore/General-Purpose roles, a Sol/high reviewer,
1041
+ * and a Grok Oracle — all at the 200K default with their
1042
+ * fixed efforts and supported endpoints. There is no `Plan` role: the lead
1043
+ * owns planning directly.
1052
1044
  */
1053
1045
  function validateBalancedProfilePrerequisites(catalog) {
1054
1046
  const missing = [];
@@ -1082,7 +1074,7 @@ function validateBalancedProfilePrerequisites(catalog) {
1082
1074
  if (!hasToolCalls(balancedReviewer)) missing.push(`${BALANCED_PROFILE_MODELS.reviewer}: does not advertise tool_calls`);
1083
1075
  if (!hasContextAtLeast(balancedReviewer, BALANCED_SUBAGENT_MIN_CONTEXT_TOKENS)) missing.push(`${BALANCED_PROFILE_MODELS.reviewer}: advertised context window is below the 200K subagent floor`);
1084
1076
  if (!supportsEffort(balancedReviewer, "high")) missing.push(`${BALANCED_PROFILE_MODELS.reviewer}: does not advertise a "high" reasoning effort`);
1085
- if (!supportsEndpoint(balancedReviewer, "chat")) missing.push(`${BALANCED_PROFILE_MODELS.reviewer}: does not advertise a supported chat-completions endpoint`);
1077
+ if (!supportsEndpoint(balancedReviewer, "responses")) missing.push(`${BALANCED_PROFILE_MODELS.reviewer}: does not advertise a supported Responses endpoint`);
1086
1078
  }
1087
1079
  const grok = findModel(catalog, BALANCED_PROFILE_MODELS.oracle);
1088
1080
  if (!grok) missing.push(`${BALANCED_PROFILE_MODELS.oracle}: absent from the live catalog`);
@@ -1468,26 +1460,17 @@ const CHEAP_PICKER_MODELS = Object.freeze([
1468
1460
  neverOneM: true
1469
1461
  }
1470
1462
  ]);
1471
- const CHEAPEST_PICKER_MODELS = Object.freeze([
1472
- {
1473
- id: "gpt-6-sol",
1474
- label: "GPT-6 Sol",
1475
- behavesAs: "claude-opus-5.5",
1476
- neverOneM: true
1477
- },
1478
- {
1479
- id: "gpt-6-luna",
1480
- label: "GPT-6 Luna",
1481
- behavesAs: "claude-opus-5.5",
1482
- neverOneM: false
1483
- },
1484
- {
1485
- id: "gemini-3.8-flash",
1486
- label: "Gemini 3.8 Flash",
1487
- behavesAs: "claude-sonnet-5",
1488
- neverOneM: true
1489
- }
1490
- ]);
1463
+ const CHEAPEST_PICKER_MODELS = Object.freeze([{
1464
+ id: "gpt-6-sol",
1465
+ label: "GPT-6 Sol",
1466
+ behavesAs: "claude-opus-5.5",
1467
+ neverOneM: true
1468
+ }, {
1469
+ id: "gpt-6-luna",
1470
+ label: "GPT-6 Luna",
1471
+ behavesAs: "claude-opus-5.5",
1472
+ neverOneM: false
1473
+ }]);
1491
1474
  const BALANCED_PICKER_MODELS = Object.freeze([
1492
1475
  {
1493
1476
  id: "gpt-6-sol",
@@ -1501,12 +1484,6 @@ const BALANCED_PICKER_MODELS = Object.freeze([
1501
1484
  behavesAs: "claude-opus-5.5",
1502
1485
  neverOneM: false
1503
1486
  },
1504
- {
1505
- id: "gemini-3.8-flash",
1506
- label: "Gemini 3.8 Flash",
1507
- behavesAs: "claude-sonnet-5",
1508
- neverOneM: true
1509
- },
1510
1487
  {
1511
1488
  id: "grok-4.6",
1512
1489
  label: "Grok 4.6",
@@ -2489,7 +2466,7 @@ function collectToolFieldKeys(body) {
2489
2466
  //#endregion
2490
2467
  //#region package.json
2491
2468
  var name = "github-router";
2492
- var version = "0.3.336";
2469
+ var version = "0.3.338";
2493
2470
  //#endregion
2494
2471
  //#region src/lib/approval.ts
2495
2472
  const awaitApproval = async () => {
@@ -5664,8 +5641,8 @@ function explicitEffortOf(value) {
5664
5641
  * balanced) shares fast's effort mapping (same model-to-effort rows, just
5665
5642
  * bare subagent slugs at the wiring layer), so this preprocess is shared.
5666
5643
  * Note the reviewer differs: fast reviews on Sonnet 5/xhigh while cheap
5667
- * reviews on Luna/max, cheapest reviews on Gemini/high, and balanced reviews
5668
- * on Gemini/high — all rows exist here, so each profile's reviewer resolves to
5644
+ * reviews on Luna/max, cheapest reviews on Sol/high, and balanced reviews
5645
+ * on Sol/high — all rows exist here, so each profile's reviewer resolves to
5669
5646
  * its fixed effort. The balanced LEAD is the other exception: bare Sol leads
5670
5647
  * at medium (`BALANCED_PROFILE_LEAD_EFFORT`), not the shared high.
5671
5648
  *
@@ -8139,6 +8116,6 @@ function getCodexEnvVars(serverUrl) {
8139
8116
  return vars;
8140
8117
  }
8141
8118
  //#endregion
8142
- export { profileDescriptor as A, updateClaude as B, CHEAP_REVIEWER_ALIAS_ID as C, formatCheapPrerequisiteFailure as D, formatCheap1mPrerequisiteFailure as E, validateCheapestProfilePrerequisites as F, validateFastProfilePrerequisites as I, validateMaxProfileLaunch as L, validateBalancedProfilePrerequisites as M, validateCheap1mProfilePrerequisites as N, formatCheapestPrerequisiteFailure as O, validateCheapProfilePrerequisites as P, runSelfUpdate as R, CHEAP_PLAN_ALIAS_ID as S, formatBalancedPrerequisiteFailure as T, CHEAPEST_GENERAL_PURPOSE_ALIAS_ID as _, sharedServerArgs as a, CHEAP_EXPLORE_ALIAS_ID as b, stopKeepAwake as c, enableFileLogging as d, BALANCED_EXPLORE_ALIAS_ID as f, CHEAPEST_EXPLORE_ALIAS_ID as g, BALANCED_REVIEWER_ALIAS_ID as h, setupAndServe as i, resolveLaunchProfile as j, formatFastPrerequisiteFailure as k, injectModelPickerSettingsFile as l, BALANCED_PLAN_ALIAS_ID as m, getCodexEnvVars as n, LAUNCH_SECRET_HEADER as o, BALANCED_GENERAL_PURPOSE_ALIAS_ID as p, parseSharedArgs as r, startKeepAwake as s, getClaudeCodeEnvVars as t, listModelsForEndpoint as u, CHEAPEST_PLAN_ALIAS_ID as v, LUNA_SCOUT_ALIAS_ID as w, CHEAP_GENERAL_PURPOSE_ALIAS_ID as x, CHEAPEST_REVIEWER_ALIAS_ID as y, checkClaudeVersion as z };
8119
+ export { validateBalancedProfilePrerequisites as A, formatBalancedPrerequisiteFailure as C, formatFastPrerequisiteFailure as D, formatCheapestPrerequisiteFailure as E, validateMaxProfileLaunch as F, runSelfUpdate as I, checkClaudeVersion as L, validateCheapProfilePrerequisites as M, validateCheapestProfilePrerequisites as N, profileDescriptor as O, validateFastProfilePrerequisites as P, updateClaude as R, LUNA_SCOUT_ALIAS_ID as S, formatCheapPrerequisiteFailure as T, CHEAPEST_REVIEWER_ALIAS_ID as _, sharedServerArgs as a, CHEAP_PLAN_ALIAS_ID as b, stopKeepAwake as c, enableFileLogging as d, BALANCED_EXPLORE_ALIAS_ID as f, CHEAPEST_GENERAL_PURPOSE_ALIAS_ID as g, CHEAPEST_EXPLORE_ALIAS_ID as h, setupAndServe as i, validateCheap1mProfilePrerequisites as j, resolveLaunchProfile as k, injectModelPickerSettingsFile as l, BALANCED_REVIEWER_ALIAS_ID as m, getCodexEnvVars as n, LAUNCH_SECRET_HEADER as o, BALANCED_GENERAL_PURPOSE_ALIAS_ID as p, parseSharedArgs as r, startKeepAwake as s, getClaudeCodeEnvVars as t, listModelsForEndpoint as u, CHEAP_EXPLORE_ALIAS_ID as v, formatCheap1mPrerequisiteFailure as w, CHEAP_REVIEWER_ALIAS_ID as x, CHEAP_GENERAL_PURPOSE_ALIAS_ID as y };
8143
8120
 
8144
- //# sourceMappingURL=server-setup-azGmaBuy.js.map
8121
+ //# sourceMappingURL=server-setup-M0PHRPjd.js.map