Skip to content

feat(chat): message fork, edit and flowchat#650

Closed
Fodesu wants to merge 10 commits into
memohai:mainfrom
Fodesu:feat/chat-message-fork
Closed

feat(chat): message fork, edit and flowchat#650
Fodesu wants to merge 10 commits into
memohai:mainfrom
Fodesu:feat/chat-message-fork

Conversation

@Fodesu

@Fodesu Fodesu commented Jun 16, 2026

Copy link
Copy Markdown
Member

Summary

Adds copy, fork, and request rewrite actions for chat messages, backed by session branch/turn history.

Changes

  • Add message copy behavior for user and assistant messages.
  • Add assistant message fork action and request rewrite flow.
  • Introduce branch/turn persistence for chat history.
  • Add branch graph APIs and active branch switching.
  • Update message listing/context loading to use active branch visible history.
  • Render branch history sidebar from backend branch graph data.
  • Preserve branch/turn context for deferred tool approvals and user input continuations.

Tests

  • Added backend tests for branch fork/rewrite semantics, visible history, migrations, and continuation context.
  • Added frontend tests for copy/fork/rewrite action behavior and branch store flows.
  • Verified SQLite/PostgreSQL query generation with sqlc.
图片

@Fodesu Fodesu force-pushed the feat/chat-message-fork branch 4 times, most recently from b9c57e7 to 20eceaa Compare June 17, 2026 11:12
@Fodesu Fodesu marked this pull request as ready for review June 17, 2026 11:21
@Fodesu Fodesu force-pushed the feat/chat-message-fork branch from cbf379d to 2e91b47 Compare June 17, 2026 16:41
@chen-ran chen-ran closed this Jun 23, 2026
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.

3 participants