Skip to content

agent: add adapter for Xianyu - #2654

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

agent: add adapter for Xianyu#2654
esokullu merged 1 commit into
webbrain-one:mainfrom
alectimison-maker:agent/xianyu-adapter

Conversation

@alectimison-maker

Copy link
Copy Markdown
Contributor

Summary

Adds mirrored Xianyu / Goofish guidance for current access blocks, second-hand listing verification, seller chat, protected transactions, receipt confirmation, publication, and completion state.

Validation

  • Test-first assertion failed before implementation, then passed.
  • Playwright: Goofish returned HTTP 200 with 非法访问 / 请使用正常浏览器访问闲鱼.
  • Full suite: 1404/1405 (sole pre-existing package/changelog mismatch). Security corpus: 60/60. git diff --check: passed.

Risks

Prompt-only and browser-mirrored. No login, chat, offer, address disclosure, listing publication, order, payment, dispute, or receipt-confirmation action was performed.

@vercel

vercel Bot commented Aug 2, 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.

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 mirrored Xianyu/Goofish marketplace safety guidance across browser builds.

Changes:

  • Adds trusted Goofish URL matching.
  • Adds transaction, seller-chat, publication, and access-block guidance.
  • Tests matching, prompt content, and browser parity.

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 Xianyu adapter.
src/firefox/src/agent/adapters.js Mirrors the adapter for Firefox.
test/run.js Tests URL matching and guidance parity.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@esokullu
esokullu merged commit 7e96d7a into webbrain-one:main Aug 2, 2026
1 of 2 checks passed
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