open-agents-ai 0.187.376 → 0.187.377
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.js +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -558582,6 +558582,7 @@ var init_stream_renderer = __esm({
|
|
|
558582
558582
|
this.lineStarted = false;
|
|
558583
558583
|
}
|
|
558584
558584
|
this.enabled = false;
|
|
558585
|
+
this.thinkingCache = "";
|
|
558585
558586
|
}
|
|
558586
558587
|
/** Get streaming stats */
|
|
558587
558588
|
getStats() {
|
|
@@ -558636,9 +558637,12 @@ var init_stream_renderer = __esm({
|
|
|
558636
558637
|
const effectiveKind = this.inThinkBlock ? "thinking" : kind;
|
|
558637
558638
|
this.writeHighlighted(line, effectiveKind);
|
|
558638
558639
|
}
|
|
558639
|
-
/** Return accumulated thinking content so far
|
|
558640
|
+
/** Return accumulated thinking content so far, and clear it so subsequent
|
|
558641
|
+
* toggles only emit the new delta rather than re-printing history. */
|
|
558640
558642
|
dumpThinkingCache() {
|
|
558641
|
-
|
|
558643
|
+
const cache8 = this.thinkingCache;
|
|
558644
|
+
this.thinkingCache = "";
|
|
558645
|
+
return cache8;
|
|
558642
558646
|
}
|
|
558643
558647
|
/**
|
|
558644
558648
|
* Write a highlighted line/fragment to stdout.
|
package/package.json
CHANGED