-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat(cli): add persistent history collapse on resume with refined commands #4085
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
fe23de6
feat(cli): add --quiet-restore flag to suppress history output on ses…
Gove2004 22e4ea7
fix: preserve history state for /rewind while suppressing rendering
Gove2004 fa68f3e
refactor: model quiet-restore as display policy with shared utilities
Gove2004 a731631
refactor: replace --quiet-restore with /history collapse|expand slash…
Gove2004 0feef32
fix: persist history collapse state as user setting
Gove2004 0f9e3e0
fix(cli): address maintainer feedback on history collapse persistence…
Gove2004 844b9c0
test(cli): fix TypeScript compilation errors in historyCommand tests
Gove2004 e943a16
fix(cli): address maintainer review feedback on history collapse
Gove2004 bcff48f
test: fix act() warning in slashCommandProcessor.test.ts
Gove2004 2dcb217
fix: make applyCollapsePolicyAndSummary pure to avoid React batching bug
Gove2004 e5e9d29
chore: revert unrelated changes to lockfile and NOTICES.txt
Gove2004 3b7ac2d
test: verify isRealUserTurn handles suppressOnRestore items correctly
Gove2004 156c82d
wip(cli): preserve local history review fixes before redesign
Gove2004 c94e316
feat(cli): refine history resume collapse commands
Gove2004 d5e15d9
fix(cli): address maintainer review feedback on history collapse
Gove2004 2e21961
test(cli): cover cold-boot collapsed resume
Gove2004 56a6918
fix(cli): address reviewer feedback on history collapse
Gove2004 d921b9d
fix(cli): resolve rebase conflicts and missing imports
Gove2004 aba0a2d
fix(cli): strip suppressOnRestore in handleRewindConfirm
Gove2004 c03a1ed
chore: resolve merge conflict in slashCommandProcessor.ts
Gove2004 033e2a9
fix(i18n): add Chinese translations for history collapse commands
Gove2004 019779d
fix: address wenshao review comments on PR #4085
Gove2004 d64cff8
fix(i18n): add missing English translations for history collapse comm…
Gove2004 560a7b2
fix: address wenshao follow-up review comments
Gove2004 c3e43c2
fix: restore optional chaining for remount in useResumeCommand
Gove2004 514afae
test: update slashCommandProcessor tests for history command feedback…
Gove2004 881e3fc
chore: remove generated artifact files from branch
Gove2004 ab3bb63
fix: address wenshao review comments on PR #4085
Gove2004 9147c1b
fix: address wenshao review comments on PR #4085
Gove2004 c279ea0
fix: add braces around if statement body (eslint curly rule)
Gove2004 8ed62ad
fix: address wenshao follow-up review comments on PR #4085
Gove2004 7fee9c2
fix: address wenshao latest review comments on PR #4085
Gove2004 17b3751
fix: address wenshao latest review comments on PR #4085
Gove2004 28cc304
merge: sync with upstream main and fix expand-now stale summary
Gove2004 ebb267b
merge: sync with upstream main, resolve useResumeCommand conflict
Gove2004 510db63
fix: address wenshao latest review comments
Gove2004 6a28f43
fix: add missing mockUpdateItem arg to test renderHook calls, remove …
Gove2004 86f17aa
fix: address review comments (type, gitignore, test, split-brain)
Gove2004 785c754
Merge remote-tracking branch 'origin/main' into pr-4085
Gove2004 6d261c3
merge: sync with upstream main (afd631335)
Gove2004 d0bbceb
fix: complete history collapse translations in 6 locale files
Gove2004 40a7bca
fix: add missing history parameter in slashCommandProcessor test
Gove2004 4bb4708
merge: resolve conflicts with upstream main
Gove2004 cd635e9
merge: sync with latest upstream main (02bd82abf)
Gove2004 1549924
merge: sync with upstream main (69d64c8a2)
Gove2004 bfd91cd
Merge branch 'main' into feat/quiet-restore
Gove2004 b689b62
Merge remote-tracking branch 'origin/main' into feat/quiet-restore
Gove2004 9f80bf9
Merge branch 'feat/quiet-restore' of https://github.com/Gove2004/qwen…
Gove2004 21fe0a6
fix(cli): repair history collapse CI failures
qqqys 6291670
Merge branch 'main' into feat/quiet-restore
wenshao File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -107,3 +107,4 @@ tmp/ | |
| # code graph skills | ||
| .venv | ||
| .codegraph | ||
| .qwen/computer-use/installed.json | ||
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Suggestion] The 9 new i18n strings for the history collapse feature are added to only 3 of 9 locale files (
en.js,zh.js,zh-TW.js). The other 6 locale files (ca.js,de.js,fr.js,ja.js,pt.js,ru.js) are missing all of these translations.Affected strings:
'Set history to collapse by default when resuming a session''Set history to expand by default when resuming a session''Expand the currently collapsed history transcript''Control history display preferences and visibility''History will be collapsed by default for future resumed sessions.''History will be expanded by default for future resumed sessions.''History is already expanded in this session.''Usage: /history collapse-on-resume|expand-on-resume|expand-now''History collapsed: {{n}} messages hidden. Use /history expand-now to show.'Add these keys to
ca.js,de.js,fr.js,ja.js,pt.js, andru.js(English placeholders are acceptable for community translation).— qwen-latest-series-invite-beta-v34 via Qwen Code /review