agentworkshop 0.13.0 → 0.15.0
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{C83WgjYi2.js → 0Nb816vM2.js} +1 -1
- package/.output/public/_nuxt/{9fFmgoEg.js → 1MRs7VEN.js} +2 -2
- package/.output/public/_nuxt/{na-v7AnV.js → 2G5QY7Ve.js} +1 -1
- package/.output/public/_nuxt/{BSoelv0a.js → 2_epppnS.js} +1 -1
- package/.output/public/_nuxt/3Z3Bt_nO.js +1 -0
- package/.output/public/_nuxt/45EP5kW5.js +1 -0
- package/.output/public/_nuxt/{1ACUYRbX2.js → 4zHSAgHR2.js} +1 -1
- package/.output/public/_nuxt/{v9siq2t2.js → 7cEEdXUB.js} +1 -1
- package/.output/public/_nuxt/{CwKer8HM.js → AoMWPlS4.js} +1 -1
- package/.output/public/_nuxt/B1Byv4Xd.js +1 -0
- package/.output/public/_nuxt/{CcUK7VEO.js → B2aNBGWY.js} +1 -1
- package/.output/public/_nuxt/B5JMr9Bq2.js +1 -0
- package/.output/public/_nuxt/{BGNdJs0u.js → B6OzW5oQ.js} +1 -1
- package/.output/public/_nuxt/{DkT2GNoe2.js → B7qnHEGS2.js} +1 -1
- package/.output/public/_nuxt/{C2T_likn.js → B9bDLMV2.js} +1 -1
- package/.output/public/_nuxt/{C1aw8M-y.js → BFCXlEri.js} +1 -1
- package/.output/public/_nuxt/{ButdHBAG2.js → BIA1pgdK2.js} +1 -1
- package/.output/public/_nuxt/{CaO16PEo.js → BJOvMgHZ.js} +1 -1
- package/.output/public/_nuxt/{DShhJiJ2.js → BMNTU63B.js} +1 -1
- package/.output/public/_nuxt/{CxsGwDxD.js → BOTwLI58.js} +1 -1
- package/.output/public/_nuxt/{DyVSH3z12.js → BOZ5H3qp2.js} +1 -1
- package/.output/public/_nuxt/{D6YOm08o2.js → BQUP8S2f2.js} +1 -1
- package/.output/public/_nuxt/{DlQwaDvT.js → BTolZqCl.js} +1 -1
- package/.output/public/_nuxt/{CqGPK3qr.js → BU9ngoXz.js} +1 -1
- package/.output/public/_nuxt/BVg1W_bo.js +1 -0
- package/.output/public/_nuxt/{tDcrlXNq2.js → BWDUeB9r2.js} +1 -1
- package/.output/public/_nuxt/BXjiBMuG.js +1 -0
- package/.output/public/_nuxt/BZiINJYa.js +1 -0
- package/.output/public/_nuxt/{Dv-aRRw6.js → BdNcCEk9.js} +1 -1
- package/.output/public/_nuxt/{BXmw2gVr2.js → Bdk78w-12.js} +1 -1
- package/.output/public/_nuxt/{CjUhmJu4.js → Bm9CxEDc.js} +1 -1
- package/.output/public/_nuxt/{BO1EKPwz.js → Bmnkd0yI.js} +1 -1
- package/.output/public/_nuxt/BpqmshmO.js +1 -0
- package/.output/public/_nuxt/{BzMtfH7I.js → BzrnUjnS.js} +1 -1
- package/.output/public/_nuxt/{B58_RyYq.js → C-3VV0kR2.js} +1 -1
- package/.output/public/_nuxt/{BgbWJIxO.js → C-9AbHCK.js} +1 -1
- package/.output/public/_nuxt/{C-4CbiNS.js → C-TWLsL1.js} +1 -1
- package/.output/public/_nuxt/{BMWX8Piz2.js → C2Tq3YFf2.js} +1 -1
- package/.output/public/_nuxt/{E0JVrptf2.js → C3OtCFuc.js} +1 -1
- package/.output/public/_nuxt/{DbdSzhaN.js → C3quMY1Z.js} +1 -1
- package/.output/public/_nuxt/C7cwKZqJ2.js +1 -0
- package/.output/public/_nuxt/{DhZ92AxX.js → C7gQe4Lf.js} +1 -1
- package/.output/public/_nuxt/C83neYZq2.js +1 -0
- package/.output/public/_nuxt/C8z8bWb7.js +2 -0
- package/.output/public/_nuxt/{DzeHYeCo2.js → CBNfkSs72.js} +1 -1
- package/.output/public/_nuxt/CC8gRGAU.js +1 -0
- package/.output/public/_nuxt/{p1ERztZ9.js → CCb05LCf.js} +1 -1
- package/.output/public/_nuxt/{CsdezMu9.js → CES9PcLp.js} +6 -6
- package/.output/public/_nuxt/{CljTL3qL.js → CGZVhxgy.js} +1 -1
- package/.output/public/_nuxt/{Cy0eCUDp.js → CGcb6CEO.js} +5 -5
- package/.output/public/_nuxt/CL0ndeUz2.js +1 -0
- package/.output/public/_nuxt/{DVz_Lb-o.js → CLocB-kZ.js} +1 -1
- package/.output/public/_nuxt/{B074kQfG.js → CMNP1flG.js} +1 -1
- package/.output/public/_nuxt/{lfOlRKYk.js → CNanQPIl.js} +1 -1
- package/.output/public/_nuxt/COxoJT2N.js +1 -0
- package/.output/public/_nuxt/CTHjVKYV.js +1 -0
- package/.output/public/_nuxt/CV9ChSul.js +1 -0
- package/.output/public/_nuxt/CWwOJ-8h2.js +1 -0
- package/.output/public/_nuxt/CaY6Vh5o2.js +1 -0
- package/.output/public/_nuxt/{WL1R8lPA.js → ChAyptzV.js} +1 -1
- package/.output/public/_nuxt/{DbY_bP7w.js → CjSLwcFL.js} +1 -1
- package/.output/public/_nuxt/CjsItGmV.js +1 -0
- package/.output/public/_nuxt/{DiGhNsS32.js → ClVN8KaH2.js} +1 -1
- package/.output/public/_nuxt/{unupYhzt.js → CnBU3M3H.js} +1 -1
- package/.output/public/_nuxt/CnwJOtRh.js +1 -0
- package/.output/public/_nuxt/{D1BCZoPK2.js → Cprjhp0y2.js} +1 -1
- package/.output/public/_nuxt/Cq04yCfv.js +2 -0
- package/.output/public/_nuxt/{DqlqbG4p.js → CuOY9HU5.js} +1 -1
- package/.output/public/_nuxt/CuiM5V6m.js +1 -0
- package/.output/public/_nuxt/{DkNIO2bC2.js → CzpwkMW62.js} +1 -1
- package/.output/public/_nuxt/{DSAh0j8H.js → D3bkMZ9s.js} +1 -1
- package/.output/public/_nuxt/{DnN04BP7.js → D7sN-Wpq.js} +1 -1
- package/.output/public/_nuxt/{CXcry5882.js → D8nDqaC82.js} +1 -1
- package/.output/public/_nuxt/{BhEXWepB2.js → DBYWT65a2.js} +1 -1
- package/.output/public/_nuxt/DBj6ccke.js +1 -0
- package/.output/public/_nuxt/{CPoQsxkj2.js → DIXtjY5n2.js} +1 -1
- package/.output/public/_nuxt/{B47j3rCX2.js → DL06zqLJ2.js} +1 -1
- package/.output/public/_nuxt/{_zZ5SC-g2.js → DMDHmyw22.js} +1 -1
- package/.output/public/_nuxt/{DMqyOhMS2.js → DOhhieKA2.js} +1 -1
- package/.output/public/_nuxt/DU3fuQcm2.js +1 -0
- package/.output/public/_nuxt/DVG0F_vR2.js +1 -0
- package/.output/public/_nuxt/{PdLKns9u.js → DWmUsWoT.js} +1 -1
- package/.output/public/_nuxt/DXY8bTqS.js +1 -0
- package/.output/public/_nuxt/{Do_puYWy.js → DXYZpZc3.js} +1 -1
- package/.output/public/_nuxt/{BlssjBI62.js → Ddngq6o32.js} +1 -1
- package/.output/public/_nuxt/{BnhT9mKJ.js → Del58ZQ1.js} +1 -1
- package/.output/public/_nuxt/{C-0XFiGd2.js → Dfd0oCMi2.js} +1 -1
- package/.output/public/_nuxt/{zMAN4sWM.js → DhB3DaCJ.js} +1 -1
- package/.output/public/_nuxt/{KuauUl3M2.js → DmpthR5e2.js} +1 -1
- package/.output/public/_nuxt/{DW3J3wwr.js → DnECgSKV.js} +1 -1
- package/.output/public/_nuxt/{C09UDduo.js → DnKJsP9R.js} +1 -1
- package/.output/public/_nuxt/{CYVBeAN02.js → DoUe2o1b2.js} +1 -1
- package/.output/public/_nuxt/{1-nXTmsz.js → DqugL6kI.js} +1 -1
- package/.output/public/_nuxt/{B2-Wuy0u.js → DrtAZmJr.js} +1 -1
- package/.output/public/_nuxt/{DLOrQRt8.js → Dycod_QI2.js} +1 -1
- package/.output/public/_nuxt/GTQ1F8wZ.js +1 -0
- package/.output/public/_nuxt/{BRidIwYz.js → MNmYIrmo.js} +1 -1
- package/.output/public/_nuxt/P2Ooyttz2.js +2 -0
- package/.output/public/_nuxt/Phf3amPG2.js +1 -0
- package/.output/public/_nuxt/Uuf6Jdzd.js +1 -0
- package/.output/public/_nuxt/{C41aYETX.js → XOEJCfKe.js} +1 -1
- package/.output/public/_nuxt/{_wsId_.zZS-8BeH.css → _wsId_.B2sLoyzZ.css} +1 -1
- package/.output/public/_nuxt/{DtZhgwuA.js → abcxuPE9.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/c1f41981-1e18-4ae0-be61-9db5f5bc284e.json +1 -0
- package/.output/public/_nuxt/czIOEnW42.js +1 -0
- package/.output/public/_nuxt/{CiRZsefJ2.js → e4nLwBjY2.js} +1 -1
- package/.output/public/_nuxt/egk5d2O4.js +1 -0
- package/.output/public/_nuxt/{entry.Bi6D2eNv.css → entry.CxkSJUk3.css} +1 -1
- package/.output/public/_nuxt/{C5qsWljd2.js → pO0uy14N2.js} +1 -1
- package/.output/public/_nuxt/settings.BRjXthG4.css +1 -0
- package/.output/public/_nuxt/{C9GYA3gx2.js → uH70PXCU2.js} +1 -1
- package/.output/public/_nuxt/{BLb7g0SY.js → y3xy6Xpo.js} +1 -1
- package/.output/server/chunks/_/access.mjs +2 -1
- package/.output/server/chunks/_/access.mjs.map +1 -1
- package/.output/server/chunks/_/bench-run.mjs +8 -4
- package/.output/server/chunks/_/bench-run.mjs.map +1 -1
- package/.output/server/chunks/_/binding-authz.mjs +1 -1
- package/.output/server/chunks/_/candidate-store.mjs +1 -1
- package/.output/server/chunks/_/catalog-view.mjs +1 -1
- package/.output/server/chunks/_/character-asset.repo.mjs +1 -1
- package/.output/server/chunks/_/chart-repo.mjs +1 -1
- package/.output/server/chunks/_/dashboard-repo.mjs +1 -1
- package/.output/server/chunks/_/data-export.mjs +6 -6
- package/.output/server/chunks/_/data-query.mjs +3 -3
- package/.output/server/chunks/_/eda-run.repo.mjs +3 -2
- package/.output/server/chunks/_/eda-run.repo.mjs.map +1 -1
- package/.output/server/chunks/_/entity.mjs +1 -1
- package/.output/server/chunks/_/features.mjs +6 -5
- package/.output/server/chunks/_/features.mjs.map +1 -1
- package/.output/server/chunks/_/golden.mjs +3 -3
- 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 +2 -1
- package/.output/server/chunks/_/index.mjs.map +1 -1
- package/.output/server/chunks/_/line-scope.mjs +1 -1
- package/.output/server/chunks/_/mes-console.mjs +1 -1
- package/.output/server/chunks/_/mes-secrets.repo.mjs +2 -1
- package/.output/server/chunks/_/mes-secrets.repo.mjs.map +1 -1
- package/.output/server/chunks/_/mes-templates.mjs +1 -1
- package/.output/server/chunks/_/nitro.mjs +4946 -2295
- package/.output/server/chunks/_/nitro.mjs.map +1 -1
- package/.output/server/chunks/_/ocap.mjs +1 -1
- package/.output/server/chunks/_/orchestrator.mjs +2 -1
- package/.output/server/chunks/_/orchestrator.mjs.map +1 -1
- package/.output/server/chunks/_/promote.mjs +8 -2
- package/.output/server/chunks/_/promote.mjs.map +1 -1
- package/.output/server/chunks/_/rest-auth.mjs +1 -1
- package/.output/server/chunks/_/runtime.mjs +9 -8
- package/.output/server/chunks/_/runtime.mjs.map +1 -1
- package/.output/server/chunks/_/scene-layout.repo.mjs +1 -1
- package/.output/server/chunks/_/spc.mjs +3 -2
- package/.output/server/chunks/_/spc.mjs.map +1 -1
- package/.output/server/chunks/_/template-repo.mjs +1 -1
- package/.output/server/chunks/_/validator.mjs +1 -1
- package/.output/server/chunks/build/TownView-DD1zY8xq.mjs +1 -1
- package/.output/server/chunks/build/_id_-B9zi8WEg.mjs +1 -0
- package/.output/server/chunks/build/_id_-B9zi8WEg.mjs.map +1 -1
- package/.output/server/chunks/build/_id_-BB-OZCsp.mjs +1 -0
- package/.output/server/chunks/build/_id_-BB-OZCsp.mjs.map +1 -1
- package/.output/server/chunks/build/_id_-DLdvNP4J.mjs +1 -0
- package/.output/server/chunks/build/_id_-DLdvNP4J.mjs.map +1 -1
- package/.output/server/chunks/build/{_wsId_-LDv5SEW_.mjs → _wsId_-DpPJ8wKL.mjs} +116 -19
- package/.output/server/chunks/build/{_wsId_-LDv5SEW_.mjs.map → _wsId_-DpPJ8wKL.mjs.map} +1 -1
- package/.output/server/chunks/build/agents-DeRHs8c9.mjs +1 -0
- package/.output/server/chunks/build/agents-DeRHs8c9.mjs.map +1 -1
- package/.output/server/chunks/build/aml-DVcZDyvA.mjs +1 -0
- package/.output/server/chunks/build/aml-DVcZDyvA.mjs.map +1 -1
- package/.output/server/chunks/build/analysis-DQM-3YKP.mjs +1 -0
- package/.output/server/chunks/build/analysis-DQM-3YKP.mjs.map +1 -1
- package/.output/server/chunks/build/api-BQ9AQHv-.mjs +1 -0
- package/.output/server/chunks/build/api-BQ9AQHv-.mjs.map +1 -1
- package/.output/server/chunks/build/api-ByIV5jMN.mjs +1 -0
- package/.output/server/chunks/build/api-ByIV5jMN.mjs.map +1 -1
- package/.output/server/chunks/build/api-DbUqSbs2.mjs +1 -0
- package/.output/server/chunks/build/api-DbUqSbs2.mjs.map +1 -1
- package/.output/server/chunks/build/board-CKUuAY_Q.mjs +1 -0
- package/.output/server/chunks/build/board-CKUuAY_Q.mjs.map +1 -1
- package/.output/server/chunks/build/channel-templates-4Zdu0Eyr.mjs +1 -0
- package/.output/server/chunks/build/channel-templates-4Zdu0Eyr.mjs.map +1 -1
- package/.output/server/chunks/build/console-nsxH0t5s.mjs +1 -0
- package/.output/server/chunks/build/console-nsxH0t5s.mjs.map +1 -1
- 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-B5zlUIlb.mjs +2 -1
- package/.output/server/chunks/build/daq-B5zlUIlb.mjs.map +1 -1
- package/.output/server/chunks/build/data-CdyujjU3.mjs +1 -0
- package/.output/server/chunks/build/data-CdyujjU3.mjs.map +1 -1
- package/.output/server/chunks/build/dcw-B-eoU7sq.mjs +2 -1
- package/.output/server/chunks/build/dcw-B-eoU7sq.mjs.map +1 -1
- package/.output/server/chunks/build/default-Bbyb2qEG.mjs +1 -0
- package/.output/server/chunks/build/es-DHnUVWGO.mjs +1 -0
- package/.output/server/chunks/build/es-DHnUVWGO.mjs.map +1 -1
- package/.output/server/chunks/build/logs-ByxK-myz.mjs +1 -0
- package/.output/server/chunks/build/logs-ByxK-myz.mjs.map +1 -1
- package/.output/server/chunks/build/monitor-BWd4h4K9.mjs +1 -0
- package/.output/server/chunks/build/ontology-C3WzgG5p.mjs +1 -0
- package/.output/server/chunks/build/ontology-C3WzgG5p.mjs.map +1 -1
- package/.output/server/chunks/build/operations-tE63Vy9Z.mjs +1 -0
- package/.output/server/chunks/build/operations-tE63Vy9Z.mjs.map +1 -1
- package/.output/server/chunks/build/optimizer-A6UyksVT.mjs +1 -0
- package/.output/server/chunks/build/pages-D-cFfP_K.mjs +1 -0
- package/.output/server/chunks/build/pages-D-cFfP_K.mjs.map +1 -1
- package/.output/server/chunks/build/permissions-44GsBS_4.mjs +1 -0
- package/.output/server/chunks/build/permissions-44GsBS_4.mjs.map +1 -1
- package/.output/server/chunks/build/pipeline-B2TDdGx6.mjs +1 -0
- package/.output/server/chunks/build/pipeline-B2TDdGx6.mjs.map +1 -1
- package/.output/server/chunks/build/plugins-CfVTAFbT.mjs +1 -0
- package/.output/server/chunks/build/plugins-CfVTAFbT.mjs.map +1 -1
- package/.output/server/chunks/build/projects-taoNPGqx.mjs +1 -0
- package/.output/server/chunks/build/projects-taoNPGqx.mjs.map +1 -1
- package/.output/server/chunks/build/schedules-DnHxYWcd.mjs +1 -0
- package/.output/server/chunks/build/settings-DpVwa_M8.mjs +3537 -0
- package/.output/server/chunks/build/settings-DpVwa_M8.mjs.map +1 -0
- package/.output/server/chunks/build/studio-CB0a63bK.mjs +1 -0
- package/.output/server/chunks/build/studio-CB0a63bK.mjs.map +1 -1
- package/.output/server/chunks/build/teams-DkwgH6Ab.mjs +1 -0
- package/.output/server/chunks/build/teams-DkwgH6Ab.mjs.map +1 -1
- package/.output/server/chunks/build/tokens-yzJOx8lm.mjs +1 -0
- package/.output/server/chunks/build/tokens-yzJOx8lm.mjs.map +1 -1
- package/.output/server/chunks/build/tools-Bd7u9FCc.mjs +1 -0
- package/.output/server/chunks/build/tools-Bd7u9FCc.mjs.map +1 -1
- package/.output/server/chunks/build/town-CyJy_4k5.mjs +1 -0
- package/.output/server/chunks/build/town-CyJy_4k5.mjs.map +1 -1
- package/.output/server/chunks/build/town-pIgFRdcR.mjs +1 -0
- package/.output/server/chunks/build/town-pIgFRdcR.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-BkPrqFxg.mjs +1 -0
- package/.output/server/chunks/build/useAgentHarnessOptions-BkPrqFxg.mjs.map +1 -1
- package/.output/server/chunks/build/useAgentTemplateActions-BftyRRwI.mjs +1 -0
- package/.output/server/chunks/build/useAgentTemplateActions-BftyRRwI.mjs.map +1 -1
- 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-D7NAXZ59.mjs +1 -0
- package/.output/server/chunks/build/useAgentTemplateForm-D7NAXZ59.mjs.map +1 -1
- package/.output/server/chunks/build/useAgentTemplatesCatalog-DnqTc0oL.mjs +1 -0
- package/.output/server/chunks/build/useAgentTemplatesCatalog-DnqTc0oL.mjs.map +1 -1
- package/.output/server/chunks/build/useAmlDatasets-Cr25p62c.mjs +1 -0
- package/.output/server/chunks/build/useAmlDatasets-Cr25p62c.mjs.map +1 -1
- package/.output/server/chunks/build/useAmlEntities-DBDpqmC3.mjs +1 -0
- package/.output/server/chunks/build/useAmlEntities-DBDpqmC3.mjs.map +1 -1
- package/.output/server/chunks/build/useAmlEnv-B94CxtjW.mjs +1 -0
- package/.output/server/chunks/build/useAmlEnv-B94CxtjW.mjs.map +1 -1
- package/.output/server/chunks/build/useAmlExperiments-B2HI1odc.mjs +1 -0
- package/.output/server/chunks/build/useAmlExperiments-B2HI1odc.mjs.map +1 -1
- package/.output/server/chunks/build/useAmlFormat-DNrSqItx.mjs +1 -0
- package/.output/server/chunks/build/useAmlFormat-DNrSqItx.mjs.map +1 -1
- package/.output/server/chunks/build/useAmlJobs-C-EheCdn.mjs +1 -0
- package/.output/server/chunks/build/useAmlJobs-C-EheCdn.mjs.map +1 -1
- package/.output/server/chunks/build/useAmlModels-BqWz2YoO.mjs +1 -0
- package/.output/server/chunks/build/useAmlModels-BqWz2YoO.mjs.map +1 -1
- package/.output/server/chunks/build/useAmlNotes-nRlk9fOE.mjs +1 -0
- package/.output/server/chunks/build/useAmlNotes-nRlk9fOE.mjs.map +1 -1
- package/.output/server/chunks/build/useAmlPredict-BQbSLob6.mjs +1 -0
- package/.output/server/chunks/build/useAmlPredict-BQbSLob6.mjs.map +1 -1
- package/.output/server/chunks/build/useAnalysisFeed-CzZmTTqq.mjs +1 -0
- package/.output/server/chunks/build/useAnalysisFeed-CzZmTTqq.mjs.map +1 -1
- package/.output/server/chunks/build/useDaqAddNode-Dr5CfMpU.mjs +2 -1
- package/.output/server/chunks/build/useDaqAddNode-Dr5CfMpU.mjs.map +1 -1
- package/.output/server/chunks/build/useDaqDetailBinding-BAAoyUdv.mjs +1 -0
- package/.output/server/chunks/build/useDaqDetailBinding-BAAoyUdv.mjs.map +1 -1
- package/.output/server/chunks/build/useDaqDetailFrames-4zuFL3Q5.mjs +1 -0
- package/.output/server/chunks/build/useDaqDetailFrames-4zuFL3Q5.mjs.map +1 -1
- package/.output/server/chunks/build/useDaqDetailHistory-CHrHfBOm.mjs +1 -0
- package/.output/server/chunks/build/useDaqDetailHistory-CHrHfBOm.mjs.map +1 -1
- package/.output/server/chunks/build/useDaqDetailNode-DDq5osE-.mjs +2 -1
- package/.output/server/chunks/build/useDaqDetailNode-DDq5osE-.mjs.map +1 -1
- package/.output/server/chunks/build/useDaqDetailParams-DdOcUvHG.mjs +2 -1
- package/.output/server/chunks/build/useDaqDetailParams-DdOcUvHG.mjs.map +1 -1
- package/.output/server/chunks/build/useDaqFilters-Y_NRhP6i.mjs +2 -1
- package/.output/server/chunks/build/useDaqFilters-Y_NRhP6i.mjs.map +1 -1
- 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-O4JdRYUR.mjs +1 -0
- package/.output/server/chunks/build/useDaqOptimizations-O4JdRYUR.mjs.map +1 -1
- package/.output/server/chunks/build/useDaqStream-phwM5tIN.mjs +1 -1
- package/.output/server/chunks/build/useDaqTemplates-lKw2b01d.mjs +2 -1
- package/.output/server/chunks/build/useDaqTemplates-lKw2b01d.mjs.map +1 -1
- package/.output/server/chunks/build/useDashboardCharts-Cw7u2wUU.mjs +1 -0
- package/.output/server/chunks/build/useDashboardCharts-Cw7u2wUU.mjs.map +1 -1
- package/.output/server/chunks/build/useDashboardData-BBBMb6v_.mjs +1 -0
- package/.output/server/chunks/build/useDashboardData-BBBMb6v_.mjs.map +1 -1
- package/.output/server/chunks/build/useDcwAddNode-CT-oOFom.mjs +2 -1
- package/.output/server/chunks/build/useDcwAddNode-CT-oOFom.mjs.map +1 -1
- package/.output/server/chunks/build/useDcwCards-COffSnEh.mjs +1 -0
- package/.output/server/chunks/build/useDcwCards-COffSnEh.mjs.map +1 -1
- package/.output/server/chunks/build/useDcwDetailScope-CPYeNib2.mjs +1 -0
- package/.output/server/chunks/build/useDcwDetailScope-CPYeNib2.mjs.map +1 -1
- package/.output/server/chunks/build/useDcwDetailTemplates-jXerMgzY.mjs +1 -0
- package/.output/server/chunks/build/useDcwDetailTemplates-jXerMgzY.mjs.map +1 -1
- package/.output/server/chunks/build/useDcwFilter-BmuVZkbW.mjs +1 -0
- package/.output/server/chunks/build/useDcwFilter-BmuVZkbW.mjs.map +1 -1
- package/.output/server/chunks/build/useDcwLedger-Do4JjGEu.mjs +1 -0
- package/.output/server/chunks/build/useDcwLedger-Do4JjGEu.mjs.map +1 -1
- package/.output/server/chunks/build/useDcwLineMutations-BNx-gh7I.mjs +1 -0
- package/.output/server/chunks/build/useDcwLineMutations-BNx-gh7I.mjs.map +1 -1
- package/.output/server/chunks/build/useDcwLineRun-CbJWDWZl.mjs +1 -0
- package/.output/server/chunks/build/useDcwLineRun-CbJWDWZl.mjs.map +1 -1
- package/.output/server/chunks/build/useDcwParamApprovals-BsoHHvme.mjs +1 -0
- package/.output/server/chunks/build/useDcwParamApprovals-BsoHHvme.mjs.map +1 -1
- package/.output/server/chunks/build/useDcwProducts-CXNhswqK.mjs +1 -0
- package/.output/server/chunks/build/useDcwProducts-CXNhswqK.mjs.map +1 -1
- package/.output/server/chunks/build/useDcwQuery-CBPkHlA7.mjs +1 -0
- package/.output/server/chunks/build/useDcwQuery-CBPkHlA7.mjs.map +1 -1
- package/.output/server/chunks/build/useDcwQuickActions-By6bAfeD.mjs +1 -0
- package/.output/server/chunks/build/useDcwQuickActions-By6bAfeD.mjs.map +1 -1
- package/.output/server/chunks/build/useDcwRecipes-ZUNE8GaL.mjs +1 -0
- package/.output/server/chunks/build/useDcwRecipes-ZUNE8GaL.mjs.map +1 -1
- package/.output/server/chunks/build/useDcwStream-CNtMGcR0.mjs +1 -1
- package/.output/server/chunks/build/useDcwTemplates-B5asHSLs.mjs +1 -0
- package/.output/server/chunks/build/useDcwTemplates-B5asHSLs.mjs.map +1 -1
- package/.output/server/chunks/build/useDcwWrites-B0RF3zFE.mjs +1 -0
- package/.output/server/chunks/build/useDcwWrites-B0RF3zFE.mjs.map +1 -1
- package/.output/server/chunks/build/useExpConfirmations-BxGYvtvI.mjs +1 -0
- package/.output/server/chunks/build/useExpConfirmations-BxGYvtvI.mjs.map +1 -1
- package/.output/server/chunks/build/useLogsFormat-jAfh97vI.mjs +1 -0
- package/.output/server/chunks/build/useLogsFormat-jAfh97vI.mjs.map +1 -1
- package/.output/server/chunks/build/useLogsManual-CIcgIGCP.mjs +1 -0
- package/.output/server/chunks/build/useLogsManual-CIcgIGCP.mjs.map +1 -1
- package/.output/server/chunks/build/useLogsQuery-CAkEW5e7.mjs +1 -0
- package/.output/server/chunks/build/useLogsQuery-CAkEW5e7.mjs.map +1 -1
- package/.output/server/chunks/build/useLogsScope-DGFmQgcV.mjs +1 -0
- package/.output/server/chunks/build/useLogsScope-DGFmQgcV.mjs.map +1 -1
- package/.output/server/chunks/build/useMonitorColumns-B9v7KZdO.mjs +1 -0
- package/.output/server/chunks/build/useMonitorColumns-B9v7KZdO.mjs.map +1 -1
- package/.output/server/chunks/build/useMonitorData-CXJzv8yG.mjs +1 -0
- package/.output/server/chunks/build/useMonitorData-CXJzv8yG.mjs.map +1 -1
- package/.output/server/chunks/build/useMonitorFormat-BEESOsgH.mjs +1 -0
- package/.output/server/chunks/build/useMonitorFormat-BEESOsgH.mjs.map +1 -1
- 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-BK8B0A0L.mjs +1 -0
- package/.output/server/chunks/build/useOperationsFeed-BK8B0A0L.mjs.map +1 -1
- package/.output/server/chunks/build/useRecipeDispatchApprovals-NuH_3Bpu.mjs +1 -0
- package/.output/server/chunks/build/useRecipeDispatchApprovals-NuH_3Bpu.mjs.map +1 -1
- package/.output/server/chunks/build/useTeamActions-B4QCFYq8.mjs +1 -0
- package/.output/server/chunks/build/useTeamActions-B4QCFYq8.mjs.map +1 -1
- package/.output/server/chunks/build/useTeamAddMemberDialog-CF0Qb5l7.mjs +1 -0
- package/.output/server/chunks/build/useTeamAddMemberDialog-CF0Qb5l7.mjs.map +1 -1
- package/.output/server/chunks/build/useTeamCreateDialog-B-P-LG3N.mjs +1 -0
- package/.output/server/chunks/build/useTeamCreateDialog-B-P-LG3N.mjs.map +1 -1
- package/.output/server/chunks/build/useTeamDeployDialog-DHA-c9Tk.mjs +1 -0
- package/.output/server/chunks/build/useTeamDeployDialog-DHA-c9Tk.mjs.map +1 -1
- 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-CDf1S9ME.mjs +1 -0
- package/.output/server/chunks/build/useTeamPluginDialog-CDf1S9ME.mjs.map +1 -1
- package/.output/server/chunks/build/useTeamsCatalog-BHP6g4ON.mjs +1 -0
- package/.output/server/chunks/build/useTeamsCatalog-BHP6g4ON.mjs.map +1 -1
- 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-Bl6fJXjW.mjs +1 -0
- package/.output/server/chunks/build/useTokenCreate-Bl6fJXjW.mjs.map +1 -1
- package/.output/server/chunks/build/useTokenRename-CHm_kIgW.mjs +1 -0
- package/.output/server/chunks/build/useTokenRename-CHm_kIgW.mjs.map +1 -1
- package/.output/server/chunks/build/useTokenReveal-DMRadzcq.mjs +1 -0
- package/.output/server/chunks/build/useTokenReveal-DMRadzcq.mjs.map +1 -1
- package/.output/server/chunks/build/useTokensList-DnT_Sn0Q.mjs +1 -0
- package/.output/server/chunks/build/useTokensList-DnT_Sn0Q.mjs.map +1 -1
- package/.output/server/chunks/build/useWorkbenchAuth-DgxFoSli.mjs +1 -0
- package/.output/server/chunks/build/useWorkbenchAuth-DgxFoSli.mjs.map +1 -1
- package/.output/server/chunks/build/useWorkbenchWorkspaces-BHRTd7aZ.mjs +1 -0
- package/.output/server/chunks/build/useWorkbenchWorkspaces-BHRTd7aZ.mjs.map +1 -1
- package/.output/server/chunks/build/useWorkspaceAuth-cgLRP1X_.mjs +1 -0
- package/.output/server/chunks/build/useWorkspaceAuth-cgLRP1X_.mjs.map +1 -1
- package/.output/server/chunks/build/useWorkspaceChannels-C4b7dg1J.mjs +1 -0
- package/.output/server/chunks/build/useWorkspaceChannels-C4b7dg1J.mjs.map +1 -1
- package/.output/server/chunks/build/useWorkspacePanels-ht2LWq_7.mjs +1 -0
- package/.output/server/chunks/build/useWorkspacePanels-ht2LWq_7.mjs.map +1 -1
- package/.output/server/chunks/build/useWorkspaceShell-C9rDcdde.mjs +1 -0
- package/.output/server/chunks/build/useWorkspaceShell-C9rDcdde.mjs.map +1 -1
- package/.output/server/chunks/build/users-nLXiihNX.mjs +1 -0
- package/.output/server/chunks/build/users-nLXiihNX.mjs.map +1 -1
- package/.output/server/chunks/build/workshop-DDci854s.mjs +1 -0
- package/.output/server/chunks/build/workshop-DDci854s.mjs.map +1 -1
- 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 +2 -1
- package/.output/server/chunks/routes/api/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/index.post.mjs +2 -1
- package/.output/server/chunks/routes/api/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/mcp/workshop.mjs +110 -12
- 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/restore.post.mjs +2 -1
- package/.output/server/chunks/routes/api/system/backup/restore.post.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 +4 -3
- 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 +4 -2
- package/.output/server/chunks/routes/api/system/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/index2.post.mjs +59 -0
- package/.output/server/chunks/routes/api/system/index2.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/index3.get.mjs +34 -0
- package/.output/server/chunks/routes/api/system/index3.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/index4.get.mjs +35 -0
- package/.output/server/chunks/routes/api/system/index4.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/mcp-servers/_id/discover.post.mjs +47 -0
- package/.output/server/chunks/routes/api/system/mcp-servers/_id/discover.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/mcp-servers/_id/review.post.mjs +57 -0
- package/.output/server/chunks/routes/api/system/mcp-servers/_id/review.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/mcp-servers/_id_.delete.mjs +47 -0
- package/.output/server/chunks/routes/api/system/mcp-servers/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/mcp-servers/_id_.get.mjs +36 -0
- package/.output/server/chunks/routes/api/system/mcp-servers/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/mcp-servers/_id_.patch.mjs +59 -0
- package/.output/server/chunks/routes/api/system/mcp-servers/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- package/.output/server/chunks/routes/api/system/settings/reset.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/shutdown.post.mjs +3 -2
- package/.output/server/chunks/routes/api/system/shutdown.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/skills/_id/file.get.mjs +39 -0
- package/.output/server/chunks/routes/api/system/skills/_id/file.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/skills/_id_.delete.mjs +49 -0
- package/.output/server/chunks/routes/api/system/skills/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/skills/_id_.patch.mjs +49 -0
- package/.output/server/chunks/routes/api/system/skills/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/skills/discover.get.mjs +35 -0
- package/.output/server/chunks/routes/api/system/skills/discover.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/skills/import.post.mjs +49 -0
- package/.output/server/chunks/routes/api/system/skills/import.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/timezone.get.mjs +2 -1
- package/.output/server/chunks/routes/api/system/timezone.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/users/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/_id_.get.mjs +2 -1
- package/.output/server/chunks/routes/api/users/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/_id_.put.mjs +2 -1
- package/.output/server/chunks/routes/api/users/_id_.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/change-password.post.mjs +2 -1
- package/.output/server/chunks/routes/api/users/change-password.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/users/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/index.post.mjs +2 -1
- package/.output/server/chunks/routes/api/users/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/login.post.mjs +2 -1
- package/.output/server/chunks/routes/api/users/login.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/logout.post.mjs +2 -1
- package/.output/server/chunks/routes/api/users/logout.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/me.get.mjs +2 -1
- package/.output/server/chunks/routes/api/users/me.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/register.post.mjs +2 -1
- package/.output/server/chunks/routes/api/users/register.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/session.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/users/session.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/session.get.mjs +2 -1
- package/.output/server/chunks/routes/api/users/session.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/session.post.mjs +2 -1
- package/.output/server/chunks/routes/api/users/session.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/setup-status.get.mjs +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id/publish.post.mjs +48 -0
- package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id/publish.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id/revisions/_revision_.get.mjs +49 -0
- package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id/revisions/_revision_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id_.get.mjs +47 -0
- package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id_.patch.mjs +43 -0
- package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agent-prefabs/catalog.get.mjs +42 -0
- package/.output/server/chunks/routes/api/workshop/agent-prefabs/catalog.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs +2 -1
- 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 +2 -1
- 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 +3 -2
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -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/models/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/models/index.get.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/training-plans/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/aml/training-plans/index.get.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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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/prefab.patch.mjs +59 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/prefab.patch.mjs.map +1 -0
- 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 +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/rotate-token.post.mjs.map +1 -1
- 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 +2 -1
- 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 +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/execution-mode.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/execution-mode.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/harness-profiles/promote.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/harness-profiles/promote.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-proposals/decide.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-proposals/decide.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-stats.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-stats.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/index10.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index10.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index11.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index11.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs +2 -1
- 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 +2 -1
- 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 +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs +2 -1
- 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 +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index7.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index7.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index8.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index8.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index9.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index9.get.mjs.map +1 -1
- 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/experience.get.mjs +69 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/experience.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/promote.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/promote.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/memories/experience-stats.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/experience-stats.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/merge.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/merge.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/products.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/products.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/products.put.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/products.put.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/rescue.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/rescue.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/brief.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/brief.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/close.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/close.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/history.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/history.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/messages.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/messages.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/index.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/index.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/tool-usage.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/tool-usage.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/tools/reset.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/tools/reset.post.mjs.map +1 -1
- 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 +2 -1
- 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 +3 -2
- 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 +3 -2
- package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs.map +1 -1
- 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 +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/export/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/export-file.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/export-file.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/index2.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/daq/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/index2.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/index2.post.mjs.map +1 -1
- 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 +1 -0
- 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 +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/query.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/storage/retention.put.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/storage/retention.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/storage/rollup.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/storage/rollup.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/storage.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/storage.get.mjs.map +1 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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/index8.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index8.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 +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/index.get.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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +3 -2
- 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 +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/commonality.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/eda/commonality.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/features/jobs.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/features/jobs.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/features/run.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/eda/features/run.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/golden/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/golden/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/golden/deviation.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/golden/deviation.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/golden/single.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/golden/single.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index2.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index2.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index2.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index3.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/eda/index3.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index3.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/eda/index3.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index4.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index4.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index4.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index4.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index5.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index5.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index5.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index5.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index6.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/eda/index6.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index6.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/eda/index6.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index7.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index7.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index7.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index7.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index8.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index8.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/index8.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/index8.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/runs/_id/labels.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/eda/runs/_id/labels.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/runs.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/eda/runs.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id/recompute.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id/recompute.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.patch.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/eda/vm/predict.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/eda/vm/predict.post.mjs.map +1 -1
- 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/history.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/hitl/history.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 +15 -5
- package/.output/server/chunks/routes/api/workshop/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/index.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index.post.mjs +9 -17
- 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 +41 -37
- package/.output/server/chunks/routes/api/workshop/index10.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index10.post.mjs +22 -14
- package/.output/server/chunks/routes/api/workshop/index10.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index11.get.mjs +38 -23
- package/.output/server/chunks/routes/api/workshop/index11.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index11.post.mjs +14 -15
- package/.output/server/chunks/routes/api/workshop/index11.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index12.get.mjs +24 -27
- package/.output/server/chunks/routes/api/workshop/index12.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index12.post.mjs +19 -4
- package/.output/server/chunks/routes/api/workshop/index12.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index13.get.mjs +27 -17
- package/.output/server/chunks/routes/api/workshop/index13.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index13.post.mjs +36 -0
- package/.output/server/chunks/routes/api/workshop/index13.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index14.get.mjs +18 -2
- package/.output/server/chunks/routes/api/workshop/index14.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index15.get.mjs +3 -2
- package/.output/server/chunks/routes/api/workshop/index15.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index16.get.mjs +3 -3
- package/.output/server/chunks/routes/api/workshop/index16.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index17.get.mjs +6 -5
- package/.output/server/chunks/routes/api/workshop/index17.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index18.get.mjs +6 -4
- package/.output/server/chunks/routes/api/workshop/index18.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index19.get.mjs +34 -0
- package/.output/server/chunks/routes/api/workshop/index19.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index2.get.mjs +6 -26
- package/.output/server/chunks/routes/api/workshop/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index2.post.mjs +18 -58
- package/.output/server/chunks/routes/api/workshop/index2.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index3.get.mjs +24 -23
- package/.output/server/chunks/routes/api/workshop/index3.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index3.post.mjs +59 -50
- package/.output/server/chunks/routes/api/workshop/index3.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index4.get.mjs +25 -9
- package/.output/server/chunks/routes/api/workshop/index4.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index4.post.mjs +50 -253
- package/.output/server/chunks/routes/api/workshop/index4.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index5.get.mjs +11 -4
- package/.output/server/chunks/routes/api/workshop/index5.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index5.post.mjs +239 -13
- package/.output/server/chunks/routes/api/workshop/index5.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index6.get.mjs +5 -29
- package/.output/server/chunks/routes/api/workshop/index6.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index6.post.mjs +30 -19
- package/.output/server/chunks/routes/api/workshop/index6.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index7.get.mjs +26 -22
- package/.output/server/chunks/routes/api/workshop/index7.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index7.post.mjs +19 -56
- package/.output/server/chunks/routes/api/workshop/index7.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs +27 -5
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index8.post.mjs +58 -32
- package/.output/server/chunks/routes/api/workshop/index8.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index9.get.mjs +5 -39
- package/.output/server/chunks/routes/api/workshop/index9.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index9.post.mjs +28 -19
- 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/bridge.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/mes/bridge.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/mes/datasets.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/mes/datasets.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/mes/index.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/mes/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/mes/index.put.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/mes/index.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/mes/points.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/mes/points.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/mes/preview.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/mes/preview.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/mes/secrets/_ref_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/mes/secrets/_ref_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/mes/templates.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/mes/templates.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/mes/templates.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/mes/templates.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/autofix.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/autofix.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/compile.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/compile.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/evidence.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/evidence.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/publish.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/publish.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval-decision.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval-decision.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/transition.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/transition.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/subgraph.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/subgraph.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/validate.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/validate.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId_.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId_.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/export/_ontologyId_.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/export/_ontologyId_.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/index.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/index.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/scene.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/scene.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/traces/_ontologyId_.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/traces/_ontologyId_.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId/compare.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId/compare.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId_.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId_.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/bindings/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/optimization/bindings/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/capabilities.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/optimization/capabilities.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/optimization/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/index.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/optimization/index.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/index2.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/optimization/index2.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/profiles/_id/publish.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/optimization/profiles/_id/publish.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/crosscheck.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/crosscheck.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/dispatch.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/dispatch.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/optimization/solve.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/optimization/solve.post.mjs.map +1 -1
- 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 +2 -1
- package/.output/server/chunks/routes/api/workshop/process-model/datasets.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/process-model/eligibility.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/process-model/eligibility.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/process-model/experiments.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/process-model/experiments.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/process-model/index.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/process-model/index.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/process-model/specs/_id/publish.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/process-model/specs/_id/publish.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/process-model/train.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/process-model/train.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/activate.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/activate.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/approvals/_aid/decide.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/approvals/_aid/decide.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/archive.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/archive.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/channels/_channelId_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/channels/_channelId_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/complete.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/complete.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/continue.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/continue.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/_did/waive.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/_did/waive.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/health.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/health.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index2.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index2.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index2.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index3.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index3.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index3.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index3.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index4.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index4.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index4.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index4.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index5.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index5.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index6.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index6.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index7.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index7.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index8.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/index8.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/kernel/tick.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/kernel/tick.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/ledger.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/ledger.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/members/_userId_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/members/_userId_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability/activity.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability/activity.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability/route.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability/route.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability/work-items/_wid_.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability/work-items/_wid_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/observability.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/pause.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/pause.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/plan/request-approval.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/plan/request-approval.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/proposals/_decisionId/apply.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/proposals/_decisionId/apply.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/reconcile.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/reconcile.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/report.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/report.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/request-acceptance.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/request-acceptance.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/review.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/review.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/submit.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/submit.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/supersede.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/supersede.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/resume.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/resume.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/sessions.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/sessions.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/snapshot.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/snapshot.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/terminate.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/terminate.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/trace/_traceId_.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/trace/_traceId_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/cancel.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/cancel.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/dispatch.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/dispatch.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/retry.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/retry.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id_.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/projects/instantiate.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/projects/instantiate.post.mjs.map +1 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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/recovery-disposition.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/recovery-disposition.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/reopen.post.mjs +2 -1
- 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 +2 -1
- 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/supersede.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/supersede.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/recovery-holds.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/recovery-holds.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 +2 -1
- 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 +2 -1
- 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 +2 -1
- package/.output/server/chunks/routes/api/workshop/tools/_name_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tools/sync.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/tools/sync.post.mjs.map +1 -1
- 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 +2 -1
- 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/api/workshop/ws/ticket.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/ws/ticket.post.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +2 -2
- package/.output/server/chunks/virtual/entry.mjs +207 -5
- 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/node_modules/.nitro/zod@3.25.76/index.js +4 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/package.json +118 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v3/ZodError.js +133 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v3/errors.js +9 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v3/external.js +6 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v3/helpers/errorUtil.js +6 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v3/helpers/parseUtil.js +109 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v3/helpers/typeAliases.js +1 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v3/helpers/util.js +133 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v3/index.js +4 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v3/locales/en.js +109 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v3/types.js +3693 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/checks.js +1 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/coerce.js +17 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/compat.js +27 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/errors.js +41 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/external.js +18 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/index.js +4 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/iso.js +30 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/parse.js +6 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/schemas.js +1006 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/api.js +906 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/checks.js +565 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/core.js +61 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/doc.js +35 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/errors.js +195 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/function.js +75 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/index.js +15 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/json-schema.js +1 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/parse.js +57 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/regexes.js +95 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/registries.js +51 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/schemas.js +1717 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/to-json-schema.js +849 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/util.js +493 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/versions.js +5 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/index.js +3 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ar.js +116 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/az.js +115 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/be.js +164 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ca.js +118 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/cs.js +135 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/de.js +116 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/en.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/eo.js +116 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/es.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/fa.js +122 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/fi.js +122 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/fr-CA.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/fr.js +116 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/he.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/hu.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/id.js +116 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/index.js +39 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/it.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ja.js +115 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/kh.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ko.js +121 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/mk.js +118 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ms.js +116 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/nl.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/no.js +116 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ota.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/pl.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ps.js +122 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/pt.js +116 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ru.js +164 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/sl.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/sv.js +118 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ta.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/th.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/tr.js +115 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ua.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ur.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/vi.js +116 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/zh-CN.js +116 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/zh-TW.js +117 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/mini/checks.js +1 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/mini/coerce.js +17 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/mini/external.js +13 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/mini/index.js +3 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/mini/iso.js +30 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/mini/parse.js +1 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4/mini/schemas.js +732 -0
- package/.output/server/node_modules/.nitro/zod@3.25.76/v4-mini/index.js +1 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/package.json +147 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/checks.js +1 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/coerce.js +17 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/compat.js +31 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/deep-partial.js +13 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/errors.js +57 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/external.js +17 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/from-json-schema.js +881 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/in-out.js +36 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/index.js +4 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/iso.js +15 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/package.json +7 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/parse.js +16 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/schemas.js +1535 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/api.js +1107 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/checks.js +516 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/compile.js +1866 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/core.js +141 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/doc.js +38 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/errors.js +267 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/index.js +19 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/json-schema-generator.js +99 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/json-schema-processors.js +843 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/json-schema.js +1 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/memoizer.js +311 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/package.json +7 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/parse.js +175 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/regexes.js +156 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/registries.js +51 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/schemas.js +2636 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/to-json-schema.js +651 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/util.js +873 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/versions.js +5 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/visit.js +169 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/index.js +4 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ar.js +111 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/az.js +110 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/be.js +168 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/bg.js +125 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/bn.js +113 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ca.js +112 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ckb.js +133 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/cs.js +116 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/da.js +120 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/de.js +113 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/el.js +112 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/en.js +125 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/eo.js +114 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/es.js +136 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/fa.js +119 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/fi.js +117 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/fr-CA.js +112 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/fr.js +129 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/gu.js +113 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/he.js +221 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/hi.js +111 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/hr.js +126 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/hu.js +113 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/hy.js +158 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/id.js +111 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/index.js +63 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/is.js +114 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/it.js +113 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ja.js +112 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ka.js +117 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/kh.js +5 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/km.js +115 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/kn.js +116 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ko.js +116 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/lt.js +207 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/mk.js +114 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ms.js +112 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ne.js +111 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/nl.js +115 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/nn.js +113 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/no.js +113 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ota.js +114 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/package.json +7 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/pl.js +114 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ps.js +119 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/pt-BR.js +143 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/pt.js +142 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ro.js +122 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ru.js +168 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/sk.js +116 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/sl.js +114 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/sv.js +115 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ta.js +115 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/tg.js +117 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/th.js +115 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/tk.js +107 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/tr.js +110 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ua.js +5 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/uk.js +113 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ur.js +115 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/uz.js +113 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/vi.js +113 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/yo.js +112 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/zh-CN.js +114 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/zh-TW.js +112 -0
- package/.output/server/node_modules/.nitro/zod@4.6.7/v4/package.json +7 -0
- package/.output/server/node_modules/@modelcontextprotocol/client/dist/ajvProvider-BIwGVY6G.mjs +8010 -0
- package/.output/server/node_modules/@modelcontextprotocol/client/dist/chunk-DYPzFuB5.mjs +42 -0
- package/.output/server/node_modules/@modelcontextprotocol/client/dist/dialects-BAIiebX0.mjs +34 -0
- package/.output/server/node_modules/@modelcontextprotocol/client/dist/index.mjs +1875 -0
- package/.output/server/node_modules/@modelcontextprotocol/client/dist/public-CvV4ZHkX.mjs +4046 -0
- package/.output/server/node_modules/@modelcontextprotocol/client/dist/shimsNode.mjs +13 -0
- package/.output/server/node_modules/@modelcontextprotocol/client/dist/src-CeKsbNLO.mjs +7237 -0
- package/.output/server/node_modules/@modelcontextprotocol/client/package.json +179 -0
- package/.output/server/node_modules/@modelcontextprotocol/core/dist/auth-UMQCo-ad.mjs +209 -0
- package/.output/server/node_modules/@modelcontextprotocol/core/dist/internal.mjs +4 -0
- package/.output/server/node_modules/@modelcontextprotocol/core/dist/schemas-DscsoNZN.mjs +1476 -0
- package/.output/server/node_modules/@modelcontextprotocol/core/package.json +98 -0
- package/.output/server/node_modules/eventsource/dist/index.js +273 -0
- package/.output/server/node_modules/eventsource/package.json +130 -0
- package/.output/server/node_modules/eventsource-parser/dist/index.js +177 -0
- package/.output/server/node_modules/eventsource-parser/dist/stream.js +30 -0
- package/.output/server/node_modules/eventsource-parser/package.json +92 -0
- package/.output/server/node_modules/pkce-challenge/dist/index.node.js +78 -0
- package/.output/server/node_modules/pkce-challenge/package.json +59 -0
- package/.output/server/node_modules/zod/LICENSE +21 -0
- package/.output/server/node_modules/zod/README.md +208 -0
- package/.output/server/node_modules/zod/index.cjs +33 -0
- package/.output/server/node_modules/zod/index.d.cts +4 -0
- package/.output/server/node_modules/zod/index.d.ts +4 -0
- package/.output/server/node_modules/zod/package.json +1 -1
- package/.output/server/node_modules/zod/src/index.ts +4 -0
- package/.output/server/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/.output/server/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/.output/server/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/.output/server/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/.output/server/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/.output/server/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/.output/server/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/.output/server/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/.output/server/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/.output/server/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/.output/server/node_modules/zod/src/v3/errors.ts +13 -0
- package/.output/server/node_modules/zod/src/v3/external.ts +6 -0
- package/.output/server/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/.output/server/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/.output/server/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/.output/server/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/.output/server/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/.output/server/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/.output/server/node_modules/zod/src/v3/index.ts +4 -0
- package/.output/server/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/.output/server/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/.output/server/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/.output/server/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/.output/server/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/.output/server/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/.output/server/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/.output/server/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/.output/server/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/.output/server/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/.output/server/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/.output/server/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/.output/server/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/.output/server/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
- package/.output/server/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/.output/server/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/.output/server/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/.output/server/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/.output/server/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/.output/server/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/.output/server/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/.output/server/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/.output/server/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/.output/server/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/.output/server/node_modules/zod/src/v3/tests/function.test.ts +257 -0
- package/.output/server/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/.output/server/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/.output/server/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/.output/server/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/.output/server/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/.output/server/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/.output/server/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/.output/server/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/.output/server/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/.output/server/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
- package/.output/server/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/.output/server/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/.output/server/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/.output/server/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/.output/server/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/.output/server/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/.output/server/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/.output/server/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/.output/server/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/.output/server/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/.output/server/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/.output/server/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/.output/server/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/.output/server/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/.output/server/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/.output/server/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/.output/server/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/.output/server/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/.output/server/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/.output/server/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/.output/server/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/.output/server/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/.output/server/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/.output/server/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/.output/server/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/.output/server/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/.output/server/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/.output/server/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/.output/server/node_modules/zod/src/v3/types.ts +5136 -0
- package/.output/server/node_modules/zod/src/v4/classic/checks.ts +30 -0
- package/.output/server/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/.output/server/node_modules/zod/src/v4/classic/compat.ts +66 -0
- package/.output/server/node_modules/zod/src/v4/classic/errors.ts +75 -0
- package/.output/server/node_modules/zod/src/v4/classic/external.ts +50 -0
- package/.output/server/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/.output/server/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/.output/server/node_modules/zod/src/v4/classic/parse.ts +33 -0
- package/.output/server/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/.output/server/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/.output/server/node_modules/zod/src/v4/core/api.ts +1594 -0
- package/.output/server/node_modules/zod/src/v4/core/checks.ts +1283 -0
- package/.output/server/node_modules/zod/src/v4/core/config.ts +15 -0
- package/.output/server/node_modules/zod/src/v4/core/core.ts +134 -0
- package/.output/server/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/.output/server/node_modules/zod/src/v4/core/errors.ts +424 -0
- package/.output/server/node_modules/zod/src/v4/core/function.ts +176 -0
- package/.output/server/node_modules/zod/src/v4/core/index.ts +15 -0
- package/.output/server/node_modules/zod/src/v4/core/json-schema.ts +143 -0
- package/.output/server/node_modules/zod/src/v4/core/parse.ts +94 -0
- package/.output/server/node_modules/zod/src/v4/core/regexes.ts +135 -0
- package/.output/server/node_modules/zod/src/v4/core/registries.ts +96 -0
- package/.output/server/node_modules/zod/src/v4/core/schemas.ts +3842 -0
- package/.output/server/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
- package/.output/server/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/.output/server/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/.output/server/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/.output/server/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/.output/server/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/.output/server/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
- package/.output/server/node_modules/zod/src/v4/core/util.ts +775 -0
- package/.output/server/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/.output/server/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/.output/server/node_modules/zod/src/v4/index.ts +4 -0
- package/.output/server/node_modules/zod/src/v4/locales/ar.ts +125 -0
- package/.output/server/node_modules/zod/src/v4/locales/az.ts +121 -0
- package/.output/server/node_modules/zod/src/v4/locales/be.ts +184 -0
- package/.output/server/node_modules/zod/src/v4/locales/ca.ts +127 -0
- package/.output/server/node_modules/zod/src/v4/locales/cs.ts +142 -0
- package/.output/server/node_modules/zod/src/v4/locales/de.ts +124 -0
- package/.output/server/node_modules/zod/src/v4/locales/en.ts +127 -0
- package/.output/server/node_modules/zod/src/v4/locales/eo.ts +125 -0
- package/.output/server/node_modules/zod/src/v4/locales/es.ts +125 -0
- package/.output/server/node_modules/zod/src/v4/locales/fa.ts +134 -0
- package/.output/server/node_modules/zod/src/v4/locales/fi.ts +131 -0
- package/.output/server/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
- package/.output/server/node_modules/zod/src/v4/locales/fr.ts +124 -0
- package/.output/server/node_modules/zod/src/v4/locales/he.ts +125 -0
- package/.output/server/node_modules/zod/src/v4/locales/hu.ts +126 -0
- package/.output/server/node_modules/zod/src/v4/locales/id.ts +125 -0
- package/.output/server/node_modules/zod/src/v4/locales/index.ts +39 -0
- package/.output/server/node_modules/zod/src/v4/locales/it.ts +125 -0
- package/.output/server/node_modules/zod/src/v4/locales/ja.ts +122 -0
- package/.output/server/node_modules/zod/src/v4/locales/kh.ts +126 -0
- package/.output/server/node_modules/zod/src/v4/locales/ko.ts +131 -0
- package/.output/server/node_modules/zod/src/v4/locales/mk.ts +127 -0
- package/.output/server/node_modules/zod/src/v4/locales/ms.ts +124 -0
- package/.output/server/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/.output/server/node_modules/zod/src/v4/locales/no.ts +124 -0
- package/.output/server/node_modules/zod/src/v4/locales/ota.ts +125 -0
- package/.output/server/node_modules/zod/src/v4/locales/pl.ts +126 -0
- package/.output/server/node_modules/zod/src/v4/locales/ps.ts +133 -0
- package/.output/server/node_modules/zod/src/v4/locales/pt.ts +123 -0
- package/.output/server/node_modules/zod/src/v4/locales/ru.ts +184 -0
- package/.output/server/node_modules/zod/src/v4/locales/sl.ts +126 -0
- package/.output/server/node_modules/zod/src/v4/locales/sv.ts +127 -0
- package/.output/server/node_modules/zod/src/v4/locales/ta.ts +125 -0
- package/.output/server/node_modules/zod/src/v4/locales/th.ts +126 -0
- package/.output/server/node_modules/zod/src/v4/locales/tr.ts +121 -0
- package/.output/server/node_modules/zod/src/v4/locales/ua.ts +126 -0
- package/.output/server/node_modules/zod/src/v4/locales/ur.ts +126 -0
- package/.output/server/node_modules/zod/src/v4/locales/vi.ts +125 -0
- package/.output/server/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
- package/.output/server/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
- package/.output/server/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/.output/server/node_modules/zod/src/v4/mini/coerce.ts +22 -0
- package/.output/server/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/.output/server/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/.output/server/node_modules/zod/src/v4/mini/iso.ts +62 -0
- package/.output/server/node_modules/zod/src/v4/mini/parse.ts +1 -0
- package/.output/server/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
- package/.output/server/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/.output/server/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
- package/.output/server/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/.output/server/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/.output/server/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/.output/server/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
- package/.output/server/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
- package/.output/server/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/.output/server/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
- package/.output/server/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/.output/server/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/.output/server/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
- package/.output/server/node_modules/zod/src/v4-mini/index.ts +1 -0
- package/.output/server/node_modules/zod/v3/ZodError.cjs +138 -0
- package/.output/server/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/.output/server/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/.output/server/node_modules/zod/v3/errors.cjs +17 -0
- package/.output/server/node_modules/zod/v3/errors.d.cts +5 -0
- package/.output/server/node_modules/zod/v3/errors.d.ts +5 -0
- package/.output/server/node_modules/zod/v3/external.cjs +22 -0
- package/.output/server/node_modules/zod/v3/external.d.cts +6 -0
- package/.output/server/node_modules/zod/v3/external.d.ts +6 -0
- package/.output/server/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/.output/server/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/.output/server/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/.output/server/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/.output/server/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/.output/server/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/.output/server/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/.output/server/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/.output/server/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/.output/server/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/.output/server/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/.output/server/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/.output/server/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/.output/server/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/.output/server/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/.output/server/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/.output/server/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/.output/server/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/.output/server/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/.output/server/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/.output/server/node_modules/zod/v3/index.cjs +33 -0
- package/.output/server/node_modules/zod/v3/index.d.cts +4 -0
- package/.output/server/node_modules/zod/v3/index.d.ts +4 -0
- package/.output/server/node_modules/zod/v3/locales/en.cjs +111 -0
- package/.output/server/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/.output/server/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/.output/server/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/.output/server/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/.output/server/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/.output/server/node_modules/zod/v3/standard-schema.js +1 -0
- package/.output/server/node_modules/zod/v3/types.cjs +3775 -0
- package/.output/server/node_modules/zod/v3/types.d.cts +1031 -0
- package/.output/server/node_modules/zod/v3/types.d.ts +1031 -0
- package/.output/server/node_modules/zod/v4/classic/checks.cjs +32 -0
- package/.output/server/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/.output/server/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/.output/server/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/.output/server/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/.output/server/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/.output/server/node_modules/zod/v4/classic/compat.cjs +57 -0
- package/.output/server/node_modules/zod/v4/classic/compat.d.cts +46 -0
- package/.output/server/node_modules/zod/v4/classic/compat.d.ts +46 -0
- package/.output/server/node_modules/zod/v4/classic/errors.cjs +67 -0
- package/.output/server/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/.output/server/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/.output/server/node_modules/zod/v4/classic/external.cjs +70 -0
- package/.output/server/node_modules/zod/v4/classic/external.d.cts +13 -0
- package/.output/server/node_modules/zod/v4/classic/external.d.ts +13 -0
- package/.output/server/node_modules/zod/v4/classic/index.cjs +33 -0
- package/.output/server/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/.output/server/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/.output/server/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/.output/server/node_modules/zod/v4/classic/parse.cjs +32 -0
- package/.output/server/node_modules/zod/v4/classic/parse.d.cts +23 -0
- package/.output/server/node_modules/zod/v4/classic/parse.d.ts +23 -0
- package/.output/server/node_modules/zod/v4/classic/schemas.cjs +1109 -0
- package/.output/server/node_modules/zod/v4/classic/schemas.d.cts +630 -0
- package/.output/server/node_modules/zod/v4/classic/schemas.d.ts +630 -0
- package/.output/server/node_modules/zod/v4/core/api.cjs +1039 -0
- package/.output/server/node_modules/zod/v4/core/api.d.cts +284 -0
- package/.output/server/node_modules/zod/v4/core/api.d.ts +284 -0
- package/.output/server/node_modules/zod/v4/core/checks.cjs +591 -0
- package/.output/server/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/.output/server/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/.output/server/node_modules/zod/v4/core/core.cjs +67 -0
- package/.output/server/node_modules/zod/v4/core/core.d.cts +49 -0
- package/.output/server/node_modules/zod/v4/core/core.d.ts +49 -0
- package/.output/server/node_modules/zod/v4/core/doc.cjs +39 -0
- package/.output/server/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/.output/server/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/.output/server/node_modules/zod/v4/core/errors.cjs +226 -0
- package/.output/server/node_modules/zod/v4/core/errors.d.cts +208 -0
- package/.output/server/node_modules/zod/v4/core/errors.d.ts +208 -0
- package/.output/server/node_modules/zod/v4/core/function.cjs +102 -0
- package/.output/server/node_modules/zod/v4/core/function.d.cts +52 -0
- package/.output/server/node_modules/zod/v4/core/function.d.ts +52 -0
- package/.output/server/node_modules/zod/v4/core/index.cjs +44 -0
- package/.output/server/node_modules/zod/v4/core/index.d.cts +15 -0
- package/.output/server/node_modules/zod/v4/core/index.d.ts +15 -0
- package/.output/server/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/.output/server/node_modules/zod/v4/core/json-schema.d.cts +87 -0
- package/.output/server/node_modules/zod/v4/core/json-schema.d.ts +87 -0
- package/.output/server/node_modules/zod/v4/core/parse.cjs +87 -0
- package/.output/server/node_modules/zod/v4/core/parse.d.cts +25 -0
- package/.output/server/node_modules/zod/v4/core/parse.d.ts +25 -0
- package/.output/server/node_modules/zod/v4/core/regexes.cjs +103 -0
- package/.output/server/node_modules/zod/v4/core/regexes.d.cts +62 -0
- package/.output/server/node_modules/zod/v4/core/regexes.d.ts +62 -0
- package/.output/server/node_modules/zod/v4/core/registries.cjs +56 -0
- package/.output/server/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/.output/server/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/.output/server/node_modules/zod/v4/core/schemas.cjs +1748 -0
- package/.output/server/node_modules/zod/v4/core/schemas.d.cts +1041 -0
- package/.output/server/node_modules/zod/v4/core/schemas.d.ts +1041 -0
- package/.output/server/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/.output/server/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
- package/.output/server/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
- package/.output/server/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/.output/server/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
- package/.output/server/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
- package/.output/server/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
- package/.output/server/node_modules/zod/v4/core/util.cjs +539 -0
- package/.output/server/node_modules/zod/v4/core/util.d.cts +183 -0
- package/.output/server/node_modules/zod/v4/core/util.d.ts +183 -0
- package/.output/server/node_modules/zod/v4/core/versions.cjs +8 -0
- package/.output/server/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/.output/server/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/.output/server/node_modules/zod/v4/index.cjs +22 -0
- package/.output/server/node_modules/zod/v4/index.d.cts +3 -0
- package/.output/server/node_modules/zod/v4/index.d.ts +3 -0
- package/.output/server/node_modules/zod/v4/locales/ar.cjs +142 -0
- package/.output/server/node_modules/zod/v4/locales/ar.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/az.cjs +141 -0
- package/.output/server/node_modules/zod/v4/locales/az.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/be.cjs +190 -0
- package/.output/server/node_modules/zod/v4/locales/be.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ca.cjs +144 -0
- package/.output/server/node_modules/zod/v4/locales/ca.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/cs.cjs +161 -0
- package/.output/server/node_modules/zod/v4/locales/cs.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/de.cjs +142 -0
- package/.output/server/node_modules/zod/v4/locales/de.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/en.cjs +145 -0
- package/.output/server/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/.output/server/node_modules/zod/v4/locales/en.d.ts +5 -0
- package/.output/server/node_modules/zod/v4/locales/eo.cjs +144 -0
- package/.output/server/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/.output/server/node_modules/zod/v4/locales/eo.d.ts +5 -0
- package/.output/server/node_modules/zod/v4/locales/es.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/es.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/fa.cjs +148 -0
- package/.output/server/node_modules/zod/v4/locales/fa.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/fi.cjs +148 -0
- package/.output/server/node_modules/zod/v4/locales/fi.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/fr.cjs +142 -0
- package/.output/server/node_modules/zod/v4/locales/fr.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/he.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/he.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/hu.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/hu.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/id.cjs +142 -0
- package/.output/server/node_modules/zod/v4/locales/id.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/index.cjs +84 -0
- package/.output/server/node_modules/zod/v4/locales/index.d.cts +39 -0
- package/.output/server/node_modules/zod/v4/locales/index.d.ts +39 -0
- package/.output/server/node_modules/zod/v4/locales/it.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/it.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ja.cjs +141 -0
- package/.output/server/node_modules/zod/v4/locales/ja.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/kh.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/kh.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/kh.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ko.cjs +147 -0
- package/.output/server/node_modules/zod/v4/locales/ko.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/mk.cjs +144 -0
- package/.output/server/node_modules/zod/v4/locales/mk.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ms.cjs +142 -0
- package/.output/server/node_modules/zod/v4/locales/ms.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/nl.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/nl.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/no.cjs +142 -0
- package/.output/server/node_modules/zod/v4/locales/no.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ota.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/ota.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/pl.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/pl.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ps.cjs +148 -0
- package/.output/server/node_modules/zod/v4/locales/ps.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/pt.cjs +142 -0
- package/.output/server/node_modules/zod/v4/locales/pt.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ru.cjs +190 -0
- package/.output/server/node_modules/zod/v4/locales/ru.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/sl.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/sl.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/sv.cjs +144 -0
- package/.output/server/node_modules/zod/v4/locales/sv.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ta.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/ta.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/th.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/th.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/tr.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/.output/server/node_modules/zod/v4/locales/tr.d.ts +5 -0
- package/.output/server/node_modules/zod/v4/locales/ua.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/ua.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ua.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ur.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/ur.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/vi.cjs +142 -0
- package/.output/server/node_modules/zod/v4/locales/vi.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
- package/.output/server/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
- package/.output/server/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
- package/.output/server/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/.output/server/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/.output/server/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/.output/server/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/.output/server/node_modules/zod/v4/mini/coerce.cjs +47 -0
- package/.output/server/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/.output/server/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/.output/server/node_modules/zod/v4/mini/external.cjs +62 -0
- package/.output/server/node_modules/zod/v4/mini/external.d.cts +11 -0
- package/.output/server/node_modules/zod/v4/mini/external.d.ts +11 -0
- package/.output/server/node_modules/zod/v4/mini/index.cjs +32 -0
- package/.output/server/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/.output/server/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/.output/server/node_modules/zod/v4/mini/iso.cjs +60 -0
- package/.output/server/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/.output/server/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/.output/server/node_modules/zod/v4/mini/parse.cjs +8 -0
- package/.output/server/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/.output/server/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/.output/server/node_modules/zod/v4/mini/schemas.cjs +839 -0
- package/.output/server/node_modules/zod/v4/mini/schemas.d.cts +356 -0
- package/.output/server/node_modules/zod/v4/mini/schemas.d.ts +356 -0
- package/.output/server/node_modules/zod/v4-mini/index.cjs +17 -0
- package/.output/server/node_modules/zod/v4-mini/index.d.cts +1 -0
- package/.output/server/node_modules/zod/v4-mini/index.d.ts +1 -0
- package/.output/server/package.json +6 -1
- package/.output/skills/aw-doc-to-project/SKILL.md +127 -0
- package/.output/skills/aw-line-onboarding/SKILL.md +212 -0
- package/.output/skills/aw-live-acceptance-round/SKILL.md +127 -0
- package/.output/skills/aw-node-bind/SKILL.md +111 -0
- package/.output/skills/aw-opt-channel/SKILL.md +117 -0
- package/.output/skills/aw-plc-sim-twin/SKILL.md +100 -0
- package/.output/skills/aw-plugin-dev/SKILL.md +161 -0
- package/.output/skills/aw-plugin-dev/references/daq-dcw-driver-contract.md +204 -0
- package/.output/skills/aw-plugin-dev/references/plugin-ctx-api.md +119 -0
- package/.output/skills/aw-plugin-dev/references/testing-and-acceptance.md +118 -0
- package/.output/skills/aw-protocol-onboarding/SKILL.md +177 -0
- package/.output/skills/aw-protocol-onboarding/references/plugin-fallback.md +124 -0
- package/.output/skills/aw-protocol-onboarding/references/production-safety.md +113 -0
- package/.output/skills/aw-protocol-onboarding/references/protocol-matrix.md +96 -0
- package/.output/skills/aw-system-acceptance/SKILL.md +137 -0
- package/README-zh.md +42 -8
- package/README.md +41 -9
- package/app/components/settings/AgentPrefabsPane.vue +753 -0
- package/app/components/settings/McpServersPane.vue +462 -0
- package/app/components/settings/SkillsPane.vue +376 -0
- package/app/components/workshop/MemoryPanel.vue +81 -0
- package/app/pages/settings.vue +24 -3
- package/cli/commands/plugin.mjs +16 -0
- package/cli/core/post-build.mjs +13 -1
- package/config.yml +1 -1
- package/docs/cli.en.md +1 -1
- package/docs/cli.md +1 -1
- package/docs/plugins.en.md +2 -2
- package/docs/plugins.md +3 -3
- package/docs/sdk.en.md +1 -1
- package/docs/sdk.md +1 -1
- package/i18n/locales/en.ts +101 -0
- package/i18n/locales/zh-CN.ts +101 -0
- package/package.json +3 -1
- package/scripts/_audit/governed-learning-evidence.mjs +51 -0
- package/scripts/_audit/governed-main-audit.mjs +60 -0
- package/scripts/acceptance-governed-product-learning.mjs +110 -0
- package/scripts/api-live-e2e.mjs +34 -3
- package/scripts/experiments/gemma4-pipeline.mjs +808 -0
- package/scripts/experiments/gemma4-supplement-fix.mjs +119 -0
- package/scripts/experiments/gemma4-supplement.mjs +266 -0
- package/scripts/experiments/prefab-acceptance.mjs +196 -0
- package/scripts/experiments/tii-daq-repro.mjs +688 -0
- package/scripts/experiments/tsa-phase-c.mjs +154 -0
- package/scripts/experiments/tsa-phase-f.mjs +167 -0
- package/scripts/experiments/tsa-phase-i.mjs +151 -0
- package/scripts/experiments/tsa-phase-s.mjs +223 -0
- package/scripts/experiments/tsa2-phase-c.mjs +259 -0
- package/scripts/experiments/tsa2-phase-p.mjs +379 -0
- package/scripts/experiments/tsa2-phase-p1.mjs +386 -0
- package/scripts/experiments/tsa2-phase-s.mjs +224 -0
- package/scripts/experiments/tsa3-phase-c.mjs +204 -0
- package/scripts/experiments/tsa3-phase-s.mjs +119 -0
- package/scripts/experiments/tsa3-planwatch.mjs +42 -0
- package/scripts/experiments/tsa3-projectwatch.mjs +34 -0
- package/scripts/experiments/tsa3-report-manifest.mjs +65 -0
- package/scripts/experiments/tsa3-smoke.mjs +87 -0
- package/scripts/experiments/tsa3-xchannel.mjs +62 -0
- package/scripts/experiments/tsa4-aml.mjs +104 -0
- package/scripts/experiments/tsa4-bench-gate.mjs +101 -0
- package/scripts/experiments/tsa4-bench-hostgate.mjs +20 -0
- package/scripts/experiments/tsa4-phase-c.mjs +193 -0
- package/scripts/experiments/tsa4-phase-s.mjs +151 -0
- package/scripts/experiments/tsa4-planwatch.mjs +42 -0
- package/scripts/experiments/tsa4-project-dispatch.mjs +61 -0
- package/scripts/experiments/tsa4-project-industrial.mjs +41 -0
- package/scripts/experiments/tsa4-projectwatch.mjs +42 -0
- package/scripts/experiments/tsa4-reconcile.mjs +46 -0
- package/scripts/experiments/tsa4-report-manifest.mjs +63 -0
- package/scripts/experiments/tsa4-rtu-probe.mjs +87 -0
- package/scripts/experiments/tsa4-xchannel.mjs +62 -0
- package/scripts/experiments/tsa5-aml.mjs +108 -0
- package/scripts/experiments/tsa5-bench-gate.mjs +101 -0
- package/scripts/experiments/tsa5-bench-hostgate.mjs +20 -0
- package/scripts/experiments/tsa5-c23-override.mjs +99 -0
- package/scripts/experiments/tsa5-phase-c.mjs +193 -0
- package/scripts/experiments/tsa5-phase-s.mjs +161 -0
- package/scripts/experiments/tsa5-planwatch.mjs +42 -0
- package/scripts/experiments/tsa5-plugin-check.mjs +64 -0
- package/scripts/experiments/tsa5-project-dispatch.mjs +71 -0
- package/scripts/experiments/tsa5-projectwatch.mjs +42 -0
- package/scripts/experiments/tsa5-r2-direct.mjs +65 -0
- package/scripts/experiments/tsa5-reconcile.mjs +46 -0
- package/scripts/experiments/tsa5-report-manifest.mjs +63 -0
- package/scripts/experiments/tsa5-rtu-probe.mjs +87 -0
- package/scripts/experiments/tsa5-smoke-direct.mjs +45 -0
- package/scripts/experiments/tsa5-smoke.mjs +85 -0
- package/scripts/experiments/tsa5-xchannel.mjs +62 -0
- package/scripts/test-aw-skills.mjs +1 -1
- package/sdk/examples/mes-tool-bridge/index.mjs +163 -0
- package/server/api/mcp/workshop.ts +47 -9
- package/server/api/system/mcp-servers/[id]/discover.post.ts +27 -0
- package/server/api/system/mcp-servers/[id]/review.post.ts +38 -0
- package/server/api/system/mcp-servers/[id].delete.ts +26 -0
- package/server/api/system/mcp-servers/[id].get.ts +14 -0
- package/server/api/system/mcp-servers/[id].patch.ts +40 -0
- package/server/api/system/mcp-servers/index.get.ts +13 -0
- package/server/api/system/mcp-servers/index.post.ts +39 -0
- package/server/api/system/skills/[id]/file.get.ts +18 -0
- package/server/api/system/skills/[id].delete.ts +28 -0
- package/server/api/system/skills/[id].patch.ts +29 -0
- package/server/api/system/skills/discover.get.ts +13 -0
- package/server/api/system/skills/import.post.ts +30 -0
- package/server/api/system/skills/index.get.ts +13 -0
- package/server/api/workshop/agent-prefabs/[id]/publish.post.ts +27 -0
- package/server/api/workshop/agent-prefabs/[id]/revisions/[revision].get.ts +29 -0
- package/server/api/workshop/agent-prefabs/[id].get.ts +25 -0
- package/server/api/workshop/agent-prefabs/[id].patch.ts +23 -0
- package/server/api/workshop/agent-prefabs/catalog.get.ts +20 -0
- package/server/api/workshop/agent-prefabs/index.get.ts +25 -0
- package/server/api/workshop/agent-prefabs/index.post.ts +18 -0
- package/server/api/workshop/channels/[id]/agents/[agentId]/prefab.patch.ts +44 -0
- package/server/api/workshop/channels/[id]/memories/[memoryId]/experience.get.ts +32 -0
- package/server/mcp/ingress-auth.ts +110 -0
- package/server/mcp/workshop-server.ts +43 -8
- package/server/services/workshop/agent-prefabs/prompt.ts +21 -0
- package/server/services/workshop/agent-prefabs/registry.ts +92 -0
- package/server/services/workshop/agent-prefabs/resolution.ts +208 -0
- package/server/services/workshop/agent-prefabs/runtime.ts +103 -0
- package/server/services/workshop/agent-prefabs/service.ts +287 -0
- package/server/services/workshop/agent-prefabs/types.ts +136 -0
- package/server/services/workshop/agents/adapters/omp-rpc-client/start.ts +82 -74
- package/server/services/workshop/agents/agent-interface.ts +3 -0
- package/server/services/workshop/agents/base-agent.ts +4 -0
- package/server/services/workshop/agents/hitl-decision/reconcile.ts +12 -0
- package/server/services/workshop/agents/host-tool-bridge/dispatch.ts +49 -0
- package/server/services/workshop/agents/host-tool-bridge/per-agent.ts +44 -1
- package/server/services/workshop/agents/host-tool-bridge/tools/skills.ts +54 -0
- package/server/services/workshop/agents/session-clone.ts +10 -3
- package/server/services/workshop/agents/task-channel.ts +16 -4
- package/server/services/workshop/daq/batch-quality.ts +96 -0
- package/server/services/workshop/db/agent-prefab.repo.ts +142 -0
- package/server/services/workshop/db/channel-agent.repo.ts +12 -6
- package/server/services/workshop/db/channel-session.repo.ts +10 -3
- package/server/services/workshop/db/channel-template.repo.ts +4 -4
- package/server/services/workshop/db/database/migrations-experience-versions.ts +92 -0
- package/server/services/workshop/db/database/migrations-hitl-ref.ts +20 -0
- package/server/services/workshop/db/database/migrations-prefab.ts +30 -0
- package/server/services/workshop/db/database/open.ts +12 -2
- package/server/services/workshop/db/database/rows.ts +2 -0
- package/server/services/workshop/db/database/schema.ts +127 -1
- package/server/services/workshop/db/memory.repo.ts +34 -0
- package/server/services/workshop/db/project.repo.ts +15 -1
- package/server/services/workshop/dcw/dcw-controller/actuation.ts +46 -0
- package/server/services/workshop/dcw/write-attempt-ledger.ts +113 -0
- package/server/services/workshop/experience/claim-cluster.ts +28 -0
- package/server/services/workshop/experience/evaluation-run.ts +175 -0
- package/server/services/workshop/experience/evidence-ledger.ts +69 -0
- package/server/services/workshop/experience/gates.ts +14 -4
- package/server/services/workshop/experience/ontology-proposals.ts +115 -0
- package/server/services/workshop/experience/overlay.ts +7 -1
- package/server/services/workshop/experience/promote.ts +7 -1
- package/server/services/workshop/experience/reflection-effects.ts +155 -0
- package/server/services/workshop/experience/release.ts +163 -0
- package/server/services/workshop/experience/resolve.ts +142 -0
- package/server/services/workshop/experience/trusted-context.ts +90 -0
- package/server/services/workshop/experience/types.ts +168 -0
- package/server/services/workshop/experience/versions.ts +188 -0
- package/server/services/workshop/mcp-client/broker.ts +324 -0
- package/server/services/workshop/mcp-client/client.ts +81 -0
- package/server/services/workshop/mcp-client/config.ts +172 -0
- package/server/services/workshop/mcp-client/egress.ts +182 -0
- package/server/services/workshop/mcp-client/types.ts +96 -0
- package/server/services/workshop/plugins/host/config.mjs +137 -135
- package/server/services/workshop/projects/plan-progress.ts +140 -0
- package/server/services/workshop/projects/service.ts +38 -0
- package/server/services/workshop/rsi-adapter/experience.ts +3 -1
- package/server/services/workshop/runtime/manager/admin-agents.ts +6 -1
- package/server/services/workshop/runtime/manager/admin-channel.ts +2 -1
- package/server/services/workshop/runtime/manager/channel-templates.ts +7 -6
- package/server/services/workshop/runtime/manager/dependency-health.ts +68 -0
- package/server/services/workshop/runtime/manager/helpers.ts +10 -0
- package/server/services/workshop/runtime/manager/host-tools.ts +37 -0
- package/server/services/workshop/runtime/manager/runtime-wiring.ts +22 -0
- package/server/services/workshop/runtime/memory/state.ts +7 -1
- package/server/services/workshop/skills/discovery.ts +327 -0
- package/server/services/workshop/skills/frontmatter.ts +182 -0
- package/server/services/workshop/skills/service.ts +71 -0
- package/server/services/workshop/skills/store.ts +321 -0
- package/server/services/workshop/skills/types.ts +93 -0
- package/skills/aw-doc-to-project/SKILL.md +127 -0
- package/skills/aw-line-onboarding/SKILL.md +212 -0
- package/skills/aw-live-acceptance-round/SKILL.md +127 -0
- package/skills/aw-node-bind/SKILL.md +111 -0
- package/skills/aw-opt-channel/SKILL.md +117 -0
- package/skills/aw-plc-sim-twin/SKILL.md +100 -0
- package/skills/aw-plugin-dev/SKILL.md +161 -0
- package/skills/aw-plugin-dev/references/daq-dcw-driver-contract.md +204 -0
- package/skills/aw-plugin-dev/references/plugin-ctx-api.md +119 -0
- package/skills/aw-plugin-dev/references/testing-and-acceptance.md +118 -0
- package/skills/aw-protocol-onboarding/SKILL.md +177 -0
- package/skills/aw-protocol-onboarding/references/plugin-fallback.md +124 -0
- package/skills/aw-protocol-onboarding/references/production-safety.md +113 -0
- package/skills/aw-protocol-onboarding/references/protocol-matrix.md +96 -0
- package/skills/aw-system-acceptance/SKILL.md +137 -0
- package/.output/public/_nuxt/B1StpOjn.js +0 -1
- package/.output/public/_nuxt/BP9qUQA0.js +0 -1
- package/.output/public/_nuxt/BPR97IgC2.js +0 -1
- package/.output/public/_nuxt/BU-JxVjF.js +0 -1
- package/.output/public/_nuxt/BiyBp4Lm.js +0 -1
- package/.output/public/_nuxt/BmNTwsXr2.js +0 -1
- package/.output/public/_nuxt/BnywPBgP.js +0 -1
- package/.output/public/_nuxt/Bp3uXBpB.js +0 -1
- package/.output/public/_nuxt/C-fZgAiU2.js +0 -1
- package/.output/public/_nuxt/C3--I-an2.js +0 -1
- package/.output/public/_nuxt/CFeYpumq2.js +0 -1
- package/.output/public/_nuxt/CHdIms1f2.js +0 -1
- package/.output/public/_nuxt/CJRdL5HV2.js +0 -1
- package/.output/public/_nuxt/CS5UaQwl2.js +0 -1
- package/.output/public/_nuxt/Cf_UsJwz.js +0 -1
- package/.output/public/_nuxt/Co1Oqm4U.js +0 -1
- package/.output/public/_nuxt/DFo96EtE.js +0 -1
- package/.output/public/_nuxt/DJKjjGnC2.js +0 -1
- package/.output/public/_nuxt/DUZYrBpC.js +0 -1
- package/.output/public/_nuxt/DaHTeSTv.js +0 -1
- package/.output/public/_nuxt/DaXOlXbH.js +0 -1
- package/.output/public/_nuxt/Dasqfjig2.js +0 -1
- package/.output/public/_nuxt/Dit6a9Bs.js +0 -1
- package/.output/public/_nuxt/DkqV7BGi.js +0 -2
- package/.output/public/_nuxt/Doq41eJy.js +0 -2
- package/.output/public/_nuxt/Dpb7OXz6.js +0 -1
- package/.output/public/_nuxt/DrqMMFbN.js +0 -1
- package/.output/public/_nuxt/DuVKg1HC.js +0 -1
- package/.output/public/_nuxt/DvsXN5k72.js +0 -1
- package/.output/public/_nuxt/HSlNLQvi2.js +0 -2
- package/.output/public/_nuxt/SmOmMhHD.js +0 -1
- package/.output/public/_nuxt/builds/meta/2f96705b-cf57-4bde-87a4-1b818b268f0f.json +0 -1
- package/.output/public/_nuxt/m90772tE.js +0 -1
- package/.output/public/_nuxt/psToi-Y5.js +0 -1
- package/.output/public/_nuxt/settings.NpUsT4m-.css +0 -1
- package/.output/server/chunks/build/settings-CLIR9BQz.mjs +0 -1042
- package/.output/server/chunks/build/settings-CLIR9BQz.mjs.map +0 -1
- /package/.output/public/_nuxt/{BxHBIVAg2.js → BxHBIVAg.js} +0 -0
- /package/.output/public/_nuxt/{CuOIxZ_Y.js → CuOIxZ_Y2.js} +0 -0
|
@@ -0,0 +1,3537 @@
|
|
|
1
|
+
import { aq as _plugin_vue_export_helper_default, a as useI18n, aI as useSiteConfig, aH as useAppStore, aS as useRuntimeConfig, aT as useRuntimeConfigStore, d as useUserStore, a4 as button_default, aU as useCookie, b as api$1, aL as modal_default } from '../virtual/entry.mjs';
|
|
2
|
+
import { C as ClientOnly } from './client-only-qNA2OVV_.mjs';
|
|
3
|
+
import { t as table_default, C as Column_default } from './table-Z50Z2Yif.mjs';
|
|
4
|
+
import { S as Select } from './select-CstBoVcG.mjs';
|
|
5
|
+
import { c as input_default, T as TextArea_default } from './input-Br1cUgLv.mjs';
|
|
6
|
+
import { i as input_number_default } from './input-number-5feFbAE9.mjs';
|
|
7
|
+
import { a as alert_default } from './alert-CsC_K9Nw.mjs';
|
|
8
|
+
import { c as card_default } from './card-ChtAnAY8.mjs';
|
|
9
|
+
import { c as checkbox_default } from './checkbox-DsXmfwiE.mjs';
|
|
10
|
+
import { T as Tag } from './tag-BGRVn_Yy.mjs';
|
|
11
|
+
import { D as Descriptions, a as DescriptionsItem } from './descriptions-CDxe1-je.mjs';
|
|
12
|
+
import { s as switch_default } from './switch-qIric1Tc.mjs';
|
|
13
|
+
import { a as apiErrorMessage } from './api-error-BwAQLw44.mjs';
|
|
14
|
+
import { a as apiFetch } from './apiClient-Dl-8IHHL.mjs';
|
|
15
|
+
import { u as useWorkshopApi } from './useWorkshopApi-PvyApp92.mjs';
|
|
16
|
+
import { P as PluginSlot_default } from './PluginSlot-DmxAklwb.mjs';
|
|
17
|
+
import { defineComponent, ref, computed, reactive, watch, mergeProps, unref, withCtx, createVNode, openBlock, createBlock, Fragment, renderList, toDisplayString, createCommentVNode, createTextVNode, isRef, provide, inject, useSSRContext } from 'vue';
|
|
18
|
+
import { ssrRenderAttrs, ssrInterpolate, ssrRenderComponent, ssrRenderList, ssrRenderAttr, ssrRenderClass, ssrRenderStyle, ssrIncludeBooleanAttr } from 'vue/server-renderer';
|
|
19
|
+
import '../_/nitro.mjs';
|
|
20
|
+
import 'node:crypto';
|
|
21
|
+
import 'node:http';
|
|
22
|
+
import 'node:https';
|
|
23
|
+
import 'node:events';
|
|
24
|
+
import 'node:buffer';
|
|
25
|
+
import 'node:fs';
|
|
26
|
+
import 'node:path';
|
|
27
|
+
import 'node:url';
|
|
28
|
+
import 'js-yaml';
|
|
29
|
+
import 'node:child_process';
|
|
30
|
+
import 'node:os';
|
|
31
|
+
import 'zod';
|
|
32
|
+
import 'node:sqlite';
|
|
33
|
+
import 'node:module';
|
|
34
|
+
import 'pg';
|
|
35
|
+
import 'node:dns/promises';
|
|
36
|
+
import 'node:net';
|
|
37
|
+
import 'node:zlib';
|
|
38
|
+
import 'node:async_hooks';
|
|
39
|
+
import 'node:util';
|
|
40
|
+
import 'node:fs/promises';
|
|
41
|
+
import 'node:v8';
|
|
42
|
+
import 'node:readline';
|
|
43
|
+
import '@modelcontextprotocol/client';
|
|
44
|
+
import 'vue-router';
|
|
45
|
+
import 'pinia';
|
|
46
|
+
import 'unhead/utils';
|
|
47
|
+
import '../routes/renderer.mjs';
|
|
48
|
+
import 'unhead/server';
|
|
49
|
+
import 'unhead/legacy';
|
|
50
|
+
import 'unhead/plugins';
|
|
51
|
+
import 'nostics';
|
|
52
|
+
import 'vue-bundle-renderer/runtime';
|
|
53
|
+
import 'devalue';
|
|
54
|
+
import '@ant-design/colors';
|
|
55
|
+
import 'axios';
|
|
56
|
+
import './firstNotUndefined-BCIikpmu.mjs';
|
|
57
|
+
import '../_/SearchOutlined.mjs';
|
|
58
|
+
import './tooltip-VXZQX4WT.mjs';
|
|
59
|
+
import './radio-CtL-_McO.mjs';
|
|
60
|
+
import './FormItemContext-DPdDtHDU.mjs';
|
|
61
|
+
import './menu-BOj54t5S.mjs';
|
|
62
|
+
import './pagination-5Ll6FtcS.mjs';
|
|
63
|
+
import './responsiveObserve-D9pLmNic.mjs';
|
|
64
|
+
import '../_/RightOutlined.mjs';
|
|
65
|
+
import '../_/LeftOutlined.mjs';
|
|
66
|
+
import './dropdown-C1zqgDYM.mjs';
|
|
67
|
+
import './dropdown-CcQV25EL.mjs';
|
|
68
|
+
import './spin-CDG1rIzG.mjs';
|
|
69
|
+
import './tabs-oKVlttuk.mjs';
|
|
70
|
+
import './hasIn-DE_sCqne.mjs';
|
|
71
|
+
import './useRefs-BmvmJTzb.mjs';
|
|
72
|
+
|
|
73
|
+
//#region app/components/settings/AppearancePane.vue?vue&type=script&setup=true&lang.ts
|
|
74
|
+
var AppearancePane_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
75
|
+
__name: "AppearancePane",
|
|
76
|
+
__ssrInlineRender: true,
|
|
77
|
+
props: { activeTab: {} },
|
|
78
|
+
setup(__props) {
|
|
79
|
+
const store = useAppStore();
|
|
80
|
+
const config = useRuntimeConfig().public;
|
|
81
|
+
const { t, locale, locales, setLocale } = useI18n();
|
|
82
|
+
/** 强调色预设(控制室低饱和族;默认 = 品牌绿,跟随 config.yml) */
|
|
83
|
+
const defaultAccent = String(config.primaryColor);
|
|
84
|
+
const colorPresets = [
|
|
85
|
+
{
|
|
86
|
+
value: defaultAccent,
|
|
87
|
+
label: t("settings.accentInk")
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
value: "#c9963f",
|
|
91
|
+
label: t("settings.accentStone")
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
value: "#44615a",
|
|
95
|
+
label: t("settings.accentMoss")
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
value: "#3f6094",
|
|
99
|
+
label: t("settings.accentSlate")
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
value: "#6b5aa0",
|
|
103
|
+
label: t("settings.accentPlum")
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
value: "#9c5744",
|
|
107
|
+
label: t("settings.accentClay")
|
|
108
|
+
}
|
|
109
|
+
];
|
|
110
|
+
const currentAccent = computed(() => store.accent ?? defaultAccent);
|
|
111
|
+
const localeOptions = computed(() => locales.value.map((l) => ({
|
|
112
|
+
label: l.name,
|
|
113
|
+
value: l.code
|
|
114
|
+
})));
|
|
115
|
+
const switchLocale = (value) => {
|
|
116
|
+
if (value != null) {
|
|
117
|
+
useCookie("aw.locale", { maxAge: 31536e3 }).value = String(value);
|
|
118
|
+
localStorage.setItem("aw.locale", String(value));
|
|
119
|
+
setLocale(String(value));
|
|
120
|
+
(void 0).location.reload();
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
124
|
+
const _component_a_select = Select;
|
|
125
|
+
_push(`<div${ssrRenderAttrs(mergeProps(_attrs, { style: __props.activeTab === "appearance" ? null : { display: "none" } }))} data-v-8a84c417><h3 class="section-title" data-v-8a84c417>${ssrInterpolate(unref(t)("settings.theme"))}</h3><p class="section-desc" data-v-8a84c417>${ssrInterpolate(unref(t)("settings.appearanceDesc"))}</p><div class="set-row" data-v-8a84c417><div class="set-text" data-v-8a84c417><div class="set-title" data-v-8a84c417>${ssrInterpolate(unref(t)("settings.primaryColor"))}</div><div class="set-sub" data-v-8a84c417>${ssrInterpolate(unref(t)("settings.accentDesc"))}</div></div></div><div class="color-swatches" data-v-8a84c417><!--[-->`);
|
|
126
|
+
ssrRenderList(colorPresets, (c) => {
|
|
127
|
+
_push(`<button class="${ssrRenderClass([{ on: unref(currentAccent).toLowerCase() === c.value.toLowerCase() }, "swatch"])}" style="${ssrRenderStyle({ "--sw": c.value })}"${ssrRenderAttr("title", c.label)} data-v-8a84c417><span class="swatch-dot" data-v-8a84c417></span><span class="swatch-label" data-v-8a84c417>${ssrInterpolate(c.label)}</span>`);
|
|
128
|
+
if (unref(currentAccent).toLowerCase() === c.value.toLowerCase()) _push(`<span class="i-tabler-check swatch-check" data-v-8a84c417></span>`);
|
|
129
|
+
else _push(`<!---->`);
|
|
130
|
+
_push(`</button>`);
|
|
131
|
+
});
|
|
132
|
+
_push(`<!--]--></div><button class="aw-pill outline reset-btn" data-v-8a84c417><span class="i-tabler-rotate" data-v-8a84c417></span> ${ssrInterpolate(unref(t)("settings.accentResetAction"))}</button><div class="toggle-row" data-v-8a84c417><div class="set-text" data-v-8a84c417><div class="set-title" data-v-8a84c417>${ssrInterpolate(unref(store).isDark ? unref(t)("common.dark") : unref(t)("common.light"))}</div><div class="set-sub" data-v-8a84c417>${ssrInterpolate(unref(t)("settings.darkDesc"))}</div></div><button class="${ssrRenderClass([{ on: unref(store).isDark }, "switch"])}" role="switch"${ssrRenderAttr("aria-checked", unref(store).isDark)} data-v-8a84c417><span class="knob" data-v-8a84c417></span></button></div><div class="toggle-row" data-v-8a84c417><div class="set-text" data-v-8a84c417><div class="set-title" data-v-8a84c417>${ssrInterpolate(unref(t)("header.language"))}</div><div class="set-sub" data-v-8a84c417>${ssrInterpolate(unref(t)("settings.languageDesc"))}</div></div>`);
|
|
133
|
+
_push(ssrRenderComponent(_component_a_select, {
|
|
134
|
+
value: unref(locale),
|
|
135
|
+
options: unref(localeOptions),
|
|
136
|
+
style: { "width": "140px" },
|
|
137
|
+
onChange: switchLocale
|
|
138
|
+
}, null, _parent));
|
|
139
|
+
_push(`</div></div>`);
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
//#endregion
|
|
144
|
+
//#region app/components/settings/AppearancePane.vue
|
|
145
|
+
var _sfc_setup$9 = AppearancePane_vue_vue_type_script_setup_true_lang_default.setup;
|
|
146
|
+
AppearancePane_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
147
|
+
const ssrContext = useSSRContext();
|
|
148
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/settings/AppearancePane.vue");
|
|
149
|
+
return _sfc_setup$9 ? _sfc_setup$9(props, ctx) : void 0;
|
|
150
|
+
};
|
|
151
|
+
var AppearancePane_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(AppearancePane_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-8a84c417"]]), { __name: "SettingsAppearancePane" });
|
|
152
|
+
//#endregion
|
|
153
|
+
//#region app/components/settings/AgentPrefabsPane.vue?vue&type=script&setup=true&lang.ts
|
|
154
|
+
var AgentPrefabsPane_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
155
|
+
__name: "AgentPrefabsPane",
|
|
156
|
+
__ssrInlineRender: true,
|
|
157
|
+
props: { activeTab: {} },
|
|
158
|
+
setup(__props) {
|
|
159
|
+
/**
|
|
160
|
+
* 系统设置 · AgentPrefab。
|
|
161
|
+
* - 草稿:角色/场景提示、多插槽、现有 harness 的 profile、能力开关(tool/plugin-tool/skill/mcp-tool)
|
|
162
|
+
* - 发布:不可变 revision(head CAS)
|
|
163
|
+
* - 绑定:选择 Channel 成员 + revision,填写允许覆盖的 slot,固定 revision/hash
|
|
164
|
+
* 能力开关只是选择;实际调用仍由服务端 registry/Channel/Project/角色/harness 交集与 dispatch 复核。
|
|
165
|
+
*/
|
|
166
|
+
const { t } = useI18n();
|
|
167
|
+
const userStore = useUserStore();
|
|
168
|
+
const prefabs = ref([]);
|
|
169
|
+
const selected = ref(null);
|
|
170
|
+
const loading = ref(false);
|
|
171
|
+
const busy = ref(false);
|
|
172
|
+
const error = ref("");
|
|
173
|
+
const canAdmin = computed(() => userStore.isAdmin);
|
|
174
|
+
const form = reactive({
|
|
175
|
+
name: "",
|
|
176
|
+
description: "",
|
|
177
|
+
visibility: "private",
|
|
178
|
+
role: "",
|
|
179
|
+
scenario: "",
|
|
180
|
+
slots: [],
|
|
181
|
+
provider: "",
|
|
182
|
+
model: "",
|
|
183
|
+
effort: "",
|
|
184
|
+
settingsJson: "{}",
|
|
185
|
+
capabilities: []
|
|
186
|
+
});
|
|
187
|
+
const catalog = ref([]);
|
|
188
|
+
const channels = ref([]);
|
|
189
|
+
const members = ref([]);
|
|
190
|
+
const bindChannelId = ref("");
|
|
191
|
+
const bindMemberId = ref("");
|
|
192
|
+
const bindPrefabId = ref("");
|
|
193
|
+
const bindRevision = ref(void 0);
|
|
194
|
+
const bindSlots = reactive({});
|
|
195
|
+
const bindDraft = ref(null);
|
|
196
|
+
function applyRow(row) {
|
|
197
|
+
selected.value = row;
|
|
198
|
+
form.name = row.draft.name;
|
|
199
|
+
form.description = row.draft.description ?? "";
|
|
200
|
+
form.visibility = row.draft.visibility ?? row.visibility;
|
|
201
|
+
form.role = row.draft.prompt?.role ?? "";
|
|
202
|
+
form.scenario = row.draft.prompt?.scenario ?? "";
|
|
203
|
+
form.slots = (row.draft.prompt?.slots ?? []).map((s) => ({ ...s }));
|
|
204
|
+
form.provider = row.draft.profile?.provider ?? "";
|
|
205
|
+
form.model = row.draft.profile?.model ?? "";
|
|
206
|
+
form.effort = row.draft.profile?.effort ?? "";
|
|
207
|
+
form.settingsJson = JSON.stringify(row.draft.profile?.settings ?? {}, null, 2);
|
|
208
|
+
form.capabilities = (row.draft.capabilities ?? []).map((c) => ({ ...c }));
|
|
209
|
+
}
|
|
210
|
+
function buildDraft() {
|
|
211
|
+
let settings = {};
|
|
212
|
+
try {
|
|
213
|
+
settings = JSON.parse(form.settingsJson || "{}");
|
|
214
|
+
} catch {
|
|
215
|
+
throw new Error(t("settings.prefabs.jsonInvalid"));
|
|
216
|
+
}
|
|
217
|
+
return {
|
|
218
|
+
name: form.name.trim(),
|
|
219
|
+
description: form.description.trim(),
|
|
220
|
+
visibility: form.visibility,
|
|
221
|
+
prompt: {
|
|
222
|
+
role: form.role,
|
|
223
|
+
scenario: form.scenario,
|
|
224
|
+
slots: form.slots
|
|
225
|
+
},
|
|
226
|
+
profile: {
|
|
227
|
+
...form.provider ? { provider: form.provider } : {},
|
|
228
|
+
...form.model ? { model: form.model } : {},
|
|
229
|
+
...form.effort ? { effort: form.effort } : {},
|
|
230
|
+
...Object.keys(settings).length ? { settings } : {}
|
|
231
|
+
},
|
|
232
|
+
capabilities: form.capabilities
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
async function load() {
|
|
236
|
+
loading.value = true;
|
|
237
|
+
error.value = "";
|
|
238
|
+
try {
|
|
239
|
+
const res = await apiFetch({ base: "/api/workshop/agent-prefabs" });
|
|
240
|
+
prefabs.value = res.prefabs ?? [];
|
|
241
|
+
if (selected.value) {
|
|
242
|
+
const fresh = prefabs.value.find((p) => p.id === selected.value.id);
|
|
243
|
+
if (fresh) applyRow(fresh);
|
|
244
|
+
}
|
|
245
|
+
} catch (err) {
|
|
246
|
+
error.value = err instanceof Error ? err.message : String(err);
|
|
247
|
+
} finally {
|
|
248
|
+
loading.value = false;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
async function loadMembers() {
|
|
252
|
+
members.value = [];
|
|
253
|
+
bindMemberId.value = "";
|
|
254
|
+
if (!bindChannelId.value) return;
|
|
255
|
+
try {
|
|
256
|
+
const res = await apiFetch({
|
|
257
|
+
base: "/api/workshop/channels",
|
|
258
|
+
path: `/${encodeURIComponent(bindChannelId.value)}/agents`
|
|
259
|
+
});
|
|
260
|
+
members.value = Array.isArray(res) ? res : [];
|
|
261
|
+
} catch {
|
|
262
|
+
members.value = [];
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
async function createPrefab() {
|
|
266
|
+
busy.value = true;
|
|
267
|
+
try {
|
|
268
|
+
const row = await apiFetch({
|
|
269
|
+
base: "/api/workshop/agent-prefabs",
|
|
270
|
+
init: {
|
|
271
|
+
method: "POST",
|
|
272
|
+
body: JSON.stringify({ draft: {
|
|
273
|
+
name: "Expert",
|
|
274
|
+
description: "",
|
|
275
|
+
visibility: "private",
|
|
276
|
+
prompt: {
|
|
277
|
+
role: "",
|
|
278
|
+
scenario: "",
|
|
279
|
+
slots: []
|
|
280
|
+
},
|
|
281
|
+
profile: {},
|
|
282
|
+
capabilities: []
|
|
283
|
+
} })
|
|
284
|
+
}
|
|
285
|
+
});
|
|
286
|
+
api$1.success(t("settings.prefabs.created"));
|
|
287
|
+
await load();
|
|
288
|
+
applyRow(prefabs.value.find((p) => p.id === row.id) ?? row);
|
|
289
|
+
} catch (err) {
|
|
290
|
+
api$1.error(err instanceof Error ? err.message : String(err));
|
|
291
|
+
} finally {
|
|
292
|
+
busy.value = false;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
async function saveDraft() {
|
|
296
|
+
if (!selected.value) return;
|
|
297
|
+
busy.value = true;
|
|
298
|
+
try {
|
|
299
|
+
const draft = buildDraft();
|
|
300
|
+
const row = await apiFetch({
|
|
301
|
+
base: "/api/workshop/agent-prefabs",
|
|
302
|
+
path: `/${encodeURIComponent(selected.value.id)}`,
|
|
303
|
+
init: {
|
|
304
|
+
method: "PATCH",
|
|
305
|
+
body: JSON.stringify({
|
|
306
|
+
expectedUpdatedAt: selected.value.updatedAt,
|
|
307
|
+
draft
|
|
308
|
+
})
|
|
309
|
+
}
|
|
310
|
+
});
|
|
311
|
+
api$1.success(t("settings.prefabs.saved"));
|
|
312
|
+
await load();
|
|
313
|
+
applyRow(prefabs.value.find((p) => p.id === row.id) ?? row);
|
|
314
|
+
} catch (err) {
|
|
315
|
+
api$1.error(err instanceof Error ? err.message : String(err));
|
|
316
|
+
} finally {
|
|
317
|
+
busy.value = false;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
async function publish() {
|
|
321
|
+
if (!selected.value) return;
|
|
322
|
+
modal_default.confirm({
|
|
323
|
+
title: t("settings.prefabs.publishConfirm"),
|
|
324
|
+
content: `${selected.value.name} → revision ${selected.value.headRevision + 1}`,
|
|
325
|
+
okText: t("settings.prefabs.publish"),
|
|
326
|
+
cancelText: t("common.cancel"),
|
|
327
|
+
onOk: async () => {
|
|
328
|
+
busy.value = true;
|
|
329
|
+
try {
|
|
330
|
+
const rev = await apiFetch({
|
|
331
|
+
base: "/api/workshop/agent-prefabs",
|
|
332
|
+
path: `/${encodeURIComponent(selected.value.id)}/publish`,
|
|
333
|
+
init: {
|
|
334
|
+
method: "POST",
|
|
335
|
+
body: JSON.stringify({ expectedHead: selected.value.headRevision })
|
|
336
|
+
}
|
|
337
|
+
});
|
|
338
|
+
api$1.success(t("settings.prefabs.published", {
|
|
339
|
+
p0: rev.revision,
|
|
340
|
+
p1: rev.contentHash.slice(0, 12)
|
|
341
|
+
}));
|
|
342
|
+
await load();
|
|
343
|
+
} catch (err) {
|
|
344
|
+
api$1.error(err instanceof Error ? err.message : String(err));
|
|
345
|
+
} finally {
|
|
346
|
+
busy.value = false;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
function onBindPrefabChange() {
|
|
352
|
+
bindRevision.value = prefabs.value.find((p) => p.id === bindPrefabId.value)?.headRevision ?? void 0;
|
|
353
|
+
loadBindRevision();
|
|
354
|
+
}
|
|
355
|
+
async function loadBindRevision() {
|
|
356
|
+
if (!bindPrefabId.value || !bindRevision.value) return;
|
|
357
|
+
try {
|
|
358
|
+
const res = await apiFetch({
|
|
359
|
+
base: "/api/workshop/agent-prefabs",
|
|
360
|
+
path: `/${encodeURIComponent(bindPrefabId.value)}/revisions/${bindRevision.value}`
|
|
361
|
+
});
|
|
362
|
+
bindDraft.value = res.draft;
|
|
363
|
+
for (const key of Object.keys(bindSlots)) bindSlots[key] = "";
|
|
364
|
+
for (const slot of res.draft.prompt.slots) bindSlots[slot.key] = slot.defaultValue ?? "";
|
|
365
|
+
} catch (err) {
|
|
366
|
+
bindDraft.value = null;
|
|
367
|
+
api$1.error(err instanceof Error ? err.message : String(err));
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
async function bind() {
|
|
371
|
+
if (!bindChannelId.value || !bindMemberId.value || !bindPrefabId.value || typeof bindRevision.value !== "number") return;
|
|
372
|
+
busy.value = true;
|
|
373
|
+
try {
|
|
374
|
+
await apiFetch({
|
|
375
|
+
base: "/api/workshop/channels",
|
|
376
|
+
path: `/${encodeURIComponent(bindChannelId.value)}/agents/${encodeURIComponent(bindMemberId.value)}/prefab`,
|
|
377
|
+
init: {
|
|
378
|
+
method: "PATCH",
|
|
379
|
+
body: JSON.stringify({
|
|
380
|
+
prefabId: bindPrefabId.value,
|
|
381
|
+
revision: bindRevision.value,
|
|
382
|
+
slotValues: { ...bindSlots }
|
|
383
|
+
})
|
|
384
|
+
}
|
|
385
|
+
});
|
|
386
|
+
api$1.success(t("settings.prefabs.bound"));
|
|
387
|
+
} catch (err) {
|
|
388
|
+
api$1.error(err instanceof Error ? err.message : String(err));
|
|
389
|
+
} finally {
|
|
390
|
+
busy.value = false;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
async function unbind() {
|
|
394
|
+
if (!bindChannelId.value || !bindMemberId.value) return;
|
|
395
|
+
busy.value = true;
|
|
396
|
+
try {
|
|
397
|
+
await apiFetch({
|
|
398
|
+
base: "/api/workshop/channels",
|
|
399
|
+
path: `/${encodeURIComponent(bindChannelId.value)}/agents/${encodeURIComponent(bindMemberId.value)}/prefab`,
|
|
400
|
+
init: {
|
|
401
|
+
method: "PATCH",
|
|
402
|
+
body: JSON.stringify({ clear: true })
|
|
403
|
+
}
|
|
404
|
+
});
|
|
405
|
+
api$1.success(t("settings.prefabs.unbound"));
|
|
406
|
+
} catch (err) {
|
|
407
|
+
api$1.error(err instanceof Error ? err.message : String(err));
|
|
408
|
+
} finally {
|
|
409
|
+
busy.value = false;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
function capSelected(kind, id) {
|
|
413
|
+
return form.capabilities.some((c) => c.kind === kind && c.id === id);
|
|
414
|
+
}
|
|
415
|
+
function capRequired(kind, id) {
|
|
416
|
+
return form.capabilities.find((c) => c.kind === kind && c.id === id)?.required === true;
|
|
417
|
+
}
|
|
418
|
+
function toggleCap(entry, checked) {
|
|
419
|
+
if (checked) {
|
|
420
|
+
if (!capSelected(entry.kind, entry.id)) form.capabilities.push({
|
|
421
|
+
kind: entry.kind,
|
|
422
|
+
id: entry.id,
|
|
423
|
+
required: false
|
|
424
|
+
});
|
|
425
|
+
} else form.capabilities = form.capabilities.filter((c) => !(c.kind === entry.kind && c.id === entry.id));
|
|
426
|
+
}
|
|
427
|
+
function setCapRequired(entry, checked) {
|
|
428
|
+
const item = form.capabilities.find((c) => c.kind === entry.kind && c.id === entry.id);
|
|
429
|
+
if (item) item.required = checked;
|
|
430
|
+
}
|
|
431
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
432
|
+
const _component_a_alert = alert_default;
|
|
433
|
+
const _component_a_button = button_default;
|
|
434
|
+
const _component_a_table = table_default;
|
|
435
|
+
const _component_a_table_column = Column_default;
|
|
436
|
+
const _component_a_card = card_default;
|
|
437
|
+
const _component_a_input = input_default;
|
|
438
|
+
const _component_a_select = Select;
|
|
439
|
+
const _component_a_textarea = TextArea_default;
|
|
440
|
+
const _component_a_checkbox = checkbox_default;
|
|
441
|
+
const _component_a_tag = Tag;
|
|
442
|
+
const _component_a_input_number = input_number_default;
|
|
443
|
+
_push(`<div${ssrRenderAttrs(mergeProps(_attrs, { style: __props.activeTab === "prefabs" ? null : { display: "none" } }))} data-v-94464a9d><h3 class="section-title" data-v-94464a9d>${ssrInterpolate(unref(t)("settings.prefabsTab"))}</h3><p class="section-desc" data-v-94464a9d>${ssrInterpolate(unref(t)("settings.prefabs.desc"))}</p>`);
|
|
444
|
+
if (unref(error)) _push(ssrRenderComponent(_component_a_alert, {
|
|
445
|
+
type: "error",
|
|
446
|
+
"show-icon": "",
|
|
447
|
+
message: unref(error),
|
|
448
|
+
class: "pf-notice"
|
|
449
|
+
}, null, _parent));
|
|
450
|
+
else _push(`<!---->`);
|
|
451
|
+
if (!unref(canAdmin)) _push(ssrRenderComponent(_component_a_alert, {
|
|
452
|
+
type: "info",
|
|
453
|
+
"show-icon": "",
|
|
454
|
+
message: unref(t)("settings.prefabs.adminOnly"),
|
|
455
|
+
class: "pf-notice"
|
|
456
|
+
}, null, _parent));
|
|
457
|
+
else _push(`<!---->`);
|
|
458
|
+
_push(`<div class="pf-toolbar" data-v-94464a9d>`);
|
|
459
|
+
_push(ssrRenderComponent(_component_a_button, {
|
|
460
|
+
loading: unref(loading),
|
|
461
|
+
onClick: load
|
|
462
|
+
}, {
|
|
463
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
464
|
+
if (_push) _push(`${ssrInterpolate(unref(t)("settings.prefabs.refresh"))}`);
|
|
465
|
+
else return [createTextVNode(toDisplayString(unref(t)("settings.prefabs.refresh")), 1)];
|
|
466
|
+
}),
|
|
467
|
+
_: 1
|
|
468
|
+
}, _parent));
|
|
469
|
+
if (unref(canAdmin)) _push(ssrRenderComponent(_component_a_button, {
|
|
470
|
+
type: "primary",
|
|
471
|
+
loading: unref(busy),
|
|
472
|
+
onClick: createPrefab
|
|
473
|
+
}, {
|
|
474
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
475
|
+
if (_push) _push(`${ssrInterpolate(unref(t)("settings.prefabs.create"))}`);
|
|
476
|
+
else return [createTextVNode(toDisplayString(unref(t)("settings.prefabs.create")), 1)];
|
|
477
|
+
}),
|
|
478
|
+
_: 1
|
|
479
|
+
}, _parent));
|
|
480
|
+
else _push(`<!---->`);
|
|
481
|
+
_push(`</div>`);
|
|
482
|
+
_push(ssrRenderComponent(_component_a_table, {
|
|
483
|
+
"data-source": unref(prefabs),
|
|
484
|
+
pagination: false,
|
|
485
|
+
"row-key": "id",
|
|
486
|
+
size: "small",
|
|
487
|
+
locale: { emptyText: unref(t)("settings.prefabs.empty") },
|
|
488
|
+
onRowClick: (record) => applyRow(record)
|
|
489
|
+
}, {
|
|
490
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
491
|
+
if (_push) {
|
|
492
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
493
|
+
title: unref(t)("settings.prefabs.name"),
|
|
494
|
+
"data-index": "name"
|
|
495
|
+
}, null, _parent, _scopeId));
|
|
496
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
497
|
+
title: unref(t)("settings.prefabs.visibility"),
|
|
498
|
+
"data-index": "visibility",
|
|
499
|
+
width: "100px"
|
|
500
|
+
}, null, _parent, _scopeId));
|
|
501
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
502
|
+
title: unref(t)("settings.prefabs.revision"),
|
|
503
|
+
"data-index": "headRevision",
|
|
504
|
+
width: "100px"
|
|
505
|
+
}, null, _parent, _scopeId));
|
|
506
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
507
|
+
title: unref(t)("settings.prefabs.updatedAt"),
|
|
508
|
+
"data-index": "updatedAt",
|
|
509
|
+
width: "190px"
|
|
510
|
+
}, null, _parent, _scopeId));
|
|
511
|
+
} else return [
|
|
512
|
+
createVNode(_component_a_table_column, {
|
|
513
|
+
title: unref(t)("settings.prefabs.name"),
|
|
514
|
+
"data-index": "name"
|
|
515
|
+
}, null, 8, ["title"]),
|
|
516
|
+
createVNode(_component_a_table_column, {
|
|
517
|
+
title: unref(t)("settings.prefabs.visibility"),
|
|
518
|
+
"data-index": "visibility",
|
|
519
|
+
width: "100px"
|
|
520
|
+
}, null, 8, ["title"]),
|
|
521
|
+
createVNode(_component_a_table_column, {
|
|
522
|
+
title: unref(t)("settings.prefabs.revision"),
|
|
523
|
+
"data-index": "headRevision",
|
|
524
|
+
width: "100px"
|
|
525
|
+
}, null, 8, ["title"]),
|
|
526
|
+
createVNode(_component_a_table_column, {
|
|
527
|
+
title: unref(t)("settings.prefabs.updatedAt"),
|
|
528
|
+
"data-index": "updatedAt",
|
|
529
|
+
width: "190px"
|
|
530
|
+
}, null, 8, ["title"])
|
|
531
|
+
];
|
|
532
|
+
}),
|
|
533
|
+
_: 1
|
|
534
|
+
}, _parent));
|
|
535
|
+
if (unref(selected)) _push(ssrRenderComponent(_component_a_card, {
|
|
536
|
+
size: "small",
|
|
537
|
+
class: "pf-card",
|
|
538
|
+
title: `${unref(selected).name} · id=${unref(selected).id}`
|
|
539
|
+
}, {
|
|
540
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
541
|
+
if (_push) {
|
|
542
|
+
_push(`<div class="pf-grid" data-v-94464a9d${_scopeId}>`);
|
|
543
|
+
_push(ssrRenderComponent(_component_a_input, {
|
|
544
|
+
value: unref(form).name,
|
|
545
|
+
"onUpdate:value": ($event) => unref(form).name = $event,
|
|
546
|
+
placeholder: unref(t)("settings.prefabs.name")
|
|
547
|
+
}, null, _parent, _scopeId));
|
|
548
|
+
_push(ssrRenderComponent(_component_a_input, {
|
|
549
|
+
value: unref(form).description,
|
|
550
|
+
"onUpdate:value": ($event) => unref(form).description = $event,
|
|
551
|
+
placeholder: unref(t)("settings.prefabs.description")
|
|
552
|
+
}, null, _parent, _scopeId));
|
|
553
|
+
_push(ssrRenderComponent(_component_a_select, {
|
|
554
|
+
value: unref(form).visibility,
|
|
555
|
+
"onUpdate:value": ($event) => unref(form).visibility = $event,
|
|
556
|
+
options: [{
|
|
557
|
+
value: "private",
|
|
558
|
+
label: "private"
|
|
559
|
+
}, {
|
|
560
|
+
value: "public",
|
|
561
|
+
label: "public"
|
|
562
|
+
}]
|
|
563
|
+
}, null, _parent, _scopeId));
|
|
564
|
+
_push(`</div>`);
|
|
565
|
+
_push(ssrRenderComponent(_component_a_textarea, {
|
|
566
|
+
value: unref(form).role,
|
|
567
|
+
"onUpdate:value": ($event) => unref(form).role = $event,
|
|
568
|
+
rows: 3,
|
|
569
|
+
placeholder: unref(t)("settings.prefabs.rolePrompt"),
|
|
570
|
+
class: "pf-block"
|
|
571
|
+
}, null, _parent, _scopeId));
|
|
572
|
+
_push(ssrRenderComponent(_component_a_textarea, {
|
|
573
|
+
value: unref(form).scenario,
|
|
574
|
+
"onUpdate:value": ($event) => unref(form).scenario = $event,
|
|
575
|
+
rows: 3,
|
|
576
|
+
placeholder: unref(t)("settings.prefabs.scenarioPrompt"),
|
|
577
|
+
class: "pf-block"
|
|
578
|
+
}, null, _parent, _scopeId));
|
|
579
|
+
_push(`<h4 class="pf-subtitle" data-v-94464a9d${_scopeId}>${ssrInterpolate(unref(t)("settings.prefabs.slots"))}</h4>`);
|
|
580
|
+
_push(ssrRenderComponent(_component_a_table, {
|
|
581
|
+
"data-source": unref(form).slots,
|
|
582
|
+
pagination: false,
|
|
583
|
+
"row-key": "key",
|
|
584
|
+
size: "small"
|
|
585
|
+
}, {
|
|
586
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
587
|
+
if (_push) {
|
|
588
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
589
|
+
title: unref(t)("settings.prefabs.slotKey"),
|
|
590
|
+
width: "120px"
|
|
591
|
+
}, {
|
|
592
|
+
default: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
593
|
+
if (_push) _push(ssrRenderComponent(_component_a_input, {
|
|
594
|
+
value: record.key,
|
|
595
|
+
"onUpdate:value": ($event) => record.key = $event,
|
|
596
|
+
size: "small"
|
|
597
|
+
}, null, _parent, _scopeId));
|
|
598
|
+
else return [createVNode(_component_a_input, {
|
|
599
|
+
value: record.key,
|
|
600
|
+
"onUpdate:value": ($event) => record.key = $event,
|
|
601
|
+
size: "small"
|
|
602
|
+
}, null, 8, ["value", "onUpdate:value"])];
|
|
603
|
+
}),
|
|
604
|
+
_: 1
|
|
605
|
+
}, _parent, _scopeId));
|
|
606
|
+
_push(ssrRenderComponent(_component_a_table_column, { title: unref(t)("settings.prefabs.slotLabel") }, {
|
|
607
|
+
default: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
608
|
+
if (_push) _push(ssrRenderComponent(_component_a_input, {
|
|
609
|
+
value: record.label,
|
|
610
|
+
"onUpdate:value": ($event) => record.label = $event,
|
|
611
|
+
size: "small"
|
|
612
|
+
}, null, _parent, _scopeId));
|
|
613
|
+
else return [createVNode(_component_a_input, {
|
|
614
|
+
value: record.label,
|
|
615
|
+
"onUpdate:value": ($event) => record.label = $event,
|
|
616
|
+
size: "small"
|
|
617
|
+
}, null, 8, ["value", "onUpdate:value"])];
|
|
618
|
+
}),
|
|
619
|
+
_: 1
|
|
620
|
+
}, _parent, _scopeId));
|
|
621
|
+
_push(ssrRenderComponent(_component_a_table_column, { title: unref(t)("settings.prefabs.slotDefault") }, {
|
|
622
|
+
default: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
623
|
+
if (_push) _push(ssrRenderComponent(_component_a_input, {
|
|
624
|
+
value: record.defaultValue,
|
|
625
|
+
"onUpdate:value": ($event) => record.defaultValue = $event,
|
|
626
|
+
size: "small"
|
|
627
|
+
}, null, _parent, _scopeId));
|
|
628
|
+
else return [createVNode(_component_a_input, {
|
|
629
|
+
value: record.defaultValue,
|
|
630
|
+
"onUpdate:value": ($event) => record.defaultValue = $event,
|
|
631
|
+
size: "small"
|
|
632
|
+
}, null, 8, ["value", "onUpdate:value"])];
|
|
633
|
+
}),
|
|
634
|
+
_: 1
|
|
635
|
+
}, _parent, _scopeId));
|
|
636
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
637
|
+
title: unref(t)("settings.prefabs.slotRequired"),
|
|
638
|
+
width: "80px"
|
|
639
|
+
}, {
|
|
640
|
+
default: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
641
|
+
if (_push) _push(ssrRenderComponent(_component_a_checkbox, {
|
|
642
|
+
checked: record.required,
|
|
643
|
+
"onUpdate:checked": ($event) => record.required = $event
|
|
644
|
+
}, null, _parent, _scopeId));
|
|
645
|
+
else return [createVNode(_component_a_checkbox, {
|
|
646
|
+
checked: record.required,
|
|
647
|
+
"onUpdate:checked": ($event) => record.required = $event
|
|
648
|
+
}, null, 8, ["checked", "onUpdate:checked"])];
|
|
649
|
+
}),
|
|
650
|
+
_: 1
|
|
651
|
+
}, _parent, _scopeId));
|
|
652
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
653
|
+
title: unref(t)("settings.prefabs.slotOverride"),
|
|
654
|
+
width: "90px"
|
|
655
|
+
}, {
|
|
656
|
+
default: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
657
|
+
if (_push) _push(ssrRenderComponent(_component_a_checkbox, {
|
|
658
|
+
checked: record.allowMemberOverride,
|
|
659
|
+
"onUpdate:checked": ($event) => record.allowMemberOverride = $event
|
|
660
|
+
}, null, _parent, _scopeId));
|
|
661
|
+
else return [createVNode(_component_a_checkbox, {
|
|
662
|
+
checked: record.allowMemberOverride,
|
|
663
|
+
"onUpdate:checked": ($event) => record.allowMemberOverride = $event
|
|
664
|
+
}, null, 8, ["checked", "onUpdate:checked"])];
|
|
665
|
+
}),
|
|
666
|
+
_: 1
|
|
667
|
+
}, _parent, _scopeId));
|
|
668
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
669
|
+
title: unref(t)("settings.skills.actions"),
|
|
670
|
+
width: "70px"
|
|
671
|
+
}, {
|
|
672
|
+
default: withCtx(({ index }, _push, _parent, _scopeId) => {
|
|
673
|
+
if (_push) _push(ssrRenderComponent(_component_a_button, {
|
|
674
|
+
danger: "",
|
|
675
|
+
type: "link",
|
|
676
|
+
size: "small",
|
|
677
|
+
onClick: ($event) => unref(form).slots.splice(index, 1)
|
|
678
|
+
}, {
|
|
679
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
680
|
+
if (_push) _push(`${ssrInterpolate(unref(t)("common.delete"))}`);
|
|
681
|
+
else return [createTextVNode(toDisplayString(unref(t)("common.delete")), 1)];
|
|
682
|
+
}),
|
|
683
|
+
_: 2
|
|
684
|
+
}, _parent, _scopeId));
|
|
685
|
+
else return [createVNode(_component_a_button, {
|
|
686
|
+
danger: "",
|
|
687
|
+
type: "link",
|
|
688
|
+
size: "small",
|
|
689
|
+
onClick: ($event) => unref(form).slots.splice(index, 1)
|
|
690
|
+
}, {
|
|
691
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("common.delete")), 1)]),
|
|
692
|
+
_: 1
|
|
693
|
+
}, 8, ["onClick"])];
|
|
694
|
+
}),
|
|
695
|
+
_: 1
|
|
696
|
+
}, _parent, _scopeId));
|
|
697
|
+
} else return [
|
|
698
|
+
createVNode(_component_a_table_column, {
|
|
699
|
+
title: unref(t)("settings.prefabs.slotKey"),
|
|
700
|
+
width: "120px"
|
|
701
|
+
}, {
|
|
702
|
+
default: withCtx(({ record }) => [createVNode(_component_a_input, {
|
|
703
|
+
value: record.key,
|
|
704
|
+
"onUpdate:value": ($event) => record.key = $event,
|
|
705
|
+
size: "small"
|
|
706
|
+
}, null, 8, ["value", "onUpdate:value"])]),
|
|
707
|
+
_: 1
|
|
708
|
+
}, 8, ["title"]),
|
|
709
|
+
createVNode(_component_a_table_column, { title: unref(t)("settings.prefabs.slotLabel") }, {
|
|
710
|
+
default: withCtx(({ record }) => [createVNode(_component_a_input, {
|
|
711
|
+
value: record.label,
|
|
712
|
+
"onUpdate:value": ($event) => record.label = $event,
|
|
713
|
+
size: "small"
|
|
714
|
+
}, null, 8, ["value", "onUpdate:value"])]),
|
|
715
|
+
_: 1
|
|
716
|
+
}, 8, ["title"]),
|
|
717
|
+
createVNode(_component_a_table_column, { title: unref(t)("settings.prefabs.slotDefault") }, {
|
|
718
|
+
default: withCtx(({ record }) => [createVNode(_component_a_input, {
|
|
719
|
+
value: record.defaultValue,
|
|
720
|
+
"onUpdate:value": ($event) => record.defaultValue = $event,
|
|
721
|
+
size: "small"
|
|
722
|
+
}, null, 8, ["value", "onUpdate:value"])]),
|
|
723
|
+
_: 1
|
|
724
|
+
}, 8, ["title"]),
|
|
725
|
+
createVNode(_component_a_table_column, {
|
|
726
|
+
title: unref(t)("settings.prefabs.slotRequired"),
|
|
727
|
+
width: "80px"
|
|
728
|
+
}, {
|
|
729
|
+
default: withCtx(({ record }) => [createVNode(_component_a_checkbox, {
|
|
730
|
+
checked: record.required,
|
|
731
|
+
"onUpdate:checked": ($event) => record.required = $event
|
|
732
|
+
}, null, 8, ["checked", "onUpdate:checked"])]),
|
|
733
|
+
_: 1
|
|
734
|
+
}, 8, ["title"]),
|
|
735
|
+
createVNode(_component_a_table_column, {
|
|
736
|
+
title: unref(t)("settings.prefabs.slotOverride"),
|
|
737
|
+
width: "90px"
|
|
738
|
+
}, {
|
|
739
|
+
default: withCtx(({ record }) => [createVNode(_component_a_checkbox, {
|
|
740
|
+
checked: record.allowMemberOverride,
|
|
741
|
+
"onUpdate:checked": ($event) => record.allowMemberOverride = $event
|
|
742
|
+
}, null, 8, ["checked", "onUpdate:checked"])]),
|
|
743
|
+
_: 1
|
|
744
|
+
}, 8, ["title"]),
|
|
745
|
+
createVNode(_component_a_table_column, {
|
|
746
|
+
title: unref(t)("settings.skills.actions"),
|
|
747
|
+
width: "70px"
|
|
748
|
+
}, {
|
|
749
|
+
default: withCtx(({ index }) => [createVNode(_component_a_button, {
|
|
750
|
+
danger: "",
|
|
751
|
+
type: "link",
|
|
752
|
+
size: "small",
|
|
753
|
+
onClick: ($event) => unref(form).slots.splice(index, 1)
|
|
754
|
+
}, {
|
|
755
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("common.delete")), 1)]),
|
|
756
|
+
_: 1
|
|
757
|
+
}, 8, ["onClick"])]),
|
|
758
|
+
_: 1
|
|
759
|
+
}, 8, ["title"])
|
|
760
|
+
];
|
|
761
|
+
}),
|
|
762
|
+
_: 1
|
|
763
|
+
}, _parent, _scopeId));
|
|
764
|
+
_push(ssrRenderComponent(_component_a_button, {
|
|
765
|
+
size: "small",
|
|
766
|
+
class: "pf-add",
|
|
767
|
+
onClick: ($event) => unref(form).slots.push({
|
|
768
|
+
key: `slot${unref(form).slots.length + 1}`,
|
|
769
|
+
label: "",
|
|
770
|
+
defaultValue: "",
|
|
771
|
+
allowMemberOverride: true,
|
|
772
|
+
maxLength: 4e3
|
|
773
|
+
})
|
|
774
|
+
}, {
|
|
775
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
776
|
+
if (_push) _push(`${ssrInterpolate(unref(t)("settings.prefabs.addSlot"))}`);
|
|
777
|
+
else return [createTextVNode(toDisplayString(unref(t)("settings.prefabs.addSlot")), 1)];
|
|
778
|
+
}),
|
|
779
|
+
_: 1
|
|
780
|
+
}, _parent, _scopeId));
|
|
781
|
+
_push(`<div class="pf-grid pf-block" data-v-94464a9d${_scopeId}>`);
|
|
782
|
+
_push(ssrRenderComponent(_component_a_input, {
|
|
783
|
+
value: unref(form).provider,
|
|
784
|
+
"onUpdate:value": ($event) => unref(form).provider = $event,
|
|
785
|
+
placeholder: "provider"
|
|
786
|
+
}, null, _parent, _scopeId));
|
|
787
|
+
_push(ssrRenderComponent(_component_a_input, {
|
|
788
|
+
value: unref(form).model,
|
|
789
|
+
"onUpdate:value": ($event) => unref(form).model = $event,
|
|
790
|
+
placeholder: "model"
|
|
791
|
+
}, null, _parent, _scopeId));
|
|
792
|
+
_push(ssrRenderComponent(_component_a_input, {
|
|
793
|
+
value: unref(form).effort,
|
|
794
|
+
"onUpdate:value": ($event) => unref(form).effort = $event,
|
|
795
|
+
placeholder: "effort"
|
|
796
|
+
}, null, _parent, _scopeId));
|
|
797
|
+
_push(`</div>`);
|
|
798
|
+
_push(ssrRenderComponent(_component_a_textarea, {
|
|
799
|
+
value: unref(form).settingsJson,
|
|
800
|
+
"onUpdate:value": ($event) => unref(form).settingsJson = $event,
|
|
801
|
+
rows: 3,
|
|
802
|
+
placeholder: unref(t)("settings.prefabs.settingsJson"),
|
|
803
|
+
class: "pf-block"
|
|
804
|
+
}, null, _parent, _scopeId));
|
|
805
|
+
_push(`<h4 class="pf-subtitle" data-v-94464a9d${_scopeId}>${ssrInterpolate(unref(t)("settings.prefabs.capabilities"))}</h4>`);
|
|
806
|
+
_push(ssrRenderComponent(_component_a_table, {
|
|
807
|
+
"data-source": unref(catalog),
|
|
808
|
+
pagination: {
|
|
809
|
+
pageSize: 12,
|
|
810
|
+
size: "small"
|
|
811
|
+
},
|
|
812
|
+
"row-key": "key",
|
|
813
|
+
size: "small"
|
|
814
|
+
}, {
|
|
815
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
816
|
+
if (_push) {
|
|
817
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
818
|
+
title: unref(t)("settings.prefabs.capKind"),
|
|
819
|
+
"data-index": "kind",
|
|
820
|
+
width: "110px"
|
|
821
|
+
}, null, _parent, _scopeId));
|
|
822
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
823
|
+
title: unref(t)("settings.prefabs.capId"),
|
|
824
|
+
"data-index": "id"
|
|
825
|
+
}, null, _parent, _scopeId));
|
|
826
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
827
|
+
title: unref(t)("settings.prefabs.capStatus"),
|
|
828
|
+
width: "120px"
|
|
829
|
+
}, {
|
|
830
|
+
default: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
831
|
+
if (_push) _push(ssrRenderComponent(_component_a_tag, { color: record.enabled ? record.reviewStatus === "pending" ? "orange" : "green" : "default" }, {
|
|
832
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
833
|
+
if (_push) _push(`${ssrInterpolate(record.enabled ? record.reviewStatus ?? "enabled" : "disabled")}`);
|
|
834
|
+
else return [createTextVNode(toDisplayString(record.enabled ? record.reviewStatus ?? "enabled" : "disabled"), 1)];
|
|
835
|
+
}),
|
|
836
|
+
_: 2
|
|
837
|
+
}, _parent, _scopeId));
|
|
838
|
+
else return [createVNode(_component_a_tag, { color: record.enabled ? record.reviewStatus === "pending" ? "orange" : "green" : "default" }, {
|
|
839
|
+
default: withCtx(() => [createTextVNode(toDisplayString(record.enabled ? record.reviewStatus ?? "enabled" : "disabled"), 1)]),
|
|
840
|
+
_: 2
|
|
841
|
+
}, 1032, ["color"])];
|
|
842
|
+
}),
|
|
843
|
+
_: 1
|
|
844
|
+
}, _parent, _scopeId));
|
|
845
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
846
|
+
title: unref(t)("settings.prefabs.slotOverride"),
|
|
847
|
+
width: "90px"
|
|
848
|
+
}, {
|
|
849
|
+
default: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
850
|
+
if (_push) _push(ssrRenderComponent(_component_a_checkbox, {
|
|
851
|
+
checked: capSelected(record.kind, record.id),
|
|
852
|
+
onChange: (v) => toggleCap(record, v === true)
|
|
853
|
+
}, null, _parent, _scopeId));
|
|
854
|
+
else return [createVNode(_component_a_checkbox, {
|
|
855
|
+
checked: capSelected(record.kind, record.id),
|
|
856
|
+
onChange: (v) => toggleCap(record, v === true)
|
|
857
|
+
}, null, 8, ["checked", "onChange"])];
|
|
858
|
+
}),
|
|
859
|
+
_: 1
|
|
860
|
+
}, _parent, _scopeId));
|
|
861
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
862
|
+
title: unref(t)("settings.prefabs.slotRequired"),
|
|
863
|
+
width: "80px"
|
|
864
|
+
}, {
|
|
865
|
+
default: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
866
|
+
if (_push) _push(ssrRenderComponent(_component_a_checkbox, {
|
|
867
|
+
checked: capRequired(record.kind, record.id),
|
|
868
|
+
disabled: !capSelected(record.kind, record.id),
|
|
869
|
+
onChange: (v) => setCapRequired(record, v === true)
|
|
870
|
+
}, null, _parent, _scopeId));
|
|
871
|
+
else return [createVNode(_component_a_checkbox, {
|
|
872
|
+
checked: capRequired(record.kind, record.id),
|
|
873
|
+
disabled: !capSelected(record.kind, record.id),
|
|
874
|
+
onChange: (v) => setCapRequired(record, v === true)
|
|
875
|
+
}, null, 8, [
|
|
876
|
+
"checked",
|
|
877
|
+
"disabled",
|
|
878
|
+
"onChange"
|
|
879
|
+
])];
|
|
880
|
+
}),
|
|
881
|
+
_: 1
|
|
882
|
+
}, _parent, _scopeId));
|
|
883
|
+
} else return [
|
|
884
|
+
createVNode(_component_a_table_column, {
|
|
885
|
+
title: unref(t)("settings.prefabs.capKind"),
|
|
886
|
+
"data-index": "kind",
|
|
887
|
+
width: "110px"
|
|
888
|
+
}, null, 8, ["title"]),
|
|
889
|
+
createVNode(_component_a_table_column, {
|
|
890
|
+
title: unref(t)("settings.prefabs.capId"),
|
|
891
|
+
"data-index": "id"
|
|
892
|
+
}, null, 8, ["title"]),
|
|
893
|
+
createVNode(_component_a_table_column, {
|
|
894
|
+
title: unref(t)("settings.prefabs.capStatus"),
|
|
895
|
+
width: "120px"
|
|
896
|
+
}, {
|
|
897
|
+
default: withCtx(({ record }) => [createVNode(_component_a_tag, { color: record.enabled ? record.reviewStatus === "pending" ? "orange" : "green" : "default" }, {
|
|
898
|
+
default: withCtx(() => [createTextVNode(toDisplayString(record.enabled ? record.reviewStatus ?? "enabled" : "disabled"), 1)]),
|
|
899
|
+
_: 2
|
|
900
|
+
}, 1032, ["color"])]),
|
|
901
|
+
_: 1
|
|
902
|
+
}, 8, ["title"]),
|
|
903
|
+
createVNode(_component_a_table_column, {
|
|
904
|
+
title: unref(t)("settings.prefabs.slotOverride"),
|
|
905
|
+
width: "90px"
|
|
906
|
+
}, {
|
|
907
|
+
default: withCtx(({ record }) => [createVNode(_component_a_checkbox, {
|
|
908
|
+
checked: capSelected(record.kind, record.id),
|
|
909
|
+
onChange: (v) => toggleCap(record, v === true)
|
|
910
|
+
}, null, 8, ["checked", "onChange"])]),
|
|
911
|
+
_: 1
|
|
912
|
+
}, 8, ["title"]),
|
|
913
|
+
createVNode(_component_a_table_column, {
|
|
914
|
+
title: unref(t)("settings.prefabs.slotRequired"),
|
|
915
|
+
width: "80px"
|
|
916
|
+
}, {
|
|
917
|
+
default: withCtx(({ record }) => [createVNode(_component_a_checkbox, {
|
|
918
|
+
checked: capRequired(record.kind, record.id),
|
|
919
|
+
disabled: !capSelected(record.kind, record.id),
|
|
920
|
+
onChange: (v) => setCapRequired(record, v === true)
|
|
921
|
+
}, null, 8, [
|
|
922
|
+
"checked",
|
|
923
|
+
"disabled",
|
|
924
|
+
"onChange"
|
|
925
|
+
])]),
|
|
926
|
+
_: 1
|
|
927
|
+
}, 8, ["title"])
|
|
928
|
+
];
|
|
929
|
+
}),
|
|
930
|
+
_: 1
|
|
931
|
+
}, _parent, _scopeId));
|
|
932
|
+
_push(`<div class="pf-actions" data-v-94464a9d${_scopeId}>`);
|
|
933
|
+
_push(ssrRenderComponent(_component_a_button, {
|
|
934
|
+
type: "primary",
|
|
935
|
+
loading: unref(busy),
|
|
936
|
+
disabled: !unref(canAdmin),
|
|
937
|
+
onClick: saveDraft
|
|
938
|
+
}, {
|
|
939
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
940
|
+
if (_push) _push(`${ssrInterpolate(unref(t)("settings.prefabs.saveDraft"))}`);
|
|
941
|
+
else return [createTextVNode(toDisplayString(unref(t)("settings.prefabs.saveDraft")), 1)];
|
|
942
|
+
}),
|
|
943
|
+
_: 1
|
|
944
|
+
}, _parent, _scopeId));
|
|
945
|
+
_push(ssrRenderComponent(_component_a_button, {
|
|
946
|
+
loading: unref(busy),
|
|
947
|
+
disabled: !unref(canAdmin),
|
|
948
|
+
onClick: publish
|
|
949
|
+
}, {
|
|
950
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
951
|
+
if (_push) _push(`${ssrInterpolate(unref(t)("settings.prefabs.publish"))}`);
|
|
952
|
+
else return [createTextVNode(toDisplayString(unref(t)("settings.prefabs.publish")), 1)];
|
|
953
|
+
}),
|
|
954
|
+
_: 1
|
|
955
|
+
}, _parent, _scopeId));
|
|
956
|
+
_push(`</div>`);
|
|
957
|
+
} else return [
|
|
958
|
+
createVNode("div", { class: "pf-grid" }, [
|
|
959
|
+
createVNode(_component_a_input, {
|
|
960
|
+
value: unref(form).name,
|
|
961
|
+
"onUpdate:value": ($event) => unref(form).name = $event,
|
|
962
|
+
placeholder: unref(t)("settings.prefabs.name")
|
|
963
|
+
}, null, 8, [
|
|
964
|
+
"value",
|
|
965
|
+
"onUpdate:value",
|
|
966
|
+
"placeholder"
|
|
967
|
+
]),
|
|
968
|
+
createVNode(_component_a_input, {
|
|
969
|
+
value: unref(form).description,
|
|
970
|
+
"onUpdate:value": ($event) => unref(form).description = $event,
|
|
971
|
+
placeholder: unref(t)("settings.prefabs.description")
|
|
972
|
+
}, null, 8, [
|
|
973
|
+
"value",
|
|
974
|
+
"onUpdate:value",
|
|
975
|
+
"placeholder"
|
|
976
|
+
]),
|
|
977
|
+
createVNode(_component_a_select, {
|
|
978
|
+
value: unref(form).visibility,
|
|
979
|
+
"onUpdate:value": ($event) => unref(form).visibility = $event,
|
|
980
|
+
options: [{
|
|
981
|
+
value: "private",
|
|
982
|
+
label: "private"
|
|
983
|
+
}, {
|
|
984
|
+
value: "public",
|
|
985
|
+
label: "public"
|
|
986
|
+
}]
|
|
987
|
+
}, null, 8, ["value", "onUpdate:value"])
|
|
988
|
+
]),
|
|
989
|
+
createVNode(_component_a_textarea, {
|
|
990
|
+
value: unref(form).role,
|
|
991
|
+
"onUpdate:value": ($event) => unref(form).role = $event,
|
|
992
|
+
rows: 3,
|
|
993
|
+
placeholder: unref(t)("settings.prefabs.rolePrompt"),
|
|
994
|
+
class: "pf-block"
|
|
995
|
+
}, null, 8, [
|
|
996
|
+
"value",
|
|
997
|
+
"onUpdate:value",
|
|
998
|
+
"placeholder"
|
|
999
|
+
]),
|
|
1000
|
+
createVNode(_component_a_textarea, {
|
|
1001
|
+
value: unref(form).scenario,
|
|
1002
|
+
"onUpdate:value": ($event) => unref(form).scenario = $event,
|
|
1003
|
+
rows: 3,
|
|
1004
|
+
placeholder: unref(t)("settings.prefabs.scenarioPrompt"),
|
|
1005
|
+
class: "pf-block"
|
|
1006
|
+
}, null, 8, [
|
|
1007
|
+
"value",
|
|
1008
|
+
"onUpdate:value",
|
|
1009
|
+
"placeholder"
|
|
1010
|
+
]),
|
|
1011
|
+
createVNode("h4", { class: "pf-subtitle" }, toDisplayString(unref(t)("settings.prefabs.slots")), 1),
|
|
1012
|
+
createVNode(_component_a_table, {
|
|
1013
|
+
"data-source": unref(form).slots,
|
|
1014
|
+
pagination: false,
|
|
1015
|
+
"row-key": "key",
|
|
1016
|
+
size: "small"
|
|
1017
|
+
}, {
|
|
1018
|
+
default: withCtx(() => [
|
|
1019
|
+
createVNode(_component_a_table_column, {
|
|
1020
|
+
title: unref(t)("settings.prefabs.slotKey"),
|
|
1021
|
+
width: "120px"
|
|
1022
|
+
}, {
|
|
1023
|
+
default: withCtx(({ record }) => [createVNode(_component_a_input, {
|
|
1024
|
+
value: record.key,
|
|
1025
|
+
"onUpdate:value": ($event) => record.key = $event,
|
|
1026
|
+
size: "small"
|
|
1027
|
+
}, null, 8, ["value", "onUpdate:value"])]),
|
|
1028
|
+
_: 1
|
|
1029
|
+
}, 8, ["title"]),
|
|
1030
|
+
createVNode(_component_a_table_column, { title: unref(t)("settings.prefabs.slotLabel") }, {
|
|
1031
|
+
default: withCtx(({ record }) => [createVNode(_component_a_input, {
|
|
1032
|
+
value: record.label,
|
|
1033
|
+
"onUpdate:value": ($event) => record.label = $event,
|
|
1034
|
+
size: "small"
|
|
1035
|
+
}, null, 8, ["value", "onUpdate:value"])]),
|
|
1036
|
+
_: 1
|
|
1037
|
+
}, 8, ["title"]),
|
|
1038
|
+
createVNode(_component_a_table_column, { title: unref(t)("settings.prefabs.slotDefault") }, {
|
|
1039
|
+
default: withCtx(({ record }) => [createVNode(_component_a_input, {
|
|
1040
|
+
value: record.defaultValue,
|
|
1041
|
+
"onUpdate:value": ($event) => record.defaultValue = $event,
|
|
1042
|
+
size: "small"
|
|
1043
|
+
}, null, 8, ["value", "onUpdate:value"])]),
|
|
1044
|
+
_: 1
|
|
1045
|
+
}, 8, ["title"]),
|
|
1046
|
+
createVNode(_component_a_table_column, {
|
|
1047
|
+
title: unref(t)("settings.prefabs.slotRequired"),
|
|
1048
|
+
width: "80px"
|
|
1049
|
+
}, {
|
|
1050
|
+
default: withCtx(({ record }) => [createVNode(_component_a_checkbox, {
|
|
1051
|
+
checked: record.required,
|
|
1052
|
+
"onUpdate:checked": ($event) => record.required = $event
|
|
1053
|
+
}, null, 8, ["checked", "onUpdate:checked"])]),
|
|
1054
|
+
_: 1
|
|
1055
|
+
}, 8, ["title"]),
|
|
1056
|
+
createVNode(_component_a_table_column, {
|
|
1057
|
+
title: unref(t)("settings.prefabs.slotOverride"),
|
|
1058
|
+
width: "90px"
|
|
1059
|
+
}, {
|
|
1060
|
+
default: withCtx(({ record }) => [createVNode(_component_a_checkbox, {
|
|
1061
|
+
checked: record.allowMemberOverride,
|
|
1062
|
+
"onUpdate:checked": ($event) => record.allowMemberOverride = $event
|
|
1063
|
+
}, null, 8, ["checked", "onUpdate:checked"])]),
|
|
1064
|
+
_: 1
|
|
1065
|
+
}, 8, ["title"]),
|
|
1066
|
+
createVNode(_component_a_table_column, {
|
|
1067
|
+
title: unref(t)("settings.skills.actions"),
|
|
1068
|
+
width: "70px"
|
|
1069
|
+
}, {
|
|
1070
|
+
default: withCtx(({ index }) => [createVNode(_component_a_button, {
|
|
1071
|
+
danger: "",
|
|
1072
|
+
type: "link",
|
|
1073
|
+
size: "small",
|
|
1074
|
+
onClick: ($event) => unref(form).slots.splice(index, 1)
|
|
1075
|
+
}, {
|
|
1076
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("common.delete")), 1)]),
|
|
1077
|
+
_: 1
|
|
1078
|
+
}, 8, ["onClick"])]),
|
|
1079
|
+
_: 1
|
|
1080
|
+
}, 8, ["title"])
|
|
1081
|
+
]),
|
|
1082
|
+
_: 1
|
|
1083
|
+
}, 8, ["data-source"]),
|
|
1084
|
+
createVNode(_component_a_button, {
|
|
1085
|
+
size: "small",
|
|
1086
|
+
class: "pf-add",
|
|
1087
|
+
onClick: ($event) => unref(form).slots.push({
|
|
1088
|
+
key: `slot${unref(form).slots.length + 1}`,
|
|
1089
|
+
label: "",
|
|
1090
|
+
defaultValue: "",
|
|
1091
|
+
allowMemberOverride: true,
|
|
1092
|
+
maxLength: 4e3
|
|
1093
|
+
})
|
|
1094
|
+
}, {
|
|
1095
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("settings.prefabs.addSlot")), 1)]),
|
|
1096
|
+
_: 1
|
|
1097
|
+
}, 8, ["onClick"]),
|
|
1098
|
+
createVNode("div", { class: "pf-grid pf-block" }, [
|
|
1099
|
+
createVNode(_component_a_input, {
|
|
1100
|
+
value: unref(form).provider,
|
|
1101
|
+
"onUpdate:value": ($event) => unref(form).provider = $event,
|
|
1102
|
+
placeholder: "provider"
|
|
1103
|
+
}, null, 8, ["value", "onUpdate:value"]),
|
|
1104
|
+
createVNode(_component_a_input, {
|
|
1105
|
+
value: unref(form).model,
|
|
1106
|
+
"onUpdate:value": ($event) => unref(form).model = $event,
|
|
1107
|
+
placeholder: "model"
|
|
1108
|
+
}, null, 8, ["value", "onUpdate:value"]),
|
|
1109
|
+
createVNode(_component_a_input, {
|
|
1110
|
+
value: unref(form).effort,
|
|
1111
|
+
"onUpdate:value": ($event) => unref(form).effort = $event,
|
|
1112
|
+
placeholder: "effort"
|
|
1113
|
+
}, null, 8, ["value", "onUpdate:value"])
|
|
1114
|
+
]),
|
|
1115
|
+
createVNode(_component_a_textarea, {
|
|
1116
|
+
value: unref(form).settingsJson,
|
|
1117
|
+
"onUpdate:value": ($event) => unref(form).settingsJson = $event,
|
|
1118
|
+
rows: 3,
|
|
1119
|
+
placeholder: unref(t)("settings.prefabs.settingsJson"),
|
|
1120
|
+
class: "pf-block"
|
|
1121
|
+
}, null, 8, [
|
|
1122
|
+
"value",
|
|
1123
|
+
"onUpdate:value",
|
|
1124
|
+
"placeholder"
|
|
1125
|
+
]),
|
|
1126
|
+
createVNode("h4", { class: "pf-subtitle" }, toDisplayString(unref(t)("settings.prefabs.capabilities")), 1),
|
|
1127
|
+
createVNode(_component_a_table, {
|
|
1128
|
+
"data-source": unref(catalog),
|
|
1129
|
+
pagination: {
|
|
1130
|
+
pageSize: 12,
|
|
1131
|
+
size: "small"
|
|
1132
|
+
},
|
|
1133
|
+
"row-key": "key",
|
|
1134
|
+
size: "small"
|
|
1135
|
+
}, {
|
|
1136
|
+
default: withCtx(() => [
|
|
1137
|
+
createVNode(_component_a_table_column, {
|
|
1138
|
+
title: unref(t)("settings.prefabs.capKind"),
|
|
1139
|
+
"data-index": "kind",
|
|
1140
|
+
width: "110px"
|
|
1141
|
+
}, null, 8, ["title"]),
|
|
1142
|
+
createVNode(_component_a_table_column, {
|
|
1143
|
+
title: unref(t)("settings.prefabs.capId"),
|
|
1144
|
+
"data-index": "id"
|
|
1145
|
+
}, null, 8, ["title"]),
|
|
1146
|
+
createVNode(_component_a_table_column, {
|
|
1147
|
+
title: unref(t)("settings.prefabs.capStatus"),
|
|
1148
|
+
width: "120px"
|
|
1149
|
+
}, {
|
|
1150
|
+
default: withCtx(({ record }) => [createVNode(_component_a_tag, { color: record.enabled ? record.reviewStatus === "pending" ? "orange" : "green" : "default" }, {
|
|
1151
|
+
default: withCtx(() => [createTextVNode(toDisplayString(record.enabled ? record.reviewStatus ?? "enabled" : "disabled"), 1)]),
|
|
1152
|
+
_: 2
|
|
1153
|
+
}, 1032, ["color"])]),
|
|
1154
|
+
_: 1
|
|
1155
|
+
}, 8, ["title"]),
|
|
1156
|
+
createVNode(_component_a_table_column, {
|
|
1157
|
+
title: unref(t)("settings.prefabs.slotOverride"),
|
|
1158
|
+
width: "90px"
|
|
1159
|
+
}, {
|
|
1160
|
+
default: withCtx(({ record }) => [createVNode(_component_a_checkbox, {
|
|
1161
|
+
checked: capSelected(record.kind, record.id),
|
|
1162
|
+
onChange: (v) => toggleCap(record, v === true)
|
|
1163
|
+
}, null, 8, ["checked", "onChange"])]),
|
|
1164
|
+
_: 1
|
|
1165
|
+
}, 8, ["title"]),
|
|
1166
|
+
createVNode(_component_a_table_column, {
|
|
1167
|
+
title: unref(t)("settings.prefabs.slotRequired"),
|
|
1168
|
+
width: "80px"
|
|
1169
|
+
}, {
|
|
1170
|
+
default: withCtx(({ record }) => [createVNode(_component_a_checkbox, {
|
|
1171
|
+
checked: capRequired(record.kind, record.id),
|
|
1172
|
+
disabled: !capSelected(record.kind, record.id),
|
|
1173
|
+
onChange: (v) => setCapRequired(record, v === true)
|
|
1174
|
+
}, null, 8, [
|
|
1175
|
+
"checked",
|
|
1176
|
+
"disabled",
|
|
1177
|
+
"onChange"
|
|
1178
|
+
])]),
|
|
1179
|
+
_: 1
|
|
1180
|
+
}, 8, ["title"])
|
|
1181
|
+
]),
|
|
1182
|
+
_: 1
|
|
1183
|
+
}, 8, ["data-source"]),
|
|
1184
|
+
createVNode("div", { class: "pf-actions" }, [createVNode(_component_a_button, {
|
|
1185
|
+
type: "primary",
|
|
1186
|
+
loading: unref(busy),
|
|
1187
|
+
disabled: !unref(canAdmin),
|
|
1188
|
+
onClick: saveDraft
|
|
1189
|
+
}, {
|
|
1190
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("settings.prefabs.saveDraft")), 1)]),
|
|
1191
|
+
_: 1
|
|
1192
|
+
}, 8, ["loading", "disabled"]), createVNode(_component_a_button, {
|
|
1193
|
+
loading: unref(busy),
|
|
1194
|
+
disabled: !unref(canAdmin),
|
|
1195
|
+
onClick: publish
|
|
1196
|
+
}, {
|
|
1197
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("settings.prefabs.publish")), 1)]),
|
|
1198
|
+
_: 1
|
|
1199
|
+
}, 8, ["loading", "disabled"])])
|
|
1200
|
+
];
|
|
1201
|
+
}),
|
|
1202
|
+
_: 1
|
|
1203
|
+
}, _parent));
|
|
1204
|
+
else _push(`<!---->`);
|
|
1205
|
+
if (unref(canAdmin)) _push(ssrRenderComponent(_component_a_card, {
|
|
1206
|
+
size: "small",
|
|
1207
|
+
class: "pf-card",
|
|
1208
|
+
title: unref(t)("settings.prefabs.bindTitle")
|
|
1209
|
+
}, {
|
|
1210
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1211
|
+
if (_push) {
|
|
1212
|
+
_push(`<div class="pf-grid" data-v-94464a9d${_scopeId}>`);
|
|
1213
|
+
_push(ssrRenderComponent(_component_a_select, {
|
|
1214
|
+
value: unref(bindChannelId),
|
|
1215
|
+
"onUpdate:value": ($event) => isRef(bindChannelId) ? bindChannelId.value = $event : null,
|
|
1216
|
+
options: unref(channels).map((c) => ({
|
|
1217
|
+
value: c.id,
|
|
1218
|
+
label: c.name
|
|
1219
|
+
})),
|
|
1220
|
+
placeholder: unref(t)("settings.prefabs.channel"),
|
|
1221
|
+
onChange: loadMembers
|
|
1222
|
+
}, null, _parent, _scopeId));
|
|
1223
|
+
_push(ssrRenderComponent(_component_a_select, {
|
|
1224
|
+
value: unref(bindMemberId),
|
|
1225
|
+
"onUpdate:value": ($event) => isRef(bindMemberId) ? bindMemberId.value = $event : null,
|
|
1226
|
+
options: unref(members).map((m) => ({
|
|
1227
|
+
value: m.id,
|
|
1228
|
+
label: `${m.name} (${m.role})`
|
|
1229
|
+
})),
|
|
1230
|
+
placeholder: unref(t)("settings.prefabs.member")
|
|
1231
|
+
}, null, _parent, _scopeId));
|
|
1232
|
+
_push(ssrRenderComponent(_component_a_select, {
|
|
1233
|
+
value: unref(bindPrefabId),
|
|
1234
|
+
"onUpdate:value": ($event) => isRef(bindPrefabId) ? bindPrefabId.value = $event : null,
|
|
1235
|
+
options: unref(prefabs).map((p) => ({
|
|
1236
|
+
value: p.id,
|
|
1237
|
+
label: `${p.name} · v${p.headRevision}`
|
|
1238
|
+
})),
|
|
1239
|
+
placeholder: unref(t)("settings.prefabs.name"),
|
|
1240
|
+
onChange: onBindPrefabChange
|
|
1241
|
+
}, null, _parent, _scopeId));
|
|
1242
|
+
_push(ssrRenderComponent(_component_a_input_number, {
|
|
1243
|
+
value: unref(bindRevision),
|
|
1244
|
+
"onUpdate:value": ($event) => isRef(bindRevision) ? bindRevision.value = $event : null,
|
|
1245
|
+
min: 1,
|
|
1246
|
+
placeholder: unref(t)("settings.prefabs.revision"),
|
|
1247
|
+
onChange: loadBindRevision
|
|
1248
|
+
}, null, _parent, _scopeId));
|
|
1249
|
+
_push(`</div><!--[-->`);
|
|
1250
|
+
ssrRenderList(unref(bindDraft)?.prompt?.slots ?? [], (slot) => {
|
|
1251
|
+
_push(`<div class="pf-bind-slot" data-v-94464a9d${_scopeId}><span data-v-94464a9d${_scopeId}>${ssrInterpolate(slot.label || slot.key)}`);
|
|
1252
|
+
if (slot.required) _push(`<em data-v-94464a9d${_scopeId}> *</em>`);
|
|
1253
|
+
else _push(`<!---->`);
|
|
1254
|
+
_push(`</span>`);
|
|
1255
|
+
_push(ssrRenderComponent(_component_a_input, {
|
|
1256
|
+
value: unref(bindSlots)[slot.key],
|
|
1257
|
+
"onUpdate:value": ($event) => unref(bindSlots)[slot.key] = $event,
|
|
1258
|
+
maxlength: slot.maxLength ?? 4e3,
|
|
1259
|
+
disabled: slot.allowMemberOverride === false
|
|
1260
|
+
}, null, _parent, _scopeId));
|
|
1261
|
+
_push(`</div>`);
|
|
1262
|
+
});
|
|
1263
|
+
_push(`<!--]--><div class="pf-actions" data-v-94464a9d${_scopeId}>`);
|
|
1264
|
+
_push(ssrRenderComponent(_component_a_button, {
|
|
1265
|
+
type: "primary",
|
|
1266
|
+
loading: unref(busy),
|
|
1267
|
+
onClick: bind
|
|
1268
|
+
}, {
|
|
1269
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1270
|
+
if (_push) _push(`${ssrInterpolate(unref(t)("settings.prefabs.bind"))}`);
|
|
1271
|
+
else return [createTextVNode(toDisplayString(unref(t)("settings.prefabs.bind")), 1)];
|
|
1272
|
+
}),
|
|
1273
|
+
_: 1
|
|
1274
|
+
}, _parent, _scopeId));
|
|
1275
|
+
_push(ssrRenderComponent(_component_a_button, {
|
|
1276
|
+
danger: "",
|
|
1277
|
+
loading: unref(busy),
|
|
1278
|
+
onClick: unbind
|
|
1279
|
+
}, {
|
|
1280
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1281
|
+
if (_push) _push(`${ssrInterpolate(unref(t)("settings.prefabs.unbind"))}`);
|
|
1282
|
+
else return [createTextVNode(toDisplayString(unref(t)("settings.prefabs.unbind")), 1)];
|
|
1283
|
+
}),
|
|
1284
|
+
_: 1
|
|
1285
|
+
}, _parent, _scopeId));
|
|
1286
|
+
_push(`</div>`);
|
|
1287
|
+
} else return [
|
|
1288
|
+
createVNode("div", { class: "pf-grid" }, [
|
|
1289
|
+
createVNode(_component_a_select, {
|
|
1290
|
+
value: unref(bindChannelId),
|
|
1291
|
+
"onUpdate:value": ($event) => isRef(bindChannelId) ? bindChannelId.value = $event : null,
|
|
1292
|
+
options: unref(channels).map((c) => ({
|
|
1293
|
+
value: c.id,
|
|
1294
|
+
label: c.name
|
|
1295
|
+
})),
|
|
1296
|
+
placeholder: unref(t)("settings.prefabs.channel"),
|
|
1297
|
+
onChange: loadMembers
|
|
1298
|
+
}, null, 8, [
|
|
1299
|
+
"value",
|
|
1300
|
+
"onUpdate:value",
|
|
1301
|
+
"options",
|
|
1302
|
+
"placeholder"
|
|
1303
|
+
]),
|
|
1304
|
+
createVNode(_component_a_select, {
|
|
1305
|
+
value: unref(bindMemberId),
|
|
1306
|
+
"onUpdate:value": ($event) => isRef(bindMemberId) ? bindMemberId.value = $event : null,
|
|
1307
|
+
options: unref(members).map((m) => ({
|
|
1308
|
+
value: m.id,
|
|
1309
|
+
label: `${m.name} (${m.role})`
|
|
1310
|
+
})),
|
|
1311
|
+
placeholder: unref(t)("settings.prefabs.member")
|
|
1312
|
+
}, null, 8, [
|
|
1313
|
+
"value",
|
|
1314
|
+
"onUpdate:value",
|
|
1315
|
+
"options",
|
|
1316
|
+
"placeholder"
|
|
1317
|
+
]),
|
|
1318
|
+
createVNode(_component_a_select, {
|
|
1319
|
+
value: unref(bindPrefabId),
|
|
1320
|
+
"onUpdate:value": ($event) => isRef(bindPrefabId) ? bindPrefabId.value = $event : null,
|
|
1321
|
+
options: unref(prefabs).map((p) => ({
|
|
1322
|
+
value: p.id,
|
|
1323
|
+
label: `${p.name} · v${p.headRevision}`
|
|
1324
|
+
})),
|
|
1325
|
+
placeholder: unref(t)("settings.prefabs.name"),
|
|
1326
|
+
onChange: onBindPrefabChange
|
|
1327
|
+
}, null, 8, [
|
|
1328
|
+
"value",
|
|
1329
|
+
"onUpdate:value",
|
|
1330
|
+
"options",
|
|
1331
|
+
"placeholder"
|
|
1332
|
+
]),
|
|
1333
|
+
createVNode(_component_a_input_number, {
|
|
1334
|
+
value: unref(bindRevision),
|
|
1335
|
+
"onUpdate:value": ($event) => isRef(bindRevision) ? bindRevision.value = $event : null,
|
|
1336
|
+
min: 1,
|
|
1337
|
+
placeholder: unref(t)("settings.prefabs.revision"),
|
|
1338
|
+
onChange: loadBindRevision
|
|
1339
|
+
}, null, 8, [
|
|
1340
|
+
"value",
|
|
1341
|
+
"onUpdate:value",
|
|
1342
|
+
"placeholder"
|
|
1343
|
+
])
|
|
1344
|
+
]),
|
|
1345
|
+
(openBlock(true), createBlock(Fragment, null, renderList(unref(bindDraft)?.prompt?.slots ?? [], (slot) => {
|
|
1346
|
+
return openBlock(), createBlock("div", {
|
|
1347
|
+
key: slot.key,
|
|
1348
|
+
class: "pf-bind-slot"
|
|
1349
|
+
}, [createVNode("span", null, [createTextVNode(toDisplayString(slot.label || slot.key), 1), slot.required ? (openBlock(), createBlock("em", { key: 0 }, " *")) : createCommentVNode("", true)]), createVNode(_component_a_input, {
|
|
1350
|
+
value: unref(bindSlots)[slot.key],
|
|
1351
|
+
"onUpdate:value": ($event) => unref(bindSlots)[slot.key] = $event,
|
|
1352
|
+
maxlength: slot.maxLength ?? 4e3,
|
|
1353
|
+
disabled: slot.allowMemberOverride === false
|
|
1354
|
+
}, null, 8, [
|
|
1355
|
+
"value",
|
|
1356
|
+
"onUpdate:value",
|
|
1357
|
+
"maxlength",
|
|
1358
|
+
"disabled"
|
|
1359
|
+
])]);
|
|
1360
|
+
}), 128)),
|
|
1361
|
+
createVNode("div", { class: "pf-actions" }, [createVNode(_component_a_button, {
|
|
1362
|
+
type: "primary",
|
|
1363
|
+
loading: unref(busy),
|
|
1364
|
+
onClick: bind
|
|
1365
|
+
}, {
|
|
1366
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("settings.prefabs.bind")), 1)]),
|
|
1367
|
+
_: 1
|
|
1368
|
+
}, 8, ["loading"]), createVNode(_component_a_button, {
|
|
1369
|
+
danger: "",
|
|
1370
|
+
loading: unref(busy),
|
|
1371
|
+
onClick: unbind
|
|
1372
|
+
}, {
|
|
1373
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("settings.prefabs.unbind")), 1)]),
|
|
1374
|
+
_: 1
|
|
1375
|
+
}, 8, ["loading"])])
|
|
1376
|
+
];
|
|
1377
|
+
}),
|
|
1378
|
+
_: 1
|
|
1379
|
+
}, _parent));
|
|
1380
|
+
else _push(`<!---->`);
|
|
1381
|
+
_push(`</div>`);
|
|
1382
|
+
};
|
|
1383
|
+
}
|
|
1384
|
+
});
|
|
1385
|
+
//#endregion
|
|
1386
|
+
//#region app/components/settings/AgentPrefabsPane.vue
|
|
1387
|
+
var _sfc_setup$8 = AgentPrefabsPane_vue_vue_type_script_setup_true_lang_default.setup;
|
|
1388
|
+
AgentPrefabsPane_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
1389
|
+
const ssrContext = useSSRContext();
|
|
1390
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/settings/AgentPrefabsPane.vue");
|
|
1391
|
+
return _sfc_setup$8 ? _sfc_setup$8(props, ctx) : void 0;
|
|
1392
|
+
};
|
|
1393
|
+
var AgentPrefabsPane_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(AgentPrefabsPane_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-94464a9d"]]), { __name: "SettingsAgentPrefabsPane" });
|
|
1394
|
+
//#endregion
|
|
1395
|
+
//#region app/components/settings/McpServersPane.vue?vue&type=script&setup=true&lang.ts
|
|
1396
|
+
var McpServersPane_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
1397
|
+
__name: "McpServersPane",
|
|
1398
|
+
__ssrInlineRender: true,
|
|
1399
|
+
props: { activeTab: {} },
|
|
1400
|
+
setup(__props) {
|
|
1401
|
+
/**
|
|
1402
|
+
* 系统设置 · 外部 MCP 管理。
|
|
1403
|
+
* - admin 登记 https Streamable HTTP server(凭据只填 AW_MCP_* 变量名)
|
|
1404
|
+
* - discover 后工具全部 pending;admin 只能批准 shared-safe + read
|
|
1405
|
+
* - 启用/停用、删除、重新发现全部走服务端审计
|
|
1406
|
+
* 本面板不发起 MCP 连接;连接由服务端 broker 在发现/调用时执行。
|
|
1407
|
+
*/
|
|
1408
|
+
const { t } = useI18n();
|
|
1409
|
+
const userStore = useUserStore();
|
|
1410
|
+
const servers = ref([]);
|
|
1411
|
+
const loading = ref(false);
|
|
1412
|
+
const busy = ref(null);
|
|
1413
|
+
const error = ref("");
|
|
1414
|
+
const canAdmin = computed(() => userStore.isAdmin);
|
|
1415
|
+
const creating = ref(false);
|
|
1416
|
+
const form = reactive({
|
|
1417
|
+
id: "",
|
|
1418
|
+
label: "",
|
|
1419
|
+
endpoint: "",
|
|
1420
|
+
credentialRef: "",
|
|
1421
|
+
dataSharing: "unknown"
|
|
1422
|
+
});
|
|
1423
|
+
async function load() {
|
|
1424
|
+
loading.value = true;
|
|
1425
|
+
error.value = "";
|
|
1426
|
+
try {
|
|
1427
|
+
const res = await apiFetch({ base: "/api/system/mcp-servers" });
|
|
1428
|
+
servers.value = res.servers ?? [];
|
|
1429
|
+
} catch (err) {
|
|
1430
|
+
error.value = err instanceof Error ? err.message : String(err);
|
|
1431
|
+
} finally {
|
|
1432
|
+
loading.value = false;
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
async function createServer() {
|
|
1436
|
+
if (!canAdmin.value) return;
|
|
1437
|
+
try {
|
|
1438
|
+
await apiFetch({
|
|
1439
|
+
base: "/api/system/mcp-servers",
|
|
1440
|
+
init: {
|
|
1441
|
+
method: "POST",
|
|
1442
|
+
body: JSON.stringify({
|
|
1443
|
+
id: form.id.trim(),
|
|
1444
|
+
label: form.label.trim(),
|
|
1445
|
+
endpoint: form.endpoint.trim(),
|
|
1446
|
+
credentialRef: form.credentialRef.trim() || void 0,
|
|
1447
|
+
dataSharing: form.dataSharing
|
|
1448
|
+
})
|
|
1449
|
+
}
|
|
1450
|
+
});
|
|
1451
|
+
api$1.success(t("settings.mcp.created"));
|
|
1452
|
+
creating.value = false;
|
|
1453
|
+
form.id = "";
|
|
1454
|
+
form.label = "";
|
|
1455
|
+
form.endpoint = "";
|
|
1456
|
+
form.credentialRef = "";
|
|
1457
|
+
form.dataSharing = "unknown";
|
|
1458
|
+
await load();
|
|
1459
|
+
} catch (err) {
|
|
1460
|
+
api$1.error(err instanceof Error ? err.message : String(err));
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
async function toggle(server, checked) {
|
|
1464
|
+
busy.value = server.id;
|
|
1465
|
+
try {
|
|
1466
|
+
await apiFetch({
|
|
1467
|
+
base: "/api/system/mcp-servers",
|
|
1468
|
+
path: `/${encodeURIComponent(server.id)}`,
|
|
1469
|
+
init: {
|
|
1470
|
+
method: "PATCH",
|
|
1471
|
+
body: JSON.stringify({ enabled: checked })
|
|
1472
|
+
}
|
|
1473
|
+
});
|
|
1474
|
+
await load();
|
|
1475
|
+
} catch (err) {
|
|
1476
|
+
api$1.error(err instanceof Error ? err.message : String(err));
|
|
1477
|
+
} finally {
|
|
1478
|
+
busy.value = null;
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
async function discover(server) {
|
|
1482
|
+
busy.value = server.id;
|
|
1483
|
+
try {
|
|
1484
|
+
await apiFetch({
|
|
1485
|
+
base: "/api/system/mcp-servers",
|
|
1486
|
+
path: `/${encodeURIComponent(server.id)}/discover`,
|
|
1487
|
+
init: { method: "POST" }
|
|
1488
|
+
});
|
|
1489
|
+
api$1.success(t("settings.mcp.discovered"));
|
|
1490
|
+
await load();
|
|
1491
|
+
} catch (err) {
|
|
1492
|
+
api$1.error(err instanceof Error ? err.message : String(err));
|
|
1493
|
+
} finally {
|
|
1494
|
+
busy.value = null;
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
async function review(serverId, tool, status) {
|
|
1498
|
+
busy.value = `${serverId}:${tool.id}`;
|
|
1499
|
+
try {
|
|
1500
|
+
await apiFetch({
|
|
1501
|
+
base: "/api/system/mcp-servers",
|
|
1502
|
+
path: `/${encodeURIComponent(serverId)}/review`,
|
|
1503
|
+
init: {
|
|
1504
|
+
method: "POST",
|
|
1505
|
+
body: JSON.stringify({
|
|
1506
|
+
toolId: tool.id,
|
|
1507
|
+
status,
|
|
1508
|
+
classification: status === "approved" ? "read" : void 0
|
|
1509
|
+
})
|
|
1510
|
+
}
|
|
1511
|
+
});
|
|
1512
|
+
api$1.success(status === "approved" ? t("settings.mcp.approved") : t("settings.mcp.rejected"));
|
|
1513
|
+
await load();
|
|
1514
|
+
} catch (err) {
|
|
1515
|
+
api$1.error(err instanceof Error ? err.message : String(err));
|
|
1516
|
+
} finally {
|
|
1517
|
+
busy.value = null;
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
function remove(server) {
|
|
1521
|
+
modal_default.confirm({
|
|
1522
|
+
title: t("settings.mcp.removeConfirm"),
|
|
1523
|
+
content: server.id,
|
|
1524
|
+
okText: t("common.delete"),
|
|
1525
|
+
okType: "danger",
|
|
1526
|
+
cancelText: t("common.cancel"),
|
|
1527
|
+
onOk: async () => {
|
|
1528
|
+
busy.value = server.id;
|
|
1529
|
+
try {
|
|
1530
|
+
await apiFetch({
|
|
1531
|
+
base: "/api/system/mcp-servers",
|
|
1532
|
+
path: `/${encodeURIComponent(server.id)}`,
|
|
1533
|
+
init: { method: "DELETE" }
|
|
1534
|
+
});
|
|
1535
|
+
api$1.success(t("settings.mcp.removed"));
|
|
1536
|
+
await load();
|
|
1537
|
+
} catch (err) {
|
|
1538
|
+
api$1.error(err instanceof Error ? err.message : String(err));
|
|
1539
|
+
} finally {
|
|
1540
|
+
busy.value = null;
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
});
|
|
1544
|
+
}
|
|
1545
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
1546
|
+
const _component_a_alert = alert_default;
|
|
1547
|
+
const _component_a_button = button_default;
|
|
1548
|
+
const _component_a_card = card_default;
|
|
1549
|
+
const _component_a_input = input_default;
|
|
1550
|
+
const _component_a_select = Select;
|
|
1551
|
+
const _component_a_table = table_default;
|
|
1552
|
+
const _component_a_table_column = Column_default;
|
|
1553
|
+
const _component_a_tag = Tag;
|
|
1554
|
+
const _component_a_switch = switch_default;
|
|
1555
|
+
_push(`<div${ssrRenderAttrs(mergeProps(_attrs, { style: __props.activeTab === "mcp" ? null : { display: "none" } }))} data-v-e471fb5b><h3 class="section-title" data-v-e471fb5b>${ssrInterpolate(unref(t)("settings.mcpTab"))}</h3><p class="section-desc" data-v-e471fb5b>${ssrInterpolate(unref(t)("settings.mcp.desc"))}</p>`);
|
|
1556
|
+
if (unref(error)) _push(ssrRenderComponent(_component_a_alert, {
|
|
1557
|
+
type: "error",
|
|
1558
|
+
"show-icon": "",
|
|
1559
|
+
message: unref(error),
|
|
1560
|
+
class: "mc-notice"
|
|
1561
|
+
}, null, _parent));
|
|
1562
|
+
else _push(`<!---->`);
|
|
1563
|
+
if (!unref(canAdmin)) _push(ssrRenderComponent(_component_a_alert, {
|
|
1564
|
+
type: "info",
|
|
1565
|
+
"show-icon": "",
|
|
1566
|
+
message: unref(t)("settings.mcp.adminOnly"),
|
|
1567
|
+
class: "mc-notice"
|
|
1568
|
+
}, null, _parent));
|
|
1569
|
+
else _push(`<!---->`);
|
|
1570
|
+
_push(`<div class="mc-toolbar" data-v-e471fb5b>`);
|
|
1571
|
+
_push(ssrRenderComponent(_component_a_button, {
|
|
1572
|
+
loading: unref(loading),
|
|
1573
|
+
onClick: load
|
|
1574
|
+
}, {
|
|
1575
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1576
|
+
if (_push) _push(`<span class="i-tabler-refresh" data-v-e471fb5b${_scopeId}></span> ${ssrInterpolate(unref(t)("settings.mcp.refresh"))}`);
|
|
1577
|
+
else return [createVNode("span", { class: "i-tabler-refresh" }), createTextVNode(" " + toDisplayString(unref(t)("settings.mcp.refresh")), 1)];
|
|
1578
|
+
}),
|
|
1579
|
+
_: 1
|
|
1580
|
+
}, _parent));
|
|
1581
|
+
if (unref(canAdmin)) _push(ssrRenderComponent(_component_a_button, {
|
|
1582
|
+
type: "primary",
|
|
1583
|
+
onClick: ($event) => creating.value = !unref(creating)
|
|
1584
|
+
}, {
|
|
1585
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1586
|
+
if (_push) _push(`<span class="i-tabler-plus" data-v-e471fb5b${_scopeId}></span> ${ssrInterpolate(unref(t)("settings.mcp.add"))}`);
|
|
1587
|
+
else return [createVNode("span", { class: "i-tabler-plus" }), createTextVNode(" " + toDisplayString(unref(t)("settings.mcp.add")), 1)];
|
|
1588
|
+
}),
|
|
1589
|
+
_: 1
|
|
1590
|
+
}, _parent));
|
|
1591
|
+
else _push(`<!---->`);
|
|
1592
|
+
_push(`</div>`);
|
|
1593
|
+
if (unref(creating) && unref(canAdmin)) _push(ssrRenderComponent(_component_a_card, {
|
|
1594
|
+
size: "small",
|
|
1595
|
+
class: "mc-form"
|
|
1596
|
+
}, {
|
|
1597
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1598
|
+
if (_push) {
|
|
1599
|
+
_push(`<div class="mc-grid" data-v-e471fb5b${_scopeId}>`);
|
|
1600
|
+
_push(ssrRenderComponent(_component_a_input, {
|
|
1601
|
+
value: unref(form).id,
|
|
1602
|
+
"onUpdate:value": ($event) => unref(form).id = $event,
|
|
1603
|
+
placeholder: unref(t)("settings.mcp.idPlaceholder")
|
|
1604
|
+
}, null, _parent, _scopeId));
|
|
1605
|
+
_push(ssrRenderComponent(_component_a_input, {
|
|
1606
|
+
value: unref(form).label,
|
|
1607
|
+
"onUpdate:value": ($event) => unref(form).label = $event,
|
|
1608
|
+
placeholder: unref(t)("settings.mcp.labelPlaceholder")
|
|
1609
|
+
}, null, _parent, _scopeId));
|
|
1610
|
+
_push(ssrRenderComponent(_component_a_input, {
|
|
1611
|
+
value: unref(form).endpoint,
|
|
1612
|
+
"onUpdate:value": ($event) => unref(form).endpoint = $event,
|
|
1613
|
+
placeholder: unref(t)("settings.mcp.endpointPlaceholder")
|
|
1614
|
+
}, null, _parent, _scopeId));
|
|
1615
|
+
_push(ssrRenderComponent(_component_a_input, {
|
|
1616
|
+
value: unref(form).credentialRef,
|
|
1617
|
+
"onUpdate:value": ($event) => unref(form).credentialRef = $event,
|
|
1618
|
+
placeholder: unref(t)("settings.mcp.credentialPlaceholder")
|
|
1619
|
+
}, null, _parent, _scopeId));
|
|
1620
|
+
_push(ssrRenderComponent(_component_a_select, {
|
|
1621
|
+
value: unref(form).dataSharing,
|
|
1622
|
+
"onUpdate:value": ($event) => unref(form).dataSharing = $event,
|
|
1623
|
+
options: [
|
|
1624
|
+
{
|
|
1625
|
+
value: "shared-safe",
|
|
1626
|
+
label: "shared-safe"
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
value: "project-private",
|
|
1630
|
+
label: "project-private"
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
value: "unknown",
|
|
1634
|
+
label: "unknown"
|
|
1635
|
+
}
|
|
1636
|
+
]
|
|
1637
|
+
}, null, _parent, _scopeId));
|
|
1638
|
+
_push(ssrRenderComponent(_component_a_button, {
|
|
1639
|
+
type: "primary",
|
|
1640
|
+
onClick: createServer
|
|
1641
|
+
}, {
|
|
1642
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1643
|
+
if (_push) _push(`${ssrInterpolate(unref(t)("common.create"))}`);
|
|
1644
|
+
else return [createTextVNode(toDisplayString(unref(t)("common.create")), 1)];
|
|
1645
|
+
}),
|
|
1646
|
+
_: 1
|
|
1647
|
+
}, _parent, _scopeId));
|
|
1648
|
+
_push(`</div>`);
|
|
1649
|
+
} else return [createVNode("div", { class: "mc-grid" }, [
|
|
1650
|
+
createVNode(_component_a_input, {
|
|
1651
|
+
value: unref(form).id,
|
|
1652
|
+
"onUpdate:value": ($event) => unref(form).id = $event,
|
|
1653
|
+
placeholder: unref(t)("settings.mcp.idPlaceholder")
|
|
1654
|
+
}, null, 8, [
|
|
1655
|
+
"value",
|
|
1656
|
+
"onUpdate:value",
|
|
1657
|
+
"placeholder"
|
|
1658
|
+
]),
|
|
1659
|
+
createVNode(_component_a_input, {
|
|
1660
|
+
value: unref(form).label,
|
|
1661
|
+
"onUpdate:value": ($event) => unref(form).label = $event,
|
|
1662
|
+
placeholder: unref(t)("settings.mcp.labelPlaceholder")
|
|
1663
|
+
}, null, 8, [
|
|
1664
|
+
"value",
|
|
1665
|
+
"onUpdate:value",
|
|
1666
|
+
"placeholder"
|
|
1667
|
+
]),
|
|
1668
|
+
createVNode(_component_a_input, {
|
|
1669
|
+
value: unref(form).endpoint,
|
|
1670
|
+
"onUpdate:value": ($event) => unref(form).endpoint = $event,
|
|
1671
|
+
placeholder: unref(t)("settings.mcp.endpointPlaceholder")
|
|
1672
|
+
}, null, 8, [
|
|
1673
|
+
"value",
|
|
1674
|
+
"onUpdate:value",
|
|
1675
|
+
"placeholder"
|
|
1676
|
+
]),
|
|
1677
|
+
createVNode(_component_a_input, {
|
|
1678
|
+
value: unref(form).credentialRef,
|
|
1679
|
+
"onUpdate:value": ($event) => unref(form).credentialRef = $event,
|
|
1680
|
+
placeholder: unref(t)("settings.mcp.credentialPlaceholder")
|
|
1681
|
+
}, null, 8, [
|
|
1682
|
+
"value",
|
|
1683
|
+
"onUpdate:value",
|
|
1684
|
+
"placeholder"
|
|
1685
|
+
]),
|
|
1686
|
+
createVNode(_component_a_select, {
|
|
1687
|
+
value: unref(form).dataSharing,
|
|
1688
|
+
"onUpdate:value": ($event) => unref(form).dataSharing = $event,
|
|
1689
|
+
options: [
|
|
1690
|
+
{
|
|
1691
|
+
value: "shared-safe",
|
|
1692
|
+
label: "shared-safe"
|
|
1693
|
+
},
|
|
1694
|
+
{
|
|
1695
|
+
value: "project-private",
|
|
1696
|
+
label: "project-private"
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
value: "unknown",
|
|
1700
|
+
label: "unknown"
|
|
1701
|
+
}
|
|
1702
|
+
]
|
|
1703
|
+
}, null, 8, ["value", "onUpdate:value"]),
|
|
1704
|
+
createVNode(_component_a_button, {
|
|
1705
|
+
type: "primary",
|
|
1706
|
+
onClick: createServer
|
|
1707
|
+
}, {
|
|
1708
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("common.create")), 1)]),
|
|
1709
|
+
_: 1
|
|
1710
|
+
})
|
|
1711
|
+
])];
|
|
1712
|
+
}),
|
|
1713
|
+
_: 1
|
|
1714
|
+
}, _parent));
|
|
1715
|
+
else _push(`<!---->`);
|
|
1716
|
+
_push(ssrRenderComponent(_component_a_table, {
|
|
1717
|
+
"data-source": unref(servers),
|
|
1718
|
+
pagination: false,
|
|
1719
|
+
"row-key": "id",
|
|
1720
|
+
size: "small",
|
|
1721
|
+
locale: { emptyText: unref(t)("settings.mcp.empty") }
|
|
1722
|
+
}, {
|
|
1723
|
+
expandedRowRender: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
1724
|
+
if (_push) {
|
|
1725
|
+
_push(`<div class="mc-detail" data-v-e471fb5b${_scopeId}><div class="mc-meta" data-v-e471fb5b${_scopeId}><span class="aw-mono" data-v-e471fb5b${_scopeId}>${ssrInterpolate(record.endpoint)}</span><span data-v-e471fb5b${_scopeId}>${ssrInterpolate(unref(t)("settings.mcp.credential"))}: ${ssrInterpolate(record.credentialRef || "-")}</span><span data-v-e471fb5b${_scopeId}>gen ${ssrInterpolate(record.credentialGeneration)}</span>`);
|
|
1726
|
+
if (record.lastProtocolEra) _push(`<span data-v-e471fb5b${_scopeId}>${ssrInterpolate(record.lastProtocolEra)}</span>`);
|
|
1727
|
+
else _push(`<!---->`);
|
|
1728
|
+
if (record.lastDiscoveredAt) _push(`<span data-v-e471fb5b${_scopeId}>${ssrInterpolate(record.lastDiscoveredAt)}</span>`);
|
|
1729
|
+
else _push(`<!---->`);
|
|
1730
|
+
if (record.lastError) _push(ssrRenderComponent(_component_a_tag, { color: "red" }, {
|
|
1731
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1732
|
+
if (_push) _push(`${ssrInterpolate(record.lastError)}`);
|
|
1733
|
+
else return [createTextVNode(toDisplayString(record.lastError), 1)];
|
|
1734
|
+
}),
|
|
1735
|
+
_: 2
|
|
1736
|
+
}, _parent, _scopeId));
|
|
1737
|
+
else _push(`<!---->`);
|
|
1738
|
+
_push(`</div>`);
|
|
1739
|
+
_push(ssrRenderComponent(_component_a_table, {
|
|
1740
|
+
"data-source": record.tools,
|
|
1741
|
+
pagination: false,
|
|
1742
|
+
"row-key": "id",
|
|
1743
|
+
size: "small"
|
|
1744
|
+
}, {
|
|
1745
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1746
|
+
if (_push) {
|
|
1747
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
1748
|
+
title: unref(t)("settings.mcp.tool"),
|
|
1749
|
+
"data-index": "exposedName"
|
|
1750
|
+
}, null, _parent, _scopeId));
|
|
1751
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
1752
|
+
title: unref(t)("settings.mcp.classification"),
|
|
1753
|
+
width: "100px"
|
|
1754
|
+
}, {
|
|
1755
|
+
default: withCtx(({ record: tool }, _push, _parent, _scopeId) => {
|
|
1756
|
+
if (_push) _push(ssrRenderComponent(_component_a_tag, { color: tool.classification === "read" ? "green" : "red" }, {
|
|
1757
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1758
|
+
if (_push) _push(`${ssrInterpolate(tool.classification)}`);
|
|
1759
|
+
else return [createTextVNode(toDisplayString(tool.classification), 1)];
|
|
1760
|
+
}),
|
|
1761
|
+
_: 2
|
|
1762
|
+
}, _parent, _scopeId));
|
|
1763
|
+
else return [createVNode(_component_a_tag, { color: tool.classification === "read" ? "green" : "red" }, {
|
|
1764
|
+
default: withCtx(() => [createTextVNode(toDisplayString(tool.classification), 1)]),
|
|
1765
|
+
_: 2
|
|
1766
|
+
}, 1032, ["color"])];
|
|
1767
|
+
}),
|
|
1768
|
+
_: 2
|
|
1769
|
+
}, _parent, _scopeId));
|
|
1770
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
1771
|
+
title: unref(t)("settings.mcp.review"),
|
|
1772
|
+
width: "110px"
|
|
1773
|
+
}, {
|
|
1774
|
+
default: withCtx(({ record: tool }, _push, _parent, _scopeId) => {
|
|
1775
|
+
if (_push) _push(ssrRenderComponent(_component_a_tag, { color: tool.reviewStatus === "approved" ? "green" : tool.reviewStatus === "rejected" ? "red" : "orange" }, {
|
|
1776
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1777
|
+
if (_push) _push(`${ssrInterpolate(tool.reviewStatus)}`);
|
|
1778
|
+
else return [createTextVNode(toDisplayString(tool.reviewStatus), 1)];
|
|
1779
|
+
}),
|
|
1780
|
+
_: 2
|
|
1781
|
+
}, _parent, _scopeId));
|
|
1782
|
+
else return [createVNode(_component_a_tag, { color: tool.reviewStatus === "approved" ? "green" : tool.reviewStatus === "rejected" ? "red" : "orange" }, {
|
|
1783
|
+
default: withCtx(() => [createTextVNode(toDisplayString(tool.reviewStatus), 1)]),
|
|
1784
|
+
_: 2
|
|
1785
|
+
}, 1032, ["color"])];
|
|
1786
|
+
}),
|
|
1787
|
+
_: 2
|
|
1788
|
+
}, _parent, _scopeId));
|
|
1789
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
1790
|
+
title: unref(t)("settings.mcp.actions"),
|
|
1791
|
+
width: "170px"
|
|
1792
|
+
}, {
|
|
1793
|
+
default: withCtx(({ record: tool }, _push, _parent, _scopeId) => {
|
|
1794
|
+
if (_push) {
|
|
1795
|
+
_push(ssrRenderComponent(_component_a_button, {
|
|
1796
|
+
type: "link",
|
|
1797
|
+
size: "small",
|
|
1798
|
+
disabled: !unref(canAdmin) || unref(busy) === `${tool.serverId}:${tool.id}`,
|
|
1799
|
+
onClick: ($event) => review(tool.serverId, tool, "approved")
|
|
1800
|
+
}, {
|
|
1801
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1802
|
+
if (_push) _push(`${ssrInterpolate(unref(t)("settings.mcp.approve"))}`);
|
|
1803
|
+
else return [createTextVNode(toDisplayString(unref(t)("settings.mcp.approve")), 1)];
|
|
1804
|
+
}),
|
|
1805
|
+
_: 2
|
|
1806
|
+
}, _parent, _scopeId));
|
|
1807
|
+
_push(ssrRenderComponent(_component_a_button, {
|
|
1808
|
+
danger: "",
|
|
1809
|
+
type: "link",
|
|
1810
|
+
size: "small",
|
|
1811
|
+
disabled: !unref(canAdmin) || unref(busy) === `${tool.serverId}:${tool.id}`,
|
|
1812
|
+
onClick: ($event) => review(tool.serverId, tool, "rejected")
|
|
1813
|
+
}, {
|
|
1814
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1815
|
+
if (_push) _push(`${ssrInterpolate(unref(t)("settings.mcp.reject"))}`);
|
|
1816
|
+
else return [createTextVNode(toDisplayString(unref(t)("settings.mcp.reject")), 1)];
|
|
1817
|
+
}),
|
|
1818
|
+
_: 2
|
|
1819
|
+
}, _parent, _scopeId));
|
|
1820
|
+
} else return [createVNode(_component_a_button, {
|
|
1821
|
+
type: "link",
|
|
1822
|
+
size: "small",
|
|
1823
|
+
disabled: !unref(canAdmin) || unref(busy) === `${tool.serverId}:${tool.id}`,
|
|
1824
|
+
onClick: ($event) => review(tool.serverId, tool, "approved")
|
|
1825
|
+
}, {
|
|
1826
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("settings.mcp.approve")), 1)]),
|
|
1827
|
+
_: 1
|
|
1828
|
+
}, 8, ["disabled", "onClick"]), createVNode(_component_a_button, {
|
|
1829
|
+
danger: "",
|
|
1830
|
+
type: "link",
|
|
1831
|
+
size: "small",
|
|
1832
|
+
disabled: !unref(canAdmin) || unref(busy) === `${tool.serverId}:${tool.id}`,
|
|
1833
|
+
onClick: ($event) => review(tool.serverId, tool, "rejected")
|
|
1834
|
+
}, {
|
|
1835
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("settings.mcp.reject")), 1)]),
|
|
1836
|
+
_: 1
|
|
1837
|
+
}, 8, ["disabled", "onClick"])];
|
|
1838
|
+
}),
|
|
1839
|
+
_: 2
|
|
1840
|
+
}, _parent, _scopeId));
|
|
1841
|
+
} else return [
|
|
1842
|
+
createVNode(_component_a_table_column, {
|
|
1843
|
+
title: unref(t)("settings.mcp.tool"),
|
|
1844
|
+
"data-index": "exposedName"
|
|
1845
|
+
}, null, 8, ["title"]),
|
|
1846
|
+
createVNode(_component_a_table_column, {
|
|
1847
|
+
title: unref(t)("settings.mcp.classification"),
|
|
1848
|
+
width: "100px"
|
|
1849
|
+
}, {
|
|
1850
|
+
default: withCtx(({ record: tool }) => [createVNode(_component_a_tag, { color: tool.classification === "read" ? "green" : "red" }, {
|
|
1851
|
+
default: withCtx(() => [createTextVNode(toDisplayString(tool.classification), 1)]),
|
|
1852
|
+
_: 2
|
|
1853
|
+
}, 1032, ["color"])]),
|
|
1854
|
+
_: 1
|
|
1855
|
+
}, 8, ["title"]),
|
|
1856
|
+
createVNode(_component_a_table_column, {
|
|
1857
|
+
title: unref(t)("settings.mcp.review"),
|
|
1858
|
+
width: "110px"
|
|
1859
|
+
}, {
|
|
1860
|
+
default: withCtx(({ record: tool }) => [createVNode(_component_a_tag, { color: tool.reviewStatus === "approved" ? "green" : tool.reviewStatus === "rejected" ? "red" : "orange" }, {
|
|
1861
|
+
default: withCtx(() => [createTextVNode(toDisplayString(tool.reviewStatus), 1)]),
|
|
1862
|
+
_: 2
|
|
1863
|
+
}, 1032, ["color"])]),
|
|
1864
|
+
_: 1
|
|
1865
|
+
}, 8, ["title"]),
|
|
1866
|
+
createVNode(_component_a_table_column, {
|
|
1867
|
+
title: unref(t)("settings.mcp.actions"),
|
|
1868
|
+
width: "170px"
|
|
1869
|
+
}, {
|
|
1870
|
+
default: withCtx(({ record: tool }) => [createVNode(_component_a_button, {
|
|
1871
|
+
type: "link",
|
|
1872
|
+
size: "small",
|
|
1873
|
+
disabled: !unref(canAdmin) || unref(busy) === `${tool.serverId}:${tool.id}`,
|
|
1874
|
+
onClick: ($event) => review(tool.serverId, tool, "approved")
|
|
1875
|
+
}, {
|
|
1876
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("settings.mcp.approve")), 1)]),
|
|
1877
|
+
_: 1
|
|
1878
|
+
}, 8, ["disabled", "onClick"]), createVNode(_component_a_button, {
|
|
1879
|
+
danger: "",
|
|
1880
|
+
type: "link",
|
|
1881
|
+
size: "small",
|
|
1882
|
+
disabled: !unref(canAdmin) || unref(busy) === `${tool.serverId}:${tool.id}`,
|
|
1883
|
+
onClick: ($event) => review(tool.serverId, tool, "rejected")
|
|
1884
|
+
}, {
|
|
1885
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("settings.mcp.reject")), 1)]),
|
|
1886
|
+
_: 1
|
|
1887
|
+
}, 8, ["disabled", "onClick"])]),
|
|
1888
|
+
_: 1
|
|
1889
|
+
}, 8, ["title"])
|
|
1890
|
+
];
|
|
1891
|
+
}),
|
|
1892
|
+
_: 2
|
|
1893
|
+
}, _parent, _scopeId));
|
|
1894
|
+
_push(`</div>`);
|
|
1895
|
+
} else return [createVNode("div", { class: "mc-detail" }, [createVNode("div", { class: "mc-meta" }, [
|
|
1896
|
+
createVNode("span", { class: "aw-mono" }, toDisplayString(record.endpoint), 1),
|
|
1897
|
+
createVNode("span", null, toDisplayString(unref(t)("settings.mcp.credential")) + ": " + toDisplayString(record.credentialRef || "-"), 1),
|
|
1898
|
+
createVNode("span", null, "gen " + toDisplayString(record.credentialGeneration), 1),
|
|
1899
|
+
record.lastProtocolEra ? (openBlock(), createBlock("span", { key: 0 }, toDisplayString(record.lastProtocolEra), 1)) : createCommentVNode("", true),
|
|
1900
|
+
record.lastDiscoveredAt ? (openBlock(), createBlock("span", { key: 1 }, toDisplayString(record.lastDiscoveredAt), 1)) : createCommentVNode("", true),
|
|
1901
|
+
record.lastError ? (openBlock(), createBlock(_component_a_tag, {
|
|
1902
|
+
key: 2,
|
|
1903
|
+
color: "red"
|
|
1904
|
+
}, {
|
|
1905
|
+
default: withCtx(() => [createTextVNode(toDisplayString(record.lastError), 1)]),
|
|
1906
|
+
_: 2
|
|
1907
|
+
}, 1024)) : createCommentVNode("", true)
|
|
1908
|
+
]), createVNode(_component_a_table, {
|
|
1909
|
+
"data-source": record.tools,
|
|
1910
|
+
pagination: false,
|
|
1911
|
+
"row-key": "id",
|
|
1912
|
+
size: "small"
|
|
1913
|
+
}, {
|
|
1914
|
+
default: withCtx(() => [
|
|
1915
|
+
createVNode(_component_a_table_column, {
|
|
1916
|
+
title: unref(t)("settings.mcp.tool"),
|
|
1917
|
+
"data-index": "exposedName"
|
|
1918
|
+
}, null, 8, ["title"]),
|
|
1919
|
+
createVNode(_component_a_table_column, {
|
|
1920
|
+
title: unref(t)("settings.mcp.classification"),
|
|
1921
|
+
width: "100px"
|
|
1922
|
+
}, {
|
|
1923
|
+
default: withCtx(({ record: tool }) => [createVNode(_component_a_tag, { color: tool.classification === "read" ? "green" : "red" }, {
|
|
1924
|
+
default: withCtx(() => [createTextVNode(toDisplayString(tool.classification), 1)]),
|
|
1925
|
+
_: 2
|
|
1926
|
+
}, 1032, ["color"])]),
|
|
1927
|
+
_: 1
|
|
1928
|
+
}, 8, ["title"]),
|
|
1929
|
+
createVNode(_component_a_table_column, {
|
|
1930
|
+
title: unref(t)("settings.mcp.review"),
|
|
1931
|
+
width: "110px"
|
|
1932
|
+
}, {
|
|
1933
|
+
default: withCtx(({ record: tool }) => [createVNode(_component_a_tag, { color: tool.reviewStatus === "approved" ? "green" : tool.reviewStatus === "rejected" ? "red" : "orange" }, {
|
|
1934
|
+
default: withCtx(() => [createTextVNode(toDisplayString(tool.reviewStatus), 1)]),
|
|
1935
|
+
_: 2
|
|
1936
|
+
}, 1032, ["color"])]),
|
|
1937
|
+
_: 1
|
|
1938
|
+
}, 8, ["title"]),
|
|
1939
|
+
createVNode(_component_a_table_column, {
|
|
1940
|
+
title: unref(t)("settings.mcp.actions"),
|
|
1941
|
+
width: "170px"
|
|
1942
|
+
}, {
|
|
1943
|
+
default: withCtx(({ record: tool }) => [createVNode(_component_a_button, {
|
|
1944
|
+
type: "link",
|
|
1945
|
+
size: "small",
|
|
1946
|
+
disabled: !unref(canAdmin) || unref(busy) === `${tool.serverId}:${tool.id}`,
|
|
1947
|
+
onClick: ($event) => review(tool.serverId, tool, "approved")
|
|
1948
|
+
}, {
|
|
1949
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("settings.mcp.approve")), 1)]),
|
|
1950
|
+
_: 1
|
|
1951
|
+
}, 8, ["disabled", "onClick"]), createVNode(_component_a_button, {
|
|
1952
|
+
danger: "",
|
|
1953
|
+
type: "link",
|
|
1954
|
+
size: "small",
|
|
1955
|
+
disabled: !unref(canAdmin) || unref(busy) === `${tool.serverId}:${tool.id}`,
|
|
1956
|
+
onClick: ($event) => review(tool.serverId, tool, "rejected")
|
|
1957
|
+
}, {
|
|
1958
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("settings.mcp.reject")), 1)]),
|
|
1959
|
+
_: 1
|
|
1960
|
+
}, 8, ["disabled", "onClick"])]),
|
|
1961
|
+
_: 1
|
|
1962
|
+
}, 8, ["title"])
|
|
1963
|
+
]),
|
|
1964
|
+
_: 1
|
|
1965
|
+
}, 8, ["data-source"])])];
|
|
1966
|
+
}),
|
|
1967
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1968
|
+
if (_push) {
|
|
1969
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
1970
|
+
title: unref(t)("settings.mcp.label"),
|
|
1971
|
+
"data-index": "label"
|
|
1972
|
+
}, null, _parent, _scopeId));
|
|
1973
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
1974
|
+
title: unref(t)("settings.mcp.endpoint"),
|
|
1975
|
+
"data-index": "endpoint"
|
|
1976
|
+
}, null, _parent, _scopeId));
|
|
1977
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
1978
|
+
title: unref(t)("settings.mcp.dataSharing"),
|
|
1979
|
+
width: "120px"
|
|
1980
|
+
}, {
|
|
1981
|
+
default: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
1982
|
+
if (_push) _push(ssrRenderComponent(_component_a_tag, { color: record.dataSharing === "shared-safe" ? "green" : "orange" }, {
|
|
1983
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1984
|
+
if (_push) _push(`${ssrInterpolate(record.dataSharing)}`);
|
|
1985
|
+
else return [createTextVNode(toDisplayString(record.dataSharing), 1)];
|
|
1986
|
+
}),
|
|
1987
|
+
_: 2
|
|
1988
|
+
}, _parent, _scopeId));
|
|
1989
|
+
else return [createVNode(_component_a_tag, { color: record.dataSharing === "shared-safe" ? "green" : "orange" }, {
|
|
1990
|
+
default: withCtx(() => [createTextVNode(toDisplayString(record.dataSharing), 1)]),
|
|
1991
|
+
_: 2
|
|
1992
|
+
}, 1032, ["color"])];
|
|
1993
|
+
}),
|
|
1994
|
+
_: 1
|
|
1995
|
+
}, _parent, _scopeId));
|
|
1996
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
1997
|
+
title: unref(t)("settings.mcp.enabled"),
|
|
1998
|
+
width: "100px"
|
|
1999
|
+
}, {
|
|
2000
|
+
default: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
2001
|
+
if (_push) _push(ssrRenderComponent(_component_a_switch, {
|
|
2002
|
+
checked: record.enabled,
|
|
2003
|
+
disabled: !unref(canAdmin) || unref(busy) === record.id,
|
|
2004
|
+
size: "small",
|
|
2005
|
+
onChange: (v) => toggle(record, v === true)
|
|
2006
|
+
}, null, _parent, _scopeId));
|
|
2007
|
+
else return [createVNode(_component_a_switch, {
|
|
2008
|
+
checked: record.enabled,
|
|
2009
|
+
disabled: !unref(canAdmin) || unref(busy) === record.id,
|
|
2010
|
+
size: "small",
|
|
2011
|
+
onChange: (v) => toggle(record, v === true)
|
|
2012
|
+
}, null, 8, [
|
|
2013
|
+
"checked",
|
|
2014
|
+
"disabled",
|
|
2015
|
+
"onChange"
|
|
2016
|
+
])];
|
|
2017
|
+
}),
|
|
2018
|
+
_: 1
|
|
2019
|
+
}, _parent, _scopeId));
|
|
2020
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
2021
|
+
title: unref(t)("settings.mcp.actions"),
|
|
2022
|
+
width: "220px"
|
|
2023
|
+
}, {
|
|
2024
|
+
default: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
2025
|
+
if (_push) {
|
|
2026
|
+
_push(ssrRenderComponent(_component_a_button, {
|
|
2027
|
+
type: "link",
|
|
2028
|
+
size: "small",
|
|
2029
|
+
loading: unref(busy) === record.id,
|
|
2030
|
+
disabled: !unref(canAdmin),
|
|
2031
|
+
onClick: ($event) => discover(record)
|
|
2032
|
+
}, {
|
|
2033
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
2034
|
+
if (_push) _push(`${ssrInterpolate(unref(t)("settings.mcp.discover"))}`);
|
|
2035
|
+
else return [createTextVNode(toDisplayString(unref(t)("settings.mcp.discover")), 1)];
|
|
2036
|
+
}),
|
|
2037
|
+
_: 2
|
|
2038
|
+
}, _parent, _scopeId));
|
|
2039
|
+
_push(ssrRenderComponent(_component_a_button, {
|
|
2040
|
+
danger: "",
|
|
2041
|
+
type: "link",
|
|
2042
|
+
size: "small",
|
|
2043
|
+
disabled: !unref(canAdmin),
|
|
2044
|
+
onClick: ($event) => remove(record)
|
|
2045
|
+
}, {
|
|
2046
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
2047
|
+
if (_push) _push(`${ssrInterpolate(unref(t)("common.delete"))}`);
|
|
2048
|
+
else return [createTextVNode(toDisplayString(unref(t)("common.delete")), 1)];
|
|
2049
|
+
}),
|
|
2050
|
+
_: 2
|
|
2051
|
+
}, _parent, _scopeId));
|
|
2052
|
+
} else return [createVNode(_component_a_button, {
|
|
2053
|
+
type: "link",
|
|
2054
|
+
size: "small",
|
|
2055
|
+
loading: unref(busy) === record.id,
|
|
2056
|
+
disabled: !unref(canAdmin),
|
|
2057
|
+
onClick: ($event) => discover(record)
|
|
2058
|
+
}, {
|
|
2059
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("settings.mcp.discover")), 1)]),
|
|
2060
|
+
_: 1
|
|
2061
|
+
}, 8, [
|
|
2062
|
+
"loading",
|
|
2063
|
+
"disabled",
|
|
2064
|
+
"onClick"
|
|
2065
|
+
]), createVNode(_component_a_button, {
|
|
2066
|
+
danger: "",
|
|
2067
|
+
type: "link",
|
|
2068
|
+
size: "small",
|
|
2069
|
+
disabled: !unref(canAdmin),
|
|
2070
|
+
onClick: ($event) => remove(record)
|
|
2071
|
+
}, {
|
|
2072
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("common.delete")), 1)]),
|
|
2073
|
+
_: 1
|
|
2074
|
+
}, 8, ["disabled", "onClick"])];
|
|
2075
|
+
}),
|
|
2076
|
+
_: 1
|
|
2077
|
+
}, _parent, _scopeId));
|
|
2078
|
+
} else return [
|
|
2079
|
+
createVNode(_component_a_table_column, {
|
|
2080
|
+
title: unref(t)("settings.mcp.label"),
|
|
2081
|
+
"data-index": "label"
|
|
2082
|
+
}, null, 8, ["title"]),
|
|
2083
|
+
createVNode(_component_a_table_column, {
|
|
2084
|
+
title: unref(t)("settings.mcp.endpoint"),
|
|
2085
|
+
"data-index": "endpoint"
|
|
2086
|
+
}, null, 8, ["title"]),
|
|
2087
|
+
createVNode(_component_a_table_column, {
|
|
2088
|
+
title: unref(t)("settings.mcp.dataSharing"),
|
|
2089
|
+
width: "120px"
|
|
2090
|
+
}, {
|
|
2091
|
+
default: withCtx(({ record }) => [createVNode(_component_a_tag, { color: record.dataSharing === "shared-safe" ? "green" : "orange" }, {
|
|
2092
|
+
default: withCtx(() => [createTextVNode(toDisplayString(record.dataSharing), 1)]),
|
|
2093
|
+
_: 2
|
|
2094
|
+
}, 1032, ["color"])]),
|
|
2095
|
+
_: 1
|
|
2096
|
+
}, 8, ["title"]),
|
|
2097
|
+
createVNode(_component_a_table_column, {
|
|
2098
|
+
title: unref(t)("settings.mcp.enabled"),
|
|
2099
|
+
width: "100px"
|
|
2100
|
+
}, {
|
|
2101
|
+
default: withCtx(({ record }) => [createVNode(_component_a_switch, {
|
|
2102
|
+
checked: record.enabled,
|
|
2103
|
+
disabled: !unref(canAdmin) || unref(busy) === record.id,
|
|
2104
|
+
size: "small",
|
|
2105
|
+
onChange: (v) => toggle(record, v === true)
|
|
2106
|
+
}, null, 8, [
|
|
2107
|
+
"checked",
|
|
2108
|
+
"disabled",
|
|
2109
|
+
"onChange"
|
|
2110
|
+
])]),
|
|
2111
|
+
_: 1
|
|
2112
|
+
}, 8, ["title"]),
|
|
2113
|
+
createVNode(_component_a_table_column, {
|
|
2114
|
+
title: unref(t)("settings.mcp.actions"),
|
|
2115
|
+
width: "220px"
|
|
2116
|
+
}, {
|
|
2117
|
+
default: withCtx(({ record }) => [createVNode(_component_a_button, {
|
|
2118
|
+
type: "link",
|
|
2119
|
+
size: "small",
|
|
2120
|
+
loading: unref(busy) === record.id,
|
|
2121
|
+
disabled: !unref(canAdmin),
|
|
2122
|
+
onClick: ($event) => discover(record)
|
|
2123
|
+
}, {
|
|
2124
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("settings.mcp.discover")), 1)]),
|
|
2125
|
+
_: 1
|
|
2126
|
+
}, 8, [
|
|
2127
|
+
"loading",
|
|
2128
|
+
"disabled",
|
|
2129
|
+
"onClick"
|
|
2130
|
+
]), createVNode(_component_a_button, {
|
|
2131
|
+
danger: "",
|
|
2132
|
+
type: "link",
|
|
2133
|
+
size: "small",
|
|
2134
|
+
disabled: !unref(canAdmin),
|
|
2135
|
+
onClick: ($event) => remove(record)
|
|
2136
|
+
}, {
|
|
2137
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("common.delete")), 1)]),
|
|
2138
|
+
_: 1
|
|
2139
|
+
}, 8, ["disabled", "onClick"])]),
|
|
2140
|
+
_: 1
|
|
2141
|
+
}, 8, ["title"])
|
|
2142
|
+
];
|
|
2143
|
+
}),
|
|
2144
|
+
_: 1
|
|
2145
|
+
}, _parent));
|
|
2146
|
+
_push(`</div>`);
|
|
2147
|
+
};
|
|
2148
|
+
}
|
|
2149
|
+
});
|
|
2150
|
+
//#endregion
|
|
2151
|
+
//#region app/components/settings/McpServersPane.vue
|
|
2152
|
+
var _sfc_setup$7 = McpServersPane_vue_vue_type_script_setup_true_lang_default.setup;
|
|
2153
|
+
McpServersPane_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
2154
|
+
const ssrContext = useSSRContext();
|
|
2155
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/settings/McpServersPane.vue");
|
|
2156
|
+
return _sfc_setup$7 ? _sfc_setup$7(props, ctx) : void 0;
|
|
2157
|
+
};
|
|
2158
|
+
var McpServersPane_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(McpServersPane_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-e471fb5b"]]), { __name: "SettingsMcpServersPane" });
|
|
2159
|
+
//#endregion
|
|
2160
|
+
//#region app/composables/workshop/useRuntimeConfigDraft.ts
|
|
2161
|
+
/**
|
|
2162
|
+
* useRuntimeConfigDraft —— 设置页「运行配置」的草稿态:
|
|
2163
|
+
* 服务端 effective 快照 → 本地草稿/脏键 → PATCH 保存 / 单键重置 / 整表重置。
|
|
2164
|
+
*
|
|
2165
|
+
* 单一实例约束:草稿是页面级共享状态。RuntimePane 在 setup 里调用一次
|
|
2166
|
+
* provideRuntimeConfigDraft(),子树用 useRuntimeConfigDraftContext() 取回同一份
|
|
2167
|
+
* (refs 是同一个对象,不会各自复制成互不相干的第二份状态)。
|
|
2168
|
+
*/
|
|
2169
|
+
function useRuntimeConfigDraft() {
|
|
2170
|
+
const { t } = useI18n();
|
|
2171
|
+
const rcStore = useRuntimeConfigStore();
|
|
2172
|
+
const draft = ref({});
|
|
2173
|
+
const dirtyKeys = ref(/* @__PURE__ */ new Set());
|
|
2174
|
+
const savingRuntime = ref(false);
|
|
2175
|
+
const runtimeNotice = ref(null);
|
|
2176
|
+
function syncRuntimeDraft() {
|
|
2177
|
+
draft.value = { ...rcStore.effective };
|
|
2178
|
+
dirtyKeys.value = /* @__PURE__ */ new Set();
|
|
2179
|
+
}
|
|
2180
|
+
watch(() => rcStore.loaded, (v) => {
|
|
2181
|
+
if (v) syncRuntimeDraft();
|
|
2182
|
+
}, { immediate: true });
|
|
2183
|
+
watch(() => rcStore.effective, () => {
|
|
2184
|
+
if (dirtyKeys.value.size === 0) syncRuntimeDraft();
|
|
2185
|
+
}, { deep: true });
|
|
2186
|
+
function markDirty(key) {
|
|
2187
|
+
dirtyKeys.value.add(key);
|
|
2188
|
+
runtimeNotice.value = null;
|
|
2189
|
+
}
|
|
2190
|
+
async function saveRuntime() {
|
|
2191
|
+
if (!dirtyKeys.value.size) return;
|
|
2192
|
+
savingRuntime.value = true;
|
|
2193
|
+
runtimeNotice.value = null;
|
|
2194
|
+
try {
|
|
2195
|
+
const patchMap = {};
|
|
2196
|
+
for (const k of dirtyKeys.value) patchMap[k] = draft.value[k];
|
|
2197
|
+
const res = await rcStore.patch(patchMap);
|
|
2198
|
+
syncRuntimeDraft();
|
|
2199
|
+
const restart = res.restartRequired ?? [];
|
|
2200
|
+
runtimeNotice.value = restart.length ? {
|
|
2201
|
+
type: "warning",
|
|
2202
|
+
text: t("settings.runtime.restartNotice", { keys: restart.join(", ") })
|
|
2203
|
+
} : {
|
|
2204
|
+
type: "success",
|
|
2205
|
+
text: t("settings.runtime.savedLive")
|
|
2206
|
+
};
|
|
2207
|
+
} catch (e) {
|
|
2208
|
+
const err = e;
|
|
2209
|
+
runtimeNotice.value = {
|
|
2210
|
+
type: "error",
|
|
2211
|
+
text: err?.response?.data?.message || err?.message || String(e)
|
|
2212
|
+
};
|
|
2213
|
+
} finally {
|
|
2214
|
+
savingRuntime.value = false;
|
|
2215
|
+
}
|
|
2216
|
+
}
|
|
2217
|
+
async function resetRuntimeKey(key) {
|
|
2218
|
+
try {
|
|
2219
|
+
await rcStore.patch({ [key]: null });
|
|
2220
|
+
dirtyKeys.value.delete(key);
|
|
2221
|
+
draft.value[key] = rcStore.effective[key];
|
|
2222
|
+
runtimeNotice.value = {
|
|
2223
|
+
type: "success",
|
|
2224
|
+
text: t("settings.runtime.keyReset", { key })
|
|
2225
|
+
};
|
|
2226
|
+
} catch (e) {
|
|
2227
|
+
const err = e;
|
|
2228
|
+
runtimeNotice.value = {
|
|
2229
|
+
type: "error",
|
|
2230
|
+
text: err?.response?.data?.message || err?.message || String(e)
|
|
2231
|
+
};
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
async function resetAllRuntime() {
|
|
2235
|
+
try {
|
|
2236
|
+
await rcStore.resetAll();
|
|
2237
|
+
syncRuntimeDraft();
|
|
2238
|
+
runtimeNotice.value = {
|
|
2239
|
+
type: "success",
|
|
2240
|
+
text: t("settings.runtime.resetAllDone")
|
|
2241
|
+
};
|
|
2242
|
+
} catch (e) {
|
|
2243
|
+
const err = e;
|
|
2244
|
+
runtimeNotice.value = {
|
|
2245
|
+
type: "error",
|
|
2246
|
+
text: err?.response?.data?.message || err?.message || String(e)
|
|
2247
|
+
};
|
|
2248
|
+
}
|
|
2249
|
+
}
|
|
2250
|
+
return {
|
|
2251
|
+
draft,
|
|
2252
|
+
dirtyKeys,
|
|
2253
|
+
savingRuntime,
|
|
2254
|
+
runtimeNotice,
|
|
2255
|
+
syncRuntimeDraft,
|
|
2256
|
+
markDirty,
|
|
2257
|
+
saveRuntime,
|
|
2258
|
+
resetRuntimeKey,
|
|
2259
|
+
resetAllRuntime
|
|
2260
|
+
};
|
|
2261
|
+
}
|
|
2262
|
+
/** 注入键:整页共享同一份草稿态 */
|
|
2263
|
+
var runtimeConfigDraftKey = Symbol("aw.settings.runtimeConfigDraft");
|
|
2264
|
+
/** 拥有方(RuntimePane)侧:创建草稿态并提供给子树 */
|
|
2265
|
+
function provideRuntimeConfigDraft() {
|
|
2266
|
+
const api = useRuntimeConfigDraft();
|
|
2267
|
+
provide(runtimeConfigDraftKey, api);
|
|
2268
|
+
return api;
|
|
2269
|
+
}
|
|
2270
|
+
/** 消费方(RuntimeGroupSection / RuntimeFieldRow)侧:取祖先提供的同一份草稿态 */
|
|
2271
|
+
function useRuntimeConfigDraftContext() {
|
|
2272
|
+
const api = inject(runtimeConfigDraftKey);
|
|
2273
|
+
if (!api) throw new Error("[settings] useRuntimeConfigDraftContext: 缺少 provideRuntimeConfigDraft()");
|
|
2274
|
+
return api;
|
|
2275
|
+
}
|
|
2276
|
+
//#endregion
|
|
2277
|
+
//#region app/composables/workshop/useSettingsGroups.ts
|
|
2278
|
+
/**
|
|
2279
|
+
* useSettingsGroups —— 设置页「运行配置」的分组态:
|
|
2280
|
+
* 分组标题/来源徽标/字段标签的展示解析、本地展开偏好(localStorage)、
|
|
2281
|
+
* 以及 admin 的分组 CRUD(内联建档 / 行内改名 / 排序 / 默认折叠 / 删除)。
|
|
2282
|
+
*
|
|
2283
|
+
* 单一实例约束:与 useRuntimeConfigDraft 同策略 —— RuntimePane 在 setup 里
|
|
2284
|
+
* 调用一次并提供,子树用 useSettingsGroupsContext() 取回同一份。
|
|
2285
|
+
*/
|
|
2286
|
+
function useSettingsGroups() {
|
|
2287
|
+
const { t } = useI18n();
|
|
2288
|
+
const userStore = useUserStore();
|
|
2289
|
+
const rcStore = useRuntimeConfigStore();
|
|
2290
|
+
/** 内置分组的 i18n 标签(id → i18n key);插件/自建分组走自己的 label */
|
|
2291
|
+
const KNOWN_GROUP_LABELS = {
|
|
2292
|
+
server: "settings.runtime.groupServer",
|
|
2293
|
+
app: "settings.runtime.groupApp",
|
|
2294
|
+
api: "settings.runtime.groupApi",
|
|
2295
|
+
theme: "settings.runtime.groupTheme",
|
|
2296
|
+
i18n: "settings.runtime.groupI18n",
|
|
2297
|
+
security: "settings.runtime.groupSecurity",
|
|
2298
|
+
daq: "settings.runtime.groupDaq",
|
|
2299
|
+
memory: "settings.runtime.groupMemory",
|
|
2300
|
+
omp: "settings.runtime.groupOmp",
|
|
2301
|
+
harness: "settings.runtime.groupHarness",
|
|
2302
|
+
dcw: "settings.runtime.groupDcw",
|
|
2303
|
+
workshop: "settings.runtime.groupWorkshop",
|
|
2304
|
+
backup: "settings.runtime.groupBackup",
|
|
2305
|
+
retention: "settings.runtime.groupRetention",
|
|
2306
|
+
log: "settings.runtime.groupLog",
|
|
2307
|
+
plugins: "settings.runtime.groupPlugins"
|
|
2308
|
+
};
|
|
2309
|
+
/**
|
|
2310
|
+
* 分组标题解析优先级:
|
|
2311
|
+
* 1) 分组自带 labelKey(插件可本地化自己分区的标题)
|
|
2312
|
+
* 2) 服务端下发的 label 与 id 不同 —— 管理员改过名 / 插件声明的展示名
|
|
2313
|
+
* 3) 内置分组的 i18n 映射(注册表里内置组 label 就是 id,需要前端补语言)
|
|
2314
|
+
* 4) 兜底用 id
|
|
2315
|
+
*/
|
|
2316
|
+
function groupLabel(g) {
|
|
2317
|
+
if (g.labelKey && t(g.labelKey) !== g.labelKey) return t(g.labelKey);
|
|
2318
|
+
if (g.label && g.label !== g.id) return g.label;
|
|
2319
|
+
const known = KNOWN_GROUP_LABELS[g.id];
|
|
2320
|
+
if (known) return t(known);
|
|
2321
|
+
return g.label || g.id;
|
|
2322
|
+
}
|
|
2323
|
+
function groupSourceBadge(g) {
|
|
2324
|
+
if (g.source === "plugin") return g.plugin ? `${t("settings.groups.srcPlugin")}: ${g.plugin}` : t("settings.groups.srcPlugin");
|
|
2325
|
+
if (g.source === "user") return t("settings.groups.srcUser");
|
|
2326
|
+
return t("settings.groups.srcBuiltin");
|
|
2327
|
+
}
|
|
2328
|
+
function sourceClass(s) {
|
|
2329
|
+
return s === "runtime" ? "src-runtime" : s === "env" ? "src-env" : "src-yaml";
|
|
2330
|
+
}
|
|
2331
|
+
function itemLabel(item) {
|
|
2332
|
+
const k = item.labelKey;
|
|
2333
|
+
return k && t(k) !== k ? t(k) : item.label;
|
|
2334
|
+
}
|
|
2335
|
+
const GROUP_COLLAPSE_KEY = "aw.settings.groups.collapsed";
|
|
2336
|
+
/** 本地展开/收起偏好:{ [groupId]: collapsed } */
|
|
2337
|
+
const groupCollapsed = ref({});
|
|
2338
|
+
function loadCollapsePref() {
|
|
2339
|
+
try {
|
|
2340
|
+
groupCollapsed.value = JSON.parse(localStorage.getItem(GROUP_COLLAPSE_KEY) ?? "{}") ?? {};
|
|
2341
|
+
} catch {
|
|
2342
|
+
groupCollapsed.value = {};
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
function saveCollapsePref() {
|
|
2346
|
+
try {
|
|
2347
|
+
localStorage.setItem(GROUP_COLLAPSE_KEY, JSON.stringify(groupCollapsed.value));
|
|
2348
|
+
} catch {}
|
|
2349
|
+
}
|
|
2350
|
+
function isCollapsed(g) {
|
|
2351
|
+
const local = groupCollapsed.value[g.id];
|
|
2352
|
+
return local === void 0 ? g.collapsed : local;
|
|
2353
|
+
}
|
|
2354
|
+
function toggleGroup(g) {
|
|
2355
|
+
if (!g.collapsible) return;
|
|
2356
|
+
groupCollapsed.value = {
|
|
2357
|
+
...groupCollapsed.value,
|
|
2358
|
+
[g.id]: !isCollapsed(g)
|
|
2359
|
+
};
|
|
2360
|
+
saveCollapsePref();
|
|
2361
|
+
}
|
|
2362
|
+
/** 全部展开/收起(一键;按当前是否已全展开决定方向) */
|
|
2363
|
+
function toggleAllGroups() {
|
|
2364
|
+
const list = rcStore.groups.filter((g) => g.collapsible);
|
|
2365
|
+
const anyExpanded = list.some((g) => !isCollapsed(g));
|
|
2366
|
+
const next = { ...groupCollapsed.value };
|
|
2367
|
+
for (const g of list) next[g.id] = anyExpanded;
|
|
2368
|
+
groupCollapsed.value = next;
|
|
2369
|
+
saveCollapsePref();
|
|
2370
|
+
}
|
|
2371
|
+
const allExpanded = computed(() => rcStore.groups.filter((g) => g.collapsible).some((g) => !isCollapsed(g)));
|
|
2372
|
+
const isAdmin = computed(() => userStore.isAdmin);
|
|
2373
|
+
const groupFormOpen = ref(false);
|
|
2374
|
+
const groupForm = reactive({
|
|
2375
|
+
label: "",
|
|
2376
|
+
description: "",
|
|
2377
|
+
collapsed: false
|
|
2378
|
+
});
|
|
2379
|
+
const groupBusy = ref("");
|
|
2380
|
+
const renamingId = ref("");
|
|
2381
|
+
const renameDraft = ref("");
|
|
2382
|
+
async function submitGroupForm() {
|
|
2383
|
+
if (!groupForm.label.trim()) return;
|
|
2384
|
+
groupBusy.value = "create";
|
|
2385
|
+
try {
|
|
2386
|
+
await rcStore.createGroup({
|
|
2387
|
+
label: groupForm.label.trim(),
|
|
2388
|
+
description: groupForm.description.trim(),
|
|
2389
|
+
collapsed: groupForm.collapsed
|
|
2390
|
+
});
|
|
2391
|
+
groupFormOpen.value = false;
|
|
2392
|
+
groupForm.label = "";
|
|
2393
|
+
groupForm.description = "";
|
|
2394
|
+
groupForm.collapsed = false;
|
|
2395
|
+
api$1.success(t("settings.groups.created"));
|
|
2396
|
+
} catch (e) {
|
|
2397
|
+
api$1.error(apiErrorMessage(e, t("settings.groups.createFail")));
|
|
2398
|
+
} finally {
|
|
2399
|
+
groupBusy.value = "";
|
|
2400
|
+
}
|
|
2401
|
+
}
|
|
2402
|
+
function startRename(g) {
|
|
2403
|
+
renamingId.value = g.id;
|
|
2404
|
+
renameDraft.value = g.label;
|
|
2405
|
+
}
|
|
2406
|
+
async function commitRename(id) {
|
|
2407
|
+
const label = renameDraft.value.trim();
|
|
2408
|
+
renamingId.value = "";
|
|
2409
|
+
if (!label) return;
|
|
2410
|
+
groupBusy.value = id;
|
|
2411
|
+
try {
|
|
2412
|
+
await rcStore.updateGroup(id, { label });
|
|
2413
|
+
api$1.success(t("settings.groups.renamed"));
|
|
2414
|
+
} catch (e) {
|
|
2415
|
+
api$1.error(apiErrorMessage(e, t("settings.groups.updateFail")));
|
|
2416
|
+
} finally {
|
|
2417
|
+
groupBusy.value = "";
|
|
2418
|
+
}
|
|
2419
|
+
}
|
|
2420
|
+
/** 排序:与相邻同源分组交换 order(通过各自的 order 值互换实现稳定重排) */
|
|
2421
|
+
async function moveGroup(id, dir) {
|
|
2422
|
+
const list = [...rcStore.groups];
|
|
2423
|
+
const i = list.findIndex((g) => g.id === id);
|
|
2424
|
+
const j = i + dir;
|
|
2425
|
+
if (i < 0 || j < 0 || j >= list.length) return;
|
|
2426
|
+
const a = list[i];
|
|
2427
|
+
const b = list[j];
|
|
2428
|
+
groupBusy.value = id;
|
|
2429
|
+
try {
|
|
2430
|
+
const ordered = [...list];
|
|
2431
|
+
ordered.splice(i, 1);
|
|
2432
|
+
ordered.splice(j, 0, a);
|
|
2433
|
+
const patchA = (j + 1) * 10;
|
|
2434
|
+
const patchB = (i + 1) * 10;
|
|
2435
|
+
await rcStore.updateGroup(a.id, { order: patchA });
|
|
2436
|
+
await rcStore.updateGroup(b.id, { order: patchB });
|
|
2437
|
+
} catch (e) {
|
|
2438
|
+
api$1.error(apiErrorMessage(e, t("settings.groups.updateFail")));
|
|
2439
|
+
} finally {
|
|
2440
|
+
groupBusy.value = "";
|
|
2441
|
+
}
|
|
2442
|
+
}
|
|
2443
|
+
async function setGroupDefaultCollapsed(g) {
|
|
2444
|
+
groupBusy.value = g.id;
|
|
2445
|
+
try {
|
|
2446
|
+
await rcStore.updateGroup(g.id, { collapsed: !g.collapsed });
|
|
2447
|
+
} catch (e) {
|
|
2448
|
+
api$1.error(apiErrorMessage(e, t("settings.groups.updateFail")));
|
|
2449
|
+
} finally {
|
|
2450
|
+
groupBusy.value = "";
|
|
2451
|
+
}
|
|
2452
|
+
}
|
|
2453
|
+
async function removeGroup(g) {
|
|
2454
|
+
const count = g.fieldCount ?? 0;
|
|
2455
|
+
if (count > 0) {
|
|
2456
|
+
api$1.warning(t("settings.groups.deleteHasFields", {
|
|
2457
|
+
p0: groupLabel(g),
|
|
2458
|
+
p1: count
|
|
2459
|
+
}));
|
|
2460
|
+
return;
|
|
2461
|
+
}
|
|
2462
|
+
groupBusy.value = g.id;
|
|
2463
|
+
try {
|
|
2464
|
+
await rcStore.deleteGroup(g.id);
|
|
2465
|
+
api$1.success(t("settings.groups.deleted"));
|
|
2466
|
+
} catch (e) {
|
|
2467
|
+
api$1.error(apiErrorMessage(e, t("settings.groups.deleteFail")));
|
|
2468
|
+
} finally {
|
|
2469
|
+
groupBusy.value = "";
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
return {
|
|
2473
|
+
groupLabel,
|
|
2474
|
+
groupSourceBadge,
|
|
2475
|
+
sourceClass,
|
|
2476
|
+
itemLabel,
|
|
2477
|
+
groupCollapsed,
|
|
2478
|
+
loadCollapsePref,
|
|
2479
|
+
saveCollapsePref,
|
|
2480
|
+
isCollapsed,
|
|
2481
|
+
toggleGroup,
|
|
2482
|
+
toggleAllGroups,
|
|
2483
|
+
allExpanded,
|
|
2484
|
+
isAdmin,
|
|
2485
|
+
groupFormOpen,
|
|
2486
|
+
groupForm,
|
|
2487
|
+
groupBusy,
|
|
2488
|
+
renamingId,
|
|
2489
|
+
renameDraft,
|
|
2490
|
+
submitGroupForm,
|
|
2491
|
+
startRename,
|
|
2492
|
+
commitRename,
|
|
2493
|
+
moveGroup,
|
|
2494
|
+
setGroupDefaultCollapsed,
|
|
2495
|
+
removeGroup
|
|
2496
|
+
};
|
|
2497
|
+
}
|
|
2498
|
+
/** 注入键:整页共享同一份分组态 */
|
|
2499
|
+
var settingsGroupsKey = Symbol("aw.settings.groups");
|
|
2500
|
+
/** 拥有方(RuntimePane)侧:创建分组态并提供给子树 */
|
|
2501
|
+
function provideSettingsGroups() {
|
|
2502
|
+
const api = useSettingsGroups();
|
|
2503
|
+
provide(settingsGroupsKey, api);
|
|
2504
|
+
return api;
|
|
2505
|
+
}
|
|
2506
|
+
/** 消费方(RuntimeGroupSection / RuntimeFieldRow)侧:取祖先提供的同一份分组态 */
|
|
2507
|
+
function useSettingsGroupsContext() {
|
|
2508
|
+
const api = inject(settingsGroupsKey);
|
|
2509
|
+
if (!api) throw new Error("[settings] useSettingsGroupsContext: 缺少 provideSettingsGroups()");
|
|
2510
|
+
return api;
|
|
2511
|
+
}
|
|
2512
|
+
//#endregion
|
|
2513
|
+
//#region app/components/settings/RuntimeFieldRow.vue?vue&type=script&setup=true&lang.ts
|
|
2514
|
+
var RuntimeFieldRow_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
2515
|
+
__name: "RuntimeFieldRow",
|
|
2516
|
+
__ssrInlineRender: true,
|
|
2517
|
+
props: { item: {} },
|
|
2518
|
+
setup(__props) {
|
|
2519
|
+
const { t } = useI18n();
|
|
2520
|
+
const rcStore = useRuntimeConfigStore();
|
|
2521
|
+
const { draft, markDirty, resetRuntimeKey } = useRuntimeConfigDraftContext();
|
|
2522
|
+
const { itemLabel, sourceClass } = useSettingsGroupsContext();
|
|
2523
|
+
const timezoneData = ref({});
|
|
2524
|
+
const timezoneOptions = computed(() => (timezoneData.value.supportedTimeZones ?? [
|
|
2525
|
+
"Asia/Shanghai",
|
|
2526
|
+
"UTC",
|
|
2527
|
+
"America/Los_Angeles",
|
|
2528
|
+
"Europe/London"
|
|
2529
|
+
]).map((zone) => ({
|
|
2530
|
+
label: zone,
|
|
2531
|
+
value: zone
|
|
2532
|
+
})));
|
|
2533
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
2534
|
+
const _component_a_input_number = input_number_default;
|
|
2535
|
+
const _component_a_switch = switch_default;
|
|
2536
|
+
const _component_a_select = Select;
|
|
2537
|
+
const _component_a_input = input_default;
|
|
2538
|
+
_push(`<div${ssrRenderAttrs(mergeProps({ class: "rt-row" }, _attrs))} data-v-7d2e1754><div class="rt-main" data-v-7d2e1754><div class="rt-title" data-v-7d2e1754>${ssrInterpolate(unref(itemLabel)(__props.item))} <span class="${ssrRenderClass([unref(sourceClass)(unref(rcStore).sourceOf(__props.item.key)), "rt-tag"])}" data-v-7d2e1754>${ssrInterpolate(unref(rcStore).sourceOf(__props.item.key))}</span><span class="${ssrRenderClass([__props.item.applies, "rt-tag"])}" data-v-7d2e1754>${ssrInterpolate(__props.item.applies === "live" ? unref(t)("settings.runtime.live") : unref(t)("settings.runtime.restart"))}</span></div><div class="rt-sub" data-v-7d2e1754>${ssrInterpolate(__props.item.description)}</div></div><div class="rt-ctrl" data-v-7d2e1754>`);
|
|
2539
|
+
if (__props.item.type === "number") _push(ssrRenderComponent(_component_a_input_number, {
|
|
2540
|
+
value: unref(draft)[__props.item.key],
|
|
2541
|
+
"onUpdate:value": ($event) => unref(draft)[__props.item.key] = $event,
|
|
2542
|
+
min: __props.item.min,
|
|
2543
|
+
max: __props.item.max,
|
|
2544
|
+
onChange: ($event) => unref(markDirty)(__props.item.key)
|
|
2545
|
+
}, null, _parent));
|
|
2546
|
+
else if (__props.item.type === "boolean") _push(ssrRenderComponent(_component_a_switch, {
|
|
2547
|
+
checked: unref(draft)[__props.item.key],
|
|
2548
|
+
"onUpdate:checked": ($event) => unref(draft)[__props.item.key] = $event,
|
|
2549
|
+
onChange: ($event) => unref(markDirty)(__props.item.key)
|
|
2550
|
+
}, null, _parent));
|
|
2551
|
+
else if (__props.item.type === "timezone") _push(ssrRenderComponent(_component_a_select, {
|
|
2552
|
+
value: unref(draft)[__props.item.key],
|
|
2553
|
+
"onUpdate:value": ($event) => unref(draft)[__props.item.key] = $event,
|
|
2554
|
+
"show-search": "",
|
|
2555
|
+
"option-filter-prop": "label",
|
|
2556
|
+
style: { "width": "260px" },
|
|
2557
|
+
options: unref(timezoneOptions),
|
|
2558
|
+
onChange: ($event) => unref(markDirty)(__props.item.key)
|
|
2559
|
+
}, null, _parent));
|
|
2560
|
+
else if (__props.item.type === "select") _push(ssrRenderComponent(_component_a_select, {
|
|
2561
|
+
value: unref(draft)[__props.item.key],
|
|
2562
|
+
"onUpdate:value": ($event) => unref(draft)[__props.item.key] = $event,
|
|
2563
|
+
style: { "width": "160px" },
|
|
2564
|
+
options: (__props.item.options ?? []).map((o) => ({
|
|
2565
|
+
label: o,
|
|
2566
|
+
value: o
|
|
2567
|
+
})),
|
|
2568
|
+
onChange: ($event) => unref(markDirty)(__props.item.key)
|
|
2569
|
+
}, null, _parent));
|
|
2570
|
+
else if (__props.item.type === "color") {
|
|
2571
|
+
_push(`<span class="rt-color" data-v-7d2e1754><input type="color"${ssrRenderAttr("value", String(unref(draft)[__props.item.key] ?? "#35e0a0"))} data-v-7d2e1754>`);
|
|
2572
|
+
_push(ssrRenderComponent(_component_a_input, {
|
|
2573
|
+
value: String(unref(draft)[__props.item.key] ?? ""),
|
|
2574
|
+
style: { "width": "110px" },
|
|
2575
|
+
class: "aw-mono",
|
|
2576
|
+
onChange: ($event) => {
|
|
2577
|
+
unref(draft)[__props.item.key] = $event.target.value;
|
|
2578
|
+
unref(markDirty)(__props.item.key);
|
|
2579
|
+
}
|
|
2580
|
+
}, null, _parent));
|
|
2581
|
+
_push(`</span>`);
|
|
2582
|
+
} else _push(ssrRenderComponent(_component_a_input, {
|
|
2583
|
+
value: unref(draft)[__props.item.key],
|
|
2584
|
+
"onUpdate:value": ($event) => unref(draft)[__props.item.key] = $event,
|
|
2585
|
+
style: { "width": "220px" },
|
|
2586
|
+
onChange: ($event) => unref(markDirty)(__props.item.key)
|
|
2587
|
+
}, null, _parent));
|
|
2588
|
+
_push(`<button class="aw-pill outline rt-reset"${ssrRenderAttr("title", unref(t)("settings.runtime.resetKey"))} data-v-7d2e1754><span class="i-tabler-rotate" data-v-7d2e1754></span></button></div></div>`);
|
|
2589
|
+
};
|
|
2590
|
+
}
|
|
2591
|
+
});
|
|
2592
|
+
//#endregion
|
|
2593
|
+
//#region app/components/settings/RuntimeFieldRow.vue
|
|
2594
|
+
var _sfc_setup$6 = RuntimeFieldRow_vue_vue_type_script_setup_true_lang_default.setup;
|
|
2595
|
+
RuntimeFieldRow_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
2596
|
+
const ssrContext = useSSRContext();
|
|
2597
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/settings/RuntimeFieldRow.vue");
|
|
2598
|
+
return _sfc_setup$6 ? _sfc_setup$6(props, ctx) : void 0;
|
|
2599
|
+
};
|
|
2600
|
+
var RuntimeFieldRow_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(RuntimeFieldRow_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-7d2e1754"]]), { __name: "SettingsRuntimeFieldRow" });
|
|
2601
|
+
//#endregion
|
|
2602
|
+
//#region app/components/settings/RuntimeGroupSection.vue?vue&type=script&setup=true&lang.ts
|
|
2603
|
+
var RuntimeGroupSection_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
2604
|
+
__name: "RuntimeGroupSection",
|
|
2605
|
+
__ssrInlineRender: true,
|
|
2606
|
+
props: { group: {} },
|
|
2607
|
+
setup(__props) {
|
|
2608
|
+
const { t } = useI18n();
|
|
2609
|
+
const rcStore = useRuntimeConfigStore();
|
|
2610
|
+
const { groupLabel, groupSourceBadge, isCollapsed, toggleGroup, renamingId, renameDraft, commitRename, startRename, isAdmin, groupBusy, moveGroup, setGroupDefaultCollapsed, removeGroup } = useSettingsGroupsContext();
|
|
2611
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
2612
|
+
_push(`<section${ssrRenderAttrs(mergeProps({ class: ["rt-group", {
|
|
2613
|
+
"collapsed": unref(isCollapsed)(__props.group),
|
|
2614
|
+
"grp-plugin": __props.group.source === "plugin"
|
|
2615
|
+
}] }, _attrs))} data-v-0303e914><header class="rt-group-head"${ssrRenderAttr("role", __props.group.collapsible ? "button" : void 0)}${ssrRenderAttr("tabindex", __props.group.collapsible ? 0 : void 0)} data-v-0303e914>`);
|
|
2616
|
+
if (__props.group.collapsible) _push(`<span class="${ssrRenderClass([unref(isCollapsed)(__props.group) ? "i-tabler-chevron-right" : "i-tabler-chevron-down", "rt-caret"])}" data-v-0303e914></span>`);
|
|
2617
|
+
else _push(`<!---->`);
|
|
2618
|
+
if (__props.group.icon) _push(`<span class="${ssrRenderClass([__props.group.icon, "rt-group-icon"])}" data-v-0303e914></span>`);
|
|
2619
|
+
else _push(`<!---->`);
|
|
2620
|
+
if (unref(renamingId) === __props.group.id) _push(`<!--[--><input${ssrRenderAttr("value", unref(renameDraft))} class="rt-rename aw-mono" data-v-0303e914><button class="mini-btn" data-v-0303e914>${ssrInterpolate(unref(t)("settings.groups.ok"))}</button><!--]-->`);
|
|
2621
|
+
else _push(`<h4 class="rt-group-title" data-v-0303e914>${ssrInterpolate(unref(groupLabel)(__props.group))}</h4>`);
|
|
2622
|
+
_push(`<span class="rt-group-badge" data-v-0303e914>${ssrInterpolate(unref(groupSourceBadge)(__props.group))}</span><span class="rt-group-fields" data-v-0303e914>${ssrInterpolate(unref(t)("settings.groups.fields", { p0: __props.group.fieldCount ?? 0 }))}</span>`);
|
|
2623
|
+
if (__props.group.description) _push(`<span class="rt-group-desc" data-v-0303e914>${ssrInterpolate(__props.group.description)}</span>`);
|
|
2624
|
+
else _push(`<!---->`);
|
|
2625
|
+
if (unref(isAdmin) && __props.group.source !== "plugin") {
|
|
2626
|
+
_push(`<span class="rt-group-ops" data-v-0303e914><button class="mini-btn"${ssrIncludeBooleanAttr(unref(groupBusy) === __props.group.id) ? " disabled" : ""}${ssrRenderAttr("title", unref(t)("settings.groups.moveUp"))} data-v-0303e914><span class="i-tabler-arrow-up" data-v-0303e914></span></button><button class="mini-btn"${ssrIncludeBooleanAttr(unref(groupBusy) === __props.group.id) ? " disabled" : ""}${ssrRenderAttr("title", unref(t)("settings.groups.moveDown"))} data-v-0303e914><span class="i-tabler-arrow-down" data-v-0303e914></span></button><button class="mini-btn"${ssrIncludeBooleanAttr(unref(groupBusy) === __props.group.id) ? " disabled" : ""}${ssrRenderAttr("title", unref(t)("settings.groups.rename"))} data-v-0303e914><span class="i-tabler-pencil" data-v-0303e914></span></button><button class="mini-btn"${ssrIncludeBooleanAttr(unref(groupBusy) === __props.group.id) ? " disabled" : ""}${ssrRenderAttr("title", unref(t)("settings.groups.defaultCollapsed"))} data-v-0303e914><span class="${ssrRenderClass(__props.group.collapsed ? "i-tabler-chevrons-down" : "i-tabler-chevrons-up")}" data-v-0303e914></span></button>`);
|
|
2627
|
+
if (__props.group.source === "user") _push(`<button class="mini-btn"${ssrIncludeBooleanAttr(unref(groupBusy) === __props.group.id) ? " disabled" : ""}${ssrRenderAttr("title", unref(t)("settings.groups.delete"))} data-v-0303e914><span class="i-tabler-trash" data-v-0303e914></span></button>`);
|
|
2628
|
+
else _push(`<!---->`);
|
|
2629
|
+
_push(`</span>`);
|
|
2630
|
+
} else _push(`<!---->`);
|
|
2631
|
+
_push(`</header><div class="rt-group-body" style="${ssrRenderStyle(!unref(isCollapsed)(__props.group) ? null : { display: "none" })}" data-v-0303e914>`);
|
|
2632
|
+
if (!(__props.group.fieldCount ?? 0)) _push(`<p class="rt-group-empty" data-v-0303e914>${ssrInterpolate(unref(t)("settings.groups.emptyHint"))}</p>`);
|
|
2633
|
+
else _push(`<!---->`);
|
|
2634
|
+
_push(`<!--[-->`);
|
|
2635
|
+
ssrRenderList(unref(rcStore).fieldsOf(__props.group.id), (item) => {
|
|
2636
|
+
_push(ssrRenderComponent(RuntimeFieldRow_default, {
|
|
2637
|
+
key: item.key,
|
|
2638
|
+
item
|
|
2639
|
+
}, null, _parent));
|
|
2640
|
+
});
|
|
2641
|
+
_push(`<!--]--></div></section>`);
|
|
2642
|
+
};
|
|
2643
|
+
}
|
|
2644
|
+
});
|
|
2645
|
+
//#endregion
|
|
2646
|
+
//#region app/components/settings/RuntimeGroupSection.vue
|
|
2647
|
+
var _sfc_setup$5 = RuntimeGroupSection_vue_vue_type_script_setup_true_lang_default.setup;
|
|
2648
|
+
RuntimeGroupSection_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
2649
|
+
const ssrContext = useSSRContext();
|
|
2650
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/settings/RuntimeGroupSection.vue");
|
|
2651
|
+
return _sfc_setup$5 ? _sfc_setup$5(props, ctx) : void 0;
|
|
2652
|
+
};
|
|
2653
|
+
var RuntimeGroupSection_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(RuntimeGroupSection_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-0303e914"]]), { __name: "SettingsRuntimeGroupSection" });
|
|
2654
|
+
//#endregion
|
|
2655
|
+
//#region app/composables/workshop/usePluginAdmin.ts
|
|
2656
|
+
/**
|
|
2657
|
+
* usePluginAdmin —— 设置页「插件管理」态:清单懒加载、启停、健康检测判定。
|
|
2658
|
+
*
|
|
2659
|
+
* 单一实例约束:RuntimePane 在 setup 里调用一次 providePluginAdmin(activeTab)
|
|
2660
|
+
* 并提供给子树(标题/说明/注入槽要用 plugins.length,清单区由 PluginsSection 渲染),
|
|
2661
|
+
* 两侧读的是同一份 refs,不会各自复制成互不相干的第二份状态。
|
|
2662
|
+
* activeTab 以 ref 传入,保持「进入运行配置 Tab 才拉清单」的懒加载时机。
|
|
2663
|
+
*/
|
|
2664
|
+
function usePluginAdmin(activeTab) {
|
|
2665
|
+
const { t } = useI18n();
|
|
2666
|
+
const userStore = useUserStore();
|
|
2667
|
+
const api$1$1 = useWorkshopApi();
|
|
2668
|
+
const plugins = ref([]);
|
|
2669
|
+
const pluginsLoading = ref(false);
|
|
2670
|
+
const pluginsLoaded = ref(false);
|
|
2671
|
+
const togglingPlugins = ref(/* @__PURE__ */ new Set());
|
|
2672
|
+
const healthMap = ref({});
|
|
2673
|
+
const hasHealthRoute = (p) => (p.routes ?? []).some((r) => String(r.path || "").endsWith("/health"));
|
|
2674
|
+
async function loadPlugins() {
|
|
2675
|
+
pluginsLoading.value = true;
|
|
2676
|
+
try {
|
|
2677
|
+
const list = (await api$1$1.listPlugins())?.data?.plugins ?? [];
|
|
2678
|
+
plugins.value = Array.isArray(list) ? list : [];
|
|
2679
|
+
pluginsLoaded.value = true;
|
|
2680
|
+
} catch (e) {
|
|
2681
|
+
api$1.error(apiErrorMessage(e, t("plugins.loadFail")));
|
|
2682
|
+
} finally {
|
|
2683
|
+
pluginsLoading.value = false;
|
|
2684
|
+
}
|
|
2685
|
+
}
|
|
2686
|
+
async function togglePlugin(p, next) {
|
|
2687
|
+
if (togglingPlugins.value.has(p.name)) return;
|
|
2688
|
+
togglingPlugins.value.add(p.name);
|
|
2689
|
+
try {
|
|
2690
|
+
if (next) await api$1$1.enablePlugin(p.name);
|
|
2691
|
+
else await api$1$1.disablePlugin(p.name);
|
|
2692
|
+
p.enabled = next;
|
|
2693
|
+
api$1.success(next ? t("plugins.enabled") : t("plugins.disabled"));
|
|
2694
|
+
} catch (e) {
|
|
2695
|
+
api$1.error(apiErrorMessage(e, t("plugins.adminRequired")));
|
|
2696
|
+
} finally {
|
|
2697
|
+
togglingPlugins.value.delete(p.name);
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
async function checkPluginHealth(p) {
|
|
2701
|
+
if (!hasHealthRoute(p)) return;
|
|
2702
|
+
healthMap.value = {
|
|
2703
|
+
...healthMap.value,
|
|
2704
|
+
[p.name]: "checking"
|
|
2705
|
+
};
|
|
2706
|
+
try {
|
|
2707
|
+
const res = await api$1$1.pluginHealth(p.name);
|
|
2708
|
+
healthMap.value = {
|
|
2709
|
+
...healthMap.value,
|
|
2710
|
+
[p.name]: judgePluginHealth(p.name, res)
|
|
2711
|
+
};
|
|
2712
|
+
} catch (e) {
|
|
2713
|
+
healthMap.value = {
|
|
2714
|
+
...healthMap.value,
|
|
2715
|
+
[p.name]: {
|
|
2716
|
+
ok: false,
|
|
2717
|
+
reason: apiErrorMessage(e, t("plugins.loadFail"))
|
|
2718
|
+
}
|
|
2719
|
+
};
|
|
2720
|
+
}
|
|
2721
|
+
}
|
|
2722
|
+
/** 健康判定:rag-bridge 看 backend.ok && web.ok;diag-bridge 看 remote.status==='ok';未知形状回退无报错即视为正常 */
|
|
2723
|
+
function judgePluginHealth(name, res) {
|
|
2724
|
+
if (name === "rag-bridge") {
|
|
2725
|
+
const backend = res.backend;
|
|
2726
|
+
const web = res.web;
|
|
2727
|
+
const ok = Boolean(backend?.ok) && Boolean(web?.ok);
|
|
2728
|
+
const reason = !backend?.ok ? backend?.error || backend?.status || "backend" : web?.error || web?.status || "web";
|
|
2729
|
+
return ok ? { ok: true } : {
|
|
2730
|
+
ok: false,
|
|
2731
|
+
reason
|
|
2732
|
+
};
|
|
2733
|
+
}
|
|
2734
|
+
if (name === "diag-bridge") {
|
|
2735
|
+
const remote = res.remote;
|
|
2736
|
+
return remote?.status === "ok" ? { ok: true } : {
|
|
2737
|
+
ok: false,
|
|
2738
|
+
reason: remote?.status || "remote"
|
|
2739
|
+
};
|
|
2740
|
+
}
|
|
2741
|
+
return { ok: true };
|
|
2742
|
+
}
|
|
2743
|
+
/** 模板辅助:检测中 / 检测结果(避免模板内窄化) */
|
|
2744
|
+
function isCheckingHealth(name) {
|
|
2745
|
+
return healthMap.value[name] === "checking";
|
|
2746
|
+
}
|
|
2747
|
+
function healthOf(name) {
|
|
2748
|
+
const h = healthMap.value[name];
|
|
2749
|
+
return h && h !== "checking" ? h : null;
|
|
2750
|
+
}
|
|
2751
|
+
function isToggling(name) {
|
|
2752
|
+
return togglingPlugins.value.has(name);
|
|
2753
|
+
}
|
|
2754
|
+
watch(activeTab, (v) => {
|
|
2755
|
+
if (v === "runtime" && !pluginsLoaded.value && !pluginsLoading.value && userStore.isLoggedIn) loadPlugins();
|
|
2756
|
+
}, { immediate: true });
|
|
2757
|
+
return {
|
|
2758
|
+
plugins,
|
|
2759
|
+
pluginsLoading,
|
|
2760
|
+
pluginsLoaded,
|
|
2761
|
+
togglingPlugins,
|
|
2762
|
+
healthMap,
|
|
2763
|
+
hasHealthRoute,
|
|
2764
|
+
loadPlugins,
|
|
2765
|
+
togglePlugin,
|
|
2766
|
+
checkPluginHealth,
|
|
2767
|
+
judgePluginHealth,
|
|
2768
|
+
isCheckingHealth,
|
|
2769
|
+
healthOf,
|
|
2770
|
+
isToggling
|
|
2771
|
+
};
|
|
2772
|
+
}
|
|
2773
|
+
/** 注入键:整页共享同一份插件管理态 */
|
|
2774
|
+
var pluginAdminKey = Symbol("aw.settings.pluginAdmin");
|
|
2775
|
+
/** 拥有方(RuntimePane)侧:创建插件管理态并提供给子树 */
|
|
2776
|
+
function providePluginAdmin(activeTab) {
|
|
2777
|
+
const api = usePluginAdmin(activeTab);
|
|
2778
|
+
provide(pluginAdminKey, api);
|
|
2779
|
+
return api;
|
|
2780
|
+
}
|
|
2781
|
+
/** 消费方(PluginsSection)侧:取祖先提供的同一份插件管理态 */
|
|
2782
|
+
function usePluginAdminContext() {
|
|
2783
|
+
const api = inject(pluginAdminKey);
|
|
2784
|
+
if (!api) throw new Error("[settings] usePluginAdminContext: 缺少 providePluginAdmin()");
|
|
2785
|
+
return api;
|
|
2786
|
+
}
|
|
2787
|
+
//#endregion
|
|
2788
|
+
//#region app/components/settings/PluginsSection.vue?vue&type=script&setup=true&lang.ts
|
|
2789
|
+
var PluginsSection_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
2790
|
+
__name: "PluginsSection",
|
|
2791
|
+
__ssrInlineRender: true,
|
|
2792
|
+
setup(__props) {
|
|
2793
|
+
/**
|
|
2794
|
+
* 插件清单区:清单 / 启停(admin) / 健康检测;未登录时只留一条提示。
|
|
2795
|
+
* 单根约束:app/pages/** 下的 .vue 受 vue/no-multiple-template-root 约束,
|
|
2796
|
+
* 整块插件区的标题/说明/注入槽留在 RuntimePane,这里仅剩「登录提示 / 清单」这一对
|
|
2797
|
+
* v-if/v-else,正好构成规则允许的根链(不额外加包裹元素,渲染出的 DOM 与拆分前一致)。
|
|
2798
|
+
* 插件态由 RuntimePane 的 providePluginAdmin 下发,经 usePluginAdminContext 取同一份。
|
|
2799
|
+
*/
|
|
2800
|
+
const { t } = useI18n();
|
|
2801
|
+
useUserStore();
|
|
2802
|
+
const { plugins, pluginsLoading, hasHealthRoute, checkPluginHealth, isCheckingHealth, healthOf, isToggling, togglePlugin } = usePluginAdminContext();
|
|
2803
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
2804
|
+
_push(ssrRenderComponent(ClientOnly, _attrs, {}, _parent));
|
|
2805
|
+
};
|
|
2806
|
+
}
|
|
2807
|
+
});
|
|
2808
|
+
//#endregion
|
|
2809
|
+
//#region app/components/settings/PluginsSection.vue
|
|
2810
|
+
var _sfc_setup$4 = PluginsSection_vue_vue_type_script_setup_true_lang_default.setup;
|
|
2811
|
+
PluginsSection_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
2812
|
+
const ssrContext = useSSRContext();
|
|
2813
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/settings/PluginsSection.vue");
|
|
2814
|
+
return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
|
|
2815
|
+
};
|
|
2816
|
+
var PluginsSection_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(PluginsSection_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-548fcdd8"]]), { __name: "SettingsPluginsSection" });
|
|
2817
|
+
//#endregion
|
|
2818
|
+
//#region app/components/settings/RuntimePane.vue?vue&type=script&setup=true&lang.ts
|
|
2819
|
+
var RuntimePane_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
2820
|
+
__name: "RuntimePane",
|
|
2821
|
+
__ssrInlineRender: true,
|
|
2822
|
+
props: { activeTab: {} },
|
|
2823
|
+
setup(__props) {
|
|
2824
|
+
const props = __props;
|
|
2825
|
+
const { t } = useI18n();
|
|
2826
|
+
const rcStore = useRuntimeConfigStore();
|
|
2827
|
+
const { runtimeNotice, dirtyKeys, savingRuntime, saveRuntime, resetAllRuntime } = provideRuntimeConfigDraft();
|
|
2828
|
+
const { allExpanded, groupFormOpen, groupForm, groupBusy, isAdmin, submitGroupForm, toggleAllGroups } = provideSettingsGroups();
|
|
2829
|
+
const { plugins } = providePluginAdmin(computed(() => props.activeTab));
|
|
2830
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
2831
|
+
const _component_a_alert = alert_default;
|
|
2832
|
+
const _component_ClientOnly = ClientOnly;
|
|
2833
|
+
const _component_workshop_plugin_slot = PluginSlot_default;
|
|
2834
|
+
_push(`<div${ssrRenderAttrs(mergeProps(_attrs, { style: __props.activeTab === "runtime" ? null : { display: "none" } }))} data-v-3a01146e><h3 class="section-title" data-v-3a01146e>${ssrInterpolate(unref(t)("settings.runtimeTab"))}</h3><p class="section-desc" data-v-3a01146e>${ssrInterpolate(unref(t)("settings.runtime.desc"))}</p>`);
|
|
2835
|
+
if (unref(runtimeNotice)) _push(ssrRenderComponent(_component_a_alert, {
|
|
2836
|
+
type: unref(runtimeNotice).type,
|
|
2837
|
+
"show-icon": "",
|
|
2838
|
+
class: "rt-notice",
|
|
2839
|
+
message: unref(runtimeNotice).text
|
|
2840
|
+
}, null, _parent));
|
|
2841
|
+
else _push(`<!---->`);
|
|
2842
|
+
_push(`<div class="rt-groups-bar" data-v-3a01146e><button class="aw-pill outline rt-groups-toggle"${ssrRenderAttr("title", unref(t)("settings.groups.toggleAll"))} data-v-3a01146e><span class="${ssrRenderClass(unref(allExpanded) ? "i-tabler-chevrons-up" : "i-tabler-chevrons-down")}" data-v-3a01146e></span> ${ssrInterpolate(unref(allExpanded) ? unref(t)("settings.groups.collapseAll") : unref(t)("settings.groups.expandAll"))}</button><span class="rt-groups-count" data-v-3a01146e>${ssrInterpolate(unref(t)("settings.groups.count", { p0: unref(rcStore).groups.length }))}</span>`);
|
|
2843
|
+
_push(ssrRenderComponent(_component_ClientOnly, null, {}, _parent));
|
|
2844
|
+
_push(`</div>`);
|
|
2845
|
+
_push(ssrRenderComponent(_component_ClientOnly, null, {}, _parent));
|
|
2846
|
+
_push(`<!--[-->`);
|
|
2847
|
+
ssrRenderList(unref(rcStore).groups, (g) => {
|
|
2848
|
+
_push(ssrRenderComponent(RuntimeGroupSection_default, {
|
|
2849
|
+
key: g.id,
|
|
2850
|
+
group: g
|
|
2851
|
+
}, null, _parent));
|
|
2852
|
+
});
|
|
2853
|
+
_push(`<!--]--><div class="rt-actions" data-v-3a01146e><button class="aw-pill primary"${ssrIncludeBooleanAttr(!unref(dirtyKeys).size || unref(savingRuntime)) ? " disabled" : ""} data-v-3a01146e><span class="i-tabler-device-floppy" data-v-3a01146e></span> ${ssrInterpolate(unref(savingRuntime) ? "…" : unref(t)("settings.runtime.save"))}</button><button class="aw-pill outline" data-v-3a01146e>${ssrInterpolate(unref(t)("settings.runtime.resetAll"))}</button><span class="rt-path aw-mono" data-v-3a01146e>${ssrInterpolate(unref(rcStore).settingsPath)}</span></div><h4 class="rt-group-title plugin-group-title" data-v-3a01146e>${ssrInterpolate(unref(t)("plugins.title"))}</h4><p class="section-desc" data-v-3a01146e>${ssrInterpolate(unref(t)("plugins.desc"))}</p>`);
|
|
2854
|
+
_push(ssrRenderComponent(PluginsSection_default, null, null, _parent));
|
|
2855
|
+
if (unref(plugins).length) _push(ssrRenderComponent(_component_workshop_plugin_slot, { "slot-name": "settings.plugins" }, null, _parent));
|
|
2856
|
+
else _push(`<!---->`);
|
|
2857
|
+
_push(`</div>`);
|
|
2858
|
+
};
|
|
2859
|
+
}
|
|
2860
|
+
});
|
|
2861
|
+
//#endregion
|
|
2862
|
+
//#region app/components/settings/RuntimePane.vue
|
|
2863
|
+
var _sfc_setup$3 = RuntimePane_vue_vue_type_script_setup_true_lang_default.setup;
|
|
2864
|
+
RuntimePane_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
2865
|
+
const ssrContext = useSSRContext();
|
|
2866
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/settings/RuntimePane.vue");
|
|
2867
|
+
return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0;
|
|
2868
|
+
};
|
|
2869
|
+
var RuntimePane_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(RuntimePane_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-3a01146e"]]), { __name: "SettingsRuntimePane" });
|
|
2870
|
+
//#endregion
|
|
2871
|
+
//#region app/components/settings/SkillsPane.vue?vue&type=script&setup=true&lang.ts
|
|
2872
|
+
var SkillsPane_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
2873
|
+
__name: "SkillsPane",
|
|
2874
|
+
__ssrInlineRender: true,
|
|
2875
|
+
props: { activeTab: {} },
|
|
2876
|
+
setup(__props) {
|
|
2877
|
+
/**
|
|
2878
|
+
* 系统设置 · Skill 管理(一方管理面)。
|
|
2879
|
+
* - 发现:内置 / 平台受管 / ~/.agent / ~/.agents / XDG / AW_SKILL_ROOTS(只读)
|
|
2880
|
+
* - 导入:从发现结果生成不可变受管 revision(默认未启用)
|
|
2881
|
+
* - 启停/删除:admin;全部走服务端审计
|
|
2882
|
+
* 不做 Skill 执行,不展示 credential/环境变量。
|
|
2883
|
+
*/
|
|
2884
|
+
const { t } = useI18n();
|
|
2885
|
+
const userStore = useUserStore();
|
|
2886
|
+
const managed = ref([]);
|
|
2887
|
+
const discovered = ref([]);
|
|
2888
|
+
const roots = ref([]);
|
|
2889
|
+
const loading = ref(false);
|
|
2890
|
+
const busyId = ref(null);
|
|
2891
|
+
const error = ref("");
|
|
2892
|
+
const canAdmin = computed(() => userStore.isAdmin);
|
|
2893
|
+
const diagnosticsOf = (item) => item.diagnostics.filter((d) => d.level === "error" || d.level === "warn");
|
|
2894
|
+
async function load() {
|
|
2895
|
+
loading.value = true;
|
|
2896
|
+
error.value = "";
|
|
2897
|
+
try {
|
|
2898
|
+
const [list, found] = await Promise.all([apiFetch({ base: "/api/system/skills" }), apiFetch({ base: "/api/system/skills/discover" })]);
|
|
2899
|
+
managed.value = list.managed ?? [];
|
|
2900
|
+
roots.value = list.roots ?? [];
|
|
2901
|
+
discovered.value = found.discovered ?? [];
|
|
2902
|
+
} catch (err) {
|
|
2903
|
+
error.value = err instanceof Error ? err.message : String(err);
|
|
2904
|
+
} finally {
|
|
2905
|
+
loading.value = false;
|
|
2906
|
+
}
|
|
2907
|
+
}
|
|
2908
|
+
async function importSkill(item) {
|
|
2909
|
+
if (!canAdmin.value) return;
|
|
2910
|
+
modal_default.confirm({
|
|
2911
|
+
title: t("settings.skills.importConfirm"),
|
|
2912
|
+
content: `${item.name} · ${item.source}`,
|
|
2913
|
+
okText: t("common.confirm"),
|
|
2914
|
+
cancelText: t("common.cancel"),
|
|
2915
|
+
onOk: async () => {
|
|
2916
|
+
busyId.value = item.id;
|
|
2917
|
+
try {
|
|
2918
|
+
if ((await apiFetch({
|
|
2919
|
+
base: "/api/system/skills/import",
|
|
2920
|
+
init: {
|
|
2921
|
+
method: "POST",
|
|
2922
|
+
body: JSON.stringify({ catalogId: item.id })
|
|
2923
|
+
}
|
|
2924
|
+
})).revision) api$1.success(t("settings.skills.imported"));
|
|
2925
|
+
await load();
|
|
2926
|
+
} catch (err) {
|
|
2927
|
+
api$1.error(err instanceof Error ? err.message : String(err));
|
|
2928
|
+
} finally {
|
|
2929
|
+
busyId.value = null;
|
|
2930
|
+
}
|
|
2931
|
+
}
|
|
2932
|
+
});
|
|
2933
|
+
}
|
|
2934
|
+
async function toggle(item, checked) {
|
|
2935
|
+
busyId.value = item.id;
|
|
2936
|
+
try {
|
|
2937
|
+
await apiFetch({
|
|
2938
|
+
base: "/api/system/skills",
|
|
2939
|
+
path: `/${encodeURIComponent(item.id)}`,
|
|
2940
|
+
init: {
|
|
2941
|
+
method: "PATCH",
|
|
2942
|
+
body: JSON.stringify({ enabled: checked })
|
|
2943
|
+
}
|
|
2944
|
+
});
|
|
2945
|
+
api$1.success(checked ? t("settings.skills.enabledDone") : t("settings.skills.disabledDone"));
|
|
2946
|
+
await load();
|
|
2947
|
+
} catch (err) {
|
|
2948
|
+
api$1.error(err instanceof Error ? err.message : String(err));
|
|
2949
|
+
} finally {
|
|
2950
|
+
busyId.value = null;
|
|
2951
|
+
}
|
|
2952
|
+
}
|
|
2953
|
+
function remove(item) {
|
|
2954
|
+
modal_default.confirm({
|
|
2955
|
+
title: t("settings.skills.removeConfirm"),
|
|
2956
|
+
content: `${item.name}@${item.contentHash.slice(0, 12)}`,
|
|
2957
|
+
okText: t("common.delete"),
|
|
2958
|
+
okType: "danger",
|
|
2959
|
+
cancelText: t("common.cancel"),
|
|
2960
|
+
onOk: async () => {
|
|
2961
|
+
busyId.value = item.id;
|
|
2962
|
+
try {
|
|
2963
|
+
await apiFetch({
|
|
2964
|
+
base: "/api/system/skills",
|
|
2965
|
+
path: `/${encodeURIComponent(item.id)}`,
|
|
2966
|
+
init: { method: "DELETE" }
|
|
2967
|
+
});
|
|
2968
|
+
api$1.success(t("settings.skills.removed"));
|
|
2969
|
+
await load();
|
|
2970
|
+
} catch (err) {
|
|
2971
|
+
api$1.error(err instanceof Error ? err.message : String(err));
|
|
2972
|
+
} finally {
|
|
2973
|
+
busyId.value = null;
|
|
2974
|
+
}
|
|
2975
|
+
}
|
|
2976
|
+
});
|
|
2977
|
+
}
|
|
2978
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
2979
|
+
const _component_a_alert = alert_default;
|
|
2980
|
+
const _component_a_button = button_default;
|
|
2981
|
+
const _component_a_table = table_default;
|
|
2982
|
+
const _component_a_table_column = Column_default;
|
|
2983
|
+
const _component_a_switch = switch_default;
|
|
2984
|
+
const _component_a_tag = Tag;
|
|
2985
|
+
_push(`<div${ssrRenderAttrs(mergeProps(_attrs, { style: __props.activeTab === "skills" ? null : { display: "none" } }))} data-v-c6c7b12f><h3 class="section-title" data-v-c6c7b12f>${ssrInterpolate(unref(t)("settings.skillsTab"))}</h3><p class="section-desc" data-v-c6c7b12f>${ssrInterpolate(unref(t)("settings.skills.desc"))}</p>`);
|
|
2986
|
+
if (unref(error)) _push(ssrRenderComponent(_component_a_alert, {
|
|
2987
|
+
type: "error",
|
|
2988
|
+
"show-icon": "",
|
|
2989
|
+
message: unref(error),
|
|
2990
|
+
class: "sk-notice"
|
|
2991
|
+
}, null, _parent));
|
|
2992
|
+
else _push(`<!---->`);
|
|
2993
|
+
if (!unref(canAdmin)) _push(ssrRenderComponent(_component_a_alert, {
|
|
2994
|
+
type: "info",
|
|
2995
|
+
"show-icon": "",
|
|
2996
|
+
message: unref(t)("settings.skills.adminOnly"),
|
|
2997
|
+
class: "sk-notice"
|
|
2998
|
+
}, null, _parent));
|
|
2999
|
+
else _push(`<!---->`);
|
|
3000
|
+
_push(`<div class="sk-toolbar" data-v-c6c7b12f>`);
|
|
3001
|
+
_push(ssrRenderComponent(_component_a_button, {
|
|
3002
|
+
loading: unref(loading),
|
|
3003
|
+
onClick: load
|
|
3004
|
+
}, {
|
|
3005
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3006
|
+
if (_push) _push(`<span class="i-tabler-refresh" data-v-c6c7b12f${_scopeId}></span> ${ssrInterpolate(unref(t)("settings.skills.refresh"))}`);
|
|
3007
|
+
else return [createVNode("span", { class: "i-tabler-refresh" }), createTextVNode(" " + toDisplayString(unref(t)("settings.skills.refresh")), 1)];
|
|
3008
|
+
}),
|
|
3009
|
+
_: 1
|
|
3010
|
+
}, _parent));
|
|
3011
|
+
_push(`<span class="sk-roots" data-v-c6c7b12f><!--[-->`);
|
|
3012
|
+
ssrRenderList(unref(roots), (root) => {
|
|
3013
|
+
_push(`<span class="sk-root"${ssrRenderAttr("title", root.path)} data-v-c6c7b12f>${ssrInterpolate(root.source)}</span>`);
|
|
3014
|
+
});
|
|
3015
|
+
_push(`<!--]--></span></div><h4 class="sk-subtitle" data-v-c6c7b12f>${ssrInterpolate(unref(t)("settings.skills.managed"))}</h4>`);
|
|
3016
|
+
_push(ssrRenderComponent(_component_a_table, {
|
|
3017
|
+
"data-source": unref(managed),
|
|
3018
|
+
pagination: false,
|
|
3019
|
+
"row-key": "id",
|
|
3020
|
+
size: "small",
|
|
3021
|
+
locale: { emptyText: unref(t)("settings.skills.empty") }
|
|
3022
|
+
}, {
|
|
3023
|
+
expandedRowRender: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
3024
|
+
if (_push) {
|
|
3025
|
+
_push(`<div class="sk-diag" data-v-c6c7b12f${_scopeId}><span class="aw-mono" data-v-c6c7b12f${_scopeId}>${ssrInterpolate(record.sourcePath)}</span><span data-v-c6c7b12f${_scopeId}>${ssrInterpolate(record.fileCount)} files · ${ssrInterpolate(record.totalBytes)} B</span><!--[-->`);
|
|
3026
|
+
ssrRenderList(diagnosticsOf(record), (d) => {
|
|
3027
|
+
_push(ssrRenderComponent(_component_a_tag, {
|
|
3028
|
+
key: `${record.id}-${d.code}`,
|
|
3029
|
+
color: d.level === "error" ? "red" : "orange"
|
|
3030
|
+
}, {
|
|
3031
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3032
|
+
if (_push) _push(`${ssrInterpolate(d.code)}`);
|
|
3033
|
+
else return [createTextVNode(toDisplayString(d.code), 1)];
|
|
3034
|
+
}),
|
|
3035
|
+
_: 2
|
|
3036
|
+
}, _parent, _scopeId));
|
|
3037
|
+
});
|
|
3038
|
+
_push(`<!--]--></div>`);
|
|
3039
|
+
} else return [createVNode("div", { class: "sk-diag" }, [
|
|
3040
|
+
createVNode("span", { class: "aw-mono" }, toDisplayString(record.sourcePath), 1),
|
|
3041
|
+
createVNode("span", null, toDisplayString(record.fileCount) + " files · " + toDisplayString(record.totalBytes) + " B", 1),
|
|
3042
|
+
(openBlock(true), createBlock(Fragment, null, renderList(diagnosticsOf(record), (d) => {
|
|
3043
|
+
return openBlock(), createBlock(_component_a_tag, {
|
|
3044
|
+
key: `${record.id}-${d.code}`,
|
|
3045
|
+
color: d.level === "error" ? "red" : "orange"
|
|
3046
|
+
}, {
|
|
3047
|
+
default: withCtx(() => [createTextVNode(toDisplayString(d.code), 1)]),
|
|
3048
|
+
_: 2
|
|
3049
|
+
}, 1032, ["color"]);
|
|
3050
|
+
}), 128))
|
|
3051
|
+
])];
|
|
3052
|
+
}),
|
|
3053
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3054
|
+
if (_push) {
|
|
3055
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
3056
|
+
title: unref(t)("settings.skills.name"),
|
|
3057
|
+
"data-index": "name"
|
|
3058
|
+
}, null, _parent, _scopeId));
|
|
3059
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
3060
|
+
title: unref(t)("settings.skills.source"),
|
|
3061
|
+
"data-index": "source",
|
|
3062
|
+
width: "110px"
|
|
3063
|
+
}, null, _parent, _scopeId));
|
|
3064
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
3065
|
+
title: unref(t)("settings.skills.revision"),
|
|
3066
|
+
width: "150px"
|
|
3067
|
+
}, {
|
|
3068
|
+
default: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
3069
|
+
if (_push) _push(`<span class="aw-mono" data-v-c6c7b12f${_scopeId}>${ssrInterpolate(record.contentHash.slice(0, 12))}</span>`);
|
|
3070
|
+
else return [createVNode("span", { class: "aw-mono" }, toDisplayString(record.contentHash.slice(0, 12)), 1)];
|
|
3071
|
+
}),
|
|
3072
|
+
_: 1
|
|
3073
|
+
}, _parent, _scopeId));
|
|
3074
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
3075
|
+
title: unref(t)("settings.skills.enabled"),
|
|
3076
|
+
width: "110px"
|
|
3077
|
+
}, {
|
|
3078
|
+
default: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
3079
|
+
if (_push) _push(ssrRenderComponent(_component_a_switch, {
|
|
3080
|
+
checked: record.enabled,
|
|
3081
|
+
disabled: !unref(canAdmin) || unref(busyId) === record.id,
|
|
3082
|
+
size: "small",
|
|
3083
|
+
onChange: (v) => toggle(record, v === true)
|
|
3084
|
+
}, null, _parent, _scopeId));
|
|
3085
|
+
else return [createVNode(_component_a_switch, {
|
|
3086
|
+
checked: record.enabled,
|
|
3087
|
+
disabled: !unref(canAdmin) || unref(busyId) === record.id,
|
|
3088
|
+
size: "small",
|
|
3089
|
+
onChange: (v) => toggle(record, v === true)
|
|
3090
|
+
}, null, 8, [
|
|
3091
|
+
"checked",
|
|
3092
|
+
"disabled",
|
|
3093
|
+
"onChange"
|
|
3094
|
+
])];
|
|
3095
|
+
}),
|
|
3096
|
+
_: 1
|
|
3097
|
+
}, _parent, _scopeId));
|
|
3098
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
3099
|
+
title: unref(t)("settings.skills.actions"),
|
|
3100
|
+
width: "100px"
|
|
3101
|
+
}, {
|
|
3102
|
+
default: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
3103
|
+
if (_push) _push(ssrRenderComponent(_component_a_button, {
|
|
3104
|
+
danger: "",
|
|
3105
|
+
type: "link",
|
|
3106
|
+
size: "small",
|
|
3107
|
+
disabled: !unref(canAdmin) || unref(busyId) === record.id,
|
|
3108
|
+
onClick: ($event) => remove(record)
|
|
3109
|
+
}, {
|
|
3110
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3111
|
+
if (_push) _push(`${ssrInterpolate(unref(t)("common.delete"))}`);
|
|
3112
|
+
else return [createTextVNode(toDisplayString(unref(t)("common.delete")), 1)];
|
|
3113
|
+
}),
|
|
3114
|
+
_: 2
|
|
3115
|
+
}, _parent, _scopeId));
|
|
3116
|
+
else return [createVNode(_component_a_button, {
|
|
3117
|
+
danger: "",
|
|
3118
|
+
type: "link",
|
|
3119
|
+
size: "small",
|
|
3120
|
+
disabled: !unref(canAdmin) || unref(busyId) === record.id,
|
|
3121
|
+
onClick: ($event) => remove(record)
|
|
3122
|
+
}, {
|
|
3123
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("common.delete")), 1)]),
|
|
3124
|
+
_: 1
|
|
3125
|
+
}, 8, ["disabled", "onClick"])];
|
|
3126
|
+
}),
|
|
3127
|
+
_: 1
|
|
3128
|
+
}, _parent, _scopeId));
|
|
3129
|
+
} else return [
|
|
3130
|
+
createVNode(_component_a_table_column, {
|
|
3131
|
+
title: unref(t)("settings.skills.name"),
|
|
3132
|
+
"data-index": "name"
|
|
3133
|
+
}, null, 8, ["title"]),
|
|
3134
|
+
createVNode(_component_a_table_column, {
|
|
3135
|
+
title: unref(t)("settings.skills.source"),
|
|
3136
|
+
"data-index": "source",
|
|
3137
|
+
width: "110px"
|
|
3138
|
+
}, null, 8, ["title"]),
|
|
3139
|
+
createVNode(_component_a_table_column, {
|
|
3140
|
+
title: unref(t)("settings.skills.revision"),
|
|
3141
|
+
width: "150px"
|
|
3142
|
+
}, {
|
|
3143
|
+
default: withCtx(({ record }) => [createVNode("span", { class: "aw-mono" }, toDisplayString(record.contentHash.slice(0, 12)), 1)]),
|
|
3144
|
+
_: 1
|
|
3145
|
+
}, 8, ["title"]),
|
|
3146
|
+
createVNode(_component_a_table_column, {
|
|
3147
|
+
title: unref(t)("settings.skills.enabled"),
|
|
3148
|
+
width: "110px"
|
|
3149
|
+
}, {
|
|
3150
|
+
default: withCtx(({ record }) => [createVNode(_component_a_switch, {
|
|
3151
|
+
checked: record.enabled,
|
|
3152
|
+
disabled: !unref(canAdmin) || unref(busyId) === record.id,
|
|
3153
|
+
size: "small",
|
|
3154
|
+
onChange: (v) => toggle(record, v === true)
|
|
3155
|
+
}, null, 8, [
|
|
3156
|
+
"checked",
|
|
3157
|
+
"disabled",
|
|
3158
|
+
"onChange"
|
|
3159
|
+
])]),
|
|
3160
|
+
_: 1
|
|
3161
|
+
}, 8, ["title"]),
|
|
3162
|
+
createVNode(_component_a_table_column, {
|
|
3163
|
+
title: unref(t)("settings.skills.actions"),
|
|
3164
|
+
width: "100px"
|
|
3165
|
+
}, {
|
|
3166
|
+
default: withCtx(({ record }) => [createVNode(_component_a_button, {
|
|
3167
|
+
danger: "",
|
|
3168
|
+
type: "link",
|
|
3169
|
+
size: "small",
|
|
3170
|
+
disabled: !unref(canAdmin) || unref(busyId) === record.id,
|
|
3171
|
+
onClick: ($event) => remove(record)
|
|
3172
|
+
}, {
|
|
3173
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("common.delete")), 1)]),
|
|
3174
|
+
_: 1
|
|
3175
|
+
}, 8, ["disabled", "onClick"])]),
|
|
3176
|
+
_: 1
|
|
3177
|
+
}, 8, ["title"])
|
|
3178
|
+
];
|
|
3179
|
+
}),
|
|
3180
|
+
_: 1
|
|
3181
|
+
}, _parent));
|
|
3182
|
+
_push(`<h4 class="sk-subtitle" data-v-c6c7b12f>${ssrInterpolate(unref(t)("settings.skills.discovered"))}</h4>`);
|
|
3183
|
+
_push(ssrRenderComponent(_component_a_table, {
|
|
3184
|
+
"data-source": unref(discovered),
|
|
3185
|
+
pagination: false,
|
|
3186
|
+
"row-key": "id",
|
|
3187
|
+
size: "small",
|
|
3188
|
+
locale: { emptyText: unref(t)("settings.skills.empty") }
|
|
3189
|
+
}, {
|
|
3190
|
+
expandedRowRender: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
3191
|
+
if (_push) {
|
|
3192
|
+
_push(`<div class="sk-diag" data-v-c6c7b12f${_scopeId}><span class="aw-mono" data-v-c6c7b12f${_scopeId}>${ssrInterpolate(record.sourcePath)}</span><span data-v-c6c7b12f${_scopeId}>${ssrInterpolate(record.fileCount)} files · ${ssrInterpolate(record.totalBytes)} B</span><!--[-->`);
|
|
3193
|
+
ssrRenderList(diagnosticsOf(record), (d) => {
|
|
3194
|
+
_push(ssrRenderComponent(_component_a_tag, {
|
|
3195
|
+
key: `${record.id}-${d.code}`,
|
|
3196
|
+
color: d.level === "error" ? "red" : "orange"
|
|
3197
|
+
}, {
|
|
3198
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3199
|
+
if (_push) _push(`${ssrInterpolate(d.code)}`);
|
|
3200
|
+
else return [createTextVNode(toDisplayString(d.code), 1)];
|
|
3201
|
+
}),
|
|
3202
|
+
_: 2
|
|
3203
|
+
}, _parent, _scopeId));
|
|
3204
|
+
});
|
|
3205
|
+
_push(`<!--]--></div>`);
|
|
3206
|
+
} else return [createVNode("div", { class: "sk-diag" }, [
|
|
3207
|
+
createVNode("span", { class: "aw-mono" }, toDisplayString(record.sourcePath), 1),
|
|
3208
|
+
createVNode("span", null, toDisplayString(record.fileCount) + " files · " + toDisplayString(record.totalBytes) + " B", 1),
|
|
3209
|
+
(openBlock(true), createBlock(Fragment, null, renderList(diagnosticsOf(record), (d) => {
|
|
3210
|
+
return openBlock(), createBlock(_component_a_tag, {
|
|
3211
|
+
key: `${record.id}-${d.code}`,
|
|
3212
|
+
color: d.level === "error" ? "red" : "orange"
|
|
3213
|
+
}, {
|
|
3214
|
+
default: withCtx(() => [createTextVNode(toDisplayString(d.code), 1)]),
|
|
3215
|
+
_: 2
|
|
3216
|
+
}, 1032, ["color"]);
|
|
3217
|
+
}), 128))
|
|
3218
|
+
])];
|
|
3219
|
+
}),
|
|
3220
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3221
|
+
if (_push) {
|
|
3222
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
3223
|
+
title: unref(t)("settings.skills.name"),
|
|
3224
|
+
"data-index": "name"
|
|
3225
|
+
}, null, _parent, _scopeId));
|
|
3226
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
3227
|
+
title: unref(t)("settings.skills.source"),
|
|
3228
|
+
"data-index": "source",
|
|
3229
|
+
width: "110px"
|
|
3230
|
+
}, null, _parent, _scopeId));
|
|
3231
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
3232
|
+
title: unref(t)("settings.skills.description"),
|
|
3233
|
+
"data-index": "description"
|
|
3234
|
+
}, null, _parent, _scopeId));
|
|
3235
|
+
_push(ssrRenderComponent(_component_a_table_column, {
|
|
3236
|
+
title: unref(t)("settings.skills.actions"),
|
|
3237
|
+
width: "100px"
|
|
3238
|
+
}, {
|
|
3239
|
+
default: withCtx(({ record }, _push, _parent, _scopeId) => {
|
|
3240
|
+
if (_push) _push(ssrRenderComponent(_component_a_button, {
|
|
3241
|
+
type: "link",
|
|
3242
|
+
size: "small",
|
|
3243
|
+
disabled: !unref(canAdmin) || record.source === "managed" || unref(busyId) === record.id,
|
|
3244
|
+
onClick: ($event) => importSkill(record)
|
|
3245
|
+
}, {
|
|
3246
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3247
|
+
if (_push) _push(`${ssrInterpolate(unref(t)("settings.skills.import"))}`);
|
|
3248
|
+
else return [createTextVNode(toDisplayString(unref(t)("settings.skills.import")), 1)];
|
|
3249
|
+
}),
|
|
3250
|
+
_: 2
|
|
3251
|
+
}, _parent, _scopeId));
|
|
3252
|
+
else return [createVNode(_component_a_button, {
|
|
3253
|
+
type: "link",
|
|
3254
|
+
size: "small",
|
|
3255
|
+
disabled: !unref(canAdmin) || record.source === "managed" || unref(busyId) === record.id,
|
|
3256
|
+
onClick: ($event) => importSkill(record)
|
|
3257
|
+
}, {
|
|
3258
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("settings.skills.import")), 1)]),
|
|
3259
|
+
_: 1
|
|
3260
|
+
}, 8, ["disabled", "onClick"])];
|
|
3261
|
+
}),
|
|
3262
|
+
_: 1
|
|
3263
|
+
}, _parent, _scopeId));
|
|
3264
|
+
} else return [
|
|
3265
|
+
createVNode(_component_a_table_column, {
|
|
3266
|
+
title: unref(t)("settings.skills.name"),
|
|
3267
|
+
"data-index": "name"
|
|
3268
|
+
}, null, 8, ["title"]),
|
|
3269
|
+
createVNode(_component_a_table_column, {
|
|
3270
|
+
title: unref(t)("settings.skills.source"),
|
|
3271
|
+
"data-index": "source",
|
|
3272
|
+
width: "110px"
|
|
3273
|
+
}, null, 8, ["title"]),
|
|
3274
|
+
createVNode(_component_a_table_column, {
|
|
3275
|
+
title: unref(t)("settings.skills.description"),
|
|
3276
|
+
"data-index": "description"
|
|
3277
|
+
}, null, 8, ["title"]),
|
|
3278
|
+
createVNode(_component_a_table_column, {
|
|
3279
|
+
title: unref(t)("settings.skills.actions"),
|
|
3280
|
+
width: "100px"
|
|
3281
|
+
}, {
|
|
3282
|
+
default: withCtx(({ record }) => [createVNode(_component_a_button, {
|
|
3283
|
+
type: "link",
|
|
3284
|
+
size: "small",
|
|
3285
|
+
disabled: !unref(canAdmin) || record.source === "managed" || unref(busyId) === record.id,
|
|
3286
|
+
onClick: ($event) => importSkill(record)
|
|
3287
|
+
}, {
|
|
3288
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("settings.skills.import")), 1)]),
|
|
3289
|
+
_: 1
|
|
3290
|
+
}, 8, ["disabled", "onClick"])]),
|
|
3291
|
+
_: 1
|
|
3292
|
+
}, 8, ["title"])
|
|
3293
|
+
];
|
|
3294
|
+
}),
|
|
3295
|
+
_: 1
|
|
3296
|
+
}, _parent));
|
|
3297
|
+
_push(`</div>`);
|
|
3298
|
+
};
|
|
3299
|
+
}
|
|
3300
|
+
});
|
|
3301
|
+
//#endregion
|
|
3302
|
+
//#region app/components/settings/SkillsPane.vue
|
|
3303
|
+
var _sfc_setup$2 = SkillsPane_vue_vue_type_script_setup_true_lang_default.setup;
|
|
3304
|
+
SkillsPane_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
3305
|
+
const ssrContext = useSSRContext();
|
|
3306
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/settings/SkillsPane.vue");
|
|
3307
|
+
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
|
|
3308
|
+
};
|
|
3309
|
+
var SkillsPane_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(SkillsPane_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-c6c7b12f"]]), { __name: "SettingsSkillsPane" });
|
|
3310
|
+
//#endregion
|
|
3311
|
+
//#region app/components/settings/SystemPane.vue?vue&type=script&setup=true&lang.ts
|
|
3312
|
+
var SystemPane_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
3313
|
+
__name: "SystemPane",
|
|
3314
|
+
__ssrInlineRender: true,
|
|
3315
|
+
props: { activeTab: {} },
|
|
3316
|
+
setup(__props) {
|
|
3317
|
+
const { t, locale } = useI18n();
|
|
3318
|
+
const site = useSiteConfig();
|
|
3319
|
+
const config = useRuntimeConfig().public;
|
|
3320
|
+
useUserStore();
|
|
3321
|
+
const defaultAccent = String(config.primaryColor);
|
|
3322
|
+
/** 系统态概览(只读,同源 config.yml) */
|
|
3323
|
+
const systemRows = computed(() => [
|
|
3324
|
+
{
|
|
3325
|
+
label: t("home.fields.name"),
|
|
3326
|
+
value: site.name
|
|
3327
|
+
},
|
|
3328
|
+
{
|
|
3329
|
+
label: t("home.fields.version"),
|
|
3330
|
+
value: `v${site.version}`
|
|
3331
|
+
},
|
|
3332
|
+
{
|
|
3333
|
+
label: t("home.fields.mode"),
|
|
3334
|
+
value: site.mode
|
|
3335
|
+
},
|
|
3336
|
+
{
|
|
3337
|
+
label: t("home.fields.apiBase"),
|
|
3338
|
+
value: `${site.apiBase} (${config.apiTimeout}ms)`
|
|
3339
|
+
},
|
|
3340
|
+
{
|
|
3341
|
+
label: t("home.fields.primary"),
|
|
3342
|
+
value: defaultAccent
|
|
3343
|
+
},
|
|
3344
|
+
{
|
|
3345
|
+
label: "i18n",
|
|
3346
|
+
value: locale.value
|
|
3347
|
+
}
|
|
3348
|
+
]);
|
|
3349
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
3350
|
+
const _component_a_descriptions = Descriptions;
|
|
3351
|
+
const _component_a_descriptions_item = DescriptionsItem;
|
|
3352
|
+
const _component_ClientOnly = ClientOnly;
|
|
3353
|
+
_push(`<div${ssrRenderAttrs(mergeProps(_attrs, { style: __props.activeTab === "system" ? null : { display: "none" } }))} data-v-fe8687b7><h3 class="section-title" data-v-fe8687b7>${ssrInterpolate(unref(t)("settings.systemTab"))}</h3><p class="section-desc" data-v-fe8687b7>${ssrInterpolate(unref(t)("settings.systemDesc"))}</p>`);
|
|
3354
|
+
_push(ssrRenderComponent(_component_a_descriptions, {
|
|
3355
|
+
bordered: "",
|
|
3356
|
+
column: 1,
|
|
3357
|
+
size: "small"
|
|
3358
|
+
}, {
|
|
3359
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3360
|
+
if (_push) {
|
|
3361
|
+
_push(`<!--[-->`);
|
|
3362
|
+
ssrRenderList(unref(systemRows), (row) => {
|
|
3363
|
+
_push(ssrRenderComponent(_component_a_descriptions_item, {
|
|
3364
|
+
key: row.label,
|
|
3365
|
+
label: row.label
|
|
3366
|
+
}, {
|
|
3367
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3368
|
+
if (_push) _push(`<span class="aw-mono" data-v-fe8687b7${_scopeId}>${ssrInterpolate(row.value)}</span>`);
|
|
3369
|
+
else return [createVNode("span", { class: "aw-mono" }, toDisplayString(row.value), 1)];
|
|
3370
|
+
}),
|
|
3371
|
+
_: 2
|
|
3372
|
+
}, _parent, _scopeId));
|
|
3373
|
+
});
|
|
3374
|
+
_push(`<!--]-->`);
|
|
3375
|
+
} else return [(openBlock(true), createBlock(Fragment, null, renderList(unref(systemRows), (row) => {
|
|
3376
|
+
return openBlock(), createBlock(_component_a_descriptions_item, {
|
|
3377
|
+
key: row.label,
|
|
3378
|
+
label: row.label
|
|
3379
|
+
}, {
|
|
3380
|
+
default: withCtx(() => [createVNode("span", { class: "aw-mono" }, toDisplayString(row.value), 1)]),
|
|
3381
|
+
_: 2
|
|
3382
|
+
}, 1032, ["label"]);
|
|
3383
|
+
}), 128))];
|
|
3384
|
+
}),
|
|
3385
|
+
_: 1
|
|
3386
|
+
}, _parent));
|
|
3387
|
+
_push(`<p class="identity-note" data-v-fe8687b7>`);
|
|
3388
|
+
_push(ssrRenderComponent(_component_ClientOnly, null, {}, _parent));
|
|
3389
|
+
_push(`</p></div>`);
|
|
3390
|
+
};
|
|
3391
|
+
}
|
|
3392
|
+
});
|
|
3393
|
+
//#endregion
|
|
3394
|
+
//#region app/components/settings/SystemPane.vue
|
|
3395
|
+
var _sfc_setup$1 = SystemPane_vue_vue_type_script_setup_true_lang_default.setup;
|
|
3396
|
+
SystemPane_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
3397
|
+
const ssrContext = useSSRContext();
|
|
3398
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/settings/SystemPane.vue");
|
|
3399
|
+
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
3400
|
+
};
|
|
3401
|
+
var SystemPane_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(SystemPane_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-fe8687b7"]]), { __name: "SettingsSystemPane" });
|
|
3402
|
+
//#endregion
|
|
3403
|
+
//#region app/pages/settings.vue?vue&type=script&setup=true&lang.ts
|
|
3404
|
+
var settings_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
3405
|
+
__name: "settings",
|
|
3406
|
+
__ssrInlineRender: true,
|
|
3407
|
+
setup(__props) {
|
|
3408
|
+
const { t } = useI18n();
|
|
3409
|
+
const site = useSiteConfig();
|
|
3410
|
+
const activeTab = ref("appearance");
|
|
3411
|
+
const tabs = computed(() => [
|
|
3412
|
+
{
|
|
3413
|
+
key: "appearance",
|
|
3414
|
+
icon: "i-tabler-palette",
|
|
3415
|
+
label: t("settings.theme")
|
|
3416
|
+
},
|
|
3417
|
+
{
|
|
3418
|
+
key: "runtime",
|
|
3419
|
+
icon: "i-tabler-settings",
|
|
3420
|
+
label: t("settings.runtimeTab")
|
|
3421
|
+
},
|
|
3422
|
+
{
|
|
3423
|
+
key: "skills",
|
|
3424
|
+
icon: "i-tabler-puzzle",
|
|
3425
|
+
label: t("settings.skillsTab")
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
key: "mcp",
|
|
3429
|
+
icon: "i-tabler-plug",
|
|
3430
|
+
label: t("settings.mcpTab")
|
|
3431
|
+
},
|
|
3432
|
+
{
|
|
3433
|
+
key: "prefabs",
|
|
3434
|
+
icon: "i-tabler-box",
|
|
3435
|
+
label: t("settings.prefabsTab")
|
|
3436
|
+
},
|
|
3437
|
+
{
|
|
3438
|
+
key: "system",
|
|
3439
|
+
icon: "i-tabler-server-2",
|
|
3440
|
+
label: t("settings.systemTab")
|
|
3441
|
+
}
|
|
3442
|
+
]);
|
|
3443
|
+
/** 懒挂载:隐藏 pane 此前也在跑请求(Runtime 98 项配置/系统参数);首次激活才挂载,挂后保留状态 */
|
|
3444
|
+
const mountedPanes = reactive({
|
|
3445
|
+
appearance: true,
|
|
3446
|
+
runtime: false,
|
|
3447
|
+
skills: false,
|
|
3448
|
+
mcp: false,
|
|
3449
|
+
prefabs: false,
|
|
3450
|
+
system: false
|
|
3451
|
+
});
|
|
3452
|
+
watch(activeTab, (k) => {
|
|
3453
|
+
if (k === "appearance" || k === "runtime" || k === "skills" || k === "mcp" || k === "prefabs" || k === "system") mountedPanes[k] = true;
|
|
3454
|
+
});
|
|
3455
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
3456
|
+
const _component_a_card = card_default;
|
|
3457
|
+
_push(`<div${ssrRenderAttrs(mergeProps({ class: "settings-page" }, _attrs))} data-v-bddef359><div class="aw-page-head" data-v-bddef359><div data-v-bddef359><p class="aw-kicker" data-v-bddef359>${ssrInterpolate(unref(t)("menu.system"))} / settings </p><h1 data-v-bddef359>${ssrInterpolate(unref(t)("settings.title"))}</h1></div><span class="aw-stamp" data-v-bddef359>v${ssrInterpolate(unref(site).version)}</span></div>`);
|
|
3458
|
+
_push(ssrRenderComponent(_component_a_card, {
|
|
3459
|
+
bordered: false,
|
|
3460
|
+
class: "settings-card"
|
|
3461
|
+
}, {
|
|
3462
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
3463
|
+
if (_push) {
|
|
3464
|
+
_push(`<div class="settings-layout" data-v-bddef359${_scopeId}><div class="settings-nav" role="tablist" data-v-bddef359${_scopeId}><!--[-->`);
|
|
3465
|
+
ssrRenderList(unref(tabs), (tab) => {
|
|
3466
|
+
_push(`<button role="tab"${ssrRenderAttr("aria-selected", unref(activeTab) === tab.key ? "true" : "false")} class="${ssrRenderClass([{ active: unref(activeTab) === tab.key }, "nav-item"])}" data-v-bddef359${_scopeId}><span class="${ssrRenderClass(tab.icon)}" data-v-bddef359${_scopeId}></span><span data-v-bddef359${_scopeId}>${ssrInterpolate(tab.label)}</span></button>`);
|
|
3467
|
+
});
|
|
3468
|
+
_push(`<!--]--></div><div class="settings-body" data-v-bddef359${_scopeId}>`);
|
|
3469
|
+
if (unref(mountedPanes).appearance) _push(ssrRenderComponent(AppearancePane_default, { "active-tab": unref(activeTab) }, null, _parent, _scopeId));
|
|
3470
|
+
else _push(`<!---->`);
|
|
3471
|
+
if (unref(mountedPanes).runtime) _push(ssrRenderComponent(RuntimePane_default, { "active-tab": unref(activeTab) }, null, _parent, _scopeId));
|
|
3472
|
+
else _push(`<!---->`);
|
|
3473
|
+
if (unref(mountedPanes).skills) _push(ssrRenderComponent(SkillsPane_default, { "active-tab": unref(activeTab) }, null, _parent, _scopeId));
|
|
3474
|
+
else _push(`<!---->`);
|
|
3475
|
+
if (unref(mountedPanes).mcp) _push(ssrRenderComponent(McpServersPane_default, { "active-tab": unref(activeTab) }, null, _parent, _scopeId));
|
|
3476
|
+
else _push(`<!---->`);
|
|
3477
|
+
if (unref(mountedPanes).prefabs) _push(ssrRenderComponent(AgentPrefabsPane_default, { "active-tab": unref(activeTab) }, null, _parent, _scopeId));
|
|
3478
|
+
else _push(`<!---->`);
|
|
3479
|
+
if (unref(mountedPanes).system) _push(ssrRenderComponent(SystemPane_default, { "active-tab": unref(activeTab) }, null, _parent, _scopeId));
|
|
3480
|
+
else _push(`<!---->`);
|
|
3481
|
+
_push(`</div></div>`);
|
|
3482
|
+
} else return [createVNode("div", { class: "settings-layout" }, [createVNode("div", {
|
|
3483
|
+
class: "settings-nav",
|
|
3484
|
+
role: "tablist"
|
|
3485
|
+
}, [(openBlock(true), createBlock(Fragment, null, renderList(unref(tabs), (tab) => {
|
|
3486
|
+
return openBlock(), createBlock("button", {
|
|
3487
|
+
key: tab.key,
|
|
3488
|
+
role: "tab",
|
|
3489
|
+
"aria-selected": unref(activeTab) === tab.key ? "true" : "false",
|
|
3490
|
+
class: ["nav-item", { active: unref(activeTab) === tab.key }],
|
|
3491
|
+
onClick: ($event) => activeTab.value = tab.key
|
|
3492
|
+
}, [createVNode("span", { class: tab.icon }, null, 2), createVNode("span", null, toDisplayString(tab.label), 1)], 10, ["aria-selected", "onClick"]);
|
|
3493
|
+
}), 128))]), createVNode("div", { class: "settings-body" }, [
|
|
3494
|
+
unref(mountedPanes).appearance ? (openBlock(), createBlock(AppearancePane_default, {
|
|
3495
|
+
key: 0,
|
|
3496
|
+
"active-tab": unref(activeTab)
|
|
3497
|
+
}, null, 8, ["active-tab"])) : createCommentVNode("", true),
|
|
3498
|
+
unref(mountedPanes).runtime ? (openBlock(), createBlock(RuntimePane_default, {
|
|
3499
|
+
key: 1,
|
|
3500
|
+
"active-tab": unref(activeTab)
|
|
3501
|
+
}, null, 8, ["active-tab"])) : createCommentVNode("", true),
|
|
3502
|
+
unref(mountedPanes).skills ? (openBlock(), createBlock(SkillsPane_default, {
|
|
3503
|
+
key: 2,
|
|
3504
|
+
"active-tab": unref(activeTab)
|
|
3505
|
+
}, null, 8, ["active-tab"])) : createCommentVNode("", true),
|
|
3506
|
+
unref(mountedPanes).mcp ? (openBlock(), createBlock(McpServersPane_default, {
|
|
3507
|
+
key: 3,
|
|
3508
|
+
"active-tab": unref(activeTab)
|
|
3509
|
+
}, null, 8, ["active-tab"])) : createCommentVNode("", true),
|
|
3510
|
+
unref(mountedPanes).prefabs ? (openBlock(), createBlock(AgentPrefabsPane_default, {
|
|
3511
|
+
key: 4,
|
|
3512
|
+
"active-tab": unref(activeTab)
|
|
3513
|
+
}, null, 8, ["active-tab"])) : createCommentVNode("", true),
|
|
3514
|
+
unref(mountedPanes).system ? (openBlock(), createBlock(SystemPane_default, {
|
|
3515
|
+
key: 5,
|
|
3516
|
+
"active-tab": unref(activeTab)
|
|
3517
|
+
}, null, 8, ["active-tab"])) : createCommentVNode("", true)
|
|
3518
|
+
])])];
|
|
3519
|
+
}),
|
|
3520
|
+
_: 1
|
|
3521
|
+
}, _parent));
|
|
3522
|
+
_push(`</div>`);
|
|
3523
|
+
};
|
|
3524
|
+
}
|
|
3525
|
+
});
|
|
3526
|
+
//#endregion
|
|
3527
|
+
//#region app/pages/settings.vue
|
|
3528
|
+
var _sfc_setup = settings_vue_vue_type_script_setup_true_lang_default.setup;
|
|
3529
|
+
settings_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
3530
|
+
const ssrContext = useSSRContext();
|
|
3531
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/settings.vue");
|
|
3532
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
3533
|
+
};
|
|
3534
|
+
var settings_default = /*#__PURE__*/ _plugin_vue_export_helper_default(settings_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-bddef359"]]);
|
|
3535
|
+
|
|
3536
|
+
export { settings_default as default };
|
|
3537
|
+
//# sourceMappingURL=settings-DpVwa_M8.mjs.map
|