Skip to content

feat(fork): print confirmation with new session id#919

Merged
Hmbown merged 1 commit into
mainfrom
integrate/pr-600-fork-confirm
May 7, 2026
Merged

feat(fork): print confirmation with new session id#919
Hmbown merged 1 commit into
mainfrom
integrate/pr-600-fork-confirm

Conversation

@Hmbown

@Hmbown Hmbown commented May 6, 2026

Copy link
Copy Markdown
Owner

Summary

After deepseek fork saves the forked session, surface the source
session title and the truncated source/new session ids so the user
sees what was created before the TUI takes over the screen.

$ deepseek fork --last
Forked "Refactor exec policy" (5b3c1a2f) → new session 9e0d4f12

Differences from upstream

  • Reuses the existing session_manager::truncate_id helper instead
    of defining a second truncate_id in main.rs (the original PR
    duplicated it).
  • Guards against an empty saved-title string so the line stays
    readable for unnamed sessions.

This is a UX-only addition that does not address the broader
/fork workflow request from #576; that one is asking for an
in-TUI fork picker, which is out of scope for v0.8.15.

Integrates #600.

Test plan

  • cargo build -p deepseek-tui --tests
  • cargo clippy -p deepseek-tui --all-targets -- -D warnings
  • cargo fmt --all -- --check

Co-authored-by: macworkers Mann_Juarezxgs@cash4u.com

After `deepseek fork` saves the forked session, surface the source
session title and the truncated source/new session ids so the user
sees what was created before the TUI takes over the screen.

Implementation differs slightly from the original PR:
- Reuse the existing `session_manager::truncate_id` helper instead of
  defining a second copy in `main.rs`.
- Guard against an empty saved-title string so the line stays
  readable for unnamed sessions.

This is a UX-only addition that does not address the broader
`/fork` request from #576; that one is asking for an in-TUI fork
picker, which is out of scope for v0.8.15.

Integrates #600.

Co-authored-by: macworkers <Mann_Juarezxgs@cash4u.com>
Copilot AI review requested due to automatic review settings May 6, 2026 23:58
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@Hmbown Hmbown merged commit 4eaeae9 into main May 7, 2026
11 of 12 checks passed
@Hmbown Hmbown deleted the integrate/pr-600-fork-confirm branch May 26, 2026 12:55
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.

2 participants