@copilotkit/runtime 1.51.4 → 1.51.5-next.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @copilotkit/runtime
2
2
 
3
+ ## 1.51.5-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - ef0f539: Add reasoning support and default components for reasoning messages
8
+ - Updated dependencies [ef0f539]
9
+ - @copilotkitnext/runtime@1.51.5-next.0
10
+ - @copilotkit/shared@1.51.5-next.0
11
+ - @copilotkitnext/agent@1.51.5-next.0
12
+
3
13
  ## 1.51.4
4
14
 
5
15
  ### Patch Changes
package/dist/index.js CHANGED
@@ -72,7 +72,7 @@ var require_package = __commonJS({
72
72
  publishConfig: {
73
73
  access: "public"
74
74
  },
75
- version: "1.51.4",
75
+ version: "1.51.5-next.0",
76
76
  sideEffects: false,
77
77
  main: "./dist/index.js",
78
78
  module: "./dist/index.mjs",
@@ -122,8 +122,8 @@ var require_package = __commonJS({
122
122
  vitest: "^3.2.4"
123
123
  },
124
124
  dependencies: {
125
- "@ag-ui/client": "^0.0.43",
126
- "@ag-ui/core": "^0.0.43",
125
+ "@ag-ui/client": "^0.0.45",
126
+ "@ag-ui/core": "^0.0.45",
127
127
  "@ag-ui/langgraph": "^0.0.24",
128
128
  "@copilotkit/shared": "workspace:*",
129
129
  "@copilotkitnext/agent": "workspace:*",
@@ -3131,6 +3131,9 @@ function aguiToGQL(messages, actions, coAgentStateRenders) {
3131
3131
  }
3132
3132
  continue;
3133
3133
  }
3134
+ if (message.role === "reasoning") {
3135
+ continue;
3136
+ }
3134
3137
  if (message.role === "developer" || message.role === "system" || message.role === "assistant" || message.role === "user") {
3135
3138
  gqlMessages.push(aguiTextMessageToGQLMessage(message));
3136
3139
  continue;