pentesting 0.8.35 → 0.8.36

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 +9 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7363,8 +7363,15 @@ var App = ({ autoApprove = false, target }) => {
7363
7363
  if (next) {
7364
7364
  setQueuedCount(inputQueue.length);
7365
7365
  addMessage(MESSAGE_TYPE.SYSTEM, ` \u{1F4E4} Processing queued: ${next.content.slice(0, 50)}...`);
7366
- setTimeout(() => {
7367
- handleSubmit(next.content);
7366
+ addMessage(MESSAGE_TYPE.USER, next.content);
7367
+ setIsProcessing(true);
7368
+ setTimeout(async () => {
7369
+ try {
7370
+ await agent.chat(next.content);
7371
+ } catch (err) {
7372
+ addMessage(MESSAGE_TYPE.ERROR, err instanceof Error ? err.message : String(err));
7373
+ setIsProcessing(false);
7374
+ }
7368
7375
  }, 100);
7369
7376
  }
7370
7377
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pentesting",
3
- "version": "0.8.35",
3
+ "version": "0.8.36",
4
4
  "description": "Autonomous Penetration Testing AI Agent",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",