@sourcegraph/cody-web 0.22.0 → 0.23.1
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/{agent.worker-VO5wK83x.mjs → agent.worker-C1v6q8V7.mjs} +2653 -84315
- package/dist/agent.worker.js +2 -2
- package/dist/{browser-DkEqGCUH.mjs → browser-C8ruBrnx.mjs} +665 -409
- package/dist/child_process-C6OZyNb4.mjs +18 -0
- package/dist/{git-log-DdqxJM9P.mjs → git-log-BSwwZCWt.mjs} +3 -2
- package/dist/{index-DcT-K24B.mjs → index-CAyz-Vhx.mjs} +2 -2
- package/dist/index.js +1954 -1653
- package/dist/lib/components/CodyPromptTemplate.d.ts +28 -0
- package/dist/lib/components/CodyPromptTemplate.d.ts.map +1 -0
- package/dist/lib/components/skeleton/ChatSkeleton.d.ts +1 -0
- package/dist/lib/components/skeleton/ChatSkeleton.d.ts.map +1 -1
- package/dist/lib/index.d.ts +3 -0
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/types.d.ts +5 -0
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/style.css +355 -80
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/util-CBKiMezg.mjs +1811 -0
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ function getAugmentedNamespace(n2) {
|
|
|
29
29
|
});
|
|
30
30
|
return a4;
|
|
31
31
|
}
|
|
32
|
-
var define_process_default$
|
|
32
|
+
var define_process_default$7 = { env: {} };
|
|
33
33
|
var LIB;
|
|
34
34
|
(() => {
|
|
35
35
|
var t3 = { 470: (t22) => {
|
|
@@ -68,7 +68,7 @@ var LIB;
|
|
|
68
68
|
var n22 = { resolve: function() {
|
|
69
69
|
for (var t32, n3 = "", i3 = false, o2 = arguments.length - 1; o2 >= -1 && !i3; o2--) {
|
|
70
70
|
var s4;
|
|
71
|
-
o2 >= 0 ? s4 = arguments[o2] : (void 0 === t32 && (t32 = define_process_default$
|
|
71
|
+
o2 >= 0 ? s4 = arguments[o2] : (void 0 === t32 && (t32 = define_process_default$7.cwd()), s4 = t32), e22(s4), 0 !== s4.length && (n3 = s4 + "/" + n3, i3 = 47 === s4.charCodeAt(0));
|
|
72
72
|
}
|
|
73
73
|
return n3 = r22(n3, !i3), i3 ? n3.length > 0 ? "/" + n3 : "/" : n3.length > 0 ? n3 : ".";
|
|
74
74
|
}, normalize: function(t32) {
|
|
@@ -186,7 +186,7 @@ var LIB;
|
|
|
186
186
|
var n2 = {};
|
|
187
187
|
(() => {
|
|
188
188
|
let t22;
|
|
189
|
-
if (r2.r(n2), r2.d(n2, { URI: () => f2, Utils: () => P2 }), "object" == typeof define_process_default$
|
|
189
|
+
if (r2.r(n2), r2.d(n2, { URI: () => f2, Utils: () => P2 }), "object" == typeof define_process_default$7) t22 = "win32" === define_process_default$7.platform;
|
|
190
190
|
else if ("object" == typeof navigator) {
|
|
191
191
|
let e32 = navigator.userAgent;
|
|
192
192
|
t22 = e32.indexOf("Windows") >= 0;
|
|
@@ -3131,7 +3131,7 @@ function filter(predicate) {
|
|
|
3131
3131
|
});
|
|
3132
3132
|
};
|
|
3133
3133
|
}
|
|
3134
|
-
var define_process_default$
|
|
3134
|
+
var define_process_default$6 = { env: {} };
|
|
3135
3135
|
const cenv = defineEnvBuilder({
|
|
3136
3136
|
/**
|
|
3137
3137
|
* A proxy string that falls back to Node's HTTP_PROXY and HTTPS_PROXY if
|
|
@@ -3180,7 +3180,7 @@ const cenv = defineEnvBuilder({
|
|
|
3180
3180
|
*/
|
|
3181
3181
|
CODY_TESTING_LIMIT_MAX_TIMERS: (envValue, _2) => bool(envValue) ?? assigned(getEnv("VITEST")) ?? false
|
|
3182
3182
|
});
|
|
3183
|
-
const _env = typeof define_process_default$
|
|
3183
|
+
const _env = typeof define_process_default$6 !== "undefined" ? define_process_default$6.env : {};
|
|
3184
3184
|
function getEnv(key) {
|
|
3185
3185
|
const envValue = _env[key] ?? _env[key.toUpperCase()] ?? _env[key.toLowerCase()];
|
|
3186
3186
|
if (envValue === void 0) {
|
|
@@ -3441,7 +3441,21 @@ function isS2(arg) {
|
|
|
3441
3441
|
return false;
|
|
3442
3442
|
}
|
|
3443
3443
|
}
|
|
3444
|
-
|
|
3444
|
+
new URL("https://sourcegraph.com/cody/manage");
|
|
3445
|
+
const SG_WORKSPACES_URL = new URL("https://workspaces.sourcegraph.com");
|
|
3446
|
+
const Workspaces_Host_Prod = ".sourcegraph.app";
|
|
3447
|
+
const Workspaces_Host_Dev = ".sourcegraphdev.app";
|
|
3448
|
+
function isWorkspaceInstance(arg) {
|
|
3449
|
+
const url = typeof arg === "string" ? arg : arg == null ? void 0 : arg.endpoint;
|
|
3450
|
+
if (url === void 0) {
|
|
3451
|
+
return false;
|
|
3452
|
+
}
|
|
3453
|
+
try {
|
|
3454
|
+
return new URL(url).host.endsWith(Workspaces_Host_Prod) || new URL(url).host.endsWith(Workspaces_Host_Dev);
|
|
3455
|
+
} catch {
|
|
3456
|
+
return false;
|
|
3457
|
+
}
|
|
3458
|
+
}
|
|
3445
3459
|
function getAuthErrorMessage(error2) {
|
|
3446
3460
|
switch (error2.type) {
|
|
3447
3461
|
case "network-error":
|
|
@@ -3459,6 +3473,8 @@ function getAuthErrorMessage(error2) {
|
|
|
3459
3473
|
title: "Enterprise User Authentication Error",
|
|
3460
3474
|
message: `Based on your email address we think you may be an employee of ${error2.enterprise}. To get access to all your features please sign in through your organization's enterprise instance instead. If you need assistance please contact your Sourcegraph admin.`
|
|
3461
3475
|
};
|
|
3476
|
+
case "auth-config-error":
|
|
3477
|
+
return error2;
|
|
3462
3478
|
}
|
|
3463
3479
|
}
|
|
3464
3480
|
function isCodyProUser(authStatus2, sub) {
|
|
@@ -3506,6 +3522,85 @@ function isDotComAuthed() {
|
|
|
3506
3522
|
const authStatus2 = currentAuthStatusOrNotReadyYet();
|
|
3507
3523
|
return Boolean((authStatus2 == null ? void 0 : authStatus2.authenticated) && isDotCom(authStatus2));
|
|
3508
3524
|
}
|
|
3525
|
+
var define_process_default$5 = { env: {} };
|
|
3526
|
+
function normalizeServerEndpointURL(url) {
|
|
3527
|
+
return url.endsWith("/") ? url : `${url}/`;
|
|
3528
|
+
}
|
|
3529
|
+
async function executeCommand(cmd) {
|
|
3530
|
+
if (typeof define_process_default$5 === "undefined" || !define_process_default$5.version) {
|
|
3531
|
+
throw new Error("Command execution is only supported in Node.js environments");
|
|
3532
|
+
}
|
|
3533
|
+
const { exec } = await import("./child_process-C6OZyNb4.mjs");
|
|
3534
|
+
const { promisify } = await import("./util-CBKiMezg.mjs").then((n2) => n2.u);
|
|
3535
|
+
const execAsync = promisify(exec);
|
|
3536
|
+
const command = cmd.commandLine.join(" ");
|
|
3537
|
+
const { stdout } = await execAsync(command, {
|
|
3538
|
+
shell: cmd.shell,
|
|
3539
|
+
timeout: cmd.timeout,
|
|
3540
|
+
windowsHide: cmd.windowsHide,
|
|
3541
|
+
env: { ...define_process_default$5.env, ...cmd.environment }
|
|
3542
|
+
});
|
|
3543
|
+
return stdout.trim();
|
|
3544
|
+
}
|
|
3545
|
+
async function getExternalProviderAuthResult(serverEndpoint, authExternalProviders) {
|
|
3546
|
+
const externalProvider = authExternalProviders.find(
|
|
3547
|
+
(provider) => normalizeServerEndpointURL(provider.endpoint) === serverEndpoint
|
|
3548
|
+
);
|
|
3549
|
+
if (externalProvider) {
|
|
3550
|
+
const result = await executeCommand(externalProvider.executable);
|
|
3551
|
+
return JSON.parse(result);
|
|
3552
|
+
}
|
|
3553
|
+
return void 0;
|
|
3554
|
+
}
|
|
3555
|
+
async function resolveAuth(endpoint, configuration, clientSecrets) {
|
|
3556
|
+
const { authExternalProviders, overrideServerEndpoint, overrideAuthToken } = configuration;
|
|
3557
|
+
const serverEndpoint = normalizeServerEndpointURL(overrideServerEndpoint || endpoint);
|
|
3558
|
+
try {
|
|
3559
|
+
if (overrideAuthToken) {
|
|
3560
|
+
return { credentials: { token: overrideAuthToken }, serverEndpoint };
|
|
3561
|
+
}
|
|
3562
|
+
const credentials = await getExternalProviderAuthResult(
|
|
3563
|
+
serverEndpoint,
|
|
3564
|
+
authExternalProviders
|
|
3565
|
+
).catch((error2) => {
|
|
3566
|
+
throw new Error(`Failed to execute external auth command: ${error2.message || error2}`);
|
|
3567
|
+
});
|
|
3568
|
+
if (credentials) {
|
|
3569
|
+
if (credentials == null ? void 0 : credentials.expiration) {
|
|
3570
|
+
const expirationMs = (credentials == null ? void 0 : credentials.expiration) * 1e3;
|
|
3571
|
+
if (expirationMs < Date.now()) {
|
|
3572
|
+
throw new Error(
|
|
3573
|
+
`Credentials expiration cannot be set to a date in the past: ${new Date(expirationMs)} (${credentials.expiration})`
|
|
3574
|
+
);
|
|
3575
|
+
}
|
|
3576
|
+
}
|
|
3577
|
+
return {
|
|
3578
|
+
credentials: {
|
|
3579
|
+
expiration: credentials == null ? void 0 : credentials.expiration,
|
|
3580
|
+
getHeaders() {
|
|
3581
|
+
return credentials.headers;
|
|
3582
|
+
}
|
|
3583
|
+
},
|
|
3584
|
+
serverEndpoint
|
|
3585
|
+
};
|
|
3586
|
+
}
|
|
3587
|
+
const token = await clientSecrets.getToken(serverEndpoint).catch((error2) => {
|
|
3588
|
+
throw new Error(
|
|
3589
|
+
`Failed to get access token for endpoint ${serverEndpoint}: ${error2.message || error2}`
|
|
3590
|
+
);
|
|
3591
|
+
});
|
|
3592
|
+
return {
|
|
3593
|
+
credentials: token ? { token, source: await clientSecrets.getTokenSource(serverEndpoint) } : void 0,
|
|
3594
|
+
serverEndpoint
|
|
3595
|
+
};
|
|
3596
|
+
} catch (error2) {
|
|
3597
|
+
return {
|
|
3598
|
+
credentials: void 0,
|
|
3599
|
+
serverEndpoint,
|
|
3600
|
+
error: error2
|
|
3601
|
+
};
|
|
3602
|
+
}
|
|
3603
|
+
}
|
|
3509
3604
|
async function resolveConfiguration({
|
|
3510
3605
|
clientConfiguration,
|
|
3511
3606
|
clientSecrets,
|
|
@@ -3516,32 +3611,31 @@ async function resolveConfiguration({
|
|
|
3516
3611
|
if (isReinstall) {
|
|
3517
3612
|
await onReinstall();
|
|
3518
3613
|
}
|
|
3519
|
-
const serverEndpoint =
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
return
|
|
3528
|
-
})
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
}
|
|
3537
|
-
function normalizeServerEndpointURL(url) {
|
|
3538
|
-
return url.endsWith("/") ? url : `${url}/`;
|
|
3614
|
+
const serverEndpoint = clientConfiguration.overrideServerEndpoint || clientState.lastUsedEndpoint || DOTCOM_URL.toString();
|
|
3615
|
+
try {
|
|
3616
|
+
const auth = await resolveAuth(serverEndpoint, clientConfiguration, clientSecrets);
|
|
3617
|
+
const cred = auth.credentials;
|
|
3618
|
+
if (cred !== void 0 && "expiration" in cred && cred.expiration !== void 0) {
|
|
3619
|
+
const expireInMs = cred.expiration * 1e3 - Date.now();
|
|
3620
|
+
setInterval(() => _refreshConfigRequests.next(), expireInMs);
|
|
3621
|
+
}
|
|
3622
|
+
return { configuration: clientConfiguration, clientState, auth, isReinstall };
|
|
3623
|
+
} catch (error2) {
|
|
3624
|
+
logError("resolveConfiguration", `Error resolving configuration: ${error2}`);
|
|
3625
|
+
const auth = {
|
|
3626
|
+
credentials: void 0,
|
|
3627
|
+
serverEndpoint,
|
|
3628
|
+
error: error2
|
|
3629
|
+
};
|
|
3630
|
+
return { configuration: clientConfiguration, clientState, auth, isReinstall };
|
|
3631
|
+
}
|
|
3539
3632
|
}
|
|
3540
3633
|
const _resolvedConfig = fromLateSetSource();
|
|
3634
|
+
const _refreshConfigRequests = new MulticastSubject();
|
|
3541
3635
|
function setResolvedConfigurationObservable(input) {
|
|
3542
3636
|
_resolvedConfig.setSource(
|
|
3543
|
-
input.pipe(
|
|
3544
|
-
switchMapReplayOperation((input2) => promiseToObservable(resolveConfiguration(input2))),
|
|
3637
|
+
combineLatest(input, _refreshConfigRequests.pipe(startWith(void 0))).pipe(
|
|
3638
|
+
switchMapReplayOperation(([input2]) => promiseToObservable(resolveConfiguration(input2))),
|
|
3545
3639
|
skipPendingOperation(),
|
|
3546
3640
|
map((value) => {
|
|
3547
3641
|
if (isError(value)) {
|
|
@@ -9898,7 +9992,7 @@ const _RateLimitError = class _RateLimitError extends Error {
|
|
|
9898
9992
|
this.upgradeIsAvailable = upgradeIsAvailable;
|
|
9899
9993
|
this.limit = limit;
|
|
9900
9994
|
this.retryAfter = retryAfter;
|
|
9901
|
-
this.userMessage = feature === "Agentic Chat" ? `You've reached the daily limit for
|
|
9995
|
+
this.userMessage = feature === "Agentic Chat" ? `You've reached the daily limit for agentic context (experimental).` : `You've used all of your ${feature} for ${upgradeIsAvailable ? "the month" : "today"}.`;
|
|
9902
9996
|
this.retryAfterDate = retryAfter ? /^\d+$/.test(retryAfter) ? new Date(Date.now() + Number.parseInt(retryAfter, 10) * 1e3) : new Date(retryAfter) : void 0;
|
|
9903
9997
|
this.retryMessage = this.retryAfterDate ? formatRetryAfterDate(this.retryAfterDate) : void 0;
|
|
9904
9998
|
}
|
|
@@ -9957,6 +10051,19 @@ function isNetworkLikeError(error2) {
|
|
|
9957
10051
|
const message = error2.message;
|
|
9958
10052
|
return message.includes("ENOTFOUND") || message.includes("ECONNREFUSED") || message.includes("ECONNRESET") || message.includes("EHOSTUNREACH") || message.includes("ETIMEDOUT") || message.includes("SELF_SIGNED_CERT_IN_CHAIN");
|
|
9959
10053
|
}
|
|
10054
|
+
function addAuthHeaders(auth, headers, url) {
|
|
10055
|
+
if (auth.credentials && url.host === new URL(auth.serverEndpoint).host) {
|
|
10056
|
+
if ("token" in auth.credentials) {
|
|
10057
|
+
headers.set("Authorization", `token ${auth.credentials.token}`);
|
|
10058
|
+
} else if (typeof auth.credentials.getHeaders === "function") {
|
|
10059
|
+
for (const [key, value] of Object.entries(auth.credentials.getHeaders())) {
|
|
10060
|
+
headers.set(key, value);
|
|
10061
|
+
}
|
|
10062
|
+
} else {
|
|
10063
|
+
console.error("Cannot add headers: neither token nor headers found");
|
|
10064
|
+
}
|
|
10065
|
+
}
|
|
10066
|
+
}
|
|
9960
10067
|
class AbortAggregator {
|
|
9961
10068
|
constructor() {
|
|
9962
10069
|
__publicField(this, "controller", new AbortController());
|
|
@@ -11655,19 +11762,19 @@ class SourcegraphGraphQLAPIClient {
|
|
|
11655
11762
|
signal == null ? void 0 : signal.throwIfAborted();
|
|
11656
11763
|
const headers = new Headers((_a2 = config.configuration) == null ? void 0 : _a2.customHeaders);
|
|
11657
11764
|
headers.set("Content-Type", "application/json; charset=utf-8");
|
|
11658
|
-
if (config.auth.accessToken) {
|
|
11659
|
-
headers.set("Authorization", `token ${config.auth.accessToken}`);
|
|
11660
|
-
}
|
|
11661
11765
|
if (config.clientState.anonymousUserID && false) {
|
|
11662
11766
|
headers.set("X-Sourcegraph-Actor-Anonymous-UID", config.clientState.anonymousUserID);
|
|
11663
11767
|
}
|
|
11768
|
+
const url = new URL(
|
|
11769
|
+
buildGraphQLUrl({
|
|
11770
|
+
request: query,
|
|
11771
|
+
baseUrl: config.auth.serverEndpoint
|
|
11772
|
+
})
|
|
11773
|
+
);
|
|
11664
11774
|
addTraceparent(headers);
|
|
11665
11775
|
addCodyClientIdentificationHeaders(headers);
|
|
11776
|
+
addAuthHeaders(config.auth, headers, url);
|
|
11666
11777
|
const queryName = (_b = query.match(QUERY_TO_NAME_REGEXP)) == null ? void 0 : _b[1];
|
|
11667
|
-
const url = buildGraphQLUrl({
|
|
11668
|
-
request: query,
|
|
11669
|
-
baseUrl: config.auth.serverEndpoint
|
|
11670
|
-
});
|
|
11671
11778
|
const { abortController, timeoutSignal } = dependentAbortControllerWithTimeout(signal);
|
|
11672
11779
|
return wrapInActiveSpan(
|
|
11673
11780
|
`graphql.fetch${queryName ? `.${queryName}` : ""}`,
|
|
@@ -11676,7 +11783,7 @@ class SourcegraphGraphQLAPIClient {
|
|
|
11676
11783
|
body: JSON.stringify({ query, variables }),
|
|
11677
11784
|
headers,
|
|
11678
11785
|
signal: abortController.signal
|
|
11679
|
-
}).then(verifyResponseCode).then((response) => response.json()).catch(catchHTTPError(url, timeoutSignal))
|
|
11786
|
+
}).then(verifyResponseCode).then((response) => response.json()).catch(catchHTTPError(url.href, timeoutSignal))
|
|
11680
11787
|
);
|
|
11681
11788
|
}
|
|
11682
11789
|
// Performs an authenticated request to our non-GraphQL HTTP / REST API.
|
|
@@ -11692,15 +11799,13 @@ class SourcegraphGraphQLAPIClient {
|
|
|
11692
11799
|
})();
|
|
11693
11800
|
const headers = new Headers((_a2 = config.configuration) == null ? void 0 : _a2.customHeaders);
|
|
11694
11801
|
headers.set("Content-Type", "application/json; charset=utf-8");
|
|
11695
|
-
if (config.auth.accessToken) {
|
|
11696
|
-
headers.set("Authorization", `token ${config.auth.accessToken}`);
|
|
11697
|
-
}
|
|
11698
11802
|
if (config.clientState.anonymousUserID && false) {
|
|
11699
11803
|
headers.set("X-Sourcegraph-Actor-Anonymous-UID", config.clientState.anonymousUserID);
|
|
11700
11804
|
}
|
|
11805
|
+
const url = new URL(urlPath, config.auth.serverEndpoint);
|
|
11701
11806
|
addTraceparent(headers);
|
|
11702
11807
|
addCodyClientIdentificationHeaders(headers);
|
|
11703
|
-
|
|
11808
|
+
addAuthHeaders(config.auth, headers, url);
|
|
11704
11809
|
const { abortController, timeoutSignal } = dependentAbortControllerWithTimeout(signal);
|
|
11705
11810
|
return wrapInActiveSpan(
|
|
11706
11811
|
`httpapi.fetch${queryName ? `.${queryName}` : ""}`,
|
|
@@ -11709,7 +11814,7 @@ class SourcegraphGraphQLAPIClient {
|
|
|
11709
11814
|
body,
|
|
11710
11815
|
headers,
|
|
11711
11816
|
signal: abortController.signal
|
|
11712
|
-
}).then(verifyResponseCode).then((response) => response.json()).catch(catchHTTPError(url, timeoutSignal))
|
|
11817
|
+
}).then(verifyResponseCode).then((response) => response.json()).catch(catchHTTPError(url.href, timeoutSignal))
|
|
11713
11818
|
);
|
|
11714
11819
|
}
|
|
11715
11820
|
}
|
|
@@ -11769,7 +11874,7 @@ var FeatureFlag = /* @__PURE__ */ ((FeatureFlag2) => {
|
|
|
11769
11874
|
FeatureFlag2["CodyAutocompleteContextExperimentVariant3"] = "cody-autocomplete-context-experiment-variant-3";
|
|
11770
11875
|
FeatureFlag2["CodyAutocompleteContextExperimentVariant4"] = "cody-autocomplete-context-experiment-variant-4";
|
|
11771
11876
|
FeatureFlag2["CodyAutocompleteContextExperimentControl"] = "cody-autocomplete-context-experiment-control";
|
|
11772
|
-
FeatureFlag2["
|
|
11877
|
+
FeatureFlag2["CodyAutoEditExperimentEnabledFeatureFlag"] = "cody-autoedit-experiment-enabled-flag";
|
|
11773
11878
|
FeatureFlag2["CodyEditDefaultToGpt4oMini"] = "cody-edit-default-to-gpt-4o-mini";
|
|
11774
11879
|
FeatureFlag2["CodyChatDefaultToClaude35Haiku"] = "cody-chat-default-to-claude-3-5-haiku";
|
|
11775
11880
|
FeatureFlag2["UseSscForCodySubscription"] = "use-ssc-for-cody-subscription";
|
|
@@ -11783,11 +11888,12 @@ var FeatureFlag = /* @__PURE__ */ ((FeatureFlag2) => {
|
|
|
11783
11888
|
FeatureFlag2["CodyEarlyAccess"] = "cody-early-access";
|
|
11784
11889
|
FeatureFlag2["CodyUnifiedPrompts"] = "cody-unified-prompts";
|
|
11785
11890
|
FeatureFlag2["CodyPromptsV2"] = "prompt-creation-v2";
|
|
11786
|
-
FeatureFlag2["DeepCody"] = "
|
|
11787
|
-
FeatureFlag2["DeepCodyShellContext"] = "
|
|
11788
|
-
FeatureFlag2["ContextAgentDefaultChatModel"] = "
|
|
11891
|
+
FeatureFlag2["DeepCody"] = "agentic-chat-experimental";
|
|
11892
|
+
FeatureFlag2["DeepCodyShellContext"] = "agentic-chat-cli-tool-experimental";
|
|
11893
|
+
FeatureFlag2["ContextAgentDefaultChatModel"] = "agentic-chat-use-default-chat-model";
|
|
11789
11894
|
FeatureFlag2["DeepCodyRateLimitBase"] = "deep-cody-experimental-rate-limit";
|
|
11790
11895
|
FeatureFlag2["DeepCodyRateLimitMultiplier"] = "deep-cody-experimental-rate-limit-multiplier";
|
|
11896
|
+
FeatureFlag2["AgenticContextSessionLimit"] = "agentic-chat-experimental-session-limit";
|
|
11791
11897
|
FeatureFlag2["NoDefaultRepoChip"] = "no-default-repo-chip";
|
|
11792
11898
|
FeatureFlag2["SourcegraphTeamsUpgradeCTA"] = "teams-upgrade-available-cta";
|
|
11793
11899
|
return FeatureFlag2;
|
|
@@ -12089,7 +12195,7 @@ var CodyIDE = /* @__PURE__ */ ((CodyIDE2) => {
|
|
|
12089
12195
|
})(CodyIDE || {});
|
|
12090
12196
|
var CodyAutoSuggestionMode = /* @__PURE__ */ ((CodyAutoSuggestionMode2) => {
|
|
12091
12197
|
CodyAutoSuggestionMode2["Autocomplete"] = "autocomplete";
|
|
12092
|
-
CodyAutoSuggestionMode2["
|
|
12198
|
+
CodyAutoSuggestionMode2["Autoedit"] = "auto-edit (Experimental)";
|
|
12093
12199
|
CodyAutoSuggestionMode2["Off"] = "off";
|
|
12094
12200
|
return CodyAutoSuggestionMode2;
|
|
12095
12201
|
})(CodyAutoSuggestionMode || {});
|
|
@@ -13207,6 +13313,19 @@ class PromptString {
|
|
|
13207
13313
|
injectedPrefix: docContext.injectedPrefix ? internal_createPromptString(docContext.injectedPrefix, ref) : null
|
|
13208
13314
|
};
|
|
13209
13315
|
}
|
|
13316
|
+
static fromAutoEditCodeToReplaceData(codeToReplaceData, uri) {
|
|
13317
|
+
const ref = [uri];
|
|
13318
|
+
return {
|
|
13319
|
+
range: codeToReplaceData.range,
|
|
13320
|
+
codeToRewrite: internal_createPromptString(codeToReplaceData.codeToRewrite, ref),
|
|
13321
|
+
prefixBeforeArea: internal_createPromptString(codeToReplaceData.prefixBeforeArea, ref),
|
|
13322
|
+
suffixAfterArea: internal_createPromptString(codeToReplaceData.suffixAfterArea, ref),
|
|
13323
|
+
prefixInArea: internal_createPromptString(codeToReplaceData.prefixInArea, ref),
|
|
13324
|
+
suffixInArea: internal_createPromptString(codeToReplaceData.suffixInArea, ref),
|
|
13325
|
+
codeToRewritePrefix: internal_createPromptString(codeToReplaceData.codeToRewritePrefix, ref),
|
|
13326
|
+
codeToRewriteSuffix: internal_createPromptString(codeToReplaceData.codeToRewriteSuffix, ref)
|
|
13327
|
+
};
|
|
13328
|
+
}
|
|
13210
13329
|
static fromAutocompleteContextSnippet(contextSnippet) {
|
|
13211
13330
|
const ref = [contextSnippet.uri];
|
|
13212
13331
|
return {
|
|
@@ -13941,11 +14060,6 @@ const REMOTE_DIRECTORY_PROVIDER_URI = "internal-remote-directory-search";
|
|
|
13941
14060
|
const WEB_PROVIDER_URI = "internal-web-provider";
|
|
13942
14061
|
const GIT_OPENCTX_PROVIDER_URI = "internal-git-openctx-provider";
|
|
13943
14062
|
const CODE_SEARCH_PROVIDER_URI = "internal-code-search-provider";
|
|
13944
|
-
const WORKSPACE_DIRECTORY_PROVIDER_URI = DOTCOM_WORKSPACE_UPGRADE_URL.href + "?workspace=dir";
|
|
13945
|
-
const WORKSPACE_REPOSITORY_PROVIDER_URI = DOTCOM_WORKSPACE_UPGRADE_URL.href + "?workspace=repo";
|
|
13946
|
-
function isRemoteWorkspaceProvider(uri) {
|
|
13947
|
-
return uri === WORKSPACE_DIRECTORY_PROVIDER_URI || uri === WORKSPACE_REPOSITORY_PROVIDER_URI;
|
|
13948
|
-
}
|
|
13949
14063
|
const FILE_CONTEXT_MENTION_PROVIDER = {
|
|
13950
14064
|
id: "file",
|
|
13951
14065
|
title: "Files",
|
|
@@ -19479,7 +19593,7 @@ const __viteBrowserExternal = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
|
|
|
19479
19593
|
__proto__: null,
|
|
19480
19594
|
default: http
|
|
19481
19595
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19482
|
-
const require$$
|
|
19596
|
+
const require$$1 = /* @__PURE__ */ getAugmentedNamespace(__viteBrowserExternal);
|
|
19483
19597
|
var hasRequiredCore;
|
|
19484
19598
|
function requireCore() {
|
|
19485
19599
|
if (hasRequiredCore) return core.exports;
|
|
@@ -19509,7 +19623,7 @@ function requireCore() {
|
|
|
19509
19623
|
}
|
|
19510
19624
|
if (!crypto && typeof commonjsRequire === "function") {
|
|
19511
19625
|
try {
|
|
19512
|
-
crypto = require$$
|
|
19626
|
+
crypto = require$$1;
|
|
19513
19627
|
} catch (err) {
|
|
19514
19628
|
}
|
|
19515
19629
|
}
|
|
@@ -29988,6 +30102,130 @@ class Os {
|
|
|
29988
30102
|
return { editorState: this._editorState.toJSON() };
|
|
29989
30103
|
}
|
|
29990
30104
|
}
|
|
30105
|
+
const AT_MENTION_SERIALIZED_PREFIX = "cody://serialized.v1";
|
|
30106
|
+
const AT_MENTION_SERIALIZATION_END = "_";
|
|
30107
|
+
function unicodeSafeBtoa(str2) {
|
|
30108
|
+
return btoa(encodeURIComponent(str2));
|
|
30109
|
+
}
|
|
30110
|
+
function unicodeSafeAtob(str2) {
|
|
30111
|
+
return decodeURIComponent(atob(str2));
|
|
30112
|
+
}
|
|
30113
|
+
function serialize(m4) {
|
|
30114
|
+
const nodes = renderChildNodes(m4.editorState.lexicalEditorState.root);
|
|
30115
|
+
let t3 = "";
|
|
30116
|
+
for (const n2 of nodes) {
|
|
30117
|
+
if (n2.type === "text") {
|
|
30118
|
+
t3 += n2.text;
|
|
30119
|
+
} else {
|
|
30120
|
+
t3 += `${AT_MENTION_SERIALIZED_PREFIX}?data=${unicodeSafeBtoa(
|
|
30121
|
+
JSON.stringify(n2, void 0, 0)
|
|
30122
|
+
)}${AT_MENTION_SERIALIZATION_END}`;
|
|
30123
|
+
}
|
|
30124
|
+
}
|
|
30125
|
+
return t3;
|
|
30126
|
+
}
|
|
30127
|
+
function renderChildNodes(node) {
|
|
30128
|
+
var _a2;
|
|
30129
|
+
switch (node.type) {
|
|
30130
|
+
case "root":
|
|
30131
|
+
case "paragraph": {
|
|
30132
|
+
const c3 = node.children;
|
|
30133
|
+
const result = [];
|
|
30134
|
+
for (let i3 = 0; i3 < c3.length; i3++) {
|
|
30135
|
+
result.push(...renderChildNodes(c3[i3]));
|
|
30136
|
+
if (c3[i3].type === "paragraph" && ((_a2 = c3[i3 + 1]) == null ? void 0 : _a2.type) === "paragraph") {
|
|
30137
|
+
result.push(NEW_LINE_NODE);
|
|
30138
|
+
}
|
|
30139
|
+
}
|
|
30140
|
+
return result;
|
|
30141
|
+
}
|
|
30142
|
+
default:
|
|
30143
|
+
return [node];
|
|
30144
|
+
}
|
|
30145
|
+
}
|
|
30146
|
+
const NEW_LINE_NODE = {
|
|
30147
|
+
type: "text",
|
|
30148
|
+
text: "\n",
|
|
30149
|
+
detail: 0,
|
|
30150
|
+
format: 0,
|
|
30151
|
+
mode: "normal",
|
|
30152
|
+
style: "",
|
|
30153
|
+
version: 1
|
|
30154
|
+
};
|
|
30155
|
+
function deserializeContextMentionItem(s4) {
|
|
30156
|
+
var _a2;
|
|
30157
|
+
return JSON.parse(
|
|
30158
|
+
unicodeSafeAtob((_a2 = new URL(s4).searchParams.get("data")) == null ? void 0 : _a2.replace(AT_MENTION_SERIALIZATION_END, ""))
|
|
30159
|
+
);
|
|
30160
|
+
}
|
|
30161
|
+
function deserializeParagraph(s4) {
|
|
30162
|
+
const parts = s4.split(new RegExp(`(${AT_MENTION_SERIALIZED_PREFIX}\\?data=[^\\s]+)`, "g"));
|
|
30163
|
+
return parts.map((part) => {
|
|
30164
|
+
if (part.startsWith(AT_MENTION_SERIALIZED_PREFIX)) {
|
|
30165
|
+
try {
|
|
30166
|
+
return deserializeContextMentionItem(part);
|
|
30167
|
+
} catch (e3) {
|
|
30168
|
+
console.warn(e3);
|
|
30169
|
+
return {
|
|
30170
|
+
type: "text",
|
|
30171
|
+
text: part,
|
|
30172
|
+
detail: 0,
|
|
30173
|
+
format: 0,
|
|
30174
|
+
mode: "normal",
|
|
30175
|
+
style: "",
|
|
30176
|
+
version: 1
|
|
30177
|
+
};
|
|
30178
|
+
}
|
|
30179
|
+
}
|
|
30180
|
+
return {
|
|
30181
|
+
type: "text",
|
|
30182
|
+
text: part,
|
|
30183
|
+
detail: 0,
|
|
30184
|
+
format: 0,
|
|
30185
|
+
mode: "normal",
|
|
30186
|
+
style: "",
|
|
30187
|
+
version: 1
|
|
30188
|
+
};
|
|
30189
|
+
}).filter((node) => node.text !== "");
|
|
30190
|
+
}
|
|
30191
|
+
function deserializeDoc(s4) {
|
|
30192
|
+
const paragraphs = s4.split("\n");
|
|
30193
|
+
return paragraphs.map(deserializeParagraph).map((children) => {
|
|
30194
|
+
return {
|
|
30195
|
+
type: "paragraph",
|
|
30196
|
+
children,
|
|
30197
|
+
direction: "ltr",
|
|
30198
|
+
format: "",
|
|
30199
|
+
indent: 0,
|
|
30200
|
+
version: 1,
|
|
30201
|
+
textStyle: "",
|
|
30202
|
+
textFormat: 0
|
|
30203
|
+
};
|
|
30204
|
+
});
|
|
30205
|
+
}
|
|
30206
|
+
function deserialize(s4) {
|
|
30207
|
+
const children = deserializeDoc(s4);
|
|
30208
|
+
return {
|
|
30209
|
+
text: "text",
|
|
30210
|
+
// We don't need to provide the contextItems here, they seem to be
|
|
30211
|
+
// resolved just fine when running the prompt.
|
|
30212
|
+
contextItems: [],
|
|
30213
|
+
editorState: {
|
|
30214
|
+
v: "lexical-v1",
|
|
30215
|
+
minReaderV: "lexical-v1",
|
|
30216
|
+
lexicalEditorState: {
|
|
30217
|
+
root: {
|
|
30218
|
+
type: "root",
|
|
30219
|
+
children,
|
|
30220
|
+
format: "",
|
|
30221
|
+
indent: 0,
|
|
30222
|
+
version: 1,
|
|
30223
|
+
direction: "ltr"
|
|
30224
|
+
}
|
|
30225
|
+
}
|
|
30226
|
+
}
|
|
30227
|
+
};
|
|
30228
|
+
}
|
|
29991
30229
|
const CONTEXT_ITEM_MENTION_NODE_TYPE = "contextItemMention";
|
|
29992
30230
|
const TEMPLATE_INPUT_NODE_TYPE = "templateInput";
|
|
29993
30231
|
function serializeContextItem(contextItem) {
|
|
@@ -30331,6 +30569,14 @@ function lexicalEditorStateFromPromptString(input, opts) {
|
|
|
30331
30569
|
let lastTextNode;
|
|
30332
30570
|
const words = input.toString().split(" ");
|
|
30333
30571
|
for (const word of words) {
|
|
30572
|
+
if (word.startsWith(AT_MENTION_SERIALIZED_PREFIX)) {
|
|
30573
|
+
if (lastTextNode) {
|
|
30574
|
+
children.push(lastTextNode);
|
|
30575
|
+
lastTextNode = void 0;
|
|
30576
|
+
}
|
|
30577
|
+
children.push(deserializeContextMentionItem(word));
|
|
30578
|
+
continue;
|
|
30579
|
+
}
|
|
30334
30580
|
if (word.startsWith("@")) {
|
|
30335
30581
|
const [displayPath2, maybeRange] = word.slice(1).split(":", 2);
|
|
30336
30582
|
const range2 = maybeRange ? parseRangeString(maybeRange) : void 0;
|
|
@@ -30512,14 +30758,14 @@ function createMessageAPIForExtension(webviewAPI) {
|
|
|
30512
30758
|
const listeners = [];
|
|
30513
30759
|
return {
|
|
30514
30760
|
postMessage: (data) => {
|
|
30515
|
-
logRPCMessage("X->W
|
|
30761
|
+
logRPCMessage("X->W", () => JSON.stringify(data));
|
|
30516
30762
|
webviewAPI.postMessage({ type: "rpc/response", message: data });
|
|
30517
30763
|
},
|
|
30518
30764
|
addEventListener: (type, listener) => {
|
|
30519
30765
|
if (type === "message") {
|
|
30520
30766
|
const dispose = webviewAPI.onMessage((m4) => {
|
|
30521
30767
|
if (isRPCRequest(m4)) {
|
|
30522
|
-
logRPCMessage("W->X
|
|
30768
|
+
logRPCMessage("W->X", () => JSON.stringify(m4.message));
|
|
30523
30769
|
listener({ data: m4.message });
|
|
30524
30770
|
}
|
|
30525
30771
|
});
|
|
@@ -30548,14 +30794,14 @@ function createMessageAPIForWebview(vscodeAPI) {
|
|
|
30548
30794
|
const listeners = [];
|
|
30549
30795
|
return {
|
|
30550
30796
|
postMessage: (data) => {
|
|
30551
|
-
logRPCMessage("W->X
|
|
30797
|
+
logRPCMessage("W->X", () => JSON.stringify(data));
|
|
30552
30798
|
vscodeAPI.postMessage({ command: "rpc/request", message: data });
|
|
30553
30799
|
},
|
|
30554
30800
|
addEventListener: (type, listener) => {
|
|
30555
30801
|
if (type === "message") {
|
|
30556
30802
|
const dispose = vscodeAPI.onMessage((m4) => {
|
|
30557
30803
|
if (isRPCResponse(m4)) {
|
|
30558
|
-
logRPCMessage("X->W
|
|
30804
|
+
logRPCMessage("X->W", () => JSON.stringify(m4.message));
|
|
30559
30805
|
listener({ data: m4.message });
|
|
30560
30806
|
}
|
|
30561
30807
|
});
|
|
@@ -30604,7 +30850,7 @@ function callExtensionAPI(messageAPI, method, args) {
|
|
|
30604
30850
|
return () => {
|
|
30605
30851
|
messageAPI.removeEventListener("message", messageListener);
|
|
30606
30852
|
if (!finished) {
|
|
30607
|
-
logRPCMessage(
|
|
30853
|
+
logRPCMessage("W->X", () => `aborting stream ${streamId}`);
|
|
30608
30854
|
messageAPI.postMessage({ streamIdToAbort: streamId });
|
|
30609
30855
|
}
|
|
30610
30856
|
};
|
|
@@ -30612,7 +30858,7 @@ function callExtensionAPI(messageAPI, method, args) {
|
|
|
30612
30858
|
}
|
|
30613
30859
|
function proxyExtensionAPI(messageAPI, method) {
|
|
30614
30860
|
return (...args) => {
|
|
30615
|
-
logRPCMessage(
|
|
30861
|
+
logRPCMessage("X->W", () => `call method=${method} args=${JSON.stringify(args)}`);
|
|
30616
30862
|
return callExtensionAPI(messageAPI, method, args);
|
|
30617
30863
|
};
|
|
30618
30864
|
}
|
|
@@ -30640,7 +30886,7 @@ function addMessageListenersForExtensionAPI(messageAPI, api2) {
|
|
|
30640
30886
|
}
|
|
30641
30887
|
const { streamIdToAbort } = data2;
|
|
30642
30888
|
if (streamIdToAbort === streamId) {
|
|
30643
|
-
logRPCMessage(
|
|
30889
|
+
logRPCMessage("X->W", () => `abort signal received for streamId=${streamId}`);
|
|
30644
30890
|
abortController.abort();
|
|
30645
30891
|
}
|
|
30646
30892
|
}
|
|
@@ -30693,9 +30939,9 @@ function addMessageListenersForExtensionAPI(messageAPI, api2) {
|
|
|
30693
30939
|
};
|
|
30694
30940
|
}
|
|
30695
30941
|
const LOG_RPC_MESSAGES = define_process_default.env.CODY_LOG_WEBVIEW_RPC_MESSAGES === "true";
|
|
30696
|
-
function logRPCMessage(msg,
|
|
30942
|
+
function logRPCMessage(msg, detail) {
|
|
30697
30943
|
if (LOG_RPC_MESSAGES) {
|
|
30698
|
-
logDebug("[RPC]", msg,
|
|
30944
|
+
logDebug("[RPC]", msg, detail());
|
|
30699
30945
|
}
|
|
30700
30946
|
}
|
|
30701
30947
|
function createExtensionAPI(messageAPI, staticDefaultContext) {
|
|
@@ -30853,12 +31099,16 @@ const SG_CHANGELOG_URL = new URL("https://sourcegraph.com/changelog");
|
|
|
30853
31099
|
const VSCODE_CHANGELOG_URL = new URL(
|
|
30854
31100
|
"https://github.com/sourcegraph/cody/blob/main/vscode/CHANGELOG.md"
|
|
30855
31101
|
);
|
|
31102
|
+
const CODY_DOCS_CAPABILITIES_URL = new URL("https://sourcegraph.com/docs/cody/capabilities");
|
|
31103
|
+
new URL("agentic-chat", CODY_DOCS_CAPABILITIES_URL);
|
|
30856
31104
|
const DISCORD_URL = new URL("https://discord.gg/s2qDtYGnAE");
|
|
30857
31105
|
const CODY_FEEDBACK_URL = new URL("https://github.com/sourcegraph/cody/issues/new/choose");
|
|
30858
31106
|
const CODY_SUPPORT_URL = new URL("https://srcgr.ph/cody-support");
|
|
30859
31107
|
const CODY_OLLAMA_DOCS_URL = new URL(
|
|
30860
31108
|
"https://sourcegraph.com/docs/cody/clients/install-vscode#supported-local-ollama-models-with-cody"
|
|
30861
31109
|
);
|
|
31110
|
+
const ENTERPRISE_PRICING_URL = new URL("https://sourcegraph.com/pricing");
|
|
31111
|
+
const CODY_PRO_SUBSCRIPTION_URL = new URL("https://accounts.sourcegraph.com/cody/subscription");
|
|
30862
31112
|
const ACCOUNT_UPGRADE_URL = new URL("https://sourcegraph.com/cody/subscription");
|
|
30863
31113
|
const ACCOUNT_USAGE_URL = new URL("https://sourcegraph.com/cody/manage");
|
|
30864
31114
|
const ACCOUNT_LIMITS_INFO_URL = new URL(
|
|
@@ -34347,390 +34597,396 @@ ril.default = RIL;
|
|
|
34347
34597
|
})(main);
|
|
34348
34598
|
var browser = main;
|
|
34349
34599
|
export {
|
|
34350
|
-
|
|
34351
|
-
|
|
34600
|
+
b2 as $,
|
|
34601
|
+
ns as A,
|
|
34352
34602
|
B2 as B,
|
|
34353
34603
|
ContextItemSource as C,
|
|
34354
34604
|
Ds as D,
|
|
34355
|
-
|
|
34605
|
+
le as E,
|
|
34356
34606
|
Fi as F,
|
|
34357
|
-
|
|
34358
|
-
|
|
34359
|
-
|
|
34607
|
+
c2 as G,
|
|
34608
|
+
oe as H,
|
|
34609
|
+
z2 as I,
|
|
34360
34610
|
J,
|
|
34361
34611
|
K2 as K,
|
|
34362
34612
|
Ls as L,
|
|
34363
34613
|
M3 as M,
|
|
34364
34614
|
Nn as N,
|
|
34365
|
-
|
|
34366
|
-
|
|
34367
|
-
|
|
34615
|
+
yi as O,
|
|
34616
|
+
I2 as P,
|
|
34617
|
+
Se as Q,
|
|
34368
34618
|
R2 as R,
|
|
34369
34619
|
Ss as S,
|
|
34370
|
-
|
|
34620
|
+
O2 as T,
|
|
34371
34621
|
Ue as U,
|
|
34372
|
-
|
|
34622
|
+
F as V,
|
|
34373
34623
|
W,
|
|
34374
|
-
|
|
34375
|
-
|
|
34376
|
-
|
|
34624
|
+
Ni as X,
|
|
34625
|
+
ee as Y,
|
|
34626
|
+
we as Z,
|
|
34377
34627
|
_s as _,
|
|
34378
34628
|
ks as a,
|
|
34379
|
-
|
|
34380
|
-
|
|
34381
|
-
|
|
34382
|
-
|
|
34383
|
-
|
|
34384
|
-
|
|
34385
|
-
|
|
34386
|
-
|
|
34387
|
-
|
|
34388
|
-
|
|
34389
|
-
|
|
34390
|
-
|
|
34391
|
-
|
|
34392
|
-
|
|
34393
|
-
|
|
34394
|
-
|
|
34395
|
-
|
|
34396
|
-
|
|
34397
|
-
|
|
34398
|
-
|
|
34399
|
-
|
|
34400
|
-
|
|
34401
|
-
|
|
34402
|
-
|
|
34403
|
-
|
|
34404
|
-
|
|
34405
|
-
|
|
34406
|
-
|
|
34407
|
-
|
|
34408
|
-
|
|
34409
|
-
|
|
34410
|
-
|
|
34411
|
-
|
|
34412
|
-
|
|
34413
|
-
|
|
34414
|
-
|
|
34415
|
-
|
|
34416
|
-
|
|
34417
|
-
|
|
34418
|
-
|
|
34419
|
-
|
|
34420
|
-
|
|
34421
|
-
|
|
34422
|
-
|
|
34423
|
-
|
|
34424
|
-
|
|
34425
|
-
|
|
34426
|
-
|
|
34427
|
-
|
|
34428
|
-
|
|
34629
|
+
fs as a$,
|
|
34630
|
+
T2 as a0,
|
|
34631
|
+
s3 as a1,
|
|
34632
|
+
o as a2,
|
|
34633
|
+
w2 as a3,
|
|
34634
|
+
i2 as a4,
|
|
34635
|
+
k2 as a5,
|
|
34636
|
+
D2 as a6,
|
|
34637
|
+
p as a7,
|
|
34638
|
+
m3 as a8,
|
|
34639
|
+
S3 as a9,
|
|
34640
|
+
V as aA,
|
|
34641
|
+
Es as aB,
|
|
34642
|
+
U as aC,
|
|
34643
|
+
e2 as aD,
|
|
34644
|
+
Ns as aE,
|
|
34645
|
+
URI as aF,
|
|
34646
|
+
gs as aG,
|
|
34647
|
+
serializeContextItem as aH,
|
|
34648
|
+
CONTEXT_ITEM_MENTION_NODE_TYPE as aI,
|
|
34649
|
+
contextItemMentionNodeDisplayText as aJ,
|
|
34650
|
+
an as aK,
|
|
34651
|
+
qr as aL,
|
|
34652
|
+
_ as aM,
|
|
34653
|
+
TEMPLATE_INPUT_NODE_TYPE as aN,
|
|
34654
|
+
N as aO,
|
|
34655
|
+
parseMentionQuery as aP,
|
|
34656
|
+
NO_SYMBOL_MATCHES_HELP_LABEL as aQ,
|
|
34657
|
+
FILE_RANGE_TOOLTIP_LABEL as aR,
|
|
34658
|
+
Observable as aS,
|
|
34659
|
+
createExtensionAPI as aT,
|
|
34660
|
+
createMessageAPIForWebview as aU,
|
|
34661
|
+
debounce$1 as aV,
|
|
34662
|
+
memoizeLastValue as aW,
|
|
34663
|
+
toSerializedPromptEditorValue as aX,
|
|
34664
|
+
ri as aY,
|
|
34665
|
+
isEqual$1 as aZ,
|
|
34666
|
+
scanForMentionTriggerInUserTextInput as a_,
|
|
34667
|
+
v as aa,
|
|
34668
|
+
P as ab,
|
|
34669
|
+
E2 as ac,
|
|
34670
|
+
Wi as ad,
|
|
34671
|
+
L2 as ae,
|
|
34672
|
+
d3 as af,
|
|
34673
|
+
a3 as ag,
|
|
34674
|
+
l as ah,
|
|
34675
|
+
f as ai,
|
|
34676
|
+
u2 as aj,
|
|
34677
|
+
r as ak,
|
|
34678
|
+
t2 as al,
|
|
34429
34679
|
FILE_CONTEXT_MENTION_PROVIDER as am,
|
|
34430
34680
|
SYMBOL_CONTEXT_MENTION_PROVIDER as an,
|
|
34431
34681
|
REMOTE_REPOSITORY_PROVIDER_URI as ao,
|
|
34432
34682
|
REMOTE_FILE_PROVIDER_URI as ap,
|
|
34433
34683
|
REMOTE_DIRECTORY_PROVIDER_URI as aq,
|
|
34434
34684
|
WEB_PROVIDER_URI as ar,
|
|
34435
|
-
|
|
34436
|
-
|
|
34437
|
-
|
|
34438
|
-
|
|
34439
|
-
|
|
34440
|
-
|
|
34441
|
-
|
|
34442
|
-
|
|
34685
|
+
displayPath as as,
|
|
34686
|
+
displayLineRange as at,
|
|
34687
|
+
displayPathDirname as au,
|
|
34688
|
+
displayPathBasename as av,
|
|
34689
|
+
IGNORED_FILE_WARNING_LABEL as aw,
|
|
34690
|
+
LARGE_FILE_WARNING_LABEL as ax,
|
|
34691
|
+
Ei as ay,
|
|
34692
|
+
xe as az,
|
|
34443
34693
|
ds as b,
|
|
34444
|
-
|
|
34445
|
-
|
|
34446
|
-
|
|
34447
|
-
|
|
34448
|
-
|
|
34449
|
-
|
|
34450
|
-
|
|
34451
|
-
|
|
34452
|
-
|
|
34453
|
-
|
|
34454
|
-
|
|
34455
|
-
|
|
34456
|
-
|
|
34457
|
-
|
|
34458
|
-
|
|
34459
|
-
|
|
34460
|
-
|
|
34461
|
-
|
|
34462
|
-
|
|
34463
|
-
|
|
34464
|
-
|
|
34465
|
-
|
|
34466
|
-
|
|
34694
|
+
authStatus as b$,
|
|
34695
|
+
Ts as b0,
|
|
34696
|
+
ps as b1,
|
|
34697
|
+
getMentionOperations as b2,
|
|
34698
|
+
forceHydration as b3,
|
|
34699
|
+
hydrateAfterPostMessage as b4,
|
|
34700
|
+
isDotCom as b5,
|
|
34701
|
+
isSourcegraphToken as b6,
|
|
34702
|
+
trace as b7,
|
|
34703
|
+
context as b8,
|
|
34704
|
+
SpanStatusCode as b9,
|
|
34705
|
+
isMacOS as bA,
|
|
34706
|
+
firstResultFromOperation as bB,
|
|
34707
|
+
CODY_PRO_SUBSCRIPTION_URL as bC,
|
|
34708
|
+
ACCOUNT_USAGE_URL as bD,
|
|
34709
|
+
ENTERPRISE_PRICING_URL as bE,
|
|
34710
|
+
textContentFromSerializedLexicalNode as bF,
|
|
34711
|
+
firstValueFrom as bG,
|
|
34712
|
+
skipPendingOperation as bH,
|
|
34713
|
+
FAST_CHAT_INPUT_TOKEN_BUDGET as bI,
|
|
34714
|
+
CODY_DOCS_CAPABILITIES_URL as bJ,
|
|
34715
|
+
inputTextWithMappedContextChipsFromPromptEditorState as bK,
|
|
34716
|
+
serializedPromptEditorStateFromText as bL,
|
|
34467
34717
|
deserializeContextItem as bM,
|
|
34468
|
-
|
|
34469
|
-
|
|
34470
|
-
|
|
34471
|
-
|
|
34718
|
+
SG_WORKSPACES_URL as bN,
|
|
34719
|
+
DOTCOM_WORKSPACE_LEARN_MORE_URL as bO,
|
|
34720
|
+
truncateTextStart as bP,
|
|
34721
|
+
CHAT_INPUT_TOKEN_BUDGET as bQ,
|
|
34472
34722
|
S2_URL as bR,
|
|
34473
34723
|
browser as bS,
|
|
34474
34724
|
CodyAutoSuggestionMode as bT,
|
|
34475
34725
|
isErrorLike as bU,
|
|
34476
34726
|
PromptString as bV,
|
|
34477
34727
|
setDisplayPathEnvInfo as bW,
|
|
34478
|
-
|
|
34479
|
-
|
|
34480
|
-
|
|
34481
|
-
|
|
34482
|
-
|
|
34483
|
-
|
|
34484
|
-
|
|
34485
|
-
|
|
34486
|
-
|
|
34487
|
-
|
|
34488
|
-
|
|
34489
|
-
|
|
34490
|
-
|
|
34491
|
-
|
|
34492
|
-
|
|
34493
|
-
|
|
34494
|
-
|
|
34495
|
-
|
|
34496
|
-
|
|
34497
|
-
|
|
34498
|
-
|
|
34499
|
-
|
|
34500
|
-
|
|
34501
|
-
|
|
34502
|
-
|
|
34503
|
-
|
|
34504
|
-
|
|
34505
|
-
|
|
34506
|
-
|
|
34507
|
-
|
|
34508
|
-
|
|
34509
|
-
|
|
34510
|
-
|
|
34511
|
-
|
|
34512
|
-
|
|
34513
|
-
|
|
34514
|
-
|
|
34515
|
-
|
|
34516
|
-
|
|
34517
|
-
|
|
34518
|
-
|
|
34519
|
-
|
|
34520
|
-
|
|
34521
|
-
|
|
34522
|
-
|
|
34523
|
-
|
|
34524
|
-
|
|
34525
|
-
|
|
34526
|
-
|
|
34527
|
-
|
|
34528
|
-
|
|
34529
|
-
|
|
34530
|
-
|
|
34531
|
-
|
|
34532
|
-
|
|
34533
|
-
|
|
34534
|
-
|
|
34535
|
-
|
|
34536
|
-
|
|
34537
|
-
|
|
34538
|
-
|
|
34539
|
-
|
|
34540
|
-
|
|
34541
|
-
|
|
34542
|
-
|
|
34543
|
-
|
|
34544
|
-
|
|
34545
|
-
|
|
34546
|
-
|
|
34547
|
-
|
|
34548
|
-
|
|
34549
|
-
|
|
34550
|
-
|
|
34551
|
-
|
|
34552
|
-
|
|
34553
|
-
|
|
34554
|
-
|
|
34555
|
-
|
|
34556
|
-
|
|
34557
|
-
|
|
34558
|
-
|
|
34559
|
-
|
|
34560
|
-
|
|
34561
|
-
|
|
34562
|
-
|
|
34563
|
-
|
|
34564
|
-
|
|
34565
|
-
|
|
34566
|
-
|
|
34567
|
-
|
|
34568
|
-
|
|
34569
|
-
|
|
34570
|
-
|
|
34571
|
-
|
|
34572
|
-
|
|
34728
|
+
serialize as bX,
|
|
34729
|
+
deserialize as bY,
|
|
34730
|
+
unsubscribe as bZ,
|
|
34731
|
+
AsyncSerialScheduler$1 as b_,
|
|
34732
|
+
FeatureFlag as ba,
|
|
34733
|
+
webviewOpenURIForContextItem as bb,
|
|
34734
|
+
isCodyProUser as bc,
|
|
34735
|
+
CodyIDE as bd,
|
|
34736
|
+
CodyTaskState as be,
|
|
34737
|
+
cryptoJsExports as bf,
|
|
34738
|
+
isError as bg,
|
|
34739
|
+
RateLimitError as bh,
|
|
34740
|
+
CODY_FEEDBACK_URL as bi,
|
|
34741
|
+
isDefined as bj,
|
|
34742
|
+
upperFirst$1 as bk,
|
|
34743
|
+
lodashExports as bl,
|
|
34744
|
+
createContextItem as bm,
|
|
34745
|
+
isCodeSearchContextItem as bn,
|
|
34746
|
+
reformatBotMessageForChat as bo,
|
|
34747
|
+
isAbortErrorOrSocketHangUp as bp,
|
|
34748
|
+
ModelTag as bq,
|
|
34749
|
+
serializedPromptEditorStateFromChatMessage as br,
|
|
34750
|
+
contextItemsFromPromptEditorValue as bs,
|
|
34751
|
+
filterContextItemsFromPromptEditorValue as bt,
|
|
34752
|
+
pluralize as bu,
|
|
34753
|
+
CustomCommandType as bv,
|
|
34754
|
+
View as bw,
|
|
34755
|
+
isCodyProModel as bx,
|
|
34756
|
+
isWaitlistModel as by,
|
|
34757
|
+
getRelativeChatPeriod as bz,
|
|
34758
|
+
commonjsGlobal as c,
|
|
34759
|
+
_baseAssignValue as c$,
|
|
34760
|
+
debounceTime as c0,
|
|
34761
|
+
switchMapReplayOperation as c1,
|
|
34762
|
+
interval as c2,
|
|
34763
|
+
map as c3,
|
|
34764
|
+
filter as c4,
|
|
34765
|
+
startWith as c5,
|
|
34766
|
+
switchMap as c6,
|
|
34767
|
+
promiseFactoryToObservable as c7,
|
|
34768
|
+
distinctUntilChanged as c8,
|
|
34769
|
+
logDebug as c9,
|
|
34770
|
+
shareReplay as cA,
|
|
34771
|
+
tap as cB,
|
|
34772
|
+
featureFlagProvider as cC,
|
|
34773
|
+
getEnterpriseContextWindow as cD,
|
|
34774
|
+
ANSWER_TOKENS as cE,
|
|
34775
|
+
storeLastValue as cF,
|
|
34776
|
+
resolvedConfig as cG,
|
|
34777
|
+
userProductSubscription as cH,
|
|
34778
|
+
isEnterpriseUser as cI,
|
|
34779
|
+
currentResolvedConfig as cJ,
|
|
34780
|
+
isCustomModel as cK,
|
|
34781
|
+
recordErrorToSpan as cL,
|
|
34782
|
+
addClientInfoParams as cM,
|
|
34783
|
+
dependentAbortController as cN,
|
|
34784
|
+
truncatePromptString as cO,
|
|
34785
|
+
isS2 as cP,
|
|
34786
|
+
GIT_OPENCTX_PROVIDER_URI as cQ,
|
|
34787
|
+
openCtx as cR,
|
|
34788
|
+
MulticastSubject as cS,
|
|
34789
|
+
AsyncSerialScheduler_1 as cT,
|
|
34790
|
+
Utils as cU,
|
|
34791
|
+
toString_1 as cV,
|
|
34792
|
+
upperFirst_1 as cW,
|
|
34793
|
+
_$1 as cX,
|
|
34794
|
+
extensionForLanguage as cY,
|
|
34795
|
+
setClientNameVersion as cZ,
|
|
34796
|
+
base64Js as c_,
|
|
34797
|
+
graphqlClient as ca,
|
|
34798
|
+
isAbortError as cb,
|
|
34799
|
+
logError as cc,
|
|
34800
|
+
semver$1 as cd,
|
|
34801
|
+
pendingOperation as ce,
|
|
34802
|
+
pick as cf,
|
|
34803
|
+
getModelInfo as cg,
|
|
34804
|
+
CHAT_OUTPUT_TOKEN_BUDGET as ch,
|
|
34805
|
+
EXTENDED_CHAT_INPUT_TOKEN_BUDGET as ci,
|
|
34806
|
+
EXTENDED_USER_CONTEXT_TOKEN_BUDGET as cj,
|
|
34807
|
+
createSubscriber as ck,
|
|
34808
|
+
fromVSCodeEvent as cl,
|
|
34809
|
+
cenv as cm,
|
|
34810
|
+
currentAuthStatus as cn,
|
|
34811
|
+
isFileURI as co,
|
|
34812
|
+
INCLUDE_EVERYTHING_CONTEXT_FILTERS as cp,
|
|
34813
|
+
EXCLUDE_EVERYTHING_CONTEXT_FILTERS as cq,
|
|
34814
|
+
onAbort as cr,
|
|
34815
|
+
addCodyClientIdentificationHeaders as cs,
|
|
34816
|
+
addAuthHeaders as ct,
|
|
34817
|
+
addTraceparent as cu,
|
|
34818
|
+
fetch as cv,
|
|
34819
|
+
verifyResponseCode as cw,
|
|
34820
|
+
combineLatest as cx,
|
|
34821
|
+
take as cy,
|
|
34822
|
+
clientCapabilities as cz,
|
|
34573
34823
|
dedent as d,
|
|
34574
|
-
|
|
34575
|
-
|
|
34576
|
-
|
|
34577
|
-
|
|
34578
|
-
|
|
34579
|
-
|
|
34580
|
-
|
|
34581
|
-
|
|
34582
|
-
|
|
34583
|
-
|
|
34584
|
-
|
|
34585
|
-
|
|
34586
|
-
|
|
34587
|
-
|
|
34588
|
-
|
|
34589
|
-
|
|
34590
|
-
|
|
34591
|
-
|
|
34592
|
-
|
|
34593
|
-
|
|
34594
|
-
|
|
34595
|
-
|
|
34596
|
-
|
|
34597
|
-
|
|
34598
|
-
|
|
34599
|
-
|
|
34600
|
-
|
|
34601
|
-
|
|
34602
|
-
|
|
34603
|
-
|
|
34604
|
-
|
|
34605
|
-
|
|
34606
|
-
|
|
34607
|
-
|
|
34608
|
-
|
|
34609
|
-
|
|
34610
|
-
|
|
34611
|
-
|
|
34612
|
-
|
|
34613
|
-
|
|
34614
|
-
|
|
34615
|
-
|
|
34616
|
-
|
|
34617
|
-
|
|
34618
|
-
|
|
34619
|
-
|
|
34620
|
-
|
|
34621
|
-
|
|
34622
|
-
|
|
34623
|
-
|
|
34624
|
-
|
|
34625
|
-
|
|
34626
|
-
|
|
34627
|
-
|
|
34628
|
-
|
|
34629
|
-
|
|
34630
|
-
|
|
34631
|
-
|
|
34632
|
-
|
|
34633
|
-
|
|
34634
|
-
|
|
34635
|
-
|
|
34636
|
-
|
|
34637
|
-
|
|
34638
|
-
|
|
34639
|
-
|
|
34640
|
-
|
|
34641
|
-
|
|
34642
|
-
|
|
34643
|
-
|
|
34644
|
-
|
|
34645
|
-
|
|
34646
|
-
|
|
34647
|
-
|
|
34648
|
-
|
|
34649
|
-
|
|
34650
|
-
|
|
34651
|
-
|
|
34652
|
-
|
|
34653
|
-
|
|
34654
|
-
|
|
34655
|
-
|
|
34656
|
-
|
|
34657
|
-
|
|
34658
|
-
|
|
34659
|
-
|
|
34660
|
-
|
|
34661
|
-
|
|
34662
|
-
|
|
34663
|
-
|
|
34664
|
-
|
|
34665
|
-
|
|
34666
|
-
|
|
34667
|
-
|
|
34668
|
-
|
|
34669
|
-
|
|
34670
|
-
|
|
34671
|
-
|
|
34672
|
-
|
|
34673
|
-
|
|
34674
|
-
|
|
34675
|
-
|
|
34676
|
-
|
|
34677
|
-
|
|
34678
|
-
|
|
34679
|
-
|
|
34680
|
-
|
|
34681
|
-
|
|
34682
|
-
|
|
34683
|
-
|
|
34684
|
-
|
|
34685
|
-
|
|
34686
|
-
|
|
34687
|
-
|
|
34688
|
-
|
|
34689
|
-
|
|
34690
|
-
|
|
34691
|
-
|
|
34692
|
-
|
|
34693
|
-
|
|
34694
|
-
|
|
34695
|
-
|
|
34696
|
-
|
|
34697
|
-
|
|
34698
|
-
|
|
34699
|
-
|
|
34700
|
-
|
|
34701
|
-
|
|
34702
|
-
|
|
34703
|
-
|
|
34704
|
-
|
|
34705
|
-
|
|
34706
|
-
|
|
34707
|
-
|
|
34708
|
-
|
|
34709
|
-
|
|
34710
|
-
|
|
34711
|
-
|
|
34712
|
-
|
|
34713
|
-
|
|
34714
|
-
|
|
34715
|
-
|
|
34824
|
+
updateGlobalTelemetryInstances as d$,
|
|
34825
|
+
eq_1$1 as d0,
|
|
34826
|
+
isArrayLike_1 as d1,
|
|
34827
|
+
isObjectLike_1 as d2,
|
|
34828
|
+
_copyObject as d3,
|
|
34829
|
+
keysIn_1 as d4,
|
|
34830
|
+
_cloneBufferExports as d5,
|
|
34831
|
+
_cloneTypedArray as d6,
|
|
34832
|
+
_copyArray as d7,
|
|
34833
|
+
_initCloneObject as d8,
|
|
34834
|
+
isArguments_1 as d9,
|
|
34835
|
+
_baseIsEqual as dA,
|
|
34836
|
+
keys_1 as dB,
|
|
34837
|
+
_baseGet as dC,
|
|
34838
|
+
_castPath as dD,
|
|
34839
|
+
isLength_1 as dE,
|
|
34840
|
+
_toKey as dF,
|
|
34841
|
+
_isKey as dG,
|
|
34842
|
+
toNumber_1 as dH,
|
|
34843
|
+
_baseFindIndex as dI,
|
|
34844
|
+
require$$1 as dJ,
|
|
34845
|
+
NetworkError as dK,
|
|
34846
|
+
isRateLimitError as dL,
|
|
34847
|
+
isAuthError as dM,
|
|
34848
|
+
convertGitCloneURLToCodebaseName as dN,
|
|
34849
|
+
pluck as dO,
|
|
34850
|
+
TokenCounterUtils as dP,
|
|
34851
|
+
toRangeData as dQ,
|
|
34852
|
+
DefaultChatCommands as dR,
|
|
34853
|
+
pathFunctionsForURI as dS,
|
|
34854
|
+
uriParseNameAndExtension as dT,
|
|
34855
|
+
uriDirname as dU,
|
|
34856
|
+
uriExtname as dV,
|
|
34857
|
+
uriBasename as dW,
|
|
34858
|
+
DefaultEditCommands as dX,
|
|
34859
|
+
subscriptionDisposable as dY,
|
|
34860
|
+
NoOpTelemetryRecorderProvider as dZ,
|
|
34861
|
+
TimestampTelemetryProcessor_1 as d_,
|
|
34862
|
+
isArray_1 as da,
|
|
34863
|
+
isBufferExports as db,
|
|
34864
|
+
isFunction_1 as dc,
|
|
34865
|
+
isObject_1 as dd,
|
|
34866
|
+
isPlainObject_1 as de,
|
|
34867
|
+
isTypedArray_1 as df,
|
|
34868
|
+
_Stack as dg,
|
|
34869
|
+
identity_1 as dh,
|
|
34870
|
+
_overRest as di,
|
|
34871
|
+
_setToString as dj,
|
|
34872
|
+
_isIndex as dk,
|
|
34873
|
+
setExtensionVersion as dl,
|
|
34874
|
+
withLatestFrom as dm,
|
|
34875
|
+
NEVER as dn,
|
|
34876
|
+
abortableOperation as dp,
|
|
34877
|
+
disposableSubscription as dq,
|
|
34878
|
+
setAuthStatusObservable as dr,
|
|
34879
|
+
DOTCOM_URL as ds,
|
|
34880
|
+
normalizeServerEndpointURL as dt,
|
|
34881
|
+
SourcegraphGraphQLAPIClient as du,
|
|
34882
|
+
isNetworkLikeError as dv,
|
|
34883
|
+
resolveAuth as dw,
|
|
34884
|
+
getAuthErrorMessage as dx,
|
|
34885
|
+
isWorkspaceInstance as dy,
|
|
34886
|
+
SUPPORTED_URI_SCHEMAS as dz,
|
|
34887
|
+
bs as e,
|
|
34888
|
+
truncatePromptStringStart as e$,
|
|
34889
|
+
TelemetryRecorderProvider as e0,
|
|
34890
|
+
telemetryRecorderProvider as e1,
|
|
34891
|
+
createGitDiff as e2,
|
|
34892
|
+
catchError as e3,
|
|
34893
|
+
omit$1 as e4,
|
|
34894
|
+
displayPathWithoutWorkspaceFolderPrefix as e5,
|
|
34895
|
+
getEditorInsertSpaces as e6,
|
|
34896
|
+
escapeRegExp$1 as e7,
|
|
34897
|
+
isNetworkError as e8,
|
|
34898
|
+
http as e9,
|
|
34899
|
+
isFreeUser as eA,
|
|
34900
|
+
_baseGetTag as eB,
|
|
34901
|
+
truncateTextNearestLine as eC,
|
|
34902
|
+
MAX_BYTES_PER_FILE as eD,
|
|
34903
|
+
debounce_1 as eE,
|
|
34904
|
+
TokenCounter as eF,
|
|
34905
|
+
mentionProvidersMetadata as eG,
|
|
34906
|
+
expandToLineRange as eH,
|
|
34907
|
+
openCtxProviderMetadata as eI,
|
|
34908
|
+
editorStateFromPromptString as eJ,
|
|
34909
|
+
getTokenCounterUtils as eK,
|
|
34910
|
+
inputTextWithoutContextChipsFromPromptEditorState as eL,
|
|
34911
|
+
PromptMode as eM,
|
|
34912
|
+
skip as eN,
|
|
34913
|
+
extractContextFromTraceparent as eO,
|
|
34914
|
+
isContextWindowLimitError as eP,
|
|
34915
|
+
addMessageListenersForExtensionAPI as eQ,
|
|
34916
|
+
createMessageAPIForExtension as eR,
|
|
34917
|
+
CODY_BLOG_URL_o1_WAITLIST as eS,
|
|
34918
|
+
CODY_PASSTHROUGH_VSCODE_OPEN_COMMAND_ID as eT,
|
|
34919
|
+
assertFileURI as eU,
|
|
34920
|
+
setOpenCtx as eV,
|
|
34921
|
+
createCodeSearchProvider as eW,
|
|
34922
|
+
CODE_SEARCH_PROVIDER_URI as eX,
|
|
34923
|
+
psDedent as eY,
|
|
34924
|
+
languageFromFilename as eZ,
|
|
34925
|
+
ProgrammingLanguage as e_,
|
|
34926
|
+
getAugmentedNamespace as ea,
|
|
34927
|
+
main as eb,
|
|
34928
|
+
firstNonPendingAuthStatus as ec,
|
|
34929
|
+
TESTING_TELEMETRY_EXPORTER as ed,
|
|
34930
|
+
dist as ee,
|
|
34931
|
+
checkIfEnterpriseUser as ef,
|
|
34932
|
+
currentAuthStatusAuthed as eg,
|
|
34933
|
+
waitUntilComplete as eh,
|
|
34934
|
+
isWindows as ei,
|
|
34935
|
+
currentAuthStatusOrNotReadyYet as ej,
|
|
34936
|
+
currentUserProductSubscription as ek,
|
|
34937
|
+
structuredPatch as el,
|
|
34938
|
+
isDotComAuthed as em,
|
|
34939
|
+
dedupeWith as en,
|
|
34940
|
+
AbortError as eo,
|
|
34941
|
+
TimeoutError as ep,
|
|
34942
|
+
createDisposables as eq,
|
|
34943
|
+
getClientInfoQueryParams as er,
|
|
34944
|
+
tracer as es,
|
|
34945
|
+
getClientIdentificationHeaders as et,
|
|
34946
|
+
logResponseHeadersToSpan as eu,
|
|
34947
|
+
getActiveTraceAndSpanId as ev,
|
|
34948
|
+
TracedError as ew,
|
|
34949
|
+
isNodeResponse as ex,
|
|
34950
|
+
createTwoFilesPatch as ey,
|
|
34951
|
+
getEditorTabSize as ez,
|
|
34952
|
+
ws as f,
|
|
34953
|
+
MAX_CURRENT_FILE_TOKENS as f0,
|
|
34954
|
+
posixFilePaths as f1,
|
|
34955
|
+
SURROUNDING_LINES as f2,
|
|
34956
|
+
ACCOUNT_UPGRADE_URL as f3,
|
|
34957
|
+
GENERAL_HELP_LABEL as f4,
|
|
34958
|
+
diffLines as f5,
|
|
34959
|
+
CODY_SUPPORT_URL as f6,
|
|
34960
|
+
CODY_DOC_URL as f7,
|
|
34961
|
+
DISCORD_URL as f8,
|
|
34962
|
+
globalAgentRef as f9,
|
|
34963
|
+
VSCODE_CHANGELOG_URL as fa,
|
|
34964
|
+
SG_CHANGELOG_URL as fb,
|
|
34965
|
+
ACCOUNT_LIMITS_INFO_URL as fc,
|
|
34966
|
+
assertUnreachable as fd,
|
|
34967
|
+
promise as fe,
|
|
34968
|
+
setLogger as ff,
|
|
34969
|
+
setClientCapabilities as fg,
|
|
34970
|
+
setResolvedConfigurationObservable as fh,
|
|
34971
|
+
CODY_OLLAMA_DOCS_URL as fi,
|
|
34716
34972
|
getDefaultExportFromCjs as g,
|
|
34717
|
-
|
|
34973
|
+
g as h,
|
|
34718
34974
|
ii as i,
|
|
34719
|
-
|
|
34975
|
+
h3 as j,
|
|
34720
34976
|
ke as k,
|
|
34721
|
-
|
|
34722
|
-
|
|
34723
|
-
|
|
34724
|
-
|
|
34977
|
+
_i as l,
|
|
34978
|
+
Br as m,
|
|
34979
|
+
ln as n,
|
|
34980
|
+
bi as o,
|
|
34725
34981
|
ps$1 as p,
|
|
34726
34982
|
qe as q,
|
|
34727
|
-
|
|
34728
|
-
|
|
34983
|
+
xn as r,
|
|
34984
|
+
mn as s,
|
|
34729
34985
|
telemetryRecorder as t,
|
|
34730
|
-
|
|
34986
|
+
li as u,
|
|
34731
34987
|
vn as v,
|
|
34732
34988
|
wrapInActiveSpan as w,
|
|
34733
34989
|
xi as x,
|
|
34734
34990
|
ys as y,
|
|
34735
|
-
|
|
34991
|
+
n as z
|
|
34736
34992
|
};
|