@seasonkoh/webaz 0.1.11 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -212,8 +212,18 @@ Roles:
212
212
  },
213
213
  {
214
214
  name: 'webaz_search',
215
- description: `Search WebAZ marketplace listings. No auth required.
216
- Returns structured specs + logistics + after-sales + agent_summary (one-line decision hint).
215
+ description: `Search WebAZ marketplace + cross-platform anchor lookup. No auth required.
216
+
217
+ USE THIS when the user:
218
+ - gives KEYWORDS / filters (typical product discovery), OR
219
+ - pastes ANY external product URL/share-text from Taobao / Tmall / JD / PDD / 1688 / Douyin / Xiaohongshu
220
+ → WebAZ exact-matches against its anchor registry (canonical product fingerprints across
221
+ platforms). matched_by='none' means truly not indexed — do NOT silently fall back to keyword,
222
+ and do NOT guess similar products.
223
+
224
+ ⚠️ Do not skip this tool just because user gave you a URL — URL-paste is a first-class mode here,
225
+ NOT a separate browser-fetch capability. Returns structured specs + logistics + after-sales +
226
+ agent_summary (one-line decision hint).
217
227
 
218
228
  【Keyword search】Pass query / category / max_price / min_return_days / max_handling_hours.
219
229
 
@@ -662,6 +672,11 @@ Other actions (create / view / mine / available / eligibility / apply / appeal e
662
672
  name: 'webaz_skill',
663
673
  description: `L4-4 Skill marketplace — sellers publish reusable seller-side behaviour configs; buyer Agents subscribe with one click.
664
674
 
675
+ USE THIS when:
676
+ - seller wants to install reusable selling behavior (auto-accept / catalog-sync / price-haggling / etc.), OR
677
+ - buyer agent wants to subscribe to seller's behaviour to enable priority discovery / auto-deal flows.
678
+ This is NOT a product search — for "find me X" use webaz_search.
679
+
665
680
  ⚠️ Important — Skill is NOT executable code distribution. There are exactly 5 typed Skill kinds (below), each accepts only **structured config parameters** (numbers / enums / amounts). There is NO path for an Agent to download and run arbitrary third-party code via this marketplace. Subscribing = setting a flag + data binding, not installing a plugin. (Common Web2 "plugin marketplace" risk model does NOT apply here.)
666
681
 
667
682
  Skill is WebAZ's cold-start mechanism: existing Amazon/Shopify sellers integrate with zero cost,
@@ -740,6 +755,9 @@ Returns:
740
755
  name: 'webaz_profile',
741
756
  description: `View your own profile / manage roles, AND view any user's public profile + content streams (个人主页内容流).
742
757
 
758
+ USE THIS when user wants info about a SPECIFIC PERSON (by usr_xxx / permanent code / @handle / name),
759
+ OR wants to see someone's listings / notes / activity stream. NOT for product keyword search — use webaz_search.
760
+
743
761
  Self actions (need api_key):
744
762
  - view show your profile & wallet & api_key hint
745
763
  - add_role add a new role
@@ -887,7 +905,11 @@ Returns the action result.`,
887
905
  },
888
906
  {
889
907
  name: 'webaz_nearby',
890
- description: 'Query anonymized nearby (~11km cell) purchase aggregation. k-anonymity ≥ 3 privacy guard. Or set/clear your coarse geo location (0.1° = 11km precision, never stores exact GPS).',
908
+ description: `Query anonymized nearby (~11km cell) purchase aggregation. k-anonymity ≥ 3 privacy guard. Or set/clear your coarse geo location (0.1° = 11km precision, never stores exact GPS).
909
+
910
+ USE THIS when user asks "what's popular/being bought near me / 我附近 / 同城" — geo-aggregated
911
+ view, no specific keyword. NOT for "find product X" — use webaz_search. NOT for "items shippable
912
+ to my address" — use webaz_search ship_to filter.`,
891
913
  inputSchema: {
892
914
  type: 'object',
893
915
  properties: {
@@ -942,6 +964,10 @@ Returns the action result.`,
942
964
  name: 'webaz_rfq',
943
965
  description: `RFQ (Request-for-Quotation) — buyer posts demand, sellers bid within a time window.
944
966
 
967
+ USE THIS when buyer wants to POST a need (and have sellers come to them) — typically because
968
+ webaz_search returned no good match, OR the buyer wants competing quotes (bulk / custom / unusual
969
+ spec / time-sensitive). NOT a search tool. For browsing existing listings use webaz_search.
970
+
945
971
  Actions:
946
972
  - create (buyer): publish RFQ; needs title/qty/max_price/category/urgency/award_mode
947
973
  - mine (buyer): my RFQ list
@@ -1210,6 +1236,10 @@ Kinds:
1210
1236
  {
1211
1237
  name: 'webaz_auction',
1212
1238
  description: `English forward auction — seller posts → buyers raise bids → anti-sniping extension → highest bid wins.
1239
+
1240
+ USE THIS when user wants to BID on auction items OR a seller wants to START an auction (rare goods,
1241
+ collectibles, price-discovery). NOT a regular product search — auctions are time-windowed events.
1242
+ For fixed-price items use webaz_search.
1213
1243
  Actions:
1214
1244
  - create (seller): start auction; needs title/qty/category/starting_price, optional min_increment/reserve_price/window_min/sniper_extend_min
1215
1245
  - browse: public board
@@ -1322,6 +1352,10 @@ Actions:
1322
1352
  name: 'webaz_secondhand',
1323
1353
  description: `Secondhand market (个人闲置二手) — peer-to-peer pre-owned goods, 1% protocol fee, escrow-protected. Supports shipping and in-person handoff.
1324
1354
 
1355
+ USE THIS when user wants USED / pre-owned / 闲置 / 二手 items, OR wants to sell own used items.
1356
+ For NEW manufactured products use webaz_search. Note: secondhand and shop catalog are separate
1357
+ spaces — webaz_search does NOT return secondhand listings.
1358
+
1325
1359
  Actions:
1326
1360
  - browse list available items (filters: category / condition / region / min_price / max_price / query / sort; no auth needed; excludes your own when api_key given)
1327
1361
  - detail one item's detail + seller's other listings (item_id; no auth needed)
@@ -1371,6 +1405,12 @@ fulfillment: shipping / in_person / both
1371
1405
  name: 'webaz_trial',
1372
1406
  description: `Trial-for-review (测评免单) — sellers offer order refunds to buyers who post a qualifying review note; when the review reaches a target view threshold the order is auto-refunded.
1373
1407
 
1408
+ USE THIS when:
1409
+ - buyer asks "is there a trial / free-test / 测评免单 / 0 元试用 for this product?", OR
1410
+ - buyer has already ordered a product with a trial campaign and wants to claim the slot, OR
1411
+ - seller wants to launch a trial campaign to seed reviews.
1412
+ NOT a search tool — for product discovery use webaz_search (can filter by has_trial=true coming soon).
1413
+
1374
1414
  Anti-abuse is enforced server-side (buyer≠seller, must have a confirmed/completed order, account ≥3 days old, IP/UA rate limits, config snapshot at claim time) — MCP just passes through.
1375
1415
 
1376
1416
  Buyer actions:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seasonkoh/webaz",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "Agent-native decentralized commerce protocol. Humans and AI agents trade on the same protocol via MCP tools.",
5
5
  "main": "dist/mcp.js",
6
6
  "bin": {