lody 0.52.1 → 0.52.2

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 (2) hide show
  1. package/dist/index.js +13 -21
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -36822,7 +36822,7 @@ Mongoose Error Code: ${error2.code}` : ""}`
36822
36822
  return client;
36823
36823
  }
36824
36824
  const name = "lody";
36825
- const version$4 = "0.52.1";
36825
+ const version$4 = "0.52.2";
36826
36826
  const description$1 = "Lody Agent CLI tool for managing remote command execution";
36827
36827
  const type$2 = "module";
36828
36828
  const main$3 = "dist/index.js";
@@ -36865,7 +36865,7 @@ Mongoose Error Code: ${error2.code}` : ""}`
36865
36865
  "node": ">=18.0.0"
36866
36866
  };
36867
36867
  const optionalDependencies = {
36868
- "acp-extension-claude": "0.34.1",
36868
+ "acp-extension-claude": "0.34.3",
36869
36869
  "acp-extension-codex": "0.14.3"
36870
36870
  };
36871
36871
  const devDependencies = {
@@ -122023,11 +122023,19 @@ ${this.stack.split("\n").slice(1).join("\n")}` : this.toString();
122023
122023
  return {};
122024
122024
  }
122025
122025
  async extMethod(method, params) {
122026
- this.handleExtensionMessage(method, params);
122026
+ try {
122027
+ this.handleExtensionMessage(method, params);
122028
+ } catch (error2) {
122029
+ this.logger.warn(`Error handling extension method ${method}: ${error2}`);
122030
+ }
122027
122031
  return {};
122028
122032
  }
122029
122033
  async extNotification(method, params) {
122030
- this.handleExtensionMessage(method, params);
122034
+ try {
122035
+ this.handleExtensionMessage(method, params);
122036
+ } catch (error2) {
122037
+ this.logger.warn(`Error handling extension notification ${method}: ${error2}`);
122038
+ }
122031
122039
  }
122032
122040
  handleExtensionMessage(method, params) {
122033
122041
  const resolvedMethod = method.startsWith("_") ? method.slice(1) : method;
@@ -122241,21 +122249,7 @@ ${this.stack.split("\n").slice(1).join("\n")}` : this.toString();
122241
122249
  this.logger.error(`[${this.options.sessionId}] connection.prompt returned undefined - connection may be closed`);
122242
122250
  return void 0;
122243
122251
  }
122244
- const PROMPT_WARN_AFTER_MS = 6e5;
122245
- const PROMPT_NO_UPDATES_MS = 12e4;
122246
- const PROMPT_WARN_INTERVAL_MS = 3e5;
122247
- const startMs = Date.now();
122248
- let completed = false;
122249
122252
  let abortListener;
122250
- const warningInterval = setInterval(() => {
122251
- if (completed) return;
122252
- const nowMs = Date.now();
122253
- const elapsedMs = nowMs - startMs;
122254
- if (elapsedMs < PROMPT_WARN_AFTER_MS) return;
122255
- const noUpdatesMs = nowMs - this.lastSessionUpdateAtMs;
122256
- if (noUpdatesMs < PROMPT_NO_UPDATES_MS) return;
122257
- this.logger.debug(`[${this.options.sessionId}] Operation "connection.prompt" is still pending after ${Math.round(elapsedMs / 1e3)}s (no session updates for ${Math.round(noUpdatesMs / 1e3)}s)`);
122258
- }, PROMPT_WARN_INTERVAL_MS);
122259
122253
  try {
122260
122254
  const abortPromise = abortSignal ? new Promise((_2, reject) => {
122261
122255
  abortListener = () => {
@@ -122276,11 +122270,9 @@ ${this.stack.split("\n").slice(1).join("\n")}` : this.toString();
122276
122270
  this.logger.debug(`[${this.options.sessionId}] connection.prompt returned`);
122277
122271
  return result;
122278
122272
  } finally {
122279
- completed = true;
122280
122273
  if (abortSignal && abortListener) {
122281
122274
  abortSignal.removeEventListener("abort", abortListener);
122282
122275
  }
122283
- clearInterval(warningInterval);
122284
122276
  }
122285
122277
  }
122286
122278
  async cancel(sessionId) {
@@ -122451,7 +122443,7 @@ ${this.stack.split("\n").slice(1).join("\n")}` : this.toString();
122451
122443
  const BuiltinACPSetting = {
122452
122444
  claude: {
122453
122445
  packageName: "acp-extension-claude",
122454
- version: "0.34.1",
122446
+ version: "0.34.3",
122455
122447
  binName: "acp-extension-claude"
122456
122448
  },
122457
122449
  codex: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lody",
3
- "version": "0.52.1",
3
+ "version": "0.52.2",
4
4
  "description": "Lody Agent CLI tool for managing remote command execution",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -20,7 +20,7 @@
20
20
  "node": ">=18.0.0"
21
21
  },
22
22
  "optionalDependencies": {
23
- "acp-extension-claude": "0.34.1",
23
+ "acp-extension-claude": "0.34.3",
24
24
  "acp-extension-codex": "0.14.3"
25
25
  },
26
26
  "devDependencies": {
@@ -73,11 +73,11 @@
73
73
  "winston-transport": "^4.7.1",
74
74
  "ws": "^8.18.3",
75
75
  "zod": "^4.1.5",
76
- "@lody/convex": "0.0.1",
76
+ "@lody/cli-supervisor": "0.0.1",
77
77
  "@lody/loro-streams-rpc": "0.0.1",
78
78
  "@lody/shared": "0.0.1",
79
79
  "loro-code": "0.0.1",
80
- "@lody/cli-supervisor": "0.0.1"
80
+ "@lody/convex": "0.0.1"
81
81
  },
82
82
  "files": [
83
83
  "dist",