agentworkshop 0.7.66 → 0.7.70

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 (1366) hide show
  1. package/.AgentWorkShop/prompts/host-tools.json +324 -26
  2. package/.env.example +3 -0
  3. package/.output/.AgentWorkShop/aml-python/__pycache__/amlkit.cpython-312.pyc +0 -0
  4. package/.output/.AgentWorkShop/prompts/host-tools.json +324 -26
  5. package/.output/nitro.json +1 -1
  6. package/.output/public/_nuxt/-jpUnM1I2.js +1 -0
  7. package/.output/public/_nuxt/0MLy6ogg2.js +1 -0
  8. package/.output/public/_nuxt/2KE8xGVm2.js +1 -0
  9. package/.output/public/_nuxt/5S26I34j2.js +1 -0
  10. package/.output/public/_nuxt/62J4vljm2.js +1 -0
  11. package/.output/public/_nuxt/AuthGate.72Jdc4d6.css +1 -0
  12. package/.output/public/_nuxt/B-U7E_Mc2.js +1 -0
  13. package/.output/public/_nuxt/B1OMZaQh.js +1 -0
  14. package/.output/public/_nuxt/B1PzYsqN.js +4 -0
  15. package/.output/public/_nuxt/B1SzppY12.js +1 -0
  16. package/.output/public/_nuxt/B3Y5bCrM.js +1 -0
  17. package/.output/public/_nuxt/B5FKaMM02.js +1 -0
  18. package/.output/public/_nuxt/B8C-QJB5.js +1 -0
  19. package/.output/public/_nuxt/B8N8nsad2.js +2 -0
  20. package/.output/public/_nuxt/B8cViLJT2.js +1 -0
  21. package/.output/public/_nuxt/BAcjVcku2.js +1 -0
  22. package/.output/public/_nuxt/BC7W6lNm.js +1 -0
  23. package/.output/public/_nuxt/BErG4kzc2.js +1 -0
  24. package/.output/public/_nuxt/BJ2nJNlK2.js +1 -0
  25. package/.output/public/_nuxt/BJrj5JVe2.js +1 -0
  26. package/.output/public/_nuxt/BLwDhlaa.js +1 -0
  27. package/.output/public/_nuxt/BNNtKbSV.js +14 -0
  28. package/.output/public/_nuxt/BQIO4MkA2.js +1 -0
  29. package/.output/public/_nuxt/BRMVDfPl2.js +21 -0
  30. package/.output/public/_nuxt/BRdoISnJ2.js +1 -0
  31. package/.output/public/_nuxt/BUTg4W_x2.js +1 -0
  32. package/.output/public/_nuxt/BWn-lfCp2.js +1 -0
  33. package/.output/public/_nuxt/BYLc8cfE.js +1 -0
  34. package/.output/public/_nuxt/BYxG9Hb2.js +1 -0
  35. package/.output/public/_nuxt/B_-vAvzb.js +1 -0
  36. package/.output/public/_nuxt/BcEr7tIB.js +1 -0
  37. package/.output/public/_nuxt/Bc_k6AVA.js +23 -0
  38. package/.output/public/_nuxt/BfQ-ptH0.js +1 -0
  39. package/.output/public/_nuxt/BfX6_AjY.js +1 -0
  40. package/.output/public/_nuxt/Bj5sjA5O.js +1 -0
  41. package/.output/public/_nuxt/BjLzqWJH2.js +1 -0
  42. package/.output/public/_nuxt/BjSEVANF.js +1 -0
  43. package/.output/public/_nuxt/Bnc8HELj2.js +1 -0
  44. package/.output/public/_nuxt/Bq9DDqiq2.js +1 -0
  45. package/.output/public/_nuxt/BsTZnkVK.js +1 -0
  46. package/.output/public/_nuxt/BtfwbNC0.js +1 -0
  47. package/.output/public/_nuxt/BwO2Y5FH2.js +1 -0
  48. package/.output/public/_nuxt/Bx2a9cuY2.js +1 -0
  49. package/.output/public/_nuxt/Bx4MR0jd.js +1 -0
  50. package/.output/public/_nuxt/C-MY-JQE2.js +1 -0
  51. package/.output/public/_nuxt/C0YL0HKK.js +1 -0
  52. package/.output/public/_nuxt/C1vvxGo02.js +1 -0
  53. package/.output/public/_nuxt/C3aUN4Vp2.js +2 -0
  54. package/.output/public/_nuxt/C3sWJ8SD2.js +1 -0
  55. package/.output/public/_nuxt/C41CcsiD.js +1 -0
  56. package/.output/public/_nuxt/C6uBP0Xa.js +1 -0
  57. package/.output/public/_nuxt/C9gErLQc2.js +17 -0
  58. package/.output/public/_nuxt/CAiHhX8P2.js +7 -0
  59. package/.output/public/_nuxt/CCgbgkid.js +47 -0
  60. package/.output/public/_nuxt/CDn0eDn8.js +1 -0
  61. package/.output/public/_nuxt/CGk_VUhO2.js +1 -0
  62. package/.output/public/_nuxt/CHSAaKgE.js +209 -0
  63. package/.output/public/_nuxt/CIvMT5Ic.js +1 -0
  64. package/.output/public/_nuxt/CJ0bjZ6v2.js +1 -0
  65. package/.output/public/_nuxt/CJ3Vul2u.js +1 -0
  66. package/.output/public/_nuxt/CJSohaqk2.js +13 -0
  67. package/.output/public/_nuxt/CLxmY3Rh.js +1 -0
  68. package/.output/public/_nuxt/CNwx04ln.js +84 -0
  69. package/.output/public/_nuxt/CQgOzpvI.js +2 -0
  70. package/.output/public/_nuxt/CR612R752.js +1 -0
  71. package/.output/public/_nuxt/CVCscYzb2.js +1 -0
  72. package/.output/public/_nuxt/C_A0MCol2.js +1 -0
  73. package/.output/public/_nuxt/Car2lkbb.js +1 -0
  74. package/.output/public/_nuxt/CcX_jP-d.js +1 -0
  75. package/.output/public/_nuxt/Ce5R-ZGf2.js +1 -0
  76. package/.output/public/_nuxt/Ce6e1mPk2.js +1 -0
  77. package/.output/public/_nuxt/CeLqojCJ.js +1 -0
  78. package/.output/public/_nuxt/CiCEprsp2.js +1 -0
  79. package/.output/public/_nuxt/CnP6snIz.js +3 -0
  80. package/.output/public/_nuxt/Cp4r6Eiz.js +1 -0
  81. package/.output/public/_nuxt/CwZW1ZCe2.js +1 -0
  82. package/.output/public/_nuxt/CzX_kaPL.js +1 -0
  83. package/.output/public/_nuxt/D25dVZ822.js +3 -0
  84. package/.output/public/_nuxt/D3buuIkE.js +1 -0
  85. package/.output/public/_nuxt/D4_INWgq.js +1 -0
  86. package/.output/public/_nuxt/D5kCimyw.js +1 -0
  87. package/.output/public/_nuxt/D6ZcgHPz.js +1 -0
  88. package/.output/public/_nuxt/D7s96J3r2.js +1 -0
  89. package/.output/public/_nuxt/D8r8PNQa2.js +1 -0
  90. package/.output/public/_nuxt/DAsjfdZD.js +1 -0
  91. package/.output/public/_nuxt/DD-r0S1p.js +1 -0
  92. package/.output/public/_nuxt/DF32f5EL.js +1 -0
  93. package/.output/public/_nuxt/DGrrucbG2.js +1 -0
  94. package/.output/public/_nuxt/DHURbGkn2.js +1 -0
  95. package/.output/public/_nuxt/DHhmq7s_.js +1 -0
  96. package/.output/public/_nuxt/DIwmMa_7.js +1 -0
  97. package/.output/public/_nuxt/DJJDigim2.js +3 -0
  98. package/.output/public/_nuxt/DKiqdYnj.js +1 -0
  99. package/.output/public/_nuxt/DLqSQbGv.js +1 -0
  100. package/.output/public/_nuxt/DQfy6R_2.js +1 -0
  101. package/.output/public/_nuxt/DSORcpTJ.js +9 -0
  102. package/.output/public/_nuxt/DTQTGA6v2.js +1 -0
  103. package/.output/public/_nuxt/DVkFSOZi.js +1 -0
  104. package/.output/public/_nuxt/DW8k_0dQ.js +1 -0
  105. package/.output/public/_nuxt/DX-c5laM2.js +1 -0
  106. package/.output/public/_nuxt/DZJ11BTI.js +1 -0
  107. package/.output/public/_nuxt/D_NjL-Hz.js +1 -0
  108. package/.output/public/_nuxt/D_Zspo1y.js +1 -0
  109. package/.output/public/_nuxt/DaBzS-iu.js +1 -0
  110. package/.output/public/_nuxt/Dd7MZc_Q.js +1 -0
  111. package/.output/public/_nuxt/Dg81dOEO.js +1 -0
  112. package/.output/public/_nuxt/DjGYvFyA.js +1 -0
  113. package/.output/public/_nuxt/DkQBMVTs2.js +1 -0
  114. package/.output/public/_nuxt/DlcA9Gxl.js +1 -0
  115. package/.output/public/_nuxt/DnlhV7Xe.js +1 -0
  116. package/.output/public/_nuxt/DnzjxC0u.js +24 -0
  117. package/.output/public/_nuxt/DoGa0vsN.js +1 -0
  118. package/.output/public/_nuxt/DrF3TWoj.js +15 -0
  119. package/.output/public/_nuxt/DtiY69xi2.js +1 -0
  120. package/.output/public/_nuxt/DvOETuoT2.js +1 -0
  121. package/.output/public/_nuxt/GtI6PUI32.js +1 -0
  122. package/.output/public/_nuxt/HX4_xnak2.js +13 -0
  123. package/.output/public/_nuxt/HxohXQ_r.js +1 -0
  124. package/.output/public/_nuxt/KQZmHR_K.js +55 -0
  125. package/.output/public/_nuxt/KgnxOsMr.js +1 -0
  126. package/.output/public/_nuxt/KwT4sN_d.js +1 -0
  127. package/.output/public/_nuxt/MDhaRQq_.js +1 -0
  128. package/.output/public/_nuxt/Rt2i6k7C2.js +1 -0
  129. package/.output/public/_nuxt/SF0I6Hzp2.js +36 -0
  130. package/.output/public/_nuxt/SoO2K-di.js +1 -0
  131. package/.output/public/_nuxt/Tk6TQZjU.js +1 -0
  132. package/.output/public/_nuxt/TownView.CC3t-Dte.css +1 -0
  133. package/.output/public/_nuxt/Tuz5LcLM.js +1 -0
  134. package/.output/public/_nuxt/WPwdj9pg.js +1 -0
  135. package/.output/public/_nuxt/Y4sMSPrS.js +1 -0
  136. package/.output/public/_nuxt/_id_.BQRWK7J2.css +1 -0
  137. package/.output/public/_nuxt/_id_.DSbZhSO1.css +1 -0
  138. package/.output/public/_nuxt/_wsId_.DCnKQQdY.css +1 -0
  139. package/.output/public/_nuxt/aQ1B7BZa2.js +2 -0
  140. package/.output/public/_nuxt/agents.D-JPovTZ.css +1 -0
  141. package/.output/public/_nuxt/aml.CeLxRzvI.css +1 -0
  142. package/.output/public/_nuxt/analysis.CqR_dfoW.css +1 -0
  143. package/.output/public/_nuxt/board.jjp4MSZR.css +1 -0
  144. package/.output/public/_nuxt/builds/latest.json +1 -1
  145. package/.output/public/_nuxt/builds/meta/cd7ec308-625f-4eb8-a841-11f3127fbf66.json +1 -0
  146. package/.output/public/_nuxt/channel-templates.DgiL0L16.css +1 -0
  147. package/.output/public/_nuxt/cjRzSvAg2.js +31 -0
  148. package/.output/public/_nuxt/dJ7gK7C2.js +1 -0
  149. package/.output/public/_nuxt/daq.BUeQwO2J.css +1 -0
  150. package/.output/public/_nuxt/data.D7XYoiL8.css +1 -0
  151. package/.output/public/_nuxt/dcw.n8O0ptzV.css +1 -0
  152. package/.output/public/_nuxt/default.C9eAl1QW.css +1 -0
  153. package/.output/public/_nuxt/dq1HKoGD.js +1 -0
  154. package/.output/public/_nuxt/entry.DI0qLRfo.css +1 -0
  155. package/.output/public/_nuxt/h5gsh8E92.js +1 -0
  156. package/.output/public/_nuxt/jGxHnjW6.js +1 -0
  157. package/.output/public/_nuxt/kN3ZzR1-.js +1 -0
  158. package/.output/public/_nuxt/logs.BkJPbR_K.css +1 -0
  159. package/.output/public/_nuxt/monitor.D3yEqqrv.css +1 -0
  160. package/.output/public/_nuxt/n_Njdwii2.js +1 -0
  161. package/.output/public/_nuxt/operations.-l6u44Ar.css +1 -0
  162. package/.output/public/_nuxt/pages.Cdpm_B-G.css +1 -0
  163. package/.output/public/_nuxt/plugins.D3bf5Gg3.css +1 -0
  164. package/.output/public/_nuxt/qRXa-PM22.js +1 -0
  165. package/.output/public/_nuxt/qoUdVDnC.js +19 -0
  166. package/.output/public/_nuxt/r1CpGsFp.js +1 -0
  167. package/.output/public/_nuxt/rJ7To74v2.js +1 -0
  168. package/.output/public/_nuxt/rdUE8Khf.js +14 -0
  169. package/.output/public/_nuxt/rxhDcyfF.js +1 -0
  170. package/.output/public/_nuxt/sBDZymdy2.js +1 -0
  171. package/.output/public/_nuxt/settings.CXju_jh-.css +1 -0
  172. package/.output/public/_nuxt/studio.DiCFYeMk.css +1 -0
  173. package/.output/public/_nuxt/teams.CLQaXno5.css +1 -0
  174. package/.output/public/_nuxt/tokens.BDSUWF-L.css +1 -0
  175. package/.output/public/_nuxt/tools.BwXFAb-X.css +1 -0
  176. package/.output/public/_nuxt/uu1wfdfR2.js +1 -0
  177. package/.output/public/_nuxt/vPcnBJsa2.js +1 -0
  178. package/.output/public/_nuxt/w5BEz70W.js +1 -0
  179. package/.output/public/_nuxt/wR_w07322.js +1 -0
  180. package/.output/public/_nuxt/workshop.BBiFhXuM.css +1 -0
  181. package/.output/public/_nuxt/yLyz0-Yz.js +1 -0
  182. package/.output/public/_nuxt/zzV9kr9T.js +21 -0
  183. package/.output/server/chunks/_/LeftOutlined.mjs +1 -1
  184. package/.output/server/chunks/_/RightOutlined.mjs +23 -0
  185. package/.output/server/chunks/_/RightOutlined.mjs.map +1 -0
  186. package/.output/server/chunks/_/SearchOutlined.mjs +1401 -0
  187. package/.output/server/chunks/_/SearchOutlined.mjs.map +1 -0
  188. package/.output/server/chunks/_/catalog-view.mjs +176 -0
  189. package/.output/server/chunks/_/catalog-view.mjs.map +1 -0
  190. package/.output/server/chunks/_/chart-repo.mjs +147 -0
  191. package/.output/server/chunks/_/chart-repo.mjs.map +1 -0
  192. package/.output/server/chunks/_/dashboard-repo.mjs +127 -0
  193. package/.output/server/chunks/_/dashboard-repo.mjs.map +1 -0
  194. package/.output/server/chunks/_/data-export.mjs +228 -0
  195. package/.output/server/chunks/_/data-export.mjs.map +1 -0
  196. package/.output/server/chunks/_/data-query.mjs +162 -0
  197. package/.output/server/chunks/_/data-query.mjs.map +1 -0
  198. package/.output/server/chunks/_/eda-db.mjs +199 -0
  199. package/.output/server/chunks/_/eda-db.mjs.map +1 -0
  200. package/.output/server/chunks/_/eda-run.repo.mjs +159 -0
  201. package/.output/server/chunks/_/eda-run.repo.mjs.map +1 -0
  202. package/.output/server/chunks/_/features.mjs +281 -0
  203. package/.output/server/chunks/_/features.mjs.map +1 -0
  204. package/.output/server/chunks/_/golden.mjs +197 -0
  205. package/.output/server/chunks/_/golden.mjs.map +1 -0
  206. package/.output/server/chunks/_/host-bindings.mjs +1 -1
  207. package/.output/server/chunks/_/mes-console.mjs +188 -0
  208. package/.output/server/chunks/_/mes-console.mjs.map +1 -0
  209. package/.output/server/chunks/_/nitro.mjs +5487 -2810
  210. package/.output/server/chunks/_/nitro.mjs.map +1 -1
  211. package/.output/server/chunks/_/ocap.mjs +145 -0
  212. package/.output/server/chunks/_/ocap.mjs.map +1 -0
  213. package/.output/server/chunks/_/spc.mjs +299 -0
  214. package/.output/server/chunks/_/spc.mjs.map +1 -0
  215. package/.output/server/chunks/build/AuthGate-nF1evO4v.mjs +716 -0
  216. package/.output/server/chunks/build/AuthGate-nF1evO4v.mjs.map +1 -0
  217. package/.output/server/chunks/build/FormItemContext-BlyzocS0.mjs +72 -0
  218. package/.output/server/chunks/build/FormItemContext-BlyzocS0.mjs.map +1 -0
  219. package/.output/server/chunks/build/OmpTerminalPanel-BhvhQ1gG.mjs +942 -0
  220. package/.output/server/chunks/build/OmpTerminalPanel-BhvhQ1gG.mjs.map +1 -0
  221. package/.output/server/chunks/build/PluginSlot-BUKXwV2X.mjs +141 -0
  222. package/.output/server/chunks/build/PluginSlot-BUKXwV2X.mjs.map +1 -0
  223. package/.output/server/chunks/build/TownView-BWMDbosY.mjs +6489 -0
  224. package/.output/server/chunks/build/TownView-BWMDbosY.mjs.map +1 -0
  225. package/.output/server/chunks/build/_id_-BK-t8nRG.mjs +391 -0
  226. package/.output/server/chunks/build/_id_-BK-t8nRG.mjs.map +1 -0
  227. package/.output/server/chunks/build/_id_-CZPlPDm4.mjs +2044 -0
  228. package/.output/server/chunks/build/_id_-CZPlPDm4.mjs.map +1 -0
  229. package/.output/server/chunks/build/_wsId_-BXSYXXXX.mjs +14276 -0
  230. package/.output/server/chunks/build/_wsId_-BXSYXXXX.mjs.map +1 -0
  231. package/.output/server/chunks/build/agents-8tV9xL97.mjs +1077 -0
  232. package/.output/server/chunks/build/agents-8tV9xL97.mjs.map +1 -0
  233. package/.output/server/chunks/build/alert-D0ivtTGy.mjs +263 -0
  234. package/.output/server/chunks/build/alert-D0ivtTGy.mjs.map +1 -0
  235. package/.output/server/chunks/build/aml-BNTEDOsl.mjs +810 -0
  236. package/.output/server/chunks/build/aml-BNTEDOsl.mjs.map +1 -0
  237. package/.output/server/chunks/build/analysis-p-dBkjoK.mjs +532 -0
  238. package/.output/server/chunks/build/analysis-p-dBkjoK.mjs.map +1 -0
  239. package/.output/server/chunks/build/board-C6JysYLg.mjs +190 -0
  240. package/.output/server/chunks/build/board-C6JysYLg.mjs.map +1 -0
  241. package/.output/server/chunks/build/card-Cqk0Ur-L.mjs +953 -0
  242. package/.output/server/chunks/build/card-Cqk0Ur-L.mjs.map +1 -0
  243. package/.output/server/chunks/build/channel-templates-Iot9Y3vV.mjs +941 -0
  244. package/.output/server/chunks/build/channel-templates-Iot9Y3vV.mjs.map +1 -0
  245. package/.output/server/chunks/build/checkbox-CrT4cnfu.mjs +439 -0
  246. package/.output/server/chunks/build/checkbox-CrT4cnfu.mjs.map +1 -0
  247. package/.output/server/chunks/build/client-only-qNA2OVV_.mjs +43 -0
  248. package/.output/server/chunks/build/client-only-qNA2OVV_.mjs.map +1 -0
  249. package/.output/server/chunks/build/daq-CdxcfY_G.mjs +1265 -0
  250. package/.output/server/chunks/build/daq-CdxcfY_G.mjs.map +1 -0
  251. package/.output/server/chunks/build/data-DL68QJ5W.mjs +477 -0
  252. package/.output/server/chunks/build/data-DL68QJ5W.mjs.map +1 -0
  253. package/.output/server/chunks/build/dcw-BlDQtS4q.mjs +504 -0
  254. package/.output/server/chunks/build/dcw-BlDQtS4q.mjs.map +1 -0
  255. package/.output/server/chunks/build/default-Dt1B8QzV.mjs +2340 -0
  256. package/.output/server/chunks/build/default-Dt1B8QzV.mjs.map +1 -0
  257. package/.output/server/chunks/build/descriptions-BNlfKG9y.mjs +406 -0
  258. package/.output/server/chunks/build/descriptions-BNlfKG9y.mjs.map +1 -0
  259. package/.output/server/chunks/build/drawer-Caji0PLs.mjs +834 -0
  260. package/.output/server/chunks/build/drawer-Caji0PLs.mjs.map +1 -0
  261. package/.output/server/chunks/build/dropdown-C6YH_kSO.mjs +540 -0
  262. package/.output/server/chunks/build/dropdown-C6YH_kSO.mjs.map +1 -0
  263. package/.output/server/chunks/build/dropdown-CjwsxU39.mjs +14 -0
  264. package/.output/server/chunks/build/dropdown-CjwsxU39.mjs.map +1 -0
  265. package/.output/server/chunks/build/es-Bxu10NJ2.mjs +42 -0
  266. package/.output/server/chunks/build/es-Bxu10NJ2.mjs.map +1 -0
  267. package/.output/server/chunks/build/firstNotUndefined-8H5_qHUu.mjs +2448 -0
  268. package/.output/server/chunks/build/firstNotUndefined-8H5_qHUu.mjs.map +1 -0
  269. package/.output/server/chunks/build/form-D_UpWPN4.mjs +4712 -0
  270. package/.output/server/chunks/build/form-D_UpWPN4.mjs.map +1 -0
  271. package/.output/server/chunks/build/hasIn-DBdElbjM.mjs +553 -0
  272. package/.output/server/chunks/build/hasIn-DBdElbjM.mjs.map +1 -0
  273. package/.output/server/chunks/build/hitl-Bd30yr1J.mjs +132 -0
  274. package/.output/server/chunks/build/hitl-Bd30yr1J.mjs.map +1 -0
  275. package/.output/server/chunks/build/input-GtPuSEgt.mjs +2181 -0
  276. package/.output/server/chunks/build/input-GtPuSEgt.mjs.map +1 -0
  277. package/.output/server/chunks/build/input-number-BNlNDK7H.mjs +1120 -0
  278. package/.output/server/chunks/build/input-number-BNlNDK7H.mjs.map +1 -0
  279. package/.output/server/chunks/build/logs-BTfJQ6vQ.mjs +426 -0
  280. package/.output/server/chunks/build/logs-BTfJQ6vQ.mjs.map +1 -0
  281. package/.output/server/chunks/build/menu-BXt-X0dt.mjs +1952 -0
  282. package/.output/server/chunks/build/menu-BXt-X0dt.mjs.map +1 -0
  283. package/.output/server/chunks/build/monitor-DvaR3yo8.mjs +2252 -0
  284. package/.output/server/chunks/build/monitor-DvaR3yo8.mjs.map +1 -0
  285. package/.output/server/chunks/build/operations-Cl8nVm9D.mjs +310 -0
  286. package/.output/server/chunks/build/operations-Cl8nVm9D.mjs.map +1 -0
  287. package/.output/server/chunks/build/pages-AFRP4-EL.mjs +541 -0
  288. package/.output/server/chunks/build/pages-AFRP4-EL.mjs.map +1 -0
  289. package/.output/server/chunks/build/pagination-KaIvHBzi.mjs +1346 -0
  290. package/.output/server/chunks/build/pagination-KaIvHBzi.mjs.map +1 -0
  291. package/.output/server/chunks/build/permissions-CVTfixZj.mjs +636 -0
  292. package/.output/server/chunks/build/permissions-CVTfixZj.mjs.map +1 -0
  293. package/.output/server/chunks/build/plugins-LRjaSEZy.mjs +271 -0
  294. package/.output/server/chunks/build/plugins-LRjaSEZy.mjs.map +1 -0
  295. package/.output/server/chunks/build/popconfirm-DxYPGRgS.mjs +340 -0
  296. package/.output/server/chunks/build/popconfirm-DxYPGRgS.mjs.map +1 -0
  297. package/.output/server/chunks/build/responsiveObserve-DM3hpzhU.mjs +78 -0
  298. package/.output/server/chunks/build/responsiveObserve-DM3hpzhU.mjs.map +1 -0
  299. package/.output/server/chunks/build/schedules-BLhn2CLn.mjs +7171 -0
  300. package/.output/server/chunks/build/schedules-BLhn2CLn.mjs.map +1 -0
  301. package/.output/server/chunks/build/segmented-D3HWtHPw.mjs +341 -0
  302. package/.output/server/chunks/build/segmented-D3HWtHPw.mjs.map +1 -0
  303. package/.output/server/chunks/build/select--XFl7CtY.mjs +3923 -0
  304. package/.output/server/chunks/build/select--XFl7CtY.mjs.map +1 -0
  305. package/.output/server/chunks/build/settings-DIf_iYdu.mjs +1013 -0
  306. package/.output/server/chunks/build/settings-DIf_iYdu.mjs.map +1 -0
  307. package/.output/server/chunks/build/space-Dwu2Skt8.mjs +110 -0
  308. package/.output/server/chunks/build/space-Dwu2Skt8.mjs.map +1 -0
  309. package/.output/server/chunks/build/spin-C2cuvGth.mjs +1 -1
  310. package/.output/server/chunks/build/studio-DjhjwH4s.mjs +383 -0
  311. package/.output/server/chunks/build/studio-DjhjwH4s.mjs.map +1 -0
  312. package/.output/server/chunks/build/switch-CyR-H6Fb.mjs +377 -0
  313. package/.output/server/chunks/build/switch-CyR-H6Fb.mjs.map +1 -0
  314. package/.output/server/chunks/build/table-DIu_YCJN.mjs +7546 -0
  315. package/.output/server/chunks/build/table-DIu_YCJN.mjs.map +1 -0
  316. package/.output/server/chunks/build/tabs-Vg0e7cZE.mjs +1924 -0
  317. package/.output/server/chunks/build/tabs-Vg0e7cZE.mjs.map +1 -0
  318. package/.output/server/chunks/build/tag-y0sn-xv9.mjs +1156 -0
  319. package/.output/server/chunks/build/tag-y0sn-xv9.mjs.map +1 -0
  320. package/.output/server/chunks/build/teams-B2J6ouRY.mjs +1202 -0
  321. package/.output/server/chunks/build/teams-B2J6ouRY.mjs.map +1 -0
  322. package/.output/server/chunks/build/tokens-DFQGaN2n.mjs +1061 -0
  323. package/.output/server/chunks/build/tokens-DFQGaN2n.mjs.map +1 -0
  324. package/.output/server/chunks/build/tools-DWJFnU_t.mjs +486 -0
  325. package/.output/server/chunks/build/tools-DWJFnU_t.mjs.map +1 -0
  326. package/.output/server/chunks/build/tooltip-C2n2nNiQ.mjs +920 -0
  327. package/.output/server/chunks/build/tooltip-C2n2nNiQ.mjs.map +1 -0
  328. package/.output/server/chunks/build/town-B5aoiG98.mjs +132 -0
  329. package/.output/server/chunks/build/town-B5aoiG98.mjs.map +1 -0
  330. package/.output/server/chunks/build/town-BV-hbwb5.mjs +1 -1
  331. package/.output/server/chunks/build/types-D6J7slEa.mjs +1 -1
  332. package/.output/server/chunks/build/useAgentHarnessOptions-DOrQHeBh.mjs +123 -0
  333. package/.output/server/chunks/build/useAgentHarnessOptions-DOrQHeBh.mjs.map +1 -0
  334. package/.output/server/chunks/build/useAgentTemplateActions-CzlplRWh.mjs +76 -0
  335. package/.output/server/chunks/build/useAgentTemplateActions-CzlplRWh.mjs.map +1 -0
  336. package/.output/server/chunks/build/useAgentTemplateForm-DQo1enf2.mjs +116 -0
  337. package/.output/server/chunks/build/useAgentTemplateForm-DQo1enf2.mjs.map +1 -0
  338. package/.output/server/chunks/build/useAgentTemplatesCatalog-DP-iMmqz.mjs +132 -0
  339. package/.output/server/chunks/build/useAgentTemplatesCatalog-DP-iMmqz.mjs.map +1 -0
  340. package/.output/server/chunks/build/useAmlEntities-BJhvdqHJ.mjs +85 -0
  341. package/.output/server/chunks/build/useAmlEntities-BJhvdqHJ.mjs.map +1 -0
  342. package/.output/server/chunks/build/useAmlEnv-CDIZ6xTe.mjs +193 -0
  343. package/.output/server/chunks/build/useAmlEnv-CDIZ6xTe.mjs.map +1 -0
  344. package/.output/server/chunks/build/useAmlJobs-BF9LpwXz.mjs +266 -0
  345. package/.output/server/chunks/build/useAmlJobs-BF9LpwXz.mjs.map +1 -0
  346. package/.output/server/chunks/build/useAmlModels-_bweOr3R.mjs +92 -0
  347. package/.output/server/chunks/build/useAmlModels-_bweOr3R.mjs.map +1 -0
  348. package/.output/server/chunks/build/useAmlNotes-DQj980iX.mjs +85 -0
  349. package/.output/server/chunks/build/useAmlNotes-DQj980iX.mjs.map +1 -0
  350. package/.output/server/chunks/build/useAmlPredict-DHNgDSJn.mjs +129 -0
  351. package/.output/server/chunks/build/useAmlPredict-DHNgDSJn.mjs.map +1 -0
  352. package/.output/server/chunks/build/useAnalysisFeed-BrEGV_9x.mjs +128 -0
  353. package/.output/server/chunks/build/useAnalysisFeed-BrEGV_9x.mjs.map +1 -0
  354. package/.output/server/chunks/build/useDaqAddNode-D_Rkju0f.mjs +141 -0
  355. package/.output/server/chunks/build/useDaqAddNode-D_Rkju0f.mjs.map +1 -0
  356. package/.output/server/chunks/build/useDaqDetailBinding-DCWaLKXT.mjs +69 -0
  357. package/.output/server/chunks/build/useDaqDetailBinding-DCWaLKXT.mjs.map +1 -0
  358. package/.output/server/chunks/build/useDaqDetailFrames-BOIcOJRB.mjs +78 -0
  359. package/.output/server/chunks/build/useDaqDetailFrames-BOIcOJRB.mjs.map +1 -0
  360. package/.output/server/chunks/build/useDaqDetailHistory-D6WulPVs.mjs +175 -0
  361. package/.output/server/chunks/build/useDaqDetailHistory-D6WulPVs.mjs.map +1 -0
  362. package/.output/server/chunks/build/useDaqDetailNode-DeOsDxK5.mjs +98 -0
  363. package/.output/server/chunks/build/useDaqDetailNode-DeOsDxK5.mjs.map +1 -0
  364. package/.output/server/chunks/build/useDaqDetailParams-Cm9a9r5G.mjs +158 -0
  365. package/.output/server/chunks/build/useDaqDetailParams-Cm9a9r5G.mjs.map +1 -0
  366. package/.output/server/chunks/build/useDaqFilters-CctmO03p.mjs +221 -0
  367. package/.output/server/chunks/build/useDaqFilters-CctmO03p.mjs.map +1 -0
  368. package/.output/server/chunks/build/useDaqOptimizations-CmX_dpBc.mjs +135 -0
  369. package/.output/server/chunks/build/useDaqOptimizations-CmX_dpBc.mjs.map +1 -0
  370. package/.output/server/chunks/build/useDaqStream-B9ZBVQrI.mjs +395 -0
  371. package/.output/server/chunks/build/useDaqStream-B9ZBVQrI.mjs.map +1 -0
  372. package/.output/server/chunks/build/useDaqTemplates-CK37sMfi.mjs +186 -0
  373. package/.output/server/chunks/build/useDaqTemplates-CK37sMfi.mjs.map +1 -0
  374. package/.output/server/chunks/build/useDashboardData-B36wVWo2.mjs +152 -0
  375. package/.output/server/chunks/build/useDashboardData-B36wVWo2.mjs.map +1 -0
  376. package/.output/server/chunks/build/useDcwAddNode-DACVcEHs.mjs +218 -0
  377. package/.output/server/chunks/build/useDcwAddNode-DACVcEHs.mjs.map +1 -0
  378. package/.output/server/chunks/build/useDcwCards-SaiImIYQ.mjs +66 -0
  379. package/.output/server/chunks/build/useDcwCards-SaiImIYQ.mjs.map +1 -0
  380. package/.output/server/chunks/build/useDcwDetailScope-DLOklSMO.mjs +183 -0
  381. package/.output/server/chunks/build/useDcwDetailScope-DLOklSMO.mjs.map +1 -0
  382. package/.output/server/chunks/build/useDcwDetailTemplates-ClmIdZ40.mjs +147 -0
  383. package/.output/server/chunks/build/useDcwDetailTemplates-ClmIdZ40.mjs.map +1 -0
  384. package/.output/server/chunks/build/useDcwFilter-CPMyCltx.mjs +70 -0
  385. package/.output/server/chunks/build/useDcwFilter-CPMyCltx.mjs.map +1 -0
  386. package/.output/server/chunks/build/useDcwLedger-0ie-0WTc.mjs +78 -0
  387. package/.output/server/chunks/build/useDcwLedger-0ie-0WTc.mjs.map +1 -0
  388. package/.output/server/chunks/build/useDcwLineMutations-DNxo66yM.mjs +136 -0
  389. package/.output/server/chunks/build/useDcwLineMutations-DNxo66yM.mjs.map +1 -0
  390. package/.output/server/chunks/build/useDcwLineRun-CHskwscT.mjs +103 -0
  391. package/.output/server/chunks/build/useDcwLineRun-CHskwscT.mjs.map +1 -0
  392. package/.output/server/chunks/build/useDcwParamApprovals-DtScUc-W.mjs +120 -0
  393. package/.output/server/chunks/build/useDcwParamApprovals-DtScUc-W.mjs.map +1 -0
  394. package/.output/server/chunks/build/useDcwProducts-BMaxzLu6.mjs +92 -0
  395. package/.output/server/chunks/build/useDcwProducts-BMaxzLu6.mjs.map +1 -0
  396. package/.output/server/chunks/build/useDcwQuery-TVU3Eo0M.mjs +97 -0
  397. package/.output/server/chunks/build/useDcwQuery-TVU3Eo0M.mjs.map +1 -0
  398. package/.output/server/chunks/build/useDcwQuickActions-BREFmR9T.mjs +87 -0
  399. package/.output/server/chunks/build/useDcwQuickActions-BREFmR9T.mjs.map +1 -0
  400. package/.output/server/chunks/build/useDcwRecipes-Bc9urA1N.mjs +257 -0
  401. package/.output/server/chunks/build/useDcwRecipes-Bc9urA1N.mjs.map +1 -0
  402. package/.output/server/chunks/build/useDcwStream-Dir5ufAU.mjs +452 -0
  403. package/.output/server/chunks/build/useDcwStream-Dir5ufAU.mjs.map +1 -0
  404. package/.output/server/chunks/build/useDcwTemplates-BzagZztS.mjs +90 -0
  405. package/.output/server/chunks/build/useDcwTemplates-BzagZztS.mjs.map +1 -0
  406. package/.output/server/chunks/build/useDcwWrites-BROwTLCn.mjs +139 -0
  407. package/.output/server/chunks/build/useDcwWrites-BROwTLCn.mjs.map +1 -0
  408. package/.output/server/chunks/build/useExpConfirmations-BM626N4p.mjs +106 -0
  409. package/.output/server/chunks/build/useExpConfirmations-BM626N4p.mjs.map +1 -0
  410. package/.output/server/chunks/build/useLocalTime-uVSM44Um.mjs +55 -0
  411. package/.output/server/chunks/build/useLocalTime-uVSM44Um.mjs.map +1 -0
  412. package/.output/server/chunks/build/useLogsManual-cVBZQ_Mt.mjs +87 -0
  413. package/.output/server/chunks/build/useLogsManual-cVBZQ_Mt.mjs.map +1 -0
  414. package/.output/server/chunks/build/useLogsQuery-D7hrJ3yn.mjs +149 -0
  415. package/.output/server/chunks/build/useLogsQuery-D7hrJ3yn.mjs.map +1 -0
  416. package/.output/server/chunks/build/useLogsScope-aaPQeTRm.mjs +82 -0
  417. package/.output/server/chunks/build/useLogsScope-aaPQeTRm.mjs.map +1 -0
  418. package/.output/server/chunks/build/useMonitorColumns-vVnt3r5Q.mjs +216 -0
  419. package/.output/server/chunks/build/useMonitorColumns-vVnt3r5Q.mjs.map +1 -0
  420. package/.output/server/chunks/build/useMonitorData-DIkiLr_h.mjs +134 -0
  421. package/.output/server/chunks/build/useMonitorData-DIkiLr_h.mjs.map +1 -0
  422. package/.output/server/chunks/build/useMonitorFormat-CyURtH8N.mjs +90 -0
  423. package/.output/server/chunks/build/useMonitorFormat-CyURtH8N.mjs.map +1 -0
  424. package/.output/server/chunks/build/useOperationsFeed-Ci4mZAn_.mjs +194 -0
  425. package/.output/server/chunks/build/useOperationsFeed-Ci4mZAn_.mjs.map +1 -0
  426. package/.output/server/chunks/build/useOpsLog-C-M6Eace.mjs +149 -0
  427. package/.output/server/chunks/build/useOpsLog-C-M6Eace.mjs.map +1 -0
  428. package/.output/server/chunks/build/useRecipeDispatchApprovals-BYtiqfeb.mjs +155 -0
  429. package/.output/server/chunks/build/useRecipeDispatchApprovals-BYtiqfeb.mjs.map +1 -0
  430. package/.output/server/chunks/build/useTeamActions-I_8QWp9w.mjs +78 -0
  431. package/.output/server/chunks/build/useTeamActions-I_8QWp9w.mjs.map +1 -0
  432. package/.output/server/chunks/build/useTeamAddMemberDialog-BLn4nTuy.mjs +83 -0
  433. package/.output/server/chunks/build/useTeamAddMemberDialog-BLn4nTuy.mjs.map +1 -0
  434. package/.output/server/chunks/build/useTeamCreateDialog-Bp5qKtpI.mjs +96 -0
  435. package/.output/server/chunks/build/useTeamCreateDialog-Bp5qKtpI.mjs.map +1 -0
  436. package/.output/server/chunks/build/useTeamDeployDialog-DwIaz6Cx.mjs +79 -0
  437. package/.output/server/chunks/build/useTeamDeployDialog-DwIaz6Cx.mjs.map +1 -0
  438. package/.output/server/chunks/build/useTeamPluginDialog-B932gZOI.mjs +102 -0
  439. package/.output/server/chunks/build/useTeamPluginDialog-B932gZOI.mjs.map +1 -0
  440. package/.output/server/chunks/build/useTeamsCatalog-DBwaLQBw.mjs +122 -0
  441. package/.output/server/chunks/build/useTeamsCatalog-DBwaLQBw.mjs.map +1 -0
  442. package/.output/server/chunks/build/useTokenCreate-Ctl0YGhL.mjs +114 -0
  443. package/.output/server/chunks/build/useTokenCreate-Ctl0YGhL.mjs.map +1 -0
  444. package/.output/server/chunks/build/useTokenRename-Cm3ypSfN.mjs +86 -0
  445. package/.output/server/chunks/build/useTokenRename-Cm3ypSfN.mjs.map +1 -0
  446. package/.output/server/chunks/build/useTokenReveal-CeoWL5Mt.mjs +117 -0
  447. package/.output/server/chunks/build/useTokenReveal-CeoWL5Mt.mjs.map +1 -0
  448. package/.output/server/chunks/build/useTokensList-CNIzON3u.mjs +91 -0
  449. package/.output/server/chunks/build/useTokensList-CNIzON3u.mjs.map +1 -0
  450. package/.output/server/chunks/build/useWorkbenchAuth-CY-bVFMu.mjs +140 -0
  451. package/.output/server/chunks/build/useWorkbenchAuth-CY-bVFMu.mjs.map +1 -0
  452. package/.output/server/chunks/build/useWorkbenchWorkspaces-DhZQFss9.mjs +137 -0
  453. package/.output/server/chunks/build/useWorkbenchWorkspaces-DhZQFss9.mjs.map +1 -0
  454. package/.output/server/chunks/build/useWorkshopApi-CaSItJVq.mjs +119 -0
  455. package/.output/server/chunks/build/useWorkshopApi-CaSItJVq.mjs.map +1 -0
  456. package/.output/server/chunks/build/useWorkshopWs-YQ5URrbt.mjs +1659 -0
  457. package/.output/server/chunks/build/useWorkshopWs-YQ5URrbt.mjs.map +1 -0
  458. package/.output/server/chunks/build/useWorkspaceChannels-CPFepxTN.mjs +91 -0
  459. package/.output/server/chunks/build/useWorkspaceChannels-CPFepxTN.mjs.map +1 -0
  460. package/.output/server/chunks/build/users-BWw0VCr9.mjs +568 -0
  461. package/.output/server/chunks/build/users-BWw0VCr9.mjs.map +1 -0
  462. package/.output/server/chunks/build/workshop-1gKeDASV.mjs +545 -0
  463. package/.output/server/chunks/build/workshop-1gKeDASV.mjs.map +1 -0
  464. package/.output/server/chunks/routes/api/mcp/workshop.mjs +1 -1
  465. package/.output/server/chunks/routes/api/system/backup/run.post.mjs +2 -2
  466. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs +1 -1
  467. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs.map +1 -1
  468. package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +1 -1
  469. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.put.mjs +109 -0
  470. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.put.mjs.map +1 -0
  471. package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs +35 -0
  472. package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs.map +1 -0
  473. package/.output/server/chunks/routes/api/workshop/channels/_id/tools/reset.post.mjs +52 -0
  474. package/.output/server/chunks/routes/api/workshop/channels/_id/tools/reset.post.mjs.map +1 -0
  475. package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.get.mjs +1 -1
  476. package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.patch.mjs +1 -1
  477. package/.output/server/chunks/routes/api/workshop/channels.post.mjs +6 -6
  478. package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs +139 -0
  479. package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs.map +1 -0
  480. package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +1 -1
  481. package/.output/server/chunks/routes/api/workshop/daq/export/_id_.get.mjs +36 -0
  482. package/.output/server/chunks/routes/api/workshop/daq/export/_id_.get.mjs.map +1 -0
  483. package/.output/server/chunks/routes/api/workshop/daq/export-file.get.mjs +44 -0
  484. package/.output/server/chunks/routes/api/workshop/daq/export-file.get.mjs.map +1 -0
  485. package/.output/server/chunks/routes/api/workshop/daq/index.get.mjs +35 -0
  486. package/.output/server/chunks/routes/api/workshop/daq/index.get.mjs.map +1 -0
  487. package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs +29 -6
  488. package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs.map +1 -1
  489. package/.output/server/chunks/routes/api/workshop/daq/index2.post.mjs +34 -0
  490. package/.output/server/chunks/routes/api/workshop/daq/index2.post.mjs.map +1 -0
  491. package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs +1 -1
  492. package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +1 -1
  493. package/.output/server/chunks/routes/api/workshop/daq/query.get.mjs +54 -0
  494. package/.output/server/chunks/routes/api/workshop/daq/query.get.mjs.map +1 -0
  495. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +1 -1
  496. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +1 -1
  497. package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +1 -1
  498. package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +1 -1
  499. package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +1 -1
  500. package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +1 -1
  501. package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs +1 -1
  502. package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +1 -1
  503. package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +1 -1
  504. package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +15 -3
  505. package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs.map +1 -1
  506. package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +15 -2
  507. package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs.map +1 -1
  508. package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +1 -1
  509. package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +1 -1
  510. package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +1 -1
  511. package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +1 -1
  512. package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +1 -1
  513. package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +1 -1
  514. package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +1 -1
  515. package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +1 -1
  516. package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +17 -2
  517. package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs.map +1 -1
  518. package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +1 -1
  519. package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs +1 -1
  520. package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +1 -1
  521. package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +1 -1
  522. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +1 -1
  523. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +1 -1
  524. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +1 -1
  525. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs +17 -3
  526. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs.map +1 -1
  527. package/.output/server/chunks/routes/api/workshop/dcw/mes-artifacts/file.get.mjs +1 -1
  528. package/.output/server/chunks/routes/api/workshop/dcw/mes-hook-test.post.mjs +1 -1
  529. package/.output/server/chunks/routes/api/workshop/dcw/mes-test-read.post.mjs +1 -1
  530. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +1 -1
  531. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +1 -1
  532. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +1 -1
  533. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +1 -1
  534. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs +1 -1
  535. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs +1 -1
  536. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs +1 -1
  537. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs +1 -1
  538. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +1 -1
  539. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +1 -1
  540. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +4 -3
  541. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs.map +1 -1
  542. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs +16 -3
  543. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs.map +1 -1
  544. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +16 -3
  545. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs.map +1 -1
  546. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +17 -3
  547. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs.map +1 -1
  548. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +1 -1
  549. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +1 -1
  550. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +1 -1
  551. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +1 -1
  552. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +1 -1
  553. package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +1 -1
  554. package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +1 -1
  555. package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +1 -1
  556. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +1 -1
  557. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +1 -1
  558. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.delete.mjs +42 -0
  559. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.delete.mjs.map +1 -0
  560. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.get.mjs +36 -0
  561. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.get.mjs.map +1 -0
  562. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.patch.mjs +52 -0
  563. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.patch.mjs.map +1 -0
  564. package/.output/server/chunks/routes/api/workshop/eda/commonality.get.mjs +122 -0
  565. package/.output/server/chunks/routes/api/workshop/eda/commonality.get.mjs.map +1 -0
  566. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.delete.mjs +42 -0
  567. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.delete.mjs.map +1 -0
  568. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.get.mjs +37 -0
  569. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.get.mjs.map +1 -0
  570. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.patch.mjs +48 -0
  571. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.patch.mjs.map +1 -0
  572. package/.output/server/chunks/routes/api/workshop/eda/features/jobs.get.mjs +34 -0
  573. package/.output/server/chunks/routes/api/workshop/eda/features/jobs.get.mjs.map +1 -0
  574. package/.output/server/chunks/routes/api/workshop/eda/features/run.post.mjs +45 -0
  575. package/.output/server/chunks/routes/api/workshop/eda/features/run.post.mjs.map +1 -0
  576. package/.output/server/chunks/routes/api/workshop/eda/golden/_id_.delete.mjs +42 -0
  577. package/.output/server/chunks/routes/api/workshop/eda/golden/_id_.delete.mjs.map +1 -0
  578. package/.output/server/chunks/routes/api/workshop/eda/golden/deviation.get.mjs +41 -0
  579. package/.output/server/chunks/routes/api/workshop/eda/golden/deviation.get.mjs.map +1 -0
  580. package/.output/server/chunks/routes/api/workshop/eda/golden/single.get.mjs +37 -0
  581. package/.output/server/chunks/routes/api/workshop/eda/golden/single.get.mjs.map +1 -0
  582. package/.output/server/chunks/routes/api/workshop/eda/index.get.mjs +39 -0
  583. package/.output/server/chunks/routes/api/workshop/eda/index.get.mjs.map +1 -0
  584. package/.output/server/chunks/routes/api/workshop/eda/index.post.mjs +51 -0
  585. package/.output/server/chunks/routes/api/workshop/eda/index.post.mjs.map +1 -0
  586. package/.output/server/chunks/routes/api/workshop/eda/index2.get.mjs +49 -0
  587. package/.output/server/chunks/routes/api/workshop/eda/index2.get.mjs.map +1 -0
  588. package/.output/server/chunks/routes/api/workshop/eda/index2.post.mjs +45 -0
  589. package/.output/server/chunks/routes/api/workshop/eda/index2.post.mjs.map +1 -0
  590. package/.output/server/chunks/routes/api/workshop/eda/index3.get.mjs +47 -0
  591. package/.output/server/chunks/routes/api/workshop/eda/index3.get.mjs.map +1 -0
  592. package/.output/server/chunks/routes/api/workshop/eda/index3.post.mjs +138 -0
  593. package/.output/server/chunks/routes/api/workshop/eda/index3.post.mjs.map +1 -0
  594. package/.output/server/chunks/routes/api/workshop/eda/index4.get.mjs +47 -0
  595. package/.output/server/chunks/routes/api/workshop/eda/index4.get.mjs.map +1 -0
  596. package/.output/server/chunks/routes/api/workshop/eda/index4.post.mjs +48 -0
  597. package/.output/server/chunks/routes/api/workshop/eda/index4.post.mjs.map +1 -0
  598. package/.output/server/chunks/routes/api/workshop/eda/index5.get.mjs +34 -0
  599. package/.output/server/chunks/routes/api/workshop/eda/index5.get.mjs.map +1 -0
  600. package/.output/server/chunks/routes/api/workshop/eda/index5.post.mjs +47 -0
  601. package/.output/server/chunks/routes/api/workshop/eda/index5.post.mjs.map +1 -0
  602. package/.output/server/chunks/routes/api/workshop/eda/index6.get.mjs +53 -0
  603. package/.output/server/chunks/routes/api/workshop/eda/index6.get.mjs.map +1 -0
  604. package/.output/server/chunks/routes/api/workshop/eda/index6.post.mjs +46 -0
  605. package/.output/server/chunks/routes/api/workshop/eda/index6.post.mjs.map +1 -0
  606. package/.output/server/chunks/routes/api/workshop/eda/index7.get.mjs +34 -0
  607. package/.output/server/chunks/routes/api/workshop/eda/index7.get.mjs.map +1 -0
  608. package/.output/server/chunks/routes/api/workshop/eda/index7.post.mjs +47 -0
  609. package/.output/server/chunks/routes/api/workshop/eda/index7.post.mjs.map +1 -0
  610. package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.get.mjs +58 -0
  611. package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.get.mjs.map +1 -0
  612. package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.patch.mjs +53 -0
  613. package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.patch.mjs.map +1 -0
  614. package/.output/server/chunks/routes/api/workshop/eda/runs/_id/labels.patch.mjs +42 -0
  615. package/.output/server/chunks/routes/api/workshop/eda/runs/_id/labels.patch.mjs.map +1 -0
  616. package/.output/server/chunks/routes/api/workshop/eda/runs.get.mjs +49 -0
  617. package/.output/server/chunks/routes/api/workshop/eda/runs.get.mjs.map +1 -0
  618. package/.output/server/chunks/routes/api/workshop/eda/spc/_id/recompute.post.mjs +35 -0
  619. package/.output/server/chunks/routes/api/workshop/eda/spc/_id/recompute.post.mjs.map +1 -0
  620. package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.delete.mjs +36 -0
  621. package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.delete.mjs.map +1 -0
  622. package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.get.mjs +45 -0
  623. package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.get.mjs.map +1 -0
  624. package/.output/server/chunks/routes/api/workshop/eda/vm/predict.post.mjs +103 -0
  625. package/.output/server/chunks/routes/api/workshop/eda/vm/predict.post.mjs.map +1 -0
  626. package/.output/server/chunks/routes/api/workshop/exp/confirmations/_id/decide.post.mjs +1 -1
  627. package/.output/server/chunks/routes/api/workshop/exp/index.get.mjs +1 -1
  628. package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs +1 -1
  629. package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs +1 -1
  630. package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs +1 -1
  631. package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs +1 -1
  632. package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs +1 -1
  633. package/.output/server/chunks/routes/api/workshop/index.put.mjs +1 -1
  634. package/.output/server/chunks/routes/api/workshop/index10.get.mjs +31 -14
  635. package/.output/server/chunks/routes/api/workshop/index10.get.mjs.map +1 -1
  636. package/.output/server/chunks/routes/api/workshop/index12.get.mjs +20 -2
  637. package/.output/server/chunks/routes/api/workshop/index12.get.mjs.map +1 -1
  638. package/.output/server/chunks/routes/api/workshop/index15.get.mjs +5 -4
  639. package/.output/server/chunks/routes/api/workshop/index15.get.mjs.map +1 -1
  640. package/.output/server/chunks/routes/api/workshop/index16.get.mjs +30 -0
  641. package/.output/server/chunks/routes/api/workshop/index16.get.mjs.map +1 -0
  642. package/.output/server/chunks/routes/api/workshop/index4.post.mjs +14 -3
  643. package/.output/server/chunks/routes/api/workshop/index4.post.mjs.map +1 -1
  644. package/.output/server/chunks/routes/api/workshop/index5.post.mjs +1 -1
  645. package/.output/server/chunks/routes/api/workshop/index6.get.mjs +1 -1
  646. package/.output/server/chunks/routes/api/workshop/index6.post.mjs +26 -5
  647. package/.output/server/chunks/routes/api/workshop/index6.post.mjs.map +1 -1
  648. package/.output/server/chunks/routes/api/workshop/index7.get.mjs +1 -1
  649. package/.output/server/chunks/routes/api/workshop/index8.get.mjs +1 -1
  650. package/.output/server/chunks/routes/api/workshop/mes/datasets.get.mjs +72 -0
  651. package/.output/server/chunks/routes/api/workshop/mes/datasets.get.mjs.map +1 -0
  652. package/.output/server/chunks/routes/api/workshop/mes/points.get.mjs +32 -0
  653. package/.output/server/chunks/routes/api/workshop/mes/points.get.mjs.map +1 -0
  654. package/.output/server/chunks/routes/api/workshop/mes/preview.post.mjs +42 -0
  655. package/.output/server/chunks/routes/api/workshop/mes/preview.post.mjs.map +1 -0
  656. package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +1 -1
  657. package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +1 -1
  658. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +1 -1
  659. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +1 -1
  660. package/.output/server/chunks/routes/api/workshop/tools/_name_.get.mjs +35 -0
  661. package/.output/server/chunks/routes/api/workshop/tools/_name_.get.mjs.map +1 -0
  662. package/.output/server/chunks/routes/api/workshop/tools/sync.post.mjs +30 -0
  663. package/.output/server/chunks/routes/api/workshop/tools/sync.post.mjs.map +1 -0
  664. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +1 -1
  665. package/.output/server/chunks/routes/renderer.mjs +3 -3
  666. package/.output/server/chunks/virtual/entry.mjs +1543 -1051
  667. package/.output/server/chunks/virtual/entry.mjs.map +1 -1
  668. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  669. package/.output/server/package.json +1 -1
  670. package/README-zh.md +948 -948
  671. package/README.md +973 -972
  672. package/app/assets/css/main.css +346 -197
  673. package/app/components/AppHeader.vue +294 -284
  674. package/app/components/AppSidebar.vue +15 -18
  675. package/app/components/AwChart.vue +8 -1
  676. package/app/components/analysis/AnalysisEditModal.vue +8 -0
  677. package/app/components/analysis/AnalysisPageHead.vue +18 -3
  678. package/app/components/analysis/AnalysisTable.vue +59 -12
  679. package/app/components/app-header/HeaderTools.vue +224 -208
  680. package/app/components/app-header/TrailNav.vue +262 -261
  681. package/app/components/app-header/UserChip.vue +13 -9
  682. package/app/components/daq/DaqDetailHistoryCard.vue +13 -5
  683. package/app/components/daq/DaqDetailLiveCard.vue +100 -92
  684. package/app/components/daq/DaqDetailParamForm.vue +355 -350
  685. package/app/components/dashboard/DashboardFleetPanel.vue +228 -228
  686. package/app/components/dashboard/DashboardHarnessPanel.vue +149 -149
  687. package/app/components/data/DataLedgerPanel.vue +253 -0
  688. package/app/components/data/DataMesPanel.vue +279 -0
  689. package/app/components/data/DataMirrorPanel.vue +602 -0
  690. package/app/components/dcw/DcwAdoptCard.vue +90 -89
  691. package/app/components/dcw/DcwDetailHead.vue +65 -65
  692. package/app/components/dcw/DcwGatewayBar.vue +102 -94
  693. package/app/components/dcw/DcwLineCard.vue +1 -0
  694. package/app/components/dcw/DcwLineRunCard.vue +160 -158
  695. package/app/components/dcw/DcwRecipeDispatchHistoryModal.vue +244 -0
  696. package/app/components/dcw/DcwRecipePanel.vue +7 -0
  697. package/app/components/logs/LogsEventTable.vue +77 -26
  698. package/app/components/logs/LogsFilterCard.vue +22 -0
  699. package/app/components/logs/LogsManualModal.vue +231 -231
  700. package/app/components/monitor/MonitorStatGrid.vue +160 -165
  701. package/app/components/operations/OperationsTimeline.vue +252 -215
  702. package/app/components/settings/AppearancePane.vue +282 -282
  703. package/app/components/settings/PluginsSection.vue +282 -280
  704. package/app/components/settings/RuntimeFieldRow.vue +5 -3
  705. package/app/components/settings/RuntimeGroupSection.vue +290 -290
  706. package/app/components/settings/RuntimePane.vue +239 -235
  707. package/app/components/settings/SystemPane.vue +85 -83
  708. package/app/components/tokens/TokensAuthGate.vue +47 -47
  709. package/app/components/tokens/TokensTable.vue +264 -227
  710. package/app/components/workshop/ChannelSessionList.vue +378 -377
  711. package/app/components/workshop/DaqNodeRow.vue +10 -7
  712. package/app/components/workshop/NotificationCenter.vue +334 -334
  713. package/app/components/workshop/agents/AgentTemplateTable.vue +285 -269
  714. package/app/components/workshop/agents/AgentTemplateToolbar.vue +69 -67
  715. package/app/components/workshop/blocks/ClusterStream.vue +2 -2
  716. package/app/components/workshop/console/LineOperationsPanel.vue +9 -9
  717. package/app/components/workshop/console/RightPane.vue +5 -2
  718. package/app/components/workshop/console/Topbar.vue +304 -289
  719. package/app/components/workshop/session-list/ChannelSettingsModal.vue +376 -371
  720. package/app/components/workshop/session-list/ChannelToolSettings.vue +507 -0
  721. package/app/components/workshop/teams/TeamCard.vue +183 -183
  722. package/app/components/workshop/town/components/TownControlDock.vue +5 -0
  723. package/app/components/workshop/transcript/TranscriptEmptyState.vue +153 -153
  724. package/app/components/workshop/workbench/AuthGate.vue +3 -2
  725. package/app/components/workshop/workbench/WorkbenchHead.vue +140 -129
  726. package/app/components/workshop/workbench/WorkspaceCard.vue +199 -198
  727. package/app/composables/useRouteMeta.ts +13 -1
  728. package/app/composables/workshop/useLocalTime.ts +5 -2
  729. package/app/composables/workshop/useOpsLog.ts +13 -2
  730. package/app/composables/workshop/useWorkshopApi.ts +66 -0
  731. package/app/layouts/default.vue +31 -6
  732. package/app/pages/aml/styles.css +8 -7
  733. package/app/pages/daq/[id].vue +140 -136
  734. package/app/pages/daq/daq-page.css +688 -681
  735. package/app/pages/data/index.vue +66 -0
  736. package/app/pages/dcw/[id].vue +398 -380
  737. package/app/pages/dcw/dcw-page.css +22 -21
  738. package/app/pages/logs/composables/useLogsManual.ts +68 -63
  739. package/app/pages/logs/composables/useLogsQuery.ts +28 -3
  740. package/app/pages/logs/index.vue +2 -0
  741. package/app/pages/monitor/composables/useMonitorColumns.ts +69 -69
  742. package/app/pages/operations/composables/useOperationsFeed.ts +139 -137
  743. package/app/pages/plugins/index.vue +347 -318
  744. package/app/pages/settings.vue +170 -168
  745. package/app/pages/studio/board.vue +383 -0
  746. package/app/pages/studio/index.vue +855 -0
  747. package/app/pages/tools/index.vue +401 -0
  748. package/app/pages/workshop/channel-templates.vue +558 -556
  749. package/app/pages/workshop/index.vue +55 -0
  750. package/app/pages/workshop/teams.vue +237 -233
  751. package/app/stores/route-trail.ts +4 -2
  752. package/cli/commands/plugin.mjs +322 -246
  753. package/config.yml +180 -180
  754. package/docs/aml.md +1 -1
  755. package/docs/cli.en.md +447 -447
  756. package/docs/cli.md +412 -412
  757. package/docs/full-test-plan.md +1 -1
  758. package/docs/mcp.md +122 -108
  759. package/docs/plugins.en.md +22 -2
  760. package/docs/plugins.md +22 -2
  761. package/docs/sdk.en.md +1 -1
  762. package/docs/sdk.md +1 -1
  763. package/i18n/dicts/channelTools.json +39 -0
  764. package/i18n/dicts/toolsPage.json +34 -0
  765. package/i18n/locales/en.ts +252 -14
  766. package/i18n/locales/zh-CN.ts +251 -14
  767. package/package.json +185 -181
  768. package/scripts/agent-daq-isolation-e2e.mjs +91 -0
  769. package/scripts/api-contract-smoke.mjs +126 -0
  770. package/scripts/ask-hitl-e2e.mjs +96 -0
  771. package/scripts/channel-interaction-smoke.mjs +80 -0
  772. package/scripts/data-studio-e2e.mjs +332 -0
  773. package/scripts/data-studio-ui-e2e.mjs +163 -0
  774. package/scripts/dev-mes-simulator.mjs +106 -17
  775. package/scripts/e2e-hitl-live.mjs +41 -5
  776. package/scripts/e2e-injection-recipe-closedloop.mjs +203 -0
  777. package/scripts/e2e-line-governance.mjs +352 -0
  778. package/scripts/eda-demo-report-patch.mjs +47 -0
  779. package/scripts/eda-live-demo.mjs +398 -0
  780. package/scripts/full-stack-shots.mjs +145 -0
  781. package/scripts/full-tool-injection-harness-e2e.mjs +214 -0
  782. package/scripts/harness-matrix-e2e.mjs +159 -0
  783. package/scripts/harness-team-line-e2e.mjs +224 -0
  784. package/scripts/hitl-reject-e2e.mjs +131 -0
  785. package/scripts/hitl-ui-two-harness-demo.mjs +243 -0
  786. package/scripts/line-log-smoke.mjs +260 -0
  787. package/scripts/live-aml-optloop.mjs +161 -118
  788. package/scripts/mes-agent-integration-e2e.mjs +361 -0
  789. package/scripts/onboarding/forge-channel.mjs +9 -3
  790. package/scripts/onboarding/onboard.mjs +104 -10
  791. package/scripts/onboarding/provision-line.mjs +38 -15
  792. package/scripts/onboarding/sim-twin.mjs +50 -13
  793. package/scripts/onboarding/test-connection.mjs +8 -2
  794. package/scripts/onboarding/verify-line.mjs +72 -9
  795. package/scripts/ops-plugins-e2e.mjs +85 -0
  796. package/scripts/real-injection-closed-loop.mjs +8 -0
  797. package/scripts/scenario-suite-setup.mjs +337 -0
  798. package/scripts/scenario-suite-stability.mjs +144 -0
  799. package/scripts/team-coordination-e2e.mjs +96 -0
  800. package/scripts/tool-face-batch-identity-e2e.mjs +222 -0
  801. package/scripts/tool-registry-e2e.mjs +547 -0
  802. package/scripts/ui/audit-layout.mjs +324 -301
  803. package/scripts/ui/lib.mjs +3 -0
  804. package/sdk/client.mjs +8 -1
  805. package/sdk/examples/line-sentinel/client.mjs +55 -38
  806. package/sdk/examples/ops-notifier/client.mjs +29 -25
  807. package/sdk/examples/sample-insight/client.mjs +25 -25
  808. package/server/.mimosa/hook-state/sess_869e5bfd-07f4-4b6e-a991-6221fcf6b7d2.json +1 -0
  809. package/server/.mimosa/hook-state/sess_869e5bfd-07f4-4b6e-a991-6221fcf6b7d2.mvhn1irp-99488-e3fdc1cbfc.baseline/942d2679b87b96c612b4f2a425c3ccc5b6f3234f0cf589a8441602f866fbe277.source +41 -0
  810. package/server/.mimosa/hook-state/sess_869e5bfd-07f4-4b6e-a991-6221fcf6b7d2.mvhn1irp-99488-e3fdc1cbfc.baseline/dd617a82339d2c61e49e28e416aabeb2fc100fb3cb1beca18d02dfb833214af6.source +51 -0
  811. package/server/.mimosa/hook-status/sess_869e5bfd-07f4-4b6e-a991-6221fcf6b7d2-e67b6b91bf.json +14 -0
  812. package/server/api/workshop/agent-tools/bindings/[id].delete.ts +3 -3
  813. package/server/api/workshop/channels/[id]/tools/index.get.ts +17 -0
  814. package/server/api/workshop/channels/[id]/tools/index.put.ts +117 -0
  815. package/server/api/workshop/channels/[id]/tools/reset.post.ts +39 -0
  816. package/server/api/workshop/daq/[id]/ingest.post.ts +166 -0
  817. package/server/api/workshop/daq/export/[id].get.ts +17 -0
  818. package/server/api/workshop/daq/export/index.get.ts +15 -0
  819. package/server/api/workshop/daq/export/index.post.ts +42 -0
  820. package/server/api/workshop/daq/export-file.get.ts +26 -0
  821. package/server/api/workshop/daq/query.get.ts +41 -0
  822. package/server/api/workshop/dcw/[id].delete.ts +10 -2
  823. package/server/api/workshop/dcw/[id].patch.ts +10 -0
  824. package/server/api/workshop/dcw/index.post.ts +9 -3
  825. package/server/api/workshop/dcw/lines/[id].patch.ts +13 -2
  826. package/server/api/workshop/dcw/recipes/[id]/apply.post.ts +2 -1
  827. package/server/api/workshop/dcw/recipes/[id]/mark-good.post.ts +15 -2
  828. package/server/api/workshop/dcw/recipes/[id]/rollback-good.post.ts +15 -2
  829. package/server/api/workshop/dcw/recipes/[id].delete.ts +12 -1
  830. package/server/api/workshop/dcw/recipes/index.post.ts +11 -0
  831. package/server/api/workshop/eda/charts/[id].delete.ts +23 -0
  832. package/server/api/workshop/eda/charts/[id].get.ts +16 -0
  833. package/server/api/workshop/eda/charts/[id].patch.ts +33 -0
  834. package/server/api/workshop/eda/charts/index.get.ts +19 -0
  835. package/server/api/workshop/eda/charts/index.post.ts +33 -0
  836. package/server/api/workshop/eda/commonality.get.ts +27 -0
  837. package/server/api/workshop/eda/dashboards/[id].delete.ts +22 -0
  838. package/server/api/workshop/eda/dashboards/[id].get.ts +17 -0
  839. package/server/api/workshop/eda/dashboards/[id].patch.ts +28 -0
  840. package/server/api/workshop/eda/dashboards/index.get.ts +30 -0
  841. package/server/api/workshop/eda/dashboards/index.post.ts +25 -0
  842. package/server/api/workshop/eda/derived/index.post.ts +41 -0
  843. package/server/api/workshop/eda/features/index.get.ts +29 -0
  844. package/server/api/workshop/eda/features/jobs.get.ts +13 -0
  845. package/server/api/workshop/eda/features/run.post.ts +28 -0
  846. package/server/api/workshop/eda/golden/[id].delete.ts +22 -0
  847. package/server/api/workshop/eda/golden/deviation.get.ts +21 -0
  848. package/server/api/workshop/eda/golden/index.get.ts +21 -0
  849. package/server/api/workshop/eda/golden/index.post.ts +29 -0
  850. package/server/api/workshop/eda/golden/single.get.ts +16 -0
  851. package/server/api/workshop/eda/ocap/[id].get.ts +39 -0
  852. package/server/api/workshop/eda/ocap/[id].patch.ts +33 -0
  853. package/server/api/workshop/eda/ocap/index.get.ts +13 -0
  854. package/server/api/workshop/eda/ocap/index.post.ts +27 -0
  855. package/server/api/workshop/eda/run-segments/index.get.ts +39 -0
  856. package/server/api/workshop/eda/run-segments/index.post.ts +30 -0
  857. package/server/api/workshop/eda/runs/[id]/labels.patch.ts +25 -0
  858. package/server/api/workshop/eda/runs.get.ts +31 -0
  859. package/server/api/workshop/eda/spc/[id]/recompute.post.ts +15 -0
  860. package/server/api/workshop/eda/spc/[id].delete.ts +16 -0
  861. package/server/api/workshop/eda/spc/[id].get.ts +27 -0
  862. package/server/api/workshop/eda/spc/index.get.ts +14 -0
  863. package/server/api/workshop/eda/spc/index.post.ts +28 -0
  864. package/server/api/workshop/eda/vm/predict.post.ts +97 -0
  865. package/server/api/workshop/mes/datasets.get.ts +54 -0
  866. package/server/api/workshop/mes/points.get.ts +13 -0
  867. package/server/api/workshop/mes/preview.post.ts +25 -0
  868. package/server/api/workshop/ops-logs/index.get.ts +42 -17
  869. package/server/api/workshop/ops-logs/index.post.ts +36 -6
  870. package/server/api/workshop/plugins/index.get.ts +36 -17
  871. package/server/api/workshop/tools/[name].get.ts +15 -0
  872. package/server/api/workshop/tools/index.get.ts +12 -0
  873. package/server/api/workshop/tools/sync.post.ts +12 -0
  874. package/server/harness/aw-mcp-bridge.mjs +32 -3
  875. package/server/plugins/aw-plugins.ts +7 -1
  876. package/server/plugins/workshop.ts +4 -0
  877. package/server/plugins-builtin/diag-bridge/client.mjs +239 -230
  878. package/server/plugins-builtin/diag-bridge/host/diagnosis.mjs +82 -75
  879. package/server/plugins-builtin/diag-bridge/host/helpers.mjs +129 -126
  880. package/server/plugins-builtin/diag-bridge/host/plugin.mjs +457 -420
  881. package/server/plugins-builtin/diag-bridge/host/sweep.mjs +191 -106
  882. package/server/plugins-builtin/rag-bridge/client.mjs +2 -0
  883. package/server/plugins-builtin/rag-bridge/index.mjs +159 -16
  884. package/server/plugins-builtin/serial-bridge/client.mjs +1 -0
  885. package/server/services/workshop/agents/hitl-decision/answers.ts +5 -0
  886. package/server/services/workshop/agents/hitl-decision/dispatcher.ts +3 -1
  887. package/server/services/workshop/agents/host-tool-bridge/catalog.ts +102 -23
  888. package/server/services/workshop/agents/host-tool-bridge/dispatch.ts +290 -246
  889. package/server/services/workshop/agents/host-tool-bridge/index.ts +16 -15
  890. package/server/services/workshop/agents/host-tool-bridge/per-agent.ts +114 -0
  891. package/server/services/workshop/agents/host-tool-bridge/tools/industrial.ts +6 -1
  892. package/server/services/workshop/agents/industrial/aml-job-tools.ts +20 -6
  893. package/server/services/workshop/agents/industrial/audit-query.ts +41 -5
  894. package/server/services/workshop/agents/industrial/daq-export.ts +74 -13
  895. package/server/services/workshop/agents/industrial/daq-tools.ts +106 -14
  896. package/server/services/workshop/agents/industrial/dcw-tools.ts +258 -212
  897. package/server/services/workshop/agents/industrial/grant-guard.ts +32 -7
  898. package/server/services/workshop/agents/industrial/index.ts +3 -3
  899. package/server/services/workshop/agents/industrial/line-tools.ts +134 -5
  900. package/server/services/workshop/agents/industrial/manual-approval.ts +57 -46
  901. package/server/services/workshop/agents/industrial/mes-tools.ts +31 -6
  902. package/server/services/workshop/agents/industrial/ops-tools.ts +533 -60
  903. package/server/services/workshop/agents/industrial/optimization-tools.ts +169 -168
  904. package/server/services/workshop/agents/industrial/recipe-gate.ts +36 -1
  905. package/server/services/workshop/agents/industrial/recipe-propose-tools.ts +12 -6
  906. package/server/services/workshop/agents/industrial/tool-verify.ts +15 -7
  907. package/server/services/workshop/agents/mock-agent.ts +3 -1
  908. package/server/services/workshop/agents/node-delegation.ts +10 -1
  909. package/server/services/workshop/agents/omp-agent/client.ts +2 -2
  910. package/server/services/workshop/agents/omp-agent/lifecycle.ts +2 -2
  911. package/server/services/workshop/agents/pi-agent.ts +3 -2
  912. package/server/services/workshop/agents/plugin-tools.ts +4 -0
  913. package/server/services/workshop/agents/tool-approvals.ts +25 -1
  914. package/server/services/workshop/agents/tool-classes.ts +2 -0
  915. package/server/services/workshop/aml/python/__pycache__/amlkit.cpython-312.pyc +0 -0
  916. package/server/services/workshop/aml/spec.ts +64 -63
  917. package/server/services/workshop/daq/daq-controller/crud.ts +2 -0
  918. package/server/services/workshop/daq/daq-controller/sweep-alarms.ts +14 -2
  919. package/server/services/workshop/daq/daq-controller/types.ts +71 -68
  920. package/server/services/workshop/daq/daq-node.ts +15 -0
  921. package/server/services/workshop/daq/daq-templates.ts +16 -2
  922. package/server/services/workshop/daq/storage/sqlite.adapter.ts +6 -4
  923. package/server/services/workshop/daq/storage/timescale.adapter.ts +3 -3
  924. package/server/services/workshop/db/database/migrations.ts +26 -0
  925. package/server/services/workshop/db/database/open.ts +5 -1
  926. package/server/services/workshop/db/database/schema.ts +42 -2
  927. package/server/services/workshop/db/ops.repo.ts +43 -8
  928. package/server/services/workshop/db/schema.sql +38 -0
  929. package/server/services/workshop/db/tool-registry.repo.ts +395 -0
  930. package/server/services/workshop/dcw/dcw-controller/recipes.ts +18 -1
  931. package/server/services/workshop/dcw/dcw-controller/write.ts +4 -0
  932. package/server/services/workshop/dcw/dcw-recipe.repo.ts +27 -0
  933. package/server/services/workshop/dcw/drivers/mes-rest.ts +158 -11
  934. package/server/services/workshop/dcw/drivers/shared.ts +35 -1
  935. package/server/services/workshop/eda/chart-repo.ts +177 -0
  936. package/server/services/workshop/eda/commonality.ts +106 -0
  937. package/server/services/workshop/eda/dashboard-repo.ts +166 -0
  938. package/server/services/workshop/eda/data-export.ts +274 -0
  939. package/server/services/workshop/eda/data-query.ts +231 -0
  940. package/server/services/workshop/eda/derived.ts +110 -0
  941. package/server/services/workshop/eda/eda-db.ts +222 -0
  942. package/server/services/workshop/eda/eda-run.repo.ts +197 -0
  943. package/server/services/workshop/eda/features.ts +291 -0
  944. package/server/services/workshop/eda/golden.ts +227 -0
  945. package/server/services/workshop/eda/mes-console.ts +219 -0
  946. package/server/services/workshop/eda/ocap.ts +182 -0
  947. package/server/services/workshop/eda/redact.ts +28 -0
  948. package/server/services/workshop/eda/spc-math.ts +144 -0
  949. package/server/services/workshop/eda/spc.ts +225 -0
  950. package/server/services/workshop/mes/mes-controller.ts +515 -18
  951. package/server/services/workshop/mes/mes-datasets.ts +85 -7
  952. package/server/services/workshop/ops/ops.ts +27 -14
  953. package/server/services/workshop/plugins/host/services.mjs +77 -68
  954. package/server/services/workshop/runtime/agent-runtime/message.ts +23 -8
  955. package/server/services/workshop/runtime/manager/admin-channel.ts +68 -0
  956. package/server/services/workshop/runtime/manager/host-tools.ts +33 -4
  957. package/server/services/workshop/runtime/permission-scope.ts +5 -1
  958. package/server/services/workshop/runtime/scheduler-loop/rules.ts +4 -1
  959. package/server/services/workshop/runtime/task-engine/transition.ts +14 -0
  960. package/server/services/workshop/tools/catalog-view.ts +256 -0
  961. package/server/services/workshop/tools/policy.ts +100 -0
  962. package/server/services/workshop/tools/registry.ts +263 -0
  963. package/server/services/workshop/tools/types.ts +19 -0
  964. package/server/services/workshop/types/task.ts +17 -0
  965. package/shared/daq-protocol.ts +39 -5
  966. package/shared/workshop-protocol.ts +3 -0
  967. package/.output/public/_nuxt/1NcBJMyL.js +0 -14
  968. package/.output/public/_nuxt/2pU5BiaQ2.js +0 -1
  969. package/.output/public/_nuxt/4RTUlYvj.js +0 -1
  970. package/.output/public/_nuxt/8oRmGaAV.js +0 -1
  971. package/.output/public/_nuxt/AuthGate.Cvsc4atp.css +0 -1
  972. package/.output/public/_nuxt/B8cnjDtt.js +0 -1
  973. package/.output/public/_nuxt/BDC8YDyc.js +0 -1
  974. package/.output/public/_nuxt/BFVf8HLR.js +0 -1
  975. package/.output/public/_nuxt/BG7XSX-S.js +0 -1
  976. package/.output/public/_nuxt/BH30ZaLl2.js +0 -1
  977. package/.output/public/_nuxt/BMlesJth.js +0 -209
  978. package/.output/public/_nuxt/BNl_jGa12.js +0 -1
  979. package/.output/public/_nuxt/BSG-4Ecg2.js +0 -1
  980. package/.output/public/_nuxt/BTXdYngG.js +0 -1
  981. package/.output/public/_nuxt/BU7WuuKh2.js +0 -1
  982. package/.output/public/_nuxt/BVH9j8dQ2.js +0 -1
  983. package/.output/public/_nuxt/BXbKTAwC2.js +0 -1
  984. package/.output/public/_nuxt/B_6yBa_Z.js +0 -1
  985. package/.output/public/_nuxt/B_ic601Y.js +0 -1
  986. package/.output/public/_nuxt/Bb4REys92.js +0 -1
  987. package/.output/public/_nuxt/Bd85nb9X2.js +0 -1
  988. package/.output/public/_nuxt/BegV7-FE2.js +0 -1
  989. package/.output/public/_nuxt/BhllzW3K2.js +0 -1
  990. package/.output/public/_nuxt/Bj7BcqHn.js +0 -1
  991. package/.output/public/_nuxt/BkO2MZZU.js +0 -1
  992. package/.output/public/_nuxt/Bnf04goH.js +0 -1
  993. package/.output/public/_nuxt/Br3AySNQ.js +0 -1
  994. package/.output/public/_nuxt/BrRXGr472.js +0 -1
  995. package/.output/public/_nuxt/BtBgrPNT.js +0 -1
  996. package/.output/public/_nuxt/BtDBBofS.js +0 -1
  997. package/.output/public/_nuxt/ByvqxkcN.js +0 -1
  998. package/.output/public/_nuxt/C4sQKuhk.js +0 -1
  999. package/.output/public/_nuxt/C5MPzgon2.js +0 -1
  1000. package/.output/public/_nuxt/C8uaVABF.js +0 -1
  1001. package/.output/public/_nuxt/C98jxVaK.js +0 -1
  1002. package/.output/public/_nuxt/CGChCy-w2.js +0 -1
  1003. package/.output/public/_nuxt/CHyzK5m5.js +0 -1
  1004. package/.output/public/_nuxt/CI5sliIF2.js +0 -1
  1005. package/.output/public/_nuxt/CI8awYVQ2.js +0 -1
  1006. package/.output/public/_nuxt/CIduggmC.js +0 -1
  1007. package/.output/public/_nuxt/CJPIo2E7.js +0 -2
  1008. package/.output/public/_nuxt/CK2ts9sD.js +0 -1
  1009. package/.output/public/_nuxt/CPZKwmLQ.js +0 -1
  1010. package/.output/public/_nuxt/CUjdqsjC2.js +0 -1
  1011. package/.output/public/_nuxt/CXzfXC5M.js +0 -1
  1012. package/.output/public/_nuxt/CaBVMdqG2.js +0 -1
  1013. package/.output/public/_nuxt/CcLFZjCI2.js +0 -7
  1014. package/.output/public/_nuxt/CfIGBe_4.js +0 -75
  1015. package/.output/public/_nuxt/Cfy5Jn8v2.js +0 -21
  1016. package/.output/public/_nuxt/ChN5v-i22.js +0 -1
  1017. package/.output/public/_nuxt/Ci5kuU1q.js +0 -1
  1018. package/.output/public/_nuxt/CiyTTgqr.js +0 -106
  1019. package/.output/public/_nuxt/Ckafrjnw.js +0 -1
  1020. package/.output/public/_nuxt/ClEbKcuS.js +0 -1
  1021. package/.output/public/_nuxt/Cmiz_VOb2.js +0 -47
  1022. package/.output/public/_nuxt/CnF6dXcZ2.js +0 -1
  1023. package/.output/public/_nuxt/CoTm7jd3.js +0 -28
  1024. package/.output/public/_nuxt/CsN8RHJ02.js +0 -17
  1025. package/.output/public/_nuxt/Cst8yEet.js +0 -1
  1026. package/.output/public/_nuxt/CxLxiOGV.js +0 -1
  1027. package/.output/public/_nuxt/D-jg-SoR.js +0 -1
  1028. package/.output/public/_nuxt/D1Xw30Dj.js +0 -1
  1029. package/.output/public/_nuxt/D3gfSKKi2.js +0 -1
  1030. package/.output/public/_nuxt/D4elH6Bo2.js +0 -1
  1031. package/.output/public/_nuxt/D4tAdwYm.js +0 -1
  1032. package/.output/public/_nuxt/D5-QB_-l.js +0 -1
  1033. package/.output/public/_nuxt/D5hI4Fhu.js +0 -1
  1034. package/.output/public/_nuxt/DBERjwK92.js +0 -1
  1035. package/.output/public/_nuxt/DBzdrPzw2.js +0 -1
  1036. package/.output/public/_nuxt/DC7WzYCf2.js +0 -1
  1037. package/.output/public/_nuxt/DE-qkHRd2.js +0 -1
  1038. package/.output/public/_nuxt/DE2kUGPK.js +0 -1
  1039. package/.output/public/_nuxt/DEhjFhZ22.js +0 -1
  1040. package/.output/public/_nuxt/DG0esyZR.js +0 -1
  1041. package/.output/public/_nuxt/DI4sdLmu2.js +0 -1
  1042. package/.output/public/_nuxt/DL6fliAT.js +0 -3
  1043. package/.output/public/_nuxt/DLAFNaPf.js +0 -1
  1044. package/.output/public/_nuxt/DNno23Jf2.js +0 -1
  1045. package/.output/public/_nuxt/DP6tsk912.js +0 -1
  1046. package/.output/public/_nuxt/DPP0W5Ni.js +0 -2
  1047. package/.output/public/_nuxt/DP_e7Vwv.js +0 -24
  1048. package/.output/public/_nuxt/DR83EvmX.js +0 -1
  1049. package/.output/public/_nuxt/DSdxfFX_.js +0 -1
  1050. package/.output/public/_nuxt/DTxfFIvL2.js +0 -4
  1051. package/.output/public/_nuxt/DVS06wUy2.js +0 -13
  1052. package/.output/public/_nuxt/DXlAfhEi.js +0 -3
  1053. package/.output/public/_nuxt/DYtV50yi2.js +0 -1
  1054. package/.output/public/_nuxt/D_hCLbi9.js +0 -1
  1055. package/.output/public/_nuxt/DctCtJq7.js +0 -19
  1056. package/.output/public/_nuxt/DdNujZN52.js +0 -1
  1057. package/.output/public/_nuxt/DelESEcl2.js +0 -1
  1058. package/.output/public/_nuxt/DgldLfCZ2.js +0 -1
  1059. package/.output/public/_nuxt/DiHL9ehB.js +0 -1
  1060. package/.output/public/_nuxt/DjtDexGg.js +0 -1
  1061. package/.output/public/_nuxt/DnunMTRD2.js +0 -1
  1062. package/.output/public/_nuxt/Do0dCE8C2.js +0 -1
  1063. package/.output/public/_nuxt/Dok0B4Ol.js +0 -2
  1064. package/.output/public/_nuxt/DtMlAxCm2.js +0 -1
  1065. package/.output/public/_nuxt/DwzJpr7P.js +0 -1
  1066. package/.output/public/_nuxt/DxJFBokW2.js +0 -1
  1067. package/.output/public/_nuxt/Dxo1GW5U.js +0 -1
  1068. package/.output/public/_nuxt/Eo2BYEIo2.js +0 -1
  1069. package/.output/public/_nuxt/GKiBVVYe2.js +0 -1
  1070. package/.output/public/_nuxt/H13l21fR.js +0 -1
  1071. package/.output/public/_nuxt/J94L7hHq2.js +0 -1
  1072. package/.output/public/_nuxt/KS3KQF222.js +0 -1
  1073. package/.output/public/_nuxt/LQBLwrYS2.js +0 -1
  1074. package/.output/public/_nuxt/M58CVYnv.js +0 -1
  1075. package/.output/public/_nuxt/M6NcguDO2.js +0 -1
  1076. package/.output/public/_nuxt/MW-V7IIP.js +0 -1
  1077. package/.output/public/_nuxt/N9TYd_Mk2.js +0 -1
  1078. package/.output/public/_nuxt/P0EcfD3j.js +0 -1
  1079. package/.output/public/_nuxt/QSY9fE482.js +0 -1
  1080. package/.output/public/_nuxt/Qa9rS9oK2.js +0 -31
  1081. package/.output/public/_nuxt/R3gBFghJ2.js +0 -1
  1082. package/.output/public/_nuxt/RAqsw632.js +0 -1
  1083. package/.output/public/_nuxt/S799kNo8.js +0 -1
  1084. package/.output/public/_nuxt/TownView.BuMpDRkf.css +0 -1
  1085. package/.output/public/_nuxt/WYqAa0r52.js +0 -1
  1086. package/.output/public/_nuxt/WmMwIS4y2.js +0 -1
  1087. package/.output/public/_nuxt/XErFZOU9.js +0 -1
  1088. package/.output/public/_nuxt/ZxBwmbs9.js +0 -1
  1089. package/.output/public/_nuxt/_id_.DOqX4gwB.css +0 -1
  1090. package/.output/public/_nuxt/_id_.DpRe1PRh.css +0 -1
  1091. package/.output/public/_nuxt/_mD4IkJj.js +0 -9
  1092. package/.output/public/_nuxt/_wsId_.XjmieZaJ.css +0 -1
  1093. package/.output/public/_nuxt/agents.Cgm_JG9L.css +0 -1
  1094. package/.output/public/_nuxt/aml.BeFTP6_M.css +0 -1
  1095. package/.output/public/_nuxt/analysis.BwhKdel9.css +0 -1
  1096. package/.output/public/_nuxt/bTFhJlrI2.js +0 -1
  1097. package/.output/public/_nuxt/builds/meta/8bf65244-eb00-45c7-be23-9dcd7b917ef3.json +0 -1
  1098. package/.output/public/_nuxt/c_nqArmG.js +0 -1
  1099. package/.output/public/_nuxt/channel-templates.DkNZg-lF.css +0 -1
  1100. package/.output/public/_nuxt/daq.YQas76du.css +0 -1
  1101. package/.output/public/_nuxt/dcw.UIcWRyIS.css +0 -1
  1102. package/.output/public/_nuxt/default.Bx6RJSbr.css +0 -1
  1103. package/.output/public/_nuxt/entry.BlbU43qz.css +0 -1
  1104. package/.output/public/_nuxt/h8ddxY892.js +0 -1
  1105. package/.output/public/_nuxt/i3KBHle7.js +0 -1
  1106. package/.output/public/_nuxt/jmKfTQMN.js +0 -13
  1107. package/.output/public/_nuxt/kYyvM13M.js +0 -3
  1108. package/.output/public/_nuxt/logs.Bf65Kw17.css +0 -1
  1109. package/.output/public/_nuxt/lyJsJl_G.js +0 -1
  1110. package/.output/public/_nuxt/monitor.CI2v5Nvl.css +0 -1
  1111. package/.output/public/_nuxt/operations.B8X9uWK6.css +0 -1
  1112. package/.output/public/_nuxt/pages.CMhSEhEb.css +0 -1
  1113. package/.output/public/_nuxt/plugins.C50x1qZp.css +0 -1
  1114. package/.output/public/_nuxt/pncSmP5n.js +0 -1
  1115. package/.output/public/_nuxt/qIQFsHtF2.js +0 -1
  1116. package/.output/public/_nuxt/settings.O26Dw1iT.css +0 -1
  1117. package/.output/public/_nuxt/t54AYjsC.js +0 -1
  1118. package/.output/public/_nuxt/taHLOXkS.js +0 -1
  1119. package/.output/public/_nuxt/teams.sGmx1AdX.css +0 -1
  1120. package/.output/public/_nuxt/tokens.DFMFaCYU.css +0 -1
  1121. package/.output/public/_nuxt/uYP6z4G72.js +0 -1
  1122. package/.output/public/_nuxt/workshop.BX2YeO0g.css +0 -1
  1123. package/.output/public/_nuxt/yPlLXpEw2.js +0 -1
  1124. package/.output/public/_nuxt/yuIP6K9s.js +0 -1
  1125. package/.output/public/_nuxt/zWg-9WN6.js +0 -19
  1126. package/.output/public/_nuxt/zrgcKVTq.js +0 -2
  1127. package/.output/server/chunks/build/AuthGate-BK2RqkbD.mjs +0 -716
  1128. package/.output/server/chunks/build/AuthGate-BK2RqkbD.mjs.map +0 -1
  1129. package/.output/server/chunks/build/Checkbox-4EdGAAl_.mjs +0 -206
  1130. package/.output/server/chunks/build/Checkbox-4EdGAAl_.mjs.map +0 -1
  1131. package/.output/server/chunks/build/FormItemContext-BqtgOBDe.mjs +0 -72
  1132. package/.output/server/chunks/build/FormItemContext-BqtgOBDe.mjs.map +0 -1
  1133. package/.output/server/chunks/build/OmpTerminalPanel-Bun6rpAk.mjs +0 -942
  1134. package/.output/server/chunks/build/OmpTerminalPanel-Bun6rpAk.mjs.map +0 -1
  1135. package/.output/server/chunks/build/PluginSlot-Do6dX0RE.mjs +0 -399
  1136. package/.output/server/chunks/build/PluginSlot-Do6dX0RE.mjs.map +0 -1
  1137. package/.output/server/chunks/build/TownView-kQZFf4zj.mjs +0 -6489
  1138. package/.output/server/chunks/build/TownView-kQZFf4zj.mjs.map +0 -1
  1139. package/.output/server/chunks/build/_id_-Bbx1b74O.mjs +0 -1931
  1140. package/.output/server/chunks/build/_id_-Bbx1b74O.mjs.map +0 -1
  1141. package/.output/server/chunks/build/_id_-IijrRw3f.mjs +0 -391
  1142. package/.output/server/chunks/build/_id_-IijrRw3f.mjs.map +0 -1
  1143. package/.output/server/chunks/build/_wsId_-Dp3ACbQ5.mjs +0 -13620
  1144. package/.output/server/chunks/build/_wsId_-Dp3ACbQ5.mjs.map +0 -1
  1145. package/.output/server/chunks/build/agents-BfIoGr_p.mjs +0 -1087
  1146. package/.output/server/chunks/build/agents-BfIoGr_p.mjs.map +0 -1
  1147. package/.output/server/chunks/build/aml-B5zKrvB3.mjs +0 -810
  1148. package/.output/server/chunks/build/aml-B5zKrvB3.mjs.map +0 -1
  1149. package/.output/server/chunks/build/analysis-CPIxT0FP.mjs +0 -531
  1150. package/.output/server/chunks/build/analysis-CPIxT0FP.mjs.map +0 -1
  1151. package/.output/server/chunks/build/card-IyQjdGXA.mjs +0 -953
  1152. package/.output/server/chunks/build/card-IyQjdGXA.mjs.map +0 -1
  1153. package/.output/server/chunks/build/channel-templates-Bd8bgBCh.mjs +0 -937
  1154. package/.output/server/chunks/build/channel-templates-Bd8bgBCh.mjs.map +0 -1
  1155. package/.output/server/chunks/build/checkbox-NnjtOam0.mjs +0 -439
  1156. package/.output/server/chunks/build/checkbox-NnjtOam0.mjs.map +0 -1
  1157. package/.output/server/chunks/build/daq-mC3-5A0L.mjs +0 -1265
  1158. package/.output/server/chunks/build/daq-mC3-5A0L.mjs.map +0 -1
  1159. package/.output/server/chunks/build/dcw-EhjJpVQM.mjs +0 -504
  1160. package/.output/server/chunks/build/dcw-EhjJpVQM.mjs.map +0 -1
  1161. package/.output/server/chunks/build/default-flcNWlNg.mjs +0 -2297
  1162. package/.output/server/chunks/build/default-flcNWlNg.mjs.map +0 -1
  1163. package/.output/server/chunks/build/descriptions-DuAefuzp.mjs +0 -406
  1164. package/.output/server/chunks/build/descriptions-DuAefuzp.mjs.map +0 -1
  1165. package/.output/server/chunks/build/drawer-DEIB1_X6.mjs +0 -834
  1166. package/.output/server/chunks/build/drawer-DEIB1_X6.mjs.map +0 -1
  1167. package/.output/server/chunks/build/dropdown-BuD1pxH2.mjs +0 -557
  1168. package/.output/server/chunks/build/dropdown-BuD1pxH2.mjs.map +0 -1
  1169. package/.output/server/chunks/build/dropdown-w7qhyN2D.mjs +0 -14
  1170. package/.output/server/chunks/build/dropdown-w7qhyN2D.mjs.map +0 -1
  1171. package/.output/server/chunks/build/es-DfgEl5n-.mjs +0 -42
  1172. package/.output/server/chunks/build/es-DfgEl5n-.mjs.map +0 -1
  1173. package/.output/server/chunks/build/form-CMLL_-Xx.mjs +0 -4711
  1174. package/.output/server/chunks/build/form-CMLL_-Xx.mjs.map +0 -1
  1175. package/.output/server/chunks/build/hitl-ePh3G3ue.mjs +0 -132
  1176. package/.output/server/chunks/build/hitl-ePh3G3ue.mjs.map +0 -1
  1177. package/.output/server/chunks/build/input-DZcioTwL.mjs +0 -4122
  1178. package/.output/server/chunks/build/input-DZcioTwL.mjs.map +0 -1
  1179. package/.output/server/chunks/build/input-number-BRnbiKLd.mjs +0 -1120
  1180. package/.output/server/chunks/build/input-number-BRnbiKLd.mjs.map +0 -1
  1181. package/.output/server/chunks/build/logs-BYop3JfX.mjs +0 -384
  1182. package/.output/server/chunks/build/logs-BYop3JfX.mjs.map +0 -1
  1183. package/.output/server/chunks/build/menu-DXfhc0qN.mjs +0 -1950
  1184. package/.output/server/chunks/build/menu-DXfhc0qN.mjs.map +0 -1
  1185. package/.output/server/chunks/build/monitor-BjBGkUm2.mjs +0 -2247
  1186. package/.output/server/chunks/build/monitor-BjBGkUm2.mjs.map +0 -1
  1187. package/.output/server/chunks/build/operations-fxI8lEBJ.mjs +0 -285
  1188. package/.output/server/chunks/build/operations-fxI8lEBJ.mjs.map +0 -1
  1189. package/.output/server/chunks/build/pages-6JD9VSbx.mjs +0 -540
  1190. package/.output/server/chunks/build/pages-6JD9VSbx.mjs.map +0 -1
  1191. package/.output/server/chunks/build/permissions-u5SZL8Fe.mjs +0 -631
  1192. package/.output/server/chunks/build/permissions-u5SZL8Fe.mjs.map +0 -1
  1193. package/.output/server/chunks/build/plugins-Cas6KOF-.mjs +0 -248
  1194. package/.output/server/chunks/build/plugins-Cas6KOF-.mjs.map +0 -1
  1195. package/.output/server/chunks/build/popconfirm-BWxt-53K.mjs +0 -339
  1196. package/.output/server/chunks/build/popconfirm-BWxt-53K.mjs.map +0 -1
  1197. package/.output/server/chunks/build/schedules-Ct68Jrvw.mjs +0 -7166
  1198. package/.output/server/chunks/build/schedules-Ct68Jrvw.mjs.map +0 -1
  1199. package/.output/server/chunks/build/segmented-DN62bOFu.mjs +0 -341
  1200. package/.output/server/chunks/build/segmented-DN62bOFu.mjs.map +0 -1
  1201. package/.output/server/chunks/build/select-DQv1DXcW.mjs +0 -3923
  1202. package/.output/server/chunks/build/select-DQv1DXcW.mjs.map +0 -1
  1203. package/.output/server/chunks/build/settings-CQzR1YXR.mjs +0 -1110
  1204. package/.output/server/chunks/build/settings-CQzR1YXR.mjs.map +0 -1
  1205. package/.output/server/chunks/build/space-6FfG3llN.mjs +0 -110
  1206. package/.output/server/chunks/build/space-6FfG3llN.mjs.map +0 -1
  1207. package/.output/server/chunks/build/switch-CfsCVFQP.mjs +0 -377
  1208. package/.output/server/chunks/build/switch-CfsCVFQP.mjs.map +0 -1
  1209. package/.output/server/chunks/build/table-HOjbB5YY.mjs +0 -8881
  1210. package/.output/server/chunks/build/table-HOjbB5YY.mjs.map +0 -1
  1211. package/.output/server/chunks/build/tabs-CC26Rbcw.mjs +0 -1923
  1212. package/.output/server/chunks/build/tabs-CC26Rbcw.mjs.map +0 -1
  1213. package/.output/server/chunks/build/tag-BtOMjpDx.mjs +0 -1029
  1214. package/.output/server/chunks/build/tag-BtOMjpDx.mjs.map +0 -1
  1215. package/.output/server/chunks/build/teams-Re0wY2SQ.mjs +0 -1197
  1216. package/.output/server/chunks/build/teams-Re0wY2SQ.mjs.map +0 -1
  1217. package/.output/server/chunks/build/tokens-DLFIUvXE.mjs +0 -1038
  1218. package/.output/server/chunks/build/tokens-DLFIUvXE.mjs.map +0 -1
  1219. package/.output/server/chunks/build/tooltip-BSDwL_LM.mjs +0 -3362
  1220. package/.output/server/chunks/build/tooltip-BSDwL_LM.mjs.map +0 -1
  1221. package/.output/server/chunks/build/town-Bfme7P2I.mjs +0 -132
  1222. package/.output/server/chunks/build/town-Bfme7P2I.mjs.map +0 -1
  1223. package/.output/server/chunks/build/useAgentHarnessOptions-BnFCh23W.mjs +0 -123
  1224. package/.output/server/chunks/build/useAgentHarnessOptions-BnFCh23W.mjs.map +0 -1
  1225. package/.output/server/chunks/build/useAgentTemplateActions-CjBwCb3u.mjs +0 -76
  1226. package/.output/server/chunks/build/useAgentTemplateActions-CjBwCb3u.mjs.map +0 -1
  1227. package/.output/server/chunks/build/useAgentTemplateForm-BX9_xqj8.mjs +0 -116
  1228. package/.output/server/chunks/build/useAgentTemplateForm-BX9_xqj8.mjs.map +0 -1
  1229. package/.output/server/chunks/build/useAgentTemplatesCatalog-Q7LgG1Af.mjs +0 -132
  1230. package/.output/server/chunks/build/useAgentTemplatesCatalog-Q7LgG1Af.mjs.map +0 -1
  1231. package/.output/server/chunks/build/useAmlEntities-BrcTqHwa.mjs +0 -85
  1232. package/.output/server/chunks/build/useAmlEntities-BrcTqHwa.mjs.map +0 -1
  1233. package/.output/server/chunks/build/useAmlEnv-jiGYK790.mjs +0 -193
  1234. package/.output/server/chunks/build/useAmlEnv-jiGYK790.mjs.map +0 -1
  1235. package/.output/server/chunks/build/useAmlJobs-CVZ1btzg.mjs +0 -266
  1236. package/.output/server/chunks/build/useAmlJobs-CVZ1btzg.mjs.map +0 -1
  1237. package/.output/server/chunks/build/useAmlModels-DJkQzcCU.mjs +0 -92
  1238. package/.output/server/chunks/build/useAmlModels-DJkQzcCU.mjs.map +0 -1
  1239. package/.output/server/chunks/build/useAmlNotes-DKnx9a8x.mjs +0 -85
  1240. package/.output/server/chunks/build/useAmlNotes-DKnx9a8x.mjs.map +0 -1
  1241. package/.output/server/chunks/build/useAmlPredict-Bp4ehwKw.mjs +0 -129
  1242. package/.output/server/chunks/build/useAmlPredict-Bp4ehwKw.mjs.map +0 -1
  1243. package/.output/server/chunks/build/useAnalysisFeed-B4OwUd7p.mjs +0 -128
  1244. package/.output/server/chunks/build/useAnalysisFeed-B4OwUd7p.mjs.map +0 -1
  1245. package/.output/server/chunks/build/useDaqAddNode-CaOCbe4-.mjs +0 -141
  1246. package/.output/server/chunks/build/useDaqAddNode-CaOCbe4-.mjs.map +0 -1
  1247. package/.output/server/chunks/build/useDaqDetailBinding-C7AbGIdP.mjs +0 -69
  1248. package/.output/server/chunks/build/useDaqDetailBinding-C7AbGIdP.mjs.map +0 -1
  1249. package/.output/server/chunks/build/useDaqDetailFrames-CmAEdbAL.mjs +0 -78
  1250. package/.output/server/chunks/build/useDaqDetailFrames-CmAEdbAL.mjs.map +0 -1
  1251. package/.output/server/chunks/build/useDaqDetailHistory-C4LWayu1.mjs +0 -175
  1252. package/.output/server/chunks/build/useDaqDetailHistory-C4LWayu1.mjs.map +0 -1
  1253. package/.output/server/chunks/build/useDaqDetailNode-DtZ0oDAn.mjs +0 -98
  1254. package/.output/server/chunks/build/useDaqDetailNode-DtZ0oDAn.mjs.map +0 -1
  1255. package/.output/server/chunks/build/useDaqDetailParams-CrTMDs-2.mjs +0 -158
  1256. package/.output/server/chunks/build/useDaqDetailParams-CrTMDs-2.mjs.map +0 -1
  1257. package/.output/server/chunks/build/useDaqFilters-DYHGhECw.mjs +0 -221
  1258. package/.output/server/chunks/build/useDaqFilters-DYHGhECw.mjs.map +0 -1
  1259. package/.output/server/chunks/build/useDaqOptimizations-C5N4bcu4.mjs +0 -135
  1260. package/.output/server/chunks/build/useDaqOptimizations-C5N4bcu4.mjs.map +0 -1
  1261. package/.output/server/chunks/build/useDaqStream-DhzdoyIR.mjs +0 -395
  1262. package/.output/server/chunks/build/useDaqStream-DhzdoyIR.mjs.map +0 -1
  1263. package/.output/server/chunks/build/useDaqTemplates-C7GzQmdJ.mjs +0 -186
  1264. package/.output/server/chunks/build/useDaqTemplates-C7GzQmdJ.mjs.map +0 -1
  1265. package/.output/server/chunks/build/useDashboardData-B3lZjE7x.mjs +0 -152
  1266. package/.output/server/chunks/build/useDashboardData-B3lZjE7x.mjs.map +0 -1
  1267. package/.output/server/chunks/build/useDcwAddNode-4mTPQ6T8.mjs +0 -218
  1268. package/.output/server/chunks/build/useDcwAddNode-4mTPQ6T8.mjs.map +0 -1
  1269. package/.output/server/chunks/build/useDcwCards-DvLGgUYr.mjs +0 -66
  1270. package/.output/server/chunks/build/useDcwCards-DvLGgUYr.mjs.map +0 -1
  1271. package/.output/server/chunks/build/useDcwDetailScope-BWH7jnVh.mjs +0 -183
  1272. package/.output/server/chunks/build/useDcwDetailScope-BWH7jnVh.mjs.map +0 -1
  1273. package/.output/server/chunks/build/useDcwDetailTemplates-yzNEAMK-.mjs +0 -147
  1274. package/.output/server/chunks/build/useDcwDetailTemplates-yzNEAMK-.mjs.map +0 -1
  1275. package/.output/server/chunks/build/useDcwFilter-BQDmQYY0.mjs +0 -70
  1276. package/.output/server/chunks/build/useDcwFilter-BQDmQYY0.mjs.map +0 -1
  1277. package/.output/server/chunks/build/useDcwLedger-DWGufEor.mjs +0 -78
  1278. package/.output/server/chunks/build/useDcwLedger-DWGufEor.mjs.map +0 -1
  1279. package/.output/server/chunks/build/useDcwLineMutations-DHF-Bemn.mjs +0 -136
  1280. package/.output/server/chunks/build/useDcwLineMutations-DHF-Bemn.mjs.map +0 -1
  1281. package/.output/server/chunks/build/useDcwLineRun-VFe35xou.mjs +0 -103
  1282. package/.output/server/chunks/build/useDcwLineRun-VFe35xou.mjs.map +0 -1
  1283. package/.output/server/chunks/build/useDcwParamApprovals-Bc0BGBds.mjs +0 -120
  1284. package/.output/server/chunks/build/useDcwParamApprovals-Bc0BGBds.mjs.map +0 -1
  1285. package/.output/server/chunks/build/useDcwProducts-DXisXYMh.mjs +0 -92
  1286. package/.output/server/chunks/build/useDcwProducts-DXisXYMh.mjs.map +0 -1
  1287. package/.output/server/chunks/build/useDcwQuery-Cmo3UtIQ.mjs +0 -97
  1288. package/.output/server/chunks/build/useDcwQuery-Cmo3UtIQ.mjs.map +0 -1
  1289. package/.output/server/chunks/build/useDcwQuickActions-BkAcxVnj.mjs +0 -87
  1290. package/.output/server/chunks/build/useDcwQuickActions-BkAcxVnj.mjs.map +0 -1
  1291. package/.output/server/chunks/build/useDcwRecipes-BvtGPQJ9.mjs +0 -257
  1292. package/.output/server/chunks/build/useDcwRecipes-BvtGPQJ9.mjs.map +0 -1
  1293. package/.output/server/chunks/build/useDcwStream-BXJ2V8HM.mjs +0 -452
  1294. package/.output/server/chunks/build/useDcwStream-BXJ2V8HM.mjs.map +0 -1
  1295. package/.output/server/chunks/build/useDcwTemplates-Zxz2DPdu.mjs +0 -90
  1296. package/.output/server/chunks/build/useDcwTemplates-Zxz2DPdu.mjs.map +0 -1
  1297. package/.output/server/chunks/build/useDcwWrites-66CKxcos.mjs +0 -139
  1298. package/.output/server/chunks/build/useDcwWrites-66CKxcos.mjs.map +0 -1
  1299. package/.output/server/chunks/build/useExpConfirmations-BbInIHsn.mjs +0 -106
  1300. package/.output/server/chunks/build/useExpConfirmations-BbInIHsn.mjs.map +0 -1
  1301. package/.output/server/chunks/build/useLocalTime-CUnDHV5V.mjs +0 -55
  1302. package/.output/server/chunks/build/useLocalTime-CUnDHV5V.mjs.map +0 -1
  1303. package/.output/server/chunks/build/useLogsManual-CElmZuJh.mjs +0 -83
  1304. package/.output/server/chunks/build/useLogsManual-CElmZuJh.mjs.map +0 -1
  1305. package/.output/server/chunks/build/useLogsQuery-C5nadU1m.mjs +0 -124
  1306. package/.output/server/chunks/build/useLogsQuery-C5nadU1m.mjs.map +0 -1
  1307. package/.output/server/chunks/build/useLogsScope-DgrB1ur3.mjs +0 -82
  1308. package/.output/server/chunks/build/useLogsScope-DgrB1ur3.mjs.map +0 -1
  1309. package/.output/server/chunks/build/useMonitorColumns-DhYvkLDq.mjs +0 -214
  1310. package/.output/server/chunks/build/useMonitorColumns-DhYvkLDq.mjs.map +0 -1
  1311. package/.output/server/chunks/build/useMonitorData-DcIfMEiz.mjs +0 -134
  1312. package/.output/server/chunks/build/useMonitorData-DcIfMEiz.mjs.map +0 -1
  1313. package/.output/server/chunks/build/useMonitorFormat-DRCXsKwh.mjs +0 -90
  1314. package/.output/server/chunks/build/useMonitorFormat-DRCXsKwh.mjs.map +0 -1
  1315. package/.output/server/chunks/build/useOperationsFeed-DsA2ym7M.mjs +0 -193
  1316. package/.output/server/chunks/build/useOperationsFeed-DsA2ym7M.mjs.map +0 -1
  1317. package/.output/server/chunks/build/useOpsLog-SnWPuRtK.mjs +0 -137
  1318. package/.output/server/chunks/build/useOpsLog-SnWPuRtK.mjs.map +0 -1
  1319. package/.output/server/chunks/build/useRecipeDispatchApprovals-CbL2El3n.mjs +0 -155
  1320. package/.output/server/chunks/build/useRecipeDispatchApprovals-CbL2El3n.mjs.map +0 -1
  1321. package/.output/server/chunks/build/useTeamActions-C3_O_AIU.mjs +0 -78
  1322. package/.output/server/chunks/build/useTeamActions-C3_O_AIU.mjs.map +0 -1
  1323. package/.output/server/chunks/build/useTeamAddMemberDialog-DWAoZCKd.mjs +0 -83
  1324. package/.output/server/chunks/build/useTeamAddMemberDialog-DWAoZCKd.mjs.map +0 -1
  1325. package/.output/server/chunks/build/useTeamCreateDialog-911mIPWd.mjs +0 -96
  1326. package/.output/server/chunks/build/useTeamCreateDialog-911mIPWd.mjs.map +0 -1
  1327. package/.output/server/chunks/build/useTeamDeployDialog-D0STROoQ.mjs +0 -79
  1328. package/.output/server/chunks/build/useTeamDeployDialog-D0STROoQ.mjs.map +0 -1
  1329. package/.output/server/chunks/build/useTeamPluginDialog-Df6-e2OW.mjs +0 -102
  1330. package/.output/server/chunks/build/useTeamPluginDialog-Df6-e2OW.mjs.map +0 -1
  1331. package/.output/server/chunks/build/useTeamsCatalog-HBSyKt5P.mjs +0 -122
  1332. package/.output/server/chunks/build/useTeamsCatalog-HBSyKt5P.mjs.map +0 -1
  1333. package/.output/server/chunks/build/useTokenCreate-DOojAhM5.mjs +0 -114
  1334. package/.output/server/chunks/build/useTokenCreate-DOojAhM5.mjs.map +0 -1
  1335. package/.output/server/chunks/build/useTokenRename-CMA5dLHx.mjs +0 -86
  1336. package/.output/server/chunks/build/useTokenRename-CMA5dLHx.mjs.map +0 -1
  1337. package/.output/server/chunks/build/useTokenReveal-C19aCKzt.mjs +0 -117
  1338. package/.output/server/chunks/build/useTokenReveal-C19aCKzt.mjs.map +0 -1
  1339. package/.output/server/chunks/build/useTokensList-D0ZpLOhR.mjs +0 -91
  1340. package/.output/server/chunks/build/useTokensList-D0ZpLOhR.mjs.map +0 -1
  1341. package/.output/server/chunks/build/useWorkbenchAuth-CN5E3J5L.mjs +0 -140
  1342. package/.output/server/chunks/build/useWorkbenchAuth-CN5E3J5L.mjs.map +0 -1
  1343. package/.output/server/chunks/build/useWorkbenchWorkspaces-ChKByQSD.mjs +0 -137
  1344. package/.output/server/chunks/build/useWorkbenchWorkspaces-ChKByQSD.mjs.map +0 -1
  1345. package/.output/server/chunks/build/useWorkshopApi-C9sTYu1F.mjs +0 -113
  1346. package/.output/server/chunks/build/useWorkshopApi-C9sTYu1F.mjs.map +0 -1
  1347. package/.output/server/chunks/build/useWorkshopWs-CM-Ywk4h.mjs +0 -1659
  1348. package/.output/server/chunks/build/useWorkshopWs-CM-Ywk4h.mjs.map +0 -1
  1349. package/.output/server/chunks/build/useWorkspaceChannels--65yU02b.mjs +0 -91
  1350. package/.output/server/chunks/build/useWorkspaceChannels--65yU02b.mjs.map +0 -1
  1351. package/.output/server/chunks/build/users-BW4jowK4.mjs +0 -563
  1352. package/.output/server/chunks/build/users-BW4jowK4.mjs.map +0 -1
  1353. package/.output/server/chunks/build/workshop-Bx55czXL.mjs +0 -523
  1354. package/.output/server/chunks/build/workshop-Bx55czXL.mjs.map +0 -1
  1355. /package/.output/public/_nuxt/{BBrRELH32.js → BBrRELH3.js} +0 -0
  1356. /package/.output/public/_nuxt/{BDNMzG2s2.js → BDNMzG2s.js} +0 -0
  1357. /package/.output/public/_nuxt/{BGkumHZ32.js → BGkumHZ3.js} +0 -0
  1358. /package/.output/public/_nuxt/{BrIJiJSN2.js → BrIJiJSN.js} +0 -0
  1359. /package/.output/public/_nuxt/{BupBjt6B2.js → BupBjt6B.js} +0 -0
  1360. /package/.output/public/_nuxt/{CT-vTjcG.js → CT-vTjcG2.js} +0 -0
  1361. /package/.output/public/_nuxt/{CWKEp1wx2.js → CWKEp1wx.js} +0 -0
  1362. /package/.output/public/_nuxt/{DIOBYJe32.js → DIOBYJe3.js} +0 -0
  1363. /package/.output/public/_nuxt/{DkJVtqfc.js → DkJVtqfc2.js} +0 -0
  1364. /package/.output/public/_nuxt/{Dmgqz2np.js → Dmgqz2np2.js} +0 -0
  1365. /package/.output/public/_nuxt/{Nw_6OpQZ2.js → Nw_6OpQZ.js} +0 -0
  1366. /package/.output/public/_nuxt/{cGSl2GZp.js → cGSl2GZp2.js} +0 -0
package/docs/cli.en.md CHANGED
@@ -1,447 +1,447 @@
1
- # aw — the AgentWorkShop command-line tool
2
-
3
- > A Claude Code style experience: after `npm i -g agentworkshop`, type `aw start` in **any directory**
4
- > to bring the platform up; all configuration, data and custom commands converge on the config root
5
- > `~/.AgentWorkShop` (redirectable with `AW_HOME`), independent of the current working directory and
6
- > of environment paths.
7
-
8
- ```
9
- __ __ __ __
10
- \ \ / /__ _ _| \/ |___ _ _ ___
11
- \ \ / / _ \| '_| |\/| / _ \ ' _(_-<
12
- \_/\_\___/|_| |_| |_\___/_| |/__/
13
- ```
14
-
15
- ## 1. Installation
16
-
17
- ### 1. Install from the npm registry (the standard published path)
18
-
19
- ```bash
20
- npm install -g agentworkshop
21
- # or run it once without installing (npx fetches the package for you)
22
- npx agentworkshop start
23
- ```
24
-
25
- `bin` in `package.json` has exactly two entries, both pointing at `bin/aw.mjs`: `aw` and
26
- `agentworkshop` (npm generates the `aw` / `aw.cmd` / `aw.ps1` shims on install). The two are
27
- fully equivalent, and every subcommand has to go through them:
28
-
29
- ```bash
30
- aw --help # or agentworkshop --help (identical)
31
- aw --version # agentworkshop --version
32
- npx agentworkshop doctor # there is no standalone doctor / tui executable
33
- npx -p agentworkshop aw doctor # -p selects the package, then runs its bin — equivalent
34
- ```
35
-
36
- ### 2. Install from this repository (development / internal testing)
37
-
38
- ```bash
39
- # run from the repository root
40
- npm install -g . # npm 11 treats a local directory as a Junction link (code edits apply immediately; good for local development)
41
- npm uninstall -g agentworkshop
42
-
43
- # or pack and install (identical to the post-release user experience; the tarball already contains the production build in .output)
44
- npm pack
45
- npm install -g ./agentworkshop-<version>.tgz
46
- ```
47
-
48
- > `--ignore-scripts` skips `postinstall` (`node scripts/home-bootstrap.mjs`, the AW Home bootstrap)
49
- > and `prepare` (husky initialisation), keeping the install light and fast; `prepare` only runs husky,
50
- > there is no Nuxt-side prepare script in the package, and the install involves no build at all —
51
- > the published tarball already ships the `.output` production build. The first `aw start` /
52
- > `aw home` performs the AW Home bootstrap anyway, so there is nothing to worry about.
53
-
54
- In-repository development uses pnpm (`packageManager: pnpm@11.9.0`):
55
-
56
- ```bash
57
- pnpm install
58
- pnpm cli --help # the in-repo CLI entry (there is no package script named aw)
59
- pnpm tui # the terminal workbench
60
- ```
61
-
62
- ### 3. Quick use via npx (no global install)
63
-
64
- ```bash
65
- npx agentworkshop start # fetch and start (pin a version with: npx agentworkshop@0.7.66 start)
66
- npx agentworkshop doctor # subcommands work as usual
67
- npx -p agentworkshop aw doctor # use -p when you want the name aw
68
- ```
69
-
70
- > "No global install" does not mean "nothing is written to disk": `postinstall`, or the first
71
- > `aw start`, still creates the config root under `~/.AgentWorkShop` and seeds its files (see section 2).
72
- > Set `AW_HOME` to isolate it completely.
73
-
74
- ### 4. Runtime requirements
75
-
76
- | Item | Value |
77
- |---|---|
78
- | Node.js | `>= 23.4.0` (`engines.node`) |
79
- | Package manager | `pnpm@11.9.0` (`packageManager`, needed only for source development) |
80
- | Module format | ESM (`type: module`) |
81
- | License | `Apache-2.0` |
82
- | Current version | `0.7.66` (`package.json`) |
83
-
84
- ## 2. First start (the Claude Code experience)
85
-
86
- ```bash
87
- # A. npm install (the tarball already contains the .output production build): starts directly, no rebuild
88
- $ aw start
89
- › 生产服务(home 模式) -> http://0.0.0.0:3001 (端口来源: config.yml)
90
- › 配置: C:\Users\you\.AgentWorkShop\config.yml · 数据: C:\Users\you\.AgentWorkShop\data
91
- › 停止: Ctrl+C
92
-
93
- # B. first start from a source checkout (no .output yet): builds once first
94
- $ aw start
95
- › 首次启动:正在构建生产产物(约 2-5 分钟,仅一次) ...
96
- › 生产服务(repo 模式) -> http://0.0.0.0:3001 (端口来源: config.yml)
97
- › 配置: D:\codes\ABO\AgentWorkShop\config.yml · 数据: D:\codes\ABO\AgentWorkShop\.AgentWorkShop\data
98
- › 停止: Ctrl+C
99
- ```
100
-
101
- - Open the printed address in a browser and it is ready; `Ctrl+C` stops it; a later `aw start`
102
- reuses the existing build output directly.
103
- - The port comes from the effective configuration (`server.prod.port`, 3001 by default) and
104
- `--port` has the highest priority; the `(端口来源: config.yml|runtime|env|CLI)` suffix in the output
105
- tells you which layer supplied it.
106
- - `aw stop` terminates a running instance through the single-instance lock at
107
- `<config root>/.runtime/aw.lock`.
108
-
109
- **AW Home** (the user-level config root, `~/.AgentWorkShop` by default) is created idempotently by
110
- `postinstall` (`scripts/home-bootstrap.mjs`) or by the first `aw start` / `aw home`; existing files
111
- are never overwritten:
112
-
113
- ```
114
- ~/.AgentWorkShop/
115
- ├── config.yml # main config (factory default seed; edit here to change global behaviour)
116
- ├── runtime-settings.json # runtime overrides (written by aw config set)
117
- ├── .env # secrets (a 24-byte random NUXT_SESSION_PASSWORD is generated on bootstrap)
118
- ├── .env.example # key template (shipped with the package)
119
- ├── docker-compose.yml # data-acquisition infrastructure (MQTT/Timescale) self-start definitions
120
- ├── plugins-state.json # plugin enable/disable state (sdk/examples seeds are recorded as disabled)
121
- ├── data/ # sqlite / JSON repositories / backups (all runtime data lands here)
122
- ├── logs/
123
- ├── commands/ # user-level custom commands (drop a file in and it registers)
124
- ├── plugins/ # user-level plugin directory (seeded from sdk/examples/*, missing files only)
125
- └── prompts/ # agent prompts (seeded from packaged assets on first start; missing files only)
126
- ```
127
-
128
- > **repo mode (source checkout)**: the config root is `<repo>/.AgentWorkShop` (runtime-settings.json /
129
- > data / commands / plugins as above), while the factory-default config.yml/.env stay at the checkout
130
- > root and are versioned by git. Prompts resolve as `<project>/.AgentWorkShop/prompts` →
131
- > `~/.AgentWorkShop/prompts` (both modes are isomorphic and seed from packaged assets on first start;
132
- > `AW_PROMPTS_DIR` overrides explicitly). Runtime files in the old locations (`data/`,
133
- > `server/data/`) are migrated into the config root on first start — copied, never deleted, with
134
- > sqlite/JSON repositories and runtime overrides converging on "newest wins" (mtime comparison).
135
-
136
- ## 3. The dual-mode path model (independent of environment and paths)
137
-
138
- | | repo mode | home mode (the default installed shape) |
139
- |---|---|---|
140
- | Trigger | cwd is inside a project checkout (config.yml + nuxt.config.ts present) | any other directory |
141
- | Application code | source in the checkout (builds once on first start when `.output` is missing) | the npm package payload (the tarball already contains the `.output` production build, ready to run) |
142
- | Config root | `<repo>/.AgentWorkShop` | `~/.AgentWorkShop` |
143
- | Factory-default config.yml/.env | `<repo>/config.yml` (versioned by git) | `~/.AgentWorkShop/config.yml` |
144
- | Runtime overrides | `<repo>/.AgentWorkShop/runtime-settings.json` | `~/.AgentWorkShop/runtime-settings.json` |
145
- | Runtime data | `<repo>/.AgentWorkShop/data/` | `~/.AgentWorkShop/data/` |
146
- | prompts | `<project>/.AgentWorkShop/prompts` → falls back to `~/.AgentWorkShop/prompts` | same as the left (seeded from packaged assets on first start) |
147
-
148
- ### Config-root resolution (three rules)
149
-
150
- `resolveRunMode()` in `shared/config/home.mjs` decides in order, **first match returns**:
151
-
152
- | # | Condition | Effective config root | Effective config.yml |
153
- |---|---|---|---|
154
- | 1 | walking up from cwd finds a real `./.AgentWorkShop` directory | that directory (repo mode; a plain workspace works too) | the checkout's `config.yml`; for a non-checkout, the config root's `config.yml`, falling back to the packaged one |
155
- | 2 | walking up from cwd finds a source checkout (config.yml + nuxt.config.ts) but **no** `./.AgentWorkShop` | `~/.AgentWorkShop` (repo mode) | `<checkout>/config.yml` (the factory default is still read from the checkout) |
156
- | 3 | any other directory | `~/.AgentWorkShop` (home mode) | the config root's `config.yml`, falling back to the packaged one |
157
-
158
- - `AW_HOME=D:\aw-home` overrides the user-level root (every `~/.AgentWorkShop` in the three rules
159
- points there instead).
160
- - `AW_MODE=home` forces the home shape (skipping rules 1 and 2; the launcher injects it for the
161
- globally installed application payload so that a package directory containing config.yml +
162
- nuxt.config.ts is not mistaken for a checkout).
163
- - `AW_DATA_DIR` selects the runtime data directory on its own (the config root's `data/` by default).
164
-
165
- ### The settings and environment-variable model
166
-
167
- - Precedence (the CLI, the web settings page and the dev/prod launch scripts all share one engine,
168
- `shared/config/engine.mjs`):
169
- `config.yml defaults < runtime-settings.json runtime overrides < environment variables / explicit CLI flags`.
170
- - There are **119 setting descriptors across 18 groups** (`aw config list` prints exactly 119 rows):
171
-
172
- | Group | Count | Group | Count | Group | Count | Group | Count |
173
- |---|---|---|---|---|---|---|---|
174
- | `server` | 3 | `app` | 2 | `api` | 4 | `theme` | 2 |
175
- | `i18n` | 1 | `time` | 1 | `security` | 2 | `daq` | 27 |
176
- | `memory` | 10 | `omp` | 4 | `harness` | 12 | `dcw` | 4 |
177
- | `workshop` | 15 | `backup` | 3 | `retention` | 5 | `log` | 1 |
178
- | `aml` | 16 | `mcp` | 1 | | | | |
179
-
180
- 39 of them are `live` (effective as soon as they are saved) and 78 are `restart` (effective after
181
- restarting the corresponding mode); `aw config list` marks every row with `live` or `restart`.
182
- - Environment-variable mapping: `AW_<KEY uppercased, dots turned into underscores>`
183
- (for example `AW_SERVER_DEV_PORT`), plus the legacy `aliases` a descriptor declares explicitly
184
- (priority: `AW_<KEY>` over the declaration order of `aliases`).
185
- - The conventional variables `PORT`/`NITRO_PORT`/`NUXT_PORT` and `HOST`/`NITRO_HOST` apply
186
- **only when a mode is passed in** (only the launcher chain knows whether that maps to the dev or
187
- the prod port).
188
- - `aw config set` writes the **config root's** `runtime-settings.json` (inside a source checkout the
189
- config root may differ from `~/.AgentWorkShop`; the success line prints the actual `settingsPath`).
190
-
191
- ## 4. Command reference
192
-
193
- There are **15** built-in commands (`cli/commands/*.mjs`, one command per file):
194
-
195
- | Command | Aliases | Flags | Purpose |
196
- |---|---|---|---|
197
- | `aw start` | `s`, `prod`, `preview` | `--port <n>` `--host <h>` `--skip-infra` | production server (inside or outside a checkout; builds once when the output is missing) |
198
- | `aw dev` | `d` | `--port <n>` `--host <h>` | development server (requires a project checkout; disconnect guard + .env preload) |
199
- | `aw build` | `b`, `compile` | — | production build → `.output/` (requires a project checkout) |
200
- | `aw stop` | — | `--home` | terminate a running instance through the single-instance lock (`--home` forces the home config root as the target) |
201
- | `aw config` | `cfg`, `c` | subcommands `list`(`ls`) / `get` / `set` / `unset` / `reset`(`--yes`/`-y`/`--force`) / `validate`(`check`) | read / write / validate runtime configuration |
202
- | `aw plugin` | `plugins`, `plug` | subcommands `list`(`ls`) / `create`(`new`/`add`) / `enable` / `disable`; `create` also takes `--global`/`-g`, `--project`, `--force`/`-f` | plugin management (three scopes: list / scaffold / enable-disable, hot reload) |
203
- | `aw mcp` | `mcps` | `--doctor` `--print-config` `--base <url>` `--port <n>` | industrial MCP stdio server (38 tools; auto-discovers the running instance; gated by the `mcp.enabled` runtime setting, overridable via the `AW_MCP_ENABLED` env var) |
204
- | `aw home` | `hw` | — | inspect / initialise the config root (idempotent) |
205
- | `aw init` | `create`, `new` | `--force` `--no-install` `--silent` | scaffold a new project checkout |
206
- | `aw register` | `reg`, `install-cmd` | `--name <n>` `--global`/`-g` `--force`/`-f` | register a command module (local file / directory / URL / npm package) |
207
- | `aw doctor` | `dsk`, `check-env` | — | environment / configuration / service health check (`--json` prints `{ ok, checks }`) |
208
- | `aw status` | `st`, `info` | — | runtime overview (mode / config sources / service / build / command count / key effective settings) |
209
- | `aw update` | `upgrade` | `--check` `--registry <url>` `--yes` | compare with the latest npm version and update the global install in place |
210
- | `aw tui` | `tui` | `--url <baseUrl>` `--token <ut-*>` `--channel <name>` | terminal workbench |
211
- | `aw version` | `v` | — | version information |
212
-
213
- > `aw status` reports the mode, the config path, whether build output exists, the runtime override
214
- > keys, the command count and the key effective settings; it has **no uptime**, and the version number
215
- > appears only in the `package.version` field of `aw status --json`.
216
-
217
- ### Global options
218
-
219
- Only the 5 entries of `GLOBAL_OPTS` in `cli/core/args.mjs` are global:
220
-
221
- | Option | Purpose |
222
- |---|---|
223
- | `--json` | machine-readable output (success / failure envelopes below) |
224
- | `--debug` | debug logging (unexpected exceptions additionally print a stack trace) |
225
- | `--help`, `-h` | general help, or help for one command (`aw help <cmd>` is equivalent) |
226
- | `--version`, `-v` | print `agentworkshop <version>` |
227
- | `--root <dir>` | explicitly select the project root (the directory must contain `config.yml`) |
228
-
229
- `--port` / `--host` are **per-command** flags of `start` / `dev`, not global options;
230
- `AW_HOME` / `AW_MODE=home` / `AW_DATA_DIR` are **environment variables**, not command-line flags.
231
-
232
- ### Exit codes and the `--json` contract
233
-
234
- | Exit code | Meaning |
235
- |---|---|
236
- | `0` | success |
237
- | `1` | runtime error (`CliError` with `code !== 'USAGE'`, unmet `needsProject`, unexpected exception) |
238
- | `2` | usage error (unknown command, no command given, `CliError` with `code === 'USAGE'`) |
239
-
240
- Under `--json`, failures uniformly emit an `{ ok: false, error: <code> }` envelope (no stack trace):
241
-
242
- | `error` | Trigger | Exit code |
243
- |---|---|---|
244
- | `unknown-command` | the command name is not in the registry (including `aw --help <unknown>`); carries `name` | 2 |
245
- | `usage` | no command was given at all; carries `hint: 'no command'` | 2 |
246
- | `cli-error` / the concrete `CliError.code` | a usage or runtime error inside a command; carries `message` | 2 (USAGE) / 1 (otherwise) |
247
- | `no-project` | a command marked `needsProject` ran outside a checkout | 1 |
248
- | `internal` | unexpected exception; carries `message` | 1 |
249
-
250
- On success each command supplies its own `{ ok: true, ... }` payload (`config list/get/set/unset/reset/validate`,
251
- `status`, `home`, `version`, `doctor`). Note that server-side REST responses (such as
252
- `GET /api/workshop/plugins`) are **not** wrapped in a `{ code, data }` envelope — that is unrelated to
253
- the CLI's `--json`.
254
-
255
- ### Common examples
256
-
257
- ```bash
258
- aw config set server.prod.port 8080 # change the production port (effective after restart)
259
- aw config set theme.primaryColor '#41c8f4'
260
- aw config get server.dev.port # value + source
261
- aw config list # 119 settings (18 groups) + source + when they apply
262
- aw config validate # validate config.yml and the runtime overrides
263
- aw start --port 3002 # CLI flags win; the output marks 端口来源: CLI
264
- aw doctor # health check: Node/pnpm/AW Home/Docker/MQTT/ports/secrets/build
265
- aw status --json # machine-readable runtime state (includes package.version)
266
- aw plugin list # plugin inventory across the three scopes (with enable state)
267
- aw plugin create my-plugin # scaffolds into <checkout>/.AgentWorkShop/plugins/ by default (cwd when there is no checkout)
268
- aw plugin create my-plugin --global # or scaffolds into ~/.AgentWorkShop/plugins/ (user scope)
269
- aw plugin disable my-plugin # disables it (writes plugins-state.json; a running server hot-reloads in ~1s)
270
- aw stop # stop the running aw service through the single-instance lock
271
- ```
272
-
273
- ### Plugin management (the three scopes of `aw plugin`)
274
-
275
- The host discovers plugins **first scan wins**, so same-name priority is
276
- **`builtin` > `project` > `user`**:
277
-
278
- ```
279
- 1. builtin <packageRoot>/server/plugins-builtin/<name>/index.mjs (shipped with the package, always present)
280
- 2. project <checkout>/.AgentWorkShop/plugins/<name>/index.mjs (the default target of aw plugin create)
281
- 3. user ~/.AgentWorkShop/plugins/<name>/index.mjs (aw plugin create --global)
282
- ```
283
-
284
- > Direction warning: the command registry is "later scan wins → project > user > built-in", whereas
285
- > plugin discovery is "first scan wins → built-in > project > user". The two run in opposite
286
- > directions — do not generalise from one to the other.
287
-
288
- - `aw plugin create <name>`: lands in the project scope by default; `--global`/`-g` lands in the user
289
- scope; `--project` is the explicit spelling and equals the default; `--force`/`-f` overwrites an
290
- existing plugin. The name must match `^[a-z][a-z0-9-]{1,31}$` (starts with a lowercase letter,
291
- 2–32 characters of a-z0-9-). It scaffolds `index.mjs`, `client.mjs` and `README.md`.
292
- - `aw plugin list`: lists the enable state of all three scopes (`已启用` / `已停用`; a `+client` mark
293
- means a browser enhancement exists).
294
- - `aw plugin enable|disable <name>`: searches the same three scopes in the same order
295
- (builtin → project → user) and toggles the first same-name plugin.
296
- - Enabling and disabling writes `<home>/plugins-state.json`, where `home = $AW_HOME || ~/.AgentWorkShop` —
297
- **not** the config root (inside a source checkout the two differ; the config root is
298
- `<repo>/.AgentWorkShop`).
299
- - A running server watches that file (`fs.watch` + 400 ms debounce + a 10 s polling fallback) and
300
- hot-reloads within about a second. That state file is the only trigger (a change to it, or a
301
- disable/enable round trip) — **editing plugin code by itself does not trigger a reload**: the host
302
- has no plugin-directory watcher, but a reload re-imports the entry with a `?t=<timestamp>`
303
- cache-busting query, so after editing code touch `plugins-state.json` (or toggle the plugin once)
304
- and the host picks up the new module without a process restart; only changes to the `server/` and
305
- `shared/` core require one.
306
- - `aw plugin list` does not show load failures; the failure list appears only in the response of
307
- `GET /api/workshop/plugins`, which returns `{ plugins, failures }` (plus `initedAt`) and carries no
308
- `{ code, data }` envelope.
309
- - The plugin contract and lifecycle hooks (`daq:sample` / `daq:frame` / `dcw:write` / `line:start|stop` /
310
- `config:changed` / `plugins:reloaded` / `event:*` / `server:close`) are documented in `docs/plugins.md`.
311
-
312
- ### Related modules
313
-
314
- - **TUI terminal workbench**: `aw tui` (channel / member management, task dispatch, live monitoring,
315
- HITL answering); manuals in `docs/tui.md` and `tui/README.md`.
316
- - **AML automated modelling**: the `/aml` page (16 settings in the `aml` group), 32 route modules
317
- under `server/api/workshop/aml/**`, 14 `aml_*` agent tools, and the built-in `team-aml-shadow` team;
318
- the manual is `docs/aml.md`.
319
-
320
- ## 5. The command registry (extension mechanism)
321
-
322
- ### The registration model (convention over configuration)
323
-
324
- Three scan layers, later scan wins on a name clash (**project > user > built-in**); drop a file in and
325
- it is registered, with no central manifest:
326
-
327
- ```
328
- 1. built-in <packageRoot>/cli/commands/*.mjs (shipped with the package, always present)
329
- 2. user ~/.AgentWorkShop/commands/*.mjs (aw register --global)
330
- 3. project <checkout>/.AgentWorkShop/commands/*.mjs (aw register)
331
- ```
332
-
333
- - Only `*.mjs` / `*.js` / `*.cjs` files are scanned, and files starting with `_` are ignored; a module
334
- that fails to load is merely recorded in `registry.failures` (`aw doctor` lists them) without
335
- blocking the other commands.
336
- - The directory name is **`.AgentWorkShop`** (capital A / W / S). Linux and macOS file systems are
337
- case-sensitive: a command directory whose name has the wrong capitalisation is never scanned.
338
-
339
- ### One command = one file
340
-
341
- ```js
342
- // ~/.AgentWorkShop/commands/hello.mjs
343
- export const meta = {
344
- name: 'hello',
345
- group: '自定义',
346
- summary: '问好',
347
- usage: 'aw hello [--name <n>]',
348
- aliases: ['hi'], // optional
349
- // needsProject: true // requires a project checkout context
350
- }
351
- export async function run(argv, ctx) {
352
- // argv = { flags, positionals, unknown }
353
- // ctx = { root, mode: 'repo'|'home', home, config, resolveNuxtBin(), bypassEnv(),
354
- // json, debug, commandsDir, configRoot, configPath, settingsPath, dataDir,
355
- // registry, EXIT }
356
- console.log(`你好, ${argv.flags.name ?? 'AW'}! (模式: ${ctx.mode})`)
357
- return 0 // returning a number becomes the process exit code
358
- }
359
- ```
360
-
361
- ```bash
362
- aw hello --name 世界 # registered the moment the file exists; usable immediately
363
- aw hello --help # help is generated automatically from meta
364
- ```
365
-
366
- ### Registering from outside
367
-
368
- ```bash
369
- aw register ./my-tool.mjs # → project scope (copies <name>.mjs into the scan directory)
370
- aw register ./my-tool.mjs --global # → user scope (available in every project)
371
- aw register ./tools-dir/ # every .mjs/.js/.cjs in the directory
372
- aw register https://example.com/x.mjs # download from a URL and register
373
- aw register npm:some-cmd-pkg # generate a wrapper module (dynamic import of the package's { meta, run })
374
- aw register ./x.mjs --name better-name --force
375
- ```
376
-
377
- `aw register` only writes the module into a scan directory; there is no manifest. Project-scope
378
- registration needs a project context (outside a checkout, without `--global`, it reports `NO_PROJECT`
379
- and exits with code 1).
380
-
381
- ## 6. Publishing to npm (maintainer guide)
382
-
383
- The repository is already wired up: `bin` (the `aw` / `agentworkshop` double registration, both
384
- pointing at `bin/aw.mjs`), the `files` whitelist (`.output`, `bin`, `cli`, `sdk`, `app`, `server`,
385
- `shared`, `i18n`, `public`, `scripts`, `server/plugins-builtin`, `.AgentWorkShop/prompts`, `tui` and
386
- the various config files), `prepublishOnly` (forces `node bin/aw.mjs build` before packing) and
387
- `postinstall` (the AW Home bootstrap).
388
-
389
- ```bash
390
- # 1. pre-release self-check
391
- npm pack --dry-run # inspect the payload and its size (it should contain .output/)
392
- node bin/aw.mjs build # prepublishOnly runs this automatically; run it manually to confirm locally
393
-
394
- # 2. version and visibility
395
- npm version patch|minor|major
396
- # the private flag has been removed; if it ever comes back: npm pkg delete private
397
- # (optional) rename / add a scope: npm pkg set name=@yourorg/agentworkshop
398
-
399
- # 3. publish (needs an npm account; the default registry on this machine is the read-only npmmirror mirror, so publishing must name the official registry)
400
- npm login --registry=https://registry.npmjs.org
401
- npm publish --access public --registry=https://registry.npmjs.org
402
-
403
- # 4. the user side
404
- npm i -g agentworkshop && aw start
405
- npx agentworkshop start
406
- aw update # or let users self-update with the built-in command (--check only reports)
407
- ```
408
-
409
- **Publication model**: the `files` whitelist includes `.output` (together with the runtime
410
- dependencies inside `.output/server/node_modules`), and `prepublishOnly` runs `node bin/aw.mjs build`
411
- once before packing, so **the published tarball carries its own production build and dependencies**:
412
- an npm-installed user starts with `aw start` and never rebuilds, nor needs `pnpm install`. Only a
413
- **source checkout** builds once on first start when `.output` is missing.
414
-
415
- **Version source of truth**: `npm version` bumps `package.json` only; `app.version` inside
416
- `config.yml` is a **fallback**, not authoritative — `nuxt.config.ts` prefers the `package.json`
417
- version, so both the version injected at build time and the one echoed by `/api/health` follow the
418
- package. That field's literal has historically drifted out of sync with the package, so read
419
- `package.json` (or `package.version` from `aw status --json`) when you need the version — never
420
- rely on it.
421
-
422
- **Repository scripts** (`package.json`): `dev` / `build` / `start` go through
423
- `node bin/aw.mjs <cmd>`, `preview` equals `start`, `generate` is `nuxt generate`, and there are
424
- `cli`, `tui`, `postinstall`, `prepublishOnly`, `lint`, `lint:fix`, `typecheck`, `prepare` (husky),
425
- `game:*` and `test:api-live`. **There is no script named `aw`** — the in-repo CLI entry is `pnpm cli`
426
- and the TUI is `pnpm tui`.
427
-
428
- ## 7. Design notes (engineering)
429
-
430
- - **Thin launcher**: the global package carries only the command system and the application payload;
431
- the config engine (`shared/config/engine.mjs`) is loaded dynamically from the run root, so the CLI,
432
- the web settings page and the dev/prod launch scripts all share a single source of truth.
433
- - **Reused launch chains**: `aw dev` goes through `scripts/dev-guard.mjs` (ECONNRESET guard +
434
- .env preload) and `aw start` goes through `scripts/start.mjs`, exactly the same chains as
435
- `pnpm dev` / `pnpm start`.
436
- - **Proxy immunity**: every child process launched by aw automatically gets
437
- `NO_PROXY=localhost,127.0.0.1,::1` injected (a local system proxy can no longer hijack loopback requests).
438
- - **Secure defaults**: the AW Home `.env` generates a 24-byte random `NUXT_SESSION_PASSWORD` during
439
- bootstrap; prompts (agent system prompts) ship with the package and are seeded on first start as
440
- `<project>/.AgentWorkShop/prompts` → `~/.AgentWorkShop/prompts` (missing files only, user
441
- customisations are never overwritten). `AW_PROMPTS_DIR` overrides explicitly but is no longer
442
- pinned to the package.
443
- - **Single instance**: a running instance writes `.runtime/aw.lock` in the config root
444
- (`{ pid, startedAt, mode, port }`), and `aw stop` terminates the process tree from it
445
- (Windows `taskkill /PID <pid> /T /F`; POSIX sends SIGTERM, waits 5 s, then SIGKILL).
446
- - **Window / Ctrl+C**: child processes inherit stdio and SIGINT/SIGTERM are forwarded, so Windows
447
- Git Bash / CMD / PS all work.
1
+ # aw — the AgentWorkShop command-line tool
2
+
3
+ > A Claude Code style experience: after `npm i -g agentworkshop`, type `aw start` in **any directory**
4
+ > to bring the platform up; all configuration, data and custom commands converge on the config root
5
+ > `~/.AgentWorkShop` (redirectable with `AW_HOME`), independent of the current working directory and
6
+ > of environment paths.
7
+
8
+ ```
9
+ __ __ __ __
10
+ \ \ / /__ _ _| \/ |___ _ _ ___
11
+ \ \ / / _ \| '_| |\/| / _ \ ' _(_-<
12
+ \_/\_\___/|_| |_| |_\___/_| |/__/
13
+ ```
14
+
15
+ ## 1. Installation
16
+
17
+ ### 1. Install from the npm registry (the standard published path)
18
+
19
+ ```bash
20
+ npm install -g agentworkshop
21
+ # or run it once without installing (npx fetches the package for you)
22
+ npx agentworkshop start
23
+ ```
24
+
25
+ `bin` in `package.json` has exactly two entries, both pointing at `bin/aw.mjs`: `aw` and
26
+ `agentworkshop` (npm generates the `aw` / `aw.cmd` / `aw.ps1` shims on install). The two are
27
+ fully equivalent, and every subcommand has to go through them:
28
+
29
+ ```bash
30
+ aw --help # or agentworkshop --help (identical)
31
+ aw --version # agentworkshop --version
32
+ npx agentworkshop doctor # there is no standalone doctor / tui executable
33
+ npx -p agentworkshop aw doctor # -p selects the package, then runs its bin — equivalent
34
+ ```
35
+
36
+ ### 2. Install from this repository (development / internal testing)
37
+
38
+ ```bash
39
+ # run from the repository root
40
+ npm install -g . # npm 11 treats a local directory as a Junction link (code edits apply immediately; good for local development)
41
+ npm uninstall -g agentworkshop
42
+
43
+ # or pack and install (identical to the post-release user experience; the tarball already contains the production build in .output)
44
+ npm pack
45
+ npm install -g ./agentworkshop-<version>.tgz
46
+ ```
47
+
48
+ > `--ignore-scripts` skips `postinstall` (`node scripts/home-bootstrap.mjs`, the AW Home bootstrap)
49
+ > and `prepare` (husky initialisation), keeping the install light and fast; `prepare` only runs husky,
50
+ > there is no Nuxt-side prepare script in the package, and the install involves no build at all —
51
+ > the published tarball already ships the `.output` production build. The first `aw start` /
52
+ > `aw home` performs the AW Home bootstrap anyway, so there is nothing to worry about.
53
+
54
+ In-repository development uses pnpm (`packageManager: pnpm@11.9.0`):
55
+
56
+ ```bash
57
+ pnpm install
58
+ pnpm cli --help # the in-repo CLI entry (there is no package script named aw)
59
+ pnpm tui # the terminal workbench
60
+ ```
61
+
62
+ ### 3. Quick use via npx (no global install)
63
+
64
+ ```bash
65
+ npx agentworkshop start # fetch and start (pin a version with: npx agentworkshop@0.7.70 start)
66
+ npx agentworkshop doctor # subcommands work as usual
67
+ npx -p agentworkshop aw doctor # use -p when you want the name aw
68
+ ```
69
+
70
+ > "No global install" does not mean "nothing is written to disk": `postinstall`, or the first
71
+ > `aw start`, still creates the config root under `~/.AgentWorkShop` and seeds its files (see section 2).
72
+ > Set `AW_HOME` to isolate it completely.
73
+
74
+ ### 4. Runtime requirements
75
+
76
+ | Item | Value |
77
+ |---|---|
78
+ | Node.js | `>= 23.4.0` (`engines.node`) |
79
+ | Package manager | `pnpm@11.9.0` (`packageManager`, needed only for source development) |
80
+ | Module format | ESM (`type: module`) |
81
+ | License | `Apache-2.0` |
82
+ | Current version | `0.7.70` (`package.json`) |
83
+
84
+ ## 2. First start (the Claude Code experience)
85
+
86
+ ```bash
87
+ # A. npm install (the tarball already contains the .output production build): starts directly, no rebuild
88
+ $ aw start
89
+ › 生产服务(home 模式) -> http://0.0.0.0:3001 (端口来源: config.yml)
90
+ › 配置: C:\Users\you\.AgentWorkShop\config.yml · 数据: C:\Users\you\.AgentWorkShop\data
91
+ › 停止: Ctrl+C
92
+
93
+ # B. first start from a source checkout (no .output yet): builds once first
94
+ $ aw start
95
+ › 首次启动:正在构建生产产物(约 2-5 分钟,仅一次) ...
96
+ › 生产服务(repo 模式) -> http://0.0.0.0:3001 (端口来源: config.yml)
97
+ › 配置: D:\codes\ABO\AgentWorkShop\config.yml · 数据: D:\codes\ABO\AgentWorkShop\.AgentWorkShop\data
98
+ › 停止: Ctrl+C
99
+ ```
100
+
101
+ - Open the printed address in a browser and it is ready; `Ctrl+C` stops it; a later `aw start`
102
+ reuses the existing build output directly.
103
+ - The port comes from the effective configuration (`server.prod.port`, 3001 by default) and
104
+ `--port` has the highest priority; the `(端口来源: config.yml|runtime|env|CLI)` suffix in the output
105
+ tells you which layer supplied it.
106
+ - `aw stop` terminates a running instance through the single-instance lock at
107
+ `<config root>/.runtime/aw.lock`.
108
+
109
+ **AW Home** (the user-level config root, `~/.AgentWorkShop` by default) is created idempotently by
110
+ `postinstall` (`scripts/home-bootstrap.mjs`) or by the first `aw start` / `aw home`; existing files
111
+ are never overwritten:
112
+
113
+ ```
114
+ ~/.AgentWorkShop/
115
+ ├── config.yml # main config (factory default seed; edit here to change global behaviour)
116
+ ├── runtime-settings.json # runtime overrides (written by aw config set)
117
+ ├── .env # secrets (a 24-byte random NUXT_SESSION_PASSWORD is generated on bootstrap)
118
+ ├── .env.example # key template (shipped with the package)
119
+ ├── docker-compose.yml # data-acquisition infrastructure (MQTT/Timescale) self-start definitions
120
+ ├── plugins-state.json # plugin enable/disable state (sdk/examples seeds are recorded as disabled)
121
+ ├── data/ # sqlite / JSON repositories / backups (all runtime data lands here)
122
+ ├── logs/
123
+ ├── commands/ # user-level custom commands (drop a file in and it registers)
124
+ ├── plugins/ # user-level plugin directory (seeded from sdk/examples/*, missing files only)
125
+ └── prompts/ # agent prompts (seeded from packaged assets on first start; missing files only)
126
+ ```
127
+
128
+ > **repo mode (source checkout)**: the config root is `<repo>/.AgentWorkShop` (runtime-settings.json /
129
+ > data / commands / plugins as above), while the factory-default config.yml/.env stay at the checkout
130
+ > root and are versioned by git. Prompts resolve as `<project>/.AgentWorkShop/prompts` →
131
+ > `~/.AgentWorkShop/prompts` (both modes are isomorphic and seed from packaged assets on first start;
132
+ > `AW_PROMPTS_DIR` overrides explicitly). Runtime files in the old locations (`data/`,
133
+ > `server/data/`) are migrated into the config root on first start — copied, never deleted, with
134
+ > sqlite/JSON repositories and runtime overrides converging on "newest wins" (mtime comparison).
135
+
136
+ ## 3. The dual-mode path model (independent of environment and paths)
137
+
138
+ | | repo mode | home mode (the default installed shape) |
139
+ |---|---|---|
140
+ | Trigger | cwd is inside a project checkout (config.yml + nuxt.config.ts present) | any other directory |
141
+ | Application code | source in the checkout (builds once on first start when `.output` is missing) | the npm package payload (the tarball already contains the `.output` production build, ready to run) |
142
+ | Config root | `<repo>/.AgentWorkShop` | `~/.AgentWorkShop` |
143
+ | Factory-default config.yml/.env | `<repo>/config.yml` (versioned by git) | `~/.AgentWorkShop/config.yml` |
144
+ | Runtime overrides | `<repo>/.AgentWorkShop/runtime-settings.json` | `~/.AgentWorkShop/runtime-settings.json` |
145
+ | Runtime data | `<repo>/.AgentWorkShop/data/` | `~/.AgentWorkShop/data/` |
146
+ | prompts | `<project>/.AgentWorkShop/prompts` → falls back to `~/.AgentWorkShop/prompts` | same as the left (seeded from packaged assets on first start) |
147
+
148
+ ### Config-root resolution (three rules)
149
+
150
+ `resolveRunMode()` in `shared/config/home.mjs` decides in order, **first match returns**:
151
+
152
+ | # | Condition | Effective config root | Effective config.yml |
153
+ |---|---|---|---|
154
+ | 1 | walking up from cwd finds a real `./.AgentWorkShop` directory | that directory (repo mode; a plain workspace works too) | the checkout's `config.yml`; for a non-checkout, the config root's `config.yml`, falling back to the packaged one |
155
+ | 2 | walking up from cwd finds a source checkout (config.yml + nuxt.config.ts) but **no** `./.AgentWorkShop` | `~/.AgentWorkShop` (repo mode) | `<checkout>/config.yml` (the factory default is still read from the checkout) |
156
+ | 3 | any other directory | `~/.AgentWorkShop` (home mode) | the config root's `config.yml`, falling back to the packaged one |
157
+
158
+ - `AW_HOME=D:\aw-home` overrides the user-level root (every `~/.AgentWorkShop` in the three rules
159
+ points there instead).
160
+ - `AW_MODE=home` forces the home shape (skipping rules 1 and 2; the launcher injects it for the
161
+ globally installed application payload so that a package directory containing config.yml +
162
+ nuxt.config.ts is not mistaken for a checkout).
163
+ - `AW_DATA_DIR` selects the runtime data directory on its own (the config root's `data/` by default).
164
+
165
+ ### The settings and environment-variable model
166
+
167
+ - Precedence (the CLI, the web settings page and the dev/prod launch scripts all share one engine,
168
+ `shared/config/engine.mjs`):
169
+ `config.yml defaults < runtime-settings.json runtime overrides < environment variables / explicit CLI flags`.
170
+ - There are **119 setting descriptors across 18 groups** (`aw config list` prints exactly 119 rows):
171
+
172
+ | Group | Count | Group | Count | Group | Count | Group | Count |
173
+ |---|---|---|---|---|---|---|---|
174
+ | `server` | 3 | `app` | 2 | `api` | 4 | `theme` | 2 |
175
+ | `i18n` | 1 | `time` | 1 | `security` | 7 | `daq` | 27 |
176
+ | `memory` | 10 | `omp` | 4 | `harness` | 12 | `dcw` | 4 |
177
+ | `workshop` | 15 | `backup` | 3 | `retention` | 6 | `log` | 1 |
178
+ | `aml` | 16 | `mcp` | 1 | | | | |
179
+
180
+ 40 of them are `live` (effective as soon as they are saved) and 79 are `restart` (effective after
181
+ restarting the corresponding mode); `aw config list` marks every row with `live` or `restart`.
182
+ - Environment-variable mapping: `AW_<KEY uppercased, dots turned into underscores>`
183
+ (for example `AW_SERVER_DEV_PORT`), plus the legacy `aliases` a descriptor declares explicitly
184
+ (priority: `AW_<KEY>` over the declaration order of `aliases`).
185
+ - The conventional variables `PORT`/`NITRO_PORT`/`NUXT_PORT` and `HOST`/`NITRO_HOST` apply
186
+ **only when a mode is passed in** (only the launcher chain knows whether that maps to the dev or
187
+ the prod port).
188
+ - `aw config set` writes the **config root's** `runtime-settings.json` (inside a source checkout the
189
+ config root may differ from `~/.AgentWorkShop`; the success line prints the actual `settingsPath`).
190
+
191
+ ## 4. Command reference
192
+
193
+ There are **15** built-in commands (`cli/commands/*.mjs`, one command per file):
194
+
195
+ | Command | Aliases | Flags | Purpose |
196
+ |---|---|---|---|
197
+ | `aw start` | `s`, `prod`, `preview` | `--port <n>` `--host <h>` `--skip-infra` | production server (inside or outside a checkout; builds once when the output is missing) |
198
+ | `aw dev` | `d` | `--port <n>` `--host <h>` | development server (requires a project checkout; disconnect guard + .env preload) |
199
+ | `aw build` | `b`, `compile` | — | production build → `.output/` (requires a project checkout) |
200
+ | `aw stop` | — | `--home` | terminate a running instance through the single-instance lock (`--home` forces the home config root as the target) |
201
+ | `aw config` | `cfg`, `c` | subcommands `list`(`ls`) / `get` / `set` / `unset` / `reset`(`--yes`/`-y`/`--force`) / `validate`(`check`) | read / write / validate runtime configuration |
202
+ | `aw plugin` | `plugins`, `plug` | subcommands `list`(`ls`) / `create`(`new`/`add`) / `enable` / `disable`; `create` also takes `--global`/`-g`, `--project`, `--force`/`-f` | plugin management (three scopes: list / scaffold / enable-disable, hot reload) |
203
+ | `aw mcp` | `mcps` | `--doctor` `--print-config` `--base <url>` `--port <n>` | industrial MCP stdio server (38 tools; auto-discovers the running instance; gated by the `mcp.enabled` runtime setting, overridable via the `AW_MCP_ENABLED` env var) |
204
+ | `aw home` | `hw` | — | inspect / initialise the config root (idempotent) |
205
+ | `aw init` | `create`, `new` | `--force` `--no-install` `--silent` | scaffold a new project checkout |
206
+ | `aw register` | `reg`, `install-cmd` | `--name <n>` `--global`/`-g` `--force`/`-f` | register a command module (local file / directory / URL / npm package) |
207
+ | `aw doctor` | `dsk`, `check-env` | — | environment / configuration / service health check (`--json` prints `{ ok, checks }`) |
208
+ | `aw status` | `st`, `info` | — | runtime overview (mode / config sources / service / build / command count / key effective settings) |
209
+ | `aw update` | `upgrade` | `--check` `--registry <url>` `--yes` | compare with the latest npm version and update the global install in place |
210
+ | `aw tui` | `tui` | `--url <baseUrl>` `--token <ut-*>` `--channel <name>` | terminal workbench |
211
+ | `aw version` | `v` | — | version information |
212
+
213
+ > `aw status` reports the mode, the config path, whether build output exists, the runtime override
214
+ > keys, the command count and the key effective settings; it has **no uptime**, and the version number
215
+ > appears only in the `package.version` field of `aw status --json`.
216
+
217
+ ### Global options
218
+
219
+ Only the 5 entries of `GLOBAL_OPTS` in `cli/core/args.mjs` are global:
220
+
221
+ | Option | Purpose |
222
+ |---|---|
223
+ | `--json` | machine-readable output (success / failure envelopes below) |
224
+ | `--debug` | debug logging (unexpected exceptions additionally print a stack trace) |
225
+ | `--help`, `-h` | general help, or help for one command (`aw help <cmd>` is equivalent) |
226
+ | `--version`, `-v` | print `agentworkshop <version>` |
227
+ | `--root <dir>` | explicitly select the project root (the directory must contain `config.yml`) |
228
+
229
+ `--port` / `--host` are **per-command** flags of `start` / `dev`, not global options;
230
+ `AW_HOME` / `AW_MODE=home` / `AW_DATA_DIR` are **environment variables**, not command-line flags.
231
+
232
+ ### Exit codes and the `--json` contract
233
+
234
+ | Exit code | Meaning |
235
+ |---|---|
236
+ | `0` | success |
237
+ | `1` | runtime error (`CliError` with `code !== 'USAGE'`, unmet `needsProject`, unexpected exception) |
238
+ | `2` | usage error (unknown command, no command given, `CliError` with `code === 'USAGE'`) |
239
+
240
+ Under `--json`, failures uniformly emit an `{ ok: false, error: <code> }` envelope (no stack trace):
241
+
242
+ | `error` | Trigger | Exit code |
243
+ |---|---|---|
244
+ | `unknown-command` | the command name is not in the registry (including `aw --help <unknown>`); carries `name` | 2 |
245
+ | `usage` | no command was given at all; carries `hint: 'no command'` | 2 |
246
+ | `cli-error` / the concrete `CliError.code` | a usage or runtime error inside a command; carries `message` | 2 (USAGE) / 1 (otherwise) |
247
+ | `no-project` | a command marked `needsProject` ran outside a checkout | 1 |
248
+ | `internal` | unexpected exception; carries `message` | 1 |
249
+
250
+ On success each command supplies its own `{ ok: true, ... }` payload (`config list/get/set/unset/reset/validate`,
251
+ `status`, `home`, `version`, `doctor`). Note that server-side REST responses (such as
252
+ `GET /api/workshop/plugins`) are **not** wrapped in a `{ code, data }` envelope — that is unrelated to
253
+ the CLI's `--json`.
254
+
255
+ ### Common examples
256
+
257
+ ```bash
258
+ aw config set server.prod.port 8080 # change the production port (effective after restart)
259
+ aw config set theme.primaryColor '#41c8f4'
260
+ aw config get server.dev.port # value + source
261
+ aw config list # 119 settings (18 groups) + source + when they apply
262
+ aw config validate # validate config.yml and the runtime overrides
263
+ aw start --port 3002 # CLI flags win; the output marks 端口来源: CLI
264
+ aw doctor # health check: Node/pnpm/AW Home/Docker/MQTT/ports/secrets/build
265
+ aw status --json # machine-readable runtime state (includes package.version)
266
+ aw plugin list # plugin inventory across the three scopes (with enable state)
267
+ aw plugin create my-plugin # scaffolds into <checkout>/.AgentWorkShop/plugins/ by default (cwd when there is no checkout)
268
+ aw plugin create my-plugin --global # or scaffolds into ~/.AgentWorkShop/plugins/ (user scope)
269
+ aw plugin disable my-plugin # disables it (writes plugins-state.json; a running server hot-reloads in ~1s)
270
+ aw stop # stop the running aw service through the single-instance lock
271
+ ```
272
+
273
+ ### Plugin management (the three scopes of `aw plugin`)
274
+
275
+ The host discovers plugins **first scan wins**, so same-name priority is
276
+ **`builtin` > `project` > `user`**:
277
+
278
+ ```
279
+ 1. builtin <packageRoot>/server/plugins-builtin/<name>/index.mjs (shipped with the package, always present)
280
+ 2. project <checkout>/.AgentWorkShop/plugins/<name>/index.mjs (the default target of aw plugin create)
281
+ 3. user ~/.AgentWorkShop/plugins/<name>/index.mjs (aw plugin create --global)
282
+ ```
283
+
284
+ > Direction warning: the command registry is "later scan wins → project > user > built-in", whereas
285
+ > plugin discovery is "first scan wins → built-in > project > user". The two run in opposite
286
+ > directions — do not generalise from one to the other.
287
+
288
+ - `aw plugin create <name>`: lands in the project scope by default; `--global`/`-g` lands in the user
289
+ scope; `--project` is the explicit spelling and equals the default; `--force`/`-f` overwrites an
290
+ existing plugin. The name must match `^[a-z][a-z0-9-]{1,31}$` (starts with a lowercase letter,
291
+ 2–32 characters of a-z0-9-). It scaffolds `index.mjs`, `client.mjs` and `README.md`.
292
+ - `aw plugin list`: lists the enable state of all three scopes (`已启用` / `已停用`; a `+client` mark
293
+ means a browser enhancement exists).
294
+ - `aw plugin enable|disable <name>`: searches the same three scopes in the same order
295
+ (builtin → project → user) and toggles the first same-name plugin.
296
+ - Enabling and disabling writes `<home>/plugins-state.json`, where `home = $AW_HOME || ~/.AgentWorkShop` —
297
+ **not** the config root (inside a source checkout the two differ; the config root is
298
+ `<repo>/.AgentWorkShop`).
299
+ - A running server watches that file (`fs.watch` + 400 ms debounce + a 10 s polling fallback) and
300
+ hot-reloads within about a second. That state file is the only trigger (a change to it, or a
301
+ disable/enable round trip) — **editing plugin code by itself does not trigger a reload**: the host
302
+ has no plugin-directory watcher, but a reload re-imports the entry with a `?t=<timestamp>`
303
+ cache-busting query, so after editing code touch `plugins-state.json` (or toggle the plugin once)
304
+ and the host picks up the new module without a process restart; only changes to the `server/` and
305
+ `shared/` core require one.
306
+ - `aw plugin list` does not show load failures; the failure list appears only in the response of
307
+ `GET /api/workshop/plugins`, which returns `{ plugins, failures }` (plus `initedAt`) and carries no
308
+ `{ code, data }` envelope.
309
+ - The plugin contract and lifecycle hooks (`daq:sample` / `daq:frame` / `dcw:write` / `line:start|stop` /
310
+ `config:changed` / `plugins:reloaded` / `event:*` / `server:close`) are documented in `docs/plugins.md`.
311
+
312
+ ### Related modules
313
+
314
+ - **TUI terminal workbench**: `aw tui` (channel / member management, task dispatch, live monitoring,
315
+ HITL answering); manuals in `docs/tui.md` and `tui/README.md`.
316
+ - **AML automated modelling**: the `/aml` page (16 settings in the `aml` group), 32 route modules
317
+ under `server/api/workshop/aml/**`, 14 `aml_*` agent tools, and the built-in `team-aml-shadow` team;
318
+ the manual is `docs/aml.md`.
319
+
320
+ ## 5. The command registry (extension mechanism)
321
+
322
+ ### The registration model (convention over configuration)
323
+
324
+ Three scan layers, later scan wins on a name clash (**project > user > built-in**); drop a file in and
325
+ it is registered, with no central manifest:
326
+
327
+ ```
328
+ 1. built-in <packageRoot>/cli/commands/*.mjs (shipped with the package, always present)
329
+ 2. user ~/.AgentWorkShop/commands/*.mjs (aw register --global)
330
+ 3. project <checkout>/.AgentWorkShop/commands/*.mjs (aw register)
331
+ ```
332
+
333
+ - Only `*.mjs` / `*.js` / `*.cjs` files are scanned, and files starting with `_` are ignored; a module
334
+ that fails to load is merely recorded in `registry.failures` (`aw doctor` lists them) without
335
+ blocking the other commands.
336
+ - The directory name is **`.AgentWorkShop`** (capital A / W / S). Linux and macOS file systems are
337
+ case-sensitive: a command directory whose name has the wrong capitalisation is never scanned.
338
+
339
+ ### One command = one file
340
+
341
+ ```js
342
+ // ~/.AgentWorkShop/commands/hello.mjs
343
+ export const meta = {
344
+ name: 'hello',
345
+ group: '自定义',
346
+ summary: '问好',
347
+ usage: 'aw hello [--name <n>]',
348
+ aliases: ['hi'], // optional
349
+ // needsProject: true // requires a project checkout context
350
+ }
351
+ export async function run(argv, ctx) {
352
+ // argv = { flags, positionals, unknown }
353
+ // ctx = { root, mode: 'repo'|'home', home, config, resolveNuxtBin(), bypassEnv(),
354
+ // json, debug, commandsDir, configRoot, configPath, settingsPath, dataDir,
355
+ // registry, EXIT }
356
+ console.log(`你好, ${argv.flags.name ?? 'AW'}! (模式: ${ctx.mode})`)
357
+ return 0 // returning a number becomes the process exit code
358
+ }
359
+ ```
360
+
361
+ ```bash
362
+ aw hello --name 世界 # registered the moment the file exists; usable immediately
363
+ aw hello --help # help is generated automatically from meta
364
+ ```
365
+
366
+ ### Registering from outside
367
+
368
+ ```bash
369
+ aw register ./my-tool.mjs # → project scope (copies <name>.mjs into the scan directory)
370
+ aw register ./my-tool.mjs --global # → user scope (available in every project)
371
+ aw register ./tools-dir/ # every .mjs/.js/.cjs in the directory
372
+ aw register https://example.com/x.mjs # download from a URL and register
373
+ aw register npm:some-cmd-pkg # generate a wrapper module (dynamic import of the package's { meta, run })
374
+ aw register ./x.mjs --name better-name --force
375
+ ```
376
+
377
+ `aw register` only writes the module into a scan directory; there is no manifest. Project-scope
378
+ registration needs a project context (outside a checkout, without `--global`, it reports `NO_PROJECT`
379
+ and exits with code 1).
380
+
381
+ ## 6. Publishing to npm (maintainer guide)
382
+
383
+ The repository is already wired up: `bin` (the `aw` / `agentworkshop` double registration, both
384
+ pointing at `bin/aw.mjs`), the `files` whitelist (`.output`, `bin`, `cli`, `sdk`, `app`, `server`,
385
+ `shared`, `i18n`, `public`, `scripts`, `server/plugins-builtin`, `.AgentWorkShop/prompts`, `tui` and
386
+ the various config files), `prepublishOnly` (forces `node bin/aw.mjs build` before packing) and
387
+ `postinstall` (the AW Home bootstrap).
388
+
389
+ ```bash
390
+ # 1. pre-release self-check
391
+ npm pack --dry-run # inspect the payload and its size (it should contain .output/)
392
+ node bin/aw.mjs build # prepublishOnly runs this automatically; run it manually to confirm locally
393
+
394
+ # 2. version and visibility
395
+ npm version patch|minor|major
396
+ # the private flag has been removed; if it ever comes back: npm pkg delete private
397
+ # (optional) rename / add a scope: npm pkg set name=@yourorg/agentworkshop
398
+
399
+ # 3. publish (needs an npm account; the default registry on this machine is the read-only npmmirror mirror, so publishing must name the official registry)
400
+ npm login --registry=https://registry.npmjs.org
401
+ npm publish --access public --registry=https://registry.npmjs.org
402
+
403
+ # 4. the user side
404
+ npm i -g agentworkshop && aw start
405
+ npx agentworkshop start
406
+ aw update # or let users self-update with the built-in command (--check only reports)
407
+ ```
408
+
409
+ **Publication model**: the `files` whitelist includes `.output` (together with the runtime
410
+ dependencies inside `.output/server/node_modules`), and `prepublishOnly` runs `node bin/aw.mjs build`
411
+ once before packing, so **the published tarball carries its own production build and dependencies**:
412
+ an npm-installed user starts with `aw start` and never rebuilds, nor needs `pnpm install`. Only a
413
+ **source checkout** builds once on first start when `.output` is missing.
414
+
415
+ **Version source of truth**: `npm version` bumps `package.json` only; `app.version` inside
416
+ `config.yml` is a **fallback**, not authoritative — `nuxt.config.ts` prefers the `package.json`
417
+ version, so both the version injected at build time and the one echoed by `/api/health` follow the
418
+ package. That field's literal has historically drifted out of sync with the package, so read
419
+ `package.json` (or `package.version` from `aw status --json`) when you need the version — never
420
+ rely on it.
421
+
422
+ **Repository scripts** (`package.json`): `dev` / `build` / `start` go through
423
+ `node bin/aw.mjs <cmd>`, `preview` equals `start`, `generate` is `nuxt generate`, and there are
424
+ `cli`, `tui`, `postinstall`, `prepublishOnly`, `lint`, `lint:fix`, `typecheck`, `prepare` (husky),
425
+ `game:*` and `test:api-live`. **There is no script named `aw`** — the in-repo CLI entry is `pnpm cli`
426
+ and the TUI is `pnpm tui`.
427
+
428
+ ## 7. Design notes (engineering)
429
+
430
+ - **Thin launcher**: the global package carries only the command system and the application payload;
431
+ the config engine (`shared/config/engine.mjs`) is loaded dynamically from the run root, so the CLI,
432
+ the web settings page and the dev/prod launch scripts all share a single source of truth.
433
+ - **Reused launch chains**: `aw dev` goes through `scripts/dev-guard.mjs` (ECONNRESET guard +
434
+ .env preload) and `aw start` goes through `scripts/start.mjs`, exactly the same chains as
435
+ `pnpm dev` / `pnpm start`.
436
+ - **Proxy immunity**: every child process launched by aw automatically gets
437
+ `NO_PROXY=localhost,127.0.0.1,::1` injected (a local system proxy can no longer hijack loopback requests).
438
+ - **Secure defaults**: the AW Home `.env` generates a 24-byte random `NUXT_SESSION_PASSWORD` during
439
+ bootstrap; prompts (agent system prompts) ship with the package and are seeded on first start as
440
+ `<project>/.AgentWorkShop/prompts` → `~/.AgentWorkShop/prompts` (missing files only, user
441
+ customisations are never overwritten). `AW_PROMPTS_DIR` overrides explicitly but is no longer
442
+ pinned to the package.
443
+ - **Single instance**: a running instance writes `.runtime/aw.lock` in the config root
444
+ (`{ pid, startedAt, mode, port }`), and `aw stop` terminates the process tree from it
445
+ (Windows `taskkill /PID <pid> /T /F`; POSIX sends SIGTERM, waits 5 s, then SIGKILL).
446
+ - **Window / Ctrl+C**: child processes inherit stdio and SIGINT/SIGTERM are forwarded, so Windows
447
+ Git Bash / CMD / PS all work.