coderaft 0.0.19 → 0.0.21

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/code.mjs CHANGED
@@ -4,7 +4,7 @@ import { tmpdir } from "node:os";
4
4
  import { fileURLToPath } from "node:url";
5
5
 
6
6
  // Auto-updated by scripts/pack.ts
7
- const codeArchiveHash = "30c02e4b77df8ee2";
7
+ const codeArchiveHash = "85f45c1721d9269d";
8
8
 
9
9
  const archivePath = fileURLToPath(new URL("./code.tar.zst", import.meta.url));
10
10
 
package/code.tar.zst CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  import { t as __require } from "./rolldown-runtime.mjs";
2
2
  import { t as createProxyServer } from "./libs/httpxy.mjs";
3
- import { fileURLToPath } from "node:url";
3
+ import { fileURLToPath, pathToFileURL } from "node:url";
4
4
  import { createReadStream, readFileSync, readdirSync, unlinkSync } from "node:fs";
5
5
  import { randomBytes, randomUUID } from "node:crypto";
6
6
  import { createServer } from "node:http";
@@ -164,7 +164,7 @@ async function createCodeServer(opts = {}) {
164
164
  if (args.length === 2 && typeof args[1] === "string" && !args[1].trim()) return;
165
165
  _log(...args);
166
166
  };
167
- const mod = await import(join(vsRootPath, "out/server-main.js"));
167
+ const mod = await import(pathToFileURL(join(vsRootPath, "out/server-main.js")).href);
168
168
  const _product = globalThis._VSCODE_PRODUCT_JSON;
169
169
  if (_product) {
170
170
  _product.nameShort = "coderaft";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coderaft",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "repository": "pithings/coderaft",
5
5
  "bin": {
6
6
  "coderaft": "./dist/cli.mjs"
@@ -23,8 +23,6 @@
23
23
  "build": "obuild"
24
24
  },
25
25
  "devDependencies": {
26
- "code-server": "^4.114.1",
27
- "@anthropic-ai/sandbox-runtime": "0.0.42",
28
26
  "@github/copilot": "workspace:*",
29
27
  "@github/copilot-sdk": "workspace:*",
30
28
  "@microsoft/1ds-core-js": "workspace:*",
@@ -40,7 +38,7 @@
40
38
  "@vscode/tree-sitter-wasm": "^0.3.0",
41
39
  "@vscode/vscode-languagedetection": "1.0.23",
42
40
  "@vscode/windows-process-tree": "workspace:*",
43
- "@vscode/windows-registry": "^1.2.0",
41
+ "@vscode/windows-registry": "workspace:*",
44
42
  "@xterm/addon-clipboard": "^0.3.0-beta.191",
45
43
  "@xterm/addon-image": "^0.10.0-beta.191",
46
44
  "@xterm/addon-ligatures": "^0.11.0-beta.191",
@@ -51,12 +49,14 @@
51
49
  "@xterm/addon-webgl": "^0.20.0-beta.190",
52
50
  "@xterm/headless": "^6.1.0-beta.191",
53
51
  "@xterm/xterm": "^6.1.0-beta.191",
52
+ "code-server": "^4.114.1",
54
53
  "cookie": "^0.7.0",
55
54
  "http-proxy-agent": "^7.0.0",
56
55
  "https-proxy-agent": "^7.0.2",
56
+ "httpxy": "^0.5.0",
57
57
  "jschardet": "3.1.4",
58
58
  "katex": "^0.16.22",
59
- "kerberos": "2.1.1",
59
+ "kerberos": "workspace:*",
60
60
  "minimist": "^1.2.8",
61
61
  "node-pty": "workspace:*",
62
62
  "tas-client": "0.3.1",
@@ -64,7 +64,6 @@
64
64
  "vscode-oniguruma": "1.7.0",
65
65
  "vscode-regexpp": "^3.1.0",
66
66
  "vscode-textmate": "^9.3.2",
67
- "httpxy": "^0.5.0",
68
67
  "ws": "^8.19.0",
69
68
  "yauzl": "^3.0.0",
70
69
  "yazl": "^2.4.3"