@sourcegraph/cody-web 0.2.9
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/README.md +24 -0
- package/dist/demo/App.d.ts +4 -0
- package/dist/demo/App.d.ts.map +1 -0
- package/dist/demo/index.d.ts +2 -0
- package/dist/demo/index.d.ts.map +1 -0
- package/dist/index-BMP2aYCb.js +516 -0
- package/dist/index.js +143330 -0
- package/dist/lib/agent/agent.client.d.ts +19 -0
- package/dist/lib/agent/agent.client.d.ts.map +1 -0
- package/dist/lib/agent/agent.worker.d.ts +2 -0
- package/dist/lib/agent/agent.worker.d.ts.map +1 -0
- package/dist/lib/agent/index-db-storage.d.ts +16 -0
- package/dist/lib/agent/index-db-storage.d.ts.map +1 -0
- package/dist/lib/agent/shims/child_process.d.ts +4 -0
- package/dist/lib/agent/shims/child_process.d.ts.map +1 -0
- package/dist/lib/agent/shims/env-paths.d.ts +2 -0
- package/dist/lib/agent/shims/env-paths.d.ts.map +1 -0
- package/dist/lib/agent/shims/fs.d.ts +8 -0
- package/dist/lib/agent/shims/fs.d.ts.map +1 -0
- package/dist/lib/agent/shims/fs__promises.d.ts +12 -0
- package/dist/lib/agent/shims/fs__promises.d.ts.map +1 -0
- package/dist/lib/agent/shims/inline-completion-item-provider.d.ts +4 -0
- package/dist/lib/agent/shims/inline-completion-item-provider.d.ts.map +1 -0
- package/dist/lib/agent/shims/os.d.ts +8 -0
- package/dist/lib/agent/shims/os.d.ts.map +1 -0
- package/dist/lib/agent/shims/stream.d.ts +3 -0
- package/dist/lib/agent/shims/stream.d.ts.map +1 -0
- package/dist/lib/components/CodyWebChat.d.ts +7 -0
- package/dist/lib/components/CodyWebChat.d.ts.map +1 -0
- package/dist/lib/components/CodyWebChatProvider.d.ts +37 -0
- package/dist/lib/components/CodyWebChatProvider.d.ts.map +1 -0
- package/dist/lib/components/CodyWebHistory.d.ts +18 -0
- package/dist/lib/components/CodyWebHistory.d.ts.map +1 -0
- package/dist/lib/index.d.ts +5 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/types.d.ts +9 -0
- package/dist/lib/types.d.ts.map +1 -0
- package/dist/lib/utils/use-local-storage.d.ts +14 -0
- package/dist/lib/utils/use-local-storage.d.ts.map +1 -0
- package/dist/style.css +3344 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/util-CPyRplc_.js +24 -0
- package/package.json +46 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { r as requireUtil } from "./agent.worker-swWtwpQQ.js";
|
|
2
|
+
function _mergeNamespaces(n, m) {
|
|
3
|
+
m.forEach(function(e) {
|
|
4
|
+
e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
|
|
5
|
+
if (k !== "default" && !(k in n)) {
|
|
6
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
7
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function() {
|
|
10
|
+
return e[k];
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
return Object.freeze(n);
|
|
17
|
+
}
|
|
18
|
+
var utilExports = requireUtil();
|
|
19
|
+
var util = /* @__PURE__ */ _mergeNamespaces({
|
|
20
|
+
__proto__: null
|
|
21
|
+
}, [utilExports]);
|
|
22
|
+
export {
|
|
23
|
+
util as u
|
|
24
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sourcegraph/cody-web",
|
|
3
|
+
"version": "0.2.9",
|
|
4
|
+
"description": "Cody standalone web app",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/sourcegraph/cody",
|
|
9
|
+
"directory": "web"
|
|
10
|
+
},
|
|
11
|
+
"main": "dist/index.js",
|
|
12
|
+
"types": "dist/lib/index.d.ts",
|
|
13
|
+
"sideEffects": false,
|
|
14
|
+
"files": ["dist/*"],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"dev": "vite --mode development",
|
|
17
|
+
"build": "vite build --mode production && tsc --build",
|
|
18
|
+
"test": "vitest",
|
|
19
|
+
"build-ts": "tsc --build"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@sourcegraph/cody": "workspace:*",
|
|
23
|
+
"@sourcegraph/cody-shared": "workspace:*",
|
|
24
|
+
"@sourcegraph/prompt-editor": "workspace:*",
|
|
25
|
+
"@vitejs/plugin-react-swc": "^3.6.0",
|
|
26
|
+
"@vitest/web-worker": "^1.4.0",
|
|
27
|
+
"@vscode/codicons": "^0.0.35",
|
|
28
|
+
"buffer": "^6.0.3",
|
|
29
|
+
"events": "^3.3.0",
|
|
30
|
+
"idb": "^8.0.0",
|
|
31
|
+
"lodash": "4.17.21",
|
|
32
|
+
"path-browserify": "^1.0.1",
|
|
33
|
+
"postcss": "^8.4.38",
|
|
34
|
+
"postcss-mixins": "^10.0.1",
|
|
35
|
+
"postcss-nested": "^6.0.1",
|
|
36
|
+
"stream-browserify": "^3.0.0",
|
|
37
|
+
"tailwind-merge": "^2.3.0",
|
|
38
|
+
"tailwindcss": "^3.4.3",
|
|
39
|
+
"vite-plugin-svgr": "^4.2.0",
|
|
40
|
+
"cody-ai": "workspace:*",
|
|
41
|
+
"@types/lodash": "4.14.195",
|
|
42
|
+
"util": "^0.12.5",
|
|
43
|
+
"vscode-uri": "^3.0.7",
|
|
44
|
+
"@openctx/vscode-lib": "^0.0.14"
|
|
45
|
+
}
|
|
46
|
+
}
|