Changelog

What changed and when. We follow semver: while the SDKs are 0.x, a minor version can break things, and when one does its entry says Breaking and how to move. No surprises in your error logs on a Friday.

SDK versions on npm

  • @cstar.help/js@0.21.1
  • @cstar.help/react@0.13.0
  • @cstar.help/svelte@0.11.0
  • @cstar.help/cli@0.11.0

These are the versions an install gives you today, and every page in these docs shows the same ones. Changes we have made but not published yet are marked Unreleased below.

API v1 (Current)

CLI 0.12.1: MCP 2.0 (2026-07-28), ticket reply/update tools, and registry readiness

Both the hosted remote MCP server (/api/mcp) and local cstar mcp-server now speak dual-era MCP 2.0 (2026-07-28 stateless core) alongside MCP 1.x, add ticket reply and update tools behind --allow-writes, read CSTAR_API_KEY and CSTAR_BASE_URL from the environment, and ship Official MCP Registry metadata.

  • Added Dual-era MCP 2.0 (2026-07-28) support on both POST /api/mcp and cstar mcp-server --stdio: stateless per-request _meta, server/discover, caching hints (ttlMs, cacheScope), resultType: "complete", Streamable HTTP Mcp-Method / Mcp-Name header validation, and full backward compatibility with MCP 1.x (2025-11-25 through 2024-11-05).
  • Added cstar_reply_ticket (public customer reply or private internal note) and cstar_update_ticket (status, priority, assignee, tags, title, notes) are available when starting the MCP server with --allow-writes.
  • Added CSTAR_API_KEY and CSTAR_BASE_URL environment variables now work across CLI and MCP commands without overwriting a saved login, while resolving the key's own team via /auth/whoami.
  • Added Added mcpName metadata for the Official MCP Registry, graceful startup before login, and new markdown resources cstar://docs/headless-worlds and cstar://docs/ai-skills.

CLI 0.11.0: the MCP server only reads unless you say so

An AI agent using cstar mcp-server reads tickets that customers wrote. It can no longer publish or create things unless you start the server with --allow-writes.

  • Breaking cstar_create_ticket, cstar_create_community_post and cstar_trigger_webhook are off by default. Add --allow-writes to the server's arguments to turn them on.
  • Added Every tool carries MCP annotations (read only, or what it changes), and the server speaks protocol 2025-06-18, or the version your client asks for.
  • Security What a tool returns is wrapped as data customers may have written, so the AI reads it as data, not instructions.

JavaScript SDK 0.21.1: live chat on private channels

cStar's realtime is moving to private channels only. Chat in 0.21.0 and earlier stops getting live messages when that switch is made, so upgrade to 0.21.1.

  • Changed ChatClient listens for new messages on a private channel that only the signed-in customer can join. Nothing changes in your code: onMessage() and onTyping() work as before.
  • Fixed sendTyping() tells cStar's server, as the hosted widget does. The SDK used to broadcast it itself, which cStar has refused since typing became a private topic.
  • Added onTyping() events from an AI agent carry activity: what it is doing, in words for your customer ("Searching our help library"). The agent repeats its typing signal every 3 seconds while it works.
  • Added ticket.created and ticket.message_added webhooks for a customer's email carry sender_verified. It is false when cStar could not prove who sent it, so it may be someone posing as your customer. Don't act on such an email alone.
  • Security Public realtime channels are going away. Anyone with a publishable key could open or invent one, which let a stranger use up realtime for every team.

File storage has a budget

Every file a team stores counts toward one budget: 5 GB plus 1 GB a seat, or 250 MB on a trial with no card.

  • Added An upload that does not fit answers 409 storage_limit_reached, on POST /attachments and on the chat widget's upload. It is a count, not a wait: the SDK throws CStarConflictError. Delete files you no longer need, or add a seat.
  • Changed A message file (entityType: 'message') that no message names a week after the upload is removed. Files stored under a ticket, customer or article stay until you delete them.

JavaScript SDK 0.21.0, React 0.13.0, Svelte 0.11.0, CLI 0.10.2: customers sign in at your team

Breaking. Customer sign-in in the SDK moved from Supabase sessions to cStar's own per-team sessions, so every customer signs in once more.

  • Changed Breaking: sessions are cStar's own. AuthClient and ChatClient hold tokens that work at your team only. getCustomer().id and the chat's customer.id are your team's customer id, not a login id. AuthSession gains teamId, accessTokenExpiresAt, refreshAt, sessionExpiresAt and intent.
  • Removed Breaking: the Supabase options are gone. new AuthClient() no longer takes supabaseUrl or supabaseKey, and the auth entry point no longer imports @supabase/supabase-js. Pass a storage adapter (such as localStorage) to keep the session between page loads. The SignupConfirmationResult type is gone too: use SignupResult.
  • Removed Breaking: webhook signatures need a timestamp. verifySignature() and constructEvent() (and their async twins) refuse the old sha256=<hex> form. It covered the body alone, so a captured delivery never expired. cStar has sent t=<unix>,v1=<hex> since 0.14.1, so real deliveries verify as before.
  • Changed Breaking: sign-in links finish with a verifier. signup() returns a verifier, and completeSignIn() reads cstar_handoff from the URL. In a browser the client keeps the verifier. On a server, keep it in your session for that visitor and call completeSignIn({ url, verifier }). A link from an older version returns null with a console warning: send a new one.
  • Changed Breaking: passwords are per team. login() and loginWithCredentials() take the password the customer chose at your team, and login() returns the session (its tokens are never null). A password from before no longer works: sign in by link, then call setPassword(). Changing one takes setPassword(password, { currentPassword }), and code reauthentication_required means send a new link.
  • Changed Breaking: logout() returns a promise. It ends the session on the server as well as in the browser, so await it.
  • Changed Breaking: loginWithSession() takes cStar sessions only. A Supabase token throws ChatClientAuthError with code LEGACY_SUPABASE_SESSION. Sign the customer in again, or use the new auth option. React's useChat keeps loginWithCredentials and loginWithSession under the same names, with this change.
  • Added More ways to sign in, and tokens that refresh. AuthClient gains sendMagicLink(), requestPasswordReset(), refresh(), getAccessToken() and onSessionChange(). Use getAccessToken() for a Bearer: it refreshes when due. The accessToken getter is deprecated.
  • Added One session for sign-in and chat. new ChatClient({ teamSlug, auth }) uses an AuthClient's tokens and refresh, so one object owns the refresh token. <CStarChatProvider auth={authClient}> passes it through in React and Svelte. ChatClient.onSessionChange() reports each new token pair to apps that keep their own.
  • Changed React and Svelte need the new JavaScript SDK. Their peer range is now ^0.21.0. The Svelte package has no other change.
  • Changed CLI 0.10.2 is built on JavaScript SDK 0.21.0. No command changed.

JavaScript SDK 0.20.0, React 0.12.0, Svelte 0.10.1, CLI 0.10.1: upload files

  • Added The new attachments.upload method stores a file of up to 4 MB from your server, under a ticket, customer, article or message.
  • Fixed POST /attachments answered a multipart form from outside cStar with a 403 before the API saw it. Send the file's bytes as application/octet-stream with its details in the query.
  • Added A community comment says isHidden: true when a flagged word held it back for review. Customers can also sign in, post, reply and vote on the hosted community page.
  • Changed React, Svelte and the CLI now need the JavaScript SDK at ^0.20.0.

The SDK's types now match what the API sends

  • Fixed community.updatePost() now returns isApproved, since an edit can send a post back for approval.
  • Changed game.puzzles.today() is typed as what it returns: available, puzzle and completion. The old type promised fields that never came back.
  • Changed game.skills.get(), allocate() and reset() have corrected types, including the new SkillReset.
  • Fixed Quick replies carry body as well as text from settings.get(), settings.update() and quickReplies.reorder(), as the list already did.
  • Fixed settings.statuses.del(), attachments.del(), notifications.markRead() and bulk results are typed as what they return, and fields the API sent but the types left out are now declared.

The API refuses bad input it used to skip

  • Changed Breaking: statuses are checked. /settings/statuses refuses a blank label, the reserved merged key, a key with spaces, a color that isn't hex and any unknown field, including a key on PATCH.
  • Changed Breaking: wrong types are a 400. PATCH /webhooks/{id} no longer skips a wrongly typed field and applies the rest, and POST /tickets no longer opens an unlinked ticket for a customerId that isn't a string.
  • Changed Breaking: analytics dates are the team's days. A YYYY-MM-DD means the team's day on every analytics endpoint, and closed on /analytics/tickets counts closes that happened in the window, not tickets created in it that are closed now.
  • Changed Breaking: a dropdown option in use stays. PATCH /custom-fields/{id} refuses removing an option records still hold, with the count.
  • Fixed Reusing an Idempotency-Key with a different message body is a 422 idempotency_key_reused, as elsewhere. agent_id and GET /logs filters answer 400, not 500, and GET /webhooks?active=false lists the inactive ones.
  • Added player.xp_gained, player.quest_completed and player.streak_milestone now fire, and ticket.message_added names the customer on a customer message sent through the API.

Analytics refuse values they used to guess at

  • Changed Breaking: an unknown period or group_by is a 400. /analytics, /analytics/* and /csat/stats quietly fell back to a default, so a typo returned the wrong numbers. Send day, week, month or quarter.
  • Changed Breaking: GET /attachments has its list at the top. data is the array and pagination sits beside it, as on every other list. Read data, not data.data. The JavaScript SDK's attachments.list() now has hasMore.
  • Fixed GET /customers?tag=VIP finds customers tagged VIP, and hasActiveSubscription is false once a subscription is canceled.
  • Fixed A 1-Up, a High Five or a boss hit made in the app now reaches webhooks, as those made through the API do.
  • Added automation.triggered is documented: a rule's Trigger Webhook action sends it to the webhook it names. It takes a whk_ ID, refuses a disabled webhook or one from the other mode, and shows in Delivery Logs.
  • Fixed A note posted through POST /tickets/{id}/messages notifies the people it @mentions, as a note in the app does.

REST API: doing what the docs say

Nine changes. Four are Breaking; each one says how to move.

  • Changed Breaking: webhook URLs must be HTTPS. Create and update refuse a plain http:// URL with a 422. Use an https:// URL, or cstar listen for a local server.
  • Changed Breaking: X-Webhook-ID is the whk_ ID. Deliveries carried an internal UUID. If you look up secrets by that header, key them by the id the webhooks API returns.
  • Changed Breaking: unknown customer filters are a 400. GET /customers?sentiment= or ?status= with a value that isn't one of the team's keys returns parameter_invalid with the allowed keys, not an empty list. GET /settings lists the keys. The default sentiments are happy, neutral, frustrated and angry.
  • Changed Breaking: metadata values must be strings. On tickets and customers, a number such as { "seats": 5 } returns parameter_invalid with param: "metadata.seats" and a message that says so. Send "5" instead.
  • Added Webhook events takes a comma-separated string too. ["ticket.created", "ticket.closed"] is the documented shape, and "ticket.created,ticket.closed" works on create and update. An empty or invalid value on update now says what is wrong (an empty list no longer clears the events).
  • Added Assign a ticket with either member ID. assignedTo takes a member's userId or id from GET /members. A refusal names assignedTo, the field you sent.
  • Fixed Honest test-trigger counts. POST /webhooks/trigger-test counts only webhooks subscribed to the event, in your key's live or test mode.
  • Fixed Pagination in the reference. List responses carry pagination next to data (not in meta), with hasMore and no totalPages, as the API always sent.
  • Fixed Ticket search, described. GET /tickets?search= matches the title and customer name. It does not search message content.

Custom Mode chat widget: new conversations, sign-in and rows

Ten changes. Read the Heads-up if your CSS sets display on widget elements, and the signup() line if you send a password.

  • Changed A new conversation starts with the right text. startConversation() sends the new conversation's own text: the message you pass, or what setFirstMessage() (or a data-cstar-input="firstMessage" field) set. When no conversation is open, messageDraft (setDraft(), or a composer) starts one too. An open conversation's draft is never sent as another's first message. A messageDraft field in a New Conversation form (a data-cstar-view="new" or data-cstar-show-when="currentView:new") is that form's text. With no text it rejects with "Message is required", which also shows in [data-cstar-error] until a message is typed or the customer leaves the view. The same start again while the first is on its way returns that one's promise.
  • Changed Drafts belong to their conversation. messageDraft is kept per conversation: opening one brings back its draft, so to prefill the composer call setDraft() after openConversation(). A file picked for a draft is removed when the customer leaves the conversation. Signing out, or another customer signing in, clears every draft and the New Conversation text.
  • Added Keyboard focus follows the widget. When focus is in it (keyboard or pointer), a view change or a switch between Sign up, Log in and Forgot moves focus to the view's data-cstar-focus-start, else its first heading, the composer (messages) or its first control. Back returns focus to the conversation that was opened. Escape in the messages view goes back, unless a dialog, a popover or a search field with text takes it, or text is being composed. This needs a data-cstar-panel element.
  • Fixed 'logout' fires once. Once per sign-out (it fired twice), also when nobody was signed in.
  • Changed deleteConversation() closes it. It leaves the list, and the next load lists it again with status closed. After destroy() it refuses and sends nothing, and rendered rows stop listening.
  • Changed signup() is passwordless. Like the server, it takes an email and an optional name, and ignores a password. The customer signs in from the emailed link and chooses a password later.
  • Added A state for a sent sign-in link. A new magicLinkSent state is true once a sign-up or sign-in link is sent; data-cstar-magic-link-sent shows while it is.
  • Added A refresh error that keeps the list. data-cstar-show-when="conversations:refresh-error" shows when a refresh fails under a list that already loaded; conversations:error is for a list that could not load at all.
  • Heads-up Hidden means hidden. The SDK hides elements with the hidden attribute. If your CSS sets display on them, add .cstar-widget [hidden] { display: none !important; }, as the starter template does.
  • Added Rows open from the keyboard. Conversation rows open from the keyboard: put a <button data-cstar-select-conversation> in a <div data-cstar-conversation> row. A plain row is made focusable, and is role="button" (named by its content) only when it holds no other control and is not in a list; otherwise the console says what to change. A row with buttons inside must not itself be a button. Focus stays on the row when the list re-renders.

REST API: tickets, messages and members

  • Changed The first public reply from an agent moves a new ticket to open and fires ticket.updated. Internal notes and automatic replies leave it new.
  • Changed A merged ticket stays merged: PATCH /tickets/{id} with any other status returns 409.
  • Fixed GET /members/online leaves out members who turned Online off or were last seen in another team.
  • Fixed POST /tickets/{id}/messages stores an agent's senderId only when it belongs to this team, and POST /views needs createdBy to be a team member.
  • Fixed A test key gets an empty result from /analytics/sla and /analytics/export, which read live numbers.

JavaScript SDK 0.19.0: ids stay in their path, and types match the API

  • Security Every id and slug goes into the URL as one encoded path segment, and .. or an empty id is refused. customers.get('../tickets') used to return the tickets list.
  • Changed Breaking, types only: activity.list takes userId and types and returns action, userId, userName, icon and metadata. TicketStatus, BusinessHours, CustomerGroup, CommunityPost and CommunityComment match what the API sends, so filters on groups and authorName on posts are gone.
  • Changed Breaking: public community posts and comments no longer have authorPostCount or authorCommentCount, which counted posts a visitor can't open.
  • Fixed triggerTest types match its result, and LibraryClient stats and popular count every article.

React SDK 0.11.0 and Svelte SDK 0.10.0: the newest answer wins

  • Article, post and search state keep the newest answer when an older request finishes late, and mutation hooks reach nested SDK methods. Both need JavaScript SDK ^0.19.0.

CLI 0.10.0: config apply applies the whole file

  • cstar config apply applies priorities: and every pauses_sla, and config export writes them.
  • cstar mcp-server answers ping, sends nothing back for a notification, and reports a line that isn't JSON.
  • cstar tutorial metrics-dashboard names methods the SDK has.

React SDK 0.10.4 and Svelte SDK 0.9.2: the boss subscription holds the boss

  • useBossBattle and BossState hold the active boss, or nothing, and active follows that. Both now need JavaScript SDK ^0.18.5, whose subscription sends the boss itself.
  • Svelte: CStarQuery and CStarEventStream wait for the browser to go live, so they no longer crash server rendering.

JavaScript SDK 0.18.5: game types and live subscriptions that work

  • Breaking for code written against the old types: the game types match what the API sends. game.boss.current() is { active, boss }, and Player, LeaderboardEntry and myRank() (which needs userId) match the API.
  • Live subscriptions to customers, articles, the boss, players, the leaderboard and activity now update, and a filtered list keeps to its filters.
  • A subscription made without EventSource (plain Node, server rendering) reports the error to its handler instead of crashing the process.
  • offline: true queues a write that fails on the network, and a replayed write can't create the record twice.
  • CStarRealtime keeps trying after an outage and reconnects when the browser is back online.
  • /auth and /chat work in apps built with webpack (Next.js, Create React App).

CLI 0.9.4: seed --clean deletes only seed data

  • cstar seed marks what it creates (metadata.cstarSeed), and --clean deletes only marked articles, tickets and customers. It matched by title, email and category name, so with a live key it could delete a team's real tickets and its built-in "Getting Started" category. Categories are never deleted now.

Deleting a community topic keeps its posts

  • Changed Breaking: a topic with posts needs movePostsTo. DELETE /community/topics/{topicId} deleted every post in the topic. Now its posts move to the topic in ?movePostsTo= first, and the response says how many (movedPosts). Without it, a topic that still has posts gets a 409 and nothing changes.
  • Added JavaScript SDK 0.18.5: cstar.community.topics.del(id, { movePostsTo }).

CLI 0.9.3: scaffolds, doctor and docs that run

  • cstar create --type dashboard lists every ticket that is not resolved or closed. It asked for status open only, and new tickets arrive as new, so a fresh team's dashboard was empty.
  • It adds a CSTAR_SECRET_KEY= line to .env (SvelteKit) or .env.local (Next.js), prints the next steps, and points the client at your --base-url or login host when that is not production. It never writes the key itself. An unknown --type is an error, not "0 files created".
  • cstar doctor counts webhooks by isActive and flags consecutiveFailures or an auto-disable. It read fields the API never sends and always said "0 active, 0 failing".
  • cstar seed links to the help center on the host you seeded, and its webhook article verifies X-Signature with constructEvent. Its rate limit article shows the real limits: 1,000 requests an hour for secret keys, 100 for publishable.
  • The bundled docs/webhooks.md, the tutorial and the README import webhook helpers that exist, name the X-Signature header, and use whk_ webhook IDs and UUID user IDs.

JavaScript SDK 0.18.4: realtime options on the client

  • new CStarClient({ realtime }) passes types, eventSource, autoReconnect and maxRetries to cstar.realtime. Before, there was no way to set them, so a Node app without a global EventSource could not pass the polyfill the error message asked for.

REST API: agent replies have a sender name

  • An agent message added with POST /tickets/{id}/messages and no senderName is named for the member in senderId, else the person who created the key, else the team. It was saved with no name, so threads showed ": hi" with no author.

Docs: snippets that compile

  • The React quickstart passes strict TypeScript (children: ReactNode, useState<string | null>), the Svelte chat widget passes svelte-check, and both show a sender name fallback. The vanilla list skips resolved and closed tickets instead of asking for open only.
  • The JavaScript SDK page imports constructEvent from @cstar.help/js/webhook/node, where it lives. The CLI cheat sheet shows real cstar create types, and the realtime page shows the new realtime client option.

React SDK 0.10.3: Next.js and StrictMode

  • The bundle starts with 'use client', so the providers and hooks work in a Next.js App Router layout as they are. Before, the build dropped it and you needed your own 'use client' wrapper file.
  • CStarChatProvider keeps one client under React StrictMode. Before, its practice unmount swapped in a new, unidentified client: the chat went blank and the next send got a 401.
  • CStarDashboardProvider no longer closes realtime on StrictMode's practice unmount, so useCStarEvents and the live hooks connect. Before, the stream never opened in development. A real unmount still disconnects.

JavaScript SDK 0.18.3: Quick Help errors say why

  • QuickHelpError has a reason next to code. The API now sends the registry code for the status as code (for example rate_limit_exceeded) and the Quick Help cause as reason (for example rate_limited). The embed's error event passes reason too.
  • attachments.del(storagePath, { bucket }) takes the bucket, as attachments.get() does, so files outside email-attachments can be deleted. A path with no file in that bucket now answers 404 instead of deleted: true.
  • The game.puzzles.complete() result type matches the API: id is always a string, and there is no stored field.
  • The API answers the webhook limit (50 per mode) with 409 webhook_limit_reached instead of a 429: it is a count, not a wait. The SDK throws CStarConflictError; delete webhooks you no longer use before creating another one.
  • A 429 with no Retry-After, or one longer than a minute, is not retried: CStarRateLimitError comes back at once instead of after up to three one-minute sleeps. Its retryAfter is the server's Retry-After, and undefined when it sent none (it used to say 60).
  • customerGroups.update() takes description: null to clear a group's description, as an empty string does.
  • import.create() records may carry an importKey: a ticket or article with a key is created once, and sending it again is skipped. The result has alreadyImported and existingIds for those rows.
  • An error built without the server's doc_url (a network error, a non-JSON reply, Quick Help when it is not set up) links to a real entry on the errors page instead of a page that did not exist.

CLI 0.9.2: every command uses the key you pass

  • cstar community, cstar mcp-server and cstar create use --api-key and --base-url like every other command. They used the stored login instead, so a run with a test key acted with a stored live key, on the stored host. mcp-server and community now start with only --api-key, no cstar login needed.
  • With --api-key, the team name and slug are the key's own, so cstar create and cstar seed never name the stored login's team.
  • cstar config apply and cstar seed --from stop a test key before changing statuses, custom fields, SLA rules or quick replies, count only the changes that saved, and exit with code 1 when any change fails.
  • cstar create's dashboard runs on the server: a Next.js Server Component with a server action, or a SvelteKit +page.server.js. It used to read CSTAR_SECRET_KEY in a browser page, where it was undefined. Apps with no server (Vite) get a clear message instead, since a secret key can't stay private there; --type help-center still works anywhere.
  • cstar create no longer sends a "quest completed" call after scaffolding. It used an event name the API doesn't have, so it was refused every time and only spent a request from your hourly limit.

Game state is live only

A behaviour change in the API itself, for every SDK version. Test keys and test data never change live XP, gold, the boss, skills, cosmetics, puzzles or the leaderboards.

  • Every game write (boss damage and spawn, 1-Ups, high fives, skills, cosmetics, puzzle completions) answers a test key with 400 parameter_invalid, which the SDK throws as CStarValidationError. Free 1-Ups and unstored puzzle results with a test key used to work; use a live key for game actions. Game reads still work with a test key.
  • The puzzle completion no longer has a stored field, and its id is always set.
  • An automation's award_xp, award_gold and log_activity do nothing in a test run; the execution lists them as skipped. A reward is at most 100 per action, and a rule over that is refused when saved.
  • A closed test ticket and a CSAT answer on a test ticket pay no XP or gold.
  • POST /game/boss/damage takes the ticket's tkt_ id, as the API returns it, as well as its uuid.
  • GET /game/player answers a new player's starting stats and no longer creates a row.
  • POST /csat/surveys answers 404 (param: agentId) unless the agent is a member of the team.

JavaScript SDK 0.18.2: no retries the API can't make safe

  • webhooks.create, webhooks.listen and export.create no longer send an idempotencyKey, which those endpoints ignore, and no longer retry a network error or 5xx, since the webhook, listener or export may already exist.

CLI 0.9.1, React 0.10.2 and Svelte 0.9.1 need JavaScript SDK 0.18.2

  • The CLI depends on @cstar.help/js ^0.18.2, and React and Svelte take it as a peer dependency in the same range. Install or upgrade @cstar.help/js to 0.18.2 with them.

JavaScript SDK 0.18.1: retries wait for a running request

  • With an idempotencyKey, a 409 idempotency_key_in_use that carries Retry-After now waits and retries within maxRetries, instead of throwing CStarConflictError while the API still runs your earlier attempt.

Idempotency-Key means one request

  • Idempotency-Key now works on every API-key POST and PATCH, except the few that never cache a response (creating API keys, webhooks and webhook listeners, event stream tokens, exports and billing portal sessions). Ticket messages keep their own receipt for the key.
  • The same key with a different body returns 422 idempotency_key_reused. It used to replay the first response for a request you didn't make.
  • While the first request with a key is still running, the key returns 409 idempotency_key_in_use with Retry-After, so two copies of one request never both write.
  • Multipart uploads are compared by their fields and file bytes, so a retry with a new form boundary still counts as the same request.

JavaScript SDK 0.18.0: the SDK matches the real API

  • Breaking: signup always returns { success, requiresConfirmation, message } and sends the confirmation email like the hosted widget. completeSignIn() finishes the link.
  • Breaking: removed tags.create, customFields.get, the sla.list() params, customerId and customerName on ticket update, and the quick-reply category. tags.del() stays as a deprecated alias.
  • Breaking: BossDamageParams.ticketId is required, to match boss/damage, which takes one hit per closed customer ticket.
  • Breaking: WidgetSettingsUpdateParams lists every widget setting with its type and drops its index signature, so a misspelled key is a type error. mode takes script or sdk.
  • Chat keeps its refresh token and renews once on a 401. Tags (merge, remove), custom fields, SLA rules, notifications (isRead, unreadCount) and quick replies send the fields the routes read.

JavaScript SDK 0.17.0 to 0.17.5, React 0.10.1, CLI 0.9.0

  • 0.17.0: custom chat can download received files through the signed-in conversation, with cancellation. The JavaScript SDK and the CLI need Node.js 22 or newer.
  • 0.17.1 and 0.17.2: customer chat sign-in survives reconnects and heartbeats, missed replies come back from history once each, and the browser helpers import cleanly.
  • 0.17.3: request and response types for boss damage, one-ups, high fives, quests, puzzles, cosmetics and seasons match the server.
  • 0.17.4 and 0.17.5: result shapes match the API, CSV exports ask for one resource, private note options are honored and message lists paginate.
  • React 0.10.1 and CLI 0.9.0 came with 0.17.0.

CLI 0.8.6: commands work with just an API key

  • Team commands such as cstar keys, logs and trigger work with --api-key and no cstar login. The CLI finds your team from the key and defaults to production.

JavaScript SDK 0.16.1: realtime catch-up after a reconnect

  • After a dropped connection, realtime replays every missed event. It used to lose them all. Replays use the most specific event type, including ticket.closed.
  • import.create() accepts both documented shapes: { resource, records } and { entityType, records }.

SPA rebind for Quick Help: window.CStarQuickHelp.rescan()

  • Quick Help embeds (data-cstar-quickhelp) now have the same SPA rebind escape hatch that CStarChat and CStarLibrary already shipped: window.CStarQuickHelp.rescan() can be called from a router lifecycle hook after a client-side navigation. Hosts mounted by an earlier route stay mounted; new hosts get discovered and bound; detached hosts get cleaned up so the internal instance list doesn't grow unbounded.
  • Works in two states: if Quick Help wasn't enabled or wasn't on the page at first load, the stub-level rescan() triggers a fresh init (config fetch + module load + mount). If the real api was already installed, rescan() just re-walks the DOM. Both paths are idempotent: calling rescan() repeatedly is safe.
  • WIDGET_VERSION bumps 5 → 6; existing customers pick up the new code on next page load.

CLI 0.8.5: community topics subcommand group

  • cstar community topics create / update / delete: full topic CRUD via the CLI. Previously only listed via cstar community topics. Bare topics still defaults to listing.
  • Needs @cstar.help/js 0.16.0 or newer.

SPA support: window.CStarChat.rescan()

  • Single-page apps (SvelteKit, React Router, Next.js App Router, etc.) can now call window.CStarChat.rescan() after a client-side route change to re-bind any newly-mounted data-cstar-* elements. window.CStarLibrary.rescan() does the same for library widgets.
  • The widget's MutationObserver was also widened to catch panels, message containers, input elements, and other data-cstar-* markup. Previously only newly-mounted launchers triggered a re-bind.
  • cstar community topics create, topics update, and topics delete CLI commands now expose the topic CRUD that was previously only reachable from the dashboard. (CLI 0.8.5 and newer.)

SDK versions as of May 2026

  • @cstar.help/js@0.16.0: bare-resource returns, nine entry points (admin, auth, chat, library, community, quickhelp, proactive, webhook, webhook/node), typed error classes, per-call client.lastMeta, optional offline queue, exports WEBHOOK_EVENT_CATALOG as a runtime symbol consumed by the CLI.
  • @cstar.help/react@0.10.0: chat, library, community, and dashboard providers with matching hooks; works with SSR.
  • @cstar.help/svelte@0.9.0: Svelte 5 rune-based state classes for chat, library, community, and dashboard; subpath exports dropped (single root entry).
  • @cstar.help/cli@0.8.5: 21 commands including automations, seed, create, tutorial, doctor, env, config, community topics create/update/delete; 19 MCP tools.
  • Webhook signatures use Stripe-style format (t=<unix>,v1=<hex>) with 300s replay tolerance. Legacy sha256=<hex> is still verified for backward compatibility but no longer emitted.

SDK v0.2.0: Customer Auth & Library

  • @cstar.help/js/auth: New AuthClient for customer signup, login, and session management
  • LibraryClient: New popularArticles() and stats() methods for public knowledge bases
  • All SDK packages bumped to v0.2.0 (js, cli, react, svelte)
  • 115 tests passing across the JS SDK (13 new auth tests)

Developer Portal Launch

  • Developer documentation portal at /developers
  • Interactive API playground with live requests
  • Framework-specific quickstart guides (React, Svelte, vanilla JS)

CLI Tool + MCP Server

  • @cstar.help/cli: developer CLI with 9 commands
  • MCP server mode for AI agent integration (cstar mcp-server --stdio)
  • Webhook forwarding (cstar listen) for local development
  • API request log streaming with cstar logs --tail

Framework SDKs

  • @cstar.help/react: React hooks with 34 tests
  • @cstar.help/svelte: Svelte 5 rune classes with 32 tests
  • Real-time message and typing subscriptions

TypeScript SDK

  • @cstar.help/js: Core TypeScript client with 102 tests
  • Full CRUD for tickets, customers, articles, and webhooks
  • Webhook signature verification utilities

REST API Foundation

  • REST API v1 at /api/v1/teams/{teamId}
  • API key authentication (secret + publishable)
  • Rate limiting (1,000 req/hour secret, 100 req/hour publishable)
  • Webhook delivery with HMAC-SHA256 signing and retry logic
  • Gamification events: boss battles, level-ups and achievements