@craft_eco/craft-mcp 0.1.25 → 0.1.28
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 +33 -12
- package/bin/craft-mcp.mjs +10 -8
- package/dist-server/game-workflow/bundle-files.mjs +48 -0
- package/dist-server/game-workflow/check.mjs +3 -4
- package/dist-server/game-workflow/engines.mjs +24 -8
- package/dist-server/game-workflow/project-bundles.mjs +129 -0
- package/dist-server/game-workflow/project-context.mjs +97 -0
- package/dist-server/game-workflow/projects.mjs +22 -5
- package/dist-server/game-workflow/publication-materials.mjs +18 -20
- package/dist-server/game-workflow/publications.mjs +15 -17
- package/dist-server/game-workflow/publish-capture.mjs +21 -57
- package/dist-server/integrations/config.mjs +71 -0
- package/dist-server/integrations/files.mjs +54 -0
- package/dist-server/integrations/hosts.mjs +35 -0
- package/dist-server/integrations/install.mjs +86 -0
- package/dist-server/integrations/runtime.mjs +72 -0
- package/dist-server/mcp/publication-page.mjs +18 -50
- package/dist-server/mcp/publish-panel.mjs +28 -35
- package/dist-server/mcp/server.mjs +22 -18
- package/dist-server/mcp/start.mjs +3 -1
- package/dist-server/preview/preview-launcher.mjs +9 -2
- package/dist-server/preview/preview-start.mjs +2 -2
- package/dist-server/upstream/publication-transport.mjs +19 -19
- package/package.json +14 -8
- package/resources/craft-create/SKILL.md +11 -0
- package/resources/craft-game-maker/SKILL.md +77 -71
- package/resources/craft-game-maker/js.md +10 -10
- package/resources/craft-game-maker/js3d.md +13 -13
- package/resources/game_visual_qa.mjs +1149 -1149
- package/resources/js/bundle.json +93 -0
- package/resources/js/context/AGENTS.md +15 -102
- package/resources/js/context/knowledge/AigcWiring.md +5 -196
- package/resources/js/context/knowledge/AssetUrl.md +5 -20
- package/resources/js/context/knowledge/Layout.md +7 -0
- package/resources/js/context/knowledge/Lifecycle.md +6 -27
- package/resources/js/context/skills/aigc-generate/SKILL.md +6 -141
- package/resources/js/context/skills/asset-search/SKILL.md +5 -62
- package/resources/js/context/skills/asset-search/references/resource-config.md +9 -0
- package/resources/js/context/skills/export-config/SKILL.md +7 -19
- package/resources/js/context/skills/export-config/scripts/export-config.mjs +3 -45
- package/resources/js/context/skills/index.json +30 -0
- package/resources/js/context/skills/visual-qa/SKILL.md +6 -28
- package/resources/js/project/README.md +4 -96
- package/resources/js/project/package.json +1 -2
- package/resources/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
- package/resources/js/project/scripts/config-export.mjs +10 -34
- package/resources/js3d/bundle.json +104 -0
- package/resources/js3d/context/AGENTS.md +16 -85
- package/resources/js3d/context/knowledge/AigcWiring.md +9 -0
- package/resources/js3d/context/knowledge/AssetUrl.md +9 -0
- package/resources/js3d/context/knowledge/CodingGuide/Pitfalls.md +9 -67
- package/resources/js3d/context/knowledge/Layout.md +7 -0
- package/resources/js3d/context/knowledge/Runtime.md +5 -30
- package/resources/js3d/context/skills/aigc-integration/SKILL.md +6 -164
- package/resources/js3d/context/skills/asset-search/SKILL.md +5 -171
- package/resources/js3d/context/skills/asset-search/references/resource-config.md +6 -94
- package/resources/js3d/context/skills/asset-usage-audit/SKILL.md +6 -82
- package/resources/js3d/context/skills/export-config/SKILL.md +7 -11
- package/resources/js3d/context/skills/export-config/scripts/export-config.mjs +3 -55
- package/resources/js3d/context/skills/index.json +42 -0
- package/resources/js3d/context/skills/performance-audit/SKILL.md +8 -153
- package/resources/js3d/context/skills/visual-qa/SKILL.md +14 -0
- package/resources/js3d/project/README.md +4 -103
- package/resources/js3d/project/package.json +1 -2
- package/resources/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
- package/resources/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
- package/resources/js3d/project/scripts/config-export.mjs +12 -34
- package/resources/targets/codebuddy/js/bootstrap/SKILL.md +14 -0
- package/resources/targets/codebuddy/js/craft-game-maker/SKILL.md +77 -0
- package/resources/targets/codebuddy/js/craft-game-maker/js.md +10 -0
- package/resources/targets/codebuddy/js/js/bundle.json +99 -0
- package/resources/targets/codebuddy/js/js/context/AGENTS.md +25 -0
- package/resources/targets/codebuddy/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/codebuddy/js/js/context/knowledge/AigcWiring.md +9 -0
- package/resources/targets/codebuddy/js/js/context/knowledge/AssetUrl.md +9 -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/skills/aigc-generate/SKILL.md +14 -0
- package/resources/targets/codebuddy/js/js/context/skills/asset-search/SKILL.md +12 -0
- package/resources/targets/codebuddy/js/js/context/skills/asset-search/references/resource-config.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/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 +31 -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.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/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/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/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/unified_data_control_config.json +20 -0
- package/resources/targets/codebuddy/js/recovery.md +7 -0
- package/resources/targets/codebuddy/js/target.json +61 -0
- package/resources/targets/codebuddy/js3d/bootstrap/SKILL.md +14 -0
- package/resources/targets/codebuddy/js3d/craft-game-maker/SKILL.md +77 -0
- package/resources/targets/codebuddy/js3d/craft-game-maker/js3d.md +13 -0
- package/resources/targets/codebuddy/js3d/js3d/bundle.json +110 -0
- package/resources/targets/codebuddy/js3d/js3d/context/AGENTS.md +26 -0
- package/resources/targets/codebuddy/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/codebuddy/js3d/js3d/context/knowledge/AigcWiring.md +9 -0
- package/resources/targets/codebuddy/js3d/js3d/context/knowledge/AssetUrl.md +9 -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/Runtime.md +9 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/aigc-integration/SKILL.md +14 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-search/SKILL.md +12 -0
- package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-search/references/resource-config.md +11 -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/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 +43 -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/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/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/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 +7 -0
- package/resources/targets/codebuddy/js3d/target.json +60 -0
- package/resources/targets/codex/js/bootstrap/SKILL.md +14 -0
- package/resources/targets/codex/js/craft-game-maker/SKILL.md +77 -0
- package/resources/targets/codex/js/craft-game-maker/js.md +10 -0
- package/resources/targets/codex/js/js/bundle.json +99 -0
- package/resources/targets/codex/js/js/context/AGENTS.md +25 -0
- package/resources/targets/codex/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/codex/js/js/context/knowledge/AigcWiring.md +9 -0
- package/resources/targets/codex/js/js/context/knowledge/AssetUrl.md +9 -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/skills/aigc-generate/SKILL.md +14 -0
- package/resources/targets/codex/js/js/context/skills/asset-search/SKILL.md +12 -0
- package/resources/targets/codex/js/js/context/skills/asset-search/references/resource-config.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 +31 -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/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/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/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 +7 -0
- package/resources/targets/codex/js/target.json +61 -0
- package/resources/targets/codex/js3d/bootstrap/SKILL.md +14 -0
- package/resources/targets/codex/js3d/craft-game-maker/SKILL.md +77 -0
- package/resources/targets/codex/js3d/craft-game-maker/js3d.md +13 -0
- package/resources/targets/codex/js3d/js3d/bundle.json +110 -0
- package/resources/targets/codex/js3d/js3d/context/AGENTS.md +26 -0
- package/resources/targets/codex/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/codex/js3d/js3d/context/knowledge/AigcWiring.md +9 -0
- package/resources/targets/codex/js3d/js3d/context/knowledge/AssetUrl.md +9 -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/Runtime.md +9 -0
- package/resources/targets/codex/js3d/js3d/context/skills/aigc-integration/SKILL.md +14 -0
- package/resources/targets/codex/js3d/js3d/context/skills/asset-search/SKILL.md +12 -0
- package/resources/targets/codex/js3d/js3d/context/skills/asset-search/references/resource-config.md +11 -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 +43 -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 +7 -0
- package/resources/targets/codex/js3d/target.json +60 -0
- package/resources/targets/index.json +41 -0
- package/resources/targets/workbuddy/js/bootstrap/SKILL.md +14 -0
- package/resources/targets/workbuddy/js/craft-game-maker/SKILL.md +77 -0
- package/resources/targets/workbuddy/js/craft-game-maker/js.md +10 -0
- package/resources/targets/workbuddy/js/js/bundle.json +99 -0
- package/resources/targets/workbuddy/js/js/context/AGENTS.md +25 -0
- package/resources/targets/workbuddy/js/js/context/hooks/hooks.json +14 -0
- package/resources/targets/workbuddy/js/js/context/knowledge/AigcWiring.md +9 -0
- package/resources/targets/workbuddy/js/js/context/knowledge/AssetUrl.md +9 -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/skills/aigc-generate/SKILL.md +14 -0
- package/resources/targets/workbuddy/js/js/context/skills/asset-search/SKILL.md +12 -0
- package/resources/targets/workbuddy/js/js/context/skills/asset-search/references/resource-config.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 +31 -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 +7 -0
- package/resources/targets/workbuddy/js/target.json +61 -0
- package/resources/targets/workbuddy/js3d/bootstrap/SKILL.md +14 -0
- package/resources/targets/workbuddy/js3d/craft-game-maker/SKILL.md +77 -0
- package/resources/targets/workbuddy/js3d/craft-game-maker/js3d.md +13 -0
- package/resources/targets/workbuddy/js3d/js3d/bundle.json +110 -0
- package/resources/targets/workbuddy/js3d/js3d/context/AGENTS.md +26 -0
- package/resources/targets/workbuddy/js3d/js3d/context/hooks/hooks.json +14 -0
- package/resources/targets/workbuddy/js3d/js3d/context/knowledge/AigcWiring.md +9 -0
- package/resources/targets/workbuddy/js3d/js3d/context/knowledge/AssetUrl.md +9 -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/Runtime.md +9 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/aigc-integration/SKILL.md +14 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-search/SKILL.md +12 -0
- package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-search/references/resource-config.md +11 -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 +43 -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 +7 -0
- package/resources/targets/workbuddy/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/resources/js/context/.role/AGENTS_DESIGN.md +0 -9
- package/resources/js/context/agents/aigc-asset.md +0 -168
- package/resources/js/context/knowledge/AigcEnabled.md +0 -49
- package/resources/js/context/knowledge/FrontendComponents.md +0 -17
- package/resources/js/context/knowledge/MobileAdaptation.md +0 -73
- package/resources/js/context/knowledge/MobileAdapted.md +0 -36
- package/resources/js/context/knowledge/Multiplayer/GameplaySystemKnowledge.md +0 -114
- package/resources/js/context/knowledge/Multiplayer/OverviewKnowledge.md +0 -115
- package/resources/js/context/knowledge/Multiplayer/StateSyncKnowledge.md +0 -392
- package/resources/js/context/knowledge/PlatformServices.md +0 -190
- package/resources/js/context/knowledge/ProjectDisplayConfig.md +0 -35
- package/resources/js/context/knowledge/Subsystems/Optional/MultiplayerManagerKnowledge.md +0 -242
- package/resources/js/context/knowledge/Ui.md +0 -11
- package/resources/js/context/knowledge/UiEditorCompat.md +0 -21
- package/resources/js/context/rules/MultiplayerCapability.md +0 -23
- package/resources/js/context/rules/MultiplayerRoomEntryUX.md +0 -63
- package/resources/js/context/rules/PlatformBoundaryModules.md +0 -44
- package/resources/js/context/rules/preview_ready.md +0 -8
- package/resources/js/context/skills/aigc-generate/knowledge/audio.md +0 -39
- package/resources/js/context/skills/aigc-generate/knowledge/batch-replace.md +0 -26
- package/resources/js/context/skills/aigc-generate/knowledge/character2d.md +0 -132
- package/resources/js/context/skills/aigc-generate/knowledge/non-stepwise-aigc.md +0 -53
- package/resources/js/context/skills/aigc-generate/knowledge/texture-prop.md +0 -52
- package/resources/js/context/skills/aigc-generate/knowledge/texture-scene.md +0 -191
- package/resources/js/context/skills/aigc-generate/knowledge/texture-ui.md +0 -55
- package/resources/js/context/skills/asset-search/scripts/asset_display.mjs +0 -62
- package/resources/js/context/skills/asset-search/scripts/config.json +0 -5
- package/resources/js/context/skills/asset-search/scripts/provided_assets.mjs +0 -125
- package/resources/js/context/skills/asset-search/scripts/search.mjs +0 -760
- package/resources/js/context/skills/asset-search/scripts/sprite_source_materializer.mjs +0 -657
- package/resources/js/context/skills/asset-search/strategies/anim2d.md +0 -42
- package/resources/js/context/skills/asset-search/strategies/audio.md +0 -34
- package/resources/js/context/skills/asset-search/strategies/effect2d.md +0 -31
- package/resources/js/context/skills/asset-search/strategies/texture-prop.md +0 -22
- package/resources/js/context/skills/asset-search/strategies/ui-common.md +0 -40
- package/resources/js/context/skills/asset-search/strategies/ui-style.md +0 -28
- package/resources/js/context/skills/export-config/scripts/sync-asset-controls.mjs +0 -352
- package/resources/js/context/skills/export-config/scripts/translate-asset-titles.mjs +0 -161
- package/resources/js/context/skills/lightgame-runtime-adapt/SKILL.md +0 -93
- package/resources/js/context/skills/lightgame-runtime-adapt/project/package.json +0 -22
- package/resources/js/context/skills/lightgame-runtime-adapt/project/scripts/config-export.mjs +0 -37
- package/resources/js/context/skills/lightgame-runtime-adapt/project/scripts/refresh-runtime.mjs +0 -50
- package/resources/js/context/skills/lightgame-runtime-adapt/scripts/install-template.mjs +0 -159
- package/resources/js/context/skills/mobile-adaptation/SKILL.md +0 -277
- package/resources/js/context/skills/mobile-adaptation/assets/example/src/input/input-config.json +0 -50
- package/resources/js/context/skills/mobile-adaptation/assets/example/src/input/input-layer.ts +0 -862
- package/resources/js/context/skills/mobile-adaptation/assets/example/src/input/input-platform.ts +0 -92
- package/resources/js/context/skills/mobile-adaptation/assets/example/src/input/input-primitives.ts +0 -254
- package/resources/js/context/skills/mobile-adaptation/assets/example/src/input/look-pad.ts +0 -245
- package/resources/js/context/skills/mobile-adaptation/assets/example/src/ui/touch-controls.css +0 -135
- package/resources/js/context/skills/mobile-adaptation/references/input-config.md +0 -342
- package/resources/js/context/skills/mobile-adaptation/references/verification.md +0 -140
- package/resources/js/context/skills/mobile-adaptation/references/web-audio.md +0 -11
- package/resources/js/context/skills/mobile-compat-qa/SKILL.md +0 -53
- package/resources/js/context/skills/mobile-compat-qa/references/startup-diagnosis.md +0 -23
- package/resources/js/context/skills/mobile-compat-qa/references/web-lifecycle.md +0 -20
- package/resources/js/context/skills/mobile-compat-qa/references/web-performance.md +0 -19
- package/resources/js/context/skills/optimization-suggestions/SKILL.md +0 -89
- package/resources/js/context/skills/platform-services/SKILL.md +0 -101
- package/resources/js/context/skills/platform-services/assets/modules/MultiplayerManager.ts +0 -465
- package/resources/js/context/skills/platform-services/assets/modules/eventBus.ts +0 -57
- package/resources/js/context/skills/platform-services/assets/modules/leaderboard.d.mts +0 -39
- package/resources/js/context/skills/platform-services/assets/modules/leaderboard.mjs +0 -1
- package/resources/js/context/skills/platform-services/assets/modules/log.ts +0 -35
- package/resources/js/context/skills/platform-services/assets/modules/multiplayer/clockSync.ts +0 -61
- package/resources/js/context/skills/platform-services/assets/modules/multiplayer/dsClient.ts +0 -52
- package/resources/js/context/skills/platform-services/assets/modules/multiplayer/payloadCodec.ts +0 -30
- package/resources/js/context/skills/platform-services/assets/modules/multiplayer/roomHttp.ts +0 -89
- package/resources/js/context/skills/platform-services/assets/modules/multiplayer/types.ts +0 -47
- package/resources/js/context/skills/platform-services/assets/modules/save.d.mts +0 -49
- package/resources/js/context/skills/platform-services/assets/modules/save.mjs +0 -1
- package/resources/js/context/skills/platform-services/assets/scaffold/ds/main.mjs +0 -7
- package/resources/js/context/skills/platform-services/assets/scaffold/ds/rooms/SyncRoom.mjs +0 -264
- package/resources/js/context/skills/platform-services/assets/scaffold/ds/rooms/syncSchema.mjs +0 -39
- package/resources/js/context/skills/platform-services/references/SERVER_GUIDE.md +0 -139
- package/resources/js/context/skills/platform-services/references/api_reference.md +0 -18
- package/resources/js/context/skills/platform-services/references/leaderboard_playbook.md +0 -96
- package/resources/js/context/skills/platform-services/scripts/install.mjs +0 -148
- package/resources/js/context/skills/resolution-adaptation/SKILL.md +0 -47
- package/resources/js/context/skills/resolution-adaptation/assets/example/main.ts +0 -98
- package/resources/js/context/skills/resolution-adaptation/assets/example/ui-tokens.css +0 -200
- package/resources/js/context/skills/resolution-adaptation/references/audit.md +0 -31
- package/resources/js/context/skills/resolution-adaptation/references/device-safe-area.md +0 -40
- package/resources/js/context/skills/resolution-adaptation/references/game-ui-occlusion.md +0 -18
- package/resources/js/context/skills/resolution-adaptation/references/layout-rules.md +0 -15
- package/resources/js/context/skills/resolution-adaptation/references/troubleshooting.md +0 -34
- package/resources/js/context/skills/resolution-adaptation/references/viewport-api.md +0 -38
- package/resources/js/context/skills/resolution-adaptation/references/world-resize.md +0 -55
- package/resources/js/context/skills/resolution-adaptation/scripts/aspect_audit.mjs +0 -448
- package/resources/js/context/skills/scene-editor-compat/SKILL.md +0 -94
- package/resources/js/context/skills/scene-editor-compat/assets/example/localcraft.assets.json +0 -13
- package/resources/js/context/skills/scene-editor-compat/assets/example/localcraft.scene-editor.json +0 -6
- package/resources/js/context/skills/scene-editor-compat/assets/example/src/game/sceneAdapter.ts +0 -25
- package/resources/js/context/skills/scene-editor-compat/assets/example/src/scenes/main.scene.json +0 -18
- package/resources/js/context/skills/scene-editor-compat/assets/runtime/release.json +0 -7
- package/resources/js/context/skills/scene-editor-compat/assets/runtime/scene.d.mts +0 -42
- package/resources/js/context/skills/scene-editor-compat/assets/runtime/scene.mjs +0 -144
- package/resources/js/context/skills/scene-editor-compat/docs/contract.md +0 -330
- package/resources/js/context/skills/scene-editor-compat/docs/resource-sync.md +0 -64
- package/resources/js/context/skills/scene-editor-compat/docs/runtime-state.md +0 -28
- package/resources/js/context/skills/scene-editor-compat/docs/terrain-contract.md +0 -47
- package/resources/js/context/skills/scene-editor-compat/docs/visual-contract.md +0 -64
- package/resources/js/context/skills/scene-editor-compat/examples/platformer-ts/localcraft.assets.json +0 -38
- package/resources/js/context/skills/scene-editor-compat/examples/platformer-ts/localcraft.scene-editor.json +0 -9
- package/resources/js/context/skills/scene-editor-compat/examples/platformer-ts/src/game/sceneAdapter.ts +0 -59
- package/resources/js/context/skills/scene-editor-compat/examples/platformer-ts/src/game/sceneBlockers.ts +0 -30
- package/resources/js/context/skills/scene-editor-compat/examples/platformer-ts/src/game/sceneFileAssets.ts +0 -66
- package/resources/js/context/skills/scene-editor-compat/examples/platformer-ts/src/scenes/Main.Scene.ts +0 -20
- package/resources/js/context/skills/scene-editor-compat/examples/platformer-ts/src/scenes/SceneTypes.ts +0 -26
- package/resources/js/context/skills/scene-editor-compat/references/contract.md +0 -73
- package/resources/js/context/skills/scene-editor-compat/scripts/apply_scene_marker.py +0 -162
- package/resources/js/context/skills/scene-editor-compat/scripts/check_scene_contract.py +0 -853
- package/resources/js/context/skills/scene-editor-compat/scripts/check_scene_resource_urls.py +0 -173
- package/resources/js/context/skills/scene-editor-compat/scripts/scene-editor.mjs +0 -427
- package/resources/js/context/skills/scene-editor-compat/version.json +0 -1
- package/resources/js/context/skills/ui-editor-compat/SKILL.md +0 -48
- package/resources/js/context/skills/ui-editor-compat/assets/example/hud/WidgetLayout_Hud.ts +0 -35
- package/resources/js/context/skills/ui-editor-compat/assets/example/hud/WidgetLogic_Hud.ts +0 -74
- package/resources/js/context/skills/ui-editor-compat/assets/example/hud/hud.css +0 -60
- package/resources/js/context/skills/ui-editor-compat/assets/runtime/dom-ui.d.mts +0 -45
- package/resources/js/context/skills/ui-editor-compat/assets/runtime/dom-ui.mjs +0 -265
- package/resources/js/context/skills/ui-editor-compat/assets/runtime/release.json +0 -7
- package/resources/js/context/skills/ui-editor-compat/references/contract.md +0 -132
- package/resources/js/context/skills/ui-editor-compat/scripts/editor-contract.mjs +0 -327
- package/resources/js/context/skills/ui-editor-compat/scripts/project-files.mjs +0 -80
- package/resources/js/context/skills/ui-editor-compat/scripts/ui-editor.mjs +0 -84
- package/resources/js/context/skills/version-update/SKILL.md +0 -192
- package/resources/js/context/skills/version-update/scripts/check_runtime_refs.mjs +0 -129
- package/resources/js/context/skills/version-update/scripts/feature_snapshot.mjs +0 -159
- package/resources/js/context/skills/version-update/scripts/update_feature_version.mjs +0 -157
- package/resources/js/context/skills/version-update/upgrade_diffs/.gitkeep +0 -0
- package/resources/js/context/version/version.json +0 -1
- package/resources/js/project/SPEC/assist/.gitkeep +0 -0
- package/resources/js/project/SPEC/guide/.gitkeep +0 -0
- package/resources/js/project/SPEC/plan/.gitkeep +0 -0
- package/resources/js/project/SPEC/readme.md +0 -6
- package/resources/js/project/SPEC/res/.gitkeep +0 -0
- package/resources/js/project/SPEC/task-item/.gitkeep +0 -0
- package/resources/js/project/runtime/lightgame/1.0.0/platform/leaderboard.d.mts +0 -39
- package/resources/js/project/runtime/lightgame/1.0.0/platform/leaderboard.mjs +0 -1
- package/resources/js/project/runtime/lightgame/1.0.0/platform/platform-service.d.mts +0 -25
- package/resources/js/project/runtime/lightgame/1.0.0/platform/platform-service.mjs +0 -1
- package/resources/js/project/runtime/lightgame/1.0.0/platform/save.d.mts +0 -49
- package/resources/js/project/runtime/lightgame/1.0.0/platform/save.mjs +0 -1
- package/resources/js/project/runtime/lightgame/1.0.0/release.json +0 -37
- package/resources/js/project/runtime/lightgame/1.0.0/tooling/cli.mjs +0 -2
- package/resources/js/project/runtime/lightgame/1.0.0/tooling/project.d.mts +0 -8
- package/resources/js/project/runtime/lightgame/1.0.0/tooling/project.mjs +0 -2
- package/resources/js/project/runtime/lightgame/1.0.0/tooling/vite.d.mts +0 -3
- package/resources/js/project/runtime/lightgame/1.0.0/tooling/vite.mjs +0 -8
- package/resources/js/project/runtime/lightgame/1.0.0/tools/audio.d.mts +0 -20
- package/resources/js/project/runtime/lightgame/1.0.0/tools/audio.mjs +0 -1
- package/resources/js/project/runtime/lightgame/1.0.0/tools/canvas.d.mts +0 -21
- package/resources/js/project/runtime/lightgame/1.0.0/tools/canvas.mjs +0 -1
- package/resources/js/project/runtime/lightgame/1.0.0/tools/input.d.mts +0 -17
- package/resources/js/project/runtime/lightgame/1.0.0/tools/input.mjs +0 -1
- package/resources/js/project/runtime/lightgame/1.0.0/tools/three.d.mts +0 -40
- package/resources/js/project/runtime/lightgame/1.0.0/tools/three.mjs +0 -1
- package/resources/js/project/runtime/lightgame/1.0.0/tools/ui.d.mts +0 -10
- package/resources/js/project/runtime/lightgame/1.0.0/tools/ui.mjs +0 -1
- package/resources/js/project/runtime/lightgame/1.0.0/tools/video.d.mts +0 -8
- package/resources/js/project/runtime/lightgame/1.0.0/tools/video.mjs +0 -1
- package/resources/js/project/scripts/refresh-runtime.mjs +0 -50
- package/resources/js/project/vendor/core-manager-js/package.json +0 -33
- package/resources/js/project/vendor/core-manager-js/src/.versions.json +0 -42
- package/resources/js/project/vendor/core-manager-js/src/CoreManagerPlugin.ts +0 -41
- package/resources/js/project/vendor/core-manager-js/src/assetManager/AssetRef.ts +0 -93
- package/resources/js/project/vendor/core-manager-js/src/assetManager/AstcFirstImageFile.ts +0 -203
- package/resources/js/project/vendor/core-manager-js/src/assetManager/AstcTextureLoader.ts +0 -106
- package/resources/js/project/vendor/core-manager-js/src/assetManager/resolveAssetUrl.test.ts +0 -25
- package/resources/js/project/vendor/core-manager-js/src/assetManager/resolveAssetUrl.ts +0 -21
- package/resources/js/project/vendor/core-manager-js/src/audioManager/AudioManager.test.ts +0 -65
- package/resources/js/project/vendor/core-manager-js/src/audioManager/AudioManager.ts +0 -340
- package/resources/js/project/vendor/core-manager-js/src/configManager/FeatureConfig.ts +0 -87
- package/resources/js/project/vendor/core-manager-js/src/configManager/tuneRuntime.d.mts +0 -92
- package/resources/js/project/vendor/core-manager-js/src/configManager/tuneRuntime.mjs +0 -271
- package/resources/js/project/vendor/core-manager-js/src/index.ts +0 -31
- package/resources/js/project/vendor/core-manager-js/src/inputManager/InputConfig.ts +0 -81
- package/resources/js/project/vendor/core-manager-js/src/inputManager/InputManager.test.ts +0 -43
- package/resources/js/project/vendor/core-manager-js/src/inputManager/InputManager.ts +0 -32
- package/resources/js/project/vendor/core-manager-js/src/inputManager/InputRuntime.test.ts +0 -141
- package/resources/js/project/vendor/core-manager-js/src/inputManager/InputRuntime.ts +0 -20
- package/resources/js/project/vendor/core-manager-js/src/inputManager/KeyboardProvider.ts +0 -183
- package/resources/js/project/vendor/core-manager-js/src/inputManager/TouchProvider.ts +0 -304
- package/resources/js/project/vendor/core-manager-js/src/inputManager/VirtualJoystick.ts +0 -351
- package/resources/js/project/vendor/core-manager-js/src/inputManager/_internal/InputManagerImpl.ts +0 -180
- package/resources/js/project/vendor/core-manager-js/src/inputManager/icons.b64 +0 -13
- package/resources/js/project/vendor/core-manager-js/src/inputManager/icons.b64.d.ts +0 -14
- package/resources/js/project/vendor/core-manager-js/src/inputManager/input_config.example.json +0 -68
- package/resources/js/project/vendor/core-manager-js/src/logManager/DebugConsole.ts +0 -433
- package/resources/js/project/vendor/core-manager-js/src/logManager/LogCapture.ts +0 -118
- package/resources/js/project/vendor/core-manager-js/src/logManager/LogManager.ts +0 -444
- package/resources/js/project/vendor/core-manager-js/src/logManager/ScreenCapture.ts +0 -485
- package/resources/js/project/vendor/core-manager-js/src/logManager/ScreenCaptureVideo.test.ts +0 -66
- package/resources/js/project/vendor/core-manager-js/src/logManager/ScreenCaptureVideo.ts +0 -149
- package/resources/js/project/vendor/core-manager-js/src/logManager/icons.b64 +0 -9
- package/resources/js/project/vendor/core-manager-js/src/resourceManager/AssetUrlResolver.ts +0 -29
- package/resources/js/project/vendor/core-manager-js/src/resourceManager/ResourceManager.test.ts +0 -88
- package/resources/js/project/vendor/core-manager-js/src/resourceManager/ResourceManager.ts +0 -122
- package/resources/js/project/vendor/core-manager-js/src/runtime.ts +0 -24
- package/resources/js/project/vendor/core-manager-js/src/spriteAnimManager/CharacterEntity.ts +0 -318
- package/resources/js/project/vendor/core-manager-js/src/spriteAnimManager/CharacterPhysicsBinding.test.ts +0 -151
- package/resources/js/project/vendor/core-manager-js/src/spriteAnimManager/CharacterPhysicsBinding.ts +0 -235
- package/resources/js/project/vendor/core-manager-js/src/spriteAnimManager/EffectComposite.test.ts +0 -98
- package/resources/js/project/vendor/core-manager-js/src/spriteAnimManager/EffectComposite.ts +0 -94
- package/resources/js/project/vendor/core-manager-js/src/spriteAnimManager/EffectEntity.ts +0 -209
- package/resources/js/project/vendor/core-manager-js/src/spriteAnimManager/FxManager.test.ts +0 -106
- package/resources/js/project/vendor/core-manager-js/src/spriteAnimManager/FxManager.ts +0 -341
- package/resources/js/project/vendor/core-manager-js/src/spriteAnimManager/FxRecipe.test.ts +0 -68
- package/resources/js/project/vendor/core-manager-js/src/spriteAnimManager/FxRecipe.ts +0 -236
- package/resources/js/project/vendor/core-manager-js/src/spriteAnimManager/SpriteAnimManager.test.ts +0 -22
- package/resources/js/project/vendor/core-manager-js/src/spriteAnimManager/SpriteAnimManager.ts +0 -29
- package/resources/js/project/vendor/core-manager-js/src/spriteAnimManager/SpriteEntity.test.ts +0 -197
- package/resources/js/project/vendor/core-manager-js/src/uiManager/DomUiContracts.ts +0 -9
- package/resources/js/project/vendor/core-manager-js/src/uiManager/DomUiKit.ts +0 -555
- package/resources/js/project/vendor/core-manager-js/src/uiManager/UIFacadePlugin.test.ts +0 -112
- package/resources/js/project/vendor/core-manager-js/src/uiManager/UIFacadePlugin.ts +0 -178
- package/resources/js/project/vendor/core-manager-js/src/uiManager/ui-base.css +0 -246
- package/resources/js/project/vendor/core-manager-js/src/videoManager/VideoManager.ts +0 -139
- package/resources/js/project/vendor/core-manager-js/tsconfig.json +0 -15
- package/resources/js/project/vendor/run.sh +0 -4
- package/resources/js/project/version/craft_feature_version.json +0 -42
- package/resources/js/project/version/project_feature_version.json +0 -11
- package/resources/js3d/context/.role/AGENTS_DESIGN.md +0 -9
- package/resources/js3d/context/knowledge/3D/PoseInterpolationKnowledge.md +0 -75
- package/resources/js3d/context/knowledge/CodingGuide/SceneEditableGuide.md +0 -42
- package/resources/js3d/context/knowledge/FrontendComponents.md +0 -19
- package/resources/js3d/context/knowledge/MobileAdaptation.md +0 -73
- package/resources/js3d/context/knowledge/MobileAdapted.md +0 -36
- package/resources/js3d/context/knowledge/Multiplayer/GameplaySystemKnowledge.md +0 -114
- package/resources/js3d/context/knowledge/Multiplayer/OverviewKnowledge.md +0 -117
- package/resources/js3d/context/knowledge/Multiplayer/StateSyncKnowledge.md +0 -430
- package/resources/js3d/context/knowledge/PlatformServices.md +0 -190
- package/resources/js3d/context/knowledge/ProjectDisplayConfig.md +0 -35
- package/resources/js3d/context/knowledge/SceneEditorCompat.md +0 -35
- package/resources/js3d/context/knowledge/StepByStep.md +0 -21
- package/resources/js3d/context/knowledge/Subsystems/Optional/MultiplayerManagerKnowledge.md +0 -242
- package/resources/js3d/context/knowledge/UiEditorCompat.md +0 -21
- package/resources/js3d/context/rules/MultiplayerCapability.md +0 -27
- package/resources/js3d/context/rules/MultiplayerRoomEntryUX.md +0 -63
- package/resources/js3d/context/rules/PlatformBoundaryModules.md +0 -44
- package/resources/js3d/context/rules/preview_ready.md +0 -8
- package/resources/js3d/context/skills/aigc-integration/assets/sprite-sheet-player.mjs +0 -70
- package/resources/js3d/context/skills/aigc-integration/callback.md +0 -77
- package/resources/js3d/context/skills/aigc-integration/knowledge/aigc/README.md +0 -23
- package/resources/js3d/context/skills/aigc-integration/knowledge/aigc/audio-aigc-knowledge.md +0 -38
- package/resources/js3d/context/skills/aigc-integration/knowledge/aigc/character2d-aigc-knowledge.md +0 -72
- package/resources/js3d/context/skills/aigc-integration/knowledge/aigc/staticmesh-aigc-knowledge.md +0 -33
- package/resources/js3d/context/skills/aigc-integration/knowledge/aigc/texture-prop-aigc-knowledge.md +0 -36
- package/resources/js3d/context/skills/aigc-integration/knowledge/aigc/texture-scene-aigc-knowledge.md +0 -37
- package/resources/js3d/context/skills/aigc-integration/knowledge/aigc/texture-ui-aigc-knowledge.md +0 -35
- package/resources/js3d/context/skills/asset-search/references/sprite-sheets.md +0 -58
- package/resources/js3d/context/skills/asset-search/scripts/asset_display.mjs +0 -62
- package/resources/js3d/context/skills/asset-search/scripts/config.json +0 -235
- package/resources/js3d/context/skills/asset-search/scripts/manifest_pipeline.mjs +0 -905
- package/resources/js3d/context/skills/asset-search/scripts/preflight.mjs +0 -79
- package/resources/js3d/context/skills/asset-search/scripts/provided_assets.mjs +0 -74
- package/resources/js3d/context/skills/asset-search/scripts/search.mjs +0 -637
- package/resources/js3d/context/skills/asset-search/scripts/sprite_source_materializer.mjs +0 -667
- package/resources/js3d/context/skills/asset-search/strategies/anim2d.md +0 -42
- package/resources/js3d/context/skills/asset-search/strategies/effect2d.md +0 -31
- package/resources/js3d/context/skills/asset-usage-audit/references/case-tidewater-zoo.md +0 -89
- package/resources/js3d/context/skills/asset-usage-audit/references/optimization-playbook.md +0 -143
- package/resources/js3d/context/skills/asset-usage-audit/references/usage-model.md +0 -90
- package/resources/js3d/context/skills/export-config/scripts/sync-scene-assets.mjs +0 -216
- package/resources/js3d/context/skills/export-config/scripts/translate-asset-titles.mjs +0 -161
- package/resources/js3d/context/skills/game-art-style/SKILL.md +0 -60
- package/resources/js3d/context/skills/game-art-style/assets/previews/cartoon.png +0 -0
- package/resources/js3d/context/skills/game-art-style/assets/previews/comic.png +0 -0
- package/resources/js3d/context/skills/game-art-style/assets/previews/cozy.png +0 -0
- package/resources/js3d/context/skills/game-art-style/assets/previews/cyber.png +0 -0
- package/resources/js3d/context/skills/game-art-style/assets/previews/horror.png +0 -0
- package/resources/js3d/context/skills/game-art-style/assets/previews/lowpoly.png +0 -0
- package/resources/js3d/context/skills/game-art-style/assets/previews/paper.png +0 -0
- package/resources/js3d/context/skills/game-art-style/assets/previews/voxel.png +0 -0
- package/resources/js3d/context/skills/game-art-style/references/art-parameters-lite.md +0 -38
- package/resources/js3d/context/skills/game-art-style/references/construction.md +0 -111
- package/resources/js3d/context/skills/game-art-style/references/materials-textures.md +0 -105
- package/resources/js3d/context/skills/game-art-style/references/sources.md +0 -25
- package/resources/js3d/context/skills/game-art-style/references/styles/cartoon.md +0 -175
- package/resources/js3d/context/skills/game-art-style/references/styles/comic.md +0 -168
- package/resources/js3d/context/skills/game-art-style/references/styles/cozy.md +0 -191
- package/resources/js3d/context/skills/game-art-style/references/styles/cyber.md +0 -165
- package/resources/js3d/context/skills/game-art-style/references/styles/horror.md +0 -173
- package/resources/js3d/context/skills/game-art-style/references/styles/lowpoly.md +0 -185
- package/resources/js3d/context/skills/game-art-style/references/styles/paper.md +0 -181
- package/resources/js3d/context/skills/game-art-style/references/styles/voxel.md +0 -189
- package/resources/js3d/context/skills/game-art-style/references/user-style-document.md +0 -88
- package/resources/js3d/context/skills/mobile-adaptation/SKILL.md +0 -301
- package/resources/js3d/context/skills/mobile-adaptation/assets/example/src/input/input-config.json +0 -104
- package/resources/js3d/context/skills/mobile-adaptation/assets/example/src/input/input-layer.ts +0 -933
- package/resources/js3d/context/skills/mobile-adaptation/assets/example/src/input/input-platform.ts +0 -92
- package/resources/js3d/context/skills/mobile-adaptation/assets/example/src/input/input-primitives.ts +0 -254
- package/resources/js3d/context/skills/mobile-adaptation/assets/example/src/input/look-pad.ts +0 -245
- package/resources/js3d/context/skills/mobile-adaptation/assets/example/src/ui/touch-controls.css +0 -257
- package/resources/js3d/context/skills/mobile-adaptation/references/input-config.md +0 -342
- package/resources/js3d/context/skills/mobile-adaptation/references/verification.md +0 -140
- package/resources/js3d/context/skills/mobile-adaptation/references/web-audio.md +0 -11
- package/resources/js3d/context/skills/mobile-compat-qa/SKILL.md +0 -53
- package/resources/js3d/context/skills/mobile-compat-qa/references/startup-diagnosis.md +0 -23
- package/resources/js3d/context/skills/mobile-compat-qa/references/web-form-input.md +0 -10
- package/resources/js3d/context/skills/mobile-compat-qa/references/web-lifecycle.md +0 -20
- package/resources/js3d/context/skills/mobile-compat-qa/references/web-performance.md +0 -19
- package/resources/js3d/context/skills/optimization-suggestions/SKILL.md +0 -74
- package/resources/js3d/context/skills/performance-audit/references/case-notes.md +0 -93
- package/resources/js3d/context/skills/performance-audit/references/rules.md +0 -183
- package/resources/js3d/context/skills/platform-services/SKILL.md +0 -101
- package/resources/js3d/context/skills/platform-services/assets/modules/MultiplayerManager.ts +0 -465
- package/resources/js3d/context/skills/platform-services/assets/modules/eventBus.ts +0 -57
- package/resources/js3d/context/skills/platform-services/assets/modules/leaderboard.d.mts +0 -39
- package/resources/js3d/context/skills/platform-services/assets/modules/leaderboard.mjs +0 -1
- package/resources/js3d/context/skills/platform-services/assets/modules/log.ts +0 -35
- package/resources/js3d/context/skills/platform-services/assets/modules/multiplayer/clockSync.ts +0 -61
- package/resources/js3d/context/skills/platform-services/assets/modules/multiplayer/dsClient.ts +0 -52
- package/resources/js3d/context/skills/platform-services/assets/modules/multiplayer/payloadCodec.ts +0 -30
- package/resources/js3d/context/skills/platform-services/assets/modules/multiplayer/roomHttp.ts +0 -89
- package/resources/js3d/context/skills/platform-services/assets/modules/multiplayer/types.ts +0 -47
- package/resources/js3d/context/skills/platform-services/assets/modules/save.d.mts +0 -49
- package/resources/js3d/context/skills/platform-services/assets/modules/save.mjs +0 -1
- package/resources/js3d/context/skills/platform-services/assets/scaffold/ds/main.mjs +0 -7
- package/resources/js3d/context/skills/platform-services/assets/scaffold/ds/rooms/SyncRoom.mjs +0 -264
- package/resources/js3d/context/skills/platform-services/assets/scaffold/ds/rooms/syncSchema.mjs +0 -39
- package/resources/js3d/context/skills/platform-services/references/SERVER_GUIDE.md +0 -139
- package/resources/js3d/context/skills/platform-services/references/api_reference.md +0 -18
- package/resources/js3d/context/skills/platform-services/references/leaderboard_playbook.md +0 -96
- package/resources/js3d/context/skills/platform-services/scripts/install.mjs +0 -148
- package/resources/js3d/context/skills/resolution-adaptation/SKILL.md +0 -46
- package/resources/js3d/context/skills/resolution-adaptation/assets/example/main.ts +0 -129
- package/resources/js3d/context/skills/resolution-adaptation/assets/example/ui-tokens.css +0 -188
- package/resources/js3d/context/skills/resolution-adaptation/references/audit.md +0 -31
- package/resources/js3d/context/skills/resolution-adaptation/references/device-safe-area.md +0 -40
- package/resources/js3d/context/skills/resolution-adaptation/references/game-ui-occlusion.md +0 -18
- package/resources/js3d/context/skills/resolution-adaptation/references/layout-rules.md +0 -15
- package/resources/js3d/context/skills/resolution-adaptation/references/troubleshooting.md +0 -34
- package/resources/js3d/context/skills/resolution-adaptation/references/viewport-api.md +0 -38
- package/resources/js3d/context/skills/resolution-adaptation/scripts/aspect_audit.mjs +0 -448
- package/resources/js3d/context/skills/scene-editor-compat/SKILL.md +0 -599
- package/resources/js3d/context/skills/scene-editor-compat/references/bundle-contract.md +0 -141
- package/resources/js3d/context/skills/scene-editor-compat/references/editor-integration.md +0 -92
- package/resources/js3d/context/skills/scene-editor-compat/references/scene-data-format.md +0 -125
- package/resources/js3d/context/skills/scene-editor-compat/references/slots-rules.md +0 -113
- package/resources/js3d/context/skills/scene-editor-compat/scripts/scene-editor.mjs +0 -1187
- package/resources/js3d/context/skills/threejs-game-quality/SKILL.md +0 -53
- package/resources/js3d/context/skills/threejs-game-quality/agents/openai.yaml +0 -4
- package/resources/js3d/context/skills/threejs-game-quality/references/01-build.md +0 -94
- package/resources/js3d/context/skills/threejs-game-quality/references/02-avoid.md +0 -50
- package/resources/js3d/context/skills/threejs-game-quality/references/03-detect.md +0 -105
- package/resources/js3d/context/skills/threejs-game-quality/references/camera-by-genre.md +0 -147
- package/resources/js3d/context/skills/threejs-game-quality/references/camera-distance.md +0 -79
- package/resources/js3d/context/skills/threejs-game-quality/references/camera-sources.md +0 -56
- package/resources/js3d/context/skills/threejs-game-quality/references/character-motion-face.md +0 -51
- package/resources/js3d/context/skills/threejs-game-quality/references/parameter-contract.md +0 -55
- package/resources/js3d/context/skills/threejs-game-quality/references/refine-existing.md +0 -78
- package/resources/js3d/context/skills/threejs-game-quality/references/rendering-stability.md +0 -84
- package/resources/js3d/context/skills/threejs-game-quality/references/runtime-tools.md +0 -120
- package/resources/js3d/context/skills/threejs-game-quality/scripts/package.json +0 -4
- package/resources/js3d/context/skills/threejs-game-quality/scripts/runtime-audit.js +0 -238
- package/resources/js3d/context/skills/ui-editor-compat/SKILL.md +0 -59
- package/resources/js3d/context/skills/ui-editor-compat/assets/example/hud/WidgetLayout_Hud.ts +0 -35
- package/resources/js3d/context/skills/ui-editor-compat/assets/example/hud/WidgetLogic_Hud.ts +0 -61
- package/resources/js3d/context/skills/ui-editor-compat/assets/example/hud/hud.css +0 -60
- package/resources/js3d/context/skills/ui-editor-compat/assets/runtime/dom-ui.d.mts +0 -45
- package/resources/js3d/context/skills/ui-editor-compat/assets/runtime/dom-ui.mjs +0 -265
- package/resources/js3d/context/skills/ui-editor-compat/assets/runtime/release.json +0 -7
- package/resources/js3d/context/skills/ui-editor-compat/references/contract.md +0 -110
- package/resources/js3d/context/skills/ui-editor-compat/scripts/editor-contract.mjs +0 -327
- package/resources/js3d/context/skills/ui-editor-compat/scripts/project-files.mjs +0 -80
- package/resources/js3d/context/skills/ui-editor-compat/scripts/ui-editor.mjs +0 -84
- package/resources/js3d/context/skills/version-update/SKILL.md +0 -191
- package/resources/js3d/context/skills/version-update/scripts/check_runtime_refs.mjs +0 -129
- package/resources/js3d/context/skills/version-update/scripts/feature_snapshot.mjs +0 -159
- package/resources/js3d/context/skills/version-update/scripts/update_feature_version.mjs +0 -157
- package/resources/js3d/context/skills/version-update/upgrade_diffs/.gitkeep +0 -0
- package/resources/js3d/context/version/version.json +0 -1
- package/resources/js3d/project/runtime/lightgame/1.0.0/platform/leaderboard.d.mts +0 -39
- package/resources/js3d/project/runtime/lightgame/1.0.0/platform/leaderboard.mjs +0 -1
- package/resources/js3d/project/runtime/lightgame/1.0.0/platform/platform-service.d.mts +0 -25
- package/resources/js3d/project/runtime/lightgame/1.0.0/platform/platform-service.mjs +0 -1
- package/resources/js3d/project/runtime/lightgame/1.0.0/platform/platform.mjs +0 -30
- package/resources/js3d/project/runtime/lightgame/1.0.0/platform/save.d.mts +0 -49
- package/resources/js3d/project/runtime/lightgame/1.0.0/platform/save.mjs +0 -1
- package/resources/js3d/project/runtime/lightgame/1.0.0/release.json +0 -39
- package/resources/js3d/project/runtime/lightgame/1.0.0/tooling/cli.mjs +0 -2
- package/resources/js3d/project/runtime/lightgame/1.0.0/tooling/project.d.mts +0 -8
- package/resources/js3d/project/runtime/lightgame/1.0.0/tooling/project.mjs +0 -2
- package/resources/js3d/project/runtime/lightgame/1.0.0/tooling/vite.d.mts +0 -3
- package/resources/js3d/project/runtime/lightgame/1.0.0/tooling/vite.mjs +0 -7
- package/resources/js3d/project/runtime/lightgame/1.0.0/tools/audio.d.mts +0 -20
- package/resources/js3d/project/runtime/lightgame/1.0.0/tools/audio.mjs +0 -1
- package/resources/js3d/project/runtime/lightgame/1.0.0/tools/canvas.d.mts +0 -21
- package/resources/js3d/project/runtime/lightgame/1.0.0/tools/canvas.mjs +0 -1
- package/resources/js3d/project/runtime/lightgame/1.0.0/tools/input.d.mts +0 -17
- package/resources/js3d/project/runtime/lightgame/1.0.0/tools/input.mjs +0 -1
- package/resources/js3d/project/runtime/lightgame/1.0.0/tools/three.d.mts +0 -40
- package/resources/js3d/project/runtime/lightgame/1.0.0/tools/three.mjs +0 -1
- package/resources/js3d/project/runtime/lightgame/1.0.0/tools/ui.d.mts +0 -10
- package/resources/js3d/project/runtime/lightgame/1.0.0/tools/ui.mjs +0 -1
- package/resources/js3d/project/runtime/lightgame/1.0.0/tools/video.d.mts +0 -8
- package/resources/js3d/project/runtime/lightgame/1.0.0/tools/video.mjs +0 -1
- package/resources/js3d/project/scripts/refresh-runtime.mjs +0 -50
- package/resources/js3d/project/vendor/core-manager-three/package.json +0 -12
- package/resources/js3d/project/vendor/core-manager-three/src/index.ts +0 -2
- package/resources/js3d/project/vendor/run.sh +0 -4
- package/resources/js3d/project/version/craft_feature_version.json +0 -42
- package/resources/js3d/project/version/project_feature_version.json +0 -11
- 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/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/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 -364
- package/vendor/agent-cli/dist/src/artifacts/preinstalled-dependencies.js.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/prepare.d.ts +0 -61
- package/vendor/agent-cli/dist/src/artifacts/prepare.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/prepare.js +0 -211
- package/vendor/agent-cli/dist/src/artifacts/prepare.js.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/process-artifacts.d.ts +0 -39
- 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 -173
- 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-delivery.d.ts +0 -7
- package/vendor/agent-cli/dist/src/artifacts/scene-asset-delivery.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/artifacts/scene-asset-delivery.js +0 -145
- package/vendor/agent-cli/dist/src/artifacts/scene-asset-delivery.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 -224
- 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 -279
- package/vendor/agent-cli/dist/src/cli/process-protocol.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 -62
- package/vendor/agent-cli/dist/src/index.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/index.js +0 -88
- 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 -420
- 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 -116
- 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 -136
- package/vendor/agent-cli/dist/src/session/client.d.ts.map +0 -1
- package/vendor/agent-cli/dist/src/session/client.js +0 -400
- 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 -77
- 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 -432
- 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 -4
- 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 -14
- 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 -37
- 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 -473
- 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 -47
- 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 -77
- package/vendor/agent-cli/dist/src/session/run-start-body.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 -513
- 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.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 -233
- 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/js/{context/skills/export-config/scripts → project/scripts/config-export}/assert-asset-wiring.mjs +0 -0
- /package/resources/js3d/{context/skills/export-config/scripts → project/scripts/config-export}/assert-asset-wiring.mjs +0 -0
- /package/resources/js3d/{context/skills/export-config/scripts → project/scripts/config-export}/sync-asset-controls.mjs +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt/project/scripts/skill-modules/export-config → targets/codebuddy/js/js/context/skills/export-config/assets/tooling}/cli.mjs +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt/project/scripts/skill-modules/export-config → targets/codebuddy/js/js/context/skills/export-config/assets/tooling}/config.d.mts +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt/project/scripts/skill-modules/export-config → targets/codebuddy/js/js/context/skills/export-config/assets/tooling}/config.mjs +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt/project/scripts/skill-modules/export-config → targets/codebuddy/js/js/context/skills/export-config/assets/tooling}/project.d.mts +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt/project/scripts/skill-modules/export-config → targets/codebuddy/js/js/context/skills/export-config/assets/tooling}/project.mjs +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt/project/scripts/skill-modules/export-config → targets/codebuddy/js/js/context/skills/export-config/assets/tooling}/vite.d.mts +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt/project/scripts/skill-modules/export-config → targets/codebuddy/js/js/context/skills/export-config/assets/tooling}/vite.mjs +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/game-runtime.json +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/platform/platform.d.mts +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/platform/platform.mjs +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/release.json +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/tooling/cli.mjs +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/tooling/project.d.mts +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/tooling/project.mjs +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/tooling/vite.mjs +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/tools/assets.d.mts +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/tools/assets.mjs +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/tools/astc.d.mts +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/runtime/lightgame/1.1.0/tools/astc.mjs +0 -0
- /package/resources/{js/project/runtime/lightgame/1.0.0/platform → targets/codebuddy/js/js/project/scripts/skill-modules/export-config}/config.d.mts +0 -0
- /package/resources/{js/project/runtime/lightgame/1.0.0/platform → targets/codebuddy/js/js/project/scripts/skill-modules/export-config}/config.mjs +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/scripts/skill-modules/export-config/installed.json +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/src/display/ui-stage.ts +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/src/display/viewport.ts +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/src/main.ts +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/src/platform.ts +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/src/screenUi.ts +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/src/style.css +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/tsconfig.json +0 -0
- /package/resources/{js/context/skills/lightgame-runtime-adapt → targets/codebuddy/js/js}/project/vite.config.ts +0 -0
- /package/resources/{js3d/project/runtime/lightgame/1.0.0/platform → targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling}/config.d.mts +0 -0
- /package/resources/{js3d/project/runtime/lightgame/1.0.0/platform → targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling}/config.mjs +0 -0
- /package/resources/{js/context/skills/platform-services/assets/modules → targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform}/identity/qq-ai-game-sdk.min.js +0 -0
- /package/resources/{js/context/skills/platform-services/assets/modules → targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform}/identity/qq-session.mjs +0 -0
- /package/resources/{js/context/skills/platform-services/assets/modules → targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform}/identity/shared.mjs +0 -0
- /package/resources/{js/project/runtime/lightgame/1.0.0 → targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0}/platform/platform-capture-video.mjs +0 -0
- /package/resources/{js/context/skills/platform-services/assets/modules → targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform}/platform-service.d.mts +0 -0
- /package/resources/{js/context/skills/platform-services/assets/modules → targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform}/platform-service.mjs +0 -0
- /package/resources/{js3d/project/runtime/lightgame/1.0.0 → targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0}/platform/platform.d.mts +0 -0
- /package/resources/{js/project/runtime/lightgame/1.0.0 → targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0}/tools/assets.d.mts +0 -0
- /package/resources/{js3d/project/runtime/lightgame/1.0.0 → targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0}/tools/assets.mjs +0 -0
- /package/resources/{js/project/runtime/lightgame/1.0.0 → targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0}/tools/astc.d.mts +0 -0
- /package/resources/{js3d/project/runtime/lightgame/1.0.0 → targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0}/tools/astc.mjs +0 -0
- /package/resources/{js3d/project/runtime/lightgame/1.0.0 → targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0}/tools/glb.d.mts +0 -0
- /package/resources/{js3d/project/runtime/lightgame/1.0.0 → targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0}/tools/glb.mjs +0 -0
- /package/resources/{js3d/context/skills/resolution-adaptation/assets → targets/codebuddy/js3d/js3d/project/src}/display/ui-stage.ts +0 -0
- /package/resources/{js3d/context/skills/resolution-adaptation/assets → targets/codebuddy/js3d/js3d/project/src}/display/viewport.ts +0 -0
- /package/resources/{js3d/context/skills/platform-services/assets/modules → targets/codex/js/js/project/runtime/lightgame/1.1.0/platform}/identity/qq-ai-game-sdk.min.js +0 -0
- /package/resources/{js3d/context/skills/platform-services/assets/modules → targets/codex/js/js/project/runtime/lightgame/1.1.0/platform}/identity/qq-session.mjs +0 -0
- /package/resources/{js3d/context/skills/platform-services/assets/modules → targets/codex/js/js/project/runtime/lightgame/1.1.0/platform}/identity/shared.mjs +0 -0
- /package/resources/{js3d/project/runtime/lightgame/1.0.0 → targets/codex/js/js/project/runtime/lightgame/1.1.0}/platform/platform-capture-video.mjs +0 -0
- /package/resources/{js3d/context/skills/platform-services/assets/modules → targets/codex/js/js/project/runtime/lightgame/1.1.0/platform}/platform-service.d.mts +0 -0
- /package/resources/{js3d/context/skills/platform-services/assets/modules → targets/codex/js/js/project/runtime/lightgame/1.1.0/platform}/platform-service.mjs +0 -0
- /package/resources/{js/project/runtime/lightgame/1.0.0 → targets/codex/js/js/project/runtime/lightgame/1.1.0}/platform/platform.d.mts +0 -0
- /package/resources/{js/project/runtime/lightgame/1.0.0 → targets/codex/js/js/project/runtime/lightgame/1.1.0}/platform/platform.mjs +0 -0
- /package/resources/{js3d/project/runtime/lightgame/1.0.0 → targets/codex/js/js/project/runtime/lightgame/1.1.0}/tools/assets.d.mts +0 -0
- /package/resources/{js/project/runtime/lightgame/1.0.0 → targets/codex/js/js/project/runtime/lightgame/1.1.0}/tools/assets.mjs +0 -0
- /package/resources/{js3d/project/runtime/lightgame/1.0.0 → targets/codex/js/js/project/runtime/lightgame/1.1.0}/tools/astc.d.mts +0 -0
- /package/resources/{js/project/runtime/lightgame/1.0.0 → targets/codex/js/js/project/runtime/lightgame/1.1.0}/tools/astc.mjs +0 -0
- /package/resources/{js/context/skills/resolution-adaptation/assets → targets/codex/js/js/project/src}/display/ui-stage.ts +0 -0
- /package/resources/{js/context/skills/resolution-adaptation/assets → targets/codex/js/js/project/src}/display/viewport.ts +0 -0
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
import { ErrRunCancelled, ErrToolDeadline, ErrUnsupportedTool } from '../protocol/messages/errors.gen.js';
|
|
2
|
-
/**
|
|
3
|
-
* tool.call 入站调度:FIFO 队列、deadline、AbortSignal、结果大小检查(02 §5)。
|
|
4
|
-
*/
|
|
5
|
-
import { LinkError } from '../protocol/link/envelope.js';
|
|
6
|
-
import { listDeclaredToolNames } from '../tools/local-hands.js';
|
|
7
|
-
import { ToolMethod } from '../tools/tool-contract.gen.js';
|
|
8
|
-
import { executeLocalMcp } from '../mcp/execute.js';
|
|
9
|
-
import { executeUserChoice } from './user-choice.js';
|
|
10
|
-
import { redactSecrets } from '../shared/output-guard.js';
|
|
11
|
-
import { emitLocalToolCall, emitLocalToolResult, } from './run-events.js';
|
|
12
|
-
export class ToolScheduler {
|
|
13
|
-
opts;
|
|
14
|
-
declared;
|
|
15
|
-
queue = [];
|
|
16
|
-
active = 0;
|
|
17
|
-
activeOwners = new Set();
|
|
18
|
-
idleWaiters = [];
|
|
19
|
-
constructor(opts) {
|
|
20
|
-
this.opts = opts;
|
|
21
|
-
this.declared = new Set(listDeclaredToolNames(opts.hands));
|
|
22
|
-
this.declared.add(ToolMethod.UserChoice);
|
|
23
|
-
if (opts.sessionOptions.hostPolicy)
|
|
24
|
-
this.declared.add(ToolMethod.HostPolicy);
|
|
25
|
-
if (opts.sessionOptions.localMcp)
|
|
26
|
-
this.declared.add(ToolMethod.McpCall);
|
|
27
|
-
}
|
|
28
|
-
createHandler() {
|
|
29
|
-
return (env, ctx) => new Promise((resolve, reject) => {
|
|
30
|
-
const owner = this.opts.serializeByMember
|
|
31
|
-
? env.body.scope?.client_team?.agent_id
|
|
32
|
-
?? this.opts.sessionOptions.clientSession?.agent_id ?? 'unregistered' : undefined;
|
|
33
|
-
this.queue.push({ env, ctx, settle: resolve, reject, owner });
|
|
34
|
-
this.drain();
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
waitForIdle() {
|
|
38
|
-
if (!this.active && !this.queue.length)
|
|
39
|
-
return Promise.resolve();
|
|
40
|
-
return new Promise(resolve => this.idleWaiters.push(resolve));
|
|
41
|
-
}
|
|
42
|
-
drain() {
|
|
43
|
-
while (this.active < this.opts.maxConcurrent && this.queue.length > 0) {
|
|
44
|
-
const index = this.queue.findIndex(job => !job.owner || !this.activeOwners.has(job.owner));
|
|
45
|
-
if (index < 0)
|
|
46
|
-
break;
|
|
47
|
-
const [job] = this.queue.splice(index, 1);
|
|
48
|
-
this.active += 1;
|
|
49
|
-
if (job.owner)
|
|
50
|
-
this.activeOwners.add(job.owner);
|
|
51
|
-
void this.executeJob(job).finally(() => {
|
|
52
|
-
this.active -= 1;
|
|
53
|
-
if (job.owner)
|
|
54
|
-
this.activeOwners.delete(job.owner);
|
|
55
|
-
this.drain();
|
|
56
|
-
if (!this.active && !this.queue.length)
|
|
57
|
-
this.idleWaiters.splice(0).forEach(resolve => resolve());
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
async executeJob(job) {
|
|
62
|
-
try {
|
|
63
|
-
const body = await this.runTool(job.env, job.ctx);
|
|
64
|
-
job.settle(body);
|
|
65
|
-
}
|
|
66
|
-
catch (err) {
|
|
67
|
-
job.reject(err);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
async runTool(env, rpcCtx) {
|
|
71
|
-
this.opts.runtime.userChoices.assertHealthy();
|
|
72
|
-
const id = env.id;
|
|
73
|
-
const call = env.body;
|
|
74
|
-
const name = call.name;
|
|
75
|
-
if (this.opts.scope.aborted || rpcCtx.signal.aborted) {
|
|
76
|
-
throw new LinkError(ErrRunCancelled);
|
|
77
|
-
}
|
|
78
|
-
if (!this.declared.has(name)) {
|
|
79
|
-
throw new LinkError(ErrUnsupportedTool);
|
|
80
|
-
}
|
|
81
|
-
const scope = call.scope;
|
|
82
|
-
const req = {
|
|
83
|
-
// 信封 id 按连接从 s-1 计数;调用方会把多轮 run 的事件并进同一视图,对外 call_id 须带 run 才唯一
|
|
84
|
-
call_id: env.run ? `${env.run}:${id}` : id,
|
|
85
|
-
method: name,
|
|
86
|
-
params: (call.args ?? {}),
|
|
87
|
-
...(scope?.session_id ? { session_id: scope.session_id } : {}),
|
|
88
|
-
...(scope?.engine ? { engine: scope.engine } : {}),
|
|
89
|
-
...(scope?.workspace_root ? { workspace_root: scope.workspace_root } : {}),
|
|
90
|
-
...(env.run ? { run_id: env.run } : {}),
|
|
91
|
-
...(!this.opts.sessionOptions.webRunClaim && this.opts.sessionOptions.clientSession && scope?.client_team
|
|
92
|
-
? { client_team: scope.client_team } : {}),
|
|
93
|
-
};
|
|
94
|
-
const journal = !this.opts.sessionOptions.webRunClaim && this.opts.sessionOptions.clientSession
|
|
95
|
-
? this.opts.sessionOptions.clientTeamJournal : undefined;
|
|
96
|
-
const isPrepare = !this.opts.eventState.stream.started;
|
|
97
|
-
if (journal && !isPrepare && !req.client_team) {
|
|
98
|
-
throw new LinkError(ErrUnsupportedTool, { reason: 'desktop_tool_owner_missing' });
|
|
99
|
-
}
|
|
100
|
-
const team = this.opts.sessionOptions.clientSession;
|
|
101
|
-
if (req.client_team && (req.client_team.root_id !== team?.root_id || req.client_team.epoch !== team?.epoch)) {
|
|
102
|
-
throw new LinkError(ErrUnsupportedTool, { reason: 'desktop_tool_owner_mismatch' });
|
|
103
|
-
}
|
|
104
|
-
await journal?.beforeTool(req);
|
|
105
|
-
if (this.opts.scope.aborted || rpcCtx.signal.aborted)
|
|
106
|
-
throw new LinkError(ErrRunCancelled);
|
|
107
|
-
const control = name === ToolMethod.HostPolicy;
|
|
108
|
-
if (!control) {
|
|
109
|
-
this.opts.runtime.ledger.note(req);
|
|
110
|
-
await this.opts.runtime.lifecycle.emit('tool:call', { request: req, isPrepare }, this.opts.runtime.hookCtx);
|
|
111
|
-
emitLocalToolCall(this.opts.sink, this.opts.sessionOptions, this.opts.eventState, req, isPrepare);
|
|
112
|
-
}
|
|
113
|
-
const started = Date.now();
|
|
114
|
-
let result;
|
|
115
|
-
let failure;
|
|
116
|
-
let rejected = false;
|
|
117
|
-
try {
|
|
118
|
-
result = await this.invoke(env, req, rpcCtx);
|
|
119
|
-
}
|
|
120
|
-
catch (err) {
|
|
121
|
-
rejected = true;
|
|
122
|
-
failure = err;
|
|
123
|
-
result = { call_id: req.call_id, success: false, error: err instanceof Error ? err.message : String(err) };
|
|
124
|
-
}
|
|
125
|
-
try {
|
|
126
|
-
await journal?.afterTool(req, result);
|
|
127
|
-
}
|
|
128
|
-
catch (error) {
|
|
129
|
-
rejected = true;
|
|
130
|
-
failure = error;
|
|
131
|
-
result = { ...result, success: false, error: error instanceof Error ? error.message : String(error) };
|
|
132
|
-
}
|
|
133
|
-
const durationMs = Date.now() - started;
|
|
134
|
-
if (!control) {
|
|
135
|
-
await this.opts.runtime.lifecycle.emit('tool:result', { result, isPrepare }, this.opts.runtime.hookCtx);
|
|
136
|
-
emitLocalToolResult(this.opts.sink, this.opts.eventState, req, result, {
|
|
137
|
-
durationMs,
|
|
138
|
-
...(failure instanceof LinkError ? { errorCode: failure.code } : {}),
|
|
139
|
-
isPrepare,
|
|
140
|
-
});
|
|
141
|
-
}
|
|
142
|
-
if (rejected)
|
|
143
|
-
throw failure;
|
|
144
|
-
// 超过对端 max_frame_bytes 由 Channel 按握手协商的上限改回 link.too_large
|
|
145
|
-
return this.toProtocolBody(result, name);
|
|
146
|
-
}
|
|
147
|
-
/** 按 deadline / 中止信号执行本地工具;执行被打断(到点 / 中止)抛成对应的 LinkError */
|
|
148
|
-
async invoke(env, req, rpcCtx) {
|
|
149
|
-
const { scope } = this.opts;
|
|
150
|
-
const controller = new AbortController();
|
|
151
|
-
const onAbort = () => controller.abort();
|
|
152
|
-
if (rpcCtx.signal.aborted || scope.aborted) {
|
|
153
|
-
onAbort();
|
|
154
|
-
}
|
|
155
|
-
else {
|
|
156
|
-
rpcCtx.signal.addEventListener('abort', onAbort, { once: true });
|
|
157
|
-
scope.addEventListener('abort', onAbort, { once: true });
|
|
158
|
-
}
|
|
159
|
-
let timer;
|
|
160
|
-
let deadlineHit = false;
|
|
161
|
-
const deadlineMs = env.deadline_ms;
|
|
162
|
-
if (deadlineMs !== undefined && deadlineMs > 0) {
|
|
163
|
-
timer = setTimeout(() => {
|
|
164
|
-
deadlineHit = true;
|
|
165
|
-
controller.abort();
|
|
166
|
-
}, deadlineMs);
|
|
167
|
-
}
|
|
168
|
-
let result;
|
|
169
|
-
let execError;
|
|
170
|
-
try {
|
|
171
|
-
result = req.method === ToolMethod.HostPolicy && this.opts.sessionOptions.hostPolicy
|
|
172
|
-
? { call_id: req.call_id, success: true, output: JSON.stringify(await this.opts.sessionOptions.hostPolicy(req.params, controller.signal)) }
|
|
173
|
-
: req.method === ToolMethod.UserChoice
|
|
174
|
-
? await executeUserChoice(req, this.opts.sessionOptions.onUserChoice, controller.signal, this.opts.runtime.sessionEnv, this.opts.runtime.userChoices)
|
|
175
|
-
: req.method === ToolMethod.McpCall && this.opts.sessionOptions.localMcp
|
|
176
|
-
? await executeLocalMcp(this.opts.sessionOptions.localMcp, req, controller.signal, this.opts.sessionOptions.clientSession, this.opts.sessionOptions.customContext?.mcpTools)
|
|
177
|
-
: await (await this.opts.runtime.memberTools?.resolve(req) ?? this.opts.hands).execute(req, {
|
|
178
|
-
env: this.opts.runtime.sessionEnv,
|
|
179
|
-
signal: controller.signal,
|
|
180
|
-
...(this.opts.runtime.clientRuntime && req.client_team ? { contextProgram: {
|
|
181
|
-
jobId: req.client_team.job_id ?? '', ownedPaths: req.client_team.owned_paths ?? [],
|
|
182
|
-
grant: req.client_team.program_grant,
|
|
183
|
-
} } : {}),
|
|
184
|
-
// 服务端给了时限就只认它(上面的定时器),关掉本地兜底,免得比服务端更早截断
|
|
185
|
-
...(deadlineMs !== undefined && deadlineMs > 0 ? { toolDeadlineMs: 0 } : {}),
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
catch (err) {
|
|
189
|
-
execError = err;
|
|
190
|
-
}
|
|
191
|
-
finally {
|
|
192
|
-
if (timer) {
|
|
193
|
-
clearTimeout(timer);
|
|
194
|
-
}
|
|
195
|
-
rpcCtx.signal.removeEventListener('abort', onAbort);
|
|
196
|
-
scope.removeEventListener('abort', onAbort);
|
|
197
|
-
}
|
|
198
|
-
if (deadlineHit) {
|
|
199
|
-
throw new LinkError(ErrToolDeadline);
|
|
200
|
-
}
|
|
201
|
-
const inboundReason = rpcCtx.signal.aborted && typeof rpcCtx.signal.reason === 'string'
|
|
202
|
-
? rpcCtx.signal.reason
|
|
203
|
-
: undefined;
|
|
204
|
-
if (inboundReason === 'deadline') {
|
|
205
|
-
throw new LinkError(ErrToolDeadline);
|
|
206
|
-
}
|
|
207
|
-
if (controller.signal.aborted) {
|
|
208
|
-
throw new LinkError(ErrRunCancelled);
|
|
209
|
-
}
|
|
210
|
-
if (execError !== undefined || !result) {
|
|
211
|
-
throw execError;
|
|
212
|
-
}
|
|
213
|
-
if (result.interrupted) {
|
|
214
|
-
throw new LinkError(result.interrupted === 'deadline' ? ErrToolDeadline : ErrRunCancelled, result.error);
|
|
215
|
-
}
|
|
216
|
-
return result;
|
|
217
|
-
}
|
|
218
|
-
toProtocolBody(res, method) {
|
|
219
|
-
const secrets = this.opts.eventState.secrets;
|
|
220
|
-
const body = { success: res.success };
|
|
221
|
-
if (method === ToolMethod.McpCall && res.mcp_result)
|
|
222
|
-
body.mcp_result = res.mcp_result;
|
|
223
|
-
if (res.output) {
|
|
224
|
-
// file_read_byte 的 data 是结构化 base64;文本脱敏替换同样会破坏服务端解码。
|
|
225
|
-
body.output = method === ToolMethod.FileReadByte ? res.output : (redactSecrets(res.output, secrets) ?? res.output);
|
|
226
|
-
}
|
|
227
|
-
if (res.stderr) {
|
|
228
|
-
body.stderr = redactSecrets(res.stderr, secrets) ?? res.stderr;
|
|
229
|
-
}
|
|
230
|
-
if (res.exit_code !== undefined) {
|
|
231
|
-
body.exit_code = res.exit_code;
|
|
232
|
-
}
|
|
233
|
-
if (res.error) {
|
|
234
|
-
body.error = redactSecrets(res.error, secrets) ?? res.error;
|
|
235
|
-
}
|
|
236
|
-
if (res.files) {
|
|
237
|
-
body.files = res.files;
|
|
238
|
-
}
|
|
239
|
-
return body;
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
//# sourceMappingURL=tool-scheduler.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tool-scheduler.js","sourceRoot":"","sources":["../../../src/session/tool-scheduler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAC1G;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAIzD,OAAO,EAAE,qBAAqB,EAAmB,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,+BA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AAI,CAAC,MAAM,GAAG,MAAM,KAAK,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC;QACrH,CAAC;QACD,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,MAAM,GAAG,aAAa,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC;QACjE,CAAC;QACD,IAAI,GAAG,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;YAChC,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QACjC,CAAC;QACD,IAAI,GAAG,CAAC,KAAK,EAAE,CAAC;YACd,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,GAAG,CAAC,KAAK,CAAC;QAC9D,CAAC;QACD,IAAI,GAAG,CAAC,KAAK,EAAE,CAAC;YACd,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACzB,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { SessionOptions, UserChoicePolicy, UserChoiceRequest } from '../shared/types.js';
|
|
2
|
-
import { LinkError } from '../protocol/link/envelope.js';
|
|
3
|
-
import type { RunCancel } from './run-setup.js';
|
|
4
|
-
import type { RunEndEvent } from './run-events.js';
|
|
5
|
-
import type { UserChoiceOutcome } from '../shared/user-choice.js';
|
|
6
|
-
/** Local SDK signal: automatic hosts must stop scheduling until the user decides. */
|
|
7
|
-
export declare class UserChoiceRequiredError extends LinkError {
|
|
8
|
-
readonly questionId: string;
|
|
9
|
-
readonly title: string;
|
|
10
|
-
constructor(questionId: string, title: string, cause?: unknown);
|
|
11
|
-
}
|
|
12
|
-
/** One policy per invocation, including its child tool calls and terminal verdict. */
|
|
13
|
-
export declare class UserChoiceRuntime {
|
|
14
|
-
private readonly cancel;
|
|
15
|
-
readonly mode: UserChoicePolicy;
|
|
16
|
-
private readonly validate;
|
|
17
|
-
private readonly settled;
|
|
18
|
-
private failure?;
|
|
19
|
-
constructor(client: boolean, options: SessionOptions, cancel: RunCancel);
|
|
20
|
-
authorize(request: UserChoiceRequest, hasHandler?: boolean): void;
|
|
21
|
-
assertHealthy(): void;
|
|
22
|
-
settle(request: UserChoiceRequest, outcome: UserChoiceOutcome): void;
|
|
23
|
-
finish(end: RunEndEvent): RunEndEvent;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=user-choice-policy.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-choice-policy.d.ts","sourceRoot":"","sources":["../../../src/session/user-choice-policy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAElE,qFAAqF;AACrF,qBAAa,uBAAwB,SAAQ,SAAS;IACxC,QAAQ,CAAC,UAAU,EAAE,MAAM;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM;gBAA1C,UAAU,EAAE,MAAM,EAAW,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO;CAGjF;AAED,sFAAsF;AACtF,qBAAa,iBAAiB;IAM0B,OAAO,CAAC,QAAQ,CAAC,MAAM;IAL7E,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAChC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA8C;IACvE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAwC;IAChE,OAAO,CAAC,OAAO,CAAC,CAAY;gBAEhB,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAmB,MAAM,EAAE,SAAS;IAOxF,SAAS,CAAC,OAAO,EAAE,iBAAiB,EAAE,UAAU,UAAO,GAAG,IAAI;IAiB9D,aAAa,IAAI,IAAI;IAErB,MAAM,CAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,iBAAiB,GAAG,IAAI;IAUpE,MAAM,CAAC,GAAG,EAAE,WAAW,GAAG,WAAW;CAMtC"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { LinkError } from '../protocol/link/envelope.js';
|
|
2
|
-
import { ErrCLIExecutionFailed } from '../protocol/messages/errors.gen.js';
|
|
3
|
-
/** Local SDK signal: automatic hosts must stop scheduling until the user decides. */
|
|
4
|
-
export class UserChoiceRequiredError extends LinkError {
|
|
5
|
-
questionId;
|
|
6
|
-
title;
|
|
7
|
-
constructor(questionId, title, cause) {
|
|
8
|
-
super({ ...ErrCLIExecutionFailed, message: '执行需要用户决定,自动运行已停止' }, cause);
|
|
9
|
-
this.questionId = questionId;
|
|
10
|
-
this.title = title;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
/** One policy per invocation, including its child tool calls and terminal verdict. */
|
|
14
|
-
export class UserChoiceRuntime {
|
|
15
|
-
cancel;
|
|
16
|
-
mode;
|
|
17
|
-
validate;
|
|
18
|
-
settled;
|
|
19
|
-
failure;
|
|
20
|
-
constructor(client, options, cancel) {
|
|
21
|
-
this.cancel = cancel;
|
|
22
|
-
this.mode = !client ? 'legacy' : options.clientSession?.mode === 'plan' || options.clientSession?.mode === 'goal'
|
|
23
|
-
|| options.goalId || options.workItemId ? 'automatic' : 'interactive';
|
|
24
|
-
this.validate = options.validateUserChoiceDefault;
|
|
25
|
-
this.settled = options.onUserChoiceSettled;
|
|
26
|
-
}
|
|
27
|
-
authorize(request, hasHandler = true) {
|
|
28
|
-
this.assertHealthy();
|
|
29
|
-
this.cancel.signal.throwIfAborted();
|
|
30
|
-
if (this.mode !== 'automatic')
|
|
31
|
-
return;
|
|
32
|
-
try {
|
|
33
|
-
if (!hasHandler)
|
|
34
|
-
throw Error('Client user input handler is unavailable');
|
|
35
|
-
if (!this.validate)
|
|
36
|
-
throw Error('Automatic choice requires host validation');
|
|
37
|
-
const approved = this.validate(request);
|
|
38
|
-
if (!approved?.label?.trim())
|
|
39
|
-
throw Error('Automatic default was not approved');
|
|
40
|
-
request.options = request.options.map(option => option.id === request.defaultId ? { ...option, label: approved.label } : option);
|
|
41
|
-
}
|
|
42
|
-
catch (error) {
|
|
43
|
-
this.failure = new UserChoiceRequiredError(request.questionId, request.title, error);
|
|
44
|
-
this.cancel.request('user-choice-blocked', false);
|
|
45
|
-
throw this.failure;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
assertHealthy() { if (this.failure)
|
|
49
|
-
throw this.failure; }
|
|
50
|
-
settle(request, outcome) {
|
|
51
|
-
if (this.mode === 'legacy')
|
|
52
|
-
return;
|
|
53
|
-
try {
|
|
54
|
-
this.settled?.(request, outcome);
|
|
55
|
-
}
|
|
56
|
-
catch (error) {
|
|
57
|
-
this.failure = new LinkError({ ...ErrCLIExecutionFailed, message: '提问回执保存失败,执行已停止' }, error);
|
|
58
|
-
this.cancel.request('user-choice-receipt-failed', false);
|
|
59
|
-
throw this.failure;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
finish(end) {
|
|
63
|
-
if (!this.failure)
|
|
64
|
-
return end;
|
|
65
|
-
const body = { ...end.body, outcome: 'failed', error: this.failure };
|
|
66
|
-
delete body.cancelled_by;
|
|
67
|
-
return { type: 'run.end', body };
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
//# sourceMappingURL=user-choice-policy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
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AAC;YACb,IAAI,CAAC,OAAO,GAAG,IAAI,SAAS,CAAC,EAAE,GAAG,qBAAqB,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,KAAK,CAAC,CAAC;YAC7F,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,4BAA4B,EAAE,KAAK,CAAC,CAAC;YACzD,MAAM,IAAI,CAAC,OAAO,CAAC;QACrB,CAAC;IACH,CAAC;IAED,MAAM,CAAC,GAAgB;QACrB,IAAI,CAAC,IAAI,CAAC,OAAO;YAAE,OAAO,GAAG,CAAC;QAC9B,MAAM,IAAI,GAAG,EAAE,GAAG,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,QAAiB,EAAE,KAAK,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC;QAC9E,OAAO,IAAI,CAAC,YAAY,CAAC;QACzB,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;IACnC,CAAC;CACF"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ToolRequest, ToolResult, UserChoiceHandler } from '../shared/types.js';
|
|
2
|
-
import type { UserChoiceRuntime } from './user-choice-policy.js';
|
|
3
|
-
export declare const USER_CHOICE_TIMEOUT_MS = 10000;
|
|
4
|
-
/** The registered invocation policy owns waiting; no renderer or model supplied timeout. */
|
|
5
|
-
export declare function executeUserChoice(req: ToolRequest, handler: UserChoiceHandler | undefined, signal: AbortSignal, environment?: Record<string, string>, policy?: Pick<UserChoiceRuntime, 'mode' | 'authorize' | 'settle'>): Promise<ToolResult>;
|
|
6
|
-
//# sourceMappingURL=user-choice.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-choice.d.ts","sourceRoot":"","sources":["../../../src/session/user-choice.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAqB,iBAAiB,EAAuB,MAAM,oBAAoB,CAAC;AAE7H,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,eAAO,MAAM,sBAAsB,QAAS,CAAC;AA0B7C,4FAA4F;AAC5F,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,WAAW,EAAE,OAAO,EAAE,iBAAiB,GAAG,SAAS,EAAE,MAAM,EAAE,WAAW,EACnH,WAAW,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,EAAE,MAAM,CAAC,EAAE,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAC,GAAG,OAAO,CAAC,UAAU,CAAC,CAuBlI"}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { ToolParam } from '../tools/tool-contract.gen.js';
|
|
2
|
-
export const USER_CHOICE_TIMEOUT_MS = 10_000;
|
|
3
|
-
function parseChoice(req) {
|
|
4
|
-
const p = req.params;
|
|
5
|
-
const questionId = p[ToolParam.QuestionID];
|
|
6
|
-
const title = p[ToolParam.Title];
|
|
7
|
-
const defaultId = p[ToolParam.DefaultID];
|
|
8
|
-
const options = p[ToolParam.Options];
|
|
9
|
-
if (typeof questionId !== 'string' || !questionId.trim() || questionId.length > 256 ||
|
|
10
|
-
typeof title !== 'string' || !title.trim() || title.length > 256 ||
|
|
11
|
-
typeof defaultId !== 'string' || !Array.isArray(options) || options.length < 2 || options.length > 6) {
|
|
12
|
-
throw new Error('Invalid user choice request');
|
|
13
|
-
}
|
|
14
|
-
const ids = new Set();
|
|
15
|
-
for (const option of options) {
|
|
16
|
-
if (!option || typeof option.id !== 'string' || !option.id.trim() || option.id.length > 128 || ids.has(option.id) ||
|
|
17
|
-
typeof option.label !== 'string' || !option.label.trim() || option.label.length > 512) {
|
|
18
|
-
throw new Error('Invalid user choice option');
|
|
19
|
-
}
|
|
20
|
-
ids.add(option.id);
|
|
21
|
-
}
|
|
22
|
-
if (!ids.has(defaultId))
|
|
23
|
-
throw new Error('Invalid default choice');
|
|
24
|
-
return { requestId: req.call_id, sessionId: req.session_id, questionId, title, defaultId,
|
|
25
|
-
options: options.map(({ id, label }) => ({ id, label })) };
|
|
26
|
-
}
|
|
27
|
-
/** The registered invocation policy owns waiting; no renderer or model supplied timeout. */
|
|
28
|
-
export async function executeUserChoice(req, handler, signal, environment = {}, policy) {
|
|
29
|
-
try {
|
|
30
|
-
signal.throwIfAborted();
|
|
31
|
-
const mode = policy?.mode ?? 'legacy';
|
|
32
|
-
const choice = { ...parseChoice(req), expiresAt: null, policy: mode };
|
|
33
|
-
policy?.authorize(choice, Boolean(handler));
|
|
34
|
-
if (mode !== 'legacy' && !handler)
|
|
35
|
-
throw new Error('Client user input handler is unavailable');
|
|
36
|
-
signal.throwIfAborted();
|
|
37
|
-
// Start the answer window only after the host has approved the fallback.
|
|
38
|
-
choice.expiresAt = mode === 'interactive' ? null : Date.now() + USER_CHOICE_TIMEOUT_MS;
|
|
39
|
-
const selected = handler ? await waitForChoice(choice, handler, signal, policy) : { choice_id: choice.defaultId, source: 'unavailable' };
|
|
40
|
-
if (selected.prepare) {
|
|
41
|
-
signal.throwIfAborted();
|
|
42
|
-
const prepared = await selected.prepare(signal);
|
|
43
|
-
signal.throwIfAborted();
|
|
44
|
-
Object.assign(environment, prepared.env);
|
|
45
|
-
}
|
|
46
|
-
return { call_id: req.call_id, success: true, output: JSON.stringify({ question_id: choice.questionId,
|
|
47
|
-
choice_id: selected.choice_id, source: selected.source }) };
|
|
48
|
-
}
|
|
49
|
-
catch (error) {
|
|
50
|
-
return { call_id: req.call_id, success: false, error: error instanceof Error ? error.message : String(error),
|
|
51
|
-
...(signal.aborted ? { interrupted: 'aborted' } : {}) };
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
async function waitForChoice(choice, handler, signal, policy) {
|
|
55
|
-
const lifetime = new AbortController();
|
|
56
|
-
let timer;
|
|
57
|
-
let abort = () => { };
|
|
58
|
-
let acknowledged = false;
|
|
59
|
-
try {
|
|
60
|
-
const selected = await new Promise((resolve, reject) => {
|
|
61
|
-
abort = () => reject(signal.reason ?? new Error('User choice cancelled'));
|
|
62
|
-
signal.addEventListener('abort', abort, { once: true });
|
|
63
|
-
if (signal.aborted) {
|
|
64
|
-
abort();
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
if (choice.expiresAt !== null)
|
|
68
|
-
timer = setTimeout(() => resolve({ choice_id: choice.defaultId, source: 'timeout' }), USER_CHOICE_TIMEOUT_MS);
|
|
69
|
-
void Promise.resolve().then(() => handler(choice, lifetime.signal)).then((selection) => {
|
|
70
|
-
const acceptedAt = typeof selection === 'string' ? undefined : selection.acceptedAt;
|
|
71
|
-
const timelyReceipt = choice.policy === 'automatic' && typeof acceptedAt === 'number' && Number.isFinite(acceptedAt)
|
|
72
|
-
&& acceptedAt >= choice.expiresAt - USER_CHOICE_TIMEOUT_MS && acceptedAt < choice.expiresAt && acceptedAt <= Date.now();
|
|
73
|
-
if (choice.expiresAt !== null && Date.now() >= choice.expiresAt && !timelyReceipt) {
|
|
74
|
-
resolve({ choice_id: choice.defaultId, source: 'timeout' });
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
const id = typeof selection === 'string' ? selection : selection.choiceId;
|
|
78
|
-
if (!choice.options.some((option) => option.id === id)) {
|
|
79
|
-
reject(new Error('Invalid user choice response'));
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
resolve({ choice_id: id, source: 'user', ...(typeof selection === 'string' || !('prepare' in selection) ? {} : { prepare: selection.prepare }) });
|
|
83
|
-
}, reject);
|
|
84
|
-
});
|
|
85
|
-
signal.throwIfAborted();
|
|
86
|
-
acknowledged = true;
|
|
87
|
-
policy?.settle(choice, { source: selected.source, choiceId: selected.choice_id });
|
|
88
|
-
return selected;
|
|
89
|
-
}
|
|
90
|
-
catch (error) {
|
|
91
|
-
if (signal.aborted && !acknowledged)
|
|
92
|
-
policy?.settle(choice, { source: 'cancelled' });
|
|
93
|
-
throw error;
|
|
94
|
-
}
|
|
95
|
-
finally {
|
|
96
|
-
clearTimeout(timer);
|
|
97
|
-
signal.removeEventListener('abort', abort);
|
|
98
|
-
lifetime.abort();
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
//# sourceMappingURL=user-choice.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-choice.js","sourceRoot":"","sources":["../../../src/session/user-choice.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAG1D,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC;AAE7C,SAAS,WAAW,CAAC,GAAgB;IACnC,MAAM,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC;IACrB,MAAM,UAAU,GAAG,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;IAC3C,MAAM,KAAK,GAAG,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACjC,MAAM,SAAS,GAAG,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;IACzC,MAAM,OAAO,GAAG,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACrC,IAAI,OAAO,UAAU,KAAK,QAAQ,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,IAAI,UAAU,CAAC,MAAM,GAAG,GAAG;QAC/E,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,KAAK,CAAC,MAAM,GAAG,GAAG;QAChE,OAAO,SAAS,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACzG,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;IACjD,CAAC;IACD,MAAM,GAAG,GAAG,IAAI,GAAG,EAAU,CAAC;IAC9B,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,IAAI,CAAC,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E,OAAO,EAAE,SAAS,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;YACpJ,CAAC,EAAE,MAAM,CAAC,CAAC;QACb,CAAC,CAAC,CAAC;QACH,MAAM,CAAC,cAAc,EAAE,CAAC;QACxB,YAAY,GAAG,IAAI,CAAC;QACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,MAA4B,EAAE,QAAQ,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC,CAAC;QACxG,OAAO,QAAQ,CAAC;IAClB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,MAAM,CAAC,OAAO,IAAI,CAAC,YAAY;YAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;QACrF,MAAM,KAAK,CAAC;IACd,CAAC;YAAS,CAAC;QACT,YAAY,CAAC,KAAM,CAAC,CAAC;QACrB,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QAC3C,QAAQ,CAAC,KAAK,EAAE,CAAC;IACnB,CAAC;AACH,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { UserSkillCompatibility } from '../protocol/messages/messages.gen.js';
|
|
2
|
-
/** Decode the host-only snapshot without inheriting state from an earlier SDK run. */
|
|
3
|
-
export declare function mapUserSkillCompatibility(request: Record<string, unknown>): UserSkillCompatibility;
|
|
4
|
-
//# sourceMappingURL=user-skill-compatibility.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-skill-compatibility.d.ts","sourceRoot":"","sources":["../../../src/session/user-skill-compatibility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAEnF,sFAAsF;AACtF,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,sBAAsB,CAmBlG"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** Decode the host-only snapshot without inheriting state from an earlier SDK run. */
|
|
2
|
-
export function mapUserSkillCompatibility(request) {
|
|
3
|
-
const raw = request.user_skill_compatibility;
|
|
4
|
-
if (!record(raw) || request.engine !== 'clarifier' || typeof raw.ok !== 'boolean'
|
|
5
|
-
|| raw.user_id !== request.user_id || raw.app_id !== request.app_id
|
|
6
|
-
|| typeof raw.user_id !== 'string' || !raw.user_id || typeof raw.app_id !== 'string' || !raw.app_id
|
|
7
|
-
|| !Array.isArray(raw.skills)) {
|
|
8
|
-
throw new TypeError('invalid Web user skill compatibility snapshot');
|
|
9
|
-
}
|
|
10
|
-
const seen = new Set();
|
|
11
|
-
const skills = raw.skills.map(value => {
|
|
12
|
-
if (!record(value) || !Number.isSafeInteger(value.skill_id) || Number(value.skill_id) < 1 || Number(value.skill_id) > 0xffffffff
|
|
13
|
-
|| seen.has(Number(value.skill_id)) || !Array.isArray(value.compatible_engines) || value.compatible_engines.length > 16
|
|
14
|
-
|| value.compatible_engines.some(engine => typeof engine !== 'string' || !/^[a-z][a-z0-9_]{0,63}$/.test(engine))) {
|
|
15
|
-
throw new TypeError('invalid Web user skill compatibility entry');
|
|
16
|
-
}
|
|
17
|
-
seen.add(Number(value.skill_id));
|
|
18
|
-
return { skill_id: Number(value.skill_id), compatible_engines: [...value.compatible_engines] };
|
|
19
|
-
});
|
|
20
|
-
return { ok: raw.ok, user_id: raw.user_id, app_id: raw.app_id, skills };
|
|
21
|
-
}
|
|
22
|
-
function record(value) {
|
|
23
|
-
return value !== null && typeof value === 'object' && !Array.isArray(value);
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=user-skill-compatibility.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-skill-compatibility.js","sourceRoot":"","sources":["../../../src/session/user-skill-compatibility.ts"],"names":[],"mappings":"AAEA,sFAAsF;AACtF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C,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;YACnH,MAAM,IAAI,SAAS,CAAC,4CAA4C,CAAC,CAAC;QACpE,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;QACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,kBAAkB,EAAE,CAAC,GAAG,KAAK,CAAC,kBAAkB,CAAa,EAAE,CAAC;IAC7G,CAAC,CAAC,CAAC;IACH,OAAO,EAAE,EAAE,EAAE,GAAG,CAAC,EAAE,EAAE,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;AAC1E,CAAC;AAED,SAAS,MAAM,CAAC,KAAc;IAC5B,OAAO,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9E,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { ToolCallContext, ToolRequest, ToolResult } from '../shared/types.js';
|
|
2
|
-
export interface UserSkillIdentity {
|
|
3
|
-
skill_id: number;
|
|
4
|
-
pinned_version_id: number;
|
|
5
|
-
name: string;
|
|
6
|
-
installed_name: string;
|
|
7
|
-
}
|
|
8
|
-
export interface UserSkillLoadedEvent {
|
|
9
|
-
name: 'user_skill_loaded';
|
|
10
|
-
item: {
|
|
11
|
-
skill_id: number;
|
|
12
|
-
pinned_version_id: number;
|
|
13
|
-
name: string;
|
|
14
|
-
call_id: string;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
/** Tracks only successful complete reads of exact SKILL.md paths in the disposable installed context. */
|
|
18
|
-
export declare class UserSkillLoadTracker {
|
|
19
|
-
private readonly skills;
|
|
20
|
-
private readonly calls;
|
|
21
|
-
private readonly ready;
|
|
22
|
-
private readonly emitted;
|
|
23
|
-
private contextDir?;
|
|
24
|
-
constructor(skills: readonly UserSkillIdentity[], contextDir?: string);
|
|
25
|
-
setContextDir(contextDir: string): void;
|
|
26
|
-
onToolCall(request: ToolRequest, ctx?: ToolCallContext): void;
|
|
27
|
-
onToolResult(result: ToolResult, ctx?: ToolCallContext): void;
|
|
28
|
-
/** Return a locally proven event once, after the public tool.result diagnostic has been emitted. */
|
|
29
|
-
take(callId: unknown): UserSkillLoadedEvent | undefined;
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=user-skill-loaded.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-skill-loaded.d.ts","sourceRoot":"","sources":["../../../src/session/user-skill-loaded.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEnF,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,iBAAiB,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CACtF;AAkDD,yGAAyG;AACzG,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IACtD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAkC;IACxD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA2C;IACjE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAqB;IAE7C,OAAO,CAAC,UAAU,CAAC,CAAS;gBAEhB,MAAM,EAAE,SAAS,iBAAiB,EA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