github-router 0.3.373 → 0.3.374
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/ado-tools-BOW1k1KW.js +1 -0
- package/dist/{aic-ledger-Cp7Yk9-Q.js → aic-ledger-CeSXqTEE.js} +5 -7
- package/dist/{aic-ledger-Cp7Yk9-Q.js.map → aic-ledger-CeSXqTEE.js.map} +1 -1
- package/dist/{aic-statusline-settings-B5EMMSFC.js → aic-statusline-settings-BKveu679.js} +3 -4
- package/dist/{aic-statusline-settings-B5EMMSFC.js.map → aic-statusline-settings-BKveu679.js.map} +1 -1
- package/dist/{attribution-settings-DZ8fEfvP.js → attribution-settings-BLTnz2_A.js} +33 -53
- package/dist/{attribution-settings-DZ8fEfvP.js.map → attribution-settings-BLTnz2_A.js.map} +1 -1
- package/dist/{auth-B1egtvt4.js → auth-BZHpTtfF.js} +5 -6
- package/dist/{auth-B1egtvt4.js.map → auth-BZHpTtfF.js.map} +1 -1
- package/dist/{balanced-profile-contract-Dm_usmw7.js → balanced-profile-contract-B6pSoWjm.js} +2 -3
- package/dist/{balanced-profile-contract-Dm_usmw7.js.map → balanced-profile-contract-B6pSoWjm.js.map} +1 -1
- package/dist/{bluebird-client-ByCRusGQ.js → bluebird-client-BasIdv5J.js} +8 -12
- package/dist/{bluebird-client-ByCRusGQ.js.map → bluebird-client-BasIdv5J.js.map} +1 -1
- package/dist/{bluebird-client-CY6NBHQu.js → bluebird-client-BvoMTmEv.js} +1 -1
- package/dist/browser-bridge/index.js +84 -55
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/{check-usage-T_z84Pgc.js → check-usage-BlIWDuV2.js} +5 -6
- package/dist/{check-usage-T_z84Pgc.js.map → check-usage-BlIWDuV2.js.map} +1 -1
- package/dist/{claude-8ksmV0dC.js → claude-DSXrdz0v.js} +37 -43
- package/dist/{claude-8ksmV0dC.js.map → claude-DSXrdz0v.js.map} +1 -1
- package/dist/{claude-md-injection-BnzVv_aB.js → claude-md-injection-DU5KYXNc.js} +6 -7
- package/dist/{claude-md-injection-BnzVv_aB.js.map → claude-md-injection-DU5KYXNc.js.map} +1 -1
- package/dist/{client-CQMfroGV.js → client-Bjp3XAMK.js} +3 -5
- package/dist/{client-CQMfroGV.js.map → client-Bjp3XAMK.js.map} +1 -1
- package/dist/{codex-C89FoaaG.js → codex-DGMUk65v.js} +10 -11
- package/dist/{codex-C89FoaaG.js.map → codex-DGMUk65v.js.map} +1 -1
- package/dist/{copilot-discount-T-cfWmc4.js → copilot-discount-CHNQLYDJ.js} +3 -4
- package/dist/{copilot-discount-T-cfWmc4.js.map → copilot-discount-CHNQLYDJ.js.map} +1 -1
- package/dist/{debug-DL2JsRqY.js → debug-1HUHCWFl.js} +3 -4
- package/dist/{debug-DL2JsRqY.js.map → debug-1HUHCWFl.js.map} +1 -1
- package/dist/engine-BC4TF4pt.js +1 -0
- package/dist/{exec-Bf8g_bIR.js → exec-BC0MAnoA.js} +2 -3
- package/dist/{exec-Bf8g_bIR.js.map → exec-BC0MAnoA.js.map} +1 -1
- package/dist/{fast-profile-contract-JOnZBgFB.js → fast-profile-contract-BLnKg0Ay.js} +2 -3
- package/dist/{fast-profile-contract-JOnZBgFB.js.map → fast-profile-contract-BLnKg0Ay.js.map} +1 -1
- package/dist/{gate-discovery-Bc9FdRwg.js → gate-discovery-DiXu_olc.js} +8 -10
- package/dist/{gate-discovery-Bc9FdRwg.js.map → gate-discovery-DiXu_olc.js.map} +1 -1
- package/dist/{get-copilot-usage-BSXeQEx8.js → get-copilot-usage-CKg42gSH.js} +5 -6
- package/dist/{get-copilot-usage-BSXeQEx8.js.map → get-copilot-usage-CKg42gSH.js.map} +1 -1
- package/dist/{hook-mcp-client-DERIkeR7.js → hook-mcp-client-CYx10nlU.js} +2 -3
- package/dist/hook-mcp-client-CYx10nlU.js.map +1 -0
- package/dist/hooks.mjs +1766 -1548
- package/dist/hooks.sha256 +1 -1
- package/dist/{index-cmd-DOhwt92u.js → index-cmd-BPXhTfGQ.js} +8 -9
- package/dist/index-cmd-BPXhTfGQ.js.map +1 -0
- package/dist/{internal-aic-status-CY0QxSa7.js → internal-aic-status-FQB1DQzX.js} +6 -8
- package/dist/{internal-aic-status-CY0QxSa7.js.map → internal-aic-status-FQB1DQzX.js.map} +1 -1
- package/dist/{internal-artifact-open-NAGn9Mgt.js → internal-artifact-open-DbHjipxU.js} +5 -7
- package/dist/{internal-artifact-open-NAGn9Mgt.js.map → internal-artifact-open-DbHjipxU.js.map} +1 -1
- package/dist/{internal-fast-dispatch-guard-De_DJOyZ.js → internal-fast-dispatch-guard-DMzqs-r8.js} +1 -1
- package/dist/{internal-fast-dispatch-guard-_n-A8hgo.js → internal-fast-dispatch-guard-PDdlkPU3.js} +6 -8
- package/dist/{internal-fast-dispatch-guard-_n-A8hgo.js.map → internal-fast-dispatch-guard-PDdlkPU3.js.map} +1 -1
- package/dist/{internal-first-mate-guard-GufCUMl3.js → internal-first-mate-guard-4Yro9xNM.js} +5 -7
- package/dist/{internal-first-mate-guard-GufCUMl3.js.map → internal-first-mate-guard-4Yro9xNM.js.map} +1 -1
- package/dist/{internal-first-mate-guard-C8GwLbaX.js → internal-first-mate-guard-BxPDUsV3.js} +1 -1
- package/dist/{internal-max-dispatch-guard-4rh6KSd8.js → internal-max-dispatch-guard-D3L00YXj.js} +5 -7
- package/dist/{internal-max-dispatch-guard-4rh6KSd8.js.map → internal-max-dispatch-guard-D3L00YXj.js.map} +1 -1
- package/dist/{internal-max-dispatch-guard-CKnzgJje.js → internal-max-dispatch-guard-fhBX_w49.js} +1 -1
- package/dist/{internal-plan-review-ChFx8wTX.js → internal-plan-review-BfHLeszV.js} +6 -7
- package/dist/{internal-plan-review-ChFx8wTX.js.map → internal-plan-review-BfHLeszV.js.map} +1 -1
- package/dist/{internal-prompt-submit-BW5g3MjD.js → internal-prompt-submit-BbnaMF2R.js} +7 -8
- package/dist/{internal-prompt-submit-BW5g3MjD.js.map → internal-prompt-submit-BbnaMF2R.js.map} +1 -1
- package/dist/{internal-prompt-submit-C4uDwr7G.js → internal-prompt-submit-DKzCckz-.js} +2 -2
- package/dist/{internal-rebrief-DvBS8myn.js → internal-rebrief-aEvxp7jw.js} +7 -9
- package/dist/{internal-rebrief-DvBS8myn.js.map → internal-rebrief-aEvxp7jw.js.map} +1 -1
- package/dist/{internal-session-bind-dsUOcKxU.js → internal-session-bind-pN1V11Mn.js} +3 -4
- package/dist/{internal-session-bind-dsUOcKxU.js.map → internal-session-bind-pN1V11Mn.js.map} +1 -1
- package/dist/{internal-stop-hook-nS91Jkda.js → internal-stop-hook-VQuOYpUC.js} +9 -10
- package/dist/{internal-stop-hook-nS91Jkda.js.map → internal-stop-hook-VQuOYpUC.js.map} +1 -1
- package/dist/{internal-stop-review-D_KEV_04.js → internal-stop-review-BWp-4XWW.js} +4 -5
- package/dist/{internal-stop-review-D_KEV_04.js.map → internal-stop-review-BWp-4XWW.js.map} +1 -1
- package/dist/{internal-worker-guard-DB6shBIn.js → internal-worker-guard-C9OZPgzu.js} +3 -4
- package/dist/{internal-worker-guard-DB6shBIn.js.map → internal-worker-guard-C9OZPgzu.js.map} +1 -1
- package/dist/{internal-workspace-header-DBg5Y7oN.js → internal-workspace-header-B4TXFBLU.js} +3 -4
- package/dist/{internal-workspace-header-DBg5Y7oN.js.map → internal-workspace-header-B4TXFBLU.js.map} +1 -1
- package/dist/lib/tree-sitter-pool/{lifecycle-Dx0SnP7Z.js → lifecycle-BPpOigPZ.js} +1 -2
- package/dist/lib/tree-sitter-pool/{lifecycle-C7W8D2lx.js → lifecycle-C3vsqXjS.js} +1 -3
- package/dist/lib/tree-sitter-pool/worker.js +29 -35
- package/dist/lifecycle-BENRuuX6.js +1 -0
- package/dist/{lifecycle-K9oVtGde.mjs → lifecycle-DBKu1T5r.mjs} +0 -1
- package/dist/{lifecycle-Gge2Dadd.js → lifecycle-Dh9y8OF1.js} +3 -4
- package/dist/{lifecycle-Gge2Dadd.js.map → lifecycle-Dh9y8OF1.js.map} +1 -1
- package/dist/lifecycle-Dli9vGI2.js +1 -0
- package/dist/{lifecycle-9nX09dBl.js → lifecycle-vjHAFCaY.js} +4 -6
- package/dist/{lifecycle-9nX09dBl.js.map → lifecycle-vjHAFCaY.js.map} +1 -1
- package/dist/main.js +26 -27
- package/dist/{max-profile-contract-CRj7N211.js → max-profile-contract-DLLTsSs2.js} +5 -8
- package/dist/{max-profile-contract-CRj7N211.js.map → max-profile-contract-DLLTsSs2.js.map} +1 -1
- package/dist/{mcp-workspace-header-Xw9B1W6T.js → mcp-workspace-header-C5-dOWNa.js} +3 -4
- package/dist/{mcp-workspace-header-Xw9B1W6T.js.map → mcp-workspace-header-C5-dOWNa.js.map} +1 -1
- package/dist/{models-Ca-HQTYi.js → models-B6nH1sS6.js} +4 -5
- package/dist/{models-Ca-HQTYi.js.map → models-B6nH1sS6.js.map} +1 -1
- package/dist/{orchestration-D3-2ulhX.js → orchestration-B93jxrWI.js} +4 -5
- package/dist/{orchestration-D3-2ulhX.js.map → orchestration-B93jxrWI.js.map} +1 -1
- package/dist/{package-root-B-osctCk.js → package-root-BXgdIM3q.js} +2 -3
- package/dist/{package-root-B-osctCk.js.map → package-root-BXgdIM3q.js.map} +1 -1
- package/dist/paths-Be9_ujQ3.js +1 -0
- package/dist/{paths-C5477RGC.js → paths-CVEO8jEH.js} +5 -7
- package/dist/{paths-C5477RGC.js.map → paths-CVEO8jEH.js.map} +1 -1
- package/dist/{peer-mcp-personas-BSxDj9sJ.js → peer-mcp-personas-Cv21q_YR.js} +244 -372
- package/dist/peer-mcp-personas-Cv21q_YR.js.map +1 -0
- package/dist/{pi-BglhJ6n_.js → pi-DI2QtaiZ.js} +26 -34
- package/dist/{pi-BglhJ6n_.js.map → pi-DI2QtaiZ.js.map} +1 -1
- package/dist/{pi-memory-bridge-DEU1SUDz.js → pi-memory-bridge-Dvj1T3e3.js} +2 -3
- package/dist/{pi-memory-bridge-DEU1SUDz.js.map → pi-memory-bridge-Dvj1T3e3.js.map} +1 -1
- package/dist/{plan-review-hook-C9K-em4D.js → plan-review-hook-MhjK92wq.js} +5 -6
- package/dist/{plan-review-hook-C9K-em4D.js.map → plan-review-hook-MhjK92wq.js.map} +1 -1
- package/dist/{provision-B0GNohdl.js → provision-CRmtV6ew.js} +10 -14
- package/dist/{provision-B0GNohdl.js.map → provision-CRmtV6ew.js.map} +1 -1
- package/dist/rolldown-runtime-D3PmRqjj.js +4 -0
- package/dist/{self-invocation-BtcGj-lY.js → self-invocation-DMUnXVGT.js} +5 -7
- package/dist/{self-invocation-BtcGj-lY.js.map → self-invocation-DMUnXVGT.js.map} +1 -1
- package/dist/{serve-BxZq9vNl.js → serve-DRASJ-ZO.js} +24 -30
- package/dist/{serve-BxZq9vNl.js.map → serve-DRASJ-ZO.js.map} +1 -1
- package/dist/{server-setup-BLdWCcby.js → server-setup-DldGizZR.js} +67 -117
- package/dist/{server-setup-BLdWCcby.js.map → server-setup-DldGizZR.js.map} +1 -1
- package/dist/{service-backend-BV2hHjuB.js → service-backend-Ce6b2XEe.js} +112 -130
- package/dist/service-backend-Ce6b2XEe.js.map +1 -0
- package/dist/{start-C3Zb8XMT.js → start-C0gngUPK.js} +6 -8
- package/dist/{start-C3Zb8XMT.js.map → start-C0gngUPK.js.map} +1 -1
- package/dist/{state-DzsaGHr9.js → state-CCGDJ43X.js} +2 -3
- package/dist/{state-DzsaGHr9.js.map → state-CCGDJ43X.js.map} +1 -1
- package/dist/{static-context-pack-CsOAC87F.js → static-context-pack-DwC69_VA.js} +14 -24
- package/dist/{static-context-pack-CsOAC87F.js.map → static-context-pack-DwC69_VA.js.map} +1 -1
- package/dist/{stop-gate-hook-DnLC09Lg.js → stop-gate-hook-CBVLD8iB.js} +9 -14
- package/dist/{stop-gate-hook-DnLC09Lg.js.map → stop-gate-hook-CBVLD8iB.js.map} +1 -1
- package/dist/{stop-gate-policy-Dx9c98_d.js → stop-gate-policy-BehNiNix.js} +4 -5
- package/dist/{stop-gate-policy-Dx9c98_d.js.map → stop-gate-policy-BehNiNix.js.map} +1 -1
- package/dist/{token-Dqjs5ixP.js → token-CPzYxU4Y.js} +16 -28
- package/dist/{token-Dqjs5ixP.js.map → token-CPzYxU4Y.js.map} +1 -1
- package/dist/{token-CVG0yI_j.js → token-DHEkiO4g.js} +3 -4
- package/dist/{token-CVG0yI_j.js.map → token-DHEkiO4g.js.map} +1 -1
- package/dist/{upstream-retry-i1k1Xai2.js → upstream-retry-VNR-bCuT.js} +2 -3
- package/dist/{upstream-retry-i1k1Xai2.js.map → upstream-retry-VNR-bCuT.js.map} +1 -1
- package/dist/{version-C8x2hQrZ.js → version-CTqwKr26.js} +3 -4
- package/dist/{version-C8x2hQrZ.js.map → version-CTqwKr26.js.map} +1 -1
- package/dist/{worker-dispatch-B1w2qfjX.js → worker-dispatch-C7RtNOXv.js} +3 -4
- package/dist/{worker-dispatch-B1w2qfjX.js.map → worker-dispatch-C7RtNOXv.js.map} +1 -1
- package/dist/{workiq-qnJR5_n2.js → workiq-CQauEAMc.js} +3 -4
- package/dist/{workiq-qnJR5_n2.js.map → workiq-CQauEAMc.js.map} +1 -1
- package/dist/{workiq-tools-C6LAF_vA.js → workiq-tools-7n2xXMrQ.js} +1 -1
- package/package.json +18 -15
- package/dist/ado-tools-WDyisN8w.js +0 -1
- package/dist/engine-C207cikp.js +0 -1
- package/dist/hook-mcp-client-DERIkeR7.js.map +0 -1
- package/dist/index-cmd-DOhwt92u.js.map +0 -1
- package/dist/lifecycle-C_CT13c9.js +0 -1
- package/dist/lifecycle-DibiH857.js +0 -1
- package/dist/paths-CEswtFj5.js +0 -1
- package/dist/peer-mcp-personas-BSxDj9sJ.js.map +0 -1
- package/dist/service-backend-BV2hHjuB.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as PATHS } from "./paths-
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
1
|
+
import { t as PATHS } from "./paths-CVEO8jEH.js";
|
|
2
|
+
import { i as sanitizeTransportText, r as fetchWithTransientRetry, t as TransportExhaustionError } from "./upstream-retry-VNR-bCuT.js";
|
|
3
|
+
import { t as state } from "./state-CCGDJ43X.js";
|
|
4
4
|
import consola from "consola";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import process$1 from "node:process";
|
|
9
|
-
|
|
9
|
+
// src/lib/api-config.ts
|
|
10
10
|
const standardHeaders = () => ({
|
|
11
11
|
"content-type": "application/json",
|
|
12
12
|
accept: "application/json"
|
|
@@ -68,8 +68,7 @@ const githubAgentGraphQLHeaders = (state, features) => ({
|
|
|
68
68
|
...githubAgentHeaders(state),
|
|
69
69
|
...features ? { "GraphQL-Features": features } : {}
|
|
70
70
|
});
|
|
71
|
-
|
|
72
|
-
//#region src/lib/error.ts
|
|
71
|
+
// src/lib/error.ts
|
|
73
72
|
var HTTPError = class extends Error {
|
|
74
73
|
response;
|
|
75
74
|
constructor(message, response) {
|
|
@@ -255,8 +254,7 @@ function resolveErrorType(status) {
|
|
|
255
254
|
if (status === 529) return "overloaded_error";
|
|
256
255
|
return "api_error";
|
|
257
256
|
}
|
|
258
|
-
|
|
259
|
-
//#region src/services/github/get-copilot-token.ts
|
|
257
|
+
// src/services/github/get-copilot-token.ts
|
|
260
258
|
/**
|
|
261
259
|
* Allowlist of hosts the router will trust as the Copilot API base URL.
|
|
262
260
|
* Anything else returned in `endpoints.api` (e.g. via a tampered or
|
|
@@ -399,8 +397,7 @@ const getCopilotToken = async (credentialOverride) => {
|
|
|
399
397
|
}
|
|
400
398
|
return data;
|
|
401
399
|
};
|
|
402
|
-
|
|
403
|
-
//#region src/services/github/get-device-code.ts
|
|
400
|
+
// src/services/github/get-device-code.ts
|
|
404
401
|
const DEFAULT_DEVICE_APP = {
|
|
405
402
|
clientId: GITHUB_CLIENT_ID,
|
|
406
403
|
scope: GITHUB_APP_SCOPES
|
|
@@ -417,8 +414,7 @@ async function getDeviceCode(app = DEFAULT_DEVICE_APP) {
|
|
|
417
414
|
if (!response.ok) throw new HTTPError("Failed to get device code", response);
|
|
418
415
|
return await response.json();
|
|
419
416
|
}
|
|
420
|
-
|
|
421
|
-
//#region src/services/github/get-user.ts
|
|
417
|
+
// src/services/github/get-user.ts
|
|
422
418
|
async function getGitHubUser() {
|
|
423
419
|
const response = await fetchWithTransientRetry(() => fetch(`${GITHUB_API_BASE_URL}/user`, { headers: {
|
|
424
420
|
authorization: `token ${state.githubToken}`,
|
|
@@ -427,15 +423,13 @@ async function getGitHubUser() {
|
|
|
427
423
|
if (!response.ok) throw new HTTPError("Failed to get GitHub user", response);
|
|
428
424
|
return await response.json();
|
|
429
425
|
}
|
|
430
|
-
|
|
431
|
-
//#region src/services/copilot/get-models.ts
|
|
426
|
+
// src/services/copilot/get-models.ts
|
|
432
427
|
const getModels = async () => {
|
|
433
428
|
const response = await fetchWithTransientRetry(() => tryRefreshAndRetry(() => fetch(`${copilotBaseUrl(state)}/models`, { headers: copilotHeaders(state) }), "/models"), { label: "/models" });
|
|
434
429
|
if (!response.ok) throw new HTTPError("Failed to get models", response);
|
|
435
430
|
return await response.json();
|
|
436
431
|
};
|
|
437
|
-
|
|
438
|
-
//#region src/services/get-copilot-version.ts
|
|
432
|
+
// src/services/get-copilot-version.ts
|
|
439
433
|
/**
|
|
440
434
|
* Last-resort floor when the lookup fails. A fallback must never become the
|
|
441
435
|
* cached steady state — see the note on `VSCODE_VERSION_FALLBACK` in
|
|
@@ -476,8 +470,7 @@ async function getCopilotChatVersionOrUndefined() {
|
|
|
476
470
|
clearTimeout(timeout);
|
|
477
471
|
}
|
|
478
472
|
}
|
|
479
|
-
|
|
480
|
-
//#region src/services/get-vscode-version.ts
|
|
473
|
+
// src/services/get-vscode-version.ts
|
|
481
474
|
/**
|
|
482
475
|
* Last-resort floor when the lookup fails. A fallback must never become the
|
|
483
476
|
* cached steady state, or a transient outage would freeze the version we
|
|
@@ -507,8 +500,7 @@ async function getVSCodeVersionOrUndefined() {
|
|
|
507
500
|
clearTimeout(timeout);
|
|
508
501
|
}
|
|
509
502
|
}
|
|
510
|
-
|
|
511
|
-
//#region src/lib/editor-version-cache.ts
|
|
503
|
+
// src/lib/editor-version-cache.ts
|
|
512
504
|
/**
|
|
513
505
|
* Disk-backed TTL cache for the EDITOR IDENTITY versions the proxy sends
|
|
514
506
|
* upstream: the VS Code version (`editor-version`) and the Copilot Chat
|
|
@@ -643,8 +635,7 @@ async function resolveEditorVersion(key, fetchFresh, fallback) {
|
|
|
643
635
|
if (typeof entry?.value === "string" && entry.value.length > 0) return entry.value;
|
|
644
636
|
return fallback;
|
|
645
637
|
}
|
|
646
|
-
|
|
647
|
-
//#region src/lib/utils.ts
|
|
638
|
+
// src/lib/utils.ts
|
|
648
639
|
const sleep = (ms) => new Promise((resolve) => {
|
|
649
640
|
setTimeout(resolve, ms);
|
|
650
641
|
});
|
|
@@ -862,8 +853,7 @@ const cacheCopilotVersion = async () => {
|
|
|
862
853
|
state.copilotVersion = version;
|
|
863
854
|
consola.info(`Using Copilot Chat version: ${version}`);
|
|
864
855
|
};
|
|
865
|
-
|
|
866
|
-
//#region src/services/github/poll-access-token.ts
|
|
856
|
+
// src/services/github/poll-access-token.ts
|
|
867
857
|
/**
|
|
868
858
|
* Per-attempt cap for a single device-code poll.
|
|
869
859
|
*
|
|
@@ -920,8 +910,7 @@ async function pollAccessToken(deviceCode, clientId = GITHUB_CLIENT_ID) {
|
|
|
920
910
|
if (lastFetchError !== void 0) throw new Error("Could not reach GitHub to complete device-code authorization. Check network/proxy/TLS settings and run auth again.", { cause: lastFetchError });
|
|
921
911
|
throw new Error("Device code expired. Please run auth again.");
|
|
922
912
|
}
|
|
923
|
-
|
|
924
|
-
//#region src/lib/token.ts
|
|
913
|
+
// src/lib/token.ts
|
|
925
914
|
const readGithubToken = () => fs.readFile(PATHS.GITHUB_TOKEN_PATH, "utf8");
|
|
926
915
|
/**
|
|
927
916
|
* Transient filesystem errors from a read that raced the temp+rename write.
|
|
@@ -1382,7 +1371,6 @@ async function warnIfAgentScopesInsufficient() {
|
|
|
1382
1371
|
consola.debug("Agent token scope check skipped:", err);
|
|
1383
1372
|
}
|
|
1384
1373
|
}
|
|
1385
|
-
//#endregion
|
|
1386
1374
|
export { copilotHeaders as C, githubHeaders as D, githubAgentHeaders as E, copilotBaseUrl as S, githubAgentGraphQLHeaders as T, isAllowedCopilotHost as _, writeTokenFileAtomic as a, GITHUB_API_BASE_URL as b, cacheVSCodeVersion as c, resolveCodexModel as d, resolveModel as f, credentialFingerprint as g, getGitHubUser as h, tryRefreshAndRetry as i, filterBetaHeader as l, getModels as m, setupGitHubAgentToken as n, cacheCopilotVersion as o, sleep as p, setupGitHubToken as r, cacheModels as s, setupCopilotToken as t, isNullish as u, HTTPError as v, copilotVersion as w, GITHUB_GRAPHQL_URL as x, forwardError as y };
|
|
1387
1375
|
|
|
1388
|
-
//# sourceMappingURL=token-
|
|
1376
|
+
//# sourceMappingURL=token-CPzYxU4Y.js.map
|