vlossom-mcp 0.9.13 → 0.9.14

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/dist/server.js CHANGED
@@ -87,14 +87,14 @@ Always prefer search_components when the user describes a use case rather than n
87
87
  Multi-step responses include a pipeline trace block after the JSON data.
88
88
  Output it verbatim after your main response — do not skip or reformat it.
89
89
 
90
- ## Figma + Vlossom Workflow
90
+ ## External Tool Tracking
91
91
 
92
- When using Figma tools (get_design_context, get_screenshot, etc.) as part of a Vlossom workflow,
93
- call record_external_step immediately after each Figma tool call so it appears in the stepper.
92
+ When using any non-vlossom tool (Figma, Slack, GitLab, etc.) as part of a Vlossom workflow,
93
+ call record_external_step immediately after each external tool call so it appears in the stepper.
94
94
 
95
95
  Standard flow:
96
- 1. get_design_context (Figma)
97
- 2. record_external_step { tool: "get_design_context", label: "<short design label>", reset: true }
96
+ 1. <external tool call> (Figma / Slack / GitLab / etc.)
97
+ 2. record_external_step { tool: "<tool name>", label: "<short label>", reset: true }
98
98
  3. get_component / suggest_components (vlossom)
99
99
  4. generate_component_code (vlossom)
100
100
 
@@ -1,10 +1,10 @@
1
1
  import { z } from "zod";
2
2
  import { recordStep, resetSession, textResponse } from "../utils/mcp-response.js";
3
3
  export function registerRecordExternalStep(server) {
4
- server.tool("record_external_step", "Call this immediately after calling a non-vlossom tool (e.g. Figma get_design_context, get_screenshot) " +
4
+ server.tool("record_external_step", "Call this immediately after calling any non-vlossom tool (e.g. Figma, Slack, GitLab) " +
5
5
  "that is part of the current vlossom workflow, so it appears in the pipeline stepper. " +
6
6
  "Records the external tool call into the vlossom-mcp session tracker. " +
7
- "Pass reset: true when this is the first step of a new Figma+Vlossom workflow. " +
7
+ "Pass reset: true when this is the first step of a new workflow. " +
8
8
  "Then continue with vlossom tools as normal.", {
9
9
  tool: z.string().describe('The external tool name as it was called (e.g. "get_design_context", "get_screenshot")'),
10
10
  label: z.string().describe('Short human-readable description, max 23 chars (e.g. "Ordo button design")'),
@@ -1 +1 @@
1
- {"version":3,"file":"record-external-step.js","sourceRoot":"","sources":["../../src/tools/record-external-step.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElF,MAAM,UAAU,0BAA0B,CAAC,MAAiB;IACxD,MAAM,CAAC,IAAI,CACP,sBAAsB,EACtB,yGAAyG;QACrG,uFAAuF;QACvF,uEAAuE;QACvE,gFAAgF;QAChF,6CAA6C,EACjD;QACI,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACrB,uFAAuF,CAC1F;QACD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACtB,4EAA4E,CAC/E;QACD,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAClC,2FAA2F,CAC9F;KACJ,EACD,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;QAC7B,IAAI,KAAK;YAAE,YAAY,EAAE,CAAC;QAC1B,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;QACxC,OAAO,YAAY,CACf;YACI,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YACvB,YAAY,EAAE;gBACV,EAAE,IAAI,EAAE,eAAe,EAAW,MAAM,EAAE,6DAA6D,EAAE;gBACzG,EAAE,IAAI,EAAE,oBAAoB,EAAM,MAAM,EAAE,0DAA0D,EAAE;gBACtG,EAAE,IAAI,EAAE,yBAAyB,EAAE,MAAM,EAAE,gDAAgD,EAAE;aAChG;SACJ,EACD,IAAI,CACP,CAAC;IACN,CAAC,CACJ,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"record-external-step.js","sourceRoot":"","sources":["../../src/tools/record-external-step.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElF,MAAM,UAAU,0BAA0B,CAAC,MAAiB;IACxD,MAAM,CAAC,IAAI,CACP,sBAAsB,EACtB,uFAAuF;QACnF,uFAAuF;QACvF,uEAAuE;QACvE,kEAAkE;QAClE,6CAA6C,EACjD;QACI,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACrB,uFAAuF,CAC1F;QACD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACtB,4EAA4E,CAC/E;QACD,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAClC,2FAA2F,CAC9F;KACJ,EACD,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;QAC7B,IAAI,KAAK;YAAE,YAAY,EAAE,CAAC;QAC1B,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;QACxC,OAAO,YAAY,CACf;YACI,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YACvB,YAAY,EAAE;gBACV,EAAE,IAAI,EAAE,eAAe,EAAW,MAAM,EAAE,6DAA6D,EAAE;gBACzG,EAAE,IAAI,EAAE,oBAAoB,EAAM,MAAM,EAAE,0DAA0D,EAAE;gBACtG,EAAE,IAAI,EAAE,yBAAyB,EAAE,MAAM,EAAE,gDAAgD,EAAE;aAChG;SACJ,EACD,IAAI,CACP,CAAC;IACN,CAAC,CACJ,CAAC;AACN,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vlossom-mcp",
3
- "version": "0.9.13",
3
+ "version": "0.9.14",
4
4
  "description": "MCP server for Vlossom UI component library",
5
5
  "type": "module",
6
6
  "bin": {