@craft_eco/craft-mcp 0.1.29 → 0.1.31
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/README.md +17 -60
- package/bin/craft-mcp.mjs +7 -1
- package/dist-server/game-workflow/check.mjs +3 -2
- package/dist-server/game-workflow/context-state.mjs +68 -67
- package/dist-server/game-workflow/draft-archive.mjs +147 -2
- package/dist-server/game-workflow/draft-upload-identity.mjs +11 -0
- package/dist-server/game-workflow/draft-uploads.mjs +105 -60
- package/dist-server/game-workflow/native-context.mjs +289 -289
- package/dist-server/game-workflow/project-bundles.mjs +246 -246
- package/dist-server/game-workflow/project-context.mjs +56 -18
- package/dist-server/game-workflow/project-install.mjs +81 -0
- package/dist-server/game-workflow/projects.mjs +37 -7
- package/dist-server/game-workflow/tasks.mjs +1 -1
- package/dist-server/game-workflow/work-scope.mjs +7 -7
- package/dist-server/integrations/config.mjs +162 -145
- package/dist-server/integrations/connect.mjs +48 -0
- package/dist-server/integrations/connection-handoff.mjs +36 -42
- package/dist-server/integrations/dsh-config.mjs +182 -182
- package/dist-server/integrations/fixed-launcher.mjs +31 -0
- package/dist-server/integrations/host-config-scope.mjs +16 -0
- package/dist-server/integrations/host-reload.mjs +25 -0
- package/dist-server/integrations/hosts.mjs +93 -55
- package/dist-server/integrations/install.mjs +337 -205
- package/dist-server/integrations/installation-state.mjs +85 -84
- package/dist-server/integrations/installation-transaction.mjs +27 -0
- package/dist-server/integrations/jsonc-config.mjs +56 -0
- package/dist-server/integrations/launcher-start.mjs +52 -0
- package/dist-server/integrations/npm-diagnostics.mjs +32 -0
- package/dist-server/integrations/opencode-config.mjs +94 -0
- package/dist-server/integrations/project-setup.mjs +206 -0
- package/dist-server/integrations/registration-identity.mjs +15 -0
- package/dist-server/integrations/runtime-candidate.mjs +103 -0
- package/dist-server/integrations/runtime-gc.mjs +191 -188
- package/dist-server/integrations/runtime-identity.mjs +22 -0
- package/dist-server/integrations/runtime.mjs +111 -126
- package/dist-server/integrations/updates.mjs +331 -225
- package/dist-server/integrations/version-policy.mjs +32 -32
- package/dist-server/launcher.mjs +1852 -0
- package/dist-server/mcp/control-panel.mjs +8 -23
- package/dist-server/mcp/server.mjs +47 -82
- package/dist-server/mcp/update-session.mjs +185 -92
- package/dist-server/upstream/craft-aigc.mjs +43 -16
- package/dist-server/upstream/draft-source.mjs +29 -0
- package/package.json +5 -3
- package/resources/context-filter-report.json +120 -0
- package/resources/craft-create/SKILL.md +19 -19
- package/resources/craft-update/SKILL.md +9 -11
- package/resources/targets/claude/js/bootstrap/SKILL.md +3 -1
- package/resources/targets/claude/js/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/claude/js/js/bundle.json +7 -7
- package/resources/targets/claude/js/recovery.md +5 -1
- package/resources/targets/claude/js/target.json +1 -1
- package/resources/targets/claude/js3d/bootstrap/SKILL.md +3 -1
- package/resources/targets/claude/js3d/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/claude/js3d/js3d/bundle.json +8 -8
- package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +2 -2
- package/resources/targets/claude/js3d/recovery.md +5 -1
- package/resources/targets/claude/js3d/target.json +1 -1
- package/resources/targets/codebuddy/js/bootstrap/SKILL.md +3 -1
- package/resources/targets/codebuddy/js/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/codebuddy/js/js/bundle.json +7 -7
- package/resources/targets/codebuddy/js/recovery.md +5 -1
- package/resources/targets/codebuddy/js/target.json +1 -1
- package/resources/targets/codebuddy/js3d/bootstrap/SKILL.md +3 -1
- package/resources/targets/codebuddy/js3d/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/codebuddy/js3d/js3d/bundle.json +8 -8
- package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +2 -2
- package/resources/targets/codebuddy/js3d/recovery.md +5 -1
- package/resources/targets/codebuddy/js3d/target.json +1 -1
- package/resources/targets/codex/js/bootstrap/SKILL.md +2 -4
- package/resources/targets/codex/js/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/codex/js/js/bundle.json +7 -7
- package/resources/targets/codex/js/recovery.md +3 -3
- package/resources/targets/codex/js/target.json +1 -1
- package/resources/targets/codex/js3d/bootstrap/SKILL.md +2 -4
- package/resources/targets/codex/js3d/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/codex/js3d/js3d/bundle.json +8 -8
- package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +2 -2
- package/resources/targets/codex/js3d/recovery.md +3 -3
- package/resources/targets/codex/js3d/target.json +1 -1
- package/resources/targets/comate/js/bootstrap/SKILL.md +20 -0
- package/resources/targets/comate/js/context-filter-report.json +27 -0
- package/resources/targets/comate/js/craft-game-maker/SKILL.md +72 -0
- package/resources/targets/comate/js/craft-game-maker/js.md +10 -0
- package/resources/targets/comate/js/js/bundle.json +97 -0
- package/resources/targets/comate/js/js/context/AGENTS.md +29 -0
- package/resources/targets/comate/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/comate/js/js/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/comate/js/js/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/comate/js/js/context/knowledge/Layout.md +7 -0
- package/resources/targets/comate/js/js/context/knowledge/Lifecycle.md +11 -0
- package/resources/targets/comate/js/js/context/knowledge/ResourceLoading.md +9 -0
- package/resources/targets/comate/js/js/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/comate/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/comate/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/comate/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/comate/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/comate/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/comate/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/comate/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/comate/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/comate/js/js/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/comate/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/comate/js/js/context/skills/index.json +19 -0
- package/resources/targets/comate/js/js/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/comate/js/js/project/README.md +7 -0
- package/resources/targets/comate/js/js/project/configs/assets.json +1 -0
- package/resources/targets/comate/js/js/project/configs/game.controls.json +3 -0
- package/resources/targets/comate/js/js/project/configs/game.json +3 -0
- package/resources/targets/comate/js/js/project/game-runtime.json +7 -0
- package/resources/targets/comate/js/js/project/game.config.json +7 -0
- package/resources/targets/comate/js/js/project/index.html +20 -0
- package/resources/targets/comate/js/js/project/package.json +22 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/comate/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/comate/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
- package/resources/targets/comate/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/comate/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
- package/resources/targets/comate/js/js/project/scripts/config-export.mjs +13 -0
- package/resources/targets/comate/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/comate/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/comate/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/comate/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/comate/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/comate/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/comate/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/comate/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/comate/js/js/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/comate/js/js/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/comate/js/js/project/src/display/viewport.ts +249 -0
- package/resources/targets/comate/js/js/project/src/main.ts +87 -0
- package/resources/targets/comate/js/js/project/src/platform.ts +2 -0
- package/resources/targets/comate/js/js/project/src/scenes/LoadScene.ts +89 -0
- package/resources/targets/comate/js/js/project/src/scenes/PlayScene.ts +17 -0
- package/resources/targets/comate/js/js/project/src/screenUi.ts +185 -0
- package/resources/targets/comate/js/js/project/src/style.css +294 -0
- package/resources/targets/comate/js/js/project/tsconfig.json +20 -0
- package/resources/targets/comate/js/js/project/unified_data_control_config.json +20 -0
- package/resources/targets/comate/js/js/project/vite.config.ts +5 -0
- package/resources/targets/comate/js/recovery.md +17 -0
- package/resources/targets/comate/js/target.json +61 -0
- package/resources/targets/comate/js3d/bootstrap/SKILL.md +20 -0
- package/resources/targets/comate/js3d/context-filter-report.json +27 -0
- package/resources/targets/comate/js3d/craft-game-maker/SKILL.md +72 -0
- package/resources/targets/comate/js3d/craft-game-maker/js3d.md +12 -0
- package/resources/targets/comate/js3d/js3d/bundle.json +108 -0
- package/resources/targets/comate/js3d/js3d/context/AGENTS.md +30 -0
- package/resources/targets/comate/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/comate/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/comate/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/comate/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
- package/resources/targets/comate/js3d/js3d/context/knowledge/Layout.md +7 -0
- package/resources/targets/comate/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
- package/resources/targets/comate/js3d/js3d/context/knowledge/Runtime.md +9 -0
- package/resources/targets/comate/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
- package/resources/targets/comate/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
- package/resources/targets/comate/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
- package/resources/targets/comate/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
- package/resources/targets/comate/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
- package/resources/targets/comate/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
- package/resources/targets/comate/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/comate/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/comate/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/comate/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/comate/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/comate/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/comate/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/comate/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/comate/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/comate/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/comate/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/comate/js3d/js3d/context/skills/index.json +31 -0
- package/resources/targets/comate/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
- package/resources/targets/comate/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
- package/resources/targets/comate/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
- package/resources/targets/comate/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
- package/resources/targets/comate/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
- package/resources/targets/comate/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/comate/js3d/js3d/project/README.md +7 -0
- package/resources/targets/comate/js3d/js3d/project/configs/game.controls.json +3 -0
- package/resources/targets/comate/js3d/js3d/project/configs/game.json +3 -0
- package/resources/targets/comate/js3d/js3d/project/game-runtime.json +7 -0
- package/resources/targets/comate/js3d/js3d/project/game.config.json +7 -0
- package/resources/targets/comate/js3d/js3d/project/index.html +12 -0
- package/resources/targets/comate/js3d/js3d/project/package.json +23 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
- package/resources/targets/comate/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
- package/resources/targets/comate/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
- package/resources/targets/comate/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/comate/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
- package/resources/targets/comate/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
- package/resources/targets/comate/js3d/js3d/project/scripts/config-export.mjs +15 -0
- package/resources/targets/comate/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/comate/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/comate/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/comate/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/comate/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/comate/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/comate/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/comate/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/comate/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/comate/js3d/js3d/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/comate/js3d/js3d/project/src/display/viewport.ts +239 -0
- package/resources/targets/comate/js3d/js3d/project/src/main.ts +85 -0
- package/resources/targets/comate/js3d/js3d/project/src/platform.ts +2 -0
- package/resources/targets/comate/js3d/js3d/project/src/style.css +83 -0
- package/resources/targets/comate/js3d/js3d/project/tsconfig.json +20 -0
- package/resources/targets/comate/js3d/js3d/project/unified_data_control_config.json +20 -0
- package/resources/targets/comate/js3d/js3d/project/vite.config.ts +5 -0
- package/resources/targets/comate/js3d/recovery.md +17 -0
- package/resources/targets/comate/js3d/target.json +60 -0
- package/resources/targets/cursor/js/bootstrap/SKILL.md +3 -1
- package/resources/targets/cursor/js/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/cursor/js/js/bundle.json +7 -7
- package/resources/targets/cursor/js/recovery.md +5 -1
- package/resources/targets/cursor/js/target.json +1 -1
- package/resources/targets/cursor/js3d/bootstrap/SKILL.md +3 -1
- package/resources/targets/cursor/js3d/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/cursor/js3d/js3d/bundle.json +8 -8
- package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +2 -2
- package/resources/targets/cursor/js3d/recovery.md +5 -1
- package/resources/targets/cursor/js3d/target.json +1 -1
- package/resources/targets/dsh/js/bootstrap/SKILL.md +3 -1
- package/resources/targets/dsh/js/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/dsh/js/js/bundle.json +7 -7
- package/resources/targets/dsh/js/recovery.md +5 -1
- package/resources/targets/dsh/js/target.json +1 -1
- package/resources/targets/dsh/js3d/bootstrap/SKILL.md +3 -1
- package/resources/targets/dsh/js3d/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/dsh/js3d/js3d/bundle.json +8 -8
- package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +2 -2
- package/resources/targets/dsh/js3d/recovery.md +5 -1
- package/resources/targets/dsh/js3d/target.json +1 -1
- package/resources/targets/index.json +104 -32
- package/resources/targets/kimi/js/bootstrap/SKILL.md +3 -1
- package/resources/targets/kimi/js/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/kimi/js/js/bundle.json +7 -7
- package/resources/targets/kimi/js/recovery.md +5 -1
- package/resources/targets/kimi/js/target.json +1 -1
- package/resources/targets/kimi/js3d/bootstrap/SKILL.md +3 -1
- package/resources/targets/kimi/js3d/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/kimi/js3d/js3d/bundle.json +8 -8
- package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +2 -2
- package/resources/targets/kimi/js3d/recovery.md +5 -1
- package/resources/targets/kimi/js3d/target.json +1 -1
- package/resources/targets/opencode/js/bootstrap/SKILL.md +20 -0
- package/resources/targets/opencode/js/context-filter-report.json +27 -0
- package/resources/targets/opencode/js/craft-game-maker/SKILL.md +72 -0
- package/resources/targets/opencode/js/craft-game-maker/js.md +10 -0
- package/resources/targets/opencode/js/js/bundle.json +97 -0
- package/resources/targets/opencode/js/js/context/AGENTS.md +29 -0
- package/resources/targets/opencode/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/opencode/js/js/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/opencode/js/js/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/opencode/js/js/context/knowledge/Layout.md +7 -0
- package/resources/targets/opencode/js/js/context/knowledge/Lifecycle.md +11 -0
- package/resources/targets/opencode/js/js/context/knowledge/ResourceLoading.md +9 -0
- package/resources/targets/opencode/js/js/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/opencode/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/opencode/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/opencode/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/opencode/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/opencode/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/opencode/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/opencode/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/opencode/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/opencode/js/js/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/opencode/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/opencode/js/js/context/skills/index.json +19 -0
- package/resources/targets/opencode/js/js/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/opencode/js/js/project/README.md +7 -0
- package/resources/targets/opencode/js/js/project/configs/assets.json +1 -0
- package/resources/targets/opencode/js/js/project/configs/game.controls.json +3 -0
- package/resources/targets/opencode/js/js/project/configs/game.json +3 -0
- package/resources/targets/opencode/js/js/project/game-runtime.json +7 -0
- package/resources/targets/opencode/js/js/project/game.config.json +7 -0
- package/resources/targets/opencode/js/js/project/index.html +20 -0
- package/resources/targets/opencode/js/js/project/package.json +22 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/opencode/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/opencode/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
- package/resources/targets/opencode/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/opencode/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
- package/resources/targets/opencode/js/js/project/scripts/config-export.mjs +13 -0
- package/resources/targets/opencode/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/opencode/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/opencode/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/opencode/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/opencode/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/opencode/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/opencode/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/opencode/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/opencode/js/js/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/opencode/js/js/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/opencode/js/js/project/src/display/viewport.ts +249 -0
- package/resources/targets/opencode/js/js/project/src/main.ts +87 -0
- package/resources/targets/opencode/js/js/project/src/platform.ts +2 -0
- package/resources/targets/opencode/js/js/project/src/scenes/LoadScene.ts +89 -0
- package/resources/targets/opencode/js/js/project/src/scenes/PlayScene.ts +17 -0
- package/resources/targets/opencode/js/js/project/src/screenUi.ts +185 -0
- package/resources/targets/opencode/js/js/project/src/style.css +294 -0
- package/resources/targets/opencode/js/js/project/tsconfig.json +20 -0
- package/resources/targets/opencode/js/js/project/unified_data_control_config.json +20 -0
- package/resources/targets/opencode/js/js/project/vite.config.ts +5 -0
- package/resources/targets/opencode/js/recovery.md +17 -0
- package/resources/targets/opencode/js/target.json +61 -0
- package/resources/targets/opencode/js3d/bootstrap/SKILL.md +20 -0
- package/resources/targets/opencode/js3d/context-filter-report.json +27 -0
- package/resources/targets/opencode/js3d/craft-game-maker/SKILL.md +72 -0
- package/resources/targets/opencode/js3d/craft-game-maker/js3d.md +12 -0
- package/resources/targets/opencode/js3d/js3d/bundle.json +108 -0
- package/resources/targets/opencode/js3d/js3d/context/AGENTS.md +30 -0
- package/resources/targets/opencode/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/opencode/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/opencode/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/opencode/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
- package/resources/targets/opencode/js3d/js3d/context/knowledge/Layout.md +7 -0
- package/resources/targets/opencode/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
- package/resources/targets/opencode/js3d/js3d/context/knowledge/Runtime.md +9 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/index.json +31 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
- package/resources/targets/opencode/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/opencode/js3d/js3d/project/README.md +7 -0
- package/resources/targets/opencode/js3d/js3d/project/configs/game.controls.json +3 -0
- package/resources/targets/opencode/js3d/js3d/project/configs/game.json +3 -0
- package/resources/targets/opencode/js3d/js3d/project/game-runtime.json +7 -0
- package/resources/targets/opencode/js3d/js3d/project/game.config.json +7 -0
- package/resources/targets/opencode/js3d/js3d/project/index.html +12 -0
- package/resources/targets/opencode/js3d/js3d/project/package.json +23 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
- package/resources/targets/opencode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
- package/resources/targets/opencode/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
- package/resources/targets/opencode/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/opencode/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
- package/resources/targets/opencode/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
- package/resources/targets/opencode/js3d/js3d/project/scripts/config-export.mjs +15 -0
- package/resources/targets/opencode/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/opencode/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/opencode/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/opencode/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/opencode/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/opencode/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/opencode/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/opencode/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/opencode/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/opencode/js3d/js3d/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/opencode/js3d/js3d/project/src/display/viewport.ts +239 -0
- package/resources/targets/opencode/js3d/js3d/project/src/main.ts +85 -0
- package/resources/targets/opencode/js3d/js3d/project/src/platform.ts +2 -0
- package/resources/targets/opencode/js3d/js3d/project/src/style.css +83 -0
- package/resources/targets/opencode/js3d/js3d/project/tsconfig.json +20 -0
- package/resources/targets/opencode/js3d/js3d/project/unified_data_control_config.json +20 -0
- package/resources/targets/opencode/js3d/js3d/project/vite.config.ts +5 -0
- package/resources/targets/opencode/js3d/recovery.md +17 -0
- package/resources/targets/opencode/js3d/target.json +60 -0
- package/resources/targets/qoder/js/bootstrap/SKILL.md +20 -0
- package/resources/targets/qoder/js/context-filter-report.json +27 -0
- package/resources/targets/qoder/js/craft-game-maker/SKILL.md +72 -0
- package/resources/targets/qoder/js/craft-game-maker/js.md +10 -0
- package/resources/targets/qoder/js/js/bundle.json +97 -0
- package/resources/targets/qoder/js/js/context/AGENTS.md +31 -0
- package/resources/targets/qoder/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/qoder/js/js/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/qoder/js/js/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/qoder/js/js/context/knowledge/Layout.md +7 -0
- package/resources/targets/qoder/js/js/context/knowledge/Lifecycle.md +11 -0
- package/resources/targets/qoder/js/js/context/knowledge/ResourceLoading.md +9 -0
- package/resources/targets/qoder/js/js/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/qoder/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/qoder/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/qoder/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/qoder/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/qoder/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/qoder/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/qoder/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/qoder/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/qoder/js/js/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/qoder/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/qoder/js/js/context/skills/index.json +19 -0
- package/resources/targets/qoder/js/js/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/qoder/js/js/project/README.md +7 -0
- package/resources/targets/qoder/js/js/project/configs/assets.json +1 -0
- package/resources/targets/qoder/js/js/project/configs/game.controls.json +3 -0
- package/resources/targets/qoder/js/js/project/configs/game.json +3 -0
- package/resources/targets/qoder/js/js/project/game-runtime.json +7 -0
- package/resources/targets/qoder/js/js/project/game.config.json +7 -0
- package/resources/targets/qoder/js/js/project/index.html +20 -0
- package/resources/targets/qoder/js/js/project/package.json +22 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/qoder/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/qoder/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
- package/resources/targets/qoder/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/qoder/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
- package/resources/targets/qoder/js/js/project/scripts/config-export.mjs +13 -0
- package/resources/targets/qoder/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/qoder/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/qoder/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/qoder/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/qoder/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/qoder/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/qoder/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/qoder/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/qoder/js/js/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/qoder/js/js/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/qoder/js/js/project/src/display/viewport.ts +249 -0
- package/resources/targets/qoder/js/js/project/src/main.ts +87 -0
- package/resources/targets/qoder/js/js/project/src/platform.ts +2 -0
- package/resources/targets/qoder/js/js/project/src/scenes/LoadScene.ts +89 -0
- package/resources/targets/qoder/js/js/project/src/scenes/PlayScene.ts +17 -0
- package/resources/targets/qoder/js/js/project/src/screenUi.ts +185 -0
- package/resources/targets/qoder/js/js/project/src/style.css +294 -0
- package/resources/targets/qoder/js/js/project/tsconfig.json +20 -0
- package/resources/targets/qoder/js/js/project/unified_data_control_config.json +20 -0
- package/resources/targets/qoder/js/js/project/vite.config.ts +5 -0
- package/resources/targets/qoder/js/recovery.md +17 -0
- package/resources/targets/qoder/js/target.json +61 -0
- package/resources/targets/qoder/js3d/bootstrap/SKILL.md +20 -0
- package/resources/targets/qoder/js3d/context-filter-report.json +27 -0
- package/resources/targets/qoder/js3d/craft-game-maker/SKILL.md +72 -0
- package/resources/targets/qoder/js3d/craft-game-maker/js3d.md +12 -0
- package/resources/targets/qoder/js3d/js3d/bundle.json +108 -0
- package/resources/targets/qoder/js3d/js3d/context/AGENTS.md +32 -0
- package/resources/targets/qoder/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/qoder/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/qoder/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/qoder/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
- package/resources/targets/qoder/js3d/js3d/context/knowledge/Layout.md +7 -0
- package/resources/targets/qoder/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
- package/resources/targets/qoder/js3d/js3d/context/knowledge/Runtime.md +9 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/index.json +31 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
- package/resources/targets/qoder/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/qoder/js3d/js3d/project/README.md +7 -0
- package/resources/targets/qoder/js3d/js3d/project/configs/game.controls.json +3 -0
- package/resources/targets/qoder/js3d/js3d/project/configs/game.json +3 -0
- package/resources/targets/qoder/js3d/js3d/project/game-runtime.json +7 -0
- package/resources/targets/qoder/js3d/js3d/project/game.config.json +7 -0
- package/resources/targets/qoder/js3d/js3d/project/index.html +12 -0
- package/resources/targets/qoder/js3d/js3d/project/package.json +23 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
- package/resources/targets/qoder/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
- package/resources/targets/qoder/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
- package/resources/targets/qoder/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/qoder/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
- package/resources/targets/qoder/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
- package/resources/targets/qoder/js3d/js3d/project/scripts/config-export.mjs +15 -0
- package/resources/targets/qoder/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/qoder/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/qoder/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/qoder/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/qoder/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/qoder/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/qoder/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/qoder/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/qoder/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/qoder/js3d/js3d/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/qoder/js3d/js3d/project/src/display/viewport.ts +239 -0
- package/resources/targets/qoder/js3d/js3d/project/src/main.ts +85 -0
- package/resources/targets/qoder/js3d/js3d/project/src/platform.ts +2 -0
- package/resources/targets/qoder/js3d/js3d/project/src/style.css +83 -0
- package/resources/targets/qoder/js3d/js3d/project/tsconfig.json +20 -0
- package/resources/targets/qoder/js3d/js3d/project/unified_data_control_config.json +20 -0
- package/resources/targets/qoder/js3d/js3d/project/vite.config.ts +5 -0
- package/resources/targets/qoder/js3d/recovery.md +17 -0
- package/resources/targets/qoder/js3d/target.json +60 -0
- package/resources/targets/qoder-cn/js/bootstrap/SKILL.md +20 -0
- package/resources/targets/qoder-cn/js/context-filter-report.json +27 -0
- package/resources/targets/qoder-cn/js/craft-game-maker/SKILL.md +72 -0
- package/resources/targets/qoder-cn/js/craft-game-maker/js.md +10 -0
- package/resources/targets/qoder-cn/js/js/bundle.json +97 -0
- package/resources/targets/qoder-cn/js/js/context/AGENTS.md +31 -0
- package/resources/targets/qoder-cn/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/qoder-cn/js/js/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/qoder-cn/js/js/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/qoder-cn/js/js/context/knowledge/Layout.md +7 -0
- package/resources/targets/qoder-cn/js/js/context/knowledge/Lifecycle.md +11 -0
- package/resources/targets/qoder-cn/js/js/context/knowledge/ResourceLoading.md +9 -0
- package/resources/targets/qoder-cn/js/js/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/qoder-cn/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/qoder-cn/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/qoder-cn/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/qoder-cn/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/qoder-cn/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/qoder-cn/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/qoder-cn/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/qoder-cn/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/qoder-cn/js/js/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/qoder-cn/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/qoder-cn/js/js/context/skills/index.json +19 -0
- package/resources/targets/qoder-cn/js/js/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/qoder-cn/js/js/project/README.md +7 -0
- package/resources/targets/qoder-cn/js/js/project/configs/assets.json +1 -0
- package/resources/targets/qoder-cn/js/js/project/configs/game.controls.json +3 -0
- package/resources/targets/qoder-cn/js/js/project/configs/game.json +3 -0
- package/resources/targets/qoder-cn/js/js/project/game-runtime.json +7 -0
- package/resources/targets/qoder-cn/js/js/project/game.config.json +7 -0
- package/resources/targets/qoder-cn/js/js/project/index.html +20 -0
- package/resources/targets/qoder-cn/js/js/project/package.json +22 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/qoder-cn/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/qoder-cn/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
- package/resources/targets/qoder-cn/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/qoder-cn/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
- package/resources/targets/qoder-cn/js/js/project/scripts/config-export.mjs +13 -0
- package/resources/targets/qoder-cn/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/qoder-cn/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/qoder-cn/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/qoder-cn/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/qoder-cn/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/qoder-cn/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/qoder-cn/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/qoder-cn/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/qoder-cn/js/js/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/qoder-cn/js/js/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/qoder-cn/js/js/project/src/display/viewport.ts +249 -0
- package/resources/targets/qoder-cn/js/js/project/src/main.ts +87 -0
- package/resources/targets/qoder-cn/js/js/project/src/platform.ts +2 -0
- package/resources/targets/qoder-cn/js/js/project/src/scenes/LoadScene.ts +89 -0
- package/resources/targets/qoder-cn/js/js/project/src/scenes/PlayScene.ts +17 -0
- package/resources/targets/qoder-cn/js/js/project/src/screenUi.ts +185 -0
- package/resources/targets/qoder-cn/js/js/project/src/style.css +294 -0
- package/resources/targets/qoder-cn/js/js/project/tsconfig.json +20 -0
- package/resources/targets/qoder-cn/js/js/project/unified_data_control_config.json +20 -0
- package/resources/targets/qoder-cn/js/js/project/vite.config.ts +5 -0
- package/resources/targets/qoder-cn/js/recovery.md +17 -0
- package/resources/targets/qoder-cn/js/target.json +61 -0
- package/resources/targets/qoder-cn/js3d/bootstrap/SKILL.md +20 -0
- package/resources/targets/qoder-cn/js3d/context-filter-report.json +27 -0
- package/resources/targets/qoder-cn/js3d/craft-game-maker/SKILL.md +72 -0
- package/resources/targets/qoder-cn/js3d/craft-game-maker/js3d.md +12 -0
- package/resources/targets/qoder-cn/js3d/js3d/bundle.json +108 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/AGENTS.md +32 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/knowledge/Layout.md +7 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/knowledge/Runtime.md +9 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/index.json +31 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
- package/resources/targets/qoder-cn/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/README.md +7 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/configs/game.controls.json +3 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/configs/game.json +3 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/game-runtime.json +7 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/game.config.json +7 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/index.html +12 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/package.json +23 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/scripts/config-export.mjs +15 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/src/display/viewport.ts +239 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/src/main.ts +85 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/src/platform.ts +2 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/src/style.css +83 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/tsconfig.json +20 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/unified_data_control_config.json +20 -0
- package/resources/targets/qoder-cn/js3d/js3d/project/vite.config.ts +5 -0
- package/resources/targets/qoder-cn/js3d/recovery.md +17 -0
- package/resources/targets/qoder-cn/js3d/target.json +60 -0
- package/resources/targets/qwen/js/bootstrap/SKILL.md +20 -0
- package/resources/targets/qwen/js/context-filter-report.json +27 -0
- package/resources/targets/qwen/js/craft-game-maker/SKILL.md +72 -0
- package/resources/targets/qwen/js/craft-game-maker/js.md +10 -0
- package/resources/targets/qwen/js/js/bundle.json +97 -0
- package/resources/targets/qwen/js/js/context/AGENTS.md +29 -0
- package/resources/targets/qwen/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/qwen/js/js/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/qwen/js/js/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/qwen/js/js/context/knowledge/Layout.md +7 -0
- package/resources/targets/qwen/js/js/context/knowledge/Lifecycle.md +11 -0
- package/resources/targets/qwen/js/js/context/knowledge/ResourceLoading.md +9 -0
- package/resources/targets/qwen/js/js/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/qwen/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/qwen/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/qwen/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/qwen/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/qwen/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/qwen/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/qwen/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/qwen/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/qwen/js/js/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/qwen/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/qwen/js/js/context/skills/index.json +19 -0
- package/resources/targets/qwen/js/js/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/qwen/js/js/project/README.md +7 -0
- package/resources/targets/qwen/js/js/project/configs/assets.json +1 -0
- package/resources/targets/qwen/js/js/project/configs/game.controls.json +3 -0
- package/resources/targets/qwen/js/js/project/configs/game.json +3 -0
- package/resources/targets/qwen/js/js/project/game-runtime.json +7 -0
- package/resources/targets/qwen/js/js/project/game.config.json +7 -0
- package/resources/targets/qwen/js/js/project/index.html +20 -0
- package/resources/targets/qwen/js/js/project/package.json +22 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/qwen/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/qwen/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
- package/resources/targets/qwen/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/qwen/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
- package/resources/targets/qwen/js/js/project/scripts/config-export.mjs +13 -0
- package/resources/targets/qwen/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/qwen/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/qwen/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/qwen/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/qwen/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/qwen/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/qwen/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/qwen/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/qwen/js/js/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/qwen/js/js/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/qwen/js/js/project/src/display/viewport.ts +249 -0
- package/resources/targets/qwen/js/js/project/src/main.ts +87 -0
- package/resources/targets/qwen/js/js/project/src/platform.ts +2 -0
- package/resources/targets/qwen/js/js/project/src/scenes/LoadScene.ts +89 -0
- package/resources/targets/qwen/js/js/project/src/scenes/PlayScene.ts +17 -0
- package/resources/targets/qwen/js/js/project/src/screenUi.ts +185 -0
- package/resources/targets/qwen/js/js/project/src/style.css +294 -0
- package/resources/targets/qwen/js/js/project/tsconfig.json +20 -0
- package/resources/targets/qwen/js/js/project/unified_data_control_config.json +20 -0
- package/resources/targets/qwen/js/js/project/vite.config.ts +5 -0
- package/resources/targets/qwen/js/recovery.md +17 -0
- package/resources/targets/qwen/js/target.json +61 -0
- package/resources/targets/qwen/js3d/bootstrap/SKILL.md +20 -0
- package/resources/targets/qwen/js3d/context-filter-report.json +27 -0
- package/resources/targets/qwen/js3d/craft-game-maker/SKILL.md +72 -0
- package/resources/targets/qwen/js3d/craft-game-maker/js3d.md +12 -0
- package/resources/targets/qwen/js3d/js3d/bundle.json +108 -0
- package/resources/targets/qwen/js3d/js3d/context/AGENTS.md +30 -0
- package/resources/targets/qwen/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/qwen/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/qwen/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/qwen/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
- package/resources/targets/qwen/js3d/js3d/context/knowledge/Layout.md +7 -0
- package/resources/targets/qwen/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
- package/resources/targets/qwen/js3d/js3d/context/knowledge/Runtime.md +9 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/index.json +31 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
- package/resources/targets/qwen/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/qwen/js3d/js3d/project/README.md +7 -0
- package/resources/targets/qwen/js3d/js3d/project/configs/game.controls.json +3 -0
- package/resources/targets/qwen/js3d/js3d/project/configs/game.json +3 -0
- package/resources/targets/qwen/js3d/js3d/project/game-runtime.json +7 -0
- package/resources/targets/qwen/js3d/js3d/project/game.config.json +7 -0
- package/resources/targets/qwen/js3d/js3d/project/index.html +12 -0
- package/resources/targets/qwen/js3d/js3d/project/package.json +23 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
- package/resources/targets/qwen/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
- package/resources/targets/qwen/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
- package/resources/targets/qwen/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/qwen/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
- package/resources/targets/qwen/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
- package/resources/targets/qwen/js3d/js3d/project/scripts/config-export.mjs +15 -0
- package/resources/targets/qwen/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/qwen/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/qwen/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/qwen/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/qwen/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/qwen/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/qwen/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/qwen/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/qwen/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/qwen/js3d/js3d/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/qwen/js3d/js3d/project/src/display/viewport.ts +239 -0
- package/resources/targets/qwen/js3d/js3d/project/src/main.ts +85 -0
- package/resources/targets/qwen/js3d/js3d/project/src/platform.ts +2 -0
- package/resources/targets/qwen/js3d/js3d/project/src/style.css +83 -0
- package/resources/targets/qwen/js3d/js3d/project/tsconfig.json +20 -0
- package/resources/targets/qwen/js3d/js3d/project/unified_data_control_config.json +20 -0
- package/resources/targets/qwen/js3d/js3d/project/vite.config.ts +5 -0
- package/resources/targets/qwen/js3d/recovery.md +17 -0
- package/resources/targets/qwen/js3d/target.json +60 -0
- package/resources/targets/trae/js/bootstrap/SKILL.md +20 -0
- package/resources/targets/trae/js/context-filter-report.json +27 -0
- package/resources/targets/trae/js/craft-game-maker/SKILL.md +72 -0
- package/resources/targets/trae/js/craft-game-maker/js.md +10 -0
- package/resources/targets/trae/js/js/bundle.json +97 -0
- package/resources/targets/trae/js/js/context/AGENTS.md +29 -0
- package/resources/targets/trae/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/trae/js/js/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/trae/js/js/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/trae/js/js/context/knowledge/Layout.md +7 -0
- package/resources/targets/trae/js/js/context/knowledge/Lifecycle.md +11 -0
- package/resources/targets/trae/js/js/context/knowledge/ResourceLoading.md +9 -0
- package/resources/targets/trae/js/js/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/trae/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/trae/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/trae/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/trae/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/trae/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/trae/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/trae/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/trae/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/trae/js/js/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/trae/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/trae/js/js/context/skills/index.json +19 -0
- package/resources/targets/trae/js/js/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/trae/js/js/project/README.md +7 -0
- package/resources/targets/trae/js/js/project/configs/assets.json +1 -0
- package/resources/targets/trae/js/js/project/configs/game.controls.json +3 -0
- package/resources/targets/trae/js/js/project/configs/game.json +3 -0
- package/resources/targets/trae/js/js/project/game-runtime.json +7 -0
- package/resources/targets/trae/js/js/project/game.config.json +7 -0
- package/resources/targets/trae/js/js/project/index.html +20 -0
- package/resources/targets/trae/js/js/project/package.json +22 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/trae/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/trae/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
- package/resources/targets/trae/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/trae/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
- package/resources/targets/trae/js/js/project/scripts/config-export.mjs +13 -0
- package/resources/targets/trae/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/trae/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/trae/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/trae/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/trae/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/trae/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/trae/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/trae/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/trae/js/js/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/trae/js/js/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/trae/js/js/project/src/display/viewport.ts +249 -0
- package/resources/targets/trae/js/js/project/src/main.ts +87 -0
- package/resources/targets/trae/js/js/project/src/platform.ts +2 -0
- package/resources/targets/trae/js/js/project/src/scenes/LoadScene.ts +89 -0
- package/resources/targets/trae/js/js/project/src/scenes/PlayScene.ts +17 -0
- package/resources/targets/trae/js/js/project/src/screenUi.ts +185 -0
- package/resources/targets/trae/js/js/project/src/style.css +294 -0
- package/resources/targets/trae/js/js/project/tsconfig.json +20 -0
- package/resources/targets/trae/js/js/project/unified_data_control_config.json +20 -0
- package/resources/targets/trae/js/js/project/vite.config.ts +5 -0
- package/resources/targets/trae/js/recovery.md +17 -0
- package/resources/targets/trae/js/target.json +61 -0
- package/resources/targets/trae/js3d/bootstrap/SKILL.md +20 -0
- package/resources/targets/trae/js3d/context-filter-report.json +27 -0
- package/resources/targets/trae/js3d/craft-game-maker/SKILL.md +72 -0
- package/resources/targets/trae/js3d/craft-game-maker/js3d.md +12 -0
- package/resources/targets/trae/js3d/js3d/bundle.json +108 -0
- package/resources/targets/trae/js3d/js3d/context/AGENTS.md +30 -0
- package/resources/targets/trae/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/trae/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/trae/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/trae/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
- package/resources/targets/trae/js3d/js3d/context/knowledge/Layout.md +7 -0
- package/resources/targets/trae/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
- package/resources/targets/trae/js3d/js3d/context/knowledge/Runtime.md +9 -0
- package/resources/targets/trae/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
- package/resources/targets/trae/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
- package/resources/targets/trae/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
- package/resources/targets/trae/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
- package/resources/targets/trae/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
- package/resources/targets/trae/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
- package/resources/targets/trae/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/trae/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/trae/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/trae/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/trae/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/trae/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/trae/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/trae/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/trae/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/trae/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/trae/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/trae/js3d/js3d/context/skills/index.json +31 -0
- package/resources/targets/trae/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
- package/resources/targets/trae/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
- package/resources/targets/trae/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
- package/resources/targets/trae/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
- package/resources/targets/trae/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
- package/resources/targets/trae/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/trae/js3d/js3d/project/README.md +7 -0
- package/resources/targets/trae/js3d/js3d/project/configs/game.controls.json +3 -0
- package/resources/targets/trae/js3d/js3d/project/configs/game.json +3 -0
- package/resources/targets/trae/js3d/js3d/project/game-runtime.json +7 -0
- package/resources/targets/trae/js3d/js3d/project/game.config.json +7 -0
- package/resources/targets/trae/js3d/js3d/project/index.html +12 -0
- package/resources/targets/trae/js3d/js3d/project/package.json +23 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
- package/resources/targets/trae/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
- package/resources/targets/trae/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
- package/resources/targets/trae/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/trae/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
- package/resources/targets/trae/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
- package/resources/targets/trae/js3d/js3d/project/scripts/config-export.mjs +15 -0
- package/resources/targets/trae/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/trae/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/trae/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/trae/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/trae/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/trae/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/trae/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/trae/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/trae/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/trae/js3d/js3d/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/trae/js3d/js3d/project/src/display/viewport.ts +239 -0
- package/resources/targets/trae/js3d/js3d/project/src/main.ts +85 -0
- package/resources/targets/trae/js3d/js3d/project/src/platform.ts +2 -0
- package/resources/targets/trae/js3d/js3d/project/src/style.css +83 -0
- package/resources/targets/trae/js3d/js3d/project/tsconfig.json +20 -0
- package/resources/targets/trae/js3d/js3d/project/unified_data_control_config.json +20 -0
- package/resources/targets/trae/js3d/js3d/project/vite.config.ts +5 -0
- package/resources/targets/trae/js3d/recovery.md +17 -0
- package/resources/targets/trae/js3d/target.json +60 -0
- package/resources/targets/workbuddy/js/bootstrap/SKILL.md +22 -24
- package/resources/targets/workbuddy/js/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/workbuddy/js/js/bundle.json +8 -8
- package/resources/targets/workbuddy/js/js/context/AGENTS.md +29 -29
- package/resources/targets/workbuddy/js/recovery.md +19 -19
- package/resources/targets/workbuddy/js/target.json +1 -1
- package/resources/targets/workbuddy/js3d/bootstrap/SKILL.md +22 -24
- package/resources/targets/workbuddy/js3d/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/workbuddy/js3d/js3d/bundle.json +9 -9
- package/resources/targets/workbuddy/js3d/js3d/context/AGENTS.md +30 -30
- package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +2 -2
- package/resources/targets/workbuddy/js3d/recovery.md +19 -19
- package/resources/targets/workbuddy/js3d/target.json +1 -1
- package/resources/targets/zcode/js/bootstrap/SKILL.md +3 -1
- package/resources/targets/zcode/js/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/zcode/js/js/bundle.json +7 -7
- package/resources/targets/zcode/js/recovery.md +5 -1
- package/resources/targets/zcode/js/target.json +1 -1
- package/resources/targets/zcode/js3d/bootstrap/SKILL.md +3 -1
- package/resources/targets/zcode/js3d/craft-game-maker/SKILL.md +11 -15
- package/resources/targets/zcode/js3d/js3d/bundle.json +8 -8
- package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +2 -2
- package/resources/targets/zcode/js3d/recovery.md +5 -1
- package/resources/targets/zcode/js3d/target.json +1 -1
- package/vendor/craft-runtime/SOURCE.json +3 -3
- package/vendor/craft-runtime/package.json +1 -1
- package/dist-server/game-workflow/publication-materials.mjs +0 -92
- package/dist-server/game-workflow/publications.mjs +0 -168
- package/dist-server/game-workflow/publish-capture-worker.mjs +0 -57
- package/dist-server/game-workflow/publish-capture.mjs +0 -75
- package/dist-server/mcp/publication-page.html +0 -86
- package/dist-server/mcp/publication-page.mjs +0 -375
- package/dist-server/mcp/publication-preview.mjs +0 -63
- package/dist-server/mcp/publication-tools.mjs +0 -22
- package/dist-server/mcp/publish-panel.mjs +0 -210
- package/dist-server/upstream/publication-transport.mjs +0 -101
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { getUiStage } from './display/ui-stage';
|
|
2
|
+
|
|
3
|
+
function setRect(element: HTMLElement, rect: { x: number; y: number; width: number; height: number }): void {
|
|
4
|
+
Object.assign(element.style, { position: 'absolute', left: `${rect.x}px`, top: `${rect.y}px`, width: `${rect.width}px`, height: `${rect.height}px` });
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function createButton(doc: Document, options: { label: string; onClick: () => void; className?: string }) {
|
|
8
|
+
const element = doc.createElement('button');
|
|
9
|
+
element.type = 'button';
|
|
10
|
+
element.textContent = options.label;
|
|
11
|
+
element.className = options.className ?? '';
|
|
12
|
+
element.style.pointerEvents = 'auto';
|
|
13
|
+
element.addEventListener('click', options.onClick);
|
|
14
|
+
return { element, dispose() { element.removeEventListener('click', options.onClick); element.remove(); } };
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const NATIVE_HIT_STYLE_ID = 'screen-ui-native-hit';
|
|
18
|
+
const NATIVE_HIT_CSS = [
|
|
19
|
+
'#game button,#game input,#game select,#game textarea,#game a,#game [role="button"]{pointer-events:auto}',
|
|
20
|
+
'#game button{-webkit-appearance:none;appearance:none}',
|
|
21
|
+
':where(#game) button{border:2px solid var(--hud-btn-edge,rgba(214,181,106,.55));border-radius:var(--hud-btn-radius,10px);background:var(--hud-btn-fill,rgba(28,22,18,.88));color:var(--hud-btn-ink,#f3ead8);font:600 28px/1.2 var(--hud-font,system-ui,"Microsoft YaHei",sans-serif);text-shadow:0 2px 4px rgba(0,0,0,.7)}',
|
|
22
|
+
].join('');
|
|
23
|
+
|
|
24
|
+
function ensureNativeHitCss(doc: Document): void {
|
|
25
|
+
if (doc.getElementById(NATIVE_HIT_STYLE_ID)) return;
|
|
26
|
+
const style = document.createElement('style');
|
|
27
|
+
style.id = NATIVE_HIT_STYLE_ID;
|
|
28
|
+
style.textContent = NATIVE_HIT_CSS;
|
|
29
|
+
doc.head.appendChild(style);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export type ScreenRect = { x: number; y: number; width: number; height: number };
|
|
33
|
+
|
|
34
|
+
export type ScreenPanel = {
|
|
35
|
+
root: HTMLDivElement;
|
|
36
|
+
setOpen: (open: boolean) => void;
|
|
37
|
+
isOpen: () => boolean;
|
|
38
|
+
dispose: () => void;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export type ScreenPanelOptions = {
|
|
42
|
+
rect?: ScreenRect;
|
|
43
|
+
scroll?: boolean;
|
|
44
|
+
scrim?: boolean;
|
|
45
|
+
close?: boolean;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export type ScreenUi = {
|
|
49
|
+
width: number;
|
|
50
|
+
height: number;
|
|
51
|
+
layer: (name: string) => HTMLDivElement;
|
|
52
|
+
button: (
|
|
53
|
+
host: string | HTMLElement,
|
|
54
|
+
options: { label: string; rect?: ScreenRect; onClick: () => void },
|
|
55
|
+
) => { element: HTMLButtonElement; dispose: () => void };
|
|
56
|
+
text: (host: string | HTMLElement, options: { text: string }) => HTMLDivElement;
|
|
57
|
+
panel: (options?: ScreenPanelOptions) => ScreenPanel;
|
|
58
|
+
dispose: () => void;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
function isPanelBody(node: HTMLElement): boolean {
|
|
62
|
+
return node.classList.contains('screen-panel-body');
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function mountScreenUi(): ScreenUi {
|
|
66
|
+
const host = document.getElementById('game');
|
|
67
|
+
if (!host) throw new Error('#game 不存在');
|
|
68
|
+
ensureNativeHitCss(document);
|
|
69
|
+
const stage = getUiStage();
|
|
70
|
+
|
|
71
|
+
const resolveParent = (target: string | HTMLElement): HTMLDivElement =>
|
|
72
|
+
typeof target === 'string' ? stage.layer(target) : (target as HTMLDivElement);
|
|
73
|
+
|
|
74
|
+
const mountButton = (
|
|
75
|
+
parent: HTMLElement,
|
|
76
|
+
options: { label: string; rect?: ScreenRect; onClick: () => void; className?: string },
|
|
77
|
+
) => {
|
|
78
|
+
const btn = createButton(document, {
|
|
79
|
+
label: options.label,
|
|
80
|
+
onClick: options.onClick,
|
|
81
|
+
...(options.className ? { className: options.className } : {}),
|
|
82
|
+
});
|
|
83
|
+
parent.appendChild(btn.element);
|
|
84
|
+
if (options.rect && !isPanelBody(parent)) {
|
|
85
|
+
setRect(btn.element, options.rect);
|
|
86
|
+
}
|
|
87
|
+
return btn;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
return {
|
|
91
|
+
get width() {
|
|
92
|
+
return stage.logical.logicW;
|
|
93
|
+
},
|
|
94
|
+
get height() {
|
|
95
|
+
return stage.logical.logicH;
|
|
96
|
+
},
|
|
97
|
+
layer: (name) => stage.layer(name),
|
|
98
|
+
button(target, options) {
|
|
99
|
+
return mountButton(resolveParent(target), options);
|
|
100
|
+
},
|
|
101
|
+
text(target, options) {
|
|
102
|
+
const parent = resolveParent(target);
|
|
103
|
+
const el = document.createElement('div');
|
|
104
|
+
el.className = 'screen-text';
|
|
105
|
+
el.textContent = options.text;
|
|
106
|
+
parent.appendChild(el);
|
|
107
|
+
return el;
|
|
108
|
+
},
|
|
109
|
+
panel(options = {}) {
|
|
110
|
+
const useFixed = Boolean(options.rect);
|
|
111
|
+
const scrimOn = options.scrim !== false;
|
|
112
|
+
const closeOn = options.close === true;
|
|
113
|
+
|
|
114
|
+
const scrim = document.createElement('div');
|
|
115
|
+
scrim.className = 'screen-scrim screen-hidden';
|
|
116
|
+
scrim.style.pointerEvents = 'auto';
|
|
117
|
+
scrim.style.inset = '0';
|
|
118
|
+
if (scrimOn) stage.layer('scrim').appendChild(scrim);
|
|
119
|
+
|
|
120
|
+
const box = document.createElement('div');
|
|
121
|
+
box.className = 'screen-panel screen-hidden';
|
|
122
|
+
box.style.pointerEvents = 'auto';
|
|
123
|
+
if (useFixed && options.rect) {
|
|
124
|
+
setRect(box, options.rect);
|
|
125
|
+
box.style.transform = 'none';
|
|
126
|
+
}
|
|
127
|
+
stage.layer('modal').appendChild(box);
|
|
128
|
+
|
|
129
|
+
let open = false;
|
|
130
|
+
const setOpen = (next: boolean) => {
|
|
131
|
+
open = next;
|
|
132
|
+
if (scrimOn) scrim.classList.toggle('screen-hidden', !next);
|
|
133
|
+
box.classList.toggle('screen-hidden', !next);
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
let closeBtn: { dispose: () => void } | undefined;
|
|
137
|
+
if (closeOn) {
|
|
138
|
+
const head = document.createElement('div');
|
|
139
|
+
head.className = 'screen-panel-head';
|
|
140
|
+
box.appendChild(head);
|
|
141
|
+
closeBtn = mountButton(head, {
|
|
142
|
+
label: '关闭',
|
|
143
|
+
className: 'screen-panel-close',
|
|
144
|
+
onClick: () => setOpen(false),
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
const body = document.createElement('div');
|
|
149
|
+
body.className = 'screen-panel-body';
|
|
150
|
+
body.style.pointerEvents = 'auto';
|
|
151
|
+
if (options.scroll === false) body.style.overflow = 'hidden';
|
|
152
|
+
box.appendChild(body);
|
|
153
|
+
|
|
154
|
+
const onScrimClick = () => {
|
|
155
|
+
if (closeOn) setOpen(false);
|
|
156
|
+
};
|
|
157
|
+
const onKey = (event: KeyboardEvent) => {
|
|
158
|
+
if (!closeOn || event.key !== 'Escape' || !open) return;
|
|
159
|
+
event.preventDefault();
|
|
160
|
+
setOpen(false);
|
|
161
|
+
};
|
|
162
|
+
if (scrimOn) scrim.addEventListener('click', onScrimClick);
|
|
163
|
+
document.addEventListener('keydown', onKey);
|
|
164
|
+
|
|
165
|
+
return {
|
|
166
|
+
root: body,
|
|
167
|
+
setOpen,
|
|
168
|
+
isOpen: () => open,
|
|
169
|
+
dispose: () => {
|
|
170
|
+
setOpen(false);
|
|
171
|
+
document.removeEventListener('keydown', onKey);
|
|
172
|
+
if (scrimOn) {
|
|
173
|
+
scrim.removeEventListener('click', onScrimClick);
|
|
174
|
+
scrim.remove();
|
|
175
|
+
}
|
|
176
|
+
closeBtn?.dispose();
|
|
177
|
+
box.remove();
|
|
178
|
+
},
|
|
179
|
+
};
|
|
180
|
+
},
|
|
181
|
+
dispose: () => {
|
|
182
|
+
/* 舞台由 main.ts 的 initUiStage 持有,Scene 关闭不清掉 #ui-root */
|
|
183
|
+
},
|
|
184
|
+
};
|
|
185
|
+
}
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* 从 SPEC/plan/游戏设计.md 画风主色 / 字色 / 描边改这三项;弹层底板用 --hud-panel-fill */
|
|
3
|
+
--hud-btn-fill: rgba(28, 22, 18, 0.88);
|
|
4
|
+
--hud-btn-ink: #f3ead8;
|
|
5
|
+
--hud-btn-edge: rgba(214, 181, 106, 0.55);
|
|
6
|
+
--hud-btn-radius: 10px;
|
|
7
|
+
--hud-panel-fill: rgba(18, 14, 12, 0.94);
|
|
8
|
+
--hud-font: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
9
|
+
|
|
10
|
+
--ui-primary: #4aa3ff;
|
|
11
|
+
--ui-primary-strong: #2f7fe0;
|
|
12
|
+
--ui-accent: #ffc247;
|
|
13
|
+
--ui-danger: #ff5a5a;
|
|
14
|
+
--ui-success: #48d597;
|
|
15
|
+
--ui-text: #f2f7ff;
|
|
16
|
+
--ui-text-dim: #c3cede;
|
|
17
|
+
--ui-text-dark: #1b2230;
|
|
18
|
+
--ui-panel-bg: rgba(16, 22, 34, 0.82);
|
|
19
|
+
--ui-panel-border: rgba(255, 255, 255, 0.16);
|
|
20
|
+
--ui-scrim: rgba(0, 0, 0, 0.55);
|
|
21
|
+
--ui-font-xl: 64px;
|
|
22
|
+
--ui-font-lg: 44px;
|
|
23
|
+
--ui-font-md: 32px;
|
|
24
|
+
--ui-font-sm: 24px;
|
|
25
|
+
--ui-gap-xs: 8px;
|
|
26
|
+
--ui-gap-sm: 16px;
|
|
27
|
+
--ui-gap-md: 28px;
|
|
28
|
+
--ui-gap-lg: 48px;
|
|
29
|
+
--ui-radius-sm: 8px;
|
|
30
|
+
--ui-radius-md: 16px;
|
|
31
|
+
--ui-radius-lg: 28px;
|
|
32
|
+
--ui-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
|
|
33
|
+
--ui-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
|
|
34
|
+
--ui-shadow-text: 0 2px 6px rgba(0, 0, 0, 0.75);
|
|
35
|
+
--ui-page-margin: 32px;
|
|
36
|
+
--ui-font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
html, body {
|
|
40
|
+
margin: 0;
|
|
41
|
+
width: 100%;
|
|
42
|
+
height: 100%;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
background: #000;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
#game {
|
|
48
|
+
position: relative;
|
|
49
|
+
width: 100%;
|
|
50
|
+
height: 100%;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
#game canvas {
|
|
55
|
+
display: block;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
#ui-root {
|
|
59
|
+
position: absolute;
|
|
60
|
+
inset: 0;
|
|
61
|
+
overflow: hidden;
|
|
62
|
+
pointer-events: none;
|
|
63
|
+
z-index: 10;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
#ui-stage {
|
|
67
|
+
position: absolute;
|
|
68
|
+
left: 50%;
|
|
69
|
+
top: 50%;
|
|
70
|
+
transform-origin: center center;
|
|
71
|
+
overflow: hidden;
|
|
72
|
+
pointer-events: none;
|
|
73
|
+
isolation: isolate;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
#game button {
|
|
77
|
+
box-sizing: border-box;
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
margin: 0;
|
|
82
|
+
padding: 0 16px;
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
pointer-events: auto;
|
|
85
|
+
-webkit-appearance: none;
|
|
86
|
+
appearance: none;
|
|
87
|
+
border: 2px solid var(--hud-btn-edge);
|
|
88
|
+
border-radius: var(--hud-btn-radius);
|
|
89
|
+
background: var(--hud-btn-fill);
|
|
90
|
+
color: var(--hud-btn-ink);
|
|
91
|
+
font: 600 28px/1.2 var(--hud-font);
|
|
92
|
+
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
|
|
93
|
+
user-select: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
#game button:active:not(:disabled) {
|
|
97
|
+
filter: brightness(0.88);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.screen-hidden {
|
|
101
|
+
display: none !important;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.screen-scrim {
|
|
105
|
+
box-sizing: border-box;
|
|
106
|
+
background: rgba(0, 0, 0, 0.45);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.screen-panel {
|
|
110
|
+
position: absolute;
|
|
111
|
+
left: 50%;
|
|
112
|
+
top: 50%;
|
|
113
|
+
transform: translate(-50%, -50%);
|
|
114
|
+
display: flex;
|
|
115
|
+
flex-direction: column;
|
|
116
|
+
box-sizing: border-box;
|
|
117
|
+
width: max-content;
|
|
118
|
+
height: max-content;
|
|
119
|
+
max-width: 90%;
|
|
120
|
+
max-height: 90%;
|
|
121
|
+
border: 2px solid var(--hud-btn-edge);
|
|
122
|
+
border-radius: 16px;
|
|
123
|
+
background: var(--hud-panel-fill);
|
|
124
|
+
color: var(--hud-btn-ink);
|
|
125
|
+
font: 600 1em/1.35 var(--hud-font);
|
|
126
|
+
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.screen-panel-head {
|
|
130
|
+
display: flex;
|
|
131
|
+
justify-content: flex-end;
|
|
132
|
+
flex: 0 0 auto;
|
|
133
|
+
padding: 0.4em 0.4em 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
#game .screen-panel-close {
|
|
137
|
+
width: auto;
|
|
138
|
+
height: auto;
|
|
139
|
+
flex: 0 0 auto;
|
|
140
|
+
padding: 0.35em 0.8em;
|
|
141
|
+
white-space: nowrap;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.screen-panel-body {
|
|
145
|
+
position: relative;
|
|
146
|
+
display: flex;
|
|
147
|
+
flex-direction: column;
|
|
148
|
+
align-items: stretch;
|
|
149
|
+
gap: 0.5em;
|
|
150
|
+
min-height: 0;
|
|
151
|
+
padding: 0.8em 1.2em 1.2em;
|
|
152
|
+
overflow: auto;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
#game .screen-panel-body > button {
|
|
156
|
+
position: static;
|
|
157
|
+
width: auto;
|
|
158
|
+
height: auto;
|
|
159
|
+
align-self: center;
|
|
160
|
+
padding: 0.35em 0.9em;
|
|
161
|
+
white-space: nowrap;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.screen-text {
|
|
165
|
+
margin: 0;
|
|
166
|
+
max-inline-size: 36ch;
|
|
167
|
+
text-align: center;
|
|
168
|
+
overflow-wrap: anywhere;
|
|
169
|
+
font: 600 1em/1.4 var(--hud-font);
|
|
170
|
+
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.ui-layer {
|
|
174
|
+
font-family: var(--ui-font-family);
|
|
175
|
+
color: var(--ui-text);
|
|
176
|
+
line-height: 1.25;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.ui-row {
|
|
180
|
+
display: flex;
|
|
181
|
+
flex-direction: row;
|
|
182
|
+
align-items: center;
|
|
183
|
+
gap: var(--ui-gap-sm);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.ui-col {
|
|
187
|
+
display: flex;
|
|
188
|
+
flex-direction: column;
|
|
189
|
+
gap: var(--ui-gap-sm);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.ui-center {
|
|
193
|
+
justify-content: center;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.ui-between {
|
|
197
|
+
justify-content: space-between;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.ui-grow {
|
|
201
|
+
flex: 1 1 auto;
|
|
202
|
+
min-height: 0;
|
|
203
|
+
min-width: 0;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.ui-modal {
|
|
207
|
+
position: absolute;
|
|
208
|
+
inset: 0;
|
|
209
|
+
display: flex;
|
|
210
|
+
align-items: center;
|
|
211
|
+
justify-content: center;
|
|
212
|
+
pointer-events: auto;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.ui-panel {
|
|
216
|
+
background: var(--ui-panel-bg);
|
|
217
|
+
border: 2px solid var(--ui-panel-border);
|
|
218
|
+
border-radius: var(--ui-radius-md);
|
|
219
|
+
box-shadow: var(--ui-shadow-md);
|
|
220
|
+
padding: var(--ui-gap-md);
|
|
221
|
+
box-sizing: border-box;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.ui-btn {
|
|
225
|
+
font: inherit;
|
|
226
|
+
color: var(--ui-text);
|
|
227
|
+
background: var(--ui-primary);
|
|
228
|
+
border: none;
|
|
229
|
+
border-radius: var(--ui-radius-sm);
|
|
230
|
+
padding: var(--ui-gap-xs) var(--ui-gap-md);
|
|
231
|
+
min-height: 80px;
|
|
232
|
+
min-width: 160px;
|
|
233
|
+
cursor: pointer;
|
|
234
|
+
pointer-events: auto;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.ui-btn:active {
|
|
238
|
+
transform: translateY(2px);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.ui-num {
|
|
242
|
+
font-variant-numeric: tabular-nums;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
#ui-stage[data-orientation='portrait'] .hud-topbar {
|
|
246
|
+
flex-direction: column;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
#ui-stage[data-orientation='landscape'] .hud-topbar {
|
|
250
|
+
flex-direction: row;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
#game[data-platform='mobile'] .hud-hint {
|
|
254
|
+
display: none;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
#loading {
|
|
258
|
+
position: fixed;
|
|
259
|
+
inset: 0;
|
|
260
|
+
z-index: 9999;
|
|
261
|
+
display: flex;
|
|
262
|
+
align-items: center;
|
|
263
|
+
justify-content: center;
|
|
264
|
+
background: #000;
|
|
265
|
+
color: #fff;
|
|
266
|
+
font-family: sans-serif;
|
|
267
|
+
pointer-events: none;
|
|
268
|
+
user-select: none;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.loading-panel {
|
|
272
|
+
display: flex;
|
|
273
|
+
flex-direction: column;
|
|
274
|
+
align-items: center;
|
|
275
|
+
gap: 12px;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.loading-label,
|
|
279
|
+
.loading-percent {
|
|
280
|
+
font-size: 16px;
|
|
281
|
+
line-height: 1.2;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.loading-bar {
|
|
285
|
+
width: 240px;
|
|
286
|
+
height: 8px;
|
|
287
|
+
background: #333;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.loading-bar-fill {
|
|
291
|
+
width: 0%;
|
|
292
|
+
height: 100%;
|
|
293
|
+
background: #fff;
|
|
294
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"module": "ESNext",
|
|
5
|
+
"moduleResolution": "bundler",
|
|
6
|
+
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
7
|
+
"types": ["vite/client"],
|
|
8
|
+
|
|
9
|
+
"strict": true,
|
|
10
|
+
"noEmit": true,
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"isolatedModules": true,
|
|
13
|
+
"esModuleInterop": true,
|
|
14
|
+
"forceConsistentCasingInFileNames": true,
|
|
15
|
+
"resolveJsonModule": true,
|
|
16
|
+
"useDefineForClassFields": true
|
|
17
|
+
},
|
|
18
|
+
"include": ["src"],
|
|
19
|
+
"exclude": ["node_modules", "dist", "src/**/*.test.ts"]
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"schema": "game.background",
|
|
4
|
+
"enabled": true,
|
|
5
|
+
"title": "背景颜色",
|
|
6
|
+
"description": "",
|
|
7
|
+
"locator": {
|
|
8
|
+
"tab": "场景",
|
|
9
|
+
"group": "画面",
|
|
10
|
+
"priority": 0
|
|
11
|
+
},
|
|
12
|
+
"control": {
|
|
13
|
+
"type": "color",
|
|
14
|
+
"default": "#222222",
|
|
15
|
+
"alpha": false,
|
|
16
|
+
"origin": "#222222",
|
|
17
|
+
"value": "#222222"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
]
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { defineConfig } from 'vite';
|
|
2
|
+
import { lightgame } from './runtime/lightgame/1.1.0/tooling/vite.mjs';
|
|
3
|
+
import { gameConfig } from './scripts/skill-modules/export-config/vite.mjs';
|
|
4
|
+
|
|
5
|
+
export default defineConfig({ base: './', plugins: [lightgame(), gameConfig()] });
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# 恢复当前 文心快码(Comate) / 2D / Phaser 游戏
|
|
2
|
+
|
|
3
|
+
新会话首次处理本项目时,用 `craft_game_info(name)` 核对目录,再自动调用只读 `craft_update_check(name,request_key)`。继续制作且 update_available=true、automatic_update_enabled=true 时,调用 `craft_update(name,mode:"auto",request_key)` 安装兼容新版。纯查看不安装;检查、安装及 prepare 复用同一 request_key,prepare 也会兜底检查。
|
|
4
|
+
|
|
5
|
+
新版安装后,当前 MCP 进程继续使用原版本;在下次启动或用户重连后加载新版,不主动重载或结束工作。重连前完成后台任务、记录进度并 release。重连后用当前聊天的 craft_game_info 核对实际 version、build_id、active_verified 和 host/workspace/platform;安装回执或独立探测不能代替核验。只对明确未开始的 prepare 复用 request_key,不重放结果不明的操作。
|
|
6
|
+
|
|
7
|
+
新版确认后调用 `craft_game_prepare(name,mode:"resume",request_key)`,更新当前宿主、原引擎的上下文正文、技能索引、受管 Skill 和恢复入口。轮询完成后重新读取入口、索引和所需正文;磁盘更新不代表模型已采用新内容。
|
|
8
|
+
|
|
9
|
+
本套资料安装在项目 `.comate/`。请在该游戏项目目录开启会话,从 `.comate/AGENTS.md` 和项目 `craft-project` Skill 恢复。使用本宿主目录下的 `AGENTS.md`、`workflow.md`、`guide.md`、`knowledge/` 和 `skills/`,按任务选择领域 Skill,无需从缓存或版本目录查找正文。
|
|
10
|
+
|
|
11
|
+
先调用只读 `craft_game_info(name)` 检查工程、已安装版本和占用。纯查看直接读取现有文件。继续制作时调用 `craft_game_prepare(name,mode:"resume",request_key)` 并轮询成功,保存 work_id/context_revision,再重新读取返回的本地入口、工作流和技能索引;制作工具传入 work_id。读取项目 `SPEC/PROGRESS.md`、已有设计、相关源码,以及存在的 `.craft/user-rules.md`;以文件和实际工具结果恢复进度。
|
|
12
|
+
|
|
13
|
+
项目入口与源码不重建。更新只管理 Craft 清单中的文件,修改过的官方副本先备份;用户规则和进度保留。旧运行时不能降级已更新的上下文,兼容检查失败时按诊断处理。
|
|
14
|
+
|
|
15
|
+
只读恢复不修改游戏代码、进度或设计,不执行构建或导出。进行游戏开发时按本地工作流完成验收并记录真实结果。
|
|
16
|
+
|
|
17
|
+
完成或暂停制作时记录进度,等待后台任务结束并调用 `craft_game_release(name,work_id)`。新的制作任务使用新的 request_key;同次准备的网络重试复用原 key。resume 不重建模板、不安装依赖、不构建或导出。更新只在准备阶段发生,查询不更新文件。
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": 1,
|
|
3
|
+
"host": "comate",
|
|
4
|
+
"engine": "js",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"template": {
|
|
7
|
+
"path": "engines/js/project",
|
|
8
|
+
"files": {
|
|
9
|
+
"configs/assets.json": "ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356",
|
|
10
|
+
"configs/game.controls.json": "c353f210e7d63c4042cc4a58163e90cc9dc55b3bb5789547dbf913f1e553d2fa",
|
|
11
|
+
"configs/game.json": "3289dc2a6fb9a75e47e59dd95507a91a5337352a3ae5a0f7dbaf14a2ab16ad88",
|
|
12
|
+
"game-runtime.json": "9e6d4974f371478ce507ae208de580e248175a0d99941aa0d10465243fd4ad69",
|
|
13
|
+
"game.config.json": "0d50535f695a1be2c7a1649953fedd112d02a078ceda11c22391b21c05a22c0e",
|
|
14
|
+
"index.html": "6968aba482c4fb0d2c6bd0e4effe627837c1a83bf16f185c32dd7b351605c6a2",
|
|
15
|
+
"package.json": "b308908f78564b70471e7c9c762904f497778e2e5dd0512a47e9034ed7c2c8d4",
|
|
16
|
+
"README.md": "7708ecdf5ff65e5565bb46c98b4388778db0e747c2d9fce778f42f73c78663f5",
|
|
17
|
+
"runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js": "2a2ad154f1f300f188e202100d35d866e81cba0ff603cb9abea8ab1b4f2b909a",
|
|
18
|
+
"runtime/lightgame/1.1.0/platform/identity/qq-session.mjs": "6a2716cdb7393cac0b0b231bf1b5f9886e2c876917c7af17913c57a683df2a8a",
|
|
19
|
+
"runtime/lightgame/1.1.0/platform/identity/shared.mjs": "58855d261455d390e66b8dbfccd6384a3daddcf77615490c744014c695e611b3",
|
|
20
|
+
"runtime/lightgame/1.1.0/platform/platform-capture-video.mjs": "5137bfd403c8500e1e5b5305ac7f3ca55ee68daaade624333a7c85786077713d",
|
|
21
|
+
"runtime/lightgame/1.1.0/platform/platform-service.d.mts": "1215d08eaa70c412628e6d160e10f3d1b211be8ff66da5d312684d6fe6905f11",
|
|
22
|
+
"runtime/lightgame/1.1.0/platform/platform-service.mjs": "4c80bd843775d687d6015dcde78c3ea2a354923860d1c5d443a6035fcfce5653",
|
|
23
|
+
"runtime/lightgame/1.1.0/platform/platform.d.mts": "27819e8b8730a6af9c84aa4b540fef010e51299f32a76739621d340046e12f11",
|
|
24
|
+
"runtime/lightgame/1.1.0/platform/platform.mjs": "d4848e892f4863003d4022178817cf3c796975f5304bd59530b6574971b4e9c9",
|
|
25
|
+
"runtime/lightgame/1.1.0/release.json": "ddd0894b196b729b9d1e592f204897655c34dc685c0397a6dee267c47d90c55e",
|
|
26
|
+
"runtime/lightgame/1.1.0/tooling/cli.mjs": "ff2a614679a8b2fc3847efe6d0d7194e8c87d8100eaff6b9168e4e3d050465c0",
|
|
27
|
+
"runtime/lightgame/1.1.0/tooling/project.d.mts": "d8272a81789094fed7090ae0cd07f597f62b2dca16834fd6b6e9ccea81968ec8",
|
|
28
|
+
"runtime/lightgame/1.1.0/tooling/project.mjs": "d1600f6a294fe0399d9d45d20cffb7416318b2bbff497c08142ce1a568c59db2",
|
|
29
|
+
"runtime/lightgame/1.1.0/tooling/vite.d.mts": "667e46bd016ef8ba368e53564b49b3fd571786c1672b3dbb14dc24833e0c293c",
|
|
30
|
+
"runtime/lightgame/1.1.0/tooling/vite.mjs": "58edccd64f94c442a313ce51f0698c081fa829ce18ed3173a6694c2a8619cd65",
|
|
31
|
+
"runtime/lightgame/1.1.0/tools/assets.d.mts": "50111c87e3c639383df7900c88540e91b564e560c4411b9d0292712de3712628",
|
|
32
|
+
"runtime/lightgame/1.1.0/tools/assets.mjs": "7608d8e7f0e7491bdd5b32581db77d7a622e08ee32a5cfb9ff992be252b32eda",
|
|
33
|
+
"runtime/lightgame/1.1.0/tools/astc.d.mts": "24416261df0bbfc9a22ec010eb6857bea6ee39703e6e62caf183c2adbe45cd86",
|
|
34
|
+
"runtime/lightgame/1.1.0/tools/astc.mjs": "661576a1d5e65d6079328c0e00348d2eeeae123b0310a8110edac4de92745a2f",
|
|
35
|
+
"scripts/config-export/assert-asset-wiring.mjs": "2d4903626e75b699e8ea9a53449f99498ae20d58f3132db9e0055eab514dee01",
|
|
36
|
+
"scripts/config-export/panel-resource-path.mjs": "70f707133498347e6295d82d8da6cc24cd9363b3bd302e1372016a5491f07ba7",
|
|
37
|
+
"scripts/config-export/sync-asset-controls.mjs": "ac2c05d52d34ff3f63cd61892db23c5ae3c622d5e6023d9a4b6f221bc4b8bc67",
|
|
38
|
+
"scripts/config-export.mjs": "2b36636fda0dac316129c354134a77e18d60a940210d870ae5ba18697c347d49",
|
|
39
|
+
"scripts/skill-modules/export-config/cli.mjs": "70c1d67b93a03e64c22a1ec20927304f6c4cbbe5d74b855dd03ed7fa103a821a",
|
|
40
|
+
"scripts/skill-modules/export-config/config.d.mts": "25066e71f44ee8b74b2285e3824536afb4cac25f63f4d4c2193da29c237d774d",
|
|
41
|
+
"scripts/skill-modules/export-config/config.mjs": "ba99f6f54d0db4fc42d5431d0792c3f5e6981474faef3a0acf924a90b27158f8",
|
|
42
|
+
"scripts/skill-modules/export-config/installed.json": "fec5c3035b0e153b78765f7d97f27acded592d8fccd07cb728fe59d3559bcc94",
|
|
43
|
+
"scripts/skill-modules/export-config/project.d.mts": "5cf22fae66b199b92080d07ea45b686502d0605f677504177b029e0d615a5e9b",
|
|
44
|
+
"scripts/skill-modules/export-config/project.mjs": "f7a1417e019cee8efea68840ca768d414fa8106e67dd60d4f300465c9a58e541",
|
|
45
|
+
"scripts/skill-modules/export-config/vite.d.mts": "70918eaafd1b4518818533232fb9fa83e7b5df0da14927b5e2ad2288347bca23",
|
|
46
|
+
"scripts/skill-modules/export-config/vite.mjs": "6da929e7d7d59f928f468a0052e1f970b992032d461968b93b713583fdbbb86a",
|
|
47
|
+
"scripts/write-preview-ready.mjs": "9ceeb1ba6b4a686b633c5ad78db6422f38603e86d502b85281e4344bd39ce978",
|
|
48
|
+
"src/display/ui-stage.ts": "c0cfd56a244cc50fb82dc4ec013e12db45840150eef85b764a412ac1f25c7913",
|
|
49
|
+
"src/display/viewport.ts": "7b335bc6789a3f9bace1e55ff75849ca553da02414045bbbe646f42700f26653",
|
|
50
|
+
"src/main.ts": "95c615c4f8296b4c5c822e32be90888586051f99bf7b68ed79941bf4cefab454",
|
|
51
|
+
"src/platform.ts": "5b3d3d1132d25d1f8f08eb1edcc6719bc5f9737c75bd3050ef09dddd1e117ad9",
|
|
52
|
+
"src/scenes/LoadScene.ts": "6a5dfef1a33275e617983ec801a55875b09837824a9791567c42278eefe73929",
|
|
53
|
+
"src/scenes/PlayScene.ts": "9a31c41b3390420bd7ac732bd6a5624a82f37219f1b95ff1b23c4add627e0b4c",
|
|
54
|
+
"src/screenUi.ts": "f2493a628630c5649a48011ef33c72c62b50780697428c98b24e6a10f8b59bc3",
|
|
55
|
+
"src/style.css": "23c2ee94511737469d5645fdcee4fd177f92589ff6415ac5776bbe9bfc2dad70",
|
|
56
|
+
"tsconfig.json": "ff460bbe00552390594da800297aa4d1bcd0c21e07ebe2794d7fc94cf5debd58",
|
|
57
|
+
"unified_data_control_config.json": "713e928403c10e069dc2d43b74da0a5ca4323f616ee84917d7df8f2e9bc48b21",
|
|
58
|
+
"vite.config.ts": "3446dbee391e5c15aa3fa1770cadf16c4214d11715881784ed879c2f317d9f8f"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: craft-create
|
|
3
|
+
description: 在 文心快码(Comate) 中使用 Craft 新建 2D、3D 游戏或玩法原型。Create a new 2D or 3D game with Craft. 当前目录已有 Craft 游戏、需要继续或恢复时使用项目 craft-project Skill 和 .comate/AGENTS.md。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- craft-mcp:bootstrap:v1 -->
|
|
7
|
+
# 创建 Craft 游戏
|
|
8
|
+
|
|
9
|
+
新会话首次处理 Craft 创建请求时,自动调用只读 `craft_update_check(request_key)`。若 update_available=true 且 automatic_update_enabled=true,调用 `craft_update(mode:"auto",request_key)` 安装兼容新版;两个工具与 prepare 复用同一 request_key。有既有工作时先完成并 release,再开始新的准备。pending_reconnect 表示新版已安装、本次准备未开始,等待下次启动或用户重连;查询不写安装记录或项目。prepare 仍会兜底检查与更新。
|
|
10
|
+
|
|
11
|
+
新版安装后,当前 MCP 进程继续使用原版本;在下次启动或用户重连后加载新版,不主动重载或结束工作。重连前完成后台任务、记录进度并 release。重连后用当前聊天的 craft_game_info 核对实际 version、build_id、active_verified 和 host/workspace/platform;安装回执或独立探测不能代替核验。只对明确未开始的 prepare 复用 request_key,不重放结果不明的操作。
|
|
12
|
+
|
|
13
|
+
1. 当前目录已有 Craft 工程时,先读项目 `.comate/AGENTS.md`;入口尚未生成时读取根 `AGENTS.md`,按 info 和 prepare 的返回结果恢复该工程。创建新游戏时,调用 `craft_game_info`,核对服务的 workspace 和平台;游戏将创建在 `<workspace>/<name>`,不自动跟随宿主当前目录。
|
|
14
|
+
2. 创建选项只展示 **2D / Phaser**(`js`)和 **3D / Three.js**(`js3d`)。用户已明确选择时直接沿用;尚未明确时结合玩法给出推荐和简短理由,使用宿主可用的提问交互收集选择,不可用时用文字询问。用户让你决定时按需求选择并说明,不重复确认已有选择。选定引擎后,使用英文小写、数字和连字符组成 name,调用 `craft_game_info({"engine":"js"})`(3D 使用 `js3d`)读取对应指南。
|
|
15
|
+
3. 调用 `craft_game_prepare({"name":"项目名","engine":"js","mode":"create","request_key":"create-unique-key"})` 并轮询返回的任务至完成。核对 project、engine、context_binding 和 project_context,将 project 作为当前工作目录。读取返回的 `context.workflow`、`context.engine.entrypoint` 和 `context.engine.skills_index`,按索引 description 选择技能,并相对于 context.engine.directory 读取 entrypoint 与相关引用;上下文已放入项目。保存 work_id 和 context_revision,制作工具传入该 work_id;重试准备复用 request_key,不新建重复任务。
|
|
16
|
+
4. 遵循当前引擎指南和用户需求完成游戏,将设计与实际开发进度保存在项目 SPEC 文件中,更新 `SPEC/PROGRESS.md`。通过 `craft_game_check`、`craft_game_review` 验收,再按 `craft_game_deliver` 返回命令启动并确认预览。
|
|
17
|
+
|
|
18
|
+
完成或暂停制作时,等待后台任务结束,记录进度并调用 `craft_game_release(name,work_id)`;无需关闭 MCP。新一轮制作使用新的 request_key,已结束的请求不可复活。
|
|
19
|
+
|
|
20
|
+
MCP 未连接时,先在当前宿主连接 Craft 服务。新会话从项目 `.comate/AGENTS.md` 和 `craft-project` Skill 恢复,资源路径重新通过工具查询。
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": 1,
|
|
3
|
+
"config": "context-filters.json",
|
|
4
|
+
"config_sha256": "011ff0085f7c938e65f5cf182c042c2e9b93613b3497210bf24b132400c50b29",
|
|
5
|
+
"exclude": [
|
|
6
|
+
"contexts/*/js/skills/aigc-generate/**",
|
|
7
|
+
"contexts/*/js/skills/asset-search/**",
|
|
8
|
+
"contexts/*/js3d/skills/aigc-integration/**",
|
|
9
|
+
"contexts/*/js3d/skills/asset-search/**"
|
|
10
|
+
],
|
|
11
|
+
"validation": {
|
|
12
|
+
"scope": "all",
|
|
13
|
+
"deferred_patterns": []
|
|
14
|
+
},
|
|
15
|
+
"targets": {
|
|
16
|
+
"comate/js3d": {
|
|
17
|
+
"excluded_skills": [
|
|
18
|
+
"aigc-integration",
|
|
19
|
+
"asset-search"
|
|
20
|
+
],
|
|
21
|
+
"excluded_files": [
|
|
22
|
+
"skills/aigc-integration/SKILL.md",
|
|
23
|
+
"skills/asset-search/SKILL.md"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|