antechamber 0.2.27 → 0.2.28
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/CHANGELOG.md
CHANGED
|
@@ -7,10 +7,16 @@ and this project uses [Semantic Versioning](https://semver.org/).
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.2.28] - 2026-10-18
|
|
11
|
+
|
|
12
|
+
- fix(session): keep replies visible after compaction (#37)
|
|
13
|
+
|
|
10
14
|
## [0.2.27] - 2026-10-18
|
|
11
15
|
|
|
12
16
|
### Fixed
|
|
13
17
|
|
|
18
|
+
- Keep new replies and tool activity visible after compaction in long conversations by retaining their original
|
|
19
|
+
prompt in paged history.
|
|
14
20
|
- Keep a subagent and its parent session shown as running when OmO resumes the subagent on its own after its turn
|
|
15
21
|
ended while its background work ran, and keep the subagent's transcript up to its final reply.
|
|
16
22
|
|
package/dist/routes-v1.js
CHANGED
|
@@ -148,6 +148,13 @@ export async function handleV1(services, req, res, url, path, method, directory)
|
|
|
148
148
|
return;
|
|
149
149
|
}
|
|
150
150
|
let start = limit === undefined ? 0 : Math.max(0, end - limit);
|
|
151
|
+
const parents = new Set(messages
|
|
152
|
+
.slice(start, end)
|
|
153
|
+
.flatMap((message) => (message.info.role === "assistant" ? [message.info.parentID] : [])));
|
|
154
|
+
// A compaction opens its own display turn, but ongoing replies still belong to the original prompt.
|
|
155
|
+
const parent = messages.findIndex((message, index) => index < start && message.info.role === "user" && parents.has(message.info.id));
|
|
156
|
+
if (parent >= 0)
|
|
157
|
+
start = parent;
|
|
151
158
|
// OpenChamber 1.24 widens a page with no user message only up to 120 messages
|
|
152
159
|
// (150 on desktop), then renders it with no turn to anchor on: blank. A long agent
|
|
153
160
|
// turn outgrows that, so a page reaches back to the prompt that opened its turn.
|