agentworkshop 0.11.0 → 0.11.1

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 (1635) hide show
  1. package/.output/.AgentWorkShop/schema.json +1 -0
  2. package/.output/nitro.json +1 -1
  3. package/.output/public/_nuxt/6_87y333.js +1 -0
  4. package/.output/public/_nuxt/8OGdfbj22.js +1 -0
  5. package/.output/public/_nuxt/90VJsVhR.js +1 -0
  6. package/.output/public/_nuxt/9fFmgoEg.js +19 -0
  7. package/.output/public/_nuxt/B-0RR8rG2.js +3 -0
  8. package/.output/public/_nuxt/B2SDhcaZ2.js +1 -0
  9. package/.output/public/_nuxt/B5omLhft.js +1 -0
  10. package/.output/public/_nuxt/B6B_ddfK.js +2 -0
  11. package/.output/public/_nuxt/B8ESsNmY.js +1 -0
  12. package/.output/public/_nuxt/B9mnF1O6.js +24 -0
  13. package/.output/public/_nuxt/BAEUDdfi2.js +3 -0
  14. package/.output/public/_nuxt/BDtoZM5L2.js +1 -0
  15. package/.output/public/_nuxt/BFVf8HLR.js +1 -0
  16. package/.output/public/_nuxt/BH1-5SlX2.js +1 -0
  17. package/.output/public/_nuxt/BHRhqeql2.js +1 -0
  18. package/.output/public/_nuxt/BJBqpFEn.js +4 -0
  19. package/.output/public/_nuxt/BLjdrd0D.js +1 -0
  20. package/.output/public/_nuxt/BMQZ-rDR2.js +1 -0
  21. package/.output/public/_nuxt/BNFokEmq2.js +1 -0
  22. package/.output/public/_nuxt/BNbpoWZd2.js +31 -0
  23. package/.output/public/_nuxt/BV6qh3wj.js +1 -0
  24. package/.output/public/_nuxt/BVBpo7be.js +1 -0
  25. package/.output/public/_nuxt/BVpzZEIw2.js +1 -0
  26. package/.output/public/_nuxt/BW97EeDk.js +1 -0
  27. package/.output/public/_nuxt/BWRHgl-b2.js +1 -0
  28. package/.output/public/_nuxt/BXEmW95V.js +1 -0
  29. package/.output/public/_nuxt/BZgWa03T2.js +1 -0
  30. package/.output/public/_nuxt/BcnHw44_.js +1 -0
  31. package/.output/public/_nuxt/BhJsJ96x2.js +1 -0
  32. package/.output/public/_nuxt/Bk5BUt5s.js +1 -0
  33. package/.output/public/_nuxt/Bkl2FMgs.js +1 -0
  34. package/.output/public/_nuxt/BlUYwIYK.js +1 -0
  35. package/.output/public/_nuxt/BmkPb2gP2.js +1 -0
  36. package/.output/public/_nuxt/Btmjo7HA.js +1 -0
  37. package/.output/public/_nuxt/BulP6s81.js +1 -0
  38. package/.output/public/_nuxt/ButdHBAG2.js +7 -0
  39. package/.output/public/_nuxt/Bw5VrGYg2.js +2 -0
  40. package/.output/public/_nuxt/Bwe6udYn.js +1 -0
  41. package/.output/public/_nuxt/Bx-PgFYy.js +36 -0
  42. package/.output/public/_nuxt/BxtFRntl.js +1 -0
  43. package/.output/public/_nuxt/Bz0DPYX12.js +1 -0
  44. package/.output/public/_nuxt/Bz42Xhus.js +18 -0
  45. package/.output/public/_nuxt/BzqWfOOv2.js +1 -0
  46. package/.output/public/_nuxt/C0kZNL8n.js +2 -0
  47. package/.output/public/_nuxt/C3pEZb3e.js +1 -0
  48. package/.output/public/_nuxt/C43zsCj-2.js +1 -0
  49. package/.output/public/_nuxt/C48J8Lvs.js +1 -0
  50. package/.output/public/_nuxt/C56hv7Im.js +1 -0
  51. package/.output/public/_nuxt/C6NTcQfa.js +98 -0
  52. package/.output/public/_nuxt/C6oGEnAW2.js +1 -0
  53. package/.output/public/_nuxt/C7vbfjUb2.js +1 -0
  54. package/.output/public/_nuxt/C81RX0iz2.js +1 -0
  55. package/.output/public/_nuxt/C8AWlh2Z.js +1 -0
  56. package/.output/public/_nuxt/C8Kv5RTm.js +14 -0
  57. package/.output/public/_nuxt/CFGDVyo-2.js +1 -0
  58. package/.output/public/_nuxt/CFeYpumq2.js +1 -0
  59. package/.output/public/_nuxt/CFpK0hl1.js +1 -0
  60. package/.output/public/_nuxt/CH3CdjdS2.js +1 -0
  61. package/.output/public/_nuxt/CHB1GNeR2.js +1 -0
  62. package/.output/public/_nuxt/CHfDvmRV.js +1 -0
  63. package/.output/public/_nuxt/CTmVf_QP2.js +1 -0
  64. package/.output/public/_nuxt/CXBEKEDZ.js +1 -0
  65. package/.output/public/_nuxt/CXDCLGiv.js +1 -0
  66. package/.output/public/_nuxt/CXcZqKvG.js +1 -0
  67. package/.output/public/_nuxt/CZnPJo_R.js +13 -0
  68. package/.output/public/_nuxt/C_Ny0_8I.js +2 -0
  69. package/.output/public/_nuxt/CaXDxa-H2.js +1 -0
  70. package/.output/public/_nuxt/CbK-5URT2.js +1 -0
  71. package/.output/public/_nuxt/Cd9ZLdch.js +1 -0
  72. package/.output/public/_nuxt/Cga9enmD.js +1 -0
  73. package/.output/public/_nuxt/Ciz_Y4v_2.js +1 -0
  74. package/.output/public/_nuxt/CjJG_tAF.js +1 -0
  75. package/.output/public/_nuxt/CjwUg4s5.js +1 -0
  76. package/.output/public/_nuxt/ClTzUT3V2.js +1 -0
  77. package/.output/public/_nuxt/CoLz2njw.js +1 -0
  78. package/.output/public/_nuxt/CpCGlTYT.js +1 -0
  79. package/.output/public/_nuxt/Cv4Ac6rA.js +20 -0
  80. package/.output/public/_nuxt/Cvf2Pcqo.js +1 -0
  81. package/.output/public/_nuxt/CvuY5tVp2.js +1 -0
  82. package/.output/public/_nuxt/CwlcIJas.js +1 -0
  83. package/.output/public/_nuxt/CxWU0C992.js +1 -0
  84. package/.output/public/_nuxt/CxsGwDxD.js +55 -0
  85. package/.output/public/_nuxt/CzKqKiAc.js +1 -0
  86. package/.output/public/_nuxt/CzXUOKhL2.js +1 -0
  87. package/.output/public/_nuxt/D-Alms1O.js +1 -0
  88. package/.output/public/_nuxt/D0u1MBGv.js +1 -0
  89. package/.output/public/_nuxt/D2bTf4UJ2.js +1 -0
  90. package/.output/public/_nuxt/D2pAG0qA2.js +1 -0
  91. package/.output/public/_nuxt/D6PnEj3S.js +9 -0
  92. package/.output/public/_nuxt/D89qyIVI.js +1 -0
  93. package/.output/public/_nuxt/D8ivNvEw2.js +1 -0
  94. package/.output/public/_nuxt/DEGFVKCy.js +1 -0
  95. package/.output/public/_nuxt/DF32Oh_z2.js +8 -0
  96. package/.output/public/_nuxt/DG0k0iBW.js +1 -0
  97. package/.output/public/_nuxt/DHJjj45X.js +1 -0
  98. package/.output/public/_nuxt/DHnitCG92.js +1 -0
  99. package/.output/public/_nuxt/DIG_RXmm.js +1 -0
  100. package/.output/public/_nuxt/DIPel9gc.js +1 -0
  101. package/.output/public/_nuxt/DKt8Muvv.js +1 -0
  102. package/.output/public/_nuxt/DM0ZAu2n2.js +1 -0
  103. package/.output/public/_nuxt/DMeHK2Eg.js +1 -0
  104. package/.output/public/_nuxt/DMvMD9e9.js +1 -0
  105. package/.output/public/_nuxt/DPYFeKZT.js +16 -0
  106. package/.output/public/_nuxt/DSG87zFZ.js +1 -0
  107. package/.output/public/_nuxt/DTB9Qyaz.js +1 -0
  108. package/.output/public/_nuxt/DWEOz4GB.js +1 -0
  109. package/.output/public/_nuxt/DWXsx7Aq2.js +1 -0
  110. package/.output/public/_nuxt/DWbXEJ61.js +1 -0
  111. package/.output/public/_nuxt/DYQ8Ec6u2.js +1 -0
  112. package/.output/public/_nuxt/D_kU5SUA.js +1 -0
  113. package/.output/public/_nuxt/DaUSm8Xs2.js +13 -0
  114. package/.output/public/_nuxt/DaaaoQxt.js +1 -0
  115. package/.output/public/_nuxt/DbVBiuJN.js +1 -0
  116. package/.output/public/_nuxt/DcfcfyoF.js +1 -0
  117. package/.output/public/_nuxt/DckP3wbD2.js +1 -0
  118. package/.output/public/_nuxt/DgmM2I1j.js +1 -0
  119. package/.output/public/_nuxt/DijLFeeP.js +15 -0
  120. package/.output/public/_nuxt/Dl3gCLMT.js +1 -0
  121. package/.output/public/_nuxt/Dl7rG7Hq2.js +2 -0
  122. package/.output/public/_nuxt/Dm6T9SNB2.js +21 -0
  123. package/.output/public/_nuxt/Dohdu8d12.js +1 -0
  124. package/.output/public/_nuxt/Doq41eJy.js +2 -0
  125. package/.output/public/_nuxt/DovhAwIT.js +1 -0
  126. package/.output/public/_nuxt/DracmDVV.js +1 -0
  127. package/.output/public/_nuxt/DtyNHGs4.js +1 -0
  128. package/.output/public/_nuxt/Dv_TdrKd.js +1 -0
  129. package/.output/public/_nuxt/DxJ6PTNR.js +1 -0
  130. package/.output/public/_nuxt/Dxv5_22i2.js +1 -0
  131. package/.output/public/_nuxt/G1K8VZQt.js +1 -0
  132. package/.output/public/_nuxt/HfneUVkx2.js +3 -0
  133. package/.output/public/_nuxt/HrXqvs1O.js +1 -0
  134. package/.output/public/_nuxt/HxXjP7bL2.js +1 -0
  135. package/.output/public/_nuxt/JqU7golh.js +47 -0
  136. package/.output/public/_nuxt/K2YSPQsi.js +50 -0
  137. package/.output/public/_nuxt/KR4VvePG.js +1 -0
  138. package/.output/public/_nuxt/KTH9lz1E2.js +17 -0
  139. package/.output/public/_nuxt/Kn5OF8Y7.js +1 -0
  140. package/.output/public/_nuxt/LMQ2utjv2.js +1 -0
  141. package/.output/public/_nuxt/QTLvdDzn2.js +1 -0
  142. package/.output/public/_nuxt/VG4rChGw2.js +3 -0
  143. package/.output/public/_nuxt/VNOFljun2.js +1 -0
  144. package/.output/public/_nuxt/WNc_Z7F32.js +1 -0
  145. package/.output/public/_nuxt/XYrN2GHp.js +1 -0
  146. package/.output/public/_nuxt/Z6SpVcb8.js +1 -0
  147. package/.output/public/_nuxt/ZJYIjGtm.js +1 -0
  148. package/.output/public/_nuxt/Zg86Znhm.js +1 -0
  149. package/.output/public/_nuxt/_wsId_.CdHsMXq8.css +1 -0
  150. package/.output/public/_nuxt/bsN2d8on2.js +3 -0
  151. package/.output/public/_nuxt/builds/latest.json +1 -1
  152. package/.output/public/_nuxt/builds/meta/bb9acfff-5b56-45c5-ad03-b0b9bac9f9bf.json +1 -0
  153. package/.output/public/_nuxt/console.4_M5NmXb.css +1 -0
  154. package/.output/public/_nuxt/default.COoLLzqi.css +1 -0
  155. package/.output/public/_nuxt/dqGRm7ED.js +1 -0
  156. package/.output/public/_nuxt/entry.CugUlQoS.css +1 -0
  157. package/.output/public/_nuxt/fZQgGVo3.js +1 -0
  158. package/.output/public/_nuxt/g7ANvdCo.js +1 -0
  159. package/.output/public/_nuxt/ihfX8Nh62.js +1 -0
  160. package/.output/public/_nuxt/kHg1zPaW2.js +1 -0
  161. package/.output/public/_nuxt/ki9Yu1lK2.js +1 -0
  162. package/.output/public/_nuxt/mDPMuZ-R.js +1 -0
  163. package/.output/public/_nuxt/mIpbph9b.js +1 -0
  164. package/.output/public/_nuxt/nmVNYBvU.js +1 -0
  165. package/.output/public/_nuxt/oTXXUseu2.js +1 -0
  166. package/.output/public/_nuxt/p6eO6Ww8.js +1 -0
  167. package/.output/public/_nuxt/pages.Df6zMxmA.css +1 -0
  168. package/.output/public/_nuxt/plugins.9ORPMvMe.css +1 -0
  169. package/.output/public/_nuxt/r_v_d_DS.js +1 -0
  170. package/.output/public/_nuxt/sbOy-Yn42.js +1 -0
  171. package/.output/public/_nuxt/u6Je5zzK.js +1 -0
  172. package/.output/public/_nuxt/uXi8rgHf.js +1 -0
  173. package/.output/public/_nuxt/utdlUpAF.js +1 -0
  174. package/.output/public/_nuxt/vJsewsrg2.js +1 -0
  175. package/.output/public/_nuxt/wSbvyCs9.js +1 -0
  176. package/.output/server/chunks/_/LeftOutlined.mjs +1 -1
  177. package/.output/server/chunks/_/LeftOutlined.mjs.map +1 -1
  178. package/.output/server/chunks/_/RightOutlined.mjs +1 -1
  179. package/.output/server/chunks/_/RightOutlined.mjs.map +1 -1
  180. package/.output/server/chunks/_/SearchOutlined.mjs +14 -14
  181. package/.output/server/chunks/_/SearchOutlined.mjs.map +1 -1
  182. package/.output/server/chunks/_/access.mjs +1 -1
  183. package/.output/server/chunks/_/bench-run.mjs +238 -0
  184. package/.output/server/chunks/_/bench-run.mjs.map +1 -0
  185. package/.output/server/chunks/_/binding-authz.mjs +1 -1
  186. package/.output/server/chunks/_/catalog-view.mjs +1 -1
  187. package/.output/server/chunks/_/character-asset.repo.mjs +1 -1
  188. package/.output/server/chunks/_/chart-repo.mjs +1 -1
  189. package/.output/server/chunks/_/dashboard-repo.mjs +1 -1
  190. package/.output/server/chunks/_/data-export.mjs +6 -6
  191. package/.output/server/chunks/_/data-query.mjs +3 -3
  192. package/.output/server/chunks/_/eda-run.repo.mjs +2 -2
  193. package/.output/server/chunks/_/entity.mjs +1 -1
  194. package/.output/server/chunks/_/error-500.mjs.map +1 -1
  195. package/.output/server/chunks/_/features.mjs +5 -5
  196. package/.output/server/chunks/_/golden.mjs +3 -3
  197. package/.output/server/chunks/_/host-bindings.mjs +1 -1
  198. package/.output/server/chunks/_/index.mjs +1 -1
  199. package/.output/server/chunks/_/line-scope.mjs +1 -1
  200. package/.output/server/chunks/_/mes-console.mjs +1 -1
  201. package/.output/server/chunks/_/mes-secrets.repo.mjs +1 -1
  202. package/.output/server/chunks/_/mes-templates.mjs +1 -1
  203. package/.output/server/chunks/_/nitro.mjs +4505 -3764
  204. package/.output/server/chunks/_/nitro.mjs.map +1 -1
  205. package/.output/server/chunks/_/ocap.mjs +1 -1
  206. package/.output/server/chunks/_/promote.mjs +107 -98
  207. package/.output/server/chunks/_/promote.mjs.map +1 -1
  208. package/.output/server/chunks/_/rest-auth.mjs +1 -1
  209. package/.output/server/chunks/_/scene-layout.repo.mjs +1 -1
  210. package/.output/server/chunks/_/spc.mjs +2 -2
  211. package/.output/server/chunks/build/AuthGate-CVArsRqh.mjs +716 -0
  212. package/.output/server/chunks/build/AuthGate-CVArsRqh.mjs.map +1 -0
  213. package/.output/server/chunks/build/AwStateBlock-BpEjyHDS.mjs +61 -0
  214. package/.output/server/chunks/build/AwStateBlock-BpEjyHDS.mjs.map +1 -0
  215. package/.output/server/chunks/build/FormItemContext-DPdDtHDU.mjs +72 -0
  216. package/.output/server/chunks/build/FormItemContext-DPdDtHDU.mjs.map +1 -0
  217. package/.output/server/chunks/build/LoginModal-EADja2wD.mjs +193 -0
  218. package/.output/server/chunks/build/LoginModal-EADja2wD.mjs.map +1 -0
  219. package/.output/server/chunks/build/OmpTerminalPanel-C1hb8i_8.mjs +947 -0
  220. package/.output/server/chunks/build/OmpTerminalPanel-C1hb8i_8.mjs.map +1 -0
  221. package/.output/server/chunks/build/PluginSlot-CGwo_Wf0.mjs +141 -0
  222. package/.output/server/chunks/build/PluginSlot-CGwo_Wf0.mjs.map +1 -0
  223. package/.output/server/chunks/build/TownView-CVs95J1e.mjs +6517 -0
  224. package/.output/server/chunks/build/TownView-CVs95J1e.mjs.map +1 -0
  225. package/.output/server/chunks/build/_id_-BvZOUCEd.mjs +2117 -0
  226. package/.output/server/chunks/build/_id_-BvZOUCEd.mjs.map +1 -0
  227. package/.output/server/chunks/build/_id_-DZvtPD6o.mjs +995 -0
  228. package/.output/server/chunks/build/_id_-DZvtPD6o.mjs.map +1 -0
  229. package/.output/server/chunks/build/_id_-lbysRTMw.mjs +397 -0
  230. package/.output/server/chunks/build/_id_-lbysRTMw.mjs.map +1 -0
  231. package/.output/server/chunks/build/_wsId_-CHsbA5dh.mjs +14718 -0
  232. package/.output/server/chunks/build/_wsId_-CHsbA5dh.mjs.map +1 -0
  233. package/.output/server/chunks/build/agents-Q_ft5Km9.mjs +1081 -0
  234. package/.output/server/chunks/build/agents-Q_ft5Km9.mjs.map +1 -0
  235. package/.output/server/chunks/build/alert-CsC_K9Nw.mjs +263 -0
  236. package/.output/server/chunks/build/alert-CsC_K9Nw.mjs.map +1 -0
  237. package/.output/server/chunks/build/aml-D-2x5Sq4.mjs +816 -0
  238. package/.output/server/chunks/build/aml-D-2x5Sq4.mjs.map +1 -0
  239. package/.output/server/chunks/build/analysis-38C15jom.mjs +564 -0
  240. package/.output/server/chunks/build/analysis-38C15jom.mjs.map +1 -0
  241. package/.output/server/chunks/build/api-Df-czf_i.mjs +55 -0
  242. package/.output/server/chunks/build/api-Df-czf_i.mjs.map +1 -0
  243. package/.output/server/chunks/build/api-HRrtKcKa.mjs +66 -0
  244. package/.output/server/chunks/build/api-HRrtKcKa.mjs.map +1 -0
  245. package/.output/server/chunks/build/api-IzQBMZMJ.mjs +74 -0
  246. package/.output/server/chunks/build/api-IzQBMZMJ.mjs.map +1 -0
  247. package/.output/server/chunks/build/api-error-BaLEQco3.mjs +47 -0
  248. package/.output/server/chunks/build/api-error-BaLEQco3.mjs.map +1 -0
  249. package/.output/server/chunks/build/apiClient-7RwdBO0s.mjs +85 -0
  250. package/.output/server/chunks/build/apiClient-7RwdBO0s.mjs.map +1 -0
  251. package/.output/server/chunks/build/board-DNPFOLeV.mjs +191 -0
  252. package/.output/server/chunks/build/board-DNPFOLeV.mjs.map +1 -0
  253. package/.output/server/chunks/build/builtin-catalog-edpDcgfL.mjs.map +1 -0
  254. package/.output/server/chunks/build/card-ChtAnAY8.mjs +953 -0
  255. package/.output/server/chunks/build/card-ChtAnAY8.mjs.map +1 -0
  256. package/.output/server/chunks/build/channel-templates-CdTAQUAR.mjs +945 -0
  257. package/.output/server/chunks/build/channel-templates-CdTAQUAR.mjs.map +1 -0
  258. package/.output/server/chunks/build/chart-pipeline-BpoWYMK_.mjs.map +1 -0
  259. package/.output/server/chunks/build/chart-trend-BWeZh5Lv.mjs.map +1 -0
  260. package/.output/server/chunks/build/checkbox-DsXmfwiE.mjs +439 -0
  261. package/.output/server/chunks/build/checkbox-DsXmfwiE.mjs.map +1 -0
  262. package/.output/server/chunks/build/client-only-BUKmHebi.mjs +43 -0
  263. package/.output/server/chunks/build/client-only-BUKmHebi.mjs.map +1 -0
  264. package/.output/server/chunks/build/console-BEEK_hMQ.mjs +95 -0
  265. package/.output/server/chunks/build/console-BEEK_hMQ.mjs.map +1 -0
  266. package/.output/server/chunks/build/constants-HPHJvjne.mjs +144 -0
  267. package/.output/server/chunks/build/constants-HPHJvjne.mjs.map +1 -0
  268. package/.output/server/chunks/build/core-CgTOPS4t.mjs +294 -0
  269. package/.output/server/chunks/build/core-CgTOPS4t.mjs.map +1 -0
  270. package/.output/server/chunks/build/daq-CHmBvYUe.mjs +1318 -0
  271. package/.output/server/chunks/build/daq-CHmBvYUe.mjs.map +1 -0
  272. package/.output/server/chunks/build/data-nKKtlxyP.mjs +486 -0
  273. package/.output/server/chunks/build/data-nKKtlxyP.mjs.map +1 -0
  274. package/.output/server/chunks/build/dcw-BHyfWofK.mjs +507 -0
  275. package/.output/server/chunks/build/dcw-BHyfWofK.mjs.map +1 -0
  276. package/.output/server/chunks/build/dcw-driver-badge-Df5wL_ZA.mjs.map +1 -0
  277. package/.output/server/chunks/build/default-CsmQv0m6.mjs +2230 -0
  278. package/.output/server/chunks/build/default-CsmQv0m6.mjs.map +1 -0
  279. package/.output/server/chunks/build/descriptions-CDxe1-je.mjs +406 -0
  280. package/.output/server/chunks/build/descriptions-CDxe1-je.mjs.map +1 -0
  281. package/.output/server/chunks/build/drawer-Dh2c0jda.mjs +834 -0
  282. package/.output/server/chunks/build/drawer-Dh2c0jda.mjs.map +1 -0
  283. package/.output/server/chunks/build/dropdown-C1zqgDYM.mjs +14 -0
  284. package/.output/server/chunks/build/dropdown-C1zqgDYM.mjs.map +1 -0
  285. package/.output/server/chunks/build/dropdown-CcQV25EL.mjs +540 -0
  286. package/.output/server/chunks/build/dropdown-CcQV25EL.mjs.map +1 -0
  287. package/.output/server/chunks/build/es-DHnUVWGO.mjs +45 -0
  288. package/.output/server/chunks/build/es-DHnUVWGO.mjs.map +1 -0
  289. package/.output/server/chunks/build/firstNotUndefined-BCIikpmu.mjs +2448 -0
  290. package/.output/server/chunks/build/firstNotUndefined-BCIikpmu.mjs.map +1 -0
  291. package/.output/server/chunks/build/form-xN5zrmMn.mjs +4712 -0
  292. package/.output/server/chunks/build/form-xN5zrmMn.mjs.map +1 -0
  293. package/.output/server/chunks/build/hasIn-DE_sCqne.mjs +553 -0
  294. package/.output/server/chunks/build/hasIn-DE_sCqne.mjs.map +1 -0
  295. package/.output/server/chunks/build/hitl-D5XsnqQb.mjs +132 -0
  296. package/.output/server/chunks/build/hitl-D5XsnqQb.mjs.map +1 -0
  297. package/.output/server/chunks/build/input-Br1cUgLv.mjs +2181 -0
  298. package/.output/server/chunks/build/input-Br1cUgLv.mjs.map +1 -0
  299. package/.output/server/chunks/build/input-number-5feFbAE9.mjs +1120 -0
  300. package/.output/server/chunks/build/input-number-5feFbAE9.mjs.map +1 -0
  301. package/.output/server/chunks/build/interval-BCAxGvmX.mjs +9 -0
  302. package/.output/server/chunks/build/interval-BCAxGvmX.mjs.map +1 -0
  303. package/.output/server/chunks/build/isNumeric-CP7q_yhz.mjs +7 -0
  304. package/.output/server/chunks/build/isNumeric-CP7q_yhz.mjs.map +1 -0
  305. package/.output/server/chunks/build/logs-CjbJ7gU2.mjs +494 -0
  306. package/.output/server/chunks/build/logs-CjbJ7gU2.mjs.map +1 -0
  307. package/.output/server/chunks/build/markdown-DGPyLniR.mjs.map +1 -0
  308. package/.output/server/chunks/build/menu-BOj54t5S.mjs +1952 -0
  309. package/.output/server/chunks/build/menu-BOj54t5S.mjs.map +1 -0
  310. package/.output/server/chunks/build/monitor-Cskn_GJl.mjs +2258 -0
  311. package/.output/server/chunks/build/monitor-Cskn_GJl.mjs.map +1 -0
  312. package/.output/server/chunks/build/narrow-fetch-CcG-BPxc.mjs.map +1 -0
  313. package/.output/server/chunks/build/ontology-J8O70SYf.mjs +1514 -0
  314. package/.output/server/chunks/build/ontology-J8O70SYf.mjs.map +1 -0
  315. package/.output/server/chunks/build/operations-C51vjLtz.mjs +322 -0
  316. package/.output/server/chunks/build/operations-C51vjLtz.mjs.map +1 -0
  317. package/.output/server/chunks/build/optimizer-ORaRwBhU.mjs +2314 -0
  318. package/.output/server/chunks/build/optimizer-ORaRwBhU.mjs.map +1 -0
  319. package/.output/server/chunks/build/pages-Dk7ezeln.mjs +632 -0
  320. package/.output/server/chunks/build/pages-Dk7ezeln.mjs.map +1 -0
  321. package/.output/server/chunks/build/pagination-5Ll6FtcS.mjs +1346 -0
  322. package/.output/server/chunks/build/pagination-5Ll6FtcS.mjs.map +1 -0
  323. package/.output/server/chunks/build/permissions-CdGoyLMa.mjs +666 -0
  324. package/.output/server/chunks/build/permissions-CdGoyLMa.mjs.map +1 -0
  325. package/.output/server/chunks/build/pipeline-cclcCyet.mjs +253 -0
  326. package/.output/server/chunks/build/pipeline-cclcCyet.mjs.map +1 -0
  327. package/.output/server/chunks/build/plugins-C5sAfdnO.mjs +296 -0
  328. package/.output/server/chunks/build/plugins-C5sAfdnO.mjs.map +1 -0
  329. package/.output/server/chunks/build/popconfirm-C7miRILY.mjs +340 -0
  330. package/.output/server/chunks/build/popconfirm-C7miRILY.mjs.map +1 -0
  331. package/.output/server/chunks/build/progress-DELOqHis.mjs +775 -0
  332. package/.output/server/chunks/build/progress-DELOqHis.mjs.map +1 -0
  333. package/.output/server/chunks/build/projects-Dz0yWQby.mjs +345 -0
  334. package/.output/server/chunks/build/projects-Dz0yWQby.mjs.map +1 -0
  335. package/.output/server/chunks/build/radio-CtL-_McO.mjs +919 -0
  336. package/.output/server/chunks/build/radio-CtL-_McO.mjs.map +1 -0
  337. package/.output/server/chunks/build/responsiveObserve-D9pLmNic.mjs +78 -0
  338. package/.output/server/chunks/build/responsiveObserve-D9pLmNic.mjs.map +1 -0
  339. package/.output/server/chunks/build/schedules-CmCce7s0.mjs +7176 -0
  340. package/.output/server/chunks/build/schedules-CmCce7s0.mjs.map +1 -0
  341. package/.output/server/chunks/build/segmented-poC9NSAx.mjs +341 -0
  342. package/.output/server/chunks/build/segmented-poC9NSAx.mjs.map +1 -0
  343. package/.output/server/chunks/build/select-CstBoVcG.mjs +3923 -0
  344. package/.output/server/chunks/build/select-CstBoVcG.mjs.map +1 -0
  345. package/.output/server/chunks/build/settings-DkzpJlFn.mjs +1042 -0
  346. package/.output/server/chunks/build/settings-DkzpJlFn.mjs.map +1 -0
  347. package/.output/server/chunks/build/space-okEGhIyS.mjs +110 -0
  348. package/.output/server/chunks/build/space-okEGhIyS.mjs.map +1 -0
  349. package/.output/server/chunks/build/spin-CDG1rIzG.mjs +357 -0
  350. package/.output/server/chunks/build/spin-CDG1rIzG.mjs.map +1 -0
  351. package/.output/server/chunks/build/studio-YiPdFjbb.mjs +381 -0
  352. package/.output/server/chunks/build/studio-YiPdFjbb.mjs.map +1 -0
  353. package/.output/server/chunks/build/switch-qIric1Tc.mjs +377 -0
  354. package/.output/server/chunks/build/switch-qIric1Tc.mjs.map +1 -0
  355. package/.output/server/chunks/build/table-Z50Z2Yif.mjs +7546 -0
  356. package/.output/server/chunks/build/table-Z50Z2Yif.mjs.map +1 -0
  357. package/.output/server/chunks/build/tabs-oKVlttuk.mjs +1916 -0
  358. package/.output/server/chunks/build/tabs-oKVlttuk.mjs.map +1 -0
  359. package/.output/server/chunks/build/tag-BGRVn_Yy.mjs +242 -0
  360. package/.output/server/chunks/build/tag-BGRVn_Yy.mjs.map +1 -0
  361. package/.output/server/chunks/build/teams-34kSPnNR.mjs +1206 -0
  362. package/.output/server/chunks/build/teams-34kSPnNR.mjs.map +1 -0
  363. package/.output/server/chunks/build/tokens-U7fBP7FK.mjs +1066 -0
  364. package/.output/server/chunks/build/tokens-U7fBP7FK.mjs.map +1 -0
  365. package/.output/server/chunks/build/tools-D5hv9UPT.mjs +499 -0
  366. package/.output/server/chunks/build/tools-D5hv9UPT.mjs.map +1 -0
  367. package/.output/server/chunks/build/tooltip-VXZQX4WT.mjs +920 -0
  368. package/.output/server/chunks/build/tooltip-VXZQX4WT.mjs.map +1 -0
  369. package/.output/server/chunks/build/town-DNjBpMDG.mjs +144 -0
  370. package/.output/server/chunks/build/town-DNjBpMDG.mjs.map +1 -0
  371. package/.output/server/chunks/build/town-pIgFRdcR.mjs +77 -0
  372. package/.output/server/chunks/build/town-pIgFRdcR.mjs.map +1 -0
  373. package/.output/server/chunks/build/types-D6J7slEa.mjs +5565 -0
  374. package/.output/server/chunks/build/types-D6J7slEa.mjs.map +1 -0
  375. package/.output/server/chunks/build/types-DWqIeMRP.mjs +78 -0
  376. package/.output/server/chunks/build/types-DWqIeMRP.mjs.map +1 -0
  377. package/.output/server/chunks/build/useAgentHarnessOptions-CT09STKh.mjs +131 -0
  378. package/.output/server/chunks/build/useAgentHarnessOptions-CT09STKh.mjs.map +1 -0
  379. package/.output/server/chunks/build/useAgentTemplateActions-Dow5hwvL.mjs +79 -0
  380. package/.output/server/chunks/build/useAgentTemplateActions-Dow5hwvL.mjs.map +1 -0
  381. package/.output/server/chunks/build/useAgentTemplateDialogState-CZzpu5og.mjs +69 -0
  382. package/.output/server/chunks/build/useAgentTemplateDialogState-CZzpu5og.mjs.map +1 -0
  383. package/.output/server/chunks/build/useAgentTemplateForm-ECU1KzTu.mjs +119 -0
  384. package/.output/server/chunks/build/useAgentTemplateForm-ECU1KzTu.mjs.map +1 -0
  385. package/.output/server/chunks/build/useAgentTemplatesCatalog-BTz9t8A1.mjs +135 -0
  386. package/.output/server/chunks/build/useAgentTemplatesCatalog-BTz9t8A1.mjs.map +1 -0
  387. package/.output/server/chunks/build/useAmlDatasets-D93EfmnI.mjs +94 -0
  388. package/.output/server/chunks/build/useAmlDatasets-D93EfmnI.mjs.map +1 -0
  389. package/.output/server/chunks/build/useAmlEntities-gp1Y2Hf9.mjs +88 -0
  390. package/.output/server/chunks/build/useAmlEntities-gp1Y2Hf9.mjs.map +1 -0
  391. package/.output/server/chunks/build/useAmlEnv-C7UpSmbS.mjs +196 -0
  392. package/.output/server/chunks/build/useAmlEnv-C7UpSmbS.mjs.map +1 -0
  393. package/.output/server/chunks/build/useAmlExperiments-BGQb7Nks.mjs +91 -0
  394. package/.output/server/chunks/build/useAmlExperiments-BGQb7Nks.mjs.map +1 -0
  395. package/.output/server/chunks/build/useAmlFormat-DNrSqItx.mjs +84 -0
  396. package/.output/server/chunks/build/useAmlFormat-DNrSqItx.mjs.map +1 -0
  397. package/.output/server/chunks/build/useAmlJobs-Ckcv6ZTm.mjs +269 -0
  398. package/.output/server/chunks/build/useAmlJobs-Ckcv6ZTm.mjs.map +1 -0
  399. package/.output/server/chunks/build/useAmlModels-Bpjzkk3P.mjs +95 -0
  400. package/.output/server/chunks/build/useAmlModels-Bpjzkk3P.mjs.map +1 -0
  401. package/.output/server/chunks/build/useAmlNotes-D40lI7EK.mjs +88 -0
  402. package/.output/server/chunks/build/useAmlNotes-D40lI7EK.mjs.map +1 -0
  403. package/.output/server/chunks/build/useAmlPredict-D6NWy4-4.mjs +132 -0
  404. package/.output/server/chunks/build/useAmlPredict-D6NWy4-4.mjs.map +1 -0
  405. package/.output/server/chunks/build/useAnalysisFeed-BQNHGxRv.mjs +131 -0
  406. package/.output/server/chunks/build/useAnalysisFeed-BQNHGxRv.mjs.map +1 -0
  407. package/.output/server/chunks/build/useChartTheme-EmZwLO3z.mjs +74 -0
  408. package/.output/server/chunks/build/useChartTheme-EmZwLO3z.mjs.map +1 -0
  409. package/.output/server/chunks/build/useDaqAddNode-CR0CHC6n.mjs +144 -0
  410. package/.output/server/chunks/build/useDaqAddNode-CR0CHC6n.mjs.map +1 -0
  411. package/.output/server/chunks/build/useDaqDetailBinding-DCtpiwa7.mjs +72 -0
  412. package/.output/server/chunks/build/useDaqDetailBinding-DCtpiwa7.mjs.map +1 -0
  413. package/.output/server/chunks/build/useDaqDetailFrames-AElLs2A9.mjs +81 -0
  414. package/.output/server/chunks/build/useDaqDetailFrames-AElLs2A9.mjs.map +1 -0
  415. package/.output/server/chunks/build/useDaqDetailHistory-CiDmLkh9.mjs +178 -0
  416. package/.output/server/chunks/build/useDaqDetailHistory-CiDmLkh9.mjs.map +1 -0
  417. package/.output/server/chunks/build/useDaqDetailNode-CFeZW8_0.mjs +101 -0
  418. package/.output/server/chunks/build/useDaqDetailNode-CFeZW8_0.mjs.map +1 -0
  419. package/.output/server/chunks/build/useDaqDetailParams-Cf7bvldj.mjs +161 -0
  420. package/.output/server/chunks/build/useDaqDetailParams-Cf7bvldj.mjs.map +1 -0
  421. package/.output/server/chunks/build/useDaqFilters-Jc3Yvnvp.mjs +224 -0
  422. package/.output/server/chunks/build/useDaqFilters-Jc3Yvnvp.mjs.map +1 -0
  423. package/.output/server/chunks/build/useDaqNodeWindow-1DWj2H5G.mjs +92 -0
  424. package/.output/server/chunks/build/useDaqNodeWindow-1DWj2H5G.mjs.map +1 -0
  425. package/.output/server/chunks/build/useDaqOptimizations-XXsmmTX1.mjs +143 -0
  426. package/.output/server/chunks/build/useDaqOptimizations-XXsmmTX1.mjs.map +1 -0
  427. package/.output/server/chunks/build/useDaqStream-VyWcd2r7.mjs +399 -0
  428. package/.output/server/chunks/build/useDaqStream-VyWcd2r7.mjs.map +1 -0
  429. package/.output/server/chunks/build/useDaqTemplates-Bx6bslXr.mjs +189 -0
  430. package/.output/server/chunks/build/useDaqTemplates-Bx6bslXr.mjs.map +1 -0
  431. package/.output/server/chunks/build/useDashboardCharts-D_GnEy_4.mjs +361 -0
  432. package/.output/server/chunks/build/useDashboardCharts-D_GnEy_4.mjs.map +1 -0
  433. package/.output/server/chunks/build/useDashboardData-BetrFR83.mjs +150 -0
  434. package/.output/server/chunks/build/useDashboardData-BetrFR83.mjs.map +1 -0
  435. package/.output/server/chunks/build/useDcwAddNode-9JON3TT4.mjs +221 -0
  436. package/.output/server/chunks/build/useDcwAddNode-9JON3TT4.mjs.map +1 -0
  437. package/.output/server/chunks/build/useDcwCards-B-clWX-D.mjs +69 -0
  438. package/.output/server/chunks/build/useDcwCards-B-clWX-D.mjs.map +1 -0
  439. package/.output/server/chunks/build/useDcwDetailScope-Dtu4Jrs6.mjs +186 -0
  440. package/.output/server/chunks/build/useDcwDetailScope-Dtu4Jrs6.mjs.map +1 -0
  441. package/.output/server/chunks/build/useDcwDetailTemplates-PWt1Pqbg.mjs +150 -0
  442. package/.output/server/chunks/build/useDcwDetailTemplates-PWt1Pqbg.mjs.map +1 -0
  443. package/.output/server/chunks/build/useDcwFilter-nPJAnsVA.mjs +73 -0
  444. package/.output/server/chunks/build/useDcwFilter-nPJAnsVA.mjs.map +1 -0
  445. package/.output/server/chunks/build/useDcwLedger-Msps7jXy.mjs +81 -0
  446. package/.output/server/chunks/build/useDcwLedger-Msps7jXy.mjs.map +1 -0
  447. package/.output/server/chunks/build/useDcwLineMutations-D7YD907n.mjs +139 -0
  448. package/.output/server/chunks/build/useDcwLineMutations-D7YD907n.mjs.map +1 -0
  449. package/.output/server/chunks/build/useDcwLineRun-9WCmJx4g.mjs +106 -0
  450. package/.output/server/chunks/build/useDcwLineRun-9WCmJx4g.mjs.map +1 -0
  451. package/.output/server/chunks/build/useDcwParamApprovals-iByaVrKs.mjs +123 -0
  452. package/.output/server/chunks/build/useDcwParamApprovals-iByaVrKs.mjs.map +1 -0
  453. package/.output/server/chunks/build/useDcwProducts-AwAsI_ox.mjs +95 -0
  454. package/.output/server/chunks/build/useDcwProducts-AwAsI_ox.mjs.map +1 -0
  455. package/.output/server/chunks/build/useDcwQuery-C5Db3jFo.mjs +100 -0
  456. package/.output/server/chunks/build/useDcwQuery-C5Db3jFo.mjs.map +1 -0
  457. package/.output/server/chunks/build/useDcwQuickActions-wz2Qw5dR.mjs +90 -0
  458. package/.output/server/chunks/build/useDcwQuickActions-wz2Qw5dR.mjs.map +1 -0
  459. package/.output/server/chunks/build/useDcwRecipes-DD0AaLSQ.mjs +264 -0
  460. package/.output/server/chunks/build/useDcwRecipes-DD0AaLSQ.mjs.map +1 -0
  461. package/.output/server/chunks/build/useDcwStream-B75Dcx5J.mjs +470 -0
  462. package/.output/server/chunks/build/useDcwStream-B75Dcx5J.mjs.map +1 -0
  463. package/.output/server/chunks/build/useDcwTemplates-WgCFrqe7.mjs +93 -0
  464. package/.output/server/chunks/build/useDcwTemplates-WgCFrqe7.mjs.map +1 -0
  465. package/.output/server/chunks/build/useDcwWrites-Cpd13WV2.mjs +142 -0
  466. package/.output/server/chunks/build/useDcwWrites-Cpd13WV2.mjs.map +1 -0
  467. package/.output/server/chunks/build/useDeviceTwins-LthzVrK2.mjs +128 -0
  468. package/.output/server/chunks/build/useDeviceTwins-LthzVrK2.mjs.map +1 -0
  469. package/.output/server/chunks/build/useExpConfirmations-CTAc3ORW.mjs +109 -0
  470. package/.output/server/chunks/build/useExpConfirmations-CTAc3ORW.mjs.map +1 -0
  471. package/.output/server/chunks/build/useLocalTime-CseMvVFv.mjs +55 -0
  472. package/.output/server/chunks/build/useLocalTime-CseMvVFv.mjs.map +1 -0
  473. package/.output/server/chunks/build/useLogsFormat-jAfh97vI.mjs +79 -0
  474. package/.output/server/chunks/build/useLogsFormat-jAfh97vI.mjs.map +1 -0
  475. package/.output/server/chunks/build/useLogsManual-Db8q3Fm9.mjs +91 -0
  476. package/.output/server/chunks/build/useLogsManual-Db8q3Fm9.mjs.map +1 -0
  477. package/.output/server/chunks/build/useLogsQuery-CjHZ1X3d.mjs +152 -0
  478. package/.output/server/chunks/build/useLogsQuery-CjHZ1X3d.mjs.map +1 -0
  479. package/.output/server/chunks/build/useLogsScope-cJFmDRQw.mjs +85 -0
  480. package/.output/server/chunks/build/useLogsScope-cJFmDRQw.mjs.map +1 -0
  481. package/.output/server/chunks/build/useMonitorColumns-CrhSWAlw.mjs +219 -0
  482. package/.output/server/chunks/build/useMonitorColumns-CrhSWAlw.mjs.map +1 -0
  483. package/.output/server/chunks/build/useMonitorData-BvL0Zqn_.mjs +140 -0
  484. package/.output/server/chunks/build/useMonitorData-BvL0Zqn_.mjs.map +1 -0
  485. package/.output/server/chunks/build/useMonitorFormat-16vNitrH.mjs +93 -0
  486. package/.output/server/chunks/build/useMonitorFormat-16vNitrH.mjs.map +1 -0
  487. package/.output/server/chunks/build/useMonitorTerminal-Dj4QwRNW.mjs +73 -0
  488. package/.output/server/chunks/build/useMonitorTerminal-Dj4QwRNW.mjs.map +1 -0
  489. package/.output/server/chunks/build/useOperationsFeed-C2Jjo44C.mjs +197 -0
  490. package/.output/server/chunks/build/useOperationsFeed-C2Jjo44C.mjs.map +1 -0
  491. package/.output/server/chunks/build/useOpsLog-1c_ExoYx.mjs +149 -0
  492. package/.output/server/chunks/build/useOpsLog-1c_ExoYx.mjs.map +1 -0
  493. package/.output/server/chunks/build/useRecipeDispatchApprovals-BeC0KTb3.mjs +158 -0
  494. package/.output/server/chunks/build/useRecipeDispatchApprovals-BeC0KTb3.mjs.map +1 -0
  495. package/.output/server/chunks/build/useRefs-BmvmJTzb.mjs +13 -0
  496. package/.output/server/chunks/build/useRefs-BmvmJTzb.mjs.map +1 -0
  497. package/.output/server/chunks/build/useResponsive-BKDMGTHs.mjs.map +1 -0
  498. package/.output/server/chunks/build/useTeamActions-DHHVeyY3.mjs +81 -0
  499. package/.output/server/chunks/build/useTeamActions-DHHVeyY3.mjs.map +1 -0
  500. package/.output/server/chunks/build/useTeamAddMemberDialog-BqkjbIG_.mjs +86 -0
  501. package/.output/server/chunks/build/useTeamAddMemberDialog-BqkjbIG_.mjs.map +1 -0
  502. package/.output/server/chunks/build/useTeamCreateDialog-C9044r4a.mjs +99 -0
  503. package/.output/server/chunks/build/useTeamCreateDialog-C9044r4a.mjs.map +1 -0
  504. package/.output/server/chunks/build/useTeamDeployDialog-DZoKxKBH.mjs +82 -0
  505. package/.output/server/chunks/build/useTeamDeployDialog-DZoKxKBH.mjs.map +1 -0
  506. package/.output/server/chunks/build/useTeamDialogState-CFRUQxAf.mjs +84 -0
  507. package/.output/server/chunks/build/useTeamDialogState-CFRUQxAf.mjs.map +1 -0
  508. package/.output/server/chunks/build/useTeamPluginDialog-C4V_YUsx.mjs +105 -0
  509. package/.output/server/chunks/build/useTeamPluginDialog-C4V_YUsx.mjs.map +1 -0
  510. package/.output/server/chunks/build/useTeamsCatalog-CTi4gpPV.mjs +125 -0
  511. package/.output/server/chunks/build/useTeamsCatalog-CTi4gpPV.mjs.map +1 -0
  512. package/.output/server/chunks/build/useTokenClipboard-CwQpoFeP.mjs +74 -0
  513. package/.output/server/chunks/build/useTokenClipboard-CwQpoFeP.mjs.map +1 -0
  514. package/.output/server/chunks/build/useTokenCreate-Bf5nZGwA.mjs +117 -0
  515. package/.output/server/chunks/build/useTokenCreate-Bf5nZGwA.mjs.map +1 -0
  516. package/.output/server/chunks/build/useTokenRename--gKrWC2k.mjs +89 -0
  517. package/.output/server/chunks/build/useTokenRename--gKrWC2k.mjs.map +1 -0
  518. package/.output/server/chunks/build/useTokenReveal-CgAZNeNn.mjs +120 -0
  519. package/.output/server/chunks/build/useTokenReveal-CgAZNeNn.mjs.map +1 -0
  520. package/.output/server/chunks/build/useTokensList-DL6AKwCx.mjs +94 -0
  521. package/.output/server/chunks/build/useTokensList-DL6AKwCx.mjs.map +1 -0
  522. package/.output/server/chunks/build/useTownBus-D9SoIsAN.mjs.map +1 -0
  523. package/.output/server/chunks/build/useWorkbenchAuth-CCOHcyG_.mjs +143 -0
  524. package/.output/server/chunks/build/useWorkbenchAuth-CCOHcyG_.mjs.map +1 -0
  525. package/.output/server/chunks/build/useWorkbenchWorkspaces-5YBOhdk3.mjs +140 -0
  526. package/.output/server/chunks/build/useWorkbenchWorkspaces-5YBOhdk3.mjs.map +1 -0
  527. package/.output/server/chunks/build/useWorkshopApi-BkP1Zn2v.mjs +143 -0
  528. package/.output/server/chunks/build/useWorkshopApi-BkP1Zn2v.mjs.map +1 -0
  529. package/.output/server/chunks/build/useWorkshopWs-QISAQmXK.mjs +1399 -0
  530. package/.output/server/chunks/build/useWorkshopWs-QISAQmXK.mjs.map +1 -0
  531. package/.output/server/chunks/build/useWorkspaceAuth-6sFz3N_w.mjs +62 -0
  532. package/.output/server/chunks/build/useWorkspaceAuth-6sFz3N_w.mjs.map +1 -0
  533. package/.output/server/chunks/build/useWorkspaceChannels-fGYdbJKi.mjs +100 -0
  534. package/.output/server/chunks/build/useWorkspaceChannels-fGYdbJKi.mjs.map +1 -0
  535. package/.output/server/chunks/build/useWorkspacePanels-ZAZyEedi.mjs +80 -0
  536. package/.output/server/chunks/build/useWorkspacePanels-ZAZyEedi.mjs.map +1 -0
  537. package/.output/server/chunks/build/useWorkspaceShell-C9rDcdde.mjs +176 -0
  538. package/.output/server/chunks/build/useWorkspaceShell-C9rDcdde.mjs.map +1 -0
  539. package/.output/server/chunks/build/users-BON_nhk0.mjs +657 -0
  540. package/.output/server/chunks/build/users-BON_nhk0.mjs.map +1 -0
  541. package/.output/server/chunks/build/workshop-CMxj7VCn.mjs +549 -0
  542. package/.output/server/chunks/build/workshop-CMxj7VCn.mjs.map +1 -0
  543. package/.output/server/chunks/build/workspaces-r3ITSNI4.mjs +139 -0
  544. package/.output/server/chunks/build/workspaces-r3ITSNI4.mjs.map +1 -0
  545. package/.output/server/chunks/routes/api/index.get.mjs +1 -1
  546. package/.output/server/chunks/routes/api/index.post.mjs +1 -1
  547. package/.output/server/chunks/routes/api/mcp/workshop.mjs +1 -1
  548. package/.output/server/chunks/routes/api/system/backup/run.post.mjs +2 -2
  549. package/.output/server/chunks/routes/api/system/shutdown.post.mjs +63 -0
  550. package/.output/server/chunks/routes/api/system/shutdown.post.mjs.map +1 -0
  551. package/.output/server/chunks/routes/api/system/timezone.get.mjs +1 -1
  552. package/.output/server/chunks/routes/api/users/_id_.delete.mjs +1 -1
  553. package/.output/server/chunks/routes/api/users/_id_.get.mjs +1 -1
  554. package/.output/server/chunks/routes/api/users/_id_.put.mjs +1 -1
  555. package/.output/server/chunks/routes/api/users/change-password.post.mjs +1 -1
  556. package/.output/server/chunks/routes/api/users/index.get.mjs +1 -1
  557. package/.output/server/chunks/routes/api/users/index.post.mjs +1 -1
  558. package/.output/server/chunks/routes/api/users/login.post.mjs +1 -1
  559. package/.output/server/chunks/routes/api/users/logout.post.mjs +1 -1
  560. package/.output/server/chunks/routes/api/users/me.get.mjs +1 -1
  561. package/.output/server/chunks/routes/api/users/register.post.mjs +1 -1
  562. package/.output/server/chunks/routes/api/users/setup-status.get.mjs +1 -1
  563. package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs +1 -1
  564. package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs +1 -1
  565. package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs +1 -1
  566. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs +1 -1
  567. package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs +1 -1
  568. package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs +10 -3
  569. package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs.map +1 -1
  570. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs +1 -1
  571. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs +1 -1
  572. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/grant.post.mjs +1 -1
  573. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/revoke.post.mjs +1 -1
  574. package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs +1 -1
  575. package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs +2 -2
  576. package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs +1 -1
  577. package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs +1 -1
  578. package/.output/server/chunks/routes/api/workshop/agent-tools/list.get.mjs +1 -1
  579. package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs +1 -1
  580. package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs +1 -1
  581. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id/preview.get.mjs +1 -1
  582. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.delete.mjs +1 -1
  583. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs +1 -1
  584. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.patch.mjs +1 -1
  585. package/.output/server/chunks/routes/api/workshop/aml/env/recheck.post.mjs +1 -1
  586. package/.output/server/chunks/routes/api/workshop/aml/env/uv.post.mjs +1 -1
  587. package/.output/server/chunks/routes/api/workshop/aml/env/venv.post.mjs +1 -1
  588. package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs +1 -1
  589. package/.output/server/chunks/routes/api/workshop/aml/index.post.mjs +1 -1
  590. package/.output/server/chunks/routes/api/workshop/aml/index2.post.mjs +1 -1
  591. package/.output/server/chunks/routes/api/workshop/aml/index3.get.mjs +1 -1
  592. package/.output/server/chunks/routes/api/workshop/aml/index3.post.mjs +1 -1
  593. package/.output/server/chunks/routes/api/workshop/aml/index4.get.mjs +1 -1
  594. package/.output/server/chunks/routes/api/workshop/aml/index5.get.mjs +1 -1
  595. package/.output/server/chunks/routes/api/workshop/aml/index6.get.mjs +1 -1
  596. package/.output/server/chunks/routes/api/workshop/aml/index7.get.mjs +1 -1
  597. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/cancel.post.mjs +1 -1
  598. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/logs.get.mjs +1 -1
  599. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/retry.post.mjs +1 -1
  600. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.delete.mjs +1 -1
  601. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.get.mjs +1 -1
  602. package/.output/server/chunks/routes/api/workshop/aml/models/_id/predict.post.mjs +1 -1
  603. package/.output/server/chunks/routes/api/workshop/aml/models/_id/promote.post.mjs +1 -1
  604. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.delete.mjs +1 -1
  605. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.patch.mjs +1 -1
  606. package/.output/server/chunks/routes/api/workshop/aml/models/index.get.mjs +1 -1
  607. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id/train.post.mjs +1 -1
  608. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.delete.mjs +1 -1
  609. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.patch.mjs +1 -1
  610. package/.output/server/chunks/routes/api/workshop/aml/training-plans/index.get.mjs +1 -1
  611. package/.output/server/chunks/routes/api/workshop/aml/twin/providers.get.mjs +1 -1
  612. package/.output/server/chunks/routes/api/workshop/analysis/_id_.delete.mjs +1 -1
  613. package/.output/server/chunks/routes/api/workshop/analysis/_id_.get.mjs +1 -1
  614. package/.output/server/chunks/routes/api/workshop/analysis/_id_.patch.mjs +1 -1
  615. package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs +15 -8
  616. package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs.map +1 -1
  617. package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs +1 -1
  618. package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs +1 -1
  619. package/.output/server/chunks/routes/api/workshop/caller.mjs +1 -1
  620. package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +2 -2
  621. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs +1 -1
  622. package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs +1 -1
  623. package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs +1 -1
  624. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs +1 -1
  625. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs +1 -1
  626. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs +1 -1
  627. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs +1 -1
  628. package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs +1 -1
  629. package/.output/server/chunks/routes/api/workshop/channels/_id/execution-mode.patch.mjs +1 -1
  630. package/.output/server/chunks/routes/api/workshop/channels/_id/harness-profiles/promote.post.mjs +6 -1
  631. package/.output/server/chunks/routes/api/workshop/channels/_id/harness-profiles/promote.post.mjs.map +1 -1
  632. package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-proposals/decide.post.mjs +48 -0
  633. package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-proposals/decide.post.mjs.map +1 -0
  634. package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs +1 -1
  635. package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs +1 -1
  636. package/.output/server/chunks/routes/api/workshop/channels/_id/index10.get.mjs +8 -11
  637. package/.output/server/chunks/routes/api/workshop/channels/_id/index10.get.mjs.map +1 -1
  638. package/.output/server/chunks/routes/api/workshop/channels/_id/index11.get.mjs +41 -0
  639. package/.output/server/chunks/routes/api/workshop/channels/_id/index11.get.mjs.map +1 -0
  640. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs +1 -1
  641. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs +29 -19
  642. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs.map +1 -1
  643. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.put.mjs +1 -1
  644. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs +6 -7
  645. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs.map +1 -1
  646. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs +23 -22
  647. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs.map +1 -1
  648. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs +9 -13
  649. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs.map +1 -1
  650. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs +22 -72
  651. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs.map +1 -1
  652. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs +14 -27
  653. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs.map +1 -1
  654. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.post.mjs +72 -7
  655. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.post.mjs.map +1 -1
  656. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs +28 -22
  657. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs.map +1 -1
  658. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.post.mjs +15 -64
  659. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.post.mjs.map +1 -1
  660. package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs +20 -38
  661. package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs.map +1 -1
  662. package/.output/server/chunks/routes/api/workshop/channels/_id/index7.post.mjs +99 -0
  663. package/.output/server/chunks/routes/api/workshop/channels/_id/index7.post.mjs.map +1 -0
  664. package/.output/server/chunks/routes/api/workshop/channels/_id/index8.get.mjs +34 -4
  665. package/.output/server/chunks/routes/api/workshop/channels/_id/index8.get.mjs.map +1 -1
  666. package/.output/server/chunks/routes/api/workshop/channels/_id/index9.get.mjs +9 -8
  667. package/.output/server/chunks/routes/api/workshop/channels/_id/index9.get.mjs.map +1 -1
  668. package/.output/server/chunks/routes/api/workshop/channels/_id/line.put.mjs +1 -1
  669. package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs +1 -1
  670. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/promote.post.mjs +2 -1
  671. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/promote.post.mjs.map +1 -1
  672. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/merge.post.mjs +48 -0
  673. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/merge.post.mjs.map +1 -0
  674. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/close.post.mjs +2 -2
  675. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/close.post.mjs.map +1 -1
  676. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/messages.post.mjs +4 -3
  677. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/messages.post.mjs.map +1 -1
  678. package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs +1 -1
  679. package/.output/server/chunks/routes/api/workshop/channels/_id/tool-usage.get.mjs +92 -0
  680. package/.output/server/chunks/routes/api/workshop/channels/_id/tool-usage.get.mjs.map +1 -0
  681. package/.output/server/chunks/routes/api/workshop/channels/_id/tools/reset.post.mjs +1 -1
  682. package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.get.mjs +1 -1
  683. package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.patch.mjs +1 -1
  684. package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs +1 -1
  685. package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs +1 -1
  686. package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs +2 -2
  687. package/.output/server/chunks/routes/api/workshop/channels.post.mjs +7 -7
  688. package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs +1 -1
  689. package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs +1 -1
  690. package/.output/server/chunks/routes/api/workshop/daq/_id/frames/content.get.mjs +1 -1
  691. package/.output/server/chunks/routes/api/workshop/daq/_id/frames.get.mjs +1 -1
  692. package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs +4 -3
  693. package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs.map +1 -1
  694. package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +1 -1
  695. package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs +1 -1
  696. package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs +1 -1
  697. package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs +1 -1
  698. package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs +1 -1
  699. package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs +1 -1
  700. package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs +1 -1
  701. package/.output/server/chunks/routes/api/workshop/daq/export/_id_.get.mjs +1 -1
  702. package/.output/server/chunks/routes/api/workshop/daq/index.get.mjs +1 -1
  703. package/.output/server/chunks/routes/api/workshop/daq/index2.post.mjs +1 -1
  704. package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs +1 -1
  705. package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +1 -1
  706. package/.output/server/chunks/routes/api/workshop/daq/query.get.mjs +1 -1
  707. package/.output/server/chunks/routes/api/workshop/daq/storage/retention.put.mjs +1 -1
  708. package/.output/server/chunks/routes/api/workshop/daq/storage/rollup.post.mjs +1 -1
  709. package/.output/server/chunks/routes/api/workshop/daq/storage.get.mjs +1 -1
  710. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +1 -1
  711. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +1 -1
  712. package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +1 -1
  713. package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +1 -1
  714. package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +1 -1
  715. package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +1 -1
  716. package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs +1 -1
  717. package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +1 -1
  718. package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +9 -6
  719. package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs.map +1 -1
  720. package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +1 -1
  721. package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +1 -1
  722. package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +1 -1
  723. package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +1 -1
  724. package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +1 -1
  725. package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +1 -1
  726. package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +1 -1
  727. package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +1 -1
  728. package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +1 -1
  729. package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +1 -1
  730. package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +1 -1
  731. package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +1 -1
  732. package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs +1 -1
  733. package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs +1 -1
  734. package/.output/server/chunks/routes/api/workshop/dcw/index7.get.mjs +1 -1
  735. package/.output/server/chunks/routes/api/workshop/dcw/index8.get.mjs +1 -1
  736. package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +1 -1
  737. package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +1 -1
  738. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +1 -1
  739. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +1 -1
  740. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +1 -1
  741. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs +1 -1
  742. package/.output/server/chunks/routes/api/workshop/dcw/lines/index.get.mjs +1 -1
  743. package/.output/server/chunks/routes/api/workshop/dcw/mes-artifacts/file.get.mjs +1 -1
  744. package/.output/server/chunks/routes/api/workshop/dcw/mes-hook-test.post.mjs +1 -1
  745. package/.output/server/chunks/routes/api/workshop/dcw/mes-test-read.post.mjs +1 -1
  746. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +1 -1
  747. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +1 -1
  748. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +1 -1
  749. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +1 -1
  750. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs +1 -1
  751. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs +2 -2
  752. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs.map +1 -1
  753. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs +1 -1
  754. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs +1 -1
  755. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +1 -1
  756. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +1 -1
  757. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +1 -1
  758. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs +1 -1
  759. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/revert.post.mjs +1 -1
  760. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +1 -1
  761. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/versions.get.mjs +1 -1
  762. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +2 -2
  763. package/.output/server/chunks/routes/api/workshop/dcw/recipes/index.patch.mjs +1 -1
  764. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +1 -1
  765. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +1 -1
  766. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +1 -1
  767. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +1 -1
  768. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +1 -1
  769. package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +1 -1
  770. package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +1 -1
  771. package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +1 -1
  772. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +1 -1
  773. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +1 -1
  774. package/.output/server/chunks/routes/api/workshop/eda/commonality.get.mjs +1 -1
  775. package/.output/server/chunks/routes/api/workshop/eda/features/run.post.mjs +1 -1
  776. package/.output/server/chunks/routes/api/workshop/eda/index3.get.mjs +1 -1
  777. package/.output/server/chunks/routes/api/workshop/eda/index6.get.mjs +1 -1
  778. package/.output/server/chunks/routes/api/workshop/eda/index6.post.mjs +1 -1
  779. package/.output/server/chunks/routes/api/workshop/eda/runs/_id/labels.patch.mjs +1 -1
  780. package/.output/server/chunks/routes/api/workshop/eda/runs.get.mjs +1 -1
  781. package/.output/server/chunks/routes/api/workshop/eda/vm/predict.post.mjs +1 -1
  782. package/.output/server/chunks/routes/api/workshop/exp/confirmations/_id/decide.post.mjs +1 -1
  783. package/.output/server/chunks/routes/api/workshop/exp/index.get.mjs +1 -1
  784. package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs +1 -1
  785. package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs +1 -1
  786. package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs +1 -1
  787. package/.output/server/chunks/routes/api/workshop/hitl/history.get.mjs +54 -0
  788. package/.output/server/chunks/routes/api/workshop/hitl/history.get.mjs.map +1 -0
  789. package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs +1 -1
  790. package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs +1 -1
  791. package/.output/server/chunks/routes/api/workshop/index.mjs +1 -1
  792. package/.output/server/chunks/routes/api/workshop/index.post.mjs +1 -1
  793. package/.output/server/chunks/routes/api/workshop/index.put.mjs +1 -1
  794. package/.output/server/chunks/routes/api/workshop/index10.get.mjs +1 -1
  795. package/.output/server/chunks/routes/api/workshop/index10.post.mjs +1 -1
  796. package/.output/server/chunks/routes/api/workshop/index11.get.mjs +1 -1
  797. package/.output/server/chunks/routes/api/workshop/index11.post.mjs +1 -1
  798. package/.output/server/chunks/routes/api/workshop/index12.get.mjs +2 -2
  799. package/.output/server/chunks/routes/api/workshop/index12.get.mjs.map +1 -1
  800. package/.output/server/chunks/routes/api/workshop/index12.post.mjs +1 -1
  801. package/.output/server/chunks/routes/api/workshop/index13.get.mjs +1 -1
  802. package/.output/server/chunks/routes/api/workshop/index14.get.mjs +1 -1
  803. package/.output/server/chunks/routes/api/workshop/index2.get.mjs +1 -1
  804. package/.output/server/chunks/routes/api/workshop/index2.post.mjs +1 -1
  805. package/.output/server/chunks/routes/api/workshop/index3.get.mjs +1 -1
  806. package/.output/server/chunks/routes/api/workshop/index3.post.mjs +1 -1
  807. package/.output/server/chunks/routes/api/workshop/index4.post.mjs +1 -1
  808. package/.output/server/chunks/routes/api/workshop/index5.post.mjs +1 -1
  809. package/.output/server/chunks/routes/api/workshop/index6.get.mjs +1 -1
  810. package/.output/server/chunks/routes/api/workshop/index6.post.mjs +1 -1
  811. package/.output/server/chunks/routes/api/workshop/index7.get.mjs +1 -1
  812. package/.output/server/chunks/routes/api/workshop/index7.post.mjs +1 -1
  813. package/.output/server/chunks/routes/api/workshop/index8.get.mjs +1 -1
  814. package/.output/server/chunks/routes/api/workshop/index8.post.mjs +1 -1
  815. package/.output/server/chunks/routes/api/workshop/index9.post.mjs +1 -1
  816. package/.output/server/chunks/routes/api/workshop/mes/bridge.post.mjs +1 -1
  817. package/.output/server/chunks/routes/api/workshop/mes/datasets.get.mjs +1 -1
  818. package/.output/server/chunks/routes/api/workshop/mes/index.put.mjs +1 -1
  819. package/.output/server/chunks/routes/api/workshop/mes/preview.post.mjs +1 -1
  820. package/.output/server/chunks/routes/api/workshop/mes/secrets/_ref_.delete.mjs +1 -1
  821. package/.output/server/chunks/routes/api/workshop/mes/templates.post.mjs +1 -1
  822. package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs +1 -1
  823. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/autofix.mjs +1 -1
  824. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/compile.mjs +1 -1
  825. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/evidence.mjs +1 -1
  826. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/publish.mjs +1 -1
  827. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval-decision.mjs +1 -1
  828. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval.mjs +1 -1
  829. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/transition.mjs +1 -1
  830. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/subgraph.mjs +1 -1
  831. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/validate.mjs +1 -1
  832. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId_.mjs +1 -1
  833. package/.output/server/chunks/routes/api/workshop/ontology/export/_ontologyId_.mjs +1 -1
  834. package/.output/server/chunks/routes/api/workshop/ontology/index.mjs +1 -1
  835. package/.output/server/chunks/routes/api/workshop/ontology/scene.mjs +1 -1
  836. package/.output/server/chunks/routes/api/workshop/ontology/traces/_ontologyId_.mjs +1 -1
  837. package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId/compare.mjs +1 -1
  838. package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId_.mjs +1 -1
  839. package/.output/server/chunks/routes/api/workshop/optimization/capabilities.get.mjs +1 -1
  840. package/.output/server/chunks/routes/api/workshop/optimization/index.get.mjs +1 -1
  841. package/.output/server/chunks/routes/api/workshop/optimization/index.mjs +1 -1
  842. package/.output/server/chunks/routes/api/workshop/optimization/index2.mjs +1 -1
  843. package/.output/server/chunks/routes/api/workshop/optimization/profiles/_id/publish.post.mjs +1 -1
  844. package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/crosscheck.post.mjs +1 -1
  845. package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/dispatch.post.mjs +1 -1
  846. package/.output/server/chunks/routes/api/workshop/optimization/solve.post.mjs +1 -1
  847. package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +1 -1
  848. package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +1 -1
  849. package/.output/server/chunks/routes/api/workshop/process-model/datasets.post.mjs +1 -1
  850. package/.output/server/chunks/routes/api/workshop/process-model/eligibility.mjs +28 -2
  851. package/.output/server/chunks/routes/api/workshop/process-model/eligibility.mjs.map +1 -1
  852. package/.output/server/chunks/routes/api/workshop/process-model/experiments.mjs +1 -1
  853. package/.output/server/chunks/routes/api/workshop/process-model/index.mjs +1 -1
  854. package/.output/server/chunks/routes/api/workshop/process-model/specs/_id/publish.post.mjs +1 -1
  855. package/.output/server/chunks/routes/api/workshop/process-model/train.post.mjs +1 -1
  856. package/.output/server/chunks/routes/api/workshop/projects/_id/activate.post.mjs +1 -1
  857. package/.output/server/chunks/routes/api/workshop/projects/_id/approvals/_aid/decide.post.mjs +1 -1
  858. package/.output/server/chunks/routes/api/workshop/projects/_id/archive.post.mjs +1 -1
  859. package/.output/server/chunks/routes/api/workshop/projects/_id/channels/_channelId_.delete.mjs +1 -1
  860. package/.output/server/chunks/routes/api/workshop/projects/_id/complete.post.mjs +1 -1
  861. package/.output/server/chunks/routes/api/workshop/projects/_id/continue.post.mjs +1 -1
  862. package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/_did/waive.post.mjs +1 -1
  863. package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.get.mjs +1 -1
  864. package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.patch.mjs +1 -1
  865. package/.output/server/chunks/routes/api/workshop/projects/_id/health.get.mjs +1 -1
  866. package/.output/server/chunks/routes/api/workshop/projects/_id/index.get.mjs +1 -1
  867. package/.output/server/chunks/routes/api/workshop/projects/_id/index.post.mjs +1 -1
  868. package/.output/server/chunks/routes/api/workshop/projects/_id/index2.get.mjs +1 -1
  869. package/.output/server/chunks/routes/api/workshop/projects/_id/index2.post.mjs +1 -1
  870. package/.output/server/chunks/routes/api/workshop/projects/_id/index3.get.mjs +1 -1
  871. package/.output/server/chunks/routes/api/workshop/projects/_id/index3.post.mjs +1 -1
  872. package/.output/server/chunks/routes/api/workshop/projects/_id/index4.get.mjs +1 -1
  873. package/.output/server/chunks/routes/api/workshop/projects/_id/index4.post.mjs +1 -1
  874. package/.output/server/chunks/routes/api/workshop/projects/_id/index5.get.mjs +1 -1
  875. package/.output/server/chunks/routes/api/workshop/projects/_id/index6.get.mjs +1 -1
  876. package/.output/server/chunks/routes/api/workshop/projects/_id/index7.get.mjs +1 -1
  877. package/.output/server/chunks/routes/api/workshop/projects/_id/index8.get.mjs +1 -1
  878. package/.output/server/chunks/routes/api/workshop/projects/_id/kernel/tick.post.mjs +1 -1
  879. package/.output/server/chunks/routes/api/workshop/projects/_id/ledger.get.mjs +1 -1
  880. package/.output/server/chunks/routes/api/workshop/projects/_id/members/_userId_.delete.mjs +1 -1
  881. package/.output/server/chunks/routes/api/workshop/projects/_id/observability/activity.get.mjs +1 -1
  882. package/.output/server/chunks/routes/api/workshop/projects/_id/observability/route.get.mjs +1 -1
  883. package/.output/server/chunks/routes/api/workshop/projects/_id/observability/work-items/_wid_.get.mjs +1 -1
  884. package/.output/server/chunks/routes/api/workshop/projects/_id/observability.get.mjs +1 -1
  885. package/.output/server/chunks/routes/api/workshop/projects/_id/pause.post.mjs +1 -1
  886. package/.output/server/chunks/routes/api/workshop/projects/_id/plan/request-approval.post.mjs +1 -1
  887. package/.output/server/chunks/routes/api/workshop/projects/_id/proposals/_decisionId/apply.post.mjs +1 -1
  888. package/.output/server/chunks/routes/api/workshop/projects/_id/reconcile.post.mjs +1 -1
  889. package/.output/server/chunks/routes/api/workshop/projects/_id/report.get.mjs +1 -1
  890. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/request-acceptance.post.mjs +1 -1
  891. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/review.post.mjs +1 -1
  892. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/submit.post.mjs +1 -1
  893. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/supersede.post.mjs +1 -1
  894. package/.output/server/chunks/routes/api/workshop/projects/_id/resume.post.mjs +1 -1
  895. package/.output/server/chunks/routes/api/workshop/projects/_id/sessions.get.mjs +1 -1
  896. package/.output/server/chunks/routes/api/workshop/projects/_id/snapshot.get.mjs +1 -1
  897. package/.output/server/chunks/routes/api/workshop/projects/_id/terminate.post.mjs +1 -1
  898. package/.output/server/chunks/routes/api/workshop/projects/_id/trace/_traceId_.get.mjs +1 -1
  899. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/cancel.post.mjs +1 -1
  900. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/dispatch.post.mjs +1 -1
  901. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/retry.post.mjs +1 -1
  902. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.get.mjs +1 -1
  903. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.patch.mjs +1 -1
  904. package/.output/server/chunks/routes/api/workshop/projects/_id_.get.mjs +1 -1
  905. package/.output/server/chunks/routes/api/workshop/projects/_id_.patch.mjs +1 -1
  906. package/.output/server/chunks/routes/api/workshop/projects/instantiate.post.mjs +1 -1
  907. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +1 -1
  908. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +1 -1
  909. package/.output/server/chunks/routes/api/workshop/schedules/_id_.patch.mjs +1 -1
  910. package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs +1 -1
  911. package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs +1 -1
  912. package/.output/server/chunks/routes/api/workshop/tasks/_id/reopen.post.mjs +2 -2
  913. package/.output/server/chunks/routes/api/workshop/tasks/_id/reopen.post.mjs.map +1 -1
  914. package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs +1 -1
  915. package/.output/server/chunks/routes/api/workshop/tasks/_id/supersede.post.mjs +1 -1
  916. package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs +1 -1
  917. package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs +1 -1
  918. package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs +1 -1
  919. package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs +1 -1
  920. package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs +1 -1
  921. package/.output/server/chunks/routes/api/workshop/tools/_name_.get.mjs +1 -1
  922. package/.output/server/chunks/routes/api/workshop/tools/sync.post.mjs +1 -1
  923. package/.output/server/chunks/routes/api/workshop/users/register.post.mjs +1 -1
  924. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +2 -2
  925. package/.output/server/chunks/routes/renderer.mjs +3 -3
  926. package/.output/server/chunks/routes/renderer.mjs.map +1 -1
  927. package/.output/server/chunks/virtual/entry.mjs +2592 -2579
  928. package/.output/server/chunks/virtual/entry.mjs.map +1 -1
  929. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  930. package/.output/server/chunks/virtual/precomputed.mjs.map +1 -1
  931. package/.output/server/index.mjs +1 -1
  932. package/.output/server/package.json +1 -1
  933. package/README-zh.md +15 -2
  934. package/README.md +15 -2
  935. package/app/assets/css/main.css +25 -9
  936. package/app/components/AppSidebar.vue +32 -7
  937. package/app/components/dashboard/DashboardAlarmQueue.vue +282 -0
  938. package/app/components/dashboard/DashboardStatusBand.vue +209 -0
  939. package/app/components/workshop/ChannelSessionList.vue +10 -6
  940. package/app/components/workshop/ChatTimeline.vue +223 -174
  941. package/app/components/workshop/Composer.vue +9 -2
  942. package/app/components/workshop/SessionManageView.vue +20 -8
  943. package/app/components/workshop/blocks/ClusterTool.vue +9 -4
  944. package/app/components/workshop/composer/ComposerToolbar.vue +10 -1
  945. package/app/components/workshop/console/Rail.vue +6 -0
  946. package/app/components/workshop/console/SessionMiniList.vue +3 -3
  947. package/app/components/workshop/console/Topbar.vue +11 -0
  948. package/app/composables/workshop/apiClient.ts +9 -5
  949. package/app/composables/workshop/event-blocks/attention.ts +2 -1
  950. package/app/composables/workshop/useDaqStream.ts +5 -2
  951. package/app/composables/workshop/useDcwStream.ts +22 -5
  952. package/app/composables/workshop/usePluginAdmin.ts +2 -2
  953. package/app/composables/workshop/useWorkshopApi.ts +22 -4
  954. package/app/layouts/console.vue +36 -1
  955. package/app/layouts/default.vue +30 -1
  956. package/app/pages/daq/composables/useDaqOptimizations.ts +9 -1
  957. package/app/pages/dcw/composables/useDcwRecipes.ts +7 -0
  958. package/app/pages/index.vue +15 -4
  959. package/app/pages/plugins/index.vue +4 -3
  960. package/app/pages/workshop/composables/useAgentHarnessOptions.ts +9 -4
  961. package/app/pages/workshop/composables/useTeamCreateDialog.ts +2 -2
  962. package/app/plugins/http.ts +7 -59
  963. package/app/stores/workshop/events.ts +2 -1
  964. package/app/utils/auth-session.ts +73 -0
  965. package/app/utils/pending-approval.ts +14 -0
  966. package/cli/commands/doctor.mjs +5 -1
  967. package/cli/commands/stop.mjs +48 -5
  968. package/config.yml +212 -212
  969. package/docs/cli.en.md +447 -447
  970. package/docs/cli.md +412 -412
  971. package/docs/plugins.en.md +641 -641
  972. package/docs/plugins.md +630 -630
  973. package/docs/sdk.en.md +964 -964
  974. package/docs/sdk.md +900 -900
  975. package/i18n/locales/en.ts +10 -0
  976. package/i18n/locales/zh-CN.ts +10 -0
  977. package/package.json +1 -1
  978. package/scripts/_audit/omp-channel-project-session-live.mjs +481 -481
  979. package/scripts/_audit/omp-project-single-live.mjs +167 -167
  980. package/scripts/_audit/project-landing-live.mjs +659 -659
  981. package/scripts/_live-aml-real-chain.mjs +167 -0
  982. package/scripts/_live-aml-real-chain10.mjs +157 -0
  983. package/scripts/_live-aml-real-chain11.mjs +163 -0
  984. package/scripts/_live-aml-real-chain13.mjs +174 -0
  985. package/scripts/_live-aml-real-chain2.mjs +150 -0
  986. package/scripts/_live-aml-real-chain3.mjs +159 -0
  987. package/scripts/_live-aml-real-chain4.mjs +156 -0
  988. package/scripts/_live-aml-real-chain5.mjs +161 -0
  989. package/scripts/_live-aml-real-chain6.mjs +136 -0
  990. package/scripts/_live-aml-real-chain7.mjs +137 -0
  991. package/scripts/_live-aml-real-chain8.mjs +129 -0
  992. package/scripts/_live-aml-real-chain9.mjs +147 -0
  993. package/scripts/_live-rsi-b2-fix.mjs +62 -0
  994. package/scripts/_live-rsi-bootstrap.mjs +106 -0
  995. package/scripts/_live-rsi-channels.mjs +51 -0
  996. package/scripts/_live-rsi-evolution.mjs +152 -0
  997. package/scripts/_live-rsi-llm-smoke.mjs +47 -0
  998. package/scripts/_live-rsi-llm-smoke2.mjs +48 -0
  999. package/scripts/_live-rsi-plan-kick.mjs +51 -0
  1000. package/scripts/_live-rsi-project.mjs +189 -0
  1001. package/scripts/_live-rsi-project2.mjs +120 -0
  1002. package/scripts/_live-rsi-provision.mjs +50 -0
  1003. package/scripts/_live-rsi-shots.mjs +49 -0
  1004. package/scripts/_live-rsi-smarter-check.mjs +92 -0
  1005. package/scripts/_live-rsi-write-intent.mjs +99 -0
  1006. package/scripts/acceptance-rsi-live-e2e.mjs +31 -5
  1007. package/scripts/demo/accept-harness-fix.mjs +32 -0
  1008. package/scripts/e2e-project-line-acceptance.mjs +117 -48
  1009. package/scripts/start.mjs +16 -2
  1010. package/server/api/system/shutdown.post.ts +61 -0
  1011. package/server/api/workshop/agent-tools/approvals/[id]/decide.post.ts +11 -0
  1012. package/server/api/workshop/approvals/[id]/decide.post.ts +19 -3
  1013. package/server/api/workshop/channels/[id]/harness-bench-runs/index.post.ts +62 -0
  1014. package/server/api/workshop/channels/[id]/harness-profiles/index.post.ts +6 -4
  1015. package/server/api/workshop/channels/[id]/harness-profiles/promote.post.ts +7 -2
  1016. package/server/api/workshop/channels/[id]/improvement-proposals/decide.post.ts +39 -0
  1017. package/server/api/workshop/channels/[id]/improvement-proposals/index.get.ts +24 -0
  1018. package/server/api/workshop/channels/[id]/memories/merge.post.ts +37 -0
  1019. package/server/api/workshop/channels/[id]/sessions/[sid]/close.post.ts +2 -1
  1020. package/server/api/workshop/channels/[id]/sessions/[sid]/messages.post.ts +2 -1
  1021. package/server/api/workshop/channels/[id]/sessions/index.post.ts +16 -3
  1022. package/server/api/workshop/channels/[id]/tool-usage.get.ts +38 -0
  1023. package/server/api/workshop/daq/[id]/ingest.post.ts +7 -1
  1024. package/server/api/workshop/dcw/[id]/write.post.ts +13 -3
  1025. package/server/api/workshop/dcw/params/[id]/write.post.ts +4 -3
  1026. package/server/api/workshop/hitl/history.get.ts +51 -0
  1027. package/server/api/workshop/plugins/index.get.ts +4 -2
  1028. package/server/api/workshop/tasks/[id]/reopen.post.ts +2 -1
  1029. package/server/api/workshop/ws/event-mapping.ts +16 -15
  1030. package/server/plugins/security.ts +3 -1
  1031. package/server/plugins/workshop.ts +11 -1
  1032. package/server/services/workshop/agents/acp-hitl-mapping.ts +95 -0
  1033. package/server/services/workshop/agents/agent-interface.ts +5 -0
  1034. package/server/services/workshop/agents/base-agent.ts +34 -3
  1035. package/server/services/workshop/agents/codex-agent/turn.ts +3 -6
  1036. package/server/services/workshop/agents/dsh-agent.ts +8 -26
  1037. package/server/services/workshop/agents/execution-mode.ts +6 -2
  1038. package/server/services/workshop/agents/harness-availability.ts +25 -2
  1039. package/server/services/workshop/agents/hermes-agent.ts +7 -24
  1040. package/server/services/workshop/agents/hitl-capabilities.ts +36 -25
  1041. package/server/services/workshop/agents/hitl-registry.ts +7 -1
  1042. package/server/services/workshop/agents/host-tool-bridge/dispatch.ts +1 -1
  1043. package/server/services/workshop/agents/host-tool-bridge/tools/messaging.ts +14 -2
  1044. package/server/services/workshop/agents/industrial/line-tools.ts +10 -0
  1045. package/server/services/workshop/agents/industrial/recipe-gate.ts +6 -4
  1046. package/server/services/workshop/agents/omp-agent/client.ts +3 -1
  1047. package/server/services/workshop/agents/omp-agent/core.ts +2 -2
  1048. package/server/services/workshop/agents/omp-agent/supervision-decision.ts +8 -2
  1049. package/server/services/workshop/agents/omp-agent/tools-steer.ts +8 -1
  1050. package/server/services/workshop/agents/opencode-agent/engine-agnostic.ts +4 -5
  1051. package/server/services/workshop/agents/pi-agent.ts +2 -0
  1052. package/server/services/workshop/agents/registry.ts +31 -4
  1053. package/server/services/workshop/agents/session-clone.ts +110 -45
  1054. package/server/services/workshop/agents/tool-usage.ts +82 -0
  1055. package/server/services/workshop/aml/dataset-builder.ts +13 -3
  1056. package/server/services/workshop/aml/twin/channel-profile.ts +4 -1
  1057. package/server/services/workshop/db/channel-event.repo.ts +20 -1
  1058. package/server/services/workshop/db/channel-plugins.repo.ts +24 -0
  1059. package/server/services/workshop/db/database/migrations-harness-bench.ts +44 -0
  1060. package/server/services/workshop/db/database/migrations-session.ts +5 -0
  1061. package/server/services/workshop/db/database/open.ts +3 -0
  1062. package/server/services/workshop/db/database/rows.ts +2 -0
  1063. package/server/services/workshop/db/database/schema.ts +5 -0
  1064. package/server/services/workshop/db/harness-bench.repo.ts +66 -0
  1065. package/server/services/workshop/db/improvement.repo.ts +17 -1
  1066. package/server/services/workshop/db/memory.repo.ts +17 -7
  1067. package/server/services/workshop/db/message.repo.ts +87 -25
  1068. package/server/services/workshop/db/project-kernel.repo.ts +13 -0
  1069. package/server/services/workshop/db/schema.sql +6 -0
  1070. package/server/services/workshop/db/tool-registry.repo.ts +27 -34
  1071. package/server/services/workshop/dcw/dcw-controller/write-audit.ts +8 -4
  1072. package/server/services/workshop/dcw/dcw-controller/write.ts +3 -2
  1073. package/server/services/workshop/dcw/dcw-node.repo.ts +11 -7
  1074. package/server/services/workshop/dcw/drivers/index.ts +1 -1
  1075. package/server/services/workshop/dcw/drivers/registry.ts +8 -9
  1076. package/server/services/workshop/experience/bench-run.ts +143 -0
  1077. package/server/services/workshop/experience/gates.ts +40 -5
  1078. package/server/services/workshop/experience/overlay.ts +12 -1
  1079. package/server/services/workshop/experience/promote.ts +148 -14
  1080. package/server/services/workshop/optimization/python/__pycache__/problems.cpython-312.pyc +0 -0
  1081. package/server/services/workshop/process-model/eligibility-service.ts +58 -3
  1082. package/server/services/workshop/projects/event-ingress.ts +7 -1
  1083. package/server/services/workshop/projects/kernel.ts +9 -0
  1084. package/server/services/workshop/projects/service.ts +378 -59
  1085. package/server/services/workshop/projects/tool-surface.ts +3 -0
  1086. package/server/services/workshop/projects/watchdog.ts +26 -0
  1087. package/server/services/workshop/runtime/agent-runtime/lifecycle.ts +24 -27
  1088. package/server/services/workshop/runtime/agent-runtime/message.ts +5 -1
  1089. package/server/services/workshop/runtime/agent-runtime/state.ts +4 -0
  1090. package/server/services/workshop/runtime/agent-runtime/supervise.ts +28 -2
  1091. package/server/services/workshop/runtime/mailbox.ts +25 -5
  1092. package/server/services/workshop/runtime/manager/a2a.ts +10 -0
  1093. package/server/services/workshop/runtime/manager/admin-agents.ts +33 -1
  1094. package/server/services/workshop/runtime/manager/admin-channel.ts +17 -0
  1095. package/server/services/workshop/runtime/manager/broadcast-targets.ts +29 -0
  1096. package/server/services/workshop/runtime/manager/contracts.ts +2 -0
  1097. package/server/services/workshop/runtime/manager/runtime-observe.ts +6 -0
  1098. package/server/services/workshop/runtime/manager/runtime-wiring.ts +33 -8
  1099. package/server/services/workshop/runtime/manager/state.ts +29 -9
  1100. package/server/services/workshop/runtime/manager/tasks.ts +18 -0
  1101. package/server/services/workshop/runtime/manager/workspace.ts +1 -0
  1102. package/server/services/workshop/runtime/scheduler-loop/execute.ts +13 -1
  1103. package/server/services/workshop/runtime/scheduler-loop/tick.ts +76 -62
  1104. package/server/services/workshop/runtime/task-engine/transition.ts +9 -0
  1105. package/server/services/workshop/runtime/task-engine/views.ts +6 -0
  1106. package/server/services/workshop/settings.ts +2 -0
  1107. package/server/utils/response.ts +24 -2
  1108. package/server/utils/validate.ts +7 -3
  1109. package/shared/agent-blocks.ts +31 -3
  1110. package/shared/config/schema.json +1 -0
  1111. package/shared/daq-protocol.ts +2 -0
  1112. package/shared/workshop-protocol.ts +5 -2
  1113. package/.output/public/_nuxt/-Q8hhgyk.js +0 -1
  1114. package/.output/public/_nuxt/0jcGGdiJ.js +0 -19
  1115. package/.output/public/_nuxt/11Nifltq2.js +0 -16
  1116. package/.output/public/_nuxt/3e_2BycO2.js +0 -3
  1117. package/.output/public/_nuxt/3stpx5v5.js +0 -1
  1118. package/.output/public/_nuxt/79qPRzcC2.js +0 -3
  1119. package/.output/public/_nuxt/90I2uxf9.js +0 -1
  1120. package/.output/public/_nuxt/9l23acpz2.js +0 -1
  1121. package/.output/public/_nuxt/B-9EbtIW2.js +0 -1
  1122. package/.output/public/_nuxt/B1h4ZjKu.js +0 -20
  1123. package/.output/public/_nuxt/B37d6f-P.js +0 -1
  1124. package/.output/public/_nuxt/B3fa5S-c2.js +0 -17
  1125. package/.output/public/_nuxt/B4JaolxV.js +0 -1
  1126. package/.output/public/_nuxt/B4_lb-hZ2.js +0 -1
  1127. package/.output/public/_nuxt/B5D1k6CB.js +0 -2
  1128. package/.output/public/_nuxt/B5n3iKvm2.js +0 -1
  1129. package/.output/public/_nuxt/B6C4WofF.js +0 -1
  1130. package/.output/public/_nuxt/B6w08G2N2.js +0 -1
  1131. package/.output/public/_nuxt/BFUO7wT0.js +0 -1
  1132. package/.output/public/_nuxt/BIuErhov2.js +0 -21
  1133. package/.output/public/_nuxt/BJnH3XGI.js +0 -55
  1134. package/.output/public/_nuxt/BK1Wg4k6.js +0 -1
  1135. package/.output/public/_nuxt/BKAI-arY.js +0 -1
  1136. package/.output/public/_nuxt/BOdCcIEI2.js +0 -1
  1137. package/.output/public/_nuxt/BPfjrFyN.js +0 -1
  1138. package/.output/public/_nuxt/BRWKp6702.js +0 -4
  1139. package/.output/public/_nuxt/BUPY0LcX2.js +0 -1
  1140. package/.output/public/_nuxt/BUf_m0T1.js +0 -1
  1141. package/.output/public/_nuxt/BYzim_Bn.js +0 -1
  1142. package/.output/public/_nuxt/BZ0ix1Ab.js +0 -1
  1143. package/.output/public/_nuxt/B_Obcbiu.js +0 -1
  1144. package/.output/public/_nuxt/B_QTRqu7.js +0 -36
  1145. package/.output/public/_nuxt/BaOjvyjw.js +0 -14
  1146. package/.output/public/_nuxt/BaRRVnQ9.js +0 -1
  1147. package/.output/public/_nuxt/Bb5R_mHx.js +0 -11
  1148. package/.output/public/_nuxt/BcQzmnsA2.js +0 -13
  1149. package/.output/public/_nuxt/BclHgAY62.js +0 -1
  1150. package/.output/public/_nuxt/Bi79W_18.js +0 -1
  1151. package/.output/public/_nuxt/BkpeWA4m.js +0 -1
  1152. package/.output/public/_nuxt/BlBWS3ti2.js +0 -1
  1153. package/.output/public/_nuxt/BlhXbeTX2.js +0 -1
  1154. package/.output/public/_nuxt/BlqCJ-DH2.js +0 -1
  1155. package/.output/public/_nuxt/BmBlIIJo.js +0 -1
  1156. package/.output/public/_nuxt/BmrSQRl-.js +0 -15
  1157. package/.output/public/_nuxt/Bmvt9ydE.js +0 -1
  1158. package/.output/public/_nuxt/BnkO7kdT.js +0 -1
  1159. package/.output/public/_nuxt/BoyuIoSm.js +0 -1
  1160. package/.output/public/_nuxt/BpbFCFKu.js +0 -1
  1161. package/.output/public/_nuxt/BrJmRI0f.js +0 -1
  1162. package/.output/public/_nuxt/Brrx47vD2.js +0 -1
  1163. package/.output/public/_nuxt/Bsz3bCTJ2.js +0 -1
  1164. package/.output/public/_nuxt/BuwoMOU3.js +0 -1
  1165. package/.output/public/_nuxt/C--Z9QgF2.js +0 -1
  1166. package/.output/public/_nuxt/C-_MFw252.js +0 -1
  1167. package/.output/public/_nuxt/C-f6cf5p.js +0 -1
  1168. package/.output/public/_nuxt/C-wrWG5m.js +0 -1
  1169. package/.output/public/_nuxt/C0I4h6do.js +0 -1
  1170. package/.output/public/_nuxt/C14pM5G4.js +0 -1
  1171. package/.output/public/_nuxt/C63qmNDQ2.js +0 -1
  1172. package/.output/public/_nuxt/CBpkE3Aa.js +0 -1
  1173. package/.output/public/_nuxt/CC6Ehw1G.js +0 -1
  1174. package/.output/public/_nuxt/CDYLasP8.js +0 -1
  1175. package/.output/public/_nuxt/CElzwyXQ.js +0 -1
  1176. package/.output/public/_nuxt/CHoCLi5W.js +0 -47
  1177. package/.output/public/_nuxt/CHpYSwnV.js +0 -1
  1178. package/.output/public/_nuxt/CIlyTdj52.js +0 -1
  1179. package/.output/public/_nuxt/CKNNF-xC.js +0 -1
  1180. package/.output/public/_nuxt/CKcZnB1p2.js +0 -3
  1181. package/.output/public/_nuxt/CMDDJOia2.js +0 -1
  1182. package/.output/public/_nuxt/CMDM5xOY.js +0 -1
  1183. package/.output/public/_nuxt/CMZiqkZT.js +0 -1
  1184. package/.output/public/_nuxt/CPvFGbr8.js +0 -1
  1185. package/.output/public/_nuxt/CTozMT1w.js +0 -1
  1186. package/.output/public/_nuxt/CUdJHUOd2.js +0 -3
  1187. package/.output/public/_nuxt/CYlhxKPT2.js +0 -1
  1188. package/.output/public/_nuxt/CZgxZE_w2.js +0 -1
  1189. package/.output/public/_nuxt/CapieqzZ.js +0 -1
  1190. package/.output/public/_nuxt/Cd_FGeQ02.js +0 -1
  1191. package/.output/public/_nuxt/CeHHFuEe.js +0 -1
  1192. package/.output/public/_nuxt/CeKA95oA.js +0 -3
  1193. package/.output/public/_nuxt/CfE35xQa2.js +0 -1
  1194. package/.output/public/_nuxt/CfIbFnJz2.js +0 -1
  1195. package/.output/public/_nuxt/Cgk2EgLD.js +0 -2
  1196. package/.output/public/_nuxt/Cgym6fLd2.js +0 -1
  1197. package/.output/public/_nuxt/Cj6ShdfL.js +0 -1
  1198. package/.output/public/_nuxt/CjCOXFiz.js +0 -1
  1199. package/.output/public/_nuxt/CjCc77Ql.js +0 -1
  1200. package/.output/public/_nuxt/CjXh9ppu.js +0 -1
  1201. package/.output/public/_nuxt/ClHOB05A.js +0 -1
  1202. package/.output/public/_nuxt/Clbj62PV2.js +0 -8
  1203. package/.output/public/_nuxt/CmqsQnWt.js +0 -1
  1204. package/.output/public/_nuxt/Cn6EojFe.js +0 -1
  1205. package/.output/public/_nuxt/CnKTXX0a.js +0 -1
  1206. package/.output/public/_nuxt/CnrGVJIr.js +0 -1
  1207. package/.output/public/_nuxt/CpqcC-_22.js +0 -7
  1208. package/.output/public/_nuxt/CuHnwZbm.js +0 -1
  1209. package/.output/public/_nuxt/CwHhmA3N.js +0 -1
  1210. package/.output/public/_nuxt/Cxkz2-AL.js +0 -1
  1211. package/.output/public/_nuxt/D08OeqjW.js +0 -1
  1212. package/.output/public/_nuxt/D0foRT8I2.js +0 -9
  1213. package/.output/public/_nuxt/D2EC-BTb2.js +0 -1
  1214. package/.output/public/_nuxt/D2G_6rw22.js +0 -1
  1215. package/.output/public/_nuxt/D4ZePemJ.js +0 -1
  1216. package/.output/public/_nuxt/D6amMglQ.js +0 -1
  1217. package/.output/public/_nuxt/D7TZLu4F2.js +0 -1
  1218. package/.output/public/_nuxt/D8pEcr9N.js +0 -1
  1219. package/.output/public/_nuxt/D9saExk92.js +0 -1
  1220. package/.output/public/_nuxt/DCSVbNSB.js +0 -1
  1221. package/.output/public/_nuxt/DDHEw9dY2.js +0 -1
  1222. package/.output/public/_nuxt/DDLi49qE.js +0 -1
  1223. package/.output/public/_nuxt/DDVBwkyn.js +0 -18
  1224. package/.output/public/_nuxt/DFI6asjj2.js +0 -1
  1225. package/.output/public/_nuxt/DHC2ikLc2.js +0 -13
  1226. package/.output/public/_nuxt/DHzMFapn2.js +0 -1
  1227. package/.output/public/_nuxt/DIr9MY9q.js +0 -1
  1228. package/.output/public/_nuxt/DM4Cc5KR.js +0 -24
  1229. package/.output/public/_nuxt/DNlwacP7.js +0 -1
  1230. package/.output/public/_nuxt/DNxudyND.js +0 -4
  1231. package/.output/public/_nuxt/DOT-XQyi.js +0 -1
  1232. package/.output/public/_nuxt/DPPC9Teq.js +0 -1
  1233. package/.output/public/_nuxt/DQASfdDj.js +0 -1
  1234. package/.output/public/_nuxt/DRjWbqgj.js +0 -1
  1235. package/.output/public/_nuxt/DUeT6tuA.js +0 -1
  1236. package/.output/public/_nuxt/DVmcVDzr2.js +0 -2
  1237. package/.output/public/_nuxt/DW6X-3XT.js +0 -1
  1238. package/.output/public/_nuxt/DWy0AjON2.js +0 -1
  1239. package/.output/public/_nuxt/DYeXifLh.js +0 -1
  1240. package/.output/public/_nuxt/DYn9yfaP2.js +0 -20
  1241. package/.output/public/_nuxt/DaB6g_SI2.js +0 -1
  1242. package/.output/public/_nuxt/DaIBQrku.js +0 -1
  1243. package/.output/public/_nuxt/DbKKkPx8.js +0 -1
  1244. package/.output/public/_nuxt/Df35i2Tg.js +0 -1
  1245. package/.output/public/_nuxt/DjGYvFyA.js +0 -1
  1246. package/.output/public/_nuxt/DkRozlDP2.js +0 -1
  1247. package/.output/public/_nuxt/DkfR8ywD.js +0 -1
  1248. package/.output/public/_nuxt/DlkrODnc2.js +0 -1
  1249. package/.output/public/_nuxt/DuO-LNOb.js +0 -18
  1250. package/.output/public/_nuxt/DuTmP7mz2.js +0 -2
  1251. package/.output/public/_nuxt/DuvJisIF.js +0 -1
  1252. package/.output/public/_nuxt/Dv_vyxzC.js +0 -1
  1253. package/.output/public/_nuxt/DvfiRGS-.js +0 -1
  1254. package/.output/public/_nuxt/Dwv6GMxX2.js +0 -1
  1255. package/.output/public/_nuxt/Dx14WT7C.js +0 -1
  1256. package/.output/public/_nuxt/DzPypczG.js +0 -1
  1257. package/.output/public/_nuxt/DzS3BKMP2.js +0 -31
  1258. package/.output/public/_nuxt/Ekq3Bz5S2.js +0 -1
  1259. package/.output/public/_nuxt/FQK98hkN.js +0 -1
  1260. package/.output/public/_nuxt/FXfpV_JX.js +0 -1
  1261. package/.output/public/_nuxt/KgE9WwCD.js +0 -98
  1262. package/.output/public/_nuxt/LiHaSoeY.js +0 -2
  1263. package/.output/public/_nuxt/MJD65-MH2.js +0 -1
  1264. package/.output/public/_nuxt/OVP8I5uy.js +0 -1
  1265. package/.output/public/_nuxt/OcOZpOac2.js +0 -1
  1266. package/.output/public/_nuxt/PWLUz4KM2.js +0 -1
  1267. package/.output/public/_nuxt/R1g64DNi2.js +0 -1
  1268. package/.output/public/_nuxt/RQZfgR_-.js +0 -1
  1269. package/.output/public/_nuxt/WZrTmJqL.js +0 -1
  1270. package/.output/public/_nuxt/XqXoaoDs.js +0 -1
  1271. package/.output/public/_nuxt/ZBqKRppy2.js +0 -1
  1272. package/.output/public/_nuxt/ZMaEnWy-.js +0 -1
  1273. package/.output/public/_nuxt/ZqzOEndh.js +0 -1
  1274. package/.output/public/_nuxt/_wsId_.2GiFh9as.css +0 -1
  1275. package/.output/public/_nuxt/builds/meta/cf638aaa-655e-454c-9786-ffa73903190a.json +0 -1
  1276. package/.output/public/_nuxt/console.u4ati522.css +0 -1
  1277. package/.output/public/_nuxt/d8QWugeg.js +0 -1
  1278. package/.output/public/_nuxt/default.CwrtJt16.css +0 -1
  1279. package/.output/public/_nuxt/entry.DttkgxyK.css +0 -1
  1280. package/.output/public/_nuxt/iFgnsAy8.js +0 -1
  1281. package/.output/public/_nuxt/jDuiDtGb2.js +0 -1
  1282. package/.output/public/_nuxt/k9b520K-2.js +0 -1
  1283. package/.output/public/_nuxt/kHiXWyIi.js +0 -1
  1284. package/.output/public/_nuxt/lSwTNaIl2.js +0 -1
  1285. package/.output/public/_nuxt/nDicqfeK2.js +0 -2
  1286. package/.output/public/_nuxt/pages.DsQ6cWQH.css +0 -1
  1287. package/.output/public/_nuxt/plugins.BmI7067O.css +0 -1
  1288. package/.output/public/_nuxt/qRhx4oNY2.js +0 -1
  1289. package/.output/public/_nuxt/rxhDcyfF.js +0 -1
  1290. package/.output/server/chunks/_/AuthGate-CHcbeXmS.mjs +0 -716
  1291. package/.output/server/chunks/_/AuthGate-CHcbeXmS.mjs.map +0 -1
  1292. package/.output/server/chunks/_/AwStateBlock-BpEjyHDS.mjs +0 -61
  1293. package/.output/server/chunks/_/AwStateBlock-BpEjyHDS.mjs.map +0 -1
  1294. package/.output/server/chunks/_/FormItemContext-z-0xRhkz.mjs +0 -72
  1295. package/.output/server/chunks/_/FormItemContext-z-0xRhkz.mjs.map +0 -1
  1296. package/.output/server/chunks/_/LoginModal-1E9nGc2T.mjs +0 -170
  1297. package/.output/server/chunks/_/LoginModal-1E9nGc2T.mjs.map +0 -1
  1298. package/.output/server/chunks/_/OmpTerminalPanel-B0gg37C3.mjs +0 -947
  1299. package/.output/server/chunks/_/OmpTerminalPanel-B0gg37C3.mjs.map +0 -1
  1300. package/.output/server/chunks/_/PluginSlot-CGwo_Wf0.mjs +0 -141
  1301. package/.output/server/chunks/_/PluginSlot-CGwo_Wf0.mjs.map +0 -1
  1302. package/.output/server/chunks/_/TownView-Cpb_4CFs.mjs +0 -6517
  1303. package/.output/server/chunks/_/TownView-Cpb_4CFs.mjs.map +0 -1
  1304. package/.output/server/chunks/_/_id_-7j1H6aZV.mjs +0 -397
  1305. package/.output/server/chunks/_/_id_-7j1H6aZV.mjs.map +0 -1
  1306. package/.output/server/chunks/_/_id_-Ca3d9Npk.mjs +0 -2117
  1307. package/.output/server/chunks/_/_id_-Ca3d9Npk.mjs.map +0 -1
  1308. package/.output/server/chunks/_/_id_-Dl378h-P.mjs +0 -995
  1309. package/.output/server/chunks/_/_id_-Dl378h-P.mjs.map +0 -1
  1310. package/.output/server/chunks/_/_wsId_-e7Fm33hR.mjs +0 -14629
  1311. package/.output/server/chunks/_/_wsId_-e7Fm33hR.mjs.map +0 -1
  1312. package/.output/server/chunks/_/agents-b-cZhEKx.mjs +0 -1081
  1313. package/.output/server/chunks/_/agents-b-cZhEKx.mjs.map +0 -1
  1314. package/.output/server/chunks/_/alert-CbahhWU9.mjs +0 -263
  1315. package/.output/server/chunks/_/alert-CbahhWU9.mjs.map +0 -1
  1316. package/.output/server/chunks/_/aml-B1Ol798_.mjs +0 -816
  1317. package/.output/server/chunks/_/aml-B1Ol798_.mjs.map +0 -1
  1318. package/.output/server/chunks/_/analysis-DvtU3Ots.mjs +0 -564
  1319. package/.output/server/chunks/_/analysis-DvtU3Ots.mjs.map +0 -1
  1320. package/.output/server/chunks/_/api-BG72BTM0.mjs +0 -55
  1321. package/.output/server/chunks/_/api-BG72BTM0.mjs.map +0 -1
  1322. package/.output/server/chunks/_/api-Cl6M-Xfy.mjs +0 -66
  1323. package/.output/server/chunks/_/api-Cl6M-Xfy.mjs.map +0 -1
  1324. package/.output/server/chunks/_/api-D08TrIcY.mjs +0 -74
  1325. package/.output/server/chunks/_/api-D08TrIcY.mjs.map +0 -1
  1326. package/.output/server/chunks/_/api-error-Dsbhh1FC.mjs +0 -47
  1327. package/.output/server/chunks/_/api-error-Dsbhh1FC.mjs.map +0 -1
  1328. package/.output/server/chunks/_/apiClient-D24CIrq6.mjs +0 -81
  1329. package/.output/server/chunks/_/apiClient-D24CIrq6.mjs.map +0 -1
  1330. package/.output/server/chunks/_/board-BTPPacSz.mjs +0 -191
  1331. package/.output/server/chunks/_/board-BTPPacSz.mjs.map +0 -1
  1332. package/.output/server/chunks/_/builtin-catalog-edpDcgfL.mjs.map +0 -1
  1333. package/.output/server/chunks/_/card-B6pQnI6T.mjs +0 -953
  1334. package/.output/server/chunks/_/card-B6pQnI6T.mjs.map +0 -1
  1335. package/.output/server/chunks/_/channel-templates-spMDDSU6.mjs +0 -945
  1336. package/.output/server/chunks/_/channel-templates-spMDDSU6.mjs.map +0 -1
  1337. package/.output/server/chunks/_/chart-pipeline-BpoWYMK_.mjs.map +0 -1
  1338. package/.output/server/chunks/_/chart-trend-BWeZh5Lv.mjs.map +0 -1
  1339. package/.output/server/chunks/_/checkbox-sc3CzvNT.mjs +0 -439
  1340. package/.output/server/chunks/_/checkbox-sc3CzvNT.mjs.map +0 -1
  1341. package/.output/server/chunks/_/client-only-Ci512Brd.mjs +0 -43
  1342. package/.output/server/chunks/_/client-only-Ci512Brd.mjs.map +0 -1
  1343. package/.output/server/chunks/_/console-DYDLwpPp.mjs +0 -94
  1344. package/.output/server/chunks/_/console-DYDLwpPp.mjs.map +0 -1
  1345. package/.output/server/chunks/_/constants-HPHJvjne.mjs +0 -144
  1346. package/.output/server/chunks/_/constants-HPHJvjne.mjs.map +0 -1
  1347. package/.output/server/chunks/_/core-1kL9oN1v.mjs +0 -294
  1348. package/.output/server/chunks/_/core-1kL9oN1v.mjs.map +0 -1
  1349. package/.output/server/chunks/_/daq-WT075QK5.mjs +0 -1318
  1350. package/.output/server/chunks/_/daq-WT075QK5.mjs.map +0 -1
  1351. package/.output/server/chunks/_/data-CJTJTwA-.mjs +0 -486
  1352. package/.output/server/chunks/_/data-CJTJTwA-.mjs.map +0 -1
  1353. package/.output/server/chunks/_/dcw-BhY0QjNL.mjs +0 -507
  1354. package/.output/server/chunks/_/dcw-BhY0QjNL.mjs.map +0 -1
  1355. package/.output/server/chunks/_/dcw-driver-badge-Df5wL_ZA.mjs.map +0 -1
  1356. package/.output/server/chunks/_/default-C3L2_Bnq.mjs +0 -2205
  1357. package/.output/server/chunks/_/default-C3L2_Bnq.mjs.map +0 -1
  1358. package/.output/server/chunks/_/descriptions-AfshxGyM.mjs +0 -406
  1359. package/.output/server/chunks/_/descriptions-AfshxGyM.mjs.map +0 -1
  1360. package/.output/server/chunks/_/drawer-Cg7ldsAU.mjs +0 -834
  1361. package/.output/server/chunks/_/drawer-Cg7ldsAU.mjs.map +0 -1
  1362. package/.output/server/chunks/_/dropdown-CpTs7y2y.mjs +0 -540
  1363. package/.output/server/chunks/_/dropdown-CpTs7y2y.mjs.map +0 -1
  1364. package/.output/server/chunks/_/dropdown-Du9DvhZm.mjs +0 -14
  1365. package/.output/server/chunks/_/dropdown-Du9DvhZm.mjs.map +0 -1
  1366. package/.output/server/chunks/_/es-oIijD7n7.mjs +0 -45
  1367. package/.output/server/chunks/_/es-oIijD7n7.mjs.map +0 -1
  1368. package/.output/server/chunks/_/firstNotUndefined-DefCyGRr.mjs +0 -2448
  1369. package/.output/server/chunks/_/firstNotUndefined-DefCyGRr.mjs.map +0 -1
  1370. package/.output/server/chunks/_/form-CjNa079N.mjs +0 -4712
  1371. package/.output/server/chunks/_/form-CjNa079N.mjs.map +0 -1
  1372. package/.output/server/chunks/_/hasIn-BRN-piJW.mjs +0 -553
  1373. package/.output/server/chunks/_/hasIn-BRN-piJW.mjs.map +0 -1
  1374. package/.output/server/chunks/_/hitl-4SjXbNrk.mjs +0 -132
  1375. package/.output/server/chunks/_/hitl-4SjXbNrk.mjs.map +0 -1
  1376. package/.output/server/chunks/_/input-D8G9mBIc.mjs +0 -2181
  1377. package/.output/server/chunks/_/input-D8G9mBIc.mjs.map +0 -1
  1378. package/.output/server/chunks/_/input-number-DHHaQM5z.mjs +0 -1120
  1379. package/.output/server/chunks/_/input-number-DHHaQM5z.mjs.map +0 -1
  1380. package/.output/server/chunks/_/interval-Biegu5WR.mjs +0 -9
  1381. package/.output/server/chunks/_/interval-Biegu5WR.mjs.map +0 -1
  1382. package/.output/server/chunks/_/isNumeric-CGg7F6vA.mjs +0 -7
  1383. package/.output/server/chunks/_/isNumeric-CGg7F6vA.mjs.map +0 -1
  1384. package/.output/server/chunks/_/logs-ClfR5sWn.mjs +0 -494
  1385. package/.output/server/chunks/_/logs-ClfR5sWn.mjs.map +0 -1
  1386. package/.output/server/chunks/_/markdown-DGPyLniR.mjs.map +0 -1
  1387. package/.output/server/chunks/_/menu-BjRtE2uF.mjs +0 -1952
  1388. package/.output/server/chunks/_/menu-BjRtE2uF.mjs.map +0 -1
  1389. package/.output/server/chunks/_/monitor-C6Bw0aNl.mjs +0 -2258
  1390. package/.output/server/chunks/_/monitor-C6Bw0aNl.mjs.map +0 -1
  1391. package/.output/server/chunks/_/narrow-fetch-CcG-BPxc.mjs.map +0 -1
  1392. package/.output/server/chunks/_/ontology-CS5n10_j.mjs +0 -1514
  1393. package/.output/server/chunks/_/ontology-CS5n10_j.mjs.map +0 -1
  1394. package/.output/server/chunks/_/operations-4t5GxQcD.mjs +0 -322
  1395. package/.output/server/chunks/_/operations-4t5GxQcD.mjs.map +0 -1
  1396. package/.output/server/chunks/_/optimizer-DVrHY72Z.mjs +0 -2314
  1397. package/.output/server/chunks/_/optimizer-DVrHY72Z.mjs.map +0 -1
  1398. package/.output/server/chunks/_/pages-BwA6EqWo.mjs +0 -557
  1399. package/.output/server/chunks/_/pages-BwA6EqWo.mjs.map +0 -1
  1400. package/.output/server/chunks/_/pagination-CeNvMdzb.mjs +0 -1346
  1401. package/.output/server/chunks/_/pagination-CeNvMdzb.mjs.map +0 -1
  1402. package/.output/server/chunks/_/permissions-ki7cqe3L.mjs +0 -666
  1403. package/.output/server/chunks/_/permissions-ki7cqe3L.mjs.map +0 -1
  1404. package/.output/server/chunks/_/pipeline-GJZGtwhU.mjs +0 -253
  1405. package/.output/server/chunks/_/pipeline-GJZGtwhU.mjs.map +0 -1
  1406. package/.output/server/chunks/_/plugins-CqG7txbg.mjs +0 -296
  1407. package/.output/server/chunks/_/plugins-CqG7txbg.mjs.map +0 -1
  1408. package/.output/server/chunks/_/popconfirm-DywMAMhb.mjs +0 -340
  1409. package/.output/server/chunks/_/popconfirm-DywMAMhb.mjs.map +0 -1
  1410. package/.output/server/chunks/_/progress-B0k_coQK.mjs +0 -775
  1411. package/.output/server/chunks/_/progress-B0k_coQK.mjs.map +0 -1
  1412. package/.output/server/chunks/_/projects-k6arYbBh.mjs +0 -345
  1413. package/.output/server/chunks/_/projects-k6arYbBh.mjs.map +0 -1
  1414. package/.output/server/chunks/_/radio-DcpEAHDK.mjs +0 -919
  1415. package/.output/server/chunks/_/radio-DcpEAHDK.mjs.map +0 -1
  1416. package/.output/server/chunks/_/responsiveObserve-BoksU-jb.mjs +0 -78
  1417. package/.output/server/chunks/_/responsiveObserve-BoksU-jb.mjs.map +0 -1
  1418. package/.output/server/chunks/_/schedules-CxmHiyKa.mjs +0 -7176
  1419. package/.output/server/chunks/_/schedules-CxmHiyKa.mjs.map +0 -1
  1420. package/.output/server/chunks/_/segmented-dvzd2V-7.mjs +0 -341
  1421. package/.output/server/chunks/_/segmented-dvzd2V-7.mjs.map +0 -1
  1422. package/.output/server/chunks/_/select-imeFpXye.mjs +0 -3923
  1423. package/.output/server/chunks/_/select-imeFpXye.mjs.map +0 -1
  1424. package/.output/server/chunks/_/settings-DKTf_GTL.mjs +0 -1043
  1425. package/.output/server/chunks/_/settings-DKTf_GTL.mjs.map +0 -1
  1426. package/.output/server/chunks/_/space-BlxKTnHk.mjs +0 -110
  1427. package/.output/server/chunks/_/space-BlxKTnHk.mjs.map +0 -1
  1428. package/.output/server/chunks/_/spin-ekVP9wPb.mjs +0 -357
  1429. package/.output/server/chunks/_/spin-ekVP9wPb.mjs.map +0 -1
  1430. package/.output/server/chunks/_/studio-RoQLs8jm.mjs +0 -381
  1431. package/.output/server/chunks/_/studio-RoQLs8jm.mjs.map +0 -1
  1432. package/.output/server/chunks/_/switch-DhwrCb3m.mjs +0 -377
  1433. package/.output/server/chunks/_/switch-DhwrCb3m.mjs.map +0 -1
  1434. package/.output/server/chunks/_/table-DrLcTII4.mjs +0 -7546
  1435. package/.output/server/chunks/_/table-DrLcTII4.mjs.map +0 -1
  1436. package/.output/server/chunks/_/tabs-CKejLvNM.mjs +0 -1916
  1437. package/.output/server/chunks/_/tabs-CKejLvNM.mjs.map +0 -1
  1438. package/.output/server/chunks/_/tag-D9TCOB--.mjs +0 -242
  1439. package/.output/server/chunks/_/tag-D9TCOB--.mjs.map +0 -1
  1440. package/.output/server/chunks/_/teams-jMekGUAp.mjs +0 -1206
  1441. package/.output/server/chunks/_/teams-jMekGUAp.mjs.map +0 -1
  1442. package/.output/server/chunks/_/tokens-CO9_NpeD.mjs +0 -1066
  1443. package/.output/server/chunks/_/tokens-CO9_NpeD.mjs.map +0 -1
  1444. package/.output/server/chunks/_/tools-D1-VH-_L.mjs +0 -499
  1445. package/.output/server/chunks/_/tools-D1-VH-_L.mjs.map +0 -1
  1446. package/.output/server/chunks/_/tooltip-_HkJX9_i.mjs +0 -920
  1447. package/.output/server/chunks/_/tooltip-_HkJX9_i.mjs.map +0 -1
  1448. package/.output/server/chunks/_/town-CCkZYizH.mjs +0 -144
  1449. package/.output/server/chunks/_/town-CCkZYizH.mjs.map +0 -1
  1450. package/.output/server/chunks/_/town-pIgFRdcR.mjs +0 -77
  1451. package/.output/server/chunks/_/town-pIgFRdcR.mjs.map +0 -1
  1452. package/.output/server/chunks/_/types-D6J7slEa.mjs +0 -5565
  1453. package/.output/server/chunks/_/types-D6J7slEa.mjs.map +0 -1
  1454. package/.output/server/chunks/_/types-DWqIeMRP.mjs +0 -78
  1455. package/.output/server/chunks/_/types-DWqIeMRP.mjs.map +0 -1
  1456. package/.output/server/chunks/_/useAgentHarnessOptions-CylYWQeu.mjs +0 -126
  1457. package/.output/server/chunks/_/useAgentHarnessOptions-CylYWQeu.mjs.map +0 -1
  1458. package/.output/server/chunks/_/useAgentTemplateActions-H8CqARqN.mjs +0 -79
  1459. package/.output/server/chunks/_/useAgentTemplateActions-H8CqARqN.mjs.map +0 -1
  1460. package/.output/server/chunks/_/useAgentTemplateDialogState-CZzpu5og.mjs +0 -69
  1461. package/.output/server/chunks/_/useAgentTemplateDialogState-CZzpu5og.mjs.map +0 -1
  1462. package/.output/server/chunks/_/useAgentTemplateForm-Ae0cyN4q.mjs +0 -119
  1463. package/.output/server/chunks/_/useAgentTemplateForm-Ae0cyN4q.mjs.map +0 -1
  1464. package/.output/server/chunks/_/useAgentTemplatesCatalog-CFfmRKC-.mjs +0 -135
  1465. package/.output/server/chunks/_/useAgentTemplatesCatalog-CFfmRKC-.mjs.map +0 -1
  1466. package/.output/server/chunks/_/useAmlDatasets-BfO2gg-Z.mjs +0 -94
  1467. package/.output/server/chunks/_/useAmlDatasets-BfO2gg-Z.mjs.map +0 -1
  1468. package/.output/server/chunks/_/useAmlEntities-D7TXBmbB.mjs +0 -88
  1469. package/.output/server/chunks/_/useAmlEntities-D7TXBmbB.mjs.map +0 -1
  1470. package/.output/server/chunks/_/useAmlEnv-D7JkE_PA.mjs +0 -196
  1471. package/.output/server/chunks/_/useAmlEnv-D7JkE_PA.mjs.map +0 -1
  1472. package/.output/server/chunks/_/useAmlExperiments-OKokvfaM.mjs +0 -91
  1473. package/.output/server/chunks/_/useAmlExperiments-OKokvfaM.mjs.map +0 -1
  1474. package/.output/server/chunks/_/useAmlFormat-DNrSqItx.mjs +0 -84
  1475. package/.output/server/chunks/_/useAmlFormat-DNrSqItx.mjs.map +0 -1
  1476. package/.output/server/chunks/_/useAmlJobs-BNmfSu93.mjs +0 -269
  1477. package/.output/server/chunks/_/useAmlJobs-BNmfSu93.mjs.map +0 -1
  1478. package/.output/server/chunks/_/useAmlModels-DGwJ-heH.mjs +0 -95
  1479. package/.output/server/chunks/_/useAmlModels-DGwJ-heH.mjs.map +0 -1
  1480. package/.output/server/chunks/_/useAmlNotes-CsA1Z0f8.mjs +0 -88
  1481. package/.output/server/chunks/_/useAmlNotes-CsA1Z0f8.mjs.map +0 -1
  1482. package/.output/server/chunks/_/useAmlPredict-CEm3iBOl.mjs +0 -132
  1483. package/.output/server/chunks/_/useAmlPredict-CEm3iBOl.mjs.map +0 -1
  1484. package/.output/server/chunks/_/useAnalysisFeed-CgEd7QjS.mjs +0 -131
  1485. package/.output/server/chunks/_/useAnalysisFeed-CgEd7QjS.mjs.map +0 -1
  1486. package/.output/server/chunks/_/useChartTheme-EmZwLO3z.mjs +0 -74
  1487. package/.output/server/chunks/_/useChartTheme-EmZwLO3z.mjs.map +0 -1
  1488. package/.output/server/chunks/_/useDaqAddNode-qUTVIBD0.mjs +0 -144
  1489. package/.output/server/chunks/_/useDaqAddNode-qUTVIBD0.mjs.map +0 -1
  1490. package/.output/server/chunks/_/useDaqDetailBinding-D0JkQZhl.mjs +0 -72
  1491. package/.output/server/chunks/_/useDaqDetailBinding-D0JkQZhl.mjs.map +0 -1
  1492. package/.output/server/chunks/_/useDaqDetailFrames-Du_raRy1.mjs +0 -81
  1493. package/.output/server/chunks/_/useDaqDetailFrames-Du_raRy1.mjs.map +0 -1
  1494. package/.output/server/chunks/_/useDaqDetailHistory-BQx0cKA6.mjs +0 -178
  1495. package/.output/server/chunks/_/useDaqDetailHistory-BQx0cKA6.mjs.map +0 -1
  1496. package/.output/server/chunks/_/useDaqDetailNode-UCnodI1A.mjs +0 -101
  1497. package/.output/server/chunks/_/useDaqDetailNode-UCnodI1A.mjs.map +0 -1
  1498. package/.output/server/chunks/_/useDaqDetailParams-D4ZVxVla.mjs +0 -161
  1499. package/.output/server/chunks/_/useDaqDetailParams-D4ZVxVla.mjs.map +0 -1
  1500. package/.output/server/chunks/_/useDaqFilters-CugTQrIt.mjs +0 -224
  1501. package/.output/server/chunks/_/useDaqFilters-CugTQrIt.mjs.map +0 -1
  1502. package/.output/server/chunks/_/useDaqNodeWindow-1DWj2H5G.mjs +0 -92
  1503. package/.output/server/chunks/_/useDaqNodeWindow-1DWj2H5G.mjs.map +0 -1
  1504. package/.output/server/chunks/_/useDaqOptimizations-_P1sco7P.mjs +0 -138
  1505. package/.output/server/chunks/_/useDaqOptimizations-_P1sco7P.mjs.map +0 -1
  1506. package/.output/server/chunks/_/useDaqStream-BVFNKAP9.mjs +0 -395
  1507. package/.output/server/chunks/_/useDaqStream-BVFNKAP9.mjs.map +0 -1
  1508. package/.output/server/chunks/_/useDaqTemplates-DmcUC_Aw.mjs +0 -189
  1509. package/.output/server/chunks/_/useDaqTemplates-DmcUC_Aw.mjs.map +0 -1
  1510. package/.output/server/chunks/_/useDashboardCharts-D_GnEy_4.mjs +0 -361
  1511. package/.output/server/chunks/_/useDashboardCharts-D_GnEy_4.mjs.map +0 -1
  1512. package/.output/server/chunks/_/useDashboardData-Dv1SJs3v.mjs +0 -150
  1513. package/.output/server/chunks/_/useDashboardData-Dv1SJs3v.mjs.map +0 -1
  1514. package/.output/server/chunks/_/useDcwAddNode-CZtXylAe.mjs +0 -221
  1515. package/.output/server/chunks/_/useDcwAddNode-CZtXylAe.mjs.map +0 -1
  1516. package/.output/server/chunks/_/useDcwCards-CItS2A_F.mjs +0 -69
  1517. package/.output/server/chunks/_/useDcwCards-CItS2A_F.mjs.map +0 -1
  1518. package/.output/server/chunks/_/useDcwDetailScope-Dyu0bYy9.mjs +0 -186
  1519. package/.output/server/chunks/_/useDcwDetailScope-Dyu0bYy9.mjs.map +0 -1
  1520. package/.output/server/chunks/_/useDcwDetailTemplates-CwK1rb2i.mjs +0 -150
  1521. package/.output/server/chunks/_/useDcwDetailTemplates-CwK1rb2i.mjs.map +0 -1
  1522. package/.output/server/chunks/_/useDcwFilter-CvuCOvU2.mjs +0 -73
  1523. package/.output/server/chunks/_/useDcwFilter-CvuCOvU2.mjs.map +0 -1
  1524. package/.output/server/chunks/_/useDcwLedger-CI-AK4j3.mjs +0 -81
  1525. package/.output/server/chunks/_/useDcwLedger-CI-AK4j3.mjs.map +0 -1
  1526. package/.output/server/chunks/_/useDcwLineMutations-CsS2rDUh.mjs +0 -139
  1527. package/.output/server/chunks/_/useDcwLineMutations-CsS2rDUh.mjs.map +0 -1
  1528. package/.output/server/chunks/_/useDcwLineRun-B1uLN_MJ.mjs +0 -106
  1529. package/.output/server/chunks/_/useDcwLineRun-B1uLN_MJ.mjs.map +0 -1
  1530. package/.output/server/chunks/_/useDcwParamApprovals-CVab6q8T.mjs +0 -123
  1531. package/.output/server/chunks/_/useDcwParamApprovals-CVab6q8T.mjs.map +0 -1
  1532. package/.output/server/chunks/_/useDcwProducts-OAvQBk5O.mjs +0 -95
  1533. package/.output/server/chunks/_/useDcwProducts-OAvQBk5O.mjs.map +0 -1
  1534. package/.output/server/chunks/_/useDcwQuery-dgEkZDAy.mjs +0 -100
  1535. package/.output/server/chunks/_/useDcwQuery-dgEkZDAy.mjs.map +0 -1
  1536. package/.output/server/chunks/_/useDcwQuickActions-C3ItztwI.mjs +0 -90
  1537. package/.output/server/chunks/_/useDcwQuickActions-C3ItztwI.mjs.map +0 -1
  1538. package/.output/server/chunks/_/useDcwRecipes-BD4PjvzG.mjs +0 -260
  1539. package/.output/server/chunks/_/useDcwRecipes-BD4PjvzG.mjs.map +0 -1
  1540. package/.output/server/chunks/_/useDcwStream-BTcOZh5H.mjs +0 -455
  1541. package/.output/server/chunks/_/useDcwStream-BTcOZh5H.mjs.map +0 -1
  1542. package/.output/server/chunks/_/useDcwTemplates-CsR6b3ws.mjs +0 -93
  1543. package/.output/server/chunks/_/useDcwTemplates-CsR6b3ws.mjs.map +0 -1
  1544. package/.output/server/chunks/_/useDcwWrites-C55DL7Fe.mjs +0 -142
  1545. package/.output/server/chunks/_/useDcwWrites-C55DL7Fe.mjs.map +0 -1
  1546. package/.output/server/chunks/_/useDeviceTwins-Ctvx111a.mjs +0 -128
  1547. package/.output/server/chunks/_/useDeviceTwins-Ctvx111a.mjs.map +0 -1
  1548. package/.output/server/chunks/_/useExpConfirmations-BTo6K_-o.mjs +0 -109
  1549. package/.output/server/chunks/_/useExpConfirmations-BTo6K_-o.mjs.map +0 -1
  1550. package/.output/server/chunks/_/useLocalTime-BIsExILL.mjs +0 -55
  1551. package/.output/server/chunks/_/useLocalTime-BIsExILL.mjs.map +0 -1
  1552. package/.output/server/chunks/_/useLogsFormat-jAfh97vI.mjs +0 -79
  1553. package/.output/server/chunks/_/useLogsFormat-jAfh97vI.mjs.map +0 -1
  1554. package/.output/server/chunks/_/useLogsManual-CJMnJAAq.mjs +0 -91
  1555. package/.output/server/chunks/_/useLogsManual-CJMnJAAq.mjs.map +0 -1
  1556. package/.output/server/chunks/_/useLogsQuery-BiJ7nmrc.mjs +0 -152
  1557. package/.output/server/chunks/_/useLogsQuery-BiJ7nmrc.mjs.map +0 -1
  1558. package/.output/server/chunks/_/useLogsScope-CUxlAoQN.mjs +0 -85
  1559. package/.output/server/chunks/_/useLogsScope-CUxlAoQN.mjs.map +0 -1
  1560. package/.output/server/chunks/_/useMonitorColumns-C3Zypz4w.mjs +0 -219
  1561. package/.output/server/chunks/_/useMonitorColumns-C3Zypz4w.mjs.map +0 -1
  1562. package/.output/server/chunks/_/useMonitorData-DaPi0oCf.mjs +0 -140
  1563. package/.output/server/chunks/_/useMonitorData-DaPi0oCf.mjs.map +0 -1
  1564. package/.output/server/chunks/_/useMonitorFormat-DRroE1-P.mjs +0 -93
  1565. package/.output/server/chunks/_/useMonitorFormat-DRroE1-P.mjs.map +0 -1
  1566. package/.output/server/chunks/_/useMonitorTerminal-Dj4QwRNW.mjs +0 -73
  1567. package/.output/server/chunks/_/useMonitorTerminal-Dj4QwRNW.mjs.map +0 -1
  1568. package/.output/server/chunks/_/useOperationsFeed-Cu6nZ5G2.mjs +0 -197
  1569. package/.output/server/chunks/_/useOperationsFeed-Cu6nZ5G2.mjs.map +0 -1
  1570. package/.output/server/chunks/_/useOpsLog-BfxRlo_n.mjs +0 -149
  1571. package/.output/server/chunks/_/useOpsLog-BfxRlo_n.mjs.map +0 -1
  1572. package/.output/server/chunks/_/useRecipeDispatchApprovals-Cyo-FL6y.mjs +0 -158
  1573. package/.output/server/chunks/_/useRecipeDispatchApprovals-Cyo-FL6y.mjs.map +0 -1
  1574. package/.output/server/chunks/_/useRefs-BgR7VJ3z.mjs +0 -13
  1575. package/.output/server/chunks/_/useRefs-BgR7VJ3z.mjs.map +0 -1
  1576. package/.output/server/chunks/_/useResponsive-BKDMGTHs.mjs.map +0 -1
  1577. package/.output/server/chunks/_/useTeamActions-DmWnxoQW.mjs +0 -81
  1578. package/.output/server/chunks/_/useTeamActions-DmWnxoQW.mjs.map +0 -1
  1579. package/.output/server/chunks/_/useTeamAddMemberDialog-BGUKcpHg.mjs +0 -86
  1580. package/.output/server/chunks/_/useTeamAddMemberDialog-BGUKcpHg.mjs.map +0 -1
  1581. package/.output/server/chunks/_/useTeamCreateDialog-I5aNyEOk.mjs +0 -99
  1582. package/.output/server/chunks/_/useTeamCreateDialog-I5aNyEOk.mjs.map +0 -1
  1583. package/.output/server/chunks/_/useTeamDeployDialog-DpzPh1ar.mjs +0 -82
  1584. package/.output/server/chunks/_/useTeamDeployDialog-DpzPh1ar.mjs.map +0 -1
  1585. package/.output/server/chunks/_/useTeamDialogState-CFRUQxAf.mjs +0 -84
  1586. package/.output/server/chunks/_/useTeamDialogState-CFRUQxAf.mjs.map +0 -1
  1587. package/.output/server/chunks/_/useTeamPluginDialog-BnvTWgkJ.mjs +0 -105
  1588. package/.output/server/chunks/_/useTeamPluginDialog-BnvTWgkJ.mjs.map +0 -1
  1589. package/.output/server/chunks/_/useTeamsCatalog-CXFQQvy5.mjs +0 -125
  1590. package/.output/server/chunks/_/useTeamsCatalog-CXFQQvy5.mjs.map +0 -1
  1591. package/.output/server/chunks/_/useTokenClipboard-CwQpoFeP.mjs +0 -74
  1592. package/.output/server/chunks/_/useTokenClipboard-CwQpoFeP.mjs.map +0 -1
  1593. package/.output/server/chunks/_/useTokenCreate-D1hqeCGt.mjs +0 -117
  1594. package/.output/server/chunks/_/useTokenCreate-D1hqeCGt.mjs.map +0 -1
  1595. package/.output/server/chunks/_/useTokenRename-Dxq0gChy.mjs +0 -89
  1596. package/.output/server/chunks/_/useTokenRename-Dxq0gChy.mjs.map +0 -1
  1597. package/.output/server/chunks/_/useTokenReveal-4QsphcGa.mjs +0 -120
  1598. package/.output/server/chunks/_/useTokenReveal-4QsphcGa.mjs.map +0 -1
  1599. package/.output/server/chunks/_/useTokensList-DjSt3KA8.mjs +0 -94
  1600. package/.output/server/chunks/_/useTokensList-DjSt3KA8.mjs.map +0 -1
  1601. package/.output/server/chunks/_/useTownBus-D9SoIsAN.mjs.map +0 -1
  1602. package/.output/server/chunks/_/useWorkbenchAuth-zP_qzZJZ.mjs +0 -143
  1603. package/.output/server/chunks/_/useWorkbenchAuth-zP_qzZJZ.mjs.map +0 -1
  1604. package/.output/server/chunks/_/useWorkbenchWorkspaces-B3Aj2-_I.mjs +0 -140
  1605. package/.output/server/chunks/_/useWorkbenchWorkspaces-B3Aj2-_I.mjs.map +0 -1
  1606. package/.output/server/chunks/_/useWorkshopApi-BuIA1zHs.mjs +0 -143
  1607. package/.output/server/chunks/_/useWorkshopApi-BuIA1zHs.mjs.map +0 -1
  1608. package/.output/server/chunks/_/useWorkshopWs-0i1sJn4d.mjs +0 -1397
  1609. package/.output/server/chunks/_/useWorkshopWs-0i1sJn4d.mjs.map +0 -1
  1610. package/.output/server/chunks/_/useWorkspaceAuth-C8FuMJ_5.mjs +0 -62
  1611. package/.output/server/chunks/_/useWorkspaceAuth-C8FuMJ_5.mjs.map +0 -1
  1612. package/.output/server/chunks/_/useWorkspaceChannels-DA6pAAnT.mjs +0 -100
  1613. package/.output/server/chunks/_/useWorkspaceChannels-DA6pAAnT.mjs.map +0 -1
  1614. package/.output/server/chunks/_/useWorkspacePanels-DXXWih8x.mjs +0 -80
  1615. package/.output/server/chunks/_/useWorkspacePanels-DXXWih8x.mjs.map +0 -1
  1616. package/.output/server/chunks/_/useWorkspaceShell-V4mKVR9i.mjs +0 -176
  1617. package/.output/server/chunks/_/useWorkspaceShell-V4mKVR9i.mjs.map +0 -1
  1618. package/.output/server/chunks/_/users-IRIkTyUB.mjs +0 -657
  1619. package/.output/server/chunks/_/users-IRIkTyUB.mjs.map +0 -1
  1620. package/.output/server/chunks/_/workshop-D2ucb128.mjs +0 -549
  1621. package/.output/server/chunks/_/workshop-D2ucb128.mjs.map +0 -1
  1622. package/.output/server/chunks/_/workspaces-BMr2YzPN.mjs +0 -139
  1623. package/.output/server/chunks/_/workspaces-BMr2YzPN.mjs.map +0 -1
  1624. /package/.output/public/_nuxt/{2v5GdspM2.js → 2v5GdspM.js} +0 -0
  1625. /package/.output/public/_nuxt/{BxHBIVAg2.js → BxHBIVAg.js} +0 -0
  1626. /package/.output/public/_nuxt/{Du9v6qGB.js → Du9v6qGB2.js} +0 -0
  1627. /package/.output/public/_nuxt/{kZl6yT-1.js → kZl6yT-12.js} +0 -0
  1628. /package/.output/server/chunks/{_ → build}/builtin-catalog-edpDcgfL.mjs +0 -0
  1629. /package/.output/server/chunks/{_ → build}/chart-pipeline-BpoWYMK_.mjs +0 -0
  1630. /package/.output/server/chunks/{_ → build}/chart-trend-BWeZh5Lv.mjs +0 -0
  1631. /package/.output/server/chunks/{_ → build}/dcw-driver-badge-Df5wL_ZA.mjs +0 -0
  1632. /package/.output/server/chunks/{_ → build}/markdown-DGPyLniR.mjs +0 -0
  1633. /package/.output/server/chunks/{_ → build}/narrow-fetch-CcG-BPxc.mjs +0 -0
  1634. /package/.output/server/chunks/{_ → build}/useResponsive-BKDMGTHs.mjs +0 -0
  1635. /package/.output/server/chunks/{_ → build}/useTownBus-D9SoIsAN.mjs +0 -0
@@ -645,6 +645,7 @@ export class ProjectService {
645
645
  addMember(id: string, actor: ProjectActor, input: { userId: string, role?: string }): ProjectMemberRow {
646
646
  const p = this.get(id, actor)
647
647
  this.requireOwner(p, actor)
648
+ this.assertProjectNotCanceled(p)
648
649
  const userId = input.userId?.trim()
649
650
  if (!userId) throw new AppError(400, 'BAD_REQUEST', 'userId 不能为空')
650
651
  const requestedRole = input.role?.trim()
@@ -664,6 +665,7 @@ export class ProjectService {
664
665
  removeMember(id: string, userId: string, actor: ProjectActor): void {
665
666
  const p = this.get(id, actor)
666
667
  this.requireOwner(p, actor)
668
+ this.assertProjectNotCanceled(p)
667
669
  this.members.remove(id, userId)
668
670
  }
669
671
 
@@ -754,6 +756,7 @@ export class ProjectService {
754
756
  activate(id: string, actor: ProjectActor): ProjectRow {
755
757
  const p = this.get(id, actor)
756
758
  this.requireOwner(p, actor)
759
+ this.assertProjectNotCanceled(p)
757
760
  if (p.status === 'active') return p
758
761
  if (p.status !== 'draft' && p.status !== 'paused') {
759
762
  throw new AppError(409, 'PROJECT_STATE_INVALID', `Project 状态 ${p.status} 不能激活`)
@@ -779,6 +782,7 @@ export class ProjectService {
779
782
  pause(id: string, actor: ProjectActor): ProjectRow {
780
783
  const p = this.get(id, actor)
781
784
  this.requireOwner(p, actor)
785
+ this.assertProjectNotCanceled(p)
782
786
  if (p.status !== 'active') throw new AppError(409, 'PROJECT_STATE_INVALID', `Project 状态 ${p.status} 不能暂停`)
783
787
  return this.projects.update(id, { status: 'paused' })!
784
788
  }
@@ -807,6 +811,7 @@ export class ProjectService {
807
811
  }): Promise<ProjectContinuationResult> {
808
812
  const p = this.get(id, actor)
809
813
  this.requireOwner(p, actor)
814
+ if (p.status === 'canceled') throw new AppError(409, 'PROJECT_STATE_INVALID', '项目已终止,不能继续开发')
810
815
  if (p.status === 'archived') throw new AppError(409, 'PROJECT_STATE_INVALID', '已归档项目不能继续开发')
811
816
  if (p.status === 'draft') throw new AppError(409, 'PROJECT_STATE_INVALID', '项目尚未激活;请先激活再继续开发')
812
817
  if (!p.officeChannelId || !p.leadAgentId) {
@@ -879,55 +884,142 @@ export class ProjectService {
879
884
  * P2 终止运行:owner 终止项目 = 级联终结(与 pause 可恢复相对,终止是终态)。
880
885
  * - 全部未终结工作项 → CANCELED(PROJECT_TERMINATED) + attempt 闭合;
881
886
  * - 各自 root 任务树 cancelTree(后代优先)——频道侧正在执行的 omp 回合被取消;
887
+ * - active 的 task_instance 绑定频道上的非终态任务树同样在事务内 cancelTree
888
+ * (孤立绑定/manager 级联半途失败的兜底);
882
889
  * - 待批审批全部过期;项目状态 → canceled(内核/路由/派发均只认 active)。
883
- * manager 未暴露 TaskEngine 时(最小 stub)任务树取消静默跳过——工作项侧已终结。
890
+ * 事务提交后的阶段只做 durable 收口(会话行/channel 停用/绑定 detach,幂等),
891
+ * 不再依赖 manager 级联的结果。manager 未暴露 TaskEngine 时,只要存在在飞 root task
892
+ * 或孤立绑定活任务就 fail-closed;数据库终态不会先于 runtime 取消提交。
884
893
  */
885
- terminate(id: string, actor: ProjectActor, reason: string): ProjectRow {
894
+ async terminate(id: string, actor: ProjectActor, reason: string): Promise<ProjectRow> {
886
895
  const p = this.get(id, actor)
887
896
  this.requireOwner(p, actor)
888
- if (p.status === 'canceled') return this.projects.findById(id)!
889
897
  if (p.status === 'completed' || p.status === 'archived') {
890
898
  throw new AppError(409, 'PROJECT_STATE_INVALID', `项目 ${p.status} 不可终止`)
891
899
  }
892
900
  if (!reason.trim()) throw new AppError(400, 'BAD_REQUEST', '终止必须给出理由')
893
- const engineAccess = (this.manager as unknown as { getTaskEngine?: () => { cancelTree?: (taskId: string, by: string, reason: string) => Array<{ id: string, state: string }> } }).getTaskEngine
894
- const engine = typeof engineAccess === 'function' ? engineAccess.call(this.manager) : undefined
895
901
  const items = this.workItems.listByProject(id)
896
902
  const canceledTasks: Array<{ taskId: string, state: string }> = []
897
903
  withTransaction(this.db, () => {
898
904
  for (const wi of items) {
899
- if (['COMPLETED', 'FAILED', 'CANCELED', 'SUPERSEDED'].includes(wi.state)) continue
900
- this.workItems.update(wi.id, {
901
- state: 'CANCELED',
902
- stateReason: 'PROJECT_TERMINATED',
903
- closedAt: new Date().toISOString(),
904
- closeReason: 'PROJECT_TERMINATED',
905
- })
906
- if (wi.currentAttemptId) {
907
- const attempt = this.attempts.findById(wi.currentAttemptId)
908
- if (attempt && !attempt.closedAt) this.attempts.close(attempt.id, 'CLOSED', 'PROJECT_TERMINATED')
909
- if (attempt?.channelTaskId && engine?.cancelTree) {
910
- try {
911
- for (const t of engine.cancelTree(attempt.channelTaskId, actor.id, `PROJECT_TERMINATED: ${reason}`)) {
912
- canceledTasks.push({ taskId: t.id, state: t.state })
913
- }
914
- }
915
- catch { /* 任务可能已终态——工作项侧已终结,容忍 */ }
905
+ const terminal = ['COMPLETED', 'FAILED', 'CANCELED', 'SUPERSEDED'].includes(wi.state)
906
+ if (!terminal) {
907
+ this.workItems.update(wi.id, {
908
+ state: 'CANCELED',
909
+ stateReason: 'PROJECT_TERMINATED',
910
+ closedAt: new Date().toISOString(),
911
+ closeReason: 'PROJECT_TERMINATED',
912
+ })
913
+ this.record(id, 'work.canceled', actor, { workItemId: wi.id, reason: `PROJECT_TERMINATED: ${reason}` }, wi.traceId, 'work.canceled', `work:${wi.id}:terminated`, { workItemId: wi.id, reason })
914
+ }
915
+ // H0 幂等扫尾:即使工作项已是 CANCELED,attempt 可能仍挂着在飞任务
916
+ // (取消竞态/重复 terminate)。只要 task 未终态就取消并 abort,不能因
917
+ // 工作项终态而跳过。
918
+ const attempt = wi.currentAttemptId ? this.attempts.findById(wi.currentAttemptId) : undefined
919
+ if (attempt && !attempt.closedAt) this.attempts.close(attempt.id, 'CLOSED', 'PROJECT_TERMINATED')
920
+ if (attempt?.channelTaskId) {
921
+ for (const t of this.cancelTaskTreeForProject(attempt.channelTaskId, actor.id, `PROJECT_TERMINATED: ${reason}`)) {
922
+ canceledTasks.push({ taskId: t.id, state: t.state })
923
+ }
924
+ }
925
+ }
926
+ // 孤立/任务实例绑定的 runtime 取消必须在数据库终态提交前完成(runtime-first +
927
+ // fail-closed):manager.closeChannelSession 的内部级联(cancelTree→abort→…)任一步
928
+ // 失败时任务树可能仍存活,若只做事后 detach 会留下活 runtime。这里对每个 active 的
929
+ // task_instance 绑定,枚举其频道上非终态任务并逐棵 cancelTree;缺 runtime 能力时
930
+ // cancelTaskTreeForProject 抛 503,整个事务回滚、项目不落 canceled(与其他路径口径一致)。
931
+ for (const binding of this.bindings.listByProject(id).filter(b => b.bindingType === 'task_instance' && b.status === 'active')) {
932
+ const liveTasks = this.db.prepare(
933
+ `SELECT id FROM tasks WHERE channel_id = ? AND state NOT IN ('COMPLETED','FAILED','CANCELED','SUPERSEDED')`,
934
+ ).all(binding.channelId) as Array<{ id: string }>
935
+ for (const t of liveTasks) {
936
+ for (const canceled of this.cancelTaskTreeForProject(t.id, actor.id, 'PROJECT_TERMINATED')) {
937
+ canceledTasks.push({ taskId: canceled.id, state: canceled.state })
916
938
  }
917
939
  }
918
- this.record(id, 'work.canceled', actor, { workItemId: wi.id, reason: `PROJECT_TERMINATED: ${reason}` }, wi.traceId, 'work.canceled', `work:${wi.id}:terminated`, { workItemId: wi.id })
919
940
  }
920
941
  this.approvals.expire(id)
921
942
  this.approvals.expireAllPending(id)
922
- this.projects.update(id, { status: 'canceled' })
923
- this.record(id, 'project.terminated', actor, { reason, canceledWorkItems: items.length, canceledTasks: canceledTasks.length }, '', 'project.terminated', `project:${id}:terminated`, { reason, canceledTasks })
943
+ if (p.status !== 'canceled') {
944
+ this.projects.update(id, { status: 'canceled' })
945
+ this.record(id, 'project.terminated', actor, { reason, canceledWorkItems: items.length, canceledTasks: canceledTasks.length }, '', 'project.terminated', `project:${id}:terminated`, { reason, canceledTasks })
946
+ }
924
947
  })
948
+ // 终止不会再经过 active 项目的 route loop;任务实例必须在终止出口主动回收。
949
+ // runtime 任务树已在上方事务内随终态一起取消(失败则整体回滚,不会走到这里);
950
+ // 本阶段只做 durable 收口(幂等):对每个 active task_instance 绑定(无论是否匹配
951
+ // workItem),逐 active session 先 manager.closeChannelSession(失败 fallback
952
+ // sessions.close),再 SQL 停用频道 + detach 绑定;全部 try/catch 包裹,
953
+ // 保证 terminate 返回时不再留下可调度实例。
954
+ const terminalItems = this.workItems.listByProject(id)
955
+ const taskInstanceBindings = this.bindings.listByProject(id)
956
+ .filter(b => b.bindingType === 'task_instance' && b.status === 'active')
957
+ for (const binding of taskInstanceBindings) {
958
+ for (const session of this.sessions.listByChannel(binding.channelId).filter(s => s.status === 'active')) {
959
+ try {
960
+ await this.manager.closeChannelSession({ channelId: binding.channelId, sessionId: session.id, actor: { id: p.ownerUserId, role: 'user' }, reason: 'PROJECT_TERMINATED' })
961
+ }
962
+ catch {
963
+ try {
964
+ this.sessions.close(session.id)
965
+ }
966
+ catch { /* 已关闭 */ }
967
+ }
968
+ }
969
+ try {
970
+ this.db.prepare('UPDATE channels SET enabled = 0 WHERE id = ?').run(binding.channelId)
971
+ }
972
+ catch { /* Channel 已删除 */ }
973
+ try {
974
+ this.bindings.setStatus(id, binding.channelId, 'detached')
975
+ }
976
+ catch { /* 历史/并发删除时可能已不存在 */ }
977
+ }
978
+ // 兜底:工作项残留 instanceChannelId 但绑定已不 active(历史/并发 detach)时,
979
+ // 仍按 durable 口径收口会话行/频道/绑定指针。
980
+ for (const wi of terminalItems.filter(x => x.instanceChannelId && !taskInstanceBindings.some(b => b.channelId === x.instanceChannelId))) {
981
+ this.closeTaskInstanceDurable(wi)
982
+ }
925
983
  return this.projects.findById(id)!
926
984
  }
927
985
 
986
+ /** H0 内部取消任务树:优先走 manager 的 cancelTaskTreeInternal(含 abort);替身降级为 engine.cancelTree。 */
987
+ private cancelTaskTreeForProject(taskId: string, by: string, reason: string): Array<{ id: string, state: string }> {
988
+ const mgr = this.manager as unknown as { cancelTaskTreeInternal?: (taskId: string, by: string, reason: string) => Array<{ id: string, state: string }> }
989
+ if (typeof mgr.cancelTaskTreeInternal === 'function') {
990
+ return mgr.cancelTaskTreeInternal(taskId, by, reason) ?? []
991
+ }
992
+ const engineAccess = (this.manager as unknown as { getTaskEngine?: () => { cancelTree?: (taskId: string, by: string, reason: string) => Array<{ id: string, state: string }> } }).getTaskEngine
993
+ const engine = typeof engineAccess === 'function' ? engineAccess.call(this.manager) : undefined
994
+ if (typeof engine?.cancelTree === 'function') return engine.cancelTree(taskId, by, reason) ?? []
995
+ throw new AppError(503, 'PROJECT_RUNTIME_UNAVAILABLE', '项目运行时不支持取消任务树;数据库终态未提交,请稍后重试')
996
+ }
997
+
998
+ /**
999
+ * H0 开工栅栏:project 来源任务进入 WORKING 前复核项目/工作项/attempt 仍可执行。
1000
+ * 组合根把它注入 TaskEngine;取消/终止后即使任务已被唤醒也无法开工。
1001
+ */
1002
+ isProjectTaskRunnable(projectId: string, taskId: string): boolean {
1003
+ const p = this.projects.findById(projectId)
1004
+ if (!p || p.status !== 'active') return false
1005
+ const task = this.tasks.findById(taskId)
1006
+ if (!task) return false
1007
+ if (task.projectWorkItemId) {
1008
+ const wi = this.workItems.findById(task.projectWorkItemId)
1009
+ if (!wi) return false
1010
+ if (['CANCELED', 'COMPLETED', 'FAILED', 'SUPERSEDED'].includes(wi.state)) return false
1011
+ if (wi.currentAttemptId) {
1012
+ const attempt = this.attempts.findById(wi.currentAttemptId)
1013
+ if (attempt && task.projectAttemptNo != null && attempt.attemptNo !== task.projectAttemptNo) return false
1014
+ }
1015
+ }
1016
+ return true
1017
+ }
1018
+
928
1019
  archive(id: string, actor: ProjectActor): ProjectRow {
929
1020
  const p = this.get(id, actor)
930
1021
  this.requireOwner(p, actor)
1022
+ this.assertProjectNotCanceled(p)
931
1023
  if (p.status === 'archived') return p
932
1024
  // V1:只允许从非 active 状态归档;active 先 pause/complete。
933
1025
  if (p.status === 'active') throw new AppError(409, 'PROJECT_STATE_INVALID', 'active 项目先暂停或完成再归档')
@@ -969,7 +1061,7 @@ export class ProjectService {
969
1061
  }): ProjectDeliverableRow {
970
1062
  const p = this.get(id, actor)
971
1063
  this.requireOwner(p, actor)
972
- if (p.status === 'archived' || p.status === 'completed') {
1064
+ if (p.status === 'canceled' || p.status === 'archived' || p.status === 'completed') {
973
1065
  throw new AppError(409, 'PROJECT_STATE_INVALID', `Project 状态 ${p.status} 不能新增交付物`)
974
1066
  }
975
1067
  if (!input.name?.trim()) throw new AppError(400, 'BAD_REQUEST', '交付物名称不能为空')
@@ -994,6 +1086,7 @@ export class ProjectService {
994
1086
  waiveDeliverable(id: string, deliverableId: string, actor: ProjectActor, reason: string): ProjectDeliverableRow {
995
1087
  const p = this.get(id, actor)
996
1088
  this.requireOwner(p, actor)
1089
+ this.assertProjectNotCanceled(p)
997
1090
  const d = this.deliverables.findById(deliverableId)
998
1091
  if (!d || d.projectId !== id) throw new AppError(404, 'NOT_FOUND', '交付物不存在或不属于该项目')
999
1092
  if (d.status === 'approved') throw new AppError(409, 'DELIVERABLE_STATE_INVALID', '已验收交付物不能豁免')
@@ -1013,6 +1106,7 @@ export class ProjectService {
1013
1106
  cancelWorkItem(id: string, workItemId: string, actor: ProjectActor, reason: string): ProjectWorkItemRow {
1014
1107
  const p = this.get(id, actor)
1015
1108
  this.requireOwner(p, actor)
1109
+ this.assertProjectNotCanceled(p)
1016
1110
  const wi = this.workItems.findById(workItemId)
1017
1111
  if (!wi || wi.projectId !== id) throw new AppError(404, 'NOT_FOUND', '工作项不存在或不属于该项目')
1018
1112
  if (['COMPLETED', 'CANCELED', 'SUPERSEDED'].includes(wi.state)) return wi
@@ -1027,6 +1121,10 @@ export class ProjectService {
1027
1121
  if (wi.currentAttemptId) {
1028
1122
  const attempt = this.attempts.findById(wi.currentAttemptId)
1029
1123
  if (attempt && !attempt.closedAt) this.attempts.close(attempt.id, 'CLOSED', reason)
1124
+ // H0:关闭 attempt 不等于停止回合——同事务内取消任务树(含 abort)。
1125
+ if (attempt?.channelTaskId) {
1126
+ this.cancelTaskTreeForProject(attempt.channelTaskId, actor.id, `OWNER_CANCELED: ${reason}`)
1127
+ }
1030
1128
  }
1031
1129
  this.record(id, 'work.canceled', actor, { workItemId, reason }, wi.traceId, 'work.canceled', `work:${workItemId}:canceled`, { workItemId, reason })
1032
1130
  })
@@ -1062,7 +1160,7 @@ export class ProjectService {
1062
1160
  }): ProjectWorkItemRow {
1063
1161
  const p = this.get(id, actor)
1064
1162
  this.requireOwner(p, actor)
1065
- if (p.status === 'archived' || p.status === 'completed') {
1163
+ if (p.status === 'canceled' || p.status === 'archived' || p.status === 'completed') {
1066
1164
  throw new AppError(409, 'PROJECT_STATE_INVALID', `Project 状态 ${p.status} 不能新增工作项`)
1067
1165
  }
1068
1166
  const d = this.deliverables.listByProject(id).find(x => x.id === input.deliverableId)
@@ -1235,6 +1333,15 @@ export class ProjectService {
1235
1333
  wi.deferredUntil = null
1236
1334
  wi.currentAttemptId = null
1237
1335
  }
1336
+ // retry 端点契约:CANCELED/COMPLETED 也支持重派 —— 但仅当计划版本一致(无漂移)。
1337
+ // 版本漂移时不下拉,保留下方 PLAN_VERSION_STALE 拒绝(L8:已执行过的项不得悄然按新计划重跑)。
1338
+ if ((wi.state === 'CANCELED' || wi.state === 'COMPLETED') && !liveAttempt && wi.planVersion === p.planVersion) {
1339
+ this.workItems.update(wi.id, { state: 'DRAFT', stateReason: null, deferredUntil: null, currentAttemptId: null })
1340
+ wi.state = 'DRAFT'
1341
+ wi.stateReason = null
1342
+ wi.deferredUntil = null
1343
+ wi.currentAttemptId = null
1344
+ }
1238
1345
  if (p.planVersion > 0 && wi.planVersion !== p.planVersion) {
1239
1346
  if (wi.state === 'DRAFT') {
1240
1347
  // 审查修复:批准前手建的 DRAFT 工作项派发时自动对齐当前批准版本(避免死锁);
@@ -1319,6 +1426,39 @@ export class ProjectService {
1319
1426
  execBudgetMinutes: wi.execBudgetMinutes,
1320
1427
  parts: [{ text: handoff.text }],
1321
1428
  })
1429
+ // H0 派发后栅栏:submitProjectRoot 在返回前已创建任务并可能唤醒 Agent。
1430
+ // 因此返回后必须重读项目/工作项/attempt,确认本次 claim 仍是唯一有效代次;
1431
+ // 若期间被 pause/terminate/cancelWorkItem 或新 attempt 抢占,立即取消任务树
1432
+ // 并闭合 attempt。真正防执行由 TaskEngine 的开工栅栏兜底(见 transition.ts)。
1433
+ const freshProject = this.projects.findById(id)
1434
+ const freshItem = this.workItems.findById(wi.id)
1435
+ const ownsClaim = !!attempt && freshItem?.currentAttemptId === attempt.id
1436
+ const canCommit = freshProject?.status === 'active'
1437
+ && freshItem?.state === 'DISPATCHING'
1438
+ && ownsClaim
1439
+ if (!canCommit) {
1440
+ this.cancelTaskTreeForProject(task.id, 'system', 'PROJECT_STATE_CHANGED_DURING_DISPATCH')
1441
+ if (attempt && !attempt.closedAt) {
1442
+ this.attempts.closeWithFailure(attempt.id, {
1443
+ reason: 'PROJECT_STATE_CHANGED_DURING_DISPATCH',
1444
+ failureClass: 'CONTRACT',
1445
+ retryable: false,
1446
+ nextRetryAt: null,
1447
+ })
1448
+ }
1449
+ const projectCanceled = freshProject?.status === 'canceled'
1450
+ this.workItems.update(wi.id, {
1451
+ state: projectCanceled ? 'CANCELED' : 'DRAFT',
1452
+ stateReason: 'PROJECT_STATE_CHANGED_DURING_DISPATCH',
1453
+ currentAttemptId: null,
1454
+ closedAt: projectCanceled ? new Date().toISOString() : null,
1455
+ closeReason: projectCanceled ? 'PROJECT_TERMINATED' : null,
1456
+ })
1457
+ this.record(id, 'work.dispatch_aborted', actor, {
1458
+ workItemId: wi.id, taskId: task.id, attemptNo, reason: 'PROJECT_STATE_CHANGED_DURING_DISPATCH',
1459
+ }, traceId, 'work.dispatch_aborted', `work:${wi.id}:dispatch-aborted:a${attemptNo}`, { workItemId: wi.id, taskId: task.id })
1460
+ throw new AppError(409, 'PROJECT_STATE_CHANGED', '派发期间项目状态已变更,本次任务已取消')
1461
+ }
1322
1462
  this.attempts.setDispatched(attempt!.id, task.id)
1323
1463
  const evtType = opts.auto ? 'work.dispatch_auto' : 'work.dispatched'
1324
1464
  this.record(id, evtType, actor, { workItemId: wi.id, taskId: task.id, attemptNo, instanceChannelId, inputResultIds: handoff.upstream.map(r => r.id) }, traceId, evtType, `work:${wi.id}:${opts.auto ? 'auto' : 'dispatched'}:a${attemptNo}`, { workItemId: wi.id, taskId: task.id, attemptNo, auto: opts.auto, inputResultIds: handoff.upstream.map(r => r.id), planVersion: p.planVersion, channelId: wi.channelId, instanceChannelId })
@@ -1335,7 +1475,37 @@ export class ProjectService {
1335
1475
  const message = err instanceof Error ? err.message : String(err)
1336
1476
  const code = (err as { code?: string }).code ?? ''
1337
1477
  const errno = (err as { errno?: number }).errno
1338
- // WP1:并发派发冲突(claim 未赢 / attempt 序号唯一索引撞车)→ 可重试语义,绝不下 BLOCKED。
1478
+ // H0 派发后栅栏已把本次 attempt/工作项收敛到终态或 DRAFT,不能再走通用
1479
+ // close/回落逻辑覆盖(否则 CANCELED 会被改回 DRAFT/BLOCKED)。
1480
+ if (code === 'PROJECT_STATE_CHANGED') {
1481
+ if (createdInstanceId) {
1482
+ try {
1483
+ this.bindings.setStatus(id, createdInstanceId, 'detached')
1484
+ }
1485
+ catch { /* binding may not have been written */ }
1486
+ await this.releaseCreatedInstance(wi, createdInstanceId)
1487
+ }
1488
+ throw err
1489
+ }
1490
+ const latestProject = this.projects.findById(id)
1491
+ if (latestProject?.status === 'canceled') {
1492
+ if (attempt && !attempt.closedAt) {
1493
+ this.attempts.closeWithFailure(attempt.id, {
1494
+ reason: 'PROJECT_TERMINATED',
1495
+ failureClass: 'CONTRACT',
1496
+ retryable: false,
1497
+ nextRetryAt: null,
1498
+ })
1499
+ }
1500
+ this.workItems.update(wi.id, {
1501
+ state: 'CANCELED',
1502
+ stateReason: 'PROJECT_TERMINATED',
1503
+ currentAttemptId: null,
1504
+ closedAt: new Date().toISOString(),
1505
+ closeReason: 'PROJECT_TERMINATED',
1506
+ })
1507
+ throw err
1508
+ }
1339
1509
  const attemptConflict = code === 'WORK_ITEM_IN_FLIGHT'
1340
1510
  || (/UNIQUE constraint failed/i.test(message) && /attempt|project_work_item/i.test(message))
1341
1511
  if (attemptConflict) {
@@ -1433,6 +1603,11 @@ export class ProjectService {
1433
1603
  title: wi.title,
1434
1604
  actor: ownerActor,
1435
1605
  })
1606
+ const afterCreate = this.projects.findById(p.id)
1607
+ if (!afterCreate || afterCreate.status !== 'active') {
1608
+ await this.releaseCreatedInstance(wi, created.channelId)
1609
+ throw new AppError(409, 'PROJECT_STATE_CHANGED', '任务实例创建期间项目状态已变更')
1610
+ }
1436
1611
  // 绑定项目:agentProjectContext 依此判定实例成员的 channel_lead 工具面
1437
1612
  if (!this.bindings.findActiveByChannel(created.channelId)) {
1438
1613
  this.bindings.add({
@@ -1443,7 +1618,19 @@ export class ProjectService {
1443
1618
  addedBy: p.ownerUserId,
1444
1619
  })
1445
1620
  }
1621
+ const afterBind = this.projects.findById(p.id)
1622
+ if (!afterBind || afterBind.status !== 'active') {
1623
+ this.bindings.setStatus(p.id, created.channelId, 'detached')
1624
+ await this.releaseCreatedInstance(wi, created.channelId)
1625
+ throw new AppError(409, 'PROJECT_STATE_CHANGED', '任务实例绑定期间项目状态已变更')
1626
+ }
1446
1627
  this.workItems.update(wi.id, { instanceChannelId: created.channelId })
1628
+ const afterPointer = this.projects.findById(p.id)
1629
+ if (!afterPointer || afterPointer.status !== 'active') {
1630
+ this.bindings.setStatus(p.id, created.channelId, 'detached')
1631
+ await this.releaseCreatedInstance(wi, created.channelId)
1632
+ throw new AppError(409, 'PROJECT_STATE_CHANGED', '任务实例指针写入期间项目状态已变更')
1633
+ }
1447
1634
  this.record(p.id, 'work.instance_created', actor, {
1448
1635
  workItemId: wi.id, instanceChannelId: created.channelId, sessionId: created.sessionId, members: created.members.length,
1449
1636
  }, wi.traceId || `trace:${wi.id}`, 'work.instance_created', `work:${wi.id}:instance:${created.channelId}`, {
@@ -1452,6 +1639,29 @@ export class ProjectService {
1452
1639
  return { channelId: created.channelId, created: true }
1453
1640
  }
1454
1641
 
1642
+ private detachTaskInstanceBinding(projectId: string, channelId: string): void {
1643
+ try {
1644
+ this.bindings.setStatus(projectId, channelId, 'detached')
1645
+ }
1646
+ catch { /* 历史/并发删除时可能已不存在 */ }
1647
+ }
1648
+
1649
+ private closeTaskInstanceDurable(workItem: ProjectWorkItemRow): void {
1650
+ for (const session of this.sessions.listByWorkItem(workItem.id).filter(s => s.status === 'active')) {
1651
+ try {
1652
+ this.sessions.close(session.id)
1653
+ }
1654
+ catch { /* 已关闭 */ }
1655
+ }
1656
+ if (workItem.instanceChannelId) {
1657
+ try {
1658
+ this.db.prepare('UPDATE channels SET enabled = 0 WHERE id = ?').run(workItem.instanceChannelId)
1659
+ }
1660
+ catch { /* Channel 已删除 */ }
1661
+ this.detachTaskInstanceBinding(workItem.projectId, workItem.instanceChannelId)
1662
+ }
1663
+ }
1664
+
1455
1665
  /**
1456
1666
  * 释放任务实例:会话行 close(在飞子任务按树取消 + 成员 runtime 卸载)+ 停用实例 Channel
1457
1667
  * (停调度、卸载成员;Channel/会话行保留审计)。幂等:无 active 会话且 Channel 已停用则跳过。
@@ -1460,9 +1670,22 @@ export class ProjectService {
1460
1670
  private async releaseTaskInstance(workItem: ProjectWorkItemRow, reason: string, ownerUserId = 'system'): Promise<void> {
1461
1671
  const activeSessions = this.sessions.listByWorkItem(workItem.id).filter(s => s.status === 'active')
1462
1672
  const instanceChannelId = workItem.instanceChannelId
1463
- const instanceChannel = instanceChannelId ? await this.manager.getChannel(instanceChannelId) : null
1464
- const channelEnabled = instanceChannel ? instanceChannel.enabled === 1 : false
1465
- if (activeSessions.length === 0 && !channelEnabled) return
1673
+ let instanceChannel: Awaited<ReturnType<AgentChannelManager['getChannel']>> | null = null
1674
+ try {
1675
+ instanceChannel = instanceChannelId ? await this.manager.getChannel(instanceChannelId) : null
1676
+ }
1677
+ catch { /* SQL/session fallback below remains authoritative */ }
1678
+ const channelEnabled = instanceChannel ? instanceChannel.enabled === 1 : Boolean(instanceChannelId)
1679
+ if (activeSessions.length === 0 && !channelEnabled) {
1680
+ if (instanceChannelId) {
1681
+ try {
1682
+ this.db.prepare('UPDATE channels SET enabled = 0 WHERE id = ?').run(instanceChannelId)
1683
+ }
1684
+ catch { /* Channel 已删除 */ }
1685
+ this.detachTaskInstanceBinding(workItem.projectId, instanceChannelId)
1686
+ }
1687
+ return
1688
+ }
1466
1689
  // WP2 收敛:实例 Channel 行缺失/owner=null 时 manager 的 requireWritable 会 403
1467
1690
  // (null 属主先于 role 判定)——会话行直关兜底,保证状态不永久 active。
1468
1691
  const ownerActor = instanceChannel?.ownerUserId
@@ -1485,19 +1708,25 @@ export class ProjectService {
1485
1708
  catch { /* 已关闭 */ }
1486
1709
  }
1487
1710
  }
1488
- if (instanceChannelId && channelEnabled) {
1489
- const stillActive = this.sessions.listByWorkItem(workItem.id).some(s => s.status === 'active')
1490
- if (stillActive) return
1491
- try {
1492
- await this.manager.updateChannel(instanceChannelId, { enabled: 0 }, ownerActor)
1711
+ if (instanceChannelId) {
1712
+ if (channelEnabled) {
1713
+ try {
1714
+ await this.manager.updateChannel(instanceChannelId, { enabled: 0 }, ownerActor)
1715
+ }
1716
+ catch {
1717
+ try {
1718
+ this.db.prepare('UPDATE channels SET enabled = 0 WHERE id = ?').run(instanceChannelId)
1719
+ }
1720
+ catch { /* 行已删 */ }
1721
+ }
1493
1722
  }
1494
- catch {
1495
- // 属主缺失/只读路径失败 → 直写停用(仅任务实例回收场景;行已删则无需处理)。
1723
+ else {
1496
1724
  try {
1497
1725
  this.db.prepare('UPDATE channels SET enabled = 0 WHERE id = ?').run(instanceChannelId)
1498
1726
  }
1499
1727
  catch { /* 行已删 */ }
1500
1728
  }
1729
+ this.detachTaskInstanceBinding(workItem.projectId, instanceChannelId)
1501
1730
  }
1502
1731
  }
1503
1732
 
@@ -1516,14 +1745,32 @@ export class ProjectService {
1516
1745
  try {
1517
1746
  await this.manager.closeChannelSession({ channelId: s.channelId, sessionId: s.id, actor: ownerActor, reason: 'DISPATCH_CLAIM_LOST' })
1518
1747
  }
1519
- catch { /* 幂等:会话已关闭/成员已卸载 */ }
1748
+ catch {
1749
+ try {
1750
+ this.sessions.close(s.id)
1751
+ }
1752
+ catch { /* 已关闭 */ }
1753
+ // manager 路径失败时直接收敛会话行,防止终态补偿留下 active session。
1754
+ }
1520
1755
  }
1521
1756
  if (ch?.enabled === 1 && typeof (this.manager as unknown as { updateChannel?: unknown }).updateChannel === 'function') {
1522
1757
  try {
1523
1758
  await this.manager.updateChannel(channelId, { enabled: 0 }, ownerActor)
1524
1759
  }
1760
+ catch {
1761
+ try {
1762
+ this.db.prepare('UPDATE channels SET enabled = 0 WHERE id = ?').run(channelId)
1763
+ }
1764
+ catch { /* Channel 已删除:无需停用 */ }
1765
+ }
1766
+ }
1767
+ else {
1768
+ try {
1769
+ this.db.prepare('UPDATE channels SET enabled = 0 WHERE id = ?').run(channelId)
1770
+ }
1525
1771
  catch { /* Channel 已删除:无需停用 */ }
1526
1772
  }
1773
+ this.detachTaskInstanceBinding(workItem.projectId, channelId)
1527
1774
  }
1528
1775
 
1529
1776
  /** 终态工作项的任务实例回收(runRouteLoop 每轮调用;幂等,只处理仍有 active 会话/启用实例的项)。 */
@@ -1774,6 +2021,8 @@ export class ProjectService {
1774
2021
  try {
1775
2022
  const task = this.tasks.findById(taskId)
1776
2023
  if (!task || task.source !== 'project' || !task.projectId) return
2024
+ const project = this.projects.findById(task.projectId)
2025
+ if (!project || project.status === 'canceled') return
1777
2026
  const relevant = state === 'WORKING' || state === 'COMPLETED' || state === 'FAILED' || state === 'CANCELED'
1778
2027
  if (!relevant) return
1779
2028
  const projectId = task.projectId
@@ -1803,13 +2052,26 @@ export class ProjectService {
1803
2052
  reconcile: { workItems: ProjectWorkItemRow[], expiredApprovals: number }
1804
2053
  autoDispatch: Awaited<ReturnType<ProjectService['autoDispatchProject']>>
1805
2054
  }> {
2055
+ const currentProject = this.projects.findById(id)
2056
+ if (!currentProject) throw new AppError(404, 'NOT_FOUND', `Project 不存在: ${id}`)
2057
+ if (currentProject.status === 'canceled') {
2058
+ return { reconcile: { workItems: this.workItems.listByProject(id), expiredApprovals: 0 }, autoDispatch: { dispatched: [], failed: 0, skippedByGate: true } }
2059
+ }
1806
2060
  const reconcile = this.reconcileInternal(id)
1807
2061
  // 任务实例回收:终态工作项的专属 Channel/会话停用(幂等;放在派发前,
1808
2062
  // 让下一批任务使用干净实例,也避免终态实例继续占用调度槽位)
1809
2063
  await this.releaseTerminalTaskInstances(id)
2064
+ const afterRelease = this.projects.findById(id)
2065
+ if (!afterRelease || afterRelease.status === 'canceled') {
2066
+ return { reconcile, autoDispatch: { dispatched: [], failed: 0, skippedByGate: true } }
2067
+ }
1810
2068
  // Router v3 验收闭环:成果 submitted 后主动向 Leader/独立评审 Channel 发 L1 请求,
1811
2069
  // 而不是等人工在演示脚本里逐个 @。消息幂等(correlation=review:<resultId>)。
1812
2070
  await this.ensureTechnicalReviewRequests(id)
2071
+ const afterReview = this.projects.findById(id)
2072
+ if (!afterReview || afterReview.status === 'canceled') {
2073
+ return { reconcile, autoDispatch: { dispatched: [], failed: 0, skippedByGate: true } }
2074
+ }
1813
2075
  const autoDispatch = await this.autoDispatchProject(id)
1814
2076
  return { reconcile, autoDispatch }
1815
2077
  }
@@ -1909,6 +2171,11 @@ export class ProjectService {
1909
2171
  requireReply: true,
1910
2172
  fromLabel: `项目内核:${p.name}`,
1911
2173
  })
2174
+ const current = this.projects.findById(projectId)
2175
+ if (!current || current.status === 'canceled') {
2176
+ this.messages.markFailed(message.id, 'PROJECT_TERMINATED')
2177
+ continue
2178
+ }
1912
2179
  this.messages.markDelivered(message.id)
1913
2180
  this.record(projectId, 'review.requested', { id: 'system', role: 'system' }, {
1914
2181
  messageId: message.id, resultId: result.id, reviewerChannelId, reviewerAgentId,
@@ -1927,6 +2194,12 @@ export class ProjectService {
1927
2194
  }
1928
2195
 
1929
2196
  private reconcileWith(id: string, actor: ProjectActor): { workItems: ProjectWorkItemRow[], expiredApprovals: number } {
2197
+ const project = this.projects.findById(id)
2198
+ if (!project) throw new AppError(404, 'NOT_FOUND', `Project 不存在: ${id}`)
2199
+ // canceled 是不可变终态:晚到的 root 回调/定时对账只能读,不能重新生成 draft、推进工作项或写审计。
2200
+ if (project.status === 'canceled') {
2201
+ return { workItems: this.workItems.listByProject(id), expiredApprovals: 0 }
2202
+ }
1930
2203
  // B8 审计 fail-closed:每个工作项的状态迁移与 decisions/events 同事务,逐项隔离。
1931
2204
  for (const wi of this.workItems.listByProject(id)) {
1932
2205
  if (['COMPLETED', 'FAILED', 'CANCELED', 'SUPERSEDED'].includes(wi.state)) continue
@@ -1942,7 +2215,8 @@ export class ProjectService {
1942
2215
  const attempt = wi.currentAttemptId ? this.attempts.findById(wi.currentAttemptId) : undefined
1943
2216
  if (!attempt || !attempt.channelTaskId) {
1944
2217
  withTransaction(this.db, () => {
1945
- this.workItems.update(wi.id, { state: 'BLOCKED', stateReason: 'ATTEMPT_MISSING' })
2218
+ if (attempt && !attempt.closedAt) this.attempts.close(attempt.id, 'BLOCKED', 'ATTEMPT_MISSING')
2219
+ this.workItems.update(wi.id, { state: 'BLOCKED', stateReason: 'ATTEMPT_MISSING', currentAttemptId: null })
1946
2220
  this.record(id, 'work.blocked', actor, { workItemId: wi.id, reason: 'ATTEMPT_MISSING' }, wi.traceId, 'work.blocked', `work:${wi.id}:attempt-missing`, { workItemId: wi.id, reason: 'ATTEMPT_MISSING' })
1947
2221
  })
1948
2222
  continue
@@ -1950,7 +2224,8 @@ export class ProjectService {
1950
2224
  const task = this.tasks.findById(attempt.channelTaskId)
1951
2225
  if (!task) {
1952
2226
  withTransaction(this.db, () => {
1953
- this.workItems.update(wi.id, { state: 'BLOCKED', stateReason: 'TASK_MISSING' })
2227
+ if (!attempt.closedAt) this.attempts.close(attempt.id, 'BLOCKED', 'TASK_MISSING')
2228
+ this.workItems.update(wi.id, { state: 'BLOCKED', stateReason: 'TASK_MISSING', currentAttemptId: null })
1954
2229
  this.record(id, 'work.blocked', actor, { workItemId: wi.id, reason: 'TASK_MISSING' }, wi.traceId, 'work.blocked', `work:${wi.id}:task-missing`, { workItemId: wi.id, reason: 'TASK_MISSING' })
1955
2230
  })
1956
2231
  continue
@@ -2016,7 +2291,7 @@ export class ProjectService {
2016
2291
  const existing = this.results.findByWorkItemAttempt(wi.id, attemptNo, wi.resultKey)
2017
2292
  if (existing) return existing
2018
2293
  const project = this.projects.findById(task.projectId)
2019
- if (!project) return undefined
2294
+ if (!project || project.status === 'canceled') return undefined
2020
2295
  const channel = this.manager.getChannelForUser(wi.channelId, project.ownerUserId)
2021
2296
  const rootArtifacts = artifactDigests(task.artifactsJson)
2022
2297
  const usable = [...rootArtifacts.values()].filter(a => a.name !== 'input')
@@ -2087,14 +2362,14 @@ export class ProjectService {
2087
2362
  changeSummary?: string
2088
2363
  openQuestions?: string
2089
2364
  }): ProjectResultRow {
2090
- this.get(id, actor)
2365
+ const p = this.get(id, actor)
2366
+ this.assertProjectNotCanceled(p)
2091
2367
  const result = this.results.findById(resultId)
2092
2368
  if (!result || result.projectId !== id) throw new AppError(404, 'NOT_FOUND', '成果不存在或不属于该项目')
2093
2369
  this.assertResultLineVisible(result, actor)
2094
2370
  if (!['draft', 'rejected'].includes(result.status)) {
2095
2371
  throw new AppError(409, 'RESULT_STATE_INVALID', `成果状态 ${result.status} 不能提交`)
2096
2372
  }
2097
- const p = this.projects.findById(id)!
2098
2373
  this.requireOwner(p, actor)
2099
2374
  const evidence = input.evidence ?? parseJson<Array<Record<string, unknown>>>(result.evidenceJson, [])
2100
2375
  const payloadJson = JSON.stringify(input.payload ?? parseJson(result.payloadJson, {}))
@@ -2137,6 +2412,7 @@ export class ProjectService {
2137
2412
  reviewResult(id: string, resultId: string, actor: ProjectActor, decision: 'reviewed' | 'rejected', reason = ''): ProjectResultRow {
2138
2413
  const p = this.projects.findById(id)
2139
2414
  if (!p) throw new AppError(404, 'NOT_FOUND', `Project 不存在: ${id}`)
2415
+ this.assertProjectNotCanceled(p)
2140
2416
  const allowed = actor.role === 'admin' || actor.id === p.ownerUserId || (actor.agentId && actor.agentId === p.leadAgentId)
2141
2417
  if (!allowed) throw new AppError(403, 'FORBIDDEN', '仅项目 owner/admin 或 project leader 可复核')
2142
2418
  const result = this.results.findById(resultId)
@@ -2156,6 +2432,15 @@ export class ProjectService {
2156
2432
  if (decision === 'reviewed' && criteriaCheck && !criteriaCheck.ok) {
2157
2433
  throw new AppError(409, 'ACCEPTANCE_CRITERIA_FAILED', `复核不能通过:${criteriaCheck.blockingFailures.join(';')}`)
2158
2434
  }
2435
+ // P0-8 补口(2026-11-10):agent 技术验收路径有 content_sha256 复算(防 submit→review
2436
+ // 窗口篡改),owner/leader 兜底复核没有 —— 防御强度取决于最弱的合法路径,而这条
2437
+ // 路径权限最高。这里补齐同口径复算(历史 backfill 窗口除外,与 agent 路径一致)。
2438
+ if (decision === 'reviewed' && p.routingPolicy === 'technical' && !backfill && result.contentSha256) {
2439
+ const recomputed = sha256Hex(`${result.summary ?? ''}\n${result.payloadJson ?? ''}\n${JSON.stringify(parseJson<Array<Record<string, unknown>>>(result.evidenceJson ?? '[]', []))}`)
2440
+ if (recomputed !== result.contentSha256) {
2441
+ throw new AppError(409, 'RESULT_EVIDENCE_TAMPERED', `成果内容哈希不符(提交后被改动):拒绝复核 result=${result.id}`)
2442
+ }
2443
+ }
2159
2444
  // B8:复核迁移 + 审计同事务。
2160
2445
  let updated!: ProjectResultRow
2161
2446
  withTransaction(this.db, () => {
@@ -2255,8 +2540,9 @@ export class ProjectService {
2255
2540
  }
2256
2541
 
2257
2542
  requestProjectComplete(id: string, actor: ProjectActor): ProjectApprovalRow {
2258
- this.get(id, actor)
2259
- this.requireOwner(this.projects.findById(id)!, actor)
2543
+ const p = this.get(id, actor)
2544
+ this.requireOwner(p, actor)
2545
+ this.assertProjectNotCanceled(p)
2260
2546
  this.assertCompletionGates(id)
2261
2547
  const deliverables = this.deliverables.listByProject(id).filter(d => d.required === 1)
2262
2548
  const items = this.workItems.listByProject(id)
@@ -2281,6 +2567,7 @@ export class ProjectService {
2281
2567
  requestPlanApproval(id: string, actor: ProjectActor, input: { version: number, plan: Record<string, unknown> }): ProjectApprovalRow {
2282
2568
  const p = this.get(id, actor)
2283
2569
  this.requireOwner(p, actor)
2570
+ this.assertProjectNotCanceled(p)
2284
2571
  if (!Number.isInteger(input.version) || input.version <= 0) throw new AppError(400, 'BAD_REQUEST', 'plan version 必须为正整数')
2285
2572
  if (input.version <= p.planVersion) throw new AppError(409, 'PLAN_VERSION_STALE', `plan version ${input.version} <= 当前 ${p.planVersion}`)
2286
2573
  const subjectId = `plan:${id}:${input.version}`
@@ -2313,6 +2600,7 @@ export class ProjectService {
2313
2600
  requestAcceptance(id: string, resultId: string, actor: ProjectActor): ProjectApprovalRow {
2314
2601
  const p = this.get(id, actor)
2315
2602
  this.requireOwner(p, actor)
2603
+ this.assertProjectNotCanceled(p)
2316
2604
  const result = this.assertAcceptanceGates(id, resultId)
2317
2605
  // Router v3 三级验收:technical 项目必须先有 L1 pass 记录,才能进入 L2 业务签核。
2318
2606
  // owner 兜底复核也会写 technical 记录(reviewer_kind=owner/admin),因此不会被误锁。
@@ -2341,6 +2629,7 @@ export class ProjectService {
2341
2629
 
2342
2630
  decideApproval(id: string, approvalId: string, actor: ProjectActor, approve: boolean, reason = ''): ProjectApprovalRow {
2343
2631
  const p = this.get(id, actor)
2632
+ this.assertProjectNotCanceled(p)
2344
2633
  const approval = this.approvals.findById(approvalId)
2345
2634
  if (!approval || approval.projectId !== id) throw new AppError(404, 'NOT_FOUND', '审批不存在或不属于该项目')
2346
2635
  // P2 审批分权:plan/acceptance 可授权给 approver;project_complete/write_intent 仅 owner/admin。
@@ -2438,8 +2727,9 @@ export class ProjectService {
2438
2727
  }
2439
2728
 
2440
2729
  supersedeResult(id: string, resultId: string, actor: ProjectActor, reason = ''): ProjectResultRow {
2441
- this.get(id, actor)
2442
- this.requireOwner(this.projects.findById(id)!, actor)
2730
+ const p = this.get(id, actor)
2731
+ this.requireOwner(p, actor)
2732
+ this.assertProjectNotCanceled(p)
2443
2733
  const result = this.results.findById(resultId)
2444
2734
  if (!result || result.projectId !== id) throw new AppError(404, 'NOT_FOUND', '成果不存在或不属于该项目')
2445
2735
  this.assertResultLineVisible(result, actor)
@@ -2589,6 +2879,7 @@ export class ProjectService {
2589
2879
  }): ProjectRow {
2590
2880
  const p = this.get(id, actor)
2591
2881
  this.requireOwner(p, actor)
2882
+ this.assertProjectNotCanceled(p)
2592
2883
  const name = patch.name?.trim()
2593
2884
  if (name !== undefined && !name) throw new AppError(400, 'BAD_REQUEST', '名称不能为空')
2594
2885
  const objective = patch.objective?.trim()
@@ -2701,7 +2992,7 @@ export class ProjectService {
2701
2992
  }): ProjectDeliverableRow {
2702
2993
  const p = this.get(id, actor)
2703
2994
  this.requireOwner(p, actor)
2704
- if (p.status === 'completed' || p.status === 'archived') {
2995
+ if (p.status === 'canceled' || p.status === 'completed' || p.status === 'archived') {
2705
2996
  throw new AppError(409, 'PROJECT_STATE_INVALID', `Project 状态 ${p.status} 不能编辑交付物`)
2706
2997
  }
2707
2998
  const d = this.deliverables.findById(deliverableId)
@@ -2733,6 +3024,7 @@ export class ProjectService {
2733
3024
  }): ProjectWorkItemRow {
2734
3025
  const p = this.get(id, actor)
2735
3026
  this.requireOwner(p, actor)
3027
+ this.assertProjectNotCanceled(p)
2736
3028
  const wi = this.workItems.findById(workItemId)
2737
3029
  if (!wi || wi.projectId !== id) throw new AppError(404, 'NOT_FOUND', '工作项不存在或不属于该项目')
2738
3030
  if (wi.state !== 'DRAFT') {
@@ -3415,6 +3707,7 @@ export class ProjectService {
3415
3707
  openQuestions?: string
3416
3708
  }): ProjectResultRow {
3417
3709
  const ctx = this.requireAgentContext(agentId, 'channel_lead')
3710
+ this.assertProjectNotCanceled(ctx.project)
3418
3711
  const task = this.resolveAgentProjectTask(ctx, input.taskId)
3419
3712
  const workItemId = task.projectWorkItemId!
3420
3713
  const wi = this.workItems.findById(workItemId)
@@ -3491,6 +3784,7 @@ export class ProjectService {
3491
3784
  note?: string
3492
3785
  }): { review: ProjectTechnicalReviewRow, result: ProjectResultRow } {
3493
3786
  const ctx = this.requireAgentContext(agentId, 'any')
3787
+ this.assertProjectNotCanceled(ctx.project)
3494
3788
  if (ctx.role === 'worker' && !ctx.isLeader) {
3495
3789
  throw new AppError(403, 'PROJECT_CHANNEL_LEAD_REQUIRED', '仅项目总工或 Channel lead 可提交技术验收')
3496
3790
  }
@@ -3696,6 +3990,7 @@ export class ProjectService {
3696
3990
  correlationId?: string
3697
3991
  }): Promise<ProjectMessageRow> {
3698
3992
  const ctx = this.requireAgentContext(agentId, 'any')
3993
+ this.assertProjectNotCanceled(ctx.project)
3699
3994
  if (ctx.role === 'worker' && !ctx.isLeader) throw new AppError(403, 'MESSAGE_FORBIDDEN', '项目消息仅限 Leader/Channel lead')
3700
3995
  const body = input.body?.trim()
3701
3996
  if (!body) throw new AppError(400, 'BAD_REQUEST', '消息内容不能为空')
@@ -3862,6 +4157,7 @@ export class ProjectService {
3862
4157
 
3863
4158
  agentRequestProjectComplete(agentId: string): ProjectApprovalRow {
3864
4159
  const ctx = this.requireAgentContext(agentId, 'leader')
4160
+ if (ctx.project.status === 'canceled') throw new AppError(409, 'PROJECT_STATE_INVALID', '项目已终止')
3865
4161
  if (ctx.project.status === 'completed') throw new AppError(409, 'PROJECT_STATE_INVALID', '项目已完成')
3866
4162
  if (ctx.project.status === 'archived') throw new AppError(409, 'PROJECT_STATE_INVALID', '项目已归档')
3867
4163
  this.assertCompletionGates(ctx.project.id)
@@ -3888,6 +4184,7 @@ export class ProjectService {
3888
4184
 
3889
4185
  agentRequestAcceptance(agentId: string, resultId: string): ProjectApprovalRow {
3890
4186
  const ctx = this.requireAgentContext(agentId, 'leader')
4187
+ this.assertProjectNotCanceled(ctx.project)
3891
4188
  const result = this.assertAcceptanceGates(ctx.project.id, resultId)
3892
4189
  const pending = this.approvals.listPending(ctx.project.id)
3893
4190
  .find(a => a.kind === 'deliverable_acceptance' && a.subjectId === result.id)
@@ -3919,6 +4216,7 @@ export class ProjectService {
3919
4216
  taskId?: string
3920
4217
  }): { approval: ProjectApprovalRow, digest: string } {
3921
4218
  const ctx = this.requireAgentContext(agentId, 'channel_lead')
4219
+ this.assertProjectNotCanceled(ctx.project)
3922
4220
  if (ctx.project.status !== 'active') throw new AppError(409, 'PROJECT_NOT_ACTIVE', `Project 状态 ${ctx.project.status} 不能申请写意图`)
3923
4221
  if (!PROJECT_GATED_WRITE_TOOL_NAMES.has(input.tool)) {
3924
4222
  throw new AppError(400, 'WRITE_INTENT_NOT_REQUIRED', `${input.tool} 不在需要 write_intent 的高风险写清单内`)
@@ -4014,6 +4312,7 @@ export class ProjectService {
4014
4312
  async applyProposal(projectId: string, decisionId: string, actor: ProjectActor): Promise<{ workItem?: ProjectWorkItemRow, dispatched: boolean, channelId?: string }> {
4015
4313
  const p = this.get(projectId, actor)
4016
4314
  this.requireOwner(p, actor)
4315
+ this.assertProjectNotCanceled(p)
4017
4316
  const decision = this.decisions.findById(projectId, decisionId)
4018
4317
  if (!decision) throw new AppError(404, 'NOT_FOUND', '提案不存在或不属于该项目')
4019
4318
  if (decision.state !== 'proposed') throw new AppError(409, 'PROPOSAL_STATE_INVALID', `提案状态 ${decision.state} 不能应用`)
@@ -4166,6 +4465,9 @@ export class ProjectService {
4166
4465
  // 项目成员(leader/lead/worker)的高风险写一律 gate,无论其用 project 任务还是普通任务发起。
4167
4466
  const ctx = this.agentProjectContext(agentId)
4168
4467
  if (!ctx) return { allowed: true }
4468
+ if (ctx.project.status === 'canceled') {
4469
+ return { allowed: false, code: 'PROJECT_STATE_INVALID', message: '项目已终止,不能执行项目高风险写' }
4470
+ }
4169
4471
  const config = parseJson<Record<string, unknown>>(ctx.project.configJson, {})
4170
4472
  if (config.mayWrite === true) return { allowed: true }
4171
4473
  let origin: { task: TaskRow, project: ProjectRow } | null
@@ -4249,7 +4551,7 @@ export class ProjectService {
4249
4551
  }
4250
4552
 
4251
4553
  private assertLeaderProjectMutable(p: ProjectRow): void {
4252
- if (p.status === 'completed' || p.status === 'archived') {
4554
+ if (p.status === 'canceled' || p.status === 'completed' || p.status === 'archived') {
4253
4555
  throw new AppError(409, 'PROJECT_STATE_INVALID', `Project 状态 ${p.status} 不能提案`)
4254
4556
  }
4255
4557
  }
@@ -4563,6 +4865,7 @@ export class ProjectService {
4563
4865
  bindChannel(id: string, channelId: string, actor: ProjectActor, charter = ''): ProjectChannelRow {
4564
4866
  const p = this.get(id, actor)
4565
4867
  this.requireOwner(p, actor)
4868
+ this.assertProjectNotCanceled(p)
4566
4869
  if (p.officeChannelId === channelId) throw new AppError(400, 'PROJECT_OFFICE_NOT_MEMBER', '项目办公室不能作为成员 Channel')
4567
4870
  const channel = this.manager.getChannelForUser(channelId, actor.id)
4568
4871
  if (!channel) throw new AppError(404, 'NOT_FOUND', `Channel 不存在: ${channelId}`)
@@ -4586,18 +4889,30 @@ export class ProjectService {
4586
4889
  unbindChannel(id: string, channelId: string, actor: ProjectActor): void {
4587
4890
  const p = this.get(id, actor)
4588
4891
  this.requireOwner(p, actor)
4892
+ this.assertProjectNotCanceled(p)
4589
4893
  if (p.officeChannelId === channelId) throw new AppError(400, 'PROJECT_OFFICE_NOT_MEMBER', '不能解绑项目办公室')
4590
4894
  const b = this.bindings.findOne(id, channelId)
4591
4895
  if (!b || b.status !== 'active') throw new AppError(404, 'NOT_FOUND', 'Channel 未绑定到该项目')
4592
- this.bindings.setStatus(id, channelId, 'detached')
4593
- // P0-3 解绑语义:该频道名下的在飞工作项随解绑终结化(CANCELED + attempt 闭合 +
4594
- // work.canceled 事件)。不终结化的旧行为:worker 因绑定失效 403 永远无法提交 →
4595
- // 工作项永久悬挂;且 reconcile 终态守卫保证迟到的 root 终态不会复活已终结工作项
4596
- // (root 进程本身的回收属频道侧生命周期,随资源回收计划处理)。
4896
+ // 先停止运行时,再提交解绑和数据库终态;取消失败时保留绑定,允许重试。
4597
4897
  const inFlight = this.workItems.listByProject(id)
4598
- .filter(w => w.channelId === channelId && !['COMPLETED', 'FAILED', 'CANCELED', 'SUPERSEDED'].includes(w.state))
4898
+ .filter((w) => {
4899
+ if (w.channelId !== channelId) return false
4900
+ const attempt = w.currentAttemptId ? this.attempts.findById(w.currentAttemptId) : undefined
4901
+ const liveAttempt = Boolean(attempt && !attempt.closedAt && attempt.channelTaskId)
4902
+ const openWorkItem = !['COMPLETED', 'FAILED', 'CANCELED', 'SUPERSEDED'].includes(w.state)
4903
+ return liveAttempt || openWorkItem
4904
+ })
4599
4905
  for (const wi of inFlight) {
4600
- withTransaction(this.db, () => {
4906
+ const attempt = wi.currentAttemptId ? this.attempts.findById(wi.currentAttemptId) : undefined
4907
+ if (attempt?.channelTaskId) this.cancelTaskTreeForProject(attempt.channelTaskId, actor.id, 'CHANNEL_DETACHED')
4908
+ }
4909
+ // runtime 全部取消成功后,绑定和所有 DB 收口必须同一事务提交;任一写失败时
4910
+ // binding 仍保持 active,下一次调用可以重试剩余收口,不留下 detached 半状态。
4911
+ withTransaction(this.db, () => {
4912
+ this.bindings.setStatus(id, channelId, 'detached')
4913
+ // P0-3 解绑语义:该频道名下的在飞工作项随解绑终结化(CANCELED + attempt 闭合 +
4914
+ // work.canceled 事件)。迟到的 root 终态不会复活已终结工作项。
4915
+ for (const wi of inFlight) {
4601
4916
  this.workItems.update(wi.id, {
4602
4917
  state: 'CANCELED',
4603
4918
  stateReason: 'CHANNEL_DETACHED',
@@ -4609,8 +4924,8 @@ export class ProjectService {
4609
4924
  if (attempt && !attempt.closedAt) this.attempts.close(attempt.id, 'CLOSED', 'CHANNEL_DETACHED')
4610
4925
  }
4611
4926
  this.record(id, 'work.canceled', actor, { workItemId: wi.id, reason: 'CHANNEL_DETACHED', channelId }, wi.traceId, 'work.canceled', `work:${wi.id}:channel-detached`, { workItemId: wi.id, reason: 'CHANNEL_DETACHED' })
4612
- })
4613
- }
4927
+ }
4928
+ })
4614
4929
  }
4615
4930
 
4616
4931
  /** REST 删除/禁用/替换 lead 前调用:active 项目的办公室频道不可变。 */
@@ -4627,6 +4942,10 @@ export class ProjectService {
4627
4942
  }
4628
4943
  }
4629
4944
 
4945
+ private assertProjectNotCanceled(p: ProjectRow): void {
4946
+ if (p.status === 'canceled') throw new AppError(409, 'PROJECT_STATE_INVALID', '项目已终止,不能修改')
4947
+ }
4948
+
4630
4949
  private requireOwner(p: ProjectRow, actor: ProjectActor): void {
4631
4950
  if (actor.role === 'admin') return
4632
4951
  if (p.ownerUserId !== actor.id) throw new AppError(403, 'FORBIDDEN', '仅项目 owner/admin 可操作')