html2pptx-local-mcp 1.1.27 → 1.1.28
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type IncomingMessage, type ServerResponse } from "node:http";
|
|
1
2
|
export interface EditOptions {
|
|
2
3
|
port?: string;
|
|
3
4
|
baseUrl?: string;
|
|
@@ -17,7 +18,7 @@ declare function normalizeBaseUrl(raw: string): URL;
|
|
|
17
18
|
declare function readRegisteredEditorBaseUrl(root: string): Promise<string | null>;
|
|
18
19
|
declare function resolveEditorBaseUrl(root: string, explicitBaseUrl: string | undefined): Promise<URL>;
|
|
19
20
|
declare function buildEditorUrl(baseUrl: URL, rel: string, bridgeUrl: string, sessionToken: string): URL;
|
|
20
|
-
declare function createBridgeServer(ctx: BridgeContext):
|
|
21
|
+
declare function createBridgeServer(ctx: BridgeContext): import("node:http").Server<typeof IncomingMessage, typeof ServerResponse>;
|
|
21
22
|
declare function listen(server: ReturnType<typeof createBridgeServer>, requestedPort: number): Promise<number>;
|
|
22
23
|
export declare function editCommand(input: string | undefined, options?: EditOptions): Promise<void>;
|
|
23
24
|
export declare const editCommandInternalsForTest: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import EditSlideClient from './edit-slide-client';
|
|
1
|
+
import EditSlideClient from './edit-slide-client.jsx';
|
|
2
2
|
import { isLocalEditSlideLaunch, isLoopbackRequest } from '../../lib/edit-slide-url-security.js';
|
|
3
3
|
import { notFound } from 'next/navigation';
|
|
4
4
|
import { headers } from 'next/headers';
|