Skip to content

Commit 5951a45

Browse files
committed
docs(cli): move sessions compact section above related links
The new "Compact a session" section was inserted between the cleanup section's inline "Related:" list and the page's final "## Related" block, splitting related-link content around the command docs. Move the compact section above the related-links area and merge the orphaned "Session config" link into the single final "## Related" block.
1 parent 9987884 commit 5951a45

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

docs/cli/sessions.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,6 @@ traffic. Use `--store <path>` for explicit offline repair of a store file.
168168
}
169169
```
170170

171-
Related:
172-
173-
- Session config: [Configuration reference](/gateway/config-agents#session)
174-
175171
## Compact a session
176172

177173
Reclaim context budget for a wedged or oversized session. `openclaw sessions compact <key>` is the first-class wrapper around the `sessions.compact` gateway RPC and requires a running gateway.
@@ -228,5 +224,6 @@ Example truncate response (`--max-lines 200`):
228224

229225
## Related
230226

227+
- Session config: [Configuration reference](/gateway/config-agents#session)
231228
- [CLI reference](/cli)
232229
- [Session management](/concepts/session)

0 commit comments

Comments
 (0)