webclient: Backgrounds tab in artifacts panel + task toasts
- new Backgrounds tab: task list (running first, badges, per-tool icons)
  with a detail view (status, timestamps, sub-agent tokens, result/progress)
- GET /sessions/{id}/tasks snapshot endpoint: task_update events are not
  replayed on reconnect, so the client fetches the task list on session
  load/reload; live task_update entries are merged on top (chat.fetchTasks)
- terminal task_update no longer removes the entry — it marks it finished
  so the tab shows recent completions; _terminalTaskIds still blocks
  resurrection by a late running update
- toasts for background task start / finish (info / success / error) in
  the WS dispatch; silent for other sessions and unknown terminal ids
- persistent background-tasks chip removed (replaced by the tab); only
  the queued-messages chip stays
- fix invisible status text in terminal detail rows: filled .status-*
  backgrounds now scope to .terminal-status-badge only
1 parent a15a94a commit 8dd4f24140c7caa00747e4cb493b283319c3d412
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 4 hours ago
Showing 18 changed files
View
docs/api.md
View
navi/api/routes/sessions.py
View
tests/unit/api/test_session_tasks_route.py 0 → 100644
View
webclient/dist/assets/index-9Onr6lug.js 0 → 100644
Not supported
View
webclient/dist/assets/index-DUxu_9kH.css 0 → 100644
View
webclient/dist/assets/index-V5MfmVcB.js 100644 → 0
Not supported
View
webclient/dist/assets/index-jS6HIWf0.css 100644 → 0
View
webclient/dist/index.html
View
webclient/dist/sw.js
View
webclient/src/api/index.js
View
webclient/src/components/artifacts/ArtifactsPanel.vue
View
webclient/src/components/chat/BackgroundTasksChip.vue 100644 → 0
View
webclient/src/components/chat/ChatArea.vue
View
webclient/src/components/chat/QueuedMessagesChip.vue 0 → 100644
View
webclient/src/composables/useWebSocket.js
View
webclient/src/stores/chat.js
View
webclient/tests/unit/composables/useWebSocket.test.js
View
webclient/tests/unit/stores/chat.test.js