The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: I don't see a diff in your message — the "Diff:" section is empty, and the stat is blank to
Steven Enamakele792807dfd9a
diff --git a/app/src/store/threadSlice.ts b/app/src/store/threadSlice.tsindex 1487ab0a41..c380cd9c6e 100644--- a/app/src/store/threadSlice.ts+++ b/app/src/store/threadSlice.ts@@ -572,6 +572,26 @@ const threadSlice = createSlice({state.messages = truncated;}},+ /**+ * Drop exactly these rows from a thread's cache. Unlike+ * `truncateMessagesFrom`, rows appended after the caller took its+ * snapshot survive — a regenerate that resolves after its new turn has+ * already streamed in must not take the new reply with it.+ */+ removeMessagesById: (+ state,+ action: PayloadAction<{ threadId: string; messageIds: readonly string[] }>+ ) => {+ const { threadId, messageIds } = action.payload;+ const existing = state.messagesByThreadId[threadId];+ if (!existing || messageIds.length === 0) return;+ const doomed = new Set(messageIds);+ const kept = existing.filter(m => !doomed.has(m.id));+ state.messagesByThreadId[threadId] = kept;+ if (state.selectedThreadId === threadId) {+ state.messages = kept;+ }+ },},extraReducers: builder => {builder