mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:40:44 +00:00
fix: retain shared agent workspaces (#70897)
Fixes #70889 and #70890. Retains overlapping/shared agent workspaces during `openclaw agents delete`, keeps `--json` output machine-readable, and repairs the stale hook-runner test harness mock that blocked CI. Thanks @kaseonedge.
This commit is contained in:
@@ -150,6 +150,9 @@ Notes:
|
||||
- `main` cannot be deleted.
|
||||
- Without `--force`, interactive confirmation is required.
|
||||
- Workspace, agent state, and session transcript directories are moved to Trash, not hard-deleted.
|
||||
- If another agent's workspace is the same path, inside this workspace, or contains this workspace,
|
||||
the workspace is retained and `--json` reports `workspaceRetained`,
|
||||
`workspaceRetainedReason`, and `workspaceSharedWith`.
|
||||
|
||||
## Identity files
|
||||
|
||||
|
||||
Reference in New Issue
Block a user