pentesting 0.8.14 → 0.8.16
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 +21 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7080,9 +7080,18 @@ var App = ({ autoApprove = false, target }) => {
|
|
|
7080
7080
|
});
|
|
7081
7081
|
agent.on(AGENT_EVENT.THOUGHT, (thought) => {
|
|
7082
7082
|
setCurrentStatus(thought.content.slice(0, 60));
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
|
|
7083
|
+
const icons = {
|
|
7084
|
+
thinking: "\u{1F9E0}",
|
|
7085
|
+
reasoning: "\u{1F4AD}",
|
|
7086
|
+
planning: "\u{1F4CB}",
|
|
7087
|
+
observation: "\u{1F441}\uFE0F",
|
|
7088
|
+
hypothesis: "\u{1F4A1}",
|
|
7089
|
+
reflection: "\u{1F50D}",
|
|
7090
|
+
action: "\u26A1"
|
|
7091
|
+
};
|
|
7092
|
+
const icon = icons[thought.type] || "\u2022";
|
|
7093
|
+
const preview = thought.content.slice(0, 150);
|
|
7094
|
+
addMessage(MESSAGE_TYPE.SYSTEM, `${icon} ${preview}`);
|
|
7086
7095
|
wireLoggerRef.current?.contentPart(thought.content, thought.type === "thinking");
|
|
7087
7096
|
});
|
|
7088
7097
|
agent.on(AGENT_EVENT.TOOL_CALL, (data) => {
|
|
@@ -7117,10 +7126,11 @@ var App = ({ autoApprove = false, target }) => {
|
|
|
7117
7126
|
forceUpdate((n) => n + 1);
|
|
7118
7127
|
});
|
|
7119
7128
|
agent.on(AGENT_EVENT.LLM_START, () => {
|
|
7120
|
-
setCurrentStatus("Thinking...");
|
|
7129
|
+
setCurrentStatus("\u{1F9E0} Thinking...");
|
|
7130
|
+
addMessage(MESSAGE_TYPE.SYSTEM, "\u{1F9E0} AI is analyzing...");
|
|
7121
7131
|
});
|
|
7122
7132
|
agent.on(AGENT_EVENT.LLM_END, () => {
|
|
7123
|
-
setCurrentStatus("
|
|
7133
|
+
setCurrentStatus("Processing response...");
|
|
7124
7134
|
});
|
|
7125
7135
|
agent.on(AGENT_EVENT.CONTEXT_COMPACTED, () => {
|
|
7126
7136
|
addMessage(MESSAGE_TYPE.SYSTEM, "\u{1F4BE} Context compacted to save tokens");
|
|
@@ -7835,10 +7845,14 @@ ${list}`);
|
|
|
7835
7845
|
isProcessing ? /* @__PURE__ */ jsxs2(Box2, { flexDirection: "column", children: [
|
|
7836
7846
|
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
7837
7847
|
/* @__PURE__ */ jsx2(Text2, { color: spinnerColor, children: /* @__PURE__ */ jsx2(Spinner, { type: "dots" }) }),
|
|
7838
|
-
|
|
7848
|
+
/* @__PURE__ */ jsxs2(Text2, { color: THEME.text.muted, children: [
|
|
7839
7849
|
" ",
|
|
7850
|
+
currentStatus || "Processing..."
|
|
7851
|
+
] }),
|
|
7852
|
+
elapsedTime > 0 && /* @__PURE__ */ jsxs2(Text2, { dimColor: true, children: [
|
|
7853
|
+
" (",
|
|
7840
7854
|
elapsedTime,
|
|
7841
|
-
"s"
|
|
7855
|
+
"s)"
|
|
7842
7856
|
] })
|
|
7843
7857
|
] }),
|
|
7844
7858
|
preInputBuffer && /* @__PURE__ */ jsxs2(Box2, { marginTop: 1, children: [
|