mirror of
https://github.com/stablyai/orca.git
synced 2026-09-29 08:03:20 +00:00
Reverts #4193 / commit 89d09d5c8d.
#4193 moved NotesSendMenu cleanup onto the trigger ref. The reported regression is that sending AI notes highlights the destination worktree but the actual send does not go through; a transient trigger detach can clear the global send target mode before the sidebar agent target click delivers the prompt.
Validation:
- pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/editor/NotesSendMenu.test.tsx src/renderer/src/components/sidebar/WorktreeCardAgents.send-target.test.tsx