@zellifyapp/mcp 0.3.0 → 0.3.1
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/build/index.js +1 -1
- package/package.json +1 -1
- package/skill/SKILL.md +15 -15
- package/skill/references/debugging.md +1 -1
- package/skill/references/integration-paths.md +1 -1
- package/skill/references/revenuecat.md +2 -2
- package/skill/references/types-and-payload.md +1 -1
- package/skill/references/webhook-handler.md +1 -1
package/build/index.js
CHANGED
|
@@ -91,7 +91,7 @@ flow: discover → ask → decide → plan → implement → verify.
|
|
|
91
91
|
## Reference resources
|
|
92
92
|
Read the MCP resources for detailed guides: webhook-handler, debugging,
|
|
93
93
|
integration-paths, revenuecat, types-and-payload, language-guides. For full
|
|
94
|
-
recipes, fetch the matching guide on https://
|
|
94
|
+
recipes, fetch the matching guide on https://developers.zellify.app/developers/guides.`,
|
|
95
95
|
});
|
|
96
96
|
// ── Reference resources ──────────────────────────────────
|
|
97
97
|
const referenceFiles = [
|
package/package.json
CHANGED
package/skill/SKILL.md
CHANGED
|
@@ -150,20 +150,20 @@ Now fetch the deep recipe. The skill's bundled references are summaries — the
|
|
|
150
150
|
|
|
151
151
|
| Path | URL |
|
|
152
152
|
|---|---|
|
|
153
|
-
| Mobile App with RevenueCat | `https://
|
|
154
|
-
| Mobile App with Custom Backend | `https://
|
|
155
|
-
| Web App with Signup Page | `https://
|
|
156
|
-
| Using Existing Webhooks | `https://
|
|
157
|
-
| Early Account Creation | `https://
|
|
158
|
-
| Free Funnel with Deep Link | `https://
|
|
159
|
-
| Custom Registration Component | `https://
|
|
153
|
+
| Mobile App with RevenueCat | `https://developers.zellify.app/developers/guides/mobile-app-revenuecat` |
|
|
154
|
+
| Mobile App with Custom Backend | `https://developers.zellify.app/developers/guides/mobile-app-custom-backend` |
|
|
155
|
+
| Web App with Signup Page | `https://developers.zellify.app/developers/guides/web-app-signup` |
|
|
156
|
+
| Using Existing Webhooks | `https://developers.zellify.app/developers/guides/existing-webhooks` |
|
|
157
|
+
| Early Account Creation | `https://developers.zellify.app/developers/guides/early-account-creation` |
|
|
158
|
+
| Free Funnel with Deep Link | `https://developers.zellify.app/developers/guides/free-funnel` |
|
|
159
|
+
| Custom Registration Component | `https://developers.zellify.app/developers/guides/custom-registration-component` |
|
|
160
160
|
|
|
161
161
|
Use WebFetch to read the page. Also fetch the underlying concept pages on the first run:
|
|
162
|
-
- `https://
|
|
163
|
-
- `https://
|
|
164
|
-
- `https://
|
|
165
|
-
- `https://
|
|
166
|
-
- `https://
|
|
162
|
+
- `https://developers.zellify.app/developers/concepts/app-user-id`
|
|
163
|
+
- `https://developers.zellify.app/developers/concepts/deep-link-button`
|
|
164
|
+
- `https://developers.zellify.app/developers/concepts/checkout-metadata`
|
|
165
|
+
- `https://developers.zellify.app/developers/webhooks/registration` (if the path involves the registration webhook)
|
|
166
|
+
- `https://developers.zellify.app/developers/webhooks/registration/payload` (when generating types)
|
|
167
167
|
|
|
168
168
|
Output the plan as a numbered checklist with file paths and code snippets matched to the user's framework. Sections to cover (skip ones that don't apply to the chosen path):
|
|
169
169
|
|
|
@@ -226,7 +226,7 @@ Funnel answer access is `payload.answers.gender.value` and `payload.answers.gend
|
|
|
226
226
|
For singleselect/multiselect questions, `value` is an opaque ID like `"1"`. Resolve to a human-readable label via `answer.label` or by mapping against `get_funnel_schema` options. Don't ship code that switches on raw IDs without a comment explaining what they mean.
|
|
227
227
|
|
|
228
228
|
**MUST: Verify HMAC against the raw request body.**
|
|
229
|
-
Re-stringifying the JSON before HMAC will break the signature on any handler. Use `express.raw`, Fastify's `rawBody` plugin, Flask's `request.get_data(as_text=False)`, etc. Reference `references/language-guides.md` for per-framework patterns, or fetch `https://
|
|
229
|
+
Re-stringifying the JSON before HMAC will break the signature on any handler. Use `express.raw`, Fastify's `rawBody` plugin, Flask's `request.get_data(as_text=False)`, etc. Reference `references/language-guides.md` for per-framework patterns, or fetch `https://developers.zellify.app/developers/webhooks/registration` for the canonical version.
|
|
230
230
|
|
|
231
231
|
**IMPORTANT: Preview mode silently disables webhooks.**
|
|
232
232
|
Funnel URLs containing `/preview/` will not fire webhooks no matter how perfect the handler is. Make sure the user is testing on a published funnel URL or with `send_test_webhook`.
|
|
@@ -249,14 +249,14 @@ Use these when the user's request is narrow and you don't need the full cold-sta
|
|
|
249
249
|
| Debug webhook delivery | `get_integrations` → `send_test_webhook` → diagnose response code → fix |
|
|
250
250
|
| Generate TypeScript types | `get_funnel_schema` → `get_example_payload` → extract interface |
|
|
251
251
|
| Choose an integration path | Phases 2 → 3 → 4 of cold-start workflow above |
|
|
252
|
-
| Wire up RevenueCat | Read `references/revenuecat.md` + WebFetch `https://
|
|
252
|
+
| Wire up RevenueCat | Read `references/revenuecat.md` + WebFetch `https://developers.zellify.app/developers/guides/mobile-app-revenuecat` |
|
|
253
253
|
| Wire up something other than RevenueCat | Phase 5b research mode → map to "Mobile App with Custom Backend" |
|
|
254
254
|
|
|
255
255
|
---
|
|
256
256
|
|
|
257
257
|
## Reference files (npm-bundled summaries)
|
|
258
258
|
|
|
259
|
-
These are quick-reference. For the canonical recipe, fetch the matching `
|
|
259
|
+
These are quick-reference. For the canonical recipe, fetch the matching `developers.zellify.app` page.
|
|
260
260
|
|
|
261
261
|
| File | Use when |
|
|
262
262
|
|---|---|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Integration Paths
|
|
2
2
|
|
|
3
|
-
> **Canonical recipes (live):** https://
|
|
3
|
+
> **Canonical recipes (live):** https://developers.zellify.app/developers/guides
|
|
4
4
|
> Fetch the specific guide for the chosen path. The summaries below are for path-picking only.
|
|
5
5
|
|
|
6
6
|
Use `get_integrations` to determine which path fits the developer.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# RevenueCat Integration
|
|
2
2
|
|
|
3
|
-
> **Canonical recipe (live):** https://
|
|
4
|
-
> Plus integration setup: https://
|
|
3
|
+
> **Canonical recipe (live):** https://developers.zellify.app/developers/guides/mobile-app-revenuecat
|
|
4
|
+
> Plus integration setup: https://developers.zellify.app/integrations/subscriptions/revenuecat
|
|
5
5
|
|
|
6
6
|
## The chain
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Building a Registration Webhook Handler
|
|
2
2
|
|
|
3
|
-
> **Canonical recipe (live):** https://
|
|
3
|
+
> **Canonical recipe (live):** https://developers.zellify.app/developers/webhooks/registration
|
|
4
4
|
> Fetch this when writing handler code. The bundled summary below is for offline / quick-reference only.
|
|
5
5
|
|
|
6
6
|
## Step 1: Gather funnel-specific data
|