pentesting 0.72.12 → 0.73.1
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/README.md +31 -4
- package/dist/agent-tool-COMG67ES.js +256 -0
- package/dist/chunk-EUWDAGHZ.js +11710 -0
- package/dist/{chunk-GHJPYI4S.js → chunk-YFDJI3GO.js} +11 -1
- package/dist/{chunk-OUS2TZXI.js → chunk-ZQAVMACI.js} +882 -139
- package/dist/main.js +1206 -13248
- package/dist/{persistence-UTTTBCYW.js → persistence-SNUMO4WG.js} +2 -2
- package/dist/{process-registry-CCAQVJ4Y.js → process-registry-GSHEX2LT.js} +3 -1
- package/dist/prompts/base.md +1 -0
- package/dist/prompts/llm/analyst-system.md +7 -0
- package/dist/prompts/{orchestrator.md → main-agent.md} +31 -1
- package/dist/prompts/strategist-system.md +27 -0
- package/package.json +7 -3
|
@@ -285,6 +285,15 @@ function getProcessEventLog() {
|
|
|
285
285
|
function getBackgroundProcessesMap() {
|
|
286
286
|
return backgroundProcesses;
|
|
287
287
|
}
|
|
288
|
+
function getActiveProcessSummary() {
|
|
289
|
+
const processes = Array.from(getAllProcesses());
|
|
290
|
+
if (!processes.length) return "";
|
|
291
|
+
return processes.filter((p) => !p.hasExited).map((p) => {
|
|
292
|
+
const port = p.listeningPort ? ` port=${p.listeningPort}` : "";
|
|
293
|
+
const interactive = p.isInteractive ? " interactive=true" : "";
|
|
294
|
+
return `${p.id}: ${p.command} | role=${p.role}${port}${interactive}`;
|
|
295
|
+
}).join("\n");
|
|
296
|
+
}
|
|
288
297
|
|
|
289
298
|
export {
|
|
290
299
|
__require,
|
|
@@ -317,5 +326,6 @@ export {
|
|
|
317
326
|
getProcessCount,
|
|
318
327
|
clearAllProcesses,
|
|
319
328
|
getProcessEventLog,
|
|
320
|
-
getBackgroundProcessesMap
|
|
329
|
+
getBackgroundProcessesMap,
|
|
330
|
+
getActiveProcessSummary
|
|
321
331
|
};
|