Repository navigation
fix(server): Claude imports keep questions after quoted command output #42674
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
juliusmarminge
merged 11 commits into
pingdotgg:main
from
StiensWout:wf/find-f0737708692647e83b664d57
Nov 25, 2026
+92
−4
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
683ec02
test(server): cover Claude questions after quoted command output
StiensWout 66c8b14
fix(server): Claude imports keep questions after quoted command output
StiensWout 8af66b4
refactor(server): drop redundant leading-tag fast path in isClaudeUiO…
StiensWout f812bd2
fix(server): distinguish Claude markup from quoted prompts
StiensWout f52481c
test(server): fold Claude markup cases into the transcript parser suite
StiensWout e44f392
refactor(server): share one leading-block scan for Claude UI output a…
StiensWout 9d047d0
Revert "test(server): fold Claude markup cases into the transcript pa…
StiensWout 0502adb
fix(server): hide Claude shell output with embedded closing tags
StiensWout 02f5f63
Merge remote-tracking branch 'origin/main' into wf/find-f073770869264…
juliusmarminge 3151cb7
fix(server): name Claude threads after prose following quoted command…
juliusmarminge b4fcd91
fix(server): scan Claude shell envelopes linearly and keep task notif…
juliusmarminge 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
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.
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.
Infer the title from the question when command markup follows a leading output block.
When a Claude user turn starts with an output block,
claudeUserTextstrips only that output block. The following<command-name>block stays intitleText.deriveTitlethen uses the first line, so the imported title becomes the raw command markup instead of the question.Strip the leading command markup as well as the output blocks before deriving the title. The title must come from the first prose line after all leading output and command markup. Keep the existing conversion of a fully consumed command block, and keep the visible message text unchanged.