@dypai-ai/mcp 1.5.18 → 1.5.19
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/package.json +2 -2
- package/src/index.js +4 -3
- package/src/tools/sync/validate.js +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dypai-ai/mcp",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.19",
|
|
4
4
|
"description": "DYPAI MCP Server — AI agent toolkit for building and deploying full-stack apps",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
|
-
"url": "https://github.com/DYPAI-SOLUTIONS/dypai-mcp"
|
|
25
|
+
"url": "git+https://github.com/DYPAI-SOLUTIONS/dypai-mcp.git"
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://dypai.ai",
|
|
28
28
|
"dependencies": {
|
package/src/index.js
CHANGED
|
@@ -836,9 +836,10 @@ synonym.
|
|
|
836
836
|
- \`"auth defaults"\` — what auth_mode to pick when the user doesn't specify
|
|
837
837
|
|
|
838
838
|
### Integrations
|
|
839
|
-
- \`"
|
|
840
|
-
- \`"
|
|
841
|
-
-
|
|
839
|
+
- \`"stripe payments"\` — **start here for any Stripe work** (credentials, checkout URL placeholders, one-time + webhook checklist)
|
|
840
|
+
- \`"integrations guide"\` — step-by-step integration recipes (Stripe subscriptions; other providers referenced inside)
|
|
841
|
+
- \`"credentials reference"\` — what fields each provider needs (includes stripe + stripe_webhook)
|
|
842
|
+
- To find Stripe: \`search_docs("stripe payments")\` or \`search_docs("integrations guide stripe")\`
|
|
842
843
|
|
|
843
844
|
### Realtime
|
|
844
845
|
- \`"realtime channels"\` — client API for WebSocket subscriptions
|
|
@@ -1564,6 +1564,19 @@ function validateEndpoint(entry, ctx) {
|
|
|
1564
1564
|
}
|
|
1565
1565
|
}
|
|
1566
1566
|
|
|
1567
|
+
const webhookCred = doc.trigger?.webhook?.credential
|
|
1568
|
+
if (webhookCred && !ctx.remoteCredentials.has(webhookCred)) {
|
|
1569
|
+
diagnostics.push({
|
|
1570
|
+
severity: "error",
|
|
1571
|
+
rule: "credential_not_found",
|
|
1572
|
+
endpoint: name, file, loc: "trigger.webhook.credential",
|
|
1573
|
+
message: `credential '${webhookCred}' is not defined remotely.`,
|
|
1574
|
+
fix_hint: ctx.remoteCredentials.size
|
|
1575
|
+
? `Available: ${[...ctx.remoteCredentials].join(", ")}. For Stripe webhooks use type stripe_webhook, recommended name stripe-webhook.`
|
|
1576
|
+
: "Create stripe-webhook (type stripe_webhook) in the dashboard. See search_docs('stripe payments').",
|
|
1577
|
+
})
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1567
1580
|
// ── Edge sanity: catch typos in workflow.edges before runtime ────────────
|
|
1568
1581
|
// The engine silently skips edges whose `from`/`to` doesn't resolve to a
|
|
1569
1582
|
// node id, which manifests as "node never ran" — extremely hard to debug.
|