@craft_eco/craft-mcp 0.1.26 → 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.
Files changed (1146) hide show
  1. package/README.md +15 -15
  2. package/bin/craft-mcp.mjs +1 -1
  3. package/dist-server/game-workflow/bundle-files.mjs +48 -43
  4. package/dist-server/game-workflow/check.mjs +3 -4
  5. package/dist-server/game-workflow/engines.mjs +16 -7
  6. package/dist-server/game-workflow/project-bundles.mjs +129 -90
  7. package/dist-server/game-workflow/project-context.mjs +97 -91
  8. package/dist-server/game-workflow/projects.mjs +13 -8
  9. package/dist-server/integrations/config.mjs +71 -71
  10. package/dist-server/integrations/files.mjs +54 -54
  11. package/dist-server/integrations/hosts.mjs +35 -30
  12. package/dist-server/integrations/install.mjs +86 -86
  13. package/dist-server/integrations/runtime.mjs +72 -71
  14. package/dist-server/mcp/server.mjs +6 -5
  15. package/dist-server/mcp/start.mjs +3 -1
  16. package/package.json +8 -10
  17. package/resources/craft-create/SKILL.md +3 -6
  18. package/resources/targets/codebuddy/js/bootstrap/SKILL.md +14 -0
  19. package/resources/targets/codebuddy/js/craft-game-maker/SKILL.md +77 -0
  20. package/resources/targets/codebuddy/js/craft-game-maker/js.md +10 -0
  21. package/resources/targets/codebuddy/js/js/bundle.json +99 -0
  22. package/resources/targets/codebuddy/js/js/context/AGENTS.md +25 -0
  23. package/resources/targets/codebuddy/js/js/context/hooks/hooks.json +14 -0
  24. package/resources/targets/codebuddy/js/js/context/knowledge/AigcWiring.md +9 -0
  25. package/resources/targets/codebuddy/js/js/context/knowledge/AssetUrl.md +9 -0
  26. package/resources/targets/codebuddy/js/js/context/knowledge/Layout.md +7 -0
  27. package/resources/targets/codebuddy/js/js/context/knowledge/Lifecycle.md +11 -0
  28. package/resources/targets/codebuddy/js/js/context/skills/aigc-generate/SKILL.md +14 -0
  29. package/resources/targets/codebuddy/js/js/context/skills/asset-search/SKILL.md +12 -0
  30. package/resources/targets/codebuddy/js/js/context/skills/asset-search/references/resource-config.md +9 -0
  31. package/resources/targets/codebuddy/js/js/context/skills/export-config/SKILL.md +16 -0
  32. package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  33. package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  34. package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  35. package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  36. package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  37. package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  38. package/resources/targets/codebuddy/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  39. package/resources/targets/codebuddy/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  40. package/resources/targets/codebuddy/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  41. package/resources/targets/codebuddy/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  42. package/resources/targets/codebuddy/js/js/context/skills/index.json +31 -0
  43. package/resources/targets/codebuddy/js/js/context/skills/visual-qa/SKILL.md +14 -0
  44. package/resources/targets/codebuddy/js/js/project/README.md +7 -0
  45. package/resources/targets/codebuddy/js/js/project/configs/assets.json +1 -0
  46. package/resources/targets/codebuddy/js/js/project/configs/game.controls.json +3 -0
  47. package/resources/targets/codebuddy/js/js/project/configs/game.json +3 -0
  48. package/resources/targets/codebuddy/js/js/project/game-runtime.json +7 -0
  49. package/resources/targets/codebuddy/js/js/project/game.config.json +7 -0
  50. package/resources/targets/codebuddy/js/js/project/index.html +20 -0
  51. package/resources/targets/codebuddy/js/js/project/package.json +22 -0
  52. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  53. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  54. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  55. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  56. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  57. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  58. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  59. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  60. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  61. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  62. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  63. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  64. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  65. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  66. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  67. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  68. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  69. package/resources/targets/codebuddy/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  70. package/resources/targets/codebuddy/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  71. package/resources/targets/codebuddy/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  72. package/resources/targets/codebuddy/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  73. package/resources/targets/codebuddy/js/js/project/scripts/config-export.mjs +13 -0
  74. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  75. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  76. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  77. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  78. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  79. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  80. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  81. package/resources/targets/codebuddy/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  82. package/resources/targets/codebuddy/js/js/project/scripts/write-preview-ready.mjs +22 -0
  83. package/resources/targets/codebuddy/js/js/project/src/display/ui-stage.ts +156 -0
  84. package/resources/targets/codebuddy/js/js/project/src/display/viewport.ts +249 -0
  85. package/resources/targets/codebuddy/js/js/project/src/main.ts +87 -0
  86. package/resources/targets/codebuddy/js/js/project/src/platform.ts +2 -0
  87. package/resources/targets/codebuddy/js/js/project/src/scenes/LoadScene.ts +89 -0
  88. package/resources/targets/codebuddy/js/js/project/src/scenes/PlayScene.ts +17 -0
  89. package/resources/targets/codebuddy/js/js/project/src/screenUi.ts +185 -0
  90. package/resources/targets/codebuddy/js/js/project/src/style.css +294 -0
  91. package/resources/targets/codebuddy/js/js/project/tsconfig.json +20 -0
  92. package/resources/targets/codebuddy/js/js/project/unified_data_control_config.json +20 -0
  93. package/resources/targets/codebuddy/js/js/project/vite.config.ts +5 -0
  94. package/resources/targets/codebuddy/js/recovery.md +7 -0
  95. package/resources/targets/codebuddy/js/target.json +61 -0
  96. package/resources/targets/codebuddy/js3d/bootstrap/SKILL.md +14 -0
  97. package/resources/targets/codebuddy/js3d/craft-game-maker/SKILL.md +77 -0
  98. package/resources/targets/codebuddy/js3d/craft-game-maker/js3d.md +13 -0
  99. package/resources/targets/codebuddy/js3d/js3d/bundle.json +110 -0
  100. package/resources/targets/codebuddy/js3d/js3d/context/AGENTS.md +26 -0
  101. package/resources/targets/codebuddy/js3d/js3d/context/hooks/hooks.json +14 -0
  102. package/resources/targets/codebuddy/js3d/js3d/context/knowledge/AigcWiring.md +9 -0
  103. package/resources/targets/codebuddy/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  104. package/resources/targets/codebuddy/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  105. package/resources/targets/codebuddy/js3d/js3d/context/knowledge/Layout.md +7 -0
  106. package/resources/targets/codebuddy/js3d/js3d/context/knowledge/Runtime.md +9 -0
  107. package/resources/targets/codebuddy/js3d/js3d/context/skills/aigc-integration/SKILL.md +14 -0
  108. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-search/SKILL.md +12 -0
  109. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-search/references/resource-config.md +11 -0
  110. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  111. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  112. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  113. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  114. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  115. package/resources/targets/codebuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  116. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  117. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  118. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  119. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  120. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  121. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  122. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  123. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  124. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  125. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  126. package/resources/targets/codebuddy/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  127. package/resources/targets/codebuddy/js3d/js3d/context/skills/index.json +43 -0
  128. package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  129. package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  130. package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  131. package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  132. package/resources/targets/codebuddy/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  133. package/resources/targets/codebuddy/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  134. package/resources/targets/codebuddy/js3d/js3d/project/README.md +7 -0
  135. package/resources/targets/codebuddy/js3d/js3d/project/configs/game.controls.json +3 -0
  136. package/resources/targets/codebuddy/js3d/js3d/project/configs/game.json +3 -0
  137. package/resources/targets/codebuddy/js3d/js3d/project/game-runtime.json +7 -0
  138. package/resources/targets/codebuddy/js3d/js3d/project/game.config.json +7 -0
  139. package/resources/targets/codebuddy/js3d/js3d/project/index.html +12 -0
  140. package/resources/targets/codebuddy/js3d/js3d/project/package.json +23 -0
  141. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  142. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  143. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  144. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  145. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  146. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  147. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  148. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  149. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  150. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  151. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  152. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  153. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  154. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  155. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  156. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  157. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  158. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  159. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  160. package/resources/targets/codebuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  161. package/resources/targets/codebuddy/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  162. package/resources/targets/codebuddy/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  163. package/resources/targets/codebuddy/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  164. package/resources/targets/codebuddy/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  165. package/resources/targets/codebuddy/js3d/js3d/project/scripts/config-export.mjs +15 -0
  166. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  167. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  168. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  169. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  170. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  171. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  172. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  173. package/resources/targets/codebuddy/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  174. package/resources/targets/codebuddy/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  175. package/resources/targets/codebuddy/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  176. package/resources/targets/codebuddy/js3d/js3d/project/src/display/viewport.ts +239 -0
  177. package/resources/targets/codebuddy/js3d/js3d/project/src/main.ts +85 -0
  178. package/resources/targets/codebuddy/js3d/js3d/project/src/platform.ts +2 -0
  179. package/resources/targets/codebuddy/js3d/js3d/project/src/style.css +83 -0
  180. package/resources/targets/codebuddy/js3d/js3d/project/tsconfig.json +20 -0
  181. package/resources/targets/codebuddy/js3d/js3d/project/unified_data_control_config.json +20 -0
  182. package/resources/targets/codebuddy/js3d/js3d/project/vite.config.ts +5 -0
  183. package/resources/targets/codebuddy/js3d/recovery.md +7 -0
  184. package/resources/targets/codebuddy/js3d/target.json +60 -0
  185. package/resources/targets/codex/js/bootstrap/SKILL.md +14 -0
  186. package/resources/targets/codex/js/craft-game-maker/SKILL.md +77 -0
  187. package/resources/targets/codex/js/craft-game-maker/js.md +10 -0
  188. package/resources/targets/codex/js/js/bundle.json +99 -0
  189. package/resources/targets/codex/js/js/context/AGENTS.md +25 -0
  190. package/resources/targets/codex/js/js/context/hooks/hooks.json +14 -0
  191. package/resources/targets/codex/js/js/context/knowledge/AigcWiring.md +9 -0
  192. package/resources/targets/codex/js/js/context/knowledge/AssetUrl.md +9 -0
  193. package/resources/targets/codex/js/js/context/knowledge/Layout.md +7 -0
  194. package/resources/targets/codex/js/js/context/knowledge/Lifecycle.md +11 -0
  195. package/resources/targets/codex/js/js/context/skills/aigc-generate/SKILL.md +14 -0
  196. package/resources/targets/codex/js/js/context/skills/asset-search/SKILL.md +12 -0
  197. package/resources/targets/codex/js/js/context/skills/asset-search/references/resource-config.md +9 -0
  198. package/resources/targets/codex/js/js/context/skills/export-config/SKILL.md +16 -0
  199. package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  200. package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  201. package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  202. package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  203. package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  204. package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  205. package/resources/targets/codex/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  206. package/resources/targets/codex/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  207. package/resources/targets/codex/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  208. package/resources/targets/codex/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  209. package/resources/targets/codex/js/js/context/skills/index.json +31 -0
  210. package/resources/targets/codex/js/js/context/skills/visual-qa/SKILL.md +14 -0
  211. package/resources/targets/codex/js/js/project/README.md +7 -0
  212. package/resources/targets/codex/js/js/project/configs/assets.json +1 -0
  213. package/resources/targets/codex/js/js/project/configs/game.controls.json +3 -0
  214. package/resources/targets/codex/js/js/project/configs/game.json +3 -0
  215. package/resources/targets/codex/js/js/project/game-runtime.json +7 -0
  216. package/resources/targets/codex/js/js/project/game.config.json +7 -0
  217. package/resources/targets/codex/js/js/project/index.html +20 -0
  218. package/resources/targets/codex/js/js/project/package.json +22 -0
  219. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  220. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  221. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  222. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  223. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  224. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  225. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  226. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  227. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  228. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  229. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  230. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  231. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  232. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  233. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  234. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  235. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  236. package/resources/targets/codex/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  237. package/resources/targets/codex/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  238. package/resources/targets/codex/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  239. package/resources/targets/codex/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  240. package/resources/targets/codex/js/js/project/scripts/config-export.mjs +13 -0
  241. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  242. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  243. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  244. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  245. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  246. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  247. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  248. package/resources/targets/codex/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  249. package/resources/targets/codex/js/js/project/scripts/write-preview-ready.mjs +22 -0
  250. package/resources/targets/codex/js/js/project/src/display/ui-stage.ts +156 -0
  251. package/resources/targets/codex/js/js/project/src/display/viewport.ts +249 -0
  252. package/resources/targets/codex/js/js/project/src/main.ts +87 -0
  253. package/resources/targets/codex/js/js/project/src/platform.ts +2 -0
  254. package/resources/targets/codex/js/js/project/src/scenes/LoadScene.ts +89 -0
  255. package/resources/targets/codex/js/js/project/src/scenes/PlayScene.ts +17 -0
  256. package/resources/targets/codex/js/js/project/src/screenUi.ts +185 -0
  257. package/resources/targets/codex/js/js/project/src/style.css +294 -0
  258. package/resources/targets/codex/js/js/project/tsconfig.json +20 -0
  259. package/resources/targets/codex/js/js/project/unified_data_control_config.json +20 -0
  260. package/resources/targets/codex/js/js/project/vite.config.ts +5 -0
  261. package/resources/targets/codex/js/recovery.md +7 -0
  262. package/resources/targets/codex/js/target.json +61 -0
  263. package/resources/targets/codex/js3d/bootstrap/SKILL.md +14 -0
  264. package/resources/targets/codex/js3d/craft-game-maker/SKILL.md +77 -0
  265. package/resources/targets/codex/js3d/craft-game-maker/js3d.md +13 -0
  266. package/resources/targets/codex/js3d/js3d/bundle.json +110 -0
  267. package/resources/targets/codex/js3d/js3d/context/AGENTS.md +26 -0
  268. package/resources/targets/codex/js3d/js3d/context/hooks/hooks.json +14 -0
  269. package/resources/targets/codex/js3d/js3d/context/knowledge/AigcWiring.md +9 -0
  270. package/resources/targets/codex/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  271. package/resources/targets/codex/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  272. package/resources/targets/codex/js3d/js3d/context/knowledge/Layout.md +7 -0
  273. package/resources/targets/codex/js3d/js3d/context/knowledge/Runtime.md +9 -0
  274. package/resources/targets/codex/js3d/js3d/context/skills/aigc-integration/SKILL.md +14 -0
  275. package/resources/targets/codex/js3d/js3d/context/skills/asset-search/SKILL.md +12 -0
  276. package/resources/targets/codex/js3d/js3d/context/skills/asset-search/references/resource-config.md +11 -0
  277. package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  278. package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  279. package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  280. package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  281. package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  282. package/resources/targets/codex/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  283. package/resources/targets/codex/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  284. package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  285. package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  286. package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  287. package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  288. package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  289. package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  290. package/resources/targets/codex/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  291. package/resources/targets/codex/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  292. package/resources/targets/codex/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  293. package/resources/targets/codex/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  294. package/resources/targets/codex/js3d/js3d/context/skills/index.json +43 -0
  295. package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  296. package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  297. package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  298. package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  299. package/resources/targets/codex/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  300. package/resources/targets/codex/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  301. package/resources/targets/codex/js3d/js3d/project/README.md +7 -0
  302. package/resources/targets/codex/js3d/js3d/project/configs/game.controls.json +3 -0
  303. package/resources/targets/codex/js3d/js3d/project/configs/game.json +3 -0
  304. package/resources/targets/codex/js3d/js3d/project/game-runtime.json +7 -0
  305. package/resources/targets/codex/js3d/js3d/project/game.config.json +7 -0
  306. package/resources/targets/codex/js3d/js3d/project/index.html +12 -0
  307. package/resources/targets/codex/js3d/js3d/project/package.json +23 -0
  308. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  309. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  310. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  311. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  312. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  313. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  314. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  315. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  316. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  317. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  318. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  319. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  320. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  321. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  322. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  323. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  324. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  325. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  326. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  327. package/resources/targets/codex/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  328. package/resources/targets/codex/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  329. package/resources/targets/codex/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  330. package/resources/targets/codex/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  331. package/resources/targets/codex/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  332. package/resources/targets/codex/js3d/js3d/project/scripts/config-export.mjs +15 -0
  333. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  334. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  335. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  336. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  337. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  338. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  339. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  340. package/resources/targets/codex/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  341. package/resources/targets/codex/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  342. package/resources/targets/codex/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  343. package/resources/targets/codex/js3d/js3d/project/src/display/viewport.ts +239 -0
  344. package/resources/targets/codex/js3d/js3d/project/src/main.ts +85 -0
  345. package/resources/targets/codex/js3d/js3d/project/src/platform.ts +2 -0
  346. package/resources/targets/codex/js3d/js3d/project/src/style.css +83 -0
  347. package/resources/targets/codex/js3d/js3d/project/tsconfig.json +20 -0
  348. package/resources/targets/codex/js3d/js3d/project/unified_data_control_config.json +20 -0
  349. package/resources/targets/codex/js3d/js3d/project/vite.config.ts +5 -0
  350. package/resources/targets/codex/js3d/recovery.md +7 -0
  351. package/resources/targets/codex/js3d/target.json +60 -0
  352. package/resources/targets/index.json +41 -0
  353. package/resources/targets/workbuddy/js/bootstrap/SKILL.md +14 -0
  354. package/resources/targets/workbuddy/js/craft-game-maker/SKILL.md +77 -0
  355. package/resources/targets/workbuddy/js/craft-game-maker/js.md +10 -0
  356. package/resources/targets/workbuddy/js/js/bundle.json +99 -0
  357. package/resources/targets/workbuddy/js/js/context/AGENTS.md +25 -0
  358. package/resources/targets/workbuddy/js/js/context/hooks/hooks.json +14 -0
  359. package/resources/targets/workbuddy/js/js/context/knowledge/AigcWiring.md +9 -0
  360. package/resources/targets/workbuddy/js/js/context/knowledge/AssetUrl.md +9 -0
  361. package/resources/targets/workbuddy/js/js/context/knowledge/Layout.md +7 -0
  362. package/resources/targets/workbuddy/js/js/context/knowledge/Lifecycle.md +11 -0
  363. package/resources/targets/workbuddy/js/js/context/skills/aigc-generate/SKILL.md +14 -0
  364. package/resources/targets/workbuddy/js/js/context/skills/asset-search/SKILL.md +12 -0
  365. package/resources/targets/workbuddy/js/js/context/skills/asset-search/references/resource-config.md +9 -0
  366. package/resources/targets/workbuddy/js/js/context/skills/export-config/SKILL.md +16 -0
  367. package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  368. package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  369. package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/config.mjs +1 -0
  370. package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  371. package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/project.mjs +77 -0
  372. package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  373. package/resources/targets/workbuddy/js/js/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  374. package/resources/targets/workbuddy/js/js/context/skills/export-config/scripts/export-config.mjs +4 -0
  375. package/resources/targets/workbuddy/js/js/context/skills/export-config/scripts/install.mjs +89 -0
  376. package/resources/targets/workbuddy/js/js/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  377. package/resources/targets/workbuddy/js/js/context/skills/index.json +31 -0
  378. package/resources/targets/workbuddy/js/js/context/skills/visual-qa/SKILL.md +14 -0
  379. package/resources/targets/workbuddy/js/js/project/README.md +7 -0
  380. package/resources/targets/workbuddy/js/js/project/configs/assets.json +1 -0
  381. package/resources/targets/workbuddy/js/js/project/configs/game.controls.json +3 -0
  382. package/resources/targets/workbuddy/js/js/project/configs/game.json +3 -0
  383. package/resources/targets/workbuddy/js/js/project/game-runtime.json +7 -0
  384. package/resources/targets/workbuddy/js/js/project/game.config.json +7 -0
  385. package/resources/targets/workbuddy/js/js/project/index.html +20 -0
  386. package/resources/targets/workbuddy/js/js/project/package.json +22 -0
  387. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  388. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  389. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  390. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  391. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  392. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  393. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  394. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/platform/platform.mjs +29 -0
  395. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/release.json +22 -0
  396. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  397. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  398. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  399. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  400. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  401. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  402. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  403. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  404. package/resources/targets/workbuddy/js/js/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  405. package/resources/targets/workbuddy/js/js/project/scripts/config-export/assert-asset-wiring.mjs +72 -0
  406. package/resources/targets/workbuddy/js/js/project/scripts/config-export/panel-resource-path.mjs +106 -0
  407. package/resources/targets/workbuddy/js/js/project/scripts/config-export/sync-asset-controls.mjs +316 -0
  408. package/resources/targets/workbuddy/js/js/project/scripts/config-export.mjs +13 -0
  409. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  410. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  411. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/config.mjs +1 -0
  412. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/installed.json +6 -0
  413. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  414. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/project.mjs +77 -0
  415. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  416. package/resources/targets/workbuddy/js/js/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  417. package/resources/targets/workbuddy/js/js/project/scripts/write-preview-ready.mjs +22 -0
  418. package/resources/targets/workbuddy/js/js/project/src/display/ui-stage.ts +156 -0
  419. package/resources/targets/workbuddy/js/js/project/src/display/viewport.ts +249 -0
  420. package/resources/targets/workbuddy/js/js/project/src/main.ts +87 -0
  421. package/resources/targets/workbuddy/js/js/project/src/platform.ts +2 -0
  422. package/resources/targets/workbuddy/js/js/project/src/scenes/LoadScene.ts +89 -0
  423. package/resources/targets/workbuddy/js/js/project/src/scenes/PlayScene.ts +17 -0
  424. package/resources/targets/workbuddy/js/js/project/src/screenUi.ts +185 -0
  425. package/resources/targets/workbuddy/js/js/project/src/style.css +294 -0
  426. package/resources/targets/workbuddy/js/js/project/tsconfig.json +20 -0
  427. package/resources/targets/workbuddy/js/js/project/unified_data_control_config.json +20 -0
  428. package/resources/targets/workbuddy/js/js/project/vite.config.ts +5 -0
  429. package/resources/targets/workbuddy/js/recovery.md +7 -0
  430. package/resources/targets/workbuddy/js/target.json +61 -0
  431. package/resources/targets/workbuddy/js3d/bootstrap/SKILL.md +14 -0
  432. package/resources/targets/workbuddy/js3d/craft-game-maker/SKILL.md +77 -0
  433. package/resources/targets/workbuddy/js3d/craft-game-maker/js3d.md +13 -0
  434. package/resources/targets/workbuddy/js3d/js3d/bundle.json +110 -0
  435. package/resources/targets/workbuddy/js3d/js3d/context/AGENTS.md +26 -0
  436. package/resources/targets/workbuddy/js3d/js3d/context/hooks/hooks.json +14 -0
  437. package/resources/targets/workbuddy/js3d/js3d/context/knowledge/AigcWiring.md +9 -0
  438. package/resources/targets/workbuddy/js3d/js3d/context/knowledge/AssetUrl.md +9 -0
  439. package/resources/targets/workbuddy/js3d/js3d/context/knowledge/CodingGuide/Pitfalls.md +11 -0
  440. package/resources/targets/workbuddy/js3d/js3d/context/knowledge/Layout.md +7 -0
  441. package/resources/targets/workbuddy/js3d/js3d/context/knowledge/Runtime.md +9 -0
  442. package/resources/targets/workbuddy/js3d/js3d/context/skills/aigc-integration/SKILL.md +14 -0
  443. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-search/SKILL.md +12 -0
  444. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-search/references/resource-config.md +11 -0
  445. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/SKILL.md +16 -0
  446. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/compare-animations.mjs +48 -0
  447. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/anim.mjs +266 -0
  448. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/glb.mjs +241 -0
  449. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/lib/scan.mjs +455 -0
  450. package/resources/targets/workbuddy/js3d/js3d/context/skills/asset-usage-audit/scripts/scan-assets.mjs +77 -0
  451. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/SKILL.md +16 -0
  452. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/cli.mjs +20 -0
  453. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/config.d.mts +19 -0
  454. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/config.mjs +1 -0
  455. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/project.d.mts +6 -0
  456. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/project.mjs +77 -0
  457. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/vite.d.mts +2 -0
  458. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/assets/tooling/vite.mjs +34 -0
  459. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/scripts/export-config.mjs +4 -0
  460. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/scripts/install.mjs +89 -0
  461. package/resources/targets/workbuddy/js3d/js3d/context/skills/export-config/scripts/panel-resource-path.mjs +106 -0
  462. package/resources/targets/workbuddy/js3d/js3d/context/skills/index.json +43 -0
  463. package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/SKILL.md +21 -0
  464. package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/rules.mjs +470 -0
  465. package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/scan.mjs +387 -0
  466. package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/scripts/lib/source.mjs +398 -0
  467. package/resources/targets/workbuddy/js3d/js3d/context/skills/performance-audit/scripts/scan-perf.mjs +130 -0
  468. package/resources/targets/workbuddy/js3d/js3d/context/skills/visual-qa/SKILL.md +14 -0
  469. package/resources/targets/workbuddy/js3d/js3d/project/README.md +7 -0
  470. package/resources/targets/workbuddy/js3d/js3d/project/configs/game.controls.json +3 -0
  471. package/resources/targets/workbuddy/js3d/js3d/project/configs/game.json +3 -0
  472. package/resources/targets/workbuddy/js3d/js3d/project/game-runtime.json +7 -0
  473. package/resources/targets/workbuddy/js3d/js3d/project/game.config.json +7 -0
  474. package/resources/targets/workbuddy/js3d/js3d/project/index.html +12 -0
  475. package/resources/targets/workbuddy/js3d/js3d/project/package.json +23 -0
  476. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-ai-game-sdk.min.js +5 -0
  477. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/qq-session.mjs +208 -0
  478. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/identity/shared.mjs +37 -0
  479. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-capture-video.mjs +227 -0
  480. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.d.mts +31 -0
  481. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform-service.mjs +272 -0
  482. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.d.mts +79 -0
  483. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/platform/platform.mjs +30 -0
  484. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/release.json +24 -0
  485. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/cli.mjs +16 -0
  486. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.d.mts +4 -0
  487. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/project.mjs +50 -0
  488. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.d.mts +3 -0
  489. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tooling/vite.mjs +72 -0
  490. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.d.mts +24 -0
  491. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/assets.mjs +2 -0
  492. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.d.mts +10 -0
  493. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/astc.mjs +1 -0
  494. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.d.mts +26 -0
  495. package/resources/targets/workbuddy/js3d/js3d/project/runtime/lightgame/1.1.0/tools/glb.mjs +351 -0
  496. package/resources/targets/workbuddy/js3d/js3d/project/scripts/config-export/assert-asset-wiring.mjs +97 -0
  497. package/resources/targets/workbuddy/js3d/js3d/project/scripts/config-export/panel-resource-path.mjs +106 -0
  498. package/resources/targets/workbuddy/js3d/js3d/project/scripts/config-export/sync-asset-controls.mjs +327 -0
  499. package/resources/targets/workbuddy/js3d/js3d/project/scripts/config-export/sync-scene-assets.mjs +191 -0
  500. package/resources/targets/workbuddy/js3d/js3d/project/scripts/config-export.mjs +15 -0
  501. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/cli.mjs +20 -0
  502. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/config.d.mts +19 -0
  503. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/config.mjs +1 -0
  504. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/installed.json +6 -0
  505. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/project.d.mts +6 -0
  506. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/project.mjs +77 -0
  507. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/vite.d.mts +2 -0
  508. package/resources/targets/workbuddy/js3d/js3d/project/scripts/skill-modules/export-config/vite.mjs +34 -0
  509. package/resources/targets/workbuddy/js3d/js3d/project/scripts/write-preview-ready.mjs +22 -0
  510. package/resources/targets/workbuddy/js3d/js3d/project/src/display/ui-stage.ts +156 -0
  511. package/resources/targets/workbuddy/js3d/js3d/project/src/display/viewport.ts +239 -0
  512. package/resources/targets/workbuddy/js3d/js3d/project/src/main.ts +85 -0
  513. package/resources/targets/workbuddy/js3d/js3d/project/src/platform.ts +2 -0
  514. package/resources/targets/workbuddy/js3d/js3d/project/src/style.css +83 -0
  515. package/resources/targets/workbuddy/js3d/js3d/project/tsconfig.json +20 -0
  516. package/resources/targets/workbuddy/js3d/js3d/project/unified_data_control_config.json +20 -0
  517. package/resources/targets/workbuddy/js3d/js3d/project/vite.config.ts +5 -0
  518. package/resources/targets/workbuddy/js3d/recovery.md +7 -0
  519. package/resources/targets/workbuddy/js3d/target.json +60 -0
  520. package/vendor/craft-runtime/NOTICE.md +3 -0
  521. package/vendor/craft-runtime/SOURCE.json +63 -0
  522. package/vendor/craft-runtime/index.js +1716 -0
  523. package/vendor/craft-runtime/isolated-launcher.js +94 -0
  524. package/vendor/craft-runtime/isolated-preload.js +80 -0
  525. package/vendor/craft-runtime/package.json +8 -0
  526. package/vendor/agent-cli/dist/runtime-tools/registry.json +0 -6
  527. package/vendor/agent-cli/dist/runtime-tools/tool-bundle-types.d.cts +0 -15
  528. package/vendor/agent-cli/dist/runtime-tools/tool-bundle.cjs +0 -129
  529. package/vendor/agent-cli/dist/runtime-tools/ue/blender-cook-assets.cjs +0 -296
  530. package/vendor/agent-cli/dist/runtime-tools/ue/context-adapter.cjs +0 -48
  531. package/vendor/agent-cli/dist/runtime-tools/ue/scene-process-lock.cjs +0 -110
  532. package/vendor/agent-cli/dist/runtime-tools/ue/tool-manifest.json +0 -22
  533. package/vendor/agent-cli/dist/runtime-tools/ue/ue-asset-references.cjs +0 -305
  534. package/vendor/agent-cli/dist/src/artifacts/build-failure.d.ts +0 -8
  535. package/vendor/agent-cli/dist/src/artifacts/build-failure.d.ts.map +0 -1
  536. package/vendor/agent-cli/dist/src/artifacts/build-failure.js +0 -39
  537. package/vendor/agent-cli/dist/src/artifacts/build-failure.js.map +0 -1
  538. package/vendor/agent-cli/dist/src/artifacts/context-finalize.d.ts +0 -3
  539. package/vendor/agent-cli/dist/src/artifacts/context-finalize.d.ts.map +0 -1
  540. package/vendor/agent-cli/dist/src/artifacts/context-finalize.js +0 -54
  541. package/vendor/agent-cli/dist/src/artifacts/context-finalize.js.map +0 -1
  542. package/vendor/agent-cli/dist/src/artifacts/dependency-toolchain.d.ts +0 -5
  543. package/vendor/agent-cli/dist/src/artifacts/dependency-toolchain.d.ts.map +0 -1
  544. package/vendor/agent-cli/dist/src/artifacts/dependency-toolchain.js +0 -45
  545. package/vendor/agent-cli/dist/src/artifacts/dependency-toolchain.js.map +0 -1
  546. package/vendor/agent-cli/dist/src/artifacts/external-game-archive.d.ts +0 -19
  547. package/vendor/agent-cli/dist/src/artifacts/external-game-archive.d.ts.map +0 -1
  548. package/vendor/agent-cli/dist/src/artifacts/external-game-archive.js +0 -107
  549. package/vendor/agent-cli/dist/src/artifacts/external-game-archive.js.map +0 -1
  550. package/vendor/agent-cli/dist/src/artifacts/external-game-upload.d.ts +0 -44
  551. package/vendor/agent-cli/dist/src/artifacts/external-game-upload.d.ts.map +0 -1
  552. package/vendor/agent-cli/dist/src/artifacts/external-game-upload.js +0 -106
  553. package/vendor/agent-cli/dist/src/artifacts/external-game-upload.js.map +0 -1
  554. package/vendor/agent-cli/dist/src/artifacts/native-source.d.ts +0 -3
  555. package/vendor/agent-cli/dist/src/artifacts/native-source.d.ts.map +0 -1
  556. package/vendor/agent-cli/dist/src/artifacts/native-source.js +0 -13
  557. package/vendor/agent-cli/dist/src/artifacts/native-source.js.map +0 -1
  558. package/vendor/agent-cli/dist/src/artifacts/preinstalled-dependencies.d.ts +0 -13
  559. package/vendor/agent-cli/dist/src/artifacts/preinstalled-dependencies.d.ts.map +0 -1
  560. package/vendor/agent-cli/dist/src/artifacts/preinstalled-dependencies.js +0 -365
  561. package/vendor/agent-cli/dist/src/artifacts/preinstalled-dependencies.js.map +0 -1
  562. package/vendor/agent-cli/dist/src/artifacts/prepare.d.ts +0 -63
  563. package/vendor/agent-cli/dist/src/artifacts/prepare.d.ts.map +0 -1
  564. package/vendor/agent-cli/dist/src/artifacts/prepare.js +0 -216
  565. package/vendor/agent-cli/dist/src/artifacts/prepare.js.map +0 -1
  566. package/vendor/agent-cli/dist/src/artifacts/process-artifacts.d.ts +0 -41
  567. package/vendor/agent-cli/dist/src/artifacts/process-artifacts.d.ts.map +0 -1
  568. package/vendor/agent-cli/dist/src/artifacts/process-artifacts.js +0 -184
  569. package/vendor/agent-cli/dist/src/artifacts/process-artifacts.js.map +0 -1
  570. package/vendor/agent-cli/dist/src/artifacts/restore-permissions.d.ts +0 -27
  571. package/vendor/agent-cli/dist/src/artifacts/restore-permissions.d.ts.map +0 -1
  572. package/vendor/agent-cli/dist/src/artifacts/restore-permissions.js +0 -112
  573. package/vendor/agent-cli/dist/src/artifacts/restore-permissions.js.map +0 -1
  574. package/vendor/agent-cli/dist/src/artifacts/restore.d.ts +0 -37
  575. package/vendor/agent-cli/dist/src/artifacts/restore.d.ts.map +0 -1
  576. package/vendor/agent-cli/dist/src/artifacts/restore.js +0 -465
  577. package/vendor/agent-cli/dist/src/artifacts/restore.js.map +0 -1
  578. package/vendor/agent-cli/dist/src/artifacts/scene-asset-references.d.ts +0 -14
  579. package/vendor/agent-cli/dist/src/artifacts/scene-asset-references.d.ts.map +0 -1
  580. package/vendor/agent-cli/dist/src/artifacts/scene-asset-references.js +0 -119
  581. package/vendor/agent-cli/dist/src/artifacts/scene-asset-references.js.map +0 -1
  582. package/vendor/agent-cli/dist/src/artifacts/static.d.ts +0 -19
  583. package/vendor/agent-cli/dist/src/artifacts/static.d.ts.map +0 -1
  584. package/vendor/agent-cli/dist/src/artifacts/static.js +0 -238
  585. package/vendor/agent-cli/dist/src/artifacts/static.js.map +0 -1
  586. package/vendor/agent-cli/dist/src/cli/commands/process.d.ts +0 -4
  587. package/vendor/agent-cli/dist/src/cli/commands/process.d.ts.map +0 -1
  588. package/vendor/agent-cli/dist/src/cli/commands/process.js +0 -24
  589. package/vendor/agent-cli/dist/src/cli/commands/process.js.map +0 -1
  590. package/vendor/agent-cli/dist/src/cli/commands/run-controls.d.ts +0 -23
  591. package/vendor/agent-cli/dist/src/cli/commands/run-controls.d.ts.map +0 -1
  592. package/vendor/agent-cli/dist/src/cli/commands/run-controls.js +0 -62
  593. package/vendor/agent-cli/dist/src/cli/commands/run-controls.js.map +0 -1
  594. package/vendor/agent-cli/dist/src/cli/commands/run-mock.d.ts +0 -9
  595. package/vendor/agent-cli/dist/src/cli/commands/run-mock.d.ts.map +0 -1
  596. package/vendor/agent-cli/dist/src/cli/commands/run-mock.js +0 -15
  597. package/vendor/agent-cli/dist/src/cli/commands/run-mock.js.map +0 -1
  598. package/vendor/agent-cli/dist/src/cli/commands/run.d.ts +0 -3
  599. package/vendor/agent-cli/dist/src/cli/commands/run.d.ts.map +0 -1
  600. package/vendor/agent-cli/dist/src/cli/commands/run.js +0 -284
  601. package/vendor/agent-cli/dist/src/cli/commands/run.js.map +0 -1
  602. package/vendor/agent-cli/dist/src/cli/commands/setup.d.ts +0 -11
  603. package/vendor/agent-cli/dist/src/cli/commands/setup.d.ts.map +0 -1
  604. package/vendor/agent-cli/dist/src/cli/commands/setup.js +0 -161
  605. package/vendor/agent-cli/dist/src/cli/commands/setup.js.map +0 -1
  606. package/vendor/agent-cli/dist/src/cli/options.d.ts +0 -83
  607. package/vendor/agent-cli/dist/src/cli/options.d.ts.map +0 -1
  608. package/vendor/agent-cli/dist/src/cli/options.js +0 -213
  609. package/vendor/agent-cli/dist/src/cli/options.js.map +0 -1
  610. package/vendor/agent-cli/dist/src/cli/process-protocol.d.ts +0 -5
  611. package/vendor/agent-cli/dist/src/cli/process-protocol.d.ts.map +0 -1
  612. package/vendor/agent-cli/dist/src/cli/process-protocol.js +0 -301
  613. package/vendor/agent-cli/dist/src/cli/process-protocol.js.map +0 -1
  614. package/vendor/agent-cli/dist/src/cli/process-steering.d.ts +0 -21
  615. package/vendor/agent-cli/dist/src/cli/process-steering.d.ts.map +0 -1
  616. package/vendor/agent-cli/dist/src/cli/process-steering.js +0 -66
  617. package/vendor/agent-cli/dist/src/cli/process-steering.js.map +0 -1
  618. package/vendor/agent-cli/dist/src/cli/registry.d.ts +0 -55
  619. package/vendor/agent-cli/dist/src/cli/registry.d.ts.map +0 -1
  620. package/vendor/agent-cli/dist/src/cli/registry.js +0 -99
  621. package/vendor/agent-cli/dist/src/cli/registry.js.map +0 -1
  622. package/vendor/agent-cli/dist/src/cli/render/jsonl-sink.d.ts +0 -44
  623. package/vendor/agent-cli/dist/src/cli/render/jsonl-sink.d.ts.map +0 -1
  624. package/vendor/agent-cli/dist/src/cli/render/jsonl-sink.js +0 -83
  625. package/vendor/agent-cli/dist/src/cli/render/jsonl-sink.js.map +0 -1
  626. package/vendor/agent-cli/dist/src/cli/render/text-sink.d.ts +0 -28
  627. package/vendor/agent-cli/dist/src/cli/render/text-sink.d.ts.map +0 -1
  628. package/vendor/agent-cli/dist/src/cli/render/text-sink.js +0 -52
  629. package/vendor/agent-cli/dist/src/cli/render/text-sink.js.map +0 -1
  630. package/vendor/agent-cli/dist/src/cli.d.ts +0 -9
  631. package/vendor/agent-cli/dist/src/cli.d.ts.map +0 -1
  632. package/vendor/agent-cli/dist/src/cli.js +0 -54
  633. package/vendor/agent-cli/dist/src/cli.js.map +0 -1
  634. package/vendor/agent-cli/dist/src/component/browser-queue.d.ts +0 -55
  635. package/vendor/agent-cli/dist/src/component/browser-queue.d.ts.map +0 -1
  636. package/vendor/agent-cli/dist/src/component/browser-queue.js +0 -63
  637. package/vendor/agent-cli/dist/src/component/browser-queue.js.map +0 -1
  638. package/vendor/agent-cli/dist/src/component/execution.d.ts +0 -28
  639. package/vendor/agent-cli/dist/src/component/execution.d.ts.map +0 -1
  640. package/vendor/agent-cli/dist/src/component/execution.js +0 -143
  641. package/vendor/agent-cli/dist/src/component/execution.js.map +0 -1
  642. package/vendor/agent-cli/dist/src/component/isolated-launcher.d.ts +0 -2
  643. package/vendor/agent-cli/dist/src/component/isolated-launcher.d.ts.map +0 -1
  644. package/vendor/agent-cli/dist/src/component/isolated-launcher.js +0 -76
  645. package/vendor/agent-cli/dist/src/component/isolated-launcher.js.map +0 -1
  646. package/vendor/agent-cli/dist/src/component/isolated-preload.d.ts +0 -2
  647. package/vendor/agent-cli/dist/src/component/isolated-preload.d.ts.map +0 -1
  648. package/vendor/agent-cli/dist/src/component/isolated-preload.js +0 -27
  649. package/vendor/agent-cli/dist/src/component/isolated-preload.js.map +0 -1
  650. package/vendor/agent-cli/dist/src/component/platform-access/server.d.ts +0 -19
  651. package/vendor/agent-cli/dist/src/component/platform-access/server.d.ts.map +0 -1
  652. package/vendor/agent-cli/dist/src/component/platform-access/server.js +0 -206
  653. package/vendor/agent-cli/dist/src/component/platform-access/server.js.map +0 -1
  654. package/vendor/agent-cli/dist/src/component/preparation-diagnostics.d.ts +0 -31
  655. package/vendor/agent-cli/dist/src/component/preparation-diagnostics.d.ts.map +0 -1
  656. package/vendor/agent-cli/dist/src/component/preparation-diagnostics.js +0 -62
  657. package/vendor/agent-cli/dist/src/component/preparation-diagnostics.js.map +0 -1
  658. package/vendor/agent-cli/dist/src/component/preparation.d.ts +0 -10
  659. package/vendor/agent-cli/dist/src/component/preparation.d.ts.map +0 -1
  660. package/vendor/agent-cli/dist/src/component/preparation.js +0 -35
  661. package/vendor/agent-cli/dist/src/component/preparation.js.map +0 -1
  662. package/vendor/agent-cli/dist/src/component/process-diagnostics.d.ts +0 -25
  663. package/vendor/agent-cli/dist/src/component/process-diagnostics.d.ts.map +0 -1
  664. package/vendor/agent-cli/dist/src/component/process-diagnostics.js +0 -137
  665. package/vendor/agent-cli/dist/src/component/process-diagnostics.js.map +0 -1
  666. package/vendor/agent-cli/dist/src/component/process-isolation.d.ts +0 -10
  667. package/vendor/agent-cli/dist/src/component/process-isolation.d.ts.map +0 -1
  668. package/vendor/agent-cli/dist/src/component/process-isolation.js +0 -59
  669. package/vendor/agent-cli/dist/src/component/process-isolation.js.map +0 -1
  670. package/vendor/agent-cli/dist/src/component/proxied-fetch.d.ts +0 -2
  671. package/vendor/agent-cli/dist/src/component/proxied-fetch.d.ts.map +0 -1
  672. package/vendor/agent-cli/dist/src/component/proxied-fetch.js +0 -46
  673. package/vendor/agent-cli/dist/src/component/proxied-fetch.js.map +0 -1
  674. package/vendor/agent-cli/dist/src/component/public-egress.d.ts +0 -17
  675. package/vendor/agent-cli/dist/src/component/public-egress.d.ts.map +0 -1
  676. package/vendor/agent-cli/dist/src/component/public-egress.js +0 -246
  677. package/vendor/agent-cli/dist/src/component/public-egress.js.map +0 -1
  678. package/vendor/agent-cli/dist/src/component/runtime-tools.d.ts +0 -15
  679. package/vendor/agent-cli/dist/src/component/runtime-tools.d.ts.map +0 -1
  680. package/vendor/agent-cli/dist/src/component/runtime-tools.js +0 -37
  681. package/vendor/agent-cli/dist/src/component/runtime-tools.js.map +0 -1
  682. package/vendor/agent-cli/dist/src/component/runtime.d.ts +0 -8
  683. package/vendor/agent-cli/dist/src/component/runtime.d.ts.map +0 -1
  684. package/vendor/agent-cli/dist/src/component/runtime.js +0 -95
  685. package/vendor/agent-cli/dist/src/component/runtime.js.map +0 -1
  686. package/vendor/agent-cli/dist/src/config/config-store.d.ts +0 -50
  687. package/vendor/agent-cli/dist/src/config/config-store.d.ts.map +0 -1
  688. package/vendor/agent-cli/dist/src/config/config-store.js +0 -117
  689. package/vendor/agent-cli/dist/src/config/config-store.js.map +0 -1
  690. package/vendor/agent-cli/dist/src/context/cache-lease.d.ts +0 -17
  691. package/vendor/agent-cli/dist/src/context/cache-lease.d.ts.map +0 -1
  692. package/vendor/agent-cli/dist/src/context/cache-lease.js +0 -133
  693. package/vendor/agent-cli/dist/src/context/cache-lease.js.map +0 -1
  694. package/vendor/agent-cli/dist/src/context/cache-prune-diagnostics.d.ts +0 -9
  695. package/vendor/agent-cli/dist/src/context/cache-prune-diagnostics.d.ts.map +0 -1
  696. package/vendor/agent-cli/dist/src/context/cache-prune-diagnostics.js +0 -51
  697. package/vendor/agent-cli/dist/src/context/cache-prune-diagnostics.js.map +0 -1
  698. package/vendor/agent-cli/dist/src/context/cache-publication-lock.d.ts +0 -3
  699. package/vendor/agent-cli/dist/src/context/cache-publication-lock.d.ts.map +0 -1
  700. package/vendor/agent-cli/dist/src/context/cache-publication-lock.js +0 -68
  701. package/vendor/agent-cli/dist/src/context/cache-publication-lock.js.map +0 -1
  702. package/vendor/agent-cli/dist/src/context/cache-publication.d.ts +0 -4
  703. package/vendor/agent-cli/dist/src/context/cache-publication.d.ts.map +0 -1
  704. package/vendor/agent-cli/dist/src/context/cache-publication.js +0 -58
  705. package/vendor/agent-cli/dist/src/context/cache-publication.js.map +0 -1
  706. package/vendor/agent-cli/dist/src/context/client-context-view.d.ts +0 -12
  707. package/vendor/agent-cli/dist/src/context/client-context-view.d.ts.map +0 -1
  708. package/vendor/agent-cli/dist/src/context/client-context-view.js +0 -100
  709. package/vendor/agent-cli/dist/src/context/client-context-view.js.map +0 -1
  710. package/vendor/agent-cli/dist/src/context/context-budget.d.ts +0 -3
  711. package/vendor/agent-cli/dist/src/context/context-budget.d.ts.map +0 -1
  712. package/vendor/agent-cli/dist/src/context/context-budget.js +0 -10
  713. package/vendor/agent-cli/dist/src/context/context-budget.js.map +0 -1
  714. package/vendor/agent-cli/dist/src/context/context-cache.d.ts +0 -108
  715. package/vendor/agent-cli/dist/src/context/context-cache.d.ts.map +0 -1
  716. package/vendor/agent-cli/dist/src/context/context-cache.js +0 -360
  717. package/vendor/agent-cli/dist/src/context/context-cache.js.map +0 -1
  718. package/vendor/agent-cli/dist/src/context/context-project.d.ts +0 -67
  719. package/vendor/agent-cli/dist/src/context/context-project.d.ts.map +0 -1
  720. package/vendor/agent-cli/dist/src/context/context-project.js +0 -254
  721. package/vendor/agent-cli/dist/src/context/context-project.js.map +0 -1
  722. package/vendor/agent-cli/dist/src/context/context-resource.d.ts +0 -4
  723. package/vendor/agent-cli/dist/src/context/context-resource.d.ts.map +0 -1
  724. package/vendor/agent-cli/dist/src/context/context-resource.js +0 -11
  725. package/vendor/agent-cli/dist/src/context/context-resource.js.map +0 -1
  726. package/vendor/agent-cli/dist/src/context/context-scoped-source.d.ts +0 -13
  727. package/vendor/agent-cli/dist/src/context/context-scoped-source.d.ts.map +0 -1
  728. package/vendor/agent-cli/dist/src/context/context-scoped-source.js +0 -78
  729. package/vendor/agent-cli/dist/src/context/context-scoped-source.js.map +0 -1
  730. package/vendor/agent-cli/dist/src/context/context-snapshot-cache.d.ts +0 -23
  731. package/vendor/agent-cli/dist/src/context/context-snapshot-cache.d.ts.map +0 -1
  732. package/vendor/agent-cli/dist/src/context/context-snapshot-cache.js +0 -200
  733. package/vendor/agent-cli/dist/src/context/context-snapshot-cache.js.map +0 -1
  734. package/vendor/agent-cli/dist/src/context/local-skills.d.ts +0 -6
  735. package/vendor/agent-cli/dist/src/context/local-skills.d.ts.map +0 -1
  736. package/vendor/agent-cli/dist/src/context/local-skills.js +0 -174
  737. package/vendor/agent-cli/dist/src/context/local-skills.js.map +0 -1
  738. package/vendor/agent-cli/dist/src/context/member-context.d.ts +0 -20
  739. package/vendor/agent-cli/dist/src/context/member-context.d.ts.map +0 -1
  740. package/vendor/agent-cli/dist/src/context/member-context.js +0 -113
  741. package/vendor/agent-cli/dist/src/context/member-context.js.map +0 -1
  742. package/vendor/agent-cli/dist/src/context/member-documents.d.ts +0 -3
  743. package/vendor/agent-cli/dist/src/context/member-documents.d.ts.map +0 -1
  744. package/vendor/agent-cli/dist/src/context/member-documents.js +0 -38
  745. package/vendor/agent-cli/dist/src/context/member-documents.js.map +0 -1
  746. package/vendor/agent-cli/dist/src/context/member-profile-header.d.ts +0 -3
  747. package/vendor/agent-cli/dist/src/context/member-profile-header.d.ts.map +0 -1
  748. package/vendor/agent-cli/dist/src/context/member-profile-header.js +0 -62
  749. package/vendor/agent-cli/dist/src/context/member-profile-header.js.map +0 -1
  750. package/vendor/agent-cli/dist/src/context/member-profile.d.ts +0 -43
  751. package/vendor/agent-cli/dist/src/context/member-profile.d.ts.map +0 -1
  752. package/vendor/agent-cli/dist/src/context/member-profile.js +0 -91
  753. package/vendor/agent-cli/dist/src/context/member-profile.js.map +0 -1
  754. package/vendor/agent-cli/dist/src/context/member-selection.d.ts +0 -7
  755. package/vendor/agent-cli/dist/src/context/member-selection.d.ts.map +0 -1
  756. package/vendor/agent-cli/dist/src/context/member-selection.js +0 -58
  757. package/vendor/agent-cli/dist/src/context/member-selection.js.map +0 -1
  758. package/vendor/agent-cli/dist/src/context/script-dependencies.d.ts +0 -14
  759. package/vendor/agent-cli/dist/src/context/script-dependencies.d.ts.map +0 -1
  760. package/vendor/agent-cli/dist/src/context/script-dependencies.js +0 -40
  761. package/vendor/agent-cli/dist/src/context/script-dependencies.js.map +0 -1
  762. package/vendor/agent-cli/dist/src/context/shared-cache-build.d.ts +0 -3
  763. package/vendor/agent-cli/dist/src/context/shared-cache-build.d.ts.map +0 -1
  764. package/vendor/agent-cli/dist/src/context/shared-cache-build.js +0 -56
  765. package/vendor/agent-cli/dist/src/context/shared-cache-build.js.map +0 -1
  766. package/vendor/agent-cli/dist/src/context/team-definition.d.ts +0 -39
  767. package/vendor/agent-cli/dist/src/context/team-definition.d.ts.map +0 -1
  768. package/vendor/agent-cli/dist/src/context/team-definition.js +0 -78
  769. package/vendor/agent-cli/dist/src/context/team-definition.js.map +0 -1
  770. package/vendor/agent-cli/dist/src/context/team-knowledge.d.ts +0 -7
  771. package/vendor/agent-cli/dist/src/context/team-knowledge.d.ts.map +0 -1
  772. package/vendor/agent-cli/dist/src/context/team-knowledge.js +0 -46
  773. package/vendor/agent-cli/dist/src/context/team-knowledge.js.map +0 -1
  774. package/vendor/agent-cli/dist/src/context/template-cache.d.ts +0 -31
  775. package/vendor/agent-cli/dist/src/context/template-cache.d.ts.map +0 -1
  776. package/vendor/agent-cli/dist/src/context/template-cache.js +0 -100
  777. package/vendor/agent-cli/dist/src/context/template-cache.js.map +0 -1
  778. package/vendor/agent-cli/dist/src/context/template-refresh.d.ts +0 -6
  779. package/vendor/agent-cli/dist/src/context/template-refresh.d.ts.map +0 -1
  780. package/vendor/agent-cli/dist/src/context/template-refresh.js +0 -45
  781. package/vendor/agent-cli/dist/src/context/template-refresh.js.map +0 -1
  782. package/vendor/agent-cli/dist/src/context/template-seed.d.ts +0 -45
  783. package/vendor/agent-cli/dist/src/context/template-seed.d.ts.map +0 -1
  784. package/vendor/agent-cli/dist/src/context/template-seed.js +0 -169
  785. package/vendor/agent-cli/dist/src/context/template-seed.js.map +0 -1
  786. package/vendor/agent-cli/dist/src/context/template-sync.d.ts +0 -11
  787. package/vendor/agent-cli/dist/src/context/template-sync.d.ts.map +0 -1
  788. package/vendor/agent-cli/dist/src/context/template-sync.js +0 -167
  789. package/vendor/agent-cli/dist/src/context/template-sync.js.map +0 -1
  790. package/vendor/agent-cli/dist/src/context/user-skill-bundle.d.ts +0 -19
  791. package/vendor/agent-cli/dist/src/context/user-skill-bundle.d.ts.map +0 -1
  792. package/vendor/agent-cli/dist/src/context/user-skill-bundle.js +0 -292
  793. package/vendor/agent-cli/dist/src/context/user-skill-bundle.js.map +0 -1
  794. package/vendor/agent-cli/dist/src/context/user-skill-context.d.ts +0 -15
  795. package/vendor/agent-cli/dist/src/context/user-skill-context.d.ts.map +0 -1
  796. package/vendor/agent-cli/dist/src/context/user-skill-context.js +0 -217
  797. package/vendor/agent-cli/dist/src/context/user-skill-context.js.map +0 -1
  798. package/vendor/agent-cli/dist/src/context/user-skill-install.d.ts +0 -54
  799. package/vendor/agent-cli/dist/src/context/user-skill-install.d.ts.map +0 -1
  800. package/vendor/agent-cli/dist/src/context/user-skill-install.js +0 -184
  801. package/vendor/agent-cli/dist/src/context/user-skill-install.js.map +0 -1
  802. package/vendor/agent-cli/dist/src/context/zip-extract.d.ts +0 -14
  803. package/vendor/agent-cli/dist/src/context/zip-extract.d.ts.map +0 -1
  804. package/vendor/agent-cli/dist/src/context/zip-extract.js +0 -130
  805. package/vendor/agent-cli/dist/src/context/zip-extract.js.map +0 -1
  806. package/vendor/agent-cli/dist/src/index.d.ts +0 -65
  807. package/vendor/agent-cli/dist/src/index.d.ts.map +0 -1
  808. package/vendor/agent-cli/dist/src/index.js +0 -91
  809. package/vendor/agent-cli/dist/src/index.js.map +0 -1
  810. package/vendor/agent-cli/dist/src/lifecycle/engine-hooks.d.ts +0 -68
  811. package/vendor/agent-cli/dist/src/lifecycle/engine-hooks.d.ts.map +0 -1
  812. package/vendor/agent-cli/dist/src/lifecycle/engine-hooks.js +0 -244
  813. package/vendor/agent-cli/dist/src/lifecycle/engine-hooks.js.map +0 -1
  814. package/vendor/agent-cli/dist/src/lifecycle/hook-command.d.ts +0 -40
  815. package/vendor/agent-cli/dist/src/lifecycle/hook-command.d.ts.map +0 -1
  816. package/vendor/agent-cli/dist/src/lifecycle/hook-command.js +0 -87
  817. package/vendor/agent-cli/dist/src/lifecycle/hook-command.js.map +0 -1
  818. package/vendor/agent-cli/dist/src/lifecycle/registry.d.ts +0 -134
  819. package/vendor/agent-cli/dist/src/lifecycle/registry.d.ts.map +0 -1
  820. package/vendor/agent-cli/dist/src/lifecycle/registry.js +0 -152
  821. package/vendor/agent-cli/dist/src/lifecycle/registry.js.map +0 -1
  822. package/vendor/agent-cli/dist/src/lifecycle/workspace-change.d.ts +0 -40
  823. package/vendor/agent-cli/dist/src/lifecycle/workspace-change.d.ts.map +0 -1
  824. package/vendor/agent-cli/dist/src/lifecycle/workspace-change.js +0 -149
  825. package/vendor/agent-cli/dist/src/lifecycle/workspace-change.js.map +0 -1
  826. package/vendor/agent-cli/dist/src/mcp/client.d.ts +0 -12
  827. package/vendor/agent-cli/dist/src/mcp/client.d.ts.map +0 -1
  828. package/vendor/agent-cli/dist/src/mcp/client.js +0 -95
  829. package/vendor/agent-cli/dist/src/mcp/client.js.map +0 -1
  830. package/vendor/agent-cli/dist/src/mcp/connection.d.ts +0 -14
  831. package/vendor/agent-cli/dist/src/mcp/connection.d.ts.map +0 -1
  832. package/vendor/agent-cli/dist/src/mcp/connection.js +0 -115
  833. package/vendor/agent-cli/dist/src/mcp/connection.js.map +0 -1
  834. package/vendor/agent-cli/dist/src/mcp/execute.d.ts +0 -5
  835. package/vendor/agent-cli/dist/src/mcp/execute.d.ts.map +0 -1
  836. package/vendor/agent-cli/dist/src/mcp/execute.js +0 -26
  837. package/vendor/agent-cli/dist/src/mcp/execute.js.map +0 -1
  838. package/vendor/agent-cli/dist/src/mcp/instance-lock.d.ts +0 -11
  839. package/vendor/agent-cli/dist/src/mcp/instance-lock.d.ts.map +0 -1
  840. package/vendor/agent-cli/dist/src/mcp/instance-lock.js +0 -51
  841. package/vendor/agent-cli/dist/src/mcp/instance-lock.js.map +0 -1
  842. package/vendor/agent-cli/dist/src/mcp/types.d.ts +0 -27
  843. package/vendor/agent-cli/dist/src/mcp/types.d.ts.map +0 -1
  844. package/vendor/agent-cli/dist/src/mcp/types.js +0 -2
  845. package/vendor/agent-cli/dist/src/mcp/types.js.map +0 -1
  846. package/vendor/agent-cli/dist/src/protocol/input.d.ts +0 -21
  847. package/vendor/agent-cli/dist/src/protocol/input.d.ts.map +0 -1
  848. package/vendor/agent-cli/dist/src/protocol/input.js +0 -95
  849. package/vendor/agent-cli/dist/src/protocol/input.js.map +0 -1
  850. package/vendor/agent-cli/dist/src/protocol/link/channel.d.ts +0 -58
  851. package/vendor/agent-cli/dist/src/protocol/link/channel.d.ts.map +0 -1
  852. package/vendor/agent-cli/dist/src/protocol/link/channel.js +0 -337
  853. package/vendor/agent-cli/dist/src/protocol/link/channel.js.map +0 -1
  854. package/vendor/agent-cli/dist/src/protocol/link/codec-json.d.ts +0 -13
  855. package/vendor/agent-cli/dist/src/protocol/link/codec-json.d.ts.map +0 -1
  856. package/vendor/agent-cli/dist/src/protocol/link/codec-json.js +0 -27
  857. package/vendor/agent-cli/dist/src/protocol/link/codec-json.js.map +0 -1
  858. package/vendor/agent-cli/dist/src/protocol/link/envelope.d.ts +0 -57
  859. package/vendor/agent-cli/dist/src/protocol/link/envelope.d.ts.map +0 -1
  860. package/vendor/agent-cli/dist/src/protocol/link/envelope.js +0 -93
  861. package/vendor/agent-cli/dist/src/protocol/link/envelope.js.map +0 -1
  862. package/vendor/agent-cli/dist/src/protocol/link/liveness.d.ts +0 -28
  863. package/vendor/agent-cli/dist/src/protocol/link/liveness.d.ts.map +0 -1
  864. package/vendor/agent-cli/dist/src/protocol/link/liveness.js +0 -86
  865. package/vendor/agent-cli/dist/src/protocol/link/liveness.js.map +0 -1
  866. package/vendor/agent-cli/dist/src/protocol/link/middleware.d.ts +0 -14
  867. package/vendor/agent-cli/dist/src/protocol/link/middleware.d.ts.map +0 -1
  868. package/vendor/agent-cli/dist/src/protocol/link/middleware.js +0 -40
  869. package/vendor/agent-cli/dist/src/protocol/link/middleware.js.map +0 -1
  870. package/vendor/agent-cli/dist/src/protocol/link/rpc.d.ts +0 -31
  871. package/vendor/agent-cli/dist/src/protocol/link/rpc.d.ts.map +0 -1
  872. package/vendor/agent-cli/dist/src/protocol/link/rpc.js +0 -90
  873. package/vendor/agent-cli/dist/src/protocol/link/rpc.js.map +0 -1
  874. package/vendor/agent-cli/dist/src/protocol/link/transport-ws.d.ts +0 -32
  875. package/vendor/agent-cli/dist/src/protocol/link/transport-ws.d.ts.map +0 -1
  876. package/vendor/agent-cli/dist/src/protocol/link/transport-ws.js +0 -106
  877. package/vendor/agent-cli/dist/src/protocol/link/transport-ws.js.map +0 -1
  878. package/vendor/agent-cli/dist/src/protocol/messages/errors.gen.d.ts +0 -533
  879. package/vendor/agent-cli/dist/src/protocol/messages/errors.gen.d.ts.map +0 -1
  880. package/vendor/agent-cli/dist/src/protocol/messages/errors.gen.js +0 -137
  881. package/vendor/agent-cli/dist/src/protocol/messages/errors.gen.js.map +0 -1
  882. package/vendor/agent-cli/dist/src/protocol/messages/messages.gen.d.ts +0 -448
  883. package/vendor/agent-cli/dist/src/protocol/messages/messages.gen.d.ts.map +0 -1
  884. package/vendor/agent-cli/dist/src/protocol/messages/messages.gen.js +0 -133
  885. package/vendor/agent-cli/dist/src/protocol/messages/messages.gen.js.map +0 -1
  886. package/vendor/agent-cli/dist/src/security/binary-read-receipts.d.ts +0 -9
  887. package/vendor/agent-cli/dist/src/security/binary-read-receipts.d.ts.map +0 -1
  888. package/vendor/agent-cli/dist/src/security/binary-read-receipts.js +0 -58
  889. package/vendor/agent-cli/dist/src/security/binary-read-receipts.js.map +0 -1
  890. package/vendor/agent-cli/dist/src/security/command-parse.d.ts +0 -21
  891. package/vendor/agent-cli/dist/src/security/command-parse.d.ts.map +0 -1
  892. package/vendor/agent-cli/dist/src/security/command-parse.js +0 -395
  893. package/vendor/agent-cli/dist/src/security/command-parse.js.map +0 -1
  894. package/vendor/agent-cli/dist/src/security/command-translate.d.ts +0 -30
  895. package/vendor/agent-cli/dist/src/security/command-translate.d.ts.map +0 -1
  896. package/vendor/agent-cli/dist/src/security/command-translate.js +0 -165
  897. package/vendor/agent-cli/dist/src/security/command-translate.js.map +0 -1
  898. package/vendor/agent-cli/dist/src/security/context-write-policy.d.ts +0 -18
  899. package/vendor/agent-cli/dist/src/security/context-write-policy.d.ts.map +0 -1
  900. package/vendor/agent-cli/dist/src/security/context-write-policy.js +0 -121
  901. package/vendor/agent-cli/dist/src/security/context-write-policy.js.map +0 -1
  902. package/vendor/agent-cli/dist/src/security/guard.d.ts +0 -45
  903. package/vendor/agent-cli/dist/src/security/guard.d.ts.map +0 -1
  904. package/vendor/agent-cli/dist/src/security/guard.js +0 -166
  905. package/vendor/agent-cli/dist/src/security/guard.js.map +0 -1
  906. package/vendor/agent-cli/dist/src/security/mount-table.d.ts +0 -56
  907. package/vendor/agent-cli/dist/src/security/mount-table.d.ts.map +0 -1
  908. package/vendor/agent-cli/dist/src/security/mount-table.js +0 -251
  909. package/vendor/agent-cli/dist/src/security/mount-table.js.map +0 -1
  910. package/vendor/agent-cli/dist/src/security/sandbox-path.d.ts +0 -23
  911. package/vendor/agent-cli/dist/src/security/sandbox-path.d.ts.map +0 -1
  912. package/vendor/agent-cli/dist/src/security/sandbox-path.js +0 -110
  913. package/vendor/agent-cli/dist/src/security/sandbox-path.js.map +0 -1
  914. package/vendor/agent-cli/dist/src/security/tool-run-owner.d.ts +0 -5
  915. package/vendor/agent-cli/dist/src/security/tool-run-owner.d.ts.map +0 -1
  916. package/vendor/agent-cli/dist/src/security/tool-run-owner.js +0 -16
  917. package/vendor/agent-cli/dist/src/security/tool-run-owner.js.map +0 -1
  918. package/vendor/agent-cli/dist/src/security/tool-scope.d.ts +0 -19
  919. package/vendor/agent-cli/dist/src/security/tool-scope.d.ts.map +0 -1
  920. package/vendor/agent-cli/dist/src/security/tool-scope.js +0 -122
  921. package/vendor/agent-cli/dist/src/security/tool-scope.js.map +0 -1
  922. package/vendor/agent-cli/dist/src/session/client.d.ts +0 -146
  923. package/vendor/agent-cli/dist/src/session/client.d.ts.map +0 -1
  924. package/vendor/agent-cli/dist/src/session/client.js +0 -410
  925. package/vendor/agent-cli/dist/src/session/client.js.map +0 -1
  926. package/vendor/agent-cli/dist/src/session/custom-context.d.ts +0 -6
  927. package/vendor/agent-cli/dist/src/session/custom-context.d.ts.map +0 -1
  928. package/vendor/agent-cli/dist/src/session/custom-context.js +0 -106
  929. package/vendor/agent-cli/dist/src/session/custom-context.js.map +0 -1
  930. package/vendor/agent-cli/dist/src/session/engine-decide.d.ts +0 -38
  931. package/vendor/agent-cli/dist/src/session/engine-decide.d.ts.map +0 -1
  932. package/vendor/agent-cli/dist/src/session/engine-decide.js +0 -87
  933. package/vendor/agent-cli/dist/src/session/engine-decide.js.map +0 -1
  934. package/vendor/agent-cli/dist/src/session/execution-recovery.d.ts +0 -9
  935. package/vendor/agent-cli/dist/src/session/execution-recovery.d.ts.map +0 -1
  936. package/vendor/agent-cli/dist/src/session/execution-recovery.js +0 -49
  937. package/vendor/agent-cli/dist/src/session/execution-recovery.js.map +0 -1
  938. package/vendor/agent-cli/dist/src/session/execution-settlement.d.ts +0 -4
  939. package/vendor/agent-cli/dist/src/session/execution-settlement.d.ts.map +0 -1
  940. package/vendor/agent-cli/dist/src/session/execution-settlement.js +0 -15
  941. package/vendor/agent-cli/dist/src/session/execution-settlement.js.map +0 -1
  942. package/vendor/agent-cli/dist/src/session/expert-definition.d.ts +0 -4
  943. package/vendor/agent-cli/dist/src/session/expert-definition.d.ts.map +0 -1
  944. package/vendor/agent-cli/dist/src/session/expert-definition.js +0 -20
  945. package/vendor/agent-cli/dist/src/session/expert-definition.js.map +0 -1
  946. package/vendor/agent-cli/dist/src/session/link-config.d.ts +0 -13
  947. package/vendor/agent-cli/dist/src/session/link-config.d.ts.map +0 -1
  948. package/vendor/agent-cli/dist/src/session/link-config.js +0 -29
  949. package/vendor/agent-cli/dist/src/session/link-config.js.map +0 -1
  950. package/vendor/agent-cli/dist/src/session/link-outcome.d.ts +0 -30
  951. package/vendor/agent-cli/dist/src/session/link-outcome.d.ts.map +0 -1
  952. package/vendor/agent-cli/dist/src/session/link-outcome.js +0 -67
  953. package/vendor/agent-cli/dist/src/session/link-outcome.js.map +0 -1
  954. package/vendor/agent-cli/dist/src/session/link-session.d.ts +0 -80
  955. package/vendor/agent-cli/dist/src/session/link-session.d.ts.map +0 -1
  956. package/vendor/agent-cli/dist/src/session/link-session.js +0 -445
  957. package/vendor/agent-cli/dist/src/session/link-session.js.map +0 -1
  958. package/vendor/agent-cli/dist/src/session/local-execution.d.ts +0 -28
  959. package/vendor/agent-cli/dist/src/session/local-execution.d.ts.map +0 -1
  960. package/vendor/agent-cli/dist/src/session/local-execution.js +0 -119
  961. package/vendor/agent-cli/dist/src/session/local-execution.js.map +0 -1
  962. package/vendor/agent-cli/dist/src/session/member-tools.d.ts +0 -22
  963. package/vendor/agent-cli/dist/src/session/member-tools.d.ts.map +0 -1
  964. package/vendor/agent-cli/dist/src/session/member-tools.js +0 -72
  965. package/vendor/agent-cli/dist/src/session/member-tools.js.map +0 -1
  966. package/vendor/agent-cli/dist/src/session/process-artifact-publisher.d.ts +0 -7
  967. package/vendor/agent-cli/dist/src/session/process-artifact-publisher.d.ts.map +0 -1
  968. package/vendor/agent-cli/dist/src/session/process-artifact-publisher.js +0 -30
  969. package/vendor/agent-cli/dist/src/session/process-artifact-publisher.js.map +0 -1
  970. package/vendor/agent-cli/dist/src/session/process-environment.d.ts +0 -3
  971. package/vendor/agent-cli/dist/src/session/process-environment.d.ts.map +0 -1
  972. package/vendor/agent-cli/dist/src/session/process-environment.js +0 -33
  973. package/vendor/agent-cli/dist/src/session/process-environment.js.map +0 -1
  974. package/vendor/agent-cli/dist/src/session/process-lifecycle.d.ts +0 -5
  975. package/vendor/agent-cli/dist/src/session/process-lifecycle.d.ts.map +0 -1
  976. package/vendor/agent-cli/dist/src/session/process-lifecycle.js +0 -18
  977. package/vendor/agent-cli/dist/src/session/process-lifecycle.js.map +0 -1
  978. package/vendor/agent-cli/dist/src/session/process-observability.d.ts +0 -7
  979. package/vendor/agent-cli/dist/src/session/process-observability.d.ts.map +0 -1
  980. package/vendor/agent-cli/dist/src/session/process-observability.js +0 -25
  981. package/vendor/agent-cli/dist/src/session/process-observability.js.map +0 -1
  982. package/vendor/agent-cli/dist/src/session/process-request.d.ts +0 -38
  983. package/vendor/agent-cli/dist/src/session/process-request.d.ts.map +0 -1
  984. package/vendor/agent-cli/dist/src/session/process-request.js +0 -491
  985. package/vendor/agent-cli/dist/src/session/process-request.js.map +0 -1
  986. package/vendor/agent-cli/dist/src/session/process-restore.d.ts +0 -4
  987. package/vendor/agent-cli/dist/src/session/process-restore.d.ts.map +0 -1
  988. package/vendor/agent-cli/dist/src/session/process-restore.js +0 -21
  989. package/vendor/agent-cli/dist/src/session/process-restore.js.map +0 -1
  990. package/vendor/agent-cli/dist/src/session/process-summary-output.d.ts +0 -15
  991. package/vendor/agent-cli/dist/src/session/process-summary-output.d.ts.map +0 -1
  992. package/vendor/agent-cli/dist/src/session/process-summary-output.js +0 -46
  993. package/vendor/agent-cli/dist/src/session/process-summary-output.js.map +0 -1
  994. package/vendor/agent-cli/dist/src/session/process-workspace.d.ts +0 -3
  995. package/vendor/agent-cli/dist/src/session/process-workspace.d.ts.map +0 -1
  996. package/vendor/agent-cli/dist/src/session/process-workspace.js +0 -21
  997. package/vendor/agent-cli/dist/src/session/process-workspace.js.map +0 -1
  998. package/vendor/agent-cli/dist/src/session/reference-tools.d.ts +0 -8
  999. package/vendor/agent-cli/dist/src/session/reference-tools.d.ts.map +0 -1
  1000. package/vendor/agent-cli/dist/src/session/reference-tools.js +0 -35
  1001. package/vendor/agent-cli/dist/src/session/reference-tools.js.map +0 -1
  1002. package/vendor/agent-cli/dist/src/session/run-events.d.ts +0 -81
  1003. package/vendor/agent-cli/dist/src/session/run-events.d.ts.map +0 -1
  1004. package/vendor/agent-cli/dist/src/session/run-events.js +0 -160
  1005. package/vendor/agent-cli/dist/src/session/run-events.js.map +0 -1
  1006. package/vendor/agent-cli/dist/src/session/run-setup.d.ts +0 -78
  1007. package/vendor/agent-cli/dist/src/session/run-setup.d.ts.map +0 -1
  1008. package/vendor/agent-cli/dist/src/session/run-setup.js +0 -294
  1009. package/vendor/agent-cli/dist/src/session/run-setup.js.map +0 -1
  1010. package/vendor/agent-cli/dist/src/session/run-start-body.d.ts +0 -48
  1011. package/vendor/agent-cli/dist/src/session/run-start-body.d.ts.map +0 -1
  1012. package/vendor/agent-cli/dist/src/session/run-start-body.js +0 -82
  1013. package/vendor/agent-cli/dist/src/session/run-start-body.js.map +0 -1
  1014. package/vendor/agent-cli/dist/src/session/run-steer.d.ts +0 -42
  1015. package/vendor/agent-cli/dist/src/session/run-steer.d.ts.map +0 -1
  1016. package/vendor/agent-cli/dist/src/session/run-steer.js +0 -205
  1017. package/vendor/agent-cli/dist/src/session/run-steer.js.map +0 -1
  1018. package/vendor/agent-cli/dist/src/session/team-persistence.d.ts +0 -17
  1019. package/vendor/agent-cli/dist/src/session/team-persistence.d.ts.map +0 -1
  1020. package/vendor/agent-cli/dist/src/session/team-persistence.js +0 -75
  1021. package/vendor/agent-cli/dist/src/session/team-persistence.js.map +0 -1
  1022. package/vendor/agent-cli/dist/src/session/tool-scheduler.d.ts +0 -37
  1023. package/vendor/agent-cli/dist/src/session/tool-scheduler.d.ts.map +0 -1
  1024. package/vendor/agent-cli/dist/src/session/tool-scheduler.js +0 -242
  1025. package/vendor/agent-cli/dist/src/session/tool-scheduler.js.map +0 -1
  1026. package/vendor/agent-cli/dist/src/session/user-choice-policy.d.ts +0 -25
  1027. package/vendor/agent-cli/dist/src/session/user-choice-policy.d.ts.map +0 -1
  1028. package/vendor/agent-cli/dist/src/session/user-choice-policy.js +0 -70
  1029. package/vendor/agent-cli/dist/src/session/user-choice-policy.js.map +0 -1
  1030. package/vendor/agent-cli/dist/src/session/user-choice.d.ts +0 -6
  1031. package/vendor/agent-cli/dist/src/session/user-choice.d.ts.map +0 -1
  1032. package/vendor/agent-cli/dist/src/session/user-choice.js +0 -101
  1033. package/vendor/agent-cli/dist/src/session/user-choice.js.map +0 -1
  1034. package/vendor/agent-cli/dist/src/session/user-skill-compatibility.d.ts +0 -4
  1035. package/vendor/agent-cli/dist/src/session/user-skill-compatibility.d.ts.map +0 -1
  1036. package/vendor/agent-cli/dist/src/session/user-skill-compatibility.js +0 -25
  1037. package/vendor/agent-cli/dist/src/session/user-skill-compatibility.js.map +0 -1
  1038. package/vendor/agent-cli/dist/src/session/user-skill-loaded.d.ts +0 -31
  1039. package/vendor/agent-cli/dist/src/session/user-skill-loaded.d.ts.map +0 -1
  1040. package/vendor/agent-cli/dist/src/session/user-skill-loaded.js +0 -105
  1041. package/vendor/agent-cli/dist/src/session/user-skill-loaded.js.map +0 -1
  1042. package/vendor/agent-cli/dist/src/session/user-skill-prompt.d.ts +0 -4
  1043. package/vendor/agent-cli/dist/src/session/user-skill-prompt.d.ts.map +0 -1
  1044. package/vendor/agent-cli/dist/src/session/user-skill-prompt.js +0 -15
  1045. package/vendor/agent-cli/dist/src/session/user-skill-prompt.js.map +0 -1
  1046. package/vendor/agent-cli/dist/src/shared/app-id.d.ts +0 -13
  1047. package/vendor/agent-cli/dist/src/shared/app-id.d.ts.map +0 -1
  1048. package/vendor/agent-cli/dist/src/shared/app-id.js +0 -25
  1049. package/vendor/agent-cli/dist/src/shared/app-id.js.map +0 -1
  1050. package/vendor/agent-cli/dist/src/shared/auth-headers.d.ts +0 -13
  1051. package/vendor/agent-cli/dist/src/shared/auth-headers.d.ts.map +0 -1
  1052. package/vendor/agent-cli/dist/src/shared/auth-headers.js +0 -16
  1053. package/vendor/agent-cli/dist/src/shared/auth-headers.js.map +0 -1
  1054. package/vendor/agent-cli/dist/src/shared/cli-version.d.ts +0 -3
  1055. package/vendor/agent-cli/dist/src/shared/cli-version.d.ts.map +0 -1
  1056. package/vendor/agent-cli/dist/src/shared/cli-version.js +0 -22
  1057. package/vendor/agent-cli/dist/src/shared/cli-version.js.map +0 -1
  1058. package/vendor/agent-cli/dist/src/shared/error-detail.d.ts +0 -14
  1059. package/vendor/agent-cli/dist/src/shared/error-detail.d.ts.map +0 -1
  1060. package/vendor/agent-cli/dist/src/shared/error-detail.js +0 -29
  1061. package/vendor/agent-cli/dist/src/shared/error-detail.js.map +0 -1
  1062. package/vendor/agent-cli/dist/src/shared/output-guard.d.ts +0 -36
  1063. package/vendor/agent-cli/dist/src/shared/output-guard.d.ts.map +0 -1
  1064. package/vendor/agent-cli/dist/src/shared/output-guard.js +0 -94
  1065. package/vendor/agent-cli/dist/src/shared/output-guard.js.map +0 -1
  1066. package/vendor/agent-cli/dist/src/shared/process-cwd.d.ts +0 -3
  1067. package/vendor/agent-cli/dist/src/shared/process-cwd.d.ts.map +0 -1
  1068. package/vendor/agent-cli/dist/src/shared/process-cwd.js +0 -11
  1069. package/vendor/agent-cli/dist/src/shared/process-cwd.js.map +0 -1
  1070. package/vendor/agent-cli/dist/src/shared/process-types.d.ts +0 -60
  1071. package/vendor/agent-cli/dist/src/shared/process-types.d.ts.map +0 -1
  1072. package/vendor/agent-cli/dist/src/shared/process-types.js +0 -10
  1073. package/vendor/agent-cli/dist/src/shared/process-types.js.map +0 -1
  1074. package/vendor/agent-cli/dist/src/shared/replace-file.d.ts +0 -3
  1075. package/vendor/agent-cli/dist/src/shared/replace-file.d.ts.map +0 -1
  1076. package/vendor/agent-cli/dist/src/shared/replace-file.js +0 -34
  1077. package/vendor/agent-cli/dist/src/shared/replace-file.js.map +0 -1
  1078. package/vendor/agent-cli/dist/src/shared/server-headers.d.ts +0 -7
  1079. package/vendor/agent-cli/dist/src/shared/server-headers.d.ts.map +0 -1
  1080. package/vendor/agent-cli/dist/src/shared/server-headers.js +0 -113
  1081. package/vendor/agent-cli/dist/src/shared/server-headers.js.map +0 -1
  1082. package/vendor/agent-cli/dist/src/shared/shell-runtime.d.ts +0 -47
  1083. package/vendor/agent-cli/dist/src/shared/shell-runtime.d.ts.map +0 -1
  1084. package/vendor/agent-cli/dist/src/shared/shell-runtime.js +0 -210
  1085. package/vendor/agent-cli/dist/src/shared/shell-runtime.js.map +0 -1
  1086. package/vendor/agent-cli/dist/src/shared/types.d.ts +0 -519
  1087. package/vendor/agent-cli/dist/src/shared/types.d.ts.map +0 -1
  1088. package/vendor/agent-cli/dist/src/shared/types.js +0 -2
  1089. package/vendor/agent-cli/dist/src/shared/types.js.map +0 -1
  1090. package/vendor/agent-cli/dist/src/shared/user-choice.d.ts +0 -41
  1091. package/vendor/agent-cli/dist/src/shared/user-choice.d.ts.map +0 -1
  1092. package/vendor/agent-cli/dist/src/shared/user-choice.js +0 -2
  1093. package/vendor/agent-cli/dist/src/shared/user-choice.js.map +0 -1
  1094. package/vendor/agent-cli/dist/src/tools/artifact-publisher.d.ts +0 -9
  1095. package/vendor/agent-cli/dist/src/tools/artifact-publisher.d.ts.map +0 -1
  1096. package/vendor/agent-cli/dist/src/tools/artifact-publisher.js +0 -85
  1097. package/vendor/agent-cli/dist/src/tools/artifact-publisher.js.map +0 -1
  1098. package/vendor/agent-cli/dist/src/tools/command-executor.d.ts +0 -33
  1099. package/vendor/agent-cli/dist/src/tools/command-executor.d.ts.map +0 -1
  1100. package/vendor/agent-cli/dist/src/tools/command-executor.js +0 -133
  1101. package/vendor/agent-cli/dist/src/tools/command-executor.js.map +0 -1
  1102. package/vendor/agent-cli/dist/src/tools/context-program-publish.d.ts +0 -16
  1103. package/vendor/agent-cli/dist/src/tools/context-program-publish.d.ts.map +0 -1
  1104. package/vendor/agent-cli/dist/src/tools/context-program-publish.js +0 -104
  1105. package/vendor/agent-cli/dist/src/tools/context-program-publish.js.map +0 -1
  1106. package/vendor/agent-cli/dist/src/tools/context-program-receipt.d.ts +0 -21
  1107. package/vendor/agent-cli/dist/src/tools/context-program-receipt.d.ts.map +0 -1
  1108. package/vendor/agent-cli/dist/src/tools/context-program-receipt.js +0 -102
  1109. package/vendor/agent-cli/dist/src/tools/context-program-receipt.js.map +0 -1
  1110. package/vendor/agent-cli/dist/src/tools/context-program.d.ts +0 -21
  1111. package/vendor/agent-cli/dist/src/tools/context-program.d.ts.map +0 -1
  1112. package/vendor/agent-cli/dist/src/tools/context-program.js +0 -236
  1113. package/vendor/agent-cli/dist/src/tools/context-program.js.map +0 -1
  1114. package/vendor/agent-cli/dist/src/tools/file-ops.d.ts +0 -52
  1115. package/vendor/agent-cli/dist/src/tools/file-ops.d.ts.map +0 -1
  1116. package/vendor/agent-cli/dist/src/tools/file-ops.js +0 -403
  1117. package/vendor/agent-cli/dist/src/tools/file-ops.js.map +0 -1
  1118. package/vendor/agent-cli/dist/src/tools/file-search.d.ts +0 -29
  1119. package/vendor/agent-cli/dist/src/tools/file-search.d.ts.map +0 -1
  1120. package/vendor/agent-cli/dist/src/tools/file-search.js +0 -98
  1121. package/vendor/agent-cli/dist/src/tools/file-search.js.map +0 -1
  1122. package/vendor/agent-cli/dist/src/tools/file-stat.d.ts +0 -9
  1123. package/vendor/agent-cli/dist/src/tools/file-stat.d.ts.map +0 -1
  1124. package/vendor/agent-cli/dist/src/tools/file-stat.js +0 -29
  1125. package/vendor/agent-cli/dist/src/tools/file-stat.js.map +0 -1
  1126. package/vendor/agent-cli/dist/src/tools/local-hands.d.ts +0 -58
  1127. package/vendor/agent-cli/dist/src/tools/local-hands.d.ts.map +0 -1
  1128. package/vendor/agent-cli/dist/src/tools/local-hands.js +0 -330
  1129. package/vendor/agent-cli/dist/src/tools/local-hands.js.map +0 -1
  1130. package/vendor/agent-cli/dist/src/tools/ripgrep-search.d.ts +0 -24
  1131. package/vendor/agent-cli/dist/src/tools/ripgrep-search.d.ts.map +0 -1
  1132. package/vendor/agent-cli/dist/src/tools/ripgrep-search.js +0 -160
  1133. package/vendor/agent-cli/dist/src/tools/ripgrep-search.js.map +0 -1
  1134. package/vendor/agent-cli/dist/src/tools/tool-contract.gen.d.ts +0 -69
  1135. package/vendor/agent-cli/dist/src/tools/tool-contract.gen.d.ts.map +0 -1
  1136. package/vendor/agent-cli/dist/src/tools/tool-contract.gen.js +0 -68
  1137. package/vendor/agent-cli/dist/src/tools/tool-contract.gen.js.map +0 -1
  1138. package/vendor/agent-cli/dist/src/tools/tool-timeout.d.ts +0 -29
  1139. package/vendor/agent-cli/dist/src/tools/tool-timeout.d.ts.map +0 -1
  1140. package/vendor/agent-cli/dist/src/tools/tool-timeout.js +0 -88
  1141. package/vendor/agent-cli/dist/src/tools/tool-timeout.js.map +0 -1
  1142. package/vendor/agent-cli/dist/src/tools/write-guard.d.ts +0 -42
  1143. package/vendor/agent-cli/dist/src/tools/write-guard.d.ts.map +0 -1
  1144. package/vendor/agent-cli/dist/src/tools/write-guard.js +0 -34
  1145. package/vendor/agent-cli/dist/src/tools/write-guard.js.map +0 -1
  1146. package/vendor/agent-cli/package.json +0 -29
@@ -1,146 +0,0 @@
1
- import { LocalHands } from '../tools/local-hands.js';
2
- import type { Conn } from '../protocol/link/transport-ws.js';
3
- import type { ClientConfig, SessionOptions } from '../shared/types.js';
4
- import { type RunCancel } from './run-setup.js';
5
- import type { RunEndEvent, RunEvent } from './run-events.js';
6
- import { RunSteerControl, type RunSteerOptions } from './run-steer.js';
7
- import type { RunSteerResponse } from '../protocol/messages/messages.gen.js';
8
- /** 测试用:注入内存链路,不经过 WebSocket 升级。 */
9
- export interface AgentCliClientInternals {
10
- injectConn?: Conn;
11
- }
12
- /** `AgentCliClient.run` 选项:在 SessionOptions 上增加结构化事件回调。 */
13
- export interface RunSessionOptions extends SessionOptions {
14
- /** Context-owned Team selection; ignored for Web and independent custom nodes. */
15
- clientTeam?: string;
16
- /** Desktop-only per-run frozen host overlay. Never serialized as a configuration path. */
17
- prepareContext?: ClientConfig['prepareContext'];
18
- /** Host factory runs inside cancellable preparation; connection cleanup is part of session.done. */
19
- prepareLocalMcp?: (signal: AbortSignal) => Promise<import('../mcp/types.js').LocalMcpRun | undefined>;
20
- onEvent?: (ev: RunEvent) => void;
21
- /** 仅重做必要收尾,不建链、不调用模型、不修改工程模板。 */
22
- finalizeOnly?: boolean;
23
- }
24
- /**
25
- * 按 contextDir 复用 LocalHands。
26
- *
27
- * 不同引擎上下文对应不同的挂载表,而同一个 client 可能跨引擎多轮运行;
28
- * 每轮新建一套会白扫一遍挂载规则,共用一个又会让上下文目录串味。
29
- */
30
- export declare class LocalHandsPool {
31
- private readonly config;
32
- private readonly base;
33
- private readonly byContextDir;
34
- constructor(config: ClientConfig);
35
- resolve(contextDir?: string): LocalHands;
36
- }
37
- export interface AgentSessionInit {
38
- runId: string;
39
- sessionId: string;
40
- cancel: RunCancel;
41
- completion: Promise<string>;
42
- done: Promise<RunEndEvent>;
43
- steering?: RunSteerControl;
44
- }
45
- /** 一轮 run 的句柄——等它结束,或者取消它。 */
46
- export declare class AgentSession {
47
- readonly runId: string;
48
- readonly sessionId: string;
49
- /** 本轮结局(永不 reject) */
50
- readonly done: Promise<RunEndEvent>;
51
- private readonly runCancel;
52
- private readonly completion;
53
- private readonly settled;
54
- private readonly steering?;
55
- constructor(init: AgentSessionInit);
56
- /**
57
- * 请求取消;带 `force` 再调一次可从优雅取消升级为立刻断开。本轮已结束时什么也不做。
58
- *
59
- * 返回的 Promise 在本地收尾、取消清理及能力释放后 resolve、永不 reject:
60
- * 宿主 await 它是为了之后安全回收资源。
61
- */
62
- cancel(reason?: string, force?: boolean): Promise<void>;
63
- /** 本轮结束前是否被请求过取消 */
64
- get cancelled(): boolean;
65
- /** Submit a user message at the next safe model boundary without cancelling this run. */
66
- steer(options: RunSteerOptions): Promise<RunSteerResponse>;
67
- wait(): Promise<string>;
68
- }
69
- export declare class AgentCliClient {
70
- /** Local encoding support; remote support is still negotiated at link.welcome. */
71
- static readonly capabilities: Readonly<{
72
- localProjectMemory: true;
73
- workspaceAliases: true;
74
- referenceMounts: true;
75
- customHeaders: true;
76
- sessionContinuation: true;
77
- scopedCommandPolicy: true;
78
- planRuntime: true;
79
- hostPolicy: true;
80
- workspaceImplementationWrites: true;
81
- scopedScratchPaths: true;
82
- scopedWorktreeCommands: true;
83
- sharedTeamStages: true;
84
- scopedReadOnlyPrograms: true;
85
- contextPrograms: true;
86
- memberContexts: true;
87
- teamDefinitions: true;
88
- clientTeamFinalization: true;
89
- clientTeamJournal: true;
90
- clientSession: true;
91
- customContext: true;
92
- memberContinuation: true;
93
- scopedTools: true;
94
- contextProject: true;
95
- contextPreparation: true;
96
- subagentRuntime: true;
97
- localMcp: true;
98
- mcpRuntime: true;
99
- userChoicePreparation: true;
100
- localToolSettlement: true;
101
- runExecutionSettlement: true;
102
- runSteer: true;
103
- }>;
104
- readonly capabilities: Readonly<{
105
- localProjectMemory: true;
106
- workspaceAliases: true;
107
- referenceMounts: true;
108
- customHeaders: true;
109
- sessionContinuation: true;
110
- scopedCommandPolicy: true;
111
- planRuntime: true;
112
- hostPolicy: true;
113
- workspaceImplementationWrites: true;
114
- scopedScratchPaths: true;
115
- scopedWorktreeCommands: true;
116
- sharedTeamStages: true;
117
- scopedReadOnlyPrograms: true;
118
- contextPrograms: true;
119
- memberContexts: true;
120
- teamDefinitions: true;
121
- clientTeamFinalization: true;
122
- clientTeamJournal: true;
123
- clientSession: true;
124
- customContext: true;
125
- memberContinuation: true;
126
- scopedTools: true;
127
- contextProject: true;
128
- contextPreparation: true;
129
- subagentRuntime: true;
130
- localMcp: true;
131
- mcpRuntime: true;
132
- userChoicePreparation: true;
133
- localToolSettlement: true;
134
- runExecutionSettlement: true;
135
- runSteer: true;
136
- }>;
137
- readonly lifecycle: import("../lifecycle/registry.js").LifecycleRegistry;
138
- private readonly config;
139
- private readonly handsPool;
140
- private readonly internals?;
141
- constructor(config: ClientConfig, internals?: AgentCliClientInternals);
142
- run(options: RunSessionOptions): Promise<AgentSession>;
143
- private emitRunComplete;
144
- private startLink;
145
- }
146
- //# sourceMappingURL=client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/session/client.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEvE,OAAO,EAAsE,KAAK,SAAS,EAAmB,MAAM,gBAAgB,CAAC;AAOrI,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,mCAAmC;AACnC,MAAM,WAAW,uBAAuB;IACtC,UAAU,CAAC,EAAE,IAAI,CAAC;CACnB;AAED,2DAA2D;AAC3D,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACvD,kFAAkF;IAClF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0FAA0F;IAC1F,cAAc,CAAC,EAAE,YAAY,CAAC,gBAAgB,CAAC,CAAC;IAChD,oGAAoG;IACpG,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,OAAO,iBAAiB,EAAE,WAAW,GAAG,SAAS,CAAC,CAAC;IACtG,OAAO,CAAC,EAAE,CAAC,EAA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,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC;CAWrC;AAED,qBAAa,cAAc;IACzB,kFAAkF;IAClF,gBAAuB,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAuhC;IAC1jC,SAAgB,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAA+B;IAC3D,SAAgB,SAAS,uDAA6B;IAEtD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;IACtC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiB;IAC3C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,CAA0B;gBAEzC,MAAM,EAAE,YAAY,EAAE,SAAS,CAAC,EAAE,uBAAuB;IAOxD,GAAG,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,YAAY,CAAC;YAsJrD,eAAe;YAoCf,SAAS;CAkFxB"}
@@ -1,410 +0,0 @@
1
- import { ErrCLIExecutionFailed, ErrInvalidConfiguration, ErrRunStartInvalid } from '../protocol/messages/errors.gen.js';
2
- /**
3
- * AgentCliClient:一轮协同的编排者(WebSocket)。
4
- */
5
- import { validateServerHeaders } from '../shared/server-headers.js';
6
- import { cleanupUserSkillContext } from '../context/user-skill-context.js';
7
- import { withPreparation } from '../component/preparation.js';
8
- import { createLifecycleRegistry } from '../lifecycle/registry.js';
9
- import { probeWorkspaceChange, summarizeRun, } from '../lifecycle/workspace-change.js';
10
- import { buildAgentCLIInput, hasAgentCLIInputContent } from '../protocol/input.js';
11
- import { LinkError } from '../protocol/link/envelope.js';
12
- import { LocalHands } from '../tools/local-hands.js';
13
- import { trackToolRun } from '../security/tool-run-owner.js';
14
- import { referenceToolConfig, referenceToolMounts, validateReferenceRegistration } from './reference-tools.js';
15
- import { bootstrapEngineContext, createRunRuntime } from './run-setup.js';
16
- import { LinkSession, waitErrorFromRunEnd } from './link-session.js';
17
- import { resolveOutcome } from './link-outcome.js';
18
- import { buildRunStartBody } from './run-start-body.js';
19
- import { copyCustomContext } from './custom-context.js';
20
- import { TeamPersistence } from './team-persistence.js';
21
- import { MemberToolViews } from './member-tools.js';
22
- import { RunSteerControl } from './run-steer.js';
23
- /**
24
- * 按 contextDir 复用 LocalHands。
25
- *
26
- * 不同引擎上下文对应不同的挂载表,而同一个 client 可能跨引擎多轮运行;
27
- * 每轮新建一套会白扫一遍挂载规则,共用一个又会让上下文目录串味。
28
- */
29
- export class LocalHandsPool {
30
- config;
31
- base;
32
- byContextDir = new Map();
33
- constructor(config) {
34
- this.config = config;
35
- this.base = new LocalHands(config);
36
- }
37
- resolve(contextDir) {
38
- if (!contextDir) {
39
- return this.base;
40
- }
41
- const cached = this.byContextDir.get(contextDir);
42
- if (cached) {
43
- return cached;
44
- }
45
- const hands = new LocalHands({ ...this.config, contextDir });
46
- this.byContextDir.set(contextDir, hands);
47
- return hands;
48
- }
49
- }
50
- /**
51
- * 本轮结局的出口。上下文引导完成后才建出 LinkSession,结局取它的 `done`;
52
- * 在那之前就失败(引导失败、输入为空、建链前被取消)的,按同一判定规则落终态。
53
- */
54
- class RunEndBridge {
55
- done;
56
- resolve;
57
- attached = false;
58
- constructor() {
59
- this.done = new Promise((resolve) => {
60
- this.resolve = resolve;
61
- });
62
- }
63
- attach(link) {
64
- this.attached = true;
65
- this.resolve(link.done);
66
- }
67
- completeLocal() {
68
- this.attached = true;
69
- this.resolve({ type: 'run.end', body: { outcome: 'completed' } });
70
- }
71
- /** 已接上 LinkSession 时不做事:结局由链路判定 */
72
- failBeforeLink(err, cancel) {
73
- if (this.attached) {
74
- return;
75
- }
76
- const body = resolveOutcome({
77
- phase: 'connecting',
78
- cancelling: cancel.requested !== undefined,
79
- cancelGraceExpired: false,
80
- runTimeoutExpired: false,
81
- connectionLost: false,
82
- connectError: err instanceof LinkError
83
- ? err
84
- : new LinkError(ErrCLIExecutionFailed, err),
85
- });
86
- this.resolve({ type: 'run.end', body: { ...body, execution_status: 'not_started' } });
87
- }
88
- }
89
- /** 一轮 run 的句柄——等它结束,或者取消它。 */
90
- export class AgentSession {
91
- runId;
92
- sessionId;
93
- /** 本轮结局(永不 reject) */
94
- done;
95
- runCancel;
96
- completion;
97
- settled;
98
- steering;
99
- constructor(init) {
100
- this.runId = init.runId;
101
- this.sessionId = init.sessionId;
102
- this.runCancel = init.cancel;
103
- this.steering = init.steering;
104
- this.completion = init.completion;
105
- this.done = init.done;
106
- this.settled = init.done.then(() => init.cancel.seal());
107
- }
108
- /**
109
- * 请求取消;带 `force` 再调一次可从优雅取消升级为立刻断开。本轮已结束时什么也不做。
110
- *
111
- * 返回的 Promise 在本地收尾、取消清理及能力释放后 resolve、永不 reject:
112
- * 宿主 await 它是为了之后安全回收资源。
113
- */
114
- cancel(reason = 'user', force = false) {
115
- this.runCancel.request(reason, force);
116
- return this.settled;
117
- }
118
- /** 本轮结束前是否被请求过取消 */
119
- get cancelled() {
120
- return this.runCancel.requested !== undefined;
121
- }
122
- /** Submit a user message at the next safe model boundary without cancelling this run. */
123
- steer(options) {
124
- return this.steering?.steer(options) ?? Promise.resolve({ message_id: options.messageId, status: 'not_running' });
125
- }
126
- async wait() {
127
- const end = await this.done;
128
- const err = waitErrorFromRunEnd(end.body);
129
- if (err) {
130
- throw err;
131
- }
132
- return this.completion.catch((error) => {
133
- if (end.body.outcome === 'cancelled')
134
- return '';
135
- throw error;
136
- });
137
- }
138
- }
139
- export class AgentCliClient {
140
- /** Local encoding support; remote support is still negotiated at link.welcome. */
141
- static capabilities = Object.freeze({ localProjectMemory: true, workspaceAliases: true, referenceMounts: true, customHeaders: true, sessionContinuation: true, scopedCommandPolicy: true, planRuntime: true, hostPolicy: true, workspaceImplementationWrites: true, scopedScratchPaths: true, scopedWorktreeCommands: true, sharedTeamStages: true, scopedReadOnlyPrograms: true, contextPrograms: true, memberContexts: true, teamDefinitions: true, clientTeamFinalization: true, clientTeamJournal: true, clientSession: true, customContext: true, memberContinuation: true, scopedTools: true, contextProject: true, contextPreparation: true, subagentRuntime: true, localMcp: true, mcpRuntime: true, userChoicePreparation: true, localToolSettlement: true, runExecutionSettlement: true, runSteer: true });
142
- capabilities = AgentCliClient.capabilities;
143
- lifecycle = createLifecycleRegistry();
144
- config;
145
- handsPool;
146
- internals;
147
- constructor(config, internals) {
148
- const headers = validateServerHeaders(config.headers);
149
- this.config = headers === undefined ? config : { ...config, headers };
150
- this.handsPool = new LocalHandsPool(this.config);
151
- this.internals = internals;
152
- }
153
- async run(options) {
154
- if (options.clientSession && (options.webRunClaim || options.subagentRuntime !== 'event-v1' || options.mcpRuntime !== 'client-v1')) {
155
- throw new Error('Client session trees require explicit desktop runtime registration');
156
- }
157
- if (options.mcpRuntime && (options.mcpRuntime !== 'client-v1' || options.webRunClaim)) {
158
- throw new Error('MCP client runtime requires an explicit non-Web registration');
159
- }
160
- if ((options.localMcp || options.prepareLocalMcp) && (options.webRunClaim || (options.customContext && !options.customContext.teamAgents) || options.finalizeOnly
161
- || this.config.security?.readOnly || this.config.security?.toolScope)) {
162
- throw new Error('Local MCP is unavailable in Web, custom, read-only or scoped runs');
163
- }
164
- if (options.customContext !== undefined) {
165
- options = { ...options, customContext: copyCustomContext(options.customContext) };
166
- }
167
- const runtime = await createRunRuntime({
168
- config: this.config,
169
- options,
170
- hostLifecycle: this.lifecycle,
171
- });
172
- const persistence = new TeamPersistence(options, runtime);
173
- options = persistence.wrap(options);
174
- const releaseToolRun = trackToolRun(this.config.workspaceDir, runtime.runId);
175
- runtime.hookCtx.emitAppEvent = (name, item) => options.onEvent?.({
176
- type: 'app.event',
177
- body: { name, item },
178
- });
179
- const bridge = new RunEndBridge();
180
- const steering = new RunSteerControl(runtime.runId, runtime.cancel.signal);
181
- void bridge.done.then(end => steering.finish(end.body.input_receipts));
182
- let changeBefore;
183
- let cleanupFailed = false;
184
- const completion = withPreparation({ signal: runtime.cancel.signal, timeoutMs: this.config.preparationTimeoutMs, diagnostics: runtime.preparation }, async (signal) => {
185
- runtime.hookCtx.signal = signal;
186
- if (options.finalizeOnly && (this.config.security?.readOnly || this.config.lifecycle?.enabled === false)) {
187
- throw new LinkError(ErrInvalidConfiguration, 'finalize-only requires writable engine hooks');
188
- }
189
- if (this.config.prepareEnvironment) {
190
- const prepareEnvironment = this.config.prepareEnvironment;
191
- runtime.environment = await runtime.preparation.run('environment', () => prepareEnvironment(signal));
192
- }
193
- if (runtime.environment)
194
- Object.assign(runtime.sessionEnv, runtime.environment.env);
195
- if (runtime.runtimeTools)
196
- Object.assign(runtime.sessionEnv, runtime.runtimeTools.env);
197
- signal.throwIfAborted();
198
- if (this.config.lifecycle?.enabled !== false && !options.finalizeOnly) {
199
- changeBefore = await runtime.preparation.run('workspace_probe', () => probeWorkspaceChange(this.config.workspaceDir, signal));
200
- }
201
- await runtime.preparation.run('run_start_hooks', () => runtime.lifecycle.emit('run:start', {
202
- runId: runtime.runId,
203
- sessionId: runtime.sessionId,
204
- engine: runtime.engine,
205
- workspaceDir: this.config.workspaceDir,
206
- readOnly: Boolean(this.config.security?.readOnly),
207
- }, runtime.hookCtx));
208
- signal.throwIfAborted();
209
- const context = await bootstrapEngineContext(this.config, options, runtime, signal);
210
- // Host context preparation resolves role grants before the MCP factory intersects global authority.
211
- if (options.prepareLocalMcp) {
212
- if (options.localMcp)
213
- throw new Error('Provide a local MCP lease or a factory, not both');
214
- const factory = options.prepareLocalMcp;
215
- options = { ...options, localMcp: await runtime.preparation.run('local_mcp', () => factory(signal)) };
216
- }
217
- if (options.localMcp?.catalog.agent_tools?.length && !options.clientSession) {
218
- throw new Error('Agent MCP profiles require explicit desktop Team registration');
219
- }
220
- return context;
221
- }).finally(() => {
222
- runtime.hookCtx.signal = runtime.cancel.signal;
223
- }).then(async (context) => {
224
- if (options.finalizeOnly) {
225
- if (!runtime.lifecycle.hasRequired('run:complete')) {
226
- throw new LinkError(ErrInvalidConfiguration, 'context has no required finalization hooks');
227
- }
228
- bridge.completeLocal();
229
- return '';
230
- }
231
- return this.startLink(runtime, options, bridge, context, steering);
232
- }).then(async (output) => {
233
- persistence.assertHealthy();
234
- runtime.userChoices.assertHealthy();
235
- const end = await bridge.done;
236
- if (end.body.outcome === 'completed') {
237
- await this.emitRunComplete(runtime, changeBefore, Boolean(options.finalizeOnly));
238
- }
239
- return output;
240
- }).catch(async (error) => {
241
- bridge.failBeforeLink(error, runtime.cancel);
242
- throw error;
243
- }).finally(async () => {
244
- try {
245
- try {
246
- await options.localMcp?.close();
247
- }
248
- finally {
249
- await runtime.environment?.dispose();
250
- }
251
- }
252
- catch (error) {
253
- cleanupFailed = true;
254
- throw error;
255
- }
256
- finally {
257
- runtime.cancel.signal.throwIfAborted();
258
- }
259
- });
260
- // 服务端终态只描述模型执行。公开终态在本地必要收尾和能力释放后发布,所有出口共用它。
261
- const done = completion.then(() => bridge.done, async (error) => {
262
- const end = await bridge.done;
263
- if (end.body.outcome !== 'completed')
264
- return cleanupFailed
265
- ? { ...end, body: { ...end.body, execution_status: 'unknown' } } : end;
266
- if (runtime.cancel.requested) {
267
- return { type: 'run.end', body: { ...end.body, outcome: 'cancelled', cancelled_by: 'client' } };
268
- }
269
- const failure = error instanceof LinkError ? error : new LinkError(ErrCLIExecutionFailed, error);
270
- return { type: 'run.end', body: { ...end.body, outcome: 'failed', error: failure, execution_status: 'unknown' } };
271
- }).then(async (end) => persistence.finish(runtime.userChoices.finish(end), await completion.catch(() => ''))).then(async (end) => {
272
- try {
273
- options.onEvent?.(end);
274
- }
275
- catch (error) {
276
- runtime.hookCtx.log('[agent-cli] onEvent callback failed: ' + String(error));
277
- }
278
- const failure = waitErrorFromRunEnd(end.body);
279
- if (failure) {
280
- await runtime.lifecycle.emit('run:failed', {
281
- runId: runtime.runId,
282
- sessionId: runtime.sessionId,
283
- error: failure,
284
- }, runtime.hookCtx);
285
- }
286
- return end;
287
- }).finally(async () => {
288
- try {
289
- releaseToolRun();
290
- if (runtime.temporaryContextRoot) {
291
- try {
292
- await cleanupUserSkillContext(runtime.temporaryContextRoot);
293
- }
294
- catch (error) {
295
- runtime.hookCtx.log(`[agent-cli] failed to remove temporary user skill context: ${error instanceof Error ? error.message : String(error)}`);
296
- }
297
- }
298
- }
299
- finally {
300
- runtime.contextRelease?.();
301
- }
302
- });
303
- return new AgentSession({
304
- runId: runtime.runId, sessionId: runtime.sessionId,
305
- cancel: runtime.cancel, completion, done, steering,
306
- });
307
- }
308
- async emitRunComplete(runtime, changeBefore, finalizeOnly) {
309
- const changeAfter = changeBefore === undefined ? undefined : await probeWorkspaceChange(this.config.workspaceDir, runtime.cancel.signal);
310
- runtime.cancel.signal.throwIfAborted();
311
- const summary = summarizeRun(runtime.ledger, changeBefore, changeAfter);
312
- if (!finalizeOnly && this.config.lifecycle?.detectWorkspaceChange) {
313
- summary.workspaceChanged = await this.config.lifecycle.detectWorkspaceChange({
314
- workspaceDir: this.config.workspaceDir, signal: runtime.cancel.signal,
315
- });
316
- runtime.cancel.signal.throwIfAborted();
317
- summary.workspaceChangeReason = '宿主发布基线';
318
- }
319
- if (finalizeOnly) {
320
- summary.workspaceChanged = true;
321
- summary.workspaceChangeReason = '仅重做必要收尾';
322
- }
323
- await runtime.lifecycle.emit('run:complete', {
324
- runId: runtime.runId,
325
- sessionId: runtime.sessionId,
326
- engine: runtime.engine,
327
- workspaceDir: this.config.workspaceDir,
328
- ...(runtime.hookCtx.contextDir ? { contextDir: runtime.hookCtx.contextDir } : {}),
329
- summary,
330
- }, runtime.hookCtx, { requiredOnly: finalizeOnly });
331
- runtime.cancel.signal.throwIfAborted();
332
- }
333
- async startLink(runtime, options, bridge, context, steering) {
334
- const references = validateReferenceRegistration(options.referenceMounts, runtime.clientRuntime && Boolean(options.clientSession));
335
- if (runtime.clientRuntime && options.clientSession) {
336
- const documents = context.project?.documents ?? options.customContext?.teamAgents ?? [];
337
- const memberTools = new MemberToolViews({ ...this.config, contextDir: context.contextDir }, documents, options.clientSession.agent_id, runtime.cancel.signal, references);
338
- if (memberTools.enabled)
339
- runtime.memberTools = memberTools;
340
- }
341
- const hands = references.length
342
- ? new LocalHands(referenceToolConfig({ ...this.config, contextDir: context.contextDir }, references), referenceToolMounts({ ...this.config, contextDir: context.contextDir }, references))
343
- : runtime.temporaryContextRoot && context.contextDir
344
- ? new LocalHands({ ...this.config, contextDir: context.contextDir })
345
- : this.handsPool.resolve(context.contextDir);
346
- const input = buildAgentCLIInput(options.prompt, options.images, options.references);
347
- if (!hasAgentCLIInputContent(input) && options.structuredInput === undefined) {
348
- throw new LinkError(ErrRunStartInvalid, { reason: 'empty_input' });
349
- }
350
- if (options.acquireResumeTicket && (!options.planRuntime || !options.resume || options.resumeTicket))
351
- throw new TypeError('Session claim acquisition requires explicit Plan resume');
352
- const resumeTicket = options.acquireResumeTicket ? await options.acquireResumeTicket(runtime.runId, runtime.cancel.signal) : options.resumeTicket;
353
- runtime.cancel.signal.throwIfAborted();
354
- const runStart = buildRunStartBody({
355
- contextDebugCapture: this.config.contextDebugCapture,
356
- ...(options.planRuntime ? { planRuntime: true } : {}),
357
- ...(resumeTicket ? { resumeTicket } : {}),
358
- ...(options.clientSession ? { clientSession: options.clientSession } : {}),
359
- ...(options.localMcp ? { localMcp: options.localMcp.catalog } : {}),
360
- ...(options.subagentRuntime !== undefined ? { subagentRuntime: options.subagentRuntime } : {}),
361
- ...(options.mcpRuntime !== undefined ? { mcpRuntime: options.mcpRuntime } : {}),
362
- ...(!options.webRunClaim && !runtime.conversationId && options.localProjectId ? { localProjectId: options.localProjectId } : {}),
363
- appId: runtime.appId,
364
- ...(runtime.conversationId ? { conversationId: runtime.conversationId } : {}),
365
- sessionId: runtime.sessionId,
366
- runId: runtime.runId,
367
- executionReceiptKey: options.executionReceiptKey,
368
- userId: runtime.userId,
369
- cwd: this.config.workspaceDir,
370
- engine: runtime.engine,
371
- input,
372
- ...(options.resume !== undefined ? { resume: options.resume } : {}),
373
- ...(this.config.security?.readOnly === true ? { readOnly: true } : {}),
374
- ...(options.customContext !== undefined ? { customContext: options.customContext } : {}),
375
- ...(options.assistantMessageId ? { assistantMessageId: options.assistantMessageId } : {}),
376
- ...(options.goalId ? { goalId: options.goalId } : {}),
377
- ...(options.workItemId ? { workItemId: options.workItemId } : {}),
378
- ...(options.attempt !== undefined ? { attempt: options.attempt } : {}),
379
- ...(options.epoch !== undefined ? { epoch: options.epoch } : {}),
380
- ...(options.planSync ? { planSync: options.planSync } : {}),
381
- ...(this.config.artAssistDomain ? { artAssistDomain: this.config.artAssistDomain } : {}),
382
- ...(context.contextSha ? { contextSha: context.contextSha } : {}),
383
- ...(context.project ? { contextProject: context.project } : {}),
384
- ...(options.model || this.config.model ? { model: options.model || this.config.model } : {}),
385
- ...(options.modelConfig || this.config.modelConfig
386
- ? { modelConfig: options.modelConfig || this.config.modelConfig }
387
- : {}),
388
- ...(options.expertIds !== undefined ? { expertIds: [...options.expertIds] } : {}),
389
- ...(options.expertDefinition ? { expertDefinition: { ...options.expertDefinition, skill_names: [...options.expertDefinition.skill_names] } } : {}),
390
- ...(options.isProMode !== undefined ? { isProMode: options.isProMode } : {}),
391
- ...(options.structuredInput !== undefined ? { structuredInput: options.structuredInput } : {}),
392
- ...(options.userSkillCompatibility !== undefined ? { userSkillCompatibility: options.userSkillCompatibility } : {}),
393
- ...(options.runtimeContext !== undefined ? { runtimeContext: options.runtimeContext } : {}),
394
- ...(options.mock ? { mock: options.mock } : {}),
395
- });
396
- const link = new LinkSession({
397
- config: this.config,
398
- runtime,
399
- hands,
400
- sessionOptions: options,
401
- runStart, steering,
402
- sink: { onEvent: (event) => { if (event.type !== 'run.end')
403
- options.onEvent?.(event); } },
404
- injectConn: this.internals?.injectConn,
405
- });
406
- bridge.attach(link);
407
- return await link.run();
408
- }
409
- }
410
- //# sourceMappingURL=client.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/session/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxH;;GAEG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BA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AAC,CAAC,EAAE,sBAAsB,EAAE,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACnH,GAAG,CAAC,OAAO,CAAC,cAAc,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC3F,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAChD,CAAC,CAAC;QAEH,MAAM,IAAI,GAAG,IAAI,WAAW,CAAC;YAC3B,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,OAAO;YACP,KAAK;YACL,cAAc,EAAE,OAAO;YACvB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,GAAG,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS;oBAAE,OAAO,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE;YACzF,UAAU,EAAE,IAAI,CAAC,SAAS,EAAE,UAAU;SACvC,CAAC,CAAC;QACH,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACpB,OAAO,MAAM,IAAI,CAAC,GAAG,EAAE,CAAC;IAC1B,CAAC"}
@@ -1,6 +0,0 @@
1
- /** Validate and snapshot the optional SDK task context before runtime setup. */
2
- import type { CustomContext } from '../shared/types.js';
3
- /** Compiled desktop documents follow wire budgets, independently of role-editor storage policy. */
4
- export declare function validateCustomTeamDocuments(value: unknown): NonNullable<CustomContext['teamAgents']>;
5
- export declare function copyCustomContext(value: unknown): CustomContext;
6
- //# sourceMappingURL=custom-context.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom-context.d.ts","sourceRoot":"","sources":["../../../src/session/custom-context.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AAUtD,mGAAmG;AACnG,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAiBpG;AAGD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,aAAa,CAgD/D"}