pentesting 0.8.19 → 0.8.21
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 +2 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7093,8 +7093,7 @@ var App = ({ autoApprove = false, target }) => {
|
|
|
7093
7093
|
agent.on(AGENT_EVENT.THOUGHT, (thought) => {
|
|
7094
7094
|
setCurrentStatus(thought.content.slice(0, 60));
|
|
7095
7095
|
const label = THOUGHT_LABELS[thought.type] || "";
|
|
7096
|
-
|
|
7097
|
-
addMessage(MESSAGE_TYPE.SYSTEM, `${label} ${preview}`);
|
|
7096
|
+
addMessage(MESSAGE_TYPE.SYSTEM, `${label} ${thought.content}`);
|
|
7098
7097
|
wireLoggerRef.current?.contentPart(thought.content, thought.type === "thinking");
|
|
7099
7098
|
});
|
|
7100
7099
|
agent.on(AGENT_EVENT.TOOL_CALL, (data) => {
|
|
@@ -7130,7 +7129,6 @@ var App = ({ autoApprove = false, target }) => {
|
|
|
7130
7129
|
});
|
|
7131
7130
|
agent.on(AGENT_EVENT.LLM_START, () => {
|
|
7132
7131
|
setCurrentStatus("Thinking...");
|
|
7133
|
-
addMessage(MESSAGE_TYPE.SYSTEM, "> AI is analyzing...");
|
|
7134
7132
|
});
|
|
7135
7133
|
agent.on(AGENT_EVENT.LLM_END, () => {
|
|
7136
7134
|
setCurrentStatus("Processing response...");
|
|
@@ -7165,6 +7163,7 @@ var App = ({ autoApprove = false, target }) => {
|
|
|
7165
7163
|
agent.on(AGENT_EVENT.RESPONSE, (text) => {
|
|
7166
7164
|
if (text && text.trim()) {
|
|
7167
7165
|
setCurrentStatus("Responding...");
|
|
7166
|
+
addMessage(MESSAGE_TYPE.ASSISTANT, text.trim());
|
|
7168
7167
|
}
|
|
7169
7168
|
});
|
|
7170
7169
|
agent.on(AGENT_EVENT.COMPROMISED, (host) => {
|