github-router 0.3.338 → 0.3.340
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/dist/aic-statusline-settings-Chf-IT45.js +137 -0
- package/dist/aic-statusline-settings-Chf-IT45.js.map +1 -0
- package/dist/{attribution-settings-CeaG4eQa.js → attribution-settings-BTfKm-RU.js} +14 -14
- package/dist/attribution-settings-BTfKm-RU.js.map +1 -0
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/{claude-CjsxXwv2.js → claude-DUpp7B4X.js} +11 -141
- package/dist/claude-DUpp7B4X.js.map +1 -0
- package/dist/{codex-CjZXP_n6.js → codex-Xn1xsoOw.js} +4 -4
- package/dist/{codex-CjZXP_n6.js.map → codex-Xn1xsoOw.js.map} +1 -1
- package/dist/engine-DvGukHty.js +2 -0
- package/dist/{gate-discovery-DGBZpoS7.js → gate-discovery-BIBgN6mA.js} +2 -2
- package/dist/{gate-discovery-DGBZpoS7.js.map → gate-discovery-BIBgN6mA.js.map} +1 -1
- package/dist/{internal-stop-hook-BgtHofxp.js → internal-stop-hook-Dyn0fRpZ.js} +2 -2
- package/dist/{internal-stop-hook-BgtHofxp.js.map → internal-stop-hook-Dyn0fRpZ.js.map} +1 -1
- package/dist/main.js +6 -5
- package/dist/main.js.map +1 -1
- package/dist/{peer-mcp-personas-qQgzZDPP.js → peer-mcp-personas-Dt0VRKYz.js} +26 -16
- package/dist/{peer-mcp-personas-qQgzZDPP.js.map → peer-mcp-personas-Dt0VRKYz.js.map} +1 -1
- package/dist/pi-DwfSuefC.js +1175 -0
- package/dist/pi-DwfSuefC.js.map +1 -0
- package/dist/{provision-CjIatImk.js → provision-D_aHUCXt.js} +11 -2
- package/dist/provision-D_aHUCXt.js.map +1 -0
- package/dist/{serve-BM6x_Cqs.js → serve-DWL5kmB_.js} +5 -5
- package/dist/{serve-BM6x_Cqs.js.map → serve-DWL5kmB_.js.map} +1 -1
- package/dist/{server-setup-M0PHRPjd.js → server-setup-UWugox0I.js} +109 -53
- package/dist/server-setup-UWugox0I.js.map +1 -0
- package/dist/{start-BWEckTMU.js → start-4OTehsYq.js} +3 -3
- package/dist/{start-BWEckTMU.js.map → start-4OTehsYq.js.map} +1 -1
- package/package.json +1 -1
- package/dist/attribution-settings-CeaG4eQa.js.map +0 -1
- package/dist/claude-CjsxXwv2.js.map +0 -1
- package/dist/engine-cNHuW0j7.js +0 -2
- package/dist/provision-CjIatImk.js.map +0 -1
- package/dist/server-setup-M0PHRPjd.js.map +0 -1
|
@@ -173,6 +173,7 @@ const CHEAPEST_PROFILE_ADVISOR_MODEL = CHEAPEST_PROFILE_MODELS.advisor;
|
|
|
173
173
|
* mirrors that with `CHEAPEST_PROFILE_ADVISOR_CONTEXT_TOKENS`.
|
|
174
174
|
*/
|
|
175
175
|
const CHEAPEST_PROFILE_ADVISOR_CLIENT_MODEL = CHEAPEST_PROFILE_MODELS.advisor;
|
|
176
|
+
const CHEAPEST_PROFILE_ADVISOR_EFFORT = "medium";
|
|
176
177
|
const CHEAPEST_PROFILE_ORACLE_MODEL = CHEAPEST_PROFILE_MODELS.oracle;
|
|
177
178
|
const CHEAPEST_PROFILE_ORACLE_EFFORT = "high";
|
|
178
179
|
Object.freeze({
|
|
@@ -19535,11 +19536,17 @@ function resolveModelAndThinking(opts) {
|
|
|
19535
19536
|
const CATALOG_PRICE_SCALE = 1e9;
|
|
19536
19537
|
const TOKENS_PER_MILLION = 1e6;
|
|
19537
19538
|
/**
|
|
19538
|
-
* Last-resort per-1M-token prices
|
|
19539
|
-
*
|
|
19540
|
-
*
|
|
19541
|
-
*
|
|
19542
|
-
*
|
|
19539
|
+
* Last-resort per-1M-token prices in live-catalog normalized units
|
|
19540
|
+
* (`price/1e9*1e6/batch`, i.e. billing-doc USD x 100 — verified 100x on
|
|
19541
|
+
* luna/sol/opus-5.5 live-vs-doc pairs). Refreshed from the live catalog
|
|
19542
|
+
* on 2026-09-24 (luna 20/120->10/50, sol 400/2000->200/1000,
|
|
19543
|
+
* opus-5.5 500/2500->400/2000 — all three caught by
|
|
19544
|
+
* `warnOnTokenPriceDrift()`); other rows re-verified clean against the
|
|
19545
|
+
* billing doc's Default tiers the same day. The LIVE catalog always
|
|
19546
|
+
* wins; this only fills in when `state.models` is unpopulated, which in
|
|
19547
|
+
* practice means the startup catalog fetch failed. Without it the
|
|
19548
|
+
* injected roster degrades to bare names and the model loses the cost
|
|
19549
|
+
* signal entirely for that session.
|
|
19543
19550
|
*
|
|
19544
19551
|
* A hardcoded copy of a value that HAS a live source is a second source of
|
|
19545
19552
|
* truth, and this one has already been observed to drift: two figures written
|
|
@@ -19556,8 +19563,8 @@ const TOKENS_PER_MILLION = 1e6;
|
|
|
19556
19563
|
*/
|
|
19557
19564
|
const FALLBACK_TOKEN_PRICES = Object.freeze({
|
|
19558
19565
|
"gpt-6-luna": {
|
|
19559
|
-
in:
|
|
19560
|
-
out:
|
|
19566
|
+
in: 10,
|
|
19567
|
+
out: 50
|
|
19561
19568
|
},
|
|
19562
19569
|
"gpt-5.6-luna": {
|
|
19563
19570
|
in: 20,
|
|
@@ -19584,16 +19591,16 @@ const FALLBACK_TOKEN_PRICES = Object.freeze({
|
|
|
19584
19591
|
out: 500
|
|
19585
19592
|
},
|
|
19586
19593
|
"claude-opus-5.5": {
|
|
19587
|
-
in:
|
|
19588
|
-
out:
|
|
19594
|
+
in: 400,
|
|
19595
|
+
out: 2e3
|
|
19589
19596
|
},
|
|
19590
19597
|
"claude-opus-5": {
|
|
19591
19598
|
in: 500,
|
|
19592
19599
|
out: 2500
|
|
19593
19600
|
},
|
|
19594
19601
|
"gpt-6-sol": {
|
|
19595
|
-
in:
|
|
19596
|
-
out:
|
|
19602
|
+
in: 200,
|
|
19603
|
+
out: 1e3
|
|
19597
19604
|
},
|
|
19598
19605
|
"gpt-5.6-sol": {
|
|
19599
19606
|
in: 400,
|
|
@@ -29264,9 +29271,12 @@ const TEST_DEFAULT_THINKING = "high";
|
|
|
29264
29271
|
* between the two would ship a tool whose docs disagree with its runtime
|
|
29265
29272
|
* default. */
|
|
29266
29273
|
const BROWSE_DEFAULT_MODEL = "gpt-6-luna";
|
|
29267
|
-
/** Default thinking for `browse`.
|
|
29268
|
-
*
|
|
29269
|
-
|
|
29274
|
+
/** Default thinking for `browse`. Page-driving is observation-heavy but
|
|
29275
|
+
* reasoning-light, so `low` fits the workload; callers that need deeper
|
|
29276
|
+
* judgment restore a higher tier per call via `thinking` or per session via
|
|
29277
|
+
* `worker_defaults`. Unadvertised tiers clamp fail-safe in model resolution,
|
|
29278
|
+
* so this default never rejects on a thinner catalog. */
|
|
29279
|
+
const BROWSE_DEFAULT_THINKING = "low";
|
|
29270
29280
|
/** Default model + thinking for the read-only `plan` mode. `claude-opus-5.5`
|
|
29271
29281
|
* at `high` favours time-to-outcome while retaining the strongest planning
|
|
29272
29282
|
* model rather than the lightweight `gpt-6-luna` explore default. Any
|
|
@@ -33111,6 +33121,6 @@ function enumerateInjectedMcpToolNames(groupKeys, opts = {}) {
|
|
|
33111
33121
|
return [...new Set(names)];
|
|
33112
33122
|
}
|
|
33113
33123
|
//#endregion
|
|
33114
|
-
export { EFFORT_ORDER as $, readResponseBodyCapped as $t, TOOLBELT_TOOLS$1 as A, withOneMSuffixForLead as An, nativeSubagentModel as At, resolveAdvisorEffort as B,
|
|
33124
|
+
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 };
|
|
33115
33125
|
|
|
33116
|
-
//# sourceMappingURL=peer-mcp-personas-
|
|
33126
|
+
//# sourceMappingURL=peer-mcp-personas-Dt0VRKYz.js.map
|