Home
mweinbach
/
agent-coworker
public
mweinbach/agent-coworker
Overview
Code
History
Branches
Pull requests
Issues
Insights
Home
Overview
Code
PRs
Issues
More
fix: harden explicit tool retry lineage
2 months ago
1733235
Authored
Cursor Agent
7/10/2026, 9:40:25 PM
Co-authored-by: Max Weinbach <mweinbach@users.noreply.github.com>
Parent
73cbbfd
47 files changed
apps/desktop/src/app/store.helpers/jsonRpcSocket.ts
+5
−0
apps/desktop/src/app/store.helpers/threadEventReducer/messaging.ts
+11
−0
apps/desktop/src/ui/chat/ChatFeed.tsx
+1
−15
apps/desktop/src/ui/chat/activityGroups.ts
+62
−4
apps/desktop/src/ui/chat/chatRetry.ts
+7
−4
apps/desktop/test/chat-activity-groups.test.ts
+83
−0
apps/desktop/test/chat-retry.test.ts
+14
−0
apps/mobile/src/app/(app)/thread/[id].tsx
+25
−4
apps/mobile/src/features/cowork/activityGroups.ts
+58
−4
apps/mobile/src/features/cowork/chatRetry.ts
+7
−4
apps/mobile/src/features/cowork/jsonRpcClient.ts
+22
−7
apps/mobile/src/features/cowork/protocolTypes.ts
+1
−0
apps/mobile/src/features/cowork/snapshotReducer.ts
+1
−0
docs/generated/websocket-jsonrpc.d.ts
+5
−5
docs/generated/websocket-jsonrpc.schema.json
+1
−1
docs/websocket-protocol.md
+12
−5
src/client/jsonRpcSocket.ts
+20
−2
src/server/jsonrpc/toolRetryCompatibility.ts
+48
−6
src/server/projection/conversationProjectionAssistant.ts
+2
−0
src/server/projection/conversationProjectionSessionEvents.ts
+29
−0
src/server/projection/conversationProjectionState.ts
+2
−0
src/server/projection/conversationProjectionStreamUpdates.ts
+3
−0
src/server/projection/conversationProjectionTools.ts
+1
−0
src/server/projection/conversationProjectionTypes.ts
+2
−0
src/server/protocol.ts
+14
−1
src/server/runtime/ServerRuntime.ts
+4
−1
src/server/session/turnExecution/runTurnInvocation.ts
+66
−7
src/server/session/turnExecution/runUserMessageTurn.ts
+4
−1
src/server/sessionDb/repository.ts
+7
−2
src/shared/modelStream.ts
+3
−0
src/shared/projectedItems.ts
+9
−0
src/shared/sessionSnapshot.ts
+3
−0
src/shared/toolInputDigest.ts
+25
−0
src/shared/toolInputDigestHasher.ts
+83
−0
src/shared/toolRetry.ts
+65
−68
src/shared/toolRetryAttempts.ts
+95
−0
src/shared/toolRetryRawEvents.ts
+203
−0
src/shared/toolRetrySnapshot.ts
+142
−0
test/jsonrpc/flow.toolRetry.test.ts
+19
−1
test/jsonrpc/projectors/tool-reuse.test.ts
+100
−0
test/jsonrpc/tool-retry-compatibility.test.ts
+127
−0
test/jsonrpcSocket.runtime.test.ts
+84
−0
test/mobile.activity-groups.test.ts
+109
−2
test/mobile.jsonrpc-client.test.ts
+71
−0
test/session/runTurnInvocation.test.ts
+124
−3
test/tool-retry-lineage.test.ts
+220
−35
test/tool-retry-raw-events.test.ts
+388
−0