Skip to content

Release notes · Chat UI

Chat UI Release Notes ​

Changelog for @cognipeer/chat-ui. For usage, see the Chat UI documentation.

All notable changes to Chat UI will be documented here.

[0.12.0] - 2026-10-31 ​

This release makes chat progress easier to follow by surfacing the agent's plan in the conversation and keeping turn activity in the order it happened. No migration or special upgrade step is required.

Added ​

  • Chat UI now shows the agent's plan directly in the conversation, so people can see the intended steps while a turn is in progress.
  • Turn activity now stays in chronological order, making the sequence of progress updates easier to follow during a conversation.
  • The visible chat flow now keeps planning and other turn activity together instead of presenting them out of order.
  • Custom chat implementations can read the plan and related turn state through useChat, matching what the built-in UI now shows.
  • No migration or special upgrade action is required for this release.

[0.11.0] - 2026-10-31 ​

This release brings agent reminders into the chat experience so users can see reminder activity, follow reminder state, and cancel reminders without leaving the conversation. No migration or special upgrade step is required.

Added ​

  • Chats now surface agent reminders directly in the conversation with reminder cards instead of leaving reminder activity hidden behind another surface.
  • Reminder state is now visible in chat UI flows, so users can track whether a reminder is pending or has changed state from within the conversation experience.
  • Users can now cancel reminders directly from chat.
  • Reminder-related activity is available in the surrounding chat experience as well as the message flow, making reminders visible and actionable without leaving chat.
  • No migration or special upgrade action is required for this release.

[0.10.0] - 2026-10-31 ​

This release adds an opt-in modern appearance and makes reply actions available as soon as a response finishes. For most deployments, upgrading is a straightforward package or image update with no migration required.

Added ​

  • Chat UI now offers an opt-in modern appearance with an updated layout, sidebar, composer, and empty-state experience, without changing existing deployments by default.
  • Copy and feedback actions now appear as soon as a reply finishes, even when the generated chat title arrives later.
  • The modern appearance includes updated brand and account presentation in the chat shell and history sidebar.
  • The notice below the modern composer now preserves authored line breaks.
  • No migration or special upgrade action is required for this release.

[0.9.0] - 2026-10-31 ​

Agent-generated output files now appear directly on chat messages as downloadable file chips. This is a user-visible UI improvement only; no migration or special upgrade step is required.

Added ​

  • Assistant messages can now show agent-generated output files as downloadable file chips in the conversation UI.
  • Chat users can download generated files directly from the message where the agent produced them.
  • Generated file attachments are surfaced through the normal chat message flow instead of requiring a separate refresh or custom handling.
  • No migration or special upgrade action is required for this release.

[0.8.0] - 2026-10-14 ​

Search in the conversation history now covers the whole history on the server, not only the titles that are loaded. It needs @cognipeer/agent-server 0.7.0; against an older server the box still filters the loaded titles. No migration or special upgrade step is required.

Added ​

  • Search the whole history. With enableMessageSearch the sidebar box searches titles and message text on the server (GET /conversations?q=). It waits 250 ms after the last key, needs 2 or more characters, cancels the request still in flight and shows loading, empty and failed states. Hits show the title and a snippet with the matched text marked. Escape clears the box. See History.
  • Opening a hit that matched a message scrolls that message into view inside the message list (never the page) and marks it for two seconds.
  • AgentServerClient.searchConversations(q, { agentId, userId, limit, offset, signal }) and getSearchMode() (reads features.conversationSearch of GET /agents: full, title or false). ChatTransport gains the optional searchConversations and getSearchMode; without them the box keeps filtering the loaded titles.
  • ChatHistory prop searchConversations; ChatMessageList props focusMessageId and onFocusHandled; useChatHistory options detectSearch and searchLimit and results searchConversations and searchMode; types ConversationSearchMatch, ConversationSearchMode and ConversationListItem.searchMatch.
  • English and Turkish strings chat.history.searching, chat.history.searchFailed and chat.history.searchTitlesOnly.

Fixed ​

  • New messages auto-scroll only inside the chat message list instead of moving the surrounding page. Embedded chats and other layouts that place the message list inside a larger page no longer jump the host page as replies arrive. (This fix was prepared as 0.7.1; 0.8.0 includes it.)

[0.7.0] - 2026-10-14 ​

Stop now reaches the server on the Responses and A2A transports, not only the page's connection. No migration or special upgrade step is required for the chat itself. Stopping a Console turn needs a Console release that has the stop routes.

Added ​

  • Stop on the Responses transport. POST <path>/<response id>/cancel. The id is read from the first stream event (response.created), so the first turn of a conversation can be stopped as well as later ones, and a later turn cancels its own response rather than the previous one. With serverState: false there is nothing to cancel.
  • Stop on the A2A transport. JSON-RPC tasks/cancel (the method name can be changed with methods.cancel). The task id is the one the stream's events name or, for the Console's one-piece message/send, derived as task_<contextId>_<n>. A first turn has no context yet, so Stop only closes the connection there. "Not found" and "nothing to cancel" answers are treated as nothing to stop.
  • StatelessTransport gains an optional cancelRun hook and RunInput.track, which a transport uses to report the turn that is running. ChatTransport.cancel is present only when the subclass implements it.

Notes ​

  • Chat Completions stays abort-only. The API has no way to end a run on the server, so the provider may finish generating after the page stopped listening. See Transports.
  • A transport of your own that extends StatelessTransport and calls run() itself must now pass track.

See Running turns and Stop.

[0.6.1] - 2026-10-14 ​

Changed ​

  • Release build of the 0.6.0 reasoning features (Thinking block, showReasoning, reasoningEffort) for use with @cognipeer/agent-server 0.6.0. No API changes.

[0.6.0] - 2026-10-13 ​

  • Chat messages can now show model reasoning directly in the conversation in a collapsible Thinking block.
  • The reasoning view is available in context with the assistant reply instead of requiring a separate surface.
  • Reasoning effort options are now supported for chat requests.
  • This release adds visible reasoning support without changing the normal upgrade process.
  • No migration or special upgrade step is required for this release.
  • Reasoning needs Agent Server 0.6.0 or newer to send stream.thinking frames and to accept reasoningEffort. Against an older server the block does not appear. See Reasoning.

[0.5.0] - 2026-10-12 ​

  • You can now choose the model for each conversation instead of relying on an implicit default.
  • The selected model is carried through conversation actions such as sending, editing and regenerating replies.
  • Each assistant reply now shows which model produced it, making model choice visible in the conversation flow.
  • Model changes are surfaced in the chat UI rather than hidden in request handling.
  • No migration or special upgrade step is required for this release.

[0.4.0] - 2026-10-10 ​

Approvals, runs, usage limits, an opt-in portal experience and an embeddable chat. Everything new is additive and either opt-in or driven by the server, so a chat against a server that never pauses looks and behaves as before. Most features need @cognipeer/agent-server 0.3.0 or later. See What's New in 0.4.0 and Migrating to 0.4.0.

Added ​

  • Approvals and questions. ToolApprovalCard and QuestionCard render under the assistant message when the agent pauses. Approve, deny with a reason, remember a tool for the chat, edit the arguments against a JSON Schema (allowArgumentEdit), answer questions, see deadlines, and find the cards again after a reload. New useChat values: pendingActions, awaitingAction, isResolvingAction, canResolveActions, answerableQuestion and resolveAction. See Approvals and Questions.
  • Runs that outlive the page. A conversation opened while a turn is still running follows it, a dropped connection after the server took a message is no longer an error, and Stop cancels the run on the server. A notice under the answer says why it ended (stopped, limit, steps used up, interrupted). See Running Turns and Stop.
  • Usage limits. A meter, a "limit reached" notice, a closed composer while the limit is used up, and raise-and-continue with allowBudgetContinue and allowBudgetEdit. See Usage Limits.
  • History. Status badges (Working, Waiting for you, Limit reached), keyboard-operable rows, and opening a conversation selects its agent.
  • Uploads. Drag and drop, paste, image thumbnails, files without text, fileTransport: "upload" and "upload-on-select" with progress and retry, per-conversation limits from the agent, and expired or unreadable files marked. See File Uploads.
  • Portal experience (opt-in). Message actions (copy, regenerate, edit), feedback with reasons, rename, pin and bulk delete, starters and a welcome message, deep links, an AI label and legal links, announcements, a terms gate, export and background alerts. See Portal Experience.
  • EmbedChat. A postMessage handshake, an in-memory session, events for the host page and host-page tools. See Embedding the Chat.
  • Internationalization. Any locale through customMessages, nested ChatI18nProviders and localized server error codes. See Internationalization and Error Codes.
  • Accessibility. Labelled controls, a live message log, announced and focused cards, a keyboard map and reduced motion. See Accessibility.
  • Theming. success, danger, warning and info colours with tints, and themeColors accepts every colour key.
  • ComposerState (open, blocked, cancel, answer, following, budget_paused, readonly) and an agent that drives the composer through AgentInfo.capabilities.

Changed ​

  • stop() now stops the run on the server for a transport that can cancel, and keeps the text so far as a message marked stopped. Before, it only detached the browser.
  • A failed request with a known code shows a localized message. Match on error.code, not error.message.
  • Chat honours an enclosing ChatI18nProvider.

[0.3.0] - 2026-10-07 ​

Added ​

  • ChatTransport interface and a transport prop on Chat, useChat and useChatHistory, so the chat can talk to backends other than @cognipeer/agent-server
  • Transports for agent-sdk (AgentSdkTransport), OpenAI Chat Completions (ChatCompletionsTransport), the Responses API (ResponsesTransport) and A2A (A2ATransport). See Transports
  • ThreadStore with MemoryThreadStore and LocalStorageThreadStore, used by the transports whose backend keeps no conversations
  • getHeaders (async, called before every request) and fetch options, so a token can be renewed between requests and cookie or proxy setups work

Changed ​

  • baseUrl is optional when transport is given
  • The SSE reader accepts event: lines, CRLF line endings and multi-line data:

[0.2.0] - 2026-08-01 ​

Added ​

  • Answers now show inline citation markers that link claims to their sources — readers can trace supporting material directly from the message content without leaving the conversation flow

Fixed ​

  • Generated file attachments now appear as soon as a response finishes instead of waiting for a later refresh
  • Long generated filenames stay readable when truncated, so file extensions remain visible and similar exports are easier to tell apart

[0.1.4] - 2026-07-10 ​

Fixed ​

  • File attachments from the stream.done event now appear immediately instead of requiring a refetch — StreamDoneEvent gained an optional files field, and useChat includes event.files on the assistant message it builds
  • Long filenames no longer hide their extension when truncated — ChatMessage now splits the base name and extension before truncating, so e.g. a .docx and a .pdf export of the same document stay visually distinguishable

[0.1.3] - 2026-03-06 ​

Changed ​

  • Housekeeping release — version bump only, no functional changes beyond what shipped in 0.1.2

[0.1.2] - 2026-02-16 ​

Added ​

  • Full internationalization (i18n) support: useI18n hook and ChatI18nProvider, with English and Turkish locale files wired into ChatHistory, ChatInput, ChatMessage, ChatMessageList, MessageActions, and ToolCall
  • Agent name display and conversation title handling in chat components

Changed ​

  • useChatHistory loading logic now guards against duplicate initial loads in React Strict Mode, adds options to control loading-indicator visibility, and supports a silent refresh

[0.1.1] - 2026-02-13 ​

Added ​

  • ChatProvider and context hooks for React-controlled chat state management
  • Theme presets and an extended Message type (citations, optional agentId)
  • Streaming support for "thinking" events, with improved message rendering
  • Build verification script

Changed ​

  • Standardized chat header height and button styles for consistency
  • useChatHistory now uses a stable client reference and improved conversation-loading logic

Fixed ​

  • Debounce helper now uses ReturnType for the timeout variable instead of a Node-specific type

[0.1.0] - 2025-01-01 ​

Added ​

  • Initial release
  • Chat component with full features
  • ChatMinimal component without history
  • ChatMessage, ChatMessageList components
  • ChatInput with file upload support
  • ChatHistory sidebar component
  • ToolCall and ToolCalls components
  • useChat hook for custom implementations
  • useChatHistory hook for history management
  • AgentServerClient for direct API access
  • Dark and light theme support
  • Custom theme colors via props and CSS variables
  • SSE streaming support
  • File upload with drag-and-drop
  • Tool call visualization
  • Markdown rendering
  • TypeScript types
  • React 18+ support

Studio · Pulse · Console · Agent SDK and more — the Cognipeer documentation hub