feat: Agent Abilities — WC Canonical Abilities for admin + vendors (F-16a, F-18)#3237
feat: Agent Abilities — WC Canonical Abilities for admin + vendors (F-16a, F-18)#3237anik-fahmid wants to merge 1 commit into
Conversation
…-16a, F-18) Registers Dokan marketplace operations as WooCommerce Canonical Abilities (shipping with WC 10.9 on June 23). Transport-neutral: same registration auto-exposes each ability via MCP, REST, WP-CLI, and future AI surfaces. F-16a — 8 admin/marketplace abilities: dokan/vendors-query, vendor-get, vendor-products-query, vendor-orders-query, vendor-approve, vendor-suspend, vendor-commission-set, marketplace-stats-summary Hooks woocommerce_mcp_include_ability so Dokan abilities appear alongside WC core abilities in the WC MCP server. F-18 — 9 vendor self-service abilities: dokan-vendor/product-create, product-update, inventory-update, withdrawal-request, store-update, orders-query, sales-summary, withdrawal-history, customer-message Vendors manage their store through Claude/ChatGPT via Application Passwords. Permission callbacks enforce vendor-scope on every call; sensitive ops (withdrawal, store-update) block staff delegation. Replaces: F-02 standalone MCP server (P2), F-07 admin AI agent (P2), F-14 multi-vendor comparison API (folded into F-16b Pro). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 12 minutes and 45 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (18)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📄 Specs: Dokan Agentic Specs — Phase 1
Summary
Registers Dokan marketplace operations as WooCommerce Canonical Abilities (shipping with WC 10.9 on June 23). Transport-neutral: same registration auto-exposes each ability via MCP, REST, WP-CLI, and future AI surfaces.
Strategy: Dokan Agentic Commerce Strategy — F-16a, F-18, H1
WC 10.9 ships that day with the Canonical Abilities API. Merging after loses "first marketplace plugin with Abilities API support on Day 1" positioning.
F-16a — 8 admin abilities
dokan/vendors-querydokan/vendor-getdokan/vendor-products-querydokan/vendor-orders-querydokan/vendor-approvedokan/vendor-suspenddokan/vendor-commission-setdokan/marketplace-stats-summaryF-18 — 9 vendor self-service abilities
Vendors manage their own store through Claude/ChatGPT via Application Passwords. Permission callbacks enforce vendor-scope on every call.
dokan-vendor/product-create,product-update,inventory-update,withdrawal-request,store-update,orders-query,sales-summary,withdrawal-history,customer-messageWhat this replaces
Test plan
GET /wp-json/wp-abilities/v1/abilitiesdokan/vendors-queryreturns vendor list with filtersdokan/vendor-approvechanges vendor status to approveddokan-vendor/product-createcreates product scoped to current vendordokan-vendor/*ability🤖 Generated with Claude Code