@mcpc-tech/unplugin-dev-inspector-mcp 0.0.29 → 0.0.30

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.
@@ -87226,7 +87226,7 @@ function setupInspectorMiddleware(middlewares, config) {
87226
87226
  }
87227
87227
 
87228
87228
  //#endregion
87229
- //#region ../../node_modules/.pnpm/@mcpc-tech+acp-ai-provider@0.1.35/node_modules/@mcpc-tech/acp-ai-provider/index.mjs
87229
+ //#region ../../node_modules/.pnpm/@mcpc-tech+acp-ai-provider@0.1.36/node_modules/@mcpc-tech/acp-ai-provider/index.mjs
87230
87230
  (0, node_module.createRequire)(require("url").pathToFileURL(__filename).href);
87231
87231
  function formatToolError(toolResult) {
87232
87232
  if (!toolResult || toolResult.length === 0) return "Unknown tool error";
@@ -87542,7 +87542,8 @@ function convertAiSdkMessagesToAcp(options, isFreshSession) {
87542
87542
  });
87543
87543
  isFirst = false;
87544
87544
  } else if (part.type === "tool-result") {
87545
- const resultText = JSON.stringify(part.result);
87545
+ const resultData = part.result ?? part.output;
87546
+ const resultText = JSON.stringify(resultData) ?? "null";
87546
87547
  const text$2 = isFirst ? `${prefix}${resultText} ` : resultText;
87547
87548
  contentBlocks.push({
87548
87549
  type: "text",
@@ -87261,7 +87261,7 @@ function setupInspectorMiddleware(middlewares, config) {
87261
87261
  }
87262
87262
 
87263
87263
  //#endregion
87264
- //#region ../../node_modules/.pnpm/@mcpc-tech+acp-ai-provider@0.1.35/node_modules/@mcpc-tech/acp-ai-provider/index.mjs
87264
+ //#region ../../node_modules/.pnpm/@mcpc-tech+acp-ai-provider@0.1.36/node_modules/@mcpc-tech/acp-ai-provider/index.mjs
87265
87265
  createRequire(import.meta.url);
87266
87266
  function formatToolError(toolResult) {
87267
87267
  if (!toolResult || toolResult.length === 0) return "Unknown tool error";
@@ -87577,7 +87577,8 @@ function convertAiSdkMessagesToAcp(options, isFreshSession) {
87577
87577
  });
87578
87578
  isFirst = false;
87579
87579
  } else if (part.type === "tool-result") {
87580
- const resultText = JSON.stringify(part.result);
87580
+ const resultData = part.result ?? part.output;
87581
+ const resultText = JSON.stringify(resultData) ?? "null";
87581
87582
  const text$2 = isFirst ? `${prefix}${resultText} ` : resultText;
87582
87583
  contentBlocks.push({
87583
87584
  type: "text",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcpc-tech/unplugin-dev-inspector-mcp",
3
- "version": "0.0.29",
3
+ "version": "0.0.30",
4
4
  "description": "Universal dev inspector plugin for React/Vue - inspect component sources and API calls in any bundler",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -113,7 +113,7 @@
113
113
  "@babel/parser": "^7.28.5",
114
114
  "@babel/traverse": "^7.28.5",
115
115
  "@code-inspector/core": "^1.3.0",
116
- "@mcpc-tech/acp-ai-provider": "^0.1.35",
116
+ "@mcpc-tech/acp-ai-provider": "^0.1.36",
117
117
  "@mcpc-tech/cmcp": "^0.0.15",
118
118
  "@mcpc-tech/core": "^0.3.8",
119
119
  "@modelcontextprotocol/sdk": "^1.20.1",