sunpeak 0.5.1 → 0.5.4
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/dist/chatgpt/globals.css +11 -0
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/mcp/index.cjs +34 -3
- package/dist/mcp/index.cjs.map +1 -1
- package/dist/mcp/index.js +34 -3
- package/dist/mcp/index.js.map +1 -1
- package/dist/style.css +1 -4420
- package/package.json +2 -2
- package/template/README.md +5 -6
- package/template/dev/main.tsx +33 -2
- package/template/mcp/server.ts +1 -1
- package/template/nodemon.json +7 -0
- package/template/package.json +3 -1
- package/template/scripts/build-all.mjs +74 -9
- package/template/src/components/resources/AlbumsResource.tsx +1 -1
- package/template/src/components/resources/{PlacesResource.tsx → CarouselResource.tsx} +10 -9
- package/template/src/components/resources/CounterResource.tsx +1 -1
- package/template/src/components/resources/index.ts +1 -1
- package/template/src/index-resource.tsx +11 -0
- package/template/src/simulations/albums-simulation.ts +6 -8
- package/template/src/simulations/carousel-simulation.ts +6 -8
- package/template/src/simulations/counter-simulation.ts +6 -8
- package/template/src/simulations/index.ts +12 -7
- package/template/vite.config.build.ts +3 -3
- package/template/src/index-albums.tsx +0 -9
- package/template/src/index-carousel.tsx +0 -9
- package/template/src/index-counter.tsx +0 -9
- package/template/src/simulations/simulation-configs.ts +0 -23
- package/template/src/simulations/simulations.ts +0 -36
- package/template/src/simulations/types.ts +0 -12
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
@import "@openai/apps-sdk-ui/css";
|
|
3
|
+
|
|
4
|
+
/* Scan simulator source files for Tailwind classes */
|
|
5
|
+
@source "./**/*.{ts,tsx}";
|
|
6
|
+
|
|
7
|
+
/* Required for Tailwind to find class references in Apps SDK UI components. */
|
|
8
|
+
@source "../node_modules/@openai/apps-sdk-ui";
|
|
9
|
+
|
|
10
|
+
/* Configure dark mode to use data-theme attribute (OpenAI SDK standard) */
|
|
11
|
+
@custom-variant dark (&:where([data-theme="dark"], [data-theme="dark"] *));
|
package/dist/index.cjs
CHANGED
|
@@ -3709,7 +3709,7 @@ function ChatGPTSimulator({
|
|
|
3709
3709
|
const toolTitle = sim.tool.title || sim.tool.name;
|
|
3710
3710
|
return {
|
|
3711
3711
|
value: getSimulationKey(sim),
|
|
3712
|
-
label: `${resourceTitle} ${toolTitle}`
|
|
3712
|
+
label: `${resourceTitle}: ${toolTitle}`
|
|
3713
3713
|
};
|
|
3714
3714
|
})
|
|
3715
3715
|
}
|
|
@@ -3759,7 +3759,8 @@ function ChatGPTSimulator({
|
|
|
3759
3759
|
appIcon,
|
|
3760
3760
|
userMessage,
|
|
3761
3761
|
children: content
|
|
3762
|
-
}
|
|
3762
|
+
},
|
|
3763
|
+
selectedKey
|
|
3763
3764
|
)
|
|
3764
3765
|
}
|
|
3765
3766
|
) });
|