summer-engine 3.8.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -13
- package/.claude-plugin/plugin.json +24 -22
- package/.codex-plugin/plugin.json +18 -22
- package/.cursor-plugin/plugin.json +8 -14
- package/.factory-plugin/plugin.json +6 -13
- package/AGENTS.md +19 -12
- package/CHANGELOG.md +133 -0
- package/GEMINI.md +3 -3
- package/README.md +118 -37
- package/assets/icon.png +0 -0
- package/commands/start.md +71 -0
- package/commands/summer.md +3 -2
- package/dist/cli/banner.js +3 -0
- package/dist/cli/commands/config.js +3 -2
- package/dist/cli/commands/create.js +12 -3
- package/dist/cli/commands/list.d.ts +5 -0
- package/dist/cli/commands/list.js +30 -13
- package/dist/cli/commands/login.d.ts +27 -0
- package/dist/cli/commands/login.js +58 -12
- package/dist/cli/commands/memory.js +6 -2
- package/dist/cli/commands/ops.d.ts +64 -0
- package/dist/cli/commands/ops.js +329 -0
- package/dist/cli/commands/setup.d.ts +4 -0
- package/dist/cli/commands/setup.js +254 -26
- package/dist/cli/commands/skills.js +28 -11
- package/dist/cli/commands/status.d.ts +26 -0
- package/dist/cli/commands/status.js +36 -21
- package/dist/cli/index.js +7 -0
- package/dist/core/agent-host.d.ts +65 -0
- package/dist/core/agent-host.js +193 -0
- package/dist/core/capabilities/agent-playbook.d.ts +3 -0
- package/dist/core/capabilities/agent-playbook.js +54 -2
- package/dist/core/capabilities/apps.d.ts +33 -10
- package/dist/core/capabilities/apps.js +25 -12
- package/dist/core/capabilities/audit/args.d.ts +6 -6
- package/dist/core/capabilities/doctor.d.ts +3 -0
- package/dist/core/capabilities/doctor.js +20 -15
- package/dist/core/capabilities/fabricate-mesh.d.ts +4 -4
- package/dist/core/capabilities/game-task-plan.d.ts +12 -6
- package/dist/core/capabilities/game-task-plan.js +80 -5
- package/dist/core/capabilities/hdri-import.d.ts +2 -2
- package/dist/core/capabilities/motion-generation.d.ts +2 -2
- package/dist/core/capabilities/motion-generation.js +2 -2
- package/dist/core/capabilities/navigation/open.d.ts +6 -2
- package/dist/core/capabilities/navigation/open.js +3 -0
- package/dist/core/capabilities/placement.d.ts +23 -23
- package/dist/core/capabilities/publish-build.js +2 -0
- package/dist/core/capabilities/runtime-control.d.ts +42 -42
- package/dist/core/capabilities/scene-script-target.d.ts +17 -0
- package/dist/core/capabilities/scene-script-target.js +70 -0
- package/dist/core/capabilities/seeing/args.d.ts +16 -16
- package/dist/core/capabilities/sfx-choices.d.ts +4 -0
- package/dist/core/capabilities/sfx-choices.js +13 -6
- package/dist/core/capabilities/tool-dispatch.d.ts +12 -3
- package/dist/core/capabilities/tool-dispatch.js +81 -46
- package/dist/core/capabilities/ui-control.d.ts +2 -2
- package/dist/core/capabilities/world-snapshot.d.ts +4 -4
- package/dist/core/embeddings.d.ts +2 -0
- package/dist/core/embeddings.js +1 -1
- package/dist/core/error-codes.d.ts +62 -0
- package/dist/core/error-codes.js +97 -0
- package/dist/core/format.d.ts +2 -0
- package/dist/core/format.js +2 -1
- package/dist/core/hosted-mcp.d.ts +22 -0
- package/dist/core/hosted-mcp.js +56 -1
- package/dist/core/library-read.js +5 -0
- package/dist/core/library-search.d.ts +2 -2
- package/dist/core/library-search.js +2 -1
- package/dist/core/oauth.js +4 -0
- package/dist/core/ops/areas.d.ts +11 -0
- package/dist/core/ops/areas.js +24 -0
- package/dist/core/ops/catalog.d.ts +45 -0
- package/dist/core/ops/catalog.js +157 -0
- package/dist/core/ops/cloud.d.ts +64 -0
- package/dist/core/ops/cloud.js +198 -0
- package/dist/core/ops/contract.d.ts +120 -0
- package/dist/core/ops/contract.js +134 -0
- package/dist/core/ops/engine-answer.d.ts +25 -0
- package/dist/core/ops/engine-answer.js +117 -0
- package/dist/core/ops/engine.d.ts +55 -0
- package/dist/core/ops/engine.js +649 -0
- package/dist/core/ops/public-catalog.d.ts +48 -0
- package/dist/core/ops/public-catalog.js +56 -0
- package/dist/core/ops/save-files.d.ts +78 -0
- package/dist/core/ops/save-files.js +419 -0
- package/dist/core/ops/search.d.ts +8 -0
- package/dist/core/ops/search.js +187 -0
- package/dist/core/skills-registry.d.ts +16 -1
- package/dist/core/skills-registry.js +35 -2
- package/dist/core/telemetry.d.ts +32 -0
- package/dist/core/telemetry.js +38 -10
- package/dist/core/tool-profiles.d.ts +25 -0
- package/dist/core/tool-profiles.js +41 -0
- package/dist/installer/agent-config.d.ts +17 -4
- package/dist/installer/agent-config.js +27 -6
- package/dist/installer/agent-table.d.ts +12 -0
- package/dist/installer/agent-table.js +33 -9
- package/dist/installer/cli-permissions.d.ts +65 -0
- package/dist/installer/cli-permissions.js +182 -0
- package/dist/installer/setup.d.ts +4 -0
- package/dist/installer/setup.js +12 -4
- package/dist/installer/skills-refresh.d.ts +29 -0
- package/dist/installer/skills-refresh.js +261 -0
- package/dist/installer/version-check.d.ts +51 -11
- package/dist/installer/version-check.js +147 -37
- package/dist/mcp/command.js +7 -0
- package/dist/mcp/hosted-mount.d.ts +27 -2
- package/dist/mcp/hosted-mount.js +53 -23
- package/dist/mcp/legacy-toolset.d.ts +27 -0
- package/dist/mcp/legacy-toolset.js +43 -0
- package/dist/mcp/ops-surface.d.ts +59 -0
- package/dist/mcp/ops-surface.js +453 -0
- package/dist/mcp/server.d.ts +45 -11
- package/dist/mcp/server.js +263 -89
- package/dist/mcp/tool-results.d.ts +26 -0
- package/dist/mcp/tool-results.js +81 -0
- package/dist/mcp/tool-surface.d.ts +65 -0
- package/dist/mcp/tool-surface.js +317 -0
- package/dist/mcp/tools/app-tools.js +9 -2
- package/dist/mcp/tools/asset-tools.js +55 -53
- package/dist/mcp/tools/audit-tools.js +21 -21
- package/dist/mcp/tools/debug-tools.js +6 -6
- package/dist/mcp/tools/fabricate-tools.js +6 -6
- package/dist/mcp/tools/generate-tools.js +76 -70
- package/dist/mcp/tools/project-tools.d.ts +9 -4
- package/dist/mcp/tools/project-tools.js +16 -10
- package/dist/mcp/tools/scene-tools.js +12 -23
- package/dist/mcp/tools/script-tools.js +9 -5
- package/dist/mcp/tools/with-engine.d.ts +6 -0
- package/dist/mcp/tools/with-engine.js +19 -0
- package/dist/project-memory/agent-instructions.d.ts +47 -0
- package/dist/project-memory/agent-instructions.js +226 -0
- package/gemini-extension.json +6 -13
- package/hooks/pre-commit-doctor.sh +5 -4
- package/hooks/session-start.sh +24 -28
- package/integrations/README.md +1 -1
- package/integrations/claude/README.md +6 -0
- package/integrations/claude/manifest-target.json +4 -0
- package/integrations/claude-desktop/README.md +1 -1
- package/integrations/copilot-jetbrains/README.md +1 -1
- package/integrations/gemini/README.md +11 -0
- package/integrations/junie/README.md +1 -1
- package/integrations/lm-studio/README.md +1 -1
- package/integrations/trae/README.md +1 -1
- package/integrations/visual-studio/README.md +1 -1
- package/integrations/windsurf/README.md +1 -1
- package/library/references/mcp-tools-reference/mcp-tools-reference.md +79 -51
- package/library/references/mcp-tools-reference/resource.yaml +1 -1
- package/library/references/product-map/resource.yaml +2 -2
- package/library/skills/3d-lighting/SKILL.md +69 -28
- package/library/skills/3d-lighting/resource.yaml +1 -1
- package/library/skills/README.md +121 -118
- package/library/skills/adaptive-music/SKILL.md +40 -23
- package/library/skills/adaptive-music/resource.yaml +1 -1
- package/library/skills/agent-playtesting/SKILL.md +23 -1
- package/library/skills/agent-playtesting/resource.yaml +1 -1
- package/library/skills/ai-characters-in-games/SKILL.md +16 -1
- package/library/skills/ai-characters-in-games/resource.yaml +1 -1
- package/library/skills/ambient-bed/SKILL.md +38 -13
- package/library/skills/ambient-bed/resource.yaml +1 -1
- package/library/skills/animated-loop/SKILL.md +60 -32
- package/library/skills/animated-loop/resource.yaml +1 -1
- package/library/skills/animation-tree/SKILL.md +27 -1
- package/library/skills/animation-tree/resource.yaml +1 -1
- package/library/skills/art-direction/SKILL.md +17 -3
- package/library/skills/art-direction/resource.yaml +1 -1
- package/library/skills/asset-strategy/SKILL.md +51 -4
- package/library/skills/asset-strategy/resource.yaml +2 -1
- package/library/skills/audio-direction/SKILL.md +26 -10
- package/library/skills/audio-direction/resource.yaml +1 -1
- package/library/skills/auto-fire-targeting/SKILL.md +15 -1
- package/library/skills/auto-fire-targeting/resource.yaml +1 -1
- package/library/skills/bounded-engine-runs/SKILL.md +1 -1
- package/library/skills/bounded-engine-runs/resource.yaml +1 -1
- package/library/skills/brainstorm-game/SKILL.md +14 -1
- package/library/skills/brainstorm-game/resource.yaml +1 -1
- package/library/skills/brainstorming/SKILL.md +1 -1
- package/library/skills/brainstorming/resource.yaml +1 -1
- package/library/skills/browse-templates/SKILL.md +11 -1
- package/library/skills/browse-templates/resource.yaml +1 -1
- package/library/skills/camera-rigs/SKILL.md +22 -2
- package/library/skills/camera-rigs/resource.yaml +1 -1
- package/library/skills/celeste-momentum-platforming/resource.yaml +1 -0
- package/library/skills/character-animation-wiring/SKILL.md +28 -4
- package/library/skills/character-animation-wiring/resource.yaml +1 -1
- package/library/skills/character-model/SKILL.md +83 -47
- package/library/skills/character-model/resource.yaml +1 -1
- package/library/skills/character-movement/SKILL.md +27 -3
- package/library/skills/character-movement/resource.yaml +1 -1
- package/library/skills/character-portrait/SKILL.md +39 -19
- package/library/skills/character-portrait/resource.yaml +1 -1
- package/library/skills/cinematic-cutscene/SKILL.md +79 -46
- package/library/skills/cinematic-cutscene/resource.yaml +1 -1
- package/library/skills/combat-basics/SKILL.md +20 -1
- package/library/skills/combat-basics/resource.yaml +1 -1
- package/library/skills/compatibility-renderer-traps/SKILL.md +12 -1
- package/library/skills/compatibility-renderer-traps/resource.yaml +1 -1
- package/library/skills/concept-art/SKILL.md +29 -12
- package/library/skills/concept-art/resource.yaml +1 -1
- package/library/skills/concept-to-level/SKILL.md +258 -0
- package/library/skills/concept-to-level/references/technical-rules.md +150 -0
- package/library/skills/concept-to-level/resource.yaml +44 -0
- package/library/skills/create-asset-sheet/SKILL.md +37 -13
- package/library/skills/create-asset-sheet/resource.yaml +1 -1
- package/library/skills/debug/SKILL.md +34 -2
- package/library/skills/debug/resource.yaml +1 -1
- package/library/skills/debugging-game-feel/SKILL.md +13 -1
- package/library/skills/debugging-game-feel/resource.yaml +1 -1
- package/library/skills/design-level/SKILL.md +40 -35
- package/library/skills/design-level/resource.yaml +1 -1
- package/library/skills/design-mechanic/SKILL.md +18 -1
- package/library/skills/design-mechanic/resource.yaml +1 -1
- package/library/skills/design-npc/SKILL.md +43 -24
- package/library/skills/design-npc/resource.yaml +1 -1
- package/library/skills/diagnosing-perf-regressions/SKILL.md +13 -1
- package/library/skills/diagnosing-perf-regressions/resource.yaml +1 -1
- package/library/skills/driving-the-editor-ui/SKILL.md +24 -1
- package/library/skills/driving-the-editor-ui/resource.yaml +1 -1
- package/library/skills/environment-kit/SKILL.md +43 -16
- package/library/skills/environment-kit/resource.yaml +1 -1
- package/library/skills/export-and-ship/SKILL.md +29 -6
- package/library/skills/export-and-ship/resource.yaml +1 -1
- package/library/skills/fabricating-assets/SKILL.md +30 -7
- package/library/skills/fabricating-assets/resource.yaml +3 -3
- package/library/skills/facial-and-lipsync/SKILL.md +36 -15
- package/library/skills/facial-and-lipsync/resource.yaml +1 -1
- package/library/skills/fps-controller/SKILL.md +50 -41
- package/library/skills/fps-controller/resource.yaml +1 -1
- package/library/skills/game-feel/SKILL.md +34 -8
- package/library/skills/game-feel/resource.yaml +1 -1
- package/library/skills/gameskill/SKILL.md +15 -4
- package/library/skills/gameskill/resource.yaml +1 -1
- package/library/skills/gdscript-patterns/SKILL.md +16 -1
- package/library/skills/gdscript-patterns/resource.yaml +1 -1
- package/library/skills/generate-motion/SKILL.md +51 -21
- package/library/skills/generate-motion/resource.yaml +1 -1
- package/library/skills/godogen-visual-proof-game-generation/SKILL.md +18 -1
- package/library/skills/godogen-visual-proof-game-generation/resource.yaml +1 -0
- package/library/skills/grow-analytics/SKILL.md +13 -3
- package/library/skills/grow-analytics/resource.yaml +1 -1
- package/library/skills/headless-scripting/SKILL.md +14 -1
- package/library/skills/headless-scripting/resource.yaml +1 -1
- package/library/skills/in-game-purchases/SKILL.md +12 -1
- package/library/skills/in-game-purchases/resource.yaml +1 -1
- package/library/skills/instantiate-asset-pack/SKILL.md +19 -2
- package/library/skills/instantiate-asset-pack/resource.yaml +1 -1
- package/library/skills/lumera-single-image-scene-reconstruction/resource.yaml +1 -0
- package/library/skills/make-game/SKILL.md +33 -4
- package/library/skills/make-game/references/2d-platformer.md +1 -1
- package/library/skills/make-game/references/3d-fps.md +1 -1
- package/library/skills/make-game/references/3d-horror.md +1 -1
- package/library/skills/make-game/references/3d-third-person.md +2 -2
- package/library/skills/make-game/resource.yaml +1 -1
- package/library/skills/multiplayer/SKILL.md +13 -1
- package/library/skills/multiplayer/resource.yaml +1 -1
- package/library/skills/multiplayer-movement/SKILL.md +19 -1
- package/library/skills/multiplayer-movement/resource.yaml +1 -1
- package/library/skills/multiplayer-project/SKILL.md +18 -1
- package/library/skills/multiplayer-project/resource.yaml +1 -1
- package/library/skills/multiplayer-publish/SKILL.md +25 -7
- package/library/skills/multiplayer-publish/resource.yaml +3 -3
- package/library/skills/multiplayer-state/SKILL.md +17 -1
- package/library/skills/multiplayer-state/resource.yaml +1 -1
- package/library/skills/multiplayer-testing/SKILL.md +16 -1
- package/library/skills/multiplayer-testing/resource.yaml +1 -1
- package/library/skills/music-track/SKILL.md +38 -13
- package/library/skills/music-track/resource.yaml +1 -1
- package/library/skills/navigate-summer/SKILL.md +26 -9
- package/library/skills/navigate-summer/resource.yaml +1 -1
- package/library/skills/new-project/SKILL.md +12 -1
- package/library/skills/new-project/resource.yaml +1 -1
- package/library/skills/organic-model/SKILL.md +48 -18
- package/library/skills/organic-model/resource.yaml +1 -1
- package/library/skills/pixel-art/SKILL.md +42 -23
- package/library/skills/pixel-art/resource.yaml +1 -1
- package/library/skills/play/SKILL.md +19 -1
- package/library/skills/play/resource.yaml +1 -1
- package/library/skills/playtesting-a-feature/SKILL.md +24 -1
- package/library/skills/playtesting-a-feature/resource.yaml +1 -1
- package/library/skills/procedural-animation/SKILL.md +38 -16
- package/library/skills/procedural-animation/resource.yaml +1 -1
- package/library/skills/prop-model/SKILL.md +48 -19
- package/library/skills/prop-model/resource.yaml +1 -1
- package/library/skills/psx-retro-rendering/resource.yaml +1 -0
- package/library/skills/publish-your-game/SKILL.md +43 -6
- package/library/skills/publish-your-game/resource.yaml +3 -3
- package/library/skills/realtime-wet-surfaces/resource.yaml +1 -0
- package/library/skills/release-readiness/SKILL.md +13 -1
- package/library/skills/release-readiness/resource.yaml +1 -1
- package/library/skills/remote-deploy/SKILL.md +15 -1
- package/library/skills/remote-deploy/resource.yaml +1 -1
- package/library/skills/retarget/SKILL.md +43 -20
- package/library/skills/retarget/resource.yaml +1 -1
- package/library/skills/running-in-the-cloud/SKILL.md +11 -1
- package/library/skills/running-in-the-cloud/resource.yaml +1 -1
- package/library/skills/save-load/SKILL.md +16 -1
- package/library/skills/save-load/resource.yaml +1 -1
- package/library/skills/scene-composition/SKILL.md +18 -1
- package/library/skills/scene-composition/resource.yaml +1 -1
- package/library/skills/scene-hierarchy-design/SKILL.md +26 -2
- package/library/skills/scene-hierarchy-design/resource.yaml +1 -1
- package/library/skills/scene-scripting/SKILL.md +96 -636
- package/library/skills/scene-scripting/references/ctx-api.md +184 -0
- package/library/skills/scene-scripting/references/recipes-2d-ui.md +193 -0
- package/library/skills/scene-scripting/references/recipes-3d.md +280 -0
- package/library/skills/scene-scripting/resource.yaml +4 -4
- package/library/skills/scene-to-level/SKILL.md +24 -2
- package/library/skills/scene-to-level/resource.yaml +1 -1
- package/library/skills/skill-create/resource.yaml +1 -0
- package/library/skills/skill-improve/resource.yaml +1 -0
- package/library/skills/skill-test/SKILL.md +12 -2
- package/library/skills/skill-test/resource.yaml +1 -0
- package/library/skills/skintokens-auto-rigging/resource.yaml +1 -0
- package/library/skills/skybox-panorama/SKILL.md +47 -21
- package/library/skills/skybox-panorama/resource.yaml +1 -1
- package/library/skills/sound-effect/SKILL.md +52 -20
- package/library/skills/sound-effect/resource.yaml +1 -1
- package/library/skills/spatial-placement/SKILL.md +44 -9
- package/library/skills/spatial-placement/resource.yaml +1 -1
- package/library/skills/sprite-sheet/SKILL.md +55 -27
- package/library/skills/sprite-sheet/resource.yaml +1 -1
- package/library/skills/store-art/SKILL.md +14 -3
- package/library/skills/store-art/resource.yaml +2 -2
- package/library/skills/store-listing/SKILL.md +13 -3
- package/library/skills/store-listing/resource.yaml +2 -2
- package/library/skills/summer-analytics/SKILL.md +22 -5
- package/library/skills/summer-analytics/resource.yaml +2 -2
- package/library/skills/summer-apps/SKILL.md +77 -32
- package/library/skills/summer-apps/manifest.md +1 -1
- package/library/skills/summer-apps/minimal-app.md +7 -7
- package/library/skills/summer-apps/resource.yaml +1 -1
- package/library/skills/summer-apps/sdk-reference.md +5 -5
- package/library/skills/summer-apps-design/SKILL.md +1 -1
- package/library/skills/summer-apps-design/resource.yaml +1 -1
- package/library/skills/summer-assets/SKILL.md +86 -0
- package/library/skills/summer-assets/resource.yaml +34 -0
- package/library/skills/summer-cli/SKILL.md +133 -0
- package/library/skills/summer-cli/resource.yaml +31 -0
- package/library/skills/summer-friends/SKILL.md +14 -0
- package/library/skills/summer-leaderboards/SKILL.md +16 -0
- package/library/skills/summer-match-results/SKILL.md +17 -0
- package/library/skills/summer-matchmaking/SKILL.md +17 -0
- package/library/skills/summer-parties/SKILL.md +14 -0
- package/library/skills/summer-player-data/SKILL.md +14 -0
- package/library/skills/summer-store/SKILL.md +16 -1
- package/library/skills/summer-world-chat/SKILL.md +14 -0
- package/library/skills/summer-world-saves/SKILL.md +14 -0
- package/library/skills/text-to-motion/SKILL.md +45 -23
- package/library/skills/text-to-motion/prompts-and-controls.md +5 -5
- package/library/skills/text-to-motion/resource.yaml +1 -1
- package/library/skills/text-to-motion/rigging-for-text-motion.md +2 -2
- package/library/skills/tileable-texture/SKILL.md +37 -15
- package/library/skills/tileable-texture/resource.yaml +1 -1
- package/library/skills/trailer-shot/SKILL.md +46 -24
- package/library/skills/trailer-shot/resource.yaml +1 -1
- package/library/skills/tune-performance/SKILL.md +32 -6
- package/library/skills/tune-performance/resource.yaml +1 -1
- package/library/skills/ui-basics/SKILL.md +55 -36
- package/library/skills/ui-basics/resource.yaml +1 -1
- package/library/skills/ui-graphics/SKILL.md +64 -38
- package/library/skills/ui-graphics/resource.yaml +1 -1
- package/library/skills/use-widget-asset/SKILL.md +15 -1
- package/library/skills/use-widget-asset/resource.yaml +1 -1
- package/library/skills/using-summer/SKILL.md +32 -5
- package/library/skills/using-summer/resource.yaml +3 -2
- package/library/skills/vehicle-model/SKILL.md +92 -57
- package/library/skills/vehicle-model/resource.yaml +1 -1
- package/library/skills/verification-before-completion/SKILL.md +1 -1
- package/library/skills/verification-before-completion/resource.yaml +1 -1
- package/library/skills/verifying-scenes/SKILL.md +31 -2
- package/library/skills/verifying-scenes/resource.yaml +1 -1
- package/library/skills/vfx-dissolve/SKILL.md +21 -2
- package/library/skills/vfx-dissolve/resource.yaml +1 -1
- package/library/skills/vfx-fire/SKILL.md +41 -41
- package/library/skills/vfx-fire/resource.yaml +1 -1
- package/library/skills/vfx-hit-spark/SKILL.md +24 -1
- package/library/skills/vfx-hit-spark/resource.yaml +1 -1
- package/library/skills/vfx-lightning/SKILL.md +30 -16
- package/library/skills/vfx-lightning/resource.yaml +1 -1
- package/library/skills/vfx-magic-glow/SKILL.md +46 -32
- package/library/skills/vfx-magic-glow/resource.yaml +1 -1
- package/library/skills/vfx-muzzle-flash/SKILL.md +43 -35
- package/library/skills/vfx-muzzle-flash/resource.yaml +1 -1
- package/library/skills/vfx-smoke/SKILL.md +39 -31
- package/library/skills/vfx-smoke/resource.yaml +1 -1
- package/library/skills/vfx-water-ripple/SKILL.md +35 -31
- package/library/skills/vfx-water-ripple/resource.yaml +1 -1
- package/library/skills/voice-line/SKILL.md +87 -40
- package/library/skills/voice-line/resource.yaml +1 -1
- package/library/skills/web-and-touch-input/SKILL.md +20 -1
- package/library/skills/web-and-touch-input/resource.yaml +1 -1
- package/library/skills/web-compatibility-look/SKILL.md +21 -1
- package/library/skills/web-compatibility-look/resource.yaml +1 -1
- package/library/skills/world-building-3d/SKILL.md +29 -1
- package/library/skills/world-building-3d/resource.yaml +1 -1
- package/library/skills/writing-skills/resource.yaml +1 -0
- package/library/tools/add-node/GUIDE.md +14 -0
- package/library/tools/align-distribute-3d/GUIDE.md +7 -0
- package/library/tools/app-call/resource.yaml +1 -1
- package/library/tools/app-guide/resource.yaml +2 -2
- package/library/tools/app-page/resource.yaml +1 -1
- package/library/tools/app-screenshot/resource.yaml +19 -1
- package/library/tools/app-tools/resource.yaml +1 -1
- package/library/tools/attach-to-surface/GUIDE.md +15 -0
- package/library/tools/batch/GUIDE.md +27 -0
- package/library/tools/camera-bookmark/GUIDE.md +12 -0
- package/library/tools/capture-gameplay/GUIDE.md +3 -0
- package/library/tools/capture-gameplay/resource.yaml +3 -3
- package/library/tools/check-job/resource.yaml +1 -1
- package/library/tools/clear-console/GUIDE.md +3 -0
- package/library/tools/connect-ports/GUIDE.md +9 -0
- package/library/tools/connect-signal/GUIDE.md +14 -0
- package/library/tools/create-debug-report/GUIDE.md +10 -0
- package/library/tools/create-scene/GUIDE.md +10 -0
- package/library/tools/debug-views/GUIDE.md +7 -0
- package/library/tools/enable-plugin/GUIDE.md +3 -0
- package/library/tools/export-game/GUIDE.md +3 -0
- package/library/tools/export-game/resource.yaml +3 -3
- package/library/tools/export-templates/GUIDE.md +3 -0
- package/library/tools/fabricate-3d/GUIDE.md +19 -0
- package/library/tools/frame-nodes/GUIDE.md +9 -0
- package/library/tools/frame-shot/GUIDE.md +9 -0
- package/library/tools/game-control/GUIDE.md +9 -0
- package/library/tools/game-input/GUIDE.md +9 -0
- package/library/tools/game-probe/GUIDE.md +9 -0
- package/library/tools/generate-3d/resource.yaml +3 -3
- package/library/tools/generate-motion/resource.yaml +2 -2
- package/library/tools/get-console/GUIDE.md +9 -0
- package/library/tools/get-console/resource.yaml +5 -0
- package/library/tools/get-debugger-errors/GUIDE.md +7 -0
- package/library/tools/get-debugger-errors/resource.yaml +5 -0
- package/library/tools/get-debugger-warnings/GUIDE.md +7 -0
- package/library/tools/get-debugger-warnings/resource.yaml +5 -0
- package/library/tools/get-diagnostics/GUIDE.md +13 -0
- package/library/tools/get-project-context/GUIDE.md +25 -0
- package/library/tools/get-runtime-tree/GUIDE.md +7 -0
- package/library/tools/get-runtime-tree/resource.yaml +5 -0
- package/library/tools/get-scene-tree/GUIDE.md +11 -0
- package/library/tools/get-scene-tree/resource.yaml +5 -0
- package/library/tools/get-script-errors/GUIDE.md +5 -0
- package/library/tools/grep/GUIDE.md +11 -0
- package/library/tools/import-asset/GUIDE.md +8 -0
- package/library/tools/import-asset-by-id/GUIDE.md +12 -0
- package/library/tools/import-from-url/GUIDE.md +10 -0
- package/library/tools/import-from-url-batch/GUIDE.md +3 -0
- package/library/tools/import-hdri/GUIDE.md +16 -0
- package/library/tools/input-map-bind/GUIDE.md +11 -0
- package/library/tools/inspect-asset/GUIDE.md +14 -0
- package/library/tools/inspect-asset/resource.yaml +5 -0
- package/library/tools/inspect-node/GUIDE.md +11 -0
- package/library/tools/inspect-node/resource.yaml +5 -0
- package/library/tools/inspect-resource/GUIDE.md +7 -0
- package/library/tools/inspect-resource/resource.yaml +5 -0
- package/library/tools/inspect-runtime-node/GUIDE.md +7 -0
- package/library/tools/inspect-runtime-node/resource.yaml +5 -0
- package/library/tools/instantiate-scene/GUIDE.md +12 -0
- package/library/tools/is-running/GUIDE.md +3 -0
- package/library/tools/measure/GUIDE.md +8 -0
- package/library/tools/navigation-probe/GUIDE.md +9 -0
- package/library/tools/open/resource.yaml +2 -2
- package/library/tools/open-main-scene/GUIDE.md +6 -0
- package/library/tools/open-scene/GUIDE.md +8 -0
- package/library/tools/place-adjacent/GUIDE.md +7 -0
- package/library/tools/play/GUIDE.md +13 -0
- package/library/tools/project-setting/GUIDE.md +9 -0
- package/library/tools/publish-build/resource.yaml +6 -6
- package/library/tools/raycast/GUIDE.md +7 -0
- package/library/tools/read-file/GUIDE.md +10 -0
- package/library/tools/read-library/resource.yaml +5 -0
- package/library/tools/recent-events/GUIDE.md +7 -0
- package/library/tools/remove-node/GUIDE.md +3 -0
- package/library/tools/repeat-along/GUIDE.md +5 -0
- package/library/tools/replace-node/GUIDE.md +9 -0
- package/library/tools/replace-text/GUIDE.md +5 -0
- package/library/tools/run-editor-script/GUIDE.md +16 -0
- package/library/tools/run-script/GUIDE.md +30 -0
- package/library/tools/run-script/resource.yaml +6 -3
- package/library/tools/runtime-animate/GUIDE.md +7 -0
- package/library/tools/runtime-call/GUIDE.md +7 -0
- package/library/tools/runtime-set/GUIDE.md +9 -0
- package/library/tools/runtime-spawn/GUIDE.md +9 -0
- package/library/tools/save-scene/GUIDE.md +3 -0
- package/library/tools/scene-audit/GUIDE.md +29 -0
- package/library/tools/screenshot/GUIDE.md +17 -0
- package/library/tools/select-node/GUIDE.md +3 -0
- package/library/tools/set-prop/GUIDE.md +23 -0
- package/library/tools/set-resource-property/GUIDE.md +8 -0
- package/library/tools/shot-sheet/GUIDE.md +7 -0
- package/library/tools/snap-to-surface/GUIDE.md +17 -0
- package/library/tools/snapshot-diff/GUIDE.md +7 -0
- package/library/tools/starcast/GUIDE.md +12 -0
- package/library/tools/stop/GUIDE.md +3 -0
- package/library/tools/test-placement/GUIDE.md +7 -0
- package/library/tools/ui-actions/GUIDE.md +12 -0
- package/library/tools/ui-activate/GUIDE.md +11 -0
- package/library/tools/ui-screenshot/GUIDE.md +9 -0
- package/library/tools/ui-tree/GUIDE.md +10 -0
- package/library/tools/wait-for-event/GUIDE.md +11 -0
- package/library/tools/world-snapshot/GUIDE.md +9 -0
- package/library/tools/write-file/GUIDE.md +5 -0
- package/library/tools/zoom/GUIDE.md +5 -0
- package/package.json +8 -5
- package/registry/generated/counts.json +2 -2
- package/registry/generated/gemini-extension.json +6 -13
- package/registry/generated/index.json +482 -349
- package/registry/generated/marketplace.claude.json +2 -13
- package/registry/generated/plugin.claude-directory.json +168 -0
- package/registry/generated/plugin.claude.json +24 -22
- package/registry/generated/plugin.codex.json +18 -22
- package/registry/generated/plugin.cursor.json +8 -14
- package/registry/generated/plugin.factory.json +6 -13
- package/registry/generated/server.json +43 -0
- package/registry/generated/skills-index.md +121 -118
- package/registry/generated/skills-registry.json +167 -115
- package/registry/operations/fixtures/invalid-deprecated-without-replacement.json +60 -0
- package/registry/operations/fixtures/invalid-name.json +60 -0
- package/registry/operations/fixtures/invalid-publish-without-owner.json +82 -0
- package/registry/operations/fixtures/invalid-spend-without-estimate.json +42 -0
- package/registry/operations/fixtures/invalid-unknown-field.json +61 -0
- package/registry/operations/fixtures/valid-player-facing.json +82 -0
- package/registry/operations/fixtures/valid-read.json +60 -0
- package/registry/operations/fixtures/valid-spend.json +43 -0
- package/registry/operations/legacy-names.json +1241 -0
- package/registry/operations/public-catalog.json +33160 -0
- package/registry/schemas/operation.schema.json +318 -0
- package/registry/schemas/skill.schema.json +4 -0
- package/CLAUDE.md +0 -7
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: summer-apps
|
|
3
|
-
description: "Build a Summer App, a team tool inside Summer Studio (balance table, quest editor, tracker
|
|
3
|
+
description: "Build a Summer App, a team tool inside Summer Studio (balance table, quest editor, tracker), data and tools."
|
|
4
4
|
license: MIT
|
|
5
5
|
compatibility: [Cursor, Claude Code, Windsurf, Codex]
|
|
6
6
|
category: tools
|
|
7
7
|
user-invocable: true
|
|
8
|
-
allowed-tools: Read Write Edit Glob
|
|
8
|
+
allowed-tools: Read Write Edit Glob summer_apps_guide summer_apps_list summer_apps_create summer_apps_publish summer_apps_get summer_apps_update summer_apps_events summer_apps_page summer_apps_use_page summer_apps_screenshot summer_apps_read_data summer_apps_write_data summer_apps_tools summer_apps_call summer_apps_report_gap summer_call
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# Summer Apps
|
|
@@ -14,23 +14,27 @@ A Summer App is a tool the person's team uses inside Summer Studio: shared with
|
|
|
14
14
|
the workspace, live on its assets, game data and engine, dockable in the editor.
|
|
15
15
|
You build it in minutes; the team keeps it.
|
|
16
16
|
|
|
17
|
+
A call written `area.action({...})` is one operation: use the tool `summer_area_action` when
|
|
18
|
+
your client lists it, else `summer_call({ op: "area.action", input: {...} })`.
|
|
19
|
+
`summer_search` finds any operation and its exact input.
|
|
20
|
+
|
|
17
21
|
## First: does Summer already do it?
|
|
18
22
|
|
|
19
23
|
A custom app is something the team has to maintain. Before you build one, check whether
|
|
20
24
|
Summer already does the job: Studio features (the asset library with its collections and
|
|
21
|
-
groups, Pick one and sound choices, Grow dashboards, Team) and the existing
|
|
22
|
-
|
|
25
|
+
groups, Pick one and sound choices, Grow dashboards, Team) and the existing Summer
|
|
26
|
+
operations (`summer_search` finds them). If it does, use that and tell the person where it lives.
|
|
23
27
|
|
|
24
28
|
Build an app only when the need is real and Summer lacks it, or as a Scratch throwaway (a
|
|
25
29
|
quick asset review, a UI prototype) that you call throwaway when you make it, and archive
|
|
26
|
-
when it is done (`
|
|
27
|
-
something is missing natively, report it with `
|
|
28
|
-
`
|
|
30
|
+
when it is done (`apps.update({ appId, status: "archived" })`). When
|
|
31
|
+
something is missing natively, report it with `apps.report_gap` (and
|
|
32
|
+
`summer_call` with `docs.feedback` when a library entry fell short), so Summer can build it for
|
|
29
33
|
everyone.
|
|
30
34
|
|
|
31
35
|
| Ask | Do |
|
|
32
36
|
| --- | --- |
|
|
33
|
-
| "Let me pick from these 12 sword sounds" | Pick one: `
|
|
37
|
+
| "Let me pick from these 12 sword sounds" | Pick one: `assets.generate_sfx_choices`, or put the sounds in a library collection. No app. |
|
|
34
38
|
| "Group our Studio assets into a moodboard for the forest level" | Organize them with the asset library's collections and groups. No app. |
|
|
35
39
|
| "A weapon balance table that writes res://data/weapons.json" | Build an app: nothing in Summer edits game data with the team's balance rules. |
|
|
36
40
|
|
|
@@ -60,13 +64,13 @@ Read these before writing code; they are exact:
|
|
|
60
64
|
return shape.
|
|
61
65
|
- [manifest.md](manifest.md): every manifest field.
|
|
62
66
|
- The kit's component catalog (every `<summer-*>` element with attributes, events and a
|
|
63
|
-
copyable example) is `
|
|
67
|
+
copyable example) is `apps.guide({ section: "kit" })`, also at `/summer-ui/v1/catalog.json`
|
|
64
68
|
on the app host. Copy its examples instead of inventing markup.
|
|
65
69
|
|
|
66
|
-
To see an app, publish it and call `
|
|
70
|
+
To see an app, publish it and call `apps.screenshot({ appId })`: Summer renders it headless
|
|
67
71
|
with the person's data and returns the picture plus the console, uncaught errors, refused calls
|
|
68
72
|
and the fields and buttons it declared. No Studio tab needed; the person sees it at
|
|
69
|
-
`/studio/apps/<appId>` (`
|
|
73
|
+
`/studio/apps/<appId>` (`apps.create` opens it for them). Opening `index.html` on its own
|
|
70
74
|
never connects. There is no offline host: do not build one or mock the SDK.
|
|
71
75
|
|
|
72
76
|
The app is served from its own host, apps.summerengine.app. Load the SDK and the kit as
|
|
@@ -76,30 +80,33 @@ the first call, and reach data only through `summer.data.collection(name)`.
|
|
|
76
80
|
|
|
77
81
|
## The loop
|
|
78
82
|
|
|
79
|
-
1. `
|
|
80
|
-
`summer-apps-design` skill for how it must look.
|
|
81
|
-
2. `
|
|
82
|
-
3. Write the files in a local folder, then `
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
1. `apps.guide({ section: "overview" })` first, then `examples` and the sections the app needs.
|
|
84
|
+
Load the `summer-apps-design` skill for how it must look.
|
|
85
|
+
2. `apps.create({ name, purpose, format })`. The person's Studio tab opens it.
|
|
86
|
+
3. Write the files in a local folder, then `apps.publish({ appId, files, manifest, note })` with
|
|
87
|
+
every file as `{ path, content, encoding }` (`index.html` at the root; or `layout` for a layout
|
|
88
|
+
app). Each publish is an immutable version the tab boots. A publish error names the file or
|
|
89
|
+
rule: fix it and publish again.
|
|
90
|
+
4. Seed starter data with `apps.write_data({ appId, ops, as: "seed" })` when the app should
|
|
86
91
|
start full. Seed rows belong to the team and show no author.
|
|
87
|
-
5. Look at it: `
|
|
92
|
+
5. Look at it: `apps.screenshot({ appId })`, then `width: 390` (phone) and `theme: "dark"`;
|
|
93
|
+
`steps: [{click: "#edit"}]` or `[{press: "<action id>"}]` shows a dialog or a second state.
|
|
94
|
+
Fix the publish `warnings` too.
|
|
88
95
|
Fix every error and console line it reports, publish again, look again. It is read-only:
|
|
89
96
|
writes, sends and paid calls are refused there and work in Studio.
|
|
90
|
-
6. `
|
|
97
|
+
6. `apps.events({ appId, after })` waits for what the app sends you
|
|
91
98
|
(`summer.agent.send`), errors (uncaught and `console.error`) and feedback. Act on them;
|
|
92
99
|
pass the cursor on.
|
|
93
|
-
7. Change the app by publishing again; `
|
|
100
|
+
7. Change the app by publishing again; `apps.get({ appId })` returns the current files.
|
|
94
101
|
|
|
95
102
|
## Data is the API
|
|
96
103
|
|
|
97
|
-
Read
|
|
104
|
+
Read an app's shared collections with `apps.read_data` and write them with `apps.write_data`. Both work with
|
|
98
105
|
no app open, and everyone in the app sees your edits live. "Nerf the bow in our
|
|
99
106
|
balance sheet" is a data write, not a click.
|
|
100
107
|
|
|
101
|
-
Declare each collection's record shape in the manifest `collections`; `
|
|
102
|
-
and `
|
|
108
|
+
Declare each collection's record shape in the manifest `collections`; `apps.tools`
|
|
109
|
+
and `apps.read_data` return it, so any agent knows what a record looks like.
|
|
103
110
|
|
|
104
111
|
```json
|
|
105
112
|
{ "appId": "<id>", "ops": [
|
|
@@ -109,8 +116,9 @@ and `summer_app_data` reads return it, so any agent knows what a record looks li
|
|
|
109
116
|
] }
|
|
110
117
|
```
|
|
111
118
|
|
|
112
|
-
|
|
113
|
-
|
|
119
|
+
That is the input of `apps.write_data`: up to 100 ops per call. Send an `idempotencyKey` and reuse it
|
|
120
|
+
only to retry the same write, so it applies once. `apps.read_data({ appId, collection, limit, cursor })`
|
|
121
|
+
reads records (`items`, then `nextCursor` for the next page); removed records are not returned. Your writes are recorded as `actor { kind: "agent" }` (and
|
|
114
122
|
as `createdBy` on records you create), so the app can show which rows an agent made. Add
|
|
115
123
|
`"as": "seed"` for starter data that belongs to the team (`kind: "seed"`, no author). `patch` merges keys
|
|
116
124
|
(`null` removes one); `ifRevision` guards against overwriting a newer change.
|
|
@@ -119,8 +127,11 @@ as `createdBy` on records you create), so the app can show which rows an agent m
|
|
|
119
127
|
|
|
120
128
|
Logic that lives in the app (a balance formula, an export) can be exposed in the
|
|
121
129
|
manifest `agentTools` and implemented with `summer.agent.tool(name, handler)`.
|
|
122
|
-
`
|
|
123
|
-
app and answers `
|
|
130
|
+
`apps.tools` lists them; `apps.call({ appId, tool, input })` runs one inside the person's open
|
|
131
|
+
app and answers a `conflict` error when the app is not open (its `next` is the app's link for the
|
|
132
|
+
person). Prefer data for plain reads and edits. `apps.page` reads the fields and buttons an open app
|
|
133
|
+
declared, and `apps.use_page({ appId, fill, press })` fills and presses them; the ones the app marks
|
|
134
|
+
critical are the person's to press.
|
|
124
135
|
|
|
125
136
|
## Rules
|
|
126
137
|
|
|
@@ -141,12 +152,46 @@ app and answers `app_not_open` otherwise. Prefer data for plain reads and edits.
|
|
|
141
152
|
- Call `summer.page.declare` so agents can read and use the UI; mark delete,
|
|
142
153
|
publish, pay and send actions `critical`.
|
|
143
154
|
- When the SDK cannot do what the app needs, say so and call
|
|
144
|
-
`
|
|
145
|
-
- `
|
|
146
|
-
returns `engine_lacks_op`: open the app in the Studio tab instead.
|
|
155
|
+
`apps.report_gap`.
|
|
156
|
+
- `apps.dock` docks an app in the editor (it runs in the Summer MCP on this computer); on engines
|
|
157
|
+
without app docks it returns `engine_lacks_op`: open the app in the Studio tab instead.
|
|
158
|
+
- Keep, archive, restore, rename and pin with `apps.update` (`status`, `name`, `folder`, `pinned`);
|
|
159
|
+
copy one with `apps.duplicate`; add a starter app with `apps.add_starter`; send the makers a note
|
|
160
|
+
with `apps.feedback`. `apps.delete` asks the person, and `apps.rollback` (an older version goes
|
|
161
|
+
live) and `apps.update_starter` ask the app's owner: each answers `needs_approval` with a link to
|
|
162
|
+
give them, and nothing changes until they approve (`jobs.wait` on the job).
|
|
147
163
|
|
|
148
164
|
## Done means
|
|
149
165
|
|
|
150
|
-
The app is published; `
|
|
166
|
+
The app is published; `apps.screenshot` shows it with real data in light, dark and at
|
|
151
167
|
390 px with no errors; its states (loading, empty, error) work; and the person knows what it
|
|
152
168
|
does and where its data goes.
|
|
169
|
+
|
|
170
|
+
<!-- shell-commands: generated from the operation catalog by npm run generate:registry; do not edit by hand -->
|
|
171
|
+
## From a shell
|
|
172
|
+
|
|
173
|
+
No Summer MCP tools in this session? Run each one as a command; when `summer --version` is missing or below 4.0, use `npx -y summer-engine@latest` in place of `summer`. Fields are flags in kebab-case (`--scene-path res://main.tscn`) or one `--input '<json>'`, and `summer ops describe <op>` prints the exact input. The `summer-cli` skill has the rest.
|
|
174
|
+
|
|
175
|
+
| In this skill | Command |
|
|
176
|
+
|---|---|
|
|
177
|
+
| `apps.call`, `summer_apps_call` | `summer apps call` |
|
|
178
|
+
| `apps.create`, `summer_apps_create` | `summer apps create` |
|
|
179
|
+
| `apps.dock` | `summer apps dock` |
|
|
180
|
+
| `apps.events`, `summer_apps_events` | `summer apps events` |
|
|
181
|
+
| `apps.get`, `summer_apps_get` | `summer apps get` |
|
|
182
|
+
| `apps.guide`, `summer_apps_guide` | `summer apps guide` |
|
|
183
|
+
| `summer_apps_list` | `summer apps list` |
|
|
184
|
+
| `apps.page`, `summer_apps_page` | `summer apps page` |
|
|
185
|
+
| `apps.publish`, `summer_apps_publish` | `summer apps publish` |
|
|
186
|
+
| `apps.read_data`, `summer_apps_read_data` | `summer apps read-data` |
|
|
187
|
+
| `apps.report_gap`, `summer_apps_report_gap` | `summer apps report-gap` |
|
|
188
|
+
| `apps.screenshot`, `summer_apps_screenshot` | `summer apps screenshot` |
|
|
189
|
+
| `apps.tools`, `summer_apps_tools` | `summer apps tools` |
|
|
190
|
+
| `apps.update`, `summer_apps_update` | `summer apps update` |
|
|
191
|
+
| `apps.use_page`, `summer_apps_use_page` | `summer apps use-page` |
|
|
192
|
+
| `apps.write_data`, `summer_apps_write_data` | `summer apps write-data` |
|
|
193
|
+
| `assets.generate_sfx_choices` | `summer assets generate-sfx-choices` |
|
|
194
|
+
| `docs.feedback` | `summer docs feedback` |
|
|
195
|
+
| `jobs.wait` | `summer jobs wait` |
|
|
196
|
+
| `summer_search` | `summer ops search "<what you want>"` |
|
|
197
|
+
<!-- /shell-commands -->
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# The Summer App manifest
|
|
2
2
|
|
|
3
|
-
Sent as `manifest` on every `
|
|
3
|
+
Sent as `manifest` on every `apps.publish` and written into the app as
|
|
4
4
|
`summer.app.json`. Unknown keys and unknown permissions are refused with a message that
|
|
5
5
|
names them. Every field:
|
|
6
6
|
|
|
@@ -6,9 +6,9 @@ the host, shared data (list, put, live changes), who changed a row (person or ag
|
|
|
6
6
|
an edit flow (dialog + form with setValues), status badges, an error with Try again, the
|
|
7
7
|
page declaration, an agent event, an agent tool and frame-move state.
|
|
8
8
|
|
|
9
|
-
Publish it with `
|
|
10
|
-
`index.html` and `app.js
|
|
11
|
-
table, notice and empty text are kit components (`
|
|
9
|
+
Publish it with `apps.publish({ appId, files, manifest, note })` where `files` holds
|
|
10
|
+
`index.html` and `app.js` as `{ path, content }`. The page, sections, inputs,
|
|
11
|
+
table, notice and empty text are kit components (`apps.guide({ section: "kit" })`, or
|
|
12
12
|
`/summer-ui/v1/catalog.json` on the app host); no app CSS is needed.
|
|
13
13
|
|
|
14
14
|
## The manifest (send it as `manifest`)
|
|
@@ -145,7 +145,7 @@ form.addEventListener("submit", async (event) => {
|
|
|
145
145
|
// Live: every change by a teammate or an agent arrives as { revision, actor, ops } (or { reset: true }).
|
|
146
146
|
notes.subscribe(() => load());
|
|
147
147
|
|
|
148
|
-
// Agent tool:
|
|
148
|
+
// Agent tool: apps.call({ appId, tool: "add_note", input: { text, level } }) runs this while the app is open.
|
|
149
149
|
// Its writes are recorded as the calling agent's (actor.kind "agent", via "agent-tool").
|
|
150
150
|
summer.agent.tool("add_note", async ({ text, level }, { agent }) => {
|
|
151
151
|
const id = crypto.randomUUID();
|
|
@@ -153,7 +153,7 @@ summer.agent.tool("add_note", async ({ text, level }, { agent }) => {
|
|
|
153
153
|
return { id };
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
// What agents can read and use with
|
|
156
|
+
// What agents can read with apps.page and use with apps.use_page.
|
|
157
157
|
summer.page.declare({ actions: [{ id: "add", label: "Add note", run: () => openEditor(null) }] });
|
|
158
158
|
|
|
159
159
|
// Frame moves: Studio moves an idle app to a fresh frame every few minutes. Shared data survives on
|
|
@@ -178,6 +178,6 @@ source's `onended`.
|
|
|
178
178
|
{ "appId": "<id>", "ops": [{ "op": "put", "collection": "notes", "recordId": "n-1", "data": { "text": "Boss fight too long", "level": "boss", "status": "open", "author": "agent" } }] }
|
|
179
179
|
```
|
|
180
180
|
|
|
181
|
-
That is
|
|
182
|
-
through `notes.subscribe`. `
|
|
181
|
+
That is an `apps.write_data` input: it works with the app closed, and the open app shows it
|
|
182
|
+
through `notes.subscribe`. `apps.tools` and `apps.read_data` return the
|
|
183
183
|
`collections` above, so an agent knows the record shape.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
id: skill/summer-apps
|
|
2
2
|
kind: skill
|
|
3
3
|
version: 0.1.0
|
|
4
|
-
summary: "Build a Summer App, a team tool inside Summer Studio (balance table, quest editor, tracker
|
|
4
|
+
summary: "Build a Summer App, a team tool inside Summer Studio (balance table, quest editor, tracker), data and tools."
|
|
5
5
|
use_when:
|
|
6
6
|
- the person asks for a tool for their team ("build us a loot balance tool", "a board to track creatures")
|
|
7
7
|
- the person needs a UI to decide, rate or edit something they will come back to
|
|
@@ -67,21 +67,21 @@ exist); otherwise the call rejects with `conflict`. Record ids: letters, digits,
|
|
|
67
67
|
### Who changed it
|
|
68
68
|
|
|
69
69
|
`actor.userId` is the account the write ran as, the same id as `ready.viewer.userId` and
|
|
70
|
-
`app.viewer().userId`. `kind: "agent"` marks writes an agent made with `
|
|
71
|
-
writes your own code made while running an agent tool for `
|
|
70
|
+
`app.viewer().userId`. `kind: "agent"` marks writes an agent made with `apps.write_data`, and
|
|
71
|
+
writes your own code made while running an agent tool for `apps.call` (those also have
|
|
72
72
|
`via: "agent-tool"`). Show agent-made rows (a small "by agent" label) so people know.
|
|
73
73
|
|
|
74
74
|
`actor` is the last writer. `createdBy` (same shape) is who created the record and does not
|
|
75
75
|
change on later edits, so take the "by agent" label from `createdBy.kind === "agent"`: it
|
|
76
76
|
survives a person's edit. `kind: "seed"` is starter data an agent wrote for the team
|
|
77
|
-
(`
|
|
77
|
+
(`apps.write_data` with `as: "seed"`): show no author for it.
|
|
78
78
|
|
|
79
79
|
## Agents
|
|
80
80
|
|
|
81
81
|
| Call | Returns |
|
|
82
82
|
|---|---|
|
|
83
|
-
| `summer.agent.send(name, payload)` | `{ seq }`. `name` must be in `manifest.agentEvents`. Agents read it with `
|
|
84
|
-
| `summer.agent.tool(name, async (input, { agent }) => result)` | stop function. `name` must be in `manifest.agentTools`; `agent` is the calling agent's name. Data writes the handler makes are recorded as that agent's (`via: "agent-tool"`). `
|
|
83
|
+
| `summer.agent.send(name, payload)` | `{ seq }`. `name` must be in `manifest.agentEvents`. Agents read it with `apps.events`. |
|
|
84
|
+
| `summer.agent.tool(name, async (input, { agent }) => result)` | stop function. `name` must be in `manifest.agentTools`; `agent` is the calling agent's name. Data writes the handler makes are recorded as that agent's (`via: "agent-tool"`). `apps.call` runs it; return JSON (under 100 KB); a throw becomes `tool_failed` (the agent sees an `unavailable` error). |
|
|
85
85
|
| `summer.agent.onMessage((message) => …)` | stop function |
|
|
86
86
|
| `summer.page.declare({ fields, actions })` | promise. `fields: [{ id, label, kind: "text"\|"long-text"\|"number"\|"toggle"\|"choice", value, options?: [{ value, label }] (for choice), max?, hint?, set(value) }]`, `actions: [{ id, label, description?, critical?, run() }]`. Call it again when values change. Critical actions are pressed only by the person. |
|
|
87
87
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: summer-apps-design
|
|
3
|
-
description: "How a Summer App should look
|
|
3
|
+
description: "How a Summer App should look: layout, Summer UI kit components, tables, charts, states, pre-ship check."
|
|
4
4
|
license: MIT
|
|
5
5
|
compatibility: [Cursor, Claude Code, Windsurf, Codex]
|
|
6
6
|
category: tools
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
id: skill/summer-apps-design
|
|
2
2
|
kind: skill
|
|
3
3
|
version: 0.1.0
|
|
4
|
-
summary: How a Summer App should look
|
|
4
|
+
summary: "How a Summer App should look: layout, Summer UI kit components, tables, charts, states, pre-ship check."
|
|
5
5
|
use_when:
|
|
6
6
|
- building or changing the UI of a Summer App (agent-built team tool inside Summer Studio)
|
|
7
7
|
- an app looks generic, cluttered or off-brand
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: summer-assets
|
|
3
|
+
description: "Make game assets with Summer, no Summer Engine: find, generate and download 3D models, images, audio and video for any engine or app."
|
|
4
|
+
license: MIT
|
|
5
|
+
compatibility: [Cursor, Claude Code, Codex, Windsurf, Gemini, OpenCode, Factory, Copilot]
|
|
6
|
+
category: _meta
|
|
7
|
+
user-invocable: false
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Summer assets without the engine
|
|
11
|
+
|
|
12
|
+
Use this skill when the session has the Summer **assets profile**: the generation and asset library tools are there, the Summer Engine tools are not (no `summer_get_project_context`, `summer_add_node`, `summer_play` or `summer_screenshot`). The person wants files for their own engine or web app. You deliver files, not scenes.
|
|
13
|
+
|
|
14
|
+
A call written `area.action({...})` is one operation: use the tool `summer_area_action` when your client lists it, else `summer_call({ op: "area.action", input: {...} })`. `summer_search` finds any operation and its exact input.
|
|
15
|
+
|
|
16
|
+
## What this session has
|
|
17
|
+
|
|
18
|
+
| Job | Operations |
|
|
19
|
+
|---|---|
|
|
20
|
+
| Find how to do it | `summer_docs_search`, then `summer_docs_read` the skill |
|
|
21
|
+
| Find an existing asset | `assets.search({ query, scope })` (`scope`: `library` (default), `mine` for the person's own, `all`), then `assets.get({ assetId })` |
|
|
22
|
+
| Make a new asset | `assets.generate_image`, `assets.generate_3d`, `assets.generate_audio`, `assets.generate_sfx_choices` with `assets.choices`, `assets.generate_video`, `assets.generate_motion`, `assets.slice_sheet` |
|
|
23
|
+
| Wait for a job | `jobs.wait({ jobId, timeoutSeconds: 50 })` with the `job.id` a generation returned |
|
|
24
|
+
| Get the file | `out` on the generate call, `jobs.wait` or `assets.get`: the file is saved there and the answer gives `localPath` |
|
|
25
|
+
| More generators | `makers.<tool>` (for example `makers.npc_voice`, `makers.trailer_forge`); `summer_search` lists them |
|
|
26
|
+
|
|
27
|
+
## The loop
|
|
28
|
+
|
|
29
|
+
1. **Ask what the asset is for**, once, in one message: the engine or app, the file format, the size or scale, the style, how many.
|
|
30
|
+
2. **Reuse first.** `assets.search({ scope: "mine" })`, then `assets.search({ query, scope: "all" })`. Generate only when nothing fits.
|
|
31
|
+
3. **Read the asset's skill**: sound effect `sound-effect`, music `music-track`, ambience `ambient-bed`, voice `voice-line`, image or style `concept-art`, UI `ui-graphics`, texture `tileable-texture`, sprites `sprite-sheet` or `pixel-art`, sky `skybox-panorama`, 3D prop `prop-model`, character `character-model`, creature or plant `organic-model`, vehicle `vehicle-model`, modular kit `environment-kit`, animation `generate-motion`, video `trailer-shot`. Follow it up to the point where the asset exists. Its **Without Summer Engine** section says where to stop: skip every step that imports the asset into a project or adds nodes to a scene.
|
|
32
|
+
4. **Confirm before you spend.** Generation uses the person's Summer credits. `dryRun: true` on the generate call returns the estimate (`credits`, `balance`, `enough`) and makes nothing. Say what you will make and how many versions, and wait for a yes.
|
|
33
|
+
5. **Generate, then wait.** 3D, video and animation answer at once with `{ status: "running", job }`: call `jobs.wait` until `finished` is true. Never continue on a running job.
|
|
34
|
+
6. **Use the returned id.** `assets.get` with the asset id the finished job's `result` holds. Do not search by name right after a generation.
|
|
35
|
+
7. **Check it.** Look at the preview image or thumbnail you received. For audio, the person listens. Describe only what you actually received.
|
|
36
|
+
8. **Hand it over.** Pass `out` with the folder the person named (or a file path): on the generate call, on `jobs.wait` for 3D, video and animation, or on `assets.get` for an asset you already have. The file is saved there and the answer gives `localPath`. Without `out`, a file made in a game project lands in its asset folder (Godot `assets/`, Unity `Assets/Summer`, Unreal `Content/Summer`, three.js `public/assets`). Tell the person the path and format. Connected only to Summer's hosted server, there is no `out`: download `downloadUrl` from `assets.get` with your own shell.
|
|
37
|
+
|
|
38
|
+
## Formats
|
|
39
|
+
|
|
40
|
+
Each asset is a normal file in the person's Summer library: GLB for 3D models, PNG, JPG or WebP for images, MP3 or WAV for audio, MP4 for video. GLB is Y up. Generated models are not at real-world size: give the person the target size (a door about 2 m, a person about 1.7 m). Tell them if their engine needs a conversion step, and let them choose the tool for it.
|
|
41
|
+
|
|
42
|
+
## Done means
|
|
43
|
+
|
|
44
|
+
- The job finished without an error.
|
|
45
|
+
- You saw the preview, or the person heard the sound.
|
|
46
|
+
- The file is where the person asked, and you told them the path and format.
|
|
47
|
+
|
|
48
|
+
## Pitfalls
|
|
49
|
+
|
|
50
|
+
| Pitfall | Do this instead |
|
|
51
|
+
|---|---|
|
|
52
|
+
| Following an asset skill into its scene steps (`summer_import_asset_by_id`, `summer_add_node`, `AudioStreamPlayer`, `MeshInstance3D`) | Stop at the file. Those tools are not in this session. |
|
|
53
|
+
| Generating before you checked the person's own assets | `assets.search({ scope: "mine" })` first |
|
|
54
|
+
| Generating the same asset again to get the file | `assets.get` with `out` on the asset you already have |
|
|
55
|
+
| Telling the person the asset looks right without a preview | Say what you received, or that no preview came back |
|
|
56
|
+
| The person wants a whole game, not assets | Say that this needs Summer Engine and the full setup: `npx -y summer-engine@latest setup <agent> --yes` |
|
|
57
|
+
|
|
58
|
+
<!-- shell-commands: generated from the operation catalog by npm run generate:registry; do not edit by hand -->
|
|
59
|
+
## From a shell
|
|
60
|
+
|
|
61
|
+
No Summer MCP tools in this session? Run each one as a command; when `summer --version` is missing or below 4.0, use `npx -y summer-engine@latest` in place of `summer`. Fields are flags in kebab-case (`--scene-path res://main.tscn`) or one `--input '<json>'`, and `summer ops describe <op>` prints the exact input. The `summer-cli` skill has the rest.
|
|
62
|
+
|
|
63
|
+
| In this skill | Command |
|
|
64
|
+
|---|---|
|
|
65
|
+
| `assets.choices` | `summer assets choices` |
|
|
66
|
+
| `assets.generate_3d` | `summer assets generate-3d` |
|
|
67
|
+
| `assets.generate_audio` | `summer assets generate-audio` |
|
|
68
|
+
| `assets.generate_image` | `summer assets generate-image` |
|
|
69
|
+
| `assets.generate_motion` | `summer assets generate-motion` |
|
|
70
|
+
| `assets.generate_sfx_choices` | `summer assets generate-sfx-choices` |
|
|
71
|
+
| `assets.generate_video` | `summer assets generate-video` |
|
|
72
|
+
| `assets.get` | `summer assets get` |
|
|
73
|
+
| `assets.search` | `summer assets search` |
|
|
74
|
+
| `assets.slice_sheet` | `summer assets slice-sheet` |
|
|
75
|
+
| `summer_docs_read` | `summer docs read` |
|
|
76
|
+
| `summer_docs_search` | `summer docs search` |
|
|
77
|
+
| `summer_add_node` | `summer engine add-node` |
|
|
78
|
+
| `summer_get_project_context` | `summer engine get-project-context` |
|
|
79
|
+
| `summer_import_asset_by_id` | `summer engine import-asset-by-id` |
|
|
80
|
+
| `summer_play` | `summer engine play` |
|
|
81
|
+
| `summer_screenshot` | `summer engine screenshot` |
|
|
82
|
+
| `jobs.wait` | `summer jobs wait` |
|
|
83
|
+
| `makers.npc_voice` | `summer makers npc-voice` |
|
|
84
|
+
| `makers.trailer_forge` | `summer makers trailer-forge` |
|
|
85
|
+
| `summer_search` | `summer ops search "<what you want>"` |
|
|
86
|
+
<!-- /shell-commands -->
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
id: skill/summer-assets
|
|
2
|
+
kind: skill
|
|
3
|
+
version: 1.0.1
|
|
4
|
+
summary: "Make game assets with Summer, no Summer Engine: find, generate and download 3D models, images, audio and video for any engine or app."
|
|
5
|
+
use_when:
|
|
6
|
+
- starting a session that has the Summer assets profile (generation tools, no engine tools)
|
|
7
|
+
- the person wants assets for their own engine or web app, not a game built in Summer Engine
|
|
8
|
+
- an asset skill ends with Summer Engine steps that this session cannot run
|
|
9
|
+
facets:
|
|
10
|
+
lifecycle:
|
|
11
|
+
- build
|
|
12
|
+
domains:
|
|
13
|
+
- assets
|
|
14
|
+
- agent-workflow
|
|
15
|
+
modalities:
|
|
16
|
+
- 3d-models
|
|
17
|
+
- images
|
|
18
|
+
- audio
|
|
19
|
+
- video
|
|
20
|
+
related:
|
|
21
|
+
tools:
|
|
22
|
+
- tool/search-assets
|
|
23
|
+
- tool/list-my-assets
|
|
24
|
+
- tool/check-job
|
|
25
|
+
- tool/get-asset
|
|
26
|
+
- tool/get-asset-download-url
|
|
27
|
+
skills:
|
|
28
|
+
- skill/asset-strategy
|
|
29
|
+
- skill/sound-effect
|
|
30
|
+
- skill/prop-model
|
|
31
|
+
- skill/concept-art
|
|
32
|
+
source: official
|
|
33
|
+
license: MIT
|
|
34
|
+
status: stable
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: summer-cli
|
|
3
|
+
description: "Summer as shell commands, no MCP: sign in, find and run operations, follow jobs, save files, drive the engine."
|
|
4
|
+
license: MIT
|
|
5
|
+
compatibility: [Cursor, Claude Code, Codex, Windsurf, Gemini, OpenCode, Factory, Copilot]
|
|
6
|
+
category: _meta
|
|
7
|
+
allowed-tools: Bash Read
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Summer from the shell
|
|
11
|
+
|
|
12
|
+
Use this skill when the session has no `summer_*` MCP tools (Summer was set up with `summer setup <agent> --cli`), or when a script or CI job runs Summer. Every Summer capability is an operation named `area.action`, and every operation is one command: `summer <area> <action>`. The commands run the same code as the MCP tools and give the same answers.
|
|
13
|
+
|
|
14
|
+
First run `summer --version`. If the shell does not find `summer`, or the version is below 4.0 (an old global install, which has no `summer <area> <action>` commands), put `npx -y summer-engine@latest` in place of `summer`, with the same arguments. In Windows PowerShell, write `npx.cmd`.
|
|
15
|
+
|
|
16
|
+
## The five commands in a game project
|
|
17
|
+
|
|
18
|
+
<!-- project-commands: the AGENTS.md that summer create and summer setup write copies this list -->
|
|
19
|
+
1. `summer run .` opens the project in Summer Engine. An agent's run stays in the background.
|
|
20
|
+
2. `summer engine get-project-context` (MCP: `summer_get_project_context`) reads the project, its main scene and the engine version. Run it first.
|
|
21
|
+
3. `summer engine play`, then `summer engine get-diagnostics` (MCP: `summer_play`, `summer_get_diagnostics`), runs the game and reads its errors. `summer engine stop` (`summer_stop`) ends it.
|
|
22
|
+
4. `summer engine screenshot` (MCP: `summer_screenshot`) saves an image of the editor or the running game. Open its `localPath` to look.
|
|
23
|
+
5. `summer ops search "<what you want>"` (MCP: `summer_search`) finds any other operation. Run it as `summer <area> <action>` (MCP: `summer_call`), with `--dry-run` first for a change.
|
|
24
|
+
<!-- /project-commands -->
|
|
25
|
+
|
|
26
|
+
## 1. Sign in once
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
summer login # opens the browser: the Summer account, then the store and cloud operations
|
|
30
|
+
summer whoami # who is signed in, and their credits
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Cloud operations (generation, the asset library, the store, publishing, analytics) need the sign-in. Engine commands do not. Run `summer login` in the foreground, once. Tell the person that their browser opens, and wait for them.
|
|
34
|
+
|
|
35
|
+
## 2. Find the operation
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
summer ops search "make a sound effect" # the best matches: name, effect, title
|
|
39
|
+
summer ops describe assets.generate_audio # the exact input: fields, types, which are required
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Describe the job in plain words. `--area assets` keeps one area. Without a sign-in, search and describe still find every operation: a cloud one shows `(needs sign-in)` and runs after `summer login`.
|
|
43
|
+
|
|
44
|
+
For a guide instead of an operation, search the library: `summer docs search --query "<the task>"`, then `summer docs read --id <id>`. Both work offline. Then follow the skill it names.
|
|
45
|
+
|
|
46
|
+
Each Summer skill ends with a **From a shell** table: the command for each MCP tool and operation the skill names. A skill that says `summer_play` or `assets.generate_image` means `summer engine play` or `summer assets generate-image`.
|
|
47
|
+
|
|
48
|
+
## 3. Run it
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
summer assets generate-image --dry-run --prompt "a cozy pixel-art tavern" --aspect-ratio 16:9
|
|
52
|
+
summer engine set-prop --scene-path res://main.tscn --path Player --key position --value "Vector3(0, 1, 0)"
|
|
53
|
+
summer store status --game-id <id> --json
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
- Actions and fields are kebab-case: `aspectRatio` is `--aspect-ratio`, `look_at` is `--look-at`.
|
|
57
|
+
- `--<field>` alone sets a boolean field to true; `--no-<field>` sets it to false. Repeat a flag to give a list.
|
|
58
|
+
- Objects, and anything hard to quote, go in `--input '<json>'`. A flag wins over the same key in `--input`.
|
|
59
|
+
- `--dry-run` checks the input and changes nothing. For a spend it shows the estimate in credits. Put it right after the action: after `summer setup <agent> --cli --allow-rules --yes` (run that only when the person asks for it), Claude Code and Codex run it without asking (and the reads). Before each generation or other spend: dry-run it, tell the person what you will make, and wait for a yes.
|
|
60
|
+
- `--idempotency-key <key>` makes a retry safe: Summer runs a change once per key.
|
|
61
|
+
- `--json` prints only the answer: `{"ok":true,"status":"done","result":{...}}`. The exit code is 0 for every `ok` answer and 1 for an error.
|
|
62
|
+
|
|
63
|
+
## 4. Long jobs
|
|
64
|
+
|
|
65
|
+
3D, video, animation, builds and uploads answer `Started: job <id>` with the command that follows the job.
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
summer assets generate-3d --prompt "a wooden barrel" --wait # runs, then follows the job to the end
|
|
69
|
+
summer jobs wait --job-id <id> --timeout-seconds 50 # run it again until finished is true
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Do not run the same change again to get its result. Wait on the job.
|
|
73
|
+
|
|
74
|
+
## 5. Approvals
|
|
75
|
+
|
|
76
|
+
A publish or another live change can answer `Needs approval` with a link. Give the person that link: nothing changes until they approve. Follow it with `summer jobs wait --job-id <id>` (or `--wait` on the call) until it ends: `done`, `declined`, `expired` or `stale`. Never approve for the person.
|
|
77
|
+
|
|
78
|
+
## 6. Files
|
|
79
|
+
|
|
80
|
+
- `--out <folder or file>` on a generate command, on `summer jobs wait` or on `summer assets get` saves the file there. In a Godot project, `res://` paths work. The answer adds `localPath`.
|
|
81
|
+
- Without `--out`, a generation run inside a game project saves into its asset folder: Godot `assets/`, Unity `Assets/Summer`, Unreal `Content/Summer`, three.js `public/assets`. Outside a project, give `--out`.
|
|
82
|
+
- `summer assets get --asset-id <id>` saves only with `--out`.
|
|
83
|
+
- A save never overwrites a file. Tell the person the `localPath`.
|
|
84
|
+
|
|
85
|
+
## 7. The engine
|
|
86
|
+
|
|
87
|
+
Engine commands (`summer engine …`) drive the Summer Engine app on this machine. The app must run with the project open.
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
summer status # is the engine up, and the sign-in
|
|
91
|
+
summer run ./my-game # opens the project; for an agent, in the background
|
|
92
|
+
summer engine get-project-context # first call: project, main scene, engine version
|
|
93
|
+
summer engine get-scene-tree --scene-path res://main.tscn --depth 2
|
|
94
|
+
summer engine screenshot # the answer's localPath is an image: open it to look
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
- Values are engine value strings, not JSON: `"Vector3(0, 10, 0)"`, `"Color(1, 0.5, 0, 1)"`. A resource is its class name: `"BoxMesh"`.
|
|
98
|
+
- Name the scene in every change: `--scene-path res://<scene>.tscn`.
|
|
99
|
+
- 3 or more scene edits are one script, not a chain of commands. Write a `func run(ctx):` that ends with `ctx.save_scene()` to a file, then run `summer engine run-script --scene-path res://main.tscn --source "$(cat build.gd)"`. The `scene-scripting` skill has the script API.
|
|
100
|
+
- With more than one editor open, set `SUMMER_ENGINE_PROJECT` to the project folder so the command picks the right one.
|
|
101
|
+
- `summer tool <slug> --args '<json>'` runs an engine tool by its 3.x name too. `summer tool --list` lists them.
|
|
102
|
+
|
|
103
|
+
## Without Summer Engine
|
|
104
|
+
|
|
105
|
+
Everything except section 7 works without the app: the sign-in, the library, generation, assets and files, the store and analytics. Skip the `summer engine …` commands; there they answer `engine_not_running`. For assets for another engine or a web app, follow the `summer-assets` skill and stop at the file.
|
|
106
|
+
|
|
107
|
+
## 8. Errors
|
|
108
|
+
|
|
109
|
+
An error prints `Error (<code>): <message>` and one `Next:` step, and exits 1. Do the next step. Retry only when the table says so.
|
|
110
|
+
|
|
111
|
+
| Code | Do this |
|
|
112
|
+
|---|---|
|
|
113
|
+
| `not_signed_in` | Run the command in `Next` (`summer login`), then the same command again. |
|
|
114
|
+
| `engine_not_running` | Open the project in Summer Engine, or `summer run <project-path>`. Then run it again. |
|
|
115
|
+
| `engine_lacks_op` | This engine build is too old for the command. Use the fallback the message names, or ask the person to update Summer Engine. |
|
|
116
|
+
| `invalid_input` | `summer ops describe <op>`, fix the flags, run it again. |
|
|
117
|
+
| `no_credits` | Give the person the link in `Next`. Do not run it again until they say they added credits. |
|
|
118
|
+
| `forbidden` | Summer refused this account. The person checks it in Summer Studio. |
|
|
119
|
+
| `not_found` | Check the id (the area's `list` command), or find the right operation with `summer ops search`. |
|
|
120
|
+
| `rate_limited`, `unavailable` | Nothing ran. Wait a minute and run it again. If it repeats, tell the person the message. |
|
|
121
|
+
| `outcome_unknown` | The change may have run. Run it again only with the same `--idempotency-key`, or check first. |
|
|
122
|
+
| `in_progress` | The same change is still running. Wait, then follow its job or run it again with the same `--idempotency-key`. |
|
|
123
|
+
| `idempotency_conflict` | That key was used for a different input. A new change needs a new key. |
|
|
124
|
+
| `conflict` | The state changed, or a job or approval ended without running (declined, expired, stale or cancelled). Check the current state; start again only if the person wants it. |
|
|
125
|
+
| `over_limit` | A plan limit or cap was reached. Give the person the message and the link in `Next`. Do not retry. |
|
|
126
|
+
| `unsupported` | Summer cannot do this yet, or not here. Tell the person the message. Do not retry. |
|
|
127
|
+
| `internal` | Summer failed on its side. Run it once more; if it fails again, tell the person the message. |
|
|
128
|
+
|
|
129
|
+
## Done means
|
|
130
|
+
|
|
131
|
+
- You ran each command and read its answer. Do not report an answer you did not get.
|
|
132
|
+
- Every spend had a dry run and a yes from the person first.
|
|
133
|
+
- Every file you made is saved, and you told the person its `localPath`.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
id: skill/summer-cli
|
|
2
|
+
kind: skill
|
|
3
|
+
version: 1.0.1
|
|
4
|
+
summary: "Summer as shell commands, no MCP: sign in, find and run operations, follow jobs, save files, drive the engine."
|
|
5
|
+
use_when:
|
|
6
|
+
- the session has no summer_* MCP tools, or Summer was set up with summer setup <agent> --cli
|
|
7
|
+
- running a Summer operation, a generation or an engine change from a shell, a script or CI
|
|
8
|
+
- a skill names an MCP tool or an operation and you need the summer command that runs it
|
|
9
|
+
do_not_use_when:
|
|
10
|
+
- the session lists Summer's MCP tools; call them directly (the using-summer skill)
|
|
11
|
+
facets:
|
|
12
|
+
lifecycle:
|
|
13
|
+
- build
|
|
14
|
+
domains:
|
|
15
|
+
- agent-workflow
|
|
16
|
+
- assets
|
|
17
|
+
- tools
|
|
18
|
+
modalities:
|
|
19
|
+
- docs
|
|
20
|
+
related:
|
|
21
|
+
tools:
|
|
22
|
+
- tool/search-library
|
|
23
|
+
- tool/read-library
|
|
24
|
+
skills:
|
|
25
|
+
- skill/using-summer
|
|
26
|
+
- skill/summer-assets
|
|
27
|
+
- skill/scene-scripting
|
|
28
|
+
source: official
|
|
29
|
+
license: MIT
|
|
30
|
+
status: preview
|
|
31
|
+
recommended: true
|
|
@@ -224,3 +224,17 @@ and revoke access in the Summer app, and watch `access_changed`.
|
|
|
224
224
|
- `summer-world-chat`: chat inside a match
|
|
225
225
|
- `multiplayer-publish`: `summer.build.json` and publishing a Build
|
|
226
226
|
- `multiplayer-testing`: what Local Play can and can't test
|
|
227
|
+
|
|
228
|
+
<!-- shell-commands: generated from the operation catalog by npm run generate:registry; do not edit by hand -->
|
|
229
|
+
## From a shell
|
|
230
|
+
|
|
231
|
+
No Summer MCP tools in this session? Run each one as a command; when `summer --version` is missing or below 4.0, use `npx -y summer-engine@latest` in place of `summer`. Fields are flags in kebab-case (`--scene-path res://main.tscn`) or one `--input '<json>'`, and `summer ops describe <op>` prints the exact input. The `summer-cli` skill has the rest.
|
|
232
|
+
|
|
233
|
+
| In this skill | Command |
|
|
234
|
+
|---|---|
|
|
235
|
+
| `summer_get_diagnostics` | `summer engine get-diagnostics` |
|
|
236
|
+
| `summer_get_script_errors` | `summer engine get-script-errors` |
|
|
237
|
+
| `summer_play` | `summer engine play` |
|
|
238
|
+
| `summer_project_setting` | `summer engine project-setting` |
|
|
239
|
+
| `summer_stop` | `summer engine stop` |
|
|
240
|
+
<!-- /shell-commands -->
|
|
@@ -229,3 +229,19 @@ on them.
|
|
|
229
229
|
- `summer-match-results` — concluding matches, which moves ratings
|
|
230
230
|
- `summer-matchmaking` — declaring rated queues and teams
|
|
231
231
|
- `summer-player-data` — saving per-player progress that isn't a ranking
|
|
232
|
+
|
|
233
|
+
<!-- shell-commands: generated from the operation catalog by npm run generate:registry; do not edit by hand -->
|
|
234
|
+
## From a shell
|
|
235
|
+
|
|
236
|
+
No Summer MCP tools in this session? Run each one as a command; when `summer --version` is missing or below 4.0, use `npx -y summer-engine@latest` in place of `summer`. Fields are flags in kebab-case (`--scene-path res://main.tscn`) or one `--input '<json>'`, and `summer ops describe <op>` prints the exact input. The `summer-cli` skill has the rest.
|
|
237
|
+
|
|
238
|
+
| In this skill | Command |
|
|
239
|
+
|---|---|
|
|
240
|
+
| `summer_get_diagnostics` | `summer engine get-diagnostics` |
|
|
241
|
+
| `summer_get_script_errors` | `summer engine get-script-errors` |
|
|
242
|
+
| `summer_play` | `summer engine play` |
|
|
243
|
+
| `summer_read_file` | `summer engine read-file` |
|
|
244
|
+
| `summer_replace_text` | `summer engine replace-text` |
|
|
245
|
+
| `summer_stop` | `summer engine stop` |
|
|
246
|
+
| `summer_write_file` | `summer engine write-file` |
|
|
247
|
+
<!-- /shell-commands -->
|