mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 14:30:45 +00:00
feat: add soft reset command (#68635)
* feat: add soft reset command * fix: harden soft reset follow-up behavior * fix: accept whitespace-delimited soft reset tails * test: cover newline soft reset normalization * fix: preserve stale sessions for soft reset * fix: gate soft reset stale bypass * fix: align soft reset auth gating * fix: normalize soft reset session detection * test: cover multiline soft reset session state * test: cover multiline soft reset parsing
This commit is contained in:
@@ -90,6 +90,7 @@ Current source-of-truth:
|
||||
Built-in commands available today:
|
||||
|
||||
- `/new [model]` starts a new session; `/reset` is the reset alias.
|
||||
- `/reset soft [message]` keeps the current transcript, drops reused CLI backend session ids, and reruns startup/system-prompt loading in-place.
|
||||
- `/compact [instructions]` compacts the session context. See [/concepts/compaction](/concepts/compaction).
|
||||
- `/stop` aborts the current run.
|
||||
- `/session idle <duration|off>` and `/session max-age <duration|off>` manage thread-binding expiry.
|
||||
|
||||
Reference in New Issue
Block a user