agent: add adapter for Marktplaats - #2631
Open
alectimison-maker wants to merge 1 commit into
Open
Conversation
|
@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. |
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
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.nlmatcher 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
node test/security/injection-corpus.mjs— 60/60 passednode test/run.js— the new Marktplaats test passed; the command still exits 1 on the upstream baseline's existing package/changelog mismatch (26.0.1versus26.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-08and 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.beare deferred to separate contributions.