Skip to content

agent: add adapter for pinduoduo - #2725

Merged
webbrain-one merged 3 commits into
webbrain-one:mainfrom
fly1d:codex/add-pinduoduo-adapter
Aug 10, 2026
Merged

agent: add adapter for pinduoduo#2725
webbrain-one merged 3 commits into
webbrain-one:mainfrom
fly1d:codex/add-pinduoduo-adapter

Conversation

@fly1d

@fly1d fly1d commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add Pinduoduo consumer-site guidance for desktop and mobile web surfaces
  • handle anonymous search and product redirects to phone or QR login
  • distinguish product, store, and aggregated sales counts
  • preserve marketplace, group-buying, checkout, and after-sales safety boundaries
  • keep Chrome and Firefox behavior aligned

Tests

  • node --check src/chrome/src/agent/adapters.js
  • node --check src/firefox/src/agent/adapters.js
  • node --check test/run.js
  • npm test (the Pinduoduo regression test passes; overall: 1546 passed, 20 unrelated ENOENT failures because this sparse checkout excludes web/, docs/, and assets/)

@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

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

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Pinduoduo-specific browsing and transaction-safety guidance across both browser builds.

Changes:

  • Recognizes trusted Pinduoduo consumer surfaces.
  • Adds search, login, sales-count, checkout, and after-sales guidance.
  • Adds Chrome/Firefox parity and regression tests.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/chrome/src/agent/adapters.js Adds the Chrome Pinduoduo adapter.
src/firefox/src/agent/adapters.js Mirrors the adapter for Firefox.
test/run.js Tests URL matching, guidance, security boundaries, and parity.

馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@webbrain-one
webbrain-one merged commit 82525b4 into webbrain-one:main Aug 10, 2026
1 check failed
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.

3 participants