github-router 0.3.352 → 0.3.353
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 +1 -38
- package/dist/{attribution-settings-ul6VU6iP.js → attribution-settings-7cbLvuiE.js} +2 -2
- package/dist/{attribution-settings-ul6VU6iP.js.map → attribution-settings-7cbLvuiE.js.map} +1 -1
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/{claude-xO1XW-Nn.js → claude-CugVz_lo.js} +3 -3
- package/dist/{claude-xO1XW-Nn.js.map → claude-CugVz_lo.js.map} +1 -1
- package/dist/{codex-DzUR40JA.js → codex-pfFa6vPh.js} +2 -2
- package/dist/{codex-DzUR40JA.js.map → codex-pfFa6vPh.js.map} +1 -1
- package/dist/main.js +5 -5
- package/dist/{pi-jVNeQXWf.js → pi-BNpaiwEF.js} +2 -2
- package/dist/{pi-jVNeQXWf.js.map → pi-BNpaiwEF.js.map} +1 -1
- package/dist/{serve-CmgmxigM.js → serve-BQ0spYrs.js} +3 -3
- package/dist/{serve-CmgmxigM.js.map → serve-BQ0spYrs.js.map} +1 -1
- package/dist/{server-setup-DinOFWiC.js → server-setup-COrhtCdv.js} +2 -2
- package/dist/{server-setup-DinOFWiC.js.map → server-setup-COrhtCdv.js.map} +1 -1
- package/dist/{start-Dgsaz0HM.js → start-Dd7O3bB9.js} +2 -2
- package/dist/{start-Dgsaz0HM.js.map → start-Dd7O3bB9.js.map} +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -101,43 +101,9 @@ Each persona is exposed both as a Claude Code subagent (callable via the `Task`
|
|
|
101
101
|
|
|
102
102
|
`gemini-critic` and `gemini-reviewer` both register only when `gemini-3.1-pro-preview` (or another `gemini-3.x-pro` model) is present in your Copilot model catalog — `gemini-critic` is the architecture-level critic, `gemini-reviewer` the line-level second-lab code reviewer on the same model at its highest reasoning tier. If absent, both personas are silently dropped from the MCP `tools/list` and the subagent set, and `peer-review-coordinator` skips them in routing decisions.
|
|
103
103
|
|
|
104
|
-
### Native subagents
|
|
105
|
-
|
|
106
|
-
The launcher also registers focused native subagents that run in their own contexts. `implementer`, `reviewer`, `brainstorm`, and `scribe` are always present. Each uses its preferred model when the live catalog provides one with tool calls, otherwise it inherits the lead model; `scout`, `implementer-fast`, `reviewer-fast`, and `general-purpose-fast` are present only when their cheap-tier model chains resolve, so the work they exist to make cheaper does not silently run at the lead's model rate.
|
|
107
|
-
|
|
108
|
-
| Subagent | Use for | Preferred model chain | Tools |
|
|
109
|
-
|---|---|---|---|
|
|
110
|
-
| `implementer` | Coding changes needing judgment or with ambiguous scope | gpt-5.6-sol → gpt-6-sol → gpt-5.5 | Full inherited toolset |
|
|
111
|
-
| `implementer-fast` | Well-specified, mechanical coding changes | gpt-5.6-terra → gemini-3.1-pro-preview | Full inherited toolset |
|
|
112
|
-
| `reviewer` | Assessing an existing diff, plan, document, or failure | gemini-3.1-pro-preview → gemini-3.8-flash → OpenAI frontier | Full inherited toolset |
|
|
113
|
-
| `reviewer-fast` | Lower-stakes assessment on a cheaper cross-lab model | gemini-3.8-flash | Full inherited toolset |
|
|
114
|
-
| `brainstorm` | Divergent approaches before selecting one | gemini-3.1-pro-preview → gemini-3.8-flash → OpenAI frontier | Read-only allowlist |
|
|
115
|
-
| `scout` | Low-cost repository exploration | gpt-6-luna → gemini-3.8-flash | Read-only allowlist |
|
|
116
|
-
| `scribe` | Documentation that trails the code | gpt-5.6-terra → OpenAI frontier | Full inherited toolset |
|
|
117
|
-
| `general-purpose-fast` | Work no specialist fits | gpt-6-luna | Full inherited toolset |
|
|
118
|
-
|
|
119
|
-
For codex-side write capability (a `codex-implementer` persona that can mutate files via Codex's tool-use sandbox), pass `--codex-cli`. Requires `codex` CLI 0.129+ on `PATH`; falls back to HTTP-only with a warning if codex is missing or older. Pass `--codex-mcp-only` to also pass `--strict-mcp-config` to Claude Code so only the proxy's MCP servers are loaded (hides any MCP servers in your existing `~/.claude/mcp.json`).
|
|
120
|
-
|
|
121
104
|
### Code search (`mcp__search__code`)
|
|
122
105
|
|
|
123
|
-
Alongside the peer reviewers, the same MCP surface exposes a `code` tool (under the `search` server — `mcp__search__code`) — fast structured code search over the workspace. Without a search flag it uses the local lexical engine. Pass `--search` for router-managed local ColBERT semantic search with transparent lexical fallback
|
|
124
|
-
|
|
125
|
-
### Azure DevOps and Kusto (`mcp__ado__*`, `mcp__kusto__*`)
|
|
126
|
-
|
|
127
|
-
Two further groups follow the same shape, and a git remote that resolves to an
|
|
128
|
-
Azure DevOps repository turns on all three of Bluebird, `ado` and `kusto` at
|
|
129
|
-
once (`--ado` / `--kusto` force them anywhere; `--no-…` refuses any one of
|
|
130
|
-
them). `ado` exposes whatever Microsoft's remote MCP server advertises under
|
|
131
|
-
the selected toolsets, **read-only by default** via `X-MCP-Readonly: true`;
|
|
132
|
-
`--ado-write` clears the header for an operator who explicitly wants mutations,
|
|
133
|
-
and prints a banner line when it does. `kusto` exposes five
|
|
134
|
-
read-only tools over an in-repo Azure Data Explorer client, the cluster named on
|
|
135
|
-
each call (`--kusto-cluster` only sets a default, and discovery never supplies
|
|
136
|
-
one), with read-only
|
|
137
|
-
enforced by the service (`x-ms-readonly` plus
|
|
138
|
-
`request_readonly_hardline`) rather than by inspecting the query text. Both mint
|
|
139
|
-
their own Azure CLI access token, which never reaches a child process. See
|
|
140
|
-
[Azure MCP groups](docs/azure-mcp.md).
|
|
106
|
+
Alongside the peer reviewers, the same MCP surface exposes a `code` tool (under the `search` server — `mcp__search__code`) — fast structured code search over the workspace. Without a search flag it uses the local lexical engine. Pass `--search` for router-managed local ColBERT semantic search with transparent lexical fallback; `exact`, `regex`, and `ast` always stay local. See [local semantic search](docs/semantic-search.md).
|
|
141
107
|
|
|
142
108
|
The local lexical engine ranks with **BM25F** (Robertson, Zaragoza, Taylor 2004) over matched lines, context, paths, and symbol definitions, then refines top hits with tree-sitter. Single-identifier queries auto-expand across camelCase / snake_case / kebab-case skeletons so `getUserName` also matches `get_user_name`. `workspace` is any absolute path the proxy process can read, and result paths are repository-relative rather than absolute.
|
|
143
109
|
|
|
@@ -292,9 +258,6 @@ Fallback chains fire only on the implicit-default path; explicit `-m`/`--model`
|
|
|
292
258
|
| `--show-token` | Print tokens to console | false |
|
|
293
259
|
| `--proxy-env` | Use HTTP_PROXY/HTTPS_PROXY env vars | false |
|
|
294
260
|
| `--search` | Enable router-managed local ColBERT semantic search with lexical fallback | false |
|
|
295
|
-
| `--bluebird` | Route semantic and lexical code search through Bluebird; keep exact/regex/AST local | false |
|
|
296
|
-
| `--ado` / `--no-ado` | Expose the Azure DevOps remote MCP group (`mcp__ado__*`), read-only by default. Auto-enabled when a git remote resolves to an Azure DevOps repository | auto |
|
|
297
|
-
| `--kusto` / `--no-kusto` | Expose the Kusto (Azure Data Explorer) MCP group (`mcp__kusto__*`), read-only. The cluster is named per call; `--kusto-cluster` sets the default and is needed only by calls that omit one. Auto-enabled when a git remote resolves to an Azure DevOps repository | auto |
|
|
298
261
|
|
|
299
262
|
Additional flags accepted only by the `claude` subcommand:
|
|
300
263
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as writeRuntimeFileSecure, t as PATHS } from "./paths-xTSEAWfN.js";
|
|
2
|
-
import { C as CHEAP_REVIEWER_ALIAS_ID, S as CHEAP_PLAN_ALIAS_ID, T as MAX_BROWSE_LOW_ALIAS_ID, _ as CHEAPEST_EXPLORE_ALIAS_ID, b as CHEAP_EXPLORE_ALIAS_ID, g as BROWSE_LOW_ALIAS_ID, h as BALANCED_REVIEWER_ALIAS_ID, m as BALANCED_GENERAL_PURPOSE_ALIAS_ID, p as BALANCED_EXPLORE_ALIAS_ID, v as CHEAPEST_GENERAL_PURPOSE_ALIAS_ID, w as LUNA_SCOUT_ALIAS_ID, x as CHEAP_GENERAL_PURPOSE_ALIAS_ID, y as CHEAPEST_REVIEWER_ALIAS_ID } from "./server-setup-
|
|
2
|
+
import { C as CHEAP_REVIEWER_ALIAS_ID, S as CHEAP_PLAN_ALIAS_ID, T as MAX_BROWSE_LOW_ALIAS_ID, _ as CHEAPEST_EXPLORE_ALIAS_ID, b as CHEAP_EXPLORE_ALIAS_ID, g as BROWSE_LOW_ALIAS_ID, h as BALANCED_REVIEWER_ALIAS_ID, m as BALANCED_GENERAL_PURPOSE_ALIAS_ID, p as BALANCED_EXPLORE_ALIAS_ID, v as CHEAPEST_GENERAL_PURPOSE_ALIAS_ID, w as LUNA_SCOUT_ALIAS_ID, x as CHEAP_GENERAL_PURPOSE_ALIAS_ID, y as CHEAPEST_REVIEWER_ALIAS_ID } from "./server-setup-COrhtCdv.js";
|
|
3
3
|
import { _ as FAST_PROFILE_MODELS, a as BALANCED_PROFILE_NATIVE_EFFORTS, b as FAST_PROFILE_NATIVE_MODELS, i as BALANCED_PROFILE_NATIVE_AGENT_NAMES, v as FAST_PROFILE_NATIVE_AGENT_NAMES, y as FAST_PROFILE_NATIVE_EFFORTS } from "./balanced-profile-contract-XiIj4O1U.js";
|
|
4
4
|
import { Bn as withOneMSuffix, Kn as CHEAPEST_PROFILE_NATIVE_AGENT_NAMES, a as buildAgentPrompt, er as CHEAP_PROFILE_NATIVE_AGENT_NAMES, gn as DEFINITION_OF_GREATNESS, hn as CONDENSED_OPERATING_SEQUENCE, l as maxPersonasFor, n as MCP_GROUPS, qn as CHEAPEST_PROFILE_NATIVE_EFFORTS, t as GROUP_META, tr as CHEAP_PROFILE_NATIVE_EFFORTS, u as personasFor, zn as oneMContextDisabled } from "./peer-mcp-personas-DDMKRFFG.js";
|
|
5
5
|
import { S as MAX_COORDINATOR_PROMPT, T as maxNativePrompt, a as MAX_PROFILE_NATIVE_AGENT_NAMES, i as MAX_PROFILE_MODELS, o as MAX_PROFILE_NATIVE_EFFORTS, s as MAX_PROFILE_NATIVE_MODELS, w as maxNativeDescription, x as MAX_COORDINATOR_DESCRIPTION } from "./max-profile-contract-DQDEDCsR.js";
|
|
@@ -3337,4 +3337,4 @@ async function injectAttributionSuppressionIntoSettingsFile(settingsPath) {
|
|
|
3337
3337
|
//#endregion
|
|
3338
3338
|
export { buildArtifactReviewSkill as a, injectAllowRules as c, BUILTIN_SUBAGENT_DEFINITIONS as d, injectPeerMcpIntoMirror as f, writePeerMcpRuntimeFiles as g, workersKeyOf as h, writeInjectedSkill as i, planModeAllowRules as l, resolveGroupKeysFromMirror as m, getInjectedSkills as n, SEAMLESS_BUILTIN_TOOLS as o, resolveCodexCliBackend as p, injectedSkillsForLaunch as r, configureServeDefaultPermissionMode as s, injectAttributionSuppressionIntoSettingsFile as t, sanitizeServeSettingsEnv as u };
|
|
3339
3339
|
|
|
3340
|
-
//# sourceMappingURL=attribution-settings-
|
|
3340
|
+
//# sourceMappingURL=attribution-settings-7cbLvuiE.js.map
|