pptx-viewer-mcp 2.5.9 → 2.7.0
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/CHANGELOG.md +6 -0
- package/LICENSE +202 -0
- package/README.md +7 -0
- package/dist/codec/index.d.ts +4 -49
- package/dist/codec/index.d.ts.map +1 -1
- package/dist/codec/index.js +7 -357
- package/dist/codec/index.mjs +7 -357
- package/dist/index.d.ts +192 -1277
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +90 -3204
- package/dist/index.mjs +89 -3204
- package/dist/mcp/cli.d.ts +1 -0
- package/dist/mcp/cli.js +2288 -0
- package/dist/mcp/cli.mjs +2286 -0
- package/dist/mcp/index.d.ts +18 -1
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +240 -3313
- package/dist/mcp/index.mjs +239 -3313
- package/dist/types-BUuwyzY-.d.ts +11 -0
- package/dist/types-BUuwyzY-.d.ts.map +1 -0
- package/package.json +4 -4
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
import "../types-BUuwyzY-.js";
|
|
2
|
+
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
3
|
+
//#region src/mcp/handlers.d.ts
|
|
4
|
+
/** Optional configuration for the MCP context. */
|
|
5
|
+
interface McpContextOptions {
|
|
6
|
+
/**
|
|
7
|
+
* Root directory under which all `filePath` arguments are scoped.
|
|
8
|
+
* Defaults to `process.env.PPTX_TOOLS_ROOT` if set, else `process.cwd()`.
|
|
9
|
+
*/
|
|
10
|
+
rootDir?: string;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/mcp/server.d.ts
|
|
14
|
+
export declare function createServer(options?: McpContextOptions): McpServer;
|
|
15
|
+
/** Register the repository-owned tools on a shared OOXML MCP server. */
|
|
16
|
+
export declare function registerTools(server: McpServer, options?: McpContextOptions): void;
|
|
17
|
+
//#endregion
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/mcp/handlers.ts","../../src/mcp/server.ts"],"mappings":";;;;UAwEiB;;;;;EAKhB;;;;wBC3Ce,aAAa,UAAU,oBAAoB;;wBAU3C,cAAc,QAAQ,WAAW,UAAU"}
|