Commit graph

3 commits

Author SHA1 Message Date
CREDO23
0d1b61d7e6 Implement update notion page tool 2026-02-13 10:45:51 +02:00
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
5d1c386105 extract shared streaming helpers from page.tsx into streaming-state.ts
Move duplicated types (ThinkingStepData, ContentPart), content-part helpers
(appendText, addToolCall, updateToolCall, buildContentForUI,
buildContentForPersistence), and SSE read loop (readSSEStream) into a
shared module. Removes ~395 lines of tripled code from page.tsx.
2026-02-11 13:50:46 +02:00