openclaw/packages
Yuval Dinodia f826a665a2
fix(compaction): trim prefix when transcript ends in an oversized tool result (#95860)
findCutPoint defaulted cutIndex to the earliest valid cut (cutPoints[0],
keep everything) and only moved it forward to a cut point at or after the
backward token cursor. When the final entry is a toolResult whose estimate
alone meets keepRecentTokens, the cursor stops at that trailing toolResult
index, no valid cut point sits at or after it (toolResult entries are not
valid cut points), and the default stuck at keep-everything. Compaction then
summarized zero messages, so preflight and overflow compaction silently
no-op and the session loops on a context it cannot shrink.

Default cutIndex to the most recent valid cut before the forward search.
When a cut point exists at or after the cursor the search still finds it and
behavior is unchanged; only the trailing-tool-result case now keeps the
recent tail and summarizes the prefix.
2026-06-23 07:34:33 +00:00
..
acp-core fix(acp): recover stale persistent sessions by structured resume-required code (#93547) 2026-06-22 18:08:56 +00:00
agent-core fix(compaction): trim prefix when transcript ends in an oversized tool result (#95860) 2026-06-23 07:34:33 +00:00
gateway-client fix(gateway): classify probe reachability by validated transport (#93948) 2026-06-19 11:56:16 +01:00
gateway-protocol fix(webchat): sessions persist after reconnects (#89017) 2026-06-22 20:02:58 +00:00
llm-core fix(agents): classify structured unsupported model errors (#92280) 2026-06-12 10:35:39 -05:00
llm-runtime docs: document package sources 2026-06-04 20:54:41 -04:00
markdown-core improve: reduce hot-path linear scans and redundant I/O (#95697) 2026-06-23 10:11:18 +08:00
media-core Fix transcript image redaction (#91529) 2026-06-08 21:23:15 -05:00
media-generation-core docs: document package sources 2026-06-04 20:54:41 -04:00
media-understanding-common docs: document package sources 2026-06-04 20:54:41 -04:00
memory-host-sdk fix(memory): preserve Windows QMD command paths (#95274) 2026-06-22 17:50:11 +00:00
model-catalog-core fix(model-catalog): strip manifest model-id prefixes by the matched length (#95744) 2026-06-22 19:52:13 +00:00
net-policy Redact tool output secrets (#85196) 2026-06-11 07:34:50 +10:00
normalization-core fix: preserve normalization and ACP fast mode contracts 2026-06-22 09:37:10 +08:00
plugin-package-contract docs: document package sources 2026-06-04 20:54:41 -04:00
plugin-sdk refactor: store Zalo hosted media in plugin state 2026-06-06 22:56:48 -07:00
sdk fix(sdk): classify failed/blocked tool events as tool.call.failed (#95383) 2026-06-22 16:54:14 +00:00
speech-core docs: document package sources 2026-06-04 20:54:41 -04:00
terminal-core fix(note): prevent clack from re-breaking copy-sensitive tokens (#94746) 2026-06-19 03:59:09 +00:00
tool-call-repair fix(codeql): clean OpenClaw quality findings 2026-06-22 19:11:46 +08:00
web-content-core docs: document package sources 2026-06-04 20:54:41 -04:00