@liveblocks/core 2.25.0-aiprivatebeta12 → 2.25.0-aiprivatebeta13

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.cjs CHANGED
@@ -6,7 +6,7 @@ var __export = (target, all) => {
6
6
 
7
7
  // src/version.ts
8
8
  var PKG_NAME = "@liveblocks/core";
9
- var PKG_VERSION = "2.25.0-aiprivatebeta12";
9
+ var PKG_VERSION = "2.25.0-aiprivatebeta13";
10
10
  var PKG_FORMAT = "cjs";
11
11
 
12
12
  // src/dupe-detection.ts
@@ -3918,7 +3918,7 @@ function createStore_forChatMessages(toolsStore, setToolResult) {
3918
3918
  }
3919
3919
  if (message.role === "assistant" && message.status === "awaiting-tool") {
3920
3920
  for (const toolCall of message.contentSoFar.filter(
3921
- (part) => part.type === "tool-invocation" && part.status === "executing"
3921
+ (part) => part.type === "tool-invocation" && part.stage === "executing"
3922
3922
  )) {
3923
3923
  if (seenToolCallIds.has(toolCall.invocationId)) {
3924
3924
  continue;
@@ -4459,7 +4459,7 @@ function makeCreateSocketDelegateForAi(baseUrl, WebSocketPolyfill) {
4459
4459
  }
4460
4460
  const url2 = new URL(baseUrl);
4461
4461
  url2.protocol = url2.protocol === "http:" ? "ws" : "wss";
4462
- url2.pathname = "/ai/v2";
4462
+ url2.pathname = "/ai/v3";
4463
4463
  if (authValue.type === "secret") {
4464
4464
  url2.searchParams.set("tok", authValue.token.raw);
4465
4465
  } else if (authValue.type === "public") {