-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat: auto-restore terminal commands on session restore (part 1/2) #2545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mrosnerr
wants to merge
31
commits into
manaflow-ai:main
Choose a base branch
from
mrosnerr:feat/auto-restore-commands-core
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
cfea682
feat: auto-restore terminal commands on session restore
mrosnerr 1a1e1b5
fix: address PR review feedback for auto-restore commands
mrosnerr ff52d21
Expand denylist, fix main-thread ps, SSH initialInput, and persist va…
mrosnerr e22e65f
Fix stale TTY, setPanelRestoreCommand validation, and non-blocking au…
mrosnerr 292735f
Skip restore metadata for remote-backed terminals
mrosnerr 6cf84c7
Gate listeningPorts and restoreCommand for remote-backed terminals
mrosnerr 8c8d30c
Remove cargo watch from allowlist, fix misleading test comments
mrosnerr 962d584
Address review feedback from CodeRabbit and Cubic
mrosnerr d018b93
Block commands with sensitive credentials, add helper and tests
mrosnerr b6d7b8d
Address CodeRabbit review feedback
mrosnerr fdddb3b
Fix denylist bypass for absolute paths (Cubic P2)
mrosnerr d958173
Simplify denylist: check dangerous executables anywhere in command
mrosnerr 6356351
Add comprehensive denylist tests for session restore commands
mrosnerr 02596fb
Add allowlist wildcard pattern matching tests
mrosnerr fe80fda
Add test for denylist/allowlist precedence
mrosnerr 15e73fd
Block embedded newlines in commands (defense-in-depth)
mrosnerr c85f888
Address nits: os_unfair_lock, Set lookup, tab separator
mrosnerr ac09f34
Address PR review feedback: argv parsing, newline validation, remote-…
mrosnerr 7437784
Fix boundary scanning for dangerous executables
mrosnerr 4dc4291
test: add comprehensive security hardening tests for command injection
mrosnerr c9df396
fix: CRLF detection bug + expand security denylist
mrosnerr d249e85
fix: address CodeRabbit review feedback
mrosnerr 4d0fd87
fix: address CodeRabbit review comments
mrosnerr f14b86d
fix: set isTerminatingApp before all quit paths, simplify comments
mrosnerr 2cde7d4
fix: restore remoteDetectedSurfaceIds check, add SSH to allowlist, ad…
mrosnerr 12b3a0a
fix: address Cubic P2 review feedback
mrosnerr 98e9e37
docs: add comment for restoreCommand field
mrosnerr 453b519
refactor: simplify restore commands to only use auto-detected commands
mrosnerr 7a0e385
refactor: remove unused code
mrosnerr 01aed04
fix: clear stale surfaceListeningPorts when promoting to remote-backe…
mrosnerr ece5da2
Merge origin/main into feat/auto-restore-commands-core
mrosnerr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.