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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. 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
- this.emit(AGENT_EVENT.THOUGHT, { type: "thinking", content: text });
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") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pentesting",
3
- "version": "0.8.25",
3
+ "version": "0.8.27",
4
4
  "description": "Autonomous Penetration Testing AI Agent",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",