Update changelog for version 0.1.11, enhance assistant message extraction, add fallback event emission on API errors, and improve custom card registration

This commit is contained in:
techartdev
2026-02-20 16:26:59 +02:00
parent 612deda8b9
commit e6fb9e2914
5 changed files with 118 additions and 32 deletions
@@ -836,16 +836,23 @@ class OpenClawChatCardEditor extends HTMLElement {
// ── Card registration ───────────────────────────────────────────────────────
customElements.define("openclaw-chat-card-editor", OpenClawChatCardEditor);
customElements.define("openclaw-chat-card", OpenClawChatCard);
if (!customElements.get("openclaw-chat-card-editor")) {
customElements.define("openclaw-chat-card-editor", OpenClawChatCardEditor);
}
if (!customElements.get("openclaw-chat-card")) {
customElements.define("openclaw-chat-card", OpenClawChatCard);
}
window.customCards = window.customCards || [];
window.customCards.push({
type: "openclaw-chat-card",
name: "OpenClaw Chat",
description: "Chat interface for OpenClaw AI Assistant with streaming, voice, and file support.",
preview: true,
});
if (!window.customCards.some((card) => card?.type === "openclaw-chat-card")) {
window.customCards.push({
type: "openclaw-chat-card",
name: "OpenClaw Chat",
description: "Chat interface for OpenClaw AI Assistant with streaming, voice, and file support.",
preview: true,
});
}
console.info(
`%c OPENCLAW-CHAT-CARD %c v${CARD_VERSION} `,