summer-engine 3.7.0 → 4.0.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 +25 -22
- package/.codex-plugin/plugin.json +8 -14
- package/.cursor-plugin/plugin.json +7 -13
- package/.factory-plugin/plugin.json +7 -13
- package/AGENTS.md +19 -12
- package/CHANGELOG.md +112 -0
- package/GEMINI.md +3 -3
- package/README.md +111 -31
- package/assets/icon.png +0 -0
- package/commands/start.md +71 -0
- package/commands/summer.md +5 -3
- package/dist/cli/banner.js +3 -0
- package/dist/cli/commands/login.d.ts +27 -0
- package/dist/cli/commands/login.js +58 -12
- package/dist/cli/commands/ops.d.ts +47 -0
- package/dist/cli/commands/ops.js +301 -0
- package/dist/cli/commands/setup.d.ts +2 -0
- package/dist/cli/commands/setup.js +37 -12
- package/dist/cli/commands/skills.js +11 -7
- 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 +341 -0
- package/dist/core/capabilities/apps.js +353 -0
- package/dist/core/capabilities/doctor.d.ts +3 -0
- package/dist/core/capabilities/doctor.js +20 -15
- package/dist/core/capabilities/enable-plugin.d.ts +27 -0
- package/dist/core/capabilities/enable-plugin.js +75 -0
- package/dist/core/capabilities/fabricate-mesh.d.ts +2 -2
- 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/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/publish-build.js +2 -0
- package/dist/core/capabilities/runtime-control.d.ts +4 -4
- 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/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 +130 -46
- package/dist/core/capability-skew.js +4 -0
- 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.js +2 -1
- package/dist/core/oauth.js +4 -0
- package/dist/core/ops/catalog.d.ts +41 -0
- package/dist/core/ops/catalog.js +145 -0
- package/dist/core/ops/cloud.d.ts +56 -0
- package/dist/core/ops/cloud.js +175 -0
- package/dist/core/ops/contract.d.ts +119 -0
- package/dist/core/ops/contract.js +142 -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/save-files.d.ts +78 -0
- package/dist/core/ops/save-files.js +419 -0
- package/dist/core/ops/search.d.ts +9 -0
- package/dist/core/ops/search.js +55 -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 +22 -6
- package/dist/installer/agent-table.d.ts +3 -0
- package/dist/installer/agent-table.js +10 -7
- package/dist/installer/setup.d.ts +2 -0
- package/dist/installer/setup.js +9 -4
- package/dist/installer/version-check.d.ts +29 -9
- package/dist/installer/version-check.js +81 -28
- package/dist/mcp/command.js +7 -0
- package/dist/mcp/hosted-mount.d.ts +27 -2
- package/dist/mcp/hosted-mount.js +66 -24
- 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 +443 -0
- package/dist/mcp/server.d.ts +35 -11
- package/dist/mcp/server.js +236 -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.d.ts +2 -0
- package/dist/mcp/tools/app-tools.js +71 -0
- 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/gemini-extension.json +6 -12
- package/hooks/pre-commit-doctor.sh +5 -4
- package/hooks/session-start.sh +24 -28
- package/integrations/claude-desktop/README.md +1 -1
- package/integrations/copilot-jetbrains/README.md +1 -1
- 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/library/references/mcp-tools-reference/mcp-tools-reference.md +85 -35
- 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 +53 -28
- package/library/skills/3d-lighting/resource.yaml +1 -1
- package/library/skills/README.md +126 -116
- package/library/skills/adaptive-music/SKILL.md +19 -23
- package/library/skills/adaptive-music/resource.yaml +1 -1
- package/library/skills/agent-playtesting/SKILL.md +1 -1
- package/library/skills/agent-playtesting/resource.yaml +1 -1
- package/library/skills/ai-characters-in-games/SKILL.md +1 -1
- package/library/skills/ai-characters-in-games/resource.yaml +1 -1
- package/library/skills/ambient-bed/SKILL.md +22 -13
- package/library/skills/ambient-bed/resource.yaml +1 -1
- package/library/skills/animated-loop/SKILL.md +41 -32
- package/library/skills/animated-loop/resource.yaml +1 -1
- package/library/skills/animation-tree/SKILL.md +1 -1
- package/library/skills/animation-tree/resource.yaml +1 -1
- package/library/skills/art-direction/SKILL.md +3 -3
- package/library/skills/art-direction/resource.yaml +1 -1
- package/library/skills/asset-strategy/SKILL.md +21 -4
- package/library/skills/asset-strategy/resource.yaml +2 -1
- package/library/skills/audio-direction/SKILL.md +10 -10
- package/library/skills/audio-direction/resource.yaml +1 -1
- package/library/skills/auto-fire-targeting/SKILL.md +1 -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 +1 -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 +1 -1
- package/library/skills/browse-templates/resource.yaml +1 -1
- package/library/skills/camera-rigs/SKILL.md +2 -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 +4 -4
- package/library/skills/character-animation-wiring/resource.yaml +1 -1
- package/library/skills/character-model/SKILL.md +55 -47
- package/library/skills/character-model/resource.yaml +1 -1
- package/library/skills/character-movement/SKILL.md +3 -3
- package/library/skills/character-movement/resource.yaml +1 -1
- package/library/skills/character-portrait/SKILL.md +24 -19
- package/library/skills/character-portrait/resource.yaml +1 -1
- package/library/skills/cinematic-cutscene/SKILL.md +58 -46
- package/library/skills/cinematic-cutscene/resource.yaml +1 -1
- package/library/skills/combat-basics/SKILL.md +1 -1
- package/library/skills/combat-basics/resource.yaml +1 -1
- package/library/skills/compatibility-renderer-traps/SKILL.md +1 -1
- package/library/skills/compatibility-renderer-traps/resource.yaml +1 -1
- package/library/skills/concept-art/SKILL.md +16 -12
- package/library/skills/concept-art/resource.yaml +1 -1
- package/library/skills/concept-to-level/SKILL.md +239 -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 +19 -13
- package/library/skills/create-asset-sheet/resource.yaml +1 -1
- package/library/skills/debug/SKILL.md +2 -2
- package/library/skills/debug/resource.yaml +1 -1
- package/library/skills/debugging-game-feel/SKILL.md +1 -1
- package/library/skills/debugging-game-feel/resource.yaml +1 -1
- package/library/skills/design-level/SKILL.md +23 -35
- package/library/skills/design-level/resource.yaml +1 -1
- package/library/skills/design-mechanic/SKILL.md +1 -1
- package/library/skills/design-mechanic/resource.yaml +1 -1
- package/library/skills/design-npc/SKILL.md +22 -24
- package/library/skills/design-npc/resource.yaml +1 -1
- package/library/skills/diagnosing-perf-regressions/SKILL.md +1 -1
- package/library/skills/diagnosing-perf-regressions/resource.yaml +1 -1
- package/library/skills/driving-the-editor-ui/SKILL.md +1 -1
- package/library/skills/driving-the-editor-ui/resource.yaml +1 -1
- package/library/skills/environment-kit/SKILL.md +20 -16
- package/library/skills/environment-kit/resource.yaml +1 -1
- package/library/skills/export-and-ship/SKILL.md +6 -6
- package/library/skills/export-and-ship/resource.yaml +1 -1
- package/library/skills/fabricating-assets/SKILL.md +7 -7
- package/library/skills/fabricating-assets/resource.yaml +3 -3
- package/library/skills/facial-and-lipsync/SKILL.md +14 -15
- package/library/skills/facial-and-lipsync/resource.yaml +1 -1
- package/library/skills/fps-controller/SKILL.md +33 -41
- package/library/skills/fps-controller/resource.yaml +1 -1
- package/library/skills/game-feel/SKILL.md +8 -8
- package/library/skills/game-feel/resource.yaml +1 -1
- package/library/skills/gameskill/SKILL.md +4 -4
- package/library/skills/gameskill/resource.yaml +1 -1
- package/library/skills/gdscript-patterns/SKILL.md +1 -1
- package/library/skills/gdscript-patterns/resource.yaml +1 -1
- package/library/skills/generate-motion/SKILL.md +30 -21
- package/library/skills/generate-motion/resource.yaml +1 -1
- package/library/skills/godogen-visual-proof-game-generation/SKILL.md +1 -1
- package/library/skills/godogen-visual-proof-game-generation/resource.yaml +1 -0
- package/library/skills/grow-analytics/SKILL.md +3 -3
- package/library/skills/grow-analytics/resource.yaml +1 -1
- package/library/skills/headless-scripting/SKILL.md +1 -1
- package/library/skills/headless-scripting/resource.yaml +1 -1
- package/library/skills/in-game-purchases/SKILL.md +1 -1
- package/library/skills/in-game-purchases/resource.yaml +1 -1
- package/library/skills/instantiate-asset-pack/SKILL.md +2 -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 +4 -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 +1 -1
- package/library/skills/multiplayer/resource.yaml +1 -1
- package/library/skills/multiplayer-movement/SKILL.md +1 -1
- package/library/skills/multiplayer-movement/resource.yaml +1 -1
- package/library/skills/multiplayer-project/SKILL.md +1 -1
- package/library/skills/multiplayer-project/resource.yaml +1 -1
- package/library/skills/multiplayer-publish/SKILL.md +8 -7
- package/library/skills/multiplayer-publish/resource.yaml +3 -3
- package/library/skills/multiplayer-state/SKILL.md +1 -1
- package/library/skills/multiplayer-state/resource.yaml +1 -1
- package/library/skills/multiplayer-testing/SKILL.md +1 -1
- package/library/skills/multiplayer-testing/resource.yaml +1 -1
- package/library/skills/music-track/SKILL.md +22 -13
- package/library/skills/music-track/resource.yaml +1 -1
- package/library/skills/navigate-summer/SKILL.md +11 -9
- package/library/skills/navigate-summer/resource.yaml +1 -1
- package/library/skills/new-project/SKILL.md +1 -1
- package/library/skills/new-project/resource.yaml +1 -1
- package/library/skills/organic-model/SKILL.md +24 -18
- package/library/skills/organic-model/resource.yaml +1 -1
- package/library/skills/pixel-art/SKILL.md +27 -23
- package/library/skills/pixel-art/resource.yaml +1 -1
- package/library/skills/play/SKILL.md +1 -1
- package/library/skills/play/resource.yaml +1 -1
- package/library/skills/playtesting-a-feature/SKILL.md +1 -1
- package/library/skills/playtesting-a-feature/resource.yaml +1 -1
- package/library/skills/procedural-animation/SKILL.md +20 -16
- package/library/skills/procedural-animation/resource.yaml +1 -1
- package/library/skills/prop-model/SKILL.md +25 -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 +16 -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 +1 -1
- package/library/skills/release-readiness/resource.yaml +1 -1
- package/library/skills/remote-deploy/SKILL.md +1 -1
- package/library/skills/remote-deploy/resource.yaml +1 -1
- package/library/skills/retarget/SKILL.md +23 -20
- package/library/skills/retarget/resource.yaml +1 -1
- package/library/skills/running-in-the-cloud/SKILL.md +1 -1
- package/library/skills/running-in-the-cloud/resource.yaml +1 -1
- package/library/skills/save-load/SKILL.md +1 -1
- package/library/skills/save-load/resource.yaml +1 -1
- package/library/skills/scene-composition/SKILL.md +1 -1
- package/library/skills/scene-composition/resource.yaml +1 -1
- package/library/skills/scene-hierarchy-design/SKILL.md +2 -2
- package/library/skills/scene-hierarchy-design/resource.yaml +1 -1
- package/library/skills/scene-scripting/SKILL.md +66 -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 +2 -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 +2 -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 +27 -21
- package/library/skills/skybox-panorama/resource.yaml +1 -1
- package/library/skills/sound-effect/SKILL.md +31 -20
- package/library/skills/sound-effect/resource.yaml +1 -1
- package/library/skills/spatial-placement/SKILL.md +14 -9
- package/library/skills/spatial-placement/resource.yaml +1 -1
- package/library/skills/sprite-sheet/SKILL.md +32 -27
- package/library/skills/sprite-sheet/resource.yaml +1 -1
- package/library/skills/store-art/SKILL.md +3 -3
- package/library/skills/store-art/resource.yaml +2 -2
- package/library/skills/store-listing/SKILL.md +3 -3
- package/library/skills/store-listing/resource.yaml +2 -2
- package/library/skills/summer-analytics/SKILL.md +7 -5
- package/library/skills/summer-analytics/resource.yaml +2 -2
- package/library/skills/summer-apps/SKILL.md +168 -0
- package/library/skills/summer-apps/manifest.md +57 -0
- package/library/skills/summer-apps/minimal-app.md +183 -0
- package/library/skills/summer-apps/resource.yaml +36 -0
- package/library/skills/summer-apps/sdk-reference.md +135 -0
- package/library/skills/summer-apps-design/SKILL.md +197 -0
- package/library/skills/summer-apps-design/resource.yaml +23 -0
- package/library/skills/summer-assets/SKILL.md +56 -0
- package/library/skills/summer-assets/resource.yaml +34 -0
- package/library/skills/summer-store/SKILL.md +1 -1
- package/library/skills/text-to-motion/SKILL.md +30 -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 +19 -15
- package/library/skills/tileable-texture/resource.yaml +1 -1
- package/library/skills/trailer-shot/SKILL.md +28 -24
- package/library/skills/trailer-shot/resource.yaml +1 -1
- package/library/skills/tune-performance/SKILL.md +6 -6
- package/library/skills/tune-performance/resource.yaml +1 -1
- package/library/skills/ui-basics/SKILL.md +41 -36
- package/library/skills/ui-basics/resource.yaml +1 -1
- package/library/skills/ui-graphics/SKILL.md +47 -38
- package/library/skills/ui-graphics/resource.yaml +1 -1
- package/library/skills/use-widget-asset/SKILL.md +1 -1
- package/library/skills/use-widget-asset/resource.yaml +1 -1
- package/library/skills/using-summer/SKILL.md +7 -5
- package/library/skills/using-summer/resource.yaml +1 -1
- package/library/skills/vehicle-model/SKILL.md +65 -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 +2 -2
- package/library/skills/verifying-scenes/resource.yaml +1 -1
- package/library/skills/vfx-dissolve/SKILL.md +2 -2
- package/library/skills/vfx-dissolve/resource.yaml +1 -1
- package/library/skills/vfx-fire/SKILL.md +15 -41
- package/library/skills/vfx-fire/resource.yaml +1 -1
- package/library/skills/vfx-hit-spark/SKILL.md +1 -1
- package/library/skills/vfx-hit-spark/resource.yaml +1 -1
- package/library/skills/vfx-lightning/SKILL.md +7 -16
- package/library/skills/vfx-lightning/resource.yaml +1 -1
- package/library/skills/vfx-magic-glow/SKILL.md +23 -32
- package/library/skills/vfx-magic-glow/resource.yaml +1 -1
- package/library/skills/vfx-muzzle-flash/SKILL.md +20 -35
- package/library/skills/vfx-muzzle-flash/resource.yaml +1 -1
- package/library/skills/vfx-smoke/SKILL.md +13 -31
- package/library/skills/vfx-smoke/resource.yaml +1 -1
- package/library/skills/vfx-water-ripple/SKILL.md +12 -31
- package/library/skills/vfx-water-ripple/resource.yaml +1 -1
- package/library/skills/voice-line/SKILL.md +71 -40
- package/library/skills/voice-line/resource.yaml +1 -1
- package/library/skills/web-and-touch-input/SKILL.md +1 -1
- package/library/skills/web-and-touch-input/resource.yaml +1 -1
- package/library/skills/web-compatibility-look/SKILL.md +1 -1
- package/library/skills/web-compatibility-look/resource.yaml +1 -1
- package/library/skills/world-building-3d/SKILL.md +1 -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 +59 -0
- package/library/tools/app-create/resource.yaml +67 -0
- package/library/tools/app-data/resource.yaml +74 -0
- package/library/tools/app-dock/resource.yaml +59 -0
- package/library/tools/app-events/resource.yaml +68 -0
- package/library/tools/app-get/resource.yaml +46 -0
- package/library/tools/app-guide/resource.yaml +55 -0
- package/library/tools/app-list/resource.yaml +48 -0
- package/library/tools/app-page/resource.yaml +74 -0
- package/library/tools/app-publish/resource.yaml +90 -0
- package/library/tools/app-report-gap/resource.yaml +58 -0
- package/library/tools/app-screenshot/resource.yaml +103 -0
- package/library/tools/app-tools/resource.yaml +46 -0
- package/library/tools/app-update/resource.yaml +68 -0
- 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/enable-plugin/resource.yaml +53 -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 +6 -4
- package/registry/generated/aliases.json +15 -0
- package/registry/generated/counts.json +3 -3
- package/registry/generated/gemini-extension.json +6 -12
- package/registry/generated/index.json +1155 -408
- package/registry/generated/marketplace.claude.json +2 -13
- package/registry/generated/plugin.claude.json +25 -22
- package/registry/generated/plugin.codex.json +8 -14
- package/registry/generated/plugin.cursor.json +7 -13
- package/registry/generated/plugin.factory.json +7 -13
- package/registry/generated/server.json +34 -0
- package/registry/generated/skills-index.md +126 -116
- package/registry/generated/skills-registry.json +178 -113
- 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 +1206 -0
- package/registry/schemas/allowed-hosts.json +4 -2
- package/registry/schemas/operation.schema.json +318 -0
- package/registry/schemas/skill.schema.json +4 -0
- package/CLAUDE.md +0 -7
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Summer Apps (summer_app_*): tools a game team uses inside Summer Studio,
|
|
4
|
+
* built by agents. Every cloud tool here calls the Summer web API under
|
|
5
|
+
* /api/mcp/apps with the signed-in Summer account; summer_app_dock asks the
|
|
6
|
+
* running editor to dock an app (engine ops OpenAppDock / CloseAppDock /
|
|
7
|
+
* ListAppDocks).
|
|
8
|
+
*
|
|
9
|
+
* One implementation for both faces: the MCP tools (src/mcp/tools/app-tools.ts)
|
|
10
|
+
* and `summer tool app-*` (tool-dispatch.ts) share the schemas and functions
|
|
11
|
+
* here and pass their own client surface.
|
|
12
|
+
*/
|
|
13
|
+
export declare const APPS_ENDPOINT = "/api/mcp/apps";
|
|
14
|
+
/** The server's long-poll ceiling for summer_app_events. */
|
|
15
|
+
export declare const MAX_APP_EVENTS_WAIT_SECONDS = 50;
|
|
16
|
+
export declare const APP_GUIDE_SECTIONS: readonly ["all", "overview", "manifest", "sdk", "kit", "layout", "design", "examples", "types"];
|
|
17
|
+
export declare const APP_DOCK_SLOTS: readonly ["left", "right", "bottom"];
|
|
18
|
+
export declare const appGuideArgsSchema: z.ZodObject<{
|
|
19
|
+
section: z.ZodDefault<z.ZodEnum<["all", "overview", "manifest", "sdk", "kit", "layout", "design", "examples", "types"]>>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
section: "all" | "kit" | "layout" | "examples" | "manifest" | "overview" | "sdk" | "design" | "types";
|
|
22
|
+
}, {
|
|
23
|
+
section?: "all" | "kit" | "layout" | "examples" | "manifest" | "overview" | "sdk" | "design" | "types" | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
export declare const appListArgsSchema: z.ZodObject<{
|
|
26
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
27
|
+
q: z.ZodOptional<z.ZodString>;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
workspaceId?: string | undefined;
|
|
30
|
+
q?: string | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
workspaceId?: string | undefined;
|
|
33
|
+
q?: string | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
export declare const appCreateArgsSchema: z.ZodObject<{
|
|
36
|
+
name: z.ZodString;
|
|
37
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
38
|
+
format: z.ZodDefault<z.ZodEnum<["code", "layout"]>>;
|
|
39
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
40
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
name: string;
|
|
43
|
+
format: "code" | "layout";
|
|
44
|
+
folder?: string | undefined;
|
|
45
|
+
workspaceId?: string | undefined;
|
|
46
|
+
purpose?: string | undefined;
|
|
47
|
+
}, {
|
|
48
|
+
name: string;
|
|
49
|
+
format?: "code" | "layout" | undefined;
|
|
50
|
+
folder?: string | undefined;
|
|
51
|
+
workspaceId?: string | undefined;
|
|
52
|
+
purpose?: string | undefined;
|
|
53
|
+
}>;
|
|
54
|
+
export declare const appPublishArgsSchema: z.ZodObject<{
|
|
55
|
+
appId: z.ZodString;
|
|
56
|
+
dir: z.ZodOptional<z.ZodString>;
|
|
57
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
58
|
+
path: z.ZodString;
|
|
59
|
+
content: z.ZodString;
|
|
60
|
+
encoding: z.ZodDefault<z.ZodEnum<["utf8", "base64"]>>;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
encoding: "utf8" | "base64";
|
|
63
|
+
path: string;
|
|
64
|
+
content: string;
|
|
65
|
+
}, {
|
|
66
|
+
path: string;
|
|
67
|
+
content: string;
|
|
68
|
+
encoding?: "utf8" | "base64" | undefined;
|
|
69
|
+
}>, "many">>;
|
|
70
|
+
layout: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
71
|
+
manifest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
72
|
+
note: z.ZodOptional<z.ZodString>;
|
|
73
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
manifest: Record<string, unknown>;
|
|
76
|
+
appId: string;
|
|
77
|
+
note?: string | undefined;
|
|
78
|
+
files?: {
|
|
79
|
+
encoding: "utf8" | "base64";
|
|
80
|
+
path: string;
|
|
81
|
+
content: string;
|
|
82
|
+
}[] | undefined;
|
|
83
|
+
idempotencyKey?: string | undefined;
|
|
84
|
+
dir?: string | undefined;
|
|
85
|
+
layout?: Record<string, unknown> | undefined;
|
|
86
|
+
}, {
|
|
87
|
+
manifest: Record<string, unknown>;
|
|
88
|
+
appId: string;
|
|
89
|
+
note?: string | undefined;
|
|
90
|
+
files?: {
|
|
91
|
+
path: string;
|
|
92
|
+
content: string;
|
|
93
|
+
encoding?: "utf8" | "base64" | undefined;
|
|
94
|
+
}[] | undefined;
|
|
95
|
+
idempotencyKey?: string | undefined;
|
|
96
|
+
dir?: string | undefined;
|
|
97
|
+
layout?: Record<string, unknown> | undefined;
|
|
98
|
+
}>;
|
|
99
|
+
export declare const appGetArgsSchema: z.ZodObject<{
|
|
100
|
+
appId: z.ZodString;
|
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
appId: string;
|
|
103
|
+
}, {
|
|
104
|
+
appId: string;
|
|
105
|
+
}>;
|
|
106
|
+
export declare const appEventsArgsSchema: z.ZodObject<{
|
|
107
|
+
appId: z.ZodString;
|
|
108
|
+
after: z.ZodDefault<z.ZodNumber>;
|
|
109
|
+
timeoutSeconds: z.ZodDefault<z.ZodNumber>;
|
|
110
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<["agent", "error", "feedback", "tool"]>, "many">>;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
timeoutSeconds: number;
|
|
113
|
+
after: number;
|
|
114
|
+
appId: string;
|
|
115
|
+
kinds?: ("error" | "agent" | "tool" | "feedback")[] | undefined;
|
|
116
|
+
}, {
|
|
117
|
+
appId: string;
|
|
118
|
+
kinds?: ("error" | "agent" | "tool" | "feedback")[] | undefined;
|
|
119
|
+
timeoutSeconds?: number | undefined;
|
|
120
|
+
after?: number | undefined;
|
|
121
|
+
}>;
|
|
122
|
+
export declare const appPageArgsSchema: z.ZodObject<{
|
|
123
|
+
appId: z.ZodString;
|
|
124
|
+
fill: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
125
|
+
field: z.ZodString;
|
|
126
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
value: string | number | boolean;
|
|
129
|
+
field: string;
|
|
130
|
+
}, {
|
|
131
|
+
value: string | number | boolean;
|
|
132
|
+
field: string;
|
|
133
|
+
}>, "many">>;
|
|
134
|
+
press: z.ZodOptional<z.ZodString>;
|
|
135
|
+
}, "strip", z.ZodTypeAny, {
|
|
136
|
+
appId: string;
|
|
137
|
+
fill?: {
|
|
138
|
+
value: string | number | boolean;
|
|
139
|
+
field: string;
|
|
140
|
+
}[] | undefined;
|
|
141
|
+
press?: string | undefined;
|
|
142
|
+
}, {
|
|
143
|
+
appId: string;
|
|
144
|
+
fill?: {
|
|
145
|
+
value: string | number | boolean;
|
|
146
|
+
field: string;
|
|
147
|
+
}[] | undefined;
|
|
148
|
+
press?: string | undefined;
|
|
149
|
+
}>;
|
|
150
|
+
export declare const appUpdateArgsSchema: z.ZodObject<{
|
|
151
|
+
appId: z.ZodString;
|
|
152
|
+
name: z.ZodOptional<z.ZodString>;
|
|
153
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
154
|
+
status: z.ZodOptional<z.ZodEnum<["scratch", "kept", "archived"]>>;
|
|
155
|
+
folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
156
|
+
}, "strip", z.ZodTypeAny, {
|
|
157
|
+
appId: string;
|
|
158
|
+
name?: string | undefined;
|
|
159
|
+
status?: "scratch" | "kept" | "archived" | undefined;
|
|
160
|
+
folder?: string | null | undefined;
|
|
161
|
+
purpose?: string | undefined;
|
|
162
|
+
}, {
|
|
163
|
+
appId: string;
|
|
164
|
+
name?: string | undefined;
|
|
165
|
+
status?: "scratch" | "kept" | "archived" | undefined;
|
|
166
|
+
folder?: string | null | undefined;
|
|
167
|
+
purpose?: string | undefined;
|
|
168
|
+
}>;
|
|
169
|
+
export declare const appScreenshotArgsSchema: z.ZodObject<{
|
|
170
|
+
appId: z.ZodString;
|
|
171
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
173
|
+
height: z.ZodDefault<z.ZodNumber>;
|
|
174
|
+
theme: z.ZodDefault<z.ZodEnum<["light", "dark"]>>;
|
|
175
|
+
fullPage: z.ZodDefault<z.ZodBoolean>;
|
|
176
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
177
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
178
|
+
click: z.ZodOptional<z.ZodString>;
|
|
179
|
+
press: z.ZodOptional<z.ZodString>;
|
|
180
|
+
wait: z.ZodOptional<z.ZodNumber>;
|
|
181
|
+
}, "strip", z.ZodTypeAny, {
|
|
182
|
+
wait?: number | undefined;
|
|
183
|
+
press?: string | undefined;
|
|
184
|
+
click?: string | undefined;
|
|
185
|
+
}, {
|
|
186
|
+
wait?: number | undefined;
|
|
187
|
+
press?: string | undefined;
|
|
188
|
+
click?: string | undefined;
|
|
189
|
+
}>, "many">>;
|
|
190
|
+
out: z.ZodOptional<z.ZodString>;
|
|
191
|
+
}, "strip", z.ZodTypeAny, {
|
|
192
|
+
width: number;
|
|
193
|
+
height: number;
|
|
194
|
+
theme: "light" | "dark";
|
|
195
|
+
appId: string;
|
|
196
|
+
fullPage: boolean;
|
|
197
|
+
version?: number | undefined;
|
|
198
|
+
params?: Record<string, string> | undefined;
|
|
199
|
+
out?: string | undefined;
|
|
200
|
+
steps?: {
|
|
201
|
+
wait?: number | undefined;
|
|
202
|
+
press?: string | undefined;
|
|
203
|
+
click?: string | undefined;
|
|
204
|
+
}[] | undefined;
|
|
205
|
+
}, {
|
|
206
|
+
appId: string;
|
|
207
|
+
version?: number | undefined;
|
|
208
|
+
width?: number | undefined;
|
|
209
|
+
height?: number | undefined;
|
|
210
|
+
params?: Record<string, string> | undefined;
|
|
211
|
+
out?: string | undefined;
|
|
212
|
+
theme?: "light" | "dark" | undefined;
|
|
213
|
+
steps?: {
|
|
214
|
+
wait?: number | undefined;
|
|
215
|
+
press?: string | undefined;
|
|
216
|
+
click?: string | undefined;
|
|
217
|
+
}[] | undefined;
|
|
218
|
+
fullPage?: boolean | undefined;
|
|
219
|
+
}>;
|
|
220
|
+
export declare const appDataArgsSchema: z.ZodObject<{
|
|
221
|
+
appId: z.ZodString;
|
|
222
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
223
|
+
after: z.ZodOptional<z.ZodString>;
|
|
224
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
225
|
+
ops: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
226
|
+
as: z.ZodOptional<z.ZodEnum<["agent", "seed"]>>;
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
limit: number;
|
|
229
|
+
appId: string;
|
|
230
|
+
ops?: Record<string, unknown>[] | undefined;
|
|
231
|
+
after?: string | undefined;
|
|
232
|
+
as?: "seed" | "agent" | undefined;
|
|
233
|
+
collection?: string | undefined;
|
|
234
|
+
}, {
|
|
235
|
+
appId: string;
|
|
236
|
+
ops?: Record<string, unknown>[] | undefined;
|
|
237
|
+
limit?: number | undefined;
|
|
238
|
+
after?: string | undefined;
|
|
239
|
+
as?: "seed" | "agent" | undefined;
|
|
240
|
+
collection?: string | undefined;
|
|
241
|
+
}>;
|
|
242
|
+
export declare const appToolsArgsSchema: z.ZodObject<{
|
|
243
|
+
appId: z.ZodString;
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
appId: string;
|
|
246
|
+
}, {
|
|
247
|
+
appId: string;
|
|
248
|
+
}>;
|
|
249
|
+
export declare const appCallArgsSchema: z.ZodObject<{
|
|
250
|
+
appId: z.ZodString;
|
|
251
|
+
tool: z.ZodString;
|
|
252
|
+
input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
253
|
+
}, "strip", z.ZodTypeAny, {
|
|
254
|
+
input: Record<string, unknown>;
|
|
255
|
+
tool: string;
|
|
256
|
+
appId: string;
|
|
257
|
+
}, {
|
|
258
|
+
tool: string;
|
|
259
|
+
appId: string;
|
|
260
|
+
input?: Record<string, unknown> | undefined;
|
|
261
|
+
}>;
|
|
262
|
+
export declare const appReportGapArgsSchema: z.ZodObject<{
|
|
263
|
+
capability: z.ZodString;
|
|
264
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
265
|
+
method: z.ZodOptional<z.ZodString>;
|
|
266
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
267
|
+
}, "strip", z.ZodTypeAny, {
|
|
268
|
+
capability: string;
|
|
269
|
+
method?: string | undefined;
|
|
270
|
+
detail?: string | undefined;
|
|
271
|
+
appId?: string | undefined;
|
|
272
|
+
}, {
|
|
273
|
+
capability: string;
|
|
274
|
+
method?: string | undefined;
|
|
275
|
+
detail?: string | undefined;
|
|
276
|
+
appId?: string | undefined;
|
|
277
|
+
}>;
|
|
278
|
+
export declare const appDockArgsSchema: z.ZodObject<{
|
|
279
|
+
action: z.ZodDefault<z.ZodEnum<["open", "close", "list"]>>;
|
|
280
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
281
|
+
slot: z.ZodDefault<z.ZodEnum<["left", "right", "bottom"]>>;
|
|
282
|
+
}, "strip", z.ZodTypeAny, {
|
|
283
|
+
action: "close" | "open" | "list";
|
|
284
|
+
slot: "left" | "right" | "bottom";
|
|
285
|
+
appId?: string | undefined;
|
|
286
|
+
}, {
|
|
287
|
+
action?: "close" | "open" | "list" | undefined;
|
|
288
|
+
appId?: string | undefined;
|
|
289
|
+
slot?: "left" | "right" | "bottom" | undefined;
|
|
290
|
+
}>;
|
|
291
|
+
export interface AppsReply {
|
|
292
|
+
ok: boolean;
|
|
293
|
+
status: number;
|
|
294
|
+
data: Record<string, unknown>;
|
|
295
|
+
}
|
|
296
|
+
export interface AppsDeps {
|
|
297
|
+
request(method: "GET" | "POST", endpoint: string, init: {
|
|
298
|
+
query?: URLSearchParams;
|
|
299
|
+
body?: unknown;
|
|
300
|
+
timeoutMs: number;
|
|
301
|
+
}): Promise<AppsReply>;
|
|
302
|
+
readDir?: (dir: string) => Promise<Array<{
|
|
303
|
+
path: string;
|
|
304
|
+
content: string;
|
|
305
|
+
encoding: "utf8" | "base64";
|
|
306
|
+
}>>;
|
|
307
|
+
}
|
|
308
|
+
/** Fetch with the Summer account token; errors come back as replies, never throws. */
|
|
309
|
+
export declare function appsGateway(surface: "mcp" | "cli", tool: string): AppsDeps["request"];
|
|
310
|
+
export declare function appGuide(args: z.output<typeof appGuideArgsSchema>, deps: AppsDeps): Promise<Record<string, unknown>>;
|
|
311
|
+
export declare function appList(args: z.output<typeof appListArgsSchema>, deps: AppsDeps): Promise<Record<string, unknown>>;
|
|
312
|
+
export declare function appCreate(args: z.output<typeof appCreateArgsSchema>, deps: AppsDeps): Promise<Record<string, unknown>>;
|
|
313
|
+
/** Every file under dir (dotfiles, node_modules and .d.ts type files skipped), as publish files. */
|
|
314
|
+
export declare function readAppDir(dir: string): Promise<Array<{
|
|
315
|
+
path: string;
|
|
316
|
+
content: string;
|
|
317
|
+
encoding: "utf8" | "base64";
|
|
318
|
+
}>>;
|
|
319
|
+
export declare function appPublish(args: z.output<typeof appPublishArgsSchema>, deps: AppsDeps): Promise<Record<string, unknown>>;
|
|
320
|
+
export declare function appGet(args: z.output<typeof appGetArgsSchema>, deps: AppsDeps): Promise<Record<string, unknown>>;
|
|
321
|
+
export declare function appEvents(args: z.output<typeof appEventsArgsSchema>, deps: AppsDeps): Promise<Record<string, unknown>>;
|
|
322
|
+
export declare function appPage(args: z.output<typeof appPageArgsSchema>, deps: AppsDeps): Promise<Record<string, unknown>>;
|
|
323
|
+
export declare function appUpdate(args: z.output<typeof appUpdateArgsSchema>, deps: AppsDeps): Promise<Record<string, unknown>>;
|
|
324
|
+
/**
|
|
325
|
+
* summer_app_screenshot: the server renders the app headless and read-only as the
|
|
326
|
+
* person and answers the PNG (base64) with its console, errors and declared page.
|
|
327
|
+
* The image moves to `image`; `out` also writes it to disk.
|
|
328
|
+
*/
|
|
329
|
+
export declare function appScreenshot(args: z.output<typeof appScreenshotArgsSchema>, deps: AppsDeps & {
|
|
330
|
+
writeFile?: (file: string, data: Buffer) => Promise<void>;
|
|
331
|
+
}): Promise<Record<string, unknown>>;
|
|
332
|
+
export declare function appData(args: z.output<typeof appDataArgsSchema>, deps: AppsDeps): Promise<Record<string, unknown>>;
|
|
333
|
+
export declare function appTools(args: z.output<typeof appToolsArgsSchema>, deps: AppsDeps): Promise<Record<string, unknown>>;
|
|
334
|
+
export declare function appCall(args: z.output<typeof appCallArgsSchema>, deps: AppsDeps): Promise<Record<string, unknown>>;
|
|
335
|
+
export declare function appReportGap(args: z.output<typeof appReportGapArgsSchema>, deps: AppsDeps): Promise<Record<string, unknown>>;
|
|
336
|
+
export declare const APP_DOCK_FALLBACK = "This engine build cannot dock apps yet. Open the app in the Summer Studio tab instead (summer_studio_open with /studio/apps/<appId>), or update Summer Engine.";
|
|
337
|
+
/** The engine op for one dock action. */
|
|
338
|
+
export declare function appDockOp(args: z.output<typeof appDockArgsSchema>): {
|
|
339
|
+
op: string;
|
|
340
|
+
[key: string]: unknown;
|
|
341
|
+
};
|