sunpeak 0.17.7 → 0.18.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.
Files changed (90) hide show
  1. package/README.md +52 -44
  2. package/bin/commands/dev.mjs +5 -6
  3. package/bin/commands/inspect.mjs +17 -18
  4. package/bin/lib/inspect/inspect-config.d.mts +2 -2
  5. package/bin/lib/inspect/inspect-config.mjs +2 -2
  6. package/bin/lib/live/chatgpt-page.mjs +2 -2
  7. package/bin/lib/live/host-page.mjs +3 -8
  8. package/bin/lib/sandbox-server.mjs +11 -11
  9. package/bin/sunpeak.js +3 -3
  10. package/dist/chatgpt/chatgpt-conversation.d.ts +1 -1
  11. package/dist/chatgpt/index.cjs +20 -20
  12. package/dist/chatgpt/index.cjs.map +1 -1
  13. package/dist/chatgpt/index.d.ts +10 -10
  14. package/dist/chatgpt/index.js +5 -5
  15. package/dist/chatgpt/index.js.map +1 -1
  16. package/dist/claude/claude-conversation.d.ts +1 -1
  17. package/dist/claude/index.cjs +2 -2
  18. package/dist/claude/index.d.ts +1 -1
  19. package/dist/claude/index.js +2 -2
  20. package/dist/host/chatgpt/index.cjs +0 -40
  21. package/dist/host/chatgpt/index.cjs.map +1 -1
  22. package/dist/host/chatgpt/index.d.ts +0 -3
  23. package/dist/host/chatgpt/index.js +1 -40
  24. package/dist/host/chatgpt/index.js.map +1 -1
  25. package/dist/host/index.cjs +1 -4
  26. package/dist/host/index.cjs.map +1 -1
  27. package/dist/host/index.d.ts +1 -5
  28. package/dist/host/index.js +2 -4
  29. package/dist/host/index.js.map +1 -1
  30. package/dist/index.cjs +9 -10
  31. package/dist/index.cjs.map +1 -1
  32. package/dist/index.d.ts +1 -3
  33. package/dist/index.js +4 -4
  34. package/dist/index.js.map +1 -1
  35. package/dist/{simulator → inspector}/hosts.d.ts +3 -3
  36. package/dist/{simulator → inspector}/iframe-resource.d.ts +3 -3
  37. package/dist/inspector/index.cjs +74 -0
  38. package/dist/{simulator → inspector}/index.cjs.map +1 -1
  39. package/dist/{simulator → inspector}/index.d.ts +8 -8
  40. package/dist/{simulator → inspector}/index.js +8 -8
  41. package/dist/{simulator → inspector}/index.js.map +1 -1
  42. package/dist/{simulator/simulator-types.d.ts → inspector/inspector-types.d.ts} +1 -1
  43. package/dist/{simulator/simulator-url.d.ts → inspector/inspector-url.d.ts} +15 -15
  44. package/dist/{simulator/simulator.d.ts → inspector/inspector.d.ts} +3 -3
  45. package/dist/{simulator → inspector}/mcp-app-host.d.ts +5 -5
  46. package/dist/{simulator → inspector}/mock-openai-runtime.d.ts +2 -2
  47. package/dist/{simulator → inspector}/sandbox-proxy.d.ts +1 -1
  48. package/dist/{simulator/use-simulator-state.d.ts → inspector/use-inspector-state.d.ts} +4 -4
  49. package/dist/{simulator → inspector}/use-mcp-connection.d.ts +1 -1
  50. package/dist/{simulator-eU6sQTje.cjs → inspector-CByJjmPD.cjs} +51 -52
  51. package/dist/{simulator-eU6sQTje.cjs.map → inspector-CByJjmPD.cjs.map} +1 -1
  52. package/dist/{simulator-0dAb16Qt.js → inspector-ClhpqKLi.js} +42 -43
  53. package/dist/{simulator-0dAb16Qt.js.map → inspector-ClhpqKLi.js.map} +1 -1
  54. package/dist/{simulator-url-3ATCsPOT.cjs → inspector-url-7qhtJwY6.cjs} +10 -10
  55. package/dist/{simulator-url-3ATCsPOT.cjs.map → inspector-url-7qhtJwY6.cjs.map} +1 -1
  56. package/dist/{simulator-url-BbuuWa7S.js → inspector-url-DuEFmxLP.js} +9 -9
  57. package/dist/{simulator-url-BbuuWa7S.js.map → inspector-url-DuEFmxLP.js.map} +1 -1
  58. package/dist/mcp/index.cjs +146 -12
  59. package/dist/mcp/index.cjs.map +1 -1
  60. package/dist/mcp/index.d.ts +2 -0
  61. package/dist/mcp/index.js +143 -14
  62. package/dist/mcp/index.js.map +1 -1
  63. package/dist/mcp/production-server.d.ts +14 -0
  64. package/dist/mcp/resolve-domain.d.ts +55 -0
  65. package/dist/mcp/types.d.ts +1 -1
  66. package/dist/style.css +12 -12
  67. package/dist/types/resource-config.d.ts +20 -1
  68. package/dist/types/simulation.d.ts +1 -1
  69. package/package.json +7 -20
  70. package/template/dist/albums/albums.html +1 -1
  71. package/template/dist/albums/albums.json +1 -1
  72. package/template/dist/carousel/carousel.html +1 -1
  73. package/template/dist/carousel/carousel.json +1 -1
  74. package/template/dist/map/map.html +1 -1
  75. package/template/dist/map/map.json +1 -1
  76. package/template/dist/review/review.html +1 -1
  77. package/template/dist/review/review.json +1 -1
  78. package/template/playwright.config.ts +1 -1
  79. package/template/src/index-resource.tsx +1 -1
  80. package/template/src/styles/globals.css +2 -2
  81. package/template/tests/e2e/albums.spec.ts +13 -13
  82. package/template/tests/e2e/carousel.spec.ts +11 -11
  83. package/template/tests/e2e/map.spec.ts +16 -16
  84. package/template/tests/e2e/review.spec.ts +25 -25
  85. package/dist/chatgpt/globals.css +0 -2642
  86. package/dist/host/chatgpt/use-file-download.d.ts +0 -33
  87. package/dist/simulator/index.cjs +0 -74
  88. /package/dist/{simulator → inspector}/host-styles.d.ts +0 -0
  89. /package/dist/{simulator → inspector}/simple-sidebar.d.ts +0 -0
  90. /package/dist/{simulator → inspector}/theme-provider.d.ts +0 -0
@@ -83,7 +83,7 @@ var DEFAULT_STYLE_VARIABLES = {
83
83
  "--shadow-lg": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"
84
84
  };
85
85
  //#endregion
86
- //#region src/simulator/hosts.ts
86
+ //#region src/inspector/hosts.ts
87
87
  var registry = /* @__PURE__ */ new Map();
88
88
  /** Register a host shell. Idempotent — re-registering with the same id replaces. */
89
89
  function registerHostShell(shell) {
@@ -98,7 +98,7 @@ function getRegisteredHosts() {
98
98
  return Array.from(registry.values());
99
99
  }
100
100
  //#endregion
101
- //#region src/simulator/simulator-types.ts
101
+ //#region src/inspector/inspector-types.ts
102
102
  var SCREEN_WIDTHS = {
103
103
  "mobile-s": 375,
104
104
  "mobile-l": 425,
@@ -1253,9 +1253,9 @@ function aQ(X, Y) {
1253
1253
  return JSON.stringify(X) === JSON.stringify(Y);
1254
1254
  }
1255
1255
  //#endregion
1256
- //#region src/simulator/mcp-app-host.ts
1256
+ //#region src/inspector/mcp-app-host.ts
1257
1257
  var DEFAULT_HOST_INFO = {
1258
- name: "SunpeakSimulator",
1258
+ name: "SunpeakInspector",
1259
1259
  version: "1.0.0"
1260
1260
  };
1261
1261
  var DEFAULT_HOST_CAPABILITIES = {
@@ -1269,8 +1269,8 @@ var DEFAULT_HOST_CAPABILITIES = {
1269
1269
  sandbox: {}
1270
1270
  };
1271
1271
  /**
1272
- * MCP Apps host for the Sunpeak simulator.
1273
- * Wraps AppBridge to provide a simpler API for the simulator.
1272
+ * MCP Apps host for the Sunpeak inspector.
1273
+ * Wraps AppBridge to provide a simpler API for the inspector.
1274
1274
  * Connects to an iframe via PostMessageTransport.
1275
1275
  */
1276
1276
  var McpAppHost = class {
@@ -1351,7 +1351,7 @@ var McpAppHost = class {
1351
1351
  console.log("[MCP App] callServerTool:", params.name, params.arguments);
1352
1352
  return { content: [{
1353
1353
  type: "text",
1354
- text: `[Simulator] Tool "${params.name}" called (no handler configured)`
1354
+ text: `[Inspector] Tool "${params.name}" called (no handler configured)`
1355
1355
  }] };
1356
1356
  };
1357
1357
  this.bridge.ondownloadfile = async ({ contents }) => {
@@ -1494,7 +1494,7 @@ var McpAppHost = class {
1494
1494
  /**
1495
1495
  * Debug: Inject state directly into the app's useAppState hook.
1496
1496
  * This bypasses the normal MCP Apps protocol and is intended for
1497
- * simulator testing/debugging only.
1497
+ * inspector testing/debugging only.
1498
1498
  */
1499
1499
  injectState(state) {
1500
1500
  const win = this._contentWindow;
@@ -1509,7 +1509,7 @@ var McpAppHost = class {
1509
1509
  }
1510
1510
  /**
1511
1511
  * Update mutable options (callbacks) after construction.
1512
- * Allows the simulator to swap handlers (e.g. onCallTool) without
1512
+ * Allows the inspector to swap handlers (e.g. onCallTool) without
1513
1513
  * recreating the host and tearing down the iframe connection.
1514
1514
  */
1515
1515
  updateOptions(partial) {
@@ -1520,13 +1520,13 @@ var McpAppHost = class {
1520
1520
  }
1521
1521
  };
1522
1522
  //#endregion
1523
- //#region src/simulator/mock-openai-runtime.ts
1523
+ //#region src/inspector/mock-openai-runtime.ts
1524
1524
  /**
1525
- * Mock OpenAI runtime for the simulator.
1525
+ * Mock OpenAI runtime for the inspector.
1526
1526
  *
1527
1527
  * ChatGPT-specific hooks (useUploadFile, useRequestModal, etc.) call
1528
1528
  * `window.openai` directly — they don't use the MCP protocol. When the
1529
- * ChatGPT host is selected in the simulator, we inject this mock into
1529
+ * ChatGPT host is selected in the inspector, we inject this mock into
1530
1530
  * the iframe's window so those hooks work during local development.
1531
1531
  */
1532
1532
  /**
@@ -1536,23 +1536,23 @@ var McpAppHost = class {
1536
1536
  */
1537
1537
  var MOCK_OPENAI_RUNTIME_SCRIPT = [
1538
1538
  "window.openai={",
1539
- "uploadFile:function(f){console.log(\"[Simulator] uploadFile:\",f.name);",
1539
+ "uploadFile:function(f){console.log(\"[Inspector] uploadFile:\",f.name);",
1540
1540
  "return Promise.resolve({fileId:\"sim_file_\"+Date.now()})},",
1541
- "getFileDownloadUrl:function(p){console.log(\"[Simulator] getFileDownloadUrl:\",p.fileId);",
1542
- "return Promise.resolve({downloadUrl:\"https://simulator.local/files/\"+p.fileId})},",
1543
- "requestModal:function(p){console.log(\"[Simulator] requestModal:\",JSON.stringify(p));",
1541
+ "getFileDownloadUrl:function(p){console.log(\"[Inspector] getFileDownloadUrl:\",p.fileId);",
1542
+ "return Promise.resolve({downloadUrl:\"https://inspector.local/files/\"+p.fileId})},",
1543
+ "requestModal:function(p){console.log(\"[Inspector] requestModal:\",JSON.stringify(p));",
1544
1544
  "return Promise.resolve()},",
1545
- "requestCheckout:function(s){console.log(\"[Simulator] requestCheckout:\",JSON.stringify(s));",
1545
+ "requestCheckout:function(s){console.log(\"[Inspector] requestCheckout:\",JSON.stringify(s));",
1546
1546
  "return Promise.resolve({id:\"sim_order_\"+Date.now(),checkout_session_id:s.id||\"sim_session\",status:\"completed\"})},",
1547
- "requestClose:function(){console.log(\"[Simulator] requestClose\")},",
1548
- "requestDisplayMode:function(p){console.log(\"[Simulator] requestDisplayMode:\",p.mode);",
1547
+ "requestClose:function(){console.log(\"[Inspector] requestClose\")},",
1548
+ "requestDisplayMode:function(p){console.log(\"[Inspector] requestDisplayMode:\",p.mode);",
1549
1549
  "return Promise.resolve()},",
1550
- "sendFollowUpMessage:function(p){console.log(\"[Simulator] sendFollowUpMessage:\",p.prompt)},",
1551
- "openExternal:function(p){console.log(\"[Simulator] openExternal:\",p.href);window.open(p.href,\"_blank\")}",
1550
+ "sendFollowUpMessage:function(p){console.log(\"[Inspector] sendFollowUpMessage:\",p.prompt)},",
1551
+ "openExternal:function(p){console.log(\"[Inspector] openExternal:\",p.href);window.open(p.href,\"_blank\")}",
1552
1552
  "};"
1553
1553
  ].join("");
1554
1554
  //#endregion
1555
- //#region src/simulator/sandbox-proxy.ts
1555
+ //#region src/inspector/sandbox-proxy.ts
1556
1556
  /**
1557
1557
  * Sandbox proxy for the double-iframe architecture.
1558
1558
  *
@@ -1563,7 +1563,7 @@ var MOCK_OPENAI_RUNTIME_SCRIPT = [
1563
1563
  * The proxy relays PostMessage between the host (parent) and the app (inner iframe),
1564
1564
  * providing origin isolation and security boundaries.
1565
1565
  *
1566
- * The simulator replicates this architecture so apps are tested under the same
1566
+ * The inspector replicates this architecture so apps are tested under the same
1567
1567
  * iframe nesting they'll encounter in production.
1568
1568
  *
1569
1569
  * Protocol:
@@ -1779,7 +1779,7 @@ iframe { border: none; width: 100%; height: 100%; display: block; }
1779
1779
  </html>`;
1780
1780
  }
1781
1781
  //#endregion
1782
- //#region src/simulator/iframe-resource.tsx
1782
+ //#region src/inspector/iframe-resource.tsx
1783
1783
  /**
1784
1784
  * Allowed origins for cross-origin script loading.
1785
1785
  * - Local development: localhost, 127.0.0.1, file://
@@ -1942,7 +1942,7 @@ function generateScriptHtml(scriptSrc, theme, cspPolicy, platformScript) {
1942
1942
  /**
1943
1943
  * Build the iframe `allow` attribute from resource-declared permissions.
1944
1944
  * Maps McpUiResourcePermissions to Permission Policy directives and
1945
- * combines them with simulator baseline permissions.
1945
+ * combines them with inspector baseline permissions.
1946
1946
  */
1947
1947
  function buildIframeAllow(permissions) {
1948
1948
  const parts = ["local-network-access *"];
@@ -2168,12 +2168,12 @@ function IframeResource({ src, scriptSrc, hostContext, toolInput, toolInputParti
2168
2168
  });
2169
2169
  }
2170
2170
  //#endregion
2171
- //#region src/simulator/use-simulator-state.ts
2171
+ //#region src/inspector/use-inspector-state.ts
2172
2172
  var DEFAULT_THEME = "dark";
2173
2173
  var DEFAULT_DISPLAY_MODE = "inline";
2174
2174
  var DEFAULT_PLATFORM = "desktop";
2175
2175
  /**
2176
- * Parse URL params for initial simulator values.
2176
+ * Parse URL params for initial inspector values.
2177
2177
  * Supported params:
2178
2178
  * - simulation: simulation name (e.g., 'show-albums')
2179
2179
  * - theme: 'light' | 'dark'
@@ -2239,7 +2239,7 @@ function parseUrlParams() {
2239
2239
  prodResources
2240
2240
  };
2241
2241
  }
2242
- function useSimulatorState({ simulations, defaultHost = "chatgpt" }) {
2242
+ function useInspectorState({ simulations, defaultHost = "chatgpt" }) {
2243
2243
  const simulationNames = Object.keys(simulations).filter((name) => simulations[name].resource).sort((a, b) => {
2244
2244
  const simA = simulations[a];
2245
2245
  const simB = simulations[b];
@@ -2491,7 +2491,7 @@ function useSimulatorState({ simulations, defaultHost = "chatgpt" }) {
2491
2491
  };
2492
2492
  }
2493
2493
  //#endregion
2494
- //#region src/simulator/use-mcp-connection.ts
2494
+ //#region src/inspector/use-mcp-connection.ts
2495
2495
  /**
2496
2496
  * Hook for managing MCP server connection status via the dev server proxy.
2497
2497
  *
@@ -2501,7 +2501,7 @@ function useSimulatorState({ simulations, defaultHost = "chatgpt" }) {
2501
2501
  *
2502
2502
  * This split avoids React StrictMode issues: the mount-only health check runs
2503
2503
  * once (or safely twice with cancellation), while explicit `reconnect()` calls
2504
- * are triggered by the Simulator's URL-change effect.
2504
+ * are triggered by the Inspector's URL-change effect.
2505
2505
  */
2506
2506
  function useMcpConnection(initialServerUrl) {
2507
2507
  const [status, setStatus] = (0, react.useState)(initialServerUrl ? "connecting" : "disconnected");
@@ -2564,7 +2564,7 @@ function useMcpConnection(initialServerUrl) {
2564
2564
  };
2565
2565
  }
2566
2566
  //#endregion
2567
- //#region src/simulator/theme-provider.tsx
2567
+ //#region src/inspector/theme-provider.tsx
2568
2568
  var ThemeProviderContext = react.createContext(void 0);
2569
2569
  /** Default theme applier: sets data-theme attribute on document.documentElement */
2570
2570
  function defaultApplyTheme(theme) {
@@ -2594,7 +2594,7 @@ var useThemeContext = () => {
2594
2594
  return context;
2595
2595
  };
2596
2596
  //#endregion
2597
- //#region src/simulator/simple-sidebar.tsx
2597
+ //#region src/inspector/simple-sidebar.tsx
2598
2598
  var DEFAULT_SIDEBAR_WIDTH = 260;
2599
2599
  function ChevronRightIcon() {
2600
2600
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
@@ -2634,7 +2634,7 @@ function SimpleSidebar({ children, controls, headerRight }) {
2634
2634
  };
2635
2635
  }, [isResizing]);
2636
2636
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2637
- className: "sunpeak-simulator-root flex h-screen w-full overflow-hidden relative",
2637
+ className: "sunpeak-inspector-root flex h-screen w-full overflow-hidden relative",
2638
2638
  children: [
2639
2639
  isResizing && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: "fixed inset-0 z-50 cursor-col-resize" }),
2640
2640
  isDrawerOpen && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -2964,13 +2964,13 @@ function resolveServerToolResult(mock, args) {
2964
2964
  for (const entry of mock) if (Object.entries(entry.when).every(([key, value]) => args != null && args[key] === value)) return entry.result;
2965
2965
  }
2966
2966
  //#endregion
2967
- //#region src/simulator/simulator.tsx
2967
+ //#region src/inspector/inspector.tsx
2968
2968
  var DOCS_BASE_URL = "https://sunpeak.ai/docs";
2969
2969
  /** Check whether a simulation has user-authored fixture data. */
2970
2970
  function hasFixtureData(sim) {
2971
2971
  return sim.toolResult != null || sim.toolInput != null || sim.serverTools != null;
2972
2972
  }
2973
- function Simulator({ children, simulations: initialSimulations = {}, appName = "Sunpeak", appIcon, defaultHost = "chatgpt", onCallTool, onCallToolDirect, defaultProdResources = false, hideSimulatorModes = false, demoMode = false, sandboxUrl, mcpServerUrl }) {
2973
+ function Inspector({ children, simulations: initialSimulations = {}, appName = "Sunpeak", appIcon, defaultHost = "chatgpt", onCallTool, onCallToolDirect, defaultProdResources = false, hideInspectorModes = false, demoMode = false, sandboxUrl, mcpServerUrl }) {
2974
2974
  const [simulations, setSimulations] = react.useState(initialSimulations);
2975
2975
  react.useEffect(() => {
2976
2976
  setSimulations(initialSimulations);
@@ -3006,11 +3006,10 @@ function Simulator({ children, simulations: initialSimulations = {}, appName = "
3006
3006
  noMockData: false
3007
3007
  };
3008
3008
  const params = new URLSearchParams(window.location.search);
3009
- const prodTools = params.get("prodTools") === "true";
3010
3009
  return {
3011
3010
  tool: params.get("tool"),
3012
3011
  simulation: params.get("simulation"),
3013
- noMockData: prodTools
3012
+ noMockData: false
3014
3013
  };
3015
3014
  }, []);
3016
3015
  const [selectedToolName, setSelectedToolName] = react.useState(() => {
@@ -3040,7 +3039,7 @@ function Simulator({ children, simulations: initialSimulations = {}, appName = "
3040
3039
  }
3041
3040
  const effectiveSimulationName = activeSimulationName ?? selectedToolInfo?.simNames[0] ?? "";
3042
3041
  const currentSim = simulations[effectiveSimulationName];
3043
- const state = useSimulatorState({
3042
+ const state = useInspectorState({
3044
3043
  simulations,
3045
3044
  defaultHost
3046
3045
  });
@@ -3180,7 +3179,7 @@ function Simulator({ children, simulations: initialSimulations = {}, appName = "
3180
3179
  if (onCallTool) return onCallTool(params);
3181
3180
  return { content: [{
3182
3181
  type: "text",
3183
- text: `[Simulator] Tool "${params.name}" called — no serverTools mock found in simulation "${effectiveSimulationName}".`
3182
+ text: `[Inspector] Tool "${params.name}" called — no serverTools mock found in simulation "${effectiveSimulationName}".`
3184
3183
  }] };
3185
3184
  }, [
3186
3185
  onCallTool,
@@ -3372,7 +3371,7 @@ function Simulator({ children, simulations: initialSimulations = {}, appName = "
3372
3371
  disabled: demoMode
3373
3372
  })
3374
3373
  }),
3375
- !hideSimulatorModes && !demoMode && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SidebarCheckbox, {
3374
+ !hideInspectorModes && !demoMode && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SidebarCheckbox, {
3376
3375
  checked: prodResources,
3377
3376
  onChange: setProdResources,
3378
3377
  label: "Prod Resources",
@@ -3445,7 +3444,7 @@ function Simulator({ children, simulations: initialSimulations = {}, appName = "
3445
3444
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SidebarControl, {
3446
3445
  label: "Width",
3447
3446
  tooltip: "Chat width",
3448
- docsPath: "api-reference/simulations/simulator",
3447
+ docsPath: "api-reference/simulations/inspector",
3449
3448
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SidebarSelect, {
3450
3449
  value: state.screenWidth,
3451
3450
  onChange: (value) => state.setScreenWidth(value),
@@ -3819,6 +3818,12 @@ Object.defineProperty(exports, "IframeResource", {
3819
3818
  return IframeResource;
3820
3819
  }
3821
3820
  });
3821
+ Object.defineProperty(exports, "Inspector", {
3822
+ enumerable: true,
3823
+ get: function() {
3824
+ return Inspector;
3825
+ }
3826
+ });
3822
3827
  Object.defineProperty(exports, "McpAppHost", {
3823
3828
  enumerable: true,
3824
3829
  get: function() {
@@ -3879,12 +3884,6 @@ Object.defineProperty(exports, "SimpleSidebar", {
3879
3884
  return SimpleSidebar;
3880
3885
  }
3881
3886
  });
3882
- Object.defineProperty(exports, "Simulator", {
3883
- enumerable: true,
3884
- get: function() {
3885
- return Simulator;
3886
- }
3887
- });
3888
3887
  Object.defineProperty(exports, "ThemeProvider", {
3889
3888
  enumerable: true,
3890
3889
  get: function() {
@@ -3921,16 +3920,16 @@ Object.defineProperty(exports, "resolveServerToolResult", {
3921
3920
  return resolveServerToolResult;
3922
3921
  }
3923
3922
  });
3924
- Object.defineProperty(exports, "useMcpConnection", {
3923
+ Object.defineProperty(exports, "useInspectorState", {
3925
3924
  enumerable: true,
3926
3925
  get: function() {
3927
- return useMcpConnection;
3926
+ return useInspectorState;
3928
3927
  }
3929
3928
  });
3930
- Object.defineProperty(exports, "useSimulatorState", {
3929
+ Object.defineProperty(exports, "useMcpConnection", {
3931
3930
  enumerable: true,
3932
3931
  get: function() {
3933
- return useSimulatorState;
3932
+ return useMcpConnection;
3934
3933
  }
3935
3934
  });
3936
3935
  Object.defineProperty(exports, "useThemeContext", {
@@ -3940,4 +3939,4 @@ Object.defineProperty(exports, "useThemeContext", {
3940
3939
  }
3941
3940
  });
3942
3941
 
3943
- //# sourceMappingURL=simulator-eU6sQTje.cjs.map
3942
+ //# sourceMappingURL=inspector-CByJjmPD.cjs.map