acp-kernel 0.0.90 → 0.0.91
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 +3 -1
- package/dist/index.js.map +1 -1
- package/dist/sync.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -294,7 +294,9 @@ function stripOrphanedReasoning(messages) {
|
|
|
294
294
|
function syncBlocks(messages, state) {
|
|
295
295
|
const presentIds = new Set(messages.map((message) => message.id));
|
|
296
296
|
const presentBases = /* @__PURE__ */ new Set();
|
|
297
|
-
for (const message of messages)
|
|
297
|
+
for (const message of messages) {
|
|
298
|
+
if (typeof message.id === "string") presentBases.add(baseIdOf(message.id));
|
|
299
|
+
}
|
|
298
300
|
const deactivated = [];
|
|
299
301
|
const result = {
|
|
300
302
|
blocks: state.blocks.map((block) => ({
|