Releases: Sunpeak-AI/sunpeak
Release list
v0.11.1
This release comes with Hot Module Reload in the ChatGPT MCP server. No more 5-click manual refreshes when iterating on resources in ChatGPT.
- The
sunpeak mcpcommand has been removed in favor of a combinedsunpeak devcommand.sunpeak devnow runs both the local web server and mcp server at the same time.
Full Changelog: v0.10.6...v0.11.1
v0.10.7
v0.10.6
v0.10.5
v0.10.4
v0.10.3
v0.10.1
Run and share resources and mock data in the sunpeak resource repository!
To accommodate the growing testing use case and increase in simulation files, the sunpeak framework has switched from a domain-specific directory structure to a resource-specific structure.
Instead of src/resources/, src/components/, and src/simulations/, sunpeak now just uses src/resources/RESOURCE folders (e.g. src/resources/albums/), with all files related to that particular resource co-located in the same directory. For example:
my-app/
├── src/
│ └── resources/
│ ├── albums/
│ │ ├── albums-resource.tsx
│ │ ├── albums-resource.json
│ │ ├── albums-show-simulation.json
│ │ └── components/
│ └── review/
│ ├── review-resource.tsx
│ ├── review-resource.json
│ └── review-{scenario}-simulation.json
├── package.json
└── tsconfig.json
When you upgrade your sunpeak CLI (sunpeak upgrade) and package to 0.10.1, rearrange your files into the above format for compatibility with the updated sunpeak CLI. Note also that sunpeak build also outputs built .js files in the same pattern in dist/, including simulations for remote testing. For example:
dist/
├── search/
│ ├── search.js # Built resource bundle
│ ├── search.json # Resource metadata with generated URI
│ └── search-SCENARIO-simulation.json # Copied simulation files
├── calendar/
│ ├── calendar.js
│ ├── calendar.json
│ └── calendar-SCENARIO-simulation.json
Full Changelog: v0.9.12...v0.10.1