Conversation
…sages - WatchlistProposalSchema: name, sector, layers, items, reasoning - Add watchlist_proposal to WsMessageSchema for server → client proposals - Add context and activeWatchlist fields to chat_send client message to differentiate watchlist builder chat from general chat Made-with: Cursor
…ction New handleWatchlistChat function with a specialized system prompt that instructs Claude to output structured watchlist proposals as JSON blocks. The response is parsed to extract proposals (name, layers, items with tickers/descriptions/thesis/strategies) separately from the display text. System prompt uses AI Supply Chain as the gold-standard example. Made-with: Cursor
When chat_send includes context='watchlist_builder', routes to handleWatchlistChat instead of generic chat. Sends both chat_message and watchlist_proposal WS messages back to the client. Made-with: Cursor
- Add WatchlistProposal state and watchlist_proposal message handler - sendChatMessage now accepts context and activeWatchlist parameters - Add clearProposal action for dismissing proposals Made-with: Cursor
…l cards - WatchlistBuilder now has a 3-column layout: sidebar, editor, embedded chat - Agent chat sends with context='watchlist_builder' and active watchlist name - ProposalCard component renders agent-proposed watchlists with ticker table, layers preview, and Accept/Edit/Dismiss actions - "Accept & Save" creates the watchlist and saves items in one action - "Load as Draft" loads proposal items into the editor for manual tweaking - Floating chat hidden when on the watchlist builder tab (chat is embedded) - Export WatchlistProposal from shared package index Made-with: Cursor
feat: agent-powered watchlist builder with embedded chat and proposals
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.
Release
Production deploy of the agent-powered watchlist builder system.
Changes
PR History
Made with Cursor