pwnkit-cli 0.1.8 → 0.1.9

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 +12 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10453,8 +10453,17 @@ var init_process = __esm({
10453
10453
  } else if (block.type === "tool_use") {
10454
10454
  if (process.stderr.isTTY) {
10455
10455
  const name = block.name || "tool";
10456
- const input = typeof block.input === "object" ? JSON.stringify(block.input).slice(0, 80) : "";
10457
- process.stderr.write(dim(` \u2192 ${name} ${input}
10456
+ const inp = block.input;
10457
+ let detail = "";
10458
+ if (inp?.file_path)
10459
+ detail = String(inp.file_path).split("/").slice(-2).join("/");
10460
+ else if (inp?.command)
10461
+ detail = String(inp.command).slice(0, 60);
10462
+ else if (inp?.pattern)
10463
+ detail = String(inp.pattern).slice(0, 40);
10464
+ else if (inp?.content)
10465
+ detail = "(writing file)";
10466
+ process.stderr.write(dim(` ${name}${detail ? ": " + detail : ""}
10458
10467
  `));
10459
10468
  }
10460
10469
  }
@@ -14073,7 +14082,7 @@ var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
14073
14082
  var source_default = chalk;
14074
14083
 
14075
14084
  // packages/shared/dist/constants.js
14076
- var VERSION = "0.1.8";
14085
+ var VERSION = "0.1.9";
14077
14086
  var DEPTH_CONFIG = {
14078
14087
  quick: { maxTemplates: 5, maxPayloadsPerTemplate: 1, multiTurn: false },
14079
14088
  default: { maxTemplates: 20, maxPayloadsPerTemplate: 3, multiTurn: false },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pwnkit-cli",
3
3
  "type": "module",
4
- "version": "0.1.8",
4
+ "version": "0.1.9",
5
5
  "description": "AI-powered agentic security scanner. Scan endpoints, audit packages, review source code. Autonomous agents discover, attack, verify, and report.",
6
6
  "bin": {
7
7
  "pwnkit": "dist/index.js"