agent-zero/webui/components
Abhinav Bhateja 240a87ca79
feat: add Stop button to halt agent without destroying context
Closes #1099, #1208

Adds a proper stop mechanism between pause (too weak) and terminate (too destructive):

Backend:
- AgentContext.stop() in agent.py: kills process, clears pause/streaming state, preserves history
- api/stop.py: new auto-discovered API endpoint

Frontend:
- Stop button in bottom actions bar (red-tinted, only visible when agent is running)
- stopAgent() method in input-store.js
- Escape key shortcut in index.js (skips when typing in input/textarea)
- globalThis.stopAgent for external access
2026-04-02 23:26:08 +05:30
..
_examples v0.9.5-pre cleanup, polishing, bugfixing 2025-08-25 09:59:44 +02:00
chat feat: add Stop button to halt agent without destroying context 2026-04-02 23:26:08 +05:30
dropdown ui: streamline sidebar buttons, add dropdown component 2025-12-29 15:03:54 +01:00
messages expand agent responses in ALL mode 2026-03-25 14:28:23 +01:00
modals sanitize plugin markdown rendering with shared helper 2026-03-28 19:29:26 +01:00
notifications Add tool request validation and plugin change notifications 2026-03-10 13:08:48 +01:00
plugins sanitize plugin markdown rendering with shared helper 2026-03-28 19:29:26 +01:00
projects fix: call _memory plugin paths for knowledge reindex 2026-03-25 21:34:26 +01:00
settings fix: apply btn-field class to disabled update buttons in self-update modal 2026-03-31 15:29:51 +02:00
sidebar ux: trigger focus on chat input after new chat and ctx switch 2026-03-27 12:12:26 +01:00
sync refactor: Frontend adapter for new WebSocket architecture 2026-03-26 01:02:58 -07:00
tooltips quick-actions css fix; tooltips in plugins 2026-02-17 14:12:02 +01:00
welcome Add current branch latest version display to self-update modal with collapsible last attempt section 2026-03-26 11:09:22 +01:00