Commit graph

9 commits

Author SHA1 Message Date
Patrick Erichsen
cd6ceebcbf fix: render all pending apply states 2025-07-13 18:41:56 -07:00
Patrick Erichsen
f573597b44 Fix parallel tool calls accept/reject issue and refactor selectors
- Fixed utility functions to find tool calls in correct assistant message instead of last history item
- Enhanced PendingToolCallToolbar to handle individual tool call actions properly
- Added comprehensive tests for multiple tool call scenarios
- Consolidated tool call selectors into single file with cleaner naming
- Added mock support for tools/call endpoint to enable proper testing
- Fixed streamResponseAfterToolCall to wait for all parallel tool calls before continuing

This resolves the issue where accepting/rejecting one tool call would cause other pending tool calls to disappear from the UI.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 11:25:59 -07:00
Dallin Romney
d77684280b fix failing edit test - only cancel if rejectDiff 2025-07-01 18:40:25 -07:00
Dallin Romney
6e3d42e80e update message cancelaltion and rejection logic 2025-07-01 01:57:41 -07:00
Patrick Erichsen
033ade024e fix: apply notch filename trunaction 2025-06-09 18:15:28 -07:00
Patrick Erichsen
071ecb91eb feat: move apply accept/reject into lump 2025-05-22 17:41:11 -07:00
Patrick Erichsen
7c72c4af87 feat: better editor content handling in edit 2025-05-22 17:13:27 -07:00
Patrick Erichsen
890c9b3e7b Merge branch 'main' into pe/apply-fixes-pt2 2025-05-16 15:06:51 -07:00
Patrick Erichsen
5944fca737 fix: reject logic 2025-05-16 10:38:47 -07:00
Renamed from gui/src/components/AcceptRejectAllButtons.tsx (Browse further)