* 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
* feat: scaffold Agent Builder applications and empty agents
* chore: defer Agent Builder changelog until feature flag removal
* refactor: represent each agent as a workspace application
* fix: complete Agent application rollout safeguards
* fix: use the designed robot icon for Agent applications
* refactor: gate only Agent application creation
* refactor: keep Agent scaffold on standard shared behavior
* fix(agent): load workspace access before opening from overview
* refactor(agent): align enterprise feature naming
* refactor(agent): retain application stylesheet name
* refactor(agent): move application scaffold into open source
* fix(agent): hide the empty Agents sidebar group while creation is disabled
* test(agent): keep only Agent-specific scaffold tests
Generic application behaviour is already covered by core tests, and the
branch has no enterprise code, so the enterprise tests are removed.
* refactor(agent): define the agent-builder flag with the other flags
* chore(agent): type Agent application hooks and tidy flag docs
* fix(agent): support the purple item icon color
* fix(agent): use the shared application type keys for Agent names
The export and import dialogs read `applicationType.<type>s`, so Agent
groups showed the raw key.
* fix(agent): hide the Agent type filter while creation is disabled
All workspaces now only offers the application types that can be
created, so Agent stays out of the filter while the flag is off.
* fix(agent): use a singular Agent search subtitle
* test(agent): cover Agent creation with the flag enabled
* refactor(agent): match the Agent search type to Dashboard
The backend already filters results by read permission, and the Agent
route checks access when it opens.
* refactor(agent): drop the unreachable sidebar creation check
The only link that opens the modal already checks `canBeCreated()`.
* fix(agent): drop the Enterprise-only hint from the empty Agent page
Managing access needs Enterprise, so the text was wrong elsewhere.
* refactor(agent): drop the default allowed_fields from the Agent type
* feat(agent): track when Agents were last viewed
Opening an Agent now loads it from `GET /api/agent/<id>/`, which marks it
viewed like the load endpoints of the other application types.