pentesting 0.4.3 → 0.4.4
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/{auto-update-3CXD4I54.js → auto-update-ACTIBV6R.js} +2 -2
- package/dist/{chunk-F7CHQELL.js → chunk-FYT5SNDN.js} +1 -1
- package/dist/{chunk-YS332RPG.js → chunk-IJK6ALPZ.js} +1 -1
- package/dist/index.js +4 -5
- package/dist/{update-FH4FXNSB.js → update-A5ZXDVPM.js} +2 -2
- package/package.json +1 -1
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
readVersionCache,
|
|
9
9
|
semverTuple,
|
|
10
10
|
writeVersionCache
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-FYT5SNDN.js";
|
|
12
|
+
import "./chunk-IJK6ALPZ.js";
|
|
13
13
|
import "./chunk-3RG5ZIWI.js";
|
|
14
14
|
export {
|
|
15
15
|
checkForUpdate,
|
|
@@ -132,7 +132,7 @@ var SENSITIVE_TOOLS = [
|
|
|
132
132
|
|
|
133
133
|
// src/config/constants.ts
|
|
134
134
|
var APP_NAME = "pentesting";
|
|
135
|
-
var APP_VERSION = "0.4.
|
|
135
|
+
var APP_VERSION = "0.4.4";
|
|
136
136
|
var APP_DESCRIPTION = "Autonomous Penetration Testing AI Agent";
|
|
137
137
|
var LLM_API_KEY = process.env.PENTEST_API_KEY || process.env.ANTHROPIC_API_KEY || "";
|
|
138
138
|
var LLM_BASE_URL = process.env.PENTEST_BASE_URL || void 0;
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
PHASE_STATUS,
|
|
16
16
|
THOUGHT_TYPE,
|
|
17
17
|
TOOL_NAME
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IJK6ALPZ.js";
|
|
19
19
|
import {
|
|
20
20
|
__require
|
|
21
21
|
} from "./chunk-3RG5ZIWI.js";
|
|
@@ -4922,7 +4922,7 @@ var App = ({ autoApprove = false, target }) => {
|
|
|
4922
4922
|
setCheckpointCount(contextManagerRef.current?.getCheckpoints().length || 0);
|
|
4923
4923
|
}
|
|
4924
4924
|
});
|
|
4925
|
-
import("./auto-update-
|
|
4925
|
+
import("./auto-update-ACTIBV6R.js").then(({ checkForUpdateAsync, formatUpdateNotification }) => {
|
|
4926
4926
|
checkForUpdateAsync().then((result) => {
|
|
4927
4927
|
if (result.hasUpdate) {
|
|
4928
4928
|
const notification = formatUpdateNotification(result);
|
|
@@ -4965,7 +4965,6 @@ var App = ({ autoApprove = false, target }) => {
|
|
|
4965
4965
|
return duration;
|
|
4966
4966
|
}, []);
|
|
4967
4967
|
useEffect(() => {
|
|
4968
|
-
const versionPadded = `v${APP_VERSION}`.padStart(43);
|
|
4969
4968
|
const banner = `
|
|
4970
4969
|
\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557
|
|
4971
4970
|
\u2551 \u2551
|
|
@@ -4976,7 +4975,7 @@ var App = ({ autoApprove = false, target }) => {
|
|
|
4976
4975
|
\u2551 \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551 \u2588\u2588\u2551 \u2551
|
|
4977
4976
|
\u2551 \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u255D \u2551
|
|
4978
4977
|
\u2551 \u2551
|
|
4979
|
-
\u2551
|
|
4978
|
+
\u2551 Autonomous Pentesting Agent v${APP_VERSION} \u2551
|
|
4980
4979
|
\u2551 \u2551
|
|
4981
4980
|
\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D`;
|
|
4982
4981
|
addMessage(MESSAGE_TYPE.SYSTEM, banner);
|
|
@@ -5409,7 +5408,7 @@ var App = ({ autoApprove = false, target }) => {
|
|
|
5409
5408
|
return;
|
|
5410
5409
|
case "update":
|
|
5411
5410
|
try {
|
|
5412
|
-
const { checkForUpdate, formatUpdateNotification, doUpdate } = await import("./update-
|
|
5411
|
+
const { checkForUpdate, formatUpdateNotification, doUpdate } = await import("./update-A5ZXDVPM.js");
|
|
5413
5412
|
const result = checkForUpdate(true);
|
|
5414
5413
|
if (result.hasUpdate) {
|
|
5415
5414
|
const notification = formatUpdateNotification(result);
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
readVersionCache,
|
|
9
9
|
semverTuple,
|
|
10
10
|
writeVersionCache
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-FYT5SNDN.js";
|
|
12
|
+
import "./chunk-IJK6ALPZ.js";
|
|
13
13
|
import "./chunk-3RG5ZIWI.js";
|
|
14
14
|
export {
|
|
15
15
|
checkForUpdate,
|