@pecot/visual-mcp 3.0.3-dev.85 → 3.0.3-dev.87

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,6 +1,6 @@
1
1
  {
2
2
  "name": "pecot-v",
3
- "version": "3.0.3-dev.85",
3
+ "version": "3.0.3-dev.87",
4
4
  "description": "pecot-v(pecot-visual)— 可視化・ドキュメント系スキル集(v-drawio, v-slidev, v-evidence)",
5
5
  "author": {
6
6
  "name": "pecot"
@@ -13,7 +13,10 @@ SDK は渡されたスキーマ自身で JSON Schema を作るため、ツール
13
13
  混在しない。引数を取らないツールは inputSchema に `z.object({})` を渡す。
14
14
  */
15
15
  export interface ToolConfig {
16
- readonly title?: string;
16
+ /**
17
+ Tool の最上位の title(表示名)。英語・4 語以内
18
+ */
19
+ readonly title: string;
17
20
  readonly description?: string;
18
21
  readonly inputSchema: z.ZodObject;
19
22
  /**
@@ -210,7 +210,7 @@ function drawioExportMessage(execution, warningCount) {
210
210
  export const drawioCreateTool = {
211
211
  name: 'drawio_create',
212
212
  config: {
213
- title: 'Output a drawio diagram as a deliverable',
213
+ title: 'Create draw.io diagram',
214
214
  description: 'Turns drawio XML into a deliverable that opens directly in a browser. Writes viewer HTML (.html; opening it redirects to draw.io) to out_path and, by default, also writes a rendered PNG (useful for checking the rendering). icon:// references are resolved to data URIs and embedded. Before generating, it checks the diagram labels against the text rules and generates nothing if there is a violation. The font and font size are checked against the theme declaration (theme, or the theme of the talk-dir that is an ancestor of the diagram), and the result is returned in theme.',
215
215
  inputSchema: drawioCreateInput,
216
216
  outputSchema: drawioCreateOutput,
@@ -220,7 +220,7 @@ export const drawioCreateTool = {
220
220
  export const drawioExportTool = {
221
221
  name: 'drawio_export',
222
222
  config: {
223
- title: 'drawio SVG / PDF export',
223
+ title: 'Export draw.io diagram',
224
224
  description: 'Exports drawio XML to a static SVG and a sibling PDF. Set pdf: false to suppress the PDF. With print_hash, it exports nothing and returns only the composite hash used for staleness checks. It does not check the diagram text, so pass a .drawio that has gone through drawio_create.',
225
225
  inputSchema: drawioExportInput,
226
226
  outputSchema: drawioExportOutput,
@@ -65,7 +65,7 @@ async function handleEvidenceCreate(arguments_) {
65
65
  export const evidenceCreateTool = {
66
66
  name: 'evidence_create',
67
67
  config: {
68
- title: 'Generate evidence xlsx',
68
+ title: 'Create evidence workbook',
69
69
  description: 'Generates a work-evidence xlsx with screenshots pasted in, from an EvidenceSpec JSON.'
70
70
  + ' Places the images listed in the spec in order and adds annotations.'
71
71
  + ' Before generating, it checks the title, captions and annotations against the text rules and generates nothing if there is a violation.',
@@ -237,7 +237,7 @@ export function setupTool(buildDependencies = chromiumDefaultDependencies, build
237
237
  return {
238
238
  name: 'runtime_setup',
239
239
  config: {
240
- title: 'Prepare the runtime (runtime dependencies / Chromium download and OS libraries)',
240
+ title: 'Set up runtime',
241
241
  description: 'Downloads the runtime dependencies pecotv uses (@slidev/cli / dom-to-pptx / @slidev/parser, etc.) and Playwright Chromium. '
242
242
  + 'Call it when slide_create / slide_convert / slide_sync fail with "runtime dependencies are not installed", '
243
243
  + 'or when drawio_export / slide_convert / drawio_create PNG output fails with "Playwright Chromium is not installed". '
@@ -203,7 +203,7 @@ export function slideDevTool(buildRegistry = devServerRegistry, buildRuntimeDepe
203
203
  return {
204
204
  name: 'slide_dev',
205
205
  config: {
206
- title: 'Start a Slidev preview',
206
+ title: 'Start Slidev preview',
207
207
  description: 'Starts the Slidev dev server of a talk-dir and returns a URL that opens in a browser (url). '
208
208
  + 'The port can be set with port; if omitted, a free port from 3030 to 3034 is used. '
209
209
  + 'Calling again for the same talk-dir returns the running server as it is (reused: true). '
@@ -295,7 +295,7 @@ readReferenceText = file => readFile(file, 'utf8')) {
295
295
  return {
296
296
  name: 'slide_page',
297
297
  config: {
298
- title: 'Generate a Slidev page',
298
+ title: 'Create Slidev page',
299
299
  description: 'Generates a skeleton page for one layout under pages/ of the talk-dir, '
300
300
  + 'and returns the specification of that layout (props / text_constraints / clicks / best_practices / anti_patterns / examples). '
301
301
  + 'The specification is returned in reference and includes. '
@@ -61,7 +61,7 @@ export function slideThemeTool(buildDependencies = slideThemeDefaultDependencies
61
61
  return {
62
62
  name: 'slide_theme',
63
63
  config: {
64
- title: 'Slidev theme declaration',
64
+ title: 'Get Slidev theme',
65
65
  description: 'Returns the theme declaration referenced by a talk-dir and the list of layouts. '
66
66
  + 'The declaration covers fonts, font sizes, PPTX fonts and link colors, and lint rules. '
67
67
  + 'Skills use it to obtain theme values.',
@@ -155,7 +155,7 @@ export function slideCreateTool(buildDependencies = slideCreateDefaultDependenci
155
155
  return {
156
156
  name: 'slide_create',
157
157
  config: {
158
- title: 'Generate a Slidev project',
158
+ title: 'Create Slidev deck',
159
159
  description: 'Generates a new talk-dir that references the Slidev theme given by `theme`. '
160
160
  + 'The theme is specified by a git URL with a tag (`git+https://<host>/<owner>/<repo>.git#<tag>`) '
161
161
  + 'or a local path (`file:<path>`). '
@@ -316,7 +316,7 @@ export function slideSyncTool(buildDependencies = slideSyncDefaultDependencies,
316
316
  return {
317
317
  name: 'slide_sync',
318
318
  config: {
319
- title: 'Sync a Slidev talk-dir',
319
+ title: 'Sync Slidev deck',
320
320
  description: 'Syncs an existing talk-dir. '
321
321
  + 'A pre-migration talk-dir (one that holds a copy of the template; slide_dev and others stop with theme-none) '
322
322
  + 'is moved to a form that references the theme given by `theme`. Files that came from the template are deleted, '
@@ -392,7 +392,7 @@ export function slideLintTool(buildDependencies = slideLintDefaultDependencies)
392
392
  return {
393
393
  name: 'slide_lint',
394
394
  config: {
395
- title: 'Lint a Slidev deck',
395
+ title: 'Lint Slidev deck',
396
396
  description: 'Lints the whole talk-dir (pages/**/*.md and slides.md) '
397
397
  + 'and returns the list of violations. The call itself succeeds even with violations; outcome is violations when any are found.',
398
398
  inputSchema: slideLintInput,
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@pecot/visual-mcp",
3
- "version": "3.0.3-dev.85",
3
+ "version": "3.0.3-dev.87",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@pecot/visual-mcp",
9
- "version": "3.0.3-dev.85",
9
+ "version": "3.0.3-dev.87",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@cffnpwr/textlint-plugin-comments": "1.0.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pecot/visual-mcp",
3
- "version": "3.0.3-dev.85",
3
+ "version": "3.0.3-dev.87",
4
4
  "type": "module",
5
5
  "description": "pecotv MCP server (standalone distribution)",
6
6
  "license": "MIT",