@sourcegraph/cody-web 0.31.1 → 0.32.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-f0xW2blH.mjs → agent.worker-CDpvFRkI.mjs} +3746 -4877
- package/dist/agent.worker.js +2 -2
- package/dist/{git-log-lMMNBgcI.mjs → git-log-ltF6h_Tk.mjs} +1 -1
- package/dist/{index-CvHu3t7y.mjs → index-D6x43_Eb.mjs} +3 -3
- package/dist/index.js +1458 -1442
- package/dist/style.css +101 -81
- package/dist/{util-DVisVv7-.mjs → util-PivrZJhX.mjs} +1 -1
- package/dist/{vscode-shim-BMQfq1RF.mjs → vscode-shim-Coc7PRnS.mjs} +1903 -2052
- package/package.json +15 -17
- package/LICENSE +0 -201
- package/dist/demo/App.d.ts +0 -4
- package/dist/demo/App.d.ts.map +0 -1
- package/dist/demo/index.d.ts +0 -2
- package/dist/demo/index.d.ts.map +0 -1
- package/dist/lib/agent/agent.client.d.ts +0 -20
- package/dist/lib/agent/agent.client.d.ts.map +0 -1
- package/dist/lib/agent/agent.worker.d.ts +0 -2
- package/dist/lib/agent/agent.worker.d.ts.map +0 -1
- package/dist/lib/agent/index-db-storage.d.ts +0 -15
- package/dist/lib/agent/index-db-storage.d.ts.map +0 -1
- package/dist/lib/agent/shims/child_process.d.ts +0 -5
- package/dist/lib/agent/shims/child_process.d.ts.map +0 -1
- package/dist/lib/agent/shims/env-paths.d.ts +0 -2
- package/dist/lib/agent/shims/env-paths.d.ts.map +0 -1
- package/dist/lib/agent/shims/fs-extra.d.ts +0 -3
- package/dist/lib/agent/shims/fs-extra.d.ts.map +0 -1
- package/dist/lib/agent/shims/fs.d.ts +0 -9
- package/dist/lib/agent/shims/fs.d.ts.map +0 -1
- package/dist/lib/agent/shims/fs__promises.d.ts +0 -11
- package/dist/lib/agent/shims/fs__promises.d.ts.map +0 -1
- package/dist/lib/agent/shims/inline-completion-item-provider.d.ts +0 -3
- package/dist/lib/agent/shims/inline-completion-item-provider.d.ts.map +0 -1
- package/dist/lib/agent/shims/open.d.ts +0 -3
- package/dist/lib/agent/shims/open.d.ts.map +0 -1
- package/dist/lib/agent/shims/os.d.ts +0 -10
- package/dist/lib/agent/shims/os.d.ts.map +0 -1
- package/dist/lib/agent/shims/stream.d.ts +0 -9
- package/dist/lib/agent/shims/stream.d.ts.map +0 -1
- package/dist/lib/agent/shims/worker_threads.d.ts +0 -3
- package/dist/lib/agent/shims/worker_threads.d.ts.map +0 -1
- package/dist/lib/agent/shims/zlib.d.ts +0 -7
- package/dist/lib/agent/shims/zlib.d.ts.map +0 -1
- package/dist/lib/components/CodyPromptTemplate.d.ts +0 -28
- package/dist/lib/components/CodyPromptTemplate.d.ts.map +0 -1
- package/dist/lib/components/CodyWebChat.d.ts +0 -72
- package/dist/lib/components/CodyWebChat.d.ts.map +0 -1
- package/dist/lib/components/skeleton/ChatSkeleton.d.ts +0 -12
- package/dist/lib/components/skeleton/ChatSkeleton.d.ts.map +0 -1
- package/dist/lib/components/use-cody-agent.d.ts +0 -28
- package/dist/lib/components/use-cody-agent.d.ts.map +0 -1
- package/dist/lib/index.d.ts +0 -6
- package/dist/lib/index.d.ts.map +0 -1
- package/dist/lib/types.d.ts +0 -28
- package/dist/lib/types.d.ts.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
package/dist/agent.worker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./agent.worker-
|
|
2
|
-
import "./vscode-shim-
|
|
1
|
+
import "./agent.worker-CDpvFRkI.mjs";
|
|
2
|
+
import "./vscode-shim-Coc7PRnS.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as wrapInActiveSpan, p as path,
|
|
1
|
+
import { w as wrapInActiveSpan, p as path, C as ContextItemSource, U as Uri, s as spawn } from "./vscode-shim-Coc7PRnS.mjs";
|
|
2
2
|
async function getContextFileFromGitLog(file, options) {
|
|
3
3
|
return wrapInActiveSpan("commands.context.git-log", async (span) => {
|
|
4
4
|
const cwd = path.dirname(file.fsPath);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import {
|
|
5
|
-
import { u as updateRangeMultipleChanges, e as executeEdit, T as TERMINAL_EDIT_STATES, s as setTutorialUri, l as logSidebarClick } from "./agent.worker-
|
|
4
|
+
import { P as Position, R as Range, U as Uri, a as window, c as commands, t as telemetryRecorder, b as workspace, d as ps, D as DiagnosticSeverity, e as dedent, l as languages, f as CodeLens, T as ThemeColor, g as Disposable } from "./vscode-shim-Coc7PRnS.mjs";
|
|
5
|
+
import { u as updateRangeMultipleChanges, e as executeEdit, T as TERMINAL_EDIT_STATES, s as setTutorialUri, l as logSidebarClick } from "./agent.worker-CDpvFRkI.mjs";
|
|
6
6
|
const EMOJI_SVG_TEMPLATE = `<svg width="32" height="32" xmlns="http://www.w3.org/2000/svg">
|
|
7
7
|
<text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-family="Arial" font-size="24px">{emoji}</text>
|
|
8
8
|
</svg>`;
|
|
@@ -121,7 +121,7 @@ const registerAutocompleteListener = (editor, activeStep) => {
|
|
|
121
121
|
});
|
|
122
122
|
return disposable;
|
|
123
123
|
};
|
|
124
|
-
var define_process_default = {
|
|
124
|
+
var define_process_default = {};
|
|
125
125
|
const getStepContent = (step) => {
|
|
126
126
|
let stepContent = "";
|
|
127
127
|
switch (step) {
|