Spaces:
Paused
Paused
Commit History
-
fix: use shell=True for node subprocess like original sync_hf.py
- Change from list command to shell string - Use shell=True to match working sync_hf.py behavior - This ensures proper output handling and process execution Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>3e434db -
fix: ensure default config exists when persistence not configured
- Add _ensure_default_config() method to create openclaw.json - Call it when persistence is not configured or no backup exists - This prevents OpenClaw from failing to start without config Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>c82956b -
feat: implement complete openclaw directory persistence for HuggingFace Spaces
- Add openclaw_persist.py: Core persistence module for full ~/.openclaw backup - Add openclaw_sync.py: Sync manager replacing sync_hf.py approach - Update entrypoint.sh: Use new sync manager with tar-based persistence - Update Dockerfile: v8 build with new persistence scripts - Add PERSISTENCE_README.md: Complete configuration documentation Features: - Full directory backup/restore (entire ~/.openclaw) - Atomic tar.gz operations - Auto rotation (keep last 5 backups) - Graceful shutdown with final backup - Excludes temp files (lock, tmp, cache, logs) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>a19a1bd