@pecot/visual-mcp 1.3.1 → 2.0.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/.claude-plugin/plugin.json +1 -1
- package/README.md +10 -10
- package/cli/dist/commands/drawio/errors.d.ts +5 -4
- package/cli/dist/commands/drawio/export.d.ts +6 -5
- package/cli/dist/commands/drawio/export.js +0 -2
- package/cli/dist/commands/drawio/url.d.ts +2 -1
- package/cli/dist/commands/drawio/url.js +0 -1
- package/cli/dist/commands/evidence-xlsx/create.d.ts +2 -1
- package/cli/dist/commands/evidence-xlsx/create.js +0 -1
- package/cli/dist/commands/pptx-ooxml/preview.d.ts +4 -3
- package/cli/dist/commands/pptx-ooxml/preview.js +0 -3
- package/cli/dist/commands/slidev-project/create.d.ts +2 -1
- package/cli/dist/commands/slidev-project/create.js +0 -1
- package/cli/dist/commands/slidev-project/lint.d.ts +2 -1
- package/cli/dist/commands/slidev-project/sync.d.ts +2 -1
- package/cli/dist/commands/slidev-project/sync.js +0 -1
- package/cli/dist/commands/slidev-project/theme.d.ts +2 -1
- package/cli/dist/commands/slidev-to-pptx/convert.d.ts +6 -5
- package/cli/dist/commands/slidev-to-pptx/convert.js +0 -4
- package/cli/dist/domain/_shared/failure-kind.d.ts +13 -0
- package/cli/dist/domain/_shared/failure-kind.js +103 -0
- package/cli/dist/domain/slidev-project/errors.d.ts +5 -4
- package/cli/dist/domain/slidev-theme/error-reason.d.ts +9 -5
- package/cli/dist/infra/_shared/dependency-root.d.ts +3 -3
- package/cli/dist/infra/_shared/dependency-root.js +5 -5
- package/cli/dist/infra/_shared/runtime-install.d.ts +1 -1
- package/cli/dist/infra/_shared/runtime-install.js +1 -1
- package/cli/dist/infra/_shared/slidev-bin.d.ts +1 -1
- package/cli/dist/infra/_shared/slidev-bin.js +1 -1
- package/cli/dist/infra/playwright/chromium.js +2 -2
- package/cli/dist/infra/playwright/host-dependencies.js +1 -1
- package/cli/dist/infra/playwright/launch.js +1 -1
- package/cli/dist/infra/slidev-to-pptx/pipeline.js +1 -1
- package/cli/dist/infra/slidev-to-pptx/runner.js +1 -1
- package/cli/dist/mcp/dev-server-registry.d.ts +2 -1
- package/cli/dist/mcp/result.d.ts +19 -5
- package/cli/dist/mcp/result.js +2 -0
- package/cli/dist/mcp/tool-names.d.ts +17 -0
- package/cli/dist/mcp/tool-names.js +26 -0
- package/cli/dist/mcp/tools/_shared.d.ts +4 -3
- package/cli/dist/mcp/tools/_shared.js +10 -6
- package/cli/dist/mcp/tools/drawio.js +8 -3
- package/cli/dist/mcp/tools/evidence.js +3 -1
- package/cli/dist/mcp/tools/setup.d.ts +1 -1
- package/cli/dist/mcp/tools/setup.js +5 -3
- package/cli/dist/mcp/tools/slide-dev.js +4 -1
- package/cli/dist/mcp/tools/slide-page.d.ts +2 -1
- package/cli/dist/mcp/tools/slide-page.js +4 -2
- package/cli/dist/mcp/tools/slide-theme.js +4 -1
- package/cli/dist/mcp/tools/slide.js +4 -2
- package/npm-shrinkwrap.json +91 -32
- package/package.json +1 -1
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pecot/visual-mcp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@pecot/visual-mcp",
|
|
9
|
-
"version": "
|
|
9
|
+
"version": "2.0.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@cffnpwr/textlint-plugin-comments": "1.0.0",
|
|
@@ -201,14 +201,14 @@
|
|
|
201
201
|
}
|
|
202
202
|
},
|
|
203
203
|
"node_modules/@eslint/config-array": {
|
|
204
|
-
"version": "0.23.
|
|
205
|
-
"resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.
|
|
206
|
-
"integrity": "sha512-
|
|
204
|
+
"version": "0.23.6",
|
|
205
|
+
"resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.6.tgz",
|
|
206
|
+
"integrity": "sha512-WrTH7nioI9QPY4NZGnsywmecswJdgeq4BCM76qok9VgjTO29ZgUzUvcuJLVPYVQM4uDbaPBU0M33R9DIxI8X3w==",
|
|
207
207
|
"license": "Apache-2.0",
|
|
208
208
|
"dependencies": {
|
|
209
209
|
"@eslint/object-schema": "^3.0.5",
|
|
210
210
|
"debug": "^4.3.1",
|
|
211
|
-
"minimatch": "^
|
|
211
|
+
"minimatch": "^11.0.5"
|
|
212
212
|
},
|
|
213
213
|
"engines": {
|
|
214
214
|
"node": "^20.19.0 || ^22.13.0 || >=24"
|
|
@@ -346,6 +346,12 @@
|
|
|
346
346
|
"url": "https://github.com/sponsors/nzakas"
|
|
347
347
|
}
|
|
348
348
|
},
|
|
349
|
+
"node_modules/@isaacs/nonrecursive-glob-match": {
|
|
350
|
+
"version": "1.1.0",
|
|
351
|
+
"resolved": "https://registry.npmjs.org/@isaacs/nonrecursive-glob-match/-/nonrecursive-glob-match-1.1.0.tgz",
|
|
352
|
+
"integrity": "sha512-GPm/Dbvk5RLmhRnxXIa7nTpK0xtl4E0wj0MslsuNiJ1FIROU+2+9lgUC/dgF7Ey4QCWhfEsgxilMRMCdHPfDfw==",
|
|
353
|
+
"license": "BlueOak-1.0.0"
|
|
354
|
+
},
|
|
349
355
|
"node_modules/@keyv/bigmap": {
|
|
350
356
|
"version": "1.3.1",
|
|
351
357
|
"resolved": "https://registry.npmjs.org/@keyv/bigmap/-/bigmap-1.3.1.tgz",
|
|
@@ -1547,9 +1553,9 @@
|
|
|
1547
1553
|
}
|
|
1548
1554
|
},
|
|
1549
1555
|
"node_modules/eslint": {
|
|
1550
|
-
"version": "10.
|
|
1551
|
-
"resolved": "https://registry.npmjs.org/eslint/-/eslint-10.
|
|
1552
|
-
"integrity": "sha512
|
|
1556
|
+
"version": "10.15.0",
|
|
1557
|
+
"resolved": "https://registry.npmjs.org/eslint/-/eslint-10.15.0.tgz",
|
|
1558
|
+
"integrity": "sha512-+5Wg4p+ze3sG1WErYgUO/3H1IQIfFBymVUA0Fo/XTeBOLS6UQIUekpSJ8sdRkn7O7wjh84b55w/roqavH2aScg==",
|
|
1553
1559
|
"license": "MIT",
|
|
1554
1560
|
"workspaces": [
|
|
1555
1561
|
"packages/*"
|
|
@@ -1557,7 +1563,7 @@
|
|
|
1557
1563
|
"dependencies": {
|
|
1558
1564
|
"@eslint-community/eslint-utils": "^4.8.0",
|
|
1559
1565
|
"@eslint-community/regexpp": "^4.12.2",
|
|
1560
|
-
"@eslint/config-array": "^0.23.
|
|
1566
|
+
"@eslint/config-array": "^0.23.6",
|
|
1561
1567
|
"@eslint/config-helpers": "^0.7.0",
|
|
1562
1568
|
"@eslint/core": "^1.2.1",
|
|
1563
1569
|
"@eslint/plugin-kit": "^0.7.3",
|
|
@@ -1582,7 +1588,7 @@
|
|
|
1582
1588
|
"imurmurhash": "^0.1.4",
|
|
1583
1589
|
"is-glob": "^4.0.0",
|
|
1584
1590
|
"json-stable-stringify-without-jsonify": "^1.0.1",
|
|
1585
|
-
"minimatch": "^
|
|
1591
|
+
"minimatch": "^11.0.5",
|
|
1586
1592
|
"natural-compare": "^1.4.0",
|
|
1587
1593
|
"optionator": "^0.9.3"
|
|
1588
1594
|
},
|
|
@@ -2028,6 +2034,21 @@
|
|
|
2028
2034
|
"node": ">=10.13.0"
|
|
2029
2035
|
}
|
|
2030
2036
|
},
|
|
2037
|
+
"node_modules/glob/node_modules/minimatch": {
|
|
2038
|
+
"version": "10.2.6",
|
|
2039
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz",
|
|
2040
|
+
"integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==",
|
|
2041
|
+
"license": "BlueOak-1.0.0",
|
|
2042
|
+
"dependencies": {
|
|
2043
|
+
"brace-expansion": "^5.0.8"
|
|
2044
|
+
},
|
|
2045
|
+
"engines": {
|
|
2046
|
+
"node": "18 || 20 || >=22"
|
|
2047
|
+
},
|
|
2048
|
+
"funding": {
|
|
2049
|
+
"url": "https://github.com/sponsors/isaacs"
|
|
2050
|
+
}
|
|
2051
|
+
},
|
|
2031
2052
|
"node_modules/globalthis": {
|
|
2032
2053
|
"version": "1.0.4",
|
|
2033
2054
|
"resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz",
|
|
@@ -4126,15 +4147,16 @@
|
|
|
4126
4147
|
}
|
|
4127
4148
|
},
|
|
4128
4149
|
"node_modules/minimatch": {
|
|
4129
|
-
"version": "
|
|
4130
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-
|
|
4131
|
-
"integrity": "sha512-
|
|
4150
|
+
"version": "11.0.8",
|
|
4151
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.8.tgz",
|
|
4152
|
+
"integrity": "sha512-nFQuYSTVrGvysVBps5Ih+0BdnYFN/Cj3C816r6+p7yK+FHrVLGE4O4N9AFwykrlNlvM2HYt+Rad1Uiro6h88Ig==",
|
|
4132
4153
|
"license": "BlueOak-1.0.0",
|
|
4133
4154
|
"dependencies": {
|
|
4134
|
-
"
|
|
4155
|
+
"@isaacs/nonrecursive-glob-match": "^1.1.0",
|
|
4156
|
+
"brace-expansion": "^5.0.12"
|
|
4135
4157
|
},
|
|
4136
4158
|
"engines": {
|
|
4137
|
-
"node": "
|
|
4159
|
+
"node": "20 || >=22"
|
|
4138
4160
|
},
|
|
4139
4161
|
"funding": {
|
|
4140
4162
|
"url": "https://github.com/sponsors/isaacs"
|
|
@@ -4449,12 +4471,12 @@
|
|
|
4449
4471
|
"license": "ISC"
|
|
4450
4472
|
},
|
|
4451
4473
|
"node_modules/playwright": {
|
|
4452
|
-
"version": "1.65.
|
|
4453
|
-
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.
|
|
4454
|
-
"integrity": "sha512-
|
|
4474
|
+
"version": "1.65.1",
|
|
4475
|
+
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.1.tgz",
|
|
4476
|
+
"integrity": "sha512-vJ1FuoOrNwOKHUIVEvSt3jT1L+wjjDpwhwIstKtfvTh8XIG4FG4bIFuvNdMxi81LGfAhUgUZleVFaOLY4RIUUw==",
|
|
4455
4477
|
"license": "Apache-2.0",
|
|
4456
4478
|
"dependencies": {
|
|
4457
|
-
"playwright-core": "1.65.
|
|
4479
|
+
"playwright-core": "1.65.1"
|
|
4458
4480
|
},
|
|
4459
4481
|
"bin": {
|
|
4460
4482
|
"playwright": "cli.js"
|
|
@@ -4464,9 +4486,9 @@
|
|
|
4464
4486
|
}
|
|
4465
4487
|
},
|
|
4466
4488
|
"node_modules/playwright-core": {
|
|
4467
|
-
"version": "1.65.
|
|
4468
|
-
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.
|
|
4469
|
-
"integrity": "sha512-
|
|
4489
|
+
"version": "1.65.1",
|
|
4490
|
+
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.1.tgz",
|
|
4491
|
+
"integrity": "sha512-hqPpz7blSMPxWVdoeE1yiBSzXsKiVOd2k+kjCvmUywD2GPO2Dd9HfcWnq9NN0GHbNZDFgZ9JfBFr+X5/BLo0qw==",
|
|
4470
4492
|
"license": "Apache-2.0",
|
|
4471
4493
|
"bin": {
|
|
4472
4494
|
"playwright-core": "cli.js"
|
|
@@ -4585,17 +4607,55 @@
|
|
|
4585
4607
|
"license": "MIT"
|
|
4586
4608
|
},
|
|
4587
4609
|
"node_modules/rc-config-loader": {
|
|
4588
|
-
"version": "4.
|
|
4589
|
-
"resolved": "https://registry.npmjs.org/rc-config-loader/-/rc-config-loader-4.
|
|
4590
|
-
"integrity": "sha512-
|
|
4610
|
+
"version": "4.2.0",
|
|
4611
|
+
"resolved": "https://registry.npmjs.org/rc-config-loader/-/rc-config-loader-4.2.0.tgz",
|
|
4612
|
+
"integrity": "sha512-PoQabZw5RBxSW9jJhI1WJ8hpLYCjF4PrkhqkkjXYKRpWTo1cn3ovdXku2spdS79dnD3pT/axXeEUnwbG8qxz9A==",
|
|
4591
4613
|
"license": "MIT",
|
|
4592
4614
|
"dependencies": {
|
|
4593
4615
|
"debug": "^4.4.3",
|
|
4594
|
-
"js-yaml": "^
|
|
4616
|
+
"js-yaml": "^5.5.0",
|
|
4595
4617
|
"json5": "^2.2.3",
|
|
4596
4618
|
"require-from-string": "^2.0.2"
|
|
4597
4619
|
}
|
|
4598
4620
|
},
|
|
4621
|
+
"node_modules/rc-config-loader/node_modules/argparse": {
|
|
4622
|
+
"version": "3.0.4",
|
|
4623
|
+
"resolved": "https://registry.npmjs.org/argparse/-/argparse-3.0.4.tgz",
|
|
4624
|
+
"integrity": "sha512-fwWK3Zq22l4XJJjx5mcBHGikIk+hJqO+32dPm0Jur7+rtG5x1scOjSfdT9ZKeWHPpsya/l0HHK4tDImBkTrtvA==",
|
|
4625
|
+
"funding": [
|
|
4626
|
+
{
|
|
4627
|
+
"type": "github",
|
|
4628
|
+
"url": "https://github.com/sponsors/puzrin"
|
|
4629
|
+
},
|
|
4630
|
+
{
|
|
4631
|
+
"type": "github",
|
|
4632
|
+
"url": "https://github.com/sponsors/nodeca"
|
|
4633
|
+
}
|
|
4634
|
+
],
|
|
4635
|
+
"license": "PSF-2.0"
|
|
4636
|
+
},
|
|
4637
|
+
"node_modules/rc-config-loader/node_modules/js-yaml": {
|
|
4638
|
+
"version": "5.5.0",
|
|
4639
|
+
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.5.0.tgz",
|
|
4640
|
+
"integrity": "sha512-paNr4LFIFPjeeSmwNYdrb8FafLLG/Cr2Af3GjbsHJ5CxIjH4r0c2emlmRdAtpPAieP1gRVzk6buBbVP5gBMGAg==",
|
|
4641
|
+
"funding": [
|
|
4642
|
+
{
|
|
4643
|
+
"type": "github",
|
|
4644
|
+
"url": "https://github.com/sponsors/puzrin"
|
|
4645
|
+
},
|
|
4646
|
+
{
|
|
4647
|
+
"type": "github",
|
|
4648
|
+
"url": "https://github.com/sponsors/nodeca"
|
|
4649
|
+
}
|
|
4650
|
+
],
|
|
4651
|
+
"license": "MIT",
|
|
4652
|
+
"dependencies": {
|
|
4653
|
+
"argparse": "^3.0.3"
|
|
4654
|
+
},
|
|
4655
|
+
"bin": {
|
|
4656
|
+
"js-yaml": "bin/js-yaml.mjs"
|
|
4657
|
+
}
|
|
4658
|
+
},
|
|
4599
4659
|
"node_modules/read-package-up": {
|
|
4600
4660
|
"version": "11.0.0",
|
|
4601
4661
|
"resolved": "https://registry.npmjs.org/read-package-up/-/read-package-up-11.0.0.tgz",
|
|
@@ -5202,13 +5262,12 @@
|
|
|
5202
5262
|
}
|
|
5203
5263
|
},
|
|
5204
5264
|
"node_modules/sentence-splitter": {
|
|
5205
|
-
"version": "5.0
|
|
5206
|
-
"resolved": "https://registry.npmjs.org/sentence-splitter/-/sentence-splitter-5.0.
|
|
5207
|
-
"integrity": "sha512-
|
|
5265
|
+
"version": "5.1.0",
|
|
5266
|
+
"resolved": "https://registry.npmjs.org/sentence-splitter/-/sentence-splitter-5.1.0.tgz",
|
|
5267
|
+
"integrity": "sha512-Zt4F1K7KF3QQQOVgdJ0Of6WYGI9t3aSiGRI6/DpXj1FXvL5wiOobhRbYceDZnNmnuYWfwd4l+wfyLB+nUax5ow==",
|
|
5208
5268
|
"license": "MIT",
|
|
5209
5269
|
"dependencies": {
|
|
5210
|
-
"@textlint/ast-node-types": "^15.8.0"
|
|
5211
|
-
"structured-source": "^4.0.0"
|
|
5270
|
+
"@textlint/ast-node-types": "^15.8.0"
|
|
5212
5271
|
}
|
|
5213
5272
|
},
|
|
5214
5273
|
"node_modules/set-function-length": {
|