Skip to content

summer-engine 4.2.0

Choose a tag to compare

@mathias-heide mathias-heide released this 16 Oct 05:01
d7f77a4

4.1.0 was not published to npm. 4.2.0 is the first release with everything in it (the [4.1.0] section below), plus these changes.

Upgrades keep agents current: the installed Summer skills refresh themselves after an upgrade, every Summer project gets an AGENTS.md, the CLI path can let Claude Code and Codex run read-only commands without asking, and Gemini CLI installs come with the skills.

  • The CLI path can ask less. summer setup claude-code --cli --allow-rules --yes lets Claude Code run read-only and dry-run summer commands without asking: a reviewed list of reads (summer ops search, summer jobs wait, summer engine screenshot, ...; jobs wait and assets get also save the files they name) and every spend only as a dry run (summer assets generate-image --dry-run ..., the flag right after the action). It is opt-in: the flag is in the command the person approves, setup prints every rule, and without --yes it writes nothing. The rules, for both summer and npx -y summer-engine@latest, go into permissions.allow in ~/.claude/settings.json (.claude/settings.local.json with --scope project); nothing else in the file changes. summer setup codex --cli --allow-rules --yes writes the same as Summer's own Codex rules file, ~/.codex/rules/summer.rules. --remove-allow-rules takes exactly these rules out again. Changes, publishing, prices, deletes, messages and engine capture-gameplay (it runs the project's own code) still ask. A call with --dry-run is now a dry run whatever its input says (--no-dry-run or "dryRun": false in --input no longer undo it).
  • Devin Desktop (formerly Windsurf): the MCP config moved to ~/.config/devin/mcp_config.json ($XDG_CONFIG_HOME/devin, Windows %APPDATA%\devin), per Devin's docs. summer setup windsurf writes it there and says when an earlier setup's entry is still in ~/.codeium/windsurf/mcp_config.json (left as it is for older builds).
  • Gemini CLI extensions get the skills. gemini extensions install https://github.com/SummerEngine/summer and the Gemini CLI gallery install a release's only asset, and each GitHub Release now carries one: summer-gemini-extension.tar.gz, the extension with skills/<slug>/ for every bundled skill (Gemini reads skills only from that folder; the repository keeps them in library/skills/). A clone of the repository gave no skills.
  • A Claude plugin for Anthropic's plugin directory in plugins/claude/: the same plugin from a folder of its own (292 files, under the directory's 512), with the server and every summer-engine@latest pinned to this version. npm run generate:registry writes it, --check fails when it drifts, and claude plugin validate --strict plugins/claude passes.
  • Every Summer project has an AGENTS.md. summer create writes a short AGENTS.md, the one file Codex, Cursor, Copilot, Amp and other agents read in every session: this is a Summer Engine game in GDScript, how to work on it with the MCP tools or the summer CLI, where Summer's skills are, the five most useful commands, and that publishing needs the owner's approval. It also writes a CLAUDE.md that only holds @AGENTS.md, for Claude Code. summer setup --yes run inside a project adds both when they are missing (without --yes it says what it would add; --no-project-files and --assets-only leave the project alone). The project is the nearest folder with project.godot at or above the working directory, no higher than the git top level and never the home folder. An existing AGENTS.md or CLAUDE.md is never overwritten: setup adds one marked Summer block once and later updates only that block, in the file's own line endings. A CLAUDE.md that already imports AGENTS.md stays as it is, a CLAUDE.md that is a link to AGENTS.md (or the reverse) gets the AGENTS.md block once, a link to a missing file or out of the project is left alone, and a file setup cannot write is reported with the reason. The five commands come from the summer-cli skill, and a test runs every command both teach.
  • Upgrades refresh the installed skills. The first summer mcp start (v4 surface) after an upgrade brings the Summer skills already installed on the computer to the new version, then says so once: in the session's instructions, so the agent can tell the person, and on stderr. Before, skills from 3.x stayed until someone ran summer setup --force. While they stayed, the local server kept the legacy toolset on, and agents kept calling 3.x tools; that undid about half of 4.0's smaller tool list. Now the legacy toolset is off from that first start; 3.x tool names still run through summer_call, and --toolsets legacy or SUMMER_LEGACY_TOOLS=on lists them again.
    • Only Summer's own copies are replaced: real folders (not links) whose resource.yaml names that skill, in a skills folder with Summer's version marker. A skill from another pack with the same name, and a Summer skill someone changed after install, stay as they are, at this and every later release until summer setup --force (the version marker lists them); the notice names them. A pre-release never takes a release's skills back. Nothing is removed. New library skills are added only to a folder that holds nearly the whole library, so an assets-only install stays one.
    • Each skill is copied beside the old one and swapped in with renames, under a lock per folder, and the version marker is written last. A killed start or a copy error leaves the old skill, and the next start finishes. A refresh error never stops summer mcp; it goes to the MCP log.
    • Rule-file installs (Cline, Roo Code, old Cursor rules) are not refreshed; summer doctor still prints the command for them.
  • summer_call on the local server takes name as well as op. Agents copied the name field that summer_search answers with and got an input error. When both are given and differ, it answers invalid_input.

[4.1.0] - 2026-10-16

Not published to npm: these changes ship in 4.2.0.

Summer without MCP: any agent runs Summer from its shell with the summer CLI and the summer-cli skill. Every operation is found without a sign-in, search understands plain English, and Summer installs with Homebrew.

  • --json on every read command. summer ops describe <op> --json failed with "unknown option '--json'"; it now prints the same answer as the other operation commands ({ok, status, result: {operation}}, warnings inside). summer status, summer list templates|projects, summer skills list, summer skills info, summer memory show, summer memory path and summer config get take --json too. A test lists every CLI command and fails when a read command has no --json. summer tool keeps printing JSON; its --json is still the old alias of --args.
  • summer setup <agent> --cli: Summer without MCP. Installs the skills for the agent and writes no MCP entry and no Summer Games entry. The agent runs Summer as summer <area> <action> commands in its shell. --no-mcp is the same. With --assets-only it installs only the asset skills. Claude Code gets no slash commands (/summer, /gameskill, /start start work through the MCP tools; summer skills install --no-commands leaves them out too). An existing summer-engine entry from an earlier setup stays, and setup says so: a stdio or URL entry, and Claude Code's per-project ones. --print, --profile, --local-dev and --channel shape only the MCP entry, so --cli refuses them. It also refuses agents without a skills folder, Gemini CLI (its skills load only through its extension, which runs the MCP server) and Roo Code (its skills are rule files that tell it to use the MCP tools). When an agent's config lists no summer-engine and --cli can set the agent up, the skills refresh summer doctor recommends adds --cli, so it adds no MCP server.
  • New skill summer-cli (preview): sign in, find an operation (summer ops search, summer ops describe), run it (--input, --dry-run, --json, --idempotency-key), long jobs (--wait, summer jobs wait), approvals, saving files (--out), the engine, and the next step for each error code. It checks summer --version first and uses npx -y summer-engine@latest when summer is missing or older than 4.0. A test dry-runs every command it teaches, offline. using-summer sends sessions without summer_* tools to it.
  • Each skill shows the command for every tool it names. A skill that names an MCP tool or an operation ends with a generated "From a shell" table: summer_play is summer engine play, assets.generate_image is summer assets generate-image, a split 3.x tool lists each operation, a merged one keeps the input it fixes (summer_list_my_assets is summer assets search --scope mine), and a merged one that runs here runs as itself (summer_get_agent_playbook is summer tool get-agent-playbook). npm run generate:registry writes it from the operation catalog. validate:library fails when it is stale, and when a skill names a 4.0 tool whose operation the catalog does not have. Tests check that every command names an operation this package runs or the catalog knows, and run the rows with a fixed input that run here, offline. .gitattributes keeps Markdown LF, so the check also holds on Windows checkouts. MCP tool names do not change.
  • README: CLI only (summer-engine 4.1.0 or newer), next to the hosted MCP block.
  • summer <area> <action> --max-characters <n> on a local read (summer docs read, the engine reads) no longer fails with an unknown key: the CLI prints the whole answer and says so.
  • Shorter descriptions for summer-cli, summer-assets and concept-to-level, so the installed skill descriptions leave room under the 12,000-character budget.
  • Every operation is found without a sign-in. summer ops search, summer ops describe and summer_search list every cloud operation (store.publish, pricing.set_base, ...) signed out, from the hosted server's public catalog shipped in the package (registry/operations/public-catalog.json). A cloud operation found signed out says (needs sign-in) (needsSignIn: true in JSON) and runs after summer login. Signed in, the server's live rows replace the shipped ones. ops describe of a cloud operation answers from the shipped catalog when the server cannot. npm run sync:catalog refreshes the copy; npm run sync:catalog -- --check runs before each release, and a test fails when the copy and legacy-names.json disagree.
  • Search understands plain English. "publish my game" finds store.publish first, "how did my game do" analytics.summary, "lower my price" pricing.set_base, "invite a teammate" team.invite, "take a screenshot" engine.screenshot, and "add multiplayer" the library search (the CLI prints the summer docs search command for it). Rare words weigh more and everyday verbs less, an operation whose title or tag the query says nearly word for word wins, and plain words reach the catalog's words (picture is image, music is audio). Local and cloud operations rank in one list, the same signed in or out. A test holds 35 real phrases.
  • Install with Homebrew: brew install summerengine/tap/summer (the SummerEngine/homebrew-tap formula follows npm latest by itself, checked every hour). The README starts with the three ways to install: the hosted URL for chat apps, Homebrew and npm.
  • npm publish no longer fails on a busy machine when it runs the tests again (prepublishOnly). Every test has a 20 s limit instead of 5 s, and the slow ones have their own: the first import of the built package (60 s), the template fetch timeout and the trajectory log rotation (30 s each), the setup --cli installs (120 s) and the app bundle export (60 s).
  • content is an area. summer content <action> runs the content operations Summer's hosted server serves (content.list_games, content.get_kit, content.list_references, content.search_library, content.save_piece, content.add_feedback, ...). The 4.0.0 marketing.* content operations are renamed to them (marketing.content_feed is content.list_references, marketing.get_brand_pack is content.get_kit); registry/operations/legacy-names.json maps each old name to its new one.
  • Directory listings lead with "The game engine built for AI." The MCP Registry entry (server.json) gets the Summer sun icon. The Codex plugin is named Summer Engine, with the short description "Make games with AI" (OpenAI allows 30 characters), a logo, a composer icon and a support link. The Cursor plugin is named Summer Engine and gets a logo. The Claude, Cursor, Codex, Factory and Gemini descriptions open with the product line. glama.json lets the maintainers claim the Glama listing. The README links support, privacy and terms.