sunpeak 0.10.1 → 0.10.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 (45) hide show
  1. package/README.md +2 -2
  2. package/dist/mcp/entry.cjs.map +1 -1
  3. package/dist/mcp/entry.js.map +1 -1
  4. package/dist/server-310A1k9o.js.map +1 -1
  5. package/dist/server-CSybLAYo.cjs.map +1 -1
  6. package/dist/simulator-url-BZBcq5tc.js.map +1 -1
  7. package/dist/simulator-url-D4tFBjeu.cjs.map +1 -1
  8. package/package.json +11 -11
  9. package/template/.sunpeak/dev.tsx +1 -1
  10. package/template/README.md +5 -5
  11. package/template/dist/albums/albums.js +7 -7
  12. package/template/dist/albums/albums.json +1 -1
  13. package/template/dist/carousel/carousel.js +7 -7
  14. package/template/dist/carousel/carousel.json +1 -1
  15. package/template/dist/map/map.js +8 -8
  16. package/template/dist/map/map.json +1 -1
  17. package/template/dist/review/review.js +7 -7
  18. package/template/dist/review/review.json +1 -1
  19. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_Avatar.js +1 -2
  20. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_Avatar.js.map +1 -1
  21. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_Button.js +618 -13
  22. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_Button.js.map +4 -4
  23. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_Checkbox.js +3 -3
  24. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_Checkbox.js.map +1 -1
  25. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_Input.js +2 -2
  26. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_SegmentedControl.js +7 -7
  27. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_SegmentedControl.js.map +1 -1
  28. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_Select.js +2811 -150
  29. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_Select.js.map +4 -4
  30. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_Textarea.js +6 -6
  31. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_Textarea.js.map +1 -1
  32. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_theme.js +1 -1
  33. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_theme.js.map +1 -1
  34. package/template/node_modules/.vite/deps/_metadata.json +39 -39
  35. package/template/node_modules/.vite/deps/{chunk-TSEQUROC.js → chunk-2UDYPUBJ.js} +99 -99
  36. package/template/node_modules/.vite/deps/{chunk-TSEQUROC.js.map → chunk-2UDYPUBJ.js.map} +1 -1
  37. package/template/node_modules/.vite/deps/chunk-6QVG4F2X.js +93 -0
  38. package/template/node_modules/.vite/deps/chunk-6QVG4F2X.js.map +7 -0
  39. package/template/node_modules/.vite/deps/{chunk-2DZGWGIP.js → chunk-P5LK4A7U.js} +3 -3
  40. package/template/node_modules/.vite/deps/{chunk-2DZGWGIP.js.map → chunk-P5LK4A7U.js.map} +1 -1
  41. package/template/node_modules/.vite/deps/{chunk-DYQDWJMS.js → chunk-RYYR2YMB.js} +2 -6
  42. package/template/node_modules/.vite/deps/{chunk-DYQDWJMS.js.map → chunk-RYYR2YMB.js.map} +1 -1
  43. package/template/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -1
  44. package/template/node_modules/.vite/deps/chunk-N6DVYEXK.js +0 -628
  45. package/template/node_modules/.vite/deps/chunk-N6DVYEXK.js.map +0 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sunpeak",
3
- "version": "0.10.1",
3
+ "version": "0.10.4",
4
4
  "description": "The ChatGPT App framework. Quickstart, build, & test your ChatGPT App locally!",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -68,7 +68,7 @@
68
68
  "react-dom": "^18.0.0 || ^19.0.0"
69
69
  },
70
70
  "dependencies": {
71
- "@modelcontextprotocol/sdk": "^1.25.1",
71
+ "@modelcontextprotocol/sdk": "^1.25.2",
72
72
  "clsx": "^2.1.1",
73
73
  "tailwind-merge": "^3.4.0",
74
74
  "zod": "^3.25.76"
@@ -78,27 +78,27 @@
78
78
  "@testing-library/jest-dom": "^6.9.1",
79
79
  "@testing-library/react": "^16.3.1",
80
80
  "@testing-library/user-event": "^14.6.1",
81
- "@types/node": "^22.15.3",
82
- "@types/react": "^19.2.7",
81
+ "@types/node": "^22.19.6",
82
+ "@types/react": "^19.2.8",
83
83
  "@types/react-dom": "^19.2.3",
84
- "@typescript-eslint/eslint-plugin": "^8.50.1",
85
- "@typescript-eslint/parser": "^8.50.1",
86
- "@vitejs/plugin-react": "^4.5.2",
84
+ "@typescript-eslint/eslint-plugin": "^8.53.0",
85
+ "@typescript-eslint/parser": "^8.53.0",
86
+ "@vitejs/plugin-react": "^4.7.0",
87
87
  "eslint": "^9.39.2",
88
88
  "eslint-config-prettier": "^10.1.8",
89
89
  "eslint-plugin-react": "^7.37.5",
90
90
  "eslint-plugin-react-hooks": "^7.0.1",
91
- "jsdom": "^27.3.0",
91
+ "jsdom": "^27.4.0",
92
92
  "prettier": "^3.7.4",
93
- "react": "^19.2.0",
94
- "react-dom": "^19.2.0",
93
+ "react": "^19.2.3",
94
+ "react-dom": "^19.2.3",
95
95
  "tailwindcss": "^4.1.18",
96
96
  "ts-node": "^10.9.2",
97
97
  "tsx": "^4.21.0",
98
98
  "typescript": "^5.9.3",
99
99
  "vite": "^5.4.21",
100
100
  "vite-plugin-dts": "^4.5.4",
101
- "vitest": "^4.0.12"
101
+ "vitest": "^4.0.17"
102
102
  },
103
103
  "repository": {
104
104
  "type": "git",
@@ -4,7 +4,7 @@
4
4
  * This file bootstraps the ChatGPT simulator for development
5
5
  *
6
6
  * Auto-discovers simulations and resources by file naming convention:
7
- * - resources/{resource}/{resource}-{tool}-simulation.json (e.g., resources/albums/albums-show-simulation.json)
7
+ * - resources/{resource}/{resource}-{scenario}-simulation.json (e.g., resources/albums/albums-show-simulation.json)
8
8
  * - resources/{resource}/{resource}-resource.json
9
9
  * - resources/{resource}/{Resource}Resource component (PascalCase)
10
10
  */
@@ -101,11 +101,11 @@ To add a new UI (MCP Resource), create a new directory under `src/resources/` wi
101
101
 
102
102
  ```
103
103
  src/resources/NAME/
104
- ├── NAME-resource.tsx # React component (required)
105
- ├── NAME-resource.json # Resource metadata (required)
106
- ├── NAME-resource.test.tsx # Unit tests (optional)
107
- ├── NAME-TOOLNAME-simulation.json # Simulation data (optional)
108
- └── components/ # UI components (optional)
104
+ ├── NAME-resource.tsx # React component (required)
105
+ ├── NAME-resource.json # Resource metadata (required)
106
+ ├── NAME-resource.test.tsx # Unit tests (optional)
107
+ ├── NAME-SCENARIO-simulation.json # Simulation data (optional)
108
+ └── components/ # UI components (optional)
109
109
  ```
110
110
 
111
111
  Only the resource files (`.tsx` and `.json`) are required to generate a production build and ship a UI. Create the simulation file if you want to preview your resource in `sunpeak dev` or `sunpeak mcp`.