@copilotkit/react-ui 0.0.0-main-20260126221712 → 0.0.0-main-20260220223427
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/.attw.json +3 -0
- package/CHANGELOG.md +186 -4
- package/README.md +18 -12
- package/dist/index.cjs +2737 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +258 -70
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +781 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +781 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2685 -81
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +2753 -0
- package/dist/index.umd.js.map +1 -0
- package/package.json +28 -23
- package/src/components/chat/Button.tsx +6 -2
- package/src/components/chat/Chat.tsx +75 -48
- package/src/components/chat/ChatContext.tsx +6 -2
- package/src/components/chat/CodeBlock.tsx +11 -6
- package/src/components/chat/Icons.tsx +45 -10
- package/src/components/chat/Input.tsx +30 -7
- package/src/components/chat/Markdown.tsx +27 -9
- package/src/components/chat/Messages.tsx +24 -8
- package/src/components/chat/Modal.tsx +12 -2
- package/src/components/chat/Popup.tsx +4 -2
- package/src/components/chat/PoweredByTag.tsx +5 -1
- package/src/components/chat/Sidebar.tsx +4 -2
- package/src/components/chat/Suggestion.tsx +6 -1
- package/src/components/chat/Textarea.tsx +15 -3
- package/src/components/chat/messages/AssistantMessage.tsx +16 -4
- package/src/components/chat/messages/ErrorMessage.tsx +3 -1
- package/src/components/chat/messages/ImageRenderer.tsx +17 -5
- package/src/components/chat/messages/LegacyRenderMessage.tsx +4 -1
- package/src/components/chat/messages/UserMessage.tsx +12 -4
- package/src/components/chat/props.ts +13 -3
- package/src/components/dev-console/console.tsx +35 -9
- package/src/components/dev-console/icons.tsx +6 -1
- package/src/components/dev-console/utils.ts +23 -15
- package/src/components/help-modal/icons.tsx +10 -2
- package/src/hooks/use-copy-to-clipboard.tsx +3 -1
- package/src/hooks/use-push-to-talk.tsx +45 -18
- package/src/lib/utils.ts +4 -1
- package/tsconfig.json +1 -1
- package/tsdown.config.ts +58 -0
- package/vitest.config.mjs +11 -0
- package/dist/chunk-3W6J75HS.mjs +0 -126
- package/dist/chunk-3W6J75HS.mjs.map +0 -1
- package/dist/chunk-4S4ZEKE6.mjs +0 -30
- package/dist/chunk-4S4ZEKE6.mjs.map +0 -1
- package/dist/chunk-54JAUBUJ.mjs +0 -26
- package/dist/chunk-54JAUBUJ.mjs.map +0 -1
- package/dist/chunk-6TWQUA2Q.mjs +0 -31
- package/dist/chunk-6TWQUA2Q.mjs.map +0 -1
- package/dist/chunk-BH6PCAAL.mjs +0 -81
- package/dist/chunk-BH6PCAAL.mjs.map +0 -1
- package/dist/chunk-C3GSYRC3.mjs +0 -118
- package/dist/chunk-C3GSYRC3.mjs.map +0 -1
- package/dist/chunk-DBKRAOH7.mjs +0 -34
- package/dist/chunk-DBKRAOH7.mjs.map +0 -1
- package/dist/chunk-EFZPSZWO.mjs +0 -1
- package/dist/chunk-EFZPSZWO.mjs.map +0 -1
- package/dist/chunk-ELGRNEAO.mjs +0 -32
- package/dist/chunk-ELGRNEAO.mjs.map +0 -1
- package/dist/chunk-FFJHOZX6.mjs +0 -202
- package/dist/chunk-FFJHOZX6.mjs.map +0 -1
- package/dist/chunk-GDSZGYCE.mjs +0 -32
- package/dist/chunk-GDSZGYCE.mjs.map +0 -1
- package/dist/chunk-HKZL4P3F.mjs +0 -222
- package/dist/chunk-HKZL4P3F.mjs.map +0 -1
- package/dist/chunk-IEMQ2SQW.mjs +0 -93
- package/dist/chunk-IEMQ2SQW.mjs.map +0 -1
- package/dist/chunk-IK2BPURM.mjs +0 -400
- package/dist/chunk-IK2BPURM.mjs.map +0 -1
- package/dist/chunk-IU3WTXLQ.mjs +0 -1
- package/dist/chunk-IU3WTXLQ.mjs.map +0 -1
- package/dist/chunk-JGMFJZMG.mjs +0 -11
- package/dist/chunk-JGMFJZMG.mjs.map +0 -1
- package/dist/chunk-JY2CSDKN.mjs +0 -135
- package/dist/chunk-JY2CSDKN.mjs.map +0 -1
- package/dist/chunk-KXE2JCUH.mjs +0 -1
- package/dist/chunk-KXE2JCUH.mjs.map +0 -1
- package/dist/chunk-MMVDU6DF.mjs +0 -1
- package/dist/chunk-MMVDU6DF.mjs.map +0 -1
- package/dist/chunk-MRXNTQOX.mjs +0 -59
- package/dist/chunk-MRXNTQOX.mjs.map +0 -1
- package/dist/chunk-NRA3CFEE.mjs +0 -97
- package/dist/chunk-NRA3CFEE.mjs.map +0 -1
- package/dist/chunk-O4PPO3K3.mjs +0 -21
- package/dist/chunk-O4PPO3K3.mjs.map +0 -1
- package/dist/chunk-O72ZB5V3.mjs +0 -140
- package/dist/chunk-O72ZB5V3.mjs.map +0 -1
- package/dist/chunk-PKSW6ZMQ.mjs +0 -133
- package/dist/chunk-PKSW6ZMQ.mjs.map +0 -1
- package/dist/chunk-PLHTVHUW.mjs +0 -82
- package/dist/chunk-PLHTVHUW.mjs.map +0 -1
- package/dist/chunk-Q5V6S67N.mjs +0 -103
- package/dist/chunk-Q5V6S67N.mjs.map +0 -1
- package/dist/chunk-QIOJXTIQ.mjs +0 -64
- package/dist/chunk-QIOJXTIQ.mjs.map +0 -1
- package/dist/chunk-RYUCX3ZK.mjs +0 -32
- package/dist/chunk-RYUCX3ZK.mjs.map +0 -1
- package/dist/chunk-SC6JRFAJ.mjs +0 -1
- package/dist/chunk-SC6JRFAJ.mjs.map +0 -1
- package/dist/chunk-SLM2AOHF.mjs +0 -116
- package/dist/chunk-SLM2AOHF.mjs.map +0 -1
- package/dist/chunk-T26KLXLH.mjs +0 -1
- package/dist/chunk-T26KLXLH.mjs.map +0 -1
- package/dist/chunk-UFN2VWSR.mjs +0 -25
- package/dist/chunk-UFN2VWSR.mjs.map +0 -1
- package/dist/chunk-UH5GQ7QF.mjs +0 -184
- package/dist/chunk-UH5GQ7QF.mjs.map +0 -1
- package/dist/chunk-V7W6IM2V.mjs +0 -1
- package/dist/chunk-V7W6IM2V.mjs.map +0 -1
- package/dist/chunk-VHKHX7GV.mjs +0 -31
- package/dist/chunk-VHKHX7GV.mjs.map +0 -1
- package/dist/chunk-WB3YULQ4.mjs +0 -1
- package/dist/chunk-WB3YULQ4.mjs.map +0 -1
- package/dist/chunk-XEZ5ODJS.mjs +0 -82
- package/dist/chunk-XEZ5ODJS.mjs.map +0 -1
- package/dist/chunk-XOBQLKUU.mjs +0 -118
- package/dist/chunk-XOBQLKUU.mjs.map +0 -1
- package/dist/chunk-XWG3L6QC.mjs +0 -258
- package/dist/chunk-XWG3L6QC.mjs.map +0 -1
- package/dist/chunk-Y4FKRAKJ.mjs +0 -12
- package/dist/chunk-Y4FKRAKJ.mjs.map +0 -1
- package/dist/chunk-YQOESY4Y.mjs +0 -435
- package/dist/chunk-YQOESY4Y.mjs.map +0 -1
- package/dist/components/chat/Button.d.ts +0 -9
- package/dist/components/chat/Button.js +0 -71
- package/dist/components/chat/Button.js.map +0 -1
- package/dist/components/chat/Button.mjs +0 -10
- package/dist/components/chat/Button.mjs.map +0 -1
- package/dist/components/chat/Chat.d.ts +0 -204
- package/dist/components/chat/Chat.js +0 -2261
- package/dist/components/chat/Chat.js.map +0 -1
- package/dist/components/chat/Chat.mjs +0 -29
- package/dist/components/chat/Chat.mjs.map +0 -1
- package/dist/components/chat/ChatContext.d.ts +0 -145
- package/dist/components/chat/ChatContext.js +0 -329
- package/dist/components/chat/ChatContext.js.map +0 -1
- package/dist/components/chat/ChatContext.mjs +0 -13
- package/dist/components/chat/ChatContext.mjs.map +0 -1
- package/dist/components/chat/CodeBlock.d.ts +0 -14
- package/dist/components/chat/CodeBlock.js +0 -510
- package/dist/components/chat/CodeBlock.js.map +0 -1
- package/dist/components/chat/CodeBlock.mjs +0 -14
- package/dist/components/chat/CodeBlock.mjs.map +0 -1
- package/dist/components/chat/Header.d.ts +0 -9
- package/dist/components/chat/Header.js +0 -582
- package/dist/components/chat/Header.js.map +0 -1
- package/dist/components/chat/Header.mjs +0 -17
- package/dist/components/chat/Header.mjs.map +0 -1
- package/dist/components/chat/Icons.d.ts +0 -20
- package/dist/components/chat/Icons.js +0 -297
- package/dist/components/chat/Icons.js.map +0 -1
- package/dist/components/chat/Icons.mjs +0 -38
- package/dist/components/chat/Icons.mjs.map +0 -1
- package/dist/components/chat/ImageUploadQueue.d.ts +0 -13
- package/dist/components/chat/ImageUploadQueue.js +0 -106
- package/dist/components/chat/ImageUploadQueue.js.map +0 -1
- package/dist/components/chat/ImageUploadQueue.mjs +0 -8
- package/dist/components/chat/ImageUploadQueue.mjs.map +0 -1
- package/dist/components/chat/Input.d.ts +0 -9
- package/dist/components/chat/Input.js +0 -396
- package/dist/components/chat/Input.js.map +0 -1
- package/dist/components/chat/Input.mjs +0 -14
- package/dist/components/chat/Input.mjs.map +0 -1
- package/dist/components/chat/Markdown.d.ts +0 -12
- package/dist/components/chat/Markdown.js +0 -642
- package/dist/components/chat/Markdown.js.map +0 -1
- package/dist/components/chat/Markdown.mjs +0 -11
- package/dist/components/chat/Markdown.mjs.map +0 -1
- package/dist/components/chat/Messages.d.ts +0 -13
- package/dist/components/chat/Messages.js +0 -1185
- package/dist/components/chat/Messages.js.map +0 -1
- package/dist/components/chat/Messages.mjs +0 -20
- package/dist/components/chat/Messages.mjs.map +0 -1
- package/dist/components/chat/Modal.d.ts +0 -51
- package/dist/components/chat/Modal.js +0 -3066
- package/dist/components/chat/Modal.js.map +0 -1
- package/dist/components/chat/Modal.mjs +0 -38
- package/dist/components/chat/Modal.mjs.map +0 -1
- package/dist/components/chat/Popup.d.ts +0 -13
- package/dist/components/chat/Popup.js +0 -3077
- package/dist/components/chat/Popup.js.map +0 -1
- package/dist/components/chat/Popup.mjs +0 -39
- package/dist/components/chat/Popup.mjs.map +0 -1
- package/dist/components/chat/PoweredByTag.d.ts +0 -7
- package/dist/components/chat/PoweredByTag.js +0 -61
- package/dist/components/chat/PoweredByTag.js.map +0 -1
- package/dist/components/chat/PoweredByTag.mjs +0 -9
- package/dist/components/chat/PoweredByTag.mjs.map +0 -1
- package/dist/components/chat/Sidebar.d.ts +0 -13
- package/dist/components/chat/Sidebar.js +0 -3086
- package/dist/components/chat/Sidebar.js.map +0 -1
- package/dist/components/chat/Sidebar.mjs +0 -39
- package/dist/components/chat/Sidebar.mjs.map +0 -1
- package/dist/components/chat/Suggestion.d.ts +0 -12
- package/dist/components/chat/Suggestion.js +0 -57
- package/dist/components/chat/Suggestion.js.map +0 -1
- package/dist/components/chat/Suggestion.mjs +0 -9
- package/dist/components/chat/Suggestion.mjs.map +0 -1
- package/dist/components/chat/Suggestions.d.ts +0 -9
- package/dist/components/chat/Suggestions.js +0 -82
- package/dist/components/chat/Suggestions.js.map +0 -1
- package/dist/components/chat/Suggestions.mjs +0 -10
- package/dist/components/chat/Suggestions.mjs.map +0 -1
- package/dist/components/chat/Textarea.d.ts +0 -15
- package/dist/components/chat/Textarea.js +0 -84
- package/dist/components/chat/Textarea.js.map +0 -1
- package/dist/components/chat/Textarea.mjs +0 -8
- package/dist/components/chat/Textarea.mjs.map +0 -1
- package/dist/components/chat/Window.d.ts +0 -9
- package/dist/components/chat/Window.js +0 -164
- package/dist/components/chat/Window.js.map +0 -1
- package/dist/components/chat/Window.mjs +0 -10
- package/dist/components/chat/Window.mjs.map +0 -1
- package/dist/components/chat/index.d.ts +0 -18
- package/dist/components/chat/index.js +0 -3113
- package/dist/components/chat/index.js.map +0 -1
- package/dist/components/chat/index.mjs +0 -69
- package/dist/components/chat/index.mjs.map +0 -1
- package/dist/components/chat/messages/AssistantMessage.d.ts +0 -9
- package/dist/components/chat/messages/AssistantMessage.js +0 -765
- package/dist/components/chat/messages/AssistantMessage.js.map +0 -1
- package/dist/components/chat/messages/AssistantMessage.mjs +0 -13
- package/dist/components/chat/messages/AssistantMessage.mjs.map +0 -1
- package/dist/components/chat/messages/ErrorMessage.d.ts +0 -9
- package/dist/components/chat/messages/ErrorMessage.js +0 -712
- package/dist/components/chat/messages/ErrorMessage.js.map +0 -1
- package/dist/components/chat/messages/ErrorMessage.mjs +0 -66
- package/dist/components/chat/messages/ErrorMessage.mjs.map +0 -1
- package/dist/components/chat/messages/ImageRenderer.d.ts +0 -12
- package/dist/components/chat/messages/ImageRenderer.js +0 -58
- package/dist/components/chat/messages/ImageRenderer.js.map +0 -1
- package/dist/components/chat/messages/ImageRenderer.mjs +0 -8
- package/dist/components/chat/messages/ImageRenderer.mjs.map +0 -1
- package/dist/components/chat/messages/LegacyRenderMessage.d.ts +0 -28
- package/dist/components/chat/messages/LegacyRenderMessage.js +0 -1013
- package/dist/components/chat/messages/LegacyRenderMessage.js.map +0 -1
- package/dist/components/chat/messages/LegacyRenderMessage.mjs +0 -17
- package/dist/components/chat/messages/LegacyRenderMessage.mjs.map +0 -1
- package/dist/components/chat/messages/RenderMessage.d.ts +0 -9
- package/dist/components/chat/messages/RenderMessage.js +0 -888
- package/dist/components/chat/messages/RenderMessage.js.map +0 -1
- package/dist/components/chat/messages/RenderMessage.mjs +0 -16
- package/dist/components/chat/messages/RenderMessage.mjs.map +0 -1
- package/dist/components/chat/messages/UserMessage.d.ts +0 -9
- package/dist/components/chat/messages/UserMessage.js +0 -56
- package/dist/components/chat/messages/UserMessage.js.map +0 -1
- package/dist/components/chat/messages/UserMessage.mjs +0 -8
- package/dist/components/chat/messages/UserMessage.mjs.map +0 -1
- package/dist/components/chat/props.d.ts +0 -298
- package/dist/components/chat/props.js +0 -19
- package/dist/components/chat/props.js.map +0 -1
- package/dist/components/chat/props.mjs +0 -2
- package/dist/components/chat/props.mjs.map +0 -1
- package/dist/components/dev-console/console.d.ts +0 -11
- package/dist/components/dev-console/console.js +0 -537
- package/dist/components/dev-console/console.js.map +0 -1
- package/dist/components/dev-console/console.mjs +0 -17
- package/dist/components/dev-console/console.mjs.map +0 -1
- package/dist/components/dev-console/icons.d.ts +0 -9
- package/dist/components/dev-console/icons.js +0 -131
- package/dist/components/dev-console/icons.js.map +0 -1
- package/dist/components/dev-console/icons.mjs +0 -16
- package/dist/components/dev-console/icons.mjs.map +0 -1
- package/dist/components/dev-console/index.d.ts +0 -3
- package/dist/components/dev-console/index.js +0 -537
- package/dist/components/dev-console/index.js.map +0 -1
- package/dist/components/dev-console/index.mjs +0 -18
- package/dist/components/dev-console/index.mjs.map +0 -1
- package/dist/components/dev-console/types.d.ts +0 -9
- package/dist/components/dev-console/types.js +0 -19
- package/dist/components/dev-console/types.js.map +0 -1
- package/dist/components/dev-console/types.mjs +0 -1
- package/dist/components/dev-console/types.mjs.map +0 -1
- package/dist/components/dev-console/utils.d.ts +0 -10
- package/dist/components/dev-console/utils.js +0 -177
- package/dist/components/dev-console/utils.js.map +0 -1
- package/dist/components/dev-console/utils.mjs +0 -16
- package/dist/components/dev-console/utils.mjs.map +0 -1
- package/dist/components/help-modal/icons.d.ts +0 -9
- package/dist/components/help-modal/icons.js +0 -107
- package/dist/components/help-modal/icons.js.map +0 -1
- package/dist/components/help-modal/icons.mjs +0 -12
- package/dist/components/help-modal/icons.mjs.map +0 -1
- package/dist/components/help-modal/index.d.ts +0 -2
- package/dist/components/help-modal/index.js +0 -137
- package/dist/components/help-modal/index.js.map +0 -1
- package/dist/components/help-modal/index.mjs +0 -10
- package/dist/components/help-modal/index.mjs.map +0 -1
- package/dist/components/help-modal/modal.d.ts +0 -5
- package/dist/components/help-modal/modal.js +0 -135
- package/dist/components/help-modal/modal.js.map +0 -1
- package/dist/components/help-modal/modal.mjs +0 -9
- package/dist/components/help-modal/modal.mjs.map +0 -1
- package/dist/components/index.d.ts +0 -19
- package/dist/components/index.js +0 -3117
- package/dist/components/index.js.map +0 -1
- package/dist/components/index.mjs +0 -76
- package/dist/components/index.mjs.map +0 -1
- package/dist/context/index.d.ts +0 -2
- package/dist/context/index.js +0 -19
- package/dist/context/index.js.map +0 -1
- package/dist/context/index.mjs +0 -2
- package/dist/context/index.mjs.map +0 -1
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/index.js +0 -36
- package/dist/hooks/index.js.map +0 -1
- package/dist/hooks/index.mjs +0 -9
- package/dist/hooks/index.mjs.map +0 -1
- package/dist/hooks/use-copilot-chat-suggestions.d.ts +0 -66
- package/dist/hooks/use-copilot-chat-suggestions.js +0 -34
- package/dist/hooks/use-copilot-chat-suggestions.js.map +0 -1
- package/dist/hooks/use-copilot-chat-suggestions.mjs +0 -8
- package/dist/hooks/use-copilot-chat-suggestions.mjs.map +0 -1
- package/dist/hooks/use-copy-to-clipboard.d.ts +0 -9
- package/dist/hooks/use-copy-to-clipboard.js +0 -60
- package/dist/hooks/use-copy-to-clipboard.js.map +0 -1
- package/dist/hooks/use-copy-to-clipboard.mjs +0 -8
- package/dist/hooks/use-copy-to-clipboard.mjs.map +0 -1
- package/dist/hooks/use-dark-mode.d.ts +0 -3
- package/dist/hooks/use-dark-mode.js +0 -35
- package/dist/hooks/use-dark-mode.js.map +0 -1
- package/dist/hooks/use-dark-mode.mjs +0 -8
- package/dist/hooks/use-dark-mode.mjs.map +0 -1
- package/dist/hooks/use-push-to-talk.d.ts +0 -19
- package/dist/hooks/use-push-to-talk.js +0 -195
- package/dist/hooks/use-push-to-talk.js.map +0 -1
- package/dist/hooks/use-push-to-talk.mjs +0 -12
- package/dist/hooks/use-push-to-talk.mjs.map +0 -1
- package/dist/index.d.ts +0 -21
- package/dist/index.js +0 -3126
- package/dist/index.js.map +0 -1
- package/dist/lib/utils.d.ts +0 -4
- package/dist/lib/utils.js +0 -76
- package/dist/lib/utils.js.map +0 -1
- package/dist/lib/utils.mjs +0 -34
- package/dist/lib/utils.mjs.map +0 -1
- package/dist/types/css.d.ts +0 -22
- package/dist/types/css.js +0 -19
- package/dist/types/css.js.map +0 -1
- package/dist/types/css.mjs +0 -1
- package/dist/types/css.mjs.map +0 -1
- package/dist/types/index.d.ts +0 -3
- package/dist/types/index.js +0 -19
- package/dist/types/index.js.map +0 -1
- package/dist/types/index.mjs +0 -2
- package/dist/types/index.mjs.map +0 -1
- package/dist/types/suggestions.d.ts +0 -9
- package/dist/types/suggestions.js +0 -19
- package/dist/types/suggestions.js.map +0 -1
- package/dist/types/suggestions.mjs +0 -1
- package/dist/types/suggestions.mjs.map +0 -1
- package/dist/v2/index.css +0 -4
- package/dist/v2/index.css.map +0 -1
- package/dist/v2/index.d.ts +0 -2
- package/dist/v2/index.js +0 -2
- package/dist/v2/index.js.map +0 -1
- package/dist/v2/index.mjs +0 -2
- package/dist/v2/index.mjs.map +0 -1
- package/jest.config.js +0 -5
- package/tsup.config.ts +0 -11
package/.attw.json
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,195 @@
|
|
|
1
1
|
# ui
|
|
2
2
|
|
|
3
|
-
## 0.0.0-main-
|
|
3
|
+
## 0.0.0-main-20260220223427
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- Updated dependencies [ef0f539]
|
|
8
|
+
- Updated dependencies [412965a]
|
|
9
|
+
- @copilotkit/react-core@0.0.0-main-20260220223427
|
|
10
|
+
- @copilotkit/shared@0.0.0-main-20260220223427
|
|
11
|
+
- @copilotkit/runtime-client-gql@0.0.0-main-20260220223427
|
|
12
|
+
|
|
13
|
+
## 1.51.5-next.3
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- @copilotkit/react-core@1.51.5-next.3
|
|
18
|
+
- @copilotkit/runtime-client-gql@1.51.5-next.3
|
|
19
|
+
- @copilotkit/shared@1.51.5-next.3
|
|
20
|
+
|
|
21
|
+
## 1.51.5-next.2
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- @copilotkit/react-core@1.51.5-next.2
|
|
26
|
+
- @copilotkit/runtime-client-gql@1.51.5-next.2
|
|
27
|
+
- @copilotkit/shared@1.51.5-next.2
|
|
28
|
+
|
|
29
|
+
## 1.51.5-next.1
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- Updated dependencies [412965a]
|
|
34
|
+
- @copilotkit/react-core@1.51.5-next.1
|
|
35
|
+
- @copilotkit/runtime-client-gql@1.51.5-next.1
|
|
36
|
+
- @copilotkit/shared@1.51.5-next.1
|
|
37
|
+
|
|
38
|
+
## 1.51.5-next.0
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- Updated dependencies [ef0f539]
|
|
43
|
+
- @copilotkit/react-core@1.51.5-next.0
|
|
44
|
+
- @copilotkit/shared@1.51.5-next.0
|
|
45
|
+
- @copilotkit/runtime-client-gql@1.51.5-next.0
|
|
46
|
+
|
|
47
|
+
## 1.51.4
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- Updated dependencies [6b9c60e]
|
|
52
|
+
- Updated dependencies [12ee574]
|
|
53
|
+
- Updated dependencies [9bc868d]
|
|
54
|
+
- Updated dependencies [c998f30]
|
|
55
|
+
- Updated dependencies [6b7d8ef]
|
|
56
|
+
- @copilotkit/react-core@1.51.4
|
|
57
|
+
- @copilotkit/runtime-client-gql@1.51.4
|
|
58
|
+
- @copilotkit/shared@1.51.4
|
|
59
|
+
|
|
60
|
+
## 1.51.4-next.8
|
|
61
|
+
|
|
62
|
+
### Patch Changes
|
|
63
|
+
|
|
64
|
+
- Updated dependencies [9bc868d]
|
|
65
|
+
- @copilotkit/react-core@1.51.4-next.8
|
|
66
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.8
|
|
67
|
+
- @copilotkit/shared@1.51.4-next.8
|
|
68
|
+
|
|
69
|
+
## 1.51.4-next.7
|
|
70
|
+
|
|
71
|
+
### Patch Changes
|
|
72
|
+
|
|
73
|
+
- Updated dependencies [6b7d8ef]
|
|
74
|
+
- @copilotkit/react-core@1.51.4-next.7
|
|
75
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.7
|
|
76
|
+
- @copilotkit/shared@1.51.4-next.7
|
|
77
|
+
|
|
78
|
+
## 1.51.4-next.6
|
|
79
|
+
|
|
80
|
+
### Patch Changes
|
|
81
|
+
|
|
82
|
+
- @copilotkit/react-core@1.51.4-next.6
|
|
83
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.6
|
|
84
|
+
- @copilotkit/shared@1.51.4-next.6
|
|
85
|
+
|
|
86
|
+
## 1.51.4-next.5
|
|
87
|
+
|
|
88
|
+
### Patch Changes
|
|
89
|
+
|
|
90
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.5
|
|
91
|
+
- @copilotkit/react-core@1.51.4-next.5
|
|
92
|
+
- @copilotkit/shared@1.51.4-next.5
|
|
93
|
+
|
|
94
|
+
## 1.51.4-next.4
|
|
95
|
+
|
|
96
|
+
### Patch Changes
|
|
97
|
+
|
|
98
|
+
- Updated dependencies [c998f30]
|
|
99
|
+
- @copilotkit/react-core@1.51.4-next.4
|
|
100
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.4
|
|
101
|
+
- @copilotkit/shared@1.51.4-next.4
|
|
102
|
+
|
|
103
|
+
## 1.51.4-next.3
|
|
104
|
+
|
|
105
|
+
### Patch Changes
|
|
106
|
+
|
|
107
|
+
- Updated dependencies [6b9c60e]
|
|
108
|
+
- @copilotkit/react-core@1.51.4-next.3
|
|
109
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.3
|
|
110
|
+
- @copilotkit/shared@1.51.4-next.3
|
|
111
|
+
|
|
112
|
+
## 1.51.4-next.2
|
|
113
|
+
|
|
114
|
+
### Patch Changes
|
|
115
|
+
|
|
116
|
+
- @copilotkit/react-core@1.51.4-next.2
|
|
117
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.2
|
|
118
|
+
- @copilotkit/shared@1.51.4-next.2
|
|
119
|
+
|
|
120
|
+
## 1.51.4-next.1
|
|
121
|
+
|
|
122
|
+
### Patch Changes
|
|
123
|
+
|
|
124
|
+
- Updated dependencies [12ee574]
|
|
125
|
+
- @copilotkit/react-core@1.51.4-next.1
|
|
126
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.1
|
|
127
|
+
- @copilotkit/shared@1.51.4-next.1
|
|
128
|
+
|
|
129
|
+
## 1.51.4-next.0
|
|
130
|
+
|
|
131
|
+
### Patch Changes
|
|
132
|
+
|
|
133
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.0
|
|
134
|
+
- @copilotkit/react-core@1.51.4-next.0
|
|
135
|
+
- @copilotkit/shared@1.51.4-next.0
|
|
136
|
+
|
|
137
|
+
## 1.51.3
|
|
138
|
+
|
|
139
|
+
### Patch Changes
|
|
140
|
+
|
|
141
|
+
- d36fc1e: Add UMD export
|
|
7
142
|
- Updated dependencies [d655e75]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
143
|
+
- Updated dependencies [d36fc1e]
|
|
144
|
+
- Updated dependencies [e89fe98]
|
|
145
|
+
- Updated dependencies [3f00a01]
|
|
146
|
+
- @copilotkit/react-core@1.51.3
|
|
147
|
+
- @copilotkit/shared@1.51.3
|
|
148
|
+
- @copilotkit/runtime-client-gql@1.51.3
|
|
149
|
+
|
|
150
|
+
## 1.51.3-next.8
|
|
151
|
+
|
|
152
|
+
### Patch Changes
|
|
153
|
+
|
|
154
|
+
- d36fc1e: Add UMD export
|
|
155
|
+
- Updated dependencies [d36fc1e]
|
|
156
|
+
- @copilotkit/runtime-client-gql@1.51.3-next.8
|
|
157
|
+
- @copilotkit/react-core@1.51.3-next.8
|
|
158
|
+
- @copilotkit/shared@1.51.3-next.8
|
|
159
|
+
|
|
160
|
+
## 1.51.3-next.7
|
|
161
|
+
|
|
162
|
+
### Patch Changes
|
|
163
|
+
|
|
164
|
+
- Updated dependencies [3f00a01]
|
|
165
|
+
- @copilotkit/react-core@1.51.3-next.7
|
|
166
|
+
- @copilotkit/runtime-client-gql@1.51.3-next.7
|
|
167
|
+
- @copilotkit/shared@1.51.3-next.7
|
|
168
|
+
|
|
169
|
+
## 1.51.3-next.6
|
|
170
|
+
|
|
171
|
+
### Patch Changes
|
|
172
|
+
|
|
173
|
+
- @copilotkit/runtime-client-gql@1.51.3-next.6
|
|
174
|
+
- @copilotkit/react-core@1.51.3-next.6
|
|
175
|
+
- @copilotkit/shared@1.51.3-next.6
|
|
176
|
+
|
|
177
|
+
## 1.51.3-next.5
|
|
178
|
+
|
|
179
|
+
### Patch Changes
|
|
180
|
+
|
|
181
|
+
- Updated dependencies [e89fe98]
|
|
182
|
+
- @copilotkit/react-core@1.51.3-next.5
|
|
183
|
+
- @copilotkit/runtime-client-gql@1.51.3-next.5
|
|
184
|
+
- @copilotkit/shared@1.51.3-next.5
|
|
185
|
+
|
|
186
|
+
## 1.51.3-next.4
|
|
187
|
+
|
|
188
|
+
### Patch Changes
|
|
189
|
+
|
|
190
|
+
- @copilotkit/runtime-client-gql@1.51.3-next.4
|
|
191
|
+
- @copilotkit/react-core@1.51.3-next.4
|
|
192
|
+
- @copilotkit/shared@1.51.3-next.4
|
|
11
193
|
|
|
12
194
|
## 1.51.3-next.3
|
|
13
195
|
|
package/README.md
CHANGED
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
const { visibleMessages, appendMessage, setMessages, ... } = useCopilotChat();
|
|
49
49
|
|
|
50
50
|
// Pre-built components with deep customization options (CSS + pass custom sub-components)
|
|
51
|
-
<CopilotPopup
|
|
52
|
-
instructions={"You are assisting the user as best as you can. Answer in the best way possible given the data you have."}
|
|
53
|
-
labels={{ title: "Popup Assistant", initial: "Need any help?" }}
|
|
51
|
+
<CopilotPopup
|
|
52
|
+
instructions={"You are assisting the user as best as you can. Answer in the best way possible given the data you have."}
|
|
53
|
+
labels={{ title: "Popup Assistant", initial: "Need any help?" }}
|
|
54
54
|
/>
|
|
55
55
|
```
|
|
56
56
|
|
|
@@ -71,9 +71,9 @@ useCopilotAction({
|
|
|
71
71
|
|
|
72
72
|
```ts
|
|
73
73
|
// Share state between app and agent
|
|
74
|
-
const { agentState } = useCoAgent({
|
|
75
|
-
name: "basic_agent",
|
|
76
|
-
initialState: { input: "NYC" }
|
|
74
|
+
const { agentState } = useCoAgent({
|
|
75
|
+
name: "basic_agent",
|
|
76
|
+
initialState: { input: "NYC" }
|
|
77
77
|
});
|
|
78
78
|
|
|
79
79
|
// agentic generative UI
|
|
@@ -114,14 +114,20 @@ useCopilotAction({
|
|
|
114
114
|
```ts
|
|
115
115
|
// intermediate agent state streaming (supports both LangGraph.js + LangGraph python)
|
|
116
116
|
const modifiedConfig = copilotKitCustomizeConfig(config, {
|
|
117
|
-
emitIntermediateState: [
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
117
|
+
emitIntermediateState: [
|
|
118
|
+
{
|
|
119
|
+
stateKey: "outline",
|
|
120
|
+
tool: "set_outline",
|
|
121
|
+
toolArgument: "outline",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
122
124
|
});
|
|
123
|
-
const response = await ChatOpenAI({ model: "gpt-4o" }).invoke(
|
|
125
|
+
const response = await ChatOpenAI({ model: "gpt-4o" }).invoke(
|
|
126
|
+
messages,
|
|
127
|
+
modifiedConfig,
|
|
128
|
+
);
|
|
124
129
|
```
|
|
130
|
+
|
|
125
131
|
## 🏆 Featured Examples
|
|
126
132
|
|
|
127
133
|
<p align="center">
|