teodor-new-chat-ui 4.3.292 → 4.3.293
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/context/providers/ChatSessionProvider.d.ts +2 -6
- package/dist/index.esm.js +4058 -4098
- package/dist/index.umd.js +39 -39
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* KEPT (Essential):
|
|
16
16
|
* - Thread management (load, create, delete, list)
|
|
17
|
-
* - Message streaming
|
|
17
|
+
* - Message streaming
|
|
18
18
|
* - Checkpoint navigation
|
|
19
19
|
* - Auth token handling
|
|
20
20
|
* - Event handling (stream, interrupts)
|
|
@@ -23,11 +23,7 @@
|
|
|
23
23
|
* - Reading lastCheckpointId/Ns from localStorage on mount
|
|
24
24
|
* - Passing it to ChatProviders as initialCheckpointId/Ns
|
|
25
25
|
* - Syncing checkpoint changes back to localStorage
|
|
26
|
-
*
|
|
27
|
-
* Package handles:
|
|
28
|
-
* - Never fetching history while streaming (blocks auto-load)
|
|
29
|
-
* - Never updating URL/re-rendering while streaming
|
|
30
|
-
* - Clean stream → URL sync transition
|
|
26
|
+
* - This avoids race conditions and makes it easy to debug
|
|
31
27
|
*
|
|
32
28
|
* RESULT: Much easier to debug, faster development, no stale cache issues
|
|
33
29
|
*/
|