{"_id":"@dai_ming/plugin-mall-shopping","_rev":"2-089405f2ad8e9fea36e2ad45cdff89c5","name":"@dai_ming/plugin-mall-shopping","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@dai_ming/plugin-mall-shopping","version":"0.1.0","keywords":["openclaw","plugin","mall","shopping","mcp","uniclaw"],"license":"MIT","_id":"@dai_ming/plugin-mall-shopping@0.1.0","maintainers":[{"name":"bdliuxiang13","email":"459615608@qq.com"},{"name":"djoylove2026","email":"673218847@qq.com"}],"dist":{"shasum":"613c08a21a911792016cd59cb5ca808015cfa980","tarball":"https://registry.npmjs.org/@dai_ming/plugin-mall-shopping/-/plugin-mall-shopping-0.1.0.tgz","fileCount":6,"integrity":"sha512-rLzwSDldVrAI/VpKcP+pKoSdnYWfr62X1zritKxoCEjAtpneNn4gdcpG6xSfDsyoUFRQumglbZj8DVrwISzuvQ==","signatures":[{"sig":"MEQCIDz0+50sJ/zBPJUFUOoesk48gYeZJytiEtJA9oXrFC3eAiB04iN+zkt8vWH3GSFBdYPblD9P8rU4y5FsdF1M9OmL3Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26953},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"node test/index.test.js"},"_npmUser":{"name":"djoylove2026","email":"673218847@qq.com"},"openclaw":{"extensions":["./index.js"]},"_npmVersion":"11.14.1","description":"OpenClaw Mall Shopping native plugin for Uniclaw mall MCP product search and checkout links","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/plugin-mall-shopping_0.1.0_1780556256740_0.03984472212497181","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@dai_ming/plugin-mall-shopping","version":"0.1.1","description":"OpenClaw Mall Shopping native plugin for Uniclaw mall MCP product search and checkout links","keywords":["openclaw","plugin","mall","shopping","mcp","uniclaw"],"license":"MIT","main":"index.js","scripts":{"test":"node test/index.test.js"},"openclaw":{"extensions":["./index.js"]},"engines":{"node":">=16"},"gitHead":"a0806cb71db8632550842a1078e15105efe1bfd8","_id":"@dai_ming/plugin-mall-shopping@0.1.1","_nodeVersion":"22.14.0","_npmVersion":"11.14.1","dist":{"integrity":"sha512-D7QeYC2x2tPAw4dtN6u1uc/qrpBN71Xi0FKoIere2mtDGhnwmf7jOjmnFY7PzgvM+OG2KPjIT7rcQtINSSvjEg==","shasum":"9fa26ee297d179feaa273f90f9045f27d98072d3","tarball":"https://registry.npmjs.org/@dai_ming/plugin-mall-shopping/-/plugin-mall-shopping-0.1.1.tgz","fileCount":6,"unpackedSize":33569,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBtG8gBIWm25QTZLNa+E95Z9vKE9zeqqflq70hLXNR91AiBzT3RBcwxYFn3zg66JUrcbCQeGwypIpzjdj69g7htuTQ=="}]},"_npmUser":{"name":"djoylove2026","email":"673218847@qq.com"},"directories":{},"maintainers":[{"name":"bdliuxiang13","email":"459615608@qq.com"},{"name":"djoylove2026","email":"673218847@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-mall-shopping_0.1.1_1780990652045_0.8830205513439366"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-04T06:57:36.551Z","modified":"2026-06-09T07:37:32.318Z","0.1.0":"2026-06-04T06:57:36.881Z","0.1.1":"2026-06-09T07:37:32.182Z"},"license":"MIT","keywords":["openclaw","plugin","mall","shopping","mcp","uniclaw"],"description":"OpenClaw Mall Shopping native plugin for Uniclaw mall MCP product search and checkout links","maintainers":[{"name":"bdliuxiang13","email":"459615608@qq.com"},{"name":"djoylove2026","email":"673218847@qq.com"}],"readme":"# Mall Shopping Plugin\n\nNative OpenClaw plugin for Uniclaw shared pods. It exposes mall product tools backed by the mall MCP server over Streamable HTTP.\n\n## Tools\n\n- `mall-shopping__search_products` maps to MCP tool `search_products`.\n- Search results promote product jump payloads into `products[].detail_url` and `reply_markdown` so agents can show direct Markdown links.\n- `mall-shopping__get_product_detail` maps to MCP tool `get_product_detail`. The current mall MCP phase returns `PRODUCT_NOT_FOUND`.\n- `mall-shopping__prepare_cart_checkout` maps to MCP tool `prepare_cart_checkout`. The current mall MCP phase returns `SKU_NOT_FOUND`; agents should prefer product jump links from search results.\n\n## Configuration\n\nRecommended shared-pod configuration keeps credentials in environment variables:\n\n```json\n{\n  \"plugins\": {\n    \"entries\": {\n      \"plugin-mall-shopping\": {\n        \"enabled\": true,\n        \"config\": {\n          \"mallShopping\": {\n            \"endpointEnv\": \"UNICLAW_MALL_MCP_ENDPOINT\",\n            \"appIdEnv\": \"UNICLAW_MALL_MCP_APP_ID\",\n            \"appSecretEnv\": \"UNICLAW_MALL_MCP_APP_SECRET\",\n            \"timeoutMs\": 20000,\n            \"maxAttempts\": 3\n          }\n        }\n      }\n    }\n  }\n}\n```\n\nFor local tests only, direct values are also supported:\n\n```json\n{\n  \"mallShopping\": {\n    \"endpoint\": \"https://mall-mcp.example.com/mcp\",\n    \"appId\": \"d8frrg4o6slopn0gphug\",\n    \"appSecret\": \"***\"\n  }\n}\n```\n\nThe plugin signs every request with the mall MCP HMAC protocol using the exact JSON bytes sent on the wire. It automatically performs `initialize`, sends `notifications/initialized`, caches `Mcp-Session-Id`, and reinitializes once when the MCP session is rejected.\n\n## Deployment\n\n1. Publish `@dai_ming/plugin-mall-shopping@0.1.1`.\n2. Run `sql/033_mall_shopping_plugin.sql` in the target gateway database.\n3. Configure `UNICLAW_MALL_MCP_ENDPOINT`, `UNICLAW_MALL_MCP_APP_ID`, and `UNICLAW_MALL_MCP_APP_SECRET` in OpenClaw pod environment values.\n4. Rebuild the managed image from DB plugin registry state and redeploy shared pods.\n\nGateway-only deployment is not enough because runtime plugin packages are baked into managed images.\n","readmeFilename":"README.md"}