@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.
Files changed (39) hide show
  1. package/dist/{copilotkit-DOMr3DRO.cjs → copilotkit-Ba7qwYt3.cjs} +174 -45
  2. package/dist/copilotkit-Ba7qwYt3.cjs.map +1 -0
  3. package/dist/{copilotkit-ykQW_VJZ.mjs → copilotkit-BmW2sFH6.mjs} +175 -46
  4. package/dist/copilotkit-BmW2sFH6.mjs.map +1 -0
  5. package/dist/{copilotkit-DYM5ChMS.d.cts → copilotkit-CF1Pm2VG.d.cts} +23 -22
  6. package/dist/copilotkit-CF1Pm2VG.d.cts.map +1 -0
  7. package/dist/{copilotkit-pkDPhwkR.d.mts → copilotkit-TdM-5onZ.d.mts} +23 -22
  8. package/dist/copilotkit-TdM-5onZ.d.mts.map +1 -0
  9. package/dist/index.cjs +119 -75
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.cts +904 -28
  12. package/dist/index.d.cts.map +1 -1
  13. package/dist/index.d.mts +904 -28
  14. package/dist/index.d.mts.map +1 -1
  15. package/dist/index.mjs +119 -75
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/index.umd.js +139 -95
  18. package/dist/index.umd.js.map +1 -1
  19. package/dist/v2/headless.cjs +2 -2
  20. package/dist/v2/headless.cjs.map +1 -1
  21. package/dist/v2/headless.d.cts +4 -4
  22. package/dist/v2/headless.d.mts +4 -4
  23. package/dist/v2/headless.mjs +2 -2
  24. package/dist/v2/headless.mjs.map +1 -1
  25. package/dist/v2/index.cjs +1 -1
  26. package/dist/v2/index.css +1 -1
  27. package/dist/v2/index.d.cts +1 -1
  28. package/dist/v2/index.d.mts +1 -1
  29. package/dist/v2/index.mjs +1 -1
  30. package/dist/v2/index.umd.js +171 -42
  31. package/dist/v2/index.umd.js.map +1 -1
  32. package/package.json +8 -8
  33. package/skills/react-core/SKILL.md +1 -1
  34. package/skills/react-core/references/provider-setup.md +1 -1
  35. package/skills/react-core/references/threads.md +2 -2
  36. package/dist/copilotkit-DOMr3DRO.cjs.map +0 -1
  37. package/dist/copilotkit-DYM5ChMS.d.cts.map +0 -1
  38. package/dist/copilotkit-pkDPhwkR.d.mts.map +0 -1
  39. package/dist/copilotkit-ykQW_VJZ.mjs.map +0 -1
@@ -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 the Intelligence platform.
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 the Intelligence platform.
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 platform threads.
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 the Intelligence platform exposes a WebSocket
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.
@@ -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 the Intelligence platform.
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 the Intelligence platform.
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 platform threads.
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 the Intelligence platform exposes a WebSocket
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.
@@ -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 platform threads.
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 the Intelligence platform exposes a WebSocket
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.