Skip to content

agent: add adapter for Marktplaats - #2631

Merged
esokullu merged 2 commits into
webbrain-one:mainfrom
alectimison-maker:agent/marktplaats-adapter
Aug 1, 2026
Merged

agent: add adapter for Marktplaats#2631
esokullu merged 2 commits into
webbrain-one:mainfrom
alectimison-maker:agent/marktplaats-adapter

Conversation

@alectimison-maker

Copy link
Copy Markdown
Contributor

Summary

  • add a Marktplaats.nl site adapter to both browser builds
  • distinguish bidding, messaging, and Direct Kopen so the agent does not treat Dutch classifieds like a conventional cart store
  • cover strict hostname matching, transaction guidance, spoof rejection, and browser parity

Motivation

Marktplaats is listed as a high-priority regional site in CONTRIBUTING.md. Its listing flow has three materially different paths: a bid may be accepted, rejected, or countered; an accepted eligible bid is paid from Berichten within 72 hours; and Direct Kopen skips negotiation while adding buyer-protection, shipping, and service costs. Without site guidance, an agent can mistake an asking price or accepted bid for a completed purchase and miss the final payable total.

The flow details are based on the current official Marktplaats Help pages for bid/payment requests, Direct Kopen, and shipping.

Design

The adapter uses a strict apex/www.marktplaats.nl matcher and six dated prompt bullets. The notes describe stable transaction states and visible Dutch labels rather than selectors. The exact adapter is mirrored to Chrome and Firefox.

This is site-specific instead of reusing the eBay adapter because Marktplaats bidding is a seller-negotiated classifieds flow, not an auction/cart flow.

Testing

  • focused production-module contract check for trusted URLs, spoofed URLs, and Chrome/Firefox parity — passed
  • node test/security/injection-corpus.mjs — 60/60 passed
  • node test/run.js — the new Marktplaats test passed; the command still exits 1 on the upstream baseline's existing package/changelog mismatch (26.0.1 versus 26.0.0)

Compatibility and risks

This is additive prompt guidance only: no API, config, storage, permission, or format changes. The main residual risk is future UI terminology drift, so the notes are dated 2026-08 and avoid selectors. No live extension trace was recorded in this environment.

Scope

This PR intentionally covers only Marktplaats.nl. Other regional classifieds sites and marktplaats.be are deferred to separate contributions.

@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

@alectimison-maker is attempting to deploy a commit to the esokullu's projects Team on Vercel.

A member of the Team first needs to authorize it.

@esokullu
esokullu merged commit 7d5c9f2 into webbrain-one:main Aug 1, 2026
1 of 2 checks passed
@alectimison-maker
alectimison-maker deleted the agent/marktplaats-adapter branch August 1, 2026 06:53
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.

2 participants