mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 00:08:25 +00:00
* feat(agent): save private Agent conversations Adds private conversations: members start or continue a conversation by saving user messages, with idempotent retries and per-owner privacy. Sending waits for a ready configuration. Duplicates and snapshots keep the conversations; portable exports and templates leave them out. * fix(agent): keep conversation drafts across token refreshes The conversation page reset itself whenever a token refresh reassigned the user; it now watches the Agent and user ids by value. A narrow Agent column lets the list shrink so the chat and Send stay visible, a message the server rejects becomes editable again, the send error is announced to screen readers, and the conversation endpoints are described in the API schema. * fix(agent): focus the composer when starting a conversation Clicking New conversation now focuses the message input, so typing can start right away. * fix(agent): sync private conversations without losing drafts Invalidate only the owners other sessions after committed content changes, then refresh through the regular application update path. Merge messages in API order and keep drafts, composer focus and reading position during concurrent reads and sends. Reuse shared loading and button controls. * fix(agent): align conversation layout with builder designs * fix(agent): address conversation review feedback
10 lines
234 B
JavaScript
10 lines
234 B
JavaScript
import { registerRealtimeEvents } from '@baserow/modules/agent/realtime'
|
|
|
|
export default defineNuxtPlugin({
|
|
name: 'agent-realtime',
|
|
dependsOn: ['realtime'],
|
|
setup(nuxtApp) {
|
|
registerRealtimeEvents(nuxtApp.$realtime)
|
|
},
|
|
})
|