lody 0.68.0 → 0.68.1
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.
|
@@ -4,7 +4,7 @@ import { createRequire as createRequire$1 } from "node:module";
|
|
|
4
4
|
import { Writable, Readable } from "node:stream";
|
|
5
5
|
import fs__default from "node:fs";
|
|
6
6
|
import path__default from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fs__default$1, { readFile, constants } from "node:fs/promises";
|
|
8
8
|
import process$1 from "node:process";
|
|
9
9
|
import { fileURLToPath } from "node:url";
|
|
10
10
|
import { promisify } from "node:util";
|
|
@@ -22328,14 +22328,14 @@ var wslDrivesMountPoint = /* @__PURE__ */ (() => {
|
|
|
22328
22328
|
const configFilePath = "/etc/wsl.conf";
|
|
22329
22329
|
let isConfigFileExists = false;
|
|
22330
22330
|
try {
|
|
22331
|
-
await
|
|
22331
|
+
await fs__default$1.access(configFilePath, constants.F_OK);
|
|
22332
22332
|
isConfigFileExists = true;
|
|
22333
22333
|
} catch {
|
|
22334
22334
|
}
|
|
22335
22335
|
if (!isConfigFileExists) {
|
|
22336
22336
|
return defaultMountPoint;
|
|
22337
22337
|
}
|
|
22338
|
-
const configContent = await
|
|
22338
|
+
const configContent = await fs__default$1.readFile(configFilePath, { encoding: "utf8" });
|
|
22339
22339
|
const parsedMountPoint = parseMountPointFromConfig(configContent);
|
|
22340
22340
|
if (parsedMountPoint === void 0) {
|
|
22341
22341
|
return defaultMountPoint;
|
|
@@ -22355,7 +22355,7 @@ var canAccessPowerShell = async () => {
|
|
|
22355
22355
|
canAccessPowerShellPromise ??= (async () => {
|
|
22356
22356
|
try {
|
|
22357
22357
|
const psPath = await powerShellPath2();
|
|
22358
|
-
await
|
|
22358
|
+
await fs__default$1.access(psPath, constants.X_OK);
|
|
22359
22359
|
return true;
|
|
22360
22360
|
} catch {
|
|
22361
22361
|
return false;
|
|
@@ -22638,7 +22638,7 @@ var baseOpen = async (options) => {
|
|
|
22638
22638
|
const isBundled = !__dirname$1 || __dirname$1 === "/";
|
|
22639
22639
|
let exeLocalXdgOpen = false;
|
|
22640
22640
|
try {
|
|
22641
|
-
await
|
|
22641
|
+
await fs__default$1.access(localXdgOpenPath, constants.X_OK);
|
|
22642
22642
|
exeLocalXdgOpen = true;
|
|
22643
22643
|
} catch {
|
|
22644
22644
|
}
|
|
@@ -3,8 +3,8 @@ import { readFile, mkdir, writeFile, rename } from "node:fs/promises";
|
|
|
3
3
|
import os__default from "node:os";
|
|
4
4
|
import path__default from "node:path";
|
|
5
5
|
import process from "node:process";
|
|
6
|
-
const reviewViewerVersion = "0.68.
|
|
7
|
-
const reviewViewerSha256 = "
|
|
6
|
+
const reviewViewerVersion = "0.68.1";
|
|
7
|
+
const reviewViewerSha256 = "b66fe7a47d26d463570208d5fb3d09107c806dfbfbaed5c85c669b9438812e38";
|
|
8
8
|
const reviewViewerFileName = "standalone.html";
|
|
9
9
|
const DEFAULT_CDN_BASES = ["https://cdn.jsdelivr.net/npm", "https://unpkg.com"];
|
|
10
10
|
function cacheDir() {
|
package/dist/claude-acp.js
CHANGED
|
@@ -23,7 +23,7 @@ import process$1 from "node:process";
|
|
|
23
23
|
import { a as array, c as unknown, N as NEVER, u as union, n as number, s as string, o as object, r as record, C as int, l as literal, b as boolean, i as intersection, D as url } from "./chunks/schemas-muln0r74.js";
|
|
24
24
|
import { execFile as execFile$1 } from "node:child_process";
|
|
25
25
|
import { randomUUID as randomUUID$1 } from "node:crypto";
|
|
26
|
-
import * as
|
|
26
|
+
import * as fs$4 from "node:fs/promises";
|
|
27
27
|
import { promisify as promisify$1 } from "node:util";
|
|
28
28
|
import * as fs$3 from "node:fs";
|
|
29
29
|
import { WritableStream as WritableStream$1, ReadableStream as ReadableStream$1 } from "node:stream/web";
|
|
@@ -65333,7 +65333,7 @@ Compacting failed${reason}`
|
|
|
65333
65333
|
}
|
|
65334
65334
|
let stats;
|
|
65335
65335
|
try {
|
|
65336
|
-
stats = await
|
|
65336
|
+
stats = await fs$4.stat(cwd2);
|
|
65337
65337
|
} catch {
|
|
65338
65338
|
throw RequestError.invalidParams({
|
|
65339
65339
|
cwd: cwd2
|
package/dist/codex-acp.js
CHANGED