pentesting 0.7.24 → 0.7.26

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/index.js CHANGED
@@ -6601,7 +6601,7 @@ var App = ({ autoApprove = false, target }) => {
6601
6601
  startTimeRef.current = Date.now();
6602
6602
  timerRef.current = setInterval(() => {
6603
6603
  setElapsedTime(Math.floor((Date.now() - startTimeRef.current) / 100) / 10);
6604
- setSpinnerHue((h) => (h + 5) % 360);
6604
+ setSpinnerHue((h) => (h + 15) % 360);
6605
6605
  }, 100);
6606
6606
  }, []);
6607
6607
  const stopTimer = useCallback(() => {
@@ -6694,8 +6694,8 @@ var App = ({ autoApprove = false, target }) => {
6694
6694
  agent.on(AGENT_EVENT.TOOL_CALL, (data) => {
6695
6695
  const args = Object.entries(data.input).slice(0, 2).map(([k, v]) => `${k}=${typeof v === "string" ? v.slice(0, 30) : "..."}`).join(" ");
6696
6696
  const cmdPreview = data.name === "bash" && data.input.command ? String(data.input.command).slice(0, 50).replace(/\n/g, " ") : data.name;
6697
- setCurrentStatus(`\u25B6 Executing: ${cmdPreview}`);
6698
- addMessage(MESSAGE_TYPE.TOOL, `\u25B6 ${data.name} ${args}`);
6697
+ setCurrentStatus(`Executing: ${cmdPreview}`);
6698
+ addMessage(MESSAGE_TYPE.TOOL, `${data.name} ${args}`);
6699
6699
  wireLoggerRef.current?.toolCall(data.id, data.name, data.input);
6700
6700
  });
6701
6701
  agent.on(AGENT_EVENT.TOOL_RESULT, (data) => {
@@ -7243,7 +7243,7 @@ ${list}`);
7243
7243
  return;
7244
7244
  case "replay":
7245
7245
  try {
7246
- const { findRecentWireFiles, getReplaySummary, parseWireFile } = await import("./replay-6WU2ANWJ.js");
7246
+ const { findRecentWireFiles, getReplaySummary, parseWireFile } = await import("./replay-ABCV4F64.js");
7247
7247
  const wireFiles = findRecentWireFiles(sessionDirRef.current);
7248
7248
  if (wireFiles.length === 0) {
7249
7249
  addMessage(MESSAGE_TYPE.SYSTEM, "No session recordings found");
@@ -7425,7 +7425,7 @@ ${list}`);
7425
7425
  idx === approvalSelectedIndex ? "\u2192 " : " ",
7426
7426
  opt.label
7427
7427
  ] }, opt.decision)) }),
7428
- /* @__PURE__ */ jsx2(Box2, { marginTop: 1, children: /* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "\u2191\u2193 to select, Enter to confirm, or type /y /n /ya" }) })
7428
+ /* @__PURE__ */ jsx2(Box2, { marginTop: 1, children: /* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "\u2191\u2193 to select, Enter to confirm" }) })
7429
7429
  ] }),
7430
7430
  isProcessing ? /* @__PURE__ */ jsxs2(Box2, { flexDirection: "column", children: [
7431
7431
  /* @__PURE__ */ jsxs2(Box2, { children: [
@@ -7455,7 +7455,7 @@ ${list}`);
7455
7455
  "/yolo",
7456
7456
  "/clear",
7457
7457
  "/exit",
7458
- pendingApproval ? "/y /n /ya" : ""
7458
+ ""
7459
7459
  ].filter((cmd) => cmd && cmd.toLowerCase().includes(input.toLowerCase().slice(1))).slice(0, 5).join(" \u2502 ") }) }),
7460
7460
  /* @__PURE__ */ jsxs2(Box2, { children: [
7461
7461
  /* @__PURE__ */ jsx2(Text2, { color: mode === "agent" ? THEME.status.success : "yellow", children: mode === "agent" ? "" : "$ " }),
@@ -7479,7 +7479,7 @@ ${list}`);
7479
7479
  state.target.discovered.length > 1 && ` (+${state.target.discovered.length - 1})`,
7480
7480
  state.findings.length > 0 && ` \u2502 ${state.findings.length} findings`,
7481
7481
  state.credentials.length > 0 && ` \u2502 ${state.credentials.length} creds`,
7482
- tokenUsage.total > 0 && ` \u2502 ${(tokenUsage.total / 1e3).toFixed(0)}k tok`
7482
+ tokenUsage.total > 0 && ` \u2502 ${(tokenUsage.total / 1e3).toFixed(0)}k tokens`
7483
7483
  ] }),
7484
7484
  /* @__PURE__ */ jsxs2(Text2, { dimColor: true, children: [
7485
7485
  isProcessing && currentStatus && `${currentStatus.slice(0, 40)} \u2502 `,
@@ -57,7 +57,7 @@ function formatReplayEvent(event) {
57
57
  }
58
58
  case "tool_call": {
59
59
  const data = event.data;
60
- return `[${time}] \u25B6 Tool: ${data.toolName}`;
60
+ return `[${time}] Tool: ${data.toolName}`;
61
61
  }
62
62
  case "tool_result": {
63
63
  const data = event.data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pentesting",
3
- "version": "0.7.24",
3
+ "version": "0.7.26",
4
4
  "description": "Autonomous Penetration Testing AI Agent",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",