agentworkshop 0.5.1 → 0.5.3

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 (1429) hide show
  1. package/.output/.AgentWorkShop/prompts/host-tools.json +631 -0
  2. package/.output/.AgentWorkShop/prompts/lead-supervise.md +42 -0
  3. package/.output/.AgentWorkShop/prompts/mode-goal.md +26 -0
  4. package/.output/.AgentWorkShop/prompts/mode-loop.md +10 -0
  5. package/.output/.AgentWorkShop/prompts/mode-pipeline.md +16 -0
  6. package/.output/.AgentWorkShop/prompts/peer-lead-roster.md +3 -0
  7. package/.output/.AgentWorkShop/prompts/peer-message.md +14 -0
  8. package/.output/.AgentWorkShop/prompts/peer-reply-optional.md +2 -0
  9. package/.output/.AgentWorkShop/prompts/peer-reply-required.md +8 -0
  10. package/.output/.AgentWorkShop/prompts/scenario-default.md +11 -0
  11. package/.output/.AgentWorkShop/prompts/system-manual.md +18 -0
  12. package/.output/.AgentWorkShop/prompts/team-roster.md +9 -0
  13. package/.output/.AgentWorkShop/prompts/worker-workflow.md +19 -0
  14. package/.output/nitro.json +15 -0
  15. package/.output/public/_nuxt/2LwEn9gX.js +2 -0
  16. package/.output/public/_nuxt/36oeS8_R2.js +1 -0
  17. package/.output/public/_nuxt/7ZABjMRh2.js +1 -0
  18. package/.output/public/_nuxt/9X0fVBD7.js +57 -0
  19. package/.output/public/_nuxt/B-PgoIPN.js +1 -0
  20. package/.output/public/_nuxt/B0haAGoq.js +1 -0
  21. package/.output/public/_nuxt/B3__nfxM.js +1 -0
  22. package/.output/public/_nuxt/B4GHHF6d2.js +13 -0
  23. package/.output/public/_nuxt/B6M2WJWm2.js +1 -0
  24. package/.output/public/_nuxt/B7V9IfTL.js +1 -0
  25. package/.output/public/_nuxt/B9aPoQvt.js +17 -0
  26. package/.output/public/_nuxt/BBrRELH32.js +2 -0
  27. package/.output/public/_nuxt/BCipft_k2.js +1 -0
  28. package/.output/public/_nuxt/BDUjyaF4.js +42 -0
  29. package/.output/public/_nuxt/BE5QyG5J2.js +1 -0
  30. package/.output/public/_nuxt/BF9XPEuw.js +1 -0
  31. package/.output/public/_nuxt/BFYNhG9S.js +13 -0
  32. package/.output/public/_nuxt/BFjGV-RV2.js +4108 -0
  33. package/.output/public/_nuxt/BGkumHZ32.js +102 -0
  34. package/.output/public/_nuxt/BJvGPTpC.js +1 -0
  35. package/.output/public/_nuxt/BSCpFtzG.js +3 -0
  36. package/.output/public/_nuxt/BSSUlJnx2.js +1 -0
  37. package/.output/public/_nuxt/BUNGEK2z.js +18 -0
  38. package/.output/public/_nuxt/BUcmySDa2.js +209 -0
  39. package/.output/public/_nuxt/BUxYN2mw.js +1 -0
  40. package/.output/public/_nuxt/BbQornXa.js +1 -0
  41. package/.output/public/_nuxt/Bc_mM2cU.js +1 -0
  42. package/.output/public/_nuxt/BdKzfJiM.js +2 -0
  43. package/.output/public/_nuxt/BeIfu4N3.js +3 -0
  44. package/.output/public/_nuxt/BfGc7TJp.js +1 -0
  45. package/.output/public/_nuxt/Bi6AiCuP.js +1 -0
  46. package/.output/public/_nuxt/Bok1DRqh.js +19 -0
  47. package/.output/public/_nuxt/Bq_KKxCg.js +1 -0
  48. package/.output/public/_nuxt/BrIJiJSN.js +18 -0
  49. package/.output/public/_nuxt/Bsc69G4x.js +24 -0
  50. package/.output/public/_nuxt/Bxh5nf8j.js +1 -0
  51. package/.output/public/_nuxt/ByGNWgAr.js +23 -0
  52. package/.output/public/_nuxt/C9f8QMp12.js +1 -0
  53. package/.output/public/_nuxt/CE2ynNi9.js +1 -0
  54. package/.output/public/_nuxt/CNs_Ozdc2.js +1 -0
  55. package/.output/public/_nuxt/CWDzKGtj.js +1 -0
  56. package/.output/public/_nuxt/CWKEp1wx2.js +2 -0
  57. package/.output/public/_nuxt/CXLI50Sq.js +1 -0
  58. package/.output/public/_nuxt/C_gFA2H_2.js +1 -0
  59. package/.output/public/_nuxt/Ce1zyNYu.js +1 -0
  60. package/.output/public/_nuxt/CfIXY-ET.js +75 -0
  61. package/.output/public/_nuxt/ChEKFMxj.js +1 -0
  62. package/.output/public/_nuxt/ClptO7LA.js +1 -0
  63. package/.output/public/_nuxt/Cno6kYiO2.js +1 -0
  64. package/.output/public/_nuxt/CrFGZYVB2.js +7 -0
  65. package/.output/public/_nuxt/D-Ne4C9a.js +1 -0
  66. package/.output/public/_nuxt/D0C5Q0di.js +1 -0
  67. package/.output/public/_nuxt/D5KJ7_0V.js +1 -0
  68. package/.output/public/_nuxt/D8DDDzV62.js +1 -0
  69. package/.output/public/_nuxt/D95h62Jn.js +1 -0
  70. package/.output/public/_nuxt/DEHNjlTq2.js +1 -0
  71. package/.output/public/_nuxt/DEkQ0qQ02.js +1 -0
  72. package/.output/public/_nuxt/DIOBYJe3.js +1 -0
  73. package/.output/public/_nuxt/DNJSkm3Q.js +1 -0
  74. package/.output/public/_nuxt/DP6bdyIp.js +1 -0
  75. package/.output/public/_nuxt/DPDqAD1e.js +2 -0
  76. package/.output/public/_nuxt/DRlJ2-4p.js +1 -0
  77. package/.output/public/_nuxt/DRq09ZmT.js +1 -0
  78. package/.output/public/_nuxt/DSBfvCi5.js +19 -0
  79. package/.output/public/_nuxt/DVNYfGsj.js +1 -0
  80. package/.output/public/_nuxt/DVQAz9WI.js +3 -0
  81. package/.output/public/_nuxt/DXK1U43I.js +1 -0
  82. package/.output/public/_nuxt/DYWgGHNo.js +7 -0
  83. package/.output/public/_nuxt/DdPeifHR.js +3 -0
  84. package/.output/public/_nuxt/Dm5mD6XT.js +1 -0
  85. package/.output/public/_nuxt/HWXLx5Hz.js +9 -0
  86. package/.output/public/_nuxt/HclGiUj8.js +1 -0
  87. package/.output/public/_nuxt/NIM0Wglj2.js +1 -0
  88. package/.output/public/_nuxt/OmpTerminalPanel.Bc9GjNU5.css +1 -0
  89. package/.output/public/_nuxt/OwJ1LJkF.js +31 -0
  90. package/.output/public/_nuxt/PQLnLxYe.js +1 -0
  91. package/.output/public/_nuxt/RYFtK4qZ2.js +1 -0
  92. package/.output/public/_nuxt/R_WxTozV2.js +1 -0
  93. package/.output/public/_nuxt/TownView.CI2Wpzty.css +1 -0
  94. package/.output/public/_nuxt/W1E3-5ML.js +14 -0
  95. package/.output/public/_nuxt/Z8k0uMSI.js +5 -0
  96. package/.output/public/_nuxt/_id_.CbiF5PrV.css +1 -0
  97. package/.output/public/_nuxt/_id_.Ci4u30cR.css +1 -0
  98. package/.output/public/_nuxt/_wsId_.DET_GinP.css +1 -0
  99. package/.output/public/_nuxt/agents.BJwgTLFZ.css +1 -0
  100. package/.output/public/_nuxt/builds/latest.json +1 -0
  101. package/.output/public/_nuxt/builds/meta/fb769eda-b1db-437b-adc7-ecf71eb3b30b.json +1 -0
  102. package/.output/public/_nuxt/channel-templates.lkqEYlWY.css +1 -0
  103. package/.output/public/_nuxt/dObsRdSQ.js +1 -0
  104. package/.output/public/_nuxt/dRAyjbJ6.js +14 -0
  105. package/.output/public/_nuxt/daq.m1dxZaD-.css +1 -0
  106. package/.output/public/_nuxt/dcw.C46dGiF_.css +1 -0
  107. package/.output/public/_nuxt/default.iGJy9dP-.css +1 -0
  108. package/.output/public/_nuxt/dt2tKE95.js +4 -0
  109. package/.output/public/_nuxt/eHGLpQSg2.js +1 -0
  110. package/.output/public/_nuxt/eb-garamond-cyrillic-400-italic.BGIwiowF.woff2 +0 -0
  111. package/.output/public/_nuxt/eb-garamond-cyrillic-400-italic.BZInx2ys.woff +0 -0
  112. package/.output/public/_nuxt/eb-garamond-cyrillic-400-normal.C0kVTdou.woff +0 -0
  113. package/.output/public/_nuxt/eb-garamond-cyrillic-400-normal.DDLP67lu.woff2 +0 -0
  114. package/.output/public/_nuxt/eb-garamond-cyrillic-ext-400-italic.Bz1w3xqM.woff2 +0 -0
  115. package/.output/public/_nuxt/eb-garamond-cyrillic-ext-400-italic.CYS3phfl.woff +0 -0
  116. package/.output/public/_nuxt/eb-garamond-cyrillic-ext-400-normal.DG8lny6_.woff +0 -0
  117. package/.output/public/_nuxt/eb-garamond-cyrillic-ext-400-normal.o8fRvAFQ.woff2 +0 -0
  118. package/.output/public/_nuxt/eb-garamond-greek-400-italic.BamGE6QP.woff +0 -0
  119. package/.output/public/_nuxt/eb-garamond-greek-400-italic.Dqr5KC66.woff2 +0 -0
  120. package/.output/public/_nuxt/eb-garamond-greek-400-normal.CVAbzS9p.woff2 +0 -0
  121. package/.output/public/_nuxt/eb-garamond-greek-400-normal.d4JlP2QH.woff +0 -0
  122. package/.output/public/_nuxt/eb-garamond-greek-ext-400-italic.BL1XYHtS.woff +0 -0
  123. package/.output/public/_nuxt/eb-garamond-greek-ext-400-italic.CHZOQEtG.woff2 +0 -0
  124. package/.output/public/_nuxt/eb-garamond-greek-ext-400-normal.BaZl8BIK.woff +0 -0
  125. package/.output/public/_nuxt/eb-garamond-greek-ext-400-normal.K8pwR3tn.woff2 +0 -0
  126. package/.output/public/_nuxt/eb-garamond-latin-400-italic.CDFyLPXJ.woff +0 -0
  127. package/.output/public/_nuxt/eb-garamond-latin-400-italic.DSEbMgZu.woff2 +0 -0
  128. package/.output/public/_nuxt/eb-garamond-latin-400-normal.BCNrxLz_.woff2 +0 -0
  129. package/.output/public/_nuxt/eb-garamond-latin-400-normal.maQnHeKB.woff +0 -0
  130. package/.output/public/_nuxt/eb-garamond-latin-ext-400-italic.DUSsnRSD.woff +0 -0
  131. package/.output/public/_nuxt/eb-garamond-latin-ext-400-italic.V7s3nWfX.woff2 +0 -0
  132. package/.output/public/_nuxt/eb-garamond-latin-ext-400-normal.B4EmgUmt.woff +0 -0
  133. package/.output/public/_nuxt/eb-garamond-latin-ext-400-normal.o4A__6QZ.woff2 +0 -0
  134. package/.output/public/_nuxt/eb-garamond-vietnamese-400-italic.DQ8HKnks.woff2 +0 -0
  135. package/.output/public/_nuxt/eb-garamond-vietnamese-400-italic.ORtyMVfw.woff +0 -0
  136. package/.output/public/_nuxt/eb-garamond-vietnamese-400-normal.CLvJdMEL.woff2 +0 -0
  137. package/.output/public/_nuxt/eb-garamond-vietnamese-400-normal.ifvNSiWx.woff +0 -0
  138. package/.output/public/_nuxt/entry.DjhxLu-f.css +1 -0
  139. package/.output/public/_nuxt/geist-cyrillic-ext-wght-normal.DjL33-gN.woff2 +0 -0
  140. package/.output/public/_nuxt/geist-cyrillic-wght-normal.BEAKL7Jp.woff2 +0 -0
  141. package/.output/public/_nuxt/geist-latin-ext-wght-normal.DC-KSUi6.woff2 +0 -0
  142. package/.output/public/_nuxt/geist-latin-wght-normal.BgDaEnEv.woff2 +0 -0
  143. package/.output/public/_nuxt/geist-mono-cyrillic-ext-wght-normal.X_5orZeX.woff2 +0 -0
  144. package/.output/public/_nuxt/geist-mono-cyrillic-wght-normal.DiZS0aHC.woff2 +0 -0
  145. package/.output/public/_nuxt/geist-mono-latin-ext-wght-normal.Bwz-egvJ.woff2 +0 -0
  146. package/.output/public/_nuxt/geist-mono-latin-wght-normal.XN7g48iV.woff2 +0 -0
  147. package/.output/public/_nuxt/geist-mono-symbols2-wght-normal.CO5SzqOn.woff2 +0 -0
  148. package/.output/public/_nuxt/geist-mono-vietnamese-wght-normal.DadHysG0.woff2 +0 -0
  149. package/.output/public/_nuxt/geist-vietnamese-wght-normal.6IgcOCM7.woff2 +0 -0
  150. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-400-normal.BSMlKf0J.woff2 +0 -0
  151. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-400-normal.CEL4l2ZJ.woff +0 -0
  152. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-500-normal.Ael50iVv.woff +0 -0
  153. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-500-normal.Bq9vWWag.woff2 +0 -0
  154. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-600-normal.CTOM6hUh.woff2 +0 -0
  155. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-600-normal.fLZuRloM.woff +0 -0
  156. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-400-normal.DMdlQ8Kv.woff +0 -0
  157. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-400-normal.xuaO2J-f.woff2 +0 -0
  158. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-500-normal.BIfNGwUT.woff +0 -0
  159. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-500-normal.BqneJy0T.woff2 +0 -0
  160. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-600-normal.9HEixskS.woff +0 -0
  161. package/.output/public/_nuxt/ibm-plex-mono-cyrillic-ext-600-normal.V-xxqcpd.woff2 +0 -0
  162. package/.output/public/_nuxt/ibm-plex-mono-latin-400-normal.CvHOgSBP.woff +0 -0
  163. package/.output/public/_nuxt/ibm-plex-mono-latin-400-normal.DMJ8VG8y.woff2 +0 -0
  164. package/.output/public/_nuxt/ibm-plex-mono-latin-500-normal.CB9ihrfo.woff +0 -0
  165. package/.output/public/_nuxt/ibm-plex-mono-latin-500-normal.DSY6xOcd.woff2 +0 -0
  166. package/.output/public/_nuxt/ibm-plex-mono-latin-600-normal.BgSNZQsw.woff2 +0 -0
  167. package/.output/public/_nuxt/ibm-plex-mono-latin-600-normal.DWFSQ4vo.woff +0 -0
  168. package/.output/public/_nuxt/ibm-plex-mono-latin-ext-400-normal.BmRBH3aV.woff2 +0 -0
  169. package/.output/public/_nuxt/ibm-plex-mono-latin-ext-400-normal.D3D2R8hC.woff +0 -0
  170. package/.output/public/_nuxt/ibm-plex-mono-latin-ext-500-normal.CAhNIIs5.woff2 +0 -0
  171. package/.output/public/_nuxt/ibm-plex-mono-latin-ext-500-normal.CZ70TYgx.woff +0 -0
  172. package/.output/public/_nuxt/ibm-plex-mono-latin-ext-600-normal.D38SheWl.woff2 +0 -0
  173. package/.output/public/_nuxt/ibm-plex-mono-latin-ext-600-normal.DmB0ttJJ.woff +0 -0
  174. package/.output/public/_nuxt/ibm-plex-mono-vietnamese-400-normal.BulugwFq.woff2 +0 -0
  175. package/.output/public/_nuxt/ibm-plex-mono-vietnamese-400-normal.DDuiU_S-.woff +0 -0
  176. package/.output/public/_nuxt/ibm-plex-mono-vietnamese-500-normal.C8zxqsMH.woff +0 -0
  177. package/.output/public/_nuxt/ibm-plex-mono-vietnamese-500-normal.DZ4AoWbu.woff2 +0 -0
  178. package/.output/public/_nuxt/ibm-plex-mono-vietnamese-600-normal.D2EvbN8M.woff2 +0 -0
  179. package/.output/public/_nuxt/ibm-plex-mono-vietnamese-600-normal.iLQfcSjf.woff +0 -0
  180. package/.output/public/_nuxt/kZl6yT-12.js +1 -0
  181. package/.output/public/_nuxt/lO5tpDZ5.js +1 -0
  182. package/.output/public/_nuxt/logs.DaIsHWZE.css +1 -0
  183. package/.output/public/_nuxt/monitor.41fCD6TB.css +1 -0
  184. package/.output/public/_nuxt/pRQri7vQ2.js +4 -0
  185. package/.output/public/_nuxt/pages.CytEOfUs.css +1 -0
  186. package/.output/public/_nuxt/plugins.FTm0PcEe.css +1 -0
  187. package/.output/public/_nuxt/rzGB_ojX.js +32 -0
  188. package/.output/public/_nuxt/settings.BANibAnV.css +1 -0
  189. package/.output/public/_nuxt/teams.B8JNbUZg.css +1 -0
  190. package/.output/public/_nuxt/tokens.CWOTXM-Z.css +1 -0
  191. package/.output/public/_nuxt/town.BLrD9-WH.css +1 -0
  192. package/.output/public/_nuxt/town.C_DsNW0J.css +1 -0
  193. package/.output/public/_nuxt/uBbDCfTz.js +1 -0
  194. package/.output/public/_nuxt/ubPfs9mQ.js +1 -0
  195. package/.output/public/_nuxt/users.D8lcLE62.css +1 -0
  196. package/.output/public/_nuxt/workshop.B98sHiJq.css +1 -0
  197. package/.output/public/assets/game/character/bot.png +0 -0
  198. package/.output/public/assets/game/character/device-3d.glb +0 -0
  199. package/.output/public/assets/game/character/hero-3d.glb +0 -0
  200. package/.output/public/assets/game/character/hero-anime-1.glb +0 -0
  201. package/.output/public/assets/game/character/hero-anime-2.glb +0 -0
  202. package/.output/public/assets/game/character/hero-anime-3.glb +0 -0
  203. package/.output/public/assets/game/character/hero-anime-4.glb +0 -0
  204. package/.output/public/assets/game/character/knight.png +0 -0
  205. package/.output/public/assets/game/character/mage.png +0 -0
  206. package/.output/public/assets/game/coin.png +0 -0
  207. package/.output/public/assets/game/devices/agv.glb +0 -0
  208. package/.output/public/assets/game/devices/caster.glb +0 -0
  209. package/.output/public/assets/game/devices/device-console.glb +0 -0
  210. package/.output/public/assets/game/devices/device-robot-arm.glb +0 -0
  211. package/.output/public/assets/game/devices/device-scanner.glb +0 -0
  212. package/.output/public/assets/game/devices/extruder.glb +0 -0
  213. package/.output/public/assets/game/devices/mdo.glb +0 -0
  214. package/.output/public/assets/game/devices/power-cabinet.glb +0 -0
  215. package/.output/public/assets/game/devices/pump.glb +0 -0
  216. package/.output/public/assets/game/devices/tdo.glb +0 -0
  217. package/.output/public/assets/game/devices/thickness-scanner.glb +0 -0
  218. package/.output/public/assets/game/devices/winder.glb +0 -0
  219. package/.output/public/assets/game/npc/boltnu-sheet.png +0 -0
  220. package/.output/public/assets/game/npc/fluttaflap-sheet.png +0 -0
  221. package/.output/public/assets/game/npc/rockitten-sheet.png +0 -0
  222. package/.output/public/assets/game/npc/tux-sheet.png +0 -0
  223. package/.output/public/assets/game/player/misa-back-walk.000.png +0 -0
  224. package/.output/public/assets/game/player/misa-back-walk.001.png +0 -0
  225. package/.output/public/assets/game/player/misa-back-walk.002.png +0 -0
  226. package/.output/public/assets/game/player/misa-back-walk.003.png +0 -0
  227. package/.output/public/assets/game/player/misa-back.png +0 -0
  228. package/.output/public/assets/game/player/misa-front-walk.000.png +0 -0
  229. package/.output/public/assets/game/player/misa-front-walk.001.png +0 -0
  230. package/.output/public/assets/game/player/misa-front-walk.002.png +0 -0
  231. package/.output/public/assets/game/player/misa-front-walk.003.png +0 -0
  232. package/.output/public/assets/game/player/misa-front.png +0 -0
  233. package/.output/public/assets/game/player/misa-left-walk.000.png +0 -0
  234. package/.output/public/assets/game/player/misa-left-walk.001.png +0 -0
  235. package/.output/public/assets/game/player/misa-left-walk.002.png +0 -0
  236. package/.output/public/assets/game/player/misa-left-walk.003.png +0 -0
  237. package/.output/public/assets/game/player/misa-left.png +0 -0
  238. package/.output/public/assets/game/player/misa-right-walk.000.png +0 -0
  239. package/.output/public/assets/game/player/misa-right-walk.001.png +0 -0
  240. package/.output/public/assets/game/player/misa-right-walk.002.png +0 -0
  241. package/.output/public/assets/game/player/misa-right-walk.003.png +0 -0
  242. package/.output/public/assets/game/player/misa-right.png +0 -0
  243. package/.output/public/assets/game/player-sheet.png +0 -0
  244. package/.output/public/assets/game/tuxemon-town.json +1 -0
  245. package/.output/public/assets/game/tuxmon-sample-32px-extruded.png +0 -0
  246. package/.output/public/assets/game/wuwa/scene-map.png +0 -0
  247. package/.output/public/assets/game/wuwa/world-far.png +0 -0
  248. package/.output/public/assets/game/wuwa/world-middle.png +0 -0
  249. package/.output/public/assets/game/wuwa/world-near.png +0 -0
  250. package/.output/public/assets/game/wuwa/wu-aura.png +0 -0
  251. package/.output/public/assets/game/wuwa/wu-lead.png +0 -0
  252. package/.output/public/assets/game/wuwa/wu-ring.png +0 -0
  253. package/.output/public/assets/game/wuwa/wu-slash.png +0 -0
  254. package/.output/public/assets/game/wuwa/wu-worker-0.png +0 -0
  255. package/.output/public/assets/game/wuwa/wu-worker-1.png +0 -0
  256. package/.output/public/assets/game/wuwa/wu-worker-2.png +0 -0
  257. package/.output/public/favicon.svg +14 -0
  258. package/.output/public/scene/background/cyber-town-background.svg +110 -0
  259. package/.output/server/chunks/_/LeftOutlined.mjs +23 -0
  260. package/.output/server/chunks/_/LeftOutlined.mjs.map +1 -0
  261. package/.output/server/chunks/_/SearchOutlined.mjs +5141 -0
  262. package/.output/server/chunks/_/SearchOutlined.mjs.map +1 -0
  263. package/.output/server/chunks/_/character-asset.repo.mjs +86 -0
  264. package/.output/server/chunks/_/character-asset.repo.mjs.map +1 -0
  265. package/.output/server/chunks/_/error-500.mjs +20 -0
  266. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  267. package/.output/server/chunks/_/host-bindings.mjs +53 -0
  268. package/.output/server/chunks/_/host-bindings.mjs.map +1 -0
  269. package/.output/server/chunks/_/nitro.mjs +26962 -0
  270. package/.output/server/chunks/_/nitro.mjs.map +1 -0
  271. package/.output/server/chunks/_/scene-layout.repo.mjs +72 -0
  272. package/.output/server/chunks/_/scene-layout.repo.mjs.map +1 -0
  273. package/.output/server/chunks/_/user.schema.mjs +36 -0
  274. package/.output/server/chunks/_/user.schema.mjs.map +1 -0
  275. package/.output/server/chunks/build/Col-D7fjGDF6.mjs +338 -0
  276. package/.output/server/chunks/build/Col-D7fjGDF6.mjs.map +1 -0
  277. package/.output/server/chunks/build/OmpTerminalPanel-CZnxR3M_.mjs +915 -0
  278. package/.output/server/chunks/build/OmpTerminalPanel-CZnxR3M_.mjs.map +1 -0
  279. package/.output/server/chunks/build/TownView-DYlUNRZe.mjs +2671 -0
  280. package/.output/server/chunks/build/TownView-DYlUNRZe.mjs.map +1 -0
  281. package/.output/server/chunks/build/_id_-BOhG2yz8.mjs +659 -0
  282. package/.output/server/chunks/build/_id_-BOhG2yz8.mjs.map +1 -0
  283. package/.output/server/chunks/build/_id_-CuyMYmhY.mjs +312 -0
  284. package/.output/server/chunks/build/_id_-CuyMYmhY.mjs.map +1 -0
  285. package/.output/server/chunks/build/_wsId_-B5f5BdW2.mjs +9324 -0
  286. package/.output/server/chunks/build/_wsId_-B5f5BdW2.mjs.map +1 -0
  287. package/.output/server/chunks/build/agents-BVaxN75W.mjs +934 -0
  288. package/.output/server/chunks/build/agents-BVaxN75W.mjs.map +1 -0
  289. package/.output/server/chunks/build/alert-gH-s7yIh.mjs +264 -0
  290. package/.output/server/chunks/build/alert-gH-s7yIh.mjs.map +1 -0
  291. package/.output/server/chunks/build/button-BhbX5ACI.mjs +1938 -0
  292. package/.output/server/chunks/build/button-BhbX5ACI.mjs.map +1 -0
  293. package/.output/server/chunks/build/card-l4BbX67w.mjs +955 -0
  294. package/.output/server/chunks/build/card-l4BbX67w.mjs.map +1 -0
  295. package/.output/server/chunks/build/channel-templates-D1K2IKrE.mjs +832 -0
  296. package/.output/server/chunks/build/channel-templates-D1K2IKrE.mjs.map +1 -0
  297. package/.output/server/chunks/build/checkbox-BF11p3dH.mjs +439 -0
  298. package/.output/server/chunks/build/checkbox-BF11p3dH.mjs.map +1 -0
  299. package/.output/server/chunks/build/client-only-CFTHwakk.mjs +43 -0
  300. package/.output/server/chunks/build/client-only-CFTHwakk.mjs.map +1 -0
  301. package/.output/server/chunks/build/connection-Dc0fn6yd.mjs +120 -0
  302. package/.output/server/chunks/build/connection-Dc0fn6yd.mjs.map +1 -0
  303. package/.output/server/chunks/build/daq-ObtN1TQ4.mjs +1066 -0
  304. package/.output/server/chunks/build/daq-ObtN1TQ4.mjs.map +1 -0
  305. package/.output/server/chunks/build/dcw-fINr-He1.mjs +243 -0
  306. package/.output/server/chunks/build/dcw-fINr-He1.mjs.map +1 -0
  307. package/.output/server/chunks/build/default-CVVO40Jj.mjs +1209 -0
  308. package/.output/server/chunks/build/default-CVVO40Jj.mjs.map +1 -0
  309. package/.output/server/chunks/build/drawer-CVValqoh.mjs +836 -0
  310. package/.output/server/chunks/build/drawer-CVValqoh.mjs.map +1 -0
  311. package/.output/server/chunks/build/dropdown-ByCsEWlQ.mjs +14 -0
  312. package/.output/server/chunks/build/dropdown-ByCsEWlQ.mjs.map +1 -0
  313. package/.output/server/chunks/build/dropdown-Dex8PXu6.mjs +558 -0
  314. package/.output/server/chunks/build/dropdown-Dex8PXu6.mjs.map +1 -0
  315. package/.output/server/chunks/build/initDefaultProps-DIbWwP4R.mjs +21 -0
  316. package/.output/server/chunks/build/initDefaultProps-DIbWwP4R.mjs.map +1 -0
  317. package/.output/server/chunks/build/input--KMeLYqZ.mjs +2617 -0
  318. package/.output/server/chunks/build/input--KMeLYqZ.mjs.map +1 -0
  319. package/.output/server/chunks/build/input-number-BBlRoAJ7.mjs +1521 -0
  320. package/.output/server/chunks/build/input-number-BBlRoAJ7.mjs.map +1 -0
  321. package/.output/server/chunks/build/interval-Bt11uRPw.mjs +9 -0
  322. package/.output/server/chunks/build/interval-Bt11uRPw.mjs.map +1 -0
  323. package/.output/server/chunks/build/isNumeric-CP7q_yhz.mjs +7 -0
  324. package/.output/server/chunks/build/isNumeric-CP7q_yhz.mjs.map +1 -0
  325. package/.output/server/chunks/build/logs-DqNgCJAn.mjs +188 -0
  326. package/.output/server/chunks/build/logs-DqNgCJAn.mjs.map +1 -0
  327. package/.output/server/chunks/build/menu-xN-SXb9Q.mjs +1950 -0
  328. package/.output/server/chunks/build/menu-xN-SXb9Q.mjs.map +1 -0
  329. package/.output/server/chunks/build/modal-DrCOcjrl.mjs +1272 -0
  330. package/.output/server/chunks/build/modal-DrCOcjrl.mjs.map +1 -0
  331. package/.output/server/chunks/build/monitor-CTZLwbdw.mjs +2329 -0
  332. package/.output/server/chunks/build/monitor-CTZLwbdw.mjs.map +1 -0
  333. package/.output/server/chunks/build/pages-DC52d7z7.mjs +470 -0
  334. package/.output/server/chunks/build/pages-DC52d7z7.mjs.map +1 -0
  335. package/.output/server/chunks/build/plugins-DVQty7qG.mjs +231 -0
  336. package/.output/server/chunks/build/plugins-DVQty7qG.mjs.map +1 -0
  337. package/.output/server/chunks/build/popconfirm-C5H1Qoh3.mjs +342 -0
  338. package/.output/server/chunks/build/popconfirm-C5H1Qoh3.mjs.map +1 -0
  339. package/.output/server/chunks/build/responsiveObserve-CS0UB6wQ.mjs +78 -0
  340. package/.output/server/chunks/build/responsiveObserve-CS0UB6wQ.mjs.map +1 -0
  341. package/.output/server/chunks/build/select-D7H2ysgT.mjs +3923 -0
  342. package/.output/server/chunks/build/select-D7H2ysgT.mjs.map +1 -0
  343. package/.output/server/chunks/build/settings-BeergncK.mjs +557 -0
  344. package/.output/server/chunks/build/settings-BeergncK.mjs.map +1 -0
  345. package/.output/server/chunks/build/space-DCwIlnkI.mjs +197 -0
  346. package/.output/server/chunks/build/space-DCwIlnkI.mjs.map +1 -0
  347. package/.output/server/chunks/build/spin-HVY81X_L.mjs +358 -0
  348. package/.output/server/chunks/build/spin-HVY81X_L.mjs.map +1 -0
  349. package/.output/server/chunks/build/switch-VC0m9ede.mjs +377 -0
  350. package/.output/server/chunks/build/switch-VC0m9ede.mjs.map +1 -0
  351. package/.output/server/chunks/build/table-BksLg3Q_.mjs +8883 -0
  352. package/.output/server/chunks/build/table-BksLg3Q_.mjs.map +1 -0
  353. package/.output/server/chunks/build/tabs-CzUfD3iX.mjs +1925 -0
  354. package/.output/server/chunks/build/tabs-CzUfD3iX.mjs.map +1 -0
  355. package/.output/server/chunks/build/tag-oQI3VtqM.mjs +1157 -0
  356. package/.output/server/chunks/build/tag-oQI3VtqM.mjs.map +1 -0
  357. package/.output/server/chunks/build/teams-CFeDlHDh.mjs +910 -0
  358. package/.output/server/chunks/build/teams-CFeDlHDh.mjs.map +1 -0
  359. package/.output/server/chunks/build/tokens-CBAUbOce.mjs +818 -0
  360. package/.output/server/chunks/build/tokens-CBAUbOce.mjs.map +1 -0
  361. package/.output/server/chunks/build/town-BUqRobze.mjs +48 -0
  362. package/.output/server/chunks/build/town-BUqRobze.mjs.map +1 -0
  363. package/.output/server/chunks/build/town-BxH-XXth.mjs +94 -0
  364. package/.output/server/chunks/build/town-BxH-XXth.mjs.map +1 -0
  365. package/.output/server/chunks/build/useDaqStream-CwORhsD7.mjs +310 -0
  366. package/.output/server/chunks/build/useDaqStream-CwORhsD7.mjs.map +1 -0
  367. package/.output/server/chunks/build/useDcwStream-BkWDGaWp.mjs +450 -0
  368. package/.output/server/chunks/build/useDcwStream-BkWDGaWp.mjs.map +1 -0
  369. package/.output/server/chunks/build/useDeviceTwins-NhtXqSkU.mjs +127 -0
  370. package/.output/server/chunks/build/useDeviceTwins-NhtXqSkU.mjs.map +1 -0
  371. package/.output/server/chunks/build/useOpsLog-CU64VDg5.mjs +124 -0
  372. package/.output/server/chunks/build/useOpsLog-CU64VDg5.mjs.map +1 -0
  373. package/.output/server/chunks/build/useSiteConfig-Cc-ABesl.mjs +27 -0
  374. package/.output/server/chunks/build/useSiteConfig-Cc-ABesl.mjs.map +1 -0
  375. package/.output/server/chunks/build/useTownBus-D9SoIsAN.mjs +25 -0
  376. package/.output/server/chunks/build/useTownBus-D9SoIsAN.mjs.map +1 -0
  377. package/.output/server/chunks/build/useWorkshopApi-5er8_EHZ.mjs +4786 -0
  378. package/.output/server/chunks/build/useWorkshopApi-5er8_EHZ.mjs.map +1 -0
  379. package/.output/server/chunks/build/useWorkshopWs-Dwr_1Q8f.mjs +1068 -0
  380. package/.output/server/chunks/build/useWorkshopWs-Dwr_1Q8f.mjs.map +1 -0
  381. package/.output/server/chunks/build/user-CpVY4OAA.mjs +140 -0
  382. package/.output/server/chunks/build/user-CpVY4OAA.mjs.map +1 -0
  383. package/.output/server/chunks/build/users-BMs4s_6K.mjs +558 -0
  384. package/.output/server/chunks/build/users-BMs4s_6K.mjs.map +1 -0
  385. package/.output/server/chunks/build/workshop-CJAyZ5zS.mjs +917 -0
  386. package/.output/server/chunks/build/workshop-CJAyZ5zS.mjs.map +1 -0
  387. package/.output/server/chunks/build/workspaces-Dq-1zvu9.mjs +125 -0
  388. package/.output/server/chunks/build/workspaces-Dq-1zvu9.mjs.map +1 -0
  389. package/.output/server/chunks/routes/api/health.get.mjs +40 -0
  390. package/.output/server/chunks/routes/api/health.get.mjs.map +1 -0
  391. package/.output/server/chunks/routes/api/index.get.mjs +27 -0
  392. package/.output/server/chunks/routes/api/index.get.mjs.map +1 -0
  393. package/.output/server/chunks/routes/api/index.post.mjs +27 -0
  394. package/.output/server/chunks/routes/api/index.post.mjs.map +1 -0
  395. package/.output/server/chunks/routes/api/mcp/workshop.mjs +498 -0
  396. package/.output/server/chunks/routes/api/mcp/workshop.mjs.map +1 -0
  397. package/.output/server/chunks/routes/api/metrics.mjs +66 -0
  398. package/.output/server/chunks/routes/api/metrics.mjs.map +1 -0
  399. package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs +33 -0
  400. package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs.map +1 -0
  401. package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs +30 -0
  402. package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs.map +1 -0
  403. package/.output/server/chunks/routes/api/plugins/manifest.get.mjs +22 -0
  404. package/.output/server/chunks/routes/api/plugins/manifest.get.mjs.map +1 -0
  405. package/.output/server/chunks/routes/api/system/config.get.mjs +24 -0
  406. package/.output/server/chunks/routes/api/system/config.get.mjs.map +1 -0
  407. package/.output/server/chunks/routes/api/system/index.get.mjs +24 -0
  408. package/.output/server/chunks/routes/api/system/index.get.mjs.map +1 -0
  409. package/.output/server/chunks/routes/api/system/index.patch.mjs +30 -0
  410. package/.output/server/chunks/routes/api/system/index.patch.mjs.map +1 -0
  411. package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs +148 -0
  412. package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs.map +1 -0
  413. package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs +41 -0
  414. package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs.map +1 -0
  415. package/.output/server/chunks/routes/api/system/monitor.get.mjs +24 -0
  416. package/.output/server/chunks/routes/api/system/monitor.get.mjs.map +1 -0
  417. package/.output/server/chunks/routes/api/system/settings/events.get.mjs +35 -0
  418. package/.output/server/chunks/routes/api/system/settings/events.get.mjs.map +1 -0
  419. package/.output/server/chunks/routes/api/system/settings/reset.post.mjs +24 -0
  420. package/.output/server/chunks/routes/api/system/settings/reset.post.mjs.map +1 -0
  421. package/.output/server/chunks/routes/api/users/_id_.delete.mjs +26 -0
  422. package/.output/server/chunks/routes/api/users/_id_.delete.mjs.map +1 -0
  423. package/.output/server/chunks/routes/api/users/_id_.get.mjs +26 -0
  424. package/.output/server/chunks/routes/api/users/_id_.get.mjs.map +1 -0
  425. package/.output/server/chunks/routes/api/users/_id_.put.mjs +29 -0
  426. package/.output/server/chunks/routes/api/users/_id_.put.mjs.map +1 -0
  427. package/.output/server/chunks/routes/api/users/index.get.mjs +23 -0
  428. package/.output/server/chunks/routes/api/users/index.get.mjs.map +1 -0
  429. package/.output/server/chunks/routes/api/users/index.post.mjs +26 -0
  430. package/.output/server/chunks/routes/api/users/index.post.mjs.map +1 -0
  431. package/.output/server/chunks/routes/api/users/login.post.mjs +25 -0
  432. package/.output/server/chunks/routes/api/users/login.post.mjs.map +1 -0
  433. package/.output/server/chunks/routes/api/users/logout.post.mjs +23 -0
  434. package/.output/server/chunks/routes/api/users/logout.post.mjs.map +1 -0
  435. package/.output/server/chunks/routes/api/users/me.get.mjs +23 -0
  436. package/.output/server/chunks/routes/api/users/me.get.mjs.map +1 -0
  437. package/.output/server/chunks/routes/api/users/register.post.mjs +25 -0
  438. package/.output/server/chunks/routes/api/users/register.post.mjs.map +1 -0
  439. package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs +25 -0
  440. package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs.map +1 -0
  441. package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs +25 -0
  442. package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs.map +1 -0
  443. package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs +28 -0
  444. package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs.map +1 -0
  445. package/.output/server/chunks/routes/api/workshop/_...path_.mjs +22 -0
  446. package/.output/server/chunks/routes/api/workshop/_...path_.mjs.map +1 -0
  447. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs +61 -0
  448. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs.map +1 -0
  449. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs +333 -0
  450. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs.map +1 -0
  451. package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs +35 -0
  452. package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs.map +1 -0
  453. package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs +30 -0
  454. package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs.map +1 -0
  455. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs +31 -0
  456. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs.map +1 -0
  457. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs +27 -0
  458. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs.map +1 -0
  459. package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs +29 -0
  460. package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs.map +1 -0
  461. package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs +32 -0
  462. package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs.map +1 -0
  463. package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs +26 -0
  464. package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs.map +1 -0
  465. package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs +38 -0
  466. package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs.map +1 -0
  467. package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs +30 -0
  468. package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs.map +1 -0
  469. package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs +29 -0
  470. package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs.map +1 -0
  471. package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs +38 -0
  472. package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs.map +1 -0
  473. package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs +30 -0
  474. package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs.map +1 -0
  475. package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs +38 -0
  476. package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs.map +1 -0
  477. package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs +38 -0
  478. package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs.map +1 -0
  479. package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs +47 -0
  480. package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs.map +1 -0
  481. package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs +28 -0
  482. package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs.map +1 -0
  483. package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs +81 -0
  484. package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs.map +1 -0
  485. package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs +81 -0
  486. package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs.map +1 -0
  487. package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs +56 -0
  488. package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs.map +1 -0
  489. package/.output/server/chunks/routes/api/workshop/audit.get.mjs +55 -0
  490. package/.output/server/chunks/routes/api/workshop/audit.get.mjs.map +1 -0
  491. package/.output/server/chunks/routes/api/workshop/caller.mjs +107 -0
  492. package/.output/server/chunks/routes/api/workshop/caller.mjs.map +1 -0
  493. package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +37 -0
  494. package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs.map +1 -0
  495. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs +30 -0
  496. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs.map +1 -0
  497. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs +29 -0
  498. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs.map +1 -0
  499. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs +55 -0
  500. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs.map +1 -0
  501. package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs +39 -0
  502. package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs.map +1 -0
  503. package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs +29 -0
  504. package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs.map +1 -0
  505. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs +36 -0
  506. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs.map +1 -0
  507. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs +52 -0
  508. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs.map +1 -0
  509. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs +37 -0
  510. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs.map +1 -0
  511. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs +46 -0
  512. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs.map +1 -0
  513. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs +42 -0
  514. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs.map +1 -0
  515. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs +40 -0
  516. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs.map +1 -0
  517. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs +59 -0
  518. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs.map +1 -0
  519. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs +33 -0
  520. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs.map +1 -0
  521. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs +32 -0
  522. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs.map +1 -0
  523. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs +37 -0
  524. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs.map +1 -0
  525. package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs +58 -0
  526. package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs.map +1 -0
  527. package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs +34 -0
  528. package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs.map +1 -0
  529. package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs +62 -0
  530. package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs.map +1 -0
  531. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs +35 -0
  532. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs.map +1 -0
  533. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs +47 -0
  534. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs.map +1 -0
  535. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs +49 -0
  536. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs.map +1 -0
  537. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs +74 -0
  538. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs.map +1 -0
  539. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs +30 -0
  540. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs.map +1 -0
  541. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs +84 -0
  542. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs.map +1 -0
  543. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs +36 -0
  544. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs.map +1 -0
  545. package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs +31 -0
  546. package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs.map +1 -0
  547. package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs +27 -0
  548. package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs.map +1 -0
  549. package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs +29 -0
  550. package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs.map +1 -0
  551. package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs +29 -0
  552. package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs.map +1 -0
  553. package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs +37 -0
  554. package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs.map +1 -0
  555. package/.output/server/chunks/routes/api/workshop/channels.get.mjs +24 -0
  556. package/.output/server/chunks/routes/api/workshop/channels.get.mjs.map +1 -0
  557. package/.output/server/chunks/routes/api/workshop/channels.post.mjs +53 -0
  558. package/.output/server/chunks/routes/api/workshop/channels.post.mjs.map +1 -0
  559. package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs +30 -0
  560. package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs.map +1 -0
  561. package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +34 -0
  562. package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs.map +1 -0
  563. package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs +29 -0
  564. package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs.map +1 -0
  565. package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs +41 -0
  566. package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs.map +1 -0
  567. package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs +42 -0
  568. package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs.map +1 -0
  569. package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs +26 -0
  570. package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs.map +1 -0
  571. package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs +27 -0
  572. package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs.map +1 -0
  573. package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs +53 -0
  574. package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs.map +1 -0
  575. package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs +28 -0
  576. package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs.map +1 -0
  577. package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs +29 -0
  578. package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs.map +1 -0
  579. package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +24 -0
  580. package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs.map +1 -0
  581. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +28 -0
  582. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs.map +1 -0
  583. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +29 -0
  584. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs.map +1 -0
  585. package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +30 -0
  586. package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs.map +1 -0
  587. package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +29 -0
  588. package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs.map +1 -0
  589. package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +27 -0
  590. package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs.map +1 -0
  591. package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +27 -0
  592. package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs.map +1 -0
  593. package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +29 -0
  594. package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs.map +1 -0
  595. package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +37 -0
  596. package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs.map +1 -0
  597. package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +29 -0
  598. package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs.map +1 -0
  599. package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +46 -0
  600. package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs.map +1 -0
  601. package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +33 -0
  602. package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs.map +1 -0
  603. package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +40 -0
  604. package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs.map +1 -0
  605. package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +26 -0
  606. package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs.map +1 -0
  607. package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +27 -0
  608. package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs.map +1 -0
  609. package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +35 -0
  610. package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs.map +1 -0
  611. package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +27 -0
  612. package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs.map +1 -0
  613. package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +25 -0
  614. package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs.map +1 -0
  615. package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +27 -0
  616. package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs.map +1 -0
  617. package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +24 -0
  618. package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs.map +1 -0
  619. package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +30 -0
  620. package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs.map +1 -0
  621. package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +41 -0
  622. package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs.map +1 -0
  623. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +45 -0
  624. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs.map +1 -0
  625. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +44 -0
  626. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs.map +1 -0
  627. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +43 -0
  628. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs.map +1 -0
  629. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs +27 -0
  630. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs.map +1 -0
  631. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +32 -0
  632. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs.map +1 -0
  633. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +35 -0
  634. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs.map +1 -0
  635. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +29 -0
  636. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs.map +1 -0
  637. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +29 -0
  638. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs.map +1 -0
  639. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +28 -0
  640. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs.map +1 -0
  641. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +28 -0
  642. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs.map +1 -0
  643. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +47 -0
  644. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs.map +1 -0
  645. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs +31 -0
  646. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs.map +1 -0
  647. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +29 -0
  648. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs.map +1 -0
  649. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +27 -0
  650. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs.map +1 -0
  651. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.patch.mjs +28 -0
  652. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.patch.mjs.map +1 -0
  653. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +27 -0
  654. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs.map +1 -0
  655. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +27 -0
  656. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs.map +1 -0
  657. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +29 -0
  658. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs.map +1 -0
  659. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +27 -0
  660. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs.map +1 -0
  661. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +28 -0
  662. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs.map +1 -0
  663. package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +27 -0
  664. package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs.map +1 -0
  665. package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +30 -0
  666. package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs.map +1 -0
  667. package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +29 -0
  668. package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs.map +1 -0
  669. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +32 -0
  670. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs.map +1 -0
  671. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +36 -0
  672. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs.map +1 -0
  673. package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs +43 -0
  674. package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs.map +1 -0
  675. package/.output/server/chunks/routes/api/workshop/index.get.mjs +25 -0
  676. package/.output/server/chunks/routes/api/workshop/index.get.mjs.map +1 -0
  677. package/.output/server/chunks/routes/api/workshop/index.post.mjs +38 -0
  678. package/.output/server/chunks/routes/api/workshop/index.post.mjs.map +1 -0
  679. package/.output/server/chunks/routes/api/workshop/index10.get.mjs +24 -0
  680. package/.output/server/chunks/routes/api/workshop/index10.get.mjs.map +1 -0
  681. package/.output/server/chunks/routes/api/workshop/index2.get.mjs +31 -0
  682. package/.output/server/chunks/routes/api/workshop/index2.get.mjs.map +1 -0
  683. package/.output/server/chunks/routes/api/workshop/index2.post.mjs +68 -0
  684. package/.output/server/chunks/routes/api/workshop/index2.post.mjs.map +1 -0
  685. package/.output/server/chunks/routes/api/workshop/index3.get.mjs +25 -0
  686. package/.output/server/chunks/routes/api/workshop/index3.get.mjs.map +1 -0
  687. package/.output/server/chunks/routes/api/workshop/index3.post.mjs +41 -0
  688. package/.output/server/chunks/routes/api/workshop/index3.post.mjs.map +1 -0
  689. package/.output/server/chunks/routes/api/workshop/index4.get.mjs +47 -0
  690. package/.output/server/chunks/routes/api/workshop/index4.get.mjs.map +1 -0
  691. package/.output/server/chunks/routes/api/workshop/index4.post.mjs +29 -0
  692. package/.output/server/chunks/routes/api/workshop/index4.post.mjs.map +1 -0
  693. package/.output/server/chunks/routes/api/workshop/index5.get.mjs +36 -0
  694. package/.output/server/chunks/routes/api/workshop/index5.get.mjs.map +1 -0
  695. package/.output/server/chunks/routes/api/workshop/index5.post.mjs +40 -0
  696. package/.output/server/chunks/routes/api/workshop/index5.post.mjs.map +1 -0
  697. package/.output/server/chunks/routes/api/workshop/index6.get.mjs +26 -0
  698. package/.output/server/chunks/routes/api/workshop/index6.get.mjs.map +1 -0
  699. package/.output/server/chunks/routes/api/workshop/index6.post.mjs +43 -0
  700. package/.output/server/chunks/routes/api/workshop/index6.post.mjs.map +1 -0
  701. package/.output/server/chunks/routes/api/workshop/index7.get.mjs +40 -0
  702. package/.output/server/chunks/routes/api/workshop/index7.get.mjs.map +1 -0
  703. package/.output/server/chunks/routes/api/workshop/index7.post.mjs +36 -0
  704. package/.output/server/chunks/routes/api/workshop/index7.post.mjs.map +1 -0
  705. package/.output/server/chunks/routes/api/workshop/index8.get.mjs +30 -0
  706. package/.output/server/chunks/routes/api/workshop/index8.get.mjs.map +1 -0
  707. package/.output/server/chunks/routes/api/workshop/index8.post.mjs +27 -0
  708. package/.output/server/chunks/routes/api/workshop/index8.post.mjs.map +1 -0
  709. package/.output/server/chunks/routes/api/workshop/index9.get.mjs +25 -0
  710. package/.output/server/chunks/routes/api/workshop/index9.get.mjs.map +1 -0
  711. package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs +31 -0
  712. package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs.map +1 -0
  713. package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs +27 -0
  714. package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs.map +1 -0
  715. package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs +25 -0
  716. package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs.map +1 -0
  717. package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +33 -0
  718. package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs.map +1 -0
  719. package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +33 -0
  720. package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs.map +1 -0
  721. package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs +28 -0
  722. package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs.map +1 -0
  723. package/.output/server/chunks/routes/api/workshop/runtime.get.mjs +24 -0
  724. package/.output/server/chunks/routes/api/workshop/runtime.get.mjs.map +1 -0
  725. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +32 -0
  726. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs.map +1 -0
  727. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +39 -0
  728. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs.map +1 -0
  729. package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs +25 -0
  730. package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs.map +1 -0
  731. package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs +37 -0
  732. package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs.map +1 -0
  733. package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs +39 -0
  734. package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs.map +1 -0
  735. package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs +36 -0
  736. package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs.map +1 -0
  737. package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs +44 -0
  738. package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs.map +1 -0
  739. package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs +36 -0
  740. package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs.map +1 -0
  741. package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs +37 -0
  742. package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs.map +1 -0
  743. package/.output/server/chunks/routes/api/workshop/tasks.get.mjs +24 -0
  744. package/.output/server/chunks/routes/api/workshop/tasks.get.mjs.map +1 -0
  745. package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs +42 -0
  746. package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs.map +1 -0
  747. package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs +29 -0
  748. package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs.map +1 -0
  749. package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs +39 -0
  750. package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs.map +1 -0
  751. package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs +30 -0
  752. package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs.map +1 -0
  753. package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs +30 -0
  754. package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs.map +1 -0
  755. package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs +29 -0
  756. package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs.map +1 -0
  757. package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs +40 -0
  758. package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs.map +1 -0
  759. package/.output/server/chunks/routes/api/workshop/users/me.get.mjs +35 -0
  760. package/.output/server/chunks/routes/api/workshop/users/me.get.mjs.map +1 -0
  761. package/.output/server/chunks/routes/api/workshop/users/register.post.mjs +37 -0
  762. package/.output/server/chunks/routes/api/workshop/users/register.post.mjs.map +1 -0
  763. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +39 -0
  764. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs.map +1 -0
  765. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs +27 -0
  766. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs.map +1 -0
  767. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs +27 -0
  768. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs.map +1 -0
  769. package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs +26 -0
  770. package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs.map +1 -0
  771. package/.output/server/chunks/routes/renderer.mjs +392 -0
  772. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  773. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  774. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  775. package/.output/server/chunks/virtual/entry.mjs +18401 -0
  776. package/.output/server/chunks/virtual/entry.mjs.map +1 -0
  777. package/.output/server/chunks/virtual/precomputed.mjs +4 -0
  778. package/.output/server/chunks/virtual/precomputed.mjs.map +1 -0
  779. package/.output/server/index.mjs +5561 -0
  780. package/.output/server/index.mjs.map +1 -0
  781. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/api.js +2 -0
  782. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/app.js +2 -0
  783. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/component.js +2 -0
  784. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/context.js +2 -0
  785. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/hooks.js +2 -0
  786. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/index.js +22 -0
  787. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/util.js +2 -0
  788. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/const.js +5 -0
  789. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/env.js +17 -0
  790. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/index.js +45 -0
  791. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/plugin.js +2 -0
  792. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/proxy.js +111 -0
  793. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/time.js +28 -0
  794. package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/package.json +37 -0
  795. package/.output/server/node_modules/.nitro/@vue/devtools-api@7.7.10/dist/index.cjs +42 -0
  796. package/.output/server/node_modules/.nitro/@vue/devtools-api@7.7.10/package.json +32 -0
  797. package/.output/server/node_modules/.nitro/hookable@5.5.3/dist/index.cjs +299 -0
  798. package/.output/server/node_modules/.nitro/hookable@5.5.3/package.json +49 -0
  799. package/.output/server/node_modules/.nitro/hookable@6.1.1/dist/index.mjs +257 -0
  800. package/.output/server/node_modules/.nitro/hookable@6.1.1/package.json +53 -0
  801. package/.output/server/node_modules/@adonisjs/hash/build/chunk-7RS6HCBK.js +36 -0
  802. package/.output/server/node_modules/@adonisjs/hash/build/chunk-JSA56AE7.js +26 -0
  803. package/.output/server/node_modules/@adonisjs/hash/build/chunk-JSBRDJBE.js +30 -0
  804. package/.output/server/node_modules/@adonisjs/hash/build/chunk-RHMXMP27.js +202 -0
  805. package/.output/server/node_modules/@adonisjs/hash/build/chunk-WB54OA6N.js +193 -0
  806. package/.output/server/node_modules/@adonisjs/hash/build/index.js +9 -0
  807. package/.output/server/node_modules/@adonisjs/hash/build/src/drivers/scrypt.js +9 -0
  808. package/.output/server/node_modules/@adonisjs/hash/package.json +150 -0
  809. package/.output/server/node_modules/@ant-design/colors/dist/index.js +255 -0
  810. package/.output/server/node_modules/@ant-design/colors/package.json +53 -0
  811. package/.output/server/node_modules/@babel/parser/lib/index.js +14611 -0
  812. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  813. package/.output/server/node_modules/@ctrl/tinycolor/dist/conversion.js +250 -0
  814. package/.output/server/node_modules/@ctrl/tinycolor/dist/css-color-names.js +157 -0
  815. package/.output/server/node_modules/@ctrl/tinycolor/dist/format-input.js +189 -0
  816. package/.output/server/node_modules/@ctrl/tinycolor/dist/from-ratio.js +30 -0
  817. package/.output/server/node_modules/@ctrl/tinycolor/dist/index.js +512 -0
  818. package/.output/server/node_modules/@ctrl/tinycolor/dist/interfaces.js +2 -0
  819. package/.output/server/node_modules/@ctrl/tinycolor/dist/public_api.js +28 -0
  820. package/.output/server/node_modules/@ctrl/tinycolor/dist/random.js +282 -0
  821. package/.output/server/node_modules/@ctrl/tinycolor/dist/readability.js +86 -0
  822. package/.output/server/node_modules/@ctrl/tinycolor/dist/to-ms-filter.js +20 -0
  823. package/.output/server/node_modules/@ctrl/tinycolor/dist/util.js +92 -0
  824. package/.output/server/node_modules/@ctrl/tinycolor/package.json +80 -0
  825. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js +64 -0
  826. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js +16 -0
  827. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js +32 -0
  828. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js +246 -0
  829. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/package.json +1 -0
  830. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js +41 -0
  831. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js +429 -0
  832. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js +917 -0
  833. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sseKeepAlive.js +13 -0
  834. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js +949 -0
  835. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +228 -0
  836. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js +51 -0
  837. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/mediaType.js +57 -0
  838. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +1107 -0
  839. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js +92 -0
  840. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js +239 -0
  841. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +2065 -0
  842. package/.output/server/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +87 -0
  843. package/.output/server/node_modules/@modelcontextprotocol/sdk/package.json +165 -0
  844. package/.output/server/node_modules/@phc/format/index.js +229 -0
  845. package/.output/server/node_modules/@phc/format/package.json +60 -0
  846. package/.output/server/node_modules/@poppinss/exception/build/index.js +44 -0
  847. package/.output/server/node_modules/@poppinss/exception/package.json +109 -0
  848. package/.output/server/node_modules/@poppinss/object-builder/build/index.js +49 -0
  849. package/.output/server/node_modules/@poppinss/object-builder/package.json +112 -0
  850. package/.output/server/node_modules/@poppinss/string/build/index.js +2 -0
  851. package/.output/server/node_modules/@poppinss/string/build/string-DVIVpZLG.js +737 -0
  852. package/.output/server/node_modules/@poppinss/string/package.json +131 -0
  853. package/.output/server/node_modules/@poppinss/utils/build/chunk-2KG3PWR4.js +17 -0
  854. package/.output/server/node_modules/@poppinss/utils/build/chunk-4V5ON6P7.js +7 -0
  855. package/.output/server/node_modules/@poppinss/utils/build/chunk-EJKUJ44Y.js +12 -0
  856. package/.output/server/node_modules/@poppinss/utils/build/chunk-H54AK3PI.js +7 -0
  857. package/.output/server/node_modules/@poppinss/utils/build/chunk-XHQBV7AF.js +39 -0
  858. package/.output/server/node_modules/@poppinss/utils/build/index.js +365 -0
  859. package/.output/server/node_modules/@poppinss/utils/build/lodash/main.cjs +39 -0
  860. package/.output/server/node_modules/@poppinss/utils/package.json +153 -0
  861. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6801 -0
  862. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  863. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +692 -0
  864. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  865. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1420 -0
  866. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  867. package/.output/server/node_modules/@vue/devtools-kit/dist/index.cjs +6781 -0
  868. package/.output/server/node_modules/@vue/devtools-kit/package.json +45 -0
  869. package/.output/server/node_modules/@vue/devtools-shared/dist/index.cjs +378 -0
  870. package/.output/server/node_modules/@vue/devtools-shared/package.json +35 -0
  871. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1903 -0
  872. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  873. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6976 -0
  874. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  875. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1841 -0
  876. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  877. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +904 -0
  878. package/.output/server/node_modules/@vue/server-renderer/package.json +53 -0
  879. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +609 -0
  880. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  881. package/.output/server/node_modules/@xterm/addon-fit/lib/addon-fit.js +2 -0
  882. package/.output/server/node_modules/@xterm/addon-fit/package.json +26 -0
  883. package/.output/server/node_modules/@xterm/xterm/lib/xterm.js +2 -0
  884. package/.output/server/node_modules/@xterm/xterm/package.json +111 -0
  885. package/.output/server/node_modules/agent-base/dist/src/index.js +203 -0
  886. package/.output/server/node_modules/agent-base/dist/src/promisify.js +18 -0
  887. package/.output/server/node_modules/agent-base/package.json +64 -0
  888. package/.output/server/node_modules/ajv/dist/ajv.js +50 -0
  889. package/.output/server/node_modules/ajv/dist/compile/codegen/code.js +156 -0
  890. package/.output/server/node_modules/ajv/dist/compile/codegen/index.js +697 -0
  891. package/.output/server/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
  892. package/.output/server/node_modules/ajv/dist/compile/errors.js +123 -0
  893. package/.output/server/node_modules/ajv/dist/compile/index.js +242 -0
  894. package/.output/server/node_modules/ajv/dist/compile/names.js +28 -0
  895. package/.output/server/node_modules/ajv/dist/compile/ref_error.js +12 -0
  896. package/.output/server/node_modules/ajv/dist/compile/resolve.js +155 -0
  897. package/.output/server/node_modules/ajv/dist/compile/rules.js +26 -0
  898. package/.output/server/node_modules/ajv/dist/compile/util.js +178 -0
  899. package/.output/server/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
  900. package/.output/server/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
  901. package/.output/server/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
  902. package/.output/server/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
  903. package/.output/server/node_modules/ajv/dist/compile/validate/index.js +520 -0
  904. package/.output/server/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
  905. package/.output/server/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
  906. package/.output/server/node_modules/ajv/dist/core.js +618 -0
  907. package/.output/server/node_modules/ajv/dist/refs/data.json +13 -0
  908. package/.output/server/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
  909. package/.output/server/node_modules/ajv/dist/runtime/equal.js +7 -0
  910. package/.output/server/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
  911. package/.output/server/node_modules/ajv/dist/runtime/uri.js +6 -0
  912. package/.output/server/node_modules/ajv/dist/runtime/validation_error.js +11 -0
  913. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
  914. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
  915. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
  916. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
  917. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
  918. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
  919. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
  920. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
  921. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
  922. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
  923. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
  924. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
  925. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
  926. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
  927. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
  928. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
  929. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
  930. package/.output/server/node_modules/ajv/dist/vocabularies/code.js +131 -0
  931. package/.output/server/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
  932. package/.output/server/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
  933. package/.output/server/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
  934. package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
  935. package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
  936. package/.output/server/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
  937. package/.output/server/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
  938. package/.output/server/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
  939. package/.output/server/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
  940. package/.output/server/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
  941. package/.output/server/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
  942. package/.output/server/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
  943. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
  944. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
  945. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
  946. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
  947. package/.output/server/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
  948. package/.output/server/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
  949. package/.output/server/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
  950. package/.output/server/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
  951. package/.output/server/node_modules/ajv/package.json +126 -0
  952. package/.output/server/node_modules/ajv-formats/dist/formats.js +208 -0
  953. package/.output/server/node_modules/ajv-formats/dist/index.js +37 -0
  954. package/.output/server/node_modules/ajv-formats/dist/limit.js +69 -0
  955. package/.output/server/node_modules/ajv-formats/package.json +74 -0
  956. package/.output/server/node_modules/asynckit/index.js +6 -0
  957. package/.output/server/node_modules/asynckit/lib/abort.js +29 -0
  958. package/.output/server/node_modules/asynckit/lib/async.js +34 -0
  959. package/.output/server/node_modules/asynckit/lib/defer.js +26 -0
  960. package/.output/server/node_modules/asynckit/lib/iterate.js +75 -0
  961. package/.output/server/node_modules/asynckit/lib/state.js +37 -0
  962. package/.output/server/node_modules/asynckit/lib/terminator.js +29 -0
  963. package/.output/server/node_modules/asynckit/package.json +63 -0
  964. package/.output/server/node_modules/asynckit/parallel.js +43 -0
  965. package/.output/server/node_modules/asynckit/serial.js +17 -0
  966. package/.output/server/node_modules/asynckit/serialOrdered.js +75 -0
  967. package/.output/server/node_modules/axios/index.js +45 -0
  968. package/.output/server/node_modules/axios/lib/adapters/adapters.js +132 -0
  969. package/.output/server/node_modules/axios/lib/adapters/fetch.js +643 -0
  970. package/.output/server/node_modules/axios/lib/adapters/http.js +1406 -0
  971. package/.output/server/node_modules/axios/lib/adapters/xhr.js +228 -0
  972. package/.output/server/node_modules/axios/lib/axios.js +89 -0
  973. package/.output/server/node_modules/axios/lib/cancel/CancelToken.js +135 -0
  974. package/.output/server/node_modules/axios/lib/cancel/CanceledError.js +22 -0
  975. package/.output/server/node_modules/axios/lib/cancel/isCancel.js +5 -0
  976. package/.output/server/node_modules/axios/lib/core/Axios.js +301 -0
  977. package/.output/server/node_modules/axios/lib/core/AxiosError.js +219 -0
  978. package/.output/server/node_modules/axios/lib/core/AxiosHeaders.js +474 -0
  979. package/.output/server/node_modules/axios/lib/core/InterceptorManager.js +72 -0
  980. package/.output/server/node_modules/axios/lib/core/buildFullPath.js +88 -0
  981. package/.output/server/node_modules/axios/lib/core/dispatchRequest.js +89 -0
  982. package/.output/server/node_modules/axios/lib/core/mergeConfig.js +174 -0
  983. package/.output/server/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
  984. package/.output/server/node_modules/axios/lib/core/settle.js +27 -0
  985. package/.output/server/node_modules/axios/lib/core/transformData.js +28 -0
  986. package/.output/server/node_modules/axios/lib/defaults/index.js +177 -0
  987. package/.output/server/node_modules/axios/lib/defaults/transitional.js +10 -0
  988. package/.output/server/node_modules/axios/lib/env/data.js +1 -0
  989. package/.output/server/node_modules/axios/lib/helpers/AxiosTransformStream.js +156 -0
  990. package/.output/server/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +59 -0
  991. package/.output/server/node_modules/axios/lib/helpers/Http2Sessions.js +119 -0
  992. package/.output/server/node_modules/axios/lib/helpers/HttpStatusCode.js +78 -0
  993. package/.output/server/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +29 -0
  994. package/.output/server/node_modules/axios/lib/helpers/bind.js +14 -0
  995. package/.output/server/node_modules/axios/lib/helpers/buildURL.js +69 -0
  996. package/.output/server/node_modules/axios/lib/helpers/callbackify.js +18 -0
  997. package/.output/server/node_modules/axios/lib/helpers/combineURLs.js +23 -0
  998. package/.output/server/node_modules/axios/lib/helpers/composeSignals.js +68 -0
  999. package/.output/server/node_modules/axios/lib/helpers/cookies.js +64 -0
  1000. package/.output/server/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +166 -0
  1001. package/.output/server/node_modules/axios/lib/helpers/formDataToJSON.js +125 -0
  1002. package/.output/server/node_modules/axios/lib/helpers/formDataToStream.js +119 -0
  1003. package/.output/server/node_modules/axios/lib/helpers/fromDataURI.js +68 -0
  1004. package/.output/server/node_modules/axios/lib/helpers/isAbsoluteURL.js +19 -0
  1005. package/.output/server/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
  1006. package/.output/server/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
  1007. package/.output/server/node_modules/axios/lib/helpers/parseHeaders.js +71 -0
  1008. package/.output/server/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
  1009. package/.output/server/node_modules/axios/lib/helpers/progressEventReducer.js +54 -0
  1010. package/.output/server/node_modules/axios/lib/helpers/readBlob.js +15 -0
  1011. package/.output/server/node_modules/axios/lib/helpers/resolveConfig.js +105 -0
  1012. package/.output/server/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
  1013. package/.output/server/node_modules/axios/lib/helpers/shouldBypassProxy.js +329 -0
  1014. package/.output/server/node_modules/axios/lib/helpers/speedometer.js +55 -0
  1015. package/.output/server/node_modules/axios/lib/helpers/spread.js +28 -0
  1016. package/.output/server/node_modules/axios/lib/helpers/throttle.js +44 -0
  1017. package/.output/server/node_modules/axios/lib/helpers/toFormData.js +286 -0
  1018. package/.output/server/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
  1019. package/.output/server/node_modules/axios/lib/helpers/trackStream.js +89 -0
  1020. package/.output/server/node_modules/axios/lib/helpers/validator.js +112 -0
  1021. package/.output/server/node_modules/axios/lib/platform/common/utils.js +52 -0
  1022. package/.output/server/node_modules/axios/lib/platform/index.js +7 -0
  1023. package/.output/server/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
  1024. package/.output/server/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
  1025. package/.output/server/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
  1026. package/.output/server/node_modules/axios/lib/platform/node/index.js +37 -0
  1027. package/.output/server/node_modules/axios/lib/utils.js +1029 -0
  1028. package/.output/server/node_modules/axios/package.json +203 -0
  1029. package/.output/server/node_modules/birpc/dist/index.cjs +296 -0
  1030. package/.output/server/node_modules/birpc/package.json +57 -0
  1031. package/.output/server/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  1032. package/.output/server/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  1033. package/.output/server/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  1034. package/.output/server/node_modules/call-bind-apply-helpers/index.js +15 -0
  1035. package/.output/server/node_modules/call-bind-apply-helpers/package.json +85 -0
  1036. package/.output/server/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  1037. package/.output/server/node_modules/case-anything/dist/core.js +242 -0
  1038. package/.output/server/node_modules/case-anything/dist/index.js +1 -0
  1039. package/.output/server/node_modules/case-anything/dist/utils.js +90 -0
  1040. package/.output/server/node_modules/case-anything/package.json +61 -0
  1041. package/.output/server/node_modules/combined-stream/lib/combined_stream.js +208 -0
  1042. package/.output/server/node_modules/combined-stream/package.json +25 -0
  1043. package/.output/server/node_modules/content-type/index.js +225 -0
  1044. package/.output/server/node_modules/content-type/package.json +42 -0
  1045. package/.output/server/node_modules/debug/package.json +64 -0
  1046. package/.output/server/node_modules/debug/src/browser.js +272 -0
  1047. package/.output/server/node_modules/debug/src/common.js +292 -0
  1048. package/.output/server/node_modules/debug/src/index.js +10 -0
  1049. package/.output/server/node_modules/debug/src/node.js +263 -0
  1050. package/.output/server/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  1051. package/.output/server/node_modules/delayed-stream/package.json +27 -0
  1052. package/.output/server/node_modules/devalue/index.js +17 -0
  1053. package/.output/server/node_modules/devalue/package.json +39 -0
  1054. package/.output/server/node_modules/devalue/src/base64.js +60 -0
  1055. package/.output/server/node_modules/devalue/src/constants.js +12 -0
  1056. package/.output/server/node_modules/devalue/src/operations.js +193 -0
  1057. package/.output/server/node_modules/devalue/src/parse.js +270 -0
  1058. package/.output/server/node_modules/devalue/src/stringify.js +428 -0
  1059. package/.output/server/node_modules/devalue/src/uneval.js +582 -0
  1060. package/.output/server/node_modules/devalue/src/utils.js +185 -0
  1061. package/.output/server/node_modules/dunder-proto/get.js +30 -0
  1062. package/.output/server/node_modules/dunder-proto/package.json +76 -0
  1063. package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  1064. package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
  1065. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
  1066. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
  1067. package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
  1068. package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
  1069. package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
  1070. package/.output/server/node_modules/entities/package.json +120 -0
  1071. package/.output/server/node_modules/es-define-property/index.js +14 -0
  1072. package/.output/server/node_modules/es-define-property/package.json +81 -0
  1073. package/.output/server/node_modules/es-errors/eval.js +4 -0
  1074. package/.output/server/node_modules/es-errors/index.js +4 -0
  1075. package/.output/server/node_modules/es-errors/package.json +80 -0
  1076. package/.output/server/node_modules/es-errors/range.js +4 -0
  1077. package/.output/server/node_modules/es-errors/ref.js +4 -0
  1078. package/.output/server/node_modules/es-errors/syntax.js +4 -0
  1079. package/.output/server/node_modules/es-errors/type.js +4 -0
  1080. package/.output/server/node_modules/es-errors/uri.js +4 -0
  1081. package/.output/server/node_modules/es-object-atoms/index.js +4 -0
  1082. package/.output/server/node_modules/es-object-atoms/package.json +79 -0
  1083. package/.output/server/node_modules/es-set-tostringtag/index.js +35 -0
  1084. package/.output/server/node_modules/es-set-tostringtag/package.json +78 -0
  1085. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  1086. package/.output/server/node_modules/estree-walker/package.json +37 -0
  1087. package/.output/server/node_modules/fast-deep-equal/index.js +46 -0
  1088. package/.output/server/node_modules/fast-deep-equal/package.json +61 -0
  1089. package/.output/server/node_modules/fast-uri/index.js +459 -0
  1090. package/.output/server/node_modules/fast-uri/lib/schemes.js +267 -0
  1091. package/.output/server/node_modules/fast-uri/lib/utils.js +443 -0
  1092. package/.output/server/node_modules/fast-uri/package.json +68 -0
  1093. package/.output/server/node_modules/flattie/dist/index.mjs +25 -0
  1094. package/.output/server/node_modules/flattie/package.json +48 -0
  1095. package/.output/server/node_modules/follow-redirects/debug.js +15 -0
  1096. package/.output/server/node_modules/follow-redirects/index.js +709 -0
  1097. package/.output/server/node_modules/follow-redirects/package.json +58 -0
  1098. package/.output/server/node_modules/form-data/lib/form_data.js +506 -0
  1099. package/.output/server/node_modules/form-data/lib/populate.js +10 -0
  1100. package/.output/server/node_modules/form-data/package.json +82 -0
  1101. package/.output/server/node_modules/function-bind/implementation.js +84 -0
  1102. package/.output/server/node_modules/function-bind/index.js +5 -0
  1103. package/.output/server/node_modules/function-bind/package.json +87 -0
  1104. package/.output/server/node_modules/get-intrinsic/index.js +378 -0
  1105. package/.output/server/node_modules/get-intrinsic/package.json +97 -0
  1106. package/.output/server/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  1107. package/.output/server/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  1108. package/.output/server/node_modules/get-proto/index.js +27 -0
  1109. package/.output/server/node_modules/get-proto/package.json +81 -0
  1110. package/.output/server/node_modules/gopd/gOPD.js +4 -0
  1111. package/.output/server/node_modules/gopd/index.js +15 -0
  1112. package/.output/server/node_modules/gopd/package.json +77 -0
  1113. package/.output/server/node_modules/has-flag/index.js +8 -0
  1114. package/.output/server/node_modules/has-flag/package.json +46 -0
  1115. package/.output/server/node_modules/has-symbols/index.js +14 -0
  1116. package/.output/server/node_modules/has-symbols/package.json +111 -0
  1117. package/.output/server/node_modules/has-symbols/shams.js +45 -0
  1118. package/.output/server/node_modules/has-tostringtag/package.json +108 -0
  1119. package/.output/server/node_modules/has-tostringtag/shams.js +8 -0
  1120. package/.output/server/node_modules/hasown/index.js +8 -0
  1121. package/.output/server/node_modules/hasown/package.json +91 -0
  1122. package/.output/server/node_modules/https-proxy-agent/dist/agent.js +177 -0
  1123. package/.output/server/node_modules/https-proxy-agent/dist/index.js +14 -0
  1124. package/.output/server/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
  1125. package/.output/server/node_modules/https-proxy-agent/package.json +56 -0
  1126. package/.output/server/node_modules/jose/dist/webapi/index.js +32 -0
  1127. package/.output/server/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +9 -0
  1128. package/.output/server/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +27 -0
  1129. package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +11 -0
  1130. package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +72 -0
  1131. package/.output/server/node_modules/jose/dist/webapi/jwe/general/decrypt.js +51 -0
  1132. package/.output/server/node_modules/jose/dist/webapi/jwe/general/encrypt.js +166 -0
  1133. package/.output/server/node_modules/jose/dist/webapi/jwk/embedded.js +19 -0
  1134. package/.output/server/node_modules/jose/dist/webapi/jwk/thumbprint.js +68 -0
  1135. package/.output/server/node_modules/jose/dist/webapi/jwks/local.js +78 -0
  1136. package/.output/server/node_modules/jose/dist/webapi/jwks/remote.js +170 -0
  1137. package/.output/server/node_modules/jose/dist/webapi/jws/compact/sign.js +21 -0
  1138. package/.output/server/node_modules/jose/dist/webapi/jws/compact/verify.js +9 -0
  1139. package/.output/server/node_modules/jose/dist/webapi/jws/flattened/sign.js +31 -0
  1140. package/.output/server/node_modules/jose/dist/webapi/jws/flattened/verify.js +24 -0
  1141. package/.output/server/node_modules/jose/dist/webapi/jws/general/sign.js +74 -0
  1142. package/.output/server/node_modules/jose/dist/webapi/jws/general/verify.js +44 -0
  1143. package/.output/server/node_modules/jose/dist/webapi/jwt/decrypt.js +23 -0
  1144. package/.output/server/node_modules/jose/dist/webapi/jwt/encrypt.js +101 -0
  1145. package/.output/server/node_modules/jose/dist/webapi/jwt/sign.js +51 -0
  1146. package/.output/server/node_modules/jose/dist/webapi/jwt/unsecured.js +64 -0
  1147. package/.output/server/node_modules/jose/dist/webapi/jwt/verify.js +15 -0
  1148. package/.output/server/node_modules/jose/dist/webapi/key/export.js +44 -0
  1149. package/.output/server/node_modules/jose/dist/webapi/key/generate_key_pair.js +48 -0
  1150. package/.output/server/node_modules/jose/dist/webapi/key/generate_secret.js +40 -0
  1151. package/.output/server/node_modules/jose/dist/webapi/key/import.js +57 -0
  1152. package/.output/server/node_modules/jose/dist/webapi/lib/asn1.js +174 -0
  1153. package/.output/server/node_modules/jose/dist/webapi/lib/base64.js +22 -0
  1154. package/.output/server/node_modules/jose/dist/webapi/lib/buffer_utils.js +44 -0
  1155. package/.output/server/node_modules/jose/dist/webapi/lib/content_encryption.js +142 -0
  1156. package/.output/server/node_modules/jose/dist/webapi/lib/crypto_key.js +28 -0
  1157. package/.output/server/node_modules/jose/dist/webapi/lib/deflate.js +44 -0
  1158. package/.output/server/node_modules/jose/dist/webapi/lib/helpers.js +42 -0
  1159. package/.output/server/node_modules/jose/dist/webapi/lib/invalid_key_input.js +26 -0
  1160. package/.output/server/node_modules/jose/dist/webapi/lib/is_key_like.js +17 -0
  1161. package/.output/server/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +107 -0
  1162. package/.output/server/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +186 -0
  1163. package/.output/server/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +110 -0
  1164. package/.output/server/node_modules/jose/dist/webapi/lib/jwk_to_key.js +17 -0
  1165. package/.output/server/node_modules/jose/dist/webapi/lib/jws_algorithms.js +73 -0
  1166. package/.output/server/node_modules/jose/dist/webapi/lib/jws_sign.js +74 -0
  1167. package/.output/server/node_modules/jose/dist/webapi/lib/jws_verify.js +107 -0
  1168. package/.output/server/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +197 -0
  1169. package/.output/server/node_modules/jose/dist/webapi/lib/key.js +132 -0
  1170. package/.output/server/node_modules/jose/dist/webapi/lib/key_algorithm.js +10 -0
  1171. package/.output/server/node_modules/jose/dist/webapi/lib/key_descriptor.js +7 -0
  1172. package/.output/server/node_modules/jose/dist/webapi/lib/key_management.js +256 -0
  1173. package/.output/server/node_modules/jose/dist/webapi/lib/options.js +48 -0
  1174. package/.output/server/node_modules/jose/dist/webapi/lib/signing.js +26 -0
  1175. package/.output/server/node_modules/jose/dist/webapi/lib/type_checks.js +35 -0
  1176. package/.output/server/node_modules/jose/dist/webapi/util/base64url.js +39 -0
  1177. package/.output/server/node_modules/jose/dist/webapi/util/decode_jwt.js +32 -0
  1178. package/.output/server/node_modules/jose/dist/webapi/util/decode_protected_header.js +24 -0
  1179. package/.output/server/node_modules/jose/dist/webapi/util/errors.js +99 -0
  1180. package/.output/server/node_modules/jose/package.json +198 -0
  1181. package/.output/server/node_modules/js-yaml/dist/js-yaml.mjs +3074 -0
  1182. package/.output/server/node_modules/js-yaml/package.json +83 -0
  1183. package/.output/server/node_modules/json-schema-traverse/index.js +93 -0
  1184. package/.output/server/node_modules/json-schema-traverse/package.json +43 -0
  1185. package/.output/server/node_modules/math-intrinsics/abs.js +4 -0
  1186. package/.output/server/node_modules/math-intrinsics/floor.js +4 -0
  1187. package/.output/server/node_modules/math-intrinsics/isNaN.js +6 -0
  1188. package/.output/server/node_modules/math-intrinsics/max.js +4 -0
  1189. package/.output/server/node_modules/math-intrinsics/min.js +4 -0
  1190. package/.output/server/node_modules/math-intrinsics/package.json +86 -0
  1191. package/.output/server/node_modules/math-intrinsics/pow.js +4 -0
  1192. package/.output/server/node_modules/math-intrinsics/round.js +4 -0
  1193. package/.output/server/node_modules/math-intrinsics/sign.js +11 -0
  1194. package/.output/server/node_modules/mime-db/db.json +8519 -0
  1195. package/.output/server/node_modules/mime-db/index.js +12 -0
  1196. package/.output/server/node_modules/mime-db/package.json +60 -0
  1197. package/.output/server/node_modules/mime-types/index.js +188 -0
  1198. package/.output/server/node_modules/mime-types/package.json +44 -0
  1199. package/.output/server/node_modules/ms/index.js +162 -0
  1200. package/.output/server/node_modules/ms/package.json +38 -0
  1201. package/.output/server/node_modules/nostics/dist/formatters/ansi.mjs +19 -0
  1202. package/.output/server/node_modules/nostics/dist/index.mjs +187 -0
  1203. package/.output/server/node_modules/nostics/package.json +125 -0
  1204. package/.output/server/node_modules/oauth4webapi/build/index.js +2506 -0
  1205. package/.output/server/node_modules/oauth4webapi/package.json +105 -0
  1206. package/.output/server/node_modules/openid-client/build/index.js +1357 -0
  1207. package/.output/server/node_modules/openid-client/package.json +122 -0
  1208. package/.output/server/node_modules/perfect-debounce/dist/index.cjs +59 -0
  1209. package/.output/server/node_modules/perfect-debounce/package.json +44 -0
  1210. package/.output/server/node_modules/pinia/dist/pinia.prod.cjs +719 -0
  1211. package/.output/server/node_modules/pinia/package.json +94 -0
  1212. package/.output/server/node_modules/pluralize/package.json +40 -0
  1213. package/.output/server/node_modules/pluralize/pluralize.js +503 -0
  1214. package/.output/server/node_modules/proxy-from-env/index.js +103 -0
  1215. package/.output/server/node_modules/proxy-from-env/package.json +46 -0
  1216. package/.output/server/node_modules/safe-stable-stringify/esm/package.json +4 -0
  1217. package/.output/server/node_modules/safe-stable-stringify/esm/wrapper.js +6 -0
  1218. package/.output/server/node_modules/safe-stable-stringify/index.js +625 -0
  1219. package/.output/server/node_modules/safe-stable-stringify/package.json +65 -0
  1220. package/.output/server/node_modules/secure-json-parse/index.js +161 -0
  1221. package/.output/server/node_modules/secure-json-parse/package.json +74 -0
  1222. package/.output/server/node_modules/slugify/package.json +42 -0
  1223. package/.output/server/node_modules/slugify/slugify.js +69 -0
  1224. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  1225. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  1226. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  1227. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  1228. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  1229. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  1230. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  1231. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  1232. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  1233. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  1234. package/.output/server/node_modules/source-map-js/package.json +71 -0
  1235. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  1236. package/.output/server/node_modules/supports-color/index.js +135 -0
  1237. package/.output/server/node_modules/supports-color/package.json +53 -0
  1238. package/.output/server/node_modules/three/build/three.cjs +80028 -0
  1239. package/.output/server/node_modules/three/build/three.core.js +60007 -0
  1240. package/.output/server/node_modules/three/build/three.module.js +19610 -0
  1241. package/.output/server/node_modules/three/examples/jsm/environments/RoomEnvironment.js +185 -0
  1242. package/.output/server/node_modules/three/examples/jsm/loaders/GLTFLoader.js +4860 -0
  1243. package/.output/server/node_modules/three/examples/jsm/utils/BufferGeometryUtils.js +1501 -0
  1244. package/.output/server/node_modules/three/examples/jsm/utils/SkeletonUtils.js +496 -0
  1245. package/.output/server/node_modules/three/package.json +123 -0
  1246. package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
  1247. package/.output/server/node_modules/ufo/package.json +48 -0
  1248. package/.output/server/node_modules/unhead/dist/client.mjs +22 -0
  1249. package/.output/server/node_modules/unhead/dist/index.mjs +52 -0
  1250. package/.output/server/node_modules/unhead/dist/legacy.mjs +33 -0
  1251. package/.output/server/node_modules/unhead/dist/minify.mjs +172 -0
  1252. package/.output/server/node_modules/unhead/dist/parser.mjs +518 -0
  1253. package/.output/server/node_modules/unhead/dist/plugins.mjs +631 -0
  1254. package/.output/server/node_modules/unhead/dist/scripts.node.mjs +6 -0
  1255. package/.output/server/node_modules/unhead/dist/server.mjs +99 -0
  1256. package/.output/server/node_modules/unhead/dist/shared/unhead.10KEJHqy.mjs +184 -0
  1257. package/.output/server/node_modules/unhead/dist/shared/unhead.BCcw-xUY.mjs +19 -0
  1258. package/.output/server/node_modules/unhead/dist/shared/unhead.BEmVMkeA.mjs +673 -0
  1259. package/.output/server/node_modules/unhead/dist/shared/unhead.BGFxPGPQ.mjs +47 -0
  1260. package/.output/server/node_modules/unhead/dist/shared/unhead.BTzUdyNs.mjs +194 -0
  1261. package/.output/server/node_modules/unhead/dist/shared/unhead.Bb4d5b9h.mjs +67 -0
  1262. package/.output/server/node_modules/unhead/dist/shared/unhead.Bf_fPVYA.mjs +6 -0
  1263. package/.output/server/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs +17 -0
  1264. package/.output/server/node_modules/unhead/dist/shared/unhead.BuspQZgK.mjs +231 -0
  1265. package/.output/server/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs +32 -0
  1266. package/.output/server/node_modules/unhead/dist/shared/unhead.CHEy9ana.mjs +7 -0
  1267. package/.output/server/node_modules/unhead/dist/shared/unhead.CTjuIdzk.mjs +27 -0
  1268. package/.output/server/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs +59 -0
  1269. package/.output/server/node_modules/unhead/dist/shared/unhead.DNKiVLV7.mjs +400 -0
  1270. package/.output/server/node_modules/unhead/dist/shared/unhead.JIneUUHd.mjs +264 -0
  1271. package/.output/server/node_modules/unhead/dist/shared/unhead.q9F_9EzH.mjs +588 -0
  1272. package/.output/server/node_modules/unhead/dist/shared/unhead.sGLr_XKf.mjs +201 -0
  1273. package/.output/server/node_modules/unhead/dist/stream/client.mjs +28 -0
  1274. package/.output/server/node_modules/unhead/dist/stream/iife.mjs +2 -0
  1275. package/.output/server/node_modules/unhead/dist/stream/server.mjs +264 -0
  1276. package/.output/server/node_modules/unhead/dist/utils.mjs +7 -0
  1277. package/.output/server/node_modules/unhead/package.json +179 -0
  1278. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  1279. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  1280. package/.output/server/node_modules/vue/index.js +7 -0
  1281. package/.output/server/node_modules/vue/index.mjs +1 -0
  1282. package/.output/server/node_modules/vue/package.json +112 -0
  1283. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  1284. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +278 -0
  1285. package/.output/server/node_modules/vue-bundle-renderer/package.json +54 -0
  1286. package/.output/server/node_modules/vue-router/dist/devtools-EWN81iOl.mjs +1220 -0
  1287. package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1557 -0
  1288. package/.output/server/node_modules/vue-router/package.json +153 -0
  1289. package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
  1290. package/.output/server/node_modules/zod/index.js +4 -0
  1291. package/.output/server/node_modules/zod/package.json +118 -0
  1292. package/.output/server/node_modules/zod/v3/ZodError.js +133 -0
  1293. package/.output/server/node_modules/zod/v3/errors.js +9 -0
  1294. package/.output/server/node_modules/zod/v3/external.js +6 -0
  1295. package/.output/server/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  1296. package/.output/server/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  1297. package/.output/server/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  1298. package/.output/server/node_modules/zod/v3/helpers/util.js +133 -0
  1299. package/.output/server/node_modules/zod/v3/index.js +4 -0
  1300. package/.output/server/node_modules/zod/v3/locales/en.js +109 -0
  1301. package/.output/server/node_modules/zod/v3/types.js +3693 -0
  1302. package/.output/server/node_modules/zod/v4/classic/checks.js +1 -0
  1303. package/.output/server/node_modules/zod/v4/classic/coerce.js +17 -0
  1304. package/.output/server/node_modules/zod/v4/classic/compat.js +27 -0
  1305. package/.output/server/node_modules/zod/v4/classic/errors.js +41 -0
  1306. package/.output/server/node_modules/zod/v4/classic/external.js +18 -0
  1307. package/.output/server/node_modules/zod/v4/classic/index.js +4 -0
  1308. package/.output/server/node_modules/zod/v4/classic/iso.js +30 -0
  1309. package/.output/server/node_modules/zod/v4/classic/parse.js +6 -0
  1310. package/.output/server/node_modules/zod/v4/classic/schemas.js +1006 -0
  1311. package/.output/server/node_modules/zod/v4/core/api.js +906 -0
  1312. package/.output/server/node_modules/zod/v4/core/checks.js +565 -0
  1313. package/.output/server/node_modules/zod/v4/core/core.js +61 -0
  1314. package/.output/server/node_modules/zod/v4/core/doc.js +35 -0
  1315. package/.output/server/node_modules/zod/v4/core/errors.js +195 -0
  1316. package/.output/server/node_modules/zod/v4/core/function.js +75 -0
  1317. package/.output/server/node_modules/zod/v4/core/index.js +15 -0
  1318. package/.output/server/node_modules/zod/v4/core/json-schema.js +1 -0
  1319. package/.output/server/node_modules/zod/v4/core/parse.js +57 -0
  1320. package/.output/server/node_modules/zod/v4/core/regexes.js +95 -0
  1321. package/.output/server/node_modules/zod/v4/core/registries.js +51 -0
  1322. package/.output/server/node_modules/zod/v4/core/schemas.js +1717 -0
  1323. package/.output/server/node_modules/zod/v4/core/to-json-schema.js +849 -0
  1324. package/.output/server/node_modules/zod/v4/core/util.js +493 -0
  1325. package/.output/server/node_modules/zod/v4/core/versions.js +5 -0
  1326. package/.output/server/node_modules/zod/v4/index.js +3 -0
  1327. package/.output/server/node_modules/zod/v4/locales/ar.js +116 -0
  1328. package/.output/server/node_modules/zod/v4/locales/az.js +115 -0
  1329. package/.output/server/node_modules/zod/v4/locales/be.js +164 -0
  1330. package/.output/server/node_modules/zod/v4/locales/ca.js +118 -0
  1331. package/.output/server/node_modules/zod/v4/locales/cs.js +135 -0
  1332. package/.output/server/node_modules/zod/v4/locales/de.js +116 -0
  1333. package/.output/server/node_modules/zod/v4/locales/en.js +117 -0
  1334. package/.output/server/node_modules/zod/v4/locales/eo.js +116 -0
  1335. package/.output/server/node_modules/zod/v4/locales/es.js +117 -0
  1336. package/.output/server/node_modules/zod/v4/locales/fa.js +122 -0
  1337. package/.output/server/node_modules/zod/v4/locales/fi.js +122 -0
  1338. package/.output/server/node_modules/zod/v4/locales/fr-CA.js +117 -0
  1339. package/.output/server/node_modules/zod/v4/locales/fr.js +116 -0
  1340. package/.output/server/node_modules/zod/v4/locales/he.js +117 -0
  1341. package/.output/server/node_modules/zod/v4/locales/hu.js +117 -0
  1342. package/.output/server/node_modules/zod/v4/locales/id.js +116 -0
  1343. package/.output/server/node_modules/zod/v4/locales/index.js +39 -0
  1344. package/.output/server/node_modules/zod/v4/locales/it.js +117 -0
  1345. package/.output/server/node_modules/zod/v4/locales/ja.js +115 -0
  1346. package/.output/server/node_modules/zod/v4/locales/kh.js +117 -0
  1347. package/.output/server/node_modules/zod/v4/locales/ko.js +121 -0
  1348. package/.output/server/node_modules/zod/v4/locales/mk.js +118 -0
  1349. package/.output/server/node_modules/zod/v4/locales/ms.js +116 -0
  1350. package/.output/server/node_modules/zod/v4/locales/nl.js +117 -0
  1351. package/.output/server/node_modules/zod/v4/locales/no.js +116 -0
  1352. package/.output/server/node_modules/zod/v4/locales/ota.js +117 -0
  1353. package/.output/server/node_modules/zod/v4/locales/pl.js +117 -0
  1354. package/.output/server/node_modules/zod/v4/locales/ps.js +122 -0
  1355. package/.output/server/node_modules/zod/v4/locales/pt.js +116 -0
  1356. package/.output/server/node_modules/zod/v4/locales/ru.js +164 -0
  1357. package/.output/server/node_modules/zod/v4/locales/sl.js +117 -0
  1358. package/.output/server/node_modules/zod/v4/locales/sv.js +118 -0
  1359. package/.output/server/node_modules/zod/v4/locales/ta.js +117 -0
  1360. package/.output/server/node_modules/zod/v4/locales/th.js +117 -0
  1361. package/.output/server/node_modules/zod/v4/locales/tr.js +115 -0
  1362. package/.output/server/node_modules/zod/v4/locales/ua.js +117 -0
  1363. package/.output/server/node_modules/zod/v4/locales/ur.js +117 -0
  1364. package/.output/server/node_modules/zod/v4/locales/vi.js +116 -0
  1365. package/.output/server/node_modules/zod/v4/locales/zh-CN.js +116 -0
  1366. package/.output/server/node_modules/zod/v4/locales/zh-TW.js +117 -0
  1367. package/.output/server/node_modules/zod/v4/mini/checks.js +1 -0
  1368. package/.output/server/node_modules/zod/v4/mini/coerce.js +17 -0
  1369. package/.output/server/node_modules/zod/v4/mini/external.js +13 -0
  1370. package/.output/server/node_modules/zod/v4/mini/index.js +3 -0
  1371. package/.output/server/node_modules/zod/v4/mini/iso.js +30 -0
  1372. package/.output/server/node_modules/zod/v4/mini/parse.js +1 -0
  1373. package/.output/server/node_modules/zod/v4/mini/schemas.js +732 -0
  1374. package/.output/server/node_modules/zod/v4-mini/index.js +1 -0
  1375. package/.output/server/node_modules/zod-to-json-schema/dist/esm/Options.js +46 -0
  1376. package/.output/server/node_modules/zod-to-json-schema/dist/esm/Refs.js +22 -0
  1377. package/.output/server/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +14 -0
  1378. package/.output/server/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js +8 -0
  1379. package/.output/server/node_modules/zod-to-json-schema/dist/esm/index.js +40 -0
  1380. package/.output/server/node_modules/zod-to-json-schema/dist/esm/package.json +1 -0
  1381. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parseDef.js +62 -0
  1382. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parseTypes.js +1 -0
  1383. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +17 -0
  1384. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +26 -0
  1385. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +49 -0
  1386. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +5 -0
  1387. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +4 -0
  1388. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +4 -0
  1389. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +46 -0
  1390. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +7 -0
  1391. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +7 -0
  1392. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +6 -0
  1393. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +52 -0
  1394. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +21 -0
  1395. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +26 -0
  1396. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +16 -0
  1397. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +11 -0
  1398. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +10 -0
  1399. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +33 -0
  1400. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +52 -0
  1401. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +72 -0
  1402. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +21 -0
  1403. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +20 -0
  1404. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +4 -0
  1405. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +4 -0
  1406. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +61 -0
  1407. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +20 -0
  1408. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +352 -0
  1409. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +32 -0
  1410. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +6 -0
  1411. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +80 -0
  1412. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +4 -0
  1413. package/.output/server/node_modules/zod-to-json-schema/dist/esm/selectParser.js +105 -0
  1414. package/.output/server/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +87 -0
  1415. package/.output/server/node_modules/zod-to-json-schema/package.json +85 -0
  1416. package/.output/server/package.json +93 -0
  1417. package/cli/core/context.mjs +8 -4
  1418. package/package.json +2 -1
  1419. package/scripts/_dbg-full-feature-e2e.mjs +1 -1
  1420. package/server/data/daqs.json +75 -75
  1421. package/server/data/dcw-lines.json +14 -0
  1422. package/server/data/dcw-products.json +14 -0
  1423. package/server/data/dcw-rollback.json +222 -1
  1424. package/server/data/dcw-runs.json +54 -36
  1425. package/server/data/dcw-writes.json +96 -0
  1426. package/server/data/dcws.json +42 -0
  1427. package/server/data/line-runs.json +22 -22
  1428. package/server/services/workshop/agents/node-bindings.repo.ts +2 -2
  1429. package/shared/config/home.mjs +60 -15
@@ -0,0 +1,1107 @@
1
+ import { safeParse } from '../server/zod-compat.js';
2
+ import { CancelledNotificationSchema, CreateTaskResultSchema, ErrorCode, GetTaskRequestSchema, GetTaskResultSchema, GetTaskPayloadRequestSchema, ListTasksRequestSchema, ListTasksResultSchema, CancelTaskRequestSchema, CancelTaskResultSchema, isJSONRPCErrorResponse, isJSONRPCRequest, isJSONRPCResultResponse, isJSONRPCNotification, McpError, PingRequestSchema, ProgressNotificationSchema, RELATED_TASK_META_KEY, TaskStatusNotificationSchema, isTaskAugmentedRequestParams } from '../types.js';
3
+ import { isTerminal } from '../experimental/tasks/interfaces.js';
4
+ import { getMethodLiteral, parseWithCompat } from '../server/zod-json-schema-compat.js';
5
+ /**
6
+ * The default request timeout, in miliseconds.
7
+ */
8
+ export const DEFAULT_REQUEST_TIMEOUT_MSEC = 60000;
9
+ /**
10
+ * Implements MCP protocol framing on top of a pluggable transport, including
11
+ * features like request/response linking, notifications, and progress.
12
+ */
13
+ export class Protocol {
14
+ constructor(_options) {
15
+ this._options = _options;
16
+ this._requestMessageId = 0;
17
+ this._requestHandlers = new Map();
18
+ this._requestHandlerAbortControllers = new Map();
19
+ this._notificationHandlers = new Map();
20
+ this._responseHandlers = new Map();
21
+ this._progressHandlers = new Map();
22
+ this._timeoutInfo = new Map();
23
+ this._pendingDebouncedNotifications = new Set();
24
+ // Maps task IDs to progress tokens to keep handlers alive after CreateTaskResult
25
+ this._taskProgressTokens = new Map();
26
+ this._requestResolvers = new Map();
27
+ this.setNotificationHandler(CancelledNotificationSchema, notification => {
28
+ this._oncancel(notification);
29
+ });
30
+ this.setNotificationHandler(ProgressNotificationSchema, notification => {
31
+ this._onprogress(notification);
32
+ });
33
+ this.setRequestHandler(PingRequestSchema,
34
+ // Automatic pong by default.
35
+ _request => ({}));
36
+ // Install task handlers if TaskStore is provided
37
+ this._taskStore = _options?.taskStore;
38
+ this._taskMessageQueue = _options?.taskMessageQueue;
39
+ if (this._taskStore) {
40
+ this.setRequestHandler(GetTaskRequestSchema, async (request, extra) => {
41
+ const task = await this._taskStore.getTask(request.params.taskId, extra.sessionId);
42
+ if (!task) {
43
+ throw new McpError(ErrorCode.InvalidParams, 'Failed to retrieve task: Task not found');
44
+ }
45
+ // Per spec: tasks/get responses SHALL NOT include related-task metadata
46
+ // as the taskId parameter is the source of truth
47
+ // @ts-expect-error SendResultT cannot contain GetTaskResult, but we include it in our derived types everywhere else
48
+ return {
49
+ ...task
50
+ };
51
+ });
52
+ this.setRequestHandler(GetTaskPayloadRequestSchema, async (request, extra) => {
53
+ const handleTaskResult = async () => {
54
+ const taskId = request.params.taskId;
55
+ // Deliver queued messages
56
+ if (this._taskMessageQueue) {
57
+ let queuedMessage;
58
+ while ((queuedMessage = await this._taskMessageQueue.dequeue(taskId, extra.sessionId))) {
59
+ // Handle response and error messages by routing them to the appropriate resolver
60
+ if (queuedMessage.type === 'response' || queuedMessage.type === 'error') {
61
+ const message = queuedMessage.message;
62
+ const requestId = message.id;
63
+ // Lookup resolver in _requestResolvers map
64
+ const resolver = this._requestResolvers.get(requestId);
65
+ if (resolver) {
66
+ // Remove resolver from map after invocation
67
+ this._requestResolvers.delete(requestId);
68
+ // Invoke resolver with response or error
69
+ if (queuedMessage.type === 'response') {
70
+ resolver(message);
71
+ }
72
+ else {
73
+ // Convert JSONRPCError to McpError
74
+ const errorMessage = message;
75
+ const error = new McpError(errorMessage.error.code, errorMessage.error.message, errorMessage.error.data);
76
+ resolver(error);
77
+ }
78
+ }
79
+ else {
80
+ // Handle missing resolver gracefully with error logging
81
+ const messageType = queuedMessage.type === 'response' ? 'Response' : 'Error';
82
+ this._onerror(new Error(`${messageType} handler missing for request ${requestId}`));
83
+ }
84
+ // Continue to next message
85
+ continue;
86
+ }
87
+ // Send the message on the response stream by passing the relatedRequestId
88
+ // This tells the transport to write the message to the tasks/result response stream
89
+ await this._transport?.send(queuedMessage.message, { relatedRequestId: extra.requestId });
90
+ }
91
+ }
92
+ // Now check task status
93
+ const task = await this._taskStore.getTask(taskId, extra.sessionId);
94
+ if (!task) {
95
+ throw new McpError(ErrorCode.InvalidParams, `Task not found: ${taskId}`);
96
+ }
97
+ // Block if task is not terminal (we've already delivered all queued messages above)
98
+ if (!isTerminal(task.status)) {
99
+ // Wait for status change or new messages
100
+ await this._waitForTaskUpdate(taskId, extra.signal);
101
+ // After waking up, recursively call to deliver any new messages or result
102
+ return await handleTaskResult();
103
+ }
104
+ // If task is terminal, return the result
105
+ if (isTerminal(task.status)) {
106
+ const result = await this._taskStore.getTaskResult(taskId, extra.sessionId);
107
+ this._clearTaskQueue(taskId);
108
+ return {
109
+ ...result,
110
+ _meta: {
111
+ ...result._meta,
112
+ [RELATED_TASK_META_KEY]: {
113
+ taskId: taskId
114
+ }
115
+ }
116
+ };
117
+ }
118
+ return await handleTaskResult();
119
+ };
120
+ return await handleTaskResult();
121
+ });
122
+ this.setRequestHandler(ListTasksRequestSchema, async (request, extra) => {
123
+ try {
124
+ const { tasks, nextCursor } = await this._taskStore.listTasks(request.params?.cursor, extra.sessionId);
125
+ // @ts-expect-error SendResultT cannot contain ListTasksResult, but we include it in our derived types everywhere else
126
+ return {
127
+ tasks,
128
+ nextCursor,
129
+ _meta: {}
130
+ };
131
+ }
132
+ catch (error) {
133
+ throw new McpError(ErrorCode.InvalidParams, `Failed to list tasks: ${error instanceof Error ? error.message : String(error)}`);
134
+ }
135
+ });
136
+ this.setRequestHandler(CancelTaskRequestSchema, async (request, extra) => {
137
+ try {
138
+ // Get the current task to check if it's in a terminal state, in case the implementation is not atomic
139
+ const task = await this._taskStore.getTask(request.params.taskId, extra.sessionId);
140
+ if (!task) {
141
+ throw new McpError(ErrorCode.InvalidParams, `Task not found: ${request.params.taskId}`);
142
+ }
143
+ // Reject cancellation of terminal tasks
144
+ if (isTerminal(task.status)) {
145
+ throw new McpError(ErrorCode.InvalidParams, `Cannot cancel task in terminal status: ${task.status}`);
146
+ }
147
+ await this._taskStore.updateTaskStatus(request.params.taskId, 'cancelled', 'Client cancelled task execution.', extra.sessionId);
148
+ this._clearTaskQueue(request.params.taskId);
149
+ const cancelledTask = await this._taskStore.getTask(request.params.taskId, extra.sessionId);
150
+ if (!cancelledTask) {
151
+ // Task was deleted during cancellation (e.g., cleanup happened)
152
+ throw new McpError(ErrorCode.InvalidParams, `Task not found after cancellation: ${request.params.taskId}`);
153
+ }
154
+ return {
155
+ _meta: {},
156
+ ...cancelledTask
157
+ };
158
+ }
159
+ catch (error) {
160
+ // Re-throw McpError as-is
161
+ if (error instanceof McpError) {
162
+ throw error;
163
+ }
164
+ throw new McpError(ErrorCode.InvalidRequest, `Failed to cancel task: ${error instanceof Error ? error.message : String(error)}`);
165
+ }
166
+ });
167
+ }
168
+ }
169
+ async _oncancel(notification) {
170
+ if (!notification.params.requestId) {
171
+ return;
172
+ }
173
+ // Handle request cancellation
174
+ const controller = this._requestHandlerAbortControllers.get(notification.params.requestId);
175
+ controller?.abort(notification.params.reason);
176
+ }
177
+ _setupTimeout(messageId, timeout, maxTotalTimeout, onTimeout, resetTimeoutOnProgress = false) {
178
+ this._timeoutInfo.set(messageId, {
179
+ timeoutId: setTimeout(onTimeout, timeout),
180
+ startTime: Date.now(),
181
+ timeout,
182
+ maxTotalTimeout,
183
+ resetTimeoutOnProgress,
184
+ onTimeout
185
+ });
186
+ }
187
+ _resetTimeout(messageId) {
188
+ const info = this._timeoutInfo.get(messageId);
189
+ if (!info)
190
+ return false;
191
+ const totalElapsed = Date.now() - info.startTime;
192
+ if (info.maxTotalTimeout && totalElapsed >= info.maxTotalTimeout) {
193
+ this._timeoutInfo.delete(messageId);
194
+ throw McpError.fromError(ErrorCode.RequestTimeout, 'Maximum total timeout exceeded', {
195
+ maxTotalTimeout: info.maxTotalTimeout,
196
+ totalElapsed
197
+ });
198
+ }
199
+ clearTimeout(info.timeoutId);
200
+ info.timeoutId = setTimeout(info.onTimeout, info.timeout);
201
+ return true;
202
+ }
203
+ _cleanupTimeout(messageId) {
204
+ const info = this._timeoutInfo.get(messageId);
205
+ if (info) {
206
+ clearTimeout(info.timeoutId);
207
+ this._timeoutInfo.delete(messageId);
208
+ }
209
+ }
210
+ /**
211
+ * Attaches to the given transport, starts it, and starts listening for messages.
212
+ *
213
+ * The Protocol object assumes ownership of the Transport, replacing any callbacks that have already been set, and expects that it is the only user of the Transport instance going forward.
214
+ */
215
+ async connect(transport) {
216
+ if (this._transport) {
217
+ throw new Error('Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.');
218
+ }
219
+ this._transport = transport;
220
+ const _onclose = this.transport?.onclose;
221
+ this._transport.onclose = () => {
222
+ _onclose?.();
223
+ this._onclose();
224
+ };
225
+ const _onerror = this.transport?.onerror;
226
+ this._transport.onerror = (error) => {
227
+ _onerror?.(error);
228
+ this._onerror(error);
229
+ };
230
+ const _onmessage = this._transport?.onmessage;
231
+ this._transport.onmessage = (message, extra) => {
232
+ _onmessage?.(message, extra);
233
+ if (isJSONRPCResultResponse(message) || isJSONRPCErrorResponse(message)) {
234
+ this._onresponse(message);
235
+ }
236
+ else if (isJSONRPCRequest(message)) {
237
+ this._onrequest(message, extra);
238
+ }
239
+ else if (isJSONRPCNotification(message)) {
240
+ this._onnotification(message);
241
+ }
242
+ else {
243
+ this._onerror(new Error(`Unknown message type: ${JSON.stringify(message)}`));
244
+ }
245
+ };
246
+ await this._transport.start();
247
+ }
248
+ _onclose() {
249
+ const responseHandlers = this._responseHandlers;
250
+ this._responseHandlers = new Map();
251
+ this._progressHandlers.clear();
252
+ this._taskProgressTokens.clear();
253
+ this._pendingDebouncedNotifications.clear();
254
+ for (const info of this._timeoutInfo.values()) {
255
+ clearTimeout(info.timeoutId);
256
+ }
257
+ this._timeoutInfo.clear();
258
+ // Abort all in-flight request handlers so they stop sending messages
259
+ for (const controller of this._requestHandlerAbortControllers.values()) {
260
+ controller.abort();
261
+ }
262
+ this._requestHandlerAbortControllers.clear();
263
+ const error = McpError.fromError(ErrorCode.ConnectionClosed, 'Connection closed');
264
+ this._transport = undefined;
265
+ this.onclose?.();
266
+ for (const handler of responseHandlers.values()) {
267
+ handler(error);
268
+ }
269
+ }
270
+ _onerror(error) {
271
+ this.onerror?.(error);
272
+ }
273
+ _onnotification(notification) {
274
+ const handler = this._notificationHandlers.get(notification.method) ?? this.fallbackNotificationHandler;
275
+ // Ignore notifications not being subscribed to.
276
+ if (handler === undefined) {
277
+ return;
278
+ }
279
+ // Starting with Promise.resolve() puts any synchronous errors into the monad as well.
280
+ Promise.resolve()
281
+ .then(() => handler(notification))
282
+ .catch(error => this._onerror(new Error(`Uncaught error in notification handler: ${error}`)));
283
+ }
284
+ _onrequest(request, extra) {
285
+ const handler = this._requestHandlers.get(request.method) ?? this.fallbackRequestHandler;
286
+ // Capture the current transport at request time to ensure responses go to the correct client
287
+ const capturedTransport = this._transport;
288
+ // Extract taskId from request metadata if present (needed early for method not found case)
289
+ const relatedTaskId = request.params?._meta?.[RELATED_TASK_META_KEY]?.taskId;
290
+ if (handler === undefined) {
291
+ const errorResponse = {
292
+ jsonrpc: '2.0',
293
+ id: request.id,
294
+ error: {
295
+ code: ErrorCode.MethodNotFound,
296
+ message: 'Method not found'
297
+ }
298
+ };
299
+ // Queue or send the error response based on whether this is a task-related request
300
+ if (relatedTaskId && this._taskMessageQueue) {
301
+ this._enqueueTaskMessage(relatedTaskId, {
302
+ type: 'error',
303
+ message: errorResponse,
304
+ timestamp: Date.now()
305
+ }, capturedTransport?.sessionId).catch(error => this._onerror(new Error(`Failed to enqueue error response: ${error}`)));
306
+ }
307
+ else {
308
+ capturedTransport
309
+ ?.send(errorResponse)
310
+ .catch(error => this._onerror(new Error(`Failed to send an error response: ${error}`)));
311
+ }
312
+ return;
313
+ }
314
+ const abortController = new AbortController();
315
+ this._requestHandlerAbortControllers.set(request.id, abortController);
316
+ const taskCreationParams = isTaskAugmentedRequestParams(request.params) ? request.params.task : undefined;
317
+ const taskStore = this._taskStore ? this.requestTaskStore(request, capturedTransport?.sessionId) : undefined;
318
+ const fullExtra = {
319
+ signal: abortController.signal,
320
+ sessionId: capturedTransport?.sessionId,
321
+ _meta: request.params?._meta,
322
+ sendNotification: async (notification) => {
323
+ if (abortController.signal.aborted)
324
+ return;
325
+ // Include related-task metadata if this request is part of a task
326
+ const notificationOptions = { relatedRequestId: request.id };
327
+ if (relatedTaskId) {
328
+ notificationOptions.relatedTask = { taskId: relatedTaskId };
329
+ }
330
+ await this.notification(notification, notificationOptions);
331
+ },
332
+ sendRequest: async (r, resultSchema, options) => {
333
+ if (abortController.signal.aborted) {
334
+ throw new McpError(ErrorCode.ConnectionClosed, 'Request was cancelled');
335
+ }
336
+ // Include related-task metadata if this request is part of a task
337
+ const requestOptions = { ...options, relatedRequestId: request.id };
338
+ if (relatedTaskId && !requestOptions.relatedTask) {
339
+ requestOptions.relatedTask = { taskId: relatedTaskId };
340
+ }
341
+ // Set task status to input_required when sending a request within a task context
342
+ // Use the taskId from options (explicit) or fall back to relatedTaskId (inherited)
343
+ const effectiveTaskId = requestOptions.relatedTask?.taskId ?? relatedTaskId;
344
+ if (effectiveTaskId && taskStore) {
345
+ await taskStore.updateTaskStatus(effectiveTaskId, 'input_required');
346
+ }
347
+ return await this.request(r, resultSchema, requestOptions);
348
+ },
349
+ authInfo: extra?.authInfo,
350
+ requestId: request.id,
351
+ requestInfo: extra?.requestInfo,
352
+ taskId: relatedTaskId,
353
+ taskStore: taskStore,
354
+ taskRequestedTtl: taskCreationParams?.ttl,
355
+ closeSSEStream: extra?.closeSSEStream,
356
+ closeStandaloneSSEStream: extra?.closeStandaloneSSEStream
357
+ };
358
+ // Starting with Promise.resolve() puts any synchronous errors into the monad as well.
359
+ Promise.resolve()
360
+ .then(() => {
361
+ // If this request asked for task creation, check capability first
362
+ if (taskCreationParams) {
363
+ // Check if the request method supports task creation
364
+ this.assertTaskHandlerCapability(request.method);
365
+ }
366
+ })
367
+ .then(() => handler(request, fullExtra))
368
+ .then(async (result) => {
369
+ if (abortController.signal.aborted) {
370
+ // Request was cancelled
371
+ return;
372
+ }
373
+ const response = {
374
+ result,
375
+ jsonrpc: '2.0',
376
+ id: request.id
377
+ };
378
+ // Queue or send the response based on whether this is a task-related request
379
+ if (relatedTaskId && this._taskMessageQueue) {
380
+ await this._enqueueTaskMessage(relatedTaskId, {
381
+ type: 'response',
382
+ message: response,
383
+ timestamp: Date.now()
384
+ }, capturedTransport?.sessionId);
385
+ }
386
+ else {
387
+ await capturedTransport?.send(response);
388
+ }
389
+ }, async (error) => {
390
+ if (abortController.signal.aborted) {
391
+ // Request was cancelled
392
+ return;
393
+ }
394
+ const errorResponse = {
395
+ jsonrpc: '2.0',
396
+ id: request.id,
397
+ error: {
398
+ code: Number.isSafeInteger(error['code']) ? error['code'] : ErrorCode.InternalError,
399
+ message: error.message ?? 'Internal error',
400
+ ...(error['data'] !== undefined && { data: error['data'] })
401
+ }
402
+ };
403
+ // Queue or send the error response based on whether this is a task-related request
404
+ if (relatedTaskId && this._taskMessageQueue) {
405
+ await this._enqueueTaskMessage(relatedTaskId, {
406
+ type: 'error',
407
+ message: errorResponse,
408
+ timestamp: Date.now()
409
+ }, capturedTransport?.sessionId);
410
+ }
411
+ else {
412
+ await capturedTransport?.send(errorResponse);
413
+ }
414
+ })
415
+ .catch(error => this._onerror(new Error(`Failed to send response: ${error}`)))
416
+ .finally(() => {
417
+ // Only delete if the stored controller is still ours; after close()+connect(),
418
+ // a new connection may have reused the same request ID with a different controller.
419
+ if (this._requestHandlerAbortControllers.get(request.id) === abortController) {
420
+ this._requestHandlerAbortControllers.delete(request.id);
421
+ }
422
+ });
423
+ }
424
+ _onprogress(notification) {
425
+ const { progressToken, ...params } = notification.params;
426
+ const messageId = Number(progressToken);
427
+ const handler = this._progressHandlers.get(messageId);
428
+ if (!handler) {
429
+ this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(notification)}`));
430
+ return;
431
+ }
432
+ const responseHandler = this._responseHandlers.get(messageId);
433
+ const timeoutInfo = this._timeoutInfo.get(messageId);
434
+ if (timeoutInfo && responseHandler && timeoutInfo.resetTimeoutOnProgress) {
435
+ try {
436
+ this._resetTimeout(messageId);
437
+ }
438
+ catch (error) {
439
+ // Clean up if maxTotalTimeout was exceeded
440
+ this._responseHandlers.delete(messageId);
441
+ this._progressHandlers.delete(messageId);
442
+ this._cleanupTimeout(messageId);
443
+ responseHandler(error);
444
+ return;
445
+ }
446
+ }
447
+ handler(params);
448
+ }
449
+ _onresponse(response) {
450
+ const messageId = Number(response.id);
451
+ // Check if this is a response to a queued request
452
+ const resolver = this._requestResolvers.get(messageId);
453
+ if (resolver) {
454
+ this._requestResolvers.delete(messageId);
455
+ if (isJSONRPCResultResponse(response)) {
456
+ resolver(response);
457
+ }
458
+ else {
459
+ const error = new McpError(response.error.code, response.error.message, response.error.data);
460
+ resolver(error);
461
+ }
462
+ return;
463
+ }
464
+ const handler = this._responseHandlers.get(messageId);
465
+ if (handler === undefined) {
466
+ this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(response)}`));
467
+ return;
468
+ }
469
+ this._responseHandlers.delete(messageId);
470
+ this._cleanupTimeout(messageId);
471
+ // Keep progress handler alive for CreateTaskResult responses
472
+ let isTaskResponse = false;
473
+ if (isJSONRPCResultResponse(response) && response.result && typeof response.result === 'object') {
474
+ const result = response.result;
475
+ if (result.task && typeof result.task === 'object') {
476
+ const task = result.task;
477
+ if (typeof task.taskId === 'string') {
478
+ isTaskResponse = true;
479
+ this._taskProgressTokens.set(task.taskId, messageId);
480
+ }
481
+ }
482
+ }
483
+ if (!isTaskResponse) {
484
+ this._progressHandlers.delete(messageId);
485
+ }
486
+ if (isJSONRPCResultResponse(response)) {
487
+ handler(response);
488
+ }
489
+ else {
490
+ const error = McpError.fromError(response.error.code, response.error.message, response.error.data);
491
+ handler(error);
492
+ }
493
+ }
494
+ get transport() {
495
+ return this._transport;
496
+ }
497
+ /**
498
+ * Closes the connection.
499
+ */
500
+ async close() {
501
+ await this._transport?.close();
502
+ }
503
+ /**
504
+ * Sends a request and returns an AsyncGenerator that yields response messages.
505
+ * The generator is guaranteed to end with either a 'result' or 'error' message.
506
+ *
507
+ * @example
508
+ * ```typescript
509
+ * const stream = protocol.requestStream(request, resultSchema, options);
510
+ * for await (const message of stream) {
511
+ * switch (message.type) {
512
+ * case 'taskCreated':
513
+ * console.log('Task created:', message.task.taskId);
514
+ * break;
515
+ * case 'taskStatus':
516
+ * console.log('Task status:', message.task.status);
517
+ * break;
518
+ * case 'result':
519
+ * console.log('Final result:', message.result);
520
+ * break;
521
+ * case 'error':
522
+ * console.error('Error:', message.error);
523
+ * break;
524
+ * }
525
+ * }
526
+ * ```
527
+ *
528
+ * @experimental Use `client.experimental.tasks.requestStream()` to access this method.
529
+ */
530
+ async *requestStream(request, resultSchema, options) {
531
+ const { task } = options ?? {};
532
+ // For non-task requests, just yield the result
533
+ if (!task) {
534
+ try {
535
+ const result = await this.request(request, resultSchema, options);
536
+ yield { type: 'result', result };
537
+ }
538
+ catch (error) {
539
+ yield {
540
+ type: 'error',
541
+ error: error instanceof McpError ? error : new McpError(ErrorCode.InternalError, String(error))
542
+ };
543
+ }
544
+ return;
545
+ }
546
+ // For task-augmented requests, we need to poll for status
547
+ // First, make the request to create the task
548
+ let taskId;
549
+ try {
550
+ // Send the request and get the CreateTaskResult
551
+ const createResult = await this.request(request, CreateTaskResultSchema, options);
552
+ // Extract taskId from the result
553
+ if (createResult.task) {
554
+ taskId = createResult.task.taskId;
555
+ yield { type: 'taskCreated', task: createResult.task };
556
+ }
557
+ else {
558
+ throw new McpError(ErrorCode.InternalError, 'Task creation did not return a task');
559
+ }
560
+ // Poll for task completion
561
+ while (true) {
562
+ // Get current task status
563
+ const task = await this.getTask({ taskId }, options);
564
+ yield { type: 'taskStatus', task };
565
+ // Check if task is terminal
566
+ if (isTerminal(task.status)) {
567
+ if (task.status === 'completed') {
568
+ // Get the final result
569
+ const result = await this.getTaskResult({ taskId }, resultSchema, options);
570
+ yield { type: 'result', result };
571
+ }
572
+ else if (task.status === 'failed') {
573
+ yield {
574
+ type: 'error',
575
+ error: new McpError(ErrorCode.InternalError, `Task ${taskId} failed`)
576
+ };
577
+ }
578
+ else if (task.status === 'cancelled') {
579
+ yield {
580
+ type: 'error',
581
+ error: new McpError(ErrorCode.InternalError, `Task ${taskId} was cancelled`)
582
+ };
583
+ }
584
+ return;
585
+ }
586
+ // When input_required, call tasks/result to deliver queued messages
587
+ // (elicitation, sampling) via SSE and block until terminal
588
+ if (task.status === 'input_required') {
589
+ const result = await this.getTaskResult({ taskId }, resultSchema, options);
590
+ yield { type: 'result', result };
591
+ return;
592
+ }
593
+ // Wait before polling again
594
+ const pollInterval = task.pollInterval ?? this._options?.defaultTaskPollInterval ?? 1000;
595
+ await new Promise(resolve => setTimeout(resolve, pollInterval));
596
+ // Check if cancelled
597
+ options?.signal?.throwIfAborted();
598
+ }
599
+ }
600
+ catch (error) {
601
+ yield {
602
+ type: 'error',
603
+ error: error instanceof McpError ? error : new McpError(ErrorCode.InternalError, String(error))
604
+ };
605
+ }
606
+ }
607
+ /**
608
+ * Sends a request and waits for a response.
609
+ *
610
+ * Do not use this method to emit notifications! Use notification() instead.
611
+ */
612
+ request(request, resultSchema, options) {
613
+ const { relatedRequestId, resumptionToken, onresumptiontoken, task, relatedTask } = options ?? {};
614
+ // Send the request
615
+ return new Promise((resolve, reject) => {
616
+ const earlyReject = (error) => {
617
+ reject(error);
618
+ };
619
+ if (!this._transport) {
620
+ earlyReject(new Error('Not connected'));
621
+ return;
622
+ }
623
+ if (this._options?.enforceStrictCapabilities === true) {
624
+ try {
625
+ this.assertCapabilityForMethod(request.method);
626
+ // If task creation is requested, also check task capabilities
627
+ if (task) {
628
+ this.assertTaskCapability(request.method);
629
+ }
630
+ }
631
+ catch (e) {
632
+ earlyReject(e);
633
+ return;
634
+ }
635
+ }
636
+ options?.signal?.throwIfAborted();
637
+ const messageId = this._requestMessageId++;
638
+ const jsonrpcRequest = {
639
+ ...request,
640
+ jsonrpc: '2.0',
641
+ id: messageId
642
+ };
643
+ if (options?.onprogress) {
644
+ this._progressHandlers.set(messageId, options.onprogress);
645
+ jsonrpcRequest.params = {
646
+ ...request.params,
647
+ _meta: {
648
+ ...(request.params?._meta || {}),
649
+ progressToken: messageId
650
+ }
651
+ };
652
+ }
653
+ // Augment with task creation parameters if provided
654
+ if (task) {
655
+ jsonrpcRequest.params = {
656
+ ...jsonrpcRequest.params,
657
+ task: task
658
+ };
659
+ }
660
+ // Augment with related task metadata if relatedTask is provided
661
+ if (relatedTask) {
662
+ jsonrpcRequest.params = {
663
+ ...jsonrpcRequest.params,
664
+ _meta: {
665
+ ...(jsonrpcRequest.params?._meta || {}),
666
+ [RELATED_TASK_META_KEY]: relatedTask
667
+ }
668
+ };
669
+ }
670
+ const cancel = (reason) => {
671
+ this._responseHandlers.delete(messageId);
672
+ this._progressHandlers.delete(messageId);
673
+ this._cleanupTimeout(messageId);
674
+ this._transport
675
+ ?.send({
676
+ jsonrpc: '2.0',
677
+ method: 'notifications/cancelled',
678
+ params: {
679
+ requestId: messageId,
680
+ reason: String(reason)
681
+ }
682
+ }, { relatedRequestId, resumptionToken, onresumptiontoken })
683
+ .catch(error => this._onerror(new Error(`Failed to send cancellation: ${error}`)));
684
+ // Wrap the reason in an McpError if it isn't already
685
+ const error = reason instanceof McpError ? reason : new McpError(ErrorCode.RequestTimeout, String(reason));
686
+ reject(error);
687
+ };
688
+ this._responseHandlers.set(messageId, response => {
689
+ if (options?.signal?.aborted) {
690
+ return;
691
+ }
692
+ if (response instanceof Error) {
693
+ return reject(response);
694
+ }
695
+ try {
696
+ const parseResult = safeParse(resultSchema, response.result);
697
+ if (!parseResult.success) {
698
+ // Type guard: if success is false, error is guaranteed to exist
699
+ reject(parseResult.error);
700
+ }
701
+ else {
702
+ resolve(parseResult.data);
703
+ }
704
+ }
705
+ catch (error) {
706
+ reject(error);
707
+ }
708
+ });
709
+ options?.signal?.addEventListener('abort', () => {
710
+ cancel(options?.signal?.reason);
711
+ });
712
+ const timeout = options?.timeout ?? DEFAULT_REQUEST_TIMEOUT_MSEC;
713
+ const timeoutHandler = () => cancel(McpError.fromError(ErrorCode.RequestTimeout, 'Request timed out', { timeout }));
714
+ this._setupTimeout(messageId, timeout, options?.maxTotalTimeout, timeoutHandler, options?.resetTimeoutOnProgress ?? false);
715
+ // Queue request if related to a task
716
+ const relatedTaskId = relatedTask?.taskId;
717
+ if (relatedTaskId) {
718
+ // Store the response resolver for this request so responses can be routed back
719
+ const responseResolver = (response) => {
720
+ const handler = this._responseHandlers.get(messageId);
721
+ if (handler) {
722
+ handler(response);
723
+ }
724
+ else {
725
+ // Log error when resolver is missing, but don't fail
726
+ this._onerror(new Error(`Response handler missing for side-channeled request ${messageId}`));
727
+ }
728
+ };
729
+ this._requestResolvers.set(messageId, responseResolver);
730
+ this._enqueueTaskMessage(relatedTaskId, {
731
+ type: 'request',
732
+ message: jsonrpcRequest,
733
+ timestamp: Date.now()
734
+ }).catch(error => {
735
+ this._cleanupTimeout(messageId);
736
+ reject(error);
737
+ });
738
+ // Don't send through transport - queued messages are delivered via tasks/result only
739
+ // This prevents duplicate delivery for bidirectional transports
740
+ }
741
+ else {
742
+ // No related task - send through transport normally
743
+ this._transport.send(jsonrpcRequest, { relatedRequestId, resumptionToken, onresumptiontoken }).catch(error => {
744
+ this._cleanupTimeout(messageId);
745
+ reject(error);
746
+ });
747
+ }
748
+ });
749
+ }
750
+ /**
751
+ * Gets the current status of a task.
752
+ *
753
+ * @experimental Use `client.experimental.tasks.getTask()` to access this method.
754
+ */
755
+ async getTask(params, options) {
756
+ // @ts-expect-error SendRequestT cannot directly contain GetTaskRequest, but we ensure all type instantiations contain it anyways
757
+ return this.request({ method: 'tasks/get', params }, GetTaskResultSchema, options);
758
+ }
759
+ /**
760
+ * Retrieves the result of a completed task.
761
+ *
762
+ * @experimental Use `client.experimental.tasks.getTaskResult()` to access this method.
763
+ */
764
+ async getTaskResult(params, resultSchema, options) {
765
+ // @ts-expect-error SendRequestT cannot directly contain GetTaskPayloadRequest, but we ensure all type instantiations contain it anyways
766
+ return this.request({ method: 'tasks/result', params }, resultSchema, options);
767
+ }
768
+ /**
769
+ * Lists tasks, optionally starting from a pagination cursor.
770
+ *
771
+ * @experimental Use `client.experimental.tasks.listTasks()` to access this method.
772
+ */
773
+ async listTasks(params, options) {
774
+ // @ts-expect-error SendRequestT cannot directly contain ListTasksRequest, but we ensure all type instantiations contain it anyways
775
+ return this.request({ method: 'tasks/list', params }, ListTasksResultSchema, options);
776
+ }
777
+ /**
778
+ * Cancels a specific task.
779
+ *
780
+ * @experimental Use `client.experimental.tasks.cancelTask()` to access this method.
781
+ */
782
+ async cancelTask(params, options) {
783
+ // @ts-expect-error SendRequestT cannot directly contain CancelTaskRequest, but we ensure all type instantiations contain it anyways
784
+ return this.request({ method: 'tasks/cancel', params }, CancelTaskResultSchema, options);
785
+ }
786
+ /**
787
+ * Emits a notification, which is a one-way message that does not expect a response.
788
+ */
789
+ async notification(notification, options) {
790
+ if (!this._transport) {
791
+ throw new Error('Not connected');
792
+ }
793
+ this.assertNotificationCapability(notification.method);
794
+ // Queue notification if related to a task
795
+ const relatedTaskId = options?.relatedTask?.taskId;
796
+ if (relatedTaskId) {
797
+ // Build the JSONRPC notification with metadata
798
+ const jsonrpcNotification = {
799
+ ...notification,
800
+ jsonrpc: '2.0',
801
+ params: {
802
+ ...notification.params,
803
+ _meta: {
804
+ ...(notification.params?._meta || {}),
805
+ [RELATED_TASK_META_KEY]: options.relatedTask
806
+ }
807
+ }
808
+ };
809
+ await this._enqueueTaskMessage(relatedTaskId, {
810
+ type: 'notification',
811
+ message: jsonrpcNotification,
812
+ timestamp: Date.now()
813
+ });
814
+ // Don't send through transport - queued messages are delivered via tasks/result only
815
+ // This prevents duplicate delivery for bidirectional transports
816
+ return;
817
+ }
818
+ const debouncedMethods = this._options?.debouncedNotificationMethods ?? [];
819
+ // A notification can only be debounced if it's in the list AND it's "simple"
820
+ // (i.e., has no parameters and no related request ID or related task that could be lost).
821
+ const canDebounce = debouncedMethods.includes(notification.method) && !notification.params && !options?.relatedRequestId && !options?.relatedTask;
822
+ if (canDebounce) {
823
+ // If a notification of this type is already scheduled, do nothing.
824
+ if (this._pendingDebouncedNotifications.has(notification.method)) {
825
+ return;
826
+ }
827
+ // Mark this notification type as pending.
828
+ this._pendingDebouncedNotifications.add(notification.method);
829
+ // Schedule the actual send to happen in the next microtask.
830
+ // This allows all synchronous calls in the current event loop tick to be coalesced.
831
+ Promise.resolve().then(() => {
832
+ // Un-mark the notification so the next one can be scheduled.
833
+ this._pendingDebouncedNotifications.delete(notification.method);
834
+ // SAFETY CHECK: If the connection was closed while this was pending, abort.
835
+ if (!this._transport) {
836
+ return;
837
+ }
838
+ let jsonrpcNotification = {
839
+ ...notification,
840
+ jsonrpc: '2.0'
841
+ };
842
+ // Augment with related task metadata if relatedTask is provided
843
+ if (options?.relatedTask) {
844
+ jsonrpcNotification = {
845
+ ...jsonrpcNotification,
846
+ params: {
847
+ ...jsonrpcNotification.params,
848
+ _meta: {
849
+ ...(jsonrpcNotification.params?._meta || {}),
850
+ [RELATED_TASK_META_KEY]: options.relatedTask
851
+ }
852
+ }
853
+ };
854
+ }
855
+ // Send the notification, but don't await it here to avoid blocking.
856
+ // Handle potential errors with a .catch().
857
+ this._transport?.send(jsonrpcNotification, options).catch(error => this._onerror(error));
858
+ });
859
+ // Return immediately.
860
+ return;
861
+ }
862
+ let jsonrpcNotification = {
863
+ ...notification,
864
+ jsonrpc: '2.0'
865
+ };
866
+ // Augment with related task metadata if relatedTask is provided
867
+ if (options?.relatedTask) {
868
+ jsonrpcNotification = {
869
+ ...jsonrpcNotification,
870
+ params: {
871
+ ...jsonrpcNotification.params,
872
+ _meta: {
873
+ ...(jsonrpcNotification.params?._meta || {}),
874
+ [RELATED_TASK_META_KEY]: options.relatedTask
875
+ }
876
+ }
877
+ };
878
+ }
879
+ await this._transport.send(jsonrpcNotification, options);
880
+ }
881
+ /**
882
+ * Registers a handler to invoke when this protocol object receives a request with the given method.
883
+ *
884
+ * Note that this will replace any previous request handler for the same method.
885
+ */
886
+ setRequestHandler(requestSchema, handler) {
887
+ const method = getMethodLiteral(requestSchema);
888
+ this.assertRequestHandlerCapability(method);
889
+ this._requestHandlers.set(method, (request, extra) => {
890
+ const parsed = parseWithCompat(requestSchema, request);
891
+ return Promise.resolve(handler(parsed, extra));
892
+ });
893
+ }
894
+ /**
895
+ * Removes the request handler for the given method.
896
+ */
897
+ removeRequestHandler(method) {
898
+ this._requestHandlers.delete(method);
899
+ }
900
+ /**
901
+ * Asserts that a request handler has not already been set for the given method, in preparation for a new one being automatically installed.
902
+ */
903
+ assertCanSetRequestHandler(method) {
904
+ if (this._requestHandlers.has(method)) {
905
+ throw new Error(`A request handler for ${method} already exists, which would be overridden`);
906
+ }
907
+ }
908
+ /**
909
+ * Registers a handler to invoke when this protocol object receives a notification with the given method.
910
+ *
911
+ * Note that this will replace any previous notification handler for the same method.
912
+ */
913
+ setNotificationHandler(notificationSchema, handler) {
914
+ const method = getMethodLiteral(notificationSchema);
915
+ this._notificationHandlers.set(method, notification => {
916
+ const parsed = parseWithCompat(notificationSchema, notification);
917
+ return Promise.resolve(handler(parsed));
918
+ });
919
+ }
920
+ /**
921
+ * Removes the notification handler for the given method.
922
+ */
923
+ removeNotificationHandler(method) {
924
+ this._notificationHandlers.delete(method);
925
+ }
926
+ /**
927
+ * Cleans up the progress handler associated with a task.
928
+ * This should be called when a task reaches a terminal status.
929
+ */
930
+ _cleanupTaskProgressHandler(taskId) {
931
+ const progressToken = this._taskProgressTokens.get(taskId);
932
+ if (progressToken !== undefined) {
933
+ this._progressHandlers.delete(progressToken);
934
+ this._taskProgressTokens.delete(taskId);
935
+ }
936
+ }
937
+ /**
938
+ * Enqueues a task-related message for side-channel delivery via tasks/result.
939
+ * @param taskId The task ID to associate the message with
940
+ * @param message The message to enqueue
941
+ * @param sessionId Optional session ID for binding the operation to a specific session
942
+ * @throws Error if taskStore is not configured or if enqueue fails (e.g., queue overflow)
943
+ *
944
+ * Note: If enqueue fails, it's the TaskMessageQueue implementation's responsibility to handle
945
+ * the error appropriately (e.g., by failing the task, logging, etc.). The Protocol layer
946
+ * simply propagates the error.
947
+ */
948
+ async _enqueueTaskMessage(taskId, message, sessionId) {
949
+ // Task message queues are only used when taskStore is configured
950
+ if (!this._taskStore || !this._taskMessageQueue) {
951
+ throw new Error('Cannot enqueue task message: taskStore and taskMessageQueue are not configured');
952
+ }
953
+ const maxQueueSize = this._options?.maxTaskQueueSize;
954
+ await this._taskMessageQueue.enqueue(taskId, message, sessionId, maxQueueSize);
955
+ }
956
+ /**
957
+ * Clears the message queue for a task and rejects any pending request resolvers.
958
+ * @param taskId The task ID whose queue should be cleared
959
+ * @param sessionId Optional session ID for binding the operation to a specific session
960
+ */
961
+ async _clearTaskQueue(taskId, sessionId) {
962
+ if (this._taskMessageQueue) {
963
+ // Reject any pending request resolvers
964
+ const messages = await this._taskMessageQueue.dequeueAll(taskId, sessionId);
965
+ for (const message of messages) {
966
+ if (message.type === 'request' && isJSONRPCRequest(message.message)) {
967
+ // Extract request ID from the message
968
+ const requestId = message.message.id;
969
+ const resolver = this._requestResolvers.get(requestId);
970
+ if (resolver) {
971
+ resolver(new McpError(ErrorCode.InternalError, 'Task cancelled or completed'));
972
+ this._requestResolvers.delete(requestId);
973
+ }
974
+ else {
975
+ // Log error when resolver is missing during cleanup for better observability
976
+ this._onerror(new Error(`Resolver missing for request ${requestId} during task ${taskId} cleanup`));
977
+ }
978
+ }
979
+ }
980
+ }
981
+ }
982
+ /**
983
+ * Waits for a task update (new messages or status change) with abort signal support.
984
+ * Uses polling to check for updates at the task's configured poll interval.
985
+ * @param taskId The task ID to wait for
986
+ * @param signal Abort signal to cancel the wait
987
+ * @returns Promise that resolves when an update occurs or rejects if aborted
988
+ */
989
+ async _waitForTaskUpdate(taskId, signal) {
990
+ // Get the task's poll interval, falling back to default
991
+ let interval = this._options?.defaultTaskPollInterval ?? 1000;
992
+ try {
993
+ const task = await this._taskStore?.getTask(taskId);
994
+ if (task?.pollInterval) {
995
+ interval = task.pollInterval;
996
+ }
997
+ }
998
+ catch {
999
+ // Use default interval if task lookup fails
1000
+ }
1001
+ return new Promise((resolve, reject) => {
1002
+ if (signal.aborted) {
1003
+ reject(new McpError(ErrorCode.InvalidRequest, 'Request cancelled'));
1004
+ return;
1005
+ }
1006
+ // Wait for the poll interval, then resolve so caller can check for updates
1007
+ const timeoutId = setTimeout(resolve, interval);
1008
+ // Clean up timeout and reject if aborted
1009
+ signal.addEventListener('abort', () => {
1010
+ clearTimeout(timeoutId);
1011
+ reject(new McpError(ErrorCode.InvalidRequest, 'Request cancelled'));
1012
+ }, { once: true });
1013
+ });
1014
+ }
1015
+ requestTaskStore(request, sessionId) {
1016
+ const taskStore = this._taskStore;
1017
+ if (!taskStore) {
1018
+ throw new Error('No task store configured');
1019
+ }
1020
+ return {
1021
+ createTask: async (taskParams) => {
1022
+ if (!request) {
1023
+ throw new Error('No request provided');
1024
+ }
1025
+ return await taskStore.createTask(taskParams, request.id, {
1026
+ method: request.method,
1027
+ params: request.params
1028
+ }, sessionId);
1029
+ },
1030
+ getTask: async (taskId) => {
1031
+ const task = await taskStore.getTask(taskId, sessionId);
1032
+ if (!task) {
1033
+ throw new McpError(ErrorCode.InvalidParams, 'Failed to retrieve task: Task not found');
1034
+ }
1035
+ return task;
1036
+ },
1037
+ storeTaskResult: async (taskId, status, result) => {
1038
+ await taskStore.storeTaskResult(taskId, status, result, sessionId);
1039
+ // Get updated task state and send notification
1040
+ const task = await taskStore.getTask(taskId, sessionId);
1041
+ if (task) {
1042
+ const notification = TaskStatusNotificationSchema.parse({
1043
+ method: 'notifications/tasks/status',
1044
+ params: task
1045
+ });
1046
+ await this.notification(notification);
1047
+ if (isTerminal(task.status)) {
1048
+ this._cleanupTaskProgressHandler(taskId);
1049
+ // Don't clear queue here - it will be cleared after delivery via tasks/result
1050
+ }
1051
+ }
1052
+ },
1053
+ getTaskResult: taskId => {
1054
+ return taskStore.getTaskResult(taskId, sessionId);
1055
+ },
1056
+ updateTaskStatus: async (taskId, status, statusMessage) => {
1057
+ // Check if task exists
1058
+ const task = await taskStore.getTask(taskId, sessionId);
1059
+ if (!task) {
1060
+ throw new McpError(ErrorCode.InvalidParams, `Task "${taskId}" not found - it may have been cleaned up`);
1061
+ }
1062
+ // Don't allow transitions from terminal states
1063
+ if (isTerminal(task.status)) {
1064
+ throw new McpError(ErrorCode.InvalidParams, `Cannot update task "${taskId}" from terminal status "${task.status}" to "${status}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);
1065
+ }
1066
+ await taskStore.updateTaskStatus(taskId, status, statusMessage, sessionId);
1067
+ // Get updated task state and send notification
1068
+ const updatedTask = await taskStore.getTask(taskId, sessionId);
1069
+ if (updatedTask) {
1070
+ const notification = TaskStatusNotificationSchema.parse({
1071
+ method: 'notifications/tasks/status',
1072
+ params: updatedTask
1073
+ });
1074
+ await this.notification(notification);
1075
+ if (isTerminal(updatedTask.status)) {
1076
+ this._cleanupTaskProgressHandler(taskId);
1077
+ // Don't clear queue here - it will be cleared after delivery via tasks/result
1078
+ }
1079
+ }
1080
+ },
1081
+ listTasks: cursor => {
1082
+ return taskStore.listTasks(cursor, sessionId);
1083
+ }
1084
+ };
1085
+ }
1086
+ }
1087
+ function isPlainObject(value) {
1088
+ return value !== null && typeof value === 'object' && !Array.isArray(value);
1089
+ }
1090
+ export function mergeCapabilities(base, additional) {
1091
+ const result = { ...base };
1092
+ for (const key in additional) {
1093
+ const k = key;
1094
+ const addValue = additional[k];
1095
+ if (addValue === undefined)
1096
+ continue;
1097
+ const baseValue = result[k];
1098
+ if (isPlainObject(baseValue) && isPlainObject(addValue)) {
1099
+ result[k] = { ...baseValue, ...addValue };
1100
+ }
1101
+ else {
1102
+ result[k] = addValue;
1103
+ }
1104
+ }
1105
+ return result;
1106
+ }
1107
+ //# sourceMappingURL=protocol.js.map