feat: render market references in chat and connectors - #1486
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Replies containing
[[market/{barId}/{interval}]]now open a native K-line workbench tab in GUI chat and produce an inline PNG snapshot in attachment-capable Connectors. Consumers request the latest 300 bars from the existing BarService; text/chart/text ordering, historical-message behavior, exact source identity and unavailable-reference feedback are preserved.Vendor barIds without an asset-class hint now resolve exact catalog matches, including base-symbol searches for normalized pairs. Ambiguous or unavailable identities fail instead of selecting another feed. The chart shares its request lifecycle with Market through
useMarketBars. Connector snapshots use bundled JavaScript and an OFL font, without native graphics or a browser dependency. Agent skills document the syntax.Validation:
pnpm test: 792 files; 6,988 passed, 4 skipped.npx tsc --noEmit, UInpx tsc -b, Connector and protocol typechecks.node scripts/connector-service-smoke.mjs.No new live Telegram send or trading write was performed. No remote upgrade is part of this PR.