@mastra/deployer 0.3.3 → 0.3.4-alpha.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.
@@ -269,6 +269,40 @@ provider: string;
269
269
  modelId: string;
270
270
  }, ContentfulStatusCode, "json">>;
271
271
 
272
+ export declare function getAgentCardByIdHandler(c: Context): Promise<Response & TypedResponse< {
273
+ name: string;
274
+ description?: string | null | undefined;
275
+ url: string;
276
+ provider?: {
277
+ organization: string;
278
+ url?: string | null | undefined;
279
+ } | null | undefined;
280
+ version: string;
281
+ documentationUrl?: string | null | undefined;
282
+ capabilities: {
283
+ streaming?: boolean | undefined;
284
+ pushNotifications?: boolean | undefined;
285
+ stateTransitionHistory?: boolean | undefined;
286
+ };
287
+ authentication?: {
288
+ schemes: string[];
289
+ credentials?: string | null | undefined;
290
+ } | null | undefined;
291
+ defaultInputModes?: string[] | undefined;
292
+ defaultOutputModes?: string[] | undefined;
293
+ skills: {
294
+ id: string;
295
+ name: string;
296
+ description?: string | null | undefined;
297
+ tags?: string[] | null | undefined;
298
+ examples?: string[] | null | undefined;
299
+ inputModes?: string[] | null | undefined;
300
+ outputModes?: string[] | null | undefined;
301
+ }[];
302
+ }, ContentfulStatusCode, "json">>;
303
+
304
+ export declare function getAgentExecutionHandler(c: Context): Promise<Response>;
305
+
272
306
  export declare function getAgentsHandler(c: Context): Promise<Response & TypedResponse<any, ContentfulStatusCode, "json">>;
273
307
 
274
308
  declare function getDeployer(entryFile: string, outputDir: string): Promise<MastraDeployer | undefined>;
@@ -345,6 +379,11 @@ export declare function getLogsHandler(c: Context): Promise<Response>;
345
379
 
346
380
  export declare function getLogTransports(c: Context): Promise<Response>;
347
381
 
382
+ /**
383
+ * Handler for POST /api/servers/:serverId/mcp
384
+ */
385
+ export declare const getMcpServerMessageHandler: (c: Context) => Promise<Response>;
386
+
348
387
  export declare function getMemoryStatusHandler(c: Context): Promise<Response>;
349
388
 
350
389
  export declare function getMessagesHandler(c: Context): Promise<Response>;
@@ -398,6 +437,13 @@ export declare function handleClientsRefresh(c: Context): Response;
398
437
 
399
438
  export declare function handleError(error: unknown, defaultMessage: string): Promise<Response>;
400
439
 
440
+ /**
441
+ * Handler for SSE related routes for an MCP server.
442
+ * This function will be called for both establishing the SSE connection (GET)
443
+ * and for posting messages to it (POST).
444
+ */
445
+ export declare const handleMcpServerSseRoutes: (c: Context) => Promise<Response | undefined>;
446
+
401
447
  export declare function handleTriggerClientsRefresh(c: Context): Response & TypedResponse< {
402
448
  success: true;
403
449
  clients: number;
@@ -269,6 +269,40 @@ provider: string;
269
269
  modelId: string;
270
270
  }, ContentfulStatusCode, "json">>;
271
271
 
272
+ export declare function getAgentCardByIdHandler(c: Context): Promise<Response & TypedResponse< {
273
+ name: string;
274
+ description?: string | null | undefined;
275
+ url: string;
276
+ provider?: {
277
+ organization: string;
278
+ url?: string | null | undefined;
279
+ } | null | undefined;
280
+ version: string;
281
+ documentationUrl?: string | null | undefined;
282
+ capabilities: {
283
+ streaming?: boolean | undefined;
284
+ pushNotifications?: boolean | undefined;
285
+ stateTransitionHistory?: boolean | undefined;
286
+ };
287
+ authentication?: {
288
+ schemes: string[];
289
+ credentials?: string | null | undefined;
290
+ } | null | undefined;
291
+ defaultInputModes?: string[] | undefined;
292
+ defaultOutputModes?: string[] | undefined;
293
+ skills: {
294
+ id: string;
295
+ name: string;
296
+ description?: string | null | undefined;
297
+ tags?: string[] | null | undefined;
298
+ examples?: string[] | null | undefined;
299
+ inputModes?: string[] | null | undefined;
300
+ outputModes?: string[] | null | undefined;
301
+ }[];
302
+ }, ContentfulStatusCode, "json">>;
303
+
304
+ export declare function getAgentExecutionHandler(c: Context): Promise<Response>;
305
+
272
306
  export declare function getAgentsHandler(c: Context): Promise<Response & TypedResponse<any, ContentfulStatusCode, "json">>;
273
307
 
274
308
  declare function getDeployer(entryFile: string, outputDir: string): Promise<MastraDeployer | undefined>;
@@ -345,6 +379,11 @@ export declare function getLogsHandler(c: Context): Promise<Response>;
345
379
 
346
380
  export declare function getLogTransports(c: Context): Promise<Response>;
347
381
 
382
+ /**
383
+ * Handler for POST /api/servers/:serverId/mcp
384
+ */
385
+ export declare const getMcpServerMessageHandler: (c: Context) => Promise<Response>;
386
+
348
387
  export declare function getMemoryStatusHandler(c: Context): Promise<Response>;
349
388
 
350
389
  export declare function getMessagesHandler(c: Context): Promise<Response>;
@@ -398,6 +437,13 @@ export declare function handleClientsRefresh(c: Context): Response;
398
437
 
399
438
  export declare function handleError(error: unknown, defaultMessage: string): Promise<Response>;
400
439
 
440
+ /**
441
+ * Handler for SSE related routes for an MCP server.
442
+ * This function will be called for both establishing the SSE connection (GET)
443
+ * and for posting messages to it (POST).
444
+ */
445
+ export declare const handleMcpServerSseRoutes: (c: Context) => Promise<Response | undefined>;
446
+
401
447
  export declare function handleTriggerClientsRefresh(c: Context): Response & TypedResponse< {
402
448
  success: true;
403
449
  clients: number;