Repository navigation
feat(bricktrack): add BrickTrack integration - #10762
Open
josselinlbe wants to merge 1 commit into
Open
josselinlbe wants to merge 1 commit into
josselinlbe wants to merge 1 commit into
Conversation
|
Someone is attempting to deploy a commit to the Sim Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
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.
Summary
Adds a BrickTrack integration: tools, block, icon and generated docs page. I work on BrickTrack, so this PR comes from the BrickTrack team.
Search LEGO sets and read the price history of any set number on the US, UK, German or French LEGO store, then keep a watchlist checked on a schedule: track a set with a target price, list and read tracked sets with their lowest, highest and first price, change alerts and check intervals, check a price now or stop tracking.
Operations:
bricktrack_search_products): Search LEGO sets and get matching sets with their set number, title, rating and review count.bricktrack_get_price_history): Get every price read for a LEGO set over a period, oldest first, with its lowest, highest and average price. The product does not have to be tracked.bricktrack_track_product): Add a LEGO set to the BrickTrack watchlist, checked on a schedule, with an optional target price for email alerts.bricktrack_list_products): List the products on the BrickTrack watchlist with their latest, lowest and highest price, optionally narrowed to a watchlist filter.bricktrack_get_product): Get a tracked LEGO set with its latest price, alert settings and price history.bricktrack_update_product): Change a tracked product's target price, check interval, drop alerts, or pause and resume its checks.bricktrack_check_product): Check a tracked product's price right away (1 credit, at most once per 5 minutes).bricktrack_untrack_product): Remove a product from the BrickTrack watchlist.Credentials are a BrickTrack API key on the block (
AuthMode.ApiKey), sent as a bearer token. Every tool is an externalToolConfig.requestagainst the BrickTrack API (https://www.bricktrack.dev/api/v1). Read operations are declaredeffect: 'read'; tracking, updating, checking and untracking arewrite.Product update (if relevant)
Shoppers, resellers and e-commerce teams can watch LEGO prices from a workflow, and agents can judge whether a price is a real deal. The block appears in the integrations catalog with 5 templates and 3 skills; the docs page is
apps/docs/content/docs/integrations/bricktrack.mdx.Type of Change
Testing
https://www.bricktrack.dev/openapi.json); fields the API documents as nullable are optional outputs, and fields it documents as always empty for LEGO are left out.bun run lint:check,bun run type-check,bun run check:audits,bun run apps/sim/scripts/check-block-registry.ts origin/staging,bun run apps/sim/scripts/check-canvas-sentences.ts --block=bricktrack, and theblocksandtools/request-transportVitest suites all pass.bun run generate): tool metadata, docs, block successors and the docs manifest.Checklist
Screenshots/Videos