Fix hard-coded paths in launch_rag_agent.sh (v1.0.4)
- Replaced /home/william/.openclaw/workspace/rag with dynamic path - Replaced /home/william/.local/bin/openclaw with PATH resolution - Script now portable across different user environments - Addresses security scan findings from clawhub.com
This commit is contained in:
16
CHANGELOG.md
16
CHANGELOG.md
@@ -97,6 +97,22 @@ All notable changes to the OpenClaw RAG Knowledge System will be documented in t
|
||||
|
||||
---
|
||||
|
||||
## [1.0.4] - 2026-02-13
|
||||
|
||||
### Fixed
|
||||
- **Hard-coded paths in launch_rag_agent.sh**: Fixed missing portability update from v1.0.3
|
||||
- Replaced `/home/william/.openclaw/workspace/rag` with `os.path.expanduser("~/.openclaw/workspace/rag")`
|
||||
- Replaced `/home/william/.local/bin/openclaw` with dynamic PATH resolution
|
||||
- Now checks for `openclaw` in PATH first, then falls back to `~/.local/bin/openclaw`
|
||||
- Proper error message if openclaw not found
|
||||
|
||||
### Security
|
||||
- Removed all user-specific hard-coded paths from launch_rag_agent.sh
|
||||
- Verified portability across different user environments
|
||||
- Script now installs correctly in OpenClaw skill packages for any user
|
||||
|
||||
---
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Planned
|
||||
|
||||
Reference in New Issue
Block a user