mcp-app-studio 0.5.1 → 0.5.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.
@@ -37,11 +37,13 @@ var ChatGPTBridge = class {
37
37
  this.toolInputCallbacks.forEach((cb) => cb(this.openai.toolInput));
38
38
  }
39
39
  if (this.openai.toolOutput) {
40
- this.toolResultCallbacks.forEach(
41
- (cb) => cb({
42
- structuredContent: this.openai.toolOutput
43
- })
44
- );
40
+ const result = {
41
+ structuredContent: this.openai.toolOutput
42
+ };
43
+ if (this.openai.toolResponseMetadata) {
44
+ result._meta = this.openai.toolResponseMetadata;
45
+ }
46
+ this.toolResultCallbacks.forEach((cb) => cb(result));
45
47
  }
46
48
  this.connected = true;
47
49
  }
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-KRCGOYZ5.js";
5
5
  import {
6
6
  ChatGPTBridge
7
- } from "./chunk-EPZCYA26.js";
7
+ } from "./chunk-EKY6OPNN.js";
8
8
  import {
9
9
  MCPBridge
10
10
  } from "./chunk-2OPSDEPI.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ChatGPTBridge
3
- } from "../../chunk-EPZCYA26.js";
3
+ } from "../../chunk-EKY6OPNN.js";
4
4
  import "../../chunk-4LAH4JH6.js";
5
5
 
6
6
  // src/platforms/chatgpt/hooks.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-app-studio",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Build interactive apps for AI assistants (ChatGPT, Claude, MCP hosts)",
5
5
  "keywords": [
6
6
  "chatgpt",