@futdevpro/ccap 1.1.3545 → 1.1.3557

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 (245) hide show
  1. package/cli/build/_collections/npm-global/npm-global-paths.interface.d.ts +28 -0
  2. package/cli/build/_collections/npm-global/npm-global-paths.interface.d.ts.map +1 -0
  3. package/cli/build/_collections/npm-global/npm-global-paths.interface.js +3 -0
  4. package/cli/build/_collections/npm-global/npm-global-paths.interface.js.map +1 -0
  5. package/cli/build/_collections/npm-global/npm-global-paths.util.d.ts +30 -0
  6. package/cli/build/_collections/npm-global/npm-global-paths.util.d.ts.map +1 -0
  7. package/cli/build/_collections/npm-global/npm-global-paths.util.js +124 -0
  8. package/cli/build/_collections/npm-global/npm-global-paths.util.js.map +1 -0
  9. package/cli/build/_collections/npm-global/npm-global-paths.util.spec.d.ts +8 -0
  10. package/cli/build/_collections/npm-global/npm-global-paths.util.spec.d.ts.map +1 -0
  11. package/cli/build/_collections/npm-global/npm-global-paths.util.spec.js +107 -0
  12. package/cli/build/_collections/npm-global/npm-global-paths.util.spec.js.map +1 -0
  13. package/cli/build/_collections/staging/staging-cleanup.util.d.ts +5 -2
  14. package/cli/build/_collections/staging/staging-cleanup.util.d.ts.map +1 -1
  15. package/cli/build/_collections/staging/staging-cleanup.util.js +10 -18
  16. package/cli/build/_collections/staging/staging-cleanup.util.js.map +1 -1
  17. package/cli/build/_collections/update/update-verify-install.util.d.ts +13 -17
  18. package/cli/build/_collections/update/update-verify-install.util.d.ts.map +1 -1
  19. package/cli/build/_collections/update/update-verify-install.util.js +55 -83
  20. package/cli/build/_collections/update/update-verify-install.util.js.map +1 -1
  21. package/cli/build/_collections/update/update-verify-install.util.spec.d.ts +3 -0
  22. package/cli/build/_collections/update/update-verify-install.util.spec.d.ts.map +1 -1
  23. package/cli/build/_collections/update/update-verify-install.util.spec.js +82 -22
  24. package/cli/build/_collections/update/update-verify-install.util.spec.js.map +1 -1
  25. package/cli/build/_collections/update/update-version-check.util.d.ts +6 -4
  26. package/cli/build/_collections/update/update-version-check.util.d.ts.map +1 -1
  27. package/cli/build/_collections/update/update-version-check.util.js +10 -20
  28. package/cli/build/_collections/update/update-version-check.util.js.map +1 -1
  29. package/client-dist/{agent-instances.module-M37UL5ZS.js → agent-instances.module-NDNG4HC6.js} +2 -2
  30. package/client-dist/{ca.module-LQG6N5PN.js → ca.module-Y5FJIVDH.js} +2 -2
  31. package/client-dist/{cc-usage-dashboard.component-26DXWVRC.js → cc-usage-dashboard.component-DAJMNYQD.js} +2 -2
  32. package/client-dist/{cc.module-UPRIKRHQ.js → cc.module-IHZXPJ3G.js} +2 -2
  33. package/client-dist/{chunk-PGUTP7BT.js → chunk-2EGN5OIA.js} +2 -2
  34. package/client-dist/{chunk-2QXYE2FN.js → chunk-2P5XNKSU.js} +2 -2
  35. package/client-dist/{chunk-IJFDZQDF.js → chunk-2XSAWMFD.js} +2 -2
  36. package/client-dist/{chunk-ORKQJA72.js → chunk-3EQBM3NI.js} +2 -2
  37. package/client-dist/chunk-3KUKN53F.js +73 -0
  38. package/client-dist/chunk-3KUKN53F.js.map +1 -0
  39. package/client-dist/{chunk-INFA5WNP.js → chunk-3NI6EUGP.js} +2 -2
  40. package/client-dist/{chunk-BR3NTMK5.js → chunk-5F77NGYL.js} +2 -2
  41. package/client-dist/{chunk-JVMAUZVZ.js → chunk-5UV722GH.js} +2 -2
  42. package/client-dist/{chunk-K7HRLFLM.js → chunk-65R5RLWC.js} +2 -2
  43. package/client-dist/{chunk-OL6YRR73.js → chunk-73EAXEDI.js} +2 -2
  44. package/client-dist/{chunk-BOKJPFNS.js → chunk-7XUJIV75.js} +2 -2
  45. package/client-dist/{chunk-XWHBNOEF.js → chunk-ALKI4J2W.js} +2 -2
  46. package/client-dist/{chunk-IAZNXEV5.js → chunk-C7746ZDD.js} +2 -2
  47. package/client-dist/{chunk-H3QG3XIB.js → chunk-CEXJQIOB.js} +2 -2
  48. package/client-dist/{chunk-5SRB4WVQ.js → chunk-CVIA6GIV.js} +2 -2
  49. package/client-dist/{chunk-OVKQVCOI.js → chunk-CVSG4HQU.js} +2 -2
  50. package/client-dist/{chunk-QXZTZC7X.js → chunk-D4C3OD6J.js} +2 -2
  51. package/client-dist/{chunk-QNOKNRNK.js → chunk-EAFI4YMD.js} +2 -2
  52. package/client-dist/{chunk-JH7JGPFQ.js → chunk-EGAUOFDI.js} +2 -2
  53. package/client-dist/{chunk-PZQA4FCL.js → chunk-EHT2HQDT.js} +2 -2
  54. package/client-dist/{chunk-G6TB4WUF.js → chunk-ER7KIQXW.js} +2 -2
  55. package/client-dist/{chunk-EFN7DGQP.js → chunk-EZ2OC4CA.js} +2 -2
  56. package/client-dist/{chunk-RY33S66J.js → chunk-F3NE5SNS.js} +2 -2
  57. package/client-dist/{chunk-ZKLQIMQZ.js → chunk-FCYMPE2S.js} +2 -2
  58. package/client-dist/{chunk-KHPHT7M2.js → chunk-FHGZ3DH7.js} +2 -2
  59. package/client-dist/{chunk-NGKAIBKH.js → chunk-FHOK7MOR.js} +2 -2
  60. package/client-dist/{chunk-5AVCLDUF.js → chunk-GLY7XIEO.js} +2 -2
  61. package/client-dist/{chunk-5AVCLDUF.js.map → chunk-GLY7XIEO.js.map} +1 -1
  62. package/client-dist/{chunk-VCKPIPJZ.js → chunk-GWT4NLC6.js} +2 -2
  63. package/client-dist/{chunk-DEUH7G5Q.js → chunk-HBDXPQIC.js} +2 -2
  64. package/client-dist/{chunk-F45D4UGB.js → chunk-HIRPZSS5.js} +2 -2
  65. package/client-dist/{chunk-YHYAAVDM.js → chunk-HO6SWXO3.js} +2 -2
  66. package/client-dist/{chunk-ZOJX6LQ2.js → chunk-I5DLHGUT.js} +2 -2
  67. package/client-dist/{chunk-KNMJ3JEH.js → chunk-IB5B5H24.js} +2 -2
  68. package/client-dist/{chunk-LRNXI5PI.js → chunk-IMILT6U5.js} +2 -2
  69. package/client-dist/{chunk-XN7YOYCH.js → chunk-IN2UAFFX.js} +2 -2
  70. package/client-dist/{chunk-BYE5D2MY.js → chunk-IRITCLVX.js} +2 -2
  71. package/client-dist/{chunk-YOYVBN2F.js → chunk-J66SGQQK.js} +2 -2
  72. package/client-dist/{chunk-PBFFGCZP.js → chunk-KRSUKF3L.js} +2 -2
  73. package/client-dist/{chunk-BQI6NBXW.js → chunk-MN6YUX6R.js} +2 -2
  74. package/client-dist/{chunk-DN67NEP3.js → chunk-O2QGLI7P.js} +2 -2
  75. package/client-dist/{chunk-OFWL36K2.js → chunk-ODQXZPME.js} +2 -2
  76. package/client-dist/{chunk-GV2Y7K5T.js → chunk-PB5GJJMR.js} +2 -2
  77. package/client-dist/{chunk-QFI5KDQS.js → chunk-QBRVPAZB.js} +2 -2
  78. package/client-dist/{chunk-Y7WEET42.js → chunk-QZVMUDW7.js} +2 -2
  79. package/client-dist/{chunk-UIZMS7RF.js → chunk-R77S4JY5.js} +2 -2
  80. package/client-dist/{chunk-ZYNLISTI.js → chunk-RNENIOVE.js} +2 -2
  81. package/client-dist/{chunk-PMMQZ476.js → chunk-TGBNDSOS.js} +2 -2
  82. package/client-dist/{chunk-U7KCQYK3.js → chunk-UUJ5VF4E.js} +2 -2
  83. package/client-dist/{chunk-IPJWDV7N.js → chunk-UV7YDW6X.js} +2 -2
  84. package/client-dist/{chunk-LLMVHG5S.js → chunk-UXTS2HWD.js} +2 -2
  85. package/client-dist/{chunk-VHAC2WS6.js → chunk-VSY6ABSB.js} +2 -2
  86. package/client-dist/{chunk-C527FWS7.js → chunk-WB44FME2.js} +2 -2
  87. package/client-dist/{chunk-QEMMWIWJ.js → chunk-WHJDIPTM.js} +2 -2
  88. package/client-dist/{chunk-A747EWKG.js → chunk-YBKSPRVS.js} +2 -2
  89. package/client-dist/{chunk-N7CMLQRV.js → chunk-YD7R724R.js} +2 -2
  90. package/client-dist/{chunk-UHFX32HG.js → chunk-YD7T74SA.js} +2 -2
  91. package/client-dist/{chunk-NL6KS2PG.js → chunk-YTJ626F2.js} +2 -2
  92. package/client-dist/{consultant.module-5O4QS6MV.js → consultant.module-OCAX7KQT.js} +2 -2
  93. package/client-dist/{crd.module-JDDURK3D.js → crd.module-LO6GCSNU.js} +2 -2
  94. package/client-dist/{dashboard.module-CPX4AHDB.js → dashboard.module-SPGBUCMD.js} +2 -2
  95. package/client-dist/{do.module-GPVMSSUT.js → do.module-KALYZEB6.js} +2 -2
  96. package/client-dist/{document-library.module-FC5QOT5U.js → document-library.module-HX5BXVZ2.js} +2 -2
  97. package/client-dist/{embedding-eval.module-4E3DEQE2.js → embedding-eval.module-BZ7QMCT5.js} +2 -2
  98. package/client-dist/{embedding-registry.module-EVJW6GDG.js → embedding-registry.module-4KH7QGE5.js} +2 -2
  99. package/client-dist/{err.module-QCEQ4XHL.js → err.module-M4E27OWR.js} +2 -2
  100. package/client-dist/{feedback.module-7OY7EZAS.js → feedback.module-E7FYACM4.js} +2 -2
  101. package/client-dist/{host-runtime-mcp.module-WCA4GRIQ.js → host-runtime-mcp.module-AV3EO5I3.js} +2 -2
  102. package/client-dist/index.html +1 -1
  103. package/client-dist/{live-dev-pipeline.module-CWOXURFE.js → live-dev-pipeline.module-EAH5255G.js} +2 -2
  104. package/client-dist/{logs.module-LZA7HKW2.js → logs.module-KONMW55W.js} +2 -2
  105. package/client-dist/main-4IV3NJMV.js +7 -0
  106. package/client-dist/main-4IV3NJMV.js.map +7 -0
  107. package/client-dist/{master-control-remote-poc.module-ZXTIM7U2.js → master-control-remote-poc.module-3KAKM6EL.js} +2 -2
  108. package/client-dist/{mobile-app.module-GYANFQRM.js → mobile-app.module-C7IMUTOE.js} +2 -2
  109. package/client-dist/{model-registry.module-GFN6PSBG.js → model-registry.module-A35YFVEE.js} +2 -2
  110. package/client-dist/{oc.module-FLPI4WQK.js → oc.module-XT7VDCSU.js} +2 -2
  111. package/client-dist/{orc.module-GF3YPUTO.js → orc.module-4YGRTRV6.js} +2 -2
  112. package/client-dist/{project-management.module-JCP3QYMC.js → project-management.module-LI3L4WCD.js} +2 -2
  113. package/client-dist/project-source-routed.module-CJB4YJND.js +2 -0
  114. package/client-dist/{scheduler.module-SRO6H5K6.js → scheduler.module-HEG5JCVO.js} +2 -2
  115. package/client-dist/{session.module-VQ7PBBDQ.js → session.module-DEIGFE2V.js} +2 -2
  116. package/client-dist/{set.module-P76APIOK.js → set.module-DSD6PIYI.js} +2 -2
  117. package/client-dist/{setup.module-VTMU43WO.js → setup.module-WDIRWV32.js} +2 -2
  118. package/client-dist/{terminals.module-AAU3GPWE.js → terminals.module-4KEH5NED.js} +2 -2
  119. package/client-dist/{voice-notes-poc.module-IGR2R6XD.js → voice-notes-poc.module-UWGARHN5.js} +2 -2
  120. package/client-dist/{wfs.module-J34NQGDG.js → wfs.module-XAEMCUIF.js} +2 -2
  121. package/package.json +1 -1
  122. package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/elevenlabs-tts.util.d.ts.map +1 -1
  123. package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/elevenlabs-tts.util.js +17 -0
  124. package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/elevenlabs-tts.util.js.map +1 -1
  125. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/code-search/_collections/consts/code-search-tool-schema.const.d.ts.map +1 -1
  126. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/code-search/_collections/consts/code-search-tool-schema.const.js +3 -1
  127. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/code-search/_collections/consts/code-search-tool-schema.const.js.map +1 -1
  128. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/environment-readiness/_collections/consts/environment-readiness-tool-definition.const.d.ts.map +1 -1
  129. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/environment-readiness/_collections/consts/environment-readiness-tool-definition.const.js +3 -1
  130. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/environment-readiness/_collections/consts/environment-readiness-tool-definition.const.js.map +1 -1
  131. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/exec/_collections/consts/exec-tool-usage-rules.const.d.ts.map +1 -1
  132. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/exec/_collections/consts/exec-tool-usage-rules.const.js +5 -1
  133. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/exec/_collections/consts/exec-tool-usage-rules.const.js.map +1 -1
  134. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-explore/_collections/consts/ffe-explore-tool-usage-rules.const.d.ts.map +1 -1
  135. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-explore/_collections/consts/ffe-explore-tool-usage-rules.const.js +6 -1
  136. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-explore/_collections/consts/ffe-explore-tool-usage-rules.const.js.map +1 -1
  137. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-handling/_collections/consts/fh-handling-tool-usage-rules.const.d.ts.map +1 -1
  138. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-handling/_collections/consts/fh-handling-tool-usage-rules.const.js +6 -1
  139. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-handling/_collections/consts/fh-handling-tool-usage-rules.const.js.map +1 -1
  140. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-search/_collections/consts/fs-search-tool-usage-rules.const.d.ts.map +1 -1
  141. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-search/_collections/consts/fs-search-tool-usage-rules.const.js +6 -1
  142. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-search/_collections/consts/fs-search-tool-usage-rules.const.js.map +1 -1
  143. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/received-files/_collections/consts/save-received-files-tool-definition.const.d.ts.map +1 -1
  144. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/received-files/_collections/consts/save-received-files-tool-definition.const.js +3 -1
  145. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/received-files/_collections/consts/save-received-files-tool-definition.const.js.map +1 -1
  146. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/self/_collections/consts/self-tool-definition.const.d.ts.map +1 -1
  147. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/self/_collections/consts/self-tool-definition.const.js +14 -12
  148. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/self/_collections/consts/self-tool-definition.const.js.map +1 -1
  149. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/self/_collections/consts/self-tool-definition.const.spec.js +19 -15
  150. package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/self/_collections/consts/self-tool-definition.const.spec.js.map +1 -1
  151. package/server/build/src/_modules/external-sessions/_modules/ext-message/_collections/utils/cc-assembly.util.d.ts.map +1 -1
  152. package/server/build/src/_modules/external-sessions/_modules/ext-message/_collections/utils/cc-assembly.util.js +20 -1
  153. package/server/build/src/_modules/external-sessions/_modules/ext-message/_collections/utils/cc-assembly.util.js.map +1 -1
  154. package/server/build/src/_modules/external-sessions/_modules/ext-message/_collections/utils/cc-assembly.util.spec.js +89 -0
  155. package/server/build/src/_modules/external-sessions/_modules/ext-message/_collections/utils/cc-assembly.util.spec.js.map +1 -1
  156. package/client-dist/chunk-SMSOT7W7.js +0 -73
  157. package/client-dist/chunk-SMSOT7W7.js.map +0 -1
  158. package/client-dist/main-7TNGY6HW.js +0 -7
  159. package/client-dist/main-7TNGY6HW.js.map +0 -7
  160. package/client-dist/project-source-routed.module-H7SKWQ5J.js +0 -2
  161. /package/client-dist/{agent-instances.module-M37UL5ZS.js.map → agent-instances.module-NDNG4HC6.js.map} +0 -0
  162. /package/client-dist/{ca.module-LQG6N5PN.js.map → ca.module-Y5FJIVDH.js.map} +0 -0
  163. /package/client-dist/{cc-usage-dashboard.component-26DXWVRC.js.map → cc-usage-dashboard.component-DAJMNYQD.js.map} +0 -0
  164. /package/client-dist/{cc.module-UPRIKRHQ.js.map → cc.module-IHZXPJ3G.js.map} +0 -0
  165. /package/client-dist/{chunk-PGUTP7BT.js.map → chunk-2EGN5OIA.js.map} +0 -0
  166. /package/client-dist/{chunk-2QXYE2FN.js.map → chunk-2P5XNKSU.js.map} +0 -0
  167. /package/client-dist/{chunk-IJFDZQDF.js.map → chunk-2XSAWMFD.js.map} +0 -0
  168. /package/client-dist/{chunk-ORKQJA72.js.map → chunk-3EQBM3NI.js.map} +0 -0
  169. /package/client-dist/{chunk-INFA5WNP.js.map → chunk-3NI6EUGP.js.map} +0 -0
  170. /package/client-dist/{chunk-BR3NTMK5.js.map → chunk-5F77NGYL.js.map} +0 -0
  171. /package/client-dist/{chunk-JVMAUZVZ.js.map → chunk-5UV722GH.js.map} +0 -0
  172. /package/client-dist/{chunk-K7HRLFLM.js.map → chunk-65R5RLWC.js.map} +0 -0
  173. /package/client-dist/{chunk-OL6YRR73.js.map → chunk-73EAXEDI.js.map} +0 -0
  174. /package/client-dist/{chunk-BOKJPFNS.js.map → chunk-7XUJIV75.js.map} +0 -0
  175. /package/client-dist/{chunk-XWHBNOEF.js.map → chunk-ALKI4J2W.js.map} +0 -0
  176. /package/client-dist/{chunk-IAZNXEV5.js.map → chunk-C7746ZDD.js.map} +0 -0
  177. /package/client-dist/{chunk-H3QG3XIB.js.map → chunk-CEXJQIOB.js.map} +0 -0
  178. /package/client-dist/{chunk-5SRB4WVQ.js.map → chunk-CVIA6GIV.js.map} +0 -0
  179. /package/client-dist/{chunk-OVKQVCOI.js.map → chunk-CVSG4HQU.js.map} +0 -0
  180. /package/client-dist/{chunk-QXZTZC7X.js.map → chunk-D4C3OD6J.js.map} +0 -0
  181. /package/client-dist/{chunk-QNOKNRNK.js.map → chunk-EAFI4YMD.js.map} +0 -0
  182. /package/client-dist/{chunk-JH7JGPFQ.js.map → chunk-EGAUOFDI.js.map} +0 -0
  183. /package/client-dist/{chunk-PZQA4FCL.js.map → chunk-EHT2HQDT.js.map} +0 -0
  184. /package/client-dist/{chunk-G6TB4WUF.js.map → chunk-ER7KIQXW.js.map} +0 -0
  185. /package/client-dist/{chunk-EFN7DGQP.js.map → chunk-EZ2OC4CA.js.map} +0 -0
  186. /package/client-dist/{chunk-RY33S66J.js.map → chunk-F3NE5SNS.js.map} +0 -0
  187. /package/client-dist/{chunk-ZKLQIMQZ.js.map → chunk-FCYMPE2S.js.map} +0 -0
  188. /package/client-dist/{chunk-KHPHT7M2.js.map → chunk-FHGZ3DH7.js.map} +0 -0
  189. /package/client-dist/{chunk-NGKAIBKH.js.map → chunk-FHOK7MOR.js.map} +0 -0
  190. /package/client-dist/{chunk-VCKPIPJZ.js.map → chunk-GWT4NLC6.js.map} +0 -0
  191. /package/client-dist/{chunk-DEUH7G5Q.js.map → chunk-HBDXPQIC.js.map} +0 -0
  192. /package/client-dist/{chunk-F45D4UGB.js.map → chunk-HIRPZSS5.js.map} +0 -0
  193. /package/client-dist/{chunk-YHYAAVDM.js.map → chunk-HO6SWXO3.js.map} +0 -0
  194. /package/client-dist/{chunk-ZOJX6LQ2.js.map → chunk-I5DLHGUT.js.map} +0 -0
  195. /package/client-dist/{chunk-KNMJ3JEH.js.map → chunk-IB5B5H24.js.map} +0 -0
  196. /package/client-dist/{chunk-LRNXI5PI.js.map → chunk-IMILT6U5.js.map} +0 -0
  197. /package/client-dist/{chunk-XN7YOYCH.js.map → chunk-IN2UAFFX.js.map} +0 -0
  198. /package/client-dist/{chunk-BYE5D2MY.js.map → chunk-IRITCLVX.js.map} +0 -0
  199. /package/client-dist/{chunk-YOYVBN2F.js.map → chunk-J66SGQQK.js.map} +0 -0
  200. /package/client-dist/{chunk-PBFFGCZP.js.map → chunk-KRSUKF3L.js.map} +0 -0
  201. /package/client-dist/{chunk-BQI6NBXW.js.map → chunk-MN6YUX6R.js.map} +0 -0
  202. /package/client-dist/{chunk-DN67NEP3.js.map → chunk-O2QGLI7P.js.map} +0 -0
  203. /package/client-dist/{chunk-OFWL36K2.js.map → chunk-ODQXZPME.js.map} +0 -0
  204. /package/client-dist/{chunk-GV2Y7K5T.js.map → chunk-PB5GJJMR.js.map} +0 -0
  205. /package/client-dist/{chunk-QFI5KDQS.js.map → chunk-QBRVPAZB.js.map} +0 -0
  206. /package/client-dist/{chunk-Y7WEET42.js.map → chunk-QZVMUDW7.js.map} +0 -0
  207. /package/client-dist/{chunk-UIZMS7RF.js.map → chunk-R77S4JY5.js.map} +0 -0
  208. /package/client-dist/{chunk-ZYNLISTI.js.map → chunk-RNENIOVE.js.map} +0 -0
  209. /package/client-dist/{chunk-PMMQZ476.js.map → chunk-TGBNDSOS.js.map} +0 -0
  210. /package/client-dist/{chunk-U7KCQYK3.js.map → chunk-UUJ5VF4E.js.map} +0 -0
  211. /package/client-dist/{chunk-IPJWDV7N.js.map → chunk-UV7YDW6X.js.map} +0 -0
  212. /package/client-dist/{chunk-LLMVHG5S.js.map → chunk-UXTS2HWD.js.map} +0 -0
  213. /package/client-dist/{chunk-VHAC2WS6.js.map → chunk-VSY6ABSB.js.map} +0 -0
  214. /package/client-dist/{chunk-C527FWS7.js.map → chunk-WB44FME2.js.map} +0 -0
  215. /package/client-dist/{chunk-QEMMWIWJ.js.map → chunk-WHJDIPTM.js.map} +0 -0
  216. /package/client-dist/{chunk-A747EWKG.js.map → chunk-YBKSPRVS.js.map} +0 -0
  217. /package/client-dist/{chunk-N7CMLQRV.js.map → chunk-YD7R724R.js.map} +0 -0
  218. /package/client-dist/{chunk-UHFX32HG.js.map → chunk-YD7T74SA.js.map} +0 -0
  219. /package/client-dist/{chunk-NL6KS2PG.js.map → chunk-YTJ626F2.js.map} +0 -0
  220. /package/client-dist/{consultant.module-5O4QS6MV.js.map → consultant.module-OCAX7KQT.js.map} +0 -0
  221. /package/client-dist/{crd.module-JDDURK3D.js.map → crd.module-LO6GCSNU.js.map} +0 -0
  222. /package/client-dist/{dashboard.module-CPX4AHDB.js.map → dashboard.module-SPGBUCMD.js.map} +0 -0
  223. /package/client-dist/{do.module-GPVMSSUT.js.map → do.module-KALYZEB6.js.map} +0 -0
  224. /package/client-dist/{document-library.module-FC5QOT5U.js.map → document-library.module-HX5BXVZ2.js.map} +0 -0
  225. /package/client-dist/{embedding-eval.module-4E3DEQE2.js.map → embedding-eval.module-BZ7QMCT5.js.map} +0 -0
  226. /package/client-dist/{embedding-registry.module-EVJW6GDG.js.map → embedding-registry.module-4KH7QGE5.js.map} +0 -0
  227. /package/client-dist/{err.module-QCEQ4XHL.js.map → err.module-M4E27OWR.js.map} +0 -0
  228. /package/client-dist/{feedback.module-7OY7EZAS.js.map → feedback.module-E7FYACM4.js.map} +0 -0
  229. /package/client-dist/{host-runtime-mcp.module-WCA4GRIQ.js.map → host-runtime-mcp.module-AV3EO5I3.js.map} +0 -0
  230. /package/client-dist/{live-dev-pipeline.module-CWOXURFE.js.map → live-dev-pipeline.module-EAH5255G.js.map} +0 -0
  231. /package/client-dist/{logs.module-LZA7HKW2.js.map → logs.module-KONMW55W.js.map} +0 -0
  232. /package/client-dist/{master-control-remote-poc.module-ZXTIM7U2.js.map → master-control-remote-poc.module-3KAKM6EL.js.map} +0 -0
  233. /package/client-dist/{mobile-app.module-GYANFQRM.js.map → mobile-app.module-C7IMUTOE.js.map} +0 -0
  234. /package/client-dist/{model-registry.module-GFN6PSBG.js.map → model-registry.module-A35YFVEE.js.map} +0 -0
  235. /package/client-dist/{oc.module-FLPI4WQK.js.map → oc.module-XT7VDCSU.js.map} +0 -0
  236. /package/client-dist/{orc.module-GF3YPUTO.js.map → orc.module-4YGRTRV6.js.map} +0 -0
  237. /package/client-dist/{project-management.module-JCP3QYMC.js.map → project-management.module-LI3L4WCD.js.map} +0 -0
  238. /package/client-dist/{project-source-routed.module-H7SKWQ5J.js.map → project-source-routed.module-CJB4YJND.js.map} +0 -0
  239. /package/client-dist/{scheduler.module-SRO6H5K6.js.map → scheduler.module-HEG5JCVO.js.map} +0 -0
  240. /package/client-dist/{session.module-VQ7PBBDQ.js.map → session.module-DEIGFE2V.js.map} +0 -0
  241. /package/client-dist/{set.module-P76APIOK.js.map → set.module-DSD6PIYI.js.map} +0 -0
  242. /package/client-dist/{setup.module-VTMU43WO.js.map → setup.module-WDIRWV32.js.map} +0 -0
  243. /package/client-dist/{terminals.module-AAU3GPWE.js.map → terminals.module-4KEH5NED.js.map} +0 -0
  244. /package/client-dist/{voice-notes-poc.module-IGR2R6XD.js.map → voice-notes-poc.module-UWGARHN5.js.map} +0 -0
  245. /package/client-dist/{wfs.module-J34NQGDG.js.map → wfs.module-XAEMCUIF.js.map} +0 -0
@@ -1,6 +1,6 @@
1
- import{a as P}from"./chunk-QXZTZC7X.js";import{a as O}from"./chunk-BOKJPFNS.js";import{k as j}from"./chunk-XN7YOYCH.js";import"./chunk-5UPNU54P.js";import{c as z}from"./chunk-QEMMWIWJ.js";import{p as ft}from"./chunk-5AVCLDUF.js";import{$a as it,C as A,D as w,E as Q,Fa as s,Ga as f,Ha as g,Hb as lt,Ia as G,J as h,K as E,Kb as st,L as B,Pa as et,Q as H,Qa as nt,Ra as V,Ta as R,U as Y,Ua as rt,Z as l,a as F,aa as I,b as N,bb as ot,d as q,da as m,fa as W,ga as v,h as xt,hb as y,ia as M,la as _,ma as Z,na as tt,oa as $,pa as k,pb as at,qa as a,ra as i,sa as D,ua as S,ub as L,va as C,wa as u,z as X}from"./chunk-TBMJSIBB.js";function Ct(n,c){n&1&&(a(0,"p",0),s(1,"Nincs adat a trend-hez az id\u0151szakban."),i())}function gt(n,c){if(n&1){let t=S();B(),a(0,"rect",5),C("mouseenter",function(){let r=h(t).$index,o=u(2);return E(o.handleBarHover(r))})("mouseleave",function(){h(t);let r=u(2);return E(r.handleBarHoverEnd())})("touchstart",function(){let r=h(t).$index,o=u(2);return E(o.handleBarHover(r))}),a(1,"title"),s(2),i()()}if(n&2){let t=c.$implicit,e=u(2);W("x",t.x)("y",t.y)("width",e.barWidth_$())("height",t.height),l(2),f(e.formatTooltip(t))}}function bt(n,c){if(n&1&&(a(0,"div",4)(1,"span",6),s(2),i()()),n&2){let t=u(2);l(2),f(t.formatTooltip(c))}}function ht(n,c){if(n&1&&(a(0,"div",1),B(),a(1,"svg",2),$(2,gt,3,5,":svg:rect",3,Z),i(),m(4,bt,3,1,"div",4),i()),n&2){let t,e=u();l(),W("viewBox","0 0 "+e.chartWidth+" "+e.chartHeight),l(),k(e.bars_$()),l(2),_((t=e.hoveredBar_$())?4:-1,t)}}var dt=600,J=80,ct=2,ut=(()=>{class n{buckets=Y.required();hoveredIndex_$=I(null);chartWidth=dt;chartHeight=J;maxCount_$=y(()=>{let t=this.buckets(),e=0;for(let r of t)r.count>e&&(e=r.count);return Math.max(1,e)});barWidth_$=y(()=>{let t=this.buckets();if(t.length===0)return 0;let e=(t.length-1)*ct;return Math.max(1,(dt-e)/t.length)});bars_$=y(()=>{let t=this.buckets(),e=this.barWidth_$(),r=this.maxCount_$();return t.map((o,d)=>{let b=o.count/r*J;return{bucket:o,x:d*(e+ct),height:b,y:J-b}})});hoveredBar_$=y(()=>{let t=this.hoveredIndex_$();return t==null?null:this.bars_$()[t]??null});handleBarHover(t){this.hoveredIndex_$.set(t)}handleBarHoverEnd(){this.hoveredIndex_$.set(null)}formatTooltip(t){let e=t.bucket.bucketEndMs;return`${new Date(e).toISOString()} \u2014 ${t.bucket.count}`}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=w({type:n,selectors:[["app-ccap-errors-trend-chart"]],inputs:{buckets:[1,"buckets"]},standalone:!0,features:[R],decls:2,vars:1,consts:[[1,"text-xs","text-neutral-500"],[1,"relative"],["preserveAspectRatio","none","role","img","aria-label","Error trend bucket-ek",1,"w-full"],[1,"fill-neonCyan/60","hover:fill-neonCyan","transition-colors","cursor-pointer"],[1,"absolute","top-0","right-0","text-xs","bg-neutral-900/90","text-neutral-200","px-2","py-1","rounded","border","border-neutral-700","pointer-events-none"],[1,"fill-neonCyan/60","hover:fill-neonCyan","transition-colors","cursor-pointer",3,"mouseenter","mouseleave","touchstart"],[1,"font-mono"]],template:function(e,r){e&1&&m(0,Ct,2,0,"p",0)(1,ht,5,2,"div",1),e&2&&_(r.buckets().length===0?0:1)},dependencies:[L],encapsulation:2})}return n})();var Et=(n,c)=>c.errorCode,St=(n,c)=>c.source;function vt(n,c){if(n&1){let t=S();a(0,"button",8),C("click",function(){let r=h(t).$implicit,o=u();return E(o.handleSelectRange(r))}),s(1),i()}if(n&2){let t=c.$implicit,e=u();M("bg-neonCyan",e.selectedRange_$()===t)("text-neutral-900",e.selectedRange_$()===t)("border-neonCyan",e.selectedRange_$()===t)("text-neutral-300",e.selectedRange_$()!==t)("border-neutral-600",e.selectedRange_$()!==t)("hover:bg-neutral-700",e.selectedRange_$()!==t),v("disabled",e.loading_$()),l(),g(" ",t," ")}}function yt(n,c){n&1&&(a(0,"p",5),s(1,"Statisztika bet\xF6lt\xE9se\u2026"),i())}function $t(n,c){if(n&1&&(a(0,"p",6),s(1),i()),n&2){let t=u();l(),g("A statisztika nem t\xF6lthet\u0151 be: ",t.loadError_$(),"")}}function kt(n,c){n&1&&(a(0,"p",18),s(1,"Nincs adat az id\u0151szakban."),i())}function Tt(n,c){if(n&1){let t=S();a(0,"li")(1,"button",22),C("click",function(){let r=h(t).$implicit,o=u(3);return E(o.handleErrorCodeClick(r.errorCode))}),a(2,"span",23),s(3),i(),a(4,"span",24),s(5),i()()()}if(n&2){let t=c.$implicit;l(),v("disabled",!t.errorCode),l(2),f(t.errorCode||"(no errorCode)"),l(2),f(t.count)}}function It(n,c){if(n&1&&(a(0,"ul",19),$(1,Tt,6,3,"li",null,Et),i()),n&2){u(2);let t=V(7);l(),k(t.topByCount)}}function Dt(n,c){n&1&&(a(0,"p",18),s(1,"Nincs adat az id\u0151szakban."),i())}function Ft(n,c){if(n&1){let t=S();a(0,"li")(1,"button",25),C("click",function(){let r=h(t).$implicit,o=u(3);return E(o.handleSourceClick(r.source))}),a(2,"span",23),s(3),i(),a(4,"span",24),s(5),i()()()}if(n&2){let t=c.$implicit;l(3),f(t.source),l(2),f(t.count)}}function wt(n,c){if(n&1&&(a(0,"ul",19),$(1,Ft,6,2,"li",null,St),i()),n&2){u(2);let t=V(7);l(),k(t.topBySource)}}function Bt(n,c){if(n&1&&(a(0,"div",9)(1,"div",10)(2,"div",11),s(3),i(),a(4,"div",12),s(5,"Total"),i()(),a(6,"div",10)(7,"div",13),s(8),i(),a(9,"div",12),s(10,"Egyedi"),i()(),a(11,"div",10)(12,"div",14),s(13),i(),a(14,"div",12),s(15,"PM jel\xF6lt"),i()(),a(16,"div",10)(17,"div",15),s(18),i(),a(19,"div",12),s(20,"Kezelt"),i()()(),a(21,"div",16)(22,"div")(23,"h3",17),s(24,"Top errorCode"),i(),m(25,kt,2,0,"p",18)(26,It,3,0,"ul",19),i(),a(27,"div")(28,"h3",17),s(29,"Top source"),i(),m(30,Dt,2,0,"p",18)(31,wt,3,0,"ul",19),i()(),a(32,"div",20)(33,"h3",17),s(34,"Trend"),i(),D(35,"app-ccap-errors-trend-chart",21),i()),n&2){u();let t=V(7);l(3),f(t.total),l(5),f(t.uniqueSignatures),l(5),f(t.pmMarked),l(5),f(t.handled),l(7),_(t.topByCount.length===0?25:26),l(5),_(t.topBySource.length===0?30:31),l(5),v("buckets",t.trendBuckets)}}function Mt(n,c){n&1&&(a(0,"p",7),s(1,"Nincs statisztikai adat."),i())}var U=(()=>{class n{filterByErrorCode=new H;filterBySource=new H;errors_DS=A(P);stats_$=this.errors_DS.errorStats_$;selectedRange_$=this.errors_DS.selectedRange_$;loading_$=this.errors_DS.errorStatsLoading_$;loadError_$=this.errors_DS.errorStatsLoadError_$;rangeOptions=["1h","24h","7d","all"];ngOnInit(){this.errors_DS.loadStats(this.selectedRange_$())}handleSelectRange(t){this.selectedRange_$()!==t&&this.errors_DS.loadStats(t)}handleErrorCodeClick(t){t==null||t.length===0||this.filterByErrorCode.emit(t)}handleSourceClick(t){t.length!==0&&this.filterBySource.emit(t)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=w({type:n,selectors:[["app-ccap-errors-stats-panel"]],outputs:{filterByErrorCode:"filterByErrorCode",filterBySource:"filterBySource"},standalone:!0,features:[R],decls:12,vars:2,consts:[[1,"mb-4","gt-xs:mb-6","p-3","gt-xs:p-4","border","border-neutral-700","rounded-md","bg-neutral-900/50"],[1,"flex","flex-wrap","items-center","gap-2","mb-3"],[1,"text-base","gt-xs:text-lg","font-semibold","text-neutral-100"],["role","group","aria-label","Id\u0151ablak",1,"flex","flex-wrap","gap-1","ml-auto"],["type","button",1,"px-2.5","py-1","text-xs","gt-xs:text-sm","border","rounded","transition-colors",3,"disabled","bg-neonCyan","text-neutral-900","border-neonCyan","text-neutral-300","border-neutral-600","hover:bg-neutral-700"],[1,"text-neutral-400","text-sm"],[1,"text-red-300","text-sm"],[1,"text-neutral-500","text-sm"],["type","button",1,"px-2.5","py-1","text-xs","gt-xs:text-sm","border","rounded","transition-colors",3,"click","disabled"],[1,"grid","grid-cols-2","md:grid-cols-4","gap-2","gt-xs:gap-3","mb-3"],[1,"p-2","gt-xs:p-3","bg-neutral-800/70","border","border-neutral-700","rounded"],[1,"text-2xl","gt-xs:text-3xl","font-bold","text-neonCyan"],[1,"text-xs","text-neutral-400"],[1,"text-2xl","gt-xs:text-3xl","font-bold","text-emerald-300"],[1,"text-2xl","gt-xs:text-3xl","font-bold","text-amber-300"],[1,"text-2xl","gt-xs:text-3xl","font-bold","text-neutral-300"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-2","gt-xs:gap-3"],[1,"text-sm","font-semibold","text-neutral-200","mb-1"],[1,"text-xs","text-neutral-500"],[1,"space-y-1"],[1,"mt-3"],[3,"buckets"],["type","button",1,"flex","items-center","w-full","text-left","px-2","py-1","rounded","text-xs","gt-xs:text-sm","text-neutral-200","hover:bg-neutral-800","disabled:opacity-60","disabled:cursor-default",3,"click","disabled"],[1,"font-mono","truncate"],[1,"ml-auto","text-neonCyan","font-bold"],["type","button",1,"flex","items-center","w-full","text-left","px-2","py-1","rounded","text-xs","gt-xs:text-sm","text-neutral-200","hover:bg-neutral-800",3,"click"]],template:function(e,r){if(e&1&&(a(0,"section",0)(1,"header",1)(2,"h2",2),s(3,"Statisztika"),i(),a(4,"div",3),$(5,vt,2,14,"button",4,tt),i()(),et(7),m(8,yt,2,0,"p",5)(9,$t,2,1,"p",6)(10,Bt,36,7)(11,Mt,2,0,"p",7),i()),e&2){l(5),k(r.rangeOptions),l(2);let o=nt(r.stats_$());l(),_(r.loading_$()&&!o?8:r.loadError_$()?9:o?10:11)}},dependencies:[L,ut],encapsulation:2})}return n})();var _t=xt(ft());var At=(n,c)=>c._id,Vt=(n,c)=>c.label,Rt=()=>[];function zt(n,c){if(n&1){let t=S();a(0,"div",16)(1,"span",17),s(2,"Sz\u0171r\u0151:"),i(),a(3,"span",18),s(4),i(),a(5,"button",19),C("click",function(){h(t);let r=u(2);return E(r.handleClearListFilter())}),s(6," T\xF6rl\xE9s "),i()()}if(n&2){let t=u();l(4),f(t)}}function jt(n,c){n&1&&m(0,zt,7,1,"div",16),n&2&&_(c.length>0?0:-1)}function Pt(n,c){if(n&1&&(a(0,"span",7),s(1),i()),n&2){let t=u();l(),g(" ",t.lastRefreshedAgo_$()," ")}}function Ot(n,c){if(n&1&&(a(0,"div",10)(1,"p",20),s(2,"A lista nem t\xF6lthet\u0151 be."),i(),D(3,"app-ccap-error-display",21),i()),n&2){let t,e=u();l(3),v("error",(t=e.errors_DS.errorsLoadErrorRaw_$())!==null&&t!==void 0?t:e.errors_DS.errorsLoadError_$())}}function Ut(n,c){n&1&&(a(0,"p",11),s(1,"Bet\xF6lt\xE9s\u2026"),i())}function Nt(n,c){n&1&&(a(0,"p",12),s(1,"Nincs r\xF6gz\xEDtett hiba."),i())}function Ht(n,c){n&1&&(a(0,"p",12),s(1," Csak STALE-BUILD bejegyz\xE9sek vannak (r\xE9gebbi server-build-ekb\u0151l, m\xE1r fixelt). Kapcsold ki a sz\u0171r\u0151t a megjelen\xEDt\xE9shez vagy haszn\xE1ld az "),a(2,"code",3),s(3,"errors-cleanup-stale.sh"),i(),s(4,"-t a takar\xEDt\xE1shoz. "),i())}function Wt(n,c){if(n&1){let t=S();a(0,"button",36),C("click",function(){h(t);let r=u().$implicit,o=u(2);return E(o.handlePmUserMark(r,!1))}),s(1," Jel\xF6l\xE9s t\xF6rl\xE9se "),i()}if(n&2){let t=u().$implicit,e=u(2);v("disabled",!t._id||e.pmUserMarkBusyErrorId_$()===t._id)}}function Gt(n,c){if(n&1){let t=S();a(0,"button",37),C("click",function(){h(t);let r=u().$implicit,o=u(2);return E(o.handlePmUserMark(r,!0))}),s(1," Megjel\xF6l\xE9s "),i()}if(n&2){let t=u().$implicit,e=u(2);v("disabled",!t._id||e.pmUserMarkBusyErrorId_$()===t._id)}}function Jt(n,c){n&1&&(a(0,"span",38),s(1," STALE "),i())}function Kt(n,c){n&1&&(a(0,"span",39),s(1," REGRESSION "),i())}function qt(n,c){if(n&1&&(a(0,"span",41),s(1),i()),n&2){let t=u(2).$implicit;l(),g(" \u2014 ",t.fixAnnotation.summary," ")}}function Xt(n,c){if(n&1&&(a(0,"div",30),m(1,Jt,2,0,"span",38)(2,Kt,2,0,"span",39),a(3,"span",40),s(4),i(),m(5,qt,2,1,"span",41),i()),n&2){let t=u().$implicit;l(),_(t.fixAnnotation.classification==="STALE-BUILD"?1:t.fixAnnotation.classification==="REGRESSION"?2:-1),l(3),G(" Fixed in ",t.fixAnnotation.fixedInVersion," (cycle ",t.fixAnnotation.fixedInCycle,") "),l(),_(t.fixAnnotation.summary?5:-1)}}function Qt(n,c){n&1&&(a(0,"span",33),s(1,"Megjel\xF6lve (PM)"),i())}function Yt(n,c){if(n&1&&(a(0,"span",34),s(1),i()),n&2){let t=u().$implicit;l(),g("\xB7 El\u0151fordul\xE1sok: ",t.occurrenceCount,"")}}function Zt(n,c){if(n&1&&(a(0,"span",34),s(1),i()),n&2){let t=u().$implicit;l(),g("\xB7 CCAP: ",t.ccapId,"")}}function te(n,c){if(n&1&&(a(0,"span",34),s(1),i()),n&2){let t=u().$implicit;l(),g("\xB7 Session: ",t.sessionId,"")}}function ee(n,c){if(n&1&&(a(0,"span",34),s(1),i()),n&2){let t=u().$implicit;l(),g("\xB7 Run: ",t.runId,"")}}function ne(n,c){if(n&1&&(a(0,"span",34),s(1),i()),n&2){let t,e=u().$implicit,r=u(2);l(),g("\xB7 ",r.errorContextLineMap_$()[(t=e._id)!==null&&t!==void 0?t:""],"")}}function re(n,c){if(n&1&&(a(0,"div",48),s(1),i(),a(2,"pre",49),s(3),i()),n&2){let t=u().$implicit;l(),f(t.label),l(2),f(t.value)}}function ie(n,c){if(n&1&&(a(0,"div",47)(1,"span",50),s(2),i(),a(3,"span",51),s(4),i()()),n&2){let t=u().$implicit;l(2),g("",t.label,":"),l(2),f(t.value)}}function oe(n,c){if(n&1&&(a(0,"div",46),m(1,re,4,2)(2,ie,5,2,"div",47),i()),n&2){let t=c.$implicit;l(),_(t.isMultiline?1:2)}}function ae(n,c){if(n&1&&(a(0,"div",45),$(1,oe,3,1,"div",46,Vt),i()),n&2){let t,e=u(2).$implicit,r=u(2);l(),k((t=r.contextDetailEntries_$()[(t=e._id)!==null&&t!==void 0?t:""])!==null&&t!==void 0?t:rt(0,Rt))}}function le(n,c){if(n&1){let t=S();a(0,"div",35)(1,"button",42),C("click",function(){let r;h(t);let o=u().$implicit,d=u(2);return E(d.toggleContextExpanded((r=o._id)!==null&&r!==void 0?r:""))}),B(),a(2,"svg",43),D(3,"polyline",44),i(),s(4),i(),m(5,ae,3,1,"div",45),i()}if(n&2){let t,e,r,o=u().$implicit,d=u(2);l(2),M("-rotate-90",!d.contextExpandedId_$()[(t=o._id)!==null&&t!==void 0?t:""]),l(2),g(" ",d.contextExpandedId_$()[(e=o._id)!==null&&e!==void 0?e:""]?"Kontextus r\xE9szletek elrejt\xE9se":"Kontextus r\xE9szletek"," "),l(),_(d.contextExpandedId_$()[(r=o._id)!==null&&r!==void 0?r:""]?5:-1)}}function se(n,c){if(n&1&&(a(0,"pre",52),s(1),i()),n&2){let t=u(2).$implicit;l(),f(t.stack)}}function de(n,c){if(n&1){let t=S();a(0,"div",35)(1,"button",42),C("click",function(){let r;h(t);let o=u().$implicit,d=u(2);return E(d.toggleExpanded((r=o._id)!==null&&r!==void 0?r:""))}),B(),a(2,"svg",43),D(3,"polyline",44),i(),s(4),i(),m(5,se,2,1,"pre",52),i()}if(n&2){let t,e,r,o=u().$implicit,d=u(2);l(2),M("-rotate-90",!d.expandedId_$()[(t=o._id)!==null&&t!==void 0?t:""]),l(2),g(" ",d.expandedId_$()[(e=o._id)!==null&&e!==void 0?e:""]?"Stack elrejt\xE9se":"Stack megjelen\xEDt\xE9se"," "),l(),_(d.expandedId_$()[(r=o._id)!==null&&r!==void 0?r:""]?5:-1)}}function ce(n,c){if(n&1){let t=S();a(0,"div",22)(1,"div",23)(2,"div",24),D(3,"app-s-copy-button",25),m(4,Wt,2,1,"button",26)(5,Gt,2,1,"button",27),a(6,"button",28),C("click",function(){let r,o=h(t).$implicit,d=u(2);return E(d.clearOne((r=o._id)!==null&&r!==void 0?r:""))}),s(7," T\xF6rl\xE9s "),i()(),a(8,"div",29),m(9,Xt,6,4,"div",30),a(10,"p",31),s(11),i(),a(12,"p",32),m(13,Qt,2,0,"span",33),a(14,"span",34),s(15),i(),m(16,Yt,2,1,"span",34),a(17,"span",34),s(18),it(19,"date"),i(),m(20,Zt,2,1,"span",34)(21,te,2,1,"span",34)(22,ee,2,1,"span",34)(23,ne,2,1,"span",34),i()()(),m(24,le,6,4,"div",35)(25,de,6,4,"div",35),i()}if(n&2){let t,e,r,o,d=c.$implicit,b=u(2);l(3),v("content",b.getErrorCopyText(d)),l(),_(d.pmUserMarkedAt!=null&&d.pmUserMarkedAt.trim()?4:5),l(2),v("disabled",!d._id),l(3),_(d.fixAnnotation&&d.fixAnnotation.classification!=="UNFIXED"?9:-1),l(2),f((t=d.message)!==null&&t!==void 0?t:"\u2013"),l(2),_(d.pmUserMarkedAt!=null&&d.pmUserMarkedAt.trim()?13:-1),l(2),g("Forr\xE1s: ",(e=d.source)!==null&&e!==void 0?e:"\u2013",""),l(),_(d.occurrenceCount!=null&&d.occurrenceCount>1?16:-1),l(2),g("\xB7 Utols\xF3: ",((r=d.lastOccurrenceAt)!==null&&r!==void 0?r:d.timestamp)?ot(19,15,(r=d.lastOccurrenceAt)!==null&&r!==void 0?r:d.timestamp,"short"):"\u2013",""),l(2),_(d.ccapId!=null&&d.ccapId.trim()?20:-1),l(),_(d.sessionId!=null&&d.sessionId.trim()?21:-1),l(),_(d.runId!=null&&d.runId.trim()?22:-1),l(),_(b.errorContextLineMap_$()[(o=d._id)!==null&&o!==void 0?o:""]?23:-1),l(),_(b.hasContextDetailText(d._id)?24:-1),l(),_(d.stack!=null&&d.stack.trim()?25:-1)}}function ue(n,c){if(n&1&&(a(0,"div",13),$(1,ce,26,18,"div",22,At),i()),n&2){let t=u();l(),k(t.visibleErrors_$())}}var pt=(()=>{class n{errors_DS=A(P);refreshTick_$=I(0);refreshTickInterval=null;lastRefreshedAgo_$=y(()=>{this.refreshTick_$();let t=this.errors_DS.lastRefreshedAt_$();if(!t)return"";let e=Date.now()-t.getTime(),r=Math.floor(e/1e3),o=Math.floor(r/60),d=Math.floor(o/60);return r<10?"most":r<60?`${r} mp`:o<60?`${o} perce`:`${d} \xF3r\xE1ja`});pmUserMarkBusyErrorId_$=I("");visibleErrors_$=y(()=>{let t=this.errors_DS.errors_$(),e=this.errors_DS.hideStaleBuild_$()?t.filter(o=>o.fixAnnotation?.classification!=="STALE-BUILD"):t,r=this.errors_DS.errorListFilter_$().toLowerCase();return r.length===0?e:e.filter(o=>{let d=(o.errorCode??"").toLowerCase(),b=(o.source??"").toLowerCase();return d.includes(r)||b.includes(r)})});handleFilterByErrorCode(t){this.errors_DS.setListFilter(t)}handleFilterBySource(t){this.errors_DS.setListFilter(t)}handleClearListFilter(){this.errors_DS.clearListFilter()}visibleVsTotalLabel_$=y(()=>{let t=this.errors_DS.errors_$().length,e=this.visibleErrors_$().length;return e===t?`${t}`:`${e} / ${t}`});expandedId_$=I({});contextExpandedId_$=I({});errorContextLineMap_$=y(()=>{let t=this.errors_DS.errors_$(),e={};for(let r of t){let o=r._id??"";e[o]=n.buildRouteUrlLine(r.surroundingState)}return e});contextDetailTextMap_$=y(()=>{let t=this.errors_DS.errors_$(),e={};for(let r of t){let o=r._id??"";e[o]=n.buildSurroundingStateExtraDetail(r.surroundingState)}return e});contextDetailEntries_$=y(()=>{let t=this.errors_DS.errors_$(),e={};for(let r of t){let o=r._id??"";e[o]=n.buildContextDetailEntries(r.surroundingState)}return e});ngOnInit(){this.errors_DS.loadErrors(),this.refreshTickInterval=setInterval(()=>{this.refreshTick_$.update(t=>t+1)},10*_t.second)}ngOnDestroy(){this.refreshTickInterval&&clearInterval(this.refreshTickInterval)}refresh(){this.errors_DS.loadErrors()}clearAll(){this.errors_DS.clearAll()}clearOne(t){this.errors_DS.clearOne(t)}handlePmUserMark(t,e){let r=t._id??"";!r.length||this.pmUserMarkBusyErrorId_$()===r||(this.pmUserMarkBusyErrorId_$.set(r),this.errors_DS.setPmUserMark(r,e).finally(()=>{this.pmUserMarkBusyErrorId_$.set("")}))}isExpanded(t){return this.expandedId_$()[t]===!0}getErrorId(t){return t._id??""}static buildRouteUrlLine(t){if(!t||typeof t!="object")return"";let e=t.route,r=t.url,o=typeof e=="string"&&e.trim().length>0?e.trim():"",d=typeof r=="string"&&r.trim().length>0?r.trim():"";return o&&d?`Route: ${o} \xB7 URL: ${d}`:o?`Route: ${o}`:d?`URL: ${d}`:""}static buildContextLine(t){let e=[];t.ccapId?.trim()&&e.push(`CCAP: ${t.ccapId.trim()}`),t.sessionId?.trim()&&e.push(`Session: ${t.sessionId.trim()}`),t.runId?.trim()&&e.push(`Run: ${t.runId.trim()}`);let r=n.buildRouteUrlLine(t.surroundingState);return r.length>0&&e.push(r),e.join(" \xB7 ")}static buildSurroundingStateExtraDetail(t){let e=n.flattenSurroundingStateForDisplay(t);if(Object.keys(e).length===0)return"";let r=[],o=(x,p)=>{typeof p=="string"&&p.trim().length>0&&r.push(`${x}: ${p.trim()}`)};o("userMessage",e.userMessage),o("sessionId (surroundingState)",e.sessionId),o("runId (surroundingState)",e.runId),o("nodeVersion",e.nodeVersion),o("platform",e.platform),o("timestamp",e.timestamp),o("userAgent",e.userAgent);let d=e.additionalContext;if(z.isRecord(d))try{let x=JSON.stringify(d,null,2);r.push(`additionalContext:
1
+ import{a as P}from"./chunk-D4C3OD6J.js";import{a as O}from"./chunk-7XUJIV75.js";import{k as j}from"./chunk-IN2UAFFX.js";import"./chunk-5UPNU54P.js";import{c as z}from"./chunk-WHJDIPTM.js";import{p as ft}from"./chunk-GLY7XIEO.js";import{$a as it,C as A,D as w,E as Q,Fa as s,Ga as f,Ha as g,Hb as lt,Ia as G,J as h,K as E,Kb as st,L as B,Pa as et,Q as H,Qa as nt,Ra as V,Ta as R,U as Y,Ua as rt,Z as l,a as F,aa as I,b as N,bb as ot,d as q,da as m,fa as W,ga as v,h as xt,hb as y,ia as M,la as _,ma as Z,na as tt,oa as $,pa as k,pb as at,qa as a,ra as i,sa as D,ua as S,ub as L,va as C,wa as u,z as X}from"./chunk-TBMJSIBB.js";function Ct(n,c){n&1&&(a(0,"p",0),s(1,"Nincs adat a trend-hez az id\u0151szakban."),i())}function gt(n,c){if(n&1){let t=S();B(),a(0,"rect",5),C("mouseenter",function(){let r=h(t).$index,o=u(2);return E(o.handleBarHover(r))})("mouseleave",function(){h(t);let r=u(2);return E(r.handleBarHoverEnd())})("touchstart",function(){let r=h(t).$index,o=u(2);return E(o.handleBarHover(r))}),a(1,"title"),s(2),i()()}if(n&2){let t=c.$implicit,e=u(2);W("x",t.x)("y",t.y)("width",e.barWidth_$())("height",t.height),l(2),f(e.formatTooltip(t))}}function bt(n,c){if(n&1&&(a(0,"div",4)(1,"span",6),s(2),i()()),n&2){let t=u(2);l(2),f(t.formatTooltip(c))}}function ht(n,c){if(n&1&&(a(0,"div",1),B(),a(1,"svg",2),$(2,gt,3,5,":svg:rect",3,Z),i(),m(4,bt,3,1,"div",4),i()),n&2){let t,e=u();l(),W("viewBox","0 0 "+e.chartWidth+" "+e.chartHeight),l(),k(e.bars_$()),l(2),_((t=e.hoveredBar_$())?4:-1,t)}}var dt=600,J=80,ct=2,ut=(()=>{class n{buckets=Y.required();hoveredIndex_$=I(null);chartWidth=dt;chartHeight=J;maxCount_$=y(()=>{let t=this.buckets(),e=0;for(let r of t)r.count>e&&(e=r.count);return Math.max(1,e)});barWidth_$=y(()=>{let t=this.buckets();if(t.length===0)return 0;let e=(t.length-1)*ct;return Math.max(1,(dt-e)/t.length)});bars_$=y(()=>{let t=this.buckets(),e=this.barWidth_$(),r=this.maxCount_$();return t.map((o,d)=>{let b=o.count/r*J;return{bucket:o,x:d*(e+ct),height:b,y:J-b}})});hoveredBar_$=y(()=>{let t=this.hoveredIndex_$();return t==null?null:this.bars_$()[t]??null});handleBarHover(t){this.hoveredIndex_$.set(t)}handleBarHoverEnd(){this.hoveredIndex_$.set(null)}formatTooltip(t){let e=t.bucket.bucketEndMs;return`${new Date(e).toISOString()} \u2014 ${t.bucket.count}`}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=w({type:n,selectors:[["app-ccap-errors-trend-chart"]],inputs:{buckets:[1,"buckets"]},standalone:!0,features:[R],decls:2,vars:1,consts:[[1,"text-xs","text-neutral-500"],[1,"relative"],["preserveAspectRatio","none","role","img","aria-label","Error trend bucket-ek",1,"w-full"],[1,"fill-neonCyan/60","hover:fill-neonCyan","transition-colors","cursor-pointer"],[1,"absolute","top-0","right-0","text-xs","bg-neutral-900/90","text-neutral-200","px-2","py-1","rounded","border","border-neutral-700","pointer-events-none"],[1,"fill-neonCyan/60","hover:fill-neonCyan","transition-colors","cursor-pointer",3,"mouseenter","mouseleave","touchstart"],[1,"font-mono"]],template:function(e,r){e&1&&m(0,Ct,2,0,"p",0)(1,ht,5,2,"div",1),e&2&&_(r.buckets().length===0?0:1)},dependencies:[L],encapsulation:2})}return n})();var Et=(n,c)=>c.errorCode,St=(n,c)=>c.source;function vt(n,c){if(n&1){let t=S();a(0,"button",8),C("click",function(){let r=h(t).$implicit,o=u();return E(o.handleSelectRange(r))}),s(1),i()}if(n&2){let t=c.$implicit,e=u();M("bg-neonCyan",e.selectedRange_$()===t)("text-neutral-900",e.selectedRange_$()===t)("border-neonCyan",e.selectedRange_$()===t)("text-neutral-300",e.selectedRange_$()!==t)("border-neutral-600",e.selectedRange_$()!==t)("hover:bg-neutral-700",e.selectedRange_$()!==t),v("disabled",e.loading_$()),l(),g(" ",t," ")}}function yt(n,c){n&1&&(a(0,"p",5),s(1,"Statisztika bet\xF6lt\xE9se\u2026"),i())}function $t(n,c){if(n&1&&(a(0,"p",6),s(1),i()),n&2){let t=u();l(),g("A statisztika nem t\xF6lthet\u0151 be: ",t.loadError_$(),"")}}function kt(n,c){n&1&&(a(0,"p",18),s(1,"Nincs adat az id\u0151szakban."),i())}function Tt(n,c){if(n&1){let t=S();a(0,"li")(1,"button",22),C("click",function(){let r=h(t).$implicit,o=u(3);return E(o.handleErrorCodeClick(r.errorCode))}),a(2,"span",23),s(3),i(),a(4,"span",24),s(5),i()()()}if(n&2){let t=c.$implicit;l(),v("disabled",!t.errorCode),l(2),f(t.errorCode||"(no errorCode)"),l(2),f(t.count)}}function It(n,c){if(n&1&&(a(0,"ul",19),$(1,Tt,6,3,"li",null,Et),i()),n&2){u(2);let t=V(7);l(),k(t.topByCount)}}function Dt(n,c){n&1&&(a(0,"p",18),s(1,"Nincs adat az id\u0151szakban."),i())}function Ft(n,c){if(n&1){let t=S();a(0,"li")(1,"button",25),C("click",function(){let r=h(t).$implicit,o=u(3);return E(o.handleSourceClick(r.source))}),a(2,"span",23),s(3),i(),a(4,"span",24),s(5),i()()()}if(n&2){let t=c.$implicit;l(3),f(t.source),l(2),f(t.count)}}function wt(n,c){if(n&1&&(a(0,"ul",19),$(1,Ft,6,2,"li",null,St),i()),n&2){u(2);let t=V(7);l(),k(t.topBySource)}}function Bt(n,c){if(n&1&&(a(0,"div",9)(1,"div",10)(2,"div",11),s(3),i(),a(4,"div",12),s(5,"Total"),i()(),a(6,"div",10)(7,"div",13),s(8),i(),a(9,"div",12),s(10,"Egyedi"),i()(),a(11,"div",10)(12,"div",14),s(13),i(),a(14,"div",12),s(15,"PM jel\xF6lt"),i()(),a(16,"div",10)(17,"div",15),s(18),i(),a(19,"div",12),s(20,"Kezelt"),i()()(),a(21,"div",16)(22,"div")(23,"h3",17),s(24,"Top errorCode"),i(),m(25,kt,2,0,"p",18)(26,It,3,0,"ul",19),i(),a(27,"div")(28,"h3",17),s(29,"Top source"),i(),m(30,Dt,2,0,"p",18)(31,wt,3,0,"ul",19),i()(),a(32,"div",20)(33,"h3",17),s(34,"Trend"),i(),D(35,"app-ccap-errors-trend-chart",21),i()),n&2){u();let t=V(7);l(3),f(t.total),l(5),f(t.uniqueSignatures),l(5),f(t.pmMarked),l(5),f(t.handled),l(7),_(t.topByCount.length===0?25:26),l(5),_(t.topBySource.length===0?30:31),l(5),v("buckets",t.trendBuckets)}}function Mt(n,c){n&1&&(a(0,"p",7),s(1,"Nincs statisztikai adat."),i())}var U=(()=>{class n{filterByErrorCode=new H;filterBySource=new H;errors_DS=A(P);stats_$=this.errors_DS.errorStats_$;selectedRange_$=this.errors_DS.selectedRange_$;loading_$=this.errors_DS.errorStatsLoading_$;loadError_$=this.errors_DS.errorStatsLoadError_$;rangeOptions=["1h","24h","7d","all"];ngOnInit(){this.errors_DS.loadStats(this.selectedRange_$())}handleSelectRange(t){this.selectedRange_$()!==t&&this.errors_DS.loadStats(t)}handleErrorCodeClick(t){t==null||t.length===0||this.filterByErrorCode.emit(t)}handleSourceClick(t){t.length!==0&&this.filterBySource.emit(t)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=w({type:n,selectors:[["app-ccap-errors-stats-panel"]],outputs:{filterByErrorCode:"filterByErrorCode",filterBySource:"filterBySource"},standalone:!0,features:[R],decls:12,vars:2,consts:[[1,"mb-4","gt-xs:mb-6","p-3","gt-xs:p-4","border","border-neutral-700","rounded-md","bg-neutral-900/50"],[1,"flex","flex-wrap","items-center","gap-2","mb-3"],[1,"text-base","gt-xs:text-lg","font-semibold","text-neutral-100"],["role","group","aria-label","Id\u0151ablak",1,"flex","flex-wrap","gap-1","ml-auto"],["type","button",1,"px-2.5","py-1","text-xs","gt-xs:text-sm","border","rounded","transition-colors",3,"disabled","bg-neonCyan","text-neutral-900","border-neonCyan","text-neutral-300","border-neutral-600","hover:bg-neutral-700"],[1,"text-neutral-400","text-sm"],[1,"text-red-300","text-sm"],[1,"text-neutral-500","text-sm"],["type","button",1,"px-2.5","py-1","text-xs","gt-xs:text-sm","border","rounded","transition-colors",3,"click","disabled"],[1,"grid","grid-cols-2","md:grid-cols-4","gap-2","gt-xs:gap-3","mb-3"],[1,"p-2","gt-xs:p-3","bg-neutral-800/70","border","border-neutral-700","rounded"],[1,"text-2xl","gt-xs:text-3xl","font-bold","text-neonCyan"],[1,"text-xs","text-neutral-400"],[1,"text-2xl","gt-xs:text-3xl","font-bold","text-emerald-300"],[1,"text-2xl","gt-xs:text-3xl","font-bold","text-amber-300"],[1,"text-2xl","gt-xs:text-3xl","font-bold","text-neutral-300"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-2","gt-xs:gap-3"],[1,"text-sm","font-semibold","text-neutral-200","mb-1"],[1,"text-xs","text-neutral-500"],[1,"space-y-1"],[1,"mt-3"],[3,"buckets"],["type","button",1,"flex","items-center","w-full","text-left","px-2","py-1","rounded","text-xs","gt-xs:text-sm","text-neutral-200","hover:bg-neutral-800","disabled:opacity-60","disabled:cursor-default",3,"click","disabled"],[1,"font-mono","truncate"],[1,"ml-auto","text-neonCyan","font-bold"],["type","button",1,"flex","items-center","w-full","text-left","px-2","py-1","rounded","text-xs","gt-xs:text-sm","text-neutral-200","hover:bg-neutral-800",3,"click"]],template:function(e,r){if(e&1&&(a(0,"section",0)(1,"header",1)(2,"h2",2),s(3,"Statisztika"),i(),a(4,"div",3),$(5,vt,2,14,"button",4,tt),i()(),et(7),m(8,yt,2,0,"p",5)(9,$t,2,1,"p",6)(10,Bt,36,7)(11,Mt,2,0,"p",7),i()),e&2){l(5),k(r.rangeOptions),l(2);let o=nt(r.stats_$());l(),_(r.loading_$()&&!o?8:r.loadError_$()?9:o?10:11)}},dependencies:[L,ut],encapsulation:2})}return n})();var _t=xt(ft());var At=(n,c)=>c._id,Vt=(n,c)=>c.label,Rt=()=>[];function zt(n,c){if(n&1){let t=S();a(0,"div",16)(1,"span",17),s(2,"Sz\u0171r\u0151:"),i(),a(3,"span",18),s(4),i(),a(5,"button",19),C("click",function(){h(t);let r=u(2);return E(r.handleClearListFilter())}),s(6," T\xF6rl\xE9s "),i()()}if(n&2){let t=u();l(4),f(t)}}function jt(n,c){n&1&&m(0,zt,7,1,"div",16),n&2&&_(c.length>0?0:-1)}function Pt(n,c){if(n&1&&(a(0,"span",7),s(1),i()),n&2){let t=u();l(),g(" ",t.lastRefreshedAgo_$()," ")}}function Ot(n,c){if(n&1&&(a(0,"div",10)(1,"p",20),s(2,"A lista nem t\xF6lthet\u0151 be."),i(),D(3,"app-ccap-error-display",21),i()),n&2){let t,e=u();l(3),v("error",(t=e.errors_DS.errorsLoadErrorRaw_$())!==null&&t!==void 0?t:e.errors_DS.errorsLoadError_$())}}function Ut(n,c){n&1&&(a(0,"p",11),s(1,"Bet\xF6lt\xE9s\u2026"),i())}function Nt(n,c){n&1&&(a(0,"p",12),s(1,"Nincs r\xF6gz\xEDtett hiba."),i())}function Ht(n,c){n&1&&(a(0,"p",12),s(1," Csak STALE-BUILD bejegyz\xE9sek vannak (r\xE9gebbi server-build-ekb\u0151l, m\xE1r fixelt). Kapcsold ki a sz\u0171r\u0151t a megjelen\xEDt\xE9shez vagy haszn\xE1ld az "),a(2,"code",3),s(3,"errors-cleanup-stale.sh"),i(),s(4,"-t a takar\xEDt\xE1shoz. "),i())}function Wt(n,c){if(n&1){let t=S();a(0,"button",36),C("click",function(){h(t);let r=u().$implicit,o=u(2);return E(o.handlePmUserMark(r,!1))}),s(1," Jel\xF6l\xE9s t\xF6rl\xE9se "),i()}if(n&2){let t=u().$implicit,e=u(2);v("disabled",!t._id||e.pmUserMarkBusyErrorId_$()===t._id)}}function Gt(n,c){if(n&1){let t=S();a(0,"button",37),C("click",function(){h(t);let r=u().$implicit,o=u(2);return E(o.handlePmUserMark(r,!0))}),s(1," Megjel\xF6l\xE9s "),i()}if(n&2){let t=u().$implicit,e=u(2);v("disabled",!t._id||e.pmUserMarkBusyErrorId_$()===t._id)}}function Jt(n,c){n&1&&(a(0,"span",38),s(1," STALE "),i())}function Kt(n,c){n&1&&(a(0,"span",39),s(1," REGRESSION "),i())}function qt(n,c){if(n&1&&(a(0,"span",41),s(1),i()),n&2){let t=u(2).$implicit;l(),g(" \u2014 ",t.fixAnnotation.summary," ")}}function Xt(n,c){if(n&1&&(a(0,"div",30),m(1,Jt,2,0,"span",38)(2,Kt,2,0,"span",39),a(3,"span",40),s(4),i(),m(5,qt,2,1,"span",41),i()),n&2){let t=u().$implicit;l(),_(t.fixAnnotation.classification==="STALE-BUILD"?1:t.fixAnnotation.classification==="REGRESSION"?2:-1),l(3),G(" Fixed in ",t.fixAnnotation.fixedInVersion," (cycle ",t.fixAnnotation.fixedInCycle,") "),l(),_(t.fixAnnotation.summary?5:-1)}}function Qt(n,c){n&1&&(a(0,"span",33),s(1,"Megjel\xF6lve (PM)"),i())}function Yt(n,c){if(n&1&&(a(0,"span",34),s(1),i()),n&2){let t=u().$implicit;l(),g("\xB7 El\u0151fordul\xE1sok: ",t.occurrenceCount,"")}}function Zt(n,c){if(n&1&&(a(0,"span",34),s(1),i()),n&2){let t=u().$implicit;l(),g("\xB7 CCAP: ",t.ccapId,"")}}function te(n,c){if(n&1&&(a(0,"span",34),s(1),i()),n&2){let t=u().$implicit;l(),g("\xB7 Session: ",t.sessionId,"")}}function ee(n,c){if(n&1&&(a(0,"span",34),s(1),i()),n&2){let t=u().$implicit;l(),g("\xB7 Run: ",t.runId,"")}}function ne(n,c){if(n&1&&(a(0,"span",34),s(1),i()),n&2){let t,e=u().$implicit,r=u(2);l(),g("\xB7 ",r.errorContextLineMap_$()[(t=e._id)!==null&&t!==void 0?t:""],"")}}function re(n,c){if(n&1&&(a(0,"div",48),s(1),i(),a(2,"pre",49),s(3),i()),n&2){let t=u().$implicit;l(),f(t.label),l(2),f(t.value)}}function ie(n,c){if(n&1&&(a(0,"div",47)(1,"span",50),s(2),i(),a(3,"span",51),s(4),i()()),n&2){let t=u().$implicit;l(2),g("",t.label,":"),l(2),f(t.value)}}function oe(n,c){if(n&1&&(a(0,"div",46),m(1,re,4,2)(2,ie,5,2,"div",47),i()),n&2){let t=c.$implicit;l(),_(t.isMultiline?1:2)}}function ae(n,c){if(n&1&&(a(0,"div",45),$(1,oe,3,1,"div",46,Vt),i()),n&2){let t,e=u(2).$implicit,r=u(2);l(),k((t=r.contextDetailEntries_$()[(t=e._id)!==null&&t!==void 0?t:""])!==null&&t!==void 0?t:rt(0,Rt))}}function le(n,c){if(n&1){let t=S();a(0,"div",35)(1,"button",42),C("click",function(){let r;h(t);let o=u().$implicit,d=u(2);return E(d.toggleContextExpanded((r=o._id)!==null&&r!==void 0?r:""))}),B(),a(2,"svg",43),D(3,"polyline",44),i(),s(4),i(),m(5,ae,3,1,"div",45),i()}if(n&2){let t,e,r,o=u().$implicit,d=u(2);l(2),M("-rotate-90",!d.contextExpandedId_$()[(t=o._id)!==null&&t!==void 0?t:""]),l(2),g(" ",d.contextExpandedId_$()[(e=o._id)!==null&&e!==void 0?e:""]?"Kontextus r\xE9szletek elrejt\xE9se":"Kontextus r\xE9szletek"," "),l(),_(d.contextExpandedId_$()[(r=o._id)!==null&&r!==void 0?r:""]?5:-1)}}function se(n,c){if(n&1&&(a(0,"pre",52),s(1),i()),n&2){let t=u(2).$implicit;l(),f(t.stack)}}function de(n,c){if(n&1){let t=S();a(0,"div",35)(1,"button",42),C("click",function(){let r;h(t);let o=u().$implicit,d=u(2);return E(d.toggleExpanded((r=o._id)!==null&&r!==void 0?r:""))}),B(),a(2,"svg",43),D(3,"polyline",44),i(),s(4),i(),m(5,se,2,1,"pre",52),i()}if(n&2){let t,e,r,o=u().$implicit,d=u(2);l(2),M("-rotate-90",!d.expandedId_$()[(t=o._id)!==null&&t!==void 0?t:""]),l(2),g(" ",d.expandedId_$()[(e=o._id)!==null&&e!==void 0?e:""]?"Stack elrejt\xE9se":"Stack megjelen\xEDt\xE9se"," "),l(),_(d.expandedId_$()[(r=o._id)!==null&&r!==void 0?r:""]?5:-1)}}function ce(n,c){if(n&1){let t=S();a(0,"div",22)(1,"div",23)(2,"div",24),D(3,"app-s-copy-button",25),m(4,Wt,2,1,"button",26)(5,Gt,2,1,"button",27),a(6,"button",28),C("click",function(){let r,o=h(t).$implicit,d=u(2);return E(d.clearOne((r=o._id)!==null&&r!==void 0?r:""))}),s(7," T\xF6rl\xE9s "),i()(),a(8,"div",29),m(9,Xt,6,4,"div",30),a(10,"p",31),s(11),i(),a(12,"p",32),m(13,Qt,2,0,"span",33),a(14,"span",34),s(15),i(),m(16,Yt,2,1,"span",34),a(17,"span",34),s(18),it(19,"date"),i(),m(20,Zt,2,1,"span",34)(21,te,2,1,"span",34)(22,ee,2,1,"span",34)(23,ne,2,1,"span",34),i()()(),m(24,le,6,4,"div",35)(25,de,6,4,"div",35),i()}if(n&2){let t,e,r,o,d=c.$implicit,b=u(2);l(3),v("content",b.getErrorCopyText(d)),l(),_(d.pmUserMarkedAt!=null&&d.pmUserMarkedAt.trim()?4:5),l(2),v("disabled",!d._id),l(3),_(d.fixAnnotation&&d.fixAnnotation.classification!=="UNFIXED"?9:-1),l(2),f((t=d.message)!==null&&t!==void 0?t:"\u2013"),l(2),_(d.pmUserMarkedAt!=null&&d.pmUserMarkedAt.trim()?13:-1),l(2),g("Forr\xE1s: ",(e=d.source)!==null&&e!==void 0?e:"\u2013",""),l(),_(d.occurrenceCount!=null&&d.occurrenceCount>1?16:-1),l(2),g("\xB7 Utols\xF3: ",((r=d.lastOccurrenceAt)!==null&&r!==void 0?r:d.timestamp)?ot(19,15,(r=d.lastOccurrenceAt)!==null&&r!==void 0?r:d.timestamp,"short"):"\u2013",""),l(2),_(d.ccapId!=null&&d.ccapId.trim()?20:-1),l(),_(d.sessionId!=null&&d.sessionId.trim()?21:-1),l(),_(d.runId!=null&&d.runId.trim()?22:-1),l(),_(b.errorContextLineMap_$()[(o=d._id)!==null&&o!==void 0?o:""]?23:-1),l(),_(b.hasContextDetailText(d._id)?24:-1),l(),_(d.stack!=null&&d.stack.trim()?25:-1)}}function ue(n,c){if(n&1&&(a(0,"div",13),$(1,ce,26,18,"div",22,At),i()),n&2){let t=u();l(),k(t.visibleErrors_$())}}var pt=(()=>{class n{errors_DS=A(P);refreshTick_$=I(0);refreshTickInterval=null;lastRefreshedAgo_$=y(()=>{this.refreshTick_$();let t=this.errors_DS.lastRefreshedAt_$();if(!t)return"";let e=Date.now()-t.getTime(),r=Math.floor(e/1e3),o=Math.floor(r/60),d=Math.floor(o/60);return r<10?"most":r<60?`${r} mp`:o<60?`${o} perce`:`${d} \xF3r\xE1ja`});pmUserMarkBusyErrorId_$=I("");visibleErrors_$=y(()=>{let t=this.errors_DS.errors_$(),e=this.errors_DS.hideStaleBuild_$()?t.filter(o=>o.fixAnnotation?.classification!=="STALE-BUILD"):t,r=this.errors_DS.errorListFilter_$().toLowerCase();return r.length===0?e:e.filter(o=>{let d=(o.errorCode??"").toLowerCase(),b=(o.source??"").toLowerCase();return d.includes(r)||b.includes(r)})});handleFilterByErrorCode(t){this.errors_DS.setListFilter(t)}handleFilterBySource(t){this.errors_DS.setListFilter(t)}handleClearListFilter(){this.errors_DS.clearListFilter()}visibleVsTotalLabel_$=y(()=>{let t=this.errors_DS.errors_$().length,e=this.visibleErrors_$().length;return e===t?`${t}`:`${e} / ${t}`});expandedId_$=I({});contextExpandedId_$=I({});errorContextLineMap_$=y(()=>{let t=this.errors_DS.errors_$(),e={};for(let r of t){let o=r._id??"";e[o]=n.buildRouteUrlLine(r.surroundingState)}return e});contextDetailTextMap_$=y(()=>{let t=this.errors_DS.errors_$(),e={};for(let r of t){let o=r._id??"";e[o]=n.buildSurroundingStateExtraDetail(r.surroundingState)}return e});contextDetailEntries_$=y(()=>{let t=this.errors_DS.errors_$(),e={};for(let r of t){let o=r._id??"";e[o]=n.buildContextDetailEntries(r.surroundingState)}return e});ngOnInit(){this.errors_DS.loadErrors(),this.refreshTickInterval=setInterval(()=>{this.refreshTick_$.update(t=>t+1)},10*_t.second)}ngOnDestroy(){this.refreshTickInterval&&clearInterval(this.refreshTickInterval)}refresh(){this.errors_DS.loadErrors()}clearAll(){this.errors_DS.clearAll()}clearOne(t){this.errors_DS.clearOne(t)}handlePmUserMark(t,e){let r=t._id??"";!r.length||this.pmUserMarkBusyErrorId_$()===r||(this.pmUserMarkBusyErrorId_$.set(r),this.errors_DS.setPmUserMark(r,e).finally(()=>{this.pmUserMarkBusyErrorId_$.set("")}))}isExpanded(t){return this.expandedId_$()[t]===!0}getErrorId(t){return t._id??""}static buildRouteUrlLine(t){if(!t||typeof t!="object")return"";let e=t.route,r=t.url,o=typeof e=="string"&&e.trim().length>0?e.trim():"",d=typeof r=="string"&&r.trim().length>0?r.trim():"";return o&&d?`Route: ${o} \xB7 URL: ${d}`:o?`Route: ${o}`:d?`URL: ${d}`:""}static buildContextLine(t){let e=[];t.ccapId?.trim()&&e.push(`CCAP: ${t.ccapId.trim()}`),t.sessionId?.trim()&&e.push(`Session: ${t.sessionId.trim()}`),t.runId?.trim()&&e.push(`Run: ${t.runId.trim()}`);let r=n.buildRouteUrlLine(t.surroundingState);return r.length>0&&e.push(r),e.join(" \xB7 ")}static buildSurroundingStateExtraDetail(t){let e=n.flattenSurroundingStateForDisplay(t);if(Object.keys(e).length===0)return"";let r=[],o=(x,p)=>{typeof p=="string"&&p.trim().length>0&&r.push(`${x}: ${p.trim()}`)};o("userMessage",e.userMessage),o("sessionId (surroundingState)",e.sessionId),o("runId (surroundingState)",e.runId),o("nodeVersion",e.nodeVersion),o("platform",e.platform),o("timestamp",e.timestamp),o("userAgent",e.userAgent);let d=e.additionalContext;if(z.isRecord(d))try{let x=JSON.stringify(d,null,2);r.push(`additionalContext:
2
2
  ${x}`)}catch{r.push("additionalContext: [not serializable]")}let b=new Set(["userMessage","sessionId","runId","nodeVersion","platform","timestamp","userAgent","additionalContext","route","url"]),T=Object.keys(e).filter(x=>!b.has(x));T.sort();for(let x of T){let p=e[x];if(p!=null){if(typeof p=="string"||typeof p=="number"||typeof p=="boolean"){r.push(`${x}: ${String(p)}`);continue}try{r.push(`${x}:
3
3
  ${JSON.stringify(p,null,2)}`)}catch{r.push(`${x}: [not serializable]`)}}}return r.join(`
4
4
  `)}static buildContextDetailEntries(t){let e=n.flattenSurroundingStateForDisplay(t);if(Object.keys(e).length===0)return[];let r=[],o=(x,p)=>{typeof p=="string"&&p.trim().length>0&&r.push({label:x,value:p.trim(),isMultiline:!1})};o("sessionId (surroundingState)",e.sessionId),o("runId (surroundingState)",e.runId),o("nodeVersion",e.nodeVersion),o("platform",e.platform),o("timestamp",e.timestamp),o("userMessage",e.userMessage),o("userAgent",e.userAgent);let d=e.additionalContext;if(z.isRecord(d)){let x=n.formatObjectDeep(d);r.push({label:"additionalContext",value:x,isMultiline:!0})}let b=new Set(["userMessage","sessionId","runId","nodeVersion","platform","timestamp","userAgent","additionalContext","route","url"]),T=Object.keys(e).filter(x=>!b.has(x));T.sort();for(let x of T){let p=e[x];if(p!=null){if(typeof p=="string"||typeof p=="number"||typeof p=="boolean"){r.push({label:x,value:String(p),isMultiline:!1});continue}try{let mt=JSON.stringify(p,null,2);r.push({label:x,value:mt,isMultiline:!0})}catch{r.push({label:x,value:"[not serializable]",isMultiline:!1})}}}return r}static formatObjectDeep(t){let e={};for(let r of Object.keys(t))e[r]=n.tryParseJsonString(t[r]);return JSON.stringify(e,null,2)}static tryParseJsonString(t){if(typeof t!="string")return t;let e=t.trim();if(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]"))try{return JSON.parse(e)}catch{return t}return t}static flattenSurroundingStateForDisplay(t){if(!t||typeof t!="object")return{};let e=t.surroundingState;if(z.isRecord(e)){let r=t,{surroundingState:o}=r,d=q(r,["surroundingState"]);return F(F({},d),e)}return F({},t)}toggleExpanded(t){this.expandedId_$.update(e=>N(F({},e),{[t]:!e[t]}))}toggleContextExpanded(t){this.contextExpandedId_$.update(e=>N(F({},e),{[t]:!e[t]}))}hasContextDetailText(t){return t?this.contextDetailEntries_$()[t]?.length?!0:this.contextDetailTextMap_$()[t]?.trim().length>0:!1}getErrorCopyText(t){let e=[];t.message?.trim()&&e.push(t.message.trim());let r=[];t.source?.trim()&&r.push(`Forr\xE1s: ${t.source.trim()}`),t.occurrenceCount!=null&&t.occurrenceCount>1&&r.push(`El\u0151fordul\xE1sok: ${t.occurrenceCount}`);let o=t.lastOccurrenceAt??t.timestamp,d=o?(()=>{try{return new Date(o).toLocaleString(void 0,{dateStyle:"short",timeStyle:"short"})}catch{return o}})():"\u2013";d!=="\u2013"&&r.push(`Utols\xF3: ${d}`),r.length>0&&e.push(r.join(" \xB7 "));let b=n.buildContextLine(t);b.trim().length>0&&(e.push(""),e.push(b));let T=n.buildSurroundingStateExtraDetail(t.surroundingState);return T.trim().length>0&&(e.push(""),e.push("Kontextus r\xE9szletek:"),e.push(T.trim())),t.stack?.trim()&&(e.push(""),e.push("Stack:"),e.push(t.stack.trim())),e.join(`
5
5
  `)}getErrorContextLine(t){return n.buildContextLine(t)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=w({type:n,selectors:[["app-ccap-errors"]],decls:26,vars:19,consts:[[1,"max-w-4xl","mx-auto","p-3","gt-xs:p-6","text-neutral-100"],[1,"text-xl","gt-xs:text-2xl","font-bold","mb-4","gt-xs:mb-6"],[1,"text-neutral-400","text-sm","gt-xs:text-base","mb-4","gt-xs:mb-6"],[1,"bg-neutral-800","px-1","rounded"],[3,"filterByErrorCode","filterBySource"],[1,"flex","flex-wrap","gap-1.5","gt-xs:gap-2","items-center","mb-3","gt-xs:mb-4"],["type","button",1,"px-3","py-1.5","gt-xs:px-4","gt-xs:py-2","text-sm","gt-xs:text-base","border","border-neonCyan","rounded","text-neutral-300","hover:bg-neutral-700","disabled:opacity-50","transition-colors",3,"click","disabled"],[1,"text-neutral-500","text-xs","gt-xs:text-sm"],["type","button",1,"px-3","py-1.5","gt-xs:px-4","gt-xs:py-2","text-sm","gt-xs:text-base","bg-red-900/60","border","border-red-500/70","rounded","text-red-200","hover:bg-red-900/80","disabled:opacity-50","transition-colors",3,"click","disabled"],["type","button","title","R\xE9gebbi server-build-ekb\u0151l sz\xE1rmaz\xF3, m\xE1r fixelt errorok elrejt\xE9se (cycle 780 fix-annotation registry)",1,"ml-auto","px-3","py-1.5","gt-xs:px-4","gt-xs:py-2","text-sm","gt-xs:text-base","border","rounded","transition-colors",3,"click"],[1,"mb-4"],[1,"text-neutral-400"],[1,"text-neutral-500"],[1,"space-y-2","gt-xs:space-y-3"],[1,"pt-4","gt-xs:pt-6"],["routerLink","/",1,"inline-flex","px-3","py-1.5","gt-xs:px-4","gt-xs:py-2","text-sm","gt-xs:text-base","border","border-neonCyan","rounded","text-neutral-300","hover:bg-neutral-700"],[1,"flex","items-center","gap-2","mb-3","px-3","py-2","bg-neutral-800/60","border","border-neonCyan/50","rounded"],[1,"text-xs","text-neutral-400"],[1,"font-mono","text-sm","text-neonCyan"],["type","button",1,"ml-auto","px-2","py-0.5","text-xs","border","border-neutral-600","rounded","text-neutral-300","hover:bg-neutral-700",3,"click"],[1,"text-neutral-300","mb-3"],[3,"error"],[1,"p-2.5","gt-xs:p-4","bg-neutral-800/50","border","border-neonDefault","rounded-lg"],[1,"min-w-0","flex","flex-col","gap-2","gt-xs:flex-row","gt-xs:items-start","gt-xs:justify-between","gt-xs:gap-2"],[1,"flex","items-center","gap-1.5","gt-xs:gap-2","flex-wrap","justify-end","gt-xs:justify-end","order-1","gt-xs:order-2","shrink-0","w-full","gt-xs:w-auto"],[3,"content"],["type","button",1,"px-2","py-1","gt-xs:px-3","gt-xs:py-1.5","text-amber-300","hover:bg-amber-900/25","rounded","border","border-amber-600/50","text-xs","gt-xs:text-sm","disabled:opacity-50","transition-colors","shrink-0",3,"disabled"],["type","button",1,"px-2","py-1","gt-xs:px-3","gt-xs:py-1.5","text-neutral-300","hover:bg-neutral-700/50","rounded","border","border-neutral-600","text-xs","gt-xs:text-sm","disabled:opacity-50","transition-colors","shrink-0",3,"disabled"],["type","button",1,"px-2","py-1","gt-xs:px-3","gt-xs:py-1.5","text-red-400","hover:bg-red-900/30","rounded","text-xs","gt-xs:text-sm","disabled:opacity-50","transition-colors","shrink-0",3,"click","disabled"],[1,"min-w-0","flex-1","order-2","gt-xs:order-1","w-full","gt-xs:w-auto"],[1,"mb-1","gt-xs:mb-1.5","flex","flex-wrap","items-center","gap-1.5"],[1,"font-medium","text-neutral-200","text-sm","gt-xs:text-base","break-words"],[1,"text-neutral-500","text-[11px]","gt-xs:text-sm","mt-1.5","gt-xs:mt-1","flex","flex-wrap","gap-x-2","gap-y-1"],[1,"break-words","text-amber-400/90","font-medium"],[1,"break-words"],[1,"mt-1.5","gt-xs:mt-2"],["type","button",1,"px-2","py-1","gt-xs:px-3","gt-xs:py-1.5","text-amber-300","hover:bg-amber-900/25","rounded","border","border-amber-600/50","text-xs","gt-xs:text-sm","disabled:opacity-50","transition-colors","shrink-0",3,"click","disabled"],["type","button",1,"px-2","py-1","gt-xs:px-3","gt-xs:py-1.5","text-neutral-300","hover:bg-neutral-700/50","rounded","border","border-neutral-600","text-xs","gt-xs:text-sm","disabled:opacity-50","transition-colors","shrink-0",3,"click","disabled"],["title","R\xE9gebbi server-build, m\xE1r fixelt \u2014 biztons\xE1gosan mark-done-olhat\xF3.",1,"px-1.5","py-0.5","text-[10px]","gt-xs:text-xs","font-mono","uppercase","tracking-wider","bg-emerald-900/60","border","border-emerald-600","rounded","text-emerald-200"],["title","A fix ut\xE1n \xFAjra el\u0151fordult \u2014 val\xF3di regresszi\xF3, vissza implementre.",1,"px-1.5","py-0.5","text-[10px]","gt-xs:text-xs","font-mono","uppercase","tracking-wider","bg-red-900/60","border","border-red-600","rounded","text-red-200"],[1,"text-[11px]","gt-xs:text-xs","text-neutral-400","font-mono"],[1,"text-[11px]","gt-xs:text-xs","text-neutral-500","italic","break-words"],["type","button",1,"text-neutral-400","hover:text-neutral-200","text-xs","gt-xs:text-sm","flex","items-center","gap-1",3,"click"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"w-3","h-3","shrink-0","transition-transform","duration-150"],["points","6 9 12 15 18 9"],[1,"mt-1.5","p-2","gt-xs:p-3","bg-neutral-900","rounded","max-h-[70vh]","overflow-y-auto","space-y-1.5","gt-xs:space-y-2"],[1,"text-xs"],[1,"flex","flex-wrap","gap-x-1.5"],[1,"text-neutral-500","font-medium","mb-0.5"],[1,"p-1.5","gt-xs:p-2","bg-neutral-950/60","rounded","text-neutral-300","font-mono","whitespace-pre-wrap","break-words","overflow-x-auto"],[1,"text-neutral-500","font-medium","shrink-0"],[1,"text-neutral-300","break-all","font-mono"],[1,"mt-1","p-1.5","gt-xs:p-2","bg-neutral-900","rounded","text-xs","text-neutral-300","font-mono","whitespace-pre-wrap","break-words","overflow-x-auto","max-h-[70vh]","overflow-y-auto"]],template:function(e,r){if(e&1&&(a(0,"div",0)(1,"h1",1),s(2,"Hib\xE1k"),i(),a(3,"p",2),s(4," A rendszerben r\xF6gz\xEDtett hib\xE1k list\xE1ja (szerver \xE9s kliens). Sorrend: legfel\xFCl a legfrissebb utols\xF3 el\u0151fordul\xE1s ("),a(5,"code",3),s(6,"lastOccurrenceAt"),i(),s(7," / els\u0151 r\xF6gz\xEDt\xE9s ideje). Azonos hiba t\xF6bbsz\xF6ri el\u0151fordul\xE1sa egy sorban jelenik meg (el\u0151fordul\xE1sok sz\xE1ma). T\xF6r\xF6lheted egyenk\xE9nt vagy mindegyiket egyszerre. "),i(),a(8,"app-ccap-errors-stats-panel",4),C("filterByErrorCode",function(d){return r.handleFilterByErrorCode(d)})("filterBySource",function(d){return r.handleFilterBySource(d)}),i(),m(9,jt,1,1),a(10,"div",5)(11,"button",6),C("click",function(){return r.refresh()}),s(12),i(),m(13,Pt,2,1,"span",7),a(14,"button",8),C("click",function(){return r.clearAll()}),s(15," \xD6sszes t\xF6rl\xE9se "),i(),a(16,"button",9),C("click",function(){return r.errors_DS.hideStaleBuild_$.set(!r.errors_DS.hideStaleBuild_$())}),s(17),i()(),m(18,Ot,4,1,"div",10)(19,Ut,2,0,"p",11)(20,Nt,2,0,"p",12)(21,Ht,5,0,"p",12)(22,ue,3,0,"div",13),a(23,"div",14)(24,"a",15),s(25," Vissza "),i()()()),e&2){let o;l(9),_((o=r.errors_DS.errorListFilter_$())?9:-1,o),l(2),v("disabled",r.errors_DS.errorsLoading_$()),l(),g(" ",r.errors_DS.errorsLoading_$()?"Bet\xF6lt\xE9s\u2026":"Friss\xEDt\xE9s"," "),l(),_(r.lastRefreshedAgo_$()?13:-1),l(),v("disabled",r.errors_DS.errorsLoading_$()||r.errors_DS.errors_$().length===0),l(2),M("bg-emerald-900",r.errors_DS.hideStaleBuild_$())("border-emerald-500",r.errors_DS.hideStaleBuild_$())("text-emerald-200",r.errors_DS.hideStaleBuild_$())("border-neutral-600",!r.errors_DS.hideStaleBuild_$())("text-neutral-300",!r.errors_DS.hideStaleBuild_$()),l(),G(" ",r.errors_DS.hideStaleBuild_$()?"\u2713 STALE elrejtve":"STALE mutat\xE1sa"," (",r.visibleVsTotalLabel_$(),") "),l(),_(r.errors_DS.errorsLoadError_$()?18:-1),l(),_(r.errors_DS.errorsLoading_$()&&r.errors_DS.errors_$().length===0?19:r.errors_DS.errors_$().length===0&&!r.errors_DS.errorsLoadError_$()?20:r.visibleErrors_$().length===0&&r.errors_DS.hideStaleBuild_$()?21:r.errors_DS.errors_$().length>0?22:-1)}},dependencies:[lt,j,O,U,at],encapsulation:2})}return n})();var _e=[{path:"",pathMatch:"full",component:pt}],je=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Q({type:n});static \u0275inj=X({imports:[L,st.forChild(_e),j,O,U]})}return n})();export{je as Errors_Module};
6
- //# sourceMappingURL=err.module-QCEQ4XHL.js.map
6
+ //# sourceMappingURL=err.module-M4E27OWR.js.map
@@ -1,2 +1,2 @@
1
- import{a as z}from"./chunk-ZOJX6LQ2.js";import{a as x}from"./chunk-WPHEQXWB.js";import{k}from"./chunk-XN7YOYCH.js";import"./chunk-5UPNU54P.js";import"./chunk-QEMMWIWJ.js";import"./chunk-5AVCLDUF.js";import{$a as w,C as v,D as y,E as g,Fa as r,Ga as F,Ha as _,Hb as B,J as E,K as D,Kb as P,Z as i,bb as L,da as b,ga as m,ia as f,ja as T,la as u,oa as h,pa as $,pb as M,qa as o,ra as a,sa as C,ua as I,ub as A,va as s,wa as p,z as S}from"./chunk-TBMJSIBB.js";var V=(e,d)=>d._id;function N(e,d){if(e&1&&C(0,"app-ccap-error-display",8),e&2){let n=p();m("error",n.feedback_DS.feedbackLoadError_$())}}function R(e,d){e&1&&(o(0,"p",9),r(1,"Bet\xF6lt\xE9s\u2026"),a())}function Y(e,d){e&1&&(o(0,"p",10),r(1,"Nincs r\xF6gz\xEDtett feedback."),a())}function K(e,d){if(e&1&&(o(0,"p",19),r(1),a()),e&2){let n=p().$implicit;i(),F(n.description)}}function G(e,d){if(e&1&&(o(0,"span"),r(1),a()),e&2){let n=p().$implicit;i(),_("Tool: ",n.toolId,"")}}function H(e,d){if(e&1&&(o(0,"span"),r(1),a()),e&2){let n=p().$implicit;T(n.toolId!=null&&n.toolId.trim()?"ml-2":""),i(),_("Session: ",n.sessionId,"")}}function J(e,d){if(e&1){let n=I();o(0,"div",14)(1,"div",15)(2,"div",16)(3,"p",17),r(4),a(),C(5,"app-s-status-badge",18),b(6,K,2,1,"p",19),o(7,"p",20),b(8,G,2,1,"span")(9,H,2,4,"span",21),o(10,"span",22),r(11),w(12,"date"),a()()(),o(13,"div",23)(14,"button",24),s("click",function(){let t,c=E(n).$implicit,j=p(2);return D(j.clearOne((t=c._id)!==null&&t!==void 0?t:""))}),r(15," T\xF6rl\xE9s "),a()()()()}if(e&2){let n,l,t=d.$implicit,c=p(2);i(4),F((n=t.title)!==null&&n!==void 0?n:"\u2013"),i(),m("value",c.TYPE_LABELS[(l=t.type)!==null&&l!==void 0?l:""])("colorMap",c.feedbackTypeColorMap),i(),u(t.description!=null&&t.description.trim()?6:-1),i(2),u(t.toolId!=null&&t.toolId.trim()?8:-1),i(),u(t.sessionId!=null&&t.sessionId.trim()?9:-1),i(2),_("\xB7 ",t.timestamp?L(12,8,t.timestamp,"short"):"\u2013",""),i(3),m("disabled",!t._id)}}function Q(e,d){if(e&1&&(o(0,"div",11),h(1,J,16,11,"div",14,V),a()),e&2){let n=p();i(),$(n.feedback_DS.feedback_$())}}var U={"bug-report":"Bug report","feature-request":"Feature request"},q=(()=>{class e{feedback_DS=v(z);ngOnInit(){this.feedback_DS.loadFeedback()}refresh(){this.feedback_DS.loadFeedback()}clearAll(){this.feedback_DS.clearAll()}clearOne(n){this.feedback_DS.clearOne(n)}setFilter(n){this.feedback_DS.setFilterType(n)}getFeedbackId(n){return n._id??""}TYPE_LABELS=U;feedbackTypeColorMap={"bug report":"bg-red-900/40 text-red-200","feature request":"bg-cyan-900/40 text-cyan-200"};static \u0275fac=function(l){return new(l||e)};static \u0275cmp=y({type:e,selectors:[["app-ccap-feedback"]],decls:25,vars:11,consts:[[1,"max-w-4xl","mx-auto","p-4","gt-xs:p-6","text-neutral-100"],[1,"text-2xl","font-bold","mb-6"],[1,"text-neutral-400","mb-6"],[1,"flex","flex-wrap","gap-2","items-center","mb-4"],["type","button",1,"px-4","py-2","border","border-neonCyan","rounded","text-neutral-300","hover:bg-neutral-700","disabled:opacity-50","transition-colors",3,"click","disabled"],["type","button",1,"px-4","py-2","bg-red-900/60","border","border-red-500/70","rounded","text-red-200","hover:bg-red-900/80","disabled:opacity-50","transition-colors",3,"click","disabled"],[1,"text-neutral-500","text-sm","ml-2"],["type","button",1,"px-3","py-1.5","border","border-neutral-600","rounded","text-neutral-300","hover:bg-neutral-700","transition-colors","text-sm",3,"click"],["sourceLabelOverride","Feedback lista",1,"mb-4","block","max-w-3xl",3,"error"],[1,"text-neutral-400"],[1,"text-neutral-500"],[1,"space-y-3"],[1,"pt-6"],["routerLink","/",1,"px-4","py-2","border","border-neonCyan","rounded","text-neutral-300","hover:bg-neutral-700"],[1,"p-4","bg-neutral-800/50","border","border-neonDefault","rounded-lg"],[1,"flex","flex-wrap","gap-2","items-start","justify-between"],[1,"min-w-0","flex-1"],[1,"font-medium","text-neutral-200","break-words"],["size","sm",3,"value","colorMap"],[1,"text-neutral-400","text-sm","mt-2","whitespace-pre-wrap","break-words"],[1,"text-neutral-500","text-sm","mt-2"],[3,"class"],[1,"ml-2"],[1,"flex","items-center","gap-2","shrink-0"],["type","button",1,"px-3","py-1.5","text-red-400","hover:bg-red-900/30","rounded","text-sm","disabled:opacity-50","transition-colors",3,"click","disabled"]],template:function(l,t){l&1&&(o(0,"div",0)(1,"h1",1),r(2,"Agent feedback"),a(),o(3,"p",2),r(4," Az agent \xE1ltal bek\xFCld\xF6tt bug report-ok \xE9s feature request-ek list\xE1ja (saj\xE1t m\u0171k\xF6d\xE9s \xE9s tool-ok kapcs\xE1n). T\xF6r\xF6lheted egyenk\xE9nt vagy mindegyiket egyszerre. "),a(),o(5,"div",3)(6,"button",4),s("click",function(){return t.refresh()}),r(7),a(),o(8,"button",5),s("click",function(){return t.clearAll()}),r(9," \xD6sszes t\xF6rl\xE9se "),a(),o(10,"span",6),r(11,"Sz\u0171r\u0151:"),a(),o(12,"button",7),s("click",function(){return t.setFilter(void 0)}),r(13," \xD6sszes "),a(),o(14,"button",7),s("click",function(){return t.setFilter("bug-report")}),r(15," Bug report "),a(),o(16,"button",7),s("click",function(){return t.setFilter("feature-request")}),r(17," Feature request "),a()(),b(18,N,1,1,"app-ccap-error-display",8)(19,R,2,0,"p",9)(20,Y,2,0,"p",10)(21,Q,3,0,"div",11),o(22,"div",12)(23,"a",13),r(24," Vissza "),a()()()),l&2&&(i(6),m("disabled",t.feedback_DS.feedbackLoading_$()),i(),_(" ",t.feedback_DS.feedbackLoading_$()?"Bet\xF6lt\xE9s\u2026":"Friss\xEDt\xE9s"," "),i(),m("disabled",t.feedback_DS.feedbackLoading_$()||t.feedback_DS.feedback_$().length===0),i(4),f("border-neonCyan",t.feedback_DS.filterType_$()===void 0),i(2),f("border-neonCyan",t.feedback_DS.filterType_$()==="bug-report"),i(2),f("border-neonCyan",t.feedback_DS.filterType_$()==="feature-request"),i(2),u(t.feedback_DS.feedbackLoadError_$()?18:-1),i(),u(t.feedback_DS.feedbackLoading_$()&&t.feedback_DS.feedback_$().length===0?19:t.feedback_DS.feedback_$().length===0?20:21))},dependencies:[B,k,x,M],encapsulation:2})}return e})();var W=[{path:"",pathMatch:"full",component:q}],se=(()=>{class e{static \u0275fac=function(l){return new(l||e)};static \u0275mod=g({type:e});static \u0275inj=S({imports:[A,P.forChild(W),k,x]})}return e})();export{se as Feedback_Module};
2
- //# sourceMappingURL=feedback.module-7OY7EZAS.js.map
1
+ import{a as z}from"./chunk-I5DLHGUT.js";import{a as x}from"./chunk-WPHEQXWB.js";import{k}from"./chunk-IN2UAFFX.js";import"./chunk-5UPNU54P.js";import"./chunk-WHJDIPTM.js";import"./chunk-GLY7XIEO.js";import{$a as w,C as v,D as y,E as g,Fa as r,Ga as F,Ha as _,Hb as B,J as E,K as D,Kb as P,Z as i,bb as L,da as b,ga as m,ia as f,ja as T,la as u,oa as h,pa as $,pb as M,qa as o,ra as a,sa as C,ua as I,ub as A,va as s,wa as p,z as S}from"./chunk-TBMJSIBB.js";var V=(e,d)=>d._id;function N(e,d){if(e&1&&C(0,"app-ccap-error-display",8),e&2){let n=p();m("error",n.feedback_DS.feedbackLoadError_$())}}function R(e,d){e&1&&(o(0,"p",9),r(1,"Bet\xF6lt\xE9s\u2026"),a())}function Y(e,d){e&1&&(o(0,"p",10),r(1,"Nincs r\xF6gz\xEDtett feedback."),a())}function K(e,d){if(e&1&&(o(0,"p",19),r(1),a()),e&2){let n=p().$implicit;i(),F(n.description)}}function G(e,d){if(e&1&&(o(0,"span"),r(1),a()),e&2){let n=p().$implicit;i(),_("Tool: ",n.toolId,"")}}function H(e,d){if(e&1&&(o(0,"span"),r(1),a()),e&2){let n=p().$implicit;T(n.toolId!=null&&n.toolId.trim()?"ml-2":""),i(),_("Session: ",n.sessionId,"")}}function J(e,d){if(e&1){let n=I();o(0,"div",14)(1,"div",15)(2,"div",16)(3,"p",17),r(4),a(),C(5,"app-s-status-badge",18),b(6,K,2,1,"p",19),o(7,"p",20),b(8,G,2,1,"span")(9,H,2,4,"span",21),o(10,"span",22),r(11),w(12,"date"),a()()(),o(13,"div",23)(14,"button",24),s("click",function(){let t,c=E(n).$implicit,j=p(2);return D(j.clearOne((t=c._id)!==null&&t!==void 0?t:""))}),r(15," T\xF6rl\xE9s "),a()()()()}if(e&2){let n,l,t=d.$implicit,c=p(2);i(4),F((n=t.title)!==null&&n!==void 0?n:"\u2013"),i(),m("value",c.TYPE_LABELS[(l=t.type)!==null&&l!==void 0?l:""])("colorMap",c.feedbackTypeColorMap),i(),u(t.description!=null&&t.description.trim()?6:-1),i(2),u(t.toolId!=null&&t.toolId.trim()?8:-1),i(),u(t.sessionId!=null&&t.sessionId.trim()?9:-1),i(2),_("\xB7 ",t.timestamp?L(12,8,t.timestamp,"short"):"\u2013",""),i(3),m("disabled",!t._id)}}function Q(e,d){if(e&1&&(o(0,"div",11),h(1,J,16,11,"div",14,V),a()),e&2){let n=p();i(),$(n.feedback_DS.feedback_$())}}var U={"bug-report":"Bug report","feature-request":"Feature request"},q=(()=>{class e{feedback_DS=v(z);ngOnInit(){this.feedback_DS.loadFeedback()}refresh(){this.feedback_DS.loadFeedback()}clearAll(){this.feedback_DS.clearAll()}clearOne(n){this.feedback_DS.clearOne(n)}setFilter(n){this.feedback_DS.setFilterType(n)}getFeedbackId(n){return n._id??""}TYPE_LABELS=U;feedbackTypeColorMap={"bug report":"bg-red-900/40 text-red-200","feature request":"bg-cyan-900/40 text-cyan-200"};static \u0275fac=function(l){return new(l||e)};static \u0275cmp=y({type:e,selectors:[["app-ccap-feedback"]],decls:25,vars:11,consts:[[1,"max-w-4xl","mx-auto","p-4","gt-xs:p-6","text-neutral-100"],[1,"text-2xl","font-bold","mb-6"],[1,"text-neutral-400","mb-6"],[1,"flex","flex-wrap","gap-2","items-center","mb-4"],["type","button",1,"px-4","py-2","border","border-neonCyan","rounded","text-neutral-300","hover:bg-neutral-700","disabled:opacity-50","transition-colors",3,"click","disabled"],["type","button",1,"px-4","py-2","bg-red-900/60","border","border-red-500/70","rounded","text-red-200","hover:bg-red-900/80","disabled:opacity-50","transition-colors",3,"click","disabled"],[1,"text-neutral-500","text-sm","ml-2"],["type","button",1,"px-3","py-1.5","border","border-neutral-600","rounded","text-neutral-300","hover:bg-neutral-700","transition-colors","text-sm",3,"click"],["sourceLabelOverride","Feedback lista",1,"mb-4","block","max-w-3xl",3,"error"],[1,"text-neutral-400"],[1,"text-neutral-500"],[1,"space-y-3"],[1,"pt-6"],["routerLink","/",1,"px-4","py-2","border","border-neonCyan","rounded","text-neutral-300","hover:bg-neutral-700"],[1,"p-4","bg-neutral-800/50","border","border-neonDefault","rounded-lg"],[1,"flex","flex-wrap","gap-2","items-start","justify-between"],[1,"min-w-0","flex-1"],[1,"font-medium","text-neutral-200","break-words"],["size","sm",3,"value","colorMap"],[1,"text-neutral-400","text-sm","mt-2","whitespace-pre-wrap","break-words"],[1,"text-neutral-500","text-sm","mt-2"],[3,"class"],[1,"ml-2"],[1,"flex","items-center","gap-2","shrink-0"],["type","button",1,"px-3","py-1.5","text-red-400","hover:bg-red-900/30","rounded","text-sm","disabled:opacity-50","transition-colors",3,"click","disabled"]],template:function(l,t){l&1&&(o(0,"div",0)(1,"h1",1),r(2,"Agent feedback"),a(),o(3,"p",2),r(4," Az agent \xE1ltal bek\xFCld\xF6tt bug report-ok \xE9s feature request-ek list\xE1ja (saj\xE1t m\u0171k\xF6d\xE9s \xE9s tool-ok kapcs\xE1n). T\xF6r\xF6lheted egyenk\xE9nt vagy mindegyiket egyszerre. "),a(),o(5,"div",3)(6,"button",4),s("click",function(){return t.refresh()}),r(7),a(),o(8,"button",5),s("click",function(){return t.clearAll()}),r(9," \xD6sszes t\xF6rl\xE9se "),a(),o(10,"span",6),r(11,"Sz\u0171r\u0151:"),a(),o(12,"button",7),s("click",function(){return t.setFilter(void 0)}),r(13," \xD6sszes "),a(),o(14,"button",7),s("click",function(){return t.setFilter("bug-report")}),r(15," Bug report "),a(),o(16,"button",7),s("click",function(){return t.setFilter("feature-request")}),r(17," Feature request "),a()(),b(18,N,1,1,"app-ccap-error-display",8)(19,R,2,0,"p",9)(20,Y,2,0,"p",10)(21,Q,3,0,"div",11),o(22,"div",12)(23,"a",13),r(24," Vissza "),a()()()),l&2&&(i(6),m("disabled",t.feedback_DS.feedbackLoading_$()),i(),_(" ",t.feedback_DS.feedbackLoading_$()?"Bet\xF6lt\xE9s\u2026":"Friss\xEDt\xE9s"," "),i(),m("disabled",t.feedback_DS.feedbackLoading_$()||t.feedback_DS.feedback_$().length===0),i(4),f("border-neonCyan",t.feedback_DS.filterType_$()===void 0),i(2),f("border-neonCyan",t.feedback_DS.filterType_$()==="bug-report"),i(2),f("border-neonCyan",t.feedback_DS.filterType_$()==="feature-request"),i(2),u(t.feedback_DS.feedbackLoadError_$()?18:-1),i(),u(t.feedback_DS.feedbackLoading_$()&&t.feedback_DS.feedback_$().length===0?19:t.feedback_DS.feedback_$().length===0?20:21))},dependencies:[B,k,x,M],encapsulation:2})}return e})();var W=[{path:"",pathMatch:"full",component:q}],se=(()=>{class e{static \u0275fac=function(l){return new(l||e)};static \u0275mod=g({type:e});static \u0275inj=S({imports:[A,P.forChild(W),k,x]})}return e})();export{se as Feedback_Module};
2
+ //# sourceMappingURL=feedback.module-E7FYACM4.js.map
@@ -1,2 +1,2 @@
1
- import{j as J}from"./chunk-QEMMWIWJ.js";import{I as N}from"./chunk-5AVCLDUF.js";import{C as d,D as w,E as k,Fa as o,Ga as _,Ha as f,J as g,K as v,Kb as V,L as H,Z as a,a as h,aa as u,da as p,ga as I,hb as M,ia as P,k as E,la as m,oa as j,p as R,pa as F,qa as r,ra as i,sa as D,ua as S,ub as A,va as b,wa as c,xb as z,y as C,z as T}from"./chunk-TBMJSIBB.js";var O=(()=>{class t{baseUrl=`${N.api.baseUrl}/ccap-host-runtime-mcp`;http=d(z);postProbeTools(){return R(this.http.post(`${this.baseUrl}/probe-tools`,{}))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var U=(()=>{class t{hostRuntimeMcp_AS=d(O);postProbeTools(){return this.hostRuntimeMcp_AS.postProbeTools()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var G=(t,l)=>l.name;function L(t,l){t&1&&o(0," Bet\xF6lt\xE9s\u2026 ")}function q(t,l){t&1&&o(0," Friss\xEDt\xE9s ")}function K(t,l){t&1&&(r(0,"div",6),o(1),i()),t&2&&(a(),f(" ",l," "))}function Q(t,l){if(t&1&&(r(0,"span",11),o(1),i()),t&2){let e=c();a(),f("| toolok: ",e.toolCount,"")}}function W(t,l){t&1&&(r(0,"p",12),o(1),i()),t&2&&(a(),f(" Program: ",l.programJsPath," "))}function X(t,l){t&1&&(r(0,"p",15),o(1,"Nincs tool a v\xE1laszban."),i())}function Y(t,l){if(t&1&&(r(0,"p",9),o(1),i()),t&2){let e=c().$implicit;a(),_(e.description)}}function Z(t,l){if(t&1&&(r(0,"pre",24),o(1),i()),t&2){let e=c().$implicit,n=c(3);a(),_(n.formatSchema(e.inputSchema))}}function tt(t,l){if(t&1){let e=S();r(0,"li",18)(1,"div",19)(2,"span",20),o(3),i(),p(4,Y,2,1,"p",9),r(5,"button",21),b("click",function(){let s=g(e).$implicit,x=c(3);return v(x.toggleSchema(s.name))}),H(),r(6,"svg",22),D(7,"polyline",23),i(),o(8),i(),p(9,Z,2,1,"pre",24),i()()}if(t&2){let e=l.$implicit,n=c(3);a(3),_(e.name),a(),m(e.description?4:-1),a(2),P("-rotate-90",!n.schemaExpanded_$()[e.name]),a(2),f(" ",n.schemaExpanded_$()[e.name]?"inputSchema elrejt\xE9se":"inputSchema megjelen\xEDt\xE9se"," "),a(),m(n.schemaExpanded_$()[e.name]?9:-1)}}function et(t,l){if(t&1&&(r(0,"ul",16),j(1,tt,10,6,"li",18,G),i()),t&2){let e=c(2);a(),F(e.tools_$())}}function nt(t,l){t&1&&o(0," M\xE1solva ")}function it(t,l){t&1&&o(0," JSON m\xE1sol\xE1sa ")}function ot(t,l){if(t&1){let e=S();r(0,"section",17)(1,"div",25)(2,"h2",26),o(3,"Cursor MCP config p\xE9lda"),i(),r(4,"button",27),b("click",function(){g(e);let s=c(2);return v(s.copyCursorSnippet())}),p(5,nt,1,0)(6,it,1,0),i()(),r(7,"p",28),o(8," Illeszd a Cursor "),r(9,"code",29),o(10,"mcp.json"),i(),o(11," vagy projekt MCP be\xE1ll\xEDt\xE1s\xE1ba; a "),r(12,"code",29),o(13,"env"),i(),o(14," tartalmazza az API base URL-t. "),i(),r(15,"pre",30),o(16),i()()}if(t&2){let e=c(2);a(5),m(e.snippetCopied_$()?5:6),a(11),_(e.cursorSnippet_$())}}function rt(t,l){if(t&1&&(r(0,"section",7)(1,"h2",8),o(2,"\xD6sszegz\xE9s"),i(),r(3,"p",9),o(4," Sikeres probe: "),r(5,"span",10),o(6),i(),p(7,Q,2,1,"span",11),i(),p(8,W,2,1,"p",12),i(),r(9,"section",13)(10,"h2",14),o(11,"El\xE9rhet\u0151 toolok (MCP tools/list)"),i(),p(12,X,2,0,"p",15)(13,et,3,0,"ul",16),i(),p(14,ot,17,2,"section",17)),t&2){let e,n=l,s=c();a(6),_(n.success?"igen":"nem"),a(),m(n.toolCount!==void 0?7:-1),a(),m((e=n.resolvedSpawn)?8:-1,e),a(4),m(s.tools_$().length?13:12),a(2),m(s.cursorSnippet_$().trim().length>0?14:-1)}}function at(t,l){t&1&&(r(0,"p",31),o(1,"Probe fut\u2026"),i())}function lt(t,l){t&1&&(r(0,"p",15),o(1,"M\xE9g nincs probe eredm\xE9ny. Nyomd meg a Friss\xEDt\xE9s gombot."),i())}function st(t,l){if(t&1&&p(0,at,2,0,"p",31)(1,lt,2,0,"p",15),t&2){let e=c();m(e.loading_$()?0:1)}}var B=(()=>{class t{hostRuntimeMcp_DS=d(U);globalError_CS=d(J);loading_$=u(!1);errorMessage_$=u(void 0);probe_$=u(void 0);schemaExpanded_$=u({});tools_$=M(()=>this.probe_$()?.tools??[]);cursorSnippet_$=M(()=>{let e=this.probe_$()?.resolvedSpawn;if(!e)return"";let n={mcpServers:{"ccap-host-runtime-mcp":{command:e.command,args:e.args,env:h({},e.recommendedEnv)}}};return JSON.stringify(n,null,2)});copyResetTimeoutId;snippetCopied_$=u(!1);ngOnInit(){this.refreshProbe()}refreshProbe(){return E(this,null,function*(){this.loading_$.set(!0),this.errorMessage_$.set(void 0);try{let e=yield this.hostRuntimeMcp_DS.postProbeTools();this.probe_$.set(e),!e.success&&e.error&&this.errorMessage_$.set(e.error)}catch(e){let n=e instanceof Error?e.message:String(e);this.errorMessage_$.set(n),this.probe_$.set(void 0)}finally{this.loading_$.set(!1)}})}toggleSchema(e){let n=e.trim();if(n.length===0)return;let s=h({},this.schemaExpanded_$());s[n]=!s[n],this.schemaExpanded_$.set(s)}formatSchema(e){if(e===void 0)return"\u2014";try{return JSON.stringify(e,null,2)}catch{return"\u2014"}}copyCursorSnippet(){return E(this,null,function*(){let e=this.cursorSnippet_$().trim();if(e.length===0)return;(yield this.globalError_CS.copyToClipboard(e)).ok&&(this.snippetCopied_$.set(!0),this.copyResetTimeoutId!==void 0&&clearTimeout(this.copyResetTimeoutId),this.copyResetTimeoutId=setTimeout(()=>{this.snippetCopied_$.set(!1)},2e3))})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["app-ccap-host-runtime-mcp"]],decls:16,vars:4,consts:[[1,"flex","flex-col","min-h-full","text-neutral-100","p-4","gt-xs:p-6","max-w-5xl"],[1,"flex","flex-col","sm:flex-row","sm:items-center","sm:justify-between","gap-4","mb-6"],[1,"text-2xl","gt-xs:text-3xl","font-bold","text-neutral-100"],[1,"text-neutral-400","text-sm","gt-xs:text-base","mt-1"],[1,"text-neutral-300"],["type","button",1,"shrink-0","px-4","py-2","border","border-neonCyan","rounded-lg","text-neutral-300","text-sm","font-medium","hover:bg-neutral-800","hover:shadow-neon-glow-cyan","transition-colors","disabled:opacity-50",3,"click","disabled"],[1,"rounded-lg","border","border-amber-500/40","bg-amber-950/20","p-4","mb-6","text-amber-100/90","text-sm"],[1,"rounded-lg","bg-neutral-800/60","border","border-neonDefault","p-4","mb-6"],[1,"text-lg","font-semibold","text-neutral-200","mb-2"],[1,"text-neutral-400","text-sm"],[1,"text-neutral-200","font-medium"],[1,"ml-2"],[1,"text-neutral-500","text-xs","mt-2","break-all"],[1,"mb-8"],[1,"text-lg","font-semibold","text-neutral-200","mb-3"],[1,"text-neutral-500","text-sm"],[1,"space-y-3"],[1,"rounded-lg","bg-neutral-800/60","border","border-neonDefault","p-4"],[1,"rounded-lg","border","border-neutral-600/80","bg-neutral-900/40","p-4"],[1,"flex","flex-col","gap-1"],[1,"font-mono","text-ccapAccent","text-sm","font-semibold"],["type","button",1,"self-start","mt-1","text-xs","text-neutral-400","hover:text-ccapAccent","flex","items-center","gap-1",3,"click"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"w-3","h-3","shrink-0","transition-transform","duration-150"],["points","6 9 12 15 18 9"],[1,"mt-2","p-3","rounded","bg-black/40","border","border-neutral-700","text-xs","text-neutral-300","overflow-x-auto","whitespace-pre-wrap"],[1,"flex","flex-wrap","items-center","justify-between","gap-2","mb-2"],[1,"text-lg","font-semibold","text-neutral-200"],["type","button",1,"px-3","py-1.5","text-xs","border","border-neonCyan","rounded-md","text-neutral-300","hover:bg-neutral-700",3,"click"],[1,"text-neutral-500","text-xs","mb-2"],[1,"text-neutral-400"],[1,"p-3","rounded","bg-black/40","border","border-neutral-700","text-xs","text-neutral-300","overflow-x-auto","whitespace-pre-wrap"],[1,"text-neutral-500"]],template:function(n,s){if(n&1&&(r(0,"div",0)(1,"header",1)(2,"div")(3,"h1",2),o(4,"Host Runtime MCP"),i(),r(5,"p",3),o(6," CCAP saj\xE1t stdio MCP szerver tooljai \xE9s s\xE9m\xE1i \u2013 "),r(7,"span",4),o(8,"nem"),i(),o(9," a Be\xE1ll\xEDt\xE1sok \u2192 Agent MCP integr\xE1ci\xF3. A run trace esem\xE9nyek szerver restart ut\xE1n mem\xF3ri\xE1ban \xFCresek lehetnek. "),i()(),r(10,"button",5),b("click",function(){return s.refreshProbe()}),p(11,L,1,0)(12,q,1,0),i()(),p(13,K,2,1,"div",6)(14,rt,15,5)(15,st,2,1),i()),n&2){let x,$;a(10),I("disabled",s.loading_$()),a(),m(s.loading_$()?11:12),a(2),m((x=s.errorMessage_$())?13:-1,x),a(),m(($=s.probe_$())?14:15,$)}},encapsulation:2})}return t})();var mt=[{path:"",pathMatch:"full",component:B}],wt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=k({type:t});static \u0275inj=T({imports:[A,V.forChild(mt)]})}return t})();export{wt as HostRuntimeMcp_Module};
2
- //# sourceMappingURL=host-runtime-mcp.module-WCA4GRIQ.js.map
1
+ import{j as J}from"./chunk-WHJDIPTM.js";import{I as N}from"./chunk-GLY7XIEO.js";import{C as d,D as w,E as k,Fa as o,Ga as _,Ha as f,J as g,K as v,Kb as V,L as H,Z as a,a as h,aa as u,da as p,ga as I,hb as M,ia as P,k as E,la as m,oa as j,p as R,pa as F,qa as r,ra as i,sa as D,ua as S,ub as A,va as b,wa as c,xb as z,y as C,z as T}from"./chunk-TBMJSIBB.js";var O=(()=>{class t{baseUrl=`${N.api.baseUrl}/ccap-host-runtime-mcp`;http=d(z);postProbeTools(){return R(this.http.post(`${this.baseUrl}/probe-tools`,{}))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var U=(()=>{class t{hostRuntimeMcp_AS=d(O);postProbeTools(){return this.hostRuntimeMcp_AS.postProbeTools()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var G=(t,l)=>l.name;function L(t,l){t&1&&o(0," Bet\xF6lt\xE9s\u2026 ")}function q(t,l){t&1&&o(0," Friss\xEDt\xE9s ")}function K(t,l){t&1&&(r(0,"div",6),o(1),i()),t&2&&(a(),f(" ",l," "))}function Q(t,l){if(t&1&&(r(0,"span",11),o(1),i()),t&2){let e=c();a(),f("| toolok: ",e.toolCount,"")}}function W(t,l){t&1&&(r(0,"p",12),o(1),i()),t&2&&(a(),f(" Program: ",l.programJsPath," "))}function X(t,l){t&1&&(r(0,"p",15),o(1,"Nincs tool a v\xE1laszban."),i())}function Y(t,l){if(t&1&&(r(0,"p",9),o(1),i()),t&2){let e=c().$implicit;a(),_(e.description)}}function Z(t,l){if(t&1&&(r(0,"pre",24),o(1),i()),t&2){let e=c().$implicit,n=c(3);a(),_(n.formatSchema(e.inputSchema))}}function tt(t,l){if(t&1){let e=S();r(0,"li",18)(1,"div",19)(2,"span",20),o(3),i(),p(4,Y,2,1,"p",9),r(5,"button",21),b("click",function(){let s=g(e).$implicit,x=c(3);return v(x.toggleSchema(s.name))}),H(),r(6,"svg",22),D(7,"polyline",23),i(),o(8),i(),p(9,Z,2,1,"pre",24),i()()}if(t&2){let e=l.$implicit,n=c(3);a(3),_(e.name),a(),m(e.description?4:-1),a(2),P("-rotate-90",!n.schemaExpanded_$()[e.name]),a(2),f(" ",n.schemaExpanded_$()[e.name]?"inputSchema elrejt\xE9se":"inputSchema megjelen\xEDt\xE9se"," "),a(),m(n.schemaExpanded_$()[e.name]?9:-1)}}function et(t,l){if(t&1&&(r(0,"ul",16),j(1,tt,10,6,"li",18,G),i()),t&2){let e=c(2);a(),F(e.tools_$())}}function nt(t,l){t&1&&o(0," M\xE1solva ")}function it(t,l){t&1&&o(0," JSON m\xE1sol\xE1sa ")}function ot(t,l){if(t&1){let e=S();r(0,"section",17)(1,"div",25)(2,"h2",26),o(3,"Cursor MCP config p\xE9lda"),i(),r(4,"button",27),b("click",function(){g(e);let s=c(2);return v(s.copyCursorSnippet())}),p(5,nt,1,0)(6,it,1,0),i()(),r(7,"p",28),o(8," Illeszd a Cursor "),r(9,"code",29),o(10,"mcp.json"),i(),o(11," vagy projekt MCP be\xE1ll\xEDt\xE1s\xE1ba; a "),r(12,"code",29),o(13,"env"),i(),o(14," tartalmazza az API base URL-t. "),i(),r(15,"pre",30),o(16),i()()}if(t&2){let e=c(2);a(5),m(e.snippetCopied_$()?5:6),a(11),_(e.cursorSnippet_$())}}function rt(t,l){if(t&1&&(r(0,"section",7)(1,"h2",8),o(2,"\xD6sszegz\xE9s"),i(),r(3,"p",9),o(4," Sikeres probe: "),r(5,"span",10),o(6),i(),p(7,Q,2,1,"span",11),i(),p(8,W,2,1,"p",12),i(),r(9,"section",13)(10,"h2",14),o(11,"El\xE9rhet\u0151 toolok (MCP tools/list)"),i(),p(12,X,2,0,"p",15)(13,et,3,0,"ul",16),i(),p(14,ot,17,2,"section",17)),t&2){let e,n=l,s=c();a(6),_(n.success?"igen":"nem"),a(),m(n.toolCount!==void 0?7:-1),a(),m((e=n.resolvedSpawn)?8:-1,e),a(4),m(s.tools_$().length?13:12),a(2),m(s.cursorSnippet_$().trim().length>0?14:-1)}}function at(t,l){t&1&&(r(0,"p",31),o(1,"Probe fut\u2026"),i())}function lt(t,l){t&1&&(r(0,"p",15),o(1,"M\xE9g nincs probe eredm\xE9ny. Nyomd meg a Friss\xEDt\xE9s gombot."),i())}function st(t,l){if(t&1&&p(0,at,2,0,"p",31)(1,lt,2,0,"p",15),t&2){let e=c();m(e.loading_$()?0:1)}}var B=(()=>{class t{hostRuntimeMcp_DS=d(U);globalError_CS=d(J);loading_$=u(!1);errorMessage_$=u(void 0);probe_$=u(void 0);schemaExpanded_$=u({});tools_$=M(()=>this.probe_$()?.tools??[]);cursorSnippet_$=M(()=>{let e=this.probe_$()?.resolvedSpawn;if(!e)return"";let n={mcpServers:{"ccap-host-runtime-mcp":{command:e.command,args:e.args,env:h({},e.recommendedEnv)}}};return JSON.stringify(n,null,2)});copyResetTimeoutId;snippetCopied_$=u(!1);ngOnInit(){this.refreshProbe()}refreshProbe(){return E(this,null,function*(){this.loading_$.set(!0),this.errorMessage_$.set(void 0);try{let e=yield this.hostRuntimeMcp_DS.postProbeTools();this.probe_$.set(e),!e.success&&e.error&&this.errorMessage_$.set(e.error)}catch(e){let n=e instanceof Error?e.message:String(e);this.errorMessage_$.set(n),this.probe_$.set(void 0)}finally{this.loading_$.set(!1)}})}toggleSchema(e){let n=e.trim();if(n.length===0)return;let s=h({},this.schemaExpanded_$());s[n]=!s[n],this.schemaExpanded_$.set(s)}formatSchema(e){if(e===void 0)return"\u2014";try{return JSON.stringify(e,null,2)}catch{return"\u2014"}}copyCursorSnippet(){return E(this,null,function*(){let e=this.cursorSnippet_$().trim();if(e.length===0)return;(yield this.globalError_CS.copyToClipboard(e)).ok&&(this.snippetCopied_$.set(!0),this.copyResetTimeoutId!==void 0&&clearTimeout(this.copyResetTimeoutId),this.copyResetTimeoutId=setTimeout(()=>{this.snippetCopied_$.set(!1)},2e3))})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["app-ccap-host-runtime-mcp"]],decls:16,vars:4,consts:[[1,"flex","flex-col","min-h-full","text-neutral-100","p-4","gt-xs:p-6","max-w-5xl"],[1,"flex","flex-col","sm:flex-row","sm:items-center","sm:justify-between","gap-4","mb-6"],[1,"text-2xl","gt-xs:text-3xl","font-bold","text-neutral-100"],[1,"text-neutral-400","text-sm","gt-xs:text-base","mt-1"],[1,"text-neutral-300"],["type","button",1,"shrink-0","px-4","py-2","border","border-neonCyan","rounded-lg","text-neutral-300","text-sm","font-medium","hover:bg-neutral-800","hover:shadow-neon-glow-cyan","transition-colors","disabled:opacity-50",3,"click","disabled"],[1,"rounded-lg","border","border-amber-500/40","bg-amber-950/20","p-4","mb-6","text-amber-100/90","text-sm"],[1,"rounded-lg","bg-neutral-800/60","border","border-neonDefault","p-4","mb-6"],[1,"text-lg","font-semibold","text-neutral-200","mb-2"],[1,"text-neutral-400","text-sm"],[1,"text-neutral-200","font-medium"],[1,"ml-2"],[1,"text-neutral-500","text-xs","mt-2","break-all"],[1,"mb-8"],[1,"text-lg","font-semibold","text-neutral-200","mb-3"],[1,"text-neutral-500","text-sm"],[1,"space-y-3"],[1,"rounded-lg","bg-neutral-800/60","border","border-neonDefault","p-4"],[1,"rounded-lg","border","border-neutral-600/80","bg-neutral-900/40","p-4"],[1,"flex","flex-col","gap-1"],[1,"font-mono","text-ccapAccent","text-sm","font-semibold"],["type","button",1,"self-start","mt-1","text-xs","text-neutral-400","hover:text-ccapAccent","flex","items-center","gap-1",3,"click"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"w-3","h-3","shrink-0","transition-transform","duration-150"],["points","6 9 12 15 18 9"],[1,"mt-2","p-3","rounded","bg-black/40","border","border-neutral-700","text-xs","text-neutral-300","overflow-x-auto","whitespace-pre-wrap"],[1,"flex","flex-wrap","items-center","justify-between","gap-2","mb-2"],[1,"text-lg","font-semibold","text-neutral-200"],["type","button",1,"px-3","py-1.5","text-xs","border","border-neonCyan","rounded-md","text-neutral-300","hover:bg-neutral-700",3,"click"],[1,"text-neutral-500","text-xs","mb-2"],[1,"text-neutral-400"],[1,"p-3","rounded","bg-black/40","border","border-neutral-700","text-xs","text-neutral-300","overflow-x-auto","whitespace-pre-wrap"],[1,"text-neutral-500"]],template:function(n,s){if(n&1&&(r(0,"div",0)(1,"header",1)(2,"div")(3,"h1",2),o(4,"Host Runtime MCP"),i(),r(5,"p",3),o(6," CCAP saj\xE1t stdio MCP szerver tooljai \xE9s s\xE9m\xE1i \u2013 "),r(7,"span",4),o(8,"nem"),i(),o(9," a Be\xE1ll\xEDt\xE1sok \u2192 Agent MCP integr\xE1ci\xF3. A run trace esem\xE9nyek szerver restart ut\xE1n mem\xF3ri\xE1ban \xFCresek lehetnek. "),i()(),r(10,"button",5),b("click",function(){return s.refreshProbe()}),p(11,L,1,0)(12,q,1,0),i()(),p(13,K,2,1,"div",6)(14,rt,15,5)(15,st,2,1),i()),n&2){let x,$;a(10),I("disabled",s.loading_$()),a(),m(s.loading_$()?11:12),a(2),m((x=s.errorMessage_$())?13:-1,x),a(),m(($=s.probe_$())?14:15,$)}},encapsulation:2})}return t})();var mt=[{path:"",pathMatch:"full",component:B}],wt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=k({type:t});static \u0275inj=T({imports:[A,V.forChild(mt)]})}return t})();export{wt as HostRuntimeMcp_Module};
2
+ //# sourceMappingURL=host-runtime-mcp.module-AV3EO5I3.js.map
@@ -180,5 +180,5 @@
180
180
  </svg>
181
181
  </div>
182
182
  <app-root></app-root>
183
- <link rel="modulepreload" href="chunk-DEUH7G5Q.js"><link rel="modulepreload" href="chunk-VCKPIPJZ.js"><link rel="modulepreload" href="chunk-XWHBNOEF.js"><link rel="modulepreload" href="chunk-IPJWDV7N.js"><link rel="modulepreload" href="chunk-PBFFGCZP.js"><link rel="modulepreload" href="chunk-Z4OXAMEA.js"><link rel="modulepreload" href="chunk-YRVQSWSZ.js"><link rel="modulepreload" href="chunk-INFA5WNP.js"><link rel="modulepreload" href="chunk-VHAC2WS6.js"><link rel="modulepreload" href="chunk-Y7WEET42.js"><script src="polyfills-GOMDJCXS.js" type="module"></script><script src="main-7TNGY6HW.js" type="module"></script></body>
183
+ <link rel="modulepreload" href="chunk-HBDXPQIC.js"><link rel="modulepreload" href="chunk-GWT4NLC6.js"><link rel="modulepreload" href="chunk-ALKI4J2W.js"><link rel="modulepreload" href="chunk-UV7YDW6X.js"><link rel="modulepreload" href="chunk-KRSUKF3L.js"><link rel="modulepreload" href="chunk-Z4OXAMEA.js"><link rel="modulepreload" href="chunk-YRVQSWSZ.js"><link rel="modulepreload" href="chunk-3NI6EUGP.js"><link rel="modulepreload" href="chunk-VSY6ABSB.js"><link rel="modulepreload" href="chunk-QZVMUDW7.js"><script src="polyfills-GOMDJCXS.js" type="module"></script><script src="main-4IV3NJMV.js" type="module"></script></body>
184
184
  </html>
@@ -1,2 +1,2 @@
1
- import{a as de}from"./chunk-OFWL36K2.js";import{a as se}from"./chunk-GV2Y7K5T.js";import"./chunk-U7KCQYK3.js";import{k as M}from"./chunk-XN7YOYCH.js";import"./chunk-5UPNU54P.js";import"./chunk-QEMMWIWJ.js";import{p as Ce}from"./chunk-5AVCLDUF.js";import{$a as h,C as R,D as W,E as Y,Fa as n,G as Z,Ga as C,Ha as m,Ia as F,J as B,Ja as N,K as z,Kb as re,L as ee,M as te,Ya as ne,Z as a,a as X,aa as f,ab as O,b as q,bb as L,da as c,fa as P,ga as b,h as fe,hb as oe,ia as ie,ja as y,k as J,la as p,mb as ae,oa as $,pa as I,qa as o,ra as i,sa as T,ua as H,ub as le,va as E,wa as d,y as Q,z as U}from"./chunk-TBMJSIBB.js";var k=class e{static classifyTier(l){return typeof l!="number"||!isFinite(l)?"teal":l<50?"red":l<60?"amber":l<75?"teal":"green"}static getTextClass(l){switch(e.classifyTier(l)){case"red":return"text-red-400";case"amber":return"text-amber-300";case"teal":return"text-cyan-200";case"green":return"text-green-400"}}static getDotClass(l){switch(e.classifyTier(l)){case"red":return"bg-red-500";case"amber":return"bg-amber-400";case"teal":return"bg-cyan-400";case"green":return"bg-green-500"}}};var pe=(()=>{class e{transform(t,r){return r==="dot"?k.getDotClass(t):k.getTextClass(t)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Z({name:"ccapCoverageTierClass",type:e,pure:!0,standalone:!0})}return e})();var w=function(e){return e.current="current",e.previous="previous",e}(w||{});var _e=fe(Ce());var j=class e{static buildExpandDetail(l){let t=l.snapPrefix,r=l.stepId,s=l.step,_=`${t}-detail-${r}`,u=[];if(s.errors!==void 0&&s.errors.length>0)for(let S=0;S<s.errors.length;S++){let v=s.errors[S],A=v.line!==void 0?`Line ${v.line}: `:"";u.push({rowId:`${_}-log-${S}`,text:`${A}${v.text}`}),v.details!==void 0&&v.details.length>0&&u.push({rowId:`${_}-log-${S}-details`,text:v.details})}let g=[],x=s.testSummary?.failures;if(x!==void 0&&x>0){let S=s.testSummary?.passed,v=s.testSummary?.totalSpecs,A=s.logLineStart!==void 0&&s.logLineEnd!==void 0?`Log lines ${s.logLineStart}\u2013${s.logLineEnd}.`:"",ve=`${x} spec(s) failed.`+(S!==void 0&&v!==void 0?` Passed ${S} / ${v} total.`:"");g.push({rowId:`${_}-spec-0`,text:ve}),A.length>0&&g.push({rowId:`${_}-spec-1`,text:A})}let D=s.errors!==void 0&&s.errors.length>0,V=x!==void 0&&x>0,K=null;s.status==="failed"&&!D&&!V&&(K=s.logLineStart!==void 0&&s.logLineEnd!==void 0?`See log lines ${s.logLineStart}\u2013${s.logLineEnd}.`:"See pipeline output log for details.");let xe=e.buildCoverageMetrics({baseId:_,coverage:s.testSummary?.coverage});return{logErrorRows:u,testFailureRows:g,failedStatusHint:K,coverageMetrics:xe}}static buildCoverageMetrics(l){let t=l.coverage,r=l.baseId;if(t===void 0)return[];let s={statements:"Statements",branches:"Branches",functions:"Functions",lines:"Lines"},_=["statements","branches","functions","lines"],u=[];for(let g of _){let x=t[g];if(x===void 0||typeof x.pct!="number"||typeof x.covered!="number"||typeof x.total!="number")continue;let D=String(g),V=s[D]!==void 0?s[D]:D;u.push({metricId:`${r}-cov-${D}`,label:V,pct:x.pct,covered:x.covered,total:x.total})}return u}};var ce=(()=>{class e{snapshotView_$=f(w.current);pipelineStatus_$=f(null);unavailableReason_$=f(null);loading_$=f(!1);loadError_$=f(null);stepTableRows_$=oe(()=>{let t=this.pipelineStatus_$(),r=this.snapshotView_$();if(!t?.steps)return[];let s=Object.keys(t.steps);return s.sort((_,u)=>{let g=t.steps[_].logLineStart??Number.MAX_SAFE_INTEGER,x=t.steps[u].logLineStart??Number.MAX_SAFE_INTEGER;return g-x}),s.map(_=>{let u=t.steps[_];return{stepId:_,step:u,detail:j.buildExpandDetail({snapPrefix:r,stepId:_,step:u})}})});intervalId=null;pollIntervalMs=_e.minute;serverStatus_AS=R(se);isPreviousSnapshotSelected(){return this.snapshotView_$()===w.previous}loadLiveDevPipelineStatus(t){return J(this,null,function*(){let r=t?.showSpinner!==!1;r&&this.loading_$.set(!0),this.loadError_$.set(null);try{let s=yield this.serverStatus_AS.getLiveDevPipelineStatus({isPrevious:this.isPreviousSnapshotSelected()});this.pipelineStatus_$.set(s.pipelineStatus),this.unavailableReason_$.set(s.unavailableReason)}catch(s){this.loadError_$.set(s),this.pipelineStatus_$.set(null),this.unavailableReason_$.set(null)}finally{r&&this.loading_$.set(!1)}})}setSnapshotView(t){this.snapshotView_$.set(t),this.loadLiveDevPipelineStatus({showSpinner:!0})}loadPage(){this.loadLiveDevPipelineStatus({showSpinner:!0})}startPolling(){this.stopPolling(),this.loadLiveDevPipelineStatus({showSpinner:!1}),this.intervalId=setInterval(()=>{this.loadLiveDevPipelineStatus({showSpinner:!1})},this.pollIntervalMs)}stopPolling(){this.intervalId!==null&&(clearInterval(this.intervalId),this.intervalId=null)}refresh(){this.loadLiveDevPipelineStatus({showSpinner:!0})}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Se=(e,l)=>l.stepId,he=(e,l)=>l.metricId,me=(e,l)=>l.rowId,be=(e,l,t,r)=>({"rounded px-2 py-0.5 text-xs font-medium":!0,"bg-green-900/50 text-green-200":e,"bg-red-900/50 text-red-200":l,"bg-amber-900/50 text-amber-200":t,"bg-neutral-800 text-neutral-200":r});function Ee(e,l){if(e&1&&(o(0,"span")(1,"span",17),n(2,"version:"),i(),n(3),i()),e&2){let t=d();a(3),m(" ",t.version,"")}}function De(e,l){if(e&1&&(o(0,"span")(1,"span",17),n(2,"pid:"),i(),n(3),i()),e&2){let t=d();a(3),m(" ",t.pid,"")}}function Pe(e,l){if(e&1&&(o(0,"span")(1,"span",17),n(2,"totalDurationSec:"),i(),n(3),i()),e&2){let t=d();a(3),m(" ",t.totalDurationSec,"")}}function ye(e,l){if(e&1&&(o(0,"span")(1,"span",17),n(2,"startedAt:"),i(),o(3,"span"),n(4),h(5,"ccapRelativeTime"),i()()),e&2){let t=d();a(3),P("title",t.startedAt),a(),C(O(5,2,t.startedAt))}}function Te(e,l){if(e&1&&(o(0,"div",2),c(1,Ee,4,1,"span")(2,De,4,1,"span")(3,Pe,4,1,"span")(4,ye,6,4,"span"),i()),e&2){let t=l;a(),p(t.version?1:-1),a(),p(t.pid!==void 0?2:-1),a(),p(t.totalDurationSec!==void 0&&t.totalDurationSec!==null?3:-1),a(),p(t.startedAt?4:-1)}}function Le(e,l){if(e&1){let t=H();T(0,"app-ccap-error-display",18),o(1,"button",19),E("click",function(){B(t);let s=d();return z(s.handleRetryLoad())}),n(2," \xDAjrapr\xF3b\xE1l\xE1s "),i()}if(e&2){let t=d();b("error",t.liveDevPipeline_DS.loadError_$())}}function we(e,l){e&1&&(o(0,"p",15),n(1,"Bet\xF6lt\xE9s\u2026"),i())}function $e(e,l){if(e&1&&(o(0,"div",16)(1,"p",20),n(2,"Pipeline status nem el\xE9rhet\u0151"),i(),o(3,"p",21),n(4),i()()),e&2){let t=d();a(4),C(t.liveDevPipeline_DS.unavailableReason_$())}}function Ie(e,l){if(e&1&&(o(0,"span",46),n(1),i()),e&2){let t=d().$implicit;a(),F(" ",t.step.errors.length," issue",t.step.errors.length>1?"s":""," ")}}function Fe(e,l){if(e&1&&(T(0,"span",52),h(1,"ccapCoverageTierClass")),e&2){let t=l;y(L(1,3,t.pct,"dot")),P("title","coverage lines: "+t.pct+"%")}}function ke(e,l){if(e&1&&n(0),e&2){let t=d().$implicit;m(" ",t.step.durationSec," ")}}function Ae(e,l){e&1&&n(0," \u2014 ")}function Re(e,l){if(e&1&&n(0),e&2){let t=d().$implicit;F(" ",t.step.logLineStart,"\u2013",t.step.logLineEnd," ")}}function Me(e,l){e&1&&n(0," \u2014 ")}function je(e,l){if(e&1&&(o(0,"div"),n(1),i()),e&2){let t,r=d(2).$implicit;a(),N("specs: ",(t=r.step.testSummary.passed)!==null&&t!==void 0?t:"\u2014"," / ",r.step.testSummary.totalSpecs," (fail: ",(t=r.step.testSummary.failures)!==null&&t!==void 0?t:0,")")}}function Ve(e,l){if(e&1&&(o(0,"div",17),n(1),i()),e&2){let t=d(2).$implicit;a(),m("duration: ",t.step.testSummary.testDurationSec,"s")}}function Be(e,l){if(e&1&&(o(0,"div",53),T(1,"span",54),h(2,"ccapCoverageTierClass"),o(3,"span"),n(4,"lines:"),i(),o(5,"span",55),h(6,"ccapCoverageTierClass"),n(7),i()()),e&2){let t=l;a(),y(L(2,5,t.pct,"dot")),a(4),y(L(6,8,t.pct,"text")),a(2),m(" ",t.pct,"% ")}}function ze(e,l){if(e&1&&c(0,je,2,3,"div")(1,Ve,2,1,"div",17)(2,Be,8,11,"div",53),e&2){let t,r=d().$implicit;p(r.step.testSummary.totalSpecs!==void 0?0:-1),a(),p(r.step.testSummary.testDurationSec!==void 0?1:-1),a(),p((t=r.step.testSummary.coverage==null?null:r.step.testSummary.coverage.lines)?2:-1,t)}}function He(e,l){e&1&&n(0," \u2014 ")}function Ne(e,l){if(e&1&&(o(0,"dt",17),n(1,"startedAt"),i(),o(2,"dd",68),n(3),h(4,"ccapRelativeTime"),i()),e&2){let t=d(2).$implicit;a(2),P("title",t.step.startedAt),a(),m(" ",O(4,2,t.step.startedAt)," ")}}function Oe(e,l){if(e&1&&n(0),e&2){let t=d(2).$implicit;m(" ",t.step.durationSec," ")}}function Ge(e,l){e&1&&n(0," \u2014 ")}function Ke(e,l){if(e&1&&n(0),e&2){let t=d(2).$implicit;F(" ",t.step.logLineStart,"\u2013",t.step.logLineEnd," ")}}function Xe(e,l){e&1&&n(0," \u2014 ")}function qe(e,l){if(e&1&&(o(0,"li")(1,"span",17),n(2,"specs:"),i(),n(3),i()),e&2){let t,r=d(3).$implicit;a(3),N(" passed ",(t=r.step.testSummary.passed)!==null&&t!==void 0?t:"\u2014"," / total ",r.step.testSummary.totalSpecs," (failures ",(t=r.step.testSummary.failures)!==null&&t!==void 0?t:0,") ")}}function Je(e,l){if(e&1&&(o(0,"li")(1,"span",17),n(2,"test run duration:"),i(),n(3),i()),e&2){let t=d(3).$implicit;a(3),m(" ",t.step.testSummary.testDurationSec,"s ")}}function Qe(e,l){if(e&1&&(o(0,"section",63)(1,"h3",59),n(2," Test results "),i(),o(3,"ul",69),c(4,qe,4,3,"li")(5,Je,4,1,"li"),i()()),e&2){let t=d(2).$implicit;a(4),p(t.step.testSummary.totalSpecs!==void 0?4:-1),a(),p(t.step.testSummary.testDurationSec!==void 0?5:-1)}}function Ue(e,l){if(e&1&&(o(0,"div",72)(1,"p",73),T(2,"span",54),h(3,"ccapCoverageTierClass"),o(4,"span"),n(5),i()(),o(6,"p",74),h(7,"ccapCoverageTierClass"),n(8),i(),o(9,"p",75),n(10),i()()),e&2){let t=l.$implicit;a(2),y(L(3,8,t.pct,"dot")),a(3),C(t.label),a(),y(L(7,11,t.pct,"text")),a(2),m(" ",t.pct,"% "),a(2),F(" ",t.covered," / ",t.total," ")}}function We(e,l){if(e&1&&(o(0,"section",64)(1,"h3",70),n(2," Coverage "),i(),o(3,"div",71),$(4,Ue,11,14,"div",72,he),i()()),e&2){let t=d(2).$implicit;a(4),I(t.detail.coverageMetrics)}}function Ye(e,l){if(e&1&&(o(0,"li",78),n(1),i()),e&2){let t=l.$implicit;a(),m(" ",t.text," ")}}function Ze(e,l){if(e&1&&(o(0,"section",65)(1,"h3",76),n(2," Pipeline log errors "),i(),o(3,"ul",77),$(4,Ye,2,1,"li",78,me),i()()),e&2){let t=d(2).$implicit;a(4),I(t.detail.logErrorRows)}}function et(e,l){if(e&1&&(o(0,"li",78),n(1),i()),e&2){let t=l.$implicit;a(),m(" ",t.text," ")}}function tt(e,l){if(e&1&&(o(0,"section",66)(1,"h3",76),n(2," Test failures "),i(),o(3,"ul",77),$(4,et,2,1,"li",78,me),i()()),e&2){let t=d(2).$implicit;a(4),I(t.detail.testFailureRows)}}function it(e,l){if(e&1&&(o(0,"section",67)(1,"h3",76),n(2," Status failed "),i(),o(3,"p",79),n(4),i()()),e&2){let t=d(2).$implicit;a(4),m(" ",t.detail.failedStatusHint," ")}}function nt(e,l){if(e&1&&(o(0,"tr",51)(1,"td",56)(2,"div",57)(3,"section",58)(4,"h3",59),n(5,"Meta"),i(),o(6,"dl",60),c(7,Ne,5,4),o(8,"dt",17),n(9,"durationSec"),i(),o(10,"dd",61),c(11,Oe,1,1)(12,Ge,1,0),i(),o(13,"dt",17),n(14,"log lines (output.log)"),i(),o(15,"dd",62),c(16,Ke,1,2)(17,Xe,1,0),i()()(),c(18,Qe,6,2,"section",63)(19,We,6,0,"section",64)(20,Ze,6,0,"section",65)(21,tt,6,0,"section",66)(22,it,5,1,"section",67),i()()()),e&2){let t=d().$implicit;a(2),P("id","ldp-detail-"+t.stepId),a(5),p(t.step.startedAt?7:-1),a(4),p(t.step.durationSec!==void 0&&t.step.durationSec!==null?11:12),a(5),p(t.step.logLineStart!==void 0&&t.step.logLineEnd!==void 0?16:17),a(2),p(t.step.testSummary?18:-1),a(),p(t.detail.coverageMetrics.length>0?19:-1),a(),p(t.detail.logErrorRows.length>0?20:-1),a(),p(t.detail.testFailureRows.length>0?21:-1),a(),p(t.detail.failedStatusHint?22:-1)}}function ot(e,l){if(e&1){let t=H();o(0,"tr",38)(1,"td",39)(2,"button",40),E("click",function(){let s=B(t).$implicit,_=d(3);return z(_.handleStepExpandToggle({stepId:s.stepId}))}),ee(),o(3,"svg",41),T(4,"polyline",42),i()()(),te(),o(5,"td",43),n(6),i(),o(7,"td",44)(8,"span",45),n(9),i(),c(10,Ie,2,2,"span",46)(11,Fe,2,6,"span",47),i(),o(12,"td",48),c(13,ke,1,1)(14,Ae,1,0),i(),o(15,"td",49),c(16,Re,1,2)(17,Me,1,0),i(),o(18,"td",50),c(19,ze,3,3)(20,He,1,0),i()(),c(21,nt,23,9,"tr",51)}if(e&2){let t,r=l.$implicit,s=d(3);a(2),P("aria-expanded",s.expandedStepIds_$()[r.stepId]===!0)("aria-controls","ldp-detail-"+r.stepId)("aria-label","R\xE9szletek: "+r.stepId),a(),ie("-rotate-90",s.expandedStepIds_$()[r.stepId]!==!0),a(3),C(r.stepId),a(2),b("ngClass",ne(14,be,r.step.status==="ok",r.step.status==="failed",r.step.status==="running",r.step.status!=="ok"&&r.step.status!=="failed"&&r.step.status!=="running")),a(),m(" ",r.step.status," "),a(),p(r.step.status==="failed"&&(r.step.errors!=null&&r.step.errors.length)?10:-1),a(),p((t=r.step.testSummary==null||r.step.testSummary.coverage==null?null:r.step.testSummary.coverage.lines)?11:-1,t),a(2),p(r.step.durationSec!==void 0&&r.step.durationSec!==null?13:14),a(3),p(r.step.logLineStart!==void 0&&r.step.logLineEnd!==void 0?16:17),a(3),p(r.step.testSummary?19:20),a(2),p(s.expandedStepIds_$()[r.stepId]?21:-1)}}function at(e,l){if(e&1&&(o(0,"li")(1,"span",17),n(2,"serverRunning:"),i(),n(3),i()),e&2){let t=d();a(3),m(" ",t.serverRunning?"true":"false"," ")}}function lt(e,l){if(e&1&&(o(0,"li")(1,"span",17),n(2,"restartPending:"),i(),n(3),i()),e&2){let t=d();a(3),m(" ",t.restartPending?"true":"false"," ")}}function rt(e,l){if(e&1&&(o(0,"dt",17),n(1,"trimmedAt"),i(),o(2,"dd",61),n(3),i()),e&2){let t=d(2);a(3),C(t.trimInfo.trimmedAt)}}function st(e,l){if(e&1&&(o(0,"dt",17),n(1,"removedLineCount"),i(),o(2,"dd"),n(3),i()),e&2){let t=d(2);a(3),C(t.trimInfo.removedLineCount)}}function dt(e,l){if(e&1&&(o(0,"dt",17),n(1,"fileLineCountAfterTrim"),i(),o(2,"dd"),n(3),i()),e&2){let t=d(2);a(3),C(t.trimInfo.fileLineCountAfterTrim)}}function pt(e,l){if(e&1&&(o(0,"div",34)(1,"h2",35),n(2,"trimInfo"),i(),o(3,"dl",60),c(4,rt,4,1)(5,st,4,1)(6,dt,4,1),i()()),e&2){let t=d();a(4),p(t.trimInfo.trimmedAt?4:-1),a(),p(t.trimInfo.removedLineCount!==void 0?5:-1),a(),p(t.trimInfo.fileLineCountAfterTrim!==void 0?6:-1)}}function _t(e,l){if(e&1&&(o(0,"div",22)(1,"div",23)(2,"h2",24),n(3," Pipeline steps "),i(),o(4,"div",25)(5,"table",26)(6,"thead",27)(7,"tr")(8,"th",28)(9,"span",29),n(10,"R\xE9szletek"),i()(),o(11,"th",30),n(12,"Step"),i(),o(13,"th",30),n(14,"Status"),i(),o(15,"th",30),n(16,"Duration (s)"),i(),o(17,"th",31),n(18,"Log lines"),i(),o(19,"th",32),n(20,"Tests / coverage"),i()()(),o(21,"tbody"),$(22,ot,22,19,null,null,Se),i()()()(),o(24,"div",33)(25,"div",34)(26,"h2",35),n(27,"Phase"),i(),o(28,"p",36),n(29),i()(),o(30,"div",34)(31,"h2",35),n(32,"Flags"),i(),o(33,"ul",37)(34,"li")(35,"span",17),n(36,"pipelineComplete:"),i(),n(37),i(),c(38,at,4,1,"li")(39,lt,4,1,"li"),i()()(),c(40,pt,7,3,"div",34),i()),e&2){let t=l,r=d(2);a(22),I(r.stepTableRows_$()),a(7),C(t.phase),a(8),m(" ",t.pipelineComplete?"true":"false"," "),a(),p(t.serverRunning!==void 0?38:-1),a(),p(t.restartPending!==void 0?39:-1),a(),p(t.trimInfo?40:-1)}}function ct(e,l){if(e&1&&c(0,_t,41,5,"div",22),e&2){let t,r=d();p((t=r.liveDevPipeline_DS.pipelineStatus_$())?0:-1,t)}}var ue=(()=>{class e{snapshotTypeEnum=w;liveDevPipeline_DS=R(ce);stepTableRows_$=this.liveDevPipeline_DS.stepTableRows_$;isAutoRefreshEnabled_$=f(!1);expandedStepIds_$=f({});ngOnInit(){this.liveDevPipeline_DS.loadPage()}ngOnDestroy(){this.liveDevPipeline_DS.stopPolling()}handleSnapshotSelect(t){this.liveDevPipeline_DS.snapshotView_$()!==t&&(this.expandedStepIds_$.set({}),this.liveDevPipeline_DS.setSnapshotView(t))}handleStepExpandToggle(t){let r=t.stepId,s=this.expandedStepIds_$(),_=s[r]===!0,u=q(X({},s),{[r]:!_});this.expandedStepIds_$.set(u)}handleAutoRefreshChange(t){let r=t.target;if(r===null||!(r instanceof HTMLInputElement))return;let s=r.checked;this.isAutoRefreshEnabled_$.set(s),s?this.liveDevPipeline_DS.startPolling():this.liveDevPipeline_DS.stopPolling()}handleRefresh(){this.liveDevPipeline_DS.refresh()}handleRetryLoad(){this.liveDevPipeline_DS.refresh()}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=W({type:e,selectors:[["app-ccap-live-dev-pipeline"]],decls:50,vars:9,consts:[[1,"max-w-5xl","mx-auto","p-3","gt-xs:p-6","text-neutral-100"],[1,"text-xl","gt-xs:text-2xl","font-bold","mb-2","gt-xs:mb-3"],[1,"flex","flex-wrap","gap-3","gt-xs:gap-4","items-center","mb-3","gt-xs:mb-4","rounded-lg","border","border-neutral-700","bg-neutral-900/50","px-3","py-2","gt-xs:px-4","gt-xs:py-2.5","text-sm","text-neutral-300"],[1,"text-neutral-400","text-sm","gt-xs:text-base","mb-4","gt-xs:mb-6"],[1,"bg-neutral-800","px-1","rounded"],[1,"font-medium","text-neutral-300"],[1,"border","border-neutral-700","rounded-lg","px-3","py-3","gt-xs:px-4","gt-xs:py-3","mb-4","gt-xs:mb-5"],[1,"text-xs","gt-xs:text-sm","font-medium","text-neutral-400","px-1"],[1,"flex","flex-wrap","gap-4","gt-xs:gap-6","items-center"],[1,"flex","items-center","gap-2","cursor-pointer","text-sm","gt-xs:text-base","text-neutral-300","select-none"],["type","radio","name","liveDevPipelineSnapshot",1,"border-neutral-600","bg-neutral-800","text-neonCyan","focus:ring-neonCyan",3,"change","value","checked"],[1,"text-xs"],[1,"flex","flex-wrap","gap-4","gt-xs:gap-6","items-center","mb-4","gt-xs:mb-5"],["type","button",1,"px-3","py-1.5","gt-xs:px-4","gt-xs:py-2","text-sm","gt-xs:text-base","border","border-neonCyan","rounded","text-neutral-300","hover:bg-neutral-700","disabled:opacity-50","transition-colors",3,"click","disabled"],["type","checkbox",1,"rounded","border-neutral-600","bg-neutral-800","text-neonCyan","focus:ring-neonCyan",3,"change","checked"],[1,"text-neutral-400"],[1,"rounded-lg","border","border-amber-600/50","bg-amber-950/30","px-4","py-3","text-amber-100","text-sm","gt-xs:text-base","max-w-3xl"],[1,"text-neutral-500"],["sourceLabelOverride","Live Development Pipeline",1,"mb-4","block","max-w-3xl",3,"error"],["type","button",1,"px-3","py-1.5","text-sm","border","border-neonCyan","rounded","text-neutral-300","hover:bg-neutral-700","transition-colors",3,"click"],[1,"font-medium","text-amber-200","mb-1"],[1,"text-neutral-300","whitespace-pre-wrap"],[1,"flex","flex-col","gap-4","gt-xs:gap-6"],[1,"rounded-lg","border","border-neutral-700","overflow-hidden"],[1,"text-sm","font-semibold","text-neutral-400","uppercase","tracking-wide","px-3","py-2","bg-neutral-900/60","border-b","border-neutral-700"],[1,"overflow-x-auto"],[1,"w-full","text-left","text-sm","text-neutral-300"],[1,"bg-neutral-900/80","text-neutral-400","text-xs","uppercase"],["scope","col",1,"px-1","py-2","w-10","font-medium"],[1,"sr-only"],["scope","col",1,"px-3","py-2","font-medium"],["scope","col",1,"px-3","py-2","font-medium","hidden","sm:table-cell"],["scope","col",1,"px-3","py-2","font-medium","hidden","md:table-cell"],[1,"grid","grid-cols-1","sm:grid-cols-2","gap-3","gt-xs:gap-4"],[1,"rounded-lg","border","border-neutral-700","bg-neutral-900/40","p-3","gt-xs:p-4"],[1,"text-sm","font-semibold","text-neutral-400","uppercase","tracking-wide","mb-2"],[1,"text-lg","font-mono","text-ccapAccent"],[1,"text-sm","text-neutral-300","space-y-1"],[1,"border-t","border-neutral-800","hover:bg-neutral-800/40"],[1,"px-1","py-2","align-middle","w-10"],["type","button",1,"p-1.5","rounded-md","text-neutral-400","hover:text-ccapAccent","hover:bg-neutral-800","transition-colors","focus:outline-none","focus:ring-2","focus:ring-neonCyan/50",3,"click"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"w-4","h-4","shrink-0","transition-transform","duration-150"],["points","6 9 12 15 18 9"],[1,"px-3","py-2","font-mono","text-ccapAccent"],[1,"px-3","py-2"],[3,"ngClass"],[1,"ml-1.5","rounded","px-1.5","py-0.5","text-xs","font-medium","bg-red-900/30","text-red-300"],["aria-hidden","true",1,"ml-1.5","inline-block","w-2.5","h-2.5","rounded-full","align-middle",3,"class"],[1,"px-3","py-2","font-mono"],[1,"px-3","py-2","font-mono","text-xs","hidden","sm:table-cell"],[1,"px-3","py-2","text-xs","hidden","md:table-cell","align-top"],[1,"border-t","border-neutral-800","bg-neutral-950/50"],["aria-hidden","true",1,"ml-1.5","inline-block","w-2.5","h-2.5","rounded-full","align-middle"],[1,"text-neutral-500","mt-1","flex","items-center","gap-1.5"],["aria-hidden","true",1,"inline-block","w-2","h-2","rounded-full"],[1,"font-mono","font-semibold"],["colspan","6",1,"p-0","align-top"],[1,"px-3","py-4","gt-xs:px-5","gt-xs:py-5","border-t","border-neutral-800/80","space-y-4"],["aria-label","Step meta"],[1,"text-xs","font-semibold","text-neutral-500","uppercase","tracking-wide","mb-2"],[1,"grid","grid-cols-1","sm:grid-cols-2","gap-x-4","gap-y-1","text-sm","text-neutral-300"],[1,"font-mono"],[1,"font-mono","text-xs"],["aria-label","Test results"],["aria-label","Coverage"],["aria-label","Pipeline log errors"],["aria-label","Test failures"],["aria-label","Step failed hint"],[1,"break-all"],[1,"text-sm","text-neutral-300","space-y-1","list-none","pl-0"],[1,"text-xs","font-semibold","text-cyan-300/90","uppercase","tracking-wide","mb-2"],[1,"grid","grid-cols-2","sm:grid-cols-4","gap-2","gt-xs:gap-3","max-w-3xl"],[1,"rounded-md","border","border-cyan-900/50","bg-neutral-900/60","px-2","py-2","gt-xs:px-3","gt-xs:py-2.5"],[1,"text-[10px]","gt-xs:text-xs","font-medium","text-neutral-500","uppercase","tracking-wide","mb-1","flex","items-center","gap-1.5"],[1,"text-lg","gt-xs:text-xl","font-mono","font-semibold"],[1,"text-[10px]","gt-xs:text-xs","text-neutral-500","mt-0.5","font-mono"],[1,"text-xs","font-semibold","text-red-300","uppercase","tracking-wide","mb-2"],[1,"list-none","space-y-2","text-sm","text-red-100/95"],[1,"border-l-2","border-red-600/50","pl-2","whitespace-pre-wrap","break-words"],[1,"text-sm","text-red-100/95","border-l-2","border-red-600/50","pl-2"]],template:function(r,s){if(r&1&&(o(0,"div",0)(1,"h1",1),n(2,"Live Development Pipeline"),i(),c(3,Te,5,4,"div",2),o(4,"p",3),n(5," Dev pipeline meta a szerver "),o(6,"code",4),n(7,"logs/live-dev-pipeline/status.json"),i(),n(8," f\xE1jlj\xE1b\xF3l; az "),o(9,"strong",5),n(10,"El\u0151z\u0151 fut\xE1s"),i(),n(11," opci\xF3 a "),o(12,"code",4),n(13,"status-previous.json"),i(),n(14," snapshot-ot t\xF6lti. Alapb\xF3l nincs periodikus lek\xE9r\xE9s; a "),o(15,"strong",5),n(16,"Friss\xEDt\xE9s"),i(),n(17," gomb azonnali \xFAjrat\xF6lt\xE9st k\xE9r. Opcion\xE1lisan bekapcsolhat\xF3 automatikus friss\xEDt\xE9s kb. percenk\xE9nt. A "),o(18,"strong",5),n(19,"pipeline step"),i(),n(20," sorok lenyithat\xF3k \u2014 r\xE9szletes meta, teszt, coverage \xE9s hiba inf\xF3 a sor alatt. "),i(),o(21,"fieldset",6)(22,"legend",7),n(23,"Megjelen\xEDtett snapshot"),i(),o(24,"div",8)(25,"label",9)(26,"input",10),E("change",function(){return s.handleSnapshotSelect(s.snapshotTypeEnum.current)}),i(),o(27,"span"),n(28,"Aktu\xE1lis ("),o(29,"code",11),n(30,"status.json"),i(),n(31,")"),i()(),o(32,"label",9)(33,"input",10),E("change",function(){return s.handleSnapshotSelect(s.snapshotTypeEnum.previous)}),i(),o(34,"span"),n(35,"El\u0151z\u0151 fut\xE1s ("),o(36,"code",11),n(37,"status-previous.json"),i(),n(38,")"),i()()()(),o(39,"div",12)(40,"button",13),E("click",function(){return s.handleRefresh()}),n(41),i(),o(42,"label",9)(43,"input",14),E("change",function(u){return s.handleAutoRefreshChange(u)}),i(),o(44,"span"),n(45,"Automatikus friss\xEDt\xE9s (kb. percenk\xE9nt)"),i()()(),c(46,Le,3,1)(47,we,2,0,"p",15)(48,$e,5,1,"div",16)(49,ct,1,1),i()),r&2){let _;a(3),p((_=s.liveDevPipeline_DS.pipelineStatus_$())?3:-1,_),a(23),b("value",s.snapshotTypeEnum.current)("checked",s.liveDevPipeline_DS.snapshotView_$()===s.snapshotTypeEnum.current),a(7),b("value",s.snapshotTypeEnum.previous)("checked",s.liveDevPipeline_DS.snapshotView_$()===s.snapshotTypeEnum.previous),a(7),b("disabled",s.liveDevPipeline_DS.loading_$()),a(),m(" ",s.liveDevPipeline_DS.loading_$()?"Bet\xF6lt\xE9s\u2026":"Friss\xEDt\xE9s"," "),a(2),b("checked",s.isAutoRefreshEnabled_$()),a(3),p(s.liveDevPipeline_DS.loadError_$()?46:s.liveDevPipeline_DS.loading_$()&&!s.liveDevPipeline_DS.pipelineStatus_$()?47:s.liveDevPipeline_DS.unavailableReason_$()&&!s.liveDevPipeline_DS.pipelineStatus_$()?48:49)}},dependencies:[ae,M,pe,de],encapsulation:2})}return e})();var mt=[{path:"",pathMatch:"full",component:ue}],Nt=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Y({type:e});static \u0275inj=U({imports:[le,re.forChild(mt),M]})}return e})();export{Nt as LiveDevPipeline_Module};
2
- //# sourceMappingURL=live-dev-pipeline.module-CWOXURFE.js.map
1
+ import{a as de}from"./chunk-ODQXZPME.js";import{a as se}from"./chunk-PB5GJJMR.js";import"./chunk-UUJ5VF4E.js";import{k as M}from"./chunk-IN2UAFFX.js";import"./chunk-5UPNU54P.js";import"./chunk-WHJDIPTM.js";import{p as Ce}from"./chunk-GLY7XIEO.js";import{$a as h,C as R,D as W,E as Y,Fa as n,G as Z,Ga as C,Ha as m,Ia as F,J as B,Ja as N,K as z,Kb as re,L as ee,M as te,Ya as ne,Z as a,a as X,aa as f,ab as O,b as q,bb as L,da as c,fa as P,ga as b,h as fe,hb as oe,ia as ie,ja as y,k as J,la as p,mb as ae,oa as $,pa as I,qa as o,ra as i,sa as T,ua as H,ub as le,va as E,wa as d,y as Q,z as U}from"./chunk-TBMJSIBB.js";var k=class e{static classifyTier(l){return typeof l!="number"||!isFinite(l)?"teal":l<50?"red":l<60?"amber":l<75?"teal":"green"}static getTextClass(l){switch(e.classifyTier(l)){case"red":return"text-red-400";case"amber":return"text-amber-300";case"teal":return"text-cyan-200";case"green":return"text-green-400"}}static getDotClass(l){switch(e.classifyTier(l)){case"red":return"bg-red-500";case"amber":return"bg-amber-400";case"teal":return"bg-cyan-400";case"green":return"bg-green-500"}}};var pe=(()=>{class e{transform(t,r){return r==="dot"?k.getDotClass(t):k.getTextClass(t)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Z({name:"ccapCoverageTierClass",type:e,pure:!0,standalone:!0})}return e})();var w=function(e){return e.current="current",e.previous="previous",e}(w||{});var _e=fe(Ce());var j=class e{static buildExpandDetail(l){let t=l.snapPrefix,r=l.stepId,s=l.step,_=`${t}-detail-${r}`,u=[];if(s.errors!==void 0&&s.errors.length>0)for(let S=0;S<s.errors.length;S++){let v=s.errors[S],A=v.line!==void 0?`Line ${v.line}: `:"";u.push({rowId:`${_}-log-${S}`,text:`${A}${v.text}`}),v.details!==void 0&&v.details.length>0&&u.push({rowId:`${_}-log-${S}-details`,text:v.details})}let g=[],x=s.testSummary?.failures;if(x!==void 0&&x>0){let S=s.testSummary?.passed,v=s.testSummary?.totalSpecs,A=s.logLineStart!==void 0&&s.logLineEnd!==void 0?`Log lines ${s.logLineStart}\u2013${s.logLineEnd}.`:"",ve=`${x} spec(s) failed.`+(S!==void 0&&v!==void 0?` Passed ${S} / ${v} total.`:"");g.push({rowId:`${_}-spec-0`,text:ve}),A.length>0&&g.push({rowId:`${_}-spec-1`,text:A})}let D=s.errors!==void 0&&s.errors.length>0,V=x!==void 0&&x>0,K=null;s.status==="failed"&&!D&&!V&&(K=s.logLineStart!==void 0&&s.logLineEnd!==void 0?`See log lines ${s.logLineStart}\u2013${s.logLineEnd}.`:"See pipeline output log for details.");let xe=e.buildCoverageMetrics({baseId:_,coverage:s.testSummary?.coverage});return{logErrorRows:u,testFailureRows:g,failedStatusHint:K,coverageMetrics:xe}}static buildCoverageMetrics(l){let t=l.coverage,r=l.baseId;if(t===void 0)return[];let s={statements:"Statements",branches:"Branches",functions:"Functions",lines:"Lines"},_=["statements","branches","functions","lines"],u=[];for(let g of _){let x=t[g];if(x===void 0||typeof x.pct!="number"||typeof x.covered!="number"||typeof x.total!="number")continue;let D=String(g),V=s[D]!==void 0?s[D]:D;u.push({metricId:`${r}-cov-${D}`,label:V,pct:x.pct,covered:x.covered,total:x.total})}return u}};var ce=(()=>{class e{snapshotView_$=f(w.current);pipelineStatus_$=f(null);unavailableReason_$=f(null);loading_$=f(!1);loadError_$=f(null);stepTableRows_$=oe(()=>{let t=this.pipelineStatus_$(),r=this.snapshotView_$();if(!t?.steps)return[];let s=Object.keys(t.steps);return s.sort((_,u)=>{let g=t.steps[_].logLineStart??Number.MAX_SAFE_INTEGER,x=t.steps[u].logLineStart??Number.MAX_SAFE_INTEGER;return g-x}),s.map(_=>{let u=t.steps[_];return{stepId:_,step:u,detail:j.buildExpandDetail({snapPrefix:r,stepId:_,step:u})}})});intervalId=null;pollIntervalMs=_e.minute;serverStatus_AS=R(se);isPreviousSnapshotSelected(){return this.snapshotView_$()===w.previous}loadLiveDevPipelineStatus(t){return J(this,null,function*(){let r=t?.showSpinner!==!1;r&&this.loading_$.set(!0),this.loadError_$.set(null);try{let s=yield this.serverStatus_AS.getLiveDevPipelineStatus({isPrevious:this.isPreviousSnapshotSelected()});this.pipelineStatus_$.set(s.pipelineStatus),this.unavailableReason_$.set(s.unavailableReason)}catch(s){this.loadError_$.set(s),this.pipelineStatus_$.set(null),this.unavailableReason_$.set(null)}finally{r&&this.loading_$.set(!1)}})}setSnapshotView(t){this.snapshotView_$.set(t),this.loadLiveDevPipelineStatus({showSpinner:!0})}loadPage(){this.loadLiveDevPipelineStatus({showSpinner:!0})}startPolling(){this.stopPolling(),this.loadLiveDevPipelineStatus({showSpinner:!1}),this.intervalId=setInterval(()=>{this.loadLiveDevPipelineStatus({showSpinner:!1})},this.pollIntervalMs)}stopPolling(){this.intervalId!==null&&(clearInterval(this.intervalId),this.intervalId=null)}refresh(){this.loadLiveDevPipelineStatus({showSpinner:!0})}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Se=(e,l)=>l.stepId,he=(e,l)=>l.metricId,me=(e,l)=>l.rowId,be=(e,l,t,r)=>({"rounded px-2 py-0.5 text-xs font-medium":!0,"bg-green-900/50 text-green-200":e,"bg-red-900/50 text-red-200":l,"bg-amber-900/50 text-amber-200":t,"bg-neutral-800 text-neutral-200":r});function Ee(e,l){if(e&1&&(o(0,"span")(1,"span",17),n(2,"version:"),i(),n(3),i()),e&2){let t=d();a(3),m(" ",t.version,"")}}function De(e,l){if(e&1&&(o(0,"span")(1,"span",17),n(2,"pid:"),i(),n(3),i()),e&2){let t=d();a(3),m(" ",t.pid,"")}}function Pe(e,l){if(e&1&&(o(0,"span")(1,"span",17),n(2,"totalDurationSec:"),i(),n(3),i()),e&2){let t=d();a(3),m(" ",t.totalDurationSec,"")}}function ye(e,l){if(e&1&&(o(0,"span")(1,"span",17),n(2,"startedAt:"),i(),o(3,"span"),n(4),h(5,"ccapRelativeTime"),i()()),e&2){let t=d();a(3),P("title",t.startedAt),a(),C(O(5,2,t.startedAt))}}function Te(e,l){if(e&1&&(o(0,"div",2),c(1,Ee,4,1,"span")(2,De,4,1,"span")(3,Pe,4,1,"span")(4,ye,6,4,"span"),i()),e&2){let t=l;a(),p(t.version?1:-1),a(),p(t.pid!==void 0?2:-1),a(),p(t.totalDurationSec!==void 0&&t.totalDurationSec!==null?3:-1),a(),p(t.startedAt?4:-1)}}function Le(e,l){if(e&1){let t=H();T(0,"app-ccap-error-display",18),o(1,"button",19),E("click",function(){B(t);let s=d();return z(s.handleRetryLoad())}),n(2," \xDAjrapr\xF3b\xE1l\xE1s "),i()}if(e&2){let t=d();b("error",t.liveDevPipeline_DS.loadError_$())}}function we(e,l){e&1&&(o(0,"p",15),n(1,"Bet\xF6lt\xE9s\u2026"),i())}function $e(e,l){if(e&1&&(o(0,"div",16)(1,"p",20),n(2,"Pipeline status nem el\xE9rhet\u0151"),i(),o(3,"p",21),n(4),i()()),e&2){let t=d();a(4),C(t.liveDevPipeline_DS.unavailableReason_$())}}function Ie(e,l){if(e&1&&(o(0,"span",46),n(1),i()),e&2){let t=d().$implicit;a(),F(" ",t.step.errors.length," issue",t.step.errors.length>1?"s":""," ")}}function Fe(e,l){if(e&1&&(T(0,"span",52),h(1,"ccapCoverageTierClass")),e&2){let t=l;y(L(1,3,t.pct,"dot")),P("title","coverage lines: "+t.pct+"%")}}function ke(e,l){if(e&1&&n(0),e&2){let t=d().$implicit;m(" ",t.step.durationSec," ")}}function Ae(e,l){e&1&&n(0," \u2014 ")}function Re(e,l){if(e&1&&n(0),e&2){let t=d().$implicit;F(" ",t.step.logLineStart,"\u2013",t.step.logLineEnd," ")}}function Me(e,l){e&1&&n(0," \u2014 ")}function je(e,l){if(e&1&&(o(0,"div"),n(1),i()),e&2){let t,r=d(2).$implicit;a(),N("specs: ",(t=r.step.testSummary.passed)!==null&&t!==void 0?t:"\u2014"," / ",r.step.testSummary.totalSpecs," (fail: ",(t=r.step.testSummary.failures)!==null&&t!==void 0?t:0,")")}}function Ve(e,l){if(e&1&&(o(0,"div",17),n(1),i()),e&2){let t=d(2).$implicit;a(),m("duration: ",t.step.testSummary.testDurationSec,"s")}}function Be(e,l){if(e&1&&(o(0,"div",53),T(1,"span",54),h(2,"ccapCoverageTierClass"),o(3,"span"),n(4,"lines:"),i(),o(5,"span",55),h(6,"ccapCoverageTierClass"),n(7),i()()),e&2){let t=l;a(),y(L(2,5,t.pct,"dot")),a(4),y(L(6,8,t.pct,"text")),a(2),m(" ",t.pct,"% ")}}function ze(e,l){if(e&1&&c(0,je,2,3,"div")(1,Ve,2,1,"div",17)(2,Be,8,11,"div",53),e&2){let t,r=d().$implicit;p(r.step.testSummary.totalSpecs!==void 0?0:-1),a(),p(r.step.testSummary.testDurationSec!==void 0?1:-1),a(),p((t=r.step.testSummary.coverage==null?null:r.step.testSummary.coverage.lines)?2:-1,t)}}function He(e,l){e&1&&n(0," \u2014 ")}function Ne(e,l){if(e&1&&(o(0,"dt",17),n(1,"startedAt"),i(),o(2,"dd",68),n(3),h(4,"ccapRelativeTime"),i()),e&2){let t=d(2).$implicit;a(2),P("title",t.step.startedAt),a(),m(" ",O(4,2,t.step.startedAt)," ")}}function Oe(e,l){if(e&1&&n(0),e&2){let t=d(2).$implicit;m(" ",t.step.durationSec," ")}}function Ge(e,l){e&1&&n(0," \u2014 ")}function Ke(e,l){if(e&1&&n(0),e&2){let t=d(2).$implicit;F(" ",t.step.logLineStart,"\u2013",t.step.logLineEnd," ")}}function Xe(e,l){e&1&&n(0," \u2014 ")}function qe(e,l){if(e&1&&(o(0,"li")(1,"span",17),n(2,"specs:"),i(),n(3),i()),e&2){let t,r=d(3).$implicit;a(3),N(" passed ",(t=r.step.testSummary.passed)!==null&&t!==void 0?t:"\u2014"," / total ",r.step.testSummary.totalSpecs," (failures ",(t=r.step.testSummary.failures)!==null&&t!==void 0?t:0,") ")}}function Je(e,l){if(e&1&&(o(0,"li")(1,"span",17),n(2,"test run duration:"),i(),n(3),i()),e&2){let t=d(3).$implicit;a(3),m(" ",t.step.testSummary.testDurationSec,"s ")}}function Qe(e,l){if(e&1&&(o(0,"section",63)(1,"h3",59),n(2," Test results "),i(),o(3,"ul",69),c(4,qe,4,3,"li")(5,Je,4,1,"li"),i()()),e&2){let t=d(2).$implicit;a(4),p(t.step.testSummary.totalSpecs!==void 0?4:-1),a(),p(t.step.testSummary.testDurationSec!==void 0?5:-1)}}function Ue(e,l){if(e&1&&(o(0,"div",72)(1,"p",73),T(2,"span",54),h(3,"ccapCoverageTierClass"),o(4,"span"),n(5),i()(),o(6,"p",74),h(7,"ccapCoverageTierClass"),n(8),i(),o(9,"p",75),n(10),i()()),e&2){let t=l.$implicit;a(2),y(L(3,8,t.pct,"dot")),a(3),C(t.label),a(),y(L(7,11,t.pct,"text")),a(2),m(" ",t.pct,"% "),a(2),F(" ",t.covered," / ",t.total," ")}}function We(e,l){if(e&1&&(o(0,"section",64)(1,"h3",70),n(2," Coverage "),i(),o(3,"div",71),$(4,Ue,11,14,"div",72,he),i()()),e&2){let t=d(2).$implicit;a(4),I(t.detail.coverageMetrics)}}function Ye(e,l){if(e&1&&(o(0,"li",78),n(1),i()),e&2){let t=l.$implicit;a(),m(" ",t.text," ")}}function Ze(e,l){if(e&1&&(o(0,"section",65)(1,"h3",76),n(2," Pipeline log errors "),i(),o(3,"ul",77),$(4,Ye,2,1,"li",78,me),i()()),e&2){let t=d(2).$implicit;a(4),I(t.detail.logErrorRows)}}function et(e,l){if(e&1&&(o(0,"li",78),n(1),i()),e&2){let t=l.$implicit;a(),m(" ",t.text," ")}}function tt(e,l){if(e&1&&(o(0,"section",66)(1,"h3",76),n(2," Test failures "),i(),o(3,"ul",77),$(4,et,2,1,"li",78,me),i()()),e&2){let t=d(2).$implicit;a(4),I(t.detail.testFailureRows)}}function it(e,l){if(e&1&&(o(0,"section",67)(1,"h3",76),n(2," Status failed "),i(),o(3,"p",79),n(4),i()()),e&2){let t=d(2).$implicit;a(4),m(" ",t.detail.failedStatusHint," ")}}function nt(e,l){if(e&1&&(o(0,"tr",51)(1,"td",56)(2,"div",57)(3,"section",58)(4,"h3",59),n(5,"Meta"),i(),o(6,"dl",60),c(7,Ne,5,4),o(8,"dt",17),n(9,"durationSec"),i(),o(10,"dd",61),c(11,Oe,1,1)(12,Ge,1,0),i(),o(13,"dt",17),n(14,"log lines (output.log)"),i(),o(15,"dd",62),c(16,Ke,1,2)(17,Xe,1,0),i()()(),c(18,Qe,6,2,"section",63)(19,We,6,0,"section",64)(20,Ze,6,0,"section",65)(21,tt,6,0,"section",66)(22,it,5,1,"section",67),i()()()),e&2){let t=d().$implicit;a(2),P("id","ldp-detail-"+t.stepId),a(5),p(t.step.startedAt?7:-1),a(4),p(t.step.durationSec!==void 0&&t.step.durationSec!==null?11:12),a(5),p(t.step.logLineStart!==void 0&&t.step.logLineEnd!==void 0?16:17),a(2),p(t.step.testSummary?18:-1),a(),p(t.detail.coverageMetrics.length>0?19:-1),a(),p(t.detail.logErrorRows.length>0?20:-1),a(),p(t.detail.testFailureRows.length>0?21:-1),a(),p(t.detail.failedStatusHint?22:-1)}}function ot(e,l){if(e&1){let t=H();o(0,"tr",38)(1,"td",39)(2,"button",40),E("click",function(){let s=B(t).$implicit,_=d(3);return z(_.handleStepExpandToggle({stepId:s.stepId}))}),ee(),o(3,"svg",41),T(4,"polyline",42),i()()(),te(),o(5,"td",43),n(6),i(),o(7,"td",44)(8,"span",45),n(9),i(),c(10,Ie,2,2,"span",46)(11,Fe,2,6,"span",47),i(),o(12,"td",48),c(13,ke,1,1)(14,Ae,1,0),i(),o(15,"td",49),c(16,Re,1,2)(17,Me,1,0),i(),o(18,"td",50),c(19,ze,3,3)(20,He,1,0),i()(),c(21,nt,23,9,"tr",51)}if(e&2){let t,r=l.$implicit,s=d(3);a(2),P("aria-expanded",s.expandedStepIds_$()[r.stepId]===!0)("aria-controls","ldp-detail-"+r.stepId)("aria-label","R\xE9szletek: "+r.stepId),a(),ie("-rotate-90",s.expandedStepIds_$()[r.stepId]!==!0),a(3),C(r.stepId),a(2),b("ngClass",ne(14,be,r.step.status==="ok",r.step.status==="failed",r.step.status==="running",r.step.status!=="ok"&&r.step.status!=="failed"&&r.step.status!=="running")),a(),m(" ",r.step.status," "),a(),p(r.step.status==="failed"&&(r.step.errors!=null&&r.step.errors.length)?10:-1),a(),p((t=r.step.testSummary==null||r.step.testSummary.coverage==null?null:r.step.testSummary.coverage.lines)?11:-1,t),a(2),p(r.step.durationSec!==void 0&&r.step.durationSec!==null?13:14),a(3),p(r.step.logLineStart!==void 0&&r.step.logLineEnd!==void 0?16:17),a(3),p(r.step.testSummary?19:20),a(2),p(s.expandedStepIds_$()[r.stepId]?21:-1)}}function at(e,l){if(e&1&&(o(0,"li")(1,"span",17),n(2,"serverRunning:"),i(),n(3),i()),e&2){let t=d();a(3),m(" ",t.serverRunning?"true":"false"," ")}}function lt(e,l){if(e&1&&(o(0,"li")(1,"span",17),n(2,"restartPending:"),i(),n(3),i()),e&2){let t=d();a(3),m(" ",t.restartPending?"true":"false"," ")}}function rt(e,l){if(e&1&&(o(0,"dt",17),n(1,"trimmedAt"),i(),o(2,"dd",61),n(3),i()),e&2){let t=d(2);a(3),C(t.trimInfo.trimmedAt)}}function st(e,l){if(e&1&&(o(0,"dt",17),n(1,"removedLineCount"),i(),o(2,"dd"),n(3),i()),e&2){let t=d(2);a(3),C(t.trimInfo.removedLineCount)}}function dt(e,l){if(e&1&&(o(0,"dt",17),n(1,"fileLineCountAfterTrim"),i(),o(2,"dd"),n(3),i()),e&2){let t=d(2);a(3),C(t.trimInfo.fileLineCountAfterTrim)}}function pt(e,l){if(e&1&&(o(0,"div",34)(1,"h2",35),n(2,"trimInfo"),i(),o(3,"dl",60),c(4,rt,4,1)(5,st,4,1)(6,dt,4,1),i()()),e&2){let t=d();a(4),p(t.trimInfo.trimmedAt?4:-1),a(),p(t.trimInfo.removedLineCount!==void 0?5:-1),a(),p(t.trimInfo.fileLineCountAfterTrim!==void 0?6:-1)}}function _t(e,l){if(e&1&&(o(0,"div",22)(1,"div",23)(2,"h2",24),n(3," Pipeline steps "),i(),o(4,"div",25)(5,"table",26)(6,"thead",27)(7,"tr")(8,"th",28)(9,"span",29),n(10,"R\xE9szletek"),i()(),o(11,"th",30),n(12,"Step"),i(),o(13,"th",30),n(14,"Status"),i(),o(15,"th",30),n(16,"Duration (s)"),i(),o(17,"th",31),n(18,"Log lines"),i(),o(19,"th",32),n(20,"Tests / coverage"),i()()(),o(21,"tbody"),$(22,ot,22,19,null,null,Se),i()()()(),o(24,"div",33)(25,"div",34)(26,"h2",35),n(27,"Phase"),i(),o(28,"p",36),n(29),i()(),o(30,"div",34)(31,"h2",35),n(32,"Flags"),i(),o(33,"ul",37)(34,"li")(35,"span",17),n(36,"pipelineComplete:"),i(),n(37),i(),c(38,at,4,1,"li")(39,lt,4,1,"li"),i()()(),c(40,pt,7,3,"div",34),i()),e&2){let t=l,r=d(2);a(22),I(r.stepTableRows_$()),a(7),C(t.phase),a(8),m(" ",t.pipelineComplete?"true":"false"," "),a(),p(t.serverRunning!==void 0?38:-1),a(),p(t.restartPending!==void 0?39:-1),a(),p(t.trimInfo?40:-1)}}function ct(e,l){if(e&1&&c(0,_t,41,5,"div",22),e&2){let t,r=d();p((t=r.liveDevPipeline_DS.pipelineStatus_$())?0:-1,t)}}var ue=(()=>{class e{snapshotTypeEnum=w;liveDevPipeline_DS=R(ce);stepTableRows_$=this.liveDevPipeline_DS.stepTableRows_$;isAutoRefreshEnabled_$=f(!1);expandedStepIds_$=f({});ngOnInit(){this.liveDevPipeline_DS.loadPage()}ngOnDestroy(){this.liveDevPipeline_DS.stopPolling()}handleSnapshotSelect(t){this.liveDevPipeline_DS.snapshotView_$()!==t&&(this.expandedStepIds_$.set({}),this.liveDevPipeline_DS.setSnapshotView(t))}handleStepExpandToggle(t){let r=t.stepId,s=this.expandedStepIds_$(),_=s[r]===!0,u=q(X({},s),{[r]:!_});this.expandedStepIds_$.set(u)}handleAutoRefreshChange(t){let r=t.target;if(r===null||!(r instanceof HTMLInputElement))return;let s=r.checked;this.isAutoRefreshEnabled_$.set(s),s?this.liveDevPipeline_DS.startPolling():this.liveDevPipeline_DS.stopPolling()}handleRefresh(){this.liveDevPipeline_DS.refresh()}handleRetryLoad(){this.liveDevPipeline_DS.refresh()}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=W({type:e,selectors:[["app-ccap-live-dev-pipeline"]],decls:50,vars:9,consts:[[1,"max-w-5xl","mx-auto","p-3","gt-xs:p-6","text-neutral-100"],[1,"text-xl","gt-xs:text-2xl","font-bold","mb-2","gt-xs:mb-3"],[1,"flex","flex-wrap","gap-3","gt-xs:gap-4","items-center","mb-3","gt-xs:mb-4","rounded-lg","border","border-neutral-700","bg-neutral-900/50","px-3","py-2","gt-xs:px-4","gt-xs:py-2.5","text-sm","text-neutral-300"],[1,"text-neutral-400","text-sm","gt-xs:text-base","mb-4","gt-xs:mb-6"],[1,"bg-neutral-800","px-1","rounded"],[1,"font-medium","text-neutral-300"],[1,"border","border-neutral-700","rounded-lg","px-3","py-3","gt-xs:px-4","gt-xs:py-3","mb-4","gt-xs:mb-5"],[1,"text-xs","gt-xs:text-sm","font-medium","text-neutral-400","px-1"],[1,"flex","flex-wrap","gap-4","gt-xs:gap-6","items-center"],[1,"flex","items-center","gap-2","cursor-pointer","text-sm","gt-xs:text-base","text-neutral-300","select-none"],["type","radio","name","liveDevPipelineSnapshot",1,"border-neutral-600","bg-neutral-800","text-neonCyan","focus:ring-neonCyan",3,"change","value","checked"],[1,"text-xs"],[1,"flex","flex-wrap","gap-4","gt-xs:gap-6","items-center","mb-4","gt-xs:mb-5"],["type","button",1,"px-3","py-1.5","gt-xs:px-4","gt-xs:py-2","text-sm","gt-xs:text-base","border","border-neonCyan","rounded","text-neutral-300","hover:bg-neutral-700","disabled:opacity-50","transition-colors",3,"click","disabled"],["type","checkbox",1,"rounded","border-neutral-600","bg-neutral-800","text-neonCyan","focus:ring-neonCyan",3,"change","checked"],[1,"text-neutral-400"],[1,"rounded-lg","border","border-amber-600/50","bg-amber-950/30","px-4","py-3","text-amber-100","text-sm","gt-xs:text-base","max-w-3xl"],[1,"text-neutral-500"],["sourceLabelOverride","Live Development Pipeline",1,"mb-4","block","max-w-3xl",3,"error"],["type","button",1,"px-3","py-1.5","text-sm","border","border-neonCyan","rounded","text-neutral-300","hover:bg-neutral-700","transition-colors",3,"click"],[1,"font-medium","text-amber-200","mb-1"],[1,"text-neutral-300","whitespace-pre-wrap"],[1,"flex","flex-col","gap-4","gt-xs:gap-6"],[1,"rounded-lg","border","border-neutral-700","overflow-hidden"],[1,"text-sm","font-semibold","text-neutral-400","uppercase","tracking-wide","px-3","py-2","bg-neutral-900/60","border-b","border-neutral-700"],[1,"overflow-x-auto"],[1,"w-full","text-left","text-sm","text-neutral-300"],[1,"bg-neutral-900/80","text-neutral-400","text-xs","uppercase"],["scope","col",1,"px-1","py-2","w-10","font-medium"],[1,"sr-only"],["scope","col",1,"px-3","py-2","font-medium"],["scope","col",1,"px-3","py-2","font-medium","hidden","sm:table-cell"],["scope","col",1,"px-3","py-2","font-medium","hidden","md:table-cell"],[1,"grid","grid-cols-1","sm:grid-cols-2","gap-3","gt-xs:gap-4"],[1,"rounded-lg","border","border-neutral-700","bg-neutral-900/40","p-3","gt-xs:p-4"],[1,"text-sm","font-semibold","text-neutral-400","uppercase","tracking-wide","mb-2"],[1,"text-lg","font-mono","text-ccapAccent"],[1,"text-sm","text-neutral-300","space-y-1"],[1,"border-t","border-neutral-800","hover:bg-neutral-800/40"],[1,"px-1","py-2","align-middle","w-10"],["type","button",1,"p-1.5","rounded-md","text-neutral-400","hover:text-ccapAccent","hover:bg-neutral-800","transition-colors","focus:outline-none","focus:ring-2","focus:ring-neonCyan/50",3,"click"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"w-4","h-4","shrink-0","transition-transform","duration-150"],["points","6 9 12 15 18 9"],[1,"px-3","py-2","font-mono","text-ccapAccent"],[1,"px-3","py-2"],[3,"ngClass"],[1,"ml-1.5","rounded","px-1.5","py-0.5","text-xs","font-medium","bg-red-900/30","text-red-300"],["aria-hidden","true",1,"ml-1.5","inline-block","w-2.5","h-2.5","rounded-full","align-middle",3,"class"],[1,"px-3","py-2","font-mono"],[1,"px-3","py-2","font-mono","text-xs","hidden","sm:table-cell"],[1,"px-3","py-2","text-xs","hidden","md:table-cell","align-top"],[1,"border-t","border-neutral-800","bg-neutral-950/50"],["aria-hidden","true",1,"ml-1.5","inline-block","w-2.5","h-2.5","rounded-full","align-middle"],[1,"text-neutral-500","mt-1","flex","items-center","gap-1.5"],["aria-hidden","true",1,"inline-block","w-2","h-2","rounded-full"],[1,"font-mono","font-semibold"],["colspan","6",1,"p-0","align-top"],[1,"px-3","py-4","gt-xs:px-5","gt-xs:py-5","border-t","border-neutral-800/80","space-y-4"],["aria-label","Step meta"],[1,"text-xs","font-semibold","text-neutral-500","uppercase","tracking-wide","mb-2"],[1,"grid","grid-cols-1","sm:grid-cols-2","gap-x-4","gap-y-1","text-sm","text-neutral-300"],[1,"font-mono"],[1,"font-mono","text-xs"],["aria-label","Test results"],["aria-label","Coverage"],["aria-label","Pipeline log errors"],["aria-label","Test failures"],["aria-label","Step failed hint"],[1,"break-all"],[1,"text-sm","text-neutral-300","space-y-1","list-none","pl-0"],[1,"text-xs","font-semibold","text-cyan-300/90","uppercase","tracking-wide","mb-2"],[1,"grid","grid-cols-2","sm:grid-cols-4","gap-2","gt-xs:gap-3","max-w-3xl"],[1,"rounded-md","border","border-cyan-900/50","bg-neutral-900/60","px-2","py-2","gt-xs:px-3","gt-xs:py-2.5"],[1,"text-[10px]","gt-xs:text-xs","font-medium","text-neutral-500","uppercase","tracking-wide","mb-1","flex","items-center","gap-1.5"],[1,"text-lg","gt-xs:text-xl","font-mono","font-semibold"],[1,"text-[10px]","gt-xs:text-xs","text-neutral-500","mt-0.5","font-mono"],[1,"text-xs","font-semibold","text-red-300","uppercase","tracking-wide","mb-2"],[1,"list-none","space-y-2","text-sm","text-red-100/95"],[1,"border-l-2","border-red-600/50","pl-2","whitespace-pre-wrap","break-words"],[1,"text-sm","text-red-100/95","border-l-2","border-red-600/50","pl-2"]],template:function(r,s){if(r&1&&(o(0,"div",0)(1,"h1",1),n(2,"Live Development Pipeline"),i(),c(3,Te,5,4,"div",2),o(4,"p",3),n(5," Dev pipeline meta a szerver "),o(6,"code",4),n(7,"logs/live-dev-pipeline/status.json"),i(),n(8," f\xE1jlj\xE1b\xF3l; az "),o(9,"strong",5),n(10,"El\u0151z\u0151 fut\xE1s"),i(),n(11," opci\xF3 a "),o(12,"code",4),n(13,"status-previous.json"),i(),n(14," snapshot-ot t\xF6lti. Alapb\xF3l nincs periodikus lek\xE9r\xE9s; a "),o(15,"strong",5),n(16,"Friss\xEDt\xE9s"),i(),n(17," gomb azonnali \xFAjrat\xF6lt\xE9st k\xE9r. Opcion\xE1lisan bekapcsolhat\xF3 automatikus friss\xEDt\xE9s kb. percenk\xE9nt. A "),o(18,"strong",5),n(19,"pipeline step"),i(),n(20," sorok lenyithat\xF3k \u2014 r\xE9szletes meta, teszt, coverage \xE9s hiba inf\xF3 a sor alatt. "),i(),o(21,"fieldset",6)(22,"legend",7),n(23,"Megjelen\xEDtett snapshot"),i(),o(24,"div",8)(25,"label",9)(26,"input",10),E("change",function(){return s.handleSnapshotSelect(s.snapshotTypeEnum.current)}),i(),o(27,"span"),n(28,"Aktu\xE1lis ("),o(29,"code",11),n(30,"status.json"),i(),n(31,")"),i()(),o(32,"label",9)(33,"input",10),E("change",function(){return s.handleSnapshotSelect(s.snapshotTypeEnum.previous)}),i(),o(34,"span"),n(35,"El\u0151z\u0151 fut\xE1s ("),o(36,"code",11),n(37,"status-previous.json"),i(),n(38,")"),i()()()(),o(39,"div",12)(40,"button",13),E("click",function(){return s.handleRefresh()}),n(41),i(),o(42,"label",9)(43,"input",14),E("change",function(u){return s.handleAutoRefreshChange(u)}),i(),o(44,"span"),n(45,"Automatikus friss\xEDt\xE9s (kb. percenk\xE9nt)"),i()()(),c(46,Le,3,1)(47,we,2,0,"p",15)(48,$e,5,1,"div",16)(49,ct,1,1),i()),r&2){let _;a(3),p((_=s.liveDevPipeline_DS.pipelineStatus_$())?3:-1,_),a(23),b("value",s.snapshotTypeEnum.current)("checked",s.liveDevPipeline_DS.snapshotView_$()===s.snapshotTypeEnum.current),a(7),b("value",s.snapshotTypeEnum.previous)("checked",s.liveDevPipeline_DS.snapshotView_$()===s.snapshotTypeEnum.previous),a(7),b("disabled",s.liveDevPipeline_DS.loading_$()),a(),m(" ",s.liveDevPipeline_DS.loading_$()?"Bet\xF6lt\xE9s\u2026":"Friss\xEDt\xE9s"," "),a(2),b("checked",s.isAutoRefreshEnabled_$()),a(3),p(s.liveDevPipeline_DS.loadError_$()?46:s.liveDevPipeline_DS.loading_$()&&!s.liveDevPipeline_DS.pipelineStatus_$()?47:s.liveDevPipeline_DS.unavailableReason_$()&&!s.liveDevPipeline_DS.pipelineStatus_$()?48:49)}},dependencies:[ae,M,pe,de],encapsulation:2})}return e})();var mt=[{path:"",pathMatch:"full",component:ue}],Nt=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Y({type:e});static \u0275inj=U({imports:[le,re.forChild(mt),M]})}return e})();export{Nt as LiveDevPipeline_Module};
2
+ //# sourceMappingURL=live-dev-pipeline.module-EAH5255G.js.map
@@ -1,5 +1,5 @@
1
- import{a as Z}from"./chunk-OFWL36K2.js";import"./chunk-U7KCQYK3.js";import{a as v}from"./chunk-BOKJPFNS.js";import{j as K,k as S}from"./chunk-XN7YOYCH.js";import"./chunk-5UPNU54P.js";import"./chunk-QEMMWIWJ.js";import{I as J}from"./chunk-5AVCLDUF.js";import{$a as z,C as m,D as F,E as j,Fa as l,Ga as f,Ha as b,Hb as Y,J as $,K as R,Kb as H,L as N,Z as i,a as k,aa as _,ab as U,b as O,da as h,ga as c,hb as T,ia as L,k as y,ka as P,la as x,oa as M,p as E,pa as B,qa as s,ra as r,sa as g,ua as w,ub as V,va as u,wa as d,xb as G,y as C,z as A}from"./chunk-TBMJSIBB.js";var X=(()=>{class o{baseUrl=`${J.api.baseUrl}/logs`;http=m(G);getLlmDebugLog(){let e=`${this.baseUrl}/get-entries`;return E(this.http.get(e))}clearLlmDebugLog(){let e=`${this.baseUrl}/clear-log`;return E(this.http.delete(e))}deleteRun(e){let n=`${this.baseUrl}/delete-run/${e}`;return E(this.http.delete(n))}static \u0275fac=function(n){return new(n||o)};static \u0275prov=C({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var W=(()=>{class o{entries_$=_([]);loading_$=_(!1);loadError_$=_(null);logs_AS=m(X);loadLlmDebugLog(){return y(this,null,function*(){this.loading_$.set(!0),this.loadError_$.set(null);try{let e=yield this.logs_AS.getLlmDebugLog();this.entries_$.set(e.entries??[])}catch(e){this.loadError_$.set(e),this.entries_$.set([])}finally{this.loading_$.set(!1)}})}clearLog(){return y(this,null,function*(){this.loadError_$.set(null);try{yield this.logs_AS.clearLlmDebugLog(),yield this.loadLlmDebugLog()}catch(e){this.loadError_$.set(e)}})}deleteRun(e){return y(this,null,function*(){this.loadError_$.set(null);try{yield this.logs_AS.deleteRun(e),yield this.loadLlmDebugLog()}catch(n){this.loadError_$.set(n)}})}static \u0275fac=function(n){return new(n||o)};static \u0275prov=C({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function Q(o,p){if(o&1&&g(0,"app-ccap-error-display",8),o&2){let e=d();c("error",e.logs_DS.loadError_$())}}function ee(o,p){o&1&&(s(0,"p",9),l(1,"Bet\xF6lt\xE9s\u2026"),r())}function te(o,p){o&1&&(s(0,"p",10),l(1,"Nincs log bejegyz\xE9s, vagy a f\xE1jl log nincs enged\xE9lyezve."),r())}function ne(o,p){if(o&1){let e=w();s(0,"div",15),g(1,"span",31),s(2,"span",32),l(3),r(),s(4,"button",33),u("click",function(){$(e);let t=d().$index,a=d(2);return R(a.deleteRun(a.getRunIndexForEntry(t)))}),l(5," T\xF6rl\xE9s "),r(),g(6,"span",31),r()}if(o&2){let e=d().$index,n=d(2);i(3),b("Run ",n.getRunIndexForEntry(e),""),i(),c("disabled",n.logs_DS.loading_$())}}function oe(o,p){if(o&1&&(s(0,"span",20),l(1),r()),o&2){let e=d().$implicit,n=d(2);i(),f(n.getLineRangeText(e))}}function ie(o,p){if(o&1&&(s(0,"span",21),l(1),z(2,"ccapRelativeTime"),r()),o&2){let e=d().$implicit;i(),b(" \xC9rkezett: ",U(2,1,e.timestamp),"")}}function re(o,p){if(o&1&&(s(0,"div",30)(1,"pre",34),l(2),r()()),o&2){let e=d().$implicit,n=d(2);i(),L("text-red-200",n.isErrorEntry(e))("text-neutral-300",!n.isErrorEntry(e)),i(),f(n.formatBody(e))}}function se(o,p){if(o&1){let e=w();h(0,ne,7,2,"div",15),s(1,"div",16)(2,"div",17)(3,"div",18)(4,"span",19),l(5),r(),h(6,oe,2,1,"span",20)(7,ie,3,3,"span",21),g(8,"app-s-copy-button",22),r(),s(9,"div",23)(10,"span",24),l(11),r(),s(12,"p",25),l(13),r()()(),s(14,"div",26)(15,"button",27),u("click",function(){let t=$(e).$index,a=d(2);return R(a.toggleExpanded(t))}),N(),s(16,"svg",28),g(17,"polyline",29),r(),l(18),r(),h(19,re,3,5,"div",30),r()()}if(o&2){let e=p.$implicit,n=p.$index,t=d(2);x(t.isRunStart(e)?0:-1),i(),L("border-neonCyan",t.toolResultIndexSet_$().has(n))("shadow-neon-glow-cyan",t.toolResultIndexSet_$().has(n))("border-neonOrange",(t.errorRelatedIndexSet_$().has(n)||t.isErrorEntry(e))&&!t.toolResultIndexSet_$().has(n))("shadow-neon-glow-orange",(t.errorRelatedIndexSet_$().has(n)||t.isErrorEntry(e))&&!t.toolResultIndexSet_$().has(n))("border-neonDefault",!t.toolResultIndexSet_$().has(n)&&!t.errorRelatedIndexSet_$().has(n)&&!t.isErrorEntry(e)),i(4),f(t.getEntryEmoji(e)),i(),x(t.getLineRangeText(e)?6:-1),i(),x(e.timestamp?7:-1),i(),c("content",t.getEntryReferenceText(e))("buttonTitle",t.getCopyButtonTitle(e)),i(3),f(t.getEntryEmoji(e)),i(2),f(e.header),i(3),L("-rotate-90",!t.isExpanded(n)),i(2),b(" ",t.isExpanded(n)?"Body elrejt\xE9se":"Body megjelen\xEDt\xE9se"," "),i(),x(t.isExpanded(n)?19:-1)}}function le(o,p){if(o&1&&(s(0,"div",11),M(1,se,20,22,"div",14,P().trackByIndex,!0),r()),o&2){let e=d();i(),B(e.logs_DS.entries_$())}}var ae={ANALYZE:"\u{1F4CB}",AGENTIC_LOOP:"\u{1F916}",TOOL_DESCRIPTION:"\u{1F527}",TOOL_RESULT:"\u{1F4E4}",TOOL_RESULT_CHUNKING:"\u2702\uFE0F",TOOL_ERROR_RETRY:"\u26A0\uFE0F",Run_FINALIZATION:"\u{1F3C1}",CHAT_HISTORY_COMPACTING:"\u{1F4DC}",EXECUTION_HISTORY_COMPACTING:"\u{1F4DC}",SOUL_COMPACTING:"\u{1F9E0}",CONTEXT_COMPACTING:"\u{1F5C2}\uFE0F",SELECT_RELEVANT_CHUNKS:"\u{1F50D}"},de="\u{1F4E5}",q=(()=>{class o{logs_DS=m(W);expandedIndex_$=_({});errorRelatedIndexSet_$=T(()=>{let e=this.logs_DS.entries_$(),n=new Set;for(let t=0;t<e.length;t++)this.isErrorRelatedEntry(e[t])&&n.add(t);return n});toolResultIndexSet_$=T(()=>{let e=this.logs_DS.entries_$(),n=new Set;for(let t=0;t<e.length;t++)this.isToolResultEntry(e[t])&&n.add(t);return n});ngOnInit(){this.logs_DS.loadLlmDebugLog()}refresh(){this.logs_DS.loadLlmDebugLog()}isExpanded(e){return this.expandedIndex_$()[e]===!0}toggleExpanded(e){this.expandedIndex_$.update(n=>O(k({},n),{[e]:!n[e]}))}expandAll(){let e=this.logs_DS.entries_$(),n={};for(let t=0;t<e.length;t++)n[t]=!0;this.expandedIndex_$.set(n)}collapseAll(){this.expandedIndex_$.set({})}expandResultsOnly(){let e=this.logs_DS.entries_$(),n={};for(let t=0;t<e.length;t++)this.isResultContentEntry(e[t])&&(n[t]=!0);this.expandedIndex_$.set(n)}formatBody(e){let n=e.body?.trim()??"";if(!n)return"";if(e.bodyIsJson===!0||n.startsWith("{")){let t=K.tryParseStrict({text:e.body,contextLabel:"CCAP_Logs_formatBody"});return t.ok?JSON.stringify(t.value,null,2).replace(/\\n/g,`
1
+ import{a as Z}from"./chunk-ODQXZPME.js";import"./chunk-UUJ5VF4E.js";import{a as v}from"./chunk-7XUJIV75.js";import{j as K,k as S}from"./chunk-IN2UAFFX.js";import"./chunk-5UPNU54P.js";import"./chunk-WHJDIPTM.js";import{I as J}from"./chunk-GLY7XIEO.js";import{$a as z,C as m,D as F,E as j,Fa as l,Ga as f,Ha as b,Hb as Y,J as $,K as R,Kb as H,L as N,Z as i,a as k,aa as _,ab as U,b as O,da as h,ga as c,hb as T,ia as L,k as y,ka as P,la as x,oa as M,p as E,pa as B,qa as s,ra as r,sa as g,ua as w,ub as V,va as u,wa as d,xb as G,y as C,z as A}from"./chunk-TBMJSIBB.js";var X=(()=>{class o{baseUrl=`${J.api.baseUrl}/logs`;http=m(G);getLlmDebugLog(){let e=`${this.baseUrl}/get-entries`;return E(this.http.get(e))}clearLlmDebugLog(){let e=`${this.baseUrl}/clear-log`;return E(this.http.delete(e))}deleteRun(e){let n=`${this.baseUrl}/delete-run/${e}`;return E(this.http.delete(n))}static \u0275fac=function(n){return new(n||o)};static \u0275prov=C({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var W=(()=>{class o{entries_$=_([]);loading_$=_(!1);loadError_$=_(null);logs_AS=m(X);loadLlmDebugLog(){return y(this,null,function*(){this.loading_$.set(!0),this.loadError_$.set(null);try{let e=yield this.logs_AS.getLlmDebugLog();this.entries_$.set(e.entries??[])}catch(e){this.loadError_$.set(e),this.entries_$.set([])}finally{this.loading_$.set(!1)}})}clearLog(){return y(this,null,function*(){this.loadError_$.set(null);try{yield this.logs_AS.clearLlmDebugLog(),yield this.loadLlmDebugLog()}catch(e){this.loadError_$.set(e)}})}deleteRun(e){return y(this,null,function*(){this.loadError_$.set(null);try{yield this.logs_AS.deleteRun(e),yield this.loadLlmDebugLog()}catch(n){this.loadError_$.set(n)}})}static \u0275fac=function(n){return new(n||o)};static \u0275prov=C({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function Q(o,p){if(o&1&&g(0,"app-ccap-error-display",8),o&2){let e=d();c("error",e.logs_DS.loadError_$())}}function ee(o,p){o&1&&(s(0,"p",9),l(1,"Bet\xF6lt\xE9s\u2026"),r())}function te(o,p){o&1&&(s(0,"p",10),l(1,"Nincs log bejegyz\xE9s, vagy a f\xE1jl log nincs enged\xE9lyezve."),r())}function ne(o,p){if(o&1){let e=w();s(0,"div",15),g(1,"span",31),s(2,"span",32),l(3),r(),s(4,"button",33),u("click",function(){$(e);let t=d().$index,a=d(2);return R(a.deleteRun(a.getRunIndexForEntry(t)))}),l(5," T\xF6rl\xE9s "),r(),g(6,"span",31),r()}if(o&2){let e=d().$index,n=d(2);i(3),b("Run ",n.getRunIndexForEntry(e),""),i(),c("disabled",n.logs_DS.loading_$())}}function oe(o,p){if(o&1&&(s(0,"span",20),l(1),r()),o&2){let e=d().$implicit,n=d(2);i(),f(n.getLineRangeText(e))}}function ie(o,p){if(o&1&&(s(0,"span",21),l(1),z(2,"ccapRelativeTime"),r()),o&2){let e=d().$implicit;i(),b(" \xC9rkezett: ",U(2,1,e.timestamp),"")}}function re(o,p){if(o&1&&(s(0,"div",30)(1,"pre",34),l(2),r()()),o&2){let e=d().$implicit,n=d(2);i(),L("text-red-200",n.isErrorEntry(e))("text-neutral-300",!n.isErrorEntry(e)),i(),f(n.formatBody(e))}}function se(o,p){if(o&1){let e=w();h(0,ne,7,2,"div",15),s(1,"div",16)(2,"div",17)(3,"div",18)(4,"span",19),l(5),r(),h(6,oe,2,1,"span",20)(7,ie,3,3,"span",21),g(8,"app-s-copy-button",22),r(),s(9,"div",23)(10,"span",24),l(11),r(),s(12,"p",25),l(13),r()()(),s(14,"div",26)(15,"button",27),u("click",function(){let t=$(e).$index,a=d(2);return R(a.toggleExpanded(t))}),N(),s(16,"svg",28),g(17,"polyline",29),r(),l(18),r(),h(19,re,3,5,"div",30),r()()}if(o&2){let e=p.$implicit,n=p.$index,t=d(2);x(t.isRunStart(e)?0:-1),i(),L("border-neonCyan",t.toolResultIndexSet_$().has(n))("shadow-neon-glow-cyan",t.toolResultIndexSet_$().has(n))("border-neonOrange",(t.errorRelatedIndexSet_$().has(n)||t.isErrorEntry(e))&&!t.toolResultIndexSet_$().has(n))("shadow-neon-glow-orange",(t.errorRelatedIndexSet_$().has(n)||t.isErrorEntry(e))&&!t.toolResultIndexSet_$().has(n))("border-neonDefault",!t.toolResultIndexSet_$().has(n)&&!t.errorRelatedIndexSet_$().has(n)&&!t.isErrorEntry(e)),i(4),f(t.getEntryEmoji(e)),i(),x(t.getLineRangeText(e)?6:-1),i(),x(e.timestamp?7:-1),i(),c("content",t.getEntryReferenceText(e))("buttonTitle",t.getCopyButtonTitle(e)),i(3),f(t.getEntryEmoji(e)),i(2),f(e.header),i(3),L("-rotate-90",!t.isExpanded(n)),i(2),b(" ",t.isExpanded(n)?"Body elrejt\xE9se":"Body megjelen\xEDt\xE9se"," "),i(),x(t.isExpanded(n)?19:-1)}}function le(o,p){if(o&1&&(s(0,"div",11),M(1,se,20,22,"div",14,P().trackByIndex,!0),r()),o&2){let e=d();i(),B(e.logs_DS.entries_$())}}var ae={ANALYZE:"\u{1F4CB}",AGENTIC_LOOP:"\u{1F916}",TOOL_DESCRIPTION:"\u{1F527}",TOOL_RESULT:"\u{1F4E4}",TOOL_RESULT_CHUNKING:"\u2702\uFE0F",TOOL_ERROR_RETRY:"\u26A0\uFE0F",Run_FINALIZATION:"\u{1F3C1}",CHAT_HISTORY_COMPACTING:"\u{1F4DC}",EXECUTION_HISTORY_COMPACTING:"\u{1F4DC}",SOUL_COMPACTING:"\u{1F9E0}",CONTEXT_COMPACTING:"\u{1F5C2}\uFE0F",SELECT_RELEVANT_CHUNKS:"\u{1F50D}"},de="\u{1F4E5}",q=(()=>{class o{logs_DS=m(W);expandedIndex_$=_({});errorRelatedIndexSet_$=T(()=>{let e=this.logs_DS.entries_$(),n=new Set;for(let t=0;t<e.length;t++)this.isErrorRelatedEntry(e[t])&&n.add(t);return n});toolResultIndexSet_$=T(()=>{let e=this.logs_DS.entries_$(),n=new Set;for(let t=0;t<e.length;t++)this.isToolResultEntry(e[t])&&n.add(t);return n});ngOnInit(){this.logs_DS.loadLlmDebugLog()}refresh(){this.logs_DS.loadLlmDebugLog()}isExpanded(e){return this.expandedIndex_$()[e]===!0}toggleExpanded(e){this.expandedIndex_$.update(n=>O(k({},n),{[e]:!n[e]}))}expandAll(){let e=this.logs_DS.entries_$(),n={};for(let t=0;t<e.length;t++)n[t]=!0;this.expandedIndex_$.set(n)}collapseAll(){this.expandedIndex_$.set({})}expandResultsOnly(){let e=this.logs_DS.entries_$(),n={};for(let t=0;t<e.length;t++)this.isResultContentEntry(e[t])&&(n[t]=!0);this.expandedIndex_$.set(n)}formatBody(e){let n=e.body?.trim()??"";if(!n)return"";if(e.bodyIsJson===!0||n.startsWith("{")){let t=K.tryParseStrict({text:e.body,contextLabel:"CCAP_Logs_formatBody"});return t.ok?JSON.stringify(t.value,null,2).replace(/\\n/g,`
2
2
  `).replace(/\\t/g," "):e.body}return e.body}trackByIndex(e){return e}isRunStart(e){let n=e.header??"";return n.includes("[LLM] ANALYZE")&&n.includes("full conversation")}isErrorEntry(e){return e.isError===!0?!0:(e.header??"").includes("[ERROR]")}isErrorRelatedEntry(e){return((e.header??"").match(/\[LLM\]\s+([A-Z_]+)\s+\|/)?.[1]??"")==="TOOL_ERROR_RETRY"}isToolResultEntry(e){return(e.header??"").includes("[LLM] TOOL_RESULT")}getEntryEmoji(e){let n=e.header??"";if(n.includes("[ERROR]"))return"\u274C";let a=n.match(/\[LLM\]\s+([A-Z_]+)\s+\|/)?.[1]??"";return ae[a]??de}getLineRangeText(e){let n=e.startLine,t=e.endLine;return n==null||t==null?"":n===t?`sor ${n}`:`sor ${n}\u2013${t}`}isResultContentEntry(e){return(e.header??"").includes("result content")}getEntryReferenceText(e){let n=e.header??"",t=this.getLineRangeText(e),a=t?`${n} (${t})`:n;if(this.isResultContentEntry(e)){let D=this.formatBody(e);if(D)return`${a}
3
3
 
4
4
  ${D}`}return a}getCopyButtonTitle(e){return this.isResultContentEntry(e)?"Elem \xE9s tartalom m\xE1sol\xE1sa":"Elem neve \xE9s sor tartom\xE1ny m\xE1sol\xE1sa"}getRunIndexForEntry(e){let n=this.logs_DS.entries_$(),t=0;for(let a=0;a<=e&&a<n.length;a++)this.isRunStart(n[a])&&t++;return t>0?t-1:0}clearLog(){this.logs_DS.clearLog()}deleteRun(e){this.logs_DS.deleteRun(e)}static \u0275fac=function(n){return new(n||o)};static \u0275cmp=F({type:o,selectors:[["app-ccap-logs"]],decls:26,vars:8,consts:[[1,"max-w-4xl","mx-auto","p-3","gt-xs:p-6","text-neutral-100"],[1,"text-xl","gt-xs:text-2xl","font-bold","mb-4","gt-xs:mb-6"],[1,"text-neutral-400","text-sm","gt-xs:text-base","mb-4","gt-xs:mb-6"],[1,"bg-neutral-800","px-1","rounded"],[1,"flex","flex-wrap","gap-1.5","gt-xs:gap-2","items-center","mb-3","gt-xs:mb-4"],["type","button",1,"px-3","py-1.5","gt-xs:px-4","gt-xs:py-2","text-sm","gt-xs:text-base","border","border-neonCyan","rounded","text-neutral-300","hover:bg-neutral-700","disabled:opacity-50","transition-colors",3,"click","disabled"],["type","button",1,"px-3","py-1.5","gt-xs:px-4","gt-xs:py-2","text-sm","gt-xs:text-base","border","border-neonDefault","rounded","text-neutral-300","hover:bg-neutral-700","disabled:opacity-50","transition-colors",3,"click","disabled"],["type","button",1,"px-3","py-1.5","gt-xs:px-4","gt-xs:py-2","text-sm","gt-xs:text-base","border","border-red-500/70","rounded","text-red-200","hover:bg-red-900/60","disabled:opacity-50","transition-colors",3,"click","disabled"],["sourceLabelOverride","LLM debug log",1,"mb-4","block","max-w-3xl",3,"error"],[1,"text-neutral-400"],[1,"text-neutral-500"],[1,"space-y-2","gt-xs:space-y-3"],[1,"pt-6"],["routerLink","/",1,"px-4","py-2","border","border-neonCyan","rounded","text-neutral-300","hover:bg-neutral-700"],[1,"p-2.5","gt-xs:p-4","bg-neutral-800/50","border","rounded-lg",3,"border-neonCyan","shadow-neon-glow-cyan","border-neonOrange","shadow-neon-glow-orange","border-neonDefault"],["aria-hidden","true",1,"flex","items-center","gap-2","gt-xs:gap-3","py-2","gt-xs:py-4","min-w-0"],[1,"p-2.5","gt-xs:p-4","bg-neutral-800/50","border","rounded-lg"],[1,"min-w-0","flex","flex-col","gap-2","gt-xs:flex-row","gt-xs:items-start","gt-xs:justify-between","gt-xs:gap-2"],[1,"flex","flex-wrap","items-center","gap-x-1.5","gap-y-1","gt-xs:gap-2","order-1","gt-xs:order-2","gt-xs:ml-2","gt-xs:flex-nowrap","gt-xs:justify-end","w-full","gt-xs:w-auto","shrink-0"],["aria-hidden","true",1,"text-base","gt-xs:text-lg","shrink-0","gt-xs:hidden"],[1,"text-[11px]","gt-xs:text-xs","text-neutral-500","font-mono","whitespace-nowrap"],[1,"text-[11px]","gt-xs:text-xs","text-neutral-500","min-w-0","max-w-full","gt-xs:max-w-none"],[3,"content","buttonTitle"],[1,"flex","items-start","gap-2","min-w-0","flex-1","order-2","gt-xs:order-1","w-full","gt-xs:w-auto"],["aria-hidden","true",1,"text-base","gt-xs:text-lg","shrink-0","hidden","gt-xs:inline"],[1,"text-neutral-300","font-mono","text-xs","gt-xs:text-sm","break-all","min-w-0","w-full"],[1,"mt-1.5","gt-xs:mt-2"],["type","button",1,"text-neutral-400","hover:text-neutral-200","text-xs","gt-xs:text-sm","flex","items-center","gap-1",3,"click"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"w-3","h-3","shrink-0","transition-transform","duration-150"],["points","6 9 12 15 18 9"],["title","\xC1tm\xE9retezhet\u0151: h\xFAzd az als\xF3 jobb sz\xE9let",1,"ccap-logs-body-wrapper","mt-1","rounded","bg-neutral-900","resize-y","overflow-auto","min-h-32","max-h-[80vh]","h-96","border","border-neutral-700/50"],[1,"flex-1","min-w-0","h-px","border-t-2","border-neonCyan/60","shadow-neon-glow-cyan"],[1,"text-[11px]","gt-xs:text-xs","font-medium","uppercase","tracking-wider","text-neonCyan/90","px-2","py-0.5","gt-xs:px-3","gt-xs:py-1","shrink-0","rounded-full","border","border-neonCyan/50","bg-neutral-900/80","shadow-neon-glow-cyan"],["type","button",1,"px-1.5","py-0.5","gt-xs:px-2","gt-xs:py-1","text-[11px]","gt-xs:text-xs","border","border-red-500/70","rounded","text-red-300","hover:bg-red-900/40","disabled:opacity-50","transition-colors","shrink-0",3,"click","disabled"],[1,"p-1.5","gt-xs:p-2","h-full","min-h-0","overflow-auto","text-xs","font-mono","whitespace-pre-wrap","break-words"]],template:function(n,t){n&1&&(s(0,"div",0)(1,"h1",1),l(2,"LLM Debug Log"),r(),s(3,"p",2),l(4," A szerver "),s(5,"code",3),l(6,"logs/llm-debug.log"),r(),l(7," f\xE1jlj\xE1nak tartalma, bejegyz\xE9senk\xE9nt t\xF6rdelve. A body (JSON vagy sz\xF6veg) b\u0151v\xEDthet\u0151. "),r(),s(8,"div",4)(9,"button",5),u("click",function(){return t.refresh()}),l(10),r(),s(11,"button",6),u("click",function(){return t.expandAll()}),l(12," \xD6sszes kinyit\xE1sa "),r(),s(13,"button",6),u("click",function(){return t.collapseAll()}),l(14," \xD6sszes becsuk\xE1sa "),r(),s(15,"button",6),u("click",function(){return t.expandResultsOnly()}),l(16," Csak resultok kinyit\xE1sa "),r(),s(17,"button",7),u("click",function(){return t.clearLog()}),l(18," Log ki\xFCr\xEDt\xE9se "),r()(),h(19,Q,1,1,"app-ccap-error-display",8)(20,ee,2,0,"p",9)(21,te,2,0,"p",10)(22,le,3,0,"div",11),s(23,"div",12)(24,"a",13),l(25," Vissza "),r()()()),n&2&&(i(9),c("disabled",t.logs_DS.loading_$()),i(),b(" ",t.logs_DS.loading_$()?"Bet\xF6lt\xE9s\u2026":"Friss\xEDt\xE9s"," "),i(),c("disabled",t.logs_DS.loading_$()||t.logs_DS.entries_$().length===0),i(2),c("disabled",t.logs_DS.loading_$()||t.logs_DS.entries_$().length===0),i(2),c("disabled",t.logs_DS.loading_$()||t.logs_DS.entries_$().length===0),i(2),c("disabled",t.logs_DS.loading_$()||t.logs_DS.entries_$().length===0),i(2),x(t.logs_DS.loadError_$()?19:-1),i(),x(t.logs_DS.loading_$()&&t.logs_DS.entries_$().length===0?20:t.logs_DS.entries_$().length===0?21:22))},dependencies:[Y,S,v,Z],encapsulation:2})}return o})();var pe=[{path:"",pathMatch:"full",component:q}],Me=(()=>{class o{static \u0275fac=function(n){return new(n||o)};static \u0275mod=j({type:o});static \u0275inj=A({imports:[V,H.forChild(pe),S,v]})}return o})();export{Me as Logs_Module};
5
- //# sourceMappingURL=logs.module-LZA7HKW2.js.map
5
+ //# sourceMappingURL=logs.module-KONMW55W.js.map