Skip to content

armgit / strix

Public Imported from GitHub
0

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

fix(tui): restore snappy sweep/progress animation frame rate (#759)

devin-ai-integration[bot]993fd41f32fe
diff --git a/strix/interface/tui/app.py b/strix/interface/tui/app.py
index 02683205..496e99c7 100644
--- a/strix/interface/tui/app.py
+++ b/strix/interface/tui/app.py
@@ -1359,7 +1359,7 @@ class StrixTUIApp(App): # type: ignore[misc]
def _start_dot_animation(self) -> None:
if self._dot_animation_timer is None:
- self._dot_animation_timer = self.set_interval(0.25, self._animate_dots)
+ self._dot_animation_timer = self.set_interval(0.06, self._animate_dots)
def _stop_dot_animation(self) -> None:
if self._dot_animation_timer is not None:
diff --git a/strix/skills/__init__.py b/strix/skills/__init__.py
index 660aa77a..7ce58959 100644
--- a/strix/skills/__init__.py
+++ b/strix/skills/__init__.py
@@ -136,10 +136,10 @@ def _bare_skill_files(skill_name: str) -> list[Path]:
key = (_ROOT_SKILL_CATEGORY, skill_name)
if key in seen:
continue
- candidate = _qualified_skill_file(skills_dir, _ROOT_SKILL_CATEGORY, skill_name)
- if candidate is not None:
+ root_candidate = _qualified_skill_file(skills_dir, _ROOT_SKILL_CATEGORY, skill_name)
+ if root_candidate is not None:
seen.add(key)
- candidates.append(candidate)
+ candidates.append(root_candidate)
return candidates
diff --git a/strix/tools/reporting/tool.py b/strix/tools/reporting/tool.py
index af6b913d..b6f284ca 100644
--- a/strix/tools/reporting/tool.py
+++ b/strix/tools/reporting/tool.py
@@ -638,7 +638,7 @@ def _build_dependency_metadata(
*,
package_name: str,
installed_version: str,
- package_ecosystem: str,
+ package_ecosystem: str | None,
fixed_version: str | None,
) -> dict[str, str]:
metadata = {