feat(desktop): add duplicate session command#18115
Open
anduimagui wants to merge 5 commits intoanomalyco:devfrom
Open
feat(desktop): add duplicate session command#18115anduimagui wants to merge 5 commits intoanomalyco:devfrom
anduimagui wants to merge 5 commits intoanomalyco:devfrom
Conversation
Contributor
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
Register the desktop duplicate command in the command list and add the dependencies it needs.
Add the duplicate session label copy and mention the desktop-only slash command in the commands docs.
Mount desktop session commands inside the session providers, export the hooks they need, and restore the prompt after navigating to the duplicated session.
2c83d45 to
aa92343
Compare
Contributor
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
1 similar comment
Contributor
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
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.
Issue for this PR
Closes #18118
Type of change
What does this PR do?
Adds the desktop-only
/duplicatecommand, wires it into the session-scoped app providers so it can fork the current chat and carry the draft prompt into the new session, and documents the command in the app copy and commands docs. This is the desktop follow-up to the related TUI work in #12079.How did you verify your code works?
Ran
bun typecheckinpackages/desktopandpackages/app, and the original desktop commit also passed the repo typecheck hook during commit.Screenshots / recordings
N/A
Checklist