@copilotkit/react-core 0.0.0-main-20260406172622 → 0.0.0-main-20260407163127
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 +10 -6
- package/dist/{copilotkit-Cs3FSw_2.cjs → copilotkit-B3Eeystj.cjs} +904 -136
- package/dist/copilotkit-B3Eeystj.cjs.map +1 -0
- package/dist/{copilotkit-BYNyIuE7.d.cts → copilotkit-B_nbOmBS.d.cts} +96 -13
- package/dist/copilotkit-B_nbOmBS.d.cts.map +1 -0
- package/dist/{copilotkit-rBCfdqIo.d.mts → copilotkit-Cs-8EAok.d.mts} +96 -13
- package/dist/copilotkit-Cs-8EAok.d.mts.map +1 -0
- package/dist/{copilotkit-C8yWo1ap.mjs → copilotkit-D3sdzqTz.mjs} +890 -140
- package/dist/copilotkit-D3sdzqTz.mjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.umd.js +4 -4
- package/dist/index.umd.js.map +1 -1
- package/dist/v2/index.cjs +4 -1
- package/dist/v2/index.css +1 -1
- package/dist/v2/index.d.cts +2 -2
- package/dist/v2/index.d.mts +2 -2
- package/dist/v2/index.mjs +2 -2
- package/dist/v2/index.umd.js +910 -138
- package/dist/v2/index.umd.js.map +1 -1
- package/package.json +18 -10
- package/src/v2/__tests__/utils/test-helpers.tsx +64 -0
- package/src/v2/components/chat/CopilotChat.tsx +151 -31
- package/src/v2/components/chat/CopilotChatAssistantMessage.tsx +17 -2
- package/src/v2/components/chat/CopilotChatAttachmentQueue.tsx +481 -0
- package/src/v2/components/chat/CopilotChatAttachmentRenderer.tsx +139 -0
- package/src/v2/components/chat/CopilotChatInput.tsx +1 -1
- package/src/v2/components/chat/CopilotChatMessageView.tsx +253 -149
- package/src/v2/components/chat/CopilotChatUserMessage.tsx +54 -0
- package/src/v2/components/chat/CopilotChatView.tsx +179 -66
- package/src/v2/components/chat/__tests__/CopilotChat.attachments.test.tsx +168 -0
- package/src/v2/components/chat/__tests__/CopilotChatActivityRendering.e2e.test.tsx +63 -2
- package/src/v2/components/chat/__tests__/CopilotChatInput.test.tsx +1 -1
- package/src/v2/components/chat/__tests__/CopilotChatPerf.e2e.test.tsx +268 -0
- package/src/v2/components/chat/__tests__/MCPAppsActivityRenderer.e2e.test.tsx +43 -2
- package/src/v2/components/chat/index.ts +9 -0
- package/src/v2/components/chat/scroll-element-context.ts +13 -0
- package/src/v2/hooks/__tests__/use-attachments.test.tsx +169 -0
- package/src/v2/hooks/__tests__/use-threads.test.tsx +54 -0
- package/src/v2/hooks/index.ts +5 -0
- package/src/v2/hooks/use-attachments.tsx +269 -0
- package/src/v2/hooks/use-render-activity-message.tsx +9 -2
- package/src/v2/hooks/use-threads.tsx +35 -15
- package/src/v2/providers/CopilotChatConfigurationProvider.tsx +1 -1
- package/src/v2/providers/CopilotKitProvider.tsx +14 -3
- package/src/v2/providers/__tests__/CopilotKitProvider.test.tsx +70 -0
- package/dist/copilotkit-BYNyIuE7.d.cts.map +0 -1
- package/dist/copilotkit-BYNyIuE7.d.ts +0 -2208
- package/dist/copilotkit-BYNyIuE7.d.ts.map +0 -1
- package/dist/copilotkit-C8yWo1ap.mjs.map +0 -1
- package/dist/copilotkit-Cs3FSw_2.cjs.map +0 -1
- package/dist/copilotkit-rBCfdqIo.d.mts.map +0 -1
- package/dist/index.d.ts +0 -667
- package/dist/index.d.ts.map +0 -1
- package/dist/v2/index.d.ts +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
# ui
|
|
2
2
|
|
|
3
|
-
## 0.0.0-main-
|
|
3
|
+
## 0.0.0-main-20260407163127
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
7
|
- 1ceb963: refactor: consolidate V1/V2 packages into flat @copilotkit/\* structure
|
|
8
|
+
- 5289791: feat: add multimodal attachment support to the builtin agent
|
|
8
9
|
|
|
9
10
|
### Patch Changes
|
|
10
11
|
|
|
12
|
+
- b4a8b7a: Add auto-detection of runtime transport (REST vs single-endpoint)
|
|
11
13
|
- 0f6a61c: fix: add React keys to CopilotMessages children to suppress "unique key prop" warning
|
|
12
14
|
- 1ceb963: fix: respect defaultOpen={false} in CopilotSidebar and CopilotPopup
|
|
13
15
|
- 1ceb963: fix: race condition in RunHandler.runAgent() causes dropped runs
|
|
@@ -16,14 +18,16 @@
|
|
|
16
18
|
- 52a9322: Fixing license warnings, barrel export and typing
|
|
17
19
|
- c341ed2: chore: kick CI to verify publish pipeline
|
|
18
20
|
- Updated dependencies [1ceb963]
|
|
21
|
+
- Updated dependencies [b4a8b7a]
|
|
19
22
|
- Updated dependencies [1ceb963]
|
|
20
23
|
- Updated dependencies [52a9322]
|
|
21
24
|
- Updated dependencies [1ceb963]
|
|
22
|
-
|
|
23
|
-
- @copilotkit/
|
|
24
|
-
- @copilotkit/
|
|
25
|
-
- @copilotkit/
|
|
26
|
-
- @copilotkit/
|
|
25
|
+
- Updated dependencies [5289791]
|
|
26
|
+
- @copilotkit/a2ui-renderer@0.0.0-main-20260407163127
|
|
27
|
+
- @copilotkit/core@0.0.0-main-20260407163127
|
|
28
|
+
- @copilotkit/runtime-client-gql@0.0.0-main-20260407163127
|
|
29
|
+
- @copilotkit/shared@0.0.0-main-20260407163127
|
|
30
|
+
- @copilotkit/web-inspector@0.0.0-main-20260407163127
|
|
27
31
|
|
|
28
32
|
## 1.55.0-next.8
|
|
29
33
|
|