@postmcp/presets 0.1.5 → 0.1.7
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/dist/index.js +19 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -464,7 +464,7 @@ var CLOUD_DATABASES_PRESETS = [
|
|
|
464
464
|
authType: "Bearer (SUPABASE_ACCESS_TOKEN)",
|
|
465
465
|
authEnvVar: "SUPABASE_ACCESS_TOKEN",
|
|
466
466
|
defaultBaseUrl: "https://api.supabase.com/v1",
|
|
467
|
-
specUrl: "https://api.supabase.com/v1
|
|
467
|
+
specUrl: "https://api.supabase.com/api/v1-json",
|
|
468
468
|
tags: ["postgres", "auth", "database", "storage", "edge-functions", "baas"],
|
|
469
469
|
fieldMasks: [
|
|
470
470
|
{ path: "/projects", fields: ["id", "name", "region", "status", "created_at"] }
|
|
@@ -482,7 +482,7 @@ var CLOUD_DATABASES_PRESETS = [
|
|
|
482
482
|
},
|
|
483
483
|
steps: [
|
|
484
484
|
{ id: "getProject", action: "GET /projects/{{ref}}" },
|
|
485
|
-
{ id: "getHealth", action: "GET /projects/{{ref}}/health" }
|
|
485
|
+
{ id: "getHealth", action: "GET /projects/{{ref}}/health?services=db" }
|
|
486
486
|
]
|
|
487
487
|
}
|
|
488
488
|
],
|
|
@@ -494,7 +494,16 @@ var CLOUD_DATABASES_PRESETS = [
|
|
|
494
494
|
endpoints: [
|
|
495
495
|
{ path: "/projects", method: "get", operationId: "getProjects", summary: "List all Supabase projects" },
|
|
496
496
|
{ path: "/projects/{ref}", method: "get", operationId: "getProject", summary: "Get project details", parameters: [{ name: "ref", in: "path", schema: { type: "string" } }] },
|
|
497
|
-
{
|
|
497
|
+
{
|
|
498
|
+
path: "/projects/{ref}/health",
|
|
499
|
+
method: "get",
|
|
500
|
+
operationId: "getProjectHealth",
|
|
501
|
+
summary: "Get database health status",
|
|
502
|
+
parameters: [
|
|
503
|
+
{ name: "ref", in: "path", schema: { type: "string" } },
|
|
504
|
+
{ name: "services", in: "query", schema: { type: "string", default: "db" }, description: "Service name (e.g. db, auth, storage, realtime, pooler)" }
|
|
505
|
+
]
|
|
506
|
+
},
|
|
498
507
|
{ path: "/organizations", method: "get", operationId: "getOrganizations", summary: "List organizations" },
|
|
499
508
|
{ path: "/projects/{ref}/functions", method: "get", operationId: "getFunctions", summary: "List Edge Functions", parameters: [{ name: "ref", in: "path", schema: { type: "string" } }] }
|
|
500
509
|
]
|
|
@@ -599,7 +608,7 @@ var CLOUD_DATABASES_PRESETS = [
|
|
|
599
608
|
specUrl: "https://neon.tech/api_spec/release/v2.json",
|
|
600
609
|
tags: ["postgres", "serverless", "branching", "sql"],
|
|
601
610
|
fieldMasks: [
|
|
602
|
-
{ path: "/projects", fields: ["projects.id", "projects.name", "projects.region_id", "projects.created_at"] }
|
|
611
|
+
{ path: "/projects", fields: ["projects[*].id", "projects[*].name", "projects[*].region_id", "projects[*].created_at"] }
|
|
603
612
|
],
|
|
604
613
|
bundledSpec: buildOpenAPISpec({
|
|
605
614
|
title: "Neon Serverless Postgres API",
|
|
@@ -1199,12 +1208,12 @@ var PRODUCTIVITY_SUPPORT_PRESETS = [
|
|
|
1199
1208
|
id: "slack",
|
|
1200
1209
|
name: "Slack Web API",
|
|
1201
1210
|
description: "Post messages to channels, manage user groups, trigger modals, and upload file attachments.",
|
|
1202
|
-
category: "
|
|
1211
|
+
category: "Communication & AI",
|
|
1203
1212
|
authType: "Bearer (SLACK_BOT_TOKEN)",
|
|
1204
1213
|
authEnvVar: "SLACK_BOT_TOKEN",
|
|
1205
1214
|
defaultBaseUrl: "https://slack.com/api",
|
|
1206
1215
|
specUrl: "https://raw.githubusercontent.com/slackapi/slack-api-specs/master/web-api/slack_web_openapi_v2.json",
|
|
1207
|
-
tags: ["chat", "messaging", "bots", "channels", "collaboration"],
|
|
1216
|
+
tags: ["chat", "messaging", "bots", "channels", "collaboration", "communication"],
|
|
1208
1217
|
macros: [
|
|
1209
1218
|
{
|
|
1210
1219
|
name: "postToChannel",
|
|
@@ -1239,11 +1248,11 @@ var PRODUCTIVITY_SUPPORT_PRESETS = [
|
|
|
1239
1248
|
id: "discord",
|
|
1240
1249
|
name: "Discord API",
|
|
1241
1250
|
description: "Discord bot automation, server administration, voice channels, and rich embedded messages.",
|
|
1242
|
-
category: "
|
|
1251
|
+
category: "Communication & AI",
|
|
1243
1252
|
authType: "Header (Bot ...)",
|
|
1244
1253
|
authEnvVar: "DISCORD_BOT_TOKEN",
|
|
1245
1254
|
defaultBaseUrl: "https://discord.com/api/v10",
|
|
1246
|
-
tags: ["chat", "gaming", "community", "bots", "guilds"],
|
|
1255
|
+
tags: ["chat", "gaming", "community", "bots", "guilds", "communication", "voice"],
|
|
1247
1256
|
bundledSpec: buildOpenAPISpec({
|
|
1248
1257
|
title: "Discord API",
|
|
1249
1258
|
baseUrl: "https://discord.com/api/v10",
|
|
@@ -1386,11 +1395,11 @@ var PRODUCTIVITY_SUPPORT_PRESETS = [
|
|
|
1386
1395
|
id: "zoom",
|
|
1387
1396
|
name: "Zoom Video Communications API",
|
|
1388
1397
|
description: "Schedule meetings, manage cloud recordings, handle webinars, and query user attendance.",
|
|
1389
|
-
category: "
|
|
1398
|
+
category: "Communication & AI",
|
|
1390
1399
|
authType: "Bearer (ZOOM_OAUTH_TOKEN)",
|
|
1391
1400
|
authEnvVar: "ZOOM_OAUTH_TOKEN",
|
|
1392
1401
|
defaultBaseUrl: "https://api.zoom.us/v2",
|
|
1393
|
-
tags: ["video", "meetings", "webinars", "recordings"],
|
|
1402
|
+
tags: ["video", "meetings", "webinars", "recordings", "communication"],
|
|
1394
1403
|
bundledSpec: buildOpenAPISpec({
|
|
1395
1404
|
title: "Zoom Video Communications API",
|
|
1396
1405
|
baseUrl: "https://api.zoom.us/v2",
|