pentesting 0.8.19 → 0.8.20
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 +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7130,7 +7130,6 @@ var App = ({ autoApprove = false, target }) => {
|
|
|
7130
7130
|
});
|
|
7131
7131
|
agent.on(AGENT_EVENT.LLM_START, () => {
|
|
7132
7132
|
setCurrentStatus("Thinking...");
|
|
7133
|
-
addMessage(MESSAGE_TYPE.SYSTEM, "> AI is analyzing...");
|
|
7134
7133
|
});
|
|
7135
7134
|
agent.on(AGENT_EVENT.LLM_END, () => {
|
|
7136
7135
|
setCurrentStatus("Processing response...");
|
|
@@ -7165,6 +7164,10 @@ var App = ({ autoApprove = false, target }) => {
|
|
|
7165
7164
|
agent.on(AGENT_EVENT.RESPONSE, (text) => {
|
|
7166
7165
|
if (text && text.trim()) {
|
|
7167
7166
|
setCurrentStatus("Responding...");
|
|
7167
|
+
const preview = text.trim().slice(0, 300);
|
|
7168
|
+
if (preview) {
|
|
7169
|
+
addMessage(MESSAGE_TYPE.ASSISTANT, preview.length < text.length ? preview + "..." : preview);
|
|
7170
|
+
}
|
|
7168
7171
|
}
|
|
7169
7172
|
});
|
|
7170
7173
|
agent.on(AGENT_EVENT.COMPROMISED, (host) => {
|