@copilotkit/react-core 1.69.0 → 1.69.2
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-DOMr3DRO.cjs → copilotkit-Ba7qwYt3.cjs} +174 -45
- package/dist/copilotkit-Ba7qwYt3.cjs.map +1 -0
- package/dist/{copilotkit-ykQW_VJZ.mjs → copilotkit-BmW2sFH6.mjs} +175 -46
- package/dist/copilotkit-BmW2sFH6.mjs.map +1 -0
- package/dist/{copilotkit-DYM5ChMS.d.cts → copilotkit-CF1Pm2VG.d.cts} +23 -22
- package/dist/copilotkit-CF1Pm2VG.d.cts.map +1 -0
- package/dist/{copilotkit-pkDPhwkR.d.mts → copilotkit-TdM-5onZ.d.mts} +23 -22
- package/dist/copilotkit-TdM-5onZ.d.mts.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 +139 -95
- package/dist/index.umd.js.map +1 -1
- package/dist/v2/headless.cjs +2 -2
- package/dist/v2/headless.cjs.map +1 -1
- package/dist/v2/headless.d.cts +4 -4
- package/dist/v2/headless.d.mts +4 -4
- package/dist/v2/headless.mjs +2 -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 +171 -42
- 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/dist/v2/headless.d.cts
CHANGED
|
@@ -710,7 +710,7 @@ declare function useAgentContext(context: AgentContextInput): void;
|
|
|
710
710
|
//#endregion
|
|
711
711
|
//#region src/v2/hooks/use-threads.d.ts
|
|
712
712
|
/**
|
|
713
|
-
* A conversation thread managed by
|
|
713
|
+
* A conversation thread managed by CopilotKit Intelligence.
|
|
714
714
|
*
|
|
715
715
|
* Each thread has a unique `id`, an optional human-readable `name`, and
|
|
716
716
|
* timestamp fields tracking creation and update times.
|
|
@@ -734,7 +734,7 @@ interface Thread {
|
|
|
734
734
|
* Configuration for the {@link useThreads} hook.
|
|
735
735
|
*
|
|
736
736
|
* Thread operations are scoped to the runtime-authenticated user and the
|
|
737
|
-
* provided agent on
|
|
737
|
+
* provided agent on CopilotKit Intelligence.
|
|
738
738
|
*/
|
|
739
739
|
interface UseThreadsInput {
|
|
740
740
|
/** The ID of the agent whose threads to list and manage. */
|
|
@@ -858,10 +858,10 @@ interface UseThreadsResult {
|
|
|
858
858
|
deleteThread: (threadId: string) => Promise<void>;
|
|
859
859
|
}
|
|
860
860
|
/**
|
|
861
|
-
* React hook for listing and managing Intelligence
|
|
861
|
+
* React hook for listing and managing CopilotKit Intelligence threads.
|
|
862
862
|
*
|
|
863
863
|
* On mount the hook fetches the thread list for the runtime-authenticated user
|
|
864
|
-
* and the given `agentId`. When
|
|
864
|
+
* and the given `agentId`. When CopilotKit Intelligence exposes a WebSocket
|
|
865
865
|
* URL, it also opens a realtime subscription so the `threads` array stays
|
|
866
866
|
* current without polling — thread creates, renames, archives, and deletes
|
|
867
867
|
* from any client are reflected immediately.
|
package/dist/v2/headless.d.mts
CHANGED
|
@@ -567,7 +567,7 @@ declare function useAgentContext(context: AgentContextInput): void;
|
|
|
567
567
|
//#endregion
|
|
568
568
|
//#region src/v2/hooks/use-threads.d.ts
|
|
569
569
|
/**
|
|
570
|
-
* A conversation thread managed by
|
|
570
|
+
* A conversation thread managed by CopilotKit Intelligence.
|
|
571
571
|
*
|
|
572
572
|
* Each thread has a unique `id`, an optional human-readable `name`, and
|
|
573
573
|
* timestamp fields tracking creation and update times.
|
|
@@ -591,7 +591,7 @@ interface Thread {
|
|
|
591
591
|
* Configuration for the {@link useThreads} hook.
|
|
592
592
|
*
|
|
593
593
|
* Thread operations are scoped to the runtime-authenticated user and the
|
|
594
|
-
* provided agent on
|
|
594
|
+
* provided agent on CopilotKit Intelligence.
|
|
595
595
|
*/
|
|
596
596
|
interface UseThreadsInput {
|
|
597
597
|
/** The ID of the agent whose threads to list and manage. */
|
|
@@ -715,10 +715,10 @@ interface UseThreadsResult {
|
|
|
715
715
|
deleteThread: (threadId: string) => Promise<void>;
|
|
716
716
|
}
|
|
717
717
|
/**
|
|
718
|
-
* React hook for listing and managing Intelligence
|
|
718
|
+
* React hook for listing and managing CopilotKit Intelligence threads.
|
|
719
719
|
*
|
|
720
720
|
* On mount the hook fetches the thread list for the runtime-authenticated user
|
|
721
|
-
* and the given `agentId`. When
|
|
721
|
+
* and the given `agentId`. When CopilotKit Intelligence exposes a WebSocket
|
|
722
722
|
* URL, it also opens a realtime subscription so the `threads` array stays
|
|
723
723
|
* current without polling — thread creates, renames, archives, and deletes
|
|
724
724
|
* from any client are reflected immediately.
|
package/dist/v2/headless.mjs
CHANGED
|
@@ -1173,10 +1173,10 @@ function useThreadStoreSelector(store, selector) {
|
|
|
1173
1173
|
}, [store, selector]), () => selector(store.getState()), () => selector(store.getServerState()));
|
|
1174
1174
|
}
|
|
1175
1175
|
/**
|
|
1176
|
-
* React hook for listing and managing Intelligence
|
|
1176
|
+
* React hook for listing and managing CopilotKit Intelligence threads.
|
|
1177
1177
|
*
|
|
1178
1178
|
* On mount the hook fetches the thread list for the runtime-authenticated user
|
|
1179
|
-
* and the given `agentId`. When
|
|
1179
|
+
* and the given `agentId`. When CopilotKit Intelligence exposes a WebSocket
|
|
1180
1180
|
* URL, it also opens a realtime subscription so the `threads` array stays
|
|
1181
1181
|
* current without polling — thread creates, renames, archives, and deletes
|
|
1182
1182
|
* from any client are reflected immediately.
|