agentworkshop 0.7.65 → 0.7.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.AgentWorkShop/prompts/host-tools.json +324 -26
- package/.env.example +3 -0
- package/.output/.AgentWorkShop/aml-python/__pycache__/amlkit.cpython-312.pyc +0 -0
- package/.output/.AgentWorkShop/prompts/host-tools.json +324 -26
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/-jpUnM1I2.js +1 -0
- package/.output/public/_nuxt/0MLy6ogg2.js +1 -0
- package/.output/public/_nuxt/2KE8xGVm2.js +1 -0
- package/.output/public/_nuxt/5S26I34j2.js +1 -0
- package/.output/public/_nuxt/62J4vljm2.js +1 -0
- package/.output/public/_nuxt/AuthGate.72Jdc4d6.css +1 -0
- package/.output/public/_nuxt/B-U7E_Mc2.js +1 -0
- package/.output/public/_nuxt/B1OMZaQh.js +1 -0
- package/.output/public/_nuxt/B1PzYsqN.js +4 -0
- package/.output/public/_nuxt/B1SzppY12.js +1 -0
- package/.output/public/_nuxt/B3Y5bCrM.js +1 -0
- package/.output/public/_nuxt/B5FKaMM02.js +1 -0
- package/.output/public/_nuxt/B8C-QJB5.js +1 -0
- package/.output/public/_nuxt/B8N8nsad2.js +2 -0
- package/.output/public/_nuxt/B8cViLJT2.js +1 -0
- package/.output/public/_nuxt/BAcjVcku2.js +1 -0
- package/.output/public/_nuxt/BC7W6lNm.js +1 -0
- package/.output/public/_nuxt/BErG4kzc2.js +1 -0
- package/.output/public/_nuxt/BJ2nJNlK2.js +1 -0
- package/.output/public/_nuxt/BJrj5JVe2.js +1 -0
- package/.output/public/_nuxt/BLwDhlaa.js +1 -0
- package/.output/public/_nuxt/BNNtKbSV.js +14 -0
- package/.output/public/_nuxt/BQIO4MkA2.js +1 -0
- package/.output/public/_nuxt/BRMVDfPl2.js +21 -0
- package/.output/public/_nuxt/BRdoISnJ2.js +1 -0
- package/.output/public/_nuxt/BUTg4W_x2.js +1 -0
- package/.output/public/_nuxt/BWn-lfCp2.js +1 -0
- package/.output/public/_nuxt/BYLc8cfE.js +1 -0
- package/.output/public/_nuxt/BYxG9Hb2.js +1 -0
- package/.output/public/_nuxt/B_-vAvzb.js +1 -0
- package/.output/public/_nuxt/BcEr7tIB.js +1 -0
- package/.output/public/_nuxt/Bc_k6AVA.js +23 -0
- package/.output/public/_nuxt/BfQ-ptH0.js +1 -0
- package/.output/public/_nuxt/BfX6_AjY.js +1 -0
- package/.output/public/_nuxt/Bj5sjA5O.js +1 -0
- package/.output/public/_nuxt/BjLzqWJH2.js +1 -0
- package/.output/public/_nuxt/BjSEVANF.js +1 -0
- package/.output/public/_nuxt/Bnc8HELj2.js +1 -0
- package/.output/public/_nuxt/Bq9DDqiq2.js +1 -0
- package/.output/public/_nuxt/BsTZnkVK.js +1 -0
- package/.output/public/_nuxt/BtfwbNC0.js +1 -0
- package/.output/public/_nuxt/BwO2Y5FH2.js +1 -0
- package/.output/public/_nuxt/Bx2a9cuY2.js +1 -0
- package/.output/public/_nuxt/Bx4MR0jd.js +1 -0
- package/.output/public/_nuxt/C-MY-JQE2.js +1 -0
- package/.output/public/_nuxt/C0YL0HKK.js +1 -0
- package/.output/public/_nuxt/C1vvxGo02.js +1 -0
- package/.output/public/_nuxt/C3aUN4Vp2.js +2 -0
- package/.output/public/_nuxt/C3sWJ8SD2.js +1 -0
- package/.output/public/_nuxt/C41CcsiD.js +1 -0
- package/.output/public/_nuxt/C6uBP0Xa.js +1 -0
- package/.output/public/_nuxt/C9gErLQc2.js +17 -0
- package/.output/public/_nuxt/CAiHhX8P2.js +7 -0
- package/.output/public/_nuxt/CCgbgkid.js +47 -0
- package/.output/public/_nuxt/CDn0eDn8.js +1 -0
- package/.output/public/_nuxt/CGk_VUhO2.js +1 -0
- package/.output/public/_nuxt/CHSAaKgE.js +209 -0
- package/.output/public/_nuxt/CIvMT5Ic.js +1 -0
- package/.output/public/_nuxt/CJ0bjZ6v2.js +1 -0
- package/.output/public/_nuxt/CJ3Vul2u.js +1 -0
- package/.output/public/_nuxt/CJSohaqk2.js +13 -0
- package/.output/public/_nuxt/CLxmY3Rh.js +1 -0
- package/.output/public/_nuxt/CNwx04ln.js +84 -0
- package/.output/public/_nuxt/CQgOzpvI.js +2 -0
- package/.output/public/_nuxt/CR612R752.js +1 -0
- package/.output/public/_nuxt/CVCscYzb2.js +1 -0
- package/.output/public/_nuxt/C_A0MCol2.js +1 -0
- package/.output/public/_nuxt/Car2lkbb.js +1 -0
- package/.output/public/_nuxt/CcX_jP-d.js +1 -0
- package/.output/public/_nuxt/Ce5R-ZGf2.js +1 -0
- package/.output/public/_nuxt/Ce6e1mPk2.js +1 -0
- package/.output/public/_nuxt/CeLqojCJ.js +1 -0
- package/.output/public/_nuxt/CiCEprsp2.js +1 -0
- package/.output/public/_nuxt/CnP6snIz.js +3 -0
- package/.output/public/_nuxt/Cp4r6Eiz.js +1 -0
- package/.output/public/_nuxt/CwZW1ZCe2.js +1 -0
- package/.output/public/_nuxt/CzX_kaPL.js +1 -0
- package/.output/public/_nuxt/D25dVZ822.js +3 -0
- package/.output/public/_nuxt/D3buuIkE.js +1 -0
- package/.output/public/_nuxt/D4_INWgq.js +1 -0
- package/.output/public/_nuxt/D5kCimyw.js +1 -0
- package/.output/public/_nuxt/D6ZcgHPz.js +1 -0
- package/.output/public/_nuxt/D7s96J3r2.js +1 -0
- package/.output/public/_nuxt/D8r8PNQa2.js +1 -0
- package/.output/public/_nuxt/DAsjfdZD.js +1 -0
- package/.output/public/_nuxt/DD-r0S1p.js +1 -0
- package/.output/public/_nuxt/DF32f5EL.js +1 -0
- package/.output/public/_nuxt/DGrrucbG2.js +1 -0
- package/.output/public/_nuxt/DHURbGkn2.js +1 -0
- package/.output/public/_nuxt/DHhmq7s_.js +1 -0
- package/.output/public/_nuxt/DIwmMa_7.js +1 -0
- package/.output/public/_nuxt/DJJDigim2.js +3 -0
- package/.output/public/_nuxt/DKiqdYnj.js +1 -0
- package/.output/public/_nuxt/DLqSQbGv.js +1 -0
- package/.output/public/_nuxt/DQfy6R_2.js +1 -0
- package/.output/public/_nuxt/DSORcpTJ.js +9 -0
- package/.output/public/_nuxt/DTQTGA6v2.js +1 -0
- package/.output/public/_nuxt/DVkFSOZi.js +1 -0
- package/.output/public/_nuxt/DW8k_0dQ.js +1 -0
- package/.output/public/_nuxt/DX-c5laM2.js +1 -0
- package/.output/public/_nuxt/DZJ11BTI.js +1 -0
- package/.output/public/_nuxt/D_NjL-Hz.js +1 -0
- package/.output/public/_nuxt/D_Zspo1y.js +1 -0
- package/.output/public/_nuxt/DaBzS-iu.js +1 -0
- package/.output/public/_nuxt/Dd7MZc_Q.js +1 -0
- package/.output/public/_nuxt/Dg81dOEO.js +1 -0
- package/.output/public/_nuxt/DjGYvFyA.js +1 -0
- package/.output/public/_nuxt/DkQBMVTs2.js +1 -0
- package/.output/public/_nuxt/DlcA9Gxl.js +1 -0
- package/.output/public/_nuxt/DnlhV7Xe.js +1 -0
- package/.output/public/_nuxt/DnzjxC0u.js +24 -0
- package/.output/public/_nuxt/DoGa0vsN.js +1 -0
- package/.output/public/_nuxt/DrF3TWoj.js +15 -0
- package/.output/public/_nuxt/DtiY69xi2.js +1 -0
- package/.output/public/_nuxt/DvOETuoT2.js +1 -0
- package/.output/public/_nuxt/GtI6PUI32.js +1 -0
- package/.output/public/_nuxt/HX4_xnak2.js +13 -0
- package/.output/public/_nuxt/HxohXQ_r.js +1 -0
- package/.output/public/_nuxt/KQZmHR_K.js +55 -0
- package/.output/public/_nuxt/KgnxOsMr.js +1 -0
- package/.output/public/_nuxt/KwT4sN_d.js +1 -0
- package/.output/public/_nuxt/MDhaRQq_.js +1 -0
- package/.output/public/_nuxt/Rt2i6k7C2.js +1 -0
- package/.output/public/_nuxt/SF0I6Hzp2.js +36 -0
- package/.output/public/_nuxt/SoO2K-di.js +1 -0
- package/.output/public/_nuxt/Tk6TQZjU.js +1 -0
- package/.output/public/_nuxt/TownView.CC3t-Dte.css +1 -0
- package/.output/public/_nuxt/Tuz5LcLM.js +1 -0
- package/.output/public/_nuxt/WPwdj9pg.js +1 -0
- package/.output/public/_nuxt/Y4sMSPrS.js +1 -0
- package/.output/public/_nuxt/_id_.BQRWK7J2.css +1 -0
- package/.output/public/_nuxt/_id_.DSbZhSO1.css +1 -0
- package/.output/public/_nuxt/_wsId_.DCnKQQdY.css +1 -0
- package/.output/public/_nuxt/aQ1B7BZa2.js +2 -0
- package/.output/public/_nuxt/agents.D-JPovTZ.css +1 -0
- package/.output/public/_nuxt/aml.CeLxRzvI.css +1 -0
- package/.output/public/_nuxt/analysis.CqR_dfoW.css +1 -0
- package/.output/public/_nuxt/board.jjp4MSZR.css +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/cd7ec308-625f-4eb8-a841-11f3127fbf66.json +1 -0
- package/.output/public/_nuxt/channel-templates.DgiL0L16.css +1 -0
- package/.output/public/_nuxt/cjRzSvAg2.js +31 -0
- package/.output/public/_nuxt/dJ7gK7C2.js +1 -0
- package/.output/public/_nuxt/daq.BUeQwO2J.css +1 -0
- package/.output/public/_nuxt/data.D7XYoiL8.css +1 -0
- package/.output/public/_nuxt/dcw.n8O0ptzV.css +1 -0
- package/.output/public/_nuxt/default.C9eAl1QW.css +1 -0
- package/.output/public/_nuxt/dq1HKoGD.js +1 -0
- package/.output/public/_nuxt/entry.DI0qLRfo.css +1 -0
- package/.output/public/_nuxt/h5gsh8E92.js +1 -0
- package/.output/public/_nuxt/jGxHnjW6.js +1 -0
- package/.output/public/_nuxt/kN3ZzR1-.js +1 -0
- package/.output/public/_nuxt/logs.BkJPbR_K.css +1 -0
- package/.output/public/_nuxt/monitor.D3yEqqrv.css +1 -0
- package/.output/public/_nuxt/n_Njdwii2.js +1 -0
- package/.output/public/_nuxt/operations.-l6u44Ar.css +1 -0
- package/.output/public/_nuxt/pages.Cdpm_B-G.css +1 -0
- package/.output/public/_nuxt/plugins.D3bf5Gg3.css +1 -0
- package/.output/public/_nuxt/qRXa-PM22.js +1 -0
- package/.output/public/_nuxt/qoUdVDnC.js +19 -0
- package/.output/public/_nuxt/r1CpGsFp.js +1 -0
- package/.output/public/_nuxt/rJ7To74v2.js +1 -0
- package/.output/public/_nuxt/rdUE8Khf.js +14 -0
- package/.output/public/_nuxt/rxhDcyfF.js +1 -0
- package/.output/public/_nuxt/sBDZymdy2.js +1 -0
- package/.output/public/_nuxt/settings.CXju_jh-.css +1 -0
- package/.output/public/_nuxt/studio.DiCFYeMk.css +1 -0
- package/.output/public/_nuxt/teams.CLQaXno5.css +1 -0
- package/.output/public/_nuxt/tokens.BDSUWF-L.css +1 -0
- package/.output/public/_nuxt/tools.BwXFAb-X.css +1 -0
- package/.output/public/_nuxt/uu1wfdfR2.js +1 -0
- package/.output/public/_nuxt/vPcnBJsa2.js +1 -0
- package/.output/public/_nuxt/w5BEz70W.js +1 -0
- package/.output/public/_nuxt/wR_w07322.js +1 -0
- package/.output/public/_nuxt/workshop.BBiFhXuM.css +1 -0
- package/.output/public/_nuxt/yLyz0-Yz.js +1 -0
- package/.output/public/_nuxt/zzV9kr9T.js +21 -0
- package/.output/server/chunks/_/LeftOutlined.mjs +1 -1
- package/.output/server/chunks/_/RightOutlined.mjs +23 -0
- package/.output/server/chunks/_/RightOutlined.mjs.map +1 -0
- package/.output/server/chunks/_/SearchOutlined.mjs +1401 -0
- package/.output/server/chunks/_/SearchOutlined.mjs.map +1 -0
- package/.output/server/chunks/_/catalog-view.mjs +176 -0
- package/.output/server/chunks/_/catalog-view.mjs.map +1 -0
- package/.output/server/chunks/_/chart-repo.mjs +147 -0
- package/.output/server/chunks/_/chart-repo.mjs.map +1 -0
- package/.output/server/chunks/_/dashboard-repo.mjs +127 -0
- package/.output/server/chunks/_/dashboard-repo.mjs.map +1 -0
- package/.output/server/chunks/_/data-export.mjs +228 -0
- package/.output/server/chunks/_/data-export.mjs.map +1 -0
- package/.output/server/chunks/_/data-query.mjs +162 -0
- package/.output/server/chunks/_/data-query.mjs.map +1 -0
- package/.output/server/chunks/_/eda-db.mjs +199 -0
- package/.output/server/chunks/_/eda-db.mjs.map +1 -0
- package/.output/server/chunks/_/eda-run.repo.mjs +159 -0
- package/.output/server/chunks/_/eda-run.repo.mjs.map +1 -0
- package/.output/server/chunks/_/features.mjs +281 -0
- package/.output/server/chunks/_/features.mjs.map +1 -0
- package/.output/server/chunks/_/golden.mjs +197 -0
- package/.output/server/chunks/_/golden.mjs.map +1 -0
- package/.output/server/chunks/_/host-bindings.mjs +1 -1
- package/.output/server/chunks/_/mes-console.mjs +188 -0
- package/.output/server/chunks/_/mes-console.mjs.map +1 -0
- package/.output/server/chunks/_/nitro.mjs +5593 -2600
- package/.output/server/chunks/_/nitro.mjs.map +1 -1
- package/.output/server/chunks/_/ocap.mjs +145 -0
- package/.output/server/chunks/_/ocap.mjs.map +1 -0
- package/.output/server/chunks/_/spc.mjs +299 -0
- package/.output/server/chunks/_/spc.mjs.map +1 -0
- package/.output/server/chunks/build/AuthGate-nF1evO4v.mjs +716 -0
- package/.output/server/chunks/build/AuthGate-nF1evO4v.mjs.map +1 -0
- package/.output/server/chunks/build/FormItemContext-BlyzocS0.mjs +72 -0
- package/.output/server/chunks/build/FormItemContext-BlyzocS0.mjs.map +1 -0
- package/.output/server/chunks/build/OmpTerminalPanel-BhvhQ1gG.mjs +942 -0
- package/.output/server/chunks/build/OmpTerminalPanel-BhvhQ1gG.mjs.map +1 -0
- package/.output/server/chunks/build/PluginSlot-BUKXwV2X.mjs +141 -0
- package/.output/server/chunks/build/PluginSlot-BUKXwV2X.mjs.map +1 -0
- package/.output/server/chunks/build/TownView-BWMDbosY.mjs +6489 -0
- package/.output/server/chunks/build/TownView-BWMDbosY.mjs.map +1 -0
- package/.output/server/chunks/build/_id_-BK-t8nRG.mjs +391 -0
- package/.output/server/chunks/build/_id_-BK-t8nRG.mjs.map +1 -0
- package/.output/server/chunks/build/_id_-CZPlPDm4.mjs +2044 -0
- package/.output/server/chunks/build/_id_-CZPlPDm4.mjs.map +1 -0
- package/.output/server/chunks/build/_wsId_-BXSYXXXX.mjs +14276 -0
- package/.output/server/chunks/build/_wsId_-BXSYXXXX.mjs.map +1 -0
- package/.output/server/chunks/build/agents-8tV9xL97.mjs +1077 -0
- package/.output/server/chunks/build/agents-8tV9xL97.mjs.map +1 -0
- package/.output/server/chunks/build/alert-D0ivtTGy.mjs +263 -0
- package/.output/server/chunks/build/alert-D0ivtTGy.mjs.map +1 -0
- package/.output/server/chunks/build/aml-BNTEDOsl.mjs +810 -0
- package/.output/server/chunks/build/aml-BNTEDOsl.mjs.map +1 -0
- package/.output/server/chunks/build/analysis-p-dBkjoK.mjs +532 -0
- package/.output/server/chunks/build/analysis-p-dBkjoK.mjs.map +1 -0
- package/.output/server/chunks/build/board-C6JysYLg.mjs +190 -0
- package/.output/server/chunks/build/board-C6JysYLg.mjs.map +1 -0
- package/.output/server/chunks/build/card-Cqk0Ur-L.mjs +953 -0
- package/.output/server/chunks/build/card-Cqk0Ur-L.mjs.map +1 -0
- package/.output/server/chunks/build/channel-templates-Iot9Y3vV.mjs +941 -0
- package/.output/server/chunks/build/channel-templates-Iot9Y3vV.mjs.map +1 -0
- package/.output/server/chunks/build/checkbox-CrT4cnfu.mjs +439 -0
- package/.output/server/chunks/build/checkbox-CrT4cnfu.mjs.map +1 -0
- package/.output/server/chunks/build/client-only-qNA2OVV_.mjs +43 -0
- package/.output/server/chunks/build/client-only-qNA2OVV_.mjs.map +1 -0
- package/.output/server/chunks/build/daq-CdxcfY_G.mjs +1265 -0
- package/.output/server/chunks/build/daq-CdxcfY_G.mjs.map +1 -0
- package/.output/server/chunks/build/data-DL68QJ5W.mjs +477 -0
- package/.output/server/chunks/build/data-DL68QJ5W.mjs.map +1 -0
- package/.output/server/chunks/build/dcw-BlDQtS4q.mjs +504 -0
- package/.output/server/chunks/build/dcw-BlDQtS4q.mjs.map +1 -0
- package/.output/server/chunks/build/default-Dt1B8QzV.mjs +2340 -0
- package/.output/server/chunks/build/default-Dt1B8QzV.mjs.map +1 -0
- package/.output/server/chunks/build/descriptions-BNlfKG9y.mjs +406 -0
- package/.output/server/chunks/build/descriptions-BNlfKG9y.mjs.map +1 -0
- package/.output/server/chunks/build/drawer-Caji0PLs.mjs +834 -0
- package/.output/server/chunks/build/drawer-Caji0PLs.mjs.map +1 -0
- package/.output/server/chunks/build/dropdown-C6YH_kSO.mjs +540 -0
- package/.output/server/chunks/build/dropdown-C6YH_kSO.mjs.map +1 -0
- package/.output/server/chunks/build/dropdown-CjwsxU39.mjs +14 -0
- package/.output/server/chunks/build/dropdown-CjwsxU39.mjs.map +1 -0
- package/.output/server/chunks/build/es-Bxu10NJ2.mjs +42 -0
- package/.output/server/chunks/build/es-Bxu10NJ2.mjs.map +1 -0
- package/.output/server/chunks/build/firstNotUndefined-8H5_qHUu.mjs +2448 -0
- package/.output/server/chunks/build/firstNotUndefined-8H5_qHUu.mjs.map +1 -0
- package/.output/server/chunks/build/form-D_UpWPN4.mjs +4712 -0
- package/.output/server/chunks/build/form-D_UpWPN4.mjs.map +1 -0
- package/.output/server/chunks/build/hasIn-DBdElbjM.mjs +553 -0
- package/.output/server/chunks/build/hasIn-DBdElbjM.mjs.map +1 -0
- package/.output/server/chunks/build/hitl-Bd30yr1J.mjs +132 -0
- package/.output/server/chunks/build/hitl-Bd30yr1J.mjs.map +1 -0
- package/.output/server/chunks/build/input-GtPuSEgt.mjs +2181 -0
- package/.output/server/chunks/build/input-GtPuSEgt.mjs.map +1 -0
- package/.output/server/chunks/build/input-number-BNlNDK7H.mjs +1120 -0
- package/.output/server/chunks/build/input-number-BNlNDK7H.mjs.map +1 -0
- package/.output/server/chunks/build/logs-BTfJQ6vQ.mjs +426 -0
- package/.output/server/chunks/build/logs-BTfJQ6vQ.mjs.map +1 -0
- package/.output/server/chunks/build/menu-BXt-X0dt.mjs +1952 -0
- package/.output/server/chunks/build/menu-BXt-X0dt.mjs.map +1 -0
- package/.output/server/chunks/build/monitor-DvaR3yo8.mjs +2252 -0
- package/.output/server/chunks/build/monitor-DvaR3yo8.mjs.map +1 -0
- package/.output/server/chunks/build/operations-Cl8nVm9D.mjs +310 -0
- package/.output/server/chunks/build/operations-Cl8nVm9D.mjs.map +1 -0
- package/.output/server/chunks/build/pages-AFRP4-EL.mjs +541 -0
- package/.output/server/chunks/build/pages-AFRP4-EL.mjs.map +1 -0
- package/.output/server/chunks/build/pagination-KaIvHBzi.mjs +1346 -0
- package/.output/server/chunks/build/pagination-KaIvHBzi.mjs.map +1 -0
- package/.output/server/chunks/build/permissions-CVTfixZj.mjs +636 -0
- package/.output/server/chunks/build/permissions-CVTfixZj.mjs.map +1 -0
- package/.output/server/chunks/build/plugins-LRjaSEZy.mjs +271 -0
- package/.output/server/chunks/build/plugins-LRjaSEZy.mjs.map +1 -0
- package/.output/server/chunks/build/popconfirm-DxYPGRgS.mjs +340 -0
- package/.output/server/chunks/build/popconfirm-DxYPGRgS.mjs.map +1 -0
- package/.output/server/chunks/build/responsiveObserve-DM3hpzhU.mjs +78 -0
- package/.output/server/chunks/build/responsiveObserve-DM3hpzhU.mjs.map +1 -0
- package/.output/server/chunks/build/schedules-BLhn2CLn.mjs +7171 -0
- package/.output/server/chunks/build/schedules-BLhn2CLn.mjs.map +1 -0
- package/.output/server/chunks/build/segmented-D3HWtHPw.mjs +341 -0
- package/.output/server/chunks/build/segmented-D3HWtHPw.mjs.map +1 -0
- package/.output/server/chunks/build/select--XFl7CtY.mjs +3923 -0
- package/.output/server/chunks/build/select--XFl7CtY.mjs.map +1 -0
- package/.output/server/chunks/build/settings-DIf_iYdu.mjs +1013 -0
- package/.output/server/chunks/build/settings-DIf_iYdu.mjs.map +1 -0
- package/.output/server/chunks/build/space-Dwu2Skt8.mjs +110 -0
- package/.output/server/chunks/build/space-Dwu2Skt8.mjs.map +1 -0
- package/.output/server/chunks/build/spin-C2cuvGth.mjs +1 -1
- package/.output/server/chunks/build/studio-DjhjwH4s.mjs +383 -0
- package/.output/server/chunks/build/studio-DjhjwH4s.mjs.map +1 -0
- package/.output/server/chunks/build/switch-CyR-H6Fb.mjs +377 -0
- package/.output/server/chunks/build/switch-CyR-H6Fb.mjs.map +1 -0
- package/.output/server/chunks/build/table-DIu_YCJN.mjs +7546 -0
- package/.output/server/chunks/build/table-DIu_YCJN.mjs.map +1 -0
- package/.output/server/chunks/build/tabs-Vg0e7cZE.mjs +1924 -0
- package/.output/server/chunks/build/tabs-Vg0e7cZE.mjs.map +1 -0
- package/.output/server/chunks/build/tag-y0sn-xv9.mjs +1156 -0
- package/.output/server/chunks/build/tag-y0sn-xv9.mjs.map +1 -0
- package/.output/server/chunks/build/teams-B2J6ouRY.mjs +1202 -0
- package/.output/server/chunks/build/teams-B2J6ouRY.mjs.map +1 -0
- package/.output/server/chunks/build/tokens-DFQGaN2n.mjs +1061 -0
- package/.output/server/chunks/build/tokens-DFQGaN2n.mjs.map +1 -0
- package/.output/server/chunks/build/tools-DWJFnU_t.mjs +486 -0
- package/.output/server/chunks/build/tools-DWJFnU_t.mjs.map +1 -0
- package/.output/server/chunks/build/tooltip-C2n2nNiQ.mjs +920 -0
- package/.output/server/chunks/build/tooltip-C2n2nNiQ.mjs.map +1 -0
- package/.output/server/chunks/build/town-B5aoiG98.mjs +132 -0
- package/.output/server/chunks/build/town-B5aoiG98.mjs.map +1 -0
- package/.output/server/chunks/build/town-BV-hbwb5.mjs +1 -1
- package/.output/server/chunks/build/types-D6J7slEa.mjs +1 -1
- package/.output/server/chunks/build/useAgentHarnessOptions-DOrQHeBh.mjs +123 -0
- package/.output/server/chunks/build/useAgentHarnessOptions-DOrQHeBh.mjs.map +1 -0
- package/.output/server/chunks/build/useAgentTemplateActions-CzlplRWh.mjs +76 -0
- package/.output/server/chunks/build/useAgentTemplateActions-CzlplRWh.mjs.map +1 -0
- package/.output/server/chunks/build/useAgentTemplateForm-DQo1enf2.mjs +116 -0
- package/.output/server/chunks/build/useAgentTemplateForm-DQo1enf2.mjs.map +1 -0
- package/.output/server/chunks/build/useAgentTemplatesCatalog-DP-iMmqz.mjs +132 -0
- package/.output/server/chunks/build/useAgentTemplatesCatalog-DP-iMmqz.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlEntities-BJhvdqHJ.mjs +85 -0
- package/.output/server/chunks/build/useAmlEntities-BJhvdqHJ.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlEnv-CDIZ6xTe.mjs +193 -0
- package/.output/server/chunks/build/useAmlEnv-CDIZ6xTe.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlJobs-BF9LpwXz.mjs +266 -0
- package/.output/server/chunks/build/useAmlJobs-BF9LpwXz.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlModels-_bweOr3R.mjs +92 -0
- package/.output/server/chunks/build/useAmlModels-_bweOr3R.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlNotes-DQj980iX.mjs +85 -0
- package/.output/server/chunks/build/useAmlNotes-DQj980iX.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlPredict-DHNgDSJn.mjs +129 -0
- package/.output/server/chunks/build/useAmlPredict-DHNgDSJn.mjs.map +1 -0
- package/.output/server/chunks/build/useAnalysisFeed-BrEGV_9x.mjs +128 -0
- package/.output/server/chunks/build/useAnalysisFeed-BrEGV_9x.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqAddNode-D_Rkju0f.mjs +141 -0
- package/.output/server/chunks/build/useDaqAddNode-D_Rkju0f.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqDetailBinding-DCWaLKXT.mjs +69 -0
- package/.output/server/chunks/build/useDaqDetailBinding-DCWaLKXT.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqDetailFrames-BOIcOJRB.mjs +78 -0
- package/.output/server/chunks/build/useDaqDetailFrames-BOIcOJRB.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqDetailHistory-D6WulPVs.mjs +175 -0
- package/.output/server/chunks/build/useDaqDetailHistory-D6WulPVs.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqDetailNode-DeOsDxK5.mjs +98 -0
- package/.output/server/chunks/build/useDaqDetailNode-DeOsDxK5.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqDetailParams-Cm9a9r5G.mjs +158 -0
- package/.output/server/chunks/build/useDaqDetailParams-Cm9a9r5G.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqFilters-CctmO03p.mjs +221 -0
- package/.output/server/chunks/build/useDaqFilters-CctmO03p.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqOptimizations-CmX_dpBc.mjs +135 -0
- package/.output/server/chunks/build/useDaqOptimizations-CmX_dpBc.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqStream-B9ZBVQrI.mjs +395 -0
- package/.output/server/chunks/build/useDaqStream-B9ZBVQrI.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqTemplates-CK37sMfi.mjs +186 -0
- package/.output/server/chunks/build/useDaqTemplates-CK37sMfi.mjs.map +1 -0
- package/.output/server/chunks/build/useDashboardData-B36wVWo2.mjs +152 -0
- package/.output/server/chunks/build/useDashboardData-B36wVWo2.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwAddNode-DACVcEHs.mjs +218 -0
- package/.output/server/chunks/build/useDcwAddNode-DACVcEHs.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwCards-SaiImIYQ.mjs +66 -0
- package/.output/server/chunks/build/useDcwCards-SaiImIYQ.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwDetailScope-DLOklSMO.mjs +183 -0
- package/.output/server/chunks/build/useDcwDetailScope-DLOklSMO.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwDetailTemplates-ClmIdZ40.mjs +147 -0
- package/.output/server/chunks/build/useDcwDetailTemplates-ClmIdZ40.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwFilter-CPMyCltx.mjs +70 -0
- package/.output/server/chunks/build/useDcwFilter-CPMyCltx.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwLedger-0ie-0WTc.mjs +78 -0
- package/.output/server/chunks/build/useDcwLedger-0ie-0WTc.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwLineMutations-DNxo66yM.mjs +136 -0
- package/.output/server/chunks/build/useDcwLineMutations-DNxo66yM.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwLineRun-CHskwscT.mjs +103 -0
- package/.output/server/chunks/build/useDcwLineRun-CHskwscT.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwParamApprovals-DtScUc-W.mjs +120 -0
- package/.output/server/chunks/build/useDcwParamApprovals-DtScUc-W.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwProducts-BMaxzLu6.mjs +92 -0
- package/.output/server/chunks/build/useDcwProducts-BMaxzLu6.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwQuery-TVU3Eo0M.mjs +97 -0
- package/.output/server/chunks/build/useDcwQuery-TVU3Eo0M.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwQuickActions-BREFmR9T.mjs +87 -0
- package/.output/server/chunks/build/useDcwQuickActions-BREFmR9T.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwRecipes-Bc9urA1N.mjs +257 -0
- package/.output/server/chunks/build/useDcwRecipes-Bc9urA1N.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwStream-Dir5ufAU.mjs +452 -0
- package/.output/server/chunks/build/useDcwStream-Dir5ufAU.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwTemplates-BzagZztS.mjs +90 -0
- package/.output/server/chunks/build/useDcwTemplates-BzagZztS.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwWrites-BROwTLCn.mjs +139 -0
- package/.output/server/chunks/build/useDcwWrites-BROwTLCn.mjs.map +1 -0
- package/.output/server/chunks/build/useExpConfirmations-BM626N4p.mjs +106 -0
- package/.output/server/chunks/build/useExpConfirmations-BM626N4p.mjs.map +1 -0
- package/.output/server/chunks/build/useLocalTime-uVSM44Um.mjs +55 -0
- package/.output/server/chunks/build/useLocalTime-uVSM44Um.mjs.map +1 -0
- package/.output/server/chunks/build/useLogsManual-cVBZQ_Mt.mjs +87 -0
- package/.output/server/chunks/build/useLogsManual-cVBZQ_Mt.mjs.map +1 -0
- package/.output/server/chunks/build/useLogsQuery-D7hrJ3yn.mjs +149 -0
- package/.output/server/chunks/build/useLogsQuery-D7hrJ3yn.mjs.map +1 -0
- package/.output/server/chunks/build/useLogsScope-aaPQeTRm.mjs +82 -0
- package/.output/server/chunks/build/useLogsScope-aaPQeTRm.mjs.map +1 -0
- package/.output/server/chunks/build/useMonitorColumns-vVnt3r5Q.mjs +216 -0
- package/.output/server/chunks/build/useMonitorColumns-vVnt3r5Q.mjs.map +1 -0
- package/.output/server/chunks/build/useMonitorData-DIkiLr_h.mjs +134 -0
- package/.output/server/chunks/build/useMonitorData-DIkiLr_h.mjs.map +1 -0
- package/.output/server/chunks/build/useMonitorFormat-CyURtH8N.mjs +90 -0
- package/.output/server/chunks/build/useMonitorFormat-CyURtH8N.mjs.map +1 -0
- package/.output/server/chunks/build/useOperationsFeed-Ci4mZAn_.mjs +194 -0
- package/.output/server/chunks/build/useOperationsFeed-Ci4mZAn_.mjs.map +1 -0
- package/.output/server/chunks/build/useOpsLog-C-M6Eace.mjs +149 -0
- package/.output/server/chunks/build/useOpsLog-C-M6Eace.mjs.map +1 -0
- package/.output/server/chunks/build/useRecipeDispatchApprovals-BYtiqfeb.mjs +155 -0
- package/.output/server/chunks/build/useRecipeDispatchApprovals-BYtiqfeb.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamActions-I_8QWp9w.mjs +78 -0
- package/.output/server/chunks/build/useTeamActions-I_8QWp9w.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamAddMemberDialog-BLn4nTuy.mjs +83 -0
- package/.output/server/chunks/build/useTeamAddMemberDialog-BLn4nTuy.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamCreateDialog-Bp5qKtpI.mjs +96 -0
- package/.output/server/chunks/build/useTeamCreateDialog-Bp5qKtpI.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamDeployDialog-DwIaz6Cx.mjs +79 -0
- package/.output/server/chunks/build/useTeamDeployDialog-DwIaz6Cx.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamPluginDialog-B932gZOI.mjs +102 -0
- package/.output/server/chunks/build/useTeamPluginDialog-B932gZOI.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamsCatalog-DBwaLQBw.mjs +122 -0
- package/.output/server/chunks/build/useTeamsCatalog-DBwaLQBw.mjs.map +1 -0
- package/.output/server/chunks/build/useTokenCreate-Ctl0YGhL.mjs +114 -0
- package/.output/server/chunks/build/useTokenCreate-Ctl0YGhL.mjs.map +1 -0
- package/.output/server/chunks/build/useTokenRename-Cm3ypSfN.mjs +86 -0
- package/.output/server/chunks/build/useTokenRename-Cm3ypSfN.mjs.map +1 -0
- package/.output/server/chunks/build/useTokenReveal-CeoWL5Mt.mjs +117 -0
- package/.output/server/chunks/build/useTokenReveal-CeoWL5Mt.mjs.map +1 -0
- package/.output/server/chunks/build/useTokensList-CNIzON3u.mjs +91 -0
- package/.output/server/chunks/build/useTokensList-CNIzON3u.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkbenchAuth-CY-bVFMu.mjs +140 -0
- package/.output/server/chunks/build/useWorkbenchAuth-CY-bVFMu.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkbenchWorkspaces-DhZQFss9.mjs +137 -0
- package/.output/server/chunks/build/useWorkbenchWorkspaces-DhZQFss9.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkshopApi-CaSItJVq.mjs +119 -0
- package/.output/server/chunks/build/useWorkshopApi-CaSItJVq.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkshopWs-YQ5URrbt.mjs +1659 -0
- package/.output/server/chunks/build/useWorkshopWs-YQ5URrbt.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkspaceChannels-CPFepxTN.mjs +91 -0
- package/.output/server/chunks/build/useWorkspaceChannels-CPFepxTN.mjs.map +1 -0
- package/.output/server/chunks/build/users-BWw0VCr9.mjs +568 -0
- package/.output/server/chunks/build/users-BWw0VCr9.mjs.map +1 -0
- package/.output/server/chunks/build/workshop-1gKeDASV.mjs +545 -0
- package/.output/server/chunks/build/workshop-1gKeDASV.mjs.map +1 -0
- package/.output/server/chunks/routes/api/mcp/workshop.mjs +1 -1
- package/.output/server/chunks/routes/api/system/backup/run.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.put.mjs +109 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.put.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs +35 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/tools/reset.post.mjs +52 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/tools/reset.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels.post.mjs +6 -6
- package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs +139 -0
- package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/export/_id_.get.mjs +36 -0
- package/.output/server/chunks/routes/api/workshop/daq/export/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/export-file.get.mjs +44 -0
- package/.output/server/chunks/routes/api/workshop/daq/export-file.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/index.get.mjs +35 -0
- package/.output/server/chunks/routes/api/workshop/daq/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs +29 -6
- package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/index2.post.mjs +34 -0
- package/.output/server/chunks/routes/api/workshop/daq/index2.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/query.get.mjs +54 -0
- package/.output/server/chunks/routes/api/workshop/daq/query.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +15 -3
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +15 -2
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +17 -2
- package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs +17 -3
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-artifacts/file.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-hook-test.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-test-read.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +4 -3
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs +16 -3
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +16 -3
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +17 -3
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.delete.mjs +42 -0
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.get.mjs +36 -0
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.patch.mjs +52 -0
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/commonality.get.mjs +122 -0
- package/.output/server/chunks/routes/api/workshop/eda/commonality.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.delete.mjs +42 -0
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.get.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.patch.mjs +48 -0
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/features/jobs.get.mjs +34 -0
- package/.output/server/chunks/routes/api/workshop/eda/features/jobs.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/features/run.post.mjs +45 -0
- package/.output/server/chunks/routes/api/workshop/eda/features/run.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/golden/_id_.delete.mjs +42 -0
- package/.output/server/chunks/routes/api/workshop/eda/golden/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/golden/deviation.get.mjs +41 -0
- package/.output/server/chunks/routes/api/workshop/eda/golden/deviation.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/golden/single.get.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/eda/golden/single.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index.get.mjs +39 -0
- package/.output/server/chunks/routes/api/workshop/eda/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index.post.mjs +51 -0
- package/.output/server/chunks/routes/api/workshop/eda/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index2.get.mjs +49 -0
- package/.output/server/chunks/routes/api/workshop/eda/index2.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index2.post.mjs +45 -0
- package/.output/server/chunks/routes/api/workshop/eda/index2.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index3.get.mjs +47 -0
- package/.output/server/chunks/routes/api/workshop/eda/index3.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index3.post.mjs +138 -0
- package/.output/server/chunks/routes/api/workshop/eda/index3.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index4.get.mjs +47 -0
- package/.output/server/chunks/routes/api/workshop/eda/index4.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index4.post.mjs +48 -0
- package/.output/server/chunks/routes/api/workshop/eda/index4.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index5.get.mjs +34 -0
- package/.output/server/chunks/routes/api/workshop/eda/index5.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index5.post.mjs +47 -0
- package/.output/server/chunks/routes/api/workshop/eda/index5.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index6.get.mjs +53 -0
- package/.output/server/chunks/routes/api/workshop/eda/index6.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index6.post.mjs +46 -0
- package/.output/server/chunks/routes/api/workshop/eda/index6.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index7.get.mjs +34 -0
- package/.output/server/chunks/routes/api/workshop/eda/index7.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index7.post.mjs +47 -0
- package/.output/server/chunks/routes/api/workshop/eda/index7.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.get.mjs +58 -0
- package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.patch.mjs +53 -0
- package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/runs/_id/labels.patch.mjs +42 -0
- package/.output/server/chunks/routes/api/workshop/eda/runs/_id/labels.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/runs.get.mjs +49 -0
- package/.output/server/chunks/routes/api/workshop/eda/runs.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id/recompute.post.mjs +35 -0
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id/recompute.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.delete.mjs +36 -0
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.get.mjs +45 -0
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/vm/predict.post.mjs +103 -0
- package/.output/server/chunks/routes/api/workshop/eda/vm/predict.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/exp/confirmations/_id/decide.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/exp/index.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index.put.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index10.get.mjs +31 -14
- package/.output/server/chunks/routes/api/workshop/index10.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index12.get.mjs +20 -2
- package/.output/server/chunks/routes/api/workshop/index12.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index15.get.mjs +5 -4
- package/.output/server/chunks/routes/api/workshop/index15.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index16.get.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/index16.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index4.post.mjs +14 -3
- package/.output/server/chunks/routes/api/workshop/index4.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index5.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index6.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index6.post.mjs +26 -5
- package/.output/server/chunks/routes/api/workshop/index6.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index7.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/mes/datasets.get.mjs +72 -0
- package/.output/server/chunks/routes/api/workshop/mes/datasets.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/mes/points.get.mjs +32 -0
- package/.output/server/chunks/routes/api/workshop/mes/points.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/mes/preview.post.mjs +42 -0
- package/.output/server/chunks/routes/api/workshop/mes/preview.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/tools/_name_.get.mjs +35 -0
- package/.output/server/chunks/routes/api/workshop/tools/_name_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/tools/sync.post.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/tools/sync.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +1 -1
- package/.output/server/chunks/routes/renderer.mjs +3 -3
- package/.output/server/chunks/virtual/entry.mjs +1543 -1051
- package/.output/server/chunks/virtual/entry.mjs.map +1 -1
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/package.json +1 -1
- package/README-zh.md +948 -946
- package/README.md +973 -970
- package/app/assets/css/main.css +346 -197
- package/app/components/AppHeader.vue +294 -284
- package/app/components/AppSidebar.vue +15 -18
- package/app/components/AwChart.vue +8 -1
- package/app/components/analysis/AnalysisEditModal.vue +8 -0
- package/app/components/analysis/AnalysisPageHead.vue +18 -3
- package/app/components/analysis/AnalysisTable.vue +59 -12
- package/app/components/app-header/HeaderTools.vue +224 -208
- package/app/components/app-header/TrailNav.vue +262 -261
- package/app/components/app-header/UserChip.vue +13 -9
- package/app/components/daq/DaqDetailHistoryCard.vue +13 -5
- package/app/components/daq/DaqDetailLiveCard.vue +100 -92
- package/app/components/daq/DaqDetailParamForm.vue +355 -350
- package/app/components/dashboard/DashboardFleetPanel.vue +228 -228
- package/app/components/dashboard/DashboardHarnessPanel.vue +149 -149
- package/app/components/data/DataLedgerPanel.vue +253 -0
- package/app/components/data/DataMesPanel.vue +279 -0
- package/app/components/data/DataMirrorPanel.vue +602 -0
- package/app/components/dcw/DcwAdoptCard.vue +90 -89
- package/app/components/dcw/DcwDetailHead.vue +65 -65
- package/app/components/dcw/DcwGatewayBar.vue +102 -94
- package/app/components/dcw/DcwLineCard.vue +1 -0
- package/app/components/dcw/DcwLineRunCard.vue +160 -158
- package/app/components/dcw/DcwRecipeDispatchHistoryModal.vue +244 -0
- package/app/components/dcw/DcwRecipePanel.vue +7 -0
- package/app/components/logs/LogsEventTable.vue +77 -26
- package/app/components/logs/LogsFilterCard.vue +22 -0
- package/app/components/logs/LogsManualModal.vue +231 -231
- package/app/components/monitor/MonitorStatGrid.vue +160 -165
- package/app/components/operations/OperationsTimeline.vue +252 -215
- package/app/components/settings/AppearancePane.vue +282 -282
- package/app/components/settings/PluginsSection.vue +282 -280
- package/app/components/settings/RuntimeFieldRow.vue +5 -3
- package/app/components/settings/RuntimeGroupSection.vue +290 -290
- package/app/components/settings/RuntimePane.vue +239 -235
- package/app/components/settings/SystemPane.vue +85 -83
- package/app/components/tokens/TokensAuthGate.vue +47 -47
- package/app/components/tokens/TokensTable.vue +264 -227
- package/app/components/workshop/ChannelSessionList.vue +378 -377
- package/app/components/workshop/DaqNodeRow.vue +10 -7
- package/app/components/workshop/NotificationCenter.vue +334 -334
- package/app/components/workshop/agents/AgentTemplateTable.vue +285 -269
- package/app/components/workshop/agents/AgentTemplateToolbar.vue +69 -67
- package/app/components/workshop/blocks/ClusterStream.vue +2 -2
- package/app/components/workshop/console/LineOperationsPanel.vue +9 -9
- package/app/components/workshop/console/RightPane.vue +5 -2
- package/app/components/workshop/console/Topbar.vue +304 -289
- package/app/components/workshop/session-list/ChannelSettingsModal.vue +376 -371
- package/app/components/workshop/session-list/ChannelToolSettings.vue +507 -0
- package/app/components/workshop/teams/TeamCard.vue +183 -183
- package/app/components/workshop/town/components/TownControlDock.vue +5 -0
- package/app/components/workshop/transcript/TranscriptEmptyState.vue +153 -153
- package/app/components/workshop/workbench/AuthGate.vue +3 -2
- package/app/components/workshop/workbench/WorkbenchHead.vue +140 -129
- package/app/components/workshop/workbench/WorkspaceCard.vue +199 -198
- package/app/composables/useRouteMeta.ts +13 -1
- package/app/composables/workshop/useLocalTime.ts +5 -2
- package/app/composables/workshop/useOpsLog.ts +13 -2
- package/app/composables/workshop/useWorkshopApi.ts +66 -0
- package/app/layouts/default.vue +31 -6
- package/app/pages/aml/styles.css +8 -7
- package/app/pages/daq/[id].vue +140 -136
- package/app/pages/daq/daq-page.css +688 -681
- package/app/pages/data/index.vue +66 -0
- package/app/pages/dcw/[id].vue +398 -380
- package/app/pages/dcw/dcw-page.css +22 -21
- package/app/pages/logs/composables/useLogsManual.ts +68 -63
- package/app/pages/logs/composables/useLogsQuery.ts +28 -3
- package/app/pages/logs/index.vue +2 -0
- package/app/pages/monitor/composables/useMonitorColumns.ts +69 -69
- package/app/pages/operations/composables/useOperationsFeed.ts +139 -137
- package/app/pages/plugins/index.vue +347 -318
- package/app/pages/settings.vue +170 -168
- package/app/pages/studio/board.vue +383 -0
- package/app/pages/studio/index.vue +855 -0
- package/app/pages/tools/index.vue +401 -0
- package/app/pages/workshop/channel-templates.vue +558 -556
- package/app/pages/workshop/index.vue +55 -0
- package/app/pages/workshop/teams.vue +237 -233
- package/app/stores/route-trail.ts +4 -2
- package/app/stores/workshop/notifications.ts +22 -1
- package/cli/commands/plugin.mjs +322 -246
- package/config.yml +180 -180
- package/docs/aml.md +1 -1
- package/docs/cli.en.md +447 -447
- package/docs/cli.md +412 -412
- package/docs/full-test-plan.md +1 -1
- package/docs/mcp.md +122 -108
- package/docs/plugins.en.md +22 -2
- package/docs/plugins.md +22 -2
- package/docs/sdk.en.md +1 -1
- package/docs/sdk.md +1 -1
- package/i18n/dicts/channelTools.json +39 -0
- package/i18n/dicts/toolsPage.json +34 -0
- package/i18n/locales/en.ts +252 -14
- package/i18n/locales/zh-CN.ts +251 -14
- package/package.json +185 -181
- package/scripts/agent-daq-isolation-e2e.mjs +91 -0
- package/scripts/api-contract-smoke.mjs +126 -0
- package/scripts/ask-hitl-e2e.mjs +96 -0
- package/scripts/channel-interaction-smoke.mjs +80 -0
- package/scripts/data-studio-e2e.mjs +332 -0
- package/scripts/data-studio-ui-e2e.mjs +163 -0
- package/scripts/dev-mes-simulator.mjs +106 -17
- package/scripts/e2e-hitl-live.mjs +41 -5
- package/scripts/e2e-injection-recipe-closedloop.mjs +203 -0
- package/scripts/e2e-line-governance.mjs +352 -0
- package/scripts/eda-demo-report-patch.mjs +47 -0
- package/scripts/eda-live-demo.mjs +398 -0
- package/scripts/full-stack-shots.mjs +145 -0
- package/scripts/full-tool-injection-harness-e2e.mjs +214 -0
- package/scripts/harness-matrix-e2e.mjs +159 -0
- package/scripts/harness-team-line-e2e.mjs +224 -0
- package/scripts/hitl-reject-e2e.mjs +131 -0
- package/scripts/hitl-ui-two-harness-demo.mjs +243 -0
- package/scripts/line-log-smoke.mjs +260 -0
- package/scripts/live-aml-optloop.mjs +161 -118
- package/scripts/mes-agent-integration-e2e.mjs +361 -0
- package/scripts/onboarding/forge-channel.mjs +9 -3
- package/scripts/onboarding/onboard.mjs +104 -10
- package/scripts/onboarding/provision-line.mjs +38 -15
- package/scripts/onboarding/sim-twin.mjs +50 -13
- package/scripts/onboarding/test-connection.mjs +8 -2
- package/scripts/onboarding/verify-line.mjs +72 -9
- package/scripts/ops-plugins-e2e.mjs +85 -0
- package/scripts/real-injection-closed-loop.mjs +8 -0
- package/scripts/scenario-suite-setup.mjs +337 -0
- package/scripts/scenario-suite-stability.mjs +144 -0
- package/scripts/team-coordination-e2e.mjs +96 -0
- package/scripts/tool-face-batch-identity-e2e.mjs +222 -0
- package/scripts/tool-registry-e2e.mjs +547 -0
- package/scripts/ui/audit-layout.mjs +324 -301
- package/scripts/ui/lib.mjs +3 -0
- package/sdk/client.mjs +8 -1
- package/sdk/examples/line-sentinel/client.mjs +55 -38
- package/sdk/examples/ops-notifier/client.mjs +29 -25
- package/sdk/examples/sample-insight/client.mjs +25 -25
- package/server/.mimosa/hook-state/sess_869e5bfd-07f4-4b6e-a991-6221fcf6b7d2.json +1 -0
- package/server/.mimosa/hook-state/sess_869e5bfd-07f4-4b6e-a991-6221fcf6b7d2.mvhn1irp-99488-e3fdc1cbfc.baseline/942d2679b87b96c612b4f2a425c3ccc5b6f3234f0cf589a8441602f866fbe277.source +41 -0
- package/server/.mimosa/hook-state/sess_869e5bfd-07f4-4b6e-a991-6221fcf6b7d2.mvhn1irp-99488-e3fdc1cbfc.baseline/dd617a82339d2c61e49e28e416aabeb2fc100fb3cb1beca18d02dfb833214af6.source +51 -0
- package/server/.mimosa/hook-status/sess_869e5bfd-07f4-4b6e-a991-6221fcf6b7d2-e67b6b91bf.json +14 -0
- package/server/api/workshop/agent-tools/bindings/[id].delete.ts +3 -3
- package/server/api/workshop/channels/[id]/tools/index.get.ts +17 -0
- package/server/api/workshop/channels/[id]/tools/index.put.ts +117 -0
- package/server/api/workshop/channels/[id]/tools/reset.post.ts +39 -0
- package/server/api/workshop/daq/[id]/ingest.post.ts +166 -0
- package/server/api/workshop/daq/export/[id].get.ts +17 -0
- package/server/api/workshop/daq/export/index.get.ts +15 -0
- package/server/api/workshop/daq/export/index.post.ts +42 -0
- package/server/api/workshop/daq/export-file.get.ts +26 -0
- package/server/api/workshop/daq/query.get.ts +41 -0
- package/server/api/workshop/dcw/[id].delete.ts +10 -2
- package/server/api/workshop/dcw/[id].patch.ts +10 -0
- package/server/api/workshop/dcw/index.post.ts +9 -3
- package/server/api/workshop/dcw/lines/[id].patch.ts +13 -2
- package/server/api/workshop/dcw/recipes/[id]/apply.post.ts +2 -1
- package/server/api/workshop/dcw/recipes/[id]/mark-good.post.ts +15 -2
- package/server/api/workshop/dcw/recipes/[id]/rollback-good.post.ts +15 -2
- package/server/api/workshop/dcw/recipes/[id].delete.ts +12 -1
- package/server/api/workshop/dcw/recipes/index.post.ts +11 -0
- package/server/api/workshop/eda/charts/[id].delete.ts +23 -0
- package/server/api/workshop/eda/charts/[id].get.ts +16 -0
- package/server/api/workshop/eda/charts/[id].patch.ts +33 -0
- package/server/api/workshop/eda/charts/index.get.ts +19 -0
- package/server/api/workshop/eda/charts/index.post.ts +33 -0
- package/server/api/workshop/eda/commonality.get.ts +27 -0
- package/server/api/workshop/eda/dashboards/[id].delete.ts +22 -0
- package/server/api/workshop/eda/dashboards/[id].get.ts +17 -0
- package/server/api/workshop/eda/dashboards/[id].patch.ts +28 -0
- package/server/api/workshop/eda/dashboards/index.get.ts +30 -0
- package/server/api/workshop/eda/dashboards/index.post.ts +25 -0
- package/server/api/workshop/eda/derived/index.post.ts +41 -0
- package/server/api/workshop/eda/features/index.get.ts +29 -0
- package/server/api/workshop/eda/features/jobs.get.ts +13 -0
- package/server/api/workshop/eda/features/run.post.ts +28 -0
- package/server/api/workshop/eda/golden/[id].delete.ts +22 -0
- package/server/api/workshop/eda/golden/deviation.get.ts +21 -0
- package/server/api/workshop/eda/golden/index.get.ts +21 -0
- package/server/api/workshop/eda/golden/index.post.ts +29 -0
- package/server/api/workshop/eda/golden/single.get.ts +16 -0
- package/server/api/workshop/eda/ocap/[id].get.ts +39 -0
- package/server/api/workshop/eda/ocap/[id].patch.ts +33 -0
- package/server/api/workshop/eda/ocap/index.get.ts +13 -0
- package/server/api/workshop/eda/ocap/index.post.ts +27 -0
- package/server/api/workshop/eda/run-segments/index.get.ts +39 -0
- package/server/api/workshop/eda/run-segments/index.post.ts +30 -0
- package/server/api/workshop/eda/runs/[id]/labels.patch.ts +25 -0
- package/server/api/workshop/eda/runs.get.ts +31 -0
- package/server/api/workshop/eda/spc/[id]/recompute.post.ts +15 -0
- package/server/api/workshop/eda/spc/[id].delete.ts +16 -0
- package/server/api/workshop/eda/spc/[id].get.ts +27 -0
- package/server/api/workshop/eda/spc/index.get.ts +14 -0
- package/server/api/workshop/eda/spc/index.post.ts +28 -0
- package/server/api/workshop/eda/vm/predict.post.ts +97 -0
- package/server/api/workshop/mes/datasets.get.ts +54 -0
- package/server/api/workshop/mes/points.get.ts +13 -0
- package/server/api/workshop/mes/preview.post.ts +25 -0
- package/server/api/workshop/ops-logs/index.get.ts +42 -17
- package/server/api/workshop/ops-logs/index.post.ts +36 -6
- package/server/api/workshop/plugins/index.get.ts +36 -17
- package/server/api/workshop/tools/[name].get.ts +15 -0
- package/server/api/workshop/tools/index.get.ts +12 -0
- package/server/api/workshop/tools/sync.post.ts +12 -0
- package/server/harness/aw-mcp-bridge.mjs +32 -3
- package/server/plugins/aw-plugins.ts +7 -1
- package/server/plugins/workshop.ts +4 -0
- package/server/plugins-builtin/diag-bridge/client.mjs +111 -4
- package/server/plugins-builtin/diag-bridge/host/diagnosis.mjs +82 -75
- package/server/plugins-builtin/diag-bridge/host/helpers.mjs +129 -126
- package/server/plugins-builtin/diag-bridge/host/plugin.mjs +457 -420
- package/server/plugins-builtin/diag-bridge/host/sweep.mjs +191 -106
- package/server/plugins-builtin/diag-bridge/i18n.json +45 -15
- package/server/plugins-builtin/rag-bridge/client.mjs +184 -108
- package/server/plugins-builtin/rag-bridge/i18n.json +84 -60
- package/server/plugins-builtin/rag-bridge/index.mjs +159 -16
- package/server/plugins-builtin/serial-bridge/client.mjs +1 -0
- package/server/services/workshop/agents/hitl-decision/answers.ts +5 -0
- package/server/services/workshop/agents/hitl-decision/dispatcher.ts +3 -1
- package/server/services/workshop/agents/host-tool-bridge/catalog.ts +102 -23
- package/server/services/workshop/agents/host-tool-bridge/dispatch.ts +290 -241
- package/server/services/workshop/agents/host-tool-bridge/index.ts +16 -15
- package/server/services/workshop/agents/host-tool-bridge/per-agent.ts +114 -0
- package/server/services/workshop/agents/host-tool-bridge/tools/industrial.ts +6 -1
- package/server/services/workshop/agents/industrial/aml-dataset-tools.ts +14 -0
- package/server/services/workshop/agents/industrial/aml-job-tools.ts +20 -6
- package/server/services/workshop/agents/industrial/audit-query.ts +41 -5
- package/server/services/workshop/agents/industrial/daq-export.ts +74 -13
- package/server/services/workshop/agents/industrial/daq-tools.ts +106 -14
- package/server/services/workshop/agents/industrial/dcw-judge-tools.ts +7 -2
- package/server/services/workshop/agents/industrial/dcw-tools.ts +258 -212
- package/server/services/workshop/agents/industrial/grant-guard.ts +32 -7
- package/server/services/workshop/agents/industrial/index.ts +3 -3
- package/server/services/workshop/agents/industrial/line-tools.ts +150 -8
- package/server/services/workshop/agents/industrial/manual-approval.ts +57 -46
- package/server/services/workshop/agents/industrial/mes-tools.ts +31 -6
- package/server/services/workshop/agents/industrial/ops-tools.ts +533 -60
- package/server/services/workshop/agents/industrial/optimization-tools.ts +169 -158
- package/server/services/workshop/agents/industrial/recipe-gate.ts +36 -1
- package/server/services/workshop/agents/industrial/recipe-propose-tools.ts +12 -6
- package/server/services/workshop/agents/industrial/tool-verify.ts +381 -0
- package/server/services/workshop/agents/industrial/twin-tools.ts +5 -0
- package/server/services/workshop/agents/mock-agent.ts +3 -1
- package/server/services/workshop/agents/node-delegation.ts +10 -1
- package/server/services/workshop/agents/omp-agent/client.ts +2 -2
- package/server/services/workshop/agents/omp-agent/lifecycle.ts +2 -2
- package/server/services/workshop/agents/pi-agent.ts +3 -2
- package/server/services/workshop/agents/plugin-tools.ts +4 -0
- package/server/services/workshop/agents/tool-approvals.ts +25 -1
- package/server/services/workshop/agents/tool-classes.ts +2 -0
- package/server/services/workshop/aml/python/__pycache__/amlkit.cpython-312.pyc +0 -0
- package/server/services/workshop/aml/spec.ts +64 -63
- package/server/services/workshop/daq/daq-controller/crud.ts +2 -0
- package/server/services/workshop/daq/daq-controller/sweep-alarms.ts +14 -2
- package/server/services/workshop/daq/daq-controller/types.ts +71 -68
- package/server/services/workshop/daq/daq-node.ts +15 -0
- package/server/services/workshop/daq/daq-templates.ts +16 -2
- package/server/services/workshop/daq/storage/sqlite.adapter.ts +6 -4
- package/server/services/workshop/daq/storage/timescale.adapter.ts +3 -3
- package/server/services/workshop/db/database/migrations.ts +26 -0
- package/server/services/workshop/db/database/open.ts +5 -1
- package/server/services/workshop/db/database/schema.ts +42 -2
- package/server/services/workshop/db/ops.repo.ts +43 -8
- package/server/services/workshop/db/schema.sql +38 -0
- package/server/services/workshop/db/tool-registry.repo.ts +395 -0
- package/server/services/workshop/dcw/dcw-controller/recipes.ts +18 -1
- package/server/services/workshop/dcw/dcw-controller/write.ts +4 -0
- package/server/services/workshop/dcw/dcw-recipe.repo.ts +27 -0
- package/server/services/workshop/dcw/drivers/mes-rest.ts +158 -11
- package/server/services/workshop/dcw/drivers/shared.ts +35 -1
- package/server/services/workshop/eda/chart-repo.ts +177 -0
- package/server/services/workshop/eda/commonality.ts +106 -0
- package/server/services/workshop/eda/dashboard-repo.ts +166 -0
- package/server/services/workshop/eda/data-export.ts +274 -0
- package/server/services/workshop/eda/data-query.ts +231 -0
- package/server/services/workshop/eda/derived.ts +110 -0
- package/server/services/workshop/eda/eda-db.ts +222 -0
- package/server/services/workshop/eda/eda-run.repo.ts +197 -0
- package/server/services/workshop/eda/features.ts +291 -0
- package/server/services/workshop/eda/golden.ts +227 -0
- package/server/services/workshop/eda/mes-console.ts +219 -0
- package/server/services/workshop/eda/ocap.ts +182 -0
- package/server/services/workshop/eda/redact.ts +28 -0
- package/server/services/workshop/eda/spc-math.ts +144 -0
- package/server/services/workshop/eda/spc.ts +225 -0
- package/server/services/workshop/mes/mes-controller.ts +515 -18
- package/server/services/workshop/mes/mes-datasets.ts +85 -7
- package/server/services/workshop/ops/ops.ts +27 -14
- package/server/services/workshop/plugins/host/services.mjs +77 -68
- package/server/services/workshop/runtime/agent-runtime/message.ts +23 -8
- package/server/services/workshop/runtime/manager/admin-channel.ts +68 -0
- package/server/services/workshop/runtime/manager/channel-template-constants.ts +20 -0
- package/server/services/workshop/runtime/manager/channel-templates.ts +3 -12
- package/server/services/workshop/runtime/manager/host-tools.ts +33 -4
- package/server/services/workshop/runtime/permission-scope.ts +5 -1
- package/server/services/workshop/runtime/scheduler-loop/rules.ts +4 -1
- package/server/services/workshop/runtime/task-engine/transition.ts +14 -0
- package/server/services/workshop/tools/catalog-view.ts +256 -0
- package/server/services/workshop/tools/policy.ts +100 -0
- package/server/services/workshop/tools/registry.ts +263 -0
- package/server/services/workshop/tools/types.ts +19 -0
- package/server/services/workshop/types/task.ts +17 -0
- package/shared/daq-protocol.ts +39 -5
- package/shared/workshop-protocol.ts +3 -0
- package/.output/public/_nuxt/2pU5BiaQ2.js +0 -1
- package/.output/public/_nuxt/4RTUlYvj.js +0 -1
- package/.output/public/_nuxt/8oRmGaAV.js +0 -1
- package/.output/public/_nuxt/AuthGate.Cvsc4atp.css +0 -1
- package/.output/public/_nuxt/B0w8DZ4C.js +0 -1
- package/.output/public/_nuxt/B5RD2ZST.js +0 -2
- package/.output/public/_nuxt/B8cnjDtt.js +0 -1
- package/.output/public/_nuxt/BDC8YDyc.js +0 -1
- package/.output/public/_nuxt/BFVf8HLR.js +0 -1
- package/.output/public/_nuxt/BG7XSX-S.js +0 -1
- package/.output/public/_nuxt/BH30ZaLl2.js +0 -1
- package/.output/public/_nuxt/BMlesJth.js +0 -209
- package/.output/public/_nuxt/BNl_jGa12.js +0 -1
- package/.output/public/_nuxt/BSG-4Ecg2.js +0 -1
- package/.output/public/_nuxt/BTXdYngG.js +0 -1
- package/.output/public/_nuxt/BU7WuuKh2.js +0 -1
- package/.output/public/_nuxt/BVH9j8dQ2.js +0 -1
- package/.output/public/_nuxt/BXbKTAwC2.js +0 -1
- package/.output/public/_nuxt/B_6yBa_Z.js +0 -1
- package/.output/public/_nuxt/B_ic601Y.js +0 -1
- package/.output/public/_nuxt/Bd85nb9X2.js +0 -1
- package/.output/public/_nuxt/BegV7-FE2.js +0 -1
- package/.output/public/_nuxt/BhllzW3K2.js +0 -1
- package/.output/public/_nuxt/Bj7BcqHn.js +0 -1
- package/.output/public/_nuxt/BkO2MZZU.js +0 -1
- package/.output/public/_nuxt/Br3AySNQ.js +0 -1
- package/.output/public/_nuxt/BrRXGr472.js +0 -1
- package/.output/public/_nuxt/BtBgrPNT.js +0 -1
- package/.output/public/_nuxt/BtDBBofS.js +0 -1
- package/.output/public/_nuxt/ByvqxkcN.js +0 -1
- package/.output/public/_nuxt/C4sQKuhk.js +0 -1
- package/.output/public/_nuxt/C5MPzgon2.js +0 -1
- package/.output/public/_nuxt/C8uaVABF.js +0 -1
- package/.output/public/_nuxt/C98jxVaK.js +0 -1
- package/.output/public/_nuxt/CGChCy-w2.js +0 -1
- package/.output/public/_nuxt/CHyzK5m5.js +0 -1
- package/.output/public/_nuxt/CI5sliIF2.js +0 -1
- package/.output/public/_nuxt/CI8awYVQ2.js +0 -1
- package/.output/public/_nuxt/CIduggmC.js +0 -1
- package/.output/public/_nuxt/CK2ts9sD.js +0 -1
- package/.output/public/_nuxt/CKE_kTL92.js +0 -1
- package/.output/public/_nuxt/CPZKwmLQ.js +0 -1
- package/.output/public/_nuxt/CUjdqsjC2.js +0 -1
- package/.output/public/_nuxt/CVUMEGa1.js +0 -1
- package/.output/public/_nuxt/CXzfXC5M.js +0 -1
- package/.output/public/_nuxt/CaBVMdqG2.js +0 -1
- package/.output/public/_nuxt/CcLFZjCI2.js +0 -7
- package/.output/public/_nuxt/Cdw4juXw.js +0 -1
- package/.output/public/_nuxt/CfIGBe_4.js +0 -75
- package/.output/public/_nuxt/ChN5v-i22.js +0 -1
- package/.output/public/_nuxt/Ci5kuU1q.js +0 -1
- package/.output/public/_nuxt/CiyTTgqr.js +0 -106
- package/.output/public/_nuxt/CkYk8bj02.js +0 -21
- package/.output/public/_nuxt/Ckafrjnw.js +0 -1
- package/.output/public/_nuxt/ClEbKcuS.js +0 -1
- package/.output/public/_nuxt/Cmiz_VOb2.js +0 -47
- package/.output/public/_nuxt/CnF6dXcZ2.js +0 -1
- package/.output/public/_nuxt/Cnf1PFhB2.js +0 -1
- package/.output/public/_nuxt/CoTm7jd3.js +0 -28
- package/.output/public/_nuxt/CsN8RHJ02.js +0 -17
- package/.output/public/_nuxt/Cst8yEet.js +0 -1
- package/.output/public/_nuxt/Cuw2--X2.js +0 -2
- package/.output/public/_nuxt/CxLxiOGV.js +0 -1
- package/.output/public/_nuxt/D-jg-SoR.js +0 -1
- package/.output/public/_nuxt/D-z6N1Cz.js +0 -3
- package/.output/public/_nuxt/D1Xw30Dj.js +0 -1
- package/.output/public/_nuxt/D3gfSKKi2.js +0 -1
- package/.output/public/_nuxt/D4elH6Bo2.js +0 -1
- package/.output/public/_nuxt/D4tAdwYm.js +0 -1
- package/.output/public/_nuxt/D5-QB_-l.js +0 -1
- package/.output/public/_nuxt/D5hI4Fhu.js +0 -1
- package/.output/public/_nuxt/DAfWhONg.js +0 -14
- package/.output/public/_nuxt/DBzdrPzw2.js +0 -1
- package/.output/public/_nuxt/DC7WzYCf2.js +0 -1
- package/.output/public/_nuxt/DE-qkHRd2.js +0 -1
- package/.output/public/_nuxt/DE2kUGPK.js +0 -1
- package/.output/public/_nuxt/DEhjFhZ22.js +0 -1
- package/.output/public/_nuxt/DI4sdLmu2.js +0 -1
- package/.output/public/_nuxt/DIDbAMv5.js +0 -1
- package/.output/public/_nuxt/DL6fliAT.js +0 -3
- package/.output/public/_nuxt/DLAFNaPf.js +0 -1
- package/.output/public/_nuxt/DNno23Jf2.js +0 -1
- package/.output/public/_nuxt/DP6tsk912.js +0 -1
- package/.output/public/_nuxt/DP_e7Vwv.js +0 -24
- package/.output/public/_nuxt/DR83EvmX.js +0 -1
- package/.output/public/_nuxt/DSWuWYx_2.js +0 -1
- package/.output/public/_nuxt/DSdxfFX_.js +0 -1
- package/.output/public/_nuxt/DTxfFIvL2.js +0 -4
- package/.output/public/_nuxt/DVS06wUy2.js +0 -13
- package/.output/public/_nuxt/DXlAfhEi.js +0 -3
- package/.output/public/_nuxt/DYtV50yi2.js +0 -1
- package/.output/public/_nuxt/D_hCLbi9.js +0 -1
- package/.output/public/_nuxt/Dc5NeCDq.js +0 -1
- package/.output/public/_nuxt/DctCtJq7.js +0 -19
- package/.output/public/_nuxt/DdNujZN52.js +0 -1
- package/.output/public/_nuxt/DelESEcl2.js +0 -1
- package/.output/public/_nuxt/DgldLfCZ2.js +0 -1
- package/.output/public/_nuxt/DiHL9ehB.js +0 -1
- package/.output/public/_nuxt/DjtDexGg.js +0 -1
- package/.output/public/_nuxt/DnunMTRD2.js +0 -1
- package/.output/public/_nuxt/Do0dCE8C2.js +0 -1
- package/.output/public/_nuxt/Dok0B4Ol.js +0 -2
- package/.output/public/_nuxt/DqT2_Jtw2.js +0 -1
- package/.output/public/_nuxt/DtMlAxCm2.js +0 -1
- package/.output/public/_nuxt/DwzJpr7P.js +0 -1
- package/.output/public/_nuxt/Dxo1GW5U.js +0 -1
- package/.output/public/_nuxt/Eo2BYEIo2.js +0 -1
- package/.output/public/_nuxt/J94L7hHq2.js +0 -1
- package/.output/public/_nuxt/KS3KQF222.js +0 -1
- package/.output/public/_nuxt/LQBLwrYS2.js +0 -1
- package/.output/public/_nuxt/M58CVYnv.js +0 -1
- package/.output/public/_nuxt/M6NcguDO2.js +0 -1
- package/.output/public/_nuxt/MW-V7IIP.js +0 -1
- package/.output/public/_nuxt/N9TYd_Mk2.js +0 -1
- package/.output/public/_nuxt/P0EcfD3j.js +0 -1
- package/.output/public/_nuxt/QSY9fE482.js +0 -1
- package/.output/public/_nuxt/Qa9rS9oK2.js +0 -31
- package/.output/public/_nuxt/R3gBFghJ2.js +0 -1
- package/.output/public/_nuxt/RAqsw632.js +0 -1
- package/.output/public/_nuxt/S799kNo8.js +0 -1
- package/.output/public/_nuxt/TownView.BuMpDRkf.css +0 -1
- package/.output/public/_nuxt/WYqAa0r52.js +0 -1
- package/.output/public/_nuxt/WmMwIS4y2.js +0 -1
- package/.output/public/_nuxt/ZxBwmbs9.js +0 -1
- package/.output/public/_nuxt/_id_.DOqX4gwB.css +0 -1
- package/.output/public/_nuxt/_id_.DpRe1PRh.css +0 -1
- package/.output/public/_nuxt/_mD4IkJj.js +0 -9
- package/.output/public/_nuxt/_wsId_.XjmieZaJ.css +0 -1
- package/.output/public/_nuxt/agents.Cgm_JG9L.css +0 -1
- package/.output/public/_nuxt/aml.BeFTP6_M.css +0 -1
- package/.output/public/_nuxt/analysis.BwhKdel9.css +0 -1
- package/.output/public/_nuxt/bTFhJlrI2.js +0 -1
- package/.output/public/_nuxt/builds/meta/874575e6-2606-4f09-a59b-724158b3aba2.json +0 -1
- package/.output/public/_nuxt/c_nqArmG.js +0 -1
- package/.output/public/_nuxt/channel-templates.DkNZg-lF.css +0 -1
- package/.output/public/_nuxt/daq.YQas76du.css +0 -1
- package/.output/public/_nuxt/dcw.UIcWRyIS.css +0 -1
- package/.output/public/_nuxt/default.Bx6RJSbr.css +0 -1
- package/.output/public/_nuxt/entry.BlbU43qz.css +0 -1
- package/.output/public/_nuxt/h8ddxY892.js +0 -1
- package/.output/public/_nuxt/i3KBHle7.js +0 -1
- package/.output/public/_nuxt/jmKfTQMN.js +0 -13
- package/.output/public/_nuxt/logs.Bf65Kw17.css +0 -1
- package/.output/public/_nuxt/lyJsJl_G.js +0 -1
- package/.output/public/_nuxt/monitor.CI2v5Nvl.css +0 -1
- package/.output/public/_nuxt/operations.B8X9uWK6.css +0 -1
- package/.output/public/_nuxt/pages.CMhSEhEb.css +0 -1
- package/.output/public/_nuxt/plugins.C50x1qZp.css +0 -1
- package/.output/public/_nuxt/pncSmP5n.js +0 -1
- package/.output/public/_nuxt/qIQFsHtF2.js +0 -1
- package/.output/public/_nuxt/settings.O26Dw1iT.css +0 -1
- package/.output/public/_nuxt/taHLOXkS.js +0 -1
- package/.output/public/_nuxt/teams.sGmx1AdX.css +0 -1
- package/.output/public/_nuxt/tokens.DFMFaCYU.css +0 -1
- package/.output/public/_nuxt/uYP6z4G72.js +0 -1
- package/.output/public/_nuxt/workshop.BX2YeO0g.css +0 -1
- package/.output/public/_nuxt/yPlLXpEw2.js +0 -1
- package/.output/public/_nuxt/yuIP6K9s.js +0 -1
- package/.output/public/_nuxt/zWg-9WN6.js +0 -19
- package/.output/public/_nuxt/zrgcKVTq.js +0 -2
- package/.output/server/chunks/build/AuthGate-BK2RqkbD.mjs +0 -716
- package/.output/server/chunks/build/AuthGate-BK2RqkbD.mjs.map +0 -1
- package/.output/server/chunks/build/Checkbox-4EdGAAl_.mjs +0 -206
- package/.output/server/chunks/build/Checkbox-4EdGAAl_.mjs.map +0 -1
- package/.output/server/chunks/build/FormItemContext-BqtgOBDe.mjs +0 -72
- package/.output/server/chunks/build/FormItemContext-BqtgOBDe.mjs.map +0 -1
- package/.output/server/chunks/build/OmpTerminalPanel-Bun6rpAk.mjs +0 -942
- package/.output/server/chunks/build/OmpTerminalPanel-Bun6rpAk.mjs.map +0 -1
- package/.output/server/chunks/build/PluginSlot-Do6dX0RE.mjs +0 -399
- package/.output/server/chunks/build/PluginSlot-Do6dX0RE.mjs.map +0 -1
- package/.output/server/chunks/build/TownView-kQZFf4zj.mjs +0 -6489
- package/.output/server/chunks/build/TownView-kQZFf4zj.mjs.map +0 -1
- package/.output/server/chunks/build/_id_-Bbx1b74O.mjs +0 -1931
- package/.output/server/chunks/build/_id_-Bbx1b74O.mjs.map +0 -1
- package/.output/server/chunks/build/_id_-IijrRw3f.mjs +0 -391
- package/.output/server/chunks/build/_id_-IijrRw3f.mjs.map +0 -1
- package/.output/server/chunks/build/_wsId_-Dp3ACbQ5.mjs +0 -13620
- package/.output/server/chunks/build/_wsId_-Dp3ACbQ5.mjs.map +0 -1
- package/.output/server/chunks/build/agents-BfIoGr_p.mjs +0 -1087
- package/.output/server/chunks/build/agents-BfIoGr_p.mjs.map +0 -1
- package/.output/server/chunks/build/aml-B5zKrvB3.mjs +0 -810
- package/.output/server/chunks/build/aml-B5zKrvB3.mjs.map +0 -1
- package/.output/server/chunks/build/analysis-CPIxT0FP.mjs +0 -531
- package/.output/server/chunks/build/analysis-CPIxT0FP.mjs.map +0 -1
- package/.output/server/chunks/build/card-IyQjdGXA.mjs +0 -953
- package/.output/server/chunks/build/card-IyQjdGXA.mjs.map +0 -1
- package/.output/server/chunks/build/channel-templates-Bd8bgBCh.mjs +0 -937
- package/.output/server/chunks/build/channel-templates-Bd8bgBCh.mjs.map +0 -1
- package/.output/server/chunks/build/checkbox-NnjtOam0.mjs +0 -439
- package/.output/server/chunks/build/checkbox-NnjtOam0.mjs.map +0 -1
- package/.output/server/chunks/build/daq-mC3-5A0L.mjs +0 -1265
- package/.output/server/chunks/build/daq-mC3-5A0L.mjs.map +0 -1
- package/.output/server/chunks/build/dcw-EhjJpVQM.mjs +0 -504
- package/.output/server/chunks/build/dcw-EhjJpVQM.mjs.map +0 -1
- package/.output/server/chunks/build/default-flcNWlNg.mjs +0 -2297
- package/.output/server/chunks/build/default-flcNWlNg.mjs.map +0 -1
- package/.output/server/chunks/build/descriptions-DuAefuzp.mjs +0 -406
- package/.output/server/chunks/build/descriptions-DuAefuzp.mjs.map +0 -1
- package/.output/server/chunks/build/drawer-DEIB1_X6.mjs +0 -834
- package/.output/server/chunks/build/drawer-DEIB1_X6.mjs.map +0 -1
- package/.output/server/chunks/build/dropdown-BuD1pxH2.mjs +0 -557
- package/.output/server/chunks/build/dropdown-BuD1pxH2.mjs.map +0 -1
- package/.output/server/chunks/build/dropdown-w7qhyN2D.mjs +0 -14
- package/.output/server/chunks/build/dropdown-w7qhyN2D.mjs.map +0 -1
- package/.output/server/chunks/build/es-DfgEl5n-.mjs +0 -42
- package/.output/server/chunks/build/es-DfgEl5n-.mjs.map +0 -1
- package/.output/server/chunks/build/form-CMLL_-Xx.mjs +0 -4711
- package/.output/server/chunks/build/form-CMLL_-Xx.mjs.map +0 -1
- package/.output/server/chunks/build/hitl-ePh3G3ue.mjs +0 -132
- package/.output/server/chunks/build/hitl-ePh3G3ue.mjs.map +0 -1
- package/.output/server/chunks/build/input-DZcioTwL.mjs +0 -4122
- package/.output/server/chunks/build/input-DZcioTwL.mjs.map +0 -1
- package/.output/server/chunks/build/input-number-BRnbiKLd.mjs +0 -1120
- package/.output/server/chunks/build/input-number-BRnbiKLd.mjs.map +0 -1
- package/.output/server/chunks/build/logs-BYop3JfX.mjs +0 -384
- package/.output/server/chunks/build/logs-BYop3JfX.mjs.map +0 -1
- package/.output/server/chunks/build/menu-DXfhc0qN.mjs +0 -1950
- package/.output/server/chunks/build/menu-DXfhc0qN.mjs.map +0 -1
- package/.output/server/chunks/build/monitor-BjBGkUm2.mjs +0 -2247
- package/.output/server/chunks/build/monitor-BjBGkUm2.mjs.map +0 -1
- package/.output/server/chunks/build/operations-fxI8lEBJ.mjs +0 -285
- package/.output/server/chunks/build/operations-fxI8lEBJ.mjs.map +0 -1
- package/.output/server/chunks/build/pages-6JD9VSbx.mjs +0 -540
- package/.output/server/chunks/build/pages-6JD9VSbx.mjs.map +0 -1
- package/.output/server/chunks/build/permissions-u5SZL8Fe.mjs +0 -631
- package/.output/server/chunks/build/permissions-u5SZL8Fe.mjs.map +0 -1
- package/.output/server/chunks/build/plugins-Cas6KOF-.mjs +0 -248
- package/.output/server/chunks/build/plugins-Cas6KOF-.mjs.map +0 -1
- package/.output/server/chunks/build/popconfirm-BWxt-53K.mjs +0 -339
- package/.output/server/chunks/build/popconfirm-BWxt-53K.mjs.map +0 -1
- package/.output/server/chunks/build/schedules-Ct68Jrvw.mjs +0 -7166
- package/.output/server/chunks/build/schedules-Ct68Jrvw.mjs.map +0 -1
- package/.output/server/chunks/build/segmented-DN62bOFu.mjs +0 -341
- package/.output/server/chunks/build/segmented-DN62bOFu.mjs.map +0 -1
- package/.output/server/chunks/build/select-DQv1DXcW.mjs +0 -3923
- package/.output/server/chunks/build/select-DQv1DXcW.mjs.map +0 -1
- package/.output/server/chunks/build/settings-CQzR1YXR.mjs +0 -1110
- package/.output/server/chunks/build/settings-CQzR1YXR.mjs.map +0 -1
- package/.output/server/chunks/build/space-6FfG3llN.mjs +0 -110
- package/.output/server/chunks/build/space-6FfG3llN.mjs.map +0 -1
- package/.output/server/chunks/build/switch-CfsCVFQP.mjs +0 -377
- package/.output/server/chunks/build/switch-CfsCVFQP.mjs.map +0 -1
- package/.output/server/chunks/build/table-HOjbB5YY.mjs +0 -8881
- package/.output/server/chunks/build/table-HOjbB5YY.mjs.map +0 -1
- package/.output/server/chunks/build/tabs-CC26Rbcw.mjs +0 -1923
- package/.output/server/chunks/build/tabs-CC26Rbcw.mjs.map +0 -1
- package/.output/server/chunks/build/tag-BtOMjpDx.mjs +0 -1029
- package/.output/server/chunks/build/tag-BtOMjpDx.mjs.map +0 -1
- package/.output/server/chunks/build/teams-Re0wY2SQ.mjs +0 -1197
- package/.output/server/chunks/build/teams-Re0wY2SQ.mjs.map +0 -1
- package/.output/server/chunks/build/tokens-DLFIUvXE.mjs +0 -1038
- package/.output/server/chunks/build/tokens-DLFIUvXE.mjs.map +0 -1
- package/.output/server/chunks/build/tooltip-BSDwL_LM.mjs +0 -3362
- package/.output/server/chunks/build/tooltip-BSDwL_LM.mjs.map +0 -1
- package/.output/server/chunks/build/town-Bfme7P2I.mjs +0 -132
- package/.output/server/chunks/build/town-Bfme7P2I.mjs.map +0 -1
- package/.output/server/chunks/build/useAgentHarnessOptions-BnFCh23W.mjs +0 -123
- package/.output/server/chunks/build/useAgentHarnessOptions-BnFCh23W.mjs.map +0 -1
- package/.output/server/chunks/build/useAgentTemplateActions-CjBwCb3u.mjs +0 -76
- package/.output/server/chunks/build/useAgentTemplateActions-CjBwCb3u.mjs.map +0 -1
- package/.output/server/chunks/build/useAgentTemplateForm-BX9_xqj8.mjs +0 -116
- package/.output/server/chunks/build/useAgentTemplateForm-BX9_xqj8.mjs.map +0 -1
- package/.output/server/chunks/build/useAgentTemplatesCatalog-Q7LgG1Af.mjs +0 -132
- package/.output/server/chunks/build/useAgentTemplatesCatalog-Q7LgG1Af.mjs.map +0 -1
- package/.output/server/chunks/build/useAmlEntities-BrcTqHwa.mjs +0 -85
- package/.output/server/chunks/build/useAmlEntities-BrcTqHwa.mjs.map +0 -1
- package/.output/server/chunks/build/useAmlEnv-jiGYK790.mjs +0 -193
- package/.output/server/chunks/build/useAmlEnv-jiGYK790.mjs.map +0 -1
- package/.output/server/chunks/build/useAmlJobs-CVZ1btzg.mjs +0 -266
- package/.output/server/chunks/build/useAmlJobs-CVZ1btzg.mjs.map +0 -1
- package/.output/server/chunks/build/useAmlModels-DJkQzcCU.mjs +0 -92
- package/.output/server/chunks/build/useAmlModels-DJkQzcCU.mjs.map +0 -1
- package/.output/server/chunks/build/useAmlNotes-DKnx9a8x.mjs +0 -85
- package/.output/server/chunks/build/useAmlNotes-DKnx9a8x.mjs.map +0 -1
- package/.output/server/chunks/build/useAmlPredict-Bp4ehwKw.mjs +0 -129
- package/.output/server/chunks/build/useAmlPredict-Bp4ehwKw.mjs.map +0 -1
- package/.output/server/chunks/build/useAnalysisFeed-B4OwUd7p.mjs +0 -128
- package/.output/server/chunks/build/useAnalysisFeed-B4OwUd7p.mjs.map +0 -1
- package/.output/server/chunks/build/useDaqAddNode-CaOCbe4-.mjs +0 -141
- package/.output/server/chunks/build/useDaqAddNode-CaOCbe4-.mjs.map +0 -1
- package/.output/server/chunks/build/useDaqDetailBinding-C7AbGIdP.mjs +0 -69
- package/.output/server/chunks/build/useDaqDetailBinding-C7AbGIdP.mjs.map +0 -1
- package/.output/server/chunks/build/useDaqDetailFrames-CmAEdbAL.mjs +0 -78
- package/.output/server/chunks/build/useDaqDetailFrames-CmAEdbAL.mjs.map +0 -1
- package/.output/server/chunks/build/useDaqDetailHistory-C4LWayu1.mjs +0 -175
- package/.output/server/chunks/build/useDaqDetailHistory-C4LWayu1.mjs.map +0 -1
- package/.output/server/chunks/build/useDaqDetailNode-DtZ0oDAn.mjs +0 -98
- package/.output/server/chunks/build/useDaqDetailNode-DtZ0oDAn.mjs.map +0 -1
- package/.output/server/chunks/build/useDaqDetailParams-CrTMDs-2.mjs +0 -158
- package/.output/server/chunks/build/useDaqDetailParams-CrTMDs-2.mjs.map +0 -1
- package/.output/server/chunks/build/useDaqFilters-DYHGhECw.mjs +0 -221
- package/.output/server/chunks/build/useDaqFilters-DYHGhECw.mjs.map +0 -1
- package/.output/server/chunks/build/useDaqOptimizations-C5N4bcu4.mjs +0 -135
- package/.output/server/chunks/build/useDaqOptimizations-C5N4bcu4.mjs.map +0 -1
- package/.output/server/chunks/build/useDaqStream-DhzdoyIR.mjs +0 -395
- package/.output/server/chunks/build/useDaqStream-DhzdoyIR.mjs.map +0 -1
- package/.output/server/chunks/build/useDaqTemplates-C7GzQmdJ.mjs +0 -186
- package/.output/server/chunks/build/useDaqTemplates-C7GzQmdJ.mjs.map +0 -1
- package/.output/server/chunks/build/useDashboardData-B3lZjE7x.mjs +0 -152
- package/.output/server/chunks/build/useDashboardData-B3lZjE7x.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwAddNode-4mTPQ6T8.mjs +0 -218
- package/.output/server/chunks/build/useDcwAddNode-4mTPQ6T8.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwCards-DvLGgUYr.mjs +0 -66
- package/.output/server/chunks/build/useDcwCards-DvLGgUYr.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwDetailScope-BWH7jnVh.mjs +0 -183
- package/.output/server/chunks/build/useDcwDetailScope-BWH7jnVh.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwDetailTemplates-yzNEAMK-.mjs +0 -147
- package/.output/server/chunks/build/useDcwDetailTemplates-yzNEAMK-.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwFilter-BQDmQYY0.mjs +0 -70
- package/.output/server/chunks/build/useDcwFilter-BQDmQYY0.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwLedger-DWGufEor.mjs +0 -78
- package/.output/server/chunks/build/useDcwLedger-DWGufEor.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwLineMutations-DHF-Bemn.mjs +0 -136
- package/.output/server/chunks/build/useDcwLineMutations-DHF-Bemn.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwLineRun-VFe35xou.mjs +0 -103
- package/.output/server/chunks/build/useDcwLineRun-VFe35xou.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwParamApprovals-Bc0BGBds.mjs +0 -120
- package/.output/server/chunks/build/useDcwParamApprovals-Bc0BGBds.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwProducts-DXisXYMh.mjs +0 -92
- package/.output/server/chunks/build/useDcwProducts-DXisXYMh.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwQuery-Cmo3UtIQ.mjs +0 -97
- package/.output/server/chunks/build/useDcwQuery-Cmo3UtIQ.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwQuickActions-BkAcxVnj.mjs +0 -87
- package/.output/server/chunks/build/useDcwQuickActions-BkAcxVnj.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwRecipes-BvtGPQJ9.mjs +0 -257
- package/.output/server/chunks/build/useDcwRecipes-BvtGPQJ9.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwStream-BXJ2V8HM.mjs +0 -452
- package/.output/server/chunks/build/useDcwStream-BXJ2V8HM.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwTemplates-Zxz2DPdu.mjs +0 -90
- package/.output/server/chunks/build/useDcwTemplates-Zxz2DPdu.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwWrites-66CKxcos.mjs +0 -139
- package/.output/server/chunks/build/useDcwWrites-66CKxcos.mjs.map +0 -1
- package/.output/server/chunks/build/useExpConfirmations-BbInIHsn.mjs +0 -106
- package/.output/server/chunks/build/useExpConfirmations-BbInIHsn.mjs.map +0 -1
- package/.output/server/chunks/build/useLocalTime-CUnDHV5V.mjs +0 -55
- package/.output/server/chunks/build/useLocalTime-CUnDHV5V.mjs.map +0 -1
- package/.output/server/chunks/build/useLogsManual-CElmZuJh.mjs +0 -83
- package/.output/server/chunks/build/useLogsManual-CElmZuJh.mjs.map +0 -1
- package/.output/server/chunks/build/useLogsQuery-C5nadU1m.mjs +0 -124
- package/.output/server/chunks/build/useLogsQuery-C5nadU1m.mjs.map +0 -1
- package/.output/server/chunks/build/useLogsScope-DgrB1ur3.mjs +0 -82
- package/.output/server/chunks/build/useLogsScope-DgrB1ur3.mjs.map +0 -1
- package/.output/server/chunks/build/useMonitorColumns-DhYvkLDq.mjs +0 -214
- package/.output/server/chunks/build/useMonitorColumns-DhYvkLDq.mjs.map +0 -1
- package/.output/server/chunks/build/useMonitorData-DcIfMEiz.mjs +0 -134
- package/.output/server/chunks/build/useMonitorData-DcIfMEiz.mjs.map +0 -1
- package/.output/server/chunks/build/useMonitorFormat-DRCXsKwh.mjs +0 -90
- package/.output/server/chunks/build/useMonitorFormat-DRCXsKwh.mjs.map +0 -1
- package/.output/server/chunks/build/useOperationsFeed-DsA2ym7M.mjs +0 -193
- package/.output/server/chunks/build/useOperationsFeed-DsA2ym7M.mjs.map +0 -1
- package/.output/server/chunks/build/useOpsLog-SnWPuRtK.mjs +0 -137
- package/.output/server/chunks/build/useOpsLog-SnWPuRtK.mjs.map +0 -1
- package/.output/server/chunks/build/useRecipeDispatchApprovals-CbL2El3n.mjs +0 -155
- package/.output/server/chunks/build/useRecipeDispatchApprovals-CbL2El3n.mjs.map +0 -1
- package/.output/server/chunks/build/useTeamActions-C3_O_AIU.mjs +0 -78
- package/.output/server/chunks/build/useTeamActions-C3_O_AIU.mjs.map +0 -1
- package/.output/server/chunks/build/useTeamAddMemberDialog-DWAoZCKd.mjs +0 -83
- package/.output/server/chunks/build/useTeamAddMemberDialog-DWAoZCKd.mjs.map +0 -1
- package/.output/server/chunks/build/useTeamCreateDialog-911mIPWd.mjs +0 -96
- package/.output/server/chunks/build/useTeamCreateDialog-911mIPWd.mjs.map +0 -1
- package/.output/server/chunks/build/useTeamDeployDialog-D0STROoQ.mjs +0 -79
- package/.output/server/chunks/build/useTeamDeployDialog-D0STROoQ.mjs.map +0 -1
- package/.output/server/chunks/build/useTeamPluginDialog-Df6-e2OW.mjs +0 -102
- package/.output/server/chunks/build/useTeamPluginDialog-Df6-e2OW.mjs.map +0 -1
- package/.output/server/chunks/build/useTeamsCatalog-HBSyKt5P.mjs +0 -122
- package/.output/server/chunks/build/useTeamsCatalog-HBSyKt5P.mjs.map +0 -1
- package/.output/server/chunks/build/useTokenCreate-DOojAhM5.mjs +0 -114
- package/.output/server/chunks/build/useTokenCreate-DOojAhM5.mjs.map +0 -1
- package/.output/server/chunks/build/useTokenRename-CMA5dLHx.mjs +0 -86
- package/.output/server/chunks/build/useTokenRename-CMA5dLHx.mjs.map +0 -1
- package/.output/server/chunks/build/useTokenReveal-C19aCKzt.mjs +0 -117
- package/.output/server/chunks/build/useTokenReveal-C19aCKzt.mjs.map +0 -1
- package/.output/server/chunks/build/useTokensList-D0ZpLOhR.mjs +0 -91
- package/.output/server/chunks/build/useTokensList-D0ZpLOhR.mjs.map +0 -1
- package/.output/server/chunks/build/useWorkbenchAuth-CN5E3J5L.mjs +0 -140
- package/.output/server/chunks/build/useWorkbenchAuth-CN5E3J5L.mjs.map +0 -1
- package/.output/server/chunks/build/useWorkbenchWorkspaces-ChKByQSD.mjs +0 -137
- package/.output/server/chunks/build/useWorkbenchWorkspaces-ChKByQSD.mjs.map +0 -1
- package/.output/server/chunks/build/useWorkshopApi-C9sTYu1F.mjs +0 -113
- package/.output/server/chunks/build/useWorkshopApi-C9sTYu1F.mjs.map +0 -1
- package/.output/server/chunks/build/useWorkshopWs-CM-Ywk4h.mjs +0 -1659
- package/.output/server/chunks/build/useWorkshopWs-CM-Ywk4h.mjs.map +0 -1
- package/.output/server/chunks/build/useWorkspaceChannels--65yU02b.mjs +0 -91
- package/.output/server/chunks/build/useWorkspaceChannels--65yU02b.mjs.map +0 -1
- package/.output/server/chunks/build/users-BW4jowK4.mjs +0 -563
- package/.output/server/chunks/build/users-BW4jowK4.mjs.map +0 -1
- package/.output/server/chunks/build/workshop-Bx55czXL.mjs +0 -523
- package/.output/server/chunks/build/workshop-Bx55czXL.mjs.map +0 -1
- /package/.output/public/_nuxt/{BBrRELH32.js → BBrRELH3.js} +0 -0
- /package/.output/public/_nuxt/{BDNMzG2s2.js → BDNMzG2s.js} +0 -0
- /package/.output/public/_nuxt/{BGkumHZ32.js → BGkumHZ3.js} +0 -0
- /package/.output/public/_nuxt/{BrIJiJSN2.js → BrIJiJSN.js} +0 -0
- /package/.output/public/_nuxt/{BupBjt6B2.js → BupBjt6B.js} +0 -0
- /package/.output/public/_nuxt/{CT-vTjcG.js → CT-vTjcG2.js} +0 -0
- /package/.output/public/_nuxt/{CWKEp1wx2.js → CWKEp1wx.js} +0 -0
- /package/.output/public/_nuxt/{DIOBYJe32.js → DIOBYJe3.js} +0 -0
- /package/.output/public/_nuxt/{DkJVtqfc.js → DkJVtqfc2.js} +0 -0
- /package/.output/public/_nuxt/{Dmgqz2np.js → Dmgqz2np2.js} +0 -0
- /package/.output/public/_nuxt/{Nw_6OpQZ2.js → Nw_6OpQZ.js} +0 -0
- /package/.output/public/_nuxt/{cGSl2GZp.js → cGSl2GZp2.js} +0 -0
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* 数采/配方/MES 全链 Agent 集成验收(隔离实例,真实 HTTP + Agent 工具桥 + MES 模拟器)。
|
|
4
|
+
*
|
|
5
|
+
* 覆盖:
|
|
6
|
+
* G1 隔离实例 + admin + MES 模拟器
|
|
7
|
+
* G2 产线/数控节点/产品/配方/频道/配方绑定/开跑
|
|
8
|
+
* G3 Agent recipe_catalog 解析当前配方;recipe_apply(仅 line_id)经 HITL 下发
|
|
9
|
+
* G4 Agent recipe_create 从活动批次冻结参数另存新配方(经 HITL);审计带 product_id
|
|
10
|
+
* G5 Agent recipe_log 按 recipe_id/product_id 可查下发/试验/创建/开跑
|
|
11
|
+
* G6 外部 API 推送 DAQ 数组/图像 → daq_frames 在线读取(带点位语义)→ daq_export manifest/README
|
|
12
|
+
* G7 MES 向量历史 + dictionaryPath:mes_fetch 返回字段字典与数组采样;mes_export 落目录+manifest/README
|
|
13
|
+
*
|
|
14
|
+
* 运行:node scripts/mes-agent-integration-e2e.mjs
|
|
15
|
+
*/
|
|
16
|
+
import { spawn } from 'node:child_process'
|
|
17
|
+
import { mkdirSync, openSync, readFileSync, rmSync, existsSync } from 'node:fs'
|
|
18
|
+
import puppeteer from 'puppeteer-core'
|
|
19
|
+
import { dirname, join, resolve } from 'node:path'
|
|
20
|
+
import { fileURLToPath } from 'node:url'
|
|
21
|
+
import { tmpdir } from 'node:os'
|
|
22
|
+
|
|
23
|
+
const REPO = resolve(dirname(fileURLToPath(import.meta.url)), '..')
|
|
24
|
+
const ROOT = join(tmpdir(), 'aw-mes-agent-e2e')
|
|
25
|
+
rmSync(ROOT, { recursive: true, force: true })
|
|
26
|
+
mkdirSync(join(ROOT, 'home'), { recursive: true })
|
|
27
|
+
mkdirSync(join(ROOT, 'exports'), { recursive: true })
|
|
28
|
+
const TAG = `ma${Date.now().toString(36).slice(-5)}`
|
|
29
|
+
const MES_PORT = 15061
|
|
30
|
+
const MES_TOKEN = `mes-e2e-${TAG}-token`
|
|
31
|
+
const INGEST_TOKEN = `daq-e2e-${TAG}-token`
|
|
32
|
+
const results = []
|
|
33
|
+
const ok = (id, name, cond, detail = '') => {
|
|
34
|
+
results.push({ id, name, pass: Boolean(cond), detail: String(detail).slice(0, 500) })
|
|
35
|
+
console.log(`${cond ? '✔' : '✖'} [${id}] ${name}${cond ? '' : ` — ${String(detail).slice(0, 500)}`}`)
|
|
36
|
+
}
|
|
37
|
+
const sleep = ms => new Promise(r => setTimeout(r, ms))
|
|
38
|
+
|
|
39
|
+
let port = 0
|
|
40
|
+
for (const p of [3999, 3998, 3997, 3996]) {
|
|
41
|
+
try {
|
|
42
|
+
const r = await fetch(`http://127.0.0.1:${p}/api/health`, { signal: AbortSignal.timeout(1200) })
|
|
43
|
+
if (r.ok) continue
|
|
44
|
+
}
|
|
45
|
+
catch { /* 空闲 */ }
|
|
46
|
+
port = p
|
|
47
|
+
break
|
|
48
|
+
}
|
|
49
|
+
if (!port) {
|
|
50
|
+
console.error('无空闲端口')
|
|
51
|
+
process.exit(1)
|
|
52
|
+
}
|
|
53
|
+
const BASE = `http://127.0.0.1:${port}`
|
|
54
|
+
process.env.NO_PROXY = '127.0.0.1,localhost'
|
|
55
|
+
|
|
56
|
+
const mesLog = openSync(join(ROOT, 'mes-sim.log'), 'a')
|
|
57
|
+
const mesSim = spawn(process.execPath, [join(REPO, 'scripts', 'dev-mes-simulator.mjs'), '--port', String(MES_PORT)], {
|
|
58
|
+
cwd: REPO,
|
|
59
|
+
env: { ...process.env, MES_SIM_PORT: String(MES_PORT), MES_SIM_TOKEN: MES_TOKEN, NO_PROXY: '127.0.0.1,localhost' },
|
|
60
|
+
stdio: ['ignore', mesLog, mesLog],
|
|
61
|
+
windowsHide: true,
|
|
62
|
+
})
|
|
63
|
+
|
|
64
|
+
const logFd = openSync(join(ROOT, 'dev.log'), 'a')
|
|
65
|
+
const child = spawn(process.execPath, [join(REPO, 'bin', 'aw.mjs'), 'dev', '--port', String(port)], {
|
|
66
|
+
cwd: REPO,
|
|
67
|
+
env: {
|
|
68
|
+
...process.env,
|
|
69
|
+
AW_MODE: 'home',
|
|
70
|
+
AW_HOME: join(ROOT, 'home'),
|
|
71
|
+
AW_RATE_LIMIT_OFF: '1',
|
|
72
|
+
AW_TRIAL_INTERVAL_MS: '0',
|
|
73
|
+
AW_DAQ_INGEST_TOKEN: INGEST_TOKEN,
|
|
74
|
+
AW_MES_E2E_TOKEN: MES_TOKEN,
|
|
75
|
+
AW_MES_EXPORT_ROOT: join(ROOT, 'exports'),
|
|
76
|
+
NUXT_SESSION_PASSWORD: 'MesAgent#2026-e2e-session-key',
|
|
77
|
+
NO_PROXY: '127.0.0.1,localhost',
|
|
78
|
+
},
|
|
79
|
+
stdio: ['ignore', logFd, logFd],
|
|
80
|
+
windowsHide: true,
|
|
81
|
+
})
|
|
82
|
+
|
|
83
|
+
async function api(method, path, body, token, timeoutMs = 180_000) {
|
|
84
|
+
const res = await fetch(BASE + path, {
|
|
85
|
+
method,
|
|
86
|
+
headers: { 'content-type': 'application/json', ...(token ? { authorization: `Bearer ${token}` } : {}) },
|
|
87
|
+
body: body === undefined ? undefined : JSON.stringify(body),
|
|
88
|
+
signal: AbortSignal.timeout(timeoutMs),
|
|
89
|
+
})
|
|
90
|
+
let json = null
|
|
91
|
+
try {
|
|
92
|
+
json = await res.json()
|
|
93
|
+
}
|
|
94
|
+
catch { /* 非 JSON */ }
|
|
95
|
+
return { status: res.status, ...json }
|
|
96
|
+
}
|
|
97
|
+
const data = r => r?.data ?? null
|
|
98
|
+
const invText = r => String(r?.data?.result?.text ?? r?.data?.text ?? '')
|
|
99
|
+
const invErr = r => Boolean(r?.data?.result?.isError ?? r?.data?.isError)
|
|
100
|
+
const invoke = (agentId, tool, args, token) => api('POST', '/api/workshop/agent-tools/invoke', { agentId, tool, args }, token)
|
|
101
|
+
const pendingIds = async token => new Set((data(await api('GET', '/api/workshop/hitl/pending', undefined, token))?.items ?? []).map(x => x.id))
|
|
102
|
+
const approve = (card, token, comment) => api('POST', '/api/workshop/hitl/respond', { kind: 'dcw-approval', id: card.id, confirmed: true, comment }, token)
|
|
103
|
+
|
|
104
|
+
async function invokeApproved(agentId, tool, args, token, label) {
|
|
105
|
+
const known = await pendingIds(token)
|
|
106
|
+
const p = invoke(agentId, tool, args, token)
|
|
107
|
+
let card = null
|
|
108
|
+
for (let i = 0; i < 60 && !card; i++) {
|
|
109
|
+
await sleep(500)
|
|
110
|
+
const items = data(await api('GET', '/api/workshop/hitl/pending', undefined, token))?.items ?? []
|
|
111
|
+
card = items.find(x => !known.has(x.id) && String(x.nodeId ?? '').startsWith('recipe:')) ?? null
|
|
112
|
+
}
|
|
113
|
+
if (card) await approve(card, token, `${label} E2E 人工批准`)
|
|
114
|
+
const r = await p
|
|
115
|
+
console.log(` [${label}] hitl=${card?.id ?? '(无)'} isError=${invErr(r)} ${invText(r).slice(0, 240)}`)
|
|
116
|
+
return { r, card }
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
async function waitHealth() {
|
|
120
|
+
for (let i = 0; i < 120; i++) {
|
|
121
|
+
await sleep(1500)
|
|
122
|
+
try {
|
|
123
|
+
const h = await api('GET', '/api/health', undefined, undefined, 3000)
|
|
124
|
+
if (h?.data?.status === 'ok' && h?.data?.workshop === 'ready') return true
|
|
125
|
+
}
|
|
126
|
+
catch { /* 未就绪 */ }
|
|
127
|
+
}
|
|
128
|
+
return false
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
try {
|
|
132
|
+
const healthy = await waitHealth()
|
|
133
|
+
ok('G1a', '隔离实例启动 + workshop ready', healthy, `port=${port}`)
|
|
134
|
+
if (!healthy) throw new Error('实例未就绪')
|
|
135
|
+
// MES 模拟器健康
|
|
136
|
+
let mesReady = false
|
|
137
|
+
for (let i = 0; i < 20; i++) {
|
|
138
|
+
try {
|
|
139
|
+
const r = await fetch(`http://127.0.0.1:${MES_PORT}/health`, { signal: AbortSignal.timeout(1200) })
|
|
140
|
+
if (r.ok) {
|
|
141
|
+
mesReady = true
|
|
142
|
+
break
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
catch { /* 未就绪 */ }
|
|
146
|
+
await sleep(300)
|
|
147
|
+
}
|
|
148
|
+
ok('G1b', 'MES 模拟器就绪', mesReady, `port=${MES_PORT}`)
|
|
149
|
+
if (!mesReady) throw new Error('MES 模拟器未就绪')
|
|
150
|
+
|
|
151
|
+
const email = `ma-${TAG}@awshop.local`
|
|
152
|
+
const token = data(await api('POST', '/api/users/register', { name: `ma-admin-${TAG}`, email, password: 'MesAgent#2026' }))?.token
|
|
153
|
+
ok('G1c', 'admin 注册/登录', Boolean(token))
|
|
154
|
+
|
|
155
|
+
// ── G2 场景 ──
|
|
156
|
+
const line = data(await api('POST', '/api/workshop/dcw/lines', { name: `MES集成线-${TAG}` }, token))?.line?.id
|
|
157
|
+
const tpl = data(await api('POST', '/api/workshop/dcw/templates', { name: `MES参数-${TAG}`, ch: '膜厚', unit: 'um', min: 30, max: 40, decimals: 3 }, token))?.template?.key
|
|
158
|
+
const ctrlNode = data(await api('POST', '/api/workshop/dcw', {
|
|
159
|
+
templateRef: tpl, name: `控制节点-${TAG}`, driver: 'mock', lineId: line, stepLimit: 2,
|
|
160
|
+
driverConfig: { key: `ma-${TAG}` },
|
|
161
|
+
}, token))?.node?.id
|
|
162
|
+
const product = data(await api('POST', '/api/workshop/dcw/products', { lineId: line, name: `MES产品-${TAG}` }, token))?.product?.id
|
|
163
|
+
const recipe = data(await api('POST', '/api/workshop/dcw/recipes', {
|
|
164
|
+
productId: product, name: `主配方-${TAG}`,
|
|
165
|
+
params: [{ nodeId: ctrlNode, value: 35, min: 31, max: 39 }],
|
|
166
|
+
}, token))?.recipe?.id
|
|
167
|
+
const ch = data(await api('POST', '/api/workshop/channels', { name: `MES频道-${TAG}`, leadAgent: { name: `MESlead-${TAG}`, harness: 'omp' } }, token))
|
|
168
|
+
const channelId = ch?.channelId
|
|
169
|
+
const lead = ch?.leadAgentId
|
|
170
|
+
const bindLine = await api('PUT', `/api/workshop/channels/${channelId}/line`, { lineId: line }, token)
|
|
171
|
+
const bindRecipe = await api('POST', '/api/workshop/agent-tools/bindings', { agentId: lead, nodeId: recipe, kind: 'recipe' }, token)
|
|
172
|
+
const lineStart = await api('POST', `/api/workshop/dcw/lines/${line}/start`, { recipeId: recipe }, token)
|
|
173
|
+
ok('G2', '建线/节点/产品/配方/频道/配方绑定/开跑',
|
|
174
|
+
Boolean(line && tpl && ctrlNode && product && recipe && channelId && lead)
|
|
175
|
+
&& bindLine.status === 200 && bindRecipe.status === 200 && lineStart.status === 200,
|
|
176
|
+
JSON.stringify({ line, ctrlNode, recipe, channelId, lead, bindLine: bindLine.status, bindRecipe: bindRecipe.status, lineStart: lineStart.status }))
|
|
177
|
+
|
|
178
|
+
// MES 点位 + 仅用于授权可见性的 MES 配方(不启动)
|
|
179
|
+
const mesNode = data(await api('POST', '/api/workshop/dcw', {
|
|
180
|
+
templateRef: tpl, name: `MES膜厚-${TAG}`, driver: 'mes-rest', lineId: line, unit: 'um', min: 30, max: 40, decimals: 4,
|
|
181
|
+
readIntervalMs: 60_000,
|
|
182
|
+
driverConfig: {
|
|
183
|
+
baseUrl: `http://127.0.0.1:${MES_PORT}`,
|
|
184
|
+
allowPrivateHost: 'true',
|
|
185
|
+
authType: 'header',
|
|
186
|
+
authHeaderName: 'x-api-token',
|
|
187
|
+
secretRef: 'E2E',
|
|
188
|
+
desc: 'MES 膜厚断面(48 道)',
|
|
189
|
+
semantics: '沿模头横向的膜厚分布',
|
|
190
|
+
historyMap: JSON.stringify({
|
|
191
|
+
path: '/api/v1/quality/thickness',
|
|
192
|
+
query: {},
|
|
193
|
+
response: {
|
|
194
|
+
rowsPath: 'data.rows[*]',
|
|
195
|
+
tsPath: 'ts',
|
|
196
|
+
format: 'vector',
|
|
197
|
+
valuesPath: 'profile',
|
|
198
|
+
dictionaryPath: 'data.fields',
|
|
199
|
+
nextCursorPath: 'data.nextCursor',
|
|
200
|
+
},
|
|
201
|
+
pageSize: 50,
|
|
202
|
+
maxPages: 5,
|
|
203
|
+
}),
|
|
204
|
+
},
|
|
205
|
+
}, token))?.node?.id
|
|
206
|
+
const mesRecipe = data(await api('POST', '/api/workshop/dcw/recipes', {
|
|
207
|
+
productId: product, name: `MES数据配方-${TAG}`,
|
|
208
|
+
params: [{ nodeId: mesNode, value: 35, min: 30, max: 40 }],
|
|
209
|
+
}, token))?.recipe?.id
|
|
210
|
+
const bindMesRecipe = await api('POST', '/api/workshop/agent-tools/bindings', { agentId: lead, nodeId: mesRecipe, kind: 'recipe' }, token)
|
|
211
|
+
ok('G2b', 'MES 点位与数据配方绑定', Boolean(mesNode && mesRecipe) && bindMesRecipe.status === 200, JSON.stringify({ mesNode, mesRecipe, status: bindMesRecipe.status }))
|
|
212
|
+
|
|
213
|
+
// ── G3 当前配方目录 + 仅 line_id 下发(HITL) ──
|
|
214
|
+
const cat = await invoke(lead, 'recipe_catalog', { line_id: line }, token)
|
|
215
|
+
const catText = invText(cat)
|
|
216
|
+
ok('G3a', 'Agent recipe_catalog 解析当前配方', !invErr(cat) && catText.includes(recipe) && catText.includes('当前执行中'), catText.slice(0, 260))
|
|
217
|
+
const apply = await invokeApproved(lead, 'recipe_apply', { line_id: line, reason: `E2E 验证仅 line_id 解析当前配方下发 (${TAG})` }, token, 'recipe_apply(line_id)')
|
|
218
|
+
ok('G3b', 'recipe_apply 仅 line_id + manual HITL 下发成功', !invErr(apply.r) && Boolean(apply.card) && /已整批下发|设备证实/.test(invText(apply.r)), invText(apply.r).slice(0, 320))
|
|
219
|
+
|
|
220
|
+
// ── G4 从活动批次另存新配方(HITL) ──
|
|
221
|
+
const copyName = `另存配方-${TAG}`
|
|
222
|
+
const create = await invokeApproved(lead, 'recipe_create', {
|
|
223
|
+
name: copyName,
|
|
224
|
+
product_id: product,
|
|
225
|
+
use_active_run: true,
|
|
226
|
+
reason: `把当前活动批次冻结参数固化为新基线 (${TAG})`,
|
|
227
|
+
}, token, 'recipe_create(use_active_run)')
|
|
228
|
+
const createText = invText(create.r)
|
|
229
|
+
const newRecipeId = createText.match(/id=(rc-[A-Za-z0-9]+)/)?.[1] ?? ''
|
|
230
|
+
ok('G4a', 'recipe_create 从活动批次冻结参数另存新配方', !invErr(create.r) && Boolean(create.card) && Boolean(newRecipeId), createText.slice(0, 320))
|
|
231
|
+
const cat2 = invText(await invoke(lead, 'recipe_catalog', { line_id: line, q: copyName }, token))
|
|
232
|
+
ok('G4b', '新配方出现在 recipe_catalog(未自动绑定提示)', cat2.includes(copyName) && /尚未绑定|绑定/.test(createText), cat2.slice(0, 260))
|
|
233
|
+
|
|
234
|
+
// ── G5 配方下发历史(Agent 工具) ──
|
|
235
|
+
const logByRecipe = invText(await invoke(lead, 'recipe_log', { recipe_id: recipe, limit: 50 }, token))
|
|
236
|
+
const logByProduct = invText(await invoke(lead, 'recipe_log', { product_id: product, limit: 50 }, token))
|
|
237
|
+
ok('G5a', 'recipe_log 按 recipe_id 返回下发/开跑记录', /配方下发|开跑整批下发/.test(logByRecipe) && logByRecipe.includes(recipe), logByRecipe.slice(0, 320))
|
|
238
|
+
ok('G5b', 'recipe_log 按 product_id 仍能看到 Agent 下发记录(审计 product_id 已补)', /配方下发/.test(logByProduct) && logByProduct.includes(product), logByProduct.slice(0, 320))
|
|
239
|
+
const ops = data(await api('GET', `/api/workshop/ops-logs?scope=line&recipeId=${encodeURIComponent(recipe)}&limit=100`, undefined, token))
|
|
240
|
+
const rows = ops?.logs ?? []
|
|
241
|
+
ok('G5c', '产线日志 API(UI 下发历史同源)含下发与回执', rows.some(r => r.action === 'recipe.apply') && rows.some(r => r.action === 'recipe.dispatch.ack'), `rows=${rows.length}`)
|
|
242
|
+
|
|
243
|
+
// ── G6 外部 API 推送 DAQ 数组/图像 ──
|
|
244
|
+
const vecNode = data(await api('POST', '/api/workshop/daq', {
|
|
245
|
+
templateRef: 'thickness-scan', name: `外部数组-${TAG}`, driver: 'mock', lineId: line, intervalMs: 60000, enabled: true,
|
|
246
|
+
}, token))?.node?.id
|
|
247
|
+
const imgNode = data(await api('POST', '/api/workshop/daq', {
|
|
248
|
+
templateRef: 'ccd-image', name: `外部图像-${TAG}`, driver: 'mock', lineId: line, intervalMs: 60000, enabled: true,
|
|
249
|
+
}, token))?.node?.id
|
|
250
|
+
await api('POST', '/api/workshop/daq/controller', { action: 'start' }, token)
|
|
251
|
+
await sleep(800)
|
|
252
|
+
const nowIso = new Date().toISOString()
|
|
253
|
+
const points = Array.from({ length: 8 }, (_, i) => Number((35.1 + i * 0.05).toFixed(3)))
|
|
254
|
+
const png = 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAusB9Wl2nWQAAAAASUVORK5CYII='
|
|
255
|
+
const pushVec = await fetch(`${BASE}/api/workshop/daq/${vecNode}/ingest`, {
|
|
256
|
+
method: 'POST',
|
|
257
|
+
headers: { 'content-type': 'application/json', 'x-aw-daq-token': INGEST_TOKEN },
|
|
258
|
+
body: JSON.stringify({ at: nowIso, points, metrics: { avg: 35.275, max: 35.45 } }),
|
|
259
|
+
}).then(r => r.json().catch(() => ({})))
|
|
260
|
+
const pushImg = await fetch(`${BASE}/api/workshop/daq/${imgNode}/ingest`, {
|
|
261
|
+
method: 'POST',
|
|
262
|
+
headers: { 'content-type': 'application/json', 'x-aw-daq-token': INGEST_TOKEN },
|
|
263
|
+
body: JSON.stringify({ at: nowIso, image: { base64: png, mime: 'image/png', width: 1, height: 1 }, metrics: { brightness: 128 } }),
|
|
264
|
+
}).then(r => r.json().catch(() => ({})))
|
|
265
|
+
ok('G6a', '外部 API 推送向量/图像被受理', pushVec?.data?.accepted === true && pushImg?.data?.accepted === true, JSON.stringify({ vec: pushVec?.data, img: pushImg?.data }).slice(0, 300))
|
|
266
|
+
await sleep(1200)
|
|
267
|
+
const fromMs = Date.parse(nowIso) - 5000
|
|
268
|
+
const toMs = Date.parse(nowIso) + 5000
|
|
269
|
+
const frames = data(await api('GET', `/api/workshop/daq/${vecNode}/frames?from=${fromMs}&to=${toMs}&limit=20`, undefined, token))?.frames ?? []
|
|
270
|
+
const hit = frames.find(f => Array.isArray(f.points) && f.points.length === points.length && f.points.every((v, i) => Math.abs(v - points[i]) < 1e-9))
|
|
271
|
+
ok('G6b', '数组样本落入 daq_frames 且点列完整', Boolean(hit), `frames=${frames.length}`)
|
|
272
|
+
const agentFrames = invText(await invoke(lead, 'daq_frames', { node_id: vecNode, include_points: true, point_limit: 16, last_minutes: 5 }, token))
|
|
273
|
+
ok('G6c', 'Agent daq_frames 在线读取数组(带模头点语义)', agentFrames.includes('35.1') && agentFrames.includes('模头点1') && agentFrames.includes('横向位置'), agentFrames.slice(0, 320))
|
|
274
|
+
const exportRes = await invoke(lead, 'daq_export', { node_ids: [vecNode], last_minutes: 5 }, token)
|
|
275
|
+
const exportText = invText(exportRes)
|
|
276
|
+
const exportDir = exportText.match(/目录:\s*([^\n]+)/)?.[1]?.trim() ?? ''
|
|
277
|
+
const daqManifest = exportDir && existsSync(join(exportDir, 'manifest.json')) ? JSON.parse(readFileSync(join(exportDir, 'manifest.json'), 'utf8')) : null
|
|
278
|
+
const vecMeta = daqManifest?.nodes?.find(n => n.id === vecNode)
|
|
279
|
+
ok('G6d', 'daq_export manifest/README 携带向量布局与逐点语义', Boolean(vecMeta?.vector?.axis) && existsSync(join(exportDir, 'README.md')) && readFileSync(join(exportDir, 'README.md'), 'utf8').includes('模头点'), exportText.slice(0, 280))
|
|
280
|
+
const imgFrames = data(await api('GET', `/api/workshop/daq/${imgNode}/frames?from=${fromMs}&to=${toMs}&limit=20`, undefined, token))?.frames ?? []
|
|
281
|
+
const imgHit = imgFrames.find(f => f.kind === 'image' && f.meta?.width === 1 && f.meta?.height === 1)
|
|
282
|
+
ok('G6e', '图像帧元数据入库(像素对象存储引用)', Boolean(imgHit?.meta?.objectKey), JSON.stringify(imgFrames.slice(0, 1)).slice(0, 300))
|
|
283
|
+
|
|
284
|
+
// ── G7 MES 字段字典 + 在线数组 + 导出目录 ──
|
|
285
|
+
const mesFrom = new Date(Date.now() - 30 * 60_000).toISOString()
|
|
286
|
+
const mesTo = new Date().toISOString()
|
|
287
|
+
const mesFetch = invText(await invoke(lead, 'mes_fetch', { ids: [mesNode], from: mesFrom, to: mesTo, max_rows: 50, include_data: true }, token))
|
|
288
|
+
ok('G7a', 'mes_fetch 返回字段字典(单位/物理意义/逐点)', mesFetch.includes('字段字典') && mesFetch.includes('膜厚') && mesFetch.includes('模头点1') && mesFetch.includes('um'), mesFetch.slice(0, 400))
|
|
289
|
+
ok('G7b', 'mes_fetch include_data 返回实际数组采样', /values=\[/.test(mesFetch) && /模头点\d+=/.test(mesFetch), mesFetch.slice(0, 500))
|
|
290
|
+
const mesExport = await invoke(lead, 'mes_export', {
|
|
291
|
+
ids: [mesNode], from: mesFrom, to: mesTo, max_rows: 1000,
|
|
292
|
+
folder: `line-${line}/${TAG}`, title: `MES导出-${TAG}`, note: '字段语义验收',
|
|
293
|
+
}, token)
|
|
294
|
+
const mesExportText = invText(mesExport)
|
|
295
|
+
const mesDir = mesExportText.match(/目录:\s*([^\n]+)/)?.[1]?.trim() ?? ''
|
|
296
|
+
const mesManifest = mesDir && existsSync(join(mesDir, 'manifest.json')) ? JSON.parse(readFileSync(join(mesDir, 'manifest.json'), 'utf8')) : null
|
|
297
|
+
const mesFields = mesManifest?.nodes?.[0]?.fields ?? []
|
|
298
|
+
ok('G7c', 'mes_export 落指定目录并生成 manifest/README', !invErr(mesExport) && Boolean(mesManifest) && existsSync(join(mesDir, 'README.md')), mesExportText.slice(0, 320))
|
|
299
|
+
ok('G7d', 'MES manifest 字段字典含单位与逐点语义', mesFields[0]?.unit === 'um' && mesFields[0]?.points?.length === 48 && mesFields[0]?.points?.[0]?.label === '模头点1', JSON.stringify(mesFields[0]).slice(0, 320))
|
|
300
|
+
// 导出目录结构: <dir>/<nodeId>/data.csv
|
|
301
|
+
const mesCsv2 = mesDir ? readFileSync(join(mesDir, mesNode, 'data.csv'), 'utf8').split(/\r?\n/) : []
|
|
302
|
+
ok('G7e', 'MES 向量宽表可离线读(v0..v47)', mesCsv2[0]?.startsWith('ts,v0,') === true && mesCsv2[1]?.split(',').length === 49, `${mesCsv2[0]?.slice(0, 80)}`)
|
|
303
|
+
// 在线镜像:大 max_rows 走异步 CSV 数据集,Agent 可读回(manifest 路径/字典)
|
|
304
|
+
const asyncFetch = await invoke(lead, 'mes_fetch', { ids: [mesNode], from: mesFrom, to: mesTo, max_rows: 3000 }, token)
|
|
305
|
+
let datasetList = ''
|
|
306
|
+
for (let i = 0; i < 20; i++) {
|
|
307
|
+
await sleep(500)
|
|
308
|
+
datasetList = invText(await invoke(lead, 'mes_datasets', { limit: 10 }, token))
|
|
309
|
+
if (/就绪\(/.test(datasetList)) break
|
|
310
|
+
}
|
|
311
|
+
ok('G7f', 'MES 异步数据集镜像完成(可读回)', /就绪\(/.test(datasetList) && /mesds-/.test(datasetList), `${invText(asyncFetch).slice(0, 160)} | ${datasetList.slice(0, 260)}`)
|
|
312
|
+
const catalogAfter = invText(await invoke(lead, 'mes_catalog', { line_id: line, q: 'MES膜厚' }, token))
|
|
313
|
+
ok('G7g', 'mes_catalog 复用响应字典显示字段标签/单位/点数', catalogAfter.includes('字段:') && catalogAfter.includes('膜厚') && catalogAfter.includes('48 点'), catalogAfter.slice(0, 320))
|
|
314
|
+
|
|
315
|
+
// ── G8 配方管理 UI:下发历史按钮/弹窗(浏览器实测) ──
|
|
316
|
+
const chrome = 'C:/Program Files/Google/Chrome/Application/chrome.exe'
|
|
317
|
+
if (existsSync(chrome)) {
|
|
318
|
+
const browser = await puppeteer.launch({ executablePath: chrome, headless: true, args: ['--no-sandbox', '--disable-dev-shm-usage'] })
|
|
319
|
+
try {
|
|
320
|
+
const page = await browser.newPage()
|
|
321
|
+
await page.setViewport({ width: 1440, height: 1000 })
|
|
322
|
+
await page.setCookie({ name: 'token', value: token, domain: '127.0.0.1', path: '/' })
|
|
323
|
+
await page.goto(`${BASE}/dcw/${line}`, { waitUntil: 'domcontentloaded', timeout: 90_000 })
|
|
324
|
+
await page.waitForFunction(() => document.body.innerText.includes('下发历史'), { timeout: 60_000 })
|
|
325
|
+
const clicked = await page.evaluate(() => {
|
|
326
|
+
const btn = [...document.querySelectorAll('button')].find(x => String(x.textContent ?? '').includes('下发历史'))
|
|
327
|
+
if (!btn) return false
|
|
328
|
+
btn.click()
|
|
329
|
+
return true
|
|
330
|
+
})
|
|
331
|
+
await sleep(1500)
|
|
332
|
+
const bodyText = await page.evaluate(() => document.body.innerText)
|
|
333
|
+
await page.screenshot({ path: join(ROOT, 'recipe-dispatch-history.png'), fullPage: true })
|
|
334
|
+
ok('G8', '配方管理 UI 下发历史弹窗可见(与 API 同源)', clicked && bodyText.includes('配方下发历史') && /配方下发|下发回执|开跑整批下发/.test(bodyText), bodyText.slice(0, 320))
|
|
335
|
+
}
|
|
336
|
+
finally {
|
|
337
|
+
await browser.close()
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
else {
|
|
341
|
+
ok('G8', '配方管理 UI 下发历史弹窗可见(与 API 同源)', false, `Chrome 不可用:${chrome}`)
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
catch (err) {
|
|
345
|
+
ok('FATAL', '脚本异常', false, err instanceof Error ? err.stack ?? err.message : String(err))
|
|
346
|
+
}
|
|
347
|
+
finally {
|
|
348
|
+
try {
|
|
349
|
+
child.kill()
|
|
350
|
+
}
|
|
351
|
+
catch { /* ignore */ }
|
|
352
|
+
try {
|
|
353
|
+
mesSim.kill()
|
|
354
|
+
}
|
|
355
|
+
catch { /* ignore */ }
|
|
356
|
+
await sleep(800)
|
|
357
|
+
const pass = results.filter(r => r.pass).length
|
|
358
|
+
console.log(`\n===== ${pass}/${results.length} PASS =====`)
|
|
359
|
+
for (const r of results.filter(x => !x.pass)) console.log(`FAIL [${r.id}] ${r.name} — ${r.detail}`)
|
|
360
|
+
process.exit(pass === results.length ? 0 : 1)
|
|
361
|
+
}
|
|
@@ -60,11 +60,17 @@ else {
|
|
|
60
60
|
}
|
|
61
61
|
if (!channelId) process.exit(1)
|
|
62
62
|
|
|
63
|
-
// ---------- 2. 团队级插件开关 ----------
|
|
64
|
-
const
|
|
63
|
+
// ---------- 2. 团队级插件开关(全量替换:未在配置中启用的已注册插件必须显式关闭) ----------
|
|
64
|
+
const wantedPlugins = new Set(Object.entries(cfg.plugins ?? {}).filter(([, en]) => en === true).map(([name]) => name))
|
|
65
|
+
const currentPlugins = await api('GET', `/api/workshop/channels/${channelId}/plugins`, undefined, tok)
|
|
66
|
+
const allPlugins = (currentPlugins?.data?.plugins ?? []).map(p => p.name)
|
|
67
|
+
const plugins = allPlugins.length > 0
|
|
68
|
+
? allPlugins.map(name => ({ name, enabled: wantedPlugins.has(name) }))
|
|
69
|
+
: [...wantedPlugins].map(name => ({ name, enabled: true }))
|
|
65
70
|
if (plugins.length) {
|
|
66
71
|
const j = await api('PUT', `/api/workshop/channels/${channelId}/plugins`, { plugins }, tok)
|
|
67
|
-
ok('插件开关', j.code === 0 || !!j.data,
|
|
72
|
+
ok('插件开关(未配置项显式关闭)', j.code === 0 || !!j.data,
|
|
73
|
+
j.message ?? `启用=${plugins.filter(p => p.enabled).map(p => p.name).join(',') || '无'};停用=${plugins.filter(p => !p.enabled).length}项`)
|
|
68
74
|
}
|
|
69
75
|
|
|
70
76
|
// ---------- 3. Agent 绑定(成员实例 id;权限模型 v2) ----------
|
|
@@ -116,6 +116,65 @@ const forgeRun = runScript('forge-channel.mjs', {
|
|
|
116
116
|
if (forgeRun.code !== 0) process.exit(1)
|
|
117
117
|
const chSummary = forgeRun.summary
|
|
118
118
|
|
|
119
|
+
// ---------- 阶段 3b:MES 直取可见面验证(历史-only 节点不在 V1 数采面,必须用真实 mes_fetch 证明) ----------
|
|
120
|
+
if (Array.isArray(ch.mesFetchGrants) && ch.mesFetchGrants.length > 0) {
|
|
121
|
+
const tok = await login()
|
|
122
|
+
const members = await api('GET', `/api/workshop/channels/${chSummary.channelId}/agents`, undefined, tok)
|
|
123
|
+
const agents = members.data ?? []
|
|
124
|
+
const workers = agents.filter(a => a.role === 'worker')
|
|
125
|
+
const resolveAgent = (role) => {
|
|
126
|
+
if (role === 'lead') return agents.find(a => a.role === 'lead')?.id ?? agents.find(a => a.role === 'lead')?.agentId
|
|
127
|
+
const idx = Number(String(role).split(':')[1] ?? 0)
|
|
128
|
+
return workers[idx]?.id ?? workers[idx]?.agentId
|
|
129
|
+
}
|
|
130
|
+
const from = new Date(Date.now() - 30 * 60_000).toISOString()
|
|
131
|
+
const to = new Date().toISOString()
|
|
132
|
+
for (const g of ch.mesFetchGrants) {
|
|
133
|
+
const agentId = resolveAgent(g.agentRole)
|
|
134
|
+
const ids = (g.nodeIds ?? []).map(n => prov.dcw[n] ?? n)
|
|
135
|
+
if (!agentId || ids.length === 0) {
|
|
136
|
+
ok(`阶段3b MES直取[${g.agentRole}]`, false, `agentId=${agentId} nodeIds=${ids.length}`)
|
|
137
|
+
continue
|
|
138
|
+
}
|
|
139
|
+
for (const id of ids) {
|
|
140
|
+
const nodeCfg = cfg.nodes.find(n => prov.dcw[n.name] === id)
|
|
141
|
+
const nodeName = nodeCfg?.name ?? id
|
|
142
|
+
let hm = {}
|
|
143
|
+
try {
|
|
144
|
+
hm = typeof nodeCfg?.driverConfig?.historyMap === 'string'
|
|
145
|
+
? JSON.parse(nodeCfg.driverConfig.historyMap)
|
|
146
|
+
: (nodeCfg?.driverConfig?.historyMap ?? {})
|
|
147
|
+
}
|
|
148
|
+
catch { /* 配置坏由 mes_fetch 自身报错 */ }
|
|
149
|
+
const format = String(hm?.response?.format ?? 'scalar')
|
|
150
|
+
const expectDict = Boolean(hm?.response?.dictionaryPath || nodeCfg?.driverConfig?.dictionary)
|
|
151
|
+
const expectedPoints = Number(g.expectedPoints ?? 0)
|
|
152
|
+
const r = await api('POST', '/api/workshop/agent-tools/invoke', {
|
|
153
|
+
agentId,
|
|
154
|
+
tool: 'mes_fetch',
|
|
155
|
+
args: { ids: [id], from, to, max_rows: 20, ...(format === 'vector' ? { include_data: true } : {}) },
|
|
156
|
+
}, tok)
|
|
157
|
+
const d = r?.data?.result ?? r?.data ?? {}
|
|
158
|
+
const text = String(d.text ?? '')
|
|
159
|
+
const rows = Number(/行数\s+(\d+)/.exec(text)?.[1] ?? 0)
|
|
160
|
+
const dimOk = format !== 'vector'
|
|
161
|
+
|| (expectedPoints > 0 ? new RegExp(`dim=${expectedPoints}(?!\\d)`).test(text) : /dim=\d+/.test(text))
|
|
162
|
+
const imageArtifactOk = format !== 'image' || /产物\(\d+(?:,[^)]*)?\):/.test(text)
|
|
163
|
+
const formatOk = format === 'vector'
|
|
164
|
+
? dimOk && /values=\[/.test(text)
|
|
165
|
+
: format === 'image'
|
|
166
|
+
? /格式 图像\(/.test(text) && imageArtifactOk
|
|
167
|
+
: format === 'table' || format === 'event'
|
|
168
|
+
? /格式 表格记录|格式 事件记录/.test(text)
|
|
169
|
+
: /格式 标量/.test(text) && /统计:/.test(text)
|
|
170
|
+
const dictOk = !expectDict || /字段字典\(\d+ 个字段/.test(text)
|
|
171
|
+
ok(`阶段3b MES直取[${nodeName}]`, d.isError !== true && rows > 0 && formatOk && dictOk,
|
|
172
|
+
`rows=${rows} dim=${dimOk} img=${imageArtifactOk} format=${formatOk} dict=${dictOk} | ${text.split('\n').slice(0, 2).join(' | ').slice(0, 140)}`)
|
|
173
|
+
await sleep(300)
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
119
178
|
// ---------- 阶段 4:V1-V6 验收(verify 配置自动推导) ----------
|
|
120
179
|
const verifyCfg = {
|
|
121
180
|
lineId: prov.lineId, recipeId: prov.recipeId, channelId: chSummary.channelId,
|
|
@@ -126,7 +185,14 @@ const verifyCfg = {
|
|
|
126
185
|
return { id, name: n.name, min: n.min, max: n.max, stepLimit: step, probeValue: probe }
|
|
127
186
|
}),
|
|
128
187
|
daq: cfg.nodes.filter(n => n.kind === 'daq').map(n => prov.daq[n.name]).filter(Boolean),
|
|
129
|
-
|
|
188
|
+
recipeParams: (cfg.recipe?.params ?? []).map(p => ({
|
|
189
|
+
nodeId: prov.dcw[p.node] ?? p.node,
|
|
190
|
+
value: p.value,
|
|
191
|
+
...(p.min != null ? { min: p.min } : {}),
|
|
192
|
+
...(p.max != null ? { max: p.max } : {}),
|
|
193
|
+
...(p.stepLimit != null ? { stepLimit: p.stepLimit } : {}),
|
|
194
|
+
})),
|
|
195
|
+
plugins: Object.entries(cfg.channel?.plugins ?? {}).filter(([, enabled]) => enabled === true).map(([name]) => name),
|
|
130
196
|
}
|
|
131
197
|
const verifyRun = runScript('verify-line.mjs', verifyCfg, '阶段4 V1-V6 验收')
|
|
132
198
|
if (verifyRun.code !== 0) {
|
|
@@ -144,29 +210,57 @@ if (smoke) {
|
|
|
144
210
|
const smokeParam = cfg.smoke?.param ?? Object.entries(prov.dcw).find(([k]) => k.includes('SP'))?.[0]
|
|
145
211
|
const node = (agg?.data?.nodes ?? []).find(n => n.id === prov.dcw[smokeParam])
|
|
146
212
|
const cur = Math.round(Number(node?.value ?? (node?.min + node?.max) / 2))
|
|
147
|
-
|
|
213
|
+
// 冒烟目标必须落在当前配方窗口内;当前值可能已被上一轮冒烟推到窗口上沿,
|
|
214
|
+
// 直接 cur+delta 会越窗(实测 47+2 > 48)。优先向窗内反向走,仍越界则夹到边界。
|
|
215
|
+
const smokeRp = (cfg.recipe?.params ?? []).find(p => p.node === smokeParam)
|
|
216
|
+
const lower = smokeRp?.min ?? node?.min ?? Number.NEGATIVE_INFINITY
|
|
217
|
+
const upper = smokeRp?.max ?? node?.max ?? Number.POSITIVE_INFINITY
|
|
218
|
+
let target = cur + Number(cfg.smoke?.delta ?? 1)
|
|
219
|
+
if (target > upper) target = cur - Number(cfg.smoke?.delta ?? 1)
|
|
220
|
+
target = Math.min(upper, Math.max(lower, target))
|
|
221
|
+
target = Math.round(target * 10) / 10
|
|
222
|
+
ok('冒烟目标在配方窗口内', target >= lower && target <= upper, `cur=${cur} target=${target} window=${lower}~${upper}`)
|
|
148
223
|
let okDispatch = false
|
|
149
224
|
let propTxt = ''
|
|
150
225
|
for (let attempt = 1; attempt <= 4 && !okDispatch; attempt++) {
|
|
151
226
|
const pkg = { name: `SM-冒烟步(${attempt})`, params: [{ node_id: node.id, to: target, basis: `投用冒烟(测试语义,自动裁决):${cur}→${target}(≤步限)`, exp_ref: 'onboard --smoke 自动 HITL' }] }
|
|
152
|
-
const
|
|
227
|
+
const smokeMarker = `SM-冒烟步(${attempt})`
|
|
228
|
+
const known = new Set((await api('GET', '/api/workshop/hitl/pending', undefined, tok))?.data?.items?.map(x => x.id) ?? [])
|
|
229
|
+
const propP = api('POST', '/api/workshop/agent-tools/invoke', { agentId: workerId, tool: 'recipe_propose', args: { recipe_id: prov.recipeId, packages: [pkg] } }, tok)
|
|
230
|
+
.then(r => r?.data?.result ?? { text: '' })
|
|
231
|
+
.catch(e => ({ text: `冒烟 invoke 失败:${e instanceof Error ? e.message : String(e)}` }))
|
|
153
232
|
let card = null
|
|
154
233
|
for (let i = 0; i < 60 && !card; i++) {
|
|
155
234
|
await sleep(2000)
|
|
156
235
|
const pend = await api('GET', '/api/workshop/hitl/pending', undefined, tok)
|
|
157
236
|
const items = pend?.data?.items ?? []
|
|
158
|
-
|
|
159
|
-
|
|
237
|
+
// 只批准本次冒烟新挂的单:必须是 invoke 前不存在、recipe-propose 且 detail 含本包名,
|
|
238
|
+
// 防 seed task/其他 Agent 并发提案被误批。
|
|
239
|
+
card = items.find(x => !known.has(x.id)
|
|
240
|
+
&& x.kind === 'dcw-approval'
|
|
241
|
+
&& /^recipe-propose:/.test(String(x.nodeId ?? ''))
|
|
242
|
+
&& String(x.detail ?? '').includes(smokeMarker)) ?? null
|
|
243
|
+
}
|
|
244
|
+
if (!card) {
|
|
245
|
+
ok(`冒烟闭环步(attempt ${attempt})`, false, '未出现本次 SM-冒烟步 的 recipe-propose 审批卡(拒绝批准他卡)')
|
|
246
|
+
break
|
|
160
247
|
}
|
|
161
|
-
|
|
248
|
+
await api('POST', '/api/workshop/hitl/respond', { kind: 'dcw-approval', id: card.id, confirmed: true, comment: `冒烟自动裁决(测试语义,attempt ${attempt})`, choice: 0 }, tok)
|
|
162
249
|
const prop = await propP
|
|
163
250
|
let txt = String(prop?.text ?? '')
|
|
164
251
|
const flying = /已有在飞方案审批单\((ap-[\w-]+)\)/.exec(txt)?.[1]
|
|
165
252
|
if (flying) {
|
|
166
|
-
await api('
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
253
|
+
const items = (await api('GET', '/api/workshop/hitl/pending', undefined, tok))?.data?.items ?? []
|
|
254
|
+
const flyingCard = items.find(x => x.id === flying && String(x.detail ?? '').includes(smokeMarker))
|
|
255
|
+
if (!flyingCard) {
|
|
256
|
+
txt = `在飞审批单 ${flying} 不属于本次冒烟,拒绝自动批准`
|
|
257
|
+
}
|
|
258
|
+
else {
|
|
259
|
+
await api('POST', '/api/workshop/hitl/respond', { kind: 'dcw-approval', id: flying, confirmed: true, comment: '冒烟:批准本方案在飞单', choice: 0 }, tok)
|
|
260
|
+
await sleep(5000)
|
|
261
|
+
const r2 = await api('POST', '/api/workshop/agent-tools/invoke', { agentId: workerId, tool: 'recipe_propose', args: { recipe_id: prov.recipeId, packages: [pkg] } }, tok)
|
|
262
|
+
txt = String(r2?.data?.result?.text ?? '')
|
|
263
|
+
}
|
|
170
264
|
}
|
|
171
265
|
propTxt = txt
|
|
172
266
|
okDispatch = /已获批准|已批准/.test(txt) && /设备证实/.test(txt) && !/失败|超时未批|未获批准/.test(txt)
|
|
@@ -93,20 +93,6 @@ if (cfg.allowSharedSignals !== true) {
|
|
|
93
93
|
for (const n of cfg.nodes ?? []) {
|
|
94
94
|
const pool = n.kind === 'daq' ? daqAll : dcwAll
|
|
95
95
|
const found = pool.find(x => x.lineId === lineId && x.name === n.name)
|
|
96
|
-
if (found) {
|
|
97
|
-
;(n.kind === 'daq' ? daqMap : dcwMap)[n.name] = found.id
|
|
98
|
-
ok(`节点复用[${n.name}]`, true, found.id)
|
|
99
|
-
// 量程漂移对齐(配置为权威):dcw 用 PATCH,daq 也走 PATCH
|
|
100
|
-
const drift = n.kind === 'daq'
|
|
101
|
-
? (found.min !== n.min || found.max !== n.max)
|
|
102
|
-
: (found.min !== n.min || found.max !== n.max || (n.stepLimit && found.stepLimit !== n.stepLimit))
|
|
103
|
-
if (drift) {
|
|
104
|
-
const p = await api('PATCH', `/api/workshop/${n.kind === 'daq' ? 'daq' : 'dcw'}/${found.id}`,
|
|
105
|
-
Object.fromEntries(Object.entries({ min: n.min, max: n.max, stepLimit: n.stepLimit }).filter(([, v]) => v !== undefined)), tok)
|
|
106
|
-
ok(`量程对齐[${n.name}]`, p.code === 0 || !!p.data, p.message ?? '')
|
|
107
|
-
}
|
|
108
|
-
continue
|
|
109
|
-
}
|
|
110
96
|
// mes-rest 映射面自动字符串化(2026-10-10 投用轮坑:readMap/writeMap/historyMap/headers
|
|
111
97
|
// 必须是 JSON 字符串存 driverConfig —— 输入面允许写对象,这里统一转换,消灭编码坑)
|
|
112
98
|
const driverConfig = { ...(n.driverConfig ?? {}) }
|
|
@@ -117,6 +103,33 @@ for (const n of cfg.nodes ?? []) {
|
|
|
117
103
|
}
|
|
118
104
|
}
|
|
119
105
|
}
|
|
106
|
+
if (found) {
|
|
107
|
+
;(n.kind === 'daq' ? daqMap : dcwMap)[n.name] = found.id
|
|
108
|
+
ok(`节点复用[${n.name}]`, true, found.id)
|
|
109
|
+
// 配置为权威:复用节点时对齐量程/步长/写入保持/采样节拍/单位/精度/driverConfig。
|
|
110
|
+
// 否则文档修正后重跑会静默保留旧寄存器或旧 hold 心跳,属于接入级逻辑漏洞。
|
|
111
|
+
const patch = {}
|
|
112
|
+
if (found.min !== n.min) patch.min = n.min
|
|
113
|
+
if (found.max !== n.max) patch.max = n.max
|
|
114
|
+
if (n.unit !== undefined && found.unit !== n.unit) patch.unit = n.unit
|
|
115
|
+
if (n.decimals !== undefined && found.decimals !== n.decimals) patch.decimals = n.decimals
|
|
116
|
+
if (n.warnLow !== undefined && found.warnLow !== n.warnLow) patch.warnLow = n.warnLow
|
|
117
|
+
if (n.warnHigh !== undefined && found.warnHigh !== n.warnHigh) patch.warnHigh = n.warnHigh
|
|
118
|
+
if (n.kind === 'dcw') {
|
|
119
|
+
if (n.stepLimit !== undefined && found.stepLimit !== n.stepLimit) patch.stepLimit = n.stepLimit
|
|
120
|
+
if (n.holdIntervalMs !== undefined && found.holdIntervalMs !== n.holdIntervalMs) patch.holdIntervalMs = n.holdIntervalMs
|
|
121
|
+
}
|
|
122
|
+
else if (n.intervalMs !== undefined && found.intervalMs !== n.intervalMs) {
|
|
123
|
+
patch.intervalMs = n.intervalMs
|
|
124
|
+
}
|
|
125
|
+
// driverConfig 以配置为权威;节点视图的 secretRef 可能是掩码,这里写回配置中的引用名(非 token)
|
|
126
|
+
if (n.driverConfig) patch.driverConfig = driverConfig
|
|
127
|
+
if (Object.keys(patch).length > 0) {
|
|
128
|
+
const p = await api('PATCH', `/api/workshop/${n.kind === 'daq' ? 'daq' : 'dcw'}/${found.id}`, patch, tok)
|
|
129
|
+
ok(`节点配置对齐[${n.name}]`, p.code === 0 || !!p.data, `${Object.keys(patch).join(',')} ${p.message ?? ''}`.slice(0, 120))
|
|
130
|
+
}
|
|
131
|
+
continue
|
|
132
|
+
}
|
|
120
133
|
const body = n.kind === 'daq'
|
|
121
134
|
? {
|
|
122
135
|
name: n.name, lineId, driver: n.driver, driverConfig,
|
|
@@ -149,6 +162,14 @@ if (cfg.recipe) {
|
|
|
149
162
|
if (found) {
|
|
150
163
|
recipeId = found.id
|
|
151
164
|
ok('配方复用', true, `${recipeId} v${found.version}`)
|
|
165
|
+
// 配置为权威:复用配方时对齐参数(节点/值/窗口/stepLimit);不因同名就静默保留旧基线
|
|
166
|
+
const brief = arr => JSON.stringify([...arr].map(p => ({
|
|
167
|
+
nodeId: p.nodeId, value: p.value, ...(p.min != null ? { min: p.min } : {}), ...(p.max != null ? { max: p.max } : {}), ...(p.stepLimit != null ? { stepLimit: p.stepLimit } : {}),
|
|
168
|
+
})).sort((a, b) => String(a.nodeId).localeCompare(String(b.nodeId))))
|
|
169
|
+
if (brief(found.params ?? []) !== brief(params)) {
|
|
170
|
+
const p = await api('PATCH', `/api/workshop/dcw/recipes/${recipeId}`, { params }, tok)
|
|
171
|
+
ok('配方参数对齐', p.code === 0 || !!p.data, p.message ?? '')
|
|
172
|
+
}
|
|
152
173
|
}
|
|
153
174
|
else {
|
|
154
175
|
// 产品:配方必须归属产品;缺省自动建一个"线名+默认产品"
|
|
@@ -172,7 +193,9 @@ if (cfg.recipe) {
|
|
|
172
193
|
// ---------- 4. 可选开跑(运行门语义;已在跑会 CONFLICT,视为通过) ----------
|
|
173
194
|
if (cfg.startLine && recipeId) {
|
|
174
195
|
const j = await api('POST', `/api/workshop/dcw/lines/${lineId}/start`, { recipeId }, tok)
|
|
175
|
-
|
|
196
|
+
if (j.code === 0) ok('开跑批次', true, j.data?.run?.id ?? '')
|
|
197
|
+
else if (j.code === 'CONFLICT') ok('开跑批次(已运行复用)', true, `批次保持运行:${String(j.message ?? '').slice(0, 100)}`)
|
|
198
|
+
else ok('开跑批次', false, j.message ?? String(j.code ?? ''))
|
|
176
199
|
}
|
|
177
200
|
|
|
178
201
|
console.log('\n' + JSON.stringify({ lineId, dcw: dcwMap, daq: daqMap, recipeId, reused }))
|