@copilotkit/runtime 0.0.0-main-20260220223427 → 0.0.0-main-20260403195251

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.
Files changed (529) hide show
  1. package/CHANGELOG.md +464 -70
  2. package/dist/_virtual/_rolldown/runtime.mjs +25 -1
  3. package/dist/agent/index.cjs +654 -0
  4. package/dist/agent/index.cjs.map +1 -0
  5. package/dist/agent/index.d.cts +263 -0
  6. package/dist/agent/index.d.cts.map +1 -0
  7. package/dist/agent/index.d.mts +263 -0
  8. package/dist/agent/index.d.mts.map +1 -0
  9. package/dist/agent/index.d.ts +263 -0
  10. package/dist/agent/index.d.ts.map +1 -0
  11. package/dist/agent/index.mjs +646 -0
  12. package/dist/agent/index.mjs.map +1 -0
  13. package/dist/graphql/inputs/action.input.d.ts +13 -0
  14. package/dist/graphql/inputs/action.input.d.ts.map +1 -0
  15. package/dist/graphql/inputs/agent-session.input.d.ts +10 -0
  16. package/dist/graphql/inputs/agent-session.input.d.ts.map +1 -0
  17. package/dist/graphql/inputs/agent-state.input.d.ts +10 -0
  18. package/dist/graphql/inputs/agent-state.input.d.ts.map +1 -0
  19. package/dist/graphql/inputs/extensions.input.d.ts +16 -0
  20. package/dist/graphql/inputs/extensions.input.d.ts.map +1 -0
  21. package/dist/graphql/inputs/forwarded-parameters.input.d.ts +13 -0
  22. package/dist/graphql/inputs/forwarded-parameters.input.d.ts.map +1 -0
  23. package/dist/graphql/inputs/message.input.d.ts +48 -0
  24. package/dist/graphql/inputs/message.input.d.ts.map +1 -0
  25. package/dist/graphql/message-conversion/agui-to-gql.cjs +6 -2
  26. package/dist/graphql/message-conversion/agui-to-gql.cjs.map +1 -1
  27. package/dist/graphql/message-conversion/agui-to-gql.mjs +6 -2
  28. package/dist/graphql/message-conversion/agui-to-gql.mjs.map +1 -1
  29. package/dist/graphql/types/base/index.d.ts +9 -0
  30. package/dist/graphql/types/base/index.d.ts.map +1 -0
  31. package/dist/graphql/types/converted/index.d.ts +78 -0
  32. package/dist/graphql/types/converted/index.d.ts.map +1 -0
  33. package/dist/graphql/types/copilot-response.type.d.ts +12 -0
  34. package/dist/graphql/types/copilot-response.type.d.ts.map +1 -0
  35. package/dist/graphql/types/enums.d.ts +17 -0
  36. package/dist/graphql/types/enums.d.ts.map +1 -0
  37. package/dist/graphql/types/extensions-response.type.d.ts +18 -0
  38. package/dist/graphql/types/extensions-response.type.d.ts.map +1 -0
  39. package/dist/graphql/types/message-status.type.d.ts +25 -0
  40. package/dist/graphql/types/message-status.type.d.ts.map +1 -0
  41. package/dist/graphql/types/response-status.type.d.ts +23 -0
  42. package/dist/graphql/types/response-status.type.d.ts.map +1 -0
  43. package/dist/index.cjs +2 -0
  44. package/dist/index.d.cts +2 -1
  45. package/dist/index.d.mts +2 -1
  46. package/dist/index.d.ts +29 -0
  47. package/dist/index.mjs +2 -1
  48. package/dist/langgraph.d.ts +5 -0
  49. package/dist/lib/cloud/index.d.ts +9 -0
  50. package/dist/lib/cloud/index.d.ts.map +1 -0
  51. package/dist/lib/index.d.ts +51 -0
  52. package/dist/lib/index.d.ts.map +1 -0
  53. package/dist/lib/integrations/index.d.ts +7 -0
  54. package/dist/lib/integrations/nest/index.d.ts +9 -0
  55. package/dist/lib/integrations/nest/index.d.ts.map +1 -0
  56. package/dist/lib/integrations/nextjs/app-router.cjs +2 -2
  57. package/dist/lib/integrations/nextjs/app-router.cjs.map +1 -1
  58. package/dist/lib/integrations/nextjs/app-router.d.ts +10 -0
  59. package/dist/lib/integrations/nextjs/app-router.d.ts.map +1 -0
  60. package/dist/lib/integrations/nextjs/app-router.mjs +1 -1
  61. package/dist/lib/integrations/nextjs/app-router.mjs.map +1 -1
  62. package/dist/lib/integrations/nextjs/pages-router.d.ts +15 -0
  63. package/dist/lib/integrations/nextjs/pages-router.d.ts.map +1 -0
  64. package/dist/lib/integrations/node-express/index.d.ts +9 -0
  65. package/dist/lib/integrations/node-express/index.d.ts.map +1 -0
  66. package/dist/lib/integrations/node-http/index.cjs +2 -3
  67. package/dist/lib/integrations/node-http/index.cjs.map +1 -1
  68. package/dist/lib/integrations/node-http/index.d.ts +9 -0
  69. package/dist/lib/integrations/node-http/index.d.ts.map +1 -0
  70. package/dist/lib/integrations/node-http/index.mjs +1 -1
  71. package/dist/lib/integrations/node-http/index.mjs.map +1 -1
  72. package/dist/lib/integrations/shared.cjs +1 -1
  73. package/dist/lib/integrations/shared.cjs.map +1 -1
  74. package/dist/lib/integrations/shared.d.ts +57 -0
  75. package/dist/lib/integrations/shared.d.ts.map +1 -0
  76. package/dist/lib/integrations/shared.mjs +1 -1
  77. package/dist/lib/integrations/shared.mjs.map +1 -1
  78. package/dist/lib/logger.d.ts +13 -0
  79. package/dist/lib/logger.d.ts.map +1 -0
  80. package/dist/lib/observability.d.ts +72 -0
  81. package/dist/lib/observability.d.ts.map +1 -0
  82. package/dist/lib/runtime/agent-integrations/langgraph/agent.cjs +5 -2
  83. package/dist/lib/runtime/agent-integrations/langgraph/agent.cjs.map +1 -1
  84. package/dist/lib/runtime/agent-integrations/langgraph/agent.d.cts +36 -25
  85. package/dist/lib/runtime/agent-integrations/langgraph/agent.d.cts.map +1 -1
  86. package/dist/lib/runtime/agent-integrations/langgraph/agent.d.mts +37 -26
  87. package/dist/lib/runtime/agent-integrations/langgraph/agent.d.mts.map +1 -1
  88. package/dist/lib/runtime/agent-integrations/langgraph/agent.d.ts +862 -0
  89. package/dist/lib/runtime/agent-integrations/langgraph/agent.d.ts.map +1 -0
  90. package/dist/lib/runtime/agent-integrations/langgraph/agent.mjs +5 -2
  91. package/dist/lib/runtime/agent-integrations/langgraph/agent.mjs.map +1 -1
  92. package/dist/lib/runtime/agent-integrations/langgraph/consts.d.ts +20 -0
  93. package/dist/lib/runtime/agent-integrations/langgraph/consts.d.ts.map +1 -0
  94. package/dist/lib/runtime/agent-integrations/langgraph/index.d.ts +3 -0
  95. package/dist/lib/runtime/copilot-runtime.cjs +13 -6
  96. package/dist/lib/runtime/copilot-runtime.cjs.map +1 -1
  97. package/dist/lib/runtime/copilot-runtime.d.cts +14 -8
  98. package/dist/lib/runtime/copilot-runtime.d.cts.map +1 -1
  99. package/dist/lib/runtime/copilot-runtime.d.mts +14 -8
  100. package/dist/lib/runtime/copilot-runtime.d.mts.map +1 -1
  101. package/dist/lib/runtime/copilot-runtime.d.ts +221 -0
  102. package/dist/lib/runtime/copilot-runtime.d.ts.map +1 -0
  103. package/dist/lib/runtime/copilot-runtime.mjs +14 -7
  104. package/dist/lib/runtime/copilot-runtime.mjs.map +1 -1
  105. package/dist/lib/runtime/mcp-tools-utils.d.ts +57 -0
  106. package/dist/lib/runtime/mcp-tools-utils.d.ts.map +1 -0
  107. package/dist/lib/runtime/telemetry-agent-runner.cjs +2 -2
  108. package/dist/lib/runtime/telemetry-agent-runner.cjs.map +1 -1
  109. package/dist/lib/runtime/telemetry-agent-runner.d.cts +2 -1
  110. package/dist/lib/runtime/telemetry-agent-runner.d.cts.map +1 -1
  111. package/dist/lib/runtime/telemetry-agent-runner.d.mts +2 -1
  112. package/dist/lib/runtime/telemetry-agent-runner.d.mts.map +1 -1
  113. package/dist/lib/runtime/telemetry-agent-runner.d.ts +56 -0
  114. package/dist/lib/runtime/telemetry-agent-runner.d.ts.map +1 -0
  115. package/dist/lib/runtime/telemetry-agent-runner.mjs +1 -1
  116. package/dist/lib/runtime/telemetry-agent-runner.mjs.map +1 -1
  117. package/dist/lib/runtime/types.d.ts +36 -0
  118. package/dist/lib/runtime/types.d.ts.map +1 -0
  119. package/dist/lib/telemetry-client.cjs +1 -1
  120. package/dist/lib/telemetry-client.mjs +1 -1
  121. package/dist/package.cjs +59 -42
  122. package/dist/package.mjs +59 -42
  123. package/dist/service-adapters/anthropic/anthropic-adapter.cjs +12 -0
  124. package/dist/service-adapters/anthropic/anthropic-adapter.cjs.map +1 -1
  125. package/dist/service-adapters/anthropic/anthropic-adapter.d.cts +2 -0
  126. package/dist/service-adapters/anthropic/anthropic-adapter.d.cts.map +1 -1
  127. package/dist/service-adapters/anthropic/anthropic-adapter.d.mts +2 -0
  128. package/dist/service-adapters/anthropic/anthropic-adapter.d.mts.map +1 -1
  129. package/dist/service-adapters/anthropic/anthropic-adapter.d.ts +56 -0
  130. package/dist/service-adapters/anthropic/anthropic-adapter.d.ts.map +1 -0
  131. package/dist/service-adapters/anthropic/anthropic-adapter.mjs +12 -0
  132. package/dist/service-adapters/anthropic/anthropic-adapter.mjs.map +1 -1
  133. package/dist/service-adapters/bedrock/bedrock-adapter.d.ts +31 -0
  134. package/dist/service-adapters/bedrock/bedrock-adapter.d.ts.map +1 -0
  135. package/dist/service-adapters/empty/empty-adapter.d.ts +12 -0
  136. package/dist/service-adapters/empty/empty-adapter.d.ts.map +1 -0
  137. package/dist/service-adapters/events.d.ts +185 -0
  138. package/dist/service-adapters/events.d.ts.map +1 -0
  139. package/dist/service-adapters/experimental/ollama/ollama-adapter.d.ts +17 -0
  140. package/dist/service-adapters/experimental/ollama/ollama-adapter.d.ts.map +1 -0
  141. package/dist/service-adapters/google/google-genai-adapter.d.ts +26 -0
  142. package/dist/service-adapters/google/google-genai-adapter.d.ts.map +1 -0
  143. package/dist/service-adapters/groq/groq-adapter.cjs +13 -0
  144. package/dist/service-adapters/groq/groq-adapter.cjs.map +1 -1
  145. package/dist/service-adapters/groq/groq-adapter.d.cts +2 -0
  146. package/dist/service-adapters/groq/groq-adapter.d.cts.map +1 -1
  147. package/dist/service-adapters/groq/groq-adapter.d.mts +2 -0
  148. package/dist/service-adapters/groq/groq-adapter.d.mts.map +1 -1
  149. package/dist/service-adapters/groq/groq-adapter.d.ts +40 -0
  150. package/dist/service-adapters/groq/groq-adapter.d.ts.map +1 -0
  151. package/dist/service-adapters/groq/groq-adapter.mjs +13 -0
  152. package/dist/service-adapters/groq/groq-adapter.mjs.map +1 -1
  153. package/dist/service-adapters/index.d.cts +1 -0
  154. package/dist/service-adapters/index.d.mts +1 -0
  155. package/dist/service-adapters/index.d.ts +15 -0
  156. package/dist/service-adapters/langchain/langchain-adapter.d.ts +32 -0
  157. package/dist/service-adapters/langchain/langchain-adapter.d.ts.map +1 -0
  158. package/dist/service-adapters/langchain/langserve.d.ts +24 -0
  159. package/dist/service-adapters/langchain/langserve.d.ts.map +1 -0
  160. package/dist/service-adapters/langchain/types.d.ts +11 -0
  161. package/dist/service-adapters/langchain/types.d.ts.map +1 -0
  162. package/dist/service-adapters/openai/openai-adapter.cjs +17 -4
  163. package/dist/service-adapters/openai/openai-adapter.cjs.map +1 -1
  164. package/dist/service-adapters/openai/openai-adapter.d.cts +2 -0
  165. package/dist/service-adapters/openai/openai-adapter.d.cts.map +1 -1
  166. package/dist/service-adapters/openai/openai-adapter.d.mts +5 -3
  167. package/dist/service-adapters/openai/openai-adapter.d.mts.map +1 -1
  168. package/dist/service-adapters/openai/openai-adapter.d.ts +49 -0
  169. package/dist/service-adapters/openai/openai-adapter.d.ts.map +1 -0
  170. package/dist/service-adapters/openai/openai-adapter.mjs +16 -5
  171. package/dist/service-adapters/openai/openai-adapter.mjs.map +1 -1
  172. package/dist/service-adapters/openai/openai-assistant-adapter.d.mts +2 -2
  173. package/dist/service-adapters/openai/openai-assistant-adapter.d.ts +59 -0
  174. package/dist/service-adapters/openai/openai-assistant-adapter.d.ts.map +1 -0
  175. package/dist/service-adapters/service-adapter.d.cts +8 -0
  176. package/dist/service-adapters/service-adapter.d.cts.map +1 -1
  177. package/dist/service-adapters/service-adapter.d.mts +8 -0
  178. package/dist/service-adapters/service-adapter.d.mts.map +1 -1
  179. package/dist/service-adapters/service-adapter.d.ts +45 -0
  180. package/dist/service-adapters/service-adapter.d.ts.map +1 -0
  181. package/dist/service-adapters/shared/error-utils.d.ts +12 -0
  182. package/dist/service-adapters/shared/error-utils.d.ts.map +1 -0
  183. package/dist/service-adapters/shared/index.d.mts +2 -1
  184. package/dist/service-adapters/shared/sdk-client-utils.cjs +17 -0
  185. package/dist/service-adapters/shared/sdk-client-utils.cjs.map +1 -0
  186. package/dist/service-adapters/shared/sdk-client-utils.d.cts +14 -0
  187. package/dist/service-adapters/shared/sdk-client-utils.d.cts.map +1 -0
  188. package/dist/service-adapters/shared/sdk-client-utils.d.mts +14 -0
  189. package/dist/service-adapters/shared/sdk-client-utils.d.mts.map +1 -0
  190. package/dist/service-adapters/shared/sdk-client-utils.d.ts +14 -0
  191. package/dist/service-adapters/shared/sdk-client-utils.d.ts.map +1 -0
  192. package/dist/service-adapters/shared/sdk-client-utils.mjs +16 -0
  193. package/dist/service-adapters/shared/sdk-client-utils.mjs.map +1 -0
  194. package/dist/service-adapters/unify/unify-adapter.d.ts +20 -0
  195. package/dist/service-adapters/unify/unify-adapter.d.ts.map +1 -0
  196. package/dist/utils/failed-response-status-reasons.d.ts +58 -0
  197. package/dist/utils/failed-response-status-reasons.d.ts.map +1 -0
  198. package/dist/v2/index.cjs +41 -15
  199. package/dist/v2/index.d.cts +14 -2
  200. package/dist/v2/index.d.mts +14 -2
  201. package/dist/v2/index.d.ts +15 -0
  202. package/dist/v2/index.mjs +13 -4
  203. package/dist/v2/runtime/endpoints/express-single.cjs +190 -0
  204. package/dist/v2/runtime/endpoints/express-single.cjs.map +1 -0
  205. package/dist/v2/runtime/endpoints/express-single.d.cts +16 -0
  206. package/dist/v2/runtime/endpoints/express-single.d.cts.map +1 -0
  207. package/dist/v2/runtime/endpoints/express-single.d.mts +16 -0
  208. package/dist/v2/runtime/endpoints/express-single.d.mts.map +1 -0
  209. package/dist/v2/runtime/endpoints/express-single.d.ts +16 -0
  210. package/dist/v2/runtime/endpoints/express-single.d.ts.map +1 -0
  211. package/dist/v2/runtime/endpoints/express-single.mjs +187 -0
  212. package/dist/v2/runtime/endpoints/express-single.mjs.map +1 -0
  213. package/dist/v2/runtime/endpoints/express-utils.cjs +119 -0
  214. package/dist/v2/runtime/endpoints/express-utils.cjs.map +1 -0
  215. package/dist/v2/runtime/endpoints/express-utils.mjs +117 -0
  216. package/dist/v2/runtime/endpoints/express-utils.mjs.map +1 -0
  217. package/dist/v2/runtime/endpoints/express.cjs +218 -0
  218. package/dist/v2/runtime/endpoints/express.cjs.map +1 -0
  219. package/dist/v2/runtime/endpoints/express.d.cts +16 -0
  220. package/dist/v2/runtime/endpoints/express.d.cts.map +1 -0
  221. package/dist/v2/runtime/endpoints/express.d.mts +16 -0
  222. package/dist/v2/runtime/endpoints/express.d.mts.map +1 -0
  223. package/dist/v2/runtime/endpoints/express.d.ts +16 -0
  224. package/dist/v2/runtime/endpoints/express.d.ts.map +1 -0
  225. package/dist/v2/runtime/endpoints/express.mjs +215 -0
  226. package/dist/v2/runtime/endpoints/express.mjs.map +1 -0
  227. package/dist/v2/runtime/endpoints/hono-single.cjs +141 -0
  228. package/dist/v2/runtime/endpoints/hono-single.cjs.map +1 -0
  229. package/dist/v2/runtime/endpoints/hono-single.d.cts +41 -0
  230. package/dist/v2/runtime/endpoints/hono-single.d.cts.map +1 -0
  231. package/dist/v2/runtime/endpoints/hono-single.d.mts +41 -0
  232. package/dist/v2/runtime/endpoints/hono-single.d.mts.map +1 -0
  233. package/dist/v2/runtime/endpoints/hono-single.d.ts +41 -0
  234. package/dist/v2/runtime/endpoints/hono-single.d.ts.map +1 -0
  235. package/dist/v2/runtime/endpoints/hono-single.mjs +140 -0
  236. package/dist/v2/runtime/endpoints/hono-single.mjs.map +1 -0
  237. package/dist/v2/runtime/endpoints/hono.cjs +249 -0
  238. package/dist/v2/runtime/endpoints/hono.cjs.map +1 -0
  239. package/dist/v2/runtime/endpoints/hono.d.cts +164 -0
  240. package/dist/v2/runtime/endpoints/hono.d.cts.map +1 -0
  241. package/dist/v2/runtime/endpoints/hono.d.mts +164 -0
  242. package/dist/v2/runtime/endpoints/hono.d.mts.map +1 -0
  243. package/dist/v2/runtime/endpoints/hono.d.ts +164 -0
  244. package/dist/v2/runtime/endpoints/hono.d.ts.map +1 -0
  245. package/dist/v2/runtime/endpoints/hono.mjs +248 -0
  246. package/dist/v2/runtime/endpoints/hono.mjs.map +1 -0
  247. package/dist/v2/runtime/endpoints/index.d.cts +5 -0
  248. package/dist/v2/runtime/endpoints/index.d.mts +5 -0
  249. package/dist/v2/runtime/endpoints/index.d.ts +5 -0
  250. package/dist/v2/runtime/endpoints/single-route-helpers.cjs +68 -0
  251. package/dist/v2/runtime/endpoints/single-route-helpers.cjs.map +1 -0
  252. package/dist/v2/runtime/endpoints/single-route-helpers.mjs +65 -0
  253. package/dist/v2/runtime/endpoints/single-route-helpers.mjs.map +1 -0
  254. package/dist/v2/runtime/handlers/get-runtime-info.cjs +51 -0
  255. package/dist/v2/runtime/handlers/get-runtime-info.cjs.map +1 -0
  256. package/dist/v2/runtime/handlers/get-runtime-info.mjs +51 -0
  257. package/dist/v2/runtime/handlers/get-runtime-info.mjs.map +1 -0
  258. package/dist/v2/runtime/handlers/handle-connect.cjs +49 -0
  259. package/dist/v2/runtime/handlers/handle-connect.cjs.map +1 -0
  260. package/dist/v2/runtime/handlers/handle-connect.mjs +49 -0
  261. package/dist/v2/runtime/handlers/handle-connect.mjs.map +1 -0
  262. package/dist/v2/runtime/handlers/handle-run.cjs +61 -0
  263. package/dist/v2/runtime/handlers/handle-run.cjs.map +1 -0
  264. package/dist/v2/runtime/handlers/handle-run.mjs +61 -0
  265. package/dist/v2/runtime/handlers/handle-run.mjs.map +1 -0
  266. package/dist/v2/runtime/handlers/handle-stop.cjs +47 -0
  267. package/dist/v2/runtime/handlers/handle-stop.cjs.map +1 -0
  268. package/dist/v2/runtime/handlers/handle-stop.mjs +46 -0
  269. package/dist/v2/runtime/handlers/handle-stop.mjs.map +1 -0
  270. package/dist/v2/runtime/handlers/handle-transcribe.cjs +112 -0
  271. package/dist/v2/runtime/handlers/handle-transcribe.cjs.map +1 -0
  272. package/dist/v2/runtime/handlers/handle-transcribe.mjs +111 -0
  273. package/dist/v2/runtime/handlers/handle-transcribe.mjs.map +1 -0
  274. package/dist/v2/runtime/handlers/header-utils.cjs +26 -0
  275. package/dist/v2/runtime/handlers/header-utils.cjs.map +1 -0
  276. package/dist/v2/runtime/handlers/header-utils.mjs +25 -0
  277. package/dist/v2/runtime/handlers/header-utils.mjs.map +1 -0
  278. package/dist/v2/runtime/handlers/intelligence/connect.cjs +37 -0
  279. package/dist/v2/runtime/handlers/intelligence/connect.cjs.map +1 -0
  280. package/dist/v2/runtime/handlers/intelligence/connect.mjs +37 -0
  281. package/dist/v2/runtime/handlers/intelligence/connect.mjs.map +1 -0
  282. package/dist/v2/runtime/handlers/intelligence/run.cjs +89 -0
  283. package/dist/v2/runtime/handlers/intelligence/run.cjs.map +1 -0
  284. package/dist/v2/runtime/handlers/intelligence/run.mjs +88 -0
  285. package/dist/v2/runtime/handlers/intelligence/run.mjs.map +1 -0
  286. package/dist/v2/runtime/handlers/intelligence/thread-names.cjs +146 -0
  287. package/dist/v2/runtime/handlers/intelligence/thread-names.cjs.map +1 -0
  288. package/dist/v2/runtime/handlers/intelligence/thread-names.mjs +145 -0
  289. package/dist/v2/runtime/handlers/intelligence/thread-names.mjs.map +1 -0
  290. package/dist/v2/runtime/handlers/intelligence/threads.cjs +159 -0
  291. package/dist/v2/runtime/handlers/intelligence/threads.cjs.map +1 -0
  292. package/dist/v2/runtime/handlers/intelligence/threads.mjs +154 -0
  293. package/dist/v2/runtime/handlers/intelligence/threads.mjs.map +1 -0
  294. package/dist/v2/runtime/handlers/shared/agent-utils.cjs +74 -0
  295. package/dist/v2/runtime/handlers/shared/agent-utils.cjs.map +1 -0
  296. package/dist/v2/runtime/handlers/shared/agent-utils.mjs +70 -0
  297. package/dist/v2/runtime/handlers/shared/agent-utils.mjs.map +1 -0
  298. package/dist/v2/runtime/handlers/shared/intelligence-utils.cjs +21 -0
  299. package/dist/v2/runtime/handlers/shared/intelligence-utils.cjs.map +1 -0
  300. package/dist/v2/runtime/handlers/shared/intelligence-utils.mjs +20 -0
  301. package/dist/v2/runtime/handlers/shared/intelligence-utils.mjs.map +1 -0
  302. package/dist/v2/runtime/handlers/shared/json-response.cjs +12 -0
  303. package/dist/v2/runtime/handlers/shared/json-response.cjs.map +1 -0
  304. package/dist/v2/runtime/handlers/shared/json-response.mjs +10 -0
  305. package/dist/v2/runtime/handlers/shared/json-response.mjs.map +1 -0
  306. package/dist/v2/runtime/handlers/shared/resolve-intelligence-user.cjs +20 -0
  307. package/dist/v2/runtime/handlers/shared/resolve-intelligence-user.cjs.map +1 -0
  308. package/dist/v2/runtime/handlers/shared/resolve-intelligence-user.mjs +20 -0
  309. package/dist/v2/runtime/handlers/shared/resolve-intelligence-user.mjs.map +1 -0
  310. package/dist/v2/runtime/handlers/shared/sse-response.cjs +69 -0
  311. package/dist/v2/runtime/handlers/shared/sse-response.cjs.map +1 -0
  312. package/dist/v2/runtime/handlers/shared/sse-response.mjs +68 -0
  313. package/dist/v2/runtime/handlers/shared/sse-response.mjs.map +1 -0
  314. package/dist/v2/runtime/handlers/sse/connect.cjs +18 -0
  315. package/dist/v2/runtime/handlers/sse/connect.cjs.map +1 -0
  316. package/dist/v2/runtime/handlers/sse/connect.mjs +18 -0
  317. package/dist/v2/runtime/handlers/sse/connect.mjs.map +1 -0
  318. package/dist/v2/runtime/handlers/sse/run.cjs +18 -0
  319. package/dist/v2/runtime/handlers/sse/run.cjs.map +1 -0
  320. package/dist/v2/runtime/handlers/sse/run.mjs +18 -0
  321. package/dist/v2/runtime/handlers/sse/run.mjs.map +1 -0
  322. package/dist/v2/runtime/index.d.cts +13 -0
  323. package/dist/v2/runtime/index.d.mts +14 -0
  324. package/dist/v2/runtime/index.d.ts +13 -0
  325. package/dist/v2/runtime/intelligence-platform/client.cjs +333 -0
  326. package/dist/v2/runtime/intelligence-platform/client.cjs.map +1 -0
  327. package/dist/v2/runtime/intelligence-platform/client.d.cts +336 -0
  328. package/dist/v2/runtime/intelligence-platform/client.d.cts.map +1 -0
  329. package/dist/v2/runtime/intelligence-platform/client.d.mts +336 -0
  330. package/dist/v2/runtime/intelligence-platform/client.d.mts.map +1 -0
  331. package/dist/v2/runtime/intelligence-platform/client.d.ts +336 -0
  332. package/dist/v2/runtime/intelligence-platform/client.d.ts.map +1 -0
  333. package/dist/v2/runtime/intelligence-platform/client.mjs +331 -0
  334. package/dist/v2/runtime/intelligence-platform/client.mjs.map +1 -0
  335. package/dist/v2/runtime/intelligence-platform/index.d.mts +2 -0
  336. package/dist/v2/runtime/middleware-sse-parser.cjs +138 -0
  337. package/dist/v2/runtime/middleware-sse-parser.cjs.map +1 -0
  338. package/dist/v2/runtime/middleware-sse-parser.d.cts +22 -0
  339. package/dist/v2/runtime/middleware-sse-parser.d.cts.map +1 -0
  340. package/dist/v2/runtime/middleware-sse-parser.d.mts +22 -0
  341. package/dist/v2/runtime/middleware-sse-parser.d.mts.map +1 -0
  342. package/dist/v2/runtime/middleware-sse-parser.d.ts +22 -0
  343. package/dist/v2/runtime/middleware-sse-parser.d.ts.map +1 -0
  344. package/dist/v2/runtime/middleware-sse-parser.mjs +137 -0
  345. package/dist/v2/runtime/middleware-sse-parser.mjs.map +1 -0
  346. package/dist/v2/runtime/middleware.cjs +35 -0
  347. package/dist/v2/runtime/middleware.cjs.map +1 -0
  348. package/dist/v2/runtime/middleware.d.cts +32 -0
  349. package/dist/v2/runtime/middleware.d.cts.map +1 -0
  350. package/dist/v2/runtime/middleware.d.mts +32 -0
  351. package/dist/v2/runtime/middleware.d.mts.map +1 -0
  352. package/dist/v2/runtime/middleware.d.ts +32 -0
  353. package/dist/v2/runtime/middleware.d.ts.map +1 -0
  354. package/dist/v2/runtime/middleware.mjs +33 -0
  355. package/dist/v2/runtime/middleware.mjs.map +1 -0
  356. package/dist/v2/runtime/runner/agent-runner.cjs +8 -0
  357. package/dist/v2/runtime/runner/agent-runner.cjs.map +1 -0
  358. package/dist/v2/runtime/runner/agent-runner.d.cts +32 -0
  359. package/dist/v2/runtime/runner/agent-runner.d.cts.map +1 -0
  360. package/dist/v2/runtime/runner/agent-runner.d.mts +32 -0
  361. package/dist/v2/runtime/runner/agent-runner.d.mts.map +1 -0
  362. package/dist/v2/runtime/runner/agent-runner.d.ts +32 -0
  363. package/dist/v2/runtime/runner/agent-runner.d.ts.map +1 -0
  364. package/dist/v2/runtime/runner/agent-runner.mjs +7 -0
  365. package/dist/v2/runtime/runner/agent-runner.mjs.map +1 -0
  366. package/dist/v2/runtime/runner/in-memory.cjs +223 -0
  367. package/dist/v2/runtime/runner/in-memory.cjs.map +1 -0
  368. package/dist/v2/runtime/runner/in-memory.d.cts +15 -0
  369. package/dist/v2/runtime/runner/in-memory.d.cts.map +1 -0
  370. package/dist/v2/runtime/runner/in-memory.d.mts +15 -0
  371. package/dist/v2/runtime/runner/in-memory.d.mts.map +1 -0
  372. package/dist/v2/runtime/runner/in-memory.d.ts +15 -0
  373. package/dist/v2/runtime/runner/in-memory.d.ts.map +1 -0
  374. package/dist/v2/runtime/runner/in-memory.mjs +222 -0
  375. package/dist/v2/runtime/runner/in-memory.mjs.map +1 -0
  376. package/dist/v2/runtime/runner/index.d.cts +6 -0
  377. package/dist/v2/runtime/runner/index.d.mts +6 -0
  378. package/dist/v2/runtime/runner/index.d.ts +6 -0
  379. package/dist/v2/runtime/runner/index.mjs +7 -0
  380. package/dist/v2/runtime/runner/intelligence.cjs +246 -0
  381. package/dist/v2/runtime/runner/intelligence.cjs.map +1 -0
  382. package/dist/v2/runtime/runner/intelligence.d.cts +57 -0
  383. package/dist/v2/runtime/runner/intelligence.d.cts.map +1 -0
  384. package/dist/v2/runtime/runner/intelligence.d.mts +57 -0
  385. package/dist/v2/runtime/runner/intelligence.d.mts.map +1 -0
  386. package/dist/v2/runtime/runner/intelligence.d.ts +57 -0
  387. package/dist/v2/runtime/runner/intelligence.d.ts.map +1 -0
  388. package/dist/v2/runtime/runner/intelligence.mjs +245 -0
  389. package/dist/v2/runtime/runner/intelligence.mjs.map +1 -0
  390. package/dist/v2/runtime/runtime.cjs +102 -0
  391. package/dist/v2/runtime/runtime.cjs.map +1 -0
  392. package/dist/v2/runtime/runtime.d.cts +133 -0
  393. package/dist/v2/runtime/runtime.d.cts.map +1 -0
  394. package/dist/v2/runtime/runtime.d.mts +134 -0
  395. package/dist/v2/runtime/runtime.d.mts.map +1 -0
  396. package/dist/v2/runtime/runtime.d.ts +133 -0
  397. package/dist/v2/runtime/runtime.d.ts.map +1 -0
  398. package/dist/v2/runtime/runtime.mjs +98 -0
  399. package/dist/v2/runtime/runtime.mjs.map +1 -0
  400. package/dist/v2/runtime/telemetry/scarf-client.cjs +32 -0
  401. package/dist/v2/runtime/telemetry/scarf-client.cjs.map +1 -0
  402. package/dist/v2/runtime/telemetry/scarf-client.mjs +32 -0
  403. package/dist/v2/runtime/telemetry/scarf-client.mjs.map +1 -0
  404. package/dist/v2/runtime/telemetry/telemetry-client.cjs +35 -0
  405. package/dist/v2/runtime/telemetry/telemetry-client.cjs.map +1 -0
  406. package/dist/v2/runtime/telemetry/telemetry-client.mjs +35 -0
  407. package/dist/v2/runtime/telemetry/telemetry-client.mjs.map +1 -0
  408. package/dist/v2/runtime/transcription-service/transcription-service.cjs +8 -0
  409. package/dist/v2/runtime/transcription-service/transcription-service.cjs.map +1 -0
  410. package/dist/v2/runtime/transcription-service/transcription-service.d.cts +15 -0
  411. package/dist/v2/runtime/transcription-service/transcription-service.d.cts.map +1 -0
  412. package/dist/v2/runtime/transcription-service/transcription-service.d.mts +15 -0
  413. package/dist/v2/runtime/transcription-service/transcription-service.d.mts.map +1 -0
  414. package/dist/v2/runtime/transcription-service/transcription-service.d.ts +15 -0
  415. package/dist/v2/runtime/transcription-service/transcription-service.d.ts.map +1 -0
  416. package/dist/v2/runtime/transcription-service/transcription-service.mjs +7 -0
  417. package/dist/v2/runtime/transcription-service/transcription-service.mjs.map +1 -0
  418. package/package.json +70 -44
  419. package/src/agent/__tests__/ai-sdk-v6-compat.test.ts +116 -0
  420. package/src/agent/__tests__/basic-agent.test.ts +1698 -0
  421. package/src/agent/__tests__/config-tools-execution.test.ts +516 -0
  422. package/src/agent/__tests__/mcp-clients.test.ts +260 -0
  423. package/src/agent/__tests__/property-overrides.test.ts +598 -0
  424. package/src/agent/__tests__/standard-schema-tools.test.ts +313 -0
  425. package/src/agent/__tests__/standard-schema-types.test.ts +158 -0
  426. package/src/agent/__tests__/state-tools.test.ts +436 -0
  427. package/src/agent/__tests__/test-helpers.ts +193 -0
  428. package/src/agent/__tests__/utils.test.ts +536 -0
  429. package/src/agent/__tests__/zod-regression.test.ts +350 -0
  430. package/src/agent/index.ts +1329 -0
  431. package/src/graphql/message-conversion/agui-to-gql.test.ts +20 -1
  432. package/src/graphql/message-conversion/agui-to-gql.ts +15 -5
  433. package/src/graphql/message-conversion/gql-to-agui.ts +1 -1
  434. package/src/graphql/message-conversion/roundtrip-conversion.test.ts +1 -1
  435. package/src/lib/integrations/nextjs/app-router.ts +2 -2
  436. package/src/lib/integrations/node-http/index.ts +2 -2
  437. package/src/lib/integrations/shared.ts +1 -1
  438. package/src/lib/runtime/agent-integrations/langgraph/__tests__/dispatch-event-filtering.test.ts +155 -0
  439. package/src/lib/runtime/agent-integrations/langgraph/agent.ts +5 -0
  440. package/src/lib/runtime/copilot-runtime.ts +21 -10
  441. package/src/lib/runtime/telemetry-agent-runner.ts +1 -1
  442. package/src/service-adapters/anthropic/anthropic-adapter.ts +15 -1
  443. package/src/service-adapters/conversion.test.ts +56 -0
  444. package/src/service-adapters/conversion.ts +2 -2
  445. package/src/service-adapters/groq/groq-adapter.ts +16 -1
  446. package/src/service-adapters/openai/openai-adapter.ts +19 -4
  447. package/src/service-adapters/service-adapter.ts +9 -0
  448. package/src/service-adapters/shared/index.ts +1 -0
  449. package/src/service-adapters/shared/sdk-client-utils.ts +19 -0
  450. package/src/v2/index.ts +5 -2
  451. package/src/v2/runtime/__tests__/cors-credentials.test.ts +320 -0
  452. package/src/v2/runtime/__tests__/express-abort-signal.test.ts +25 -0
  453. package/src/v2/runtime/__tests__/express-body-order.test.ts +76 -0
  454. package/src/v2/runtime/__tests__/express-single-sse.test.ts +122 -0
  455. package/src/v2/runtime/__tests__/get-runtime-info.test.ts +141 -0
  456. package/src/v2/runtime/__tests__/handle-connect.test.ts +423 -0
  457. package/src/v2/runtime/__tests__/handle-run.test.ts +910 -0
  458. package/src/v2/runtime/__tests__/handle-threads.test.ts +388 -0
  459. package/src/v2/runtime/__tests__/handle-transcribe.test.ts +301 -0
  460. package/src/v2/runtime/__tests__/header-utils.test.ts +88 -0
  461. package/src/v2/runtime/__tests__/in-process-agent-runner-messages.test.ts +230 -0
  462. package/src/v2/runtime/__tests__/in-process-agent-runner.test.ts +1030 -0
  463. package/src/v2/runtime/__tests__/middleware-express.test.ts +208 -0
  464. package/src/v2/runtime/__tests__/middleware-single-express.test.ts +213 -0
  465. package/src/v2/runtime/__tests__/middleware-single.test.ts +225 -0
  466. package/src/v2/runtime/__tests__/middleware-sse-parser.test.ts +187 -0
  467. package/src/v2/runtime/__tests__/middleware.test.ts +251 -0
  468. package/src/v2/runtime/__tests__/routing-express.test.ts +174 -0
  469. package/src/v2/runtime/__tests__/routing-single-express.test.ts +168 -0
  470. package/src/v2/runtime/__tests__/routing-single.test.ts +193 -0
  471. package/src/v2/runtime/__tests__/routing.test.ts +257 -0
  472. package/src/v2/runtime/__tests__/runtime.test.ts +123 -0
  473. package/src/v2/runtime/__tests__/telemetry.test.ts +167 -0
  474. package/src/v2/runtime/__tests__/thread-names.test.ts +188 -0
  475. package/src/v2/runtime/endpoints/express-single.ts +231 -0
  476. package/src/v2/runtime/endpoints/express-utils.ts +182 -0
  477. package/src/v2/runtime/endpoints/express.ts +276 -0
  478. package/src/v2/runtime/endpoints/hono-single.ts +212 -0
  479. package/src/v2/runtime/endpoints/hono.ts +315 -0
  480. package/src/v2/runtime/endpoints/index.ts +4 -0
  481. package/src/v2/runtime/endpoints/single-route-helpers.ts +125 -0
  482. package/src/v2/runtime/express.ts +2 -0
  483. package/src/v2/runtime/handler.ts +3 -0
  484. package/src/v2/runtime/handlers/get-runtime-info.ts +79 -0
  485. package/src/v2/runtime/handlers/handle-connect.ts +76 -0
  486. package/src/v2/runtime/handlers/handle-run.ts +89 -0
  487. package/src/v2/runtime/handlers/handle-stop.ts +76 -0
  488. package/src/v2/runtime/handlers/handle-threads.ts +7 -0
  489. package/src/v2/runtime/handlers/handle-transcribe.ts +256 -0
  490. package/src/v2/runtime/handlers/header-utils.ts +24 -0
  491. package/src/v2/runtime/handlers/intelligence/connect.ts +65 -0
  492. package/src/v2/runtime/handlers/intelligence/run.ts +152 -0
  493. package/src/v2/runtime/handlers/intelligence/thread-names.ts +246 -0
  494. package/src/v2/runtime/handlers/intelligence/threads.ts +233 -0
  495. package/src/v2/runtime/handlers/shared/agent-utils.ts +136 -0
  496. package/src/v2/runtime/handlers/shared/intelligence-utils.ts +21 -0
  497. package/src/v2/runtime/handlers/shared/json-response.ts +6 -0
  498. package/src/v2/runtime/handlers/shared/resolve-intelligence-user.ts +25 -0
  499. package/src/v2/runtime/handlers/shared/sse-response.ts +100 -0
  500. package/src/v2/runtime/handlers/sse/connect.ts +24 -0
  501. package/src/v2/runtime/handlers/sse/run.ts +27 -0
  502. package/src/v2/runtime/index.ts +20 -0
  503. package/src/v2/runtime/intelligence-platform/__tests__/client.test.ts +605 -0
  504. package/src/v2/runtime/intelligence-platform/client.ts +659 -0
  505. package/src/v2/runtime/intelligence-platform/index.ts +10 -0
  506. package/src/v2/runtime/middleware-sse-parser.ts +200 -0
  507. package/src/v2/runtime/middleware.ts +115 -0
  508. package/src/v2/runtime/runner/__tests__/finalize-events.test.ts +109 -0
  509. package/src/v2/runtime/runner/__tests__/in-memory-runner.e2e.test.ts +775 -0
  510. package/src/v2/runtime/runner/__tests__/in-memory-runner.test.ts +363 -0
  511. package/src/v2/runtime/runner/__tests__/intelligence-runner.test.ts +981 -0
  512. package/src/v2/runtime/runner/agent-runner.ts +36 -0
  513. package/src/v2/runtime/runner/in-memory.ts +381 -0
  514. package/src/v2/runtime/runner/index.ts +4 -0
  515. package/src/v2/runtime/runner/intelligence.ts +429 -0
  516. package/src/v2/runtime/runtime.ts +262 -0
  517. package/src/v2/runtime/telemetry/events.ts +35 -0
  518. package/src/v2/runtime/telemetry/index.ts +7 -0
  519. package/src/v2/runtime/telemetry/scarf-client.ts +39 -0
  520. package/src/v2/runtime/telemetry/telemetry-client.ts +70 -0
  521. package/src/v2/runtime/transcription-service/transcription-service.ts +11 -0
  522. package/tests/service-adapters/anthropic/anthropic-adapter-language-model.test.ts +101 -0
  523. package/tests/service-adapters/groq/groq-adapter-language-model.test.ts +102 -0
  524. package/tests/service-adapters/openai/openai-adapter-language-model.test.ts +122 -0
  525. package/tests/service-adapters/shared/sdk-client-utils.test.ts +36 -0
  526. package/tsconfig.json +9 -2
  527. package/tsdown.config.ts +1 -0
  528. package/vitest.config.mjs +1 -4
  529. package/.eslintrc.js +0 -7
package/CHANGELOG.md CHANGED
@@ -1,38 +1,414 @@
1
1
  # @copilotkit/runtime
2
2
 
3
- ## 0.0.0-main-20260220223427
3
+ ## 0.0.0-main-20260403195251
4
+
5
+ ### Minor Changes
6
+
7
+ - 1ceb963: refactor: consolidate V1/V2 packages into flat @copilotkit/\* structure
8
+
9
+ ### Patch Changes
10
+
11
+ - 1ceb963: Add vertex AI
12
+ - 8aafcbe: fix(agent): harden BuiltInAgent reasoning lifecycle
13
+
14
+ - Skip empty reasoning deltas (violates @ag-ui/core schema)
15
+ - Auto-close reasoning lifecycle when SDK omits reasoning-end (on consecutive-start, phase transitions, abort, error, and fallback paths)
16
+ - Make reasoning-end idempotent to prevent duplicate close events when auto-close already fired
17
+ - Regenerate reasoningMessageId for consecutive reasoning blocks when SDK provides no id
18
+ - Close reasoning in outer catch block so exceptions mid-reasoning emit proper lifecycle events
19
+
20
+ - 52a9322: Fixing license warnings, barrel export and typing
21
+ - 1ceb963: feat: re export state streaming langgraph middleware
22
+ - 1ceb963: custom mcpClients configuration
23
+ - Updated dependencies [1ceb963]
24
+ - Updated dependencies [52a9322]
25
+ - @copilotkit/shared@0.0.0-main-20260403195251
26
+
27
+ ## 1.55.0-next.8
28
+
29
+ ### Patch Changes
30
+
31
+ - 8aafcbe: fix(agent): harden BuiltInAgent reasoning lifecycle
32
+ - Skip empty reasoning deltas (violates @ag-ui/core schema)
33
+ - Auto-close reasoning lifecycle when SDK omits reasoning-end (on consecutive-start, phase transitions, abort, error, and fallback paths)
34
+ - Make reasoning-end idempotent to prevent duplicate close events when auto-close already fired
35
+ - Regenerate reasoningMessageId for consecutive reasoning blocks when SDK provides no id
36
+ - Close reasoning in outer catch block so exceptions mid-reasoning emit proper lifecycle events
37
+ - @copilotkit/shared@1.55.0-next.8
38
+
39
+ ## 1.55.0-next.7
40
+
41
+ ### Minor Changes
42
+
43
+ - 1ceb963: refactor: consolidate V1/V2 packages into flat @copilotkit/\* structure
44
+
45
+ ### Patch Changes
46
+
47
+ - Updated dependencies [1ceb963]
48
+ - @copilotkit/shared@1.55.0-next.7
49
+
50
+ ## 1.54.1-next.6
51
+
52
+ ### Patch Changes
53
+
54
+ - @copilotkit/shared@1.54.1-next.6
55
+ - @copilotkitnext/agent@1.54.1-next.6
56
+ - @copilotkitnext/runtime@1.54.1-next.6
57
+
58
+ ## 1.54.1-next.5
59
+
60
+ ### Patch Changes
61
+
62
+ - c62c5c8: custom mcpClients configuration
63
+ - @copilotkit/shared@1.54.1-next.5
64
+ - @copilotkitnext/agent@1.54.1-next.5
65
+ - @copilotkitnext/runtime@1.54.1-next.5
66
+
67
+ ## 1.54.1-next.4
68
+
69
+ ### Patch Changes
70
+
71
+ - @copilotkit/shared@1.54.1-next.4
72
+ - @copilotkitnext/agent@1.54.1-next.4
73
+ - @copilotkitnext/runtime@1.54.1-next.4
74
+
75
+ ## 1.54.1-next.3
76
+
77
+ ### Patch Changes
78
+
79
+ - @copilotkit/shared@1.54.1-next.3
80
+ - @copilotkitnext/agent@1.54.1-next.3
81
+ - @copilotkitnext/runtime@1.54.1-next.3
82
+
83
+ ## 1.54.1-next.2
84
+
85
+ ### Patch Changes
86
+
87
+ - a0a1cf4: feat: re export state streaming langgraph middleware
88
+ - @copilotkit/shared@1.54.1-next.2
89
+ - @copilotkitnext/agent@1.54.1-next.2
90
+ - @copilotkitnext/runtime@1.54.1-next.2
91
+
92
+ ## 1.54.1-next.1
93
+
94
+ ### Patch Changes
95
+
96
+ - @copilotkit/shared@1.54.1-next.1
97
+ - @copilotkitnext/agent@1.54.1-next.1
98
+ - @copilotkitnext/runtime@1.54.1-next.1
99
+
100
+ ## 1.54.1-next.0
101
+
102
+ ### Patch Changes
103
+
104
+ - Updated dependencies [da558d3]
105
+ - @copilotkitnext/agent@1.54.1-next.0
106
+ - @copilotkit/shared@1.54.1-next.0
107
+ - @copilotkitnext/runtime@1.54.1-next.0
108
+
109
+ ## 1.54.0
110
+
111
+ ### Minor Changes
112
+
113
+ - fa0d1cd: Add support for Standard Schema (instead of just Zod)
114
+
115
+ ### Patch Changes
116
+
117
+ - Updated dependencies [3780c6a]
118
+ - Updated dependencies [fa0d1cd]
119
+ - @copilotkitnext/agent@1.54.0
120
+ - @copilotkitnext/runtime@1.54.0
121
+ - @copilotkit/shared@1.54.0
122
+
123
+ ## 1.54.0-next.9
124
+
125
+ ### Patch Changes
126
+
127
+ - Updated dependencies [3780c6a]
128
+ - @copilotkitnext/agent@1.54.0-next.9
129
+ - @copilotkitnext/runtime@1.54.0-next.9
130
+ - @copilotkit/shared@1.54.0-next.9
131
+
132
+ ## 1.54.0-next.8
133
+
134
+ ### Patch Changes
135
+
136
+ - @copilotkit/shared@1.54.0-next.8
137
+ - @copilotkitnext/agent@1.54.0-next.8
138
+ - @copilotkitnext/runtime@1.54.0-next.8
139
+
140
+ ## 1.54.0-next.7
141
+
142
+ ### Patch Changes
143
+
144
+ - @copilotkit/shared@1.54.0-next.7
145
+ - @copilotkitnext/agent@1.54.0-next.7
146
+ - @copilotkitnext/runtime@1.54.0-next.7
147
+
148
+ ## 1.54.0-next.6
149
+
150
+ ### Patch Changes
151
+
152
+ - @copilotkit/shared@1.54.0-next.6
153
+ - @copilotkitnext/agent@1.54.0-next.6
154
+ - @copilotkitnext/runtime@1.54.0-next.6
155
+
156
+ ## 1.54.0-next.5
157
+
158
+ ### Patch Changes
159
+
160
+ - @copilotkit/shared@1.54.0-next.5
161
+ - @copilotkitnext/agent@1.54.0-next.5
162
+ - @copilotkitnext/runtime@1.54.0-next.5
163
+
164
+ ## 1.54.0-next.4
165
+
166
+ ### Patch Changes
167
+
168
+ - @copilotkit/shared@1.54.0-next.4
169
+ - @copilotkitnext/agent@1.54.0-next.4
170
+ - @copilotkitnext/runtime@1.54.0-next.4
171
+
172
+ ## 1.54.0-next.3
173
+
174
+ ### Minor Changes
175
+
176
+ - fa0d1cd: Add support for Standard Schema (instead of just Zod)
177
+
178
+ ### Patch Changes
179
+
180
+ - Updated dependencies [fa0d1cd]
181
+ - @copilotkitnext/agent@1.54.0-next.3
182
+ - @copilotkit/shared@1.54.0-next.3
183
+ - @copilotkitnext/runtime@1.54.0-next.3
184
+
185
+ ## 1.53.1-next.2
186
+
187
+ ### Patch Changes
188
+
189
+ - @copilotkit/shared@1.53.1-next.2
190
+ - @copilotkit/agent@1.53.1-next.2
191
+ - @copilotkit/runtime@1.53.1-next.2
192
+
193
+ ## 1.53.1-next.1
194
+
195
+ ### Patch Changes
196
+
197
+ - @copilotkit/shared@1.53.1-next.1
198
+ - @copilotkit/agent@1.53.1-next.1
199
+ - @copilotkit/runtime@1.53.1-next.1
200
+
201
+ ## 1.53.1-next.0
202
+
203
+ ### Patch Changes
204
+
205
+ - @copilotkit/shared@1.53.1-next.0
206
+ - @copilotkit/agent@1.53.1-next.0
207
+ - @copilotkit/runtime@1.53.1-next.0
208
+
209
+ ## 1.53.0
210
+
211
+ ### Minor Changes
212
+
213
+ - f822c05: Updating the path and devex for mcp apps
214
+
215
+ ### Patch Changes
216
+
217
+ - d1f7aba: feat(runtime): expose messages in afterRequestMiddleware
218
+ - 1510f64: feat: enable mcp and a2ui middleware directly from copilotkit runtime
219
+ - 8e0f94f: Bump AI SDK from v5 to v6
220
+ - 501e8d7: surpress sse warning in middleware callback
221
+ - Updated dependencies [1510f64]
222
+ - Updated dependencies [bf1fc6f]
223
+ - @copilotkit/shared@1.53.0
224
+ - @copilotkit/agent@1.53.0
225
+ - @copilotkit/runtime@1.53.0
226
+
227
+ ## 1.53.0-next.6
228
+
229
+ ### Patch Changes
230
+
231
+ - 501e8d7: surpress sse warning in middleware callback
232
+ - @copilotkit/shared@1.53.0-next.6
233
+ - @copilotkit/agent@1.53.0-next.6
234
+ - @copilotkit/runtime@1.53.0-next.6
235
+
236
+ ## 1.53.0-next.5
237
+
238
+ ### Minor Changes
239
+
240
+ - f822c05: Updating the path and devex for mcp apps
241
+
242
+ ### Patch Changes
243
+
244
+ - @copilotkit/shared@1.53.0-next.5
245
+ - @copilotkit/agent@1.53.0-next.5
246
+ - @copilotkit/runtime@1.53.0-next.5
247
+
248
+ ## 1.52.2-next.4
249
+
250
+ ### Patch Changes
251
+
252
+ - @copilotkit/shared@1.52.2-next.4
253
+ - @copilotkit/agent@1.52.2-next.4
254
+ - @copilotkit/runtime@1.52.2-next.4
255
+
256
+ ## 1.52.2-next.3
257
+
258
+ ### Patch Changes
259
+
260
+ - 1510f64: feat: enable mcp and a2ui middleware directly from copilotkit runtime
261
+ - Updated dependencies [1510f64]
262
+ - @copilotkit/shared@1.52.2-next.3
263
+ - @copilotkit/agent@1.52.2-next.3
264
+ - @copilotkit/runtime@1.52.2-next.3
265
+
266
+ ## 1.52.2-next.2
267
+
268
+ ### Patch Changes
269
+
270
+ - 8e0f94f: Bump AI SDK from v5 to v6
271
+ - @copilotkit/shared@1.52.2-next.2
272
+ - @copilotkit/agent@1.52.2-next.2
273
+ - @copilotkit/runtime@1.52.2-next.2
274
+
275
+ ## 1.52.2-next.1
276
+
277
+ ### Patch Changes
278
+
279
+ - d1f7aba: feat(runtime): expose messages in afterRequestMiddleware
280
+ - Updated dependencies [bf1fc6f]
281
+ - @copilotkit/shared@1.52.2-next.1
282
+ - @copilotkit/agent@1.52.2-next.1
283
+ - @copilotkit/runtime@1.52.2-next.1
284
+
285
+ ## 1.52.2-next.0
286
+
287
+ ### Patch Changes
288
+
289
+ - @copilotkit/shared@1.52.2-next.0
290
+ - @copilotkit/agent@1.52.2-next.0
291
+ - @copilotkit/runtime@1.52.2-next.0
292
+
293
+ ## 1.52.1
294
+
295
+ ### Patch Changes
296
+
297
+ - @copilotkit/shared@1.52.1
298
+ - @copilotkit/agent@1.52.1
299
+ - @copilotkit/runtime@1.52.1
300
+
301
+ ## 1.52.1-next.1
302
+
303
+ ### Patch Changes
304
+
305
+ - @copilotkit/shared@1.52.1-next.1
306
+ - @copilotkit/agent@1.52.1-next.1
307
+ - @copilotkit/runtime@1.52.1-next.1
308
+
309
+ ## 1.52.1-next.0
310
+
311
+ ### Patch Changes
312
+
313
+ - @copilotkit/shared@1.52.1-next.0
314
+ - @copilotkit/agent@1.52.1-next.0
315
+ - @copilotkit/runtime@1.52.1-next.0
316
+
317
+ ## 1.52.0
318
+
319
+ ### Minor Changes
320
+
321
+ - 6dd6c84: Adding new v2 features:
322
+
323
+ - useComponent
324
+ - useRenderTool
325
+ - useDefaultRenderTool
326
+
327
+ Also, fixing issues with styles not being
328
+ properly scoped for tailwind.
4
329
 
5
330
  ### Patch Changes
6
331
 
7
332
  - ef0f539: Add reasoning support and default components for reasoning messages
8
333
  - Updated dependencies [ef0f539]
9
- - @copilotkitnext/runtime@0.0.0-main-20260220223427
10
- - @copilotkit/shared@0.0.0-main-20260220223427
11
- - @copilotkitnext/agent@0.0.0-main-20260220223427
334
+ - @copilotkit/runtime@1.52.0
335
+ - @copilotkit/shared@1.52.0
336
+ - @copilotkit/agent@1.52.0
337
+
338
+ ## 1.52.0-next.8
339
+
340
+ ### Patch Changes
341
+
342
+ - @copilotkit/shared@1.52.0-next.8
343
+ - @copilotkit/agent@1.52.0-next.8
344
+ - @copilotkit/runtime@1.52.0-next.8
345
+
346
+ ## 1.52.0-next.7
347
+
348
+ ### Patch Changes
349
+
350
+ - @copilotkit/shared@1.52.0-next.7
351
+ - @copilotkit/agent@1.52.0-next.7
352
+ - @copilotkit/runtime@1.52.0-next.7
353
+
354
+ ## 1.52.0-next.6
355
+
356
+ ### Patch Changes
357
+
358
+ - @copilotkit/shared@1.52.0-next.6
359
+ - @copilotkit/agent@1.52.0-next.6
360
+ - @copilotkit/runtime@1.52.0-next.6
361
+
362
+ ## 1.52.0-next.5
363
+
364
+ ### Minor Changes
365
+
366
+ - 6dd6c84: Adding new v2 features:
367
+
368
+ - useComponent
369
+ - useRenderTool
370
+ - useDefaultRenderTool
371
+
372
+ Also, fixing issues with styles not being
373
+ properly scoped for tailwind.
374
+
375
+ ### Patch Changes
376
+
377
+ - @copilotkit/shared@1.52.0-next.5
378
+ - @copilotkit/agent@1.52.0-next.5
379
+ - @copilotkit/runtime@1.52.0-next.5
380
+
381
+ ## 1.51.5-next.4
382
+
383
+ ### Patch Changes
384
+
385
+ - @copilotkit/shared@1.51.5-next.4
386
+ - @copilotkit/agent@1.51.5-next.4
387
+ - @copilotkit/runtime@1.51.5-next.4
12
388
 
13
389
  ## 1.51.5-next.3
14
390
 
15
391
  ### Patch Changes
16
392
 
17
393
  - @copilotkit/shared@1.51.5-next.3
18
- - @copilotkitnext/agent@1.51.5-next.3
19
- - @copilotkitnext/runtime@1.51.5-next.3
394
+ - @copilotkit/agent@1.51.5-next.3
395
+ - @copilotkit/runtime@1.51.5-next.3
20
396
 
21
397
  ## 1.51.5-next.2
22
398
 
23
399
  ### Patch Changes
24
400
 
25
401
  - @copilotkit/shared@1.51.5-next.2
26
- - @copilotkitnext/agent@1.51.5-next.2
27
- - @copilotkitnext/runtime@1.51.5-next.2
402
+ - @copilotkit/agent@1.51.5-next.2
403
+ - @copilotkit/runtime@1.51.5-next.2
28
404
 
29
405
  ## 1.51.5-next.1
30
406
 
31
407
  ### Patch Changes
32
408
 
33
409
  - @copilotkit/shared@1.51.5-next.1
34
- - @copilotkitnext/agent@1.51.5-next.1
35
- - @copilotkitnext/runtime@1.51.5-next.1
410
+ - @copilotkit/agent@1.51.5-next.1
411
+ - @copilotkit/runtime@1.51.5-next.1
36
412
 
37
413
  ## 1.51.5-next.0
38
414
 
@@ -40,9 +416,9 @@
40
416
 
41
417
  - ef0f539: Add reasoning support and default components for reasoning messages
42
418
  - Updated dependencies [ef0f539]
43
- - @copilotkitnext/runtime@1.51.5-next.0
419
+ - @copilotkit/runtime@1.51.5-next.0
44
420
  - @copilotkit/shared@1.51.5-next.0
45
- - @copilotkitnext/agent@1.51.5-next.0
421
+ - @copilotkit/agent@1.51.5-next.0
46
422
 
47
423
  ## 1.51.4
48
424
 
@@ -51,32 +427,32 @@
51
427
  - 8d67519: fix: propagate agent error messages into RUN_ERROR events
52
428
  - 4886f18: fix: use langgraph clone fix on latest agui
53
429
  - @copilotkit/shared@1.51.4
54
- - @copilotkitnext/agent@1.51.4
55
- - @copilotkitnext/runtime@1.51.4
430
+ - @copilotkit/agent@1.51.4
431
+ - @copilotkit/runtime@1.51.4
56
432
 
57
433
  ## 1.51.4-next.8
58
434
 
59
435
  ### Patch Changes
60
436
 
61
437
  - @copilotkit/shared@1.51.4-next.8
62
- - @copilotkitnext/agent@1.51.4-next.8
63
- - @copilotkitnext/runtime@1.51.4-next.8
438
+ - @copilotkit/agent@1.51.4-next.8
439
+ - @copilotkit/runtime@1.51.4-next.8
64
440
 
65
441
  ## 1.51.4-next.7
66
442
 
67
443
  ### Patch Changes
68
444
 
69
445
  - @copilotkit/shared@1.51.4-next.7
70
- - @copilotkitnext/agent@1.51.4-next.7
71
- - @copilotkitnext/runtime@1.51.4-next.7
446
+ - @copilotkit/agent@1.51.4-next.7
447
+ - @copilotkit/runtime@1.51.4-next.7
72
448
 
73
449
  ## 1.51.4-next.6
74
450
 
75
451
  ### Patch Changes
76
452
 
77
453
  - @copilotkit/shared@1.51.4-next.6
78
- - @copilotkitnext/agent@1.51.4-next.6
79
- - @copilotkitnext/runtime@1.51.4-next.6
454
+ - @copilotkit/agent@1.51.4-next.6
455
+ - @copilotkit/runtime@1.51.4-next.6
80
456
 
81
457
  ## 1.51.4-next.5
82
458
 
@@ -84,40 +460,40 @@
84
460
 
85
461
  - 8d67519: fix: propagate agent error messages into RUN_ERROR events
86
462
  - @copilotkit/shared@1.51.4-next.5
87
- - @copilotkitnext/agent@1.51.4-next.5
88
- - @copilotkitnext/runtime@1.51.4-next.5
463
+ - @copilotkit/agent@1.51.4-next.5
464
+ - @copilotkit/runtime@1.51.4-next.5
89
465
 
90
466
  ## 1.51.4-next.4
91
467
 
92
468
  ### Patch Changes
93
469
 
94
470
  - @copilotkit/shared@1.51.4-next.4
95
- - @copilotkitnext/agent@1.51.4-next.4
96
- - @copilotkitnext/runtime@1.51.4-next.4
471
+ - @copilotkit/agent@1.51.4-next.4
472
+ - @copilotkit/runtime@1.51.4-next.4
97
473
 
98
474
  ## 1.51.4-next.3
99
475
 
100
476
  ### Patch Changes
101
477
 
102
478
  - @copilotkit/shared@1.51.4-next.3
103
- - @copilotkitnext/agent@1.51.4-next.3
104
- - @copilotkitnext/runtime@1.51.4-next.3
479
+ - @copilotkit/agent@1.51.4-next.3
480
+ - @copilotkit/runtime@1.51.4-next.3
105
481
 
106
482
  ## 1.51.4-next.2
107
483
 
108
484
  ### Patch Changes
109
485
 
110
486
  - @copilotkit/shared@1.51.4-next.2
111
- - @copilotkitnext/agent@1.51.4-next.2
112
- - @copilotkitnext/runtime@1.51.4-next.2
487
+ - @copilotkit/agent@1.51.4-next.2
488
+ - @copilotkit/runtime@1.51.4-next.2
113
489
 
114
490
  ## 1.51.4-next.1
115
491
 
116
492
  ### Patch Changes
117
493
 
118
494
  - @copilotkit/shared@1.51.4-next.1
119
- - @copilotkitnext/agent@1.51.4-next.1
120
- - @copilotkitnext/runtime@1.51.4-next.1
495
+ - @copilotkit/agent@1.51.4-next.1
496
+ - @copilotkit/runtime@1.51.4-next.1
121
497
 
122
498
  ## 1.51.4-next.0
123
499
 
@@ -125,8 +501,8 @@
125
501
 
126
502
  - 4886f18: fix: use langgraph clone fix on latest agui
127
503
  - @copilotkit/shared@1.51.4-next.0
128
- - @copilotkitnext/agent@1.51.4-next.0
129
- - @copilotkitnext/runtime@1.51.4-next.0
504
+ - @copilotkit/agent@1.51.4-next.0
505
+ - @copilotkit/runtime@1.51.4-next.0
130
506
 
131
507
  ## 1.51.3
132
508
 
@@ -142,8 +518,8 @@
142
518
  - Updated dependencies [d36fc1e]
143
519
  - Updated dependencies [29d70a5]
144
520
  - @copilotkit/shared@1.51.3
145
- - @copilotkitnext/agent@1.51.3
146
- - @copilotkitnext/runtime@1.51.3
521
+ - @copilotkit/agent@1.51.3
522
+ - @copilotkit/runtime@1.51.3
147
523
 
148
524
  ## 1.51.3-next.8
149
525
 
@@ -151,17 +527,17 @@
151
527
 
152
528
  - d36fc1e: Add UMD export
153
529
  - Updated dependencies [d36fc1e]
154
- - @copilotkitnext/runtime@1.51.3-next.8
530
+ - @copilotkit/runtime@1.51.3-next.8
155
531
  - @copilotkit/shared@1.51.3-next.8
156
- - @copilotkitnext/agent@1.51.3-next.8
532
+ - @copilotkit/agent@1.51.3-next.8
157
533
 
158
534
  ## 1.51.3-next.7
159
535
 
160
536
  ### Patch Changes
161
537
 
162
538
  - @copilotkit/shared@1.51.3-next.7
163
- - @copilotkitnext/agent@1.51.3-next.7
164
- - @copilotkitnext/runtime@1.51.3-next.7
539
+ - @copilotkit/agent@1.51.3-next.7
540
+ - @copilotkit/runtime@1.51.3-next.7
165
541
 
166
542
  ## 1.51.3-next.6
167
543
 
@@ -169,16 +545,16 @@
169
545
 
170
546
  - 3a0822d: fix: do not run middleware for internal get requests
171
547
  - @copilotkit/shared@1.51.3-next.6
172
- - @copilotkitnext/agent@1.51.3-next.6
173
- - @copilotkitnext/runtime@1.51.3-next.6
548
+ - @copilotkit/agent@1.51.3-next.6
549
+ - @copilotkit/runtime@1.51.3-next.6
174
550
 
175
551
  ## 1.51.3-next.5
176
552
 
177
553
  ### Patch Changes
178
554
 
179
555
  - @copilotkit/shared@1.51.3-next.5
180
- - @copilotkitnext/agent@1.51.3-next.5
181
- - @copilotkitnext/runtime@1.51.3-next.5
556
+ - @copilotkit/agent@1.51.3-next.5
557
+ - @copilotkit/runtime@1.51.3-next.5
182
558
 
183
559
  ## 1.51.3-next.4
184
560
 
@@ -186,8 +562,8 @@
186
562
 
187
563
  - b49277b: fix: update all agui langgraph dependencies
188
564
  - @copilotkit/shared@1.51.3-next.4
189
- - @copilotkitnext/agent@1.51.3-next.4
190
- - @copilotkitnext/runtime@1.51.3-next.4
565
+ - @copilotkit/agent@1.51.3-next.4
566
+ - @copilotkit/runtime@1.51.3-next.4
191
567
 
192
568
  ## 1.51.3-next.3
193
569
 
@@ -196,25 +572,25 @@
196
572
  - d655e75: fix: update ag-ui dependencies
197
573
  - Updated dependencies [d655e75]
198
574
  - @copilotkit/shared@1.51.3-next.3
199
- - @copilotkitnext/agent@1.51.3-next.3
200
- - @copilotkitnext/runtime@1.51.3-next.3
575
+ - @copilotkit/agent@1.51.3-next.3
576
+ - @copilotkit/runtime@1.51.3-next.3
201
577
 
202
578
  ## 1.51.3-next.2
203
579
 
204
580
  ### Patch Changes
205
581
 
206
582
  - @copilotkit/shared@1.51.3-next.2
207
- - @copilotkitnext/agent@1.51.3-next.2
208
- - @copilotkitnext/runtime@1.51.3-next.2
583
+ - @copilotkit/agent@1.51.3-next.2
584
+ - @copilotkit/runtime@1.51.3-next.2
209
585
 
210
586
  ## 1.51.3-next.1
211
587
 
212
588
  ### Patch Changes
213
589
 
214
590
  - Updated dependencies [29d70a5]
215
- - @copilotkitnext/agent@1.51.3-next.1
591
+ - @copilotkit/agent@1.51.3-next.1
216
592
  - @copilotkit/shared@1.51.3-next.1
217
- - @copilotkitnext/runtime@1.51.3-next.1
593
+ - @copilotkit/runtime@1.51.3-next.1
218
594
 
219
595
  ## 1.51.3-next.0
220
596
 
@@ -222,9 +598,9 @@
222
598
 
223
599
  - d268c49: fix: add apiKey parameter to BuiltInAgentConfiguration
224
600
  - Updated dependencies [d268c49]
225
- - @copilotkitnext/agent@1.51.3-next.0
601
+ - @copilotkit/agent@1.51.3-next.0
226
602
  - @copilotkit/shared@1.51.3-next.0
227
- - @copilotkitnext/runtime@1.51.3-next.0
603
+ - @copilotkit/runtime@1.51.3-next.0
228
604
 
229
605
  ## 1.51.2
230
606
 
@@ -234,8 +610,8 @@
234
610
  - e59d23f: Move in-repo deps from peerdeps to actual deps
235
611
  - Updated dependencies [e59d23f]
236
612
  - Updated dependencies [f36b6b1]
237
- - @copilotkitnext/runtime@1.51.2
238
- - @copilotkitnext/agent@1.51.2
613
+ - @copilotkit/runtime@1.51.2
614
+ - @copilotkit/agent@1.51.2
239
615
  - @copilotkit/shared@1.51.2
240
616
 
241
617
  ## 1.51.2-next.1
@@ -245,8 +621,8 @@
245
621
  - e59d23f: Use deps instead of peerdeps
246
622
  - e59d23f: Move in-repo deps from peerdeps to actual deps
247
623
  - Updated dependencies [e59d23f]
248
- - @copilotkitnext/runtime@1.51.2-next.1
249
- - @copilotkitnext/agent@1.51.2-next.1
624
+ - @copilotkit/runtime@1.51.2-next.1
625
+ - @copilotkit/agent@1.51.2-next.1
250
626
  - @copilotkit/shared@1.51.2-next.1
251
627
 
252
628
  ## 1.51.2-next.0
@@ -254,18 +630,18 @@
254
630
  ### Patch Changes
255
631
 
256
632
  - Updated dependencies [f36b6b1]
257
- - @copilotkitnext/agent@1.51.2-next.0
633
+ - @copilotkit/agent@1.51.2-next.0
258
634
  - @copilotkit/shared@1.51.2-next.0
259
- - @copilotkitnext/runtime@1.51.2-next.0
635
+ - @copilotkit/runtime@1.51.2-next.0
260
636
 
261
637
  ## 1.51.1
262
638
 
263
639
  ### Patch Changes
264
640
 
265
641
  - Updated dependencies [329653b]
266
- - @copilotkitnext/agent@1.51.1
642
+ - @copilotkit/agent@1.51.1
267
643
  - @copilotkit/shared@1.51.1
268
- - @copilotkitnext/runtime@1.51.1
644
+ - @copilotkit/runtime@1.51.1
269
645
 
270
646
  ## 1.51.0
271
647
 
@@ -279,27 +655,27 @@
279
655
  - Updated dependencies [73f196f]
280
656
  - Updated dependencies [2839a15]
281
657
  - Updated dependencies [2afd4e3]
282
- - @copilotkitnext/runtime@1.51.0
658
+ - @copilotkit/runtime@1.51.0
283
659
  - @copilotkit/shared@1.51.0
284
- - @copilotkitnext/agent@1.51.0
660
+ - @copilotkit/agent@1.51.0
285
661
 
286
662
  ## 1.51.0-next.4
287
663
 
288
664
  ### Patch Changes
289
665
 
290
666
  - Updated dependencies [2793a11]
291
- - @copilotkitnext/runtime@1.51.0-next.4
667
+ - @copilotkit/runtime@1.51.0-next.4
292
668
  - @copilotkit/shared@1.51.0-next.4
293
- - @copilotkitnext/agent@1.51.0-next.4
669
+ - @copilotkit/agent@1.51.0-next.4
294
670
 
295
671
  ## 1.51.0-next.3
296
672
 
297
673
  ### Patch Changes
298
674
 
299
675
  - Updated dependencies [73f196f]
300
- - @copilotkitnext/runtime@1.51.0-next.3
676
+ - @copilotkit/runtime@1.51.0-next.3
301
677
  - @copilotkit/shared@1.51.0-next.3
302
- - @copilotkitnext/agent@1.51.0-next.3
678
+ - @copilotkit/agent@1.51.0-next.3
303
679
 
304
680
  ## 1.51.0-next.2
305
681
 
@@ -308,16 +684,16 @@
308
684
  - 4addb72: Fix ci again but really for real this time
309
685
  - Updated dependencies [2afd4e3]
310
686
  - @copilotkit/shared@1.51.0-next.2
311
- - @copilotkitnext/agent@1.51.0-next.2
312
- - @copilotkitnext/runtime@1.51.0-next.2
687
+ - @copilotkit/agent@1.51.0-next.2
688
+ - @copilotkit/runtime@1.51.0-next.2
313
689
 
314
690
  ## 1.51.0-next.1
315
691
 
316
692
  ### Patch Changes
317
693
 
318
694
  - @copilotkit/shared@1.51.0-next.1
319
- - @copilotkitnext/agent@1.51.0-next.1
320
- - @copilotkitnext/runtime@1.51.0-next.1
695
+ - @copilotkit/agent@1.51.0-next.1
696
+ - @copilotkit/runtime@1.51.0-next.1
321
697
 
322
698
  ## 1.50.2-next.0
323
699
 
@@ -842,6 +1218,7 @@
842
1218
  ### Patch Changes
843
1219
 
844
1220
  - 1abcecf: - fix: add graphqlContext to constructAGUIRemoteAction for enhanced agent properties
1221
+
845
1222
  - Updated constructAGUIRemoteAction to accept graphqlContext, allowing forwarding of properties like Authorization token to the agent.
846
1223
  - Modified setupRemoteActions to include graphqlContext in the parameters.
847
1224
 
@@ -1010,6 +1387,7 @@
1010
1387
  - remove request logging
1011
1388
  - 3a7f45f: - fix: resolve agui agents only after all other endpoints
1012
1389
  - fac89c2: - refactor: rename onTrace to onError throughout codebase
1390
+
1013
1391
  - Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
1014
1392
 
1015
1393
  - 7ca7023: - feat: send node name to agui agent
@@ -1110,6 +1488,7 @@
1110
1488
  ### Patch Changes
1111
1489
 
1112
1490
  - fac89c2: - refactor: rename onTrace to onError throughout codebase
1491
+
1113
1492
  - Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
1114
1493
 
1115
1494
  - Updated dependencies [fac89c2]
@@ -1591,9 +1970,11 @@
1591
1970
  - c0d3261: - full AWP support
1592
1971
 
1593
1972
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1973
+
1594
1974
  - refactor: address linter issues with the new pages
1595
1975
 
1596
1976
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1977
+
1597
1978
  - Merge branch 'mme/acp' into mme/mastra
1598
1979
  - add sse example
1599
1980
  - Create small-turkeys-agree.md
@@ -1610,14 +1991,17 @@
1610
1991
  - 77a7457: - feat: Add Model Context Protocol (MCP) support
1611
1992
  - 76d9ef9: - fix: handle langgraph client specific errors when running lgc stream
1612
1993
  - c0d3261: - add AWP support
1994
+
1613
1995
  - make it work
1614
1996
  - update docs
1615
1997
  - refactor: move UI files to be normal NextJS pages and update generation
1616
1998
 
1617
1999
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2000
+
1618
2001
  - refactor: address linter issues with the new pages
1619
2002
 
1620
2003
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2004
+
1621
2005
  - Merge branch 'mme/acp' into mme/mastra
1622
2006
  - add sse example
1623
2007
 
@@ -1631,9 +2015,11 @@
1631
2015
  - c0d3261: - full AWP support
1632
2016
 
1633
2017
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2018
+
1634
2019
  - refactor: address linter issues with the new pages
1635
2020
 
1636
2021
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2022
+
1637
2023
  - Merge branch 'mme/acp' into mme/mastra
1638
2024
  - add sse example
1639
2025
  - Create small-turkeys-agree.md
@@ -1648,14 +2034,17 @@
1648
2034
  - fix missing tool call ids
1649
2035
 
1650
2036
  - c0d3261: - add AWP support
2037
+
1651
2038
  - make it work
1652
2039
  - update docs
1653
2040
  - refactor: move UI files to be normal NextJS pages and update generation
1654
2041
 
1655
2042
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2043
+
1656
2044
  - refactor: address linter issues with the new pages
1657
2045
 
1658
2046
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2047
+
1659
2048
  - Merge branch 'mme/acp' into mme/mastra
1660
2049
  - add sse example
1661
2050
  - @copilotkit/shared@1.8.5-next.5
@@ -2660,6 +3049,7 @@
2660
3049
  - e16d95e: New prerelease
2661
3050
  - 1721cbd: Add convertActionsToDynamicStructuredTools to sdk-js
2662
3051
  - CopilotKit Core:
3052
+
2663
3053
  - Improved error messages and overall logs
2664
3054
  - `useCopilotAction.renderAndAwait` renamed to `.renderAndAwaitForResponse` (backwards compatible, will be deprecated in the future)
2665
3055
  - Improved scrolling behavior. It is now possible to scroll up during LLM response generation
@@ -2667,6 +3057,7 @@
2667
3057
  - Updated interfaces for better developer ergonomics
2668
3058
 
2669
3059
  CoAgents:
3060
+
2670
3061
  - Renamed `remoteActions` to `remoteEndpoints` (backwards compatible, will be deprecated in the future)
2671
3062
  - Support for LangGraph Platform in Remote Endpoints
2672
3063
  - LangGraph JS Support for CoAgents (locally via `langgraph dev`, `langgraph up` or deployed to LangGraph Platform)
@@ -2674,6 +3065,7 @@
2674
3065
  - Enhanced state management and message handling
2675
3066
 
2676
3067
  CopilotKid Back-end SDK:
3068
+
2677
3069
  - Released a whole-new `@copilotkit/sdk-js` for building agents with LangGraph JS Support
2678
3070
 
2679
3071
  - 8d0144f: bump
@@ -3020,6 +3412,7 @@ CopilotKid Back-end SDK:
3020
3412
  ### Patch Changes
3021
3413
 
3022
3414
  - inject minified css in bundle
3415
+
3023
3416
  - removes the need to import `styles.css` manually
3024
3417
  - empty `styles.css` included in the build for backwards compatibility
3025
3418
  - uses tsup's `injectStyles` with `postcss` to bundle and minify the CSS, then inject it as a style tag
@@ -3156,6 +3549,7 @@ CopilotKid Back-end SDK:
3156
3549
  ### Major Changes
3157
3550
 
3158
3551
  - b6a4b6eb: V1.0 Release Candidate
3552
+
3159
3553
  - A robust new protocol between the frontend and the Copilot Runtime
3160
3554
  - Support for Copilot Cloud
3161
3555
  - Generative UI