@copilotkit/react-core 1.69.0 → 1.69.1
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/dist/{copilotkit-pkDPhwkR.d.mts → copilotkit-DYKpg4pD.d.mts} +28 -22
- package/dist/copilotkit-DYKpg4pD.d.mts.map +1 -0
- package/dist/{copilotkit-DOMr3DRO.cjs → copilotkit-Dr0speVK.cjs} +429 -46
- package/dist/copilotkit-Dr0speVK.cjs.map +1 -0
- package/dist/{copilotkit-ykQW_VJZ.mjs → copilotkit-Dr6g885f.mjs} +431 -48
- package/dist/copilotkit-Dr6g885f.mjs.map +1 -0
- package/dist/{copilotkit-DYM5ChMS.d.cts → copilotkit-Hl1t9Y1v.d.cts} +28 -22
- package/dist/copilotkit-Hl1t9Y1v.d.cts.map +1 -0
- package/dist/index.cjs +119 -75
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +904 -28
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +904 -28
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +119 -75
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +185 -100
- package/dist/index.umd.js.map +1 -1
- package/dist/v2/headless.cjs +3 -2
- package/dist/v2/headless.cjs.map +1 -1
- package/dist/v2/headless.d.cts +5 -4
- package/dist/v2/headless.d.cts.map +1 -1
- package/dist/v2/headless.d.mts +5 -4
- package/dist/v2/headless.d.mts.map +1 -1
- package/dist/v2/headless.mjs +3 -2
- package/dist/v2/headless.mjs.map +1 -1
- package/dist/v2/index.cjs +1 -1
- package/dist/v2/index.css +1 -1
- package/dist/v2/index.d.cts +1 -1
- package/dist/v2/index.d.mts +1 -1
- package/dist/v2/index.mjs +1 -1
- package/dist/v2/index.umd.js +426 -43
- package/dist/v2/index.umd.js.map +1 -1
- package/package.json +8 -8
- package/skills/react-core/SKILL.md +1 -1
- package/skills/react-core/references/provider-setup.md +1 -1
- package/skills/react-core/references/threads.md +2 -2
- package/dist/copilotkit-DOMr3DRO.cjs.map +0 -1
- package/dist/copilotkit-DYM5ChMS.d.cts.map +0 -1
- package/dist/copilotkit-pkDPhwkR.d.mts.map +0 -1
- package/dist/copilotkit-ykQW_VJZ.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copilotkit/react-core",
|
|
3
|
-
"version": "1.69.
|
|
3
|
+
"version": "1.69.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
"untruncate-json": "^0.0.1",
|
|
81
81
|
"use-stick-to-bottom": "^1.1.1",
|
|
82
82
|
"zod-to-json-schema": "^3.24.5",
|
|
83
|
-
"@copilotkit/a2ui-renderer": "1.69.
|
|
84
|
-
"@copilotkit/
|
|
85
|
-
"@copilotkit/
|
|
86
|
-
"@copilotkit/
|
|
87
|
-
"@copilotkit/web-components": "1.69.
|
|
88
|
-
"@copilotkit/
|
|
83
|
+
"@copilotkit/a2ui-renderer": "1.69.1",
|
|
84
|
+
"@copilotkit/core": "1.69.1",
|
|
85
|
+
"@copilotkit/runtime-client-gql": "1.69.1",
|
|
86
|
+
"@copilotkit/shared": "1.69.1",
|
|
87
|
+
"@copilotkit/web-components": "1.69.1",
|
|
88
|
+
"@copilotkit/web-inspector": "1.69.1"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@tailwindcss/cli": "^4.1.11",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
},
|
|
125
125
|
"scripts": {
|
|
126
126
|
"build:css": "tailwindcss -i ./src/v2/styles/globals.css -o ./dist/v2/index.css -m && node scripts/scope-preflight.mjs ./dist/v2/index.css",
|
|
127
|
-
"build": "tsdown && pnpm run build:css && node scripts/context-singleton-preflight.mjs",
|
|
127
|
+
"build": "tsdown && node ../../scripts/deprecations/v1-dist-notices.mjs --entrypoint react-core && pnpm run build:css && node scripts/context-singleton-preflight.mjs",
|
|
128
128
|
"size": "size-limit",
|
|
129
129
|
"size:headline": "node scripts/measure-copilotchat.mjs",
|
|
130
130
|
"size:assert-headless": "node scripts/assert-headless-purity.mjs",
|
|
@@ -323,7 +323,7 @@ is the canonical name. The `CopilotKit` provider resolves
|
|
|
323
323
|
`publicLicenseKey || publicApiKey`. Always write the canonical form in
|
|
324
324
|
new code.
|
|
325
325
|
|
|
326
|
-
Source: `packages/react-core/src/components/copilot-provider/copilotkit.tsx:172`
|
|
326
|
+
Source: `packages/react-core/src/v1-deprecated/components/copilot-provider/copilotkit.tsx:172`
|
|
327
327
|
|
|
328
328
|
### MEDIUM — Putting the provider below a layout that uses CopilotKit
|
|
329
329
|
|
|
@@ -127,7 +127,7 @@ import {
|
|
|
127
127
|
} from "@copilotkit/runtime/v2";
|
|
128
128
|
|
|
129
129
|
const intelligence = new CopilotKitIntelligence({
|
|
130
|
-
// apiUrl / wsUrl default to
|
|
130
|
+
// apiUrl / wsUrl default to cloud-hosted CopilotKit Intelligence — leave unset.
|
|
131
131
|
apiKey: process.env.INTELLIGENCE_API_KEY!,
|
|
132
132
|
});
|
|
133
133
|
|
|
@@ -168,7 +168,7 @@ const { threads: archived } = useThreads({
|
|
|
168
168
|
});
|
|
169
169
|
```
|
|
170
170
|
|
|
171
|
-
`deleteThread` is irreversible
|
|
171
|
+
`deleteThread` is irreversible in CopilotKit Intelligence. Use
|
|
172
172
|
`archiveThread` for user-facing delete UX and only call `deleteThread` for
|
|
173
173
|
genuine "permanently erase" flows.
|
|
174
174
|
|