@craft_eco/craft-mcp 0.1.26 → 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 (1986) hide show
  1. package/README.md +20 -14
  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 +51 -43
  6. package/dist-server/game-workflow/check.mjs +8 -4
  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 +17 -8
  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 +175 -19
  14. package/dist-server/game-workflow/project-context.mjs +235 -91
  15. package/dist-server/game-workflow/project-leases.mjs +101 -30
  16. package/dist-server/game-workflow/projects.mjs +93 -12
  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 +90 -16
  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/hosts.mjs +30 -5
  24. package/dist-server/integrations/install.mjs +147 -28
  25. package/dist-server/integrations/installation-state.mjs +84 -0
  26. package/dist-server/integrations/runtime-gc.mjs +188 -0
  27. package/dist-server/integrations/runtime.mjs +79 -24
  28. package/dist-server/integrations/updates.mjs +225 -0
  29. package/dist-server/integrations/version-policy.mjs +32 -0
  30. package/dist-server/mcp/control-panel.mjs +5 -2
  31. package/dist-server/mcp/publish-panel.mjs +7 -2
  32. package/dist-server/mcp/server.mjs +136 -27
  33. package/dist-server/mcp/start.mjs +11 -3
  34. package/dist-server/mcp/update-session.mjs +92 -0
  35. package/package.json +8 -10
  36. package/resources/context-filter-report.json +177 -0
  37. package/resources/craft-create/SKILL.md +19 -14
  38. package/resources/craft-update/SKILL.md +25 -0
  39. package/resources/targets/claude/js/bootstrap/SKILL.md +18 -0
  40. package/resources/targets/claude/js/context-filter-report.json +27 -0
  41. package/resources/targets/claude/js/craft-game-maker/SKILL.md +76 -0
  42. package/resources/targets/claude/js/craft-game-maker/js.md +10 -0
  43. package/resources/targets/claude/js/js/bundle.json +97 -0
  44. package/resources/targets/claude/js/js/context/AGENTS.md +29 -0
  45. package/resources/targets/claude/js/js/context/hooks/hooks.json +14 -0
  46. package/resources/targets/claude/js/js/context/knowledge/AssetUrl.md +9 -0
  47. package/resources/targets/claude/js/js/context/knowledge/AssetWiring.md +7 -0
  48. package/resources/targets/claude/js/js/context/knowledge/Layout.md +7 -0
  49. package/resources/targets/claude/js/js/context/knowledge/Lifecycle.md +11 -0
  50. package/resources/targets/claude/js/js/context/knowledge/ResourceLoading.md +9 -0
  51. package/resources/targets/claude/js/js/context/skills/export-config/SKILL.md +16 -0
  52. package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  53. package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  54. package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  55. package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  56. package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  57. package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  58. package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  59. package/resources/targets/claude/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  60. package/resources/targets/claude/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  61. package/resources/targets/claude/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  62. package/resources/targets/claude/js/js/context/skills/index.json +19 -0
  63. package/resources/targets/claude/js/js/context/skills/visual-qa/SKILL.md +14 -0
  64. package/resources/targets/claude/js/js/project/README.md +7 -0
  65. package/resources/targets/claude/js/js/project/configs/assets.json +1 -0
  66. package/resources/targets/claude/js/js/project/configs/game.controls.json +3 -0
  67. package/resources/targets/claude/js/js/project/configs/game.json +3 -0
  68. package/resources/targets/claude/js/js/project/game-runtime.json +7 -0
  69. package/resources/targets/claude/js/js/project/game.config.json +7 -0
  70. package/resources/targets/claude/js/js/project/index.html +20 -0
  71. package/resources/targets/claude/js/js/project/package.json +22 -0
  72. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  73. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  74. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  75. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  76. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  77. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  78. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  79. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  80. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  81. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  82. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  83. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  84. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  85. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  86. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  87. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  88. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  89. package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  90. package/resources/targets/claude/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  91. package/resources/targets/claude/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  92. package/resources/targets/claude/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  93. package/resources/targets/claude/js/js/project/scripts/config-export.mjs +13 -0
  94. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  95. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  96. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  97. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  98. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  99. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  100. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  101. package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  102. package/resources/targets/claude/js/js/project/scripts/write-preview-ready.mjs +22 -0
  103. package/resources/targets/claude/js/js/project/src/display/ui-stage.ts +156 -0
  104. package/resources/targets/claude/js/js/project/src/display/viewport.ts +249 -0
  105. package/resources/targets/claude/js/js/project/src/main.ts +87 -0
  106. package/resources/targets/claude/js/js/project/src/platform.ts +2 -0
  107. package/resources/targets/claude/js/js/project/src/scenes/LoadScene.ts +89 -0
  108. package/resources/targets/claude/js/js/project/src/scenes/PlayScene.ts +17 -0
  109. package/resources/targets/claude/js/js/project/src/screenUi.ts +185 -0
  110. package/resources/targets/claude/js/js/project/src/style.css +294 -0
  111. package/resources/targets/claude/js/js/project/tsconfig.json +20 -0
  112. package/resources/targets/claude/js/js/project/unified_data_control_config.json +20 -0
  113. package/resources/targets/claude/js/js/project/vite.config.ts +5 -0
  114. package/resources/targets/claude/js/recovery.md +13 -0
  115. package/resources/targets/claude/js/target.json +61 -0
  116. package/resources/targets/claude/js3d/bootstrap/SKILL.md +18 -0
  117. package/resources/targets/claude/js3d/context-filter-report.json +27 -0
  118. package/resources/targets/claude/js3d/craft-game-maker/SKILL.md +76 -0
  119. package/resources/targets/claude/js3d/craft-game-maker/js3d.md +12 -0
  120. package/resources/targets/claude/js3d/js3d/bundle.json +108 -0
  121. package/resources/targets/claude/js3d/js3d/context/AGENTS.md +30 -0
  122. package/resources/targets/claude/js3d/js3d/context/hooks/hooks.json +14 -0
  123. package/resources/targets/claude/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  124. package/resources/targets/claude/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  125. package/resources/targets/claude/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  126. package/resources/targets/claude/js3d/js3d/context/knowledge/Layout.md +7 -0
  127. package/resources/targets/claude/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
  128. package/resources/targets/claude/js3d/js3d/context/knowledge/Runtime.md +9 -0
  129. package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  130. package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  131. package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  132. package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  133. package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  134. package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  135. package/resources/targets/claude/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  136. package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  137. package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  138. package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  139. package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  140. package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  141. package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  142. package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  143. package/resources/targets/claude/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  144. package/resources/targets/claude/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  145. package/resources/targets/claude/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  146. package/resources/targets/claude/js3d/js3d/context/skills/index.json +31 -0
  147. package/resources/targets/claude/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  148. package/resources/targets/claude/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  149. package/resources/targets/claude/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  150. package/resources/targets/claude/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  151. package/resources/targets/claude/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  152. package/resources/targets/claude/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  153. package/resources/targets/claude/js3d/js3d/project/README.md +7 -0
  154. package/resources/targets/claude/js3d/js3d/project/configs/game.controls.json +3 -0
  155. package/resources/targets/claude/js3d/js3d/project/configs/game.json +3 -0
  156. package/resources/targets/claude/js3d/js3d/project/game-runtime.json +7 -0
  157. package/resources/targets/claude/js3d/js3d/project/game.config.json +7 -0
  158. package/resources/targets/claude/js3d/js3d/project/index.html +12 -0
  159. package/resources/targets/claude/js3d/js3d/project/package.json +23 -0
  160. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  161. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  162. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  163. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  164. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  165. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  166. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  167. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  168. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  169. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  170. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  171. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  172. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  173. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  174. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  175. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  176. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  177. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  178. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  179. package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  180. package/resources/targets/claude/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  181. package/resources/targets/claude/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  182. package/resources/targets/claude/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  183. package/resources/targets/claude/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  184. package/resources/targets/claude/js3d/js3d/project/scripts/config-export.mjs +15 -0
  185. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  186. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  187. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  188. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  189. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  190. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  191. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  192. package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  193. package/resources/targets/claude/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  194. package/resources/targets/claude/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  195. package/resources/targets/claude/js3d/js3d/project/src/display/viewport.ts +239 -0
  196. package/resources/targets/claude/js3d/js3d/project/src/main.ts +85 -0
  197. package/resources/targets/claude/js3d/js3d/project/src/platform.ts +2 -0
  198. package/resources/targets/claude/js3d/js3d/project/src/style.css +83 -0
  199. package/resources/targets/claude/js3d/js3d/project/tsconfig.json +20 -0
  200. package/resources/targets/claude/js3d/js3d/project/unified_data_control_config.json +20 -0
  201. package/resources/targets/claude/js3d/js3d/project/vite.config.ts +5 -0
  202. package/resources/targets/claude/js3d/recovery.md +13 -0
  203. package/resources/targets/claude/js3d/target.json +60 -0
  204. package/resources/targets/codebuddy/js/bootstrap/SKILL.md +18 -0
  205. package/resources/targets/codebuddy/js/context-filter-report.json +27 -0
  206. package/resources/targets/codebuddy/js/craft-game-maker/SKILL.md +76 -0
  207. package/resources/targets/codebuddy/js/craft-game-maker/js.md +10 -0
  208. package/resources/targets/codebuddy/js/js/bundle.json +97 -0
  209. package/resources/targets/codebuddy/js/js/context/AGENTS.md +29 -0
  210. package/resources/targets/codebuddy/js/js/context/hooks/hooks.json +14 -0
  211. package/resources/targets/codebuddy/js/js/context/knowledge/AssetUrl.md +9 -0
  212. package/resources/targets/codebuddy/js/js/context/knowledge/AssetWiring.md +7 -0
  213. package/resources/targets/codebuddy/js/js/context/knowledge/Layout.md +7 -0
  214. package/resources/targets/codebuddy/js/js/context/knowledge/Lifecycle.md +11 -0
  215. package/resources/targets/codebuddy/js/js/context/knowledge/ResourceLoading.md +9 -0
  216. package/resources/targets/codebuddy/js/js/context/skills/export-config/SKILL.md +16 -0
  217. package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  218. package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  219. package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  220. package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  221. package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  222. package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  223. package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  224. package/resources/targets/codebuddy/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  225. package/resources/targets/codebuddy/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  226. package/resources/targets/codebuddy/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  227. package/resources/targets/codebuddy/js/js/context/skills/index.json +19 -0
  228. package/resources/targets/codebuddy/js/js/context/skills/visual-qa/SKILL.md +14 -0
  229. package/resources/targets/codebuddy/js/js/project/README.md +7 -0
  230. package/resources/targets/codebuddy/js/js/project/configs/assets.json +1 -0
  231. package/resources/targets/codebuddy/js/js/project/configs/game.controls.json +3 -0
  232. package/resources/targets/codebuddy/js/js/project/configs/game.json +3 -0
  233. package/resources/targets/codebuddy/js/js/project/game-runtime.json +7 -0
  234. package/resources/targets/codebuddy/js/js/project/game.config.json +7 -0
  235. package/resources/targets/codebuddy/js/js/project/index.html +20 -0
  236. package/resources/targets/codebuddy/js/js/project/package.json +22 -0
  237. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  238. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  239. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  240. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  241. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  242. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  243. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  244. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  245. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  246. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  247. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  248. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  249. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  250. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  251. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  252. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  253. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  254. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  255. package/resources/targets/codebuddy/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  256. package/resources/targets/codebuddy/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  257. package/resources/targets/codebuddy/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  258. package/resources/targets/codebuddy/js/js/project/scripts/config-export.mjs +13 -0
  259. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  260. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  261. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  262. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  263. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  264. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  265. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  266. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  267. package/resources/targets/codebuddy/js/js/project/scripts/write-preview-ready.mjs +22 -0
  268. package/resources/targets/codebuddy/js/js/project/src/display/ui-stage.ts +156 -0
  269. package/resources/targets/codebuddy/js/js/project/src/display/viewport.ts +249 -0
  270. package/resources/targets/codebuddy/js/js/project/src/main.ts +87 -0
  271. package/resources/targets/codebuddy/js/js/project/src/platform.ts +2 -0
  272. package/resources/targets/codebuddy/js/js/project/src/scenes/LoadScene.ts +89 -0
  273. package/resources/targets/codebuddy/js/js/project/src/scenes/PlayScene.ts +17 -0
  274. package/resources/targets/codebuddy/js/js/project/src/screenUi.ts +185 -0
  275. package/resources/targets/codebuddy/js/js/project/src/style.css +294 -0
  276. package/resources/targets/codebuddy/js/js/project/tsconfig.json +20 -0
  277. package/resources/targets/codebuddy/js/js/project/unified_data_control_config.json +20 -0
  278. package/resources/targets/codebuddy/js/js/project/vite.config.ts +5 -0
  279. package/resources/targets/codebuddy/js/recovery.md +13 -0
  280. package/resources/targets/codebuddy/js/target.json +61 -0
  281. package/resources/targets/codebuddy/js3d/bootstrap/SKILL.md +18 -0
  282. package/resources/targets/codebuddy/js3d/context-filter-report.json +27 -0
  283. package/resources/targets/codebuddy/js3d/craft-game-maker/SKILL.md +76 -0
  284. package/resources/targets/codebuddy/js3d/craft-game-maker/js3d.md +12 -0
  285. package/resources/targets/codebuddy/js3d/js3d/bundle.json +108 -0
  286. package/resources/targets/codebuddy/js3d/js3d/context/AGENTS.md +30 -0
  287. package/resources/targets/codebuddy/js3d/js3d/context/hooks/hooks.json +14 -0
  288. package/resources/targets/codebuddy/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  289. package/resources/targets/codebuddy/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  290. package/resources/targets/codebuddy/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  291. package/resources/targets/codebuddy/js3d/js3d/context/knowledge/Layout.md +7 -0
  292. package/resources/targets/codebuddy/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
  293. package/resources/targets/codebuddy/js3d/js3d/context/knowledge/Runtime.md +9 -0
  294. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  295. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  296. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  297. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  298. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  299. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  300. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  301. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  302. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  303. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  304. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  305. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  306. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  307. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  308. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  309. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  310. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  311. package/resources/targets/codebuddy/js3d/js3d/context/skills/index.json +31 -0
  312. package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  313. package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  314. package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  315. package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  316. package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  317. package/resources/targets/codebuddy/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  318. package/resources/targets/codebuddy/js3d/js3d/project/README.md +7 -0
  319. package/resources/targets/codebuddy/js3d/js3d/project/configs/game.controls.json +3 -0
  320. package/resources/targets/codebuddy/js3d/js3d/project/configs/game.json +3 -0
  321. package/resources/targets/codebuddy/js3d/js3d/project/game-runtime.json +7 -0
  322. package/resources/targets/codebuddy/js3d/js3d/project/game.config.json +7 -0
  323. package/resources/targets/codebuddy/js3d/js3d/project/index.html +12 -0
  324. package/resources/targets/codebuddy/js3d/js3d/project/package.json +23 -0
  325. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  326. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  327. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  328. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  329. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  330. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  331. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  332. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  333. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  334. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  335. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  336. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  337. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  338. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  339. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  340. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  341. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  342. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  343. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  344. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  345. package/resources/targets/codebuddy/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  346. package/resources/targets/codebuddy/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  347. package/resources/targets/codebuddy/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  348. package/resources/targets/codebuddy/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  349. package/resources/targets/codebuddy/js3d/js3d/project/scripts/config-export.mjs +15 -0
  350. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  351. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  352. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  353. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  354. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  355. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  356. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  357. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  358. package/resources/targets/codebuddy/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  359. package/resources/targets/codebuddy/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  360. package/resources/targets/codebuddy/js3d/js3d/project/src/display/viewport.ts +239 -0
  361. package/resources/targets/codebuddy/js3d/js3d/project/src/main.ts +85 -0
  362. package/resources/targets/codebuddy/js3d/js3d/project/src/platform.ts +2 -0
  363. package/resources/targets/codebuddy/js3d/js3d/project/src/style.css +83 -0
  364. package/resources/targets/codebuddy/js3d/js3d/project/tsconfig.json +20 -0
  365. package/resources/targets/codebuddy/js3d/js3d/project/unified_data_control_config.json +20 -0
  366. package/resources/targets/codebuddy/js3d/js3d/project/vite.config.ts +5 -0
  367. package/resources/targets/codebuddy/js3d/recovery.md +13 -0
  368. package/resources/targets/codebuddy/js3d/target.json +60 -0
  369. package/resources/targets/codex/js/bootstrap/SKILL.md +22 -0
  370. package/resources/targets/codex/js/context-filter-report.json +27 -0
  371. package/resources/targets/codex/js/craft-game-maker/SKILL.md +76 -0
  372. package/resources/targets/codex/js/craft-game-maker/js.md +10 -0
  373. package/resources/targets/codex/js/js/bundle.json +97 -0
  374. package/resources/targets/codex/js/js/context/AGENTS.md +29 -0
  375. package/resources/targets/codex/js/js/context/hooks/hooks.json +14 -0
  376. package/resources/targets/codex/js/js/context/knowledge/AssetUrl.md +9 -0
  377. package/resources/targets/codex/js/js/context/knowledge/AssetWiring.md +7 -0
  378. package/resources/targets/codex/js/js/context/knowledge/Layout.md +7 -0
  379. package/resources/targets/codex/js/js/context/knowledge/Lifecycle.md +11 -0
  380. package/resources/targets/codex/js/js/context/knowledge/ResourceLoading.md +9 -0
  381. package/resources/targets/codex/js/js/context/skills/export-config/SKILL.md +16 -0
  382. package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  383. package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  384. package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  385. package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  386. package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  387. package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  388. package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  389. package/resources/targets/codex/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  390. package/resources/targets/codex/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  391. package/resources/targets/codex/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  392. package/resources/targets/codex/js/js/context/skills/index.json +19 -0
  393. package/resources/targets/codex/js/js/context/skills/visual-qa/SKILL.md +14 -0
  394. package/resources/targets/codex/js/js/project/README.md +7 -0
  395. package/resources/targets/codex/js/js/project/configs/assets.json +1 -0
  396. package/resources/targets/codex/js/js/project/configs/game.controls.json +3 -0
  397. package/resources/targets/codex/js/js/project/configs/game.json +3 -0
  398. package/resources/targets/codex/js/js/project/game-runtime.json +7 -0
  399. package/resources/targets/codex/js/js/project/game.config.json +7 -0
  400. package/resources/targets/codex/js/js/project/index.html +20 -0
  401. package/resources/targets/codex/js/js/project/package.json +22 -0
  402. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  403. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  404. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  405. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  406. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  407. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  408. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  409. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  410. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  411. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  412. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  413. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  414. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  415. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  416. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  417. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  418. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  419. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  420. package/resources/targets/codex/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  421. package/resources/targets/codex/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  422. package/resources/targets/codex/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  423. package/resources/targets/codex/js/js/project/scripts/config-export.mjs +13 -0
  424. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  425. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  426. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  427. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  428. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  429. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  430. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  431. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  432. package/resources/targets/codex/js/js/project/scripts/write-preview-ready.mjs +22 -0
  433. package/resources/targets/codex/js/js/project/src/display/ui-stage.ts +156 -0
  434. package/resources/targets/codex/js/js/project/src/display/viewport.ts +249 -0
  435. package/resources/targets/codex/js/js/project/src/main.ts +87 -0
  436. package/resources/targets/codex/js/js/project/src/platform.ts +2 -0
  437. package/resources/targets/codex/js/js/project/src/scenes/LoadScene.ts +89 -0
  438. package/resources/targets/codex/js/js/project/src/scenes/PlayScene.ts +17 -0
  439. package/resources/targets/codex/js/js/project/src/screenUi.ts +185 -0
  440. package/resources/targets/codex/js/js/project/src/style.css +294 -0
  441. package/resources/targets/codex/js/js/project/tsconfig.json +20 -0
  442. package/resources/targets/codex/js/js/project/unified_data_control_config.json +20 -0
  443. package/resources/targets/codex/js/js/project/vite.config.ts +5 -0
  444. package/resources/targets/codex/js/recovery.md +17 -0
  445. package/resources/targets/codex/js/target.json +61 -0
  446. package/resources/targets/codex/js3d/bootstrap/SKILL.md +22 -0
  447. package/resources/targets/codex/js3d/context-filter-report.json +27 -0
  448. package/resources/targets/codex/js3d/craft-game-maker/SKILL.md +76 -0
  449. package/resources/targets/codex/js3d/craft-game-maker/js3d.md +12 -0
  450. package/resources/targets/codex/js3d/js3d/bundle.json +108 -0
  451. package/resources/targets/codex/js3d/js3d/context/AGENTS.md +30 -0
  452. package/resources/targets/codex/js3d/js3d/context/hooks/hooks.json +14 -0
  453. package/resources/targets/codex/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  454. package/resources/targets/codex/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  455. package/resources/targets/codex/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  456. package/resources/targets/codex/js3d/js3d/context/knowledge/Layout.md +7 -0
  457. package/resources/targets/codex/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
  458. package/resources/targets/codex/js3d/js3d/context/knowledge/Runtime.md +9 -0
  459. package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  460. package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  461. package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  462. package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  463. package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  464. package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  465. package/resources/targets/codex/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  466. package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  467. package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  468. package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  469. package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  470. package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  471. package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  472. package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  473. package/resources/targets/codex/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  474. package/resources/targets/codex/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  475. package/resources/targets/codex/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  476. package/resources/targets/codex/js3d/js3d/context/skills/index.json +31 -0
  477. package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  478. package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  479. package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  480. package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  481. package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  482. package/resources/targets/codex/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  483. package/resources/targets/codex/js3d/js3d/project/README.md +7 -0
  484. package/resources/targets/codex/js3d/js3d/project/configs/game.controls.json +3 -0
  485. package/resources/targets/codex/js3d/js3d/project/configs/game.json +3 -0
  486. package/resources/targets/codex/js3d/js3d/project/game-runtime.json +7 -0
  487. package/resources/targets/codex/js3d/js3d/project/game.config.json +7 -0
  488. package/resources/targets/codex/js3d/js3d/project/index.html +12 -0
  489. package/resources/targets/codex/js3d/js3d/project/package.json +23 -0
  490. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  491. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  492. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  493. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  494. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  495. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  496. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  497. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  498. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  499. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  500. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  501. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  502. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  503. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  504. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  505. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  506. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  507. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  508. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  509. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  510. package/resources/targets/codex/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  511. package/resources/targets/codex/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  512. package/resources/targets/codex/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  513. package/resources/targets/codex/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  514. package/resources/targets/codex/js3d/js3d/project/scripts/config-export.mjs +15 -0
  515. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  516. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  517. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  518. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  519. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  520. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  521. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  522. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  523. package/resources/targets/codex/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  524. package/resources/targets/codex/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  525. package/resources/targets/codex/js3d/js3d/project/src/display/viewport.ts +239 -0
  526. package/resources/targets/codex/js3d/js3d/project/src/main.ts +85 -0
  527. package/resources/targets/codex/js3d/js3d/project/src/platform.ts +2 -0
  528. package/resources/targets/codex/js3d/js3d/project/src/style.css +83 -0
  529. package/resources/targets/codex/js3d/js3d/project/tsconfig.json +20 -0
  530. package/resources/targets/codex/js3d/js3d/project/unified_data_control_config.json +20 -0
  531. package/resources/targets/codex/js3d/js3d/project/vite.config.ts +5 -0
  532. package/resources/targets/codex/js3d/recovery.md +17 -0
  533. package/resources/targets/codex/js3d/target.json +60 -0
  534. package/resources/targets/cursor/js/bootstrap/SKILL.md +18 -0
  535. package/resources/targets/cursor/js/context-filter-report.json +27 -0
  536. package/resources/targets/cursor/js/craft-game-maker/SKILL.md +76 -0
  537. package/resources/targets/cursor/js/craft-game-maker/js.md +10 -0
  538. package/resources/targets/cursor/js/js/bundle.json +97 -0
  539. package/resources/targets/cursor/js/js/context/AGENTS.md +29 -0
  540. package/resources/targets/cursor/js/js/context/hooks/hooks.json +14 -0
  541. package/resources/targets/cursor/js/js/context/knowledge/AssetUrl.md +9 -0
  542. package/resources/targets/cursor/js/js/context/knowledge/AssetWiring.md +7 -0
  543. package/resources/targets/cursor/js/js/context/knowledge/Layout.md +7 -0
  544. package/resources/targets/cursor/js/js/context/knowledge/Lifecycle.md +11 -0
  545. package/resources/targets/cursor/js/js/context/knowledge/ResourceLoading.md +9 -0
  546. package/resources/targets/cursor/js/js/context/skills/export-config/SKILL.md +16 -0
  547. package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  548. package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  549. package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  550. package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  551. package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  552. package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  553. package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  554. package/resources/targets/cursor/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  555. package/resources/targets/cursor/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  556. package/resources/targets/cursor/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  557. package/resources/targets/cursor/js/js/context/skills/index.json +19 -0
  558. package/resources/targets/cursor/js/js/context/skills/visual-qa/SKILL.md +14 -0
  559. package/resources/targets/cursor/js/js/project/README.md +7 -0
  560. package/resources/targets/cursor/js/js/project/configs/assets.json +1 -0
  561. package/resources/targets/cursor/js/js/project/configs/game.controls.json +3 -0
  562. package/resources/targets/cursor/js/js/project/configs/game.json +3 -0
  563. package/resources/targets/cursor/js/js/project/game-runtime.json +7 -0
  564. package/resources/targets/cursor/js/js/project/game.config.json +7 -0
  565. package/resources/targets/cursor/js/js/project/index.html +20 -0
  566. package/resources/targets/cursor/js/js/project/package.json +22 -0
  567. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  568. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  569. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  570. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  571. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  572. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  573. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  574. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  575. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  576. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  577. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  578. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  579. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  580. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  581. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  582. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  583. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  584. package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  585. package/resources/targets/cursor/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  586. package/resources/targets/cursor/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  587. package/resources/targets/cursor/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  588. package/resources/targets/cursor/js/js/project/scripts/config-export.mjs +13 -0
  589. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  590. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  591. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  592. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  593. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  594. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  595. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  596. package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  597. package/resources/targets/cursor/js/js/project/scripts/write-preview-ready.mjs +22 -0
  598. package/resources/targets/cursor/js/js/project/src/display/ui-stage.ts +156 -0
  599. package/resources/targets/cursor/js/js/project/src/display/viewport.ts +249 -0
  600. package/resources/targets/cursor/js/js/project/src/main.ts +87 -0
  601. package/resources/targets/cursor/js/js/project/src/platform.ts +2 -0
  602. package/resources/targets/cursor/js/js/project/src/scenes/LoadScene.ts +89 -0
  603. package/resources/targets/cursor/js/js/project/src/scenes/PlayScene.ts +17 -0
  604. package/resources/targets/cursor/js/js/project/src/screenUi.ts +185 -0
  605. package/resources/targets/cursor/js/js/project/src/style.css +294 -0
  606. package/resources/targets/cursor/js/js/project/tsconfig.json +20 -0
  607. package/resources/targets/cursor/js/js/project/unified_data_control_config.json +20 -0
  608. package/resources/targets/cursor/js/js/project/vite.config.ts +5 -0
  609. package/resources/targets/cursor/js/recovery.md +13 -0
  610. package/resources/targets/cursor/js/target.json +61 -0
  611. package/resources/targets/cursor/js3d/bootstrap/SKILL.md +18 -0
  612. package/resources/targets/cursor/js3d/context-filter-report.json +27 -0
  613. package/resources/targets/cursor/js3d/craft-game-maker/SKILL.md +76 -0
  614. package/resources/targets/cursor/js3d/craft-game-maker/js3d.md +12 -0
  615. package/resources/targets/cursor/js3d/js3d/bundle.json +108 -0
  616. package/resources/targets/cursor/js3d/js3d/context/AGENTS.md +30 -0
  617. package/resources/targets/cursor/js3d/js3d/context/hooks/hooks.json +14 -0
  618. package/resources/targets/cursor/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  619. package/resources/targets/cursor/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  620. package/resources/targets/cursor/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  621. package/resources/targets/cursor/js3d/js3d/context/knowledge/Layout.md +7 -0
  622. package/resources/targets/cursor/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
  623. package/resources/targets/cursor/js3d/js3d/context/knowledge/Runtime.md +9 -0
  624. package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  625. package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  626. package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  627. package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  628. package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  629. package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  630. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  631. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  632. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  633. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  634. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  635. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  636. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  637. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  638. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  639. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  640. package/resources/targets/cursor/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  641. package/resources/targets/cursor/js3d/js3d/context/skills/index.json +31 -0
  642. package/resources/targets/cursor/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  643. package/resources/targets/cursor/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  644. package/resources/targets/cursor/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  645. package/resources/targets/cursor/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  646. package/resources/targets/cursor/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  647. package/resources/targets/cursor/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  648. package/resources/targets/cursor/js3d/js3d/project/README.md +7 -0
  649. package/resources/targets/cursor/js3d/js3d/project/configs/game.controls.json +3 -0
  650. package/resources/targets/cursor/js3d/js3d/project/configs/game.json +3 -0
  651. package/resources/targets/cursor/js3d/js3d/project/game-runtime.json +7 -0
  652. package/resources/targets/cursor/js3d/js3d/project/game.config.json +7 -0
  653. package/resources/targets/cursor/js3d/js3d/project/index.html +12 -0
  654. package/resources/targets/cursor/js3d/js3d/project/package.json +23 -0
  655. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  656. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  657. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  658. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  659. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  660. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  661. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  662. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  663. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  664. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  665. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  666. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  667. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  668. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  669. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  670. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  671. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  672. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  673. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  674. package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  675. package/resources/targets/cursor/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  676. package/resources/targets/cursor/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  677. package/resources/targets/cursor/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  678. package/resources/targets/cursor/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  679. package/resources/targets/cursor/js3d/js3d/project/scripts/config-export.mjs +15 -0
  680. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  681. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  682. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  683. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  684. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  685. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  686. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  687. package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  688. package/resources/targets/cursor/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  689. package/resources/targets/cursor/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  690. package/resources/targets/cursor/js3d/js3d/project/src/display/viewport.ts +239 -0
  691. package/resources/targets/cursor/js3d/js3d/project/src/main.ts +85 -0
  692. package/resources/targets/cursor/js3d/js3d/project/src/platform.ts +2 -0
  693. package/resources/targets/cursor/js3d/js3d/project/src/style.css +83 -0
  694. package/resources/targets/cursor/js3d/js3d/project/tsconfig.json +20 -0
  695. package/resources/targets/cursor/js3d/js3d/project/unified_data_control_config.json +20 -0
  696. package/resources/targets/cursor/js3d/js3d/project/vite.config.ts +5 -0
  697. package/resources/targets/cursor/js3d/recovery.md +13 -0
  698. package/resources/targets/cursor/js3d/target.json +60 -0
  699. package/resources/targets/dsh/js/bootstrap/SKILL.md +18 -0
  700. package/resources/targets/dsh/js/context-filter-report.json +27 -0
  701. package/resources/targets/dsh/js/craft-game-maker/SKILL.md +76 -0
  702. package/resources/targets/dsh/js/craft-game-maker/js.md +10 -0
  703. package/resources/targets/dsh/js/js/bundle.json +97 -0
  704. package/resources/targets/dsh/js/js/context/AGENTS.md +29 -0
  705. package/resources/targets/dsh/js/js/context/hooks/hooks.json +14 -0
  706. package/resources/targets/dsh/js/js/context/knowledge/AssetUrl.md +9 -0
  707. package/resources/targets/dsh/js/js/context/knowledge/AssetWiring.md +7 -0
  708. package/resources/targets/dsh/js/js/context/knowledge/Layout.md +7 -0
  709. package/resources/targets/dsh/js/js/context/knowledge/Lifecycle.md +11 -0
  710. package/resources/targets/dsh/js/js/context/knowledge/ResourceLoading.md +9 -0
  711. package/resources/targets/dsh/js/js/context/skills/export-config/SKILL.md +16 -0
  712. package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  713. package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  714. package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  715. package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  716. package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  717. package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  718. package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  719. package/resources/targets/dsh/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  720. package/resources/targets/dsh/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  721. package/resources/targets/dsh/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  722. package/resources/targets/dsh/js/js/context/skills/index.json +19 -0
  723. package/resources/targets/dsh/js/js/context/skills/visual-qa/SKILL.md +14 -0
  724. package/resources/targets/dsh/js/js/project/README.md +7 -0
  725. package/resources/targets/dsh/js/js/project/configs/assets.json +1 -0
  726. package/resources/targets/dsh/js/js/project/configs/game.controls.json +3 -0
  727. package/resources/targets/dsh/js/js/project/configs/game.json +3 -0
  728. package/resources/targets/dsh/js/js/project/game-runtime.json +7 -0
  729. package/resources/targets/dsh/js/js/project/game.config.json +7 -0
  730. package/resources/targets/dsh/js/js/project/index.html +20 -0
  731. package/resources/targets/dsh/js/js/project/package.json +22 -0
  732. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  733. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  734. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  735. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  736. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  737. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  738. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  739. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  740. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  741. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  742. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  743. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  744. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  745. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  746. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  747. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  748. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  749. package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  750. package/resources/targets/dsh/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  751. package/resources/targets/dsh/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  752. package/resources/targets/dsh/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  753. package/resources/targets/dsh/js/js/project/scripts/config-export.mjs +13 -0
  754. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  755. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  756. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  757. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  758. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  759. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  760. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  761. package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  762. package/resources/targets/dsh/js/js/project/scripts/write-preview-ready.mjs +22 -0
  763. package/resources/targets/dsh/js/js/project/src/display/ui-stage.ts +156 -0
  764. package/resources/targets/dsh/js/js/project/src/display/viewport.ts +249 -0
  765. package/resources/targets/dsh/js/js/project/src/main.ts +87 -0
  766. package/resources/targets/dsh/js/js/project/src/platform.ts +2 -0
  767. package/resources/targets/dsh/js/js/project/src/scenes/LoadScene.ts +89 -0
  768. package/resources/targets/dsh/js/js/project/src/scenes/PlayScene.ts +17 -0
  769. package/resources/targets/dsh/js/js/project/src/screenUi.ts +185 -0
  770. package/resources/targets/dsh/js/js/project/src/style.css +294 -0
  771. package/resources/targets/dsh/js/js/project/tsconfig.json +20 -0
  772. package/resources/targets/dsh/js/js/project/unified_data_control_config.json +20 -0
  773. package/resources/targets/dsh/js/js/project/vite.config.ts +5 -0
  774. package/resources/targets/dsh/js/recovery.md +13 -0
  775. package/resources/targets/dsh/js/target.json +61 -0
  776. package/resources/targets/dsh/js3d/bootstrap/SKILL.md +18 -0
  777. package/resources/targets/dsh/js3d/context-filter-report.json +27 -0
  778. package/resources/targets/dsh/js3d/craft-game-maker/SKILL.md +76 -0
  779. package/resources/targets/dsh/js3d/craft-game-maker/js3d.md +12 -0
  780. package/resources/targets/dsh/js3d/js3d/bundle.json +108 -0
  781. package/resources/targets/dsh/js3d/js3d/context/AGENTS.md +30 -0
  782. package/resources/targets/dsh/js3d/js3d/context/hooks/hooks.json +14 -0
  783. package/resources/targets/dsh/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  784. package/resources/targets/dsh/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  785. package/resources/targets/dsh/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  786. package/resources/targets/dsh/js3d/js3d/context/knowledge/Layout.md +7 -0
  787. package/resources/targets/dsh/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
  788. package/resources/targets/dsh/js3d/js3d/context/knowledge/Runtime.md +9 -0
  789. package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  790. package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  791. package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  792. package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  793. package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  794. package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  795. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  796. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  797. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  798. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  799. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  800. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  801. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  802. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  803. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  804. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  805. package/resources/targets/dsh/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  806. package/resources/targets/dsh/js3d/js3d/context/skills/index.json +31 -0
  807. package/resources/targets/dsh/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  808. package/resources/targets/dsh/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  809. package/resources/targets/dsh/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  810. package/resources/targets/dsh/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  811. package/resources/targets/dsh/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  812. package/resources/targets/dsh/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  813. package/resources/targets/dsh/js3d/js3d/project/README.md +7 -0
  814. package/resources/targets/dsh/js3d/js3d/project/configs/game.controls.json +3 -0
  815. package/resources/targets/dsh/js3d/js3d/project/configs/game.json +3 -0
  816. package/resources/targets/dsh/js3d/js3d/project/game-runtime.json +7 -0
  817. package/resources/targets/dsh/js3d/js3d/project/game.config.json +7 -0
  818. package/resources/targets/dsh/js3d/js3d/project/index.html +12 -0
  819. package/resources/targets/dsh/js3d/js3d/project/package.json +23 -0
  820. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  821. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  822. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  823. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  824. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  825. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  826. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  827. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  828. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  829. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  830. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  831. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  832. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  833. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  834. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  835. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  836. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  837. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  838. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  839. package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  840. package/resources/targets/dsh/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  841. package/resources/targets/dsh/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  842. package/resources/targets/dsh/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  843. package/resources/targets/dsh/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  844. package/resources/targets/dsh/js3d/js3d/project/scripts/config-export.mjs +15 -0
  845. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  846. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  847. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  848. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  849. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  850. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  851. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  852. package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  853. package/resources/targets/dsh/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  854. package/resources/targets/dsh/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  855. package/resources/targets/dsh/js3d/js3d/project/src/display/viewport.ts +239 -0
  856. package/resources/targets/dsh/js3d/js3d/project/src/main.ts +85 -0
  857. package/resources/targets/dsh/js3d/js3d/project/src/platform.ts +2 -0
  858. package/resources/targets/dsh/js3d/js3d/project/src/style.css +83 -0
  859. package/resources/targets/dsh/js3d/js3d/project/tsconfig.json +20 -0
  860. package/resources/targets/dsh/js3d/js3d/project/unified_data_control_config.json +20 -0
  861. package/resources/targets/dsh/js3d/js3d/project/vite.config.ts +5 -0
  862. package/resources/targets/dsh/js3d/recovery.md +13 -0
  863. package/resources/targets/dsh/js3d/target.json +60 -0
  864. package/resources/targets/index.json +101 -0
  865. package/resources/targets/kimi/js/bootstrap/SKILL.md +18 -0
  866. package/resources/targets/kimi/js/context-filter-report.json +27 -0
  867. package/resources/targets/kimi/js/craft-game-maker/SKILL.md +76 -0
  868. package/resources/targets/kimi/js/craft-game-maker/js.md +10 -0
  869. package/resources/targets/kimi/js/js/bundle.json +97 -0
  870. package/resources/targets/kimi/js/js/context/AGENTS.md +29 -0
  871. package/resources/targets/kimi/js/js/context/hooks/hooks.json +14 -0
  872. package/resources/targets/kimi/js/js/context/knowledge/AssetUrl.md +9 -0
  873. package/resources/targets/kimi/js/js/context/knowledge/AssetWiring.md +7 -0
  874. package/resources/targets/kimi/js/js/context/knowledge/Layout.md +7 -0
  875. package/resources/targets/kimi/js/js/context/knowledge/Lifecycle.md +11 -0
  876. package/resources/targets/kimi/js/js/context/knowledge/ResourceLoading.md +9 -0
  877. package/resources/targets/kimi/js/js/context/skills/export-config/SKILL.md +16 -0
  878. package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  879. package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  880. package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  881. package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  882. package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  883. package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  884. package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  885. package/resources/targets/kimi/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  886. package/resources/targets/kimi/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  887. package/resources/targets/kimi/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  888. package/resources/targets/kimi/js/js/context/skills/index.json +19 -0
  889. package/resources/targets/kimi/js/js/context/skills/visual-qa/SKILL.md +14 -0
  890. package/resources/targets/kimi/js/js/project/README.md +7 -0
  891. package/resources/targets/kimi/js/js/project/configs/assets.json +1 -0
  892. package/resources/targets/kimi/js/js/project/configs/game.controls.json +3 -0
  893. package/resources/targets/kimi/js/js/project/configs/game.json +3 -0
  894. package/resources/targets/kimi/js/js/project/game-runtime.json +7 -0
  895. package/resources/targets/kimi/js/js/project/game.config.json +7 -0
  896. package/resources/targets/kimi/js/js/project/index.html +20 -0
  897. package/resources/targets/kimi/js/js/project/package.json +22 -0
  898. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  899. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  900. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  901. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  902. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  903. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  904. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  905. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  906. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  907. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  908. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  909. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  910. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  911. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  912. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  913. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  914. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  915. package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  916. package/resources/targets/kimi/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  917. package/resources/targets/kimi/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  918. package/resources/targets/kimi/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  919. package/resources/targets/kimi/js/js/project/scripts/config-export.mjs +13 -0
  920. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  921. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  922. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  923. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  924. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  925. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  926. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  927. package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  928. package/resources/targets/kimi/js/js/project/scripts/write-preview-ready.mjs +22 -0
  929. package/resources/targets/kimi/js/js/project/src/display/ui-stage.ts +156 -0
  930. package/resources/targets/kimi/js/js/project/src/display/viewport.ts +249 -0
  931. package/resources/targets/kimi/js/js/project/src/main.ts +87 -0
  932. package/resources/targets/kimi/js/js/project/src/platform.ts +2 -0
  933. package/resources/targets/kimi/js/js/project/src/scenes/LoadScene.ts +89 -0
  934. package/resources/targets/kimi/js/js/project/src/scenes/PlayScene.ts +17 -0
  935. package/resources/targets/kimi/js/js/project/src/screenUi.ts +185 -0
  936. package/resources/targets/kimi/js/js/project/src/style.css +294 -0
  937. package/resources/targets/kimi/js/js/project/tsconfig.json +20 -0
  938. package/resources/targets/kimi/js/js/project/unified_data_control_config.json +20 -0
  939. package/resources/targets/kimi/js/js/project/vite.config.ts +5 -0
  940. package/resources/targets/kimi/js/recovery.md +13 -0
  941. package/resources/targets/kimi/js/target.json +61 -0
  942. package/resources/targets/kimi/js3d/bootstrap/SKILL.md +18 -0
  943. package/resources/targets/kimi/js3d/context-filter-report.json +27 -0
  944. package/resources/targets/kimi/js3d/craft-game-maker/SKILL.md +76 -0
  945. package/resources/targets/kimi/js3d/craft-game-maker/js3d.md +12 -0
  946. package/resources/targets/kimi/js3d/js3d/bundle.json +108 -0
  947. package/resources/targets/kimi/js3d/js3d/context/AGENTS.md +30 -0
  948. package/resources/targets/kimi/js3d/js3d/context/hooks/hooks.json +14 -0
  949. package/resources/targets/kimi/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  950. package/resources/targets/kimi/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  951. package/resources/targets/kimi/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  952. package/resources/targets/kimi/js3d/js3d/context/knowledge/Layout.md +7 -0
  953. package/resources/targets/kimi/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
  954. package/resources/targets/kimi/js3d/js3d/context/knowledge/Runtime.md +9 -0
  955. package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  956. package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  957. package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  958. package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  959. package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  960. package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  961. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  962. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  963. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  964. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  965. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  966. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  967. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  968. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  969. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  970. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  971. package/resources/targets/kimi/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  972. package/resources/targets/kimi/js3d/js3d/context/skills/index.json +31 -0
  973. package/resources/targets/kimi/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  974. package/resources/targets/kimi/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  975. package/resources/targets/kimi/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  976. package/resources/targets/kimi/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  977. package/resources/targets/kimi/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  978. package/resources/targets/kimi/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  979. package/resources/targets/kimi/js3d/js3d/project/README.md +7 -0
  980. package/resources/targets/kimi/js3d/js3d/project/configs/game.controls.json +3 -0
  981. package/resources/targets/kimi/js3d/js3d/project/configs/game.json +3 -0
  982. package/resources/targets/kimi/js3d/js3d/project/game-runtime.json +7 -0
  983. package/resources/targets/kimi/js3d/js3d/project/game.config.json +7 -0
  984. package/resources/targets/kimi/js3d/js3d/project/index.html +12 -0
  985. package/resources/targets/kimi/js3d/js3d/project/package.json +23 -0
  986. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  987. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  988. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  989. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  990. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  991. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  992. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  993. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  994. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  995. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  996. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  997. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  998. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  999. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  1000. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  1001. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  1002. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  1003. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  1004. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  1005. package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  1006. package/resources/targets/kimi/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  1007. package/resources/targets/kimi/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  1008. package/resources/targets/kimi/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  1009. package/resources/targets/kimi/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  1010. package/resources/targets/kimi/js3d/js3d/project/scripts/config-export.mjs +15 -0
  1011. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  1012. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  1013. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  1014. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  1015. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  1016. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  1017. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  1018. package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  1019. package/resources/targets/kimi/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  1020. package/resources/targets/kimi/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  1021. package/resources/targets/kimi/js3d/js3d/project/src/display/viewport.ts +239 -0
  1022. package/resources/targets/kimi/js3d/js3d/project/src/main.ts +85 -0
  1023. package/resources/targets/kimi/js3d/js3d/project/src/platform.ts +2 -0
  1024. package/resources/targets/kimi/js3d/js3d/project/src/style.css +83 -0
  1025. package/resources/targets/kimi/js3d/js3d/project/tsconfig.json +20 -0
  1026. package/resources/targets/kimi/js3d/js3d/project/unified_data_control_config.json +20 -0
  1027. package/resources/targets/kimi/js3d/js3d/project/vite.config.ts +5 -0
  1028. package/resources/targets/kimi/js3d/recovery.md +13 -0
  1029. package/resources/targets/kimi/js3d/target.json +60 -0
  1030. package/resources/targets/workbuddy/js/bootstrap/SKILL.md +24 -0
  1031. package/resources/targets/workbuddy/js/context-filter-report.json +27 -0
  1032. package/resources/targets/workbuddy/js/craft-game-maker/SKILL.md +76 -0
  1033. package/resources/targets/workbuddy/js/craft-game-maker/js.md +10 -0
  1034. package/resources/targets/workbuddy/js/js/bundle.json +97 -0
  1035. package/resources/targets/workbuddy/js/js/context/AGENTS.md +29 -0
  1036. package/resources/targets/workbuddy/js/js/context/hooks/hooks.json +14 -0
  1037. package/resources/targets/workbuddy/js/js/context/knowledge/AssetUrl.md +9 -0
  1038. package/resources/targets/workbuddy/js/js/context/knowledge/AssetWiring.md +7 -0
  1039. package/resources/targets/workbuddy/js/js/context/knowledge/Layout.md +7 -0
  1040. package/resources/targets/workbuddy/js/js/context/knowledge/Lifecycle.md +11 -0
  1041. package/resources/targets/workbuddy/js/js/context/knowledge/ResourceLoading.md +9 -0
  1042. package/resources/targets/workbuddy/js/js/context/skills/export-config/SKILL.md +16 -0
  1043. package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  1044. package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  1045. package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  1046. package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  1047. package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  1048. package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  1049. package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  1050. package/resources/targets/workbuddy/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  1051. package/resources/targets/workbuddy/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  1052. package/resources/targets/workbuddy/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  1053. package/resources/targets/workbuddy/js/js/context/skills/index.json +19 -0
  1054. package/resources/targets/workbuddy/js/js/context/skills/visual-qa/SKILL.md +14 -0
  1055. package/resources/targets/workbuddy/js/js/project/README.md +7 -0
  1056. package/resources/targets/workbuddy/js/js/project/configs/assets.json +1 -0
  1057. package/resources/targets/workbuddy/js/js/project/configs/game.controls.json +3 -0
  1058. package/resources/targets/workbuddy/js/js/project/configs/game.json +3 -0
  1059. package/resources/targets/workbuddy/js/js/project/game-runtime.json +7 -0
  1060. package/resources/targets/workbuddy/js/js/project/game.config.json +7 -0
  1061. package/resources/targets/workbuddy/js/js/project/index.html +20 -0
  1062. package/resources/targets/workbuddy/js/js/project/package.json +22 -0
  1063. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  1064. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  1065. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  1066. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  1067. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  1068. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  1069. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  1070. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  1071. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  1072. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  1073. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  1074. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  1075. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  1076. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  1077. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  1078. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  1079. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  1080. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  1081. package/resources/targets/workbuddy/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  1082. package/resources/targets/workbuddy/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  1083. package/resources/targets/workbuddy/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  1084. package/resources/targets/workbuddy/js/js/project/scripts/config-export.mjs +13 -0
  1085. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  1086. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  1087. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  1088. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  1089. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  1090. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  1091. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  1092. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  1093. package/resources/targets/workbuddy/js/js/project/scripts/write-preview-ready.mjs +22 -0
  1094. package/resources/targets/workbuddy/js/js/project/src/display/ui-stage.ts +156 -0
  1095. package/resources/targets/workbuddy/js/js/project/src/display/viewport.ts +249 -0
  1096. package/resources/targets/workbuddy/js/js/project/src/main.ts +87 -0
  1097. package/resources/targets/workbuddy/js/js/project/src/platform.ts +2 -0
  1098. package/resources/targets/workbuddy/js/js/project/src/scenes/LoadScene.ts +89 -0
  1099. package/resources/targets/workbuddy/js/js/project/src/scenes/PlayScene.ts +17 -0
  1100. package/resources/targets/workbuddy/js/js/project/src/screenUi.ts +185 -0
  1101. package/resources/targets/workbuddy/js/js/project/src/style.css +294 -0
  1102. package/resources/targets/workbuddy/js/js/project/tsconfig.json +20 -0
  1103. package/resources/targets/workbuddy/js/js/project/unified_data_control_config.json +20 -0
  1104. package/resources/targets/workbuddy/js/js/project/vite.config.ts +5 -0
  1105. package/resources/targets/workbuddy/js/recovery.md +19 -0
  1106. package/resources/targets/workbuddy/js/target.json +61 -0
  1107. package/resources/targets/workbuddy/js3d/bootstrap/SKILL.md +24 -0
  1108. package/resources/targets/workbuddy/js3d/context-filter-report.json +27 -0
  1109. package/resources/targets/workbuddy/js3d/craft-game-maker/SKILL.md +76 -0
  1110. package/resources/targets/workbuddy/js3d/craft-game-maker/js3d.md +12 -0
  1111. package/resources/targets/workbuddy/js3d/js3d/bundle.json +108 -0
  1112. package/resources/targets/workbuddy/js3d/js3d/context/AGENTS.md +30 -0
  1113. package/resources/targets/workbuddy/js3d/js3d/context/hooks/hooks.json +14 -0
  1114. package/resources/targets/workbuddy/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  1115. package/resources/targets/workbuddy/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  1116. package/resources/targets/workbuddy/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  1117. package/resources/targets/workbuddy/js3d/js3d/context/knowledge/Layout.md +7 -0
  1118. package/resources/targets/workbuddy/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
  1119. package/resources/targets/workbuddy/js3d/js3d/context/knowledge/Runtime.md +9 -0
  1120. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  1121. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  1122. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  1123. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  1124. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  1125. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  1126. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  1127. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  1128. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  1129. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  1130. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  1131. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  1132. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  1133. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  1134. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  1135. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  1136. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  1137. package/resources/targets/workbuddy/js3d/js3d/context/skills/index.json +31 -0
  1138. package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  1139. package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  1140. package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  1141. package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  1142. package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  1143. package/resources/targets/workbuddy/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  1144. package/resources/targets/workbuddy/js3d/js3d/project/README.md +7 -0
  1145. package/resources/targets/workbuddy/js3d/js3d/project/configs/game.controls.json +3 -0
  1146. package/resources/targets/workbuddy/js3d/js3d/project/configs/game.json +3 -0
  1147. package/resources/targets/workbuddy/js3d/js3d/project/game-runtime.json +7 -0
  1148. package/resources/targets/workbuddy/js3d/js3d/project/game.config.json +7 -0
  1149. package/resources/targets/workbuddy/js3d/js3d/project/index.html +12 -0
  1150. package/resources/targets/workbuddy/js3d/js3d/project/package.json +23 -0
  1151. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  1152. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  1153. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  1154. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  1155. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  1156. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  1157. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  1158. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  1159. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  1160. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  1161. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  1162. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  1163. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  1164. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  1165. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  1166. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  1167. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  1168. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  1169. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  1170. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  1171. package/resources/targets/workbuddy/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  1172. package/resources/targets/workbuddy/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  1173. package/resources/targets/workbuddy/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  1174. package/resources/targets/workbuddy/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  1175. package/resources/targets/workbuddy/js3d/js3d/project/scripts/config-export.mjs +15 -0
  1176. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  1177. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  1178. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  1179. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  1180. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  1181. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  1182. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  1183. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  1184. package/resources/targets/workbuddy/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  1185. package/resources/targets/workbuddy/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  1186. package/resources/targets/workbuddy/js3d/js3d/project/src/display/viewport.ts +239 -0
  1187. package/resources/targets/workbuddy/js3d/js3d/project/src/main.ts +85 -0
  1188. package/resources/targets/workbuddy/js3d/js3d/project/src/platform.ts +2 -0
  1189. package/resources/targets/workbuddy/js3d/js3d/project/src/style.css +83 -0
  1190. package/resources/targets/workbuddy/js3d/js3d/project/tsconfig.json +20 -0
  1191. package/resources/targets/workbuddy/js3d/js3d/project/unified_data_control_config.json +20 -0
  1192. package/resources/targets/workbuddy/js3d/js3d/project/vite.config.ts +5 -0
  1193. package/resources/targets/workbuddy/js3d/recovery.md +19 -0
  1194. package/resources/targets/workbuddy/js3d/target.json +60 -0
  1195. package/resources/targets/zcode/js/bootstrap/SKILL.md +18 -0
  1196. package/resources/targets/zcode/js/context-filter-report.json +27 -0
  1197. package/resources/targets/zcode/js/craft-game-maker/SKILL.md +76 -0
  1198. package/resources/targets/zcode/js/craft-game-maker/js.md +10 -0
  1199. package/resources/targets/zcode/js/js/bundle.json +97 -0
  1200. package/resources/targets/zcode/js/js/context/AGENTS.md +29 -0
  1201. package/resources/targets/zcode/js/js/context/hooks/hooks.json +14 -0
  1202. package/resources/targets/zcode/js/js/context/knowledge/AssetUrl.md +9 -0
  1203. package/resources/targets/zcode/js/js/context/knowledge/AssetWiring.md +7 -0
  1204. package/resources/targets/zcode/js/js/context/knowledge/Layout.md +7 -0
  1205. package/resources/targets/zcode/js/js/context/knowledge/Lifecycle.md +11 -0
  1206. package/resources/targets/zcode/js/js/context/knowledge/ResourceLoading.md +9 -0
  1207. package/resources/targets/zcode/js/js/context/skills/export-config/SKILL.md +16 -0
  1208. package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  1209. package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  1210. package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  1211. package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  1212. package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  1213. package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  1214. package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  1215. package/resources/targets/zcode/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  1216. package/resources/targets/zcode/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  1217. package/resources/targets/zcode/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  1218. package/resources/targets/zcode/js/js/context/skills/index.json +19 -0
  1219. package/resources/targets/zcode/js/js/context/skills/visual-qa/SKILL.md +14 -0
  1220. package/resources/targets/zcode/js/js/project/README.md +7 -0
  1221. package/resources/targets/zcode/js/js/project/configs/assets.json +1 -0
  1222. package/resources/targets/zcode/js/js/project/configs/game.controls.json +3 -0
  1223. package/resources/targets/zcode/js/js/project/configs/game.json +3 -0
  1224. package/resources/targets/zcode/js/js/project/game-runtime.json +7 -0
  1225. package/resources/targets/zcode/js/js/project/game.config.json +7 -0
  1226. package/resources/targets/zcode/js/js/project/index.html +20 -0
  1227. package/resources/targets/zcode/js/js/project/package.json +22 -0
  1228. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  1229. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  1230. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  1231. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  1232. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  1233. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  1234. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  1235. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  1236. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  1237. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  1238. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  1239. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  1240. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  1241. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  1242. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  1243. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  1244. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  1245. package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  1246. package/resources/targets/zcode/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  1247. package/resources/targets/zcode/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  1248. package/resources/targets/zcode/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  1249. package/resources/targets/zcode/js/js/project/scripts/config-export.mjs +13 -0
  1250. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  1251. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  1252. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  1253. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  1254. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  1255. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  1256. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  1257. package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  1258. package/resources/targets/zcode/js/js/project/scripts/write-preview-ready.mjs +22 -0
  1259. package/resources/targets/zcode/js/js/project/src/display/ui-stage.ts +156 -0
  1260. package/resources/targets/zcode/js/js/project/src/display/viewport.ts +249 -0
  1261. package/resources/targets/zcode/js/js/project/src/main.ts +87 -0
  1262. package/resources/targets/zcode/js/js/project/src/platform.ts +2 -0
  1263. package/resources/targets/zcode/js/js/project/src/scenes/LoadScene.ts +89 -0
  1264. package/resources/targets/zcode/js/js/project/src/scenes/PlayScene.ts +17 -0
  1265. package/resources/targets/zcode/js/js/project/src/screenUi.ts +185 -0
  1266. package/resources/targets/zcode/js/js/project/src/style.css +294 -0
  1267. package/resources/targets/zcode/js/js/project/tsconfig.json +20 -0
  1268. package/resources/targets/zcode/js/js/project/unified_data_control_config.json +20 -0
  1269. package/resources/targets/zcode/js/js/project/vite.config.ts +5 -0
  1270. package/resources/targets/zcode/js/recovery.md +13 -0
  1271. package/resources/targets/zcode/js/target.json +61 -0
  1272. package/resources/targets/zcode/js3d/bootstrap/SKILL.md +18 -0
  1273. package/resources/targets/zcode/js3d/context-filter-report.json +27 -0
  1274. package/resources/targets/zcode/js3d/craft-game-maker/SKILL.md +76 -0
  1275. package/resources/targets/zcode/js3d/craft-game-maker/js3d.md +12 -0
  1276. package/resources/targets/zcode/js3d/js3d/bundle.json +108 -0
  1277. package/resources/targets/zcode/js3d/js3d/context/AGENTS.md +30 -0
  1278. package/resources/targets/zcode/js3d/js3d/context/hooks/hooks.json +14 -0
  1279. package/resources/targets/zcode/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  1280. package/resources/targets/zcode/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
  1281. package/resources/targets/zcode/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  1282. package/resources/targets/zcode/js3d/js3d/context/knowledge/Layout.md +7 -0
  1283. package/resources/targets/zcode/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
  1284. package/resources/targets/zcode/js3d/js3d/context/knowledge/Runtime.md +9 -0
  1285. package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  1286. package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  1287. package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  1288. package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  1289. package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  1290. package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  1291. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  1292. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  1293. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  1294. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  1295. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  1296. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  1297. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  1298. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  1299. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  1300. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  1301. package/resources/targets/zcode/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  1302. package/resources/targets/zcode/js3d/js3d/context/skills/index.json +31 -0
  1303. package/resources/targets/zcode/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  1304. package/resources/targets/zcode/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  1305. package/resources/targets/zcode/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  1306. package/resources/targets/zcode/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  1307. package/resources/targets/zcode/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  1308. package/resources/targets/zcode/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  1309. package/resources/targets/zcode/js3d/js3d/project/README.md +7 -0
  1310. package/resources/targets/zcode/js3d/js3d/project/configs/game.controls.json +3 -0
  1311. package/resources/targets/zcode/js3d/js3d/project/configs/game.json +3 -0
  1312. package/resources/targets/zcode/js3d/js3d/project/game-runtime.json +7 -0
  1313. package/resources/targets/zcode/js3d/js3d/project/game.config.json +7 -0
  1314. package/resources/targets/zcode/js3d/js3d/project/index.html +12 -0
  1315. package/resources/targets/zcode/js3d/js3d/project/package.json +23 -0
  1316. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  1317. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  1318. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  1319. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  1320. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  1321. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  1322. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  1323. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  1324. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  1325. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  1326. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  1327. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  1328. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  1329. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  1330. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  1331. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  1332. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  1333. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  1334. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  1335. package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  1336. package/resources/targets/zcode/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  1337. package/resources/targets/zcode/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  1338. package/resources/targets/zcode/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  1339. package/resources/targets/zcode/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  1340. package/resources/targets/zcode/js3d/js3d/project/scripts/config-export.mjs +15 -0
  1341. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  1342. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  1343. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  1344. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  1345. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  1346. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  1347. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  1348. package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  1349. package/resources/targets/zcode/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  1350. package/resources/targets/zcode/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  1351. package/resources/targets/zcode/js3d/js3d/project/src/display/viewport.ts +239 -0
  1352. package/resources/targets/zcode/js3d/js3d/project/src/main.ts +85 -0
  1353. package/resources/targets/zcode/js3d/js3d/project/src/platform.ts +2 -0
  1354. package/resources/targets/zcode/js3d/js3d/project/src/style.css +83 -0
  1355. package/resources/targets/zcode/js3d/js3d/project/tsconfig.json +20 -0
  1356. package/resources/targets/zcode/js3d/js3d/project/unified_data_control_config.json +20 -0
  1357. package/resources/targets/zcode/js3d/js3d/project/vite.config.ts +5 -0
  1358. package/resources/targets/zcode/js3d/recovery.md +13 -0
  1359. package/resources/targets/zcode/js3d/target.json +60 -0
  1360. package/vendor/craft-runtime/NOTICE.md +3 -0
  1361. package/vendor/craft-runtime/SOURCE.json +63 -0
  1362. package/vendor/craft-runtime/index.js +1716 -0
  1363. package/vendor/craft-runtime/isolated-launcher.js +94 -0
  1364. package/vendor/craft-runtime/isolated-preload.js +80 -0
  1365. package/vendor/craft-runtime/package.json +8 -0
  1366. package/vendor/agent-cli/dist/runtime-tools/registry.json +0 -6
  1367. package/vendor/agent-cli/dist/runtime-tools/tool-bundle-types.d.cts +0 -15
  1368. package/vendor/agent-cli/dist/runtime-tools/tool-bundle.cjs +0 -129
  1369. package/vendor/agent-cli/dist/runtime-tools/ue/blender-cook-assets.cjs +0 -296
  1370. package/vendor/agent-cli/dist/runtime-tools/ue/context-adapter.cjs +0 -48
  1371. package/vendor/agent-cli/dist/runtime-tools/ue/scene-process-lock.cjs +0 -110
  1372. package/vendor/agent-cli/dist/runtime-tools/ue/tool-manifest.json +0 -22
  1373. package/vendor/agent-cli/dist/runtime-tools/ue/ue-asset-references.cjs +0 -305
  1374. package/vendor/agent-cli/dist/src/artifacts/build-failure.d.ts +0 -8
  1375. package/vendor/agent-cli/dist/src/artifacts/build-failure.d.ts.map +0 -1
  1376. package/vendor/agent-cli/dist/src/artifacts/build-failure.js +0 -39
  1377. package/vendor/agent-cli/dist/src/artifacts/build-failure.js.map +0 -1
  1378. package/vendor/agent-cli/dist/src/artifacts/context-finalize.d.ts +0 -3
  1379. package/vendor/agent-cli/dist/src/artifacts/context-finalize.d.ts.map +0 -1
  1380. package/vendor/agent-cli/dist/src/artifacts/context-finalize.js +0 -54
  1381. package/vendor/agent-cli/dist/src/artifacts/context-finalize.js.map +0 -1
  1382. package/vendor/agent-cli/dist/src/artifacts/dependency-toolchain.d.ts +0 -5
  1383. package/vendor/agent-cli/dist/src/artifacts/dependency-toolchain.d.ts.map +0 -1
  1384. package/vendor/agent-cli/dist/src/artifacts/dependency-toolchain.js +0 -45
  1385. package/vendor/agent-cli/dist/src/artifacts/dependency-toolchain.js.map +0 -1
  1386. package/vendor/agent-cli/dist/src/artifacts/external-game-archive.d.ts +0 -19
  1387. package/vendor/agent-cli/dist/src/artifacts/external-game-archive.d.ts.map +0 -1
  1388. package/vendor/agent-cli/dist/src/artifacts/external-game-archive.js +0 -107
  1389. package/vendor/agent-cli/dist/src/artifacts/external-game-archive.js.map +0 -1
  1390. package/vendor/agent-cli/dist/src/artifacts/external-game-upload.d.ts +0 -44
  1391. package/vendor/agent-cli/dist/src/artifacts/external-game-upload.d.ts.map +0 -1
  1392. package/vendor/agent-cli/dist/src/artifacts/external-game-upload.js +0 -106
  1393. package/vendor/agent-cli/dist/src/artifacts/external-game-upload.js.map +0 -1
  1394. package/vendor/agent-cli/dist/src/artifacts/native-source.d.ts +0 -3
  1395. package/vendor/agent-cli/dist/src/artifacts/native-source.d.ts.map +0 -1
  1396. package/vendor/agent-cli/dist/src/artifacts/native-source.js +0 -13
  1397. package/vendor/agent-cli/dist/src/artifacts/native-source.js.map +0 -1
  1398. package/vendor/agent-cli/dist/src/artifacts/preinstalled-dependencies.d.ts +0 -13
  1399. package/vendor/agent-cli/dist/src/artifacts/preinstalled-dependencies.d.ts.map +0 -1
  1400. package/vendor/agent-cli/dist/src/artifacts/preinstalled-dependencies.js +0 -365
  1401. package/vendor/agent-cli/dist/src/artifacts/preinstalled-dependencies.js.map +0 -1
  1402. package/vendor/agent-cli/dist/src/artifacts/prepare.d.ts +0 -63
  1403. package/vendor/agent-cli/dist/src/artifacts/prepare.d.ts.map +0 -1
  1404. package/vendor/agent-cli/dist/src/artifacts/prepare.js +0 -216
  1405. package/vendor/agent-cli/dist/src/artifacts/prepare.js.map +0 -1
  1406. package/vendor/agent-cli/dist/src/artifacts/process-artifacts.d.ts +0 -41
  1407. package/vendor/agent-cli/dist/src/artifacts/process-artifacts.d.ts.map +0 -1
  1408. package/vendor/agent-cli/dist/src/artifacts/process-artifacts.js +0 -184
  1409. package/vendor/agent-cli/dist/src/artifacts/process-artifacts.js.map +0 -1
  1410. package/vendor/agent-cli/dist/src/artifacts/restore-permissions.d.ts +0 -27
  1411. package/vendor/agent-cli/dist/src/artifacts/restore-permissions.d.ts.map +0 -1
  1412. package/vendor/agent-cli/dist/src/artifacts/restore-permissions.js +0 -112
  1413. package/vendor/agent-cli/dist/src/artifacts/restore-permissions.js.map +0 -1
  1414. package/vendor/agent-cli/dist/src/artifacts/restore.d.ts +0 -37
  1415. package/vendor/agent-cli/dist/src/artifacts/restore.d.ts.map +0 -1
  1416. package/vendor/agent-cli/dist/src/artifacts/restore.js +0 -465
  1417. package/vendor/agent-cli/dist/src/artifacts/restore.js.map +0 -1
  1418. package/vendor/agent-cli/dist/src/artifacts/scene-asset-references.d.ts +0 -14
  1419. package/vendor/agent-cli/dist/src/artifacts/scene-asset-references.d.ts.map +0 -1
  1420. package/vendor/agent-cli/dist/src/artifacts/scene-asset-references.js +0 -119
  1421. package/vendor/agent-cli/dist/src/artifacts/scene-asset-references.js.map +0 -1
  1422. package/vendor/agent-cli/dist/src/artifacts/static.d.ts +0 -19
  1423. package/vendor/agent-cli/dist/src/artifacts/static.d.ts.map +0 -1
  1424. package/vendor/agent-cli/dist/src/artifacts/static.js +0 -238
  1425. package/vendor/agent-cli/dist/src/artifacts/static.js.map +0 -1
  1426. package/vendor/agent-cli/dist/src/cli/commands/process.d.ts +0 -4
  1427. package/vendor/agent-cli/dist/src/cli/commands/process.d.ts.map +0 -1
  1428. package/vendor/agent-cli/dist/src/cli/commands/process.js +0 -24
  1429. package/vendor/agent-cli/dist/src/cli/commands/process.js.map +0 -1
  1430. package/vendor/agent-cli/dist/src/cli/commands/run-controls.d.ts +0 -23
  1431. package/vendor/agent-cli/dist/src/cli/commands/run-controls.d.ts.map +0 -1
  1432. package/vendor/agent-cli/dist/src/cli/commands/run-controls.js +0 -62
  1433. package/vendor/agent-cli/dist/src/cli/commands/run-controls.js.map +0 -1
  1434. package/vendor/agent-cli/dist/src/cli/commands/run-mock.d.ts +0 -9
  1435. package/vendor/agent-cli/dist/src/cli/commands/run-mock.d.ts.map +0 -1
  1436. package/vendor/agent-cli/dist/src/cli/commands/run-mock.js +0 -15
  1437. package/vendor/agent-cli/dist/src/cli/commands/run-mock.js.map +0 -1
  1438. package/vendor/agent-cli/dist/src/cli/commands/run.d.ts +0 -3
  1439. package/vendor/agent-cli/dist/src/cli/commands/run.d.ts.map +0 -1
  1440. package/vendor/agent-cli/dist/src/cli/commands/run.js +0 -284
  1441. package/vendor/agent-cli/dist/src/cli/commands/run.js.map +0 -1
  1442. package/vendor/agent-cli/dist/src/cli/commands/setup.d.ts +0 -11
  1443. package/vendor/agent-cli/dist/src/cli/commands/setup.d.ts.map +0 -1
  1444. package/vendor/agent-cli/dist/src/cli/commands/setup.js +0 -161
  1445. package/vendor/agent-cli/dist/src/cli/commands/setup.js.map +0 -1
  1446. package/vendor/agent-cli/dist/src/cli/options.d.ts +0 -83
  1447. package/vendor/agent-cli/dist/src/cli/options.d.ts.map +0 -1
  1448. package/vendor/agent-cli/dist/src/cli/options.js +0 -213
  1449. package/vendor/agent-cli/dist/src/cli/options.js.map +0 -1
  1450. package/vendor/agent-cli/dist/src/cli/process-protocol.d.ts +0 -5
  1451. package/vendor/agent-cli/dist/src/cli/process-protocol.d.ts.map +0 -1
  1452. package/vendor/agent-cli/dist/src/cli/process-protocol.js +0 -301
  1453. package/vendor/agent-cli/dist/src/cli/process-protocol.js.map +0 -1
  1454. package/vendor/agent-cli/dist/src/cli/process-steering.d.ts +0 -21
  1455. package/vendor/agent-cli/dist/src/cli/process-steering.d.ts.map +0 -1
  1456. package/vendor/agent-cli/dist/src/cli/process-steering.js +0 -66
  1457. package/vendor/agent-cli/dist/src/cli/process-steering.js.map +0 -1
  1458. package/vendor/agent-cli/dist/src/cli/registry.d.ts +0 -55
  1459. package/vendor/agent-cli/dist/src/cli/registry.d.ts.map +0 -1
  1460. package/vendor/agent-cli/dist/src/cli/registry.js +0 -99
  1461. package/vendor/agent-cli/dist/src/cli/registry.js.map +0 -1
  1462. package/vendor/agent-cli/dist/src/cli/render/jsonl-sink.d.ts +0 -44
  1463. package/vendor/agent-cli/dist/src/cli/render/jsonl-sink.d.ts.map +0 -1
  1464. package/vendor/agent-cli/dist/src/cli/render/jsonl-sink.js +0 -83
  1465. package/vendor/agent-cli/dist/src/cli/render/jsonl-sink.js.map +0 -1
  1466. package/vendor/agent-cli/dist/src/cli/render/text-sink.d.ts +0 -28
  1467. package/vendor/agent-cli/dist/src/cli/render/text-sink.d.ts.map +0 -1
  1468. package/vendor/agent-cli/dist/src/cli/render/text-sink.js +0 -52
  1469. package/vendor/agent-cli/dist/src/cli/render/text-sink.js.map +0 -1
  1470. package/vendor/agent-cli/dist/src/cli.d.ts +0 -9
  1471. package/vendor/agent-cli/dist/src/cli.d.ts.map +0 -1
  1472. package/vendor/agent-cli/dist/src/cli.js +0 -54
  1473. package/vendor/agent-cli/dist/src/cli.js.map +0 -1
  1474. package/vendor/agent-cli/dist/src/component/browser-queue.d.ts +0 -55
  1475. package/vendor/agent-cli/dist/src/component/browser-queue.d.ts.map +0 -1
  1476. package/vendor/agent-cli/dist/src/component/browser-queue.js +0 -63
  1477. package/vendor/agent-cli/dist/src/component/browser-queue.js.map +0 -1
  1478. package/vendor/agent-cli/dist/src/component/execution.d.ts +0 -28
  1479. package/vendor/agent-cli/dist/src/component/execution.d.ts.map +0 -1
  1480. package/vendor/agent-cli/dist/src/component/execution.js +0 -143
  1481. package/vendor/agent-cli/dist/src/component/execution.js.map +0 -1
  1482. package/vendor/agent-cli/dist/src/component/isolated-launcher.d.ts +0 -2
  1483. package/vendor/agent-cli/dist/src/component/isolated-launcher.d.ts.map +0 -1
  1484. package/vendor/agent-cli/dist/src/component/isolated-launcher.js +0 -76
  1485. package/vendor/agent-cli/dist/src/component/isolated-launcher.js.map +0 -1
  1486. package/vendor/agent-cli/dist/src/component/isolated-preload.d.ts +0 -2
  1487. package/vendor/agent-cli/dist/src/component/isolated-preload.d.ts.map +0 -1
  1488. package/vendor/agent-cli/dist/src/component/isolated-preload.js +0 -27
  1489. package/vendor/agent-cli/dist/src/component/isolated-preload.js.map +0 -1
  1490. package/vendor/agent-cli/dist/src/component/platform-access/server.d.ts +0 -19
  1491. package/vendor/agent-cli/dist/src/component/platform-access/server.d.ts.map +0 -1
  1492. package/vendor/agent-cli/dist/src/component/platform-access/server.js +0 -206
  1493. package/vendor/agent-cli/dist/src/component/platform-access/server.js.map +0 -1
  1494. package/vendor/agent-cli/dist/src/component/preparation-diagnostics.d.ts +0 -31
  1495. package/vendor/agent-cli/dist/src/component/preparation-diagnostics.d.ts.map +0 -1
  1496. package/vendor/agent-cli/dist/src/component/preparation-diagnostics.js +0 -62
  1497. package/vendor/agent-cli/dist/src/component/preparation-diagnostics.js.map +0 -1
  1498. package/vendor/agent-cli/dist/src/component/preparation.d.ts +0 -10
  1499. package/vendor/agent-cli/dist/src/component/preparation.d.ts.map +0 -1
  1500. package/vendor/agent-cli/dist/src/component/preparation.js +0 -35
  1501. package/vendor/agent-cli/dist/src/component/preparation.js.map +0 -1
  1502. package/vendor/agent-cli/dist/src/component/process-diagnostics.d.ts +0 -25
  1503. package/vendor/agent-cli/dist/src/component/process-diagnostics.d.ts.map +0 -1
  1504. package/vendor/agent-cli/dist/src/component/process-diagnostics.js +0 -137
  1505. package/vendor/agent-cli/dist/src/component/process-diagnostics.js.map +0 -1
  1506. package/vendor/agent-cli/dist/src/component/process-isolation.d.ts +0 -10
  1507. package/vendor/agent-cli/dist/src/component/process-isolation.d.ts.map +0 -1
  1508. package/vendor/agent-cli/dist/src/component/process-isolation.js +0 -59
  1509. package/vendor/agent-cli/dist/src/component/process-isolation.js.map +0 -1
  1510. package/vendor/agent-cli/dist/src/component/proxied-fetch.d.ts +0 -2
  1511. package/vendor/agent-cli/dist/src/component/proxied-fetch.d.ts.map +0 -1
  1512. package/vendor/agent-cli/dist/src/component/proxied-fetch.js +0 -46
  1513. package/vendor/agent-cli/dist/src/component/proxied-fetch.js.map +0 -1
  1514. package/vendor/agent-cli/dist/src/component/public-egress.d.ts +0 -17
  1515. package/vendor/agent-cli/dist/src/component/public-egress.d.ts.map +0 -1
  1516. package/vendor/agent-cli/dist/src/component/public-egress.js +0 -246
  1517. package/vendor/agent-cli/dist/src/component/public-egress.js.map +0 -1
  1518. package/vendor/agent-cli/dist/src/component/runtime-tools.d.ts +0 -15
  1519. package/vendor/agent-cli/dist/src/component/runtime-tools.d.ts.map +0 -1
  1520. package/vendor/agent-cli/dist/src/component/runtime-tools.js +0 -37
  1521. package/vendor/agent-cli/dist/src/component/runtime-tools.js.map +0 -1
  1522. package/vendor/agent-cli/dist/src/component/runtime.d.ts +0 -8
  1523. package/vendor/agent-cli/dist/src/component/runtime.d.ts.map +0 -1
  1524. package/vendor/agent-cli/dist/src/component/runtime.js +0 -95
  1525. package/vendor/agent-cli/dist/src/component/runtime.js.map +0 -1
  1526. package/vendor/agent-cli/dist/src/config/config-store.d.ts +0 -50
  1527. package/vendor/agent-cli/dist/src/config/config-store.d.ts.map +0 -1
  1528. package/vendor/agent-cli/dist/src/config/config-store.js +0 -117
  1529. package/vendor/agent-cli/dist/src/config/config-store.js.map +0 -1
  1530. package/vendor/agent-cli/dist/src/context/cache-lease.d.ts +0 -17
  1531. package/vendor/agent-cli/dist/src/context/cache-lease.d.ts.map +0 -1
  1532. package/vendor/agent-cli/dist/src/context/cache-lease.js +0 -133
  1533. package/vendor/agent-cli/dist/src/context/cache-lease.js.map +0 -1
  1534. package/vendor/agent-cli/dist/src/context/cache-prune-diagnostics.d.ts +0 -9
  1535. package/vendor/agent-cli/dist/src/context/cache-prune-diagnostics.d.ts.map +0 -1
  1536. package/vendor/agent-cli/dist/src/context/cache-prune-diagnostics.js +0 -51
  1537. package/vendor/agent-cli/dist/src/context/cache-prune-diagnostics.js.map +0 -1
  1538. package/vendor/agent-cli/dist/src/context/cache-publication-lock.d.ts +0 -3
  1539. package/vendor/agent-cli/dist/src/context/cache-publication-lock.d.ts.map +0 -1
  1540. package/vendor/agent-cli/dist/src/context/cache-publication-lock.js +0 -68
  1541. package/vendor/agent-cli/dist/src/context/cache-publication-lock.js.map +0 -1
  1542. package/vendor/agent-cli/dist/src/context/cache-publication.d.ts +0 -4
  1543. package/vendor/agent-cli/dist/src/context/cache-publication.d.ts.map +0 -1
  1544. package/vendor/agent-cli/dist/src/context/cache-publication.js +0 -58
  1545. package/vendor/agent-cli/dist/src/context/cache-publication.js.map +0 -1
  1546. package/vendor/agent-cli/dist/src/context/client-context-view.d.ts +0 -12
  1547. package/vendor/agent-cli/dist/src/context/client-context-view.d.ts.map +0 -1
  1548. package/vendor/agent-cli/dist/src/context/client-context-view.js +0 -100
  1549. package/vendor/agent-cli/dist/src/context/client-context-view.js.map +0 -1
  1550. package/vendor/agent-cli/dist/src/context/context-budget.d.ts +0 -3
  1551. package/vendor/agent-cli/dist/src/context/context-budget.d.ts.map +0 -1
  1552. package/vendor/agent-cli/dist/src/context/context-budget.js +0 -10
  1553. package/vendor/agent-cli/dist/src/context/context-budget.js.map +0 -1
  1554. package/vendor/agent-cli/dist/src/context/context-cache.d.ts +0 -108
  1555. package/vendor/agent-cli/dist/src/context/context-cache.d.ts.map +0 -1
  1556. package/vendor/agent-cli/dist/src/context/context-cache.js +0 -360
  1557. package/vendor/agent-cli/dist/src/context/context-cache.js.map +0 -1
  1558. package/vendor/agent-cli/dist/src/context/context-project.d.ts +0 -67
  1559. package/vendor/agent-cli/dist/src/context/context-project.d.ts.map +0 -1
  1560. package/vendor/agent-cli/dist/src/context/context-project.js +0 -254
  1561. package/vendor/agent-cli/dist/src/context/context-project.js.map +0 -1
  1562. package/vendor/agent-cli/dist/src/context/context-resource.d.ts +0 -4
  1563. package/vendor/agent-cli/dist/src/context/context-resource.d.ts.map +0 -1
  1564. package/vendor/agent-cli/dist/src/context/context-resource.js +0 -11
  1565. package/vendor/agent-cli/dist/src/context/context-resource.js.map +0 -1
  1566. package/vendor/agent-cli/dist/src/context/context-scoped-source.d.ts +0 -13
  1567. package/vendor/agent-cli/dist/src/context/context-scoped-source.d.ts.map +0 -1
  1568. package/vendor/agent-cli/dist/src/context/context-scoped-source.js +0 -78
  1569. package/vendor/agent-cli/dist/src/context/context-scoped-source.js.map +0 -1
  1570. package/vendor/agent-cli/dist/src/context/context-snapshot-cache.d.ts +0 -23
  1571. package/vendor/agent-cli/dist/src/context/context-snapshot-cache.d.ts.map +0 -1
  1572. package/vendor/agent-cli/dist/src/context/context-snapshot-cache.js +0 -200
  1573. package/vendor/agent-cli/dist/src/context/context-snapshot-cache.js.map +0 -1
  1574. package/vendor/agent-cli/dist/src/context/local-skills.d.ts +0 -6
  1575. package/vendor/agent-cli/dist/src/context/local-skills.d.ts.map +0 -1
  1576. package/vendor/agent-cli/dist/src/context/local-skills.js +0 -174
  1577. package/vendor/agent-cli/dist/src/context/local-skills.js.map +0 -1
  1578. package/vendor/agent-cli/dist/src/context/member-context.d.ts +0 -20
  1579. package/vendor/agent-cli/dist/src/context/member-context.d.ts.map +0 -1
  1580. package/vendor/agent-cli/dist/src/context/member-context.js +0 -113
  1581. package/vendor/agent-cli/dist/src/context/member-context.js.map +0 -1
  1582. package/vendor/agent-cli/dist/src/context/member-documents.d.ts +0 -3
  1583. package/vendor/agent-cli/dist/src/context/member-documents.d.ts.map +0 -1
  1584. package/vendor/agent-cli/dist/src/context/member-documents.js +0 -38
  1585. package/vendor/agent-cli/dist/src/context/member-documents.js.map +0 -1
  1586. package/vendor/agent-cli/dist/src/context/member-profile-header.d.ts +0 -3
  1587. package/vendor/agent-cli/dist/src/context/member-profile-header.d.ts.map +0 -1
  1588. package/vendor/agent-cli/dist/src/context/member-profile-header.js +0 -62
  1589. package/vendor/agent-cli/dist/src/context/member-profile-header.js.map +0 -1
  1590. package/vendor/agent-cli/dist/src/context/member-profile.d.ts +0 -43
  1591. package/vendor/agent-cli/dist/src/context/member-profile.d.ts.map +0 -1
  1592. package/vendor/agent-cli/dist/src/context/member-profile.js +0 -91
  1593. package/vendor/agent-cli/dist/src/context/member-profile.js.map +0 -1
  1594. package/vendor/agent-cli/dist/src/context/member-selection.d.ts +0 -7
  1595. package/vendor/agent-cli/dist/src/context/member-selection.d.ts.map +0 -1
  1596. package/vendor/agent-cli/dist/src/context/member-selection.js +0 -58
  1597. package/vendor/agent-cli/dist/src/context/member-selection.js.map +0 -1
  1598. package/vendor/agent-cli/dist/src/context/script-dependencies.d.ts +0 -14
  1599. package/vendor/agent-cli/dist/src/context/script-dependencies.d.ts.map +0 -1
  1600. package/vendor/agent-cli/dist/src/context/script-dependencies.js +0 -40
  1601. package/vendor/agent-cli/dist/src/context/script-dependencies.js.map +0 -1
  1602. package/vendor/agent-cli/dist/src/context/shared-cache-build.d.ts +0 -3
  1603. package/vendor/agent-cli/dist/src/context/shared-cache-build.d.ts.map +0 -1
  1604. package/vendor/agent-cli/dist/src/context/shared-cache-build.js +0 -56
  1605. package/vendor/agent-cli/dist/src/context/shared-cache-build.js.map +0 -1
  1606. package/vendor/agent-cli/dist/src/context/team-definition.d.ts +0 -39
  1607. package/vendor/agent-cli/dist/src/context/team-definition.d.ts.map +0 -1
  1608. package/vendor/agent-cli/dist/src/context/team-definition.js +0 -78
  1609. package/vendor/agent-cli/dist/src/context/team-definition.js.map +0 -1
  1610. package/vendor/agent-cli/dist/src/context/team-knowledge.d.ts +0 -7
  1611. package/vendor/agent-cli/dist/src/context/team-knowledge.d.ts.map +0 -1
  1612. package/vendor/agent-cli/dist/src/context/team-knowledge.js +0 -46
  1613. package/vendor/agent-cli/dist/src/context/team-knowledge.js.map +0 -1
  1614. package/vendor/agent-cli/dist/src/context/template-cache.d.ts +0 -31
  1615. package/vendor/agent-cli/dist/src/context/template-cache.d.ts.map +0 -1
  1616. package/vendor/agent-cli/dist/src/context/template-cache.js +0 -100
  1617. package/vendor/agent-cli/dist/src/context/template-cache.js.map +0 -1
  1618. package/vendor/agent-cli/dist/src/context/template-refresh.d.ts +0 -6
  1619. package/vendor/agent-cli/dist/src/context/template-refresh.d.ts.map +0 -1
  1620. package/vendor/agent-cli/dist/src/context/template-refresh.js +0 -45
  1621. package/vendor/agent-cli/dist/src/context/template-refresh.js.map +0 -1
  1622. package/vendor/agent-cli/dist/src/context/template-seed.d.ts +0 -45
  1623. package/vendor/agent-cli/dist/src/context/template-seed.d.ts.map +0 -1
  1624. package/vendor/agent-cli/dist/src/context/template-seed.js +0 -169
  1625. package/vendor/agent-cli/dist/src/context/template-seed.js.map +0 -1
  1626. package/vendor/agent-cli/dist/src/context/template-sync.d.ts +0 -11
  1627. package/vendor/agent-cli/dist/src/context/template-sync.d.ts.map +0 -1
  1628. package/vendor/agent-cli/dist/src/context/template-sync.js +0 -167
  1629. package/vendor/agent-cli/dist/src/context/template-sync.js.map +0 -1
  1630. package/vendor/agent-cli/dist/src/context/user-skill-bundle.d.ts +0 -19
  1631. package/vendor/agent-cli/dist/src/context/user-skill-bundle.d.ts.map +0 -1
  1632. package/vendor/agent-cli/dist/src/context/user-skill-bundle.js +0 -292
  1633. package/vendor/agent-cli/dist/src/context/user-skill-bundle.js.map +0 -1
  1634. package/vendor/agent-cli/dist/src/context/user-skill-context.d.ts +0 -15
  1635. package/vendor/agent-cli/dist/src/context/user-skill-context.d.ts.map +0 -1
  1636. package/vendor/agent-cli/dist/src/context/user-skill-context.js +0 -217
  1637. package/vendor/agent-cli/dist/src/context/user-skill-context.js.map +0 -1
  1638. package/vendor/agent-cli/dist/src/context/user-skill-install.d.ts +0 -54
  1639. package/vendor/agent-cli/dist/src/context/user-skill-install.d.ts.map +0 -1
  1640. package/vendor/agent-cli/dist/src/context/user-skill-install.js +0 -184
  1641. package/vendor/agent-cli/dist/src/context/user-skill-install.js.map +0 -1
  1642. package/vendor/agent-cli/dist/src/context/zip-extract.d.ts +0 -14
  1643. package/vendor/agent-cli/dist/src/context/zip-extract.d.ts.map +0 -1
  1644. package/vendor/agent-cli/dist/src/context/zip-extract.js +0 -130
  1645. package/vendor/agent-cli/dist/src/context/zip-extract.js.map +0 -1
  1646. package/vendor/agent-cli/dist/src/index.d.ts +0 -65
  1647. package/vendor/agent-cli/dist/src/index.d.ts.map +0 -1
  1648. package/vendor/agent-cli/dist/src/index.js +0 -91
  1649. package/vendor/agent-cli/dist/src/index.js.map +0 -1
  1650. package/vendor/agent-cli/dist/src/lifecycle/engine-hooks.d.ts +0 -68
  1651. package/vendor/agent-cli/dist/src/lifecycle/engine-hooks.d.ts.map +0 -1
  1652. package/vendor/agent-cli/dist/src/lifecycle/engine-hooks.js +0 -244
  1653. package/vendor/agent-cli/dist/src/lifecycle/engine-hooks.js.map +0 -1
  1654. package/vendor/agent-cli/dist/src/lifecycle/hook-command.d.ts +0 -40
  1655. package/vendor/agent-cli/dist/src/lifecycle/hook-command.d.ts.map +0 -1
  1656. package/vendor/agent-cli/dist/src/lifecycle/hook-command.js +0 -87
  1657. package/vendor/agent-cli/dist/src/lifecycle/hook-command.js.map +0 -1
  1658. package/vendor/agent-cli/dist/src/lifecycle/registry.d.ts +0 -134
  1659. package/vendor/agent-cli/dist/src/lifecycle/registry.d.ts.map +0 -1
  1660. package/vendor/agent-cli/dist/src/lifecycle/registry.js +0 -152
  1661. package/vendor/agent-cli/dist/src/lifecycle/registry.js.map +0 -1
  1662. package/vendor/agent-cli/dist/src/lifecycle/workspace-change.d.ts +0 -40
  1663. package/vendor/agent-cli/dist/src/lifecycle/workspace-change.d.ts.map +0 -1
  1664. package/vendor/agent-cli/dist/src/lifecycle/workspace-change.js +0 -149
  1665. package/vendor/agent-cli/dist/src/lifecycle/workspace-change.js.map +0 -1
  1666. package/vendor/agent-cli/dist/src/mcp/client.d.ts +0 -12
  1667. package/vendor/agent-cli/dist/src/mcp/client.d.ts.map +0 -1
  1668. package/vendor/agent-cli/dist/src/mcp/client.js +0 -95
  1669. package/vendor/agent-cli/dist/src/mcp/client.js.map +0 -1
  1670. package/vendor/agent-cli/dist/src/mcp/connection.d.ts +0 -14
  1671. package/vendor/agent-cli/dist/src/mcp/connection.d.ts.map +0 -1
  1672. package/vendor/agent-cli/dist/src/mcp/connection.js +0 -115
  1673. package/vendor/agent-cli/dist/src/mcp/connection.js.map +0 -1
  1674. package/vendor/agent-cli/dist/src/mcp/execute.d.ts +0 -5
  1675. package/vendor/agent-cli/dist/src/mcp/execute.d.ts.map +0 -1
  1676. package/vendor/agent-cli/dist/src/mcp/execute.js +0 -26
  1677. package/vendor/agent-cli/dist/src/mcp/execute.js.map +0 -1
  1678. package/vendor/agent-cli/dist/src/mcp/instance-lock.d.ts +0 -11
  1679. package/vendor/agent-cli/dist/src/mcp/instance-lock.d.ts.map +0 -1
  1680. package/vendor/agent-cli/dist/src/mcp/instance-lock.js +0 -51
  1681. package/vendor/agent-cli/dist/src/mcp/instance-lock.js.map +0 -1
  1682. package/vendor/agent-cli/dist/src/mcp/types.d.ts +0 -27
  1683. package/vendor/agent-cli/dist/src/mcp/types.d.ts.map +0 -1
  1684. package/vendor/agent-cli/dist/src/mcp/types.js +0 -2
  1685. package/vendor/agent-cli/dist/src/mcp/types.js.map +0 -1
  1686. package/vendor/agent-cli/dist/src/protocol/input.d.ts +0 -21
  1687. package/vendor/agent-cli/dist/src/protocol/input.d.ts.map +0 -1
  1688. package/vendor/agent-cli/dist/src/protocol/input.js +0 -95
  1689. package/vendor/agent-cli/dist/src/protocol/input.js.map +0 -1
  1690. package/vendor/agent-cli/dist/src/protocol/link/channel.d.ts +0 -58
  1691. package/vendor/agent-cli/dist/src/protocol/link/channel.d.ts.map +0 -1
  1692. package/vendor/agent-cli/dist/src/protocol/link/channel.js +0 -337
  1693. package/vendor/agent-cli/dist/src/protocol/link/channel.js.map +0 -1
  1694. package/vendor/agent-cli/dist/src/protocol/link/codec-json.d.ts +0 -13
  1695. package/vendor/agent-cli/dist/src/protocol/link/codec-json.d.ts.map +0 -1
  1696. package/vendor/agent-cli/dist/src/protocol/link/codec-json.js +0 -27
  1697. package/vendor/agent-cli/dist/src/protocol/link/codec-json.js.map +0 -1
  1698. package/vendor/agent-cli/dist/src/protocol/link/envelope.d.ts +0 -57
  1699. package/vendor/agent-cli/dist/src/protocol/link/envelope.d.ts.map +0 -1
  1700. package/vendor/agent-cli/dist/src/protocol/link/envelope.js +0 -93
  1701. package/vendor/agent-cli/dist/src/protocol/link/envelope.js.map +0 -1
  1702. package/vendor/agent-cli/dist/src/protocol/link/liveness.d.ts +0 -28
  1703. package/vendor/agent-cli/dist/src/protocol/link/liveness.d.ts.map +0 -1
  1704. package/vendor/agent-cli/dist/src/protocol/link/liveness.js +0 -86
  1705. package/vendor/agent-cli/dist/src/protocol/link/liveness.js.map +0 -1
  1706. package/vendor/agent-cli/dist/src/protocol/link/middleware.d.ts +0 -14
  1707. package/vendor/agent-cli/dist/src/protocol/link/middleware.d.ts.map +0 -1
  1708. package/vendor/agent-cli/dist/src/protocol/link/middleware.js +0 -40
  1709. package/vendor/agent-cli/dist/src/protocol/link/middleware.js.map +0 -1
  1710. package/vendor/agent-cli/dist/src/protocol/link/rpc.d.ts +0 -31
  1711. package/vendor/agent-cli/dist/src/protocol/link/rpc.d.ts.map +0 -1
  1712. package/vendor/agent-cli/dist/src/protocol/link/rpc.js +0 -90
  1713. package/vendor/agent-cli/dist/src/protocol/link/rpc.js.map +0 -1
  1714. package/vendor/agent-cli/dist/src/protocol/link/transport-ws.d.ts +0 -32
  1715. package/vendor/agent-cli/dist/src/protocol/link/transport-ws.d.ts.map +0 -1
  1716. package/vendor/agent-cli/dist/src/protocol/link/transport-ws.js +0 -106
  1717. package/vendor/agent-cli/dist/src/protocol/link/transport-ws.js.map +0 -1
  1718. package/vendor/agent-cli/dist/src/protocol/messages/errors.gen.d.ts +0 -533
  1719. package/vendor/agent-cli/dist/src/protocol/messages/errors.gen.d.ts.map +0 -1
  1720. package/vendor/agent-cli/dist/src/protocol/messages/errors.gen.js +0 -137
  1721. package/vendor/agent-cli/dist/src/protocol/messages/errors.gen.js.map +0 -1
  1722. package/vendor/agent-cli/dist/src/protocol/messages/messages.gen.d.ts +0 -448
  1723. package/vendor/agent-cli/dist/src/protocol/messages/messages.gen.d.ts.map +0 -1
  1724. package/vendor/agent-cli/dist/src/protocol/messages/messages.gen.js +0 -133
  1725. package/vendor/agent-cli/dist/src/protocol/messages/messages.gen.js.map +0 -1
  1726. package/vendor/agent-cli/dist/src/security/binary-read-receipts.d.ts +0 -9
  1727. package/vendor/agent-cli/dist/src/security/binary-read-receipts.d.ts.map +0 -1
  1728. package/vendor/agent-cli/dist/src/security/binary-read-receipts.js +0 -58
  1729. package/vendor/agent-cli/dist/src/security/binary-read-receipts.js.map +0 -1
  1730. package/vendor/agent-cli/dist/src/security/command-parse.d.ts +0 -21
  1731. package/vendor/agent-cli/dist/src/security/command-parse.d.ts.map +0 -1
  1732. package/vendor/agent-cli/dist/src/security/command-parse.js +0 -395
  1733. package/vendor/agent-cli/dist/src/security/command-parse.js.map +0 -1
  1734. package/vendor/agent-cli/dist/src/security/command-translate.d.ts +0 -30
  1735. package/vendor/agent-cli/dist/src/security/command-translate.d.ts.map +0 -1
  1736. package/vendor/agent-cli/dist/src/security/command-translate.js +0 -165
  1737. package/vendor/agent-cli/dist/src/security/command-translate.js.map +0 -1
  1738. package/vendor/agent-cli/dist/src/security/context-write-policy.d.ts +0 -18
  1739. package/vendor/agent-cli/dist/src/security/context-write-policy.d.ts.map +0 -1
  1740. package/vendor/agent-cli/dist/src/security/context-write-policy.js +0 -121
  1741. package/vendor/agent-cli/dist/src/security/context-write-policy.js.map +0 -1
  1742. package/vendor/agent-cli/dist/src/security/guard.d.ts +0 -45
  1743. package/vendor/agent-cli/dist/src/security/guard.d.ts.map +0 -1
  1744. package/vendor/agent-cli/dist/src/security/guard.js +0 -166
  1745. package/vendor/agent-cli/dist/src/security/guard.js.map +0 -1
  1746. package/vendor/agent-cli/dist/src/security/mount-table.d.ts +0 -56
  1747. package/vendor/agent-cli/dist/src/security/mount-table.d.ts.map +0 -1
  1748. package/vendor/agent-cli/dist/src/security/mount-table.js +0 -251
  1749. package/vendor/agent-cli/dist/src/security/mount-table.js.map +0 -1
  1750. package/vendor/agent-cli/dist/src/security/sandbox-path.d.ts +0 -23
  1751. package/vendor/agent-cli/dist/src/security/sandbox-path.d.ts.map +0 -1
  1752. package/vendor/agent-cli/dist/src/security/sandbox-path.js +0 -110
  1753. package/vendor/agent-cli/dist/src/security/sandbox-path.js.map +0 -1
  1754. package/vendor/agent-cli/dist/src/security/tool-run-owner.d.ts +0 -5
  1755. package/vendor/agent-cli/dist/src/security/tool-run-owner.d.ts.map +0 -1
  1756. package/vendor/agent-cli/dist/src/security/tool-run-owner.js +0 -16
  1757. package/vendor/agent-cli/dist/src/security/tool-run-owner.js.map +0 -1
  1758. package/vendor/agent-cli/dist/src/security/tool-scope.d.ts +0 -19
  1759. package/vendor/agent-cli/dist/src/security/tool-scope.d.ts.map +0 -1
  1760. package/vendor/agent-cli/dist/src/security/tool-scope.js +0 -122
  1761. package/vendor/agent-cli/dist/src/security/tool-scope.js.map +0 -1
  1762. package/vendor/agent-cli/dist/src/session/client.d.ts +0 -146
  1763. package/vendor/agent-cli/dist/src/session/client.d.ts.map +0 -1
  1764. package/vendor/agent-cli/dist/src/session/client.js +0 -410
  1765. package/vendor/agent-cli/dist/src/session/client.js.map +0 -1
  1766. package/vendor/agent-cli/dist/src/session/custom-context.d.ts +0 -6
  1767. package/vendor/agent-cli/dist/src/session/custom-context.d.ts.map +0 -1
  1768. package/vendor/agent-cli/dist/src/session/custom-context.js +0 -106
  1769. package/vendor/agent-cli/dist/src/session/custom-context.js.map +0 -1
  1770. package/vendor/agent-cli/dist/src/session/engine-decide.d.ts +0 -38
  1771. package/vendor/agent-cli/dist/src/session/engine-decide.d.ts.map +0 -1
  1772. package/vendor/agent-cli/dist/src/session/engine-decide.js +0 -87
  1773. package/vendor/agent-cli/dist/src/session/engine-decide.js.map +0 -1
  1774. package/vendor/agent-cli/dist/src/session/execution-recovery.d.ts +0 -9
  1775. package/vendor/agent-cli/dist/src/session/execution-recovery.d.ts.map +0 -1
  1776. package/vendor/agent-cli/dist/src/session/execution-recovery.js +0 -49
  1777. package/vendor/agent-cli/dist/src/session/execution-recovery.js.map +0 -1
  1778. package/vendor/agent-cli/dist/src/session/execution-settlement.d.ts +0 -4
  1779. package/vendor/agent-cli/dist/src/session/execution-settlement.d.ts.map +0 -1
  1780. package/vendor/agent-cli/dist/src/session/execution-settlement.js +0 -15
  1781. package/vendor/agent-cli/dist/src/session/execution-settlement.js.map +0 -1
  1782. package/vendor/agent-cli/dist/src/session/expert-definition.d.ts +0 -4
  1783. package/vendor/agent-cli/dist/src/session/expert-definition.d.ts.map +0 -1
  1784. package/vendor/agent-cli/dist/src/session/expert-definition.js +0 -20
  1785. package/vendor/agent-cli/dist/src/session/expert-definition.js.map +0 -1
  1786. package/vendor/agent-cli/dist/src/session/link-config.d.ts +0 -13
  1787. package/vendor/agent-cli/dist/src/session/link-config.d.ts.map +0 -1
  1788. package/vendor/agent-cli/dist/src/session/link-config.js +0 -29
  1789. package/vendor/agent-cli/dist/src/session/link-config.js.map +0 -1
  1790. package/vendor/agent-cli/dist/src/session/link-outcome.d.ts +0 -30
  1791. package/vendor/agent-cli/dist/src/session/link-outcome.d.ts.map +0 -1
  1792. package/vendor/agent-cli/dist/src/session/link-outcome.js +0 -67
  1793. package/vendor/agent-cli/dist/src/session/link-outcome.js.map +0 -1
  1794. package/vendor/agent-cli/dist/src/session/link-session.d.ts +0 -80
  1795. package/vendor/agent-cli/dist/src/session/link-session.d.ts.map +0 -1
  1796. package/vendor/agent-cli/dist/src/session/link-session.js +0 -445
  1797. package/vendor/agent-cli/dist/src/session/link-session.js.map +0 -1
  1798. package/vendor/agent-cli/dist/src/session/local-execution.d.ts +0 -28
  1799. package/vendor/agent-cli/dist/src/session/local-execution.d.ts.map +0 -1
  1800. package/vendor/agent-cli/dist/src/session/local-execution.js +0 -119
  1801. package/vendor/agent-cli/dist/src/session/local-execution.js.map +0 -1
  1802. package/vendor/agent-cli/dist/src/session/member-tools.d.ts +0 -22
  1803. package/vendor/agent-cli/dist/src/session/member-tools.d.ts.map +0 -1
  1804. package/vendor/agent-cli/dist/src/session/member-tools.js +0 -72
  1805. package/vendor/agent-cli/dist/src/session/member-tools.js.map +0 -1
  1806. package/vendor/agent-cli/dist/src/session/process-artifact-publisher.d.ts +0 -7
  1807. package/vendor/agent-cli/dist/src/session/process-artifact-publisher.d.ts.map +0 -1
  1808. package/vendor/agent-cli/dist/src/session/process-artifact-publisher.js +0 -30
  1809. package/vendor/agent-cli/dist/src/session/process-artifact-publisher.js.map +0 -1
  1810. package/vendor/agent-cli/dist/src/session/process-environment.d.ts +0 -3
  1811. package/vendor/agent-cli/dist/src/session/process-environment.d.ts.map +0 -1
  1812. package/vendor/agent-cli/dist/src/session/process-environment.js +0 -33
  1813. package/vendor/agent-cli/dist/src/session/process-environment.js.map +0 -1
  1814. package/vendor/agent-cli/dist/src/session/process-lifecycle.d.ts +0 -5
  1815. package/vendor/agent-cli/dist/src/session/process-lifecycle.d.ts.map +0 -1
  1816. package/vendor/agent-cli/dist/src/session/process-lifecycle.js +0 -18
  1817. package/vendor/agent-cli/dist/src/session/process-lifecycle.js.map +0 -1
  1818. package/vendor/agent-cli/dist/src/session/process-observability.d.ts +0 -7
  1819. package/vendor/agent-cli/dist/src/session/process-observability.d.ts.map +0 -1
  1820. package/vendor/agent-cli/dist/src/session/process-observability.js +0 -25
  1821. package/vendor/agent-cli/dist/src/session/process-observability.js.map +0 -1
  1822. package/vendor/agent-cli/dist/src/session/process-request.d.ts +0 -38
  1823. package/vendor/agent-cli/dist/src/session/process-request.d.ts.map +0 -1
  1824. package/vendor/agent-cli/dist/src/session/process-request.js +0 -491
  1825. package/vendor/agent-cli/dist/src/session/process-request.js.map +0 -1
  1826. package/vendor/agent-cli/dist/src/session/process-restore.d.ts +0 -4
  1827. package/vendor/agent-cli/dist/src/session/process-restore.d.ts.map +0 -1
  1828. package/vendor/agent-cli/dist/src/session/process-restore.js +0 -21
  1829. package/vendor/agent-cli/dist/src/session/process-restore.js.map +0 -1
  1830. package/vendor/agent-cli/dist/src/session/process-summary-output.d.ts +0 -15
  1831. package/vendor/agent-cli/dist/src/session/process-summary-output.d.ts.map +0 -1
  1832. package/vendor/agent-cli/dist/src/session/process-summary-output.js +0 -46
  1833. package/vendor/agent-cli/dist/src/session/process-summary-output.js.map +0 -1
  1834. package/vendor/agent-cli/dist/src/session/process-workspace.d.ts +0 -3
  1835. package/vendor/agent-cli/dist/src/session/process-workspace.d.ts.map +0 -1
  1836. package/vendor/agent-cli/dist/src/session/process-workspace.js +0 -21
  1837. package/vendor/agent-cli/dist/src/session/process-workspace.js.map +0 -1
  1838. package/vendor/agent-cli/dist/src/session/reference-tools.d.ts +0 -8
  1839. package/vendor/agent-cli/dist/src/session/reference-tools.d.ts.map +0 -1
  1840. package/vendor/agent-cli/dist/src/session/reference-tools.js +0 -35
  1841. package/vendor/agent-cli/dist/src/session/reference-tools.js.map +0 -1
  1842. package/vendor/agent-cli/dist/src/session/run-events.d.ts +0 -81
  1843. package/vendor/agent-cli/dist/src/session/run-events.d.ts.map +0 -1
  1844. package/vendor/agent-cli/dist/src/session/run-events.js +0 -160
  1845. package/vendor/agent-cli/dist/src/session/run-events.js.map +0 -1
  1846. package/vendor/agent-cli/dist/src/session/run-setup.d.ts +0 -78
  1847. package/vendor/agent-cli/dist/src/session/run-setup.d.ts.map +0 -1
  1848. package/vendor/agent-cli/dist/src/session/run-setup.js +0 -294
  1849. package/vendor/agent-cli/dist/src/session/run-setup.js.map +0 -1
  1850. package/vendor/agent-cli/dist/src/session/run-start-body.d.ts +0 -48
  1851. package/vendor/agent-cli/dist/src/session/run-start-body.d.ts.map +0 -1
  1852. package/vendor/agent-cli/dist/src/session/run-start-body.js +0 -82
  1853. package/vendor/agent-cli/dist/src/session/run-start-body.js.map +0 -1
  1854. package/vendor/agent-cli/dist/src/session/run-steer.d.ts +0 -42
  1855. package/vendor/agent-cli/dist/src/session/run-steer.d.ts.map +0 -1
  1856. package/vendor/agent-cli/dist/src/session/run-steer.js +0 -205
  1857. package/vendor/agent-cli/dist/src/session/run-steer.js.map +0 -1
  1858. package/vendor/agent-cli/dist/src/session/team-persistence.d.ts +0 -17
  1859. package/vendor/agent-cli/dist/src/session/team-persistence.d.ts.map +0 -1
  1860. package/vendor/agent-cli/dist/src/session/team-persistence.js +0 -75
  1861. package/vendor/agent-cli/dist/src/session/team-persistence.js.map +0 -1
  1862. package/vendor/agent-cli/dist/src/session/tool-scheduler.d.ts +0 -37
  1863. package/vendor/agent-cli/dist/src/session/tool-scheduler.d.ts.map +0 -1
  1864. package/vendor/agent-cli/dist/src/session/tool-scheduler.js +0 -242
  1865. package/vendor/agent-cli/dist/src/session/tool-scheduler.js.map +0 -1
  1866. package/vendor/agent-cli/dist/src/session/user-choice-policy.d.ts +0 -25
  1867. package/vendor/agent-cli/dist/src/session/user-choice-policy.d.ts.map +0 -1
  1868. package/vendor/agent-cli/dist/src/session/user-choice-policy.js +0 -70
  1869. package/vendor/agent-cli/dist/src/session/user-choice-policy.js.map +0 -1
  1870. package/vendor/agent-cli/dist/src/session/user-choice.d.ts +0 -6
  1871. package/vendor/agent-cli/dist/src/session/user-choice.d.ts.map +0 -1
  1872. package/vendor/agent-cli/dist/src/session/user-choice.js +0 -101
  1873. package/vendor/agent-cli/dist/src/session/user-choice.js.map +0 -1
  1874. package/vendor/agent-cli/dist/src/session/user-skill-compatibility.d.ts +0 -4
  1875. package/vendor/agent-cli/dist/src/session/user-skill-compatibility.d.ts.map +0 -1
  1876. package/vendor/agent-cli/dist/src/session/user-skill-compatibility.js +0 -25
  1877. package/vendor/agent-cli/dist/src/session/user-skill-compatibility.js.map +0 -1
  1878. package/vendor/agent-cli/dist/src/session/user-skill-loaded.d.ts +0 -31
  1879. package/vendor/agent-cli/dist/src/session/user-skill-loaded.d.ts.map +0 -1
  1880. package/vendor/agent-cli/dist/src/session/user-skill-loaded.js +0 -105
  1881. package/vendor/agent-cli/dist/src/session/user-skill-loaded.js.map +0 -1
  1882. package/vendor/agent-cli/dist/src/session/user-skill-prompt.d.ts +0 -4
  1883. package/vendor/agent-cli/dist/src/session/user-skill-prompt.d.ts.map +0 -1
  1884. package/vendor/agent-cli/dist/src/session/user-skill-prompt.js +0 -15
  1885. package/vendor/agent-cli/dist/src/session/user-skill-prompt.js.map +0 -1
  1886. package/vendor/agent-cli/dist/src/shared/app-id.d.ts +0 -13
  1887. package/vendor/agent-cli/dist/src/shared/app-id.d.ts.map +0 -1
  1888. package/vendor/agent-cli/dist/src/shared/app-id.js +0 -25
  1889. package/vendor/agent-cli/dist/src/shared/app-id.js.map +0 -1
  1890. package/vendor/agent-cli/dist/src/shared/auth-headers.d.ts +0 -13
  1891. package/vendor/agent-cli/dist/src/shared/auth-headers.d.ts.map +0 -1
  1892. package/vendor/agent-cli/dist/src/shared/auth-headers.js +0 -16
  1893. package/vendor/agent-cli/dist/src/shared/auth-headers.js.map +0 -1
  1894. package/vendor/agent-cli/dist/src/shared/cli-version.d.ts +0 -3
  1895. package/vendor/agent-cli/dist/src/shared/cli-version.d.ts.map +0 -1
  1896. package/vendor/agent-cli/dist/src/shared/cli-version.js +0 -22
  1897. package/vendor/agent-cli/dist/src/shared/cli-version.js.map +0 -1
  1898. package/vendor/agent-cli/dist/src/shared/error-detail.d.ts +0 -14
  1899. package/vendor/agent-cli/dist/src/shared/error-detail.d.ts.map +0 -1
  1900. package/vendor/agent-cli/dist/src/shared/error-detail.js +0 -29
  1901. package/vendor/agent-cli/dist/src/shared/error-detail.js.map +0 -1
  1902. package/vendor/agent-cli/dist/src/shared/output-guard.d.ts +0 -36
  1903. package/vendor/agent-cli/dist/src/shared/output-guard.d.ts.map +0 -1
  1904. package/vendor/agent-cli/dist/src/shared/output-guard.js +0 -94
  1905. package/vendor/agent-cli/dist/src/shared/output-guard.js.map +0 -1
  1906. package/vendor/agent-cli/dist/src/shared/process-cwd.d.ts +0 -3
  1907. package/vendor/agent-cli/dist/src/shared/process-cwd.d.ts.map +0 -1
  1908. package/vendor/agent-cli/dist/src/shared/process-cwd.js +0 -11
  1909. package/vendor/agent-cli/dist/src/shared/process-cwd.js.map +0 -1
  1910. package/vendor/agent-cli/dist/src/shared/process-types.d.ts +0 -60
  1911. package/vendor/agent-cli/dist/src/shared/process-types.d.ts.map +0 -1
  1912. package/vendor/agent-cli/dist/src/shared/process-types.js +0 -10
  1913. package/vendor/agent-cli/dist/src/shared/process-types.js.map +0 -1
  1914. package/vendor/agent-cli/dist/src/shared/replace-file.d.ts +0 -3
  1915. package/vendor/agent-cli/dist/src/shared/replace-file.d.ts.map +0 -1
  1916. package/vendor/agent-cli/dist/src/shared/replace-file.js +0 -34
  1917. package/vendor/agent-cli/dist/src/shared/replace-file.js.map +0 -1
  1918. package/vendor/agent-cli/dist/src/shared/server-headers.d.ts +0 -7
  1919. package/vendor/agent-cli/dist/src/shared/server-headers.d.ts.map +0 -1
  1920. package/vendor/agent-cli/dist/src/shared/server-headers.js +0 -113
  1921. package/vendor/agent-cli/dist/src/shared/server-headers.js.map +0 -1
  1922. package/vendor/agent-cli/dist/src/shared/shell-runtime.d.ts +0 -47
  1923. package/vendor/agent-cli/dist/src/shared/shell-runtime.d.ts.map +0 -1
  1924. package/vendor/agent-cli/dist/src/shared/shell-runtime.js +0 -210
  1925. package/vendor/agent-cli/dist/src/shared/shell-runtime.js.map +0 -1
  1926. package/vendor/agent-cli/dist/src/shared/types.d.ts +0 -519
  1927. package/vendor/agent-cli/dist/src/shared/types.d.ts.map +0 -1
  1928. package/vendor/agent-cli/dist/src/shared/types.js +0 -2
  1929. package/vendor/agent-cli/dist/src/shared/types.js.map +0 -1
  1930. package/vendor/agent-cli/dist/src/shared/user-choice.d.ts +0 -41
  1931. package/vendor/agent-cli/dist/src/shared/user-choice.d.ts.map +0 -1
  1932. package/vendor/agent-cli/dist/src/shared/user-choice.js +0 -2
  1933. package/vendor/agent-cli/dist/src/shared/user-choice.js.map +0 -1
  1934. package/vendor/agent-cli/dist/src/tools/artifact-publisher.d.ts +0 -9
  1935. package/vendor/agent-cli/dist/src/tools/artifact-publisher.d.ts.map +0 -1
  1936. package/vendor/agent-cli/dist/src/tools/artifact-publisher.js +0 -85
  1937. package/vendor/agent-cli/dist/src/tools/artifact-publisher.js.map +0 -1
  1938. package/vendor/agent-cli/dist/src/tools/command-executor.d.ts +0 -33
  1939. package/vendor/agent-cli/dist/src/tools/command-executor.d.ts.map +0 -1
  1940. package/vendor/agent-cli/dist/src/tools/command-executor.js +0 -133
  1941. package/vendor/agent-cli/dist/src/tools/command-executor.js.map +0 -1
  1942. package/vendor/agent-cli/dist/src/tools/context-program-publish.d.ts +0 -16
  1943. package/vendor/agent-cli/dist/src/tools/context-program-publish.d.ts.map +0 -1
  1944. package/vendor/agent-cli/dist/src/tools/context-program-publish.js +0 -104
  1945. package/vendor/agent-cli/dist/src/tools/context-program-publish.js.map +0 -1
  1946. package/vendor/agent-cli/dist/src/tools/context-program-receipt.d.ts +0 -21
  1947. package/vendor/agent-cli/dist/src/tools/context-program-receipt.d.ts.map +0 -1
  1948. package/vendor/agent-cli/dist/src/tools/context-program-receipt.js +0 -102
  1949. package/vendor/agent-cli/dist/src/tools/context-program-receipt.js.map +0 -1
  1950. package/vendor/agent-cli/dist/src/tools/context-program.d.ts +0 -21
  1951. package/vendor/agent-cli/dist/src/tools/context-program.d.ts.map +0 -1
  1952. package/vendor/agent-cli/dist/src/tools/context-program.js +0 -236
  1953. package/vendor/agent-cli/dist/src/tools/context-program.js.map +0 -1
  1954. package/vendor/agent-cli/dist/src/tools/file-ops.d.ts +0 -52
  1955. package/vendor/agent-cli/dist/src/tools/file-ops.d.ts.map +0 -1
  1956. package/vendor/agent-cli/dist/src/tools/file-ops.js +0 -403
  1957. package/vendor/agent-cli/dist/src/tools/file-ops.js.map +0 -1
  1958. package/vendor/agent-cli/dist/src/tools/file-search.d.ts +0 -29
  1959. package/vendor/agent-cli/dist/src/tools/file-search.d.ts.map +0 -1
  1960. package/vendor/agent-cli/dist/src/tools/file-search.js +0 -98
  1961. package/vendor/agent-cli/dist/src/tools/file-search.js.map +0 -1
  1962. package/vendor/agent-cli/dist/src/tools/file-stat.d.ts +0 -9
  1963. package/vendor/agent-cli/dist/src/tools/file-stat.d.ts.map +0 -1
  1964. package/vendor/agent-cli/dist/src/tools/file-stat.js +0 -29
  1965. package/vendor/agent-cli/dist/src/tools/file-stat.js.map +0 -1
  1966. package/vendor/agent-cli/dist/src/tools/local-hands.d.ts +0 -58
  1967. package/vendor/agent-cli/dist/src/tools/local-hands.d.ts.map +0 -1
  1968. package/vendor/agent-cli/dist/src/tools/local-hands.js +0 -330
  1969. package/vendor/agent-cli/dist/src/tools/local-hands.js.map +0 -1
  1970. package/vendor/agent-cli/dist/src/tools/ripgrep-search.d.ts +0 -24
  1971. package/vendor/agent-cli/dist/src/tools/ripgrep-search.d.ts.map +0 -1
  1972. package/vendor/agent-cli/dist/src/tools/ripgrep-search.js +0 -160
  1973. package/vendor/agent-cli/dist/src/tools/ripgrep-search.js.map +0 -1
  1974. package/vendor/agent-cli/dist/src/tools/tool-contract.gen.d.ts +0 -69
  1975. package/vendor/agent-cli/dist/src/tools/tool-contract.gen.d.ts.map +0 -1
  1976. package/vendor/agent-cli/dist/src/tools/tool-contract.gen.js +0 -68
  1977. package/vendor/agent-cli/dist/src/tools/tool-contract.gen.js.map +0 -1
  1978. package/vendor/agent-cli/dist/src/tools/tool-timeout.d.ts +0 -29
  1979. package/vendor/agent-cli/dist/src/tools/tool-timeout.d.ts.map +0 -1
  1980. package/vendor/agent-cli/dist/src/tools/tool-timeout.js +0 -88
  1981. package/vendor/agent-cli/dist/src/tools/tool-timeout.js.map +0 -1
  1982. package/vendor/agent-cli/dist/src/tools/write-guard.d.ts +0 -42
  1983. package/vendor/agent-cli/dist/src/tools/write-guard.d.ts.map +0 -1
  1984. package/vendor/agent-cli/dist/src/tools/write-guard.js +0 -34
  1985. package/vendor/agent-cli/dist/src/tools/write-guard.js.map +0 -1
  1986. package/vendor/agent-cli/package.json +0 -29
@@ -1,292 +0,0 @@
1
- import { inflateRawSync } from 'node:zlib';
2
- export const MAX_USER_SKILL_ARCHIVE_BYTES = 5 * 1024 * 1024;
3
- export const MAX_USER_SKILL_FILE_BYTES = 3 * 1024 * 1024;
4
- export const MAX_USER_SKILL_TOTAL_BYTES = 20 * 1024 * 1024;
5
- export const MAX_USER_SKILL_ENTRIES = 256;
6
- export const MAX_USER_SKILLS_PER_INSTALL = 50;
7
- export const MAX_USER_SKILL_INSTALL_BYTES = 64 * 1024 * 1024;
8
- const SIG_LOCAL = 0x04034b50;
9
- const SIG_CENTRAL = 0x02014b50;
10
- const SIG_EOCD = 0x06054b50;
11
- const utf8 = new TextDecoder('utf-8', { fatal: true });
12
- const CRC_TABLE = (() => {
13
- const table = new Uint32Array(256);
14
- for (let n = 0; n < 256; n++) {
15
- let value = n;
16
- for (let bit = 0; bit < 8; bit++)
17
- value = value & 1 ? 0xedb88320 ^ (value >>> 1) : value >>> 1;
18
- table[n] = value >>> 0;
19
- }
20
- return table;
21
- })();
22
- function crc32(bytes) {
23
- let crc = 0xffffffff;
24
- for (const byte of bytes)
25
- crc = CRC_TABLE[(crc ^ byte) & 0xff] ^ (crc >>> 8);
26
- return (crc ^ 0xffffffff) >>> 0;
27
- }
28
- function fail(message) {
29
- throw new Error(`invalid user skill bundle: ${message}`);
30
- }
31
- function isZip(bytes) {
32
- return bytes.length >= 4 && [SIG_LOCAL, SIG_EOCD, 0x08074b50].includes(bytes.readUInt32LE(0));
33
- }
34
- function findEocd(bytes) {
35
- const min = Math.max(0, bytes.length - 22 - 0xffff);
36
- for (let offset = bytes.length - 22; offset >= min; offset--) {
37
- if (bytes.readUInt32LE(offset) !== SIG_EOCD)
38
- continue;
39
- const commentSize = bytes.readUInt16LE(offset + 20);
40
- if (offset + 22 + commentSize === bytes.length)
41
- return offset;
42
- }
43
- return fail('end record missing or malformed');
44
- }
45
- function decodeName(bytes, start, size, utf8Names) {
46
- if (start < 0 || size < 0 || start + size > bytes.length)
47
- return fail('truncated entry name');
48
- const value = bytes.subarray(start, start + size);
49
- if (!utf8Names && value.some((byte) => byte >= 0x80))
50
- return fail('non-UTF-8 entry names are unsupported');
51
- try {
52
- return utf8.decode(value);
53
- }
54
- catch {
55
- return fail('entry name is not valid UTF-8');
56
- }
57
- }
58
- function safeEntryPath(raw, directory) {
59
- if (!raw || raw.includes('\0'))
60
- return fail('empty or invalid path');
61
- const slashPath = raw.replace(/\\/g, '/');
62
- if (slashPath.startsWith('/') || /^[a-z]:/i.test(slashPath) || slashPath.startsWith('//')) {
63
- return fail('absolute or drive path is forbidden');
64
- }
65
- const parts = slashPath.split('/');
66
- if (directory && parts.at(-1) === '')
67
- parts.pop();
68
- if (parts.length === 0 || parts.some((part) => !part || part === '.' || part === '..')) {
69
- return fail('dot or empty path segment is forbidden');
70
- }
71
- for (const part of parts) {
72
- if (Buffer.byteLength(part, 'utf8') > 255 || /[\x00-\x1f\x7f<>:"|?*]/.test(part) || /[ .]$/.test(part)) {
73
- return fail('unsafe path segment');
74
- }
75
- const base = part.split('.')[0].toUpperCase();
76
- if (/^(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])$/.test(base))
77
- return fail('reserved device name');
78
- }
79
- const name = parts.join('/');
80
- return { name, key: name.normalize('NFC').toLocaleLowerCase('en-US') };
81
- }
82
- function readEntries(bytes) {
83
- if (bytes.length > MAX_USER_SKILL_ARCHIVE_BYTES)
84
- return fail('archive exceeds size limit');
85
- const eocd = findEocd(bytes);
86
- const disk = bytes.readUInt16LE(eocd + 4);
87
- const centralDisk = bytes.readUInt16LE(eocd + 6);
88
- const diskCount = bytes.readUInt16LE(eocd + 8);
89
- const count = bytes.readUInt16LE(eocd + 10);
90
- const centralSize = bytes.readUInt32LE(eocd + 12);
91
- const centralOffset = bytes.readUInt32LE(eocd + 16);
92
- if (disk !== 0 || centralDisk !== 0 || diskCount !== count || count === 0xffff || centralSize === 0xffffffff || centralOffset === 0xffffffff) {
93
- return fail('multi-disk and Zip64 archives are unsupported');
94
- }
95
- if (count === 0 || count > MAX_USER_SKILL_ENTRIES || centralOffset + centralSize !== eocd) {
96
- return fail('invalid entry count or directory bounds');
97
- }
98
- const entries = [];
99
- const kinds = new Map();
100
- let offset = centralOffset;
101
- let total = 0;
102
- for (let index = 0; index < count; index++) {
103
- if (offset + 46 > eocd || bytes.readUInt32LE(offset) !== SIG_CENTRAL)
104
- return fail('invalid central directory entry');
105
- const madeBy = bytes.readUInt16LE(offset + 4) >>> 8;
106
- const flags = bytes.readUInt16LE(offset + 8);
107
- const method = bytes.readUInt16LE(offset + 10);
108
- const crc = bytes.readUInt32LE(offset + 16);
109
- const compressedSize = bytes.readUInt32LE(offset + 20);
110
- const size = bytes.readUInt32LE(offset + 24);
111
- const nameSize = bytes.readUInt16LE(offset + 28);
112
- const extraSize = bytes.readUInt16LE(offset + 30);
113
- const commentSize = bytes.readUInt16LE(offset + 32);
114
- const externalAttrs = bytes.readUInt32LE(offset + 38);
115
- const localOffset = bytes.readUInt32LE(offset + 42);
116
- const recordEnd = offset + 46 + nameSize + extraSize + commentSize;
117
- if (recordEnd > eocd || compressedSize === 0xffffffff || size === 0xffffffff || localOffset === 0xffffffff)
118
- return fail('truncated or Zip64 entry');
119
- const rawName = decodeName(bytes, offset + 46, nameSize, (flags & 0x0800) !== 0);
120
- offset = recordEnd;
121
- if (flags & 0x0001)
122
- return fail('encrypted entries are unsupported');
123
- if (method !== 0 && method !== 8)
124
- return fail('unsupported compression method');
125
- const trailingSlash = /[\\/]$/.test(rawName);
126
- const unixMode = madeBy === 3 ? (externalAttrs >>> 16) & 0xffff : 0;
127
- const fileType = unixMode & 0o170000;
128
- if (fileType === 0o120000 || (fileType !== 0 && fileType !== 0o100000 && fileType !== 0o040000)) {
129
- return fail('symlinks and special files are forbidden');
130
- }
131
- const directory = trailingSlash || fileType === 0o040000;
132
- if (directory && size !== 0)
133
- return fail('directory entries must be empty');
134
- const safe = safeEntryPath(rawName, directory);
135
- if (directory && size)
136
- return fail('directory entries must be empty');
137
- if (!directory) {
138
- if (size > MAX_USER_SKILL_FILE_BYTES)
139
- return fail('file exceeds size limit');
140
- total += size;
141
- if (total > MAX_USER_SKILL_TOTAL_BYTES)
142
- return fail('expanded bundle exceeds size limit');
143
- }
144
- const previous = kinds.get(safe.key);
145
- if (previous && (previous.name !== safe.name || previous.directory !== directory || !directory)) {
146
- return fail('duplicate or case-colliding paths');
147
- }
148
- kinds.set(safe.key, { name: safe.name, directory });
149
- const parts = safe.name.split('/');
150
- for (let parent = 1; parent < parts.length; parent++) {
151
- const parentName = parts.slice(0, parent).join('/');
152
- const parentKey = parentName.normalize('NFC').toLocaleLowerCase('en-US');
153
- const known = kinds.get(parentKey);
154
- if (known && (!known.directory || known.name !== parentName))
155
- return fail('file/directory path collision');
156
- kinds.set(parentKey, { name: parentName, directory: true });
157
- }
158
- if (!directory && [...kinds.entries()].some(([key, known]) => key !== safe.key && key.startsWith(`${safe.key}/`) && known.name !== safe.name)) {
159
- return fail('file/directory path collision');
160
- }
161
- entries.push({ name: safe.name, key: safe.key, directory, method, flags, crc, compressedSize, size, executable: !directory && (unixMode & 0o111) !== 0, localOffset });
162
- }
163
- if (offset !== eocd)
164
- return fail('central directory size mismatch');
165
- return entries;
166
- }
167
- function inflateEntry(bytes, entry, centralOffset) {
168
- const offset = entry.localOffset;
169
- if (offset + 30 > centralOffset || bytes.readUInt32LE(offset) !== SIG_LOCAL)
170
- return fail('invalid local header');
171
- const flags = bytes.readUInt16LE(offset + 6);
172
- const method = bytes.readUInt16LE(offset + 8);
173
- const nameSize = bytes.readUInt16LE(offset + 26);
174
- const extraSize = bytes.readUInt16LE(offset + 28);
175
- if ((flags & 0x0001) || flags !== entry.flags || method !== entry.method)
176
- return fail('local header mismatch');
177
- const localName = decodeName(bytes, offset + 30, nameSize, (flags & 0x0800) !== 0);
178
- if (safeEntryPath(localName, entry.directory).name !== entry.name)
179
- return fail('local path mismatch');
180
- const start = offset + 30 + nameSize + extraSize;
181
- const end = start + entry.compressedSize;
182
- if (start > centralOffset || end > centralOffset || end < start)
183
- return fail('truncated entry data');
184
- let data;
185
- try {
186
- const compressed = bytes.subarray(start, end);
187
- data = entry.method === 0 ? Buffer.from(compressed) : inflateRawSync(compressed, { maxOutputLength: entry.size });
188
- }
189
- catch {
190
- return fail('entry decompression failed');
191
- }
192
- if (data.length !== entry.size || crc32(data) !== entry.crc)
193
- return fail('entry size or checksum mismatch');
194
- return data;
195
- }
196
- export function readSkillFrontmatter(content) {
197
- const normalized = content.replace(/^\uFEFF/, '');
198
- if (!normalized.startsWith('---'))
199
- return {};
200
- const end = normalized.search(/\r?\n---(?:\r?$)/m);
201
- if (end < 0)
202
- return {};
203
- const frontmatter = normalized.slice(3, end);
204
- const readScalar = (key) => {
205
- const match = frontmatter.match(new RegExp(`^${key}:\\s*(.+)$`, 'm'));
206
- if (!match)
207
- return '';
208
- const raw = match[1].trim();
209
- if ((raw.startsWith('"') && raw.endsWith('"')) || (raw.startsWith("'") && raw.endsWith("'")))
210
- return raw.slice(1, -1).trim();
211
- return raw;
212
- };
213
- const name = readScalar('name');
214
- const description = readScalar('description');
215
- return { ...(name ? { name } : {}), ...(description ? { description } : {}) };
216
- }
217
- function parseSkillMd(content) {
218
- const metadata = readSkillFrontmatter(content);
219
- if (!isSafeSkillName(metadata.name ?? '') || !metadata.description)
220
- return fail('SKILL.md name or description is invalid');
221
- return { name: metadata.name, description: metadata.description };
222
- }
223
- export function isSafeSkillName(name) {
224
- if (!name || name !== name.trim() || name.endsWith('.') || Buffer.byteLength(name, 'utf8') > 128 || !/^[\p{L}\p{Nd}][\p{L}\p{Nd}\p{M}._-]*$/u.test(name))
225
- return false;
226
- const base = name.split('.')[0].toUpperCase();
227
- return !/^(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])$/.test(base);
228
- }
229
- export function parseUserSkillBundle(input) {
230
- const bytes = Buffer.from(input);
231
- if (bytes.length === 0 || bytes.length > MAX_USER_SKILL_ARCHIVE_BYTES)
232
- return fail('bundle is empty or exceeds size limit');
233
- let files = new Map();
234
- let executableFiles = new Set();
235
- if (isZip(bytes)) {
236
- const eocd = findEocd(bytes);
237
- const centralOffset = bytes.readUInt32LE(eocd + 16);
238
- const entries = readEntries(bytes);
239
- let total = 0;
240
- const markdownPaths = [];
241
- for (const entry of entries) {
242
- if (entry.directory)
243
- continue;
244
- const content = inflateEntry(bytes, entry, centralOffset);
245
- total += content.length;
246
- if (total > MAX_USER_SKILL_TOTAL_BYTES)
247
- return fail('expanded bundle exceeds size limit');
248
- files.set(entry.name, content);
249
- if (entry.executable)
250
- executableFiles.add(entry.name);
251
- if (entry.name.split('/').at(-1).toLowerCase() === 'skill.md')
252
- markdownPaths.push(entry.name);
253
- }
254
- if (markdownPaths.length !== 1)
255
- return fail('bundle must contain exactly one SKILL.md');
256
- const skillDir = markdownPaths[0].includes('/') ? markdownPaths[0].slice(0, markdownPaths[0].lastIndexOf('/')) : '';
257
- if (skillDir) {
258
- const prefix = `${skillDir}/`;
259
- files = new Map([...files.entries()].filter(([name]) => name.startsWith(prefix)).map(([name, data]) => [name.slice(prefix.length), data]));
260
- executableFiles = new Set([...executableFiles].filter((name) => name.startsWith(prefix)).map((name) => name.slice(prefix.length)));
261
- }
262
- const md = [...files.entries()].find(([name]) => name.toLowerCase() === 'skill.md');
263
- if (!md)
264
- return fail('normalized SKILL.md is missing');
265
- files.delete(md[0]);
266
- files.set('SKILL.md', md[1]);
267
- if (executableFiles.delete(md[0]))
268
- executableFiles.add('SKILL.md');
269
- }
270
- else {
271
- if (bytes.length > MAX_USER_SKILL_FILE_BYTES)
272
- return fail('file exceeds size limit');
273
- files.set('SKILL.md', bytes);
274
- }
275
- let content;
276
- try {
277
- content = utf8.decode(files.get('SKILL.md'));
278
- }
279
- catch {
280
- return fail('SKILL.md is not valid UTF-8');
281
- }
282
- const metadata = parseSkillMd(content);
283
- const duplicateNames = new Set();
284
- for (const name of files.keys()) {
285
- const key = name.toLocaleLowerCase('en-US');
286
- if (duplicateNames.has(key))
287
- return fail('case-colliding files');
288
- duplicateNames.add(key);
289
- }
290
- return { ...metadata, files, executableFiles };
291
- }
292
- //# sourceMappingURL=user-skill-bundle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user-skill-bundle.js","sourceRoot":"","sources":["../../../src/context/user-skill-bundle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE3C,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;AAC5D,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;AACzD,MAAM,CAAC,MAAM,0BAA0B,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC;AAC3D,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAC1C,MAAM,CAAC,MAAM,2BAA2B,GAAG,EAAE,CAAC;AAC9C,MAAM,CAAC,MAAM,4BAA4B,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7D,MAAM,SAAS,GAAG,UAAU,CAAC;AAC7B,MAAM,WAAW,GAAG,UAAU,CAAC;AAC/B,MAAM,QAAQ,GAAG,UAAU,CAAC;AAC5B,MAAM,IAAI,GAAG,IAAI,WAAW,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAsBvD,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE;IACtB,MAAM,KAAK,GAAG,IAAI,WAAW,CAAC,GAAG,CAAC,CAAC;IACnC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;QAC7B,IAAI,KAAK,GAAG,CAAC,CAAC;QACd,KAAK,IAA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AAC,CAAC,CAAC,CAAC;QACpB,KAAK,CAAC,GAAG,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YAAE,eAAe,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACrE,CAAC;SAAM,CAAC;QACN,IAAI,KAAK,CAAC,MAAM,GAAG,yBAAyB;YAAE,OAAO,IAAI,CAAC,yBAAyB,CAAC,CAAC;QACrF,KAAK,CAAC,GAAG,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;IAC/B,CAAC;IACD,IAAI,OAAe,CAAC;IACpB,IAAI,CAAC;QAAC,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAE,CAAC,CAAC;IAAC,CAAC;IAAC,MAAM,CAAC;QAAC,OAAO,IAAI,CAAC,6BAA6B,CAAC,CAAC;IAAC,CAAC;IAC5G,MAAM,QAAQ,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;IACvC,MAAM,cAAc,GAAG,IAAI,GAAG,EAAU,CAAC;IACzC,KAAK,MAAM,IAAI,IAAI,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;QAChC,MAAM,GAAG,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC5C,IAAI,cAAc,CAAC,GAAG,CAAC,GAAG,CAAC;YAAE,OAAO,IAAI,CAAC,sBAAsB,CAAC,CAAC;QACjE,cAAc,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC1B,CAAC;IACD,OAAO,EAAE,GAAG,QAAQ,EAAE,KAAK,EAAE,eAAe,EAAE,CAAC;AACjD,CAAC"}
@@ -1,15 +0,0 @@
1
- import type { UserSkillBundleInput } from '../shared/types.js';
2
- export interface UserSkillContextResult {
3
- contextDir: string;
4
- cleanupRoot: string;
5
- }
6
- /** Build a disposable copy of one engine context with pinned user skill packages merged under skills/. */
7
- export declare function createUserSkillContext(args: {
8
- engineContextDir?: string;
9
- workspaceDir: string;
10
- bundles: readonly UserSkillBundleInput[];
11
- }, stagingDirectory?: string): Promise<UserSkillContextResult>;
12
- export declare function cleanupUserSkillContext(cleanupRoot: string): Promise<void>;
13
- /** Publish the complete overlay independently of any individual node's scratch directory. */
14
- export declare function reuseUserSkillContext(args: Parameters<typeof createUserSkillContext>[0], scope: string, signal: AbortSignal): Promise<string>;
15
- //# sourceMappingURL=user-skill-context.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user-skill-context.d.ts","sourceRoot":"","sources":["../../../src/context/user-skill-context.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAM/D,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB;AAsGD,0GAA0G;AAC1G,wBAAsB,sBAAsB,CAAC,IAAI,EAAE;IACjD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,SAAS,oBAAoB,EAAE,CAAC;CAC1C,EAAE,gBAAgB,SAAc,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAyClE;AAED,wBAAsB,uBAAuB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAEhF;AAID,6FAA6F;AAC7F,wBAAsB,qBAAqB,CACzC,IAAI,EAAE,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GACrF,OAAO,CAAC,MAAM,CAAC,CA6BjB"}
@@ -1,217 +0,0 @@
1
- import fs from 'node:fs/promises';
2
- import { constants as fsConstants } from 'node:fs';
3
- import os from 'node:os';
4
- import path from 'node:path';
5
- import { createHash } from 'node:crypto';
6
- import { getContextCacheRoot } from './context-cache.js';
7
- import { shareCacheBuild } from './shared-cache-build.js';
8
- import { installUserSkillBundles, UserSkillInstallRecoveryError } from './user-skill-install.js';
9
- import { MAX_USER_SKILL_FILE_BYTES, readSkillFrontmatter } from './user-skill-bundle.js';
10
- const MAX_CONTEXT_ENTRIES = 50_000;
11
- const MAX_CONTEXT_BYTES = 1024 * 1024 * 1024;
12
- const MAX_CONTEXT_FILE_BYTES = 32 * 1024 * 1024;
13
- function pathKey(name) {
14
- return name.normalize('NFC').toLocaleLowerCase('en-US');
15
- }
16
- function assertSafeName(name) {
17
- if (!name || name === '.' || name === '..' || /[\\/\0<>:"|?*]/.test(name) || /[ .]$/.test(name)) {
18
- throw new Error(`unsafe context entry name: ${name}`);
19
- }
20
- const device = name.split('.')[0].toUpperCase();
21
- if (/^(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])$/.test(device))
22
- throw new Error(`reserved context entry name: ${name}`);
23
- }
24
- async function copyDirectory(source, destination, state) {
25
- const rootInfo = await fs.lstat(source);
26
- if (rootInfo.isSymbolicLink() || !rootInfo.isDirectory())
27
- throw new Error(`context source must be a real directory: ${source}`);
28
- await fs.mkdir(destination, { recursive: true, mode: rootInfo.mode & 0o777 });
29
- const rootReal = await fs.realpath(source);
30
- for (const entry of await fs.readdir(source, { withFileTypes: true })) {
31
- assertSafeName(entry.name);
32
- const from = path.join(source, entry.name);
33
- const to = path.join(destination, entry.name);
34
- const info = await fs.lstat(from);
35
- state.entries++;
36
- if (state.entries > MAX_CONTEXT_ENTRIES)
37
- throw new Error('engine context contains too many entries');
38
- if (info.isSymbolicLink())
39
- throw new Error(`engine context symlink is not allowed: ${from}`);
40
- if (info.isDirectory()) {
41
- await copyDirectory(from, to, state);
42
- continue;
43
- }
44
- if (!info.isFile())
45
- throw new Error(`engine context contains a special file: ${from}`);
46
- if (info.size > MAX_CONTEXT_FILE_BYTES)
47
- throw new Error(`engine context file exceeds copy limit: ${from}`);
48
- state.bytes += info.size;
49
- if (state.bytes > MAX_CONTEXT_BYTES)
50
- throw new Error('engine context exceeds temporary copy size limit');
51
- const noFollow = fsConstants.O_NOFOLLOW ?? 0;
52
- const handle = await fs.open(from, fsConstants.O_RDONLY | noFollow);
53
- try {
54
- const opened = await handle.stat();
55
- if (!opened.isFile() || opened.size !== info.size || opened.size > MAX_CONTEXT_FILE_BYTES)
56
- throw new Error(`engine context changed during copy: ${from}`);
57
- const real = await fs.realpath(from);
58
- const relative = path.relative(rootReal, real);
59
- if (relative === '..' || relative.startsWith(`..${path.sep}`) || path.isAbsolute(relative)) {
60
- throw new Error(`engine context path escaped its root: ${from}`);
61
- }
62
- const data = await readHandleBounded(handle, MAX_CONTEXT_FILE_BYTES);
63
- if (data.length !== opened.size || (await handle.stat()).size !== opened.size)
64
- throw new Error(`engine context changed during copy: ${from}`);
65
- await fs.writeFile(to, data, { flag: 'wx', mode: info.mode & 0o777 });
66
- }
67
- finally {
68
- await handle.close();
69
- }
70
- }
71
- }
72
- async function readHandleBounded(handle, maxBytes) {
73
- const chunks = [];
74
- let total = 0;
75
- while (total <= maxBytes) {
76
- const chunk = Buffer.allocUnsafe(Math.min(64 * 1024, maxBytes + 1 - total));
77
- const { bytesRead } = await handle.read(chunk, 0, chunk.length, null);
78
- if (bytesRead === 0)
79
- break;
80
- total += bytesRead;
81
- if (total > maxBytes)
82
- throw new Error('file grew past its bounded read limit');
83
- chunks.push(chunk.subarray(0, bytesRead));
84
- }
85
- return Buffer.concat(chunks, total);
86
- }
87
- async function existingSkillNames(contextDir) {
88
- const skillsDir = path.join(contextDir, 'skills');
89
- const info = await fs.lstat(skillsDir).catch((error) => error.code === 'ENOENT' ? undefined : Promise.reject(error));
90
- if (!info)
91
- return [];
92
- if (info.isSymbolicLink() || !info.isDirectory())
93
- throw new Error('engine skills path must be a real directory');
94
- const names = [];
95
- for (const entry of await fs.readdir(skillsDir, { withFileTypes: true })) {
96
- names.push(entry.name);
97
- const entryPath = path.join(skillsDir, entry.name);
98
- const entryInfo = await fs.lstat(entryPath);
99
- if (entryInfo.isSymbolicLink())
100
- throw new Error(`engine skill symlink is not allowed: ${entryPath}`);
101
- if (!entryInfo.isDirectory())
102
- continue;
103
- const markdownPath = path.join(entryPath, 'SKILL.md');
104
- const markdownInfo = await fs.lstat(markdownPath).catch((error) => error.code === 'ENOENT' ? undefined : Promise.reject(error));
105
- if (!markdownInfo)
106
- continue;
107
- if (markdownInfo.isSymbolicLink() || !markdownInfo.isFile())
108
- throw new Error(`engine SKILL.md must be a regular file: ${markdownPath}`);
109
- if (markdownInfo.size > MAX_USER_SKILL_FILE_BYTES)
110
- throw new Error(`engine SKILL.md exceeds metadata scan limit: ${markdownPath}`);
111
- const handle = await fs.open(markdownPath, fsConstants.O_RDONLY | (fsConstants.O_NOFOLLOW ?? 0));
112
- try {
113
- const opened = await handle.stat();
114
- if (!opened.isFile() || opened.size !== markdownInfo.size || opened.size > MAX_USER_SKILL_FILE_BYTES) {
115
- throw new Error(`engine SKILL.md changed during metadata scan: ${markdownPath}`);
116
- }
117
- const content = await readHandleBounded(handle, MAX_USER_SKILL_FILE_BYTES);
118
- if (content.length !== opened.size || (await handle.stat()).size !== opened.size)
119
- throw new Error(`engine SKILL.md changed during metadata scan: ${markdownPath}`);
120
- const declaredName = readSkillFrontmatter(content.toString('utf8')).name;
121
- if (declaredName)
122
- names.push(declaredName);
123
- }
124
- finally {
125
- await handle.close();
126
- }
127
- }
128
- return names;
129
- }
130
- /** Build a disposable copy of one engine context with pinned user skill packages merged under skills/. */
131
- export async function createUserSkillContext(args, stagingDirectory = os.tmpdir()) {
132
- if (args.bundles.length === 0)
133
- throw new Error('user skill context requires at least one bundle');
134
- const cleanupRoot = await fs.mkdtemp(path.join(stagingDirectory, 'agent-cli-user-skill-run-'));
135
- const installRoot = path.join(cleanupRoot, 'installed');
136
- const contextDir = path.join(cleanupRoot, 'context');
137
- try {
138
- let systemNames = [];
139
- if (args.engineContextDir) {
140
- systemNames = await existingSkillNames(args.engineContextDir);
141
- }
142
- const installed = await installUserSkillBundles({
143
- installRoot,
144
- scopeId: 'run',
145
- projectDir: args.workspaceDir,
146
- ...(args.engineContextDir ? { contextDir: args.engineContextDir } : {}),
147
- systemSkillNames: systemNames,
148
- bundles: args.bundles,
149
- });
150
- if (args.engineContextDir) {
151
- await copyDirectory(args.engineContextDir, contextDir, { entries: 0, bytes: 0 });
152
- }
153
- else {
154
- await fs.mkdir(contextDir, { recursive: true, mode: 0o700 });
155
- }
156
- const destinationSkills = path.join(contextDir, 'skills');
157
- const skillDirInfo = await fs.lstat(destinationSkills).catch((error) => error.code === 'ENOENT' ? undefined : Promise.reject(error));
158
- if (!skillDirInfo)
159
- await fs.mkdir(destinationSkills, { recursive: true, mode: 0o755 });
160
- else if (skillDirInfo.isSymbolicLink() || !skillDirInfo.isDirectory())
161
- throw new Error('engine skills path must be a real directory');
162
- const occupied = new Set((await fs.readdir(destinationSkills)).map(pathKey));
163
- for (const item of installed.installed) {
164
- if (occupied.has(pathKey(item.name)))
165
- throw new Error(`user skill directory collides with engine context: ${item.name}`);
166
- occupied.add(pathKey(item.name));
167
- await copyDirectory(item.directory, path.join(destinationSkills, item.name), { entries: 0, bytes: 0 });
168
- }
169
- return { contextDir, cleanupRoot };
170
- }
171
- catch (error) {
172
- if (!(error instanceof UserSkillInstallRecoveryError)) {
173
- await fs.rm(cleanupRoot, { recursive: true, force: true }).catch(() => undefined);
174
- }
175
- throw error;
176
- }
177
- }
178
- export async function cleanupUserSkillContext(cleanupRoot) {
179
- await fs.rm(cleanupRoot, { recursive: true, force: true });
180
- }
181
- const publishedUserContexts = new Map();
182
- /** Publish the complete overlay independently of any individual node's scratch directory. */
183
- export async function reuseUserSkillContext(args, scope, signal) {
184
- const bundleIdentity = args.bundles.map(bundle => [
185
- bundle.skillId, bundle.version, createHash('sha256').update(bundle.bytes).digest('hex'),
186
- ]);
187
- const key = 'published-user-skills:' + JSON.stringify([scope, args.engineContextDir, bundleIdentity]);
188
- signal.throwIfAborted();
189
- const cached = publishedUserContexts.get(key);
190
- const stat = cached ? await fs.lstat(cached).catch((error) => {
191
- if (error.code !== 'ENOENT')
192
- throw error;
193
- }) : undefined;
194
- signal.throwIfAborted();
195
- if (cached && stat?.isDirectory())
196
- return cached;
197
- return shareCacheBuild(key, signal, async (sharedSignal) => {
198
- const cache = path.join(getContextCacheRoot(), 'user-overlays');
199
- await fs.mkdir(cache, { recursive: true });
200
- sharedSignal.throwIfAborted();
201
- const merged = await createUserSkillContext(args, cache);
202
- try {
203
- sharedSignal.throwIfAborted();
204
- // Publish the merged input by rename. The final mounted view owns the directory hash.
205
- const published = path.join(cache, 'overlay-' + path.basename(merged.cleanupRoot));
206
- await fs.rename(merged.contextDir, published);
207
- publishedUserContexts.set(key, published);
208
- if (publishedUserContexts.size > 64)
209
- publishedUserContexts.delete(publishedUserContexts.keys().next().value);
210
- return published;
211
- }
212
- finally {
213
- await cleanupUserSkillContext(merged.cleanupRoot);
214
- }
215
- });
216
- }
217
- //# sourceMappingURL=user-skill-context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user-skill-context.js","sourceRoot":"","sources":["../../../src/context/user-skill-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AACjG,OAAO,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAGzF,MAAM,mBAAmB,GAAG,MAAM,CAAC;AACnC,MAAM,i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@
1
- import fs from 'node:fs/promises';
2
- export interface UserSkillInstallInput {
3
- skillId: number;
4
- version: number;
5
- bytes: Uint8Array;
6
- }
7
- export interface UserSkillInstallOptions {
8
- /** Dedicated writable root, outside the project and engine context directories. */
9
- installRoot: string;
10
- /** Stable owner/session scope identifier; it becomes one directory name. */
11
- scopeId: string;
12
- projectDir: string;
13
- contextDir?: string;
14
- systemSkillNames?: readonly string[];
15
- bundles: readonly UserSkillInstallInput[];
16
- /** Internal fault-injection seam for filesystem failure tests. */
17
- fileOps?: Partial<UserSkillFileOps>;
18
- }
19
- export interface UserSkillFileOps {
20
- mkdir(path: string, options?: {
21
- recursive?: boolean;
22
- mode?: number;
23
- }): Promise<unknown>;
24
- realpath(path: string): Promise<string>;
25
- stat(path: string): Promise<Awaited<ReturnType<typeof fs.stat>>>;
26
- lstat(path: string): Promise<Awaited<ReturnType<typeof fs.lstat>>>;
27
- rename(from: string, to: string): Promise<void>;
28
- rm(path: string, options?: {
29
- recursive?: boolean;
30
- force?: boolean;
31
- }): Promise<void>;
32
- writeFile(path: string, data: Uint8Array, options?: {
33
- flag?: string;
34
- mode?: number;
35
- }): Promise<void>;
36
- }
37
- export interface InstalledUserSkill {
38
- skillId: number;
39
- version: number;
40
- name: string;
41
- description: string;
42
- directory: string;
43
- }
44
- export interface UserSkillInstallResult {
45
- skillsRoot: string;
46
- installed: InstalledUserSkill[];
47
- }
48
- export declare class UserSkillInstallRecoveryError extends Error {
49
- readonly recoveryPath: string;
50
- constructor(recoveryPath: string, cause: unknown);
51
- }
52
- /** Parse and atomically replace one dedicated per-scope user skill tree. */
53
- export declare function installUserSkillBundles(options: UserSkillInstallOptions): Promise<UserSkillInstallResult>;
54
- //# sourceMappingURL=user-skill-install.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user-skill-install.d.ts","sourceRoot":"","sources":["../../../src/context/user-skill-install.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAKlC,MAAM,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