lody 0.98.0 → 0.100.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/chunks/{index-DGod--yP.js → index-D_E51idL.js} +11 -11
- package/dist/chunks/{package-BdifTDFO.js → package-OaAJHtMV.js} +1 -1
- package/dist/chunks/{review-viewer-wpzL1tfQ.js → review-viewer-CxrR3OFP.js} +3 -3
- package/dist/chunks/{runtime-manifest-DZsDOOW3.js → runtime-manifest-B4aLP8l_.js} +1 -1
- package/dist/claude-acp.js +20579 -19790
- package/dist/codex-acp.js +1 -1
- package/dist/grok-acp.js +1 -1
- package/dist/index.js +591 -495
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRequire } from "module";
|
|
2
|
-
import
|
|
2
|
+
import yA__default, { execFile as execFile$1, spawn } from "node:child_process";
|
|
3
3
|
import { createRequire as createRequire$1 } from "node:module";
|
|
4
4
|
import { Writable, Readable } from "node:stream";
|
|
5
5
|
import { StringDecoder } from "node:string_decoder";
|
|
6
6
|
import fs__default from "node:fs";
|
|
7
7
|
import path__default from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fn__default, { constants, readFile, realpath } from "node:fs/promises";
|
|
9
9
|
import { randomUUID, createHash } from "node:crypto";
|
|
10
10
|
import process$1 from "node:process";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
@@ -26406,7 +26406,7 @@ var isWsl = () => {
|
|
|
26406
26406
|
return false;
|
|
26407
26407
|
};
|
|
26408
26408
|
var is_wsl_default = process$1.env.__IS_WSL_TEST__ ? isWsl : isWsl();
|
|
26409
|
-
var execFile = promisify(
|
|
26409
|
+
var execFile = promisify(yA__default.execFile);
|
|
26410
26410
|
var powerShellPath = () => `${process$1.env.SYSTEMROOT || process$1.env.windir || String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`;
|
|
26411
26411
|
var executePowerShell = async (command, options = {}) => {
|
|
26412
26412
|
const {
|
|
@@ -26447,7 +26447,7 @@ function parseMountPointFromConfig(content) {
|
|
|
26447
26447
|
return match.groups.mountPoint.trim().replaceAll(/^["']|["']$/g, "");
|
|
26448
26448
|
}
|
|
26449
26449
|
}
|
|
26450
|
-
var execFile2 = promisify(
|
|
26450
|
+
var execFile2 = promisify(yA__default.execFile);
|
|
26451
26451
|
var wslDrivesMountPoint = /* @__PURE__ */ (() => {
|
|
26452
26452
|
const defaultMountPoint = "/mnt/";
|
|
26453
26453
|
let mountPoint;
|
|
@@ -26458,14 +26458,14 @@ var wslDrivesMountPoint = /* @__PURE__ */ (() => {
|
|
|
26458
26458
|
const configFilePath = "/etc/wsl.conf";
|
|
26459
26459
|
let isConfigFileExists = false;
|
|
26460
26460
|
try {
|
|
26461
|
-
await
|
|
26461
|
+
await fn__default.access(configFilePath, constants.F_OK);
|
|
26462
26462
|
isConfigFileExists = true;
|
|
26463
26463
|
} catch {
|
|
26464
26464
|
}
|
|
26465
26465
|
if (!isConfigFileExists) {
|
|
26466
26466
|
return defaultMountPoint;
|
|
26467
26467
|
}
|
|
26468
|
-
const configContent = await
|
|
26468
|
+
const configContent = await fn__default.readFile(configFilePath, { encoding: "utf8" });
|
|
26469
26469
|
const parsedMountPoint = parseMountPointFromConfig(configContent);
|
|
26470
26470
|
if (parsedMountPoint === void 0) {
|
|
26471
26471
|
return defaultMountPoint;
|
|
@@ -26485,7 +26485,7 @@ var canAccessPowerShell = async () => {
|
|
|
26485
26485
|
canAccessPowerShellPromise ??= (async () => {
|
|
26486
26486
|
try {
|
|
26487
26487
|
const psPath = await powerShellPath2();
|
|
26488
|
-
await
|
|
26488
|
+
await fn__default.access(psPath, constants.X_OK);
|
|
26489
26489
|
return true;
|
|
26490
26490
|
} catch {
|
|
26491
26491
|
return false;
|
|
@@ -26527,7 +26527,7 @@ var convertWslPathToWindows = async (paths) => {
|
|
|
26527
26527
|
}
|
|
26528
26528
|
return isBatch ? results : results[0];
|
|
26529
26529
|
};
|
|
26530
|
-
var execFile3 = promisify(
|
|
26530
|
+
var execFile3 = promisify(yA__default.execFile);
|
|
26531
26531
|
var powerShellPath3 = () => `${process$1.env.SYSTEMROOT || process$1.env.windir || String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`;
|
|
26532
26532
|
var argumentsPrefix = [
|
|
26533
26533
|
"-NoProfile",
|
|
@@ -26824,7 +26824,7 @@ var baseOpen = async (options) => {
|
|
|
26824
26824
|
const isBundled = !__dirname$1 || __dirname$1 === "/";
|
|
26825
26825
|
let exeLocalXdgOpen = false;
|
|
26826
26826
|
try {
|
|
26827
|
-
await
|
|
26827
|
+
await fn__default.access(localXdgOpenPath, constants.X_OK);
|
|
26828
26828
|
exeLocalXdgOpen = true;
|
|
26829
26829
|
} catch {
|
|
26830
26830
|
}
|
|
@@ -26845,7 +26845,7 @@ var baseOpen = async (options) => {
|
|
|
26845
26845
|
if (options.target) {
|
|
26846
26846
|
cliArguments.push(options.target);
|
|
26847
26847
|
}
|
|
26848
|
-
const subprocess =
|
|
26848
|
+
const subprocess = yA__default.spawn(command, cliArguments, childProcessOptions);
|
|
26849
26849
|
if (options.wait) {
|
|
26850
26850
|
return new Promise((resolve, reject) => {
|
|
26851
26851
|
subprocess.once("error", reject);
|
|
@@ -27183,7 +27183,7 @@ var package_default = {
|
|
|
27183
27183
|
},
|
|
27184
27184
|
dependencies: {
|
|
27185
27185
|
"@agentclientprotocol/sdk": "^1.4.0",
|
|
27186
|
-
"@openai/codex": "^0.
|
|
27186
|
+
"@openai/codex": "^0.156.0",
|
|
27187
27187
|
"acp-extension-core": "0.1.6",
|
|
27188
27188
|
diff: "^9.0.0",
|
|
27189
27189
|
open: "^11.0.1",
|
|
@@ -55,8 +55,8 @@ import "./directory-handle-35P9qcGk.js";
|
|
|
55
55
|
import "./diff-line-counts-bmGB_T-n.js";
|
|
56
56
|
import "node:stream/promises";
|
|
57
57
|
import "node:string_decoder";
|
|
58
|
-
import "./package-
|
|
59
|
-
import "./runtime-manifest-
|
|
58
|
+
import "./package-OaAJHtMV.js";
|
|
59
|
+
import "./runtime-manifest-B4aLP8l_.js";
|
|
60
60
|
import "./methods-CvEDMahD.js";
|
|
61
61
|
import "async_hooks";
|
|
62
62
|
import "module";
|
|
@@ -81,7 +81,7 @@ let __tla = Promise.all([
|
|
|
81
81
|
}
|
|
82
82
|
})()
|
|
83
83
|
]).then(async () => {
|
|
84
|
-
const reviewViewerVersion = "0.
|
|
84
|
+
const reviewViewerVersion = "0.100.0";
|
|
85
85
|
const reviewViewerSha256 = "681ed52366a3bfaba8a637aae99d13a81355378a7152a9e29d4bb7abdb133f01";
|
|
86
86
|
const reviewViewerFileName = "standalone.html";
|
|
87
87
|
const DEFAULT_CDN_BASES = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const officialRuntime = { "version": "1.0.
|
|
1
|
+
const officialRuntime = { "version": "1.0.40" };
|
|
2
2
|
const privateWireContract = { "permissionNotification": "x.ai/yolo_mode_changed", "sessionConfigMeta": "x.ai/sessionConfig", "sessionNotification": "x.ai/session_notification", "sessionUpdateNotification": "x.ai/session/update", "modelsUpdateNotification": "x.ai/models/update", "userMessageEchoCapability": "x.ai/userMessageEcho", "turnCompletedUpdate": "turn_completed", "sessionInfoRequest": "x.ai/session/info", "billingRequest": "x.ai/billing", "weeklyUsagePeriodType": "USAGE_PERIOD_TYPE_WEEKLY", "reasoningEffortMeta": "reasoningEffort", "autoPermissionMode": false, "planApprovalRequest": "x.ai/exit_plan_mode" };
|
|
3
3
|
const runtimeManifest = {
|
|
4
4
|
officialRuntime,
|