agentworkshop 0.11.0 → 0.11.2

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 (2657) hide show
  1. package/README-zh.md +24 -4
  2. package/README.md +25 -7
  3. package/app/assets/css/main.css +25 -9
  4. package/app/components/AppSidebar.vue +32 -7
  5. package/app/components/dashboard/DashboardAlarmQueue.vue +282 -0
  6. package/app/components/dashboard/DashboardStatusBand.vue +209 -0
  7. package/app/components/workshop/ChannelSessionList.vue +10 -6
  8. package/app/components/workshop/ChatTimeline.vue +223 -174
  9. package/app/components/workshop/Composer.vue +9 -2
  10. package/app/components/workshop/SessionManageView.vue +20 -8
  11. package/app/components/workshop/blocks/ClusterTool.vue +9 -4
  12. package/app/components/workshop/composer/ComposerToolbar.vue +10 -1
  13. package/app/components/workshop/console/Rail.vue +6 -0
  14. package/app/components/workshop/console/SessionMiniList.vue +3 -3
  15. package/app/components/workshop/console/Topbar.vue +11 -0
  16. package/app/composables/workshop/apiClient.ts +9 -5
  17. package/app/composables/workshop/event-blocks/attention.ts +2 -1
  18. package/app/composables/workshop/useDaqStream.ts +5 -2
  19. package/app/composables/workshop/useDcwStream.ts +22 -5
  20. package/app/composables/workshop/usePluginAdmin.ts +2 -2
  21. package/app/composables/workshop/useWorkshopApi.ts +22 -4
  22. package/app/layouts/console.vue +36 -1
  23. package/app/layouts/default.vue +30 -1
  24. package/app/pages/daq/composables/useDaqOptimizations.ts +9 -1
  25. package/app/pages/dcw/composables/useDcwRecipes.ts +7 -0
  26. package/app/pages/index.vue +15 -4
  27. package/app/pages/plugins/index.vue +4 -3
  28. package/app/pages/workshop/composables/useAgentHarnessOptions.ts +9 -4
  29. package/app/pages/workshop/composables/useTeamCreateDialog.ts +2 -2
  30. package/app/plugins/http.ts +7 -59
  31. package/app/stores/workshop/events.ts +2 -1
  32. package/app/utils/auth-session.ts +73 -0
  33. package/app/utils/pending-approval.ts +14 -0
  34. package/cli/commands/doctor.mjs +5 -1
  35. package/cli/commands/stop.mjs +48 -5
  36. package/config.yml +1 -1
  37. package/docs/aml.md +1 -1
  38. package/docs/cli.en.md +8 -8
  39. package/docs/cli.md +8 -8
  40. package/docs/plugins.en.md +1 -1
  41. package/docs/plugins.md +1 -1
  42. package/docs/sdk.en.md +1 -1
  43. package/docs/sdk.md +1 -1
  44. package/i18n/locales/en.ts +10 -0
  45. package/i18n/locales/zh-CN.ts +10 -0
  46. package/package.json +1 -1
  47. package/scripts/_audit/omp-channel-project-session-live.mjs +481 -481
  48. package/scripts/_audit/omp-project-single-live.mjs +167 -167
  49. package/scripts/_audit/project-landing-live.mjs +659 -659
  50. package/scripts/_live-aml-real-chain.mjs +167 -0
  51. package/scripts/_live-aml-real-chain10.mjs +157 -0
  52. package/scripts/_live-aml-real-chain11.mjs +163 -0
  53. package/scripts/_live-aml-real-chain13.mjs +174 -0
  54. package/scripts/_live-aml-real-chain2.mjs +150 -0
  55. package/scripts/_live-aml-real-chain3.mjs +159 -0
  56. package/scripts/_live-aml-real-chain4.mjs +156 -0
  57. package/scripts/_live-aml-real-chain5.mjs +161 -0
  58. package/scripts/_live-aml-real-chain6.mjs +136 -0
  59. package/scripts/_live-aml-real-chain7.mjs +137 -0
  60. package/scripts/_live-aml-real-chain8.mjs +129 -0
  61. package/scripts/_live-aml-real-chain9.mjs +147 -0
  62. package/scripts/_live-rsi-b2-fix.mjs +62 -0
  63. package/scripts/_live-rsi-bootstrap.mjs +106 -0
  64. package/scripts/_live-rsi-channels.mjs +51 -0
  65. package/scripts/_live-rsi-evolution.mjs +152 -0
  66. package/scripts/_live-rsi-llm-smoke.mjs +47 -0
  67. package/scripts/_live-rsi-llm-smoke2.mjs +48 -0
  68. package/scripts/_live-rsi-plan-kick.mjs +51 -0
  69. package/scripts/_live-rsi-project.mjs +189 -0
  70. package/scripts/_live-rsi-project2.mjs +120 -0
  71. package/scripts/_live-rsi-provision.mjs +50 -0
  72. package/scripts/_live-rsi-shots.mjs +49 -0
  73. package/scripts/_live-rsi-smarter-check.mjs +92 -0
  74. package/scripts/_live-rsi-write-intent.mjs +99 -0
  75. package/scripts/acceptance-rsi-live-e2e.mjs +31 -5
  76. package/scripts/demo/accept-harness-fix.mjs +32 -0
  77. package/scripts/e2e-project-line-acceptance.mjs +117 -48
  78. package/scripts/start.mjs +16 -2
  79. package/server/api/system/shutdown.post.ts +61 -0
  80. package/server/api/workshop/agent-tools/approvals/[id]/decide.post.ts +11 -0
  81. package/server/api/workshop/approvals/[id]/decide.post.ts +19 -3
  82. package/server/api/workshop/channels/[id]/harness-bench-runs/index.post.ts +62 -0
  83. package/server/api/workshop/channels/[id]/harness-profiles/index.post.ts +6 -4
  84. package/server/api/workshop/channels/[id]/harness-profiles/promote.post.ts +7 -2
  85. package/server/api/workshop/channels/[id]/improvement-proposals/decide.post.ts +39 -0
  86. package/server/api/workshop/channels/[id]/improvement-proposals/index.get.ts +24 -0
  87. package/server/api/workshop/channels/[id]/memories/merge.post.ts +37 -0
  88. package/server/api/workshop/channels/[id]/sessions/[sid]/close.post.ts +2 -1
  89. package/server/api/workshop/channels/[id]/sessions/[sid]/messages.post.ts +2 -1
  90. package/server/api/workshop/channels/[id]/sessions/index.post.ts +16 -3
  91. package/server/api/workshop/channels/[id]/tool-usage.get.ts +38 -0
  92. package/server/api/workshop/daq/[id]/ingest.post.ts +7 -1
  93. package/server/api/workshop/dcw/[id]/write.post.ts +13 -3
  94. package/server/api/workshop/dcw/params/[id]/write.post.ts +4 -3
  95. package/server/api/workshop/hitl/history.get.ts +51 -0
  96. package/server/api/workshop/plugins/index.get.ts +4 -2
  97. package/server/api/workshop/tasks/[id]/reopen.post.ts +2 -1
  98. package/server/api/workshop/ws/event-mapping.ts +16 -15
  99. package/server/plugins/security.ts +3 -1
  100. package/server/plugins/workshop.ts +11 -1
  101. package/server/services/workshop/agents/acp-hitl-mapping.ts +95 -0
  102. package/server/services/workshop/agents/agent-interface.ts +5 -0
  103. package/server/services/workshop/agents/base-agent.ts +34 -3
  104. package/server/services/workshop/agents/codex-agent/turn.ts +3 -6
  105. package/server/services/workshop/agents/dsh-agent.ts +8 -26
  106. package/server/services/workshop/agents/execution-mode.ts +6 -2
  107. package/server/services/workshop/agents/harness-availability.ts +25 -2
  108. package/server/services/workshop/agents/hermes-agent.ts +7 -24
  109. package/server/services/workshop/agents/hitl-capabilities.ts +36 -25
  110. package/server/services/workshop/agents/hitl-registry.ts +7 -1
  111. package/server/services/workshop/agents/host-tool-bridge/dispatch.ts +1 -1
  112. package/server/services/workshop/agents/host-tool-bridge/tools/messaging.ts +14 -2
  113. package/server/services/workshop/agents/industrial/line-tools.ts +10 -0
  114. package/server/services/workshop/agents/industrial/ops-tools.ts +47 -3
  115. package/server/services/workshop/agents/industrial/recipe-gate.ts +6 -4
  116. package/server/services/workshop/agents/omp-agent/client.ts +3 -1
  117. package/server/services/workshop/agents/omp-agent/core.ts +2 -2
  118. package/server/services/workshop/agents/omp-agent/supervision-decision.ts +8 -2
  119. package/server/services/workshop/agents/omp-agent/tools-steer.ts +8 -1
  120. package/server/services/workshop/agents/opencode-agent/engine-agnostic.ts +4 -5
  121. package/server/services/workshop/agents/pi-agent.ts +2 -0
  122. package/server/services/workshop/agents/registry.ts +31 -4
  123. package/server/services/workshop/agents/session-clone.ts +110 -45
  124. package/server/services/workshop/agents/tool-usage.ts +82 -0
  125. package/server/services/workshop/aml/dataset-builder.ts +47 -12
  126. package/server/services/workshop/aml/twin/channel-profile.ts +4 -1
  127. package/server/services/workshop/db/channel-event.repo.ts +20 -1
  128. package/server/services/workshop/db/channel-plugins.repo.ts +24 -0
  129. package/server/services/workshop/db/database/migrations-harness-bench.ts +44 -0
  130. package/server/services/workshop/db/database/migrations-session.ts +5 -0
  131. package/server/services/workshop/db/database/open.ts +3 -0
  132. package/server/services/workshop/db/database/rows.ts +2 -0
  133. package/server/services/workshop/db/database/schema.ts +5 -0
  134. package/server/services/workshop/db/harness-bench.repo.ts +66 -0
  135. package/server/services/workshop/db/improvement.repo.ts +17 -1
  136. package/server/services/workshop/db/memory.repo.ts +17 -7
  137. package/server/services/workshop/db/message.repo.ts +87 -25
  138. package/server/services/workshop/db/project-kernel.repo.ts +13 -0
  139. package/server/services/workshop/db/schema.sql +6 -0
  140. package/server/services/workshop/db/tool-registry.repo.ts +27 -34
  141. package/server/services/workshop/dcw/dcw-controller/write-audit.ts +8 -4
  142. package/server/services/workshop/dcw/dcw-controller/write.ts +3 -2
  143. package/server/services/workshop/dcw/dcw-node.repo.ts +11 -7
  144. package/server/services/workshop/dcw/drivers/index.ts +1 -1
  145. package/server/services/workshop/dcw/drivers/registry.ts +8 -9
  146. package/server/services/workshop/experience/bench-run.ts +143 -0
  147. package/server/services/workshop/experience/gates.ts +40 -5
  148. package/server/services/workshop/experience/overlay.ts +12 -1
  149. package/server/services/workshop/experience/promote.ts +148 -14
  150. package/server/services/workshop/process-model/eligibility-service.ts +58 -3
  151. package/server/services/workshop/projects/event-ingress.ts +7 -1
  152. package/server/services/workshop/projects/kernel.ts +9 -0
  153. package/server/services/workshop/projects/service.ts +378 -59
  154. package/server/services/workshop/projects/tool-surface.ts +3 -0
  155. package/server/services/workshop/projects/watchdog.ts +26 -0
  156. package/server/services/workshop/runtime/agent-runtime/lifecycle.ts +24 -27
  157. package/server/services/workshop/runtime/agent-runtime/message.ts +5 -1
  158. package/server/services/workshop/runtime/agent-runtime/state.ts +4 -0
  159. package/server/services/workshop/runtime/agent-runtime/supervise.ts +28 -2
  160. package/server/services/workshop/runtime/mailbox.ts +25 -5
  161. package/server/services/workshop/runtime/manager/a2a.ts +10 -0
  162. package/server/services/workshop/runtime/manager/admin-agents.ts +33 -1
  163. package/server/services/workshop/runtime/manager/admin-channel.ts +17 -0
  164. package/server/services/workshop/runtime/manager/broadcast-targets.ts +29 -0
  165. package/server/services/workshop/runtime/manager/contracts.ts +2 -0
  166. package/server/services/workshop/runtime/manager/runtime-observe.ts +6 -0
  167. package/server/services/workshop/runtime/manager/runtime-wiring.ts +33 -8
  168. package/server/services/workshop/runtime/manager/state.ts +29 -9
  169. package/server/services/workshop/runtime/manager/tasks.ts +18 -0
  170. package/server/services/workshop/runtime/manager/workspace.ts +1 -0
  171. package/server/services/workshop/runtime/scheduler-loop/execute.ts +13 -1
  172. package/server/services/workshop/runtime/scheduler-loop/tick.ts +76 -62
  173. package/server/services/workshop/runtime/task-engine/transition.ts +9 -0
  174. package/server/services/workshop/runtime/task-engine/views.ts +6 -0
  175. package/server/services/workshop/settings.ts +2 -0
  176. package/server/utils/response.ts +24 -2
  177. package/server/utils/validate.ts +7 -3
  178. package/shared/agent-blocks.ts +31 -3
  179. package/shared/config/schema.json +1 -0
  180. package/shared/daq-protocol.ts +2 -0
  181. package/shared/workshop-protocol.ts +5 -2
  182. package/.output/.AgentWorkShop/aml-python/aml_eval.py +0 -204
  183. package/.output/.AgentWorkShop/aml-python/amlkit.py +0 -404
  184. package/.output/.AgentWorkShop/aml-python/requirements.txt +0 -12
  185. package/.output/.AgentWorkShop/aml-python/train-example.py +0 -92
  186. package/.output/.AgentWorkShop/aml-python/train-hybrid-example.py +0 -333
  187. package/.output/.AgentWorkShop/optimizer-python/probe.py +0 -24
  188. package/.output/.AgentWorkShop/optimizer-python/problems.py +0 -347
  189. package/.output/.AgentWorkShop/optimizer-python/worker.py +0 -119
  190. package/.output/.AgentWorkShop/prompts/aml-mission-default.md +0 -20
  191. package/.output/.AgentWorkShop/prompts/aml-playbook.md +0 -49
  192. package/.output/.AgentWorkShop/prompts/compaction-hints.md +0 -9
  193. package/.output/.AgentWorkShop/prompts/host-tools.en.json +0 -360
  194. package/.output/.AgentWorkShop/prompts/host-tools.json +0 -4816
  195. package/.output/.AgentWorkShop/prompts/lead-supervise.md +0 -73
  196. package/.output/.AgentWorkShop/prompts/mode-goal.md +0 -26
  197. package/.output/.AgentWorkShop/prompts/mode-loop.md +0 -10
  198. package/.output/.AgentWorkShop/prompts/mode-pipeline.md +0 -16
  199. package/.output/.AgentWorkShop/prompts/peer-lead-roster.md +0 -3
  200. package/.output/.AgentWorkShop/prompts/peer-message.md +0 -14
  201. package/.output/.AgentWorkShop/prompts/peer-reply-cross-channel.md +0 -10
  202. package/.output/.AgentWorkShop/prompts/peer-reply-optional.md +0 -6
  203. package/.output/.AgentWorkShop/prompts/peer-reply-required.md +0 -9
  204. package/.output/.AgentWorkShop/prompts/project-leader.md +0 -74
  205. package/.output/.AgentWorkShop/prompts/project-member.md +0 -41
  206. package/.output/.AgentWorkShop/prompts/scenario-default.md +0 -11
  207. package/.output/.AgentWorkShop/prompts/system-manual.md +0 -23
  208. package/.output/.AgentWorkShop/prompts/team-roster.md +0 -9
  209. package/.output/.AgentWorkShop/prompts/worker-workflow.md +0 -19
  210. package/.output/.AgentWorkShop/schema.json +0 -176
  211. package/.output/nitro.json +0 -15
  212. package/.output/public/_nuxt/-Q8hhgyk.js +0 -1
  213. package/.output/public/_nuxt/0jcGGdiJ.js +0 -19
  214. package/.output/public/_nuxt/11Nifltq2.js +0 -16
  215. package/.output/public/_nuxt/2v5GdspM2.js +0 -1
  216. package/.output/public/_nuxt/36oeS8_R.js +0 -1
  217. package/.output/public/_nuxt/3e_2BycO2.js +0 -3
  218. package/.output/public/_nuxt/3stpx5v5.js +0 -1
  219. package/.output/public/_nuxt/79qPRzcC2.js +0 -3
  220. package/.output/public/_nuxt/90I2uxf9.js +0 -1
  221. package/.output/public/_nuxt/9j2J4k4w2.js +0 -1
  222. package/.output/public/_nuxt/9l23acpz2.js +0 -1
  223. package/.output/public/_nuxt/AuthGate.72Jdc4d6.css +0 -1
  224. package/.output/public/_nuxt/AwStateBlock.B9L_Fu6e.css +0 -1
  225. package/.output/public/_nuxt/B-9EbtIW2.js +0 -1
  226. package/.output/public/_nuxt/B1h4ZjKu.js +0 -20
  227. package/.output/public/_nuxt/B37d6f-P.js +0 -1
  228. package/.output/public/_nuxt/B3fa5S-c2.js +0 -17
  229. package/.output/public/_nuxt/B4JaolxV.js +0 -1
  230. package/.output/public/_nuxt/B4_lb-hZ2.js +0 -1
  231. package/.output/public/_nuxt/B5D1k6CB.js +0 -2
  232. package/.output/public/_nuxt/B5n3iKvm2.js +0 -1
  233. package/.output/public/_nuxt/B6C4WofF.js +0 -1
  234. package/.output/public/_nuxt/B6Olw0Op.js +0 -1
  235. package/.output/public/_nuxt/B6w08G2N2.js +0 -1
  236. package/.output/public/_nuxt/BBhLVYdM.js +0 -1
  237. package/.output/public/_nuxt/BBrRELH3.js +0 -2
  238. package/.output/public/_nuxt/BDNMzG2s.js +0 -1
  239. package/.output/public/_nuxt/BFUO7wT0.js +0 -1
  240. package/.output/public/_nuxt/BGkumHZ3.js +0 -102
  241. package/.output/public/_nuxt/BIuErhov2.js +0 -21
  242. package/.output/public/_nuxt/BJnH3XGI.js +0 -55
  243. package/.output/public/_nuxt/BK1Wg4k6.js +0 -1
  244. package/.output/public/_nuxt/BKAI-arY.js +0 -1
  245. package/.output/public/_nuxt/BOdCcIEI2.js +0 -1
  246. package/.output/public/_nuxt/BPfjrFyN.js +0 -1
  247. package/.output/public/_nuxt/BRWKp6702.js +0 -4
  248. package/.output/public/_nuxt/BUPY0LcX2.js +0 -1
  249. package/.output/public/_nuxt/BUf_m0T1.js +0 -1
  250. package/.output/public/_nuxt/BYcDah2p.js +0 -1
  251. package/.output/public/_nuxt/BYzim_Bn.js +0 -1
  252. package/.output/public/_nuxt/BZ0ix1Ab.js +0 -1
  253. package/.output/public/_nuxt/B_Obcbiu.js +0 -1
  254. package/.output/public/_nuxt/B_QTRqu7.js +0 -36
  255. package/.output/public/_nuxt/BaOjvyjw.js +0 -14
  256. package/.output/public/_nuxt/BaRRVnQ9.js +0 -1
  257. package/.output/public/_nuxt/Bb5R_mHx.js +0 -11
  258. package/.output/public/_nuxt/BcQzmnsA2.js +0 -13
  259. package/.output/public/_nuxt/BclHgAY62.js +0 -1
  260. package/.output/public/_nuxt/BeQSn5og.js +0 -1
  261. package/.output/public/_nuxt/Bi79W_18.js +0 -1
  262. package/.output/public/_nuxt/BjSEVANF.js +0 -1
  263. package/.output/public/_nuxt/BkSViqQd.js +0 -1
  264. package/.output/public/_nuxt/Bko5adbu.js +0 -1
  265. package/.output/public/_nuxt/BkpeWA4m.js +0 -1
  266. package/.output/public/_nuxt/BlBWS3ti2.js +0 -1
  267. package/.output/public/_nuxt/BlhXbeTX2.js +0 -1
  268. package/.output/public/_nuxt/BlqCJ-DH2.js +0 -1
  269. package/.output/public/_nuxt/BmBlIIJo.js +0 -1
  270. package/.output/public/_nuxt/BmrSQRl-.js +0 -15
  271. package/.output/public/_nuxt/Bmvt9ydE.js +0 -1
  272. package/.output/public/_nuxt/BnkO7kdT.js +0 -1
  273. package/.output/public/_nuxt/BoyuIoSm.js +0 -1
  274. package/.output/public/_nuxt/BpbFCFKu.js +0 -1
  275. package/.output/public/_nuxt/BqFaZ4kS.js +0 -1
  276. package/.output/public/_nuxt/BrIJiJSN.js +0 -18
  277. package/.output/public/_nuxt/BrJmRI0f.js +0 -1
  278. package/.output/public/_nuxt/BrRX-l9B.js +0 -4108
  279. package/.output/public/_nuxt/Brrx47vD2.js +0 -1
  280. package/.output/public/_nuxt/Bsz3bCTJ2.js +0 -1
  281. package/.output/public/_nuxt/BtumQhZK.js +0 -1
  282. package/.output/public/_nuxt/BuwoMOU3.js +0 -1
  283. package/.output/public/_nuxt/BvRk9kiK.js +0 -0
  284. package/.output/public/_nuxt/BvRk9kiK2.js +0 -0
  285. package/.output/public/_nuxt/BxHBIVAg2.js +0 -1
  286. package/.output/public/_nuxt/C--Z9QgF2.js +0 -1
  287. package/.output/public/_nuxt/C-_MFw252.js +0 -1
  288. package/.output/public/_nuxt/C-f6cf5p.js +0 -1
  289. package/.output/public/_nuxt/C-wrWG5m.js +0 -1
  290. package/.output/public/_nuxt/C0Db9tR_2.js +0 -1
  291. package/.output/public/_nuxt/C0I4h6do.js +0 -1
  292. package/.output/public/_nuxt/C14pM5G4.js +0 -1
  293. package/.output/public/_nuxt/C50LmoI12.js +0 -0
  294. package/.output/public/_nuxt/C63qmNDQ2.js +0 -1
  295. package/.output/public/_nuxt/C6lssmvl.js +0 -3
  296. package/.output/public/_nuxt/CBpkE3Aa.js +0 -1
  297. package/.output/public/_nuxt/CC6Ehw1G.js +0 -1
  298. package/.output/public/_nuxt/CDYLasP8.js +0 -1
  299. package/.output/public/_nuxt/CElzwyXQ.js +0 -1
  300. package/.output/public/_nuxt/CHSAaKgE.js +0 -209
  301. package/.output/public/_nuxt/CHoCLi5W.js +0 -47
  302. package/.output/public/_nuxt/CHpYSwnV.js +0 -1
  303. package/.output/public/_nuxt/CIlyTdj52.js +0 -1
  304. package/.output/public/_nuxt/CKNNF-xC.js +0 -1
  305. package/.output/public/_nuxt/CKcZnB1p2.js +0 -3
  306. package/.output/public/_nuxt/CMDDJOia2.js +0 -1
  307. package/.output/public/_nuxt/CMDM5xOY.js +0 -1
  308. package/.output/public/_nuxt/CMZiqkZT.js +0 -1
  309. package/.output/public/_nuxt/CNs_Ozdc2.js +0 -1
  310. package/.output/public/_nuxt/CPvFGbr8.js +0 -1
  311. package/.output/public/_nuxt/CTozMT1w.js +0 -1
  312. package/.output/public/_nuxt/CUdJHUOd2.js +0 -3
  313. package/.output/public/_nuxt/CWKEp1wx.js +0 -2
  314. package/.output/public/_nuxt/CYlhxKPT2.js +0 -1
  315. package/.output/public/_nuxt/CZgxZE_w2.js +0 -1
  316. package/.output/public/_nuxt/CapieqzZ.js +0 -1
  317. package/.output/public/_nuxt/CavpkQb0.js +0 -1
  318. package/.output/public/_nuxt/Cd_FGeQ02.js +0 -1
  319. package/.output/public/_nuxt/CeHHFuEe.js +0 -1
  320. package/.output/public/_nuxt/CeKA95oA.js +0 -3
  321. package/.output/public/_nuxt/CfE35xQa2.js +0 -1
  322. package/.output/public/_nuxt/CfIbFnJz2.js +0 -1
  323. package/.output/public/_nuxt/Cgk2EgLD.js +0 -2
  324. package/.output/public/_nuxt/Cgym6fLd2.js +0 -1
  325. package/.output/public/_nuxt/Ch1P2mIf.js +0 -1
  326. package/.output/public/_nuxt/Cj6ShdfL.js +0 -1
  327. package/.output/public/_nuxt/CjCOXFiz.js +0 -1
  328. package/.output/public/_nuxt/CjCc77Ql.js +0 -1
  329. package/.output/public/_nuxt/CjXh9ppu.js +0 -1
  330. package/.output/public/_nuxt/Cjo1t2IF.js +0 -1
  331. package/.output/public/_nuxt/ClHOB05A.js +0 -1
  332. package/.output/public/_nuxt/Clbj62PV2.js +0 -8
  333. package/.output/public/_nuxt/CmqsQnWt.js +0 -1
  334. package/.output/public/_nuxt/Cn6EojFe.js +0 -1
  335. package/.output/public/_nuxt/CnKTXX0a.js +0 -1
  336. package/.output/public/_nuxt/CnrGVJIr.js +0 -1
  337. package/.output/public/_nuxt/CpqcC-_22.js +0 -7
  338. package/.output/public/_nuxt/CuHnwZbm.js +0 -1
  339. package/.output/public/_nuxt/CwHhmA3N.js +0 -1
  340. package/.output/public/_nuxt/Cxkz2-AL.js +0 -1
  341. package/.output/public/_nuxt/D-80EfyA.js +0 -1
  342. package/.output/public/_nuxt/D08OeqjW.js +0 -1
  343. package/.output/public/_nuxt/D0foRT8I2.js +0 -9
  344. package/.output/public/_nuxt/D1MkndMZ.js +0 -3
  345. package/.output/public/_nuxt/D2EC-BTb2.js +0 -1
  346. package/.output/public/_nuxt/D2G_6rw22.js +0 -1
  347. package/.output/public/_nuxt/D4ZePemJ.js +0 -1
  348. package/.output/public/_nuxt/D6amMglQ.js +0 -1
  349. package/.output/public/_nuxt/D7TZLu4F2.js +0 -1
  350. package/.output/public/_nuxt/D83nVQPl.js +0 -1
  351. package/.output/public/_nuxt/D8W5rESd2.js +0 -1
  352. package/.output/public/_nuxt/D8pEcr9N.js +0 -1
  353. package/.output/public/_nuxt/D9saExk92.js +0 -1
  354. package/.output/public/_nuxt/DC-2eKo6.js +0 -1
  355. package/.output/public/_nuxt/DCSVbNSB.js +0 -1
  356. package/.output/public/_nuxt/DDHEw9dY2.js +0 -1
  357. package/.output/public/_nuxt/DDLi49qE.js +0 -1
  358. package/.output/public/_nuxt/DDVBwkyn.js +0 -18
  359. package/.output/public/_nuxt/DFI6asjj2.js +0 -1
  360. package/.output/public/_nuxt/DHC2ikLc2.js +0 -13
  361. package/.output/public/_nuxt/DHzMFapn2.js +0 -1
  362. package/.output/public/_nuxt/DIOBYJe3.js +0 -1
  363. package/.output/public/_nuxt/DIr9MY9q.js +0 -1
  364. package/.output/public/_nuxt/DK3Fl9T5.js +0 -1
  365. package/.output/public/_nuxt/DKOvbitt.js +0 -1
  366. package/.output/public/_nuxt/DM4Cc5KR.js +0 -24
  367. package/.output/public/_nuxt/DNlwacP7.js +0 -1
  368. package/.output/public/_nuxt/DNxudyND.js +0 -4
  369. package/.output/public/_nuxt/DOT-XQyi.js +0 -1
  370. package/.output/public/_nuxt/DPPC9Teq.js +0 -1
  371. package/.output/public/_nuxt/DPvZxAt02.js +0 -1
  372. package/.output/public/_nuxt/DQASfdDj.js +0 -1
  373. package/.output/public/_nuxt/DRjWbqgj.js +0 -1
  374. package/.output/public/_nuxt/DUeT6tuA.js +0 -1
  375. package/.output/public/_nuxt/DVW0xnJo2.js +0 -1
  376. package/.output/public/_nuxt/DVmcVDzr2.js +0 -2
  377. package/.output/public/_nuxt/DW6X-3XT.js +0 -1
  378. package/.output/public/_nuxt/DWy0AjON2.js +0 -1
  379. package/.output/public/_nuxt/DYeXifLh.js +0 -1
  380. package/.output/public/_nuxt/DYn9yfaP2.js +0 -20
  381. package/.output/public/_nuxt/DaB6g_SI2.js +0 -1
  382. package/.output/public/_nuxt/DaIBQrku.js +0 -1
  383. package/.output/public/_nuxt/DbKKkPx8.js +0 -1
  384. package/.output/public/_nuxt/Df35i2Tg.js +0 -1
  385. package/.output/public/_nuxt/DjGYvFyA.js +0 -1
  386. package/.output/public/_nuxt/DkJVtqfc2.js +0 -1
  387. package/.output/public/_nuxt/DkRozlDP2.js +0 -1
  388. package/.output/public/_nuxt/DkfR8ywD.js +0 -1
  389. package/.output/public/_nuxt/DlkrODnc2.js +0 -1
  390. package/.output/public/_nuxt/Du9v6qGB.js +0 -1
  391. package/.output/public/_nuxt/DuO-LNOb.js +0 -18
  392. package/.output/public/_nuxt/DuTmP7mz2.js +0 -2
  393. package/.output/public/_nuxt/DudoisLM.js +0 -1
  394. package/.output/public/_nuxt/DuvJisIF.js +0 -1
  395. package/.output/public/_nuxt/Dv_vyxzC.js +0 -1
  396. package/.output/public/_nuxt/DvfiRGS-.js +0 -1
  397. package/.output/public/_nuxt/Dwv6GMxX2.js +0 -1
  398. package/.output/public/_nuxt/Dx14WT7C.js +0 -1
  399. package/.output/public/_nuxt/DybRo6-H2.js +0 -0
  400. package/.output/public/_nuxt/DzPypczG.js +0 -1
  401. package/.output/public/_nuxt/DzS3BKMP2.js +0 -31
  402. package/.output/public/_nuxt/Ekq3Bz5S2.js +0 -1
  403. package/.output/public/_nuxt/FQK98hkN.js +0 -1
  404. package/.output/public/_nuxt/FXfpV_JX.js +0 -1
  405. package/.output/public/_nuxt/HclGiUj8.js +0 -1
  406. package/.output/public/_nuxt/KgE9WwCD.js +0 -98
  407. package/.output/public/_nuxt/LiHaSoeY.js +0 -2
  408. package/.output/public/_nuxt/LoginModal.DC-oRSSy.css +0 -1
  409. package/.output/public/_nuxt/MJD65-MH2.js +0 -1
  410. package/.output/public/_nuxt/N-CCmCsX.js +0 -1
  411. package/.output/public/_nuxt/OVP8I5uy.js +0 -1
  412. package/.output/public/_nuxt/OcOZpOac2.js +0 -1
  413. package/.output/public/_nuxt/OmpTerminalPanel.CoA7kG4C.css +0 -1
  414. package/.output/public/_nuxt/PWLUz4KM2.js +0 -1
  415. package/.output/public/_nuxt/PluginSlot.BqBzLD4T.css +0 -1
  416. package/.output/public/_nuxt/R1g64DNi2.js +0 -1
  417. package/.output/public/_nuxt/R5Pz7BqB.js +0 -1
  418. package/.output/public/_nuxt/RQZfgR_-.js +0 -1
  419. package/.output/public/_nuxt/TOWR4WpO.js +0 -1
  420. package/.output/public/_nuxt/TownView.CASu6sUI.css +0 -1
  421. package/.output/public/_nuxt/TugRY_4O.js +0 -1
  422. package/.output/public/_nuxt/WZrTmJqL.js +0 -1
  423. package/.output/public/_nuxt/XqXoaoDs.js +0 -1
  424. package/.output/public/_nuxt/YW-P_jm22.js +0 -1
  425. package/.output/public/_nuxt/ZBqKRppy2.js +0 -1
  426. package/.output/public/_nuxt/ZMaEnWy-.js +0 -1
  427. package/.output/public/_nuxt/Zkbt8Uk5.js +0 -1
  428. package/.output/public/_nuxt/ZqzOEndh.js +0 -1
  429. package/.output/public/_nuxt/_id_.BHZvZP0F.css +0 -1
  430. package/.output/public/_nuxt/_id_.CHcnHuNN.css +0 -1
  431. package/.output/public/_nuxt/_id_.zFcqhvGk.css +0 -1
  432. package/.output/public/_nuxt/_wsId_.2GiFh9as.css +0 -1
  433. package/.output/public/_nuxt/agents.BsyoIGhn.css +0 -1
  434. package/.output/public/_nuxt/aml.DgOMpDpv.css +0 -1
  435. package/.output/public/_nuxt/analysis.CGJZ8ctl.css +0 -1
  436. package/.output/public/_nuxt/board.ByfnFvkG.css +0 -1
  437. package/.output/public/_nuxt/builds/latest.json +0 -1
  438. package/.output/public/_nuxt/builds/meta/cf638aaa-655e-454c-9786-ffa73903190a.json +0 -1
  439. package/.output/public/_nuxt/channel-templates.CNEjJi8V.css +0 -1
  440. package/.output/public/_nuxt/console.u4ati522.css +0 -1
  441. package/.output/public/_nuxt/d8QWugeg.js +0 -1
  442. package/.output/public/_nuxt/dVw8IHY6.js +0 -1
  443. package/.output/public/_nuxt/daq.CS4HP5dD.css +0 -1
  444. package/.output/public/_nuxt/data.DgiWCudr.css +0 -1
  445. package/.output/public/_nuxt/dcw.BbTO8y0I.css +0 -1
  446. package/.output/public/_nuxt/default.CwrtJt16.css +0 -1
  447. package/.output/public/_nuxt/eb-garamond-cyrillic-400-italic.BGIwiowF.woff2 +0 -0
  448. package/.output/public/_nuxt/eb-garamond-cyrillic-400-italic.BZInx2ys.woff +0 -0
  449. package/.output/public/_nuxt/eb-garamond-cyrillic-400-normal.C0kVTdou.woff +0 -0
  450. package/.output/public/_nuxt/eb-garamond-cyrillic-400-normal.DDLP67lu.woff2 +0 -0
  451. package/.output/public/_nuxt/eb-garamond-cyrillic-ext-400-italic.Bz1w3xqM.woff2 +0 -0
  452. package/.output/public/_nuxt/eb-garamond-cyrillic-ext-400-italic.CYS3phfl.woff +0 -0
  453. package/.output/public/_nuxt/eb-garamond-cyrillic-ext-400-normal.DG8lny6_.woff +0 -0
  454. package/.output/public/_nuxt/eb-garamond-cyrillic-ext-400-normal.o8fRvAFQ.woff2 +0 -0
  455. package/.output/public/_nuxt/eb-garamond-greek-400-italic.BamGE6QP.woff +0 -0
  456. package/.output/public/_nuxt/eb-garamond-greek-400-italic.Dqr5KC66.woff2 +0 -0
  457. package/.output/public/_nuxt/eb-garamond-greek-400-normal.CVAbzS9p.woff2 +0 -0
  458. package/.output/public/_nuxt/eb-garamond-greek-400-normal.d4JlP2QH.woff +0 -0
  459. package/.output/public/_nuxt/eb-garamond-greek-ext-400-italic.BL1XYHtS.woff +0 -0
  460. package/.output/public/_nuxt/eb-garamond-greek-ext-400-italic.CHZOQEtG.woff2 +0 -0
  461. package/.output/public/_nuxt/eb-garamond-greek-ext-400-normal.BaZl8BIK.woff +0 -0
  462. package/.output/public/_nuxt/eb-garamond-greek-ext-400-normal.K8pwR3tn.woff2 +0 -0
  463. package/.output/public/_nuxt/eb-garamond-latin-400-italic.CDFyLPXJ.woff +0 -0
  464. package/.output/public/_nuxt/eb-garamond-latin-400-italic.DSEbMgZu.woff2 +0 -0
  465. package/.output/public/_nuxt/eb-garamond-latin-400-normal.BCNrxLz_.woff2 +0 -0
  466. package/.output/public/_nuxt/eb-garamond-latin-400-normal.maQnHeKB.woff +0 -0
  467. package/.output/public/_nuxt/eb-garamond-latin-ext-400-italic.DUSsnRSD.woff +0 -0
  468. package/.output/public/_nuxt/eb-garamond-latin-ext-400-italic.V7s3nWfX.woff2 +0 -0
  469. package/.output/public/_nuxt/eb-garamond-latin-ext-400-normal.B4EmgUmt.woff +0 -0
  470. package/.output/public/_nuxt/eb-garamond-latin-ext-400-normal.o4A__6QZ.woff2 +0 -0
  471. package/.output/public/_nuxt/eb-garamond-vietnamese-400-italic.DQ8HKnks.woff2 +0 -0
  472. package/.output/public/_nuxt/eb-garamond-vietnamese-400-italic.ORtyMVfw.woff +0 -0
  473. package/.output/public/_nuxt/eb-garamond-vietnamese-400-normal.CLvJdMEL.woff2 +0 -0
  474. package/.output/public/_nuxt/eb-garamond-vietnamese-400-normal.ifvNSiWx.woff +0 -0
  475. package/.output/public/_nuxt/entry.DttkgxyK.css +0 -1
  476. package/.output/public/_nuxt/geist-cyrillic-ext-wght-normal.DjL33-gN.woff2 +0 -0
  477. package/.output/public/_nuxt/geist-cyrillic-wght-normal.BEAKL7Jp.woff2 +0 -0
  478. package/.output/public/_nuxt/geist-latin-ext-wght-normal.DC-KSUi6.woff2 +0 -0
  479. package/.output/public/_nuxt/geist-latin-wght-normal.BgDaEnEv.woff2 +0 -0
  480. package/.output/public/_nuxt/geist-mono-cyrillic-ext-wght-normal.X_5orZeX.woff2 +0 -0
  481. package/.output/public/_nuxt/geist-mono-cyrillic-wght-normal.DiZS0aHC.woff2 +0 -0
  482. package/.output/public/_nuxt/geist-mono-latin-ext-wght-normal.Bwz-egvJ.woff2 +0 -0
  483. package/.output/public/_nuxt/geist-mono-latin-wght-normal.XN7g48iV.woff2 +0 -0
  484. package/.output/public/_nuxt/geist-mono-symbols2-wght-normal.CO5SzqOn.woff2 +0 -0
  485. package/.output/public/_nuxt/geist-mono-vietnamese-wght-normal.DadHysG0.woff2 +0 -0
  486. package/.output/public/_nuxt/geist-vietnamese-wght-normal.6IgcOCM7.woff2 +0 -0
  487. package/.output/public/_nuxt/iFgnsAy8.js +0 -1
  488. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-400-normal.BSMlKf0J.woff2 +0 -0
  489. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-400-normal.CEL4l2ZJ.woff +0 -0
  490. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-500-normal.Ael50iVv.woff +0 -0
  491. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-500-normal.Bq9vWWag.woff2 +0 -0
  492. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-600-normal.CTOM6hUh.woff2 +0 -0
  493. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-600-normal.fLZuRloM.woff +0 -0
  494. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-400-normal.DMdlQ8Kv.woff +0 -0
  495. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-400-normal.xuaO2J-f.woff2 +0 -0
  496. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-500-normal.BIfNGwUT.woff +0 -0
  497. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-500-normal.BqneJy0T.woff2 +0 -0
  498. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-600-normal.9HEixskS.woff +0 -0
  499. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-600-normal.V-xxqcpd.woff2 +0 -0
  500. package/.output/public/_nuxt/ibm-plex-mono-latin-400-normal.CvHOgSBP.woff +0 -0
  501. package/.output/public/_nuxt/ibm-plex-mono-latin-400-normal.DMJ8VG8y.woff2 +0 -0
  502. package/.output/public/_nuxt/ibm-plex-mono-latin-500-normal.CB9ihrfo.woff +0 -0
  503. package/.output/public/_nuxt/ibm-plex-mono-latin-500-normal.DSY6xOcd.woff2 +0 -0
  504. package/.output/public/_nuxt/ibm-plex-mono-latin-600-normal.BgSNZQsw.woff2 +0 -0
  505. package/.output/public/_nuxt/ibm-plex-mono-latin-600-normal.DWFSQ4vo.woff +0 -0
  506. package/.output/public/_nuxt/ibm-plex-mono-latin-ext-400-normal.BmRBH3aV.woff2 +0 -0
  507. package/.output/public/_nuxt/ibm-plex-mono-latin-ext-400-normal.D3D2R8hC.woff +0 -0
  508. package/.output/public/_nuxt/ibm-plex-mono-latin-ext-500-normal.CAhNIIs5.woff2 +0 -0
  509. package/.output/public/_nuxt/ibm-plex-mono-latin-ext-500-normal.CZ70TYgx.woff +0 -0
  510. package/.output/public/_nuxt/ibm-plex-mono-latin-ext-600-normal.D38SheWl.woff2 +0 -0
  511. package/.output/public/_nuxt/ibm-plex-mono-latin-ext-600-normal.DmB0ttJJ.woff +0 -0
  512. package/.output/public/_nuxt/ibm-plex-mono-vietnamese-400-normal.BulugwFq.woff2 +0 -0
  513. package/.output/public/_nuxt/ibm-plex-mono-vietnamese-400-normal.DDuiU_S-.woff +0 -0
  514. package/.output/public/_nuxt/ibm-plex-mono-vietnamese-500-normal.C8zxqsMH.woff +0 -0
  515. package/.output/public/_nuxt/ibm-plex-mono-vietnamese-500-normal.DZ4AoWbu.woff2 +0 -0
  516. package/.output/public/_nuxt/ibm-plex-mono-vietnamese-600-normal.D2EvbN8M.woff2 +0 -0
  517. package/.output/public/_nuxt/ibm-plex-mono-vietnamese-600-normal.iLQfcSjf.woff +0 -0
  518. package/.output/public/_nuxt/jDuiDtGb2.js +0 -1
  519. package/.output/public/_nuxt/k9b520K-2.js +0 -1
  520. package/.output/public/_nuxt/kHiXWyIi.js +0 -1
  521. package/.output/public/_nuxt/kZl6yT-1.js +0 -1
  522. package/.output/public/_nuxt/lO5tpDZ52.js +0 -1
  523. package/.output/public/_nuxt/lSwTNaIl2.js +0 -1
  524. package/.output/public/_nuxt/logs.Dp8KWwBk.css +0 -1
  525. package/.output/public/_nuxt/monitor.OoNTwfMJ.css +0 -1
  526. package/.output/public/_nuxt/nDicqfeK2.js +0 -2
  527. package/.output/public/_nuxt/ontology.Clux6c4G.css +0 -1
  528. package/.output/public/_nuxt/operations.Cng_qjn9.css +0 -1
  529. package/.output/public/_nuxt/optimizer.P13x8ONW.css +0 -1
  530. package/.output/public/_nuxt/pL0Ovxcd.js +0 -2
  531. package/.output/public/_nuxt/pages.DsQ6cWQH.css +0 -1
  532. package/.output/public/_nuxt/permissions.C41gvgL_.css +0 -1
  533. package/.output/public/_nuxt/pipeline.CYRrisV7.css +0 -1
  534. package/.output/public/_nuxt/plugins.BmI7067O.css +0 -1
  535. package/.output/public/_nuxt/projects.B0DecJy4.css +0 -1
  536. package/.output/public/_nuxt/qRhx4oNY2.js +0 -1
  537. package/.output/public/_nuxt/ri9UF8rk.js +0 -2
  538. package/.output/public/_nuxt/rxhDcyfF.js +0 -1
  539. package/.output/public/_nuxt/schedules.CW6MrUU7.css +0 -1
  540. package/.output/public/_nuxt/settings.NpUsT4m-.css +0 -1
  541. package/.output/public/_nuxt/studio.BiiONLaO.css +0 -1
  542. package/.output/public/_nuxt/teams.FXqrphf_.css +0 -1
  543. package/.output/public/_nuxt/tokens.DKZWCP5v.css +0 -1
  544. package/.output/public/_nuxt/tools.YhBrIlWP.css +0 -1
  545. package/.output/public/_nuxt/town.BZPLR4A_.css +0 -1
  546. package/.output/public/_nuxt/town.oVv8Kxwv.css +0 -1
  547. package/.output/public/_nuxt/users.CxoVGm_i.css +0 -1
  548. package/.output/public/_nuxt/workshop.Csi6_Wwg.css +0 -1
  549. package/.output/public/assets/game/character/bot.png +0 -0
  550. package/.output/public/assets/game/character/device-3d.glb +0 -0
  551. package/.output/public/assets/game/character/hero-3d.glb +0 -0
  552. package/.output/public/assets/game/character/hero-anime-1.glb +0 -0
  553. package/.output/public/assets/game/character/hero-anime-2.glb +0 -0
  554. package/.output/public/assets/game/character/hero-anime-3.glb +0 -0
  555. package/.output/public/assets/game/character/hero-anime-4.glb +0 -0
  556. package/.output/public/assets/game/character/knight.png +0 -0
  557. package/.output/public/assets/game/character/mage.png +0 -0
  558. package/.output/public/assets/game/character/yangyang-walk.glb +0 -4
  559. package/.output/public/assets/game/coin.png +0 -0
  560. package/.output/public/assets/game/devices/agv.glb +0 -0
  561. package/.output/public/assets/game/devices/caster.glb +0 -0
  562. package/.output/public/assets/game/devices/device-console.glb +0 -0
  563. package/.output/public/assets/game/devices/device-robot-arm.glb +0 -0
  564. package/.output/public/assets/game/devices/device-scanner.glb +0 -0
  565. package/.output/public/assets/game/devices/extruder.glb +0 -0
  566. package/.output/public/assets/game/devices/mdo.glb +0 -0
  567. package/.output/public/assets/game/devices/power-cabinet.glb +0 -0
  568. package/.output/public/assets/game/devices/pump.glb +0 -0
  569. package/.output/public/assets/game/devices/tdo.glb +0 -0
  570. package/.output/public/assets/game/devices/thickness-scanner.glb +0 -0
  571. package/.output/public/assets/game/devices/winder.glb +0 -0
  572. package/.output/public/assets/game/npc/boltnu-sheet.png +0 -0
  573. package/.output/public/assets/game/npc/fluttaflap-sheet.png +0 -0
  574. package/.output/public/assets/game/npc/rockitten-sheet.png +0 -0
  575. package/.output/public/assets/game/npc/tux-sheet.png +0 -0
  576. package/.output/public/assets/game/player/misa-back-walk.000.png +0 -0
  577. package/.output/public/assets/game/player/misa-back-walk.001.png +0 -0
  578. package/.output/public/assets/game/player/misa-back-walk.002.png +0 -0
  579. package/.output/public/assets/game/player/misa-back-walk.003.png +0 -0
  580. package/.output/public/assets/game/player/misa-back.png +0 -0
  581. package/.output/public/assets/game/player/misa-front-walk.000.png +0 -0
  582. package/.output/public/assets/game/player/misa-front-walk.001.png +0 -0
  583. package/.output/public/assets/game/player/misa-front-walk.002.png +0 -0
  584. package/.output/public/assets/game/player/misa-front-walk.003.png +0 -0
  585. package/.output/public/assets/game/player/misa-front.png +0 -0
  586. package/.output/public/assets/game/player/misa-left-walk.000.png +0 -0
  587. package/.output/public/assets/game/player/misa-left-walk.001.png +0 -0
  588. package/.output/public/assets/game/player/misa-left-walk.002.png +0 -0
  589. package/.output/public/assets/game/player/misa-left-walk.003.png +0 -0
  590. package/.output/public/assets/game/player/misa-left.png +0 -0
  591. package/.output/public/assets/game/player/misa-right-walk.000.png +0 -0
  592. package/.output/public/assets/game/player/misa-right-walk.001.png +0 -0
  593. package/.output/public/assets/game/player/misa-right-walk.002.png +0 -0
  594. package/.output/public/assets/game/player/misa-right-walk.003.png +0 -0
  595. package/.output/public/assets/game/player/misa-right.png +0 -0
  596. package/.output/public/assets/game/player-sheet.png +0 -0
  597. package/.output/public/assets/game/tuxemon-town.json +0 -1
  598. package/.output/public/assets/game/tuxmon-sample-32px-extruded.png +0 -0
  599. package/.output/public/assets/game/wuwa/scene-map.png +0 -0
  600. package/.output/public/assets/game/wuwa/world-far.png +0 -0
  601. package/.output/public/assets/game/wuwa/world-middle.png +0 -0
  602. package/.output/public/assets/game/wuwa/world-near.png +0 -0
  603. package/.output/public/assets/game/wuwa/wu-aura.png +0 -0
  604. package/.output/public/assets/game/wuwa/wu-lead.png +0 -0
  605. package/.output/public/assets/game/wuwa/wu-ring.png +0 -0
  606. package/.output/public/assets/game/wuwa/wu-slash.png +0 -0
  607. package/.output/public/assets/game/wuwa/wu-worker-0.png +0 -0
  608. package/.output/public/assets/game/wuwa/wu-worker-1.png +0 -0
  609. package/.output/public/assets/game/wuwa/wu-worker-2.png +0 -0
  610. package/.output/public/favicon.svg +0 -14
  611. package/.output/public/robots.txt +0 -3
  612. package/.output/public/scene/background/cyber-town-background.svg +0 -110
  613. package/.output/server/chunks/_/AuthGate-CHcbeXmS.mjs +0 -716
  614. package/.output/server/chunks/_/AuthGate-CHcbeXmS.mjs.map +0 -1
  615. package/.output/server/chunks/_/AwStateBlock-BpEjyHDS.mjs +0 -61
  616. package/.output/server/chunks/_/AwStateBlock-BpEjyHDS.mjs.map +0 -1
  617. package/.output/server/chunks/_/FormItemContext-z-0xRhkz.mjs +0 -72
  618. package/.output/server/chunks/_/FormItemContext-z-0xRhkz.mjs.map +0 -1
  619. package/.output/server/chunks/_/LeftOutlined.mjs +0 -23
  620. package/.output/server/chunks/_/LeftOutlined.mjs.map +0 -1
  621. package/.output/server/chunks/_/LoginModal-1E9nGc2T.mjs +0 -170
  622. package/.output/server/chunks/_/LoginModal-1E9nGc2T.mjs.map +0 -1
  623. package/.output/server/chunks/_/OmpTerminalPanel-B0gg37C3.mjs +0 -947
  624. package/.output/server/chunks/_/OmpTerminalPanel-B0gg37C3.mjs.map +0 -1
  625. package/.output/server/chunks/_/PluginSlot-CGwo_Wf0.mjs +0 -141
  626. package/.output/server/chunks/_/PluginSlot-CGwo_Wf0.mjs.map +0 -1
  627. package/.output/server/chunks/_/RightOutlined.mjs +0 -23
  628. package/.output/server/chunks/_/RightOutlined.mjs.map +0 -1
  629. package/.output/server/chunks/_/SearchOutlined.mjs +0 -1401
  630. package/.output/server/chunks/_/SearchOutlined.mjs.map +0 -1
  631. package/.output/server/chunks/_/TownView-Cpb_4CFs.mjs +0 -6517
  632. package/.output/server/chunks/_/TownView-Cpb_4CFs.mjs.map +0 -1
  633. package/.output/server/chunks/_/_id_-7j1H6aZV.mjs +0 -397
  634. package/.output/server/chunks/_/_id_-7j1H6aZV.mjs.map +0 -1
  635. package/.output/server/chunks/_/_id_-Ca3d9Npk.mjs +0 -2117
  636. package/.output/server/chunks/_/_id_-Ca3d9Npk.mjs.map +0 -1
  637. package/.output/server/chunks/_/_id_-Dl378h-P.mjs +0 -995
  638. package/.output/server/chunks/_/_id_-Dl378h-P.mjs.map +0 -1
  639. package/.output/server/chunks/_/_wsId_-e7Fm33hR.mjs +0 -14629
  640. package/.output/server/chunks/_/_wsId_-e7Fm33hR.mjs.map +0 -1
  641. package/.output/server/chunks/_/access.mjs +0 -155
  642. package/.output/server/chunks/_/access.mjs.map +0 -1
  643. package/.output/server/chunks/_/agent-dto.mjs +0 -27
  644. package/.output/server/chunks/_/agent-dto.mjs.map +0 -1
  645. package/.output/server/chunks/_/agents-b-cZhEKx.mjs +0 -1081
  646. package/.output/server/chunks/_/agents-b-cZhEKx.mjs.map +0 -1
  647. package/.output/server/chunks/_/alert-CbahhWU9.mjs +0 -263
  648. package/.output/server/chunks/_/alert-CbahhWU9.mjs.map +0 -1
  649. package/.output/server/chunks/_/aml-B1Ol798_.mjs +0 -816
  650. package/.output/server/chunks/_/aml-B1Ol798_.mjs.map +0 -1
  651. package/.output/server/chunks/_/analysis-DvtU3Ots.mjs +0 -564
  652. package/.output/server/chunks/_/analysis-DvtU3Ots.mjs.map +0 -1
  653. package/.output/server/chunks/_/api-BG72BTM0.mjs +0 -55
  654. package/.output/server/chunks/_/api-BG72BTM0.mjs.map +0 -1
  655. package/.output/server/chunks/_/api-Cl6M-Xfy.mjs +0 -66
  656. package/.output/server/chunks/_/api-Cl6M-Xfy.mjs.map +0 -1
  657. package/.output/server/chunks/_/api-D08TrIcY.mjs +0 -74
  658. package/.output/server/chunks/_/api-D08TrIcY.mjs.map +0 -1
  659. package/.output/server/chunks/_/api-error-Dsbhh1FC.mjs +0 -47
  660. package/.output/server/chunks/_/api-error-Dsbhh1FC.mjs.map +0 -1
  661. package/.output/server/chunks/_/apiClient-D24CIrq6.mjs +0 -81
  662. package/.output/server/chunks/_/apiClient-D24CIrq6.mjs.map +0 -1
  663. package/.output/server/chunks/_/binding-authz.mjs +0 -30
  664. package/.output/server/chunks/_/binding-authz.mjs.map +0 -1
  665. package/.output/server/chunks/_/board-BTPPacSz.mjs +0 -191
  666. package/.output/server/chunks/_/board-BTPPacSz.mjs.map +0 -1
  667. package/.output/server/chunks/_/builtin-catalog-edpDcgfL.mjs +0 -117
  668. package/.output/server/chunks/_/builtin-catalog-edpDcgfL.mjs.map +0 -1
  669. package/.output/server/chunks/_/card-B6pQnI6T.mjs +0 -953
  670. package/.output/server/chunks/_/card-B6pQnI6T.mjs.map +0 -1
  671. package/.output/server/chunks/_/catalog-view.mjs +0 -177
  672. package/.output/server/chunks/_/catalog-view.mjs.map +0 -1
  673. package/.output/server/chunks/_/channel-templates-spMDDSU6.mjs +0 -945
  674. package/.output/server/chunks/_/channel-templates-spMDDSU6.mjs.map +0 -1
  675. package/.output/server/chunks/_/character-asset.repo.mjs +0 -83
  676. package/.output/server/chunks/_/character-asset.repo.mjs.map +0 -1
  677. package/.output/server/chunks/_/chart-pipeline-BpoWYMK_.mjs +0 -233
  678. package/.output/server/chunks/_/chart-pipeline-BpoWYMK_.mjs.map +0 -1
  679. package/.output/server/chunks/_/chart-repo.mjs +0 -160
  680. package/.output/server/chunks/_/chart-repo.mjs.map +0 -1
  681. package/.output/server/chunks/_/chart-trend-BWeZh5Lv.mjs +0 -117
  682. package/.output/server/chunks/_/chart-trend-BWeZh5Lv.mjs.map +0 -1
  683. package/.output/server/chunks/_/checkbox-sc3CzvNT.mjs +0 -439
  684. package/.output/server/chunks/_/checkbox-sc3CzvNT.mjs.map +0 -1
  685. package/.output/server/chunks/_/client-only-Ci512Brd.mjs +0 -43
  686. package/.output/server/chunks/_/client-only-Ci512Brd.mjs.map +0 -1
  687. package/.output/server/chunks/_/console-DYDLwpPp.mjs +0 -94
  688. package/.output/server/chunks/_/console-DYDLwpPp.mjs.map +0 -1
  689. package/.output/server/chunks/_/constants-HPHJvjne.mjs +0 -144
  690. package/.output/server/chunks/_/constants-HPHJvjne.mjs.map +0 -1
  691. package/.output/server/chunks/_/core-1kL9oN1v.mjs +0 -294
  692. package/.output/server/chunks/_/core-1kL9oN1v.mjs.map +0 -1
  693. package/.output/server/chunks/_/daq-WT075QK5.mjs +0 -1318
  694. package/.output/server/chunks/_/daq-WT075QK5.mjs.map +0 -1
  695. package/.output/server/chunks/_/dashboard-repo.mjs +0 -127
  696. package/.output/server/chunks/_/dashboard-repo.mjs.map +0 -1
  697. package/.output/server/chunks/_/data-CJTJTwA-.mjs +0 -486
  698. package/.output/server/chunks/_/data-CJTJTwA-.mjs.map +0 -1
  699. package/.output/server/chunks/_/data-export.mjs +0 -235
  700. package/.output/server/chunks/_/data-export.mjs.map +0 -1
  701. package/.output/server/chunks/_/data-query.mjs +0 -162
  702. package/.output/server/chunks/_/data-query.mjs.map +0 -1
  703. package/.output/server/chunks/_/dataset-reader.mjs +0 -61
  704. package/.output/server/chunks/_/dataset-reader.mjs.map +0 -1
  705. package/.output/server/chunks/_/dcw-BhY0QjNL.mjs +0 -507
  706. package/.output/server/chunks/_/dcw-BhY0QjNL.mjs.map +0 -1
  707. package/.output/server/chunks/_/dcw-driver-badge-Df5wL_ZA.mjs +0 -20
  708. package/.output/server/chunks/_/dcw-driver-badge-Df5wL_ZA.mjs.map +0 -1
  709. package/.output/server/chunks/_/default-C3L2_Bnq.mjs +0 -2205
  710. package/.output/server/chunks/_/default-C3L2_Bnq.mjs.map +0 -1
  711. package/.output/server/chunks/_/descriptions-AfshxGyM.mjs +0 -406
  712. package/.output/server/chunks/_/descriptions-AfshxGyM.mjs.map +0 -1
  713. package/.output/server/chunks/_/drawer-Cg7ldsAU.mjs +0 -834
  714. package/.output/server/chunks/_/drawer-Cg7ldsAU.mjs.map +0 -1
  715. package/.output/server/chunks/_/dropdown-CpTs7y2y.mjs +0 -540
  716. package/.output/server/chunks/_/dropdown-CpTs7y2y.mjs.map +0 -1
  717. package/.output/server/chunks/_/dropdown-Du9DvhZm.mjs +0 -14
  718. package/.output/server/chunks/_/dropdown-Du9DvhZm.mjs.map +0 -1
  719. package/.output/server/chunks/_/eda-db.mjs +0 -211
  720. package/.output/server/chunks/_/eda-db.mjs.map +0 -1
  721. package/.output/server/chunks/_/eda-run.repo.mjs +0 -165
  722. package/.output/server/chunks/_/eda-run.repo.mjs.map +0 -1
  723. package/.output/server/chunks/_/entity.mjs +0 -174
  724. package/.output/server/chunks/_/entity.mjs.map +0 -1
  725. package/.output/server/chunks/_/error-500.mjs +0 -20
  726. package/.output/server/chunks/_/error-500.mjs.map +0 -1
  727. package/.output/server/chunks/_/es-oIijD7n7.mjs +0 -45
  728. package/.output/server/chunks/_/es-oIijD7n7.mjs.map +0 -1
  729. package/.output/server/chunks/_/features.mjs +0 -284
  730. package/.output/server/chunks/_/features.mjs.map +0 -1
  731. package/.output/server/chunks/_/firstNotUndefined-DefCyGRr.mjs +0 -2448
  732. package/.output/server/chunks/_/firstNotUndefined-DefCyGRr.mjs.map +0 -1
  733. package/.output/server/chunks/_/form-CjNa079N.mjs +0 -4712
  734. package/.output/server/chunks/_/form-CjNa079N.mjs.map +0 -1
  735. package/.output/server/chunks/_/golden.mjs +0 -197
  736. package/.output/server/chunks/_/golden.mjs.map +0 -1
  737. package/.output/server/chunks/_/hasIn-BRN-piJW.mjs +0 -553
  738. package/.output/server/chunks/_/hasIn-BRN-piJW.mjs.map +0 -1
  739. package/.output/server/chunks/_/hitl-4SjXbNrk.mjs +0 -132
  740. package/.output/server/chunks/_/hitl-4SjXbNrk.mjs.map +0 -1
  741. package/.output/server/chunks/_/host-bindings.mjs +0 -76
  742. package/.output/server/chunks/_/host-bindings.mjs.map +0 -1
  743. package/.output/server/chunks/_/index.mjs +0 -585
  744. package/.output/server/chunks/_/index.mjs.map +0 -1
  745. package/.output/server/chunks/_/input-D8G9mBIc.mjs +0 -2181
  746. package/.output/server/chunks/_/input-D8G9mBIc.mjs.map +0 -1
  747. package/.output/server/chunks/_/input-number-DHHaQM5z.mjs +0 -1120
  748. package/.output/server/chunks/_/input-number-DHHaQM5z.mjs.map +0 -1
  749. package/.output/server/chunks/_/interval-Biegu5WR.mjs +0 -9
  750. package/.output/server/chunks/_/interval-Biegu5WR.mjs.map +0 -1
  751. package/.output/server/chunks/_/isNumeric-CGg7F6vA.mjs +0 -7
  752. package/.output/server/chunks/_/isNumeric-CGg7F6vA.mjs.map +0 -1
  753. package/.output/server/chunks/_/line-scope.mjs +0 -32
  754. package/.output/server/chunks/_/line-scope.mjs.map +0 -1
  755. package/.output/server/chunks/_/logs-ClfR5sWn.mjs +0 -494
  756. package/.output/server/chunks/_/logs-ClfR5sWn.mjs.map +0 -1
  757. package/.output/server/chunks/_/markdown-DGPyLniR.mjs +0 -77
  758. package/.output/server/chunks/_/markdown-DGPyLniR.mjs.map +0 -1
  759. package/.output/server/chunks/_/menu-BjRtE2uF.mjs +0 -1952
  760. package/.output/server/chunks/_/menu-BjRtE2uF.mjs.map +0 -1
  761. package/.output/server/chunks/_/mes-console.mjs +0 -191
  762. package/.output/server/chunks/_/mes-console.mjs.map +0 -1
  763. package/.output/server/chunks/_/mes-secrets.repo.mjs +0 -109
  764. package/.output/server/chunks/_/mes-secrets.repo.mjs.map +0 -1
  765. package/.output/server/chunks/_/mes-templates.mjs +0 -297
  766. package/.output/server/chunks/_/mes-templates.mjs.map +0 -1
  767. package/.output/server/chunks/_/monitor-C6Bw0aNl.mjs +0 -2258
  768. package/.output/server/chunks/_/monitor-C6Bw0aNl.mjs.map +0 -1
  769. package/.output/server/chunks/_/narrow-fetch-CcG-BPxc.mjs +0 -6
  770. package/.output/server/chunks/_/narrow-fetch-CcG-BPxc.mjs.map +0 -1
  771. package/.output/server/chunks/_/nitro.mjs +0 -92811
  772. package/.output/server/chunks/_/nitro.mjs.map +0 -1
  773. package/.output/server/chunks/_/ocap.mjs +0 -145
  774. package/.output/server/chunks/_/ocap.mjs.map +0 -1
  775. package/.output/server/chunks/_/ontology-CS5n10_j.mjs +0 -1514
  776. package/.output/server/chunks/_/ontology-CS5n10_j.mjs.map +0 -1
  777. package/.output/server/chunks/_/operations-4t5GxQcD.mjs +0 -322
  778. package/.output/server/chunks/_/operations-4t5GxQcD.mjs.map +0 -1
  779. package/.output/server/chunks/_/optimizer-DVrHY72Z.mjs +0 -2314
  780. package/.output/server/chunks/_/optimizer-DVrHY72Z.mjs.map +0 -1
  781. package/.output/server/chunks/_/pages-BwA6EqWo.mjs +0 -557
  782. package/.output/server/chunks/_/pages-BwA6EqWo.mjs.map +0 -1
  783. package/.output/server/chunks/_/pagination-CeNvMdzb.mjs +0 -1346
  784. package/.output/server/chunks/_/pagination-CeNvMdzb.mjs.map +0 -1
  785. package/.output/server/chunks/_/permissions-ki7cqe3L.mjs +0 -666
  786. package/.output/server/chunks/_/permissions-ki7cqe3L.mjs.map +0 -1
  787. package/.output/server/chunks/_/pipeline-GJZGtwhU.mjs +0 -253
  788. package/.output/server/chunks/_/pipeline-GJZGtwhU.mjs.map +0 -1
  789. package/.output/server/chunks/_/plugins-CqG7txbg.mjs +0 -296
  790. package/.output/server/chunks/_/plugins-CqG7txbg.mjs.map +0 -1
  791. package/.output/server/chunks/_/popconfirm-DywMAMhb.mjs +0 -340
  792. package/.output/server/chunks/_/popconfirm-DywMAMhb.mjs.map +0 -1
  793. package/.output/server/chunks/_/progress-B0k_coQK.mjs +0 -775
  794. package/.output/server/chunks/_/progress-B0k_coQK.mjs.map +0 -1
  795. package/.output/server/chunks/_/projects-k6arYbBh.mjs +0 -345
  796. package/.output/server/chunks/_/projects-k6arYbBh.mjs.map +0 -1
  797. package/.output/server/chunks/_/promote.mjs +0 -186
  798. package/.output/server/chunks/_/promote.mjs.map +0 -1
  799. package/.output/server/chunks/_/radio-DcpEAHDK.mjs +0 -919
  800. package/.output/server/chunks/_/radio-DcpEAHDK.mjs.map +0 -1
  801. package/.output/server/chunks/_/responsiveObserve-BoksU-jb.mjs +0 -78
  802. package/.output/server/chunks/_/responsiveObserve-BoksU-jb.mjs.map +0 -1
  803. package/.output/server/chunks/_/rest-auth.mjs +0 -44
  804. package/.output/server/chunks/_/rest-auth.mjs.map +0 -1
  805. package/.output/server/chunks/_/scene-layout.repo.mjs +0 -66
  806. package/.output/server/chunks/_/scene-layout.repo.mjs.map +0 -1
  807. package/.output/server/chunks/_/schedules-CxmHiyKa.mjs +0 -7176
  808. package/.output/server/chunks/_/schedules-CxmHiyKa.mjs.map +0 -1
  809. package/.output/server/chunks/_/segmented-dvzd2V-7.mjs +0 -341
  810. package/.output/server/chunks/_/segmented-dvzd2V-7.mjs.map +0 -1
  811. package/.output/server/chunks/_/select-imeFpXye.mjs +0 -3923
  812. package/.output/server/chunks/_/select-imeFpXye.mjs.map +0 -1
  813. package/.output/server/chunks/_/settings-DKTf_GTL.mjs +0 -1043
  814. package/.output/server/chunks/_/settings-DKTf_GTL.mjs.map +0 -1
  815. package/.output/server/chunks/_/space-BlxKTnHk.mjs +0 -110
  816. package/.output/server/chunks/_/space-BlxKTnHk.mjs.map +0 -1
  817. package/.output/server/chunks/_/spc.mjs +0 -302
  818. package/.output/server/chunks/_/spc.mjs.map +0 -1
  819. package/.output/server/chunks/_/spin-ekVP9wPb.mjs +0 -357
  820. package/.output/server/chunks/_/spin-ekVP9wPb.mjs.map +0 -1
  821. package/.output/server/chunks/_/studio-RoQLs8jm.mjs +0 -381
  822. package/.output/server/chunks/_/studio-RoQLs8jm.mjs.map +0 -1
  823. package/.output/server/chunks/_/switch-DhwrCb3m.mjs +0 -377
  824. package/.output/server/chunks/_/switch-DhwrCb3m.mjs.map +0 -1
  825. package/.output/server/chunks/_/table-DrLcTII4.mjs +0 -7546
  826. package/.output/server/chunks/_/table-DrLcTII4.mjs.map +0 -1
  827. package/.output/server/chunks/_/tabs-CKejLvNM.mjs +0 -1916
  828. package/.output/server/chunks/_/tabs-CKejLvNM.mjs.map +0 -1
  829. package/.output/server/chunks/_/tag-D9TCOB--.mjs +0 -242
  830. package/.output/server/chunks/_/tag-D9TCOB--.mjs.map +0 -1
  831. package/.output/server/chunks/_/teams-jMekGUAp.mjs +0 -1206
  832. package/.output/server/chunks/_/teams-jMekGUAp.mjs.map +0 -1
  833. package/.output/server/chunks/_/template-repo.mjs +0 -97
  834. package/.output/server/chunks/_/template-repo.mjs.map +0 -1
  835. package/.output/server/chunks/_/tokens-CO9_NpeD.mjs +0 -1066
  836. package/.output/server/chunks/_/tokens-CO9_NpeD.mjs.map +0 -1
  837. package/.output/server/chunks/_/tools-D1-VH-_L.mjs +0 -499
  838. package/.output/server/chunks/_/tools-D1-VH-_L.mjs.map +0 -1
  839. package/.output/server/chunks/_/tooltip-_HkJX9_i.mjs +0 -920
  840. package/.output/server/chunks/_/tooltip-_HkJX9_i.mjs.map +0 -1
  841. package/.output/server/chunks/_/town-CCkZYizH.mjs +0 -144
  842. package/.output/server/chunks/_/town-CCkZYizH.mjs.map +0 -1
  843. package/.output/server/chunks/_/town-pIgFRdcR.mjs +0 -77
  844. package/.output/server/chunks/_/town-pIgFRdcR.mjs.map +0 -1
  845. package/.output/server/chunks/_/types-D6J7slEa.mjs +0 -5565
  846. package/.output/server/chunks/_/types-D6J7slEa.mjs.map +0 -1
  847. package/.output/server/chunks/_/types-DWqIeMRP.mjs +0 -78
  848. package/.output/server/chunks/_/types-DWqIeMRP.mjs.map +0 -1
  849. package/.output/server/chunks/_/useAgentHarnessOptions-CylYWQeu.mjs +0 -126
  850. package/.output/server/chunks/_/useAgentHarnessOptions-CylYWQeu.mjs.map +0 -1
  851. package/.output/server/chunks/_/useAgentTemplateActions-H8CqARqN.mjs +0 -79
  852. package/.output/server/chunks/_/useAgentTemplateActions-H8CqARqN.mjs.map +0 -1
  853. package/.output/server/chunks/_/useAgentTemplateDialogState-CZzpu5og.mjs +0 -69
  854. package/.output/server/chunks/_/useAgentTemplateDialogState-CZzpu5og.mjs.map +0 -1
  855. package/.output/server/chunks/_/useAgentTemplateForm-Ae0cyN4q.mjs +0 -119
  856. package/.output/server/chunks/_/useAgentTemplateForm-Ae0cyN4q.mjs.map +0 -1
  857. package/.output/server/chunks/_/useAgentTemplatesCatalog-CFfmRKC-.mjs +0 -135
  858. package/.output/server/chunks/_/useAgentTemplatesCatalog-CFfmRKC-.mjs.map +0 -1
  859. package/.output/server/chunks/_/useAmlDatasets-BfO2gg-Z.mjs +0 -94
  860. package/.output/server/chunks/_/useAmlDatasets-BfO2gg-Z.mjs.map +0 -1
  861. package/.output/server/chunks/_/useAmlEntities-D7TXBmbB.mjs +0 -88
  862. package/.output/server/chunks/_/useAmlEntities-D7TXBmbB.mjs.map +0 -1
  863. package/.output/server/chunks/_/useAmlEnv-D7JkE_PA.mjs +0 -196
  864. package/.output/server/chunks/_/useAmlEnv-D7JkE_PA.mjs.map +0 -1
  865. package/.output/server/chunks/_/useAmlExperiments-OKokvfaM.mjs +0 -91
  866. package/.output/server/chunks/_/useAmlExperiments-OKokvfaM.mjs.map +0 -1
  867. package/.output/server/chunks/_/useAmlFormat-DNrSqItx.mjs +0 -84
  868. package/.output/server/chunks/_/useAmlFormat-DNrSqItx.mjs.map +0 -1
  869. package/.output/server/chunks/_/useAmlJobs-BNmfSu93.mjs +0 -269
  870. package/.output/server/chunks/_/useAmlJobs-BNmfSu93.mjs.map +0 -1
  871. package/.output/server/chunks/_/useAmlModels-DGwJ-heH.mjs +0 -95
  872. package/.output/server/chunks/_/useAmlModels-DGwJ-heH.mjs.map +0 -1
  873. package/.output/server/chunks/_/useAmlNotes-CsA1Z0f8.mjs +0 -88
  874. package/.output/server/chunks/_/useAmlNotes-CsA1Z0f8.mjs.map +0 -1
  875. package/.output/server/chunks/_/useAmlPredict-CEm3iBOl.mjs +0 -132
  876. package/.output/server/chunks/_/useAmlPredict-CEm3iBOl.mjs.map +0 -1
  877. package/.output/server/chunks/_/useAnalysisFeed-CgEd7QjS.mjs +0 -131
  878. package/.output/server/chunks/_/useAnalysisFeed-CgEd7QjS.mjs.map +0 -1
  879. package/.output/server/chunks/_/useChartTheme-EmZwLO3z.mjs +0 -74
  880. package/.output/server/chunks/_/useChartTheme-EmZwLO3z.mjs.map +0 -1
  881. package/.output/server/chunks/_/useDaqAddNode-qUTVIBD0.mjs +0 -144
  882. package/.output/server/chunks/_/useDaqAddNode-qUTVIBD0.mjs.map +0 -1
  883. package/.output/server/chunks/_/useDaqDetailBinding-D0JkQZhl.mjs +0 -72
  884. package/.output/server/chunks/_/useDaqDetailBinding-D0JkQZhl.mjs.map +0 -1
  885. package/.output/server/chunks/_/useDaqDetailFrames-Du_raRy1.mjs +0 -81
  886. package/.output/server/chunks/_/useDaqDetailFrames-Du_raRy1.mjs.map +0 -1
  887. package/.output/server/chunks/_/useDaqDetailHistory-BQx0cKA6.mjs +0 -178
  888. package/.output/server/chunks/_/useDaqDetailHistory-BQx0cKA6.mjs.map +0 -1
  889. package/.output/server/chunks/_/useDaqDetailNode-UCnodI1A.mjs +0 -101
  890. package/.output/server/chunks/_/useDaqDetailNode-UCnodI1A.mjs.map +0 -1
  891. package/.output/server/chunks/_/useDaqDetailParams-D4ZVxVla.mjs +0 -161
  892. package/.output/server/chunks/_/useDaqDetailParams-D4ZVxVla.mjs.map +0 -1
  893. package/.output/server/chunks/_/useDaqFilters-CugTQrIt.mjs +0 -224
  894. package/.output/server/chunks/_/useDaqFilters-CugTQrIt.mjs.map +0 -1
  895. package/.output/server/chunks/_/useDaqNodeWindow-1DWj2H5G.mjs +0 -92
  896. package/.output/server/chunks/_/useDaqNodeWindow-1DWj2H5G.mjs.map +0 -1
  897. package/.output/server/chunks/_/useDaqOptimizations-_P1sco7P.mjs +0 -138
  898. package/.output/server/chunks/_/useDaqOptimizations-_P1sco7P.mjs.map +0 -1
  899. package/.output/server/chunks/_/useDaqStream-BVFNKAP9.mjs +0 -395
  900. package/.output/server/chunks/_/useDaqStream-BVFNKAP9.mjs.map +0 -1
  901. package/.output/server/chunks/_/useDaqTemplates-DmcUC_Aw.mjs +0 -189
  902. package/.output/server/chunks/_/useDaqTemplates-DmcUC_Aw.mjs.map +0 -1
  903. package/.output/server/chunks/_/useDashboardCharts-D_GnEy_4.mjs +0 -361
  904. package/.output/server/chunks/_/useDashboardCharts-D_GnEy_4.mjs.map +0 -1
  905. package/.output/server/chunks/_/useDashboardData-Dv1SJs3v.mjs +0 -150
  906. package/.output/server/chunks/_/useDashboardData-Dv1SJs3v.mjs.map +0 -1
  907. package/.output/server/chunks/_/useDcwAddNode-CZtXylAe.mjs +0 -221
  908. package/.output/server/chunks/_/useDcwAddNode-CZtXylAe.mjs.map +0 -1
  909. package/.output/server/chunks/_/useDcwCards-CItS2A_F.mjs +0 -69
  910. package/.output/server/chunks/_/useDcwCards-CItS2A_F.mjs.map +0 -1
  911. package/.output/server/chunks/_/useDcwDetailScope-Dyu0bYy9.mjs +0 -186
  912. package/.output/server/chunks/_/useDcwDetailScope-Dyu0bYy9.mjs.map +0 -1
  913. package/.output/server/chunks/_/useDcwDetailTemplates-CwK1rb2i.mjs +0 -150
  914. package/.output/server/chunks/_/useDcwDetailTemplates-CwK1rb2i.mjs.map +0 -1
  915. package/.output/server/chunks/_/useDcwFilter-CvuCOvU2.mjs +0 -73
  916. package/.output/server/chunks/_/useDcwFilter-CvuCOvU2.mjs.map +0 -1
  917. package/.output/server/chunks/_/useDcwLedger-CI-AK4j3.mjs +0 -81
  918. package/.output/server/chunks/_/useDcwLedger-CI-AK4j3.mjs.map +0 -1
  919. package/.output/server/chunks/_/useDcwLineMutations-CsS2rDUh.mjs +0 -139
  920. package/.output/server/chunks/_/useDcwLineMutations-CsS2rDUh.mjs.map +0 -1
  921. package/.output/server/chunks/_/useDcwLineRun-B1uLN_MJ.mjs +0 -106
  922. package/.output/server/chunks/_/useDcwLineRun-B1uLN_MJ.mjs.map +0 -1
  923. package/.output/server/chunks/_/useDcwParamApprovals-CVab6q8T.mjs +0 -123
  924. package/.output/server/chunks/_/useDcwParamApprovals-CVab6q8T.mjs.map +0 -1
  925. package/.output/server/chunks/_/useDcwProducts-OAvQBk5O.mjs +0 -95
  926. package/.output/server/chunks/_/useDcwProducts-OAvQBk5O.mjs.map +0 -1
  927. package/.output/server/chunks/_/useDcwQuery-dgEkZDAy.mjs +0 -100
  928. package/.output/server/chunks/_/useDcwQuery-dgEkZDAy.mjs.map +0 -1
  929. package/.output/server/chunks/_/useDcwQuickActions-C3ItztwI.mjs +0 -90
  930. package/.output/server/chunks/_/useDcwQuickActions-C3ItztwI.mjs.map +0 -1
  931. package/.output/server/chunks/_/useDcwRecipes-BD4PjvzG.mjs +0 -260
  932. package/.output/server/chunks/_/useDcwRecipes-BD4PjvzG.mjs.map +0 -1
  933. package/.output/server/chunks/_/useDcwStream-BTcOZh5H.mjs +0 -455
  934. package/.output/server/chunks/_/useDcwStream-BTcOZh5H.mjs.map +0 -1
  935. package/.output/server/chunks/_/useDcwTemplates-CsR6b3ws.mjs +0 -93
  936. package/.output/server/chunks/_/useDcwTemplates-CsR6b3ws.mjs.map +0 -1
  937. package/.output/server/chunks/_/useDcwWrites-C55DL7Fe.mjs +0 -142
  938. package/.output/server/chunks/_/useDcwWrites-C55DL7Fe.mjs.map +0 -1
  939. package/.output/server/chunks/_/useDeviceTwins-Ctvx111a.mjs +0 -128
  940. package/.output/server/chunks/_/useDeviceTwins-Ctvx111a.mjs.map +0 -1
  941. package/.output/server/chunks/_/useExpConfirmations-BTo6K_-o.mjs +0 -109
  942. package/.output/server/chunks/_/useExpConfirmations-BTo6K_-o.mjs.map +0 -1
  943. package/.output/server/chunks/_/useLocalTime-BIsExILL.mjs +0 -55
  944. package/.output/server/chunks/_/useLocalTime-BIsExILL.mjs.map +0 -1
  945. package/.output/server/chunks/_/useLogsFormat-jAfh97vI.mjs +0 -79
  946. package/.output/server/chunks/_/useLogsFormat-jAfh97vI.mjs.map +0 -1
  947. package/.output/server/chunks/_/useLogsManual-CJMnJAAq.mjs +0 -91
  948. package/.output/server/chunks/_/useLogsManual-CJMnJAAq.mjs.map +0 -1
  949. package/.output/server/chunks/_/useLogsQuery-BiJ7nmrc.mjs +0 -152
  950. package/.output/server/chunks/_/useLogsQuery-BiJ7nmrc.mjs.map +0 -1
  951. package/.output/server/chunks/_/useLogsScope-CUxlAoQN.mjs +0 -85
  952. package/.output/server/chunks/_/useLogsScope-CUxlAoQN.mjs.map +0 -1
  953. package/.output/server/chunks/_/useMonitorColumns-C3Zypz4w.mjs +0 -219
  954. package/.output/server/chunks/_/useMonitorColumns-C3Zypz4w.mjs.map +0 -1
  955. package/.output/server/chunks/_/useMonitorData-DaPi0oCf.mjs +0 -140
  956. package/.output/server/chunks/_/useMonitorData-DaPi0oCf.mjs.map +0 -1
  957. package/.output/server/chunks/_/useMonitorFormat-DRroE1-P.mjs +0 -93
  958. package/.output/server/chunks/_/useMonitorFormat-DRroE1-P.mjs.map +0 -1
  959. package/.output/server/chunks/_/useMonitorTerminal-Dj4QwRNW.mjs +0 -73
  960. package/.output/server/chunks/_/useMonitorTerminal-Dj4QwRNW.mjs.map +0 -1
  961. package/.output/server/chunks/_/useOperationsFeed-Cu6nZ5G2.mjs +0 -197
  962. package/.output/server/chunks/_/useOperationsFeed-Cu6nZ5G2.mjs.map +0 -1
  963. package/.output/server/chunks/_/useOpsLog-BfxRlo_n.mjs +0 -149
  964. package/.output/server/chunks/_/useOpsLog-BfxRlo_n.mjs.map +0 -1
  965. package/.output/server/chunks/_/useRecipeDispatchApprovals-Cyo-FL6y.mjs +0 -158
  966. package/.output/server/chunks/_/useRecipeDispatchApprovals-Cyo-FL6y.mjs.map +0 -1
  967. package/.output/server/chunks/_/useRefs-BgR7VJ3z.mjs +0 -13
  968. package/.output/server/chunks/_/useRefs-BgR7VJ3z.mjs.map +0 -1
  969. package/.output/server/chunks/_/useResponsive-BKDMGTHs.mjs +0 -49
  970. package/.output/server/chunks/_/useResponsive-BKDMGTHs.mjs.map +0 -1
  971. package/.output/server/chunks/_/useTeamActions-DmWnxoQW.mjs +0 -81
  972. package/.output/server/chunks/_/useTeamActions-DmWnxoQW.mjs.map +0 -1
  973. package/.output/server/chunks/_/useTeamAddMemberDialog-BGUKcpHg.mjs +0 -86
  974. package/.output/server/chunks/_/useTeamAddMemberDialog-BGUKcpHg.mjs.map +0 -1
  975. package/.output/server/chunks/_/useTeamCreateDialog-I5aNyEOk.mjs +0 -99
  976. package/.output/server/chunks/_/useTeamCreateDialog-I5aNyEOk.mjs.map +0 -1
  977. package/.output/server/chunks/_/useTeamDeployDialog-DpzPh1ar.mjs +0 -82
  978. package/.output/server/chunks/_/useTeamDeployDialog-DpzPh1ar.mjs.map +0 -1
  979. package/.output/server/chunks/_/useTeamDialogState-CFRUQxAf.mjs +0 -84
  980. package/.output/server/chunks/_/useTeamDialogState-CFRUQxAf.mjs.map +0 -1
  981. package/.output/server/chunks/_/useTeamPluginDialog-BnvTWgkJ.mjs +0 -105
  982. package/.output/server/chunks/_/useTeamPluginDialog-BnvTWgkJ.mjs.map +0 -1
  983. package/.output/server/chunks/_/useTeamsCatalog-CXFQQvy5.mjs +0 -125
  984. package/.output/server/chunks/_/useTeamsCatalog-CXFQQvy5.mjs.map +0 -1
  985. package/.output/server/chunks/_/useTokenClipboard-CwQpoFeP.mjs +0 -74
  986. package/.output/server/chunks/_/useTokenClipboard-CwQpoFeP.mjs.map +0 -1
  987. package/.output/server/chunks/_/useTokenCreate-D1hqeCGt.mjs +0 -117
  988. package/.output/server/chunks/_/useTokenCreate-D1hqeCGt.mjs.map +0 -1
  989. package/.output/server/chunks/_/useTokenRename-Dxq0gChy.mjs +0 -89
  990. package/.output/server/chunks/_/useTokenRename-Dxq0gChy.mjs.map +0 -1
  991. package/.output/server/chunks/_/useTokenReveal-4QsphcGa.mjs +0 -120
  992. package/.output/server/chunks/_/useTokenReveal-4QsphcGa.mjs.map +0 -1
  993. package/.output/server/chunks/_/useTokensList-DjSt3KA8.mjs +0 -94
  994. package/.output/server/chunks/_/useTokensList-DjSt3KA8.mjs.map +0 -1
  995. package/.output/server/chunks/_/useTownBus-D9SoIsAN.mjs +0 -25
  996. package/.output/server/chunks/_/useTownBus-D9SoIsAN.mjs.map +0 -1
  997. package/.output/server/chunks/_/useWorkbenchAuth-zP_qzZJZ.mjs +0 -143
  998. package/.output/server/chunks/_/useWorkbenchAuth-zP_qzZJZ.mjs.map +0 -1
  999. package/.output/server/chunks/_/useWorkbenchWorkspaces-B3Aj2-_I.mjs +0 -140
  1000. package/.output/server/chunks/_/useWorkbenchWorkspaces-B3Aj2-_I.mjs.map +0 -1
  1001. package/.output/server/chunks/_/useWorkshopApi-BuIA1zHs.mjs +0 -143
  1002. package/.output/server/chunks/_/useWorkshopApi-BuIA1zHs.mjs.map +0 -1
  1003. package/.output/server/chunks/_/useWorkshopWs-0i1sJn4d.mjs +0 -1397
  1004. package/.output/server/chunks/_/useWorkshopWs-0i1sJn4d.mjs.map +0 -1
  1005. package/.output/server/chunks/_/useWorkspaceAuth-C8FuMJ_5.mjs +0 -62
  1006. package/.output/server/chunks/_/useWorkspaceAuth-C8FuMJ_5.mjs.map +0 -1
  1007. package/.output/server/chunks/_/useWorkspaceChannels-DA6pAAnT.mjs +0 -100
  1008. package/.output/server/chunks/_/useWorkspaceChannels-DA6pAAnT.mjs.map +0 -1
  1009. package/.output/server/chunks/_/useWorkspacePanels-DXXWih8x.mjs +0 -80
  1010. package/.output/server/chunks/_/useWorkspacePanels-DXXWih8x.mjs.map +0 -1
  1011. package/.output/server/chunks/_/useWorkspaceShell-V4mKVR9i.mjs +0 -176
  1012. package/.output/server/chunks/_/useWorkspaceShell-V4mKVR9i.mjs.map +0 -1
  1013. package/.output/server/chunks/_/user.schema.mjs +0 -40
  1014. package/.output/server/chunks/_/user.schema.mjs.map +0 -1
  1015. package/.output/server/chunks/_/users-IRIkTyUB.mjs +0 -657
  1016. package/.output/server/chunks/_/users-IRIkTyUB.mjs.map +0 -1
  1017. package/.output/server/chunks/_/workshop-D2ucb128.mjs +0 -549
  1018. package/.output/server/chunks/_/workshop-D2ucb128.mjs.map +0 -1
  1019. package/.output/server/chunks/_/workspaces-BMr2YzPN.mjs +0 -139
  1020. package/.output/server/chunks/_/workspaces-BMr2YzPN.mjs.map +0 -1
  1021. package/.output/server/chunks/routes/api/health.get.mjs +0 -58
  1022. package/.output/server/chunks/routes/api/health.get.mjs.map +0 -1
  1023. package/.output/server/chunks/routes/api/index.get.mjs +0 -35
  1024. package/.output/server/chunks/routes/api/index.get.mjs.map +0 -1
  1025. package/.output/server/chunks/routes/api/index.post.mjs +0 -46
  1026. package/.output/server/chunks/routes/api/index.post.mjs.map +0 -1
  1027. package/.output/server/chunks/routes/api/mcp/workshop.mjs +0 -563
  1028. package/.output/server/chunks/routes/api/mcp/workshop.mjs.map +0 -1
  1029. package/.output/server/chunks/routes/api/metrics.mjs +0 -87
  1030. package/.output/server/chunks/routes/api/metrics.mjs.map +0 -1
  1031. package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs +0 -63
  1032. package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs.map +0 -1
  1033. package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs +0 -39
  1034. package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs.map +0 -1
  1035. package/.output/server/chunks/routes/api/plugins/i18n.get.mjs +0 -31
  1036. package/.output/server/chunks/routes/api/plugins/i18n.get.mjs.map +0 -1
  1037. package/.output/server/chunks/routes/api/plugins/manifest.get.mjs +0 -31
  1038. package/.output/server/chunks/routes/api/plugins/manifest.get.mjs.map +0 -1
  1039. package/.output/server/chunks/routes/api/system/backup/list.get.mjs +0 -52
  1040. package/.output/server/chunks/routes/api/system/backup/list.get.mjs.map +0 -1
  1041. package/.output/server/chunks/routes/api/system/backup/run.post.mjs +0 -40
  1042. package/.output/server/chunks/routes/api/system/backup/run.post.mjs.map +0 -1
  1043. package/.output/server/chunks/routes/api/system/config-groups/_id_.delete.mjs +0 -37
  1044. package/.output/server/chunks/routes/api/system/config-groups/_id_.delete.mjs.map +0 -1
  1045. package/.output/server/chunks/routes/api/system/config-groups/_id_.patch.mjs +0 -41
  1046. package/.output/server/chunks/routes/api/system/config-groups/_id_.patch.mjs.map +0 -1
  1047. package/.output/server/chunks/routes/api/system/config.get.mjs +0 -33
  1048. package/.output/server/chunks/routes/api/system/config.get.mjs.map +0 -1
  1049. package/.output/server/chunks/routes/api/system/index.get.mjs +0 -37
  1050. package/.output/server/chunks/routes/api/system/index.get.mjs.map +0 -1
  1051. package/.output/server/chunks/routes/api/system/index.patch.mjs +0 -50
  1052. package/.output/server/chunks/routes/api/system/index.patch.mjs.map +0 -1
  1053. package/.output/server/chunks/routes/api/system/index.post.mjs +0 -41
  1054. package/.output/server/chunks/routes/api/system/index.post.mjs.map +0 -1
  1055. package/.output/server/chunks/routes/api/system/index2.get.mjs +0 -33
  1056. package/.output/server/chunks/routes/api/system/index2.get.mjs.map +0 -1
  1057. package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs +0 -188
  1058. package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs.map +0 -1
  1059. package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs +0 -50
  1060. package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs.map +0 -1
  1061. package/.output/server/chunks/routes/api/system/monitor.get.mjs +0 -33
  1062. package/.output/server/chunks/routes/api/system/monitor.get.mjs.map +0 -1
  1063. package/.output/server/chunks/routes/api/system/settings/events.get.mjs +0 -45
  1064. package/.output/server/chunks/routes/api/system/settings/events.get.mjs.map +0 -1
  1065. package/.output/server/chunks/routes/api/system/settings/reset.post.mjs +0 -45
  1066. package/.output/server/chunks/routes/api/system/settings/reset.post.mjs.map +0 -1
  1067. package/.output/server/chunks/routes/api/system/timezone.get.mjs +0 -41
  1068. package/.output/server/chunks/routes/api/system/timezone.get.mjs.map +0 -1
  1069. package/.output/server/chunks/routes/api/users/_id_.delete.mjs +0 -46
  1070. package/.output/server/chunks/routes/api/users/_id_.delete.mjs.map +0 -1
  1071. package/.output/server/chunks/routes/api/users/_id_.get.mjs +0 -35
  1072. package/.output/server/chunks/routes/api/users/_id_.get.mjs.map +0 -1
  1073. package/.output/server/chunks/routes/api/users/_id_.put.mjs +0 -48
  1074. package/.output/server/chunks/routes/api/users/_id_.put.mjs.map +0 -1
  1075. package/.output/server/chunks/routes/api/users/change-password.post.mjs +0 -38
  1076. package/.output/server/chunks/routes/api/users/change-password.post.mjs.map +0 -1
  1077. package/.output/server/chunks/routes/api/users/index.get.mjs +0 -32
  1078. package/.output/server/chunks/routes/api/users/index.get.mjs.map +0 -1
  1079. package/.output/server/chunks/routes/api/users/index.post.mjs +0 -34
  1080. package/.output/server/chunks/routes/api/users/index.post.mjs.map +0 -1
  1081. package/.output/server/chunks/routes/api/users/login.post.mjs +0 -33
  1082. package/.output/server/chunks/routes/api/users/login.post.mjs.map +0 -1
  1083. package/.output/server/chunks/routes/api/users/logout.post.mjs +0 -32
  1084. package/.output/server/chunks/routes/api/users/logout.post.mjs.map +0 -1
  1085. package/.output/server/chunks/routes/api/users/me.get.mjs +0 -32
  1086. package/.output/server/chunks/routes/api/users/me.get.mjs.map +0 -1
  1087. package/.output/server/chunks/routes/api/users/register.post.mjs +0 -36
  1088. package/.output/server/chunks/routes/api/users/register.post.mjs.map +0 -1
  1089. package/.output/server/chunks/routes/api/users/setup-status.get.mjs +0 -33
  1090. package/.output/server/chunks/routes/api/users/setup-status.get.mjs.map +0 -1
  1091. package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs +0 -34
  1092. package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs.map +0 -1
  1093. package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs +0 -34
  1094. package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs.map +0 -1
  1095. package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs +0 -36
  1096. package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs.map +0 -1
  1097. package/.output/server/chunks/routes/api/workshop/_...path_.mjs +0 -31
  1098. package/.output/server/chunks/routes/api/workshop/_...path_.mjs.map +0 -1
  1099. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs +0 -78
  1100. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs.map +0 -1
  1101. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs +0 -345
  1102. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs.map +0 -1
  1103. package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs +0 -43
  1104. package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs.map +0 -1
  1105. package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs +0 -123
  1106. package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs.map +0 -1
  1107. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs +0 -42
  1108. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs.map +0 -1
  1109. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs +0 -64
  1110. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs.map +0 -1
  1111. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/grant.post.mjs +0 -59
  1112. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/grant.post.mjs.map +0 -1
  1113. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/revoke.post.mjs +0 -56
  1114. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/revoke.post.mjs.map +0 -1
  1115. package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs +0 -47
  1116. package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs.map +0 -1
  1117. package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs +0 -131
  1118. package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs.map +0 -1
  1119. package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs +0 -54
  1120. package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs.map +0 -1
  1121. package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs +0 -62
  1122. package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs.map +0 -1
  1123. package/.output/server/chunks/routes/api/workshop/agent-tools/list.get.mjs +0 -80
  1124. package/.output/server/chunks/routes/api/workshop/agent-tools/list.get.mjs.map +0 -1
  1125. package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs +0 -39
  1126. package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs.map +0 -1
  1127. package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs +0 -38
  1128. package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs.map +0 -1
  1129. package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs +0 -48
  1130. package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs.map +0 -1
  1131. package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs +0 -38
  1132. package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs.map +0 -1
  1133. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id/preview.get.mjs +0 -80
  1134. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id/preview.get.mjs.map +0 -1
  1135. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.delete.mjs +0 -63
  1136. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.delete.mjs.map +0 -1
  1137. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs +0 -62
  1138. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs.map +0 -1
  1139. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.patch.mjs +0 -54
  1140. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.patch.mjs.map +0 -1
  1141. package/.output/server/chunks/routes/api/workshop/aml/entities/prune.post.mjs +0 -50
  1142. package/.output/server/chunks/routes/api/workshop/aml/entities/prune.post.mjs.map +0 -1
  1143. package/.output/server/chunks/routes/api/workshop/aml/env/recheck.post.mjs +0 -34
  1144. package/.output/server/chunks/routes/api/workshop/aml/env/recheck.post.mjs.map +0 -1
  1145. package/.output/server/chunks/routes/api/workshop/aml/env/uv.post.mjs +0 -44
  1146. package/.output/server/chunks/routes/api/workshop/aml/env/uv.post.mjs.map +0 -1
  1147. package/.output/server/chunks/routes/api/workshop/aml/env/venv.post.mjs +0 -46
  1148. package/.output/server/chunks/routes/api/workshop/aml/env/venv.post.mjs.map +0 -1
  1149. package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs +0 -50
  1150. package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs.map +0 -1
  1151. package/.output/server/chunks/routes/api/workshop/aml/index.post.mjs +0 -51
  1152. package/.output/server/chunks/routes/api/workshop/aml/index.post.mjs.map +0 -1
  1153. package/.output/server/chunks/routes/api/workshop/aml/index2.get.mjs +0 -34
  1154. package/.output/server/chunks/routes/api/workshop/aml/index2.get.mjs.map +0 -1
  1155. package/.output/server/chunks/routes/api/workshop/aml/index2.post.mjs +0 -66
  1156. package/.output/server/chunks/routes/api/workshop/aml/index2.post.mjs.map +0 -1
  1157. package/.output/server/chunks/routes/api/workshop/aml/index3.get.mjs +0 -33
  1158. package/.output/server/chunks/routes/api/workshop/aml/index3.get.mjs.map +0 -1
  1159. package/.output/server/chunks/routes/api/workshop/aml/index3.post.mjs +0 -54
  1160. package/.output/server/chunks/routes/api/workshop/aml/index3.post.mjs.map +0 -1
  1161. package/.output/server/chunks/routes/api/workshop/aml/index4.get.mjs +0 -52
  1162. package/.output/server/chunks/routes/api/workshop/aml/index4.get.mjs.map +0 -1
  1163. package/.output/server/chunks/routes/api/workshop/aml/index5.get.mjs +0 -51
  1164. package/.output/server/chunks/routes/api/workshop/aml/index5.get.mjs.map +0 -1
  1165. package/.output/server/chunks/routes/api/workshop/aml/index6.get.mjs +0 -67
  1166. package/.output/server/chunks/routes/api/workshop/aml/index6.get.mjs.map +0 -1
  1167. package/.output/server/chunks/routes/api/workshop/aml/index7.get.mjs +0 -33
  1168. package/.output/server/chunks/routes/api/workshop/aml/index7.get.mjs.map +0 -1
  1169. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/cancel.post.mjs +0 -40
  1170. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/cancel.post.mjs.map +0 -1
  1171. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/logs.get.mjs +0 -41
  1172. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/logs.get.mjs.map +0 -1
  1173. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/retry.post.mjs +0 -39
  1174. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/retry.post.mjs.map +0 -1
  1175. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.delete.mjs +0 -68
  1176. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.delete.mjs.map +0 -1
  1177. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.get.mjs +0 -43
  1178. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.get.mjs.map +0 -1
  1179. package/.output/server/chunks/routes/api/workshop/aml/models/_id/predict.post.mjs +0 -42
  1180. package/.output/server/chunks/routes/api/workshop/aml/models/_id/predict.post.mjs.map +0 -1
  1181. package/.output/server/chunks/routes/api/workshop/aml/models/_id/promote.post.mjs +0 -47
  1182. package/.output/server/chunks/routes/api/workshop/aml/models/_id/promote.post.mjs.map +0 -1
  1183. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.delete.mjs +0 -60
  1184. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.delete.mjs.map +0 -1
  1185. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.patch.mjs +0 -57
  1186. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.patch.mjs.map +0 -1
  1187. package/.output/server/chunks/routes/api/workshop/aml/models/index.get.mjs +0 -39
  1188. package/.output/server/chunks/routes/api/workshop/aml/models/index.get.mjs.map +0 -1
  1189. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id/train.post.mjs +0 -40
  1190. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id/train.post.mjs.map +0 -1
  1191. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.delete.mjs +0 -40
  1192. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.delete.mjs.map +0 -1
  1193. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.patch.mjs +0 -49
  1194. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.patch.mjs.map +0 -1
  1195. package/.output/server/chunks/routes/api/workshop/aml/training-plans/index.get.mjs +0 -37
  1196. package/.output/server/chunks/routes/api/workshop/aml/training-plans/index.get.mjs.map +0 -1
  1197. package/.output/server/chunks/routes/api/workshop/aml/twin/providers.get.mjs +0 -51
  1198. package/.output/server/chunks/routes/api/workshop/aml/twin/providers.get.mjs.map +0 -1
  1199. package/.output/server/chunks/routes/api/workshop/analysis/_id_.delete.mjs +0 -49
  1200. package/.output/server/chunks/routes/api/workshop/analysis/_id_.delete.mjs.map +0 -1
  1201. package/.output/server/chunks/routes/api/workshop/analysis/_id_.get.mjs +0 -43
  1202. package/.output/server/chunks/routes/api/workshop/analysis/_id_.get.mjs.map +0 -1
  1203. package/.output/server/chunks/routes/api/workshop/analysis/_id_.patch.mjs +0 -106
  1204. package/.output/server/chunks/routes/api/workshop/analysis/_id_.patch.mjs.map +0 -1
  1205. package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs +0 -47
  1206. package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs.map +0 -1
  1207. package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs +0 -47
  1208. package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs.map +0 -1
  1209. package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs +0 -56
  1210. package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs.map +0 -1
  1211. package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs +0 -37
  1212. package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs.map +0 -1
  1213. package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs +0 -90
  1214. package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs.map +0 -1
  1215. package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs +0 -90
  1216. package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs.map +0 -1
  1217. package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs +0 -66
  1218. package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs.map +0 -1
  1219. package/.output/server/chunks/routes/api/workshop/audit.get.mjs +0 -64
  1220. package/.output/server/chunks/routes/api/workshop/audit.get.mjs.map +0 -1
  1221. package/.output/server/chunks/routes/api/workshop/caller.mjs +0 -116
  1222. package/.output/server/chunks/routes/api/workshop/caller.mjs.map +0 -1
  1223. package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +0 -62
  1224. package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs.map +0 -1
  1225. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs +0 -39
  1226. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs.map +0 -1
  1227. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs +0 -38
  1228. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs.map +0 -1
  1229. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs +0 -68
  1230. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs.map +0 -1
  1231. package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs +0 -47
  1232. package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs.map +0 -1
  1233. package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs +0 -73
  1234. package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs.map +0 -1
  1235. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs +0 -45
  1236. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs.map +0 -1
  1237. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs +0 -60
  1238. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs.map +0 -1
  1239. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs +0 -46
  1240. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs.map +0 -1
  1241. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs +0 -58
  1242. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs.map +0 -1
  1243. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs +0 -51
  1244. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs.map +0 -1
  1245. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs +0 -49
  1246. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs.map +0 -1
  1247. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs +0 -68
  1248. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs.map +0 -1
  1249. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/rotate-token.post.mjs +0 -59
  1250. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/rotate-token.post.mjs.map +0 -1
  1251. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs +0 -42
  1252. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs.map +0 -1
  1253. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs +0 -41
  1254. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs.map +0 -1
  1255. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs +0 -50
  1256. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs.map +0 -1
  1257. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.get.mjs +0 -46
  1258. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.get.mjs.map +0 -1
  1259. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs +0 -57
  1260. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs.map +0 -1
  1261. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/messages/_messageId/read.post.mjs +0 -38
  1262. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/messages/_messageId/read.post.mjs.map +0 -1
  1263. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/permissions.get.mjs +0 -53
  1264. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/permissions.get.mjs.map +0 -1
  1265. package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs +0 -66
  1266. package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs.map +0 -1
  1267. package/.output/server/chunks/routes/api/workshop/channels/_id/execution-mode.patch.mjs +0 -94
  1268. package/.output/server/chunks/routes/api/workshop/channels/_id/execution-mode.patch.mjs.map +0 -1
  1269. package/.output/server/chunks/routes/api/workshop/channels/_id/harness-profiles/promote.post.mjs +0 -62
  1270. package/.output/server/chunks/routes/api/workshop/channels/_id/harness-profiles/promote.post.mjs.map +0 -1
  1271. package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-stats.get.mjs +0 -37
  1272. package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-stats.get.mjs.map +0 -1
  1273. package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs +0 -46
  1274. package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs.map +0 -1
  1275. package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs +0 -76
  1276. package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs.map +0 -1
  1277. package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs +0 -46
  1278. package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs.map +0 -1
  1279. package/.output/server/chunks/routes/api/workshop/channels/_id/index10.get.mjs +0 -41
  1280. package/.output/server/chunks/routes/api/workshop/channels/_id/index10.get.mjs.map +0 -1
  1281. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs +0 -42
  1282. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs.map +0 -1
  1283. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs +0 -57
  1284. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs.map +0 -1
  1285. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.put.mjs +0 -112
  1286. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.put.mjs.map +0 -1
  1287. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs +0 -40
  1288. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs.map +0 -1
  1289. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs +0 -55
  1290. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs.map +0 -1
  1291. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs +0 -44
  1292. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs.map +0 -1
  1293. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs +0 -105
  1294. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs.map +0 -1
  1295. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs +0 -57
  1296. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs.map +0 -1
  1297. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.post.mjs +0 -40
  1298. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.post.mjs.map +0 -1
  1299. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs +0 -51
  1300. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs.map +0 -1
  1301. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.post.mjs +0 -99
  1302. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.post.mjs.map +0 -1
  1303. package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs +0 -69
  1304. package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs.map +0 -1
  1305. package/.output/server/chunks/routes/api/workshop/channels/_id/index8.get.mjs +0 -39
  1306. package/.output/server/chunks/routes/api/workshop/channels/_id/index8.get.mjs.map +0 -1
  1307. package/.output/server/chunks/routes/api/workshop/channels/_id/index9.get.mjs +0 -38
  1308. package/.output/server/chunks/routes/api/workshop/channels/_id/index9.get.mjs.map +0 -1
  1309. package/.output/server/chunks/routes/api/workshop/channels/_id/line.put.mjs +0 -48
  1310. package/.output/server/chunks/routes/api/workshop/channels/_id/line.put.mjs.map +0 -1
  1311. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId/approve.post.mjs +0 -38
  1312. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId/approve.post.mjs.map +0 -1
  1313. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId_.delete.mjs +0 -39
  1314. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId_.delete.mjs.map +0 -1
  1315. package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs +0 -42
  1316. package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs.map +0 -1
  1317. package/.output/server/chunks/routes/api/workshop/channels/_id/members/leave.post.mjs +0 -38
  1318. package/.output/server/chunks/routes/api/workshop/channels/_id/members/leave.post.mjs.map +0 -1
  1319. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/promote.post.mjs +0 -46
  1320. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/promote.post.mjs.map +0 -1
  1321. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs +0 -45
  1322. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs.map +0 -1
  1323. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/experience-stats.get.mjs +0 -37
  1324. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/experience-stats.get.mjs.map +0 -1
  1325. package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs +0 -40
  1326. package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs.map +0 -1
  1327. package/.output/server/chunks/routes/api/workshop/channels/_id/rescue.post.mjs +0 -42
  1328. package/.output/server/chunks/routes/api/workshop/channels/_id/rescue.post.mjs.map +0 -1
  1329. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/brief.get.mjs +0 -46
  1330. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/brief.get.mjs.map +0 -1
  1331. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/close.post.mjs +0 -42
  1332. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/close.post.mjs.map +0 -1
  1333. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/history.get.mjs +0 -43
  1334. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/history.get.mjs.map +0 -1
  1335. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/messages.post.mjs +0 -45
  1336. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/messages.post.mjs.map +0 -1
  1337. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/index.get.mjs +0 -65
  1338. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/index.get.mjs.map +0 -1
  1339. package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs +0 -36
  1340. package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs.map +0 -1
  1341. package/.output/server/chunks/routes/api/workshop/channels/_id/tools/reset.post.mjs +0 -55
  1342. package/.output/server/chunks/routes/api/workshop/channels/_id/tools/reset.post.mjs.map +0 -1
  1343. package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.get.mjs +0 -56
  1344. package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.get.mjs.map +0 -1
  1345. package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.patch.mjs +0 -91
  1346. package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.patch.mjs.map +0 -1
  1347. package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs +0 -39
  1348. package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs.map +0 -1
  1349. package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs +0 -40
  1350. package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs.map +0 -1
  1351. package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs +0 -72
  1352. package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs.map +0 -1
  1353. package/.output/server/chunks/routes/api/workshop/channels.get.mjs +0 -51
  1354. package/.output/server/chunks/routes/api/workshop/channels.get.mjs.map +0 -1
  1355. package/.output/server/chunks/routes/api/workshop/channels.post.mjs +0 -89
  1356. package/.output/server/chunks/routes/api/workshop/channels.post.mjs.map +0 -1
  1357. package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs +0 -40
  1358. package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs.map +0 -1
  1359. package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs +0 -40
  1360. package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs.map +0 -1
  1361. package/.output/server/chunks/routes/api/workshop/daq/_id/frames/content.get.mjs +0 -46
  1362. package/.output/server/chunks/routes/api/workshop/daq/_id/frames/content.get.mjs.map +0 -1
  1363. package/.output/server/chunks/routes/api/workshop/daq/_id/frames.get.mjs +0 -66
  1364. package/.output/server/chunks/routes/api/workshop/daq/_id/frames.get.mjs.map +0 -1
  1365. package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs +0 -182
  1366. package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs.map +0 -1
  1367. package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +0 -47
  1368. package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs.map +0 -1
  1369. package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs +0 -38
  1370. package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs.map +0 -1
  1371. package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs +0 -51
  1372. package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs.map +0 -1
  1373. package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs +0 -57
  1374. package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs.map +0 -1
  1375. package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs +0 -38
  1376. package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs.map +0 -1
  1377. package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs +0 -38
  1378. package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs.map +0 -1
  1379. package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs +0 -63
  1380. package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs.map +0 -1
  1381. package/.output/server/chunks/routes/api/workshop/daq/export/_id_.get.mjs +0 -39
  1382. package/.output/server/chunks/routes/api/workshop/daq/export/_id_.get.mjs.map +0 -1
  1383. package/.output/server/chunks/routes/api/workshop/daq/export-file.get.mjs +0 -47
  1384. package/.output/server/chunks/routes/api/workshop/daq/export-file.get.mjs.map +0 -1
  1385. package/.output/server/chunks/routes/api/workshop/daq/index.get.mjs +0 -40
  1386. package/.output/server/chunks/routes/api/workshop/daq/index.get.mjs.map +0 -1
  1387. package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs +0 -60
  1388. package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs.map +0 -1
  1389. package/.output/server/chunks/routes/api/workshop/daq/index2.get.mjs +0 -38
  1390. package/.output/server/chunks/routes/api/workshop/daq/index2.get.mjs.map +0 -1
  1391. package/.output/server/chunks/routes/api/workshop/daq/index2.post.mjs +0 -37
  1392. package/.output/server/chunks/routes/api/workshop/daq/index2.post.mjs.map +0 -1
  1393. package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs +0 -47
  1394. package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs.map +0 -1
  1395. package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +0 -33
  1396. package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs.map +0 -1
  1397. package/.output/server/chunks/routes/api/workshop/daq/query.get.mjs +0 -75
  1398. package/.output/server/chunks/routes/api/workshop/daq/query.get.mjs.map +0 -1
  1399. package/.output/server/chunks/routes/api/workshop/daq/storage/retention.put.mjs +0 -68
  1400. package/.output/server/chunks/routes/api/workshop/daq/storage/retention.put.mjs.map +0 -1
  1401. package/.output/server/chunks/routes/api/workshop/daq/storage/rollup.post.mjs +0 -45
  1402. package/.output/server/chunks/routes/api/workshop/daq/storage/rollup.post.mjs.map +0 -1
  1403. package/.output/server/chunks/routes/api/workshop/daq/storage.get.mjs +0 -36
  1404. package/.output/server/chunks/routes/api/workshop/daq/storage.get.mjs.map +0 -1
  1405. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +0 -37
  1406. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs.map +0 -1
  1407. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +0 -38
  1408. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs.map +0 -1
  1409. package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +0 -42
  1410. package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs.map +0 -1
  1411. package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +0 -39
  1412. package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs.map +0 -1
  1413. package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +0 -39
  1414. package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs.map +0 -1
  1415. package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +0 -40
  1416. package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs.map +0 -1
  1417. package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs +0 -41
  1418. package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs.map +0 -1
  1419. package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +0 -37
  1420. package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs.map +0 -1
  1421. package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +0 -40
  1422. package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs.map +0 -1
  1423. package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +0 -59
  1424. package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs.map +0 -1
  1425. package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +0 -60
  1426. package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs.map +0 -1
  1427. package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +0 -55
  1428. package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs.map +0 -1
  1429. package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +0 -39
  1430. package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs.map +0 -1
  1431. package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +0 -49
  1432. package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs.map +0 -1
  1433. package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +0 -45
  1434. package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs.map +0 -1
  1435. package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +0 -38
  1436. package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs.map +0 -1
  1437. package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +0 -39
  1438. package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs.map +0 -1
  1439. package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +0 -38
  1440. package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs.map +0 -1
  1441. package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +0 -50
  1442. package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs.map +0 -1
  1443. package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +0 -58
  1444. package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs.map +0 -1
  1445. package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +0 -47
  1446. package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs.map +0 -1
  1447. package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs +0 -36
  1448. package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs.map +0 -1
  1449. package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs +0 -44
  1450. package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs.map +0 -1
  1451. package/.output/server/chunks/routes/api/workshop/dcw/index7.get.mjs +0 -38
  1452. package/.output/server/chunks/routes/api/workshop/dcw/index7.get.mjs.map +0 -1
  1453. package/.output/server/chunks/routes/api/workshop/dcw/index8.get.mjs +0 -33
  1454. package/.output/server/chunks/routes/api/workshop/dcw/index8.get.mjs.map +0 -1
  1455. package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +0 -39
  1456. package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs.map +0 -1
  1457. package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +0 -59
  1458. package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs.map +0 -1
  1459. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +0 -55
  1460. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs.map +0 -1
  1461. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +0 -54
  1462. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs.map +0 -1
  1463. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +0 -52
  1464. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs.map +0 -1
  1465. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs +0 -50
  1466. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs.map +0 -1
  1467. package/.output/server/chunks/routes/api/workshop/dcw/lines/index.get.mjs +0 -41
  1468. package/.output/server/chunks/routes/api/workshop/dcw/lines/index.get.mjs.map +0 -1
  1469. package/.output/server/chunks/routes/api/workshop/dcw/mes-artifacts/file.get.mjs +0 -69
  1470. package/.output/server/chunks/routes/api/workshop/dcw/mes-artifacts/file.get.mjs.map +0 -1
  1471. package/.output/server/chunks/routes/api/workshop/dcw/mes-hook-test.post.mjs +0 -102
  1472. package/.output/server/chunks/routes/api/workshop/dcw/mes-hook-test.post.mjs.map +0 -1
  1473. package/.output/server/chunks/routes/api/workshop/dcw/mes-test-read.post.mjs +0 -40
  1474. package/.output/server/chunks/routes/api/workshop/dcw/mes-test-read.post.mjs.map +0 -1
  1475. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +0 -41
  1476. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs.map +0 -1
  1477. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +0 -44
  1478. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs.map +0 -1
  1479. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +0 -42
  1480. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs.map +0 -1
  1481. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +0 -40
  1482. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs.map +0 -1
  1483. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs +0 -40
  1484. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs.map +0 -1
  1485. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs +0 -42
  1486. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs.map +0 -1
  1487. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs +0 -38
  1488. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs.map +0 -1
  1489. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs +0 -39
  1490. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs.map +0 -1
  1491. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +0 -40
  1492. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs.map +0 -1
  1493. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +0 -41
  1494. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs.map +0 -1
  1495. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +0 -59
  1496. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs.map +0 -1
  1497. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs +0 -55
  1498. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs.map +0 -1
  1499. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/revert.post.mjs +0 -50
  1500. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/revert.post.mjs.map +0 -1
  1501. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +0 -53
  1502. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs.map +0 -1
  1503. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/versions.get.mjs +0 -39
  1504. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/versions.get.mjs.map +0 -1
  1505. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +0 -69
  1506. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs.map +0 -1
  1507. package/.output/server/chunks/routes/api/workshop/dcw/recipes/index.patch.mjs +0 -45
  1508. package/.output/server/chunks/routes/api/workshop/dcw/recipes/index.patch.mjs.map +0 -1
  1509. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +0 -40
  1510. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs.map +0 -1
  1511. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +0 -38
  1512. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs.map +0 -1
  1513. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +0 -38
  1514. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs.map +0 -1
  1515. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +0 -36
  1516. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs.map +0 -1
  1517. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +0 -37
  1518. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs.map +0 -1
  1519. package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +0 -39
  1520. package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs.map +0 -1
  1521. package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +0 -42
  1522. package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs.map +0 -1
  1523. package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +0 -38
  1524. package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs.map +0 -1
  1525. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +0 -42
  1526. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs.map +0 -1
  1527. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +0 -46
  1528. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs.map +0 -1
  1529. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.delete.mjs +0 -45
  1530. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.delete.mjs.map +0 -1
  1531. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.get.mjs +0 -39
  1532. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.get.mjs.map +0 -1
  1533. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.patch.mjs +0 -55
  1534. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.patch.mjs.map +0 -1
  1535. package/.output/server/chunks/routes/api/workshop/eda/commonality.get.mjs +0 -125
  1536. package/.output/server/chunks/routes/api/workshop/eda/commonality.get.mjs.map +0 -1
  1537. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.delete.mjs +0 -45
  1538. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.delete.mjs.map +0 -1
  1539. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.get.mjs +0 -40
  1540. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.get.mjs.map +0 -1
  1541. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.patch.mjs +0 -51
  1542. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.patch.mjs.map +0 -1
  1543. package/.output/server/chunks/routes/api/workshop/eda/features/jobs.get.mjs +0 -37
  1544. package/.output/server/chunks/routes/api/workshop/eda/features/jobs.get.mjs.map +0 -1
  1545. package/.output/server/chunks/routes/api/workshop/eda/features/run.post.mjs +0 -48
  1546. package/.output/server/chunks/routes/api/workshop/eda/features/run.post.mjs.map +0 -1
  1547. package/.output/server/chunks/routes/api/workshop/eda/golden/_id_.delete.mjs +0 -45
  1548. package/.output/server/chunks/routes/api/workshop/eda/golden/_id_.delete.mjs.map +0 -1
  1549. package/.output/server/chunks/routes/api/workshop/eda/golden/deviation.get.mjs +0 -44
  1550. package/.output/server/chunks/routes/api/workshop/eda/golden/deviation.get.mjs.map +0 -1
  1551. package/.output/server/chunks/routes/api/workshop/eda/golden/single.get.mjs +0 -40
  1552. package/.output/server/chunks/routes/api/workshop/eda/golden/single.get.mjs.map +0 -1
  1553. package/.output/server/chunks/routes/api/workshop/eda/index.get.mjs +0 -42
  1554. package/.output/server/chunks/routes/api/workshop/eda/index.get.mjs.map +0 -1
  1555. package/.output/server/chunks/routes/api/workshop/eda/index.post.mjs +0 -54
  1556. package/.output/server/chunks/routes/api/workshop/eda/index.post.mjs.map +0 -1
  1557. package/.output/server/chunks/routes/api/workshop/eda/index2.get.mjs +0 -52
  1558. package/.output/server/chunks/routes/api/workshop/eda/index2.get.mjs.map +0 -1
  1559. package/.output/server/chunks/routes/api/workshop/eda/index2.post.mjs +0 -48
  1560. package/.output/server/chunks/routes/api/workshop/eda/index2.post.mjs.map +0 -1
  1561. package/.output/server/chunks/routes/api/workshop/eda/index3.get.mjs +0 -50
  1562. package/.output/server/chunks/routes/api/workshop/eda/index3.get.mjs.map +0 -1
  1563. package/.output/server/chunks/routes/api/workshop/eda/index3.post.mjs +0 -141
  1564. package/.output/server/chunks/routes/api/workshop/eda/index3.post.mjs.map +0 -1
  1565. package/.output/server/chunks/routes/api/workshop/eda/index4.get.mjs +0 -50
  1566. package/.output/server/chunks/routes/api/workshop/eda/index4.get.mjs.map +0 -1
  1567. package/.output/server/chunks/routes/api/workshop/eda/index4.post.mjs +0 -51
  1568. package/.output/server/chunks/routes/api/workshop/eda/index4.post.mjs.map +0 -1
  1569. package/.output/server/chunks/routes/api/workshop/eda/index5.get.mjs +0 -37
  1570. package/.output/server/chunks/routes/api/workshop/eda/index5.get.mjs.map +0 -1
  1571. package/.output/server/chunks/routes/api/workshop/eda/index5.post.mjs +0 -50
  1572. package/.output/server/chunks/routes/api/workshop/eda/index5.post.mjs.map +0 -1
  1573. package/.output/server/chunks/routes/api/workshop/eda/index6.get.mjs +0 -56
  1574. package/.output/server/chunks/routes/api/workshop/eda/index6.get.mjs.map +0 -1
  1575. package/.output/server/chunks/routes/api/workshop/eda/index6.post.mjs +0 -49
  1576. package/.output/server/chunks/routes/api/workshop/eda/index6.post.mjs.map +0 -1
  1577. package/.output/server/chunks/routes/api/workshop/eda/index7.get.mjs +0 -37
  1578. package/.output/server/chunks/routes/api/workshop/eda/index7.get.mjs.map +0 -1
  1579. package/.output/server/chunks/routes/api/workshop/eda/index7.post.mjs +0 -50
  1580. package/.output/server/chunks/routes/api/workshop/eda/index7.post.mjs.map +0 -1
  1581. package/.output/server/chunks/routes/api/workshop/eda/index8.get.mjs +0 -35
  1582. package/.output/server/chunks/routes/api/workshop/eda/index8.get.mjs.map +0 -1
  1583. package/.output/server/chunks/routes/api/workshop/eda/index8.post.mjs +0 -43
  1584. package/.output/server/chunks/routes/api/workshop/eda/index8.post.mjs.map +0 -1
  1585. package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.get.mjs +0 -61
  1586. package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.get.mjs.map +0 -1
  1587. package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.patch.mjs +0 -56
  1588. package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.patch.mjs.map +0 -1
  1589. package/.output/server/chunks/routes/api/workshop/eda/runs/_id/labels.patch.mjs +0 -45
  1590. package/.output/server/chunks/routes/api/workshop/eda/runs/_id/labels.patch.mjs.map +0 -1
  1591. package/.output/server/chunks/routes/api/workshop/eda/runs.get.mjs +0 -52
  1592. package/.output/server/chunks/routes/api/workshop/eda/runs.get.mjs.map +0 -1
  1593. package/.output/server/chunks/routes/api/workshop/eda/spc/_id/recompute.post.mjs +0 -38
  1594. package/.output/server/chunks/routes/api/workshop/eda/spc/_id/recompute.post.mjs.map +0 -1
  1595. package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.delete.mjs +0 -39
  1596. package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.delete.mjs.map +0 -1
  1597. package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.get.mjs +0 -48
  1598. package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.get.mjs.map +0 -1
  1599. package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.delete.mjs +0 -38
  1600. package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.delete.mjs.map +0 -1
  1601. package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.get.mjs +0 -39
  1602. package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.get.mjs.map +0 -1
  1603. package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.patch.mjs +0 -44
  1604. package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.patch.mjs.map +0 -1
  1605. package/.output/server/chunks/routes/api/workshop/eda/vm/predict.post.mjs +0 -106
  1606. package/.output/server/chunks/routes/api/workshop/eda/vm/predict.post.mjs.map +0 -1
  1607. package/.output/server/chunks/routes/api/workshop/exp/confirmations/_id/decide.post.mjs +0 -58
  1608. package/.output/server/chunks/routes/api/workshop/exp/confirmations/_id/decide.post.mjs.map +0 -1
  1609. package/.output/server/chunks/routes/api/workshop/exp/index.get.mjs +0 -41
  1610. package/.output/server/chunks/routes/api/workshop/exp/index.get.mjs.map +0 -1
  1611. package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs +0 -64
  1612. package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs.map +0 -1
  1613. package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs +0 -283
  1614. package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs.map +0 -1
  1615. package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs +0 -45
  1616. package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs.map +0 -1
  1617. package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs +0 -50
  1618. package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs.map +0 -1
  1619. package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs +0 -75
  1620. package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs.map +0 -1
  1621. package/.output/server/chunks/routes/api/workshop/index.get.mjs +0 -34
  1622. package/.output/server/chunks/routes/api/workshop/index.get.mjs.map +0 -1
  1623. package/.output/server/chunks/routes/api/workshop/index.mjs +0 -64
  1624. package/.output/server/chunks/routes/api/workshop/index.mjs.map +0 -1
  1625. package/.output/server/chunks/routes/api/workshop/index.post.mjs +0 -47
  1626. package/.output/server/chunks/routes/api/workshop/index.post.mjs.map +0 -1
  1627. package/.output/server/chunks/routes/api/workshop/index.put.mjs +0 -52
  1628. package/.output/server/chunks/routes/api/workshop/index.put.mjs.map +0 -1
  1629. package/.output/server/chunks/routes/api/workshop/index10.get.mjs +0 -67
  1630. package/.output/server/chunks/routes/api/workshop/index10.get.mjs.map +0 -1
  1631. package/.output/server/chunks/routes/api/workshop/index10.post.mjs +0 -47
  1632. package/.output/server/chunks/routes/api/workshop/index10.post.mjs.map +0 -1
  1633. package/.output/server/chunks/routes/api/workshop/index11.get.mjs +0 -53
  1634. package/.output/server/chunks/routes/api/workshop/index11.get.mjs.map +0 -1
  1635. package/.output/server/chunks/routes/api/workshop/index11.post.mjs +0 -49
  1636. package/.output/server/chunks/routes/api/workshop/index11.post.mjs.map +0 -1
  1637. package/.output/server/chunks/routes/api/workshop/index12.get.mjs +0 -57
  1638. package/.output/server/chunks/routes/api/workshop/index12.get.mjs.map +0 -1
  1639. package/.output/server/chunks/routes/api/workshop/index12.post.mjs +0 -35
  1640. package/.output/server/chunks/routes/api/workshop/index12.post.mjs.map +0 -1
  1641. package/.output/server/chunks/routes/api/workshop/index13.get.mjs +0 -48
  1642. package/.output/server/chunks/routes/api/workshop/index13.get.mjs.map +0 -1
  1643. package/.output/server/chunks/routes/api/workshop/index14.get.mjs +0 -33
  1644. package/.output/server/chunks/routes/api/workshop/index14.get.mjs.map +0 -1
  1645. package/.output/server/chunks/routes/api/workshop/index15.get.mjs +0 -33
  1646. package/.output/server/chunks/routes/api/workshop/index15.get.mjs.map +0 -1
  1647. package/.output/server/chunks/routes/api/workshop/index16.get.mjs +0 -34
  1648. package/.output/server/chunks/routes/api/workshop/index16.get.mjs.map +0 -1
  1649. package/.output/server/chunks/routes/api/workshop/index17.get.mjs +0 -34
  1650. package/.output/server/chunks/routes/api/workshop/index17.get.mjs.map +0 -1
  1651. package/.output/server/chunks/routes/api/workshop/index18.get.mjs +0 -33
  1652. package/.output/server/chunks/routes/api/workshop/index18.get.mjs.map +0 -1
  1653. package/.output/server/chunks/routes/api/workshop/index2.get.mjs +0 -55
  1654. package/.output/server/chunks/routes/api/workshop/index2.get.mjs.map +0 -1
  1655. package/.output/server/chunks/routes/api/workshop/index2.post.mjs +0 -88
  1656. package/.output/server/chunks/routes/api/workshop/index2.post.mjs.map +0 -1
  1657. package/.output/server/chunks/routes/api/workshop/index3.get.mjs +0 -55
  1658. package/.output/server/chunks/routes/api/workshop/index3.get.mjs.map +0 -1
  1659. package/.output/server/chunks/routes/api/workshop/index3.post.mjs +0 -80
  1660. package/.output/server/chunks/routes/api/workshop/index3.post.mjs.map +0 -1
  1661. package/.output/server/chunks/routes/api/workshop/index4.get.mjs +0 -40
  1662. package/.output/server/chunks/routes/api/workshop/index4.get.mjs.map +0 -1
  1663. package/.output/server/chunks/routes/api/workshop/index4.post.mjs +0 -284
  1664. package/.output/server/chunks/routes/api/workshop/index4.post.mjs.map +0 -1
  1665. package/.output/server/chunks/routes/api/workshop/index5.get.mjs +0 -34
  1666. package/.output/server/chunks/routes/api/workshop/index5.get.mjs.map +0 -1
  1667. package/.output/server/chunks/routes/api/workshop/index5.post.mjs +0 -59
  1668. package/.output/server/chunks/routes/api/workshop/index5.post.mjs.map +0 -1
  1669. package/.output/server/chunks/routes/api/workshop/index6.get.mjs +0 -59
  1670. package/.output/server/chunks/routes/api/workshop/index6.get.mjs.map +0 -1
  1671. package/.output/server/chunks/routes/api/workshop/index6.post.mjs +0 -49
  1672. package/.output/server/chunks/routes/api/workshop/index6.post.mjs.map +0 -1
  1673. package/.output/server/chunks/routes/api/workshop/index7.get.mjs +0 -56
  1674. package/.output/server/chunks/routes/api/workshop/index7.get.mjs.map +0 -1
  1675. package/.output/server/chunks/routes/api/workshop/index7.post.mjs +0 -87
  1676. package/.output/server/chunks/routes/api/workshop/index7.post.mjs.map +0 -1
  1677. package/.output/server/chunks/routes/api/workshop/index8.get.mjs +0 -35
  1678. package/.output/server/chunks/routes/api/workshop/index8.get.mjs.map +0 -1
  1679. package/.output/server/chunks/routes/api/workshop/index8.post.mjs +0 -62
  1680. package/.output/server/chunks/routes/api/workshop/index8.post.mjs.map +0 -1
  1681. package/.output/server/chunks/routes/api/workshop/index9.get.mjs +0 -70
  1682. package/.output/server/chunks/routes/api/workshop/index9.get.mjs.map +0 -1
  1683. package/.output/server/chunks/routes/api/workshop/index9.post.mjs +0 -54
  1684. package/.output/server/chunks/routes/api/workshop/index9.post.mjs.map +0 -1
  1685. package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs +0 -40
  1686. package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs.map +0 -1
  1687. package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs +0 -36
  1688. package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs.map +0 -1
  1689. package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs +0 -34
  1690. package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs.map +0 -1
  1691. package/.output/server/chunks/routes/api/workshop/mes/bridge.post.mjs +0 -91
  1692. package/.output/server/chunks/routes/api/workshop/mes/bridge.post.mjs.map +0 -1
  1693. package/.output/server/chunks/routes/api/workshop/mes/datasets.get.mjs +0 -75
  1694. package/.output/server/chunks/routes/api/workshop/mes/datasets.get.mjs.map +0 -1
  1695. package/.output/server/chunks/routes/api/workshop/mes/index.get.mjs +0 -35
  1696. package/.output/server/chunks/routes/api/workshop/mes/index.get.mjs.map +0 -1
  1697. package/.output/server/chunks/routes/api/workshop/mes/index.put.mjs +0 -57
  1698. package/.output/server/chunks/routes/api/workshop/mes/index.put.mjs.map +0 -1
  1699. package/.output/server/chunks/routes/api/workshop/mes/points.get.mjs +0 -35
  1700. package/.output/server/chunks/routes/api/workshop/mes/points.get.mjs.map +0 -1
  1701. package/.output/server/chunks/routes/api/workshop/mes/preview.post.mjs +0 -45
  1702. package/.output/server/chunks/routes/api/workshop/mes/preview.post.mjs.map +0 -1
  1703. package/.output/server/chunks/routes/api/workshop/mes/secrets/_ref_.delete.mjs +0 -51
  1704. package/.output/server/chunks/routes/api/workshop/mes/secrets/_ref_.delete.mjs.map +0 -1
  1705. package/.output/server/chunks/routes/api/workshop/mes/templates.get.mjs +0 -35
  1706. package/.output/server/chunks/routes/api/workshop/mes/templates.get.mjs.map +0 -1
  1707. package/.output/server/chunks/routes/api/workshop/mes/templates.post.mjs +0 -43
  1708. package/.output/server/chunks/routes/api/workshop/mes/templates.post.mjs.map +0 -1
  1709. package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs +0 -46
  1710. package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs.map +0 -1
  1711. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/autofix.mjs +0 -54
  1712. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/autofix.mjs.map +0 -1
  1713. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/compile.mjs +0 -56
  1714. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/compile.mjs.map +0 -1
  1715. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/evidence.mjs +0 -53
  1716. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/evidence.mjs.map +0 -1
  1717. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/publish.mjs +0 -69
  1718. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/publish.mjs.map +0 -1
  1719. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval-decision.mjs +0 -51
  1720. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval-decision.mjs.map +0 -1
  1721. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval.mjs +0 -37
  1722. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval.mjs.map +0 -1
  1723. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/transition.mjs +0 -51
  1724. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/transition.mjs.map +0 -1
  1725. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/subgraph.mjs +0 -40
  1726. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/subgraph.mjs.map +0 -1
  1727. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/validate.mjs +0 -37
  1728. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/validate.mjs.map +0 -1
  1729. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId_.mjs +0 -72
  1730. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId_.mjs.map +0 -1
  1731. package/.output/server/chunks/routes/api/workshop/ontology/export/_ontologyId_.mjs +0 -66
  1732. package/.output/server/chunks/routes/api/workshop/ontology/export/_ontologyId_.mjs.map +0 -1
  1733. package/.output/server/chunks/routes/api/workshop/ontology/index.mjs +0 -46
  1734. package/.output/server/chunks/routes/api/workshop/ontology/index.mjs.map +0 -1
  1735. package/.output/server/chunks/routes/api/workshop/ontology/scene.mjs +0 -45
  1736. package/.output/server/chunks/routes/api/workshop/ontology/scene.mjs.map +0 -1
  1737. package/.output/server/chunks/routes/api/workshop/ontology/traces/_ontologyId_.mjs +0 -40
  1738. package/.output/server/chunks/routes/api/workshop/ontology/traces/_ontologyId_.mjs.map +0 -1
  1739. package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId/compare.mjs +0 -42
  1740. package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId/compare.mjs.map +0 -1
  1741. package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId_.mjs +0 -65
  1742. package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId_.mjs.map +0 -1
  1743. package/.output/server/chunks/routes/api/workshop/optimization/bindings/_id_.delete.mjs +0 -37
  1744. package/.output/server/chunks/routes/api/workshop/optimization/bindings/_id_.delete.mjs.map +0 -1
  1745. package/.output/server/chunks/routes/api/workshop/optimization/capabilities.get.mjs +0 -40
  1746. package/.output/server/chunks/routes/api/workshop/optimization/capabilities.get.mjs.map +0 -1
  1747. package/.output/server/chunks/routes/api/workshop/optimization/index.get.mjs +0 -60
  1748. package/.output/server/chunks/routes/api/workshop/optimization/index.get.mjs.map +0 -1
  1749. package/.output/server/chunks/routes/api/workshop/optimization/index.mjs +0 -68
  1750. package/.output/server/chunks/routes/api/workshop/optimization/index.mjs.map +0 -1
  1751. package/.output/server/chunks/routes/api/workshop/optimization/index2.mjs +0 -62
  1752. package/.output/server/chunks/routes/api/workshop/optimization/index2.mjs.map +0 -1
  1753. package/.output/server/chunks/routes/api/workshop/optimization/profiles/_id/publish.post.mjs +0 -63
  1754. package/.output/server/chunks/routes/api/workshop/optimization/profiles/_id/publish.post.mjs.map +0 -1
  1755. package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/crosscheck.post.mjs +0 -54
  1756. package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/crosscheck.post.mjs.map +0 -1
  1757. package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/dispatch.post.mjs +0 -54
  1758. package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/dispatch.post.mjs.map +0 -1
  1759. package/.output/server/chunks/routes/api/workshop/optimization/solve.post.mjs +0 -43
  1760. package/.output/server/chunks/routes/api/workshop/optimization/solve.post.mjs.map +0 -1
  1761. package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +0 -42
  1762. package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs.map +0 -1
  1763. package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +0 -42
  1764. package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs.map +0 -1
  1765. package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs +0 -37
  1766. package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs.map +0 -1
  1767. package/.output/server/chunks/routes/api/workshop/process-model/datasets.post.mjs +0 -169
  1768. package/.output/server/chunks/routes/api/workshop/process-model/datasets.post.mjs.map +0 -1
  1769. package/.output/server/chunks/routes/api/workshop/process-model/eligibility.mjs +0 -124
  1770. package/.output/server/chunks/routes/api/workshop/process-model/eligibility.mjs.map +0 -1
  1771. package/.output/server/chunks/routes/api/workshop/process-model/experiments.mjs +0 -564
  1772. package/.output/server/chunks/routes/api/workshop/process-model/experiments.mjs.map +0 -1
  1773. package/.output/server/chunks/routes/api/workshop/process-model/index.mjs +0 -57
  1774. package/.output/server/chunks/routes/api/workshop/process-model/index.mjs.map +0 -1
  1775. package/.output/server/chunks/routes/api/workshop/process-model/specs/_id/publish.post.mjs +0 -50
  1776. package/.output/server/chunks/routes/api/workshop/process-model/specs/_id/publish.post.mjs.map +0 -1
  1777. package/.output/server/chunks/routes/api/workshop/process-model/train.post.mjs +0 -60
  1778. package/.output/server/chunks/routes/api/workshop/process-model/train.post.mjs.map +0 -1
  1779. package/.output/server/chunks/routes/api/workshop/projects/_id/activate.post.mjs +0 -33
  1780. package/.output/server/chunks/routes/api/workshop/projects/_id/activate.post.mjs.map +0 -1
  1781. package/.output/server/chunks/routes/api/workshop/projects/_id/approvals/_aid/decide.post.mjs +0 -45
  1782. package/.output/server/chunks/routes/api/workshop/projects/_id/approvals/_aid/decide.post.mjs.map +0 -1
  1783. package/.output/server/chunks/routes/api/workshop/projects/_id/archive.post.mjs +0 -33
  1784. package/.output/server/chunks/routes/api/workshop/projects/_id/archive.post.mjs.map +0 -1
  1785. package/.output/server/chunks/routes/api/workshop/projects/_id/channels/_channelId_.delete.mjs +0 -38
  1786. package/.output/server/chunks/routes/api/workshop/projects/_id/channels/_channelId_.delete.mjs.map +0 -1
  1787. package/.output/server/chunks/routes/api/workshop/projects/_id/complete.post.mjs +0 -33
  1788. package/.output/server/chunks/routes/api/workshop/projects/_id/complete.post.mjs.map +0 -1
  1789. package/.output/server/chunks/routes/api/workshop/projects/_id/continue.post.mjs +0 -39
  1790. package/.output/server/chunks/routes/api/workshop/projects/_id/continue.post.mjs.map +0 -1
  1791. package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/_did/waive.post.mjs +0 -40
  1792. package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/_did/waive.post.mjs.map +0 -1
  1793. package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.get.mjs +0 -37
  1794. package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.get.mjs.map +0 -1
  1795. package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.patch.mjs +0 -46
  1796. package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.patch.mjs.map +0 -1
  1797. package/.output/server/chunks/routes/api/workshop/projects/_id/health.get.mjs +0 -33
  1798. package/.output/server/chunks/routes/api/workshop/projects/_id/health.get.mjs.map +0 -1
  1799. package/.output/server/chunks/routes/api/workshop/projects/_id/index.get.mjs +0 -37
  1800. package/.output/server/chunks/routes/api/workshop/projects/_id/index.get.mjs.map +0 -1
  1801. package/.output/server/chunks/routes/api/workshop/projects/_id/index.post.mjs +0 -39
  1802. package/.output/server/chunks/routes/api/workshop/projects/_id/index.post.mjs.map +0 -1
  1803. package/.output/server/chunks/routes/api/workshop/projects/_id/index2.get.mjs +0 -33
  1804. package/.output/server/chunks/routes/api/workshop/projects/_id/index2.get.mjs.map +0 -1
  1805. package/.output/server/chunks/routes/api/workshop/projects/_id/index2.post.mjs +0 -43
  1806. package/.output/server/chunks/routes/api/workshop/projects/_id/index2.post.mjs.map +0 -1
  1807. package/.output/server/chunks/routes/api/workshop/projects/_id/index3.get.mjs +0 -33
  1808. package/.output/server/chunks/routes/api/workshop/projects/_id/index3.get.mjs.map +0 -1
  1809. package/.output/server/chunks/routes/api/workshop/projects/_id/index3.post.mjs +0 -38
  1810. package/.output/server/chunks/routes/api/workshop/projects/_id/index3.post.mjs.map +0 -1
  1811. package/.output/server/chunks/routes/api/workshop/projects/_id/index4.get.mjs +0 -33
  1812. package/.output/server/chunks/routes/api/workshop/projects/_id/index4.get.mjs.map +0 -1
  1813. package/.output/server/chunks/routes/api/workshop/projects/_id/index4.post.mjs +0 -47
  1814. package/.output/server/chunks/routes/api/workshop/projects/_id/index4.post.mjs.map +0 -1
  1815. package/.output/server/chunks/routes/api/workshop/projects/_id/index5.get.mjs +0 -33
  1816. package/.output/server/chunks/routes/api/workshop/projects/_id/index5.get.mjs.map +0 -1
  1817. package/.output/server/chunks/routes/api/workshop/projects/_id/index6.get.mjs +0 -33
  1818. package/.output/server/chunks/routes/api/workshop/projects/_id/index6.get.mjs.map +0 -1
  1819. package/.output/server/chunks/routes/api/workshop/projects/_id/index7.get.mjs +0 -33
  1820. package/.output/server/chunks/routes/api/workshop/projects/_id/index7.get.mjs.map +0 -1
  1821. package/.output/server/chunks/routes/api/workshop/projects/_id/index8.get.mjs +0 -33
  1822. package/.output/server/chunks/routes/api/workshop/projects/_id/index8.get.mjs.map +0 -1
  1823. package/.output/server/chunks/routes/api/workshop/projects/_id/kernel/tick.post.mjs +0 -41
  1824. package/.output/server/chunks/routes/api/workshop/projects/_id/kernel/tick.post.mjs.map +0 -1
  1825. package/.output/server/chunks/routes/api/workshop/projects/_id/ledger.get.mjs +0 -37
  1826. package/.output/server/chunks/routes/api/workshop/projects/_id/ledger.get.mjs.map +0 -1
  1827. package/.output/server/chunks/routes/api/workshop/projects/_id/members/_userId_.delete.mjs +0 -38
  1828. package/.output/server/chunks/routes/api/workshop/projects/_id/members/_userId_.delete.mjs.map +0 -1
  1829. package/.output/server/chunks/routes/api/workshop/projects/_id/observability/activity.get.mjs +0 -37
  1830. package/.output/server/chunks/routes/api/workshop/projects/_id/observability/activity.get.mjs.map +0 -1
  1831. package/.output/server/chunks/routes/api/workshop/projects/_id/observability/route.get.mjs +0 -33
  1832. package/.output/server/chunks/routes/api/workshop/projects/_id/observability/route.get.mjs.map +0 -1
  1833. package/.output/server/chunks/routes/api/workshop/projects/_id/observability/work-items/_wid_.get.mjs +0 -37
  1834. package/.output/server/chunks/routes/api/workshop/projects/_id/observability/work-items/_wid_.get.mjs.map +0 -1
  1835. package/.output/server/chunks/routes/api/workshop/projects/_id/observability.get.mjs +0 -33
  1836. package/.output/server/chunks/routes/api/workshop/projects/_id/observability.get.mjs.map +0 -1
  1837. package/.output/server/chunks/routes/api/workshop/projects/_id/pause.post.mjs +0 -33
  1838. package/.output/server/chunks/routes/api/workshop/projects/_id/pause.post.mjs.map +0 -1
  1839. package/.output/server/chunks/routes/api/workshop/projects/_id/plan/request-approval.post.mjs +0 -38
  1840. package/.output/server/chunks/routes/api/workshop/projects/_id/plan/request-approval.post.mjs.map +0 -1
  1841. package/.output/server/chunks/routes/api/workshop/projects/_id/proposals/_decisionId/apply.post.mjs +0 -37
  1842. package/.output/server/chunks/routes/api/workshop/projects/_id/proposals/_decisionId/apply.post.mjs.map +0 -1
  1843. package/.output/server/chunks/routes/api/workshop/projects/_id/reconcile.post.mjs +0 -33
  1844. package/.output/server/chunks/routes/api/workshop/projects/_id/reconcile.post.mjs.map +0 -1
  1845. package/.output/server/chunks/routes/api/workshop/projects/_id/report.get.mjs +0 -33
  1846. package/.output/server/chunks/routes/api/workshop/projects/_id/report.get.mjs.map +0 -1
  1847. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/request-acceptance.post.mjs +0 -37
  1848. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/request-acceptance.post.mjs.map +0 -1
  1849. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/review.post.mjs +0 -45
  1850. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/review.post.mjs.map +0 -1
  1851. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/submit.post.mjs +0 -52
  1852. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/submit.post.mjs.map +0 -1
  1853. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/supersede.post.mjs +0 -41
  1854. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/supersede.post.mjs.map +0 -1
  1855. package/.output/server/chunks/routes/api/workshop/projects/_id/resume.post.mjs +0 -33
  1856. package/.output/server/chunks/routes/api/workshop/projects/_id/resume.post.mjs.map +0 -1
  1857. package/.output/server/chunks/routes/api/workshop/projects/_id/sessions.get.mjs +0 -35
  1858. package/.output/server/chunks/routes/api/workshop/projects/_id/sessions.get.mjs.map +0 -1
  1859. package/.output/server/chunks/routes/api/workshop/projects/_id/snapshot.get.mjs +0 -33
  1860. package/.output/server/chunks/routes/api/workshop/projects/_id/snapshot.get.mjs.map +0 -1
  1861. package/.output/server/chunks/routes/api/workshop/projects/_id/terminate.post.mjs +0 -35
  1862. package/.output/server/chunks/routes/api/workshop/projects/_id/terminate.post.mjs.map +0 -1
  1863. package/.output/server/chunks/routes/api/workshop/projects/_id/trace/_traceId_.get.mjs +0 -37
  1864. package/.output/server/chunks/routes/api/workshop/projects/_id/trace/_traceId_.get.mjs.map +0 -1
  1865. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/cancel.post.mjs +0 -40
  1866. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/cancel.post.mjs.map +0 -1
  1867. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/dispatch.post.mjs +0 -37
  1868. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/dispatch.post.mjs.map +0 -1
  1869. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/retry.post.mjs +0 -37
  1870. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/retry.post.mjs.map +0 -1
  1871. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.get.mjs +0 -37
  1872. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.get.mjs.map +0 -1
  1873. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.patch.mjs +0 -46
  1874. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.patch.mjs.map +0 -1
  1875. package/.output/server/chunks/routes/api/workshop/projects/_id_.get.mjs +0 -33
  1876. package/.output/server/chunks/routes/api/workshop/projects/_id_.get.mjs.map +0 -1
  1877. package/.output/server/chunks/routes/api/workshop/projects/_id_.patch.mjs +0 -46
  1878. package/.output/server/chunks/routes/api/workshop/projects/_id_.patch.mjs.map +0 -1
  1879. package/.output/server/chunks/routes/api/workshop/projects/instantiate.post.mjs +0 -71
  1880. package/.output/server/chunks/routes/api/workshop/projects/instantiate.post.mjs.map +0 -1
  1881. package/.output/server/chunks/routes/api/workshop/runtime.get.mjs +0 -33
  1882. package/.output/server/chunks/routes/api/workshop/runtime.get.mjs.map +0 -1
  1883. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +0 -41
  1884. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs.map +0 -1
  1885. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +0 -48
  1886. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs.map +0 -1
  1887. package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs +0 -34
  1888. package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs.map +0 -1
  1889. package/.output/server/chunks/routes/api/workshop/schedules/_id/run.post.mjs +0 -34
  1890. package/.output/server/chunks/routes/api/workshop/schedules/_id/run.post.mjs.map +0 -1
  1891. package/.output/server/chunks/routes/api/workshop/schedules/_id/runs.get.mjs +0 -36
  1892. package/.output/server/chunks/routes/api/workshop/schedules/_id/runs.get.mjs.map +0 -1
  1893. package/.output/server/chunks/routes/api/workshop/schedules/_id_.delete.mjs +0 -35
  1894. package/.output/server/chunks/routes/api/workshop/schedules/_id_.delete.mjs.map +0 -1
  1895. package/.output/server/chunks/routes/api/workshop/schedules/_id_.get.mjs +0 -34
  1896. package/.output/server/chunks/routes/api/workshop/schedules/_id_.get.mjs.map +0 -1
  1897. package/.output/server/chunks/routes/api/workshop/schedules/_id_.patch.mjs +0 -45
  1898. package/.output/server/chunks/routes/api/workshop/schedules/_id_.patch.mjs.map +0 -1
  1899. package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs +0 -45
  1900. package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs.map +0 -1
  1901. package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs +0 -47
  1902. package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs.map +0 -1
  1903. package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs +0 -45
  1904. package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs.map +0 -1
  1905. package/.output/server/chunks/routes/api/workshop/tasks/_id/reassign.post.mjs +0 -44
  1906. package/.output/server/chunks/routes/api/workshop/tasks/_id/reassign.post.mjs.map +0 -1
  1907. package/.output/server/chunks/routes/api/workshop/tasks/_id/reopen.post.mjs +0 -51
  1908. package/.output/server/chunks/routes/api/workshop/tasks/_id/reopen.post.mjs.map +0 -1
  1909. package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs +0 -52
  1910. package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs.map +0 -1
  1911. package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs +0 -45
  1912. package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs.map +0 -1
  1913. package/.output/server/chunks/routes/api/workshop/tasks/_id/supersede.post.mjs +0 -43
  1914. package/.output/server/chunks/routes/api/workshop/tasks/_id/supersede.post.mjs.map +0 -1
  1915. package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs +0 -49
  1916. package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs.map +0 -1
  1917. package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs +0 -50
  1918. package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs.map +0 -1
  1919. package/.output/server/chunks/routes/api/workshop/tasks.get.mjs +0 -33
  1920. package/.output/server/chunks/routes/api/workshop/tasks.get.mjs.map +0 -1
  1921. package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs +0 -50
  1922. package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs.map +0 -1
  1923. package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs +0 -38
  1924. package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs.map +0 -1
  1925. package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs +0 -47
  1926. package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs.map +0 -1
  1927. package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs +0 -49
  1928. package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs.map +0 -1
  1929. package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs +0 -52
  1930. package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs.map +0 -1
  1931. package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs +0 -39
  1932. package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs.map +0 -1
  1933. package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs +0 -39
  1934. package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs.map +0 -1
  1935. package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs +0 -38
  1936. package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs.map +0 -1
  1937. package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs +0 -48
  1938. package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs.map +0 -1
  1939. package/.output/server/chunks/routes/api/workshop/tools/_name_.get.mjs +0 -38
  1940. package/.output/server/chunks/routes/api/workshop/tools/_name_.get.mjs.map +0 -1
  1941. package/.output/server/chunks/routes/api/workshop/tools/sync.post.mjs +0 -33
  1942. package/.output/server/chunks/routes/api/workshop/tools/sync.post.mjs.map +0 -1
  1943. package/.output/server/chunks/routes/api/workshop/users/me.get.mjs +0 -45
  1944. package/.output/server/chunks/routes/api/workshop/users/me.get.mjs.map +0 -1
  1945. package/.output/server/chunks/routes/api/workshop/users/register.post.mjs +0 -48
  1946. package/.output/server/chunks/routes/api/workshop/users/register.post.mjs.map +0 -1
  1947. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +0 -47
  1948. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs.map +0 -1
  1949. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs +0 -36
  1950. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs.map +0 -1
  1951. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs +0 -36
  1952. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs.map +0 -1
  1953. package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs +0 -35
  1954. package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs.map +0 -1
  1955. package/.output/server/chunks/routes/renderer.mjs +0 -392
  1956. package/.output/server/chunks/routes/renderer.mjs.map +0 -1
  1957. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +0 -4
  1958. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +0 -1
  1959. package/.output/server/chunks/virtual/entry.mjs +0 -26431
  1960. package/.output/server/chunks/virtual/entry.mjs.map +0 -1
  1961. package/.output/server/chunks/virtual/precomputed.mjs +0 -4
  1962. package/.output/server/chunks/virtual/precomputed.mjs.map +0 -1
  1963. package/.output/server/index.mjs +0 -36
  1964. package/.output/server/index.mjs.map +0 -1
  1965. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/api.js +0 -2
  1966. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/app.js +0 -2
  1967. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/component.js +0 -2
  1968. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/context.js +0 -2
  1969. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/hooks.js +0 -2
  1970. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/index.js +0 -22
  1971. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/util.js +0 -2
  1972. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/const.js +0 -5
  1973. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/env.js +0 -17
  1974. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/index.js +0 -45
  1975. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/plugin.js +0 -2
  1976. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/proxy.js +0 -111
  1977. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/time.js +0 -28
  1978. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/package.json +0 -37
  1979. package/.output/server/node_modules/.nitro/@vue/devtools-api@7.7.10/dist/index.cjs +0 -42
  1980. package/.output/server/node_modules/.nitro/@vue/devtools-api@7.7.10/package.json +0 -32
  1981. package/.output/server/node_modules/.nitro/hookable@5.5.3/dist/index.cjs +0 -299
  1982. package/.output/server/node_modules/.nitro/hookable@5.5.3/package.json +0 -49
  1983. package/.output/server/node_modules/.nitro/hookable@6.1.1/dist/index.mjs +0 -257
  1984. package/.output/server/node_modules/.nitro/hookable@6.1.1/package.json +0 -53
  1985. package/.output/server/node_modules/@adonisjs/hash/build/chunk-7RS6HCBK.js +0 -36
  1986. package/.output/server/node_modules/@adonisjs/hash/build/chunk-JSA56AE7.js +0 -26
  1987. package/.output/server/node_modules/@adonisjs/hash/build/chunk-JSBRDJBE.js +0 -30
  1988. package/.output/server/node_modules/@adonisjs/hash/build/chunk-RHMXMP27.js +0 -202
  1989. package/.output/server/node_modules/@adonisjs/hash/build/chunk-WB54OA6N.js +0 -193
  1990. package/.output/server/node_modules/@adonisjs/hash/build/index.js +0 -9
  1991. package/.output/server/node_modules/@adonisjs/hash/build/src/drivers/scrypt.js +0 -9
  1992. package/.output/server/node_modules/@adonisjs/hash/package.json +0 -150
  1993. package/.output/server/node_modules/@ant-design/colors/dist/index.js +0 -255
  1994. package/.output/server/node_modules/@ant-design/colors/package.json +0 -53
  1995. package/.output/server/node_modules/@anthropic-ai/claude-agent-sdk/package.json +0 -84
  1996. package/.output/server/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs +0 -225
  1997. package/.output/server/node_modules/@babel/parser/lib/index.js +0 -14611
  1998. package/.output/server/node_modules/@babel/parser/package.json +0 -50
  1999. package/.output/server/node_modules/@ctrl/tinycolor/dist/conversion.js +0 -250
  2000. package/.output/server/node_modules/@ctrl/tinycolor/dist/css-color-names.js +0 -157
  2001. package/.output/server/node_modules/@ctrl/tinycolor/dist/format-input.js +0 -189
  2002. package/.output/server/node_modules/@ctrl/tinycolor/dist/from-ratio.js +0 -30
  2003. package/.output/server/node_modules/@ctrl/tinycolor/dist/index.js +0 -512
  2004. package/.output/server/node_modules/@ctrl/tinycolor/dist/interfaces.js +0 -2
  2005. package/.output/server/node_modules/@ctrl/tinycolor/dist/public_api.js +0 -28
  2006. package/.output/server/node_modules/@ctrl/tinycolor/dist/random.js +0 -282
  2007. package/.output/server/node_modules/@ctrl/tinycolor/dist/readability.js +0 -86
  2008. package/.output/server/node_modules/@ctrl/tinycolor/dist/to-ms-filter.js +0 -20
  2009. package/.output/server/node_modules/@ctrl/tinycolor/dist/util.js +0 -92
  2010. package/.output/server/node_modules/@ctrl/tinycolor/package.json +0 -80
  2011. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js +0 -64
  2012. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js +0 -16
  2013. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js +0 -32
  2014. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js +0 -246
  2015. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/package.json +0 -1
  2016. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js +0 -41
  2017. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js +0 -429
  2018. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js +0 -917
  2019. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sseKeepAlive.js +0 -13
  2020. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js +0 -949
  2021. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +0 -228
  2022. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js +0 -51
  2023. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/mediaType.js +0 -57
  2024. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +0 -1107
  2025. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js +0 -92
  2026. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js +0 -239
  2027. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +0 -2065
  2028. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +0 -87
  2029. package/.output/server/node_modules/@modelcontextprotocol/sdk/package.json +0 -165
  2030. package/.output/server/node_modules/@phc/format/index.js +0 -229
  2031. package/.output/server/node_modules/@phc/format/package.json +0 -60
  2032. package/.output/server/node_modules/@poppinss/exception/build/index.js +0 -44
  2033. package/.output/server/node_modules/@poppinss/exception/package.json +0 -109
  2034. package/.output/server/node_modules/@poppinss/object-builder/build/index.js +0 -49
  2035. package/.output/server/node_modules/@poppinss/object-builder/package.json +0 -112
  2036. package/.output/server/node_modules/@poppinss/string/build/index.js +0 -2
  2037. package/.output/server/node_modules/@poppinss/string/build/string-DVIVpZLG.js +0 -737
  2038. package/.output/server/node_modules/@poppinss/string/package.json +0 -131
  2039. package/.output/server/node_modules/@poppinss/utils/build/chunk-2KG3PWR4.js +0 -17
  2040. package/.output/server/node_modules/@poppinss/utils/build/chunk-4V5ON6P7.js +0 -7
  2041. package/.output/server/node_modules/@poppinss/utils/build/chunk-EJKUJ44Y.js +0 -12
  2042. package/.output/server/node_modules/@poppinss/utils/build/chunk-H54AK3PI.js +0 -7
  2043. package/.output/server/node_modules/@poppinss/utils/build/chunk-XHQBV7AF.js +0 -39
  2044. package/.output/server/node_modules/@poppinss/utils/build/index.js +0 -365
  2045. package/.output/server/node_modules/@poppinss/utils/build/lodash/main.cjs +0 -39
  2046. package/.output/server/node_modules/@poppinss/utils/package.json +0 -153
  2047. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +0 -6801
  2048. package/.output/server/node_modules/@vue/compiler-core/package.json +0 -58
  2049. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +0 -692
  2050. package/.output/server/node_modules/@vue/compiler-dom/package.json +0 -57
  2051. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +0 -1420
  2052. package/.output/server/node_modules/@vue/compiler-ssr/package.json +0 -34
  2053. package/.output/server/node_modules/@vue/devtools-kit/dist/index.cjs +0 -6781
  2054. package/.output/server/node_modules/@vue/devtools-kit/package.json +0 -45
  2055. package/.output/server/node_modules/@vue/devtools-shared/dist/index.cjs +0 -378
  2056. package/.output/server/node_modules/@vue/devtools-shared/package.json +0 -35
  2057. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +0 -1903
  2058. package/.output/server/node_modules/@vue/reactivity/package.json +0 -55
  2059. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +0 -6976
  2060. package/.output/server/node_modules/@vue/runtime-core/package.json +0 -52
  2061. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +0 -1841
  2062. package/.output/server/node_modules/@vue/runtime-dom/package.json +0 -60
  2063. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +0 -904
  2064. package/.output/server/node_modules/@vue/server-renderer/package.json +0 -53
  2065. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +0 -609
  2066. package/.output/server/node_modules/@vue/shared/package.json +0 -47
  2067. package/.output/server/node_modules/@xterm/addon-fit/lib/addon-fit.js +0 -2
  2068. package/.output/server/node_modules/@xterm/addon-fit/package.json +0 -26
  2069. package/.output/server/node_modules/@xterm/xterm/lib/xterm.js +0 -2
  2070. package/.output/server/node_modules/@xterm/xterm/package.json +0 -111
  2071. package/.output/server/node_modules/agent-base/dist/src/index.js +0 -203
  2072. package/.output/server/node_modules/agent-base/dist/src/promisify.js +0 -18
  2073. package/.output/server/node_modules/agent-base/package.json +0 -64
  2074. package/.output/server/node_modules/ajv/dist/ajv.js +0 -50
  2075. package/.output/server/node_modules/ajv/dist/compile/codegen/code.js +0 -156
  2076. package/.output/server/node_modules/ajv/dist/compile/codegen/index.js +0 -697
  2077. package/.output/server/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
  2078. package/.output/server/node_modules/ajv/dist/compile/errors.js +0 -123
  2079. package/.output/server/node_modules/ajv/dist/compile/index.js +0 -242
  2080. package/.output/server/node_modules/ajv/dist/compile/names.js +0 -28
  2081. package/.output/server/node_modules/ajv/dist/compile/ref_error.js +0 -12
  2082. package/.output/server/node_modules/ajv/dist/compile/resolve.js +0 -155
  2083. package/.output/server/node_modules/ajv/dist/compile/rules.js +0 -26
  2084. package/.output/server/node_modules/ajv/dist/compile/util.js +0 -178
  2085. package/.output/server/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
  2086. package/.output/server/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
  2087. package/.output/server/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
  2088. package/.output/server/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
  2089. package/.output/server/node_modules/ajv/dist/compile/validate/index.js +0 -520
  2090. package/.output/server/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
  2091. package/.output/server/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
  2092. package/.output/server/node_modules/ajv/dist/core.js +0 -618
  2093. package/.output/server/node_modules/ajv/dist/refs/data.json +0 -13
  2094. package/.output/server/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
  2095. package/.output/server/node_modules/ajv/dist/runtime/equal.js +0 -7
  2096. package/.output/server/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
  2097. package/.output/server/node_modules/ajv/dist/runtime/uri.js +0 -6
  2098. package/.output/server/node_modules/ajv/dist/runtime/validation_error.js +0 -11
  2099. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
  2100. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
  2101. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
  2102. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
  2103. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
  2104. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
  2105. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
  2106. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
  2107. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
  2108. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
  2109. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
  2110. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
  2111. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
  2112. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
  2113. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
  2114. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
  2115. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
  2116. package/.output/server/node_modules/ajv/dist/vocabularies/code.js +0 -131
  2117. package/.output/server/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
  2118. package/.output/server/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
  2119. package/.output/server/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
  2120. package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
  2121. package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
  2122. package/.output/server/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
  2123. package/.output/server/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
  2124. package/.output/server/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
  2125. package/.output/server/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
  2126. package/.output/server/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
  2127. package/.output/server/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
  2128. package/.output/server/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
  2129. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
  2130. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
  2131. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
  2132. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
  2133. package/.output/server/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
  2134. package/.output/server/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -33
  2135. package/.output/server/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
  2136. package/.output/server/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
  2137. package/.output/server/node_modules/ajv/package.json +0 -126
  2138. package/.output/server/node_modules/ajv-formats/dist/formats.js +0 -208
  2139. package/.output/server/node_modules/ajv-formats/dist/index.js +0 -37
  2140. package/.output/server/node_modules/ajv-formats/dist/limit.js +0 -69
  2141. package/.output/server/node_modules/ajv-formats/package.json +0 -74
  2142. package/.output/server/node_modules/asynckit/index.js +0 -6
  2143. package/.output/server/node_modules/asynckit/lib/abort.js +0 -29
  2144. package/.output/server/node_modules/asynckit/lib/async.js +0 -34
  2145. package/.output/server/node_modules/asynckit/lib/defer.js +0 -26
  2146. package/.output/server/node_modules/asynckit/lib/iterate.js +0 -75
  2147. package/.output/server/node_modules/asynckit/lib/state.js +0 -37
  2148. package/.output/server/node_modules/asynckit/lib/terminator.js +0 -29
  2149. package/.output/server/node_modules/asynckit/package.json +0 -63
  2150. package/.output/server/node_modules/asynckit/parallel.js +0 -43
  2151. package/.output/server/node_modules/asynckit/serial.js +0 -17
  2152. package/.output/server/node_modules/asynckit/serialOrdered.js +0 -75
  2153. package/.output/server/node_modules/axios/index.js +0 -45
  2154. package/.output/server/node_modules/axios/lib/adapters/adapters.js +0 -132
  2155. package/.output/server/node_modules/axios/lib/adapters/fetch.js +0 -643
  2156. package/.output/server/node_modules/axios/lib/adapters/http.js +0 -1406
  2157. package/.output/server/node_modules/axios/lib/adapters/xhr.js +0 -228
  2158. package/.output/server/node_modules/axios/lib/axios.js +0 -89
  2159. package/.output/server/node_modules/axios/lib/cancel/CancelToken.js +0 -135
  2160. package/.output/server/node_modules/axios/lib/cancel/CanceledError.js +0 -22
  2161. package/.output/server/node_modules/axios/lib/cancel/isCancel.js +0 -5
  2162. package/.output/server/node_modules/axios/lib/core/Axios.js +0 -301
  2163. package/.output/server/node_modules/axios/lib/core/AxiosError.js +0 -219
  2164. package/.output/server/node_modules/axios/lib/core/AxiosHeaders.js +0 -474
  2165. package/.output/server/node_modules/axios/lib/core/InterceptorManager.js +0 -72
  2166. package/.output/server/node_modules/axios/lib/core/buildFullPath.js +0 -88
  2167. package/.output/server/node_modules/axios/lib/core/dispatchRequest.js +0 -89
  2168. package/.output/server/node_modules/axios/lib/core/mergeConfig.js +0 -174
  2169. package/.output/server/node_modules/axios/lib/core/setFormDataHeaders.js +0 -27
  2170. package/.output/server/node_modules/axios/lib/core/settle.js +0 -27
  2171. package/.output/server/node_modules/axios/lib/core/transformData.js +0 -28
  2172. package/.output/server/node_modules/axios/lib/defaults/index.js +0 -177
  2173. package/.output/server/node_modules/axios/lib/defaults/transitional.js +0 -10
  2174. package/.output/server/node_modules/axios/lib/env/data.js +0 -1
  2175. package/.output/server/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -156
  2176. package/.output/server/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -59
  2177. package/.output/server/node_modules/axios/lib/helpers/Http2Sessions.js +0 -119
  2178. package/.output/server/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -78
  2179. package/.output/server/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -29
  2180. package/.output/server/node_modules/axios/lib/helpers/bind.js +0 -14
  2181. package/.output/server/node_modules/axios/lib/helpers/buildURL.js +0 -69
  2182. package/.output/server/node_modules/axios/lib/helpers/callbackify.js +0 -18
  2183. package/.output/server/node_modules/axios/lib/helpers/combineURLs.js +0 -23
  2184. package/.output/server/node_modules/axios/lib/helpers/composeSignals.js +0 -68
  2185. package/.output/server/node_modules/axios/lib/helpers/cookies.js +0 -64
  2186. package/.output/server/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +0 -166
  2187. package/.output/server/node_modules/axios/lib/helpers/formDataToJSON.js +0 -125
  2188. package/.output/server/node_modules/axios/lib/helpers/formDataToStream.js +0 -119
  2189. package/.output/server/node_modules/axios/lib/helpers/fromDataURI.js +0 -68
  2190. package/.output/server/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -19
  2191. package/.output/server/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
  2192. package/.output/server/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -16
  2193. package/.output/server/node_modules/axios/lib/helpers/parseHeaders.js +0 -71
  2194. package/.output/server/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
  2195. package/.output/server/node_modules/axios/lib/helpers/progressEventReducer.js +0 -54
  2196. package/.output/server/node_modules/axios/lib/helpers/readBlob.js +0 -15
  2197. package/.output/server/node_modules/axios/lib/helpers/resolveConfig.js +0 -105
  2198. package/.output/server/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +0 -60
  2199. package/.output/server/node_modules/axios/lib/helpers/shouldBypassProxy.js +0 -329
  2200. package/.output/server/node_modules/axios/lib/helpers/speedometer.js +0 -55
  2201. package/.output/server/node_modules/axios/lib/helpers/spread.js +0 -28
  2202. package/.output/server/node_modules/axios/lib/helpers/throttle.js +0 -44
  2203. package/.output/server/node_modules/axios/lib/helpers/toFormData.js +0 -286
  2204. package/.output/server/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -19
  2205. package/.output/server/node_modules/axios/lib/helpers/trackStream.js +0 -89
  2206. package/.output/server/node_modules/axios/lib/helpers/validator.js +0 -112
  2207. package/.output/server/node_modules/axios/lib/platform/common/utils.js +0 -52
  2208. package/.output/server/node_modules/axios/lib/platform/index.js +0 -7
  2209. package/.output/server/node_modules/axios/lib/platform/node/classes/Buffer.js +0 -11
  2210. package/.output/server/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
  2211. package/.output/server/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -4
  2212. package/.output/server/node_modules/axios/lib/platform/node/index.js +0 -37
  2213. package/.output/server/node_modules/axios/lib/utils.js +0 -1029
  2214. package/.output/server/node_modules/axios/package.json +0 -203
  2215. package/.output/server/node_modules/birpc/dist/index.cjs +0 -296
  2216. package/.output/server/node_modules/birpc/package.json +0 -57
  2217. package/.output/server/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
  2218. package/.output/server/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
  2219. package/.output/server/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
  2220. package/.output/server/node_modules/call-bind-apply-helpers/index.js +0 -15
  2221. package/.output/server/node_modules/call-bind-apply-helpers/package.json +0 -85
  2222. package/.output/server/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
  2223. package/.output/server/node_modules/case-anything/dist/core.js +0 -242
  2224. package/.output/server/node_modules/case-anything/dist/index.js +0 -1
  2225. package/.output/server/node_modules/case-anything/dist/utils.js +0 -90
  2226. package/.output/server/node_modules/case-anything/package.json +0 -61
  2227. package/.output/server/node_modules/combined-stream/lib/combined_stream.js +0 -208
  2228. package/.output/server/node_modules/combined-stream/package.json +0 -25
  2229. package/.output/server/node_modules/content-type/index.js +0 -225
  2230. package/.output/server/node_modules/content-type/package.json +0 -42
  2231. package/.output/server/node_modules/debug/package.json +0 -64
  2232. package/.output/server/node_modules/debug/src/browser.js +0 -272
  2233. package/.output/server/node_modules/debug/src/common.js +0 -292
  2234. package/.output/server/node_modules/debug/src/index.js +0 -10
  2235. package/.output/server/node_modules/debug/src/node.js +0 -263
  2236. package/.output/server/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
  2237. package/.output/server/node_modules/delayed-stream/package.json +0 -27
  2238. package/.output/server/node_modules/devalue/index.js +0 -17
  2239. package/.output/server/node_modules/devalue/package.json +0 -39
  2240. package/.output/server/node_modules/devalue/src/base64.js +0 -60
  2241. package/.output/server/node_modules/devalue/src/constants.js +0 -12
  2242. package/.output/server/node_modules/devalue/src/operations.js +0 -193
  2243. package/.output/server/node_modules/devalue/src/parse.js +0 -270
  2244. package/.output/server/node_modules/devalue/src/stringify.js +0 -428
  2245. package/.output/server/node_modules/devalue/src/uneval.js +0 -582
  2246. package/.output/server/node_modules/devalue/src/utils.js +0 -185
  2247. package/.output/server/node_modules/dunder-proto/get.js +0 -30
  2248. package/.output/server/node_modules/dunder-proto/package.json +0 -76
  2249. package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -77
  2250. package/.output/server/node_modules/entities/dist/commonjs/decode.js +0 -568
  2251. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -7
  2252. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -7
  2253. package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +0 -21
  2254. package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +0 -31
  2255. package/.output/server/node_modules/entities/dist/commonjs/package.json +0 -3
  2256. package/.output/server/node_modules/entities/package.json +0 -120
  2257. package/.output/server/node_modules/es-define-property/index.js +0 -14
  2258. package/.output/server/node_modules/es-define-property/package.json +0 -81
  2259. package/.output/server/node_modules/es-errors/eval.js +0 -4
  2260. package/.output/server/node_modules/es-errors/index.js +0 -4
  2261. package/.output/server/node_modules/es-errors/package.json +0 -80
  2262. package/.output/server/node_modules/es-errors/range.js +0 -4
  2263. package/.output/server/node_modules/es-errors/ref.js +0 -4
  2264. package/.output/server/node_modules/es-errors/syntax.js +0 -4
  2265. package/.output/server/node_modules/es-errors/type.js +0 -4
  2266. package/.output/server/node_modules/es-errors/uri.js +0 -4
  2267. package/.output/server/node_modules/es-object-atoms/index.js +0 -4
  2268. package/.output/server/node_modules/es-object-atoms/package.json +0 -79
  2269. package/.output/server/node_modules/es-set-tostringtag/index.js +0 -35
  2270. package/.output/server/node_modules/es-set-tostringtag/package.json +0 -78
  2271. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +0 -344
  2272. package/.output/server/node_modules/estree-walker/package.json +0 -37
  2273. package/.output/server/node_modules/fast-deep-equal/index.js +0 -46
  2274. package/.output/server/node_modules/fast-deep-equal/package.json +0 -61
  2275. package/.output/server/node_modules/fast-uri/index.js +0 -459
  2276. package/.output/server/node_modules/fast-uri/lib/schemes.js +0 -267
  2277. package/.output/server/node_modules/fast-uri/lib/utils.js +0 -443
  2278. package/.output/server/node_modules/fast-uri/package.json +0 -68
  2279. package/.output/server/node_modules/flattie/dist/index.mjs +0 -25
  2280. package/.output/server/node_modules/flattie/package.json +0 -48
  2281. package/.output/server/node_modules/follow-redirects/debug.js +0 -15
  2282. package/.output/server/node_modules/follow-redirects/index.js +0 -709
  2283. package/.output/server/node_modules/follow-redirects/package.json +0 -58
  2284. package/.output/server/node_modules/form-data/lib/form_data.js +0 -506
  2285. package/.output/server/node_modules/form-data/lib/populate.js +0 -10
  2286. package/.output/server/node_modules/form-data/package.json +0 -82
  2287. package/.output/server/node_modules/function-bind/implementation.js +0 -84
  2288. package/.output/server/node_modules/function-bind/index.js +0 -5
  2289. package/.output/server/node_modules/function-bind/package.json +0 -87
  2290. package/.output/server/node_modules/get-intrinsic/index.js +0 -378
  2291. package/.output/server/node_modules/get-intrinsic/package.json +0 -97
  2292. package/.output/server/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
  2293. package/.output/server/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
  2294. package/.output/server/node_modules/get-proto/index.js +0 -27
  2295. package/.output/server/node_modules/get-proto/package.json +0 -81
  2296. package/.output/server/node_modules/gopd/gOPD.js +0 -4
  2297. package/.output/server/node_modules/gopd/index.js +0 -15
  2298. package/.output/server/node_modules/gopd/package.json +0 -77
  2299. package/.output/server/node_modules/has-flag/index.js +0 -8
  2300. package/.output/server/node_modules/has-flag/package.json +0 -46
  2301. package/.output/server/node_modules/has-symbols/index.js +0 -14
  2302. package/.output/server/node_modules/has-symbols/package.json +0 -111
  2303. package/.output/server/node_modules/has-symbols/shams.js +0 -45
  2304. package/.output/server/node_modules/has-tostringtag/package.json +0 -108
  2305. package/.output/server/node_modules/has-tostringtag/shams.js +0 -8
  2306. package/.output/server/node_modules/hasown/index.js +0 -8
  2307. package/.output/server/node_modules/hasown/package.json +0 -91
  2308. package/.output/server/node_modules/https-proxy-agent/dist/agent.js +0 -177
  2309. package/.output/server/node_modules/https-proxy-agent/dist/index.js +0 -14
  2310. package/.output/server/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -66
  2311. package/.output/server/node_modules/https-proxy-agent/package.json +0 -56
  2312. package/.output/server/node_modules/jose/dist/webapi/index.js +0 -32
  2313. package/.output/server/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +0 -9
  2314. package/.output/server/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +0 -27
  2315. package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +0 -11
  2316. package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +0 -72
  2317. package/.output/server/node_modules/jose/dist/webapi/jwe/general/decrypt.js +0 -51
  2318. package/.output/server/node_modules/jose/dist/webapi/jwe/general/encrypt.js +0 -166
  2319. package/.output/server/node_modules/jose/dist/webapi/jwk/embedded.js +0 -19
  2320. package/.output/server/node_modules/jose/dist/webapi/jwk/thumbprint.js +0 -68
  2321. package/.output/server/node_modules/jose/dist/webapi/jwks/local.js +0 -78
  2322. package/.output/server/node_modules/jose/dist/webapi/jwks/remote.js +0 -170
  2323. package/.output/server/node_modules/jose/dist/webapi/jws/compact/sign.js +0 -21
  2324. package/.output/server/node_modules/jose/dist/webapi/jws/compact/verify.js +0 -9
  2325. package/.output/server/node_modules/jose/dist/webapi/jws/flattened/sign.js +0 -31
  2326. package/.output/server/node_modules/jose/dist/webapi/jws/flattened/verify.js +0 -24
  2327. package/.output/server/node_modules/jose/dist/webapi/jws/general/sign.js +0 -74
  2328. package/.output/server/node_modules/jose/dist/webapi/jws/general/verify.js +0 -44
  2329. package/.output/server/node_modules/jose/dist/webapi/jwt/decrypt.js +0 -23
  2330. package/.output/server/node_modules/jose/dist/webapi/jwt/encrypt.js +0 -101
  2331. package/.output/server/node_modules/jose/dist/webapi/jwt/sign.js +0 -51
  2332. package/.output/server/node_modules/jose/dist/webapi/jwt/unsecured.js +0 -64
  2333. package/.output/server/node_modules/jose/dist/webapi/jwt/verify.js +0 -15
  2334. package/.output/server/node_modules/jose/dist/webapi/key/export.js +0 -44
  2335. package/.output/server/node_modules/jose/dist/webapi/key/generate_key_pair.js +0 -48
  2336. package/.output/server/node_modules/jose/dist/webapi/key/generate_secret.js +0 -40
  2337. package/.output/server/node_modules/jose/dist/webapi/key/import.js +0 -57
  2338. package/.output/server/node_modules/jose/dist/webapi/lib/asn1.js +0 -174
  2339. package/.output/server/node_modules/jose/dist/webapi/lib/base64.js +0 -22
  2340. package/.output/server/node_modules/jose/dist/webapi/lib/buffer_utils.js +0 -44
  2341. package/.output/server/node_modules/jose/dist/webapi/lib/content_encryption.js +0 -142
  2342. package/.output/server/node_modules/jose/dist/webapi/lib/crypto_key.js +0 -28
  2343. package/.output/server/node_modules/jose/dist/webapi/lib/deflate.js +0 -44
  2344. package/.output/server/node_modules/jose/dist/webapi/lib/helpers.js +0 -42
  2345. package/.output/server/node_modules/jose/dist/webapi/lib/invalid_key_input.js +0 -26
  2346. package/.output/server/node_modules/jose/dist/webapi/lib/is_key_like.js +0 -17
  2347. package/.output/server/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +0 -107
  2348. package/.output/server/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +0 -186
  2349. package/.output/server/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +0 -110
  2350. package/.output/server/node_modules/jose/dist/webapi/lib/jwk_to_key.js +0 -17
  2351. package/.output/server/node_modules/jose/dist/webapi/lib/jws_algorithms.js +0 -73
  2352. package/.output/server/node_modules/jose/dist/webapi/lib/jws_sign.js +0 -74
  2353. package/.output/server/node_modules/jose/dist/webapi/lib/jws_verify.js +0 -107
  2354. package/.output/server/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +0 -197
  2355. package/.output/server/node_modules/jose/dist/webapi/lib/key.js +0 -132
  2356. package/.output/server/node_modules/jose/dist/webapi/lib/key_algorithm.js +0 -10
  2357. package/.output/server/node_modules/jose/dist/webapi/lib/key_descriptor.js +0 -7
  2358. package/.output/server/node_modules/jose/dist/webapi/lib/key_management.js +0 -256
  2359. package/.output/server/node_modules/jose/dist/webapi/lib/options.js +0 -48
  2360. package/.output/server/node_modules/jose/dist/webapi/lib/signing.js +0 -26
  2361. package/.output/server/node_modules/jose/dist/webapi/lib/type_checks.js +0 -35
  2362. package/.output/server/node_modules/jose/dist/webapi/util/base64url.js +0 -39
  2363. package/.output/server/node_modules/jose/dist/webapi/util/decode_jwt.js +0 -32
  2364. package/.output/server/node_modules/jose/dist/webapi/util/decode_protected_header.js +0 -24
  2365. package/.output/server/node_modules/jose/dist/webapi/util/errors.js +0 -99
  2366. package/.output/server/node_modules/jose/package.json +0 -198
  2367. package/.output/server/node_modules/js-yaml/dist/js-yaml.mjs +0 -3074
  2368. package/.output/server/node_modules/js-yaml/package.json +0 -83
  2369. package/.output/server/node_modules/json-schema-traverse/index.js +0 -93
  2370. package/.output/server/node_modules/json-schema-traverse/package.json +0 -43
  2371. package/.output/server/node_modules/math-intrinsics/abs.js +0 -4
  2372. package/.output/server/node_modules/math-intrinsics/floor.js +0 -4
  2373. package/.output/server/node_modules/math-intrinsics/isNaN.js +0 -6
  2374. package/.output/server/node_modules/math-intrinsics/max.js +0 -4
  2375. package/.output/server/node_modules/math-intrinsics/min.js +0 -4
  2376. package/.output/server/node_modules/math-intrinsics/package.json +0 -86
  2377. package/.output/server/node_modules/math-intrinsics/pow.js +0 -4
  2378. package/.output/server/node_modules/math-intrinsics/round.js +0 -4
  2379. package/.output/server/node_modules/math-intrinsics/sign.js +0 -11
  2380. package/.output/server/node_modules/mime-db/db.json +0 -8519
  2381. package/.output/server/node_modules/mime-db/index.js +0 -12
  2382. package/.output/server/node_modules/mime-db/package.json +0 -60
  2383. package/.output/server/node_modules/mime-types/index.js +0 -188
  2384. package/.output/server/node_modules/mime-types/package.json +0 -44
  2385. package/.output/server/node_modules/ms/index.js +0 -162
  2386. package/.output/server/node_modules/ms/package.json +0 -38
  2387. package/.output/server/node_modules/nostics/dist/formatters/ansi.mjs +0 -19
  2388. package/.output/server/node_modules/nostics/dist/index.mjs +0 -187
  2389. package/.output/server/node_modules/nostics/package.json +0 -125
  2390. package/.output/server/node_modules/oauth4webapi/build/index.js +0 -2506
  2391. package/.output/server/node_modules/oauth4webapi/package.json +0 -105
  2392. package/.output/server/node_modules/openid-client/build/index.js +0 -1357
  2393. package/.output/server/node_modules/openid-client/package.json +0 -122
  2394. package/.output/server/node_modules/perfect-debounce/dist/index.cjs +0 -59
  2395. package/.output/server/node_modules/perfect-debounce/package.json +0 -44
  2396. package/.output/server/node_modules/pg/esm/index.mjs +0 -20
  2397. package/.output/server/node_modules/pg/lib/client.js +0 -828
  2398. package/.output/server/node_modules/pg/lib/connection-parameters.js +0 -184
  2399. package/.output/server/node_modules/pg/lib/connection.js +0 -243
  2400. package/.output/server/node_modules/pg/lib/crypto/cert-signatures.js +0 -122
  2401. package/.output/server/node_modules/pg/lib/crypto/sasl.js +0 -262
  2402. package/.output/server/node_modules/pg/lib/crypto/utils.js +0 -89
  2403. package/.output/server/node_modules/pg/lib/defaults.js +0 -94
  2404. package/.output/server/node_modules/pg/lib/index.js +0 -73
  2405. package/.output/server/node_modules/pg/lib/native/client.js +0 -420
  2406. package/.output/server/node_modules/pg/lib/native/index.js +0 -2
  2407. package/.output/server/node_modules/pg/lib/native/query.js +0 -165
  2408. package/.output/server/node_modules/pg/lib/query.js +0 -259
  2409. package/.output/server/node_modules/pg/lib/result.js +0 -109
  2410. package/.output/server/node_modules/pg/lib/stream.js +0 -83
  2411. package/.output/server/node_modules/pg/lib/type-overrides.js +0 -35
  2412. package/.output/server/node_modules/pg/lib/utils.js +0 -207
  2413. package/.output/server/node_modules/pg/package.json +0 -76
  2414. package/.output/server/node_modules/pg-cloudflare/dist/empty.js +0 -6
  2415. package/.output/server/node_modules/pg-cloudflare/package.json +0 -39
  2416. package/.output/server/node_modules/pg-connection-string/index.js +0 -237
  2417. package/.output/server/node_modules/pg-connection-string/package.json +0 -52
  2418. package/.output/server/node_modules/pg-int8/index.js +0 -100
  2419. package/.output/server/node_modules/pg-int8/package.json +0 -24
  2420. package/.output/server/node_modules/pg-pool/index.js +0 -517
  2421. package/.output/server/node_modules/pg-pool/package.json +0 -51
  2422. package/.output/server/node_modules/pg-protocol/dist/buffer-reader.js +0 -55
  2423. package/.output/server/node_modules/pg-protocol/dist/buffer-writer.js +0 -104
  2424. package/.output/server/node_modules/pg-protocol/dist/index.js +0 -15
  2425. package/.output/server/node_modules/pg-protocol/dist/messages.js +0 -160
  2426. package/.output/server/node_modules/pg-protocol/dist/parser.js +0 -325
  2427. package/.output/server/node_modules/pg-protocol/dist/serializer.js +0 -196
  2428. package/.output/server/node_modules/pg-protocol/package.json +0 -44
  2429. package/.output/server/node_modules/pg-types/index.js +0 -47
  2430. package/.output/server/node_modules/pg-types/lib/arrayParser.js +0 -11
  2431. package/.output/server/node_modules/pg-types/lib/binaryParsers.js +0 -257
  2432. package/.output/server/node_modules/pg-types/lib/builtins.js +0 -73
  2433. package/.output/server/node_modules/pg-types/lib/textParsers.js +0 -215
  2434. package/.output/server/node_modules/pg-types/package.json +0 -42
  2435. package/.output/server/node_modules/pgpass/lib/helper.js +0 -233
  2436. package/.output/server/node_modules/pgpass/lib/index.js +0 -23
  2437. package/.output/server/node_modules/pgpass/package.json +0 -41
  2438. package/.output/server/node_modules/pinia/dist/pinia.prod.cjs +0 -719
  2439. package/.output/server/node_modules/pinia/package.json +0 -94
  2440. package/.output/server/node_modules/pluralize/package.json +0 -40
  2441. package/.output/server/node_modules/pluralize/pluralize.js +0 -503
  2442. package/.output/server/node_modules/postgres-array/index.js +0 -97
  2443. package/.output/server/node_modules/postgres-array/package.json +0 -35
  2444. package/.output/server/node_modules/postgres-bytea/index.js +0 -33
  2445. package/.output/server/node_modules/postgres-bytea/package.json +0 -34
  2446. package/.output/server/node_modules/postgres-date/index.js +0 -116
  2447. package/.output/server/node_modules/postgres-date/package.json +0 -33
  2448. package/.output/server/node_modules/postgres-interval/index.js +0 -126
  2449. package/.output/server/node_modules/postgres-interval/package.json +0 -35
  2450. package/.output/server/node_modules/proxy-from-env/index.js +0 -103
  2451. package/.output/server/node_modules/proxy-from-env/package.json +0 -46
  2452. package/.output/server/node_modules/safe-stable-stringify/esm/package.json +0 -4
  2453. package/.output/server/node_modules/safe-stable-stringify/esm/wrapper.js +0 -6
  2454. package/.output/server/node_modules/safe-stable-stringify/index.js +0 -625
  2455. package/.output/server/node_modules/safe-stable-stringify/package.json +0 -65
  2456. package/.output/server/node_modules/secure-json-parse/index.js +0 -161
  2457. package/.output/server/node_modules/secure-json-parse/package.json +0 -74
  2458. package/.output/server/node_modules/slugify/package.json +0 -42
  2459. package/.output/server/node_modules/slugify/slugify.js +0 -69
  2460. package/.output/server/node_modules/source-map-js/lib/array-set.js +0 -121
  2461. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +0 -140
  2462. package/.output/server/node_modules/source-map-js/lib/base64.js +0 -67
  2463. package/.output/server/node_modules/source-map-js/lib/binary-search.js +0 -111
  2464. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +0 -79
  2465. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +0 -132
  2466. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +0 -1188
  2467. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +0 -444
  2468. package/.output/server/node_modules/source-map-js/lib/source-node.js +0 -413
  2469. package/.output/server/node_modules/source-map-js/lib/util.js +0 -594
  2470. package/.output/server/node_modules/source-map-js/package.json +0 -71
  2471. package/.output/server/node_modules/source-map-js/source-map.js +0 -8
  2472. package/.output/server/node_modules/split2/index.js +0 -141
  2473. package/.output/server/node_modules/split2/package.json +0 -39
  2474. package/.output/server/node_modules/supports-color/index.js +0 -135
  2475. package/.output/server/node_modules/supports-color/package.json +0 -53
  2476. package/.output/server/node_modules/three/build/three.cjs +0 -80028
  2477. package/.output/server/node_modules/three/build/three.core.js +0 -60007
  2478. package/.output/server/node_modules/three/build/three.module.js +0 -19610
  2479. package/.output/server/node_modules/three/examples/jsm/environments/RoomEnvironment.js +0 -185
  2480. package/.output/server/node_modules/three/examples/jsm/loaders/GLTFLoader.js +0 -4860
  2481. package/.output/server/node_modules/three/examples/jsm/utils/BufferGeometryUtils.js +0 -1501
  2482. package/.output/server/node_modules/three/examples/jsm/utils/SkeletonUtils.js +0 -496
  2483. package/.output/server/node_modules/three/package.json +0 -123
  2484. package/.output/server/node_modules/ufo/dist/index.mjs +0 -645
  2485. package/.output/server/node_modules/ufo/package.json +0 -48
  2486. package/.output/server/node_modules/unhead/dist/client.mjs +0 -22
  2487. package/.output/server/node_modules/unhead/dist/index.mjs +0 -52
  2488. package/.output/server/node_modules/unhead/dist/legacy.mjs +0 -33
  2489. package/.output/server/node_modules/unhead/dist/minify.mjs +0 -172
  2490. package/.output/server/node_modules/unhead/dist/parser.mjs +0 -518
  2491. package/.output/server/node_modules/unhead/dist/plugins.mjs +0 -631
  2492. package/.output/server/node_modules/unhead/dist/scripts.node.mjs +0 -6
  2493. package/.output/server/node_modules/unhead/dist/server.mjs +0 -99
  2494. package/.output/server/node_modules/unhead/dist/shared/unhead.10KEJHqy.mjs +0 -184
  2495. package/.output/server/node_modules/unhead/dist/shared/unhead.BCcw-xUY.mjs +0 -19
  2496. package/.output/server/node_modules/unhead/dist/shared/unhead.BEmVMkeA.mjs +0 -673
  2497. package/.output/server/node_modules/unhead/dist/shared/unhead.BGFxPGPQ.mjs +0 -47
  2498. package/.output/server/node_modules/unhead/dist/shared/unhead.BTzUdyNs.mjs +0 -194
  2499. package/.output/server/node_modules/unhead/dist/shared/unhead.Bb4d5b9h.mjs +0 -67
  2500. package/.output/server/node_modules/unhead/dist/shared/unhead.Bf_fPVYA.mjs +0 -6
  2501. package/.output/server/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs +0 -17
  2502. package/.output/server/node_modules/unhead/dist/shared/unhead.BuspQZgK.mjs +0 -231
  2503. package/.output/server/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs +0 -32
  2504. package/.output/server/node_modules/unhead/dist/shared/unhead.CHEy9ana.mjs +0 -7
  2505. package/.output/server/node_modules/unhead/dist/shared/unhead.CTjuIdzk.mjs +0 -27
  2506. package/.output/server/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs +0 -59
  2507. package/.output/server/node_modules/unhead/dist/shared/unhead.DNKiVLV7.mjs +0 -400
  2508. package/.output/server/node_modules/unhead/dist/shared/unhead.JIneUUHd.mjs +0 -264
  2509. package/.output/server/node_modules/unhead/dist/shared/unhead.q9F_9EzH.mjs +0 -588
  2510. package/.output/server/node_modules/unhead/dist/shared/unhead.sGLr_XKf.mjs +0 -201
  2511. package/.output/server/node_modules/unhead/dist/stream/client.mjs +0 -28
  2512. package/.output/server/node_modules/unhead/dist/stream/iife.mjs +0 -2
  2513. package/.output/server/node_modules/unhead/dist/stream/server.mjs +0 -264
  2514. package/.output/server/node_modules/unhead/dist/utils.mjs +0 -7
  2515. package/.output/server/node_modules/unhead/package.json +0 -179
  2516. package/.output/server/node_modules/vue/dist/vue.cjs.js +0 -80
  2517. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +0 -66
  2518. package/.output/server/node_modules/vue/index.js +0 -7
  2519. package/.output/server/node_modules/vue/index.mjs +0 -1
  2520. package/.output/server/node_modules/vue/package.json +0 -112
  2521. package/.output/server/node_modules/vue/server-renderer/index.mjs +0 -1
  2522. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +0 -278
  2523. package/.output/server/node_modules/vue-bundle-renderer/package.json +0 -54
  2524. package/.output/server/node_modules/vue-router/dist/devtools-EWN81iOl.mjs +0 -1220
  2525. package/.output/server/node_modules/vue-router/dist/vue-router.mjs +0 -1557
  2526. package/.output/server/node_modules/vue-router/package.json +0 -153
  2527. package/.output/server/node_modules/vue-router/vue-router.node.mjs +0 -2
  2528. package/.output/server/node_modules/xtend/mutable.js +0 -17
  2529. package/.output/server/node_modules/xtend/package.json +0 -55
  2530. package/.output/server/node_modules/zod/index.js +0 -4
  2531. package/.output/server/node_modules/zod/package.json +0 -118
  2532. package/.output/server/node_modules/zod/v3/ZodError.js +0 -133
  2533. package/.output/server/node_modules/zod/v3/errors.js +0 -9
  2534. package/.output/server/node_modules/zod/v3/external.js +0 -6
  2535. package/.output/server/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  2536. package/.output/server/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  2537. package/.output/server/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  2538. package/.output/server/node_modules/zod/v3/helpers/util.js +0 -133
  2539. package/.output/server/node_modules/zod/v3/index.js +0 -4
  2540. package/.output/server/node_modules/zod/v3/locales/en.js +0 -109
  2541. package/.output/server/node_modules/zod/v3/types.js +0 -3693
  2542. package/.output/server/node_modules/zod/v4/classic/checks.js +0 -1
  2543. package/.output/server/node_modules/zod/v4/classic/coerce.js +0 -17
  2544. package/.output/server/node_modules/zod/v4/classic/compat.js +0 -27
  2545. package/.output/server/node_modules/zod/v4/classic/errors.js +0 -41
  2546. package/.output/server/node_modules/zod/v4/classic/external.js +0 -18
  2547. package/.output/server/node_modules/zod/v4/classic/index.js +0 -4
  2548. package/.output/server/node_modules/zod/v4/classic/iso.js +0 -30
  2549. package/.output/server/node_modules/zod/v4/classic/parse.js +0 -6
  2550. package/.output/server/node_modules/zod/v4/classic/schemas.js +0 -1006
  2551. package/.output/server/node_modules/zod/v4/core/api.js +0 -906
  2552. package/.output/server/node_modules/zod/v4/core/checks.js +0 -565
  2553. package/.output/server/node_modules/zod/v4/core/core.js +0 -61
  2554. package/.output/server/node_modules/zod/v4/core/doc.js +0 -35
  2555. package/.output/server/node_modules/zod/v4/core/errors.js +0 -195
  2556. package/.output/server/node_modules/zod/v4/core/function.js +0 -75
  2557. package/.output/server/node_modules/zod/v4/core/index.js +0 -15
  2558. package/.output/server/node_modules/zod/v4/core/json-schema.js +0 -1
  2559. package/.output/server/node_modules/zod/v4/core/parse.js +0 -57
  2560. package/.output/server/node_modules/zod/v4/core/regexes.js +0 -95
  2561. package/.output/server/node_modules/zod/v4/core/registries.js +0 -51
  2562. package/.output/server/node_modules/zod/v4/core/schemas.js +0 -1717
  2563. package/.output/server/node_modules/zod/v4/core/to-json-schema.js +0 -849
  2564. package/.output/server/node_modules/zod/v4/core/util.js +0 -493
  2565. package/.output/server/node_modules/zod/v4/core/versions.js +0 -5
  2566. package/.output/server/node_modules/zod/v4/index.js +0 -3
  2567. package/.output/server/node_modules/zod/v4/locales/ar.js +0 -116
  2568. package/.output/server/node_modules/zod/v4/locales/az.js +0 -115
  2569. package/.output/server/node_modules/zod/v4/locales/be.js +0 -164
  2570. package/.output/server/node_modules/zod/v4/locales/ca.js +0 -118
  2571. package/.output/server/node_modules/zod/v4/locales/cs.js +0 -135
  2572. package/.output/server/node_modules/zod/v4/locales/de.js +0 -116
  2573. package/.output/server/node_modules/zod/v4/locales/en.js +0 -117
  2574. package/.output/server/node_modules/zod/v4/locales/eo.js +0 -116
  2575. package/.output/server/node_modules/zod/v4/locales/es.js +0 -117
  2576. package/.output/server/node_modules/zod/v4/locales/fa.js +0 -122
  2577. package/.output/server/node_modules/zod/v4/locales/fi.js +0 -122
  2578. package/.output/server/node_modules/zod/v4/locales/fr-CA.js +0 -117
  2579. package/.output/server/node_modules/zod/v4/locales/fr.js +0 -116
  2580. package/.output/server/node_modules/zod/v4/locales/he.js +0 -117
  2581. package/.output/server/node_modules/zod/v4/locales/hu.js +0 -117
  2582. package/.output/server/node_modules/zod/v4/locales/id.js +0 -116
  2583. package/.output/server/node_modules/zod/v4/locales/index.js +0 -39
  2584. package/.output/server/node_modules/zod/v4/locales/it.js +0 -117
  2585. package/.output/server/node_modules/zod/v4/locales/ja.js +0 -115
  2586. package/.output/server/node_modules/zod/v4/locales/kh.js +0 -117
  2587. package/.output/server/node_modules/zod/v4/locales/ko.js +0 -121
  2588. package/.output/server/node_modules/zod/v4/locales/mk.js +0 -118
  2589. package/.output/server/node_modules/zod/v4/locales/ms.js +0 -116
  2590. package/.output/server/node_modules/zod/v4/locales/nl.js +0 -117
  2591. package/.output/server/node_modules/zod/v4/locales/no.js +0 -116
  2592. package/.output/server/node_modules/zod/v4/locales/ota.js +0 -117
  2593. package/.output/server/node_modules/zod/v4/locales/pl.js +0 -117
  2594. package/.output/server/node_modules/zod/v4/locales/ps.js +0 -122
  2595. package/.output/server/node_modules/zod/v4/locales/pt.js +0 -116
  2596. package/.output/server/node_modules/zod/v4/locales/ru.js +0 -164
  2597. package/.output/server/node_modules/zod/v4/locales/sl.js +0 -117
  2598. package/.output/server/node_modules/zod/v4/locales/sv.js +0 -118
  2599. package/.output/server/node_modules/zod/v4/locales/ta.js +0 -117
  2600. package/.output/server/node_modules/zod/v4/locales/th.js +0 -117
  2601. package/.output/server/node_modules/zod/v4/locales/tr.js +0 -115
  2602. package/.output/server/node_modules/zod/v4/locales/ua.js +0 -117
  2603. package/.output/server/node_modules/zod/v4/locales/ur.js +0 -117
  2604. package/.output/server/node_modules/zod/v4/locales/vi.js +0 -116
  2605. package/.output/server/node_modules/zod/v4/locales/zh-CN.js +0 -116
  2606. package/.output/server/node_modules/zod/v4/locales/zh-TW.js +0 -117
  2607. package/.output/server/node_modules/zod/v4/mini/checks.js +0 -1
  2608. package/.output/server/node_modules/zod/v4/mini/coerce.js +0 -17
  2609. package/.output/server/node_modules/zod/v4/mini/external.js +0 -13
  2610. package/.output/server/node_modules/zod/v4/mini/index.js +0 -3
  2611. package/.output/server/node_modules/zod/v4/mini/iso.js +0 -30
  2612. package/.output/server/node_modules/zod/v4/mini/parse.js +0 -1
  2613. package/.output/server/node_modules/zod/v4/mini/schemas.js +0 -732
  2614. package/.output/server/node_modules/zod/v4-mini/index.js +0 -1
  2615. package/.output/server/node_modules/zod-to-json-schema/dist/esm/Options.js +0 -46
  2616. package/.output/server/node_modules/zod-to-json-schema/dist/esm/Refs.js +0 -22
  2617. package/.output/server/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +0 -14
  2618. package/.output/server/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js +0 -8
  2619. package/.output/server/node_modules/zod-to-json-schema/dist/esm/index.js +0 -40
  2620. package/.output/server/node_modules/zod-to-json-schema/dist/esm/package.json +0 -1
  2621. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parseDef.js +0 -62
  2622. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parseTypes.js +0 -1
  2623. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +0 -17
  2624. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +0 -26
  2625. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +0 -49
  2626. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +0 -5
  2627. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +0 -4
  2628. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +0 -4
  2629. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +0 -46
  2630. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +0 -7
  2631. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +0 -7
  2632. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +0 -6
  2633. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +0 -52
  2634. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +0 -21
  2635. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +0 -26
  2636. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +0 -16
  2637. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +0 -11
  2638. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +0 -10
  2639. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +0 -33
  2640. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +0 -52
  2641. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +0 -72
  2642. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +0 -21
  2643. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +0 -20
  2644. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +0 -4
  2645. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +0 -4
  2646. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +0 -61
  2647. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +0 -20
  2648. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +0 -352
  2649. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +0 -32
  2650. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +0 -6
  2651. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +0 -80
  2652. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +0 -4
  2653. package/.output/server/node_modules/zod-to-json-schema/dist/esm/selectParser.js +0 -105
  2654. package/.output/server/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +0 -87
  2655. package/.output/server/node_modules/zod-to-json-schema/package.json +0 -85
  2656. package/.output/server/package.json +0 -108
  2657. package/server/services/workshop/optimization/python/__pycache__/problems.cpython-312.pyc +0 -0
@@ -1,4860 +0,0 @@
1
- import {
2
- AnimationClip,
3
- Bone,
4
- Box3,
5
- BufferAttribute,
6
- BufferGeometry,
7
- ClampToEdgeWrapping,
8
- Color,
9
- ColorManagement,
10
- DirectionalLight,
11
- DoubleSide,
12
- FileLoader,
13
- FrontSide,
14
- Group,
15
- ImageBitmapLoader,
16
- InstancedMesh,
17
- InterleavedBuffer,
18
- InterleavedBufferAttribute,
19
- Interpolant,
20
- InterpolateDiscrete,
21
- InterpolateLinear,
22
- Line,
23
- LineBasicMaterial,
24
- LineLoop,
25
- LineSegments,
26
- LinearFilter,
27
- LinearMipmapLinearFilter,
28
- LinearMipmapNearestFilter,
29
- LinearSRGBColorSpace,
30
- Loader,
31
- LoaderUtils,
32
- Material,
33
- MathUtils,
34
- Matrix4,
35
- Mesh,
36
- MeshBasicMaterial,
37
- MeshPhysicalMaterial,
38
- MeshStandardMaterial,
39
- MirroredRepeatWrapping,
40
- NearestFilter,
41
- NearestMipmapLinearFilter,
42
- NearestMipmapNearestFilter,
43
- NumberKeyframeTrack,
44
- Object3D,
45
- OrthographicCamera,
46
- PerspectiveCamera,
47
- PointLight,
48
- Points,
49
- PointsMaterial,
50
- PropertyBinding,
51
- Quaternion,
52
- QuaternionKeyframeTrack,
53
- RepeatWrapping,
54
- Skeleton,
55
- SkinnedMesh,
56
- Sphere,
57
- SpotLight,
58
- Texture,
59
- TextureLoader,
60
- TriangleFanDrawMode,
61
- TriangleStripDrawMode,
62
- Vector2,
63
- Vector3,
64
- VectorKeyframeTrack,
65
- SRGBColorSpace,
66
- InstancedBufferAttribute
67
- } from 'three';
68
- import { toTrianglesDrawMode } from '../utils/BufferGeometryUtils.js';
69
- import { clone } from '../utils/SkeletonUtils.js';
70
-
71
- /**
72
- * A loader for the glTF 2.0 format.
73
- *
74
- * [glTF](https://www.khronos.org/gltf/) (GL Transmission Format) is an [open format specification]{@link https://github.com/KhronosGroup/glTF/tree/main/specification/2.0)
75
- * for efficient delivery and loading of 3D content. Assets may be provided either in JSON (.gltf) or binary (.glb)
76
- * format. External files store textures (.jpg, .png) and additional binary data (.bin). A glTF asset may deliver
77
- * one or more scenes, including meshes, materials, textures, skins, skeletons, morph targets, animations, lights,
78
- * and/or cameras.
79
- *
80
- * `GLTFLoader` uses {@link ImageBitmapLoader} whenever possible. Be advised that image bitmaps are not
81
- * automatically GC-collected when they are no longer referenced, and they require special handling during
82
- * the disposal process.
83
- *
84
- * `GLTFLoader` supports the following glTF 2.0 extensions:
85
- * - KHR_draco_mesh_compression
86
- * - KHR_lights_punctual
87
- * - KHR_materials_anisotropy
88
- * - KHR_materials_clearcoat
89
- * - KHR_materials_dispersion
90
- * - KHR_materials_emissive_strength
91
- * - KHR_materials_ior
92
- * - KHR_materials_specular
93
- * - KHR_materials_transmission
94
- * - KHR_materials_iridescence
95
- * - KHR_materials_unlit
96
- * - KHR_materials_volume
97
- * - KHR_mesh_quantization
98
- * - KHR_meshopt_compression
99
- * - KHR_texture_basisu
100
- * - KHR_texture_transform
101
- * - EXT_materials_bump
102
- * - EXT_meshopt_compression
103
- * - EXT_mesh_gpu_instancing
104
- * - EXT_texture_avif
105
- * - EXT_texture_webp
106
- *
107
- * The following glTF 2.0 extension is supported by an external user plugin:
108
- * - [KHR_materials_variants](https://github.com/takahirox/three-gltf-extensions)
109
- * - [MSFT_texture_dds](https://github.com/takahirox/three-gltf-extensions)
110
- * - [KHR_animation_pointer](https://github.com/needle-tools/three-animation-pointer)
111
- * - [NEEDLE_progressive](https://github.com/needle-tools/gltf-progressive)
112
- *
113
- * ```js
114
- * const loader = new GLTFLoader();
115
- *
116
- * // Optional: Provide a DRACOLoader instance to decode compressed mesh data
117
- * const dracoLoader = new DRACOLoader();
118
- * dracoLoader.setDecoderPath( '/examples/jsm/libs/draco/' );
119
- * loader.setDRACOLoader( dracoLoader );
120
- *
121
- * const gltf = await loader.loadAsync( 'models/gltf/duck/duck.gltf' );
122
- * scene.add( gltf.scene );
123
- * ```
124
- *
125
- * @augments Loader
126
- * @three_import import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
127
- */
128
- class GLTFLoader extends Loader {
129
-
130
- /**
131
- * Constructs a new glTF loader.
132
- *
133
- * @param {LoadingManager} [manager] - The loading manager.
134
- */
135
- constructor( manager ) {
136
-
137
- super( manager );
138
-
139
- this.dracoLoader = null;
140
- this.ktx2Loader = null;
141
- this.meshoptDecoder = null;
142
-
143
- this.pluginCallbacks = [];
144
-
145
- this.register( function ( parser ) {
146
-
147
- return new GLTFMaterialsClearcoatExtension( parser );
148
-
149
- } );
150
-
151
- this.register( function ( parser ) {
152
-
153
- return new GLTFMaterialsDispersionExtension( parser );
154
-
155
- } );
156
-
157
- this.register( function ( parser ) {
158
-
159
- return new GLTFTextureBasisUExtension( parser );
160
-
161
- } );
162
-
163
- this.register( function ( parser ) {
164
-
165
- return new GLTFTextureWebPExtension( parser );
166
-
167
- } );
168
-
169
- this.register( function ( parser ) {
170
-
171
- return new GLTFTextureAVIFExtension( parser );
172
-
173
- } );
174
-
175
- this.register( function ( parser ) {
176
-
177
- return new GLTFMaterialsSheenExtension( parser );
178
-
179
- } );
180
-
181
- this.register( function ( parser ) {
182
-
183
- return new GLTFMaterialsTransmissionExtension( parser );
184
-
185
- } );
186
-
187
- this.register( function ( parser ) {
188
-
189
- return new GLTFMaterialsVolumeExtension( parser );
190
-
191
- } );
192
-
193
- this.register( function ( parser ) {
194
-
195
- return new GLTFMaterialsIorExtension( parser );
196
-
197
- } );
198
-
199
- this.register( function ( parser ) {
200
-
201
- return new GLTFMaterialsEmissiveStrengthExtension( parser );
202
-
203
- } );
204
-
205
- this.register( function ( parser ) {
206
-
207
- return new GLTFMaterialsSpecularExtension( parser );
208
-
209
- } );
210
-
211
- this.register( function ( parser ) {
212
-
213
- return new GLTFMaterialsIridescenceExtension( parser );
214
-
215
- } );
216
-
217
- this.register( function ( parser ) {
218
-
219
- return new GLTFMaterialsAnisotropyExtension( parser );
220
-
221
- } );
222
-
223
- this.register( function ( parser ) {
224
-
225
- return new GLTFMaterialsBumpExtension( parser );
226
-
227
- } );
228
-
229
- this.register( function ( parser ) {
230
-
231
- return new GLTFLightsExtension( parser );
232
-
233
- } );
234
-
235
- this.register( function ( parser ) {
236
-
237
- return new GLTFMeshoptCompression( parser, EXTENSIONS.EXT_MESHOPT_COMPRESSION );
238
-
239
- } );
240
-
241
- this.register( function ( parser ) {
242
-
243
- return new GLTFMeshoptCompression( parser, EXTENSIONS.KHR_MESHOPT_COMPRESSION );
244
-
245
- } );
246
-
247
- this.register( function ( parser ) {
248
-
249
- return new GLTFMeshGpuInstancing( parser );
250
-
251
- } );
252
-
253
- }
254
-
255
- /**
256
- * Starts loading from the given URL and passes the loaded glTF asset
257
- * to the `onLoad()` callback.
258
- *
259
- * @param {string} url - The path/URL of the file to be loaded. This can also be a data URI.
260
- * @param {function(GLTFLoader~LoadObject)} onLoad - Executed when the loading process has been finished.
261
- * @param {onProgressCallback} onProgress - Executed while the loading is in progress.
262
- * @param {onErrorCallback} onError - Executed when errors occur.
263
- */
264
- load( url, onLoad, onProgress, onError ) {
265
-
266
- const scope = this;
267
-
268
- let resourcePath;
269
-
270
- if ( this.resourcePath !== '' ) {
271
-
272
- resourcePath = this.resourcePath;
273
-
274
- } else if ( this.path !== '' ) {
275
-
276
- // If a base path is set, resources will be relative paths from that plus the relative path of the gltf file
277
- // Example path = 'https://my-cnd-server.com/', url = 'assets/models/model.gltf'
278
- // resourcePath = 'https://my-cnd-server.com/assets/models/'
279
- // referenced resource 'model.bin' will be loaded from 'https://my-cnd-server.com/assets/models/model.bin'
280
- // referenced resource '../textures/texture.png' will be loaded from 'https://my-cnd-server.com/assets/textures/texture.png'
281
- const relativeUrl = LoaderUtils.extractUrlBase( url );
282
- resourcePath = LoaderUtils.resolveURL( relativeUrl, this.path );
283
-
284
- } else {
285
-
286
- resourcePath = LoaderUtils.extractUrlBase( url );
287
-
288
- }
289
-
290
- // Tells the LoadingManager to track an extra item, which resolves after
291
- // the model is fully loaded. This means the count of items loaded will
292
- // be incorrect, but ensures manager.onLoad() does not fire early.
293
- this.manager.itemStart( url );
294
-
295
- const _onError = function ( e ) {
296
-
297
- if ( onError ) {
298
-
299
- onError( e );
300
-
301
- } else {
302
-
303
- console.error( e );
304
-
305
- }
306
-
307
- scope.manager.itemError( url );
308
- scope.manager.itemEnd( url );
309
-
310
- };
311
-
312
- const loader = new FileLoader( this.manager );
313
-
314
- loader.setPath( this.path );
315
- loader.setResponseType( 'arraybuffer' );
316
- loader.setRequestHeader( this.requestHeader );
317
- loader.setWithCredentials( this.withCredentials );
318
-
319
- loader.load( url, function ( data ) {
320
-
321
- try {
322
-
323
- scope.parse( data, resourcePath, function ( gltf ) {
324
-
325
- onLoad( gltf );
326
-
327
- scope.manager.itemEnd( url );
328
-
329
- }, _onError );
330
-
331
- } catch ( e ) {
332
-
333
- _onError( e );
334
-
335
- }
336
-
337
- }, onProgress, _onError );
338
-
339
- }
340
-
341
- /**
342
- * Sets the given Draco loader to this loader. Required for decoding assets
343
- * compressed with the `KHR_draco_mesh_compression` extension.
344
- *
345
- * @param {DRACOLoader} dracoLoader - The Draco loader to set.
346
- * @return {GLTFLoader} A reference to this loader.
347
- */
348
- setDRACOLoader( dracoLoader ) {
349
-
350
- this.dracoLoader = dracoLoader;
351
- return this;
352
-
353
- }
354
-
355
- /**
356
- * Sets the given KTX2 loader to this loader. Required for loading KTX2
357
- * compressed textures.
358
- *
359
- * @param {KTX2Loader} ktx2Loader - The KTX2 loader to set.
360
- * @return {GLTFLoader} A reference to this loader.
361
- */
362
- setKTX2Loader( ktx2Loader ) {
363
-
364
- this.ktx2Loader = ktx2Loader;
365
- return this;
366
-
367
- }
368
-
369
- /**
370
- * Sets the given meshopt decoder. Required for decoding assets
371
- * compressed with the `EXT_meshopt_compression` extension.
372
- *
373
- * @param {Object} meshoptDecoder - The meshopt decoder to set.
374
- * @return {GLTFLoader} A reference to this loader.
375
- */
376
- setMeshoptDecoder( meshoptDecoder ) {
377
-
378
- this.meshoptDecoder = meshoptDecoder;
379
- return this;
380
-
381
- }
382
-
383
- /**
384
- * Registers a plugin callback. This API is internally used to implement the various
385
- * glTF extensions but can also used by third-party code to add additional logic
386
- * to the loader.
387
- *
388
- * @param {function(parser:GLTFParser)} callback - The callback function to register.
389
- * @return {GLTFLoader} A reference to this loader.
390
- */
391
- register( callback ) {
392
-
393
- if ( this.pluginCallbacks.indexOf( callback ) === - 1 ) {
394
-
395
- this.pluginCallbacks.push( callback );
396
-
397
- }
398
-
399
- return this;
400
-
401
- }
402
-
403
- /**
404
- * Unregisters a plugin callback.
405
- *
406
- * @param {Function} callback - The callback function to unregister.
407
- * @return {GLTFLoader} A reference to this loader.
408
- */
409
- unregister( callback ) {
410
-
411
- if ( this.pluginCallbacks.indexOf( callback ) !== - 1 ) {
412
-
413
- this.pluginCallbacks.splice( this.pluginCallbacks.indexOf( callback ), 1 );
414
-
415
- }
416
-
417
- return this;
418
-
419
- }
420
-
421
- /**
422
- * Parses the given glTF data and returns the resulting group.
423
- *
424
- * @param {string|ArrayBuffer} data - The raw glTF data.
425
- * @param {string} path - The URL base path.
426
- * @param {function(GLTFLoader~LoadObject)} onLoad - Executed when the loading process has been finished.
427
- * @param {onErrorCallback} onError - Executed when errors occur.
428
- */
429
- parse( data, path, onLoad, onError ) {
430
-
431
- let json;
432
- const extensions = {};
433
- const plugins = {};
434
- const textDecoder = new TextDecoder();
435
-
436
- if ( typeof data === 'string' ) {
437
-
438
- json = JSON.parse( data );
439
-
440
- } else if ( data instanceof ArrayBuffer ) {
441
-
442
- const magic = textDecoder.decode( new Uint8Array( data, 0, 4 ) );
443
-
444
- if ( magic === BINARY_EXTENSION_HEADER_MAGIC ) {
445
-
446
- try {
447
-
448
- extensions[ EXTENSIONS.KHR_BINARY_GLTF ] = new GLTFBinaryExtension( data );
449
-
450
- } catch ( error ) {
451
-
452
- if ( onError ) onError( error );
453
- return;
454
-
455
- }
456
-
457
- json = JSON.parse( extensions[ EXTENSIONS.KHR_BINARY_GLTF ].content );
458
-
459
- } else {
460
-
461
- json = JSON.parse( textDecoder.decode( data ) );
462
-
463
- }
464
-
465
- } else {
466
-
467
- json = data;
468
-
469
- }
470
-
471
- if ( json.asset === undefined || json.asset.version[ 0 ] < 2 ) {
472
-
473
- if ( onError ) onError( new Error( 'THREE.GLTFLoader: Unsupported asset. glTF versions >=2.0 are supported.' ) );
474
- return;
475
-
476
- }
477
-
478
- const parser = new GLTFParser( json, {
479
-
480
- path: path || this.resourcePath || '',
481
- crossOrigin: this.crossOrigin,
482
- requestHeader: this.requestHeader,
483
- manager: this.manager,
484
- ktx2Loader: this.ktx2Loader,
485
- meshoptDecoder: this.meshoptDecoder
486
-
487
- } );
488
-
489
- parser.fileLoader.setRequestHeader( this.requestHeader );
490
-
491
- for ( let i = 0; i < this.pluginCallbacks.length; i ++ ) {
492
-
493
- const plugin = this.pluginCallbacks[ i ]( parser );
494
-
495
- if ( ! plugin.name ) console.error( 'THREE.GLTFLoader: Invalid plugin found: missing name' );
496
-
497
- plugins[ plugin.name ] = plugin;
498
-
499
- // Workaround to avoid determining as unknown extension
500
- // in addUnknownExtensionsToUserData().
501
- // Remove this workaround if we move all the existing
502
- // extension handlers to plugin system
503
- extensions[ plugin.name ] = true;
504
-
505
- }
506
-
507
- if ( json.extensionsUsed ) {
508
-
509
- for ( let i = 0; i < json.extensionsUsed.length; ++ i ) {
510
-
511
- const extensionName = json.extensionsUsed[ i ];
512
- const extensionsRequired = json.extensionsRequired || [];
513
-
514
- switch ( extensionName ) {
515
-
516
- case EXTENSIONS.KHR_MATERIALS_UNLIT:
517
- extensions[ extensionName ] = new GLTFMaterialsUnlitExtension();
518
- break;
519
-
520
- case EXTENSIONS.KHR_DRACO_MESH_COMPRESSION:
521
- extensions[ extensionName ] = new GLTFDracoMeshCompressionExtension( json, this.dracoLoader );
522
- break;
523
-
524
- case EXTENSIONS.KHR_TEXTURE_TRANSFORM:
525
- extensions[ extensionName ] = new GLTFTextureTransformExtension();
526
- break;
527
-
528
- case EXTENSIONS.KHR_MESH_QUANTIZATION:
529
- extensions[ extensionName ] = new GLTFMeshQuantizationExtension();
530
- break;
531
-
532
- default:
533
-
534
- if ( extensionsRequired.indexOf( extensionName ) >= 0 && plugins[ extensionName ] === undefined ) {
535
-
536
- console.warn( 'THREE.GLTFLoader: Unknown extension "' + extensionName + '".' );
537
-
538
- }
539
-
540
- }
541
-
542
- }
543
-
544
- }
545
-
546
- parser.setExtensions( extensions );
547
- parser.setPlugins( plugins );
548
- parser.parse( onLoad, onError );
549
-
550
- }
551
-
552
- /**
553
- * Async version of {@link GLTFLoader#parse}.
554
- *
555
- * @async
556
- * @param {string|ArrayBuffer} data - The raw glTF data.
557
- * @param {string} path - The URL base path.
558
- * @return {Promise<GLTFLoader~LoadObject>} A Promise that resolves with the loaded glTF when the parsing has been finished.
559
- */
560
- parseAsync( data, path ) {
561
-
562
- const scope = this;
563
-
564
- return new Promise( function ( resolve, reject ) {
565
-
566
- scope.parse( data, path, resolve, reject );
567
-
568
- } );
569
-
570
- }
571
-
572
- }
573
-
574
- /* GLTFREGISTRY */
575
-
576
- function GLTFRegistry() {
577
-
578
- let objects = {};
579
-
580
- return {
581
-
582
- get: function ( key ) {
583
-
584
- return objects[ key ];
585
-
586
- },
587
-
588
- add: function ( key, object ) {
589
-
590
- objects[ key ] = object;
591
-
592
- },
593
-
594
- remove: function ( key ) {
595
-
596
- delete objects[ key ];
597
-
598
- },
599
-
600
- removeAll: function () {
601
-
602
- objects = {};
603
-
604
- }
605
-
606
- };
607
-
608
- }
609
-
610
- /*********************************/
611
- /********** EXTENSIONS ***********/
612
- /*********************************/
613
-
614
- function getMaterialExtension( parser, materialIndex, extensionName ) {
615
-
616
- const materialDef = parser.json.materials[ materialIndex ];
617
-
618
- if ( materialDef.extensions && materialDef.extensions[ extensionName ] ) {
619
-
620
- return materialDef.extensions[ extensionName ];
621
-
622
- }
623
-
624
- return null;
625
-
626
- }
627
-
628
- const EXTENSIONS = {
629
- KHR_BINARY_GLTF: 'KHR_binary_glTF',
630
- KHR_DRACO_MESH_COMPRESSION: 'KHR_draco_mesh_compression',
631
- KHR_LIGHTS_PUNCTUAL: 'KHR_lights_punctual',
632
- KHR_MATERIALS_CLEARCOAT: 'KHR_materials_clearcoat',
633
- KHR_MATERIALS_DISPERSION: 'KHR_materials_dispersion',
634
- KHR_MATERIALS_IOR: 'KHR_materials_ior',
635
- KHR_MATERIALS_SHEEN: 'KHR_materials_sheen',
636
- KHR_MATERIALS_SPECULAR: 'KHR_materials_specular',
637
- KHR_MATERIALS_TRANSMISSION: 'KHR_materials_transmission',
638
- KHR_MATERIALS_IRIDESCENCE: 'KHR_materials_iridescence',
639
- KHR_MATERIALS_ANISOTROPY: 'KHR_materials_anisotropy',
640
- KHR_MATERIALS_UNLIT: 'KHR_materials_unlit',
641
- KHR_MATERIALS_VOLUME: 'KHR_materials_volume',
642
- KHR_TEXTURE_BASISU: 'KHR_texture_basisu',
643
- KHR_TEXTURE_TRANSFORM: 'KHR_texture_transform',
644
- KHR_MESH_QUANTIZATION: 'KHR_mesh_quantization',
645
- KHR_MATERIALS_EMISSIVE_STRENGTH: 'KHR_materials_emissive_strength',
646
- EXT_MATERIALS_BUMP: 'EXT_materials_bump',
647
- EXT_TEXTURE_WEBP: 'EXT_texture_webp',
648
- EXT_TEXTURE_AVIF: 'EXT_texture_avif',
649
- EXT_MESHOPT_COMPRESSION: 'EXT_meshopt_compression',
650
- KHR_MESHOPT_COMPRESSION: 'KHR_meshopt_compression',
651
- EXT_MESH_GPU_INSTANCING: 'EXT_mesh_gpu_instancing'
652
- };
653
-
654
- /**
655
- * Punctual Lights Extension
656
- *
657
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_lights_punctual
658
- *
659
- * @private
660
- */
661
- class GLTFLightsExtension {
662
-
663
- constructor( parser ) {
664
-
665
- this.parser = parser;
666
- this.name = EXTENSIONS.KHR_LIGHTS_PUNCTUAL;
667
-
668
- // Object3D instance caches
669
- this.cache = { refs: {}, uses: {} };
670
-
671
- }
672
-
673
- _markDefs() {
674
-
675
- const parser = this.parser;
676
- const nodeDefs = this.parser.json.nodes || [];
677
-
678
- for ( let nodeIndex = 0, nodeLength = nodeDefs.length; nodeIndex < nodeLength; nodeIndex ++ ) {
679
-
680
- const nodeDef = nodeDefs[ nodeIndex ];
681
-
682
- if ( nodeDef.extensions
683
- && nodeDef.extensions[ this.name ]
684
- && nodeDef.extensions[ this.name ].light !== undefined ) {
685
-
686
- parser._addNodeRef( this.cache, nodeDef.extensions[ this.name ].light );
687
-
688
- }
689
-
690
- }
691
-
692
- }
693
-
694
- _loadLight( lightIndex ) {
695
-
696
- const parser = this.parser;
697
- const cacheKey = 'light:' + lightIndex;
698
- let dependency = parser.cache.get( cacheKey );
699
-
700
- if ( dependency ) return dependency;
701
-
702
- const json = parser.json;
703
- const extensions = ( json.extensions && json.extensions[ this.name ] ) || {};
704
- const lightDefs = extensions.lights || [];
705
- const lightDef = lightDefs[ lightIndex ];
706
- let lightNode;
707
-
708
- const color = new Color( 0xffffff );
709
-
710
- if ( lightDef.color !== undefined ) color.setRGB( lightDef.color[ 0 ], lightDef.color[ 1 ], lightDef.color[ 2 ], LinearSRGBColorSpace );
711
-
712
- const range = lightDef.range !== undefined ? lightDef.range : 0;
713
-
714
- switch ( lightDef.type ) {
715
-
716
- case 'directional':
717
- lightNode = new DirectionalLight( color );
718
- lightNode.target.position.set( 0, 0, - 1 );
719
- lightNode.add( lightNode.target );
720
- break;
721
-
722
- case 'point':
723
- lightNode = new PointLight( color );
724
- lightNode.distance = range;
725
- break;
726
-
727
- case 'spot':
728
- lightNode = new SpotLight( color );
729
- lightNode.distance = range;
730
- // Handle spotlight properties.
731
- lightDef.spot = lightDef.spot || {};
732
- lightDef.spot.innerConeAngle = lightDef.spot.innerConeAngle !== undefined ? lightDef.spot.innerConeAngle : 0;
733
- lightDef.spot.outerConeAngle = lightDef.spot.outerConeAngle !== undefined ? lightDef.spot.outerConeAngle : Math.PI / 4.0;
734
- lightNode.angle = lightDef.spot.outerConeAngle;
735
- lightNode.penumbra = 1.0 - lightDef.spot.innerConeAngle / lightDef.spot.outerConeAngle;
736
- lightNode.target.position.set( 0, 0, - 1 );
737
- lightNode.add( lightNode.target );
738
- break;
739
-
740
- default:
741
- throw new Error( 'THREE.GLTFLoader: Unexpected light type: ' + lightDef.type );
742
-
743
- }
744
-
745
- // Some lights (e.g. spot) default to a position other than the origin. Reset the position
746
- // here, because node-level parsing will only override position if explicitly specified.
747
- lightNode.position.set( 0, 0, 0 );
748
-
749
- assignExtrasToUserData( lightNode, lightDef );
750
-
751
- if ( lightDef.intensity !== undefined ) lightNode.intensity = lightDef.intensity;
752
-
753
- lightNode.name = parser.createUniqueName( lightDef.name || ( 'light_' + lightIndex ) );
754
-
755
- dependency = Promise.resolve( lightNode );
756
-
757
- parser.cache.add( cacheKey, dependency );
758
-
759
- return dependency;
760
-
761
- }
762
-
763
- getDependency( type, index ) {
764
-
765
- if ( type !== 'light' ) return;
766
-
767
- return this._loadLight( index );
768
-
769
- }
770
-
771
- createNodeAttachment( nodeIndex ) {
772
-
773
- const self = this;
774
- const parser = this.parser;
775
- const json = parser.json;
776
- const nodeDef = json.nodes[ nodeIndex ];
777
- const lightDef = ( nodeDef.extensions && nodeDef.extensions[ this.name ] ) || {};
778
- const lightIndex = lightDef.light;
779
-
780
- if ( lightIndex === undefined ) return null;
781
-
782
- return this._loadLight( lightIndex ).then( function ( light ) {
783
-
784
- return parser._getNodeRef( self.cache, lightIndex, light );
785
-
786
- } );
787
-
788
- }
789
-
790
- }
791
-
792
- /**
793
- * Unlit Materials Extension
794
- *
795
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_unlit
796
- *
797
- * @private
798
- */
799
- class GLTFMaterialsUnlitExtension {
800
-
801
- constructor() {
802
-
803
- this.name = EXTENSIONS.KHR_MATERIALS_UNLIT;
804
-
805
- }
806
-
807
- getMaterialType() {
808
-
809
- return MeshBasicMaterial;
810
-
811
- }
812
-
813
- extendParams( materialParams, materialDef, parser ) {
814
-
815
- const pending = [];
816
-
817
- materialParams.color = new Color( 1.0, 1.0, 1.0 );
818
- materialParams.opacity = 1.0;
819
-
820
- const metallicRoughness = materialDef.pbrMetallicRoughness;
821
-
822
- if ( metallicRoughness ) {
823
-
824
- if ( Array.isArray( metallicRoughness.baseColorFactor ) ) {
825
-
826
- const array = metallicRoughness.baseColorFactor;
827
-
828
- materialParams.color.setRGB( array[ 0 ], array[ 1 ], array[ 2 ], LinearSRGBColorSpace );
829
- materialParams.opacity = array[ 3 ];
830
-
831
- }
832
-
833
- if ( metallicRoughness.baseColorTexture !== undefined ) {
834
-
835
- pending.push( parser.assignTexture( materialParams, 'map', metallicRoughness.baseColorTexture, SRGBColorSpace ) );
836
-
837
- }
838
-
839
- }
840
-
841
- return Promise.all( pending );
842
-
843
- }
844
-
845
- }
846
-
847
- /**
848
- * Materials Emissive Strength Extension
849
- *
850
- * Specification: https://github.com/KhronosGroup/glTF/blob/5768b3ce0ef32bc39cdf1bef10b948586635ead3/extensions/2.0/Khronos/KHR_materials_emissive_strength/README.md
851
- *
852
- * @private
853
- */
854
- class GLTFMaterialsEmissiveStrengthExtension {
855
-
856
- constructor( parser ) {
857
-
858
- this.parser = parser;
859
- this.name = EXTENSIONS.KHR_MATERIALS_EMISSIVE_STRENGTH;
860
-
861
- }
862
-
863
- extendMaterialParams( materialIndex, materialParams ) {
864
-
865
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
866
-
867
- if ( extension === null ) return Promise.resolve();
868
-
869
- if ( extension.emissiveStrength !== undefined ) {
870
-
871
- materialParams.emissiveIntensity = extension.emissiveStrength;
872
-
873
- }
874
-
875
- return Promise.resolve();
876
-
877
- }
878
-
879
- }
880
-
881
- /**
882
- * Clearcoat Materials Extension
883
- *
884
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_clearcoat
885
- *
886
- * @private
887
- */
888
- class GLTFMaterialsClearcoatExtension {
889
-
890
- constructor( parser ) {
891
-
892
- this.parser = parser;
893
- this.name = EXTENSIONS.KHR_MATERIALS_CLEARCOAT;
894
-
895
- }
896
-
897
- getMaterialType( materialIndex ) {
898
-
899
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
900
-
901
- return extension !== null ? MeshPhysicalMaterial : null;
902
-
903
- }
904
-
905
- extendMaterialParams( materialIndex, materialParams ) {
906
-
907
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
908
-
909
- if ( extension === null ) return Promise.resolve();
910
-
911
- const pending = [];
912
-
913
- if ( extension.clearcoatFactor !== undefined ) {
914
-
915
- materialParams.clearcoat = extension.clearcoatFactor;
916
-
917
- }
918
-
919
- if ( extension.clearcoatTexture !== undefined ) {
920
-
921
- pending.push( this.parser.assignTexture( materialParams, 'clearcoatMap', extension.clearcoatTexture ) );
922
-
923
- }
924
-
925
- if ( extension.clearcoatRoughnessFactor !== undefined ) {
926
-
927
- materialParams.clearcoatRoughness = extension.clearcoatRoughnessFactor;
928
-
929
- }
930
-
931
- if ( extension.clearcoatRoughnessTexture !== undefined ) {
932
-
933
- pending.push( this.parser.assignTexture( materialParams, 'clearcoatRoughnessMap', extension.clearcoatRoughnessTexture ) );
934
-
935
- }
936
-
937
- if ( extension.clearcoatNormalTexture !== undefined ) {
938
-
939
- pending.push( this.parser.assignTexture( materialParams, 'clearcoatNormalMap', extension.clearcoatNormalTexture ) );
940
-
941
- if ( extension.clearcoatNormalTexture.scale !== undefined ) {
942
-
943
- const scale = extension.clearcoatNormalTexture.scale;
944
-
945
- materialParams.clearcoatNormalScale = new Vector2( scale, scale );
946
-
947
- }
948
-
949
- }
950
-
951
- return Promise.all( pending );
952
-
953
- }
954
-
955
- }
956
-
957
- /**
958
- * Materials dispersion Extension
959
- *
960
- * Specification: https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_dispersion
961
- *
962
- * @private
963
- */
964
- class GLTFMaterialsDispersionExtension {
965
-
966
- constructor( parser ) {
967
-
968
- this.parser = parser;
969
- this.name = EXTENSIONS.KHR_MATERIALS_DISPERSION;
970
-
971
- }
972
-
973
- getMaterialType( materialIndex ) {
974
-
975
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
976
-
977
- return extension !== null ? MeshPhysicalMaterial : null;
978
-
979
- }
980
-
981
- extendMaterialParams( materialIndex, materialParams ) {
982
-
983
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
984
-
985
- if ( extension === null ) return Promise.resolve();
986
-
987
- materialParams.dispersion = extension.dispersion !== undefined ? extension.dispersion : 0;
988
-
989
- return Promise.resolve();
990
-
991
- }
992
-
993
- }
994
-
995
- /**
996
- * Iridescence Materials Extension
997
- *
998
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_iridescence
999
- *
1000
- * @private
1001
- */
1002
- class GLTFMaterialsIridescenceExtension {
1003
-
1004
- constructor( parser ) {
1005
-
1006
- this.parser = parser;
1007
- this.name = EXTENSIONS.KHR_MATERIALS_IRIDESCENCE;
1008
-
1009
- }
1010
-
1011
- getMaterialType( materialIndex ) {
1012
-
1013
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1014
-
1015
- return extension !== null ? MeshPhysicalMaterial : null;
1016
-
1017
- }
1018
-
1019
- extendMaterialParams( materialIndex, materialParams ) {
1020
-
1021
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1022
-
1023
- if ( extension === null ) return Promise.resolve();
1024
-
1025
- const pending = [];
1026
-
1027
- if ( extension.iridescenceFactor !== undefined ) {
1028
-
1029
- materialParams.iridescence = extension.iridescenceFactor;
1030
-
1031
- }
1032
-
1033
- if ( extension.iridescenceTexture !== undefined ) {
1034
-
1035
- pending.push( this.parser.assignTexture( materialParams, 'iridescenceMap', extension.iridescenceTexture ) );
1036
-
1037
- }
1038
-
1039
- if ( extension.iridescenceIor !== undefined ) {
1040
-
1041
- materialParams.iridescenceIOR = extension.iridescenceIor;
1042
-
1043
- }
1044
-
1045
- if ( materialParams.iridescenceThicknessRange === undefined ) {
1046
-
1047
- materialParams.iridescenceThicknessRange = [ 100, 400 ];
1048
-
1049
- }
1050
-
1051
- if ( extension.iridescenceThicknessMinimum !== undefined ) {
1052
-
1053
- materialParams.iridescenceThicknessRange[ 0 ] = extension.iridescenceThicknessMinimum;
1054
-
1055
- }
1056
-
1057
- if ( extension.iridescenceThicknessMaximum !== undefined ) {
1058
-
1059
- materialParams.iridescenceThicknessRange[ 1 ] = extension.iridescenceThicknessMaximum;
1060
-
1061
- }
1062
-
1063
- if ( extension.iridescenceThicknessTexture !== undefined ) {
1064
-
1065
- pending.push( this.parser.assignTexture( materialParams, 'iridescenceThicknessMap', extension.iridescenceThicknessTexture ) );
1066
-
1067
- }
1068
-
1069
- return Promise.all( pending );
1070
-
1071
- }
1072
-
1073
- }
1074
-
1075
- /**
1076
- * Sheen Materials Extension
1077
- *
1078
- * Specification: https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_sheen
1079
- *
1080
- * @private
1081
- */
1082
- class GLTFMaterialsSheenExtension {
1083
-
1084
- constructor( parser ) {
1085
-
1086
- this.parser = parser;
1087
- this.name = EXTENSIONS.KHR_MATERIALS_SHEEN;
1088
-
1089
- }
1090
-
1091
- getMaterialType( materialIndex ) {
1092
-
1093
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1094
-
1095
- return extension !== null ? MeshPhysicalMaterial : null;
1096
-
1097
- }
1098
-
1099
- extendMaterialParams( materialIndex, materialParams ) {
1100
-
1101
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1102
-
1103
- if ( extension === null ) return Promise.resolve();
1104
-
1105
- const pending = [];
1106
-
1107
- materialParams.sheenColor = new Color( 0, 0, 0 );
1108
- materialParams.sheenRoughness = 0;
1109
- materialParams.sheen = 1;
1110
-
1111
- if ( extension.sheenColorFactor !== undefined ) {
1112
-
1113
- const colorFactor = extension.sheenColorFactor;
1114
- materialParams.sheenColor.setRGB( colorFactor[ 0 ], colorFactor[ 1 ], colorFactor[ 2 ], LinearSRGBColorSpace );
1115
-
1116
- }
1117
-
1118
- if ( extension.sheenRoughnessFactor !== undefined ) {
1119
-
1120
- materialParams.sheenRoughness = extension.sheenRoughnessFactor;
1121
-
1122
- }
1123
-
1124
- if ( extension.sheenColorTexture !== undefined ) {
1125
-
1126
- pending.push( this.parser.assignTexture( materialParams, 'sheenColorMap', extension.sheenColorTexture, SRGBColorSpace ) );
1127
-
1128
- }
1129
-
1130
- if ( extension.sheenRoughnessTexture !== undefined ) {
1131
-
1132
- pending.push( this.parser.assignTexture( materialParams, 'sheenRoughnessMap', extension.sheenRoughnessTexture ) );
1133
-
1134
- }
1135
-
1136
- return Promise.all( pending );
1137
-
1138
- }
1139
-
1140
- }
1141
-
1142
- /**
1143
- * Transmission Materials Extension
1144
- *
1145
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_transmission
1146
- * Draft: https://github.com/KhronosGroup/glTF/pull/1698
1147
- *
1148
- * @private
1149
- */
1150
- class GLTFMaterialsTransmissionExtension {
1151
-
1152
- constructor( parser ) {
1153
-
1154
- this.parser = parser;
1155
- this.name = EXTENSIONS.KHR_MATERIALS_TRANSMISSION;
1156
-
1157
- }
1158
-
1159
- getMaterialType( materialIndex ) {
1160
-
1161
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1162
-
1163
- return extension !== null ? MeshPhysicalMaterial : null;
1164
-
1165
- }
1166
-
1167
- extendMaterialParams( materialIndex, materialParams ) {
1168
-
1169
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1170
-
1171
- if ( extension === null ) return Promise.resolve();
1172
-
1173
- const pending = [];
1174
-
1175
- if ( extension.transmissionFactor !== undefined ) {
1176
-
1177
- materialParams.transmission = extension.transmissionFactor;
1178
-
1179
- }
1180
-
1181
- if ( extension.transmissionTexture !== undefined ) {
1182
-
1183
- pending.push( this.parser.assignTexture( materialParams, 'transmissionMap', extension.transmissionTexture ) );
1184
-
1185
- }
1186
-
1187
- return Promise.all( pending );
1188
-
1189
- }
1190
-
1191
- }
1192
-
1193
- /**
1194
- * Materials Volume Extension
1195
- *
1196
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_volume
1197
- *
1198
- * @private
1199
- */
1200
- class GLTFMaterialsVolumeExtension {
1201
-
1202
- constructor( parser ) {
1203
-
1204
- this.parser = parser;
1205
- this.name = EXTENSIONS.KHR_MATERIALS_VOLUME;
1206
-
1207
- }
1208
-
1209
- getMaterialType( materialIndex ) {
1210
-
1211
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1212
-
1213
- return extension !== null ? MeshPhysicalMaterial : null;
1214
-
1215
- }
1216
-
1217
- extendMaterialParams( materialIndex, materialParams ) {
1218
-
1219
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1220
-
1221
- if ( extension === null ) return Promise.resolve();
1222
-
1223
- const pending = [];
1224
-
1225
- materialParams.thickness = extension.thicknessFactor !== undefined ? extension.thicknessFactor : 0;
1226
-
1227
- if ( extension.thicknessTexture !== undefined ) {
1228
-
1229
- pending.push( this.parser.assignTexture( materialParams, 'thicknessMap', extension.thicknessTexture ) );
1230
-
1231
- }
1232
-
1233
- materialParams.attenuationDistance = extension.attenuationDistance || Infinity;
1234
-
1235
- const colorArray = extension.attenuationColor || [ 1, 1, 1 ];
1236
- materialParams.attenuationColor = new Color().setRGB( colorArray[ 0 ], colorArray[ 1 ], colorArray[ 2 ], LinearSRGBColorSpace );
1237
-
1238
- return Promise.all( pending );
1239
-
1240
- }
1241
-
1242
- }
1243
-
1244
- /**
1245
- * Materials ior Extension
1246
- *
1247
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_ior
1248
- *
1249
- * @private
1250
- */
1251
- class GLTFMaterialsIorExtension {
1252
-
1253
- constructor( parser ) {
1254
-
1255
- this.parser = parser;
1256
- this.name = EXTENSIONS.KHR_MATERIALS_IOR;
1257
-
1258
- }
1259
-
1260
- getMaterialType( materialIndex ) {
1261
-
1262
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1263
-
1264
- return extension !== null ? MeshPhysicalMaterial : null;
1265
-
1266
- }
1267
-
1268
- extendMaterialParams( materialIndex, materialParams ) {
1269
-
1270
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1271
-
1272
- if ( extension === null ) return Promise.resolve();
1273
-
1274
- materialParams.ior = extension.ior !== undefined ? extension.ior : 1.5;
1275
-
1276
- if ( materialParams.ior === 0 ) materialParams.ior = 1000; // see #26167
1277
-
1278
- return Promise.resolve();
1279
-
1280
- }
1281
-
1282
- }
1283
-
1284
- /**
1285
- * Materials specular Extension
1286
- *
1287
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_specular
1288
- *
1289
- * @private
1290
- */
1291
- class GLTFMaterialsSpecularExtension {
1292
-
1293
- constructor( parser ) {
1294
-
1295
- this.parser = parser;
1296
- this.name = EXTENSIONS.KHR_MATERIALS_SPECULAR;
1297
-
1298
- }
1299
-
1300
- getMaterialType( materialIndex ) {
1301
-
1302
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1303
-
1304
- return extension !== null ? MeshPhysicalMaterial : null;
1305
-
1306
- }
1307
-
1308
- extendMaterialParams( materialIndex, materialParams ) {
1309
-
1310
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1311
-
1312
- if ( extension === null ) return Promise.resolve();
1313
-
1314
- const pending = [];
1315
-
1316
- materialParams.specularIntensity = extension.specularFactor !== undefined ? extension.specularFactor : 1.0;
1317
-
1318
- if ( extension.specularTexture !== undefined ) {
1319
-
1320
- pending.push( this.parser.assignTexture( materialParams, 'specularIntensityMap', extension.specularTexture ) );
1321
-
1322
- }
1323
-
1324
- const colorArray = extension.specularColorFactor || [ 1, 1, 1 ];
1325
- materialParams.specularColor = new Color().setRGB( colorArray[ 0 ], colorArray[ 1 ], colorArray[ 2 ], LinearSRGBColorSpace );
1326
-
1327
- if ( extension.specularColorTexture !== undefined ) {
1328
-
1329
- pending.push( this.parser.assignTexture( materialParams, 'specularColorMap', extension.specularColorTexture, SRGBColorSpace ) );
1330
-
1331
- }
1332
-
1333
- return Promise.all( pending );
1334
-
1335
- }
1336
-
1337
- }
1338
-
1339
-
1340
- /**
1341
- * Materials bump Extension
1342
- *
1343
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/EXT_materials_bump
1344
- *
1345
- * @private
1346
- */
1347
- class GLTFMaterialsBumpExtension {
1348
-
1349
- constructor( parser ) {
1350
-
1351
- this.parser = parser;
1352
- this.name = EXTENSIONS.EXT_MATERIALS_BUMP;
1353
-
1354
- }
1355
-
1356
- getMaterialType( materialIndex ) {
1357
-
1358
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1359
-
1360
- return extension !== null ? MeshPhysicalMaterial : null;
1361
-
1362
- }
1363
-
1364
- extendMaterialParams( materialIndex, materialParams ) {
1365
-
1366
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1367
-
1368
- if ( extension === null ) return Promise.resolve();
1369
-
1370
- const pending = [];
1371
-
1372
- materialParams.bumpScale = extension.bumpFactor !== undefined ? extension.bumpFactor : 1.0;
1373
-
1374
- if ( extension.bumpTexture !== undefined ) {
1375
-
1376
- pending.push( this.parser.assignTexture( materialParams, 'bumpMap', extension.bumpTexture ) );
1377
-
1378
- }
1379
-
1380
- return Promise.all( pending );
1381
-
1382
- }
1383
-
1384
- }
1385
-
1386
- /**
1387
- * Materials anisotropy Extension
1388
- *
1389
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_anisotropy
1390
- *
1391
- * @private
1392
- */
1393
- class GLTFMaterialsAnisotropyExtension {
1394
-
1395
- constructor( parser ) {
1396
-
1397
- this.parser = parser;
1398
- this.name = EXTENSIONS.KHR_MATERIALS_ANISOTROPY;
1399
-
1400
- }
1401
-
1402
- getMaterialType( materialIndex ) {
1403
-
1404
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1405
-
1406
- return extension !== null ? MeshPhysicalMaterial : null;
1407
-
1408
- }
1409
-
1410
- extendMaterialParams( materialIndex, materialParams ) {
1411
-
1412
- const extension = getMaterialExtension( this.parser, materialIndex, this.name );
1413
-
1414
- if ( extension === null ) return Promise.resolve();
1415
-
1416
- const pending = [];
1417
-
1418
- if ( extension.anisotropyStrength !== undefined ) {
1419
-
1420
- materialParams.anisotropy = extension.anisotropyStrength;
1421
-
1422
- }
1423
-
1424
- if ( extension.anisotropyRotation !== undefined ) {
1425
-
1426
- materialParams.anisotropyRotation = extension.anisotropyRotation;
1427
-
1428
- }
1429
-
1430
- if ( extension.anisotropyTexture !== undefined ) {
1431
-
1432
- pending.push( this.parser.assignTexture( materialParams, 'anisotropyMap', extension.anisotropyTexture ) );
1433
-
1434
- }
1435
-
1436
- return Promise.all( pending );
1437
-
1438
- }
1439
-
1440
- }
1441
-
1442
- /**
1443
- * BasisU Texture Extension
1444
- *
1445
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_texture_basisu
1446
- *
1447
- * @private
1448
- */
1449
- class GLTFTextureBasisUExtension {
1450
-
1451
- constructor( parser ) {
1452
-
1453
- this.parser = parser;
1454
- this.name = EXTENSIONS.KHR_TEXTURE_BASISU;
1455
-
1456
- }
1457
-
1458
- loadTexture( textureIndex ) {
1459
-
1460
- const parser = this.parser;
1461
- const json = parser.json;
1462
-
1463
- const textureDef = json.textures[ textureIndex ];
1464
-
1465
- if ( ! textureDef.extensions || ! textureDef.extensions[ this.name ] ) {
1466
-
1467
- return null;
1468
-
1469
- }
1470
-
1471
- const extension = textureDef.extensions[ this.name ];
1472
- const loader = parser.options.ktx2Loader;
1473
-
1474
- if ( ! loader ) {
1475
-
1476
- if ( json.extensionsRequired && json.extensionsRequired.indexOf( this.name ) >= 0 ) {
1477
-
1478
- throw new Error( 'THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures' );
1479
-
1480
- } else {
1481
-
1482
- // Assumes that the extension is optional and that a fallback texture is present
1483
- return null;
1484
-
1485
- }
1486
-
1487
- }
1488
-
1489
- return parser.loadTextureImage( textureIndex, extension.source, loader );
1490
-
1491
- }
1492
-
1493
- }
1494
-
1495
- /**
1496
- * WebP Texture Extension
1497
- *
1498
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/EXT_texture_webp
1499
- *
1500
- * @private
1501
- */
1502
- class GLTFTextureWebPExtension {
1503
-
1504
- constructor( parser ) {
1505
-
1506
- this.parser = parser;
1507
- this.name = EXTENSIONS.EXT_TEXTURE_WEBP;
1508
-
1509
- }
1510
-
1511
- loadTexture( textureIndex ) {
1512
-
1513
- const name = this.name;
1514
- const parser = this.parser;
1515
- const json = parser.json;
1516
-
1517
- const textureDef = json.textures[ textureIndex ];
1518
-
1519
- if ( ! textureDef.extensions || ! textureDef.extensions[ name ] ) {
1520
-
1521
- return null;
1522
-
1523
- }
1524
-
1525
- const extension = textureDef.extensions[ name ];
1526
- const source = json.images[ extension.source ];
1527
-
1528
- let loader = parser.textureLoader;
1529
- if ( source.uri ) {
1530
-
1531
- const handler = parser.options.manager.getHandler( source.uri );
1532
- if ( handler !== null ) loader = handler;
1533
-
1534
- }
1535
-
1536
- return parser.loadTextureImage( textureIndex, extension.source, loader );
1537
-
1538
- }
1539
-
1540
- }
1541
-
1542
- /**
1543
- * AVIF Texture Extension
1544
- *
1545
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/EXT_texture_avif
1546
- *
1547
- * @private
1548
- */
1549
- class GLTFTextureAVIFExtension {
1550
-
1551
- constructor( parser ) {
1552
-
1553
- this.parser = parser;
1554
- this.name = EXTENSIONS.EXT_TEXTURE_AVIF;
1555
-
1556
- }
1557
-
1558
- loadTexture( textureIndex ) {
1559
-
1560
- const name = this.name;
1561
- const parser = this.parser;
1562
- const json = parser.json;
1563
-
1564
- const textureDef = json.textures[ textureIndex ];
1565
-
1566
- if ( ! textureDef.extensions || ! textureDef.extensions[ name ] ) {
1567
-
1568
- return null;
1569
-
1570
- }
1571
-
1572
- const extension = textureDef.extensions[ name ];
1573
- const source = json.images[ extension.source ];
1574
-
1575
- let loader = parser.textureLoader;
1576
- if ( source.uri ) {
1577
-
1578
- const handler = parser.options.manager.getHandler( source.uri );
1579
- if ( handler !== null ) loader = handler;
1580
-
1581
- }
1582
-
1583
- return parser.loadTextureImage( textureIndex, extension.source, loader );
1584
-
1585
- }
1586
-
1587
- }
1588
-
1589
- /**
1590
- * meshopt BufferView Compression Extension
1591
- *
1592
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/EXT_meshopt_compression
1593
- *
1594
- * @private
1595
- */
1596
- class GLTFMeshoptCompression {
1597
-
1598
- constructor( parser, name ) {
1599
-
1600
- this.name = name;
1601
- this.parser = parser;
1602
-
1603
- }
1604
-
1605
- loadBufferView( index ) {
1606
-
1607
- const json = this.parser.json;
1608
- const bufferView = json.bufferViews[ index ];
1609
-
1610
- if ( bufferView.extensions && bufferView.extensions[ this.name ] ) {
1611
-
1612
- const extensionDef = bufferView.extensions[ this.name ];
1613
-
1614
- const buffer = this.parser.getDependency( 'buffer', extensionDef.buffer );
1615
- const decoder = this.parser.options.meshoptDecoder;
1616
-
1617
- if ( ! decoder || ! decoder.supported ) {
1618
-
1619
- if ( json.extensionsRequired && json.extensionsRequired.indexOf( this.name ) >= 0 ) {
1620
-
1621
- throw new Error( 'THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files' );
1622
-
1623
- } else {
1624
-
1625
- // Assumes that the extension is optional and that fallback buffer data is present
1626
- return null;
1627
-
1628
- }
1629
-
1630
- }
1631
-
1632
- return buffer.then( function ( res ) {
1633
-
1634
- const byteOffset = extensionDef.byteOffset || 0;
1635
- const byteLength = extensionDef.byteLength || 0;
1636
-
1637
- const count = extensionDef.count;
1638
- const stride = extensionDef.byteStride;
1639
-
1640
- const source = new Uint8Array( res, byteOffset, byteLength );
1641
-
1642
- if ( decoder.decodeGltfBufferAsync ) {
1643
-
1644
- return decoder.decodeGltfBufferAsync( count, stride, source, extensionDef.mode, extensionDef.filter ).then( function ( res ) {
1645
-
1646
- return res.buffer;
1647
-
1648
- } );
1649
-
1650
- } else {
1651
-
1652
- // Support for MeshoptDecoder 0.18 or earlier, without decodeGltfBufferAsync
1653
- return decoder.ready.then( function () {
1654
-
1655
- const result = new ArrayBuffer( count * stride );
1656
- decoder.decodeGltfBuffer( new Uint8Array( result ), count, stride, source, extensionDef.mode, extensionDef.filter );
1657
- return result;
1658
-
1659
- } );
1660
-
1661
- }
1662
-
1663
- } );
1664
-
1665
- } else {
1666
-
1667
- return null;
1668
-
1669
- }
1670
-
1671
- }
1672
-
1673
- }
1674
-
1675
- /**
1676
- * GPU Instancing Extension
1677
- *
1678
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/EXT_mesh_gpu_instancing
1679
- *
1680
- * @private
1681
- */
1682
- class GLTFMeshGpuInstancing {
1683
-
1684
- constructor( parser ) {
1685
-
1686
- this.name = EXTENSIONS.EXT_MESH_GPU_INSTANCING;
1687
- this.parser = parser;
1688
-
1689
- }
1690
-
1691
- createNodeMesh( nodeIndex ) {
1692
-
1693
- const json = this.parser.json;
1694
- const nodeDef = json.nodes[ nodeIndex ];
1695
-
1696
- if ( ! nodeDef.extensions || ! nodeDef.extensions[ this.name ] ||
1697
- nodeDef.mesh === undefined ) {
1698
-
1699
- return null;
1700
-
1701
- }
1702
-
1703
- const meshDef = json.meshes[ nodeDef.mesh ];
1704
-
1705
- // No Points or Lines + Instancing support yet
1706
-
1707
- for ( const primitive of meshDef.primitives ) {
1708
-
1709
- if ( primitive.mode !== WEBGL_CONSTANTS.TRIANGLES &&
1710
- primitive.mode !== WEBGL_CONSTANTS.TRIANGLE_STRIP &&
1711
- primitive.mode !== WEBGL_CONSTANTS.TRIANGLE_FAN &&
1712
- primitive.mode !== undefined ) {
1713
-
1714
- return null;
1715
-
1716
- }
1717
-
1718
- }
1719
-
1720
- const extensionDef = nodeDef.extensions[ this.name ];
1721
- const attributesDef = extensionDef.attributes;
1722
-
1723
- // @TODO: Can we support InstancedMesh + SkinnedMesh?
1724
-
1725
- const pending = [];
1726
- const attributes = {};
1727
-
1728
- for ( const key in attributesDef ) {
1729
-
1730
- pending.push( this.parser.getDependency( 'accessor', attributesDef[ key ] ).then( accessor => {
1731
-
1732
- attributes[ key ] = accessor;
1733
- return attributes[ key ];
1734
-
1735
- } ) );
1736
-
1737
- }
1738
-
1739
- if ( pending.length < 1 ) {
1740
-
1741
- return null;
1742
-
1743
- }
1744
-
1745
- pending.push( this.parser.createNodeMesh( nodeIndex ) );
1746
-
1747
- return Promise.all( pending ).then( results => {
1748
-
1749
- const nodeObject = results.pop();
1750
- const meshes = nodeObject.isGroup ? nodeObject.children : [ nodeObject ];
1751
- const count = results[ 0 ].count; // All attribute counts should be same
1752
- const instancedMeshes = [];
1753
-
1754
- for ( const mesh of meshes ) {
1755
-
1756
- // Temporal variables
1757
- const m = new Matrix4();
1758
- const p = new Vector3();
1759
- const q = new Quaternion();
1760
- const s = new Vector3( 1, 1, 1 );
1761
-
1762
- const instancedMesh = new InstancedMesh( mesh.geometry, mesh.material, count );
1763
-
1764
- for ( let i = 0; i < count; i ++ ) {
1765
-
1766
- if ( attributes.TRANSLATION ) {
1767
-
1768
- p.fromBufferAttribute( attributes.TRANSLATION, i );
1769
-
1770
- }
1771
-
1772
- if ( attributes.ROTATION ) {
1773
-
1774
- q.fromBufferAttribute( attributes.ROTATION, i );
1775
-
1776
- }
1777
-
1778
- if ( attributes.SCALE ) {
1779
-
1780
- s.fromBufferAttribute( attributes.SCALE, i );
1781
-
1782
- }
1783
-
1784
- instancedMesh.setMatrixAt( i, m.compose( p, q, s ) );
1785
-
1786
- }
1787
-
1788
- // Add instance attributes to the geometry, excluding TRS.
1789
- for ( const attributeName in attributes ) {
1790
-
1791
- if ( attributeName === '_COLOR_0' ) {
1792
-
1793
- const attr = attributes[ attributeName ];
1794
- instancedMesh.instanceColor = new InstancedBufferAttribute( attr.array, attr.itemSize, attr.normalized );
1795
-
1796
- } else if ( attributeName !== 'TRANSLATION' &&
1797
- attributeName !== 'ROTATION' &&
1798
- attributeName !== 'SCALE' ) {
1799
-
1800
- mesh.geometry.setAttribute( attributeName, attributes[ attributeName ] );
1801
-
1802
- }
1803
-
1804
- }
1805
-
1806
- // Just in case
1807
- Object3D.prototype.copy.call( instancedMesh, mesh );
1808
-
1809
- this.parser.assignFinalMaterial( instancedMesh );
1810
-
1811
- instancedMeshes.push( instancedMesh );
1812
-
1813
- }
1814
-
1815
- if ( nodeObject.isGroup ) {
1816
-
1817
- nodeObject.clear();
1818
-
1819
- nodeObject.add( ... instancedMeshes );
1820
-
1821
- return nodeObject;
1822
-
1823
- }
1824
-
1825
- return instancedMeshes[ 0 ];
1826
-
1827
- } );
1828
-
1829
- }
1830
-
1831
- }
1832
-
1833
- /* BINARY EXTENSION */
1834
- const BINARY_EXTENSION_HEADER_MAGIC = 'glTF';
1835
- const BINARY_EXTENSION_HEADER_LENGTH = 12;
1836
- const BINARY_EXTENSION_CHUNK_TYPES = { JSON: 0x4E4F534A, BIN: 0x004E4942 };
1837
-
1838
- class GLTFBinaryExtension {
1839
-
1840
- constructor( data ) {
1841
-
1842
- this.name = EXTENSIONS.KHR_BINARY_GLTF;
1843
- this.content = null;
1844
- this.body = null;
1845
-
1846
- const headerView = new DataView( data, 0, BINARY_EXTENSION_HEADER_LENGTH );
1847
- const textDecoder = new TextDecoder();
1848
-
1849
- this.header = {
1850
- magic: textDecoder.decode( new Uint8Array( data.slice( 0, 4 ) ) ),
1851
- version: headerView.getUint32( 4, true ),
1852
- length: headerView.getUint32( 8, true )
1853
- };
1854
-
1855
- if ( this.header.magic !== BINARY_EXTENSION_HEADER_MAGIC ) {
1856
-
1857
- throw new Error( 'THREE.GLTFLoader: Unsupported glTF-Binary header.' );
1858
-
1859
- } else if ( this.header.version < 2.0 ) {
1860
-
1861
- throw new Error( 'THREE.GLTFLoader: Legacy binary file detected.' );
1862
-
1863
- }
1864
-
1865
- const chunkContentsLength = this.header.length - BINARY_EXTENSION_HEADER_LENGTH;
1866
- const chunkView = new DataView( data, BINARY_EXTENSION_HEADER_LENGTH );
1867
- let chunkIndex = 0;
1868
-
1869
- while ( chunkIndex < chunkContentsLength ) {
1870
-
1871
- const chunkLength = chunkView.getUint32( chunkIndex, true );
1872
- chunkIndex += 4;
1873
-
1874
- const chunkType = chunkView.getUint32( chunkIndex, true );
1875
- chunkIndex += 4;
1876
-
1877
- if ( chunkType === BINARY_EXTENSION_CHUNK_TYPES.JSON ) {
1878
-
1879
- const contentArray = new Uint8Array( data, BINARY_EXTENSION_HEADER_LENGTH + chunkIndex, chunkLength );
1880
- this.content = textDecoder.decode( contentArray );
1881
-
1882
- } else if ( chunkType === BINARY_EXTENSION_CHUNK_TYPES.BIN ) {
1883
-
1884
- const byteOffset = BINARY_EXTENSION_HEADER_LENGTH + chunkIndex;
1885
- this.body = data.slice( byteOffset, byteOffset + chunkLength );
1886
-
1887
- }
1888
-
1889
- // Clients must ignore chunks with unknown types.
1890
-
1891
- chunkIndex += chunkLength;
1892
-
1893
- }
1894
-
1895
- if ( this.content === null ) {
1896
-
1897
- throw new Error( 'THREE.GLTFLoader: JSON content not found.' );
1898
-
1899
- }
1900
-
1901
- }
1902
-
1903
- }
1904
-
1905
- /**
1906
- * DRACO Mesh Compression Extension
1907
- *
1908
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_draco_mesh_compression
1909
- *
1910
- * @private
1911
- */
1912
- class GLTFDracoMeshCompressionExtension {
1913
-
1914
- constructor( json, dracoLoader ) {
1915
-
1916
- if ( ! dracoLoader ) {
1917
-
1918
- throw new Error( 'THREE.GLTFLoader: No DRACOLoader instance provided.' );
1919
-
1920
- }
1921
-
1922
- this.name = EXTENSIONS.KHR_DRACO_MESH_COMPRESSION;
1923
- this.json = json;
1924
- this.dracoLoader = dracoLoader;
1925
- this.dracoLoader.preload();
1926
-
1927
- }
1928
-
1929
- decodePrimitive( primitive, parser ) {
1930
-
1931
- const json = this.json;
1932
- const dracoLoader = this.dracoLoader;
1933
- const bufferViewIndex = primitive.extensions[ this.name ].bufferView;
1934
- const gltfAttributeMap = primitive.extensions[ this.name ].attributes;
1935
- const threeAttributeMap = {};
1936
- const attributeNormalizedMap = {};
1937
- const attributeTypeMap = {};
1938
-
1939
- for ( const attributeName in gltfAttributeMap ) {
1940
-
1941
- const threeAttributeName = ATTRIBUTES[ attributeName ] || attributeName.toLowerCase();
1942
-
1943
- threeAttributeMap[ threeAttributeName ] = gltfAttributeMap[ attributeName ];
1944
-
1945
- }
1946
-
1947
- for ( const attributeName in primitive.attributes ) {
1948
-
1949
- const threeAttributeName = ATTRIBUTES[ attributeName ] || attributeName.toLowerCase();
1950
-
1951
- if ( gltfAttributeMap[ attributeName ] !== undefined ) {
1952
-
1953
- const accessorDef = json.accessors[ primitive.attributes[ attributeName ] ];
1954
- const componentType = WEBGL_COMPONENT_TYPES[ accessorDef.componentType ];
1955
-
1956
- attributeTypeMap[ threeAttributeName ] = componentType.name;
1957
- attributeNormalizedMap[ threeAttributeName ] = accessorDef.normalized === true;
1958
-
1959
- }
1960
-
1961
- }
1962
-
1963
- return parser.getDependency( 'bufferView', bufferViewIndex ).then( function ( bufferView ) {
1964
-
1965
- return new Promise( function ( resolve, reject ) {
1966
-
1967
- dracoLoader.decodeDracoFile( bufferView, function ( geometry ) {
1968
-
1969
- for ( const attributeName in geometry.attributes ) {
1970
-
1971
- const attribute = geometry.attributes[ attributeName ];
1972
- const normalized = attributeNormalizedMap[ attributeName ];
1973
-
1974
- if ( normalized !== undefined ) attribute.normalized = normalized;
1975
-
1976
- }
1977
-
1978
- resolve( geometry );
1979
-
1980
- }, threeAttributeMap, attributeTypeMap, LinearSRGBColorSpace, reject );
1981
-
1982
- } );
1983
-
1984
- } );
1985
-
1986
- }
1987
-
1988
- }
1989
-
1990
- /**
1991
- * Texture Transform Extension
1992
- *
1993
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_texture_transform
1994
- *
1995
- * @private
1996
- */
1997
- class GLTFTextureTransformExtension {
1998
-
1999
- constructor() {
2000
-
2001
- this.name = EXTENSIONS.KHR_TEXTURE_TRANSFORM;
2002
-
2003
- }
2004
-
2005
- extendTexture( texture, transform ) {
2006
-
2007
- if ( ( transform.texCoord === undefined || transform.texCoord === texture.channel )
2008
- && transform.offset === undefined
2009
- && transform.rotation === undefined
2010
- && transform.scale === undefined ) {
2011
-
2012
- // See https://github.com/mrdoob/three.js/issues/21819.
2013
- return texture;
2014
-
2015
- }
2016
-
2017
- texture = texture.clone();
2018
-
2019
- if ( transform.texCoord !== undefined ) {
2020
-
2021
- texture.channel = transform.texCoord;
2022
-
2023
- }
2024
-
2025
- if ( transform.offset !== undefined ) {
2026
-
2027
- texture.offset.fromArray( transform.offset );
2028
-
2029
- }
2030
-
2031
- if ( transform.rotation !== undefined ) {
2032
-
2033
- texture.rotation = transform.rotation;
2034
-
2035
- }
2036
-
2037
- if ( transform.scale !== undefined ) {
2038
-
2039
- texture.repeat.fromArray( transform.scale );
2040
-
2041
- }
2042
-
2043
- texture.needsUpdate = true;
2044
-
2045
- return texture;
2046
-
2047
- }
2048
-
2049
- }
2050
-
2051
- /**
2052
- * Mesh Quantization Extension
2053
- *
2054
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_mesh_quantization
2055
- *
2056
- * @private
2057
- */
2058
- class GLTFMeshQuantizationExtension {
2059
-
2060
- constructor() {
2061
-
2062
- this.name = EXTENSIONS.KHR_MESH_QUANTIZATION;
2063
-
2064
- }
2065
-
2066
- }
2067
-
2068
- /*********************************/
2069
- /********** INTERPOLATION ********/
2070
- /*********************************/
2071
-
2072
- // Spline Interpolation
2073
- // Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#appendix-c-spline-interpolation
2074
- class GLTFCubicSplineInterpolant extends Interpolant {
2075
-
2076
- constructor( parameterPositions, sampleValues, sampleSize, resultBuffer ) {
2077
-
2078
- super( parameterPositions, sampleValues, sampleSize, resultBuffer );
2079
-
2080
- }
2081
-
2082
- copySampleValue_( index ) {
2083
-
2084
- // Copies a sample value to the result buffer. See description of glTF
2085
- // CUBICSPLINE values layout in interpolate_() function below.
2086
-
2087
- const result = this.resultBuffer,
2088
- values = this.sampleValues,
2089
- valueSize = this.valueSize,
2090
- offset = index * valueSize * 3 + valueSize;
2091
-
2092
- for ( let i = 0; i !== valueSize; i ++ ) {
2093
-
2094
- result[ i ] = values[ offset + i ];
2095
-
2096
- }
2097
-
2098
- return result;
2099
-
2100
- }
2101
-
2102
- interpolate_( i1, t0, t, t1 ) {
2103
-
2104
- const result = this.resultBuffer;
2105
- const values = this.sampleValues;
2106
- const stride = this.valueSize;
2107
-
2108
- const stride2 = stride * 2;
2109
- const stride3 = stride * 3;
2110
-
2111
- const td = t1 - t0;
2112
-
2113
- const p = ( t - t0 ) / td;
2114
- const pp = p * p;
2115
- const ppp = pp * p;
2116
-
2117
- const offset1 = i1 * stride3;
2118
- const offset0 = offset1 - stride3;
2119
-
2120
- const s2 = - 2 * ppp + 3 * pp;
2121
- const s3 = ppp - pp;
2122
- const s0 = 1 - s2;
2123
- const s1 = s3 - pp + p;
2124
-
2125
- // Layout of keyframe output values for CUBICSPLINE animations:
2126
- // [ inTangent_1, splineVertex_1, outTangent_1, inTangent_2, splineVertex_2, ... ]
2127
- for ( let i = 0; i !== stride; i ++ ) {
2128
-
2129
- const p0 = values[ offset0 + i + stride ]; // splineVertex_k
2130
- const m0 = values[ offset0 + i + stride2 ] * td; // outTangent_k * (t_k+1 - t_k)
2131
- const p1 = values[ offset1 + i + stride ]; // splineVertex_k+1
2132
- const m1 = values[ offset1 + i ] * td; // inTangent_k+1 * (t_k+1 - t_k)
2133
-
2134
- result[ i ] = s0 * p0 + s1 * m0 + s2 * p1 + s3 * m1;
2135
-
2136
- }
2137
-
2138
- return result;
2139
-
2140
- }
2141
-
2142
- }
2143
-
2144
- const _quaternion = new Quaternion();
2145
-
2146
- class GLTFCubicSplineQuaternionInterpolant extends GLTFCubicSplineInterpolant {
2147
-
2148
- interpolate_( i1, t0, t, t1 ) {
2149
-
2150
- const result = super.interpolate_( i1, t0, t, t1 );
2151
-
2152
- _quaternion.fromArray( result ).normalize().toArray( result );
2153
-
2154
- return result;
2155
-
2156
- }
2157
-
2158
- }
2159
-
2160
-
2161
- /*********************************/
2162
- /********** INTERNALS ************/
2163
- /*********************************/
2164
-
2165
- /* CONSTANTS */
2166
-
2167
- const WEBGL_CONSTANTS = {
2168
- FLOAT: 5126,
2169
- //FLOAT_MAT2: 35674,
2170
- FLOAT_MAT3: 35675,
2171
- FLOAT_MAT4: 35676,
2172
- FLOAT_VEC2: 35664,
2173
- FLOAT_VEC3: 35665,
2174
- FLOAT_VEC4: 35666,
2175
- LINEAR: 9729,
2176
- REPEAT: 10497,
2177
- SAMPLER_2D: 35678,
2178
- POINTS: 0,
2179
- LINES: 1,
2180
- LINE_LOOP: 2,
2181
- LINE_STRIP: 3,
2182
- TRIANGLES: 4,
2183
- TRIANGLE_STRIP: 5,
2184
- TRIANGLE_FAN: 6,
2185
- UNSIGNED_BYTE: 5121,
2186
- UNSIGNED_SHORT: 5123
2187
- };
2188
-
2189
- const WEBGL_COMPONENT_TYPES = {
2190
- 5120: Int8Array,
2191
- 5121: Uint8Array,
2192
- 5122: Int16Array,
2193
- 5123: Uint16Array,
2194
- 5125: Uint32Array,
2195
- 5126: Float32Array
2196
- };
2197
-
2198
- const WEBGL_FILTERS = {
2199
- 9728: NearestFilter,
2200
- 9729: LinearFilter,
2201
- 9984: NearestMipmapNearestFilter,
2202
- 9985: LinearMipmapNearestFilter,
2203
- 9986: NearestMipmapLinearFilter,
2204
- 9987: LinearMipmapLinearFilter
2205
- };
2206
-
2207
- const WEBGL_WRAPPINGS = {
2208
- 33071: ClampToEdgeWrapping,
2209
- 33648: MirroredRepeatWrapping,
2210
- 10497: RepeatWrapping
2211
- };
2212
-
2213
- const WEBGL_TYPE_SIZES = {
2214
- 'SCALAR': 1,
2215
- 'VEC2': 2,
2216
- 'VEC3': 3,
2217
- 'VEC4': 4,
2218
- 'MAT2': 4,
2219
- 'MAT3': 9,
2220
- 'MAT4': 16
2221
- };
2222
-
2223
- const ATTRIBUTES = {
2224
- POSITION: 'position',
2225
- NORMAL: 'normal',
2226
- TANGENT: 'tangent',
2227
- TEXCOORD_0: 'uv',
2228
- TEXCOORD_1: 'uv1',
2229
- TEXCOORD_2: 'uv2',
2230
- TEXCOORD_3: 'uv3',
2231
- COLOR_0: 'color',
2232
- WEIGHTS_0: 'skinWeight',
2233
- JOINTS_0: 'skinIndex',
2234
- };
2235
-
2236
- const PATH_PROPERTIES = {
2237
- scale: 'scale',
2238
- translation: 'position',
2239
- rotation: 'quaternion',
2240
- weights: 'morphTargetInfluences'
2241
- };
2242
-
2243
- const INTERPOLATION = {
2244
- CUBICSPLINE: undefined, // We use a custom interpolant (GLTFCubicSplineInterpolation) for CUBICSPLINE tracks. Each
2245
- // keyframe track will be initialized with a default interpolation type, then modified.
2246
- LINEAR: InterpolateLinear,
2247
- STEP: InterpolateDiscrete
2248
- };
2249
-
2250
- const ALPHA_MODES = {
2251
- OPAQUE: 'OPAQUE',
2252
- MASK: 'MASK',
2253
- BLEND: 'BLEND'
2254
- };
2255
-
2256
- /**
2257
- * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#default-material
2258
- *
2259
- * @private
2260
- * @param {Object<string, Material>} cache
2261
- * @return {Material}
2262
- */
2263
- function createDefaultMaterial( cache ) {
2264
-
2265
- if ( cache[ 'DefaultMaterial' ] === undefined ) {
2266
-
2267
- cache[ 'DefaultMaterial' ] = new MeshStandardMaterial( {
2268
- color: 0xFFFFFF,
2269
- emissive: 0x000000,
2270
- metalness: 1,
2271
- roughness: 1,
2272
- transparent: false,
2273
- depthTest: true,
2274
- side: FrontSide
2275
- } );
2276
-
2277
- }
2278
-
2279
- return cache[ 'DefaultMaterial' ];
2280
-
2281
- }
2282
-
2283
- function addUnknownExtensionsToUserData( knownExtensions, object, objectDef ) {
2284
-
2285
- // Add unknown glTF extensions to an object's userData.
2286
-
2287
- for ( const name in objectDef.extensions ) {
2288
-
2289
- if ( knownExtensions[ name ] === undefined ) {
2290
-
2291
- object.userData.gltfExtensions = object.userData.gltfExtensions || {};
2292
- object.userData.gltfExtensions[ name ] = objectDef.extensions[ name ];
2293
-
2294
- }
2295
-
2296
- }
2297
-
2298
- }
2299
-
2300
- /**
2301
- *
2302
- * @private
2303
- * @param {Object3D|Material|BufferGeometry|Object|AnimationClip} object
2304
- * @param {GLTF.definition} gltfDef
2305
- */
2306
- function assignExtrasToUserData( object, gltfDef ) {
2307
-
2308
- if ( gltfDef.extras !== undefined ) {
2309
-
2310
- if ( typeof gltfDef.extras === 'object' ) {
2311
-
2312
- Object.assign( object.userData, gltfDef.extras );
2313
-
2314
- } else {
2315
-
2316
- console.warn( 'THREE.GLTFLoader: Ignoring primitive type .extras, ' + gltfDef.extras );
2317
-
2318
- }
2319
-
2320
- }
2321
-
2322
- }
2323
-
2324
- /**
2325
- * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#morph-targets
2326
- *
2327
- * @private
2328
- * @param {BufferGeometry} geometry
2329
- * @param {Array<GLTF.Target>} targets
2330
- * @param {GLTFParser} parser
2331
- * @return {Promise<BufferGeometry>}
2332
- */
2333
- function addMorphTargets( geometry, targets, parser ) {
2334
-
2335
- let hasMorphPosition = false;
2336
- let hasMorphNormal = false;
2337
- let hasMorphColor = false;
2338
-
2339
- for ( let i = 0, il = targets.length; i < il; i ++ ) {
2340
-
2341
- const target = targets[ i ];
2342
-
2343
- if ( target.POSITION !== undefined ) hasMorphPosition = true;
2344
- if ( target.NORMAL !== undefined ) hasMorphNormal = true;
2345
- if ( target.COLOR_0 !== undefined ) hasMorphColor = true;
2346
-
2347
- if ( hasMorphPosition && hasMorphNormal && hasMorphColor ) break;
2348
-
2349
- }
2350
-
2351
- if ( ! hasMorphPosition && ! hasMorphNormal && ! hasMorphColor ) return Promise.resolve( geometry );
2352
-
2353
- const pendingPositionAccessors = [];
2354
- const pendingNormalAccessors = [];
2355
- const pendingColorAccessors = [];
2356
-
2357
- for ( let i = 0, il = targets.length; i < il; i ++ ) {
2358
-
2359
- const target = targets[ i ];
2360
-
2361
- if ( hasMorphPosition ) {
2362
-
2363
- const pendingAccessor = target.POSITION !== undefined
2364
- ? parser.getDependency( 'accessor', target.POSITION )
2365
- : geometry.attributes.position;
2366
-
2367
- pendingPositionAccessors.push( pendingAccessor );
2368
-
2369
- }
2370
-
2371
- if ( hasMorphNormal ) {
2372
-
2373
- const pendingAccessor = target.NORMAL !== undefined
2374
- ? parser.getDependency( 'accessor', target.NORMAL )
2375
- : geometry.attributes.normal;
2376
-
2377
- pendingNormalAccessors.push( pendingAccessor );
2378
-
2379
- }
2380
-
2381
- if ( hasMorphColor ) {
2382
-
2383
- const pendingAccessor = target.COLOR_0 !== undefined
2384
- ? parser.getDependency( 'accessor', target.COLOR_0 )
2385
- : geometry.attributes.color;
2386
-
2387
- pendingColorAccessors.push( pendingAccessor );
2388
-
2389
- }
2390
-
2391
- }
2392
-
2393
- return Promise.all( [
2394
- Promise.all( pendingPositionAccessors ),
2395
- Promise.all( pendingNormalAccessors ),
2396
- Promise.all( pendingColorAccessors )
2397
- ] ).then( function ( accessors ) {
2398
-
2399
- const morphPositions = accessors[ 0 ];
2400
- const morphNormals = accessors[ 1 ];
2401
- const morphColors = accessors[ 2 ];
2402
-
2403
- if ( hasMorphPosition ) geometry.morphAttributes.position = morphPositions;
2404
- if ( hasMorphNormal ) geometry.morphAttributes.normal = morphNormals;
2405
- if ( hasMorphColor ) geometry.morphAttributes.color = morphColors;
2406
- geometry.morphTargetsRelative = true;
2407
-
2408
- return geometry;
2409
-
2410
- } );
2411
-
2412
- }
2413
-
2414
- /**
2415
- *
2416
- * @private
2417
- * @param {Mesh} mesh
2418
- * @param {GLTF.Mesh} meshDef
2419
- */
2420
- function updateMorphTargets( mesh, meshDef ) {
2421
-
2422
- mesh.updateMorphTargets();
2423
-
2424
- if ( meshDef.weights !== undefined ) {
2425
-
2426
- for ( let i = 0, il = meshDef.weights.length; i < il; i ++ ) {
2427
-
2428
- mesh.morphTargetInfluences[ i ] = meshDef.weights[ i ];
2429
-
2430
- }
2431
-
2432
- }
2433
-
2434
- // .extras has user-defined data, so check that .extras.targetNames is an array.
2435
- if ( meshDef.extras && Array.isArray( meshDef.extras.targetNames ) ) {
2436
-
2437
- const targetNames = meshDef.extras.targetNames;
2438
-
2439
- if ( mesh.morphTargetInfluences.length === targetNames.length ) {
2440
-
2441
- mesh.morphTargetDictionary = {};
2442
-
2443
- for ( let i = 0, il = targetNames.length; i < il; i ++ ) {
2444
-
2445
- mesh.morphTargetDictionary[ targetNames[ i ] ] = i;
2446
-
2447
- }
2448
-
2449
- } else {
2450
-
2451
- console.warn( 'THREE.GLTFLoader: Invalid extras.targetNames length. Ignoring names.' );
2452
-
2453
- }
2454
-
2455
- }
2456
-
2457
- }
2458
-
2459
- function createPrimitiveKey( primitiveDef ) {
2460
-
2461
- let geometryKey;
2462
-
2463
- const dracoExtension = primitiveDef.extensions && primitiveDef.extensions[ EXTENSIONS.KHR_DRACO_MESH_COMPRESSION ];
2464
-
2465
- if ( dracoExtension ) {
2466
-
2467
- geometryKey = 'draco:' + dracoExtension.bufferView
2468
- + ':' + dracoExtension.indices
2469
- + ':' + createAttributesKey( dracoExtension.attributes );
2470
-
2471
- } else {
2472
-
2473
- geometryKey = primitiveDef.indices + ':' + createAttributesKey( primitiveDef.attributes ) + ':' + primitiveDef.mode;
2474
-
2475
- }
2476
-
2477
- if ( primitiveDef.targets !== undefined ) {
2478
-
2479
- for ( let i = 0, il = primitiveDef.targets.length; i < il; i ++ ) {
2480
-
2481
- geometryKey += ':' + createAttributesKey( primitiveDef.targets[ i ] );
2482
-
2483
- }
2484
-
2485
- }
2486
-
2487
- return geometryKey;
2488
-
2489
- }
2490
-
2491
- function createAttributesKey( attributes ) {
2492
-
2493
- let attributesKey = '';
2494
-
2495
- const keys = Object.keys( attributes ).sort();
2496
-
2497
- for ( let i = 0, il = keys.length; i < il; i ++ ) {
2498
-
2499
- attributesKey += keys[ i ] + ':' + attributes[ keys[ i ] ] + ';';
2500
-
2501
- }
2502
-
2503
- return attributesKey;
2504
-
2505
- }
2506
-
2507
- function getNormalizedComponentScale( constructor ) {
2508
-
2509
- // Reference:
2510
- // https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_mesh_quantization#encoding-quantized-data
2511
-
2512
- switch ( constructor ) {
2513
-
2514
- case Int8Array:
2515
- return 1 / 127;
2516
-
2517
- case Uint8Array:
2518
- return 1 / 255;
2519
-
2520
- case Int16Array:
2521
- return 1 / 32767;
2522
-
2523
- case Uint16Array:
2524
- return 1 / 65535;
2525
-
2526
- default:
2527
- throw new Error( 'THREE.GLTFLoader: Unsupported normalized accessor component type.' );
2528
-
2529
- }
2530
-
2531
- }
2532
-
2533
- function getImageURIMimeType( uri ) {
2534
-
2535
- if ( uri.search( /\.jpe?g($|\?)/i ) > 0 || uri.search( /^data\:image\/jpeg/ ) === 0 ) return 'image/jpeg';
2536
- if ( uri.search( /\.webp($|\?)/i ) > 0 || uri.search( /^data\:image\/webp/ ) === 0 ) return 'image/webp';
2537
- if ( uri.search( /\.ktx2($|\?)/i ) > 0 || uri.search( /^data\:image\/ktx2/ ) === 0 ) return 'image/ktx2';
2538
-
2539
- return 'image/png';
2540
-
2541
- }
2542
-
2543
- const _identityMatrix = new Matrix4();
2544
-
2545
- /* GLTF PARSER */
2546
-
2547
- class GLTFParser {
2548
-
2549
- constructor( json = {}, options = {} ) {
2550
-
2551
- this.json = json;
2552
- this.extensions = {};
2553
- this.plugins = {};
2554
- this.options = options;
2555
-
2556
- // loader object cache
2557
- this.cache = new GLTFRegistry();
2558
-
2559
- // associations between Three.js objects and glTF elements
2560
- this.associations = new Map();
2561
-
2562
- // BufferGeometry caching
2563
- this.primitiveCache = {};
2564
-
2565
- // Node cache
2566
- this.nodeCache = {};
2567
-
2568
- // Object3D instance caches
2569
- this.meshCache = { refs: {}, uses: {} };
2570
- this.cameraCache = { refs: {}, uses: {} };
2571
- this.lightCache = { refs: {}, uses: {} };
2572
-
2573
- this.sourceCache = {};
2574
- this.textureCache = {};
2575
-
2576
- // Track node names, to ensure no duplicates
2577
- this.nodeNamesUsed = {};
2578
-
2579
- // Use an ImageBitmapLoader if imageBitmaps are supported. Moves much of the
2580
- // expensive work of uploading a texture to the GPU off the main thread.
2581
-
2582
- let isSafari = false;
2583
- let safariVersion = - 1;
2584
- let isFirefox = false;
2585
- let firefoxVersion = - 1;
2586
-
2587
- if ( typeof navigator !== 'undefined' && typeof navigator.userAgent !== 'undefined' ) {
2588
-
2589
- const userAgent = navigator.userAgent;
2590
-
2591
- isSafari = /^((?!chrome|android).)*safari/i.test( userAgent ) === true;
2592
- const safariMatch = userAgent.match( /Version\/(\d+)/ );
2593
- safariVersion = isSafari && safariMatch ? parseInt( safariMatch[ 1 ], 10 ) : - 1;
2594
-
2595
- isFirefox = userAgent.indexOf( 'Firefox' ) > - 1;
2596
- firefoxVersion = isFirefox ? userAgent.match( /Firefox\/([0-9]+)\./ )[ 1 ] : - 1;
2597
-
2598
- }
2599
-
2600
- if ( typeof createImageBitmap === 'undefined' || ( isSafari && safariVersion < 17 ) || ( isFirefox && firefoxVersion < 98 ) ) {
2601
-
2602
- this.textureLoader = new TextureLoader( this.options.manager );
2603
-
2604
- } else {
2605
-
2606
- this.textureLoader = new ImageBitmapLoader( this.options.manager );
2607
-
2608
- }
2609
-
2610
- this.textureLoader.setCrossOrigin( this.options.crossOrigin );
2611
- this.textureLoader.setRequestHeader( this.options.requestHeader );
2612
-
2613
- this.fileLoader = new FileLoader( this.options.manager );
2614
- this.fileLoader.setResponseType( 'arraybuffer' );
2615
-
2616
- if ( this.options.crossOrigin === 'use-credentials' ) {
2617
-
2618
- this.fileLoader.setWithCredentials( true );
2619
-
2620
- }
2621
-
2622
- }
2623
-
2624
- setExtensions( extensions ) {
2625
-
2626
- this.extensions = extensions;
2627
-
2628
- }
2629
-
2630
- setPlugins( plugins ) {
2631
-
2632
- this.plugins = plugins;
2633
-
2634
- }
2635
-
2636
- parse( onLoad, onError ) {
2637
-
2638
- const parser = this;
2639
- const json = this.json;
2640
- const extensions = this.extensions;
2641
-
2642
- // Clear the loader cache
2643
- this.cache.removeAll();
2644
- this.nodeCache = {};
2645
-
2646
- // Mark the special nodes/meshes in json for efficient parse
2647
- this._invokeAll( function ( ext ) {
2648
-
2649
- return ext._markDefs && ext._markDefs();
2650
-
2651
- } );
2652
-
2653
- Promise.all( this._invokeAll( function ( ext ) {
2654
-
2655
- return ext.beforeRoot && ext.beforeRoot();
2656
-
2657
- } ) ).then( function () {
2658
-
2659
- return Promise.all( [
2660
-
2661
- parser.getDependencies( 'scene' ),
2662
- parser.getDependencies( 'animation' ),
2663
- parser.getDependencies( 'camera' ),
2664
-
2665
- ] );
2666
-
2667
- } ).then( function ( dependencies ) {
2668
-
2669
- const result = {
2670
- scene: dependencies[ 0 ][ json.scene || 0 ],
2671
- scenes: dependencies[ 0 ],
2672
- animations: dependencies[ 1 ],
2673
- cameras: dependencies[ 2 ],
2674
- asset: json.asset,
2675
- parser: parser,
2676
- userData: {}
2677
- };
2678
-
2679
- addUnknownExtensionsToUserData( extensions, result, json );
2680
-
2681
- assignExtrasToUserData( result, json );
2682
-
2683
- return Promise.all( parser._invokeAll( function ( ext ) {
2684
-
2685
- return ext.afterRoot && ext.afterRoot( result );
2686
-
2687
- } ) ).then( function () {
2688
-
2689
- for ( const scene of result.scenes ) {
2690
-
2691
- scene.updateMatrixWorld();
2692
-
2693
- }
2694
-
2695
- onLoad( result );
2696
-
2697
- } );
2698
-
2699
- } ).catch( onError );
2700
-
2701
- }
2702
-
2703
- /**
2704
- * Marks the special nodes/meshes in json for efficient parse.
2705
- *
2706
- * @private
2707
- */
2708
- _markDefs() {
2709
-
2710
- const nodeDefs = this.json.nodes || [];
2711
- const skinDefs = this.json.skins || [];
2712
- const meshDefs = this.json.meshes || [];
2713
-
2714
- // Nothing in the node definition indicates whether it is a Bone or an
2715
- // Object3D. Use the skins' joint references to mark bones.
2716
- for ( let skinIndex = 0, skinLength = skinDefs.length; skinIndex < skinLength; skinIndex ++ ) {
2717
-
2718
- const joints = skinDefs[ skinIndex ].joints;
2719
-
2720
- for ( let i = 0, il = joints.length; i < il; i ++ ) {
2721
-
2722
- nodeDefs[ joints[ i ] ].isBone = true;
2723
-
2724
- }
2725
-
2726
- }
2727
-
2728
- // Iterate over all nodes, marking references to shared resources,
2729
- // as well as skeleton joints.
2730
- for ( let nodeIndex = 0, nodeLength = nodeDefs.length; nodeIndex < nodeLength; nodeIndex ++ ) {
2731
-
2732
- const nodeDef = nodeDefs[ nodeIndex ];
2733
-
2734
- if ( nodeDef.mesh !== undefined ) {
2735
-
2736
- this._addNodeRef( this.meshCache, nodeDef.mesh );
2737
-
2738
- // Nothing in the mesh definition indicates whether it is
2739
- // a SkinnedMesh or Mesh. Use the node's mesh reference
2740
- // to mark SkinnedMesh if node has skin.
2741
- if ( nodeDef.skin !== undefined ) {
2742
-
2743
- meshDefs[ nodeDef.mesh ].isSkinnedMesh = true;
2744
-
2745
- }
2746
-
2747
- }
2748
-
2749
- if ( nodeDef.camera !== undefined ) {
2750
-
2751
- this._addNodeRef( this.cameraCache, nodeDef.camera );
2752
-
2753
- }
2754
-
2755
- }
2756
-
2757
- }
2758
-
2759
- /**
2760
- * Counts references to shared node / Object3D resources. These resources
2761
- * can be reused, or "instantiated", at multiple nodes in the scene
2762
- * hierarchy. Mesh, Camera, and Light instances are instantiated and must
2763
- * be marked. Non-scenegraph resources (like Materials, Geometries, and
2764
- * Textures) can be reused directly and are not marked here.
2765
- *
2766
- * Example: CesiumMilkTruck sample model reuses "Wheel" meshes.
2767
- *
2768
- * @private
2769
- * @param {Object} cache
2770
- * @param {Object3D} index
2771
- */
2772
- _addNodeRef( cache, index ) {
2773
-
2774
- if ( index === undefined ) return;
2775
-
2776
- if ( cache.refs[ index ] === undefined ) {
2777
-
2778
- cache.refs[ index ] = cache.uses[ index ] = 0;
2779
-
2780
- }
2781
-
2782
- cache.refs[ index ] ++;
2783
-
2784
- }
2785
-
2786
- /**
2787
- * Returns a reference to a shared resource, cloning it if necessary.
2788
- *
2789
- * @private
2790
- * @param {Object} cache
2791
- * @param {number} index
2792
- * @param {Object} object
2793
- * @return {Object}
2794
- */
2795
- _getNodeRef( cache, index, object ) {
2796
-
2797
- if ( cache.refs[ index ] <= 1 ) return object;
2798
-
2799
- const ref = object.clone();
2800
-
2801
- // Propagates mappings to the cloned object, prevents mappings on the
2802
- // original object from being lost.
2803
- const updateMappings = ( original, clone ) => {
2804
-
2805
- const mappings = this.associations.get( original );
2806
- if ( mappings != null ) {
2807
-
2808
- this.associations.set( clone, mappings );
2809
-
2810
- }
2811
-
2812
- for ( const [ i, child ] of original.children.entries() ) {
2813
-
2814
- updateMappings( child, clone.children[ i ] );
2815
-
2816
- }
2817
-
2818
- };
2819
-
2820
- updateMappings( object, ref );
2821
-
2822
- ref.name += '_instance_' + ( cache.uses[ index ] ++ );
2823
-
2824
- return ref;
2825
-
2826
- }
2827
-
2828
- _invokeOne( func ) {
2829
-
2830
- const extensions = Object.values( this.plugins );
2831
- extensions.push( this );
2832
-
2833
- for ( let i = 0; i < extensions.length; i ++ ) {
2834
-
2835
- const result = func( extensions[ i ] );
2836
-
2837
- if ( result ) return result;
2838
-
2839
- }
2840
-
2841
- return null;
2842
-
2843
- }
2844
-
2845
- _invokeAll( func ) {
2846
-
2847
- const extensions = Object.values( this.plugins );
2848
- extensions.unshift( this );
2849
-
2850
- const pending = [];
2851
-
2852
- for ( let i = 0; i < extensions.length; i ++ ) {
2853
-
2854
- const result = func( extensions[ i ] );
2855
-
2856
- if ( result ) pending.push( result );
2857
-
2858
- }
2859
-
2860
- return pending;
2861
-
2862
- }
2863
-
2864
- /**
2865
- * Requests the specified dependency asynchronously, with caching.
2866
- *
2867
- * @private
2868
- * @param {string} type
2869
- * @param {number} index
2870
- * @return {Promise<Object3D|Material|Texture|AnimationClip|ArrayBuffer|Object>}
2871
- */
2872
- getDependency( type, index ) {
2873
-
2874
- const cacheKey = type + ':' + index;
2875
- let dependency = this.cache.get( cacheKey );
2876
-
2877
- if ( ! dependency ) {
2878
-
2879
- switch ( type ) {
2880
-
2881
- case 'scene':
2882
- dependency = this.loadScene( index );
2883
- break;
2884
-
2885
- case 'node':
2886
- dependency = this._invokeOne( function ( ext ) {
2887
-
2888
- return ext.loadNode && ext.loadNode( index );
2889
-
2890
- } );
2891
- break;
2892
-
2893
- case 'mesh':
2894
- dependency = this._invokeOne( function ( ext ) {
2895
-
2896
- return ext.loadMesh && ext.loadMesh( index );
2897
-
2898
- } );
2899
- break;
2900
-
2901
- case 'accessor':
2902
- dependency = this.loadAccessor( index );
2903
- break;
2904
-
2905
- case 'bufferView':
2906
- dependency = this._invokeOne( function ( ext ) {
2907
-
2908
- return ext.loadBufferView && ext.loadBufferView( index );
2909
-
2910
- } );
2911
- break;
2912
-
2913
- case 'buffer':
2914
- dependency = this.loadBuffer( index );
2915
- break;
2916
-
2917
- case 'material':
2918
- dependency = this._invokeOne( function ( ext ) {
2919
-
2920
- return ext.loadMaterial && ext.loadMaterial( index );
2921
-
2922
- } );
2923
- break;
2924
-
2925
- case 'texture':
2926
- dependency = this._invokeOne( function ( ext ) {
2927
-
2928
- return ext.loadTexture && ext.loadTexture( index );
2929
-
2930
- } );
2931
- break;
2932
-
2933
- case 'skin':
2934
- dependency = this.loadSkin( index );
2935
- break;
2936
-
2937
- case 'animation':
2938
- dependency = this._invokeOne( function ( ext ) {
2939
-
2940
- return ext.loadAnimation && ext.loadAnimation( index );
2941
-
2942
- } );
2943
- break;
2944
-
2945
- case 'camera':
2946
- dependency = this.loadCamera( index );
2947
- break;
2948
-
2949
- default:
2950
- dependency = this._invokeOne( function ( ext ) {
2951
-
2952
- return ext != this && ext.getDependency && ext.getDependency( type, index );
2953
-
2954
- } );
2955
-
2956
- if ( ! dependency ) {
2957
-
2958
- throw new Error( 'Unknown type: ' + type );
2959
-
2960
- }
2961
-
2962
- break;
2963
-
2964
- }
2965
-
2966
- this.cache.add( cacheKey, dependency );
2967
-
2968
- }
2969
-
2970
- return dependency;
2971
-
2972
- }
2973
-
2974
- /**
2975
- * Requests all dependencies of the specified type asynchronously, with caching.
2976
- *
2977
- * @private
2978
- * @param {string} type
2979
- * @return {Promise<Array<Object>>}
2980
- */
2981
- getDependencies( type ) {
2982
-
2983
- let dependencies = this.cache.get( type );
2984
-
2985
- if ( ! dependencies ) {
2986
-
2987
- const parser = this;
2988
- const defs = this.json[ type + ( type === 'mesh' ? 'es' : 's' ) ] || [];
2989
-
2990
- dependencies = Promise.all( defs.map( function ( def, index ) {
2991
-
2992
- return parser.getDependency( type, index );
2993
-
2994
- } ) );
2995
-
2996
- this.cache.add( type, dependencies );
2997
-
2998
- }
2999
-
3000
- return dependencies;
3001
-
3002
- }
3003
-
3004
- /**
3005
- * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#buffers-and-buffer-views
3006
- *
3007
- * @private
3008
- * @param {number} bufferIndex
3009
- * @return {Promise<ArrayBuffer>}
3010
- */
3011
- loadBuffer( bufferIndex ) {
3012
-
3013
- const bufferDef = this.json.buffers[ bufferIndex ];
3014
- const loader = this.fileLoader;
3015
-
3016
- if ( bufferDef.type && bufferDef.type !== 'arraybuffer' ) {
3017
-
3018
- throw new Error( 'THREE.GLTFLoader: ' + bufferDef.type + ' buffer type is not supported.' );
3019
-
3020
- }
3021
-
3022
- // If present, GLB container is required to be the first buffer.
3023
- if ( bufferDef.uri === undefined && bufferIndex === 0 ) {
3024
-
3025
- return Promise.resolve( this.extensions[ EXTENSIONS.KHR_BINARY_GLTF ].body );
3026
-
3027
- }
3028
-
3029
- const options = this.options;
3030
-
3031
- return new Promise( function ( resolve, reject ) {
3032
-
3033
- loader.load( LoaderUtils.resolveURL( bufferDef.uri, options.path ), resolve, undefined, function () {
3034
-
3035
- reject( new Error( 'THREE.GLTFLoader: Failed to load buffer "' + bufferDef.uri + '".' ) );
3036
-
3037
- } );
3038
-
3039
- } );
3040
-
3041
- }
3042
-
3043
- /**
3044
- * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#buffers-and-buffer-views
3045
- *
3046
- * @private
3047
- * @param {number} bufferViewIndex
3048
- * @return {Promise<ArrayBuffer>}
3049
- */
3050
- loadBufferView( bufferViewIndex ) {
3051
-
3052
- const bufferViewDef = this.json.bufferViews[ bufferViewIndex ];
3053
-
3054
- return this.getDependency( 'buffer', bufferViewDef.buffer ).then( function ( buffer ) {
3055
-
3056
- const byteLength = bufferViewDef.byteLength || 0;
3057
- const byteOffset = bufferViewDef.byteOffset || 0;
3058
- return buffer.slice( byteOffset, byteOffset + byteLength );
3059
-
3060
- } );
3061
-
3062
- }
3063
-
3064
- /**
3065
- * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#accessors
3066
- *
3067
- * @private
3068
- * @param {number} accessorIndex
3069
- * @return {Promise<BufferAttribute|InterleavedBufferAttribute>}
3070
- */
3071
- loadAccessor( accessorIndex ) {
3072
-
3073
- const parser = this;
3074
- const json = this.json;
3075
-
3076
- const accessorDef = this.json.accessors[ accessorIndex ];
3077
-
3078
- if ( accessorDef.bufferView === undefined && accessorDef.sparse === undefined ) {
3079
-
3080
- const itemSize = WEBGL_TYPE_SIZES[ accessorDef.type ];
3081
- const TypedArray = WEBGL_COMPONENT_TYPES[ accessorDef.componentType ];
3082
- const normalized = accessorDef.normalized === true;
3083
-
3084
- const array = new TypedArray( accessorDef.count * itemSize );
3085
- return Promise.resolve( new BufferAttribute( array, itemSize, normalized ) );
3086
-
3087
- }
3088
-
3089
- const pendingBufferViews = [];
3090
-
3091
- if ( accessorDef.bufferView !== undefined ) {
3092
-
3093
- pendingBufferViews.push( this.getDependency( 'bufferView', accessorDef.bufferView ) );
3094
-
3095
- } else {
3096
-
3097
- pendingBufferViews.push( null );
3098
-
3099
- }
3100
-
3101
- if ( accessorDef.sparse !== undefined ) {
3102
-
3103
- pendingBufferViews.push( this.getDependency( 'bufferView', accessorDef.sparse.indices.bufferView ) );
3104
- pendingBufferViews.push( this.getDependency( 'bufferView', accessorDef.sparse.values.bufferView ) );
3105
-
3106
- }
3107
-
3108
- return Promise.all( pendingBufferViews ).then( function ( bufferViews ) {
3109
-
3110
- const bufferView = bufferViews[ 0 ];
3111
-
3112
- const itemSize = WEBGL_TYPE_SIZES[ accessorDef.type ];
3113
- const TypedArray = WEBGL_COMPONENT_TYPES[ accessorDef.componentType ];
3114
-
3115
- // For VEC3: itemSize is 3, elementBytes is 4, itemBytes is 12.
3116
- const elementBytes = TypedArray.BYTES_PER_ELEMENT;
3117
- const itemBytes = elementBytes * itemSize;
3118
- const byteOffset = accessorDef.byteOffset || 0;
3119
- const byteStride = accessorDef.bufferView !== undefined ? json.bufferViews[ accessorDef.bufferView ].byteStride : undefined;
3120
- const normalized = accessorDef.normalized === true;
3121
- let array, bufferAttribute;
3122
-
3123
- // The buffer is not interleaved if the stride is the item size in bytes.
3124
- if ( byteStride && byteStride !== itemBytes ) {
3125
-
3126
- // Each "slice" of the buffer, as defined by 'count' elements of 'byteStride' bytes, gets its own InterleavedBuffer
3127
- // This makes sure that IBA.count reflects accessor.count properly
3128
- const ibSlice = Math.floor( byteOffset / byteStride );
3129
- const ibCacheKey = 'InterleavedBuffer:' + accessorDef.bufferView + ':' + accessorDef.componentType + ':' + ibSlice + ':' + accessorDef.count;
3130
- let ib = parser.cache.get( ibCacheKey );
3131
-
3132
- if ( ! ib ) {
3133
-
3134
- array = new TypedArray( bufferView, ibSlice * byteStride, accessorDef.count * byteStride / elementBytes );
3135
-
3136
- // Integer parameters to IB/IBA are in array elements, not bytes.
3137
- ib = new InterleavedBuffer( array, byteStride / elementBytes );
3138
-
3139
- parser.cache.add( ibCacheKey, ib );
3140
-
3141
- }
3142
-
3143
- bufferAttribute = new InterleavedBufferAttribute( ib, itemSize, ( byteOffset % byteStride ) / elementBytes, normalized );
3144
-
3145
- } else {
3146
-
3147
- if ( bufferView === null ) {
3148
-
3149
- array = new TypedArray( accessorDef.count * itemSize );
3150
-
3151
- } else {
3152
-
3153
- array = new TypedArray( bufferView, byteOffset, accessorDef.count * itemSize );
3154
-
3155
- }
3156
-
3157
- bufferAttribute = new BufferAttribute( array, itemSize, normalized );
3158
-
3159
- }
3160
-
3161
- // https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#sparse-accessors
3162
- if ( accessorDef.sparse !== undefined ) {
3163
-
3164
- const itemSizeIndices = WEBGL_TYPE_SIZES.SCALAR;
3165
- const TypedArrayIndices = WEBGL_COMPONENT_TYPES[ accessorDef.sparse.indices.componentType ];
3166
-
3167
- const byteOffsetIndices = accessorDef.sparse.indices.byteOffset || 0;
3168
- const byteOffsetValues = accessorDef.sparse.values.byteOffset || 0;
3169
-
3170
- const sparseIndices = new TypedArrayIndices( bufferViews[ 1 ], byteOffsetIndices, accessorDef.sparse.count * itemSizeIndices );
3171
- const sparseValues = new TypedArray( bufferViews[ 2 ], byteOffsetValues, accessorDef.sparse.count * itemSize );
3172
-
3173
- if ( bufferView !== null ) {
3174
-
3175
- // Avoid modifying the original ArrayBuffer, if the bufferView wasn't initialized with zeroes.
3176
- bufferAttribute = new BufferAttribute( bufferAttribute.array.slice(), bufferAttribute.itemSize, bufferAttribute.normalized );
3177
-
3178
- }
3179
-
3180
- // Ignore normalized since we copy from sparse
3181
- bufferAttribute.normalized = false;
3182
-
3183
- for ( let i = 0, il = sparseIndices.length; i < il; i ++ ) {
3184
-
3185
- const index = sparseIndices[ i ];
3186
-
3187
- bufferAttribute.setX( index, sparseValues[ i * itemSize ] );
3188
- if ( itemSize >= 2 ) bufferAttribute.setY( index, sparseValues[ i * itemSize + 1 ] );
3189
- if ( itemSize >= 3 ) bufferAttribute.setZ( index, sparseValues[ i * itemSize + 2 ] );
3190
- if ( itemSize >= 4 ) bufferAttribute.setW( index, sparseValues[ i * itemSize + 3 ] );
3191
- if ( itemSize >= 5 ) throw new Error( 'THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.' );
3192
-
3193
- }
3194
-
3195
- bufferAttribute.normalized = normalized;
3196
-
3197
- }
3198
-
3199
- return bufferAttribute;
3200
-
3201
- } );
3202
-
3203
- }
3204
-
3205
- /**
3206
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#textures
3207
- *
3208
- * @private
3209
- * @param {number} textureIndex
3210
- * @return {Promise<?Texture>}
3211
- */
3212
- loadTexture( textureIndex ) {
3213
-
3214
- const json = this.json;
3215
- const options = this.options;
3216
- const textureDef = json.textures[ textureIndex ];
3217
- const sourceIndex = textureDef.source;
3218
- const sourceDef = json.images[ sourceIndex ];
3219
-
3220
- let loader = this.textureLoader;
3221
-
3222
- if ( sourceDef.uri ) {
3223
-
3224
- const handler = options.manager.getHandler( sourceDef.uri );
3225
- if ( handler !== null ) loader = handler;
3226
-
3227
- }
3228
-
3229
- return this.loadTextureImage( textureIndex, sourceIndex, loader );
3230
-
3231
- }
3232
-
3233
- loadTextureImage( textureIndex, sourceIndex, loader ) {
3234
-
3235
- const parser = this;
3236
- const json = this.json;
3237
-
3238
- const textureDef = json.textures[ textureIndex ];
3239
- const sourceDef = json.images[ sourceIndex ];
3240
-
3241
- const cacheKey = ( sourceDef.uri || sourceDef.bufferView ) + ':' + textureDef.sampler;
3242
-
3243
- if ( this.textureCache[ cacheKey ] ) {
3244
-
3245
- // See https://github.com/mrdoob/three.js/issues/21559.
3246
- return this.textureCache[ cacheKey ];
3247
-
3248
- }
3249
-
3250
- const promise = this.loadImageSource( sourceIndex, loader ).then( function ( texture ) {
3251
-
3252
- texture.flipY = false;
3253
-
3254
- texture.name = textureDef.name || sourceDef.name || '';
3255
-
3256
- if ( texture.name === '' && typeof sourceDef.uri === 'string' && sourceDef.uri.startsWith( 'data:image/' ) === false ) {
3257
-
3258
- texture.name = sourceDef.uri;
3259
-
3260
- }
3261
-
3262
- const samplers = json.samplers || {};
3263
- const sampler = samplers[ textureDef.sampler ] || {};
3264
-
3265
- texture.magFilter = WEBGL_FILTERS[ sampler.magFilter ] || LinearFilter;
3266
- texture.minFilter = WEBGL_FILTERS[ sampler.minFilter ] || LinearMipmapLinearFilter;
3267
- texture.wrapS = WEBGL_WRAPPINGS[ sampler.wrapS ] || RepeatWrapping;
3268
- texture.wrapT = WEBGL_WRAPPINGS[ sampler.wrapT ] || RepeatWrapping;
3269
- texture.generateMipmaps = ! texture.isCompressedTexture && texture.minFilter !== NearestFilter && texture.minFilter !== LinearFilter;
3270
-
3271
- parser.associations.set( texture, { textures: textureIndex } );
3272
-
3273
- return texture;
3274
-
3275
- } ).catch( function () {
3276
-
3277
- return null;
3278
-
3279
- } );
3280
-
3281
- this.textureCache[ cacheKey ] = promise;
3282
-
3283
- return promise;
3284
-
3285
- }
3286
-
3287
- loadImageSource( sourceIndex, loader ) {
3288
-
3289
- const parser = this;
3290
- const json = this.json;
3291
- const options = this.options;
3292
-
3293
- if ( this.sourceCache[ sourceIndex ] !== undefined ) {
3294
-
3295
- return this.sourceCache[ sourceIndex ].then( ( texture ) => texture.clone() );
3296
-
3297
- }
3298
-
3299
- const sourceDef = json.images[ sourceIndex ];
3300
-
3301
- const URL = self.URL || self.webkitURL;
3302
-
3303
- let sourceURI = sourceDef.uri || '';
3304
- let isObjectURL = false;
3305
-
3306
- if ( sourceDef.bufferView !== undefined ) {
3307
-
3308
- // Load binary image data from bufferView, if provided.
3309
-
3310
- sourceURI = parser.getDependency( 'bufferView', sourceDef.bufferView ).then( function ( bufferView ) {
3311
-
3312
- isObjectURL = true;
3313
- const blob = new Blob( [ bufferView ], { type: sourceDef.mimeType } );
3314
- sourceURI = URL.createObjectURL( blob );
3315
- return sourceURI;
3316
-
3317
- } );
3318
-
3319
- } else if ( sourceDef.uri === undefined ) {
3320
-
3321
- throw new Error( 'THREE.GLTFLoader: Image ' + sourceIndex + ' is missing URI and bufferView' );
3322
-
3323
- }
3324
-
3325
- const promise = Promise.resolve( sourceURI ).then( function ( sourceURI ) {
3326
-
3327
- return new Promise( function ( resolve, reject ) {
3328
-
3329
- let onLoad = resolve;
3330
-
3331
- if ( loader.isImageBitmapLoader === true ) {
3332
-
3333
- onLoad = function ( imageBitmap ) {
3334
-
3335
- const texture = new Texture( imageBitmap );
3336
- texture.needsUpdate = true;
3337
-
3338
- resolve( texture );
3339
-
3340
- };
3341
-
3342
- }
3343
-
3344
- loader.load( LoaderUtils.resolveURL( sourceURI, options.path ), onLoad, undefined, reject );
3345
-
3346
- } );
3347
-
3348
- } ).then( function ( texture ) {
3349
-
3350
- // Clean up resources and configure Texture.
3351
-
3352
- if ( isObjectURL === true ) {
3353
-
3354
- URL.revokeObjectURL( sourceURI );
3355
-
3356
- }
3357
-
3358
- assignExtrasToUserData( texture, sourceDef );
3359
-
3360
- texture.userData.mimeType = sourceDef.mimeType || getImageURIMimeType( sourceDef.uri );
3361
-
3362
- return texture;
3363
-
3364
- } ).catch( function ( error ) {
3365
-
3366
- console.error( 'THREE.GLTFLoader: Couldn\'t load texture', sourceURI );
3367
- throw error;
3368
-
3369
- } );
3370
-
3371
- this.sourceCache[ sourceIndex ] = promise;
3372
- return promise;
3373
-
3374
- }
3375
-
3376
- /**
3377
- * Asynchronously assigns a texture to the given material parameters.
3378
- *
3379
- * @private
3380
- * @param {Object} materialParams
3381
- * @param {string} mapName
3382
- * @param {Object} mapDef
3383
- * @param {string} [colorSpace]
3384
- * @return {Promise<Texture>}
3385
- */
3386
- assignTexture( materialParams, mapName, mapDef, colorSpace ) {
3387
-
3388
- const parser = this;
3389
-
3390
- return this.getDependency( 'texture', mapDef.index ).then( function ( texture ) {
3391
-
3392
- if ( ! texture ) return null;
3393
-
3394
- if ( mapDef.texCoord !== undefined && mapDef.texCoord > 0 ) {
3395
-
3396
- texture = texture.clone();
3397
- texture.channel = mapDef.texCoord;
3398
-
3399
- }
3400
-
3401
- if ( parser.extensions[ EXTENSIONS.KHR_TEXTURE_TRANSFORM ] ) {
3402
-
3403
- const transform = mapDef.extensions !== undefined ? mapDef.extensions[ EXTENSIONS.KHR_TEXTURE_TRANSFORM ] : undefined;
3404
-
3405
- if ( transform ) {
3406
-
3407
- const gltfReference = parser.associations.get( texture );
3408
- texture = parser.extensions[ EXTENSIONS.KHR_TEXTURE_TRANSFORM ].extendTexture( texture, transform );
3409
- parser.associations.set( texture, gltfReference );
3410
-
3411
- }
3412
-
3413
- }
3414
-
3415
- if ( colorSpace !== undefined ) {
3416
-
3417
- texture.colorSpace = colorSpace;
3418
-
3419
- }
3420
-
3421
- materialParams[ mapName ] = texture;
3422
-
3423
- return texture;
3424
-
3425
- } );
3426
-
3427
- }
3428
-
3429
- /**
3430
- * Assigns final material to a Mesh, Line, or Points instance. The instance
3431
- * already has a material (generated from the glTF material options alone)
3432
- * but reuse of the same glTF material may require multiple threejs materials
3433
- * to accommodate different primitive types, defines, etc. New materials will
3434
- * be created if necessary, and reused from a cache.
3435
- *
3436
- * @private
3437
- * @param {Object3D} mesh Mesh, Line, or Points instance.
3438
- */
3439
- assignFinalMaterial( mesh ) {
3440
-
3441
- const geometry = mesh.geometry;
3442
- let material = mesh.material;
3443
-
3444
- const useDerivativeTangents = geometry.attributes.tangent === undefined;
3445
- const useVertexColors = geometry.attributes.color !== undefined;
3446
- const useFlatShading = geometry.attributes.normal === undefined;
3447
-
3448
- if ( mesh.isPoints ) {
3449
-
3450
- const cacheKey = 'PointsMaterial:' + material.uuid;
3451
-
3452
- let pointsMaterial = this.cache.get( cacheKey );
3453
-
3454
- if ( ! pointsMaterial ) {
3455
-
3456
- pointsMaterial = new PointsMaterial();
3457
- Material.prototype.copy.call( pointsMaterial, material );
3458
- pointsMaterial.color.copy( material.color );
3459
- pointsMaterial.map = material.map;
3460
- pointsMaterial.sizeAttenuation = false; // glTF spec says points should be 1px
3461
-
3462
- this.cache.add( cacheKey, pointsMaterial );
3463
-
3464
- }
3465
-
3466
- material = pointsMaterial;
3467
-
3468
- } else if ( mesh.isLine ) {
3469
-
3470
- const cacheKey = 'LineBasicMaterial:' + material.uuid;
3471
-
3472
- let lineMaterial = this.cache.get( cacheKey );
3473
-
3474
- if ( ! lineMaterial ) {
3475
-
3476
- lineMaterial = new LineBasicMaterial();
3477
- Material.prototype.copy.call( lineMaterial, material );
3478
- lineMaterial.color.copy( material.color );
3479
- lineMaterial.map = material.map;
3480
-
3481
- this.cache.add( cacheKey, lineMaterial );
3482
-
3483
- }
3484
-
3485
- material = lineMaterial;
3486
-
3487
- }
3488
-
3489
- // Clone the material if it will be modified
3490
- if ( useDerivativeTangents || useVertexColors || useFlatShading ) {
3491
-
3492
- let cacheKey = 'ClonedMaterial:' + material.uuid + ':';
3493
-
3494
- if ( useDerivativeTangents ) cacheKey += 'derivative-tangents:';
3495
- if ( useVertexColors ) cacheKey += 'vertex-colors:';
3496
- if ( useFlatShading ) cacheKey += 'flat-shading:';
3497
-
3498
- let cachedMaterial = this.cache.get( cacheKey );
3499
-
3500
- if ( ! cachedMaterial ) {
3501
-
3502
- cachedMaterial = material.clone();
3503
-
3504
- if ( useVertexColors ) cachedMaterial.vertexColors = true;
3505
- if ( useFlatShading ) cachedMaterial.flatShading = true;
3506
-
3507
- if ( useDerivativeTangents ) {
3508
-
3509
- // https://github.com/mrdoob/three.js/issues/11438#issuecomment-507003995
3510
- if ( cachedMaterial.normalScale ) cachedMaterial.normalScale.y *= - 1;
3511
- if ( cachedMaterial.clearcoatNormalScale ) cachedMaterial.clearcoatNormalScale.y *= - 1;
3512
-
3513
- }
3514
-
3515
- this.cache.add( cacheKey, cachedMaterial );
3516
-
3517
- this.associations.set( cachedMaterial, this.associations.get( material ) );
3518
-
3519
- }
3520
-
3521
- material = cachedMaterial;
3522
-
3523
- }
3524
-
3525
- mesh.material = material;
3526
-
3527
- }
3528
-
3529
- getMaterialType( /* materialIndex */ ) {
3530
-
3531
- return MeshStandardMaterial;
3532
-
3533
- }
3534
-
3535
- /**
3536
- * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#materials
3537
- *
3538
- * @private
3539
- * @param {number} materialIndex
3540
- * @return {Promise<Material>}
3541
- */
3542
- loadMaterial( materialIndex ) {
3543
-
3544
- const parser = this;
3545
- const json = this.json;
3546
- const extensions = this.extensions;
3547
- const materialDef = json.materials[ materialIndex ];
3548
-
3549
- let materialType;
3550
- const materialParams = {};
3551
- const materialExtensions = materialDef.extensions || {};
3552
-
3553
- const pending = [];
3554
-
3555
- if ( materialExtensions[ EXTENSIONS.KHR_MATERIALS_UNLIT ] ) {
3556
-
3557
- const kmuExtension = extensions[ EXTENSIONS.KHR_MATERIALS_UNLIT ];
3558
- materialType = kmuExtension.getMaterialType();
3559
- pending.push( kmuExtension.extendParams( materialParams, materialDef, parser ) );
3560
-
3561
- } else {
3562
-
3563
- // Specification:
3564
- // https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#metallic-roughness-material
3565
-
3566
- const metallicRoughness = materialDef.pbrMetallicRoughness || {};
3567
-
3568
- materialParams.color = new Color( 1.0, 1.0, 1.0 );
3569
- materialParams.opacity = 1.0;
3570
-
3571
- if ( Array.isArray( metallicRoughness.baseColorFactor ) ) {
3572
-
3573
- const array = metallicRoughness.baseColorFactor;
3574
-
3575
- materialParams.color.setRGB( array[ 0 ], array[ 1 ], array[ 2 ], LinearSRGBColorSpace );
3576
- materialParams.opacity = array[ 3 ];
3577
-
3578
- }
3579
-
3580
- if ( metallicRoughness.baseColorTexture !== undefined ) {
3581
-
3582
- pending.push( parser.assignTexture( materialParams, 'map', metallicRoughness.baseColorTexture, SRGBColorSpace ) );
3583
-
3584
- }
3585
-
3586
- materialParams.metalness = metallicRoughness.metallicFactor !== undefined ? metallicRoughness.metallicFactor : 1.0;
3587
- materialParams.roughness = metallicRoughness.roughnessFactor !== undefined ? metallicRoughness.roughnessFactor : 1.0;
3588
-
3589
- if ( metallicRoughness.metallicRoughnessTexture !== undefined ) {
3590
-
3591
- pending.push( parser.assignTexture( materialParams, 'metalnessMap', metallicRoughness.metallicRoughnessTexture ) );
3592
- pending.push( parser.assignTexture( materialParams, 'roughnessMap', metallicRoughness.metallicRoughnessTexture ) );
3593
-
3594
- }
3595
-
3596
- materialType = this._invokeOne( function ( ext ) {
3597
-
3598
- return ext.getMaterialType && ext.getMaterialType( materialIndex );
3599
-
3600
- } );
3601
-
3602
- pending.push( Promise.all( this._invokeAll( function ( ext ) {
3603
-
3604
- return ext.extendMaterialParams && ext.extendMaterialParams( materialIndex, materialParams );
3605
-
3606
- } ) ) );
3607
-
3608
- }
3609
-
3610
- if ( materialDef.doubleSided === true ) {
3611
-
3612
- materialParams.side = DoubleSide;
3613
-
3614
- }
3615
-
3616
- const alphaMode = materialDef.alphaMode || ALPHA_MODES.OPAQUE;
3617
-
3618
- if ( alphaMode === ALPHA_MODES.BLEND ) {
3619
-
3620
- materialParams.transparent = true;
3621
-
3622
- // See: https://github.com/mrdoob/three.js/issues/17706
3623
- materialParams.depthWrite = false;
3624
-
3625
- } else {
3626
-
3627
- materialParams.transparent = false;
3628
-
3629
- if ( alphaMode === ALPHA_MODES.MASK ) {
3630
-
3631
- materialParams.alphaTest = materialDef.alphaCutoff !== undefined ? materialDef.alphaCutoff : 0.5;
3632
-
3633
- }
3634
-
3635
- }
3636
-
3637
- if ( materialDef.normalTexture !== undefined && materialType !== MeshBasicMaterial ) {
3638
-
3639
- pending.push( parser.assignTexture( materialParams, 'normalMap', materialDef.normalTexture ) );
3640
-
3641
- materialParams.normalScale = new Vector2( 1, 1 );
3642
-
3643
- if ( materialDef.normalTexture.scale !== undefined ) {
3644
-
3645
- const scale = materialDef.normalTexture.scale;
3646
-
3647
- materialParams.normalScale.set( scale, scale );
3648
-
3649
- }
3650
-
3651
- }
3652
-
3653
- if ( materialDef.occlusionTexture !== undefined && materialType !== MeshBasicMaterial ) {
3654
-
3655
- pending.push( parser.assignTexture( materialParams, 'aoMap', materialDef.occlusionTexture ) );
3656
-
3657
- if ( materialDef.occlusionTexture.strength !== undefined ) {
3658
-
3659
- materialParams.aoMapIntensity = materialDef.occlusionTexture.strength;
3660
-
3661
- }
3662
-
3663
- }
3664
-
3665
- if ( materialDef.emissiveFactor !== undefined && materialType !== MeshBasicMaterial ) {
3666
-
3667
- const emissiveFactor = materialDef.emissiveFactor;
3668
- materialParams.emissive = new Color().setRGB( emissiveFactor[ 0 ], emissiveFactor[ 1 ], emissiveFactor[ 2 ], LinearSRGBColorSpace );
3669
-
3670
- }
3671
-
3672
- if ( materialDef.emissiveTexture !== undefined && materialType !== MeshBasicMaterial ) {
3673
-
3674
- pending.push( parser.assignTexture( materialParams, 'emissiveMap', materialDef.emissiveTexture, SRGBColorSpace ) );
3675
-
3676
- }
3677
-
3678
- return Promise.all( pending ).then( function () {
3679
-
3680
- const material = new materialType( materialParams );
3681
-
3682
- if ( materialDef.name ) material.name = materialDef.name;
3683
-
3684
- assignExtrasToUserData( material, materialDef );
3685
-
3686
- parser.associations.set( material, { materials: materialIndex } );
3687
-
3688
- if ( materialDef.extensions ) addUnknownExtensionsToUserData( extensions, material, materialDef );
3689
-
3690
- return material;
3691
-
3692
- } );
3693
-
3694
- }
3695
-
3696
- /**
3697
- * When Object3D instances are targeted by animation, they need unique names.
3698
- *
3699
- * @private
3700
- * @param {string} originalName
3701
- * @return {string}
3702
- */
3703
- createUniqueName( originalName ) {
3704
-
3705
- const sanitizedName = PropertyBinding.sanitizeNodeName( originalName || '' );
3706
-
3707
- if ( sanitizedName in this.nodeNamesUsed ) {
3708
-
3709
- return sanitizedName + '_' + ( ++ this.nodeNamesUsed[ sanitizedName ] );
3710
-
3711
- } else {
3712
-
3713
- this.nodeNamesUsed[ sanitizedName ] = 0;
3714
-
3715
- return sanitizedName;
3716
-
3717
- }
3718
-
3719
- }
3720
-
3721
- /**
3722
- * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#geometry
3723
- *
3724
- * Creates BufferGeometries from primitives.
3725
- *
3726
- * @private
3727
- * @param {Array<GLTF.Primitive>} primitives
3728
- * @return {Promise<Array<BufferGeometry>>}
3729
- */
3730
- loadGeometries( primitives ) {
3731
-
3732
- const parser = this;
3733
- const extensions = this.extensions;
3734
- const cache = this.primitiveCache;
3735
-
3736
- function createDracoPrimitive( primitive ) {
3737
-
3738
- return extensions[ EXTENSIONS.KHR_DRACO_MESH_COMPRESSION ]
3739
- .decodePrimitive( primitive, parser )
3740
- .then( function ( geometry ) {
3741
-
3742
- return addPrimitiveAttributes( geometry, primitive, parser );
3743
-
3744
- } );
3745
-
3746
- }
3747
-
3748
- const pending = [];
3749
-
3750
- for ( let i = 0, il = primitives.length; i < il; i ++ ) {
3751
-
3752
- const primitive = primitives[ i ];
3753
- const cacheKey = createPrimitiveKey( primitive );
3754
-
3755
- // See if we've already created this geometry
3756
- const cached = cache[ cacheKey ];
3757
-
3758
- if ( cached ) {
3759
-
3760
- // Use the cached geometry if it exists
3761
- pending.push( cached.promise );
3762
-
3763
- } else {
3764
-
3765
- let geometryPromise;
3766
-
3767
- if ( primitive.extensions && primitive.extensions[ EXTENSIONS.KHR_DRACO_MESH_COMPRESSION ] ) {
3768
-
3769
- // Use DRACO geometry if available
3770
- geometryPromise = createDracoPrimitive( primitive );
3771
-
3772
- } else {
3773
-
3774
- // Otherwise create a new geometry
3775
- geometryPromise = addPrimitiveAttributes( new BufferGeometry(), primitive, parser );
3776
-
3777
- }
3778
-
3779
- // Cache this geometry
3780
- cache[ cacheKey ] = { primitive: primitive, promise: geometryPromise };
3781
-
3782
- pending.push( geometryPromise );
3783
-
3784
- }
3785
-
3786
- }
3787
-
3788
- return Promise.all( pending );
3789
-
3790
- }
3791
-
3792
- /**
3793
- * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#meshes
3794
- *
3795
- * @private
3796
- * @param {number} meshIndex
3797
- * @return {Promise<Group|Mesh|SkinnedMesh|Line|Points>}
3798
- */
3799
- loadMesh( meshIndex ) {
3800
-
3801
- const parser = this;
3802
- const json = this.json;
3803
- const extensions = this.extensions;
3804
-
3805
- const meshDef = json.meshes[ meshIndex ];
3806
- const primitives = meshDef.primitives;
3807
-
3808
- const pending = [];
3809
-
3810
- for ( let i = 0, il = primitives.length; i < il; i ++ ) {
3811
-
3812
- const material = primitives[ i ].material === undefined
3813
- ? createDefaultMaterial( this.cache )
3814
- : this.getDependency( 'material', primitives[ i ].material );
3815
-
3816
- pending.push( material );
3817
-
3818
- }
3819
-
3820
- pending.push( parser.loadGeometries( primitives ) );
3821
-
3822
- return Promise.all( pending ).then( function ( results ) {
3823
-
3824
- const materials = results.slice( 0, results.length - 1 );
3825
- const geometries = results[ results.length - 1 ];
3826
-
3827
- const meshes = [];
3828
-
3829
- for ( let i = 0, il = geometries.length; i < il; i ++ ) {
3830
-
3831
- const geometry = geometries[ i ];
3832
- const primitive = primitives[ i ];
3833
-
3834
- // 1. create Mesh
3835
-
3836
- let mesh;
3837
-
3838
- const material = materials[ i ];
3839
-
3840
- if ( primitive.mode === WEBGL_CONSTANTS.TRIANGLES ||
3841
- primitive.mode === WEBGL_CONSTANTS.TRIANGLE_STRIP ||
3842
- primitive.mode === WEBGL_CONSTANTS.TRIANGLE_FAN ||
3843
- primitive.mode === undefined ) {
3844
-
3845
- // .isSkinnedMesh isn't in glTF spec. See ._markDefs()
3846
- mesh = meshDef.isSkinnedMesh === true
3847
- ? new SkinnedMesh( geometry, material )
3848
- : new Mesh( geometry, material );
3849
-
3850
- if ( mesh.isSkinnedMesh === true ) {
3851
-
3852
- // normalize skin weights to fix malformed assets (see #15319)
3853
- mesh.normalizeSkinWeights();
3854
-
3855
- }
3856
-
3857
- if ( primitive.mode === WEBGL_CONSTANTS.TRIANGLE_STRIP ) {
3858
-
3859
- mesh.geometry = toTrianglesDrawMode( mesh.geometry, TriangleStripDrawMode );
3860
-
3861
- } else if ( primitive.mode === WEBGL_CONSTANTS.TRIANGLE_FAN ) {
3862
-
3863
- mesh.geometry = toTrianglesDrawMode( mesh.geometry, TriangleFanDrawMode );
3864
-
3865
- }
3866
-
3867
- } else if ( primitive.mode === WEBGL_CONSTANTS.LINES ) {
3868
-
3869
- mesh = new LineSegments( geometry, material );
3870
-
3871
- } else if ( primitive.mode === WEBGL_CONSTANTS.LINE_STRIP ) {
3872
-
3873
- mesh = new Line( geometry, material );
3874
-
3875
- } else if ( primitive.mode === WEBGL_CONSTANTS.LINE_LOOP ) {
3876
-
3877
- mesh = new LineLoop( geometry, material );
3878
-
3879
- } else if ( primitive.mode === WEBGL_CONSTANTS.POINTS ) {
3880
-
3881
- mesh = new Points( geometry, material );
3882
-
3883
- } else {
3884
-
3885
- throw new Error( 'THREE.GLTFLoader: Primitive mode unsupported: ' + primitive.mode );
3886
-
3887
- }
3888
-
3889
- if ( Object.keys( mesh.geometry.morphAttributes ).length > 0 ) {
3890
-
3891
- updateMorphTargets( mesh, meshDef );
3892
-
3893
- }
3894
-
3895
- mesh.name = parser.createUniqueName( meshDef.name || ( 'mesh_' + meshIndex ) );
3896
-
3897
- assignExtrasToUserData( mesh, meshDef );
3898
-
3899
- if ( primitive.extensions ) addUnknownExtensionsToUserData( extensions, mesh, primitive );
3900
-
3901
- parser.assignFinalMaterial( mesh );
3902
-
3903
- meshes.push( mesh );
3904
-
3905
- }
3906
-
3907
- for ( let i = 0, il = meshes.length; i < il; i ++ ) {
3908
-
3909
- parser.associations.set( meshes[ i ], {
3910
- meshes: meshIndex,
3911
- primitives: i
3912
- } );
3913
-
3914
- }
3915
-
3916
- if ( meshes.length === 1 ) {
3917
-
3918
- if ( meshDef.extensions ) addUnknownExtensionsToUserData( extensions, meshes[ 0 ], meshDef );
3919
-
3920
- return meshes[ 0 ];
3921
-
3922
- }
3923
-
3924
- const group = new Group();
3925
-
3926
- if ( meshDef.extensions ) addUnknownExtensionsToUserData( extensions, group, meshDef );
3927
-
3928
- parser.associations.set( group, { meshes: meshIndex } );
3929
-
3930
- for ( let i = 0, il = meshes.length; i < il; i ++ ) {
3931
-
3932
- group.add( meshes[ i ] );
3933
-
3934
- }
3935
-
3936
- return group;
3937
-
3938
- } );
3939
-
3940
- }
3941
-
3942
- /**
3943
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#cameras
3944
- *
3945
- * @private
3946
- * @param {number} cameraIndex
3947
- * @return {Promise<Camera>|undefined}
3948
- */
3949
- loadCamera( cameraIndex ) {
3950
-
3951
- let camera;
3952
- const cameraDef = this.json.cameras[ cameraIndex ];
3953
- const params = cameraDef[ cameraDef.type ];
3954
-
3955
- if ( ! params ) {
3956
-
3957
- console.warn( 'THREE.GLTFLoader: Missing camera parameters.' );
3958
- return;
3959
-
3960
- }
3961
-
3962
- if ( cameraDef.type === 'perspective' ) {
3963
-
3964
- camera = new PerspectiveCamera( MathUtils.radToDeg( params.yfov ), params.aspectRatio || 1, params.znear || 1, params.zfar || 2e6 );
3965
-
3966
- } else if ( cameraDef.type === 'orthographic' ) {
3967
-
3968
- camera = new OrthographicCamera( - params.xmag, params.xmag, params.ymag, - params.ymag, params.znear, params.zfar );
3969
-
3970
- }
3971
-
3972
- if ( cameraDef.name ) camera.name = this.createUniqueName( cameraDef.name );
3973
-
3974
- assignExtrasToUserData( camera, cameraDef );
3975
-
3976
- return Promise.resolve( camera );
3977
-
3978
- }
3979
-
3980
- /**
3981
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#skins
3982
- *
3983
- * @private
3984
- * @param {number} skinIndex
3985
- * @return {Promise<Skeleton>}
3986
- */
3987
- loadSkin( skinIndex ) {
3988
-
3989
- const skinDef = this.json.skins[ skinIndex ];
3990
-
3991
- const pending = [];
3992
-
3993
- for ( let i = 0, il = skinDef.joints.length; i < il; i ++ ) {
3994
-
3995
- pending.push( this._loadNodeShallow( skinDef.joints[ i ] ) );
3996
-
3997
- }
3998
-
3999
- if ( skinDef.inverseBindMatrices !== undefined ) {
4000
-
4001
- pending.push( this.getDependency( 'accessor', skinDef.inverseBindMatrices ) );
4002
-
4003
- } else {
4004
-
4005
- pending.push( null );
4006
-
4007
- }
4008
-
4009
- return Promise.all( pending ).then( function ( results ) {
4010
-
4011
- const inverseBindMatrices = results.pop();
4012
- const jointNodes = results;
4013
-
4014
- // Note that bones (joint nodes) may or may not be in the
4015
- // scene graph at this time.
4016
-
4017
- const bones = [];
4018
- const boneInverses = [];
4019
-
4020
- for ( let i = 0, il = jointNodes.length; i < il; i ++ ) {
4021
-
4022
- const jointNode = jointNodes[ i ];
4023
-
4024
- if ( jointNode ) {
4025
-
4026
- bones.push( jointNode );
4027
-
4028
- const mat = new Matrix4();
4029
-
4030
- if ( inverseBindMatrices !== null ) {
4031
-
4032
- mat.fromArray( inverseBindMatrices.array, i * 16 );
4033
-
4034
- }
4035
-
4036
- boneInverses.push( mat );
4037
-
4038
- } else {
4039
-
4040
- console.warn( 'THREE.GLTFLoader: Joint "%s" could not be found.', skinDef.joints[ i ] );
4041
-
4042
- }
4043
-
4044
- }
4045
-
4046
- return new Skeleton( bones, boneInverses );
4047
-
4048
- } );
4049
-
4050
- }
4051
-
4052
- /**
4053
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#animations
4054
- *
4055
- * @private
4056
- * @param {number} animationIndex
4057
- * @return {Promise<AnimationClip>}
4058
- */
4059
- loadAnimation( animationIndex ) {
4060
-
4061
- const json = this.json;
4062
- const parser = this;
4063
-
4064
- const animationDef = json.animations[ animationIndex ];
4065
- const animationName = animationDef.name ? animationDef.name : 'animation_' + animationIndex;
4066
-
4067
- const pendingNodes = [];
4068
- const pendingInputAccessors = [];
4069
- const pendingOutputAccessors = [];
4070
- const pendingSamplers = [];
4071
- const pendingTargets = [];
4072
-
4073
- for ( let i = 0, il = animationDef.channels.length; i < il; i ++ ) {
4074
-
4075
- const channel = animationDef.channels[ i ];
4076
- const sampler = animationDef.samplers[ channel.sampler ];
4077
- const target = channel.target;
4078
- const name = target.node;
4079
- const input = animationDef.parameters !== undefined ? animationDef.parameters[ sampler.input ] : sampler.input;
4080
- const output = animationDef.parameters !== undefined ? animationDef.parameters[ sampler.output ] : sampler.output;
4081
-
4082
- if ( target.node === undefined ) continue;
4083
-
4084
- pendingNodes.push( this.getDependency( 'node', name ) );
4085
- pendingInputAccessors.push( this.getDependency( 'accessor', input ) );
4086
- pendingOutputAccessors.push( this.getDependency( 'accessor', output ) );
4087
- pendingSamplers.push( sampler );
4088
- pendingTargets.push( target );
4089
-
4090
- }
4091
-
4092
- return Promise.all( [
4093
-
4094
- Promise.all( pendingNodes ),
4095
- Promise.all( pendingInputAccessors ),
4096
- Promise.all( pendingOutputAccessors ),
4097
- Promise.all( pendingSamplers ),
4098
- Promise.all( pendingTargets )
4099
-
4100
- ] ).then( function ( dependencies ) {
4101
-
4102
- const nodes = dependencies[ 0 ];
4103
- const inputAccessors = dependencies[ 1 ];
4104
- const outputAccessors = dependencies[ 2 ];
4105
- const samplers = dependencies[ 3 ];
4106
- const targets = dependencies[ 4 ];
4107
-
4108
- const tracks = [];
4109
-
4110
- for ( let i = 0, il = nodes.length; i < il; i ++ ) {
4111
-
4112
- const node = nodes[ i ];
4113
- const inputAccessor = inputAccessors[ i ];
4114
- const outputAccessor = outputAccessors[ i ];
4115
- const sampler = samplers[ i ];
4116
- const target = targets[ i ];
4117
-
4118
- if ( node === undefined ) continue;
4119
-
4120
- if ( node.updateMatrix ) {
4121
-
4122
- node.updateMatrix();
4123
-
4124
- }
4125
-
4126
- const createdTracks = parser._createAnimationTracks( node, inputAccessor, outputAccessor, sampler, target );
4127
-
4128
- if ( createdTracks ) {
4129
-
4130
- for ( let k = 0; k < createdTracks.length; k ++ ) {
4131
-
4132
- tracks.push( createdTracks[ k ] );
4133
-
4134
- }
4135
-
4136
- }
4137
-
4138
- }
4139
-
4140
- const animation = new AnimationClip( animationName, undefined, tracks );
4141
-
4142
- assignExtrasToUserData( animation, animationDef );
4143
-
4144
- return animation;
4145
-
4146
- } );
4147
-
4148
- }
4149
-
4150
- createNodeMesh( nodeIndex ) {
4151
-
4152
- const json = this.json;
4153
- const parser = this;
4154
- const nodeDef = json.nodes[ nodeIndex ];
4155
-
4156
- if ( nodeDef.mesh === undefined ) return null;
4157
-
4158
- return parser.getDependency( 'mesh', nodeDef.mesh ).then( function ( mesh ) {
4159
-
4160
- const node = parser._getNodeRef( parser.meshCache, nodeDef.mesh, mesh );
4161
-
4162
- // if weights are provided on the node, override weights on the mesh.
4163
- if ( nodeDef.weights !== undefined ) {
4164
-
4165
- node.traverse( function ( o ) {
4166
-
4167
- if ( ! o.isMesh ) return;
4168
-
4169
- for ( let i = 0, il = nodeDef.weights.length; i < il; i ++ ) {
4170
-
4171
- o.morphTargetInfluences[ i ] = nodeDef.weights[ i ];
4172
-
4173
- }
4174
-
4175
- } );
4176
-
4177
- }
4178
-
4179
- return node;
4180
-
4181
- } );
4182
-
4183
- }
4184
-
4185
- /**
4186
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#nodes-and-hierarchy
4187
- *
4188
- * @private
4189
- * @param {number} nodeIndex
4190
- * @return {Promise<Object3D>}
4191
- */
4192
- loadNode( nodeIndex ) {
4193
-
4194
- const json = this.json;
4195
- const parser = this;
4196
-
4197
- const nodeDef = json.nodes[ nodeIndex ];
4198
-
4199
- const nodePending = parser._loadNodeShallow( nodeIndex );
4200
-
4201
- const childPending = [];
4202
- const childrenDef = nodeDef.children || [];
4203
-
4204
- for ( let i = 0, il = childrenDef.length; i < il; i ++ ) {
4205
-
4206
- childPending.push( parser.getDependency( 'node', childrenDef[ i ] ) );
4207
-
4208
- }
4209
-
4210
- const skeletonPending = nodeDef.skin === undefined
4211
- ? Promise.resolve( null )
4212
- : parser.getDependency( 'skin', nodeDef.skin );
4213
-
4214
- return Promise.all( [
4215
- nodePending,
4216
- Promise.all( childPending ),
4217
- skeletonPending
4218
- ] ).then( function ( results ) {
4219
-
4220
- const node = results[ 0 ];
4221
- const children = results[ 1 ];
4222
- const skeleton = results[ 2 ];
4223
-
4224
- if ( skeleton !== null ) {
4225
-
4226
- // This full traverse should be fine because
4227
- // child glTF nodes have not been added to this node yet.
4228
- node.traverse( function ( mesh ) {
4229
-
4230
- if ( ! mesh.isSkinnedMesh ) return;
4231
-
4232
- mesh.bind( skeleton, _identityMatrix );
4233
-
4234
- } );
4235
-
4236
- }
4237
-
4238
- for ( let i = 0, il = children.length; i < il; i ++ ) {
4239
-
4240
- node.add( children[ i ] );
4241
-
4242
- }
4243
-
4244
- // Reconstruct pivot from container pattern created by GLTFExporter
4245
- // The container has position+pivot, rotation, scale; child has -pivot offset and mesh
4246
- if ( node.userData.pivot !== undefined && children.length > 0 ) {
4247
-
4248
- const pivot = node.userData.pivot;
4249
- const pivotChild = children[ 0 ];
4250
-
4251
- // Set pivot on container and adjust transforms
4252
- node.pivot = new Vector3().fromArray( pivot );
4253
-
4254
- // Adjust container position: stored as position + pivot, so subtract pivot
4255
- node.position.x -= pivot[ 0 ];
4256
- node.position.y -= pivot[ 1 ];
4257
- node.position.z -= pivot[ 2 ];
4258
-
4259
- // Remove the child's -pivot offset since pivot now handles it
4260
- pivotChild.position.set( 0, 0, 0 );
4261
-
4262
- delete node.userData.pivot;
4263
-
4264
- }
4265
-
4266
- return node;
4267
-
4268
- } );
4269
-
4270
- }
4271
-
4272
- // ._loadNodeShallow() parses a single node.
4273
- // skin and child nodes are created and added in .loadNode() (no '_' prefix).
4274
- _loadNodeShallow( nodeIndex ) {
4275
-
4276
- const json = this.json;
4277
- const extensions = this.extensions;
4278
- const parser = this;
4279
-
4280
- // This method is called from .loadNode() and .loadSkin().
4281
- // Cache a node to avoid duplication.
4282
-
4283
- if ( this.nodeCache[ nodeIndex ] !== undefined ) {
4284
-
4285
- return this.nodeCache[ nodeIndex ];
4286
-
4287
- }
4288
-
4289
- const nodeDef = json.nodes[ nodeIndex ];
4290
-
4291
- // reserve node's name before its dependencies, so the root has the intended name.
4292
- const nodeName = nodeDef.name ? parser.createUniqueName( nodeDef.name ) : '';
4293
-
4294
- const pending = [];
4295
-
4296
- const meshPromise = parser._invokeOne( function ( ext ) {
4297
-
4298
- return ext.createNodeMesh && ext.createNodeMesh( nodeIndex );
4299
-
4300
- } );
4301
-
4302
- if ( meshPromise ) {
4303
-
4304
- pending.push( meshPromise );
4305
-
4306
- }
4307
-
4308
- if ( nodeDef.camera !== undefined ) {
4309
-
4310
- pending.push( parser.getDependency( 'camera', nodeDef.camera ).then( function ( camera ) {
4311
-
4312
- return parser._getNodeRef( parser.cameraCache, nodeDef.camera, camera );
4313
-
4314
- } ) );
4315
-
4316
- }
4317
-
4318
- parser._invokeAll( function ( ext ) {
4319
-
4320
- return ext.createNodeAttachment && ext.createNodeAttachment( nodeIndex );
4321
-
4322
- } ).forEach( function ( promise ) {
4323
-
4324
- pending.push( promise );
4325
-
4326
- } );
4327
-
4328
- this.nodeCache[ nodeIndex ] = Promise.all( pending ).then( function ( objects ) {
4329
-
4330
- let node;
4331
-
4332
- // .isBone isn't in glTF spec. See ._markDefs
4333
- if ( nodeDef.isBone === true ) {
4334
-
4335
- node = new Bone();
4336
-
4337
- } else if ( objects.length > 1 ) {
4338
-
4339
- node = new Group();
4340
-
4341
- } else if ( objects.length === 1 ) {
4342
-
4343
- node = objects[ 0 ];
4344
-
4345
- } else {
4346
-
4347
- node = new Object3D();
4348
-
4349
- }
4350
-
4351
- if ( node !== objects[ 0 ] ) {
4352
-
4353
- for ( let i = 0, il = objects.length; i < il; i ++ ) {
4354
-
4355
- node.add( objects[ i ] );
4356
-
4357
- }
4358
-
4359
- }
4360
-
4361
- if ( nodeDef.name ) {
4362
-
4363
- node.userData.name = nodeDef.name;
4364
- node.name = nodeName;
4365
-
4366
- }
4367
-
4368
- assignExtrasToUserData( node, nodeDef );
4369
-
4370
- if ( nodeDef.extensions ) addUnknownExtensionsToUserData( extensions, node, nodeDef );
4371
-
4372
- if ( nodeDef.matrix !== undefined ) {
4373
-
4374
- const matrix = new Matrix4();
4375
- matrix.fromArray( nodeDef.matrix );
4376
- node.applyMatrix4( matrix );
4377
-
4378
- } else {
4379
-
4380
- if ( nodeDef.translation !== undefined ) {
4381
-
4382
- node.position.fromArray( nodeDef.translation );
4383
-
4384
- }
4385
-
4386
- if ( nodeDef.rotation !== undefined ) {
4387
-
4388
- node.quaternion.fromArray( nodeDef.rotation );
4389
-
4390
- }
4391
-
4392
- if ( nodeDef.scale !== undefined ) {
4393
-
4394
- node.scale.fromArray( nodeDef.scale );
4395
-
4396
- }
4397
-
4398
- }
4399
-
4400
- if ( ! parser.associations.has( node ) ) {
4401
-
4402
- parser.associations.set( node, {} );
4403
-
4404
- } else if ( nodeDef.mesh !== undefined && parser.meshCache.refs[ nodeDef.mesh ] > 1 ) {
4405
-
4406
- const mapping = parser.associations.get( node );
4407
- parser.associations.set( node, { ...mapping } );
4408
-
4409
- }
4410
-
4411
- parser.associations.get( node ).nodes = nodeIndex;
4412
-
4413
- return node;
4414
-
4415
- } );
4416
-
4417
- return this.nodeCache[ nodeIndex ];
4418
-
4419
- }
4420
-
4421
- /**
4422
- * Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#scenes
4423
- *
4424
- * @private
4425
- * @param {number} sceneIndex
4426
- * @return {Promise<Group>}
4427
- */
4428
- loadScene( sceneIndex ) {
4429
-
4430
- const extensions = this.extensions;
4431
- const sceneDef = this.json.scenes[ sceneIndex ];
4432
- const parser = this;
4433
-
4434
- // Loader returns Group, not Scene.
4435
- // See: https://github.com/mrdoob/three.js/issues/18342#issuecomment-578981172
4436
- const scene = new Group();
4437
- if ( sceneDef.name ) scene.name = parser.createUniqueName( sceneDef.name );
4438
-
4439
- assignExtrasToUserData( scene, sceneDef );
4440
-
4441
- if ( sceneDef.extensions ) addUnknownExtensionsToUserData( extensions, scene, sceneDef );
4442
-
4443
- const nodeIds = sceneDef.nodes || [];
4444
-
4445
- const pending = [];
4446
-
4447
- for ( let i = 0, il = nodeIds.length; i < il; i ++ ) {
4448
-
4449
- pending.push( parser.getDependency( 'node', nodeIds[ i ] ) );
4450
-
4451
- }
4452
-
4453
- return Promise.all( pending ).then( function ( nodes ) {
4454
-
4455
- for ( let i = 0, il = nodes.length; i < il; i ++ ) {
4456
-
4457
- const node = nodes[ i ];
4458
-
4459
- // If the node already has a parent, it means it's being reused across multiple scenes.
4460
- // Clone it to avoid the second scene's add() removing it from the first scene.
4461
- // See: https://github.com/mrdoob/three.js/issues/27993
4462
- if ( node.parent !== null ) {
4463
-
4464
- scene.add( clone( node ) );
4465
-
4466
- } else {
4467
-
4468
- scene.add( node );
4469
-
4470
- }
4471
-
4472
- }
4473
-
4474
- // Removes dangling associations, associations that reference a node that
4475
- // didn't make it into the scene.
4476
- const reduceAssociations = ( node ) => {
4477
-
4478
- const reducedAssociations = new Map();
4479
-
4480
- for ( const [ key, value ] of parser.associations ) {
4481
-
4482
- if ( key instanceof Material || key instanceof Texture ) {
4483
-
4484
- reducedAssociations.set( key, value );
4485
-
4486
- }
4487
-
4488
- }
4489
-
4490
- node.traverse( ( node ) => {
4491
-
4492
- const mappings = parser.associations.get( node );
4493
-
4494
- if ( mappings != null ) {
4495
-
4496
- reducedAssociations.set( node, mappings );
4497
-
4498
- }
4499
-
4500
- } );
4501
-
4502
- return reducedAssociations;
4503
-
4504
- };
4505
-
4506
- parser.associations = reduceAssociations( scene );
4507
-
4508
- return scene;
4509
-
4510
- } );
4511
-
4512
- }
4513
-
4514
- _createAnimationTracks( node, inputAccessor, outputAccessor, sampler, target ) {
4515
-
4516
- const tracks = [];
4517
-
4518
- const targetName = node.name ? node.name : node.uuid;
4519
- const targetNames = [];
4520
-
4521
- function collectMorphTargets( object ) {
4522
-
4523
- if ( object.morphTargetInfluences ) {
4524
-
4525
- targetNames.push( object.name ? object.name : object.uuid );
4526
-
4527
- }
4528
-
4529
- }
4530
-
4531
-
4532
- if ( PATH_PROPERTIES[ target.path ] === PATH_PROPERTIES.weights ) {
4533
-
4534
- collectMorphTargets( node );
4535
-
4536
- // for multi-primitive meshes, the node is a Group containing the sub-meshes
4537
-
4538
- if ( node.isGroup ) {
4539
-
4540
- node.children.forEach( collectMorphTargets );
4541
-
4542
- }
4543
-
4544
- } else {
4545
-
4546
- targetNames.push( targetName );
4547
-
4548
- }
4549
-
4550
- let TypedKeyframeTrack;
4551
-
4552
- switch ( PATH_PROPERTIES[ target.path ] ) {
4553
-
4554
- case PATH_PROPERTIES.weights:
4555
-
4556
- TypedKeyframeTrack = NumberKeyframeTrack;
4557
- break;
4558
-
4559
- case PATH_PROPERTIES.rotation:
4560
-
4561
- TypedKeyframeTrack = QuaternionKeyframeTrack;
4562
- break;
4563
-
4564
- case PATH_PROPERTIES.translation:
4565
- case PATH_PROPERTIES.scale:
4566
-
4567
- TypedKeyframeTrack = VectorKeyframeTrack;
4568
- break;
4569
-
4570
- default:
4571
-
4572
- switch ( outputAccessor.itemSize ) {
4573
-
4574
- case 1:
4575
- TypedKeyframeTrack = NumberKeyframeTrack;
4576
- break;
4577
- case 2:
4578
- case 3:
4579
- default:
4580
- TypedKeyframeTrack = VectorKeyframeTrack;
4581
- break;
4582
-
4583
- }
4584
-
4585
- break;
4586
-
4587
- }
4588
-
4589
- const interpolation = sampler.interpolation !== undefined ? INTERPOLATION[ sampler.interpolation ] : InterpolateLinear;
4590
-
4591
-
4592
- const outputArray = this._getArrayFromAccessor( outputAccessor );
4593
-
4594
- for ( let j = 0, jl = targetNames.length; j < jl; j ++ ) {
4595
-
4596
- const track = new TypedKeyframeTrack(
4597
- targetNames[ j ] + '.' + PATH_PROPERTIES[ target.path ],
4598
- inputAccessor.array,
4599
- outputArray,
4600
- interpolation
4601
- );
4602
-
4603
- // Override interpolation with custom factory method.
4604
- if ( sampler.interpolation === 'CUBICSPLINE' ) {
4605
-
4606
- this._createCubicSplineTrackInterpolant( track );
4607
-
4608
- }
4609
-
4610
- tracks.push( track );
4611
-
4612
- }
4613
-
4614
- return tracks;
4615
-
4616
- }
4617
-
4618
- _getArrayFromAccessor( accessor ) {
4619
-
4620
- let outputArray = accessor.array;
4621
-
4622
- if ( accessor.normalized ) {
4623
-
4624
- const scale = getNormalizedComponentScale( outputArray.constructor );
4625
- const scaled = new Float32Array( outputArray.length );
4626
-
4627
- for ( let j = 0, jl = outputArray.length; j < jl; j ++ ) {
4628
-
4629
- scaled[ j ] = outputArray[ j ] * scale;
4630
-
4631
- }
4632
-
4633
- outputArray = scaled;
4634
-
4635
- }
4636
-
4637
- return outputArray;
4638
-
4639
- }
4640
-
4641
- _createCubicSplineTrackInterpolant( track ) {
4642
-
4643
- track.createInterpolant = function InterpolantFactoryMethodGLTFCubicSpline( result ) {
4644
-
4645
- // A CUBICSPLINE keyframe in glTF has three output values for each input value,
4646
- // representing inTangent, splineVertex, and outTangent. As a result, track.getValueSize()
4647
- // must be divided by three to get the interpolant's sampleSize argument.
4648
-
4649
- const interpolantType = ( this instanceof QuaternionKeyframeTrack ) ? GLTFCubicSplineQuaternionInterpolant : GLTFCubicSplineInterpolant;
4650
-
4651
- return new interpolantType( this.times, this.values, this.getValueSize() / 3, result );
4652
-
4653
- };
4654
-
4655
- // Mark as CUBICSPLINE. `track.getInterpolation()` doesn't support custom interpolants.
4656
- track.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline = true;
4657
-
4658
- }
4659
-
4660
- }
4661
-
4662
- /**
4663
- *
4664
- * @private
4665
- * @param {BufferGeometry} geometry
4666
- * @param {GLTF.Primitive} primitiveDef
4667
- * @param {GLTFParser} parser
4668
- */
4669
- function computeBounds( geometry, primitiveDef, parser ) {
4670
-
4671
- const attributes = primitiveDef.attributes;
4672
-
4673
- const box = new Box3();
4674
-
4675
- if ( attributes.POSITION !== undefined ) {
4676
-
4677
- const accessor = parser.json.accessors[ attributes.POSITION ];
4678
-
4679
- const min = accessor.min;
4680
- const max = accessor.max;
4681
-
4682
- // glTF requires 'min' and 'max', but VRM (which extends glTF) currently ignores that requirement.
4683
-
4684
- if ( min !== undefined && max !== undefined ) {
4685
-
4686
- box.set(
4687
- new Vector3( min[ 0 ], min[ 1 ], min[ 2 ] ),
4688
- new Vector3( max[ 0 ], max[ 1 ], max[ 2 ] )
4689
- );
4690
-
4691
- if ( accessor.normalized ) {
4692
-
4693
- const boxScale = getNormalizedComponentScale( WEBGL_COMPONENT_TYPES[ accessor.componentType ] );
4694
- box.min.multiplyScalar( boxScale );
4695
- box.max.multiplyScalar( boxScale );
4696
-
4697
- }
4698
-
4699
- } else {
4700
-
4701
- console.warn( 'THREE.GLTFLoader: Missing min/max properties for accessor POSITION.' );
4702
-
4703
- return;
4704
-
4705
- }
4706
-
4707
- } else {
4708
-
4709
- return;
4710
-
4711
- }
4712
-
4713
- const targets = primitiveDef.targets;
4714
-
4715
- if ( targets !== undefined ) {
4716
-
4717
- const maxDisplacement = new Vector3();
4718
- const vector = new Vector3();
4719
-
4720
- for ( let i = 0, il = targets.length; i < il; i ++ ) {
4721
-
4722
- const target = targets[ i ];
4723
-
4724
- if ( target.POSITION !== undefined ) {
4725
-
4726
- const accessor = parser.json.accessors[ target.POSITION ];
4727
- const min = accessor.min;
4728
- const max = accessor.max;
4729
-
4730
- // glTF requires 'min' and 'max', but VRM (which extends glTF) currently ignores that requirement.
4731
-
4732
- if ( min !== undefined && max !== undefined ) {
4733
-
4734
- // we need to get max of absolute components because target weight is [-1,1]
4735
- vector.setX( Math.max( Math.abs( min[ 0 ] ), Math.abs( max[ 0 ] ) ) );
4736
- vector.setY( Math.max( Math.abs( min[ 1 ] ), Math.abs( max[ 1 ] ) ) );
4737
- vector.setZ( Math.max( Math.abs( min[ 2 ] ), Math.abs( max[ 2 ] ) ) );
4738
-
4739
-
4740
- if ( accessor.normalized ) {
4741
-
4742
- const boxScale = getNormalizedComponentScale( WEBGL_COMPONENT_TYPES[ accessor.componentType ] );
4743
- vector.multiplyScalar( boxScale );
4744
-
4745
- }
4746
-
4747
- // Note: this assumes that the sum of all weights is at most 1. This isn't quite correct - it's more conservative
4748
- // to assume that each target can have a max weight of 1. However, for some use cases - notably, when morph targets
4749
- // are used to implement key-frame animations and as such only two are active at a time - this results in very large
4750
- // boxes. So for now we make a box that's sometimes a touch too small but is hopefully mostly of reasonable size.
4751
- maxDisplacement.max( vector );
4752
-
4753
- } else {
4754
-
4755
- console.warn( 'THREE.GLTFLoader: Missing min/max properties for accessor POSITION.' );
4756
-
4757
- }
4758
-
4759
- }
4760
-
4761
- }
4762
-
4763
- // As per comment above this box isn't conservative, but has a reasonable size for a very large number of morph targets.
4764
- box.expandByVector( maxDisplacement );
4765
-
4766
- }
4767
-
4768
- geometry.boundingBox = box;
4769
-
4770
- const sphere = new Sphere();
4771
-
4772
- box.getCenter( sphere.center );
4773
- sphere.radius = box.min.distanceTo( box.max ) / 2;
4774
-
4775
- geometry.boundingSphere = sphere;
4776
-
4777
- }
4778
-
4779
- /**
4780
- *
4781
- * @private
4782
- * @param {BufferGeometry} geometry
4783
- * @param {GLTF.Primitive} primitiveDef
4784
- * @param {GLTFParser} parser
4785
- * @return {Promise<BufferGeometry>}
4786
- */
4787
- function addPrimitiveAttributes( geometry, primitiveDef, parser ) {
4788
-
4789
- const attributes = primitiveDef.attributes;
4790
-
4791
- const pending = [];
4792
-
4793
- function assignAttributeAccessor( accessorIndex, attributeName ) {
4794
-
4795
- return parser.getDependency( 'accessor', accessorIndex )
4796
- .then( function ( accessor ) {
4797
-
4798
- geometry.setAttribute( attributeName, accessor );
4799
-
4800
- } );
4801
-
4802
- }
4803
-
4804
- for ( const gltfAttributeName in attributes ) {
4805
-
4806
- const threeAttributeName = ATTRIBUTES[ gltfAttributeName ] || gltfAttributeName.toLowerCase();
4807
-
4808
- // Skip attributes already provided by e.g. Draco extension.
4809
- if ( threeAttributeName in geometry.attributes ) continue;
4810
-
4811
- pending.push( assignAttributeAccessor( attributes[ gltfAttributeName ], threeAttributeName ) );
4812
-
4813
- }
4814
-
4815
- if ( primitiveDef.indices !== undefined && ! geometry.index ) {
4816
-
4817
- const accessor = parser.getDependency( 'accessor', primitiveDef.indices ).then( function ( accessor ) {
4818
-
4819
- geometry.setIndex( accessor );
4820
-
4821
- } );
4822
-
4823
- pending.push( accessor );
4824
-
4825
- }
4826
-
4827
- if ( ColorManagement.workingColorSpace !== LinearSRGBColorSpace && 'COLOR_0' in attributes ) {
4828
-
4829
- console.warn( `THREE.GLTFLoader: Converting vertex colors from "srgb-linear" to "${ColorManagement.workingColorSpace}" not supported.` );
4830
-
4831
- }
4832
-
4833
- assignExtrasToUserData( geometry, primitiveDef );
4834
-
4835
- computeBounds( geometry, primitiveDef, parser );
4836
-
4837
- return Promise.all( pending ).then( function () {
4838
-
4839
- return primitiveDef.targets !== undefined
4840
- ? addMorphTargets( geometry, primitiveDef.targets, parser )
4841
- : geometry;
4842
-
4843
- } );
4844
-
4845
- }
4846
-
4847
- /**
4848
- * Loader result of `GLTFLoader`.
4849
- *
4850
- * @typedef {Object} GLTFLoader~LoadObject
4851
- * @property {Array<AnimationClip>} animations - An array of animation clips.
4852
- * @property {Object} asset - Meta data about the loaded asset.
4853
- * @property {Array<Camera>} cameras - An array of cameras.
4854
- * @property {GLTFParser} parser - A reference to the internal parser.
4855
- * @property {Group} scene - The default scene.
4856
- * @property {Array<Group>} scenes - glTF assets might define multiple scenes.
4857
- * @property {Object} userData - Additional data.
4858
- **/
4859
-
4860
- export { GLTFLoader };