@craft_eco/craft-mcp 0.1.28 → 0.1.29

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.
Files changed (980) hide show
  1. package/README.md +23 -17
  2. package/bin/craft-mcp.mjs +4 -1
  3. package/dist-server/game-workflow/asset-import.mjs +5 -1
  4. package/dist-server/game-workflow/assets.mjs +6 -2
  5. package/dist-server/game-workflow/bundle-files.mjs +9 -6
  6. package/dist-server/game-workflow/check.mjs +5 -0
  7. package/dist-server/game-workflow/context-state.mjs +67 -0
  8. package/dist-server/game-workflow/draft-uploads.mjs +3 -0
  9. package/dist-server/game-workflow/engines.mjs +3 -3
  10. package/dist-server/game-workflow/library-assets.mjs +2 -1
  11. package/dist-server/game-workflow/local-context.mjs +62 -0
  12. package/dist-server/game-workflow/native-context.mjs +289 -0
  13. package/dist-server/game-workflow/project-bundles.mjs +246 -129
  14. package/dist-server/game-workflow/project-context.mjs +183 -45
  15. package/dist-server/game-workflow/project-leases.mjs +101 -30
  16. package/dist-server/game-workflow/projects.mjs +86 -10
  17. package/dist-server/game-workflow/publications.mjs +5 -1
  18. package/dist-server/game-workflow/tasks.mjs +6 -1
  19. package/dist-server/game-workflow/work-scope.mjs +7 -0
  20. package/dist-server/integrations/config.mjs +145 -71
  21. package/dist-server/integrations/connection-handoff.mjs +42 -0
  22. package/dist-server/integrations/dsh-config.mjs +182 -0
  23. package/dist-server/integrations/files.mjs +54 -54
  24. package/dist-server/integrations/hosts.mjs +55 -35
  25. package/dist-server/integrations/install.mjs +205 -86
  26. package/dist-server/integrations/installation-state.mjs +84 -0
  27. package/dist-server/integrations/runtime-gc.mjs +188 -0
  28. package/dist-server/integrations/runtime.mjs +126 -72
  29. package/dist-server/integrations/updates.mjs +225 -0
  30. package/dist-server/integrations/version-policy.mjs +32 -0
  31. package/dist-server/mcp/control-panel.mjs +5 -2
  32. package/dist-server/mcp/publish-panel.mjs +7 -2
  33. package/dist-server/mcp/server.mjs +134 -26
  34. package/dist-server/mcp/start.mjs +8 -2
  35. package/dist-server/mcp/update-session.mjs +92 -0
  36. package/package.json +2 -2
  37. package/resources/context-filter-report.json +177 -0
  38. package/resources/craft-create/SKILL.md +19 -11
  39. package/resources/craft-update/SKILL.md +25 -0
  40. package/resources/targets/claude/js/bootstrap/SKILL.md +18 -0
  41. package/resources/targets/claude/js/context-filter-report.json +27 -0
  42. package/resources/targets/claude/js/craft-game-maker/SKILL.md +76 -0
  43. package/resources/targets/claude/js/craft-game-maker/js.md +10 -0
  44. package/resources/targets/claude/js/js/bundle.json +97 -0
  45. package/resources/targets/claude/js/js/context/AGENTS.md +29 -0
  46. package/resources/targets/claude/js/js/context/hooks/hooks.json +14 -0
  47. package/resources/targets/claude/js/js/context/knowledge/AssetUrl.md +9 -0
  48. package/resources/targets/claude/js/js/context/knowledge/AssetWiring.md +7 -0
  49. package/resources/targets/claude/js/js/context/knowledge/Layout.md +7 -0
  50. package/resources/targets/claude/js/js/context/knowledge/Lifecycle.md +11 -0
  51. package/resources/targets/claude/js/js/context/knowledge/ResourceLoading.md +9 -0
  52. package/resources/targets/claude/js/js/context/skills/export-config/SKILL.md +16 -0
  53. package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  54. package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  55. package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  56. package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  57. package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  58. package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  59. package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  60. package/resources/targets/claude/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  61. package/resources/targets/claude/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  62. package/resources/targets/claude/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  63. package/resources/targets/claude/js/js/context/skills/index.json +19 -0
  64. package/resources/targets/claude/js/js/context/skills/visual-qa/SKILL.md +14 -0
  65. package/resources/targets/claude/js/js/project/README.md +7 -0
  66. package/resources/targets/claude/js/js/project/configs/assets.json +1 -0
  67. package/resources/targets/claude/js/js/project/configs/game.controls.json +3 -0
  68. package/resources/targets/claude/js/js/project/configs/game.json +3 -0
  69. package/resources/targets/claude/js/js/project/game-runtime.json +7 -0
  70. package/resources/targets/claude/js/js/project/game.config.json +7 -0
  71. package/resources/targets/claude/js/js/project/index.html +20 -0
  72. package/resources/targets/claude/js/js/project/package.json +22 -0
  73. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  74. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  75. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  76. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  77. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  78. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  79. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  80. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  81. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  82. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  83. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  84. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  85. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  86. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  87. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  88. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  89. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  90. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  91. package/resources/targets/claude/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  92. package/resources/targets/claude/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  93. package/resources/targets/claude/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  94. package/resources/targets/claude/js/js/project/scripts/config-export.mjs +13 -0
  95. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  96. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  97. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  98. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  99. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  100. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  101. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  102. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  103. package/resources/targets/claude/js/js/project/scripts/write-preview-ready.mjs +22 -0
  104. package/resources/targets/claude/js/js/project/src/display/ui-stage.ts +156 -0
  105. package/resources/targets/claude/js/js/project/src/display/viewport.ts +249 -0
  106. package/resources/targets/claude/js/js/project/src/main.ts +87 -0
  107. package/resources/targets/claude/js/js/project/src/platform.ts +2 -0
  108. package/resources/targets/claude/js/js/project/src/scenes/LoadScene.ts +89 -0
  109. package/resources/targets/claude/js/js/project/src/scenes/PlayScene.ts +17 -0
  110. package/resources/targets/claude/js/js/project/src/screenUi.ts +185 -0
  111. package/resources/targets/claude/js/js/project/src/style.css +294 -0
  112. package/resources/targets/claude/js/js/project/tsconfig.json +20 -0
  113. package/resources/targets/claude/js/js/project/unified_data_control_config.json +20 -0
  114. package/resources/targets/claude/js/js/project/vite.config.ts +5 -0
  115. package/resources/targets/claude/js/recovery.md +13 -0
  116. package/resources/targets/claude/js/target.json +61 -0
  117. package/resources/targets/claude/js3d/bootstrap/SKILL.md +18 -0
  118. package/resources/targets/claude/js3d/context-filter-report.json +27 -0
  119. package/resources/targets/claude/js3d/craft-game-maker/SKILL.md +76 -0
  120. package/resources/targets/claude/js3d/craft-game-maker/js3d.md +12 -0
  121. package/resources/targets/claude/js3d/js3d/bundle.json +108 -0
  122. package/resources/targets/claude/js3d/js3d/context/AGENTS.md +30 -0
  123. package/resources/targets/claude/js3d/js3d/context/hooks/hooks.json +14 -0
  124. package/resources/targets/claude/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  125. package/resources/targets/claude/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  126. package/resources/targets/claude/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  127. package/resources/targets/claude/js3d/js3d/context/knowledge/Layout.md +7 -0
  128. package/resources/targets/{workbuddy/js3d/js3d/context/skills/asset-search/references/resource-config.md → claude/js3d/js3d/context/knowledge/ResourceLoading.md} +2 -2
  129. package/resources/targets/claude/js3d/js3d/context/knowledge/Runtime.md +9 -0
  130. package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  131. package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  132. package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  133. package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  134. package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  135. package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  136. package/resources/targets/claude/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  137. package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  138. package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  139. package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  140. package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  141. package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  142. package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  143. package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  144. package/resources/targets/claude/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  145. package/resources/targets/claude/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  146. package/resources/targets/claude/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  147. package/resources/targets/claude/js3d/js3d/context/skills/index.json +31 -0
  148. package/resources/targets/claude/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  149. package/resources/targets/claude/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  150. package/resources/targets/claude/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  151. package/resources/targets/claude/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  152. package/resources/targets/claude/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  153. package/resources/targets/claude/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  154. package/resources/targets/claude/js3d/js3d/project/README.md +7 -0
  155. package/resources/targets/claude/js3d/js3d/project/configs/game.controls.json +3 -0
  156. package/resources/targets/claude/js3d/js3d/project/configs/game.json +3 -0
  157. package/resources/targets/claude/js3d/js3d/project/game-runtime.json +7 -0
  158. package/resources/targets/claude/js3d/js3d/project/game.config.json +7 -0
  159. package/resources/targets/claude/js3d/js3d/project/index.html +12 -0
  160. package/resources/targets/claude/js3d/js3d/project/package.json +23 -0
  161. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  162. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  163. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  164. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  165. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  166. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  167. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  168. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  169. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  170. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  171. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  172. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  173. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  174. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  175. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  176. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  177. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  178. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  179. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  180. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  181. package/resources/targets/claude/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  182. package/resources/targets/claude/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  183. package/resources/targets/claude/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  184. package/resources/targets/claude/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  185. package/resources/targets/claude/js3d/js3d/project/scripts/config-export.mjs +15 -0
  186. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  187. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  188. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  189. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  190. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  191. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  192. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  193. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  194. package/resources/targets/claude/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  195. package/resources/targets/claude/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  196. package/resources/targets/claude/js3d/js3d/project/src/display/viewport.ts +239 -0
  197. package/resources/targets/claude/js3d/js3d/project/src/main.ts +85 -0
  198. package/resources/targets/claude/js3d/js3d/project/src/platform.ts +2 -0
  199. package/resources/targets/claude/js3d/js3d/project/src/style.css +83 -0
  200. package/resources/targets/claude/js3d/js3d/project/tsconfig.json +20 -0
  201. package/resources/targets/claude/js3d/js3d/project/unified_data_control_config.json +20 -0
  202. package/resources/targets/claude/js3d/js3d/project/vite.config.ts +5 -0
  203. package/resources/targets/claude/js3d/recovery.md +13 -0
  204. package/resources/targets/claude/js3d/target.json +60 -0
  205. package/resources/targets/codebuddy/js/bootstrap/SKILL.md +5 -1
  206. package/resources/targets/codebuddy/js/context-filter-report.json +27 -0
  207. package/resources/targets/codebuddy/js/craft-game-maker/SKILL.md +18 -19
  208. package/resources/targets/codebuddy/js/craft-game-maker/js.md +2 -2
  209. package/resources/targets/codebuddy/js/js/bundle.json +16 -18
  210. package/resources/targets/codebuddy/js/js/context/AGENTS.md +10 -6
  211. package/resources/targets/codebuddy/js/js/context/knowledge/AssetUrl.md +4 -4
  212. package/resources/targets/codebuddy/js/js/context/knowledge/AssetWiring.md +7 -0
  213. package/resources/targets/codebuddy/js/js/context/knowledge/ResourceLoading.md +9 -0
  214. package/resources/targets/codebuddy/js/js/context/skills/export-config/SKILL.md +2 -2
  215. package/resources/targets/codebuddy/js/js/context/skills/index.json +2 -14
  216. package/resources/targets/codebuddy/js/js/context/skills/visual-qa/SKILL.md +1 -1
  217. package/resources/targets/codebuddy/js/recovery.md +10 -4
  218. package/resources/targets/codebuddy/js/target.json +1 -1
  219. package/resources/targets/codebuddy/js3d/bootstrap/SKILL.md +5 -1
  220. package/resources/targets/codebuddy/js3d/context-filter-report.json +27 -0
  221. package/resources/targets/codebuddy/js3d/craft-game-maker/SKILL.md +18 -19
  222. package/resources/targets/codebuddy/js3d/craft-game-maker/js3d.md +3 -4
  223. package/resources/targets/codebuddy/js3d/js3d/bundle.json +19 -21
  224. package/resources/targets/codebuddy/js3d/js3d/context/AGENTS.md +10 -6
  225. package/resources/targets/codebuddy/js3d/js3d/context/knowledge/AssetUrl.md +4 -4
  226. package/resources/targets/codebuddy/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  227. package/resources/targets/{codex/js3d/js3d/context/skills/asset-search/references/resource-config.md → codebuddy/js3d/js3d/context/knowledge/ResourceLoading.md} +2 -2
  228. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +1 -1
  229. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +2 -2
  230. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/SKILL.md +2 -2
  231. package/resources/targets/codebuddy/js3d/js3d/context/skills/index.json +4 -16
  232. package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/SKILL.md +1 -1
  233. package/resources/targets/codebuddy/js3d/js3d/context/skills/visual-qa/SKILL.md +1 -1
  234. package/resources/targets/codebuddy/js3d/recovery.md +10 -4
  235. package/resources/targets/codebuddy/js3d/target.json +1 -1
  236. package/resources/targets/codex/js/bootstrap/SKILL.md +9 -1
  237. package/resources/targets/codex/js/context-filter-report.json +27 -0
  238. package/resources/targets/codex/js/craft-game-maker/SKILL.md +18 -19
  239. package/resources/targets/codex/js/craft-game-maker/js.md +2 -2
  240. package/resources/targets/codex/js/js/bundle.json +16 -18
  241. package/resources/targets/codex/js/js/context/AGENTS.md +10 -6
  242. package/resources/targets/codex/js/js/context/knowledge/AssetUrl.md +4 -4
  243. package/resources/targets/codex/js/js/context/knowledge/AssetWiring.md +7 -0
  244. package/resources/targets/codex/js/js/context/knowledge/ResourceLoading.md +9 -0
  245. package/resources/targets/codex/js/js/context/skills/export-config/SKILL.md +2 -2
  246. package/resources/targets/codex/js/js/context/skills/index.json +2 -14
  247. package/resources/targets/codex/js/js/context/skills/visual-qa/SKILL.md +1 -1
  248. package/resources/targets/codex/js/recovery.md +14 -4
  249. package/resources/targets/codex/js/target.json +1 -1
  250. package/resources/targets/codex/js3d/bootstrap/SKILL.md +9 -1
  251. package/resources/targets/codex/js3d/context-filter-report.json +27 -0
  252. package/resources/targets/codex/js3d/craft-game-maker/SKILL.md +18 -19
  253. package/resources/targets/codex/js3d/craft-game-maker/js3d.md +3 -4
  254. package/resources/targets/codex/js3d/js3d/bundle.json +19 -21
  255. package/resources/targets/codex/js3d/js3d/context/AGENTS.md +10 -6
  256. package/resources/targets/codex/js3d/js3d/context/knowledge/AssetUrl.md +4 -4
  257. package/resources/targets/codex/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  258. package/resources/targets/{codebuddy/js3d/js3d/context/skills/asset-search/references/resource-config.md → codex/js3d/js3d/context/knowledge/ResourceLoading.md} +2 -2
  259. package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +1 -1
  260. package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +2 -2
  261. package/resources/targets/codex/js3d/js3d/context/skills/export-config/SKILL.md +2 -2
  262. package/resources/targets/codex/js3d/js3d/context/skills/index.json +4 -16
  263. package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/SKILL.md +1 -1
  264. package/resources/targets/codex/js3d/js3d/context/skills/visual-qa/SKILL.md +1 -1
  265. package/resources/targets/codex/js3d/recovery.md +14 -4
  266. package/resources/targets/codex/js3d/target.json +1 -1
  267. package/resources/targets/cursor/js/bootstrap/SKILL.md +18 -0
  268. package/resources/targets/cursor/js/context-filter-report.json +27 -0
  269. package/resources/targets/cursor/js/craft-game-maker/SKILL.md +76 -0
  270. package/resources/targets/cursor/js/craft-game-maker/js.md +10 -0
  271. package/resources/targets/cursor/js/js/bundle.json +97 -0
  272. package/resources/targets/cursor/js/js/context/AGENTS.md +29 -0
  273. package/resources/targets/cursor/js/js/context/hooks/hooks.json +14 -0
  274. package/resources/targets/cursor/js/js/context/knowledge/AssetUrl.md +9 -0
  275. package/resources/targets/cursor/js/js/context/knowledge/AssetWiring.md +7 -0
  276. package/resources/targets/cursor/js/js/context/knowledge/Layout.md +7 -0
  277. package/resources/targets/cursor/js/js/context/knowledge/Lifecycle.md +11 -0
  278. package/resources/targets/cursor/js/js/context/knowledge/ResourceLoading.md +9 -0
  279. package/resources/targets/cursor/js/js/context/skills/export-config/SKILL.md +16 -0
  280. package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  281. package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  282. package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  283. package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  284. package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  285. package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  286. package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  287. package/resources/targets/cursor/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  288. package/resources/targets/cursor/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  289. package/resources/targets/cursor/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  290. package/resources/targets/cursor/js/js/context/skills/index.json +19 -0
  291. package/resources/targets/cursor/js/js/context/skills/visual-qa/SKILL.md +14 -0
  292. package/resources/targets/cursor/js/js/project/README.md +7 -0
  293. package/resources/targets/cursor/js/js/project/configs/assets.json +1 -0
  294. package/resources/targets/cursor/js/js/project/configs/game.controls.json +3 -0
  295. package/resources/targets/cursor/js/js/project/configs/game.json +3 -0
  296. package/resources/targets/cursor/js/js/project/game-runtime.json +7 -0
  297. package/resources/targets/cursor/js/js/project/game.config.json +7 -0
  298. package/resources/targets/cursor/js/js/project/index.html +20 -0
  299. package/resources/targets/cursor/js/js/project/package.json +22 -0
  300. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  301. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  302. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  303. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  304. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  305. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  306. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  307. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  308. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  309. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  310. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  311. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  312. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  313. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  314. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  315. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  316. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  317. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  318. package/resources/targets/cursor/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  319. package/resources/targets/cursor/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  320. package/resources/targets/cursor/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  321. package/resources/targets/cursor/js/js/project/scripts/config-export.mjs +13 -0
  322. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  323. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  324. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  325. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  326. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  327. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  328. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  329. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  330. package/resources/targets/cursor/js/js/project/scripts/write-preview-ready.mjs +22 -0
  331. package/resources/targets/cursor/js/js/project/src/display/ui-stage.ts +156 -0
  332. package/resources/targets/cursor/js/js/project/src/display/viewport.ts +249 -0
  333. package/resources/targets/cursor/js/js/project/src/main.ts +87 -0
  334. package/resources/targets/cursor/js/js/project/src/platform.ts +2 -0
  335. package/resources/targets/cursor/js/js/project/src/scenes/LoadScene.ts +89 -0
  336. package/resources/targets/cursor/js/js/project/src/scenes/PlayScene.ts +17 -0
  337. package/resources/targets/cursor/js/js/project/src/screenUi.ts +185 -0
  338. package/resources/targets/cursor/js/js/project/src/style.css +294 -0
  339. package/resources/targets/cursor/js/js/project/tsconfig.json +20 -0
  340. package/resources/targets/cursor/js/js/project/unified_data_control_config.json +20 -0
  341. package/resources/targets/cursor/js/js/project/vite.config.ts +5 -0
  342. package/resources/targets/cursor/js/recovery.md +13 -0
  343. package/resources/targets/cursor/js/target.json +61 -0
  344. package/resources/targets/cursor/js3d/bootstrap/SKILL.md +18 -0
  345. package/resources/targets/cursor/js3d/context-filter-report.json +27 -0
  346. package/resources/targets/cursor/js3d/craft-game-maker/SKILL.md +76 -0
  347. package/resources/targets/cursor/js3d/craft-game-maker/js3d.md +12 -0
  348. package/resources/targets/cursor/js3d/js3d/bundle.json +108 -0
  349. package/resources/targets/cursor/js3d/js3d/context/AGENTS.md +30 -0
  350. package/resources/targets/cursor/js3d/js3d/context/hooks/hooks.json +14 -0
  351. package/resources/targets/cursor/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  352. package/resources/targets/cursor/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  353. package/resources/targets/cursor/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  354. package/resources/targets/cursor/js3d/js3d/context/knowledge/Layout.md +7 -0
  355. package/resources/targets/cursor/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
  356. package/resources/targets/cursor/js3d/js3d/context/knowledge/Runtime.md +9 -0
  357. package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  358. package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  359. package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  360. package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  361. package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  362. package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  363. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  364. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  365. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  366. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  367. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  368. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  369. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  370. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  371. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  372. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  373. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  374. package/resources/targets/cursor/js3d/js3d/context/skills/index.json +31 -0
  375. package/resources/targets/cursor/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  376. package/resources/targets/cursor/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  377. package/resources/targets/cursor/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  378. package/resources/targets/cursor/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  379. package/resources/targets/cursor/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  380. package/resources/targets/cursor/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  381. package/resources/targets/cursor/js3d/js3d/project/README.md +7 -0
  382. package/resources/targets/cursor/js3d/js3d/project/configs/game.controls.json +3 -0
  383. package/resources/targets/cursor/js3d/js3d/project/configs/game.json +3 -0
  384. package/resources/targets/cursor/js3d/js3d/project/game-runtime.json +7 -0
  385. package/resources/targets/cursor/js3d/js3d/project/game.config.json +7 -0
  386. package/resources/targets/cursor/js3d/js3d/project/index.html +12 -0
  387. package/resources/targets/cursor/js3d/js3d/project/package.json +23 -0
  388. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  389. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  390. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  391. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  392. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  393. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  394. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  395. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  396. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  397. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  398. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  399. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  400. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  401. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  402. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  403. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  404. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  405. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  406. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  407. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  408. package/resources/targets/cursor/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  409. package/resources/targets/cursor/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  410. package/resources/targets/cursor/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  411. package/resources/targets/cursor/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  412. package/resources/targets/cursor/js3d/js3d/project/scripts/config-export.mjs +15 -0
  413. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  414. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  415. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  416. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  417. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  418. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  419. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  420. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  421. package/resources/targets/cursor/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  422. package/resources/targets/cursor/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  423. package/resources/targets/cursor/js3d/js3d/project/src/display/viewport.ts +239 -0
  424. package/resources/targets/cursor/js3d/js3d/project/src/main.ts +85 -0
  425. package/resources/targets/cursor/js3d/js3d/project/src/platform.ts +2 -0
  426. package/resources/targets/cursor/js3d/js3d/project/src/style.css +83 -0
  427. package/resources/targets/cursor/js3d/js3d/project/tsconfig.json +20 -0
  428. package/resources/targets/cursor/js3d/js3d/project/unified_data_control_config.json +20 -0
  429. package/resources/targets/cursor/js3d/js3d/project/vite.config.ts +5 -0
  430. package/resources/targets/cursor/js3d/recovery.md +13 -0
  431. package/resources/targets/cursor/js3d/target.json +60 -0
  432. package/resources/targets/dsh/js/bootstrap/SKILL.md +18 -0
  433. package/resources/targets/dsh/js/context-filter-report.json +27 -0
  434. package/resources/targets/dsh/js/craft-game-maker/SKILL.md +76 -0
  435. package/resources/targets/dsh/js/craft-game-maker/js.md +10 -0
  436. package/resources/targets/dsh/js/js/bundle.json +97 -0
  437. package/resources/targets/dsh/js/js/context/AGENTS.md +29 -0
  438. package/resources/targets/dsh/js/js/context/hooks/hooks.json +14 -0
  439. package/resources/targets/dsh/js/js/context/knowledge/AssetUrl.md +9 -0
  440. package/resources/targets/dsh/js/js/context/knowledge/AssetWiring.md +7 -0
  441. package/resources/targets/dsh/js/js/context/knowledge/Layout.md +7 -0
  442. package/resources/targets/dsh/js/js/context/knowledge/Lifecycle.md +11 -0
  443. package/resources/targets/dsh/js/js/context/knowledge/ResourceLoading.md +9 -0
  444. package/resources/targets/dsh/js/js/context/skills/export-config/SKILL.md +16 -0
  445. package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  446. package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  447. package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  448. package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  449. package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  450. package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  451. package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  452. package/resources/targets/dsh/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  453. package/resources/targets/dsh/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  454. package/resources/targets/dsh/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  455. package/resources/targets/dsh/js/js/context/skills/index.json +19 -0
  456. package/resources/targets/dsh/js/js/context/skills/visual-qa/SKILL.md +14 -0
  457. package/resources/targets/dsh/js/js/project/README.md +7 -0
  458. package/resources/targets/dsh/js/js/project/configs/assets.json +1 -0
  459. package/resources/targets/dsh/js/js/project/configs/game.controls.json +3 -0
  460. package/resources/targets/dsh/js/js/project/configs/game.json +3 -0
  461. package/resources/targets/dsh/js/js/project/game-runtime.json +7 -0
  462. package/resources/targets/dsh/js/js/project/game.config.json +7 -0
  463. package/resources/targets/dsh/js/js/project/index.html +20 -0
  464. package/resources/targets/dsh/js/js/project/package.json +22 -0
  465. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  466. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  467. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  468. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  469. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  470. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  471. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  472. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  473. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  474. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  475. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  476. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  477. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  478. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  479. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  480. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  481. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  482. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  483. package/resources/targets/dsh/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  484. package/resources/targets/dsh/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  485. package/resources/targets/dsh/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  486. package/resources/targets/dsh/js/js/project/scripts/config-export.mjs +13 -0
  487. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  488. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  489. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  490. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  491. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  492. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  493. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  494. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  495. package/resources/targets/dsh/js/js/project/scripts/write-preview-ready.mjs +22 -0
  496. package/resources/targets/dsh/js/js/project/src/display/ui-stage.ts +156 -0
  497. package/resources/targets/dsh/js/js/project/src/display/viewport.ts +249 -0
  498. package/resources/targets/dsh/js/js/project/src/main.ts +87 -0
  499. package/resources/targets/dsh/js/js/project/src/platform.ts +2 -0
  500. package/resources/targets/dsh/js/js/project/src/scenes/LoadScene.ts +89 -0
  501. package/resources/targets/dsh/js/js/project/src/scenes/PlayScene.ts +17 -0
  502. package/resources/targets/dsh/js/js/project/src/screenUi.ts +185 -0
  503. package/resources/targets/dsh/js/js/project/src/style.css +294 -0
  504. package/resources/targets/dsh/js/js/project/tsconfig.json +20 -0
  505. package/resources/targets/dsh/js/js/project/unified_data_control_config.json +20 -0
  506. package/resources/targets/dsh/js/js/project/vite.config.ts +5 -0
  507. package/resources/targets/dsh/js/recovery.md +13 -0
  508. package/resources/targets/dsh/js/target.json +61 -0
  509. package/resources/targets/dsh/js3d/bootstrap/SKILL.md +18 -0
  510. package/resources/targets/dsh/js3d/context-filter-report.json +27 -0
  511. package/resources/targets/dsh/js3d/craft-game-maker/SKILL.md +76 -0
  512. package/resources/targets/dsh/js3d/craft-game-maker/js3d.md +12 -0
  513. package/resources/targets/dsh/js3d/js3d/bundle.json +108 -0
  514. package/resources/targets/dsh/js3d/js3d/context/AGENTS.md +30 -0
  515. package/resources/targets/dsh/js3d/js3d/context/hooks/hooks.json +14 -0
  516. package/resources/targets/dsh/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  517. package/resources/targets/dsh/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  518. package/resources/targets/dsh/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  519. package/resources/targets/dsh/js3d/js3d/context/knowledge/Layout.md +7 -0
  520. package/resources/targets/dsh/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
  521. package/resources/targets/dsh/js3d/js3d/context/knowledge/Runtime.md +9 -0
  522. package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  523. package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  524. package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  525. package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  526. package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  527. package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  528. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  529. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  530. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  531. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  532. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  533. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  534. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  535. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  536. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  537. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  538. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  539. package/resources/targets/dsh/js3d/js3d/context/skills/index.json +31 -0
  540. package/resources/targets/dsh/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  541. package/resources/targets/dsh/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  542. package/resources/targets/dsh/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  543. package/resources/targets/dsh/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  544. package/resources/targets/dsh/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  545. package/resources/targets/dsh/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  546. package/resources/targets/dsh/js3d/js3d/project/README.md +7 -0
  547. package/resources/targets/dsh/js3d/js3d/project/configs/game.controls.json +3 -0
  548. package/resources/targets/dsh/js3d/js3d/project/configs/game.json +3 -0
  549. package/resources/targets/dsh/js3d/js3d/project/game-runtime.json +7 -0
  550. package/resources/targets/dsh/js3d/js3d/project/game.config.json +7 -0
  551. package/resources/targets/dsh/js3d/js3d/project/index.html +12 -0
  552. package/resources/targets/dsh/js3d/js3d/project/package.json +23 -0
  553. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  554. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  555. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  556. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  557. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  558. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  559. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  560. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  561. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  562. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  563. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  564. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  565. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  566. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  567. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  568. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  569. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  570. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  571. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  572. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  573. package/resources/targets/dsh/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  574. package/resources/targets/dsh/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  575. package/resources/targets/dsh/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  576. package/resources/targets/dsh/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  577. package/resources/targets/dsh/js3d/js3d/project/scripts/config-export.mjs +15 -0
  578. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  579. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  580. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  581. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  582. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  583. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  584. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  585. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  586. package/resources/targets/dsh/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  587. package/resources/targets/dsh/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  588. package/resources/targets/dsh/js3d/js3d/project/src/display/viewport.ts +239 -0
  589. package/resources/targets/dsh/js3d/js3d/project/src/main.ts +85 -0
  590. package/resources/targets/dsh/js3d/js3d/project/src/platform.ts +2 -0
  591. package/resources/targets/dsh/js3d/js3d/project/src/style.css +83 -0
  592. package/resources/targets/dsh/js3d/js3d/project/tsconfig.json +20 -0
  593. package/resources/targets/dsh/js3d/js3d/project/unified_data_control_config.json +20 -0
  594. package/resources/targets/dsh/js3d/js3d/project/vite.config.ts +5 -0
  595. package/resources/targets/dsh/js3d/recovery.md +13 -0
  596. package/resources/targets/dsh/js3d/target.json +60 -0
  597. package/resources/targets/index.json +72 -12
  598. package/resources/targets/kimi/js/bootstrap/SKILL.md +18 -0
  599. package/resources/targets/kimi/js/context-filter-report.json +27 -0
  600. package/resources/targets/kimi/js/craft-game-maker/SKILL.md +76 -0
  601. package/resources/targets/kimi/js/craft-game-maker/js.md +10 -0
  602. package/resources/targets/kimi/js/js/bundle.json +97 -0
  603. package/resources/targets/kimi/js/js/context/AGENTS.md +29 -0
  604. package/resources/targets/kimi/js/js/context/hooks/hooks.json +14 -0
  605. package/resources/targets/kimi/js/js/context/knowledge/AssetUrl.md +9 -0
  606. package/resources/targets/kimi/js/js/context/knowledge/AssetWiring.md +7 -0
  607. package/resources/targets/kimi/js/js/context/knowledge/Layout.md +7 -0
  608. package/resources/targets/kimi/js/js/context/knowledge/Lifecycle.md +11 -0
  609. package/resources/targets/kimi/js/js/context/knowledge/ResourceLoading.md +9 -0
  610. package/resources/targets/kimi/js/js/context/skills/export-config/SKILL.md +16 -0
  611. package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  612. package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  613. package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  614. package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  615. package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  616. package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  617. package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  618. package/resources/targets/kimi/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  619. package/resources/targets/kimi/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  620. package/resources/targets/kimi/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  621. package/resources/targets/kimi/js/js/context/skills/index.json +19 -0
  622. package/resources/targets/kimi/js/js/context/skills/visual-qa/SKILL.md +14 -0
  623. package/resources/targets/kimi/js/js/project/README.md +7 -0
  624. package/resources/targets/kimi/js/js/project/configs/assets.json +1 -0
  625. package/resources/targets/kimi/js/js/project/configs/game.controls.json +3 -0
  626. package/resources/targets/kimi/js/js/project/configs/game.json +3 -0
  627. package/resources/targets/kimi/js/js/project/game-runtime.json +7 -0
  628. package/resources/targets/kimi/js/js/project/game.config.json +7 -0
  629. package/resources/targets/kimi/js/js/project/index.html +20 -0
  630. package/resources/targets/kimi/js/js/project/package.json +22 -0
  631. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  632. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  633. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  634. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  635. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  636. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  637. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  638. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  639. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  640. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  641. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  642. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  643. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  644. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  645. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  646. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  647. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  648. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  649. package/resources/targets/kimi/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  650. package/resources/targets/kimi/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  651. package/resources/targets/kimi/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  652. package/resources/targets/kimi/js/js/project/scripts/config-export.mjs +13 -0
  653. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  654. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  655. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  656. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  657. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  658. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  659. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  660. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  661. package/resources/targets/kimi/js/js/project/scripts/write-preview-ready.mjs +22 -0
  662. package/resources/targets/kimi/js/js/project/src/display/ui-stage.ts +156 -0
  663. package/resources/targets/kimi/js/js/project/src/display/viewport.ts +249 -0
  664. package/resources/targets/kimi/js/js/project/src/main.ts +87 -0
  665. package/resources/targets/kimi/js/js/project/src/platform.ts +2 -0
  666. package/resources/targets/kimi/js/js/project/src/scenes/LoadScene.ts +89 -0
  667. package/resources/targets/kimi/js/js/project/src/scenes/PlayScene.ts +17 -0
  668. package/resources/targets/kimi/js/js/project/src/screenUi.ts +185 -0
  669. package/resources/targets/kimi/js/js/project/src/style.css +294 -0
  670. package/resources/targets/kimi/js/js/project/tsconfig.json +20 -0
  671. package/resources/targets/kimi/js/js/project/unified_data_control_config.json +20 -0
  672. package/resources/targets/kimi/js/js/project/vite.config.ts +5 -0
  673. package/resources/targets/kimi/js/recovery.md +13 -0
  674. package/resources/targets/kimi/js/target.json +61 -0
  675. package/resources/targets/kimi/js3d/bootstrap/SKILL.md +18 -0
  676. package/resources/targets/kimi/js3d/context-filter-report.json +27 -0
  677. package/resources/targets/kimi/js3d/craft-game-maker/SKILL.md +76 -0
  678. package/resources/targets/kimi/js3d/craft-game-maker/js3d.md +12 -0
  679. package/resources/targets/kimi/js3d/js3d/bundle.json +108 -0
  680. package/resources/targets/kimi/js3d/js3d/context/AGENTS.md +30 -0
  681. package/resources/targets/kimi/js3d/js3d/context/hooks/hooks.json +14 -0
  682. package/resources/targets/kimi/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  683. package/resources/targets/kimi/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  684. package/resources/targets/kimi/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  685. package/resources/targets/kimi/js3d/js3d/context/knowledge/Layout.md +7 -0
  686. package/resources/targets/kimi/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
  687. package/resources/targets/kimi/js3d/js3d/context/knowledge/Runtime.md +9 -0
  688. package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  689. package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  690. package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  691. package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  692. package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  693. package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  694. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  695. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  696. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  697. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  698. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  699. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  700. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  701. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  702. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  703. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  704. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  705. package/resources/targets/kimi/js3d/js3d/context/skills/index.json +31 -0
  706. package/resources/targets/kimi/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  707. package/resources/targets/kimi/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  708. package/resources/targets/kimi/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  709. package/resources/targets/kimi/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  710. package/resources/targets/kimi/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  711. package/resources/targets/kimi/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  712. package/resources/targets/kimi/js3d/js3d/project/README.md +7 -0
  713. package/resources/targets/kimi/js3d/js3d/project/configs/game.controls.json +3 -0
  714. package/resources/targets/kimi/js3d/js3d/project/configs/game.json +3 -0
  715. package/resources/targets/kimi/js3d/js3d/project/game-runtime.json +7 -0
  716. package/resources/targets/kimi/js3d/js3d/project/game.config.json +7 -0
  717. package/resources/targets/kimi/js3d/js3d/project/index.html +12 -0
  718. package/resources/targets/kimi/js3d/js3d/project/package.json +23 -0
  719. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  720. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  721. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  722. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  723. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  724. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  725. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  726. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  727. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  728. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  729. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  730. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  731. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  732. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  733. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  734. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  735. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  736. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  737. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  738. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  739. package/resources/targets/kimi/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  740. package/resources/targets/kimi/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  741. package/resources/targets/kimi/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  742. package/resources/targets/kimi/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  743. package/resources/targets/kimi/js3d/js3d/project/scripts/config-export.mjs +15 -0
  744. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  745. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  746. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  747. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  748. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  749. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  750. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  751. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  752. package/resources/targets/kimi/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  753. package/resources/targets/kimi/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  754. package/resources/targets/kimi/js3d/js3d/project/src/display/viewport.ts +239 -0
  755. package/resources/targets/kimi/js3d/js3d/project/src/main.ts +85 -0
  756. package/resources/targets/kimi/js3d/js3d/project/src/platform.ts +2 -0
  757. package/resources/targets/kimi/js3d/js3d/project/src/style.css +83 -0
  758. package/resources/targets/kimi/js3d/js3d/project/tsconfig.json +20 -0
  759. package/resources/targets/kimi/js3d/js3d/project/unified_data_control_config.json +20 -0
  760. package/resources/targets/kimi/js3d/js3d/project/vite.config.ts +5 -0
  761. package/resources/targets/kimi/js3d/recovery.md +13 -0
  762. package/resources/targets/kimi/js3d/target.json +60 -0
  763. package/resources/targets/workbuddy/js/bootstrap/SKILL.md +24 -14
  764. package/resources/targets/workbuddy/js/context-filter-report.json +27 -0
  765. package/resources/targets/workbuddy/js/craft-game-maker/SKILL.md +18 -19
  766. package/resources/targets/workbuddy/js/craft-game-maker/js.md +2 -2
  767. package/resources/targets/workbuddy/js/js/bundle.json +16 -18
  768. package/resources/targets/workbuddy/js/js/context/AGENTS.md +29 -25
  769. package/resources/targets/workbuddy/js/js/context/knowledge/AssetUrl.md +4 -4
  770. package/resources/targets/workbuddy/js/js/context/knowledge/AssetWiring.md +7 -0
  771. package/resources/targets/workbuddy/js/js/context/knowledge/ResourceLoading.md +9 -0
  772. package/resources/targets/workbuddy/js/js/context/skills/export-config/SKILL.md +2 -2
  773. package/resources/targets/workbuddy/js/js/context/skills/index.json +2 -14
  774. package/resources/targets/workbuddy/js/js/context/skills/visual-qa/SKILL.md +1 -1
  775. package/resources/targets/workbuddy/js/recovery.md +19 -7
  776. package/resources/targets/workbuddy/js/target.json +1 -1
  777. package/resources/targets/workbuddy/js3d/bootstrap/SKILL.md +24 -14
  778. package/resources/targets/workbuddy/js3d/context-filter-report.json +27 -0
  779. package/resources/targets/workbuddy/js3d/craft-game-maker/SKILL.md +18 -19
  780. package/resources/targets/workbuddy/js3d/craft-game-maker/js3d.md +3 -4
  781. package/resources/targets/workbuddy/js3d/js3d/bundle.json +19 -21
  782. package/resources/targets/workbuddy/js3d/js3d/context/AGENTS.md +30 -26
  783. package/resources/targets/workbuddy/js3d/js3d/context/knowledge/AssetUrl.md +4 -4
  784. package/resources/targets/workbuddy/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  785. package/resources/targets/workbuddy/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
  786. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +1 -1
  787. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +2 -2
  788. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/SKILL.md +2 -2
  789. package/resources/targets/workbuddy/js3d/js3d/context/skills/index.json +4 -16
  790. package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/SKILL.md +1 -1
  791. package/resources/targets/workbuddy/js3d/js3d/context/skills/visual-qa/SKILL.md +1 -1
  792. package/resources/targets/workbuddy/js3d/recovery.md +19 -7
  793. package/resources/targets/workbuddy/js3d/target.json +1 -1
  794. package/resources/targets/zcode/js/bootstrap/SKILL.md +18 -0
  795. package/resources/targets/zcode/js/context-filter-report.json +27 -0
  796. package/resources/targets/zcode/js/craft-game-maker/SKILL.md +76 -0
  797. package/resources/targets/zcode/js/craft-game-maker/js.md +10 -0
  798. package/resources/targets/zcode/js/js/bundle.json +97 -0
  799. package/resources/targets/zcode/js/js/context/AGENTS.md +29 -0
  800. package/resources/targets/zcode/js/js/context/hooks/hooks.json +14 -0
  801. package/resources/targets/zcode/js/js/context/knowledge/AssetUrl.md +9 -0
  802. package/resources/targets/zcode/js/js/context/knowledge/AssetWiring.md +7 -0
  803. package/resources/targets/zcode/js/js/context/knowledge/Layout.md +7 -0
  804. package/resources/targets/zcode/js/js/context/knowledge/Lifecycle.md +11 -0
  805. package/resources/targets/zcode/js/js/context/knowledge/ResourceLoading.md +9 -0
  806. package/resources/targets/zcode/js/js/context/skills/export-config/SKILL.md +16 -0
  807. package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  808. package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  809. package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  810. package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  811. package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  812. package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  813. package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  814. package/resources/targets/zcode/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  815. package/resources/targets/zcode/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  816. package/resources/targets/zcode/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  817. package/resources/targets/zcode/js/js/context/skills/index.json +19 -0
  818. package/resources/targets/zcode/js/js/context/skills/visual-qa/SKILL.md +14 -0
  819. package/resources/targets/zcode/js/js/project/README.md +7 -0
  820. package/resources/targets/zcode/js/js/project/configs/assets.json +1 -0
  821. package/resources/targets/zcode/js/js/project/configs/game.controls.json +3 -0
  822. package/resources/targets/zcode/js/js/project/configs/game.json +3 -0
  823. package/resources/targets/zcode/js/js/project/game-runtime.json +7 -0
  824. package/resources/targets/zcode/js/js/project/game.config.json +7 -0
  825. package/resources/targets/zcode/js/js/project/index.html +20 -0
  826. package/resources/targets/zcode/js/js/project/package.json +22 -0
  827. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  828. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  829. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  830. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  831. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  832. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  833. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  834. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  835. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  836. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  837. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  838. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  839. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  840. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  841. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  842. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  843. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  844. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  845. package/resources/targets/zcode/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  846. package/resources/targets/zcode/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  847. package/resources/targets/zcode/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  848. package/resources/targets/zcode/js/js/project/scripts/config-export.mjs +13 -0
  849. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  850. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  851. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  852. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  853. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  854. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  855. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  856. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  857. package/resources/targets/zcode/js/js/project/scripts/write-preview-ready.mjs +22 -0
  858. package/resources/targets/zcode/js/js/project/src/display/ui-stage.ts +156 -0
  859. package/resources/targets/zcode/js/js/project/src/display/viewport.ts +249 -0
  860. package/resources/targets/zcode/js/js/project/src/main.ts +87 -0
  861. package/resources/targets/zcode/js/js/project/src/platform.ts +2 -0
  862. package/resources/targets/zcode/js/js/project/src/scenes/LoadScene.ts +89 -0
  863. package/resources/targets/zcode/js/js/project/src/scenes/PlayScene.ts +17 -0
  864. package/resources/targets/zcode/js/js/project/src/screenUi.ts +185 -0
  865. package/resources/targets/zcode/js/js/project/src/style.css +294 -0
  866. package/resources/targets/zcode/js/js/project/tsconfig.json +20 -0
  867. package/resources/targets/zcode/js/js/project/unified_data_control_config.json +20 -0
  868. package/resources/targets/zcode/js/js/project/vite.config.ts +5 -0
  869. package/resources/targets/zcode/js/recovery.md +13 -0
  870. package/resources/targets/zcode/js/target.json +61 -0
  871. package/resources/targets/zcode/js3d/bootstrap/SKILL.md +18 -0
  872. package/resources/targets/zcode/js3d/context-filter-report.json +27 -0
  873. package/resources/targets/zcode/js3d/craft-game-maker/SKILL.md +76 -0
  874. package/resources/targets/zcode/js3d/craft-game-maker/js3d.md +12 -0
  875. package/resources/targets/zcode/js3d/js3d/bundle.json +108 -0
  876. package/resources/targets/zcode/js3d/js3d/context/AGENTS.md +30 -0
  877. package/resources/targets/zcode/js3d/js3d/context/hooks/hooks.json +14 -0
  878. package/resources/targets/zcode/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  879. package/resources/targets/zcode/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  880. package/resources/targets/zcode/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  881. package/resources/targets/zcode/js3d/js3d/context/knowledge/Layout.md +7 -0
  882. package/resources/targets/zcode/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
  883. package/resources/targets/zcode/js3d/js3d/context/knowledge/Runtime.md +9 -0
  884. package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  885. package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  886. package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  887. package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  888. package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  889. package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  890. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  891. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  892. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  893. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  894. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  895. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  896. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  897. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  898. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  899. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  900. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  901. package/resources/targets/zcode/js3d/js3d/context/skills/index.json +31 -0
  902. package/resources/targets/zcode/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  903. package/resources/targets/zcode/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  904. package/resources/targets/zcode/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  905. package/resources/targets/zcode/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  906. package/resources/targets/zcode/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  907. package/resources/targets/zcode/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  908. package/resources/targets/zcode/js3d/js3d/project/README.md +7 -0
  909. package/resources/targets/zcode/js3d/js3d/project/configs/game.controls.json +3 -0
  910. package/resources/targets/zcode/js3d/js3d/project/configs/game.json +3 -0
  911. package/resources/targets/zcode/js3d/js3d/project/game-runtime.json +7 -0
  912. package/resources/targets/zcode/js3d/js3d/project/game.config.json +7 -0
  913. package/resources/targets/zcode/js3d/js3d/project/index.html +12 -0
  914. package/resources/targets/zcode/js3d/js3d/project/package.json +23 -0
  915. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  916. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  917. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  918. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  919. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  920. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  921. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  922. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  923. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  924. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  925. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  926. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  927. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  928. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  929. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  930. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  931. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  932. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  933. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  934. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  935. package/resources/targets/zcode/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  936. package/resources/targets/zcode/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  937. package/resources/targets/zcode/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  938. package/resources/targets/zcode/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  939. package/resources/targets/zcode/js3d/js3d/project/scripts/config-export.mjs +15 -0
  940. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  941. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  942. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  943. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  944. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  945. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  946. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  947. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  948. package/resources/targets/zcode/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  949. package/resources/targets/zcode/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  950. package/resources/targets/zcode/js3d/js3d/project/src/display/viewport.ts +239 -0
  951. package/resources/targets/zcode/js3d/js3d/project/src/main.ts +85 -0
  952. package/resources/targets/zcode/js3d/js3d/project/src/platform.ts +2 -0
  953. package/resources/targets/zcode/js3d/js3d/project/src/style.css +83 -0
  954. package/resources/targets/zcode/js3d/js3d/project/tsconfig.json +20 -0
  955. package/resources/targets/zcode/js3d/js3d/project/unified_data_control_config.json +20 -0
  956. package/resources/targets/zcode/js3d/js3d/project/vite.config.ts +5 -0
  957. package/resources/targets/zcode/js3d/recovery.md +13 -0
  958. package/resources/targets/zcode/js3d/target.json +60 -0
  959. package/vendor/craft-runtime/SOURCE.json +2 -2
  960. package/resources/targets/codebuddy/js/js/context/knowledge/AigcWiring.md +0 -9
  961. package/resources/targets/codebuddy/js/js/context/skills/aigc-generate/SKILL.md +0 -14
  962. package/resources/targets/codebuddy/js/js/context/skills/asset-search/SKILL.md +0 -12
  963. package/resources/targets/codebuddy/js/js/context/skills/asset-search/references/resource-config.md +0 -9
  964. package/resources/targets/codebuddy/js3d/js3d/context/knowledge/AigcWiring.md +0 -9
  965. package/resources/targets/codebuddy/js3d/js3d/context/skills/aigc-integration/SKILL.md +0 -14
  966. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-search/SKILL.md +0 -12
  967. package/resources/targets/codex/js/js/context/knowledge/AigcWiring.md +0 -9
  968. package/resources/targets/codex/js/js/context/skills/aigc-generate/SKILL.md +0 -14
  969. package/resources/targets/codex/js/js/context/skills/asset-search/SKILL.md +0 -12
  970. package/resources/targets/codex/js/js/context/skills/asset-search/references/resource-config.md +0 -9
  971. package/resources/targets/codex/js3d/js3d/context/knowledge/AigcWiring.md +0 -9
  972. package/resources/targets/codex/js3d/js3d/context/skills/aigc-integration/SKILL.md +0 -14
  973. package/resources/targets/codex/js3d/js3d/context/skills/asset-search/SKILL.md +0 -12
  974. package/resources/targets/workbuddy/js/js/context/knowledge/AigcWiring.md +0 -9
  975. package/resources/targets/workbuddy/js/js/context/skills/aigc-generate/SKILL.md +0 -14
  976. package/resources/targets/workbuddy/js/js/context/skills/asset-search/SKILL.md +0 -12
  977. package/resources/targets/workbuddy/js/js/context/skills/asset-search/references/resource-config.md +0 -9
  978. package/resources/targets/workbuddy/js3d/js3d/context/knowledge/AigcWiring.md +0 -9
  979. package/resources/targets/workbuddy/js3d/js3d/context/skills/aigc-integration/SKILL.md +0 -14
  980. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-search/SKILL.md +0 -12
@@ -11,8 +11,14 @@ process.env.CLIENT_WORKSPACE_ROOT = workspace;
11
11
  process.env.CRAFT_WEB_URL ??= pkg.craft.platform;
12
12
  const profile = createHash('sha256').update(workspace + '\n' + process.env.CRAFT_WEB_URL).digest('hex').slice(0,16);
13
13
  process.env.CLIENT_DATA_DIR ||= path.join(getAppDataRoot(),profile);
14
- process.env.PLAYWRIGHT_PACKAGE_ROOT ||= fileURLToPath(new URL('../../node_modules/',import.meta.url));
15
- process.env.CRAFT_MCP_RESOURCES_DIR ||= fileURLToPath(new URL('../../resources/',import.meta.url));
14
+ // A managed connection runs one complete package. Environment values left by
15
+ // an older installation must not attach another package's resources or tools.
16
+ const packagePaths={PLAYWRIGHT_PACKAGE_ROOT:fileURLToPath(new URL('../../node_modules/',import.meta.url)),
17
+ CRAFT_MCP_RESOURCES_DIR:fileURLToPath(new URL('../../resources/',import.meta.url))};
18
+ for(const [key,value] of Object.entries(packagePaths)) {
19
+ if(process.env.CRAFT_INSTALLATION_FILE) process.env[key]=value;
20
+ else process.env[key] ||= value;
21
+ }
16
22
  // Select profile paths before loading the server and its credential store.
17
23
  try { await import('./server.mjs'); }
18
24
  catch (error) {
@@ -0,0 +1,92 @@
1
+ import path from 'node:path';
2
+ import { isDeepStrictEqual } from 'node:util';
3
+ import { loadEngineResources } from '../game-workflow/engines.mjs';
4
+ import { readContextLock, checkProjectCompatibility } from '../game-workflow/project-bundles.mjs';
5
+ import { checkForUpdate, readUpdateStatus, readInstallation, confirmActiveInstallation } from '../integrations/updates.mjs';
6
+ import { connectionHandoff } from '../integrations/connection-handoff.mjs';
7
+
8
+ // This connection owns one complete package for its entire lifetime. An
9
+ // installer probe or another connection can never replace its runtime identity.
10
+ export class UpdateSession {
11
+ constructor({installationFile, current, projects, host, workspace, platform, busy}) {
12
+ Object.assign(this,{installationFile,current,projects,host,workspace,platform,busy});
13
+ this.operations=new Set();
14
+ this.closing=false;
15
+ }
16
+ get activeOperations() { return this.operations.size; }
17
+ run(operation) {
18
+ if(this.closing) return Promise.resolve({status:'error',code:'connection_closing',message:'Craft is shutting down; reconnect before starting new work',
19
+ current:this.current,can_continue:false,activation_required:false,explicitly_not_started:true});
20
+ const pending=Promise.resolve().then(operation);
21
+ this.operations.add(pending);
22
+ return pending.finally(()=>this.operations.delete(pending));
23
+ }
24
+ async close() {
25
+ this.closing=true;
26
+ // Installation/Skill/config commits and connection receipts must finish or
27
+ // roll back before the process acknowledges a graceful shutdown.
28
+ await Promise.allSettled([...this.operations]);
29
+ }
30
+ async scopeError() {
31
+ if(!this.installationFile) return null;
32
+ try {
33
+ const state=await readInstallation(this.installationFile);
34
+ const normalize=value=>{const resolved=path.resolve(value);return process.platform==='win32'?resolved.toLowerCase():resolved;};
35
+ if(state.host!==this.host || normalize(state.workspace)!==normalize(this.workspace) || new URL(state.platform).origin!==new URL(this.platform).origin) throw new Error('Craft installation host, workspace or platform differs from this connection; run install with the intended scope and reconnect');
36
+ return null;
37
+ } catch(error) {return {status:'error',code:'installation_scope_mismatch',message:error.message,current:this.current,can_continue:false,activation_required:false};}
38
+ }
39
+ async status() {
40
+ const error=await this.scopeError();if(error) return error;
41
+ if(this.connectionError) return this.connectionError;
42
+ return this.withHandoff({...await readUpdateStatus({installationFile:this.installationFile,current:this.current}),
43
+ ...(this.last ? {last_check:this.last} : {})},{intent:'inspect'});
44
+ }
45
+ withHandoff(result,{intent='inspect',name,request_key,excludeUpdate=false}={}) {
46
+ if(!result.reconnect_required || !result.target || ['error','incompatible','migration_required'].includes(result.status)) return result;
47
+ const busy=this.busy?.({excludeUpdate});
48
+ const handoff=connectionHandoff({host:this.host,target:result.target,current:this.current,workspace:this.workspace,platform:this.platform,
49
+ busy,intent,name,requestKey:request_key});
50
+ return {...result,...(busy?{busy}:{}),connection_handoff:handoff,next:handoff.next};
51
+ }
52
+ connected() { return this.run(()=>this.confirmConnection()); }
53
+ async confirmConnection() {
54
+ if(!this.installationFile) return {status:'unmanaged'};
55
+ const error=await this.scopeError();if(error) return this.connectionError=error;
56
+ try {
57
+ const status=await readUpdateStatus({installationFile:this.installationFile,current:this.current});
58
+ if(status.status==='error') return this.connectionError=status;
59
+ if(status.activation?.status!=='active_verified') return this.withHandoff(status,{excludeUpdate:true});
60
+ return await confirmActiveInstallation({installationFile:this.installationFile,current:this.current});
61
+ }
62
+ catch(error) {
63
+ return this.connectionError={status:'error',code:'connection_verification_failed',message:error.message,current:this.current,
64
+ can_continue:false,activation_required:false,reconnect_required:true,explicitly_not_started:true};
65
+ }
66
+ }
67
+ check(args={}) { return this.run(()=>this.checkCurrent(args)); }
68
+ async checkCurrent({name,intent='inspect',request_key}={}) {
69
+ const error=await this.scopeError();if(error) return error;
70
+ if(this.connectionError) return this.connectionError;
71
+ if(name!==undefined) this.projects.file(name);
72
+ if(intent==='resume' && !name) throw new Error('Project name is required when checking a resume');
73
+ if(request_key!==undefined && !/^[a-zA-Z0-9._:-]{1,128}$/.test(request_key)) throw new Error('Invalid update request_key');
74
+ const project=name && ['inspect','resume','update'].includes(intent) ? await this.projects.inspect(name) : null;
75
+ const projectCompatibility=project ? async packageRoot=>{
76
+ const {engines}=await loadEngineResources(path.join(packageRoot,'resources'),this.host);
77
+ const candidate=engines[project.engine];
78
+ await checkProjectCompatibility(project.project,candidate.bundle);
79
+ const lock=await readContextLock(project.project,project.engine);
80
+ if(lock?.schema>=2 && !isDeepStrictEqual(lock.compatibility,candidate.bundle.compatibility)) throw new Error('New Craft context is incompatible with this project; keep its engine and migrate explicitly');
81
+ const previous=lock?.contexts?.[this.host];
82
+ if(previous && previous.bundle_id!==candidate.bundle.id) {
83
+ const difference=candidate.bundle.version.split('.').map((value,i)=>Number(value)-Number(previous.version?.split('.')[i])).find(value=>value!==0)??0;
84
+ if(!Number.isFinite(difference)||difference<=0) throw new Error('Candidate context is older or has a conflicting version for this project');
85
+ }
86
+ } : undefined;
87
+ const result=await checkForUpdate({installationFile:this.installationFile,current:this.current,intent,
88
+ requestKey:request_key ? `${intent==='create'?'create':`${name??'global'}:${intent}`}:${request_key}` : undefined,projectCompatibility});
89
+ this.last=this.withHandoff(result,{intent,name,request_key,excludeUpdate:true});
90
+ return this.last;
91
+ }
92
+ }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@craft_eco/craft-mcp",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=22.12.0"
7
7
  },
8
8
  "craft": {
9
- "platform": "https://craft.qq.com"
9
+ "platform": "https://test.craft.qq.com"
10
10
  },
11
11
  "scripts": {
12
12
  "start": "node bin/craft-mcp.mjs"
@@ -0,0 +1,177 @@
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
+ "codex/js": {
17
+ "excluded_skills": [
18
+ "aigc-generate",
19
+ "asset-search"
20
+ ],
21
+ "excluded_files": [
22
+ "skills/aigc-generate/SKILL.md",
23
+ "skills/asset-search/SKILL.md"
24
+ ]
25
+ },
26
+ "codex/js3d": {
27
+ "excluded_skills": [
28
+ "aigc-integration",
29
+ "asset-search"
30
+ ],
31
+ "excluded_files": [
32
+ "skills/aigc-integration/SKILL.md",
33
+ "skills/asset-search/SKILL.md"
34
+ ]
35
+ },
36
+ "workbuddy/js": {
37
+ "excluded_skills": [
38
+ "aigc-generate",
39
+ "asset-search"
40
+ ],
41
+ "excluded_files": [
42
+ "skills/aigc-generate/SKILL.md",
43
+ "skills/asset-search/SKILL.md"
44
+ ]
45
+ },
46
+ "workbuddy/js3d": {
47
+ "excluded_skills": [
48
+ "aigc-integration",
49
+ "asset-search"
50
+ ],
51
+ "excluded_files": [
52
+ "skills/aigc-integration/SKILL.md",
53
+ "skills/asset-search/SKILL.md"
54
+ ]
55
+ },
56
+ "codebuddy/js": {
57
+ "excluded_skills": [
58
+ "aigc-generate",
59
+ "asset-search"
60
+ ],
61
+ "excluded_files": [
62
+ "skills/aigc-generate/SKILL.md",
63
+ "skills/asset-search/SKILL.md"
64
+ ]
65
+ },
66
+ "codebuddy/js3d": {
67
+ "excluded_skills": [
68
+ "aigc-integration",
69
+ "asset-search"
70
+ ],
71
+ "excluded_files": [
72
+ "skills/aigc-integration/SKILL.md",
73
+ "skills/asset-search/SKILL.md"
74
+ ]
75
+ },
76
+ "cursor/js": {
77
+ "excluded_skills": [
78
+ "aigc-generate",
79
+ "asset-search"
80
+ ],
81
+ "excluded_files": [
82
+ "skills/aigc-generate/SKILL.md",
83
+ "skills/asset-search/SKILL.md"
84
+ ]
85
+ },
86
+ "cursor/js3d": {
87
+ "excluded_skills": [
88
+ "aigc-integration",
89
+ "asset-search"
90
+ ],
91
+ "excluded_files": [
92
+ "skills/aigc-integration/SKILL.md",
93
+ "skills/asset-search/SKILL.md"
94
+ ]
95
+ },
96
+ "claude/js": {
97
+ "excluded_skills": [
98
+ "aigc-generate",
99
+ "asset-search"
100
+ ],
101
+ "excluded_files": [
102
+ "skills/aigc-generate/SKILL.md",
103
+ "skills/asset-search/SKILL.md"
104
+ ]
105
+ },
106
+ "claude/js3d": {
107
+ "excluded_skills": [
108
+ "aigc-integration",
109
+ "asset-search"
110
+ ],
111
+ "excluded_files": [
112
+ "skills/aigc-integration/SKILL.md",
113
+ "skills/asset-search/SKILL.md"
114
+ ]
115
+ },
116
+ "dsh/js": {
117
+ "excluded_skills": [
118
+ "aigc-generate",
119
+ "asset-search"
120
+ ],
121
+ "excluded_files": [
122
+ "skills/aigc-generate/SKILL.md",
123
+ "skills/asset-search/SKILL.md"
124
+ ]
125
+ },
126
+ "dsh/js3d": {
127
+ "excluded_skills": [
128
+ "aigc-integration",
129
+ "asset-search"
130
+ ],
131
+ "excluded_files": [
132
+ "skills/aigc-integration/SKILL.md",
133
+ "skills/asset-search/SKILL.md"
134
+ ]
135
+ },
136
+ "zcode/js": {
137
+ "excluded_skills": [
138
+ "aigc-generate",
139
+ "asset-search"
140
+ ],
141
+ "excluded_files": [
142
+ "skills/aigc-generate/SKILL.md",
143
+ "skills/asset-search/SKILL.md"
144
+ ]
145
+ },
146
+ "zcode/js3d": {
147
+ "excluded_skills": [
148
+ "aigc-integration",
149
+ "asset-search"
150
+ ],
151
+ "excluded_files": [
152
+ "skills/aigc-integration/SKILL.md",
153
+ "skills/asset-search/SKILL.md"
154
+ ]
155
+ },
156
+ "kimi/js": {
157
+ "excluded_skills": [
158
+ "aigc-generate",
159
+ "asset-search"
160
+ ],
161
+ "excluded_files": [
162
+ "skills/aigc-generate/SKILL.md",
163
+ "skills/asset-search/SKILL.md"
164
+ ]
165
+ },
166
+ "kimi/js3d": {
167
+ "excluded_skills": [
168
+ "aigc-integration",
169
+ "asset-search"
170
+ ],
171
+ "excluded_files": [
172
+ "skills/aigc-integration/SKILL.md",
173
+ "skills/asset-search/SKILL.md"
174
+ ]
175
+ }
176
+ }
177
+ }
@@ -1,11 +1,19 @@
1
- ---
2
- name: craft-create
3
- description: 使用 Craft 新建 2D、3D 游戏或玩法原型。Create a new game with Craft. 已有 Craft 工程使用项目 craft-project Skill 和 AGENTS.md。
4
- ---
5
-
6
- <!-- craft-mcp:bootstrap:v1 -->
7
- # 创建 Craft 游戏
8
-
9
- 调用当前宿主连接的 `craft_game_info`,核对返回的 host、workspace 与上下文入口,读取其 instructions 和 context.workflow 后开始制作。游戏选项为 2D / Phaser、3D / Three.js。
10
-
11
- 当前目录已有 Craft 工程时,先按项目 AGENTS.md 恢复,再用 `craft_game_info(name)` 获取绑定版本。上下文由当前连接的宿主身份选择;不从其他宿主目录猜测资料,不改版本锁来绕过缺包或不兼容错误。
1
+ ---
2
+ name: craft-create
3
+ description: 使用 Craft 新建 2D、3D 游戏或玩法原型。Create a new game with Craft. 已有 Craft 工程使用项目 craft-project Skill 和 AGENTS.md。
4
+ ---
5
+
6
+ <!-- craft-mcp:bootstrap:v1 -->
7
+ # 创建 Craft 游戏
8
+
9
+ 调用当前宿主连接的 `craft_game_info`,核对返回的 host、workspace 与实际 runtime,读取其 instructions 和 context.workflow。游戏选项为 2D / Phaser、3D / Three.js。
10
+
11
+ 新建前调用 `craft_update_check(intent:"create",request_key)`,由已配置的更新策略检查 npm 并安装兼容新版。同次创建与后续 prepare 复用 request_key。返回 pending_reconnect 时,新版已安装但本次准备尚未开始,当前连接保持旧版;按 connection_handoff 处理,重载前重新核对当前 info 的占用,先等待后台任务结束、记录进度并 release 既有工作;其他会话占用时等待其正常释放。
12
+
13
+ Codex 当前明确提供可用且作用于当前聊天的原生重载或重连能力时,自动调用一次。自动调用前须按宿主规则确认重载影响范围内没有活动工作;当前连接空闲不代表其他聊天也空闲,影响范围无法确认安全时改为提示用户重连,不扫描全部用户项目。能力缺失或调用失败则提示用户重连 Craft,重连后仍旧再提示完整退出 Codex 并重开。WorkBuddy 先按宿主可用方式重连;实际版本仍旧时提示从托盘完整退出并重开,等待 Craft 就绪。仅宿主页面实际提示未信任时,才引导用户在连接器确认信任。其他宿主按其可用方式重连。
14
+
15
+ 随后必须调用当前聊天的 craft_game_info,核对实际 version、build_id 与更新目标一致,记录 instance_id,确认 active_verified,且 host、workspace、platform 保持预期,才以同一 request_key 重试尚未开始的 prepare。重载成功响应、实例变化、连接绿灯或独立探测结果不能代替当前连接核验;未确认时报告“新版已安装,当前连接尚未确认”并停止准备。不要自动重放素材生成、上传或发布。不兼容时按返回诊断处理。旧连接没有更新工具时,先完成新版标准安装与宿主连接切换,再核对实际版本。离线结果明确说明未确认最新。
16
+
17
+ 当前目录已有 Craft 工程时,先按项目 AGENTS.md 恢复,调用只读 `craft_game_info(name)` 核对项目,新会话首次处理项目时调用 `craft_update_check(name,intent:"inspect")`;仅检查时即使发现待重连也不自动重载。继续制作前使用 intent=resume 检查并确认运行版本,再调用 `craft_game_prepare(name,mode:"resume",request_key)`;新建使用 mode=create。轮询成功后保存 work_id/context_revision,重新读取项目内入口、技能索引和所需 Skill 正文。制作工具传入 work_id,结束后等待后台任务完成并 craft_game_release。纯查看不 prepare。上下文按当前宿主和原引擎同步,兼容失败时按诊断处理。
18
+
19
+ 在 WorkBuddy 打开可信的项目目录时,若出现打开方式提示,由用户选择“正常打开”以加载项目配置。项目 Skill 位于 `.workbuddy/skills`;其他宿主使用各自的发现目录。文件已写入不等于当前会话已发现,必要时核对原生 Skill 加载结果。
@@ -0,0 +1,25 @@
1
+ ---
2
+ name: craft-update
3
+ description: 检查或更新 Craft MCP,核对当前连接的运行版本,恢复已有 Craft 项目的上下文和 Skill。Use for Craft updates, stale connections, and project context refresh.
4
+ ---
5
+
6
+ <!-- craft-mcp:update:v1 -->
7
+ # 更新 Craft
8
+
9
+ 读取当前连接的 `craft_game_info`,区分 runtime 的实际版本、目标版本与项目上下文版本。沿用已配置的 npm 渠道、业务平台和 workspace。
10
+
11
+ - 仅检查:调用 `craft_update_check(intent:"inspect")`;已有项目提供 name。它检查 npm 并可记录检查结果,不安装、不切换运行时、不更新全局 Skill 或项目文件;即使发现 pending_reconnect,也只报告状态,不自动重载。
12
+ - 安装兼容新版:调用 `craft_update_check(intent:"update",request_key)`;已有项目提供 name 以检查兼容性。安装器下载、校验新版,更新宿主启动配置与受管全局 Skill;当前连接继续完整使用旧版,不自动重放制作请求。返回 pending_reconnect 后按下面的连接步骤处理。
13
+ - 恢复制作:先调用 `craft_update_check(name,intent:"resume",request_key)`,按连接步骤处理待重连结果;确认实际运行身份后,用同一 request_key 调用 `craft_game_prepare(name,mode:"resume",request_key)`,轮询完成,重新读取根 AGENTS、当前宿主的 craft-project、技能索引和所需正文。游戏源码、进度和用户规则保留,js 与 js3d 保持原引擎。
14
+
15
+ 只有已请求安装、更新、新建或继续制作时,才按回执的 connection_handoff 连接新版。重载前重新查询当前 info 的占用;有工作时先等待后台任务结束、记录进度并 release,保留更新回执中的目标版本、build_id 和本次 request_key。其他会话占用时等待其正常释放,不代其结束工作。
16
+
17
+ - Codex:当前宿主明确提供可用且作用于当前聊天的原生重载或重连能力时,自动调用一次。自动调用前须按宿主规则确认重载影响范围内没有活动工作;当前连接空闲不代表其他聊天也空闲,影响范围无法确认安全时改为提示用户重连,不扫描全部用户项目。能力缺失或调用失败时,提示用户重连 Craft;重连后实际版本仍旧,再提示完整退出 Codex 并重新打开。只使用宿主实际提供的能力。
18
+ - WorkBuddy:先使用宿主可用方式重连 Craft;实际版本仍旧时,提示记录进度后从托盘完整退出 WorkBuddy,再打开并等待 Craft 就绪。仅页面实际提示未信任时,引导用户在连接器中按提示确认;每次更新不一定需要重新信任。
19
+ - 其他宿主:按其实际提供的方式重连;没有可用能力时明确给出需要用户完成的操作。
20
+
21
+ 重载或重连后必须通过当前聊天的 `craft_game_info` 核对实际 version、build_id 与更新目标一致,记录实际 instance_id,确认 activation 为 active_verified,且 host、workspace、platform 保持预期,再继续制作。重载请求成功、实例变化、连接绿灯及独立探测通过都不能代替这一步。仍旧、身份不匹配或无法取得回执时,保留 pending_reconnect,明确报告“新版已安装,当前连接尚未确认”,停止本次新准备。
22
+
23
+ 仅对明确尚未开始的 prepare 使用同一 request_key 重试;已有工作不在进行中换版,不自动重放素材生成、上传或发布。`pending_reconnect` 或不兼容状态都不表示更新完成。
24
+
25
+ 旧连接没有更新工具时,使用新版 Craft 包的标准 install 接入当前宿主,再完成连接并核对版本;不猜测宿主私有命令。离线时说明未确认最新;渠道低于本地版本时保留本地。不要删除项目锁或改引擎版本来绕过兼容检查。
@@ -0,0 +1,18 @@
1
+ ---
2
+ name: craft-create
3
+ description: 在 Claude Code 中使用 Craft 新建 2D、3D 游戏或玩法原型。Create a new 2D or 3D game with Craft. 当前目录已有 Craft 游戏、需要继续或恢复时使用项目 craft-project Skill 和 .claude/CLAUDE.md。
4
+ ---
5
+
6
+ <!-- craft-mcp:bootstrap:v1 -->
7
+ # 创建 Craft 游戏
8
+
9
+ 创建前调用 `craft_update_check(intent:"create",request_key)`,自动检查已配置的 npm 渠道并安装兼容新版;与本次 prepare 复用 request_key。核对当前连接的实际 runtime 和 activation 状态。返回 pending_reconnect 时,新版已安装但当前连接保持旧版;先结束并 release 既有工作,按宿主可用方式重连,再用当前连接的 craft_game_info 核对版本、build_id 和 active_verified 后重试准备。安装器不保证宿主自动重连,不能用独立探测结果替代当前连接确认。不兼容时按诊断处理;离线时说明未确认最新。没有更新工具的旧连接先完成新版标准安装与连接切换。
10
+
11
+ 1. 当前目录已有 Craft 工程时,先读项目 `.claude/CLAUDE.md`;入口尚未生成时读取根 `AGENTS.md`,按 info 和 prepare 的返回结果恢复该工程。创建新游戏时,调用 `craft_game_info`,核对服务的 workspace 和平台;游戏将创建在 `<workspace>/<name>`,不自动跟随宿主当前目录。
12
+ 2. 创建选项只展示 **2D / Phaser**(`js`)和 **3D / Three.js**(`js3d`)。用户已明确选择时直接沿用;尚未明确时结合玩法给出推荐和简短理由,使用宿主可用的提问交互收集选择,不可用时用文字询问。用户让你决定时按需求选择并说明,不重复确认已有选择。选定引擎后,使用英文小写、数字和连字符组成 name,调用 `craft_game_info({"engine":"js"})`(3D 使用 `js3d`)读取对应指南。
13
+ 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,不新建重复任务。
14
+ 4. 遵循当前引擎指南和用户需求完成游戏,将设计与实际开发进度保存在项目 SPEC 文件中,更新 `SPEC/PROGRESS.md`。通过 `craft_game_check`、`craft_game_review` 验收,再按 `craft_game_deliver` 返回命令启动并确认预览。
15
+
16
+ 完成或暂停制作时,等待后台任务结束,记录进度并调用 `craft_game_release(name,work_id)`;无需关闭 MCP。新一轮制作使用新的 request_key,已结束的请求不可复活。
17
+
18
+ MCP 未连接时,先在当前宿主连接 Craft 服务。新会话从项目 `.claude/CLAUDE.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
+ "claude/js": {
17
+ "excluded_skills": [
18
+ "aigc-generate",
19
+ "asset-search"
20
+ ],
21
+ "excluded_files": [
22
+ "skills/aigc-generate/SKILL.md",
23
+ "skills/asset-search/SKILL.md"
24
+ ]
25
+ }
26
+ }
27
+ }
@@ -0,0 +1,76 @@
1
+ ---
2
+ name: craft-game-maker
3
+ description: Make or modify local Craft 2D/Phaser and 3D/Three.js games in AI IDEs, including gameplay checks and preview.
4
+ ---
5
+
6
+ # Craft 本地小游戏制作
7
+
8
+ Craft MCP 提供工程准备、构建、验收与预览能力。制作流程以用户需求、当前工程及本指南为准。
9
+
10
+ ## 默认交互
11
+
12
+ 制作前读取当前引擎入口,按实际技能索引选择本次需要的技能。资源使用遵循本工程的配置与加载规范。
13
+
14
+ 使用平台能力前调用 `craft_auth_status`。已登录直接继续;仅未登录时展示工具返回的 `user_message`,不自行拼地址。`auth_mode:token` 由用户在 宿主凭证设置或连接器表单更新凭证并重新连接;普通安装由用户在工具返回的本机页面登录。连接后复用原工程和请求继续。网络错误不要求重新登录;服务失败如实报告并保留记录。
15
+
16
+ 禁止读取凭据文件、自动填写登录页或连接器凭证表单,或要求用户把 Token 发到聊天、写配置;链接中不得带 Token。
17
+
18
+ 后台任务、资源接线、测试、看图和修复持续推进,直到交付或明确受阻;需要用户登录、用户取消时停下说明。交付预览链接、玩法和操作键。
19
+
20
+ ## 连续工作流
21
+
22
+ MCP 的 `workspace` 是游戏父目录,实际游戏为 `<workspace>/<name>`,不自动跟随宿主当前工作目录。默认 `~/CraftGames`;可在宿主 MCP 环境配置中显式设置 `CLIENT_WORKSPACE_ROOT`,或用 `craft-mcp --workspace <绝对父目录>` 启动。修改设置后重连并核对 `craft_game_info.workspace`。准备完成后将返回的 `project` 打开为宿主工作目录。
23
+
24
+ prepare 会维护项目根 `AGENTS.md` 的 Craft 段,并为已选择的宿主生成项目恢复 Skill;实际路径以返回的 `project_context.entrypoint` 和 `project_context.skill` 为准。未指定宿主时不生成宿主专用目录。用户已有正文保留,同名用户 Skill 不覆盖,结果会标记 `preserved_user_file`。项目的 `.craft/context-lock.json` 记录已同步版本。查询 `craft_game_info(name)` 只检查版本、占用和恢复状态,不更新文件。新一轮制作调用 `craft_game_prepare(name,mode:"resume",request_key)`,轮询完成并核对 context_sync、work_id、context_revision,再重新读取返回的工作流、引擎入口和技能索引,按 description 选技能。项目自定义规则放 `.craft/user-rules.md` 或根 AGENTS 的用户区域,官方目录由 MCP 管理。同步失败或不兼容时先处理诊断,不读历史目录继续工作;新宿主由 prepare 接入,游戏源码和已有进度保留。
25
+
26
+ 项目事实放在 SPEC 设计文档与 `SPEC/PROGRESS.md`;prepare 只在进度文件缺失时建立初始记录,不替换已有内容。开始工作先读取这些记录并核对源码;完成开发、验收或遇到阻塞后更新玩法、操作、已完成/待办、关键文件、验收任务与下一步。新会话据此恢复,不依赖上一轮聊天或宿主个人记忆。只读请求不写进度。
27
+
28
+ 1. **先读引擎说明,再制作游戏。** 新建时仅展示 2D / Phaser(js)和 3D / Three.js(js3d)。沿用用户明确选择;尚未明确时按玩法推荐并收集选择,用户授权代选时直接决定并说明。选定后调用 `craft_game_info(engine)`;继续游戏用 `craft_game_info(name)` 获取已保存的引擎,不重新选择。开始设计、编码或修改前完整读取 `context.engine.entrypoint`,其余参考文档按需加载。
29
+ 2. 调用 `craft_game_prepare`:新建传 `mode:"create"`、engine 和新的 request_key;继续已有工程传 `mode:"resume"`,沿用 name 和引擎。重试复用同一 request_key,已结束或中断的制作使用新的 key。轮询成功后保存 work_id 和 context_revision,再读取本地上下文并使用宿主文件工具编辑工程。素材、验收、预览、取消及发布工具均传入此 work_id。期间不重新同步上下文;同一 work_id 的 prepare 只验证并复用当前结果。遇到 CRAFT_PROJECT_IN_USE 时可只读查询,须等原任务释放后再制作,不绕过占用锁写文件。保留模板依赖、runtime、Vite、预览接线和配置结构。
30
+ 3. 按需求实现场景、玩法和真实输入交互;需要领域操作时,按当前技能索引的 description 选择并读取适用技能。资源地址及可调参数放入项目配置,由实际消费者读取并按引擎规则加载。配置有值不代表资源已被使用,必要资源就绪后再进入玩法。
31
+ 4. 调用 `craft_game_check` 执行引擎收尾、构建和浏览器采集。依次提供 `loop`、`settlement`、`restart` 三步,每步包含 action、expected 和真实玩法断言。
32
+ 5. gate.passed 后调用 `craft_game_review`,逐一查看初始、主循环、结算、重开四张截图,检查素材、构图、比例、文字、遮挡、透明边缘和玩法反馈;有问题就修复并重验。浏览器或截图不可用时报告未验证。
33
+ 6. 玩法和视觉均通过后,调用 `craft_game_deliver(task_id,visual_passed:true,visual_notes)`,填写实际观察。返回 awaiting_host_start 时,由 AI IDE 使用后台终端执行 `start.script` 并保持该任务运行;这是持续服务命令,不等待终端退出才查询状态。Craft 不启动预览。轮询 `craft_game_info(name).preview`,直到 running=true 且 snapshot 与此次交付一致,打开返回 URL 确认画布能启动后才交付链接;直接打开源码 index.html 不能替代预览。预览可能被宿主或系统回收;失效时查看 start.logs,重跑启动命令并验证,用 `craft_preview_stop(name)` 停止。源码或构建产物变化后重新检查、交付。
34
+
35
+ 用户要求上传 Craft 私有草稿时,先通过检查与看图,再调用 `craft_game_upload(name,check_task_id)`。同一目录、name、账号和平台自动复用 appid,修改后重新检查上传只新增版本;中断时保留原 check_task_id 重试。发布与本地预览使用相同的资源配置,按引擎规则解析资源地址;同时验证资源在目标浏览器和公开托管中实际可用。用 `craft_task_status` 等待上传,用 `craft_game_publish_status(name,check_task_id)` 查询同一版本。`draft_ready` 表示私有上传完成,交付项目 ID、版本 ID 与摘要,不代表公开发布,也不提供云端预览链接。试玩与交付预览沿用 IDE 本地的 `craft_game_deliver` 启动流程,不以云端试玩作为上传完成条件。
36
+
37
+ 用户要求公开发布时,优先调用 `craft_game_publish_open(name,check_task_id)` 并向用户展示返回的本地发布页链接。页面可编辑材料、查看验收冻结版本和最终图片,使用原有 30 秒真实采集;只有用户勾选确认具体 revision 后才上传公开图片并提审。页面不依赖安装桌面客户端;同一 publication_id 可重新打开恢复。发布完成以目标版本审核完成及公开链接为准。
38
+
39
+ 需要由工具准备材料时,先完成私有上传,调用 `craft_game_publish_options` 获取当前分类。AI IDE 根据游戏准备名称、简介/操作说明、分类、标签和封面;封面可用工程内 PNG/JPEG,省略时使用真实游戏截图。调用 `craft_game_publish_prepare(name,check_task_id,materials)`,轮询完成;MCP 对同一冻结版本真实试玩至少 30 秒,生成展示图和审核抽帧,不用四张普通验收图冒充完整采集。
40
+
41
+ 随后调用 `craft_game_publish_review(name,publication_id)`,向用户展示完整文案、封面、截图、目标版本、是否开放二创,以及图片上传后为公开 URL 的事实。取得用户对本次 `revision` 的明确确认后,才调用 `craft_game_publish_submit(name,publication_id,revision,confirmed:true)`。材料变化须重新准备、看图和确认;准备完成不表示获得了提交授权。
42
+
43
+ 提交任务完成只表示已发起审核。用 `craft_game_publish_status(name,publication_id)` 查询,保留原 ID 恢复超时;只有当前版本 `share_completed` 且返回匹配的 `public_url` 才报告发布成功。审核失败展示原因并修改后重新准备;审核未启用、缺材料或仍在等待时不冒充通过。公开发布能力以当前服务返回的开关和审核状态为准。
44
+
45
+ 若状态返回 `finalization_retry_required:true`,审核已经通过但最终存储收尾需要重试;复用原 publication_id、revision 和既有确认调用 submit,只恢复同一份已审材料的收尾,不重新准备或另发审核。
46
+
47
+ 已公开的同一版本只支持原 publication_id 的幂等重试。修改已公开作品的文案或图片时,重新检查并上传新版本(保留 appid),再准备和确认新材料;旧线上版本在新版本审核期间保持不变。外部包只有 dist,不包含可编辑源码,`open_to_recreate` 必须为 false。
48
+
49
+ ## 引擎参考上下文
50
+
51
+ 连接时发送通用指南,选定引擎后的 info/prepare 结果附专用指南。`context.workflow` 为通用指南,`context.engine.guide` 为专用指南,`context.engine.directory` 为引擎上下文,`context.references` 为按需文档。
52
+
53
+ 引擎 `AGENTS.md`、实际可用技能及用户要求决定实现方式;本指南定义 Craft MCP 的调用流程。`craft_game_check` 包含配置导出、构建和采集;`craft_game_review` 返回实际截图供审阅,检查布局、地面接触、尺寸、裁剪、可读性及所需透明效果。保留模板的渲染、就绪、资源释放和配置导出行为。
54
+
55
+ ## 玩法观测
56
+
57
+ 验收前必须确保工程已显式安装 `globalThis.__GAME_PROBE__.snapshot()`,不能假设模板自带探针;缺少时先补齐,再调用 `craft_game_check`。旧工程已有探针时保留并扩展。快照返回真实 `engine`、`ready`、`frameCount`,`game` 从实际玩法状态读取,如 `{score,phase,round}`。
58
+
59
+ `frameCount` 只能随真实渲染帧递增。必要资源加载成功且实际场景已渲染后才允许 `ready` 成立:Phaser 结合 `POST_RENDER`、`markPreviewReady` 和活跃的 `PlayScene`,Three.js 结合实际 render 帧与资源加载。保留引擎预览生命周期,不伪造帧数、就绪或玩法状态使检查通过。
60
+
61
+ 测试使用真实输入,不直接改分数或强行结算。Canvas 用坐标,DOM 用 target;`qa:` 仅路由到与玩家操作相同的处理函数,每步 ms ≤ 30000。
62
+
63
+ 示例(按实际玩法调整):
64
+ ```json
65
+ [
66
+ {"phase":"loop","action":"press","key":"Space","ms":300,"expected":"接到一颗星,分数增加","assertions":[{"path":"game.score","operator":"gte","value":1}]},
67
+ {"phase":"settlement","action":"wait","ms":15000,"expected":"倒计时结束显示结算","assertions":[{"path":"game.phase","operator":"eq","value":"over"}]},
68
+ {"phase":"restart","action":"click","target":"再玩一次","expected":"新一局分数归零","assertions":[{"path":"game.phase","operator":"eq","value":"playing"},{"path":"game.score","operator":"eq","value":0}]}
69
+ ]
70
+ ```
71
+
72
+ 支持本地 2D/Phaser、3D/Three.js、工程检查、本地预览和平台审核发布。目录校验不构成同 UID 的 OS 沙箱;禁止读取宿主私有状态或修改安装包。
73
+
74
+ ## 结束与交接
75
+
76
+ 完成或暂停编辑时,等待后台任务结束(取消也须等清理完成),更新 `SPEC/PROGRESS.md`,调用 `craft_game_release(name,work_id)`。释放不关闭 MCP、不停止已有只读预览、不表示游戏已发布。新会话先用 `craft_update_check(intent:"inspect")` 只检查版本;纯查看不安装、不同步上下文、不写进度、不构建。标准安装处于 auto 时,新一轮 create/resume 准备会检查配置的 npm 渠道并自动安装兼容新版;也可先调用相应 intent 的 craft_update_check,与 prepare 复用 request_key。off 或非受管连接不自动安装。返回 pending_reconnect 时,本次准备尚未开始,当前连接保持原版;先结束并 release 既有工作,按宿主可用方式重连,用当前连接的 craft_game_info 核对实际版本、build_id、instance_id 和 active_verified,再以同一 request_key 重试 prepare。确认新连接后,prepare 同步对应宿主及项目原引擎的兼容上下文;既有工作保持原 work_id/context_revision,不在进行中换版。同步后重新读取入口、技能索引和所需 Skill 正文;宿主缓存 Skill 列表时刷新或新开会话。
@@ -0,0 +1,10 @@
1
+ # 当前工程:2D / Phaser(engine=js)
2
+
3
+ 使用当前工程的 Phaser 模板和本引擎上下文。制作或修改前完整读取 `context.engine.entrypoint` 对应的 `AGENTS.md`,素材来源与流程遵守该引擎的相关技能及用户要求。再读取 `src/main.ts`、`src/scenes/LoadScene.ts`、`src/scenes/PlayScene.ts`、`configs/assets.json`、`configs/game.json`。
4
+
5
+ - `LoadScene` 负责预加载,`PlayScene` 实现玩法。图片、音频及序列帧按引擎 `knowledge/AssetWiring.md` 读取 `configs/assets.json` 的 slot 地址。`slotUrl` 只取配置;加载时按 `knowledge/AssetUrl.md` 使用 `resolveAssetUrl` 和 CDN 配置,在 LoadScene 入队并在 PlayScene 实际使用。
6
+ - 图集 PNG 与 manifest JSON 使用不同加载方式,帧布局取实际资源元数据。按 `knowledge/ResourceLoading.md` 加载图集并创建动画,不把 JSON 当图片或把整张图集当单帧,不凭地址猜测依赖文件。
7
+ - 修改加载场景时按需读取 `context.references.loading`;补充玩法观测时遵守 `context.workflow` 中的玩法观测约定。
8
+ - 验收前按 `context.workflow` 的玩法观测约定显式安装 `globalThis.__GAME_PROBE__.snapshot()`;缺少探针时必须补齐。旧工程已有探针时保留并扩展,`engine` 保持 `js`,在 `snapshot().game` 读取真实分数、阶段、回合等状态。
9
+ - `frameCount` 随真实 Phaser `POST_RENDER` 帧递增;`ready` 仅在必要资源加载成功、`PlayScene` 活跃且已发生真实渲染后成立,并与 `markPreviewReady` 的预览就绪流程一致。保留原有预览生命周期,不用定时器、硬编码分数或伪造帧数使检查通过。
10
+ - 使用 `craft_game_check` 完成配置导出、构建与玩法验证,再通过 `craft_game_review` 查看四张截图并交付。
@@ -0,0 +1,97 @@
1
+ {
2
+ "schema": 2,
3
+ "engine": "js",
4
+ "host": "claude",
5
+ "version": "1.0.1",
6
+ "source_revision": "sha256:9df648e4379caf201224a870f098a0567a0c2679e43005d4412df0305e41de6e",
7
+ "contracts": {
8
+ "export": 1,
9
+ "skills": 1,
10
+ "mcp": 2,
11
+ "sdk_lifecycle": 1
12
+ },
13
+ "compatibility": {
14
+ "runtime_version": "1.1.0",
15
+ "dependency": "phaser",
16
+ "dependency_version": "3.90.0",
17
+ "template_digest": "5fab790d63b9eee2539acb81729cc07da6e3087b9396719482a0e6ac1a4a2d56"
18
+ },
19
+ "files": {
20
+ "js/context/AGENTS.md": "df79a0bf037ebad45b6fde5b5659c42ce238ca5af9b775befa4f13900b736c1e",
21
+ "js/context/hooks/hooks.json": "8becc4a05e25996fb079dcac9b7c2f7c79d719ea0d2cf20dc9b8a91a97a3261d",
22
+ "js/context/knowledge/AssetUrl.md": "f5f7a8a4588c1fbb5bd337585d8d586c944a3f44ac7a6b212fac7aedb656b944",
23
+ "js/context/knowledge/AssetWiring.md": "d41652c4f5e6a04bfe8f1c3eb8ab2633a01830b60a8fa88f5e759a801ed36b23",
24
+ "js/context/knowledge/Layout.md": "edb1f698c5dcdeed57d3a06cdff939719abaa754a39e471830eaf74627c8f53f",
25
+ "js/context/knowledge/Lifecycle.md": "47d6cc164953d5bbe3c06efcdad4994fbf89346f4e6c7bf15810555bc3612a18",
26
+ "js/context/knowledge/ResourceLoading.md": "eada6a4a3766772a47274dd7a210aab3ef726c4553150aefc1f047ff0d6fb578",
27
+ "js/context/skills/export-config/SKILL.md": "97cacc3ba1f7cebf8fc3c79f0e4678bf6caff783a0d8e2a1f61f67fbc2d43a42",
28
+ "js/context/skills/export-config/assets/tooling/cli.mjs": "70c1d67b93a03e64c22a1ec20927304f6c4cbbe5d74b855dd03ed7fa103a821a",
29
+ "js/context/skills/export-config/assets/tooling/config.d.mts": "25066e71f44ee8b74b2285e3824536afb4cac25f63f4d4c2193da29c237d774d",
30
+ "js/context/skills/export-config/assets/tooling/config.mjs": "ba99f6f54d0db4fc42d5431d0792c3f5e6981474faef3a0acf924a90b27158f8",
31
+ "js/context/skills/export-config/assets/tooling/project.d.mts": "5cf22fae66b199b92080d07ea45b686502d0605f677504177b029e0d615a5e9b",
32
+ "js/context/skills/export-config/assets/tooling/project.mjs": "f7a1417e019cee8efea68840ca768d414fa8106e67dd60d4f300465c9a58e541",
33
+ "js/context/skills/export-config/assets/tooling/vite.d.mts": "70918eaafd1b4518818533232fb9fa83e7b5df0da14927b5e2ad2288347bca23",
34
+ "js/context/skills/export-config/assets/tooling/vite.mjs": "6da929e7d7d59f928f468a0052e1f970b992032d461968b93b713583fdbbb86a",
35
+ "js/context/skills/export-config/scripts/export-config.mjs": "e7f3cff027cf71d90f2d14e983082a658c6100ddf5761d27e0ae7ce4c917344c",
36
+ "js/context/skills/export-config/scripts/install.mjs": "ef3e09680d06086b9e21f5665ce05af2962cc65e92a8e26fbac5fdf9723e6eda",
37
+ "js/context/skills/export-config/scripts/panel-resource-path.mjs": "70f707133498347e6295d82d8da6cc24cd9363b3bd302e1372016a5491f07ba7",
38
+ "js/context/skills/index.json": "f06f75fb3d6dee48b5c2f95646c69b08d7979d38d8fff047951f464ebbc2e867",
39
+ "js/context/skills/visual-qa/SKILL.md": "f82ea206bc6b7f3b88be04a5fc5bc12c8b26d292c6e5cf4b05cd8ee656fe99d5",
40
+ "js/project/README.md": "7708ecdf5ff65e5565bb46c98b4388778db0e747c2d9fce778f42f73c78663f5",
41
+ "js/project/configs/assets.json": "ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356",
42
+ "js/project/configs/game.controls.json": "c353f210e7d63c4042cc4a58163e90cc9dc55b3bb5789547dbf913f1e553d2fa",
43
+ "js/project/configs/game.json": "3289dc2a6fb9a75e47e59dd95507a91a5337352a3ae5a0f7dbaf14a2ab16ad88",
44
+ "js/project/game-runtime.json": "9e6d4974f371478ce507ae208de580e248175a0d99941aa0d10465243fd4ad69",
45
+ "js/project/game.config.json": "0d50535f695a1be2c7a1649953fedd112d02a078ceda11c22391b21c05a22c0e",
46
+ "js/project/index.html": "6968aba482c4fb0d2c6bd0e4effe627837c1a83bf16f185c32dd7b351605c6a2",
47
+ "js/project/package.json": "b308908f78564b70471e7c9c762904f497778e2e5dd0512a47e9034ed7c2c8d4",
48
+ "js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js": "2a2ad154f1f300f188e202100d35d866e81cba0ff603cb9abea8ab1b4f2b909a",
49
+ "js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs": "6a2716cdb7393cac0b0b231bf1b5f9886e2c876917c7af17913c57a683df2a8a",
50
+ "js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs": "58855d261455d390e66b8dbfccd6384a3daddcf77615490c744014c695e611b3",
51
+ "js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs": "5137bfd403c8500e1e5b5305ac7f3ca55ee68daaade624333a7c85786077713d",
52
+ "js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts": "1215d08eaa70c412628e6d160e10f3d1b211be8ff66da5d312684d6fe6905f11",
53
+ "js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs": "4c80bd843775d687d6015dcde78c3ea2a354923860d1c5d443a6035fcfce5653",
54
+ "js/project/runtime/lightgame/1.1.0/platform/platform.d.mts": "27819e8b8730a6af9c84aa4b540fef010e51299f32a76739621d340046e12f11",
55
+ "js/project/runtime/lightgame/1.1.0/platform/platform.mjs": "d4848e892f4863003d4022178817cf3c796975f5304bd59530b6574971b4e9c9",
56
+ "js/project/runtime/lightgame/1.1.0/release.json": "ddd0894b196b729b9d1e592f204897655c34dc685c0397a6dee267c47d90c55e",
57
+ "js/project/runtime/lightgame/1.1.0/tooling/cli.mjs": "ff2a614679a8b2fc3847efe6d0d7194e8c87d8100eaff6b9168e4e3d050465c0",
58
+ "js/project/runtime/lightgame/1.1.0/tooling/project.d.mts": "d8272a81789094fed7090ae0cd07f597f62b2dca16834fd6b6e9ccea81968ec8",
59
+ "js/project/runtime/lightgame/1.1.0/tooling/project.mjs": "d1600f6a294fe0399d9d45d20cffb7416318b2bbff497c08142ce1a568c59db2",
60
+ "js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts": "667e46bd016ef8ba368e53564b49b3fd571786c1672b3dbb14dc24833e0c293c",
61
+ "js/project/runtime/lightgame/1.1.0/tooling/vite.mjs": "58edccd64f94c442a313ce51f0698c081fa829ce18ed3173a6694c2a8619cd65",
62
+ "js/project/runtime/lightgame/1.1.0/tools/assets.d.mts": "50111c87e3c639383df7900c88540e91b564e560c4411b9d0292712de3712628",
63
+ "js/project/runtime/lightgame/1.1.0/tools/assets.mjs": "7608d8e7f0e7491bdd5b32581db77d7a622e08ee32a5cfb9ff992be252b32eda",
64
+ "js/project/runtime/lightgame/1.1.0/tools/astc.d.mts": "24416261df0bbfc9a22ec010eb6857bea6ee39703e6e62caf183c2adbe45cd86",
65
+ "js/project/runtime/lightgame/1.1.0/tools/astc.mjs": "661576a1d5e65d6079328c0e00348d2eeeae123b0310a8110edac4de92745a2f",
66
+ "js/project/scripts/config-export/assert-asset-wiring.mjs": "2d4903626e75b699e8ea9a53449f99498ae20d58f3132db9e0055eab514dee01",
67
+ "js/project/scripts/config-export/panel-resource-path.mjs": "70f707133498347e6295d82d8da6cc24cd9363b3bd302e1372016a5491f07ba7",
68
+ "js/project/scripts/config-export/sync-asset-controls.mjs": "ac2c05d52d34ff3f63cd61892db23c5ae3c622d5e6023d9a4b6f221bc4b8bc67",
69
+ "js/project/scripts/config-export.mjs": "2b36636fda0dac316129c354134a77e18d60a940210d870ae5ba18697c347d49",
70
+ "js/project/scripts/skill-modules/export-config/cli.mjs": "70c1d67b93a03e64c22a1ec20927304f6c4cbbe5d74b855dd03ed7fa103a821a",
71
+ "js/project/scripts/skill-modules/export-config/config.d.mts": "25066e71f44ee8b74b2285e3824536afb4cac25f63f4d4c2193da29c237d774d",
72
+ "js/project/scripts/skill-modules/export-config/config.mjs": "ba99f6f54d0db4fc42d5431d0792c3f5e6981474faef3a0acf924a90b27158f8",
73
+ "js/project/scripts/skill-modules/export-config/installed.json": "fec5c3035b0e153b78765f7d97f27acded592d8fccd07cb728fe59d3559bcc94",
74
+ "js/project/scripts/skill-modules/export-config/project.d.mts": "5cf22fae66b199b92080d07ea45b686502d0605f677504177b029e0d615a5e9b",
75
+ "js/project/scripts/skill-modules/export-config/project.mjs": "f7a1417e019cee8efea68840ca768d414fa8106e67dd60d4f300465c9a58e541",
76
+ "js/project/scripts/skill-modules/export-config/vite.d.mts": "70918eaafd1b4518818533232fb9fa83e7b5df0da14927b5e2ad2288347bca23",
77
+ "js/project/scripts/skill-modules/export-config/vite.mjs": "6da929e7d7d59f928f468a0052e1f970b992032d461968b93b713583fdbbb86a",
78
+ "js/project/scripts/write-preview-ready.mjs": "9ceeb1ba6b4a686b633c5ad78db6422f38603e86d502b85281e4344bd39ce978",
79
+ "js/project/src/display/ui-stage.ts": "c0cfd56a244cc50fb82dc4ec013e12db45840150eef85b764a412ac1f25c7913",
80
+ "js/project/src/display/viewport.ts": "7b335bc6789a3f9bace1e55ff75849ca553da02414045bbbe646f42700f26653",
81
+ "js/project/src/main.ts": "95c615c4f8296b4c5c822e32be90888586051f99bf7b68ed79941bf4cefab454",
82
+ "js/project/src/platform.ts": "5b3d3d1132d25d1f8f08eb1edcc6719bc5f9737c75bd3050ef09dddd1e117ad9",
83
+ "js/project/src/scenes/LoadScene.ts": "6a5dfef1a33275e617983ec801a55875b09837824a9791567c42278eefe73929",
84
+ "js/project/src/scenes/PlayScene.ts": "9a31c41b3390420bd7ac732bd6a5624a82f37219f1b95ff1b23c4add627e0b4c",
85
+ "js/project/src/screenUi.ts": "f2493a628630c5649a48011ef33c72c62b50780697428c98b24e6a10f8b59bc3",
86
+ "js/project/src/style.css": "23c2ee94511737469d5645fdcee4fd177f92589ff6415ac5776bbe9bfc2dad70",
87
+ "js/project/tsconfig.json": "ff460bbe00552390594da800297aa4d1bcd0c21e07ebe2794d7fc94cf5debd58",
88
+ "js/project/unified_data_control_config.json": "713e928403c10e069dc2d43b74da0a5ca4323f616ee84917d7df8f2e9bc48b21",
89
+ "js/project/vite.config.ts": "3446dbee391e5c15aa3fa1770cadf16c4214d11715881784ed879c2f317d9f8f",
90
+ "craft-game-maker/SKILL.md": "6763b0b82cc354bdbe22943b393dde9a216d2c0c646b994b1012acd1fb6ab691",
91
+ "craft-game-maker/js.md": "d69b3635771045ab232fffe001652348046e54484e21ba4babcdb65cf9395f69",
92
+ "target.json": "3821310c7edd9d2089132c4cf53a12409f5e76b433e86e4e2074dd5efd722147",
93
+ "bootstrap/SKILL.md": "d2d72812998df230ac2057813c3572961bbe4f17fd629c6be56a8f20f5482164",
94
+ "recovery.md": "9fea60a776e1e19b34bb857d6aceebbb55fae5b54e2d4fa158e11b94d4a5f8dd"
95
+ },
96
+ "id": "80a4bbcc4210bdeab11a21d52ab82305ced80b705103de09b74b55feaf4dbd8f"
97
+ }