pentesting 0.7.46 → 0.7.48

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.
@@ -8,8 +8,8 @@ import {
8
8
  readVersionCache,
9
9
  semverTuple,
10
10
  writeVersionCache
11
- } from "./chunk-RUZUSJTF.js";
12
- import "./chunk-OHONKFV6.js";
11
+ } from "./chunk-WWJXXJRC.js";
12
+ import "./chunk-2DVCF464.js";
13
13
  import "./chunk-3RG5ZIWI.js";
14
14
  export {
15
15
  checkForUpdate,
@@ -185,14 +185,11 @@ var SENSITIVE_TOOLS = [
185
185
  ];
186
186
 
187
187
  // src/config/constants.ts
188
- import { readFileSync } from "fs";
189
- import { dirname, join } from "path";
190
- import { fileURLToPath } from "url";
191
- var pkgVersion = "0.7.23";
188
+ import { createRequire } from "module";
189
+ var pkgVersion = "0.7.47";
192
190
  try {
193
- const __dirname = dirname(fileURLToPath(import.meta.url));
194
- const pkgPath = join(__dirname, "..", "..", "package.json");
195
- const pkg = JSON.parse(readFileSync(pkgPath, "utf-8"));
191
+ const require2 = createRequire(import.meta.url);
192
+ const pkg = require2("../../package.json");
196
193
  pkgVersion = pkg.version || pkgVersion;
197
194
  } catch {
198
195
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  APP_NAME,
3
3
  APP_VERSION
4
- } from "./chunk-OHONKFV6.js";
4
+ } from "./chunk-2DVCF464.js";
5
5
 
6
6
  // src/core/update/auto-update.ts
7
7
  import { execSync } from "child_process";
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-OHONKFV6.js";
18
+ } from "./chunk-2DVCF464.js";
19
19
  import {
20
20
  __require
21
21
  } from "./chunk-3RG5ZIWI.js";
@@ -6983,7 +6983,7 @@ var App = ({ autoApprove = false, target }) => {
6983
6983
  setCheckpointCount(contextManagerRef.current?.getCheckpoints().length || 0);
6984
6984
  }
6985
6985
  });
6986
- import("./auto-update-TTDQ7RO5.js").then(({ checkForUpdateAsync, formatUpdateNotification }) => {
6986
+ import("./auto-update-CNT5P47B.js").then(({ checkForUpdateAsync, formatUpdateNotification }) => {
6987
6987
  checkForUpdateAsync().then((result) => {
6988
6988
  if (result.hasUpdate) {
6989
6989
  const notification = formatUpdateNotification(result);
@@ -7686,7 +7686,7 @@ ${list}`);
7686
7686
  return;
7687
7687
  case "update":
7688
7688
  try {
7689
- const { checkForUpdate, formatUpdateNotification, doUpdate } = await import("./update-TUTV5WQF.js");
7689
+ const { checkForUpdate, formatUpdateNotification, doUpdate } = await import("./update-HVVSEVIW.js");
7690
7690
  const result = checkForUpdate(true);
7691
7691
  if (result.hasUpdate) {
7692
7692
  const notification = formatUpdateNotification(result);
@@ -8,8 +8,8 @@ import {
8
8
  readVersionCache,
9
9
  semverTuple,
10
10
  writeVersionCache
11
- } from "./chunk-RUZUSJTF.js";
12
- import "./chunk-OHONKFV6.js";
11
+ } from "./chunk-WWJXXJRC.js";
12
+ import "./chunk-2DVCF464.js";
13
13
  import "./chunk-3RG5ZIWI.js";
14
14
  export {
15
15
  checkForUpdate,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pentesting",
3
- "version": "0.7.46",
3
+ "version": "0.7.48",
4
4
  "description": "Autonomous Penetration Testing AI Agent",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",