-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Add openclaw sessions reset <session-id> subcommand #834
Copy link
Copy link
Labels
area: cliCommand line interface, flags, terminal UX, or outputCommand line interface, flags, terminal UX, or outputarea: installInstall, setup, prerequisites, or uninstall flowInstall, setup, prerequisites, or uninstall flowarea: onboardingOnboarding FSM, provider setup, sandbox launch, or first-run flowOnboarding FSM, provider setup, sandbox launch, or first-run flow
Metadata
Metadata
Assignees
Labels
area: cliCommand line interface, flags, terminal UX, or outputCommand line interface, flags, terminal UX, or outputarea: installInstall, setup, prerequisites, or uninstall flowInstall, setup, prerequisites, or uninstall flowarea: onboardingOnboarding FSM, provider setup, sandbox launch, or first-run flowOnboarding FSM, provider setup, sandbox launch, or first-run flow
Type
Fields
Give feedbackNo fields configured for Enhancement.
Problem Statement
There is currently no CLI command to reset a specific session. When a session becomes corrupted (e.g. after a lock failure via the Telegram bridge), the only recovery path is to manually delete .jsonl and sessions.json files from inside the sandbox — which requires knowing the file paths and having sandbox shell access.
Proposed Design
A reset subcommand on openclaw sessions would make this recoverable without manual file system intervention:
Current workaround:
Alternatives Considered
No response
Category
enhancement: feature
Checklist