Skip to content

feat: cite text from proposed plans - #3

Merged
casassg merged 1 commit into
mainfrom
gerardc/plan-card-citations
Oct 5, 2026
Merged

casassg merged 1 commit into
mainfrom
gerardc/plan-card-citations

Conversation

@casassg

@casassg casassg commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Only assistant messages could be quoted as citations, so selecting text in a plan card did nothing. Plan cards are now citation sources using the proposed_plan turn item id, which needs no contract or server change since the citation id is never resolved server-side. Navigating to a citation expands a collapsed plan and a collapsed turn, like the message path. Applies to plans from every provider.

Verification: vp test run MessagesTimeline.logic.test.ts (142 passing, includes a citationSourceId test) and tsc --noEmit in apps/web. No manual UI check, so no screenshots yet.

Written by Claude (claude-sonnet-5-5) via OpenCode in T3 Code.

@casassg
casassg marked this pull request as ready for review October 5, 2026 20:18
@casassg
casassg merged commit 15637be into main Oct 5, 2026
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