Skip to content

Release notes · Client SDK

Client SDK Release Notes

Changelog for @cognipeer/sdk. For usage, see the Client SDK documentation.

All five published versions shipped in a single two-day window; there has been no release since 1.0.4 on 2025-11-20.

[1.0.4] - 2025-11-20

Added

  • ResumeMessageResponse.pendingAction — an optional field that signals another client tool execution is required, so multiple client tool calls can be chained together in a single resume flow.

Changed

  • Minor cleanup of src/client.ts (removed unnecessary blank lines, clarified comments) for readability.

[1.0.3] - 2025-11-20

Added

  • Flows API (client.flows.execute()) — run workflows/automations, with documentation covering usage, common use cases, error handling, and best practices.
  • Peers API (client.peers.get()) — retrieve peer (AI assistant) information.
  • Users API (client.users.get()) — retrieve the authenticated user.
  • Channels API (client.channels.get()) — retrieve channel information.
  • Contacts API — full contact management (create, update, retrieve, list), including a dedicated example.
  • Conversations resource — a new src/resources/conversations.ts / src/interfaces/conversations.ts pair backing conversation operations.

Changed

  • Reorganized the SDK internals into src/interfaces/ and src/resources/ so every API surface (Flows, Peers, Users, Channels, Contacts, Conversations) follows the same interface/resource pattern.
  • src/client.ts was substantially trimmed as functionality moved into the new resource classes.
  • Documentation (README, getting started, quick start, examples) expanded to cover the new API surfaces.

[1.0.2] - 2025-11-20

Changed

  • Version-only republish on top of the 1.0.0 code line; no source changes accompanied this release.

[1.0.1] - 2025-11-20

Changed

  • Version-only republish on top of the 1.0.0 code line; no source changes accompanied this release.

[1.0.0] - 2025-11-19

Added

  • Initial release of @cognipeer/sdk, published with client-side tool support already included: a CognipeerClient for conversational AI (message send/resume, auto tool execution with retry), a CognipeerWebchat integration for embedding chat via iframe, URL, or floating widget, and a baseUrl configuration option for both.
  • Webchat client tools — client-side tool registration and execution inside the embedded webchat, with example tools and dedicated documentation.
  • fetch implementations are now bound to globalThis so custom fetch (or the default) keeps the correct this context in browser environments.
  • peers.list() helper for listing available peers (AI assistants).
  • Full TypeScript types, guides (installation, configuration, quick start, getting started, client tools), and runnable examples (basic, browser, multi-turn, structured output, webchat iframe/widget/tools).

For detailed changes, see GitHub Releases.

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