Koder Chat SDK (Dart)

  • Area: Observability (SDKs sector)
  • Path: engines/sdk/koder_chat
  • Kind: Dart/Flutter library — HTTP + WebSocket client for Koder Chat

Role in the stack

Dart client SDK for the Koder Chat API. Provides type-safe HTTP client, persistent WebSocket connection for real-time messaging, and data models (channels, messages, users, reactions, attachments). Used by any Flutter app that integrates with Koder Chat — Bot, potential Chat mobile app, third-party Flutter integrations.

Primary couplings

Consumer Relationship
services/ai/bot/app Bot uses it to show and send Chat messages
products/horizontal/chat/app Primary consumer — the Chat mobile/desktop app
Any Flutter app Can integrate Koder Chat messaging directly

Interfaces

  • Dart package koder_chat — add to pubspec.yaml
  • ChatClient — REST operations (channels, messages, reactions, members)
  • ChatSocket — WebSocket connection with auto-reconnect, event streams
  • Data models: Channel, Message, User, Attachment, Reaction

Status

v0.1.0 — HTTP client + WebSocket + data models. Available as workspace-internal package.