acp-kernel 0.0.90-pr.423.275 → 0.0.90
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 +1 -3
- 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,9 +294,7 @@ 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)
|
|
298
|
-
if (typeof message.id === "string") presentBases.add(baseIdOf(message.id));
|
|
299
|
-
}
|
|
297
|
+
for (const message of messages) presentBases.add(baseIdOf(message.id));
|
|
300
298
|
const deactivated = [];
|
|
301
299
|
const result = {
|
|
302
300
|
blocks: state.blocks.map((block) => ({
|