Commit graph

2 commits

Author SHA1 Message Date
CREDO23
2ef2474058 add HITL tool argument editing with approval UI
Enables users to edit tool call arguments before execution in human-in-the-loop
workflows. Adds edit mode UI with form fields, grayscale styling, and subtle
pulse animations for pending approvals. Backend stub enhanced to verify edited
arguments are correctly passed through.
2026-02-11 15:43:07 +02:00
CREDO23
2343fecf97 add frontend HITL: approval UI, SSE handler, and resume flow
- Create CreateNotionPageToolUI component with approval card (approve/reject)
- Handle data-interrupt-request SSE event in page.tsx
- Add handleResume callback to POST decisions and stream continuation
- Skip message persistence for interrupted messages (handleResume persists)
- Stamp __decided__ on tool results for immutable post-decision state
- Sync pendingInterrupt ID after message persistence rename
2026-02-10 18:05:01 +02:00