Skip to content

fix: improve message and file presentation - #1425

Open
JohnZheng-1991 wants to merge 3 commits into
agegr:mainfrom
JohnZheng-1991:main
Open

JohnZheng-1991 wants to merge 3 commits into
agegr:mainfrom
JohnZheng-1991:main

Conversation

@JohnZheng-1991

Copy link
Copy Markdown

Summary

Verification

  • 191 targeted tests passed
  • node_modules/.bin/tsc --noEmit
  • ESLint: 0 errors (one warning in an unrelated untracked ._t2.mjs)
  • Full suite: 2932 passed, 1 skipped, 1 pre-existing failure in components/ChatInput.test.mjs (shows and locks the optimistic model while a switch is pending), reproduced on HEAD before this change
  • Browser checked provider filtering and binary/text metadata responses on a separate development port

No session-format, model-request, or provider-configuration persistence changes.

zhengqiujian added 3 commits October 26, 2026 21:30
…estions

- turn-diff: /api/sessions/[id]/turn-diff reads a turn's changed files and
  counts from its git baseline (lib/turn-baseline.ts, lib/turn-diff.ts) instead
  of a tool-name allowlist; TurnWrittenFiles and the file viewer use it.
- undo: pre-write file snapshots (lib/file-snapshots.ts) with
  /api/sessions/[id]/undo, undone only while the file still holds that write.
- line comments: select lines in a file or diff and send them as one review
  message (lib/line-comments.ts, components/LineComments.tsx).
- follow-up suggestions: Tab accepts a suggested prompt
  (lib/follow-up-suggestion.ts, /api/follow-up-suggestion).
- favourite models row, i18n strings, docs and notes.

Also bumps the pi packages to 1.4.0.
The picker menu groups by provider, so the rows keep the bare name; the
trigger and the saved-pair chips were the only places a provider stayed
invisible.

This branch has not been deployed

No deployments
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