@wot-ui/cli 1.0.3 → 1.0.4

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/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as findComponent, c as formatStatusLabel, d as resolveVersion, f as loadMetadataFile, i as lintProject, l as writeStderrLine, m as version, o as listComponents, p as name, r as analyzeUsage, s as formatLogMessage, t as checkForCliUpdate, u as detectVersion } from "./update-check-cp6uTpce.mjs";
2
+ import { a as findComponent, c as formatStatusLabel, d as resolveVersion, f as loadMetadataFile, i as lintProject, l as writeStderrLine, m as version, o as listComponents, p as name, r as analyzeUsage, s as formatLogMessage, t as checkForCliUpdate, u as detectVersion } from "./update-check-DlG1c3ZB.mjs";
3
3
  import process from "node:process";
4
4
  import { Command } from "commander";
5
5
  import { existsSync, readFileSync } from "node:fs";
@@ -324,7 +324,7 @@ function registerListCommand(program) {
324
324
  //#region src/commands/mcp.ts
325
325
  function registerMcpCommand(program) {
326
326
  program.command("mcp").description("Start the wot-ui MCP server").action(async () => {
327
- const { startMcpServer } = await import("./server-CbSmyhFy.mjs");
327
+ const { startMcpServer } = await import("./server-Cbs8eIrc.mjs");
328
328
  await startMcpServer();
329
329
  });
330
330
  }
@@ -1,4 +1,4 @@
1
- import { a as findComponent, d as resolveVersion, f as loadMetadataFile, i as lintProject, m as version, n as getCliUpdateStatus, o as listComponents, p as name } from "./update-check-cp6uTpce.mjs";
1
+ import { a as findComponent, d as resolveVersion, f as loadMetadataFile, i as lintProject, m as version, n as getCliUpdateStatus, o as listComponents, p as name } from "./update-check-DlG1c3ZB.mjs";
2
2
  import process from "node:process";
3
3
  import { McpServer, StdioServerTransport } from "@modelcontextprotocol/server";
4
4
  import * as z from "zod/v4";
@@ -8,7 +8,7 @@ import { homedir } from "node:os";
8
8
 
9
9
  //#region package.json
10
10
  var name = "@wot-ui/cli";
11
- var version = "1.0.3";
11
+ var version = "1.0.4";
12
12
 
13
13
  //#endregion
14
14
  //#region src/data/loader.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wot-ui/cli",
3
3
  "type": "module",
4
- "version": "1.0.3",
4
+ "version": "1.0.4",
5
5
  "description": "面向 wot-ui 的 CLI、MCP 与数据提取工具集",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/antfu",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@cfworker/json-schema": "^4.1.1",
35
- "@modelcontextprotocol/server": "^2.0.0-alpha.2",
35
+ "@modelcontextprotocol/server": "2.0.0-alpha.2",
36
36
  "@vue/compiler-sfc": "^3.5.13",
37
37
  "commander": "^14.0.0",
38
38
  "zod": "^4.1.12"