@spacelr/mcp 0.0.11 → 0.0.12
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.mjs +8 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2428,7 +2428,10 @@ function registerFunctionTools(server, api) {
|
|
|
2428
2428
|
cronTimezone: z7.string().optional(),
|
|
2429
2429
|
timeout: z7.number().int().min(1e3).max(12e4).optional(),
|
|
2430
2430
|
memoryLimitMb: z7.number().int().min(16).max(512).optional(),
|
|
2431
|
-
enabled: z7.boolean().optional()
|
|
2431
|
+
enabled: z7.boolean().optional(),
|
|
2432
|
+
invokeMode: z7.enum(["webhook", "authenticated", "public", "hybrid"]).optional().describe(
|
|
2433
|
+
"Controls which credentials the public invoke endpoint accepts. webhook: X-Webhook-Secret only (default). authenticated: JWT only. public: no auth. hybrid: either; JWT wins on conflict."
|
|
2434
|
+
)
|
|
2432
2435
|
}
|
|
2433
2436
|
},
|
|
2434
2437
|
async ({ projectId, ...body }) => {
|
|
@@ -2463,7 +2466,10 @@ function registerFunctionTools(server, api) {
|
|
|
2463
2466
|
cronTimezone: z7.string().optional(),
|
|
2464
2467
|
timeout: z7.number().int().min(1e3).max(12e4).optional(),
|
|
2465
2468
|
memoryLimitMb: z7.number().int().min(16).max(512).optional(),
|
|
2466
|
-
enabled: z7.boolean().optional()
|
|
2469
|
+
enabled: z7.boolean().optional(),
|
|
2470
|
+
invokeMode: z7.enum(["webhook", "authenticated", "public", "hybrid"]).optional().describe(
|
|
2471
|
+
"Controls which credentials the public invoke endpoint accepts. webhook: X-Webhook-Secret only. authenticated: JWT only. public: no auth. hybrid: either; JWT wins on conflict."
|
|
2472
|
+
)
|
|
2467
2473
|
}
|
|
2468
2474
|
},
|
|
2469
2475
|
async ({ projectId, functionId, ...body }) => {
|