feat(cli): add OpenCode-compatible session undo and redo - #1927
Merged
Conversation
limityan
force-pushed
the
feat/tui-session-undo-redo
branch
2 times, most recently
from
July 31, 2026 09:20
479300f to
46e58a2
Compare
limityan
force-pushed
the
feat/tui-session-undo-redo
branch
from
July 31, 2026 09:48
46e58a2 to
292060e
Compare
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
/undoand/redocommands to Embedded and Shared TUI, with no aliases or custom keybindings.Architecture
SessionHistoryChangedis a stable invalidation fact for cached projections instead of leaking/undoor/redosemantics into adapters.Verification
Final branch base:
main@26370da3.cargo check --workspace --quietcargo test --quiet -p bitfun-core --lib- 1701 passed, 1 ignored after the CI hardening fix; post-final-rebase execution-binding suite 3/3 passedcargo test --quiet -p bitfun-cli- 502 unit tests plus integration suites passed before the final no-conflict rebase; post-rebase/undocontract passedcargo test --quiet -p bitfun-desktop- 208/208 passed before the final no-conflict rebase; post-rebase owner-wiring contract passednode scripts/check-core-boundaries.mjsThe broader Services Integrations test surface still has two unchanged-main issues outside this diff: the all-feature
plugin_sourcetest lacks anative_path_identityimport, andremote_chat_history_assembly_skips_in_progress_assistant_historyexpects one message while the unchanged projection returns two.Earlier frontend verification on
main@cb444fa5:pnpm run lint:web: passed with one upstream Dispatch warning and no errorspnpm run type-check:web: passedThe final combined head is validated by the PR checks below.