Commit Graph

15 Commits

Author SHA1 Message Date
Alem Tuzlak 69d9e869e3 feat(react-core): export CopilotKit from v2 subpath
Re-export the CopilotKit component and CopilotKitProps type from
@copilotkit/react-core/v2 so users can import the full-featured
provider (with 1.50 compatibility layer) directly from the v2 subpath.
2026-03-06 14:04:06 +01:00
Alem Tuzlak 9f3f613dd9 chore: fix failing test in CI and lint issues 2026-03-03 14:36:58 +01:00
Alem Tuzlak 0c472fe567 chore: update tsconfig paths and improve CopilotKitProvider stability 2026-03-03 14:27:19 +01:00
Alem Tuzlak fc5fbc7fe3 Merge branch 'main' into 3169-multiple-requests 2026-02-27 15:21:13 +01: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
Alem Tuzlak b60707563f feat: accept agentId parameter in useLangGraphInterrupt (#3272) 2026-02-26 17:24:32 +01: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
Ian VS 1c77272197 chore: format 2026-02-23 08:33:13 -05:00
Ian VS 0e82a8e840 test(react-core): add tests for connectAgent runtime connection guard
Verify that the runtimeConnectionStatus === "connected" guard in
useCopilotChatInternal prevents duplicate connectAgent calls during
runtime initialization.

Relates to #3169

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 10:31:19 -05:00
Ian VS 6cb8a9eb19 fix(react-core): prevent duplicate connectAgent calls during runtime init
Guard the connectAgent call in useCopilotChatInternal with a
runtimeConnectionStatus === "connected" check so provisional agent
instances created while the runtime is still connecting don't each
trigger their own request.

Fixes #3169

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 09:09:25 -05:00
Maxim 412965a71a feat(react): add 'available' property to frontend tools (#3234) 2026-02-18 18:07:31 -05:00
Max Korp 980d3f5b55 docs: add v2 interface reference docs (#3197)
Also fixing some linting/build issues.

Co-authored-by: Tyler Slaton <tyler@copilotkit.ai>
2026-02-17 17:14:41 -05:00
Alem Tuzlak 98ed92c4ef Feat/speed up build system (#3213) 2026-02-17 18:34:26 +01:00
Alem Tuzlak 7cd968d6a6 refactor: migrate from Turborepo to Nx for task management (#3207) 2026-02-13 16:53:35 +01:00
Alem Tuzlak 7b838547a9 feat: re-architeture the monorepo setup (#3187) 2026-02-13 11:01:44 +01:00