feat(run): add --resume flag for precise session file targeting / 支持精确恢复会话文件#3597
Merged
Conversation
esengine
approved these changes
Jun 9, 2026
esengine
left a comment
Owner
There was a problem hiding this comment.
Good addition — a non-interactive --resume PATH (with --resume taking precedence over -c) is exactly what API/MCP callers managing their own per-project session need. Verified the resume/continue/precedence/help paths end-to-end on a real build. Thanks!
dorokuma
pushed a commit
to dorokuma/DeepSeek-Reasonix
that referenced
this pull request
Jun 10, 2026
…gine#3597) Co-authored-by: ERroooooR <ERroooooR@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
reasonix run增加--resume <session-file>,允许非交互调用方精确恢复指定会话文件--continue/-c,用于恢复最近一次保存的会话--resume/--continue的恢复失败显式报错,避免静默新建会话说明
Testing
go test ./internal/cli -run TestMetadataCommandsDoNotProbeTerminalTheme通过go test ./internal/cli未完全通过;当前 Windows 环境下仍观察到既有失败:临时目录清理时文件占用、缺失 chdir 目标、rewind 中文渲染断言不匹配、statusline 刷新断言不匹配