@futdevpro/ccap 1.1.2486 → 1.1.2496

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/client-dist/{agent-instances.module-NY6OTFL6.js → agent-instances.module-NV2WBZS3.js} +2 -2
  2. package/client-dist/{ca.module-4XUT5QFL.js → ca.module-RQPGINCA.js} +2 -2
  3. package/client-dist/{cc.module-X6GUCYIV.js → cc.module-6VDATPC6.js} +2 -2
  4. package/client-dist/{chunk-762HGDN4.js → chunk-2KE5OX35.js} +2 -2
  5. package/client-dist/{chunk-PSDLL3LV.js → chunk-2XGR6NI6.js} +2 -2
  6. package/client-dist/{chunk-FPIIUABN.js → chunk-3DWEWT3Z.js} +2 -2
  7. package/client-dist/{chunk-4TTV67GH.js → chunk-4WFC6S4J.js} +2 -2
  8. package/client-dist/{chunk-F6ACQSZB.js → chunk-5VKFZPAC.js} +2 -2
  9. package/client-dist/{chunk-LU5QVPA2.js → chunk-5WMXO253.js} +2 -2
  10. package/client-dist/{chunk-ANNG2WFZ.js → chunk-5YWLFHFU.js} +2 -2
  11. package/client-dist/{chunk-FIJBOQMR.js → chunk-6TLT2HW4.js} +2 -2
  12. package/client-dist/{chunk-3B23A6ET.js → chunk-7EQ4ZXQN.js} +2 -2
  13. package/client-dist/{chunk-THJL72S4.js → chunk-7JH5FCNU.js} +2 -2
  14. package/client-dist/{chunk-DHPNWAB5.js → chunk-AF772FEW.js} +2 -2
  15. package/client-dist/{chunk-YC356PPQ.js → chunk-BTGG7W6I.js} +2 -2
  16. package/client-dist/{chunk-TOAS3PDL.js → chunk-CKMOXK4Q.js} +2 -2
  17. package/client-dist/{chunk-BO2YDJSV.js → chunk-CNXZS3XJ.js} +2 -2
  18. package/client-dist/{chunk-7K6P6ARV.js → chunk-EDF2EQKZ.js} +2 -2
  19. package/client-dist/{chunk-Q4275YSM.js → chunk-EPRUPA2Q.js} +2 -2
  20. package/client-dist/{chunk-4HJDLLFI.js → chunk-F7X2YYE6.js} +2 -2
  21. package/client-dist/{chunk-YJDEC7KW.js → chunk-F7YWX2XF.js} +2 -2
  22. package/client-dist/{chunk-PPGVFGOL.js → chunk-G3PYZPPU.js} +2 -2
  23. package/client-dist/{chunk-QMNT46TC.js → chunk-GCECKZJT.js} +2 -2
  24. package/client-dist/{chunk-QMNT46TC.js.map → chunk-GCECKZJT.js.map} +1 -1
  25. package/client-dist/{chunk-MDH3Q3OS.js → chunk-GWFQ2RUP.js} +2 -2
  26. package/client-dist/{chunk-KWYD3T34.js → chunk-JPSGPQLQ.js} +2 -2
  27. package/client-dist/{chunk-7HIJ45EV.js → chunk-K5B4ELSR.js} +2 -2
  28. package/client-dist/{chunk-I4GMKCYR.js → chunk-KKQ7KUQF.js} +2 -2
  29. package/client-dist/{chunk-ZAJUU3BT.js → chunk-LAYOVL7C.js} +2 -2
  30. package/client-dist/{chunk-GAS7DUSC.js → chunk-LGR733VC.js} +2 -2
  31. package/client-dist/{chunk-UKNAYSM4.js → chunk-MSTWFD2Y.js} +2 -2
  32. package/client-dist/{chunk-JD4RP64P.js → chunk-MVZYKGWO.js} +2 -2
  33. package/client-dist/{chunk-XO2DENLS.js → chunk-MXHM4FRN.js} +2 -2
  34. package/client-dist/{chunk-CZYXB3I2.js → chunk-NMLC7Z27.js} +2 -2
  35. package/client-dist/{chunk-76UIOUJR.js → chunk-NPSFLNLJ.js} +2 -2
  36. package/client-dist/{chunk-XPKNGZPN.js → chunk-NT2263UJ.js} +2 -2
  37. package/client-dist/{chunk-CD7RSU4H.js → chunk-NTJQ3RZW.js} +2 -2
  38. package/client-dist/{chunk-XY5Q2DQV.js → chunk-PMEFYWSE.js} +2 -2
  39. package/client-dist/{chunk-AOYLB7AG.js → chunk-PPEZ7QCI.js} +2 -2
  40. package/client-dist/{chunk-GCCKIV6I.js → chunk-Q73TA6RA.js} +2 -2
  41. package/client-dist/{chunk-NE3O4BHT.js → chunk-QGUSZ5YO.js} +2 -2
  42. package/client-dist/{chunk-LAKLG4XY.js → chunk-QKBLSRUG.js} +2 -2
  43. package/client-dist/{chunk-6UW6XEBH.js → chunk-QP4FRBSO.js} +2 -2
  44. package/client-dist/{chunk-SGBHK2KJ.js → chunk-QW6CIFAD.js} +2 -2
  45. package/client-dist/{chunk-FFFFTXVE.js → chunk-RY34PL75.js} +2 -2
  46. package/client-dist/{chunk-SE3EW6S7.js → chunk-SNUXEZLB.js} +2 -2
  47. package/client-dist/{chunk-T6PVONS3.js → chunk-TC5YFTPT.js} +2 -2
  48. package/client-dist/{chunk-3QEZZHCF.js → chunk-U34B75Z6.js} +2 -2
  49. package/client-dist/{chunk-YFZDOPGK.js → chunk-UKWG2WI4.js} +2 -2
  50. package/client-dist/{chunk-MNU2EUD5.js → chunk-VDNFH2HC.js} +2 -2
  51. package/client-dist/{chunk-MFSHXXGG.js → chunk-WFFF5OFH.js} +2 -2
  52. package/client-dist/{chunk-JJCIOULH.js → chunk-WMSBC5QH.js} +2 -2
  53. package/client-dist/{chunk-YXPFFOKG.js → chunk-WO4YF7QB.js} +2 -2
  54. package/client-dist/{chunk-VBTMKAVX.js → chunk-WRXGGQII.js} +2 -2
  55. package/client-dist/{chunk-HXOU6MRK.js → chunk-X7YEOGC4.js} +2 -2
  56. package/client-dist/{chunk-443KZFZL.js → chunk-XA2HDFIL.js} +2 -2
  57. package/client-dist/{chunk-AZKXKO6S.js → chunk-XPV7GWWV.js} +2 -2
  58. package/client-dist/{chunk-7CGDW35I.js → chunk-XPZSKXVH.js} +2 -2
  59. package/client-dist/{chunk-2RSYXAWE.js → chunk-YKPLWIK5.js} +2 -2
  60. package/client-dist/{chunk-A7IU2QNC.js → chunk-ZI4HSI6Y.js} +2 -2
  61. package/client-dist/{consultant.module-4FXQHATQ.js → consultant.module-NGSP2B3G.js} +2 -2
  62. package/client-dist/{crd.module-3WQX4DIA.js → crd.module-IFMVOVAP.js} +2 -2
  63. package/client-dist/{dashboard.module-WBRRJ4YE.js → dashboard.module-FYPRARTZ.js} +2 -2
  64. package/client-dist/{do.module-UU6ACIUH.js → do.module-XOM27WFA.js} +2 -2
  65. package/client-dist/{document-library.module-NLEYSKW6.js → document-library.module-6LXPWQPP.js} +2 -2
  66. package/client-dist/{embedding-eval.module-3NPUSOR6.js → embedding-eval.module-GUCMNSH2.js} +2 -2
  67. package/client-dist/{embedding-registry.module-LIJ23WKC.js → embedding-registry.module-7UWRRLUA.js} +2 -2
  68. package/client-dist/{err.module-OI7MXHYF.js → err.module-PUOSVIKG.js} +2 -2
  69. package/client-dist/{feedback.module-AXXT4D74.js → feedback.module-OLFTFDJA.js} +2 -2
  70. package/client-dist/{host-runtime-mcp.module-L5E4I4QG.js → host-runtime-mcp.module-656MJPGT.js} +2 -2
  71. package/client-dist/index.html +2 -2
  72. package/client-dist/{live-dev-pipeline.module-BYSNKNFJ.js → live-dev-pipeline.module-BJMYI4UI.js} +2 -2
  73. package/client-dist/{logs.module-VWBOG3DL.js → logs.module-MLZLMYTE.js} +2 -2
  74. package/client-dist/{main-V5R5KYAK.js → main-CLPJW5SC.js} +3 -3
  75. package/client-dist/{master-control-remote-poc.module-F36SM6H6.js → master-control-remote-poc.module-7BSZRJR2.js} +2 -2
  76. package/client-dist/{mobile-app.module-BVJKWUA6.js → mobile-app.module-BM34VQFL.js} +2 -2
  77. package/client-dist/{model-registry.module-SM5VPRS6.js → model-registry.module-UL5M3JFF.js} +2 -2
  78. package/client-dist/{oc.module-MIMHN7G2.js → oc.module-552RIE2F.js} +2 -2
  79. package/client-dist/{orc.module-USJ4AN7X.js → orc.module-TT5A7QQC.js} +2 -2
  80. package/client-dist/{project-management.module-SLCU3EXS.js → project-management.module-WITST5DG.js} +2 -2
  81. package/client-dist/project-source-routed.module-7TENTC4F.js +2 -0
  82. package/client-dist/{scheduler.module-U2TGURPA.js → scheduler.module-ZBL34Q63.js} +2 -2
  83. package/client-dist/{session.module-NTC2DJN5.js → session.module-WHTXOYS3.js} +2 -2
  84. package/client-dist/set.module-PPEFHW4R.js +11 -0
  85. package/client-dist/{set.module-PAYJNWSE.js.map → set.module-PPEFHW4R.js.map} +4 -4
  86. package/client-dist/{setup.module-ZQWM3BDB.js → setup.module-G7NN5PA5.js} +2 -2
  87. package/client-dist/styles-EVOJBQNQ.css +2 -0
  88. package/client-dist/styles-EVOJBQNQ.css.map +7 -0
  89. package/client-dist/{terminals.module-26KPJ7LE.js → terminals.module-ZSJXXPMM.js} +2 -2
  90. package/client-dist/{voice-notes-poc.module-2W2TWAXJ.js → voice-notes-poc.module-TC7J2GKN.js} +2 -2
  91. package/client-dist/{wfs.module-QH56XQBA.js → wfs.module-L5IJVPMN.js} +2 -2
  92. package/package.json +1 -1
  93. package/server/build/src/_modules/external-sessions/_modules/claude-code/_routes/claude-code.controller.d.ts.map +1 -1
  94. package/server/build/src/_modules/external-sessions/_modules/claude-code/_routes/claude-code.controller.js +15 -0
  95. package/server/build/src/_modules/external-sessions/_modules/claude-code/_routes/claude-code.controller.js.map +1 -1
  96. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/control-services/cc-terminal-runner.js +39 -0
  97. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/control-services/cc-terminal-runner.js.map +1 -1
  98. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-route.control-service.d.ts +13 -0
  99. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-route.control-service.d.ts.map +1 -1
  100. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-route.control-service.js +40 -0
  101. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-route.control-service.js.map +1 -1
  102. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.d.ts +27 -0
  103. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.d.ts.map +1 -1
  104. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.js +74 -3
  105. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.js.map +1 -1
  106. package/server/build/src/_modules/setup-config/_routes/sc-server-status.controller.d.ts.map +1 -1
  107. package/server/build/src/_modules/setup-config/_routes/sc-server-status.controller.js +13 -0
  108. package/server/build/src/_modules/setup-config/_routes/sc-server-status.controller.js.map +1 -1
  109. package/server/build/src/_modules/setup-config/_services/control-services/sc-server-status.control-service.d.ts +16 -0
  110. package/server/build/src/_modules/setup-config/_services/control-services/sc-server-status.control-service.d.ts.map +1 -1
  111. package/server/build/src/_modules/setup-config/_services/control-services/sc-server-status.control-service.js +58 -0
  112. package/server/build/src/_modules/setup-config/_services/control-services/sc-server-status.control-service.js.map +1 -1
  113. package/client-dist/project-source-routed.module-C7A2NTI5.js +0 -2
  114. package/client-dist/set.module-PAYJNWSE.js +0 -11
  115. package/client-dist/styles-MX5RK5AJ.css +0 -2
  116. package/client-dist/styles-MX5RK5AJ.css.map +0 -7
  117. /package/client-dist/{agent-instances.module-NY6OTFL6.js.map → agent-instances.module-NV2WBZS3.js.map} +0 -0
  118. /package/client-dist/{ca.module-4XUT5QFL.js.map → ca.module-RQPGINCA.js.map} +0 -0
  119. /package/client-dist/{cc.module-X6GUCYIV.js.map → cc.module-6VDATPC6.js.map} +0 -0
  120. /package/client-dist/{chunk-762HGDN4.js.map → chunk-2KE5OX35.js.map} +0 -0
  121. /package/client-dist/{chunk-PSDLL3LV.js.map → chunk-2XGR6NI6.js.map} +0 -0
  122. /package/client-dist/{chunk-FPIIUABN.js.map → chunk-3DWEWT3Z.js.map} +0 -0
  123. /package/client-dist/{chunk-4TTV67GH.js.map → chunk-4WFC6S4J.js.map} +0 -0
  124. /package/client-dist/{chunk-F6ACQSZB.js.map → chunk-5VKFZPAC.js.map} +0 -0
  125. /package/client-dist/{chunk-LU5QVPA2.js.map → chunk-5WMXO253.js.map} +0 -0
  126. /package/client-dist/{chunk-ANNG2WFZ.js.map → chunk-5YWLFHFU.js.map} +0 -0
  127. /package/client-dist/{chunk-FIJBOQMR.js.map → chunk-6TLT2HW4.js.map} +0 -0
  128. /package/client-dist/{chunk-3B23A6ET.js.map → chunk-7EQ4ZXQN.js.map} +0 -0
  129. /package/client-dist/{chunk-THJL72S4.js.map → chunk-7JH5FCNU.js.map} +0 -0
  130. /package/client-dist/{chunk-DHPNWAB5.js.map → chunk-AF772FEW.js.map} +0 -0
  131. /package/client-dist/{chunk-YC356PPQ.js.map → chunk-BTGG7W6I.js.map} +0 -0
  132. /package/client-dist/{chunk-TOAS3PDL.js.map → chunk-CKMOXK4Q.js.map} +0 -0
  133. /package/client-dist/{chunk-BO2YDJSV.js.map → chunk-CNXZS3XJ.js.map} +0 -0
  134. /package/client-dist/{chunk-7K6P6ARV.js.map → chunk-EDF2EQKZ.js.map} +0 -0
  135. /package/client-dist/{chunk-Q4275YSM.js.map → chunk-EPRUPA2Q.js.map} +0 -0
  136. /package/client-dist/{chunk-4HJDLLFI.js.map → chunk-F7X2YYE6.js.map} +0 -0
  137. /package/client-dist/{chunk-YJDEC7KW.js.map → chunk-F7YWX2XF.js.map} +0 -0
  138. /package/client-dist/{chunk-PPGVFGOL.js.map → chunk-G3PYZPPU.js.map} +0 -0
  139. /package/client-dist/{chunk-MDH3Q3OS.js.map → chunk-GWFQ2RUP.js.map} +0 -0
  140. /package/client-dist/{chunk-KWYD3T34.js.map → chunk-JPSGPQLQ.js.map} +0 -0
  141. /package/client-dist/{chunk-7HIJ45EV.js.map → chunk-K5B4ELSR.js.map} +0 -0
  142. /package/client-dist/{chunk-I4GMKCYR.js.map → chunk-KKQ7KUQF.js.map} +0 -0
  143. /package/client-dist/{chunk-ZAJUU3BT.js.map → chunk-LAYOVL7C.js.map} +0 -0
  144. /package/client-dist/{chunk-GAS7DUSC.js.map → chunk-LGR733VC.js.map} +0 -0
  145. /package/client-dist/{chunk-UKNAYSM4.js.map → chunk-MSTWFD2Y.js.map} +0 -0
  146. /package/client-dist/{chunk-JD4RP64P.js.map → chunk-MVZYKGWO.js.map} +0 -0
  147. /package/client-dist/{chunk-XO2DENLS.js.map → chunk-MXHM4FRN.js.map} +0 -0
  148. /package/client-dist/{chunk-CZYXB3I2.js.map → chunk-NMLC7Z27.js.map} +0 -0
  149. /package/client-dist/{chunk-76UIOUJR.js.map → chunk-NPSFLNLJ.js.map} +0 -0
  150. /package/client-dist/{chunk-XPKNGZPN.js.map → chunk-NT2263UJ.js.map} +0 -0
  151. /package/client-dist/{chunk-CD7RSU4H.js.map → chunk-NTJQ3RZW.js.map} +0 -0
  152. /package/client-dist/{chunk-XY5Q2DQV.js.map → chunk-PMEFYWSE.js.map} +0 -0
  153. /package/client-dist/{chunk-AOYLB7AG.js.map → chunk-PPEZ7QCI.js.map} +0 -0
  154. /package/client-dist/{chunk-GCCKIV6I.js.map → chunk-Q73TA6RA.js.map} +0 -0
  155. /package/client-dist/{chunk-NE3O4BHT.js.map → chunk-QGUSZ5YO.js.map} +0 -0
  156. /package/client-dist/{chunk-LAKLG4XY.js.map → chunk-QKBLSRUG.js.map} +0 -0
  157. /package/client-dist/{chunk-6UW6XEBH.js.map → chunk-QP4FRBSO.js.map} +0 -0
  158. /package/client-dist/{chunk-SGBHK2KJ.js.map → chunk-QW6CIFAD.js.map} +0 -0
  159. /package/client-dist/{chunk-FFFFTXVE.js.map → chunk-RY34PL75.js.map} +0 -0
  160. /package/client-dist/{chunk-SE3EW6S7.js.map → chunk-SNUXEZLB.js.map} +0 -0
  161. /package/client-dist/{chunk-T6PVONS3.js.map → chunk-TC5YFTPT.js.map} +0 -0
  162. /package/client-dist/{chunk-3QEZZHCF.js.map → chunk-U34B75Z6.js.map} +0 -0
  163. /package/client-dist/{chunk-YFZDOPGK.js.map → chunk-UKWG2WI4.js.map} +0 -0
  164. /package/client-dist/{chunk-MNU2EUD5.js.map → chunk-VDNFH2HC.js.map} +0 -0
  165. /package/client-dist/{chunk-MFSHXXGG.js.map → chunk-WFFF5OFH.js.map} +0 -0
  166. /package/client-dist/{chunk-JJCIOULH.js.map → chunk-WMSBC5QH.js.map} +0 -0
  167. /package/client-dist/{chunk-YXPFFOKG.js.map → chunk-WO4YF7QB.js.map} +0 -0
  168. /package/client-dist/{chunk-VBTMKAVX.js.map → chunk-WRXGGQII.js.map} +0 -0
  169. /package/client-dist/{chunk-HXOU6MRK.js.map → chunk-X7YEOGC4.js.map} +0 -0
  170. /package/client-dist/{chunk-443KZFZL.js.map → chunk-XA2HDFIL.js.map} +0 -0
  171. /package/client-dist/{chunk-AZKXKO6S.js.map → chunk-XPV7GWWV.js.map} +0 -0
  172. /package/client-dist/{chunk-7CGDW35I.js.map → chunk-XPZSKXVH.js.map} +0 -0
  173. /package/client-dist/{chunk-2RSYXAWE.js.map → chunk-YKPLWIK5.js.map} +0 -0
  174. /package/client-dist/{chunk-A7IU2QNC.js.map → chunk-ZI4HSI6Y.js.map} +0 -0
  175. /package/client-dist/{consultant.module-4FXQHATQ.js.map → consultant.module-NGSP2B3G.js.map} +0 -0
  176. /package/client-dist/{crd.module-3WQX4DIA.js.map → crd.module-IFMVOVAP.js.map} +0 -0
  177. /package/client-dist/{dashboard.module-WBRRJ4YE.js.map → dashboard.module-FYPRARTZ.js.map} +0 -0
  178. /package/client-dist/{do.module-UU6ACIUH.js.map → do.module-XOM27WFA.js.map} +0 -0
  179. /package/client-dist/{document-library.module-NLEYSKW6.js.map → document-library.module-6LXPWQPP.js.map} +0 -0
  180. /package/client-dist/{embedding-eval.module-3NPUSOR6.js.map → embedding-eval.module-GUCMNSH2.js.map} +0 -0
  181. /package/client-dist/{embedding-registry.module-LIJ23WKC.js.map → embedding-registry.module-7UWRRLUA.js.map} +0 -0
  182. /package/client-dist/{err.module-OI7MXHYF.js.map → err.module-PUOSVIKG.js.map} +0 -0
  183. /package/client-dist/{feedback.module-AXXT4D74.js.map → feedback.module-OLFTFDJA.js.map} +0 -0
  184. /package/client-dist/{host-runtime-mcp.module-L5E4I4QG.js.map → host-runtime-mcp.module-656MJPGT.js.map} +0 -0
  185. /package/client-dist/{live-dev-pipeline.module-BYSNKNFJ.js.map → live-dev-pipeline.module-BJMYI4UI.js.map} +0 -0
  186. /package/client-dist/{logs.module-VWBOG3DL.js.map → logs.module-MLZLMYTE.js.map} +0 -0
  187. /package/client-dist/{main-V5R5KYAK.js.map → main-CLPJW5SC.js.map} +0 -0
  188. /package/client-dist/{master-control-remote-poc.module-F36SM6H6.js.map → master-control-remote-poc.module-7BSZRJR2.js.map} +0 -0
  189. /package/client-dist/{mobile-app.module-BVJKWUA6.js.map → mobile-app.module-BM34VQFL.js.map} +0 -0
  190. /package/client-dist/{model-registry.module-SM5VPRS6.js.map → model-registry.module-UL5M3JFF.js.map} +0 -0
  191. /package/client-dist/{oc.module-MIMHN7G2.js.map → oc.module-552RIE2F.js.map} +0 -0
  192. /package/client-dist/{orc.module-USJ4AN7X.js.map → orc.module-TT5A7QQC.js.map} +0 -0
  193. /package/client-dist/{project-management.module-SLCU3EXS.js.map → project-management.module-WITST5DG.js.map} +0 -0
  194. /package/client-dist/{project-source-routed.module-C7A2NTI5.js.map → project-source-routed.module-7TENTC4F.js.map} +0 -0
  195. /package/client-dist/{scheduler.module-U2TGURPA.js.map → scheduler.module-ZBL34Q63.js.map} +0 -0
  196. /package/client-dist/{session.module-NTC2DJN5.js.map → session.module-WHTXOYS3.js.map} +0 -0
  197. /package/client-dist/{setup.module-ZQWM3BDB.js.map → setup.module-G7NN5PA5.js.map} +0 -0
  198. /package/client-dist/{terminals.module-26KPJ7LE.js.map → terminals.module-ZSJXXPMM.js.map} +0 -0
  199. /package/client-dist/{voice-notes-poc.module-2W2TWAXJ.js.map → voice-notes-poc.module-TC7J2GKN.js.map} +0 -0
  200. /package/client-dist/{wfs.module-QH56XQBA.js.map → wfs.module-L5IJVPMN.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import{I as _,K as T,N as D,p as U}from"./chunk-QMNT46TC.js";import{C,Gb as H,a as b,aa as I,b as j,h as w,k as L,p as g,q as h,wb as d,xb as M,y as F}from"./chunk-TBMJSIBB.js";var y=[{prefix:"/setup",hint:"Setup \u2014 client/src/app/_modules/config/_modules/setup/"},{prefix:"/settings",hint:"Settings \u2014 client/src/app/_modules/config/_modules/settings/"},{prefix:"/model-registry",hint:"Model registry \u2014 client/src/app/_modules/model-registry/"},{prefix:"/embedding-registry",hint:"Embedding registry \u2014 client/src/app/_modules/ai-systems/_modules/embedding-registry/"},{prefix:"/embedding-eval",hint:"Embedding eval \u2014 client/src/app/_modules/embedding-eval/"},{prefix:"/session",hint:"CCAP Session UI \u2014 client/src/app/_modules/session/"},{prefix:"/errors",hint:"Errors list \u2014 client/src/app/_modules/system/_modules/errors/"},{prefix:"/feedback",hint:"Feedback \u2014 client/src/app/_modules/feedback/"},{prefix:"/logs",hint:"Logs \u2014 client/src/app/_modules/dev/_modules/devtools/_modules/logs/"},{prefix:"/host-runtime-mcp",hint:"Host runtime MCP \u2014 client/src/app/_modules/dev/_modules/host-runtime-mcp/"},{prefix:"/voice-notes-poc",hint:"Voice notes POC \u2014 client/src/app/_modules/dev/_modules/poc/voice-notes-poc/"},{prefix:"/master-control-remote-poc",hint:"Master control remote POC \u2014 client/src/app/_modules/dev/_modules/poc/master-control-remote-poc/"},{prefix:"/workflow-settings",hint:"Workflow settings \u2014 client/src/app/_modules/config/_modules/workflow-settings/"},{prefix:"/coordinator",hint:"Coordinator \u2014 client/src/app/_modules/coordinator/"},{prefix:"/dark-office",hint:"Dark Office \u2014 client/src/app/_modules/dark-office/"},{prefix:"/project-management",hint:"Project management \u2014 client/src/app/_modules/project-management/"},{prefix:"/cc-session",hint:"CC Session UI \u2014 client/src/app/_modules/cc-session/"},{prefix:"/mobile-app",hint:"Mobile app \u2014 client/src/app/_modules/dev/_modules/poc/mobile-app/"},{prefix:"/oc-session",hint:"OC Session \u2014 client/src/app/_modules/oc/"},{prefix:"/ca-session",hint:"CA Session \u2014 client/src/app/_modules/ca-session/"},{prefix:"/consultant",hint:"Consultant \u2014 client/src/app/_modules/consultant/"},{prefix:"/agent-instances",hint:"Agent instances \u2014 client/src/app/_modules/agent-instances/"},{prefix:"/terminals",hint:"Terminals \u2014 client/src/app/_modules/dev/_modules/devtools/_modules/terminals/"},{prefix:"/live-development-pipeline",hint:"Live Development Pipeline \u2014 client/src/app/_modules/dev/_modules/devtools/_modules/live-dev-pipeline/"},{prefix:"/system-status",hint:"Legacy route \u2192 redirects to /live-development-pipeline \u2014 client/src/app/_modules/dev/_modules/devtools/_modules/live-dev-pipeline/"},{prefix:"/",hint:"Dashboard (root) \u2014 client/src/app/_modules/dashboard/"}];var q="NG0203",S=class r{static isNg0203Message(n){return n.trim()===q}static buildDiagnostics(n){let t={route:n.context.route,url:n.context.url,userAgent:n.context.userAgent,timestamp:n.context.timestamp},e=r.parseStackFrames(n.stack),i=typeof n.context.route=="string"?n.context.route:"",o=r.resolveRouteFeatureHints(i),s=r.buildStaticGuidance(),l=r.buildToolSteps({clientSnapshot:t,clientSource:n.clientSource,stackFrames:e,routeFeatureHints:o});return{summary:"Angular NG0203: inject() was called outside an injection context (constructor, field initializer, factory, or runInInjectionContext).",clientSource:n.clientSource,clientSnapshot:t,stackFrames:e,routeFeatureHints:o,staticGuidance:s,toolSteps:l}}static formatDiagnosticsAppendix(n){let t;try{t=JSON.stringify(n,null,2)}catch{t='{"ng0203Diagnostics":"JSON stringify failed"}'}return`
1
+ import{I as _,K as T,N as D,p as U}from"./chunk-GCECKZJT.js";import{C,Gb as H,a as b,aa as I,b as j,h as w,k as L,p as g,q as h,wb as d,xb as M,y as F}from"./chunk-TBMJSIBB.js";var y=[{prefix:"/setup",hint:"Setup \u2014 client/src/app/_modules/config/_modules/setup/"},{prefix:"/settings",hint:"Settings \u2014 client/src/app/_modules/config/_modules/settings/"},{prefix:"/model-registry",hint:"Model registry \u2014 client/src/app/_modules/model-registry/"},{prefix:"/embedding-registry",hint:"Embedding registry \u2014 client/src/app/_modules/ai-systems/_modules/embedding-registry/"},{prefix:"/embedding-eval",hint:"Embedding eval \u2014 client/src/app/_modules/embedding-eval/"},{prefix:"/session",hint:"CCAP Session UI \u2014 client/src/app/_modules/session/"},{prefix:"/errors",hint:"Errors list \u2014 client/src/app/_modules/system/_modules/errors/"},{prefix:"/feedback",hint:"Feedback \u2014 client/src/app/_modules/feedback/"},{prefix:"/logs",hint:"Logs \u2014 client/src/app/_modules/dev/_modules/devtools/_modules/logs/"},{prefix:"/host-runtime-mcp",hint:"Host runtime MCP \u2014 client/src/app/_modules/dev/_modules/host-runtime-mcp/"},{prefix:"/voice-notes-poc",hint:"Voice notes POC \u2014 client/src/app/_modules/dev/_modules/poc/voice-notes-poc/"},{prefix:"/master-control-remote-poc",hint:"Master control remote POC \u2014 client/src/app/_modules/dev/_modules/poc/master-control-remote-poc/"},{prefix:"/workflow-settings",hint:"Workflow settings \u2014 client/src/app/_modules/config/_modules/workflow-settings/"},{prefix:"/coordinator",hint:"Coordinator \u2014 client/src/app/_modules/coordinator/"},{prefix:"/dark-office",hint:"Dark Office \u2014 client/src/app/_modules/dark-office/"},{prefix:"/project-management",hint:"Project management \u2014 client/src/app/_modules/project-management/"},{prefix:"/cc-session",hint:"CC Session UI \u2014 client/src/app/_modules/cc-session/"},{prefix:"/mobile-app",hint:"Mobile app \u2014 client/src/app/_modules/dev/_modules/poc/mobile-app/"},{prefix:"/oc-session",hint:"OC Session \u2014 client/src/app/_modules/oc/"},{prefix:"/ca-session",hint:"CA Session \u2014 client/src/app/_modules/ca-session/"},{prefix:"/consultant",hint:"Consultant \u2014 client/src/app/_modules/consultant/"},{prefix:"/agent-instances",hint:"Agent instances \u2014 client/src/app/_modules/agent-instances/"},{prefix:"/terminals",hint:"Terminals \u2014 client/src/app/_modules/dev/_modules/devtools/_modules/terminals/"},{prefix:"/live-development-pipeline",hint:"Live Development Pipeline \u2014 client/src/app/_modules/dev/_modules/devtools/_modules/live-dev-pipeline/"},{prefix:"/system-status",hint:"Legacy route \u2192 redirects to /live-development-pipeline \u2014 client/src/app/_modules/dev/_modules/devtools/_modules/live-dev-pipeline/"},{prefix:"/",hint:"Dashboard (root) \u2014 client/src/app/_modules/dashboard/"}];var q="NG0203",S=class r{static isNg0203Message(n){return n.trim()===q}static buildDiagnostics(n){let t={route:n.context.route,url:n.context.url,userAgent:n.context.userAgent,timestamp:n.context.timestamp},e=r.parseStackFrames(n.stack),i=typeof n.context.route=="string"?n.context.route:"",o=r.resolveRouteFeatureHints(i),s=r.buildStaticGuidance(),l=r.buildToolSteps({clientSnapshot:t,clientSource:n.clientSource,stackFrames:e,routeFeatureHints:o});return{summary:"Angular NG0203: inject() was called outside an injection context (constructor, field initializer, factory, or runInInjectionContext).",clientSource:n.clientSource,clientSnapshot:t,stackFrames:e,routeFeatureHints:o,staticGuidance:s,toolSteps:l}}static formatDiagnosticsAppendix(n){let t;try{t=JSON.stringify(n,null,2)}catch{t='{"ng0203Diagnostics":"JSON stringify failed"}'}return`
2
2
 
3
3
  [NG0203 diagnostics]
4
4
  ${t}`}static parseStackFrames(n){if(n==null||!n.trim())return[];let t=n.split(`
@@ -24,4 +24,4 @@ ${String(n)}`}function nt(r){if(r instanceof Error&&typeof r.stack=="string"&&r.
24
24
  `),s=t!=null&&t.trim().length>0?t.trim():"(no stack)";return`${o}
25
25
 
26
26
  ${s}`}buildReportPayloadFromError(t,e){let i=this.getCurrentContext(),o=f.getErrorMessageForDisplay(t),s=r.enrichMessageForReport(t,o),l=f.getStackForReport(t),m=this.buildStackWithContext(l,i),R=r.extractErrorCode(t),E=r.extractAdditionalContent(t);return{message:s,stack:m,source:e??"client-app",errorCode:R,errorAdditionalContent:E,clientContext:i}}static enrichMessageForReport(t,e){if(!(t instanceof d))return e;let i=t.url?`URL: ${t.url}`:"URL: (?)",o=`status: ${t.status}`;return`${e} | ${i} | ${o}`}static extractErrorCode(t){if(t==null||typeof t!="object")return;let e=t;if(typeof e.errorCode=="string"&&e.errorCode.length>0)return e.errorCode;if(typeof e._errorCode=="string"&&e._errorCode.length>0)return e._errorCode}static extractAdditionalContent(t){if(t==null||typeof t!="object")return;let e=t;if(e.additionalContent!=null&&typeof e.additionalContent=="object")return e.additionalContent}buildReportPayloadFromParams(t){let e=this.getCurrentContext(),i=this.buildStackWithContext(t.stack,e);return{message:t.message,stack:i,source:t.source,clientContext:e}}showError(t,e){setTimeout(()=>{try{let i=f.getErrorMessageForDisplay(t),o=N.tryGetShortNotificationAffix({error:t});if(o.length>0&&(i=i+o),!(t instanceof d)&&!(this.settingsGeneral_DS.section_$().form.reportSocketConnectionErrorsToErrorList===!0)&&x.matchesDisplayMessage(i)){t instanceof Error&&p.DyFM_Log.error("[CCAP]",e??"client-app",t);return}let s=this.getCurrentContext(),l;if(k.isNg0600Message(i))try{l=k.buildDiagnostics({stack:f.getStackForReport(t),context:{route:s.route,url:s.url,userAgent:s.userAgent,timestamp:s.timestamp},clientSource:e})}catch(a){p.DyFM_Log.error("CCAP NG0600 diagnostics failed",a)}let m;if(S.isNg0203Message(i))try{m=S.buildDiagnostics({stack:f.getStackForReport(t),context:{route:s.route,url:s.url,userAgent:s.userAgent,timestamp:s.timestamp},clientSource:e})}catch(a){p.DyFM_Log.error("CCAP NG0203 diagnostics failed",a)}let R=e!=null&&e.trim().length>0?e.trim():void 0,E={id:this.nextNotificationId++,error:t,displayMessage:i,timestamp:Date.now(),isDismissing:!1,clientSource:R,ng0600Diagnostics:l,ng0203Diagnostics:m};if(this.errors_$.update(a=>{let u=[...a,E];return u.length>r.maxNotifications?u.slice(u.length-r.maxNotifications):u}),setTimeout(()=>{this.dismissNotification(E.id)},r.autoDismissMs),t instanceof Error&&p.DyFM_Log.error("[CCAP]",e??"client-app",t),!(t instanceof d)){let a=this.buildReportPayloadFromError(t,e??"client-app"),u="";l!=null?u=k.formatDiagnosticsAppendix(l):m!=null&&(u=S.formatDiagnosticsAppendix(m));let X=u.length>0?`${a.stack??""}${u}`:a.stack??"",Y={message:a.message,stack:X,source:a.source,sessionId:a.sessionId,runId:a.runId,errorCode:a.errorCode,errorAdditionalContent:a.errorAdditionalContent,clientContext:a.clientContext};this.errors_AS.reportError(Y).catch(()=>{})}}catch(i){p.DyFM_Log.error("CCAP showError set failed",i)}},0)}selectError(t){let e=this.errors_$().find(i=>i.id===t);e!=null&&this.selectedNotificationForModal_$.set(e)}dismissNotification(t){let i=this.errors_$().find(o=>o.id===t);i==null||i.isDismissing||(this.errors_$.update(o=>o.map(s=>s.id===t?j(b({},s),{isDismissing:!0}):s)),setTimeout(()=>{this.errors_$.update(o=>o.filter(s=>s.id!==t))},r.exitAnimationMs))}dismissSelected(){this.selectedNotificationForModal_$.set(null)}dismissAll(){this.errors_$.set([]),this.selectedNotificationForModal_$.set(null)}copyToClipboard(t){return L(this,null,function*(){return(yield this.tryWriteTextWithNavigatorClipboard(t))?{ok:!0}:this.copyTextWithExecCommand(t)?{ok:!0}:{ok:!1,error:new Error("Clipboard copy failed (secure Clipboard API unavailable or denied, and legacy execCommand copy failed)")}})}tryWriteTextWithNavigatorClipboard(t){return L(this,null,function*(){let e=typeof navigator<"u"?navigator.clipboard:void 0;if(e==null||typeof e.writeText!="function")return!1;try{return yield e.writeText(t),!0}catch{return!1}})}copyTextWithExecCommand(t){if(typeof document>"u"||typeof document.execCommand!="function")return!1;let e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.setAttribute("aria-hidden","true"),e.style.position="fixed",e.style.top="0",e.style.left="0",e.style.width="1px",e.style.height="1px",e.style.padding="0",e.style.margin="0",e.style.border="none",e.style.outline="none",e.style.opacity="0",e.style.pointerEvents="none",document.body.appendChild(e),e.focus(),e.select();let i=t.length;e.setSelectionRange(0,i);let o=!1;try{o=document.execCommand("copy")}catch{o=!1}return e.remove(),o}reportErrorOnly(t){if(!(this.settingsGeneral_DS.section_$().form.reportSocketConnectionErrorsToErrorList===!0)&&(t.source==="client-socket"||x.matchesDisplayMessage(t.message)))return;let i=this.buildReportPayloadFromParams(t);this.errors_AS.reportError(i).catch(()=>{})}static \u0275fac=function(e){return new(e||r)};static \u0275prov=F({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();export{S as a,k as b,c,$ as d,v as e,z as f,N as g,f as h,V as i,Ot as j};
27
- //# sourceMappingURL=chunk-3B23A6ET.js.map
27
+ //# sourceMappingURL=chunk-7EQ4ZXQN.js.map
@@ -1,2 +1,2 @@
1
- import{I as l}from"./chunk-QMNT46TC.js";import{C as d,aa as r,k as c,p as o,xb as n,y as s}from"./chunk-TBMJSIBB.js";var f=(()=>{class i{baseUrl=`${l.api.baseUrl}/agent-feedback`;http=d(n);listFeedback(e){let t=[];e?.type!==void 0&&e.type!==""&&t.push(`type=${encodeURIComponent(e.type)}`),e?.limit!==void 0&&t.push(`limit=${e.limit}`),e?.skip!==void 0&&t.push(`skip=${e.skip}`);let a=`${this.baseUrl}/list`,b=t.length?`${a}?${t.join("&")}`:a;return o(this.http.get(b))}deleteFeedback(e){return o(this.http.delete(`${this.baseUrl}/delete/${encodeURIComponent(e)}`))}deleteAllFeedback(){return o(this.http.delete(`${this.baseUrl}/delete-all`))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=s({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var A=(()=>{class i{feedback_$=r([]);feedbackLoading_$=r(!1);feedbackLoadError_$=r(null);filterType_$=r(void 0);feedbackTotalCount_$=r(0);feedback_AS=d(f);loadFeedback(){return c(this,null,function*(){this.feedbackLoading_$.set(!0),this.feedbackLoadError_$.set(null);try{let e=this.filterType_$(),a=(yield this.feedback_AS.listFeedback({type:e})).feedback??[];this.feedback_$.set(a),e===void 0&&this.feedbackTotalCount_$.set(a.length)}catch(e){this.feedbackLoadError_$.set(e),this.feedback_$.set([])}finally{this.feedbackLoading_$.set(!1)}})}setFilterType(e){this.filterType_$.set(e),this.loadFeedback()}clearAll(){return c(this,null,function*(){try{yield this.feedback_AS.deleteAllFeedback(),this.feedbackTotalCount_$.set(0),yield this.loadFeedback()}catch(e){this.feedbackLoadError_$.set(e)}})}clearOne(e){return c(this,null,function*(){try{yield this.feedback_AS.deleteFeedback(e),this.feedback_$.update(t=>t.filter(a=>a._id!==e)),this.feedbackTotalCount_$.update(t=>Math.max(0,t-1))}catch(t){this.feedbackLoadError_$.set(t)}})}static \u0275fac=function(t){return new(t||i)};static \u0275prov=s({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();export{A as a};
2
- //# sourceMappingURL=chunk-THJL72S4.js.map
1
+ import{I as l}from"./chunk-GCECKZJT.js";import{C as d,aa as r,k as c,p as o,xb as n,y as s}from"./chunk-TBMJSIBB.js";var f=(()=>{class i{baseUrl=`${l.api.baseUrl}/agent-feedback`;http=d(n);listFeedback(e){let t=[];e?.type!==void 0&&e.type!==""&&t.push(`type=${encodeURIComponent(e.type)}`),e?.limit!==void 0&&t.push(`limit=${e.limit}`),e?.skip!==void 0&&t.push(`skip=${e.skip}`);let a=`${this.baseUrl}/list`,b=t.length?`${a}?${t.join("&")}`:a;return o(this.http.get(b))}deleteFeedback(e){return o(this.http.delete(`${this.baseUrl}/delete/${encodeURIComponent(e)}`))}deleteAllFeedback(){return o(this.http.delete(`${this.baseUrl}/delete-all`))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=s({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var A=(()=>{class i{feedback_$=r([]);feedbackLoading_$=r(!1);feedbackLoadError_$=r(null);filterType_$=r(void 0);feedbackTotalCount_$=r(0);feedback_AS=d(f);loadFeedback(){return c(this,null,function*(){this.feedbackLoading_$.set(!0),this.feedbackLoadError_$.set(null);try{let e=this.filterType_$(),a=(yield this.feedback_AS.listFeedback({type:e})).feedback??[];this.feedback_$.set(a),e===void 0&&this.feedbackTotalCount_$.set(a.length)}catch(e){this.feedbackLoadError_$.set(e),this.feedback_$.set([])}finally{this.feedbackLoading_$.set(!1)}})}setFilterType(e){this.filterType_$.set(e),this.loadFeedback()}clearAll(){return c(this,null,function*(){try{yield this.feedback_AS.deleteAllFeedback(),this.feedbackTotalCount_$.set(0),yield this.loadFeedback()}catch(e){this.feedbackLoadError_$.set(e)}})}clearOne(e){return c(this,null,function*(){try{yield this.feedback_AS.deleteFeedback(e),this.feedback_$.update(t=>t.filter(a=>a._id!==e)),this.feedbackTotalCount_$.update(t=>Math.max(0,t-1))}catch(t){this.feedbackLoadError_$.set(t)}})}static \u0275fac=function(t){return new(t||i)};static \u0275prov=s({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();export{A as a};
2
+ //# sourceMappingURL=chunk-7JH5FCNU.js.map
@@ -1,2 +1,2 @@
1
- import{f as l}from"./chunk-VBTMKAVX.js";import{N as p}from"./chunk-QMNT46TC.js";import{C as i,aa as n,k as o,y as c}from"./chunk-TBMJSIBB.js";var d=(()=>{class a{settingsGeneral_DS=i(p);pm_AS=i(l);workspacePathPickerOptions_$=n([]);refreshWorkspacePathPickerOptions(){return o(this,null,function*(){yield this.settingsGeneral_DS.loadDefaultWorkspacePath();let t=this.settingsGeneral_DS.defaultWorkspacePath_$().trim(),e=[];t&&e.push({label:"Default Workspace",path:t}),this.workspacePathPickerOptions_$.set(e);try{let f=(yield this.pm_AS.listProjects()).projects.filter(s=>!!s.localPath&&!!s.isActive).map(s=>({label:s.name||"Unnamed Project",path:s.localPath??""})),r=[];t&&r.push({label:"Default Workspace",path:t}),r.push(...f),this.workspacePathPickerOptions_$.set(r)}catch{}})}resolveInitialWorkspacePath(t){let e=this.settingsGeneral_DS.defaultWorkspacePath_$().trim();return t.lastWorkspacePath.trim()||e}static \u0275fac=function(e){return new(e||a)};static \u0275prov=c({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();export{d as a};
2
- //# sourceMappingURL=chunk-DHPNWAB5.js.map
1
+ import{f as l}from"./chunk-WRXGGQII.js";import{N as p}from"./chunk-GCECKZJT.js";import{C as i,aa as n,k as o,y as c}from"./chunk-TBMJSIBB.js";var d=(()=>{class a{settingsGeneral_DS=i(p);pm_AS=i(l);workspacePathPickerOptions_$=n([]);refreshWorkspacePathPickerOptions(){return o(this,null,function*(){yield this.settingsGeneral_DS.loadDefaultWorkspacePath();let t=this.settingsGeneral_DS.defaultWorkspacePath_$().trim(),e=[];t&&e.push({label:"Default Workspace",path:t}),this.workspacePathPickerOptions_$.set(e);try{let f=(yield this.pm_AS.listProjects()).projects.filter(s=>!!s.localPath&&!!s.isActive).map(s=>({label:s.name||"Unnamed Project",path:s.localPath??""})),r=[];t&&r.push({label:"Default Workspace",path:t}),r.push(...f),this.workspacePathPickerOptions_$.set(r)}catch{}})}resolveInitialWorkspacePath(t){let e=this.settingsGeneral_DS.defaultWorkspacePath_$().trim();return t.lastWorkspacePath.trim()||e}static \u0275fac=function(e){return new(e||a)};static \u0275prov=c({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();export{d as a};
2
+ //# sourceMappingURL=chunk-AF772FEW.js.map
@@ -1,2 +1,2 @@
1
- import{b as c}from"./chunk-ANNG2WFZ.js";import{I as d,p as h}from"./chunk-QMNT46TC.js";import{C as l,aa as o,h as u,k as r,y as s}from"./chunk-TBMJSIBB.js";var e=function(t){return t.idle="idle",t.downloading="downloading",t.installing="installing",t.completed="completed",t.failed="failed",t}(e||{});var p=u(h());function m(){return typeof window.Capacitor<"u"&&window.Capacitor.isNativePlatform?.()===!0}function w(){let a=window.Capacitor?.Plugins?.AppUpdater;return a||null}var y=(()=>{class t{versionCheck_CS=l(c);downloadUrl=d.api.baseUrl+"/mobile/download";phase_$=o(e.idle);lastError_$=o("");startUpdate(){return r(this,null,function*(){let n=this.phase_$();if(!(n===e.downloading||n===e.installing)){this.lastError_$.set(""),this.phase_$.set(e.downloading);try{let i=w();if(i){this.phase_$.set(e.installing),yield i.downloadAndInstall({downloadUrl:this.downloadUrl}),this.phase_$.set(e.completed);return}this.openInSystemBrowser(this.downloadUrl),this.phase_$.set(e.completed)}catch(i){let f=i instanceof Error?i.message:String(i);this.lastError_$.set(f),this.phase_$.set(e.failed),p.DyFM_Error.logSimple("CCAP_MobileAppUpdater | startUpdate failed",i)}}})}autoUpdateIfAvailable(){return r(this,null,function*(){m()&&(yield this.versionCheck_CS.checkNow(),this.versionCheck_CS.updateAvailable_$()&&(yield this.startUpdate()))})}openInSystemBrowser(n){window.open(n,"_system")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=s({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{e as a,y as b};
2
- //# sourceMappingURL=chunk-YC356PPQ.js.map
1
+ import{b as c}from"./chunk-5YWLFHFU.js";import{I as d,p as h}from"./chunk-GCECKZJT.js";import{C as l,aa as o,h as u,k as r,y as s}from"./chunk-TBMJSIBB.js";var e=function(t){return t.idle="idle",t.downloading="downloading",t.installing="installing",t.completed="completed",t.failed="failed",t}(e||{});var p=u(h());function m(){return typeof window.Capacitor<"u"&&window.Capacitor.isNativePlatform?.()===!0}function w(){let a=window.Capacitor?.Plugins?.AppUpdater;return a||null}var y=(()=>{class t{versionCheck_CS=l(c);downloadUrl=d.api.baseUrl+"/mobile/download";phase_$=o(e.idle);lastError_$=o("");startUpdate(){return r(this,null,function*(){let n=this.phase_$();if(!(n===e.downloading||n===e.installing)){this.lastError_$.set(""),this.phase_$.set(e.downloading);try{let i=w();if(i){this.phase_$.set(e.installing),yield i.downloadAndInstall({downloadUrl:this.downloadUrl}),this.phase_$.set(e.completed);return}this.openInSystemBrowser(this.downloadUrl),this.phase_$.set(e.completed)}catch(i){let f=i instanceof Error?i.message:String(i);this.lastError_$.set(f),this.phase_$.set(e.failed),p.DyFM_Error.logSimple("CCAP_MobileAppUpdater | startUpdate failed",i)}}})}autoUpdateIfAvailable(){return r(this,null,function*(){m()&&(yield this.versionCheck_CS.checkNow(),this.versionCheck_CS.updateAvailable_$()&&(yield this.startUpdate()))})}openInSystemBrowser(n){window.open(n,"_system")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=s({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{e as a,y as b};
2
+ //# sourceMappingURL=chunk-BTGG7W6I.js.map
@@ -1,2 +1,2 @@
1
- import{p as o}from"./chunk-QMNT46TC.js";import{h as r}from"./chunk-TBMJSIBB.js";var a=function(t){return t.created="created",t.alreadyLinked="already-linked",t.userMarked="user-marked",t.errorNotFound="error-not-found",t}(a||{});var m=function(t){return t.confirm="confirm",t.optionSelect="option-select",t.question="question",t}(m||{});var e=r(o());var d=new e.DyFM_DataModel_Params({dataName:"ccap_setting",properties:{ccapId:{type:"string"},sectionId:{type:"string",required:!0,index:!0},sectionProtectionFlag:{type:"string",required:!0,unique:!0},payload:{type:"object",required:!0}}});var p=r(o());var S=new p.DyFM_DataModel_Params({dataName:"pm_project",properties:{ccapId:{type:"string",index:!0},name:{type:"string",required:!0,index:!0},githubRepoUrl:{type:"string"},description:{type:"string"},localPath:{type:"string"},isActive:{type:"boolean"},preferredBugsMdRelativePath:{type:"string"},gitBranch:{type:"string"},gitStatus:{type:"string"},gitAheadBehind:{type:"string"},gitLastCommitDate:{type:"string"},gitLastCommitMessage:{type:"string"},gitLastCommitAuthor:{type:"string"},gitRemoteUrl:{type:"string"},gitInfo:{type:"object"},packageVersion:{type:"string"},packageScripts:{type:"array"},packageDependencyCount:{type:"number"},packageDevDependencyCount:{type:"number"},packageInfo:{type:"object"},artifacts:{type:"object"},lastSyncAt:{type:"string"},lastSyncStatus:{type:"string"},lastSyncSummary:{type:"string"},lastSyncDurationMs:{type:"number"},lastSyncErrors:{type:"array"},githubOwner:{type:"string"},githubRepo:{type:"string"},githubIssueSyncEnabled:{type:"boolean"},githubIssueSyncAt:{type:"string"},githubIssueSyncStatus:{type:"string"},githubIssueSyncSummary:{type:"string"},githubIssueSyncConfig:{type:"object"},githubPrSyncEnabled:{type:"boolean"},githubPrSyncAt:{type:"string"}}});var n=r(o());var P=new n.DyFM_DataModel_Params({dataName:"pm_user_request",properties:{projectId:{type:"string",required:!0,index:!0},content:{type:"string",required:!0},title:{type:"string"},type:{type:"string"},code:{type:"string"},priority:{type:"string"},area:{type:"string"},phase:{type:"string"},status:{type:"string"},specStatus:{type:"string"},implStatus:{type:"string"},testStatus:{type:"string"},completeStatus:{type:"string"},githubIssueNumber:{type:"number",index:!0},githubIssueUrl:{type:"string"},githubIssueId:{type:"number"},githubSyncedAt:{type:"string"},githubSyncDirection:{type:"string"}}});var s=r(o());var k=new s.DyFM_DataModel_Params({dataName:"ccap_quick_input",properties:{projectId:{type:"string",required:!0,index:!0},rawContent:{type:"string",required:!0},title:{type:"string"},status:{type:"string",required:!0,index:!0},promotedUserRequestId:{type:"string"},promotedBugCode:{type:"string"},predictedProjectId:{type:"string",index:!0},predictedType:{type:"string"},predictedCleanDescription:{type:"string"},taskDifficulty:{type:"string"},priority:{type:"string"},area:{type:"string"},createdAtVersion:{type:"string"}}});var x=r(o());var q=new x.DyFM_DataModel_Params({dataName:"pm_project_group",properties:{ccapId:{type:"string",index:!0},name:{type:"string",required:!0,index:!0},scanPath:{type:"string",required:!0},description:{type:"string"}}});var i=r(o());var A=new i.DyFM_DataModel_Params({dataName:"pm_project_group_file",properties:{groupId:{type:"string",required:!0,index:!0},ccapId:{type:"string",index:!0},relativePath:{type:"string",required:!0},sizeBytes:{type:"number"},lastModifiedAt:{type:"string"},fileHash:{type:"string"},isDirectory:{type:"boolean"}}});export{a,m as b};
2
- //# sourceMappingURL=chunk-TOAS3PDL.js.map
1
+ import{p as o}from"./chunk-GCECKZJT.js";import{h as r}from"./chunk-TBMJSIBB.js";var a=function(t){return t.created="created",t.alreadyLinked="already-linked",t.userMarked="user-marked",t.errorNotFound="error-not-found",t}(a||{});var m=function(t){return t.confirm="confirm",t.optionSelect="option-select",t.question="question",t}(m||{});var e=r(o());var d=new e.DyFM_DataModel_Params({dataName:"ccap_setting",properties:{ccapId:{type:"string"},sectionId:{type:"string",required:!0,index:!0},sectionProtectionFlag:{type:"string",required:!0,unique:!0},payload:{type:"object",required:!0}}});var p=r(o());var S=new p.DyFM_DataModel_Params({dataName:"pm_project",properties:{ccapId:{type:"string",index:!0},name:{type:"string",required:!0,index:!0},githubRepoUrl:{type:"string"},description:{type:"string"},localPath:{type:"string"},isActive:{type:"boolean"},preferredBugsMdRelativePath:{type:"string"},gitBranch:{type:"string"},gitStatus:{type:"string"},gitAheadBehind:{type:"string"},gitLastCommitDate:{type:"string"},gitLastCommitMessage:{type:"string"},gitLastCommitAuthor:{type:"string"},gitRemoteUrl:{type:"string"},gitInfo:{type:"object"},packageVersion:{type:"string"},packageScripts:{type:"array"},packageDependencyCount:{type:"number"},packageDevDependencyCount:{type:"number"},packageInfo:{type:"object"},artifacts:{type:"object"},lastSyncAt:{type:"string"},lastSyncStatus:{type:"string"},lastSyncSummary:{type:"string"},lastSyncDurationMs:{type:"number"},lastSyncErrors:{type:"array"},githubOwner:{type:"string"},githubRepo:{type:"string"},githubIssueSyncEnabled:{type:"boolean"},githubIssueSyncAt:{type:"string"},githubIssueSyncStatus:{type:"string"},githubIssueSyncSummary:{type:"string"},githubIssueSyncConfig:{type:"object"},githubPrSyncEnabled:{type:"boolean"},githubPrSyncAt:{type:"string"}}});var n=r(o());var P=new n.DyFM_DataModel_Params({dataName:"pm_user_request",properties:{projectId:{type:"string",required:!0,index:!0},content:{type:"string",required:!0},title:{type:"string"},type:{type:"string"},code:{type:"string"},priority:{type:"string"},area:{type:"string"},phase:{type:"string"},status:{type:"string"},specStatus:{type:"string"},implStatus:{type:"string"},testStatus:{type:"string"},completeStatus:{type:"string"},githubIssueNumber:{type:"number",index:!0},githubIssueUrl:{type:"string"},githubIssueId:{type:"number"},githubSyncedAt:{type:"string"},githubSyncDirection:{type:"string"}}});var s=r(o());var k=new s.DyFM_DataModel_Params({dataName:"ccap_quick_input",properties:{projectId:{type:"string",required:!0,index:!0},rawContent:{type:"string",required:!0},title:{type:"string"},status:{type:"string",required:!0,index:!0},promotedUserRequestId:{type:"string"},promotedBugCode:{type:"string"},predictedProjectId:{type:"string",index:!0},predictedType:{type:"string"},predictedCleanDescription:{type:"string"},taskDifficulty:{type:"string"},priority:{type:"string"},area:{type:"string"},createdAtVersion:{type:"string"}}});var x=r(o());var q=new x.DyFM_DataModel_Params({dataName:"pm_project_group",properties:{ccapId:{type:"string",index:!0},name:{type:"string",required:!0,index:!0},scanPath:{type:"string",required:!0},description:{type:"string"}}});var i=r(o());var A=new i.DyFM_DataModel_Params({dataName:"pm_project_group_file",properties:{groupId:{type:"string",required:!0,index:!0},ccapId:{type:"string",index:!0},relativePath:{type:"string",required:!0},sizeBytes:{type:"number"},lastModifiedAt:{type:"string"},fileHash:{type:"string"},isDirectory:{type:"boolean"}}});export{a,m as b};
2
+ //# sourceMappingURL=chunk-CKMOXK4Q.js.map
@@ -1,2 +1,2 @@
1
- import{p as h}from"./chunk-QMNT46TC.js";import{h as S}from"./chunk-TBMJSIBB.js";var c=S(h()),f=60,d=60*60,g=60*60*24,M=7,m=class{static formatRelativeTime(t){if(t==null)return"";let n=typeof t=="string"?new Date(t):t;if(Number.isNaN(n.getTime()))return"";let a=new Date,i=a.getTime()-n.getTime(),o=Math.floor(i/c.second);if(o<0)return"";if(o<f)return"just now";let e=Math.floor(o/f);if(e<60)return e===1?"1 minute ago":`${e} minutes ago`;let s=Math.floor(o/d);if(s<24)return s===1?"1 hour ago":`${s} hours ago`;let r=Math.floor(o/g);if(r<=M)return r===1?"1 day ago":`${r} days ago`;let u={month:"short",day:"numeric",year:n.getFullYear()!==a.getFullYear()?"numeric":void 0};return n.toLocaleDateString(void 0,u)}static formatCompactRelativeTime(t){if(t==null)return"";let n=typeof t=="string"?new Date(t):t;if(Number.isNaN(n.getTime()))return"";let i=Date.now()-n.getTime();if(i<0)return"just now";let o=Math.floor(i/c.second),e=Math.floor(o/f),s=Math.floor(o/d),r=Math.floor(o/g);return o<f?"just now":e<60?`${e}m ago`:s<24?`${s}h ago`:r<30?`${r}d ago`:`${Math.floor(r/30)}mo ago`}static formatAbsoluteForTooltip(t){if(t==null)return"";let n=typeof t=="string"?new Date(t):t;if(Number.isNaN(n.getTime()))return"";let a=String(n.getFullYear()),i=String(n.getMonth()+1).padStart(2,"0"),o=String(n.getDate()).padStart(2,"0"),e=String(n.getHours()).padStart(2,"0"),s=String(n.getMinutes()).padStart(2,"0"),r=String(n.getSeconds()).padStart(2,"0");return`${a}-${i}-${o} ${e}:${s}:${r}`}};export{m as a};
2
- //# sourceMappingURL=chunk-BO2YDJSV.js.map
1
+ import{p as h}from"./chunk-GCECKZJT.js";import{h as S}from"./chunk-TBMJSIBB.js";var c=S(h()),f=60,d=60*60,g=60*60*24,M=7,m=class{static formatRelativeTime(t){if(t==null)return"";let n=typeof t=="string"?new Date(t):t;if(Number.isNaN(n.getTime()))return"";let a=new Date,i=a.getTime()-n.getTime(),o=Math.floor(i/c.second);if(o<0)return"";if(o<f)return"just now";let e=Math.floor(o/f);if(e<60)return e===1?"1 minute ago":`${e} minutes ago`;let s=Math.floor(o/d);if(s<24)return s===1?"1 hour ago":`${s} hours ago`;let r=Math.floor(o/g);if(r<=M)return r===1?"1 day ago":`${r} days ago`;let u={month:"short",day:"numeric",year:n.getFullYear()!==a.getFullYear()?"numeric":void 0};return n.toLocaleDateString(void 0,u)}static formatCompactRelativeTime(t){if(t==null)return"";let n=typeof t=="string"?new Date(t):t;if(Number.isNaN(n.getTime()))return"";let i=Date.now()-n.getTime();if(i<0)return"just now";let o=Math.floor(i/c.second),e=Math.floor(o/f),s=Math.floor(o/d),r=Math.floor(o/g);return o<f?"just now":e<60?`${e}m ago`:s<24?`${s}h ago`:r<30?`${r}d ago`:`${Math.floor(r/30)}mo ago`}static formatAbsoluteForTooltip(t){if(t==null)return"";let n=typeof t=="string"?new Date(t):t;if(Number.isNaN(n.getTime()))return"";let a=String(n.getFullYear()),i=String(n.getMonth()+1).padStart(2,"0"),o=String(n.getDate()).padStart(2,"0"),e=String(n.getHours()).padStart(2,"0"),s=String(n.getMinutes()).padStart(2,"0"),r=String(n.getSeconds()).padStart(2,"0");return`${a}-${i}-${o} ${e}:${s}:${r}`}};export{m as a};
2
+ //# sourceMappingURL=chunk-CNXZS3XJ.js.map
@@ -1,2 +1,2 @@
1
- import{a as k}from"./chunk-A7IU2QNC.js";import{a as C}from"./chunk-V3VQWJQL.js";import{I as U,L as P,t as A}from"./chunk-QMNT46TC.js";import{C as h,k as m,p as a,xb as M,y as b}from"./chunk-TBMJSIBB.js";var y=class{static readLlmCloudBucketsFromSectionResponse(n){return{anthropicLlm:v(n.anthropicSettings,{includeBaseUrl:!1}),googleLlm:v(n.googleSettings,{includeBaseUrl:!1}),deepseekLlm:v(n.deepseekSettings,{includeBaseUrl:!1}),fdpaiLlm:v(n.fdpaiSettings,{includeBaseUrl:!0})}}};function v(s,n){if(s==null||typeof s!="object"||Array.isArray(s))return{enabled:!1,defaultModel:"",baseUrl:"",apiKey:"",apiKeyMasked:""};let e=Reflect.get(s,"defaultModel"),o=Reflect.get(s,"apiKeyMasked"),i=Reflect.get(s,"baseUrl");return{enabled:Reflect.get(s,"enabled")===!0,defaultModel:typeof e=="string"?e:"",baseUrl:n.includeBaseUrl&&typeof i=="string"?i:"",apiKey:"",apiKeyMasked:typeof o=="string"?o:""}}var L=class{static parseLlmSettingsSectionForUi(n){let e=n.openAiSettings,o=!1,i="gpt-4o";if(e!=null&&typeof e=="object"&&!Array.isArray(e)){o=Reflect.get(e,"enabled")===!0;let t=Reflect.get(e,"defaultModel");typeof t=="string"&&(i=t)}let c=(Array.isArray(n.localAiSettings)?n.localAiSettings:[]).filter(t=>t!=null&&typeof t=="object"&&!Array.isArray(t)).map(t=>{let g=typeof t.key=="string"?t.key.trim():"";if(!g.length)return null;let S=typeof t.name=="string"?t.name:"",$=k.build({localAiKey:g}),T=S.trim().length>0?S.trim():"Local AI",_=t.enabled!==!1;return{id:$,baseUrl:(typeof t.baseUrl=="string"?t.baseUrl:"").trim(),model:(typeof t.defaultModel=="string"?t.defaultModel:"").trim(),label:T,enabled:_}}).filter(t=>t!=null),d=y.readLlmCloudBucketsFromSectionResponse(n),l=[];o&&l.push("open-ai"),d.anthropicLlm.enabled&&l.push("anthropic"),d.googleLlm.enabled&&l.push("google"),d.deepseekLlm.enabled&&l.push("deepseek"),d.fdpaiLlm.enabled&&l.push("fdp-ai");for(let t of c)t.enabled&&l.push(t.id);l.length===0&&l.push("open-ai");let F=c.map(t=>({id:t.id,label:t.label})),V=l.map(t=>({value:t,label:C.resolve(t,F)})),p=typeof n.defaultLlmProvider=="string"?n.defaultLlmProvider:"open-ai",u="";if(p==="open-ai")u=i;else if(p==="anthropic")u=d.anthropicLlm.defaultModel;else if(p==="google")u=d.googleLlm.defaultModel;else if(p==="deepseek")u=d.deepseekLlm.defaultModel;else if(p==="fdp-ai")u=d.fdpaiLlm.defaultModel;else{let t=c.find(g=>g.id===p);t&&(u=t.model)}return{enabledLlmProviderIds:l,llmProviderSelectOptions:V,defaultLlmProvider:p.trim(),defaultLlmModel:u.trim()}}};var I=(()=>{class s{baseUrl=`${U.api.baseUrl}/voice`;http=h(M);fetchVoiceNotesPoc(){return a(this.http.get(`${this.baseUrl}/poc/get-notes`))}fetchVoiceNotesQaSettings(){return a(this.http.get(`${this.baseUrl}/notes/qa-settings`))}saveVoiceNotesQaSettings(e){return a(this.http.put(`${this.baseUrl}/notes/qa-settings`,e,{headers:{"Content-Type":"application/json"}}))}saveVoiceNotesPoc(e){return a(this.http.put(`${this.baseUrl}/notes/poc`,e))}transcribeVoiceChunk(e){let o={qa:e.qaEnabled===!0?"1":"0",skip_classification:e.skipClassification!==!1?"true":"false"};e.confidenceThreshold!==void 0&&(o.confidence_threshold=String(e.confidenceThreshold)),e.noteContext!==void 0&&(o.note_context=e.noteContext);let i=Object.keys(o).map(c=>`${encodeURIComponent(c)}=${encodeURIComponent(o[c])}`).join("&"),f=`${this.baseUrl}/notes/transcribe${i?`?${i}`:""}`,r={"Content-Type":e.mimeType,Filename:e.filename};return a(this.http.post(f,e.blob,{headers:r}))}generateTtsSpeechBlob(e){return a(this.http.post(`${this.baseUrl}/tts/speech`,{input:e.text},{responseType:"blob"}))}getTtsMessageAudioUrl(e){let o=typeof e=="string"?e.trim():"";return o?`${this.baseUrl}/tts/message-audio/${encodeURIComponent(o)}`:""}getOrCreateTtsMessageAudio(e){return a(this.http.post(`${this.baseUrl}/tts/message-audio`,{sessionId:e.sessionId,role:e.role,content:e.content,timestamp:e.timestamp},{responseType:"blob",headers:{"Content-Type":"application/json"}}))}getVoiceSettings(){return a(this.http.get(`${this.baseUrl}/settings`))}saveTtsProvider(e){return a(this.http.post(`${this.baseUrl}/settings/tts-provider`,{provider:e}))}saveElevenLabsKey(e){return a(this.http.post(`${this.baseUrl}/settings/elevenlabs-key`,{apiKey:e}))}testElevenLabsApiKey(){return a(this.http.post(`${this.baseUrl}/settings/test-elevenlabs-key`,{}))}saveVoiceConfig(e){return a(this.http.post(`${this.baseUrl}/settings/voice-config`,{elevenLabsModelId:e.elevenLabsModelId,elevenLabsVoiceId:e.elevenLabsVoiceId}))}static \u0275fac=function(o){return new(o||s)};static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();var Y=(()=>{class s{voice_AS=h(I);settings_AS=h(P);fetchQaEnabledFlag(){return m(this,null,function*(){try{return(yield this.voice_AS.fetchVoiceNotesQaSettings()).qaEnabled===!0}catch{return!1}})}loadSttQaSettingsPanelState(){return m(this,null,function*(){let e=yield this.voice_AS.fetchVoiceNotesQaSettings(),o=yield this.settings_AS.getSection(A.llmProviders),i=L.parseLlmSettingsSectionForUi(o),f=(e.providerName??"").trim(),r=[],c="";if(f.length>0){let d=yield this.fetchLlmModelsListForSttQa(f);r=[...d.models],c=d.errorMessage;let l=(e.modelName??"").trim();l.length>0&&!r.includes(l)&&(r=[l,...r])}return{qa:e,llmProviderSelectOptions:i.llmProviderSelectOptions,defaultLlmProvider:i.defaultLlmProvider,defaultLlmModel:i.defaultLlmModel,qaModelsForProvider:r,qaModelsListFetchError:c}})}fetchLlmModelsListForSttQa(e){return m(this,null,function*(){let o=e.trim();if(!o.length)return{models:[],errorMessage:""};try{let i=yield this.settings_AS.postListLlmModels({providerId:o}),f=i.models??[],r=typeof i.error=="string"?i.error.trim():"",c=i.success===!1;return f.length>0?{models:f,errorMessage:c?r.length>0?r:"Model list request failed.":""}:c?{models:[],errorMessage:r.length>0?r:"Model list request failed."}:{models:[],errorMessage:r}}catch(i){let f=i instanceof Error?i.message:String(i);return{models:[],errorMessage:f}}})}fetchLlmModelIdsForProvider(e){return m(this,null,function*(){return(yield this.fetchLlmModelsListForSttQa(e)).models})}normalizeConfusionMapEntries(e){return e.map(o=>({from:String(o.from).trim(),to:String(o.to).trim()})).filter(o=>o.from.length>0||o.to.length>0)}saveVoiceNotesQaSettings(e){return m(this,null,function*(){yield this.voice_AS.saveVoiceNotesQaSettings(e)})}fetchVoiceNotesPoc(){return this.voice_AS.fetchVoiceNotesPoc()}saveVoiceNotesPoc(e){return this.voice_AS.saveVoiceNotesPoc(e)}transcribeVoiceChunk(e){return this.voice_AS.transcribeVoiceChunk(e)}getTtsMessageAudioUrl(e){return this.voice_AS.getTtsMessageAudioUrl(e)}getOrCreateTtsMessageAudio(e){return this.voice_AS.getOrCreateTtsMessageAudio(e)}static \u0275fac=function(o){return new(o||s)};static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();export{y as a,I as b,Y as c};
2
- //# sourceMappingURL=chunk-7K6P6ARV.js.map
1
+ import{a as k}from"./chunk-ZI4HSI6Y.js";import{a as C}from"./chunk-V3VQWJQL.js";import{I as U,L as P,t as A}from"./chunk-GCECKZJT.js";import{C as h,k as m,p as a,xb as M,y as b}from"./chunk-TBMJSIBB.js";var y=class{static readLlmCloudBucketsFromSectionResponse(n){return{anthropicLlm:v(n.anthropicSettings,{includeBaseUrl:!1}),googleLlm:v(n.googleSettings,{includeBaseUrl:!1}),deepseekLlm:v(n.deepseekSettings,{includeBaseUrl:!1}),fdpaiLlm:v(n.fdpaiSettings,{includeBaseUrl:!0})}}};function v(s,n){if(s==null||typeof s!="object"||Array.isArray(s))return{enabled:!1,defaultModel:"",baseUrl:"",apiKey:"",apiKeyMasked:""};let e=Reflect.get(s,"defaultModel"),o=Reflect.get(s,"apiKeyMasked"),i=Reflect.get(s,"baseUrl");return{enabled:Reflect.get(s,"enabled")===!0,defaultModel:typeof e=="string"?e:"",baseUrl:n.includeBaseUrl&&typeof i=="string"?i:"",apiKey:"",apiKeyMasked:typeof o=="string"?o:""}}var L=class{static parseLlmSettingsSectionForUi(n){let e=n.openAiSettings,o=!1,i="gpt-4o";if(e!=null&&typeof e=="object"&&!Array.isArray(e)){o=Reflect.get(e,"enabled")===!0;let t=Reflect.get(e,"defaultModel");typeof t=="string"&&(i=t)}let c=(Array.isArray(n.localAiSettings)?n.localAiSettings:[]).filter(t=>t!=null&&typeof t=="object"&&!Array.isArray(t)).map(t=>{let g=typeof t.key=="string"?t.key.trim():"";if(!g.length)return null;let S=typeof t.name=="string"?t.name:"",$=k.build({localAiKey:g}),T=S.trim().length>0?S.trim():"Local AI",_=t.enabled!==!1;return{id:$,baseUrl:(typeof t.baseUrl=="string"?t.baseUrl:"").trim(),model:(typeof t.defaultModel=="string"?t.defaultModel:"").trim(),label:T,enabled:_}}).filter(t=>t!=null),d=y.readLlmCloudBucketsFromSectionResponse(n),l=[];o&&l.push("open-ai"),d.anthropicLlm.enabled&&l.push("anthropic"),d.googleLlm.enabled&&l.push("google"),d.deepseekLlm.enabled&&l.push("deepseek"),d.fdpaiLlm.enabled&&l.push("fdp-ai");for(let t of c)t.enabled&&l.push(t.id);l.length===0&&l.push("open-ai");let F=c.map(t=>({id:t.id,label:t.label})),V=l.map(t=>({value:t,label:C.resolve(t,F)})),p=typeof n.defaultLlmProvider=="string"?n.defaultLlmProvider:"open-ai",u="";if(p==="open-ai")u=i;else if(p==="anthropic")u=d.anthropicLlm.defaultModel;else if(p==="google")u=d.googleLlm.defaultModel;else if(p==="deepseek")u=d.deepseekLlm.defaultModel;else if(p==="fdp-ai")u=d.fdpaiLlm.defaultModel;else{let t=c.find(g=>g.id===p);t&&(u=t.model)}return{enabledLlmProviderIds:l,llmProviderSelectOptions:V,defaultLlmProvider:p.trim(),defaultLlmModel:u.trim()}}};var I=(()=>{class s{baseUrl=`${U.api.baseUrl}/voice`;http=h(M);fetchVoiceNotesPoc(){return a(this.http.get(`${this.baseUrl}/poc/get-notes`))}fetchVoiceNotesQaSettings(){return a(this.http.get(`${this.baseUrl}/notes/qa-settings`))}saveVoiceNotesQaSettings(e){return a(this.http.put(`${this.baseUrl}/notes/qa-settings`,e,{headers:{"Content-Type":"application/json"}}))}saveVoiceNotesPoc(e){return a(this.http.put(`${this.baseUrl}/notes/poc`,e))}transcribeVoiceChunk(e){let o={qa:e.qaEnabled===!0?"1":"0",skip_classification:e.skipClassification!==!1?"true":"false"};e.confidenceThreshold!==void 0&&(o.confidence_threshold=String(e.confidenceThreshold)),e.noteContext!==void 0&&(o.note_context=e.noteContext);let i=Object.keys(o).map(c=>`${encodeURIComponent(c)}=${encodeURIComponent(o[c])}`).join("&"),f=`${this.baseUrl}/notes/transcribe${i?`?${i}`:""}`,r={"Content-Type":e.mimeType,Filename:e.filename};return a(this.http.post(f,e.blob,{headers:r}))}generateTtsSpeechBlob(e){return a(this.http.post(`${this.baseUrl}/tts/speech`,{input:e.text},{responseType:"blob"}))}getTtsMessageAudioUrl(e){let o=typeof e=="string"?e.trim():"";return o?`${this.baseUrl}/tts/message-audio/${encodeURIComponent(o)}`:""}getOrCreateTtsMessageAudio(e){return a(this.http.post(`${this.baseUrl}/tts/message-audio`,{sessionId:e.sessionId,role:e.role,content:e.content,timestamp:e.timestamp},{responseType:"blob",headers:{"Content-Type":"application/json"}}))}getVoiceSettings(){return a(this.http.get(`${this.baseUrl}/settings`))}saveTtsProvider(e){return a(this.http.post(`${this.baseUrl}/settings/tts-provider`,{provider:e}))}saveElevenLabsKey(e){return a(this.http.post(`${this.baseUrl}/settings/elevenlabs-key`,{apiKey:e}))}testElevenLabsApiKey(){return a(this.http.post(`${this.baseUrl}/settings/test-elevenlabs-key`,{}))}saveVoiceConfig(e){return a(this.http.post(`${this.baseUrl}/settings/voice-config`,{elevenLabsModelId:e.elevenLabsModelId,elevenLabsVoiceId:e.elevenLabsVoiceId}))}static \u0275fac=function(o){return new(o||s)};static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();var Y=(()=>{class s{voice_AS=h(I);settings_AS=h(P);fetchQaEnabledFlag(){return m(this,null,function*(){try{return(yield this.voice_AS.fetchVoiceNotesQaSettings()).qaEnabled===!0}catch{return!1}})}loadSttQaSettingsPanelState(){return m(this,null,function*(){let e=yield this.voice_AS.fetchVoiceNotesQaSettings(),o=yield this.settings_AS.getSection(A.llmProviders),i=L.parseLlmSettingsSectionForUi(o),f=(e.providerName??"").trim(),r=[],c="";if(f.length>0){let d=yield this.fetchLlmModelsListForSttQa(f);r=[...d.models],c=d.errorMessage;let l=(e.modelName??"").trim();l.length>0&&!r.includes(l)&&(r=[l,...r])}return{qa:e,llmProviderSelectOptions:i.llmProviderSelectOptions,defaultLlmProvider:i.defaultLlmProvider,defaultLlmModel:i.defaultLlmModel,qaModelsForProvider:r,qaModelsListFetchError:c}})}fetchLlmModelsListForSttQa(e){return m(this,null,function*(){let o=e.trim();if(!o.length)return{models:[],errorMessage:""};try{let i=yield this.settings_AS.postListLlmModels({providerId:o}),f=i.models??[],r=typeof i.error=="string"?i.error.trim():"",c=i.success===!1;return f.length>0?{models:f,errorMessage:c?r.length>0?r:"Model list request failed.":""}:c?{models:[],errorMessage:r.length>0?r:"Model list request failed."}:{models:[],errorMessage:r}}catch(i){let f=i instanceof Error?i.message:String(i);return{models:[],errorMessage:f}}})}fetchLlmModelIdsForProvider(e){return m(this,null,function*(){return(yield this.fetchLlmModelsListForSttQa(e)).models})}normalizeConfusionMapEntries(e){return e.map(o=>({from:String(o.from).trim(),to:String(o.to).trim()})).filter(o=>o.from.length>0||o.to.length>0)}saveVoiceNotesQaSettings(e){return m(this,null,function*(){yield this.voice_AS.saveVoiceNotesQaSettings(e)})}fetchVoiceNotesPoc(){return this.voice_AS.fetchVoiceNotesPoc()}saveVoiceNotesPoc(e){return this.voice_AS.saveVoiceNotesPoc(e)}transcribeVoiceChunk(e){return this.voice_AS.transcribeVoiceChunk(e)}getTtsMessageAudioUrl(e){return this.voice_AS.getTtsMessageAudioUrl(e)}getOrCreateTtsMessageAudio(e){return this.voice_AS.getOrCreateTtsMessageAudio(e)}static \u0275fac=function(o){return new(o||s)};static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})();export{y as a,I as b,Y as c};
2
+ //# sourceMappingURL=chunk-EDF2EQKZ.js.map
@@ -1,2 +1,2 @@
1
- import{j as s}from"./chunk-VBTMKAVX.js";var r="ccap-personaSoulDraft";function p(){try{let o=localStorage.getItem(r);if(!o)return null;let n=s.tryParseStrict({text:o,contextLabel:"CCAP_PersonaDraft_localStorage"});if(!n.ok)return null;let e=n.value;if(typeof e!="object"||e===null)return null;let t=Object.fromEntries(Object.entries(e)),a=typeof t.name=="string"?t.name:"",c=typeof t.personality=="string"?t.personality:"",i=typeof t.conversation_style=="string"?t.conversation_style:"",l=typeof t.work_style=="string"?t.work_style:"",f=typeof t.mission=="string"?t.mission:"",y=typeof t.avoid=="string"?t.avoid:"";return{name:a,personality:c,conversation_style:i,work_style:l,mission:f,avoid:y}}catch{return null}}function g(o){try{localStorage.setItem(r,JSON.stringify(o))}catch{}}function u(){try{localStorage.removeItem(r)}catch{}}var m={get:p,save:g,clear:u};export{m as a};
2
- //# sourceMappingURL=chunk-Q4275YSM.js.map
1
+ import{j as s}from"./chunk-WRXGGQII.js";var r="ccap-personaSoulDraft";function p(){try{let o=localStorage.getItem(r);if(!o)return null;let n=s.tryParseStrict({text:o,contextLabel:"CCAP_PersonaDraft_localStorage"});if(!n.ok)return null;let e=n.value;if(typeof e!="object"||e===null)return null;let t=Object.fromEntries(Object.entries(e)),a=typeof t.name=="string"?t.name:"",c=typeof t.personality=="string"?t.personality:"",i=typeof t.conversation_style=="string"?t.conversation_style:"",l=typeof t.work_style=="string"?t.work_style:"",f=typeof t.mission=="string"?t.mission:"",y=typeof t.avoid=="string"?t.avoid:"";return{name:a,personality:c,conversation_style:i,work_style:l,mission:f,avoid:y}}catch{return null}}function g(o){try{localStorage.setItem(r,JSON.stringify(o))}catch{}}function u(){try{localStorage.removeItem(r)}catch{}}var m={get:p,save:g,clear:u};export{m as a};
2
+ //# sourceMappingURL=chunk-EPRUPA2Q.js.map
@@ -1,3 +1,3 @@
1
- import{a as ne}from"./chunk-7CGDW35I.js";import{a as X,b as Z}from"./chunk-6UW6XEBH.js";import{a as te,b as j}from"./chunk-L44637OO.js";import{a as G}from"./chunk-YJDEC7KW.js";import{b as Y}from"./chunk-LAKLG4XY.js";import{d as ee}from"./chunk-PSDLL3LV.js";import{a as U}from"./chunk-FLAJXIYW.js";import{p as pe}from"./chunk-QMNT46TC.js";import{$a as R,C as $,D as y,Fa as s,Ga as C,Ha as _,J as w,K as v,L as V,Q as B,T as N,Ta as g,U as z,Va as W,Z as r,aa as I,bb as L,da as m,fa as K,ga as f,h as ce,hb as x,ia as M,k as H,la as u,mb as q,na as Q,oa as T,pa as D,pb as P,qa as o,ra as a,sa as h,ua as b,ub as k,va as S,wa as p}from"./chunk-TBMJSIBB.js";var ae=ce(pe());var J=(()=>{class i{static SESSION_LIMIT_TYPE="five_hour";static WEEKLY_LIMIT_TYPE="seven_day";static formatResetText(e){if(!e?.resetsAt)return"";let t=new Date(e.resetsAt*1e3),n=new Date,l=t.getTime()-n.getTime();if(l<=0)return"expired";let d=Math.floor(l/6e4),E=Math.floor(d/60),O=d%60;return E>0?`${E}h ${O}m`:`${O}m`}static formatResetTextPrecise(e){if(!e?.resetsAt)return"";let t=new Date(e.resetsAt*1e3),n=new Date,l=Math.floor((t.getTime()-n.getTime())/1e3);if(l<=0)return"expired";let d=Math.floor(l/86400),E=Math.floor(l%86400/3600),O=Math.floor(l%3600/60),le=l%60,A=[];return d&&A.push(`${d}d`),(d||E)&&A.push(`${E}h`),(d||E||O)&&A.push(`${O}m`),A.push(`${le}s`),A.join(" ")}static computeUtilizationPercent(e){if(!e)return 0;let t=typeof e.utilization=="number"?e.utilization:0,n=Math.max(0,Math.min(1,t));return Math.round(n*100)}static computeThresholdPercent(e){if(!e)return 0;let t=typeof e.surpassedThreshold=="number"?e.surpassedThreshold:0,n=Math.max(0,Math.min(1,t));return Math.round(n*100)}static isOverThreshold(e){if(!e)return!1;let t=typeof e.utilization=="number"?e.utilization:0,n=typeof e.surpassedThreshold=="number"?e.surpassedThreshold:1;return t>=n&&n>0}static formatLimitScopeLabel(e){return e?.rateLimitType?e.rateLimitType===i.SESSION_LIMIT_TYPE?"Session":e.rateLimitType===i.WEEKLY_LIMIT_TYPE?"Weekly":e.rateLimitType:""}}return i})();function de(i,c){if(i&1&&(o(0,"div",0)(1,"span",1),s(2," Rate limit "),a(),o(3,"span",2),s(4,"Scope"),a(),o(5,"span",3),s(6),a(),o(7,"span",2),s(8,"St\xE1tusz"),a(),o(9,"span",3),s(10),a(),o(11,"span",2),s(12,"Utilization"),a(),o(13,"span",4),s(14),a(),o(15,"span",2),s(16,"Reset"),a(),o(17,"span",4),s(18),a(),o(19,"span",2),s(20,"Utols\xF3 \xE9szlel\xE9s"),a(),o(21,"span",5),s(22),R(23,"date"),a()()),i&2){let e=c,t=p();r(6),C(t.limitScopeLabel_$()||"\u2014"),r(3),M("text-neonRed",e.status==="limited")("text-yellow-400",e.status==="allowed_warning")("text-neutral-300",e.status==="allowed"),r(),_(" ",e.status||"\u2014"," "),r(4),_("",t.utilizationPercent_$(),"%"),r(4),C(t.resetText_$()||"\u2014"),r(4),_(" ",L(23,11,e.receivedAt,"yyyy-MM-dd HH:mm:ss")||"\u2014"," ")}}var oe=(()=>{class i{claudeCode_AS=$(X);_ccapId="";set ccapId(e){this._ccapId=e?.trim()??"",this.refreshRateLimitState()}get ccapId(){return this._ccapId}rateLimitInfo_$=I(null);utilizationPercent_$=x(()=>J.computeUtilizationPercent(this.rateLimitInfo_$()));resetText_$=x(()=>J.formatResetText(this.rateLimitInfo_$()));limitScopeLabel_$=x(()=>J.formatLimitScopeLabel(this.rateLimitInfo_$()));refreshRateLimitState(){if(!this._ccapId){this.rateLimitInfo_$.set(null);return}this.claudeCode_AS.getRateLimitState({ccapId:this._ccapId}).then(e=>{let t=Z.mapServerItemsToClientInfo(e.items);this.rateLimitInfo_$.set(t)}).catch(e=>{ae.DyFM_Log.warn(`s-cc-rate-limit-info | rate-limit fetch failed | ccapId: ${this._ccapId} | err: ${String(e)}`),this.rateLimitInfo_$.set(null)})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=y({type:i,selectors:[["app-s-cc-rate-limit-info"]],inputs:{ccapId:"ccapId"},standalone:!0,features:[g],decls:1,vars:1,consts:[[1,"grid","grid-cols-[minmax(8rem,auto)_1fr]","gap-x-3","gap-y-2","text-xs","text-neutral-200"],[1,"col-span-2","text-[11px]","uppercase","tracking-wider","text-neutral-500"],[1,"text-neutral-500","shrink-0"],[1,"whitespace-nowrap"],[1,"whitespace-nowrap","font-mono"],[1,"font-mono","text-[11px]","whitespace-nowrap"]],template:function(t,n){if(t&1&&m(0,de,24,14,"div",0),t&2){let l;u((l=n.rateLimitInfo_$())?0:-1,l)}},dependencies:[k,P],encapsulation:2})}return i})();function ue(i,c){if(i&1&&(o(0,"span",1),s(1,"Instance presence"),a(),o(2,"span",4),h(3,"app-s-instance-presence-badge",8),a()),i&2){let e=c;r(3),f("presence",e.presence)("lastHeartbeatAt",e.lastHeartbeatAt)("wsConnected",e.wsConnected)}}function me(i,c){if(i&1&&(o(0,"span",9),s(1,"Run / tev\xE9kenys\xE9g"),a(),o(2,"span",10)(3,"span",11),s(4),a(),o(5,"span",12),s(6),a()(),o(7,"span",1),s(8,"Utols\xF3 aktivit\xE1s"),a(),o(9,"span",13),s(10),R(11,"date"),a(),o(12,"span",1),s(13,"Utols\xF3 \xFCzenet"),a(),o(14,"span",14),s(15),a()),i&2){let e=c;r(4),C(e.activeRunPhase||"\u2014"),r(2),C(e.activitySummary||"\u2014"),r(4),_(" ",L(11,4,e.lastActivityAt,"yyyy-MM-dd HH:mm:ss")||"\u2014"," "),r(5),C(e.lastMessage||"\u2014")}}var se=(()=>{class i{row;presence=void 0;static \u0275fac=function(t){return new(t||i)};static \u0275cmp=y({type:i,selectors:[["app-s-instance-detail-view"]],inputs:{row:"row",presence:"presence"},standalone:!0,features:[g],decls:43,vars:18,consts:[[1,"grid","grid-cols-[minmax(8rem,auto)_1fr]","gap-x-3","gap-y-2","text-xs","text-neutral-200"],[1,"text-neutral-500","shrink-0"],[1,"font-mono","break-all"],[1,"break-all"],[1,"whitespace-nowrap"],[1,"font-mono","whitespace-nowrap"],[1,"mt-2","pt-2","border-t","border-neutral-800"],[3,"ccapId"],[3,"presence","lastHeartbeatAt","wsConnected"],[1,"text-neutral-500","shrink-0","self-start","pt-0.5"],[1,"break-words"],[1,"font-mono","text-[11px]","text-neutral-400","block"],[1,"text-neutral-300"],[1,"font-mono","text-[11px]","whitespace-nowrap"],[1,"break-words","text-neutral-300"]],template:function(t,n){if(t&1&&(o(0,"div",0)(1,"span",1),s(2,"instanceKey"),a(),o(3,"span",2),s(4),a(),o(5,"span",1),s(6,"N\xE9v"),a(),o(7,"span",3),s(8),a(),o(9,"span",1),s(10,"St\xE1tusz"),a(),o(11,"span",4),s(12),a(),m(13,ue,4,3),o(14,"span",1),s(15,"Session presence"),a(),o(16,"span",4),s(17),a(),m(18,me,16,7),o(19,"span",1),s(20,"MAC"),a(),o(21,"span",2),s(22),a(),o(23,"span",1),s(24,"Install path"),a(),o(25,"span",2),s(26),a(),o(27,"span",1),s(28,"hostName"),a(),o(29,"span",3),s(30),a(),o(31,"span",1),s(32,"registry __created"),a(),o(33,"span",5),s(34),R(35,"date"),a(),o(36,"span",1),s(37,"registry __updated"),a(),o(38,"span",5),s(39),R(40,"date"),a()(),o(41,"div",6),h(42,"app-s-cc-rate-limit-info",7),a()),t&2){let l,d;r(4),C(n.row.registry.instanceKey||"\u2014"),r(4),C((n.row.instanceData==null||n.row.instanceData.name==null?null:n.row.instanceData.name.trim())||"\u2014"),r(4),C((n.row.instanceData==null?null:n.row.instanceData.status)||"\u2014"),r(),u((l=n.presence)?13:-1,l),r(4),_(" ",(n.row.instanceData==null||n.row.instanceData.sessionStatuses==null||n.row.instanceData.sessionStatuses[0]==null?null:n.row.instanceData.sessionStatuses[0].presence)||"\u2014"," "),r(),u((d=n.row.instanceData==null||n.row.instanceData.sessionStatuses==null?null:n.row.instanceData.sessionStatuses[0])?18:-1,d),r(4),C(n.row.registry.primaryMacAddress||"\u2014"),r(4),C(n.row.registry.installLocationPath||"\u2014"),r(4),C(n.row.registry.hostName||"\u2014"),r(4),_(" ",L(35,12,n.row.registry.__created,"yyyy-MM-dd HH:mm:ss")||"\u2014"," "),r(5),_(" ",L(40,15,n.row.registry.__updated,"yyyy-MM-dd HH:mm:ss")||"\u2014"," "),r(3),f("ccapId",n.row.registry.instanceKey||"")}},dependencies:[k,P,oe,j],encapsulation:2})}return i})();var _e=(i,c)=>c.instanceKey,fe=i=>({"bg-ccapAccent/10":i});function xe(i,c){if(i&1&&h(0,"app-s-instance-presence-badge",5),i&2){let e=c;f("presence",e.presence)("lastHeartbeatAt",e.lastHeartbeatAt)("wsConnected",e.wsConnected)("showLabel",!1)}}function Se(i,c){i&1&&(o(0,"span",6),s(1,"(local)"),a())}function he(i,c){i&1&&h(0,"span",7)}function Ce(i,c){if(i&1){let e=b();o(0,"div",2)(1,"button",4),S("click",function(){let n,l=w(e).$implicit,d=p();return v(d.handleSelectInstance((n=l.instanceKey)!==null&&n!==void 0?n:""))}),m(2,xe,1,4,"app-s-instance-presence-badge",5),s(3),m(4,Se,2,0,"span",6)(5,he,1,0,"span",7),a(),o(6,"button",8),S("click",function(){let n,l=w(e).$implicit,d=p();return v(d.handleInfoClick((n=l.instanceKey)!==null&&n!==void 0?n:""))}),s(7," i "),a()()}if(i&2){let e,t=c.$implicit,n=p();r(),M("border-ccapAccent",n.isSelected(t))("text-ccapAccent",n.isSelected(t))("border-neonDefault",!n.isSelected(t))("text-neutral-400",!n.isSelected(t))("hover:text-neutral-200",!n.isSelected(t))("hover:border-neutral-500",!n.isSelected(t)),f("ngClass",W(17,fe,n.isSelected(t))),r(),u((e=n.getPresenceForRow(t))?2:-1,e),r(),_(" ",n.getDisplayLabel(t)," "),r(),u(n.isLocal(t)?4:-1),r(),u(n.getActiveSessionForRow(t)?5:-1)}}function ye(i,c){i&1&&(o(0,"span",3),s(1,"loading..."),a())}var re=(()=>{class i{peiContext_DS=$(G);presenceMap=new Map;activeSessionMap=new Map;infoRequested=new B;instances_$=x(()=>this.peiContext_DS.instanceList_$());selectedCcapId_$=x(()=>this.peiContext_DS.activeCcapId_$());localKey_$=x(()=>this.peiContext_DS.localInstanceKey_$());ngOnInit(){this.peiContext_DS.initialize()}handleSelectInstance(e){this.peiContext_DS.selectInstance(e)}handleInfoClick(e){this.infoRequested.emit({instanceKey:e})}getDisplayLabel(e){let t=e.hostName??"",n=(e.instanceKey??"").slice(-6);return t?`${t} (${n})`:n||"?"}isSelected(e){return(e.instanceKey??"")===this.selectedCcapId_$()}isLocal(e){return(e.instanceKey??"")===this.localKey_$()}getPresenceForRow(e){let t=e.instanceKey??"";return t?this.presenceMap.get(t)??null:null}getActiveSessionForRow(e){let t=e.instanceKey??"";return t?this.activeSessionMap.get(t)===!0:!1}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=y({type:i,selectors:[["app-s-instance-selector"]],hostAttrs:[1,"block"],inputs:{presenceMap:"presenceMap",activeSessionMap:"activeSessionMap"},outputs:{infoRequested:"infoRequested"},standalone:!0,features:[g],decls:6,vars:1,consts:[[1,"flex","gap-1","flex-wrap","items-center"],[1,"text-[10px]","text-neutral-500","mr-1","uppercase","tracking-wider"],[1,"flex","items-center","gap-0.5","group"],[1,"text-[10px]","text-neutral-600","italic"],[1,"px-2","py-0.5","text-[11px]","rounded-full","border","transition-colors","flex","items-center","gap-1",3,"click","ngClass"],[3,"presence","lastHeartbeatAt","wsConnected","showLabel"],[1,"ml-0.5","text-[9px]","text-neutral-500"],["title","Akt\xEDv session fut ezen az instance-en","aria-label","Akt\xEDv session fut ezen az instance-en","data-testid","s-instance-active-session-dot",1,"inline-block","w-1.5","h-1.5","rounded-full","bg-yellow-400","animate-pulse","shrink-0"],["type","button","title","Instance details","aria-label","Show instance details","data-testid","s-instance-selector-info-btn",1,"text-[11px]","leading-none","w-4","h-4","rounded-full","border","border-neutral-700","text-neutral-500","hover:text-ccapAccent","hover:border-ccapAccent","transition-colors","flex","items-center","justify-center",3,"click"]],template:function(t,n){t&1&&(o(0,"div",0)(1,"span",1),s(2,"Instance:"),a(),T(3,Ce,8,19,"div",2,_e),m(5,ye,2,0,"span",3),a()),t&2&&(r(3),D(n.instances_$()),r(2),u(n.instances_$().length?-1:5))},dependencies:[k,q,j],encapsulation:2})}return i})();function we(i,c){if(i&1&&h(0,"app-s-instance-detail-view",3),i&2){let e=p(2);f("row",c)("presence",e.getPresenceForSelectedRow())}}function ve(i,c){if(i&1){let e=b();o(0,"app-s-modal",2),S("closed",function(){w(e);let n=p();return v(n.handleModalClosed())}),m(1,we,1,2,"app-s-instance-detail-view",3),a()}if(i&2){let e,t=p();f("isOpen",!0)("title",t.modalTitle_$())("maxWidth","lg"),r(),u((e=t.selectedRow_$())?1:-1,e)}}var lt=(()=>{class i{instanceRegistry_DS=$(Y);runtimeInstances_DS=$(ee);presenceMap=new Map;activeSessionMap=new Map;selectedInstanceKey_$=I(null);viewRows_$=x(()=>te.buildViewRows(this.instanceRegistry_DS.list_$(),this.runtimeInstances_DS.ccapInstanceList_$()));selectedRow_$=x(()=>{let e=this.selectedInstanceKey_$();return e?this.viewRows_$().find(t=>(t.registry.instanceKey??"")===e)??null:null});isModalOpen_$=x(()=>this.selectedRow_$()!==null);modalTitle_$=x(()=>{let e=this.selectedRow_$();if(!e)return"";let t=e.registry.hostName??"",n=e.registry.instanceKey??"";return t?`Instance \u2014 ${t}`:`Instance \u2014 ${n.slice(-6)||"?"}`});handleInfoRequested(e){this.selectedInstanceKey_$.set(e.instanceKey)}getPresenceForSelectedRow(){let e=this.selectedRow_$();if(!e)return;let t=e.registry.instanceKey??"";if(t)return this.presenceMap.get(t)}handleModalClosed(){this.selectedInstanceKey_$.set(null)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=y({type:i,selectors:[["app-s-instance-chip-row-with-info"]],hostAttrs:[1,"block"],inputs:{presenceMap:"presenceMap",activeSessionMap:"activeSessionMap"},standalone:!0,features:[g],decls:2,vars:3,consts:[[3,"infoRequested","presenceMap","activeSessionMap"],[3,"isOpen","title","maxWidth"],[3,"closed","isOpen","title","maxWidth"],[3,"row","presence"]],template:function(t,n){t&1&&(o(0,"app-s-instance-selector",0),S("infoRequested",function(d){return n.handleInfoRequested(d)}),a(),m(1,ve,2,4,"app-s-modal",1)),t&2&&(f("presenceMap",n.presenceMap)("activeSessionMap",n.activeSessionMap),r(),u(n.isModalOpen_$()?1:-1))},dependencies:[k,re,U,se],encapsulation:2})}return i})();var ge=(i,c)=>c._id;function be(i,c){if(i&1&&(o(0,"span",4),s(1),a()),i&2){let e=p(2);r(),_(" ",e.sessionJobs_$().length>9?"9+":e.sessionJobs_$().length," ")}}function Ie(i,c){if(i&1&&(o(0,"span",12),s(1),a()),i&2){let e=p().$implicit;r(),_(" ",e.schedule==null?null:e.schedule.preset," ")}}function Ee(i,c){if(i&1){let e=b();o(0,"div",9)(1,"div",10)(2,"span",11),s(3),a(),m(4,Ie,2,1,"span",12),a(),o(5,"button",13),S("click",function(){let n=w(e).$implicit,l=p(3);return v(l.handleTriggerNow(n))}),V(),o(6,"svg",14),h(7,"path",15),a()()()}if(i&2){let e,t,n,l,d=c.$implicit,E=p(3);r(2),f("title",(e=d.name)!==null&&e!==void 0?e:""),r(),_(" ",((t=d.name)!==null&&t!==void 0?t:"").trim()||"Unnamed schedule"," "),r(),u(d.schedule!=null&&d.schedule.preset?4:-1),r(),f("disabled",E.busyJobIds_$().has((n=d._id)!==null&&n!==void 0?n:""))("title",E.busyJobIds_$().has((l=d._id)!==null&&l!==void 0?l:"")?"Ind\xEDt\xE1s folyamatban\u2026":"Most futtatni (Trigger Now)")}}function $e(i,c){if(i&1){let e=b();o(0,"div",5)(1,"div",6)(2,"span",7),s(3),a(),o(4,"button",8),S("click",function(){w(e);let n=p(2);return v(n.handleToggle())}),s(5," \xD7 "),a()(),T(6,Ee,8,5,"div",9,ge),a()}if(i&2){let e=p(2);r(3),_(" Schedule (",e.sessionJobs_$().length,") "),r(3),D(e.sessionJobs_$())}}function Me(i,c){if(i&1){let e=b();o(0,"div",0)(1,"button",1),S("click",function(){w(e);let n=p();return v(n.handleToggle())}),V(),o(2,"svg",2),h(3,"path",3),a(),m(4,be,2,1,"span",4),a(),m(5,$e,8,1,"div",5),a()}if(i&2){let e=p();r(),M("-translate-x-2",!e.isOpen_$())("translate-x-2",e.isOpen_$()),f("title",e.isOpen_$()?"Schedule panel bez\xE1r\xE1sa":"Schedule megjelen\xEDt\xE9se ("+e.sessionJobs_$().length+" job)"),K("aria-expanded",e.isOpen_$()),r(3),u(e.sessionJobs_$().length>1?4:-1),r(),u(e.isOpen_$()?5:-1)}}var mt=(()=>{class i{sessionId=z.required();scheduledJobs_DS=$(ne);isOpen_$=I(!1);busyJobIds_$=I(new Set);sessionJobs_$=x(()=>{let e=(this.sessionId()??"").trim();return e?this.scheduledJobs_DS.jobs_$().filter(n=>n.enabled===!1?!1:(n.target?.payload?.sessionId??"").trim()===e):[]});hasSchedule_$=x(()=>this.sessionJobs_$().length>0);ngOnInit(){this.scheduledJobs_DS.jobs_$().length===0&&this.scheduledJobs_DS.loadAll()}handleToggle(){this.isOpen_$.update(e=>!e)}handleTriggerNow(e){return H(this,null,function*(){let t=(e._id??"").trim();if(t&&!this.busyJobIds_$().has(t)){this.busyJobIds_$.update(n=>{let l=new Set(n);return l.add(t),l});try{yield this.scheduledJobs_DS.triggerNow({jobId:t,reason:"session-overlay-manual"})}finally{this.busyJobIds_$.update(n=>{let l=new Set(n);return l.delete(t),l})}}})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=y({type:i,selectors:[["app-s-session-schedule-overlay"]],hostAttrs:[1,"absolute","bottom-4","left-0","z-30","pointer-events-none"],inputs:{sessionId:[1,"sessionId"]},standalone:!0,features:[g],decls:1,vars:1,consts:[[1,"flex","items-end","gap-2","pointer-events-auto"],["type","button","aria-label","Schedule",1,"relative","flex","items-center","justify-center","h-8","w-7","bg-neutral-900","border-2","border-l-0","border-neonCyan/60","rounded-r-lg","text-neonCyan","shadow-neon-glow-cyan","hover:border-neonCyan","hover:bg-neonCyan/10","transition-all","duration-200","ease-out",3,"click","title"],["fill","none","stroke","currentColor","viewBox","0 0 24 24","aria-hidden","true",1,"w-4","h-4"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d",`M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5
1
+ import{a as ne}from"./chunk-XPZSKXVH.js";import{a as X,b as Z}from"./chunk-QP4FRBSO.js";import{a as te,b as j}from"./chunk-L44637OO.js";import{a as G}from"./chunk-F7YWX2XF.js";import{b as Y}from"./chunk-QKBLSRUG.js";import{d as ee}from"./chunk-2XGR6NI6.js";import{a as U}from"./chunk-FLAJXIYW.js";import{p as pe}from"./chunk-GCECKZJT.js";import{$a as R,C as $,D as y,Fa as s,Ga as C,Ha as _,J as w,K as v,L as V,Q as B,T as N,Ta as g,U as z,Va as W,Z as r,aa as I,bb as L,da as m,fa as K,ga as f,h as ce,hb as x,ia as M,k as H,la as u,mb as q,na as Q,oa as T,pa as D,pb as P,qa as o,ra as a,sa as h,ua as b,ub as k,va as S,wa as p}from"./chunk-TBMJSIBB.js";var ae=ce(pe());var J=(()=>{class i{static SESSION_LIMIT_TYPE="five_hour";static WEEKLY_LIMIT_TYPE="seven_day";static formatResetText(e){if(!e?.resetsAt)return"";let t=new Date(e.resetsAt*1e3),n=new Date,l=t.getTime()-n.getTime();if(l<=0)return"expired";let d=Math.floor(l/6e4),E=Math.floor(d/60),O=d%60;return E>0?`${E}h ${O}m`:`${O}m`}static formatResetTextPrecise(e){if(!e?.resetsAt)return"";let t=new Date(e.resetsAt*1e3),n=new Date,l=Math.floor((t.getTime()-n.getTime())/1e3);if(l<=0)return"expired";let d=Math.floor(l/86400),E=Math.floor(l%86400/3600),O=Math.floor(l%3600/60),le=l%60,A=[];return d&&A.push(`${d}d`),(d||E)&&A.push(`${E}h`),(d||E||O)&&A.push(`${O}m`),A.push(`${le}s`),A.join(" ")}static computeUtilizationPercent(e){if(!e)return 0;let t=typeof e.utilization=="number"?e.utilization:0,n=Math.max(0,Math.min(1,t));return Math.round(n*100)}static computeThresholdPercent(e){if(!e)return 0;let t=typeof e.surpassedThreshold=="number"?e.surpassedThreshold:0,n=Math.max(0,Math.min(1,t));return Math.round(n*100)}static isOverThreshold(e){if(!e)return!1;let t=typeof e.utilization=="number"?e.utilization:0,n=typeof e.surpassedThreshold=="number"?e.surpassedThreshold:1;return t>=n&&n>0}static formatLimitScopeLabel(e){return e?.rateLimitType?e.rateLimitType===i.SESSION_LIMIT_TYPE?"Session":e.rateLimitType===i.WEEKLY_LIMIT_TYPE?"Weekly":e.rateLimitType:""}}return i})();function de(i,c){if(i&1&&(o(0,"div",0)(1,"span",1),s(2," Rate limit "),a(),o(3,"span",2),s(4,"Scope"),a(),o(5,"span",3),s(6),a(),o(7,"span",2),s(8,"St\xE1tusz"),a(),o(9,"span",3),s(10),a(),o(11,"span",2),s(12,"Utilization"),a(),o(13,"span",4),s(14),a(),o(15,"span",2),s(16,"Reset"),a(),o(17,"span",4),s(18),a(),o(19,"span",2),s(20,"Utols\xF3 \xE9szlel\xE9s"),a(),o(21,"span",5),s(22),R(23,"date"),a()()),i&2){let e=c,t=p();r(6),C(t.limitScopeLabel_$()||"\u2014"),r(3),M("text-neonRed",e.status==="limited")("text-yellow-400",e.status==="allowed_warning")("text-neutral-300",e.status==="allowed"),r(),_(" ",e.status||"\u2014"," "),r(4),_("",t.utilizationPercent_$(),"%"),r(4),C(t.resetText_$()||"\u2014"),r(4),_(" ",L(23,11,e.receivedAt,"yyyy-MM-dd HH:mm:ss")||"\u2014"," ")}}var oe=(()=>{class i{claudeCode_AS=$(X);_ccapId="";set ccapId(e){this._ccapId=e?.trim()??"",this.refreshRateLimitState()}get ccapId(){return this._ccapId}rateLimitInfo_$=I(null);utilizationPercent_$=x(()=>J.computeUtilizationPercent(this.rateLimitInfo_$()));resetText_$=x(()=>J.formatResetText(this.rateLimitInfo_$()));limitScopeLabel_$=x(()=>J.formatLimitScopeLabel(this.rateLimitInfo_$()));refreshRateLimitState(){if(!this._ccapId){this.rateLimitInfo_$.set(null);return}this.claudeCode_AS.getRateLimitState({ccapId:this._ccapId}).then(e=>{let t=Z.mapServerItemsToClientInfo(e.items);this.rateLimitInfo_$.set(t)}).catch(e=>{ae.DyFM_Log.warn(`s-cc-rate-limit-info | rate-limit fetch failed | ccapId: ${this._ccapId} | err: ${String(e)}`),this.rateLimitInfo_$.set(null)})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=y({type:i,selectors:[["app-s-cc-rate-limit-info"]],inputs:{ccapId:"ccapId"},standalone:!0,features:[g],decls:1,vars:1,consts:[[1,"grid","grid-cols-[minmax(8rem,auto)_1fr]","gap-x-3","gap-y-2","text-xs","text-neutral-200"],[1,"col-span-2","text-[11px]","uppercase","tracking-wider","text-neutral-500"],[1,"text-neutral-500","shrink-0"],[1,"whitespace-nowrap"],[1,"whitespace-nowrap","font-mono"],[1,"font-mono","text-[11px]","whitespace-nowrap"]],template:function(t,n){if(t&1&&m(0,de,24,14,"div",0),t&2){let l;u((l=n.rateLimitInfo_$())?0:-1,l)}},dependencies:[k,P],encapsulation:2})}return i})();function ue(i,c){if(i&1&&(o(0,"span",1),s(1,"Instance presence"),a(),o(2,"span",4),h(3,"app-s-instance-presence-badge",8),a()),i&2){let e=c;r(3),f("presence",e.presence)("lastHeartbeatAt",e.lastHeartbeatAt)("wsConnected",e.wsConnected)}}function me(i,c){if(i&1&&(o(0,"span",9),s(1,"Run / tev\xE9kenys\xE9g"),a(),o(2,"span",10)(3,"span",11),s(4),a(),o(5,"span",12),s(6),a()(),o(7,"span",1),s(8,"Utols\xF3 aktivit\xE1s"),a(),o(9,"span",13),s(10),R(11,"date"),a(),o(12,"span",1),s(13,"Utols\xF3 \xFCzenet"),a(),o(14,"span",14),s(15),a()),i&2){let e=c;r(4),C(e.activeRunPhase||"\u2014"),r(2),C(e.activitySummary||"\u2014"),r(4),_(" ",L(11,4,e.lastActivityAt,"yyyy-MM-dd HH:mm:ss")||"\u2014"," "),r(5),C(e.lastMessage||"\u2014")}}var se=(()=>{class i{row;presence=void 0;static \u0275fac=function(t){return new(t||i)};static \u0275cmp=y({type:i,selectors:[["app-s-instance-detail-view"]],inputs:{row:"row",presence:"presence"},standalone:!0,features:[g],decls:43,vars:18,consts:[[1,"grid","grid-cols-[minmax(8rem,auto)_1fr]","gap-x-3","gap-y-2","text-xs","text-neutral-200"],[1,"text-neutral-500","shrink-0"],[1,"font-mono","break-all"],[1,"break-all"],[1,"whitespace-nowrap"],[1,"font-mono","whitespace-nowrap"],[1,"mt-2","pt-2","border-t","border-neutral-800"],[3,"ccapId"],[3,"presence","lastHeartbeatAt","wsConnected"],[1,"text-neutral-500","shrink-0","self-start","pt-0.5"],[1,"break-words"],[1,"font-mono","text-[11px]","text-neutral-400","block"],[1,"text-neutral-300"],[1,"font-mono","text-[11px]","whitespace-nowrap"],[1,"break-words","text-neutral-300"]],template:function(t,n){if(t&1&&(o(0,"div",0)(1,"span",1),s(2,"instanceKey"),a(),o(3,"span",2),s(4),a(),o(5,"span",1),s(6,"N\xE9v"),a(),o(7,"span",3),s(8),a(),o(9,"span",1),s(10,"St\xE1tusz"),a(),o(11,"span",4),s(12),a(),m(13,ue,4,3),o(14,"span",1),s(15,"Session presence"),a(),o(16,"span",4),s(17),a(),m(18,me,16,7),o(19,"span",1),s(20,"MAC"),a(),o(21,"span",2),s(22),a(),o(23,"span",1),s(24,"Install path"),a(),o(25,"span",2),s(26),a(),o(27,"span",1),s(28,"hostName"),a(),o(29,"span",3),s(30),a(),o(31,"span",1),s(32,"registry __created"),a(),o(33,"span",5),s(34),R(35,"date"),a(),o(36,"span",1),s(37,"registry __updated"),a(),o(38,"span",5),s(39),R(40,"date"),a()(),o(41,"div",6),h(42,"app-s-cc-rate-limit-info",7),a()),t&2){let l,d;r(4),C(n.row.registry.instanceKey||"\u2014"),r(4),C((n.row.instanceData==null||n.row.instanceData.name==null?null:n.row.instanceData.name.trim())||"\u2014"),r(4),C((n.row.instanceData==null?null:n.row.instanceData.status)||"\u2014"),r(),u((l=n.presence)?13:-1,l),r(4),_(" ",(n.row.instanceData==null||n.row.instanceData.sessionStatuses==null||n.row.instanceData.sessionStatuses[0]==null?null:n.row.instanceData.sessionStatuses[0].presence)||"\u2014"," "),r(),u((d=n.row.instanceData==null||n.row.instanceData.sessionStatuses==null?null:n.row.instanceData.sessionStatuses[0])?18:-1,d),r(4),C(n.row.registry.primaryMacAddress||"\u2014"),r(4),C(n.row.registry.installLocationPath||"\u2014"),r(4),C(n.row.registry.hostName||"\u2014"),r(4),_(" ",L(35,12,n.row.registry.__created,"yyyy-MM-dd HH:mm:ss")||"\u2014"," "),r(5),_(" ",L(40,15,n.row.registry.__updated,"yyyy-MM-dd HH:mm:ss")||"\u2014"," "),r(3),f("ccapId",n.row.registry.instanceKey||"")}},dependencies:[k,P,oe,j],encapsulation:2})}return i})();var _e=(i,c)=>c.instanceKey,fe=i=>({"bg-ccapAccent/10":i});function xe(i,c){if(i&1&&h(0,"app-s-instance-presence-badge",5),i&2){let e=c;f("presence",e.presence)("lastHeartbeatAt",e.lastHeartbeatAt)("wsConnected",e.wsConnected)("showLabel",!1)}}function Se(i,c){i&1&&(o(0,"span",6),s(1,"(local)"),a())}function he(i,c){i&1&&h(0,"span",7)}function Ce(i,c){if(i&1){let e=b();o(0,"div",2)(1,"button",4),S("click",function(){let n,l=w(e).$implicit,d=p();return v(d.handleSelectInstance((n=l.instanceKey)!==null&&n!==void 0?n:""))}),m(2,xe,1,4,"app-s-instance-presence-badge",5),s(3),m(4,Se,2,0,"span",6)(5,he,1,0,"span",7),a(),o(6,"button",8),S("click",function(){let n,l=w(e).$implicit,d=p();return v(d.handleInfoClick((n=l.instanceKey)!==null&&n!==void 0?n:""))}),s(7," i "),a()()}if(i&2){let e,t=c.$implicit,n=p();r(),M("border-ccapAccent",n.isSelected(t))("text-ccapAccent",n.isSelected(t))("border-neonDefault",!n.isSelected(t))("text-neutral-400",!n.isSelected(t))("hover:text-neutral-200",!n.isSelected(t))("hover:border-neutral-500",!n.isSelected(t)),f("ngClass",W(17,fe,n.isSelected(t))),r(),u((e=n.getPresenceForRow(t))?2:-1,e),r(),_(" ",n.getDisplayLabel(t)," "),r(),u(n.isLocal(t)?4:-1),r(),u(n.getActiveSessionForRow(t)?5:-1)}}function ye(i,c){i&1&&(o(0,"span",3),s(1,"loading..."),a())}var re=(()=>{class i{peiContext_DS=$(G);presenceMap=new Map;activeSessionMap=new Map;infoRequested=new B;instances_$=x(()=>this.peiContext_DS.instanceList_$());selectedCcapId_$=x(()=>this.peiContext_DS.activeCcapId_$());localKey_$=x(()=>this.peiContext_DS.localInstanceKey_$());ngOnInit(){this.peiContext_DS.initialize()}handleSelectInstance(e){this.peiContext_DS.selectInstance(e)}handleInfoClick(e){this.infoRequested.emit({instanceKey:e})}getDisplayLabel(e){let t=e.hostName??"",n=(e.instanceKey??"").slice(-6);return t?`${t} (${n})`:n||"?"}isSelected(e){return(e.instanceKey??"")===this.selectedCcapId_$()}isLocal(e){return(e.instanceKey??"")===this.localKey_$()}getPresenceForRow(e){let t=e.instanceKey??"";return t?this.presenceMap.get(t)??null:null}getActiveSessionForRow(e){let t=e.instanceKey??"";return t?this.activeSessionMap.get(t)===!0:!1}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=y({type:i,selectors:[["app-s-instance-selector"]],hostAttrs:[1,"block"],inputs:{presenceMap:"presenceMap",activeSessionMap:"activeSessionMap"},outputs:{infoRequested:"infoRequested"},standalone:!0,features:[g],decls:6,vars:1,consts:[[1,"flex","gap-1","flex-wrap","items-center"],[1,"text-[10px]","text-neutral-500","mr-1","uppercase","tracking-wider"],[1,"flex","items-center","gap-0.5","group"],[1,"text-[10px]","text-neutral-600","italic"],[1,"px-2","py-0.5","text-[11px]","rounded-full","border","transition-colors","flex","items-center","gap-1",3,"click","ngClass"],[3,"presence","lastHeartbeatAt","wsConnected","showLabel"],[1,"ml-0.5","text-[9px]","text-neutral-500"],["title","Akt\xEDv session fut ezen az instance-en","aria-label","Akt\xEDv session fut ezen az instance-en","data-testid","s-instance-active-session-dot",1,"inline-block","w-1.5","h-1.5","rounded-full","bg-yellow-400","animate-pulse","shrink-0"],["type","button","title","Instance details","aria-label","Show instance details","data-testid","s-instance-selector-info-btn",1,"text-[11px]","leading-none","w-4","h-4","rounded-full","border","border-neutral-700","text-neutral-500","hover:text-ccapAccent","hover:border-ccapAccent","transition-colors","flex","items-center","justify-center",3,"click"]],template:function(t,n){t&1&&(o(0,"div",0)(1,"span",1),s(2,"Instance:"),a(),T(3,Ce,8,19,"div",2,_e),m(5,ye,2,0,"span",3),a()),t&2&&(r(3),D(n.instances_$()),r(2),u(n.instances_$().length?-1:5))},dependencies:[k,q,j],encapsulation:2})}return i})();function we(i,c){if(i&1&&h(0,"app-s-instance-detail-view",3),i&2){let e=p(2);f("row",c)("presence",e.getPresenceForSelectedRow())}}function ve(i,c){if(i&1){let e=b();o(0,"app-s-modal",2),S("closed",function(){w(e);let n=p();return v(n.handleModalClosed())}),m(1,we,1,2,"app-s-instance-detail-view",3),a()}if(i&2){let e,t=p();f("isOpen",!0)("title",t.modalTitle_$())("maxWidth","lg"),r(),u((e=t.selectedRow_$())?1:-1,e)}}var lt=(()=>{class i{instanceRegistry_DS=$(Y);runtimeInstances_DS=$(ee);presenceMap=new Map;activeSessionMap=new Map;selectedInstanceKey_$=I(null);viewRows_$=x(()=>te.buildViewRows(this.instanceRegistry_DS.list_$(),this.runtimeInstances_DS.ccapInstanceList_$()));selectedRow_$=x(()=>{let e=this.selectedInstanceKey_$();return e?this.viewRows_$().find(t=>(t.registry.instanceKey??"")===e)??null:null});isModalOpen_$=x(()=>this.selectedRow_$()!==null);modalTitle_$=x(()=>{let e=this.selectedRow_$();if(!e)return"";let t=e.registry.hostName??"",n=e.registry.instanceKey??"";return t?`Instance \u2014 ${t}`:`Instance \u2014 ${n.slice(-6)||"?"}`});handleInfoRequested(e){this.selectedInstanceKey_$.set(e.instanceKey)}getPresenceForSelectedRow(){let e=this.selectedRow_$();if(!e)return;let t=e.registry.instanceKey??"";if(t)return this.presenceMap.get(t)}handleModalClosed(){this.selectedInstanceKey_$.set(null)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=y({type:i,selectors:[["app-s-instance-chip-row-with-info"]],hostAttrs:[1,"block"],inputs:{presenceMap:"presenceMap",activeSessionMap:"activeSessionMap"},standalone:!0,features:[g],decls:2,vars:3,consts:[[3,"infoRequested","presenceMap","activeSessionMap"],[3,"isOpen","title","maxWidth"],[3,"closed","isOpen","title","maxWidth"],[3,"row","presence"]],template:function(t,n){t&1&&(o(0,"app-s-instance-selector",0),S("infoRequested",function(d){return n.handleInfoRequested(d)}),a(),m(1,ve,2,4,"app-s-modal",1)),t&2&&(f("presenceMap",n.presenceMap)("activeSessionMap",n.activeSessionMap),r(),u(n.isModalOpen_$()?1:-1))},dependencies:[k,re,U,se],encapsulation:2})}return i})();var ge=(i,c)=>c._id;function be(i,c){if(i&1&&(o(0,"span",4),s(1),a()),i&2){let e=p(2);r(),_(" ",e.sessionJobs_$().length>9?"9+":e.sessionJobs_$().length," ")}}function Ie(i,c){if(i&1&&(o(0,"span",12),s(1),a()),i&2){let e=p().$implicit;r(),_(" ",e.schedule==null?null:e.schedule.preset," ")}}function Ee(i,c){if(i&1){let e=b();o(0,"div",9)(1,"div",10)(2,"span",11),s(3),a(),m(4,Ie,2,1,"span",12),a(),o(5,"button",13),S("click",function(){let n=w(e).$implicit,l=p(3);return v(l.handleTriggerNow(n))}),V(),o(6,"svg",14),h(7,"path",15),a()()()}if(i&2){let e,t,n,l,d=c.$implicit,E=p(3);r(2),f("title",(e=d.name)!==null&&e!==void 0?e:""),r(),_(" ",((t=d.name)!==null&&t!==void 0?t:"").trim()||"Unnamed schedule"," "),r(),u(d.schedule!=null&&d.schedule.preset?4:-1),r(),f("disabled",E.busyJobIds_$().has((n=d._id)!==null&&n!==void 0?n:""))("title",E.busyJobIds_$().has((l=d._id)!==null&&l!==void 0?l:"")?"Ind\xEDt\xE1s folyamatban\u2026":"Most futtatni (Trigger Now)")}}function $e(i,c){if(i&1){let e=b();o(0,"div",5)(1,"div",6)(2,"span",7),s(3),a(),o(4,"button",8),S("click",function(){w(e);let n=p(2);return v(n.handleToggle())}),s(5," \xD7 "),a()(),T(6,Ee,8,5,"div",9,ge),a()}if(i&2){let e=p(2);r(3),_(" Schedule (",e.sessionJobs_$().length,") "),r(3),D(e.sessionJobs_$())}}function Me(i,c){if(i&1){let e=b();o(0,"div",0)(1,"button",1),S("click",function(){w(e);let n=p();return v(n.handleToggle())}),V(),o(2,"svg",2),h(3,"path",3),a(),m(4,be,2,1,"span",4),a(),m(5,$e,8,1,"div",5),a()}if(i&2){let e=p();r(),M("-translate-x-2",!e.isOpen_$())("translate-x-2",e.isOpen_$()),f("title",e.isOpen_$()?"Schedule panel bez\xE1r\xE1sa":"Schedule megjelen\xEDt\xE9se ("+e.sessionJobs_$().length+" job)"),K("aria-expanded",e.isOpen_$()),r(3),u(e.sessionJobs_$().length>1?4:-1),r(),u(e.isOpen_$()?5:-1)}}var mt=(()=>{class i{sessionId=z.required();scheduledJobs_DS=$(ne);isOpen_$=I(!1);busyJobIds_$=I(new Set);sessionJobs_$=x(()=>{let e=(this.sessionId()??"").trim();return e?this.scheduledJobs_DS.jobs_$().filter(n=>n.enabled===!1?!1:(n.target?.payload?.sessionId??"").trim()===e):[]});hasSchedule_$=x(()=>this.sessionJobs_$().length>0);ngOnInit(){this.scheduledJobs_DS.jobs_$().length===0&&this.scheduledJobs_DS.loadAll()}handleToggle(){this.isOpen_$.update(e=>!e)}handleTriggerNow(e){return H(this,null,function*(){let t=(e._id??"").trim();if(t&&!this.busyJobIds_$().has(t)){this.busyJobIds_$.update(n=>{let l=new Set(n);return l.add(t),l});try{yield this.scheduledJobs_DS.triggerNow({jobId:t,reason:"session-overlay-manual"})}finally{this.busyJobIds_$.update(n=>{let l=new Set(n);return l.delete(t),l})}}})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=y({type:i,selectors:[["app-s-session-schedule-overlay"]],hostAttrs:[1,"absolute","bottom-4","left-0","z-30","pointer-events-none"],inputs:{sessionId:[1,"sessionId"]},standalone:!0,features:[g],decls:1,vars:1,consts:[[1,"flex","items-end","gap-2","pointer-events-auto"],["type","button","aria-label","Schedule",1,"relative","flex","items-center","justify-center","h-8","w-7","bg-neutral-900","border-2","border-l-0","border-neonCyan/60","rounded-r-lg","text-neonCyan","shadow-neon-glow-cyan","hover:border-neonCyan","hover:bg-neonCyan/10","transition-all","duration-200","ease-out",3,"click","title"],["fill","none","stroke","currentColor","viewBox","0 0 24 24","aria-hidden","true",1,"w-4","h-4"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d",`M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5
2
2
  a2 2 0 00-2 2v12a2 2 0 002 2z`],["aria-hidden","true",1,"absolute","-top-1","-right-1","min-w-[14px]","h-[14px]","px-[2px]","bg-neonAmber","text-neutral-900","rounded-full","text-[9px]","font-mono","font-bold","leading-[14px]","text-center","shadow-neon-glow-orange"],[1,"bg-neutral-900","border-2","border-neonCyan/60","rounded-lg","p-3","flex","flex-col","gap-2","min-w-[16rem]","max-w-xs","shadow-neon-glow-cyan"],[1,"flex","items-center","justify-between","gap-2"],[1,"text-[10px]","uppercase","tracking-wider","text-neonCyan","font-mono"],["type","button","title","Bez\xE1r\xE1s","aria-label","Schedule panel bez\xE1r\xE1sa",1,"text-neutral-400","hover:text-neonCyan","leading-none","px-1","transition-colors",3,"click"],[1,"flex","items-center","justify-between","gap-2","border-t","border-neutral-800","pt-2","first:border-t-0","first:pt-0"],[1,"flex","flex-col","min-w-0"],[1,"text-sm","text-neutral-100","truncate",3,"title"],[1,"text-[10px]","text-neutral-500","font-mono"],["type","button","aria-label","Trigger now",1,"shrink-0","flex","items-center","justify-center","w-7","h-7","rounded-full","bg-neutral-900","border-2","border-neonCyan/60","text-neonCyan","hover:border-neonCyan","hover:bg-neonCyan/10","hover:shadow-neon-glow-cyan","disabled:opacity-40","disabled:cursor-not-allowed","transition-all",3,"click","disabled","title"],["fill","currentColor","viewBox","0 0 24 24","aria-hidden","true",1,"w-3.5","h-3.5"],["d","M8 5v14l11-7z"]],template:function(t,n){t&1&&m(0,Me,6,8,"div",0),t&2&&u(n.hasSchedule_$()?0:-1)},encapsulation:2})}return i})();function ke(i,c){if(i&1){let e=b();o(0,"button",10),S("click",function(){let n=w(e).$implicit,l=p(2);return v(l.handleAction(n))}),s(1),a()}if(i&2){let e=c.$implicit,t=p(2);f("disabled",t.pendingAction_$()===e),r(),_(" ",t.pendingAction_$()===e?"Sending\u2026":e," ")}}function Te(i,c){if(i&1){let e=b();o(0,"div",4)(1,"div",5)(2,"span",6),s(3," QC "),a(),o(4,"button",7),S("click",function(){w(e);let n=p();return v(n.handleToggle())}),s(5," \xD7 "),a()(),o(6,"div",8),T(7,ke,2,2,"button",9,Q),a()()}if(i&2){let e=p();r(7),D(e.actions())}}var ht=(()=>{class i{actions=z(["Go","Continue","OK","Proceed","Review Very Very Carefully","Ensure Documentations"]);actionSelected=N();isOpen_$=I(!1);pendingAction_$=I(null);handleToggle(){this.isOpen_$.update(e=>!e)}handleAction(e){this.pendingAction_$()===null&&(this.pendingAction_$.set(e),this.actionSelected.emit(e),setTimeout(()=>{this.pendingAction_$()===e&&this.pendingAction_$.set(null)},800))}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=y({type:i,selectors:[["app-s-session-quickcast-overlay"]],hostAttrs:[1,"absolute","bottom-16","left-0","z-30","pointer-events-none"],inputs:{actions:[1,"actions"]},outputs:{actionSelected:"actionSelected"},standalone:!0,features:[g],decls:5,vars:7,consts:[[1,"flex","items-end","gap-2","pointer-events-auto"],["type","button","aria-label","QuickCast",1,"flex","items-center","justify-center","h-8","w-7","bg-neutral-900","border-2","border-l-0","border-neonCyan/60","rounded-r-lg","text-neonCyan","shadow-neon-glow-cyan","hover:border-neonCyan","hover:bg-neonCyan/10","transition-all","duration-200","ease-out",3,"click","title"],["fill","none","stroke","currentColor","viewBox","0 0 24 24","aria-hidden","true",1,"w-4","h-4"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13 10V3L4 14h7v7l9-11h-7z"],[1,"bg-neutral-900","border-2","border-neonCyan/60","rounded-md","p-1.5","flex","flex-col","gap-1","min-w-[7rem]","max-w-[12rem]","shadow-neon-glow-cyan"],[1,"flex","items-center","justify-between","gap-1"],[1,"text-[9px]","uppercase","tracking-wider","text-neonCyan","font-mono","leading-none"],["type","button","title","Bez\xE1r\xE1s","aria-label","QuickCast panel bez\xE1r\xE1sa",1,"text-neutral-400","hover:text-neonCyan","leading-none","text-xs","px-1","transition-colors",3,"click"],[1,"flex","flex-col","gap-1"],["type","button",1,"px-1.5","py-0.5","rounded","border-2","border-neonCyan/60","text-neonCyan","text-[11px]","font-medium","hover:border-neonCyan","hover:bg-neonCyan/10","hover:shadow-neon-glow-cyan","disabled:opacity-40","disabled:cursor-not-allowed","transition-all","leading-tight",3,"disabled"],["type","button",1,"px-1.5","py-0.5","rounded","border-2","border-neonCyan/60","text-neonCyan","text-[11px]","font-medium","hover:border-neonCyan","hover:bg-neonCyan/10","hover:shadow-neon-glow-cyan","disabled:opacity-40","disabled:cursor-not-allowed","transition-all","leading-tight",3,"click","disabled"]],template:function(t,n){t&1&&(o(0,"div",0)(1,"button",1),S("click",function(){return n.handleToggle()}),V(),o(2,"svg",2),h(3,"path",3),a()(),m(4,Te,9,0,"div",4),a()),t&2&&(r(),M("-translate-x-2",!n.isOpen_$())("translate-x-2",n.isOpen_$()),f("title",n.isOpen_$()?"QuickCast bez\xE1r\xE1sa":"QuickCast megnyit\xE1sa"),K("aria-expanded",n.isOpen_$()),r(3),u(n.isOpen_$()?4:-1))},encapsulation:2})}return i})();export{J as a,lt as b,mt as c,ht as d};
3
- //# sourceMappingURL=chunk-4HJDLLFI.js.map
3
+ //# sourceMappingURL=chunk-F7X2YYE6.js.map
@@ -1,2 +1,2 @@
1
- import{b as S}from"./chunk-LAKLG4XY.js";import{C as o,aa as l,hb as s,k as a,y as c}from"./chunk-TBMJSIBB.js";var n="pei:selectedCcapId",$=(()=>{class i{instanceRegistry_DS=o(S);selectedCcapId_$=l("");activeCcapId_$=s(()=>{let e=this.selectedCcapId_$();return e||(this.instanceRegistry_DS.current_$()?.instanceKey??"")});isLocalSelected_$=s(()=>{let e=this.instanceRegistry_DS.current_$()?.instanceKey??"",t=this.activeCcapId_$();return!t||!e||t===e});instanceList_$=s(()=>this.instanceRegistry_DS.list_$());localInstanceKey_$=s(()=>this.instanceRegistry_DS.current_$()?.instanceKey??"");initializePromise=null;ensureInitialized(){return this.initializePromise||(this.initializePromise=this.initialize()),this.initializePromise}initialize(){return a(this,null,function*(){!this.instanceRegistry_DS.current_$()&&!this.instanceRegistry_DS.currentLoading_$()&&(yield this.instanceRegistry_DS.loadCurrent()),!this.instanceRegistry_DS.list_$().length&&!this.instanceRegistry_DS.listLoading_$()&&(yield this.instanceRegistry_DS.loadList()),this.restoreFromSessionStorage(),this.validateRestoredSelection()})}selectInstance(e){this.selectedCcapId_$.set(e),this.persistToSessionStorage(e)}restoreFromSessionStorage(){try{let e=sessionStorage.getItem(n);e&&this.selectedCcapId_$.set(e)}catch{}}validateRestoredSelection(){let e=this.selectedCcapId_$();if(!e)return;let t=this.instanceRegistry_DS.current_$()?.instanceKey??"";if(t&&e===t)return;let r=this.instanceRegistry_DS.list_$();r.length&&r.some(_=>_.instanceKey===e)||t&&(this.selectedCcapId_$.set(""),this.clearSessionStorage())}persistToSessionStorage(e){try{sessionStorage.setItem(n,e)}catch{}}clearSessionStorage(){try{sessionStorage.removeItem(n)}catch{}}static \u0275fac=function(t){return new(t||i)};static \u0275prov=c({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();export{$ as a};
2
- //# sourceMappingURL=chunk-YJDEC7KW.js.map
1
+ import{b as S}from"./chunk-QKBLSRUG.js";import{C as o,aa as l,hb as s,k as a,y as c}from"./chunk-TBMJSIBB.js";var n="pei:selectedCcapId",$=(()=>{class i{instanceRegistry_DS=o(S);selectedCcapId_$=l("");activeCcapId_$=s(()=>{let e=this.selectedCcapId_$();return e||(this.instanceRegistry_DS.current_$()?.instanceKey??"")});isLocalSelected_$=s(()=>{let e=this.instanceRegistry_DS.current_$()?.instanceKey??"",t=this.activeCcapId_$();return!t||!e||t===e});instanceList_$=s(()=>this.instanceRegistry_DS.list_$());localInstanceKey_$=s(()=>this.instanceRegistry_DS.current_$()?.instanceKey??"");initializePromise=null;ensureInitialized(){return this.initializePromise||(this.initializePromise=this.initialize()),this.initializePromise}initialize(){return a(this,null,function*(){!this.instanceRegistry_DS.current_$()&&!this.instanceRegistry_DS.currentLoading_$()&&(yield this.instanceRegistry_DS.loadCurrent()),!this.instanceRegistry_DS.list_$().length&&!this.instanceRegistry_DS.listLoading_$()&&(yield this.instanceRegistry_DS.loadList()),this.restoreFromSessionStorage(),this.validateRestoredSelection()})}selectInstance(e){this.selectedCcapId_$.set(e),this.persistToSessionStorage(e)}restoreFromSessionStorage(){try{let e=sessionStorage.getItem(n);e&&this.selectedCcapId_$.set(e)}catch{}}validateRestoredSelection(){let e=this.selectedCcapId_$();if(!e)return;let t=this.instanceRegistry_DS.current_$()?.instanceKey??"";if(t&&e===t)return;let r=this.instanceRegistry_DS.list_$();r.length&&r.some(_=>_.instanceKey===e)||t&&(this.selectedCcapId_$.set(""),this.clearSessionStorage())}persistToSessionStorage(e){try{sessionStorage.setItem(n,e)}catch{}}clearSessionStorage(){try{sessionStorage.removeItem(n)}catch{}}static \u0275fac=function(t){return new(t||i)};static \u0275prov=c({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();export{$ as a};
2
+ //# sourceMappingURL=chunk-F7YWX2XF.js.map
@@ -1,2 +1,2 @@
1
- import{k as F}from"./chunk-VBTMKAVX.js";import{D as h,Fa as _,Ga as C,Ha as T,J as x,K as u,T as E,Ta as L,U as l,Ua as k,Z as a,da as c,ga as S,la as d,ma as f,oa as v,pa as g,qa as o,ra as r,sa as p,ua as y,ub as R,va as b,wa as i,xa as M,ya as w}from"./chunk-TBMJSIBB.js";var I=["*","*"],D=()=>[];function j(t,n){if(t&1){let e=y();o(0,"div",2)(1,"button",3),b("click",function(){x(e);let m=i(3);return u(m.handleRetry())}),_(2," \xDAjrapr\xF3b\xE1l\xE1s "),r()()}}function V(t,n){if(t&1&&(o(0,"div"),p(1,"app-ccap-error-display",1),c(2,j,3,0,"div",2),r()),t&2){let e=i(2);a(),S("error",e.error())("sourceLabelOverride",e.errorSourceLabel()),a(),d(e.showRetry()?2:-1)}}function A(t,n){t&1&&(o(0,"div",6),p(1,"div",9)(2,"div",10),r())}function P(t,n){if(t&1&&(o(0,"div",4),v(1,A,3,0,"div",6,f),o(3,"div",7),p(4,"span",8),_(5),r()()),t&2){let e=i(3);a(),g(k(1,D).constructor(e.skeletonRows())),a(4),T(" ",e.loadingMessage()," ")}}function B(t,n){if(t&1&&(o(0,"p",5),_(1),r()),t&2){let e=i(3);a(),C(e.loadingMessage())}}function O(t,n){if(t&1&&c(0,P,6,2,"div",4)(1,B,2,1,"p",5),t&2){let e=i(2);d(e.showSkeleton()?0:1)}}function N(t,n){if(t&1&&(o(0,"p",0),_(1),r()),t&2){let e=i(2);a(),C(e.emptyMessage())}}function q(t,n){t&1&&w(0)}function z(t,n){if(t&1&&c(0,V,3,3,"div")(1,O,2,1)(2,N,2,1,"p",0)(3,q,1,0),t&2){let e=i();d(e.error()?0:e.isLoading()?1:e.isEmpty()?2:3)}}function G(t,n){t&1&&(o(0,"div",6),p(1,"div",9)(2,"div",10),r())}function H(t,n){if(t&1&&(o(0,"div",4),v(1,G,3,0,"div",6,f),o(3,"div",7),p(4,"span",8),_(5),r()()),t&2){let e=i(3);a(),g(k(1,D).constructor(e.skeletonRows())),a(4),T(" ",e.loadingMessage()," ")}}function J(t,n){if(t&1&&(o(0,"p",5),_(1),r()),t&2){let e=i(3);a(),C(e.loadingMessage())}}function K(t,n){if(t&1&&c(0,H,6,2,"div",4)(1,J,2,1,"p",5),t&2){let e=i(2);d(e.showSkeleton()?0:1)}}function Q(t,n){if(t&1){let e=y();o(0,"div",2)(1,"button",3),b("click",function(){x(e);let m=i(3);return u(m.handleRetry())}),_(2," \xDAjrapr\xF3b\xE1l\xE1s "),r()()}}function U(t,n){if(t&1&&(o(0,"div"),p(1,"app-ccap-error-display",1),c(2,Q,3,0,"div",2),r()),t&2){let e=i(2);a(),S("error",e.error())("sourceLabelOverride",e.errorSourceLabel()),a(),d(e.showRetry()?2:-1)}}function W(t,n){if(t&1&&(o(0,"p",0),_(1),r()),t&2){let e=i(2);a(),C(e.emptyMessage())}}function X(t,n){t&1&&w(0,1)}function Y(t,n){if(t&1&&c(0,K,2,1)(1,U,3,3,"div")(2,W,2,1,"p",0)(3,X,1,0),t&2){let e=i();d(e.isLoading()?0:e.error()?1:e.isEmpty()?2:3)}}var ot=(()=>{class t{isLoading=l(!1);error=l(null);isEmpty=l(!1);errorSourceLabel=l("");emptyMessage=l("Nincs megjelen\xEDthet\u0151 elem.");loadingMessage=l("Bet\xF6lt\xE9s\u2026");skeletonRows=l(2);showSkeleton=l(!1);showRetry=l(!0);errorTakesPrecedence=l(!1);retry=E();handleRetry(){this.retry.emit()}static \u0275fac=function(s){return new(s||t)};static \u0275cmp=h({type:t,selectors:[["app-s-content-state"]],hostAttrs:[1,"block"],inputs:{isLoading:[1,"isLoading"],error:[1,"error"],isEmpty:[1,"isEmpty"],errorSourceLabel:[1,"errorSourceLabel"],emptyMessage:[1,"emptyMessage"],loadingMessage:[1,"loadingMessage"],skeletonRows:[1,"skeletonRows"],showSkeleton:[1,"showSkeleton"],showRetry:[1,"showRetry"],errorTakesPrecedence:[1,"errorTakesPrecedence"]},outputs:{retry:"retry"},standalone:!0,features:[L],ngContentSelectors:I,decls:2,vars:1,consts:[[1,"text-neutral-500","py-4"],[1,"mb-3","block",3,"error","sourceLabelOverride"],[1,"text-center"],["type","button",1,"mt-1","px-3","py-1.5","text-sm","border","border-neonCyan","rounded-md","bg-transparent","text-neutral-200","hover:bg-neutral-800","hover:shadow-neon-glow-cyan","transition-colors",3,"click"],[1,"flex","flex-col","gap-2","py-4"],[1,"text-neutral-400"],[1,"px-4","py-3","border","border-neonDefault","rounded-lg","animate-pulse"],[1,"flex","items-center","gap-2","text-neutral-500","text-sm"],[1,"inline-block","w-2","h-2","rounded-full","bg-ccapAccent","animate-pulse"],[1,"h-4","w-3/4","bg-neutral-600","rounded","mb-2"],[1,"h-3","w-1/2","bg-neutral-700","rounded"]],template:function(s,m){s&1&&(M(I),c(0,z,4,1)(1,Y,4,1)),s&2&&d(m.errorTakesPrecedence()?0:1)},dependencies:[R,F],encapsulation:2})}return t})();export{ot as a};
2
- //# sourceMappingURL=chunk-PPGVFGOL.js.map
1
+ import{k as F}from"./chunk-WRXGGQII.js";import{D as h,Fa as _,Ga as C,Ha as T,J as x,K as u,T as E,Ta as L,U as l,Ua as k,Z as a,da as c,ga as S,la as d,ma as f,oa as v,pa as g,qa as o,ra as r,sa as p,ua as y,ub as R,va as b,wa as i,xa as M,ya as w}from"./chunk-TBMJSIBB.js";var I=["*","*"],D=()=>[];function j(t,n){if(t&1){let e=y();o(0,"div",2)(1,"button",3),b("click",function(){x(e);let m=i(3);return u(m.handleRetry())}),_(2," \xDAjrapr\xF3b\xE1l\xE1s "),r()()}}function V(t,n){if(t&1&&(o(0,"div"),p(1,"app-ccap-error-display",1),c(2,j,3,0,"div",2),r()),t&2){let e=i(2);a(),S("error",e.error())("sourceLabelOverride",e.errorSourceLabel()),a(),d(e.showRetry()?2:-1)}}function A(t,n){t&1&&(o(0,"div",6),p(1,"div",9)(2,"div",10),r())}function P(t,n){if(t&1&&(o(0,"div",4),v(1,A,3,0,"div",6,f),o(3,"div",7),p(4,"span",8),_(5),r()()),t&2){let e=i(3);a(),g(k(1,D).constructor(e.skeletonRows())),a(4),T(" ",e.loadingMessage()," ")}}function B(t,n){if(t&1&&(o(0,"p",5),_(1),r()),t&2){let e=i(3);a(),C(e.loadingMessage())}}function O(t,n){if(t&1&&c(0,P,6,2,"div",4)(1,B,2,1,"p",5),t&2){let e=i(2);d(e.showSkeleton()?0:1)}}function N(t,n){if(t&1&&(o(0,"p",0),_(1),r()),t&2){let e=i(2);a(),C(e.emptyMessage())}}function q(t,n){t&1&&w(0)}function z(t,n){if(t&1&&c(0,V,3,3,"div")(1,O,2,1)(2,N,2,1,"p",0)(3,q,1,0),t&2){let e=i();d(e.error()?0:e.isLoading()?1:e.isEmpty()?2:3)}}function G(t,n){t&1&&(o(0,"div",6),p(1,"div",9)(2,"div",10),r())}function H(t,n){if(t&1&&(o(0,"div",4),v(1,G,3,0,"div",6,f),o(3,"div",7),p(4,"span",8),_(5),r()()),t&2){let e=i(3);a(),g(k(1,D).constructor(e.skeletonRows())),a(4),T(" ",e.loadingMessage()," ")}}function J(t,n){if(t&1&&(o(0,"p",5),_(1),r()),t&2){let e=i(3);a(),C(e.loadingMessage())}}function K(t,n){if(t&1&&c(0,H,6,2,"div",4)(1,J,2,1,"p",5),t&2){let e=i(2);d(e.showSkeleton()?0:1)}}function Q(t,n){if(t&1){let e=y();o(0,"div",2)(1,"button",3),b("click",function(){x(e);let m=i(3);return u(m.handleRetry())}),_(2," \xDAjrapr\xF3b\xE1l\xE1s "),r()()}}function U(t,n){if(t&1&&(o(0,"div"),p(1,"app-ccap-error-display",1),c(2,Q,3,0,"div",2),r()),t&2){let e=i(2);a(),S("error",e.error())("sourceLabelOverride",e.errorSourceLabel()),a(),d(e.showRetry()?2:-1)}}function W(t,n){if(t&1&&(o(0,"p",0),_(1),r()),t&2){let e=i(2);a(),C(e.emptyMessage())}}function X(t,n){t&1&&w(0,1)}function Y(t,n){if(t&1&&c(0,K,2,1)(1,U,3,3,"div")(2,W,2,1,"p",0)(3,X,1,0),t&2){let e=i();d(e.isLoading()?0:e.error()?1:e.isEmpty()?2:3)}}var ot=(()=>{class t{isLoading=l(!1);error=l(null);isEmpty=l(!1);errorSourceLabel=l("");emptyMessage=l("Nincs megjelen\xEDthet\u0151 elem.");loadingMessage=l("Bet\xF6lt\xE9s\u2026");skeletonRows=l(2);showSkeleton=l(!1);showRetry=l(!0);errorTakesPrecedence=l(!1);retry=E();handleRetry(){this.retry.emit()}static \u0275fac=function(s){return new(s||t)};static \u0275cmp=h({type:t,selectors:[["app-s-content-state"]],hostAttrs:[1,"block"],inputs:{isLoading:[1,"isLoading"],error:[1,"error"],isEmpty:[1,"isEmpty"],errorSourceLabel:[1,"errorSourceLabel"],emptyMessage:[1,"emptyMessage"],loadingMessage:[1,"loadingMessage"],skeletonRows:[1,"skeletonRows"],showSkeleton:[1,"showSkeleton"],showRetry:[1,"showRetry"],errorTakesPrecedence:[1,"errorTakesPrecedence"]},outputs:{retry:"retry"},standalone:!0,features:[L],ngContentSelectors:I,decls:2,vars:1,consts:[[1,"text-neutral-500","py-4"],[1,"mb-3","block",3,"error","sourceLabelOverride"],[1,"text-center"],["type","button",1,"mt-1","px-3","py-1.5","text-sm","border","border-neonCyan","rounded-md","bg-transparent","text-neutral-200","hover:bg-neutral-800","hover:shadow-neon-glow-cyan","transition-colors",3,"click"],[1,"flex","flex-col","gap-2","py-4"],[1,"text-neutral-400"],[1,"px-4","py-3","border","border-neonDefault","rounded-lg","animate-pulse"],[1,"flex","items-center","gap-2","text-neutral-500","text-sm"],[1,"inline-block","w-2","h-2","rounded-full","bg-ccapAccent","animate-pulse"],[1,"h-4","w-3/4","bg-neutral-600","rounded","mb-2"],[1,"h-3","w-1/2","bg-neutral-700","rounded"]],template:function(s,m){s&1&&(M(I),c(0,z,4,1)(1,Y,4,1)),s&2&&d(m.errorTakesPrecedence()?0:1)},dependencies:[R,F],encapsulation:2})}return t})();export{ot as a};
2
+ //# sourceMappingURL=chunk-G3PYZPPU.js.map
@@ -208,5 +208,5 @@ stackLocation: ${this.stackLocation}
208
208
  DynamoPoll: "${this.name}" pollDo was UNSUCCESSFUL`,error:r})})})),this.running=!0}catch(r){throw new ru.DyFM_Error({message:`DYNAMO ERROR:
209
209
  DynamoPoll: startPoll was UNSUCCESSFUL`,error:r})}})}restartPoll(e){try{e?this.startPoll(e):this.startPoll(this.args)}catch(r){throw new ru.DyFM_Error({message:`DYNAMO ERROR:
210
210
  DynamoPoll: restartPoll was UNSUCCESSFUL`,error:r})}}stop(){this.poll.unsubscribe(),this.running=!1}end(e){this.poll.unsubscribe(),this.pollEnd?.(e),this.running=!1}};tu.DyFM_Poll=Jc});var ly=f(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.DyFM_RangeValue=void 0;var Gc=class t{isRange=!0;from;to;constructor(e,r){if(e?.isRange){this.from=e.from,this.to=e.to;return}else this.from=e,this.to=r??e}constructed(){return!0}newValues(e){this.from=e.from,this.to=e.to}addRange(e){this.from+=e.from,this.to+=e.to}subtractRange(e){this.from-=e.from,this.to-=e.to}multiplyRange(e){this.from*=e.from,this.to*=e.to}divideRange(e){this.from/=e.from,this.to/=e.to}add(e){this.from+=e,this.to+=e}subtract(e){this.from-=e,this.to-=e}multiply(e){this.from*=e,this.to*=e}divide(e){this.from/=e,this.to/=e}clone(){return new t(this.from,this.to)}applyTransform(e){return new t(e(this.from),e(this.to))}toString=this.stringify;stringify(e=!0,r=!0){return r&&this.from===this.to?`${this.from}`:e?`${this.from} - ${this.to}`:`${this.from}-${this.to}`}static reType(e){return new t(e.from,e.to)}static addRange(e,r){return new t(e.from+r.from,e.to+r.to)}static subtractRange(e,r){return new t(e.from-r.from,e.to-r.to)}static multiplyRange(e,r){return new t(e.from*r.from,e.to*r.to)}static divideRange(e,r){return new t(e.from/r.from,e.to/r.to)}static add(e,r){return new t(e.from+r,e.to+r)}static subtract(e,r){return new t(e.from-r,e.to-r)}static multiply(e,r){return new t(e.from*r,e.to*r)}static divide(e,r){return new t(e.from/r,e.to/r)}static isInRange(e,r){return r.from<=e&&e<=r.to}};nu.DyFM_RangeValue=Gc});var fy=f(Ot=>{"use strict";Object.defineProperty(Ot,"__esModule",{value:!0});Ot.DyFM_serverStatus_dataParams=Ot.DyFM_ServerStatus=void 0;var Uk=iu(),Tk=kr(),Hc=class extends Tk.DyFM_Metadata{status;systemName;systemShortCode;clientVersionOk;latestClientVersion;latestClientVersionNumeric;serverVersion;serverNumericVersion;uptime;serverMessage;memoryUsage;cpuUsage;serverConnections;constructor(e){super(e),e&&Object.assign(this,e)}};Ot.DyFM_ServerStatus=Hc;Ot.DyFM_serverStatus_dataParams=new Uk.DyFM_DataModel_Params({dataName:"server_status",properties:{status:{type:"string"},systemName:{type:"string"},systemShortCode:{type:"string"},clientVersionOk:{type:"boolean"},latestClientVersion:{type:"string"},latestClientVersionNumeric:{type:"number"},serverVersion:{type:"string"},serverNumericVersion:{type:"number"},uptime:{type:"number"},serverMessage:{type:"string"},memoryUsage:{type:"object"},cpuUsage:{type:"object"},serverConnections:{type:"object"}}})});var vy=f(ur=>{"use strict";Object.defineProperty(ur,"__esModule",{value:!0});ur.DyFM_API_Input_Type=ur.DyFM_ServerRoute_SettingsBase=ur.DyFM_Endpoint_SettingsBase=void 0;var Wk=Fr(),ou=class{name;type;endpoint;pathParamKeys=[];constructor(e){if(!e.endpoint)throw new Error(`endpoint not setted up for this endpoint (${e.name??(0,Wk.DyFM_getConstructionStackLocation)()})`);e.endpoint.includes("{")&&(console.warn(`using {param} brackets in endpoint definitions will be deprecated...
211
- use :param instead ({pathParam} --> :pathParam) (${e.name})`),e.endpoint=e.endpoint.replace(/{/g,":").replace(/}/g,"")),Object.assign(this,e),this.pathParamKeys=this.endpoint.split("/").filter(r=>r.startsWith(":")).map(r=>r.replace(":",""))}};ur.DyFM_Endpoint_SettingsBase=ou;var Zc=class extends ou{preProcesses;tasks;simpleTask;constructor(e){super(e),Object.assign(this,e)}};ur.DyFM_ServerRoute_SettingsBase=Zc;var dy=function(t){return t.body="body",t.queryParams="queryParams",t}(dy||(ur.DyFM_API_Input_Type=dy={}))});var hy=f(xe=>{"use strict";Object.defineProperty(xe,"__esModule",{value:!0});xe.DyFM_errors_dataParams=xe.DyFM_Errors=xe.DyFM_errorsFlag=void 0;var Bk=Ds(),Vk=kr();xe.DyFM_errorsFlag="DyFM-ERRORS-OBJECT";var Kc=class extends Vk.DyFM_Metadata{flag=xe.DyFM_errorsFlag;source;issuer;username;versions=[];localTime;region;message;exception;exceptionObj;stackTrace=[];error;count=1;d_error;additionalContent;level;priority;duplications=[];constructor(e){super(e),e&&Object.assign(this,e)}};xe.DyFM_Errors=Kc;xe.DyFM_errors_dataParams=new Bk.DyFM_DataModel_Params({dataName:"errors",properties:{flag:{type:"string"},issuer:{type:"string"},username:{type:"string"},versions:{type:"string[]"},localTime:{type:"string"},region:{type:"string"},message:{type:"string"},exception:{type:"string"},exceptionObj:{type:"any"},stackTrace:{type:"string[]"},error:{type:"any"},count:{type:"number"},d_error:{type:"DyFM_Error"},additionalContent:{type:"any"},level:{type:"DyFM_ErrorLevel"},priority:{type:"number"},duplications:{type:"DyNTS_Error[]"}}})});var yy=f(py=>{"use strict";Object.defineProperty(py,"__esModule",{value:!0})});var my=f(_y=>{"use strict";Object.defineProperty(_y,"__esModule",{value:!0})});var gy=f(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0})});var Sy=f(Oy=>{"use strict";Object.defineProperty(Oy,"__esModule",{value:!0})});var qy=f(wy=>{"use strict";Object.defineProperty(wy,"__esModule",{value:!0})});var jy=f(My=>{"use strict";Object.defineProperty(My,"__esModule",{value:!0})});var Ay=f(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0})});var Ey=f(Fy=>{"use strict";Object.defineProperty(Fy,"__esModule",{value:!0})});var Dy=f(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0})});var Iy=f(ky=>{"use strict";Object.defineProperty(ky,"__esModule",{value:!0})});var Cy=f(Ly=>{"use strict";Object.defineProperty(Ly,"__esModule",{value:!0})});var Ny=f(Ry=>{"use strict";Object.defineProperty(Ry,"__esModule",{value:!0})});var Uy=f($y=>{"use strict";Object.defineProperty($y,"__esModule",{value:!0})});var Wy=f(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.DyFM_SpecialSearch_Type=void 0;var Ty=function(t){return t.stringListSearchAny="stringListSearchAny",t.stringListSearch="stringListSearch",t.stringListSearchOrdered="stringListSearchOrdered",t}(Ty||(au.DyFM_SpecialSearch_Type=Ty={}))});var Vy=f(By=>{"use strict";Object.defineProperty(By,"__esModule",{value:!0})});var iu=f(O=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0});var S=(hu(),tl(vu));S.__exportStar(pu(),O);S.__exportStar(yu(),O);S.__exportStar(Al(),O);S.__exportStar(Fl(),O);S.__exportStar(wt(),O);S.__exportStar(El(),O);S.__exportStar(Fu(),O);S.__exportStar(Il(),O);S.__exportStar(Du(),O);S.__exportStar(he(),O);S.__exportStar(Ll(),O);S.__exportStar(bn(),O);S.__exportStar(Fr(),O);S.__exportStar(Ru(),O);S.__exportStar(Lu(),O);S.__exportStar(ju(),O);S.__exportStar(Cl(),O);S.__exportStar(Uu(),O);S.__exportStar(vf(),O);S.__exportStar(pf(),O);S.__exportStar(Mt(),O);S.__exportStar(yf(),O);S.__exportStar(ds(),O);S.__exportStar(hs(),O);S.__exportStar(_f(),O);S.__exportStar(mf(),O);S.__exportStar(bf(),O);S.__exportStar(jt(),O);S.__exportStar(ms(),O);S.__exportStar(gf(),O);S.__exportStar(gs(),O);S.__exportStar(qt(),O);S.__exportStar(wf(),O);S.__exportStar(jf(),O);S.__exportStar(Af(),O);S.__exportStar(Ef(),O);S.__exportStar(Ou(),O);S.__exportStar(gu(),O);S.__exportStar(Su(),O);S.__exportStar(Ds(),O);S.__exportStar(ws(),O);S.__exportStar(Bn(),O);S.__exportStar(cy(),O);S.__exportStar(ly(),O);S.__exportStar(fy(),O);S.__exportStar(vy(),O);S.__exportStar(Fs(),O);S.__exportStar(Ms(),O);S.__exportStar(Ps(),O);S.__exportStar(hy(),O);S.__exportStar(kr(),O);S.__exportStar(yy(),O);S.__exportStar(my(),O);S.__exportStar(gy(),O);S.__exportStar(Sy(),O);S.__exportStar(qy(),O);S.__exportStar(jy(),O);S.__exportStar(Ay(),O);S.__exportStar(Ey(),O);S.__exportStar(Dy(),O);S.__exportStar(Iy(),O);S.__exportStar(Cy(),O);S.__exportStar(Ny(),O);S.__exportStar(Uy(),O);S.__exportStar(Wy(),O);S.__exportStar(Vy(),O)});var zy="1.1.2486";var Yy={baseUrl:"MISSING",api:{baseUrl:"MISSING"},production:!1,version:zy};var zk=function(t){return t.openAi="open-ai",t.anthropic="anthropic",t.google="google",t.deepseek="deepseek",t.fdpAi="fdp-ai",t.customLocalAi="custom-local-ai",t}(zk||{});var Yk=function(t){return t.openAi="open-ai",t.localAi="local-ai",t.routing="routing",t}(Yk||{});var Jk=function(t){return t.discord="discord",t.signal="signal",t.teams="teams",t.routing="routing",t}(Jk||{});var uu=function(t){return t.vaultKey="vault-key",t.instanceRegistry="instance-registry",t.general="general",t.llmProviders="llm-providers",t.messageProviders="message-providers",t.modelTesting="model-testing",t.discordAccess="discord-access",t.voice="voice",t.visuals="visuals",t.soul="soul",t.mcp="mcp",t.cliTools="cli-tools",t.secretVault="secret-vault",t.agentEmail="agent-email",t.embedding="embedding",t.rag="rag",t.developer="developer",t.agentRuntime="agent-runtime",t.agentCronJobs="agent-cron-jobs",t.scheduler="scheduler",t.github="github",t.openclawRegistry="openclaw-registry",t.deviceIdentity="device-identity",t.consultant="consultant",t.caAgent="ca-agent",t.darkOfficeLayout="dark-office-layout",t.cluster="cluster",t}(uu||{});var Gk=function(t){return t.openAi="open-ai",t.leonardo="leonardo",t.fdpai="fdpai",t.routing="routing",t}(Gk||{});var Hk=function(t){return t.elevenLabs="elevenlabs",t.fdpai="fdpai",t.routing="routing",t}(Hk||{});var Zk=function(t){return t.pending="pending",t.running="running",t.completed="completed",t.failed="failed",t}(Zk||{});var Kk=function(t){return t.apiKey="api-key",t.credentials="credentials",t}(Kk||{});var Qk=function(t){return t.req="req",t.bug="bug",t.feature="feature",t.improvement="improvement",t.task="task",t.question="question",t.research="research",t}(Qk||{});var Xk=function(t){return t.low="low",t.medium="medium",t.high="high",t.urgent="urgent",t}(Xk||{});var eI=function(t){return t.todo="todo",t.backlog="backlog",t.bugs="bugs",t.changelog="changelog",t.userInput="user-input",t.status="status",t.testErrorReports="test-error-reports",t}(eI||{});var rI=function(t){return t.update="update",t.remove="remove",t}(rI||{});var tI=function(t){return t.e2e="e2e",t.serverUnit="server-unit",t.clientUnit="client-unit",t.cli="cli",t}(tI||{});var nI=function(t){return t.instant="instant",t.agenticAny="agentic-any",t.ask="ask",t.plan="plan",t}(nI||{});var iI=function(t){return t.full="full",t.askOnly="ask-only",t.planOnly="plan-only",t}(iI||{});var oI=function(t){return t.draft="draft",t.promotedUserInput="promoted-user-input",t.promotedBug="promoted-bug",t.discarded="discarded",t}(oI||{});var aI=function(t){return t.userInput="user-input",t.bugReport="bug-report",t.unspecified="unspecified",t}(aI||{});var uI=function(t){return t.easy="easy",t.medium="medium",t.hard="hard",t.komplex="komplex",t}(uI||{});var Qc="mongodb://200.33.0.101:29017";var sI="A k\xE9r\xE9s nem jutott el a szerverig, vagy nem \xE9rkezett v\xE1lasz. Lehets\xE9ges okok: a szerver nem fut vagy m\xE1s porton hallgat, h\xE1l\xF3zati hiba, a kliens megszak\xEDtotta a k\xE9r\xE9st, vagy m\xE1s origin eset\xE9n CORS blokkolja. Ellen\u0151rizd, hogy a szerver fut-e \xE9s a megadott c\xEDm/port helyes.",cI="Szerver 500-as hiba. A v\xE1lasz body \xFCres vagy nem el\xE9rhet\u0151.",su=class t{static isLikelyHtmlErrorPage(e){let r=e.trim();if(!r.startsWith("<"))return!1;let n=r.toLowerCase();return n.includes("<!doctype")||n.includes("<html")||n.includes("<title>")||n.includes("cannot get")||n.includes("cannot post")||n.includes("cannot put")||n.includes("cannot delete")}static getMessageForHtmlHttpErrorBody(e){let r="R\xE9szletek: szerver log vagy DevTools Network tab.";return e===404?`Az endpoint nem tal\xE1lhat\xF3 (HTTP ${e}). Ellen\u0151rizd az API base URL-t \xE9s a szerver route-okat. `+r:`A szerver HTML error oldalt adott vissza (nem JSON API v\xE1lasz), HTTP ${e}. ${r}`}static getHttpErrorMessage(e,r){if(e.status===0)return sI;let n=r!=null&&typeof r=="string"&&r.trim().length>0?r:null;return n==null&&typeof e.error=="string"&&e.error.trim().length>0&&(n=e.error),n!=null&&t.isLikelyHtmlErrorPage(n)?t.getMessageForHtmlHttpErrorBody(e.status):e.status===500&&!(n!=null&&typeof n=="string"&&n.trim().length>0)?cI:n??e.message??e.statusText??`HTTP ${e.status}`}};var Jy=(()=>{class t{settingsBaseUrl=`${Yy.api.baseUrl}/settings`;http=en(ol);getDefaultWorkspace(){return N(this.http.get(`${this.settingsBaseUrl}/default-workspace`))}getSection(r){return N(this.http.get(`${this.settingsBaseUrl}/get-section/${r}`))}getRequiredWarningsSummary(){return N(this.http.get(`${this.settingsBaseUrl}/required-warnings-summary`))}saveSection(r,n){return N(this.http.patch(`${this.settingsBaseUrl}/save-section/${r}`,n))}postProviderAccessAllow(r){return N(this.http.post(`${this.settingsBaseUrl}/provider-access/allow`,r))}getSoulStatus(){return N(this.http.get(`${this.settingsBaseUrl}/soul-status`))}getSoulContent(){return N(this.http.get(`${this.settingsBaseUrl}/soul-content`))}postGenerateSoul(r){return N(this.http.post(`${this.settingsBaseUrl}/generate-soul`,r))}postTestLlmProvider(r){return N(this.http.post(`${this.settingsBaseUrl}/test-llm-provider`,r))}postListLlmModels(r){return N(this.http.post(`${this.settingsBaseUrl}/list-llm-models`,r))}postListEmbeddingModels(r){return N(this.http.post(`${this.settingsBaseUrl}/list-embedding-models`,r))}postTestMessagingProvider(r){return N(this.http.post(`${this.settingsBaseUrl}/test-messaging-provider`,r))}postMcpSync(r){return N(this.http.post(`${this.settingsBaseUrl}/mcp-sync`,r))}postCliHelpProbe(r){return N(this.http.post(`${this.settingsBaseUrl}/cli-help-probe`,r))}postCliHelpSuggest(r){return N(this.http.post(`${this.settingsBaseUrl}/cli-help-suggest`,r))}postTestAgentEmail(){return N(this.http.post(`${this.settingsBaseUrl}/test-agent-email`,{}))}testOpenclawConnection(r){return N(this.http.post(`${this.settingsBaseUrl}/test-openclaw-connection`,r))}pairOpenclawInstance(r){return N(this.http.post(`${this.settingsBaseUrl}/openclaw-registry/${r.instanceId}/pair`,{}))}getClusterDiagnostics(){return N(this.http.get(`${this.settingsBaseUrl}/cluster/diagnostics`))}postClusterReBootstrap(){return N(this.http.post(`${this.settingsBaseUrl}/cluster/re-bootstrap`,{}))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Xt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Gy=rl(iu());var Xc=rl(iu());var cu=class{_master;get master(){return this._master}setupMaster(e){this._master=e}};var lu=class t extends cu{settings_AS=en(Jy);loading_$=ke(!1);loadError_$=ke(null);saving_$=ke(!1);saveError_$=ke(null);load(){return U(this,null,function*(){this.loading_$.set(!0),this.loadError_$.set(null);try{yield this.doLoad()}catch(e){Xc.DyFM_Error.logSimple(`${this.constructor.name} | Failed to load section`,e);let r=t.getErrorMessage(e);this.loadError_$.set(r)}finally{this.loading_$.set(!1)}})}save(){return U(this,null,function*(){this.saving_$.set(!0),this.saveError_$.set(null);try{let e=this.buildSaveBody(),r=yield this.doSave(e);return r.success?yield this.load():this.saveError_$.set(r.error??"Ment\xE9s sikertelen."),r}catch(e){Xc.DyFM_Error.logSimple(`${this.constructor.name} | Failed to save section`,e);let r=t.getErrorMessage(e);return this.saveError_$.set(r),{success:!1,error:r}}finally{this.saving_$.set(!1)}})}doSave(e){return U(this,null,function*(){return this.settings_AS.saveSection(this.getSectionId(),e)})}static getErrorMessage(e){if(e instanceof il){let r=e.error,n=null;if(r!==null&&typeof r=="object"){let i=r;typeof i.error=="string"?n=i.error:i.error!=null?n=String(i.error):typeof i.message=="string"&&(n=i.message);let o=i.errorCode,a=typeof o=="string"&&o.trim().length>0?o.trim():void 0;a!==void 0&&(n!=null&&n.trim().length>0?n=`${a}: ${n}`:n=a)}else typeof r=="string"&&(n=r);return su.getHttpErrorMessage(e,n)}return e instanceof Error?e.message||"M\u0171velet sikertelen.":String(e)||"M\u0171velet sikertelen."}};var X4=(()=>{class t extends lu{defaultWorkspacePath_$=ke("");section_$=ke({form:{mongodbUri:Qc,useOpenClawPath:!1,defaultPathOverride:"",autoStartWithSystem:!1,useLiveContext:!0,reportSocketConnectionErrorsToErrorList:!1,agenticLoopDebriefEnabled:!1,mobileAutoUpdateEnabled:!1,serverAutoUpdateEnabled:!1,serverAutoUpdateCheckInterval:"daily",ccSessionRunnerGracePeriodSec:null,ccSessionRunnerIdleTimeoutSec:null,ccSessionAutoArchiveScanIntervalSec:null,ccSessionAutoArchiveAgeDays:null,ccSessionAutoArchiveCountThreshold:null},runtime:{}});updateForm(r){this.section_$.update(n=>Sr(oe({},n),{form:oe(oe({},n.form),r)}))}setSection(r){this.section_$.set(r)}updateGeneralForm(r){this.updateForm(r),this.master?.bumpDigest()}getSectionId(){return uu.general}getSection_$(){return this.section_$}loadDefaultWorkspacePath(){return U(this,null,function*(){try{let r=yield this.settings_AS.getDefaultWorkspace();this.defaultWorkspacePath_$.set(r.workspacePath?.trim()??"")}catch(r){Gy.DyFM_Error.logSimple("CCAP_SettingsGeneral_DS | loadDefaultWorkspacePath failed",r),this.defaultWorkspacePath_$.set("")}})}doLoad(){return U(this,null,function*(){let r=yield this.settings_AS.getSection(uu.general);this.setSection({form:{mongodbUri:typeof r.mongodbUri=="string"?r.mongodbUri:Qc,useOpenClawPath:typeof r.useOpenClawPath=="boolean"?r.useOpenClawPath:!1,defaultPathOverride:typeof r.defaultPathOverride=="string"?r.defaultPathOverride:"",autoStartWithSystem:typeof r.autoStartWithSystem=="boolean"?r.autoStartWithSystem:!1,useLiveContext:typeof r.useLiveContext=="boolean"?r.useLiveContext:!0,reportSocketConnectionErrorsToErrorList:typeof r.reportSocketConnectionErrorsToErrorList=="boolean"?r.reportSocketConnectionErrorsToErrorList:!1,agenticLoopDebriefEnabled:typeof r.agenticLoopDebriefEnabled=="boolean"?r.agenticLoopDebriefEnabled:!1,mobileAutoUpdateEnabled:typeof r.mobileAutoUpdateEnabled=="boolean"?r.mobileAutoUpdateEnabled:!1,serverAutoUpdateEnabled:typeof r.serverAutoUpdateEnabled=="boolean"?r.serverAutoUpdateEnabled:!1,serverAutoUpdateCheckInterval:r.serverAutoUpdateCheckInterval==="daily"?"daily":r.serverAutoUpdateCheckInterval==="weekly"?"weekly":"daily",ccSessionRunnerGracePeriodSec:typeof r.ccSessionRunnerGracePeriodSec=="number"&&r.ccSessionRunnerGracePeriodSec>0?r.ccSessionRunnerGracePeriodSec:null,ccSessionRunnerIdleTimeoutSec:typeof r.ccSessionRunnerIdleTimeoutSec=="number"&&r.ccSessionRunnerIdleTimeoutSec>0?r.ccSessionRunnerIdleTimeoutSec:null,ccSessionAutoArchiveScanIntervalSec:typeof r.ccSessionAutoArchiveScanIntervalSec=="number"&&r.ccSessionAutoArchiveScanIntervalSec>0?r.ccSessionAutoArchiveScanIntervalSec:null,ccSessionAutoArchiveAgeDays:typeof r.ccSessionAutoArchiveAgeDays=="number"&&r.ccSessionAutoArchiveAgeDays>0?r.ccSessionAutoArchiveAgeDays:null,ccSessionAutoArchiveCountThreshold:typeof r.ccSessionAutoArchiveCountThreshold=="number"&&r.ccSessionAutoArchiveCountThreshold>0?r.ccSessionAutoArchiveCountThreshold:null},runtime:{}})})}buildSaveBody(){let r=this.section_$().form;return{mongodbUri:r.mongodbUri,useOpenClawPath:r.useOpenClawPath,defaultPathOverride:r.defaultPathOverride,autoStartWithSystem:r.autoStartWithSystem,useLiveContext:r.useLiveContext,reportSocketConnectionErrorsToErrorList:r.reportSocketConnectionErrorsToErrorList,agenticLoopDebriefEnabled:r.agenticLoopDebriefEnabled,mobileAutoUpdateEnabled:r.mobileAutoUpdateEnabled,serverAutoUpdateEnabled:r.serverAutoUpdateEnabled,serverAutoUpdateCheckInterval:r.serverAutoUpdateCheckInterval,ccSessionRunnerGracePeriodSec:r.ccSessionRunnerGracePeriodSec??void 0,ccSessionRunnerIdleTimeoutSec:r.ccSessionRunnerIdleTimeoutSec??void 0,ccSessionAutoArchiveScanIntervalSec:r.ccSessionAutoArchiveScanIntervalSec??void 0,ccSessionAutoArchiveAgeDays:r.ccSessionAutoArchiveAgeDays??void 0,ccSessionAutoArchiveCountThreshold:r.ccSessionAutoArchiveCountThreshold??void 0}}static \u0275fac=(()=>{let r;return function(i){return(r||(r=nl(t)))(i||t)}})();static \u0275prov=Xt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{vu as a,hu as b,Al as c,wt as d,he as e,El as f,Fu as g,bn as h,Fr as i,ds as j,kr as k,Bn as l,Ds as m,uy as n,ly as o,iu as p,zk as q,Yk as r,Jk as s,uu as t,Gk as u,Hk as v,Zk as w,Kk as x,Qk as y,oI as z,aI as A,uI as B,Xk as C,eI as D,rI as E,tI as F,nI as G,iI as H,Yy as I,Qc as J,su as K,Jy as L,lu as M,X4 as N};
212
- //# sourceMappingURL=chunk-QMNT46TC.js.map
211
+ use :param instead ({pathParam} --> :pathParam) (${e.name})`),e.endpoint=e.endpoint.replace(/{/g,":").replace(/}/g,"")),Object.assign(this,e),this.pathParamKeys=this.endpoint.split("/").filter(r=>r.startsWith(":")).map(r=>r.replace(":",""))}};ur.DyFM_Endpoint_SettingsBase=ou;var Zc=class extends ou{preProcesses;tasks;simpleTask;constructor(e){super(e),Object.assign(this,e)}};ur.DyFM_ServerRoute_SettingsBase=Zc;var dy=function(t){return t.body="body",t.queryParams="queryParams",t}(dy||(ur.DyFM_API_Input_Type=dy={}))});var hy=f(xe=>{"use strict";Object.defineProperty(xe,"__esModule",{value:!0});xe.DyFM_errors_dataParams=xe.DyFM_Errors=xe.DyFM_errorsFlag=void 0;var Bk=Ds(),Vk=kr();xe.DyFM_errorsFlag="DyFM-ERRORS-OBJECT";var Kc=class extends Vk.DyFM_Metadata{flag=xe.DyFM_errorsFlag;source;issuer;username;versions=[];localTime;region;message;exception;exceptionObj;stackTrace=[];error;count=1;d_error;additionalContent;level;priority;duplications=[];constructor(e){super(e),e&&Object.assign(this,e)}};xe.DyFM_Errors=Kc;xe.DyFM_errors_dataParams=new Bk.DyFM_DataModel_Params({dataName:"errors",properties:{flag:{type:"string"},issuer:{type:"string"},username:{type:"string"},versions:{type:"string[]"},localTime:{type:"string"},region:{type:"string"},message:{type:"string"},exception:{type:"string"},exceptionObj:{type:"any"},stackTrace:{type:"string[]"},error:{type:"any"},count:{type:"number"},d_error:{type:"DyFM_Error"},additionalContent:{type:"any"},level:{type:"DyFM_ErrorLevel"},priority:{type:"number"},duplications:{type:"DyNTS_Error[]"}}})});var yy=f(py=>{"use strict";Object.defineProperty(py,"__esModule",{value:!0})});var my=f(_y=>{"use strict";Object.defineProperty(_y,"__esModule",{value:!0})});var gy=f(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0})});var Sy=f(Oy=>{"use strict";Object.defineProperty(Oy,"__esModule",{value:!0})});var qy=f(wy=>{"use strict";Object.defineProperty(wy,"__esModule",{value:!0})});var jy=f(My=>{"use strict";Object.defineProperty(My,"__esModule",{value:!0})});var Ay=f(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0})});var Ey=f(Fy=>{"use strict";Object.defineProperty(Fy,"__esModule",{value:!0})});var Dy=f(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0})});var Iy=f(ky=>{"use strict";Object.defineProperty(ky,"__esModule",{value:!0})});var Cy=f(Ly=>{"use strict";Object.defineProperty(Ly,"__esModule",{value:!0})});var Ny=f(Ry=>{"use strict";Object.defineProperty(Ry,"__esModule",{value:!0})});var Uy=f($y=>{"use strict";Object.defineProperty($y,"__esModule",{value:!0})});var Wy=f(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.DyFM_SpecialSearch_Type=void 0;var Ty=function(t){return t.stringListSearchAny="stringListSearchAny",t.stringListSearch="stringListSearch",t.stringListSearchOrdered="stringListSearchOrdered",t}(Ty||(au.DyFM_SpecialSearch_Type=Ty={}))});var Vy=f(By=>{"use strict";Object.defineProperty(By,"__esModule",{value:!0})});var iu=f(O=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0});var S=(hu(),tl(vu));S.__exportStar(pu(),O);S.__exportStar(yu(),O);S.__exportStar(Al(),O);S.__exportStar(Fl(),O);S.__exportStar(wt(),O);S.__exportStar(El(),O);S.__exportStar(Fu(),O);S.__exportStar(Il(),O);S.__exportStar(Du(),O);S.__exportStar(he(),O);S.__exportStar(Ll(),O);S.__exportStar(bn(),O);S.__exportStar(Fr(),O);S.__exportStar(Ru(),O);S.__exportStar(Lu(),O);S.__exportStar(ju(),O);S.__exportStar(Cl(),O);S.__exportStar(Uu(),O);S.__exportStar(vf(),O);S.__exportStar(pf(),O);S.__exportStar(Mt(),O);S.__exportStar(yf(),O);S.__exportStar(ds(),O);S.__exportStar(hs(),O);S.__exportStar(_f(),O);S.__exportStar(mf(),O);S.__exportStar(bf(),O);S.__exportStar(jt(),O);S.__exportStar(ms(),O);S.__exportStar(gf(),O);S.__exportStar(gs(),O);S.__exportStar(qt(),O);S.__exportStar(wf(),O);S.__exportStar(jf(),O);S.__exportStar(Af(),O);S.__exportStar(Ef(),O);S.__exportStar(Ou(),O);S.__exportStar(gu(),O);S.__exportStar(Su(),O);S.__exportStar(Ds(),O);S.__exportStar(ws(),O);S.__exportStar(Bn(),O);S.__exportStar(cy(),O);S.__exportStar(ly(),O);S.__exportStar(fy(),O);S.__exportStar(vy(),O);S.__exportStar(Fs(),O);S.__exportStar(Ms(),O);S.__exportStar(Ps(),O);S.__exportStar(hy(),O);S.__exportStar(kr(),O);S.__exportStar(yy(),O);S.__exportStar(my(),O);S.__exportStar(gy(),O);S.__exportStar(Sy(),O);S.__exportStar(qy(),O);S.__exportStar(jy(),O);S.__exportStar(Ay(),O);S.__exportStar(Ey(),O);S.__exportStar(Dy(),O);S.__exportStar(Iy(),O);S.__exportStar(Cy(),O);S.__exportStar(Ny(),O);S.__exportStar(Uy(),O);S.__exportStar(Wy(),O);S.__exportStar(Vy(),O)});var zy="1.1.2496";var Yy={baseUrl:"MISSING",api:{baseUrl:"MISSING"},production:!1,version:zy};var zk=function(t){return t.openAi="open-ai",t.anthropic="anthropic",t.google="google",t.deepseek="deepseek",t.fdpAi="fdp-ai",t.customLocalAi="custom-local-ai",t}(zk||{});var Yk=function(t){return t.openAi="open-ai",t.localAi="local-ai",t.routing="routing",t}(Yk||{});var Jk=function(t){return t.discord="discord",t.signal="signal",t.teams="teams",t.routing="routing",t}(Jk||{});var uu=function(t){return t.vaultKey="vault-key",t.instanceRegistry="instance-registry",t.general="general",t.llmProviders="llm-providers",t.messageProviders="message-providers",t.modelTesting="model-testing",t.discordAccess="discord-access",t.voice="voice",t.visuals="visuals",t.soul="soul",t.mcp="mcp",t.cliTools="cli-tools",t.secretVault="secret-vault",t.agentEmail="agent-email",t.embedding="embedding",t.rag="rag",t.developer="developer",t.agentRuntime="agent-runtime",t.agentCronJobs="agent-cron-jobs",t.scheduler="scheduler",t.github="github",t.openclawRegistry="openclaw-registry",t.deviceIdentity="device-identity",t.consultant="consultant",t.caAgent="ca-agent",t.darkOfficeLayout="dark-office-layout",t.cluster="cluster",t}(uu||{});var Gk=function(t){return t.openAi="open-ai",t.leonardo="leonardo",t.fdpai="fdpai",t.routing="routing",t}(Gk||{});var Hk=function(t){return t.elevenLabs="elevenlabs",t.fdpai="fdpai",t.routing="routing",t}(Hk||{});var Zk=function(t){return t.pending="pending",t.running="running",t.completed="completed",t.failed="failed",t}(Zk||{});var Kk=function(t){return t.apiKey="api-key",t.credentials="credentials",t}(Kk||{});var Qk=function(t){return t.req="req",t.bug="bug",t.feature="feature",t.improvement="improvement",t.task="task",t.question="question",t.research="research",t}(Qk||{});var Xk=function(t){return t.low="low",t.medium="medium",t.high="high",t.urgent="urgent",t}(Xk||{});var eI=function(t){return t.todo="todo",t.backlog="backlog",t.bugs="bugs",t.changelog="changelog",t.userInput="user-input",t.status="status",t.testErrorReports="test-error-reports",t}(eI||{});var rI=function(t){return t.update="update",t.remove="remove",t}(rI||{});var tI=function(t){return t.e2e="e2e",t.serverUnit="server-unit",t.clientUnit="client-unit",t.cli="cli",t}(tI||{});var nI=function(t){return t.instant="instant",t.agenticAny="agentic-any",t.ask="ask",t.plan="plan",t}(nI||{});var iI=function(t){return t.full="full",t.askOnly="ask-only",t.planOnly="plan-only",t}(iI||{});var oI=function(t){return t.draft="draft",t.promotedUserInput="promoted-user-input",t.promotedBug="promoted-bug",t.discarded="discarded",t}(oI||{});var aI=function(t){return t.userInput="user-input",t.bugReport="bug-report",t.unspecified="unspecified",t}(aI||{});var uI=function(t){return t.easy="easy",t.medium="medium",t.hard="hard",t.komplex="komplex",t}(uI||{});var Qc="mongodb://200.33.0.101:29017";var sI="A k\xE9r\xE9s nem jutott el a szerverig, vagy nem \xE9rkezett v\xE1lasz. Lehets\xE9ges okok: a szerver nem fut vagy m\xE1s porton hallgat, h\xE1l\xF3zati hiba, a kliens megszak\xEDtotta a k\xE9r\xE9st, vagy m\xE1s origin eset\xE9n CORS blokkolja. Ellen\u0151rizd, hogy a szerver fut-e \xE9s a megadott c\xEDm/port helyes.",cI="Szerver 500-as hiba. A v\xE1lasz body \xFCres vagy nem el\xE9rhet\u0151.",su=class t{static isLikelyHtmlErrorPage(e){let r=e.trim();if(!r.startsWith("<"))return!1;let n=r.toLowerCase();return n.includes("<!doctype")||n.includes("<html")||n.includes("<title>")||n.includes("cannot get")||n.includes("cannot post")||n.includes("cannot put")||n.includes("cannot delete")}static getMessageForHtmlHttpErrorBody(e){let r="R\xE9szletek: szerver log vagy DevTools Network tab.";return e===404?`Az endpoint nem tal\xE1lhat\xF3 (HTTP ${e}). Ellen\u0151rizd az API base URL-t \xE9s a szerver route-okat. `+r:`A szerver HTML error oldalt adott vissza (nem JSON API v\xE1lasz), HTTP ${e}. ${r}`}static getHttpErrorMessage(e,r){if(e.status===0)return sI;let n=r!=null&&typeof r=="string"&&r.trim().length>0?r:null;return n==null&&typeof e.error=="string"&&e.error.trim().length>0&&(n=e.error),n!=null&&t.isLikelyHtmlErrorPage(n)?t.getMessageForHtmlHttpErrorBody(e.status):e.status===500&&!(n!=null&&typeof n=="string"&&n.trim().length>0)?cI:n??e.message??e.statusText??`HTTP ${e.status}`}};var Jy=(()=>{class t{settingsBaseUrl=`${Yy.api.baseUrl}/settings`;http=en(ol);getDefaultWorkspace(){return N(this.http.get(`${this.settingsBaseUrl}/default-workspace`))}getSection(r){return N(this.http.get(`${this.settingsBaseUrl}/get-section/${r}`))}getRequiredWarningsSummary(){return N(this.http.get(`${this.settingsBaseUrl}/required-warnings-summary`))}saveSection(r,n){return N(this.http.patch(`${this.settingsBaseUrl}/save-section/${r}`,n))}postProviderAccessAllow(r){return N(this.http.post(`${this.settingsBaseUrl}/provider-access/allow`,r))}getSoulStatus(){return N(this.http.get(`${this.settingsBaseUrl}/soul-status`))}getSoulContent(){return N(this.http.get(`${this.settingsBaseUrl}/soul-content`))}postGenerateSoul(r){return N(this.http.post(`${this.settingsBaseUrl}/generate-soul`,r))}postTestLlmProvider(r){return N(this.http.post(`${this.settingsBaseUrl}/test-llm-provider`,r))}postListLlmModels(r){return N(this.http.post(`${this.settingsBaseUrl}/list-llm-models`,r))}postListEmbeddingModels(r){return N(this.http.post(`${this.settingsBaseUrl}/list-embedding-models`,r))}postTestMessagingProvider(r){return N(this.http.post(`${this.settingsBaseUrl}/test-messaging-provider`,r))}postMcpSync(r){return N(this.http.post(`${this.settingsBaseUrl}/mcp-sync`,r))}postCliHelpProbe(r){return N(this.http.post(`${this.settingsBaseUrl}/cli-help-probe`,r))}postCliHelpSuggest(r){return N(this.http.post(`${this.settingsBaseUrl}/cli-help-suggest`,r))}postTestAgentEmail(){return N(this.http.post(`${this.settingsBaseUrl}/test-agent-email`,{}))}testOpenclawConnection(r){return N(this.http.post(`${this.settingsBaseUrl}/test-openclaw-connection`,r))}pairOpenclawInstance(r){return N(this.http.post(`${this.settingsBaseUrl}/openclaw-registry/${r.instanceId}/pair`,{}))}getClusterDiagnostics(){return N(this.http.get(`${this.settingsBaseUrl}/cluster/diagnostics`))}postClusterReBootstrap(){return N(this.http.post(`${this.settingsBaseUrl}/cluster/re-bootstrap`,{}))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Xt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Gy=rl(iu());var Xc=rl(iu());var cu=class{_master;get master(){return this._master}setupMaster(e){this._master=e}};var lu=class t extends cu{settings_AS=en(Jy);loading_$=ke(!1);loadError_$=ke(null);saving_$=ke(!1);saveError_$=ke(null);load(){return U(this,null,function*(){this.loading_$.set(!0),this.loadError_$.set(null);try{yield this.doLoad()}catch(e){Xc.DyFM_Error.logSimple(`${this.constructor.name} | Failed to load section`,e);let r=t.getErrorMessage(e);this.loadError_$.set(r)}finally{this.loading_$.set(!1)}})}save(){return U(this,null,function*(){this.saving_$.set(!0),this.saveError_$.set(null);try{let e=this.buildSaveBody(),r=yield this.doSave(e);return r.success?yield this.load():this.saveError_$.set(r.error??"Ment\xE9s sikertelen."),r}catch(e){Xc.DyFM_Error.logSimple(`${this.constructor.name} | Failed to save section`,e);let r=t.getErrorMessage(e);return this.saveError_$.set(r),{success:!1,error:r}}finally{this.saving_$.set(!1)}})}doSave(e){return U(this,null,function*(){return this.settings_AS.saveSection(this.getSectionId(),e)})}static getErrorMessage(e){if(e instanceof il){let r=e.error,n=null;if(r!==null&&typeof r=="object"){let i=r;typeof i.error=="string"?n=i.error:i.error!=null?n=String(i.error):typeof i.message=="string"&&(n=i.message);let o=i.errorCode,a=typeof o=="string"&&o.trim().length>0?o.trim():void 0;a!==void 0&&(n!=null&&n.trim().length>0?n=`${a}: ${n}`:n=a)}else typeof r=="string"&&(n=r);return su.getHttpErrorMessage(e,n)}return e instanceof Error?e.message||"M\u0171velet sikertelen.":String(e)||"M\u0171velet sikertelen."}};var X4=(()=>{class t extends lu{defaultWorkspacePath_$=ke("");section_$=ke({form:{mongodbUri:Qc,useOpenClawPath:!1,defaultPathOverride:"",autoStartWithSystem:!1,useLiveContext:!0,reportSocketConnectionErrorsToErrorList:!1,agenticLoopDebriefEnabled:!1,mobileAutoUpdateEnabled:!1,serverAutoUpdateEnabled:!1,serverAutoUpdateCheckInterval:"daily",ccSessionRunnerGracePeriodSec:null,ccSessionRunnerIdleTimeoutSec:null,ccSessionAutoArchiveScanIntervalSec:null,ccSessionAutoArchiveAgeDays:null,ccSessionAutoArchiveCountThreshold:null},runtime:{}});updateForm(r){this.section_$.update(n=>Sr(oe({},n),{form:oe(oe({},n.form),r)}))}setSection(r){this.section_$.set(r)}updateGeneralForm(r){this.updateForm(r),this.master?.bumpDigest()}getSectionId(){return uu.general}getSection_$(){return this.section_$}loadDefaultWorkspacePath(){return U(this,null,function*(){try{let r=yield this.settings_AS.getDefaultWorkspace();this.defaultWorkspacePath_$.set(r.workspacePath?.trim()??"")}catch(r){Gy.DyFM_Error.logSimple("CCAP_SettingsGeneral_DS | loadDefaultWorkspacePath failed",r),this.defaultWorkspacePath_$.set("")}})}doLoad(){return U(this,null,function*(){let r=yield this.settings_AS.getSection(uu.general);this.setSection({form:{mongodbUri:typeof r.mongodbUri=="string"?r.mongodbUri:Qc,useOpenClawPath:typeof r.useOpenClawPath=="boolean"?r.useOpenClawPath:!1,defaultPathOverride:typeof r.defaultPathOverride=="string"?r.defaultPathOverride:"",autoStartWithSystem:typeof r.autoStartWithSystem=="boolean"?r.autoStartWithSystem:!1,useLiveContext:typeof r.useLiveContext=="boolean"?r.useLiveContext:!0,reportSocketConnectionErrorsToErrorList:typeof r.reportSocketConnectionErrorsToErrorList=="boolean"?r.reportSocketConnectionErrorsToErrorList:!1,agenticLoopDebriefEnabled:typeof r.agenticLoopDebriefEnabled=="boolean"?r.agenticLoopDebriefEnabled:!1,mobileAutoUpdateEnabled:typeof r.mobileAutoUpdateEnabled=="boolean"?r.mobileAutoUpdateEnabled:!1,serverAutoUpdateEnabled:typeof r.serverAutoUpdateEnabled=="boolean"?r.serverAutoUpdateEnabled:!1,serverAutoUpdateCheckInterval:r.serverAutoUpdateCheckInterval==="daily"?"daily":r.serverAutoUpdateCheckInterval==="weekly"?"weekly":"daily",ccSessionRunnerGracePeriodSec:typeof r.ccSessionRunnerGracePeriodSec=="number"&&r.ccSessionRunnerGracePeriodSec>0?r.ccSessionRunnerGracePeriodSec:null,ccSessionRunnerIdleTimeoutSec:typeof r.ccSessionRunnerIdleTimeoutSec=="number"&&r.ccSessionRunnerIdleTimeoutSec>0?r.ccSessionRunnerIdleTimeoutSec:null,ccSessionAutoArchiveScanIntervalSec:typeof r.ccSessionAutoArchiveScanIntervalSec=="number"&&r.ccSessionAutoArchiveScanIntervalSec>0?r.ccSessionAutoArchiveScanIntervalSec:null,ccSessionAutoArchiveAgeDays:typeof r.ccSessionAutoArchiveAgeDays=="number"&&r.ccSessionAutoArchiveAgeDays>0?r.ccSessionAutoArchiveAgeDays:null,ccSessionAutoArchiveCountThreshold:typeof r.ccSessionAutoArchiveCountThreshold=="number"&&r.ccSessionAutoArchiveCountThreshold>0?r.ccSessionAutoArchiveCountThreshold:null},runtime:{}})})}buildSaveBody(){let r=this.section_$().form;return{mongodbUri:r.mongodbUri,useOpenClawPath:r.useOpenClawPath,defaultPathOverride:r.defaultPathOverride,autoStartWithSystem:r.autoStartWithSystem,useLiveContext:r.useLiveContext,reportSocketConnectionErrorsToErrorList:r.reportSocketConnectionErrorsToErrorList,agenticLoopDebriefEnabled:r.agenticLoopDebriefEnabled,mobileAutoUpdateEnabled:r.mobileAutoUpdateEnabled,serverAutoUpdateEnabled:r.serverAutoUpdateEnabled,serverAutoUpdateCheckInterval:r.serverAutoUpdateCheckInterval,ccSessionRunnerGracePeriodSec:r.ccSessionRunnerGracePeriodSec??void 0,ccSessionRunnerIdleTimeoutSec:r.ccSessionRunnerIdleTimeoutSec??void 0,ccSessionAutoArchiveScanIntervalSec:r.ccSessionAutoArchiveScanIntervalSec??void 0,ccSessionAutoArchiveAgeDays:r.ccSessionAutoArchiveAgeDays??void 0,ccSessionAutoArchiveCountThreshold:r.ccSessionAutoArchiveCountThreshold??void 0}}static \u0275fac=(()=>{let r;return function(i){return(r||(r=nl(t)))(i||t)}})();static \u0275prov=Xt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{vu as a,hu as b,Al as c,wt as d,he as e,El as f,Fu as g,bn as h,Fr as i,ds as j,kr as k,Bn as l,Ds as m,uy as n,ly as o,iu as p,zk as q,Yk as r,Jk as s,uu as t,Gk as u,Hk as v,Zk as w,Kk as x,Qk as y,oI as z,aI as A,uI as B,Xk as C,eI as D,rI as E,tI as F,nI as G,iI as H,Yy as I,Qc as J,su as K,Jy as L,lu as M,X4 as N};
212
+ //# sourceMappingURL=chunk-GCECKZJT.js.map