Skip to content

summer-engine 4.0.0

Choose a tag to compare

@mathias-heide mathias-heide released this 16 Oct 02:37
cae419c

3.9.0 and 3.9.1 were not published to npm. 4.0.0 is the first release with everything in them (the [3.9.1] and [3.9.0] sections below), plus these changes.

Summer 4.0: every Summer capability is one operation, named area.action (assets.generate_image, store.publish), with one answer shape, and summer mcp serves them by default. Engine tools keep their 3.x names. For everything else, summer_search finds the operation and its exact input, and summer_call runs it. The summer CLI runs the same operations.

To get the 3.x tools back: start the server with summer mcp --surface v3, or add SUMMER_SURFACE=v3 to the env of your agent's Summer MCP entry. That serves the 3.x tools as before. SUMMER_SURFACE=v3 in your shell also leaves out the new summer <area> <action> commands.

If you signed in with 3.8.0 or earlier, run npx -y summer-engine@latest login once. Generation and the other cloud operations now run on Summer's hosted server, which needs the store sign-in that summer login adds since 3.9.0.

What changes when you update

  • 3.x tool names keep working. summer_call runs any 3.x tool by its old name, on the local server and on Summer's hosted server. While the Summer skills summer setup installed for your user are older than 4.0, summer mcp also lists every 3.x name again (the legacy toolset, local and hosted), each saying which operation replaces it and running as in 3.x. --toolsets legacy or SUMMER_LEGACY_TOOLS=on keeps them listed; SUMMER_LEGACY_TOOLS=off hides them. npx -y summer-engine@latest setup <agent> --yes installs the 4.0 skills. With skills from a plugin or a project folder, update them, or set SUMMER_LEGACY_TOOLS=on to keep the 3.x names listed.
  • summer mcp serves the v4 surface by default (--surface v3 or SUMMER_SURFACE=v3 brings back the 3.x tools). It lists the engine tools under their 3.x names, summer_docs_search and summer_docs_read, and two new tools: summer_search finds any operation, local or cloud, with its exact input, and summer_call runs it. Engine operations run here. Cloud operations run on Summer's hosted server, with the same approvals. Every 3.x tool can still be called through summer_call, by its old name too.
  • One answer shape. Every 4.0 tool answers {ok, status, result}: done, running with a job (jobs.wait waits up to 50 seconds per call), needs_approval with a link for the person, or dry_run with a preview. An error has a code (engine_not_running, not_signed_in, no_credits, invalid_input, ...), a message and exactly one next step. Every change takes dryRun: true (it changes and spends nothing) and an idempotencyKey, so a retry never runs twice.
  • A failed cloud call says what happened. not_signed_in only for a sign-in problem (a revoked or expired store sign-in says npx -y summer-engine login --store --force); forbidden when Summer refuses the account (for example an unconfirmed email). unavailable when nothing reached Summer's hosted server (no connection, the sign-in server down, a 503), or when a read or a dry run was cut off: it is safe to try again. outcome_unknown when a change was cut off after it was sent, because it may have run: call it again only with the same idempotencyKey, or check first. --wait keeps the job id when a wait does not get through. This holds for summer_call, the hosted direct tools and summer <area> <action>.
  • Approvals. A change that needs a person answers needs_approval with a link (https://www.summerengine.com/studio/approvals/<id>) and changes nothing until they approve; jobs.wait follows it to the end. Today that covers publishing a game (Summer Games asks the game's owner), price, sale and A/B test changes, member changes, deletes and anything that contacts people. Studio > Settings > Agent permissions lists the defaults; you can change them soon.
  • summer <area> <action> --field value (left out with SUMMER_SURFACE=v3). The CLI view of the same catalog, with --dry-run, --wait (follows a job or an approval to the end) and --json. It also adds summer whoami, summer ops search <words> and summer ops describe <op>.
  • Generated files land on this machine again. On the v4 surface and in the v4 CLI, assets.generate_image, generate_audio, generate_3d, generate_video, generate_motion, assets.get and jobs.wait take out: a folder or a file path (res:// in a Godot project). The package keeps it (Summer's server never sees it), downloads each file the answer names and adds localPath beside its URL. 3D, video and animation save when jobs.wait sees the job finish, also after an approval. Without out, a generation in the assets profile or the CLI saves into the project's asset folder: Godot assets/, Unity Assets/Summer, Unreal Content/Summer, three.js public/assets. assets.get saves only with out, and sessions with engine tools save only with out, because summer_import_asset_by_id already puts the file in the project. A save never overwrites a file (it takes the next free name and says so), writes only media and model file types (never .cs or .dll), keeps res:// inside the project, downloads only from public https hosts, up to 500 MB. Whatever is not saved is a warning; the answer stays as it was.
  • The assets profile on 4.0. summer mcp --profile assets (what summer setup <agent> --assets-only writes) lists Summer's hosted asset reads and generators, jobs and whoami as direct tools, plus summer_search, summer_call and the docs tools, and its instructions name only tools it lists. Generators run on Summer's hosted server by their 4.0 names; a 3.x generator name called through summer_call still runs the local 3.x tool.
  • Skills use the 4.0 names. The asset, publishing, plans, Summer Apps and Studio skills name the operations (assets.generate_image, store.publish, plans.create, apps.call, studio.open), every skill and reference names the docs tools summer_docs_search and summer_docs_read, and the asset skills save files with out. validate:library fails when a skill or reference names a 3.x docs tool. Engine tools keep their names.
  • The docs describe 4.0. README, AGENTS.md and docs/ now say how to connect (one hosted URL and one sign-in for cloud work, the local server for engine work), how agents call Summer (operations, summer_search and summer_call, one answer shape and its error codes, 3.x names that keep working), what an agent may do on its own (Agent permissions, approvals, Agent activity), how credits and auto top-up work, the two store versions for ChatGPT and Claude's connector directory, and the summer <area> <action> CLI.
  • summer_run_script takes scenePath and is stable. The script runs against the scene you name: Summer opens it first (on its own, never in a batch with an edit), runs the script, then opens the scene you were looking at again. If the scene cannot be opened, the script does not run. The result says what happened in scene_target. Without scenePath it runs against the open scene, as before.
  • Engine operations in the 4.0 catalog. Every engine tool keeps its 3.x name and is now an operation with a title, a summary of 300 characters or fewer, its effect and an example (src/core/ops/engine.ts). On the v4 surface each engine tool lists that summary plus a pointer to its full guide, its hints come from its effect, and it answers in the one answer shape: {ok, status, result}, or one error code with one next step (engine_not_running says to open the project, instead of plain text). The v4 engine tools list takes about half the tokens of the 3.x one.
  • Each engine tool has a guide. summer_docs_read with id tool/<slug> now also returns the tool's full how-to (library/tools/<slug>/GUIDE.md, the text the 3.x MCP description carries). npm run generate:tool-guides keeps the two the same.
  • Reads split from changes. summer_camera_bookmark becomes engine.list_camera_bookmarks (read), engine.save_camera_bookmark and engine.delete_camera_bookmark; summer_ui_actions becomes engine.list_ui_actions (read) and engine.invoke_ui_action. On the v4 surface each is its own tool; the 3.x tools stay as they are.
  • summer_call for engine operations: a dry run checks the input without the engine, ops.describe answers for local operations here, and a bad input points at the tool's guide.
  • Skills teach one script for multi-step scene work. 28 code blocks in 23 skills chained 4 to 15 single scene edits (summer_add_node, summer_set_prop, ...), 197 calls in all; each is now one summer_run_script call with scenePath (the kit-placement example is one summer_batch). scene-scripting is stable and under 200 lines, with the extended ctx API and the recipes in its references/. AGENTS.md, /summer, using-summer, make-game and the agent playbook say it once each: 3 or more scene edits are one summer_run_script with scenePath. 46 script lines in 10 skills that wrote var x := ctx.… (which does not compile: ctx is untyped) now write var x = ctx.…. validate:library fails on a code block with 4 or more single scene edits (unless the line before it says why with <!-- single-edits-ok: … -->) and on := ctx..
  • The operation contract. registry/schemas/operation.schema.json describes an operation (name, effect, approval, input, output), and registry/operations/legacy-names.json maps every 3.x tool name to its operation (summer_set_prop is engine.set_prop, summer_store_submit is store.publish). Conformance fixtures sit next to it.
  • Official MCP Registry. package.json names the server io.github.SummerEngine/summer (mcpName), and the generated server.json lists the npm package and the hosted server. The name keeps the GitHub org's own case, because the registry matches it exactly against the org.
  • The hosted 3.x tools ask for 3.x. The local server mounts Summer's hosted 3.x tools (the 3.x surface and the legacy toolset), and summer tool and summer doctor call them, with ?surface=v3, so they keep their 3.x names when Summer's hosted server serves 4.0 by default.
  • summer doctor checks for the tools of the surface summer mcp will serve (summer_search and summer_call on v4).
  • The per-call usage line also says which operation the call ran, the surface (v3 or v4) and the profile. It never sends arguments or results.

Also in this release

  • Setup never pins an older release. When the CLI that runs summer setup was newer than npm latest, setup wrote summer-engine@next into the agent's MCP entry. next had stayed on 3.1.0, so the agent ran a release from September and silently lost --assets-only, --profile and every newer option. Setup now writes next only when next is this exact version; otherwise it pins this exact version (for example summer-engine@4.0.0), and a build that is not on npm keeps latest and says to use --local-dev. --channel (and SUMMER_CHANNEL) accepts an exact version, and the refresh command summer doctor prints follows the same rule.
  • The release steps (docs/NPM_PUBLISH_QUICK_COMMANDS.md) now point next at every new latest release and create the v<version> tag and GitHub Release from the CHANGELOG.
  • The summer banner no longer prints colour codes when NO_COLOR is set or the output is not a terminal (a log, a pipe, an agent's shell).
  • summer setup notanagent now says the agent name is unknown and lists the supported ones.
  • summer setup codex writes the MCP entry to $CODEX_HOME/config.toml when CODEX_HOME is set, where Codex reads it.
  • summer setup <agent> without --yes says to run it again with --yes to install the skills, instead of printing an internal command.
  • summer setup prints the first few installed skill names and how many more, not every name; --json still lists them all.
  • summer_open is marked as reaching outside the machine (openWorldHint), because it opens summerengine.com pages in the browser.
  • The README starts with Connect. Summer's hosted server, https://mcp.summerengine.com/mcp, comes first, with one install line for Claude Code, Codex, Cursor, VS Code, Devin Desktop and Claude Desktop (plus one-click buttons for Cursor and VS Code), then the local npx -y summer-engine@latest mcp server. The assets-only path offers the hosted server too, names the file formats (GLB, PNG, JPG, WebP, MP3, WAV, MP4) and says how to download a file for any engine or web app. The long agent install playbook is folded away on GitHub; agents still read all of it.
  • The docs describe the shipped product. Publishing to summer.games and Grow are listed as available, not "preview" and "planned", and the "not promised" note is gone. tool/export-game, tool/publish-build, tool/capture-gameplay, skill/multiplayer-publish and skill/summer-analytics are stable, and the tool reference lists the hosted store, publishing and Grow tools. (This carries over #97.)
  • Fixed wrong statements: summer login waits up to 15 minutes, not 120 seconds; AGENTS.md says publishing is summer_publish_build and then the owner's approval through summer_store_submit (the old creator command is gone); generation tools spend credits when they are called, so the README no longer says Summer never spends without a confirmation; the development guide no longer lists the removed summer publish and summer releases; the store sign-in files (oauth-token, oauth-client) are in the ~/.summer/ lists; GEMINI.md uses bare skill names. Every setup guide uses the same paste prompt and installs every skill (--recommended is the smaller opt-in set).
  • summer doctor needs Node 20, the same as the package's engines field. It accepted Node 18 before.
  • Community files: CONTRIBUTING.md, SECURITY.md (report privately through GitHub), CODE_OF_CONDUCT.md, issue forms for bugs and library entries, and a pull request template.
  • CI also builds and runs the CLI on macOS and Windows (Node 22) and on Node 20, runs with read-only permissions, and drops the old v3-foundation branch and the example-eval step that only printed SKIP.
  • Fewer skills in every session. The library-author skills (skill-create, skill-improve, skill-test, writing-skills) and the six research digests (celeste-momentum-platforming, godogen-visual-proof-game-generation, lumera-single-image-scene-reconstruction, realtime-wet-surfaces, psx-retro-rendering, skintokens-auto-rigging) no longer install with summer setup or the plugins. They stay in the library: summer_docs_search finds them, summer_docs_read reads them, and summer skills install <name> still installs one. Copies from an earlier setup stay until you delete them. A new bundled: false field in a skill's resource.yaml does this.
  • Skill descriptions fit the hosts again. Hosts put every installed skill's description into every session and cut what does not fit. The installed descriptions now total about 11,500 characters, down from about 17,300, and npm run validate:library fails when they pass 12,000. Library search ranks the same on the routing eval.
  • Skill links work after install. summer setup copies each skill folder alone, so 40 links like ../../references/mcp-tools-reference/mcp-tools-reference.md (and 4 links into other skills' folders) were dead in the default install. They now name the library id to read (summer_docs_read id reference/mcp-tools-reference), and validate:library rejects any path that climbs out of a skill folder.
  • Call examples are complete. 65 call examples in ui-basics, 3d-lighting, design-level, design-npc, game-feel, art-direction and summer-apps left out a required argument, mostly scenePath, which the tool rejects. Each now passes it. validate:library checks every summer_* call example in the skills against the tool's input_schema (required arguments present, no unknown ones) and prints how many it checked.
  • Errors carry a stable code. When the engine is not running, the person is not signed in, the account has no credits or a Summer service cannot be reached, every tool now answers {ok: false, code, error, recovery}: code is engine_not_running, not_signed_in, no_credits or unavailable, the same codes the 4.0 tools use, and recovery is the one next step. The fields each tool sent before (message, hint, status) are still there. Generation, job, asset and Summer Apps tools used five different sign-in answers; they now use this one. The store sign-in keeps its own code, store_login_required.
  • The engine-down answer works. It told agents to run npx -y summer-engine@latest run, which fails without a project path. It now says to open the project in Summer Engine or run summer run <project-path>, and no longer shows token-file details. summer tool prints the same fields as JSON (exit 1) instead of saying "not running" twice.
  • Network errors keep their cause. "fetch failed" now says why, for example connect ECONNREFUSED 127.0.0.1:443, in the message and in details.cause.
  • summer_list_my_assets no longer says "Asset search requires an account" when you are not signed in.
  • 3D and motion generation return a job id at once. summer_generate_3d and summer_generate_motion used to hold the agent for up to 10 minutes while the job ran. They now return the jobId within seconds, the same as Summer's hosted server, with a next line that says to poll summer_check_job until the status is completed. wait: true still blocks for scripts that cannot poll. summer tool generate-3d and summer tool generate-motion work the same way.
  • The assets profile no longer points at engine tools. With --profile assets (and summer setup --assets-only), summer_get_agent_playbook, the summer_agent_playbook prompt and summer_start_game_task told the agent to call summer_get_project_context, add nodes, play and take screenshots, none of which that profile has. They now answer with a no-engine version: ask what the asset is for, reuse before generating, confirm the spend, wait for the job, check the preview, and hand the file over with summer_get_asset_download_url (or out on summer_generate_image). The plan only names tools and skills the profile has, and says when a task needs the full setup instead.
  • A session skill for the assets path. The new summer-assets skill replaces using-summer in the assets-only install: what the session has, the loop, the file formats, and when an asset is done. store-art (Summer Games store art) left that install too.
  • Every asset skill says what to do without Summer Engine. The 23 skills in the assets-only install each have a short "Without Summer Engine" section: which steps to keep, which import and scene steps to skip, and how to hand the file over. A test fails when an asset skill has none.
  • summer skills install --assets (and setup --assets-only) no longer copies the Claude Code commands /start, /summer and /gameskill, which start and route engine work.
  • summer_store_tools names the tools it loads in the current profile (the Tool Factory and asset editing tools in assets, the store and publishing tools in engine) and carries its own tool hints and title.
  • generate-motion and text-to-motion no longer say wait: true is the default.

[3.9.1] - 2026-10-15

Not published to npm: these changes ship in 4.0.0.

3.9.0 was not published to npm; 3.9.1 is the first release with everything in 3.9.0 below, plus these changes.

The Claude Code plugin gets a first-run guide and Summer's hosted server, and passes claude plugin validate --strict.

  • /summer:start. A new command for the first run: it checks what is on the machine, signs the user in, and gets a first game playing in about five minutes, from a template that already plays or from a board of concept art Summer draws in the chat (the hosted summer_make_game), built in the Summer Engine desktop app.
  • Two MCP servers in the plugin. summer-engine (the desktop bridge, as before) and the new summer-cloud, Summer's hosted server at https://mcp.summerengine.com/mcp, for people without the desktop app or Node. Sign in once with /mcp. Codex, Cursor and Factory keep the one local server.
  • The session-start hook never waits. It no longer runs summer doctor (npm registry, engine probe, MCP boot); it reads local files only and returns in well under a second. On a machine without Summer it tells the agent to suggest /summer:start.
  • Clean manifests. The Claude plugin and marketplace manifests carry only documented fields (no _generated banner, no Codex-only fields), plus the directory listing fields (icon, documentation, support, privacy and terms links). The plugin no longer names hooks/hooks.json (its default location) or declares the pre-commit doctor option, which opened a settings dialog on enable; SUMMER_PRE_COMMIT_DOCTOR=1 still turns that hook on. The repo's own CLAUDE.md moved to .claude/CLAUDE.md, because a CLAUDE.md at the plugin root fails the strict check.
  • README and docs/CLAUDE_CODE.md show the one-line plugin install: /plugin install summer --marketplace summerengine/summer.
  • The once-per-session usage line now names your agent app (the name it sent in the MCP handshake) and goes out on the first tool call of any kind, not only the first engine tool. SUMMER_NO_TELEMETRY=1 or DO_NOT_TRACK=1 still turns it off.

[3.9.0] - 2026-10-14

One sign-in for every Summer tool, tool profiles that fit every agent, shorter tool results, and Summer sees which agent app made each request.

  • Summer sees which agent app made each request. Every request to Summer's servers (generation, jobs, assets, Summer Apps, the store upload, the hosted Summer Engine MCP, library search and the usage line) now carries the agent app's id (X-Summer-Agent-Host, for example claude-code), the name and version the app sent in the MCP handshake, and the tool that made the request (X-Summer-MCP-Tool). Before, the app was never sent. Outside an MCP session (summer tool, summer login) the id comes from the agent's environment; SUMMER_AGENT_HOST overrides it. SUMMER_NO_TELEMETRY=1 or DO_NOT_TRACK=1 removes these headers and keeps only the CLI's own name and version.
  • One sign-in. summer login now signs you in to your Summer account and then, in the same browser, to the store, publishing and Grow tools: one Allow click, or none if this machine was approved before. Before, that took a second summer login --store. If the store step does not finish within 3 minutes, your account sign-in is kept and summer login --store adds the store later. summer login --no-store skips the store step; summer login --store still runs it alone.
  • Every tool says what it does. Each local MCP tool now carries readOnlyHint, destructiveHint, idempotentHint and openWorldHint, mapped from its authority in the library. Agents and apps that ask before a change can let reads run and still ask before an edit, a generation that costs credits, or a publish. A test fails when a tool has no hints.
  • Agents script runs of scene edits. The MCP instructions now say: more than 3 scene edits, write one summer_run_script (snapshot, script, diff, screenshot). After the 4th single edit in a row (summer_set_prop, summer_add_node, summer_remove_node, ...), the result adds one line that points to summer_run_script, then again every 6th.
  • Tool profiles. summer mcp --profile (env SUMMER_PROFILE): full is every tool and stays the default, so existing setups do not change. engine has the engine, generation and store tools and stays under 128 tools; summer setup vscode-copilot now writes it, because VS Code Copilot takes at most 128 tools per request (--profile full keeps every tool). assets has generation, the asset library, account and library search, and no engine tools. --toolsets (env SUMMER_TOOLSETS) adds toolsets by name. Engine tools load at start in every profile that has them, and no tool is renamed.
  • Assets-only setup. summer setup <agent> --assets-only writes the assets profile, installs only the asset skills instead of the whole library, and leaves out Summer Games. The README's assets-only path now uses it. summer skills install --assets installs the same skills.
  • Shorter results. Tool results are compact JSON instead of pretty-printed JSON. Results that can be long (scene and runtime trees, console and debugger reads, inspect reads, library reads) stop at a default size and say so: 4,000 characters, 8,000 for summer_get_scene_tree, 24,000 for summer_read_library. Pass maxCharacters for more. Writes, job ids and file reads are never cut.
  • Usage reports. When you are signed in, the MCP server now reports each tool call to Summer: the tool name, whether it worked, how long it took and your agent app's name. Nothing else: no arguments, results, code or file names. SUMMER_NO_TELEMETRY=1 or DO_NOT_TRACK=1 turns it off, and now also turns off the once-per-session report.
  • summer_app_guide starts with section overview by default and answers Markdown text instead of one long JSON line; all still returns every section.
  • summer_app_screenshot takes steps (click a selector, press a declared action, wait) to show a dialog or a second state before the capture, and waits until the app's calls settle.