@sourcegraph/cody-web 0.33.0 → 0.35.0
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-2jv6UYtG.mjs → agent.worker-BLjjG8ds.mjs} +2063 -604
- package/dist/agent.worker.js +2 -2
- package/dist/{git-log-Sw0MOWAb.mjs → git-log-C0C2_x8P.mjs} +1 -1
- package/dist/index.js +628 -899
- package/dist/{lite-ch5VbcSy.mjs → lite-b2NFi2v9.mjs} +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{util-BcM-aRzi.mjs → util-C44wiTt8.mjs} +1 -1
- package/dist/{vscode-shim-DCfZW3km.mjs → vscode-shim-H_ThTWLs.mjs} +595 -593
- package/package.json +1 -1
|
@@ -46,7 +46,7 @@ function getAugmentedNamespace(n) {
|
|
|
46
46
|
});
|
|
47
47
|
return a3;
|
|
48
48
|
}
|
|
49
|
-
var define_process_default$
|
|
49
|
+
var define_process_default$c = { env: {} };
|
|
50
50
|
var LIB;
|
|
51
51
|
(() => {
|
|
52
52
|
var t3 = { 470: (t22) => {
|
|
@@ -85,7 +85,7 @@ var LIB;
|
|
|
85
85
|
var n2 = { resolve: function() {
|
|
86
86
|
for (var t32, n3 = "", i2 = false, o = arguments.length - 1; o >= -1 && !i2; o--) {
|
|
87
87
|
var s3;
|
|
88
|
-
o >= 0 ? s3 = arguments[o] : (void 0 === t32 && (t32 = define_process_default$
|
|
88
|
+
o >= 0 ? s3 = arguments[o] : (void 0 === t32 && (t32 = define_process_default$c.cwd()), s3 = t32), e22(s3), 0 !== s3.length && (n3 = s3 + "/" + n3, i2 = 47 === s3.charCodeAt(0));
|
|
89
89
|
}
|
|
90
90
|
return n3 = r2(n3, !i2), i2 ? n3.length > 0 ? "/" + n3 : "/" : n3.length > 0 ? n3 : ".";
|
|
91
91
|
}, normalize: function(t32) {
|
|
@@ -203,7 +203,7 @@ var LIB;
|
|
|
203
203
|
var n = {};
|
|
204
204
|
(() => {
|
|
205
205
|
let t22;
|
|
206
|
-
if (r.r(n), r.d(n, { URI: () => f, Utils: () => P }), "object" == typeof define_process_default$
|
|
206
|
+
if (r.r(n), r.d(n, { URI: () => f, Utils: () => P }), "object" == typeof define_process_default$c) t22 = "win32" === define_process_default$c.platform;
|
|
207
207
|
else if ("object" == typeof navigator) {
|
|
208
208
|
let e3 = navigator.userAgent;
|
|
209
209
|
t22 = e3.indexOf("Windows") >= 0;
|
|
@@ -2759,8 +2759,10 @@ function pick(...keys2) {
|
|
|
2759
2759
|
)
|
|
2760
2760
|
);
|
|
2761
2761
|
}
|
|
2762
|
+
let shareReplaySeq = 0;
|
|
2762
2763
|
function shareReplay(config) {
|
|
2763
2764
|
const shouldCountRefs = (config == null ? void 0 : config.shouldCountRefs) ?? true;
|
|
2765
|
+
shareReplaySeq++;
|
|
2764
2766
|
return (observable) => {
|
|
2765
2767
|
const subject = new MulticastSubject();
|
|
2766
2768
|
let subscription = null;
|
|
@@ -3220,7 +3222,7 @@ function retry(count) {
|
|
|
3220
3222
|
return () => unsuscribeThis();
|
|
3221
3223
|
});
|
|
3222
3224
|
}
|
|
3223
|
-
var define_process_default$
|
|
3225
|
+
var define_process_default$b = { env: {} };
|
|
3224
3226
|
const cenv = defineEnvBuilder({
|
|
3225
3227
|
/**
|
|
3226
3228
|
* A proxy string that falls back to Node's HTTP_PROXY and HTTPS_PROXY if
|
|
@@ -3269,7 +3271,7 @@ const cenv = defineEnvBuilder({
|
|
|
3269
3271
|
*/
|
|
3270
3272
|
CODY_TESTING_LIMIT_MAX_TIMERS: (envValue, _2) => bool(envValue) ?? assigned(getEnv("VITEST")) ?? false
|
|
3271
3273
|
});
|
|
3272
|
-
const _env$1 = typeof define_process_default$
|
|
3274
|
+
const _env$1 = typeof define_process_default$b !== "undefined" ? define_process_default$b.env : {};
|
|
3273
3275
|
function getEnv(key) {
|
|
3274
3276
|
const envValue = _env$1[key] ?? _env$1[key.toUpperCase()] ?? _env$1[key.toLowerCase()];
|
|
3275
3277
|
if (envValue === void 0) {
|
|
@@ -3556,12 +3558,6 @@ const AUTH_STATUS_FIXTURE_AUTHED_DOTCOM = {
|
|
|
3556
3558
|
...AUTH_STATUS_FIXTURE_AUTHED,
|
|
3557
3559
|
endpoint: "https://sourcegraph.com"
|
|
3558
3560
|
};
|
|
3559
|
-
function isCodyProUser(authStatus2, sub) {
|
|
3560
|
-
return isDotCom(authStatus2) && authStatus2.authenticated && sub !== null && !sub.userCanUpgrade;
|
|
3561
|
-
}
|
|
3562
|
-
function isFreeUser(authStatus2, sub) {
|
|
3563
|
-
return isDotCom(authStatus2) && authStatus2.authenticated && sub !== null && !!sub.userCanUpgrade;
|
|
3564
|
-
}
|
|
3565
3561
|
function isEnterpriseUser(authStatus2) {
|
|
3566
3562
|
return !isDotCom(authStatus2);
|
|
3567
3563
|
}
|
|
@@ -3597,10 +3593,6 @@ function firstNonPendingAuthStatus() {
|
|
|
3597
3593
|
Observable.from(authStatus).pipe(skipPendingOperation()).filter((status) => !status.pendingValidation)
|
|
3598
3594
|
);
|
|
3599
3595
|
}
|
|
3600
|
-
function isDotComAuthed() {
|
|
3601
|
-
const authStatus2 = currentAuthStatusOrNotReadyYet();
|
|
3602
|
-
return Boolean((authStatus2 == null ? void 0 : authStatus2.authenticated) && isDotCom(authStatus2));
|
|
3603
|
-
}
|
|
3604
3596
|
function mockAuthStatus(value = AUTH_STATUS_FIXTURE_AUTHED_DOTCOM) {
|
|
3605
3597
|
if (value instanceof Observable) {
|
|
3606
3598
|
_authStatus.setSource(value, false);
|
|
@@ -5185,7 +5177,7 @@ function formatDistanceStrict(dirtyDate, dirtyBaseDate, options) {
|
|
|
5185
5177
|
var _ref, _options$locale, _options$roundingMeth;
|
|
5186
5178
|
requiredArgs(2, arguments);
|
|
5187
5179
|
var defaultOptions2 = getDefaultOptions();
|
|
5188
|
-
var locale$1 = (_ref = (_options$locale =
|
|
5180
|
+
var locale$1 = (_ref = (_options$locale = void 0) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions2.locale) !== null && _ref !== void 0 ? _ref : locale;
|
|
5189
5181
|
if (!locale$1.formatDistance) {
|
|
5190
5182
|
throw new RangeError("locale must contain localize.formatDistance property");
|
|
5191
5183
|
}
|
|
@@ -5194,7 +5186,7 @@ function formatDistanceStrict(dirtyDate, dirtyBaseDate, options) {
|
|
|
5194
5186
|
throw new RangeError("Invalid time value");
|
|
5195
5187
|
}
|
|
5196
5188
|
var localizeOptions = assign(cloneObject(options), {
|
|
5197
|
-
addSuffix: Boolean(
|
|
5189
|
+
addSuffix: Boolean(void 0),
|
|
5198
5190
|
comparison
|
|
5199
5191
|
});
|
|
5200
5192
|
var dateLeft;
|
|
@@ -5206,7 +5198,7 @@ function formatDistanceStrict(dirtyDate, dirtyBaseDate, options) {
|
|
|
5206
5198
|
dateLeft = toDate(dirtyDate);
|
|
5207
5199
|
dateRight = toDate(dirtyBaseDate);
|
|
5208
5200
|
}
|
|
5209
|
-
var roundingMethod = String((_options$roundingMeth =
|
|
5201
|
+
var roundingMethod = String((_options$roundingMeth = void 0) !== null && _options$roundingMeth !== void 0 ? _options$roundingMeth : "round");
|
|
5210
5202
|
var roundingMethodFn;
|
|
5211
5203
|
if (roundingMethod === "floor") {
|
|
5212
5204
|
roundingMethodFn = Math.floor;
|
|
@@ -5221,9 +5213,9 @@ function formatDistanceStrict(dirtyDate, dirtyBaseDate, options) {
|
|
|
5221
5213
|
var minutes = milliseconds / MILLISECONDS_IN_MINUTE;
|
|
5222
5214
|
var timezoneOffset = getTimezoneOffsetInMilliseconds(dateRight) - getTimezoneOffsetInMilliseconds(dateLeft);
|
|
5223
5215
|
var dstNormalizedMinutes = (milliseconds - timezoneOffset) / MILLISECONDS_IN_MINUTE;
|
|
5224
|
-
var defaultUnit =
|
|
5216
|
+
var defaultUnit = void 0;
|
|
5225
5217
|
var unit;
|
|
5226
|
-
|
|
5218
|
+
{
|
|
5227
5219
|
if (minutes < 1) {
|
|
5228
5220
|
unit = "second";
|
|
5229
5221
|
} else if (minutes < 60) {
|
|
@@ -5237,8 +5229,6 @@ function formatDistanceStrict(dirtyDate, dirtyBaseDate, options) {
|
|
|
5237
5229
|
} else {
|
|
5238
5230
|
unit = "year";
|
|
5239
5231
|
}
|
|
5240
|
-
} else {
|
|
5241
|
-
unit = String(defaultUnit);
|
|
5242
5232
|
}
|
|
5243
5233
|
if (unit === "second") {
|
|
5244
5234
|
var seconds = roundingMethodFn(milliseconds / 1e3);
|
|
@@ -5452,24 +5442,24 @@ function isInvalidAccessTokenError(error2) {
|
|
|
5452
5442
|
function isEnterpriseUserDotComError(error2) {
|
|
5453
5443
|
return error2 instanceof EnterpriseUserDotComError;
|
|
5454
5444
|
}
|
|
5455
|
-
var define_process_default$
|
|
5445
|
+
var define_process_default$a = { env: {} };
|
|
5456
5446
|
const externalAuthRefresh = new MulticastSubject();
|
|
5457
5447
|
function normalizeServerEndpointURL(url) {
|
|
5458
5448
|
return url.endsWith("/") ? url : `${url}/`;
|
|
5459
5449
|
}
|
|
5460
5450
|
async function executeCommand(cmd) {
|
|
5461
|
-
if (typeof define_process_default$
|
|
5451
|
+
if (typeof define_process_default$a === "undefined" || !define_process_default$a.version) {
|
|
5462
5452
|
throw new Error("Command execution is only supported in Node.js environments");
|
|
5463
5453
|
}
|
|
5464
5454
|
const { exec: exec2 } = await Promise.resolve().then(() => child_process);
|
|
5465
|
-
const { promisify: promisify2 } = await import("./util-
|
|
5455
|
+
const { promisify: promisify2 } = await import("./util-C44wiTt8.mjs").then((n) => n.u);
|
|
5466
5456
|
const execAsync = promisify2(exec2);
|
|
5467
5457
|
const command = cmd.commandLine.join(" ");
|
|
5468
5458
|
const { stdout } = await execAsync(command, {
|
|
5469
5459
|
shell: cmd.shell,
|
|
5470
5460
|
timeout: cmd.timeout,
|
|
5471
5461
|
windowsHide: cmd.windowsHide,
|
|
5472
|
-
env: { ...define_process_default$
|
|
5462
|
+
env: { ...define_process_default$a.env, ...cmd.environment }
|
|
5473
5463
|
});
|
|
5474
5464
|
return stdout.trim();
|
|
5475
5465
|
}
|
|
@@ -6139,7 +6129,7 @@ const globalAgentRef = {
|
|
|
6139
6129
|
return _globalAgent !== void 0;
|
|
6140
6130
|
}
|
|
6141
6131
|
};
|
|
6142
|
-
var define_process_default$
|
|
6132
|
+
var define_process_default$9 = { env: {} };
|
|
6143
6133
|
let clientName = "";
|
|
6144
6134
|
let clientVersion = "";
|
|
6145
6135
|
let clientCompletionsStreamQueryParameterName;
|
|
@@ -6151,7 +6141,7 @@ function setClientNameVersion(params) {
|
|
|
6151
6141
|
clientVersion = params.newClientVersion;
|
|
6152
6142
|
}
|
|
6153
6143
|
function getClientIdentificationHeaders() {
|
|
6154
|
-
const runtimeInfo = typeof define_process_default$
|
|
6144
|
+
const runtimeInfo = typeof define_process_default$9 !== "undefined" && define_process_default$9.version ? `Node.js ${define_process_default$9.version}` : typeof navigator !== "undefined" && navigator.userAgent ? `Browser ${navigator.userAgent}` : "Unknown environment";
|
|
6155
6145
|
const headers = {
|
|
6156
6146
|
"User-Agent": `${clientName}/${clientVersion} (${runtimeInfo})`
|
|
6157
6147
|
};
|
|
@@ -6895,7 +6885,8 @@ var constants$1 = {
|
|
|
6895
6885
|
FLAG_INCLUDE_PRERELEASE: 1,
|
|
6896
6886
|
FLAG_LOOSE: 2
|
|
6897
6887
|
};
|
|
6898
|
-
|
|
6888
|
+
var define_process_default$8 = { env: {} };
|
|
6889
|
+
const debug$1 = typeof define_process_default$8 === "object" && define_process_default$8.env && false ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
6899
6890
|
};
|
|
6900
6891
|
var debug_1 = debug$1;
|
|
6901
6892
|
(function(module, exports) {
|
|
@@ -6904,6 +6895,7 @@ var debug_1 = debug$1;
|
|
|
6904
6895
|
MAX_SAFE_BUILD_LENGTH: MAX_SAFE_BUILD_LENGTH2,
|
|
6905
6896
|
MAX_LENGTH: MAX_LENGTH2
|
|
6906
6897
|
} = constants$1;
|
|
6898
|
+
const debug2 = debug_1;
|
|
6907
6899
|
exports = module.exports = {};
|
|
6908
6900
|
const re2 = exports.re = [];
|
|
6909
6901
|
const safeRe = exports.safeRe = [];
|
|
@@ -6925,6 +6917,7 @@ var debug_1 = debug$1;
|
|
|
6925
6917
|
const createToken = (name2, value, isGlobal) => {
|
|
6926
6918
|
const safe = makeSafeRegex(value);
|
|
6927
6919
|
const index = R2++;
|
|
6920
|
+
debug2(name2, index, value);
|
|
6928
6921
|
t3[name2] = index;
|
|
6929
6922
|
src[index] = value;
|
|
6930
6923
|
re2[index] = new RegExp(value, isGlobal ? "g" : void 0);
|
|
@@ -7024,6 +7017,7 @@ let SemVer$d = class SemVer {
|
|
|
7024
7017
|
`version is longer than ${MAX_LENGTH$1} characters`
|
|
7025
7018
|
);
|
|
7026
7019
|
}
|
|
7020
|
+
debug("SemVer", version2, options);
|
|
7027
7021
|
this.options = options;
|
|
7028
7022
|
this.loose = !!options.loose;
|
|
7029
7023
|
this.includePrerelease = !!options.includePrerelease;
|
|
@@ -7071,7 +7065,7 @@ let SemVer$d = class SemVer {
|
|
|
7071
7065
|
return this.version;
|
|
7072
7066
|
}
|
|
7073
7067
|
compare(other) {
|
|
7074
|
-
debug("SemVer.compare", this.version, this.options);
|
|
7068
|
+
debug("SemVer.compare", this.version, this.options, other);
|
|
7075
7069
|
if (!(other instanceof SemVer)) {
|
|
7076
7070
|
if (typeof other === "string" && other === this.version) {
|
|
7077
7071
|
return 0;
|
|
@@ -7104,6 +7098,7 @@ let SemVer$d = class SemVer {
|
|
|
7104
7098
|
do {
|
|
7105
7099
|
const a3 = this.prerelease[i2];
|
|
7106
7100
|
const b2 = other.prerelease[i2];
|
|
7101
|
+
debug("prerelease compare", i2, a3, b2);
|
|
7107
7102
|
if (a3 === void 0 && b2 === void 0) {
|
|
7108
7103
|
return 0;
|
|
7109
7104
|
} else if (b2 === void 0) {
|
|
@@ -7125,6 +7120,7 @@ let SemVer$d = class SemVer {
|
|
|
7125
7120
|
do {
|
|
7126
7121
|
const a3 = this.build[i2];
|
|
7127
7122
|
const b2 = other.build[i2];
|
|
7123
|
+
debug("prerelease compare", i2, a3, b2);
|
|
7128
7124
|
if (a3 === void 0 && b2 === void 0) {
|
|
7129
7125
|
return 0;
|
|
7130
7126
|
} else if (b2 === void 0) {
|
|
@@ -8148,9 +8144,13 @@ function requireRange() {
|
|
|
8148
8144
|
const loose = this.options.loose;
|
|
8149
8145
|
const hr = loose ? re2[t3.HYPHENRANGELOOSE] : re2[t3.HYPHENRANGE];
|
|
8150
8146
|
range2 = range2.replace(hr, hyphenReplace(this.options.includePrerelease));
|
|
8147
|
+
debug2("hyphen replace", range2);
|
|
8151
8148
|
range2 = range2.replace(re2[t3.COMPARATORTRIM], comparatorTrimReplace);
|
|
8149
|
+
debug2("comparator trim", range2);
|
|
8152
8150
|
range2 = range2.replace(re2[t3.TILDETRIM], tildeTrimReplace);
|
|
8151
|
+
debug2("tilde trim", range2);
|
|
8153
8152
|
range2 = range2.replace(re2[t3.CARETTRIM], caretTrimReplace);
|
|
8153
|
+
debug2("caret trim", range2);
|
|
8154
8154
|
let rangeList = range2.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
|
|
8155
8155
|
if (loose) {
|
|
8156
8156
|
rangeList = rangeList.filter((comp) => {
|
|
@@ -8158,6 +8158,7 @@ function requireRange() {
|
|
|
8158
8158
|
return !!comp.match(re2[t3.COMPARATORLOOSE]);
|
|
8159
8159
|
});
|
|
8160
8160
|
}
|
|
8161
|
+
debug2("range list", rangeList);
|
|
8161
8162
|
const rangeMap = /* @__PURE__ */ new Map();
|
|
8162
8163
|
const comparators = rangeList.map((comp) => new Comparator2(comp, this.options));
|
|
8163
8164
|
for (const comp of comparators) {
|
|
@@ -8237,10 +8238,15 @@ function requireRange() {
|
|
|
8237
8238
|
return result;
|
|
8238
8239
|
};
|
|
8239
8240
|
const parseComparator = (comp, options) => {
|
|
8241
|
+
debug2("comp", comp, options);
|
|
8240
8242
|
comp = replaceCarets(comp, options);
|
|
8243
|
+
debug2("caret", comp);
|
|
8241
8244
|
comp = replaceTildes(comp, options);
|
|
8245
|
+
debug2("tildes", comp);
|
|
8242
8246
|
comp = replaceXRanges(comp, options);
|
|
8243
|
-
|
|
8247
|
+
debug2("xrange", comp);
|
|
8248
|
+
comp = replaceStars(comp, options);
|
|
8249
|
+
debug2("stars", comp);
|
|
8244
8250
|
return comp;
|
|
8245
8251
|
};
|
|
8246
8252
|
const isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
|
|
@@ -8250,6 +8256,7 @@ function requireRange() {
|
|
|
8250
8256
|
const replaceTilde = (comp, options) => {
|
|
8251
8257
|
const r = options.loose ? re2[t3.TILDELOOSE] : re2[t3.TILDE];
|
|
8252
8258
|
return comp.replace(r, (_2, M3, m3, p, pr) => {
|
|
8259
|
+
debug2("tilde", comp, _2, M3, m3, p, pr);
|
|
8253
8260
|
let ret;
|
|
8254
8261
|
if (isX(M3)) {
|
|
8255
8262
|
ret = "";
|
|
@@ -8258,10 +8265,12 @@ function requireRange() {
|
|
|
8258
8265
|
} else if (isX(p)) {
|
|
8259
8266
|
ret = `>=${M3}.${m3}.0 <${M3}.${+m3 + 1}.0-0`;
|
|
8260
8267
|
} else if (pr) {
|
|
8268
|
+
debug2("replaceTilde pr", pr);
|
|
8261
8269
|
ret = `>=${M3}.${m3}.${p}-${pr} <${M3}.${+m3 + 1}.0-0`;
|
|
8262
8270
|
} else {
|
|
8263
8271
|
ret = `>=${M3}.${m3}.${p} <${M3}.${+m3 + 1}.0-0`;
|
|
8264
8272
|
}
|
|
8273
|
+
debug2("tilde return", ret);
|
|
8265
8274
|
return ret;
|
|
8266
8275
|
});
|
|
8267
8276
|
};
|
|
@@ -8269,9 +8278,11 @@ function requireRange() {
|
|
|
8269
8278
|
return comp.trim().split(/\s+/).map((c2) => replaceCaret(c2, options)).join(" ");
|
|
8270
8279
|
};
|
|
8271
8280
|
const replaceCaret = (comp, options) => {
|
|
8281
|
+
debug2("caret", comp, options);
|
|
8272
8282
|
const r = options.loose ? re2[t3.CARETLOOSE] : re2[t3.CARET];
|
|
8273
8283
|
const z2 = options.includePrerelease ? "-0" : "";
|
|
8274
8284
|
return comp.replace(r, (_2, M3, m3, p, pr) => {
|
|
8285
|
+
debug2("caret", comp, _2, M3, m3, p, pr);
|
|
8275
8286
|
let ret;
|
|
8276
8287
|
if (isX(M3)) {
|
|
8277
8288
|
ret = "";
|
|
@@ -8284,6 +8295,7 @@ function requireRange() {
|
|
|
8284
8295
|
ret = `>=${M3}.${m3}.0${z2} <${+M3 + 1}.0.0-0`;
|
|
8285
8296
|
}
|
|
8286
8297
|
} else if (pr) {
|
|
8298
|
+
debug2("replaceCaret pr", pr);
|
|
8287
8299
|
if (M3 === "0") {
|
|
8288
8300
|
if (m3 === "0") {
|
|
8289
8301
|
ret = `>=${M3}.${m3}.${p}-${pr} <${M3}.${m3}.${+p + 1}-0`;
|
|
@@ -8294,6 +8306,7 @@ function requireRange() {
|
|
|
8294
8306
|
ret = `>=${M3}.${m3}.${p}-${pr} <${+M3 + 1}.0.0-0`;
|
|
8295
8307
|
}
|
|
8296
8308
|
} else {
|
|
8309
|
+
debug2("no pr");
|
|
8297
8310
|
if (M3 === "0") {
|
|
8298
8311
|
if (m3 === "0") {
|
|
8299
8312
|
ret = `>=${M3}.${m3}.${p}${z2} <${M3}.${m3}.${+p + 1}-0`;
|
|
@@ -8304,16 +8317,19 @@ function requireRange() {
|
|
|
8304
8317
|
ret = `>=${M3}.${m3}.${p} <${+M3 + 1}.0.0-0`;
|
|
8305
8318
|
}
|
|
8306
8319
|
}
|
|
8320
|
+
debug2("caret return", ret);
|
|
8307
8321
|
return ret;
|
|
8308
8322
|
});
|
|
8309
8323
|
};
|
|
8310
8324
|
const replaceXRanges = (comp, options) => {
|
|
8325
|
+
debug2("replaceXRanges", comp, options);
|
|
8311
8326
|
return comp.split(/\s+/).map((c2) => replaceXRange(c2, options)).join(" ");
|
|
8312
8327
|
};
|
|
8313
8328
|
const replaceXRange = (comp, options) => {
|
|
8314
8329
|
comp = comp.trim();
|
|
8315
8330
|
const r = options.loose ? re2[t3.XRANGELOOSE] : re2[t3.XRANGE];
|
|
8316
8331
|
return comp.replace(r, (ret, gtlt, M3, m3, p, pr) => {
|
|
8332
|
+
debug2("xRange", comp, ret, gtlt, M3, m3, p, pr);
|
|
8317
8333
|
const xM = isX(M3);
|
|
8318
8334
|
const xm = xM || isX(m3);
|
|
8319
8335
|
const xp = xm || isX(p);
|
|
@@ -8360,13 +8376,16 @@ function requireRange() {
|
|
|
8360
8376
|
} else if (xp) {
|
|
8361
8377
|
ret = `>=${M3}.${m3}.0${pr} <${M3}.${+m3 + 1}.0-0`;
|
|
8362
8378
|
}
|
|
8379
|
+
debug2("xRange return", ret);
|
|
8363
8380
|
return ret;
|
|
8364
8381
|
});
|
|
8365
8382
|
};
|
|
8366
8383
|
const replaceStars = (comp, options) => {
|
|
8384
|
+
debug2("replaceStars", comp, options);
|
|
8367
8385
|
return comp.trim().replace(re2[t3.STAR], "");
|
|
8368
8386
|
};
|
|
8369
8387
|
const replaceGTE0 = (comp, options) => {
|
|
8388
|
+
debug2("replaceGTE0", comp, options);
|
|
8370
8389
|
return comp.trim().replace(re2[options.includePrerelease ? t3.GTE0PRE : t3.GTE0], "");
|
|
8371
8390
|
};
|
|
8372
8391
|
const hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) => {
|
|
@@ -8441,6 +8460,7 @@ function requireComparator() {
|
|
|
8441
8460
|
}
|
|
8442
8461
|
}
|
|
8443
8462
|
comp = comp.trim().split(/\s+/).join(" ");
|
|
8463
|
+
debug2("comparator", comp, options);
|
|
8444
8464
|
this.options = options;
|
|
8445
8465
|
this.loose = !!options.loose;
|
|
8446
8466
|
this.parse(comp);
|
|
@@ -8449,6 +8469,7 @@ function requireComparator() {
|
|
|
8449
8469
|
} else {
|
|
8450
8470
|
this.value = this.operator + this.semver.version;
|
|
8451
8471
|
}
|
|
8472
|
+
debug2("comp", this);
|
|
8452
8473
|
}
|
|
8453
8474
|
parse(comp) {
|
|
8454
8475
|
const r = this.options.loose ? re2[t3.COMPARATORLOOSE] : re2[t3.COMPARATOR];
|
|
@@ -9426,26 +9447,13 @@ var BaggageImpl = (
|
|
|
9426
9447
|
return BaggageImpl2;
|
|
9427
9448
|
}()
|
|
9428
9449
|
);
|
|
9429
|
-
|
|
9430
|
-
var diag$1 = DiagAPI.instance();
|
|
9450
|
+
DiagAPI.instance();
|
|
9431
9451
|
function createBaggage(entries) {
|
|
9432
9452
|
if (entries === void 0) {
|
|
9433
9453
|
entries = {};
|
|
9434
9454
|
}
|
|
9435
9455
|
return new BaggageImpl(new Map(Object.entries(entries)));
|
|
9436
9456
|
}
|
|
9437
|
-
function baggageEntryMetadataFromString(str2) {
|
|
9438
|
-
if (typeof str2 !== "string") {
|
|
9439
|
-
diag$1.error("Cannot create baggage metadata from unknown type: " + typeof str2);
|
|
9440
|
-
str2 = "";
|
|
9441
|
-
}
|
|
9442
|
-
return {
|
|
9443
|
-
__TYPE__: baggageEntryMetadataSymbol,
|
|
9444
|
-
toString: function() {
|
|
9445
|
-
return str2;
|
|
9446
|
-
}
|
|
9447
|
-
};
|
|
9448
|
-
}
|
|
9449
9457
|
function createContextKey(description2) {
|
|
9450
9458
|
return Symbol.for(description2);
|
|
9451
9459
|
}
|
|
@@ -12013,7 +12021,9 @@ class SourcegraphGraphQLAPIClient {
|
|
|
12013
12021
|
const config = await firstValueFrom(this.config);
|
|
12014
12022
|
signal == null ? void 0 : signal.throwIfAborted();
|
|
12015
12023
|
const headers = new Headers((_a3 = config.configuration) == null ? void 0 : _a3.customHeaders);
|
|
12016
|
-
if (config.clientState.anonymousUserID && false)
|
|
12024
|
+
if (config.clientState.anonymousUserID && false) {
|
|
12025
|
+
headers.set("X-Sourcegraph-Actor-Anonymous-UID", config.clientState.anonymousUserID);
|
|
12026
|
+
}
|
|
12017
12027
|
const url = new URL(
|
|
12018
12028
|
buildGraphQLUrl({
|
|
12019
12029
|
request: query,
|
|
@@ -12052,7 +12062,9 @@ class SourcegraphGraphQLAPIClient {
|
|
|
12052
12062
|
return resolvedConfig2;
|
|
12053
12063
|
})();
|
|
12054
12064
|
const headers = new Headers((_a3 = config.configuration) == null ? void 0 : _a3.customHeaders);
|
|
12055
|
-
if (config.clientState.anonymousUserID && false)
|
|
12065
|
+
if (config.clientState.anonymousUserID && false) {
|
|
12066
|
+
headers.set("X-Sourcegraph-Actor-Anonymous-UID", config.clientState.anonymousUserID);
|
|
12067
|
+
}
|
|
12056
12068
|
const url = new URL(urlPath, config.auth.serverEndpoint);
|
|
12057
12069
|
addTraceparent(headers);
|
|
12058
12070
|
addCodyClientIdentificationHeaders(headers);
|
|
@@ -19257,6 +19269,202 @@ let LRUCache$1 = (_b = class {
|
|
|
19257
19269
|
__privateSet(this, _tail, index);
|
|
19258
19270
|
}
|
|
19259
19271
|
}, _b);
|
|
19272
|
+
var balancedMatch = balanced$1;
|
|
19273
|
+
function balanced$1(a3, b2, str2) {
|
|
19274
|
+
if (a3 instanceof RegExp) a3 = maybeMatch(a3, str2);
|
|
19275
|
+
if (b2 instanceof RegExp) b2 = maybeMatch(b2, str2);
|
|
19276
|
+
var r = range(a3, b2, str2);
|
|
19277
|
+
return r && {
|
|
19278
|
+
start: r[0],
|
|
19279
|
+
end: r[1],
|
|
19280
|
+
pre: str2.slice(0, r[0]),
|
|
19281
|
+
body: str2.slice(r[0] + a3.length, r[1]),
|
|
19282
|
+
post: str2.slice(r[1] + b2.length)
|
|
19283
|
+
};
|
|
19284
|
+
}
|
|
19285
|
+
function maybeMatch(reg, str2) {
|
|
19286
|
+
var m3 = str2.match(reg);
|
|
19287
|
+
return m3 ? m3[0] : null;
|
|
19288
|
+
}
|
|
19289
|
+
balanced$1.range = range;
|
|
19290
|
+
function range(a3, b2, str2) {
|
|
19291
|
+
var begs, beg, left, right, result;
|
|
19292
|
+
var ai = str2.indexOf(a3);
|
|
19293
|
+
var bi = str2.indexOf(b2, ai + 1);
|
|
19294
|
+
var i2 = ai;
|
|
19295
|
+
if (ai >= 0 && bi > 0) {
|
|
19296
|
+
if (a3 === b2) {
|
|
19297
|
+
return [ai, bi];
|
|
19298
|
+
}
|
|
19299
|
+
begs = [];
|
|
19300
|
+
left = str2.length;
|
|
19301
|
+
while (i2 >= 0 && !result) {
|
|
19302
|
+
if (i2 == ai) {
|
|
19303
|
+
begs.push(i2);
|
|
19304
|
+
ai = str2.indexOf(a3, i2 + 1);
|
|
19305
|
+
} else if (begs.length == 1) {
|
|
19306
|
+
result = [begs.pop(), bi];
|
|
19307
|
+
} else {
|
|
19308
|
+
beg = begs.pop();
|
|
19309
|
+
if (beg < left) {
|
|
19310
|
+
left = beg;
|
|
19311
|
+
right = bi;
|
|
19312
|
+
}
|
|
19313
|
+
bi = str2.indexOf(b2, i2 + 1);
|
|
19314
|
+
}
|
|
19315
|
+
i2 = ai < bi && ai >= 0 ? ai : bi;
|
|
19316
|
+
}
|
|
19317
|
+
if (begs.length) {
|
|
19318
|
+
result = [left, right];
|
|
19319
|
+
}
|
|
19320
|
+
}
|
|
19321
|
+
return result;
|
|
19322
|
+
}
|
|
19323
|
+
var balanced = balancedMatch;
|
|
19324
|
+
var braceExpansion = expandTop;
|
|
19325
|
+
var escSlash = "\0SLASH" + Math.random() + "\0";
|
|
19326
|
+
var escOpen = "\0OPEN" + Math.random() + "\0";
|
|
19327
|
+
var escClose = "\0CLOSE" + Math.random() + "\0";
|
|
19328
|
+
var escComma = "\0COMMA" + Math.random() + "\0";
|
|
19329
|
+
var escPeriod = "\0PERIOD" + Math.random() + "\0";
|
|
19330
|
+
function numeric(str2) {
|
|
19331
|
+
return parseInt(str2, 10) == str2 ? parseInt(str2, 10) : str2.charCodeAt(0);
|
|
19332
|
+
}
|
|
19333
|
+
function escapeBraces(str2) {
|
|
19334
|
+
return str2.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod);
|
|
19335
|
+
}
|
|
19336
|
+
function unescapeBraces(str2) {
|
|
19337
|
+
return str2.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".");
|
|
19338
|
+
}
|
|
19339
|
+
function parseCommaParts(str2) {
|
|
19340
|
+
if (!str2)
|
|
19341
|
+
return [""];
|
|
19342
|
+
var parts = [];
|
|
19343
|
+
var m3 = balanced("{", "}", str2);
|
|
19344
|
+
if (!m3)
|
|
19345
|
+
return str2.split(",");
|
|
19346
|
+
var pre = m3.pre;
|
|
19347
|
+
var body = m3.body;
|
|
19348
|
+
var post = m3.post;
|
|
19349
|
+
var p = pre.split(",");
|
|
19350
|
+
p[p.length - 1] += "{" + body + "}";
|
|
19351
|
+
var postParts = parseCommaParts(post);
|
|
19352
|
+
if (post.length) {
|
|
19353
|
+
p[p.length - 1] += postParts.shift();
|
|
19354
|
+
p.push.apply(p, postParts);
|
|
19355
|
+
}
|
|
19356
|
+
parts.push.apply(parts, p);
|
|
19357
|
+
return parts;
|
|
19358
|
+
}
|
|
19359
|
+
function expandTop(str2) {
|
|
19360
|
+
if (!str2)
|
|
19361
|
+
return [];
|
|
19362
|
+
if (str2.substr(0, 2) === "{}") {
|
|
19363
|
+
str2 = "\\{\\}" + str2.substr(2);
|
|
19364
|
+
}
|
|
19365
|
+
return expand(escapeBraces(str2), true).map(unescapeBraces);
|
|
19366
|
+
}
|
|
19367
|
+
function embrace(str2) {
|
|
19368
|
+
return "{" + str2 + "}";
|
|
19369
|
+
}
|
|
19370
|
+
function isPadded(el) {
|
|
19371
|
+
return /^-?0\d/.test(el);
|
|
19372
|
+
}
|
|
19373
|
+
function lte(i2, y3) {
|
|
19374
|
+
return i2 <= y3;
|
|
19375
|
+
}
|
|
19376
|
+
function gte(i2, y3) {
|
|
19377
|
+
return i2 >= y3;
|
|
19378
|
+
}
|
|
19379
|
+
function expand(str2, isTop) {
|
|
19380
|
+
var expansions = [];
|
|
19381
|
+
var m3 = balanced("{", "}", str2);
|
|
19382
|
+
if (!m3) return [str2];
|
|
19383
|
+
var pre = m3.pre;
|
|
19384
|
+
var post = m3.post.length ? expand(m3.post, false) : [""];
|
|
19385
|
+
if (/\$$/.test(m3.pre)) {
|
|
19386
|
+
for (var k2 = 0; k2 < post.length; k2++) {
|
|
19387
|
+
var expansion = pre + "{" + m3.body + "}" + post[k2];
|
|
19388
|
+
expansions.push(expansion);
|
|
19389
|
+
}
|
|
19390
|
+
} else {
|
|
19391
|
+
var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m3.body);
|
|
19392
|
+
var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m3.body);
|
|
19393
|
+
var isSequence = isNumericSequence || isAlphaSequence;
|
|
19394
|
+
var isOptions = m3.body.indexOf(",") >= 0;
|
|
19395
|
+
if (!isSequence && !isOptions) {
|
|
19396
|
+
if (m3.post.match(/,.*\}/)) {
|
|
19397
|
+
str2 = m3.pre + "{" + m3.body + escClose + m3.post;
|
|
19398
|
+
return expand(str2);
|
|
19399
|
+
}
|
|
19400
|
+
return [str2];
|
|
19401
|
+
}
|
|
19402
|
+
var n;
|
|
19403
|
+
if (isSequence) {
|
|
19404
|
+
n = m3.body.split(/\.\./);
|
|
19405
|
+
} else {
|
|
19406
|
+
n = parseCommaParts(m3.body);
|
|
19407
|
+
if (n.length === 1) {
|
|
19408
|
+
n = expand(n[0], false).map(embrace);
|
|
19409
|
+
if (n.length === 1) {
|
|
19410
|
+
return post.map(function(p) {
|
|
19411
|
+
return m3.pre + n[0] + p;
|
|
19412
|
+
});
|
|
19413
|
+
}
|
|
19414
|
+
}
|
|
19415
|
+
}
|
|
19416
|
+
var N;
|
|
19417
|
+
if (isSequence) {
|
|
19418
|
+
var x2 = numeric(n[0]);
|
|
19419
|
+
var y3 = numeric(n[1]);
|
|
19420
|
+
var width = Math.max(n[0].length, n[1].length);
|
|
19421
|
+
var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
|
|
19422
|
+
var test = lte;
|
|
19423
|
+
var reverse = y3 < x2;
|
|
19424
|
+
if (reverse) {
|
|
19425
|
+
incr *= -1;
|
|
19426
|
+
test = gte;
|
|
19427
|
+
}
|
|
19428
|
+
var pad = n.some(isPadded);
|
|
19429
|
+
N = [];
|
|
19430
|
+
for (var i2 = x2; test(i2, y3); i2 += incr) {
|
|
19431
|
+
var c2;
|
|
19432
|
+
if (isAlphaSequence) {
|
|
19433
|
+
c2 = String.fromCharCode(i2);
|
|
19434
|
+
if (c2 === "\\")
|
|
19435
|
+
c2 = "";
|
|
19436
|
+
} else {
|
|
19437
|
+
c2 = String(i2);
|
|
19438
|
+
if (pad) {
|
|
19439
|
+
var need = width - c2.length;
|
|
19440
|
+
if (need > 0) {
|
|
19441
|
+
var z2 = new Array(need + 1).join("0");
|
|
19442
|
+
if (i2 < 0)
|
|
19443
|
+
c2 = "-" + z2 + c2.slice(1);
|
|
19444
|
+
else
|
|
19445
|
+
c2 = z2 + c2;
|
|
19446
|
+
}
|
|
19447
|
+
}
|
|
19448
|
+
}
|
|
19449
|
+
N.push(c2);
|
|
19450
|
+
}
|
|
19451
|
+
} else {
|
|
19452
|
+
N = [];
|
|
19453
|
+
for (var j = 0; j < n.length; j++) {
|
|
19454
|
+
N.push.apply(N, expand(n[j], false));
|
|
19455
|
+
}
|
|
19456
|
+
}
|
|
19457
|
+
for (var j = 0; j < N.length; j++) {
|
|
19458
|
+
for (var k2 = 0; k2 < post.length; k2++) {
|
|
19459
|
+
var expansion = pre + N[j] + post[k2];
|
|
19460
|
+
if (!isTop || isSequence || expansion)
|
|
19461
|
+
expansions.push(expansion);
|
|
19462
|
+
}
|
|
19463
|
+
}
|
|
19464
|
+
}
|
|
19465
|
+
return expansions;
|
|
19466
|
+
}
|
|
19467
|
+
const expand$1 = /* @__PURE__ */ getDefaultExportFromCjs(braceExpansion);
|
|
19260
19468
|
var define_process_default$5 = { env: {} };
|
|
19261
19469
|
function isWindows() {
|
|
19262
19470
|
if (typeof define_process_default$5 !== "undefined") {
|
|
@@ -19770,7 +19978,7 @@ class GraphQLTelemetryExporter {
|
|
|
19770
19978
|
}
|
|
19771
19979
|
}
|
|
19772
19980
|
function getTier(authStatus2, sub) {
|
|
19773
|
-
return !authStatus2.authenticated ?
|
|
19981
|
+
return !authStatus2.authenticated ? 3 : !isDotCom(authStatus2) ? 2 : !sub || sub.userCanUpgrade ? 0 : 1;
|
|
19774
19982
|
}
|
|
19775
19983
|
class TelemetryRecorderProvider extends dist.TelemetryRecorderProvider {
|
|
19776
19984
|
constructor(config) {
|
|
@@ -35306,7 +35514,7 @@ const sourcegraphTokenRegex = /(sgp_(?:[a-fA-F0-9]{16}|local)|sgp_)?[a-fA-F0-9]{
|
|
|
35306
35514
|
function isSourcegraphToken(text) {
|
|
35307
35515
|
return sourcegraphTokenRegex.test(text);
|
|
35308
35516
|
}
|
|
35309
|
-
const PLG_ES_ACCESS_DISABLE_DATE = /* @__PURE__ */ new Date("2025-07-
|
|
35517
|
+
const PLG_ES_ACCESS_DISABLE_DATE = /* @__PURE__ */ new Date("2025-07-24T18:00:00.000Z");
|
|
35310
35518
|
function isPlgEsAccessDisabled() {
|
|
35311
35519
|
return /* @__PURE__ */ new Date() > PLG_ES_ACCESS_DISABLE_DATE;
|
|
35312
35520
|
}
|
|
@@ -37437,7 +37645,7 @@ function RAL() {
|
|
|
37437
37645
|
_ral = ral2;
|
|
37438
37646
|
}
|
|
37439
37647
|
RAL2.install = install;
|
|
37440
|
-
})(RAL);
|
|
37648
|
+
})(RAL || (RAL = {}));
|
|
37441
37649
|
ral.default = RAL;
|
|
37442
37650
|
Object.defineProperty(events, "__esModule", { value: true });
|
|
37443
37651
|
events.Emitter = events.Event = void 0;
|
|
@@ -39675,7 +39883,7 @@ function RIL() {
|
|
|
39675
39883
|
api_1.RAL.install(_ril);
|
|
39676
39884
|
}
|
|
39677
39885
|
RIL2.install = install;
|
|
39678
|
-
})(RIL);
|
|
39886
|
+
})(RIL || (RIL = {}));
|
|
39679
39887
|
ril.default = RIL;
|
|
39680
39888
|
(function(exports) {
|
|
39681
39889
|
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m3, k2, k22) {
|
|
@@ -39705,6 +39913,7 @@ ril.default = RIL;
|
|
|
39705
39913
|
super();
|
|
39706
39914
|
this._onData = new api_12.Emitter();
|
|
39707
39915
|
this._messageListener = (event) => {
|
|
39916
|
+
console.log("[Cody] Message from web worker", event);
|
|
39708
39917
|
this._onData.fire(event.data);
|
|
39709
39918
|
};
|
|
39710
39919
|
port.addEventListener("error", (event) => this.fireError(event));
|
|
@@ -39724,6 +39933,7 @@ ril.default = RIL;
|
|
|
39724
39933
|
}
|
|
39725
39934
|
write(msg) {
|
|
39726
39935
|
try {
|
|
39936
|
+
console.log("[Cody] Message to web worker", msg);
|
|
39727
39937
|
this.port.postMessage(msg);
|
|
39728
39938
|
return Promise.resolve();
|
|
39729
39939
|
} catch (error2) {
|
|
@@ -40262,16 +40472,11 @@ class AgentWorkspaceEdit {
|
|
|
40262
40472
|
for (const operation of this.edits.values()) {
|
|
40263
40473
|
switch (operation.type) {
|
|
40264
40474
|
case "create-file":
|
|
40265
|
-
case "delete-file":
|
|
40266
40475
|
case "edit-file":
|
|
40267
40476
|
if (operation.uri === uriString) {
|
|
40268
40477
|
return true;
|
|
40269
40478
|
}
|
|
40270
40479
|
break;
|
|
40271
|
-
case "rename-file":
|
|
40272
|
-
if (operation.oldUri === uriString) {
|
|
40273
|
-
return true;
|
|
40274
|
-
}
|
|
40275
40480
|
}
|
|
40276
40481
|
}
|
|
40277
40482
|
return false;
|
|
@@ -40295,21 +40500,10 @@ class AgentWorkspaceEdit {
|
|
|
40295
40500
|
});
|
|
40296
40501
|
}
|
|
40297
40502
|
deleteFile(uri, options, metadata) {
|
|
40298
|
-
|
|
40299
|
-
type: "delete-file",
|
|
40300
|
-
uri: uri.toString(),
|
|
40301
|
-
deleteOptions: options,
|
|
40302
|
-
metadata
|
|
40303
|
-
});
|
|
40503
|
+
throw new Error("Method not implemented.");
|
|
40304
40504
|
}
|
|
40305
40505
|
renameFile(oldUri, newUri, options, metadata) {
|
|
40306
|
-
|
|
40307
|
-
type: "rename-file",
|
|
40308
|
-
oldUri: oldUri.toString(),
|
|
40309
|
-
newUri: newUri.toString(),
|
|
40310
|
-
options,
|
|
40311
|
-
metadata
|
|
40312
|
-
});
|
|
40506
|
+
throw new Error("Method not implemented.");
|
|
40313
40507
|
}
|
|
40314
40508
|
replace(uri, range2, newText, metadata) {
|
|
40315
40509
|
this.editOperation(uri).edits.push({
|
|
@@ -41586,7 +41780,7 @@ const camelCase$1 = /* @__PURE__ */ getDefaultExportFromCjs(camelCase_1);
|
|
|
41586
41780
|
const $schema = "package.schema.json";
|
|
41587
41781
|
const name = "cody-ai";
|
|
41588
41782
|
const displayName = "Cody: AI Code Assistant";
|
|
41589
|
-
const version = "1.
|
|
41783
|
+
const version = "1.118.0";
|
|
41590
41784
|
const publisher = "sourcegraph";
|
|
41591
41785
|
const license = "Apache-2.0";
|
|
41592
41786
|
const icon = "resources/sourcegraph.png";
|
|
@@ -42020,6 +42214,13 @@ const contributes = {
|
|
|
42020
42214
|
icon: "$(arrow-circle-down)",
|
|
42021
42215
|
enablement: "cody.activated"
|
|
42022
42216
|
},
|
|
42217
|
+
{
|
|
42218
|
+
command: "cody.chat.history.export.all",
|
|
42219
|
+
category: "Cody",
|
|
42220
|
+
title: "Export All Chats as JSON (No Auth Required)",
|
|
42221
|
+
group: "Cody",
|
|
42222
|
+
icon: "$(export)"
|
|
42223
|
+
},
|
|
42023
42224
|
{
|
|
42024
42225
|
command: "cody.chat.history.panel",
|
|
42025
42226
|
category: "Cody",
|
|
@@ -43031,7 +43232,6 @@ const dependencies = {
|
|
|
43031
43232
|
"agent-base": "^7.1.1",
|
|
43032
43233
|
"async-mutex": "^0.4.0",
|
|
43033
43234
|
axios: "^1.3.6",
|
|
43034
|
-
"browser-fs-access": "^0.37.0",
|
|
43035
43235
|
"canvaskit-wasm": "^0.39.1",
|
|
43036
43236
|
"class-variance-authority": "^0.7.0",
|
|
43037
43237
|
classnames: "^2.5.1",
|
|
@@ -43365,202 +43565,6 @@ class AgentWorkspaceConfiguration {
|
|
|
43365
43565
|
await this.onUpdate(section, value);
|
|
43366
43566
|
}
|
|
43367
43567
|
}
|
|
43368
|
-
var balancedMatch = balanced$1;
|
|
43369
|
-
function balanced$1(a3, b2, str2) {
|
|
43370
|
-
if (a3 instanceof RegExp) a3 = maybeMatch(a3, str2);
|
|
43371
|
-
if (b2 instanceof RegExp) b2 = maybeMatch(b2, str2);
|
|
43372
|
-
var r = range(a3, b2, str2);
|
|
43373
|
-
return r && {
|
|
43374
|
-
start: r[0],
|
|
43375
|
-
end: r[1],
|
|
43376
|
-
pre: str2.slice(0, r[0]),
|
|
43377
|
-
body: str2.slice(r[0] + a3.length, r[1]),
|
|
43378
|
-
post: str2.slice(r[1] + b2.length)
|
|
43379
|
-
};
|
|
43380
|
-
}
|
|
43381
|
-
function maybeMatch(reg, str2) {
|
|
43382
|
-
var m3 = str2.match(reg);
|
|
43383
|
-
return m3 ? m3[0] : null;
|
|
43384
|
-
}
|
|
43385
|
-
balanced$1.range = range;
|
|
43386
|
-
function range(a3, b2, str2) {
|
|
43387
|
-
var begs, beg, left, right, result;
|
|
43388
|
-
var ai = str2.indexOf(a3);
|
|
43389
|
-
var bi = str2.indexOf(b2, ai + 1);
|
|
43390
|
-
var i2 = ai;
|
|
43391
|
-
if (ai >= 0 && bi > 0) {
|
|
43392
|
-
if (a3 === b2) {
|
|
43393
|
-
return [ai, bi];
|
|
43394
|
-
}
|
|
43395
|
-
begs = [];
|
|
43396
|
-
left = str2.length;
|
|
43397
|
-
while (i2 >= 0 && !result) {
|
|
43398
|
-
if (i2 == ai) {
|
|
43399
|
-
begs.push(i2);
|
|
43400
|
-
ai = str2.indexOf(a3, i2 + 1);
|
|
43401
|
-
} else if (begs.length == 1) {
|
|
43402
|
-
result = [begs.pop(), bi];
|
|
43403
|
-
} else {
|
|
43404
|
-
beg = begs.pop();
|
|
43405
|
-
if (beg < left) {
|
|
43406
|
-
left = beg;
|
|
43407
|
-
right = bi;
|
|
43408
|
-
}
|
|
43409
|
-
bi = str2.indexOf(b2, i2 + 1);
|
|
43410
|
-
}
|
|
43411
|
-
i2 = ai < bi && ai >= 0 ? ai : bi;
|
|
43412
|
-
}
|
|
43413
|
-
if (begs.length) {
|
|
43414
|
-
result = [left, right];
|
|
43415
|
-
}
|
|
43416
|
-
}
|
|
43417
|
-
return result;
|
|
43418
|
-
}
|
|
43419
|
-
var balanced = balancedMatch;
|
|
43420
|
-
var braceExpansion = expandTop;
|
|
43421
|
-
var escSlash = "\0SLASH" + Math.random() + "\0";
|
|
43422
|
-
var escOpen = "\0OPEN" + Math.random() + "\0";
|
|
43423
|
-
var escClose = "\0CLOSE" + Math.random() + "\0";
|
|
43424
|
-
var escComma = "\0COMMA" + Math.random() + "\0";
|
|
43425
|
-
var escPeriod = "\0PERIOD" + Math.random() + "\0";
|
|
43426
|
-
function numeric(str2) {
|
|
43427
|
-
return parseInt(str2, 10) == str2 ? parseInt(str2, 10) : str2.charCodeAt(0);
|
|
43428
|
-
}
|
|
43429
|
-
function escapeBraces(str2) {
|
|
43430
|
-
return str2.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod);
|
|
43431
|
-
}
|
|
43432
|
-
function unescapeBraces(str2) {
|
|
43433
|
-
return str2.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".");
|
|
43434
|
-
}
|
|
43435
|
-
function parseCommaParts(str2) {
|
|
43436
|
-
if (!str2)
|
|
43437
|
-
return [""];
|
|
43438
|
-
var parts = [];
|
|
43439
|
-
var m3 = balanced("{", "}", str2);
|
|
43440
|
-
if (!m3)
|
|
43441
|
-
return str2.split(",");
|
|
43442
|
-
var pre = m3.pre;
|
|
43443
|
-
var body = m3.body;
|
|
43444
|
-
var post = m3.post;
|
|
43445
|
-
var p = pre.split(",");
|
|
43446
|
-
p[p.length - 1] += "{" + body + "}";
|
|
43447
|
-
var postParts = parseCommaParts(post);
|
|
43448
|
-
if (post.length) {
|
|
43449
|
-
p[p.length - 1] += postParts.shift();
|
|
43450
|
-
p.push.apply(p, postParts);
|
|
43451
|
-
}
|
|
43452
|
-
parts.push.apply(parts, p);
|
|
43453
|
-
return parts;
|
|
43454
|
-
}
|
|
43455
|
-
function expandTop(str2) {
|
|
43456
|
-
if (!str2)
|
|
43457
|
-
return [];
|
|
43458
|
-
if (str2.substr(0, 2) === "{}") {
|
|
43459
|
-
str2 = "\\{\\}" + str2.substr(2);
|
|
43460
|
-
}
|
|
43461
|
-
return expand(escapeBraces(str2), true).map(unescapeBraces);
|
|
43462
|
-
}
|
|
43463
|
-
function embrace(str2) {
|
|
43464
|
-
return "{" + str2 + "}";
|
|
43465
|
-
}
|
|
43466
|
-
function isPadded(el) {
|
|
43467
|
-
return /^-?0\d/.test(el);
|
|
43468
|
-
}
|
|
43469
|
-
function lte(i2, y3) {
|
|
43470
|
-
return i2 <= y3;
|
|
43471
|
-
}
|
|
43472
|
-
function gte(i2, y3) {
|
|
43473
|
-
return i2 >= y3;
|
|
43474
|
-
}
|
|
43475
|
-
function expand(str2, isTop) {
|
|
43476
|
-
var expansions = [];
|
|
43477
|
-
var m3 = balanced("{", "}", str2);
|
|
43478
|
-
if (!m3) return [str2];
|
|
43479
|
-
var pre = m3.pre;
|
|
43480
|
-
var post = m3.post.length ? expand(m3.post, false) : [""];
|
|
43481
|
-
if (/\$$/.test(m3.pre)) {
|
|
43482
|
-
for (var k2 = 0; k2 < post.length; k2++) {
|
|
43483
|
-
var expansion = pre + "{" + m3.body + "}" + post[k2];
|
|
43484
|
-
expansions.push(expansion);
|
|
43485
|
-
}
|
|
43486
|
-
} else {
|
|
43487
|
-
var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m3.body);
|
|
43488
|
-
var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m3.body);
|
|
43489
|
-
var isSequence = isNumericSequence || isAlphaSequence;
|
|
43490
|
-
var isOptions = m3.body.indexOf(",") >= 0;
|
|
43491
|
-
if (!isSequence && !isOptions) {
|
|
43492
|
-
if (m3.post.match(/,.*\}/)) {
|
|
43493
|
-
str2 = m3.pre + "{" + m3.body + escClose + m3.post;
|
|
43494
|
-
return expand(str2);
|
|
43495
|
-
}
|
|
43496
|
-
return [str2];
|
|
43497
|
-
}
|
|
43498
|
-
var n;
|
|
43499
|
-
if (isSequence) {
|
|
43500
|
-
n = m3.body.split(/\.\./);
|
|
43501
|
-
} else {
|
|
43502
|
-
n = parseCommaParts(m3.body);
|
|
43503
|
-
if (n.length === 1) {
|
|
43504
|
-
n = expand(n[0], false).map(embrace);
|
|
43505
|
-
if (n.length === 1) {
|
|
43506
|
-
return post.map(function(p) {
|
|
43507
|
-
return m3.pre + n[0] + p;
|
|
43508
|
-
});
|
|
43509
|
-
}
|
|
43510
|
-
}
|
|
43511
|
-
}
|
|
43512
|
-
var N;
|
|
43513
|
-
if (isSequence) {
|
|
43514
|
-
var x2 = numeric(n[0]);
|
|
43515
|
-
var y3 = numeric(n[1]);
|
|
43516
|
-
var width = Math.max(n[0].length, n[1].length);
|
|
43517
|
-
var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
|
|
43518
|
-
var test = lte;
|
|
43519
|
-
var reverse = y3 < x2;
|
|
43520
|
-
if (reverse) {
|
|
43521
|
-
incr *= -1;
|
|
43522
|
-
test = gte;
|
|
43523
|
-
}
|
|
43524
|
-
var pad = n.some(isPadded);
|
|
43525
|
-
N = [];
|
|
43526
|
-
for (var i2 = x2; test(i2, y3); i2 += incr) {
|
|
43527
|
-
var c2;
|
|
43528
|
-
if (isAlphaSequence) {
|
|
43529
|
-
c2 = String.fromCharCode(i2);
|
|
43530
|
-
if (c2 === "\\")
|
|
43531
|
-
c2 = "";
|
|
43532
|
-
} else {
|
|
43533
|
-
c2 = String(i2);
|
|
43534
|
-
if (pad) {
|
|
43535
|
-
var need = width - c2.length;
|
|
43536
|
-
if (need > 0) {
|
|
43537
|
-
var z2 = new Array(need + 1).join("0");
|
|
43538
|
-
if (i2 < 0)
|
|
43539
|
-
c2 = "-" + z2 + c2.slice(1);
|
|
43540
|
-
else
|
|
43541
|
-
c2 = z2 + c2;
|
|
43542
|
-
}
|
|
43543
|
-
}
|
|
43544
|
-
}
|
|
43545
|
-
N.push(c2);
|
|
43546
|
-
}
|
|
43547
|
-
} else {
|
|
43548
|
-
N = [];
|
|
43549
|
-
for (var j = 0; j < n.length; j++) {
|
|
43550
|
-
N.push.apply(N, expand(n[j], false));
|
|
43551
|
-
}
|
|
43552
|
-
}
|
|
43553
|
-
for (var j = 0; j < N.length; j++) {
|
|
43554
|
-
for (var k2 = 0; k2 < post.length; k2++) {
|
|
43555
|
-
var expansion = pre + N[j] + post[k2];
|
|
43556
|
-
if (!isTop || isSequence || expansion)
|
|
43557
|
-
expansions.push(expansion);
|
|
43558
|
-
}
|
|
43559
|
-
}
|
|
43560
|
-
}
|
|
43561
|
-
return expansions;
|
|
43562
|
-
}
|
|
43563
|
-
const expand$1 = /* @__PURE__ */ getDefaultExportFromCjs(braceExpansion);
|
|
43564
43568
|
const MAX_PATTERN_LENGTH = 1024 * 64;
|
|
43565
43569
|
const assertValidPattern = (pattern) => {
|
|
43566
43570
|
if (typeof pattern !== "string") {
|
|
@@ -46074,7 +46078,7 @@ export {
|
|
|
46074
46078
|
trace as Z,
|
|
46075
46079
|
context$1 as _,
|
|
46076
46080
|
REMOTE_FILE_PROVIDER_URI as a,
|
|
46077
|
-
|
|
46081
|
+
promiseFactoryToObservable as a$,
|
|
46078
46082
|
svg as a0,
|
|
46079
46083
|
html as a1,
|
|
46080
46084
|
whitespace as a2,
|
|
@@ -46082,196 +46086,196 @@ export {
|
|
|
46082
46086
|
stringify$1 as a4,
|
|
46083
46087
|
stringify as a5,
|
|
46084
46088
|
ccount as a6,
|
|
46085
|
-
|
|
46086
|
-
|
|
46087
|
-
|
|
46088
|
-
|
|
46089
|
-
|
|
46090
|
-
|
|
46091
|
-
|
|
46092
|
-
|
|
46093
|
-
|
|
46094
|
-
|
|
46095
|
-
|
|
46096
|
-
|
|
46097
|
-
|
|
46098
|
-
|
|
46099
|
-
|
|
46100
|
-
|
|
46101
|
-
|
|
46102
|
-
|
|
46103
|
-
|
|
46104
|
-
|
|
46105
|
-
|
|
46106
|
-
|
|
46107
|
-
|
|
46108
|
-
|
|
46109
|
-
|
|
46110
|
-
|
|
46111
|
-
|
|
46112
|
-
|
|
46113
|
-
|
|
46114
|
-
|
|
46115
|
-
|
|
46116
|
-
|
|
46117
|
-
|
|
46118
|
-
|
|
46119
|
-
|
|
46120
|
-
|
|
46121
|
-
|
|
46122
|
-
|
|
46123
|
-
|
|
46124
|
-
|
|
46125
|
-
|
|
46126
|
-
|
|
46127
|
-
|
|
46128
|
-
|
|
46129
|
-
|
|
46130
|
-
|
|
46131
|
-
|
|
46132
|
-
|
|
46133
|
-
|
|
46134
|
-
|
|
46135
|
-
|
|
46136
|
-
|
|
46137
|
-
|
|
46138
|
-
|
|
46139
|
-
|
|
46140
|
-
|
|
46089
|
+
CodyIDE as a7,
|
|
46090
|
+
CodyTaskState as a8,
|
|
46091
|
+
cryptoJsExports as a9,
|
|
46092
|
+
UITerminalOutputType as aA,
|
|
46093
|
+
isCodeSearchContextItem as aB,
|
|
46094
|
+
v4 as aC,
|
|
46095
|
+
lodashExports as aD,
|
|
46096
|
+
deserializeContextItem as aE,
|
|
46097
|
+
firstResultFromOperation as aF,
|
|
46098
|
+
ChatHistoryType as aG,
|
|
46099
|
+
S2_URL as aH,
|
|
46100
|
+
ACCOUNT_USAGE_URL as aI,
|
|
46101
|
+
CODY_DOC_QUICKSTART_URL as aJ,
|
|
46102
|
+
isPlgEsAccessDisabled as aK,
|
|
46103
|
+
isDefined as aL,
|
|
46104
|
+
browser$1 as aM,
|
|
46105
|
+
CodyAutoSuggestionMode as aN,
|
|
46106
|
+
setDisplayPathEnvInfo as aO,
|
|
46107
|
+
isErrorLike as aP,
|
|
46108
|
+
PromptString as aQ,
|
|
46109
|
+
createGuardrailsImpl as aR,
|
|
46110
|
+
serialize as aS,
|
|
46111
|
+
deserialize as aT,
|
|
46112
|
+
unsubscribe as aU,
|
|
46113
|
+
AsyncSerialScheduler$1 as aV,
|
|
46114
|
+
authStatus as aW,
|
|
46115
|
+
pick as aX,
|
|
46116
|
+
distinctUntilChanged as aY,
|
|
46117
|
+
switchMapReplayOperation as aZ,
|
|
46118
|
+
pendingOperation as a_,
|
|
46119
|
+
GuardrailsCheckStatus as aa,
|
|
46120
|
+
LRUCache$1 as ab,
|
|
46121
|
+
isError as ac,
|
|
46122
|
+
RateLimitError as ad,
|
|
46123
|
+
FeatureFlag as ae,
|
|
46124
|
+
reformatBotMessageForChat as af,
|
|
46125
|
+
isAbortErrorOrSocketHangUp as ag,
|
|
46126
|
+
ModelTag as ah,
|
|
46127
|
+
DeepCodyAgentID as ai,
|
|
46128
|
+
serializedPromptEditorStateFromChatMessage as aj,
|
|
46129
|
+
contextItemsFromPromptEditorValue as ak,
|
|
46130
|
+
filterContextItemsFromPromptEditorValue as al,
|
|
46131
|
+
View as am,
|
|
46132
|
+
isCodyProModel as an,
|
|
46133
|
+
isMacOS as ao,
|
|
46134
|
+
ToolCodyModelName as ap,
|
|
46135
|
+
CustomCommandType as aq,
|
|
46136
|
+
textContentFromSerializedLexicalNode as ar,
|
|
46137
|
+
firstValueFrom as as,
|
|
46138
|
+
skipPendingOperation as at,
|
|
46139
|
+
FAST_CHAT_INPUT_TOKEN_BUDGET as au,
|
|
46140
|
+
webviewOpenURIForContextItem as av,
|
|
46141
|
+
pluralize as aw,
|
|
46142
|
+
UIToolStatus as ax,
|
|
46143
|
+
getFileDiff as ay,
|
|
46144
|
+
diffWithLineNum as az,
|
|
46141
46145
|
REMOTE_DIRECTORY_PROVIDER_URI as b,
|
|
46142
|
-
|
|
46143
|
-
|
|
46144
|
-
|
|
46145
|
-
|
|
46146
|
-
|
|
46147
|
-
|
|
46148
|
-
|
|
46149
|
-
|
|
46150
|
-
|
|
46151
|
-
|
|
46152
|
-
|
|
46153
|
-
|
|
46154
|
-
|
|
46155
|
-
|
|
46156
|
-
|
|
46157
|
-
|
|
46158
|
-
|
|
46159
|
-
|
|
46160
|
-
|
|
46161
|
-
|
|
46162
|
-
|
|
46163
|
-
|
|
46164
|
-
|
|
46165
|
-
|
|
46166
|
-
|
|
46167
|
-
|
|
46168
|
-
|
|
46169
|
-
|
|
46170
|
-
|
|
46171
|
-
|
|
46172
|
-
|
|
46173
|
-
|
|
46174
|
-
|
|
46175
|
-
|
|
46176
|
-
|
|
46177
|
-
|
|
46178
|
-
|
|
46179
|
-
|
|
46180
|
-
|
|
46181
|
-
|
|
46182
|
-
|
|
46183
|
-
|
|
46184
|
-
|
|
46185
|
-
|
|
46186
|
-
|
|
46146
|
+
window$1 as b$,
|
|
46147
|
+
retry as b0,
|
|
46148
|
+
logError as b1,
|
|
46149
|
+
graphqlClient as b2,
|
|
46150
|
+
semver$1 as b3,
|
|
46151
|
+
debounceTime as b4,
|
|
46152
|
+
interval as b5,
|
|
46153
|
+
filter$1 as b6,
|
|
46154
|
+
startWith as b7,
|
|
46155
|
+
switchMap as b8,
|
|
46156
|
+
logDebug as b9,
|
|
46157
|
+
getEnterpriseContextWindow as bA,
|
|
46158
|
+
ANSWER_TOKENS as bB,
|
|
46159
|
+
currentAuthStatusOrNotReadyYet as bC,
|
|
46160
|
+
mockAuthStatus as bD,
|
|
46161
|
+
storeLastValue as bE,
|
|
46162
|
+
resolvedConfig as bF,
|
|
46163
|
+
userProductSubscription as bG,
|
|
46164
|
+
currentAuthStatus as bH,
|
|
46165
|
+
isEnterpriseUser as bI,
|
|
46166
|
+
ps as bJ,
|
|
46167
|
+
GuardrailsMode as bK,
|
|
46168
|
+
currentResolvedConfig as bL,
|
|
46169
|
+
CORPUS_CONTEXT_ALLOCATION as bM,
|
|
46170
|
+
isCustomModel as bN,
|
|
46171
|
+
recordErrorToSpan as bO,
|
|
46172
|
+
addClientInfoParams as bP,
|
|
46173
|
+
dependentAbortController as bQ,
|
|
46174
|
+
isS2 as bR,
|
|
46175
|
+
GIT_OPENCTX_PROVIDER_URI as bS,
|
|
46176
|
+
CODE_SEARCH_PROVIDER_URI as bT,
|
|
46177
|
+
currentOpenCtxController as bU,
|
|
46178
|
+
MulticastSubject as bV,
|
|
46179
|
+
AsyncSerialScheduler_1 as bW,
|
|
46180
|
+
workspace as bX,
|
|
46181
|
+
vscode as bY,
|
|
46182
|
+
Range as bZ,
|
|
46183
|
+
commands as b_,
|
|
46184
|
+
isAbortError as ba,
|
|
46185
|
+
getModelInfo as bb,
|
|
46186
|
+
CHAT_INPUT_TOKEN_BUDGET as bc,
|
|
46187
|
+
CHAT_OUTPUT_TOKEN_BUDGET as bd,
|
|
46188
|
+
EXTENDED_CHAT_INPUT_TOKEN_BUDGET as be,
|
|
46189
|
+
EXTENDED_USER_CONTEXT_TOKEN_BUDGET as bf,
|
|
46190
|
+
expand$1 as bg,
|
|
46187
46191
|
TRANSIENT_REFETCH_INTERVAL_HINT as bh,
|
|
46188
46192
|
createSubscriber as bi,
|
|
46189
46193
|
fromVSCodeEvent as bj,
|
|
46190
46194
|
cenv as bk,
|
|
46191
46195
|
EXCLUDE_EVERYTHING_CONTEXT_FILTERS as bl,
|
|
46192
|
-
|
|
46193
|
-
|
|
46194
|
-
|
|
46195
|
-
|
|
46196
|
-
|
|
46197
|
-
|
|
46198
|
-
|
|
46199
|
-
|
|
46200
|
-
|
|
46201
|
-
|
|
46202
|
-
|
|
46203
|
-
|
|
46204
|
-
|
|
46205
|
-
|
|
46196
|
+
isFileURI as bm,
|
|
46197
|
+
INCLUDE_EVERYTHING_CONTEXT_FILTERS as bn,
|
|
46198
|
+
onAbort as bo,
|
|
46199
|
+
addCodyClientIdentificationHeaders as bp,
|
|
46200
|
+
addTraceparent as bq,
|
|
46201
|
+
addAuthHeaders as br,
|
|
46202
|
+
fetch as bs,
|
|
46203
|
+
verifyResponseCode as bt,
|
|
46204
|
+
take as bu,
|
|
46205
|
+
clientCapabilities as bv,
|
|
46206
|
+
shareReplay as bw,
|
|
46207
|
+
tap as bx,
|
|
46208
|
+
featureFlagProvider as by,
|
|
46209
|
+
telemetryRecorder as bz,
|
|
46206
46210
|
commonjsGlobal as c,
|
|
46207
|
-
|
|
46208
|
-
|
|
46209
|
-
|
|
46210
|
-
|
|
46211
|
-
|
|
46212
|
-
|
|
46213
|
-
|
|
46214
|
-
|
|
46215
|
-
|
|
46216
|
-
|
|
46217
|
-
|
|
46218
|
-
|
|
46219
|
-
|
|
46220
|
-
|
|
46221
|
-
|
|
46222
|
-
|
|
46223
|
-
|
|
46224
|
-
|
|
46225
|
-
|
|
46226
|
-
|
|
46227
|
-
|
|
46228
|
-
|
|
46229
|
-
|
|
46230
|
-
|
|
46231
|
-
|
|
46232
|
-
|
|
46233
|
-
|
|
46234
|
-
|
|
46235
|
-
|
|
46236
|
-
|
|
46237
|
-
|
|
46238
|
-
|
|
46239
|
-
|
|
46240
|
-
|
|
46241
|
-
|
|
46242
|
-
|
|
46243
|
-
|
|
46244
|
-
|
|
46245
|
-
|
|
46246
|
-
|
|
46247
|
-
|
|
46248
|
-
|
|
46249
|
-
|
|
46250
|
-
|
|
46251
|
-
|
|
46252
|
-
|
|
46253
|
-
|
|
46254
|
-
|
|
46255
|
-
|
|
46256
|
-
|
|
46257
|
-
|
|
46258
|
-
|
|
46259
|
-
|
|
46260
|
-
|
|
46261
|
-
|
|
46262
|
-
|
|
46263
|
-
|
|
46264
|
-
|
|
46265
|
-
|
|
46266
|
-
|
|
46267
|
-
|
|
46268
|
-
|
|
46269
|
-
|
|
46270
|
-
|
|
46211
|
+
toLightweightChatTranscript as c$,
|
|
46212
|
+
Selection as c0,
|
|
46213
|
+
AgentEventEmitter as c1,
|
|
46214
|
+
MarkdownString as c2,
|
|
46215
|
+
Disposable as c3,
|
|
46216
|
+
TextEditorRevealType as c4,
|
|
46217
|
+
ThemeIcon as c5,
|
|
46218
|
+
StatusBarAlignment as c6,
|
|
46219
|
+
readFile as c7,
|
|
46220
|
+
env as c8,
|
|
46221
|
+
UIKind as c9,
|
|
46222
|
+
pathBrowserify as cA,
|
|
46223
|
+
stat as cB,
|
|
46224
|
+
extensions as cC,
|
|
46225
|
+
version as cD,
|
|
46226
|
+
setExtensionVersion as cE,
|
|
46227
|
+
withLatestFrom as cF,
|
|
46228
|
+
NEVER as cG,
|
|
46229
|
+
abortableOperation as cH,
|
|
46230
|
+
isNeedsAuthChallengeError as cI,
|
|
46231
|
+
EMPTY as cJ,
|
|
46232
|
+
disposableSubscription as cK,
|
|
46233
|
+
setAuthStatusObservable as cL,
|
|
46234
|
+
DOTCOM_URL as cM,
|
|
46235
|
+
isInvalidAccessTokenError as cN,
|
|
46236
|
+
normalizeServerEndpointURL as cO,
|
|
46237
|
+
isEnterpriseUserDotComError as cP,
|
|
46238
|
+
ProgressLocation as cQ,
|
|
46239
|
+
AuthConfigError as cR,
|
|
46240
|
+
SourcegraphGraphQLAPIClient as cS,
|
|
46241
|
+
isExternalProviderAuthError as cT,
|
|
46242
|
+
isNetworkLikeError as cU,
|
|
46243
|
+
NeedsAuthChallengeError as cV,
|
|
46244
|
+
AvailabilityError as cW,
|
|
46245
|
+
EnterpriseUserDotComError as cX,
|
|
46246
|
+
resolveAuth as cY,
|
|
46247
|
+
QuickPickItemKind as cZ,
|
|
46248
|
+
getAuthHeaders as c_,
|
|
46249
|
+
languages as ca,
|
|
46250
|
+
InvalidAccessTokenError as cb,
|
|
46251
|
+
_baseAssignValue as cc,
|
|
46252
|
+
eq_1$1 as cd,
|
|
46253
|
+
isArrayLike_1 as ce,
|
|
46254
|
+
isObjectLike_1 as cf,
|
|
46255
|
+
_copyObject as cg,
|
|
46256
|
+
keysIn_1 as ch,
|
|
46257
|
+
_cloneBufferExports as ci,
|
|
46258
|
+
_cloneTypedArray as cj,
|
|
46259
|
+
_copyArray as ck,
|
|
46260
|
+
_initCloneObject as cl,
|
|
46261
|
+
isArguments_1 as cm,
|
|
46262
|
+
isArray_1 as cn,
|
|
46263
|
+
isBufferExports as co,
|
|
46264
|
+
isFunction_1 as cp,
|
|
46265
|
+
isObject_1 as cq,
|
|
46266
|
+
isPlainObject_1 as cr,
|
|
46267
|
+
isTypedArray_1 as cs,
|
|
46268
|
+
_Stack as ct,
|
|
46269
|
+
identity_1 as cu,
|
|
46270
|
+
_overRest as cv,
|
|
46271
|
+
_setToString as cw,
|
|
46272
|
+
_isIndex as cx,
|
|
46273
|
+
CONFIG_KEY as cy,
|
|
46274
|
+
ConfigurationTarget as cz,
|
|
46271
46275
|
RULES_PROVIDER_URI as d,
|
|
46272
|
-
|
|
46273
|
-
|
|
46274
|
-
|
|
46276
|
+
CodeLens as d$,
|
|
46277
|
+
SUPPORTED_URI_SCHEMAS as d0,
|
|
46278
|
+
RelativePattern as d1,
|
|
46275
46279
|
_baseIsEqual as d2,
|
|
46276
46280
|
keys_1 as d3,
|
|
46277
46281
|
_baseGet as d4,
|
|
@@ -46281,32 +46285,32 @@ export {
|
|
|
46281
46285
|
_isKey as d8,
|
|
46282
46286
|
toNumber_1 as d9,
|
|
46283
46287
|
createGitDiff as dA,
|
|
46284
|
-
|
|
46285
|
-
|
|
46286
|
-
|
|
46287
|
-
|
|
46288
|
-
|
|
46289
|
-
|
|
46290
|
-
|
|
46291
|
-
|
|
46292
|
-
|
|
46293
|
-
|
|
46294
|
-
|
|
46295
|
-
|
|
46296
|
-
|
|
46297
|
-
|
|
46298
|
-
|
|
46299
|
-
|
|
46300
|
-
|
|
46301
|
-
|
|
46302
|
-
|
|
46303
|
-
|
|
46304
|
-
|
|
46305
|
-
|
|
46306
|
-
|
|
46307
|
-
|
|
46308
|
-
|
|
46309
|
-
|
|
46288
|
+
AgentWorkspaceEdit as dB,
|
|
46289
|
+
TextDocumentChangeReason as dC,
|
|
46290
|
+
omit$1 as dD,
|
|
46291
|
+
getEditorInsertSpaces as dE,
|
|
46292
|
+
escapeRegExp$1 as dF,
|
|
46293
|
+
TimeoutError as dG,
|
|
46294
|
+
isNetworkError as dH,
|
|
46295
|
+
displayPathWithoutWorkspaceFolderPrefix as dI,
|
|
46296
|
+
http as dJ,
|
|
46297
|
+
open as dK,
|
|
46298
|
+
defer as dL,
|
|
46299
|
+
merge$1 as dM,
|
|
46300
|
+
ruleSearchPaths as dN,
|
|
46301
|
+
isRuleFilename as dO,
|
|
46302
|
+
parseRuleFile as dP,
|
|
46303
|
+
languageFromFilename as dQ,
|
|
46304
|
+
ruleTitle as dR,
|
|
46305
|
+
debounce_1 as dS,
|
|
46306
|
+
isWindows as dT,
|
|
46307
|
+
GLOBAL_SEARCH_PROVIDER_URI as dU,
|
|
46308
|
+
mentionProvidersMetadata as dV,
|
|
46309
|
+
currentUserProductSubscription as dW,
|
|
46310
|
+
checkIfEnterpriseUser as dX,
|
|
46311
|
+
ThemeColor as dY,
|
|
46312
|
+
QuickInputButtons as dZ,
|
|
46313
|
+
GENERAL_HELP_LABEL as d_,
|
|
46310
46314
|
_baseFindIndex as da,
|
|
46311
46315
|
require$$0 as db,
|
|
46312
46316
|
NetworkError as dc,
|
|
@@ -46333,124 +46337,122 @@ export {
|
|
|
46333
46337
|
TelemetryRecorderProvider as dy,
|
|
46334
46338
|
telemetryRecorderProvider as dz,
|
|
46335
46339
|
displayPath as e,
|
|
46336
|
-
|
|
46337
|
-
|
|
46338
|
-
|
|
46339
|
-
|
|
46340
|
-
|
|
46341
|
-
|
|
46342
|
-
|
|
46343
|
-
|
|
46344
|
-
|
|
46345
|
-
|
|
46346
|
-
|
|
46347
|
-
|
|
46348
|
-
|
|
46349
|
-
|
|
46350
|
-
|
|
46351
|
-
|
|
46352
|
-
|
|
46353
|
-
|
|
46354
|
-
|
|
46355
|
-
|
|
46356
|
-
|
|
46357
|
-
|
|
46358
|
-
|
|
46359
|
-
|
|
46360
|
-
|
|
46361
|
-
|
|
46362
|
-
|
|
46363
|
-
|
|
46364
|
-
|
|
46365
|
-
|
|
46366
|
-
|
|
46367
|
-
|
|
46368
|
-
|
|
46369
|
-
|
|
46370
|
-
|
|
46371
|
-
|
|
46372
|
-
|
|
46373
|
-
|
|
46374
|
-
|
|
46375
|
-
|
|
46376
|
-
|
|
46377
|
-
|
|
46378
|
-
|
|
46379
|
-
|
|
46380
|
-
|
|
46381
|
-
|
|
46382
|
-
|
|
46383
|
-
|
|
46384
|
-
|
|
46385
|
-
|
|
46386
|
-
|
|
46387
|
-
|
|
46388
|
-
|
|
46389
|
-
|
|
46390
|
-
|
|
46391
|
-
|
|
46392
|
-
|
|
46393
|
-
|
|
46394
|
-
|
|
46395
|
-
|
|
46396
|
-
|
|
46397
|
-
|
|
46398
|
-
|
|
46399
|
-
|
|
46340
|
+
TracedError as e$,
|
|
46341
|
+
defaultWebviewPanel as e0,
|
|
46342
|
+
EndOfLine as e1,
|
|
46343
|
+
ViewColumn as e2,
|
|
46344
|
+
Location as e3,
|
|
46345
|
+
onDidChangeActiveTextEditor as e4,
|
|
46346
|
+
tabGroups as e5,
|
|
46347
|
+
workspaceTextDocuments as e6,
|
|
46348
|
+
visibleTextEditors as e7,
|
|
46349
|
+
onDidChangeVisibleTextEditors as e8,
|
|
46350
|
+
fs as e9,
|
|
46351
|
+
UriString as eA,
|
|
46352
|
+
DiagnosticSeverity as eB,
|
|
46353
|
+
diagnostics as eC,
|
|
46354
|
+
isIntegrationTesting as eD,
|
|
46355
|
+
TESTING_TELEMETRY_EXPORTER as eE,
|
|
46356
|
+
dist as eF,
|
|
46357
|
+
completionProvider as eG,
|
|
46358
|
+
InlineCompletionTriggerKind as eH,
|
|
46359
|
+
currentAuthStatusAuthed as eI,
|
|
46360
|
+
waitUntilComplete as eJ,
|
|
46361
|
+
setExtensionConfiguration as eK,
|
|
46362
|
+
onDidChangeConfiguration as eL,
|
|
46363
|
+
onDidChangeTextDocument as eM,
|
|
46364
|
+
onDidChangeTextEditorSelection as eN,
|
|
46365
|
+
isTokenOrEndpointChange as eO,
|
|
46366
|
+
structuredPatch as eP,
|
|
46367
|
+
dedupeWith as eQ,
|
|
46368
|
+
AbortError as eR,
|
|
46369
|
+
createDisposables as eS,
|
|
46370
|
+
isNodeResponse as eT,
|
|
46371
|
+
getClientInfoQueryParams as eU,
|
|
46372
|
+
tracer as eV,
|
|
46373
|
+
getActiveTraceAndSpanId as eW,
|
|
46374
|
+
getClientIdentificationHeaders as eX,
|
|
46375
|
+
setJSONAcceptContentTypeHeaders as eY,
|
|
46376
|
+
logResponseHeadersToSpan as eZ,
|
|
46377
|
+
isCustomAuthChallengeResponse as e_,
|
|
46378
|
+
onDidCloseTextDocument as ea,
|
|
46379
|
+
setCreateWebviewPanel as eb,
|
|
46380
|
+
getAugmentedNamespace as ec,
|
|
46381
|
+
extensionConfiguration as ed,
|
|
46382
|
+
main$1 as ee,
|
|
46383
|
+
setAgent as ef,
|
|
46384
|
+
setWorkspaceDocuments as eg,
|
|
46385
|
+
setLastOpenedWorkspaceFolder as eh,
|
|
46386
|
+
onDidRegisterNewCodeActionProvider as ei,
|
|
46387
|
+
onDidUnregisterNewCodeActionProvider as ej,
|
|
46388
|
+
onDidRegisterNewCodeLensProvider as ek,
|
|
46389
|
+
onDidUnregisterNewCodeLensProvider as el,
|
|
46390
|
+
setClientInfo as em,
|
|
46391
|
+
AgentWorkspaceConfiguration as en,
|
|
46392
|
+
firstNonPendingAuthStatus as eo,
|
|
46393
|
+
workspaceFolders as ep,
|
|
46394
|
+
setWorkspaceFolders as eq,
|
|
46395
|
+
onDidChangeWorkspaceFolders as er,
|
|
46396
|
+
onDidChangeWindowState as es,
|
|
46397
|
+
onDidOpenTextDocument as et,
|
|
46398
|
+
onDidSaveTextDocument as eu,
|
|
46399
|
+
onDidRenameFiles as ev,
|
|
46400
|
+
packageJson as ew,
|
|
46401
|
+
progressBars as ex,
|
|
46402
|
+
CodeActionTriggerKind as ey,
|
|
46403
|
+
CodeAction as ez,
|
|
46400
46404
|
displayLineRange as f,
|
|
46401
|
-
|
|
46402
|
-
|
|
46403
|
-
|
|
46404
|
-
|
|
46405
|
-
|
|
46406
|
-
|
|
46407
|
-
|
|
46408
|
-
|
|
46409
|
-
|
|
46410
|
-
|
|
46411
|
-
|
|
46412
|
-
|
|
46413
|
-
|
|
46414
|
-
|
|
46415
|
-
|
|
46416
|
-
|
|
46417
|
-
|
|
46418
|
-
|
|
46419
|
-
|
|
46420
|
-
|
|
46421
|
-
|
|
46422
|
-
|
|
46423
|
-
|
|
46424
|
-
|
|
46425
|
-
|
|
46426
|
-
|
|
46427
|
-
|
|
46428
|
-
|
|
46429
|
-
|
|
46430
|
-
|
|
46431
|
-
|
|
46432
|
-
|
|
46433
|
-
|
|
46434
|
-
|
|
46435
|
-
|
|
46436
|
-
|
|
46437
|
-
|
|
46438
|
-
|
|
46439
|
-
|
|
46440
|
-
|
|
46441
|
-
|
|
46442
|
-
|
|
46443
|
-
|
|
46444
|
-
|
|
46445
|
-
|
|
46446
|
-
|
|
46447
|
-
|
|
46448
|
-
|
|
46449
|
-
|
|
46450
|
-
|
|
46451
|
-
|
|
46452
|
-
SURROUNDING_LINES as fy,
|
|
46453
|
-
diffLines as fz,
|
|
46405
|
+
capitalize$2 as f0,
|
|
46406
|
+
InlineCompletionItem as f1,
|
|
46407
|
+
createTwoFilesPatch as f2,
|
|
46408
|
+
vsCodeMocks as f3,
|
|
46409
|
+
getEditorTabSize as f4,
|
|
46410
|
+
metrics as f5,
|
|
46411
|
+
_ as f6,
|
|
46412
|
+
editorStateFromPromptString as f7,
|
|
46413
|
+
_baseGetTag as f8,
|
|
46414
|
+
inputTextWithoutContextChipsFromPromptEditorState as f9,
|
|
46415
|
+
CODY_FEEDBACK_URL as fA,
|
|
46416
|
+
DISCORD_URL as fB,
|
|
46417
|
+
globalAgentRef as fC,
|
|
46418
|
+
VSCODE_CHANGELOG_URL as fD,
|
|
46419
|
+
SG_CHANGELOG_URL as fE,
|
|
46420
|
+
ACCOUNT_LIMITS_INFO_URL as fF,
|
|
46421
|
+
assertUnreachable as fG,
|
|
46422
|
+
promise as fH,
|
|
46423
|
+
ExtensionMode as fI,
|
|
46424
|
+
setLogger as fJ,
|
|
46425
|
+
setClientCapabilities as fK,
|
|
46426
|
+
setResolvedConfigurationObservable as fL,
|
|
46427
|
+
setClientNameVersion as fM,
|
|
46428
|
+
setOpenCtxControllerObservable as fN,
|
|
46429
|
+
child_process as fO,
|
|
46430
|
+
exec as fa,
|
|
46431
|
+
expandToLineRange as fb,
|
|
46432
|
+
openctxController as fc,
|
|
46433
|
+
openCtxProviderMetadata as fd,
|
|
46434
|
+
CODY_PASSTHROUGH_VSCODE_OPEN_COMMAND_ID as fe,
|
|
46435
|
+
catchError as ff,
|
|
46436
|
+
getPlatform as fg,
|
|
46437
|
+
PromptMode as fh,
|
|
46438
|
+
skip as fi,
|
|
46439
|
+
extractContextFromTraceparent as fj,
|
|
46440
|
+
isContextWindowLimitError as fk,
|
|
46441
|
+
addMessageListenersForExtensionAPI as fl,
|
|
46442
|
+
createMessageAPIForExtension as fm,
|
|
46443
|
+
CodeActionKind as fn,
|
|
46444
|
+
assertFileURI as fo,
|
|
46445
|
+
createCodeSearchProvider as fp,
|
|
46446
|
+
ProgrammingLanguage as fq,
|
|
46447
|
+
MAX_CURRENT_FILE_TOKENS as fr,
|
|
46448
|
+
psDedent as fs,
|
|
46449
|
+
formatRuleForPrompt as ft,
|
|
46450
|
+
posixFilePaths as fu,
|
|
46451
|
+
DecorationRangeBehavior as fv,
|
|
46452
|
+
SURROUNDING_LINES as fw,
|
|
46453
|
+
diffLines as fx,
|
|
46454
|
+
CODY_SUPPORT_URL as fy,
|
|
46455
|
+
CODY_DOC_URL as fz,
|
|
46454
46456
|
getDefaultExportFromCjs as g,
|
|
46455
46457
|
displayPathDirname as h,
|
|
46456
46458
|
displayPathBasename as i,
|