lody 0.93.2 → 0.93.3
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.
|
@@ -81,7 +81,7 @@ let __tla = Promise.all([
|
|
|
81
81
|
}
|
|
82
82
|
})()
|
|
83
83
|
]).then(async () => {
|
|
84
|
-
const reviewViewerVersion = "0.93.
|
|
84
|
+
const reviewViewerVersion = "0.93.3";
|
|
85
85
|
const reviewViewerSha256 = "dc9c7fc1dde49bb39c5fe86392d69219b469c0cab4fd492d8b562045e7f676e4";
|
|
86
86
|
const reviewViewerFileName = "standalone.html";
|
|
87
87
|
const DEFAULT_CDN_BASES = [
|
package/dist/index.js
CHANGED
|
@@ -59,7 +59,7 @@ import require$$5$2 from "node:tls";
|
|
|
59
59
|
import require$$5$3, { performance as performance$2 } from "node:perf_hooks";
|
|
60
60
|
import require$$8 from "node:util/types";
|
|
61
61
|
import require$$1$3, { Worker as Worker$1 } from "node:worker_threads";
|
|
62
|
-
import require$$1$4, {
|
|
62
|
+
import require$$1$4, { pathToFileURL, fileURLToPath } from "node:url";
|
|
63
63
|
import require$$1$5 from "node:console";
|
|
64
64
|
import require$$1$6 from "node:dns";
|
|
65
65
|
import { C as CodeCollabV2FileIndexRequestSchema, a as CodeCollabV2OpenTextRequestSchema, b as CodeCollabV2RefreshTextRequestSchema, c as CodeCollabV2SaveTextRequestSchema, d as CodeCollabV2OpenCurrentDiffRequestSchema, e as CodeCollabV2OpenAllChangesDiffRequestSchema, f as CodeCollabV2OpenTurnDiffRequestSchema, g as CodeCollabV2InitDirectoryRequestSchema, h as CodeCollabV2FileIndexSnapshotSchema, i as CodeCollabV2OpenTextOkSchema, j as CodeCollabV2RefreshTextResponseSchema, k as CodeCollabV2SaveTextResponseSchema, l as CodeCollabV2OpenCurrentDiffResponseSchema, m as CodeCollabV2OpenAllChangesDiffResponseSchema, n as CodeCollabV2OpenTurnDiffResponseSchema, o as CodeCollabV2InitDirectoryOkSchema, p as CodeCollabV2LspUnsupportedSchema, q as CodeCollabV2ErrorSchema, r as CodeCollabV2RpcContentEnvelopeSchema, s as deriveCodeCollabV2ContentKeyId, t as CodeCollabV2ErrorCodeSchema, u as CodeCollabV2RpcResponseSchema, v as deriveCodeCollabV2ContentKeyBytes, w as readCodeCollabFileIndexSignalFromFlock, x as writeCodeCollabFileIndexSignalToFlock, y as writeCodeCollabFileIndexToFlock, z as buildCodeCollabFileIndexState, A as CODE_COLLAB_V2_TEXT_LIMITS, B as CODE_COLLAB_V2_ALL_CHANGES_DIFF_LIMITS, D as computeAllChanges, E as codeCollabFileIndexStatesEqual, F as scanGitDirectoryEntries, G as closeDirectoryQuietly } from "./chunks/directory-handle-35P9qcGk.js";
|
|
@@ -4326,7 +4326,7 @@ Upgrade Node, then re-run: npx lody@latest`;
|
|
|
4326
4326
|
}
|
|
4327
4327
|
const name$2 = "lody";
|
|
4328
4328
|
const name$1 = "@lody/cli-cloud";
|
|
4329
|
-
const version$9 = "0.93.
|
|
4329
|
+
const version$9 = "0.93.3";
|
|
4330
4330
|
const type$2 = "module";
|
|
4331
4331
|
const scripts = {
|
|
4332
4332
|
"dev": "node dev.mjs",
|
|
@@ -129160,7 +129160,7 @@ ${error2.message}` : execaMessage;
|
|
|
129160
129160
|
const sessionsRoot = join$2(rootDir, "sessions");
|
|
129161
129161
|
const presetRoot = join$2(dirname$1(options.adapterPath), "deepseek-agent-presets");
|
|
129162
129162
|
const sessionCompression = await resolveDeepSeekHarnessSessionCompression(sessionsRoot);
|
|
129163
|
-
const config2 = createDeepSeekHarnessCordisConfig(options.adapterPath, presetRoot, sessionCompression);
|
|
129163
|
+
const config2 = createDeepSeekHarnessCordisConfig(pathToFileURL(options.adapterPath).href, presetRoot, sessionCompression);
|
|
129164
129164
|
const configHash = createHash("sha256").update(config2).digest("hex").slice(0, 12);
|
|
129165
129165
|
const configPath = join$2(rootDir, `${DEEPSEEK_HARNESS_CONFIG_FILE_PREFIX}-${configHash}.yml`);
|
|
129166
129166
|
await mkdir$1(sessionsRoot, {
|
|
@@ -187408,6 +187408,7 @@ export PATH=${toSingleQuotedShellString(ghShimBinDir)}:"$PATH"
|
|
|
187408
187408
|
githubTokenManager = null;
|
|
187409
187409
|
gitCredentialBroker = null;
|
|
187410
187410
|
sessions = /* @__PURE__ */ new Map();
|
|
187411
|
+
sessionEventDetachers = /* @__PURE__ */ new WeakMap();
|
|
187411
187412
|
pendingSessionCreates = /* @__PURE__ */ new Map();
|
|
187412
187413
|
pendingTerminationPromises = /* @__PURE__ */ new Map();
|
|
187413
187414
|
preparationSessions = /* @__PURE__ */ new Map();
|
|
@@ -188125,6 +188126,7 @@ export PATH=${toSingleQuotedShellString(ghShimBinDir)}:"$PATH"
|
|
|
188125
188126
|
this.logger.debug(`[${sessionId}] createAgent returned successfully`);
|
|
188126
188127
|
} catch (error2) {
|
|
188127
188128
|
this.logger.error(`[${config2.sessionId}] Failed to create agent: ${error2 instanceof Error ? error2.message : "Unknown error"}`);
|
|
188129
|
+
this.detachSession(session2);
|
|
188128
188130
|
try {
|
|
188129
188131
|
await session2.terminate(true);
|
|
188130
188132
|
} catch (terminateError) {
|
|
@@ -188703,18 +188705,18 @@ export PATH=${toSingleQuotedShellString(ghShimBinDir)}:"$PATH"
|
|
|
188703
188705
|
}
|
|
188704
188706
|
}
|
|
188705
188707
|
registerSessionEvents(session2) {
|
|
188706
|
-
|
|
188708
|
+
const onOutput = (event) => {
|
|
188707
188709
|
this.emit("output", event);
|
|
188708
|
-
}
|
|
188709
|
-
|
|
188710
|
+
};
|
|
188711
|
+
const onError = (event) => {
|
|
188710
188712
|
this.emit("error", event);
|
|
188711
|
-
}
|
|
188712
|
-
|
|
188713
|
+
};
|
|
188714
|
+
const onExit2 = (event) => {
|
|
188713
188715
|
this.sessions.delete(event.sessionId);
|
|
188714
188716
|
void this.rebalanceSessionSandboxes();
|
|
188715
188717
|
this.emit("exit", event);
|
|
188716
|
-
}
|
|
188717
|
-
|
|
188718
|
+
};
|
|
188719
|
+
const onTerminated = (event) => {
|
|
188718
188720
|
this.sessions.delete(event.sessionId);
|
|
188719
188721
|
void this.rebalanceSessionSandboxes();
|
|
188720
188722
|
const terminatedEvent = {
|
|
@@ -188722,7 +188724,25 @@ export PATH=${toSingleQuotedShellString(ghShimBinDir)}:"$PATH"
|
|
|
188722
188724
|
exitCode: event.exitCode
|
|
188723
188725
|
};
|
|
188724
188726
|
this.emit("terminated", terminatedEvent);
|
|
188725
|
-
}
|
|
188727
|
+
};
|
|
188728
|
+
session2.on("output", onOutput);
|
|
188729
|
+
session2.on("error", onError);
|
|
188730
|
+
session2.on("exit", onExit2);
|
|
188731
|
+
session2.on("terminated", onTerminated);
|
|
188732
|
+
this.sessionEventDetachers.set(session2, () => {
|
|
188733
|
+
session2.off("output", onOutput);
|
|
188734
|
+
session2.off("error", onError);
|
|
188735
|
+
session2.off("exit", onExit2);
|
|
188736
|
+
session2.off("terminated", onTerminated);
|
|
188737
|
+
});
|
|
188738
|
+
}
|
|
188739
|
+
detachSession(session2) {
|
|
188740
|
+
this.sessionEventDetachers.get(session2)?.();
|
|
188741
|
+
this.sessionEventDetachers.delete(session2);
|
|
188742
|
+
if (this.sessions.get(session2.sessionId) === session2) {
|
|
188743
|
+
this.sessions.delete(session2.sessionId);
|
|
188744
|
+
void this.rebalanceSessionSandboxes();
|
|
188745
|
+
}
|
|
188726
188746
|
}
|
|
188727
188747
|
async rebalanceSessionSandboxes() {
|
|
188728
188748
|
const run2 = async () => {
|
|
@@ -225204,7 +225224,7 @@ ${page}${helpTipBottom}${choiceDescription}${ansiEscapes.cursorHide}`;
|
|
|
225204
225224
|
data = createReviewBundleSnapshot(bundle);
|
|
225205
225225
|
}
|
|
225206
225226
|
const { injectReviewSnapshot } = await import("./chunks/index-VoI6Ds2-.js");
|
|
225207
|
-
const { resolveReviewViewerTemplate } = await import("./chunks/review-viewer-
|
|
225227
|
+
const { resolveReviewViewerTemplate } = await import("./chunks/review-viewer-xVx1VsrF.js").then(async (m) => {
|
|
225208
225228
|
await m.__tla;
|
|
225209
225229
|
return m;
|
|
225210
225230
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lody",
|
|
3
|
-
"version": "0.93.
|
|
3
|
+
"version": "0.93.3",
|
|
4
4
|
"description": "Lody Agent CLI tool for managing remote command execution",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"build": "pnpm run clean && pnpm run prepare:acp-adapters && pnpm run typecheck && pnpm run build:bundle && pnpm run copy:dsh-presets && pnpm run check:published-bundle-imports && pnpm run copy:wasm",
|
|
97
97
|
"build:watch": "pnpm run prepare:review-assets && vite build --watch",
|
|
98
98
|
"build:bundle": "pnpm run prepare:review-assets && vite build",
|
|
99
|
-
"prepare:acp-adapters": "corepack pnpm --dir ../.. --filter acp-extension-
|
|
99
|
+
"prepare:acp-adapters": "corepack pnpm --dir ../.. --filter acp-extension-claude build && corepack pnpm --dir ../.. --filter acp-extension-codex build && corepack pnpm --dir ../.. --filter acp-extension-grok build && corepack pnpm --dir ../.. --filter acp-extension-dsh build",
|
|
100
100
|
"prepare:review-assets": "pnpm --dir ../.. --filter lody-code-review-viewer build",
|
|
101
101
|
"check:published-bundle-imports": "node scripts/check-published-bundle-imports.js",
|
|
102
102
|
"copy:dsh-presets": "node scripts/copy-deepseek-presets.js",
|