You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: /resume latest finds sessions across all workspaces
Previously /resume latest only searched the current workspace's
fingerprinted session directory. If you started claw from a different
directory, it found zero sessions even though sessions existed
elsewhere on disk.
Changes:
- Add global_sessions_root() pointing to ~/.claw/sessions/
- Add scan_global_sessions() to scan all workspace namespaces
- Modify latest_session() to fall back to global scan when no
workspace-local sessions are found
- Add load_session_loose() that skips workspace validation for
alias references (latest/last/recent) so cross-workspace resume
works while still enforcing workspace check for explicit IDs
- Wire load_session_loose() into CLI's load_session_reference()
- Add provider field to config validation schema (needed because
user's settings.json already has the provider key)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
"no managed sessions found in .claw/sessions/{fingerprint_dir}/\nStart `claw` to create a session, then rerun with `--resume {LATEST_SESSION_REFERENCE}`.\nNote: claw partitions sessions per workspace fingerprint; sessions from other CWDs are invisible."
675
+
"no managed sessions found in .claw/sessions/{fingerprint_dir}/\nStart `claw` to create a session, then rerun with `--resume {LATEST_SESSION_REFERENCE}`.\nNote: /resume {LATEST_SESSION_REFERENCE} searches all workspaces."
0 commit comments