agentworkshop 0.7.44 → 0.7.47

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 (1880) hide show
  1. package/.AgentWorkShop/prompts/host-tools.json +265 -6
  2. package/.AgentWorkShop/prompts/lead-supervise.md +54 -29
  3. package/.AgentWorkShop/prompts/peer-reply-optional.md +6 -2
  4. package/.AgentWorkShop/prompts/peer-reply-required.md +8 -7
  5. package/.output/.AgentWorkShop/aml-python/__pycache__/amlkit.cpython-312.pyc +0 -0
  6. package/.output/.AgentWorkShop/aml-python/amlkit.py +185 -120
  7. package/.output/.AgentWorkShop/aml-python/requirements.txt +9 -7
  8. package/.output/.AgentWorkShop/aml-python/train-hybrid-example.py +87 -0
  9. package/.output/.AgentWorkShop/prompts/host-tools.json +265 -6
  10. package/.output/.AgentWorkShop/prompts/lead-supervise.md +54 -29
  11. package/.output/.AgentWorkShop/prompts/peer-reply-optional.md +6 -2
  12. package/.output/.AgentWorkShop/prompts/peer-reply-required.md +8 -7
  13. package/.output/.AgentWorkShop/schema.json +12 -0
  14. package/.output/nitro.json +1 -1
  15. package/.output/public/_nuxt/-hB4kEmt.js +1 -0
  16. package/.output/public/_nuxt/1g9IT9Qh2.js +1 -0
  17. package/.output/public/_nuxt/74x7BOWv2.js +1 -0
  18. package/.output/public/_nuxt/9c5GOgbu.js +1 -0
  19. package/.output/public/_nuxt/9zrLAN2o2.js +1 -0
  20. package/.output/public/_nuxt/B1RT9NTO2.js +1 -0
  21. package/.output/public/_nuxt/B2x8SKRO.js +1 -0
  22. package/.output/public/_nuxt/B6Olw0Op.js +1 -0
  23. package/.output/public/_nuxt/B7jlMWsz.js +1 -0
  24. package/.output/public/_nuxt/B8cnjDtt.js +1 -0
  25. package/.output/public/_nuxt/B9rIcCX12.js +1 -0
  26. package/.output/public/_nuxt/BACBBVdw.js +1 -0
  27. package/.output/public/_nuxt/BBhLVYdM.js +1 -0
  28. package/.output/public/_nuxt/BDmNbZ252.js +1 -0
  29. package/.output/public/_nuxt/BFVf8HLR.js +1 -0
  30. package/.output/public/_nuxt/BGKUW7ra.js +1 -0
  31. package/.output/public/_nuxt/BH3obZJ42.js +1 -0
  32. package/.output/public/_nuxt/BHwG4yNs.js +1 -0
  33. package/.output/public/_nuxt/BIOq3xqe2.js +1 -0
  34. package/.output/public/_nuxt/BITZvQBK.js +1 -0
  35. package/.output/public/_nuxt/BL_dbd2v2.js +1 -0
  36. package/.output/public/_nuxt/BMMoqi94.js +1 -0
  37. package/.output/public/_nuxt/BNnnYEYh2.js +1 -0
  38. package/.output/public/_nuxt/BQXCMsXk.js +1 -0
  39. package/.output/public/_nuxt/BS9P_Ies2.js +1 -0
  40. package/.output/public/_nuxt/BWU1pvLL.js +1 -0
  41. package/.output/public/_nuxt/B_9_BM9G.js +3 -0
  42. package/.output/public/_nuxt/B_LcD7qE2.js +1 -0
  43. package/.output/public/_nuxt/BcQXL8pb.js +1 -0
  44. package/.output/public/_nuxt/BdM_Qr752.js +1 -0
  45. package/.output/public/_nuxt/BiOSWsjD.js +2 -0
  46. package/.output/public/_nuxt/BkSViqQd.js +1 -0
  47. package/.output/public/_nuxt/Bl5dYv4m.js +1 -0
  48. package/.output/public/_nuxt/BmiMC_BC.js +2 -0
  49. package/.output/public/_nuxt/BnpY_zNx.js +1 -0
  50. package/.output/public/_nuxt/BqYVLAcm.js +1 -0
  51. package/.output/public/_nuxt/Br3AySNQ.js +1 -0
  52. package/.output/public/_nuxt/Br3MggOL.js +1 -0
  53. package/.output/public/_nuxt/BrRX-l9B2.js +4108 -0
  54. package/.output/public/_nuxt/Bt2ZL5332.js +1 -0
  55. package/.output/public/_nuxt/Bub2P5me.js +28 -0
  56. package/.output/public/_nuxt/BvRk9kiK.js +0 -0
  57. package/.output/public/_nuxt/BvRk9kiK2.js +0 -0
  58. package/.output/public/_nuxt/Bwc6lt2X.js +3 -0
  59. package/.output/public/_nuxt/BxHBIVAg.js +1 -0
  60. package/.output/public/_nuxt/BxYTM0hb.js +1 -0
  61. package/.output/public/_nuxt/ByMj6e7s.js +3 -0
  62. package/.output/public/_nuxt/BzvHUfRR2.js +1 -0
  63. package/.output/public/_nuxt/C2YYOgMe.js +42 -0
  64. package/.output/public/_nuxt/C3twEwTh2.js +1 -0
  65. package/.output/public/_nuxt/C4WhK2wq.js +1 -0
  66. package/.output/public/_nuxt/C50LmoI1.js +0 -0
  67. package/.output/public/_nuxt/CAaSPBqk.js +1 -0
  68. package/.output/public/_nuxt/CBDX7p73.js +1 -0
  69. package/.output/public/_nuxt/CD9lpEz22.js +13 -0
  70. package/.output/public/_nuxt/CGZVhYJ4.js +1 -0
  71. package/.output/public/_nuxt/CJRDL4EG.js +1 -0
  72. package/.output/public/_nuxt/CKQPwwZa2.js +1 -0
  73. package/.output/public/_nuxt/CLySL7mW.js +75 -0
  74. package/.output/public/_nuxt/CMXcOb6W.js +1 -0
  75. package/.output/public/_nuxt/CN1CDAwe.js +1 -0
  76. package/.output/public/_nuxt/CP0I2l-6.js +1 -0
  77. package/.output/public/_nuxt/CP0Nep9S.js +1 -0
  78. package/.output/public/_nuxt/CPeZNE4S2.js +1 -0
  79. package/.output/public/_nuxt/CPmNRTBk2.js +21 -0
  80. package/.output/public/_nuxt/CQabB0oy.js +1 -0
  81. package/.output/public/_nuxt/CT-vTjcG.js +1 -0
  82. package/.output/public/_nuxt/CTVfcnjU.js +3 -0
  83. package/.output/public/_nuxt/CWzp2R6G.js +1 -0
  84. package/.output/public/_nuxt/C_VAXV7I2.js +7 -0
  85. package/.output/public/_nuxt/CavpkQb0.js +1 -0
  86. package/.output/public/_nuxt/CeWnOF3O.js +1 -0
  87. package/.output/public/_nuxt/CfLUvgr32.js +1 -0
  88. package/.output/public/_nuxt/Ch1P2mIf.js +1 -0
  89. package/.output/public/_nuxt/ChoLwR-s.js +1 -0
  90. package/.output/public/_nuxt/Chphw5IA2.js +1 -0
  91. package/.output/public/_nuxt/ChtjzEpK2.js +19 -0
  92. package/.output/public/_nuxt/CiTQY_n32.js +1 -0
  93. package/.output/public/_nuxt/Ck5oMvUk.js +1 -0
  94. package/.output/public/_nuxt/Ckafrjnw2.js +1 -0
  95. package/.output/public/_nuxt/Cm_PTn9t2.js +1 -0
  96. package/.output/public/_nuxt/Cmp8PMrA.js +1 -0
  97. package/.output/public/_nuxt/Cnrmlixo.js +3 -0
  98. package/.output/public/_nuxt/Cr518Gh02.js +1 -0
  99. package/.output/public/_nuxt/Crbir9cT.js +1 -0
  100. package/.output/public/_nuxt/CtPNnATm2.js +31 -0
  101. package/.output/public/_nuxt/Cu8c3oMN2.js +1 -0
  102. package/.output/public/_nuxt/CwLQAKay2.js +1 -0
  103. package/.output/public/_nuxt/CzlUIbK32.js +17 -0
  104. package/.output/public/_nuxt/D6lZftfy.js +1 -0
  105. package/.output/public/_nuxt/D83nVQPl.js +1 -0
  106. package/.output/public/_nuxt/D89BUtx6.js +1 -0
  107. package/.output/public/_nuxt/DCtk3qqr.js +1 -0
  108. package/.output/public/_nuxt/DD6Z0yPN2.js +1 -0
  109. package/.output/public/_nuxt/DGw8juu_.js +2 -0
  110. package/.output/public/_nuxt/DHSDk8Bq2.js +4 -0
  111. package/.output/public/_nuxt/DJdDFnjG2.js +1 -0
  112. package/.output/public/_nuxt/DJyNDnag.js +1 -0
  113. package/.output/public/_nuxt/DK3Fl9T5.js +1 -0
  114. package/.output/public/_nuxt/DLPuRMeG.js +19 -0
  115. package/.output/public/_nuxt/DMYYS5sK.js +1 -0
  116. package/.output/public/_nuxt/DNno23Jf2.js +1 -0
  117. package/.output/public/_nuxt/DNoEoo8t.js +1 -0
  118. package/.output/public/_nuxt/DPUXbTg92.js +1 -0
  119. package/.output/public/_nuxt/DRpFsrno.js +1 -0
  120. package/.output/public/_nuxt/DXIaadqv.js +1 -0
  121. package/.output/public/_nuxt/D_7AzAWe.js +1 -0
  122. package/.output/public/_nuxt/Dbe9TFc9.js +1 -0
  123. package/.output/public/_nuxt/DdNujZN5.js +1 -0
  124. package/.output/public/_nuxt/DdvQ7LRI.js +14 -0
  125. package/.output/public/_nuxt/DhFv8S2Z.js +1 -0
  126. package/.output/public/_nuxt/DkJVtqfc.js +1 -0
  127. package/.output/public/_nuxt/DkLCjrCk2.js +47 -0
  128. package/.output/public/_nuxt/DkpmSnHX.js +1 -0
  129. package/.output/public/_nuxt/DlUQa0wn2.js +1 -0
  130. package/.output/public/_nuxt/DoKpLEqc.js +1 -0
  131. package/.output/public/_nuxt/DpqA8D8_.js +1 -0
  132. package/.output/public/_nuxt/Dq0emNZi2.js +1 -0
  133. package/.output/public/_nuxt/DqtgGFEc.js +1 -0
  134. package/.output/public/_nuxt/DqtnqNgL2.js +1 -0
  135. package/.output/public/_nuxt/Dqz5HiXa.js +2 -0
  136. package/.output/public/_nuxt/DxagrjB8.js +1 -0
  137. package/.output/public/_nuxt/Dy3oXKdn2.js +1 -0
  138. package/.output/public/_nuxt/DzBbYWrw2.js +1 -0
  139. package/.output/public/_nuxt/EhhQmlBV2.js +1 -0
  140. package/.output/public/_nuxt/H2rNs1O82.js +1 -0
  141. package/.output/public/_nuxt/H6pPjo0l.js +1 -0
  142. package/.output/public/_nuxt/JAM4aNC_.js +1 -0
  143. package/.output/public/_nuxt/JgheoP3e.js +1 -0
  144. package/.output/public/_nuxt/LwIFGLgF.js +1 -0
  145. package/.output/public/_nuxt/Nw_6OpQZ2.js +1 -0
  146. package/.output/public/_nuxt/OXtV_ukR.js +1 -0
  147. package/.output/public/_nuxt/OmpTerminalPanel.ComMDrA8.css +1 -0
  148. package/.output/public/_nuxt/PLGqdko0.js +1 -0
  149. package/.output/public/_nuxt/PixDfCSm.js +1 -0
  150. package/.output/public/_nuxt/RAqsw632.js +1 -0
  151. package/.output/public/_nuxt/Sjjmp5OD2.js +1 -0
  152. package/.output/public/_nuxt/TOWR4WpO.js +1 -0
  153. package/.output/public/_nuxt/TownView.BvlfuLtP.css +1 -0
  154. package/.output/public/_nuxt/U8oQxruK.js +1 -0
  155. package/.output/public/_nuxt/WleoCtUX.js +1 -0
  156. package/.output/public/_nuxt/YaroNkJZ2.js +1 -0
  157. package/.output/public/_nuxt/Z-Z6EhXs.js +1 -0
  158. package/.output/public/_nuxt/ZuQtOnfI.js +1 -0
  159. package/.output/public/_nuxt/ZvXovq7N2.js +1 -0
  160. package/.output/public/_nuxt/_id_.BTrFUIHX.css +1 -0
  161. package/.output/public/_nuxt/_id_.Bossmhv1.css +1 -0
  162. package/.output/public/_nuxt/_wsId_.D-u-dbP9.css +1 -0
  163. package/.output/public/_nuxt/agents.Cgm_JG9L.css +1 -0
  164. package/.output/public/_nuxt/aml.Bi5X6_oi.css +1 -0
  165. package/.output/public/_nuxt/bg2adfck.js +1 -0
  166. package/.output/public/_nuxt/bt__BP-I.js +13 -0
  167. package/.output/public/_nuxt/builds/latest.json +1 -1
  168. package/.output/public/_nuxt/builds/meta/1b18aaf2-ccbc-45e0-b9c3-107655b226f9.json +1 -0
  169. package/.output/public/_nuxt/cBI0JqsV2.js +209 -0
  170. package/.output/public/_nuxt/cDcDztgb2.js +1 -0
  171. package/.output/public/_nuxt/cGSl2GZp.js +1 -0
  172. package/.output/public/_nuxt/csitHKnE2.js +1 -0
  173. package/.output/public/_nuxt/d-w5jR8R.js +1 -0
  174. package/.output/public/_nuxt/daq.0uieKcZk.css +1 -0
  175. package/.output/public/_nuxt/dcw.pQRVkAi_.css +1 -0
  176. package/.output/public/_nuxt/default.uao9U50c.css +1 -0
  177. package/.output/public/_nuxt/e7BBCLxr.js +1 -0
  178. package/.output/public/_nuxt/entry.6DEjPWvR.css +1 -0
  179. package/.output/public/_nuxt/eutnXI4F.js +24 -0
  180. package/.output/public/_nuxt/fxWyOzyp2.js +1 -0
  181. package/.output/public/_nuxt/hkMGMTqt.js +1 -0
  182. package/.output/public/_nuxt/ikAUnxx3.js +1 -0
  183. package/.output/public/_nuxt/lWYQbIR3.js +1 -0
  184. package/.output/public/_nuxt/logs.CD0Olr3c.css +1 -0
  185. package/.output/public/_nuxt/monitor.CI2v5Nvl.css +1 -0
  186. package/.output/public/_nuxt/pages.CMhSEhEb.css +1 -0
  187. package/.output/public/_nuxt/permissions.DxuOOIqQ.css +1 -0
  188. package/.output/public/_nuxt/plugins.C50x1qZp.css +1 -0
  189. package/.output/public/_nuxt/qOlYoGLf.js +1 -0
  190. package/.output/public/_nuxt/schedules.BXNJ9q_I.css +1 -0
  191. package/.output/public/_nuxt/settings.Bo5EYkLI.css +1 -0
  192. package/.output/public/_nuxt/teams.sGmx1AdX.css +1 -0
  193. package/.output/public/_nuxt/tokens.DFMFaCYU.css +1 -0
  194. package/.output/public/_nuxt/uI9Ki_XZ.js +9 -0
  195. package/.output/public/_nuxt/users.DBxcKnfg.css +1 -0
  196. package/.output/public/_nuxt/v55S8LnT.js +1 -0
  197. package/.output/public/_nuxt/wDPc4SSR.js +106 -0
  198. package/.output/public/_nuxt/workshop.b4YRXEe0.css +1 -0
  199. package/.output/public/_nuxt/y9kob70X.js +1 -0
  200. package/.output/public/_nuxt/zh-S_7rN.js +1 -0
  201. package/.output/server/chunks/_/LeftOutlined.mjs +1 -1
  202. package/.output/server/chunks/_/SearchOutlined.mjs +1243 -279
  203. package/.output/server/chunks/_/SearchOutlined.mjs.map +1 -1
  204. package/.output/server/chunks/_/binding-authz.mjs +1 -1
  205. package/.output/server/chunks/_/character-asset.repo.mjs +1 -1
  206. package/.output/server/chunks/_/entity.mjs +1 -1
  207. package/.output/server/chunks/_/env-manager.mjs +1 -1
  208. package/.output/server/chunks/_/host-bindings.mjs +1 -1
  209. package/.output/server/chunks/_/nitro.mjs +27006 -19064
  210. package/.output/server/chunks/_/nitro.mjs.map +1 -1
  211. package/.output/server/chunks/_/scene-layout.repo.mjs +1 -1
  212. package/.output/server/chunks/build/Checkbox-4EdGAAl_.mjs +206 -0
  213. package/.output/server/chunks/build/Checkbox-4EdGAAl_.mjs.map +1 -0
  214. package/.output/server/chunks/build/FormItemContext-4ORSzhWv.mjs +72 -0
  215. package/.output/server/chunks/build/FormItemContext-4ORSzhWv.mjs.map +1 -0
  216. package/.output/server/chunks/build/OmpTerminalPanel-EQHrOJbw.mjs +942 -0
  217. package/.output/server/chunks/build/OmpTerminalPanel-EQHrOJbw.mjs.map +1 -0
  218. package/.output/server/chunks/build/PluginSlot-BP_qedpQ.mjs +399 -0
  219. package/.output/server/chunks/build/PluginSlot-BP_qedpQ.mjs.map +1 -0
  220. package/.output/server/chunks/build/TownView-BAR8CPIZ.mjs +6373 -0
  221. package/.output/server/chunks/build/TownView-BAR8CPIZ.mjs.map +1 -0
  222. package/.output/server/chunks/build/_id_-DgMpjM3_.mjs +1354 -0
  223. package/.output/server/chunks/build/_id_-DgMpjM3_.mjs.map +1 -0
  224. package/.output/server/chunks/build/_id_-Dv3BQbYV.mjs +388 -0
  225. package/.output/server/chunks/build/_id_-Dv3BQbYV.mjs.map +1 -0
  226. package/.output/server/chunks/build/_wsId_-BKJvFmyf.mjs +13109 -0
  227. package/.output/server/chunks/build/_wsId_-BKJvFmyf.mjs.map +1 -0
  228. package/.output/server/chunks/build/agents-B2GLPmn2.mjs +1085 -0
  229. package/.output/server/chunks/build/agents-B2GLPmn2.mjs.map +1 -0
  230. package/.output/server/chunks/build/aml-DdWicH3t.mjs +806 -0
  231. package/.output/server/chunks/build/aml-DdWicH3t.mjs.map +1 -0
  232. package/.output/server/chunks/build/api-BY6ji7RC.mjs +50 -0
  233. package/.output/server/chunks/build/api-BY6ji7RC.mjs.map +1 -0
  234. package/.output/server/chunks/build/api-error-BwAQLw44.mjs +47 -0
  235. package/.output/server/chunks/build/api-error-BwAQLw44.mjs.map +1 -0
  236. package/.output/server/chunks/build/apiClient-D281qrK2.mjs +81 -0
  237. package/.output/server/chunks/build/apiClient-D281qrK2.mjs.map +1 -0
  238. package/.output/server/chunks/build/builtin-catalog-edpDcgfL.mjs +1 -1
  239. package/.output/server/chunks/build/card-CUSocE9p.mjs +953 -0
  240. package/.output/server/chunks/build/card-CUSocE9p.mjs.map +1 -0
  241. package/.output/server/chunks/build/channel-templates-RPOtkgRf.mjs +846 -0
  242. package/.output/server/chunks/build/channel-templates-RPOtkgRf.mjs.map +1 -0
  243. package/.output/server/chunks/build/checkbox-C4AKj81e.mjs +439 -0
  244. package/.output/server/chunks/build/checkbox-C4AKj81e.mjs.map +1 -0
  245. package/.output/server/chunks/build/client-only-qNA2OVV_.mjs +43 -0
  246. package/.output/server/chunks/build/client-only-qNA2OVV_.mjs.map +1 -0
  247. package/.output/server/chunks/build/constants-HPHJvjne.mjs +139 -0
  248. package/.output/server/chunks/build/constants-HPHJvjne.mjs.map +1 -0
  249. package/.output/server/chunks/build/core-CgTOPS4t.mjs +294 -0
  250. package/.output/server/chunks/build/core-CgTOPS4t.mjs.map +1 -0
  251. package/.output/server/chunks/build/daq-CPtsh0e7.mjs +1253 -0
  252. package/.output/server/chunks/build/daq-CPtsh0e7.mjs.map +1 -0
  253. package/.output/server/chunks/build/dcw-ry5Gyw6Y.mjs +478 -0
  254. package/.output/server/chunks/build/dcw-ry5Gyw6Y.mjs.map +1 -0
  255. package/.output/server/chunks/build/default-DxOE1eB0.mjs +2061 -0
  256. package/.output/server/chunks/build/default-DxOE1eB0.mjs.map +1 -0
  257. package/.output/server/chunks/build/descriptions-CFaUq4y4.mjs +406 -0
  258. package/.output/server/chunks/build/descriptions-CFaUq4y4.mjs.map +1 -0
  259. package/.output/server/chunks/build/drawer-Cfh9_zft.mjs +834 -0
  260. package/.output/server/chunks/build/drawer-Cfh9_zft.mjs.map +1 -0
  261. package/.output/server/chunks/build/dropdown-KdKWCS5K.mjs +556 -0
  262. package/.output/server/chunks/build/dropdown-KdKWCS5K.mjs.map +1 -0
  263. package/.output/server/chunks/build/dropdown-Yev6knaj.mjs +14 -0
  264. package/.output/server/chunks/build/dropdown-Yev6knaj.mjs.map +1 -0
  265. package/.output/server/chunks/build/form-uSlNqIAV.mjs +4711 -0
  266. package/.output/server/chunks/build/form-uSlNqIAV.mjs.map +1 -0
  267. package/.output/server/chunks/build/input-Cr_KFj4T.mjs +1381 -0
  268. package/.output/server/chunks/build/input-Cr_KFj4T.mjs.map +1 -0
  269. package/.output/server/chunks/build/input-number-BRVnxeiA.mjs +1119 -0
  270. package/.output/server/chunks/build/input-number-BRVnxeiA.mjs.map +1 -0
  271. package/.output/server/chunks/build/interval-DvHBIIZh.mjs +9 -0
  272. package/.output/server/chunks/build/interval-DvHBIIZh.mjs.map +1 -0
  273. package/.output/server/chunks/build/logs-CeaiO3y9.mjs +367 -0
  274. package/.output/server/chunks/build/logs-CeaiO3y9.mjs.map +1 -0
  275. package/.output/server/chunks/build/menu-BgkRSSx7.mjs +1949 -0
  276. package/.output/server/chunks/build/menu-BgkRSSx7.mjs.map +1 -0
  277. package/.output/server/chunks/build/monitor-DnuXEIi5.mjs +2245 -0
  278. package/.output/server/chunks/build/monitor-DnuXEIi5.mjs.map +1 -0
  279. package/.output/server/chunks/build/narrow-fetch-CcG-BPxc.mjs +6 -0
  280. package/.output/server/chunks/build/narrow-fetch-CcG-BPxc.mjs.map +1 -0
  281. package/.output/server/chunks/build/pages-Bn90ijKD.mjs +539 -0
  282. package/.output/server/chunks/build/pages-Bn90ijKD.mjs.map +1 -0
  283. package/.output/server/chunks/build/permissions-DL70W1YD.mjs +629 -0
  284. package/.output/server/chunks/build/permissions-DL70W1YD.mjs.map +1 -0
  285. package/.output/server/chunks/build/plugins-DrsZo--K.mjs +246 -0
  286. package/.output/server/chunks/build/plugins-DrsZo--K.mjs.map +1 -0
  287. package/.output/server/chunks/build/popconfirm-Ox-_2V8A.mjs +339 -0
  288. package/.output/server/chunks/build/popconfirm-Ox-_2V8A.mjs.map +1 -0
  289. package/.output/server/chunks/build/schedules-VLzNcjnW.mjs +7164 -0
  290. package/.output/server/chunks/build/schedules-VLzNcjnW.mjs.map +1 -0
  291. package/.output/server/chunks/build/segmented-C61yLHvo.mjs +341 -0
  292. package/.output/server/chunks/build/segmented-C61yLHvo.mjs.map +1 -0
  293. package/.output/server/chunks/build/select-rdBWytVK.mjs +3922 -0
  294. package/.output/server/chunks/build/select-rdBWytVK.mjs.map +1 -0
  295. package/.output/server/chunks/build/settings-DVAUVMsX.mjs +1089 -0
  296. package/.output/server/chunks/build/settings-DVAUVMsX.mjs.map +1 -0
  297. package/.output/server/chunks/build/space-B2uhHJG8.mjs +110 -0
  298. package/.output/server/chunks/build/space-B2uhHJG8.mjs.map +1 -0
  299. package/.output/server/chunks/build/spin-C2cuvGth.mjs +357 -0
  300. package/.output/server/chunks/build/spin-C2cuvGth.mjs.map +1 -0
  301. package/.output/server/chunks/build/switch-DZAUIbIN.mjs +377 -0
  302. package/.output/server/chunks/build/switch-DZAUIbIN.mjs.map +1 -0
  303. package/.output/server/chunks/build/table-DOFAvY-v.mjs +8881 -0
  304. package/.output/server/chunks/build/table-DOFAvY-v.mjs.map +1 -0
  305. package/.output/server/chunks/build/tabs-DTeIuZeP.mjs +1923 -0
  306. package/.output/server/chunks/build/tabs-DTeIuZeP.mjs.map +1 -0
  307. package/.output/server/chunks/build/tag-CHLGvNM6.mjs +1029 -0
  308. package/.output/server/chunks/build/tag-CHLGvNM6.mjs.map +1 -0
  309. package/.output/server/chunks/build/teams-Mc07PYO8.mjs +1195 -0
  310. package/.output/server/chunks/build/teams-Mc07PYO8.mjs.map +1 -0
  311. package/.output/server/chunks/build/tokens-DiwD5qni.mjs +1036 -0
  312. package/.output/server/chunks/build/tokens-DiwD5qni.mjs.map +1 -0
  313. package/.output/server/chunks/build/town-BIn3be5v.mjs +39 -0
  314. package/.output/server/chunks/build/town-BIn3be5v.mjs.map +1 -0
  315. package/.output/server/chunks/build/town-D8VmTCmN.mjs +128 -0
  316. package/.output/server/chunks/build/town-D8VmTCmN.mjs.map +1 -0
  317. package/.output/server/chunks/build/types-D6J7slEa.mjs +5561 -0
  318. package/.output/server/chunks/build/types-D6J7slEa.mjs.map +1 -0
  319. package/.output/server/chunks/build/useAgentHarnessOptions-CPn5dzKe.mjs +121 -0
  320. package/.output/server/chunks/build/useAgentHarnessOptions-CPn5dzKe.mjs.map +1 -0
  321. package/.output/server/chunks/build/useAgentTemplateActions-DQWzVnZ0.mjs +74 -0
  322. package/.output/server/chunks/build/useAgentTemplateActions-DQWzVnZ0.mjs.map +1 -0
  323. package/.output/server/chunks/build/useAgentTemplateDialogState-CZzpu5og.mjs +64 -0
  324. package/.output/server/chunks/build/useAgentTemplateDialogState-CZzpu5og.mjs.map +1 -0
  325. package/.output/server/chunks/build/useAgentTemplateForm-vqyiRPtt.mjs +114 -0
  326. package/.output/server/chunks/build/useAgentTemplateForm-vqyiRPtt.mjs.map +1 -0
  327. package/.output/server/chunks/build/useAgentTemplatesCatalog-DcQbsOik.mjs +130 -0
  328. package/.output/server/chunks/build/useAgentTemplatesCatalog-DcQbsOik.mjs.map +1 -0
  329. package/.output/server/chunks/build/useAmlDatasets-BM0lZu40.mjs +89 -0
  330. package/.output/server/chunks/build/useAmlDatasets-BM0lZu40.mjs.map +1 -0
  331. package/.output/server/chunks/build/useAmlEntities-BjXWvFd_.mjs +83 -0
  332. package/.output/server/chunks/build/useAmlEntities-BjXWvFd_.mjs.map +1 -0
  333. package/.output/server/chunks/build/useAmlEnv-BB7p6x_w.mjs +191 -0
  334. package/.output/server/chunks/build/useAmlEnv-BB7p6x_w.mjs.map +1 -0
  335. package/.output/server/chunks/build/useAmlExperiments-BtyW32PO.mjs +86 -0
  336. package/.output/server/chunks/build/useAmlExperiments-BtyW32PO.mjs.map +1 -0
  337. package/.output/server/chunks/build/useAmlFormat-WrKuRfw2.mjs +79 -0
  338. package/.output/server/chunks/build/useAmlFormat-WrKuRfw2.mjs.map +1 -0
  339. package/.output/server/chunks/build/useAmlJobs-DBuLvWMF.mjs +263 -0
  340. package/.output/server/chunks/build/useAmlJobs-DBuLvWMF.mjs.map +1 -0
  341. package/.output/server/chunks/build/useAmlModels-VurmkBYe.mjs +90 -0
  342. package/.output/server/chunks/build/useAmlModels-VurmkBYe.mjs.map +1 -0
  343. package/.output/server/chunks/build/useAmlNotes-BUdj3X6Y.mjs +83 -0
  344. package/.output/server/chunks/build/useAmlNotes-BUdj3X6Y.mjs.map +1 -0
  345. package/.output/server/chunks/build/useAmlPredict-DFy-Do10.mjs +127 -0
  346. package/.output/server/chunks/build/useAmlPredict-DFy-Do10.mjs.map +1 -0
  347. package/.output/server/chunks/build/useDaqAddNode-kW7uTSMQ.mjs +139 -0
  348. package/.output/server/chunks/build/useDaqAddNode-kW7uTSMQ.mjs.map +1 -0
  349. package/.output/server/chunks/build/useDaqDetailBinding-cpBz4hSL.mjs +67 -0
  350. package/.output/server/chunks/build/useDaqDetailBinding-cpBz4hSL.mjs.map +1 -0
  351. package/.output/server/chunks/build/useDaqDetailFrames-BZGtKKXW.mjs +76 -0
  352. package/.output/server/chunks/build/useDaqDetailFrames-BZGtKKXW.mjs.map +1 -0
  353. package/.output/server/chunks/build/useDaqDetailHistory-C4_hVeqZ.mjs +173 -0
  354. package/.output/server/chunks/build/useDaqDetailHistory-C4_hVeqZ.mjs.map +1 -0
  355. package/.output/server/chunks/build/useDaqDetailNode-Bwid_iA8.mjs +96 -0
  356. package/.output/server/chunks/build/useDaqDetailNode-Bwid_iA8.mjs.map +1 -0
  357. package/.output/server/chunks/build/useDaqDetailParams-JfqHvTxr.mjs +156 -0
  358. package/.output/server/chunks/build/useDaqDetailParams-JfqHvTxr.mjs.map +1 -0
  359. package/.output/server/chunks/build/useDaqFilters-C13836p-.mjs +219 -0
  360. package/.output/server/chunks/build/useDaqFilters-C13836p-.mjs.map +1 -0
  361. package/.output/server/chunks/build/useDaqNodeWindow-1DWj2H5G.mjs +87 -0
  362. package/.output/server/chunks/build/useDaqNodeWindow-1DWj2H5G.mjs.map +1 -0
  363. package/.output/server/chunks/build/useDaqOptimizations-Ct-TSXxy.mjs +133 -0
  364. package/.output/server/chunks/build/useDaqOptimizations-Ct-TSXxy.mjs.map +1 -0
  365. package/.output/server/chunks/build/useDaqStream-wOxZcMDA.mjs +395 -0
  366. package/.output/server/chunks/build/useDaqStream-wOxZcMDA.mjs.map +1 -0
  367. package/.output/server/chunks/build/useDaqTemplates-BqQRdrIm.mjs +184 -0
  368. package/.output/server/chunks/build/useDaqTemplates-BqQRdrIm.mjs.map +1 -0
  369. package/.output/server/chunks/build/useDashboardCharts-DZysNDUX.mjs +351 -0
  370. package/.output/server/chunks/build/useDashboardCharts-DZysNDUX.mjs.map +1 -0
  371. package/.output/server/chunks/build/useDashboardData-Ny_wtbo6.mjs +150 -0
  372. package/.output/server/chunks/build/useDashboardData-Ny_wtbo6.mjs.map +1 -0
  373. package/.output/server/chunks/build/useDcwAddNode-C8nE7geh.mjs +148 -0
  374. package/.output/server/chunks/build/useDcwAddNode-C8nE7geh.mjs.map +1 -0
  375. package/.output/server/chunks/build/useDcwCards-ETEsHvVy.mjs +64 -0
  376. package/.output/server/chunks/build/useDcwCards-ETEsHvVy.mjs.map +1 -0
  377. package/.output/server/chunks/build/useDcwDetailScope-BNrpDzbO.mjs +181 -0
  378. package/.output/server/chunks/build/useDcwDetailScope-BNrpDzbO.mjs.map +1 -0
  379. package/.output/server/chunks/build/useDcwDetailTemplates-IcKAJ37Y.mjs +145 -0
  380. package/.output/server/chunks/build/useDcwDetailTemplates-IcKAJ37Y.mjs.map +1 -0
  381. package/.output/server/chunks/build/useDcwFilter-FfVlDdyS.mjs +68 -0
  382. package/.output/server/chunks/build/useDcwFilter-FfVlDdyS.mjs.map +1 -0
  383. package/.output/server/chunks/build/useDcwLedger-BLoMmcu1.mjs +76 -0
  384. package/.output/server/chunks/build/useDcwLedger-BLoMmcu1.mjs.map +1 -0
  385. package/.output/server/chunks/build/useDcwLineMutations-BMC5BTWU.mjs +134 -0
  386. package/.output/server/chunks/build/useDcwLineMutations-BMC5BTWU.mjs.map +1 -0
  387. package/.output/server/chunks/build/useDcwLineRun-Bpxk4mse.mjs +101 -0
  388. package/.output/server/chunks/build/useDcwLineRun-Bpxk4mse.mjs.map +1 -0
  389. package/.output/server/chunks/build/useDcwProducts-D-zrMaeV.mjs +90 -0
  390. package/.output/server/chunks/build/useDcwProducts-D-zrMaeV.mjs.map +1 -0
  391. package/.output/server/chunks/build/useDcwQuery-1lYHOaU6.mjs +95 -0
  392. package/.output/server/chunks/build/useDcwQuery-1lYHOaU6.mjs.map +1 -0
  393. package/.output/server/chunks/build/useDcwQuickActions-C-tgcXIr.mjs +85 -0
  394. package/.output/server/chunks/build/useDcwQuickActions-C-tgcXIr.mjs.map +1 -0
  395. package/.output/server/chunks/build/useDcwRecipes-BzGOymqz.mjs +237 -0
  396. package/.output/server/chunks/build/useDcwRecipes-BzGOymqz.mjs.map +1 -0
  397. package/.output/server/chunks/build/useDcwStream-D04kCV3J.mjs +435 -0
  398. package/.output/server/chunks/build/useDcwStream-D04kCV3J.mjs.map +1 -0
  399. package/.output/server/chunks/build/useDcwTemplates-Dsjw9u6U.mjs +88 -0
  400. package/.output/server/chunks/build/useDcwTemplates-Dsjw9u6U.mjs.map +1 -0
  401. package/.output/server/chunks/build/useDcwWrites-3RxwN36I.mjs +120 -0
  402. package/.output/server/chunks/build/useDcwWrites-3RxwN36I.mjs.map +1 -0
  403. package/.output/server/chunks/build/useDeviceTwins-CbVad1M3.mjs +128 -0
  404. package/.output/server/chunks/build/useDeviceTwins-CbVad1M3.mjs.map +1 -0
  405. package/.output/server/chunks/build/useLocalTime-9a4B-aHv.mjs +1 -8
  406. package/.output/server/chunks/build/useLocalTime-9a4B-aHv.mjs.map +1 -1
  407. package/.output/server/chunks/build/useLogsFormat-BlwLpyzy.mjs +74 -0
  408. package/.output/server/chunks/build/useLogsFormat-BlwLpyzy.mjs.map +1 -0
  409. package/.output/server/chunks/build/useLogsManual-Deev2Cjk.mjs +81 -0
  410. package/.output/server/chunks/build/useLogsManual-Deev2Cjk.mjs.map +1 -0
  411. package/.output/server/chunks/build/useLogsQuery-CRAm2hmS.mjs +112 -0
  412. package/.output/server/chunks/build/useLogsQuery-CRAm2hmS.mjs.map +1 -0
  413. package/.output/server/chunks/build/useLogsScope-ClNijVj4.mjs +80 -0
  414. package/.output/server/chunks/build/useLogsScope-ClNijVj4.mjs.map +1 -0
  415. package/.output/server/chunks/build/useMonitorColumns-ylxrUNTK.mjs +212 -0
  416. package/.output/server/chunks/build/useMonitorColumns-ylxrUNTK.mjs.map +1 -0
  417. package/.output/server/chunks/build/useMonitorData-CEpKXoD4.mjs +131 -0
  418. package/.output/server/chunks/build/useMonitorData-CEpKXoD4.mjs.map +1 -0
  419. package/.output/server/chunks/build/useMonitorFormat-_7zLapf3.mjs +87 -0
  420. package/.output/server/chunks/build/useMonitorFormat-_7zLapf3.mjs.map +1 -0
  421. package/.output/server/chunks/build/useMonitorTerminal-Dj4QwRNW.mjs +68 -0
  422. package/.output/server/chunks/build/useMonitorTerminal-Dj4QwRNW.mjs.map +1 -0
  423. package/.output/server/chunks/build/useOpsLog-CgnNG7_n.mjs +137 -0
  424. package/.output/server/chunks/build/useOpsLog-CgnNG7_n.mjs.map +1 -0
  425. package/.output/server/chunks/build/useTeamActions-D6sxdpkP.mjs +76 -0
  426. package/.output/server/chunks/build/useTeamActions-D6sxdpkP.mjs.map +1 -0
  427. package/.output/server/chunks/build/useTeamAddMemberDialog-Q-ntQ6Vo.mjs +81 -0
  428. package/.output/server/chunks/build/useTeamAddMemberDialog-Q-ntQ6Vo.mjs.map +1 -0
  429. package/.output/server/chunks/build/useTeamCreateDialog-D7OMfDTM.mjs +94 -0
  430. package/.output/server/chunks/build/useTeamCreateDialog-D7OMfDTM.mjs.map +1 -0
  431. package/.output/server/chunks/build/useTeamDeployDialog-vBRqjiut.mjs +77 -0
  432. package/.output/server/chunks/build/useTeamDeployDialog-vBRqjiut.mjs.map +1 -0
  433. package/.output/server/chunks/build/useTeamDialogState-CFRUQxAf.mjs +79 -0
  434. package/.output/server/chunks/build/useTeamDialogState-CFRUQxAf.mjs.map +1 -0
  435. package/.output/server/chunks/build/useTeamPluginDialog-B8kxewpZ.mjs +100 -0
  436. package/.output/server/chunks/build/useTeamPluginDialog-B8kxewpZ.mjs.map +1 -0
  437. package/.output/server/chunks/build/useTeamsCatalog-xRhk7ezA.mjs +120 -0
  438. package/.output/server/chunks/build/useTeamsCatalog-xRhk7ezA.mjs.map +1 -0
  439. package/.output/server/chunks/build/useTokenClipboard-CwQpoFeP.mjs +69 -0
  440. package/.output/server/chunks/build/useTokenClipboard-CwQpoFeP.mjs.map +1 -0
  441. package/.output/server/chunks/build/useTokenCreate-DpDcF1Vx.mjs +112 -0
  442. package/.output/server/chunks/build/useTokenCreate-DpDcF1Vx.mjs.map +1 -0
  443. package/.output/server/chunks/build/useTokenRename-BRejFrtc.mjs +84 -0
  444. package/.output/server/chunks/build/useTokenRename-BRejFrtc.mjs.map +1 -0
  445. package/.output/server/chunks/build/useTokenReveal-DER2afAS.mjs +115 -0
  446. package/.output/server/chunks/build/useTokenReveal-DER2afAS.mjs.map +1 -0
  447. package/.output/server/chunks/build/useTokensList-DHt65IOY.mjs +89 -0
  448. package/.output/server/chunks/build/useTokensList-DHt65IOY.mjs.map +1 -0
  449. package/.output/server/chunks/build/useWorkbenchAuth-B2j-zILO.mjs +135 -0
  450. package/.output/server/chunks/build/useWorkbenchAuth-B2j-zILO.mjs.map +1 -0
  451. package/.output/server/chunks/build/useWorkbenchWorkspaces-B_2mOxN6.mjs +133 -0
  452. package/.output/server/chunks/build/useWorkbenchWorkspaces-B_2mOxN6.mjs.map +1 -0
  453. package/.output/server/chunks/build/useWorkshopApi-B1B9vd4m.mjs +102 -0
  454. package/.output/server/chunks/build/useWorkshopApi-B1B9vd4m.mjs.map +1 -0
  455. package/.output/server/chunks/build/useWorkshopWs-B-Es2Xg3.mjs +1782 -0
  456. package/.output/server/chunks/build/useWorkshopWs-B-Es2Xg3.mjs.map +1 -0
  457. package/.output/server/chunks/build/useWorkspaceAuth-tQ1ORWXo.mjs +57 -0
  458. package/.output/server/chunks/build/useWorkspaceAuth-tQ1ORWXo.mjs.map +1 -0
  459. package/.output/server/chunks/build/useWorkspaceChannels-BwB6TAWY.mjs +87 -0
  460. package/.output/server/chunks/build/useWorkspaceChannels-BwB6TAWY.mjs.map +1 -0
  461. package/.output/server/chunks/build/useWorkspacePanels-CuAmDpT5.mjs +75 -0
  462. package/.output/server/chunks/build/useWorkspacePanels-CuAmDpT5.mjs.map +1 -0
  463. package/.output/server/chunks/build/useWorkspaceShell-CcQ4JlqO.mjs +165 -0
  464. package/.output/server/chunks/build/useWorkspaceShell-CcQ4JlqO.mjs.map +1 -0
  465. package/.output/server/chunks/build/users-De2HygNt.mjs +561 -0
  466. package/.output/server/chunks/build/users-De2HygNt.mjs.map +1 -0
  467. package/.output/server/chunks/build/workshop-CmgpTwyf.mjs +1018 -0
  468. package/.output/server/chunks/build/workshop-CmgpTwyf.mjs.map +1 -0
  469. package/.output/server/chunks/build/workspaces-DVIEk1Bl.mjs +139 -0
  470. package/.output/server/chunks/build/workspaces-DVIEk1Bl.mjs.map +1 -0
  471. package/.output/server/chunks/routes/api/health.get.mjs +2 -2
  472. package/.output/server/chunks/routes/api/index.get.mjs +2 -2
  473. package/.output/server/chunks/routes/api/index.post.mjs +2 -2
  474. package/.output/server/chunks/routes/api/mcp/workshop.mjs +2 -2
  475. package/.output/server/chunks/routes/api/metrics.mjs +2 -2
  476. package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs +2 -2
  477. package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs +2 -2
  478. package/.output/server/chunks/routes/api/plugins/i18n.get.mjs +2 -2
  479. package/.output/server/chunks/routes/api/plugins/manifest.get.mjs +2 -2
  480. package/.output/server/chunks/routes/api/system/config-groups/_id_.delete.mjs +2 -2
  481. package/.output/server/chunks/routes/api/system/config-groups/_id_.patch.mjs +2 -2
  482. package/.output/server/chunks/routes/api/system/config.get.mjs +2 -2
  483. package/.output/server/chunks/routes/api/system/index.get.mjs +2 -2
  484. package/.output/server/chunks/routes/api/system/index.patch.mjs +2 -2
  485. package/.output/server/chunks/routes/api/system/index.post.mjs +2 -2
  486. package/.output/server/chunks/routes/api/system/index2.get.mjs +2 -2
  487. package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs +35 -4
  488. package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs.map +1 -1
  489. package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs +2 -2
  490. package/.output/server/chunks/routes/api/system/monitor.get.mjs +2 -2
  491. package/.output/server/chunks/routes/api/system/settings/events.get.mjs +2 -2
  492. package/.output/server/chunks/routes/api/system/settings/reset.post.mjs +2 -2
  493. package/.output/server/chunks/routes/api/users/_id_.delete.mjs +2 -2
  494. package/.output/server/chunks/routes/api/users/_id_.get.mjs +2 -2
  495. package/.output/server/chunks/routes/api/users/_id_.put.mjs +2 -2
  496. package/.output/server/chunks/routes/api/users/index.get.mjs +2 -2
  497. package/.output/server/chunks/routes/api/users/index.post.mjs +2 -2
  498. package/.output/server/chunks/routes/api/users/login.post.mjs +2 -2
  499. package/.output/server/chunks/routes/api/users/logout.post.mjs +2 -2
  500. package/.output/server/chunks/routes/api/users/me.get.mjs +2 -2
  501. package/.output/server/chunks/routes/api/users/register.post.mjs +2 -2
  502. package/.output/server/chunks/routes/api/users/setup-status.get.mjs +2 -2
  503. package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs +2 -2
  504. package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs +2 -2
  505. package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs +2 -2
  506. package/.output/server/chunks/routes/api/workshop/_...path_.mjs +2 -2
  507. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs +2 -2
  508. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs +2 -2
  509. package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs +2 -2
  510. package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs +38 -6
  511. package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs.map +1 -1
  512. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs +2 -2
  513. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs +2 -2
  514. package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs +14 -5
  515. package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs.map +1 -1
  516. package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs +2 -2
  517. package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs +2 -2
  518. package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs +2 -2
  519. package/.output/server/chunks/routes/api/workshop/agent-tools/list.get.mjs +2 -2
  520. package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs +2 -2
  521. package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs +2 -2
  522. package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs +2 -2
  523. package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs +2 -2
  524. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id/preview.get.mjs +1 -1
  525. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.delete.mjs +2 -2
  526. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs +2 -2
  527. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.patch.mjs +2 -2
  528. package/.output/server/chunks/routes/api/workshop/aml/entities/prune.post.mjs +2 -2
  529. package/.output/server/chunks/routes/api/workshop/aml/env/recheck.post.mjs +2 -2
  530. package/.output/server/chunks/routes/api/workshop/aml/env/uv.post.mjs +2 -2
  531. package/.output/server/chunks/routes/api/workshop/aml/env/venv.post.mjs +2 -2
  532. package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs +2 -2
  533. package/.output/server/chunks/routes/api/workshop/aml/index.post.mjs +2 -2
  534. package/.output/server/chunks/routes/api/workshop/aml/index2.get.mjs +2 -2
  535. package/.output/server/chunks/routes/api/workshop/aml/index2.post.mjs +2 -2
  536. package/.output/server/chunks/routes/api/workshop/aml/index3.get.mjs +2 -2
  537. package/.output/server/chunks/routes/api/workshop/aml/index4.get.mjs +2 -2
  538. package/.output/server/chunks/routes/api/workshop/aml/index5.get.mjs +2 -2
  539. package/.output/server/chunks/routes/api/workshop/aml/index6.get.mjs +2 -2
  540. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/cancel.post.mjs +2 -2
  541. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/logs.get.mjs +2 -2
  542. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/retry.post.mjs +2 -2
  543. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.delete.mjs +2 -2
  544. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.get.mjs +2 -2
  545. package/.output/server/chunks/routes/api/workshop/aml/models/_id/predict.post.mjs +2 -2
  546. package/.output/server/chunks/routes/api/workshop/aml/models/_id/promote.post.mjs +2 -2
  547. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.delete.mjs +2 -2
  548. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.patch.mjs +2 -2
  549. package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs +2 -2
  550. package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs +1 -1
  551. package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs +1 -1
  552. package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs +2 -2
  553. package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs +1 -1
  554. package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs +1 -1
  555. package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs +1 -1
  556. package/.output/server/chunks/routes/api/workshop/audit.get.mjs +2 -2
  557. package/.output/server/chunks/routes/api/workshop/caller.mjs +2 -2
  558. package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +10 -5
  559. package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs.map +1 -1
  560. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs +2 -2
  561. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs +2 -2
  562. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs +2 -2
  563. package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs +2 -2
  564. package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs +2 -2
  565. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs +2 -2
  566. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs +2 -2
  567. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs +2 -2
  568. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs +2 -2
  569. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs +2 -2
  570. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs +2 -2
  571. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs +2 -2
  572. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs +2 -2
  573. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs +2 -2
  574. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs +2 -2
  575. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.get.mjs +41 -0
  576. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.get.mjs.map +1 -0
  577. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs +52 -0
  578. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs.map +1 -0
  579. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/messages/_messageId/read.post.mjs +33 -0
  580. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/messages/_messageId/read.post.mjs.map +1 -0
  581. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/permissions.get.mjs +48 -0
  582. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/permissions.get.mjs.map +1 -0
  583. package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs +2 -2
  584. package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs +2 -2
  585. package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs +2 -2
  586. package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs +2 -2
  587. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs +10 -14
  588. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs.map +1 -1
  589. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs +2 -2
  590. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs +15 -28
  591. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs.map +1 -1
  592. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs +3 -2
  593. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs.map +1 -1
  594. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs +29 -23
  595. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs.map +1 -1
  596. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs +9 -4
  597. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs.map +1 -1
  598. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs +22 -10
  599. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs.map +1 -1
  600. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs +34 -0
  601. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs.map +1 -0
  602. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId/approve.post.mjs +33 -0
  603. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId/approve.post.mjs.map +1 -0
  604. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId_.delete.mjs +34 -0
  605. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId_.delete.mjs.map +1 -0
  606. package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs +35 -0
  607. package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs.map +1 -0
  608. package/.output/server/chunks/routes/api/workshop/channels/_id/members/leave.post.mjs +33 -0
  609. package/.output/server/chunks/routes/api/workshop/channels/_id/members/leave.post.mjs.map +1 -0
  610. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs +2 -2
  611. package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs +2 -2
  612. package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs +2 -2
  613. package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs +2 -2
  614. package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs +2 -2
  615. package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs +22 -6
  616. package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs.map +1 -1
  617. package/.output/server/chunks/routes/api/workshop/channels.get.mjs +21 -3
  618. package/.output/server/chunks/routes/api/workshop/channels.get.mjs.map +1 -1
  619. package/.output/server/chunks/routes/api/workshop/channels.post.mjs +5 -5
  620. package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs +2 -2
  621. package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs +2 -2
  622. package/.output/server/chunks/routes/api/workshop/daq/_id/frames/content.get.mjs +2 -2
  623. package/.output/server/chunks/routes/api/workshop/daq/_id/frames.get.mjs +2 -2
  624. package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +2 -2
  625. package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs +2 -2
  626. package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs +2 -2
  627. package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs +2 -2
  628. package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs +2 -2
  629. package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs +2 -2
  630. package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs +2 -2
  631. package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs +2 -2
  632. package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs +2 -2
  633. package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +2 -2
  634. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +2 -2
  635. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +2 -2
  636. package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +2 -2
  637. package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +2 -2
  638. package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +2 -2
  639. package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +2 -2
  640. package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs +2 -2
  641. package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +2 -2
  642. package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +2 -2
  643. package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +2 -2
  644. package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +2 -2
  645. package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +2 -2
  646. package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +2 -2
  647. package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +2 -2
  648. package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +2 -2
  649. package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +2 -2
  650. package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +2 -2
  651. package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +2 -2
  652. package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +2 -2
  653. package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +2 -2
  654. package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +2 -2
  655. package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs +2 -2
  656. package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs +2 -2
  657. package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +2 -2
  658. package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +2 -2
  659. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +2 -2
  660. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +2 -2
  661. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +2 -2
  662. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs +2 -2
  663. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +2 -2
  664. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +2 -2
  665. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +2 -2
  666. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +2 -2
  667. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs +2 -2
  668. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs +2 -2
  669. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs +2 -2
  670. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs +2 -2
  671. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +2 -2
  672. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +2 -2
  673. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +2 -2
  674. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs +2 -2
  675. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/revert.post.mjs +2 -2
  676. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +2 -2
  677. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/versions.get.mjs +2 -2
  678. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +2 -2
  679. package/.output/server/chunks/routes/api/workshop/dcw/recipes/index.patch.mjs +2 -2
  680. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +2 -2
  681. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +2 -2
  682. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +2 -2
  683. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +2 -2
  684. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +2 -2
  685. package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +2 -2
  686. package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +2 -2
  687. package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +2 -2
  688. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +2 -2
  689. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +2 -2
  690. package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs +1 -1
  691. package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs +2 -2
  692. package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs +2 -2
  693. package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs +11 -4
  694. package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs.map +1 -1
  695. package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs +28 -36
  696. package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs.map +1 -1
  697. package/.output/server/chunks/routes/api/workshop/index.get.mjs +2 -2
  698. package/.output/server/chunks/routes/api/workshop/index.post.mjs +2 -2
  699. package/.output/server/chunks/routes/api/workshop/index.put.mjs +2 -2
  700. package/.output/server/chunks/routes/api/workshop/index10.get.mjs +26 -12
  701. package/.output/server/chunks/routes/api/workshop/index10.get.mjs.map +1 -1
  702. package/.output/server/chunks/routes/api/workshop/index11.get.mjs +12 -7
  703. package/.output/server/chunks/routes/api/workshop/index11.get.mjs.map +1 -1
  704. package/.output/server/chunks/routes/api/workshop/index12.get.mjs +3 -3
  705. package/.output/server/chunks/routes/api/workshop/index12.get.mjs.map +1 -1
  706. package/.output/server/chunks/routes/api/workshop/index13.get.mjs +29 -0
  707. package/.output/server/chunks/routes/api/workshop/index13.get.mjs.map +1 -0
  708. package/.output/server/chunks/routes/api/workshop/index14.get.mjs +28 -0
  709. package/.output/server/chunks/routes/api/workshop/index14.get.mjs.map +1 -0
  710. package/.output/server/chunks/routes/api/workshop/index2.get.mjs +2 -2
  711. package/.output/server/chunks/routes/api/workshop/index2.post.mjs +2 -2
  712. package/.output/server/chunks/routes/api/workshop/index3.get.mjs +2 -2
  713. package/.output/server/chunks/routes/api/workshop/index3.post.mjs +2 -2
  714. package/.output/server/chunks/routes/api/workshop/index4.get.mjs +2 -2
  715. package/.output/server/chunks/routes/api/workshop/index4.post.mjs +2 -2
  716. package/.output/server/chunks/routes/api/workshop/index5.get.mjs +2 -2
  717. package/.output/server/chunks/routes/api/workshop/index5.post.mjs +2 -2
  718. package/.output/server/chunks/routes/api/workshop/index6.get.mjs +2 -2
  719. package/.output/server/chunks/routes/api/workshop/index6.post.mjs +2 -2
  720. package/.output/server/chunks/routes/api/workshop/index7.get.mjs +2 -2
  721. package/.output/server/chunks/routes/api/workshop/index7.post.mjs +14 -16
  722. package/.output/server/chunks/routes/api/workshop/index7.post.mjs.map +1 -1
  723. package/.output/server/chunks/routes/api/workshop/index8.get.mjs +40 -19
  724. package/.output/server/chunks/routes/api/workshop/index8.get.mjs.map +1 -1
  725. package/.output/server/chunks/routes/api/workshop/index8.post.mjs +19 -5
  726. package/.output/server/chunks/routes/api/workshop/index8.post.mjs.map +1 -1
  727. package/.output/server/chunks/routes/api/workshop/index9.get.mjs +20 -24
  728. package/.output/server/chunks/routes/api/workshop/index9.get.mjs.map +1 -1
  729. package/.output/server/chunks/routes/api/workshop/index9.post.mjs +30 -0
  730. package/.output/server/chunks/routes/api/workshop/index9.post.mjs.map +1 -0
  731. package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs +2 -2
  732. package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs +2 -2
  733. package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs +2 -2
  734. package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs +41 -0
  735. package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs.map +1 -0
  736. package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +2 -2
  737. package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +2 -2
  738. package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs +2 -2
  739. package/.output/server/chunks/routes/api/workshop/runtime.get.mjs +2 -2
  740. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +2 -2
  741. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +2 -2
  742. package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs +2 -2
  743. package/.output/server/chunks/routes/api/workshop/schedules/_id/run.post.mjs +29 -0
  744. package/.output/server/chunks/routes/api/workshop/schedules/_id/run.post.mjs.map +1 -0
  745. package/.output/server/chunks/routes/api/workshop/schedules/_id/runs.get.mjs +31 -0
  746. package/.output/server/chunks/routes/api/workshop/schedules/_id/runs.get.mjs.map +1 -0
  747. package/.output/server/chunks/routes/api/workshop/schedules/_id_.delete.mjs +30 -0
  748. package/.output/server/chunks/routes/api/workshop/schedules/_id_.delete.mjs.map +1 -0
  749. package/.output/server/chunks/routes/api/workshop/schedules/_id_.get.mjs +29 -0
  750. package/.output/server/chunks/routes/api/workshop/schedules/_id_.get.mjs.map +1 -0
  751. package/.output/server/chunks/routes/api/workshop/schedules/_id_.patch.mjs +40 -0
  752. package/.output/server/chunks/routes/api/workshop/schedules/_id_.patch.mjs.map +1 -0
  753. package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs +2 -2
  754. package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs +2 -2
  755. package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs +2 -2
  756. package/.output/server/chunks/routes/api/workshop/tasks/_id/reassign.post.mjs +39 -0
  757. package/.output/server/chunks/routes/api/workshop/tasks/_id/reassign.post.mjs.map +1 -0
  758. package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs +2 -2
  759. package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs +2 -2
  760. package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs +44 -0
  761. package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs.map +1 -0
  762. package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs +9 -5
  763. package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs.map +1 -1
  764. package/.output/server/chunks/routes/api/workshop/tasks.get.mjs +2 -2
  765. package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs +2 -2
  766. package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs +2 -2
  767. package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs +2 -2
  768. package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs +2 -2
  769. package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs +2 -2
  770. package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs +2 -2
  771. package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs +2 -2
  772. package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs +2 -2
  773. package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs +2 -2
  774. package/.output/server/chunks/routes/api/workshop/users/me.get.mjs +2 -2
  775. package/.output/server/chunks/routes/api/workshop/users/register.post.mjs +2 -2
  776. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +3 -3
  777. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs +2 -2
  778. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs +2 -2
  779. package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs +2 -2
  780. package/.output/server/chunks/routes/renderer.mjs +3 -3
  781. package/.output/server/chunks/virtual/entry.mjs +6055 -1624
  782. package/.output/server/chunks/virtual/entry.mjs.map +1 -1
  783. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  784. package/.output/server/index.mjs +15 -5549
  785. package/.output/server/index.mjs.map +1 -1
  786. package/.output/server/package.json +1 -1
  787. package/README-zh.md +102 -48
  788. package/README.md +105 -38
  789. package/app/components/AppHeader.vue +26 -703
  790. package/app/components/aml/AmlDatasetFormModal.vue +279 -0
  791. package/app/components/aml/AmlDatasetTable.vue +319 -0
  792. package/app/components/aml/AmlEnvPanel.vue +230 -0
  793. package/app/components/aml/AmlExperimentsTable.vue +142 -0
  794. package/app/components/aml/AmlInfraBanner.vue +23 -0
  795. package/app/components/aml/AmlJobsTable.vue +248 -0
  796. package/app/components/aml/AmlModelsTable.vue +173 -0
  797. package/app/components/aml/AmlOverviewBar.vue +62 -0
  798. package/app/components/aml/AmlPageHeader.vue +47 -0
  799. package/app/components/aml/AmlPredictConsole.vue +201 -0
  800. package/app/components/app-header/HeaderTools.vue +208 -0
  801. package/app/components/app-header/HitlBell.vue +423 -0
  802. package/app/components/app-header/TrailNav.vue +261 -0
  803. package/app/components/app-header/UserChip.vue +150 -0
  804. package/app/components/daq/DaqAddNodeModal.vue +209 -0
  805. package/app/components/daq/DaqAlarmBar.vue +46 -0
  806. package/app/components/daq/DaqControlCard.vue +159 -0
  807. package/app/components/daq/DaqDetailFramesTile.vue +139 -0
  808. package/app/components/daq/DaqDetailHistoryCard.vue +128 -0
  809. package/app/components/daq/DaqDetailLiveCard.vue +92 -0
  810. package/app/components/daq/DaqDetailParamForm.vue +350 -0
  811. package/app/components/daq/DaqInfraBanner.vue +31 -0
  812. package/app/components/daq/DaqLineBanner.vue +47 -0
  813. package/app/components/daq/DaqNodePanel.vue +396 -0
  814. package/app/components/daq/DaqOptPanel.vue +197 -0
  815. package/app/components/daq/DaqTemplateModal.vue +246 -0
  816. package/app/components/dashboard/DashboardFleetPanel.vue +228 -0
  817. package/app/components/dashboard/DashboardGaugeBand.vue +78 -0
  818. package/app/components/dashboard/DashboardHarnessPanel.vue +149 -0
  819. package/app/components/dashboard/DashboardHero.vue +209 -0
  820. package/app/components/dashboard/DashboardLineStatePanel.vue +78 -0
  821. package/app/components/dashboard/DashboardNodeStatePanel.vue +46 -0
  822. package/app/components/dashboard/DashboardPipelinePanel.vue +46 -0
  823. package/app/components/dashboard/DashboardTrendPanel.vue +83 -0
  824. package/app/components/dashboard/DashboardWritePanel.vue +52 -0
  825. package/app/components/dcw/DcwAddNodeModal.vue +328 -0
  826. package/app/components/dcw/DcwAdoptCard.vue +89 -0
  827. package/app/components/dcw/DcwCreateLineModal.vue +105 -0
  828. package/app/components/dcw/DcwDeleteLineModal.vue +73 -0
  829. package/app/components/dcw/DcwDetailHead.vue +65 -0
  830. package/app/components/dcw/DcwDetailTemplateModal.vue +238 -0
  831. package/app/components/dcw/DcwEditLineModal.vue +108 -0
  832. package/app/components/dcw/DcwGatewayBar.vue +94 -0
  833. package/app/components/dcw/DcwLedgerCard.vue +160 -0
  834. package/app/components/dcw/DcwLineCard.vue +117 -0
  835. package/app/components/dcw/DcwLineRunCard.vue +158 -0
  836. package/app/components/dcw/DcwNodesTable.vue +253 -0
  837. package/app/components/dcw/DcwProductCreateModal.vue +113 -0
  838. package/app/components/dcw/DcwQueryCard.vue +251 -0
  839. package/app/components/dcw/DcwRecipeEditModal.vue +285 -0
  840. package/app/components/dcw/DcwRecipeHistoryModal.vue +165 -0
  841. package/app/components/dcw/DcwRecipePanel.vue +367 -0
  842. package/app/components/dcw/DcwRunDataModal.vue +191 -0
  843. package/app/components/dcw/DcwTemplateModal.vue +227 -0
  844. package/app/components/dcw/DcwWriteHistoryCard.vue +96 -0
  845. package/app/components/logs/LogsEventTable.vue +309 -0
  846. package/app/components/logs/LogsFilterCard.vue +234 -0
  847. package/app/components/logs/LogsManualModal.vue +231 -0
  848. package/app/components/logs/LogsPageHead.vue +71 -0
  849. package/app/components/monitor/MonitorAgentTable.vue +143 -0
  850. package/app/components/monitor/MonitorChannelTable.vue +80 -0
  851. package/app/components/monitor/MonitorLoginGate.vue +24 -0
  852. package/app/components/monitor/MonitorPageHead.vue +92 -0
  853. package/app/components/monitor/MonitorProcessTable.vue +159 -0
  854. package/app/components/monitor/MonitorStatGrid.vue +165 -0
  855. package/app/components/settings/AppearancePane.vue +282 -0
  856. package/app/components/settings/PluginsSection.vue +280 -0
  857. package/app/components/settings/RuntimeFieldRow.vue +189 -0
  858. package/app/components/settings/RuntimeGroupSection.vue +290 -0
  859. package/app/components/settings/RuntimePane.vue +235 -0
  860. package/app/components/settings/SystemPane.vue +83 -0
  861. package/app/components/tokens/TokenCreateModal.vue +42 -0
  862. package/app/components/tokens/TokenOnceModal.vue +164 -0
  863. package/app/components/tokens/TokenRenameModal.vue +40 -0
  864. package/app/components/tokens/TokensAuthGate.vue +47 -0
  865. package/app/components/tokens/TokensPageHead.vue +76 -0
  866. package/app/components/tokens/TokensTable.vue +227 -0
  867. package/app/components/workshop/AgentLanesView.vue +35 -755
  868. package/app/components/workshop/ChannelSessionList.vue +58 -493
  869. package/app/components/workshop/ChatMemberPanel.vue +555 -0
  870. package/app/components/workshop/ChatTimeline.vue +569 -0
  871. package/app/components/workshop/CommandPalette.vue +1 -0
  872. package/app/components/workshop/Composer.vue +224 -511
  873. package/app/components/workshop/DeviceTwinPanel.vue +23 -499
  874. package/app/components/workshop/EventBlock.vue +20 -408
  875. package/app/components/workshop/MemoryPanel.vue +405 -364
  876. package/app/components/workshop/MultiChannelView.vue +189 -189
  877. package/app/components/workshop/NotificationCenter.vue +325 -0
  878. package/app/components/workshop/TaskBoardView.vue +260 -686
  879. package/app/components/workshop/TaskInspectorDrawer.vue +484 -390
  880. package/app/components/workshop/TranscriptTimeline.vue +60 -438
  881. package/app/components/workshop/agents/AgentTemplateEditModal.vue +139 -0
  882. package/app/components/workshop/agents/AgentTemplateTable.vue +269 -0
  883. package/app/components/workshop/agents/AgentTemplateToolbar.vue +67 -0
  884. package/app/components/workshop/blocks/ClusterRoute.vue +1 -1
  885. package/app/components/workshop/blocks/EventBlockAvatar.vue +114 -0
  886. package/app/components/workshop/blocks/EventBlockHead.vue +232 -0
  887. package/app/components/workshop/composer/ComposerToolbar.vue +278 -0
  888. package/app/components/workshop/composer/MentionMenu.vue +135 -0
  889. package/app/components/workshop/composer/ReplyChip.vue +65 -0
  890. package/app/components/workshop/composer/StatusChip.vue +171 -0
  891. package/app/components/workshop/console/CenterPane.vue +94 -0
  892. package/app/components/workshop/console/Dock.vue +71 -0
  893. package/app/components/workshop/console/LeftPane.vue +84 -0
  894. package/app/components/workshop/console/RightPane.vue +95 -0
  895. package/app/components/workshop/console/Topbar.vue +289 -0
  896. package/app/components/workshop/device-twin/DeviceTwinCard.vue +265 -0
  897. package/app/components/workshop/device-twin/DeviceTwinDcwSection.vue +203 -0
  898. package/app/components/workshop/lanes/AddMemberModal.vue +270 -0
  899. package/app/components/workshop/lanes/EditMemberModal.vue +106 -0
  900. package/app/components/workshop/lanes/LaneHeader.vue +432 -0
  901. package/app/components/workshop/lanes/LanesToolbar.vue +97 -0
  902. package/app/components/workshop/session-list/ChannelSettingsModal.vue +329 -0
  903. package/app/components/workshop/session-list/MountChannelModal.vue +124 -0
  904. package/app/components/workshop/session-list/SaveTemplateModal.vue +93 -0
  905. package/app/components/workshop/task-board/Card.vue +172 -0
  906. package/app/components/workshop/task-board/Column.vue +151 -0
  907. package/app/components/workshop/task-board/List.vue +157 -0
  908. package/app/components/workshop/task-board/StatusMenu.vue +88 -0
  909. package/app/components/workshop/teams/TeamAddMemberModal.vue +53 -0
  910. package/app/components/workshop/teams/TeamCard.vue +183 -0
  911. package/app/components/workshop/teams/TeamCreateModal.vue +94 -0
  912. package/app/components/workshop/teams/TeamDeployModal.vue +40 -0
  913. package/app/components/workshop/teams/TeamPluginModal.vue +119 -0
  914. package/app/components/workshop/terminal/OmpTerminalPanel.vue +19 -760
  915. package/app/components/workshop/terminal/TerminalHitlCard.vue +170 -0
  916. package/app/components/workshop/town/TownScene.ts +72 -961
  917. package/app/components/workshop/town/TownScene3D.ts +357 -4045
  918. package/app/components/workshop/town/TownView.vue +461 -7405
  919. package/app/components/workshop/town/components/TownAgentBindings.vue +380 -0
  920. package/app/components/workshop/town/components/TownAgentInspector.vue +546 -0
  921. package/app/components/workshop/town/components/TownAlarmList.vue +147 -0
  922. package/app/components/workshop/town/components/TownBoundaryPanel.vue +350 -0
  923. package/app/components/workshop/town/components/TownCalloutLayer.vue +147 -0
  924. package/app/components/workshop/town/components/TownChannelDock.vue +116 -0
  925. package/app/components/workshop/town/components/TownControlDock.vue +400 -0
  926. package/app/components/workshop/town/components/TownDaqNodeInspector.vue +345 -0
  927. package/app/components/workshop/town/components/TownDaqTree.vue +366 -0
  928. package/app/components/workshop/town/components/TownDcwBindSection.vue +473 -0
  929. package/app/components/workshop/town/components/TownDcwNodeInspector.vue +185 -0
  930. package/app/components/workshop/town/components/TownDcwTree.vue +280 -0
  931. package/app/components/workshop/town/components/TownDeviceBindings.vue +394 -0
  932. package/app/components/workshop/town/components/TownDeviceTransform.vue +248 -0
  933. package/app/components/workshop/town/components/TownEventList.vue +120 -0
  934. package/app/components/workshop/town/components/TownHealthBody.vue +100 -0
  935. package/app/components/workshop/town/components/TownKpiStrip.vue +207 -0
  936. package/app/components/workshop/town/components/TownLeftRail.vue +308 -0
  937. package/app/components/workshop/town/components/TownLoadingMask.vue +61 -0
  938. package/app/components/workshop/town/components/TownNavMap.vue +154 -0
  939. package/app/components/workshop/town/components/TownRightRail.vue +540 -0
  940. package/app/components/workshop/town/components/TownStage.vue +281 -0
  941. package/app/components/workshop/town/components/TownStageTop.vue +238 -0
  942. package/app/components/workshop/town/components/TownStatusBar.vue +108 -0
  943. package/app/components/workshop/town/components/TownTopNav.vue +367 -0
  944. package/app/components/workshop/town/components/TownTrendDock.vue +178 -0
  945. package/app/components/workshop/town/scene/town-scene-agents.ts +254 -0
  946. package/app/components/workshop/town/scene/town-scene-behavior.ts +194 -0
  947. package/app/components/workshop/town/scene/town-scene-bubbles.ts +96 -0
  948. package/app/components/workshop/town/scene/town-scene-core.ts +158 -0
  949. package/app/components/workshop/town/scene/town-scene-models.ts +109 -0
  950. package/app/components/workshop/town/scene/town-scene-visuals.ts +279 -0
  951. package/app/components/workshop/town/scene/town-scene3d-agents.ts +308 -0
  952. package/app/components/workshop/town/scene/town-scene3d-blocks.ts +297 -0
  953. package/app/components/workshop/town/scene/town-scene3d-bubbles.ts +281 -0
  954. package/app/components/workshop/town/scene/town-scene3d-camera.ts +282 -0
  955. package/app/components/workshop/town/scene/town-scene3d-devices.ts +433 -0
  956. package/app/components/workshop/town/scene/town-scene3d-editing.ts +490 -0
  957. package/app/components/workshop/town/scene/town-scene3d-events.ts +173 -0
  958. package/app/components/workshop/town/scene/town-scene3d-factory.ts +412 -0
  959. package/app/components/workshop/town/scene/town-scene3d-hud.ts +110 -0
  960. package/app/components/workshop/town/scene/town-scene3d-lifecycle.ts +144 -0
  961. package/app/components/workshop/town/scene/town-scene3d-links.ts +141 -0
  962. package/app/components/workshop/town/scene/town-scene3d-loop.ts +286 -0
  963. package/app/components/workshop/town/scene/town-scene3d-models.ts +154 -0
  964. package/app/components/workshop/town/scene/town-scene3d-nodes.ts +562 -0
  965. package/app/components/workshop/town/scene/town-scene3d-ranges.ts +273 -0
  966. package/app/components/workshop/town/scene/town-scene3d-renderer.ts +320 -0
  967. package/app/components/workshop/town/scene/town-scene3d-selection.ts +257 -0
  968. package/app/components/workshop/town/scene/town-scene3d-types.ts +264 -0
  969. package/app/components/workshop/transcript/TranscriptBlockList.vue +68 -0
  970. package/app/components/workshop/transcript/TranscriptEarlierPager.vue +81 -0
  971. package/app/components/workshop/transcript/TranscriptEmptyState.vue +153 -0
  972. package/app/components/workshop/transcript/TranscriptFilterBar.vue +126 -0
  973. package/app/components/workshop/workbench/AuthGate.vue +179 -0
  974. package/app/components/workshop/workbench/CreateWorkspaceModal.vue +36 -0
  975. package/app/components/workshop/workbench/WorkbenchHead.vue +129 -0
  976. package/app/components/workshop/workbench/WorkspaceCard.vue +198 -0
  977. package/app/components/workshop/workbench/WorkspaceEmpty.vue +56 -0
  978. package/app/composables/workshop/device-twin-types.ts +29 -0
  979. package/app/composables/workshop/event-blocks/attention.ts +58 -0
  980. package/app/composables/workshop/event-blocks/classify.ts +44 -0
  981. package/app/composables/workshop/event-blocks/clusterer.ts +231 -0
  982. package/app/composables/workshop/event-blocks/constants.ts +48 -0
  983. package/app/composables/workshop/event-blocks/fold-stream.ts +45 -0
  984. package/app/composables/workshop/event-blocks/markdown.ts +81 -0
  985. package/app/composables/workshop/event-blocks/mentions.ts +49 -0
  986. package/app/composables/workshop/event-blocks/text-utils.ts +100 -0
  987. package/app/composables/workshop/event-blocks/types.ts +40 -0
  988. package/app/composables/workshop/town/town-relay-props.ts +226 -0
  989. package/app/composables/workshop/town/town-view-types.ts +145 -0
  990. package/app/composables/workshop/town/useTownAgentBindings.ts +115 -0
  991. package/app/composables/workshop/town/useTownAgentChat.ts +203 -0
  992. package/app/composables/workshop/town/useTownAlarms.ts +36 -0
  993. package/app/composables/workshop/town/useTownCallouts.ts +174 -0
  994. package/app/composables/workshop/town/useTownChannels.ts +220 -0
  995. package/app/composables/workshop/town/useTownHealth.ts +66 -0
  996. package/app/composables/workshop/town/useTownHudTickers.ts +77 -0
  997. package/app/composables/workshop/town/useTownLayout.ts +277 -0
  998. package/app/composables/workshop/town/useTownNavMap.ts +301 -0
  999. package/app/composables/workshop/town/useTownNodeBindings.ts +345 -0
  1000. package/app/composables/workshop/town/useTownPanelDrag.ts +91 -0
  1001. package/app/composables/workshop/town/useTownRailData.ts +421 -0
  1002. package/app/composables/workshop/town/useTownSceneControl.ts +92 -0
  1003. package/app/composables/workshop/town/useTownSceneInput.ts +275 -0
  1004. package/app/composables/workshop/town/useTownSceneRuntime.ts +390 -0
  1005. package/app/composables/workshop/town/useTownSheets.ts +41 -0
  1006. package/app/composables/workshop/town/useTownTrends.ts +93 -0
  1007. package/app/composables/workshop/useChannelList.ts +88 -0
  1008. package/app/composables/workshop/useChannelTerminals.ts +65 -0
  1009. package/app/composables/workshop/useComposerMentions.ts +130 -0
  1010. package/app/composables/workshop/useDeviceTwinDcwWrite.ts +77 -0
  1011. package/app/composables/workshop/useDeviceTwinPanel.ts +56 -0
  1012. package/app/composables/workshop/useEventBlockView.ts +159 -0
  1013. package/app/composables/workshop/useEventBlocks.ts +33 -662
  1014. package/app/composables/workshop/useHitlAnswer.ts +184 -0
  1015. package/app/composables/workshop/useLaneWidths.ts +27 -0
  1016. package/app/composables/workshop/useOmpTerminalSession.ts +424 -0
  1017. package/app/composables/workshop/usePluginAdmin.ts +152 -0
  1018. package/app/composables/workshop/useRuntimeConfigDraft.ts +118 -0
  1019. package/app/composables/workshop/useSettingsGroups.ts +243 -0
  1020. package/app/composables/workshop/useTaskBoardColumns.ts +47 -0
  1021. package/app/composables/workshop/useTaskBoardDrag.ts +78 -0
  1022. package/app/composables/workshop/useTaskBoardMenu.ts +60 -0
  1023. package/app/composables/workshop/useTaskBoardTasks.ts +74 -0
  1024. package/app/composables/workshop/useTerminalRenderer.ts +308 -0
  1025. package/app/composables/workshop/useTranscriptEnterStage.ts +48 -0
  1026. package/app/composables/workshop/useTranscriptHistory.ts +52 -0
  1027. package/app/composables/workshop/useTranscriptScroll.ts +113 -0
  1028. package/app/composables/workshop/useWorkshopApi.ts +85 -2
  1029. package/app/composables/workshop/useWorkshopWs.ts +265 -126
  1030. package/app/config/schema.ts +13 -0
  1031. package/app/layouts/town.vue +21 -16
  1032. package/app/pages/aml/api.ts +6 -0
  1033. package/app/pages/aml/composables/useAmlDatasets.ts +38 -0
  1034. package/app/pages/aml/composables/useAmlEntities.ts +57 -0
  1035. package/app/pages/aml/composables/useAmlEnv.ts +191 -0
  1036. package/app/pages/aml/composables/useAmlExperiments.ts +45 -0
  1037. package/app/pages/aml/composables/useAmlFormat.ts +44 -0
  1038. package/app/pages/aml/composables/useAmlJobs.ts +131 -0
  1039. package/app/pages/aml/composables/useAmlModels.ts +56 -0
  1040. package/app/pages/aml/composables/useAmlNotes.ts +47 -0
  1041. package/app/pages/aml/composables/useAmlPredict.ts +93 -0
  1042. package/app/pages/aml/constants.ts +63 -0
  1043. package/app/pages/aml/index.vue +143 -2596
  1044. package/app/pages/aml/styles.css +420 -0
  1045. package/app/pages/aml/types.ts +189 -0
  1046. package/app/pages/composables/useDashboardCharts.ts +192 -0
  1047. package/app/pages/composables/useDashboardData.ts +144 -0
  1048. package/app/pages/daq/[id].vue +59 -929
  1049. package/app/pages/daq/composables/useDaqAddNode.ts +126 -0
  1050. package/app/pages/daq/composables/useDaqDetailBinding.ts +29 -0
  1051. package/app/pages/daq/composables/useDaqDetailFrames.ts +42 -0
  1052. package/app/pages/daq/composables/useDaqDetailHistory.ts +199 -0
  1053. package/app/pages/daq/composables/useDaqDetailNode.ts +53 -0
  1054. package/app/pages/daq/composables/useDaqDetailParams.ts +138 -0
  1055. package/app/pages/daq/composables/useDaqFilters.ts +187 -0
  1056. package/app/pages/daq/composables/useDaqNodeWindow.ts +86 -0
  1057. package/app/pages/daq/composables/useDaqOptimizations.ts +99 -0
  1058. package/app/pages/daq/composables/useDaqTemplates.ts +152 -0
  1059. package/app/pages/daq/daq-page.css +681 -0
  1060. package/app/pages/daq/index.vue +132 -2188
  1061. package/app/pages/dcw/[id].vue +297 -2615
  1062. package/app/pages/dcw/composables/useDcwAddNode.ts +121 -0
  1063. package/app/pages/dcw/composables/useDcwCards.ts +27 -0
  1064. package/app/pages/dcw/composables/useDcwDetailScope.ts +145 -0
  1065. package/app/pages/dcw/composables/useDcwDetailTemplates.ts +94 -0
  1066. package/app/pages/dcw/composables/useDcwFilter.ts +29 -0
  1067. package/app/pages/dcw/composables/useDcwLedger.ts +34 -0
  1068. package/app/pages/dcw/composables/useDcwLineMutations.ts +115 -0
  1069. package/app/pages/dcw/composables/useDcwLineRun.ts +60 -0
  1070. package/app/pages/dcw/composables/useDcwProducts.ts +54 -0
  1071. package/app/pages/dcw/composables/useDcwQuery.ts +68 -0
  1072. package/app/pages/dcw/composables/useDcwQuickActions.ts +47 -0
  1073. package/app/pages/dcw/composables/useDcwRecipes.ts +239 -0
  1074. package/app/pages/dcw/composables/useDcwTemplates.ts +50 -0
  1075. package/app/pages/dcw/composables/useDcwWrites.ts +81 -0
  1076. package/app/pages/dcw/dcw-page.css +344 -0
  1077. package/app/pages/dcw/index.vue +64 -986
  1078. package/app/pages/dcw/types.ts +9 -0
  1079. package/app/pages/index.vue +64 -925
  1080. package/app/pages/logs/composables/useLogsFormat.ts +43 -0
  1081. package/app/pages/logs/composables/useLogsManual.ts +63 -0
  1082. package/app/pages/logs/composables/useLogsQuery.ts +52 -0
  1083. package/app/pages/logs/composables/useLogsScope.ts +39 -0
  1084. package/app/pages/logs/index.vue +57 -728
  1085. package/app/pages/monitor/composables/useMonitorColumns.ts +69 -0
  1086. package/app/pages/monitor/composables/useMonitorData.ts +124 -0
  1087. package/app/pages/monitor/composables/useMonitorFormat.ts +39 -0
  1088. package/app/pages/monitor/composables/useMonitorTerminal.ts +28 -0
  1089. package/app/pages/monitor/types.ts +61 -0
  1090. package/app/pages/monitor.vue +88 -658
  1091. package/app/pages/permissions/index.vue +3 -2
  1092. package/app/pages/plugins/index.vue +3 -2
  1093. package/app/pages/settings.vue +7 -1403
  1094. package/app/pages/tokens/composables/useTokenClipboard.ts +33 -0
  1095. package/app/pages/tokens/composables/useTokenCreate.ts +93 -0
  1096. package/app/pages/tokens/composables/useTokenRename.ts +54 -0
  1097. package/app/pages/tokens/composables/useTokenReveal.ts +84 -0
  1098. package/app/pages/tokens/composables/useTokensList.ts +60 -0
  1099. package/app/pages/tokens.vue +79 -597
  1100. package/app/pages/users.vue +5 -4
  1101. package/app/pages/workshop/agents.vue +47 -529
  1102. package/app/pages/workshop/composables/useAgentHarnessOptions.ts +59 -0
  1103. package/app/pages/workshop/composables/useAgentTemplateActions.ts +42 -0
  1104. package/app/pages/workshop/composables/useAgentTemplateDialogState.ts +24 -0
  1105. package/app/pages/workshop/composables/useAgentTemplateForm.ts +88 -0
  1106. package/app/pages/workshop/composables/useAgentTemplatesCatalog.ts +92 -0
  1107. package/app/pages/workshop/composables/useTeamActions.ts +44 -0
  1108. package/app/pages/workshop/composables/useTeamAddMemberDialog.ts +49 -0
  1109. package/app/pages/workshop/composables/useTeamCreateDialog.ts +67 -0
  1110. package/app/pages/workshop/composables/useTeamDeployDialog.ts +49 -0
  1111. package/app/pages/workshop/composables/useTeamDialogState.ts +46 -0
  1112. package/app/pages/workshop/composables/useTeamPluginDialog.ts +72 -0
  1113. package/app/pages/workshop/composables/useTeamsCatalog.ts +100 -0
  1114. package/app/pages/workshop/composables/useWorkbenchAuth.ts +125 -0
  1115. package/app/pages/workshop/composables/useWorkbenchWorkspaces.ts +123 -0
  1116. package/app/pages/workshop/composables/useWorkspaceAuth.ts +31 -0
  1117. package/app/pages/workshop/composables/useWorkspaceChannels.ts +62 -0
  1118. package/app/pages/workshop/composables/useWorkspacePanels.ts +56 -0
  1119. package/app/pages/workshop/composables/useWorkspaceShell.ts +136 -0
  1120. package/app/pages/workshop/index.vue +68 -620
  1121. package/app/pages/workshop/schedules.vue +553 -0
  1122. package/app/pages/workshop/teams.vue +58 -568
  1123. package/app/pages/workshop/w/[wsId].vue +113 -596
  1124. package/app/stores/workshop/chat.ts +434 -0
  1125. package/app/stores/workshop/entities.ts +385 -283
  1126. package/app/stores/workshop/events.ts +5 -4
  1127. package/app/stores/workshop/hitl.ts +110 -7
  1128. package/app/stores/workshop/narrow-fetch.ts +23 -0
  1129. package/app/stores/workshop/notifications.ts +288 -0
  1130. package/app/stores/workshop/user.ts +23 -10
  1131. package/app/stores/workshop/workspaces.ts +12 -2
  1132. package/config.yml +7 -1
  1133. package/docs/aml.md +11 -0
  1134. package/docs/cli.en.md +5 -5
  1135. package/docs/cli.md +5 -5
  1136. package/docs/full-test-plan.md +15 -1
  1137. package/docs/plugins.en.md +1 -1
  1138. package/docs/plugins.md +1 -1
  1139. package/docs/sdk.en.md +1 -1
  1140. package/docs/sdk.md +1 -1
  1141. package/i18n/dicts/dcwDetail.json +2 -0
  1142. package/i18n/locales/en.ts +71 -0
  1143. package/i18n/locales/zh-CN.ts +71 -0
  1144. package/package.json +2 -3
  1145. package/scripts/_audit/detached-instance.mjs +112 -0
  1146. package/scripts/_audit/schedules-ui/schedules-page.png +0 -0
  1147. package/scripts/_audit/schedules-ui/workspace-channel-tag.png +0 -0
  1148. package/scripts/_audit/stubs/nuxt-imports.mjs +67 -0
  1149. package/scripts/_audit/ts-register-hook.mjs +12 -0
  1150. package/scripts/_audit/ts-resolve-hook.mjs +25 -5
  1151. package/scripts/_audit/watchdog-recovery-test.mjs +24 -2
  1152. package/scripts/_aw-packaged-start.cjs +22 -0
  1153. package/scripts/_aw0746-stage12.mjs +94 -0
  1154. package/scripts/_aw0746-stage34.mjs +134 -0
  1155. package/scripts/_aw0746-stage5.mjs +106 -0
  1156. package/scripts/_aw0746-stage6-aml.mjs +177 -0
  1157. package/scripts/_aw0746-stage6b-train-sweep.mjs +142 -0
  1158. package/scripts/_aw0746-stage7-twin.mjs +259 -0
  1159. package/scripts/_aw0746-train-strong.py +142 -0
  1160. package/scripts/_dbg-comm-verify.mjs +188 -0
  1161. package/scripts/_dbg-full-feature-e2e.mjs +19 -11
  1162. package/scripts/_dbg-im-e2e.mjs +169 -0
  1163. package/scripts/_dbg-opt2-run.mjs +114 -0
  1164. package/scripts/_dbg-opt2-setup.mjs +95 -0
  1165. package/scripts/_dbg-param-map-e2e.ts +1 -1
  1166. package/scripts/_dbg-param-map-rest-smoke.mjs +1 -1
  1167. package/scripts/_dbg-real-scenario-e2e.mjs +246 -0
  1168. package/scripts/_dbg-schedule-e2e.mjs +262 -0
  1169. package/scripts/_dbg-schedule-ui-verify.mjs +115 -0
  1170. package/scripts/_dbg-team-matrix.mjs +148 -0
  1171. package/scripts/_dbg-ui-fullcrawl.mjs +91 -0
  1172. package/scripts/_dbg-ui-static-audit.mjs +65 -0
  1173. package/scripts/_dbg-write-lock-e2e.mjs +131 -0
  1174. package/scripts/_plc-sim-detached.cjs +22 -0
  1175. package/scripts/_probe-daq-omp-task.mjs +100 -0
  1176. package/scripts/_probe-daq-scope-default.mjs +123 -0
  1177. package/scripts/_probe-density.cjs +15 -0
  1178. package/scripts/_probe-gate-model.mjs +34 -0
  1179. package/scripts/_probe-model-eligibility.cjs +13 -0
  1180. package/scripts/_probe-recipe-switch.mjs +92 -0
  1181. package/scripts/_provision-injection-line.mjs +39 -0
  1182. package/scripts/_run-matrix.ps1 +53 -0
  1183. package/scripts/_run-real-injection-fifo-goals.mjs +367 -0
  1184. package/scripts/acceptance-aml-db.ts +23 -0
  1185. package/scripts/acceptance-aml-hybrid-live.mjs +94 -0
  1186. package/scripts/acceptance-aml-hybrid-twin.ts +93 -0
  1187. package/scripts/acceptance-hybrid-python.py +51 -0
  1188. package/scripts/aml-ui-smoke.mjs +2 -0
  1189. package/scripts/api-live-e2e.mjs +32 -7
  1190. package/scripts/demo-group-chat-all-real.ts +279 -0
  1191. package/scripts/demo-group-chat-omp-cases.ts +210 -0
  1192. package/scripts/demo-group-chat-omp.ts +184 -0
  1193. package/scripts/demo-group-chat-order.ts +197 -0
  1194. package/scripts/e2e-agent-team.mjs +6 -4
  1195. package/scripts/e2e-agentteam-chat.mjs +473 -0
  1196. package/scripts/e2e-agentteam-real-triage.mjs +421 -0
  1197. package/scripts/e2e-agentteam-task-flow-real.ts +443 -0
  1198. package/scripts/e2e-aw-tui-global.mjs +8 -8
  1199. package/scripts/e2e-channel-isolation.ts +5 -1
  1200. package/scripts/e2e-closedloop/cleanup.mjs +27 -0
  1201. package/scripts/e2e-closedloop/lib.mjs +109 -0
  1202. package/scripts/e2e-closedloop/main.mjs +59 -0
  1203. package/scripts/e2e-closedloop/scenarios-accounts.mjs +208 -0
  1204. package/scripts/e2e-closedloop/scenarios-authz.mjs +190 -0
  1205. package/scripts/e2e-closedloop/scenarios-daq-dcw.mjs +219 -0
  1206. package/scripts/e2e-closedloop/scenarios-plugins.mjs +169 -0
  1207. package/scripts/e2e-closedloop/state.mjs +10 -0
  1208. package/scripts/e2e-crash-cycle.mjs +108 -0
  1209. package/scripts/e2e-full-closedloop.mjs +6 -919
  1210. package/scripts/e2e-hil-multi-user.mjs +307 -0
  1211. package/scripts/e2e-hil-restart.mjs +339 -0
  1212. package/scripts/e2e-hitl-live.mjs +336 -323
  1213. package/scripts/e2e-lead-team-mgmt.ts +1 -1
  1214. package/scripts/e2e-memory-system.ts +70 -89
  1215. package/scripts/e2e-multiharness-team.mjs +32 -15
  1216. package/scripts/e2e-omp-workspace.ts +21 -6
  1217. package/scripts/e2e-parallel-execution.mjs +20 -6
  1218. package/scripts/e2e-plc-plugin-closedloop.mjs +96 -65
  1219. package/scripts/e2e-rest-memory.mjs +26 -11
  1220. package/scripts/e2e-resume-crash.mjs +22 -7
  1221. package/scripts/e2e-task-queue.ts +8 -8
  1222. package/scripts/e2e-template-isolation.mjs +4 -2
  1223. package/scripts/proof-omp-real.ts +189 -0
  1224. package/scripts/real-injection-closed-loop.mjs +383 -0
  1225. package/scripts/test-agent-runtime.ts +5 -1
  1226. package/scripts/test-agentteam-guardrails.ts +113 -0
  1227. package/scripts/test-agentteam-task-chat-flow.ts +420 -0
  1228. package/scripts/test-agentteam-workflow.ts +472 -0
  1229. package/scripts/test-collab-e2e.mjs +17 -3
  1230. package/scripts/test-dcw-read.ts +9 -2
  1231. package/scripts/test-event-persistence.mjs +10 -2
  1232. package/scripts/test-full-system.ts +16 -3
  1233. package/scripts/test-group-chat-hardening.ts +265 -0
  1234. package/scripts/test-group-chat-unit/lib.ts +186 -0
  1235. package/scripts/test-group-chat-unit/main.ts +45 -0
  1236. package/scripts/test-group-chat-unit/section-a-migration.ts +75 -0
  1237. package/scripts/test-group-chat-unit/section-b-permission-matrix.ts +88 -0
  1238. package/scripts/test-group-chat-unit/section-c-member-lifecycle.ts +64 -0
  1239. package/scripts/test-group-chat-unit/section-d-mention-resolution.ts +36 -0
  1240. package/scripts/test-group-chat-unit/section-e-chat-facts.ts +97 -0
  1241. package/scripts/test-group-chat-unit/section-f-user-notifications.ts +52 -0
  1242. package/scripts/test-group-chat-unit/section-g-member-projection.ts +44 -0
  1243. package/scripts/test-group-chat-unit/section-h-outbox-consistency.ts +30 -0
  1244. package/scripts/test-group-chat-unit/section-i-read-idempotency.ts +24 -0
  1245. package/scripts/test-group-chat-unit/section-j-permission-scope.ts +150 -0
  1246. package/scripts/test-group-chat-unit.ts +35 -0
  1247. package/scripts/test-hitl-decision.ts +526 -0
  1248. package/scripts/test-hitl-legacy-channel-auth.ts +143 -0
  1249. package/scripts/test-lane-history-live.mjs +30 -7
  1250. package/scripts/test-memory-vector.ts +10 -0
  1251. package/scripts/test-orchestration.ts +7 -2
  1252. package/scripts/test-persistence-lazy.ts +7 -1
  1253. package/scripts/test-prompt-system.mjs +46 -20
  1254. package/scripts/test-route-reason.mjs +9 -2
  1255. package/scripts/test-schedule-runtime.ts +309 -0
  1256. package/scripts/test-scheduler-loop/lib.ts +321 -0
  1257. package/scripts/test-scheduler-loop/main.ts +40 -0
  1258. package/scripts/test-scheduler-loop/scenarios-modes.ts +95 -0
  1259. package/scripts/test-scheduler-loop/scenarios-runtime.ts +58 -0
  1260. package/scripts/test-scheduler-loop/scenarios-supervise.ts +183 -0
  1261. package/scripts/test-scheduler-loop/scenarios-triage.ts +102 -0
  1262. package/scripts/test-scheduler-loop.ts +5 -460
  1263. package/scripts/test-supervision-watchdog.ts +105 -0
  1264. package/scripts/test-task-engine.ts +27 -5
  1265. package/scripts/test-task-lease-fencing.ts +154 -0
  1266. package/scripts/test-terminal-e2e.mjs +9 -3
  1267. package/scripts/three-system-e2e/lib.mjs +79 -0
  1268. package/scripts/three-system-e2e/main.mjs +40 -0
  1269. package/scripts/three-system-e2e/phases/phase-0-user-token.mjs +42 -0
  1270. package/scripts/three-system-e2e/phases/phase-0a2-line-autoselect.mjs +35 -0
  1271. package/scripts/three-system-e2e/phases/phase-0b-fixture-grants.mjs +39 -0
  1272. package/scripts/three-system-e2e/phases/phase-0c-plugin-outbound-auth.mjs +95 -0
  1273. package/scripts/three-system-e2e/phases/stage-1-health.mjs +47 -0
  1274. package/scripts/three-system-e2e/phases/stage-2-5-team-plugins.mjs +84 -0
  1275. package/scripts/three-system-e2e/phases/stage-2-teams-tools-hitl.mjs +184 -0
  1276. package/scripts/three-system-e2e/phases/stage-3-diag.mjs +73 -0
  1277. package/scripts/three-system-e2e/phases/stage-4-plugin-toggle.mjs +53 -0
  1278. package/scripts/three-system-e2e/state.mjs +87 -0
  1279. package/scripts/three-system-e2e.mjs +24 -646
  1280. package/scripts/typecheck.mjs +75 -0
  1281. package/scripts/ui/lib.mjs +14 -2
  1282. package/scripts/ui/smoke-refactor.mjs +258 -0
  1283. package/scripts/verify-a2a-live.mjs +15 -1
  1284. package/scripts/verify-ws-events.mjs +19 -1
  1285. package/server/api/system/monitor/terminal/ws.ts +51 -1
  1286. package/server/api/workshop/agent-tools/approvals/[id]/decide.post.ts +59 -5
  1287. package/server/api/workshop/agent-tools/approvals/index.get.ts +28 -3
  1288. package/server/api/workshop/channel-templates/[id]/instantiate.post.ts +6 -1
  1289. package/server/api/workshop/channels/[id]/chat/messages/[messageId]/read.post.ts +22 -0
  1290. package/server/api/workshop/channels/[id]/chat/messages/index.get.ts +29 -0
  1291. package/server/api/workshop/channels/[id]/chat/messages/index.post.ts +51 -0
  1292. package/server/api/workshop/channels/[id]/chat/permissions.get.ts +35 -0
  1293. package/server/api/workshop/channels/[id]/index.patch.ts +34 -8
  1294. package/server/api/workshop/channels/[id]/members/[userId]/approve.post.ts +20 -0
  1295. package/server/api/workshop/channels/[id]/members/[userId].delete.ts +21 -0
  1296. package/server/api/workshop/channels/[id]/members/index.get.ts +23 -0
  1297. package/server/api/workshop/channels/[id]/members/join.post.ts +30 -0
  1298. package/server/api/workshop/channels/[id]/members/leave.post.ts +20 -0
  1299. package/server/api/workshop/channels/[id]/messages/index.post.ts +3 -0
  1300. package/server/api/workshop/channels/[id]/tasks/index.post.ts +8 -0
  1301. package/server/api/workshop/channels.get.ts +21 -1
  1302. package/server/api/workshop/hitl/pending.get.ts +27 -7
  1303. package/server/api/workshop/hitl/respond.post.ts +86 -89
  1304. package/server/api/workshop/notifications/index.get.ts +60 -0
  1305. package/server/api/workshop/notifications/read.post.ts +31 -0
  1306. package/server/api/workshop/schedules/[id]/run.post.ts +15 -0
  1307. package/server/api/workshop/schedules/[id]/runs.get.ts +15 -0
  1308. package/server/api/workshop/schedules/[id].delete.ts +14 -0
  1309. package/server/api/workshop/schedules/[id].get.ts +13 -0
  1310. package/server/api/workshop/schedules/[id].patch.ts +29 -0
  1311. package/server/api/workshop/schedules/index.get.ts +12 -0
  1312. package/server/api/workshop/schedules/index.post.ts +32 -0
  1313. package/server/api/workshop/tasks/[id]/reassign.post.ts +32 -0
  1314. package/server/api/workshop/tasks/[id]/update.post.ts +35 -0
  1315. package/server/api/workshop/tasks/[id].get.ts +15 -6
  1316. package/server/api/workshop/ws/audience.ts +56 -0
  1317. package/server/api/workshop/ws/db-buffer.ts +68 -0
  1318. package/server/api/workshop/ws/event-mapping.ts +47 -0
  1319. package/server/api/workshop/ws/handlers.ts +132 -0
  1320. package/server/api/workshop/ws/hub.ts +133 -0
  1321. package/server/api/workshop/ws/index.ts +23 -0
  1322. package/server/api/workshop/ws/notification-uplink.ts +77 -0
  1323. package/server/api/workshop/ws/peer-sub.ts +128 -0
  1324. package/server/api/workshop/ws/publish.ts +122 -0
  1325. package/server/api/workshop/ws/shared.ts +94 -0
  1326. package/server/api/workshop/ws/streams.ts +146 -0
  1327. package/server/api/workshop/ws/subscriptions.ts +137 -0
  1328. package/server/plugins/workshop.ts +30 -0
  1329. package/server/plugins-builtin/diag-bridge/host/constants.mjs +25 -0
  1330. package/server/plugins-builtin/diag-bridge/host/diagnosis.mjs +56 -0
  1331. package/server/plugins-builtin/diag-bridge/host/helpers.mjs +126 -0
  1332. package/server/plugins-builtin/diag-bridge/host/index.mjs +15 -0
  1333. package/server/plugins-builtin/diag-bridge/host/plugin.mjs +296 -0
  1334. package/server/plugins-builtin/diag-bridge/host/snapshot.mjs +93 -0
  1335. package/server/plugins-builtin/diag-bridge/host/sweep.mjs +51 -0
  1336. package/server/plugins-builtin/diag-bridge/index.mjs +6 -605
  1337. package/server/repositories/user.repository.ts +13 -0
  1338. package/server/services/system-config/contracts.ts +29 -0
  1339. package/server/services/system-config/dispose.ts +19 -0
  1340. package/server/services/system-config/facade.ts +26 -0
  1341. package/server/services/system-config/groups.ts +108 -0
  1342. package/server/services/system-config/helpers.ts +41 -0
  1343. package/server/services/system-config/index.ts +21 -0
  1344. package/server/services/system-config/init.ts +26 -0
  1345. package/server/services/system-config/mutate.ts +103 -0
  1346. package/server/services/system-config/plugins.ts +104 -0
  1347. package/server/services/system-config/recompute.ts +66 -0
  1348. package/server/services/system-config/snapshot.ts +59 -0
  1349. package/server/services/system-config/state.ts +79 -0
  1350. package/server/services/system-config/types.ts +58 -0
  1351. package/server/services/workshop/agents/adapters/line-spawn.ts +2 -2
  1352. package/server/services/workshop/agents/adapters/omp-rpc-client/api.ts +111 -0
  1353. package/server/services/workshop/agents/adapters/omp-rpc-client/contracts.ts +22 -0
  1354. package/server/services/workshop/agents/adapters/omp-rpc-client/facade.ts +7 -0
  1355. package/server/services/workshop/agents/adapters/omp-rpc-client/frames.ts +111 -0
  1356. package/server/services/workshop/agents/adapters/omp-rpc-client/helpers.ts +38 -0
  1357. package/server/services/workshop/agents/adapters/omp-rpc-client/index.ts +25 -0
  1358. package/server/services/workshop/agents/adapters/omp-rpc-client/start.ts +70 -0
  1359. package/server/services/workshop/agents/adapters/omp-rpc-client/state.ts +65 -0
  1360. package/server/services/workshop/agents/adapters/omp-rpc-client/stdout.ts +92 -0
  1361. package/server/services/workshop/agents/adapters/omp-rpc-client/types.ts +115 -0
  1362. package/server/services/workshop/agents/adapters/omp-rpc-client/usage.ts +47 -0
  1363. package/server/services/workshop/agents/agent-interface.ts +52 -4
  1364. package/server/services/workshop/agents/base-agent.ts +36 -8
  1365. package/server/services/workshop/agents/claude-agent.ts +5 -0
  1366. package/server/services/workshop/agents/codex-agent/client.ts +170 -0
  1367. package/server/services/workshop/agents/codex-agent/core.ts +119 -0
  1368. package/server/services/workshop/agents/codex-agent/facade.ts +8 -0
  1369. package/server/services/workshop/agents/codex-agent/helpers.ts +13 -0
  1370. package/server/services/workshop/agents/codex-agent/hitl.ts +138 -0
  1371. package/server/services/workshop/agents/codex-agent/index.ts +14 -0
  1372. package/server/services/workshop/agents/codex-agent/turn.ts +367 -0
  1373. package/server/services/workshop/agents/codex-agent/types.ts +42 -0
  1374. package/server/services/workshop/agents/dsh-agent.ts +5 -0
  1375. package/server/services/workshop/agents/harness-availability.ts +127 -127
  1376. package/server/services/workshop/agents/harness-terminal/api.ts +197 -0
  1377. package/server/services/workshop/agents/harness-terminal/index.ts +17 -0
  1378. package/server/services/workshop/agents/harness-terminal/io.ts +120 -0
  1379. package/server/services/workshop/agents/harness-terminal/park.ts +55 -0
  1380. package/server/services/workshop/agents/harness-terminal/sanitize.ts +98 -0
  1381. package/server/services/workshop/agents/harness-terminal/session.ts +124 -0
  1382. package/server/services/workshop/agents/harness-terminal/shared.ts +74 -0
  1383. package/server/services/workshop/agents/hermes-agent.ts +5 -0
  1384. package/server/services/workshop/agents/hitl-capabilities.ts +312 -0
  1385. package/server/services/workshop/agents/hitl-decision/answers.ts +27 -0
  1386. package/server/services/workshop/agents/hitl-decision/decide.ts +268 -0
  1387. package/server/services/workshop/agents/hitl-decision/dispatcher.ts +81 -0
  1388. package/server/services/workshop/agents/hitl-decision/index.ts +24 -0
  1389. package/server/services/workshop/agents/hitl-decision/payload.ts +45 -0
  1390. package/server/services/workshop/agents/hitl-decision/reconcile.ts +70 -0
  1391. package/server/services/workshop/agents/hitl-decision/shared.ts +106 -0
  1392. package/server/services/workshop/agents/hitl-decision/visibility.ts +94 -0
  1393. package/server/services/workshop/agents/hitl-registry.ts +403 -7
  1394. package/server/services/workshop/agents/host-tool-bridge/catalog.ts +78 -0
  1395. package/server/services/workshop/agents/host-tool-bridge/dispatch.ts +167 -0
  1396. package/server/services/workshop/agents/host-tool-bridge/index.ts +15 -0
  1397. package/server/services/workshop/agents/host-tool-bridge/session.ts +22 -0
  1398. package/server/services/workshop/agents/host-tool-bridge/tools/industrial.ts +64 -0
  1399. package/server/services/workshop/agents/host-tool-bridge/tools/memory.ts +44 -0
  1400. package/server/services/workshop/agents/host-tool-bridge/tools/messaging.ts +182 -0
  1401. package/server/services/workshop/agents/host-tool-bridge/tools/progress.ts +84 -0
  1402. package/server/services/workshop/agents/host-tool-bridge/tools/tasks.ts +120 -0
  1403. package/server/services/workshop/agents/host-tool-bridge/tools/team.ts +70 -0
  1404. package/server/services/workshop/agents/host-tool-bridge/types.ts +31 -0
  1405. package/server/services/workshop/agents/industrial/aml-dataset-tools.ts +276 -0
  1406. package/server/services/workshop/agents/industrial/aml-job-tools.ts +363 -0
  1407. package/server/services/workshop/agents/industrial/daq-tools.ts +251 -0
  1408. package/server/services/workshop/agents/industrial/dcw-judge-tools.ts +153 -0
  1409. package/server/services/workshop/agents/industrial/dcw-tools.ts +213 -0
  1410. package/server/services/workshop/agents/industrial/index.ts +24 -0
  1411. package/server/services/workshop/agents/industrial/ops-tools.ts +382 -0
  1412. package/server/services/workshop/agents/industrial/param-tools.ts +172 -0
  1413. package/server/services/workshop/agents/industrial/twin-tools.ts +250 -0
  1414. package/server/services/workshop/agents/mock-agent.ts +136 -12
  1415. package/server/services/workshop/agents/omp-agent/client.ts +116 -0
  1416. package/server/services/workshop/agents/omp-agent/context-governance.ts +204 -0
  1417. package/server/services/workshop/agents/omp-agent/core.ts +146 -0
  1418. package/server/services/workshop/agents/omp-agent/event-mapping.ts +142 -0
  1419. package/server/services/workshop/agents/omp-agent/facade.ts +8 -0
  1420. package/server/services/workshop/agents/omp-agent/helpers.ts +37 -0
  1421. package/server/services/workshop/agents/omp-agent/index.ts +16 -0
  1422. package/server/services/workshop/agents/omp-agent/lifecycle.ts +80 -0
  1423. package/server/services/workshop/agents/omp-agent/tools-steer.ts +487 -0
  1424. package/server/services/workshop/agents/omp-agent/types.ts +45 -0
  1425. package/server/services/workshop/agents/opencode-agent/core.ts +77 -0
  1426. package/server/services/workshop/agents/opencode-agent/engine-agnostic.ts +274 -0
  1427. package/server/services/workshop/agents/opencode-agent/facade.ts +8 -0
  1428. package/server/services/workshop/agents/opencode-agent/helpers.ts +29 -0
  1429. package/server/services/workshop/agents/opencode-agent/hitl.ts +113 -0
  1430. package/server/services/workshop/agents/opencode-agent/index.ts +16 -0
  1431. package/server/services/workshop/agents/opencode-agent/lifecycle.ts +44 -0
  1432. package/server/services/workshop/agents/opencode-agent/server.ts +244 -0
  1433. package/server/services/workshop/agents/opencode-agent/turn.ts +278 -0
  1434. package/server/services/workshop/agents/opencode-agent/types.ts +54 -0
  1435. package/server/services/workshop/agents/prompt-builder.ts +16 -6
  1436. package/server/services/workshop/agents/qwen-agent.ts +6 -2
  1437. package/server/services/workshop/agents/registry.ts +32 -2
  1438. package/server/services/workshop/aml/job-orchestrator/broadcast.ts +37 -0
  1439. package/server/services/workshop/aml/job-orchestrator/control.ts +94 -0
  1440. package/server/services/workshop/aml/job-orchestrator/failure.ts +77 -0
  1441. package/server/services/workshop/aml/job-orchestrator/index.ts +22 -0
  1442. package/server/services/workshop/aml/job-orchestrator/process.ts +100 -0
  1443. package/server/services/workshop/aml/job-orchestrator/shared.ts +51 -0
  1444. package/server/services/workshop/aml/job-orchestrator/stages.ts +96 -0
  1445. package/server/services/workshop/aml/job-orchestrator/start-job.ts +140 -0
  1446. package/server/services/workshop/aml/job-orchestrator/status.ts +20 -0
  1447. package/server/services/workshop/aml/job-orchestrator/submit.ts +120 -0
  1448. package/server/services/workshop/aml/job-orchestrator/tick.ts +37 -0
  1449. package/server/services/workshop/aml/python/__pycache__/amlkit.cpython-312.pyc +0 -0
  1450. package/server/services/workshop/aml/python/amlkit.py +185 -120
  1451. package/server/services/workshop/aml/python/requirements.txt +9 -7
  1452. package/server/services/workshop/aml/python/train-hybrid-example.py +87 -0
  1453. package/server/services/workshop/aml/twin/acceptance.ts +68 -0
  1454. package/server/services/workshop/aml/twin/calibration-scheduler.ts +48 -0
  1455. package/server/services/workshop/aml/twin/channel-profile.ts +43 -0
  1456. package/server/services/workshop/aml/twin/contracts.ts +215 -0
  1457. package/server/services/workshop/aml/twin/physics-runtime.ts +165 -0
  1458. package/server/services/workshop/aml/twin/repo.ts +31 -0
  1459. package/server/services/workshop/aml/twin/snapshot-service.ts +81 -0
  1460. package/server/services/workshop/aml/twin/trial-service.ts +89 -0
  1461. package/server/services/workshop/aml/twin/uq-ood.ts +66 -0
  1462. package/server/services/workshop/daq/daq-controller/contracts.ts +39 -0
  1463. package/server/services/workshop/daq/daq-controller/crud.ts +202 -0
  1464. package/server/services/workshop/daq/daq-controller/driver-probe.ts +64 -0
  1465. package/server/services/workshop/daq/daq-controller/facade.ts +28 -0
  1466. package/server/services/workshop/daq/daq-controller/frames.ts +137 -0
  1467. package/server/services/workshop/daq/daq-controller/helpers.ts +52 -0
  1468. package/server/services/workshop/daq/daq-controller/index.ts +22 -0
  1469. package/server/services/workshop/daq/daq-controller/ingest.ts +189 -0
  1470. package/server/services/workshop/daq/daq-controller/runtime-control.ts +72 -0
  1471. package/server/services/workshop/daq/daq-controller/state.ts +194 -0
  1472. package/server/services/workshop/daq/daq-controller/sweep-alarms.ts +164 -0
  1473. package/server/services/workshop/daq/daq-controller/tsdb-twin.ts +138 -0
  1474. package/server/services/workshop/daq/daq-controller/types.ts +68 -0
  1475. package/server/services/workshop/daq/daq-controller/views.ts +84 -0
  1476. package/server/services/workshop/daq/drivers/http.ts +95 -0
  1477. package/server/services/workshop/daq/drivers/index.ts +29 -0
  1478. package/server/services/workshop/daq/drivers/mock.ts +130 -0
  1479. package/server/services/workshop/daq/drivers/modbus-rtu.ts +67 -0
  1480. package/server/services/workshop/daq/drivers/modbus-tcp.ts +307 -0
  1481. package/server/services/workshop/daq/drivers/mqtt.ts +182 -0
  1482. package/server/services/workshop/daq/drivers/opcua.ts +227 -0
  1483. package/server/services/workshop/daq/drivers/registry.ts +144 -0
  1484. package/server/services/workshop/daq/drivers/s7-stub.ts +29 -0
  1485. package/server/services/workshop/daq/drivers/shared.ts +60 -0
  1486. package/server/services/workshop/db/channel-member.repo.ts +122 -0
  1487. package/server/services/workshop/db/channel.repo.ts +93 -8
  1488. package/server/services/workshop/db/chat-message.repo.ts +233 -0
  1489. package/server/services/workshop/db/database/index.ts +18 -0
  1490. package/server/services/workshop/db/database/json.ts +14 -0
  1491. package/server/services/workshop/db/database/migrations.ts +367 -0
  1492. package/server/services/workshop/db/database/open.ts +76 -0
  1493. package/server/services/workshop/db/database/rows.ts +374 -0
  1494. package/server/services/workshop/db/database/schema.ts +651 -0
  1495. package/server/services/workshop/db/database/seed-data.ts +60 -0
  1496. package/server/services/workshop/db/database/seed.ts +145 -0
  1497. package/server/services/workshop/db/hitl-request.repo.ts +221 -0
  1498. package/server/services/workshop/db/notification.repo.ts +199 -0
  1499. package/server/services/workshop/db/outbox.repo.ts +127 -0
  1500. package/server/services/workshop/db/scheduled-task.repo.ts +235 -0
  1501. package/server/services/workshop/db/schema.sql +185 -0
  1502. package/server/services/workshop/db/task.repo.ts +185 -69
  1503. package/server/services/workshop/db/transaction.ts +72 -0
  1504. package/server/services/workshop/dcw/dcw-controller/actuation.ts +127 -0
  1505. package/server/services/workshop/dcw/dcw-controller/bindings.ts +83 -0
  1506. package/server/services/workshop/dcw/dcw-controller/contracts.ts +16 -0
  1507. package/server/services/workshop/dcw/dcw-controller/control.ts +78 -0
  1508. package/server/services/workshop/dcw/dcw-controller/crud.ts +152 -0
  1509. package/server/services/workshop/dcw/dcw-controller/facade.ts +19 -0
  1510. package/server/services/workshop/dcw/dcw-controller/helpers.ts +57 -0
  1511. package/server/services/workshop/dcw/dcw-controller/index.ts +22 -0
  1512. package/server/services/workshop/dcw/dcw-controller/lines.ts +213 -0
  1513. package/server/services/workshop/dcw/dcw-controller/params.ts +97 -0
  1514. package/server/services/workshop/dcw/dcw-controller/products.ts +103 -0
  1515. package/server/services/workshop/dcw/dcw-controller/recipes.ts +137 -0
  1516. package/server/services/workshop/dcw/dcw-controller/state.ts +66 -0
  1517. package/server/services/workshop/dcw/dcw-controller/types.ts +57 -0
  1518. package/server/services/workshop/dcw/dcw-controller/write.ts +147 -0
  1519. package/server/services/workshop/dcw/dcw-node.ts +8 -0
  1520. package/server/services/workshop/dcw/drivers/http.ts +66 -0
  1521. package/server/services/workshop/dcw/drivers/index.ts +26 -0
  1522. package/server/services/workshop/dcw/drivers/mock.ts +44 -0
  1523. package/server/services/workshop/dcw/drivers/modbus-rtu.ts +93 -0
  1524. package/server/services/workshop/dcw/drivers/modbus.ts +139 -0
  1525. package/server/services/workshop/dcw/drivers/mqtt.ts +108 -0
  1526. package/server/services/workshop/dcw/drivers/opcua.ts +110 -0
  1527. package/server/services/workshop/dcw/drivers/registry.ts +118 -0
  1528. package/server/services/workshop/dcw/drivers/shared.ts +113 -0
  1529. package/server/services/workshop/dcw/recipe-rollback-manager/contracts.ts +26 -0
  1530. package/server/services/workshop/dcw/recipe-rollback-manager/facade.ts +13 -0
  1531. package/server/services/workshop/dcw/recipe-rollback-manager/helpers.ts +30 -0
  1532. package/server/services/workshop/dcw/recipe-rollback-manager/index.ts +17 -0
  1533. package/server/services/workshop/dcw/recipe-rollback-manager/internal.ts +33 -0
  1534. package/server/services/workshop/dcw/recipe-rollback-manager/judge.ts +52 -0
  1535. package/server/services/workshop/dcw/recipe-rollback-manager/lock.ts +137 -0
  1536. package/server/services/workshop/dcw/recipe-rollback-manager/rollback.ts +190 -0
  1537. package/server/services/workshop/dcw/recipe-rollback-manager/state.ts +21 -0
  1538. package/server/services/workshop/dcw/recipe-rollback-manager/sweep.ts +77 -0
  1539. package/server/services/workshop/dcw/recipe-rollback-manager/types.ts +3 -0
  1540. package/server/services/workshop/dcw/recipe-rollback-manager/views.ts +214 -0
  1541. package/server/services/workshop/plugins/host/api.mjs +90 -0
  1542. package/server/services/workshop/plugins/host/config.mjs +135 -0
  1543. package/server/services/workshop/plugins/host/index.mjs +23 -0
  1544. package/server/services/workshop/plugins/host/init.mjs +101 -0
  1545. package/server/services/workshop/plugins/host/load.mjs +321 -0
  1546. package/server/services/workshop/plugins/host/reload.mjs +94 -0
  1547. package/server/services/workshop/plugins/host/rollback.mjs +72 -0
  1548. package/server/services/workshop/plugins/host/services.mjs +58 -0
  1549. package/server/services/workshop/plugins/host/state.mjs +54 -0
  1550. package/server/services/workshop/plugins/host/toggle.mjs +64 -0
  1551. package/server/services/workshop/plugins/host.mjs +6 -890
  1552. package/server/services/workshop/runtime/agent-runtime/contracts.ts +25 -0
  1553. package/server/services/workshop/runtime/agent-runtime/facade.ts +7 -0
  1554. package/server/services/workshop/runtime/agent-runtime/helpers.ts +18 -0
  1555. package/server/services/workshop/runtime/agent-runtime/index.ts +19 -0
  1556. package/server/services/workshop/runtime/agent-runtime/lifecycle.ts +119 -0
  1557. package/server/services/workshop/runtime/agent-runtime/message.ts +409 -0
  1558. package/server/services/workshop/runtime/agent-runtime/state.ts +371 -0
  1559. package/server/services/workshop/runtime/agent-runtime/supervise.ts +188 -0
  1560. package/server/services/workshop/runtime/agent-runtime/types.ts +186 -0
  1561. package/server/services/workshop/runtime/channel-runtime.ts +7 -0
  1562. package/server/services/workshop/runtime/chat-mention.ts +164 -0
  1563. package/server/services/workshop/runtime/chat-projection.ts +246 -0
  1564. package/server/services/workshop/runtime/execution-mode.ts +11 -2
  1565. package/server/services/workshop/runtime/manager/a2a.ts +283 -0
  1566. package/server/services/workshop/runtime/manager/access.ts +483 -0
  1567. package/server/services/workshop/runtime/manager/admin-agents.ts +268 -0
  1568. package/server/services/workshop/runtime/manager/admin-channel.ts +276 -0
  1569. package/server/services/workshop/runtime/manager/bus.ts +182 -0
  1570. package/server/services/workshop/runtime/manager/channel-templates.ts +171 -0
  1571. package/server/services/workshop/runtime/manager/chat-reply.ts +181 -0
  1572. package/server/services/workshop/runtime/manager/chat.ts +384 -0
  1573. package/server/services/workshop/runtime/manager/contracts.ts +210 -0
  1574. package/server/services/workshop/runtime/manager/facade.ts +24 -0
  1575. package/server/services/workshop/runtime/manager/helpers.ts +119 -0
  1576. package/server/services/workshop/runtime/manager/host-tools.ts +249 -0
  1577. package/server/services/workshop/runtime/manager/index.ts +42 -0
  1578. package/server/services/workshop/runtime/manager/internal.ts +73 -0
  1579. package/server/services/workshop/runtime/manager/lead-team.ts +161 -0
  1580. package/server/services/workshop/runtime/manager/notifications.ts +108 -0
  1581. package/server/services/workshop/runtime/manager/runtime-observe.ts +300 -0
  1582. package/server/services/workshop/runtime/manager/runtime-wiring.ts +307 -0
  1583. package/server/services/workshop/runtime/manager/schedules.ts +302 -0
  1584. package/server/services/workshop/runtime/manager/state.ts +644 -0
  1585. package/server/services/workshop/runtime/manager/tasks.ts +518 -0
  1586. package/server/services/workshop/runtime/manager/teams.ts +148 -0
  1587. package/server/services/workshop/runtime/manager/types.ts +245 -0
  1588. package/server/services/workshop/runtime/manager/workspace.ts +136 -0
  1589. package/server/services/workshop/runtime/memory/contracts.ts +18 -0
  1590. package/server/services/workshop/runtime/memory/facade.ts +10 -0
  1591. package/server/services/workshop/runtime/memory/governance.ts +184 -0
  1592. package/server/services/workshop/runtime/memory/helpers.ts +196 -0
  1593. package/server/services/workshop/runtime/memory/index.ts +27 -0
  1594. package/server/services/workshop/runtime/memory/recall.ts +216 -0
  1595. package/server/services/workshop/runtime/memory/score.ts +33 -0
  1596. package/server/services/workshop/runtime/memory/state.ts +40 -0
  1597. package/server/services/workshop/runtime/memory/types.ts +44 -0
  1598. package/server/services/workshop/runtime/memory/write.ts +93 -0
  1599. package/server/services/workshop/runtime/permission-scope.ts +81 -0
  1600. package/server/services/workshop/runtime/schedule-runtime.ts +320 -0
  1601. package/server/services/workshop/runtime/scheduler-loop/contracts.ts +29 -0
  1602. package/server/services/workshop/runtime/scheduler-loop/execute.ts +295 -0
  1603. package/server/services/workshop/runtime/scheduler-loop/facade.ts +7 -0
  1604. package/server/services/workshop/runtime/scheduler-loop/helpers.ts +14 -0
  1605. package/server/services/workshop/runtime/scheduler-loop/index.ts +16 -0
  1606. package/server/services/workshop/runtime/scheduler-loop/rules.ts +131 -0
  1607. package/server/services/workshop/runtime/scheduler-loop/snapshot.ts +99 -0
  1608. package/server/services/workshop/runtime/scheduler-loop/state.ts +150 -0
  1609. package/server/services/workshop/runtime/scheduler-loop/tick.ts +157 -0
  1610. package/server/services/workshop/runtime/scheduler-loop/types.ts +50 -0
  1611. package/server/services/workshop/runtime/task-engine/contracts.ts +16 -0
  1612. package/server/services/workshop/runtime/task-engine/create.ts +145 -0
  1613. package/server/services/workshop/runtime/task-engine/facade.ts +7 -0
  1614. package/server/services/workshop/runtime/task-engine/helpers.ts +87 -0
  1615. package/server/services/workshop/runtime/task-engine/index.ts +15 -0
  1616. package/server/services/workshop/runtime/task-engine/lease.ts +79 -0
  1617. package/server/services/workshop/runtime/task-engine/lifecycle.ts +308 -0
  1618. package/server/services/workshop/runtime/task-engine/policy.ts +113 -0
  1619. package/server/services/workshop/runtime/task-engine/transition.ts +146 -0
  1620. package/server/services/workshop/runtime/task-engine/types.ts +3 -0
  1621. package/server/services/workshop/runtime/task-engine/update.ts +116 -0
  1622. package/server/services/workshop/runtime/task-engine/views.ts +169 -0
  1623. package/server/services/workshop/runtime/user-notification-hub.ts +192 -0
  1624. package/server/services/workshop/settings.ts +32 -0
  1625. package/server/services/workshop/types/task.ts +85 -0
  1626. package/server/utils/errors.ts +2 -0
  1627. package/server/utils/mojibake-guard.ts +29 -0
  1628. package/shared/config/schema.json +12 -0
  1629. package/shared/dcw-protocol/catalog.ts +203 -0
  1630. package/shared/dcw-protocol/closed-loop.ts +137 -0
  1631. package/shared/dcw-protocol/index.ts +19 -0
  1632. package/shared/dcw-protocol/line.ts +131 -0
  1633. package/shared/dcw-protocol/recipe.ts +301 -0
  1634. package/shared/workshop-protocol.ts +327 -5
  1635. package/tui/aw-tui.mjs +27 -6
  1636. package/tui/lib/pickers.mjs +21 -2
  1637. package/.output/public/_nuxt/4sIEbgcl.js +0 -42
  1638. package/.output/public/_nuxt/B7gZokg82.js +0 -209
  1639. package/.output/public/_nuxt/B8uy9iRW.js +0 -1
  1640. package/.output/public/_nuxt/BC9wjTJK2.js +0 -4
  1641. package/.output/public/_nuxt/BCGafdXT.js +0 -2
  1642. package/.output/public/_nuxt/BDmh31hl.js +0 -1
  1643. package/.output/public/_nuxt/BFjGV-RV2.js +0 -4108
  1644. package/.output/public/_nuxt/BGTYYQH-.js +0 -1
  1645. package/.output/public/_nuxt/BHA40aHa.js +0 -1
  1646. package/.output/public/_nuxt/BJHKLJJU.js +0 -1
  1647. package/.output/public/_nuxt/BN6iuJEg2.js +0 -1
  1648. package/.output/public/_nuxt/BU83-NnX.js +0 -106
  1649. package/.output/public/_nuxt/BUmHEJ77.js +0 -2
  1650. package/.output/public/_nuxt/BY7YrV_D.js +0 -1
  1651. package/.output/public/_nuxt/BYhEUx8t.js +0 -17
  1652. package/.output/public/_nuxt/BneN7fbu.js +0 -75
  1653. package/.output/public/_nuxt/Bqcgz95s.js +0 -18
  1654. package/.output/public/_nuxt/C3J6FYKa.js +0 -1
  1655. package/.output/public/_nuxt/C3gwHTz0.js +0 -1
  1656. package/.output/public/_nuxt/C4DWUZ6d2.js +0 -1
  1657. package/.output/public/_nuxt/C7UlqPeD.js +0 -1
  1658. package/.output/public/_nuxt/CClOy-Hz2.js +0 -1
  1659. package/.output/public/_nuxt/CFxtLwjp.js +0 -1
  1660. package/.output/public/_nuxt/CS50LB_l.js +0 -1
  1661. package/.output/public/_nuxt/CSkxz2NX.js +0 -3
  1662. package/.output/public/_nuxt/CTmDn-YP.js +0 -1
  1663. package/.output/public/_nuxt/CWoJjWmZ.js +0 -1
  1664. package/.output/public/_nuxt/CYWVXZTS2.js +0 -7
  1665. package/.output/public/_nuxt/C__m4EhR.js +0 -1
  1666. package/.output/public/_nuxt/CoNpEq5X.js +0 -1
  1667. package/.output/public/_nuxt/Crod5z2f.js +0 -1
  1668. package/.output/public/_nuxt/Cs8pVeVG.js +0 -1
  1669. package/.output/public/_nuxt/CssgYAAL2.js +0 -1
  1670. package/.output/public/_nuxt/CzlMDL5H.js +0 -13
  1671. package/.output/public/_nuxt/D0ZBQrN_2.js +0 -1
  1672. package/.output/public/_nuxt/D6uzXueg.js +0 -2
  1673. package/.output/public/_nuxt/D98NH8kG.js +0 -1
  1674. package/.output/public/_nuxt/D9Oidm5I.js +0 -1
  1675. package/.output/public/_nuxt/DBHNsT1Y.js +0 -23
  1676. package/.output/public/_nuxt/DDgJcSET.js +0 -19
  1677. package/.output/public/_nuxt/DGIuvyRN2.js +0 -1
  1678. package/.output/public/_nuxt/DGj-WEBg.js +0 -1
  1679. package/.output/public/_nuxt/DHFrCUxA2.js +0 -13
  1680. package/.output/public/_nuxt/DIaZ2PTo2.js +0 -1
  1681. package/.output/public/_nuxt/DKySmNPI.js +0 -14
  1682. package/.output/public/_nuxt/DPnwL14Y.js +0 -1
  1683. package/.output/public/_nuxt/DR12_WCA.js +0 -3
  1684. package/.output/public/_nuxt/DTFCy6h-.js +0 -1
  1685. package/.output/public/_nuxt/DYr1VMiQ.js +0 -6
  1686. package/.output/public/_nuxt/DZtm4l-P2.js +0 -1
  1687. package/.output/public/_nuxt/DdD9mCHM.js +0 -1
  1688. package/.output/public/_nuxt/DeyBFhKH2.js +0 -4
  1689. package/.output/public/_nuxt/Di0NY_ht.js +0 -1
  1690. package/.output/public/_nuxt/DkGQ7lnb2.js +0 -1
  1691. package/.output/public/_nuxt/DtYHUi5Z.js +0 -1
  1692. package/.output/public/_nuxt/Dz_Q3Lpw2.js +0 -1
  1693. package/.output/public/_nuxt/DzbFpZRk.js +0 -3
  1694. package/.output/public/_nuxt/EHlEMRii.js +0 -1
  1695. package/.output/public/_nuxt/Eke1fs-U.js +0 -1
  1696. package/.output/public/_nuxt/H0BcqZtT.js +0 -9
  1697. package/.output/public/_nuxt/HSYEkkce.js +0 -1
  1698. package/.output/public/_nuxt/IREZ1eC2.js +0 -1
  1699. package/.output/public/_nuxt/J9oU00D1.js +0 -1
  1700. package/.output/public/_nuxt/JCoYF4IJ.js +0 -31
  1701. package/.output/public/_nuxt/JTLM-kqr2.js +0 -1
  1702. package/.output/public/_nuxt/KZQX7xoM.js +0 -3
  1703. package/.output/public/_nuxt/OmpTerminalPanel.BxR5-lvi.css +0 -1
  1704. package/.output/public/_nuxt/RYFtK4qZ2.js +0 -1
  1705. package/.output/public/_nuxt/SSyAPaHc.js +0 -1
  1706. package/.output/public/_nuxt/TownView.li4EMQxK.css +0 -1
  1707. package/.output/public/_nuxt/VdLk4jLE2.js +0 -1
  1708. package/.output/public/_nuxt/YnQxK3eG.js +0 -1
  1709. package/.output/public/_nuxt/_id_.BhsXoEuk.css +0 -1
  1710. package/.output/public/_nuxt/_id_.DQyj-WKN.css +0 -1
  1711. package/.output/public/_nuxt/_wsId_.CTx-BlfF.css +0 -1
  1712. package/.output/public/_nuxt/aLLjF2K-2.js +0 -1
  1713. package/.output/public/_nuxt/aShsv_rG.js +0 -19
  1714. package/.output/public/_nuxt/aWWIh8YL.js +0 -24
  1715. package/.output/public/_nuxt/aesgXKSr.js +0 -4
  1716. package/.output/public/_nuxt/agents.B21nUEUX.css +0 -1
  1717. package/.output/public/_nuxt/aml.ekTjxFkf.css +0 -1
  1718. package/.output/public/_nuxt/builds/meta/b5506ef0-f48e-4f14-a6c0-d65e505d0b09.json +0 -1
  1719. package/.output/public/_nuxt/ca4TJ3Op.js +0 -1
  1720. package/.output/public/_nuxt/daq.BdVmoIfe.css +0 -1
  1721. package/.output/public/_nuxt/dcw.DCgyzpWV.css +0 -1
  1722. package/.output/public/_nuxt/default.Bh3L2HU8.css +0 -1
  1723. package/.output/public/_nuxt/entry.bdm0tv6M.css +0 -1
  1724. package/.output/public/_nuxt/jZsY8yYz.js +0 -1
  1725. package/.output/public/_nuxt/lHAxdSsj.js +0 -1
  1726. package/.output/public/_nuxt/logs.BpKzmKsh.css +0 -1
  1727. package/.output/public/_nuxt/monitor.D9pe7qN6.css +0 -1
  1728. package/.output/public/_nuxt/pages.j9rzRocr.css +0 -1
  1729. package/.output/public/_nuxt/pdk8jLGT.js +0 -1
  1730. package/.output/public/_nuxt/permissions.DwTVlFe6.css +0 -1
  1731. package/.output/public/_nuxt/plugins.DhiZbHU8.css +0 -1
  1732. package/.output/public/_nuxt/settings.BRx9rIDg.css +0 -1
  1733. package/.output/public/_nuxt/teams.BLlOPB_Z.css +0 -1
  1734. package/.output/public/_nuxt/tokens.De8xzszn.css +0 -1
  1735. package/.output/public/_nuxt/town.BLrD9-WH.css +0 -1
  1736. package/.output/public/_nuxt/users.DLgZ1D0h.css +0 -1
  1737. package/.output/public/_nuxt/vRTjoWqd.js +0 -1
  1738. package/.output/public/_nuxt/workshop.D1jFNkrn.css +0 -1
  1739. package/.output/public/_nuxt/xh3_vYcu.js +0 -1
  1740. package/.output/public/_nuxt/zq5t1vyX.js +0 -1
  1741. package/.output/server/chunks/build/Checkbox-eax2M3o-.mjs +0 -207
  1742. package/.output/server/chunks/build/Checkbox-eax2M3o-.mjs.map +0 -1
  1743. package/.output/server/chunks/build/OmpTerminalPanel-CVvxpsF7.mjs +0 -915
  1744. package/.output/server/chunks/build/OmpTerminalPanel-CVvxpsF7.mjs.map +0 -1
  1745. package/.output/server/chunks/build/PluginSlot-CcR4Ys3T.mjs +0 -400
  1746. package/.output/server/chunks/build/PluginSlot-CcR4Ys3T.mjs.map +0 -1
  1747. package/.output/server/chunks/build/TownView-CJ6IsDCc.mjs +0 -2791
  1748. package/.output/server/chunks/build/TownView-CJ6IsDCc.mjs.map +0 -1
  1749. package/.output/server/chunks/build/_id_-CVD_H0ir.mjs +0 -804
  1750. package/.output/server/chunks/build/_id_-CVD_H0ir.mjs.map +0 -1
  1751. package/.output/server/chunks/build/_id_-CtxMb3qp.mjs +0 -381
  1752. package/.output/server/chunks/build/_id_-CtxMb3qp.mjs.map +0 -1
  1753. package/.output/server/chunks/build/_wsId_-DpY3T-md.mjs +0 -10136
  1754. package/.output/server/chunks/build/_wsId_-DpY3T-md.mjs.map +0 -1
  1755. package/.output/server/chunks/build/agents-DsCkuXDV.mjs +0 -1114
  1756. package/.output/server/chunks/build/agents-DsCkuXDV.mjs.map +0 -1
  1757. package/.output/server/chunks/build/aml-CT0xKGKI.mjs +0 -605
  1758. package/.output/server/chunks/build/aml-CT0xKGKI.mjs.map +0 -1
  1759. package/.output/server/chunks/build/api-error-dul30BYQ.mjs +0 -47
  1760. package/.output/server/chunks/build/api-error-dul30BYQ.mjs.map +0 -1
  1761. package/.output/server/chunks/build/apiClient-BwnfOQU8.mjs +0 -81
  1762. package/.output/server/chunks/build/apiClient-BwnfOQU8.mjs.map +0 -1
  1763. package/.output/server/chunks/build/button-DEcZFcqN.mjs +0 -1938
  1764. package/.output/server/chunks/build/button-DEcZFcqN.mjs.map +0 -1
  1765. package/.output/server/chunks/build/card-Dipvaykh.mjs +0 -955
  1766. package/.output/server/chunks/build/card-Dipvaykh.mjs.map +0 -1
  1767. package/.output/server/chunks/build/channel-templates-Dla9FbYa.mjs +0 -847
  1768. package/.output/server/chunks/build/channel-templates-Dla9FbYa.mjs.map +0 -1
  1769. package/.output/server/chunks/build/checkbox-8fB-wI-T.mjs +0 -439
  1770. package/.output/server/chunks/build/checkbox-8fB-wI-T.mjs.map +0 -1
  1771. package/.output/server/chunks/build/client-only-D5BzSQc6.mjs +0 -43
  1772. package/.output/server/chunks/build/client-only-D5BzSQc6.mjs.map +0 -1
  1773. package/.output/server/chunks/build/daq-DWWSKGAV.mjs +0 -1059
  1774. package/.output/server/chunks/build/daq-DWWSKGAV.mjs.map +0 -1
  1775. package/.output/server/chunks/build/dcw-CT8k17_E.mjs +0 -250
  1776. package/.output/server/chunks/build/dcw-CT8k17_E.mjs.map +0 -1
  1777. package/.output/server/chunks/build/default-D3525UFX.mjs +0 -1487
  1778. package/.output/server/chunks/build/default-D3525UFX.mjs.map +0 -1
  1779. package/.output/server/chunks/build/drawer-Cmh90erI.mjs +0 -836
  1780. package/.output/server/chunks/build/drawer-Cmh90erI.mjs.map +0 -1
  1781. package/.output/server/chunks/build/dropdown-CGQ0KAzA.mjs +0 -14
  1782. package/.output/server/chunks/build/dropdown-CGQ0KAzA.mjs.map +0 -1
  1783. package/.output/server/chunks/build/dropdown-vhn1NPFs.mjs +0 -558
  1784. package/.output/server/chunks/build/dropdown-vhn1NPFs.mjs.map +0 -1
  1785. package/.output/server/chunks/build/initDefaultProps-DIbWwP4R.mjs +0 -21
  1786. package/.output/server/chunks/build/initDefaultProps-DIbWwP4R.mjs.map +0 -1
  1787. package/.output/server/chunks/build/input-number-DzpyYB99.mjs +0 -1521
  1788. package/.output/server/chunks/build/input-number-DzpyYB99.mjs.map +0 -1
  1789. package/.output/server/chunks/build/input-sf_BT6o6.mjs +0 -2617
  1790. package/.output/server/chunks/build/input-sf_BT6o6.mjs.map +0 -1
  1791. package/.output/server/chunks/build/logs--dByNyhw.mjs +0 -198
  1792. package/.output/server/chunks/build/logs--dByNyhw.mjs.map +0 -1
  1793. package/.output/server/chunks/build/menu-WCrlpYVh.mjs +0 -1950
  1794. package/.output/server/chunks/build/menu-WCrlpYVh.mjs.map +0 -1
  1795. package/.output/server/chunks/build/modal-yvUquPj5.mjs +0 -1272
  1796. package/.output/server/chunks/build/modal-yvUquPj5.mjs.map +0 -1
  1797. package/.output/server/chunks/build/monitor-Dh2Kvaq5.mjs +0 -2212
  1798. package/.output/server/chunks/build/monitor-Dh2Kvaq5.mjs.map +0 -1
  1799. package/.output/server/chunks/build/pages-BHcSBM2D.mjs +0 -518
  1800. package/.output/server/chunks/build/pages-BHcSBM2D.mjs.map +0 -1
  1801. package/.output/server/chunks/build/permissions-68SsNjex.mjs +0 -629
  1802. package/.output/server/chunks/build/permissions-68SsNjex.mjs.map +0 -1
  1803. package/.output/server/chunks/build/plugins-BNgIi61W.mjs +0 -246
  1804. package/.output/server/chunks/build/plugins-BNgIi61W.mjs.map +0 -1
  1805. package/.output/server/chunks/build/popconfirm-CRaHcz5O.mjs +0 -342
  1806. package/.output/server/chunks/build/popconfirm-CRaHcz5O.mjs.map +0 -1
  1807. package/.output/server/chunks/build/segmented-3TrWo0lS.mjs +0 -5047
  1808. package/.output/server/chunks/build/segmented-3TrWo0lS.mjs.map +0 -1
  1809. package/.output/server/chunks/build/select-D-CeE5vY.mjs +0 -3923
  1810. package/.output/server/chunks/build/select-D-CeE5vY.mjs.map +0 -1
  1811. package/.output/server/chunks/build/settings-ipYBDWdn.mjs +0 -1175
  1812. package/.output/server/chunks/build/settings-ipYBDWdn.mjs.map +0 -1
  1813. package/.output/server/chunks/build/space-CCBYAkXt.mjs +0 -197
  1814. package/.output/server/chunks/build/space-CCBYAkXt.mjs.map +0 -1
  1815. package/.output/server/chunks/build/spin-HVY81X_L.mjs +0 -358
  1816. package/.output/server/chunks/build/spin-HVY81X_L.mjs.map +0 -1
  1817. package/.output/server/chunks/build/switch-CelRXpcy.mjs +0 -377
  1818. package/.output/server/chunks/build/switch-CelRXpcy.mjs.map +0 -1
  1819. package/.output/server/chunks/build/table-BjSWwmic.mjs +0 -8883
  1820. package/.output/server/chunks/build/table-BjSWwmic.mjs.map +0 -1
  1821. package/.output/server/chunks/build/tabs-BM3tAh_J.mjs +0 -1925
  1822. package/.output/server/chunks/build/tabs-BM3tAh_J.mjs.map +0 -1
  1823. package/.output/server/chunks/build/tag-DNE9vXc0.mjs +0 -1029
  1824. package/.output/server/chunks/build/tag-DNE9vXc0.mjs.map +0 -1
  1825. package/.output/server/chunks/build/teams-5lx-CwFa.mjs +0 -1218
  1826. package/.output/server/chunks/build/teams-5lx-CwFa.mjs.map +0 -1
  1827. package/.output/server/chunks/build/tokens-q-IDT8Io.mjs +0 -908
  1828. package/.output/server/chunks/build/tokens-q-IDT8Io.mjs.map +0 -1
  1829. package/.output/server/chunks/build/town-BUqRobze.mjs +0 -52
  1830. package/.output/server/chunks/build/town-BUqRobze.mjs.map +0 -1
  1831. package/.output/server/chunks/build/town-QJWB5wng.mjs +0 -125
  1832. package/.output/server/chunks/build/town-QJWB5wng.mjs.map +0 -1
  1833. package/.output/server/chunks/build/useDaqStream-DfCFpb3p.mjs +0 -395
  1834. package/.output/server/chunks/build/useDaqStream-DfCFpb3p.mjs.map +0 -1
  1835. package/.output/server/chunks/build/useDcwStream-UPiX-3iO.mjs +0 -435
  1836. package/.output/server/chunks/build/useDcwStream-UPiX-3iO.mjs.map +0 -1
  1837. package/.output/server/chunks/build/useDeviceTwins-Yko6nNPF.mjs +0 -128
  1838. package/.output/server/chunks/build/useDeviceTwins-Yko6nNPF.mjs.map +0 -1
  1839. package/.output/server/chunks/build/useOpsLog-CO_VWh7t.mjs +0 -137
  1840. package/.output/server/chunks/build/useOpsLog-CO_VWh7t.mjs.map +0 -1
  1841. package/.output/server/chunks/build/useWorkshopApi-NyjL0L3j.mjs +0 -90
  1842. package/.output/server/chunks/build/useWorkshopApi-NyjL0L3j.mjs.map +0 -1
  1843. package/.output/server/chunks/build/useWorkshopWs-C_I7q9As.mjs +0 -1319
  1844. package/.output/server/chunks/build/useWorkshopWs-C_I7q9As.mjs.map +0 -1
  1845. package/.output/server/chunks/build/users-Cfd5-l2-.mjs +0 -561
  1846. package/.output/server/chunks/build/users-Cfd5-l2-.mjs.map +0 -1
  1847. package/.output/server/chunks/build/workshop-BIlCj_ZP.mjs +0 -931
  1848. package/.output/server/chunks/build/workshop-BIlCj_ZP.mjs.map +0 -1
  1849. package/.output/server/chunks/build/workspaces-Bgz5Ekwp.mjs +0 -139
  1850. package/.output/server/chunks/build/workspaces-Bgz5Ekwp.mjs.map +0 -1
  1851. package/scripts/test-agent-brain.ts +0 -135
  1852. package/scripts/test-game-session.ts +0 -160
  1853. package/scripts/test-protocol.ts +0 -156
  1854. package/scripts/verify-game.mjs +0 -477
  1855. package/server/api/workshop/ws.ts +0 -763
  1856. package/server/services/system-config.ts +0 -629
  1857. package/server/services/workshop/agents/adapters/omp-rpc-client.ts +0 -604
  1858. package/server/services/workshop/agents/codex-agent.ts +0 -743
  1859. package/server/services/workshop/agents/harness-terminal.ts +0 -625
  1860. package/server/services/workshop/agents/host-tool-bridge.ts +0 -714
  1861. package/server/services/workshop/agents/industrial-tools.ts +0 -1680
  1862. package/server/services/workshop/agents/omp-agent.ts +0 -1199
  1863. package/server/services/workshop/agents/opencode-agent.ts +0 -960
  1864. package/server/services/workshop/aml/job-orchestrator.ts +0 -639
  1865. package/server/services/workshop/daq/daq-controller.ts +0 -1284
  1866. package/server/services/workshop/daq/drivers.ts +0 -1196
  1867. package/server/services/workshop/db/database.ts +0 -1044
  1868. package/server/services/workshop/dcw/dcw-controller.ts +0 -1176
  1869. package/server/services/workshop/dcw/drivers.ts +0 -731
  1870. package/server/services/workshop/dcw/recipe-rollback-manager.ts +0 -713
  1871. package/server/services/workshop/runtime/agent-runtime.ts +0 -821
  1872. package/server/services/workshop/runtime/manager.ts +0 -3050
  1873. package/server/services/workshop/runtime/memory.ts +0 -681
  1874. package/server/services/workshop/runtime/scheduler-loop.ts +0 -799
  1875. package/server/services/workshop/runtime/task-engine.ts +0 -574
  1876. package/shared/dcw-protocol.ts +0 -747
  1877. /package/.output/public/_nuxt/{BrIJiJSN.js → BrIJiJSN2.js} +0 -0
  1878. /package/.output/public/_nuxt/{CNs_Ozdc2.js → CNs_Ozdc.js} +0 -0
  1879. /package/.output/public/_nuxt/{DIOBYJe3.js → DIOBYJe32.js} +0 -0
  1880. /package/.output/public/_nuxt/{lO5tpDZ5.js → lO5tpDZ52.js} +0 -0
@@ -0,0 +1,2061 @@
1
+ import { aB as Icon, g as _plugin_vue_export_helper_default, bf as theme_default, ak as useSiteConfig, m as _extends, j as useConfigInject_default, p as classNames, q as _objectSpread2, t as initDefaultProps, e as useUserStore, a as useI18n, f as useRoute, al as useAppStore, P as PropTypes, a8 as tuple, n as navigateTo, bg as composables_exports, bh as storages, v as genComponentStyleHook, b as api$1, i as button_default, aA as useCookie, x as merge } from '../virtual/entry.mjs';
2
+ import { C as ClientOnly } from './client-only-qNA2OVV_.mjs';
3
+ import { t as tooltip_default, T as TextArea_default } from '../_/SearchOutlined.mjs';
4
+ import { S as Select } from './select-rdBWytVK.mjs';
5
+ import { S as SiderHookProviderKey, a as SiderCollapsedKey, m as menu_default, D as Divider_default, M as MenuItem_default } from './menu-BgkRSSx7.mjs';
6
+ import { i as isNumeric } from './isNumeric-CP7q_yhz.mjs';
7
+ import { d as dropdown_default } from './dropdown-Yev6knaj.mjs';
8
+ import { u as useResponsive } from './useResponsive-BKDMGTHs.mjs';
9
+ import { l as useHitlStore, d as useChatStore, a as useWorkshopWs, h as useWsConnectionStore, e as useNotificationsStore } from './useWorkshopWs-B-Es2Xg3.mjs';
10
+ import { u as useWorkspacesStore } from './workspaces-DVIEk1Bl.mjs';
11
+ import { f as formatLocalClock } from './useLocalTime-9a4B-aHv.mjs';
12
+ import { createVNode, defineComponent, mergeProps, withCtx, unref, renderSlot, toDisplayString, inject, shallowRef, watch, provide, ref, computed, watchEffect, Transition, withDirectives, vShow, openBlock, createBlock, Fragment, renderList, createTextVNode, createCommentVNode, withModifiers, useSSRContext } from 'vue';
13
+ import { R as RightOutlined } from './dropdown-KdKWCS5K.mjs';
14
+ import { L as LeftOutlined } from '../_/LeftOutlined.mjs';
15
+ import { ssrRenderComponent, ssrRenderSlot, ssrInterpolate, ssrRenderStyle, ssrRenderList, ssrRenderClass, ssrRenderAttr, ssrRenderAttrs } from 'vue/server-renderer';
16
+ import '../_/nitro.mjs';
17
+ import 'node:crypto';
18
+ import 'node:http';
19
+ import 'node:https';
20
+ import 'node:events';
21
+ import 'node:buffer';
22
+ import 'node:url';
23
+ import 'node:fs';
24
+ import 'node:path';
25
+ import 'node:fs/promises';
26
+ import 'node:os';
27
+ import 'js-yaml';
28
+ import 'node:child_process';
29
+ import 'node:net';
30
+ import 'node:util';
31
+ import 'node:sqlite';
32
+ import 'node:module';
33
+ import 'node:zlib';
34
+ import 'zod';
35
+ import 'unhead/utils';
36
+ import '../routes/renderer.mjs';
37
+ import 'unhead/server';
38
+ import 'unhead/legacy';
39
+ import 'unhead/plugins';
40
+ import 'nostics';
41
+ import 'vue-bundle-renderer/runtime';
42
+ import 'devalue';
43
+ import 'vue-router';
44
+ import 'pinia';
45
+ import '@ant-design/colors';
46
+ import 'axios';
47
+ import './FormItemContext-4ORSzhWv.mjs';
48
+ import './narrow-fetch-CcG-BPxc.mjs';
49
+ import './api-error-BwAQLw44.mjs';
50
+ import './useTownBus-D9SoIsAN.mjs';
51
+
52
+ // This icon file is generated automatically.
53
+ var BarsOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "bars", "theme": "outlined" };
54
+
55
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
56
+
57
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
58
+
59
+ var BarsOutlined = function BarsOutlined(props, context) {
60
+ var p = _objectSpread({}, props, context.attrs);
61
+
62
+ return createVNode(Icon, _objectSpread({}, p, {
63
+ "icon": BarsOutlined$1
64
+ }), null);
65
+ };
66
+
67
+ BarsOutlined.displayName = 'BarsOutlined';
68
+ BarsOutlined.inheritAttrs = false;
69
+
70
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/layout/style/light.js
71
+ var genLayoutLightStyle = (token) => {
72
+ const { componentCls, colorBgContainer, colorBgBody, colorText } = token;
73
+ return { [`${componentCls}-sider-light`]: {
74
+ background: colorBgContainer,
75
+ [`${componentCls}-sider-trigger`]: {
76
+ color: colorText,
77
+ background: colorBgContainer
78
+ },
79
+ [`${componentCls}-sider-zero-width-trigger`]: {
80
+ color: colorText,
81
+ background: colorBgContainer,
82
+ border: `1px solid ${colorBgBody}`,
83
+ borderInlineStart: 0
84
+ }
85
+ } };
86
+ };
87
+ //#endregion
88
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/layout/style/index.js
89
+ var genLayoutStyle = (token) => {
90
+ const { antCls, componentCls, colorText, colorTextLightSolid, colorBgHeader, colorBgBody, colorBgTrigger, layoutHeaderHeight, layoutHeaderPaddingInline, layoutHeaderColor, layoutFooterPadding, layoutTriggerHeight, layoutZeroTriggerSize, motionDurationMid, motionDurationSlow, fontSize, borderRadius } = token;
91
+ return { [componentCls]: _extends(_extends({
92
+ display: "flex",
93
+ flex: "auto",
94
+ flexDirection: "column",
95
+ color: colorText,
96
+ minHeight: 0,
97
+ background: colorBgBody,
98
+ "&, *": { boxSizing: "border-box" },
99
+ [`&${componentCls}-has-sider`]: {
100
+ flexDirection: "row",
101
+ [`> ${componentCls}, > ${componentCls}-content`]: { width: 0 }
102
+ },
103
+ [`${componentCls}-header, &${componentCls}-footer`]: { flex: "0 0 auto" },
104
+ [`${componentCls}-header`]: {
105
+ height: layoutHeaderHeight,
106
+ paddingInline: layoutHeaderPaddingInline,
107
+ color: layoutHeaderColor,
108
+ lineHeight: `${layoutHeaderHeight}px`,
109
+ background: colorBgHeader,
110
+ [`${antCls}-menu`]: { lineHeight: "inherit" }
111
+ },
112
+ [`${componentCls}-footer`]: {
113
+ padding: layoutFooterPadding,
114
+ color: colorText,
115
+ fontSize,
116
+ background: colorBgBody
117
+ },
118
+ [`${componentCls}-content`]: {
119
+ flex: "auto",
120
+ minHeight: 0
121
+ },
122
+ [`${componentCls}-sider`]: {
123
+ position: "relative",
124
+ minWidth: 0,
125
+ background: colorBgHeader,
126
+ transition: `all ${motionDurationMid}, background 0s`,
127
+ "&-children": {
128
+ height: "100%",
129
+ marginTop: -0.1,
130
+ paddingTop: .1,
131
+ [`${antCls}-menu${antCls}-menu-inline-collapsed`]: { width: "auto" }
132
+ },
133
+ "&-has-trigger": { paddingBottom: layoutTriggerHeight },
134
+ "&-right": { order: 1 },
135
+ "&-trigger": {
136
+ position: "fixed",
137
+ bottom: 0,
138
+ zIndex: 1,
139
+ height: layoutTriggerHeight,
140
+ color: colorTextLightSolid,
141
+ lineHeight: `${layoutTriggerHeight}px`,
142
+ textAlign: "center",
143
+ background: colorBgTrigger,
144
+ cursor: "pointer",
145
+ transition: `all ${motionDurationMid}`
146
+ },
147
+ "&-zero-width": {
148
+ "> *": { overflow: "hidden" },
149
+ "&-trigger": {
150
+ position: "absolute",
151
+ top: layoutHeaderHeight,
152
+ insetInlineEnd: -layoutZeroTriggerSize,
153
+ zIndex: 1,
154
+ width: layoutZeroTriggerSize,
155
+ height: layoutZeroTriggerSize,
156
+ color: colorTextLightSolid,
157
+ fontSize: token.fontSizeXL,
158
+ display: "flex",
159
+ alignItems: "center",
160
+ justifyContent: "center",
161
+ background: colorBgHeader,
162
+ borderStartStartRadius: 0,
163
+ borderStartEndRadius: borderRadius,
164
+ borderEndEndRadius: borderRadius,
165
+ borderEndStartRadius: 0,
166
+ cursor: "pointer",
167
+ transition: `background ${motionDurationSlow} ease`,
168
+ "&::after": {
169
+ position: "absolute",
170
+ inset: 0,
171
+ background: "transparent",
172
+ transition: `all ${motionDurationSlow}`,
173
+ content: "\"\""
174
+ },
175
+ "&:hover::after": { background: `rgba(255, 255, 255, 0.2)` },
176
+ "&-right": {
177
+ insetInlineStart: -layoutZeroTriggerSize,
178
+ borderStartStartRadius: borderRadius,
179
+ borderStartEndRadius: 0,
180
+ borderEndEndRadius: 0,
181
+ borderEndStartRadius: borderRadius
182
+ }
183
+ }
184
+ }
185
+ }
186
+ }, genLayoutLightStyle(token)), { "&-rtl": { direction: "rtl" } }) };
187
+ };
188
+ var style_default = genComponentStyleHook("Layout", (token) => {
189
+ const { colorText, controlHeightSM, controlHeight, controlHeightLG, marginXXS } = token;
190
+ const layoutHeaderPaddingInline = controlHeightLG * 1.25;
191
+ return [genLayoutStyle(merge(token, {
192
+ layoutHeaderHeight: controlHeight * 2,
193
+ layoutHeaderPaddingInline,
194
+ layoutHeaderColor: colorText,
195
+ layoutFooterPadding: `${controlHeightSM}px ${layoutHeaderPaddingInline}px`,
196
+ layoutTriggerHeight: controlHeightLG + marginXXS * 2,
197
+ layoutZeroTriggerSize: controlHeightLG
198
+ }))];
199
+ }, (token) => {
200
+ const { colorBgLayout } = token;
201
+ return {
202
+ colorBgHeader: "#001529",
203
+ colorBgBody: colorBgLayout,
204
+ colorBgTrigger: "#002140"
205
+ };
206
+ });
207
+ //#endregion
208
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/layout/layout.js
209
+ var basicProps = () => ({
210
+ prefixCls: String,
211
+ hasSider: {
212
+ type: Boolean,
213
+ default: void 0
214
+ },
215
+ tagName: String
216
+ });
217
+ function generator(_ref) {
218
+ let { suffixCls, tagName, name } = _ref;
219
+ return (BasicComponent) => {
220
+ return defineComponent({
221
+ compatConfig: { MODE: 3 },
222
+ name,
223
+ props: basicProps(),
224
+ setup(props, _ref2) {
225
+ let { slots } = _ref2;
226
+ const { prefixCls } = useConfigInject_default(suffixCls, props);
227
+ return () => {
228
+ const basicComponentProps = _extends(_extends({}, props), {
229
+ prefixCls: prefixCls.value,
230
+ tagName
231
+ });
232
+ return createVNode(BasicComponent, basicComponentProps, slots);
233
+ };
234
+ }
235
+ });
236
+ };
237
+ }
238
+ var Basic = defineComponent({
239
+ compatConfig: { MODE: 3 },
240
+ props: basicProps(),
241
+ setup(props, _ref3) {
242
+ let { slots } = _ref3;
243
+ return () => createVNode(props.tagName, { class: props.prefixCls }, slots);
244
+ }
245
+ });
246
+ var BasicLayout = defineComponent({
247
+ compatConfig: { MODE: 3 },
248
+ inheritAttrs: false,
249
+ props: basicProps(),
250
+ setup(props, _ref4) {
251
+ let { slots, attrs } = _ref4;
252
+ const { prefixCls, direction } = useConfigInject_default("", props);
253
+ const [wrapSSR, hashId] = style_default(prefixCls);
254
+ const siders = ref([]);
255
+ provide(SiderHookProviderKey, {
256
+ addSider: (id) => {
257
+ siders.value = [...siders.value, id];
258
+ },
259
+ removeSider: (id) => {
260
+ siders.value = siders.value.filter((currentId) => currentId !== id);
261
+ }
262
+ });
263
+ const divCls = computed(() => {
264
+ const { prefixCls, hasSider } = props;
265
+ return {
266
+ [hashId.value]: true,
267
+ [`${prefixCls}`]: true,
268
+ [`${prefixCls}-has-sider`]: typeof hasSider === "boolean" ? hasSider : siders.value.length > 0,
269
+ [`${prefixCls}-rtl`]: direction.value === "rtl"
270
+ };
271
+ });
272
+ return () => {
273
+ const { tagName } = props;
274
+ return wrapSSR(createVNode(tagName, _extends(_extends({}, attrs), { class: [divCls.value, attrs.class] }), slots));
275
+ };
276
+ }
277
+ });
278
+ var Layout = generator({
279
+ suffixCls: "layout",
280
+ tagName: "section",
281
+ name: "ALayout"
282
+ })(BasicLayout);
283
+ var Header = generator({
284
+ suffixCls: "layout-header",
285
+ tagName: "header",
286
+ name: "ALayoutHeader"
287
+ })(Basic);
288
+ var Footer = generator({
289
+ suffixCls: "layout-footer",
290
+ tagName: "footer",
291
+ name: "ALayoutFooter"
292
+ })(Basic);
293
+ var Content = generator({
294
+ suffixCls: "layout-content",
295
+ tagName: "main",
296
+ name: "ALayoutContent"
297
+ })(Basic);
298
+ //#endregion
299
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/layout/Sider.js
300
+ var siderProps = () => ({
301
+ prefixCls: String,
302
+ collapsible: {
303
+ type: Boolean,
304
+ default: void 0
305
+ },
306
+ collapsed: {
307
+ type: Boolean,
308
+ default: void 0
309
+ },
310
+ defaultCollapsed: {
311
+ type: Boolean,
312
+ default: void 0
313
+ },
314
+ reverseArrow: {
315
+ type: Boolean,
316
+ default: void 0
317
+ },
318
+ zeroWidthTriggerStyle: {
319
+ type: Object,
320
+ default: void 0
321
+ },
322
+ trigger: PropTypes.any,
323
+ width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
324
+ collapsedWidth: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
325
+ breakpoint: PropTypes.oneOf(tuple("xs", "sm", "md", "lg", "xl", "xxl", "xxxl")),
326
+ theme: PropTypes.oneOf(tuple("light", "dark")).def("dark"),
327
+ onBreakpoint: Function,
328
+ onCollapse: Function
329
+ });
330
+ var generateId = (() => {
331
+ let i = 0;
332
+ return function() {
333
+ let prefix = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
334
+ i += 1;
335
+ return `${prefix}${i}`;
336
+ };
337
+ })();
338
+ var Sider_default = defineComponent({
339
+ compatConfig: { MODE: 3 },
340
+ name: "ALayoutSider",
341
+ inheritAttrs: false,
342
+ props: initDefaultProps(siderProps(), {
343
+ collapsible: false,
344
+ defaultCollapsed: false,
345
+ reverseArrow: false,
346
+ width: 200,
347
+ collapsedWidth: 80
348
+ }),
349
+ emits: [
350
+ "breakpoint",
351
+ "update:collapsed",
352
+ "collapse"
353
+ ],
354
+ setup(props, _ref) {
355
+ let { emit, attrs, slots } = _ref;
356
+ const { prefixCls } = useConfigInject_default("layout-sider", props);
357
+ const siderHook = inject(SiderHookProviderKey, void 0);
358
+ const collapsed = shallowRef(!!(props.collapsed !== void 0 ? props.collapsed : props.defaultCollapsed));
359
+ const below = shallowRef(false);
360
+ watch(() => props.collapsed, () => {
361
+ collapsed.value = !!props.collapsed;
362
+ });
363
+ provide(SiderCollapsedKey, collapsed);
364
+ const handleSetCollapsed = (value, type) => {
365
+ if (props.collapsed === void 0) collapsed.value = value;
366
+ emit("update:collapsed", value);
367
+ emit("collapse", value, type);
368
+ };
369
+ shallowRef((mql) => {
370
+ below.value = mql.matches;
371
+ emit("breakpoint", mql.matches);
372
+ if (collapsed.value !== mql.matches) handleSetCollapsed(mql.matches, "responsive");
373
+ });
374
+ const uniqueId = generateId("ant-sider-");
375
+ siderHook && siderHook.addSider(uniqueId);
376
+ const toggle = () => {
377
+ handleSetCollapsed(!collapsed.value, "clickTrigger");
378
+ };
379
+ return () => {
380
+ var _a, _b;
381
+ const pre = prefixCls.value;
382
+ const { collapsedWidth, width, reverseArrow, zeroWidthTriggerStyle, trigger = (_a = slots.trigger) === null || _a === void 0 ? void 0 : _a.call(slots), collapsible, theme } = props;
383
+ const rawWidth = collapsed.value ? collapsedWidth : width;
384
+ const siderWidth = isNumeric(rawWidth) ? `${rawWidth}px` : String(rawWidth);
385
+ const zeroWidthTrigger = parseFloat(String(collapsedWidth || 0)) === 0 ? createVNode("span", {
386
+ "onClick": toggle,
387
+ "class": classNames(`${pre}-zero-width-trigger`, `${pre}-zero-width-trigger-${reverseArrow ? "right" : "left"}`),
388
+ "style": zeroWidthTriggerStyle
389
+ }, [trigger || createVNode(BarsOutlined, null, null)]) : null;
390
+ const defaultTrigger = {
391
+ expanded: reverseArrow ? createVNode(RightOutlined, null, null) : createVNode(LeftOutlined, null, null),
392
+ collapsed: reverseArrow ? createVNode(LeftOutlined, null, null) : createVNode(RightOutlined, null, null)
393
+ }[collapsed.value ? "collapsed" : "expanded"];
394
+ const triggerDom = trigger !== null ? zeroWidthTrigger || createVNode("div", {
395
+ "class": `${pre}-trigger`,
396
+ "onClick": toggle,
397
+ "style": { width: siderWidth }
398
+ }, [trigger || defaultTrigger]) : null;
399
+ const divStyle = [attrs.style, {
400
+ flex: `0 0 ${siderWidth}`,
401
+ maxWidth: siderWidth,
402
+ minWidth: siderWidth,
403
+ width: siderWidth
404
+ }];
405
+ const siderCls = classNames(pre, `${pre}-${theme}`, {
406
+ [`${pre}-collapsed`]: !!collapsed.value,
407
+ [`${pre}-has-trigger`]: collapsible && trigger !== null && !zeroWidthTrigger,
408
+ [`${pre}-below`]: !!below.value,
409
+ [`${pre}-zero-width`]: parseFloat(siderWidth) === 0
410
+ }, attrs.class);
411
+ return createVNode("aside", _objectSpread2(_objectSpread2({}, attrs), {}, {
412
+ "class": siderCls,
413
+ "style": divStyle
414
+ }), [createVNode("div", { "class": `${pre}-children` }, [(_b = slots.default) === null || _b === void 0 ? void 0 : _b.call(slots)]), collapsible || below.value && zeroWidthTrigger ? triggerDom : null]);
415
+ };
416
+ }
417
+ });
418
+ //#endregion
419
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/layout/index.js
420
+ /* istanbul ignore next */
421
+ var LayoutHeader = Header;
422
+ var LayoutFooter = Footer;
423
+ var LayoutSider = Sider_default;
424
+ var LayoutContent = Content;
425
+ var layout_default = _extends(Layout, {
426
+ Header,
427
+ Footer,
428
+ Content,
429
+ Sider: Sider_default,
430
+ install: (app) => {
431
+ app.component(Layout.name, Layout);
432
+ app.component(Header.name, Header);
433
+ app.component(Footer.name, Footer);
434
+ app.component(Sider_default.name, Sider_default);
435
+ app.component(Content.name, Content);
436
+ return app;
437
+ }
438
+ });
439
+ //#endregion
440
+ //#region app/components/AwLogo.vue?vue&type=script&setup=true&lang.ts
441
+ var AwLogo_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
442
+ __name: "AwLogo",
443
+ __ssrInlineRender: true,
444
+ props: { size: { default: 32 } },
445
+ setup(__props) {
446
+ /**
447
+ * AwLogo —— 项目标志。
448
+ * 六边形品牌壳(绿→青渐变,与数据宪法主色同源)+ 内衬虚线六边形(数字孪生影子)
449
+ * + 三节点互连三角(数采 · 数控 · 产线 三环互连)。
450
+ * public/favicon.svg 与本组件同源;渐变 id 固定,多实例同屏渲染等价。
451
+ */
452
+ return (_ctx, _push, _parent, _attrs) => {
453
+ _push(`<svg${ssrRenderAttrs(mergeProps({
454
+ width: __props.size,
455
+ height: __props.size,
456
+ viewBox: "0 0 64 64",
457
+ fill: "none",
458
+ "aria-hidden": "true"
459
+ }, _attrs))}><defs><linearGradient id="aw-logo-gradient" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#35e0a0"></stop><stop offset="1" stop-color="#41c8f4"></stop></linearGradient></defs><path d="M32 4 L56 18 V46 L32 60 L8 46 V18 Z" stroke="url(#aw-logo-gradient)" stroke-width="4" stroke-linejoin="round"></path><path d="M32 15 L46.7 23.5 V40.5 L32 49 L17.3 40.5 V23.5 Z" stroke="#41c8f4" stroke-opacity="0.45" stroke-width="1.8" stroke-dasharray="4 3"></path><path d="M32 23 L25 38 M32 23 L39 38 M25 38 L39 38" stroke="#35e0a0" stroke-width="1.8" stroke-opacity="0.75"></path><circle cx="32" cy="23" r="3.4" fill="#35e0a0"></circle><circle cx="25" cy="38" r="3.4" fill="#41c8f4"></circle><circle cx="39" cy="38" r="3.4" fill="#41c8f4"></circle></svg>`);
460
+ };
461
+ }
462
+ });
463
+ //#endregion
464
+ //#region app/components/AwLogo.vue
465
+ var _sfc_setup$8 = AwLogo_vue_vue_type_script_setup_true_lang_default.setup;
466
+ AwLogo_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
467
+ const ssrContext = useSSRContext();
468
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/AwLogo.vue");
469
+ return _sfc_setup$8 ? _sfc_setup$8(props, ctx) : void 0;
470
+ };
471
+ var AwLogo_default = Object.assign(AwLogo_vue_vue_type_script_setup_true_lang_default, { __name: "AwLogo" });
472
+ //#endregion
473
+ //#region app/components/AppSidebar.vue?vue&type=script&setup=true&lang.ts
474
+ /**
475
+ * 是否已完成客户端水合。
476
+ * 服务端拿不到会话(cookie 里的 workshop.user 只在浏览器可读),
477
+ * 任何"按身份增删 DOM"的渲染都必须由它门控,否则 SSR 与客户端首帧结构不一致。
478
+ */
479
+ var AppSidebar_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
480
+ __name: "AppSidebar",
481
+ __ssrInlineRender: true,
482
+ setup(__props) {
483
+ const userStore = useUserStore();
484
+ const { t } = useI18n();
485
+ const route = useRoute();
486
+ const site = useSiteConfig();
487
+ const store = useAppStore();
488
+ const navHydrated = ref(false);
489
+ /**
490
+ * 导航信息架构:12 个平铺条目 → 三组语义分区(控制台 / 运维 / 系统)。
491
+ * 分组的价值不在多一层容器,而在"扫视成本":同组内的入口是同一件事的不同面,
492
+ * 组与组之间才是真正的语境切换。空组自动折叠,权限过滤后不残留空标题。
493
+ */
494
+ const menuGroups = computed(() => [
495
+ {
496
+ id: "console",
497
+ label: t("menu.groups.console"),
498
+ items: [
499
+ {
500
+ key: "/",
501
+ icon: "i-tabler-layout-dashboard",
502
+ label: t("menu.dashboard"),
503
+ motion: "im-pop"
504
+ },
505
+ {
506
+ key: "/workshop",
507
+ icon: "i-tabler-box",
508
+ label: t("menu.workshop"),
509
+ motion: "im-pop"
510
+ },
511
+ {
512
+ key: "/town",
513
+ icon: "i-tabler-map-2",
514
+ label: t("menu.town"),
515
+ motion: "im-pop"
516
+ },
517
+ {
518
+ key: "/daq",
519
+ icon: "i-tabler-activity",
520
+ label: t("menu.daq"),
521
+ motion: "im-pop"
522
+ },
523
+ {
524
+ key: "/dcw",
525
+ icon: "i-tabler-settings-automation",
526
+ label: t("menu.dcw"),
527
+ motion: "im-pop"
528
+ },
529
+ {
530
+ key: "/aml",
531
+ icon: "i-tabler-flask",
532
+ label: t("menu.aml"),
533
+ motion: "im-pop"
534
+ }
535
+ ]
536
+ },
537
+ {
538
+ id: "ops",
539
+ label: t("menu.groups.ops"),
540
+ items: [{
541
+ key: "/monitor",
542
+ icon: "i-tabler-cpu",
543
+ label: t("menu.monitor"),
544
+ motion: "im-pulse"
545
+ }, {
546
+ key: "/logs",
547
+ icon: "i-tabler-list-details",
548
+ label: t("menu.logs"),
549
+ motion: "im-pop"
550
+ }]
551
+ },
552
+ {
553
+ id: "system",
554
+ label: t("menu.groups.system"),
555
+ items: [
556
+ {
557
+ key: "/tokens",
558
+ icon: "i-tabler-key",
559
+ label: t("menu.tokens"),
560
+ motion: "im-nudge-up"
561
+ },
562
+ {
563
+ key: "/users",
564
+ icon: "i-tabler-users-group",
565
+ label: t("menu.users"),
566
+ motion: "im-pop"
567
+ },
568
+ {
569
+ key: "/permissions",
570
+ icon: "i-tabler-shield-lock",
571
+ label: t("menu.permissions"),
572
+ motion: "im-pop",
573
+ adminOnly: true
574
+ },
575
+ {
576
+ key: "/plugins",
577
+ icon: "i-tabler-puzzle",
578
+ label: t("menu.plugins"),
579
+ motion: "im-pop"
580
+ },
581
+ {
582
+ key: "/settings",
583
+ icon: "i-tabler-settings",
584
+ label: t("menu.settings"),
585
+ motion: "im-rotate"
586
+ }
587
+ ]
588
+ }
589
+ ].map((g) => ({
590
+ ...g,
591
+ items: g.items.filter((m) => !m.adminOnly || navHydrated.value && userStore.isAdmin)
592
+ })).filter((g) => g.items.length > 0));
593
+ const isActive = (key) => key === "/" ? route.path === "/" : route.path.startsWith(key);
594
+ const go = (key) => {
595
+ if (isDrawer.value) store.closeMobileNav();
596
+ if (!isActive(key)) navigateTo(key);
597
+ };
598
+ const { isDrawer, isTablet } = useResponsive();
599
+ const navMode = computed(() => navHydrated.value ? isDrawer.value ? "drawer" : isTablet.value ? "rail" : "full" : void 0);
600
+ const effectiveCollapsed = computed(() => isDrawer.value ? false : isTablet.value ? true : store.sidebarCollapsed);
601
+ const showLabels = computed(() => !effectiveCollapsed.value);
602
+ const drawerOpen = computed(() => isDrawer.value && store.mobileNavOpen);
603
+ /** 路由变化即收抽屉:抽屉是"去别处"的中转,不是常驻面板 */
604
+ watch(() => route.path, () => {
605
+ if (store.mobileNavOpen) store.closeMobileNav();
606
+ });
607
+ /**
608
+ * 形态镜像到 <body>(nav-drawer / nav-drawer-open)。
609
+ *
610
+ * 为什么不用 :class 直接打在 a-layout-sider 上:实测 antd 的 Sider 不会把
611
+ * 动态 class 落到它渲染的 <aside> 上(静态 class 可以,DOM 里查不到 is-drawer)。
612
+ * 依赖第三方组件的 attr 透传行为来做**结构性**布局是脆的 ——
613
+ * 改为把形态写在 body 上,CSS 由 main.css 的响应式层接管,只依赖自己的状态。
614
+ */
615
+ watchEffect(() => {});
616
+ /** 抽屉展开时锁画布滚动(否则背景跟着手指跑,浮层失去"压在台面上"的物理感) */
617
+ watch(drawerOpen, (open) => {});
618
+ return (_ctx, _push, _parent, _attrs) => {
619
+ const _component_a_layout_sider = LayoutSider;
620
+ const _component_AwLogo = AwLogo_default;
621
+ _push(`<!--[-->`);
622
+ _push(ssrRenderComponent(_component_a_layout_sider, {
623
+ collapsed: unref(effectiveCollapsed),
624
+ trigger: null,
625
+ collapsible: "",
626
+ width: 228,
627
+ "collapsed-width": 64,
628
+ class: "app-sider",
629
+ "data-nav-mode": unref(navMode),
630
+ "aria-hidden": unref(isDrawer) && !unref(drawerOpen) ? "true" : void 0
631
+ }, {
632
+ default: withCtx((_, _push, _parent, _scopeId) => {
633
+ if (_push) {
634
+ _push(`<div class="logo" data-v-a91ac3dd${_scopeId}><div class="logo-mark" aria-hidden="true" data-v-a91ac3dd${_scopeId}>`);
635
+ _push(ssrRenderComponent(_component_AwLogo, { size: 30 }, null, _parent, _scopeId));
636
+ _push(`</div><div class="logo-text" style="${ssrRenderStyle(unref(showLabels) ? null : { display: "none" })}" data-v-a91ac3dd${_scopeId}><span class="logo-title" data-v-a91ac3dd${_scopeId}>${ssrInterpolate(unref(site).name)}</span><span class="logo-sub" data-v-a91ac3dd${_scopeId}>digital twin</span></div></div><nav class="app-menu" data-v-a91ac3dd${_scopeId}><!--[-->`);
637
+ ssrRenderList(unref(menuGroups), (group) => {
638
+ _push(`<div class="menu-group" data-v-a91ac3dd${_scopeId}><div class="menu-group-label" style="${ssrRenderStyle(unref(showLabels) ? null : { display: "none" })}" data-v-a91ac3dd${_scopeId}><span class="menu-group-text" data-v-a91ac3dd${_scopeId}>${ssrInterpolate(group.label)}</span><span class="menu-group-rule" aria-hidden="true" data-v-a91ac3dd${_scopeId}></span></div><div class="menu-group-sep" aria-hidden="true" style="${ssrRenderStyle(!unref(showLabels) ? null : { display: "none" })}" data-v-a91ac3dd${_scopeId}></div><!--[-->`);
639
+ ssrRenderList(group.items, (item) => {
640
+ _push(`<button type="button" class="${ssrRenderClass([{ active: isActive(item.key) }, "menu-item im"])}"${ssrRenderAttr("title", !unref(showLabels) ? item.label : void 0)} data-v-a91ac3dd${_scopeId}><span class="${ssrRenderClass([[item.icon, item.motion], "menu-icon"])}" data-v-a91ac3dd${_scopeId}></span><span class="menu-label" style="${ssrRenderStyle(unref(showLabels) ? null : { display: "none" })}" data-v-a91ac3dd${_scopeId}>${ssrInterpolate(item.label)}</span></button>`);
641
+ });
642
+ _push(`<!--]--></div>`);
643
+ });
644
+ _push(`<!--]--></nav><div class="sider-footer" style="${ssrRenderStyle(unref(showLabels) ? null : { display: "none" })}" data-v-a91ac3dd${_scopeId}><div class="footer-rule" data-v-a91ac3dd${_scopeId}></div><div class="footer-line" data-v-a91ac3dd${_scopeId}><span data-v-a91ac3dd${_scopeId}>v${ssrInterpolate(unref(site).version)}</span><span class="sep" data-v-a91ac3dd${_scopeId}>/</span><span data-v-a91ac3dd${_scopeId}>${ssrInterpolate(unref(site).mode)}</span></div></div>`);
645
+ } else return [
646
+ createVNode("div", { class: "logo" }, [createVNode("div", {
647
+ class: "logo-mark",
648
+ "aria-hidden": "true"
649
+ }, [createVNode(_component_AwLogo, { size: 30 })]), createVNode(Transition, { name: "slide-fade" }, {
650
+ default: withCtx(() => [withDirectives(createVNode("div", { class: "logo-text" }, [createVNode("span", { class: "logo-title" }, toDisplayString(unref(site).name), 1), createVNode("span", { class: "logo-sub" }, "digital twin")], 512), [[vShow, unref(showLabels)]])]),
651
+ _: 1
652
+ })]),
653
+ createVNode("nav", { class: "app-menu" }, [(openBlock(true), createBlock(Fragment, null, renderList(unref(menuGroups), (group) => {
654
+ return openBlock(), createBlock("div", {
655
+ key: group.id,
656
+ class: "menu-group"
657
+ }, [
658
+ withDirectives(createVNode("div", { class: "menu-group-label" }, [createVNode("span", { class: "menu-group-text" }, toDisplayString(group.label), 1), createVNode("span", {
659
+ class: "menu-group-rule",
660
+ "aria-hidden": "true"
661
+ })], 512), [[vShow, unref(showLabels)]]),
662
+ withDirectives(createVNode("div", {
663
+ class: "menu-group-sep",
664
+ "aria-hidden": "true"
665
+ }, null, 512), [[vShow, !unref(showLabels)]]),
666
+ (openBlock(true), createBlock(Fragment, null, renderList(group.items, (item) => {
667
+ return openBlock(), createBlock("button", {
668
+ key: item.key,
669
+ type: "button",
670
+ class: ["menu-item im", { active: isActive(item.key) }],
671
+ title: !unref(showLabels) ? item.label : void 0,
672
+ onClick: ($event) => go(item.key)
673
+ }, [createVNode("span", { class: ["menu-icon", [item.icon, item.motion]] }, null, 2), withDirectives(createVNode("span", { class: "menu-label" }, toDisplayString(item.label), 513), [[vShow, unref(showLabels)]])], 10, ["title", "onClick"]);
674
+ }), 128))
675
+ ]);
676
+ }), 128))]),
677
+ withDirectives(createVNode("div", { class: "sider-footer" }, [createVNode("div", { class: "footer-rule" }), createVNode("div", { class: "footer-line" }, [
678
+ createVNode("span", null, "v" + toDisplayString(unref(site).version), 1),
679
+ createVNode("span", { class: "sep" }, "/"),
680
+ createVNode("span", null, toDisplayString(unref(site).mode), 1)
681
+ ])], 512), [[vShow, unref(showLabels)]])
682
+ ];
683
+ }),
684
+ _: 1
685
+ }, _parent));
686
+ if (unref(drawerOpen)) _push(`<div class="nav-scrim" aria-hidden="true" data-v-a91ac3dd></div>`);
687
+ else _push(`<!---->`);
688
+ _push(`<!--]-->`);
689
+ };
690
+ }
691
+ });
692
+ //#endregion
693
+ //#region app/components/AppSidebar.vue
694
+ var _sfc_setup$7 = AppSidebar_vue_vue_type_script_setup_true_lang_default.setup;
695
+ AppSidebar_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
696
+ const ssrContext = useSSRContext();
697
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/AppSidebar.vue");
698
+ return _sfc_setup$7 ? _sfc_setup$7(props, ctx) : void 0;
699
+ };
700
+ var AppSidebar_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(AppSidebar_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-a91ac3dd"]]), { __name: "AppSidebar" });
701
+ //#endregion
702
+ //#region app/components/workshop/NotificationCenter.vue?vue&type=script&setup=true&lang.ts
703
+ var NotificationCenter_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
704
+ __name: "NotificationCenter",
705
+ __ssrInlineRender: true,
706
+ setup(__props) {
707
+ /**
708
+ * NotificationCenter —— 用户级通知铃铛(v17 主计划 §6,前端)。
709
+ *
710
+ * 与 HITL 铃标(agent 待办)并列但语义不同:这里是**按 recipientUserId 定向**的用户通知
711
+ * (被 @ / Agent 回复 / 审批请求与结果 / 成员变更)。投递隔离在服务端完成,
712
+ * 前端只负责:幂等展示(eventId 去重)、未读徽标、点击跳转、实时提示。
713
+ *
714
+ * 视觉语言沿用页头既有铃标:幽灵图标钮 + 角标 + 下拉列表(不另造一套)。
715
+ * 实时到达用 antd `message`(与全站 toast 同源),补拉/快照**不弹窗**(避免重连刷屏)。
716
+ */
717
+ const notifications = useNotificationsStore();
718
+ const wsStore = useWorkspacesStore();
719
+ useWorkshopWs();
720
+ const open = ref(false);
721
+ ref(null);
722
+ /** 实时通知 → 轻提示(仅直播帧触发;补拉不弹,防重连刷屏) */
723
+ watch(() => notifications.liveSeq, () => {
724
+ const n = notifications.liveItem;
725
+ if (!n) return;
726
+ api$1.info({
727
+ content: `${n.title}${n.body ? ` · ${n.body.slice(0, 60)}` : ""}`,
728
+ duration: 6,
729
+ onClick: () => void openNotification(n)
730
+ });
731
+ });
732
+ const TYPE_META = {
733
+ mention: {
734
+ label: "@ 提及",
735
+ icon: "i-tabler-at",
736
+ tone: "mention"
737
+ },
738
+ agent_reply: {
739
+ label: "Agent 回复",
740
+ icon: "i-tabler-robot",
741
+ tone: "reply"
742
+ },
743
+ hitl_request: {
744
+ label: "待审批",
745
+ icon: "i-tabler-alert-triangle",
746
+ tone: "hitl"
747
+ },
748
+ hitl_resolved: {
749
+ label: "审批结果",
750
+ icon: "i-tabler-circle-check",
751
+ tone: "ok"
752
+ },
753
+ member: {
754
+ label: "成员变更",
755
+ icon: "i-tabler-user-plus",
756
+ tone: "info"
757
+ }
758
+ };
759
+ const badge = computed(() => notifications.unreadCount > 99 ? "99+" : String(notifications.unreadCount));
760
+ /** 点击通知:先标已读,再跳到对应界面(群聊消息 → 该频道群聊;审批 → 运行时监控) */
761
+ async function openNotification(n) {
762
+ open.value = false;
763
+ if (!n.readAt) try {
764
+ await notifications.markRead({ id: n.id });
765
+ } catch {}
766
+ if (n.hitlKind || n.hitlId || n.type === "hitl_request") {
767
+ await navigateTo({
768
+ path: "/monitor",
769
+ query: {
770
+ agentId: String(n.payload?.agentId ?? ""),
771
+ channelId: n.channelId ?? ""
772
+ }
773
+ });
774
+ return;
775
+ }
776
+ if (!n.channelId) return;
777
+ if (!wsStore.loaded) try {
778
+ await wsStore.load();
779
+ } catch {}
780
+ const ws = wsStore.workspaces.find((w) => w.channelIds.includes(n.channelId));
781
+ if (!ws) {
782
+ await navigateTo("/workshop");
783
+ return;
784
+ }
785
+ wsStore.setActiveChannel(ws.id, n.channelId);
786
+ await navigateTo({
787
+ path: `/workshop/w/${ws.id}`,
788
+ query: { view: "chat" }
789
+ });
790
+ }
791
+ /** 全部已读(重入闸:PATCH 是幂等的,但连点会打出多条请求与多条提示) */
792
+ const markingAll = ref(false);
793
+ async function markAll() {
794
+ if (markingAll.value) return;
795
+ markingAll.value = true;
796
+ try {
797
+ await notifications.markRead({ all: true });
798
+ } catch (e) {
799
+ api$1.error(e instanceof Error ? e.message : "标记已读失败");
800
+ } finally {
801
+ markingAll.value = false;
802
+ }
803
+ }
804
+ return (_ctx, _push, _parent, _attrs) => {
805
+ _push(ssrRenderComponent(dropdown_default, mergeProps({
806
+ open: open.value,
807
+ "onUpdate:open": ($event) => open.value = $event,
808
+ placement: "bottomRight",
809
+ trigger: ["click"]
810
+ }, _attrs), {
811
+ overlay: withCtx((_, _push, _parent, _scopeId) => {
812
+ if (_push) {
813
+ _push(`<div class="nc-menu" data-v-d5946b75${_scopeId}><div class="nc-menu-title" data-v-d5946b75${_scopeId}><span data-v-d5946b75${_scopeId}>我的通知</span><span class="nc-unread" data-v-d5946b75${_scopeId}>${ssrInterpolate(unref(notifications).unreadCount)} 未读</span>`);
814
+ if (unref(notifications).unreadCount > 0) _push(`<button type="button" class="nc-markall" data-v-d5946b75${_scopeId}> 全部已读 </button>`);
815
+ else _push(`<!---->`);
816
+ _push(`</div><div class="nc-list" data-v-d5946b75${_scopeId}><!--[-->`);
817
+ ssrRenderList(unref(notifications).items, (n) => {
818
+ _push(`<button type="button" class="${ssrRenderClass([{ unread: !n.readAt }, "nc-item"])}" data-v-d5946b75${_scopeId}><span class="${ssrRenderClass([[TYPE_META[n.type]?.icon, TYPE_META[n.type]?.tone], "nc-item-icon"])}" data-v-d5946b75${_scopeId}></span><span class="nc-item-body" data-v-d5946b75${_scopeId}><span class="nc-item-top" data-v-d5946b75${_scopeId}><span class="nc-item-type" data-v-d5946b75${_scopeId}>${ssrInterpolate(TYPE_META[n.type]?.label ?? n.type)}</span><span class="nc-item-time" data-v-d5946b75${_scopeId}>${ssrInterpolate(unref(formatLocalClock)(n.createdAt, false))}</span></span><span class="nc-item-title" data-v-d5946b75${_scopeId}>${ssrInterpolate(n.title)}</span>`);
819
+ if (n.body) _push(`<span class="nc-item-text" data-v-d5946b75${_scopeId}>${ssrInterpolate(n.body)}</span>`);
820
+ else _push(`<!---->`);
821
+ _push(`</span>`);
822
+ if (!n.readAt) _push(`<span class="nc-dot" aria-hidden="true" data-v-d5946b75${_scopeId}></span>`);
823
+ else _push(`<!---->`);
824
+ _push(`</button>`);
825
+ });
826
+ _push(`<!--]-->`);
827
+ if (unref(notifications).items.length === 0) _push(`<div class="nc-empty" data-v-d5946b75${_scopeId}> 暂无通知 —— 被 @ 、收到 Agent 回复或审批请求时会出现在这里 </div>`);
828
+ else _push(`<!---->`);
829
+ _push(`</div></div>`);
830
+ } else return [createVNode("div", { class: "nc-menu" }, [createVNode("div", { class: "nc-menu-title" }, [
831
+ createVNode("span", null, "我的通知"),
832
+ createVNode("span", { class: "nc-unread" }, toDisplayString(unref(notifications).unreadCount) + " 未读", 1),
833
+ unref(notifications).unreadCount > 0 ? (openBlock(), createBlock("button", {
834
+ key: 0,
835
+ type: "button",
836
+ class: "nc-markall",
837
+ onClick: withModifiers(markAll, ["stop"])
838
+ }, " 全部已读 ")) : createCommentVNode("", true)
839
+ ]), createVNode("div", { class: "nc-list" }, [(openBlock(true), createBlock(Fragment, null, renderList(unref(notifications).items, (n) => {
840
+ return openBlock(), createBlock("button", {
841
+ key: n.id,
842
+ type: "button",
843
+ class: ["nc-item", { unread: !n.readAt }],
844
+ onClick: ($event) => openNotification(n)
845
+ }, [
846
+ createVNode("span", { class: ["nc-item-icon", [TYPE_META[n.type]?.icon, TYPE_META[n.type]?.tone]] }, null, 2),
847
+ createVNode("span", { class: "nc-item-body" }, [
848
+ createVNode("span", { class: "nc-item-top" }, [createVNode("span", { class: "nc-item-type" }, toDisplayString(TYPE_META[n.type]?.label ?? n.type), 1), createVNode("span", { class: "nc-item-time" }, toDisplayString(unref(formatLocalClock)(n.createdAt, false)), 1)]),
849
+ createVNode("span", { class: "nc-item-title" }, toDisplayString(n.title), 1),
850
+ n.body ? (openBlock(), createBlock("span", {
851
+ key: 0,
852
+ class: "nc-item-text"
853
+ }, toDisplayString(n.body), 1)) : createCommentVNode("", true)
854
+ ]),
855
+ !n.readAt ? (openBlock(), createBlock("span", {
856
+ key: 0,
857
+ class: "nc-dot",
858
+ "aria-hidden": "true"
859
+ })) : createCommentVNode("", true)
860
+ ], 10, ["onClick"]);
861
+ }), 128)), unref(notifications).items.length === 0 ? (openBlock(), createBlock("div", {
862
+ key: 0,
863
+ class: "nc-empty"
864
+ }, " 暂无通知 —— 被 @ 、收到 Agent 回复或审批请求时会出现在这里 ")) : createCommentVNode("", true)])])];
865
+ }),
866
+ default: withCtx((_, _push, _parent, _scopeId) => {
867
+ if (_push) {
868
+ _push(`<button class="${ssrRenderClass([{ unread: unref(notifications).unreadCount > 0 }, "icon-btn nc-bell"])}" title="我的通知(@ 提及 / Agent 回复 / 审批)" data-v-d5946b75${_scopeId}><span class="i-tabler-bell" data-v-d5946b75${_scopeId}></span>`);
869
+ if (unref(notifications).unreadCount > 0) _push(`<span class="nc-count" data-v-d5946b75${_scopeId}>${ssrInterpolate(badge.value)}</span>`);
870
+ else _push(`<!---->`);
871
+ _push(`</button>`);
872
+ } else return [createVNode("button", {
873
+ class: ["icon-btn nc-bell", { unread: unref(notifications).unreadCount > 0 }],
874
+ title: "我的通知(@ 提及 / Agent 回复 / 审批)"
875
+ }, [createVNode("span", { class: "i-tabler-bell" }), unref(notifications).unreadCount > 0 ? (openBlock(), createBlock("span", {
876
+ key: 0,
877
+ class: "nc-count"
878
+ }, toDisplayString(badge.value), 1)) : createCommentVNode("", true)], 2)];
879
+ }),
880
+ _: 1
881
+ }, _parent));
882
+ };
883
+ }
884
+ });
885
+ //#endregion
886
+ //#region app/components/workshop/NotificationCenter.vue
887
+ var _sfc_setup$6 = NotificationCenter_vue_vue_type_script_setup_true_lang_default.setup;
888
+ NotificationCenter_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
889
+ const ssrContext = useSSRContext();
890
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/workshop/NotificationCenter.vue");
891
+ return _sfc_setup$6 ? _sfc_setup$6(props, ctx) : void 0;
892
+ };
893
+ var NotificationCenter_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(NotificationCenter_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-d5946b75"]]), { __name: "WorkshopNotificationCenter" });
894
+ //#endregion
895
+ //#region app/stores/route-trail.ts
896
+ var useRouteTrailStore = (0, composables_exports.defineStore)("app.routeTrail", () => {
897
+ const waypoints = ref([]);
898
+ /** 记录一次访问;同路径重复访问 → 移到末尾(刷新时间戳) */
899
+ function visit(path) {
900
+ if (!path || path.startsWith("/api")) return;
901
+ const rest = waypoints.value.filter((w) => w.path !== path);
902
+ waypoints.value = [...rest, {
903
+ path,
904
+ at: Date.now()
905
+ }].slice(-8);
906
+ }
907
+ /** 关闭单个航点(标签页);返回被移除航点在原数组中的下标(供关闭当前页时挑选跳转目标) */
908
+ function remove(path) {
909
+ const idx = waypoints.value.findIndex((w) => w.path === path);
910
+ if (idx >= 0) waypoints.value = waypoints.value.filter((w) => w.path !== path);
911
+ return idx;
912
+ }
913
+ /** 清空航迹 */
914
+ function clear() {
915
+ waypoints.value = [];
916
+ }
917
+ return {
918
+ waypoints,
919
+ visit,
920
+ remove,
921
+ clear
922
+ };
923
+ }, { persist: {
924
+ pick: ["waypoints"],
925
+ storage: storages.localStorage()
926
+ } });
927
+ //#endregion
928
+ //#region app/composables/useRouteMeta.ts
929
+ /**
930
+ * 路径 → 航迹元数据(标题/图标):
931
+ * - 静态路由按菜单表;i18n 响应式派生,语言切换即时生效
932
+ * - 动态路由 /workshop/w/:id 用 workspace 名称(异步加载后 reactive 刷新)
933
+ */
934
+ function useRouteMeta() {
935
+ const { t } = useI18n();
936
+ const workspaces = useWorkspacesStore();
937
+ /** 静态路由表:标题存 i18n key(metaFor 求值时才 t(),语言切换即时生效) */
938
+ const staticMap = {
939
+ "/": {
940
+ key: "menu.dashboard",
941
+ icon: "i-tabler-layout-dashboard"
942
+ },
943
+ "/workshop": {
944
+ key: "menu.workshop",
945
+ icon: "i-tabler-box"
946
+ },
947
+ "/workshop/agents": {
948
+ key: "meta.agents",
949
+ icon: "i-tabler-users"
950
+ },
951
+ "/workshop/teams": {
952
+ key: "meta.teams",
953
+ icon: "i-tabler-users-group"
954
+ },
955
+ "/workshop/channel-templates": {
956
+ key: "meta.ctpl",
957
+ icon: "i-tabler-layout-grid-add"
958
+ },
959
+ "/town": {
960
+ key: "menu.town",
961
+ icon: "i-tabler-map-2"
962
+ },
963
+ "/tokens": {
964
+ key: "menu.tokens",
965
+ icon: "i-tabler-key"
966
+ },
967
+ "/daq": {
968
+ key: "menu.daq",
969
+ icon: "i-tabler-activity"
970
+ },
971
+ "/dcw": {
972
+ key: "menu.dcw",
973
+ icon: "i-tabler-settings-automation"
974
+ },
975
+ "/aml": {
976
+ key: "menu.aml",
977
+ icon: "i-tabler-flask"
978
+ },
979
+ "/logs": {
980
+ key: "menu.logs",
981
+ icon: "i-tabler-list-details"
982
+ },
983
+ "/permissions": {
984
+ key: "menu.permissions",
985
+ icon: "i-tabler-shield-lock"
986
+ },
987
+ "/plugins": {
988
+ key: "menu.plugins",
989
+ icon: "i-tabler-puzzle"
990
+ },
991
+ "/users": {
992
+ key: "menu.users",
993
+ icon: "i-tabler-users-group"
994
+ },
995
+ "/monitor": {
996
+ key: "menu.monitor",
997
+ icon: "i-tabler-cpu"
998
+ },
999
+ "/settings": {
1000
+ key: "menu.settings",
1001
+ icon: "i-tabler-settings"
1002
+ }
1003
+ };
1004
+ const metaFor = (path) => {
1005
+ const direct = staticMap[path];
1006
+ if (direct) return {
1007
+ title: t(direct.key),
1008
+ icon: direct.icon
1009
+ };
1010
+ const wsMatch = path.match(/^\/workshop\/w\/([^/]+)$/);
1011
+ if (wsMatch) {
1012
+ const id = wsMatch[1];
1013
+ return {
1014
+ title: workspaces.workspaces.find((w) => w.id === id)?.name ?? `${t("header.workspace")} ${id.slice(0, 6)}`,
1015
+ icon: "i-tabler-console"
1016
+ };
1017
+ }
1018
+ const last = path.split("/").filter(Boolean).pop() ?? "·";
1019
+ return {
1020
+ title: last.charAt(0).toUpperCase() + last.slice(1),
1021
+ icon: "i-tabler-point"
1022
+ };
1023
+ };
1024
+ return { metaFor };
1025
+ }
1026
+ //#endregion
1027
+ //#region app/components/app-header/TrailNav.vue?vue&type=script&setup=true&lang.ts
1028
+ var TrailNav_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
1029
+ __name: "TrailNav",
1030
+ __ssrInlineRender: true,
1031
+ props: { hydrated: { type: Boolean } },
1032
+ setup(__props) {
1033
+ const route = useRoute();
1034
+ const { t } = useI18n();
1035
+ const trail = useRouteTrailStore();
1036
+ const { metaFor } = useRouteMeta();
1037
+ return (_ctx, _push, _parent, _attrs) => {
1038
+ _push(`<nav${ssrRenderAttrs(mergeProps({
1039
+ class: "trail",
1040
+ "aria-label": unref(t)("header.trail")
1041
+ }, _attrs))} data-v-9570d879><div${ssrRenderAttrs({
1042
+ name: "stamp",
1043
+ class: "trail-row"
1044
+ })} data-v-9570d879>`);
1045
+ if (__props.hydrated) {
1046
+ _push(`<!--[-->`);
1047
+ ssrRenderList(unref(trail).waypoints, (w, i) => {
1048
+ _push(`<!--[-->`);
1049
+ if (i > 0) _push(`<span class="trail-link" aria-hidden="true" data-v-9570d879></span>`);
1050
+ else _push(`<!---->`);
1051
+ _push(`<div class="${ssrRenderClass([{ active: w.path === unref(route).path }, "trail-node"])}" role="button" tabindex="0"${ssrRenderAttr("title", unref(metaFor)(w.path).title)} data-v-9570d879><span class="${ssrRenderClass([unref(metaFor)(w.path).icon, "node-icon"])}" data-v-9570d879></span><span class="node-title" data-v-9570d879>${ssrInterpolate(unref(metaFor)(w.path).title)}</span><button class="node-close"${ssrRenderAttr("aria-label", _ctx.$t("appHeader.kzwjv99001", { p0: unref(metaFor)(w.path).title }))}${ssrRenderAttr("title", _ctx.$t("appHeader.kzwjv99001", { p0: unref(metaFor)(w.path).title }))} data-v-9570d879><span class="i-tabler-x" data-v-9570d879></span></button></div><!--]-->`);
1052
+ });
1053
+ _push(`<!--]-->`);
1054
+ }
1055
+ _push(`</div></nav>`);
1056
+ };
1057
+ }
1058
+ });
1059
+ //#endregion
1060
+ //#region app/components/app-header/TrailNav.vue
1061
+ var _sfc_setup$5 = TrailNav_vue_vue_type_script_setup_true_lang_default.setup;
1062
+ TrailNav_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
1063
+ const ssrContext = useSSRContext();
1064
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/app-header/TrailNav.vue");
1065
+ return _sfc_setup$5 ? _sfc_setup$5(props, ctx) : void 0;
1066
+ };
1067
+ var TrailNav_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(TrailNav_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-9570d879"]]), { __name: "AppHeaderTrailNav" });
1068
+ //#endregion
1069
+ //#region app/composables/workshop/useHitlAnswer.ts
1070
+ /**
1071
+ * HITL 待办应答(页头铃标下拉里的提问/审批控件:形态判定 + 答案草稿 + 提交)。
1072
+ *
1073
+ * 草稿态(qSingle/qMulti/qFree)必须只有一份,所以本 composable **只允许在
1074
+ * HitlBell.vue 的 setup() 里实例化一次**;Pinia store 是单例,可在任意组件重复取用。
1075
+ */
1076
+ function useHitlAnswer() {
1077
+ const { t } = useI18n();
1078
+ const hitl = useHitlStore();
1079
+ const chat = useChatStore();
1080
+ /**
1081
+ * 可应答 kind 白名单(**与 server/api/workshop/hitl/respond.post.ts 的 RESPONDABLE_KINDS 一致**)。
1082
+ * 旧实现只对 codex/opencode/dsh 三种渲染按钮,且把 omp-dialog 排除在外 ——
1083
+ * omp 的 ask 对话框因此只能进终端面板回答,页头看不到任何入口。
1084
+ */
1085
+ const HITL_KINDS = [
1086
+ "omp-dialog",
1087
+ "dcw-approval",
1088
+ "codex-approval",
1089
+ "opencode-permission",
1090
+ "dsh-permission",
1091
+ "claude-permission",
1092
+ "qwen-permission",
1093
+ "hermes-permission"
1094
+ ];
1095
+ const hitlKindLabel = (kind) => {
1096
+ switch (kind) {
1097
+ case "omp-dialog": return t("appHeader.hitlKindOmp");
1098
+ case "dcw-approval": return t("appHeader.hitlKindDcw");
1099
+ case "codex-approval": return t("appHeader.hitlKindCodex");
1100
+ case "opencode-permission": return t("appHeader.hitlKindOpencode");
1101
+ case "dsh-permission": return t("appHeader.hitlKindDsh");
1102
+ case "claude-permission": return "claude 权限";
1103
+ case "qwen-permission": return "qwen 权限";
1104
+ case "hermes-permission": return "hermes 权限";
1105
+ default: return kind;
1106
+ }
1107
+ };
1108
+ const hitlGo = (item) => {
1109
+ navigateTo({
1110
+ path: "/monitor",
1111
+ query: {
1112
+ agentId: item.agentId,
1113
+ channelId: item.channelId
1114
+ }
1115
+ });
1116
+ };
1117
+ const permsKnown = (item) => item.channelId in chat.permissions;
1118
+ /**
1119
+ * 能否裁决:以服务端能力视图为准。
1120
+ * 例外:遗留无主 Channel(owner=NULL)的能力视图恒为 canApprove=false,但服务端
1121
+ * `hitl-decision.assertCanDecideHitlChannel` 对该类 Channel 保持旧口径
1122
+ * (getChannelForUser:任意登录用户可裁决,§13.2 兼容语义)—— 前端不能把服务端允许的
1123
+ * 操作藏起来,否则旧 Channel 的待办会变成"看得见、办不了"。
1124
+ */
1125
+ const canAnswer = (item) => {
1126
+ const p = chat.permissions[item.channelId];
1127
+ if (!p) return false;
1128
+ if (p.canApprove || p.isAdmin) return true;
1129
+ return chat.settings[item.channelId]?.legacy === true;
1130
+ };
1131
+ /**
1132
+ * 'question' = 答案是**内容**(自由文本/单选/多选/单选按钮组);
1133
+ * 'approval' = 答案是**是否放行**。
1134
+ * 现网各 adapter 尚未回填 requestType,故按 method 推定:select/input/editor 视为提问,
1135
+ * confirm(或缺省)视为授权 —— 与 adapter 的注册习惯一致(见各 agent registerHitl)。
1136
+ */
1137
+ const requestTypeOf = (item) => {
1138
+ if (item.requestType) return item.requestType;
1139
+ if (item.questions && item.questions.length > 0) return "question";
1140
+ if (item.method === "input" || item.method === "editor" || item.method === "select") return "question";
1141
+ return "approval";
1142
+ };
1143
+ const isQuestion = (item) => requestTypeOf(item) === "question";
1144
+ /** opencode 权限支持引擎原生枚举(once/always/reject);其余引擎只认 confirmed 布尔 */
1145
+ const isNativeOptionApproval = (item) => item.kind === "opencode-permission" && (item.options?.length ?? 0) > 0;
1146
+ const qSingle = ref({});
1147
+ const qMulti = ref({});
1148
+ const qFree = ref({});
1149
+ const itemKey = (item) => `${item.kind}:${item.id}`;
1150
+ const slotOf = (item, qid) => `${itemKey(item)}:${qid}`;
1151
+ const isChosen = (item, q, label) => q.multiSelect ? (qMulti.value[slotOf(item, q.id)] ?? []).includes(label) : qSingle.value[slotOf(item, q.id)] === label;
1152
+ const chooseOption = (item, q, label) => {
1153
+ const slot = slotOf(item, q.id);
1154
+ if (q.multiSelect) {
1155
+ const cur = qMulti.value[slot] ?? [];
1156
+ qMulti.value = {
1157
+ ...qMulti.value,
1158
+ [slot]: cur.includes(label) ? cur.filter((x) => x !== label) : [...cur, label]
1159
+ };
1160
+ } else qSingle.value = {
1161
+ ...qSingle.value,
1162
+ [slot]: label
1163
+ };
1164
+ };
1165
+ /** 单问题答案:选项(多选以中文顿号连接)+ 补充自由文本 */
1166
+ const answerOf = (item, q) => {
1167
+ const slot = slotOf(item, q.id);
1168
+ const picked = q.multiSelect ? qMulti.value[slot] ?? [] : [qSingle.value[slot] ?? ""].filter(Boolean);
1169
+ const free = (qFree.value[slot] ?? "").trim();
1170
+ return [...picked.filter(Boolean), free].filter(Boolean).join("、");
1171
+ };
1172
+ /** 无 questions 的提问型条目合成为单题(选项来自 item.options;无选项 = 自由文本) */
1173
+ const PLAIN_QID = "__plain";
1174
+ const questionsOf = (item) => {
1175
+ if (item.questions && item.questions.length > 0) return item.questions;
1176
+ const opts = item.options?.map((o) => ({ label: o }));
1177
+ return [{
1178
+ id: PLAIN_QID,
1179
+ question: item.message || item.detail || item.title,
1180
+ options: opts,
1181
+ multiSelect: false,
1182
+ freeText: !(opts && opts.length > 0)
1183
+ }];
1184
+ };
1185
+ /**
1186
+ * 统一应答入口(单点收敛 loading / 409 / 403 语义)。
1187
+ *
1188
+ * 提问型一律走结构化 `answers[]`(按问题 id 对齐):服务端按 `answers` 取答案并编码成
1189
+ * 引擎原生信封;此前把多问题手拼成 JSON 字符串塞进 `value` 是错的 —— 服务端只认
1190
+ * `answers`,拼 JSON 会被当作"单答案文本",逐题结果全空(答案静默丢失、接口仍返回 ok)。
1191
+ */
1192
+ const answer = async (item, payload) => {
1193
+ const out = await hitl.answer(item, payload);
1194
+ if (out.ok) {
1195
+ api$1.success("已提交");
1196
+ return;
1197
+ }
1198
+ if (out.code === "ALREADY_RESOLVED") api$1.warning("已被他人处理");
1199
+ else if (out.code === "APPROVAL_FORBIDDEN") api$1.warning(out.message || "无审批权限(该 Channel 策略不允许你决策)");
1200
+ else api$1.error(out.message);
1201
+ };
1202
+ const submitQuestion = async (item) => {
1203
+ const qs = questionsOf(item);
1204
+ const blank = qs.findIndex((q) => !answerOf(item, q).trim());
1205
+ if (blank >= 0) {
1206
+ api$1.warning(`请先填写第 ${blank + 1} 题(${qs[blank].question || "未命名问题"})的答案`);
1207
+ return;
1208
+ }
1209
+ await answer(item, { answers: qs.map((q, i) => ({
1210
+ id: q.id || String(i),
1211
+ answer: answerOf(item, q)
1212
+ })) });
1213
+ };
1214
+ const submitApproval = async (item, confirmed) => {
1215
+ await answer(item, { confirmed });
1216
+ };
1217
+ const submitNativeOption = async (item, response) => {
1218
+ await answer(item, { response });
1219
+ };
1220
+ const submitCancel = async (item) => {
1221
+ await answer(item, { cancelled: true });
1222
+ };
1223
+ /** 审批策略人话(policy 由服务端冻结在条目上;缺省 = owner_only 语义) */
1224
+ const policyLabel = (item) => item.policy === "any_member" ? "任一成员可决策" : item.policy ? "仅 owner 可决策" : "";
1225
+ return {
1226
+ HITL_KINDS,
1227
+ hitlKindLabel,
1228
+ hitlGo,
1229
+ permsKnown,
1230
+ canAnswer,
1231
+ requestTypeOf,
1232
+ isQuestion,
1233
+ isNativeOptionApproval,
1234
+ qSingle,
1235
+ qMulti,
1236
+ qFree,
1237
+ itemKey,
1238
+ slotOf,
1239
+ isChosen,
1240
+ chooseOption,
1241
+ answerOf,
1242
+ PLAIN_QID,
1243
+ questionsOf,
1244
+ answer,
1245
+ submitQuestion,
1246
+ submitApproval,
1247
+ submitNativeOption,
1248
+ submitCancel,
1249
+ policyLabel
1250
+ };
1251
+ }
1252
+ //#endregion
1253
+ //#region app/components/app-header/HitlBell.vue?vue&type=script&setup=true&lang.ts
1254
+ var HitlBell_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
1255
+ __name: "HitlBell",
1256
+ __ssrInlineRender: true,
1257
+ setup(__props) {
1258
+ const { t } = useI18n();
1259
+ const hitl = useHitlStore();
1260
+ const { HITL_KINDS, hitlKindLabel, hitlGo, permsKnown, canAnswer, requestTypeOf, isQuestion, isNativeOptionApproval, qFree, slotOf, isChosen, chooseOption, questionsOf, submitQuestion, submitNativeOption, submitApproval, submitCancel, policyLabel } = useHitlAnswer();
1261
+ return (_ctx, _push, _parent, _attrs) => {
1262
+ const _component_a_dropdown = dropdown_default;
1263
+ const _component_a_textarea = TextArea_default;
1264
+ const _component_a_button = button_default;
1265
+ if (unref(hitl).count > 0) _push(ssrRenderComponent(_component_a_dropdown, mergeProps({ placement: "bottomRight" }, _attrs), {
1266
+ overlay: withCtx((_, _push, _parent, _scopeId) => {
1267
+ if (_push) {
1268
+ _push(`<div class="hitl-menu" data-v-1fdcc40f${_scopeId}><div class="hitl-menu-title" data-v-1fdcc40f${_scopeId}>${ssrInterpolate(unref(t)("appHeader.hitlBadge"))} · ${ssrInterpolate(unref(hitl).count)}</div><!--[-->`);
1269
+ ssrRenderList(unref(hitl).items, (item) => {
1270
+ _push(`<div class="hitl-item" data-v-1fdcc40f${_scopeId}><button type="button" class="hitl-item-head" data-v-1fdcc40f${_scopeId}><span class="hitl-item-top" data-v-1fdcc40f${_scopeId}><span class="hitl-item-agent" data-v-1fdcc40f${_scopeId}>${ssrInterpolate(item.agentName)}</span><span class="hitl-item-kind" data-v-1fdcc40f${_scopeId}>${ssrInterpolate(unref(hitlKindLabel)(item.kind))}</span>`);
1271
+ if (item.requestType || unref(isQuestion)(item)) _push(`<span class="hitl-item-reqtype"${ssrRenderAttr("data-type", unref(requestTypeOf)(item))} data-v-1fdcc40f${_scopeId}>${ssrInterpolate(unref(isQuestion)(item) ? "提问" : "审批")}</span>`);
1272
+ else _push(`<!---->`);
1273
+ _push(`</span><span class="hitl-item-title" data-v-1fdcc40f${_scopeId}>${ssrInterpolate(item.title)}</span>`);
1274
+ if (item.detail) _push(`<span class="hitl-item-detail" data-v-1fdcc40f${_scopeId}>${ssrInterpolate(item.detail)}</span>`);
1275
+ else _push(`<!---->`);
1276
+ if (item.message) _push(`<span class="hitl-item-detail" data-v-1fdcc40f${_scopeId}>${ssrInterpolate(item.message)}</span>`);
1277
+ else _push(`<!---->`);
1278
+ if (item.policy) _push(`<span class="hitl-item-policy" data-v-1fdcc40f${_scopeId}><span class="i-tabler-shield-lock" data-v-1fdcc40f${_scopeId}></span> 策略:${ssrInterpolate(unref(policyLabel)(item))}</span>`);
1279
+ else _push(`<!---->`);
1280
+ _push(`</button>`);
1281
+ if (!unref(HITL_KINDS).includes(item.kind)) _push(`<div class="hitl-answer-note" data-v-1fdcc40f${_scopeId}> 该类型待办需在对应引擎界面处理 </div>`);
1282
+ else if (!unref(permsKnown)(item)) _push(`<div class="hitl-answer-note" data-v-1fdcc40f${_scopeId}> 读取审批权限… </div>`);
1283
+ else if (!unref(canAnswer)(item)) _push(`<div class="hitl-answer-note" data-v-1fdcc40f${_scopeId}> 无审批权限${ssrInterpolate(item.policy ? `(${unref(policyLabel)(item)})` : "")}</div>`);
1284
+ else {
1285
+ _push(`<div class="hitl-answer" data-v-1fdcc40f${_scopeId}>`);
1286
+ if (unref(isQuestion)(item)) {
1287
+ _push(`<!--[--><!--[-->`);
1288
+ ssrRenderList(unref(questionsOf)(item), (q, qi) => {
1289
+ _push(`<div class="hitl-q" data-v-1fdcc40f${_scopeId}>`);
1290
+ if (item.questions && item.questions.length > 1) _push(`<div class="hitl-q-title" data-v-1fdcc40f${_scopeId}>${ssrInterpolate(qi + 1)}. ${ssrInterpolate(q.header || q.question)}</div>`);
1291
+ else _push(`<!---->`);
1292
+ if (q.header && q.question) _push(`<div class="hitl-q-desc" data-v-1fdcc40f${_scopeId}>${ssrInterpolate(q.question)}</div>`);
1293
+ else _push(`<!---->`);
1294
+ if (q.options && q.options.length > 0) {
1295
+ _push(`<div class="hitl-opts" data-v-1fdcc40f${_scopeId}><!--[-->`);
1296
+ ssrRenderList(q.options, (o) => {
1297
+ _push(`<button type="button" class="${ssrRenderClass([{ on: unref(isChosen)(item, q, o.label) }, "hitl-opt"])}"${ssrRenderAttr("title", o.description || o.label)} data-v-1fdcc40f${_scopeId}>${ssrInterpolate(o.label)}</button>`);
1298
+ });
1299
+ _push(`<!--]--></div>`);
1300
+ } else _push(`<!---->`);
1301
+ if (!(q.options && q.options.length > 0) || q.freeText) _push(ssrRenderComponent(_component_a_textarea, {
1302
+ value: unref(qFree)[unref(slotOf)(item, q.id)],
1303
+ "onUpdate:value": ($event) => unref(qFree)[unref(slotOf)(item, q.id)] = $event,
1304
+ rows: 2,
1305
+ placeholder: q.options && q.options.length > 0 ? "补充说明(可选)" : "输入答案"
1306
+ }, null, _parent, _scopeId));
1307
+ else _push(`<!---->`);
1308
+ _push(`</div>`);
1309
+ });
1310
+ _push(`<!--]--><div class="hitl-btns" data-v-1fdcc40f${_scopeId}>`);
1311
+ _push(ssrRenderComponent(_component_a_button, {
1312
+ size: "small",
1313
+ type: "primary",
1314
+ loading: unref(hitl).answering === `${item.kind}:${item.id}`,
1315
+ onClick: ($event) => unref(submitQuestion)(item)
1316
+ }, {
1317
+ default: withCtx((_, _push, _parent, _scopeId) => {
1318
+ if (_push) _push(` 提交答案 `);
1319
+ else return [createTextVNode(" 提交答案 ")];
1320
+ }),
1321
+ _: 2
1322
+ }, _parent, _scopeId));
1323
+ _push(ssrRenderComponent(_component_a_button, {
1324
+ size: "small",
1325
+ disabled: unref(hitl).answering === `${item.kind}:${item.id}`,
1326
+ onClick: ($event) => unref(submitCancel)(item)
1327
+ }, {
1328
+ default: withCtx((_, _push, _parent, _scopeId) => {
1329
+ if (_push) _push(` 取消请求 `);
1330
+ else return [createTextVNode(" 取消请求 ")];
1331
+ }),
1332
+ _: 2
1333
+ }, _parent, _scopeId));
1334
+ _push(`</div><!--]-->`);
1335
+ } else {
1336
+ _push(`<!--[-->`);
1337
+ if (unref(isNativeOptionApproval)(item)) {
1338
+ _push(`<div class="hitl-opts" data-v-1fdcc40f${_scopeId}><!--[-->`);
1339
+ ssrRenderList(item.options, (o) => {
1340
+ _push(`<button type="button" class="hitl-opt" data-v-1fdcc40f${_scopeId}>${ssrInterpolate(o)}</button>`);
1341
+ });
1342
+ _push(`<!--]--></div>`);
1343
+ } else _push(`<!---->`);
1344
+ _push(`<div class="hitl-btns" data-v-1fdcc40f${_scopeId}>`);
1345
+ _push(ssrRenderComponent(_component_a_button, {
1346
+ size: "small",
1347
+ type: "primary",
1348
+ loading: unref(hitl).answering === `${item.kind}:${item.id}`,
1349
+ onClick: ($event) => unref(submitApproval)(item, true)
1350
+ }, {
1351
+ default: withCtx((_, _push, _parent, _scopeId) => {
1352
+ if (_push) _push(`${ssrInterpolate(unref(t)("appHeader.hitlApprove"))}`);
1353
+ else return [createTextVNode(toDisplayString(unref(t)("appHeader.hitlApprove")), 1)];
1354
+ }),
1355
+ _: 2
1356
+ }, _parent, _scopeId));
1357
+ _push(ssrRenderComponent(_component_a_button, {
1358
+ size: "small",
1359
+ danger: "",
1360
+ disabled: unref(hitl).answering === `${item.kind}:${item.id}`,
1361
+ onClick: ($event) => unref(submitApproval)(item, false)
1362
+ }, {
1363
+ default: withCtx((_, _push, _parent, _scopeId) => {
1364
+ if (_push) _push(`${ssrInterpolate(unref(t)("appHeader.hitlReject"))}`);
1365
+ else return [createTextVNode(toDisplayString(unref(t)("appHeader.hitlReject")), 1)];
1366
+ }),
1367
+ _: 2
1368
+ }, _parent, _scopeId));
1369
+ _push(ssrRenderComponent(_component_a_button, {
1370
+ size: "small",
1371
+ disabled: unref(hitl).answering === `${item.kind}:${item.id}`,
1372
+ onClick: ($event) => unref(submitCancel)(item)
1373
+ }, {
1374
+ default: withCtx((_, _push, _parent, _scopeId) => {
1375
+ if (_push) _push(` 取消 `);
1376
+ else return [createTextVNode(" 取消 ")];
1377
+ }),
1378
+ _: 2
1379
+ }, _parent, _scopeId));
1380
+ _push(`</div><!--]-->`);
1381
+ }
1382
+ _push(`</div>`);
1383
+ }
1384
+ _push(`</div>`);
1385
+ });
1386
+ _push(`<!--]--></div>`);
1387
+ } else return [createVNode("div", { class: "hitl-menu" }, [createVNode("div", { class: "hitl-menu-title" }, toDisplayString(unref(t)("appHeader.hitlBadge")) + " · " + toDisplayString(unref(hitl).count), 1), (openBlock(true), createBlock(Fragment, null, renderList(unref(hitl).items, (item) => {
1388
+ return openBlock(), createBlock("div", {
1389
+ key: `${item.kind}:${item.id}`,
1390
+ class: "hitl-item"
1391
+ }, [createVNode("button", {
1392
+ type: "button",
1393
+ class: "hitl-item-head",
1394
+ onClick: ($event) => unref(hitlGo)(item)
1395
+ }, [
1396
+ createVNode("span", { class: "hitl-item-top" }, [
1397
+ createVNode("span", { class: "hitl-item-agent" }, toDisplayString(item.agentName), 1),
1398
+ createVNode("span", { class: "hitl-item-kind" }, toDisplayString(unref(hitlKindLabel)(item.kind)), 1),
1399
+ item.requestType || unref(isQuestion)(item) ? (openBlock(), createBlock("span", {
1400
+ key: 0,
1401
+ class: "hitl-item-reqtype",
1402
+ "data-type": unref(requestTypeOf)(item)
1403
+ }, toDisplayString(unref(isQuestion)(item) ? "提问" : "审批"), 9, ["data-type"])) : createCommentVNode("", true)
1404
+ ]),
1405
+ createVNode("span", { class: "hitl-item-title" }, toDisplayString(item.title), 1),
1406
+ item.detail ? (openBlock(), createBlock("span", {
1407
+ key: 0,
1408
+ class: "hitl-item-detail"
1409
+ }, toDisplayString(item.detail), 1)) : createCommentVNode("", true),
1410
+ item.message ? (openBlock(), createBlock("span", {
1411
+ key: 1,
1412
+ class: "hitl-item-detail"
1413
+ }, toDisplayString(item.message), 1)) : createCommentVNode("", true),
1414
+ item.policy ? (openBlock(), createBlock("span", {
1415
+ key: 2,
1416
+ class: "hitl-item-policy"
1417
+ }, [createVNode("span", { class: "i-tabler-shield-lock" }), createTextVNode(" 策略:" + toDisplayString(unref(policyLabel)(item)), 1)])) : createCommentVNode("", true)
1418
+ ], 8, ["onClick"]), !unref(HITL_KINDS).includes(item.kind) ? (openBlock(), createBlock("div", {
1419
+ key: 0,
1420
+ class: "hitl-answer-note"
1421
+ }, " 该类型待办需在对应引擎界面处理 ")) : !unref(permsKnown)(item) ? (openBlock(), createBlock("div", {
1422
+ key: 1,
1423
+ class: "hitl-answer-note"
1424
+ }, " 读取审批权限… ")) : !unref(canAnswer)(item) ? (openBlock(), createBlock("div", {
1425
+ key: 2,
1426
+ class: "hitl-answer-note"
1427
+ }, " 无审批权限" + toDisplayString(item.policy ? `(${unref(policyLabel)(item)})` : ""), 1)) : (openBlock(), createBlock("div", {
1428
+ key: 3,
1429
+ class: "hitl-answer"
1430
+ }, [unref(isQuestion)(item) ? (openBlock(), createBlock(Fragment, { key: 0 }, [(openBlock(true), createBlock(Fragment, null, renderList(unref(questionsOf)(item), (q, qi) => {
1431
+ return openBlock(), createBlock("div", {
1432
+ key: `${item.kind}:${item.id}:${q.id}:${qi}`,
1433
+ class: "hitl-q"
1434
+ }, [
1435
+ item.questions && item.questions.length > 1 ? (openBlock(), createBlock("div", {
1436
+ key: 0,
1437
+ class: "hitl-q-title"
1438
+ }, toDisplayString(qi + 1) + ". " + toDisplayString(q.header || q.question), 1)) : createCommentVNode("", true),
1439
+ q.header && q.question ? (openBlock(), createBlock("div", {
1440
+ key: 1,
1441
+ class: "hitl-q-desc"
1442
+ }, toDisplayString(q.question), 1)) : createCommentVNode("", true),
1443
+ q.options && q.options.length > 0 ? (openBlock(), createBlock("div", {
1444
+ key: 2,
1445
+ class: "hitl-opts"
1446
+ }, [(openBlock(true), createBlock(Fragment, null, renderList(q.options, (o) => {
1447
+ return openBlock(), createBlock("button", {
1448
+ key: o.label,
1449
+ type: "button",
1450
+ class: ["hitl-opt", { on: unref(isChosen)(item, q, o.label) }],
1451
+ title: o.description || o.label,
1452
+ onClick: ($event) => unref(chooseOption)(item, q, o.label)
1453
+ }, toDisplayString(o.label), 11, ["title", "onClick"]);
1454
+ }), 128))])) : createCommentVNode("", true),
1455
+ !(q.options && q.options.length > 0) || q.freeText ? (openBlock(), createBlock(_component_a_textarea, {
1456
+ key: 3,
1457
+ value: unref(qFree)[unref(slotOf)(item, q.id)],
1458
+ "onUpdate:value": ($event) => unref(qFree)[unref(slotOf)(item, q.id)] = $event,
1459
+ rows: 2,
1460
+ placeholder: q.options && q.options.length > 0 ? "补充说明(可选)" : "输入答案"
1461
+ }, null, 8, [
1462
+ "value",
1463
+ "onUpdate:value",
1464
+ "placeholder"
1465
+ ])) : createCommentVNode("", true)
1466
+ ]);
1467
+ }), 128)), createVNode("div", { class: "hitl-btns" }, [createVNode(_component_a_button, {
1468
+ size: "small",
1469
+ type: "primary",
1470
+ loading: unref(hitl).answering === `${item.kind}:${item.id}`,
1471
+ onClick: ($event) => unref(submitQuestion)(item)
1472
+ }, {
1473
+ default: withCtx(() => [createTextVNode(" 提交答案 ")]),
1474
+ _: 1
1475
+ }, 8, ["loading", "onClick"]), createVNode(_component_a_button, {
1476
+ size: "small",
1477
+ disabled: unref(hitl).answering === `${item.kind}:${item.id}`,
1478
+ onClick: ($event) => unref(submitCancel)(item)
1479
+ }, {
1480
+ default: withCtx(() => [createTextVNode(" 取消请求 ")]),
1481
+ _: 1
1482
+ }, 8, ["disabled", "onClick"])])], 64)) : (openBlock(), createBlock(Fragment, { key: 1 }, [unref(isNativeOptionApproval)(item) ? (openBlock(), createBlock("div", {
1483
+ key: 0,
1484
+ class: "hitl-opts"
1485
+ }, [(openBlock(true), createBlock(Fragment, null, renderList(item.options, (o) => {
1486
+ return openBlock(), createBlock("button", {
1487
+ key: o,
1488
+ type: "button",
1489
+ class: "hitl-opt",
1490
+ onClick: ($event) => unref(submitNativeOption)(item, o)
1491
+ }, toDisplayString(o), 9, ["onClick"]);
1492
+ }), 128))])) : createCommentVNode("", true), createVNode("div", { class: "hitl-btns" }, [
1493
+ createVNode(_component_a_button, {
1494
+ size: "small",
1495
+ type: "primary",
1496
+ loading: unref(hitl).answering === `${item.kind}:${item.id}`,
1497
+ onClick: ($event) => unref(submitApproval)(item, true)
1498
+ }, {
1499
+ default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("appHeader.hitlApprove")), 1)]),
1500
+ _: 1
1501
+ }, 8, ["loading", "onClick"]),
1502
+ createVNode(_component_a_button, {
1503
+ size: "small",
1504
+ danger: "",
1505
+ disabled: unref(hitl).answering === `${item.kind}:${item.id}`,
1506
+ onClick: ($event) => unref(submitApproval)(item, false)
1507
+ }, {
1508
+ default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("appHeader.hitlReject")), 1)]),
1509
+ _: 1
1510
+ }, 8, ["disabled", "onClick"]),
1511
+ createVNode(_component_a_button, {
1512
+ size: "small",
1513
+ disabled: unref(hitl).answering === `${item.kind}:${item.id}`,
1514
+ onClick: ($event) => unref(submitCancel)(item)
1515
+ }, {
1516
+ default: withCtx(() => [createTextVNode(" 取消 ")]),
1517
+ _: 1
1518
+ }, 8, ["disabled", "onClick"])
1519
+ ])], 64))]))]);
1520
+ }), 128))])];
1521
+ }),
1522
+ default: withCtx((_, _push, _parent, _scopeId) => {
1523
+ if (_push) _push(`<button class="icon-btn hitl-bell"${ssrRenderAttr("title", unref(t)("appHeader.hitlBadge"))} data-v-1fdcc40f${_scopeId}><span class="i-tabler-bell-ringing" data-v-1fdcc40f${_scopeId}></span><span class="hitl-count" data-v-1fdcc40f${_scopeId}>${ssrInterpolate(unref(hitl).count)}</span></button>`);
1524
+ else return [createVNode("button", {
1525
+ class: "icon-btn hitl-bell",
1526
+ title: unref(t)("appHeader.hitlBadge")
1527
+ }, [createVNode("span", { class: "i-tabler-bell-ringing" }), createVNode("span", { class: "hitl-count" }, toDisplayString(unref(hitl).count), 1)], 8, ["title"])];
1528
+ }),
1529
+ _: 1
1530
+ }, _parent));
1531
+ else _push(`<!---->`);
1532
+ };
1533
+ }
1534
+ });
1535
+ //#endregion
1536
+ //#region app/components/app-header/HitlBell.vue
1537
+ var _sfc_setup$4 = HitlBell_vue_vue_type_script_setup_true_lang_default.setup;
1538
+ HitlBell_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
1539
+ const ssrContext = useSSRContext();
1540
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/app-header/HitlBell.vue");
1541
+ return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
1542
+ };
1543
+ var HitlBell_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(HitlBell_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-1fdcc40f"]]), { __name: "AppHeaderHitlBell" });
1544
+ //#endregion
1545
+ //#region app/components/app-header/HeaderTools.vue?vue&type=script&setup=true&lang.ts
1546
+ var HeaderTools_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
1547
+ __name: "HeaderTools",
1548
+ __ssrInlineRender: true,
1549
+ props: { hydrated: { type: Boolean } },
1550
+ setup(__props) {
1551
+ const { t, locale, locales, setLocale } = useI18n();
1552
+ const store = useAppStore();
1553
+ const { isMobile } = useResponsive();
1554
+ const localeOptions = computed(() => locales.value.map((l) => ({
1555
+ label: isMobile.value ? l.code.split("-")[0].toUpperCase() : l.name,
1556
+ value: l.code
1557
+ })));
1558
+ const switchLocale = (value) => {
1559
+ if (value != null) {
1560
+ useCookie("aw.locale", { maxAge: 31536e3 }).value = String(value);
1561
+ localStorage.setItem("aw.locale", String(value));
1562
+ setLocale(String(value));
1563
+ (void 0).location.reload();
1564
+ }
1565
+ };
1566
+ const conn = useWsConnectionStore();
1567
+ const wsVisible = computed(() => conn.state !== "closed" || conn.lastDataAt > 0);
1568
+ const wsClass = computed(() => {
1569
+ if (conn.state === "open") return conn.pendingReplay ? "syncing" : "live";
1570
+ if (conn.state === "connecting") return "syncing";
1571
+ return "down";
1572
+ });
1573
+ const wsLabel = computed(() => {
1574
+ if (conn.state === "open") return conn.pendingReplay ? t("appHeader.kwsdot0002") : t("appHeader.kwsdot0001");
1575
+ if (conn.state === "connecting") return t("appHeader.kwsdot0003");
1576
+ return t("appHeader.kwsdot0004");
1577
+ });
1578
+ const isFullscreen = ref(false);
1579
+ function toggleFullscreen() {
1580
+ if (!(void 0).fullscreenElement) {
1581
+ (void 0).documentElement.requestFullscreen();
1582
+ isFullscreen.value = true;
1583
+ } else {
1584
+ (void 0).exitFullscreen();
1585
+ isFullscreen.value = false;
1586
+ }
1587
+ }
1588
+ return (_ctx, _push, _parent, _attrs) => {
1589
+ const _component_a_tooltip = tooltip_default;
1590
+ const _component_a_select = Select;
1591
+ _push(`<!--[-->`);
1592
+ if (__props.hydrated && unref(wsVisible)) _push(`<span class="${ssrRenderClass([unref(wsClass), "ws-dot"])}"${ssrRenderAttr("title", unref(wsLabel))} data-v-d647eb55></span>`);
1593
+ else _push(`<!---->`);
1594
+ _push(ssrRenderComponent(_component_a_tooltip, { title: unref(t)("header.fullscreen") }, {
1595
+ default: withCtx((_, _push, _parent, _scopeId) => {
1596
+ if (_push) _push(`<button class="icon-btn hdr-fullscreen" data-v-d647eb55${_scopeId}><span class="${ssrRenderClass([{ hidden: unref(isFullscreen) }, "i-tabler-arrows-maximize"])}" data-v-d647eb55${_scopeId}></span><span class="${ssrRenderClass([{ hidden: !unref(isFullscreen) }, "i-tabler-arrows-minimize"])}" data-v-d647eb55${_scopeId}></span></button>`);
1597
+ else return [createVNode("button", {
1598
+ class: "icon-btn hdr-fullscreen",
1599
+ onClick: toggleFullscreen
1600
+ }, [createVNode("span", { class: ["i-tabler-arrows-maximize", { hidden: unref(isFullscreen) }] }, null, 2), createVNode("span", { class: ["i-tabler-arrows-minimize", { hidden: !unref(isFullscreen) }] }, null, 2)])];
1601
+ }),
1602
+ _: 1
1603
+ }, _parent));
1604
+ _push(ssrRenderComponent(_component_a_select, {
1605
+ id: "hdr-locale",
1606
+ value: unref(locale),
1607
+ size: "middle",
1608
+ options: unref(localeOptions),
1609
+ class: "lang-select",
1610
+ onChange: switchLocale
1611
+ }, null, _parent));
1612
+ _push(ssrRenderComponent(_component_a_tooltip, { title: unref(store).isDark ? unref(t)("common.light") : unref(t)("common.dark") }, {
1613
+ default: withCtx((_, _push, _parent, _scopeId) => {
1614
+ if (_push) _push(`<button class="icon-btn" data-v-d647eb55${_scopeId}><span class="${ssrRenderClass([{ hidden: unref(store).isDark }, "i-tabler-sun-high"])}" data-v-d647eb55${_scopeId}></span><span class="${ssrRenderClass([{ hidden: !unref(store).isDark }, "i-tabler-moon-stars"])}" data-v-d647eb55${_scopeId}></span></button>`);
1615
+ else return [createVNode("button", {
1616
+ class: "icon-btn",
1617
+ onClick: ($event) => unref(store).toggleDark()
1618
+ }, [createVNode("span", { class: ["i-tabler-sun-high", { hidden: unref(store).isDark }] }, null, 2), createVNode("span", { class: ["i-tabler-moon-stars", { hidden: !unref(store).isDark }] }, null, 2)], 8, ["onClick"])];
1619
+ }),
1620
+ _: 1
1621
+ }, _parent));
1622
+ _push(`<!--]-->`);
1623
+ };
1624
+ }
1625
+ });
1626
+ //#endregion
1627
+ //#region app/components/app-header/HeaderTools.vue
1628
+ var _sfc_setup$3 = HeaderTools_vue_vue_type_script_setup_true_lang_default.setup;
1629
+ HeaderTools_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
1630
+ const ssrContext = useSSRContext();
1631
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/app-header/HeaderTools.vue");
1632
+ return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0;
1633
+ };
1634
+ var HeaderTools_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(HeaderTools_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-d647eb55"]]), { __name: "AppHeaderTools" });
1635
+ //#endregion
1636
+ //#region app/components/app-header/UserChip.vue?vue&type=script&setup=true&lang.ts
1637
+ var UserChip_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
1638
+ __name: "UserChip",
1639
+ __ssrInlineRender: true,
1640
+ setup(__props) {
1641
+ const { t } = useI18n();
1642
+ const userStore = useUserStore();
1643
+ const userInitial = computed(() => (userStore.user?.name ?? "?").trim().charAt(0).toUpperCase());
1644
+ const userName = computed(() => userStore.user?.name ?? t("header.guest"));
1645
+ const userRole = computed(() => userStore.isLoggedIn ? userStore.user?.role ?? "user" : "anonymous");
1646
+ const avatarItems = computed(() => {
1647
+ const items = [{
1648
+ key: "tokens",
1649
+ icon: "i-tabler-key",
1650
+ label: t("menu.tokens")
1651
+ }, {
1652
+ key: "settings",
1653
+ icon: "i-tabler-adjustments",
1654
+ label: t("menu.settings")
1655
+ }];
1656
+ if (userStore.isLoggedIn) {
1657
+ items.push({
1658
+ key: "d-logout",
1659
+ label: "",
1660
+ divider: true
1661
+ });
1662
+ items.push({
1663
+ key: "logout",
1664
+ icon: "i-tabler-logout",
1665
+ label: t("header.logout"),
1666
+ danger: true
1667
+ });
1668
+ }
1669
+ return items;
1670
+ });
1671
+ const onAvatarMenu = async ({ key }) => {
1672
+ if (key === "settings") navigateTo("/settings");
1673
+ else if (key === "tokens") navigateTo("/tokens");
1674
+ else if (key === "logout") {
1675
+ await userStore.logout();
1676
+ navigateTo("/workshop");
1677
+ }
1678
+ };
1679
+ return (_ctx, _push, _parent, _attrs) => {
1680
+ const _component_a_dropdown = dropdown_default;
1681
+ const _component_ClientOnly = ClientOnly;
1682
+ const _component_a_menu = menu_default;
1683
+ const _component_a_menu_divider = Divider_default;
1684
+ const _component_a_menu_item = MenuItem_default;
1685
+ _push(ssrRenderComponent(_component_a_dropdown, _attrs, {
1686
+ overlay: withCtx((_, _push, _parent, _scopeId) => {
1687
+ if (_push) _push(ssrRenderComponent(_component_a_menu, { onClick: onAvatarMenu }, {
1688
+ default: withCtx((_, _push, _parent, _scopeId) => {
1689
+ if (_push) {
1690
+ _push(`<!--[-->`);
1691
+ ssrRenderList(unref(avatarItems), (item) => {
1692
+ _push(`<!--[-->`);
1693
+ if (item.divider) _push(ssrRenderComponent(_component_a_menu_divider, null, null, _parent, _scopeId));
1694
+ else _push(ssrRenderComponent(_component_a_menu_item, {
1695
+ key: item.key,
1696
+ danger: item.danger
1697
+ }, {
1698
+ default: withCtx((_, _push, _parent, _scopeId) => {
1699
+ if (_push) _push(`<span class="${ssrRenderClass([item.icon, "mr-2"])}" data-v-c89d85c4${_scopeId}></span> ${ssrInterpolate(item.label)}`);
1700
+ else return [createVNode("span", { class: [item.icon, "mr-2"] }, null, 2), createTextVNode(" " + toDisplayString(item.label), 1)];
1701
+ }),
1702
+ _: 2
1703
+ }, _parent, _scopeId));
1704
+ _push(`<!--]-->`);
1705
+ });
1706
+ _push(`<!--]-->`);
1707
+ } else return [(openBlock(true), createBlock(Fragment, null, renderList(unref(avatarItems), (item) => {
1708
+ return openBlock(), createBlock(Fragment, { key: item.key }, [item.divider ? (openBlock(), createBlock(_component_a_menu_divider, { key: 0 })) : (openBlock(), createBlock(_component_a_menu_item, {
1709
+ key: item.key,
1710
+ danger: item.danger
1711
+ }, {
1712
+ default: withCtx(() => [createVNode("span", { class: [item.icon, "mr-2"] }, null, 2), createTextVNode(" " + toDisplayString(item.label), 1)]),
1713
+ _: 2
1714
+ }, 1032, ["danger"]))], 64);
1715
+ }), 128))];
1716
+ }),
1717
+ _: 1
1718
+ }, _parent, _scopeId));
1719
+ else return [createVNode(_component_a_menu, { onClick: onAvatarMenu }, {
1720
+ default: withCtx(() => [(openBlock(true), createBlock(Fragment, null, renderList(unref(avatarItems), (item) => {
1721
+ return openBlock(), createBlock(Fragment, { key: item.key }, [item.divider ? (openBlock(), createBlock(_component_a_menu_divider, { key: 0 })) : (openBlock(), createBlock(_component_a_menu_item, {
1722
+ key: item.key,
1723
+ danger: item.danger
1724
+ }, {
1725
+ default: withCtx(() => [createVNode("span", { class: [item.icon, "mr-2"] }, null, 2), createTextVNode(" " + toDisplayString(item.label), 1)]),
1726
+ _: 2
1727
+ }, 1032, ["danger"]))], 64);
1728
+ }), 128))]),
1729
+ _: 1
1730
+ })];
1731
+ }),
1732
+ default: withCtx((_, _push, _parent, _scopeId) => {
1733
+ if (_push) {
1734
+ _push(`<div class="user-chip" data-v-c89d85c4${_scopeId}>`);
1735
+ _push(ssrRenderComponent(_component_ClientOnly, null, { fallback: withCtx((_, _push, _parent, _scopeId) => {
1736
+ if (_push) _push(`<span class="user-initial aw-avatar" data-v-c89d85c4${_scopeId}>·</span><span class="user-meta" data-v-c89d85c4${_scopeId}><span class="user-name" data-v-c89d85c4${_scopeId}>·</span><span class="user-role" data-v-c89d85c4${_scopeId}>·</span></span>`);
1737
+ else return [createVNode("span", { class: "user-initial aw-avatar" }, "·"), createVNode("span", { class: "user-meta" }, [createVNode("span", { class: "user-name" }, "·"), createVNode("span", { class: "user-role" }, "·")])];
1738
+ }) }, _parent, _scopeId));
1739
+ _push(`</div>`);
1740
+ } else return [createVNode("div", { class: "user-chip" }, [createVNode(_component_ClientOnly, null, {
1741
+ fallback: withCtx(() => [createVNode("span", { class: "user-initial aw-avatar" }, "·"), createVNode("span", { class: "user-meta" }, [createVNode("span", { class: "user-name" }, "·"), createVNode("span", { class: "user-role" }, "·")])]),
1742
+ default: withCtx(() => [createVNode("span", { class: "user-initial aw-avatar" }, toDisplayString(unref(userInitial)), 1), createVNode("span", { class: "user-meta" }, [createVNode("span", { class: "user-name" }, toDisplayString(unref(userName)), 1), createVNode("span", { class: "user-role" }, toDisplayString(unref(userRole)), 1)])]),
1743
+ _: 1
1744
+ })])];
1745
+ }),
1746
+ _: 1
1747
+ }, _parent));
1748
+ };
1749
+ }
1750
+ });
1751
+ //#endregion
1752
+ //#region app/components/app-header/UserChip.vue
1753
+ var _sfc_setup$2 = UserChip_vue_vue_type_script_setup_true_lang_default.setup;
1754
+ UserChip_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
1755
+ const ssrContext = useSSRContext();
1756
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/app-header/UserChip.vue");
1757
+ return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
1758
+ };
1759
+ var UserChip_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(UserChip_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-c89d85c4"]]), { __name: "AppHeaderUserChip" });
1760
+ //#endregion
1761
+ //#region app/components/AppHeader.vue?vue&type=script&setup=true&lang.ts
1762
+ var AppHeader_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
1763
+ __name: "AppHeader",
1764
+ __ssrInlineRender: true,
1765
+ setup(__props) {
1766
+ const { t } = useI18n();
1767
+ const store = useAppStore();
1768
+ const route = useRoute();
1769
+ const trail = useRouteTrailStore();
1770
+ const userStore = useUserStore();
1771
+ const { metaFor } = useRouteMeta();
1772
+ const hitl = useHitlStore();
1773
+ const chat = useChatStore();
1774
+ const wsSession = useWorkshopWs();
1775
+ const ensureHitlLive = () => {
1776
+ if (userStore.isLoggedIn) wsSession.ensureConnected();
1777
+ };
1778
+ watch(() => userStore.token, (t2) => {
1779
+ if (t2) {
1780
+ ensureHitlLive();
1781
+ hitl.loadSnapshot();
1782
+ } else hitl.clear();
1783
+ }, { immediate: true });
1784
+ watch(() => hitl.items.map((i) => i.channelId).join("|"), (key) => {
1785
+ for (const cid of new Set(key.split("|").filter(Boolean))) if (!(cid in chat.permissions)) chat.loadPermissions(cid);
1786
+ }, { immediate: true });
1787
+ const { isDrawer } = useResponsive();
1788
+ const navToggleLabel = computed(() => isDrawer.value ? store.mobileNavOpen ? t("header.closeNav") : t("header.openNav") : store.sidebarCollapsed ? t("header.expand") : t("header.collapse"));
1789
+ const toggleNav = () => {
1790
+ if (isDrawer.value) store.toggleMobileNav();
1791
+ else store.toggleSidebar();
1792
+ };
1793
+ const currentTitle = computed(() => metaFor(route.path).title);
1794
+ const hydrated = ref(false);
1795
+ const plotting = ref(false);
1796
+ let plotTimer = null;
1797
+ watch(() => route.path, () => {
1798
+ trail.visit(route.path);
1799
+ plotting.value = false;
1800
+ requestAnimationFrame(() => {
1801
+ plotting.value = true;
1802
+ if (plotTimer) clearTimeout(plotTimer);
1803
+ plotTimer = setTimeout(() => {
1804
+ plotting.value = false;
1805
+ }, 620);
1806
+ });
1807
+ }, { immediate: false });
1808
+ return (_ctx, _push, _parent, _attrs) => {
1809
+ const _component_a_layout_header = LayoutHeader;
1810
+ const _component_ClientOnly = ClientOnly;
1811
+ const _component_workshop_notification_center = NotificationCenter_default;
1812
+ _push(ssrRenderComponent(_component_a_layout_header, mergeProps({ class: "app-header app-header-glass" }, _attrs), {
1813
+ default: withCtx((_, _push, _parent, _scopeId) => {
1814
+ if (_push) {
1815
+ _push(`<div class="header-left" data-v-21aed131${_scopeId}><button class="collapse-btn"${ssrRenderAttr("aria-label", unref(navToggleLabel))}${ssrRenderAttr("aria-expanded", unref(isDrawer) ? unref(store).mobileNavOpen : !unref(store).sidebarCollapsed)} data-v-21aed131${_scopeId}><span class="i-tabler-menu-2" data-v-21aed131${_scopeId}></span></button><span class="mobile-title" data-v-21aed131${_scopeId}>${ssrInterpolate(unref(currentTitle))}</span><span class="rail-mark i-tabler-route" data-v-21aed131${_scopeId}></span>`);
1816
+ _push(ssrRenderComponent(TrailNav_default, { hydrated: unref(hydrated) }, null, _parent, _scopeId));
1817
+ _push(`</div><div class="header-right" data-v-21aed131${_scopeId}>`);
1818
+ _push(ssrRenderComponent(_component_ClientOnly, null, {}, _parent, _scopeId));
1819
+ _push(ssrRenderComponent(_component_ClientOnly, null, {}, _parent, _scopeId));
1820
+ _push(ssrRenderComponent(HeaderTools_default, { hydrated: unref(hydrated) }, null, _parent, _scopeId));
1821
+ _push(ssrRenderComponent(UserChip_default, null, null, _parent, _scopeId));
1822
+ _push(`</div><span class="${ssrRenderClass([{ run: unref(plotting) }, "plotter-line"])}" aria-hidden="true" data-v-21aed131${_scopeId}></span>`);
1823
+ } else return [
1824
+ createVNode("div", { class: "header-left" }, [
1825
+ createVNode("button", {
1826
+ class: "collapse-btn",
1827
+ "aria-label": unref(navToggleLabel),
1828
+ "aria-expanded": unref(isDrawer) ? unref(store).mobileNavOpen : !unref(store).sidebarCollapsed,
1829
+ onClick: ($event) => toggleNav()
1830
+ }, [createVNode("span", { class: "i-tabler-menu-2" })], 8, [
1831
+ "aria-label",
1832
+ "aria-expanded",
1833
+ "onClick"
1834
+ ]),
1835
+ createVNode("span", { class: "mobile-title" }, toDisplayString(unref(currentTitle)), 1),
1836
+ createVNode("span", { class: "rail-mark i-tabler-route" }),
1837
+ createVNode(TrailNav_default, { hydrated: unref(hydrated) }, null, 8, ["hydrated"])
1838
+ ]),
1839
+ createVNode("div", { class: "header-right" }, [
1840
+ createVNode(_component_ClientOnly, null, {
1841
+ default: withCtx(() => [createVNode(_component_workshop_notification_center)]),
1842
+ _: 1
1843
+ }),
1844
+ createVNode(_component_ClientOnly, null, {
1845
+ default: withCtx(() => [createVNode(HitlBell_default)]),
1846
+ _: 1
1847
+ }),
1848
+ createVNode(HeaderTools_default, { hydrated: unref(hydrated) }, null, 8, ["hydrated"]),
1849
+ createVNode(UserChip_default)
1850
+ ]),
1851
+ createVNode("span", {
1852
+ class: ["plotter-line", { run: unref(plotting) }],
1853
+ "aria-hidden": "true"
1854
+ }, null, 2)
1855
+ ];
1856
+ }),
1857
+ _: 1
1858
+ }, _parent));
1859
+ };
1860
+ }
1861
+ });
1862
+ //#endregion
1863
+ //#region app/components/AppHeader.vue
1864
+ var _sfc_setup$1 = AppHeader_vue_vue_type_script_setup_true_lang_default.setup;
1865
+ AppHeader_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
1866
+ const ssrContext = useSSRContext();
1867
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/AppHeader.vue");
1868
+ return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
1869
+ };
1870
+ var AppHeader_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(AppHeader_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-21aed131"]]), { __name: "AppHeader" });
1871
+ //#endregion
1872
+ //#region app/layouts/default.vue?vue&type=script&setup=true&lang.ts
1873
+ var default_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
1874
+ __name: "default",
1875
+ __ssrInlineRender: true,
1876
+ setup(__props) {
1877
+ const { token } = theme_default.useToken();
1878
+ const site = useSiteConfig();
1879
+ return (_ctx, _push, _parent, _attrs) => {
1880
+ const _component_a_layout = layout_default;
1881
+ const _component_AppSidebar = AppSidebar_default;
1882
+ const _component_AppHeader = AppHeader_default;
1883
+ const _component_a_layout_content = LayoutContent;
1884
+ const _component_a_layout_footer = LayoutFooter;
1885
+ _push(ssrRenderComponent(_component_a_layout, mergeProps({
1886
+ class: "app-layout",
1887
+ "has-sider": ""
1888
+ }, _attrs), {
1889
+ default: withCtx((_, _push, _parent, _scopeId) => {
1890
+ if (_push) {
1891
+ _push(ssrRenderComponent(_component_AppSidebar, null, null, _parent, _scopeId));
1892
+ _push(ssrRenderComponent(_component_a_layout, {
1893
+ class: "app-main",
1894
+ style: {
1895
+ "background": "transparent",
1896
+ "--app-bg-container": unref(token)?.colorBgContainer,
1897
+ "--app-bg-layout": unref(token)?.colorBgLayout,
1898
+ "--app-text": unref(token)?.colorText,
1899
+ "--app-text-secondary": unref(token)?.colorTextSecondary,
1900
+ "--app-border": unref(token)?.colorBorderSecondary,
1901
+ "--app-fill": unref(token)?.colorFillQuaternary,
1902
+ "--app-header-h": "56px",
1903
+ "--app-footer-h": "46px"
1904
+ }
1905
+ }, {
1906
+ default: withCtx((_, _push, _parent, _scopeId) => {
1907
+ if (_push) {
1908
+ _push(ssrRenderComponent(_component_AppHeader, null, null, _parent, _scopeId));
1909
+ _push(ssrRenderComponent(_component_a_layout_content, { class: "app-content" }, {
1910
+ default: withCtx((_, _push, _parent, _scopeId) => {
1911
+ if (_push) ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent, _scopeId);
1912
+ else return [renderSlot(_ctx.$slots, "default", {}, void 0, true)];
1913
+ }),
1914
+ _: 3
1915
+ }, _parent, _scopeId));
1916
+ _push(ssrRenderComponent(_component_a_layout_footer, {
1917
+ class: "app-footer",
1918
+ style: { color: unref(token)?.colorTextSecondary }
1919
+ }, {
1920
+ default: withCtx((_, _push, _parent, _scopeId) => {
1921
+ if (_push) _push(`<span class="footer-title aw-serif-accent" data-v-e4abc244${_scopeId}>${ssrInterpolate(unref(site).title)}</span><span class="sep" data-v-e4abc244${_scopeId}>/</span><span data-v-e4abc244${_scopeId}>mode=${ssrInterpolate(unref(site).mode)}</span><span class="footer-corner" data-v-e4abc244${_scopeId}><span data-v-e4abc244${_scopeId}>v${ssrInterpolate(unref(site).version)}</span><span class="sep" data-v-e4abc244${_scopeId}>·</span><a class="footer-link" href="https://github.com/kingdol666/AgentWorkShop" target="_blank" rel="noopener" data-v-e4abc244${_scopeId}>GitHub</a><span class="sep" data-v-e4abc244${_scopeId}>·</span><a class="footer-link" href="https://kingdol666.github.io/AgentWorkShop/" target="_blank" rel="noopener" data-v-e4abc244${_scopeId}>Docs</a></span>`);
1922
+ else return [
1923
+ createVNode("span", { class: "footer-title aw-serif-accent" }, toDisplayString(unref(site).title), 1),
1924
+ createVNode("span", { class: "sep" }, "/"),
1925
+ createVNode("span", null, "mode=" + toDisplayString(unref(site).mode), 1),
1926
+ createVNode("span", { class: "footer-corner" }, [
1927
+ createVNode("span", null, "v" + toDisplayString(unref(site).version), 1),
1928
+ createVNode("span", { class: "sep" }, "·"),
1929
+ createVNode("a", {
1930
+ class: "footer-link",
1931
+ href: "https://github.com/kingdol666/AgentWorkShop",
1932
+ target: "_blank",
1933
+ rel: "noopener"
1934
+ }, "GitHub"),
1935
+ createVNode("span", { class: "sep" }, "·"),
1936
+ createVNode("a", {
1937
+ class: "footer-link",
1938
+ href: "https://kingdol666.github.io/AgentWorkShop/",
1939
+ target: "_blank",
1940
+ rel: "noopener"
1941
+ }, "Docs")
1942
+ ])
1943
+ ];
1944
+ }),
1945
+ _: 1
1946
+ }, _parent, _scopeId));
1947
+ } else return [
1948
+ createVNode(_component_AppHeader),
1949
+ createVNode(_component_a_layout_content, { class: "app-content" }, {
1950
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
1951
+ _: 3
1952
+ }),
1953
+ createVNode(_component_a_layout_footer, {
1954
+ class: "app-footer",
1955
+ style: { color: unref(token)?.colorTextSecondary }
1956
+ }, {
1957
+ default: withCtx(() => [
1958
+ createVNode("span", { class: "footer-title aw-serif-accent" }, toDisplayString(unref(site).title), 1),
1959
+ createVNode("span", { class: "sep" }, "/"),
1960
+ createVNode("span", null, "mode=" + toDisplayString(unref(site).mode), 1),
1961
+ createVNode("span", { class: "footer-corner" }, [
1962
+ createVNode("span", null, "v" + toDisplayString(unref(site).version), 1),
1963
+ createVNode("span", { class: "sep" }, "·"),
1964
+ createVNode("a", {
1965
+ class: "footer-link",
1966
+ href: "https://github.com/kingdol666/AgentWorkShop",
1967
+ target: "_blank",
1968
+ rel: "noopener"
1969
+ }, "GitHub"),
1970
+ createVNode("span", { class: "sep" }, "·"),
1971
+ createVNode("a", {
1972
+ class: "footer-link",
1973
+ href: "https://kingdol666.github.io/AgentWorkShop/",
1974
+ target: "_blank",
1975
+ rel: "noopener"
1976
+ }, "Docs")
1977
+ ])
1978
+ ]),
1979
+ _: 1
1980
+ }, 8, ["style"])
1981
+ ];
1982
+ }),
1983
+ _: 3
1984
+ }, _parent, _scopeId));
1985
+ _push(`<span class="aw-noise" aria-hidden="true" data-v-e4abc244${_scopeId}></span>`);
1986
+ } else return [
1987
+ createVNode(_component_AppSidebar),
1988
+ createVNode(_component_a_layout, {
1989
+ class: "app-main",
1990
+ style: {
1991
+ "background": "transparent",
1992
+ "--app-bg-container": unref(token)?.colorBgContainer,
1993
+ "--app-bg-layout": unref(token)?.colorBgLayout,
1994
+ "--app-text": unref(token)?.colorText,
1995
+ "--app-text-secondary": unref(token)?.colorTextSecondary,
1996
+ "--app-border": unref(token)?.colorBorderSecondary,
1997
+ "--app-fill": unref(token)?.colorFillQuaternary,
1998
+ "--app-header-h": "56px",
1999
+ "--app-footer-h": "46px"
2000
+ }
2001
+ }, {
2002
+ default: withCtx(() => [
2003
+ createVNode(_component_AppHeader),
2004
+ createVNode(_component_a_layout_content, { class: "app-content" }, {
2005
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
2006
+ _: 3
2007
+ }),
2008
+ createVNode(_component_a_layout_footer, {
2009
+ class: "app-footer",
2010
+ style: { color: unref(token)?.colorTextSecondary }
2011
+ }, {
2012
+ default: withCtx(() => [
2013
+ createVNode("span", { class: "footer-title aw-serif-accent" }, toDisplayString(unref(site).title), 1),
2014
+ createVNode("span", { class: "sep" }, "/"),
2015
+ createVNode("span", null, "mode=" + toDisplayString(unref(site).mode), 1),
2016
+ createVNode("span", { class: "footer-corner" }, [
2017
+ createVNode("span", null, "v" + toDisplayString(unref(site).version), 1),
2018
+ createVNode("span", { class: "sep" }, "·"),
2019
+ createVNode("a", {
2020
+ class: "footer-link",
2021
+ href: "https://github.com/kingdol666/AgentWorkShop",
2022
+ target: "_blank",
2023
+ rel: "noopener"
2024
+ }, "GitHub"),
2025
+ createVNode("span", { class: "sep" }, "·"),
2026
+ createVNode("a", {
2027
+ class: "footer-link",
2028
+ href: "https://kingdol666.github.io/AgentWorkShop/",
2029
+ target: "_blank",
2030
+ rel: "noopener"
2031
+ }, "Docs")
2032
+ ])
2033
+ ]),
2034
+ _: 1
2035
+ }, 8, ["style"])
2036
+ ]),
2037
+ _: 3
2038
+ }, 8, ["style"]),
2039
+ createVNode("span", {
2040
+ class: "aw-noise",
2041
+ "aria-hidden": "true"
2042
+ })
2043
+ ];
2044
+ }),
2045
+ _: 3
2046
+ }, _parent));
2047
+ };
2048
+ }
2049
+ });
2050
+ //#endregion
2051
+ //#region app/layouts/default.vue
2052
+ var _sfc_setup = default_vue_vue_type_script_setup_true_lang_default.setup;
2053
+ default_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
2054
+ const ssrContext = useSSRContext();
2055
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("layouts/default.vue");
2056
+ return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
2057
+ };
2058
+ var default_default = /*#__PURE__*/ _plugin_vue_export_helper_default(default_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-e4abc244"]]);
2059
+
2060
+ export { default_default as default };
2061
+ //# sourceMappingURL=default-DxOE1eB0.mjs.map