mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-04 17:38:45 +00:00
The composer previously built inline code-block elements from typed fences, which detached edits from the native undo stack and conflicted with the full-screen input editor. The composer is now a native textarea: typing, paste, and undo are the browser's own, with no paste interception, DOM caret walkers, or code-block machinery. Drafts, history navigation, progress placeholders, and attachment image paste are unchanged, and the one-row textarea auto-grows through reset-then-measure sizing capped by its CSS maximum height. Validation: node --check webui/components/chat/input/input-store.js webui/js/scroller.js; pytest tests/test_chat_input_composer_edits.py tests/test_welcome_composer_static.py tests/test_chat_input_drafts.py tests/test_chat_loading_refresh.py (22 passed)