@copilotkit/core 2.0.0-rc.14 → 2.0.0-rc.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -10617,11 +10617,11 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
10617
10617
  return null;
10618
10618
  }
10619
10619
  /**
10620
- * A line that opens a new top-level operation: `{"version":"v…` or
10620
+ * A line that opens a new top-level operation: `{"version":"1…` or
10621
10621
  * `{"<operation>":{`. Seen at the start of a line while an earlier object is
10622
10622
  * still unbalanced, it means that object is malformed and has ended.
10623
10623
  */
10624
- const OPERATION_START = new RegExp(`^\\{\\s*"(?:version"\\s*:\\s*"v\\d|(?:${OP_KEYS.join("|")})"\\s*:\\s*\\{)`);
10624
+ const OPERATION_START = new RegExp(`^\\{\\s*"(?:version"\\s*:\\s*"\\d|(?:${OP_KEYS.join("|")})"\\s*:\\s*\\{)`);
10625
10625
  /**
10626
10626
  * Scan the top-level object whose "{" is at `start`. Returns the index just
10627
10627
  * past it and whether it balanced. An unbalanced object ends early (at the
@@ -10672,7 +10672,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
10672
10672
  ];
10673
10673
  /** Whether a value is shaped like one A2UI operation, with named components. */
10674
10674
  function isOperationShape(value) {
10675
- if (!isRecord(value) || value.version !== "v1.0") return false;
10675
+ if (!isRecord(value) || value.version !== _copilotkit_shared.A2UI_VERSION) return false;
10676
10676
  const names = OPERATION_NAMES.filter((name) => name in value);
10677
10677
  if (names.length !== 1 || Object.keys(value).length !== 2) return false;
10678
10678
  const body = value[names[0]];
@@ -11400,6 +11400,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
11400
11400
  chatToggleOpenLabel: "Open chat",
11401
11401
  chatToggleCloseLabel: "Close chat",
11402
11402
  chatScrollToBottomLabel: "Scroll to bottom",
11403
+ chatConnectingLabel: "Loading conversation",
11403
11404
  modalHeaderTitle: "CopilotKit Chat",
11404
11405
  welcomeMessageText: "How can I help you today?",
11405
11406
  reasoningMessageThinkingLabel: "Thinking…",