github-router 0.3.303 → 0.3.305

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 (41) hide show
  1. package/README.md +4 -4
  2. package/dist/{attribution-settings-dta8MTnd.js → attribution-settings-Chqw6VeK.js} +7 -7
  3. package/dist/{attribution-settings-dta8MTnd.js.map → attribution-settings-Chqw6VeK.js.map} +1 -1
  4. package/dist/browser-ext/manifest.json +1 -1
  5. package/dist/{claude-kr-Augld.js → claude-C3LWG_3H.js} +21 -12
  6. package/dist/claude-C3LWG_3H.js.map +1 -0
  7. package/dist/{codex-B1qnVlzG.js → codex-DdhBGec4.js} +4 -4
  8. package/dist/{codex-B1qnVlzG.js.map → codex-DdhBGec4.js.map} +1 -1
  9. package/dist/engine-C7DkYq2g.js +2 -0
  10. package/dist/{fast-profile-contract-B6xn-Rzo.js → fast-profile-contract-OuZQaGif.js} +4 -4
  11. package/dist/{fast-profile-contract-B6xn-Rzo.js.map → fast-profile-contract-OuZQaGif.js.map} +1 -1
  12. package/dist/{gate-discovery-DOIm3XHF.js → gate-discovery-C6jB3bBG.js} +2 -2
  13. package/dist/{gate-discovery-DOIm3XHF.js.map → gate-discovery-C6jB3bBG.js.map} +1 -1
  14. package/dist/hooks.mjs +7 -7
  15. package/dist/hooks.sha256 +1 -1
  16. package/dist/{internal-fast-dispatch-guard-BhpZ6LvO.js → internal-fast-dispatch-guard-BaUB-F8o.js} +2 -2
  17. package/dist/{internal-fast-dispatch-guard-BhpZ6LvO.js.map → internal-fast-dispatch-guard-BaUB-F8o.js.map} +1 -1
  18. package/dist/{internal-fast-dispatch-guard-C6BNoOnn.js → internal-fast-dispatch-guard-ByzwIsxA.js} +1 -1
  19. package/dist/{internal-max-dispatch-guard-DhAr8N_o.js → internal-max-dispatch-guard-CXRB-4a3.js} +5 -5
  20. package/dist/{internal-max-dispatch-guard-DhAr8N_o.js.map → internal-max-dispatch-guard-CXRB-4a3.js.map} +1 -1
  21. package/dist/{internal-max-dispatch-guard-k52H-PdC.js → internal-max-dispatch-guard-Sb6ACr_0.js} +1 -1
  22. package/dist/{internal-stop-hook-CWffknT2.js → internal-stop-hook-EPAu3tkg.js} +2 -2
  23. package/dist/{internal-stop-hook-CWffknT2.js.map → internal-stop-hook-EPAu3tkg.js.map} +1 -1
  24. package/dist/main.js +7 -7
  25. package/dist/{max-profile-contract-Ct62mtAR.js → max-profile-contract-CiD5wyET.js} +4 -4
  26. package/dist/{max-profile-contract-Ct62mtAR.js.map → max-profile-contract-CiD5wyET.js.map} +1 -1
  27. package/dist/{peer-mcp-personas-BU5dNLxQ.js → peer-mcp-personas-C9fDtu69.js} +37 -42
  28. package/dist/{peer-mcp-personas-BU5dNLxQ.js.map → peer-mcp-personas-C9fDtu69.js.map} +1 -1
  29. package/dist/{provision-qNJgF5XD.js → provision-Bn4FOzR4.js} +2 -2
  30. package/dist/{provision-qNJgF5XD.js.map → provision-Bn4FOzR4.js.map} +1 -1
  31. package/dist/{serve-T64kVeQN.js → serve-7q23O8hl.js} +22 -6
  32. package/dist/serve-7q23O8hl.js.map +1 -0
  33. package/dist/{server-setup-C_LAE8NI.js → server-setup-BP_JM0qb.js} +163 -197
  34. package/dist/server-setup-BP_JM0qb.js.map +1 -0
  35. package/dist/{start-DHRToEyb.js → start-wa7_DyyG.js} +3 -3
  36. package/dist/{start-DHRToEyb.js.map → start-wa7_DyyG.js.map} +1 -1
  37. package/package.json +1 -1
  38. package/dist/claude-kr-Augld.js.map +0 -1
  39. package/dist/engine-B3w1TDgR.js +0 -2
  40. package/dist/serve-T64kVeQN.js.map +0 -1
  41. package/dist/server-setup-C_LAE8NI.js.map +0 -1
package/README.md CHANGED
@@ -104,10 +104,10 @@ The launcher also registers focused native subagents that run in their own conte
104
104
  |---|---|---|---|
105
105
  | `implementer` | Coding changes needing judgment or with ambiguous scope | gpt-5.6-sol → gpt-5.5 | Full inherited toolset |
106
106
  | `implementer-fast` | Well-specified, mechanical coding changes | gpt-5.6-terra → gemini-3.1-pro-preview | Full inherited toolset |
107
- | `reviewer` | Assessing an existing diff, plan, document, or failure | gemini-3.1-pro-preview → gemini-3.7-flash → OpenAI frontier | Full inherited toolset |
108
- | `reviewer-fast` | Lower-stakes assessment on a cheaper cross-lab model | gemini-3.7-flash | Full inherited toolset |
109
- | `brainstorm` | Divergent approaches before selecting one | gemini-3.1-pro-preview → gemini-3.7-flash → OpenAI frontier | Read-only allowlist |
110
- | `scout` | Low-cost repository exploration | gpt-5.6-luna → gemini-3.7-flash | Read-only allowlist |
107
+ | `reviewer` | Assessing an existing diff, plan, document, or failure | gemini-3.1-pro-preview → gemini-3.8-flash → OpenAI frontier | Full inherited toolset |
108
+ | `reviewer-fast` | Lower-stakes assessment on a cheaper cross-lab model | gemini-3.8-flash | Full inherited toolset |
109
+ | `brainstorm` | Divergent approaches before selecting one | gemini-3.1-pro-preview → gemini-3.8-flash → OpenAI frontier | Read-only allowlist |
110
+ | `scout` | Low-cost repository exploration | gpt-5.6-luna → gemini-3.8-flash | Read-only allowlist |
111
111
  | `scribe` | Documentation that trails the code | gpt-5.6-terra → OpenAI frontier | Full inherited toolset |
112
112
  | `general-purpose-fast` | Work no specialist fits | gpt-5.6-luna | Full inherited toolset |
113
113
 
@@ -1,9 +1,9 @@
1
- import { Cn as withOneMSuffix, On as LUNA_SCOUT_ALIAS_ID, Sn as oneMContextDisabled, a as buildAgentPrompt, l as maxPersonasFor, n as MCP_GROUPS, nn as DEFINITION_OF_GREATNESS, t as GROUP_META, tn as CONDENSED_OPERATING_SEQUENCE, u as personasFor } from "./peer-mcp-personas-BU5dNLxQ.js";
1
+ import { Cn as withOneMSuffix, On as LUNA_SCOUT_ALIAS_ID, Sn as oneMContextDisabled, a as buildAgentPrompt, l as maxPersonasFor, n as MCP_GROUPS, nn as DEFINITION_OF_GREATNESS, t as GROUP_META, tn as CONDENSED_OPERATING_SEQUENCE, u as personasFor } from "./peer-mcp-personas-C9fDtu69.js";
2
2
  import { a as isUnderClaudeConfigMirror, d as writeRuntimeFileSecure, t as PATHS } from "./paths-IcZW8gZx.js";
3
- import { a as FAST_PROFILE_MODELS, c as FAST_PROFILE_NATIVE_MODELS, o as FAST_PROFILE_NATIVE_AGENT_NAMES, s as FAST_PROFILE_NATIVE_EFFORTS } from "./fast-profile-contract-B6xn-Rzo.js";
4
- import { a as MAX_PROFILE_NATIVE_AGENT_NAMES, i as MAX_PROFILE_MODELS, o as MAX_PROFILE_NATIVE_EFFORTS, s as MAX_PROFILE_NATIVE_MODELS } from "./max-profile-contract-Ct62mtAR.js";
3
+ import { a as FAST_PROFILE_MODELS, c as FAST_PROFILE_NATIVE_MODELS, o as FAST_PROFILE_NATIVE_AGENT_NAMES, s as FAST_PROFILE_NATIVE_EFFORTS } from "./fast-profile-contract-OuZQaGif.js";
4
+ import { a as MAX_PROFILE_NATIVE_AGENT_NAMES, i as MAX_PROFILE_MODELS, o as MAX_PROFILE_NATIVE_EFFORTS, s as MAX_PROFILE_NATIVE_MODELS } from "./max-profile-contract-CiD5wyET.js";
5
5
  import "./self-invocation-BJWbA8ka.js";
6
- import { a as STRIPPED_AUTH_ROUTING_ENV_KEYS, n as buildCodexProviderConfigFlags } from "./provision-qNJgF5XD.js";
6
+ import { a as STRIPPED_AUTH_ROUTING_ENV_KEYS, n as buildCodexProviderConfigFlags } from "./provision-Bn4FOzR4.js";
7
7
  import { n as buildWorkspaceHeaderHelperCommand } from "./mcp-workspace-header-NzFD0Wgd.js";
8
8
  import { a as dispatcherAgentName, c as dispatcherTools, n as activeDispatchModes, o as dispatcherDescription, s as dispatcherPrompt } from "./worker-dispatch-DgP5yT26.js";
9
9
  import consola from "consola";
@@ -290,7 +290,7 @@ function buildMaxProfileAgentDefinitions(opts) {
290
290
  const oneM = (model) => model === MAX_PROFILE_MODELS.grok ? model : decorateGuaranteedOneM(model);
291
291
  const effort = (name) => MAX_PROFILE_NATIVE_EFFORTS[name];
292
292
  const base = (name, model, roleEffort) => ({
293
- description: `Max-profile ${name} subagent running ${model}. This model is the deliberate default for the role; use it first and override only after a concrete failure or task-model mismatch. Max dispatch strips Claude Code's required built-in model placeholder so the roster model remains authoritative; clients that can send catalog ids may override only to Luna, Gemini 3.7 Flash, or Grok 4.6.`,
293
+ description: `Max-profile ${name} subagent running ${model}. This model is the deliberate default for the role; use it first and override only after a concrete failure or task-model mismatch. Max dispatch strips Claude Code's required built-in model placeholder so the roster model remains authoritative; clients that can send catalog ids may override only to Luna, Gemini 3.8 Flash, or Grok 4.6.`,
294
294
  prompt: `You are the max-profile ${name} subagent. Work from the supplied brief, verify against the actual repository, and return concrete evidence with file:line references. You do not have Advisor. Do not spawn further agents.`,
295
295
  model: oneM(model),
296
296
  effort: roleEffort
@@ -2166,7 +2166,7 @@ function buildNativeReachClauses(opts) {
2166
2166
  function buildOperatingDefaultsDirective(opts = {}) {
2167
2167
  if (opts.profile === "max") {
2168
2168
  const peersKey = opts.peersKey ?? opts.groupKeys?.peers ?? "peers";
2169
- return "## Operating defaults (apply when the user has not specified otherwise; the user's explicit direction and the domain's own standards always override)\n\nMax launch profile. The lead owns the outcome and may use the roster as a set of complementary capabilities, not a required sequence: direct tools suit narrow facts; `Explore` broad discovery; `brainstorm` open design choices; `Plan` changes where sequencing, interfaces, or acceptance criteria benefit from a separate view; `implementer` bounded coding; `general-purpose` mixed work; and `reviewer` (Grok 4.6/high with Luna 1M/max fallback) repository-aware verification. Independent work can run in parallel when that improves context isolation or latency. A fresh-context peer from another model family can be useful where correlated blind spots matter and deterministic evidence does not settle the issue; `peer-review-coordinator` is available when the risk justifies several lenses. Small or obvious tasks are often better handled directly, and model output remains evidence to synthesize rather than a vote. Each role's configured model is the deliberate default for role fit and diversity; overrides are most useful after a concrete mismatch. On every retained max surface, Gemini 3.1 Pro is replaced by Grok 4.6/high when available, otherwise Gemini 3.7 Flash 1M/high. Advisor is optional, non-binding counsel for one focused consequential uncertainty that the normal evidence and roles cannot settle; it has no approval or workflow authority, and a further consultation is useful only when materially new evidence changes the question." + (opts.artifactAvailable ? ` Live human review is available in the artifact panel via \`mcp__${peersKey}__artifact_*\`.` : "");
2169
+ return "## Operating defaults (apply when the user has not specified otherwise; the user's explicit direction and the domain's own standards always override)\n\nMax launch profile. The lead owns the outcome and may use the roster as a set of complementary capabilities, not a required sequence: direct tools suit narrow facts; `Explore` broad discovery; `brainstorm` open design choices; `Plan` changes where sequencing, interfaces, or acceptance criteria benefit from a separate view; `implementer` bounded coding; `general-purpose` mixed work; and `reviewer` (Grok 4.6/high with Luna 1M/max fallback) repository-aware verification. Independent work can run in parallel when that improves context isolation or latency. A fresh-context peer from another model family can be useful where correlated blind spots matter and deterministic evidence does not settle the issue; `peer-review-coordinator` is available when the risk justifies several lenses. Small or obvious tasks are often better handled directly, and model output remains evidence to synthesize rather than a vote. Each role's configured model is the deliberate default for role fit and diversity; overrides are most useful after a concrete mismatch. On every retained max surface, Gemini 3.1 Pro is replaced by Grok 4.6/high when available, otherwise Gemini 3.8 Flash 1M/high. Advisor is optional, non-binding counsel for one focused consequential uncertainty that the normal evidence and roles cannot settle; it has no approval or workflow authority, and a further consultation is useful only when materially new evidence changes the question." + (opts.artifactAvailable ? ` Live human review is available in the artifact panel via \`mcp__${peersKey}__artifact_*\`.` : "");
2170
2170
  }
2171
2171
  if (opts.profile === "fast") {
2172
2172
  if (opts.fastRuntimeAvailable === false) return "## Operating defaults (apply when the user has not specified otherwise; the user's explicit direction and the domain's own standards always override)\n\nFast profile runtime wiring is unavailable. Work directly, use only tools actually listed in this session, verify with the repository's relevant build/tests before declaring done, report uncertainty, and do not invent unavailable capabilities.";
@@ -2743,4 +2743,4 @@ async function injectAttributionSuppressionIntoSettingsFile(settingsPath) {
2743
2743
  //#endregion
2744
2744
  export { writePeerMcpRuntimeFiles as C, workersKeyOf as S, sanitizeServeSettingsEnv as _, appendPeerAwarenessToMirroredClaudeMd as a, resolveCodexCliBackend as b, buildOperatingDefaultsDirective as c, prependStyleDirectiveToMirroredClaudeMd as d, buildArtifactReviewSkill as f, planModeAllowRules as g, injectAllowRules as h, writeInjectedSkill as i, prependArtifactPanelDirectiveToMirroredClaudeMd as l, configureServeDefaultPermissionMode as m, INJECTED_SKILLS as n, appendToolbeltAwarenessToMirroredClaudeMd as o, SEAMLESS_BUILTIN_TOOLS as p, injectedSkillsForLaunch as r, buildOperatingDefaultsDigest as s, injectAttributionSuppressionIntoSettingsFile as t, prependOperatingDefaultsToMirroredClaudeMd as u, BUILTIN_SUBAGENT_DEFINITIONS as v, resolveGroupKeysFromMirror as x, injectPeerMcpIntoMirror as y };
2745
2745
 
2746
- //# sourceMappingURL=attribution-settings-dta8MTnd.js.map
2746
+ //# sourceMappingURL=attribution-settings-Chqw6VeK.js.map