@pandacss/mcp 2.0.0-beta.9 → 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.
@@ -2,7 +2,7 @@
2
2
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
3
3
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
4
  import { createNodeDriver } from "@pandacss/compiler";
5
- import { resolve } from "path";
5
+ import { resolve } from "node:path";
6
6
  import * as z from "zod/v4";
7
7
  var json = (data) => ({
8
8
  content: [{ type: "text", text: JSON.stringify(data) }]
package/dist/cli.js CHANGED
@@ -29,7 +29,7 @@ var import_citty = require("citty");
29
29
  var import_mcp = require("@modelcontextprotocol/sdk/server/mcp.js");
30
30
  var import_stdio = require("@modelcontextprotocol/sdk/server/stdio.js");
31
31
  var import_compiler = require("@pandacss/compiler");
32
- var import_path = require("path");
32
+ var import_node_path = require("node:path");
33
33
  var z = __toESM(require("zod/v4"));
34
34
  var json = (data) => ({
35
35
  content: [{ type: "text", text: JSON.stringify(data) }]
@@ -139,8 +139,8 @@ function createMcpServer(options) {
139
139
  }
140
140
  async function startMcpServer(options = {}) {
141
141
  const { cwd = process.cwd(), config: configPath, silent = false, transport } = options;
142
- const resolvedCwd = (0, import_path.resolve)(cwd);
143
- const resolvedConfigPath = configPath ? (0, import_path.resolve)(configPath) : void 0;
142
+ const resolvedCwd = (0, import_node_path.resolve)(cwd);
143
+ const resolvedConfigPath = configPath ? (0, import_node_path.resolve)(configPath) : void 0;
144
144
  const driver = await (0, import_compiler.createNodeDriver)({
145
145
  cwd: resolvedCwd,
146
146
  configPath: resolvedConfigPath
package/dist/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  startMcpServer
3
- } from "./chunk-EX3U7FW5.mjs";
3
+ } from "./chunk-RNKMUODB.mjs";
4
4
 
5
5
  // src/cli.ts
6
6
  import { defineCommand, runMain } from "citty";
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ module.exports = __toCommonJS(index_exports);
39
39
  var import_mcp = require("@modelcontextprotocol/sdk/server/mcp.js");
40
40
  var import_stdio = require("@modelcontextprotocol/sdk/server/stdio.js");
41
41
  var import_compiler = require("@pandacss/compiler");
42
- var import_path = require("path");
42
+ var import_node_path = require("node:path");
43
43
  var z = __toESM(require("zod/v4"));
44
44
  var json = (data) => ({
45
45
  content: [{ type: "text", text: JSON.stringify(data) }]
@@ -149,8 +149,8 @@ function createMcpServer(options) {
149
149
  }
150
150
  async function startMcpServer(options = {}) {
151
151
  const { cwd = process.cwd(), config: configPath, silent = false, transport } = options;
152
- const resolvedCwd = (0, import_path.resolve)(cwd);
153
- const resolvedConfigPath = configPath ? (0, import_path.resolve)(configPath) : void 0;
152
+ const resolvedCwd = (0, import_node_path.resolve)(cwd);
153
+ const resolvedConfigPath = configPath ? (0, import_node_path.resolve)(configPath) : void 0;
154
154
  const driver = await (0, import_compiler.createNodeDriver)({
155
155
  cwd: resolvedCwd,
156
156
  configPath: resolvedConfigPath
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createMcpServer,
3
3
  startMcpServer
4
- } from "./chunk-EX3U7FW5.mjs";
4
+ } from "./chunk-RNKMUODB.mjs";
5
5
  export {
6
6
  createMcpServer,
7
7
  startMcpServer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/mcp",
3
- "version": "2.0.0-beta.9",
3
+ "version": "2.0.0",
4
4
  "description": "MCP server for Panda CSS AI assistants",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -38,9 +38,9 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@modelcontextprotocol/sdk": "^1.29.0",
41
- "citty": "0.1.6",
42
- "zod": "^4.0.0",
43
- "@pandacss/compiler": "2.0.0-beta.9"
41
+ "@pandacss/compiler": "2.0.0",
42
+ "citty": "0.2.2",
43
+ "zod": "^4.0.0"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=22"