@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.cjs
CHANGED
|
@@ -1440,9 +1440,7 @@ function useThreads({ agentId, includeArchived, limit, enabled = true }) {
|
|
|
1440
1440
|
const hasMoreThreads = useThreadStoreSelector(store, _copilotkit_core.ɵselectHasNextPage);
|
|
1441
1441
|
const isFetchingMoreThreads = useThreadStoreSelector(store, _copilotkit_core.ɵselectIsFetchingNextPage);
|
|
1442
1442
|
const isMutating = useThreadStoreSelector(store, _copilotkit_core.ɵselectIsMutating);
|
|
1443
|
-
const headersKey =
|
|
1444
|
-
return JSON.stringify(Object.entries(copilotkit.headers ?? {}).sort(([left], [right]) => left.localeCompare(right)));
|
|
1445
|
-
}, [copilotkit.headers]);
|
|
1443
|
+
const headersKey = copilotkit.ɵheadersGeneration;
|
|
1446
1444
|
const runtimeStatus = copilotkit.runtimeConnectionStatus;
|
|
1447
1445
|
const threadListEndpointSupported = copilotkit.threadEndpoints?.list !== false;
|
|
1448
1446
|
const threadMutationsSupported = copilotkit.threadEndpoints?.mutations !== false;
|
|
@@ -1507,7 +1505,6 @@ function useThreads({ agentId, includeArchived, limit, enabled = true }) {
|
|
|
1507
1505
|
}
|
|
1508
1506
|
const context = {
|
|
1509
1507
|
runtimeUrl: copilotkit.runtimeUrl,
|
|
1510
|
-
headers: { ...copilotkit.headers },
|
|
1511
1508
|
wsUrl: copilotkit.intelligence?.wsUrl,
|
|
1512
1509
|
agentId,
|
|
1513
1510
|
includeArchived,
|