github-router 0.3.282 → 0.3.285

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 (36) hide show
  1. package/dist/{attribution-settings-srL3gBR9.js → attribution-settings-B8M2fvhz.js} +20 -8
  2. package/dist/{attribution-settings-srL3gBR9.js.map → attribution-settings-B8M2fvhz.js.map} +1 -1
  3. package/dist/browser-ext/manifest.json +1 -1
  4. package/dist/{claude-DJQjA5oQ.js → claude-e-JIQGhR.js} +12 -12
  5. package/dist/claude-e-JIQGhR.js.map +1 -0
  6. package/dist/{codex-BAXemWpJ.js → codex-DSnVZ9oK.js} +4 -4
  7. package/dist/{codex-BAXemWpJ.js.map → codex-DSnVZ9oK.js.map} +1 -1
  8. package/dist/engine-DMveEa9x.js +2 -0
  9. package/dist/{gate-discovery-BwtiYKvW.js → gate-discovery-BCFwLm0q.js} +2 -2
  10. package/dist/{gate-discovery-BwtiYKvW.js.map → gate-discovery-BCFwLm0q.js.map} +1 -1
  11. package/dist/{internal-first-mate-guard-CQdXWjNz.js → internal-first-mate-guard-B7p4NttK.js} +1 -1
  12. package/dist/{internal-first-mate-guard-DMgHg2s6.js → internal-first-mate-guard-DOgFVki5.js} +2 -2
  13. package/dist/{internal-first-mate-guard-DMgHg2s6.js.map → internal-first-mate-guard-DOgFVki5.js.map} +1 -1
  14. package/dist/{internal-stop-hook-514RJeHO.js → internal-stop-hook-Cf-7w3RH.js} +2 -2
  15. package/dist/{internal-stop-hook-514RJeHO.js.map → internal-stop-hook-Cf-7w3RH.js.map} +1 -1
  16. package/dist/{internal-worker-guard-VucpClSi.js → internal-worker-guard-CKgYFiFO.js} +2 -2
  17. package/dist/{internal-worker-guard-VucpClSi.js.map → internal-worker-guard-CKgYFiFO.js.map} +1 -1
  18. package/dist/main.js +7 -7
  19. package/dist/{peer-mcp-personas-l4P4s1fK.js → peer-mcp-personas-V6stFvpq.js} +689 -113
  20. package/dist/peer-mcp-personas-V6stFvpq.js.map +1 -0
  21. package/dist/{provision-DlT34zcf.js → provision-BpL6gZIt.js} +2 -2
  22. package/dist/{provision-DlT34zcf.js.map → provision-BpL6gZIt.js.map} +1 -1
  23. package/dist/{serve-orGUartp.js → serve-CXUf7RtJ.js} +11 -11
  24. package/dist/{serve-orGUartp.js.map → serve-CXUf7RtJ.js.map} +1 -1
  25. package/dist/{server-setup-BRBe8gW4.js → server-setup-Bppjt9xO.js} +21 -203
  26. package/dist/server-setup-Bppjt9xO.js.map +1 -0
  27. package/dist/{start-sutbbkwc.js → start-C1-jrHfU.js} +3 -3
  28. package/dist/{start-sutbbkwc.js.map → start-C1-jrHfU.js.map} +1 -1
  29. package/dist/token-CnlB0884.js.map +1 -1
  30. package/dist/{worker-dispatch-4O3IWtP0.js → worker-dispatch-zW8Zi69V.js} +8 -4
  31. package/dist/{worker-dispatch-4O3IWtP0.js.map → worker-dispatch-zW8Zi69V.js.map} +1 -1
  32. package/package.json +1 -1
  33. package/dist/claude-DJQjA5oQ.js.map +0 -1
  34. package/dist/engine-BvLgh1QI.js +0 -2
  35. package/dist/peer-mcp-personas-l4P4s1fK.js.map +0 -1
  36. package/dist/server-setup-BRBe8gW4.js.map +0 -1
@@ -1,9 +1,9 @@
1
- import { Mt as CONDENSED_OPERATING_SEQUENCE, Nt as DEFINITION_OF_GREATNESS, c as personasFor, i as buildAgentPrompt, n as MCP_GROUPS, qt as withOneMSuffix, t as GROUP_META } from "./peer-mcp-personas-l4P4s1fK.js";
1
+ import { Lt as CONDENSED_OPERATING_SEQUENCE, Rt as DEFINITION_OF_GREATNESS, c as personasFor, i as buildAgentPrompt, n as MCP_GROUPS, rn as withOneMSuffix, t as GROUP_META } from "./peer-mcp-personas-V6stFvpq.js";
2
2
  import { a as isUnderClaudeConfigMirror, d as writeRuntimeFileSecure, t as PATHS } from "./paths-wLC0InjX.js";
3
3
  import "./self-invocation-CKMjcA5F.js";
4
- import { a as STRIPPED_AUTH_ROUTING_ENV_KEYS, n as buildCodexProviderConfigFlags } from "./provision-DlT34zcf.js";
4
+ import { a as STRIPPED_AUTH_ROUTING_ENV_KEYS, n as buildCodexProviderConfigFlags } from "./provision-BpL6gZIt.js";
5
5
  import { n as buildWorkspaceHeaderHelperCommand } from "./mcp-workspace-header-ucs2SDST.js";
6
- import { a as dispatcherAgentName, c as dispatcherTools, n as activeDispatchModes, o as dispatcherDescription, s as dispatcherPrompt } from "./worker-dispatch-4O3IWtP0.js";
6
+ import { a as dispatcherAgentName, c as dispatcherTools, n as activeDispatchModes, o as dispatcherDescription, s as dispatcherPrompt } from "./worker-dispatch-zW8Zi69V.js";
7
7
  import consola from "consola";
8
8
  import path from "node:path";
9
9
  import { randomBytes } from "node:crypto";
@@ -1761,14 +1761,26 @@ function joinClauses(parts) {
1761
1761
  if (parts.length === 2) return `${parts[0]} and ${parts[1]}`;
1762
1762
  return `${parts.slice(0, -1).join(", ")}, and ${parts[parts.length - 1]}`;
1763
1763
  }
1764
- /** The "Reach for X when Y" list, omitting any agent this launch did not emit. */
1764
+ /** The "Reach for X when Y" list, omitting any agent this launch did not emit.
1765
+ *
1766
+ * On a budget lead the coding clauses swap order so the cheap tier leads and
1767
+ * the frontier tier is named as the complexity escalation. Choosing a lighter
1768
+ * lead is a decision to spend less while holding quality, and a roster that
1769
+ * names the expensive `implementer` first works against exactly that. This is
1770
+ * ORDERING AND WORDING ONLY: no agent's model changes, and `implementer` stays
1771
+ * named so work beyond the fast tier still has somewhere to go. */
1765
1772
  function buildNativeReachClauses(opts) {
1766
- const clauses = ["`implementer` for coding changes that need judgment or have ambiguous scope"];
1767
- if (opts.implementerFastAvailable !== false) clauses.push("`implementer-fast` for well-specified, mechanical coding changes");
1773
+ const clauses = [];
1774
+ const implementerFast = opts.implementerFastAvailable !== false;
1775
+ if (opts.budgetLead === true && implementerFast) clauses.push("`implementer-fast` first for coding changes, since it is the cheaper and faster tier and this session is running a lighter lead", "`implementer` when the change needs judgment, its scope is ambiguous, or its complexity is beyond what the fast tier can carry");
1776
+ else {
1777
+ clauses.push("`implementer` for coding changes that need judgment or have ambiguous scope");
1778
+ if (implementerFast) clauses.push("`implementer-fast` for well-specified, mechanical coding changes");
1779
+ }
1768
1780
  clauses.push("`reviewer` when something exists and you want it assessed (including reproducing and root-causing a failure)", "`brainstorm` when you do not yet know which approach to take");
1769
1781
  if (opts.scoutAvailable !== false) clauses.push("`scout` to find or understand something in the repo");
1770
1782
  clauses.push("`scribe` for docs and ADRs that trail the code");
1771
- if (opts.generalPurposeFastAvailable !== false) clauses.push("`general-purpose-fast` for work no specialist fits");
1783
+ if (opts.generalPurposeFastAvailable !== false) clauses.push(opts.budgetLead === true ? "`general-purpose-fast` for work no specialist fits, in preference to carrying it inline yourself" : "`general-purpose-fast` for work no specialist fits");
1772
1784
  return joinClauses(clauses);
1773
1785
  }
1774
1786
  /**
@@ -2347,4 +2359,4 @@ async function injectAttributionSuppressionIntoSettingsFile(settingsPath) {
2347
2359
  //#endregion
2348
2360
  export { injectPeerMcpIntoMirror as _, appendPeerAwarenessToMirroredClaudeMd as a, workersKeyOf as b, prependArtifactPanelDirectiveToMirroredClaudeMd as c, SEAMLESS_BUILTIN_TOOLS as d, configureServeDefaultPermissionMode as f, BUILTIN_SUBAGENT_DEFINITIONS as g, sanitizeServeSettingsEnv as h, OPERATING_DEFAULTS_DIGEST as i, prependOperatingDefaultsToMirroredClaudeMd as l, planModeAllowRules as m, INJECTED_SKILLS as n, appendToolbeltAwarenessToMirroredClaudeMd as o, injectAllowRules as p, writeInjectedSkill as r, buildOperatingDefaultsDirective as s, injectAttributionSuppressionIntoSettingsFile as t, prependStyleDirectiveToMirroredClaudeMd as u, resolveCodexCliBackend as v, writePeerMcpRuntimeFiles as x, resolveGroupKeysFromMirror as y };
2349
2361
 
2350
- //# sourceMappingURL=attribution-settings-srL3gBR9.js.map
2362
+ //# sourceMappingURL=attribution-settings-B8M2fvhz.js.map