opencode-acp 1.18.1-pr.416.174 → 1.18.1-pr.416.175
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/index.js
CHANGED
|
@@ -4619,8 +4619,8 @@ function restoreForkCompressionState(state, forkMessages, parent, parentMessages
|
|
|
4619
4619
|
effectiveToolIds,
|
|
4620
4620
|
// [Issue #415] The parent record is raw persisted JSON; legacy
|
|
4621
4621
|
// 4-digit boundary refs must be normalized like every other ref.
|
|
4622
|
-
startId: migrateMessageRef(block.startId),
|
|
4623
|
-
endId: migrateMessageRef(block.endId)
|
|
4622
|
+
startId: typeof block.startId === "string" ? migrateMessageRef(block.startId) : block.startId,
|
|
4623
|
+
endId: typeof block.endId === "string" ? migrateMessageRef(block.endId) : block.endId
|
|
4624
4624
|
});
|
|
4625
4625
|
}
|
|
4626
4626
|
const activeParentIds = new Set(parent.prune.messages.activeBlockIds);
|
|
@@ -9888,7 +9888,9 @@ function isLiveBlock(block) {
|
|
|
9888
9888
|
return block.active && !block.deactivatedByUser && !block.deactivatedByUserDeep;
|
|
9889
9889
|
}
|
|
9890
9890
|
function rangeKey(startId, endId) {
|
|
9891
|
-
|
|
9891
|
+
const s = typeof startId === "string" ? migrateMessageRef(startId) : startId;
|
|
9892
|
+
const e = typeof endId === "string" ? migrateMessageRef(endId) : endId;
|
|
9893
|
+
return `${s}::${e}`;
|
|
9892
9894
|
}
|
|
9893
9895
|
function rewriteCompressInput(part, liveKeys) {
|
|
9894
9896
|
if (part.type !== "tool") return null;
|
|
@@ -10554,7 +10556,7 @@ import { writeFile as writeFile2, mkdir as mkdir2 } from "fs/promises";
|
|
|
10554
10556
|
import { join as join4 } from "path";
|
|
10555
10557
|
import { existsSync as existsSync4 } from "fs";
|
|
10556
10558
|
import { homedir as homedir3 } from "os";
|
|
10557
|
-
var LOG_VERSION = true ? "1.18.1-pr.416.
|
|
10559
|
+
var LOG_VERSION = true ? "1.18.1-pr.416.175" : "dev";
|
|
10558
10560
|
var LEVEL_RANK = {
|
|
10559
10561
|
debug: 10,
|
|
10560
10562
|
info: 20,
|
|
@@ -13238,7 +13240,7 @@ var server = (async (ctx) => {
|
|
|
13238
13240
|
}
|
|
13239
13241
|
const logger = new Logger(config.debug, config.debug ? "debug" : config.logLevel);
|
|
13240
13242
|
logger.info("ACP plugin initialized", {
|
|
13241
|
-
version: true ? "1.18.1-pr.416.
|
|
13243
|
+
version: true ? "1.18.1-pr.416.175" : "dev",
|
|
13242
13244
|
workspace: ctx.directory,
|
|
13243
13245
|
logLevel: logger.level,
|
|
13244
13246
|
debug: config.debug,
|