v1.0.3: Fix hard-coded paths, address security scan feedback

- Replace all absolute paths with dynamic resolution
- Add path portability and network behavior documentation
- Verify no custom network calls in codebase
- Update version to 1.0.3
This commit is contained in:
2026-02-12 16:59:33 +00:00
parent 448a000c24
commit 3c9cee28d7
6 changed files with 58 additions and 14 deletions

View File

@@ -10,7 +10,9 @@ This prints relevant context if found, otherwise silent.
"""
import sys
sys.path.insert(0, '/home/william/.openclaw/workspace/rag')
import os
# Use current directory for imports (skill directory)
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from rag_query_wrapper import search_knowledge, format_for_ai