Team collaboration and AI usage metering

Collaborate with your team and track AI usage across your support widget.

Highlights

  • new

    Team Management: Invite members, manage permissions, and control access to your website.

  • new

    AI Usage Metering: Track AI consumption tied to your subscription based on model, tools, and usage volume.

Dashboard

  • new

    Team Section: Invite new members and manage their permissions from a dedicated team interface.

  • updated

    Seat Limits: Clearer display of available team seats in your subscription.

  • updated

    Upgrade Prompts: More intuitive upgrade suggestions when reaching plan limits.

  • new

    Changelog Display: View latest updates directly in your dashboard.

Bug Fixes & Improvements

  • updated

    Developer Mode: Improved UI for development and testing workflows. (open with cmd+shift+d in any conversation)

0.1.1

Performance improvements and bug fixes

Reduced bundle size by 400KB and fixed Vite compatibility issues.

Support Widget

  • updated

    WebSocket handling: Custom implementation improves reliability and enables future non-React ports.

  • updated

    CSS animations: Replaced Motion dependency with pure CSS, saving 120KB.

  • fixed

    Message wrapping: Fixed incorrect text wrapping in chat messages.

  • updated

    Input field: Multimodal input now auto-resizes for large text.

Bug Fixes & Improvements

  • fixed

    Vite support: Fixed environment variable detection causing Vite apps to crash.

  • fixed

    Analytics: Fixed missing event tracking and prevented event quarantine issues.

Upgrade

pnpm add @cossistant/react@0.1.1 @cossistant/next@0.1.1
0.1.0

AI-powered setup, smarter agents, and critical fixes for conversation creation

Major improvements to AI agent intelligence, simplified Next.js integration, and critical bug fixes for conversation handling.

Highlights

  • new

    AI-powered setup: Install Cossistant by copying a prompt and letting your AI handle the configuration.

  • updated

    Simplified Next.js integration: No longer requires separate React library installation, only Next.js is needed.

  • fixed

    Conversation creation reliability: Fixed race condition causing 404 errors when sending first message.

Support Widget

  • updated

    Improved UI design: Better brand alignment and visual consistency across components.

  • new

    Smarter AI decisions: Agents now use a dedicated decision step to determine when to engage in conversations.

  • new

    Automatic model fallback: Fast, cheap models handle decisions with automatic fallback to better models if needed.

Bug Fixes & Improvements

  • fixed

    404 error on new conversations: Resolved race condition between conversation creation and first message.

  • fixed

    Better Vite support: Fixed browser runtime compatibility by guarding environment variable access, preventing process is not defined errors.

  • fixed

    Re-rendering issues: Fixed unnecessary re-renders in main React provider.

  • updated

    Timeline improvements: Enhanced timeline component functionality and display.

Upgrade

pnpm add @cossistant/react@0.1.0 @cossistant/next@0.1.0
0.0.33

Performance improvements and bug fixes

Reduced library size and fixed dashboard typing indicators.

Support Widget

  • fixed

    Sound files: Inlined as base64 to prevent 404 errors on customer sites.

  • updated

    Code blocks: Improved display for code snippets and npm commands.

Dashboard

  • fixed

    Typing indicator: Fixed broken indicator when team members were typing.

  • updated

    Conversation grouping: Improved conversation item display and grouping logic.

Bug Fixes & Improvements

  • updated

    Library size: Reduced bundle size by removing React Markdown dependency.

Upgrade

pnpm add @cossistant/react@0.0.33 @cossistant/next@0.0.33
0.0.30

AI agent improvements, knowledge base training, and widget design enhancements

Smarter AI agents with knowledge base training, improved widget design, and performance enhancements.

Support Widget

  • updated

    Design: Improved visual alignment and consistency with Cossistant branding.

  • fixed

    Messages: Fixed message display and storage issues.

  • updated

    Performance: Enhanced visitor context retrieval and conversation navigation.

Dashboard

  • new

    Knowledge Base: Upload files and FAQs to train your AI agent.

  • new

    Auto-crawl: AI can automatically scan your website to build knowledge sources.

  • updated

    Smart Inbox: Better conversation management and read indicators.

Bug Fixes & Improvements

  • updated

    AI Responses: More accurate replies with memory and multiple knowledge sources.

  • fixed

    Email Replies: Resolved issues with replying to email conversations.

  • fixed

    Type Checking: Improved TypeScript type definitions.

Upgrade

pnpm add @cossistant/react@0.0.30 @cossistant/next@0.0.30
0.0.29

Bug fixes and performance improvements

Bug fixes and performance improvements for React 19 support and AI agent escalation.

Support Widget

  • updated

    React 19 support: Full compatibility with React 18 and 19.

  • fixed

    Text area line breaks: Fixed line breaks being skipped in message input.

Dashboard

  • updated

    AI agent escalation: Agents now correctly escalate conversations to human support.

  • updated

    WebSocket handling: Improved real-time event handling for AI agents.

Upgrade

pnpm add @cossistant/react@0.0.29 @cossistant/next@0.0.29
0.0.28

Performance improvements, controlled widget support, and enhanced contact management

Significant performance improvements for the React widget with better composability, automatic positioning, and a new contact management system.

Support Widget

  • new

    Controlled mode: Widget can now be controlled with open and setOpen props.

  • new

    Custom components: Support for custom trigger and content components.

  • new

    Smart positioning: Automatic collision avoidance ensures visibility.

  • new

    Event handling: New event system for analytics integration.

  • updated

    Performance: Reduced queries and improved overall performance.

Dashboard

  • new

    Contact management: Mini-CRM system to manage contact information.

  • new

    File sharing: Upload images and documents in conversations.

  • new

    AI typing preview: See when AI is composing a response.

Bug Fixes

  • fixed

    WebSocket: Improved connection management and reliability.

  • fixed

    Timeline: Enhanced conversation scrolling behavior.

  • fixed

    Types: Fixed typing issues across the codebase.

Upgrade

pnpm add @cossistant/react@0.0.28 @cossistant/next@0.0.28

Example

import { Support } from "@cossistant/next";
 
export function App() {
  const [open, setOpen] = useState(false);
 
  return (
    <Support
      open={open}
      onOpenChange={setOpen}
      avoidCollisions={true}
      onEvent={(event) => console.log("Widget event:", event)}
    />
  );
}