Skip to content

Skip SubAgent sessions when continuing#72

Merged
lloydzhou merged 1 commit into
mainfrom
fix/continue-skip-sub-sessions
Jul 22, 2026
Merged

Skip SubAgent sessions when continuing#72
lloydzhou merged 1 commit into
mainfrom
fix/continue-skip-sub-sessions

Conversation

@lloydzhou

Copy link
Copy Markdown
Owner

变更

  • --continue 自动选择最近会话时跳过 sub_* SubAgent 会话
  • --fork 未显式指定源会话时复用相同过滤规则
  • 显式 --session sub_xxx 仍允许进入指定 SubAgent 会话
  • 同步 Bash、Go、Rust、C 四个运行时
  • 增加跨运行时定向测试和 Go/Rust/C 单元测试

测试

  • make test-bash:204 通过,0 失败
  • make test-go:通过
  • cargo test --manifest-path rust/Cargo.toml continue_tests -- --nocapture:3 通过
  • make -C c test-continue:3 通过
  • AGENT=./dist/agent.sh bash tests/test_continue_sessions.sh:通过
  • AGENT=./dist/goagent bash tests/test_continue_sessions.sh:通过
  • AGENT=./dist/rustagent bash tests/test_continue_sessions.sh:通过
  • AGENT=./dist/cagent bash tests/test_continue_sessions.sh:通过

@lloydzhou
lloydzhou merged commit 4062b45 into main Jul 22, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant