@copilotkit/react-core 1.78.0 → 1.79.1-canary.1792034358
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-gn5p8gXk.d.cts → copilotkit-BA0vyDds.d.cts} +43 -9
- package/dist/{copilotkit-gn5p8gXk.d.cts.map → copilotkit-BA0vyDds.d.cts.map} +1 -1
- package/dist/{copilotkit-DgJj6xa0.mjs → copilotkit-DtOQtboh.mjs} +73 -56
- package/dist/copilotkit-DtOQtboh.mjs.map +1 -0
- package/dist/{copilotkit-D1y8IyXh.d.mts → copilotkit-kcYN96tM.d.mts} +43 -9
- package/dist/{copilotkit-D1y8IyXh.d.mts.map → copilotkit-kcYN96tM.d.mts.map} +1 -1
- package/dist/{copilotkit-BFeenQQ0.cjs → copilotkit-t6Gs-59F.cjs} +71 -54
- package/dist/copilotkit-t6Gs-59F.cjs.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 +61 -38
- package/dist/index.umd.js.map +1 -1
- package/dist/v2/headless.cjs +1 -4
- package/dist/v2/headless.cjs.map +1 -1
- package/dist/v2/headless.mjs +1 -4
- package/dist/v2/headless.mjs.map +1 -1
- package/dist/v2/index.cjs +19 -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 +88 -53
- package/dist/v2/index.umd.js.map +1 -1
- package/package.json +9 -9
- package/dist/copilotkit-BFeenQQ0.cjs.map +0 -1
- package/dist/copilotkit-DgJj6xa0.mjs.map +0 -1
package/dist/v2/headless.mjs
CHANGED
|
@@ -1411,9 +1411,7 @@ function useThreads({ agentId, includeArchived, limit, enabled = true }) {
|
|
|
1411
1411
|
const hasMoreThreads = useThreadStoreSelector(store, ɵselectHasNextPage);
|
|
1412
1412
|
const isFetchingMoreThreads = useThreadStoreSelector(store, ɵselectIsFetchingNextPage);
|
|
1413
1413
|
const isMutating = useThreadStoreSelector(store, ɵselectIsMutating);
|
|
1414
|
-
const headersKey =
|
|
1415
|
-
return JSON.stringify(Object.entries(copilotkit.headers ?? {}).sort(([left], [right]) => left.localeCompare(right)));
|
|
1416
|
-
}, [copilotkit.headers]);
|
|
1414
|
+
const headersKey = copilotkit.ɵheadersGeneration;
|
|
1417
1415
|
const runtimeStatus = copilotkit.runtimeConnectionStatus;
|
|
1418
1416
|
const threadListEndpointSupported = copilotkit.threadEndpoints?.list !== false;
|
|
1419
1417
|
const threadMutationsSupported = copilotkit.threadEndpoints?.mutations !== false;
|
|
@@ -1478,7 +1476,6 @@ function useThreads({ agentId, includeArchived, limit, enabled = true }) {
|
|
|
1478
1476
|
}
|
|
1479
1477
|
const context = {
|
|
1480
1478
|
runtimeUrl: copilotkit.runtimeUrl,
|
|
1481
|
-
headers: { ...copilotkit.headers },
|
|
1482
1479
|
wsUrl: copilotkit.intelligence?.wsUrl,
|
|
1483
1480
|
agentId,
|
|
1484
1481
|
includeArchived,
|