Skip to content

chore(chat-client): update to 0.2.0 - rename widgets to Website Chats - #513

Merged
CWolfs merged 3 commits into
mainfrom
chore/rename-widget-to-website-chat
Sep 25, 2026
Merged

CWolfs merged 3 commits into
mainfrom
chore/rename-widget-to-website-chat

Conversation

@CWolfs

@CWolfs CWolfs commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The embeddable chat product is now called Website Chat, because "widgets" already means a different system in epilot 360. The Chat API renamed its widgets resource (chat-api!6); this regenerates @epilot/chat-client from the renamed specs and bumps it to 0.2.0 (0.x, so a minor bump for a breaking change). @epilot/sdk and @epilot/cli are regenerated and released by CI after merge.

  • Management: /v1/widgets → /v1/website-chats; listChatWidgets / createChatWidget / getChatWidget / updateChatWidget / deleteChatWidget → listWebsiteChats / createWebsiteChat / getWebsiteChat / updateWebsiteChat / deleteWebsiteChat
  • Public: getPublicChatWidget → getPublicWebsiteChat (/v1/website-chats/{website_chat_id}/configuration); bootstrap widget_key → website_chat_id, widget_origin → frame_origin; sessions widget → website_chat
  • Schemas: ChatWidget → WebsiteChat, ListChatWidgetsResponse → ListWebsiteChatsResponse (widgets → website_chats), Create/UpdateChatWidgetRequest → Create/UpdateWebsiteChatRequest, Widget → PublicWebsiteChat, WidgetDesign → WebsiteChatDesign
  • Fields: widget_id → website_chat_id, website_chat → settings, website_chat_embed → embed
  • Also new (in the Chat API spec but never regenerated here): anonymous email verification operations getChatVerification, startChatEmailVerification, verifyChatEmailCode, cancelChatVerification, schema VerificationState, authentication.email_code, 6 error codes
  • update-openapi.cjs reads the management spec from its new path src/website-chats/definition.json

It's breaking for the old names with no aliases, but the Chat API has no production consumers yet. The only consumer is epilot360-agent-builder, which is updated once the CI release of @epilot/sdk is out.

Test plan

  • chat-client: build, tests (3/3), biome
  • CI green (CI also runs pnpm generate-sdk + build + test for @epilot/sdk)

Richard Griffiths and others added 3 commits September 25, 2026 16:14
The Chat API renamed its widgets resource to Website Chats (the
embeddable chat product is now called Website Chat): /v1/widgets ->
/v1/website-chats, *ChatWidget(s) operations -> *WebsiteChat(s),
widget_id -> website_chat_id, website_chat -> settings,
website_chat_embed -> embed, bootstrap website_chat_id / frame_origin,
sessions website_chat. Also picks up the anonymous email verification
operations. Regenerates the @epilot/sdk chat definitions and the CLI
chat entry.

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
@CWolfs CWolfs changed the title chore(chat-client): regenerate after renaming widgets to Website Chats chore(chat-client): update to 0.2.0 - rename widgets to Website Chats Sep 25, 2026
@CWolfs
CWolfs merged commit 8a81f79 into main Sep 25, 2026
3 checks passed
@CWolfs
CWolfs deleted the chore/rename-widget-to-website-chat branch September 25, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant