pentesting 0.8.20 → 0.8.22

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -10
  2. 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
- const preview = thought.content.slice(0, 200);
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) => {
@@ -7164,10 +7163,7 @@ var App = ({ autoApprove = false, target }) => {
7164
7163
  agent.on(AGENT_EVENT.RESPONSE, (text) => {
7165
7164
  if (text && text.trim()) {
7166
7165
  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
- }
7166
+ addMessage(MESSAGE_TYPE.ASSISTANT, text.trim());
7171
7167
  }
7172
7168
  });
7173
7169
  agent.on(AGENT_EVENT.COMPROMISED, (host) => {
@@ -7826,10 +7822,10 @@ ${list}`);
7826
7822
  const getStyle = (type) => {
7827
7823
  const styles = {
7828
7824
  [MESSAGE_TYPE.USER]: { color: THEME.text.accent, prefix: "\u276F" },
7829
- [MESSAGE_TYPE.ASSISTANT]: { color: THEME.text.primary, prefix: "\u25C8" },
7830
- [MESSAGE_TYPE.TOOL]: { color: THEME.text.muted, prefix: " ", dim: true },
7831
- [MESSAGE_TYPE.RESULT]: { color: THEME.text.muted, prefix: " ", dim: true },
7832
- [MESSAGE_TYPE.THINKING]: { color: THEME.status.running, prefix: "\u25CB" },
7825
+ [MESSAGE_TYPE.ASSISTANT]: { color: THEME.text.primary, prefix: "\u23FA" },
7826
+ [MESSAGE_TYPE.TOOL]: { color: THEME.status.running, prefix: " \u23BF" },
7827
+ [MESSAGE_TYPE.RESULT]: { color: THEME.text.muted, prefix: " \u2713", dim: true },
7828
+ [MESSAGE_TYPE.THINKING]: { color: THEME.status.warning, prefix: " \u22EE" },
7833
7829
  [MESSAGE_TYPE.ERROR]: { color: THEME.status.error, prefix: "\u2717" },
7834
7830
  [MESSAGE_TYPE.SYSTEM]: { color: THEME.text.muted, prefix: "\u2022" }
7835
7831
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pentesting",
3
- "version": "0.8.20",
3
+ "version": "0.8.22",
4
4
  "description": "Autonomous Penetration Testing AI Agent",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",