@darkhunt-security/endpoint-codex 0.9.18 → 0.9.20
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/bin/backfill.mjs
CHANGED
|
@@ -18330,7 +18330,7 @@ function capPayload(value, limit = PAYLOAD_LIMIT) {
|
|
|
18330
18330
|
function capText(text, limit = PAYLOAD_LIMIT) {
|
|
18331
18331
|
return capPayload(text, limit);
|
|
18332
18332
|
}
|
|
18333
|
-
var TOOL_SUMMARY_LIMIT =
|
|
18333
|
+
var TOOL_SUMMARY_LIMIT = 1e5;
|
|
18334
18334
|
function summarize(output) {
|
|
18335
18335
|
const text = typeof output === "string" ? output : JSON.stringify(output ?? null);
|
|
18336
18336
|
if (text.length <= TOOL_SUMMARY_LIMIT)
|
|
@@ -18528,7 +18528,7 @@ var SessionEmitter = class {
|
|
|
18528
18528
|
});
|
|
18529
18529
|
this.toolSpans.delete(record.toolCallId);
|
|
18530
18530
|
}
|
|
18531
|
-
this.pendingToolResults.push(summarize(record.output));
|
|
18531
|
+
this.pendingToolResults.push(summarize(record.outputText ?? record.output));
|
|
18532
18532
|
break;
|
|
18533
18533
|
}
|
|
18534
18534
|
case "compaction":
|
package/dist/bin/forwarder.mjs
CHANGED
|
@@ -18316,7 +18316,7 @@ function capPayload(value, limit = PAYLOAD_LIMIT) {
|
|
|
18316
18316
|
function capText(text, limit = PAYLOAD_LIMIT) {
|
|
18317
18317
|
return capPayload(text, limit);
|
|
18318
18318
|
}
|
|
18319
|
-
var TOOL_SUMMARY_LIMIT =
|
|
18319
|
+
var TOOL_SUMMARY_LIMIT = 1e5;
|
|
18320
18320
|
function summarize(output) {
|
|
18321
18321
|
const text = typeof output === "string" ? output : JSON.stringify(output ?? null);
|
|
18322
18322
|
if (text.length <= TOOL_SUMMARY_LIMIT)
|
|
@@ -18514,7 +18514,7 @@ var SessionEmitter = class {
|
|
|
18514
18514
|
});
|
|
18515
18515
|
this.toolSpans.delete(record.toolCallId);
|
|
18516
18516
|
}
|
|
18517
|
-
this.pendingToolResults.push(summarize(record.output));
|
|
18517
|
+
this.pendingToolResults.push(summarize(record.outputText ?? record.output));
|
|
18518
18518
|
break;
|
|
18519
18519
|
}
|
|
18520
18520
|
case "compaction":
|
package/package.json
CHANGED