@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.
Files changed (43) hide show
  1. package/README.md +24 -0
  2. package/dist/demo/App.d.ts +4 -0
  3. package/dist/demo/App.d.ts.map +1 -0
  4. package/dist/demo/index.d.ts +2 -0
  5. package/dist/demo/index.d.ts.map +1 -0
  6. package/dist/index-BMP2aYCb.js +516 -0
  7. package/dist/index.js +143330 -0
  8. package/dist/lib/agent/agent.client.d.ts +19 -0
  9. package/dist/lib/agent/agent.client.d.ts.map +1 -0
  10. package/dist/lib/agent/agent.worker.d.ts +2 -0
  11. package/dist/lib/agent/agent.worker.d.ts.map +1 -0
  12. package/dist/lib/agent/index-db-storage.d.ts +16 -0
  13. package/dist/lib/agent/index-db-storage.d.ts.map +1 -0
  14. package/dist/lib/agent/shims/child_process.d.ts +4 -0
  15. package/dist/lib/agent/shims/child_process.d.ts.map +1 -0
  16. package/dist/lib/agent/shims/env-paths.d.ts +2 -0
  17. package/dist/lib/agent/shims/env-paths.d.ts.map +1 -0
  18. package/dist/lib/agent/shims/fs.d.ts +8 -0
  19. package/dist/lib/agent/shims/fs.d.ts.map +1 -0
  20. package/dist/lib/agent/shims/fs__promises.d.ts +12 -0
  21. package/dist/lib/agent/shims/fs__promises.d.ts.map +1 -0
  22. package/dist/lib/agent/shims/inline-completion-item-provider.d.ts +4 -0
  23. package/dist/lib/agent/shims/inline-completion-item-provider.d.ts.map +1 -0
  24. package/dist/lib/agent/shims/os.d.ts +8 -0
  25. package/dist/lib/agent/shims/os.d.ts.map +1 -0
  26. package/dist/lib/agent/shims/stream.d.ts +3 -0
  27. package/dist/lib/agent/shims/stream.d.ts.map +1 -0
  28. package/dist/lib/components/CodyWebChat.d.ts +7 -0
  29. package/dist/lib/components/CodyWebChat.d.ts.map +1 -0
  30. package/dist/lib/components/CodyWebChatProvider.d.ts +37 -0
  31. package/dist/lib/components/CodyWebChatProvider.d.ts.map +1 -0
  32. package/dist/lib/components/CodyWebHistory.d.ts +18 -0
  33. package/dist/lib/components/CodyWebHistory.d.ts.map +1 -0
  34. package/dist/lib/index.d.ts +5 -0
  35. package/dist/lib/index.d.ts.map +1 -0
  36. package/dist/lib/types.d.ts +9 -0
  37. package/dist/lib/types.d.ts.map +1 -0
  38. package/dist/lib/utils/use-local-storage.d.ts +14 -0
  39. package/dist/lib/utils/use-local-storage.d.ts.map +1 -0
  40. package/dist/style.css +3344 -0
  41. package/dist/tsconfig.tsbuildinfo +1 -0
  42. package/dist/util-CPyRplc_.js +24 -0
  43. 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
+ }