@copilotkit/react-core 1.8.13-next.0 → 1.8.13-next.1

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.mjs CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-OSVDTMKA.mjs";
12
12
  import {
13
13
  useLangGraphInterrupt
14
- } from "./chunk-NAHLWY3B.mjs";
14
+ } from "./chunk-YXPFUKGZ.mjs";
15
15
  import {
16
16
  useMakeCopilotDocumentReadable
17
17
  } from "./chunk-GBAZTXPQ.mjs";
@@ -23,7 +23,7 @@ import {
23
23
  startAgent,
24
24
  stopAgent,
25
25
  useCoAgent
26
- } from "./chunk-SKHEUX6C.mjs";
26
+ } from "./chunk-D5NLDVW2.mjs";
27
27
  import {
28
28
  useCopilotAdditionalInstructions
29
29
  } from "./chunk-4EXRQ5D5.mjs";
@@ -35,7 +35,7 @@ import {
35
35
  } from "./chunk-INRN7B2F.mjs";
36
36
  import {
37
37
  useCopilotChat
38
- } from "./chunk-WZ2YMQNC.mjs";
38
+ } from "./chunk-KQPKROYS.mjs";
39
39
  import {
40
40
  useCopilotReadable
41
41
  } from "./chunk-2ZKWBDBN.mjs";
@@ -62,7 +62,7 @@ import {
62
62
  CopilotMessagesContext,
63
63
  useCopilotMessagesContext
64
64
  } from "./chunk-DCTJZ742.mjs";
65
- import "./chunk-QBAPVJ7D.mjs";
65
+ import "./chunk-AW2AIX74.mjs";
66
66
  import "./chunk-4CEQJ2X6.mjs";
67
67
  import {
68
68
  useCopilotRuntimeClient
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
- "version": "1.8.13-next.0",
12
+ "version": "1.8.13-next.1",
13
13
  "sideEffects": false,
14
14
  "main": "./dist/index.js",
15
15
  "module": "./dist/index.mjs",
@@ -43,8 +43,8 @@
43
43
  "@scarf/scarf": "^1.3.0",
44
44
  "react-markdown": "^8.0.7",
45
45
  "untruncate-json": "^0.0.1",
46
- "@copilotkit/runtime-client-gql": "1.8.13-next.0",
47
- "@copilotkit/shared": "1.8.13-next.0"
46
+ "@copilotkit/runtime-client-gql": "1.8.13-next.1",
47
+ "@copilotkit/shared": "1.8.13-next.1"
48
48
  },
49
49
  "keywords": [
50
50
  "copilotkit",
@@ -586,7 +586,7 @@ export function useChat(options: UseChatOptions): UseChatHelpers {
586
586
  message: ActionExecutionMessage,
587
587
  ) => {
588
588
  const isInterruptAction = interruptMessages.find((m) => m.id === message.id);
589
- followUp = action?.followUp || !isInterruptAction;
589
+ followUp = action?.followUp ?? !isInterruptAction;
590
590
  const resultMessage = await executeAction({
591
591
  onFunctionCall,
592
592
  previousMessages,