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.
Files changed (33) hide show
  1. package/dist/chatgpt/globals.css +11 -0
  2. package/dist/index.cjs +3 -2
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.js +3 -2
  5. package/dist/index.js.map +1 -1
  6. package/dist/mcp/index.cjs +34 -3
  7. package/dist/mcp/index.cjs.map +1 -1
  8. package/dist/mcp/index.js +34 -3
  9. package/dist/mcp/index.js.map +1 -1
  10. package/dist/style.css +1 -4420
  11. package/package.json +2 -2
  12. package/template/README.md +5 -6
  13. package/template/dev/main.tsx +33 -2
  14. package/template/mcp/server.ts +1 -1
  15. package/template/nodemon.json +7 -0
  16. package/template/package.json +3 -1
  17. package/template/scripts/build-all.mjs +74 -9
  18. package/template/src/components/resources/AlbumsResource.tsx +1 -1
  19. package/template/src/components/resources/{PlacesResource.tsx → CarouselResource.tsx} +10 -9
  20. package/template/src/components/resources/CounterResource.tsx +1 -1
  21. package/template/src/components/resources/index.ts +1 -1
  22. package/template/src/index-resource.tsx +11 -0
  23. package/template/src/simulations/albums-simulation.ts +6 -8
  24. package/template/src/simulations/carousel-simulation.ts +6 -8
  25. package/template/src/simulations/counter-simulation.ts +6 -8
  26. package/template/src/simulations/index.ts +12 -7
  27. package/template/vite.config.build.ts +3 -3
  28. package/template/src/index-albums.tsx +0 -9
  29. package/template/src/index-carousel.tsx +0 -9
  30. package/template/src/index-counter.tsx +0 -9
  31. package/template/src/simulations/simulation-configs.ts +0 -23
  32. package/template/src/simulations/simulations.ts +0 -36
  33. 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
  ) });