sunpeak 0.17.5 → 0.17.7

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.
@@ -3289,7 +3289,7 @@ function Simulator({ children, simulations: initialSimulations = {}, appName = "
3289
3289
  injectOpenAIRuntime: state.activeHost === "chatgpt",
3290
3290
  sandboxUrl,
3291
3291
  className: "h-full w-full"
3292
- }, `${state.activeHost}-${effectiveResourceUrl}-${prodResources}-${prodResourcesGeneration}`)
3292
+ }, `${state.activeHost}-${state.selectedSimulationName}-${effectiveResourceUrl}-${prodResources}-${prodResourcesGeneration}`)
3293
3293
  });
3294
3294
  else if (!prodResources && state.resourceScript) content = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3295
3295
  className: "h-full w-full",
@@ -3314,7 +3314,7 @@ function Simulator({ children, simulations: initialSimulations = {}, appName = "
3314
3314
  injectOpenAIRuntime: state.activeHost === "chatgpt",
3315
3315
  sandboxUrl,
3316
3316
  className: "h-full w-full"
3317
- }, `${state.activeHost}-${state.resourceScript}`)
3317
+ }, `${state.activeHost}-${state.selectedSimulationName}-${state.resourceScript}`)
3318
3318
  });
3319
3319
  else content = children;
3320
3320
  const applyTheme = activeShell?.applyTheme;
@@ -3418,10 +3418,10 @@ function Simulator({ children, simulations: initialSimulations = {}, appName = "
3418
3418
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SidebarSelect, {
3419
3419
  value: activeSimulationName ?? "__none__",
3420
3420
  onChange: (value) => setActiveSimulationName(value === "__none__" ? null : value),
3421
- options: [{
3421
+ options: [...demoMode ? [] : [{
3422
3422
  value: "__none__",
3423
3423
  label: selectedToolInfo && selectedToolInfo.fixtureSimNames.length > 0 ? "None (call server)" : "None"
3424
- }, ...(selectedToolInfo?.fixtureSimNames ?? []).map((simName) => ({
3424
+ }], ...(selectedToolInfo?.fixtureSimNames ?? []).map((simName) => ({
3425
3425
  value: simName,
3426
3426
  label: simName
3427
3427
  }))]
@@ -3940,4 +3940,4 @@ Object.defineProperty(exports, "useThemeContext", {
3940
3940
  }
3941
3941
  });
3942
3942
 
3943
- //# sourceMappingURL=simulator-O8Ok58pT.cjs.map
3943
+ //# sourceMappingURL=simulator-eU6sQTje.cjs.map