Skip to content

Releases: Sunpeak-AI/sunpeak

v0.20.16

Choose a tag to compare

@abewheel abewheel released this 03 May 11:02

What's Changed

Full Changelog: v0.20.15...v0.20.16

v0.20.15

Choose a tag to compare

@abewheel abewheel released this 02 May 02:51

What's Changed

  • Validate stored inspector prefs and persist containerMaxWidth by @abewheel in #57
  • Add stored inspector prefs by @udaykakade25

Full Changelog: v0.20.13...v0.20.15

v0.20.11

Choose a tag to compare

@abewheel abewheel released this 28 Apr 06:55

What's Changed

Full Changelog: v0.20.10...v0.20.11

v0.20.9

Choose a tag to compare

@abewheel abewheel released this 23 Apr 22:16

Full Changelog: v0.20.8...v0.20.9

v0.20.7

Choose a tag to compare

@abewheel abewheel released this 16 Apr 01:36

What's Changed

  • Fix test init: remove unit tests, add ESM compat by @abewheel in #54

Full Changelog: v0.20.6...v0.20.7

v0.20.6

Choose a tag to compare

@abewheel abewheel released this 16 Apr 00:19

What's Changed

  • Fix flaky e2e tests, broken evals, and API key validation in new projects by @abewheel in #53

Full Changelog: v0.20.5...v0.20.6

v0.20.5

Choose a tag to compare

@abewheel abewheel released this 15 Apr 21:05

What's Changed

  • Restructure docs around three layers with per-layer quickstarts by @abewheel in #51

Full Changelog: v0.20.4...v0.20.5

v0.20.2

Choose a tag to compare

@abewheel abewheel released this 15 Apr 00:38

What's Changed

  • Fix MCP server redirects, resource templates, and test reliability by @abewheel in #50

Full Changelog: v0.20.1...v0.20.2

v0.20.1

Choose a tag to compare

@abewheel abewheel released this 14 Apr 20:56

⚠️ Breaking Changes ⚠️

This upgrade helps sunpeak testing run embedded in other frameworks.

Test fixture API redesigned

The single mcp fixture has been split into two:

  • mcp — MCP protocol methods only (callToollistToolslistResourcesreadResource)
  • inspector — sunpeak inspector rendering (renderToolhostpage)

Migration

Copy

Before After
{ mcp } (rendering tests) { inspector }
mcp.callTool('tool', {}, { theme }) inspector.renderTool('tool', undefined, { theme })
mcp.callTool('tool') with result.app() inspector.renderTool('tool')
mcp.screenshot('name') result.screenshot('name')
mcp.host inspector.host
mcp.page inspector.page
mcp.openTool(...) Removed
mcp.runTool(...) Removed
mcp.setTheme(...) Removed. Pass { theme } option to renderTool.
mcp.setDisplayMode(...) Removed. Pass { displayMode } option to renderTool.

Quick rule: If your test uses result.app()themedisplayMode, or screenshot, change { mcp } to { inspector } and callTool to renderTool. Protocol-only tests (callTool without .app()) stay on mcp unchanged.

New APIs

  • mcp.listTools()mcp.listResources()mcp.readResource(uri) — protocol-level assertions
  • result.source — 'fixture' or 'server', tells you which path ran
  • result.screenshot() — visual regression on the result object
  • inspector.renderTool() with input calls the real server; without uses simulation fixtures
  • defineConfig({ server: { env, cwd }, timeout }) — env vars, working directory, startup timeout
  • sunpeak inspect --env KEY=VALUE --cwd <path> — CLI equivalents
  • inspectServer() from sunpeak/inspect — programmatic API for embedding

Update the coding agent skill

pnpm dlx skills add Sunpeak-AI/sunpeak@test-mcp-server

The skill includes migration rules so your coding agent can update existing tests automatically.

What's Changed

  • Improve testing framework for Python MCP servers and embedding by @abewheel in #49

Full Changelog: v0.19.15...v0.20.1

v0.19.12

Choose a tag to compare

@abewheel abewheel released this 10 Apr 21:08

What's Changed

  • Improve eval testing onboarding and fix global CLI resolution by @abewheel in #47

Full Changelog: v0.19.11...v0.19.12