@sourcegraph/cody-web 0.32.12 → 0.33.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-DP5t54b3.mjs → agent.worker-2jv6UYtG.mjs} +396 -517
- package/dist/agent.worker.js +2 -2
- package/dist/demo/App.d.ts.map +1 -1
- package/dist/{git-log-BWXBE9bQ.mjs → git-log-Sw0MOWAb.mjs} +1 -1
- package/dist/index.js +1655 -3648
- package/dist/{lite-DCslm11Y.mjs → lite-ch5VbcSy.mjs} +1 -1
- package/dist/style.css +42 -378
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{util-n4JO9qgH.mjs → util-BcM-aRzi.mjs} +1 -1
- package/dist/{vscode-shim-FP11UcS5.mjs → vscode-shim-DCfZW3km.mjs} +427 -441
- package/package.json +15 -17
- package/LICENSE +0 -201
|
@@ -5462,7 +5462,7 @@ async function executeCommand(cmd) {
|
|
|
5462
5462
|
throw new Error("Command execution is only supported in Node.js environments");
|
|
5463
5463
|
}
|
|
5464
5464
|
const { exec: exec2 } = await Promise.resolve().then(() => child_process);
|
|
5465
|
-
const { promisify: promisify2 } = await import("./util-
|
|
5465
|
+
const { promisify: promisify2 } = await import("./util-BcM-aRzi.mjs").then((n) => n.u);
|
|
5466
5466
|
const execAsync = promisify2(exec2);
|
|
5467
5467
|
const command = cmd.commandLine.join(" ");
|
|
5468
5468
|
const { stdout } = await execAsync(command, {
|
|
@@ -12190,6 +12190,8 @@ var FeatureFlag = /* @__PURE__ */ ((FeatureFlag2) => {
|
|
|
12190
12190
|
FeatureFlag2["NextAgenticChatInternal"] = "next-agentic-chat-internal";
|
|
12191
12191
|
FeatureFlag2["AgenticChatWithMCP"] = "agentic-context-mcp-enabled";
|
|
12192
12192
|
FeatureFlag2["AgenticContextDisabled"] = "agentic-context-disabled";
|
|
12193
|
+
FeatureFlag2["SymfRetrievalDisabled"] = "symf-retrieval-disabled";
|
|
12194
|
+
FeatureFlag2["DisableNetworkRequests"] = "disable-network-requests";
|
|
12193
12195
|
return FeatureFlag2;
|
|
12194
12196
|
})(FeatureFlag || {});
|
|
12195
12197
|
const ONE_HOUR = 60 * 60 * 1e3;
|
|
@@ -35304,6 +35306,10 @@ const sourcegraphTokenRegex = /(sgp_(?:[a-fA-F0-9]{16}|local)|sgp_)?[a-fA-F0-9]{
|
|
|
35304
35306
|
function isSourcegraphToken(text) {
|
|
35305
35307
|
return sourcegraphTokenRegex.test(text);
|
|
35306
35308
|
}
|
|
35309
|
+
const PLG_ES_ACCESS_DISABLE_DATE = /* @__PURE__ */ new Date("2025-07-23T18:00:00.000Z");
|
|
35310
|
+
function isPlgEsAccessDisabled() {
|
|
35311
|
+
return /* @__PURE__ */ new Date() > PLG_ES_ACCESS_DISABLE_DATE;
|
|
35312
|
+
}
|
|
35307
35313
|
const DeepCodyAgentID = "deep-cody";
|
|
35308
35314
|
const ToolCodyModelName = "tool-cody";
|
|
35309
35315
|
function stringify$1(values, options) {
|
|
@@ -36519,6 +36525,47 @@ var CodyTaskState = /* @__PURE__ */ ((CodyTaskState2) => {
|
|
|
36519
36525
|
CodyTaskState2["Pending"] = "Pending";
|
|
36520
36526
|
return CodyTaskState2;
|
|
36521
36527
|
})(CodyTaskState || {});
|
|
36528
|
+
var View = /* @__PURE__ */ ((View2) => {
|
|
36529
|
+
View2["Chat"] = "chat";
|
|
36530
|
+
View2["Login"] = "login";
|
|
36531
|
+
View2["History"] = "history";
|
|
36532
|
+
View2["Account"] = "account";
|
|
36533
|
+
View2["Settings"] = "settings";
|
|
36534
|
+
View2["Mcp"] = "mcp";
|
|
36535
|
+
return View2;
|
|
36536
|
+
})(View || {});
|
|
36537
|
+
let getRandomValues;
|
|
36538
|
+
const rnds8 = new Uint8Array(16);
|
|
36539
|
+
function rng() {
|
|
36540
|
+
if (!getRandomValues) {
|
|
36541
|
+
getRandomValues = typeof crypto !== "undefined" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
|
36542
|
+
if (!getRandomValues) {
|
|
36543
|
+
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
36544
|
+
}
|
|
36545
|
+
}
|
|
36546
|
+
return getRandomValues(rnds8);
|
|
36547
|
+
}
|
|
36548
|
+
const byteToHex = [];
|
|
36549
|
+
for (let i2 = 0; i2 < 256; ++i2) {
|
|
36550
|
+
byteToHex.push((i2 + 256).toString(16).slice(1));
|
|
36551
|
+
}
|
|
36552
|
+
function unsafeStringify(arr, offset = 0) {
|
|
36553
|
+
return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
|
|
36554
|
+
}
|
|
36555
|
+
const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
36556
|
+
const native = {
|
|
36557
|
+
randomUUID
|
|
36558
|
+
};
|
|
36559
|
+
function v4(options, buf, offset) {
|
|
36560
|
+
if (native.randomUUID && !buf && !options) {
|
|
36561
|
+
return native.randomUUID();
|
|
36562
|
+
}
|
|
36563
|
+
options = options || {};
|
|
36564
|
+
const rnds = options.random || (options.rng || rng)();
|
|
36565
|
+
rnds[6] = rnds[6] & 15 | 64;
|
|
36566
|
+
rnds[8] = rnds[8] & 63 | 128;
|
|
36567
|
+
return unsafeStringify(rnds);
|
|
36568
|
+
}
|
|
36522
36569
|
const FileContentResultSchema = object({
|
|
36523
36570
|
type: literal("file"),
|
|
36524
36571
|
repoName: string$1(),
|
|
@@ -36576,83 +36623,9 @@ async function getFileItem(repoName, filePath, rev = "HEAD") {
|
|
|
36576
36623
|
}
|
|
36577
36624
|
];
|
|
36578
36625
|
}
|
|
36579
|
-
function createContextItem(results) {
|
|
36580
|
-
const uri = `search://${CODE_SEARCH_PROVIDER_URI}`;
|
|
36581
|
-
return {
|
|
36582
|
-
type: "openctx",
|
|
36583
|
-
provider: "openctx",
|
|
36584
|
-
title: `${results.length} code search ${pluralize("result", results.length)}`,
|
|
36585
|
-
uri: URI.parse(uri),
|
|
36586
|
-
providerUri: CODE_SEARCH_PROVIDER_URI,
|
|
36587
|
-
mention: {
|
|
36588
|
-
uri,
|
|
36589
|
-
data: {
|
|
36590
|
-
results,
|
|
36591
|
-
tooltip: "Code results make the organization, repo name, and code available as context"
|
|
36592
|
-
}
|
|
36593
|
-
},
|
|
36594
|
-
source: ContextItemSource.User
|
|
36595
|
-
};
|
|
36596
|
-
}
|
|
36597
36626
|
function isCodeSearchContextItem(item) {
|
|
36598
36627
|
return item.type === "openctx" && item.providerUri === CODE_SEARCH_PROVIDER_URI;
|
|
36599
36628
|
}
|
|
36600
|
-
var castSlice = _castSlice, hasUnicode = _hasUnicode, stringToArray = _stringToArray, toString$3 = toString_1;
|
|
36601
|
-
function createCaseFirst$1(methodName) {
|
|
36602
|
-
return function(string2) {
|
|
36603
|
-
string2 = toString$3(string2);
|
|
36604
|
-
var strSymbols = hasUnicode(string2) ? stringToArray(string2) : void 0;
|
|
36605
|
-
var chr = strSymbols ? strSymbols[0] : string2.charAt(0);
|
|
36606
|
-
var trailing = strSymbols ? castSlice(strSymbols, 1).join("") : string2.slice(1);
|
|
36607
|
-
return chr[methodName]() + trailing;
|
|
36608
|
-
};
|
|
36609
|
-
}
|
|
36610
|
-
var _createCaseFirst = createCaseFirst$1;
|
|
36611
|
-
var createCaseFirst = _createCaseFirst;
|
|
36612
|
-
var upperFirst$1 = createCaseFirst("toUpperCase");
|
|
36613
|
-
var upperFirst_1 = upperFirst$1;
|
|
36614
|
-
const upperFirst$2 = /* @__PURE__ */ getDefaultExportFromCjs(upperFirst_1);
|
|
36615
|
-
var View = /* @__PURE__ */ ((View2) => {
|
|
36616
|
-
View2["Chat"] = "chat";
|
|
36617
|
-
View2["Login"] = "login";
|
|
36618
|
-
View2["History"] = "history";
|
|
36619
|
-
View2["Account"] = "account";
|
|
36620
|
-
View2["Settings"] = "settings";
|
|
36621
|
-
View2["Mcp"] = "mcp";
|
|
36622
|
-
return View2;
|
|
36623
|
-
})(View || {});
|
|
36624
|
-
let getRandomValues;
|
|
36625
|
-
const rnds8 = new Uint8Array(16);
|
|
36626
|
-
function rng() {
|
|
36627
|
-
if (!getRandomValues) {
|
|
36628
|
-
getRandomValues = typeof crypto !== "undefined" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
|
36629
|
-
if (!getRandomValues) {
|
|
36630
|
-
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
36631
|
-
}
|
|
36632
|
-
}
|
|
36633
|
-
return getRandomValues(rnds8);
|
|
36634
|
-
}
|
|
36635
|
-
const byteToHex = [];
|
|
36636
|
-
for (let i2 = 0; i2 < 256; ++i2) {
|
|
36637
|
-
byteToHex.push((i2 + 256).toString(16).slice(1));
|
|
36638
|
-
}
|
|
36639
|
-
function unsafeStringify(arr, offset = 0) {
|
|
36640
|
-
return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
|
|
36641
|
-
}
|
|
36642
|
-
const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
36643
|
-
const native = {
|
|
36644
|
-
randomUUID
|
|
36645
|
-
};
|
|
36646
|
-
function v4(options, buf, offset) {
|
|
36647
|
-
if (native.randomUUID && !buf && !options) {
|
|
36648
|
-
return native.randomUUID();
|
|
36649
|
-
}
|
|
36650
|
-
options = options || {};
|
|
36651
|
-
const rnds = options.random || (options.rng || rng)();
|
|
36652
|
-
rnds[6] = rnds[6] & 15 | 64;
|
|
36653
|
-
rnds[8] = rnds[8] & 63 | 128;
|
|
36654
|
-
return unsafeStringify(rnds);
|
|
36655
|
-
}
|
|
36656
36629
|
function diffWithLineNum(oldText, newText, markdownFormat = true) {
|
|
36657
36630
|
const diff3 = diffLines(oldText, newText);
|
|
36658
36631
|
let output = markdownFormat ? "```diff\n" : "";
|
|
@@ -41313,6 +41286,20 @@ class AgentTabGroups {
|
|
|
41313
41286
|
}
|
|
41314
41287
|
}
|
|
41315
41288
|
}
|
|
41289
|
+
var castSlice = _castSlice, hasUnicode = _hasUnicode, stringToArray = _stringToArray, toString$3 = toString_1;
|
|
41290
|
+
function createCaseFirst$1(methodName) {
|
|
41291
|
+
return function(string2) {
|
|
41292
|
+
string2 = toString$3(string2);
|
|
41293
|
+
var strSymbols = hasUnicode(string2) ? stringToArray(string2) : void 0;
|
|
41294
|
+
var chr = strSymbols ? strSymbols[0] : string2.charAt(0);
|
|
41295
|
+
var trailing = strSymbols ? castSlice(strSymbols, 1).join("") : string2.slice(1);
|
|
41296
|
+
return chr[methodName]() + trailing;
|
|
41297
|
+
};
|
|
41298
|
+
}
|
|
41299
|
+
var _createCaseFirst = createCaseFirst$1;
|
|
41300
|
+
var createCaseFirst = _createCaseFirst;
|
|
41301
|
+
var upperFirst$1 = createCaseFirst("toUpperCase");
|
|
41302
|
+
var upperFirst_1 = upperFirst$1;
|
|
41316
41303
|
var toString$2 = toString_1, upperFirst = upperFirst_1;
|
|
41317
41304
|
function capitalize$1(string2) {
|
|
41318
41305
|
return upperFirst(toString$2(string2).toLowerCase());
|
|
@@ -41599,7 +41586,7 @@ const camelCase$1 = /* @__PURE__ */ getDefaultExportFromCjs(camelCase_1);
|
|
|
41599
41586
|
const $schema = "package.schema.json";
|
|
41600
41587
|
const name = "cody-ai";
|
|
41601
41588
|
const displayName = "Cody: AI Code Assistant";
|
|
41602
|
-
const version = "1.
|
|
41589
|
+
const version = "1.112.0";
|
|
41603
41590
|
const publisher = "sourcegraph";
|
|
41604
41591
|
const license = "Apache-2.0";
|
|
41605
41592
|
const icon = "resources/sourcegraph.png";
|
|
@@ -46058,7 +46045,7 @@ const vscode = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
|
|
|
46058
46045
|
workspaceTextDocuments
|
|
46059
46046
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
46060
46047
|
export {
|
|
46061
|
-
|
|
46048
|
+
SpanStatusCode as $,
|
|
46062
46049
|
memoizeLastValue as A,
|
|
46063
46050
|
toSerializedPromptEditorValue as B,
|
|
46064
46051
|
ContextItemSource as C,
|
|
@@ -46075,19 +46062,19 @@ export {
|
|
|
46075
46062
|
NO_SYMBOL_MATCHES_HELP_LABEL as N,
|
|
46076
46063
|
Observable as O,
|
|
46077
46064
|
isDotCom as P,
|
|
46078
|
-
|
|
46065
|
+
isWorkspaceInstance as Q,
|
|
46079
46066
|
REMOTE_REPOSITORY_PROVIDER_URI as R,
|
|
46080
46067
|
SYMBOL_CONTEXT_MENTION_PROVIDER as S,
|
|
46081
46068
|
TEMPLATE_INPUT_NODE_TYPE as T,
|
|
46082
46069
|
Uri as U,
|
|
46083
|
-
|
|
46070
|
+
isAuthError as V,
|
|
46084
46071
|
WEB_PROVIDER_URI as W,
|
|
46085
|
-
|
|
46086
|
-
|
|
46087
|
-
|
|
46088
|
-
|
|
46072
|
+
isAvailabilityError as X,
|
|
46073
|
+
isSourcegraphToken as Y,
|
|
46074
|
+
trace as Z,
|
|
46075
|
+
context$1 as _,
|
|
46089
46076
|
REMOTE_FILE_PROVIDER_URI as a,
|
|
46090
|
-
|
|
46077
|
+
pendingOperation as a$,
|
|
46091
46078
|
svg as a0,
|
|
46092
46079
|
html as a1,
|
|
46093
46080
|
whitespace as a2,
|
|
@@ -46098,373 +46085,372 @@ export {
|
|
|
46098
46085
|
isCodyProUser as a7,
|
|
46099
46086
|
CodyIDE as a8,
|
|
46100
46087
|
CodyTaskState as a9,
|
|
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
|
-
|
|
46088
|
+
diffWithLineNum as aA,
|
|
46089
|
+
UITerminalOutputType as aB,
|
|
46090
|
+
isCodeSearchContextItem as aC,
|
|
46091
|
+
v4 as aD,
|
|
46092
|
+
lodashExports as aE,
|
|
46093
|
+
deserializeContextItem as aF,
|
|
46094
|
+
firstResultFromOperation as aG,
|
|
46095
|
+
ChatHistoryType as aH,
|
|
46096
|
+
S2_URL as aI,
|
|
46097
|
+
ACCOUNT_USAGE_URL as aJ,
|
|
46098
|
+
CODY_DOC_QUICKSTART_URL as aK,
|
|
46099
|
+
isPlgEsAccessDisabled as aL,
|
|
46100
|
+
isDefined as aM,
|
|
46101
|
+
browser$1 as aN,
|
|
46102
|
+
CodyAutoSuggestionMode as aO,
|
|
46103
|
+
setDisplayPathEnvInfo as aP,
|
|
46104
|
+
isErrorLike as aQ,
|
|
46105
|
+
PromptString as aR,
|
|
46106
|
+
createGuardrailsImpl as aS,
|
|
46107
|
+
serialize as aT,
|
|
46108
|
+
deserialize as aU,
|
|
46109
|
+
unsubscribe as aV,
|
|
46110
|
+
AsyncSerialScheduler$1 as aW,
|
|
46111
|
+
authStatus as aX,
|
|
46112
|
+
pick as aY,
|
|
46113
|
+
distinctUntilChanged as aZ,
|
|
46114
|
+
switchMapReplayOperation as a_,
|
|
46128
46115
|
cryptoJsExports as aa,
|
|
46129
46116
|
GuardrailsCheckStatus as ab,
|
|
46130
46117
|
LRUCache$1 as ac,
|
|
46131
46118
|
isError as ad,
|
|
46132
46119
|
RateLimitError as ae,
|
|
46133
|
-
|
|
46134
|
-
|
|
46135
|
-
|
|
46136
|
-
|
|
46137
|
-
|
|
46138
|
-
|
|
46139
|
-
|
|
46140
|
-
|
|
46141
|
-
|
|
46142
|
-
|
|
46143
|
-
|
|
46144
|
-
|
|
46145
|
-
|
|
46146
|
-
|
|
46147
|
-
|
|
46148
|
-
|
|
46149
|
-
|
|
46150
|
-
|
|
46151
|
-
|
|
46152
|
-
|
|
46153
|
-
|
|
46120
|
+
FeatureFlag as af,
|
|
46121
|
+
reformatBotMessageForChat as ag,
|
|
46122
|
+
isAbortErrorOrSocketHangUp as ah,
|
|
46123
|
+
ModelTag as ai,
|
|
46124
|
+
DeepCodyAgentID as aj,
|
|
46125
|
+
serializedPromptEditorStateFromChatMessage as ak,
|
|
46126
|
+
contextItemsFromPromptEditorValue as al,
|
|
46127
|
+
filterContextItemsFromPromptEditorValue as am,
|
|
46128
|
+
View as an,
|
|
46129
|
+
isCodyProModel as ao,
|
|
46130
|
+
isMacOS as ap,
|
|
46131
|
+
ToolCodyModelName as aq,
|
|
46132
|
+
CustomCommandType as ar,
|
|
46133
|
+
textContentFromSerializedLexicalNode as as,
|
|
46134
|
+
firstValueFrom as at,
|
|
46135
|
+
skipPendingOperation as au,
|
|
46136
|
+
FAST_CHAT_INPUT_TOKEN_BUDGET as av,
|
|
46137
|
+
webviewOpenURIForContextItem as aw,
|
|
46138
|
+
pluralize as ax,
|
|
46139
|
+
UIToolStatus as ay,
|
|
46140
|
+
getFileDiff as az,
|
|
46154
46141
|
REMOTE_DIRECTORY_PROVIDER_URI as b,
|
|
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
|
-
|
|
46187
|
-
|
|
46188
|
-
|
|
46189
|
-
|
|
46190
|
-
|
|
46191
|
-
|
|
46192
|
-
|
|
46193
|
-
|
|
46194
|
-
|
|
46195
|
-
|
|
46196
|
-
|
|
46197
|
-
|
|
46198
|
-
|
|
46199
|
-
|
|
46200
|
-
|
|
46201
|
-
|
|
46202
|
-
|
|
46203
|
-
|
|
46204
|
-
|
|
46205
|
-
|
|
46206
|
-
|
|
46207
|
-
|
|
46208
|
-
|
|
46209
|
-
|
|
46210
|
-
|
|
46211
|
-
|
|
46212
|
-
|
|
46213
|
-
|
|
46214
|
-
|
|
46215
|
-
|
|
46216
|
-
|
|
46217
|
-
|
|
46218
|
-
|
|
46142
|
+
commands as b$,
|
|
46143
|
+
promiseFactoryToObservable as b0,
|
|
46144
|
+
retry as b1,
|
|
46145
|
+
logError as b2,
|
|
46146
|
+
graphqlClient as b3,
|
|
46147
|
+
semver$1 as b4,
|
|
46148
|
+
debounceTime as b5,
|
|
46149
|
+
interval as b6,
|
|
46150
|
+
filter$1 as b7,
|
|
46151
|
+
startWith as b8,
|
|
46152
|
+
switchMap as b9,
|
|
46153
|
+
isFreeUser as bA,
|
|
46154
|
+
telemetryRecorder as bB,
|
|
46155
|
+
getEnterpriseContextWindow as bC,
|
|
46156
|
+
ANSWER_TOKENS as bD,
|
|
46157
|
+
currentAuthStatusOrNotReadyYet as bE,
|
|
46158
|
+
mockAuthStatus as bF,
|
|
46159
|
+
storeLastValue as bG,
|
|
46160
|
+
resolvedConfig as bH,
|
|
46161
|
+
userProductSubscription as bI,
|
|
46162
|
+
isEnterpriseUser as bJ,
|
|
46163
|
+
ps as bK,
|
|
46164
|
+
GuardrailsMode as bL,
|
|
46165
|
+
currentResolvedConfig as bM,
|
|
46166
|
+
CORPUS_CONTEXT_ALLOCATION as bN,
|
|
46167
|
+
isCustomModel as bO,
|
|
46168
|
+
recordErrorToSpan as bP,
|
|
46169
|
+
addClientInfoParams as bQ,
|
|
46170
|
+
dependentAbortController as bR,
|
|
46171
|
+
isS2 as bS,
|
|
46172
|
+
GIT_OPENCTX_PROVIDER_URI as bT,
|
|
46173
|
+
CODE_SEARCH_PROVIDER_URI as bU,
|
|
46174
|
+
currentOpenCtxController as bV,
|
|
46175
|
+
MulticastSubject as bW,
|
|
46176
|
+
AsyncSerialScheduler_1 as bX,
|
|
46177
|
+
workspace as bY,
|
|
46178
|
+
vscode as bZ,
|
|
46179
|
+
Range as b_,
|
|
46180
|
+
logDebug as ba,
|
|
46181
|
+
isAbortError as bb,
|
|
46182
|
+
getModelInfo as bc,
|
|
46183
|
+
CHAT_INPUT_TOKEN_BUDGET as bd,
|
|
46184
|
+
CHAT_OUTPUT_TOKEN_BUDGET as be,
|
|
46185
|
+
EXTENDED_CHAT_INPUT_TOKEN_BUDGET as bf,
|
|
46186
|
+
EXTENDED_USER_CONTEXT_TOKEN_BUDGET as bg,
|
|
46187
|
+
TRANSIENT_REFETCH_INTERVAL_HINT as bh,
|
|
46188
|
+
createSubscriber as bi,
|
|
46189
|
+
fromVSCodeEvent as bj,
|
|
46190
|
+
cenv as bk,
|
|
46191
|
+
EXCLUDE_EVERYTHING_CONTEXT_FILTERS as bl,
|
|
46192
|
+
currentAuthStatus as bm,
|
|
46193
|
+
isFileURI as bn,
|
|
46194
|
+
INCLUDE_EVERYTHING_CONTEXT_FILTERS as bo,
|
|
46195
|
+
onAbort as bp,
|
|
46196
|
+
addCodyClientIdentificationHeaders as bq,
|
|
46197
|
+
addTraceparent as br,
|
|
46198
|
+
addAuthHeaders as bs,
|
|
46199
|
+
fetch as bt,
|
|
46200
|
+
verifyResponseCode as bu,
|
|
46201
|
+
take as bv,
|
|
46202
|
+
clientCapabilities as bw,
|
|
46203
|
+
shareReplay as bx,
|
|
46204
|
+
tap as by,
|
|
46205
|
+
featureFlagProvider as bz,
|
|
46219
46206
|
commonjsGlobal as c,
|
|
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
|
-
|
|
46271
|
-
|
|
46272
|
-
|
|
46273
|
-
|
|
46274
|
-
|
|
46275
|
-
|
|
46276
|
-
|
|
46277
|
-
|
|
46278
|
-
|
|
46279
|
-
|
|
46280
|
-
|
|
46281
|
-
|
|
46282
|
-
|
|
46283
|
-
|
|
46207
|
+
getAuthHeaders as c$,
|
|
46208
|
+
window$1 as c0,
|
|
46209
|
+
Selection as c1,
|
|
46210
|
+
AgentEventEmitter as c2,
|
|
46211
|
+
MarkdownString as c3,
|
|
46212
|
+
Disposable as c4,
|
|
46213
|
+
TextEditorRevealType as c5,
|
|
46214
|
+
ThemeIcon as c6,
|
|
46215
|
+
StatusBarAlignment as c7,
|
|
46216
|
+
readFile as c8,
|
|
46217
|
+
env as c9,
|
|
46218
|
+
ConfigurationTarget as cA,
|
|
46219
|
+
pathBrowserify as cB,
|
|
46220
|
+
stat as cC,
|
|
46221
|
+
extensions as cD,
|
|
46222
|
+
version as cE,
|
|
46223
|
+
setExtensionVersion as cF,
|
|
46224
|
+
withLatestFrom as cG,
|
|
46225
|
+
NEVER as cH,
|
|
46226
|
+
abortableOperation as cI,
|
|
46227
|
+
isNeedsAuthChallengeError as cJ,
|
|
46228
|
+
EMPTY as cK,
|
|
46229
|
+
disposableSubscription as cL,
|
|
46230
|
+
setAuthStatusObservable as cM,
|
|
46231
|
+
DOTCOM_URL as cN,
|
|
46232
|
+
isInvalidAccessTokenError as cO,
|
|
46233
|
+
normalizeServerEndpointURL as cP,
|
|
46234
|
+
isEnterpriseUserDotComError as cQ,
|
|
46235
|
+
ProgressLocation as cR,
|
|
46236
|
+
AuthConfigError as cS,
|
|
46237
|
+
SourcegraphGraphQLAPIClient as cT,
|
|
46238
|
+
isExternalProviderAuthError as cU,
|
|
46239
|
+
isNetworkLikeError as cV,
|
|
46240
|
+
NeedsAuthChallengeError as cW,
|
|
46241
|
+
AvailabilityError as cX,
|
|
46242
|
+
EnterpriseUserDotComError as cY,
|
|
46243
|
+
resolveAuth as cZ,
|
|
46244
|
+
QuickPickItemKind as c_,
|
|
46245
|
+
UIKind as ca,
|
|
46246
|
+
languages as cb,
|
|
46247
|
+
InvalidAccessTokenError as cc,
|
|
46248
|
+
_baseAssignValue as cd,
|
|
46249
|
+
eq_1$1 as ce,
|
|
46250
|
+
isArrayLike_1 as cf,
|
|
46251
|
+
isObjectLike_1 as cg,
|
|
46252
|
+
_copyObject as ch,
|
|
46253
|
+
keysIn_1 as ci,
|
|
46254
|
+
_cloneBufferExports as cj,
|
|
46255
|
+
_cloneTypedArray as ck,
|
|
46256
|
+
_copyArray as cl,
|
|
46257
|
+
_initCloneObject as cm,
|
|
46258
|
+
isArguments_1 as cn,
|
|
46259
|
+
isArray_1 as co,
|
|
46260
|
+
isBufferExports as cp,
|
|
46261
|
+
isFunction_1 as cq,
|
|
46262
|
+
isObject_1 as cr,
|
|
46263
|
+
isPlainObject_1 as cs,
|
|
46264
|
+
isTypedArray_1 as ct,
|
|
46265
|
+
_Stack as cu,
|
|
46266
|
+
identity_1 as cv,
|
|
46267
|
+
_overRest as cw,
|
|
46268
|
+
_setToString as cx,
|
|
46269
|
+
_isIndex as cy,
|
|
46270
|
+
CONFIG_KEY as cz,
|
|
46284
46271
|
RULES_PROVIDER_URI as d,
|
|
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
|
-
|
|
46310
|
-
|
|
46311
|
-
|
|
46312
|
-
|
|
46313
|
-
|
|
46314
|
-
|
|
46315
|
-
|
|
46316
|
-
|
|
46317
|
-
|
|
46318
|
-
|
|
46319
|
-
|
|
46320
|
-
|
|
46321
|
-
|
|
46322
|
-
|
|
46323
|
-
|
|
46324
|
-
|
|
46325
|
-
|
|
46326
|
-
|
|
46327
|
-
|
|
46328
|
-
|
|
46329
|
-
|
|
46330
|
-
|
|
46331
|
-
|
|
46332
|
-
|
|
46333
|
-
|
|
46334
|
-
|
|
46335
|
-
|
|
46336
|
-
|
|
46337
|
-
|
|
46338
|
-
|
|
46339
|
-
|
|
46340
|
-
|
|
46341
|
-
|
|
46342
|
-
|
|
46343
|
-
|
|
46344
|
-
|
|
46345
|
-
|
|
46346
|
-
|
|
46347
|
-
|
|
46272
|
+
GENERAL_HELP_LABEL as d$,
|
|
46273
|
+
toLightweightChatTranscript as d0,
|
|
46274
|
+
SUPPORTED_URI_SCHEMAS as d1,
|
|
46275
|
+
_baseIsEqual as d2,
|
|
46276
|
+
keys_1 as d3,
|
|
46277
|
+
_baseGet as d4,
|
|
46278
|
+
_castPath as d5,
|
|
46279
|
+
isLength_1 as d6,
|
|
46280
|
+
_toKey as d7,
|
|
46281
|
+
_isKey as d8,
|
|
46282
|
+
toNumber_1 as d9,
|
|
46283
|
+
createGitDiff as dA,
|
|
46284
|
+
catchError as dB,
|
|
46285
|
+
AgentWorkspaceEdit as dC,
|
|
46286
|
+
TextDocumentChangeReason as dD,
|
|
46287
|
+
omit$1 as dE,
|
|
46288
|
+
displayPathWithoutWorkspaceFolderPrefix as dF,
|
|
46289
|
+
getEditorInsertSpaces as dG,
|
|
46290
|
+
escapeRegExp$1 as dH,
|
|
46291
|
+
TimeoutError as dI,
|
|
46292
|
+
isNetworkError as dJ,
|
|
46293
|
+
http as dK,
|
|
46294
|
+
open as dL,
|
|
46295
|
+
defer as dM,
|
|
46296
|
+
merge$1 as dN,
|
|
46297
|
+
ruleSearchPaths as dO,
|
|
46298
|
+
isRuleFilename as dP,
|
|
46299
|
+
parseRuleFile as dQ,
|
|
46300
|
+
languageFromFilename as dR,
|
|
46301
|
+
ruleTitle as dS,
|
|
46302
|
+
debounce_1 as dT,
|
|
46303
|
+
isWindows as dU,
|
|
46304
|
+
GLOBAL_SEARCH_PROVIDER_URI as dV,
|
|
46305
|
+
mentionProvidersMetadata as dW,
|
|
46306
|
+
currentUserProductSubscription as dX,
|
|
46307
|
+
checkIfEnterpriseUser as dY,
|
|
46308
|
+
ThemeColor as dZ,
|
|
46309
|
+
QuickInputButtons as d_,
|
|
46310
|
+
_baseFindIndex as da,
|
|
46311
|
+
require$$0 as db,
|
|
46312
|
+
NetworkError as dc,
|
|
46313
|
+
isRateLimitError as dd,
|
|
46314
|
+
FileType as de,
|
|
46315
|
+
dedent as df,
|
|
46316
|
+
FoldingRange as dg,
|
|
46317
|
+
CancellationTokenSource2 as dh,
|
|
46318
|
+
SymbolKind as di,
|
|
46319
|
+
convertGitCloneURLToCodebaseName as dj,
|
|
46320
|
+
pluck as dk,
|
|
46321
|
+
toRangeData as dl,
|
|
46322
|
+
Position as dm,
|
|
46323
|
+
DefaultChatCommands as dn,
|
|
46324
|
+
pathFunctionsForURI as dp,
|
|
46325
|
+
uriParseNameAndExtension as dq,
|
|
46326
|
+
uriDirname as dr,
|
|
46327
|
+
Utils as ds,
|
|
46328
|
+
uriExtname as dt,
|
|
46329
|
+
uriBasename as du,
|
|
46330
|
+
DefaultEditCommands as dv,
|
|
46331
|
+
subscriptionDisposable as dw,
|
|
46332
|
+
updateGlobalTelemetryInstances as dx,
|
|
46333
|
+
TelemetryRecorderProvider as dy,
|
|
46334
|
+
telemetryRecorderProvider as dz,
|
|
46348
46335
|
displayPath as e,
|
|
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
|
-
|
|
46400
|
-
|
|
46401
|
-
|
|
46402
|
-
|
|
46403
|
-
|
|
46404
|
-
|
|
46405
|
-
|
|
46406
|
-
|
|
46407
|
-
|
|
46408
|
-
|
|
46409
|
-
|
|
46410
|
-
|
|
46411
|
-
|
|
46412
|
-
|
|
46336
|
+
setJSONAcceptContentTypeHeaders as e$,
|
|
46337
|
+
CodeLens as e0,
|
|
46338
|
+
defaultWebviewPanel as e1,
|
|
46339
|
+
EndOfLine as e2,
|
|
46340
|
+
ViewColumn as e3,
|
|
46341
|
+
Location as e4,
|
|
46342
|
+
onDidChangeActiveTextEditor as e5,
|
|
46343
|
+
tabGroups as e6,
|
|
46344
|
+
workspaceTextDocuments as e7,
|
|
46345
|
+
visibleTextEditors as e8,
|
|
46346
|
+
onDidChangeVisibleTextEditors as e9,
|
|
46347
|
+
CodeAction as eA,
|
|
46348
|
+
UriString as eB,
|
|
46349
|
+
DiagnosticSeverity as eC,
|
|
46350
|
+
diagnostics as eD,
|
|
46351
|
+
isIntegrationTesting as eE,
|
|
46352
|
+
TESTING_TELEMETRY_EXPORTER as eF,
|
|
46353
|
+
dist as eG,
|
|
46354
|
+
completionProvider as eH,
|
|
46355
|
+
InlineCompletionTriggerKind as eI,
|
|
46356
|
+
currentAuthStatusAuthed as eJ,
|
|
46357
|
+
waitUntilComplete as eK,
|
|
46358
|
+
setExtensionConfiguration as eL,
|
|
46359
|
+
onDidChangeConfiguration as eM,
|
|
46360
|
+
onDidChangeTextDocument as eN,
|
|
46361
|
+
onDidChangeTextEditorSelection as eO,
|
|
46362
|
+
isTokenOrEndpointChange as eP,
|
|
46363
|
+
RelativePattern as eQ,
|
|
46364
|
+
structuredPatch as eR,
|
|
46365
|
+
isDotComAuthed as eS,
|
|
46366
|
+
dedupeWith as eT,
|
|
46367
|
+
AbortError as eU,
|
|
46368
|
+
createDisposables as eV,
|
|
46369
|
+
isNodeResponse as eW,
|
|
46370
|
+
getClientInfoQueryParams as eX,
|
|
46371
|
+
tracer as eY,
|
|
46372
|
+
getActiveTraceAndSpanId as eZ,
|
|
46373
|
+
getClientIdentificationHeaders as e_,
|
|
46374
|
+
fs as ea,
|
|
46375
|
+
onDidCloseTextDocument as eb,
|
|
46376
|
+
setCreateWebviewPanel as ec,
|
|
46377
|
+
getAugmentedNamespace as ed,
|
|
46378
|
+
extensionConfiguration as ee,
|
|
46379
|
+
main$1 as ef,
|
|
46380
|
+
setAgent as eg,
|
|
46381
|
+
setWorkspaceDocuments as eh,
|
|
46382
|
+
setLastOpenedWorkspaceFolder as ei,
|
|
46383
|
+
onDidRegisterNewCodeActionProvider as ej,
|
|
46384
|
+
onDidUnregisterNewCodeActionProvider as ek,
|
|
46385
|
+
onDidRegisterNewCodeLensProvider as el,
|
|
46386
|
+
onDidUnregisterNewCodeLensProvider as em,
|
|
46387
|
+
setClientInfo as en,
|
|
46388
|
+
AgentWorkspaceConfiguration as eo,
|
|
46389
|
+
firstNonPendingAuthStatus as ep,
|
|
46390
|
+
workspaceFolders as eq,
|
|
46391
|
+
setWorkspaceFolders as er,
|
|
46392
|
+
onDidChangeWorkspaceFolders as es,
|
|
46393
|
+
onDidChangeWindowState as et,
|
|
46394
|
+
onDidOpenTextDocument as eu,
|
|
46395
|
+
onDidSaveTextDocument as ev,
|
|
46396
|
+
onDidRenameFiles as ew,
|
|
46397
|
+
packageJson as ex,
|
|
46398
|
+
progressBars as ey,
|
|
46399
|
+
CodeActionTriggerKind as ez,
|
|
46413
46400
|
displayLineRange as f,
|
|
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
|
-
|
|
46453
|
-
|
|
46454
|
-
|
|
46455
|
-
|
|
46456
|
-
|
|
46457
|
-
|
|
46458
|
-
|
|
46459
|
-
|
|
46460
|
-
|
|
46461
|
-
|
|
46462
|
-
|
|
46463
|
-
|
|
46464
|
-
|
|
46465
|
-
|
|
46466
|
-
|
|
46467
|
-
SURROUNDING_LINES as fz,
|
|
46401
|
+
logResponseHeadersToSpan as f0,
|
|
46402
|
+
isCustomAuthChallengeResponse as f1,
|
|
46403
|
+
TracedError as f2,
|
|
46404
|
+
capitalize$2 as f3,
|
|
46405
|
+
InlineCompletionItem as f4,
|
|
46406
|
+
createTwoFilesPatch as f5,
|
|
46407
|
+
vsCodeMocks as f6,
|
|
46408
|
+
getEditorTabSize as f7,
|
|
46409
|
+
metrics as f8,
|
|
46410
|
+
_ as f9,
|
|
46411
|
+
CODY_SUPPORT_URL as fA,
|
|
46412
|
+
CODY_DOC_URL as fB,
|
|
46413
|
+
CODY_FEEDBACK_URL as fC,
|
|
46414
|
+
DISCORD_URL as fD,
|
|
46415
|
+
globalAgentRef as fE,
|
|
46416
|
+
VSCODE_CHANGELOG_URL as fF,
|
|
46417
|
+
SG_CHANGELOG_URL as fG,
|
|
46418
|
+
ACCOUNT_LIMITS_INFO_URL as fH,
|
|
46419
|
+
assertUnreachable as fI,
|
|
46420
|
+
promise as fJ,
|
|
46421
|
+
ExtensionMode as fK,
|
|
46422
|
+
setLogger as fL,
|
|
46423
|
+
setClientCapabilities as fM,
|
|
46424
|
+
setResolvedConfigurationObservable as fN,
|
|
46425
|
+
setClientNameVersion as fO,
|
|
46426
|
+
setOpenCtxControllerObservable as fP,
|
|
46427
|
+
child_process as fQ,
|
|
46428
|
+
editorStateFromPromptString as fa,
|
|
46429
|
+
_baseGetTag as fb,
|
|
46430
|
+
inputTextWithoutContextChipsFromPromptEditorState as fc,
|
|
46431
|
+
exec as fd,
|
|
46432
|
+
expandToLineRange as fe,
|
|
46433
|
+
openctxController as ff,
|
|
46434
|
+
openCtxProviderMetadata as fg,
|
|
46435
|
+
CODY_PASSTHROUGH_VSCODE_OPEN_COMMAND_ID as fh,
|
|
46436
|
+
getPlatform as fi,
|
|
46437
|
+
PromptMode as fj,
|
|
46438
|
+
skip as fk,
|
|
46439
|
+
extractContextFromTraceparent as fl,
|
|
46440
|
+
isContextWindowLimitError as fm,
|
|
46441
|
+
addMessageListenersForExtensionAPI as fn,
|
|
46442
|
+
createMessageAPIForExtension as fo,
|
|
46443
|
+
CodeActionKind as fp,
|
|
46444
|
+
assertFileURI as fq,
|
|
46445
|
+
createCodeSearchProvider as fr,
|
|
46446
|
+
ProgrammingLanguage as fs,
|
|
46447
|
+
MAX_CURRENT_FILE_TOKENS as ft,
|
|
46448
|
+
psDedent as fu,
|
|
46449
|
+
formatRuleForPrompt as fv,
|
|
46450
|
+
posixFilePaths as fw,
|
|
46451
|
+
DecorationRangeBehavior as fx,
|
|
46452
|
+
SURROUNDING_LINES as fy,
|
|
46453
|
+
diffLines as fz,
|
|
46468
46454
|
getDefaultExportFromCjs as g,
|
|
46469
46455
|
displayPathDirname as h,
|
|
46470
46456
|
displayPathBasename as i,
|