@volue/wave-mcp 0.1.0-next.1 → 0.1.0-next.2

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 CHANGED
@@ -17,7 +17,7 @@
17
17
 
18
18
  ### VS Code
19
19
 
20
- [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=plastic&logo=visualstudiocode&logoColor=ffffff)](vscode:mcp/install?%7B%22name%22%3A%22Wave%20Design%20System%22%2C%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22%40volue%2Fwave-mcp%40latest%22%5D%7D)
20
+ [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Wave_MCP-0098FF?style=plastic&logo=visualstudiocode&logoColor=ffffff)](https://insiders.vscode.dev/redirect/mcp/install?name=Wave%20Design%20System&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40volue%2Fwave-mcp%40latest%22%5D%7D)
21
21
 
22
22
  Use the button above or manually add to your `.vscode/mcp.json`:
23
23
 
@@ -27,7 +27,7 @@ Use the button above or manually add to your `.vscode/mcp.json`:
27
27
  "Wave Design System": {
28
28
  "type": "stdio",
29
29
  "command": "npx",
30
- "args": ["@volue/wave-mcp@latest"]
30
+ "args": ["-y", "@volue/wave-mcp@latest"]
31
31
  }
32
32
  },
33
33
  "inputs": []
package/dist/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  #!/usr/bin/env node
2
- export { s as server } from './server-Ctp51ema.js';
2
+ import { pathToFileURL } from 'node:url';
3
+ export { s as server } from './server-Q7TF5taU.js';
3
4
  import '@modelcontextprotocol/sdk/server/mcp.js';
4
5
 
5
- if (import.meta.url === `file:///${process.argv[1].replace(/\\/g, "/")}`) {
6
+ if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
6
7
  const args = process.argv.slice(2);
7
8
  const transport = args[0] || "stdio";
8
9
  async function run() {
@@ -1,6 +1,6 @@
1
1
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
2
 
3
- var version = "0.1.0-next.1";
3
+ var version = "0.1.0-next.2";
4
4
  var packageJson = {
5
5
  version: version};
6
6
 
@@ -4,7 +4,8 @@ import { isInitializeRequest } from '@modelcontextprotocol/sdk/types.js';
4
4
  import cors from 'cors';
5
5
  import express from 'express';
6
6
  import { randomUUID } from 'node:crypto';
7
- import { s as server, p as packageJson } from '../server-Ctp51ema.js';
7
+ import { pathToFileURL } from 'node:url';
8
+ import { s as server, p as packageJson } from '../server-Q7TF5taU.js';
8
9
  import { i as initializeTools } from '../index-Dax7yaAA.js';
9
10
  import '@modelcontextprotocol/sdk/server/mcp.js';
10
11
  import 'node:module';
@@ -81,7 +82,7 @@ app.get("/health", (_req, res) => {
81
82
  const host = process.env.HOST ?? "localhost";
82
83
  const port = process.env.PORT ? Number(process.env.PORT) : 3e3;
83
84
  let runningServer = null;
84
- if (process.argv.includes("--auto-run") || import.meta.url === `file:///${process.argv[1].replace(/\\/g, "/")}`) {
85
+ if (process.argv.includes("--auto-run") || process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
85
86
  runningServer = app.listen(port, host, (error) => {
86
87
  if (error) {
87
88
  console.error("\u274C Failed to start server:", error);
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
3
- import { s as server } from '../server-Ctp51ema.js';
3
+ import { s as server } from '../server-Q7TF5taU.js';
4
4
  import { i as initializeTools } from '../index-Dax7yaAA.js';
5
5
  import '@modelcontextprotocol/sdk/server/mcp.js';
6
6
  import 'node:module';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volue/wave-mcp",
3
- "version": "0.1.0-next.1",
3
+ "version": "0.1.0-next.2",
4
4
  "description": "An MCP server that connects AI tools to the Wave Design System",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {