Skip to content

Commit 83cea01

Browse files
esokulluclaude
andcommitted
agent: cut generic e-commerce bullets from Mercado Libre adapter
Adapter notes ride along with every first-turn request on the site, so they should carry only what the model cannot infer. Drops the variant- selection and price-excludes-shipping/installments bullets, which are generic marketplace advice, and folds the postal-code rule into one line. Keeps the site-specific content: locale-exact buy labels, the catalog vs single-seller URL split, the Mercado Pago hand-off, and the account-verification stop. Notes go 2041 -> 1217 chars (5 bullets), from 5th-largest adapter to 19th of 74. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent f3d36f6 commit 83cea01

2 files changed

Lines changed: 8 additions & 10 deletions

File tree

src/chrome/src/agent/adapters.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16287,11 +16287,10 @@ const ADAPTERS = [
1628716287
category: 'general',
1628816288
matches: (url) => /^https?:\/\/(?:[a-z0-9-]+\.)*(?:mercadolibre\.com\.(?:ar|mx)|mercadolivre\.com\.br)\//.test(url),
1628916289
notes: `
16290-
- Multi-seller MARKETPLACE, localized per country. As of 2026-07 — AR/MX (Spanish): "Comprar ahora", "Agregar al carrito", "Otras opciones de compra". BR (Portuguese): "Comprar agora", "Adicionar ao carrinho", "Outras opções de compra". Use the current site's language only; a blended label matches no control on either storefront.
16291-
- Catalog pages (path contains /p/MLA…, /p/MLM…, /p/MLB…) group MANY sellers under one product: the buy box is ONE seller's offer, and the "otras opciones"/"outras opções" list holds others at a different price, shipping cost, and reputation — compare before quoting. Single-seller listings (articulo.mercadolibre.com.*/…-_JM, produto.mercadolivre.com.br/…-_JM) have no such list; don't hunt for it there.
16292-
- Variant trap: pick every required option — color, size ("talle" AR / "talla" MX / "tamanho" BR), capacity, voltage, flavor — BEFORE adding. A variation can change stock, price, seller, and delivery; read the selection back from the cart.
16293-
- LOCATION-FIRST: set the destination postal code ("código postal" AR/MX, "CEP" BR) before stating availability, shipping cost, free shipping, pickup, or arrival date. Re-check in the cart — these depend on destination AND seller.
16294-
- Listed prices exclude shipping, and headline discounts/installments ("cuotas" AR/MX, "parcelas" BR) can depend on payment method. Add to cart while choices are open; confirm seller, variation, quantity, shipping, and final payable total before buy-now. Checkout then continues on a Mercado Pago host, where this guidance no longer applies — confirm the total there too.
16290+
- Multi-seller MARKETPLACE. As of 2026-07 the buy controls are AR/MX "Comprar ahora" / "Agregar al carrito" / "Otras opciones de compra"; BR "Comprar agora" / "Adicionar ao carrinho" / "Outras opções de compra". Use one locale's labels, never a blend of the two.
16291+
- Catalog pages (path contains /p/MLA…, /p/MLM…, /p/MLB…) group MANY sellers under one product: the buy box is ONE offer, and "Otras opciones de compra"/"Outras opções de compra" lists the rest at different prices and arrival dates — open it before quoting a price. Single-seller listings (articulo.mercadolibre.com.*, produto.mercadolivre.com.br, paths ending -_JM) have no such list.
16292+
- Shipping cost and arrival date are computed from the destination "código postal" (AR/MX) / "CEP" (BR) and differ per seller. Set it before stating either, and re-check in the cart.
16293+
- Buy-now hands off to a Mercado Pago host where this guidance stops applying — confirm the final total there.
1629516294
- Search hosts (listado.mercadolibre.com.ar, listado.mercadolibre.com.mx, lista.mercadolivre.com.br) can redirect automation to /gz/account-verification. If that wall appears, STOP and ask the user to complete it manually — do not retry, bypass, or claim results were read.`,
1629616295
},
1629716296

src/firefox/src/agent/adapters.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16285,11 +16285,10 @@ const ADAPTERS = [
1628516285
category: 'general',
1628616286
matches: (url) => /^https?:\/\/(?:[a-z0-9-]+\.)*(?:mercadolibre\.com\.(?:ar|mx)|mercadolivre\.com\.br)\//.test(url),
1628716287
notes: `
16288-
- Multi-seller MARKETPLACE, localized per country. As of 2026-07 — AR/MX (Spanish): "Comprar ahora", "Agregar al carrito", "Otras opciones de compra". BR (Portuguese): "Comprar agora", "Adicionar ao carrinho", "Outras opções de compra". Use the current site's language only; a blended label matches no control on either storefront.
16289-
- Catalog pages (path contains /p/MLA…, /p/MLM…, /p/MLB…) group MANY sellers under one product: the buy box is ONE seller's offer, and the "otras opciones"/"outras opções" list holds others at a different price, shipping cost, and reputation — compare before quoting. Single-seller listings (articulo.mercadolibre.com.*/…-_JM, produto.mercadolivre.com.br/…-_JM) have no such list; don't hunt for it there.
16290-
- Variant trap: pick every required option — color, size ("talle" AR / "talla" MX / "tamanho" BR), capacity, voltage, flavor — BEFORE adding. A variation can change stock, price, seller, and delivery; read the selection back from the cart.
16291-
- LOCATION-FIRST: set the destination postal code ("código postal" AR/MX, "CEP" BR) before stating availability, shipping cost, free shipping, pickup, or arrival date. Re-check in the cart — these depend on destination AND seller.
16292-
- Listed prices exclude shipping, and headline discounts/installments ("cuotas" AR/MX, "parcelas" BR) can depend on payment method. Add to cart while choices are open; confirm seller, variation, quantity, shipping, and final payable total before buy-now. Checkout then continues on a Mercado Pago host, where this guidance no longer applies — confirm the total there too.
16288+
- Multi-seller MARKETPLACE. As of 2026-07 the buy controls are AR/MX "Comprar ahora" / "Agregar al carrito" / "Otras opciones de compra"; BR "Comprar agora" / "Adicionar ao carrinho" / "Outras opções de compra". Use one locale's labels, never a blend of the two.
16289+
- Catalog pages (path contains /p/MLA…, /p/MLM…, /p/MLB…) group MANY sellers under one product: the buy box is ONE offer, and "Otras opciones de compra"/"Outras opções de compra" lists the rest at different prices and arrival dates — open it before quoting a price. Single-seller listings (articulo.mercadolibre.com.*, produto.mercadolivre.com.br, paths ending -_JM) have no such list.
16290+
- Shipping cost and arrival date are computed from the destination "código postal" (AR/MX) / "CEP" (BR) and differ per seller. Set it before stating either, and re-check in the cart.
16291+
- Buy-now hands off to a Mercado Pago host where this guidance stops applying — confirm the final total there.
1629316292
- Search hosts (listado.mercadolibre.com.ar, listado.mercadolibre.com.mx, lista.mercadolivre.com.br) can redirect automation to /gz/account-verification. If that wall appears, STOP and ask the user to complete it manually — do not retry, bypass, or claim results were read.`,
1629416293
},
1629516294

0 commit comments

Comments
 (0)