fix(analyze): correct kb-deep-analyzer path calculation

- Add one more .parent to reach correct directory level
- Fixed path: /home/.../kb-skills/kb-deep-analyzer (was /home/.../kb-skills/kb_workflow/kb-deep-analyzer)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-17 15:14:22 +08:00
parent 244dea9371
commit 14b3a3c4c1
+1 -1
View File
@@ -202,7 +202,7 @@ class AnalyzeProcessor(BaseProcessor):
# Lazy import with delayed sys.path modification for external kb-deep-analyzer
global _deep_analyzer_path_added
if not _deep_analyzer_path_added:
_kb_deep_analyzer_path = Path(__file__).parent.parent.parent / "kb-deep-analyzer"
_kb_deep_analyzer_path = Path(__file__).parent.parent.parent.parent / "kb-deep-analyzer"
if str(_kb_deep_analyzer_path) not in sys.path:
sys.path.insert(0, str(_kb_deep_analyzer_path))
_deep_analyzer_path_added = True