mulmocast-vision 1.0.8 → 1.0.10
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/README.md +5 -3
- package/lib/mcp.d.ts +2 -8
- package/lib/utils.js +1 -1
- package/package.json +18 -11
package/README.md
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
[](https://badge.fury.io/js/mulmocast-vision)
|
|
2
|
+
# mulmocast-vision
|
|
3
|
+
|
|
4
|
+
> **Note**: This repository has been archived. Development has moved to [mulmocast-plus](https://github.com/receptron/mulmocast-plus) monorepo (`packages/mulmocast-vision`).
|
|
2
5
|
|
|
3
6
|
**mulmocast-vision** is a tool that uses LLMs via MCP (Model Context Protocol) to automatically generate presentation slides, similar to PowerPoint.
|
|
4
7
|
With **80+ business-oriented slide templates**, you can quickly create proposals, strategy decks, and other professional materials.
|
|
@@ -245,5 +248,4 @@ class CustomLogger implements LoggerInterface {
|
|
|
245
248
|
}
|
|
246
249
|
|
|
247
250
|
setLogger(new CustomLogger());
|
|
248
|
-
```
|
|
249
|
-
|
|
251
|
+
```
|
package/lib/mcp.d.ts
CHANGED
|
@@ -5,16 +5,10 @@ export declare const getServer: (handler: htmlPlugin) => Server<{
|
|
|
5
5
|
method: string;
|
|
6
6
|
params?: {
|
|
7
7
|
[x: string]: unknown;
|
|
8
|
-
task?: {
|
|
9
|
-
[x: string]: unknown;
|
|
10
|
-
ttl?: number | null | undefined;
|
|
11
|
-
pollInterval?: number | undefined;
|
|
12
|
-
} | undefined;
|
|
13
8
|
_meta?: {
|
|
14
9
|
[x: string]: unknown;
|
|
15
10
|
progressToken?: string | number | undefined;
|
|
16
11
|
"io.modelcontextprotocol/related-task"?: {
|
|
17
|
-
[x: string]: unknown;
|
|
18
12
|
taskId: string;
|
|
19
13
|
} | undefined;
|
|
20
14
|
} | undefined;
|
|
@@ -25,8 +19,8 @@ export declare const getServer: (handler: htmlPlugin) => Server<{
|
|
|
25
19
|
[x: string]: unknown;
|
|
26
20
|
_meta?: {
|
|
27
21
|
[x: string]: unknown;
|
|
22
|
+
progressToken?: string | number | undefined;
|
|
28
23
|
"io.modelcontextprotocol/related-task"?: {
|
|
29
|
-
[x: string]: unknown;
|
|
30
24
|
taskId: string;
|
|
31
25
|
} | undefined;
|
|
32
26
|
} | undefined;
|
|
@@ -35,8 +29,8 @@ export declare const getServer: (handler: htmlPlugin) => Server<{
|
|
|
35
29
|
[x: string]: unknown;
|
|
36
30
|
_meta?: {
|
|
37
31
|
[x: string]: unknown;
|
|
32
|
+
progressToken?: string | number | undefined;
|
|
38
33
|
"io.modelcontextprotocol/related-task"?: {
|
|
39
|
-
[x: string]: unknown;
|
|
40
34
|
taskId: string;
|
|
41
35
|
} | undefined;
|
|
42
36
|
} | undefined;
|
package/lib/utils.js
CHANGED
|
@@ -25,7 +25,7 @@ const renderHTMLToImage = async (html, outputPath, width, height) => {
|
|
|
25
25
|
const de = document.documentElement;
|
|
26
26
|
const sw = Math.max(de.scrollWidth, document.body.scrollWidth || 0);
|
|
27
27
|
const sh = Math.max(de.scrollHeight, document.body.scrollHeight || 0);
|
|
28
|
-
const scale = Math.min(vw / (sw || vw), vh / (sh || vh), 1);
|
|
28
|
+
const scale = Math.min(vw / (sw || vw), vh / (sh || vh), 1);
|
|
29
29
|
de.style.overflow = "hidden";
|
|
30
30
|
document.body.style.zoom = String(scale);
|
|
31
31
|
}, { vw: width, vh: height });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mulmocast-vision",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "Easy and stylish presentation slide generator",
|
|
5
5
|
"mcpName": "io.github.isamu/mulmocast-vision",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"test_run": "node --test --require ts-node/register ./tests/run_*.ts # just run locally",
|
|
20
20
|
"ai": "npx tsx ./old/presentation.ts",
|
|
21
21
|
"generate_all_images": "npx tsx ./tests/test.ts",
|
|
22
|
-
"design": "NODE_ENV=test npx tsx ./tests/design.ts",
|
|
23
|
-
"ci_test": "NODE_ENV=test npx tsx ./tests/test.ts"
|
|
22
|
+
"design": "cross-env NODE_ENV=test npx tsx ./tests/design.ts",
|
|
23
|
+
"ci_test": "cross-env NODE_ENV=test npx tsx ./tests/test.ts"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
@@ -32,23 +32,30 @@
|
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://github.com/receptron/mulmocast-vision",
|
|
34
34
|
"license": "AGPL-3.0-or-later",
|
|
35
|
+
"resolutions": {
|
|
36
|
+
"yauzl": "^3.2.1"
|
|
37
|
+
},
|
|
35
38
|
"dependencies": {
|
|
36
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
39
|
+
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
37
40
|
"nunjucks": "^3.2.4",
|
|
38
|
-
"pdfkit": "^0.
|
|
39
|
-
"puppeteer": "^
|
|
41
|
+
"pdfkit": "^0.18.0",
|
|
42
|
+
"puppeteer": "^25.0.2",
|
|
43
|
+
"yauzl": "^3.2.1"
|
|
40
44
|
},
|
|
41
45
|
"devDependencies": {
|
|
46
|
+
"@eslint/js": "^10.0.1",
|
|
42
47
|
"@types/nunjucks": "^3.2.6",
|
|
43
|
-
"@types/pdfkit": "^0.17.
|
|
44
|
-
"
|
|
48
|
+
"@types/pdfkit": "^0.17.6",
|
|
49
|
+
"cross-env": "^10.1.0",
|
|
50
|
+
"eslint": "^10.4.0",
|
|
45
51
|
"eslint-config-prettier": "^10.1.8",
|
|
46
|
-
"eslint-plugin-prettier": "^5.5.
|
|
52
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
53
|
+
"globals": "^17.6.0",
|
|
47
54
|
"graphai": "^2.0.16",
|
|
48
|
-
"prettier": "^3.
|
|
55
|
+
"prettier": "^3.8.3",
|
|
49
56
|
"ts-node": "^10.9.2",
|
|
50
57
|
"typescript": "^5.9.3",
|
|
51
|
-
"typescript-eslint": "^8.
|
|
58
|
+
"typescript-eslint": "^8.59.3"
|
|
52
59
|
},
|
|
53
60
|
"types": "./lib/index.d.ts",
|
|
54
61
|
"directories": {
|