@cloudcart/storefront-mcp 0.1.0 → 0.3.0

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.
package/README.md CHANGED
@@ -38,11 +38,13 @@ Things that pass validation and still go wrong:
38
38
  shown the amount as the store writes money
39
39
  - a paged product list or search **without its facets** (`filters`,
40
40
  `productFilters`) or **without `totalCount`** — the API already computed them
41
+ - a `metafield` asked for **without its `namespace`** — the store has no
42
+ app-reserved namespace, so a key alone finds nothing
41
43
 
42
44
  It also answers names borrowed from other storefront APIs — `productByHandle`,
43
45
  `checkoutCreate`, `cartDeliveryAddressesAdd`, `cartGiftCardCodesUpdate`,
44
- `customerAccessTokenCreate`, `metaobjects`, `Product.metafields` — each coming
45
- back with the CloudCart equivalent and the reason it differs. Most of the
46
+ `customerAccessTokenCreate` — each coming back with the CloudCart equivalent and
47
+ the reason it differs. Most of the
46
48
  vocabulary is deliberately familiar; these are the places it is not.
47
49
 
48
50
  ## Install
@@ -103,7 +105,7 @@ changes `sf/schema`.
103
105
 
104
106
  1. Regenerate the schema from the deployed commit (above), `npm run build`, and check the three tools.
105
107
  2. Bump `version` in `package.json` (the server reads it from there), commit, push `main`; CI builds and checks the tools on Node 20, 22 and 24.
106
- 3. `gh release create vX.Y.Z` — the `Publish to npm` workflow checks the tag equals the version and publishes. It needs the repository secret `NPM_TOKEN`.
108
+ 3. Publish by hand, from a clean clone of that commit: `npm ci`, `npm run build`, `npm publish --access public` with an npm login that may write `@cloudcart/storefront-mcp` (the account confirms with its security key). Then `gh release create vX.Y.Z` for the notes; it publishes nothing.
107
109
 
108
110
  ## Layout
109
111
 
@@ -113,5 +115,5 @@ src/prompts/storefront.ts what an assistant must know before writing anything
113
115
  src/app-resources.ts which fields depend on a merchant's installed apps
114
116
  src/tools/ the three tools
115
117
  src/schema/loader.ts reads and caches the introspection JSON
116
- .github/workflows/ CI on every push; the npm release on a GitHub release
118
+ .github/workflows/ CI on every push
117
119
  ```