Repository navigation
feat(watchlog): add Watchlog integration - #10761
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 Watchlog integration: tools, block, icon and generated docs page. I work on Watchlog, so this PR comes from the Watchlog team.
Search watches and read the price history of any reference number, optionally narrowed to a condition and sellers' region, or of a single listing, then keep a watchlist checked on a schedule: track a watch with a target price, list and read tracked watches with their lowest, highest and first price, change alerts and check intervals, check a price now or stop tracking.
Operations:
watchlog_search_products): Search watches by brand, model or reference and get matching models and listings with their reference number and lowest asking price.watchlog_get_price_history): Get every price read for a watch over a period, oldest first, with its lowest, highest and average price. The product does not have to be tracked.watchlog_track_product): Add a watch to the Watchlog watchlist, checked on a schedule, with an optional target price for email alerts.watchlog_list_products): List the products on the Watchlog watchlist with their latest, lowest and highest price, optionally narrowed to a watchlist filter.watchlog_get_product): Get a tracked watch with its latest price, alert settings and price history.watchlog_update_product): Change a tracked product's target price, check interval, drop alerts, or pause and resume its checks.watchlog_check_product): Check a tracked product's price right away (1 credit, at most once per 5 minutes).watchlog_untrack_product): Remove a product from the Watchlog watchlist.Credentials are a Watchlog API key on the block (
AuthMode.ApiKey), sent as a bearer token. Every tool is an externalToolConfig.requestagainst the Watchlog API (https://www.watchlog.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 follow watch prices by reference 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/watchlog.mdx.Type of Change
Testing
https://www.watchlog.dev/openapi.json); fields the API documents as nullable are optional outputs, and fields it documents as always empty for the watch market 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=watchlog, and theblocksandtools/request-transportVitest suites all pass.bun run generate): tool metadata, docs, block successors and the docs manifest.Checklist
Screenshots/Videos