Skip to content

Releases: Sunpeak-AI/sunpeak

v0.18.2

Choose a tag to compare

@abewheel abewheel released this 25 Mar 02:34

What's Changed

  • Support host-specific _meta.ui.domain with auto-computed defaults by @abewheel in #22

Full Changelog: v0.18.1...v0.18.2

v0.18.1

Choose a tag to compare

@abewheel abewheel released this 24 Mar 18:14

⚠️ Breaking Changes ⚠️

Simulator → Inspector

Everything named "Simulator" is now "Inspector":

v0.17 v0.18
import { Inspector } from 'sunpeak/simulator' import { Inspector } from 'sunpeak/inspector'
createSimulatorUrl() createInspectorUrl()
SimulatorUrlParams InspectorUrlParams
SimulatorProps InspectorProps
SimulatorConfig InspectorConfig
useSimulatorState() useInspectorState()
hideSimulatorModes prop hideInspectorModes
CSS .sunpeak-simulator-root .sunpeak-inspector-root
import { simulator } from 'sunpeak' import { inspector } from 'sunpeak'

Removed deprecated APIs

Removed Replacement
sunpeak/simulator export path sunpeak/inspector
sunpeak/platform export path sunpeak/host
sunpeak/platform/chatgpt export path sunpeak/host/chatgpt
sunpeak/chatgpt/globals.css sunpeak/style.css
detectPlatform() detectHost()
Platform type Host type
useGetFileDownloadUrl() useDownloadFile() from sunpeak
?prodTools=true URL param ?tool=X (without ?simulation=)

Upgrade

sunpeak upgrade

Then find-and-replace:

  • sunpeak/simulatorsunpeak/inspector
  • createSimulatorUrlcreateInspectorUrl
  • SimulatorInspector (component)
  • detectPlatformdetectHost
  • sunpeak/platformsunpeak/host
  • sunpeak/chatgpt/globals.csssunpeak/style.css
  • useGetFileDownloadUrluseDownloadFile (from sunpeak instead of sunpeak/host/chatgpt)

What's Changed

  • Rename Simulator to Inspector, reorganize docs, bump to 0.18.0 by @abewheel in #21

Full Changelog: v0.17.7...v0.18.1

v0.17.7

Choose a tag to compare

@abewheel abewheel released this 24 Mar 17:00

What's Changed

  • Reset app state on simulation switch, fix dev without dist by @abewheel in #20

Full Changelog: v0.17.6...v0.17.7

v0.17.6

Choose a tag to compare

@abewheel abewheel released this 24 Mar 14:04

What's Changed

  • Hide 'None (call server)' from simulation dropdown in demo mode by @abewheel in #19

Full Changelog: v0.17.5...v0.17.6

v0.17.5

Choose a tag to compare

@abewheel abewheel released this 24 Mar 01:55

What's Changed

  • Editable MCP server URL, Tool/Simulation dropdowns, demo mode by @abewheel in #18

Full Changelog: v0.17.4...v0.17.5

v0.17.4

Choose a tag to compare

@abewheel abewheel released this 23 Mar 18:48

What's Changed

Full Changelog: v0.17.3...v0.17.4

v0.17.3

Choose a tag to compare

@abewheel abewheel released this 23 Mar 17:33

What's Changed

  • Fix dist CSS with unprocessed Tailwind directives and e2e port flakiness by @abewheel in #16

Full Changelog: v0.17.2...v0.17.3

v0.17.2

Choose a tag to compare

@abewheel abewheel released this 23 Mar 16:21

What's Changed

  • Fix sunpeak dev/inspect broken when installed as dependency by @abewheel in #15

Full Changelog: v0.17.1...v0.17.2

v0.17.1

Choose a tag to compare

@abewheel abewheel released this 23 Mar 15:46

⚠️ BREAKING CHANGES ⚠️

sunpeak's best-in-class MCP App inspector and testing engine now works with any arbitrary MCP server, not only sunpeak projects!

Breaking Changes in v0.17.0

1. Removed exports from sunpeak/simulator and sunpeak/chatgpt

The following functions and types have been deleted and are no longer available:

Removed export Type
buildDevSimulations function
buildSimulations function
buildResourceMap function
createResourceExports function
BuildSimulationsOptions type
BuildDevSimulationsOptions type
ResourceMetadata type

These were previously importable from sunpeak, sunpeak/simulator, or sunpeak/chatgpt. They are no longer needed because sunpeak dev now discovers tools/resources/simulations via MCP protocol instead of Vite globs.

2. Deleted template files

If you scaffolded a project with sunpeak new, these files in your project are now dead code and should be deleted:

  • .sunpeak/dev.tsx
  • .sunpeak/resource-loader.html
  • .sunpeak/resource-loader.tsx
  • index.html (root)
  • src/resources/index.ts

3. Tool annotations are now explicit

Tool files should specify all three annotation hints explicitly:

- annotations: { readOnlyHint: true },
+ annotations: { readOnlyHint: true, destructiveHint: false, openWorldHint: false },

This is non-breaking at runtime but your tests may fail if they assert on annotations.


Upgrade Instructions

  1. Update sunpeak:

    pnpm update sunpeak@^0.17.0
  2. Delete obsolete files from your project root:

    rm -rf .sunpeak/ index.html src/resources/index.ts
  3. Remove dead imports — if you imported any of the removed functions (buildDevSimulations, buildSimulations, buildResourceMap, createResourceExports), delete those imports. They are no longer needed; sunpeak dev handles simulation discovery automatically via MCP.

  4. Update tool annotations — add explicit destructiveHint and openWorldHint to each tool's annotations object and update any test assertions accordingly.

  5. Run validation:

    pnpm validate

Full Changelog: v0.16.30...v0.17.1

v0.16.29

Choose a tag to compare

@abewheel abewheel released this 22 Mar 15:53

What's Changed

  • Sync ChatGPT simulator CSS with production values by @abewheel in #11

Full Changelog: v0.16.28...v0.16.29