github-router 0.3.345 → 0.3.347
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 +6 -6
- package/dist/{attribution-settings-B7i9EI_k.js → attribution-settings-50S3mk4N.js} +10 -10
- package/dist/attribution-settings-50S3mk4N.js.map +1 -0
- package/dist/{balanced-profile-contract-C6AgFJNp.js → balanced-profile-contract-XiIj4O1U.js} +7 -7
- package/dist/balanced-profile-contract-XiIj4O1U.js.map +1 -0
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/{claude-CqAnTpZv.js → claude-D0rojAcX.js} +16 -16
- package/dist/claude-D0rojAcX.js.map +1 -0
- package/dist/{codex-DVTp1CuU.js → codex-kcdKpoOe.js} +5 -5
- package/dist/{codex-DVTp1CuU.js.map → codex-kcdKpoOe.js.map} +1 -1
- package/dist/copilot-discount-CilBhKQW.js.map +1 -1
- package/dist/engine-BWxxbsSu.js +2 -0
- package/dist/{gate-discovery-TC3k4dr1.js → gate-discovery-CzZ5Oc3H.js} +3 -3
- package/dist/{gate-discovery-TC3k4dr1.js.map → gate-discovery-CzZ5Oc3H.js.map} +1 -1
- package/dist/hooks.mjs +8 -7
- package/dist/hooks.sha256 +1 -1
- package/dist/{internal-fast-dispatch-guard-7UiD_vM5.js → internal-fast-dispatch-guard-DRsZJ-Rg.js} +2 -2
- package/dist/{internal-fast-dispatch-guard-7UiD_vM5.js.map → internal-fast-dispatch-guard-DRsZJ-Rg.js.map} +1 -1
- package/dist/{internal-fast-dispatch-guard-ByXUE5oO.js → internal-fast-dispatch-guard-DeZ6KilC.js} +1 -1
- package/dist/{internal-max-dispatch-guard-CioyE9wn.js → internal-max-dispatch-guard-DSjJwVH2.js} +3 -3
- package/dist/internal-max-dispatch-guard-DSjJwVH2.js.map +1 -0
- package/dist/{internal-max-dispatch-guard-BSRTtOit.js → internal-max-dispatch-guard-KmbYwh7h.js} +1 -1
- package/dist/{internal-prompt-submit-BMJ0A7vR.js → internal-prompt-submit-DGxv_Vgl.js} +2 -2
- package/dist/{internal-prompt-submit-BMJ0A7vR.js.map → internal-prompt-submit-DGxv_Vgl.js.map} +1 -1
- package/dist/{internal-stop-hook-BjdKy6On.js → internal-stop-hook-BdVV3NyD.js} +4 -4
- package/dist/{internal-stop-hook-BjdKy6On.js.map → internal-stop-hook-BdVV3NyD.js.map} +1 -1
- package/dist/main.js +9 -9
- package/dist/{max-profile-contract-LTJstj1e.js → max-profile-contract--dAYkEG1.js} +5 -4
- package/dist/max-profile-contract--dAYkEG1.js.map +1 -0
- package/dist/{orchestration-BMISq91N.js → orchestration-Ccmfslh4.js} +2 -2
- package/dist/{orchestration-BMISq91N.js.map → orchestration-Ccmfslh4.js.map} +1 -1
- package/dist/{peer-mcp-personas-CIV3aDP6.js → peer-mcp-personas-DlmmbpD6.js} +62 -60
- package/dist/peer-mcp-personas-DlmmbpD6.js.map +1 -0
- package/dist/{pi-DJM02Mm2.js → pi-07uTIAcP.js} +128 -10
- package/dist/pi-07uTIAcP.js.map +1 -0
- package/dist/{provision-J68elA3c.js → provision-D_rmmqTq.js} +3 -3
- package/dist/{provision-J68elA3c.js.map → provision-D_rmmqTq.js.map} +1 -1
- package/dist/{serve-CCjPimSJ.js → serve-DbrYa6zo.js} +6 -6
- package/dist/{serve-CCjPimSJ.js.map → serve-DbrYa6zo.js.map} +1 -1
- package/dist/{server-setup-BO-kzlt0.js → server-setup-CKhj8I0W.js} +16 -16
- package/dist/server-setup-CKhj8I0W.js.map +1 -0
- package/dist/{start-B_ikqtvL.js → start-BXVrchgI.js} +4 -4
- package/dist/{start-B_ikqtvL.js.map → start-BXVrchgI.js.map} +1 -1
- package/dist/{stop-gate-hook-DBcxPgkF.js → stop-gate-hook-DZVfKoSh.js} +2 -2
- package/dist/{stop-gate-hook-DBcxPgkF.js.map → stop-gate-hook-DZVfKoSh.js.map} +1 -1
- package/package.json +1 -1
- package/dist/attribution-settings-B7i9EI_k.js.map +0 -1
- package/dist/balanced-profile-contract-C6AgFJNp.js.map +0 -1
- package/dist/claude-CqAnTpZv.js.map +0 -1
- package/dist/engine-PexAztE4.js +0 -2
- package/dist/internal-max-dispatch-guard-CioyE9wn.js.map +0 -1
- package/dist/max-profile-contract-LTJstj1e.js.map +0 -1
- package/dist/peer-mcp-personas-CIV3aDP6.js.map +0 -1
- package/dist/pi-DJM02Mm2.js.map +0 -1
- package/dist/server-setup-BO-kzlt0.js.map +0 -1
|
@@ -6,16 +6,16 @@ import { t as state } from "./state-CVp30CBF.js";
|
|
|
6
6
|
import { C as githubAgentGraphQLHeaders, S as copilotVersion, b as copilotBaseUrl, d as resolveModel, f as sleep$2, g as HTTPError, h as isAllowedCopilotHost, i as tryRefreshAndRetry, v as GITHUB_API_BASE_URL, w as githubAgentHeaders, x as copilotHeaders, y as GITHUB_GRAPHQL_URL } from "./token-s5Wd-Kwr.js";
|
|
7
7
|
import { a as withTransientRetry, i as sanitizeTransportText, n as classifyTransportError, r as fetchWithTransientRetry } from "./upstream-retry-i1k1Xai2.js";
|
|
8
8
|
import { a as parseIntEnv, i as parseBoolEnv, l as runManagedExeCapture, o as resolveExecutable } from "./exec-MCU1H-KZ.js";
|
|
9
|
-
import { S as FAST_PROFILE_ORACLE_MODEL, _ as FAST_PROFILE_MODELS, a as BALANCED_PROFILE_NATIVE_EFFORTS, b as FAST_PROFILE_NATIVE_MODELS, c as BALANCED_PROFILE_ORACLE_MODEL, d as FAST_PROFILE_ADVISOR_EFFORT, f as FAST_PROFILE_ADVISOR_MODEL, m as FAST_PROFILE_ASTRA_MODEL, r as BALANCED_PROFILE_MODELS, x as FAST_PROFILE_ORACLE_EFFORT, y as FAST_PROFILE_NATIVE_EFFORTS } from "./balanced-profile-contract-
|
|
10
|
-
import { A as normalizeTrailingOneMSuffix, D as maxPeerInstructions, E as maxPeerDescription, O as fastEndpointForCatalogId, b as MAX_ADVISOR_SYSTEM_PROMPT, f as maxCodexReviewerModel, g as maxProReplacementModel, h as maxOpusModel, i as MAX_PROFILE_MODELS, k as fastEndpointForModel, m as maxGrokModel, p as maxGeminiModel, r as MAX_PROFILE_LEAD_MODEL, v as maxSonnetModel } from "./max-profile-contract
|
|
9
|
+
import { S as FAST_PROFILE_ORACLE_MODEL, _ as FAST_PROFILE_MODELS, a as BALANCED_PROFILE_NATIVE_EFFORTS, b as FAST_PROFILE_NATIVE_MODELS, c as BALANCED_PROFILE_ORACLE_MODEL, d as FAST_PROFILE_ADVISOR_EFFORT, f as FAST_PROFILE_ADVISOR_MODEL, m as FAST_PROFILE_ASTRA_MODEL, r as BALANCED_PROFILE_MODELS, x as FAST_PROFILE_ORACLE_EFFORT, y as FAST_PROFILE_NATIVE_EFFORTS } from "./balanced-profile-contract-XiIj4O1U.js";
|
|
10
|
+
import { A as normalizeTrailingOneMSuffix, D as maxPeerInstructions, E as maxPeerDescription, O as fastEndpointForCatalogId, b as MAX_ADVISOR_SYSTEM_PROMPT, f as maxCodexReviewerModel, g as maxProReplacementModel, h as maxOpusModel, i as MAX_PROFILE_MODELS, k as fastEndpointForModel, m as maxGrokModel, p as maxGeminiModel, r as MAX_PROFILE_LEAD_MODEL, v as maxSonnetModel } from "./max-profile-contract--dAYkEG1.js";
|
|
11
11
|
import { i as registerExitHandlers$1, n as getInstanceUuid, r as recordWorkerRepo, t as WorktreeRegistry } from "./lifecycle-kpLzHUgD.js";
|
|
12
12
|
import { t as MCP_WORKSPACE_HEADER } from "./mcp-workspace-header-B77WqVFw.js";
|
|
13
13
|
import { n as ArtifactError, r as applyInsecureTls, t as ArtifactClient } from "./client-CQMfroGV.js";
|
|
14
14
|
import { a as extractAndRecordPricedAic, i as extractAndRecordAic, l as recordAic, p as extractCopilotUsage } from "./aic-ledger-D4oMcg7c.js";
|
|
15
15
|
import { a as BluebirdError, c as ensureBluebirdClient } from "./bluebird-client-DpYl1YmJ.js";
|
|
16
16
|
import { r as registerColbertExitHandlers } from "./lifecycle-BqWTXaeC.js";
|
|
17
|
-
import { h as runGateChecks, m as sealedGateIds, p as resolveSealedGate } from "./stop-gate-hook-
|
|
18
|
-
import { t as liveExec } from "./orchestration-
|
|
17
|
+
import { h as runGateChecks, m as sealedGateIds, p as resolveSealedGate } from "./stop-gate-hook-DZVfKoSh.js";
|
|
18
|
+
import { t as liveExec } from "./orchestration-Ccmfslh4.js";
|
|
19
19
|
import { createRequire } from "node:module";
|
|
20
20
|
import consola from "consola";
|
|
21
21
|
import { chmodSync, closeSync, constants, cpSync, existsSync, mkdirSync, openSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync, writeSync } from "node:fs";
|
|
@@ -63,10 +63,10 @@ import "diff";
|
|
|
63
63
|
const CHEAP_PROFILE_MODELS = Object.freeze({
|
|
64
64
|
lead: "gemini-3.8-flash",
|
|
65
65
|
explore: "gpt-6-luna",
|
|
66
|
-
plan: "gpt-6-sol",
|
|
66
|
+
plan: "gpt-5.6-sol",
|
|
67
67
|
"General-Purpose": "gemini-3.8-flash",
|
|
68
68
|
reviewer: "gpt-6-luna",
|
|
69
|
-
advisor: "gpt-6-sol",
|
|
69
|
+
advisor: "gpt-5.6-sol",
|
|
70
70
|
oracle: "grok-4.6",
|
|
71
71
|
astra: "gpt-6-astra"
|
|
72
72
|
});
|
|
@@ -127,7 +127,7 @@ Object.freeze({
|
|
|
127
127
|
*
|
|
128
128
|
* The cheapest all-200K tier: a `gpt-6-luna`/max LEAD at Claude Code's
|
|
129
129
|
* DEFAULT (bare-slug) 200K window, every subagent at the same 200K default,
|
|
130
|
-
* a `gpt-6-sol`/medium Advisor (bare slug), and a `gpt-6-sol`/high
|
|
130
|
+
* a `gpt-5.6-sol`/medium Advisor (bare slug), and a `gpt-5.6-sol`/high
|
|
131
131
|
* primary Oracle. Oracle-only peer set (no `astra`) and a three-agent
|
|
132
132
|
* surface (`Explore`/`General-Purpose`/`reviewer` — no `Plan`): the lead
|
|
133
133
|
* plans directly and reviews the final plan with the Advisor (advisory)
|
|
@@ -141,9 +141,9 @@ const CHEAPEST_PROFILE_MODELS = Object.freeze({
|
|
|
141
141
|
lead: "gpt-6-luna",
|
|
142
142
|
explore: "gpt-6-luna",
|
|
143
143
|
"General-Purpose": "gpt-6-luna",
|
|
144
|
-
reviewer: "gpt-6-sol",
|
|
145
|
-
advisor: "gpt-6-sol",
|
|
146
|
-
oracle: "gpt-6-sol"
|
|
144
|
+
reviewer: "gpt-5.6-sol",
|
|
145
|
+
advisor: "gpt-5.6-sol",
|
|
146
|
+
oracle: "gpt-5.6-sol"
|
|
147
147
|
});
|
|
148
148
|
const CHEAPEST_PROFILE_NATIVE_AGENT_NAMES = [
|
|
149
149
|
"Explore",
|
|
@@ -234,7 +234,7 @@ function oneMContextDisabled() {
|
|
|
234
234
|
* non-Claude gateway models exactly as it does for Opus — verified against the
|
|
235
235
|
* installed 2.1.222 build, where the window resolver returns `1e6` on a bracket
|
|
236
236
|
* match and otherwise falls through to a 200K default. Without the bracket a
|
|
237
|
-
* 1M-context model like `gpt-6-sol` (1,050,000) is budgeted at 200K and
|
|
237
|
+
* 1M-context model like `gpt-5.6-sol` (1,050,000) is budgeted at 200K and
|
|
238
238
|
* auto-compacts at roughly a fifth of its real window.
|
|
239
239
|
*
|
|
240
240
|
* The bracket never reaches Copilot: `resolveModel` (`./utils`) strips it before
|
|
@@ -679,16 +679,16 @@ function pickClaudeDefault(opusFamily = DEFAULT_OPUS_FAMILY) {
|
|
|
679
679
|
return bareSlug;
|
|
680
680
|
}
|
|
681
681
|
/**
|
|
682
|
-
* Default model for `github-router codex`. `gpt-6-sol` is the flagship
|
|
682
|
+
* Default model for `github-router codex`. `gpt-5.6-sol` is the flagship
|
|
683
683
|
* `/responses` model; the fallback chain (led by `gpt-6-sol` then `gpt-5.5`)
|
|
684
|
-
* handles older Copilot tiers or a rollout-lag window where sol hasn't
|
|
684
|
+
* handles older Copilot tiers or a rollout-lag window where 5.6-sol hasn't
|
|
685
685
|
* appeared yet.
|
|
686
686
|
* `resolveCodexModel` provides a final "best available `/responses` model"
|
|
687
687
|
* safety net beyond this list.
|
|
688
688
|
*/
|
|
689
|
-
const DEFAULT_CODEX_MODEL = "gpt-6-sol";
|
|
689
|
+
const DEFAULT_CODEX_MODEL = "gpt-5.6-sol";
|
|
690
690
|
const DEFAULT_CODEX_MODEL_FALLBACKS = [
|
|
691
|
-
"gpt-
|
|
691
|
+
"gpt-6-sol",
|
|
692
692
|
"gpt-5.5",
|
|
693
693
|
"gpt-5.4",
|
|
694
694
|
"gpt-5.3-codex",
|
|
@@ -5366,11 +5366,13 @@ const TIER_CHAINS = {
|
|
|
5366
5366
|
T1: [
|
|
5367
5367
|
"gpt-5.4-mini",
|
|
5368
5368
|
"gpt-5-mini",
|
|
5369
|
+
"gpt-5.6-sol",
|
|
5369
5370
|
"gpt-6-sol",
|
|
5370
5371
|
"gpt-5.5",
|
|
5371
5372
|
"gemini-3.1-pro-preview"
|
|
5372
5373
|
],
|
|
5373
5374
|
T2: [
|
|
5375
|
+
"gpt-5.6-sol",
|
|
5374
5376
|
"gpt-6-sol",
|
|
5375
5377
|
"gpt-5.5",
|
|
5376
5378
|
"claude-opus-4.8",
|
|
@@ -6273,7 +6275,7 @@ async function observeUnit(unit) {
|
|
|
6273
6275
|
* present — an explicitly-chosen model that Copilot can't serve THROWS rather
|
|
6274
6276
|
* than being silently swapped for a fallback (a silent class-switch could send
|
|
6275
6277
|
* the task to a weaker/wrong model the operator never asked for).
|
|
6276
|
-
* - `chosen` unset: default to {@link DEFAULT_CODEX_MODEL} (gpt-6-sol), walking
|
|
6278
|
+
* - `chosen` unset: default to {@link DEFAULT_CODEX_MODEL} (gpt-5.6-sol), walking
|
|
6277
6279
|
* {@link DEFAULT_CODEX_MODEL_FALLBACKS} only when a catalog says the preferred
|
|
6278
6280
|
* default is absent (older Copilot tiers).
|
|
6279
6281
|
*
|
|
@@ -9130,7 +9132,7 @@ function buildRoleAgent(role, maxProfileReviewModel) {
|
|
|
9130
9132
|
"Verification commands and outcomes",
|
|
9131
9133
|
"Risks and follow-ups"
|
|
9132
9134
|
],
|
|
9133
|
-
model: "gpt-6-sol"
|
|
9135
|
+
model: "gpt-5.6-sol"
|
|
9134
9136
|
},
|
|
9135
9137
|
reviewer: {
|
|
9136
9138
|
description: "Adversarial code reviewer for concrete diffs; reports real findings with severity and file:line.",
|
|
@@ -9210,7 +9212,7 @@ function buildRoleAgent(role, maxProfileReviewModel) {
|
|
|
9210
9212
|
"Commands run and outcomes",
|
|
9211
9213
|
"Failures that require implementation work"
|
|
9212
9214
|
],
|
|
9213
|
-
model: "gpt-6-sol"
|
|
9215
|
+
model: "gpt-5.6-sol"
|
|
9214
9216
|
},
|
|
9215
9217
|
ceo: {
|
|
9216
9218
|
description: "Operate the product strategy, growth, and launch loop; turn evidence into auditable bets and delegate execution.",
|
|
@@ -11216,7 +11218,7 @@ function createFirstMateTools(depsOverride = {}) {
|
|
|
11216
11218
|
acceptance_criteria: stringProp("User-blessed acceptance criteria for the mission."),
|
|
11217
11219
|
priority: numberProp("Optional numeric priority; higher values are handled by controller policy."),
|
|
11218
11220
|
house_rules: stringProp("Optional repository or operator constraints."),
|
|
11219
|
-
default_model: stringProp("Model the GitHub cloud coding agent uses for this mission's tasks; defaults to gpt-6-sol."),
|
|
11221
|
+
default_model: stringProp("Model the GitHub cloud coding agent uses for this mission's tasks; defaults to gpt-5.6-sol."),
|
|
11220
11222
|
plan_gate: enumProp(["hard", "soft"], "Plan-review gate. hard (default) requires the flow's review before build and re-plans on a rejecting review; soft auto-advances a passing plan review to build without human approval but escalates a rejecting review to a human."),
|
|
11221
11223
|
ci_required: boolProp("When true, refuse merge approval if the repository reports no CI for the PR head.")
|
|
11222
11224
|
}, [
|
|
@@ -22827,8 +22829,8 @@ async function countTokens(body, extraHeaders, callerSignal, retryTransient = fa
|
|
|
22827
22829
|
*/
|
|
22828
22830
|
/** Preference-ordered OpenAI frontier reasoning models (SELECTION list). */
|
|
22829
22831
|
const OPENAI_FRONTIER_MODELS = [
|
|
22830
|
-
"gpt-6-sol",
|
|
22831
22832
|
"gpt-5.6-sol",
|
|
22833
|
+
"gpt-6-sol",
|
|
22832
22834
|
"gpt-5.5"
|
|
22833
22835
|
];
|
|
22834
22836
|
/** Models whose shim reasoning effort becomes xhigh when the operator opts in
|
|
@@ -22878,7 +22880,7 @@ const REVIEW_FAST_DEFAULT_MODEL = "gemini-3.8-flash";
|
|
|
22878
22880
|
*
|
|
22879
22881
|
* Returns true iff Copilot's live catalog (`state.models?.data`) contains
|
|
22880
22882
|
* ALL THREE peer models the consensus protocol needs:
|
|
22881
|
-
* - an OpenAI frontier model (`gpt-6-sol`, else `gpt-6-sol`, else `gpt-5.5` — see
|
|
22883
|
+
* - an OpenAI frontier model (`gpt-5.6-sol`, else `gpt-6-sol`, else `gpt-5.5` — see
|
|
22882
22884
|
* `resolveOpenAiFrontier`)
|
|
22883
22885
|
* - `claude-opus-5.5` (stand_in's Anthropic slot)
|
|
22884
22886
|
* - standard/BYO: the preferred Gemini reviewer model
|
|
@@ -22967,7 +22969,7 @@ function firstPresentInCatalog(chain, opts) {
|
|
|
22967
22969
|
}
|
|
22968
22970
|
/**
|
|
22969
22971
|
* First available OpenAI frontier model in the live catalog (prefer
|
|
22970
|
-
* `gpt-6-sol`, fall back to `gpt-6-sol`, then `gpt-5.5`). Returns undefined when neither is
|
|
22972
|
+
* `gpt-5.6-sol`, fall back to `gpt-6-sol`, then `gpt-5.5`). Returns undefined when neither is
|
|
22971
22973
|
* present. With `requireToolCalls`, only returns a model whose catalog entry
|
|
22972
22974
|
* advertises `tool_calls`.
|
|
22973
22975
|
*/
|
|
@@ -22983,11 +22985,11 @@ function standInToolEnabled(opts = {}) {
|
|
|
22983
22985
|
return hasOpenAi && hasOpus && hasThirdLab;
|
|
22984
22986
|
}
|
|
22985
22987
|
/** Model for the native subagent that wants the OpenAI frontier coder
|
|
22986
|
-
* (`implementer`) iff it is live with tool calls. Prefers `gpt-6-sol`, falls
|
|
22987
|
-
* back to `gpt-5.5`. Absent → the agent omits its `model:` line and inherits
|
|
22988
|
+
* (`implementer`) iff it is live with tool calls. Prefers `gpt-5.6-sol`, falls
|
|
22989
|
+
* back to `gpt-6-sol` / `gpt-5.5`. Absent → the agent omits its `model:` line and inherits
|
|
22988
22990
|
* the lead's model.
|
|
22989
22991
|
*
|
|
22990
|
-
* Public web benchmarks put `gpt-6-sol` (and previously `gpt-6-sol`) ahead of both `gpt-5.6-terra` and
|
|
22992
|
+
* Public web benchmarks put `gpt-5.6-sol` (and previously `gpt-6-sol`) ahead of both `gpt-5.6-terra` and
|
|
22991
22993
|
* `gpt-5.3-codex` on coding (Terminal-Bench 2.1 88.8 vs 87.1; SWE-bench
|
|
22992
22994
|
* Verified 96.2 vs ~80 for 5.3-codex, which also trails gpt-5.5 on SWE-bench
|
|
22993
22995
|
* Pro). Terra is the cheaper tier at ~98% of the capability, so it is the right
|
|
@@ -23074,7 +23076,7 @@ function scoutModel() {
|
|
|
23074
23076
|
/** Model for `implementer-fast` — the cheaper implementation tier. Absent →
|
|
23075
23077
|
* the agent is dropped.
|
|
23076
23078
|
*
|
|
23077
|
-
* `gpt-6-sol` is deliberately NOT in this chain: changes needing frontier
|
|
23079
|
+
* `gpt-5.6-sol` is deliberately NOT in this chain: changes needing frontier
|
|
23078
23080
|
* judgment already belong to `implementer`, while this agent handles
|
|
23079
23081
|
* well-specified, mechanical changes at a lower tier. Both entries are 1M+;
|
|
23080
23082
|
* their different speed and effort properties stay out of shared claims. */
|
|
@@ -24051,7 +24053,7 @@ async function predictedWindowOverflow(persona, prompt, context, opts) {
|
|
|
24051
24053
|
const criticModel = resolveOpusCriticModel();
|
|
24052
24054
|
const criticIs1M = criticModel === "claude-opus-5.5" || criticModel === "claude-opus-5.5" || OPUS_1M_RE.test(criticModel);
|
|
24053
24055
|
const opusHint = id === "claude-opus-5.5" || id === "claude-opus-5.5" || OPUS_1M_RE.test(id) || !criticIs1M ? "" : " / `opus_critic` (Opus 5, 1M context ≈ 1M tokens)";
|
|
24054
|
-
return `pre-flight rejected: this ${persona.toolNameHttp} brief is ≈${tokens} tokens, over the ${budget}-token budget for ${persona.model} (its ${maxPromptTokens}-token prompt window minus a ${PEER_PROMPT_TOKEN_RESERVE}-token framing reserve). Do NOT summarize or truncate the artifact to fit. Route the full artifact to a larger-window peer — \`codex_critic\` (gpt-6-sol ≈ 1M tokens)${opusHint} — or split it into focused sub-calls BY CONCERN and call them in parallel, then aggregate.`;
|
|
24056
|
+
return `pre-flight rejected: this ${persona.toolNameHttp} brief is ≈${tokens} tokens, over the ${budget}-token budget for ${persona.model} (its ${maxPromptTokens}-token prompt window minus a ${PEER_PROMPT_TOKEN_RESERVE}-token framing reserve). Do NOT summarize or truncate the artifact to fit. Route the full artifact to a larger-window peer — \`codex_critic\` (gpt-5.6-sol ≈ 1M tokens)${opusHint} — or split it into focused sub-calls BY CONCERN and call them in parallel, then aggregate.`;
|
|
24055
24057
|
}
|
|
24056
24058
|
/**
|
|
24057
24059
|
* JSON-path pre-flight predictedTooLong gate. Returns a JSON-RPC result
|
|
@@ -25423,7 +25425,7 @@ function rememberThinkingHistoryRepair(fingerprint) {
|
|
|
25423
25425
|
* SSE connection (no new message_start; the original one is
|
|
25424
25426
|
* still open). Loop up to ADVISOR_MAX_TURNS times.
|
|
25425
25427
|
* 4. Lead-aware model choice: route the advisor call to a different model
|
|
25426
|
-
* family than the main loop (gpt-6-sol) so the user gets a true "second
|
|
25428
|
+
* family than the main loop (gpt-5.6-sol) so the user gets a true "second
|
|
25427
25429
|
* set of eyes" instead of Opus reviewing Opus (gemini-critic finding). When
|
|
25428
25430
|
* the LEAD is a lighter Claude tier the choice inverts and the advisor
|
|
25429
25431
|
* escalates to `ADVISOR_ESCALATION_MODEL` instead — see that constant for
|
|
@@ -25446,7 +25448,7 @@ const ADVISOR_INTERNAL_TOOL_NAME = "__anthropic_advisor";
|
|
|
25446
25448
|
* this exact name to render the advisor spinner. */
|
|
25447
25449
|
const ADVISOR_CLIENT_TOOL_NAME = "advisor";
|
|
25448
25450
|
/** Default advisor model + reasoning effort. Per gemini-critic + user
|
|
25449
|
-
* direction: hardcode to a cross-lab model (gpt-6-sol — Copilot's
|
|
25451
|
+
* direction: hardcode to a cross-lab model (gpt-5.6-sol — Copilot's
|
|
25450
25452
|
* /responses-only flagship). The cross-lab choice gives a true "second set
|
|
25451
25453
|
* of eyes" instead of the main model reviewing itself.
|
|
25452
25454
|
*
|
|
@@ -25456,7 +25458,7 @@ const ADVISOR_CLIENT_TOOL_NAME = "advisor";
|
|
|
25456
25458
|
* expresses no preference — a deliberate, user-approved cost/depth trade
|
|
25457
25459
|
* applied uniformly across every advisor target (Sol, the Opus escalation,
|
|
25458
25460
|
* and the fast-profile Gemini advisor below all read this same constant). */
|
|
25459
|
-
const ADVISOR_DEFAULT_MODEL = "gpt-6-sol";
|
|
25461
|
+
const ADVISOR_DEFAULT_MODEL = "gpt-5.6-sol";
|
|
25460
25462
|
const ADVISOR_DEFAULT_EFFORT = "xhigh";
|
|
25461
25463
|
const ADVISOR_MIN_EFFORT = "high";
|
|
25462
25464
|
/** The Anthropic frontier model the advisor escalates to when the LEAD is a
|
|
@@ -25487,7 +25489,7 @@ function fastProfileAdvisorAvailable() {
|
|
|
25487
25489
|
return fastEndpointForCatalogId(ADVISOR_FAST_PROFILE_MODEL, state.models?.data) === "responses";
|
|
25488
25490
|
}
|
|
25489
25491
|
/** The Advisor model for an authenticated cheapest primary lead:
|
|
25490
|
-
* `gpt-6-sol` at medium effort over its Responses endpoint, transcript
|
|
25492
|
+
* `gpt-5.6-sol` at medium effort over its Responses endpoint, transcript
|
|
25491
25493
|
* capped at `CHEAPEST_PROFILE_ADVISOR_CONTEXT_TOKENS` (200K). */
|
|
25492
25494
|
const ADVISOR_CHEAPEST_PROFILE_MODEL = CHEAPEST_PROFILE_ADVISOR_MODEL;
|
|
25493
25495
|
/** True only when the live Sol entry satisfies the fixed cheapest
|
|
@@ -25822,7 +25824,7 @@ const ADVISOR_FALLBACK_MAX_TOKENS = 24e4;
|
|
|
25822
25824
|
* budget is `max_prompt_tokens - reserve`. Generous on purpose: a 400
|
|
25823
25825
|
* `model_max_prompt_tokens_exceeded` degrades to a silent advisor
|
|
25824
25826
|
* fallback, and the window given up is marginal against either advisor
|
|
25825
|
-
* model's real prompt window (`claude-opus-5.5` 936k, `gpt-6-sol` ~1M off
|
|
25827
|
+
* model's real prompt window (`claude-opus-5.5` 936k, `gpt-5.6-sol` ~1M off
|
|
25826
25828
|
* the live catalog). Sized as a fraction of the smaller of the two, not as
|
|
25827
25829
|
* "irrelevant next to ~1M" — that framing assumed the advisor was always
|
|
25828
25830
|
* the cheap side of the pair, which stopped being true once a budget lead
|
|
@@ -25845,7 +25847,7 @@ function resolveAdvisorMaxTokens(advisorModel) {
|
|
|
25845
25847
|
/**
|
|
25846
25848
|
* Render an Anthropic-shape conversation (messages array with
|
|
25847
25849
|
* role/content blocks) as a single human-readable text blob. Used
|
|
25848
|
-
* as the input to the advisor model (gpt-6-sol via /v1/responses
|
|
25850
|
+
* as the input to the advisor model (gpt-5.6-sol via /v1/responses
|
|
25849
25851
|
* doesn't have a 1:1 mapping for Anthropic's tool_use/tool_result
|
|
25850
25852
|
* blocks; serializing to text preserves the semantics — the advisor
|
|
25851
25853
|
* just needs to READ the conversation, not produce more of it).
|
|
@@ -25959,7 +25961,7 @@ function truncateTailToUnits(text, maxUnits, measure) {
|
|
|
25959
25961
|
* Routes by model family:
|
|
25960
25962
|
* - gpt-5.x / codex / o-series (have `/responses` in supported_endpoints):
|
|
25961
25963
|
* use createResponses with `reasoning.effort` set. This is the
|
|
25962
|
-
* default path — gpt-6-sol at xhigh effort.
|
|
25964
|
+
* default path — gpt-5.6-sol at xhigh effort.
|
|
25963
25965
|
* - claude-* (no `/responses`): fall back to createMessages.
|
|
25964
25966
|
*
|
|
25965
25967
|
* The conversation is serialized to text via renderConversationAsText
|
|
@@ -26181,7 +26183,7 @@ async function defaultContinueTurn(body, signal, requestHeaders) {
|
|
|
26181
26183
|
* to ADVISOR_DEFAULT_MODEL (cross-lab).
|
|
26182
26184
|
*/
|
|
26183
26185
|
function buildAdvisorStream(opts) {
|
|
26184
|
-
const advisorModel = opts.advisorModel ?? "gpt-6-sol";
|
|
26186
|
+
const advisorModel = opts.advisorModel ?? "gpt-5.6-sol";
|
|
26185
26187
|
const advisorEffort = opts.advisorEffort ?? "xhigh";
|
|
26186
26188
|
const advisorEscalated = opts.advisorEscalated ?? false;
|
|
26187
26189
|
const advisorFastProfile = opts.advisorFastProfile ?? false;
|
|
@@ -28442,7 +28444,7 @@ function advisorTool(getMessages) {
|
|
|
28442
28444
|
return {
|
|
28443
28445
|
name: "advisor",
|
|
28444
28446
|
label: "Advisor",
|
|
28445
|
-
description: "Consult a stronger reviewer model (cross-lab: gpt-6-sol xhigh by default) on a specific concern. Use BEFORE substantive work, WHEN stuck, or WHEN considering a change of approach. The advisor automatically receives the recent conversation transcript as context — give it a focused `concern`, not background.",
|
|
28447
|
+
description: "Consult a stronger reviewer model (cross-lab: gpt-5.6-sol xhigh by default) on a specific concern. Use BEFORE substantive work, WHEN stuck, or WHEN considering a change of approach. The advisor automatically receives the recent conversation transcript as context — give it a focused `concern`, not background.",
|
|
28446
28448
|
parameters: ADVISOR_PARAMS,
|
|
28447
28449
|
async execute(_toolCallId, params, signal) {
|
|
28448
28450
|
if (networkDisabled()) throw new Error("rejected: network disabled");
|
|
@@ -29231,7 +29233,7 @@ function resolveDefaultModel() {
|
|
|
29231
29233
|
* former Gemini Flash default: lower token cost, faster generation and tool-call
|
|
29232
29234
|
* latency, a larger context window, and the full reasoning-effort ladder. `high`
|
|
29233
29235
|
* is therefore a real selected tier rather than a clamp. Like `implement`'s
|
|
29234
|
-
* gpt-6-sol this per-mode default is NOT a `workerToolsEnabled` gate input — if
|
|
29236
|
+
* gpt-5.6-sol this per-mode default is NOT a `workerToolsEnabled` gate input — if
|
|
29235
29237
|
* absent on a thin catalog, `explore` errors helpfully at call time rather than
|
|
29236
29238
|
* vanishing the whole worker surface. The caller can override model and thinking
|
|
29237
29239
|
* per call via the `model` / `thinking` args. */
|
|
@@ -29242,7 +29244,7 @@ const EXPLORE_DEFAULT_THINKING = "high";
|
|
|
29242
29244
|
/** Default model + thinking for the READ-ONLY `review` mode.
|
|
29243
29245
|
* `gemini-3.1-pro-preview` at `xhigh` (clamped to `high` at call time — gemini
|
|
29244
29246
|
* advertises no xhigh). DELIBERATELY DECORRELATED FROM THE IMPLEMENTER: bounded
|
|
29245
|
-
* implementation now defaults to gpt-6-sol (OpenAI) — both the `implement` worker
|
|
29247
|
+
* implementation now defaults to gpt-5.6-sol (OpenAI) — both the `implement` worker
|
|
29246
29248
|
* and the native `implementer` subagent — and the main orchestrator is Opus
|
|
29247
29249
|
* (Anthropic), so review runs on a THIRD lab (Google) to maximize blind-spot
|
|
29248
29250
|
* diversity. A reviewer sharing the implementer's lab catches a correlated slice
|
|
@@ -29253,18 +29255,18 @@ const EXPLORE_DEFAULT_THINKING = "high";
|
|
|
29253
29255
|
* `model` arg (e.g. `claude-opus-4.8` for an Anthropic-lab reviewer). */
|
|
29254
29256
|
const REVIEW_DEFAULT_MODEL = "gemini-3.1-pro-preview";
|
|
29255
29257
|
const REVIEW_DEFAULT_THINKING = "xhigh";
|
|
29256
|
-
/** Default model + thinking for the READ+WRITE `implement` mode. `gpt-6-sol`
|
|
29258
|
+
/** Default model + thinking for the READ+WRITE `implement` mode. `gpt-5.6-sol`
|
|
29257
29259
|
* at `high` — a time-to-outcome default for the 1M+ context model, routed
|
|
29258
29260
|
* through `/responses` by the stream-fn endpoint split. Any caller can restore
|
|
29259
29261
|
* a higher tier per call via `thinking` or per session via `worker_defaults`;
|
|
29260
29262
|
* precedence is per-call > session > built-in. */
|
|
29261
|
-
const IMPLEMENT_DEFAULT_MODEL = "gpt-6-sol";
|
|
29263
|
+
const IMPLEMENT_DEFAULT_MODEL = "gpt-5.6-sol";
|
|
29262
29264
|
const IMPLEMENT_DEFAULT_THINKING = "high";
|
|
29263
29265
|
/** `test` starts with the same time-to-outcome built-in pair as `implement`, but
|
|
29264
29266
|
* remains independent so either mode can restore a higher tier per call via
|
|
29265
29267
|
* `thinking` or per session via `worker_defaults`. Resolution precedence is
|
|
29266
29268
|
* per-call > session > built-in. */
|
|
29267
|
-
const TEST_DEFAULT_MODEL = "gpt-6-sol";
|
|
29269
|
+
const TEST_DEFAULT_MODEL = "gpt-5.6-sol";
|
|
29268
29270
|
const TEST_DEFAULT_THINKING = "high";
|
|
29269
29271
|
/** Default model for `browse` mode. `gpt-6-luna` has the same measured image
|
|
29270
29272
|
* ceiling as `gpt-5.4-mini`, so screenshot-heavy sessions retain their input
|
|
@@ -29294,7 +29296,7 @@ const BROWSE_DEFAULT_THINKING = "low";
|
|
|
29294
29296
|
* does NOT translate the Anthropic dashed slug; `claude-opus-5.5` dotted maps
|
|
29295
29297
|
* from dashed `claude-opus-5-5` via `resolveModel` normalization). Falls back to a helpful unknown-model
|
|
29296
29298
|
* error at call time if opus-5.5 isn't in the catalog (e.g. a non-enterprise tier),
|
|
29297
|
-
* exactly like `implement`'s `gpt-6-sol`. */
|
|
29299
|
+
* exactly like `implement`'s `gpt-5.6-sol`. */
|
|
29298
29300
|
const PLAN_DEFAULT_MODEL = "claude-opus-5.5";
|
|
29299
29301
|
const BUILT_IN_MODE_DEFAULTS = Object.freeze({
|
|
29300
29302
|
explore: {
|
|
@@ -29758,8 +29760,8 @@ function appendPlanReminder(messages, planState) {
|
|
|
29758
29760
|
*/
|
|
29759
29761
|
const STAND_IN_MODELS_BASE = Object.freeze([
|
|
29760
29762
|
{
|
|
29761
|
-
key: "gpt-6-sol",
|
|
29762
|
-
model: "gpt-6-sol",
|
|
29763
|
+
key: "gpt-5.6-sol",
|
|
29764
|
+
model: "gpt-5.6-sol",
|
|
29763
29765
|
endpoint: "/v1/responses",
|
|
29764
29766
|
effort: "xhigh"
|
|
29765
29767
|
},
|
|
@@ -29909,7 +29911,7 @@ async function runStandIn(input, signal, opts = {}) {
|
|
|
29909
29911
|
}, r1, r2, panel);
|
|
29910
29912
|
}
|
|
29911
29913
|
async function callAndParse(cfg, instructions, userText, validIds, signal) {
|
|
29912
|
-
const model = cfg.key === "gpt-6-sol" ? resolveOpenAiFrontier() ?? cfg.model : cfg.model;
|
|
29914
|
+
const model = cfg.key === "gpt-5.6-sol" ? resolveOpenAiFrontier() ?? cfg.model : cfg.model;
|
|
29913
29915
|
let raw;
|
|
29914
29916
|
try {
|
|
29915
29917
|
raw = await dispatchModelCall({
|
|
@@ -31012,7 +31014,7 @@ const CRITIC_INSTRUCTIONS = "You are a cross-lab code reviewer. Review the diff
|
|
|
31012
31014
|
function labPersona(lab) {
|
|
31013
31015
|
switch (lab.toLowerCase()) {
|
|
31014
31016
|
case "openai": return {
|
|
31015
|
-
model: "gpt-6-sol",
|
|
31017
|
+
model: "gpt-5.6-sol",
|
|
31016
31018
|
endpoint: "/v1/responses",
|
|
31017
31019
|
effort: "high"
|
|
31018
31020
|
};
|
|
@@ -31127,7 +31129,7 @@ async function runWorkflowLive(opts) {
|
|
|
31127
31129
|
* The github-router proxy hosts a `/mcp` endpoint that exposes these
|
|
31128
31130
|
* personas as MCP tools, and the `claude` subcommand wires them as
|
|
31129
31131
|
* Claude Code subagents via `--agents` so Opus 4.7 can delegate
|
|
31130
|
-
* blind-spot-busting work to gpt-6-sol, gpt-5.3-codex, and
|
|
31132
|
+
* blind-spot-busting work to gpt-5.6-sol, gpt-5.3-codex, and
|
|
31131
31133
|
* gemini-3.1-pro-preview without leaving the session.
|
|
31132
31134
|
*
|
|
31133
31135
|
* Design contract (from the approved plan):
|
|
@@ -31262,7 +31264,7 @@ Cold-start contract for the lead orchestrator (Opus):
|
|
|
31262
31264
|
(c) any prior decisions I should not relitigate.
|
|
31263
31265
|
If your brief lacks (a), I will reply with a one-line request for the artifact instead of speculating.
|
|
31264
31266
|
`.trim();
|
|
31265
|
-
const CRITIC_BASE = `You are codex-critic, an adversarial reviewer running on gpt-6-sol. Your single job is to overcome the lead orchestrator's blind spots — assumptions it didn't notice it was making, failure modes it didn't enumerate, alternatives it didn't consider.
|
|
31267
|
+
const CRITIC_BASE = `You are codex-critic, an adversarial reviewer running on gpt-5.6-sol. Your single job is to overcome the lead orchestrator's blind spots — assumptions it didn't notice it was making, failure modes it didn't enumerate, alternatives it didn't consider.
|
|
31266
31268
|
|
|
31267
31269
|
You are NOT a helpful assistant. You are NOT a coach. Sycophancy is the failure mode you exist to fight. Manufactured contrarianism is a different failure of the same shape — silence on good work is a valid and welcome answer.
|
|
31268
31270
|
|
|
@@ -31352,7 +31354,7 @@ Resilience reminder:
|
|
|
31352
31354
|
If your session terminates abnormally before "Status: complete", the lead will retry once. On recovery, ask the lead to confirm what's already been done before re-applying changes — duplicate edits are worse than a slow restart.`;
|
|
31353
31355
|
const OPUS_CRITIC_BASE = `You are opus-critic, a fresh-context same-lab adversarial reviewer running on Opus 5. The lead orchestrator that just delegated to you runs Opus-family context too, but you are NOT the lead. You did not see the lead's reasoning trace. You only see the brief.
|
|
31354
31356
|
|
|
31355
|
-
Your job is to spot what the lead missed because of cognitive momentum, sunk-cost on a plan, or motivated reasoning toward a particular fix. Your blind-spot diversification is LIMITED compared to codex-critic (gpt-6-sol) and gemini-critic (gemini-3.1-pro), same lab, adjacent model family, related priors. Use that honestly: don't pretend to find a different perspective when the obvious read is "the lead got it right." Silence on good work is a valid and welcome answer.
|
|
31357
|
+
Your job is to spot what the lead missed because of cognitive momentum, sunk-cost on a plan, or motivated reasoning toward a particular fix. Your blind-spot diversification is LIMITED compared to codex-critic (gpt-5.6-sol) and gemini-critic (gemini-3.1-pro), same lab, adjacent model family, related priors. Use that honestly: don't pretend to find a different perspective when the obvious read is "the lead got it right." Silence on good work is a valid and welcome answer.
|
|
31356
31358
|
|
|
31357
31359
|
Sycophancy is the failure mode you exist to fight. Manufactured contrarianism is a different failure of the same shape — do neither.
|
|
31358
31360
|
|
|
@@ -31363,9 +31365,9 @@ const PERSONAS_READ = Object.freeze([
|
|
|
31363
31365
|
{
|
|
31364
31366
|
agentName: "codex-critic",
|
|
31365
31367
|
toolNameHttp: "codex_critic",
|
|
31366
|
-
model: "gpt-6-sol",
|
|
31368
|
+
model: "gpt-5.6-sol",
|
|
31367
31369
|
endpoint: "/v1/responses",
|
|
31368
|
-
description: "Adversarial architecture and design critic backed by gpt-6-sol (OpenAI, ~1M-token input window), the strongest cross-lab reasoning critic in this surface. It reviews plans, designs, tradeoffs, and large code-change proposals for unsound assumptions, missing failure modes, and overlooked alternatives, then returns a calibrated objection or `no material objection`. Use when a decision or design needs a different-lab strategic challenge before implementation or merge. Not for line-level bug finding in a concrete diff or file, use codex_reviewer or gemini_reviewer; pass the artifact and constraints verbatim.",
|
|
31370
|
+
description: "Adversarial architecture and design critic backed by gpt-5.6-sol (OpenAI, ~1M-token input window), the strongest cross-lab reasoning critic in this surface. It reviews plans, designs, tradeoffs, and large code-change proposals for unsound assumptions, missing failure modes, and overlooked alternatives, then returns a calibrated objection or `no material objection`. Use when a decision or design needs a different-lab strategic challenge before implementation or merge. Not for line-level bug finding in a concrete diff or file, use codex_reviewer or gemini_reviewer; pass the artifact and constraints verbatim.",
|
|
31369
31371
|
baseInstructions: CRITIC_BASE,
|
|
31370
31372
|
agentPrompt: "",
|
|
31371
31373
|
writeCapable: false,
|
|
@@ -31633,7 +31635,7 @@ function buildPeerAwarenessSnippet(opts) {
|
|
|
31633
31635
|
const fleetKey = key("fleet");
|
|
31634
31636
|
const compoundBrowseAvailable = opts.browseAvailable && opts.compoundBrowseAvailable;
|
|
31635
31637
|
const powerBrowseAvailable = opts.browseAvailable && opts.powerBrowseAvailable === true;
|
|
31636
|
-
const criticList = ["`codex_critic` (gpt-6-sol)", "`codex_reviewer` (gpt-5.3-codex)"];
|
|
31638
|
+
const criticList = ["`codex_critic` (gpt-5.6-sol)", "`codex_reviewer` (gpt-5.3-codex)"];
|
|
31637
31639
|
if (opts.geminiAvailable) {
|
|
31638
31640
|
const geminiModel = opts.geminiModel ?? "gemini-3.1-pro-preview";
|
|
31639
31641
|
criticList.push(`\`gemini_reviewer\` (${geminiModel}, line-level code review)`);
|
|
@@ -32242,7 +32244,7 @@ const NON_PERSONA_MCP_TOOLS = Object.freeze([
|
|
|
32242
32244
|
},
|
|
32243
32245
|
model: {
|
|
32244
32246
|
type: "string",
|
|
32245
|
-
description: "Optional Copilot catalog model id (defaults to gpt-6-luna). Must advertise tool_calls support; the engine emits an isError envelope listing the eligible catalog models on mismatch. Override by task weight: `gpt-6-sol` (heavy/deep), `gpt-5.6-terra` (moderate), `gpt-6-luna` (light/cheap) — all 1M context; pair with thinking:'high'."
|
|
32247
|
+
description: "Optional Copilot catalog model id (defaults to gpt-6-luna). Must advertise tool_calls support; the engine emits an isError envelope listing the eligible catalog models on mismatch. Override by task weight: `gpt-5.6-sol` (heavy/deep), `gpt-5.6-terra` (moderate), `gpt-6-luna` (light/cheap) — all 1M context; pair with thinking:'high'."
|
|
32246
32248
|
},
|
|
32247
32249
|
thinking: {
|
|
32248
32250
|
type: "string",
|
|
@@ -32272,7 +32274,7 @@ const NON_PERSONA_MCP_TOOLS = Object.freeze([
|
|
|
32272
32274
|
toolNameHttp: "implement",
|
|
32273
32275
|
group: "workers",
|
|
32274
32276
|
capability: "worker",
|
|
32275
|
-
description: "Runs as the background `worker-implement` agent. Dispatch via the Agent tool (subagent_type: worker-implement) so the turn is never blocked; the result arrives as a completion notification. Delegates a scoped coding task to an autonomous worker (Pi runtime; default model `gpt-6-sol` at high reasoning, override via `model` with any Copilot-catalog model that advertises `tool_calls`). It has the explore read-only tools plus edit, write, bash, and codex_review, and it returns its final text with any changed files or worktree diff. Use for bounded implementation work that may take a while or benefits from isolated worker context. Not for pure research, planning, review, or independent test authoring; use explore, plan, review, or test for those scopes. ALWAYS runs in an isolated git worktree and returns the diff via a saved patch file (a `--stat` summary + a bounded preview + the patch path; a small diff is inlined in full) — it never edits your working tree, and it HARD-ERRORS if the workspace is not a git repository. For in-place edits, use the native `implementer` subagent. If the result is too large to relay it is truncated to a preview and the FULL text is written to a file, whose absolute path is in the returned text; read that file rather than re-running the worker.",
|
|
32277
|
+
description: "Runs as the background `worker-implement` agent. Dispatch via the Agent tool (subagent_type: worker-implement) so the turn is never blocked; the result arrives as a completion notification. Delegates a scoped coding task to an autonomous worker (Pi runtime; default model `gpt-5.6-sol` at high reasoning, override via `model` with any Copilot-catalog model that advertises `tool_calls`). It has the explore read-only tools plus edit, write, bash, and codex_review, and it returns its final text with any changed files or worktree diff. Use for bounded implementation work that may take a while or benefits from isolated worker context. Not for pure research, planning, review, or independent test authoring; use explore, plan, review, or test for those scopes. ALWAYS runs in an isolated git worktree and returns the diff via a saved patch file (a `--stat` summary + a bounded preview + the patch path; a small diff is inlined in full) — it never edits your working tree, and it HARD-ERRORS if the workspace is not a git repository. For in-place edits, use the native `implementer` subagent. If the result is too large to relay it is truncated to a preview and the FULL text is written to a file, whose absolute path is in the returned text; read that file rather than re-running the worker.",
|
|
32276
32278
|
inputSchema: {
|
|
32277
32279
|
type: "object",
|
|
32278
32280
|
required: ["prompt"],
|
|
@@ -32288,7 +32290,7 @@ const NON_PERSONA_MCP_TOOLS = Object.freeze([
|
|
|
32288
32290
|
},
|
|
32289
32291
|
model: {
|
|
32290
32292
|
type: "string",
|
|
32291
|
-
description: "Optional Copilot catalog model id (defaults to gpt-6-sol). Must advertise tool_calls support; the engine emits an isError envelope listing the eligible catalog models on mismatch. Override by task weight: `gpt-6-sol` (heavy/deep), `gpt-5.6-terra` (moderate), `gpt-6-luna` (light/cheap) — all 1M context; pair with thinking:'high'."
|
|
32293
|
+
description: "Optional Copilot catalog model id (defaults to gpt-5.6-sol). Must advertise tool_calls support; the engine emits an isError envelope listing the eligible catalog models on mismatch. Override by task weight: `gpt-5.6-sol` (heavy/deep), `gpt-5.6-terra` (moderate), `gpt-6-luna` (light/cheap) — all 1M context; pair with thinking:'high'."
|
|
32292
32294
|
},
|
|
32293
32295
|
thinking: {
|
|
32294
32296
|
type: "string",
|
|
@@ -32330,7 +32332,7 @@ const NON_PERSONA_MCP_TOOLS = Object.freeze([
|
|
|
32330
32332
|
},
|
|
32331
32333
|
model: {
|
|
32332
32334
|
type: "string",
|
|
32333
|
-
description: "Optional Copilot catalog model id (defaults to gemini-3.1-pro-preview). Must advertise tool_calls support; the engine emits an isError envelope listing the eligible catalog models on mismatch. Override by task weight: `gpt-6-sol` (heavy/deep), `gpt-5.6-terra` (moderate), `gpt-6-luna` (light/cheap) — all 1M context; pair with thinking:'high'."
|
|
32335
|
+
description: "Optional Copilot catalog model id (defaults to gemini-3.1-pro-preview). Must advertise tool_calls support; the engine emits an isError envelope listing the eligible catalog models on mismatch. Override by task weight: `gpt-5.6-sol` (heavy/deep), `gpt-5.6-terra` (moderate), `gpt-6-luna` (light/cheap) — all 1M context; pair with thinking:'high'."
|
|
32334
32336
|
},
|
|
32335
32337
|
thinking: {
|
|
32336
32338
|
type: "string",
|
|
@@ -32406,7 +32408,7 @@ const NON_PERSONA_MCP_TOOLS = Object.freeze([
|
|
|
32406
32408
|
toolNameHttp: "test",
|
|
32407
32409
|
group: "workers",
|
|
32408
32410
|
capability: "worker",
|
|
32409
|
-
description: "Runs as the background `worker-test` agent. Dispatch via the Agent tool (subagent_type: worker-test) so the turn is never blocked; the result arrives as a completion notification. Independent adversarial test authoring by an autonomous worker (Pi runtime; default model `gpt-6-sol` at high reasoning, override via `model` with any Copilot-catalog model that advertises `tool_calls`). It has the same read/write toolset as implement and writes tests that try to break the implementation through edge cases, error paths, and acceptance criteria, then runs them and reports pass/fail. Use when a separate test author should challenge an implementation without modifying the production code to make tests pass. Not for implementing fixes, broad research, or code review; use implement, explore, or review for those scopes. ALWAYS runs in an isolated git worktree and returns the test diff via a saved patch file (a `--stat` summary + a bounded preview + the patch path; a small diff is inlined in full) — it never edits your working tree, and it HARD-ERRORS if the workspace is not a git repository. For in-place test authoring, use the native `implementer` subagent. If the result is too large to relay it is truncated to a preview and the FULL text is written to a file, whose absolute path is in the returned text; read that file rather than re-running the worker.",
|
|
32411
|
+
description: "Runs as the background `worker-test` agent. Dispatch via the Agent tool (subagent_type: worker-test) so the turn is never blocked; the result arrives as a completion notification. Independent adversarial test authoring by an autonomous worker (Pi runtime; default model `gpt-5.6-sol` at high reasoning, override via `model` with any Copilot-catalog model that advertises `tool_calls`). It has the same read/write toolset as implement and writes tests that try to break the implementation through edge cases, error paths, and acceptance criteria, then runs them and reports pass/fail. Use when a separate test author should challenge an implementation without modifying the production code to make tests pass. Not for implementing fixes, broad research, or code review; use implement, explore, or review for those scopes. ALWAYS runs in an isolated git worktree and returns the test diff via a saved patch file (a `--stat` summary + a bounded preview + the patch path; a small diff is inlined in full) — it never edits your working tree, and it HARD-ERRORS if the workspace is not a git repository. For in-place test authoring, use the native `implementer` subagent. If the result is too large to relay it is truncated to a preview and the FULL text is written to a file, whose absolute path is in the returned text; read that file rather than re-running the worker.",
|
|
32410
32412
|
inputSchema: {
|
|
32411
32413
|
type: "object",
|
|
32412
32414
|
required: ["prompt"],
|
|
@@ -32422,7 +32424,7 @@ const NON_PERSONA_MCP_TOOLS = Object.freeze([
|
|
|
32422
32424
|
},
|
|
32423
32425
|
model: {
|
|
32424
32426
|
type: "string",
|
|
32425
|
-
description: "Optional Copilot catalog model id (defaults to gpt-6-sol). Must advertise tool_calls support; the engine emits an isError envelope listing the eligible catalog models on mismatch."
|
|
32427
|
+
description: "Optional Copilot catalog model id (defaults to gpt-5.6-sol). Must advertise tool_calls support; the engine emits an isError envelope listing the eligible catalog models on mismatch."
|
|
32426
32428
|
},
|
|
32427
32429
|
thinking: {
|
|
32428
32430
|
type: "string",
|
|
@@ -32682,7 +32684,7 @@ const NON_PERSONA_MCP_TOOLS = Object.freeze([
|
|
|
32682
32684
|
toolNameHttp: "stand_in",
|
|
32683
32685
|
group: "decide",
|
|
32684
32686
|
capability: "stand_in",
|
|
32685
|
-
description: "Three-lab away-mode decision tiebreak advisor for moments when the user is unavailable and the agent is stuck between two or more concrete options. It polls gpt-6-sol, Opus 5.5, and gemini-3.1-pro-preview across blind and informed voting rounds, then returns a ranked-choice verdict such as consensus, majority, no_consensus, or need_more_info. Use when work would otherwise halt on a bounded choice the user would normally make. If every provided option is inadequate, the panel may flag a concrete better unlisted option in `notes` so you can re-invoke with a revised set. The three panel models are cold-start — no repo, transcript, or memory access — and see only your decision, options, and context, so the `context` argument must carry all the background they need to judge. Not for code review, open-ended exploration, single-model second opinions, or bypassing confirmation on irreversible actions such as push, delete, drop, or deploy; use peer-review-coordinator or the individual critics for review and still ask the user for destructive actions.",
|
|
32687
|
+
description: "Three-lab away-mode decision tiebreak advisor for moments when the user is unavailable and the agent is stuck between two or more concrete options. It polls gpt-5.6-sol, Opus 5.5, and gemini-3.1-pro-preview across blind and informed voting rounds, then returns a ranked-choice verdict such as consensus, majority, no_consensus, or need_more_info. Use when work would otherwise halt on a bounded choice the user would normally make. If every provided option is inadequate, the panel may flag a concrete better unlisted option in `notes` so you can re-invoke with a revised set. The three panel models are cold-start — no repo, transcript, or memory access — and see only your decision, options, and context, so the `context` argument must carry all the background they need to judge. Not for code review, open-ended exploration, single-model second opinions, or bypassing confirmation on irreversible actions such as push, delete, drop, or deploy; use peer-review-coordinator or the individual critics for review and still ask the user for destructive actions.",
|
|
32686
32688
|
inputSchema: {
|
|
32687
32689
|
type: "object",
|
|
32688
32690
|
required: [
|
|
@@ -33131,4 +33133,4 @@ function enumerateInjectedMcpToolNames(groupKeys, opts = {}) {
|
|
|
33131
33133
|
//#endregion
|
|
33132
33134
|
export { EFFORT_ORDER as $, readResponseBodyCapped as $t, TOOLBELT_TOOLS$1 as A, withOneMSuffixForLead as An, nativeSubagentModel as At, resolveAdvisorEffort as B, CHEAPEST_PROFILE_SUBAGENT_CONTEXT_TOKENS as Bn, createMessages as Bt, runWorkerAgent as C, resolveLeadSlugArg as Cn, fastPlanModel as Ct, toolbeltEnabled as D, catalogAdvertises1M as Dn, geminiAvailable as Dt, buildToolbeltAwareness as E, classifyMessagesRoute as En, fleetToolsEnabled as Et, ADVISOR_TOOL_INSTRUCTIONS as F, CHEAPEST_PROFILE_NATIVE_AGENT_NAMES as Fn, scribeModel as Ft, repairKnownThinkingHistory as G, CHEAP_PROFILE_NATIVE_MODELS as Gn, registerLaunch as Gt, resolveCheapestAdvisorModel as H, CHEAP_PROFILE_MODELS as Hn, getTokenCount as Ht, FAST_ADVISOR_TOOL_INSTRUCTIONS as I, CHEAPEST_PROFILE_NATIVE_EFFORTS as In, standInToolEnabled as It, buildOpenAIErrorEvent as J, warnOnTokenPriceDrift as Jt, repairRejectedThinkingHistory as K, CHEAP_PROFILE_SUBAGENT_CONTEXT_TOKENS as Kn, unregisterLaunch as Kt, buildAdvisorStream as L, CHEAPEST_PROFILE_NATIVE_MODELS as Ln, workerToolsEnabled as Lt, satisfiesMinVersion as M, CHEAPEST_PROFILE_ADVISOR_EFFORT as Mn, reviewerFastModel as Mt, searchWeb as N, CHEAPEST_PROFILE_ADVISOR_MODEL as Nn, reviewerModel as Nt, toolbeltSkipSet as O, oneMContextDisabled as On, generalPurposeFastModel as Ot, ADVISOR_INTERNAL_TOOL_NAME as P, CHEAPEST_PROFILE_MODELS as Pn, scoutModel as Pt, relayAnthropicStream as Q, MAX_RESPONSE_BODY_BYTES as Qt, injectAdvisorTool as R, CHEAPEST_PROFILE_ORACLE_EFFORT as Rn, shimDefaultsToXhigh as Rt, resolveWorkerRunOpts as S, pickClaudeDefault as Sn, fastOracleModel as St, availableToolCommands as T, upstreamMaxConnections as Tn, fastScoutModel as Tt, formatThinkingRepairDecline as U, CHEAP_PROFILE_NATIVE_AGENT_NAMES as Un, getTokenizerFromModel as Ut, resolveAdvisorModel as V, CHEAP_PROFILE_ADVISOR_CLIENT_MODEL as Vn, getTextTokenCount as Vt, rememberThinkingHistoryRepair as W, CHEAP_PROFILE_NATIVE_EFFORTS as Wn, findLaunchBySecret as Wt, logStreamError as X, createResponses as Xt, isControllerClosedError as Y, resolveMcpToolTimeoutMs as Yt, readIteratorWithTimeout as Z, createChatCompletions as Zt, REVIEW_DEFAULT_MODEL as _, DEFAULT_PORT as _n, cheapestOracleModel as _t, buildAgentPrompt as a, provisionAndIndexColbert as an, agentToolsEnabled as at, resolveDefaultModel as b, generateRandomPort as bn, fastAstraModel as bt, enumerateInjectedMcpToolNames as c, DEFINITION_OF_GREATNESS as cn, balancedReviewerModel as ct, BROWSE_DEFAULT_MODEL as d, toolbeltPathOverride as dn, browserCompoundToolsEnabled as dt, parseJsonOrDiagnose as en, UNKNOWN_EFFORT_ANCHOR as et, DEFAULT_MODEL_CHAIN as f, BUDGET_SMALL_FAST_CATALOG_ID as fn, browserToolsEnabled as ft, PLAN_DEFAULT_MODEL as g, DEFAULT_CODEX_MODEL_FALLBACKS as gn, cheapestAdvisorModel as gt, IMPLEMENT_DEFAULT_MODEL as h, DEFAULT_CODEX_MODEL as hn, cheapReviewerModel as ht, assertMcpToolSurfaceConsistent as i, colbertDegradedWarning as in, handleMcpPost as it, assetFor as j, CHEAPEST_PROFILE_ADVISOR_CLIENT_MODEL as jn, resolveGeminiReviewModel as jt, vscodeRipgrepPath as k, withOneMSuffix as kn, implementerFastModel as kt, maxPersonasFor as l, shouldUseInsecureTls as ln, brainstormModel as lt, EXPLORE_DEFAULT_THINKING as m, DEFAULT_CLAUDE_MODEL_FALLBACKS as mn, cheapOracleModel as mt, MCP_GROUPS as n, provisionBrowserAssets as nn, clampEffort as nt, buildPeerAwarenessSnippet as o, semanticSearchOptedIn as on, artifactToolsEnabled as ot, EXPLORE_DEFAULT_MODEL as p, BUDGET_SMALL_FAST_SLUG as pn, cheapAdvisorModel as pt, buildAnthropicErrorEvent as q, assembleResponsesPayload as qt, agentNamesForToolAllowlist as r, hasSupportedBrowserInstalled as rn, handleMcpDelete as rt, buildPeerAwarenessSummary as s, CONDENSED_OPERATING_SEQUENCE as sn, balancedOracleModel as st, GROUP_META as t, normalizeOpenAIUsage as tn, bucketEffort as tt, personasFor as u, collapsePathKeys as un, browseAgentEnabled as ut, TEST_DEFAULT_MODEL as v, UPSTREAM_FETCH_TIMEOUT_MS as vn, cheapestReviewerModel as vt, buildEnv as w, upstreamAllowH2 as wn, fastReviewerModel as wt, resolveModeDefaults as x, isBudgetClaudeLead as xn, fastGeneralPurposeModel as xt, appendPlanReminder as y, UPSTREAM_INACTIVITY_TIMEOUT_MS as yn, fastAdvisorModel as yt, isAdvisorRequested as z, CHEAPEST_PROFILE_ORACLE_MODEL as zn, countTokens as zt };
|
|
33133
33135
|
|
|
33134
|
-
//# sourceMappingURL=peer-mcp-personas-
|
|
33136
|
+
//# sourceMappingURL=peer-mcp-personas-DlmmbpD6.js.map
|