Skip to content

feat(watchlog): add Watchlog integration - #10761

Open
josselinlbe wants to merge 1 commit into
simstudioai:stagingfrom
watchlogdev:feat/watchlog-integration
Open

josselinlbe wants to merge 1 commit into
simstudioai:stagingfrom
watchlogdev:feat/watchlog-integration

Conversation

@josselinlbe

Copy link
Copy Markdown

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:

  • Search Products (watchlog_search_products): Search watches by brand, model or reference and get matching models and listings with their reference number and lowest asking price.
  • Get Price History (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.
  • Track Product (watchlog_track_product): Add a watch to the Watchlog watchlist, checked on a schedule, with an optional target price for email alerts.
  • List Tracked Products (watchlog_list_products): List the products on the Watchlog watchlist with their latest, lowest and highest price, optionally narrowed to a watchlist filter.
  • Get Tracked Product (watchlog_get_product): Get a tracked watch with its latest price, alert settings and price history.
  • Update Tracked Product (watchlog_update_product): Change a tracked product's target price, check interval, drop alerts, or pause and resume its checks.
  • Check Price Now (watchlog_check_product): Check a tracked product's price right away (1 credit, at most once per 5 minutes).
  • Stop Tracking (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 external ToolConfig.request against the Watchlog API (https://www.watchlog.dev/api/v1). Read operations are declared effect: 'read'; tracking, updating, checking and untracking are write.

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

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Other: ___________

Testing

  • Outputs follow the Watchlog OpenAPI response schemas (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.
  • Local gate on this branch: 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 the blocks and tools/request-transport Vitest suites all pass.
  • Regenerated artifacts are committed (bun run generate): tool metadata, docs, block successors and the docs manifest.
  • No new unit tests, following the repo's testing guidance.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Screenshots/Videos

@vercel

vercel Bot commented Dec 4, 2026

Copy link
Copy Markdown

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

No deployments
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