refactor: update agent tree status indicators
This commit is contained in:
@@ -914,13 +914,13 @@ class StrixTUIApp(App): # type: ignore[misc]
|
|||||||
status = agent_data.get("status", "running")
|
status = agent_data.get("status", "running")
|
||||||
|
|
||||||
status_indicators = {
|
status_indicators = {
|
||||||
"running": "●",
|
"running": "⚪",
|
||||||
"waiting": "○",
|
"waiting": "⏸",
|
||||||
"completed": "◆",
|
"completed": "🟢",
|
||||||
"failed": "◇",
|
"failed": "🔴",
|
||||||
"stopped": "■",
|
"stopped": "■",
|
||||||
"stopping": "○",
|
"stopping": "○",
|
||||||
"llm_failed": "◇",
|
"llm_failed": "🔴",
|
||||||
}
|
}
|
||||||
|
|
||||||
status_icon = status_indicators.get(status, "○")
|
status_icon = status_indicators.get(status, "○")
|
||||||
@@ -1469,12 +1469,13 @@ class StrixTUIApp(App): # type: ignore[misc]
|
|||||||
agent_name_raw = agent_data.get("name", "Agent")
|
agent_name_raw = agent_data.get("name", "Agent")
|
||||||
|
|
||||||
status_indicators = {
|
status_indicators = {
|
||||||
"running": "●",
|
"running": "⚪",
|
||||||
"waiting": "○",
|
"waiting": "⏸",
|
||||||
"completed": "◆",
|
"completed": "🟢",
|
||||||
"failed": "◇",
|
"failed": "🔴",
|
||||||
"stopped": "■",
|
"stopped": "■",
|
||||||
"stopping": "○",
|
"stopping": "○",
|
||||||
|
"llm_failed": "🔴",
|
||||||
}
|
}
|
||||||
|
|
||||||
status_icon = status_indicators.get(status, "○")
|
status_icon = status_indicators.get(status, "○")
|
||||||
@@ -1543,12 +1544,13 @@ class StrixTUIApp(App): # type: ignore[misc]
|
|||||||
status = agent_data.get("status", "running")
|
status = agent_data.get("status", "running")
|
||||||
|
|
||||||
status_indicators = {
|
status_indicators = {
|
||||||
"running": "●",
|
"running": "⚪",
|
||||||
"waiting": "○",
|
"waiting": "⏸",
|
||||||
"completed": "◆",
|
"completed": "🟢",
|
||||||
"failed": "◇",
|
"failed": "🔴",
|
||||||
"stopped": "■",
|
"stopped": "■",
|
||||||
"stopping": "○",
|
"stopping": "○",
|
||||||
|
"llm_failed": "🔴",
|
||||||
}
|
}
|
||||||
|
|
||||||
status_icon = status_indicators.get(status, "○")
|
status_icon = status_indicators.get(status, "○")
|
||||||
|
|||||||
Reference in New Issue
Block a user