billion-context-pi 0.1.60-pr.337.131 → 0.1.60
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 +0 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9858,9 +9858,6 @@ async function handleCompress(args, runtime, ctx, toolCallId) {
|
|
|
9858
9858
|
logWarn("compress", { sid: ctx.sessionManager.getSessionId(), event: "warnings", count: warnings.length, warnings: warnings.slice(0, 5) });
|
|
9859
9859
|
}
|
|
9860
9860
|
const lines = [`\u25A3 ACP | ${formatK2(beforeTokens)} \u2192 ${formatK2(afterTokens)} tokens (~${formatK2(reclaimed)} reclaimed, ${blocksCreated} block${blocksCreated > 1 ? "s" : ""})`];
|
|
9861
|
-
if (blocksCreated > 0) {
|
|
9862
|
-
lines.push(`Compressed: ${newBlocks.map((b2) => `${b2.blockId} (${b2.startRef ?? "?"}..${b2.endRef ?? "?"})`).join(", ")} \u2014 these refs are now consumed; do not compress them again.`);
|
|
9863
|
-
}
|
|
9864
9861
|
if (warnings.length > 0) lines.push("\u26A0\uFE0F " + warnings.join("; "));
|
|
9865
9862
|
if (errors.length > 0) lines.push("Errors: " + errors.join("; "));
|
|
9866
9863
|
return lines.join("\n");
|