agentworkshop 0.7.66 → 0.7.71
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 +3611 -2488
- package/.env.example +3 -0
- package/.output/.AgentWorkShop/aml-python/__pycache__/amlkit.cpython-312.pyc +0 -0
- package/.output/.AgentWorkShop/aml-python/requirements.txt +3 -0
- package/.output/.AgentWorkShop/optimizer-python/probe.py +24 -0
- package/.output/.AgentWorkShop/optimizer-python/problems.py +347 -0
- package/.output/.AgentWorkShop/optimizer-python/worker.py +119 -0
- package/.output/.AgentWorkShop/prompts/host-tools.json +3611 -2488
- package/.output/.AgentWorkShop/schema.json +14 -5
- 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/2KE8xGVm.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/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/B6jtLy6z.js +21 -0
- package/.output/public/_nuxt/B7s2qeyT.js +14 -0
- package/.output/public/_nuxt/B8C-QJB5.js +1 -0
- package/.output/public/_nuxt/B8N8nsad2.js +2 -0
- package/.output/public/_nuxt/B8cViLJT.js +1 -0
- package/.output/public/_nuxt/BAcjVcku2.js +1 -0
- package/.output/public/_nuxt/BBw9ylUY2.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/BO0BJx3w.js +8 -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/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/Bcs9zzO62.js +1 -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/BnNmkGJS2.js +36 -0
- package/.output/public/_nuxt/Bnc8HELj2.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/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/DBtXLkyA.js +1 -0
- package/.output/public/_nuxt/DD-r0S1p.js +1 -0
- package/.output/public/_nuxt/DF32f5EL2.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/DPvZxAt02.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/DbeNMehP.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/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/LHIav-Kv.js +1 -0
- package/.output/public/_nuxt/MDhaRQq_.js +1 -0
- package/.output/public/_nuxt/NXY37IO62.js +1 -0
- package/.output/public/_nuxt/Rt2i6k7C2.js +1 -0
- package/.output/public/_nuxt/RuMLNeQE.js +1 -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.Bo35UR0e.css +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/0ae8cb0f-6ce5-4096-9692-9b1fc197b30d.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.jRO2K9JI.css +1 -0
- package/.output/public/_nuxt/dcw.n8O0ptzV.css +1 -0
- package/.output/public/_nuxt/default.BzOcvmSE.css +1 -0
- package/.output/public/_nuxt/dq1HKoGD.js +1 -0
- package/.output/public/_nuxt/entry.CL2i0F8o.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/optimizer.B8gCbU1b.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.CjmUr8P7.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/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/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/_/access.mjs +165 -0
- package/.output/server/chunks/_/access.mjs.map +1 -0
- package/.output/server/chunks/_/binding-authz.mjs +1 -1
- package/.output/server/chunks/_/catalog-view.mjs +177 -0
- package/.output/server/chunks/_/catalog-view.mjs.map +1 -0
- package/.output/server/chunks/_/character-asset.repo.mjs +1 -1
- 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/_/dataset-reader.mjs +61 -0
- package/.output/server/chunks/_/dataset-reader.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 +163 -0
- package/.output/server/chunks/_/eda-run.repo.mjs.map +1 -0
- package/.output/server/chunks/_/entity.mjs +1 -1
- package/.output/server/chunks/_/features.mjs +282 -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 +2 -1
- package/.output/server/chunks/_/host-bindings.mjs.map +1 -1
- package/.output/server/chunks/_/index.mjs +583 -0
- package/.output/server/chunks/_/index.mjs.map +1 -0
- 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 +15817 -7728
- 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/_/rest-auth.mjs +44 -0
- package/.output/server/chunks/_/rest-auth.mjs.map +1 -0
- package/.output/server/chunks/_/scene-layout.repo.mjs +1 -1
- package/.output/server/chunks/_/spc.mjs +300 -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 +392 -0
- package/.output/server/chunks/build/_id_-BK-t8nRG.mjs.map +1 -0
- package/.output/server/chunks/build/_id_-CZPlPDm4.mjs +2045 -0
- package/.output/server/chunks/build/_id_-CZPlPDm4.mjs.map +1 -0
- package/.output/server/chunks/build/_wsId_-BNKrrV1H.mjs +14297 -0
- package/.output/server/chunks/build/_wsId_-BNKrrV1H.mjs.map +1 -0
- package/.output/server/chunks/build/agents-8tV9xL97.mjs +1078 -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 +811 -0
- package/.output/server/chunks/build/aml-BNTEDOsl.mjs.map +1 -0
- package/.output/server/chunks/build/analysis-p-dBkjoK.mjs +533 -0
- package/.output/server/chunks/build/analysis-p-dBkjoK.mjs.map +1 -0
- package/.output/server/chunks/build/api-B4Om0mEc.mjs +1 -0
- package/.output/server/chunks/build/api-B4Om0mEc.mjs.map +1 -1
- package/.output/server/chunks/build/api-BsAgXWxi.mjs +72 -0
- package/.output/server/chunks/build/api-BsAgXWxi.mjs.map +1 -0
- package/.output/server/chunks/build/board-Dl2Ar22r.mjs +178 -0
- package/.output/server/chunks/build/board-Dl2Ar22r.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 +942 -0
- package/.output/server/chunks/build/channel-templates-Iot9Y3vV.mjs.map +1 -0
- package/.output/server/chunks/build/chart-trend-BWeZh5Lv.mjs +117 -0
- package/.output/server/chunks/build/chart-trend-BWeZh5Lv.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/constants-HPHJvjne.mjs +1 -0
- package/.output/server/chunks/build/constants-HPHJvjne.mjs.map +1 -1
- package/.output/server/chunks/build/daq-CdxcfY_G.mjs +1266 -0
- package/.output/server/chunks/build/daq-CdxcfY_G.mjs.map +1 -0
- package/.output/server/chunks/build/data-D8uX1dnm.mjs +481 -0
- package/.output/server/chunks/build/data-D8uX1dnm.mjs.map +1 -0
- package/.output/server/chunks/build/dcw-BlDQtS4q.mjs +505 -0
- package/.output/server/chunks/build/dcw-BlDQtS4q.mjs.map +1 -0
- package/.output/server/chunks/build/default-BeB88U7y.mjs +2347 -0
- package/.output/server/chunks/build/default-BeB88U7y.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 +43 -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 +427 -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 +2253 -0
- package/.output/server/chunks/build/monitor-DvaR3yo8.mjs.map +1 -0
- package/.output/server/chunks/build/operations-Cl8nVm9D.mjs +311 -0
- package/.output/server/chunks/build/operations-Cl8nVm9D.mjs.map +1 -0
- package/.output/server/chunks/build/optimizer-BOtGWEtc.mjs +200 -0
- package/.output/server/chunks/build/optimizer-BOtGWEtc.mjs.map +1 -0
- package/.output/server/chunks/build/pages-AFRP4-EL.mjs +542 -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 +637 -0
- package/.output/server/chunks/build/permissions-CVTfixZj.mjs.map +1 -0
- package/.output/server/chunks/build/plugins-LRjaSEZy.mjs +272 -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 +7172 -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 +1014 -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-cdoNCfyy.mjs +332 -0
- package/.output/server/chunks/build/studio-cdoNCfyy.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 +1203 -0
- package/.output/server/chunks/build/teams-B2J6ouRY.mjs.map +1 -0
- package/.output/server/chunks/build/tokens-DFQGaN2n.mjs +1062 -0
- package/.output/server/chunks/build/tokens-DFQGaN2n.mjs.map +1 -0
- package/.output/server/chunks/build/tools-DWJFnU_t.mjs +487 -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 +133 -0
- package/.output/server/chunks/build/town-B5aoiG98.mjs.map +1 -0
- package/.output/server/chunks/build/town-BV-hbwb5.mjs +2 -1
- package/.output/server/chunks/build/town-BV-hbwb5.mjs.map +1 -1
- package/.output/server/chunks/build/types-D6J7slEa.mjs +1 -1
- package/.output/server/chunks/build/types-DWqIeMRP.mjs +1 -0
- package/.output/server/chunks/build/types-DWqIeMRP.mjs.map +1 -1
- package/.output/server/chunks/build/useAgentHarnessOptions-DOrQHeBh.mjs +124 -0
- package/.output/server/chunks/build/useAgentHarnessOptions-DOrQHeBh.mjs.map +1 -0
- package/.output/server/chunks/build/useAgentTemplateActions-CzlplRWh.mjs +77 -0
- package/.output/server/chunks/build/useAgentTemplateActions-CzlplRWh.mjs.map +1 -0
- package/.output/server/chunks/build/useAgentTemplateDialogState-CZzpu5og.mjs +1 -0
- package/.output/server/chunks/build/useAgentTemplateDialogState-CZzpu5og.mjs.map +1 -1
- package/.output/server/chunks/build/useAgentTemplateForm-DQo1enf2.mjs +117 -0
- package/.output/server/chunks/build/useAgentTemplateForm-DQo1enf2.mjs.map +1 -0
- package/.output/server/chunks/build/useAgentTemplatesCatalog-DP-iMmqz.mjs +133 -0
- package/.output/server/chunks/build/useAgentTemplatesCatalog-DP-iMmqz.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlDatasets-DeoE1idn.mjs +1 -0
- package/.output/server/chunks/build/useAmlDatasets-DeoE1idn.mjs.map +1 -1
- package/.output/server/chunks/build/useAmlEntities-BJhvdqHJ.mjs +86 -0
- package/.output/server/chunks/build/useAmlEntities-BJhvdqHJ.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlEnv-CDIZ6xTe.mjs +194 -0
- package/.output/server/chunks/build/useAmlEnv-CDIZ6xTe.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlExperiments-Dloi834i.mjs +1 -0
- package/.output/server/chunks/build/useAmlExperiments-Dloi834i.mjs.map +1 -1
- package/.output/server/chunks/build/useAmlFormat-C2sl3MGB.mjs +1 -0
- package/.output/server/chunks/build/useAmlFormat-C2sl3MGB.mjs.map +1 -1
- package/.output/server/chunks/build/useAmlJobs-BF9LpwXz.mjs +267 -0
- package/.output/server/chunks/build/useAmlJobs-BF9LpwXz.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlModels-_bweOr3R.mjs +93 -0
- package/.output/server/chunks/build/useAmlModels-_bweOr3R.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlNotes-DQj980iX.mjs +86 -0
- package/.output/server/chunks/build/useAmlNotes-DQj980iX.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlPredict-DHNgDSJn.mjs +130 -0
- package/.output/server/chunks/build/useAmlPredict-DHNgDSJn.mjs.map +1 -0
- package/.output/server/chunks/build/useAnalysisFeed-BrEGV_9x.mjs +129 -0
- package/.output/server/chunks/build/useAnalysisFeed-BrEGV_9x.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqAddNode-D_Rkju0f.mjs +142 -0
- package/.output/server/chunks/build/useDaqAddNode-D_Rkju0f.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqDetailBinding-DCWaLKXT.mjs +70 -0
- package/.output/server/chunks/build/useDaqDetailBinding-DCWaLKXT.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqDetailFrames-BOIcOJRB.mjs +79 -0
- package/.output/server/chunks/build/useDaqDetailFrames-BOIcOJRB.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqDetailHistory-D6WulPVs.mjs +176 -0
- package/.output/server/chunks/build/useDaqDetailHistory-D6WulPVs.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqDetailNode-DeOsDxK5.mjs +99 -0
- package/.output/server/chunks/build/useDaqDetailNode-DeOsDxK5.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqDetailParams-Cm9a9r5G.mjs +159 -0
- package/.output/server/chunks/build/useDaqDetailParams-Cm9a9r5G.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqFilters-CctmO03p.mjs +222 -0
- package/.output/server/chunks/build/useDaqFilters-CctmO03p.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqNodeWindow-1DWj2H5G.mjs +1 -0
- package/.output/server/chunks/build/useDaqNodeWindow-1DWj2H5G.mjs.map +1 -1
- package/.output/server/chunks/build/useDaqOptimizations-CmX_dpBc.mjs +136 -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 +187 -0
- package/.output/server/chunks/build/useDaqTemplates-CK37sMfi.mjs.map +1 -0
- package/.output/server/chunks/build/useDashboardCharts-D45083s_.mjs +1 -0
- package/.output/server/chunks/build/useDashboardCharts-D45083s_.mjs.map +1 -1
- package/.output/server/chunks/build/useDashboardData-B36wVWo2.mjs +153 -0
- package/.output/server/chunks/build/useDashboardData-B36wVWo2.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwAddNode-DACVcEHs.mjs +219 -0
- package/.output/server/chunks/build/useDcwAddNode-DACVcEHs.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwCards-SaiImIYQ.mjs +67 -0
- package/.output/server/chunks/build/useDcwCards-SaiImIYQ.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwDetailScope-DLOklSMO.mjs +184 -0
- package/.output/server/chunks/build/useDcwDetailScope-DLOklSMO.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwDetailTemplates-ClmIdZ40.mjs +148 -0
- package/.output/server/chunks/build/useDcwDetailTemplates-ClmIdZ40.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwFilter-CPMyCltx.mjs +71 -0
- package/.output/server/chunks/build/useDcwFilter-CPMyCltx.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwLedger-0ie-0WTc.mjs +79 -0
- package/.output/server/chunks/build/useDcwLedger-0ie-0WTc.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwLineMutations-DNxo66yM.mjs +137 -0
- package/.output/server/chunks/build/useDcwLineMutations-DNxo66yM.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwLineRun-CHskwscT.mjs +104 -0
- package/.output/server/chunks/build/useDcwLineRun-CHskwscT.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwParamApprovals-DtScUc-W.mjs +121 -0
- package/.output/server/chunks/build/useDcwParamApprovals-DtScUc-W.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwProducts-BMaxzLu6.mjs +93 -0
- package/.output/server/chunks/build/useDcwProducts-BMaxzLu6.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwQuery-TVU3Eo0M.mjs +98 -0
- package/.output/server/chunks/build/useDcwQuery-TVU3Eo0M.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwQuickActions-BREFmR9T.mjs +88 -0
- package/.output/server/chunks/build/useDcwQuickActions-BREFmR9T.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwRecipes-Bc9urA1N.mjs +258 -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 +91 -0
- package/.output/server/chunks/build/useDcwTemplates-BzagZztS.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwWrites-BROwTLCn.mjs +140 -0
- package/.output/server/chunks/build/useDcwWrites-BROwTLCn.mjs.map +1 -0
- package/.output/server/chunks/build/useExpConfirmations-BM626N4p.mjs +107 -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/useLogsFormat-B-o4MHy7.mjs +1 -0
- package/.output/server/chunks/build/useLogsFormat-B-o4MHy7.mjs.map +1 -1
- package/.output/server/chunks/build/useLogsManual-cVBZQ_Mt.mjs +88 -0
- package/.output/server/chunks/build/useLogsManual-cVBZQ_Mt.mjs.map +1 -0
- package/.output/server/chunks/build/useLogsQuery-D7hrJ3yn.mjs +150 -0
- package/.output/server/chunks/build/useLogsQuery-D7hrJ3yn.mjs.map +1 -0
- package/.output/server/chunks/build/useLogsScope-aaPQeTRm.mjs +83 -0
- package/.output/server/chunks/build/useLogsScope-aaPQeTRm.mjs.map +1 -0
- package/.output/server/chunks/build/useMonitorColumns-vVnt3r5Q.mjs +217 -0
- package/.output/server/chunks/build/useMonitorColumns-vVnt3r5Q.mjs.map +1 -0
- package/.output/server/chunks/build/useMonitorData-DIkiLr_h.mjs +135 -0
- package/.output/server/chunks/build/useMonitorData-DIkiLr_h.mjs.map +1 -0
- package/.output/server/chunks/build/useMonitorFormat-CyURtH8N.mjs +91 -0
- package/.output/server/chunks/build/useMonitorFormat-CyURtH8N.mjs.map +1 -0
- package/.output/server/chunks/build/useMonitorTerminal-Dj4QwRNW.mjs +1 -0
- package/.output/server/chunks/build/useMonitorTerminal-Dj4QwRNW.mjs.map +1 -1
- package/.output/server/chunks/build/useOperationsFeed-Ci4mZAn_.mjs +195 -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 +156 -0
- package/.output/server/chunks/build/useRecipeDispatchApprovals-BYtiqfeb.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamActions-I_8QWp9w.mjs +79 -0
- package/.output/server/chunks/build/useTeamActions-I_8QWp9w.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamAddMemberDialog-BLn4nTuy.mjs +84 -0
- package/.output/server/chunks/build/useTeamAddMemberDialog-BLn4nTuy.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamCreateDialog-Bp5qKtpI.mjs +97 -0
- package/.output/server/chunks/build/useTeamCreateDialog-Bp5qKtpI.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamDeployDialog-DwIaz6Cx.mjs +80 -0
- package/.output/server/chunks/build/useTeamDeployDialog-DwIaz6Cx.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamDialogState-CFRUQxAf.mjs +1 -0
- package/.output/server/chunks/build/useTeamDialogState-CFRUQxAf.mjs.map +1 -1
- package/.output/server/chunks/build/useTeamPluginDialog-B932gZOI.mjs +103 -0
- package/.output/server/chunks/build/useTeamPluginDialog-B932gZOI.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamsCatalog-DBwaLQBw.mjs +123 -0
- package/.output/server/chunks/build/useTeamsCatalog-DBwaLQBw.mjs.map +1 -0
- package/.output/server/chunks/build/useTokenClipboard-CwQpoFeP.mjs +1 -0
- package/.output/server/chunks/build/useTokenClipboard-CwQpoFeP.mjs.map +1 -1
- package/.output/server/chunks/build/useTokenCreate-Ctl0YGhL.mjs +115 -0
- package/.output/server/chunks/build/useTokenCreate-Ctl0YGhL.mjs.map +1 -0
- package/.output/server/chunks/build/useTokenRename-Cm3ypSfN.mjs +87 -0
- package/.output/server/chunks/build/useTokenRename-Cm3ypSfN.mjs.map +1 -0
- package/.output/server/chunks/build/useTokenReveal-CeoWL5Mt.mjs +118 -0
- package/.output/server/chunks/build/useTokenReveal-CeoWL5Mt.mjs.map +1 -0
- package/.output/server/chunks/build/useTokensList-CNIzON3u.mjs +92 -0
- package/.output/server/chunks/build/useTokensList-CNIzON3u.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkbenchAuth-CY-bVFMu.mjs +141 -0
- package/.output/server/chunks/build/useWorkbenchAuth-CY-bVFMu.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkbenchWorkspaces-DhZQFss9.mjs +138 -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/useWorkspaceAuth-Dlvj9csD.mjs +1 -0
- package/.output/server/chunks/build/useWorkspaceAuth-Dlvj9csD.mjs.map +1 -1
- package/.output/server/chunks/build/useWorkspaceChannels-CPFepxTN.mjs +92 -0
- package/.output/server/chunks/build/useWorkspaceChannels-CPFepxTN.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkspacePanels-CTwREmq0.mjs +1 -0
- package/.output/server/chunks/build/useWorkspacePanels-CTwREmq0.mjs.map +1 -1
- package/.output/server/chunks/build/useWorkspaceShell-BCypjjjE.mjs +1 -0
- package/.output/server/chunks/build/useWorkspaceShell-BCypjjjE.mjs.map +1 -1
- package/.output/server/chunks/build/users-BWw0VCr9.mjs +569 -0
- package/.output/server/chunks/build/users-BWw0VCr9.mjs.map +1 -0
- package/.output/server/chunks/build/workshop-1gKeDASV.mjs +546 -0
- package/.output/server/chunks/build/workshop-1gKeDASV.mjs.map +1 -0
- package/.output/server/chunks/routes/api/health.get.mjs +1 -0
- package/.output/server/chunks/routes/api/health.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/index.get.mjs +1 -0
- package/.output/server/chunks/routes/api/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/index.post.mjs +1 -0
- package/.output/server/chunks/routes/api/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/mcp/workshop.mjs +32 -9
- package/.output/server/chunks/routes/api/mcp/workshop.mjs.map +1 -1
- package/.output/server/chunks/routes/api/metrics.mjs +1 -0
- package/.output/server/chunks/routes/api/metrics.mjs.map +1 -1
- package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs +1 -0
- package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs.map +1 -1
- package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs +1 -0
- package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/plugins/i18n.get.mjs +1 -0
- package/.output/server/chunks/routes/api/plugins/i18n.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/plugins/manifest.get.mjs +1 -0
- package/.output/server/chunks/routes/api/plugins/manifest.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/backup/list.get.mjs +1 -0
- package/.output/server/chunks/routes/api/system/backup/list.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/backup/run.post.mjs +3 -2
- package/.output/server/chunks/routes/api/system/backup/run.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/config-groups/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/system/config-groups/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/config-groups/_id_.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/system/config-groups/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/config.get.mjs +1 -0
- package/.output/server/chunks/routes/api/system/config.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/index.get.mjs +1 -0
- package/.output/server/chunks/routes/api/system/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/index.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/system/index.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/index.post.mjs +1 -0
- package/.output/server/chunks/routes/api/system/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/index2.get.mjs +1 -0
- package/.output/server/chunks/routes/api/system/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs +1 -0
- package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs +1 -0
- package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/monitor.get.mjs +1 -0
- package/.output/server/chunks/routes/api/system/monitor.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/settings/events.get.mjs +1 -0
- package/.output/server/chunks/routes/api/system/settings/events.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/settings/reset.post.mjs +1 -0
- package/.output/server/chunks/routes/api/system/settings/reset.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/timezone.get.mjs +1 -0
- package/.output/server/chunks/routes/api/system/timezone.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/users/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/_id_.get.mjs +1 -0
- package/.output/server/chunks/routes/api/users/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/_id_.put.mjs +1 -0
- package/.output/server/chunks/routes/api/users/_id_.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/change-password.post.mjs +1 -0
- package/.output/server/chunks/routes/api/users/change-password.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/index.get.mjs +1 -0
- package/.output/server/chunks/routes/api/users/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/index.post.mjs +1 -0
- package/.output/server/chunks/routes/api/users/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/login.post.mjs +1 -0
- package/.output/server/chunks/routes/api/users/login.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/logout.post.mjs +1 -0
- package/.output/server/chunks/routes/api/users/logout.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/me.get.mjs +1 -0
- package/.output/server/chunks/routes/api/users/me.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/register.post.mjs +1 -0
- package/.output/server/chunks/routes/api/users/register.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/setup-status.get.mjs +1 -0
- package/.output/server/chunks/routes/api/users/setup-status.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs +1 -0
- package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/_...path_.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/_...path_.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs +34 -3
- package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs +3 -2
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/grant.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/grant.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/revoke.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/revoke.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/list.get.mjs +51 -15
- package/.output/server/chunks/routes/api/workshop/agent-tools/list.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id/preview.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id/preview.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/entities/prune.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/entities/prune.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/env/recheck.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/env/recheck.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/env/uv.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/env/uv.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/env/venv.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/env/venv.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/index.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/index2.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/index2.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/index2.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/index3.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/index3.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/index3.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/index3.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/index4.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/index4.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/index5.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/index5.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/index6.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/index6.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/index7.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/index7.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/cancel.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/cancel.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/logs.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/logs.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/retry.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/retry.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/models/_id/predict.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/models/_id/predict.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/models/_id/promote.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/models/_id/promote.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/models/_id_.delete.mjs +3 -1
- package/.output/server/chunks/routes/api/workshop/aml/models/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/models/_id_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/models/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id/train.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id/train.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/twin/providers.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/twin/providers.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/audit.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/audit.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/caller.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/caller.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +3 -2
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/rotate-token.post.mjs +57 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/rotate-token.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/messages/_messageId/read.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/messages/_messageId/read.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/permissions.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/permissions.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.put.mjs +110 -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/index3.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs +36 -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/line.put.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/line.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId/approve.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId/approve.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/leave.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/leave.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/tools/reset.post.mjs +53 -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 +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels.post.mjs +8 -7
- package/.output/server/chunks/routes/api/workshop/channels.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/frames/content.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/frames/content.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/frames.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/frames.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs +187 -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 +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/export/_id_.get.mjs +37 -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 +45 -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 +36 -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 +30 -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 +35 -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 +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/query.get.mjs +55 -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 +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +16 -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 +16 -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 +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +18 -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 +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index7.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index7.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs +18 -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 +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-artifacts/file.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-hook-test.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-hook-test.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-test-read.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-test-read.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +5 -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 +17 -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/revert.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/revert.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +17 -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/versions.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/versions.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +18 -3
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/index.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/index.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.delete.mjs +43 -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 +37 -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 +53 -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 +123 -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 +43 -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 +38 -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 +49 -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 +35 -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 +46 -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 +43 -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 +42 -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 +38 -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 +40 -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 +52 -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 +50 -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 +46 -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 +48 -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 +139 -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 +48 -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 +49 -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 +35 -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 +48 -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 +54 -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 +47 -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 +35 -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 +48 -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 +59 -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 +54 -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 +43 -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 +50 -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 +36 -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 +37 -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 +46 -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 +104 -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 +2 -1
- package/.output/server/chunks/routes/api/workshop/exp/confirmations/_id/decide.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/exp/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/exp/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index.put.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/index.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index10.get.mjs +32 -14
- package/.output/server/chunks/routes/api/workshop/index10.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index11.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/index11.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index12.get.mjs +21 -2
- package/.output/server/chunks/routes/api/workshop/index12.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index13.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/index13.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index14.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/index14.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index15.get.mjs +6 -4
- package/.output/server/chunks/routes/api/workshop/index15.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index16.get.mjs +31 -0
- package/.output/server/chunks/routes/api/workshop/index16.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index2.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index2.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/index2.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index3.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/index3.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index3.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/index3.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index4.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/index4.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index4.post.mjs +15 -3
- package/.output/server/chunks/routes/api/workshop/index4.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index5.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/index5.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index5.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/index5.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index6.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/index6.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index6.post.mjs +27 -5
- package/.output/server/chunks/routes/api/workshop/index6.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index7.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/index7.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index7.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/index7.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index8.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/index8.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index9.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/index9.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index9.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/index9.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/mes/datasets.get.mjs +73 -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 +33 -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 +43 -0
- package/.output/server/chunks/routes/api/workshop/mes/preview.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/bindings/_id_.delete.mjs +35 -0
- package/.output/server/chunks/routes/api/workshop/optimization/bindings/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/optimization/capabilities.get.mjs +38 -0
- package/.output/server/chunks/routes/api/workshop/optimization/capabilities.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/optimization/index.get.mjs +58 -0
- package/.output/server/chunks/routes/api/workshop/optimization/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/optimization/index.mjs +66 -0
- package/.output/server/chunks/routes/api/workshop/optimization/index.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/optimization/index2.mjs +60 -0
- package/.output/server/chunks/routes/api/workshop/optimization/index2.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/optimization/profiles/_id/publish.post.mjs +61 -0
- package/.output/server/chunks/routes/api/workshop/optimization/profiles/_id/publish.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/crosscheck.post.mjs +52 -0
- package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/crosscheck.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/dispatch.post.mjs +52 -0
- package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/dispatch.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/optimization/solve.post.mjs +41 -0
- package/.output/server/chunks/routes/api/workshop/optimization/solve.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/process-model/datasets.post.mjs +167 -0
- package/.output/server/chunks/routes/api/workshop/process-model/datasets.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/process-model/eligibility.mjs +122 -0
- package/.output/server/chunks/routes/api/workshop/process-model/eligibility.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/process-model/experiments.mjs +119 -0
- package/.output/server/chunks/routes/api/workshop/process-model/experiments.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/process-model/index.mjs +55 -0
- package/.output/server/chunks/routes/api/workshop/process-model/index.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/process-model/specs/_id/publish.post.mjs +48 -0
- package/.output/server/chunks/routes/api/workshop/process-model/specs/_id/publish.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/process-model/train.post.mjs +58 -0
- package/.output/server/chunks/routes/api/workshop/process-model/train.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/runtime.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/runtime.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/schedules/_id/run.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/schedules/_id/run.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/schedules/_id/runs.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/schedules/_id/runs.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/reassign.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/reassign.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/reopen.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/reopen.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tools/_name_.get.mjs +36 -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 +31 -0
- package/.output/server/chunks/routes/api/workshop/tools/sync.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/users/me.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/users/me.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/users/register.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/users/register.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +3 -2
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +3 -3
- package/.output/server/chunks/virtual/entry.mjs +1760 -1055
- package/.output/server/chunks/virtual/entry.mjs.map +1 -1
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/index.mjs +1 -0
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/package.json +1 -1
- package/README-zh.md +955 -948
- package/README.md +981 -972
- package/app/assets/css/main.css +346 -197
- package/app/components/AppHeader.vue +294 -284
- package/app/components/AppSidebar.vue +16 -18
- package/app/components/AwChart.vue +29 -3
- 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/event-blocks/constants.ts +99 -94
- package/app/composables/workshop/operation-events.ts +1 -1
- package/app/composables/workshop/useLocalTime.ts +5 -2
- package/app/composables/workshop/useOpsLog.ts +13 -2
- package/app/composables/workshop/useWorkshopApi.ts +68 -1
- 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/optimizer/api.ts +21 -0
- package/app/pages/optimizer/index.vue +669 -0
- package/app/pages/plugins/index.vue +347 -318
- package/app/pages/settings.vue +170 -168
- package/app/pages/studio/board.vue +388 -0
- package/app/pages/studio/index.vue +828 -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/utils/chart-trend.ts +97 -0
- package/cli/commands/plugin.mjs +322 -246
- package/config.yml +193 -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 +353 -14
- package/i18n/locales/zh-CN.ts +352 -14
- package/nuxt.config.ts +14 -0
- package/package.json +187 -181
- package/scripts/_audit/eda-ui-fix-acceptance.mjs +212 -0
- package/scripts/_i18n-verify-keys.mjs +52 -50
- package/scripts/acceptance-optimizer-process-model.mjs +9 -0
- package/scripts/acceptance-optimizer-process-model.ts +863 -0
- package/scripts/agent-binding-matrix-e2e.mjs +240 -0
- 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/e2e-optimizer-live.mjs +1342 -0
- package/scripts/e2e-optimizer-plc.mjs +222 -0
- package/scripts/e2e-optimizer-restart.mjs +125 -0
- package/scripts/e2e-plc-excite.mjs +75 -0
- package/scripts/e2e-simulator-optimizer.mjs +262 -0
- package/scripts/e2e-tool-surface-multiagent.mjs +353 -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/idd-rag-aml-regression.mjs +348 -0
- package/scripts/idd-rag-aml-ui-demo.mjs +93 -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/run-quality-gates.mjs +58 -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-references-migrate.ts +82 -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/scripts/ui/optimizer-ui-playwright.py +152 -0
- package/scripts/ui/system-e2e-playwright.py +460 -0
- package/sdk/client.mjs +8 -1
- package/sdk/context.mjs +32 -4
- 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/mcp/workshop.ts +37 -10
- package/server/api/workshop/agent-tools/approvals/[id]/decide.post.ts +124 -90
- package/server/api/workshop/agent-tools/bindings/[id].delete.ts +3 -3
- package/server/api/workshop/agent-tools/list.get.ts +60 -15
- package/server/api/workshop/aml/models/[id].delete.ts +38 -35
- package/server/api/workshop/channels/[id]/agents/[agentId]/rotate-token.post.ts +45 -0
- 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 +192 -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/optimization/bindings/[id].delete.ts +12 -0
- package/server/api/workshop/optimization/bindings/index.ts +47 -0
- package/server/api/workshop/optimization/capabilities.get.ts +19 -0
- package/server/api/workshop/optimization/profiles/[id]/publish.post.ts +41 -0
- package/server/api/workshop/optimization/profiles/index.ts +41 -0
- package/server/api/workshop/optimization/recommendations/[id]/crosscheck.post.ts +29 -0
- package/server/api/workshop/optimization/recommendations/[id]/dispatch.post.ts +33 -0
- package/server/api/workshop/optimization/runs/index.get.ts +41 -0
- package/server/api/workshop/optimization/solve.post.ts +23 -0
- package/server/api/workshop/plugins/index.get.ts +36 -17
- package/server/api/workshop/process-model/datasets.post.ts +26 -0
- package/server/api/workshop/process-model/eligibility.ts +40 -0
- package/server/api/workshop/process-model/experiments.ts +43 -0
- package/server/api/workshop/process-model/specs/[id]/publish.post.ts +22 -0
- package/server/api/workshop/process-model/specs/index.ts +34 -0
- package/server/api/workshop/process-model/train.post.ts +36 -0
- 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 +54 -5
- package/server/harness/aw-mcp-signature.mjs +20 -0
- package/server/plugins/aw-plugins.ts +7 -1
- package/server/plugins/workshop.ts +24 -0
- package/server/plugins-builtin/diag-bridge/client.mjs +239 -230
- 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/rag-bridge/client.mjs +2 -0
- package/server/plugins-builtin/rag-bridge/index.mjs +166 -24
- package/server/plugins-builtin/serial-bridge/client.mjs +1 -0
- package/server/services/workshop/agents/adapters/omp-rpc-client/types.ts +121 -115
- package/server/services/workshop/agents/hitl-decision/answers.ts +5 -0
- package/server/services/workshop/agents/hitl-decision/dispatcher.ts +112 -94
- package/server/services/workshop/agents/host-tool-bridge/catalog.ts +117 -25
- package/server/services/workshop/agents/host-tool-bridge/description-budget.ts +34 -0
- package/server/services/workshop/agents/host-tool-bridge/dispatch.ts +372 -246
- package/server/services/workshop/agents/host-tool-bridge/index.ts +16 -15
- package/server/services/workshop/agents/host-tool-bridge/optimizer-gate.ts +72 -0
- package/server/services/workshop/agents/host-tool-bridge/per-agent.ts +149 -0
- package/server/services/workshop/agents/host-tool-bridge/tools/industrial.ts +111 -96
- 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-tools.ts +258 -212
- package/server/services/workshop/agents/industrial/grant-guard.ts +50 -7
- package/server/services/workshop/agents/industrial/index.ts +3 -3
- package/server/services/workshop/agents/industrial/line-tools.ts +142 -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 -168
- package/server/services/workshop/agents/industrial/optimizer-tools.ts +193 -0
- 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/resource-paging.ts +31 -0
- package/server/services/workshop/agents/industrial/resources-tools.ts +79 -0
- package/server/services/workshop/agents/industrial/tool-verify-legacy-specs.ts +73 -0
- package/server/services/workshop/agents/industrial/tool-verify.ts +386 -373
- 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-governance.ts +148 -0
- package/server/services/workshop/agents/plugin-tools.ts +15 -0
- package/server/services/workshop/agents/registry.ts +21 -1
- package/server/services/workshop/agents/tool-approvals.ts +31 -5
- package/server/services/workshop/agents/tool-classes.ts +2 -0
- package/server/services/workshop/agents/tool-reference-kinds.ts +2 -0
- package/server/services/workshop/agents/tool-reference-spec.ts +114 -0
- package/server/services/workshop/aml/aml.repo.ts +73 -18
- package/server/services/workshop/aml/dataset-builder.ts +195 -25
- package/server/services/workshop/aml/env-lease.ts +148 -0
- package/server/services/workshop/aml/env-manager.ts +6 -1
- package/server/services/workshop/aml/gates.ts +163 -121
- package/server/services/workshop/aml/job-orchestrator/stages.ts +36 -15
- package/server/services/workshop/aml/job-orchestrator/start-job.ts +44 -0
- package/server/services/workshop/aml/job-orchestrator/submit.ts +6 -0
- package/server/services/workshop/aml/model-references.ts +83 -0
- package/server/services/workshop/aml/model-registry.ts +183 -11
- package/server/services/workshop/aml/predictor.ts +147 -5
- package/server/services/workshop/aml/python/__pycache__/amlkit.cpython-312.pyc +0 -0
- package/server/services/workshop/aml/python/requirements.txt +3 -0
- package/server/services/workshop/aml/python-runtime.ts +39 -4
- package/server/services/workshop/aml/retention.ts +104 -98
- package/server/services/workshop/aml/spec.ts +64 -63
- package/server/services/workshop/aml/twin/provider-contracts.ts +45 -1
- package/server/services/workshop/aml/twin/provider-loader.ts +13 -4
- package/server/services/workshop/aml/twin/provider-registry.ts +145 -2
- 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/ingest-policy.ts +43 -0
- package/server/services/workshop/daq/storage/sqlite.adapter.ts +78 -17
- package/server/services/workshop/daq/storage/timescale.adapter.ts +37 -14
- package/server/services/workshop/daq/storage/tsdb-port.ts +36 -0
- package/server/services/workshop/db/channel-agent.repo.ts +58 -3
- package/server/services/workshop/db/database/migrations.ts +101 -0
- package/server/services/workshop/db/database/open.ts +11 -1
- package/server/services/workshop/db/database/schema.ts +243 -3
- package/server/services/workshop/db/ops.repo.ts +43 -8
- package/server/services/workshop/db/retention.ts +9 -0
- package/server/services/workshop/db/schema.sql +38 -0
- package/server/services/workshop/db/tool-registry.repo.ts +399 -0
- package/server/services/workshop/dcw/dcw-controller/lines.ts +11 -0
- package/server/services/workshop/dcw/dcw-controller/recipes.ts +45 -1
- package/server/services/workshop/dcw/dcw-controller/write.ts +4 -0
- package/server/services/workshop/dcw/dcw-line.repo.ts +3 -0
- package/server/services/workshop/dcw/dcw-recipe.repo.ts +29 -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/dcw/line-run.ts +2 -0
- 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 +200 -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/optimization/access.ts +210 -0
- package/server/services/workshop/optimization/binding.repo.ts +128 -0
- package/server/services/workshop/optimization/binding.service.ts +128 -0
- package/server/services/workshop/optimization/contracts.ts +346 -0
- package/server/services/workshop/optimization/crosscheck.service.ts +351 -0
- package/server/services/workshop/optimization/dispatch.service.ts +446 -0
- package/server/services/workshop/optimization/manager.ts +315 -0
- package/server/services/workshop/optimization/problem-builder.ts +359 -0
- package/server/services/workshop/optimization/profile.repo.ts +158 -0
- package/server/services/workshop/optimization/python/.mimosa/hook-state/session_187ec97f45d4bd02369bbe94da527cf1.json +1 -0
- package/server/services/workshop/optimization/python/.mimosa/hook-state/session_187ec97f45d4bd02369bbe94da527cf1.mvjqkcs6-68688-fb7131a89c.baseline/190a6772a4e43801737b4ba6072eb9d53d3099b5d8a9e6f57bc5e8592a26a6c4.source +274 -0
- package/server/services/workshop/optimization/python/.mimosa/hook-status/session_187ec97f45d4bd02369bbe94da527cf1-01ed7f04fa.json +14 -0
- package/server/services/workshop/optimization/python/__pycache__/problems.cpython-312.pyc +0 -0
- package/server/services/workshop/optimization/python/probe.py +24 -0
- package/server/services/workshop/optimization/python/problems.py +347 -0
- package/server/services/workshop/optimization/python/worker.py +119 -0
- package/server/services/workshop/optimization/recommendation.service.ts +100 -0
- package/server/services/workshop/optimization/rest-auth.ts +61 -0
- package/server/services/workshop/optimization/run.repo.ts +158 -0
- package/server/services/workshop/optimization/templates.ts +3 -0
- package/server/services/workshop/optimization/uq-evidence.ts +144 -0
- package/server/services/workshop/optimization/worker-client.ts +358 -0
- package/server/services/workshop/plugins/host/services.mjs +77 -68
- package/server/services/workshop/process-model/artifact-validation.ts +19 -0
- package/server/services/workshop/process-model/conditions.ts +43 -0
- package/server/services/workshop/process-model/context-segments.repo.ts +100 -0
- package/server/services/workshop/process-model/context.ts +202 -0
- package/server/services/workshop/process-model/contracts.ts +344 -0
- package/server/services/workshop/process-model/dataset.ts +144 -0
- package/server/services/workshop/process-model/eligibility-service.ts +83 -0
- package/server/services/workshop/process-model/eligibility.ts +305 -0
- package/server/services/workshop/process-model/experiment.ts +100 -0
- package/server/services/workshop/process-model/spec.repo.ts +127 -0
- package/server/services/workshop/process-model/spec.ts +302 -0
- package/server/services/workshop/process-model/trainers/dataset-reader.ts +80 -0
- package/server/services/workshop/process-model/trainers/index.ts +150 -0
- package/server/services/workshop/process-model/trainers/linear-arx.ts +325 -0
- package/server/services/workshop/process-model/trainers/static-response.ts +211 -0
- package/server/services/workshop/process-model/watermark.ts +18 -0
- package/server/services/workshop/prompts/loader.ts +7 -0
- package/server/services/workshop/runtime/agent-runtime/message.ts +23 -8
- package/server/services/workshop/runtime/manager/admin-channel.ts +82 -1
- package/server/services/workshop/runtime/manager/host-tools.ts +95 -9
- package/server/services/workshop/runtime/manager/types.ts +2 -2
- 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/settings.ts +33 -0
- package/server/services/workshop/tools/catalog-view.ts +259 -0
- package/server/services/workshop/tools/policy.ts +150 -0
- package/server/services/workshop/tools/registry.ts +304 -0
- package/server/services/workshop/tools/types.ts +19 -0
- package/server/services/workshop/types/task.ts +17 -0
- package/shared/config/schema.json +14 -5
- package/shared/daq-protocol.ts +39 -5
- package/shared/dcw-protocol/line.ts +9 -0
- package/shared/dcw-protocol/recipe.ts +2 -0
- package/shared/units.ts +50 -0
- package/shared/workshop-protocol.ts +3 -0
- package/.output/public/_nuxt/1NcBJMyL.js +0 -14
- 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/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/Bb4REys92.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/Bnf04goH.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/CJPIo2E7.js +0 -2
- package/.output/public/_nuxt/CK2ts9sD.js +0 -1
- package/.output/public/_nuxt/CPZKwmLQ.js +0 -1
- package/.output/public/_nuxt/CUjdqsjC2.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/CfIGBe_4.js +0 -75
- package/.output/public/_nuxt/Cfy5Jn8v2.js +0 -21
- 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/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/CoTm7jd3.js +0 -28
- package/.output/public/_nuxt/CsN8RHJ02.js +0 -17
- package/.output/public/_nuxt/Cst8yEet.js +0 -1
- package/.output/public/_nuxt/CxLxiOGV.js +0 -1
- package/.output/public/_nuxt/D-jg-SoR.js +0 -1
- 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/DBERjwK92.js +0 -1
- 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/DG0esyZR.js +0 -1
- package/.output/public/_nuxt/DI4sdLmu2.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/DPP0W5Ni.js +0 -2
- package/.output/public/_nuxt/DP_e7Vwv.js +0 -24
- package/.output/public/_nuxt/DR83EvmX.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/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/DtMlAxCm2.js +0 -1
- package/.output/public/_nuxt/DwzJpr7P.js +0 -1
- package/.output/public/_nuxt/DxJFBokW2.js +0 -1
- package/.output/public/_nuxt/Dxo1GW5U.js +0 -1
- package/.output/public/_nuxt/Eo2BYEIo2.js +0 -1
- package/.output/public/_nuxt/GKiBVVYe2.js +0 -1
- package/.output/public/_nuxt/H13l21fR.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/XErFZOU9.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/8bf65244-eb00-45c7-be23-9dcd7b917ef3.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/kYyvM13M.js +0 -3
- 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/t54AYjsC.js +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/{TOWR4WpO2.js → TOWR4WpO.js} +0 -0
- /package/.output/public/_nuxt/{cGSl2GZp.js → cGSl2GZp2.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./DK3Fl9T5.js";import{g as t,v as n}from"./CavpkQb0.js";import{n as r}from"./Cnrmlixo.js";import{t as i}from"./JgheoP3e.js";import{t as a}from"./Dmgqz2np.js";function o(e=``){return{nodeId:e,value:``,min:``,max:``,stepLimit:``}}function s(e=``){return{nodeId:e,min:``,max:``}}var c=e({useDcwRecipes:()=>l});function l(e,s,c,l){let{t:u}=r(),d=a(),{lineNodes:f,lineProducts:p}=e,{filterProductId:m}=s,{lineProductId:h}=c,{writeError:g}=l,_=n(!1),v=n(null),y=n([]),b=n(!1),x=n(``);async function S(e){v.value=d.recipes.find(t=>t.id===e)??null,_.value=!0,x.value=``,b.value=!0;try{y.value=await d.recipeVersions(e)}catch(e){x.value=i(e)}finally{b.value=!1}}let C=e=>e===`agent`?`Agent`:u(e===`system`?`dcwDetail.srcSystem`:`dcwDetail.srcUser`);function w(e,t){if(t===0)return u(`dcwDetail.histInit`);let n=y.value[t-1],r=e.params.map(e=>({p:e,old:n.params.find(t=>t.nodeId===e.nodeId)})).filter(({p:e,old:t})=>!t||t.value!==e.value).map(({p:e,old:t})=>`${d.nodes.find(t=>t.id===e.nodeId)?.name??e.nodeId}: ${t?.value??u(`dcwDetail.histAdded`)} → ${e.value}`);return r.length>0?r.join(`;`):u(`dcwDetail.histNoChange`)}async function T(e){if(v.value){x.value=``;try{let t=await d.revertRecipe(v.value.id,{version:e,reason:u(`dcwDetail.revertReasonUi`)});x.value=u(`dcwDetail.revertOk`,{p0:t.version??0}),y.value=await d.recipeVersions(v.value.id)}catch(e){x.value=i(e)}}}let E=n(!1),D=n(null),O=n(!1),k=n(``),A=n(``),j=t({productId:``,name:``,description:``,params:[],daqWindows:[],accessRequireAuth:!1,accessAgentIds:[]}),M=n(null),N=n(null),P=n(!1);function F(){D.value=null,k.value=``,j.productId=m.value||h.value||p.value[0]?.id||``,j.name=``,j.description=``,j.params=[o(f.value[0]?.id??``)],j.daqWindows=[],j.accessRequireAuth=!1,j.accessAgentIds=[],E.value=!0}function I(e){let t=d.recipes.find(t=>t.id===e);if(!t)return;D.value=e,k.value=``;let n=t.params.filter(e=>d.nodes.some(t=>t.id===e.nodeId)),r=t.params.length-n.length;A.value=r>0?u(`dcwDetail.staleDropped`,{p0:r}):``,j.productId=t.productId,j.name=t.name,j.description=t.description,j.params=n.map(e=>({nodeId:e.nodeId,value:e.value,min:e.min??``,max:e.max??``,stepLimit:e.stepLimit??``})),j.daqWindows=(t.daqWindows??[]).map(e=>({nodeId:e.nodeId,min:e.min??``,max:e.max??``})),j.accessRequireAuth=t.access?.requireAuth===!0,j.accessAgentIds=[...t.access?.authorizedAgentIds??[]],E.value=!0}async function L(){O.value=!0,k.value=``;try{let e={productId:j.productId,name:j.name.trim(),description:j.description.trim(),params:j.params.filter(e=>e.nodeId&&e.value!==``&&Number.isFinite(Number(e.value))).map(e=>({nodeId:e.nodeId,value:Number(e.value),...e.min!==``&&Number.isFinite(Number(e.min))?{min:Number(e.min)}:{},...e.max!==``&&Number.isFinite(Number(e.max))?{max:Number(e.max)}:{},...e.stepLimit!==``&&Number.isFinite(Number(e.stepLimit))?{stepLimit:Number(e.stepLimit)}:{}})),daqWindows:j.daqWindows.filter(e=>e.nodeId&&(e.min!==``||e.max!==``)).map(e=>({nodeId:e.nodeId,...e.min!==``&&Number.isFinite(Number(e.min))?{min:Number(e.min)}:{},...e.max!==``&&Number.isFinite(Number(e.max))?{max:Number(e.max)}:{}})),access:{requireAuth:j.accessRequireAuth,authorizedAgentIds:j.accessAgentIds.filter(Boolean)}};D.value?await d.updateRecipe(D.value,e):await d.createRecipe(e),E.value=!1}catch(e){k.value=i(e)}finally{O.value=!1}}async function R(e){M.value=null,g.value=``;try{let t=await d.applyRecipe(e),n=t.results.filter(e=>e.ok).length;M.value={runId:t.id,ok:n,total:t.results.length},n<t.results.length&&(g.value=u(`dcwDetail.ks7szkt188`,{p0:t.results.filter(e=>!e.ok).map(e=>e.message).join(`;`)}))}catch(e){g.value=i(e)}}async function z(e){P.value=!0;try{let t=await d.runData(e);N.value={runId:e,data:t}}catch(e){g.value=i(e)}finally{P.value=!1}}return{verOpen:_,verRecipe:v,verRows:y,verLoading:b,verMsg:x,verSrcLabel:C,verDiff:w,openRecipeHistory:S,doRevert:T,recipeOpen:E,recipeEditing:D,recipeSaving:O,recipeError:k,recipeStaleNote:A,recipeForm:j,applyResult:M,runDataView:N,runDataLoading:P,openRecipeCreate:F,openRecipeEdit:I,saveRecipe:L,doApplyRecipe:R,doViewRun:z}}export{o as i,c as n,s as r,l as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./DK3Fl9T5.js";import{d as t}from"./ByMj6e7s.js";import{t as n}from"./Dmgqz2np.js";var r=e({useDcwCards:()=>i});function i(){let e=n(),r=t(()=>e.lines.map(t=>({line:t,nodes:e.nodes.filter(e=>e.lineId===t.id).length,products:e.products.filter(e=>e.lineId===t.id).length,recipes:e.recipes.filter(e=>e.lineId===t.id).length}))),i=t(()=>e.nodes.filter(e=>!e.lineId).length+e.products.filter(e=>!e.lineId).length);function a(t){return e.recipes.filter(e=>e.lineId===t)}return{cards:r,unassignedCount:i,recipesOf:a}}export{r as n,i as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./Nw_6OpQZ2.js";function t(){let t=e();return{listChannels:()=>t.get(`/workshop/channels`),createChannel:e=>t.post(`/workshop/channels`,e),deleteChannel:e=>t.delete(`/workshop/channels/${e}`),patchChannel:(e,n)=>t.request({method:`PATCH`,url:`/workshop/channels/${e}`,data:n}),bindChannelLine:(e,n)=>t.request({method:`PUT`,url:`/workshop/channels/${e}/line`,data:{lineId:n}}),listDcwLines:()=>t.get(`/workshop/dcw/lines?limit=200`),listChannelAgents:e=>t.get(`/workshop/channels/${e}/agents`),addChannelAgent:(e,n)=>t.post(`/workshop/channels/${e}/agents`,n),updateChannelAgent:(e,n,r)=>t.request({method:`PATCH`,url:`/workshop/channels/${e}/agents/${n}`,data:r}),removeChannelAgent:(e,n)=>t.delete(`/workshop/channels/${e}/agents/${n}`),stopChannelAgent:(e,n)=>t.post(`/workshop/channels/${e}/agents/${n}/stop`,{}),listTasks:e=>t.get(`/workshop/channels/${e}/tasks`),submitTask:(e,n)=>t.post(`/workshop/channels/${e}/tasks`,n),injectMessage:(e,n)=>t.post(`/workshop/channels/${e}/messages`,n),listAgentMemories:(e,n)=>t.get(`/workshop/channels/${e}/agents/${n}/memories`),searchMemories:(e,n,r)=>t.post(`/workshop/channels/${e}/agents/${n}/memories/search`,r),saveMemory:(e,n,r)=>t.post(`/workshop/channels/${e}/agents/${n}/memories`,r),listTeamMemories:e=>t.get(`/workshop/channels/${e}/memories`),queueOverview:e=>t.get(`/workshop/channels/${e}/queue`),runtimeStatus:()=>t.get(`/workshop/runtime`),listSchedules:()=>t.get(`/workshop/schedules`),createSchedule:e=>t.post(`/workshop/schedules`,e),updateSchedule:(e,n)=>t.request({method:`PATCH`,url:`/workshop/schedules/${e}`,data:n}),deleteSchedule:e=>t.delete(`/workshop/schedules/${e}`),runSchedule:e=>t.post(`/workshop/schedules/${e}/run`,{}),listScheduleRuns:(e,n=50)=>t.get(`/workshop/schedules/${e}/runs`,{params:{limit:n}}),listHarnesses:()=>t.get(`/workshop/harnesses`),listHarnessProviders:e=>t.get(`/workshop/harnesses/${e}/providers`),getTask:(e,n)=>t.get(`/workshop/tasks/${e}`,n?{params:{channelId:n}}:void 0),cancelTask:e=>t.post(`/workshop/tasks/${e}/cancel`,{}),retryTask:e=>t.post(`/workshop/tasks/${e}/retry`,{}),respondHitl:e=>t.post(`/workshop/hitl/respond`,e),listTemplates:()=>t.get(`/workshop/agents`),createTemplate:e=>t.post(`/workshop/agents`,e),updateTemplate:(e,n)=>t.request({method:`PATCH`,url:`/workshop/agents/${e}`,data:n}),deleteTemplate:e=>t.delete(`/workshop/agents/${e}`),listTeams:()=>t.get(`/workshop/teams`),createTeam:e=>t.post(`/workshop/teams`,e),updateTeam:(e,n)=>t.request({method:`PATCH`,url:`/workshop/teams/${e}`,data:n}),deleteTeam:e=>t.delete(`/workshop/teams/${e}`),addTeamMember:(e,n)=>t.post(`/workshop/teams/${e}/members`,n),removeTeamMember:(e,n)=>t.delete(`/workshop/teams/${e}/members/${n}`),deployTeam:(e,n)=>t.post(`/workshop/teams/${e}/deploy`,{channelId:n}),listChannelTemplates:()=>t.get(`/workshop/channel-templates`),createChannelTemplate:e=>t.post(`/workshop/channel-templates`,e),captureChannelTemplate:e=>t.post(`/workshop/channel-templates/from-channel`,e),updateChannelTemplate:(e,n)=>t.request({method:`PATCH`,url:`/workshop/channel-templates/${e}`,data:n}),deleteChannelTemplate:e=>t.delete(`/workshop/channel-templates/${e}`),instantiateChannelTemplate:(e,n,r)=>t.post(`/workshop/channel-templates/${e}/instantiate`,{name:n,...r}),mountChannelTemplate:(e,n,r)=>t.post(`/workshop/workspaces/${e}/channel-templates/${n}`,{name:r}),listChannelTerminals:e=>t.get(`/workshop/channels/${e}/terminals`),listPlugins:()=>t.get(`/workshop/plugins`),enablePlugin:e=>t.post(`/workshop/plugins/${e}/enable`,{}),disablePlugin:e=>t.post(`/workshop/plugins/${e}/disable`,{}),pluginHealth:e=>t.get(`/plugins/${e}/health`),listChannelPlugins:e=>t.get(`/workshop/channels/${e}/plugins`),putChannelPlugins:(e,n)=>t.put(`/workshop/channels/${e}/plugins`,n),listTeamPlugins:e=>t.get(`/workshop/teams/${e}/plugins`),putTeamPlugins:(e,n)=>t.put(`/workshop/teams/${e}/plugins`,n)}}export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.auth-gate[data-v-008c05bf]{justify-content:center;padding-top:8vh;display:flex}.auth-card[data-v-008c05bf]{border-radius:var(--radius-panel);width:420px;max-width:92vw;box-shadow:var(--shadow-float);padding:26px 26px 18px;position:relative;border:1px solid var(--line-strong)!important}.auth-card[data-v-008c05bf] h2{font-family:var(--font-display);margin:0 0 6px;font-size:26px}.sub[data-v-008c05bf]{color:var(--ink-faint);margin:0 0 14px;font-size:12.5px}.hint[data-v-008c05bf]{color:var(--ink-faint);margin:8px 0 0;font-size:11px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as e}from"./CavpkQb0.js";import{t}from"./RAqsw632.js";function n(n,r,i={}){let a=i.bgMs===void 0?r*3:i.bgMs,o=null;function s(e){c(),e!==null&&e>0&&(o=t(n,e))}function c(){o&&=(clearInterval(o),null)}function l(){document.hidden?s(a):(s(r),n())}s(document.hidden?a:r),document.addEventListener(`visibilitychange`,l),e(()=>{c(),document.removeEventListener(`visibilitychange`,l)})}export{n as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{N as e,mt as t}from"./CavpkQb0.js";import{G as n,S as r,V as i,f as a,h as o}from"./ByMj6e7s.js";import{t as s}from"./BupBjt6B2.js";import{t as c}from"./BDNMzG2s2.js";import{t as l}from"./DlUQa0wn.js";var u={class:`town-layout`},d={class:`town-version-stamp`},f=c(r({__name:`town`,setup(r){l();let c=s();return(r,s)=>(i(),o(`div`,u,[n(r.$slots,`default`,{},void 0,!0),a(`span`,d,`v`+t(e(c).version),1)]))}}),[[`__scopeId`,`data-v-55fbc901`]]);export{f as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function t(t){return e.test(t)}import.meta.url.replace(/\/app\/.*$/,`/`),String.fromCharCode;var n=/#/g,r=/&/g,i=/\//g,a=/=/g,o=/\?/g,s=/\+/g,c=/%5e/gi,l=/%60/gi,u=/%7c/gi,d=/%20/gi,f=/%2f/gi,p=/%252f/gi;function m(e){return encodeURI(``+e).replace(u,`|`)}function h(e){return m(typeof e==`string`?e:JSON.stringify(e)).replace(s,`%2B`).replace(d,`+`).replace(n,`%23`).replace(r,`%26`).replace(l,"`").replace(c,`^`).replace(i,`%2F`)}function g(e){return h(e).replace(a,`%3D`)}function _(e){return m(e).replace(n,`%23`).replace(o,`%3F`).replace(p,`%2F`).replace(r,`%26`).replace(s,`%2B`)}function v(e=``){try{return decodeURIComponent(``+e)}catch{return``+e}}function y(e){return v(e.replace(f,`%252F`))}function b(e){return v(e.replace(s,` `))}function x(e){return v(e.replace(s,` `))}function S(e=``){let t=Object.create(null);e[0]===`?`&&(e=e.slice(1));for(let n of e.split(`&`)){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let r=b(e[1]);if(r===`__proto__`||r===`constructor`)continue;let i=x(e[2]||``);t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function C(e,t){return(typeof t==`number`||typeof t==`boolean`)&&(t=String(t)),t?Array.isArray(t)?t.map(t=>`${g(e)}=${h(t)}`).join(`&`):`${g(e)}=${h(t)}`:g(e)}function w(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>C(t,e[t])).filter(Boolean).join(`&`)}var T=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,E=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,D=/^([/\\]\s*){2,}[^/\\]/,O=/^[\s\0]*(blob|data|javascript|vbscript):$/i,k=/\/$|\/\?|\/#/,A=/^\.?\//;function j(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?T.test(e):E.test(e)||(t.acceptRelative?D.test(e):!1)}function M(e){return!!e&&O.test(e)}function N(e=``,t){return t?k.test(e):e.endsWith(`/`)}function P(e=``,t){if(!t)return(N(e)?e.slice(0,-1):e)||`/`;if(!N(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);i!==-1&&(n=e.slice(0,i),r=e.slice(i));let[a,...o]=n.split(`?`);return((a.endsWith(`/`)?a.slice(0,-1):a)||`/`)+(o.length>0?`?${o.join(`?`)}`:``)+r}function F(e=``,t){if(!t)return e.endsWith(`/`)?e:e+`/`;if(N(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;let[a,...o]=n.split(`?`);return a+`/`+(o.length>0?`?${o.join(`?`)}`:``)+r}function I(e=``){return e.startsWith(`/`)}function L(e=``){return I(e)?e:`/`+e}function R(e,t){if(V(t)||j(e))return e;let n=P(t);if(e.startsWith(n)){let t=e[n.length];if(!t||t===`/`||t===`?`)return e}return U(n,e)}function z(e,t){if(V(t))return e;let n=P(t);if(!e.startsWith(n))return e;let r=e[n.length];return r&&r!==`/`&&r!==`?`?e:`/`+e.slice(n.length).replace(/^\/+/,``)}function B(e,t){let n=Y(e);return n.search=w({...S(n.search),...t}),Z(n)}function V(e){return!e||e===`/`}function H(e){return e&&e!==`/`}function U(e,...t){let n=e||``;for(let e of t.filter(e=>H(e)))if(n){let t=e.replace(A,``);n=F(n)+t}else n=e;return n}function W(...e){let t=/\/(?!\/)/,n=e.filter(Boolean),r=[],i=0;for(let e of n)if(!(!e||e===`/`)){for(let[n,a]of e.split(t).entries())if(!(!a||a===`.`)){if(a===`..`){if(r.length===1&&j(r[0]))continue;r.pop(),i--;continue}if(n===1&&r[r.length-1]?.endsWith(`:/`)){r[r.length-1]+=`/`+a;continue}r.push(a),i++}}let a=r.join(`/`);return i>=0?n[0]?.startsWith(`/`)&&!a.startsWith(`/`)?a=`/`+a:n[0]?.startsWith(`./`)&&!a.startsWith(`./`)&&(a=`./`+a):a=`../`.repeat(-1*i)+a,n[n.length-1]?.endsWith(`/`)&&!a.endsWith(`/`)&&(a+=`/`),a}function G(e,t){return v(P(e))===v(P(t))}function K(e,t,n={}){return n.trailingSlash||(e=F(e),t=F(t)),n.leadingSlash||(e=L(e),t=L(t)),n.encoding||(e=v(e),t=v(t)),e===t}function q(e){return Z({...Y(e),hash:``})}var J=Symbol.for(`ufo:protocolRelative`);function Y(e=``,t){let n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){let[,e,t=``]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:``,host:``,search:``,hash:``}}if(!j(e,{acceptRelative:!0}))return t?Y(t+e):X(e);let[,r=``,i,a=``]=e.replace(/\\/g,`/`).match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o=``,s=``]=a.match(/([^#/?]*)(.*)?/)||[];r===`file:`&&(s=s.replace(/\/(?=[A-Za-z]:)/,``));let{pathname:c,search:l,hash:u}=X(s);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):``,host:o,pathname:c,search:l,hash:u,[J]:!r}}function X(e=``){let[t=``,n=``,r=``]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Z(e){let t=e.pathname||``,n=e.search?(e.search.startsWith(`?`)?``:`?`)+e.search:``,r=e.hash||``,i=e.auth?e.auth+`@`:``,a=e.host||``;return(e.protocol||e[J]?(e.protocol||``)+`//`:``)+i+a+t+n+r}export{P as _,G as a,U as c,Y as d,R as f,q as g,z as h,K as i,X as l,F as m,_ as n,M as o,B as p,j as r,W as s,y as t,S as u,t as v};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./DK3Fl9T5.js";import{v as t}from"./CavpkQb0.js";import{t as n}from"./JgheoP3e.js";import{t as r}from"./Dmgqz2np.js";var i=e({useDcwLineMutations:()=>a});function a(){let e=r(),i=t(!1),a=t(!1),o=t(``);function s(){o.value=``,i.value=!0}async function c(t){a.value=!0,o.value=``;try{await e.createLine(t),i.value=!1}catch(e){o.value=n(e)}finally{a.value=!1}}let l=t(!1),u=t(!1),d=t(``),f=t(null);function p(e){f.value=e,d.value=``,l.value=!0}async function m(t,r){u.value=!0,d.value=``;try{await e.updateLine(t,r),l.value=!1}catch(e){d.value=n(e)}finally{u.value=!1}}let h=t(!1),g=t(!1),_=t(``),v=t(!0),y=t(null);function b(e){y.value=e,v.value=!0,_.value=``,h.value=!0}async function x(){if(y.value){g.value=!0,_.value=``;try{await e.removeLine(y.value.line.id,v.value),h.value=!1}catch(e){_.value=n(e)}finally{g.value=!1}}}return{createOpen:i,createSaving:a,createError:o,openCreate:s,doCreateLine:c,editOpen:l,editSaving:u,editError:d,editTarget:f,openEdit:p,doEditLine:m,delOpen:h,delBusy:g,delErr:_,delPurge:v,delCard:y,openDelete:b,doDeleteLine:x}}export{i as n,a as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./DK3Fl9T5.js";import{g as t,v as n}from"./CavpkQb0.js";import{d as r}from"./ByMj6e7s.js";import{t as i}from"./JgheoP3e.js";import{t as a}from"./Dmgqz2np.js";var o=e({useDcwProducts:()=>s});function s(e,o){let s=a(),{lineId:c,lineRecipesAll:l}=e,{lineProductId:u}=o,d=n(!1),f=n(!1),p=n(``),m=t({name:``,description:``}),h=n(``);async function g(){f.value=!0,p.value=``;try{let e=await s.createProduct({name:m.name.trim(),description:m.description.trim(),lineId:c.value});u.value=e.id,h.value=e.id,d.value=!1,m.name=``,m.description=``}catch(e){p.value=i(e)}finally{f.value=!1}}return{productOpen:d,productSaving:f,productError:p,productForm:m,filterProductId:h,visibleRecipes:r(()=>h.value?l.value.filter(e=>e.productId===h.value):l.value),doCreateProduct:g}}export{o as n,s as t};
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./BBrRELH32.js";import{n as t,t as n}from"./CWKEp1wx2.js";import{$ as r,A as i,B as a,C as o,Ct as s,D as c,E as l,F as u,G as d,H as f,I as p,J as m,K as h,L as g,M as _,N as v,O as y,P as b,Q as x,R as S,S as ee,St as C,T as w,U as te,V as ne,W as re,X as ie,Y as T,Z as ae,_ as oe,_t as se,a as E,at as ce,b as le,bt as D,c as ue,ct as O,d as k,dt as de,et as fe,f as A,ft as j,g as pe,gt as me,h as M,ht as N,i as P,it as F,j as he,k as I,lt as ge,m as _e,mt as ve,n as ye,nt as be,o as L,ot as xe,p as Se,pt as Ce,q as R,r as z,rt as we,s as Te,st as Ee,t as De,tt as Oe,u as ke,v as Ae,vt as je,w as B,x as Me,xt as V,y as Ne,yt as H,z as Pe}from"./BrRX-l9B.js";var Fe=new C,Ie=new C,Le=new C,Re=new V,ze=new Oe(new C(0,1,0),0),Be=new xe;function Ve(e,t,n,r){let i=e.renderer.domElement.getBoundingClientRect(),a=Fe;if(e.camera.getWorldDirection(a),Ie.set(t-e.camera.position.x,n-e.camera.position.y,r-e.camera.position.z).dot(a)<=.1)return null;let o=Le.set(t,n,r).project(e.camera);return o.z>1||Math.abs(o.x)>1.6||Math.abs(o.y)>1.6?null:{x:i.left+(o.x+1)/2*i.width,y:i.top+(1-o.y)/2*i.height}}function He(e,t,n){let r=e.renderer.domElement.getBoundingClientRect(),i=(t-r.left)/r.width*2-1,a=-((n-r.top)/r.height)*2+1,o=Be;o.setFromCamera(Re.set(i,a),e.camera);let s=Le;return o.ray.intersectPlane(ze,s),s?{x:s.x,z:s.z}:{x:e.camera.position.x,z:e.camera.position.z}}function Ue(e,t,n){e.camTarget.x-=t,e.camTarget.z-=n}function We(e,t,n){let r=e.camera.aspect||1.6;return Math.max(t/(.82*613*r),n/779)}function Ge(e,t,n){let r=We(e,t,n);r>e.dolly&&(e.autoDolly=Math.min(40,r*1.18))}function Ke(e,t){let n={std:{yaw:0,pitch:.7,radius:1178},top:{yaw:0,pitch:1.51,radius:2400},front:{yaw:0,pitch:.09,radius:1510},side:{yaw:Math.PI/2,pitch:.33,radius:1320}};e.viewTarget={...n[t]??n.std}}function qe(e,t,n){e.viewCur={yaw:e.viewCur.yaw-t*.0052,pitch:Math.min(1.52,Math.max(.06,e.viewCur.pitch+n*.0052)),radius:e.viewCur.radius},e.viewTarget={...e.viewCur},e.markDirty()}function Je(e,t){e.autoOrbit=t}function Ye(e){return e.autoOrbit}function Xe(e,t,n){let r=e.viewCur.radius*e.dolly*.0011,i=Math.sin(e.viewCur.yaw),a=Math.cos(e.viewCur.yaw),o=Math.sin(e.viewCur.pitch);Ue(e,(a*t+o*i*n)*r,(-i*t+o*a*n)*r)}function Ze(e,t,n=900){Ke(e,t)}function Qe(e){return{pos:{x:e.camera.position.x,y:e.camera.position.y,z:e.camera.position.z},target:{x:e.camTarget.x,z:e.camTarget.z},yaw:e.viewCur.yaw,dolly:e.dolly}}function $e(e,t,n){e.camTarget.x-=t,e.camTarget.z-=n,e.camera.position.x-=t,e.camera.position.z-=n,e.markDirty()}function et(e){e.dolly=1,e.autoDolly=null,rt(e,z,P),Ke(e,`std`)}function tt(e,t){e.autoDolly=null,e.dolly=Math.min(1e3,Math.max(.001,e.dolly+t))}function nt(e,t,n){rt(e,t,n)}function rt(e,t,n){let r=performance.now(),i=e.camTarget.x,a=e.camTarget.z,o=()=>{let s=Math.min(1,(performance.now()-r)/600),c=1-(1-s)**3;e.camTarget.x=i+(t-i)*c,e.camTarget.z=a+(n-a)*c,s<1&&e.pushAnim(o)};e.pushAnim(o)}function it(e,t){let n=1-Math.exp(-t*7.2);e.autoDolly!==null&&(e.dolly+=(e.autoDolly-e.dolly)*n,Math.abs(e.autoDolly-e.dolly)<.01&&(e.autoDolly=null));let r=1-Math.exp(-t*4.8);for(let t of[`yaw`,`pitch`,`radius`])e.viewCur[t]+=(e.viewTarget[t]-e.viewCur[t])*r;e.autoOrbit&&!e.isPointerDragging()&&(e.viewCur.yaw-=t*.156,e.viewTarget.yaw=e.viewCur.yaw);let i=e.viewCur.radius*e.dolly,a=Math.cos(e.viewCur.pitch);e.camera.position.set(e.camTarget.x+i*a*Math.sin(e.viewCur.yaw),20+i*Math.sin(e.viewCur.pitch),e.camTarget.z+i*a*Math.cos(e.viewCur.yaw)),e.camera.lookAt(e.camTarget.x,20,e.camTarget.z);let o=Math.max(.05,1.2*e.dolly),s=16e3*e.dolly;(Math.abs(e.camera.near-o)>.005||Math.abs(e.camera.far-s)>1)&&(e.camera.near=o,e.camera.far=s,e.camera.updateProjectionMatrix()),e.skyDome&&(e.skyDome.position.set(e.camTarget.x,0,e.camTarget.z),e.skyDome.scale.setScalar(Math.max(1,e.dolly*1.3))),e.ground.position.set(e.camTarget.x,0,e.camTarget.z);let c=e.ground.material.map;c&&c.offset.set(e.camTarget.x/(L*16/c.repeat.x),-e.camTarget.z/(E*16/c.repeat.y));let l=e.scene.fog;l instanceof p&&(l.near=1400*e.dolly,l.far=8800*e.dolly);let u=e.keyLight.shadow.camera,d=1600*Math.max(1,e.dolly);Math.abs(u.right-d)>1&&(u.left=-d,u.right=d,u.top=2300*Math.max(1,e.dolly),u.bottom=-2300*Math.max(1,e.dolly),u.updateProjectionMatrix(),e.renderer.shadowMap.needsUpdate=!0)}var U=new xe,W=new C,G=new C,K=new F,at={X:new C(1,0,0),Y:new C(0,1,0),Z:new C(0,0,1)},ot={type:`change`},st={type:`mouseDown`,mode:null},ct={type:`mouseUp`,mode:null},lt={type:`objectChange`},ut=class extends he{constructor(e,t=null){super(void 0,t);let n=new Ot(this);this._root=n;let r=new kt;this._gizmo=r,n.add(r);let i=new At;this._plane=i,n.add(i);let a=this;function o(e,t){let n=t;Object.defineProperty(a,e,{get:function(){return n===void 0?t:n},set:function(t){n!==t&&(n=t,i[e]=t,r[e]=t,a.dispatchEvent({type:e+`-changed`,value:t}),a.dispatchEvent(ot))}}),a[e]=t,i[e]=t,r[e]=t}o(`camera`,e),o(`object`,void 0),o(`enabled`,!0),o(`axis`,null),o(`mode`,`translate`),o(`translationSnap`,null),o(`rotationSnap`,null),o(`scaleSnap`,null),o(`space`,`world`),o(`size`,1),this.viewport=null,o(`dragging`,!1),o(`showX`,!0),o(`showY`,!0),o(`showZ`,!0),o(`showXY`,!0),o(`showYZ`,!0),o(`showXZ`,!0),o(`showXYZE`,!0),o(`showE`,!0),o(`minX`,-1/0),o(`maxX`,1/0),o(`minY`,-1/0),o(`maxY`,1/0),o(`minZ`,-1/0),o(`maxZ`,1/0);let s=new C,c=new C,l=new F,u=new F,d=new C,f=new F,p=new C,m=new C,h=new C,g=new C;o(`worldPosition`,s),o(`worldPositionStart`,c),o(`worldQuaternion`,l),o(`worldQuaternionStart`,u),o(`cameraPosition`,d),o(`cameraQuaternion`,f),o(`pointStart`,p),o(`pointEnd`,m),o(`rotationAxis`,h),o(`rotationAngle`,0),o(`eye`,g),this._offset=new C,this._startNorm=new C,this._endNorm=new C,this._cameraScale=new C,this._parentPosition=new C,this._parentQuaternion=new F,this._parentQuaternionInv=new F,this._parentScale=new C,this._worldScaleStart=new C,this._worldQuaternionInv=new F,this._worldScale=new C,this._positionStart=new C,this._quaternionStart=new F,this._scaleStart=new C,this._getPointer=dt.bind(this),this._onPointerDown=pt.bind(this),this._onPointerHover=ft.bind(this),this._onPointerMove=mt.bind(this),this._onPointerUp=ht.bind(this),t!==null&&this.connect(t)}connect(e){super.connect(e),this.domElement.addEventListener(`pointerdown`,this._onPointerDown),this.domElement.addEventListener(`pointermove`,this._onPointerHover),this.domElement.addEventListener(`pointerup`,this._onPointerUp),this.domElement.style.touchAction=`none`}disconnect(){this.domElement.removeEventListener(`pointerdown`,this._onPointerDown),this.domElement.removeEventListener(`pointermove`,this._onPointerHover),this.domElement.removeEventListener(`pointermove`,this._onPointerMove),this.domElement.removeEventListener(`pointerup`,this._onPointerUp),this.domElement.style.touchAction=``}getHelper(){return this._root}pointerHover(e){if(this.object===void 0||this.dragging===!0)return;e!==null&&U.setFromCamera(e,this.camera);let t=gt(this._gizmo.picker[this.mode],U);this.axis=t?t.object.name:null}pointerDown(e){if(!(this.object===void 0||this.dragging===!0||e!=null&&e.button!==0)&&this.axis!==null){e!==null&&U.setFromCamera(e,this.camera);let t=gt(this._plane,U,!0);t&&(this.object.updateMatrixWorld(),this.object.parent.updateMatrixWorld(),this._positionStart.copy(this.object.position),this._quaternionStart.copy(this.object.quaternion),this._scaleStart.copy(this.object.scale),this.object.matrixWorld.decompose(this.worldPositionStart,this.worldQuaternionStart,this._worldScaleStart),this.pointStart.copy(t.point).sub(this.worldPositionStart)),this.dragging=!0,st.mode=this.mode,this.dispatchEvent(st)}}pointerMove(e){let t=this.axis,n=this.mode,r=this.object,i=this.space;if(n===`scale`?i=`local`:(t===`E`||t===`XYZE`||t===`XYZ`)&&(i=`world`),r===void 0||t===null||this.dragging===!1||e!==null&&e.button!==-1)return;e!==null&&U.setFromCamera(e,this.camera);let a=gt(this._plane,U,!0);if(a){if(this.pointEnd.copy(a.point).sub(this.worldPositionStart),n===`translate`)this._offset.copy(this.pointEnd).sub(this.pointStart),i===`local`&&t!==`XYZ`&&this._offset.applyQuaternion(this._worldQuaternionInv),t.indexOf(`X`)===-1&&(this._offset.x=0),t.indexOf(`Y`)===-1&&(this._offset.y=0),t.indexOf(`Z`)===-1&&(this._offset.z=0),i===`local`&&t!==`XYZ`?this._offset.applyQuaternion(this._quaternionStart).divide(this._parentScale):this._offset.applyQuaternion(this._parentQuaternionInv).divide(this._parentScale),r.position.copy(this._offset).add(this._positionStart),this.translationSnap&&(i===`local`&&(r.position.applyQuaternion(K.copy(this._quaternionStart).invert()),t.search(`X`)!==-1&&(r.position.x=Math.round(r.position.x/this.translationSnap)*this.translationSnap),t.search(`Y`)!==-1&&(r.position.y=Math.round(r.position.y/this.translationSnap)*this.translationSnap),t.search(`Z`)!==-1&&(r.position.z=Math.round(r.position.z/this.translationSnap)*this.translationSnap),r.position.applyQuaternion(this._quaternionStart)),i===`world`&&(r.getWorldPosition(W),t.search(`X`)!==-1&&(W.x=Math.round(W.x/this.translationSnap)*this.translationSnap),t.search(`Y`)!==-1&&(W.y=Math.round(W.y/this.translationSnap)*this.translationSnap),t.search(`Z`)!==-1&&(W.z=Math.round(W.z/this.translationSnap)*this.translationSnap),r.position.copy(r.parent.worldToLocal(W)))),r.position.x=Math.max(this.minX,Math.min(this.maxX,r.position.x)),r.position.y=Math.max(this.minY,Math.min(this.maxY,r.position.y)),r.position.z=Math.max(this.minZ,Math.min(this.maxZ,r.position.z));else if(n===`scale`){if(t.search(`XYZ`)!==-1){let e=this.pointEnd.length()/this.pointStart.length();this.pointEnd.dot(this.pointStart)<0&&(e*=-1),G.set(e,e,e)}else W.copy(this.pointStart),G.copy(this.pointEnd),W.applyQuaternion(this._worldQuaternionInv),G.applyQuaternion(this._worldQuaternionInv),G.divide(W),t.search(`X`)===-1&&(G.x=1),t.search(`Y`)===-1&&(G.y=1),t.search(`Z`)===-1&&(G.z=1);r.scale.copy(this._scaleStart).multiply(G),this.scaleSnap&&(t.search(`X`)!==-1&&(r.scale.x=Math.round(r.scale.x/this.scaleSnap)*this.scaleSnap||this.scaleSnap),t.search(`Y`)!==-1&&(r.scale.y=Math.round(r.scale.y/this.scaleSnap)*this.scaleSnap||this.scaleSnap),t.search(`Z`)!==-1&&(r.scale.z=Math.round(r.scale.z/this.scaleSnap)*this.scaleSnap||this.scaleSnap))}else if(n===`rotate`){this._offset.copy(this.pointEnd).sub(this.pointStart);let e=20/this.worldPosition.distanceTo(W.setFromMatrixPosition(this.camera.matrixWorld)),n=!1;t===`XYZE`?(this.rotationAxis.copy(this._offset).cross(this.eye).normalize(),this.rotationAngle=this._offset.dot(W.copy(this.rotationAxis).cross(this.eye))*e):(t===`X`||t===`Y`||t===`Z`)&&(this.rotationAxis.copy(at[t]),W.copy(at[t]),i===`local`&&W.applyQuaternion(this.worldQuaternion),W.cross(this.eye),W.length()===0?n=!0:this.rotationAngle=this._offset.dot(W.normalize())*e),(t===`E`||n)&&(this.rotationAxis.copy(this.eye),this.rotationAngle=this.pointEnd.angleTo(this.pointStart),this._startNorm.copy(this.pointStart).normalize(),this._endNorm.copy(this.pointEnd).normalize(),this.rotationAngle*=this._endNorm.cross(this._startNorm).dot(this.eye)<0?1:-1),this.rotationSnap&&(this.rotationAngle=Math.round(this.rotationAngle/this.rotationSnap)*this.rotationSnap),i===`local`&&t!==`E`&&t!==`XYZE`?(r.quaternion.copy(this._quaternionStart),r.quaternion.multiply(K.setFromAxisAngle(this.rotationAxis,this.rotationAngle)).normalize()):(this.rotationAxis.applyQuaternion(this._parentQuaternionInv),r.quaternion.copy(K.setFromAxisAngle(this.rotationAxis,this.rotationAngle)),r.quaternion.multiply(this._quaternionStart).normalize())}this.dispatchEvent(ot),this.dispatchEvent(lt)}}pointerUp(e){(e===null||e.button===0)&&(this.dragging&&this.axis!==null&&(ct.mode=this.mode,this.dispatchEvent(ct)),this.dragging=!1,this.axis=null)}dispose(){this.disconnect(),this._root.dispose()}attach(e){return this.object=e,this._root.visible=!0,this}detach(){return this.object=void 0,this.axis=null,this._root.visible=!1,this}reset(){this.enabled&&this.dragging&&(this.object.position.copy(this._positionStart),this.object.quaternion.copy(this._quaternionStart),this.object.scale.copy(this._scaleStart),this.dispatchEvent(ot),this.dispatchEvent(lt),this.pointStart.copy(this.pointEnd))}getRaycaster(){return U}getMode(){return this.mode}setMode(e){this.mode=e}setTranslationSnap(e){this.translationSnap=e}setRotationSnap(e){this.rotationSnap=e}setScaleSnap(e){this.scaleSnap=e}setSize(e){this.size=e}setSpace(e){this.space=e}setColors(e,t,n,r){let i=this._gizmo.materialLib;i.xAxis.color.set(e),i.yAxis.color.set(t),i.zAxis.color.set(n),i.active.color.set(r),i.xAxisTransparent.color.set(e),i.yAxisTransparent.color.set(t),i.zAxisTransparent.color.set(n),i.activeTransparent.color.set(r),i.xAxis._color&&i.xAxis._color.set(e),i.yAxis._color&&i.yAxis._color.set(t),i.zAxis._color&&i.zAxis._color.set(n),i.active._color&&i.active._color.set(r),i.xAxisTransparent._color&&i.xAxisTransparent._color.set(e),i.yAxisTransparent._color&&i.yAxisTransparent._color.set(t),i.zAxisTransparent._color&&i.zAxisTransparent._color.set(n),i.activeTransparent._color&&i.activeTransparent._color.set(r)}};function dt(e){if(this.domElement.ownerDocument.pointerLockElement)return{x:0,y:0,button:e.button};{let t=this.domElement.getBoundingClientRect(),n=this.viewport,r,i,a,o;return n===null?(r=0,i=0,a=t.width,o=t.height):(r=n.x,i=t.height-n.y-n.w,a=n.z,o=n.w),{x:(e.clientX-t.left-r)/a*2-1,y:-(e.clientY-t.top-i)/o*2+1,button:e.button}}}function ft(e){if(this.enabled)switch(e.pointerType){case`mouse`:case`pen`:this.pointerHover(this._getPointer(e))}}function pt(e){this.enabled&&(document.pointerLockElement||this.domElement.setPointerCapture(e.pointerId),this.domElement.addEventListener(`pointermove`,this._onPointerMove),this.pointerHover(this._getPointer(e)),this.pointerDown(this._getPointer(e)))}function mt(e){this.enabled&&this.pointerMove(this._getPointer(e))}function ht(e){this.enabled&&(this.domElement.releasePointerCapture(e.pointerId),this.domElement.removeEventListener(`pointermove`,this._onPointerMove),this.pointerUp(this._getPointer(e)))}function gt(e,t,n){let r=t.intersectObject(e,!0);for(let e=0;e<r.length;e++)if(r[e].object.visible||n)return r[e];return!1}var _t=new b,q=new C(0,1,0),vt=new C(0,0,0),yt=new d,bt=new F,xt=new F,J=new C,St=new d,Ct=new C(1,0,0),Y=new C(0,1,0),wt=new C(0,0,1),Tt=new C,Et=new C,Dt=new C,Ot=class extends ie{constructor(e){super(),this.isTransformControlsRoot=!0,this.controls=e,this.visible=!1}updateMatrixWorld(e){let t=this.controls;t.object!==void 0&&(t.object.updateMatrixWorld(),t.object.parent===null?console.error(`TransformControls: The attached 3D object must be a part of the scene graph.`):t.object.parent.matrixWorld.decompose(t._parentPosition,t._parentQuaternion,t._parentScale),t.object.matrixWorld.decompose(t.worldPosition,t.worldQuaternion,t._worldScale),t._parentQuaternionInv.copy(t._parentQuaternion).invert(),t._worldQuaternionInv.copy(t.worldQuaternion).invert()),t.camera.updateMatrixWorld(),t.camera.matrixWorld.decompose(t.cameraPosition,t.cameraQuaternion,t._cameraScale),t.camera.isOrthographicCamera?t.camera.getWorldDirection(t.eye).negate():t.eye.copy(t.cameraPosition).sub(t.worldPosition).normalize(),this.parent&&(St.copy(this.parent.matrixWorld).invert(),St.decompose(this.position,this.quaternion,this.scale)),super.updateMatrixWorld(e)}dispose(){this.traverse(function(e){e.geometry&&e.geometry.dispose(),e.material&&e.material.dispose()})}},kt=class extends ie{constructor(){super(),this.isTransformControlsGizmo=!0,this.type=`TransformControlsGizmo`;let e=new R({depthTest:!1,depthWrite:!1,fog:!1,toneMapped:!1,transparent:!0}),t=new ne({depthTest:!1,depthWrite:!1,fog:!1,toneMapped:!1,transparent:!0}),n=e.clone();n.opacity=.15;let r=t.clone();r.opacity=.5;let i=e.clone();i.color.setHex(16711680);let o=e.clone();o.color.setHex(65280);let s=e.clone();s.color.setHex(255);let c=e.clone();c.color.setHex(16711680),c.opacity=.5;let l=e.clone();l.color.setHex(65280),l.opacity=.5;let d=e.clone();d.color.setHex(255),d.opacity=.5;let f=e.clone();f.opacity=.25;let p=e.clone();p.color.setHex(16776960),p.opacity=.25;let m=e.clone();m.color.setHex(16776960);let g=e.clone();g.color.setHex(7895160),this.materialLib={xAxis:i,yAxis:o,zAxis:s,active:m,xAxisTransparent:c,yAxisTransparent:l,zAxisTransparent:d,activeTransparent:p};let v=new _(0,.04,.1,12);v.translate(0,.05,0);let y=new B(.08,.08,.08);y.translate(0,.04,0);let b=new w;b.setAttribute(`position`,new u([0,0,0,1,0,0],3));let x=new _(.0075,.0075,.5,3);x.translate(0,.25,0);function S(e,t){let n=new H(e,.0075,3,64,t*Math.PI*2);return n.rotateY(Math.PI/2),n.rotateX(Math.PI/2),n}function ee(){let e=new w;return e.setAttribute(`position`,new u([0,0,0,1,1,1],3)),e}let C={X:[[new h(v,i),[.5,0,0],[0,0,-Math.PI/2]],[new h(v,i),[-.5,0,0],[0,0,Math.PI/2]],[new h(x,i),[0,0,0],[0,0,-Math.PI/2]]],Y:[[new h(v,o),[0,.5,0]],[new h(v,o),[0,-.5,0],[Math.PI,0,0]],[new h(x,o)]],Z:[[new h(v,s),[0,0,.5],[Math.PI/2,0,0]],[new h(v,s),[0,0,-.5],[-Math.PI/2,0,0]],[new h(x,s),null,[Math.PI/2,0,0]]],XYZ:[[new h(new ae(.1,0),f),[0,0,0]]],XY:[[new h(new B(.15,.15,.01),d),[.15,.15,0]]],YZ:[[new h(new B(.15,.15,.01),c),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new h(new B(.15,.15,.01),l),[.15,0,.15],[-Math.PI/2,0,0]]]},te={X:[[new h(new _(.2,0,.6,4),n),[.3,0,0],[0,0,-Math.PI/2]],[new h(new _(.2,0,.6,4),n),[-.3,0,0],[0,0,Math.PI/2]]],Y:[[new h(new _(.2,0,.6,4),n),[0,.3,0]],[new h(new _(.2,0,.6,4),n),[0,-.3,0],[0,0,Math.PI]]],Z:[[new h(new _(.2,0,.6,4),n),[0,0,.3],[Math.PI/2,0,0]],[new h(new _(.2,0,.6,4),n),[0,0,-.3],[-Math.PI/2,0,0]]],XYZ:[[new h(new ae(.2,0),n)]],XY:[[new h(new B(.2,.2,.01),n),[.15,.15,0]]],YZ:[[new h(new B(.2,.2,.01),n),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new h(new B(.2,.2,.01),n),[.15,0,.15],[-Math.PI/2,0,0]]]},re={START:[[new h(new ae(.01,2),r),null,null,null,`helper`]],END:[[new h(new ae(.01,2),r),null,null,null,`helper`]],DELTA:[[new a(ee(),r),null,null,null,`helper`]],X:[[new a(b,r),[-1e3,0,0],null,[1e6,1,1],`helper`]],Y:[[new a(b,r),[0,-1e3,0],[0,0,Math.PI/2],[1e6,1,1],`helper`]],Z:[[new a(b,r),[0,0,-1e3],[0,-Math.PI/2,0],[1e6,1,1],`helper`]]},T={XYZE:[[new h(S(.5,1),g),null,[0,Math.PI/2,0]]],X:[[new h(S(.5,.5),i)]],Y:[[new h(S(.5,.5),o),null,[0,0,-Math.PI/2]]],Z:[[new h(S(.5,.5),s),null,[0,Math.PI/2,0]]],E:[[new h(S(.75,1),p),null,[0,Math.PI/2,0]]]},oe={AXIS:[[new a(b,r),[-1e3,0,0],null,[1e6,1,1],`helper`]]},se={XYZE:[[new h(new N(.25,10,8),n)]],X:[[new h(new H(.5,.1,4,24),n),[0,0,0],[0,-Math.PI/2,-Math.PI/2]]],Y:[[new h(new H(.5,.1,4,24),n),[0,0,0],[Math.PI/2,0,0]]],Z:[[new h(new H(.5,.1,4,24),n),[0,0,0],[0,0,-Math.PI/2]]],E:[[new h(new H(.75,.1,2,24),n)]]},E={X:[[new h(y,i),[.5,0,0],[0,0,-Math.PI/2]],[new h(x,i),[0,0,0],[0,0,-Math.PI/2]],[new h(y,i),[-.5,0,0],[0,0,Math.PI/2]]],Y:[[new h(y,o),[0,.5,0]],[new h(x,o)],[new h(y,o),[0,-.5,0],[0,0,Math.PI]]],Z:[[new h(y,s),[0,0,.5],[Math.PI/2,0,0]],[new h(x,s),[0,0,0],[Math.PI/2,0,0]],[new h(y,s),[0,0,-.5],[-Math.PI/2,0,0]]],XY:[[new h(new B(.15,.15,.01),d),[.15,.15,0]]],YZ:[[new h(new B(.15,.15,.01),c),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new h(new B(.15,.15,.01),l),[.15,0,.15],[-Math.PI/2,0,0]]],XYZ:[[new h(new B(.1,.1,.1),f)]]},ce={X:[[new h(new _(.2,0,.6,4),n),[.3,0,0],[0,0,-Math.PI/2]],[new h(new _(.2,0,.6,4),n),[-.3,0,0],[0,0,Math.PI/2]]],Y:[[new h(new _(.2,0,.6,4),n),[0,.3,0]],[new h(new _(.2,0,.6,4),n),[0,-.3,0],[0,0,Math.PI]]],Z:[[new h(new _(.2,0,.6,4),n),[0,0,.3],[Math.PI/2,0,0]],[new h(new _(.2,0,.6,4),n),[0,0,-.3],[-Math.PI/2,0,0]]],XY:[[new h(new B(.2,.2,.01),n),[.15,.15,0]]],YZ:[[new h(new B(.2,.2,.01),n),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new h(new B(.2,.2,.01),n),[.15,0,.15],[-Math.PI/2,0,0]]],XYZ:[[new h(new B(.2,.2,.2),n),[0,0,0]]]},le={X:[[new a(b,r),[-1e3,0,0],null,[1e6,1,1],`helper`]],Y:[[new a(b,r),[0,-1e3,0],[0,0,Math.PI/2],[1e6,1,1],`helper`]],Z:[[new a(b,r),[0,0,-1e3],[0,-Math.PI/2,0],[1e6,1,1],`helper`]]};function D(e){let t=new ie;for(let n in e)for(let r=e[n].length;r--;){let i=e[n][r][0].clone(),a=e[n][r][1],o=e[n][r][2],s=e[n][r][3],c=e[n][r][4];i.name=n,i.tag=c,a&&i.position.set(a[0],a[1],a[2]),o&&i.rotation.set(o[0],o[1],o[2]),s&&i.scale.set(s[0],s[1],s[2]),i.updateMatrix();let l=i.geometry.clone();l.applyMatrix4(i.matrix),i.geometry=l,i.renderOrder=1/0,i.position.set(0,0,0),i.rotation.set(0,0,0),i.scale.set(1,1,1),t.add(i)}return t}this.gizmo={},this.picker={},this.helper={},this.add(this.gizmo.translate=D(C)),this.add(this.gizmo.rotate=D(T)),this.add(this.gizmo.scale=D(E)),this.add(this.picker.translate=D(te)),this.add(this.picker.rotate=D(se)),this.add(this.picker.scale=D(ce)),this.add(this.helper.translate=D(re)),this.add(this.helper.rotate=D(oe)),this.add(this.helper.scale=D(le)),this.picker.translate.visible=!1,this.picker.rotate.visible=!1,this.picker.scale.visible=!1}updateMatrixWorld(e){let t=(this.mode===`scale`?`local`:this.space)===`local`?this.worldQuaternion:xt;this.gizmo.translate.visible=this.mode===`translate`,this.gizmo.rotate.visible=this.mode===`rotate`,this.gizmo.scale.visible=this.mode===`scale`,this.helper.translate.visible=this.mode===`translate`,this.helper.rotate.visible=this.mode===`rotate`,this.helper.scale.visible=this.mode===`scale`;let n=[];n=n.concat(this.picker[this.mode].children),n=n.concat(this.gizmo[this.mode].children),n=n.concat(this.helper[this.mode].children);for(let e=0;e<n.length;e++){let r=n[e];r.visible=!0,r.rotation.set(0,0,0),r.position.copy(this.worldPosition);let i;if(i=this.camera.isOrthographicCamera?(this.camera.top-this.camera.bottom)/this.camera.zoom:this.worldPosition.distanceTo(this.cameraPosition)*Math.min(1.9*Math.tan(Math.PI*this.camera.fov/360)/this.camera.zoom,7),r.scale.set(1,1,1).multiplyScalar(i*this.size/4),r.tag===`helper`){r.visible=!1,r.name===`AXIS`?(r.visible=!!this.axis,this.axis===`X`&&(K.setFromEuler(_t.set(0,0,0)),r.quaternion.copy(t).multiply(K),Math.abs(q.copy(Ct).applyQuaternion(t).dot(this.eye))>.9&&(r.visible=!1)),this.axis===`Y`&&(K.setFromEuler(_t.set(0,0,Math.PI/2)),r.quaternion.copy(t).multiply(K),Math.abs(q.copy(Y).applyQuaternion(t).dot(this.eye))>.9&&(r.visible=!1)),this.axis===`Z`&&(K.setFromEuler(_t.set(0,Math.PI/2,0)),r.quaternion.copy(t).multiply(K),Math.abs(q.copy(wt).applyQuaternion(t).dot(this.eye))>.9&&(r.visible=!1)),this.axis===`XYZE`&&(K.setFromEuler(_t.set(0,Math.PI/2,0)),q.copy(this.rotationAxis),r.quaternion.setFromRotationMatrix(yt.lookAt(vt,q,Y)),r.quaternion.multiply(K),r.visible=this.dragging),this.axis===`E`&&(r.visible=!1)):r.name===`START`?(r.position.copy(this.worldPositionStart),r.visible=this.dragging):r.name===`END`?(r.position.copy(this.worldPosition),r.visible=this.dragging):r.name===`DELTA`?(r.position.copy(this.worldPositionStart),r.quaternion.copy(this.worldQuaternionStart),W.set(1e-10,1e-10,1e-10).add(this.worldPositionStart).sub(this.worldPosition).multiplyScalar(-1),W.applyQuaternion(this.worldQuaternionStart.clone().invert()),r.scale.copy(W),r.visible=this.dragging):(r.quaternion.copy(t),this.dragging?r.position.copy(this.worldPositionStart):r.position.copy(this.worldPosition),this.axis&&(r.visible=this.axis.search(r.name)!==-1));continue}if(r.quaternion.copy(t),this.mode===`translate`||this.mode===`scale`){let e=.99,n=.2;r.name===`X`&&Math.abs(q.copy(Ct).applyQuaternion(t).dot(this.eye))>e&&(r.scale.set(1e-10,1e-10,1e-10),r.visible=!1),r.name===`Y`&&Math.abs(q.copy(Y).applyQuaternion(t).dot(this.eye))>e&&(r.scale.set(1e-10,1e-10,1e-10),r.visible=!1),r.name===`Z`&&Math.abs(q.copy(wt).applyQuaternion(t).dot(this.eye))>e&&(r.scale.set(1e-10,1e-10,1e-10),r.visible=!1),r.name===`XY`&&Math.abs(q.copy(wt).applyQuaternion(t).dot(this.eye))<n&&(r.scale.set(1e-10,1e-10,1e-10),r.visible=!1),r.name===`YZ`&&Math.abs(q.copy(Ct).applyQuaternion(t).dot(this.eye))<n&&(r.scale.set(1e-10,1e-10,1e-10),r.visible=!1),r.name===`XZ`&&Math.abs(q.copy(Y).applyQuaternion(t).dot(this.eye))<n&&(r.scale.set(1e-10,1e-10,1e-10),r.visible=!1)}else this.mode===`rotate`&&(bt.copy(t),q.copy(this.eye).applyQuaternion(K.copy(t).invert()),r.name.search(`E`)!==-1&&r.quaternion.setFromRotationMatrix(yt.lookAt(this.eye,vt,Y)),r.name===`X`&&(K.setFromAxisAngle(Ct,Math.atan2(-q.y,q.z)),K.multiplyQuaternions(bt,K),r.quaternion.copy(K)),r.name===`Y`&&(K.setFromAxisAngle(Y,Math.atan2(q.x,q.z)),K.multiplyQuaternions(bt,K),r.quaternion.copy(K)),r.name===`Z`&&(K.setFromAxisAngle(wt,Math.atan2(q.y,q.x)),K.multiplyQuaternions(bt,K),r.quaternion.copy(K)));r.visible=r.visible&&(r.name.indexOf(`X`)===-1||this.showX),r.visible=r.visible&&(r.name.indexOf(`Y`)===-1||this.showY),r.visible=r.visible&&(r.name.indexOf(`Z`)===-1||this.showZ),r.visible=r.visible&&(r.name.indexOf(`E`)===-1||this.showX&&this.showY&&this.showZ),r.visible=r.visible&&(r.name.indexOf(`XY`)===-1||this.showXY),r.visible=r.visible&&(r.name.indexOf(`YZ`)===-1||this.showYZ),r.visible=r.visible&&(r.name.indexOf(`XZ`)===-1||this.showXZ),r.visible=r.visible&&(r.name!==`E`||this.showE),r.visible=r.visible&&(r.name!==`XYZE`||this.showXYZE),r.material._color=r.material._color||r.material.color.clone(),r.material._opacity=r.material._opacity||r.material.opacity,r.material.color.copy(r.material._color),r.material.opacity=r.material._opacity,this.enabled&&this.axis&&(r.name===this.axis||this.axis.split(``).some(function(e){return r.name===e}))&&(r.material.color.copy(this.materialLib.active.color),r.material.opacity=1)}super.updateMatrixWorld(e)}},At=class extends h{constructor(){super(new be(1e5,1e5,2,2),new R({visible:!1,wireframe:!0,side:2,transparent:!0,opacity:.1,toneMapped:!1})),this.isTransformControlsPlane=!0,this.type=`TransformControlsPlane`}updateMatrixWorld(e){let t=this.space;switch(this.position.copy(this.worldPosition),this.mode===`scale`&&(t=`local`),Tt.copy(Ct).applyQuaternion(t===`local`?this.worldQuaternion:xt),Et.copy(Y).applyQuaternion(t===`local`?this.worldQuaternion:xt),Dt.copy(wt).applyQuaternion(t===`local`?this.worldQuaternion:xt),q.copy(Et),this.mode){case`translate`:case`scale`:switch(this.axis){case`X`:q.copy(this.eye).cross(Tt),J.copy(Tt).cross(q);break;case`Y`:q.copy(this.eye).cross(Et),J.copy(Et).cross(q);break;case`Z`:q.copy(this.eye).cross(Dt),J.copy(Dt).cross(q);break;case`XY`:J.copy(Dt);break;case`YZ`:J.copy(Tt);break;case`XZ`:q.copy(Dt),J.copy(Et);break;case`XYZ`:case`E`:J.set(0,0,0)}break;default:J.set(0,0,0)}J.length()===0?this.quaternion.copy(this.cameraQuaternion):(St.lookAt(W.set(0,0,0),J,q),this.quaternion.setFromRotationMatrix(St)),super.updateMatrixWorld(e)}},jt={name:`CopyShader`,uniforms:{tDiffuse:{value:null},opacity:{value:1}},vertexShader:`
|
|
2
|
-
|
|
3
|
-
varying vec2 vUv;
|
|
4
|
-
|
|
5
|
-
void main() {
|
|
6
|
-
|
|
7
|
-
vUv = uv;
|
|
8
|
-
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
|
|
9
|
-
|
|
10
|
-
}`,fragmentShader:`
|
|
11
|
-
|
|
12
|
-
uniform float opacity;
|
|
13
|
-
|
|
14
|
-
uniform sampler2D tDiffuse;
|
|
15
|
-
|
|
16
|
-
varying vec2 vUv;
|
|
17
|
-
|
|
18
|
-
void main() {
|
|
19
|
-
|
|
20
|
-
vec4 texel = texture2D( tDiffuse, vUv );
|
|
21
|
-
gl_FragColor = opacity * texel;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}`},X=class{constructor(){this.isPass=!0,this.enabled=!0,this.needsSwap=!0,this.clear=!1,this.renderToScreen=!1}setSize(){}render(){console.error(`THREE.Pass: .render() must be implemented in derived pass.`)}dispose(){}},Mt=new x(-1,1,1,-1,0,1),Nt=new class extends w{constructor(){super(),this.setAttribute(`position`,new u([-1,3,0,-1,-1,0,3,-1,0],3)),this.setAttribute(`uv`,new u([0,2,0,0,2,0],2))}},Pt=class{constructor(e){this._mesh=new h(Nt,e)}dispose(){this._mesh.geometry.dispose()}render(e){e.render(this._mesh,Mt)}get material(){return this._mesh.material}set material(e){this._mesh.material=e}},Ft=class extends X{constructor(e,t=`tDiffuse`){super(),this.textureID=t,this.uniforms=null,this.material=null,e instanceof j?(this.uniforms=e.uniforms,this.material=e):e&&(this.uniforms=D.clone(e.uniforms),this.material=new j({name:e.name===void 0?`unspecified`:e.name,defines:Object.assign({},e.defines),uniforms:this.uniforms,vertexShader:e.vertexShader,fragmentShader:e.fragmentShader})),this._fsQuad=new Pt(this.material)}render(e,t,n){this.uniforms[this.textureID]&&(this.uniforms[this.textureID].value=n.texture),this._fsQuad.material=this.material,this.renderToScreen?(e.setRenderTarget(null),this._fsQuad.render(e)):(e.setRenderTarget(t),this.clear&&e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil),this._fsQuad.render(e))}dispose(){this.material.dispose(),this._fsQuad.dispose()}},It=class extends X{constructor(e,t){super(),this.scene=e,this.camera=t,this.clear=!0,this.needsSwap=!1,this.inverse=!1}render(e,t,n){let r=e.getContext(),i=e.state;i.buffers.color.setMask(!1),i.buffers.depth.setMask(!1),i.buffers.color.setLocked(!0),i.buffers.depth.setLocked(!0);let a,o;this.inverse?(a=0,o=1):(a=1,o=0),i.buffers.stencil.setTest(!0),i.buffers.stencil.setOp(r.REPLACE,r.REPLACE,r.REPLACE),i.buffers.stencil.setFunc(r.ALWAYS,a,4294967295),i.buffers.stencil.setClear(o),i.buffers.stencil.setLocked(!0),e.setRenderTarget(n),this.clear&&e.clear(),e.render(this.scene,this.camera),e.setRenderTarget(t),this.clear&&e.clear(),e.render(this.scene,this.camera),i.buffers.color.setLocked(!1),i.buffers.depth.setLocked(!1),i.buffers.color.setMask(!0),i.buffers.depth.setMask(!0),i.buffers.stencil.setLocked(!1),i.buffers.stencil.setFunc(r.EQUAL,1,4294967295),i.buffers.stencil.setOp(r.KEEP,r.KEEP,r.KEEP),i.buffers.stencil.setLocked(!0)}},Lt=class extends X{constructor(){super(),this.needsSwap=!1}render(e){e.state.buffers.stencil.setLocked(!1),e.state.buffers.stencil.setTest(!1)}},Rt=class{constructor(e,t){if(this.renderer=e,this._pixelRatio=e.getPixelRatio(),t===void 0){let n=e.getSize(new V);this._width=n.width,this._height=n.height,t=new s(this._width*this._pixelRatio,this._height*this._pixelRatio,{type:S}),t.texture.name=`EffectComposer.rt1`}else this._width=t.width,this._height=t.height;this.renderTarget1=t,this.renderTarget2=t.clone(),this.renderTarget2.texture.name=`EffectComposer.rt2`,this.writeBuffer=this.renderTarget1,this.readBuffer=this.renderTarget2,this.renderToScreen=!0,this.passes=[],this.copyPass=new Ft(jt),this.copyPass.material.blending=0,this.timer=new je}swapBuffers(){let e=this.readBuffer;this.readBuffer=this.writeBuffer,this.writeBuffer=e}addPass(e){this.passes.push(e),e.setSize(this._width*this._pixelRatio,this._height*this._pixelRatio)}insertPass(e,t){this.passes.splice(t,0,e),e.setSize(this._width*this._pixelRatio,this._height*this._pixelRatio)}removePass(e){let t=this.passes.indexOf(e);t!==-1&&this.passes.splice(t,1)}isLastEnabledPass(e){for(let t=e+1;t<this.passes.length;t++)if(this.passes[t].enabled)return!1;return!0}render(e){this.timer.update(),e===void 0&&(e=this.timer.getDelta());let t=this.renderer.getRenderTarget(),n=!1;for(let t=0,r=this.passes.length;t<r;t++){let r=this.passes[t];if(r.enabled!==!1){if(r.renderToScreen=this.renderToScreen&&this.isLastEnabledPass(t),r.render(this.renderer,this.writeBuffer,this.readBuffer,e,n),r.needsSwap){if(n){let t=this.renderer.getContext(),n=this.renderer.state.buffers.stencil;n.setFunc(t.NOTEQUAL,1,4294967295),this.copyPass.render(this.renderer,this.writeBuffer,this.readBuffer,e),n.setFunc(t.EQUAL,1,4294967295)}this.swapBuffers()}It!==void 0&&(r instanceof It?n=!0:r instanceof Lt&&(n=!1))}}this.renderer.setRenderTarget(t)}reset(e){if(e===void 0){let t=this.renderer.getSize(new V);this._pixelRatio=this.renderer.getPixelRatio(),this._width=t.width,this._height=t.height,e=this.renderTarget1.clone(),e.setSize(this._width*this._pixelRatio,this._height*this._pixelRatio)}this.renderTarget1.dispose(),this.renderTarget2.dispose(),this.renderTarget1=e,this.renderTarget2=e.clone(),this.writeBuffer=this.renderTarget1,this.readBuffer=this.renderTarget2}setSize(e,t){this._width=e,this._height=t;let n=this._width*this._pixelRatio,r=this._height*this._pixelRatio;this.renderTarget1.setSize(n,r),this.renderTarget2.setSize(n,r);for(let e=0;e<this.passes.length;e++)this.passes[e].setSize(n,r)}setPixelRatio(e){this._pixelRatio=e,this.setSize(this._width,this._height)}dispose(){this.renderTarget1.dispose(),this.renderTarget2.dispose(),this.copyPass.dispose()}},zt=class extends X{constructor(e,t,n=null,r=null,i=null){super(),this.scene=e,this.camera=t,this.overrideMaterial=n,this.clearColor=r,this.clearAlpha=i,this.clear=!0,this.clearDepth=!1,this.needsSwap=!1,this.isRenderPass=!0,this._oldClearColor=new I}render(e,t,n){let r=e.autoClear;e.autoClear=!1;let i,a;this.overrideMaterial!==null&&(a=this.scene.overrideMaterial,this.scene.overrideMaterial=this.overrideMaterial),this.clearColor!==null&&(e.getClearColor(this._oldClearColor),e.setClearColor(this.clearColor,e.getClearAlpha())),this.clearAlpha!==null&&(i=e.getClearAlpha(),e.setClearAlpha(this.clearAlpha)),this.clearDepth==1&&e.clearDepth(),e.setRenderTarget(this.renderToScreen?null:n),this.clear===!0&&e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil),e.render(this.scene,this.camera),this.clearColor!==null&&e.setClearColor(this._oldClearColor),this.clearAlpha!==null&&e.setClearAlpha(i),this.overrideMaterial!==null&&(this.scene.overrideMaterial=a),e.autoClear=r}},Bt={name:`LuminosityHighPassShader`,uniforms:{tDiffuse:{value:null},luminosityThreshold:{value:1},smoothWidth:{value:1},defaultColor:{value:new I(0)},defaultOpacity:{value:0}},vertexShader:`
|
|
25
|
-
|
|
26
|
-
varying vec2 vUv;
|
|
27
|
-
|
|
28
|
-
void main() {
|
|
29
|
-
|
|
30
|
-
vUv = uv;
|
|
31
|
-
|
|
32
|
-
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
|
|
33
|
-
|
|
34
|
-
}`,fragmentShader:`
|
|
35
|
-
|
|
36
|
-
uniform sampler2D tDiffuse;
|
|
37
|
-
uniform vec3 defaultColor;
|
|
38
|
-
uniform float defaultOpacity;
|
|
39
|
-
uniform float luminosityThreshold;
|
|
40
|
-
uniform float smoothWidth;
|
|
41
|
-
|
|
42
|
-
varying vec2 vUv;
|
|
43
|
-
|
|
44
|
-
void main() {
|
|
45
|
-
|
|
46
|
-
vec4 texel = texture2D( tDiffuse, vUv );
|
|
47
|
-
|
|
48
|
-
float v = luminance( texel.xyz );
|
|
49
|
-
|
|
50
|
-
vec4 outputColor = vec4( defaultColor.rgb, defaultOpacity );
|
|
51
|
-
|
|
52
|
-
float alpha = smoothstep( luminosityThreshold, luminosityThreshold + smoothWidth, v );
|
|
53
|
-
|
|
54
|
-
gl_FragColor = mix( outputColor, texel, alpha );
|
|
55
|
-
|
|
56
|
-
}`},Vt=class e extends X{constructor(e,t=1,n,r){super(),this.strength=t,this.radius=n,this.threshold=r,this.resolution=e===void 0?new V(256,256):new V(e.x,e.y),this.clearColor=new I(0,0,0),this.needsSwap=!1,this.renderTargetsHorizontal=[],this.renderTargetsVertical=[],this.nMips=5;let i=Math.round(this.resolution.x/2),a=Math.round(this.resolution.y/2);this.renderTargetBright=new s(i,a,{type:S}),this.renderTargetBright.texture.name=`UnrealBloomPass.bright`,this.renderTargetBright.texture.generateMipmaps=!1;for(let e=0;e<this.nMips;e++){let t=new s(i,a,{type:S});t.texture.name=`UnrealBloomPass.h`+e,t.texture.generateMipmaps=!1,this.renderTargetsHorizontal.push(t);let n=new s(i,a,{type:S});n.texture.name=`UnrealBloomPass.v`+e,n.texture.generateMipmaps=!1,this.renderTargetsVertical.push(n),i=Math.round(i/2),a=Math.round(a/2)}let o=Bt;this.highPassUniforms=D.clone(o.uniforms),this.highPassUniforms.luminosityThreshold.value=r,this.highPassUniforms.smoothWidth.value=.01,this.materialHighPassFilter=new j({uniforms:this.highPassUniforms,vertexShader:o.vertexShader,fragmentShader:o.fragmentShader}),this.separableBlurMaterials=[];let c=[6,10,14,18,22];i=Math.round(this.resolution.x/2),a=Math.round(this.resolution.y/2);for(let e=0;e<this.nMips;e++)this.separableBlurMaterials.push(this._getSeparableBlurMaterial(c[e])),this.separableBlurMaterials[e].uniforms.invSize.value=new V(1/i,1/a),i=Math.round(i/2),a=Math.round(a/2);this.compositeMaterial=this._getCompositeMaterial(this.nMips),this.compositeMaterial.uniforms.blurTexture1.value=this.renderTargetsVertical[0].texture,this.compositeMaterial.uniforms.blurTexture2.value=this.renderTargetsVertical[1].texture,this.compositeMaterial.uniforms.blurTexture3.value=this.renderTargetsVertical[2].texture,this.compositeMaterial.uniforms.blurTexture4.value=this.renderTargetsVertical[3].texture,this.compositeMaterial.uniforms.blurTexture5.value=this.renderTargetsVertical[4].texture,this.compositeMaterial.uniforms.bloomStrength.value=t,this.compositeMaterial.uniforms.bloomRadius.value=.1;let l=[1,.8,.6,.4,.2];this.compositeMaterial.uniforms.bloomFactors.value=l,this.bloomTintColors=[new C(1,1,1),new C(1,1,1),new C(1,1,1),new C(1,1,1),new C(1,1,1)],this.compositeMaterial.uniforms.bloomTintColors.value=this.bloomTintColors,this.copyUniforms=D.clone(jt.uniforms),this.blendMaterial=new j({uniforms:this.copyUniforms,vertexShader:jt.vertexShader,fragmentShader:jt.fragmentShader,premultipliedAlpha:!0,blending:2,depthTest:!1,depthWrite:!1,transparent:!0}),this._oldClearColor=new I,this._oldClearAlpha=1,this._basic=new R,this._fsQuad=new Pt(null)}dispose(){for(let e=0;e<this.renderTargetsHorizontal.length;e++)this.renderTargetsHorizontal[e].dispose();for(let e=0;e<this.renderTargetsVertical.length;e++)this.renderTargetsVertical[e].dispose();this.renderTargetBright.dispose();for(let e=0;e<this.separableBlurMaterials.length;e++)this.separableBlurMaterials[e].dispose();this.compositeMaterial.dispose(),this.blendMaterial.dispose(),this._basic.dispose(),this._fsQuad.dispose()}setSize(e,t){let n=Math.round(e/2),r=Math.round(t/2);this.renderTargetBright.setSize(n,r);for(let e=0;e<this.nMips;e++)this.renderTargetsHorizontal[e].setSize(n,r),this.renderTargetsVertical[e].setSize(n,r),this.separableBlurMaterials[e].uniforms.invSize.value=new V(1/n,1/r),n=Math.round(n/2),r=Math.round(r/2)}render(t,n,r,i,a){t.getClearColor(this._oldClearColor),this._oldClearAlpha=t.getClearAlpha();let o=t.autoClear;t.autoClear=!1,t.setClearColor(this.clearColor,0),a&&t.state.buffers.stencil.setTest(!1),this.renderToScreen&&(this._fsQuad.material=this._basic,this._basic.map=r.texture,t.setRenderTarget(null),t.clear(),this._fsQuad.render(t)),this.highPassUniforms.tDiffuse.value=r.texture,this.highPassUniforms.luminosityThreshold.value=this.threshold,this._fsQuad.material=this.materialHighPassFilter,t.setRenderTarget(this.renderTargetBright),t.clear(),this._fsQuad.render(t);let s=this.renderTargetBright;for(let n=0;n<this.nMips;n++)this._fsQuad.material=this.separableBlurMaterials[n],this.separableBlurMaterials[n].uniforms.colorTexture.value=s.texture,this.separableBlurMaterials[n].uniforms.direction.value=e.BlurDirectionX,t.setRenderTarget(this.renderTargetsHorizontal[n]),t.clear(),this._fsQuad.render(t),this.separableBlurMaterials[n].uniforms.colorTexture.value=this.renderTargetsHorizontal[n].texture,this.separableBlurMaterials[n].uniforms.direction.value=e.BlurDirectionY,t.setRenderTarget(this.renderTargetsVertical[n]),t.clear(),this._fsQuad.render(t),s=this.renderTargetsVertical[n];this._fsQuad.material=this.compositeMaterial,this.compositeMaterial.uniforms.bloomStrength.value=this.strength,this.compositeMaterial.uniforms.bloomRadius.value=this.radius,this.compositeMaterial.uniforms.bloomTintColors.value=this.bloomTintColors,t.setRenderTarget(this.renderTargetsHorizontal[0]),t.clear(),this._fsQuad.render(t),this._fsQuad.material=this.blendMaterial,this.copyUniforms.tDiffuse.value=this.renderTargetsHorizontal[0].texture,a&&t.state.buffers.stencil.setTest(!0),this.renderToScreen?(t.setRenderTarget(null),this._fsQuad.render(t)):(t.setRenderTarget(r),this._fsQuad.render(t)),t.setClearColor(this._oldClearColor,this._oldClearAlpha),t.autoClear=o}_getSeparableBlurMaterial(e){let t=[],n=e/3;for(let r=0;r<e;r++)t.push(.39894*Math.exp(-.5*r*r/(n*n))/n);return new j({defines:{KERNEL_RADIUS:e},uniforms:{colorTexture:{value:null},invSize:{value:new V(.5,.5)},direction:{value:new V(.5,.5)},gaussianCoefficients:{value:t}},vertexShader:`
|
|
57
|
-
|
|
58
|
-
varying vec2 vUv;
|
|
59
|
-
|
|
60
|
-
void main() {
|
|
61
|
-
|
|
62
|
-
vUv = uv;
|
|
63
|
-
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
|
|
64
|
-
|
|
65
|
-
}`,fragmentShader:`
|
|
66
|
-
|
|
67
|
-
#include <common>
|
|
68
|
-
|
|
69
|
-
varying vec2 vUv;
|
|
70
|
-
|
|
71
|
-
uniform sampler2D colorTexture;
|
|
72
|
-
uniform vec2 invSize;
|
|
73
|
-
uniform vec2 direction;
|
|
74
|
-
uniform float gaussianCoefficients[KERNEL_RADIUS];
|
|
75
|
-
|
|
76
|
-
void main() {
|
|
77
|
-
|
|
78
|
-
float weightSum = gaussianCoefficients[0];
|
|
79
|
-
vec3 diffuseSum = texture2D( colorTexture, vUv ).rgb * weightSum;
|
|
80
|
-
|
|
81
|
-
for ( int i = 1; i < KERNEL_RADIUS; i ++ ) {
|
|
82
|
-
|
|
83
|
-
float x = float( i );
|
|
84
|
-
float w = gaussianCoefficients[i];
|
|
85
|
-
vec2 uvOffset = direction * invSize * x;
|
|
86
|
-
vec3 sample1 = texture2D( colorTexture, vUv + uvOffset ).rgb;
|
|
87
|
-
vec3 sample2 = texture2D( colorTexture, vUv - uvOffset ).rgb;
|
|
88
|
-
diffuseSum += ( sample1 + sample2 ) * w;
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
gl_FragColor = vec4( diffuseSum, 1.0 );
|
|
93
|
-
|
|
94
|
-
}`})}_getCompositeMaterial(e){return new j({defines:{NUM_MIPS:e},uniforms:{blurTexture1:{value:null},blurTexture2:{value:null},blurTexture3:{value:null},blurTexture4:{value:null},blurTexture5:{value:null},bloomStrength:{value:1},bloomFactors:{value:null},bloomTintColors:{value:null},bloomRadius:{value:0}},vertexShader:`
|
|
95
|
-
|
|
96
|
-
varying vec2 vUv;
|
|
97
|
-
|
|
98
|
-
void main() {
|
|
99
|
-
|
|
100
|
-
vUv = uv;
|
|
101
|
-
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
|
|
102
|
-
|
|
103
|
-
}`,fragmentShader:`
|
|
104
|
-
|
|
105
|
-
varying vec2 vUv;
|
|
106
|
-
|
|
107
|
-
uniform sampler2D blurTexture1;
|
|
108
|
-
uniform sampler2D blurTexture2;
|
|
109
|
-
uniform sampler2D blurTexture3;
|
|
110
|
-
uniform sampler2D blurTexture4;
|
|
111
|
-
uniform sampler2D blurTexture5;
|
|
112
|
-
uniform float bloomStrength;
|
|
113
|
-
uniform float bloomRadius;
|
|
114
|
-
uniform float bloomFactors[NUM_MIPS];
|
|
115
|
-
uniform vec3 bloomTintColors[NUM_MIPS];
|
|
116
|
-
|
|
117
|
-
float lerpBloomFactor( const in float factor ) {
|
|
118
|
-
|
|
119
|
-
float mirrorFactor = 1.2 - factor;
|
|
120
|
-
return mix( factor, mirrorFactor, bloomRadius );
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
void main() {
|
|
125
|
-
|
|
126
|
-
// 3.0 for backwards compatibility with previous alpha-based intensity
|
|
127
|
-
vec3 bloom = 3.0 * bloomStrength * (
|
|
128
|
-
lerpBloomFactor( bloomFactors[ 0 ] ) * bloomTintColors[ 0 ] * texture2D( blurTexture1, vUv ).rgb +
|
|
129
|
-
lerpBloomFactor( bloomFactors[ 1 ] ) * bloomTintColors[ 1 ] * texture2D( blurTexture2, vUv ).rgb +
|
|
130
|
-
lerpBloomFactor( bloomFactors[ 2 ] ) * bloomTintColors[ 2 ] * texture2D( blurTexture3, vUv ).rgb +
|
|
131
|
-
lerpBloomFactor( bloomFactors[ 3 ] ) * bloomTintColors[ 3 ] * texture2D( blurTexture4, vUv ).rgb +
|
|
132
|
-
lerpBloomFactor( bloomFactors[ 4 ] ) * bloomTintColors[ 4 ] * texture2D( blurTexture5, vUv ).rgb
|
|
133
|
-
);
|
|
134
|
-
|
|
135
|
-
float bloomAlpha = max( bloom.r, max( bloom.g, bloom.b ) );
|
|
136
|
-
gl_FragColor = vec4( bloom, bloomAlpha );
|
|
137
|
-
|
|
138
|
-
}`})}};Vt.BlurDirectionX=new V(1,0),Vt.BlurDirectionY=new V(0,1);var Ht={name:`OutputShader`,uniforms:{tDiffuse:{value:null},toneMappingExposure:{value:1}},vertexShader:`
|
|
139
|
-
precision highp float;
|
|
140
|
-
|
|
141
|
-
uniform mat4 modelViewMatrix;
|
|
142
|
-
uniform mat4 projectionMatrix;
|
|
143
|
-
|
|
144
|
-
attribute vec3 position;
|
|
145
|
-
attribute vec2 uv;
|
|
146
|
-
|
|
147
|
-
varying vec2 vUv;
|
|
148
|
-
|
|
149
|
-
void main() {
|
|
150
|
-
|
|
151
|
-
vUv = uv;
|
|
152
|
-
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
|
|
153
|
-
|
|
154
|
-
}`,fragmentShader:`
|
|
155
|
-
|
|
156
|
-
precision highp float;
|
|
157
|
-
|
|
158
|
-
uniform sampler2D tDiffuse;
|
|
159
|
-
|
|
160
|
-
#include <tonemapping_pars_fragment>
|
|
161
|
-
#include <colorspace_pars_fragment>
|
|
162
|
-
|
|
163
|
-
varying vec2 vUv;
|
|
164
|
-
|
|
165
|
-
void main() {
|
|
166
|
-
|
|
167
|
-
gl_FragColor = texture2D( tDiffuse, vUv );
|
|
168
|
-
|
|
169
|
-
// tone mapping
|
|
170
|
-
|
|
171
|
-
#ifdef LINEAR_TONE_MAPPING
|
|
172
|
-
|
|
173
|
-
gl_FragColor.rgb = LinearToneMapping( gl_FragColor.rgb );
|
|
174
|
-
|
|
175
|
-
#elif defined( REINHARD_TONE_MAPPING )
|
|
176
|
-
|
|
177
|
-
gl_FragColor.rgb = ReinhardToneMapping( gl_FragColor.rgb );
|
|
178
|
-
|
|
179
|
-
#elif defined( CINEON_TONE_MAPPING )
|
|
180
|
-
|
|
181
|
-
gl_FragColor.rgb = CineonToneMapping( gl_FragColor.rgb );
|
|
182
|
-
|
|
183
|
-
#elif defined( ACES_FILMIC_TONE_MAPPING )
|
|
184
|
-
|
|
185
|
-
gl_FragColor.rgb = ACESFilmicToneMapping( gl_FragColor.rgb );
|
|
186
|
-
|
|
187
|
-
#elif defined( AGX_TONE_MAPPING )
|
|
188
|
-
|
|
189
|
-
gl_FragColor.rgb = AgXToneMapping( gl_FragColor.rgb );
|
|
190
|
-
|
|
191
|
-
#elif defined( NEUTRAL_TONE_MAPPING )
|
|
192
|
-
|
|
193
|
-
gl_FragColor.rgb = NeutralToneMapping( gl_FragColor.rgb );
|
|
194
|
-
|
|
195
|
-
#elif defined( CUSTOM_TONE_MAPPING )
|
|
196
|
-
|
|
197
|
-
gl_FragColor.rgb = CustomToneMapping( gl_FragColor.rgb );
|
|
198
|
-
|
|
199
|
-
#endif
|
|
200
|
-
|
|
201
|
-
// color space
|
|
202
|
-
|
|
203
|
-
#ifdef SRGB_TRANSFER
|
|
204
|
-
|
|
205
|
-
gl_FragColor = sRGBTransferOETF( gl_FragColor );
|
|
206
|
-
|
|
207
|
-
#endif
|
|
208
|
-
|
|
209
|
-
}`},Ut=class extends X{constructor(){super(),this.isOutputPass=!0,this.uniforms=D.clone(Ht.uniforms),this.material=new ce({name:Ht.name,uniforms:this.uniforms,vertexShader:Ht.vertexShader,fragmentShader:Ht.fragmentShader}),this._fsQuad=new Pt(this.material),this._outputColorSpace=null,this._toneMapping=null}render(e,t,n){this.uniforms.tDiffuse.value=n.texture,this.uniforms.toneMappingExposure.value=e.toneMappingExposure,(this._outputColorSpace!==e.outputColorSpace||this._toneMapping!==e.toneMapping)&&(this._outputColorSpace=e.outputColorSpace,this._toneMapping=e.toneMapping,this.material.defines={},i.getTransfer(this._outputColorSpace)===`srgb`&&(this.material.defines.SRGB_TRANSFER=``),this._toneMapping===1?this.material.defines.LINEAR_TONE_MAPPING=``:this._toneMapping===2?this.material.defines.REINHARD_TONE_MAPPING=``:this._toneMapping===3?this.material.defines.CINEON_TONE_MAPPING=``:this._toneMapping===4?this.material.defines.ACES_FILMIC_TONE_MAPPING=``:this._toneMapping===6?this.material.defines.AGX_TONE_MAPPING=``:this._toneMapping===7?this.material.defines.NEUTRAL_TONE_MAPPING=``:this._toneMapping===5&&(this.material.defines.CUSTOM_TONE_MAPPING=``),this.material.needsUpdate=!0),this.renderToScreen===!0?(e.setRenderTarget(null),this._fsQuad.render(e)):(e.setRenderTarget(t),this.clear&&e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil),this._fsQuad.render(e))}dispose(){this.material.dispose(),this._fsQuad.dispose()}};function Wt(e,t,n){let r=new Ce;e===`rect`?(r.moveTo(-t,-n),r.lineTo(t,-n),r.lineTo(t,n),r.lineTo(-t,n),r.closePath()):r.absellipse(0,0,t,n,0,Math.PI*2);let i=new ve(r,e===`rect`?1:56);return i.rotateX(Math.PI/2),i}function Gt(e,t,n,i=13){let a=Math.max(4,t-i),o=Math.max(4,n-i),s=new Ce,c=new r;e===`rect`?(s.moveTo(-t,-n),s.lineTo(t,-n),s.lineTo(t,n),s.lineTo(-t,n),s.closePath(),c.moveTo(-a,-o),c.lineTo(a,-o),c.lineTo(a,o),c.lineTo(-a,o),c.closePath()):(s.absellipse(0,0,t,n,0,Math.PI*2),c.absellipse(0,0,a,o,0,Math.PI*2)),s.holes.push(c);let l=new ve(s,e===`rect`?1:56);return l.rotateX(Math.PI/2),l}function Kt(e){let t=e.rotationY*Math.PI/180;e.platform.rotation.set(0,t,0),e.padRing.rotation.set(0,t,0);let n=e.platform.geometry;e.platform.geometry=Wt(e.shape,e.radiusX,e.radiusZ),n.dispose();let r=e.padRing.geometry;e.padRing.geometry=Gt(e.shape,e.radiusX,e.radiusZ),r.dispose()}function qt(e){return`#${e.toString(16).padStart(6,`0`)}`}function Z(e,t,n,r,i,a=`#41c8f4`){let o=document.createElement(`canvas`),s=o.getContext(`2d`),c=`600 21px "Geist Mono", Geist, "PingFang SC", monospace`;s.font=c;let u=Math.max(104,Math.ceil(s.measureText(t).width)+26+14);o.width=u,o.height=48,s.font=c,s.fillStyle=`rgba(10,14,20,0.8)`,s.fillRect(0,0,u,48),s.strokeStyle=`${a}66`,s.lineWidth=1,s.strokeRect(.5,.5,u-1,47),s.fillStyle=a,s.fillRect(0,0,3,48),s.fillStyle=`#dce7f0`,s.textAlign=`left`,s.textBaseline=`middle`,s.fillText(t,26,25);let d=new l(o);d.colorSpace=ge;let f=new me(new se({map:d,transparent:!0,depthTest:!1}));return f.scale.set(u/6,8,1),f.position.set(n,r,i),e.add(f),f}function Jt(e,t){let n=new g,r=new T({color:2766146,roughness:.45,metalness:.65}),i=new h(new _(7,9,5,12),r);i.position.y=2.5;let a=new h(new _(1.6,1.6,30,8),r);a.position.y=18;let o=new h(new ae(6.5),new R({color:t}));return o.material.color.multiplyScalar(4.5),o.position.y=37,n.add(i,a,o),n}function Yt(e,t,n,r){let i=r.rotationY*Math.PI/180,a=new h(Wt(r.shape,r.radiusX,r.radiusZ),new T({color:n,transparent:!0,opacity:.24,roughness:.85,metalness:.12,emissive:n,emissiveIntensity:.12,side:2}));a.rotation.set(0,i,0),a.position.set(r.x,.16,r.z),a.receiveShadow=!1,e.add(a);let o=new h(Gt(r.shape,r.radiusX,r.radiusZ),new R({color:n,transparent:!0,opacity:.52,side:2,depthWrite:!1}));o.rotation.set(0,i,0),o.position.set(r.x,.34,r.z),e.add(o);let s=Jt(e,n);return s.position.set(r.x,0,r.z),e.add(s),{platform:a,padRing:o,beacon:s}}function Xt(){let e=new h(new O(20,26,32),new R({color:16172115,transparent:!0,opacity:.8,side:2}));e.rotation.x=-Math.PI/2,e.position.y=.3;let t=new h(new O(20,26,32,1,0,Math.PI*1.5),new R({color:3530912,transparent:!0,opacity:.55,side:2,depthWrite:!1,blending:2}));return t.rotation.x=-Math.PI/2,t.position.y=.34,t.visible=!1,{ring:e,arc:t}}function Zt(e){let t=new g,n=new T({color:10465992,metalness:.85,roughness:.32}),r=new T({color:7636636,metalness:.35,roughness:.5}),i=new T({color:5596282,metalness:.4,roughness:.55}),a=new T({color:2831426,metalness:.7,roughness:.45}),o=new T({color:14674162,metalness:1,roughness:.14}),s=new T({color:12941893,metalness:.9,roughness:.35}),c=new R({color:4311284});c.color.multiplyScalar(5);let l=(e,t,n,r)=>{let i=new h(new B(e*34,t*34,n*34),r);return i.castShadow=!0,i},u=(e,t,n,r,i=20)=>{let a=new h(new _(e*34,t*34,n*34,i),r);return a.castShadow=!0,a},d=(e,n,r,i)=>(e.position.set(n*34,r*34,i*34),t.add(e),e);d(u(.17,.22,.09,a),0,.045,0),d(u(.028,.028,.95,n,10),0,.55,0);let f=new h(new H(3.06,.68,10,28),new R({color:3530912}));if(f.material.color.multiplyScalar(6),f.rotation.x=Math.PI/2,t.add(f),f.position.y=34.68,e.endsWith(`temp-tc`)){d(l(.24,.32,.24,r),0,1.2,0);let e=d(u(.014,.014,.4,n,8),.14,.85,0);e.rotation.z=-.5}else if(e.endsWith(`pressure-tx`))d(u(.13,.16,.3,n),0,1.22,0),d(u(.12,.12,.05,a),0,1.4,0),d(l(.05,.05,.2,s),0,1.1,.2);else if(e.endsWith(`tension-cell`)){d(l(.34,.2,.2,r),0,1.25,0);for(let e of[-.11,.11]){let t=d(u(.06,.06,.26,o),e,1.25,0);t.rotation.x=Math.PI/2}}else if(e.endsWith(`line-encoder`)){d(l(.34,.05,.05,n),.14,1.28,0);let e=d(u(.16,.16,.05,a),.32,1.28,0);e.rotation.z=Math.PI/2,d(new h(new H(.1*34,.51,10,26),f.material),.35,1.28,0)}else if(e.endsWith(`vision-cam`)){d(l(.28,.2,.36,i),0,1.3,0);let e=d(u(.07,.09,.14,a),0,1.3,.24);e.rotation.x=Math.PI/2,d(new h(new H(2.55,.012*34,10,24),f.material),0,1.3,.3)}else e.endsWith(`power-meter`)&&(d(l(.32,.42,.18,r),0,1.3,0),d(u(.012,.012,.42,n,8),.1,1.7,0),d(new h(new N(.028*34,10,8),f.material),.1,1.92,0),d(l(.2,.06,.02,c),0,1.42,.1));return{group:t,ledRing:f}}function Qt(){let e=new g,t=new T({color:2766146,roughness:.42,metalness:.62}),n=new T({color:1317668,roughness:.6,metalness:.4}),r=new R({color:4311284}),i=new h(new c(.42,.62,8,16),t);i.position.y=.86;let a=new h(new N(.32,16,12),t);a.position.y=1.62;let o=new h(new B(.4,.1,.12),r);o.position.set(0,1.66,.27);let s=new h(new N(.14,12,8),r);s.position.set(0,1.1,.36);let l=new h(new _(.5,.62,.26,16),n);l.position.y=.16;let u=new h(new _(.03,.03,.5,6),n);u.position.set(0,2.04,0);let d=new h(new N(.08,10,8),r);return d.position.set(0,2.34,0),e.add(i,a,o,s,l,u,d),e}function $t(e){let t=1024,n=document.createElement(`canvas`);n.width=t,n.height=t;let r=n.getContext(`2d`),i=r.createLinearGradient(0,0,t,t);i.addColorStop(0,`#151f36`),i.addColorStop(.5,`#101a2d`),i.addColorStop(1,`#131c31`),r.fillStyle=i,r.fillRect(0,0,t,t),r.strokeStyle=`rgba(42,63,102,0.32)`,r.lineWidth=2;for(let e=0;e<=8;e++){let n=e/8*t;r.beginPath(),r.moveTo(n,0),r.lineTo(n,t),r.stroke(),r.beginPath(),r.moveTo(0,n),r.lineTo(t,n),r.stroke()}r.strokeStyle=`rgba(42,63,102,0.2)`,r.lineWidth=1;for(let e=0;e<=32;e++){let n=e/32*t;r.beginPath(),r.moveTo(n,0),r.lineTo(n,t),r.stroke(),r.beginPath(),r.moveTo(0,n),r.lineTo(t,n),r.stroke()}r.fillStyle=`rgba(255,255,255,0.02)`;for(let e=0;e<900;e++){let n=e*733%t,i=e*151%t;r.fillRect(n,i,2,2)}let a=new l(n);return a.colorSpace=ge,a.wrapS=Ee,a.wrapT=Ee,a.repeat.set(23,17),a.anisotropy=Math.min(8,e.capabilities.getMaxAnisotropy()),a}function en(){let e=document.createElement(`canvas`);e.width=1024,e.height=256;let t=e.getContext(`2d`),n=t.createLinearGradient(0,0,0,256);n.addColorStop(0,`#080d16`),n.addColorStop(.4,`#121b27`),n.addColorStop(.64,`#22303e`),n.addColorStop(.84,`#3b4b5b`),n.addColorStop(1,`#2a3644`),t.fillStyle=n,t.fillRect(0,0,e.width,e.height);let r=20260831,i=()=>(r=(r*1103515245+12345)%2147483648,r/2147483648);for(let n=0;n<220;n++){let n=i()*e.width,r=i()*i()*118,a=i()<.88?1:2,o=.12+i()*.5;t.fillStyle=i()<.24?`rgba(160,220,255,${o.toFixed(2)})`:`rgba(232,240,250,${o.toFixed(2)})`,t.beginPath(),t.arc(n,r,a,0,Math.PI*2),t.fill()}let a=new l(e);a.colorSpace=ge;let o=new N(5600,24,16),s=new R({map:a,side:1,fog:!1,depthWrite:!1}),c=new h(o,s);return c.position.set(z,0,P),c.renderOrder=-10,c}function tn(e,t){try{let n=e.material;return n.map=$t(t),n.color.set(16777215),n.roughness=.94,n.metalness=.06,n.envMapIntensity=.28,n.needsUpdate=!0,!0}catch{}return!1}function nn(e){e.renderer=new le({antialias:!0,alpha:!0,powerPreference:`high-performance`}),e.renderer.setPixelRatio(Math.min(window.devicePixelRatio,2)),e.renderer.setSize(e.el.clientWidth||1100,e.el.clientHeight||700),e.renderer.shadowMap.enabled=!0,e.renderer.shadowMap.type=2,e.renderer.shadowMap.autoUpdate=!1,e.renderer.outputColorSpace=ge,e.renderer.toneMapping=4,e.renderer.toneMappingExposure=1.12,e.renderer.info.autoReset=!1,e.el.appendChild(e.renderer.domElement),e.resizeOb=new ResizeObserver(()=>{let t=e.el.clientWidth,n=e.el.clientHeight;t<2||n<2||(e.renderer.setSize(t,n),e.composer.setSize(t,n),e.camera.aspect=t/n,e.camera.updateProjectionMatrix(),e.markDirty())}),e.resizeOb.observe(e.el);let t=null;e.renderer.domElement.addEventListener(`pointerdown`,e=>{t=e.button===0?{x:e.clientX,y:e.clientY}:null}),e.renderer.domElement.addEventListener(`pointerup`,n=>{if(n.button!==0||e.pointerDrag||e.tControls?.dragging)return;if(t&&Math.hypot(n.clientX-t.x,n.clientY-t.y)>8){t=null;return}t=null;let r=e.screenToWorld(n.clientX,n.clientY),i=e.pickBeacon(r.x,r.z);if(i){e.setSelected(null),e.selectChannel(i.cid),e.focusTo(i.x,i.z);return}let a=e.pickAt(r.x,r.z);if(a){e.setSelected(a),e.selectedChannel&&e.selectChannel(null);return}let o=e.pickChannel(r.x,r.z);e.setSelected(null),o&&e.mode===`edit`&&e.selectChannel(o)}),e.renderer.domElement.addEventListener(`dblclick`,t=>{if(e.pointerDrag)return;let n=e.screenToWorld(t.clientX,t.clientY),r=e.pickAt(n.x,n.z);if(r?.kind===`agent`){let t=e.agents.get(r.id);t&&e.focusTo(t.root.position.x,t.root.position.z)}else if(r?.kind===`device`){let t=e.deviceNodes.get(r.id);t&&e.focusTo(t.root.position.x,t.root.position.z)}else{let t=e.pickChannel(n.x,n.z),r=t?e.blocks.get(t):void 0;r&&(e.selectChannel(t),e.focusTo(r.x,r.z))}}),e.scene=new de,e.scene.background=new I(659224),e.scene.fog=new p(1779766,1400,8800);try{let t=new Ne(e.renderer);e.scene.environment=t.fromScene(new De,.04).texture,e.scene.environmentIntensity=.42,t.dispose()}catch{}e.skyDome=en(),e.scene.add(e.skyDome);for(let t=0;t<4;t++){let n=new h(new H(16,6,8,20),new R({color:16172115,transparent:!0,opacity:.95,depthTest:!1}));n.rotation.x=Math.PI/2,n.position.y=1.4,n.visible=!1,e.scene.add(n),e.resizeHandles.push({mesh:n,cid:``,handle:t})}for(let t=0;t<4;t++){let n=new h(new H(10,4,8,16),new R({color:4311284,transparent:!0,opacity:.95,depthTest:!1}));n.rotation.x=Math.PI/2,n.position.y=1.2,n.visible=!1,e.scene.add(n),e.agentRangeHandles.push({mesh:n,agentId:``,handle:t})}let n=new h(new O(.92,1,56),new R({color:16172115,transparent:!0,opacity:.85,side:2,depthWrite:!1,blending:2}));n.rotation.x=-Math.PI/2,n.position.y=.5,n.visible=!1,n.renderOrder=5,e.scene.add(n),e.selRing=n,e.camera=new fe(55,(e.el.clientWidth||1100)/(e.el.clientHeight||700),1,12e3),e.camera.position.set(z,760,P+900),e.camera.lookAt(z,20,P);let r=new ut(e.camera,e.renderer.domElement);r.size=.85,r.setMode(`translate`),r.showY=!1,r.addEventListener(`dragging-changed`,t=>{if(!t.value){let t=e.selected;t?.kind===`device`&&e.deviceNodes.has(t.id)&&e.persistDeviceTransform(t.id)}}),r.addEventListener(`objectChange`,()=>{let t=e.selected;if(!t||t.kind!==`device`)return;let n=e.deviceNodes.get(t.id);if(n){if(r.mode===`scale`&&Math.abs(n.root.scale.x-1)>1e-4){let r=e.scalables.get(`device:${t.id}`)?.userScale??1;e.setModelScale(t.id,Math.min(50,Math.max(.02,r*n.root.scale.x)),`device`),n.root.scale.set(1,1,1)}e.markDirty()}}),e.tControls=r,e.scene.add(r.getHelper()),e.scene.add(new Me(13690094,1.6));let i=new Pe(10471400,3813157,.7);e.scene.add(i);let a=new v(16774368,3.2);a.position.set(z+500,900,P+300),a.castShadow=!0,e.keyLight=a,a.shadow.mapSize.set(2048,2048),a.shadow.camera.left=-1400,a.shadow.camera.right=1400,a.shadow.camera.top=2e3,a.shadow.camera.bottom=-2e3,a.shadow.normalBias=2,a.shadow.bias=-2e-4,a.shadow.radius=6,e.scene.add(a);let o=new v(8961023,.75);o.position.set(z-1200,900,P-800),e.scene.add(o);let c=new v(4311284,1.4);c.position.set(z-1400,620,P-1e3),e.scene.add(c);let l=new v(3530912,.4);l.position.set(z+700,380,P+900),e.scene.add(l);let u=new T({color:16777215,roughness:.62,metalness:.3,envMapIntensity:.42});e.ground=new h(new be(L*16,E*16),u),e.ground.rotation.x=-Math.PI/2,e.ground.receiveShadow=!0,e.scene.add(e.ground),e.scene.add(e.daqLinkGroup,e.filmWebGroup);let d=new s(1,1,{type:S,samples:4});e.composer=new Rt(e.renderer,d),e.composer.setPixelRatio(e.renderer.getPixelRatio()),e.composer.setSize(e.el.clientWidth||1100,e.el.clientHeight||700),e.composer.addPass(new zt(e.scene,e.camera)),e.composer.addPass(new Vt(new V(e.el.clientWidth||1100,e.el.clientHeight||700),.32,.35,3)),e.composer.addPass(new Ut),tn(e.ground,e.renderer)&&e.markDirty()}function rn(e,t,n,r,i,a){e.dbgBubbles.push({text:i,at:Date.now()}),e.dbgBubbles.length>30&&e.dbgBubbles.splice(0,e.dbgBubbles.length-30),e.lastActivity={channelId:t,agentName:(n?e.agents.get(n)?.name:void 0)??e.blocks.get(t)?.name??`系统`,text:i,at:Date.now()},e.recentActivity.push(e.lastActivity),e.recentActivity.length>30&&e.recentActivity.splice(0,e.recentActivity.length-30),e.emit(`lastActivity`,e.lastActivity);let o=e.receivers.get(t);o||(o={channelId:t,queue:[],current:null,currentUntil:0},e.receivers.set(t,o)),o.queue.length>=24&&o.queue.splice(0,o.queue.length-24),o.queue.push({agentId:n??null,kind:r,text:i,ttlMs:a}),e.markDirty()}function an(e,t){for(let n of e.receivers.values()){if(n.current){if(t<n.currentUntil)continue;on(e,n.channelId,n.current),n.current=null}let r=n.queue.shift();r&&(n.current=r,n.currentUntil=t+_e(r.text,n.queue.length),sn(e,n.channelId,r))}}function on(e,t,n){if(!n.agentId)return;let r=e.agents.get(n.agentId);r?.bubble&&(e.scene.remove(r.bubble),r.bubble=null,r.bubbleText=null,r.bubbleTimer&&=(clearTimeout(r.bubbleTimer),null))}function sn(e,t,n){let r=n.agentId?e.agents.get(n.agentId):void 0,i=e.blocks.get(t);if(!r&&!i)return;let a=r?.name??i?.name??`系统`,o=r?r.colorNum:i?.color??4311284,s=(n.kind===`artifact`&&!n.text.startsWith(`📦`)?`📦 ${n.text}`:n.text)||`…`,c=cn(s,a,o,n.kind),l=r?.root.position.x??i.x,u=r?.root.position.z??i.z;if(c.position.set(l,r?108+Math.max(0,r.model.scale.y-1)*22:64,u),e.scene.add(c),!r){window.setTimeout(()=>{e.scene.remove(c)},ue(n.text)+500);return}r.bubble&&(e.scene.remove(r.bubble),e.disposeCanvasTextures(r.bubble),r.bubbleText=null),r.bubble=c,r.bubbleText=s,ln(e,c),e.markDirty()}function cn(e,t,n,r){let i=`#${n.toString(16).padStart(6,`0`)}`,a=document.createElement(`canvas`),o=a.getContext(`2d`),s=`18px Geist, "PingFang SC", sans-serif`;o.font=s;let c=un(o,e.replace(/\s+/g,` `).trim()||`…`,470,6),u=Math.max(...c.map(e=>o.measureText(e).width)),d=Math.min(680,Math.max(140,Math.ceil(u)+36)),f=26+c.length*24+24,p=f+13;a.width=d,a.height=p,o.clearRect(0,0,d,p);let m=d/2,h=Math.min(24,d*.32),g=()=>{o.beginPath(),o.moveTo(4,0),o.lineTo(d-4,0),o.quadraticCurveTo(d,0,d,4),o.lineTo(d,f-4),o.quadraticCurveTo(d,f,d-4,f),o.lineTo(m+h/2,f),o.lineTo(m,f+13),o.lineTo(m-h/2,f),o.lineTo(4,f),o.quadraticCurveTo(0,f,0,f-4),o.lineTo(0,4),o.quadraticCurveTo(0,0,4,0),o.closePath()};o.save(),o.shadowColor=`rgba(0,0,0,0.55)`,o.shadowBlur=14,o.shadowOffsetY=4,g(),o.fillStyle=`rgba(14,18,27,0.94)`,o.fill(),o.restore(),o.save(),g(),o.clip(),o.fillStyle=`rgba(255,255,255,0.045)`,o.fillRect(0,0,d,38),o.restore(),o.globalAlpha=.28,o.fillStyle=`#fff`,o.fillRect(18,30,d-36,1),o.globalAlpha=1,g(),o.lineWidth=1.2,o.strokeStyle=`rgba(140,170,195,0.4)`,o.stroke(),o.save(),g(),o.clip(),o.fillStyle=i,o.fillRect(0,0,3,f),o.restore(),o.font=`600 13px "Geist Mono", Geist, "PingFang SC", monospace`,o.fillStyle=i,o.textBaseline=`middle`,o.textAlign=`left`,o.fillText(t,18,22);let _=r===`artifact`?`ARTIFACT`:r===`error`?`FAULT`:``;if(_){let e=o.measureText(_).width+12;o.font=`600 10px "Geist Mono", Geist, monospace`,o.fillStyle=r===`error`?`#ff8d80`:`#9fc3e8`,o.strokeStyle=r===`error`?`rgba(255,141,128,0.55)`:`rgba(159,195,232,0.45)`,o.lineWidth=1;let t=d-18-e;o.beginPath(),o.rect(t,14,e,16),o.fill(),o.stroke(),o.textAlign=`center`,o.fillText(_,t+e/2,22.5)}o.font=s,o.fillStyle=r===`error`?`#ff9d9d`:`#eef2fb`,o.textAlign=`left`,c.forEach((e,t)=>o.fillText(e,18,48+t*24));let v=new l(a);v.colorSpace=ge;let y=new me(new se({map:v,transparent:!0,depthTest:!1,depthWrite:!1})),b=2.4;return y.scale.set(d/b,p/b,1),y}function ln(e,t){let n=t.scale.x,r=t.scale.y;t.scale.set(n*.62,r*.62,1);let i=performance.now(),a=()=>{if(e.disposed)return;let o=Math.min(1,(performance.now()-i)/180),s=.62+.38*(1-(1-o)**3);t.scale.set(n*s,r*s,1),o<1&&e.pushAnim(a)};e.pushAnim(a)}function un(e,t,n,r){let i=[],a=``;for(let o of t)if(e.measureText(a+o).width>n&&a){if(i.push(a),a=o,i.length>=r)return i[r-1]=`${i[r-1]??``}…`,i}else a+=o;return a&&i.push(a),i.length===0&&i.push(`…`),i}var dn=new C,fn=new C,pn=new C;function mn(e){if(e.topYCache!=null)return e.topYCache;let t=new o().setFromObject(e.holder),n=Number.isFinite(t.max.y)?Math.max(40,t.max.y):64;return e.topYCache=n,n}function hn(e,t){e.daqLinksWanted=t;let n=t.filter(t=>e.deviceNodes.has(t.daqId)&&e.deviceNodes.has(t.deviceId)),r=n.map(e=>`${e.daqId}>${e.deviceId}`).sort().join(`|`);if(r!==e.daqLinkSig){e.daqLinkSig=r;for(let t of e.daqLinks)e.daqLinkGroup.remove(t.line),e.daqLinkGroup.remove(t.pulse),t.line.geometry.dispose();e.daqLinks=[];for(let t of n){let n=e.deviceNodes.get(t.daqId),r=e.deviceNodes.get(t.deviceId),i=new C(n.root.position.x,42,n.root.position.z),o=new C(r.root.position.x,mn(r)+6,r.root.position.z),s=i.clone().add(o).multiplyScalar(.5);s.y=Math.max(i.y,o.y)+42;let c=new we(i,s,o),l=new w().setFromPoints(c.getPoints(28)),u=new a(l,new f({color:3530912,transparent:!0,opacity:.55,dashSize:8,gapSize:5}));u.computeLineDistances();let d=new h(new N(2.6,10,8),new R({color:4311284}));d.material.color.multiplyScalar(5),e.daqLinkGroup.add(u,d),e.daqLinks.push({...t,line:u,pulse:d,curve:c,pt:Math.random(),ptSig:``})}e.markDirty()}}function gn(e){for(let t of e.daqLinks){let n=e.deviceNodes.get(t.daqId),r=e.deviceNodes.get(t.deviceId);if(!n||!r)continue;let i=mn(r)+6,a=`${Math.round(n.root.position.x)},${Math.round(n.root.position.z)},${Math.round(r.root.position.x)},${Math.round(r.root.position.z)},${Math.round(i)}`;if(a===t.ptSig)continue;t.ptSig=a;let o=dn.set(n.root.position.x,42,n.root.position.z),s=fn.set(r.root.position.x,i,r.root.position.z),c=pn.copy(o).add(s).multiplyScalar(.5);c.y=Math.max(o.y,s.y)+42,t.curve.v0.copy(o),t.curve.v1.copy(c),t.curve.v2.copy(s);let l=t.curve.getPoints(28);t.line.geometry.setFromPoints(l),t.line.computeLineDistances()}}function _n(e){let t=e.toLowerCase();return/extruder|caster|mdo|tdo|winder/.test(t)}function vn(e){let t=[...e.deviceNodes.values()].filter(e=>_n(e.modelRef)&&!e.modelRef.startsWith(`daq-`)).sort((e,t)=>e.root.position.x-t.root.position.x),n=t.map(e=>`${e.twinId}:${Math.round(e.root.position.x)},${Math.round(e.root.position.z)}`).join(`|`);if(n!==e.filmWebSig){for(e.filmWebSig=n;e.filmWebGroup.children.length;){let t=e.filmWebGroup.children[0];e.filmWebGroup.remove(t),t.geometry.dispose()}e.filmWebMat||=new T({color:11196671,metalness:.1,roughness:.35,transparent:!0,opacity:.28,emissive:2845583,emissiveIntensity:.25,side:2,depthWrite:!1});for(let n=0;n<t.length-1;n++){let r=t[n].root.position,i=t[n+1].root.position,a=Math.abs(i.x-r.x)-110;if(a<30)continue;let o=new h(new B(a,1.2,46),e.filmWebMat);o.position.set((r.x+i.x)/2,48,(r.z+i.z)/2),e.filmWebGroup.add(o)}e.markDirty()}}function yn(t,r){if(r.type===`channel.snapshot`)return;if(r.type===`scene.layout.saved`){let e=r.payload;t.blocks.has(e.channelId)&&(t.applySceneLayouts([...t.layouts.values(),e]),t.getChannelLayout(e.channelId)&&t.updateChannelLayout(e.channelId,e));return}if(r.type===`scene.layout.removed`){let{channelId:e}=r.payload;t.removeChannel(e);return}let i=e(r);if(!i)return;if(i.agentId){let e=t.agents.get(i.agentId);e&&(r.type===`agent.status`&&(e.state=r.payload.state,e.state!==`busy`&&(e.progress=null)),r.type===`task.progress`&&(e.progress=r.payload.progress),t.dirty=!0)}i.bubble&&t.enqueueBubble(i.bubble.channelId,i.bubble.agentId,i.bubble.kind,i.bubble.text,i.bubble.ttlMs),Sn(t,r);let a=n(r,{resolveTaskAssignee:t.resolveTaskAssignee??void 0});a&&bn(t,a)}function bn(e,t){let n=e.agents.get(t.fromId),r=e.agents.get(t.toId);!n||!r||n.dragging||(n.behavior.mode=`approach`,n.behavior.targetId=r.agentId,n.behavior.action=t,r.dragging||(r.behavior.engaged=!0,r.behavior.roamTarget=null),e.emit(`behavior`,{agentName:n.name,action:xn(t.kind),targetName:r.name}))}function xn(e){return e===`task`?`下发任务`:`回复`}function Sn(e,t){let n=e.blocks.get(t.channelId),r=t.agentId?e.agents.get(t.agentId):void 0,i=r?.root.position.x??n?.x,a=r?.root.position.z??n?.z;i!==void 0&&a!==void 0&&(t.type===`agent.message`||t.type===`agent.status.message`||t.type===`a2a.message`?Cn(e,i,a,r?4311284:n?.color??4311284):t.type===`error`||t.type===`task.status`&&(t.payload.state===`failed`||t.payload.state===`canceled`)?Cn(e,i,a,16739179):t.type===`task.status`&&t.payload.state===`completed`&&wn(e,i,a,3530912))}function Cn(e,t,n,r){let i=new h(new O(10,22,24),new R({color:r,transparent:!0,opacity:.8,side:2,depthWrite:!1}));i.rotation.x=-Math.PI/2,i.position.set(t,.4,n),e.scene.add(i);let a=performance.now(),o=()=>{let t=Math.min(1,(performance.now()-a)/800),n=1-(1-t)**3;if(i.scale.setScalar(1+n*1.6),i.material.opacity=.8*(1-n),t>=1){e.scene.remove(i),i.geometry.dispose(),i.material.dispose();return}e.pushAnim(o)};e.pushAnim(o)}function wn(e,t,n,r){let i=new _(6,12,120,16);i.translate(0,60,0);let a=new h(i,new R({color:r,transparent:!0,opacity:.8,depthWrite:!1}));a.position.set(t,0,n),a.scale.y=.01,e.scene.add(a);let o=performance.now(),s=()=>{let t=Math.min(1,(performance.now()-o)/900),n=1-(1-t)**2;if(a.scale.y=.01+n*.99,a.material.opacity=.8*(1-t),t>=1){e.scene.remove(a),a.geometry.dispose(),a.material.dispose();return}e.pushAnim(s)};e.pushAnim(s)}function Tn(e){return{blocks:e.blocks.size,agents:[...e.agents.values()].map(e=>({agentId:e.agentId,name:e.name,role:e.role,channelId:e.channelId,state:e.state,progress:e.progress,x:Math.round(e.root.position.x),y:Math.round(e.root.position.z),visible:!0,draggable:!0,auraColor:e.colorNum,behavior:e.behavior.mode,targetId:e.behavior.targetId,homeX:Math.round(e.homeX),homeY:Math.round(e.homeZ),textureKey:e.textureKey,modelRef:e.modelRef,decorated:!e.channelId,range:e.range?{x:Math.round(e.range.x),z:Math.round(e.range.z),radiusX:Math.round(e.range.radiusX),radiusZ:Math.round(e.range.radiusZ),shape:e.range.shape}:null,bubbleText:e.bubbleText,anim:e.animState})),bubbles:e.dbgBubbles.slice(-8),activity:e.lastActivity,player:{x:Math.round(e.camera.position.x),y:Math.round(e.camera.position.z)}}}function En(e){let t=e=>e===`alarm`?16739179:e===`offline`?8689317:e===`running`?3530912:16172115;return{world:{w:L,h:E},blocks:[...e.blocks.values()].map(e=>({x:e.x/L,y:e.z/E,color:e.color,name:e.name,shape:e.shape,rx:e.radiusX/L,rz:e.radiusZ/E,rot:e.rotationY})),agents:[...e.agents.values()].map(e=>({x:e.root.position.x/L,y:e.root.position.z/E,color:e.colorNum,busy:e.state===`busy`})),devices:[...e.deviceNodes.values()].map(e=>({twinId:e.twinId,x:e.root.position.x/L,y:e.root.position.z/E,color:t(e.state),state:e.state,daq:e.modelRef.startsWith(`daq-`)||e.modelRef.includes(`daq`),bound:!1})),player:{x:e.camTarget.x/L,y:e.camTarget.z/E}}}function Dn(e){return[...e.recentActivity]}function On(e,t){return new Promise((n,r)=>{e.load(t,e=>n({scene:e.scene,animations:e.animations??[]}),void 0,r)})}async function kn(e,t,n,r){try{let i=await On(e.gltfLoader,t),a=new o().setFromObject(i.scene),s=r/Math.max(.5,a.max.y-a.min.y);i.scene.scale.setScalar(s),i.scene.position.y=0,i.scene.traverse(e=>{e.isMesh&&(e.castShadow=!0)}),An(e,i.scene,`device`),i.scene.traverse(e=>{e!==i.scene&&(e.matrixAutoUpdate=!1,e.updateMatrix())}),n.add(i.scene)}catch{}}function An(e,t,n){t.traverse(e=>{let t=e;if(!t.isMesh)return;t.receiveShadow=!0;let r=e=>{let t=e,r;if(t?.isMeshBasicMaterial){if(n===`device`&&/led|lamp|light/i.test(t.name??``)){let e=t.userData??={};return e.hdrBoost||=(t.color.multiplyScalar(4.5),!0),t}r=new T({map:t.map??null,color:t.color.clone().multiplyScalar(n===`character`?.38:.5),transparent:t.transparent,opacity:t.opacity,alphaTest:t.alphaTest,side:t.side,roughness:n===`character`?.92:.6,metalness:n===`character`?0:.25}),r.name=t.name??``,t.dispose()}else{let t=e;if(!t||!(`envMapIntensity`in t))return e;r=t}if(n===`character`)return r.envMapIntensity=.45,r.metalness>.3&&(r.metalness=0),r;if(r.transparent)return r.envMapIntensity=.42,r.emissive&&r.emissive.setScalar(Math.max(r.emissive.r,.06)),r;if(r.metalness>=.5)return r.envMapIntensity=.85,r;if(r.isMeshPhysicalMaterial){let e=r;return e.clearcoat=.35,e.clearcoatRoughness=.4,e.envMapIntensity=.7,e.needsUpdate=!0,e}let i=new m({color:r.color,map:r.map,normalMap:r.normalMap,roughnessMap:r.roughnessMap,aoMap:r.aoMap,emissive:r.emissive,emissiveMap:r.emissiveMap,emissiveIntensity:r.emissiveIntensity,roughness:Math.min(r.roughness,.55),metalness:r.metalness,clearcoat:.35,clearcoatRoughness:.4});return i.name=r.name,i.side=r.side,r.dispose(),i};t.material=Array.isArray(t.material)?t.material.map(r):r(t.material)}),e.markDirty()}function Q(e,t,n,r){let i=Te(e,t,n,48).map(([e,t])=>new C(e,0,t)),a=new w().setFromPoints(i);return new te(a,new ne({color:r,transparent:!0,opacity:.75,depthTest:!1}))}var jn=class{channelId;name;x;z;radiusX;radiusZ;shape;rotationY;color;platform;padRing;beacon;boundary;label;members=[];host;constructor(e){Object.assign(this,e)}layout(){return{channelId:this.channelId,x:this.x,z:this.z,radiusX:this.radiusX,radiusZ:this.radiusZ,shape:this.shape,rotationY:this.rotationY}}normLayout(){return M(this.layout())}handlePoints(){return this.shape===`rect`?[[this.radiusX,this.radiusZ],[-this.radiusX,this.radiusZ],[-this.radiusX,-this.radiusZ],[this.radiusX,-this.radiusZ]]:[[this.radiusX,0],[-this.radiusX,0],[0,this.radiusZ],[0,-this.radiusZ]]}pointIn(e,t){return pe(this.layout(),e,t)}moveBy(e,t){this.x+=e,this.z+=t,this.platform.position.set(this.x,.16,this.z),this.padRing.position.set(this.x,.32,this.z),this.beacon.position.set(this.x,0,this.z),this.boundary.position.set(this.x,.3,this.z),this.boundary.rotation.y=this.rotationY*Math.PI/180,this.label.position.set(this.x,30,this.z);for(let n of this.members)n.root.position.x+=e,n.root.position.z+=t,n.homeX+=e,n.homeZ+=t,n.range&&(n.range.x+=e,n.range.z+=t,n.renderRangeLine());this.host.trackLayout(this)}applyPatch(e){e.x!==void 0&&(this.x=e.x),e.z!==void 0&&(this.z=e.z),e.radiusX!==void 0&&(this.radiusX=e.radiusX),e.radiusZ!==void 0&&(this.radiusZ=e.radiusZ),e.shape!==void 0&&(this.shape=e.shape),e.rotationY!==void 0&&(this.rotationY=e.rotationY)}clampMembersAndRanges(){let e=this.layout();for(let t of this.members){let n=A(e,t.root.position.x,t.root.position.z,16);if(t.root.position.x=n.x,t.root.position.z=n.z,t.homeX=n.x,t.homeZ=n.z,t.range){t.renderRangeLine();let e=k(t.range,t.homeX,t.homeZ,0);(e.x!==t.homeX||e.z!==t.homeZ)&&(t.homeX=e.x,t.homeZ=e.z,t.root.position.x=e.x,t.root.position.z=e.z)}}this.host.markDirty()}},Mn=class{channelId;agentId;name;role;root;model;mixer;clips;colorNum;nameSprite;bubble;bubbleText;bubbleTimer;state;progress;behavior;dragging;homeX;homeZ;range;rangeLine;textureKey;modelRef;animState=`idle`;activeAction=null;host;moving=!1;aura=null;auraMats=[];auraPhase=0;attachAura(e,t){let n=new g,r=[],i=(t,i,a,o)=>{let s=new R({color:e,transparent:!0,opacity:o,side:2,depthWrite:!1,blending:2});s.userData.baseOp=o,r.push(s);let c=new h(new O(t,i,44),s);c.rotation.x=-Math.PI/2,c.position.y=a,n.add(c)};i(34,40,.36,.26),t===`lead`&&i(46,50,.42,.2),this.root.add(n),this.aura=n,this.auraMats=r,this.auraPhase=Math.random()*Math.PI*2}constructor(e){Object.assign(this,e)}reached(e){return Math.hypot(this.root.position.x-e.x,this.root.position.z-e.z)<=48}driveToward(e,n,r){this.moving=!0;let i={x:this.root.position.x,z:this.root.position.z},a=t({x:i.x,y:i.z},{x:e.x,y:e.z},n,r),o=a.x,s=a.y;if(this.range){let e=k(this.range,o,s,6);o=e.x,s=e.z}else{let e=this.host.blockLayoutOf(this.channelId);if(e){let t=A(e,o,s,6);o=t.x,s=t.z}}this.root.position.x=o,this.root.position.z=s;let c=a.dir===`left`?Math.PI:0,l=this.root.rotation.y,u=c-l;u>Math.PI?u-=Math.PI*2:u<-Math.PI&&(u+=Math.PI*2);let d=r*3.2;this.root.rotation.y=l+Math.max(-d,Math.min(d,u))}update(e){this.moving=!1;try{this.updateBehavior(e)}finally{this.playWalkAnim(this.moving)}}updateBehavior(e){let t=this.behavior;if(t.mode===`idle`||t.mode===`roam`){if(t.engaged||this.dragging)return;if(t.mode=`roam`,!t.roamTarget){if(performance.now()<t.pauseUntil)return;let e=this.host.blockLayoutOf(this.channelId),n,r;if(this.range){n=this.homeX+(Math.random()*2-1)*this.range.radiusX*.9,r=this.homeZ+(Math.random()*2-1)*this.range.radiusZ*.9;let e=k(this.range,n,r,8);n=e.x,r=e.z}else{let t=e?Math.min(e.radiusX,e.radiusZ)*.45:80;if(n=this.homeX+(Math.random()*2-1)*t,r=this.homeZ+(Math.random()*2-1)*t*.6,e){let t=A(e,n,r,16);n=t.x,r=t.z}}t.roamTarget={x:n,z:r}}this.driveToward(t.roamTarget,48,e),this.reached(t.roamTarget)&&(t.roamTarget=null,t.pauseUntil=performance.now()+350+Math.random()*900);return}if(t.mode===`approach`){let n=t.targetId?this.host.getAgent(t.targetId):void 0;if(!n){t.mode=`idle`;return}let r={x:n.root.position.x,z:n.root.position.z};if(this.range){let e=k(this.range,r.x,r.z,8);r={x:e.x,z:e.z}}this.driveToward(r,96,e),this.reached(r)&&(this.host.deliverBehavior(this,n),t.action?.requireReply?(t.mode=`wait`,t.waitUntil=performance.now()+ye):(t.mode=`returnHome`,this.host.releaseEngaged(this),t.targetId=null));return}if(t.mode===`wait`){if(this.dragging)return;let n=t.targetId?this.host.getAgent(t.targetId):void 0;if(n&&!n.dragging){let t={x:n.root.position.x+28,z:n.root.position.z+8};this.driveToward(t,96*.6,e)}performance.now()>=t.waitUntil&&(t.mode=`returnHome`,this.host.releaseEngaged(this));return}if(t.mode===`returnHome`){if(this.dragging)return;let n={x:this.homeX,z:this.homeZ};this.driveToward(n,96*.7,e),this.reached(n)&&(this.root.position.set(this.homeX,0,this.homeZ),t.mode=`idle`,t.targetId=null,t.action=void 0)}}playWalkAnim(e){let t=e?`walk`:`idle`;this.animState!==t&&(this.animState=t,this.host.notifyMotion(this));let n=()=>{let t=performance.now(),n=1.2+Math.sin(t*.0016)*1.6,r=Math.abs(Math.sin(t*.005))*6;this.model.position.y=e?r:n;let i=e?Math.sin(t*.006)*.07:0;this.model.rotation.z+=(i-this.model.rotation.z)*.12};if(this.clips.length===0){n();return}if(!this.mixer)return;let r=e=>e.name.toLowerCase(),i=e?this.clips.find(e=>/walk|run|move/.test(r(e)))??this.clips[Math.min(1,this.clips.length-1)]:this.clips.find(e=>/idle|stand|breath/.test(r(e)))??(this.clips.length>1?this.clips[0]:null);if(!i){this.activeAction&&=(this.activeAction.fadeOut(.15),null),n();return}let a=this.mixer.clipAction(i);if(this.activeAction===a){a.timeScale=e?1.3:.9;return}a.reset().setEffectiveTimeScale(e?1.3:.9).fadeIn(.15).play(),this.activeAction&&this.activeAction.fadeOut(.15),this.activeAction=a}setHome(e,t){this.homeX=e,this.homeZ=t}renderRangeLine(){if(this.rangeLine&&=(this.host.threeScene.remove(this.rangeLine),null),!this.range)return;let e=4311284,t=Q(this.range.shape,this.range.radiusX,this.range.radiusZ,e);t.material=new f({color:e,transparent:!0,opacity:.75,depthTest:!1,dashSize:14,gapSize:9}),t.computeLineDistances(),t.position.set(this.range.x,.5,this.range.z),t.rotation.y=this.range.rotationY*Math.PI/180,t.visible=this.host.rangeLineVisibleFor(this),this.host.threeScene.add(t),this.rangeLine=t,this.host.markDirty()}attachBubble(e,t){this.bubble&&(this.host.threeScene.remove(this.bubble),this.bubbleText=null),this.bubble=e,this.bubbleText=t}clearBubble(){this.bubble&&(this.host.threeScene.remove(this.bubble),this.bubble=null,this.bubbleText=null)}},Nn=class{twinId;name;modelRef;root;holder;ring;arc=null;label;state;telemetry;host;constructor(e){Object.assign(this,e)}topYCache=null;lineColor=``;applyLine=null;updateRing(){let e=this.ring.material;this.lineColor?e.color.set(this.lineColor):e.color.setHex(this.state===`alarm`?16739179:this.state===`offline`?8689317:this.state===`running`?3530912:16172115),this.arc&&(this.arc.visible=this.state===`running`)}applyTwin(e){e.state&&(this.state=e.state),e.telemetry&&(this.telemetry={...this.telemetry,...e.telemetry}),e.name&&e.name!==this.name&&this.host.renameDeviceSprite(this,e.name),e.modelRef&&e.modelRef!==this.modelRef&&this.host.swapDeviceModelSprite(this,e.modelRef),(e.lineColor??``)!==this.lineColor&&(this.lineColor=e.lineColor??``,this.applyLine?.(this.lineColor)),this.updateRing(),this.host.markDirty()}rememberTransform(){return{posX:Math.round(this.root.position.x*10)/10,posZ:Math.round(this.root.position.z*10)/10,rotationY:Math.round(re.radToDeg(this.root.rotation.y)*10)/10}}};function Pn(e,t,n){t.name=n.trim(),e.scene.remove(t.label),t.label=Z(e.scene,`⚙ ${t.name}`,t.root.position.x,60,t.root.position.z),e.markDirty()}function Fn(e,t,n){let r=e.modelsById.get(n);r?.file&&(t.modelRef!==n||t.holder.userData.modelFile!==r.file)&&(t.modelRef=n,t.holder.clear(),t.holder.userData.modelFile=r.file,kn(e,r.file,t.holder,192),e.markDirty())}function In(e,t,n,r,i,a){let o=`dev-${Date.now().toString(36)}`,s=new g;s.position.set(t,0,n);let{ring:c,arc:l}=Xt();s.add(c,l);let u=new g;s.add(u),u.userData.modelFile=i;let d=Z(e.scene,`⚙ ${a}`,t,60,n);e.scene.add(s);let f=new Nn({twinId:o,name:a,modelRef:r,root:s,holder:u,ring:c,label:d,state:`idle`,telemetry:{}});f.host=e,f.arc=l,f.updateRing(),e.deviceNodes.set(o,f),e.registerScalable(`device`,o,u),kn(e,i,u,192);let p=e.scalables.get(`device:${o}`),m=e.devices?.create({name:a,modelRef:r,kind:`device`,controls:[`power_on`,`power_off`,`set_speed`],posX:Math.round(t*10)/10,posZ:Math.round(n*10)/10,scale:p?Math.round(p.userScale*100)/100:1});return m?(e.pendingDeviceCreates.set(o,{name:a,modelRef:r,posX:t,posZ:n}),m.then(t=>{let n=e.cancelledDeviceCreates.delete(o);if(e.pendingDeviceCreates.delete(o),n){e.devices?.remove?.(t.id).catch(()=>{});return}e.disposed||Ln(e,o,t.id)}).catch(()=>{e.cancelledDeviceCreates.delete(o),e.pendingDeviceCreates.delete(o)}),o):o}function Ln(e,t,n){e.pendingDeviceCreates.delete(t);let r=e.deviceNodes.get(t);if(!r)return;let i=e.deviceNodes.get(n);if(i&&i!==r){Zn(e,t),e.selected?.kind===`device`&&e.selected.id===t&&e.setSelected({kind:`device`,id:n});return}e.deviceNodes.delete(t),r.twinId=n,e.deviceNodes.set(n,r);let a=e.scalables.get(`device:${t}`);e.scalables.delete(`device:${t}`),a&&(a.id=n,e.scalables.set(`device:${n}`,a));let o=e.pendingSaveTimers.get(t);e.pendingSaveTimers.delete(t),o&&e.pendingSaveTimers.set(n,o),e.pointerDrag?.kind===`device`&&e.pointerDrag.id===t&&(e.pointerDrag.id=n),e.selected?.kind===`device`&&e.selected.id===t&&e.setSelected({kind:`device`,id:n}),Gn(e,n)}function Rn(e,t,n,r){let i=e.deviceNodes.get(t);i&&(n&&(i.state=n,i.updateRing()),r&&(i.telemetry={...i.telemetry,...r}),e.markDirty())}function zn(e,t,n){let r=e.deviceNodes.get(t);!r||!n.trim()||n.trim()===r.name||e.renameDeviceSprite(r,n)}function Bn(e,t,n){let r=e.deviceNodes.get(t);r&&e.swapDeviceModelSprite(r,n)}function Vn(e,t){return e.deviceNodes.get(t)?.name??``}function Hn(e,t){return e.deviceNodes.get(t)?.modelRef??``}async function Un(e,t){if(e.deviceNodes.get(t)){if(e.pendingDeviceCreates.has(t)){e.cancelledDeviceCreates.add(t),Zn(e,t);return}try{await e.devices?.remove?.(t)}catch{}Zn(e,t)}}function Wn(e){return[...e.deviceNodes.values()].map(e=>({twinId:e.twinId,name:e.name,x:Math.round(e.root.position.x),z:Math.round(e.root.position.z),topY:Math.round(mn(e)),state:e.state,telemetry:e.telemetry}))}function Gn(e,t){let n=e.deviceNodes.get(t);if(!n||!e.devices?.update||e.pendingDeviceCreates.has(t))return;let r=e.scalables.get(`device:${t}`),i=e.pendingSaveTimers.get(t);i&&clearTimeout(i),e.pendingSaveTimers.set(t,setTimeout(()=>{e.pendingSaveTimers.delete(t),!(e.disposed||e.pendingDeviceCreates.has(t))&&(e.emitSaveState(`saving`),e.devices.update(t,{posX:Math.round(n.root.position.x*10)/10,posZ:Math.round(n.root.position.z*10)/10,rotationY:Math.round(re.radToDeg(n.root.rotation.y)*10)/10,scale:r?Math.round(r.userScale*100)/100:void 0}).then(()=>e.emitSaveState(`saved`,Date.now())).catch(()=>e.emitSaveState(`error`)))},350)),e.emitSaveState(`dirty`)}function Kn(e){for(let t of[...e.deviceNodes.keys()])Gn(e,t)}function qn(e,t){let n=new Set(t.map(e=>e.id));for(let t of[...e.deviceNodes.keys()])!n.has(t)&&!e.pendingDeviceCreates.has(t)&&Zn(e,t);for(let n of t){let t=e.deviceNodes.get(n.id);if(!t){let r=[...e.pendingDeviceCreates.entries()].find(([,e])=>e.name===n.name&&e.modelRef===n.modelRef);r&&(Ln(e,r[0],n.id),t=e.deviceNodes.get(n.id))}if(!t){(n.kind===`daq`||(n.modelRef??``).startsWith(`daq-`)||(n.modelRef??``).startsWith(`dcw-`)||Jn(e,n.modelRef)?.file)&&typeof n.posX==`number`&&typeof n.posZ==`number`?Yn(e,n):e.pendingDeviceTwins.set(n.id,n);continue}if(e.pendingDeviceTwins.delete(n.id),t.applyTwin(n),e.pointerDrag?.id!==n.id){let r=typeof n.posX==`number`&&n.posX!==t.root.position.x||typeof n.posZ==`number`&&n.posZ!==t.root.position.z;typeof n.posX==`number`&&(t.root.position.x=n.posX),typeof n.posZ==`number`&&(t.root.position.z=n.posZ),typeof n.rotationY==`number`&&(t.root.rotation.y=n.rotationY*Math.PI/180);let i=e.scalables.get(`device:${n.id}`);typeof n.scale==`number`&&i&&(i.userScale=n.scale,i.holder.scale.setScalar(n.scale)),r&&e.markDirty()}e.markDirty()}e.daqLinksWanted.length&&e.syncDaqLinks(e.daqLinksWanted);for(let t of[...e.pendingDeviceTwins.keys()])n.has(t)||e.pendingDeviceTwins.delete(t)}function Jn(e,t){let n=e.modelsById.get(t);if(n?.file)return{id:n.id,file:n.file,hFactor:n.hFactor??1};for(let[n,r]of e.modelsById)if(!(r.kind!==`dev`||!r.file)&&(n===`dev-folder-${t}`||n.endsWith(`-${t}`)))return{id:n,file:r.file,hFactor:r.hFactor??1};return null}function Yn(e,t){if(t.kind===`daq`||(t.modelRef??``).startsWith(`daq-`)||(t.modelRef??``).startsWith(`dcw-`)){Xn(e,t);return}let n=Jn(e,t.modelRef),r=n?.file??``;if(!r)return;let i=typeof t.posX==`number`?t.posX:z,a=typeof t.posZ==`number`?t.posZ:P,o=new g;o.position.set(i,0,a),o.rotation.y=typeof t.rotationY==`number`?t.rotationY*Math.PI/180:0;let{ring:s,arc:c}=Xt();o.add(s,c);let l=new g;o.add(l);let u=Z(e.scene,`⚙ ${t.name}`,i,60,a);l.userData.modelFile=r,e.scene.add(o);let d=new Nn({twinId:t.id,name:t.name,modelRef:t.modelRef,root:o,holder:l,ring:s,label:u,state:t.state??`idle`,telemetry:t.telemetry??{}});d.host=e,d.arc=c,d.updateRing(),e.deviceNodes.set(t.id,d),e.registerScalable(`device`,t.id,l,typeof t.scale==`number`?t.scale:void 0),kn(e,r,l,192*(n?.hFactor??1)),e.markDirty()}function Xn(e,t){let n=typeof t.posX==`number`?t.posX:z,r=typeof t.posZ==`number`?t.posZ:P,i=new g;i.position.set(n,0,r),i.rotation.y=typeof t.rotationY==`number`?t.rotationY*Math.PI/180:0;let{group:a,ledRing:o}=Zt(t.modelRef);i.add(a);let s=new h(new O(16,21,36),new R({color:3530912,transparent:!0,opacity:.5,side:2,depthWrite:!1}));s.rotation.x=-Math.PI/2,s.position.y=.35,i.add(s);let c=new h(new O(24,34,48),new R({color:3530912,transparent:!0,opacity:.16,side:2,depthWrite:!1,blending:2}));c.rotation.x=-Math.PI/2,c.position.y=.28,i.add(c);let l=t.lineColor||`#35e0a0`,u=Z(e.scene,t.name,n,62,r,l);e.scene.add(i);let d=new Nn({twinId:t.id,name:t.name,modelRef:t.modelRef,root:i,holder:i,ring:s,label:u,state:t.state??`running`,telemetry:t.telemetry??{}});d.host=e,d.lineColor=t.lineColor??``,d.applyLine=t=>{let n=new I(t||`#35e0a0`);s.material.color.copy(n),c.material.color.copy(n),o.material.color.copy(n).multiplyScalar(6),e.scene.remove(u),u.material.dispose();let r=Z(e.scene,d.name,i.position.x,62,i.position.z,t||`#35e0a0`);d.label=r,e.scene.add(r),e.markDirty()},t.lineColor&&d.applyLine(t.lineColor),d.updateRing(),e.deviceNodes.set(t.id,d),e.daqLedRings.set(t.id,o),e.registerScalable(`device`,t.id,i,typeof t.scale==`number`?t.scale:void 0),e.markDirty()}function Zn(e,t){let n=e.deviceNodes.get(t);n&&(e.scene.remove(n.root),e.scene.remove(n.label),e.disposeDeviceAssets(n),e.selected?.kind===`device`&&e.selected.id===t&&e.setSelected(null),e.scalables.delete(`device:${t}`),e.deviceNodes.delete(t),e.daqLedRings.delete(t),e.daqLinkSig=``,e.filmWebSig=``,e.markDirty())}function Qn(e,t,n,r,i){let a=t.agentId;if(e.agents.has(a))return;let o=e.blockLayoutOf(t.channelId),s=t.homeX??n,c=t.homeZ??r;if(o){let e=A(o,s,c,20);s=e.x,c=e.z}let l=t.range??null,u=new g;u.position.set(s,0,c);let d=Z(e.scene,t.name,s,48,c,qt(i)),f=t.modelRef||`hero-anime-1`,p=new g;u.add(p),e.scene.add(u);let m=new Mn({channelId:t.channelId,agentId:a,name:t.name,role:t.role,root:u,model:p,mixer:null,clips:[],colorNum:i,nameSprite:d,bubble:null,bubbleText:null,bubbleTimer:null,state:t.state,progress:t.currentTaskProgress??null,dragging:!1,homeX:s,homeZ:c,range:l,rangeLine:null,textureKey:f,modelRef:t.modelRef??``,behavior:{mode:`idle`,roamTarget:null,targetId:null,waitUntil:0,pauseUntil:0,engaged:!1}});m.host=e,m.attachAura(i,t.role),e.agents.set(a,m);let h=e.modelsById.get(f)??(f.startsWith(`hero-anime-`)?{id:f,file:`/assets/game/character/${f}.glb`,name:`二次元角色`}:e.modelsById.get(`hero-3d`)??{id:`hero-3d`,file:`/assets/game/character/hero-3d.glb`,name:`标准员工模型`});$(e,m,h.file,h.name),m.renderRangeLine(),e.emit(`agentCount`,e.agents.size)}async function $(e,t,n,r){let i=e.gltfCache.get(n),a,s;if(i)a=i.scene.clone(!0),s=i.height;else try{let t=await On(e.gltfLoader,n);a=t.scene;let r=new o().setFromObject(a);s=Math.max(.5,r.max.y-r.min.y),e.gltfCache.set(n,{file:n,scene:a,height:s}),e.agentAnimClips.set(n,t.animations)}catch{a=Qt(),s=1.4}a.position.y=0,a.scale.setScalar(120/s),a.traverse(e=>{e.isMesh&&(e.castShadow=!0)}),e.enhancePbrMaterials(a,`character`),t.model.clear(),t.model.add(a),e.registerScalable(`agent`,t.agentId,t.model),t.mixer=null,t.activeAction=null;let c=e.agentAnimClips.get(n)??[],l=c[0];if(l){t.mixer=new ee(a),t.clips=c;let e=t.mixer.clipAction(l);e.play(),t.activeAction=e}e.markDirty()}function $n(e,t){if(e.disposed)return;let n=new Set;for(let r of t){let t=e.modelsById.get(r.id);(!t||t.file!==r.file||t.name!==r.name||t.kind!==r.kind||t.hFactor!==(r.hFactor??1))&&(e.modelsById.set(r.id,{...r,hFactor:r.hFactor??1}),n.add(r.id))}if(n.size>0){for(let t of e.agents.values()){if(!t.modelRef||!n.has(t.modelRef))continue;let r=e.modelsById.get(t.modelRef);r&&$(e,t,r.file,r.name)}for(let t of e.deviceNodes.values())n.has(t.modelRef)&&e.swapDeviceModelSprite(t,t.modelRef)}for(let t of[...e.pendingDeviceTwins.values()])!(t.kind===`daq`||(t.modelRef??``).startsWith(`daq-`))&&!e.modelsById.get(t.modelRef)?.file||(e.pendingDeviceTwins.delete(t.id),e.recreateDeviceNode(t))}function er(e,t,n){let r=e.agents.get(t);if(!r)return;let i=e.modelsById.get(n),a=i?.file??`/assets/game/character/hero-3d.glb`;r.modelRef=n,r.textureKey=n,$(e,r,a,i?.name??n)}function tr(e,t,n){let r=e.agents.get(t);if(!r||r.clips.length===0||!r.mixer)return;let i=r.clips.findIndex(e=>e.name.toLowerCase().includes(n.toLowerCase()));i<0&&(i=n===`work`?r.clips.length-1:n===`walk`?Math.min(1,r.clips.length-1):0);let a=r.clips[i];a&&(r.mixer.stopAllAction(),r.mixer.clipAction(a).reset().play())}function nr(e,t){return e.agents.get(t)?.modelRef??null}function rr(e,t){return e.agents.get(t)?.name??t.slice(0,8)}function ir(e,t){let n=e.agents.get(t);return n?n.clips.map(e=>({name:e.name,duration:Math.round(e.duration*10)/10})):[]}function ar(e,t,n,r){let i=or(e,t,n,80),a=e.modelsById.get(r),o=a?.id??r;return a?.kind===`dev`?{mode:`spawn`,agentId:e.spawnDeviceNode(t,n,o,a.file,a.name),textureKey:o,x:Math.round(t),y:Math.round(n)}:i?(sr(e,i,o),e.enqueueBubble(i.channelId,i.agentId,`info`,`换装 → ${a?.name??r}`,2200),{mode:`rebind`,agentId:i.agentId,textureKey:o,x:Math.round(i.root.position.x),y:Math.round(i.root.position.z)}):(cr(e,t,n,o,(a??{id:r,file:``,name:r}).name),{mode:`spawn`,textureKey:o,x:Math.round(t),y:Math.round(n)})}function or(e,t,n,r){let i,a=r;for(let r of e.agents.values()){let e=Math.hypot(r.root.position.x-t,r.root.position.z-n);e<a&&(i=r,a=e)}return i}function sr(e,t,n){let r=e.modelsById.get(n),i=r?.file??lr(e,n)??`/assets/game/character/hero-3d.glb`;t.modelRef=n,t.textureKey=n,$(e,t,i,r?.name??n)}function cr(e,t,n,r,i){let a=new g;a.position.set(t,0,n);let o=new g;a.add(o);let s=Z(e.scene,i,t,48,n,qt(16771524));e.scene.add(a);let c=new Mn({channelId:``,agentId:`resident-${Date.now().toString(36)}`,name:i,role:`worker`,root:a,model:o,mixer:null,clips:[],colorNum:16771524,nameSprite:s,bubble:null,bubbleText:null,bubbleTimer:null,state:`idle`,progress:null,dragging:!1,homeX:t,homeZ:n,range:null,rangeLine:null,textureKey:r,modelRef:r,behavior:{mode:`idle`,roamTarget:null,targetId:null,waitUntil:0,pauseUntil:0,engaged:!1}});c.host=e,c.attachAura(16771524,`worker`),e.agents.set(c.agentId,c);let l=e.modelsById.get(r);$(e,c,l?.file??`/assets/game/character/hero-3d.glb`,l?.name??i)}function lr(e,t){return e.modelsById.get(t)?.file??``}function ur(e,t){e.entityIndex.clear();for(let n of t){e.entityIndex.set(n.channelId,n);let t=e.layouts.get(n.channelId);t&&dr(e,n,t)}e.emit(`blockCount`,e.blocks.size),e.emit(`agentCount`,e.agents.size)}function dr(e,t,n){let r=M(n),i=ke(t.channelId),a=Yt(e.scene,t.channelName,i,r),o=new jn({channelId:t.channelId,name:t.channelName,x:r.x,z:r.z,radiusX:r.radiusX,radiusZ:r.radiusZ,shape:r.shape,rotationY:r.rotationY,color:i,platform:a.platform,padRing:a.padRing,beacon:a.beacon,boundary:Q(r.shape,r.radiusX,r.radiusZ,i),label:Z(e.scene,t.channelName,r.x,30,r.z)});o.host=e,o.boundary.position.set(r.x,.3,r.z),o.boundary.rotation.y=r.rotationY*Math.PI/180,e.scene.add(o.boundary),e.blocks.set(t.channelId,o),fr(e,t,o);for(let n of e.agents.values())n.channelId===t.channelId&&!o.members.includes(n)&&o.members.push(n)}function fr(e,t,n){let{x:r,z:i,radiusX:a,radiusZ:o}=n,s=.6,c=Math.max(1,t.agents.length);t.agents.forEach((l,u)=>{let d,f;if(typeof l.homeX==`number`&&typeof l.homeZ==`number`)d=l.homeX,f=l.homeZ;else{let e=c<=1?0:u/(c-1)*2-1;d=r+e*a*s*.8,f=i+(l.role===`lead`?0:(u%2==0?-1:1)*o*s*.4)}e.ensureAgent({...l,channelId:t.channelId},d,f,n.color)})}function pr(e,t){e.layouts.clear();for(let n of t){let t=M(n);e.layouts.set(t.channelId,t)}}function mr(e,t){return e.blocks.has(t)}function hr(e,t){let n=e.blocks.get(t);return n?n.layout():null}function gr(e){return[...e.blocks.keys()]}function _r(e,t){let n=e.blocks.get(t);return n?n.layout():null}function vr(e,t){e.layouts.set(t.channelId,t.normLayout())}function yr(e){return{x:Math.round(e.camTarget.x),z:Math.round(e.camTarget.z)}}function br(e,t,n,r,i,a){let o=e.blocks.get(r);if(o)return e.focusTo(o.x,o.z),{x:Math.round(o.x),z:Math.round(o.z),channelId:r,name:o.name};let s={channelId:r,x:t,z:n,radiusX:Math.max(120,110+a*18),radiusZ:Math.max(80,70+a*14),shape:`ellipse`,rotationY:0};e.layouts.set(r,M(s));let c=e.entityIndex.get(r);if(c)dr(e,c,s);else{let a=ke(r),o=Yt(e.scene,i,a,s),c=new jn({channelId:r,name:i,x:t,z:n,radiusX:s.radiusX,radiusZ:s.radiusZ,shape:s.shape,rotationY:s.rotationY,color:a,platform:o.platform,padRing:o.padRing,beacon:o.beacon,boundary:Q(s.shape,s.radiusX,s.radiusZ,a),label:Z(e.scene,i,t,30,n)});c.host=e,c.boundary.position.set(t,.3,n),e.scene.add(c.boundary),e.blocks.set(r,c)}return e.emit(`blockCount`,e.blocks.size),e.emit(`agentCount`,e.agents.size),{x:Math.round(t),z:Math.round(n),channelId:r,name:i}}function xr(e,t,n){let r=e.blocks.get(t);if(!r)return;n.x!==void 0&&(r.x=n.x),n.z!==void 0&&(r.z=n.z),n.radiusX!==void 0&&(r.radiusX=Math.max(60,n.radiusX)),n.radiusZ!==void 0&&(r.radiusZ=Math.max(40,n.radiusZ)),n.shape!==void 0&&(r.shape=n.shape),n.rotationY!==void 0&&(r.rotationY=n.rotationY);let i=M({channelId:t,x:r.x,z:r.z,radiusX:r.radiusX,radiusZ:r.radiusZ,shape:r.shape,rotationY:r.rotationY});e.layouts.set(t,i),e.scene.remove(r.boundary),Kt(r),r.boundary=Q(i.shape,i.radiusX,i.radiusZ,r.color),r.boundary.position.set(i.x,.3,i.z),r.boundary.rotation.y=i.rotationY*Math.PI/180,e.scene.add(r.boundary),e.clampAgentsToBoundary(t),e.markDirty()}function Sr(e,t){let n=e.blocks.get(t);if(n){e.scene.remove(n.platform),e.scene.remove(n.padRing),e.scene.remove(n.beacon),n.boundary&&e.scene.remove(n.boundary),e.scene.remove(n.label);for(let[n,r]of[...e.agents.entries()])r.channelId===t&&(e.scene.remove(r.root),r.nameSprite&&e.scene.remove(r.nameSprite),r.bubble&&e.scene.remove(r.bubble),r.rangeLine&&e.scene.remove(r.rangeLine),e.disposeAgentAssets(r),e.agents.delete(n));n.label&&e.disposeCanvasTextures(n.label),e.rangeDrawAgent&&e.agents.get(e.rangeDrawAgent)===void 0&&e.cancelRangeDraw(),e.blocks.delete(t),e.layouts.delete(t),e.receivers.delete(t);for(let t of e.resizeHandles)t.mesh.visible=!1;for(let t of e.agentRangeHandles)t.mesh.visible=!1;e.selectedChannel===t&&(e.selectedChannel=null,e.emit(`selectChannel`,null)),e.emit(`blockCount`,e.blocks.size),e.emit(`agentCount`,e.agents.size),e.markDirty()}}function Cr(e){return[...e.blocks.values()].map(e=>({channelId:e.channelId,x:e.x,z:e.z,radiusX:e.radiusX,radiusZ:e.radiusZ,shape:e.shape,rotationY:e.rotationY}))}function wr(e,t){let n={channelId:t.channelId,x:t.x,z:t.z,radiusX:t.radiusX,radiusZ:t.radiusZ,shape:t.shape,rotationY:t.rotationY};e.layouts.set(t.channelId,M(n)),t.platform.position.set(t.x,.16,t.z),t.padRing.position.set(t.x,.34,t.z),Kt(t),t.boundary&&e.scene.remove(t.boundary),t.boundary=Q(t.shape,t.radiusX,t.radiusZ,t.color),t.boundary.position.set(t.x,.3,t.z),t.boundary.rotation.y=t.rotationY*Math.PI/180,e.scene.add(t.boundary),e.markDirty()}var Tr=[{scale:1,shadow:2048,bloom:!0},{scale:.8,shadow:2048,bloom:!0},{scale:.65,shadow:1024,bloom:!0},{scale:.55,shadow:1024,bloom:!1}],Er={ultra:{scale:1,shadow:2048,bloom:!0},hd:{scale:.8,shadow:2048,bloom:!0},normal:{scale:.6,shadow:1024,bloom:!0}};function Dr(e){let t=()=>{if(e.disposed)return;e.raf=requestAnimationFrame(t),e.rafCount+=1;let n=e.clock.getDelta();if(e.frameBudgetMs>0){if(e.frameAcc+=n*1e3,e.frameAcc<e.frameBudgetMs-.5)return;e.frameAcc=0}let r=Math.min(n,.1),i=e.clock.elapsedTime;e.drainReceivers(performance.now());for(let t of e.agents.values())t.state!==`stopped`&&!t.dragging&&t.update(r);for(let t of e.agents.values())t.mixer&&t.mixer.update(r);for(let t of e.blocks.values())t.beacon.rotation.y+=r*.4;for(let t of e.agents.values())if(t.nameSprite.position.set(t.root.position.x,48,t.root.position.z),t.bubble&&t.bubble.position.set(t.root.position.x,108+Math.max(0,t.model.scale.y-1)*22,t.root.position.z),t.auraMats.length){let e=.8+.2*Math.sin(i*2.2+t.auraPhase);for(let n of t.auraMats)n.opacity=n.userData.baseOp*e}for(let t of e.deviceNodes.values())t.label.position.set(t.root.position.x,60,t.root.position.z),t.arc?.visible&&(t.arc.rotation.z+=r*1.6);for(let t of e.daqLedRings.values()){t.rotation.z+=r*1.2;let e=1+Math.sin(i*3.2)*.08;t.scale.setScalar(e)}if(e.daqLinks.length){e.dirty&&e.refreshDaqLinks();for(let t of e.daqLinks)t.pt=(t.pt+r*.3)%1,t.pulse.position.copy(t.curve.getPoint(t.pt))}if(e.dirty&&e.rebuildFilmWeb(),e.selRing){let t=e.selected,n=0,i=0,a=0;if(t?.kind===`agent`){let r=e.agents.get(t.id);r&&(n=r.root.position.x,i=r.root.position.z,a=46*Math.max(.6,r.model.scale.y))}else if(t?.kind===`device`){let r=e.deviceNodes.get(t.id);r&&(n=r.root.position.x,i=r.root.position.z,a=Math.max(34,e.deviceTopY(r)*.42))}e.selRing.visible=a>0,a>0&&(e.selRing.position.set(n,.5,i),e.selRing.scale.setScalar(a),e.selRing.rotation.z+=r*.9)}let a=e.rafAnims;e.rafAnims=[];for(let e of a)e();it(e,r);let o=!1;for(let t of e.agents.values())if(t.mixer){o=!0;break}e.renderer.shadowMap.needsUpdate=e.dirty||o,e.renderer.info.reset(),e.composer.render(r),e.dirty=!1,e.frameCount+=1;let s=performance.now();if(e.fpsWinT0===0&&(e.fpsWinT0=s),s-e.fpsWinT0>=1e3){let t=Math.round(e.frameCount*1e3/(s-e.fpsWinT0));e.emit(`fps`,t),kr(e,t);let n=e.renderer.info;globalThis.__townStats={fps:t,rafHz:e.rafCount,drawCalls:n.render.calls,triangles:n.render.triangles,geometries:n.memory.geometries,textures:n.memory.textures,tier:e.qTier,dpr:+e.renderer.getPixelRatio().toFixed(2),frameBudgetMs:+e.frameBudgetMs.toFixed(2),agents:e.agents.size,devices:e.deviceNodes.size},e.frameCount=0,e.rafCount=0,e.fpsWinT0=s}};t()}function Or(e,t){if(e.qualityMode=t,t===`auto`){Ar(e);return}let n=Er[t];jr(e,Math.max(.5,e.baseDpr*n.scale));let r=e.keyLight;(r.shadow.mapSize.x??0)!==n.shadow&&(r.shadow.mapSize.set(n.shadow,n.shadow),r.shadow.map?.dispose(),r.shadow.map=null,e.renderer.shadowMap.needsUpdate=!0);let i=e.composer.passes.find(e=>e instanceof Vt);i&&(i.enabled=n.bloom)}function kr(e,t){if(e.qualityMode!==`auto`)return;let n=Tr.length-1;t<17&&e.qTier<n?++e.qLowStreak>=2&&(e.qTier++,Ar(e),e.qLowStreak=0,e.qHighStreak=0):t>=27&&e.qTier>0?++e.qHighStreak>=4&&(e.qTier--,Ar(e),e.qHighStreak=0,e.qLowStreak=0):(e.qLowStreak=0,e.qHighStreak=0)}function Ar(e){let t=Tr[e.qTier];jr(e,Math.max(.5,e.baseDpr*t.scale));let n=e.keyLight;(n.shadow.mapSize.x??0)!==t.shadow&&(n.shadow.mapSize.set(t.shadow,t.shadow),n.shadow.map?.dispose(),n.shadow.map=null,e.renderer.shadowMap.needsUpdate=!0);let r=e.composer.passes.find(e=>e instanceof Vt);r&&(r.enabled=t.bloom)}function jr(e,t){e.renderer.setPixelRatio(t),e.composer.setPixelRatio(t);let n=e.el.clientWidth||1100,r=e.el.clientHeight||700;e.renderer.setSize(n,r),e.composer.setSize(n,r)}function Mr(e,t,n){for(let r of e.blocks.values())if(Math.hypot(r.x-t,r.z-n)<34)return{cid:r.channelId,x:r.x,z:r.z};return null}function Nr(e,t,n){let r=null;for(let i of e.agents.values()){let e=Math.hypot(i.root.position.x-t,i.root.position.z-n);e<90&&(!r||e<r.d)&&(r={kind:`agent`,id:i.agentId,d:e})}for(let i of e.deviceNodes.values()){let e=Math.hypot(i.root.position.x-t,i.root.position.z-n);e<90&&(!r||e<r.d)&&(r={kind:`device`,id:i.twinId,d:e})}return r?{kind:r.kind,id:r.id}:null}function Pr(e,t,n){for(let r of e.blocks.values()){let e={channelId:r.channelId,x:r.x,z:r.z,radiusX:r.radiusX,radiusZ:r.radiusZ,shape:r.shape,rotationY:r.rotationY};if(pe(e,t,n))return r.channelId}return null}function Fr(e,t,n){for(let r of e.blocks.values()){let e=oe(r,t,n),i=Math.hypot(e.x/r.radiusX,e.z/r.radiusZ),a=42/Math.min(r.radiusX,r.radiusZ);if(Math.abs(i-1)<=a)return{cid:r.channelId,rx0:r.radiusX,rz0:r.radiusZ,rd0:i}}return null}function Ir(e,t){if((!t||t.kind!==`agent`||t.id!==e.rangeDrawAgent)&&e.cancelRangeDraw(),e.selected=t,e.tControls&&(t?.kind===`device`&&e.mode===`edit`&&e.deviceNodes.has(t.id)?e.tControls.attach(e.deviceNodes.get(t.id).root):e.tControls.detach()),e.refreshAgentRangeLines(),e.refreshAgentRangeHandles(),!t){e.emit(`select`,null);return}let n=e.scalables.get(`${t.kind}:${t.id}`);n&&e.emit(`select`,{kind:t.kind,id:t.id,scale:n.userScale,rotation:Math.round(Hr(e,t.id,t.kind)*10)/10})}function Lr(e,t,n,r){let i=r??(e.scalables.has(`device:${t}`)?`device`:`agent`),a=`${i}:${t}`,o=e.scalables.get(a);if(o){if(o.userScale=n,o.holder.scale.setScalar(o.userScale),i===`device`){let n=e.deviceNodes.get(t);n&&(n.topYCache=null)}e.markDirty()}}function Rr(e){if(!e.selected)return null;let t=e.scalables.get(`${e.selected.kind}:${e.selected.id}`);return t?{kind:e.selected.kind,id:e.selected.id,scale:t.userScale,rotation:Math.round(Hr(e,e.selected.id,e.selected.kind)*10)/10}:null}function zr(e,t,n,r,i){let a=i===void 0?typeof localStorage<`u`?Number(localStorage.getItem(`town.scale.${t}:${n}`)??1):1:i,o=Number.isFinite(a)&&a>0?a:1;if(e.scalables.set(`${t}:${n}`,{kind:t,id:n,userScale:o,holder:r}),r.scale.setScalar(o),t===`device`){let t=e.deviceNodes.get(n);t&&(t.topYCache=null)}}function Br(e,t,n){let r=e.scalables.get(`${t}:${n}`);!r||typeof localStorage>`u`||(localStorage.setItem(`town.scale.${t}:${n}`,String(r.userScale)),t===`device`&&e.persistDeviceTransform(n))}function Vr(e,t,n,r){if((r??(e.deviceNodes.has(t)?`device`:`agent`))===`device`){let r=e.deviceNodes.get(t);if(!r)return;r.root.rotation.y=n*Math.PI/180}else{let r=e.agents.get(t);if(!r)return;r.root.rotation.y=n*Math.PI/180}e.markDirty()}function Hr(e,t,n){if((n??(e.deviceNodes.has(t)?`device`:`agent`))===`device`){let n=e.deviceNodes.get(t);return n?re.radToDeg(n.root.rotation.y):0}let r=e.agents.get(t);return r?re.radToDeg(r.root.rotation.y):0}function Ur(e,t){e.tControls&&(e.tControls.setMode(t),e.tControls.showX=t!==`rotate`,e.tControls.showY=t!==`translate`,e.tControls.showZ=t!==`rotate`)}function Wr(e){return!!e.tControls&&(e.tControls.dragging||!!e.tControls.axis)}function Gr(e,t){e.renderer.toneMappingExposure=Math.min(2.2,Math.max(.2,t))}function Kr(e,t){let n=Math.min(1,Math.max(.05,t));for(let t of e.blocks.values())t.platform.material.opacity=.24*n;e.markDirty()}function qr(e,t){e.selectedChannel=t,e.emit(`selectChannel`,t),e.refreshChannelHandles(),e.cancelRangeDraw(),e.refreshAgentRangeHandles();for(let n of e.blocks.values()){let e=n.boundary.material;e.color.setHex(n.channelId===t?16172115:n.color),e.opacity=n.channelId===t?1:.75}t&&!e.pointerDrag&&e.focusTo(e.blocks.get(t)?.x??1600,e.blocks.get(t)?.z??1200)}function Jr(e){return e.selectedChannel}function Yr(e){e&&e.traverse(e=>{let t=e.material,n=Array.isArray(t)?t:t?[t]:[];for(let e of n){let t=e;t.map&&t.map.image instanceof HTMLCanvasElement&&t.map.dispose(),e.dispose()}})}function Xr(e){e.ring.geometry.dispose(),e.ring.material.dispose(),e.arc&&(e.arc.geometry.dispose(),e.arc.material.dispose()),Yr(e.label)}function Zr(e){Yr(e.nameSprite??null),Yr(e.bubble??null),e.rangeLine?.geometry.dispose(),e.aura&&=(e.aura.traverse(e=>{let t=e;t.isMesh&&(t.geometry.dispose(),t.material.dispose())}),null)}function Qr(e){for(let t of e.agents.values())e.scene.remove(t.root),t.nameSprite&&e.scene.remove(t.nameSprite),t.bubble&&e.scene.remove(t.bubble),t.rangeLine&&e.scene.remove(t.rangeLine),Zr(t);for(let t of e.blocks.values())e.scene.remove(t.platform),e.scene.remove(t.padRing),e.scene.remove(t.beacon),e.scene.remove(t.boundary),e.scene.remove(t.label),Yr(t.label);for(let t of e.deviceNodes.values())e.scene.remove(t.root),e.scene.remove(t.label),Xr(t);e.deviceNodes.clear(),e.scalables.clear(),e.receivers.clear(),e.pointerDrag=null,e.cancelRangeDraw(),e.selected=null,e.selectedChannel=null;for(let t of e.resizeHandles)t.mesh.visible=!1;for(let t of e.agentRangeHandles)t.mesh.visible=!1;e.agents.clear(),e.blocks.clear()}function $r(e){e.disposed=!0,cancelAnimationFrame(e.raf),delete globalThis.__townScene3d;for(let t of e.pendingSaveTimers.values())clearTimeout(t);e.pendingSaveTimers.clear(),e.receivers.clear(),e.resizeOb?.disconnect(),e.resizeOb=null,e.tControls?.dispose(),e.tControls=null,e.composer?.dispose(),e.renderer.dispose(),e.renderer.domElement.parentElement===e.el&&e.renderer.domElement.remove()}function ei(e,t){if(e.mode!==t){e.mode=t,t===`browse`&&(e.pointerDrag&&ci(e),e.cancelRangeDraw(),e.setSelected(null),e.tControls?.detach()),e.refreshChannelHandles(),e.refreshAgentRangeHandles();for(let t of e.agents.values())t.renderRangeLine();e.dirty=!0}}function ti(e){return e.mode}function ni(e,t){e.snapEnabled=t}function ri(e){return e.snapEnabled}function ii(e,t,n){if(e.mode!==`edit`||e.isGizmoBusy())return!1;let r=e.screenToWorld(t,n),i=e.pickAgentRangeHandle(r.x,r.z);if(i)return e.pointerDrag={kind:`agentRangeResize`,id:i.agentId,handle:i.handle},e.emitSaveState(`dirty`),!0;let a=fi(e,r.x,r.z);if(a)return e.pointerDrag={kind:`resize`,id:a.cid,handle:a.handle},e.setSelected(null),e.emitSaveState(`dirty`),!0;if(e.rangeDrawAgent)return e.pointerDrag={kind:`rangeDraw`,id:e.rangeDrawAgent,x0:r.x,z0:r.z},e.rangeDrawPreviewState=null,!0;let o=e.pickAt(r.x,r.z);if(o){if(o.kind===`device`)return e.deviceNodes.has(o.id)?(e.pointerDrag=o,e.setSelected(o),e.emitSaveState(`dirty`),!0):!1;let t=e.agents.get(o.id);return!t||!t.channelId?!1:(t.bubbleTimer&&=(clearTimeout(t.bubbleTimer),null),t.dragging=!0,t.behavior.mode=`idle`,t.behavior.targetId=null,e.pointerDrag=o,e.setSelected(o),e.emitSaveState(`dirty`),!0)}let s=e.hitAgentRangeBoundary(r.x,r.z);if(s&&s.range)return e.pointerDrag={kind:`agentRange`,id:s.agentId,dx:s.range.x-r.x,dz:s.range.z-r.z},e.setSelected({kind:`agent`,id:s.agentId}),e.emitSaveState(`dirty`),!0;let c=e.pickChannelEdge(r.x,r.z);if(c)return e.pointerDrag={kind:`channelEdge`,id:c.cid,rx0:c.rx0,rz0:c.rz0,rd0:c.rd0},e.setSelected(null),e.selectChannel(c.cid),e.emitSaveState(`dirty`),!0;if(e.pickBeacon(r.x,r.z))return!1;let l=e.pickChannel(r.x,r.z);if(l){let t=e.blocks.get(l);return t?(e.pointerDrag={kind:`channel`,id:l,dx:t.x-r.x,dz:t.z-r.z},e.setSelected(null),e.selectChannel(l),e.emitSaveState(`dirty`),!0):!1}return!1}function ai(e){return e.pointerDrag!==null}function oi(e,t){return e.snapEnabled?Math.round(t/16)*16:Math.round(t*10)/10}function si(e,t,n){if(!e.pointerDrag)return;let r=e.screenToWorld(t,n),i=oi(e,r.x),a=oi(e,r.z),o=e.pointerDrag;if(o.kind===`device`){let t=e.deviceNodes.get(o.id);t&&(t.root.position.x=i,t.root.position.z=a,e.dirty=!0)}else if(o.kind===`agent`){let t=e.agents.get(o.id);if(t){let n=i,r=a,o=e.blockLayout(t.channelId);if(o){let e=A(o,i,a,20);n=e.x,r=e.z}t.root.position.x=n,t.root.position.z=r,e.dirty=!0}}else if(o.kind===`rangeDraw`){let t=e.agents.get(o.id);if(!t)return;let n=e.blockLayout(t.channelId),i=r.x,a=r.z;if(n){let e=A(n,i,a,12);i=e.x,a=e.z}e.rangeDrawPreviewState={x0:o.x0,z0:o.z0,x1:i,z1:a},e.updateRangeDrawPreview(o.x0,o.z0,i,a),e.dirty=!0}else if(o.kind===`agentRange`){let t=e.agents.get(o.id);if(!t||!t.range)return;let n=i+o.dx,r=a+o.dz;t.range={...t.range,x:n,z:r},t.renderRangeLine(),e.refreshAgentRangeHandles(),e.dirty=!0}else if(o.kind===`agentRangeResize`){let t=e.agents.get(o.id);if(!t||!t.range)return;t.range=e.applyAgentRangeResize(t.range,o.handle,r.x,r.z),t.renderRangeLine(),e.refreshAgentRangeHandles(),e.autoFrameTo(t.range.radiusX,t.range.radiusZ),e.dirty=!0}else if(o.kind===`channel`){let t=e.blocks.get(o.id);t&&li(e,t,i+o.dx,a+o.dz)}else if(o.kind===`resize`){let t=e.blocks.get(o.id);t&&pi(e,t,o.handle,r.x,r.z)}else if(o.kind===`channelEdge`){let t=e.blocks.get(o.id);if(t){let n=oe(t,i,a),r=Math.hypot(n.x/o.rx0,n.z/o.rz0),s=o.rd0>.05?r/o.rd0:1;t.radiusX=Math.max(60,Math.round(o.rx0*s)),t.radiusZ=Math.max(40,Math.round(o.rz0*s)),e.applyLayoutToBlock(t),e.autoFrameTo(t.radiusX,t.radiusZ)}}}function ci(e){if(!e.pointerDrag)return;let t=e.pointerDrag;if(e.pointerDrag=null,t.kind===`device`)e.deviceNodes.get(t.id)&&e.persistDeviceTransform(t.id);else if(t.kind===`agent`){let n=e.agents.get(t.id);n&&(n.homeX=n.root.position.x,n.homeZ=n.root.position.z,n.dragging=!1,e.emitSaveState(`saving`),e.agentApi?.updateHome(t.id,n.channelId,n.homeX,n.homeZ).then(()=>e.emitSaveState(`saved`,Date.now())).catch(()=>e.emitSaveState(`error`)))}else if(t.kind===`rangeDraw`){let n=e.agents.get(t.id);if(n&&e.rangeDrawPreviewState){let r=e.rangeDrawPreviewState,i={x:(r.x0+r.x1)/2,z:(r.z0+r.z1)/2,radiusX:Math.abs(r.x1-r.x0)/2,radiusZ:Math.abs(r.z1-r.z0)/2,shape:`rect`,rotationY:0};if(i.radiusX>=40&&i.radiusZ>=40){n.range=i,n.renderRangeLine();let r=k(n.range,n.homeX,n.homeZ,0);(r.x!==n.homeX||r.z!==n.homeZ)&&(n.homeX=r.x,n.homeZ=r.z,n.root.position.x=r.x,n.root.position.z=r.z,e.agentApi?.updateHome(t.id,n.channelId,r.x,r.z).catch(()=>{})),e.emitSaveState(`saving`),e.agentApi?.updateRange(t.id,n.channelId,n.range).then(()=>e.emitSaveState(`saved`,Date.now())).catch(()=>e.emitSaveState(`error`))}}e.cancelRangeDraw(),e.refreshAgentRangeHandles(),e.emitAgentRangeChanged(t.id)}else if(t.kind===`agentRange`||t.kind===`agentRangeResize`){let n=e.agents.get(t.id);n&&n.range&&(e.emitSaveState(`saving`),e.agentApi?.updateRange(t.id,n.channelId,n.range).then(()=>e.emitSaveState(`saved`,Date.now())).catch(()=>e.emitSaveState(`error`))),e.refreshAgentRangeHandles(),e.emitAgentRangeChanged(t.id)}else if(e.blocks.get(t.id)){mi(e,t.id),di(e);let n=e.getChannelLayout(t.id);n&&(e.emitSaveState(`saving`),e.channelApi?.save(t.id,n).then(()=>e.emitSaveState(`saved`,Date.now())).catch(()=>e.emitSaveState(`error`)),e.emit(`channelResized`,{channelId:t.id,layout:n}))}}function li(e,t,n,r){t.moveBy(n-t.x,r-t.z),e.refreshAgentRangeHandles(),e.dirty=!0}function ui(e){return e.shape===`rect`?[[e.radiusX,e.radiusZ],[-e.radiusX,e.radiusZ],[-e.radiusX,-e.radiusZ],[e.radiusX,-e.radiusZ]]:[[e.radiusX,0],[-e.radiusX,0],[0,e.radiusZ],[0,-e.radiusZ]]}function di(e){for(let t of e.resizeHandles)t.mesh.visible=!1;if(e.mode!==`edit`||!e.selectedChannel)return;let t=e.blocks.get(e.selectedChannel);if(!t)return;let n=t.rotationY*Math.PI/180,r=ui(t);for(let i=0;i<e.resizeHandles.length&&i<r.length;i++){let[a,o]=r[i],s=t.x+a*Math.cos(n)-o*Math.sin(n),c=t.z+a*Math.sin(n)+o*Math.cos(n);e.resizeHandles[i].cid=t.channelId,e.resizeHandles[i].mesh.position.set(s,1.4,c),e.resizeHandles[i].mesh.visible=!0}}function fi(e,t,n){if(e.mode!==`edit`)return null;for(let r of e.resizeHandles)if(r.mesh.visible&&Math.hypot(r.mesh.position.x-t,r.mesh.position.z-n)<90)return{cid:r.cid,handle:r.handle};return null}function pi(e,t,n,r,i){let a=-t.rotationY*Math.PI/180,o=Math.cos(a),s=Math.sin(a),c=r-t.x,l=i-t.z,u=c*o-l*s,d=c*s+l*o;t.shape===`rect`?(t.radiusX=Math.max(60,Math.abs(u)),t.radiusZ=Math.max(40,Math.abs(d))):n===0||n===1?t.radiusX=Math.max(60,Math.abs(u)):t.radiusZ=Math.max(40,Math.abs(d)),e.applyLayoutToBlock(t),di(e),e.autoFrameTo(t.radiusX,t.radiusZ),e.dirty=!0}function mi(e,t){let n=e.blocks.get(t);n&&(n.clampMembersAndRanges(),e.dirty=!0)}function hi(e,t){return e.mode===`edit`||e.selected?.kind===`agent`&&e.selected.id===t.agentId}function gi(e,t){e.emit(`agentRangeChanged`,{agentId:t})}function _i(e){for(let t of e.agents.values())t.rangeLine&&(t.rangeLine.visible=vi(e,t))}function vi(e,t){return e.mode===`edit`||e.selected?.kind===`agent`&&e.selected.id===t.agentId}function yi(e){for(let t of e.agentRangeHandles)t.mesh.visible=!1;if(e.mode!==`edit`||!e.selected||e.selected.kind!==`agent`)return;let t=e.agents.get(e.selected.id);if(!t||!t.range)return;let n=t.range.rotationY*Math.PI/180,r=e.boundaryHandlePoints(t.range);for(let i=0;i<e.agentRangeHandles.length&&i<r.length;i++){let[a,o]=r[i],s=t.range.x+a*Math.cos(n)-o*Math.sin(n),c=t.range.z+a*Math.sin(n)+o*Math.cos(n);e.agentRangeHandles[i].agentId=t.agentId,e.agentRangeHandles[i].mesh.position.set(s,1.2,c),e.agentRangeHandles[i].mesh.visible=!0}}function bi(e,t,n){if(e.mode!==`edit`)return null;for(let r of e.agentRangeHandles)if(r.mesh.visible&&Math.hypot(r.mesh.position.x-t,r.mesh.position.z-n)<40)return{agentId:r.agentId,handle:r.handle};return null}function xi(e,t,n){if(e.mode===`edit`){for(let r of e.agents.values())if(!(!r.range||!r.channelId)&&Se(r.range,t,n)<26)return r}}function Si(e,t,n,r){let i=-e.rotationY*Math.PI/180,a=Math.cos(i),o=Math.sin(i),s=n-e.x,c=r-e.z,l=s*a-c*o,u=s*o+c*a,d;return d=e.shape===`rect`?{...e,radiusX:Math.max(30,Math.abs(l)),radiusZ:Math.max(30,Math.abs(u))}:t===0||t===1?{...e,radiusX:Math.max(30,Math.abs(l))}:{...e,radiusZ:Math.max(30,Math.abs(u))},d}function Ci(e,t,n,r,i){let a=Math.min(t,r),o=Math.max(t,r),s=Math.min(n,i),c=Math.max(n,i),l=(a+o)/2,u=(s+c)/2,d=Math.max(8,(o-a)/2),f=Math.max(8,(c-s)/2);if(!e.rangeDrawLine){let t=Q(`rect`,1,1,4311284);t.material.opacity=.95,t.position.y=.5,e.scene.add(t),e.rangeDrawLine=t}e.rangeDrawLine.position.set(l,.5,u),e.rangeDrawLine.rotation.y=0;let p=new w().setFromPoints([new C(-d,0,-f),new C(d,0,-f),new C(d,0,f),new C(-d,0,f)]);e.rangeDrawLine.geometry.dispose(),e.rangeDrawLine.geometry=p}function wi(e){e.rangeDrawAgent===null&&!e.rangeDrawLine||(e.rangeDrawAgent=null,e.rangeDrawPreviewState=null,e.rangeDrawLine&&=(e.scene.remove(e.rangeDrawLine),null),e.dirty=!0)}function Ti(e,t){let n=e.agents.get(t);!n||!n.channelId||e.mode!==`edit`||(e.setSelected({kind:`agent`,id:t}),wi(e),e.rangeDrawAgent=t,e.rangeDrawPreviewState=null,yi(e),e.dirty=!0)}function Ei(e,t){return e.rangeDrawAgent?t===void 0||e.rangeDrawAgent===t:!1}function Di(e,t){return e.agents.get(t)?.range??null}function Oi(e,t,n){let r=e.agents.get(t);if(!r)return;r.range||={x:r.homeX,z:r.homeZ,radiusX:120,radiusZ:90,shape:`ellipse`,rotationY:0},r.range={...r.range,...n};let i=k(r.range,r.homeX,r.homeZ,0);(i.x!==r.homeX||i.z!==r.homeZ)&&(r.homeX=i.x,r.homeZ=i.z,r.root.position.x=i.x,r.root.position.z=i.z,e.rangeHomeMoved={agentId:t,x:i.x,z:i.z}),r.renderRangeLine(),yi(e),e.dirty=!0}function ki(e,t){let n=e.agents.get(t);if(n){if(e.rangeHomeMoved?.agentId===t){let{x:r,z:i}=e.rangeHomeMoved;e.rangeHomeMoved=null,e.agentApi?.updateHome(t,n.channelId,r,i).catch(()=>{})}e.emitSaveState(`saving`),e.agentApi?.updateRange(t,n.channelId,n.range).then(()=>e.emitSaveState(`saved`,Date.now())).catch(()=>e.emitSaveState(`error`)),gi(e,t)}}function Ai(e,t){let n=e.agents.get(t);n&&(n.rangeLine&&=(e.scene.remove(n.rangeLine),null),n.range=null,e.rangeHomeMoved=null,yi(e),e.emitSaveState(`saving`),e.agentApi?.updateRange(t,n.channelId,null).then(()=>e.emitSaveState(`saved`,Date.now())).catch(()=>e.emitSaveState(`error`)),gi(e,t),e.dirty=!0)}var ji=class{renderer;composer;camera;camTarget=new C(z,20,P);keyLight;scene;ground;skyDome=null;blocks=new Map;agents=new Map;deviceNodes=new Map;daqLedRings=new Map;daqLinkGroup=new g;daqLinks=[];daqLinkSig=``;daqLinksWanted=[];filmWebGroup=new g;filmWebSig=``;filmWebMat=null;pendingDeviceTwins=new Map;pendingDeviceCreates=new Map;cancelledDeviceCreates=new Set;scalables=new Map;selected=null;modelsById=new Map;gltfCache=new Map;gltfLoader=new Ae;el;raf=0;clock=new y;frameCount=0;fpsAccum=0;fpsWinT0=0;rafCount=0;frameBudgetMs=25;setFpsCap(e){this.frameBudgetMs=e>0?1e3/e:0,this.frameAcc=0}frameAcc=0;baseDpr=Math.min(window.devicePixelRatio,2);dirty=!0;flagBy=new Map;disposed=!1;dolly=1;autoOrbit=!1;viewCur={yaw:0,pitch:.7,radius:1178};viewTarget={yaw:0,pitch:.7,radius:1178};tControls=null;resizeOb=null;mode=`browse`;pointerDrag=null;snapEnabled=!0;selRing=null;resizeHandles=[];agentRangeHandles=[];rangeDrawLine=null;rangeDrawAgent=null;rangeDrawPreviewState=null;rangeHomeMoved=null;lastActivity=null;recentActivity=[];dbgBubbles=[];receivers=new Map;container;resolveTaskAssignee=null;devices=null;agentApi=null;channelApi=null;busHandlers=new Map;constructor(e,t){this.el=t,this.container=t,this.initRenderer(),this.buildBlocks(e)}get blockHost(){return this}get agentHost(){return this}get deviceHost(){return this}initRenderer(){nn(this),globalThis.__townScene3d=this,this.loop()}on(e,t){return this.busHandlers.set(e,t),()=>this.busHandlers.delete(e)}emit(e,t){let n=this.busHandlers.get(e);n&&n(t)}buildBlocks(e){ur(this,e)}pickBeacon(e,t){return Mr(this,e,t)}ensureAgent(e,t,n,r){Qn(this,e,t,n,r)}agentAnimClips=new Map;registerModelsFromList(e){$n(this,e)}applySceneLayouts(e){pr(this,e)}hasChannel(e){return mr(this,e)}blockLayout(e){return hr(this,e)}placedChannels(){return gr(this)}getChannelLayout(e){return _r(this,e)}get threeScene(){return this.scene}markDirty(){this.dirty=!0}trackLayout(e){vr(this,e)}renameDeviceSprite(e,t){Pn(this,e,t)}swapDeviceModelSprite(e,t){Fn(this,e,t)}hydrate(e,t,n){this.applySceneLayouts(t),this.rebuild(e),this.syncDevices(n),this.emit(`blockCount`,this.blocks.size),this.emit(`agentCount`,this.agents.size)}rebuild(e){this.resetAll(),this.buildBlocks(e),this.emit(`blockCount`,this.blocks.size),this.emit(`agentCount`,this.agents.size)}focusChannel(e){let t=this.blocks.get(e);t&&this.focusTo(t.x,t.z)}dropChannelOnWorld(e,t,n,r,i){return br(this,e,t,n,r,i)}updateChannelLayout(e,t){xr(this,e,t)}removeChannel(e){Sr(this,e)}applyBlockMove(e,t,n){li(this,e,t,n)}applyLayoutToBlock(e){wr(this,e)}boundaryHandlePoints(e){return ui(e)}refreshChannelHandles(){di(this)}pickResizeHandle(e,t){return fi(this,e,t)}applyResize(e,t,n,r){pi(this,e,t,n,r)}clampAgentsToBoundary(e){mi(this,e)}getSelectedChannel(){return Jr(this)}selectChannel(e){qr(this,e)}getAllChannelLayouts(){return Cr(this)}handleTownEvent(e){yn(this,e)}startBehavior(e){bn(this,e)}behaviorActionLabel(e){return xn(e)}notifyMotion(e){this.emit(`motion`,{agentName:e.name,anim:e.animState,at:Date.now()})}deliverBehavior(e,t){let n=e.behavior.action?.text??``;n&&this.enqueueBubble(e.channelId,e.agentId,`info`,n,2600),this.emit(`behavior`,{agentName:e.name,action:this.behaviorActionLabel(e.behavior.action?.kind??`message`),targetName:t.name})}releaseEngaged(e){let t=e.behavior.targetId?this.agents.get(e.behavior.targetId):void 0;t&&(t.behavior.engaged=!1)}getAgent(e){return this.agents.get(e)}blockLayoutOf(e){return this.blockLayout(e)}getCameraTarget(){return yr(this)}swapAgentModel(e,t){er(this,e,t)}emitResonance(e){Sn(this,e)}rafAnims=[];layouts=new Map;entityIndex=new Map;selectedChannel=null;enqueueBubble(e,t,n,r,i){rn(this,e,t,n,r,i)}drainReceivers(e){an(this,e)}get canvas(){return this.renderer.domElement}worldToScreen(e,t,n){return Ve(this,e,t,n)}screenToWorld(e,t){return He(this,e,t)}panBy(e,t){Ue(this,e,t)}autoFrameTo(e,t){Ge(this,e,t)}setViewPreset(e){Ke(this,e)}orbitBy(e,t){qe(this,e,t)}setAutoOrbit(e){Je(this,e)}getAutoOrbit(){return Ye(this)}panByScreen(e,t){Xe(this,e,t)}flyToPreset(e,t=900){Ze(this,e,t)}getCameraPose(){return Qe(this)}panWorldBy(e,t){$e(this,e,t)}resetView(){et(this)}zoomBy(e){tt(this,e)}focusTo(e,t){nt(this,e,t)}pushAnim(e){this.rafAnims.push(e)}autoDolly=null;setTransformMode(e){Ur(this,e)}isGizmoBusy(){return Wr(this)}setExposure(e){Gr(this,e)}setTerritoryOpacity(e){Kr(this,e)}dropModelOnWorld(e,t,n){return ar(this,e,t,n)}spawnDeviceNode(e,t,n,r,i){return In(this,e,t,n,r,i)}enhancePbrMaterials(e,t){An(this,e,t)}getDebugState(){return Tn(this)}getMinimapState(){return En(this)}getRecentActivity(){return Dn(this)}updateDeviceNode(e,t,n){Rn(this,e,t,n)}renameDevice(e,t){zn(this,e,t)}swapDeviceModel(e,t){Bn(this,e,t)}getDeviceName(e){return Vn(this,e)}getDeviceModelRef(e){return Hn(this,e)}async removeDevice(e){await Un(this,e)}getDeviceNodes(){return Wn(this)}setAnimPref(e,t){tr(this,e,t)}getAgentModel(e){return nr(this,e)}getAgentName(e){return rr(this,e)}getAgentClips(e){return ir(this,e)}pickAt(e,t){return Nr(this,e,t)}pickChannel(e,t){return Pr(this,e,t)}pickChannelEdge(e,t){return Fr(this,e,t)}setSelected(e){Ir(this,e)}setModelScale(e,t,n){Lr(this,e,t,n)}getSelectedScale(){return Rr(this)}registerScalable(e,t,n,r){zr(this,e,t,n,r)}persistScale(e,t){Br(this,e,t)}setMode(e){ei(this,e)}getMode(){return ti(this)}setSnap(e){ni(this,e)}getSnap(){return ri(this)}tryStartPointerDrag(e,t){return ii(this,e,t)}isPointerDragging(){return ai(this)}snapWorld(e){return oi(this,e)}movePointerDrag(e,t){si(this,e,t)}endPointerDrag(){ci(this)}rangeLineVisible(e){return hi(this,e)}emitAgentRangeChanged(e){gi(this,e)}refreshAgentRangeLines(){_i(this)}rangeLineVisibleFor(e){return vi(this,e)}refreshAgentRangeHandles(){yi(this)}pickAgentRangeHandle(e,t){return bi(this,e,t)}hitAgentRangeBoundary(e,t){return xi(this,e,t)}applyAgentRangeResize(e,t,n,r){return Si(e,t,n,r)}updateRangeDrawPreview(e,t,n,r){Ci(this,e,t,n,r)}cancelRangeDraw(){wi(this)}startRangeDraw(e){Ti(this,e)}isRangeDrawing(e){return Ei(this,e)}debugAdvanceReceiver(e){let t=this.receivers.get(e);t&&(t.currentUntil=0)}getAgentRange(e){return Di(this,e)}setAgentRangeScene(e,t){Oi(this,e,t)}commitAgentRange(e){ki(this,e)}clearAgentRange(e){Ai(this,e)}setModelRotation(e,t,n){Vr(this,e,t,n)}getModelRotation(e,t){return Hr(this,e,t)}emitSaveState(e,t=Date.now()){this.emit(`saveState`,{state:e,at:t})}persistDeviceTransform(e){Gn(this,e)}persistAllDevices(){Kn(this)}pendingSaveTimers=new Map;syncDevices(e){qn(this,e)}recreateDeviceNode(e){Yn(this,e)}deviceTopY(e){return mn(e)}syncDaqLinks(e){hn(this,e)}refreshDaqLinks(){gn(this)}rebuildFilmWeb(){vn(this)}loop(){Dr(this)}qTier=0;qLowStreak=0;qHighStreak=0;qualityMode=`auto`;setQualityMode(e){Or(this,e)}adaptQuality(e){kr(this,e)}applyQuality(){Ar(this)}applyPixelRatio(e){jr(this,e)}disposeCanvasTextures(e){Yr(e)}disposeDeviceAssets(e){Xr(e)}disposeAgentAssets(e){Zr(e)}resetAll(){Qr(this)}dispose(){$r(this)}};export{Mn as Agent3D,jn as Block3D,Nn as DeviceNode,ji as TownScene3D,Q as makeBoundary};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./DK3Fl9T5.js";import{v as t}from"./CavpkQb0.js";import{d as n}from"./ByMj6e7s.js";import{n as r}from"./Cnrmlixo.js";import{t as i}from"./Do0dCE8C2.js";import{t as a}from"./8oRmGaAV.js";var o=e({useTeamsCatalog:()=>s});function s(){let e=a(),o=i(),{t:s}=r(),c=t([]),l=t([]),u=t([]),d=t(!1),f=async()=>{d.value=!0;try{let[t,n,r]=await Promise.all([e.listTeams(),e.listTemplates(),e.listChannels()]);c.value=t?.data??[],l.value=n?.data??[],u.value=r?.data??[]}finally{d.value=!1}};f();let p=t({});(async()=>{try{let t=(await e.listHarnesses())?.data?.harnesses;if(Array.isArray(t)){let e={};for(let n of t)e[n.id]=n.available!==!1;p.value=e}}catch{}})();let m=e=>p.value[e.harness]===!1,h=n(()=>l.value.map(e=>{let t=m(e);return{value:e.id,label:t?`${e.name}(${e.harness} · ${s(`agents.notInstalled`)})`:`${e.name}(${e.harness})`,disabled:t}})),g=t(`all`);return{teams:c,channels:u,loading:d,load:f,memberOptions:h,filter:g,shown:n(()=>{let e=o.user?.id;switch(g.value){case`mine`:return c.value.filter(t=>t.ownerUserId===e);case`public`:return c.value.filter(e=>e.visibility===`public`);case`builtin`:return c.value.filter(e=>e.isBuiltin);default:return c.value}}),canWrite:e=>!e.isBuiltin&&(e.ownerUserId===o.user?.id||o.isAdmin),visTag:e=>e.isBuiltin?{text:s(`teams.k3x23c018`),color:`default`,icon:`i-tabler-lock`}:e.visibility===`public`?{text:s(`teams.k3wv1t019`),color:`green`}:{text:s(`teams.k447jj020`),color:`default`},isAdmin:n(()=>o.isAdmin)}}export{o as n,s as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./DK3Fl9T5.js";import{v as t}from"./CavpkQb0.js";import{d as n}from"./ByMj6e7s.js";import{t as r}from"./Dmgqz2np.js";var i=e({useDaqOptimizations:()=>a});function a(){let e=r(),i=t(!1),a=t(!1),o=t(``),s=t(``),c=t({}),l=t(``),u=n(()=>e.recipes.filter(e=>!o.value||e.lineId===o.value));function d(e){return{open:`daq.k1optst001`,judged:`daq.k1optst008`,"judged-keep":`daq.k1optst002`,"rolled-back":`daq.k1optst003`,superseded:`daq.k1optst004`,"superseded-manual":`daq.k1optst005`,"closed-line-stop":`daq.k1optst006`,failed:`daq.k1optst007`}[e]??`daq.k1optst001`}async function f(){i.value=!i.value,i.value&&(a.value=!0,await p())}async function p(){await e.loadOptimizations({lineId:o.value||void 0,recipeId:s.value||void 0})}function m(){s.value&&!u.value.some(e=>e.id===s.value)&&(s.value=``),p()}async function h(t){l.value=t;try{let n=await e.optimizationSeries(t);c.value={...c.value,[t]:n}}finally{l.value=``}}function g(e,t=240,n=36){let r=e.map(e=>e.value??e.avg??0).filter(Number.isFinite);if(r.length<2)return``;let i=Math.min(...r),a=Math.max(...r)-i||1;return r.map((e,o)=>`${o/(r.length-1)*t},${n-(e-i)/a*n}`).join(` `)}async function _(t){await e.rollbackOptimization(t),await p()}function v(e){return e==null?`--`:String(Number(e.toFixed(2)))}return{optOpen:i,optMounted:a,optFilterLine:o,optFilterRecipe:s,optSeriesOf:c,optSeriesLoading:l,optRecipeOptions:u,optStatusKey:d,toggleOptPanel:f,filterOpts:p,onOptLineChange:m,showOptSeries:h,seriesPath:g,rollbackRecord:_,fmtPoint:v}}export{i as n,a as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./DK3Fl9T5.js";import{v as t}from"./CavpkQb0.js";import{d as n}from"./ByMj6e7s.js";import{n as r}from"./Cnrmlixo.js";import{i}from"./CiyTTgqr.js";import{t as a}from"./JgheoP3e.js";import{t as o}from"./C-LU6xv_.js";var s=e({useAmlPredict:()=>l});function c(e){return Array.isArray(e)&&e.length>0&&e.every(e=>Array.isArray(e)&&e.length>0&&e.every(e=>typeof e==`number`&&Number.isFinite(e)))}function l(e){let{t:s}=r(),l=n(()=>e().filter(e=>e.stage===`production`)),u=t(``),d=n(()=>e().find(e=>e.id===u.value)??null),f=t(``),p=t(``),m=t(null),h=t(!1),g=t(``),_=t(null);function v(){i.info(s(`aml.k1amlx146`))}function y(e){let t=e.trim();if(!t)return null;try{let e=JSON.parse(t);return c(e)?e:null}catch{return null}}async function b(){g.value=``,_.value=null;let e=d.value;if(!e)return;let t=y(f.value);if(!t){g.value=s(`aml.k1amlx153`);return}let n=p.value.trim()?y(p.value):void 0;if(p.value.trim()&&!n){g.value=s(`aml.k1amlx153`);return}h.value=!0;try{let r=typeof m.value==`number`&&Number.isFinite(m.value)?m.value:void 0,a=await o(`/models/${e.id}/predict`,{method:`POST`,body:JSON.stringify({history:t,controls:n,steps:r})});_.value=a.prediction,i.success(s(`aml.k1amlx154`,{p0:a.prediction.forecast.length,p1:a.prediction.targetNodes.length}))}catch(e){g.value=a(e)}finally{h.value=!1}}return{productionModels:l,predModelId:u,predModel:d,predHistory:f,predControls:p,predSteps:m,predBusy:h,predError:g,predResult:_,onPullLatest:v,doPredict:b}}export{s as n,l as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./DK3Fl9T5.js";import{g as t,v as n}from"./CavpkQb0.js";import{d as r,et as i}from"./ByMj6e7s.js";import{t as a}from"./JgheoP3e.js";import{n as o,t as s}from"./lyJsJl_G.js";var c=e({useDaqDetailParams:()=>l});function l(e,c){let l=s(),u=t({enabled:!0,driver:`mock`,lineId:``,followGlobal:!0,intervalMs:5e3,calKind:`none`,calScale:1,calOffset:0,publishFollow:!0,publishEveryFrame:!1,publishMs:1e3,unit:``,decimals:1,min:0,max:100,warnLow:null,warnHigh:null});i(c,e=>{e&&(u.enabled=e.enabled,u.lineId=e.lineId??``,u.driver=e.driver,u.followGlobal=e.intervalMs==null,u.intervalMs=e.intervalMs??l.controller.defaultIntervalMs,u.publishFollow=e.publishIntervalMs==null,u.publishEveryFrame=e.publishIntervalMs===0,u.publishMs=e.publishIntervalMs==null?l.controller.defaultPublishIntervalMs:e.publishIntervalMs,u.unit=e.unit,u.decimals=e.decimals,u.min=e.min,u.max=e.max,u.warnLow=e.warnLow,u.warnHigh=e.warnHigh)},{immediate:!0});let d=r(()=>l.meta.drivers.length?l.meta.drivers:o.map(e=>({...e}))),f=n({}),p=r(()=>d.value.find(e=>e.kind===u.driver)?.configFields??[]);i(c,e=>{e&&(f.value={...e.driverConfig})},{immediate:!0}),i(()=>u.driver,()=>{if(p.value.length&&Object.keys(f.value).length===0){let e={};for(let t of p.value)t.default!==void 0&&(e[t.key]=t.default);f.value=e}},{immediate:!0});let m=n(!1),h=n(null);async function g(){m.value=!0,h.value=null;try{await l.patchNode(e.value,{driver:u.driver,driverConfig:{...f.value}}),h.value=await l.testNode(e.value)}catch(e){h.value={ok:!1,message:a(e)}}finally{m.value=!1}}let _=n(!1);async function v(){let e=c.value;if(!(!e||_.value)){_.value=!0;try{await l.patchNode(e.id,{enabled:u.enabled,driver:u.driver,lineId:u.lineId,driverConfig:{...f.value},intervalMs:u.followGlobal?null:Math.max(1e3,Math.min(6e4,Math.round(u.intervalMs))),publishIntervalMs:u.publishFollow?null:u.publishEveryFrame?0:Math.max(0,Math.min(6e4,Math.round(u.publishMs))),unit:u.unit,decimals:Math.max(0,Math.min(6,Math.round(u.decimals))),min:u.min,max:u.max,warnLow:u.warnLow,warnHigh:u.warnHigh})}finally{_.value=!1}}}return{form:u,driverCatalog:d,driverCfg:f,driverFields:p,testing:m,testResult:h,saving:_,doTest:g,saveParams:v}}export{c as n,l as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./DK3Fl9T5.js";import{g as t,v as n}from"./CavpkQb0.js";import{d as r}from"./ByMj6e7s.js";import{n as i}from"./Cnrmlixo.js";import{t as a}from"./JgheoP3e.js";import{t as o}from"./Dmgqz2np.js";var s=e({useDcwQuery:()=>c});function c(e){let{t:s}=i(),c=o(),{lineId:l}=e,u=t({productId:``,recipeId:``,paramKey:``,nodeId:``,lastMin:30,bucketMs:15e3}),d=n(null),f=n(!1),p=n(``);async function m(){f.value=!0,p.value=``,d.value=null;try{d.value=await c.queryLine({lineId:l.value,productId:u.productId||void 0,recipeId:u.recipeId||void 0,paramKey:u.paramKey||void 0,nodeId:u.nodeId||void 0,fromMs:Date.now()-u.lastMin*6e4,toMs:Date.now(),bucketMs:u.bucketMs>0?u.bucketMs:void 0,limit:2e3}),d.value.channels.length===0&&(p.value=s(`dcwDetail.kszv5sq136`))}catch(e){p.value=a(e)}finally{f.value=!1}}return{query:u,queryResult:d,queryBusy:f,queryError:p,doQuery:m,daqParamKeys:r(()=>c.templates.map(e=>e.key))}}export{s as n,c as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./DK3Fl9T5.js";import{n as t}from"./Cnrmlixo.js";import{i as n}from"./CiyTTgqr.js";import{t as r}from"./JgheoP3e.js";import{t as i}from"./8oRmGaAV.js";var a=e({useTeamActions:()=>o});function o(e){let a=i(),{t:o}=t();return{toggleVisibility:async(t,i)=>{try{await a.updateTeam(t.id,{visibility:i?`public`:`private`}),n.success(o(i?`teams.k1globhp023`:`teams.k1xxabaf024`)),e.reload()}catch(e){n.error(r(e))}},removeMember:async(t,n)=>{await a.removeTeamMember(t.id,n),e.reload()},removeTeam:async t=>{await a.deleteTeam(t.id),n.success(o(`teams.k1oxjrxx027`)),e.reload()}}}export{a as n,o as t};
|