lody 0.89.3 → 0.90.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/{acp-CrvzLY5A.js → acp-DBqkNziA.js} +28 -0
- package/dist/chunks/{index-CnpJljBf.js → index-Bag7dEYc.js} +9 -9
- package/dist/chunks/{package-4KuPYsnp.js → package-DlotPnLa.js} +1 -1
- package/dist/chunks/{profile-Cxxl5hCq.js → profile-CPDWaQXE.js} +1 -1
- package/dist/chunks/{review-viewer-bQ2iglyz.js → review-viewer-CGdWKpLa.js} +4 -4
- package/dist/claude-acp.js +20305 -18678
- package/dist/codex-acp.js +1 -1
- package/dist/deepseek-acp.js +2 -2
- package/dist/index.js +1945 -971
- package/package.json +2 -2
|
@@ -41,6 +41,9 @@ const CLIENT_METHODS = {
|
|
|
41
41
|
elicitation_create: "elicitation/create",
|
|
42
42
|
elicitation_complete: "elicitation/complete"
|
|
43
43
|
};
|
|
44
|
+
const PROTOCOL_METHODS = {
|
|
45
|
+
cancel_request: "$/cancel_request"
|
|
46
|
+
};
|
|
44
47
|
const PROTOCOL_VERSION = 1;
|
|
45
48
|
const skippedItem = Symbol("skippedItem");
|
|
46
49
|
function defaultOnError(schema, fallback) {
|
|
@@ -2843,6 +2846,20 @@ const methods = {
|
|
|
2843
2846
|
setConfigOption: AGENT_METHODS.session_set_config_option,
|
|
2844
2847
|
prompt: AGENT_METHODS.session_prompt,
|
|
2845
2848
|
cancel: AGENT_METHODS.session_cancel
|
|
2849
|
+
},
|
|
2850
|
+
nes: {
|
|
2851
|
+
start: AGENT_METHODS.nes_start,
|
|
2852
|
+
suggest: AGENT_METHODS.nes_suggest,
|
|
2853
|
+
accept: AGENT_METHODS.nes_accept,
|
|
2854
|
+
reject: AGENT_METHODS.nes_reject,
|
|
2855
|
+
close: AGENT_METHODS.nes_close
|
|
2856
|
+
},
|
|
2857
|
+
document: {
|
|
2858
|
+
didOpen: AGENT_METHODS.document_did_open,
|
|
2859
|
+
didChange: AGENT_METHODS.document_did_change,
|
|
2860
|
+
didClose: AGENT_METHODS.document_did_close,
|
|
2861
|
+
didSave: AGENT_METHODS.document_did_save,
|
|
2862
|
+
didFocus: AGENT_METHODS.document_did_focus
|
|
2846
2863
|
}
|
|
2847
2864
|
},
|
|
2848
2865
|
client: {
|
|
@@ -2854,10 +2871,20 @@ const methods = {
|
|
|
2854
2871
|
writeTextFile: CLIENT_METHODS.fs_write_text_file,
|
|
2855
2872
|
readTextFile: CLIENT_METHODS.fs_read_text_file
|
|
2856
2873
|
},
|
|
2874
|
+
terminal: {
|
|
2875
|
+
create: CLIENT_METHODS.terminal_create,
|
|
2876
|
+
output: CLIENT_METHODS.terminal_output,
|
|
2877
|
+
release: CLIENT_METHODS.terminal_release,
|
|
2878
|
+
waitForExit: CLIENT_METHODS.terminal_wait_for_exit,
|
|
2879
|
+
kill: CLIENT_METHODS.terminal_kill
|
|
2880
|
+
},
|
|
2857
2881
|
elicitation: {
|
|
2858
2882
|
create: CLIENT_METHODS.elicitation_create,
|
|
2859
2883
|
complete: CLIENT_METHODS.elicitation_complete
|
|
2860
2884
|
}
|
|
2885
|
+
},
|
|
2886
|
+
protocol: {
|
|
2887
|
+
cancelRequest: PROTOCOL_METHODS.cancel_request
|
|
2861
2888
|
}
|
|
2862
2889
|
};
|
|
2863
2890
|
const startActiveSession = Symbol("startActiveSession");
|
|
@@ -4504,6 +4531,7 @@ export {
|
|
|
4504
4531
|
RequestError as R,
|
|
4505
4532
|
CreateElicitationResponse as a,
|
|
4506
4533
|
agent as b,
|
|
4534
|
+
client as c,
|
|
4507
4535
|
methods as m,
|
|
4508
4536
|
ndJsonStream as n
|
|
4509
4537
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRequire } from "module";
|
|
2
|
-
import
|
|
2
|
+
import Tw__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 Xt__default, { constants, readFile } from "node:fs/promises";
|
|
9
9
|
import { randomUUID } from "node:crypto";
|
|
10
10
|
import process$1 from "node:process";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
@@ -24948,7 +24948,7 @@ var isWsl = () => {
|
|
|
24948
24948
|
return false;
|
|
24949
24949
|
};
|
|
24950
24950
|
var is_wsl_default = process$1.env.__IS_WSL_TEST__ ? isWsl : isWsl();
|
|
24951
|
-
var execFile = promisify(
|
|
24951
|
+
var execFile = promisify(Tw__default.execFile);
|
|
24952
24952
|
var powerShellPath = () => `${process$1.env.SYSTEMROOT || process$1.env.windir || String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`;
|
|
24953
24953
|
var executePowerShell = async (command, options = {}) => {
|
|
24954
24954
|
const {
|
|
@@ -24989,7 +24989,7 @@ function parseMountPointFromConfig(content) {
|
|
|
24989
24989
|
return match.groups.mountPoint.trim().replaceAll(/^["']|["']$/g, "");
|
|
24990
24990
|
}
|
|
24991
24991
|
}
|
|
24992
|
-
var execFile2 = promisify(
|
|
24992
|
+
var execFile2 = promisify(Tw__default.execFile);
|
|
24993
24993
|
var wslDrivesMountPoint = /* @__PURE__ */ (() => {
|
|
24994
24994
|
const defaultMountPoint = "/mnt/";
|
|
24995
24995
|
let mountPoint;
|
|
@@ -25000,14 +25000,14 @@ var wslDrivesMountPoint = /* @__PURE__ */ (() => {
|
|
|
25000
25000
|
const configFilePath = "/etc/wsl.conf";
|
|
25001
25001
|
let isConfigFileExists = false;
|
|
25002
25002
|
try {
|
|
25003
|
-
await
|
|
25003
|
+
await Xt__default.access(configFilePath, constants.F_OK);
|
|
25004
25004
|
isConfigFileExists = true;
|
|
25005
25005
|
} catch {
|
|
25006
25006
|
}
|
|
25007
25007
|
if (!isConfigFileExists) {
|
|
25008
25008
|
return defaultMountPoint;
|
|
25009
25009
|
}
|
|
25010
|
-
const configContent = await
|
|
25010
|
+
const configContent = await Xt__default.readFile(configFilePath, { encoding: "utf8" });
|
|
25011
25011
|
const parsedMountPoint = parseMountPointFromConfig(configContent);
|
|
25012
25012
|
if (parsedMountPoint === void 0) {
|
|
25013
25013
|
return defaultMountPoint;
|
|
@@ -25027,7 +25027,7 @@ var canAccessPowerShell = async () => {
|
|
|
25027
25027
|
canAccessPowerShellPromise ??= (async () => {
|
|
25028
25028
|
try {
|
|
25029
25029
|
const psPath = await powerShellPath2();
|
|
25030
|
-
await
|
|
25030
|
+
await Xt__default.access(psPath, constants.X_OK);
|
|
25031
25031
|
return true;
|
|
25032
25032
|
} catch {
|
|
25033
25033
|
return false;
|
|
@@ -25310,7 +25310,7 @@ var baseOpen = async (options) => {
|
|
|
25310
25310
|
const isBundled = !__dirname$1 || __dirname$1 === "/";
|
|
25311
25311
|
let exeLocalXdgOpen = false;
|
|
25312
25312
|
try {
|
|
25313
|
-
await
|
|
25313
|
+
await Xt__default.access(localXdgOpenPath, constants.X_OK);
|
|
25314
25314
|
exeLocalXdgOpen = true;
|
|
25315
25315
|
} catch {
|
|
25316
25316
|
}
|
|
@@ -25331,7 +25331,7 @@ var baseOpen = async (options) => {
|
|
|
25331
25331
|
if (options.target) {
|
|
25332
25332
|
cliArguments.push(options.target);
|
|
25333
25333
|
}
|
|
25334
|
-
const subprocess =
|
|
25334
|
+
const subprocess = Tw__default.spawn(command, cliArguments, childProcessOptions);
|
|
25335
25335
|
if (options.wait) {
|
|
25336
25336
|
return new Promise((resolve, reject) => {
|
|
25337
25337
|
subprocess.once("error", reject);
|
|
@@ -63,7 +63,7 @@ const DEEPSEEK_HARNESS_AGENT_PRESETS = [
|
|
|
63
63
|
}
|
|
64
64
|
];
|
|
65
65
|
const ACP_EXTENSION_DSH_VERSION = "0.1.0";
|
|
66
|
-
const DEEPSEEK_HARNESS_VERSION = "0.1.1-rc.
|
|
66
|
+
const DEEPSEEK_HARNESS_VERSION = "0.1.1-rc.2";
|
|
67
67
|
const ACP_EXTENSION_DSH_PROFILE_REVISION = "v5";
|
|
68
68
|
const ACP_EXTENSION_DSH_SESSION_ROOT_ENV = "ACP_EXTENSION_DSH_SESSION_ROOT";
|
|
69
69
|
const ACP_EXTENSION_DSH_QUERY_PATH_ENV = "ACP_EXTENSION_DSH_QUERY_PATH";
|
|
@@ -32,7 +32,7 @@ import "perf_hooks";
|
|
|
32
32
|
import "net";
|
|
33
33
|
import "tls";
|
|
34
34
|
import "url";
|
|
35
|
-
import "./profile-
|
|
35
|
+
import "./profile-CPDWaQXE.js";
|
|
36
36
|
import "assert";
|
|
37
37
|
import "fs/promises";
|
|
38
38
|
import "better-sqlite3";
|
|
@@ -52,11 +52,11 @@ import "node:console";
|
|
|
52
52
|
import "node:dns";
|
|
53
53
|
import "./directory-handle-Bp47LF5g.js";
|
|
54
54
|
import "./diff-line-counts-bmGB_T-n.js";
|
|
55
|
-
import "./acp-
|
|
55
|
+
import "./acp-DBqkNziA.js";
|
|
56
56
|
import "node:string_decoder";
|
|
57
57
|
import "./methods-CvEDMahD.js";
|
|
58
58
|
import "node:stream/promises";
|
|
59
|
-
import "./package-
|
|
59
|
+
import "./package-DlotPnLa.js";
|
|
60
60
|
import "./runtime-manifest-DnyvD_EC.js";
|
|
61
61
|
import "async_hooks";
|
|
62
62
|
import "module";
|
|
@@ -80,7 +80,7 @@ let __tla = Promise.all([
|
|
|
80
80
|
}
|
|
81
81
|
})()
|
|
82
82
|
]).then(async () => {
|
|
83
|
-
const reviewViewerVersion = "0.
|
|
83
|
+
const reviewViewerVersion = "0.90.0";
|
|
84
84
|
const reviewViewerSha256 = "dc9c7fc1dde49bb39c5fe86392d69219b469c0cab4fd492d8b562045e7f676e4";
|
|
85
85
|
const reviewViewerFileName = "standalone.html";
|
|
86
86
|
const DEFAULT_CDN_BASES = [
|