Skip to content

feat(sessions): surface @-tagged file attachments in turn view - #35

Merged
jspw merged 2 commits into
mainfrom
fix/session_conversation_ui
Jul 16, 2026
Merged

feat(sessions): surface @-tagged file attachments in turn view#35
jspw merged 2 commits into
mainfrom
fix/session_conversation_ui

Conversation

@jspw

@jspw jspw commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Parse attachment entries from JSONL and attach them to the preceding user turn so the UI can show which files were @-mentioned. Also strip IDE-injected <ide_opened_file> / <ide_selection> tags from user content and session summaries.

On the frontend, render attachment chips on user turns, highlight @path mentions inline (in prompt bodies and session summaries), and make the Sessions tab responsive on narrow viewports — list and detail now swap instead of overlapping, with a back button and auto-scroll to the selected session.

Summary

Closes #

Changes

Type of change

  • Bug fix
  • New feature
  • Improvement / refactor
  • Documentation
  • Chore / dependency update

Commit / PR title

  • PR title follows Conventional Commits (type(scope): description or type: description)
  • All commit messages in this PR follow Conventional Commits

Testing

  • Tested in Extension Development Host (F5)
  • Verified existing functionality is not broken
  • Added/updated tests (if applicable)

UI changes

  • No UI changes in this PR
  • Follows the design system (VS Code CSS variables, no hardcoded colors, no external UI libs) — run /ui-patterns for reference
  • Tested on both dark and light VS Code themes

Checklist

  • This PR targets dev (feature/fix work should not target main)
  • My code follows the project's coding conventions
  • I have read the CONTRIBUTING guide
  • No new dependencies added without discussion
  • No console.log or debug statements left in
  • If this PR will be merged to main, it will use Squash and merge or Rebase and merge instead of Create a merge commit

jspw and others added 2 commits July 16, 2026 20:17
Parse `attachment` entries from JSONL and attach them to the preceding
user turn so the UI can show which files were @-mentioned. Also strip
IDE-injected `<ide_opened_file>` / `<ide_selection>` tags from user
content and session summaries.

On the frontend, render attachment chips on user turns, highlight
`@path` mentions inline (in prompt bodies and session summaries), and
make the Sessions tab responsive on narrow viewports — list and detail
now swap instead of overlapping, with a back button and auto-scroll to
the selected session.
Adds a SessionParser case for attachments arriving prior to their user
turn, exercising the pendingAttachments buffer and its dedup guard.
Lifts SessionParser branch coverage above the 75% threshold.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@jspw
jspw merged commit e264d0d into main Jul 16, 2026
1 check passed
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.

1 participant