github-router 0.3.381 → 0.3.383
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 -0
- package/dist/ado-tools-Ddv910Zl.js +1 -0
- package/dist/{aic-ledger-6GKI28nY.js → aic-ledger-Bz87EuHl.js} +3 -3
- package/dist/{aic-ledger-6GKI28nY.js.map → aic-ledger-Bz87EuHl.js.map} +1 -1
- package/dist/{aic-statusline-settings-wLL1l_Z6.js → aic-statusline-settings-dkVZbpRL.js} +2 -2
- package/dist/{aic-statusline-settings-wLL1l_Z6.js.map → aic-statusline-settings-dkVZbpRL.js.map} +1 -1
- package/dist/{attribution-settings-BEwSkdhK.js → attribution-settings-BcPiSoZe.js} +27 -30
- package/dist/{attribution-settings-BEwSkdhK.js.map → attribution-settings-BcPiSoZe.js.map} +1 -1
- package/dist/{auth-5TKcQbbH.js → auth-D9eTY_W6.js} +3 -3
- package/dist/{auth-5TKcQbbH.js.map → auth-D9eTY_W6.js.map} +1 -1
- package/dist/bin.js +21 -4
- package/dist/bin.js.map +1 -1
- package/dist/bluebird-client-CLXs7q-X.js +1 -0
- package/dist/{bluebird-client-BasIdv5J.js → bluebird-client-bykMZyn1.js} +2 -2
- package/dist/{bluebird-client-BasIdv5J.js.map → bluebird-client-bykMZyn1.js.map} +1 -1
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/{check-usage-DM39fdel.js → check-usage-BBaD35u4.js} +4 -4
- package/dist/{check-usage-DM39fdel.js.map → check-usage-BBaD35u4.js.map} +1 -1
- package/dist/{claude-CkrhHkPQ.js → claude-DOKuv2zZ.js} +29 -29
- package/dist/{claude-CkrhHkPQ.js.map → claude-DOKuv2zZ.js.map} +1 -1
- package/dist/{claude-md-injection-DNMDcw1W.js → claude-md-injection-BadtN0-I.js} +17 -8
- package/dist/claude-md-injection-BadtN0-I.js.map +1 -0
- package/dist/{codex-50GzveCD.js → codex-Dw_eBfXW.js} +9 -9
- package/dist/{codex-50GzveCD.js.map → codex-Dw_eBfXW.js.map} +1 -1
- package/dist/{copilot-discount-DM98PuAF.js → copilot-discount-BSDefQRW.js} +2 -2
- package/dist/{copilot-discount-DM98PuAF.js.map → copilot-discount-BSDefQRW.js.map} +1 -1
- package/dist/{debug-Df0Kuzi3.js → debug-B8eRYH-c.js} +2 -2
- package/dist/{debug-Df0Kuzi3.js.map → debug-B8eRYH-c.js.map} +1 -1
- package/dist/engine-DPtLOUuj.js +1 -0
- package/dist/{exec-BC0MAnoA.js → exec-oCtz_dXO.js} +22 -5
- package/dist/exec-oCtz_dXO.js.map +1 -0
- package/dist/{gate-discovery-2ILpM2fi.js → gate-discovery-DE_KTX2p.js} +6 -6
- package/dist/{gate-discovery-2ILpM2fi.js.map → gate-discovery-DE_KTX2p.js.map} +1 -1
- package/dist/{get-copilot-usage-BZ6t2hFZ.js → get-copilot-usage-Dh9u7WeP.js} +2 -2
- package/dist/{get-copilot-usage-BZ6t2hFZ.js.map → get-copilot-usage-Dh9u7WeP.js.map} +1 -1
- package/dist/hooks.mjs +21 -4
- package/dist/hooks.sha256 +1 -1
- package/dist/{index-cmd-DsK6VFs8.js → index-cmd-C4womtOS.js} +5 -5
- package/dist/{index-cmd-DsK6VFs8.js.map → index-cmd-C4womtOS.js.map} +1 -1
- package/dist/{internal-aic-status-CUZ7-trf.js → internal-aic-status-DSO2sR5u.js} +4 -4
- package/dist/{internal-aic-status-CUZ7-trf.js.map → internal-aic-status-DSO2sR5u.js.map} +1 -1
- package/dist/{internal-artifact-open-DRBg1PpV.js → internal-artifact-open-dlgqWieq.js} +2 -2
- package/dist/{internal-artifact-open-DRBg1PpV.js.map → internal-artifact-open-dlgqWieq.js.map} +1 -1
- package/dist/{internal-fast-dispatch-guard-ZeS9u0A3.js → internal-fast-dispatch-guard-5nCNht5y.js} +2 -2
- package/dist/{internal-fast-dispatch-guard-ZeS9u0A3.js.map → internal-fast-dispatch-guard-5nCNht5y.js.map} +1 -1
- package/dist/{internal-fast-dispatch-guard-D6-Ees_6.js → internal-fast-dispatch-guard-DHm96Bj_.js} +1 -1
- package/dist/{internal-first-mate-guard-DsEEsLKJ.js → internal-first-mate-guard-Bb9Stjy-.js} +3 -3
- package/dist/{internal-first-mate-guard-DsEEsLKJ.js.map → internal-first-mate-guard-Bb9Stjy-.js.map} +1 -1
- package/dist/{internal-first-mate-guard-BijeVpi9.js → internal-first-mate-guard-D6HMd9Iz.js} +1 -1
- package/dist/{internal-max-dispatch-guard-4RLca1i5.js → internal-max-dispatch-guard-C8kq4WNV.js} +3 -3
- package/dist/{internal-max-dispatch-guard-4RLca1i5.js.map → internal-max-dispatch-guard-C8kq4WNV.js.map} +1 -1
- package/dist/{internal-max-dispatch-guard-DeEfWqfP.js → internal-max-dispatch-guard-CI17mrDJ.js} +1 -1
- package/dist/{internal-plan-review-bzqGNdtw.js → internal-plan-review-Bdga9wVP.js} +3 -3
- package/dist/{internal-plan-review-bzqGNdtw.js.map → internal-plan-review-Bdga9wVP.js.map} +1 -1
- package/dist/{internal-prompt-submit-ZBhH-SQ1.js → internal-prompt-submit-DKlHlcvK.js} +2 -2
- package/dist/{internal-prompt-submit-BZ2-CExM.js → internal-prompt-submit-Daswp8ro.js} +5 -5
- package/dist/{internal-prompt-submit-BZ2-CExM.js.map → internal-prompt-submit-Daswp8ro.js.map} +1 -1
- package/dist/{internal-rebrief-BIWbN7Sr.js → internal-rebrief-D8O1J-_J.js} +5 -5
- package/dist/{internal-rebrief-BIWbN7Sr.js.map → internal-rebrief-D8O1J-_J.js.map} +1 -1
- package/dist/{internal-session-bind-BL6hFRLO.js → internal-session-bind-0hQFrcWu.js} +2 -2
- package/dist/{internal-session-bind-BL6hFRLO.js.map → internal-session-bind-0hQFrcWu.js.map} +1 -1
- package/dist/{internal-stop-hook-cDF1MuJZ.js → internal-stop-hook-C3lLh-HY.js} +6 -6
- package/dist/{internal-stop-hook-cDF1MuJZ.js.map → internal-stop-hook-C3lLh-HY.js.map} +1 -1
- package/dist/{internal-stop-review-y8zjpK_3.js → internal-stop-review-Bnmzcqx5.js} +2 -2
- package/dist/{internal-stop-review-y8zjpK_3.js.map → internal-stop-review-Bnmzcqx5.js.map} +1 -1
- package/dist/{internal-worker-guard-DdyYBZR0.js → internal-worker-guard-LcPxDlbx.js} +2 -2
- package/dist/{internal-worker-guard-DdyYBZR0.js.map → internal-worker-guard-LcPxDlbx.js.map} +1 -1
- package/dist/{internal-workspace-header-BMKbO8yX.js → internal-workspace-header-BH53hBXO.js} +2 -2
- package/dist/{internal-workspace-header-BMKbO8yX.js.map → internal-workspace-header-BH53hBXO.js.map} +1 -1
- package/dist/{lifecycle-COZhARmE.js → lifecycle-BmoqtVj3.js} +2 -2
- package/dist/{lifecycle-COZhARmE.js.map → lifecycle-BmoqtVj3.js.map} +1 -1
- package/dist/lifecycle-CcNNfKbr.js +1 -0
- package/dist/lifecycle-CrImfxCd.js +1 -0
- package/dist/{lifecycle-BlC_kzNt.js → lifecycle-CwxOsp-U.js} +3 -3
- package/dist/{lifecycle-BlC_kzNt.js.map → lifecycle-CwxOsp-U.js.map} +1 -1
- package/dist/main.js +25 -25
- package/dist/{max-profile-contract-DbHwiLTx.js → max-profile-contract-CEn8hKb3.js} +60 -60
- package/dist/{max-profile-contract-DbHwiLTx.js.map → max-profile-contract-CEn8hKb3.js.map} +1 -1
- package/dist/{mcp-workspace-header-Bpa4BId8.js → mcp-workspace-header-lb7GV78v.js} +2 -2
- package/dist/{mcp-workspace-header-Bpa4BId8.js.map → mcp-workspace-header-lb7GV78v.js.map} +1 -1
- package/dist/{models-BDV-YLf2.js → models-BTCnhBCQ.js} +3 -3
- package/dist/{models-BDV-YLf2.js.map → models-BTCnhBCQ.js.map} +1 -1
- package/dist/{optional-DGAeyguL.js → optional-LUQJI6Vx.js} +216 -16
- package/dist/optional-LUQJI6Vx.js.map +1 -0
- package/dist/{orchestration-Bto5Nc1Y.js → orchestration-C_hyBL90.js} +3 -3
- package/dist/{orchestration-Bto5Nc1Y.js.map → orchestration-C_hyBL90.js.map} +1 -1
- package/dist/origin-9bOjyzvK.js +1 -0
- package/dist/{origin-BXtpcKP9.js → origin-B6GChVyp.js} +2 -2
- package/dist/{origin-BXtpcKP9.js.map → origin-B6GChVyp.js.map} +1 -1
- package/dist/{paths-DeFmYJhO.js → paths-CVXqt2tC.js} +3 -3
- package/dist/{paths-DeFmYJhO.js.map → paths-CVXqt2tC.js.map} +1 -1
- package/dist/paths-JIusmD6L.js +1 -0
- package/dist/{peer-mcp-personas-Dny0r5Am.js → peer-mcp-personas-Dgog_ZJ8.js} +54 -54
- package/dist/{peer-mcp-personas-Dny0r5Am.js.map → peer-mcp-personas-Dgog_ZJ8.js.map} +1 -1
- package/dist/{pi-DVud9eQn.js → pi-BZhnf1kx.js} +95 -35
- package/dist/pi-BZhnf1kx.js.map +1 -0
- package/dist/{pi-version-check-BeBB0Ny9.js → pi-version-check-BRt9XFLj.js} +4 -4
- package/dist/{pi-version-check-BeBB0Ny9.js.map → pi-version-check-BRt9XFLj.js.map} +1 -1
- package/dist/pi-version-check-SH1X9u4H.js +1 -0
- package/dist/{plan-review-hook-D_yyjOgO.js → plan-review-hook-Dx3suYmK.js} +4 -4
- package/dist/{plan-review-hook-D_yyjOgO.js.map → plan-review-hook-Dx3suYmK.js.map} +1 -1
- package/dist/{provision-BWtuDq_v.js → provision-A1YSravb.js} +6 -6
- package/dist/{provision-BWtuDq_v.js.map → provision-A1YSravb.js.map} +1 -1
- package/dist/{rerank-cross-encoder-BhjImuwG.js → rerank-cross-encoder-uqRu-LOe.js} +2 -2
- package/dist/{rerank-cross-encoder-BhjImuwG.js.map → rerank-cross-encoder-uqRu-LOe.js.map} +1 -1
- package/dist/{self-invocation-Dnq4iVD6.js → self-invocation-CayD3y72.js} +2 -2
- package/dist/{self-invocation-Dnq4iVD6.js.map → self-invocation-CayD3y72.js.map} +1 -1
- package/dist/{serve-B8Igr9Q0.js → serve-Cv3S3PFR.js} +17 -17
- package/dist/{serve-B8Igr9Q0.js.map → serve-Cv3S3PFR.js.map} +1 -1
- package/dist/{server-setup-byIhjgOb.js → server-setup--CYeBD-Z.js} +14 -14
- package/dist/{server-setup-byIhjgOb.js.map → server-setup--CYeBD-Z.js.map} +1 -1
- package/dist/{service-backend-BdhWVRSz.js → service-backend-EgwiO_K-.js} +6 -6
- package/dist/{service-backend-BdhWVRSz.js.map → service-backend-EgwiO_K-.js.map} +1 -1
- package/dist/{start-7CiQIl0r.js → start-CA0JsO56.js} +5 -5
- package/dist/{start-7CiQIl0r.js.map → start-CA0JsO56.js.map} +1 -1
- package/dist/{static-context-pack-BKFelEbM.js → static-context-pack-BIru_SKh.js} +142 -142
- package/dist/{static-context-pack-BKFelEbM.js.map → static-context-pack-BIru_SKh.js.map} +1 -1
- package/dist/{stop-gate-hook-DBOj0TqL.js → stop-gate-hook-Ba_RvZAj.js} +4 -4
- package/dist/{stop-gate-hook-DBOj0TqL.js.map → stop-gate-hook-Ba_RvZAj.js.map} +1 -1
- package/dist/{stop-gate-policy-Bp2wGh_W.js → stop-gate-policy-gW0a0hds.js} +3 -3
- package/dist/{stop-gate-policy-Bp2wGh_W.js.map → stop-gate-policy-gW0a0hds.js.map} +1 -1
- package/dist/{token-Ygd7D32L.js → token-BCzbNu8O.js} +3 -3
- package/dist/{token-Ygd7D32L.js.map → token-BCzbNu8O.js.map} +1 -1
- package/dist/{token-CKPOBdO0.js → token-CxKcs3I_.js} +2 -2
- package/dist/{token-CKPOBdO0.js.map → token-CxKcs3I_.js.map} +1 -1
- package/dist/{update-T1L7yFon.js → update-CM1yUCJR.js} +4 -4
- package/dist/{update-T1L7yFon.js.map → update-CM1yUCJR.js.map} +1 -1
- package/dist/update-Cpg-tbJG.js +1 -0
- package/dist/{update-fEgWTrIx.js → update-ZqCRVU0a.js} +4 -4
- package/dist/{update-fEgWTrIx.js.map → update-ZqCRVU0a.js.map} +1 -1
- package/dist/{worker-dispatch-DBWKTMda.js → worker-dispatch-DHZAfPO2.js} +2 -2
- package/dist/{worker-dispatch-DBWKTMda.js.map → worker-dispatch-DHZAfPO2.js.map} +1 -1
- package/dist/{workiq-D5b7xlbr.js → workiq-CRBVCUA4.js} +2 -2
- package/dist/{workiq-D5b7xlbr.js.map → workiq-CRBVCUA4.js.map} +1 -1
- package/dist/{workiq-tools-DdiQ2DOW.js → workiq-tools-BsoHfdYi.js} +1 -1
- package/package.json +1 -1
- package/dist/ado-tools-CsfbnY8x.js +0 -1
- package/dist/bluebird-client-BvoMTmEv.js +0 -1
- package/dist/claude-md-injection-DNMDcw1W.js.map +0 -1
- package/dist/engine-B6la_uIW.js +0 -1
- package/dist/exec-BC0MAnoA.js.map +0 -1
- package/dist/lifecycle-BOjgq9_l.js +0 -1
- package/dist/lifecycle-NQvr4flt.js +0 -1
- package/dist/optional-DGAeyguL.js.map +0 -1
- package/dist/origin-DbFUCiGp.js +0 -1
- package/dist/paths-CquOjytP.js +0 -1
- package/dist/pi-DVud9eQn.js.map +0 -1
- package/dist/pi-version-check-D5RvdLsG.js +0 -1
- package/dist/update-CB21YRKz.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as PATHS } from "./paths-CVXqt2tC.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { n as explicitPackageRoot } from "./package-root-BXgdIM3q.js";
|
|
2
2
|
import { t as getPackageVersion } from "./version-CTqwKr26.js";
|
|
3
|
-
import { t as PATHS } from "./paths-
|
|
3
|
+
import { t as PATHS } from "./paths-CVXqt2tC.js";
|
|
4
4
|
import { t as state } from "./state-CCGDJ43X.js";
|
|
5
|
-
import { C as copilotHeaders, E as githubAgentHeaders, S as copilotBaseUrl, T as githubAgentGraphQLHeaders, _ as isAllowedCopilotHost, b as GITHUB_API_BASE_URL, f as resolveModel, i as tryRefreshAndRetry, p as sleep$3, v as HTTPError, w as copilotVersion, x as GITHUB_GRAPHQL_URL } from "./token-
|
|
5
|
+
import { C as copilotHeaders, E as githubAgentHeaders, S as copilotBaseUrl, T as githubAgentGraphQLHeaders, _ as isAllowedCopilotHost, b as GITHUB_API_BASE_URL, f as resolveModel, i as tryRefreshAndRetry, p as sleep$3, v as HTTPError, w as copilotVersion, x as GITHUB_GRAPHQL_URL } from "./token-CxKcs3I_.js";
|
|
6
6
|
import { a as withTransientRetry, i as sanitizeTransportText, n as classifyTransportError, r as fetchWithTransientRetry } from "./upstream-retry-VNR-bCuT.js";
|
|
7
|
-
import { a as parseBoolEnv, d as runManagedExeCapture, o as parseIntEnv, s as resolveExecutable } from "./exec-
|
|
8
|
-
import {
|
|
9
|
-
import { A as CHEAPEST2_PROFILE_MODELS, C as localContractFor, F as CHEAPEST_PROFILE_ADVISOR_TRANSCRIPT_TOKENS_MIN, I as CHEAPEST_PROFILE_MODELS, M as CHEAPEST_PROFILE_ADVISOR_MODEL, N as CHEAPEST_PROFILE_ADVISOR_TRANSCRIPT_TOKENS_DEFAULT, P as CHEAPEST_PROFILE_ADVISOR_TRANSCRIPT_TOKENS_MAX, T as LOCAL_PROFILE_LEAD_MODEL, _ as isBalancedFamily, a as decidePromptSubmitV2, b as isLocalFamily, c as CHEAPEST_REWRITE_EFFORT, f as balancedContractFor, g as displayModelName, h as consultIsLocalTransport, k as LOCAL_CONSULT_MAX_OUTPUT_TOKENS, m as cheapestRewriteModelFor, p as cheapestContractFor, t as buildStaticPack, u as isCheapestRewriteDisabledEnv, v as isCheapestFamily, w as BALANCED2_PROFILE_MODELS, x as isPinnedLaunchProfile, y as isCheaplocalProfile } from "./static-context-pack-BKFelEbM.js";
|
|
7
|
+
import { a as parseBoolEnv, d as runManagedExeCapture, o as parseIntEnv, s as resolveExecutable } from "./exec-oCtz_dXO.js";
|
|
8
|
+
import { A as maxPeerDescription, S as normalizeTrailingOneMSuffix, b as fastEndpointForCatalogId, f as maxCodexReviewerModel, g as maxProReplacementModel, h as maxOpusModel, i as MAX_PROFILE_MODELS, j as maxPeerInstructions, m as maxGrokModel, p as maxGeminiModel, r as MAX_PROFILE_LEAD_MODEL, v as maxSonnetModel, w as MAX_ADVISOR_SYSTEM_PROMPT, x as fastEndpointForModel } from "./max-profile-contract-CEn8hKb3.js";
|
|
10
9
|
import { r as BALANCED_PROFILE_MODELS } from "./balanced-profile-contract-B6pSoWjm.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
10
|
+
import { C as localContractFor, F as CHEAPEST_PROFILE_MODELS, M as CHEAPEST_PROFILE_ADVISOR_TRANSCRIPT_TOKENS_DEFAULT, N as CHEAPEST_PROFILE_ADVISOR_TRANSCRIPT_TOKENS_MAX, O as LOCAL_CONSULT_MAX_OUTPUT_TOKENS, P as CHEAPEST_PROFILE_ADVISOR_TRANSCRIPT_TOKENS_MIN, R as BALANCED2_PROFILE_MODELS, _ as isBalancedFamily, a as decidePromptSubmitV2, b as isLocalFamily, c as CHEAPEST_REWRITE_EFFORT, f as balancedContractFor, g as displayModelName, h as consultIsLocalTransport, j as CHEAPEST_PROFILE_ADVISOR_MODEL, k as CHEAPEST2_PROFILE_MODELS, m as cheapestRewriteModelFor, p as cheapestContractFor, t as buildStaticPack, u as isCheapestRewriteDisabledEnv, v as isCheapestFamily, w as LOCAL_PROFILE_LEAD_MODEL, x as isPinnedLaunchProfile, y as isCheaplocalProfile } from "./static-context-pack-BIru_SKh.js";
|
|
11
|
+
import { a as FAST_PROFILE_ASTRA_MODEL, c as FAST_PROFILE_MODELS, d as FAST_PROFILE_NATIVE_MODELS, f as FAST_PROFILE_ORACLE_EFFORT, n as FAST_PROFILE_ADVISOR_EFFORT, p as FAST_PROFILE_ORACLE_MODEL, r as FAST_PROFILE_ADVISOR_MODEL, u as FAST_PROFILE_NATIVE_EFFORTS } from "./fast-profile-contract-BLnKg0Ay.js";
|
|
12
|
+
import { i as registerExitHandlers$1, n as getInstanceUuid, r as recordWorkerRepo, t as WorktreeRegistry } from "./lifecycle-BmoqtVj3.js";
|
|
13
|
+
import { t as MCP_WORKSPACE_HEADER } from "./mcp-workspace-header-lb7GV78v.js";
|
|
14
14
|
import { n as ArtifactError, r as applyInsecureTls, t as ArtifactClient } from "./client-Bjp3XAMK.js";
|
|
15
|
-
import { f as stopReviewStateDir, n as fileFindingsStore, o as fileRewriteFlagStore, r as fileLastPromptStore } from "./stop-gate-policy-
|
|
16
|
-
import { _ as RemoteMcpError, b as sanitizeRemoteDetail, f as getAzureRepoFromGit, g as RemoteMcpClient, h as describeAzFailure, l as ensureBluebirdClient, m as AzCliAccessTokenCache, o as BluebirdError, p as resolveAzureRepoIds, v as isRecord$4, x as sleep$4, y as parseRetryAfter } from "./bluebird-client-
|
|
17
|
-
import { A as validateWorkspace, C as provisionColbert, D as colbertPlatformSupported, F as outlineFile, M as isSensitivePath, N as recommendedRgThreads, O as resolveRipgrep, S as colbertSmokeOk, _ as gitState, d as runSemanticSearch, f as startupKickAllowed, j as confineToWorkspaceResult, k as searchCode, o as serviceBackendEnabled, r as runServiceSearch, u as kickBackgroundInit, x as colbertArtifactsPresent, y as readColbertMeta } from "./service-backend-
|
|
18
|
-
import { r as registerColbertExitHandlers } from "./lifecycle-
|
|
19
|
-
import { a as extractAndRecordPricedAic, i as extractAndRecordAic, l as recordAic, m as extractCopilotUsage, u as recordZeroCostRequest } from "./aic-ledger-
|
|
20
|
-
import { d as WORKIQ_READ_TOOLS, f as WORKIQ_RETRIEVAL_CONTENT_TYPE, i as ensureWorkiqToken, m as WORKIQ_WRITE_TOOLS, n as WorkiqAuthError, t as AUTH_REMEDY, u as WORKIQ_PROTOCOL_VERSION } from "./token-
|
|
21
|
-
import { h as runGateChecks, m as sealedGateIds, p as resolveSealedGate } from "./stop-gate-hook-
|
|
22
|
-
import { t as liveExec } from "./orchestration-
|
|
15
|
+
import { f as stopReviewStateDir, n as fileFindingsStore, o as fileRewriteFlagStore, r as fileLastPromptStore } from "./stop-gate-policy-gW0a0hds.js";
|
|
16
|
+
import { _ as RemoteMcpError, b as sanitizeRemoteDetail, f as getAzureRepoFromGit, g as RemoteMcpClient, h as describeAzFailure, l as ensureBluebirdClient, m as AzCliAccessTokenCache, o as BluebirdError, p as resolveAzureRepoIds, v as isRecord$4, x as sleep$4, y as parseRetryAfter } from "./bluebird-client-bykMZyn1.js";
|
|
17
|
+
import { A as validateWorkspace, C as provisionColbert, D as colbertPlatformSupported, F as outlineFile, M as isSensitivePath, N as recommendedRgThreads, O as resolveRipgrep, S as colbertSmokeOk, _ as gitState, d as runSemanticSearch, f as startupKickAllowed, j as confineToWorkspaceResult, k as searchCode, o as serviceBackendEnabled, r as runServiceSearch, u as kickBackgroundInit, x as colbertArtifactsPresent, y as readColbertMeta } from "./service-backend-EgwiO_K-.js";
|
|
18
|
+
import { r as registerColbertExitHandlers } from "./lifecycle-CwxOsp-U.js";
|
|
19
|
+
import { a as extractAndRecordPricedAic, i as extractAndRecordAic, l as recordAic, m as extractCopilotUsage, u as recordZeroCostRequest } from "./aic-ledger-Bz87EuHl.js";
|
|
20
|
+
import { d as WORKIQ_READ_TOOLS, f as WORKIQ_RETRIEVAL_CONTENT_TYPE, i as ensureWorkiqToken, m as WORKIQ_WRITE_TOOLS, n as WorkiqAuthError, t as AUTH_REMEDY, u as WORKIQ_PROTOCOL_VERSION } from "./token-BCzbNu8O.js";
|
|
21
|
+
import { h as runGateChecks, m as sealedGateIds, p as resolveSealedGate } from "./stop-gate-hook-Ba_RvZAj.js";
|
|
22
|
+
import { t as liveExec } from "./orchestration-C_hyBL90.js";
|
|
23
23
|
import { createRequire } from "node:module";
|
|
24
24
|
import consola from "consola";
|
|
25
25
|
import { chmodSync, closeSync, constants, cpSync, existsSync, mkdirSync, openSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync, writeSync } from "node:fs";
|
|
@@ -39,6 +39,41 @@ import { Type } from "typebox";
|
|
|
39
39
|
import "partial-json";
|
|
40
40
|
import { Compile } from "typebox/compile";
|
|
41
41
|
import { Value } from "typebox/value";
|
|
42
|
+
// src/lib/local-consult-redaction.ts
|
|
43
|
+
/**
|
|
44
|
+
* The two halves of the redaction contract that surrounds a local consult.
|
|
45
|
+
*
|
|
46
|
+
* A leaf module on purpose: these strings are prompt text, and the prompt
|
|
47
|
+
* builders (`claude-md-injection`, `codex-mcp-config`) must be able to embed
|
|
48
|
+
* them without importing `local-egress`, which drags the Copilot service layer
|
|
49
|
+
* into launch-time prose generation. `local-egress` re-exports both, so a
|
|
50
|
+
* caller that already holds the egress graph imports them from there.
|
|
51
|
+
*
|
|
52
|
+
* Nothing here names the endpoint, a model, a window or an effort: the
|
|
53
|
+
* instruction is about what the caller puts in the brief, and it must read the
|
|
54
|
+
* same on every front-end.
|
|
55
|
+
*/
|
|
56
|
+
/**
|
|
57
|
+
* One line on every caller-facing local-consult surface: redact before you
|
|
58
|
+
* write.
|
|
59
|
+
*
|
|
60
|
+
* A prompt instruction, not a filter. The proxy cannot tell a credential from
|
|
61
|
+
* an identifier, so a mechanical scrub would either miss secrets or corrupt the
|
|
62
|
+
* code excerpts the consult depends on; the caller is the only party holding
|
|
63
|
+
* the context that distinguishes them. It names the shapes that matter and
|
|
64
|
+
* nothing about the endpoint, so it reads the same on the Advisor, the Oracle,
|
|
65
|
+
* and both of their consultants' own prompts.
|
|
66
|
+
*/
|
|
67
|
+
const LOCAL_CONSULT_REDACTION_LINE = "Replace every credential, token, key, password, and connection string with a placeholder, and keep secret file contents out of the transcript: the consultant needs the shape of the problem, never the value.";
|
|
68
|
+
/**
|
|
69
|
+
* The consultant half of {@link LOCAL_CONSULT_REDACTION_LINE}.
|
|
70
|
+
*
|
|
71
|
+
* Both sides carry it because the instruction is only half a contract on one
|
|
72
|
+
* side: a consultant that asks for the real value would undo the caller's care,
|
|
73
|
+
* and a consultant that treats a placeholder as a literal string would answer
|
|
74
|
+
* the wrong question.
|
|
75
|
+
*/
|
|
76
|
+
const LOCAL_CONSULT_REDACTION_NOTE = "Any credential in the material you receive has been replaced with a placeholder; treat it as an unknown value and do not ask for the real one.";
|
|
42
77
|
// src/lib/cheap-profile-contract.ts
|
|
43
78
|
/**
|
|
44
79
|
* Fixed identities for the literal `github-router claude -m cheap` and
|
|
@@ -731,41 +766,6 @@ function collapsePathKeys(env) {
|
|
|
731
766
|
env[process.platform === "win32" ? "Path" : "PATH"] = bestValue;
|
|
732
767
|
return env;
|
|
733
768
|
}
|
|
734
|
-
// src/lib/local-consult-redaction.ts
|
|
735
|
-
/**
|
|
736
|
-
* The two halves of the redaction contract that surrounds a local consult.
|
|
737
|
-
*
|
|
738
|
-
* A leaf module on purpose: these strings are prompt text, and the prompt
|
|
739
|
-
* builders (`claude-md-injection`, `codex-mcp-config`) must be able to embed
|
|
740
|
-
* them without importing `local-egress`, which drags the Copilot service layer
|
|
741
|
-
* into launch-time prose generation. `local-egress` re-exports both, so a
|
|
742
|
-
* caller that already holds the egress graph imports them from there.
|
|
743
|
-
*
|
|
744
|
-
* Nothing here names the endpoint, a model, a window or an effort: the
|
|
745
|
-
* instruction is about what the caller puts in the brief, and it must read the
|
|
746
|
-
* same on every front-end.
|
|
747
|
-
*/
|
|
748
|
-
/**
|
|
749
|
-
* One line on every caller-facing local-consult surface: redact before you
|
|
750
|
-
* write.
|
|
751
|
-
*
|
|
752
|
-
* A prompt instruction, not a filter. The proxy cannot tell a credential from
|
|
753
|
-
* an identifier, so a mechanical scrub would either miss secrets or corrupt the
|
|
754
|
-
* code excerpts the consult depends on; the caller is the only party holding
|
|
755
|
-
* the context that distinguishes them. It names the shapes that matter and
|
|
756
|
-
* nothing about the endpoint, so it reads the same on the Advisor, the Oracle,
|
|
757
|
-
* and both of their consultants' own prompts.
|
|
758
|
-
*/
|
|
759
|
-
const LOCAL_CONSULT_REDACTION_LINE = "Replace every credential, token, key, password, and connection string with a placeholder, and keep secret file contents out of the transcript: the consultant needs the shape of the problem, never the value.";
|
|
760
|
-
/**
|
|
761
|
-
* The consultant half of {@link LOCAL_CONSULT_REDACTION_LINE}.
|
|
762
|
-
*
|
|
763
|
-
* Both sides carry it because the instruction is only half a contract on one
|
|
764
|
-
* side: a consultant that asks for the real value would undo the caller's care,
|
|
765
|
-
* and a consultant that treats a placeholder as a literal string would answer
|
|
766
|
-
* the wrong question.
|
|
767
|
-
*/
|
|
768
|
-
const LOCAL_CONSULT_REDACTION_NOTE = "Any credential in the material you receive has been replaced with a placeholder; treat it as an unknown value and do not ask for the real one.";
|
|
769
769
|
// src/lib/artifact/tools.ts
|
|
770
770
|
const ARTIFACT_GROUP = "peers";
|
|
771
771
|
const ARTIFACT_POLL_TOOL_BUDGET_MS = 5e4;
|
|
@@ -17979,7 +17979,7 @@ function logAudit$1(record) {
|
|
|
17979
17979
|
try {
|
|
17980
17980
|
const fs = await import("node:fs/promises");
|
|
17981
17981
|
const path = await import("node:path");
|
|
17982
|
-
const { PATHS } = await import("./paths-
|
|
17982
|
+
const { PATHS } = await import("./paths-JIusmD6L.js");
|
|
17983
17983
|
const dir = path.join(PATHS.APP_DIR, "browser-mcp");
|
|
17984
17984
|
await fs.mkdir(dir, { recursive: true });
|
|
17985
17985
|
const line = JSON.stringify({
|
|
@@ -38937,6 +38937,6 @@ function enumerateInjectedMcpToolNames(groupKeys, opts = {}) {
|
|
|
38937
38937
|
if (opts.codexCli) names.push("mcp__codex-cli__codex");
|
|
38938
38938
|
return [...new Set(names)];
|
|
38939
38939
|
}
|
|
38940
|
-
export { buildAnthropicErrorEvent as $,
|
|
38940
|
+
export { buildAnthropicErrorEvent as $, UPSTREAM_INACTIVITY_TIMEOUT_MS as $n, nativeSubagentModel as $t, TOOLBELT_TOOLS$1 as A, parseJsonOrDiagnose as An, brainstormModel as At, FAST_ADVISOR_TOOL_INSTRUCTIONS as B, colbertDegradedWarning as Bn, cloudAgentToolsEnabled as Bt, runWorkerAgent as C, assembleResponsesPayload as Cn, ADO_DEFAULT_TOOLSETS as Ct, toolbeltEnabled as D, createChatCompletions as Dn, artifactToolsEnabled as Dt, buildToolbeltAwareness as E, createResponses as En, agentToolsEnabled as Et, ADVISOR_TOOL_INSTRUCTIONS as F, normalizeKustoClusterUri as Fn, cheapOracleModel as Ft, isAdvisorRequested as G, toolbeltPathOverride as Gn, fastPlanModel as Gt, LOCAL_REVIEWER_ADVISOR_TOOL_INSTRUCTIONS as H, semanticSearchOptedIn as Hn, fastAstraModel as Ht, CHEAPEST_ADVISOR_TOOL_INSTRUCTIONS as I, CONDENSED_OPERATING_SEQUENCE as In, cheapReviewerModel as It, resolveCuratedAdvisorModel as J, DEFAULT_CLAUDE_MODEL_FALLBACKS as Jn, fleetToolsEnabled as Jt, resolveAdvisorEffort as K, BUDGET_SMALL_FAST_CATALOG_ID as Kn, fastReviewerModel as Kt, CHEAPEST_REVIEWER_ADVISOR_TOOL_INSTRUCTIONS as L, DEFINITION_OF_GREATNESS as Ln, cheapestAdvisorModel as Lt, satisfiesMinVersion as M, provisionBrowserAssets as Mn, browserCompoundToolsEnabled as Mt, searchWeb as N, hasSupportedBrowserInstalled as Nn, browserToolsEnabled as Nt, toolbeltSkipSet as O, MAX_RESPONSE_BODY_BYTES as On, balancedOracleModel as Ot, ADVISOR_INTERNAL_TOOL_NAME as P, normalizeCloudAgentEnvironment as Pn, cheapAdvisorModel as Pt, repairRejectedThinkingHistory as Q, UPSTREAM_FETCH_TIMEOUT_MS as Qn, kustoToolsEnabled as Qt, CHEAPLOCAL_ADVISOR_TOOL_INSTRUCTIONS as R, assertCopilotModelAllowed as Rn, cheapestOracleModel as Rt, resolveWorkerRunOpts as S, unregisterLaunch as Sn, provisionAdoTools as St, availableToolCommands as T, resolveMcpToolTimeoutMs as Tn, adoToolsEnabled as Tt, buildAdvisorStream as U, shouldUseInsecureTls as Un, fastGeneralPurposeModel as Ut, LOCAL_ADVISOR_TOOL_INSTRUCTIONS as V, provisionAndIndexColbert as Vn, fastAdvisorModel as Vt, injectAdvisorTool as W, collapsePathKeys as Wn, fastOracleModel as Wt, rememberThinkingHistoryRepair as X, DEFAULT_CODEX_MODEL_FALLBACKS as Xn, generalPurposeFastModel as Xt, formatThinkingRepairDecline as Y, DEFAULT_CODEX_MODEL as Yn, geminiAvailable as Yt, repairKnownThinkingHistory as Z, DEFAULT_PORT as Zn, implementerFastModel as Zt, REVIEW_DEFAULT_MODEL as _, LAUNCH_BOUND_TOKEN_PREFIX as _n, LOCAL_CONSULT_REDACTION_LINE as _r, provisionWorkiqTools as _t, buildAgentPrompt as a, standInToolEnabled as an, upstreamMaxConnections as ar, EFFORT_ORDER as at, resolveDefaultModel as b, registerLaunch as bn, buildAdoToolEntries as bt, enumerateInjectedMcpToolNames as c, shimDefaultsToXhigh as cn, oneMContextDisabled as cr, clampEffort as ct, BROWSE_DEFAULT_MODEL as d, getTokenizerFromModel as dn, CHEAP_PROFILE_ADVISOR_CLIENT_MODEL as dr, normalizeAnthropicUsageInPlace as dt, resolveGeminiReviewModel as en, generateRandomPort as er, buildOpenAIErrorEvent as et, DEFAULT_MODEL_CHAIN as f, configureLocalEgress as fn, CHEAP_PROFILE_MODELS as fr, handleMcpDelete as ft, PLAN_DEFAULT_MODEL as g, createMessages as gn, CHEAP_PROFILE_SUBAGENT_CONTEXT_TOKENS as gr, disposeWorkiqClients as gt, IMPLEMENT_DEFAULT_MODEL as h, countTokens as hn, CHEAP_PROFILE_NATIVE_MODELS as hr, buildWorkiqToolEntries as ht, assertMcpToolSurfaceConsistent as i, scribeModel as in, upstreamAllowH2 as ir, relayAnthropicStream as it, assetFor as j, normalizeOpenAIUsage as jn, browseAgentEnabled as jt, vscodeRipgrepPath as k, readResponseBodyCapped as kn, balancedReviewerModel as kt, maxPersonasFor as l, getTextTokenCount as ln, withOneMSuffix as lr, anthropicUsageNormalizeDisabled as lt, EXPLORE_DEFAULT_THINKING as m, localSessionId as mn, CHEAP_PROFILE_NATIVE_EFFORTS as mr, WORKIQ_TOOL_ALIASES as mt, MCP_GROUPS as n, reviewerModel as nn, pickClaudeDefault as nr, logStreamError as nt, buildPeerAwarenessSnippet as o, workerToolsEnabled as on, classifyMessagesRoute as or, UNKNOWN_EFFORT_ANCHOR as ot, EXPLORE_DEFAULT_MODEL as p, localBaseUrl as pn, CHEAP_PROFILE_NATIVE_AGENT_NAMES as pr, handleMcpPost as pt, resolveAdvisorModel as q, BUDGET_SMALL_FAST_SLUG as qn, fastScoutModel as qt, agentNamesForToolAllowlist as r, scoutModel as rn, resolveLeadSlugArg as rr, readIteratorWithTimeout as rt, buildPeerAwarenessSummary as s, workiqToolsEnabled as sn, catalogAdvertises1M as sr, bucketEffort as st, GROUP_META as t, reviewerFastModel as tn, isBudgetClaudeLead as tr, isControllerClosedError as tt, personasFor as u, getTokenCount as un, withOneMSuffixForLead as ur, createAnthropicUsageRewriteTransform as ut, TEST_DEFAULT_MODEL as v, findLaunchBySecret as vn, LOCAL_CONSULT_REDACTION_NOTE as vr, workiqMcpToolEntries as vt, buildEnv as w, warnOnTokenPriceDrift as wn, normalizeAdoToolsets as wt, resolveModeDefaults as x, rememberLaunchSessionId as xn, disposeAdoClients as xt, appendPlanReminder as y, launchBoundAccessToken as yn, adoMcpToolEntries as yt, CHEAPLOCAL_REVIEWER_ADVISOR_TOOL_INSTRUCTIONS as z, effectiveLocalProfile as zn, cheapestReviewerModel as zt };
|
|
38941
38941
|
|
|
38942
|
-
//# sourceMappingURL=peer-mcp-personas-
|
|
38942
|
+
//# sourceMappingURL=peer-mcp-personas-Dgog_ZJ8.js.map
|