@mastra/deployer 0.3.4-alpha.0 → 0.3.4-alpha.2
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/_tsup-dts-rollup.d.cts +12 -0
- package/dist/_tsup-dts-rollup.d.ts +12 -0
- package/dist/server/index.cjs +2104 -95
- package/dist/server/index.js +2104 -95
- package/package.json +6 -6
|
@@ -379,6 +379,11 @@ export declare function getLogsHandler(c: Context): Promise<Response>;
|
|
|
379
379
|
|
|
380
380
|
export declare function getLogTransports(c: Context): Promise<Response>;
|
|
381
381
|
|
|
382
|
+
/**
|
|
383
|
+
* Handler for POST /api/servers/:serverId/mcp
|
|
384
|
+
*/
|
|
385
|
+
export declare const getMcpServerMessageHandler: (c: Context) => Promise<Response>;
|
|
386
|
+
|
|
382
387
|
export declare function getMemoryStatusHandler(c: Context): Promise<Response>;
|
|
383
388
|
|
|
384
389
|
export declare function getMessagesHandler(c: Context): Promise<Response>;
|
|
@@ -432,6 +437,13 @@ export declare function handleClientsRefresh(c: Context): Response;
|
|
|
432
437
|
|
|
433
438
|
export declare function handleError(error: unknown, defaultMessage: string): Promise<Response>;
|
|
434
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
|
+
|
|
435
447
|
export declare function handleTriggerClientsRefresh(c: Context): Response & TypedResponse< {
|
|
436
448
|
success: true;
|
|
437
449
|
clients: number;
|
|
@@ -379,6 +379,11 @@ export declare function getLogsHandler(c: Context): Promise<Response>;
|
|
|
379
379
|
|
|
380
380
|
export declare function getLogTransports(c: Context): Promise<Response>;
|
|
381
381
|
|
|
382
|
+
/**
|
|
383
|
+
* Handler for POST /api/servers/:serverId/mcp
|
|
384
|
+
*/
|
|
385
|
+
export declare const getMcpServerMessageHandler: (c: Context) => Promise<Response>;
|
|
386
|
+
|
|
382
387
|
export declare function getMemoryStatusHandler(c: Context): Promise<Response>;
|
|
383
388
|
|
|
384
389
|
export declare function getMessagesHandler(c: Context): Promise<Response>;
|
|
@@ -432,6 +437,13 @@ export declare function handleClientsRefresh(c: Context): Response;
|
|
|
432
437
|
|
|
433
438
|
export declare function handleError(error: unknown, defaultMessage: string): Promise<Response>;
|
|
434
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
|
+
|
|
435
447
|
export declare function handleTriggerClientsRefresh(c: Context): Response & TypedResponse< {
|
|
436
448
|
success: true;
|
|
437
449
|
clients: number;
|