pentesting 0.8.18 → 0.8.19
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 +15 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6624,6 +6624,18 @@ var ASCII_BANNER = `
|
|
|
6624
6624
|
\u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D
|
|
6625
6625
|
\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D
|
|
6626
6626
|
`;
|
|
6627
|
+
var THOUGHT_LABELS = {
|
|
6628
|
+
thinking: "[think]",
|
|
6629
|
+
reasoning: "[reason]",
|
|
6630
|
+
planning: "[plan]",
|
|
6631
|
+
observation: "[observe]",
|
|
6632
|
+
hypothesis: "[hypothesis]",
|
|
6633
|
+
reflection: "[reflect]",
|
|
6634
|
+
action: "[action]",
|
|
6635
|
+
result: "[result]",
|
|
6636
|
+
stuck: "[stuck]",
|
|
6637
|
+
breakthrough: "[!]"
|
|
6638
|
+
};
|
|
6627
6639
|
|
|
6628
6640
|
// src/cli/components/rich-display.tsx
|
|
6629
6641
|
import { Box, Text } from "ink";
|
|
@@ -7080,18 +7092,9 @@ var App = ({ autoApprove = false, target }) => {
|
|
|
7080
7092
|
});
|
|
7081
7093
|
agent.on(AGENT_EVENT.THOUGHT, (thought) => {
|
|
7082
7094
|
setCurrentStatus(thought.content.slice(0, 60));
|
|
7083
|
-
const
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
planning: "[plan]",
|
|
7087
|
-
observation: "[observe]",
|
|
7088
|
-
hypothesis: "[hypothesis]",
|
|
7089
|
-
reflection: "[reflect]",
|
|
7090
|
-
action: "[action]"
|
|
7091
|
-
};
|
|
7092
|
-
const icon = icons[thought.type] || "\u2022";
|
|
7093
|
-
const preview = thought.content.slice(0, 150);
|
|
7094
|
-
addMessage(MESSAGE_TYPE.SYSTEM, `${icon} ${preview}`);
|
|
7095
|
+
const label = THOUGHT_LABELS[thought.type] || "";
|
|
7096
|
+
const preview = thought.content.slice(0, 200);
|
|
7097
|
+
addMessage(MESSAGE_TYPE.SYSTEM, `${label} ${preview}`);
|
|
7095
7098
|
wireLoggerRef.current?.contentPart(thought.content, thought.type === "thinking");
|
|
7096
7099
|
});
|
|
7097
7100
|
agent.on(AGENT_EVENT.TOOL_CALL, (data) => {
|