Commit Graph

238 Commits

Author SHA1 Message Date
Tyler Slaton c80498ec9a chore: add changeset 2026-03-11 17:25:19 +04:00
github-actions[bot] 190eb07f09 chore(post-release): update version to 1.54.0-next.4 2026-03-11 12:50:08 +00:00
Maxim af11b1ea57 chore: add changeset 2026-03-11 15:28:26 +04:00
github-actions[bot] 60de47cda2 chore(post-release): update version to 1.54.0-next.3 2026-03-11 11:14:53 +00:00
Tyler Slaton fa0d1cd2ea chore: minor version changeset
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-03-10 15:54:21 -07:00
Ran Shemtov 7916df6f74 chore: add changset 2026-03-10 12:22:20 +01:00
github-actions[bot] d2cf028903 chore(post-release): update version to 1.53.1-next.2 2026-03-07 08:47:03 +00:00
Ran Shemtov 0c90355847 Merge branch 'main' into feat/a2ui-eager-default-renderer 2026-03-07 09:34:25 +01:00
github-actions[bot] 6c4aab7d6f chore(post-release): update version to 1.53.1-next.1 2026-03-06 18:32:39 +00:00
Jordan Ritter 3d088cfec3 fix(react-textarea): restore focus to textarea on Escape in CMD+K popup (#3257)
Fixes #399

When the CopilotTextarea hovering popup (CMD+K / CTRL+K) is open and the
user presses `Escape`, the popup loses focus entirely, instead of safely
closing and returning focus to the underlying textarea.

This PR:
1. Adds an `Escape` key handler to the `HoveringInsertionPromptBoxCore`
component so the textarea can intercept the key.
2. Adds a document-level `Escape` listener to `HoveringToolbar` to
cleanly close the popup and use `ReactEditor.focus()` to restore focus
to the Slate editor.

## Testing
1. Run `textarea` example.
2. Type in the input, press `CMD+K` (or `CTRL+K`).
3. Press `Escape`. 
4. The popup closes and focus is successfully returned to the editor
input without needing an extra mouse click.
2026-03-06 14:29:02 -04:00
Ran Shemtov d746e4f5f5 chore: add changeset 2026-03-06 19:24:00 +01:00
github-actions[bot] 1fd878c582 chore(post-release): update version to 1.53.1-next.0 2026-03-06 17:10:16 +00:00
Ran Shemtov 6e0cddf232 chore: add changeset 2026-03-06 18:01:33 +01:00
github-actions[bot] 57eb016a10 chore(post-release): update version to 1.53.0 2026-03-05 23:57:25 +00:00
Tyler Slaton 52a3123d64 chore: release 1.53.0
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-03-05 18:46:37 -05:00
github-actions[bot] 671fd0ae47 chore(post-release): update version to 1.53.0-next.6 2026-03-05 23:41:37 +00:00
Maxim 501e8d70ae fix(runtime): skip afterRequestMiddleware when user didn't configure one
The v1 CopilotRuntime always set afterRequestMiddleware on the v2 runtime,
causing parseSSEResponse to attempt reading the cloned SSE stream body even
when no user hooks existed. This results in "Failed to read SSE response
body in afterRequestMiddleware" warnings. Only register the handler when
the user actually provided afterRequestMiddleware or middleware.onAfterRequest.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 18:38:06 -05:00
github-actions[bot] 3ba2352ef8 chore(post-release): update version to 1.53.0-next.5 2026-03-05 23:06:01 +00:00
Tyler Slaton f822c051de refactor(runtime): mcp -> mcpApps w/ granular config
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-03-05 17:40:28 -05:00
github-actions[bot] 9f12589107 chore(post-release): update version to 1.52.2-next.4 2026-03-05 21:28:52 +00:00
Maxim ac313314be chore: add changeset
Prevents error propagation from CPK when an agent runtime
is defined but unreachable. Adds an onError callback to
CopilotChat and CopilotKitProvider.
2026-03-05 16:25:16 -05:00
github-actions[bot] 2173e89096 chore(post-release): update version to 1.52.2-next.3 2026-03-05 17:42:38 +00:00
Ran Shemtov 1510f64ec8 chore: add changeset
Enabled MCP and A2UI middleware directly from CopilotKit runtime.
2026-03-05 16:43:38 +01:00
github-actions[bot] 3ff24c8b05 chore(post-release): update version to 1.52.2-next.2 2026-03-05 10:31:34 +00:00
Maxim 8e0f94faf8 chore: add changeset for AI SDK v6 upgrade 2026-03-04 15:02:40 -05:00
github-actions[bot] 7abe7f89d1 chore(post-release): update version to 1.52.2-next.1 2026-03-03 23:59:38 +00:00
Maxim e8f8b5fc02 fix: remove docs from big-hornets-shake changeset 2026-03-03 18:56:09 -05:00
Maxim f4aabd7b65 fix: replace @copilotkitnext with @copilotkit packages in big-hornets-shake changeset 2026-03-03 18:56:09 -05:00
Maxim bda1c52b66 fix: remove ignored package from big-hornets-shake changeset 2026-03-03 18:56:09 -05:00
Maxim a9f518d77c Merge branch 'main' into fix/enums-in-convert-json-schema-to-zod-schema 2026-03-04 01:55:22 +04:00
Maxim b696313847 Merge branch 'main' into feat/after-run-middleware-callbacks 2026-03-04 01:27:33 +04:00
Maxim bf1fc6f075 chore: add changeset
Fixes an issue where `convertJsonSchemaToZodSchema` was dropping enum constraints.
2026-03-04 01:20:42 +04:00
Maxim d1f7aba45e chore: add changeset
Expose messages in afterRequestMiddleware for runtime.
2026-03-04 01:18:13 +04:00
github-actions[bot] 4b78d74e11 chore(post-release): update version to 1.52.2-next.0 2026-03-03 17:40:27 +00:00
Maxim a827813bbe Merge branch 'main' into tyler/fix-thing 2026-03-03 21:23:04 +04:00
Ran Shemtov 9d9f867e07 chore: add changeset 2026-03-02 13:48:01 +01:00
Tyler Slaton f1eaa4c214 fix: ensure setModalOpen is always defined in useCopilotChatConfiguration
The shouldCreateModalState guard introduced in #3101 made setModalOpen
and isModalOpen conditionally undefined when isModalDefaultOpen wasn't
explicitly passed. This broke programmatic modal control for anyone
using useCopilotChatConfiguration outside of CopilotPopup/CopilotSidebar.

Reverts to the simpler ?? fallback pattern: each provider always has
modal state, preferring parent state when available, falling back to
its own internal state otherwise. Initial state still respects the
local isModalDefaultOpen prop (fix from 76e381f78).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 17:55:00 -05:00
github-actions[bot] aeac645881 chore(post-release): update version to 1.52.1 2026-02-27 20:04:51 +00:00
Tyler Slaton 89552ef7ac chore: release 1.52.1 2026-02-27 11:59:38 -08:00
github-actions[bot] d523d6cc68 chore(post-release): update version to 1.52.1-next.1 2026-02-27 14:12:29 +00:00
Alem Tuzlak b555ac4b69 fix(react-core): allow overriding useSingleEndpoint in CopilotKit provider
The V1 CopilotKit provider hardcoded useSingleEndpoint={true}, preventing
users from opting into REST transport mode. Now passes through the user's
prop value, defaulting to true for backward compatibility.
2026-02-27 13:36:06 +01:00
github-actions[bot] 0cf39911a0 chore(post-release): update version to 1.52.1-next.0 2026-02-27 03:53:52 +00:00
Tyler Slaton bbdf67d1b6 chore: changeset for release
Fix compatibility issues with CommonJS modules.
2026-02-26 19:50:26 -08:00
github-actions[bot] f924ecb4aa chore(post-release): update version to 1.52.0 2026-02-26 19:37:25 +00:00
Tyler Slaton 0a0394e0a4 chore: release 1.52.0
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-02-26 10:48:06 -08:00
github-actions[bot] a0cd2ed364 chore(post-release): update version to 1.52.0-next.8 2026-02-24 15:21:43 +00:00
Alem Tuzlak 942d397352 feat: e2e selectors for components (#3264) 2026-02-24 16:18:11 +01:00
github-actions[bot] 17d42682ef chore(post-release): update version to 1.52.0-next.7 2026-02-24 14:54:00 +00:00
Ran Shemtov d77f3475a6 feat: create use-interrupt hook (#3184)
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 15:50:21 +01:00
Jordan Ritter 0f47b01d06 feat: Enable Git LFS for binary assets (.gif, .jpg, .png, .pdf, .mp4) (#3238)
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-23 13:56:48 +01:00