* feat(hook): add useTaskQueue context and hook for unified task and message queue management
* feat: add reusable TaskQueuePanel component for queue and todo management
* chore (example): add TaskQueuePanel usage example with shared task queue context
* Feat (example): add TaskQueuePanel to example workflow page
* chore: add sample todo and message data to task queue
* fix: prevent double-seeding of demo tasks in React Strict Mode with useRef guard
Exclude "onError" from HTMLAttributes<HTMLFormElement> to prevent conflict
with the custom onError callback that provides specific file upload error
codes ("max_files", "max_file_size", "accept").
Add composition event handlers to PromptInputTextarea to prevent
premature form submission when users press Enter to confirm IME input
(e.g., Japanese, Chinese, Korean). The component now tracks composition
state explicitly using onCompositionStart and onCompositionEnd events,
in addition to checking the native isComposing property.
This fixes an issue where Japanese users typing with an IME would
accidentally submit the form when pressing Enter to convert kanji,
instead of just confirming the conversion.
Signed-off-by: Sora Morimoto <sora@morimoto.io>
* Added PromptInputProvider
- to access attachements outside the PromptInput context
- also added textInput controlls
Adapted PromptInput attachement rendering for non-image attachements
- show filename, use tooltip to show more
- group files, then images
* Merge provider back into prompt-input file
---------
Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: Claude <noreply@anthropic.com>
* Prevent race condition by resetting form before async file processing
Add test for clearing textarea after form submission
Improve form submission handling by using form reference and resetting form after submission
* Update test case titles to include issue #125
---------
Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>