pentesting 0.7.26 → 0.7.28

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 +10 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7376,6 +7376,16 @@ ${list}`);
7376
7376
  exit();
7377
7377
  }
7378
7378
  }
7379
+ if (key.escape) {
7380
+ if (isProcessing) {
7381
+ agent.pause();
7382
+ stopTimer();
7383
+ setIsProcessing(false);
7384
+ setCurrentStatus("");
7385
+ setPendingApproval(null);
7386
+ addMessage(MESSAGE_TYPE.SYSTEM, "Interrupted. You can continue chatting.");
7387
+ }
7388
+ }
7379
7389
  if (key.tab) {
7380
7390
  const newMode = mode === "agent" ? "shell" : "agent";
7381
7391
  setMode(newMode);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pentesting",
3
- "version": "0.7.26",
3
+ "version": "0.7.28",
4
4
  "description": "Autonomous Penetration Testing AI Agent",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",