-
Notifications
You must be signed in to change notification settings - Fork 4k
Feature Request: Opt-in auto-restoration for specific persistent CLI sessions (e.g., Claude, Codex, REPLs, AI agents) #10185
Copy link
Copy link
Open
Labels
area:launch-configsLaunch configurations, workflows, tab configs, and automation entry points.Launch configurations, workflows, tab configs, and automation entry points.area:shell-terminalTerminal input/output, shell integration, prompt behavior, and block rendering.Terminal input/output, shell integration, prompt behavior, and block rendering.area:window-tabs-panesWindow, tab, pane, and workspace layout management.Window, tab, pane, and workspace layout management.enhancementNew feature or request.New feature or request.os:macmacOS-specific behavior, regressions, or requests.macOS-specific behavior, regressions, or requests.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Metadata
Metadata
Assignees
Labels
area:launch-configsLaunch configurations, workflows, tab configs, and automation entry points.Launch configurations, workflows, tab configs, and automation entry points.area:shell-terminalTerminal input/output, shell integration, prompt behavior, and block rendering.Terminal input/output, shell integration, prompt behavior, and block rendering.area:window-tabs-panesWindow, tab, pane, and workspace layout management.Window, tab, pane, and workspace layout management.enhancementNew feature or request.New feature or request.os:macmacOS-specific behavior, regressions, or requests.macOS-specific behavior, regressions, or requests.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Pre-submit Checks
Describe the solution you'd like?
I would like a way to explicitly tell Warp to auto-execute specific commands when restoring a session.
A few potential ways this could be implemented safely without risking the auto-execution of dangerous commands:
~/.warp/) where I can specify safe commands (e.g.,claude --resume,htop,k9s). If one of these was the active foreground process when Warp closed, auto-run it on restore.pwd, the command is executed.Is your feature request related to a problem? Please describe.
When I restart Warp, the terminal does an excellent job of restoring my windows, tabs, panes, and working directories. However, it drops the active processes that were running in those panes.
I frequently run persistent, long-standing CLI sessions—specifically agentic AI workflows like
claudeorcodex. Every time Warp restarts, I have to manually go through multiple panes and re-typeclaude --resume(or similar commands) to get my workspace back to its exact previous state.Additional context
As developers increasingly rely on long-running local agents and conversational CLIs alongside traditional editors, the terminal is becoming less of a transient command runner and more of a persistent dashboard. Allowing opt-in state restoration for these tools would be a massive workflow improvement.
Operating system (OS)
macOS
How important is this feature to you?
4
Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1
None