pentesting 0.4.5 → 0.4.6

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-Q7OMRW3K.js";
12
- import "./chunk-6IPGQN57.js";
11
+ } from "./chunk-A6WGOYNR.js";
12
+ import "./chunk-AAUCU7XP.js";
13
13
  import "./chunk-3RG5ZIWI.js";
14
14
  export {
15
15
  checkForUpdate,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  APP_NAME,
3
3
  APP_VERSION
4
- } from "./chunk-6IPGQN57.js";
4
+ } from "./chunk-AAUCU7XP.js";
5
5
 
6
6
  // src/core/update/auto-update.ts
7
7
  import { execSync } from "child_process";
@@ -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.5";
135
+ var APP_VERSION = "0.4.6";
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-6IPGQN57.js";
18
+ } from "./chunk-AAUCU7XP.js";
19
19
  import {
20
20
  __require
21
21
  } from "./chunk-3RG5ZIWI.js";
@@ -883,7 +883,13 @@ async function executeBash(command, options = {}) {
883
883
  timeout,
884
884
  maxBuffer: 50 * 1024 * 1024,
885
885
  // 50MB
886
- shell: "/bin/bash"
886
+ shell: "/bin/bash",
887
+ encoding: "utf8",
888
+ env: {
889
+ ...process.env,
890
+ LANG: "en_US.UTF-8",
891
+ LC_ALL: "en_US.UTF-8"
892
+ }
887
893
  });
888
894
  return {
889
895
  success: true,
@@ -4925,7 +4931,7 @@ var App = ({ autoApprove = false, target }) => {
4925
4931
  setCheckpointCount(contextManagerRef.current?.getCheckpoints().length || 0);
4926
4932
  }
4927
4933
  });
4928
- import("./auto-update-L6ZVWLKA.js").then(({ checkForUpdateAsync, formatUpdateNotification }) => {
4934
+ import("./auto-update-PEUBVHDU.js").then(({ checkForUpdateAsync, formatUpdateNotification }) => {
4929
4935
  checkForUpdateAsync().then((result) => {
4930
4936
  if (result.hasUpdate) {
4931
4937
  const notification = formatUpdateNotification(result);
@@ -5400,7 +5406,7 @@ pentesting v${APP_VERSION}`
5400
5406
  return;
5401
5407
  case "update":
5402
5408
  try {
5403
- const { checkForUpdate, formatUpdateNotification, doUpdate } = await import("./update-YFE2J73C.js");
5409
+ const { checkForUpdate, formatUpdateNotification, doUpdate } = await import("./update-KP7LGRJG.js");
5404
5410
  const result = checkForUpdate(true);
5405
5411
  if (result.hasUpdate) {
5406
5412
  const notification = formatUpdateNotification(result);
@@ -8,8 +8,8 @@ import {
8
8
  readVersionCache,
9
9
  semverTuple,
10
10
  writeVersionCache
11
- } from "./chunk-Q7OMRW3K.js";
12
- import "./chunk-6IPGQN57.js";
11
+ } from "./chunk-A6WGOYNR.js";
12
+ import "./chunk-AAUCU7XP.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.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "Autonomous Penetration Testing AI Agent",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",