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.
- package/bin/commands/dev.mjs +12 -0
- package/bin/commands/inspect.mjs +9 -0
- package/dist/chatgpt/index.cjs +1 -1
- package/dist/chatgpt/index.js +1 -1
- package/dist/claude/index.cjs +1 -1
- package/dist/claude/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/simulator/index.cjs +1 -1
- package/dist/simulator/index.js +1 -1
- package/dist/{simulator-CItjfArP.js → simulator-0dAb16Qt.js} +5 -5
- package/dist/{simulator-CItjfArP.js.map → simulator-0dAb16Qt.js.map} +1 -1
- package/dist/{simulator-O8Ok58pT.cjs → simulator-eU6sQTje.cjs} +5 -5
- package/dist/{simulator-O8Ok58pT.cjs.map → simulator-eU6sQTje.cjs.map} +1 -1
- package/package.json +1 -1
- package/template/dist/albums/albums.json +1 -1
- package/template/dist/carousel/carousel.json +1 -1
- package/template/dist/map/map.json +1 -1
- package/template/dist/review/review.json +1 -1
|
@@ -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-
|
|
3943
|
+
//# sourceMappingURL=simulator-eU6sQTje.cjs.map
|