@dudousxd/nestjs-agent-react 0.6.1 → 0.6.3
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/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -1153,11 +1153,12 @@ interface StoredTurnMetadata {
|
|
|
1153
1153
|
*
|
|
1154
1154
|
* Deliberately NOT reproduced: the live transport's `{type: 'step-start'}` UI parts (one per model
|
|
1155
1155
|
* call, emitted by the AI SDK for every `start-step` chunk — see `repro-real-frames.spec.ts` for a
|
|
1156
|
-
* captured wire dump). Those are structural brackets `MessageItem`'s `
|
|
1157
|
-
* (it only
|
|
1158
|
-
* for a single row either — inventing them here would make a merged turn diverge from
|
|
1159
|
-
* unmerged one instead of converging on it. "Indistinguishable from the live stream"
|
|
1160
|
-
* what actually renders: the text/tool-call content in step order, not the step
|
|
1156
|
+
* captured wire dump). Those are structural brackets `MessageItem`'s `renderBlocks` never renders
|
|
1157
|
+
* (it draws only text, reasoning, files and tool blocks), and `storedMessageToUiMessage` has never
|
|
1158
|
+
* emitted them for a single row either — inventing them here would make a merged turn diverge from
|
|
1159
|
+
* a same-shaped unmerged one instead of converging on it. "Indistinguishable from the live stream"
|
|
1160
|
+
* is scoped to what actually renders: the text/tool-call content in step order, not the step
|
|
1161
|
+
* brackets around it.
|
|
1161
1162
|
*/
|
|
1162
1163
|
declare function storedThreadToUiMessages(messages: StoredMessage[]): UIMessage[];
|
|
1163
1164
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1153,11 +1153,12 @@ interface StoredTurnMetadata {
|
|
|
1153
1153
|
*
|
|
1154
1154
|
* Deliberately NOT reproduced: the live transport's `{type: 'step-start'}` UI parts (one per model
|
|
1155
1155
|
* call, emitted by the AI SDK for every `start-step` chunk — see `repro-real-frames.spec.ts` for a
|
|
1156
|
-
* captured wire dump). Those are structural brackets `MessageItem`'s `
|
|
1157
|
-
* (it only
|
|
1158
|
-
* for a single row either — inventing them here would make a merged turn diverge from
|
|
1159
|
-
* unmerged one instead of converging on it. "Indistinguishable from the live stream"
|
|
1160
|
-
* what actually renders: the text/tool-call content in step order, not the step
|
|
1156
|
+
* captured wire dump). Those are structural brackets `MessageItem`'s `renderBlocks` never renders
|
|
1157
|
+
* (it draws only text, reasoning, files and tool blocks), and `storedMessageToUiMessage` has never
|
|
1158
|
+
* emitted them for a single row either — inventing them here would make a merged turn diverge from
|
|
1159
|
+
* a same-shaped unmerged one instead of converging on it. "Indistinguishable from the live stream"
|
|
1160
|
+
* is scoped to what actually renders: the text/tool-call content in step order, not the step
|
|
1161
|
+
* brackets around it.
|
|
1161
1162
|
*/
|
|
1162
1163
|
declare function storedThreadToUiMessages(messages: StoredMessage[]): UIMessage[];
|
|
1163
1164
|
|