@copilotkit/react-textarea 0.0.0-main-20260126221712 → 0.0.0-main-20260402184302
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 +534 -4
- package/README.md +18 -12
- package/dist/index.cjs +1940 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +8 -637
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +318 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +318 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +1901 -61
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1939 -0
- package/dist/index.umd.js.map +1 -0
- package/package.json +55 -52
- package/src/components/base-copilot-textarea/base-copilot-textarea.css +5 -6
- package/src/components/base-copilot-textarea/base-copilot-textarea.tsx +30 -10
- package/src/components/base-copilot-textarea/render-element.tsx +6 -2
- package/src/components/base-copilot-textarea/render-placeholder.tsx +3 -1
- package/src/components/base-copilot-textarea/use-add-branding-css.tsx +3 -1
- package/src/components/copilot-textarea/copilot-textarea.tsx +19 -13
- package/src/components/hovering-toolbar/hovering-editor-provider.tsx +3 -1
- package/src/components/hovering-toolbar/hovering-toolbar-components.tsx +59 -52
- package/src/components/hovering-toolbar/hovering-toolbar.tsx +52 -6
- package/src/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.tsx +16 -7
- package/src/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.tsx +7 -2
- package/src/components/manual-ui/chip-with-icon.tsx +12 -3
- package/src/components/source-search-box/source-search-box.tsx +12 -2
- package/src/components/ui/button.tsx +13 -5
- package/src/components/ui/command.tsx +17 -4
- package/src/components/ui/dialog.tsx +23 -5
- package/src/components/ui/label.tsx +7 -2
- package/src/esm-compat.test.ts +44 -0
- package/src/hooks/base-copilot-textarea-implementation/use-autosuggestions.ts +35 -9
- package/src/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.tsx +5 -1
- package/src/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.ts +5 -1
- package/src/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.tsx +9 -2
- package/src/hooks/make-autosuggestions-function/use-make-standard-insertion-function.tsx +24 -6
- package/src/hooks/misc/use-autosize-textarea.tsx +4 -1
- package/src/lib/debouncer.ts +3 -1
- package/src/lib/editor-to-text.ts +5 -2
- package/src/lib/get-text-around-cursor.ts +14 -2
- package/src/lib/slatejs-edits/clear-autocompletions.ts +4 -1
- package/src/lib/slatejs-edits/with-partial-history.ts +10 -3
- package/src/lib/stream-promise-flatten.ts +3 -1
- package/src/lib/utils.ts +6 -2
- package/src/types/autosuggestions-config/autosuggestions-config-user-specified.tsx +3 -2
- package/src/types/autosuggestions-config/autosuggestions-config.tsx +20 -5
- package/src/types/autosuggestions-config/editing-api-config.tsx +2 -1
- package/src/types/autosuggestions-config/subtypes/make-system-prompt.ts +4 -1
- package/src/types/base/base-autosuggestions-config.tsx +10 -4
- package/src/types/base/base-copilot-textarea-props.tsx +4 -2
- package/tsconfig.json +4 -4
- package/tsdown.config.ts +60 -0
- package/vitest.config.mjs +11 -0
- package/dist/chunk-23Q6A46J.mjs +0 -103
- package/dist/chunk-23Q6A46J.mjs.map +0 -1
- package/dist/chunk-2C7O2EVM.mjs +0 -27
- package/dist/chunk-2C7O2EVM.mjs.map +0 -1
- package/dist/chunk-2IWVZ4PP.mjs +0 -103
- package/dist/chunk-2IWVZ4PP.mjs.map +0 -1
- package/dist/chunk-2QDCE7PD.mjs +0 -32
- package/dist/chunk-2QDCE7PD.mjs.map +0 -1
- package/dist/chunk-3QJOFG3V.mjs +0 -25
- package/dist/chunk-3QJOFG3V.mjs.map +0 -1
- package/dist/chunk-4NHVQZ67.mjs +0 -108
- package/dist/chunk-4NHVQZ67.mjs.map +0 -1
- package/dist/chunk-4PDYALMP.mjs +0 -52
- package/dist/chunk-4PDYALMP.mjs.map +0 -1
- package/dist/chunk-5UNJXFUO.mjs +0 -29
- package/dist/chunk-5UNJXFUO.mjs.map +0 -1
- package/dist/chunk-6SGWO63I.mjs +0 -32
- package/dist/chunk-6SGWO63I.mjs.map +0 -1
- package/dist/chunk-72GJNLCO.mjs +0 -120
- package/dist/chunk-72GJNLCO.mjs.map +0 -1
- package/dist/chunk-7LSRNPNI.mjs +0 -59
- package/dist/chunk-7LSRNPNI.mjs.map +0 -1
- package/dist/chunk-AJ5OMEXM.mjs +0 -13
- package/dist/chunk-AJ5OMEXM.mjs.map +0 -1
- package/dist/chunk-D47EKHIF.mjs +0 -26
- package/dist/chunk-D47EKHIF.mjs.map +0 -1
- package/dist/chunk-DE5K76I2.mjs +0 -1
- package/dist/chunk-DE5K76I2.mjs.map +0 -1
- package/dist/chunk-DFTV4TST.mjs +0 -36
- package/dist/chunk-DFTV4TST.mjs.map +0 -1
- package/dist/chunk-DL3JWL2E.mjs +0 -170
- package/dist/chunk-DL3JWL2E.mjs.map +0 -1
- package/dist/chunk-DRV2FOHZ.mjs +0 -70
- package/dist/chunk-DRV2FOHZ.mjs.map +0 -1
- package/dist/chunk-ECR45NSD.mjs +0 -104
- package/dist/chunk-ECR45NSD.mjs.map +0 -1
- package/dist/chunk-EJGGLWWR.mjs +0 -82
- package/dist/chunk-EJGGLWWR.mjs.map +0 -1
- package/dist/chunk-F2ULK22F.mjs +0 -39
- package/dist/chunk-F2ULK22F.mjs.map +0 -1
- package/dist/chunk-F6RLSVG3.mjs +0 -30
- package/dist/chunk-F6RLSVG3.mjs.map +0 -1
- package/dist/chunk-FFYCP5ZP.mjs +0 -269
- package/dist/chunk-FFYCP5ZP.mjs.map +0 -1
- package/dist/chunk-GQN2HYFJ.mjs +0 -22
- package/dist/chunk-GQN2HYFJ.mjs.map +0 -1
- package/dist/chunk-GU5LTWGL.mjs +0 -226
- package/dist/chunk-GU5LTWGL.mjs.map +0 -1
- package/dist/chunk-H4VKQGVU.mjs +0 -1
- package/dist/chunk-H4VKQGVU.mjs.map +0 -1
- package/dist/chunk-H5ZNEKUR.mjs +0 -31
- package/dist/chunk-H5ZNEKUR.mjs.map +0 -1
- package/dist/chunk-I72DKFHD.mjs +0 -114
- package/dist/chunk-I72DKFHD.mjs.map +0 -1
- package/dist/chunk-IU3WTXLQ.mjs +0 -1
- package/dist/chunk-IU3WTXLQ.mjs.map +0 -1
- package/dist/chunk-JLOABKLH.mjs +0 -49
- package/dist/chunk-JLOABKLH.mjs.map +0 -1
- package/dist/chunk-KGU7Z4W7.mjs +0 -60
- package/dist/chunk-KGU7Z4W7.mjs.map +0 -1
- package/dist/chunk-KMVGEY7Q.mjs +0 -51
- package/dist/chunk-KMVGEY7Q.mjs.map +0 -1
- package/dist/chunk-KNQIEOFP.mjs +0 -19
- package/dist/chunk-KNQIEOFP.mjs.map +0 -1
- package/dist/chunk-L7VVZH4Q.mjs +0 -1
- package/dist/chunk-L7VVZH4Q.mjs.map +0 -1
- package/dist/chunk-LYB4B6MK.mjs +0 -19
- package/dist/chunk-LYB4B6MK.mjs.map +0 -1
- package/dist/chunk-MCNXIA4Q.mjs +0 -75
- package/dist/chunk-MCNXIA4Q.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-NAFNY4FL.mjs +0 -17
- package/dist/chunk-NAFNY4FL.mjs.map +0 -1
- package/dist/chunk-QFXR6DOA.mjs +0 -64
- package/dist/chunk-QFXR6DOA.mjs.map +0 -1
- package/dist/chunk-QJNFNPWH.mjs +0 -85
- package/dist/chunk-QJNFNPWH.mjs.map +0 -1
- package/dist/chunk-RUV6NBIF.mjs +0 -1
- package/dist/chunk-RUV6NBIF.mjs.map +0 -1
- package/dist/chunk-T6MTDQZ7.mjs +0 -45
- package/dist/chunk-T6MTDQZ7.mjs.map +0 -1
- package/dist/chunk-VSVQZUPW.mjs +0 -124
- package/dist/chunk-VSVQZUPW.mjs.map +0 -1
- package/dist/chunk-WADHCMPK.mjs +0 -1
- package/dist/chunk-WADHCMPK.mjs.map +0 -1
- package/dist/chunk-WGWQRALG.mjs +0 -83
- package/dist/chunk-WGWQRALG.mjs.map +0 -1
- package/dist/chunk-WJHSY5T6.mjs +0 -1
- package/dist/chunk-WJHSY5T6.mjs.map +0 -1
- package/dist/chunk-YLFAIYRY.mjs +0 -50
- package/dist/chunk-YLFAIYRY.mjs.map +0 -1
- package/dist/chunk-ZQSEYPNN.mjs +0 -74
- package/dist/chunk-ZQSEYPNN.mjs.map +0 -1
- package/dist/components/base-copilot-textarea/base-copilot-textarea.css +0 -9
- package/dist/components/base-copilot-textarea/base-copilot-textarea.css.map +0 -1
- package/dist/components/base-copilot-textarea/base-copilot-textarea.d.ts +0 -43
- package/dist/components/base-copilot-textarea/base-copilot-textarea.js +0 -1781
- package/dist/components/base-copilot-textarea/base-copilot-textarea.js.map +0 -1
- package/dist/components/base-copilot-textarea/base-copilot-textarea.mjs +0 -40
- package/dist/components/base-copilot-textarea/base-copilot-textarea.mjs.map +0 -1
- package/dist/components/base-copilot-textarea/render-element.d.ts +0 -7
- package/dist/components/base-copilot-textarea/render-element.js +0 -75
- package/dist/components/base-copilot-textarea/render-element.js.map +0 -1
- package/dist/components/base-copilot-textarea/render-element.mjs +0 -8
- package/dist/components/base-copilot-textarea/render-element.mjs.map +0 -1
- package/dist/components/base-copilot-textarea/render-placeholder.d.ts +0 -7
- package/dist/components/base-copilot-textarea/render-placeholder.js +0 -72
- package/dist/components/base-copilot-textarea/render-placeholder.js.map +0 -1
- package/dist/components/base-copilot-textarea/render-placeholder.mjs +0 -8
- package/dist/components/base-copilot-textarea/render-placeholder.mjs.map +0 -1
- package/dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.d.ts +0 -8
- package/dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.js +0 -112
- package/dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.js.map +0 -1
- package/dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs +0 -9
- package/dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs.map +0 -1
- package/dist/components/base-copilot-textarea/use-add-branding-css.d.ts +0 -3
- package/dist/components/base-copilot-textarea/use-add-branding-css.js +0 -83
- package/dist/components/base-copilot-textarea/use-add-branding-css.js.map +0 -1
- package/dist/components/base-copilot-textarea/use-add-branding-css.mjs +0 -8
- package/dist/components/base-copilot-textarea/use-add-branding-css.mjs.map +0 -1
- package/dist/components/copilot-textarea/copilot-textarea.css +0 -9
- package/dist/components/copilot-textarea/copilot-textarea.css.map +0 -1
- package/dist/components/copilot-textarea/copilot-textarea.d.ts +0 -171
- package/dist/components/copilot-textarea/copilot-textarea.js +0 -2261
- package/dist/components/copilot-textarea/copilot-textarea.js.map +0 -1
- package/dist/components/copilot-textarea/copilot-textarea.mjs +0 -49
- package/dist/components/copilot-textarea/copilot-textarea.mjs.map +0 -1
- package/dist/components/hovering-toolbar/hovering-editor-provider.d.ts +0 -18
- package/dist/components/hovering-toolbar/hovering-editor-provider.js +0 -44
- package/dist/components/hovering-toolbar/hovering-editor-provider.js.map +0 -1
- package/dist/components/hovering-toolbar/hovering-editor-provider.mjs +0 -10
- package/dist/components/hovering-toolbar/hovering-editor-provider.mjs.map +0 -1
- package/dist/components/hovering-toolbar/hovering-toolbar-components.d.ts +0 -18
- package/dist/components/hovering-toolbar/hovering-toolbar-components.js +0 -164
- package/dist/components/hovering-toolbar/hovering-toolbar-components.js.map +0 -1
- package/dist/components/hovering-toolbar/hovering-toolbar-components.mjs +0 -16
- package/dist/components/hovering-toolbar/hovering-toolbar-components.mjs.map +0 -1
- package/dist/components/hovering-toolbar/hovering-toolbar.d.ts +0 -12
- package/dist/components/hovering-toolbar/hovering-toolbar.js +0 -894
- package/dist/components/hovering-toolbar/hovering-toolbar.js.map +0 -1
- package/dist/components/hovering-toolbar/hovering-toolbar.mjs +0 -23
- package/dist/components/hovering-toolbar/hovering-toolbar.mjs.map +0 -1
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.d.ts +0 -16
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.js +0 -603
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.js.map +0 -1
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.mjs +0 -18
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.mjs.map +0 -1
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.d.ts +0 -13
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.js +0 -626
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.js.map +0 -1
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.mjs +0 -19
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.mjs.map +0 -1
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.d.ts +0 -16
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.js +0 -133
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.js.map +0 -1
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs +0 -12
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs.map +0 -1
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/index.d.ts +0 -4
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/index.js +0 -626
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/index.js.map +0 -1
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs +0 -20
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs.map +0 -1
- package/dist/components/index.css +0 -9
- package/dist/components/index.css.map +0 -1
- package/dist/components/index.d.ts +0 -15
- package/dist/components/index.js +0 -2265
- package/dist/components/index.js.map +0 -1
- package/dist/components/index.mjs +0 -53
- package/dist/components/index.mjs.map +0 -1
- package/dist/components/manual-ui/chip-with-icon.d.ts +0 -10
- package/dist/components/manual-ui/chip-with-icon.js +0 -38
- package/dist/components/manual-ui/chip-with-icon.js.map +0 -1
- package/dist/components/manual-ui/chip-with-icon.mjs +0 -15
- package/dist/components/manual-ui/chip-with-icon.mjs.map +0 -1
- package/dist/components/source-search-box/source-search-box.d.ts +0 -16
- package/dist/components/source-search-box/source-search-box.js +0 -240
- package/dist/components/source-search-box/source-search-box.js.map +0 -1
- package/dist/components/source-search-box/source-search-box.mjs +0 -13
- package/dist/components/source-search-box/source-search-box.mjs.map +0 -1
- package/dist/components/ui/button.d.ts +0 -14
- package/dist/components/ui/button.js +0 -114
- package/dist/components/ui/button.js.map +0 -1
- package/dist/components/ui/button.mjs +0 -11
- package/dist/components/ui/button.mjs.map +0 -1
- package/dist/components/ui/command.d.ts +0 -53
- package/dist/components/ui/command.js +0 -285
- package/dist/components/ui/command.js.map +0 -1
- package/dist/components/ui/command.mjs +0 -26
- package/dist/components/ui/command.mjs.map +0 -1
- package/dist/components/ui/dialog.d.ts +0 -19
- package/dist/components/ui/dialog.js +0 -183
- package/dist/components/ui/dialog.js.map +0 -1
- package/dist/components/ui/dialog.mjs +0 -21
- package/dist/components/ui/dialog.mjs.map +0 -1
- package/dist/components/ui/label.d.ts +0 -8
- package/dist/components/ui/label.js +0 -87
- package/dist/components/ui/label.js.map +0 -1
- package/dist/components/ui/label.mjs +0 -9
- package/dist/components/ui/label.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/base-copilot-textarea-implementation/use-autosuggestions.d.ts +0 -15
- package/dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.js +0 -180
- package/dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.js.map +0 -1
- package/dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs +0 -11
- package/dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs.map +0 -1
- package/dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.d.ts +0 -8
- package/dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.js +0 -194
- package/dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.js.map +0 -1
- package/dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.mjs +0 -9
- package/dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.mjs.map +0 -1
- package/dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.d.ts +0 -7
- package/dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.js +0 -180
- package/dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.js.map +0 -1
- package/dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs +0 -10
- package/dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs.map +0 -1
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/index.js +0 -19
- package/dist/hooks/index.js.map +0 -1
- package/dist/hooks/index.mjs +0 -2
- package/dist/hooks/index.mjs.map +0 -1
- package/dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.d.ts +0 -22
- package/dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.js +0 -137
- package/dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.js.map +0 -1
- package/dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.mjs +0 -9
- package/dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.mjs.map +0 -1
- package/dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.d.ts +0 -23
- package/dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.js +0 -230
- package/dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.js.map +0 -1
- package/dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.mjs +0 -9
- package/dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.mjs.map +0 -1
- package/dist/hooks/misc/use-autosize-textarea.d.ts +0 -5
- package/dist/hooks/misc/use-autosize-textarea.js +0 -37
- package/dist/hooks/misc/use-autosize-textarea.js.map +0 -1
- package/dist/hooks/misc/use-autosize-textarea.mjs +0 -8
- package/dist/hooks/misc/use-autosize-textarea.mjs.map +0 -1
- package/dist/index.d.ts +0 -15
- package/dist/index.js +0 -2270
- package/dist/index.js.map +0 -1
- package/dist/lib/debouncer.d.ts +0 -11
- package/dist/lib/debouncer.js +0 -76
- package/dist/lib/debouncer.js.map +0 -1
- package/dist/lib/debouncer.mjs +0 -8
- package/dist/lib/debouncer.mjs.map +0 -1
- package/dist/lib/editor-to-text.d.ts +0 -7
- package/dist/lib/editor-to-text.js +0 -69
- package/dist/lib/editor-to-text.js.map +0 -1
- package/dist/lib/editor-to-text.mjs +0 -8
- package/dist/lib/editor-to-text.mjs.map +0 -1
- package/dist/lib/get-text-around-cursor.d.ts +0 -15
- package/dist/lib/get-text-around-cursor.js +0 -131
- package/dist/lib/get-text-around-cursor.js.map +0 -1
- package/dist/lib/get-text-around-cursor.mjs +0 -14
- package/dist/lib/get-text-around-cursor.mjs.map +0 -1
- package/dist/lib/retry.d.ts +0 -3
- package/dist/lib/retry.js +0 -43
- package/dist/lib/retry.js.map +0 -1
- package/dist/lib/retry.mjs +0 -8
- package/dist/lib/retry.mjs.map +0 -1
- package/dist/lib/slatejs-edits/add-autocompletions.d.ts +0 -8
- package/dist/lib/slatejs-edits/add-autocompletions.js +0 -51
- package/dist/lib/slatejs-edits/add-autocompletions.js.map +0 -1
- package/dist/lib/slatejs-edits/add-autocompletions.mjs +0 -8
- package/dist/lib/slatejs-edits/add-autocompletions.mjs.map +0 -1
- package/dist/lib/slatejs-edits/clear-autocompletions.d.ts +0 -8
- package/dist/lib/slatejs-edits/clear-autocompletions.js +0 -46
- package/dist/lib/slatejs-edits/clear-autocompletions.js.map +0 -1
- package/dist/lib/slatejs-edits/clear-autocompletions.mjs +0 -8
- package/dist/lib/slatejs-edits/clear-autocompletions.mjs.map +0 -1
- package/dist/lib/slatejs-edits/replace-text.d.ts +0 -5
- package/dist/lib/slatejs-edits/replace-text.js +0 -53
- package/dist/lib/slatejs-edits/replace-text.js.map +0 -1
- package/dist/lib/slatejs-edits/replace-text.mjs +0 -8
- package/dist/lib/slatejs-edits/replace-text.mjs.map +0 -1
- package/dist/lib/slatejs-edits/with-partial-history.d.ts +0 -8
- package/dist/lib/slatejs-edits/with-partial-history.js +0 -133
- package/dist/lib/slatejs-edits/with-partial-history.js.map +0 -1
- package/dist/lib/slatejs-edits/with-partial-history.mjs +0 -10
- package/dist/lib/slatejs-edits/with-partial-history.mjs.map +0 -1
- package/dist/lib/stream-promise-flatten.d.ts +0 -12
- package/dist/lib/stream-promise-flatten.js +0 -72
- package/dist/lib/stream-promise-flatten.js.map +0 -1
- package/dist/lib/stream-promise-flatten.mjs +0 -8
- package/dist/lib/stream-promise-flatten.mjs.map +0 -1
- package/dist/lib/utils.d.ts +0 -9
- package/dist/lib/utils.js +0 -94
- package/dist/lib/utils.js.map +0 -1
- package/dist/lib/utils.mjs +0 -16
- package/dist/lib/utils.mjs.map +0 -1
- package/dist/types/autosuggestions-config/autosuggestions-config-user-specified.d.ts +0 -23
- package/dist/types/autosuggestions-config/autosuggestions-config-user-specified.js +0 -19
- package/dist/types/autosuggestions-config/autosuggestions-config-user-specified.js.map +0 -1
- package/dist/types/autosuggestions-config/autosuggestions-config-user-specified.mjs +0 -1
- package/dist/types/autosuggestions-config/autosuggestions-config-user-specified.mjs.map +0 -1
- package/dist/types/autosuggestions-config/autosuggestions-config.d.ts +0 -20
- package/dist/types/autosuggestions-config/autosuggestions-config.js +0 -287
- package/dist/types/autosuggestions-config/autosuggestions-config.js.map +0 -1
- package/dist/types/autosuggestions-config/autosuggestions-config.mjs +0 -13
- package/dist/types/autosuggestions-config/autosuggestions-config.mjs.map +0 -1
- package/dist/types/autosuggestions-config/editing-api-config.d.ts +0 -15
- package/dist/types/autosuggestions-config/editing-api-config.js +0 -108
- package/dist/types/autosuggestions-config/editing-api-config.js.map +0 -1
- package/dist/types/autosuggestions-config/editing-api-config.mjs +0 -12
- package/dist/types/autosuggestions-config/editing-api-config.mjs.map +0 -1
- package/dist/types/autosuggestions-config/index.d.ts +0 -10
- package/dist/types/autosuggestions-config/index.js +0 -287
- package/dist/types/autosuggestions-config/index.js.map +0 -1
- package/dist/types/autosuggestions-config/index.mjs +0 -14
- package/dist/types/autosuggestions-config/index.mjs.map +0 -1
- package/dist/types/autosuggestions-config/insertions-api-config.d.ts +0 -15
- package/dist/types/autosuggestions-config/insertions-api-config.js +0 -101
- package/dist/types/autosuggestions-config/insertions-api-config.js.map +0 -1
- package/dist/types/autosuggestions-config/insertions-api-config.mjs +0 -12
- package/dist/types/autosuggestions-config/insertions-api-config.mjs.map +0 -1
- package/dist/types/autosuggestions-config/subtypes/make-system-prompt.d.ts +0 -3
- package/dist/types/autosuggestions-config/subtypes/make-system-prompt.js +0 -19
- package/dist/types/autosuggestions-config/subtypes/make-system-prompt.js.map +0 -1
- package/dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs +0 -1
- package/dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs.map +0 -1
- package/dist/types/autosuggestions-config/suggestions-api-config.d.ts +0 -15
- package/dist/types/autosuggestions-config/suggestions-api-config.js +0 -90
- package/dist/types/autosuggestions-config/suggestions-api-config.js.map +0 -1
- package/dist/types/autosuggestions-config/suggestions-api-config.mjs +0 -12
- package/dist/types/autosuggestions-config/suggestions-api-config.mjs.map +0 -1
- package/dist/types/base/autosuggestion-state.d.ts +0 -8
- package/dist/types/base/autosuggestion-state.js +0 -19
- package/dist/types/base/autosuggestion-state.js.map +0 -1
- package/dist/types/base/autosuggestion-state.mjs +0 -1
- package/dist/types/base/autosuggestion-state.mjs.map +0 -1
- package/dist/types/base/autosuggestions-bare-function.d.ts +0 -19
- package/dist/types/base/autosuggestions-bare-function.js +0 -19
- package/dist/types/base/autosuggestions-bare-function.js.map +0 -1
- package/dist/types/base/autosuggestions-bare-function.mjs +0 -1
- package/dist/types/base/autosuggestions-bare-function.mjs.map +0 -1
- package/dist/types/base/base-autosuggestions-config.d.ts +0 -87
- package/dist/types/base/base-autosuggestions-config.js +0 -54
- package/dist/types/base/base-autosuggestions-config.js.map +0 -1
- package/dist/types/base/base-autosuggestions-config.mjs +0 -8
- package/dist/types/base/base-autosuggestions-config.mjs.map +0 -1
- package/dist/types/base/base-copilot-textarea-props.d.ts +0 -5
- package/dist/types/base/base-copilot-textarea-props.js +0 -19
- package/dist/types/base/base-copilot-textarea-props.js.map +0 -1
- package/dist/types/base/base-copilot-textarea-props.mjs +0 -1
- package/dist/types/base/base-copilot-textarea-props.mjs.map +0 -1
- package/dist/types/base/custom-editor.d.ts +0 -29
- package/dist/types/base/custom-editor.js +0 -19
- package/dist/types/base/custom-editor.js.map +0 -1
- package/dist/types/base/custom-editor.mjs +0 -1
- package/dist/types/base/custom-editor.mjs.map +0 -1
- package/dist/types/base/editor-autocomplete-state.d.ts +0 -10
- package/dist/types/base/editor-autocomplete-state.js +0 -40
- package/dist/types/base/editor-autocomplete-state.js.map +0 -1
- package/dist/types/base/editor-autocomplete-state.mjs +0 -9
- package/dist/types/base/editor-autocomplete-state.mjs.map +0 -1
- package/dist/types/base/index.d.ts +0 -54
- package/dist/types/base/index.js +0 -56
- package/dist/types/base/index.js.map +0 -1
- package/dist/types/base/index.mjs +0 -9
- package/dist/types/base/index.mjs.map +0 -1
- package/dist/types/html-copilot-textarea-element.d.ts +0 -7
- package/dist/types/html-copilot-textarea-element.js +0 -19
- package/dist/types/html-copilot-textarea-element.js.map +0 -1
- package/dist/types/html-copilot-textarea-element.mjs +0 -2
- package/dist/types/html-copilot-textarea-element.mjs.map +0 -1
- package/dist/types/index.d.ts +0 -13
- package/dist/types/index.js +0 -289
- package/dist/types/index.js.map +0 -1
- package/dist/types/index.mjs +0 -19
- package/dist/types/index.mjs.map +0 -1
- package/jest.config.js +0 -5
- package/tsup.config.ts +0 -11
- /package/{postcss.config.js → postcss.config.cjs} +0 -0
- /package/{tailwind.config.js → tailwind.config.cjs} +0 -0
package/.attw.json
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,538 @@
|
|
|
1
1
|
# ui
|
|
2
2
|
|
|
3
|
-
## 0.0.0-main-
|
|
3
|
+
## 0.0.0-main-20260402184302
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1ceb963: refactor: consolidate V1/V2 packages into flat @copilotkit/\* structure
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [1ceb963]
|
|
12
|
+
- Updated dependencies [0f6a61c]
|
|
13
|
+
- Updated dependencies [1ceb963]
|
|
14
|
+
- Updated dependencies [1ceb963]
|
|
15
|
+
- Updated dependencies [1ceb963]
|
|
16
|
+
- Updated dependencies [53e5669]
|
|
17
|
+
- Updated dependencies [c341ed2]
|
|
18
|
+
- @copilotkit/react-core@0.0.0-main-20260402184302
|
|
19
|
+
- @copilotkit/runtime-client-gql@0.0.0-main-20260402184302
|
|
20
|
+
- @copilotkit/shared@0.0.0-main-20260402184302
|
|
21
|
+
|
|
22
|
+
## 1.55.0-next.8
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies [0f6a61c]
|
|
27
|
+
- Updated dependencies [53e5669]
|
|
28
|
+
- @copilotkit/react-core@1.55.0-next.8
|
|
29
|
+
- @copilotkit/runtime-client-gql@1.55.0-next.8
|
|
30
|
+
- @copilotkit/shared@1.55.0-next.8
|
|
31
|
+
|
|
32
|
+
## 1.55.0-next.7
|
|
33
|
+
|
|
34
|
+
### Minor Changes
|
|
35
|
+
|
|
36
|
+
- 1ceb963: refactor: consolidate V1/V2 packages into flat @copilotkit/\* structure
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- Updated dependencies [1ceb963]
|
|
41
|
+
- @copilotkit/react-core@1.55.0-next.7
|
|
42
|
+
- @copilotkit/runtime-client-gql@1.55.0-next.7
|
|
43
|
+
- @copilotkit/shared@1.55.0-next.7
|
|
44
|
+
|
|
45
|
+
## 1.54.1-next.6
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- @copilotkit/react-core@1.54.1-next.6
|
|
50
|
+
- @copilotkit/runtime-client-gql@1.54.1-next.6
|
|
51
|
+
- @copilotkit/shared@1.54.1-next.6
|
|
52
|
+
|
|
53
|
+
## 1.54.1-next.5
|
|
54
|
+
|
|
55
|
+
### Patch Changes
|
|
56
|
+
|
|
57
|
+
- @copilotkit/react-core@1.54.1-next.5
|
|
58
|
+
- @copilotkit/runtime-client-gql@1.54.1-next.5
|
|
59
|
+
- @copilotkit/shared@1.54.1-next.5
|
|
60
|
+
|
|
61
|
+
## 1.54.1-next.4
|
|
62
|
+
|
|
63
|
+
### Patch Changes
|
|
64
|
+
|
|
65
|
+
- Updated dependencies [8113dba]
|
|
66
|
+
- @copilotkit/react-core@1.54.1-next.4
|
|
67
|
+
- @copilotkit/runtime-client-gql@1.54.1-next.4
|
|
68
|
+
- @copilotkit/shared@1.54.1-next.4
|
|
69
|
+
|
|
70
|
+
## 1.54.1-next.3
|
|
71
|
+
|
|
72
|
+
### Patch Changes
|
|
73
|
+
|
|
74
|
+
- @copilotkit/react-core@1.54.1-next.3
|
|
75
|
+
- @copilotkit/runtime-client-gql@1.54.1-next.3
|
|
76
|
+
- @copilotkit/shared@1.54.1-next.3
|
|
77
|
+
|
|
78
|
+
## 1.54.1-next.2
|
|
79
|
+
|
|
80
|
+
### Patch Changes
|
|
81
|
+
|
|
82
|
+
- @copilotkit/react-core@1.54.1-next.2
|
|
83
|
+
- @copilotkit/runtime-client-gql@1.54.1-next.2
|
|
84
|
+
- @copilotkit/shared@1.54.1-next.2
|
|
85
|
+
|
|
86
|
+
## 1.54.1-next.1
|
|
87
|
+
|
|
88
|
+
### Patch Changes
|
|
89
|
+
|
|
90
|
+
- @copilotkit/react-core@1.54.1-next.1
|
|
91
|
+
- @copilotkit/runtime-client-gql@1.54.1-next.1
|
|
92
|
+
- @copilotkit/shared@1.54.1-next.1
|
|
93
|
+
|
|
94
|
+
## 1.54.1-next.0
|
|
95
|
+
|
|
96
|
+
### Patch Changes
|
|
97
|
+
|
|
98
|
+
- @copilotkit/react-core@1.54.1-next.0
|
|
99
|
+
- @copilotkit/runtime-client-gql@1.54.1-next.0
|
|
100
|
+
- @copilotkit/shared@1.54.1-next.0
|
|
101
|
+
|
|
102
|
+
## 1.54.0
|
|
103
|
+
|
|
104
|
+
### Patch Changes
|
|
105
|
+
|
|
106
|
+
- 40c22a0: fix: restore focus to textarea when hitting Escape in CMD+K popup
|
|
107
|
+
- Updated dependencies [fa0d1cd]
|
|
108
|
+
- Updated dependencies [c80498e]
|
|
109
|
+
- Updated dependencies [af11b1e]
|
|
110
|
+
- @copilotkit/react-core@1.54.0
|
|
111
|
+
- @copilotkit/runtime-client-gql@1.54.0
|
|
112
|
+
- @copilotkit/shared@1.54.0
|
|
113
|
+
|
|
114
|
+
## 1.54.0-next.9
|
|
115
|
+
|
|
116
|
+
### Patch Changes
|
|
117
|
+
|
|
118
|
+
- @copilotkit/react-core@1.54.0-next.9
|
|
119
|
+
- @copilotkit/runtime-client-gql@1.54.0-next.9
|
|
120
|
+
- @copilotkit/shared@1.54.0-next.9
|
|
121
|
+
|
|
122
|
+
## 1.54.0-next.8
|
|
123
|
+
|
|
124
|
+
### Patch Changes
|
|
125
|
+
|
|
126
|
+
- @copilotkit/react-core@1.54.0-next.8
|
|
127
|
+
- @copilotkit/runtime-client-gql@1.54.0-next.8
|
|
128
|
+
- @copilotkit/shared@1.54.0-next.8
|
|
129
|
+
|
|
130
|
+
## 1.54.0-next.7
|
|
131
|
+
|
|
132
|
+
### Patch Changes
|
|
133
|
+
|
|
134
|
+
- @copilotkit/react-core@1.54.0-next.7
|
|
135
|
+
- @copilotkit/runtime-client-gql@1.54.0-next.7
|
|
136
|
+
- @copilotkit/shared@1.54.0-next.7
|
|
137
|
+
|
|
138
|
+
## 1.54.0-next.6
|
|
139
|
+
|
|
140
|
+
### Patch Changes
|
|
141
|
+
|
|
142
|
+
- Updated dependencies [c80498e]
|
|
143
|
+
- @copilotkit/react-core@1.54.0-next.6
|
|
144
|
+
- @copilotkit/runtime-client-gql@1.54.0-next.6
|
|
145
|
+
- @copilotkit/shared@1.54.0-next.6
|
|
146
|
+
|
|
147
|
+
## 1.54.0-next.5
|
|
148
|
+
|
|
149
|
+
### Patch Changes
|
|
150
|
+
|
|
151
|
+
- @copilotkit/react-core@1.54.0-next.5
|
|
152
|
+
- @copilotkit/runtime-client-gql@1.54.0-next.5
|
|
153
|
+
- @copilotkit/shared@1.54.0-next.5
|
|
154
|
+
|
|
155
|
+
## 1.54.0-next.4
|
|
156
|
+
|
|
157
|
+
### Patch Changes
|
|
158
|
+
|
|
159
|
+
- Updated dependencies [af11b1e]
|
|
160
|
+
- @copilotkit/react-core@1.54.0-next.4
|
|
161
|
+
- @copilotkit/runtime-client-gql@1.54.0-next.4
|
|
162
|
+
- @copilotkit/shared@1.54.0-next.4
|
|
163
|
+
|
|
164
|
+
## 1.54.0-next.3
|
|
165
|
+
|
|
166
|
+
### Patch Changes
|
|
167
|
+
|
|
168
|
+
- Updated dependencies [fa0d1cd]
|
|
169
|
+
- @copilotkit/react-core@1.54.0-next.3
|
|
170
|
+
- @copilotkit/runtime-client-gql@1.54.0-next.3
|
|
171
|
+
- @copilotkit/shared@1.54.0-next.3
|
|
172
|
+
|
|
173
|
+
## 1.53.1-next.2
|
|
174
|
+
|
|
175
|
+
### Patch Changes
|
|
176
|
+
|
|
177
|
+
- @copilotkit/react-core@1.53.1-next.2
|
|
178
|
+
- @copilotkit/runtime-client-gql@1.53.1-next.2
|
|
179
|
+
- @copilotkit/shared@1.53.1-next.2
|
|
180
|
+
|
|
181
|
+
## 1.53.1-next.1
|
|
182
|
+
|
|
183
|
+
### Patch Changes
|
|
184
|
+
|
|
185
|
+
- 40c22a0: fix: restore focus to textarea when hitting Escape in CMD+K popup
|
|
186
|
+
- @copilotkit/react-core@1.53.1-next.1
|
|
187
|
+
- @copilotkit/runtime-client-gql@1.53.1-next.1
|
|
188
|
+
- @copilotkit/shared@1.53.1-next.1
|
|
189
|
+
|
|
190
|
+
## 1.53.1-next.0
|
|
191
|
+
|
|
192
|
+
### Patch Changes
|
|
193
|
+
|
|
194
|
+
- @copilotkit/react-core@1.53.1-next.0
|
|
195
|
+
- @copilotkit/runtime-client-gql@1.53.1-next.0
|
|
196
|
+
- @copilotkit/shared@1.53.1-next.0
|
|
197
|
+
|
|
198
|
+
## 1.53.0
|
|
4
199
|
|
|
5
200
|
### Patch Changes
|
|
6
201
|
|
|
202
|
+
- Updated dependencies [1510f64]
|
|
203
|
+
- Updated dependencies [f1eaa4c]
|
|
204
|
+
- Updated dependencies [bf1fc6f]
|
|
205
|
+
- Updated dependencies [ac31331]
|
|
206
|
+
- @copilotkit/react-core@1.53.0
|
|
207
|
+
- @copilotkit/shared@1.53.0
|
|
208
|
+
- @copilotkit/runtime-client-gql@1.53.0
|
|
209
|
+
|
|
210
|
+
## 1.53.0-next.6
|
|
211
|
+
|
|
212
|
+
### Patch Changes
|
|
213
|
+
|
|
214
|
+
- @copilotkit/react-core@1.53.0-next.6
|
|
215
|
+
- @copilotkit/runtime-client-gql@1.53.0-next.6
|
|
216
|
+
- @copilotkit/shared@1.53.0-next.6
|
|
217
|
+
|
|
218
|
+
## 1.53.0-next.5
|
|
219
|
+
|
|
220
|
+
### Patch Changes
|
|
221
|
+
|
|
222
|
+
- @copilotkit/react-core@1.53.0-next.5
|
|
223
|
+
- @copilotkit/runtime-client-gql@1.53.0-next.5
|
|
224
|
+
- @copilotkit/shared@1.53.0-next.5
|
|
225
|
+
|
|
226
|
+
## 1.52.2-next.4
|
|
227
|
+
|
|
228
|
+
### Patch Changes
|
|
229
|
+
|
|
230
|
+
- Updated dependencies [ac31331]
|
|
231
|
+
- @copilotkit/react-core@1.52.2-next.4
|
|
232
|
+
- @copilotkit/runtime-client-gql@1.52.2-next.4
|
|
233
|
+
- @copilotkit/shared@1.52.2-next.4
|
|
234
|
+
|
|
235
|
+
## 1.52.2-next.3
|
|
236
|
+
|
|
237
|
+
### Patch Changes
|
|
238
|
+
|
|
239
|
+
- Updated dependencies [1510f64]
|
|
240
|
+
- @copilotkit/react-core@1.52.2-next.3
|
|
241
|
+
- @copilotkit/shared@1.52.2-next.3
|
|
242
|
+
- @copilotkit/runtime-client-gql@1.52.2-next.3
|
|
243
|
+
|
|
244
|
+
## 1.52.2-next.2
|
|
245
|
+
|
|
246
|
+
### Patch Changes
|
|
247
|
+
|
|
248
|
+
- @copilotkit/runtime-client-gql@1.52.2-next.2
|
|
249
|
+
- @copilotkit/react-core@1.52.2-next.2
|
|
250
|
+
- @copilotkit/shared@1.52.2-next.2
|
|
251
|
+
|
|
252
|
+
## 1.52.2-next.1
|
|
253
|
+
|
|
254
|
+
### Patch Changes
|
|
255
|
+
|
|
256
|
+
- Updated dependencies [bf1fc6f]
|
|
257
|
+
- @copilotkit/shared@1.52.2-next.1
|
|
258
|
+
- @copilotkit/runtime-client-gql@1.52.2-next.1
|
|
259
|
+
- @copilotkit/react-core@1.52.2-next.1
|
|
260
|
+
|
|
261
|
+
## 1.52.2-next.0
|
|
262
|
+
|
|
263
|
+
### Patch Changes
|
|
264
|
+
|
|
265
|
+
- Updated dependencies [f1eaa4c]
|
|
266
|
+
- @copilotkit/react-core@1.52.2-next.0
|
|
267
|
+
- @copilotkit/runtime-client-gql@1.52.2-next.0
|
|
268
|
+
- @copilotkit/shared@1.52.2-next.0
|
|
269
|
+
|
|
270
|
+
## 1.52.1
|
|
271
|
+
|
|
272
|
+
### Patch Changes
|
|
273
|
+
|
|
274
|
+
- bbdf67d: fix(css): address imcompat with CJS
|
|
275
|
+
- Updated dependencies [b555ac4]
|
|
276
|
+
- @copilotkit/react-core@1.52.1
|
|
277
|
+
- @copilotkit/runtime-client-gql@1.52.1
|
|
278
|
+
- @copilotkit/shared@1.52.1
|
|
279
|
+
|
|
280
|
+
## 1.52.1-next.1
|
|
281
|
+
|
|
282
|
+
### Patch Changes
|
|
283
|
+
|
|
284
|
+
- Updated dependencies [b555ac4]
|
|
285
|
+
- @copilotkit/react-core@1.52.1-next.1
|
|
286
|
+
- @copilotkit/runtime-client-gql@1.52.1-next.1
|
|
287
|
+
- @copilotkit/shared@1.52.1-next.1
|
|
288
|
+
|
|
289
|
+
## 1.52.1-next.0
|
|
290
|
+
|
|
291
|
+
### Patch Changes
|
|
292
|
+
|
|
293
|
+
- bbdf67d: fix(css): address imcompat with CJS
|
|
294
|
+
- @copilotkit/react-core@1.52.1-next.0
|
|
295
|
+
- @copilotkit/runtime-client-gql@1.52.1-next.0
|
|
296
|
+
- @copilotkit/shared@1.52.1-next.0
|
|
297
|
+
|
|
298
|
+
## 1.52.0
|
|
299
|
+
|
|
300
|
+
### Patch Changes
|
|
301
|
+
|
|
302
|
+
- Updated dependencies [6dd6c84]
|
|
303
|
+
- Updated dependencies [d77f347]
|
|
304
|
+
- Updated dependencies [2007f8b]
|
|
305
|
+
- Updated dependencies [ef0f539]
|
|
306
|
+
- Updated dependencies [412965a]
|
|
307
|
+
- Updated dependencies [5f941db]
|
|
308
|
+
- @copilotkit/react-core@1.52.0
|
|
309
|
+
- @copilotkit/shared@1.52.0
|
|
310
|
+
- @copilotkit/runtime-client-gql@1.52.0
|
|
311
|
+
|
|
312
|
+
## 1.52.0-next.8
|
|
313
|
+
|
|
314
|
+
### Patch Changes
|
|
315
|
+
|
|
316
|
+
- @copilotkit/react-core@1.52.0-next.8
|
|
317
|
+
- @copilotkit/runtime-client-gql@1.52.0-next.8
|
|
318
|
+
- @copilotkit/shared@1.52.0-next.8
|
|
319
|
+
|
|
320
|
+
## 1.52.0-next.7
|
|
321
|
+
|
|
322
|
+
### Patch Changes
|
|
323
|
+
|
|
324
|
+
- Updated dependencies [d77f347]
|
|
325
|
+
- @copilotkit/react-core@1.52.0-next.7
|
|
326
|
+
- @copilotkit/runtime-client-gql@1.52.0-next.7
|
|
327
|
+
- @copilotkit/shared@1.52.0-next.7
|
|
328
|
+
|
|
329
|
+
## 1.52.0-next.6
|
|
330
|
+
|
|
331
|
+
### Patch Changes
|
|
332
|
+
|
|
333
|
+
- Updated dependencies [2007f8b]
|
|
334
|
+
- Updated dependencies [5f941db]
|
|
335
|
+
- @copilotkit/react-core@1.52.0-next.6
|
|
336
|
+
- @copilotkit/runtime-client-gql@1.52.0-next.6
|
|
337
|
+
- @copilotkit/shared@1.52.0-next.6
|
|
338
|
+
|
|
339
|
+
## 1.52.0-next.5
|
|
340
|
+
|
|
341
|
+
### Patch Changes
|
|
342
|
+
|
|
343
|
+
- Updated dependencies [6dd6c84]
|
|
344
|
+
- @copilotkit/react-core@1.52.0-next.5
|
|
345
|
+
- @copilotkit/runtime-client-gql@1.52.0-next.5
|
|
346
|
+
- @copilotkit/shared@1.52.0-next.5
|
|
347
|
+
|
|
348
|
+
## 1.51.5-next.4
|
|
349
|
+
|
|
350
|
+
### Patch Changes
|
|
351
|
+
|
|
352
|
+
- @copilotkit/react-core@1.51.5-next.4
|
|
353
|
+
- @copilotkit/runtime-client-gql@1.51.5-next.4
|
|
354
|
+
- @copilotkit/shared@1.51.5-next.4
|
|
355
|
+
|
|
356
|
+
## 1.51.5-next.3
|
|
357
|
+
|
|
358
|
+
### Patch Changes
|
|
359
|
+
|
|
360
|
+
- @copilotkit/react-core@1.51.5-next.3
|
|
361
|
+
- @copilotkit/runtime-client-gql@1.51.5-next.3
|
|
362
|
+
- @copilotkit/shared@1.51.5-next.3
|
|
363
|
+
|
|
364
|
+
## 1.51.5-next.2
|
|
365
|
+
|
|
366
|
+
### Patch Changes
|
|
367
|
+
|
|
368
|
+
- @copilotkit/react-core@1.51.5-next.2
|
|
369
|
+
- @copilotkit/runtime-client-gql@1.51.5-next.2
|
|
370
|
+
- @copilotkit/shared@1.51.5-next.2
|
|
371
|
+
|
|
372
|
+
## 1.51.5-next.1
|
|
373
|
+
|
|
374
|
+
### Patch Changes
|
|
375
|
+
|
|
376
|
+
- Updated dependencies [412965a]
|
|
377
|
+
- @copilotkit/react-core@1.51.5-next.1
|
|
378
|
+
- @copilotkit/runtime-client-gql@1.51.5-next.1
|
|
379
|
+
- @copilotkit/shared@1.51.5-next.1
|
|
380
|
+
|
|
381
|
+
## 1.51.5-next.0
|
|
382
|
+
|
|
383
|
+
### Patch Changes
|
|
384
|
+
|
|
385
|
+
- Updated dependencies [ef0f539]
|
|
386
|
+
- @copilotkit/react-core@1.51.5-next.0
|
|
387
|
+
- @copilotkit/shared@1.51.5-next.0
|
|
388
|
+
- @copilotkit/runtime-client-gql@1.51.5-next.0
|
|
389
|
+
|
|
390
|
+
## 1.51.4
|
|
391
|
+
|
|
392
|
+
### Patch Changes
|
|
393
|
+
|
|
394
|
+
- Updated dependencies [6b9c60e]
|
|
395
|
+
- Updated dependencies [12ee574]
|
|
396
|
+
- Updated dependencies [9bc868d]
|
|
397
|
+
- Updated dependencies [c998f30]
|
|
398
|
+
- Updated dependencies [6b7d8ef]
|
|
399
|
+
- @copilotkit/react-core@1.51.4
|
|
400
|
+
- @copilotkit/runtime-client-gql@1.51.4
|
|
401
|
+
- @copilotkit/shared@1.51.4
|
|
402
|
+
|
|
403
|
+
## 1.51.4-next.8
|
|
404
|
+
|
|
405
|
+
### Patch Changes
|
|
406
|
+
|
|
407
|
+
- Updated dependencies [9bc868d]
|
|
408
|
+
- @copilotkit/react-core@1.51.4-next.8
|
|
409
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.8
|
|
410
|
+
- @copilotkit/shared@1.51.4-next.8
|
|
411
|
+
|
|
412
|
+
## 1.51.4-next.7
|
|
413
|
+
|
|
414
|
+
### Patch Changes
|
|
415
|
+
|
|
416
|
+
- Updated dependencies [6b7d8ef]
|
|
417
|
+
- @copilotkit/react-core@1.51.4-next.7
|
|
418
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.7
|
|
419
|
+
- @copilotkit/shared@1.51.4-next.7
|
|
420
|
+
|
|
421
|
+
## 1.51.4-next.6
|
|
422
|
+
|
|
423
|
+
### Patch Changes
|
|
424
|
+
|
|
425
|
+
- @copilotkit/react-core@1.51.4-next.6
|
|
426
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.6
|
|
427
|
+
- @copilotkit/shared@1.51.4-next.6
|
|
428
|
+
|
|
429
|
+
## 1.51.4-next.5
|
|
430
|
+
|
|
431
|
+
### Patch Changes
|
|
432
|
+
|
|
433
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.5
|
|
434
|
+
- @copilotkit/react-core@1.51.4-next.5
|
|
435
|
+
- @copilotkit/shared@1.51.4-next.5
|
|
436
|
+
|
|
437
|
+
## 1.51.4-next.4
|
|
438
|
+
|
|
439
|
+
### Patch Changes
|
|
440
|
+
|
|
441
|
+
- Updated dependencies [c998f30]
|
|
442
|
+
- @copilotkit/react-core@1.51.4-next.4
|
|
443
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.4
|
|
444
|
+
- @copilotkit/shared@1.51.4-next.4
|
|
445
|
+
|
|
446
|
+
## 1.51.4-next.3
|
|
447
|
+
|
|
448
|
+
### Patch Changes
|
|
449
|
+
|
|
450
|
+
- Updated dependencies [6b9c60e]
|
|
451
|
+
- @copilotkit/react-core@1.51.4-next.3
|
|
452
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.3
|
|
453
|
+
- @copilotkit/shared@1.51.4-next.3
|
|
454
|
+
|
|
455
|
+
## 1.51.4-next.2
|
|
456
|
+
|
|
457
|
+
### Patch Changes
|
|
458
|
+
|
|
459
|
+
- @copilotkit/react-core@1.51.4-next.2
|
|
460
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.2
|
|
461
|
+
- @copilotkit/shared@1.51.4-next.2
|
|
462
|
+
|
|
463
|
+
## 1.51.4-next.1
|
|
464
|
+
|
|
465
|
+
### Patch Changes
|
|
466
|
+
|
|
467
|
+
- Updated dependencies [12ee574]
|
|
468
|
+
- @copilotkit/react-core@1.51.4-next.1
|
|
469
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.1
|
|
470
|
+
- @copilotkit/shared@1.51.4-next.1
|
|
471
|
+
|
|
472
|
+
## 1.51.4-next.0
|
|
473
|
+
|
|
474
|
+
### Patch Changes
|
|
475
|
+
|
|
476
|
+
- @copilotkit/runtime-client-gql@1.51.4-next.0
|
|
477
|
+
- @copilotkit/react-core@1.51.4-next.0
|
|
478
|
+
- @copilotkit/shared@1.51.4-next.0
|
|
479
|
+
|
|
480
|
+
## 1.51.3
|
|
481
|
+
|
|
482
|
+
### Patch Changes
|
|
483
|
+
|
|
484
|
+
- d36fc1e: Add UMD export
|
|
7
485
|
- Updated dependencies [d655e75]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
486
|
+
- Updated dependencies [d36fc1e]
|
|
487
|
+
- Updated dependencies [e89fe98]
|
|
488
|
+
- Updated dependencies [3f00a01]
|
|
489
|
+
- @copilotkit/react-core@1.51.3
|
|
490
|
+
- @copilotkit/shared@1.51.3
|
|
491
|
+
- @copilotkit/runtime-client-gql@1.51.3
|
|
492
|
+
|
|
493
|
+
## 1.51.3-next.8
|
|
494
|
+
|
|
495
|
+
### Patch Changes
|
|
496
|
+
|
|
497
|
+
- d36fc1e: Add UMD export
|
|
498
|
+
- Updated dependencies [d36fc1e]
|
|
499
|
+
- @copilotkit/runtime-client-gql@1.51.3-next.8
|
|
500
|
+
- @copilotkit/react-core@1.51.3-next.8
|
|
501
|
+
- @copilotkit/shared@1.51.3-next.8
|
|
502
|
+
|
|
503
|
+
## 1.51.3-next.7
|
|
504
|
+
|
|
505
|
+
### Patch Changes
|
|
506
|
+
|
|
507
|
+
- Updated dependencies [3f00a01]
|
|
508
|
+
- @copilotkit/react-core@1.51.3-next.7
|
|
509
|
+
- @copilotkit/runtime-client-gql@1.51.3-next.7
|
|
510
|
+
- @copilotkit/shared@1.51.3-next.7
|
|
511
|
+
|
|
512
|
+
## 1.51.3-next.6
|
|
513
|
+
|
|
514
|
+
### Patch Changes
|
|
515
|
+
|
|
516
|
+
- @copilotkit/runtime-client-gql@1.51.3-next.6
|
|
517
|
+
- @copilotkit/react-core@1.51.3-next.6
|
|
518
|
+
- @copilotkit/shared@1.51.3-next.6
|
|
519
|
+
|
|
520
|
+
## 1.51.3-next.5
|
|
521
|
+
|
|
522
|
+
### Patch Changes
|
|
523
|
+
|
|
524
|
+
- Updated dependencies [e89fe98]
|
|
525
|
+
- @copilotkit/react-core@1.51.3-next.5
|
|
526
|
+
- @copilotkit/runtime-client-gql@1.51.3-next.5
|
|
527
|
+
- @copilotkit/shared@1.51.3-next.5
|
|
528
|
+
|
|
529
|
+
## 1.51.3-next.4
|
|
530
|
+
|
|
531
|
+
### Patch Changes
|
|
532
|
+
|
|
533
|
+
- @copilotkit/runtime-client-gql@1.51.3-next.4
|
|
534
|
+
- @copilotkit/react-core@1.51.3-next.4
|
|
535
|
+
- @copilotkit/shared@1.51.3-next.4
|
|
11
536
|
|
|
12
537
|
## 1.51.3-next.3
|
|
13
538
|
|
|
@@ -2815,6 +3340,7 @@
|
|
|
2815
3340
|
- e16d95e: New prerelease
|
|
2816
3341
|
- 1721cbd: Add convertActionsToDynamicStructuredTools to sdk-js
|
|
2817
3342
|
- CopilotKit Core:
|
|
3343
|
+
|
|
2818
3344
|
- Improved error messages and overall logs
|
|
2819
3345
|
- `useCopilotAction.renderAndAwait` renamed to `.renderAndAwaitForResponse` (backwards compatible, will be deprecated in the future)
|
|
2820
3346
|
- Improved scrolling behavior. It is now possible to scroll up during LLM response generation
|
|
@@ -2822,6 +3348,7 @@
|
|
|
2822
3348
|
- Updated interfaces for better developer ergonomics
|
|
2823
3349
|
|
|
2824
3350
|
CoAgents:
|
|
3351
|
+
|
|
2825
3352
|
- Renamed `remoteActions` to `remoteEndpoints` (backwards compatible, will be deprecated in the future)
|
|
2826
3353
|
- Support for LangGraph Platform in Remote Endpoints
|
|
2827
3354
|
- LangGraph JS Support for CoAgents (locally via `langgraph dev`, `langgraph up` or deployed to LangGraph Platform)
|
|
@@ -2829,6 +3356,7 @@
|
|
|
2829
3356
|
- Enhanced state management and message handling
|
|
2830
3357
|
|
|
2831
3358
|
CopilotKid Back-end SDK:
|
|
3359
|
+
|
|
2832
3360
|
- Released a whole-new `@copilotkit/sdk-js` for building agents with LangGraph JS Support
|
|
2833
3361
|
|
|
2834
3362
|
- 8d0144f: bump
|
|
@@ -3231,6 +3759,7 @@ CopilotKid Back-end SDK:
|
|
|
3231
3759
|
### Patch Changes
|
|
3232
3760
|
|
|
3233
3761
|
- inject minified css in bundle
|
|
3762
|
+
|
|
3234
3763
|
- removes the need to import `styles.css` manually
|
|
3235
3764
|
- empty `styles.css` included in the build for backwards compatibility
|
|
3236
3765
|
- uses tsup's `injectStyles` with `postcss` to bundle and minify the CSS, then inject it as a style tag
|
|
@@ -3395,6 +3924,7 @@ CopilotKid Back-end SDK:
|
|
|
3395
3924
|
### Major Changes
|
|
3396
3925
|
|
|
3397
3926
|
- b6a4b6eb: V1.0 Release Candidate
|
|
3927
|
+
|
|
3398
3928
|
- A robust new protocol between the frontend and the Copilot Runtime
|
|
3399
3929
|
- Support for Copilot Cloud
|
|
3400
3930
|
- Generative UI
|
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">
|