chore: commit workspace updates

This commit is contained in:
ddCat committed 2026-09-14 01:11:56 +08:00
1 parent 01a2d171f5
commit 9727656b2b
491 files changed
+12826 -72249

No files matched your search

+2 -2
View File
@@ -28,11 +28,11 @@ test("Create keeps optimistic messages when the first local task binds immediate
}));
const bound = updateCreationConversationSnapshot(optimistic, "conversation-0001", (conversation) => ({
...conversation,
messages: conversation.messages.map((message) => (message.id === "assistant-0001" ? { ...message, taskIds: ["local:dreamina-cli:task-0001"] } : message)),
messages: conversation.messages.map((message) => (message.id === "assistant-0001" ? { ...message, taskIds: ["backend-task-0001"] } : message)),
}));
expect(bound[0].messages).toHaveLength(2);
expect(bound[0].messages[1]).toMatchObject({ id: "assistant-0001", taskIds: ["local:dreamina-cli:task-0001"] });
expect(bound[0].messages[1]).toMatchObject({ id: "assistant-0001", taskIds: ["backend-task-0001"] });
});
test("Create history deletion removes only the selected conversation snapshot", () => {