@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.
- package/README.md +20 -14
- package/bin/craft-mcp.mjs +4 -1
- package/dist-server/game-workflow/asset-import.mjs +5 -1
- package/dist-server/game-workflow/assets.mjs +6 -2
- package/dist-server/game-workflow/bundle-files.mjs +51 -43
- package/dist-server/game-workflow/check.mjs +8 -4
- package/dist-server/game-workflow/context-state.mjs +67 -0
- package/dist-server/game-workflow/draft-uploads.mjs +3 -0
- package/dist-server/game-workflow/engines.mjs +17 -8
- package/dist-server/game-workflow/library-assets.mjs +2 -1
- package/dist-server/game-workflow/local-context.mjs +62 -0
- package/dist-server/game-workflow/native-context.mjs +289 -0
- package/dist-server/game-workflow/project-bundles.mjs +175 -19
- package/dist-server/game-workflow/project-context.mjs +235 -91
- package/dist-server/game-workflow/project-leases.mjs +101 -30
- package/dist-server/game-workflow/projects.mjs +93 -12
- package/dist-server/game-workflow/publications.mjs +5 -1
- package/dist-server/game-workflow/tasks.mjs +6 -1
- package/dist-server/game-workflow/work-scope.mjs +7 -0
- package/dist-server/integrations/config.mjs +90 -16
- package/dist-server/integrations/connection-handoff.mjs +42 -0
- package/dist-server/integrations/dsh-config.mjs +182 -0
- package/dist-server/integrations/hosts.mjs +30 -5
- package/dist-server/integrations/install.mjs +147 -28
- package/dist-server/integrations/installation-state.mjs +84 -0
- package/dist-server/integrations/runtime-gc.mjs +188 -0
- package/dist-server/integrations/runtime.mjs +79 -24
- package/dist-server/integrations/updates.mjs +225 -0
- package/dist-server/integrations/version-policy.mjs +32 -0
- package/dist-server/mcp/control-panel.mjs +5 -2
- package/dist-server/mcp/publish-panel.mjs +7 -2
- package/dist-server/mcp/server.mjs +136 -27
- package/dist-server/mcp/start.mjs +11 -3
- package/dist-server/mcp/update-session.mjs +92 -0
- package/package.json +8 -10
- package/resources/context-filter-report.json +177 -0
- package/resources/craft-create/SKILL.md +19 -14
- package/resources/craft-update/SKILL.md +25 -0
- package/resources/targets/claude/js/bootstrap/SKILL.md +18 -0
- package/resources/targets/claude/js/context-filter-report.json +27 -0
- package/resources/targets/claude/js/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/claude/js/craft-game-maker/js.md +10 -0
- package/resources/targets/claude/js/js/bundle.json +97 -0
- package/resources/targets/claude/js/js/context/AGENTS.md +29 -0
- package/resources/targets/claude/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/claude/js/js/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/claude/js/js/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/claude/js/js/context/knowledge/Layout.md +7 -0
- package/resources/targets/claude/js/js/context/knowledge/Lifecycle.md +11 -0
- package/resources/targets/claude/js/js/context/knowledge/ResourceLoading.md +9 -0
- package/resources/targets/claude/js/js/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/claude/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/claude/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/claude/js/js/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/claude/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/claude/js/js/context/skills/index.json +19 -0
- package/resources/targets/claude/js/js/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/claude/js/js/project/README.md +7 -0
- package/resources/targets/claude/js/js/project/configs/assets.json +1 -0
- package/resources/targets/claude/js/js/project/configs/game.controls.json +3 -0
- package/resources/targets/claude/js/js/project/configs/game.json +3 -0
- package/resources/targets/claude/js/js/project/game-runtime.json +7 -0
- package/resources/targets/claude/js/js/project/game.config.json +7 -0
- package/resources/targets/claude/js/js/project/index.html +20 -0
- package/resources/targets/claude/js/js/project/package.json +22 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/claude/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/claude/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
- package/resources/targets/claude/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/claude/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
- package/resources/targets/claude/js/js/project/scripts/config-export.mjs +13 -0
- package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/claude/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/claude/js/js/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/claude/js/js/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/claude/js/js/project/src/display/viewport.ts +249 -0
- package/resources/targets/claude/js/js/project/src/main.ts +87 -0
- package/resources/targets/claude/js/js/project/src/platform.ts +2 -0
- package/resources/targets/claude/js/js/project/src/scenes/LoadScene.ts +89 -0
- package/resources/targets/claude/js/js/project/src/scenes/PlayScene.ts +17 -0
- package/resources/targets/claude/js/js/project/src/screenUi.ts +185 -0
- package/resources/targets/claude/js/js/project/src/style.css +294 -0
- package/resources/targets/claude/js/js/project/tsconfig.json +20 -0
- package/resources/targets/claude/js/js/project/unified_data_control_config.json +20 -0
- package/resources/targets/claude/js/js/project/vite.config.ts +5 -0
- package/resources/targets/claude/js/recovery.md +13 -0
- package/resources/targets/claude/js/target.json +61 -0
- package/resources/targets/claude/js3d/bootstrap/SKILL.md +18 -0
- package/resources/targets/claude/js3d/context-filter-report.json +27 -0
- package/resources/targets/claude/js3d/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/claude/js3d/craft-game-maker/js3d.md +12 -0
- package/resources/targets/claude/js3d/js3d/bundle.json +108 -0
- package/resources/targets/claude/js3d/js3d/context/AGENTS.md +30 -0
- package/resources/targets/claude/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/claude/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/claude/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/claude/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
- package/resources/targets/claude/js3d/js3d/context/knowledge/Layout.md +7 -0
- package/resources/targets/claude/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
- package/resources/targets/claude/js3d/js3d/context/knowledge/Runtime.md +9 -0
- package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
- package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
- package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
- package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
- package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
- package/resources/targets/claude/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
- package/resources/targets/claude/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/claude/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/claude/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/claude/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/claude/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/claude/js3d/js3d/context/skills/index.json +31 -0
- package/resources/targets/claude/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
- package/resources/targets/claude/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
- package/resources/targets/claude/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
- package/resources/targets/claude/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
- package/resources/targets/claude/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
- package/resources/targets/claude/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/claude/js3d/js3d/project/README.md +7 -0
- package/resources/targets/claude/js3d/js3d/project/configs/game.controls.json +3 -0
- package/resources/targets/claude/js3d/js3d/project/configs/game.json +3 -0
- package/resources/targets/claude/js3d/js3d/project/game-runtime.json +7 -0
- package/resources/targets/claude/js3d/js3d/project/game.config.json +7 -0
- package/resources/targets/claude/js3d/js3d/project/index.html +12 -0
- package/resources/targets/claude/js3d/js3d/project/package.json +23 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
- package/resources/targets/claude/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
- package/resources/targets/claude/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
- package/resources/targets/claude/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/claude/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
- package/resources/targets/claude/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
- package/resources/targets/claude/js3d/js3d/project/scripts/config-export.mjs +15 -0
- package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/claude/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/claude/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/claude/js3d/js3d/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/claude/js3d/js3d/project/src/display/viewport.ts +239 -0
- package/resources/targets/claude/js3d/js3d/project/src/main.ts +85 -0
- package/resources/targets/claude/js3d/js3d/project/src/platform.ts +2 -0
- package/resources/targets/claude/js3d/js3d/project/src/style.css +83 -0
- package/resources/targets/claude/js3d/js3d/project/tsconfig.json +20 -0
- package/resources/targets/claude/js3d/js3d/project/unified_data_control_config.json +20 -0
- package/resources/targets/claude/js3d/js3d/project/vite.config.ts +5 -0
- package/resources/targets/claude/js3d/recovery.md +13 -0
- package/resources/targets/claude/js3d/target.json +60 -0
- package/resources/targets/codebuddy/js/bootstrap/SKILL.md +18 -0
- package/resources/targets/codebuddy/js/context-filter-report.json +27 -0
- package/resources/targets/codebuddy/js/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/codebuddy/js/craft-game-maker/js.md +10 -0
- package/resources/targets/codebuddy/js/js/bundle.json +97 -0
- package/resources/targets/codebuddy/js/js/context/AGENTS.md +29 -0
- package/resources/targets/codebuddy/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/codebuddy/js/js/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/codebuddy/js/js/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/codebuddy/js/js/context/knowledge/Layout.md +7 -0
- package/resources/targets/codebuddy/js/js/context/knowledge/Lifecycle.md +11 -0
- package/resources/targets/codebuddy/js/js/context/knowledge/ResourceLoading.md +9 -0
- package/resources/targets/codebuddy/js/js/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/codebuddy/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/codebuddy/js/js/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/codebuddy/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/codebuddy/js/js/context/skills/index.json +19 -0
- package/resources/targets/codebuddy/js/js/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/codebuddy/js/js/project/README.md +7 -0
- package/resources/targets/codebuddy/js/js/project/configs/assets.json +1 -0
- package/resources/targets/codebuddy/js/js/project/configs/game.controls.json +3 -0
- package/resources/targets/codebuddy/js/js/project/configs/game.json +3 -0
- package/resources/targets/codebuddy/js/js/project/game-runtime.json +7 -0
- package/resources/targets/codebuddy/js/js/project/game.config.json +7 -0
- package/resources/targets/codebuddy/js/js/project/index.html +20 -0
- package/resources/targets/codebuddy/js/js/project/package.json +22 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/codebuddy/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
- package/resources/targets/codebuddy/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/codebuddy/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
- package/resources/targets/codebuddy/js/js/project/scripts/config-export.mjs +13 -0
- package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/codebuddy/js/js/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/codebuddy/js/js/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/codebuddy/js/js/project/src/display/viewport.ts +249 -0
- package/resources/targets/codebuddy/js/js/project/src/main.ts +87 -0
- package/resources/targets/codebuddy/js/js/project/src/platform.ts +2 -0
- package/resources/targets/codebuddy/js/js/project/src/scenes/LoadScene.ts +89 -0
- package/resources/targets/codebuddy/js/js/project/src/scenes/PlayScene.ts +17 -0
- package/resources/targets/codebuddy/js/js/project/src/screenUi.ts +185 -0
- package/resources/targets/codebuddy/js/js/project/src/style.css +294 -0
- package/resources/targets/codebuddy/js/js/project/tsconfig.json +20 -0
- package/resources/targets/codebuddy/js/js/project/unified_data_control_config.json +20 -0
- package/resources/targets/codebuddy/js/js/project/vite.config.ts +5 -0
- package/resources/targets/codebuddy/js/recovery.md +13 -0
- package/resources/targets/codebuddy/js/target.json +61 -0
- package/resources/targets/codebuddy/js3d/bootstrap/SKILL.md +18 -0
- package/resources/targets/codebuddy/js3d/context-filter-report.json +27 -0
- package/resources/targets/codebuddy/js3d/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/codebuddy/js3d/craft-game-maker/js3d.md +12 -0
- package/resources/targets/codebuddy/js3d/js3d/bundle.json +108 -0
- package/resources/targets/codebuddy/js3d/js3d/context/AGENTS.md +30 -0
- package/resources/targets/codebuddy/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/codebuddy/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/codebuddy/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/codebuddy/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
- package/resources/targets/codebuddy/js3d/js3d/context/knowledge/Layout.md +7 -0
- package/resources/targets/codebuddy/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
- package/resources/targets/codebuddy/js3d/js3d/context/knowledge/Runtime.md +9 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/index.json +31 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/codebuddy/js3d/js3d/project/README.md +7 -0
- package/resources/targets/codebuddy/js3d/js3d/project/configs/game.controls.json +3 -0
- package/resources/targets/codebuddy/js3d/js3d/project/configs/game.json +3 -0
- package/resources/targets/codebuddy/js3d/js3d/project/game-runtime.json +7 -0
- package/resources/targets/codebuddy/js3d/js3d/project/game.config.json +7 -0
- package/resources/targets/codebuddy/js3d/js3d/project/index.html +12 -0
- package/resources/targets/codebuddy/js3d/js3d/project/package.json +23 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
- package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
- package/resources/targets/codebuddy/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
- package/resources/targets/codebuddy/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/codebuddy/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
- package/resources/targets/codebuddy/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
- package/resources/targets/codebuddy/js3d/js3d/project/scripts/config-export.mjs +15 -0
- package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/codebuddy/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/codebuddy/js3d/js3d/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/codebuddy/js3d/js3d/project/src/display/viewport.ts +239 -0
- package/resources/targets/codebuddy/js3d/js3d/project/src/main.ts +85 -0
- package/resources/targets/codebuddy/js3d/js3d/project/src/platform.ts +2 -0
- package/resources/targets/codebuddy/js3d/js3d/project/src/style.css +83 -0
- package/resources/targets/codebuddy/js3d/js3d/project/tsconfig.json +20 -0
- package/resources/targets/codebuddy/js3d/js3d/project/unified_data_control_config.json +20 -0
- package/resources/targets/codebuddy/js3d/js3d/project/vite.config.ts +5 -0
- package/resources/targets/codebuddy/js3d/recovery.md +13 -0
- package/resources/targets/codebuddy/js3d/target.json +60 -0
- package/resources/targets/codex/js/bootstrap/SKILL.md +22 -0
- package/resources/targets/codex/js/context-filter-report.json +27 -0
- package/resources/targets/codex/js/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/codex/js/craft-game-maker/js.md +10 -0
- package/resources/targets/codex/js/js/bundle.json +97 -0
- package/resources/targets/codex/js/js/context/AGENTS.md +29 -0
- package/resources/targets/codex/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/codex/js/js/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/codex/js/js/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/codex/js/js/context/knowledge/Layout.md +7 -0
- package/resources/targets/codex/js/js/context/knowledge/Lifecycle.md +11 -0
- package/resources/targets/codex/js/js/context/knowledge/ResourceLoading.md +9 -0
- package/resources/targets/codex/js/js/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/codex/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/codex/js/js/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/codex/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/codex/js/js/context/skills/index.json +19 -0
- package/resources/targets/codex/js/js/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/codex/js/js/project/README.md +7 -0
- package/resources/targets/codex/js/js/project/configs/assets.json +1 -0
- package/resources/targets/codex/js/js/project/configs/game.controls.json +3 -0
- package/resources/targets/codex/js/js/project/configs/game.json +3 -0
- package/resources/targets/codex/js/js/project/game-runtime.json +7 -0
- package/resources/targets/codex/js/js/project/game.config.json +7 -0
- package/resources/targets/codex/js/js/project/index.html +20 -0
- package/resources/targets/codex/js/js/project/package.json +22 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/codex/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
- package/resources/targets/codex/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/codex/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
- package/resources/targets/codex/js/js/project/scripts/config-export.mjs +13 -0
- package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/codex/js/js/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/codex/js/js/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/codex/js/js/project/src/display/viewport.ts +249 -0
- package/resources/targets/codex/js/js/project/src/main.ts +87 -0
- package/resources/targets/codex/js/js/project/src/platform.ts +2 -0
- package/resources/targets/codex/js/js/project/src/scenes/LoadScene.ts +89 -0
- package/resources/targets/codex/js/js/project/src/scenes/PlayScene.ts +17 -0
- package/resources/targets/codex/js/js/project/src/screenUi.ts +185 -0
- package/resources/targets/codex/js/js/project/src/style.css +294 -0
- package/resources/targets/codex/js/js/project/tsconfig.json +20 -0
- package/resources/targets/codex/js/js/project/unified_data_control_config.json +20 -0
- package/resources/targets/codex/js/js/project/vite.config.ts +5 -0
- package/resources/targets/codex/js/recovery.md +17 -0
- package/resources/targets/codex/js/target.json +61 -0
- package/resources/targets/codex/js3d/bootstrap/SKILL.md +22 -0
- package/resources/targets/codex/js3d/context-filter-report.json +27 -0
- package/resources/targets/codex/js3d/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/codex/js3d/craft-game-maker/js3d.md +12 -0
- package/resources/targets/codex/js3d/js3d/bundle.json +108 -0
- package/resources/targets/codex/js3d/js3d/context/AGENTS.md +30 -0
- package/resources/targets/codex/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/codex/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/codex/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/codex/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
- package/resources/targets/codex/js3d/js3d/context/knowledge/Layout.md +7 -0
- package/resources/targets/codex/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
- package/resources/targets/codex/js3d/js3d/context/knowledge/Runtime.md +9 -0
- package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
- package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
- package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
- package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
- package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
- package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
- package/resources/targets/codex/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/codex/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/codex/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/codex/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/codex/js3d/js3d/context/skills/index.json +31 -0
- package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
- package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
- package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
- package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
- package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
- package/resources/targets/codex/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/codex/js3d/js3d/project/README.md +7 -0
- package/resources/targets/codex/js3d/js3d/project/configs/game.controls.json +3 -0
- package/resources/targets/codex/js3d/js3d/project/configs/game.json +3 -0
- package/resources/targets/codex/js3d/js3d/project/game-runtime.json +7 -0
- package/resources/targets/codex/js3d/js3d/project/game.config.json +7 -0
- package/resources/targets/codex/js3d/js3d/project/index.html +12 -0
- package/resources/targets/codex/js3d/js3d/project/package.json +23 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
- package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
- package/resources/targets/codex/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
- package/resources/targets/codex/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/codex/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
- package/resources/targets/codex/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
- package/resources/targets/codex/js3d/js3d/project/scripts/config-export.mjs +15 -0
- package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/codex/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/codex/js3d/js3d/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/codex/js3d/js3d/project/src/display/viewport.ts +239 -0
- package/resources/targets/codex/js3d/js3d/project/src/main.ts +85 -0
- package/resources/targets/codex/js3d/js3d/project/src/platform.ts +2 -0
- package/resources/targets/codex/js3d/js3d/project/src/style.css +83 -0
- package/resources/targets/codex/js3d/js3d/project/tsconfig.json +20 -0
- package/resources/targets/codex/js3d/js3d/project/unified_data_control_config.json +20 -0
- package/resources/targets/codex/js3d/js3d/project/vite.config.ts +5 -0
- package/resources/targets/codex/js3d/recovery.md +17 -0
- package/resources/targets/codex/js3d/target.json +60 -0
- package/resources/targets/cursor/js/bootstrap/SKILL.md +18 -0
- package/resources/targets/cursor/js/context-filter-report.json +27 -0
- package/resources/targets/cursor/js/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/cursor/js/craft-game-maker/js.md +10 -0
- package/resources/targets/cursor/js/js/bundle.json +97 -0
- package/resources/targets/cursor/js/js/context/AGENTS.md +29 -0
- package/resources/targets/cursor/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/cursor/js/js/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/cursor/js/js/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/cursor/js/js/context/knowledge/Layout.md +7 -0
- package/resources/targets/cursor/js/js/context/knowledge/Lifecycle.md +11 -0
- package/resources/targets/cursor/js/js/context/knowledge/ResourceLoading.md +9 -0
- package/resources/targets/cursor/js/js/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/cursor/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/cursor/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/cursor/js/js/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/cursor/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/cursor/js/js/context/skills/index.json +19 -0
- package/resources/targets/cursor/js/js/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/cursor/js/js/project/README.md +7 -0
- package/resources/targets/cursor/js/js/project/configs/assets.json +1 -0
- package/resources/targets/cursor/js/js/project/configs/game.controls.json +3 -0
- package/resources/targets/cursor/js/js/project/configs/game.json +3 -0
- package/resources/targets/cursor/js/js/project/game-runtime.json +7 -0
- package/resources/targets/cursor/js/js/project/game.config.json +7 -0
- package/resources/targets/cursor/js/js/project/index.html +20 -0
- package/resources/targets/cursor/js/js/project/package.json +22 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/cursor/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/cursor/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
- package/resources/targets/cursor/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/cursor/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
- package/resources/targets/cursor/js/js/project/scripts/config-export.mjs +13 -0
- package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/cursor/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/cursor/js/js/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/cursor/js/js/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/cursor/js/js/project/src/display/viewport.ts +249 -0
- package/resources/targets/cursor/js/js/project/src/main.ts +87 -0
- package/resources/targets/cursor/js/js/project/src/platform.ts +2 -0
- package/resources/targets/cursor/js/js/project/src/scenes/LoadScene.ts +89 -0
- package/resources/targets/cursor/js/js/project/src/scenes/PlayScene.ts +17 -0
- package/resources/targets/cursor/js/js/project/src/screenUi.ts +185 -0
- package/resources/targets/cursor/js/js/project/src/style.css +294 -0
- package/resources/targets/cursor/js/js/project/tsconfig.json +20 -0
- package/resources/targets/cursor/js/js/project/unified_data_control_config.json +20 -0
- package/resources/targets/cursor/js/js/project/vite.config.ts +5 -0
- package/resources/targets/cursor/js/recovery.md +13 -0
- package/resources/targets/cursor/js/target.json +61 -0
- package/resources/targets/cursor/js3d/bootstrap/SKILL.md +18 -0
- package/resources/targets/cursor/js3d/context-filter-report.json +27 -0
- package/resources/targets/cursor/js3d/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/cursor/js3d/craft-game-maker/js3d.md +12 -0
- package/resources/targets/cursor/js3d/js3d/bundle.json +108 -0
- package/resources/targets/cursor/js3d/js3d/context/AGENTS.md +30 -0
- package/resources/targets/cursor/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/cursor/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/cursor/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/cursor/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
- package/resources/targets/cursor/js3d/js3d/context/knowledge/Layout.md +7 -0
- package/resources/targets/cursor/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
- package/resources/targets/cursor/js3d/js3d/context/knowledge/Runtime.md +9 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/index.json +31 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
- package/resources/targets/cursor/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/cursor/js3d/js3d/project/README.md +7 -0
- package/resources/targets/cursor/js3d/js3d/project/configs/game.controls.json +3 -0
- package/resources/targets/cursor/js3d/js3d/project/configs/game.json +3 -0
- package/resources/targets/cursor/js3d/js3d/project/game-runtime.json +7 -0
- package/resources/targets/cursor/js3d/js3d/project/game.config.json +7 -0
- package/resources/targets/cursor/js3d/js3d/project/index.html +12 -0
- package/resources/targets/cursor/js3d/js3d/project/package.json +23 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
- package/resources/targets/cursor/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
- package/resources/targets/cursor/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
- package/resources/targets/cursor/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/cursor/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
- package/resources/targets/cursor/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
- package/resources/targets/cursor/js3d/js3d/project/scripts/config-export.mjs +15 -0
- package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/cursor/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/cursor/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/cursor/js3d/js3d/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/cursor/js3d/js3d/project/src/display/viewport.ts +239 -0
- package/resources/targets/cursor/js3d/js3d/project/src/main.ts +85 -0
- package/resources/targets/cursor/js3d/js3d/project/src/platform.ts +2 -0
- package/resources/targets/cursor/js3d/js3d/project/src/style.css +83 -0
- package/resources/targets/cursor/js3d/js3d/project/tsconfig.json +20 -0
- package/resources/targets/cursor/js3d/js3d/project/unified_data_control_config.json +20 -0
- package/resources/targets/cursor/js3d/js3d/project/vite.config.ts +5 -0
- package/resources/targets/cursor/js3d/recovery.md +13 -0
- package/resources/targets/cursor/js3d/target.json +60 -0
- package/resources/targets/dsh/js/bootstrap/SKILL.md +18 -0
- package/resources/targets/dsh/js/context-filter-report.json +27 -0
- package/resources/targets/dsh/js/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/dsh/js/craft-game-maker/js.md +10 -0
- package/resources/targets/dsh/js/js/bundle.json +97 -0
- package/resources/targets/dsh/js/js/context/AGENTS.md +29 -0
- package/resources/targets/dsh/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/dsh/js/js/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/dsh/js/js/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/dsh/js/js/context/knowledge/Layout.md +7 -0
- package/resources/targets/dsh/js/js/context/knowledge/Lifecycle.md +11 -0
- package/resources/targets/dsh/js/js/context/knowledge/ResourceLoading.md +9 -0
- package/resources/targets/dsh/js/js/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/dsh/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/dsh/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/dsh/js/js/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/dsh/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/dsh/js/js/context/skills/index.json +19 -0
- package/resources/targets/dsh/js/js/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/dsh/js/js/project/README.md +7 -0
- package/resources/targets/dsh/js/js/project/configs/assets.json +1 -0
- package/resources/targets/dsh/js/js/project/configs/game.controls.json +3 -0
- package/resources/targets/dsh/js/js/project/configs/game.json +3 -0
- package/resources/targets/dsh/js/js/project/game-runtime.json +7 -0
- package/resources/targets/dsh/js/js/project/game.config.json +7 -0
- package/resources/targets/dsh/js/js/project/index.html +20 -0
- package/resources/targets/dsh/js/js/project/package.json +22 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/dsh/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/dsh/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
- package/resources/targets/dsh/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/dsh/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
- package/resources/targets/dsh/js/js/project/scripts/config-export.mjs +13 -0
- package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/dsh/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/dsh/js/js/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/dsh/js/js/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/dsh/js/js/project/src/display/viewport.ts +249 -0
- package/resources/targets/dsh/js/js/project/src/main.ts +87 -0
- package/resources/targets/dsh/js/js/project/src/platform.ts +2 -0
- package/resources/targets/dsh/js/js/project/src/scenes/LoadScene.ts +89 -0
- package/resources/targets/dsh/js/js/project/src/scenes/PlayScene.ts +17 -0
- package/resources/targets/dsh/js/js/project/src/screenUi.ts +185 -0
- package/resources/targets/dsh/js/js/project/src/style.css +294 -0
- package/resources/targets/dsh/js/js/project/tsconfig.json +20 -0
- package/resources/targets/dsh/js/js/project/unified_data_control_config.json +20 -0
- package/resources/targets/dsh/js/js/project/vite.config.ts +5 -0
- package/resources/targets/dsh/js/recovery.md +13 -0
- package/resources/targets/dsh/js/target.json +61 -0
- package/resources/targets/dsh/js3d/bootstrap/SKILL.md +18 -0
- package/resources/targets/dsh/js3d/context-filter-report.json +27 -0
- package/resources/targets/dsh/js3d/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/dsh/js3d/craft-game-maker/js3d.md +12 -0
- package/resources/targets/dsh/js3d/js3d/bundle.json +108 -0
- package/resources/targets/dsh/js3d/js3d/context/AGENTS.md +30 -0
- package/resources/targets/dsh/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/dsh/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/dsh/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/dsh/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
- package/resources/targets/dsh/js3d/js3d/context/knowledge/Layout.md +7 -0
- package/resources/targets/dsh/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
- package/resources/targets/dsh/js3d/js3d/context/knowledge/Runtime.md +9 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/index.json +31 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
- package/resources/targets/dsh/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/dsh/js3d/js3d/project/README.md +7 -0
- package/resources/targets/dsh/js3d/js3d/project/configs/game.controls.json +3 -0
- package/resources/targets/dsh/js3d/js3d/project/configs/game.json +3 -0
- package/resources/targets/dsh/js3d/js3d/project/game-runtime.json +7 -0
- package/resources/targets/dsh/js3d/js3d/project/game.config.json +7 -0
- package/resources/targets/dsh/js3d/js3d/project/index.html +12 -0
- package/resources/targets/dsh/js3d/js3d/project/package.json +23 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
- package/resources/targets/dsh/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
- package/resources/targets/dsh/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
- package/resources/targets/dsh/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/dsh/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
- package/resources/targets/dsh/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
- package/resources/targets/dsh/js3d/js3d/project/scripts/config-export.mjs +15 -0
- package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/dsh/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/dsh/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/dsh/js3d/js3d/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/dsh/js3d/js3d/project/src/display/viewport.ts +239 -0
- package/resources/targets/dsh/js3d/js3d/project/src/main.ts +85 -0
- package/resources/targets/dsh/js3d/js3d/project/src/platform.ts +2 -0
- package/resources/targets/dsh/js3d/js3d/project/src/style.css +83 -0
- package/resources/targets/dsh/js3d/js3d/project/tsconfig.json +20 -0
- package/resources/targets/dsh/js3d/js3d/project/unified_data_control_config.json +20 -0
- package/resources/targets/dsh/js3d/js3d/project/vite.config.ts +5 -0
- package/resources/targets/dsh/js3d/recovery.md +13 -0
- package/resources/targets/dsh/js3d/target.json +60 -0
- package/resources/targets/index.json +101 -0
- package/resources/targets/kimi/js/bootstrap/SKILL.md +18 -0
- package/resources/targets/kimi/js/context-filter-report.json +27 -0
- package/resources/targets/kimi/js/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/kimi/js/craft-game-maker/js.md +10 -0
- package/resources/targets/kimi/js/js/bundle.json +97 -0
- package/resources/targets/kimi/js/js/context/AGENTS.md +29 -0
- package/resources/targets/kimi/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/kimi/js/js/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/kimi/js/js/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/kimi/js/js/context/knowledge/Layout.md +7 -0
- package/resources/targets/kimi/js/js/context/knowledge/Lifecycle.md +11 -0
- package/resources/targets/kimi/js/js/context/knowledge/ResourceLoading.md +9 -0
- package/resources/targets/kimi/js/js/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/kimi/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/kimi/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/kimi/js/js/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/kimi/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/kimi/js/js/context/skills/index.json +19 -0
- package/resources/targets/kimi/js/js/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/kimi/js/js/project/README.md +7 -0
- package/resources/targets/kimi/js/js/project/configs/assets.json +1 -0
- package/resources/targets/kimi/js/js/project/configs/game.controls.json +3 -0
- package/resources/targets/kimi/js/js/project/configs/game.json +3 -0
- package/resources/targets/kimi/js/js/project/game-runtime.json +7 -0
- package/resources/targets/kimi/js/js/project/game.config.json +7 -0
- package/resources/targets/kimi/js/js/project/index.html +20 -0
- package/resources/targets/kimi/js/js/project/package.json +22 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/kimi/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/kimi/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
- package/resources/targets/kimi/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/kimi/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
- package/resources/targets/kimi/js/js/project/scripts/config-export.mjs +13 -0
- package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/kimi/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/kimi/js/js/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/kimi/js/js/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/kimi/js/js/project/src/display/viewport.ts +249 -0
- package/resources/targets/kimi/js/js/project/src/main.ts +87 -0
- package/resources/targets/kimi/js/js/project/src/platform.ts +2 -0
- package/resources/targets/kimi/js/js/project/src/scenes/LoadScene.ts +89 -0
- package/resources/targets/kimi/js/js/project/src/scenes/PlayScene.ts +17 -0
- package/resources/targets/kimi/js/js/project/src/screenUi.ts +185 -0
- package/resources/targets/kimi/js/js/project/src/style.css +294 -0
- package/resources/targets/kimi/js/js/project/tsconfig.json +20 -0
- package/resources/targets/kimi/js/js/project/unified_data_control_config.json +20 -0
- package/resources/targets/kimi/js/js/project/vite.config.ts +5 -0
- package/resources/targets/kimi/js/recovery.md +13 -0
- package/resources/targets/kimi/js/target.json +61 -0
- package/resources/targets/kimi/js3d/bootstrap/SKILL.md +18 -0
- package/resources/targets/kimi/js3d/context-filter-report.json +27 -0
- package/resources/targets/kimi/js3d/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/kimi/js3d/craft-game-maker/js3d.md +12 -0
- package/resources/targets/kimi/js3d/js3d/bundle.json +108 -0
- package/resources/targets/kimi/js3d/js3d/context/AGENTS.md +30 -0
- package/resources/targets/kimi/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/kimi/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/kimi/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/kimi/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
- package/resources/targets/kimi/js3d/js3d/context/knowledge/Layout.md +7 -0
- package/resources/targets/kimi/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
- package/resources/targets/kimi/js3d/js3d/context/knowledge/Runtime.md +9 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/index.json +31 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
- package/resources/targets/kimi/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/kimi/js3d/js3d/project/README.md +7 -0
- package/resources/targets/kimi/js3d/js3d/project/configs/game.controls.json +3 -0
- package/resources/targets/kimi/js3d/js3d/project/configs/game.json +3 -0
- package/resources/targets/kimi/js3d/js3d/project/game-runtime.json +7 -0
- package/resources/targets/kimi/js3d/js3d/project/game.config.json +7 -0
- package/resources/targets/kimi/js3d/js3d/project/index.html +12 -0
- package/resources/targets/kimi/js3d/js3d/project/package.json +23 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
- package/resources/targets/kimi/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
- package/resources/targets/kimi/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
- package/resources/targets/kimi/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/kimi/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
- package/resources/targets/kimi/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
- package/resources/targets/kimi/js3d/js3d/project/scripts/config-export.mjs +15 -0
- package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/kimi/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/kimi/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/kimi/js3d/js3d/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/kimi/js3d/js3d/project/src/display/viewport.ts +239 -0
- package/resources/targets/kimi/js3d/js3d/project/src/main.ts +85 -0
- package/resources/targets/kimi/js3d/js3d/project/src/platform.ts +2 -0
- package/resources/targets/kimi/js3d/js3d/project/src/style.css +83 -0
- package/resources/targets/kimi/js3d/js3d/project/tsconfig.json +20 -0
- package/resources/targets/kimi/js3d/js3d/project/unified_data_control_config.json +20 -0
- package/resources/targets/kimi/js3d/js3d/project/vite.config.ts +5 -0
- package/resources/targets/kimi/js3d/recovery.md +13 -0
- package/resources/targets/kimi/js3d/target.json +60 -0
- package/resources/targets/workbuddy/js/bootstrap/SKILL.md +24 -0
- package/resources/targets/workbuddy/js/context-filter-report.json +27 -0
- package/resources/targets/workbuddy/js/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/workbuddy/js/craft-game-maker/js.md +10 -0
- package/resources/targets/workbuddy/js/js/bundle.json +97 -0
- package/resources/targets/workbuddy/js/js/context/AGENTS.md +29 -0
- package/resources/targets/workbuddy/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/workbuddy/js/js/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/workbuddy/js/js/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/workbuddy/js/js/context/knowledge/Layout.md +7 -0
- package/resources/targets/workbuddy/js/js/context/knowledge/Lifecycle.md +11 -0
- package/resources/targets/workbuddy/js/js/context/knowledge/ResourceLoading.md +9 -0
- package/resources/targets/workbuddy/js/js/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/workbuddy/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/workbuddy/js/js/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/workbuddy/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/workbuddy/js/js/context/skills/index.json +19 -0
- package/resources/targets/workbuddy/js/js/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/workbuddy/js/js/project/README.md +7 -0
- package/resources/targets/workbuddy/js/js/project/configs/assets.json +1 -0
- package/resources/targets/workbuddy/js/js/project/configs/game.controls.json +3 -0
- package/resources/targets/workbuddy/js/js/project/configs/game.json +3 -0
- package/resources/targets/workbuddy/js/js/project/game-runtime.json +7 -0
- package/resources/targets/workbuddy/js/js/project/game.config.json +7 -0
- package/resources/targets/workbuddy/js/js/project/index.html +20 -0
- package/resources/targets/workbuddy/js/js/project/package.json +22 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/workbuddy/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
- package/resources/targets/workbuddy/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/workbuddy/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
- package/resources/targets/workbuddy/js/js/project/scripts/config-export.mjs +13 -0
- package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/workbuddy/js/js/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/workbuddy/js/js/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/workbuddy/js/js/project/src/display/viewport.ts +249 -0
- package/resources/targets/workbuddy/js/js/project/src/main.ts +87 -0
- package/resources/targets/workbuddy/js/js/project/src/platform.ts +2 -0
- package/resources/targets/workbuddy/js/js/project/src/scenes/LoadScene.ts +89 -0
- package/resources/targets/workbuddy/js/js/project/src/scenes/PlayScene.ts +17 -0
- package/resources/targets/workbuddy/js/js/project/src/screenUi.ts +185 -0
- package/resources/targets/workbuddy/js/js/project/src/style.css +294 -0
- package/resources/targets/workbuddy/js/js/project/tsconfig.json +20 -0
- package/resources/targets/workbuddy/js/js/project/unified_data_control_config.json +20 -0
- package/resources/targets/workbuddy/js/js/project/vite.config.ts +5 -0
- package/resources/targets/workbuddy/js/recovery.md +19 -0
- package/resources/targets/workbuddy/js/target.json +61 -0
- package/resources/targets/workbuddy/js3d/bootstrap/SKILL.md +24 -0
- package/resources/targets/workbuddy/js3d/context-filter-report.json +27 -0
- package/resources/targets/workbuddy/js3d/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/workbuddy/js3d/craft-game-maker/js3d.md +12 -0
- package/resources/targets/workbuddy/js3d/js3d/bundle.json +108 -0
- package/resources/targets/workbuddy/js3d/js3d/context/AGENTS.md +30 -0
- package/resources/targets/workbuddy/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/workbuddy/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/workbuddy/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/workbuddy/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
- package/resources/targets/workbuddy/js3d/js3d/context/knowledge/Layout.md +7 -0
- package/resources/targets/workbuddy/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
- package/resources/targets/workbuddy/js3d/js3d/context/knowledge/Runtime.md +9 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/index.json +31 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/workbuddy/js3d/js3d/project/README.md +7 -0
- package/resources/targets/workbuddy/js3d/js3d/project/configs/game.controls.json +3 -0
- package/resources/targets/workbuddy/js3d/js3d/project/configs/game.json +3 -0
- package/resources/targets/workbuddy/js3d/js3d/project/game-runtime.json +7 -0
- package/resources/targets/workbuddy/js3d/js3d/project/game.config.json +7 -0
- package/resources/targets/workbuddy/js3d/js3d/project/index.html +12 -0
- package/resources/targets/workbuddy/js3d/js3d/project/package.json +23 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
- package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
- package/resources/targets/workbuddy/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
- package/resources/targets/workbuddy/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/workbuddy/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
- package/resources/targets/workbuddy/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
- package/resources/targets/workbuddy/js3d/js3d/project/scripts/config-export.mjs +15 -0
- package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/workbuddy/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/workbuddy/js3d/js3d/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/workbuddy/js3d/js3d/project/src/display/viewport.ts +239 -0
- package/resources/targets/workbuddy/js3d/js3d/project/src/main.ts +85 -0
- package/resources/targets/workbuddy/js3d/js3d/project/src/platform.ts +2 -0
- package/resources/targets/workbuddy/js3d/js3d/project/src/style.css +83 -0
- package/resources/targets/workbuddy/js3d/js3d/project/tsconfig.json +20 -0
- package/resources/targets/workbuddy/js3d/js3d/project/unified_data_control_config.json +20 -0
- package/resources/targets/workbuddy/js3d/js3d/project/vite.config.ts +5 -0
- package/resources/targets/workbuddy/js3d/recovery.md +19 -0
- package/resources/targets/workbuddy/js3d/target.json +60 -0
- package/resources/targets/zcode/js/bootstrap/SKILL.md +18 -0
- package/resources/targets/zcode/js/context-filter-report.json +27 -0
- package/resources/targets/zcode/js/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/zcode/js/craft-game-maker/js.md +10 -0
- package/resources/targets/zcode/js/js/bundle.json +97 -0
- package/resources/targets/zcode/js/js/context/AGENTS.md +29 -0
- package/resources/targets/zcode/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/zcode/js/js/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/zcode/js/js/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/zcode/js/js/context/knowledge/Layout.md +7 -0
- package/resources/targets/zcode/js/js/context/knowledge/Lifecycle.md +11 -0
- package/resources/targets/zcode/js/js/context/knowledge/ResourceLoading.md +9 -0
- package/resources/targets/zcode/js/js/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/zcode/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/zcode/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/zcode/js/js/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/zcode/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/zcode/js/js/context/skills/index.json +19 -0
- package/resources/targets/zcode/js/js/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/zcode/js/js/project/README.md +7 -0
- package/resources/targets/zcode/js/js/project/configs/assets.json +1 -0
- package/resources/targets/zcode/js/js/project/configs/game.controls.json +3 -0
- package/resources/targets/zcode/js/js/project/configs/game.json +3 -0
- package/resources/targets/zcode/js/js/project/game-runtime.json +7 -0
- package/resources/targets/zcode/js/js/project/game.config.json +7 -0
- package/resources/targets/zcode/js/js/project/index.html +20 -0
- package/resources/targets/zcode/js/js/project/package.json +22 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/zcode/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/zcode/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
- package/resources/targets/zcode/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/zcode/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
- package/resources/targets/zcode/js/js/project/scripts/config-export.mjs +13 -0
- package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/zcode/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/zcode/js/js/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/zcode/js/js/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/zcode/js/js/project/src/display/viewport.ts +249 -0
- package/resources/targets/zcode/js/js/project/src/main.ts +87 -0
- package/resources/targets/zcode/js/js/project/src/platform.ts +2 -0
- package/resources/targets/zcode/js/js/project/src/scenes/LoadScene.ts +89 -0
- package/resources/targets/zcode/js/js/project/src/scenes/PlayScene.ts +17 -0
- package/resources/targets/zcode/js/js/project/src/screenUi.ts +185 -0
- package/resources/targets/zcode/js/js/project/src/style.css +294 -0
- package/resources/targets/zcode/js/js/project/tsconfig.json +20 -0
- package/resources/targets/zcode/js/js/project/unified_data_control_config.json +20 -0
- package/resources/targets/zcode/js/js/project/vite.config.ts +5 -0
- package/resources/targets/zcode/js/recovery.md +13 -0
- package/resources/targets/zcode/js/target.json +61 -0
- package/resources/targets/zcode/js3d/bootstrap/SKILL.md +18 -0
- package/resources/targets/zcode/js3d/context-filter-report.json +27 -0
- package/resources/targets/zcode/js3d/craft-game-maker/SKILL.md +76 -0
- package/resources/targets/zcode/js3d/craft-game-maker/js3d.md +12 -0
- package/resources/targets/zcode/js3d/js3d/bundle.json +108 -0
- package/resources/targets/zcode/js3d/js3d/context/AGENTS.md +30 -0
- package/resources/targets/zcode/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/zcode/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
- package/resources/targets/zcode/js3d/js3d/context/knowledge/AssetWiring.md +7 -0
- package/resources/targets/zcode/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
- package/resources/targets/zcode/js3d/js3d/context/knowledge/Layout.md +7 -0
- package/resources/targets/zcode/js3d/js3d/context/knowledge/ResourceLoading.md +11 -0
- package/resources/targets/zcode/js3d/js3d/context/knowledge/Runtime.md +9 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/index.json +31 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
- package/resources/targets/zcode/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/targets/zcode/js3d/js3d/project/README.md +7 -0
- package/resources/targets/zcode/js3d/js3d/project/configs/game.controls.json +3 -0
- package/resources/targets/zcode/js3d/js3d/project/configs/game.json +3 -0
- package/resources/targets/zcode/js3d/js3d/project/game-runtime.json +7 -0
- package/resources/targets/zcode/js3d/js3d/project/game.config.json +7 -0
- package/resources/targets/zcode/js3d/js3d/project/index.html +12 -0
- package/resources/targets/zcode/js3d/js3d/project/package.json +23 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
- package/resources/targets/zcode/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
- package/resources/targets/zcode/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
- package/resources/targets/zcode/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/targets/zcode/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
- package/resources/targets/zcode/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
- package/resources/targets/zcode/js3d/js3d/project/scripts/config-export.mjs +15 -0
- package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
- package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
- package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
- package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
- package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
- package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
- package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
- package/resources/targets/zcode/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
- package/resources/targets/zcode/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
- package/resources/targets/zcode/js3d/js3d/project/src/display/ui-stage.ts +156 -0
- package/resources/targets/zcode/js3d/js3d/project/src/display/viewport.ts +239 -0
- package/resources/targets/zcode/js3d/js3d/project/src/main.ts +85 -0
- package/resources/targets/zcode/js3d/js3d/project/src/platform.ts +2 -0
- package/resources/targets/zcode/js3d/js3d/project/src/style.css +83 -0
- package/resources/targets/zcode/js3d/js3d/project/tsconfig.json +20 -0
- package/resources/targets/zcode/js3d/js3d/project/unified_data_control_config.json +20 -0
- package/resources/targets/zcode/js3d/js3d/project/vite.config.ts +5 -0
- package/resources/targets/zcode/js3d/recovery.md +13 -0
- package/resources/targets/zcode/js3d/target.json +60 -0
- package/vendor/craft-runtime/NOTICE.md +3 -0
- package/vendor/craft-runtime/SOURCE.json +63 -0
- package/vendor/craft-runtime/index.js +1716 -0
- package/vendor/craft-runtime/isolated-launcher.js +94 -0
- package/vendor/craft-runtime/isolated-preload.js +80 -0
- package/vendor/craft-runtime/package.json +8 -0
- package/vendor/agent-cli/dist/runtime-tools/registry.json +0 -6
- package/vendor/agent-cli/dist/runtime-tools/tool-bundle-types.d.cts +0 -15
- package/vendor/agent-cli/dist/runtime-tools/tool-bundle.cjs +0 -129
- package/vendor/agent-cli/dist/runtime-tools/ue/blender-cook-assets.cjs +0 -296
- package/vendor/agent-cli/dist/runtime-tools/ue/context-adapter.cjs +0 -48
- package/vendor/agent-cli/dist/runtime-tools/ue/scene-process-lock.cjs +0 -110
- package/vendor/agent-cli/dist/runtime-tools/ue/tool-manifest.json +0 -22
- package/vendor/agent-cli/dist/runtime-tools/ue/ue-asset-references.cjs +0 -305
- package/vendor/agent-cli/dist/src/artifacts/build-failure.d.ts +0 -8
- package/vendor/agent-cli/dist/src/artifacts/build-failure.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/build-failure.js +0 -39
- package/vendor/agent-cli/dist/src/artifacts/build-failure.js.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/context-finalize.d.ts +0 -3
- package/vendor/agent-cli/dist/src/artifacts/context-finalize.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/context-finalize.js +0 -54
- package/vendor/agent-cli/dist/src/artifacts/context-finalize.js.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/dependency-toolchain.d.ts +0 -5
- package/vendor/agent-cli/dist/src/artifacts/dependency-toolchain.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/dependency-toolchain.js +0 -45
- package/vendor/agent-cli/dist/src/artifacts/dependency-toolchain.js.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/external-game-archive.d.ts +0 -19
- package/vendor/agent-cli/dist/src/artifacts/external-game-archive.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/external-game-archive.js +0 -107
- package/vendor/agent-cli/dist/src/artifacts/external-game-archive.js.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/external-game-upload.d.ts +0 -44
- package/vendor/agent-cli/dist/src/artifacts/external-game-upload.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/external-game-upload.js +0 -106
- package/vendor/agent-cli/dist/src/artifacts/external-game-upload.js.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/native-source.d.ts +0 -3
- package/vendor/agent-cli/dist/src/artifacts/native-source.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/native-source.js +0 -13
- package/vendor/agent-cli/dist/src/artifacts/native-source.js.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/preinstalled-dependencies.d.ts +0 -13
- package/vendor/agent-cli/dist/src/artifacts/preinstalled-dependencies.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/preinstalled-dependencies.js +0 -365
- package/vendor/agent-cli/dist/src/artifacts/preinstalled-dependencies.js.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/prepare.d.ts +0 -63
- package/vendor/agent-cli/dist/src/artifacts/prepare.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/prepare.js +0 -216
- package/vendor/agent-cli/dist/src/artifacts/prepare.js.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/process-artifacts.d.ts +0 -41
- package/vendor/agent-cli/dist/src/artifacts/process-artifacts.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/process-artifacts.js +0 -184
- package/vendor/agent-cli/dist/src/artifacts/process-artifacts.js.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/restore-permissions.d.ts +0 -27
- package/vendor/agent-cli/dist/src/artifacts/restore-permissions.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/restore-permissions.js +0 -112
- package/vendor/agent-cli/dist/src/artifacts/restore-permissions.js.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/restore.d.ts +0 -37
- package/vendor/agent-cli/dist/src/artifacts/restore.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/restore.js +0 -465
- package/vendor/agent-cli/dist/src/artifacts/restore.js.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/scene-asset-references.d.ts +0 -14
- package/vendor/agent-cli/dist/src/artifacts/scene-asset-references.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/scene-asset-references.js +0 -119
- package/vendor/agent-cli/dist/src/artifacts/scene-asset-references.js.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/static.d.ts +0 -19
- package/vendor/agent-cli/dist/src/artifacts/static.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/static.js +0 -238
- package/vendor/agent-cli/dist/src/artifacts/static.js.map +0 -1
- package/vendor/agent-cli/dist/src/cli/commands/process.d.ts +0 -4
- package/vendor/agent-cli/dist/src/cli/commands/process.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/cli/commands/process.js +0 -24
- package/vendor/agent-cli/dist/src/cli/commands/process.js.map +0 -1
- package/vendor/agent-cli/dist/src/cli/commands/run-controls.d.ts +0 -23
- package/vendor/agent-cli/dist/src/cli/commands/run-controls.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/cli/commands/run-controls.js +0 -62
- package/vendor/agent-cli/dist/src/cli/commands/run-controls.js.map +0 -1
- package/vendor/agent-cli/dist/src/cli/commands/run-mock.d.ts +0 -9
- package/vendor/agent-cli/dist/src/cli/commands/run-mock.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/cli/commands/run-mock.js +0 -15
- package/vendor/agent-cli/dist/src/cli/commands/run-mock.js.map +0 -1
- package/vendor/agent-cli/dist/src/cli/commands/run.d.ts +0 -3
- package/vendor/agent-cli/dist/src/cli/commands/run.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/cli/commands/run.js +0 -284
- package/vendor/agent-cli/dist/src/cli/commands/run.js.map +0 -1
- package/vendor/agent-cli/dist/src/cli/commands/setup.d.ts +0 -11
- package/vendor/agent-cli/dist/src/cli/commands/setup.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/cli/commands/setup.js +0 -161
- package/vendor/agent-cli/dist/src/cli/commands/setup.js.map +0 -1
- package/vendor/agent-cli/dist/src/cli/options.d.ts +0 -83
- package/vendor/agent-cli/dist/src/cli/options.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/cli/options.js +0 -213
- package/vendor/agent-cli/dist/src/cli/options.js.map +0 -1
- package/vendor/agent-cli/dist/src/cli/process-protocol.d.ts +0 -5
- package/vendor/agent-cli/dist/src/cli/process-protocol.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/cli/process-protocol.js +0 -301
- package/vendor/agent-cli/dist/src/cli/process-protocol.js.map +0 -1
- package/vendor/agent-cli/dist/src/cli/process-steering.d.ts +0 -21
- package/vendor/agent-cli/dist/src/cli/process-steering.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/cli/process-steering.js +0 -66
- package/vendor/agent-cli/dist/src/cli/process-steering.js.map +0 -1
- package/vendor/agent-cli/dist/src/cli/registry.d.ts +0 -55
- package/vendor/agent-cli/dist/src/cli/registry.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/cli/registry.js +0 -99
- package/vendor/agent-cli/dist/src/cli/registry.js.map +0 -1
- package/vendor/agent-cli/dist/src/cli/render/jsonl-sink.d.ts +0 -44
- package/vendor/agent-cli/dist/src/cli/render/jsonl-sink.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/cli/render/jsonl-sink.js +0 -83
- package/vendor/agent-cli/dist/src/cli/render/jsonl-sink.js.map +0 -1
- package/vendor/agent-cli/dist/src/cli/render/text-sink.d.ts +0 -28
- package/vendor/agent-cli/dist/src/cli/render/text-sink.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/cli/render/text-sink.js +0 -52
- package/vendor/agent-cli/dist/src/cli/render/text-sink.js.map +0 -1
- package/vendor/agent-cli/dist/src/cli.d.ts +0 -9
- package/vendor/agent-cli/dist/src/cli.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/cli.js +0 -54
- package/vendor/agent-cli/dist/src/cli.js.map +0 -1
- package/vendor/agent-cli/dist/src/component/browser-queue.d.ts +0 -55
- package/vendor/agent-cli/dist/src/component/browser-queue.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/component/browser-queue.js +0 -63
- package/vendor/agent-cli/dist/src/component/browser-queue.js.map +0 -1
- package/vendor/agent-cli/dist/src/component/execution.d.ts +0 -28
- package/vendor/agent-cli/dist/src/component/execution.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/component/execution.js +0 -143
- package/vendor/agent-cli/dist/src/component/execution.js.map +0 -1
- package/vendor/agent-cli/dist/src/component/isolated-launcher.d.ts +0 -2
- package/vendor/agent-cli/dist/src/component/isolated-launcher.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/component/isolated-launcher.js +0 -76
- package/vendor/agent-cli/dist/src/component/isolated-launcher.js.map +0 -1
- package/vendor/agent-cli/dist/src/component/isolated-preload.d.ts +0 -2
- package/vendor/agent-cli/dist/src/component/isolated-preload.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/component/isolated-preload.js +0 -27
- package/vendor/agent-cli/dist/src/component/isolated-preload.js.map +0 -1
- package/vendor/agent-cli/dist/src/component/platform-access/server.d.ts +0 -19
- package/vendor/agent-cli/dist/src/component/platform-access/server.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/component/platform-access/server.js +0 -206
- package/vendor/agent-cli/dist/src/component/platform-access/server.js.map +0 -1
- package/vendor/agent-cli/dist/src/component/preparation-diagnostics.d.ts +0 -31
- package/vendor/agent-cli/dist/src/component/preparation-diagnostics.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/component/preparation-diagnostics.js +0 -62
- package/vendor/agent-cli/dist/src/component/preparation-diagnostics.js.map +0 -1
- package/vendor/agent-cli/dist/src/component/preparation.d.ts +0 -10
- package/vendor/agent-cli/dist/src/component/preparation.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/component/preparation.js +0 -35
- package/vendor/agent-cli/dist/src/component/preparation.js.map +0 -1
- package/vendor/agent-cli/dist/src/component/process-diagnostics.d.ts +0 -25
- package/vendor/agent-cli/dist/src/component/process-diagnostics.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/component/process-diagnostics.js +0 -137
- package/vendor/agent-cli/dist/src/component/process-diagnostics.js.map +0 -1
- package/vendor/agent-cli/dist/src/component/process-isolation.d.ts +0 -10
- package/vendor/agent-cli/dist/src/component/process-isolation.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/component/process-isolation.js +0 -59
- package/vendor/agent-cli/dist/src/component/process-isolation.js.map +0 -1
- package/vendor/agent-cli/dist/src/component/proxied-fetch.d.ts +0 -2
- package/vendor/agent-cli/dist/src/component/proxied-fetch.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/component/proxied-fetch.js +0 -46
- package/vendor/agent-cli/dist/src/component/proxied-fetch.js.map +0 -1
- package/vendor/agent-cli/dist/src/component/public-egress.d.ts +0 -17
- package/vendor/agent-cli/dist/src/component/public-egress.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/component/public-egress.js +0 -246
- package/vendor/agent-cli/dist/src/component/public-egress.js.map +0 -1
- package/vendor/agent-cli/dist/src/component/runtime-tools.d.ts +0 -15
- package/vendor/agent-cli/dist/src/component/runtime-tools.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/component/runtime-tools.js +0 -37
- package/vendor/agent-cli/dist/src/component/runtime-tools.js.map +0 -1
- package/vendor/agent-cli/dist/src/component/runtime.d.ts +0 -8
- package/vendor/agent-cli/dist/src/component/runtime.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/component/runtime.js +0 -95
- package/vendor/agent-cli/dist/src/component/runtime.js.map +0 -1
- package/vendor/agent-cli/dist/src/config/config-store.d.ts +0 -50
- package/vendor/agent-cli/dist/src/config/config-store.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/config/config-store.js +0 -117
- package/vendor/agent-cli/dist/src/config/config-store.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/cache-lease.d.ts +0 -17
- package/vendor/agent-cli/dist/src/context/cache-lease.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/cache-lease.js +0 -133
- package/vendor/agent-cli/dist/src/context/cache-lease.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/cache-prune-diagnostics.d.ts +0 -9
- package/vendor/agent-cli/dist/src/context/cache-prune-diagnostics.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/cache-prune-diagnostics.js +0 -51
- package/vendor/agent-cli/dist/src/context/cache-prune-diagnostics.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/cache-publication-lock.d.ts +0 -3
- package/vendor/agent-cli/dist/src/context/cache-publication-lock.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/cache-publication-lock.js +0 -68
- package/vendor/agent-cli/dist/src/context/cache-publication-lock.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/cache-publication.d.ts +0 -4
- package/vendor/agent-cli/dist/src/context/cache-publication.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/cache-publication.js +0 -58
- package/vendor/agent-cli/dist/src/context/cache-publication.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/client-context-view.d.ts +0 -12
- package/vendor/agent-cli/dist/src/context/client-context-view.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/client-context-view.js +0 -100
- package/vendor/agent-cli/dist/src/context/client-context-view.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/context-budget.d.ts +0 -3
- package/vendor/agent-cli/dist/src/context/context-budget.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/context-budget.js +0 -10
- package/vendor/agent-cli/dist/src/context/context-budget.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/context-cache.d.ts +0 -108
- package/vendor/agent-cli/dist/src/context/context-cache.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/context-cache.js +0 -360
- package/vendor/agent-cli/dist/src/context/context-cache.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/context-project.d.ts +0 -67
- package/vendor/agent-cli/dist/src/context/context-project.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/context-project.js +0 -254
- package/vendor/agent-cli/dist/src/context/context-project.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/context-resource.d.ts +0 -4
- package/vendor/agent-cli/dist/src/context/context-resource.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/context-resource.js +0 -11
- package/vendor/agent-cli/dist/src/context/context-resource.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/context-scoped-source.d.ts +0 -13
- package/vendor/agent-cli/dist/src/context/context-scoped-source.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/context-scoped-source.js +0 -78
- package/vendor/agent-cli/dist/src/context/context-scoped-source.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/context-snapshot-cache.d.ts +0 -23
- package/vendor/agent-cli/dist/src/context/context-snapshot-cache.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/context-snapshot-cache.js +0 -200
- package/vendor/agent-cli/dist/src/context/context-snapshot-cache.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/local-skills.d.ts +0 -6
- package/vendor/agent-cli/dist/src/context/local-skills.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/local-skills.js +0 -174
- package/vendor/agent-cli/dist/src/context/local-skills.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/member-context.d.ts +0 -20
- package/vendor/agent-cli/dist/src/context/member-context.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/member-context.js +0 -113
- package/vendor/agent-cli/dist/src/context/member-context.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/member-documents.d.ts +0 -3
- package/vendor/agent-cli/dist/src/context/member-documents.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/member-documents.js +0 -38
- package/vendor/agent-cli/dist/src/context/member-documents.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/member-profile-header.d.ts +0 -3
- package/vendor/agent-cli/dist/src/context/member-profile-header.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/member-profile-header.js +0 -62
- package/vendor/agent-cli/dist/src/context/member-profile-header.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/member-profile.d.ts +0 -43
- package/vendor/agent-cli/dist/src/context/member-profile.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/member-profile.js +0 -91
- package/vendor/agent-cli/dist/src/context/member-profile.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/member-selection.d.ts +0 -7
- package/vendor/agent-cli/dist/src/context/member-selection.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/member-selection.js +0 -58
- package/vendor/agent-cli/dist/src/context/member-selection.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/script-dependencies.d.ts +0 -14
- package/vendor/agent-cli/dist/src/context/script-dependencies.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/script-dependencies.js +0 -40
- package/vendor/agent-cli/dist/src/context/script-dependencies.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/shared-cache-build.d.ts +0 -3
- package/vendor/agent-cli/dist/src/context/shared-cache-build.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/shared-cache-build.js +0 -56
- package/vendor/agent-cli/dist/src/context/shared-cache-build.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/team-definition.d.ts +0 -39
- package/vendor/agent-cli/dist/src/context/team-definition.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/team-definition.js +0 -78
- package/vendor/agent-cli/dist/src/context/team-definition.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/team-knowledge.d.ts +0 -7
- package/vendor/agent-cli/dist/src/context/team-knowledge.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/team-knowledge.js +0 -46
- package/vendor/agent-cli/dist/src/context/team-knowledge.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/template-cache.d.ts +0 -31
- package/vendor/agent-cli/dist/src/context/template-cache.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/template-cache.js +0 -100
- package/vendor/agent-cli/dist/src/context/template-cache.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/template-refresh.d.ts +0 -6
- package/vendor/agent-cli/dist/src/context/template-refresh.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/template-refresh.js +0 -45
- package/vendor/agent-cli/dist/src/context/template-refresh.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/template-seed.d.ts +0 -45
- package/vendor/agent-cli/dist/src/context/template-seed.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/template-seed.js +0 -169
- package/vendor/agent-cli/dist/src/context/template-seed.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/template-sync.d.ts +0 -11
- package/vendor/agent-cli/dist/src/context/template-sync.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/template-sync.js +0 -167
- package/vendor/agent-cli/dist/src/context/template-sync.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/user-skill-bundle.d.ts +0 -19
- package/vendor/agent-cli/dist/src/context/user-skill-bundle.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/user-skill-bundle.js +0 -292
- package/vendor/agent-cli/dist/src/context/user-skill-bundle.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/user-skill-context.d.ts +0 -15
- package/vendor/agent-cli/dist/src/context/user-skill-context.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/user-skill-context.js +0 -217
- package/vendor/agent-cli/dist/src/context/user-skill-context.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/user-skill-install.d.ts +0 -54
- package/vendor/agent-cli/dist/src/context/user-skill-install.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/user-skill-install.js +0 -184
- package/vendor/agent-cli/dist/src/context/user-skill-install.js.map +0 -1
- package/vendor/agent-cli/dist/src/context/zip-extract.d.ts +0 -14
- package/vendor/agent-cli/dist/src/context/zip-extract.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/context/zip-extract.js +0 -130
- package/vendor/agent-cli/dist/src/context/zip-extract.js.map +0 -1
- package/vendor/agent-cli/dist/src/index.d.ts +0 -65
- package/vendor/agent-cli/dist/src/index.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/index.js +0 -91
- package/vendor/agent-cli/dist/src/index.js.map +0 -1
- package/vendor/agent-cli/dist/src/lifecycle/engine-hooks.d.ts +0 -68
- package/vendor/agent-cli/dist/src/lifecycle/engine-hooks.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/lifecycle/engine-hooks.js +0 -244
- package/vendor/agent-cli/dist/src/lifecycle/engine-hooks.js.map +0 -1
- package/vendor/agent-cli/dist/src/lifecycle/hook-command.d.ts +0 -40
- package/vendor/agent-cli/dist/src/lifecycle/hook-command.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/lifecycle/hook-command.js +0 -87
- package/vendor/agent-cli/dist/src/lifecycle/hook-command.js.map +0 -1
- package/vendor/agent-cli/dist/src/lifecycle/registry.d.ts +0 -134
- package/vendor/agent-cli/dist/src/lifecycle/registry.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/lifecycle/registry.js +0 -152
- package/vendor/agent-cli/dist/src/lifecycle/registry.js.map +0 -1
- package/vendor/agent-cli/dist/src/lifecycle/workspace-change.d.ts +0 -40
- package/vendor/agent-cli/dist/src/lifecycle/workspace-change.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/lifecycle/workspace-change.js +0 -149
- package/vendor/agent-cli/dist/src/lifecycle/workspace-change.js.map +0 -1
- package/vendor/agent-cli/dist/src/mcp/client.d.ts +0 -12
- package/vendor/agent-cli/dist/src/mcp/client.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/mcp/client.js +0 -95
- package/vendor/agent-cli/dist/src/mcp/client.js.map +0 -1
- package/vendor/agent-cli/dist/src/mcp/connection.d.ts +0 -14
- package/vendor/agent-cli/dist/src/mcp/connection.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/mcp/connection.js +0 -115
- package/vendor/agent-cli/dist/src/mcp/connection.js.map +0 -1
- package/vendor/agent-cli/dist/src/mcp/execute.d.ts +0 -5
- package/vendor/agent-cli/dist/src/mcp/execute.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/mcp/execute.js +0 -26
- package/vendor/agent-cli/dist/src/mcp/execute.js.map +0 -1
- package/vendor/agent-cli/dist/src/mcp/instance-lock.d.ts +0 -11
- package/vendor/agent-cli/dist/src/mcp/instance-lock.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/mcp/instance-lock.js +0 -51
- package/vendor/agent-cli/dist/src/mcp/instance-lock.js.map +0 -1
- package/vendor/agent-cli/dist/src/mcp/types.d.ts +0 -27
- package/vendor/agent-cli/dist/src/mcp/types.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/mcp/types.js +0 -2
- package/vendor/agent-cli/dist/src/mcp/types.js.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/input.d.ts +0 -21
- package/vendor/agent-cli/dist/src/protocol/input.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/input.js +0 -95
- package/vendor/agent-cli/dist/src/protocol/input.js.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/link/channel.d.ts +0 -58
- package/vendor/agent-cli/dist/src/protocol/link/channel.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/link/channel.js +0 -337
- package/vendor/agent-cli/dist/src/protocol/link/channel.js.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/link/codec-json.d.ts +0 -13
- package/vendor/agent-cli/dist/src/protocol/link/codec-json.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/link/codec-json.js +0 -27
- package/vendor/agent-cli/dist/src/protocol/link/codec-json.js.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/link/envelope.d.ts +0 -57
- package/vendor/agent-cli/dist/src/protocol/link/envelope.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/link/envelope.js +0 -93
- package/vendor/agent-cli/dist/src/protocol/link/envelope.js.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/link/liveness.d.ts +0 -28
- package/vendor/agent-cli/dist/src/protocol/link/liveness.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/link/liveness.js +0 -86
- package/vendor/agent-cli/dist/src/protocol/link/liveness.js.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/link/middleware.d.ts +0 -14
- package/vendor/agent-cli/dist/src/protocol/link/middleware.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/link/middleware.js +0 -40
- package/vendor/agent-cli/dist/src/protocol/link/middleware.js.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/link/rpc.d.ts +0 -31
- package/vendor/agent-cli/dist/src/protocol/link/rpc.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/link/rpc.js +0 -90
- package/vendor/agent-cli/dist/src/protocol/link/rpc.js.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/link/transport-ws.d.ts +0 -32
- package/vendor/agent-cli/dist/src/protocol/link/transport-ws.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/link/transport-ws.js +0 -106
- package/vendor/agent-cli/dist/src/protocol/link/transport-ws.js.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/messages/errors.gen.d.ts +0 -533
- package/vendor/agent-cli/dist/src/protocol/messages/errors.gen.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/messages/errors.gen.js +0 -137
- package/vendor/agent-cli/dist/src/protocol/messages/errors.gen.js.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/messages/messages.gen.d.ts +0 -448
- package/vendor/agent-cli/dist/src/protocol/messages/messages.gen.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/protocol/messages/messages.gen.js +0 -133
- package/vendor/agent-cli/dist/src/protocol/messages/messages.gen.js.map +0 -1
- package/vendor/agent-cli/dist/src/security/binary-read-receipts.d.ts +0 -9
- package/vendor/agent-cli/dist/src/security/binary-read-receipts.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/security/binary-read-receipts.js +0 -58
- package/vendor/agent-cli/dist/src/security/binary-read-receipts.js.map +0 -1
- package/vendor/agent-cli/dist/src/security/command-parse.d.ts +0 -21
- package/vendor/agent-cli/dist/src/security/command-parse.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/security/command-parse.js +0 -395
- package/vendor/agent-cli/dist/src/security/command-parse.js.map +0 -1
- package/vendor/agent-cli/dist/src/security/command-translate.d.ts +0 -30
- package/vendor/agent-cli/dist/src/security/command-translate.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/security/command-translate.js +0 -165
- package/vendor/agent-cli/dist/src/security/command-translate.js.map +0 -1
- package/vendor/agent-cli/dist/src/security/context-write-policy.d.ts +0 -18
- package/vendor/agent-cli/dist/src/security/context-write-policy.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/security/context-write-policy.js +0 -121
- package/vendor/agent-cli/dist/src/security/context-write-policy.js.map +0 -1
- package/vendor/agent-cli/dist/src/security/guard.d.ts +0 -45
- package/vendor/agent-cli/dist/src/security/guard.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/security/guard.js +0 -166
- package/vendor/agent-cli/dist/src/security/guard.js.map +0 -1
- package/vendor/agent-cli/dist/src/security/mount-table.d.ts +0 -56
- package/vendor/agent-cli/dist/src/security/mount-table.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/security/mount-table.js +0 -251
- package/vendor/agent-cli/dist/src/security/mount-table.js.map +0 -1
- package/vendor/agent-cli/dist/src/security/sandbox-path.d.ts +0 -23
- package/vendor/agent-cli/dist/src/security/sandbox-path.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/security/sandbox-path.js +0 -110
- package/vendor/agent-cli/dist/src/security/sandbox-path.js.map +0 -1
- package/vendor/agent-cli/dist/src/security/tool-run-owner.d.ts +0 -5
- package/vendor/agent-cli/dist/src/security/tool-run-owner.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/security/tool-run-owner.js +0 -16
- package/vendor/agent-cli/dist/src/security/tool-run-owner.js.map +0 -1
- package/vendor/agent-cli/dist/src/security/tool-scope.d.ts +0 -19
- package/vendor/agent-cli/dist/src/security/tool-scope.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/security/tool-scope.js +0 -122
- package/vendor/agent-cli/dist/src/security/tool-scope.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/client.d.ts +0 -146
- package/vendor/agent-cli/dist/src/session/client.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/client.js +0 -410
- package/vendor/agent-cli/dist/src/session/client.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/custom-context.d.ts +0 -6
- package/vendor/agent-cli/dist/src/session/custom-context.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/custom-context.js +0 -106
- package/vendor/agent-cli/dist/src/session/custom-context.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/engine-decide.d.ts +0 -38
- package/vendor/agent-cli/dist/src/session/engine-decide.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/engine-decide.js +0 -87
- package/vendor/agent-cli/dist/src/session/engine-decide.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/execution-recovery.d.ts +0 -9
- package/vendor/agent-cli/dist/src/session/execution-recovery.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/execution-recovery.js +0 -49
- package/vendor/agent-cli/dist/src/session/execution-recovery.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/execution-settlement.d.ts +0 -4
- package/vendor/agent-cli/dist/src/session/execution-settlement.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/execution-settlement.js +0 -15
- package/vendor/agent-cli/dist/src/session/execution-settlement.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/expert-definition.d.ts +0 -4
- package/vendor/agent-cli/dist/src/session/expert-definition.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/expert-definition.js +0 -20
- package/vendor/agent-cli/dist/src/session/expert-definition.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/link-config.d.ts +0 -13
- package/vendor/agent-cli/dist/src/session/link-config.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/link-config.js +0 -29
- package/vendor/agent-cli/dist/src/session/link-config.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/link-outcome.d.ts +0 -30
- package/vendor/agent-cli/dist/src/session/link-outcome.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/link-outcome.js +0 -67
- package/vendor/agent-cli/dist/src/session/link-outcome.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/link-session.d.ts +0 -80
- package/vendor/agent-cli/dist/src/session/link-session.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/link-session.js +0 -445
- package/vendor/agent-cli/dist/src/session/link-session.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/local-execution.d.ts +0 -28
- package/vendor/agent-cli/dist/src/session/local-execution.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/local-execution.js +0 -119
- package/vendor/agent-cli/dist/src/session/local-execution.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/member-tools.d.ts +0 -22
- package/vendor/agent-cli/dist/src/session/member-tools.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/member-tools.js +0 -72
- package/vendor/agent-cli/dist/src/session/member-tools.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-artifact-publisher.d.ts +0 -7
- package/vendor/agent-cli/dist/src/session/process-artifact-publisher.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-artifact-publisher.js +0 -30
- package/vendor/agent-cli/dist/src/session/process-artifact-publisher.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-environment.d.ts +0 -3
- package/vendor/agent-cli/dist/src/session/process-environment.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-environment.js +0 -33
- package/vendor/agent-cli/dist/src/session/process-environment.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-lifecycle.d.ts +0 -5
- package/vendor/agent-cli/dist/src/session/process-lifecycle.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-lifecycle.js +0 -18
- package/vendor/agent-cli/dist/src/session/process-lifecycle.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-observability.d.ts +0 -7
- package/vendor/agent-cli/dist/src/session/process-observability.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-observability.js +0 -25
- package/vendor/agent-cli/dist/src/session/process-observability.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-request.d.ts +0 -38
- package/vendor/agent-cli/dist/src/session/process-request.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-request.js +0 -491
- package/vendor/agent-cli/dist/src/session/process-request.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-restore.d.ts +0 -4
- package/vendor/agent-cli/dist/src/session/process-restore.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-restore.js +0 -21
- package/vendor/agent-cli/dist/src/session/process-restore.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-summary-output.d.ts +0 -15
- package/vendor/agent-cli/dist/src/session/process-summary-output.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-summary-output.js +0 -46
- package/vendor/agent-cli/dist/src/session/process-summary-output.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-workspace.d.ts +0 -3
- package/vendor/agent-cli/dist/src/session/process-workspace.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/process-workspace.js +0 -21
- package/vendor/agent-cli/dist/src/session/process-workspace.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/reference-tools.d.ts +0 -8
- package/vendor/agent-cli/dist/src/session/reference-tools.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/reference-tools.js +0 -35
- package/vendor/agent-cli/dist/src/session/reference-tools.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/run-events.d.ts +0 -81
- package/vendor/agent-cli/dist/src/session/run-events.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/run-events.js +0 -160
- package/vendor/agent-cli/dist/src/session/run-events.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/run-setup.d.ts +0 -78
- package/vendor/agent-cli/dist/src/session/run-setup.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/run-setup.js +0 -294
- package/vendor/agent-cli/dist/src/session/run-setup.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/run-start-body.d.ts +0 -48
- package/vendor/agent-cli/dist/src/session/run-start-body.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/run-start-body.js +0 -82
- package/vendor/agent-cli/dist/src/session/run-start-body.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/run-steer.d.ts +0 -42
- package/vendor/agent-cli/dist/src/session/run-steer.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/run-steer.js +0 -205
- package/vendor/agent-cli/dist/src/session/run-steer.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/team-persistence.d.ts +0 -17
- package/vendor/agent-cli/dist/src/session/team-persistence.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/team-persistence.js +0 -75
- package/vendor/agent-cli/dist/src/session/team-persistence.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/tool-scheduler.d.ts +0 -37
- package/vendor/agent-cli/dist/src/session/tool-scheduler.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/tool-scheduler.js +0 -242
- package/vendor/agent-cli/dist/src/session/tool-scheduler.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/user-choice-policy.d.ts +0 -25
- package/vendor/agent-cli/dist/src/session/user-choice-policy.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/user-choice-policy.js +0 -70
- package/vendor/agent-cli/dist/src/session/user-choice-policy.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/user-choice.d.ts +0 -6
- package/vendor/agent-cli/dist/src/session/user-choice.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/user-choice.js +0 -101
- package/vendor/agent-cli/dist/src/session/user-choice.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/user-skill-compatibility.d.ts +0 -4
- package/vendor/agent-cli/dist/src/session/user-skill-compatibility.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/user-skill-compatibility.js +0 -25
- package/vendor/agent-cli/dist/src/session/user-skill-compatibility.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/user-skill-loaded.d.ts +0 -31
- package/vendor/agent-cli/dist/src/session/user-skill-loaded.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/user-skill-loaded.js +0 -105
- package/vendor/agent-cli/dist/src/session/user-skill-loaded.js.map +0 -1
- package/vendor/agent-cli/dist/src/session/user-skill-prompt.d.ts +0 -4
- package/vendor/agent-cli/dist/src/session/user-skill-prompt.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/user-skill-prompt.js +0 -15
- package/vendor/agent-cli/dist/src/session/user-skill-prompt.js.map +0 -1
- package/vendor/agent-cli/dist/src/shared/app-id.d.ts +0 -13
- package/vendor/agent-cli/dist/src/shared/app-id.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/shared/app-id.js +0 -25
- package/vendor/agent-cli/dist/src/shared/app-id.js.map +0 -1
- package/vendor/agent-cli/dist/src/shared/auth-headers.d.ts +0 -13
- package/vendor/agent-cli/dist/src/shared/auth-headers.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/shared/auth-headers.js +0 -16
- package/vendor/agent-cli/dist/src/shared/auth-headers.js.map +0 -1
- package/vendor/agent-cli/dist/src/shared/cli-version.d.ts +0 -3
- package/vendor/agent-cli/dist/src/shared/cli-version.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/shared/cli-version.js +0 -22
- package/vendor/agent-cli/dist/src/shared/cli-version.js.map +0 -1
- package/vendor/agent-cli/dist/src/shared/error-detail.d.ts +0 -14
- package/vendor/agent-cli/dist/src/shared/error-detail.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/shared/error-detail.js +0 -29
- package/vendor/agent-cli/dist/src/shared/error-detail.js.map +0 -1
- package/vendor/agent-cli/dist/src/shared/output-guard.d.ts +0 -36
- package/vendor/agent-cli/dist/src/shared/output-guard.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/shared/output-guard.js +0 -94
- package/vendor/agent-cli/dist/src/shared/output-guard.js.map +0 -1
- package/vendor/agent-cli/dist/src/shared/process-cwd.d.ts +0 -3
- package/vendor/agent-cli/dist/src/shared/process-cwd.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/shared/process-cwd.js +0 -11
- package/vendor/agent-cli/dist/src/shared/process-cwd.js.map +0 -1
- package/vendor/agent-cli/dist/src/shared/process-types.d.ts +0 -60
- package/vendor/agent-cli/dist/src/shared/process-types.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/shared/process-types.js +0 -10
- package/vendor/agent-cli/dist/src/shared/process-types.js.map +0 -1
- package/vendor/agent-cli/dist/src/shared/replace-file.d.ts +0 -3
- package/vendor/agent-cli/dist/src/shared/replace-file.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/shared/replace-file.js +0 -34
- package/vendor/agent-cli/dist/src/shared/replace-file.js.map +0 -1
- package/vendor/agent-cli/dist/src/shared/server-headers.d.ts +0 -7
- package/vendor/agent-cli/dist/src/shared/server-headers.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/shared/server-headers.js +0 -113
- package/vendor/agent-cli/dist/src/shared/server-headers.js.map +0 -1
- package/vendor/agent-cli/dist/src/shared/shell-runtime.d.ts +0 -47
- package/vendor/agent-cli/dist/src/shared/shell-runtime.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/shared/shell-runtime.js +0 -210
- package/vendor/agent-cli/dist/src/shared/shell-runtime.js.map +0 -1
- package/vendor/agent-cli/dist/src/shared/types.d.ts +0 -519
- package/vendor/agent-cli/dist/src/shared/types.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/shared/types.js +0 -2
- package/vendor/agent-cli/dist/src/shared/types.js.map +0 -1
- package/vendor/agent-cli/dist/src/shared/user-choice.d.ts +0 -41
- package/vendor/agent-cli/dist/src/shared/user-choice.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/shared/user-choice.js +0 -2
- package/vendor/agent-cli/dist/src/shared/user-choice.js.map +0 -1
- package/vendor/agent-cli/dist/src/tools/artifact-publisher.d.ts +0 -9
- package/vendor/agent-cli/dist/src/tools/artifact-publisher.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/tools/artifact-publisher.js +0 -85
- package/vendor/agent-cli/dist/src/tools/artifact-publisher.js.map +0 -1
- package/vendor/agent-cli/dist/src/tools/command-executor.d.ts +0 -33
- package/vendor/agent-cli/dist/src/tools/command-executor.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/tools/command-executor.js +0 -133
- package/vendor/agent-cli/dist/src/tools/command-executor.js.map +0 -1
- package/vendor/agent-cli/dist/src/tools/context-program-publish.d.ts +0 -16
- package/vendor/agent-cli/dist/src/tools/context-program-publish.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/tools/context-program-publish.js +0 -104
- package/vendor/agent-cli/dist/src/tools/context-program-publish.js.map +0 -1
- package/vendor/agent-cli/dist/src/tools/context-program-receipt.d.ts +0 -21
- package/vendor/agent-cli/dist/src/tools/context-program-receipt.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/tools/context-program-receipt.js +0 -102
- package/vendor/agent-cli/dist/src/tools/context-program-receipt.js.map +0 -1
- package/vendor/agent-cli/dist/src/tools/context-program.d.ts +0 -21
- package/vendor/agent-cli/dist/src/tools/context-program.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/tools/context-program.js +0 -236
- package/vendor/agent-cli/dist/src/tools/context-program.js.map +0 -1
- package/vendor/agent-cli/dist/src/tools/file-ops.d.ts +0 -52
- package/vendor/agent-cli/dist/src/tools/file-ops.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/tools/file-ops.js +0 -403
- package/vendor/agent-cli/dist/src/tools/file-ops.js.map +0 -1
- package/vendor/agent-cli/dist/src/tools/file-search.d.ts +0 -29
- package/vendor/agent-cli/dist/src/tools/file-search.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/tools/file-search.js +0 -98
- package/vendor/agent-cli/dist/src/tools/file-search.js.map +0 -1
- package/vendor/agent-cli/dist/src/tools/file-stat.d.ts +0 -9
- package/vendor/agent-cli/dist/src/tools/file-stat.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/tools/file-stat.js +0 -29
- package/vendor/agent-cli/dist/src/tools/file-stat.js.map +0 -1
- package/vendor/agent-cli/dist/src/tools/local-hands.d.ts +0 -58
- package/vendor/agent-cli/dist/src/tools/local-hands.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/tools/local-hands.js +0 -330
- package/vendor/agent-cli/dist/src/tools/local-hands.js.map +0 -1
- package/vendor/agent-cli/dist/src/tools/ripgrep-search.d.ts +0 -24
- package/vendor/agent-cli/dist/src/tools/ripgrep-search.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/tools/ripgrep-search.js +0 -160
- package/vendor/agent-cli/dist/src/tools/ripgrep-search.js.map +0 -1
- package/vendor/agent-cli/dist/src/tools/tool-contract.gen.d.ts +0 -69
- package/vendor/agent-cli/dist/src/tools/tool-contract.gen.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/tools/tool-contract.gen.js +0 -68
- package/vendor/agent-cli/dist/src/tools/tool-contract.gen.js.map +0 -1
- package/vendor/agent-cli/dist/src/tools/tool-timeout.d.ts +0 -29
- package/vendor/agent-cli/dist/src/tools/tool-timeout.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/tools/tool-timeout.js +0 -88
- package/vendor/agent-cli/dist/src/tools/tool-timeout.js.map +0 -1
- package/vendor/agent-cli/dist/src/tools/write-guard.d.ts +0 -42
- package/vendor/agent-cli/dist/src/tools/write-guard.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/tools/write-guard.js +0 -34
- package/vendor/agent-cli/dist/src/tools/write-guard.js.map +0 -1
- package/vendor/agent-cli/package.json +0 -29
package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs
ADDED
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
// Source collection and brace/lexical helpers for the performance scanner.
|
|
2
|
+
// Zero dependencies: it does not need a TypeScript parser, only a conservative
|
|
3
|
+
// mask so regex checks do not read comments or string bodies as code.
|
|
4
|
+
|
|
5
|
+
import { existsSync, readFileSync, readdirSync, statSync } from 'node:fs';
|
|
6
|
+
import { extname, join, relative, sep } from 'node:path';
|
|
7
|
+
|
|
8
|
+
export const CODE_EXTS = new Set(['.js', '.mjs', '.cjs', '.jsx', '.ts', '.tsx']);
|
|
9
|
+
|
|
10
|
+
const SKIP_DIRS = new Set([
|
|
11
|
+
'.git', 'node_modules', 'dist', 'build-cache', 'coverage',
|
|
12
|
+
'.perf-audit', '.asset-audit', '.asset-search', '.claude', '.cursor',
|
|
13
|
+
'public', 'engine', 'runtime', 'vendor', 'release', 'releases',
|
|
14
|
+
'test', 'tests', '__tests__', 'fixtures',
|
|
15
|
+
]);
|
|
16
|
+
|
|
17
|
+
const SOURCE_ROOTS = ['src', 'zoo', 'game', 'app', 'scripts/src'];
|
|
18
|
+
const BUNDLE_ROOTS = ['assets', 'js', 'dist/assets', 'public/assets', 'engine'];
|
|
19
|
+
|
|
20
|
+
export function toPosix(value) {
|
|
21
|
+
return value.split(sep).join('/');
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export function walkFiles(root, opts = {}) {
|
|
25
|
+
const skip = opts.skipDirs || SKIP_DIRS;
|
|
26
|
+
const result = [];
|
|
27
|
+
const visit = (dir) => {
|
|
28
|
+
let entries;
|
|
29
|
+
try { entries = readdirSync(dir, { withFileTypes: true }); } catch { return; }
|
|
30
|
+
for (const entry of entries) {
|
|
31
|
+
if (entry.isSymbolicLink()) continue;
|
|
32
|
+
if (entry.isDirectory()) {
|
|
33
|
+
if (!skip.has(entry.name)) visit(join(dir, entry.name));
|
|
34
|
+
continue;
|
|
35
|
+
}
|
|
36
|
+
if (entry.isFile()) result.push(join(dir, entry.name));
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
visit(root);
|
|
40
|
+
return result;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function collectCode(root, mode) {
|
|
44
|
+
const roots = mode === 'bundle' ? BUNDLE_ROOTS : SOURCE_ROOTS;
|
|
45
|
+
const seen = new Set();
|
|
46
|
+
const files = [];
|
|
47
|
+
for (const item of roots) {
|
|
48
|
+
const absolute = join(root, item);
|
|
49
|
+
if (!existsSync(absolute)) continue;
|
|
50
|
+
let info;
|
|
51
|
+
try { info = statSync(absolute); } catch { continue; }
|
|
52
|
+
const list = info.isDirectory() ? walkFiles(absolute) : [absolute];
|
|
53
|
+
for (const file of list) {
|
|
54
|
+
if (!CODE_EXTS.has(extname(file).toLowerCase())) continue;
|
|
55
|
+
if (seen.has(file)) continue;
|
|
56
|
+
seen.add(file);
|
|
57
|
+
files.push(file);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return files;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function isRegexStart(prevChar, prevWord) {
|
|
64
|
+
if (!prevChar) return true;
|
|
65
|
+
if ('=([{,;:!&|?+-*%^~<>'.includes(prevChar)) return true;
|
|
66
|
+
return ['return', 'typeof', 'case', 'in', 'of', 'delete', 'void', 'instanceof', 'new', 'do', 'else', 'yield', 'await'].includes(prevWord);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Return two views of the same length:
|
|
71
|
+
* - masked: comments and string/template bodies replaced by spaces (code only)
|
|
72
|
+
* - code: comments removed, string literals kept (for checks that need literal text)
|
|
73
|
+
* Newlines are preserved in both so line numbers stay stable.
|
|
74
|
+
*/
|
|
75
|
+
export function maskSource(text) {
|
|
76
|
+
const masked = text.split('');
|
|
77
|
+
const code = text.split('');
|
|
78
|
+
const n = text.length;
|
|
79
|
+
let i = 0;
|
|
80
|
+
let prevChar = '';
|
|
81
|
+
let prevWord = '';
|
|
82
|
+
|
|
83
|
+
const blank = (buffer, from, to) => {
|
|
84
|
+
for (let k = from; k < to && k < n; k += 1) {
|
|
85
|
+
if (buffer[k] !== '\n') buffer[k] = ' ';
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
while (i < n) {
|
|
90
|
+
const char = text[i];
|
|
91
|
+
const next = text[i + 1];
|
|
92
|
+
|
|
93
|
+
if (char === '/' && next === '/') {
|
|
94
|
+
const start = i;
|
|
95
|
+
while (i < n && text[i] !== '\n') i += 1;
|
|
96
|
+
blank(masked, start, i);
|
|
97
|
+
blank(code, start, i);
|
|
98
|
+
continue;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
if (char === '/' && next === '*') {
|
|
102
|
+
const start = i;
|
|
103
|
+
i += 2;
|
|
104
|
+
while (i < n && !(text[i] === '*' && text[i + 1] === '/')) i += 1;
|
|
105
|
+
i = Math.min(i + 2, n);
|
|
106
|
+
blank(masked, start, i);
|
|
107
|
+
blank(code, start, i);
|
|
108
|
+
continue;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if (char === '"' || char === "'" || char === '`') {
|
|
112
|
+
const quote = char;
|
|
113
|
+
const start = i;
|
|
114
|
+
i += 1;
|
|
115
|
+
while (i < n) {
|
|
116
|
+
if (text[i] === '\\') { i += 2; continue; }
|
|
117
|
+
if (text[i] === quote) { i += 1; break; }
|
|
118
|
+
i += 1;
|
|
119
|
+
}
|
|
120
|
+
blank(masked, start, i);
|
|
121
|
+
// Keep the literal in `code`; only its quotes remain structural noise.
|
|
122
|
+
prevChar = quote;
|
|
123
|
+
prevWord = '';
|
|
124
|
+
continue;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
if (char === '/' && isRegexStart(prevChar, prevWord)) {
|
|
128
|
+
const start = i;
|
|
129
|
+
i += 1;
|
|
130
|
+
let inClass = false;
|
|
131
|
+
while (i < n) {
|
|
132
|
+
const ch = text[i];
|
|
133
|
+
if (ch === '\\') { i += 2; continue; }
|
|
134
|
+
if (ch === '[') inClass = true;
|
|
135
|
+
else if (ch === ']') inClass = false;
|
|
136
|
+
else if (ch === '/' && !inClass) { i += 1; break; }
|
|
137
|
+
else if (ch === '\n') break;
|
|
138
|
+
i += 1;
|
|
139
|
+
}
|
|
140
|
+
while (i < n && /[a-z]/i.test(text[i])) i += 1;
|
|
141
|
+
blank(masked, start, i);
|
|
142
|
+
blank(code, start, i);
|
|
143
|
+
prevChar = '/';
|
|
144
|
+
prevWord = '';
|
|
145
|
+
continue;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
if (!/\s/.test(char)) {
|
|
149
|
+
prevChar = char;
|
|
150
|
+
if (/[\w$]/.test(char)) prevWord += char;
|
|
151
|
+
else prevWord = '';
|
|
152
|
+
}
|
|
153
|
+
i += 1;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
return { masked: masked.join(''), code: code.join('') };
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export function lineStarts(text) {
|
|
160
|
+
const starts = [0];
|
|
161
|
+
for (let i = 0; i < text.length; i += 1) {
|
|
162
|
+
if (text[i] === '\n') starts.push(i + 1);
|
|
163
|
+
}
|
|
164
|
+
return starts;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export function indexToLine(starts, index) {
|
|
168
|
+
let low = 0;
|
|
169
|
+
let high = starts.length - 1;
|
|
170
|
+
while (low <= high) {
|
|
171
|
+
const mid = (low + high) >> 1;
|
|
172
|
+
if (starts[mid] <= index) low = mid + 1;
|
|
173
|
+
else high = mid - 1;
|
|
174
|
+
}
|
|
175
|
+
return Math.max(0, high);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export function matchBrace(text, openIndex) {
|
|
179
|
+
if (text[openIndex] !== '{') return -1;
|
|
180
|
+
let depth = 0;
|
|
181
|
+
for (let i = openIndex; i < text.length; i += 1) {
|
|
182
|
+
if (text[i] === '{') depth += 1;
|
|
183
|
+
else if (text[i] === '}') {
|
|
184
|
+
depth -= 1;
|
|
185
|
+
if (depth === 0) return i;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
return -1;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export function matchParen(text, openIndex) {
|
|
192
|
+
if (text[openIndex] !== '(') return -1;
|
|
193
|
+
let depth = 0;
|
|
194
|
+
for (let i = openIndex; i < text.length; i += 1) {
|
|
195
|
+
if (text[i] === '(') depth += 1;
|
|
196
|
+
else if (text[i] === ')') {
|
|
197
|
+
depth -= 1;
|
|
198
|
+
if (depth === 0) return i;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
return -1;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
const NOT_FUNCTION = new Set([
|
|
205
|
+
'if', 'for', 'while', 'switch', 'catch', 'function', 'return', 'else',
|
|
206
|
+
'do', 'try', 'with', 'typeof', 'new', 'delete', 'void', 'in', 'of',
|
|
207
|
+
]);
|
|
208
|
+
|
|
209
|
+
function previousNonSpace(text, index) {
|
|
210
|
+
for (let i = index - 1; i >= 0; i -= 1) {
|
|
211
|
+
if (!/\s/.test(text[i])) return text[i];
|
|
212
|
+
}
|
|
213
|
+
return '';
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Find the body brace after a signature. TypeScript object return types look
|
|
218
|
+
* like `): { a: number } {`; the first brace belongs to the type, so skip
|
|
219
|
+
* balanced type braces until the real body brace.
|
|
220
|
+
*/
|
|
221
|
+
function findBodyBrace(text, from) {
|
|
222
|
+
let i = from;
|
|
223
|
+
while (i < text.length) {
|
|
224
|
+
const char = text[i];
|
|
225
|
+
if (char === '{') {
|
|
226
|
+
const prev = previousNonSpace(text, i);
|
|
227
|
+
const typeBrace = prev === ':' || prev === '|' || prev === '&' || prev === '<' || prev === ',';
|
|
228
|
+
if (typeBrace) {
|
|
229
|
+
const close = matchBrace(text, i);
|
|
230
|
+
if (close < 0) return -1;
|
|
231
|
+
i = close + 1;
|
|
232
|
+
continue;
|
|
233
|
+
}
|
|
234
|
+
return i;
|
|
235
|
+
}
|
|
236
|
+
if (char === ';' || char === '}') return -1;
|
|
237
|
+
i += 1;
|
|
238
|
+
}
|
|
239
|
+
return -1;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
function findExpressionEnd(text, from) {
|
|
243
|
+
let paren = 0;
|
|
244
|
+
let brace = 0;
|
|
245
|
+
let bracket = 0;
|
|
246
|
+
for (let i = from; i < text.length; i += 1) {
|
|
247
|
+
const char = text[i];
|
|
248
|
+
if (char === '(') paren += 1;
|
|
249
|
+
else if (char === ')') {
|
|
250
|
+
if (paren === 0 && brace === 0 && bracket === 0) return i;
|
|
251
|
+
if (paren > 0) paren -= 1;
|
|
252
|
+
} else if (char === '{') brace += 1;
|
|
253
|
+
else if (char === '}') {
|
|
254
|
+
if (brace === 0 && paren === 0 && bracket === 0) return i;
|
|
255
|
+
if (brace > 0) brace -= 1;
|
|
256
|
+
} else if (char === '[') bracket += 1;
|
|
257
|
+
else if (char === ']') bracket -= 1;
|
|
258
|
+
else if ((char === ';' || char === '\n') && paren === 0 && brace === 0 && bracket === 0) return i;
|
|
259
|
+
}
|
|
260
|
+
return text.length;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* Approximate function/method bodies. The regexes run on the masked text, so
|
|
265
|
+
* braces in strings and comments cannot create bogus ranges.
|
|
266
|
+
*/
|
|
267
|
+
export function findFunctionRanges(masked) {
|
|
268
|
+
const ranges = [];
|
|
269
|
+
const seen = new Set();
|
|
270
|
+
const add = (name, start, open, end) => {
|
|
271
|
+
if (!name || NOT_FUNCTION.has(name)) return;
|
|
272
|
+
const bodyEnd = end === undefined ? matchBrace(masked, open) : end;
|
|
273
|
+
if (bodyEnd < 0 || bodyEnd <= open) return;
|
|
274
|
+
const key = name + ':' + open;
|
|
275
|
+
if (seen.has(key)) return;
|
|
276
|
+
seen.add(key);
|
|
277
|
+
ranges.push({ name, start, open, end: bodyEnd });
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
for (const match of masked.matchAll(/\bfunction\s+([A-Za-z_$][\w$]*)\s*(?:<[^<>]*>)?\s*\(/g)) {
|
|
281
|
+
const openParen = match.index + match[0].lastIndexOf('(');
|
|
282
|
+
const closeParen = matchParen(masked, openParen);
|
|
283
|
+
if (closeParen < 0) continue;
|
|
284
|
+
const body = findBodyBrace(masked, closeParen + 1);
|
|
285
|
+
if (body >= 0) add(match[1], match.index + match[0].indexOf(match[1]), body);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
for (const match of masked.matchAll(/(?:^|[;}\n])\s*(?:(?:public|private|protected|static|readonly|abstract|override|declare|accessor|async|get|set)\s+)*([A-Za-z_$][\w$]*)\s*(?:<[^<>]*>)?\s*\(/g)) {
|
|
289
|
+
const openParen = match.index + match[0].lastIndexOf('(');
|
|
290
|
+
const closeParen = matchParen(masked, openParen);
|
|
291
|
+
if (closeParen < 0) continue;
|
|
292
|
+
let next = closeParen + 1;
|
|
293
|
+
while (next < masked.length && /\s/.test(masked[next])) next += 1;
|
|
294
|
+
if (masked[next] !== ':' && masked[next] !== '{') continue;
|
|
295
|
+
const body = findBodyBrace(masked, next);
|
|
296
|
+
if (body >= 0) add(match[1], match.index + match[0].indexOf(match[1]), body);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
for (const match of masked.matchAll(/\b([A-Za-z_$][\w$]*)\s*=\s*(?:async\s+)?(?:\([^)]*\)|[A-Za-z_$][\w$]*)\s*(?::\s*[^;{}]+?)?\s*=>\s*\{/g)) {
|
|
300
|
+
add(match[1], match.index + match[0].indexOf(match[1]), match.index + match[0].lastIndexOf('{'));
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
for (const match of masked.matchAll(/\b([A-Za-z_$][\w$]*)\s*=\s*(?:async\s+)?(?:\([^)]*\)|[A-Za-z_$][\w$]*)\s*(?::\s*[^;{}]+?)?\s*=>\s*/g)) {
|
|
304
|
+
const arrowEnd = match.index + match[0].length;
|
|
305
|
+
if (masked[arrowEnd] === '{') continue;
|
|
306
|
+
const end = findExpressionEnd(masked, arrowEnd);
|
|
307
|
+
add(match[1], match.index + match[0].indexOf(match[1]), arrowEnd, end);
|
|
308
|
+
}
|
|
309
|
+
return ranges;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export function findLoopRanges(masked) {
|
|
313
|
+
const ranges = [];
|
|
314
|
+
const add = (start, open) => {
|
|
315
|
+
const close = matchBrace(masked, open);
|
|
316
|
+
if (close >= 0) ranges.push({ start, open, end: close });
|
|
317
|
+
};
|
|
318
|
+
const addExpression = (start, open) => {
|
|
319
|
+
const end = findExpressionEnd(masked, open);
|
|
320
|
+
if (end > open) ranges.push({ start, open, end });
|
|
321
|
+
};
|
|
322
|
+
for (const match of masked.matchAll(/\b(?:for|while)\s*\(/g)) {
|
|
323
|
+
const open = match.index + match[0].lastIndexOf('(');
|
|
324
|
+
const close = matchParen(masked, open);
|
|
325
|
+
if (close < 0) continue;
|
|
326
|
+
let cursor = close + 1;
|
|
327
|
+
while (cursor < masked.length && /\s/.test(masked[cursor])) cursor += 1;
|
|
328
|
+
if (masked[cursor] === '{') add(match.index, cursor);
|
|
329
|
+
else addExpression(match.index, cursor);
|
|
330
|
+
}
|
|
331
|
+
for (const match of masked.matchAll(/\bdo\s*\{/g)) {
|
|
332
|
+
add(match.index, match.index + match[0].lastIndexOf('{'));
|
|
333
|
+
}
|
|
334
|
+
for (const match of masked.matchAll(/\.(?:forEach|map|flatMap|filter|reduce)\s*\(\s*(?:async\s+)?(?:\([^)]*\)|[A-Za-z_$][\w$]*)\s*=>\s*\{/g)) {
|
|
335
|
+
add(match.index, match.index + match[0].lastIndexOf('{'));
|
|
336
|
+
}
|
|
337
|
+
for (const match of masked.matchAll(/\.(?:forEach|map|flatMap|filter|reduce)\s*\(\s*function\s*(?:[A-Za-z_$][\w$]*)?\s*\([^)]*\)\s*\{/g)) {
|
|
338
|
+
add(match.index, match.index + match[0].lastIndexOf('{'));
|
|
339
|
+
}
|
|
340
|
+
for (const match of masked.matchAll(/\.(?:forEach|map|flatMap|filter|reduce)\s*\(\s*(?:async\s+)?(?:\([^)]*\)|[A-Za-z_$][\w$]*)\s*=>\s*/g)) {
|
|
341
|
+
const arrowEnd = match.index + match[0].length;
|
|
342
|
+
if (masked[arrowEnd] === '{') continue;
|
|
343
|
+
addExpression(match.index, arrowEnd);
|
|
344
|
+
}
|
|
345
|
+
return ranges;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export function findFrameHooks(masked) {
|
|
349
|
+
const ranges = [];
|
|
350
|
+
const registrations = [];
|
|
351
|
+
const callbackNames = new Set();
|
|
352
|
+
const hook = '(?:requestAnimationFrame|setAnimationLoop|onTick|onUpdate|onFrame|addTick|addUpdate|registerTick|everyFrame|onBeforeRender|onAfterRender)';
|
|
353
|
+
const call = new RegExp('\\b' + hook + '\\s*\\(', 'g');
|
|
354
|
+
for (const match of masked.matchAll(call)) {
|
|
355
|
+
const before = masked.slice(Math.max(0, match.index - 12), match.index);
|
|
356
|
+
if (/function\s+$/.test(before)) continue;
|
|
357
|
+
const open = match.index + match[0].lastIndexOf('(');
|
|
358
|
+
const close = matchParen(masked, open);
|
|
359
|
+
if (close < 0) continue;
|
|
360
|
+
let after = close + 1;
|
|
361
|
+
while (after < masked.length && /\s/.test(masked[after])) after += 1;
|
|
362
|
+
if (masked[after] === '{' && (match.index === 0 || /\n\s*$/.test(before))) continue;
|
|
363
|
+
const arg = masked.slice(open + 1, close).trim();
|
|
364
|
+
if (!arg) continue;
|
|
365
|
+
const registration = { start: match.index, open, end: close, kind: 'hook-call', callbackName: null };
|
|
366
|
+
if (arg.includes('=>') || /^(?:async\s+)?function\b/.test(arg) || arg.startsWith('(')) {
|
|
367
|
+
ranges.push({ start: match.index, open, end: close, kind: 'hook-call' });
|
|
368
|
+
registrations.push(registration);
|
|
369
|
+
continue;
|
|
370
|
+
}
|
|
371
|
+
const bare = arg.match(/^([A-Za-z_$][\w$]*)$/);
|
|
372
|
+
if (bare) {
|
|
373
|
+
callbackNames.add(bare[1]);
|
|
374
|
+
registration.callbackName = bare[1];
|
|
375
|
+
registrations.push(registration);
|
|
376
|
+
continue;
|
|
377
|
+
}
|
|
378
|
+
const member = arg.match(/\b([A-Za-z_$][\w$]*)\s*(?:\.bind\s*\(|$)/);
|
|
379
|
+
if (member) {
|
|
380
|
+
callbackNames.add(member[1]);
|
|
381
|
+
registration.callbackName = member[1];
|
|
382
|
+
}
|
|
383
|
+
registrations.push(registration);
|
|
384
|
+
}
|
|
385
|
+
return { ranges, callbackNames, registrations };
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export function findRafRanges(masked) {
|
|
389
|
+
return findFrameHooks(masked).ranges;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export function readText(path) {
|
|
393
|
+
try { return readFileSync(path, 'utf8'); } catch { return ''; }
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export function relativePath(root, file) {
|
|
397
|
+
return toPosix(relative(root, file));
|
|
398
|
+
}
|
package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { mkdirSync, writeFileSync } from 'node:fs';
|
|
3
|
+
import { dirname, isAbsolute, join, relative, resolve } from 'node:path';
|
|
4
|
+
import { pathToFileURL } from 'node:url';
|
|
5
|
+
import { scanHotspots, scanProject } from './lib/scan.mjs';
|
|
6
|
+
|
|
7
|
+
function parseArgs(argv) {
|
|
8
|
+
const args = {
|
|
9
|
+
project: process.env.CRAFT_PROJECT_DIR || process.cwd(),
|
|
10
|
+
mode: 'auto', top: 15, out: null, json: false, failOn: 'none', hotspots: false,
|
|
11
|
+
};
|
|
12
|
+
for (let index = 0; index < argv.length; index += 1) {
|
|
13
|
+
const item = argv[index];
|
|
14
|
+
if (item === '--project') args.project = argv[++index];
|
|
15
|
+
else if (item === '--mode') args.mode = argv[++index];
|
|
16
|
+
else if (item === '--top') args.top = Number(argv[++index]);
|
|
17
|
+
else if (item === '--out') args.out = argv[++index];
|
|
18
|
+
else if (item === '--json') args.json = true;
|
|
19
|
+
else if (item === '--hotspots') args.hotspots = true;
|
|
20
|
+
else if (item === '--fail-on') args.failOn = argv[++index];
|
|
21
|
+
else if (item === '--help' || item === '-h') args.help = true;
|
|
22
|
+
else throw new Error('Unknown argument: ' + item);
|
|
23
|
+
}
|
|
24
|
+
if (!['auto', 'source', 'bundle'].includes(args.mode)) throw new Error('--mode must be auto, source or bundle');
|
|
25
|
+
if (!['none', 'warning', 'error'].includes(args.failOn)) throw new Error('--fail-on must be none, warning or error');
|
|
26
|
+
if (!Number.isFinite(args.top) || args.top < 1) throw new Error('--top must be a positive number');
|
|
27
|
+
return args;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function reportPath(project, requested) {
|
|
31
|
+
const target = requested
|
|
32
|
+
? (isAbsolute(requested) ? requested : resolve(project, requested))
|
|
33
|
+
: join(project, '.perf-audit', 'report.json');
|
|
34
|
+
const rel = relative(project, target);
|
|
35
|
+
if (rel.startsWith('..') || isAbsolute(rel)) throw new Error('--out must stay inside the project');
|
|
36
|
+
return target;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function printSummary(report, outPath, top) {
|
|
40
|
+
const lines = [];
|
|
41
|
+
const summary = report.summary;
|
|
42
|
+
const stats = summary.stats;
|
|
43
|
+
lines.push('Performance static audit (' + report.mode + ')');
|
|
44
|
+
lines.push('Files: ' + summary.files + ' · ' + summary.lines + ' lines · hot ' + stats.hotLines + ' lines / ' + stats.hotFunctions + ' functions');
|
|
45
|
+
lines.push('Findings: ' + summary.findings + ' (' + summary.errors + ' errors, ' + summary.warnings + ' warnings, ' + summary.infos + ' infos)'
|
|
46
|
+
+ (summary.suppressed ? ' · ' + summary.suppressed + ' suppressed' : ''));
|
|
47
|
+
lines.push('Stats: meshes ' + stats.meshCreations + ' · geometries ' + stats.geometryCreations
|
|
48
|
+
+ ' · materials ' + stats.materialCreations + ' · textures ' + stats.textureCreations
|
|
49
|
+
+ ' · instanced ' + stats.instancedMeshes + ' · batch ' + stats.batchCalls
|
|
50
|
+
+ ' · raf ' + stats.rafSites + ' · domWritesInHot ' + stats.domWritesInHot);
|
|
51
|
+
const visible = report.findings.slice(0, top);
|
|
52
|
+
if (visible.length) {
|
|
53
|
+
lines.push('Top findings:');
|
|
54
|
+
visible.forEach((finding, index) => {
|
|
55
|
+
lines.push(' ' + (index + 1) + '. ' + finding.id + ' · ' + finding.severity + ' · ' + finding.confidence
|
|
56
|
+
+ ' · ' + finding.file + ':' + finding.line);
|
|
57
|
+
lines.push(' ' + finding.title);
|
|
58
|
+
if (finding.evidence) lines.push(' ' + finding.evidence);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
lines.push('Report: ' + outPath);
|
|
62
|
+
console.log(lines.join('\n'));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function printHotspots(report, top) {
|
|
66
|
+
const lines = [];
|
|
67
|
+
const summary = report.summary;
|
|
68
|
+
lines.push('Performance hotspots (' + report.mode + ')');
|
|
69
|
+
lines.push('Files: ' + summary.files + ' · ' + summary.lines + ' lines · ' + summary.hotspots + ' hotspots');
|
|
70
|
+
lines.push('Frame hooks: ' + summary.frameHooks + ' · hot functions: ' + summary.hotFunctions
|
|
71
|
+
+ ' · spawn: ' + summary.spawnPaths + ' · repeated factories: ' + summary.repeatedFactories);
|
|
72
|
+
if (report.note) lines.push('Note: ' + report.note);
|
|
73
|
+
const visible = report.hotspots.slice(0, top);
|
|
74
|
+
if (visible.length) {
|
|
75
|
+
lines.push('Hotspots:');
|
|
76
|
+
visible.forEach((item, index) => {
|
|
77
|
+
const range = item.line === item.endLine ? String(item.line) : item.line + '-' + item.endLine;
|
|
78
|
+
const name = item.name ? ' ' + item.name : '';
|
|
79
|
+
lines.push(' ' + (index + 1) + '. ' + item.file + ':' + range + name
|
|
80
|
+
+ ' · ' + item.roles.join(', ')
|
|
81
|
+
+ (item.confidence ? ' (' + item.confidence + ')' : ''));
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
lines.push('Use these as review starting points; this mode applies no rules.');
|
|
85
|
+
console.log(lines.join('\n'));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
function shouldFail(report, failOn) {
|
|
89
|
+
if (failOn === 'error') return report.summary.errors > 0;
|
|
90
|
+
if (failOn === 'warning') return report.summary.errors + report.summary.warnings > 0;
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function main(argv = process.argv.slice(2)) {
|
|
95
|
+
const args = parseArgs(argv);
|
|
96
|
+
if (args.help) {
|
|
97
|
+
console.log('Usage: node scan-perf.mjs [--project DIR] [--mode auto|source|bundle] [--out FILE] [--top N] [--json] [--hotspots] [--fail-on none|warning|error]');
|
|
98
|
+
return 0;
|
|
99
|
+
}
|
|
100
|
+
const project = resolve(args.project);
|
|
101
|
+
if (args.hotspots) {
|
|
102
|
+
const report = scanHotspots(project, { mode: args.mode });
|
|
103
|
+
if (args.out) {
|
|
104
|
+
const outPath = reportPath(project, args.out);
|
|
105
|
+
mkdirSync(dirname(outPath), { recursive: true });
|
|
106
|
+
writeFileSync(outPath, JSON.stringify(report, null, 2) + '\n');
|
|
107
|
+
if (!args.json) console.log('Hotspots: ' + outPath);
|
|
108
|
+
}
|
|
109
|
+
if (args.json) console.log(JSON.stringify(report, null, 2));
|
|
110
|
+
else printHotspots(report, args.top);
|
|
111
|
+
return 0;
|
|
112
|
+
}
|
|
113
|
+
const outPath = reportPath(project, args.out);
|
|
114
|
+
const report = scanProject(project, { mode: args.mode });
|
|
115
|
+
mkdirSync(dirname(outPath), { recursive: true });
|
|
116
|
+
writeFileSync(outPath, JSON.stringify(report, null, 2) + '\n');
|
|
117
|
+
if (args.json) console.log(JSON.stringify(report, null, 2));
|
|
118
|
+
else printSummary(report, outPath, args.top);
|
|
119
|
+
return shouldFail(report, args.failOn) ? 2 : 0;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
const isMain = process.argv[1] && import.meta.url === pathToFileURL(resolve(process.argv[1])).href;
|
|
123
|
+
if (isMain) {
|
|
124
|
+
try {
|
|
125
|
+
process.exitCode = main();
|
|
126
|
+
} catch (error) {
|
|
127
|
+
console.error('FAIL — ' + (error && error.message ? error.message : String(error)));
|
|
128
|
+
process.exitCode = 1;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: visual-qa
|
|
3
|
+
description: Craft Codex 项目专用;验收 3D / Three.js 游戏的真实输入、玩法闭环与截图;在交付预览或验证修复时使用。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 3D / Three.js 游戏验收
|
|
7
|
+
|
|
8
|
+
读取当前工作流 context.workflow 的玩法观测和检查 schema。探针从真实渲染与玩法状态提供 engine、ready、frameCount 和 game;同时提供真实 camera 与 viewport,保留 render 和资源释放。
|
|
9
|
+
|
|
10
|
+
设计能由实际输入触发的检查:进入/推进核心循环、达到结算条件、重开恢复初始状态。只断言业务实际产生的值,不通过测试代码直接修改分数或结算。
|
|
11
|
+
|
|
12
|
+
调用 craft_game_check 并轮询完成,使用 craft_game_review 查看实际截图。核实主要对象、UI、尺寸、遮挡、资源透明度与当前玩法,3D 场景还检查地面接触、相机与光照。修改后重新检查受影响状态。
|
|
13
|
+
|
|
14
|
+
通过后 craft_game_deliver 返回启动命令;让宿主后台任务持续运行,查询 running 与 snapshot,打开实际链接核实后交付。记录已验证与未覆盖项,不把静态构建或扫描无错误等同于可玩。
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Craft 3D / Three.js 模板
|
|
2
|
+
|
|
3
|
+
安装依赖后可运行 `npm run dev`;`npm run build` 包含配置导出、类型检查、Runtime 校验和 Vite 构建。
|
|
4
|
+
|
|
5
|
+
通过 Craft 创建时,项目根 AGENTS.md 和项目恢复 Skill 由 prepare 生成。完整引擎上下文使用 craft_game_info 返回的绑定路径,开发进度保存在 SPEC/PROGRESS.md。
|
|
6
|
+
|
|
7
|
+
runtime/lightgame/1.1.0 是本模板的固定运行库。普通游戏开发使用现有声明与接口;修改 Runtime 时必须单独评审、测试并维护完整性清单。
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<title>Light Game (three.js)</title>
|
|
7
|
+
</head>
|
|
8
|
+
<body>
|
|
9
|
+
<div id="game"></div>
|
|
10
|
+
<script type="module" src="./src/main.ts"></script>
|
|
11
|
+
</body>
|
|
12
|
+
</html>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "craft-js3d-template",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "vite",
|
|
8
|
+
"build": "npm run config:export && npm run typecheck && vite build",
|
|
9
|
+
"postbuild": "node scripts/write-preview-ready.mjs",
|
|
10
|
+
"preview": "vite preview",
|
|
11
|
+
"typecheck": "tsc --noEmit",
|
|
12
|
+
"runtime:verify": "node runtime/lightgame/1.1.0/tooling/cli.mjs verify",
|
|
13
|
+
"config:export": "node scripts/config-export.mjs"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"three": "0.185.1"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@types/three": "0.185.1",
|
|
20
|
+
"typescript": "5.8.3",
|
|
21
|
+
"vite": "7.3.5"
|
|
22
|
+
}
|
|
23
|
+
}
|