Skip to content

armgit / strix

Public Imported from GitHub
0

Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.

refactor: update agent tree status indicators

0xallam3d4b1bfb0821
diff --git a/strix/interface/tui.py b/strix/interface/tui.py
index e360ab07..626878f1 100644
--- a/strix/interface/tui.py
+++ b/strix/interface/tui.py
@@ -914,13 +914,13 @@ class StrixTUIApp(App): # type: ignore[misc]
status = agent_data.get("status", "running")
status_indicators = {
- "running": "●",
- "waiting": "○",
- "completed": "◆",
- "failed": "◇",
+ "running": "⚪",
+ "waiting": "⏸",
+ "completed": "🟢",
+ "failed": "🔴",
"stopped": "■",
"stopping": "○",
- "llm_failed": "◇",
+ "llm_failed": "🔴",
}
status_icon = status_indicators.get(status, "○")
@@ -1469,12 +1469,13 @@ class StrixTUIApp(App): # type: ignore[misc]
agent_name_raw = agent_data.get("name", "Agent")
status_indicators = {
- "running": "●",
- "waiting": "○",
- "completed": "◆",
- "failed": "◇",
+ "running": "⚪",
+ "waiting": "⏸",
+ "completed": "🟢",
+ "failed": "🔴",
"stopped": "■",
"stopping": "○",
+ "llm_failed": "🔴",
}
status_icon = status_indicators.get(status, "○")
@@ -1543,12 +1544,13 @@ class StrixTUIApp(App): # type: ignore[misc]
status = agent_data.get("status", "running")
status_indicators = {
- "running": "●",
- "waiting": "○",
- "completed": "◆",
- "failed": "◇",
+ "running": "⚪",
+ "waiting": "⏸",
+ "completed": "🟢",
+ "failed": "🔴",
"stopped": "■",
"stopping": "○",
+ "llm_failed": "🔴",
}
status_icon = status_indicators.get(status, "○")