pentesting 0.8.25 → 0.8.27
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 +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5091,7 +5091,9 @@ ${this.currentSpec.systemPrompt}`;
|
|
|
5091
5091
|
});
|
|
5092
5092
|
stream.on("text", (text) => {
|
|
5093
5093
|
streamBuffer += text;
|
|
5094
|
-
|
|
5094
|
+
if (text.trim()) {
|
|
5095
|
+
this.emit(AGENT_EVENT.THOUGHT, { type: "thinking", content: text });
|
|
5096
|
+
}
|
|
5095
5097
|
});
|
|
5096
5098
|
stream.on("contentBlock", (block) => {
|
|
5097
5099
|
if (block.type === "tool_use") {
|