@futdevpro/ccap 1.1.3371 → 1.1.3441

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 (238) hide show
  1. package/client-dist/{agent-instances.module-TPKOBI3N.js → agent-instances.module-4ADMPXCV.js} +2 -2
  2. package/client-dist/{ca.module-I5N6QWSU.js → ca.module-RVGC3WQC.js} +2 -2
  3. package/client-dist/{cc-usage-dashboard.component-7SPVADUQ.js → cc-usage-dashboard.component-OQS2BC4L.js} +2 -2
  4. package/client-dist/{cc.module-7IL3QO5Q.js → cc.module-SPB35JNX.js} +2 -2
  5. package/client-dist/{chunk-77YTUUCR.js → chunk-2ATSF4KC.js} +2 -2
  6. package/client-dist/{chunk-RYD462IO.js → chunk-3HJWN4W6.js} +2 -2
  7. package/client-dist/{chunk-GG2WP2KM.js → chunk-4EV32FFZ.js} +2 -2
  8. package/client-dist/{chunk-UD4PV7CD.js → chunk-4H3E32UH.js} +2 -2
  9. package/client-dist/{chunk-BH3GMEZZ.js → chunk-4LCJ4GNK.js} +2 -2
  10. package/client-dist/{chunk-KX2KGHQZ.js → chunk-5NW5UGVZ.js} +2 -2
  11. package/client-dist/{chunk-BJ4I73WC.js → chunk-AM5URSKV.js} +2 -2
  12. package/client-dist/{chunk-U3Y5GO6O.js → chunk-AMROWQBM.js} +2 -2
  13. package/client-dist/{chunk-LCKABD2M.js → chunk-AR6EOT63.js} +2 -2
  14. package/client-dist/{chunk-U64N3LCA.js → chunk-B25EGDHU.js} +2 -2
  15. package/client-dist/{chunk-44TWBJUK.js → chunk-BQTJHETS.js} +2 -2
  16. package/client-dist/{chunk-657E66YR.js → chunk-COOWEMEW.js} +2 -2
  17. package/client-dist/{chunk-E6WOJOGT.js → chunk-E3JXFFHE.js} +2 -2
  18. package/client-dist/{chunk-LIGODF4I.js → chunk-ESIGVRCK.js} +2 -2
  19. package/client-dist/{chunk-CAMM4S7P.js → chunk-EVMDNGBK.js} +2 -2
  20. package/client-dist/{chunk-26YUXPZI.js → chunk-F6VMAVI5.js} +2 -2
  21. package/client-dist/chunk-FRVRMJQF.js +2 -0
  22. package/client-dist/chunk-FRVRMJQF.js.map +7 -0
  23. package/client-dist/{chunk-W7HIS2QA.js → chunk-GBOES7QW.js} +2 -2
  24. package/client-dist/{chunk-DXF2FJLD.js → chunk-GTERKRTR.js} +2 -2
  25. package/client-dist/{chunk-SK3XGSYF.js → chunk-HD4CODAD.js} +2 -2
  26. package/client-dist/{chunk-L2XJGYW4.js → chunk-I3FSMGMK.js} +2 -2
  27. package/client-dist/{chunk-5YDHEFSD.js → chunk-IFYHOOVA.js} +2 -2
  28. package/client-dist/{chunk-C4FOSX27.js → chunk-IUAZJ3PT.js} +2 -2
  29. package/client-dist/{chunk-XFXMWTQS.js → chunk-IVLMVAVJ.js} +2 -2
  30. package/client-dist/{chunk-3G2ZGV66.js → chunk-KBMXCICX.js} +2 -2
  31. package/client-dist/{chunk-5RLDT3NY.js → chunk-KIKSSJKL.js} +2 -2
  32. package/client-dist/{chunk-OLLHHMTV.js → chunk-LPNQ5PRN.js} +2 -2
  33. package/client-dist/{chunk-OKUYYDGV.js → chunk-MO37SUK2.js} +2 -2
  34. package/client-dist/{chunk-OCNDLQG5.js → chunk-MYVEHPA7.js} +2 -2
  35. package/client-dist/{chunk-PW5BAINL.js → chunk-N55GOFVU.js} +2 -2
  36. package/client-dist/{chunk-IHNAAEA2.js → chunk-NNUHTCXG.js} +2 -2
  37. package/client-dist/{chunk-7VY64KMU.js → chunk-OKTAADTQ.js} +2 -2
  38. package/client-dist/{chunk-4EOSKDXN.js → chunk-ONS7XQYD.js} +2 -2
  39. package/client-dist/{chunk-4JL2Q6FO.js → chunk-OYB7GU43.js} +2 -2
  40. package/client-dist/{chunk-A33MCHYC.js → chunk-PVSQ5ZEZ.js} +14 -14
  41. package/client-dist/{chunk-A33MCHYC.js.map → chunk-PVSQ5ZEZ.js.map} +3 -3
  42. package/client-dist/{chunk-TFB7ULAV.js → chunk-PZN2OI7U.js} +2 -2
  43. package/client-dist/{chunk-VRG74DKK.js → chunk-QUD3BEHN.js} +2 -2
  44. package/client-dist/{chunk-QQ2GRU2N.js → chunk-QUEYZI42.js} +2 -2
  45. package/client-dist/{chunk-XWYXBY7S.js → chunk-R2IBKJ4K.js} +2 -2
  46. package/client-dist/{chunk-4FK2D2PX.js → chunk-RAHCHCWR.js} +2 -2
  47. package/client-dist/{chunk-J5INQQ5M.js → chunk-RCCUSGIN.js} +2 -2
  48. package/client-dist/{chunk-CU5YQ2M4.js → chunk-RL5LPTPO.js} +2 -2
  49. package/client-dist/{chunk-7CMPZXAO.js → chunk-SDVXPGB7.js} +2 -2
  50. package/client-dist/{chunk-UVVGFHUG.js → chunk-TNLHQRL7.js} +2 -2
  51. package/client-dist/{chunk-25KTNALK.js → chunk-TWK7BOB7.js} +2 -2
  52. package/client-dist/{chunk-OS5KCUZD.js → chunk-U62YECNK.js} +2 -2
  53. package/client-dist/{chunk-VOFDBT5T.js → chunk-UOC6UYZT.js} +2 -2
  54. package/client-dist/{chunk-C2BQQRVH.js → chunk-VDQROW6J.js} +2 -2
  55. package/client-dist/{chunk-UM7AS2IW.js → chunk-VMXIXZV2.js} +2 -2
  56. package/client-dist/chunk-VQ4GBHH7.js +2 -0
  57. package/client-dist/chunk-VQ4GBHH7.js.map +7 -0
  58. package/client-dist/{chunk-6BYNIFJY.js → chunk-WRI37SX4.js} +2 -2
  59. package/client-dist/{chunk-LMK3IOKN.js → chunk-XLSL262Q.js} +2 -2
  60. package/client-dist/{chunk-RUSAMFGS.js → chunk-Y6V4NGLU.js} +2 -2
  61. package/client-dist/{chunk-RUSAMFGS.js.map → chunk-Y6V4NGLU.js.map} +1 -1
  62. package/client-dist/{chunk-PMJP2N4K.js → chunk-YN4H6MW2.js} +2 -2
  63. package/client-dist/{chunk-EDMLVG72.js → chunk-Z5FUR5ZW.js} +2 -2
  64. package/client-dist/{chunk-4PBNHSRW.js → chunk-ZCHMBEHT.js} +2 -2
  65. package/client-dist/{chunk-L42Z7YNK.js → chunk-ZPJ6KYMA.js} +2 -2
  66. package/client-dist/{consultant.module-HHTHUWRL.js → consultant.module-UWXLFLDS.js} +2 -2
  67. package/client-dist/{crd.module-ER6AHSX5.js → crd.module-2I2BDC3A.js} +2 -2
  68. package/client-dist/{dashboard.module-TSNGGBCI.js → dashboard.module-X2A6LOTA.js} +2 -2
  69. package/client-dist/{do.module-NMZD5VSM.js → do.module-CJWEKZ4L.js} +2 -2
  70. package/client-dist/{document-library.module-GHDNXP3T.js → document-library.module-WJSFZPA7.js} +2 -2
  71. package/client-dist/{embedding-eval.module-XPXBOIP5.js → embedding-eval.module-FOALIAQW.js} +2 -2
  72. package/client-dist/{embedding-registry.module-45TQGZI2.js → embedding-registry.module-SS646R4H.js} +2 -2
  73. package/client-dist/err.module-SR4ZAOQH.js +6 -0
  74. package/client-dist/err.module-SR4ZAOQH.js.map +7 -0
  75. package/client-dist/{feedback.module-TLKZ4B4N.js → feedback.module-T3MZQKXV.js} +2 -2
  76. package/client-dist/{host-runtime-mcp.module-HVJZN5R5.js → host-runtime-mcp.module-FBZZGQGD.js} +2 -2
  77. package/client-dist/index.html +2 -2
  78. package/client-dist/{live-dev-pipeline.module-5PE4ZFFW.js → live-dev-pipeline.module-OKQYFSJL.js} +2 -2
  79. package/client-dist/{logs.module-335EXKCD.js → logs.module-SHHOD5XW.js} +2 -2
  80. package/client-dist/{main-FRD6VXVH.js → main-L3WW2VTB.js} +3 -3
  81. package/client-dist/{master-control-remote-poc.module-ORHRUCZH.js → master-control-remote-poc.module-ITXHYU5K.js} +2 -2
  82. package/client-dist/{mobile-app.module-BYYNVKQR.js → mobile-app.module-Q3W3PU4O.js} +2 -2
  83. package/client-dist/{model-registry.module-KIHIJ2Z6.js → model-registry.module-DGN55LTQ.js} +2 -2
  84. package/client-dist/{oc.module-DAGIRW3Z.js → oc.module-DYSATWML.js} +2 -2
  85. package/client-dist/orc.module-NQO6OLPK.js +2 -0
  86. package/client-dist/orc.module-NQO6OLPK.js.map +7 -0
  87. package/client-dist/{project-management.module-IJNPSUQZ.js → project-management.module-T7NBKKSR.js} +2 -2
  88. package/client-dist/project-source-routed.module-YO54LEGN.js +2 -0
  89. package/client-dist/{scheduler.module-S3IKZCLL.js → scheduler.module-4CMBOTGZ.js} +2 -2
  90. package/client-dist/{session.module-FZC22UUN.js → session.module-V4SRPQRZ.js} +9 -9
  91. package/client-dist/{session.module-FZC22UUN.js.map → session.module-V4SRPQRZ.js.map} +3 -3
  92. package/client-dist/{set.module-Y2RHKW7A.js → set.module-32SVEWTG.js} +2 -2
  93. package/client-dist/{setup.module-VTI5EZ3Q.js → setup.module-5T6MCMR4.js} +2 -2
  94. package/client-dist/styles-CTUT42AQ.css +2 -0
  95. package/client-dist/{styles-MX7ZZMTH.css.map → styles-CTUT42AQ.css.map} +1 -1
  96. package/client-dist/{terminals.module-KHEDY6QN.js → terminals.module-AQO2TVO2.js} +2 -2
  97. package/client-dist/{voice-notes-poc.module-EMDLJJIT.js → voice-notes-poc.module-EI2HY7YJ.js} +2 -2
  98. package/client-dist/{wfs.module-LUTFNQG5.js → wfs.module-AHRZE5WB.js} +2 -2
  99. package/package.json +1 -1
  100. package/server/build/src/_modules/ccap-agent/_modules/agent-core/_modules/run/_services/control-services/run-flow.control-service.d.ts.map +1 -1
  101. package/server/build/src/_modules/ccap-agent/_modules/agent-core/_modules/run/_services/control-services/run-flow.control-service.js +8 -1
  102. package/server/build/src/_modules/ccap-agent/_modules/agent-core/_modules/run/_services/control-services/run-flow.control-service.js.map +1 -1
  103. package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/voc-mp3-id3-strip.util.d.ts +47 -0
  104. package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/voc-mp3-id3-strip.util.d.ts.map +1 -0
  105. package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/voc-mp3-id3-strip.util.js +100 -0
  106. package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/voc-mp3-id3-strip.util.js.map +1 -0
  107. package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/voc-mp3-id3-strip.util.spec.d.ts +2 -0
  108. package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/voc-mp3-id3-strip.util.spec.d.ts.map +1 -0
  109. package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/voc-mp3-id3-strip.util.spec.js +162 -0
  110. package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/voc-mp3-id3-strip.util.spec.js.map +1 -0
  111. package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_services/control-services/tts/voc-tts.control-service.d.ts.map +1 -1
  112. package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_services/control-services/tts/voc-tts.control-service.js +22 -4
  113. package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_services/control-services/tts/voc-tts.control-service.js.map +1 -1
  114. package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/cc-stream-parser.util.d.ts +17 -0
  115. package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/cc-stream-parser.util.d.ts.map +1 -1
  116. package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/cc-stream-parser.util.js +65 -5
  117. package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/cc-stream-parser.util.js.map +1 -1
  118. package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/cc-stream-parser.util.spec.d.ts +9 -0
  119. package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/cc-stream-parser.util.spec.d.ts.map +1 -0
  120. package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/cc-stream-parser.util.spec.js +213 -0
  121. package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/cc-stream-parser.util.spec.js.map +1 -0
  122. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-adapter.control-service.d.ts.map +1 -1
  123. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-adapter.control-service.js +8 -0
  124. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-adapter.control-service.js.map +1 -1
  125. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-adapter.interface.d.ts +10 -0
  126. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-adapter.interface.d.ts.map +1 -1
  127. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-manager.control-service.d.ts +39 -0
  128. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-manager.control-service.d.ts.map +1 -1
  129. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-manager.control-service.js +88 -0
  130. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-manager.control-service.js.map +1 -1
  131. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/status/cc-status-transition.control-service.d.ts +13 -0
  132. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/status/cc-status-transition.control-service.d.ts.map +1 -1
  133. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/status/cc-status-transition.control-service.js +39 -0
  134. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/status/cc-status-transition.control-service.js.map +1 -1
  135. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.d.ts.map +1 -1
  136. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.js +9 -0
  137. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.js.map +1 -1
  138. package/server/build/src/_modules/notification/_collections/utils/ntf-system-event.util.d.ts +10 -0
  139. package/server/build/src/_modules/notification/_collections/utils/ntf-system-event.util.d.ts.map +1 -1
  140. package/server/build/src/_modules/notification/_collections/utils/ntf-system-event.util.js +18 -0
  141. package/server/build/src/_modules/notification/_collections/utils/ntf-system-event.util.js.map +1 -1
  142. package/server/build/src/_modules/notification/_collections/utils/ntf-system-event.util.spec.js +32 -3
  143. package/server/build/src/_modules/notification/_collections/utils/ntf-system-event.util.spec.js.map +1 -1
  144. package/server/build/src/_modules/peer-instance/_services/pei-event-relay.control-service.spec.d.ts +15 -0
  145. package/server/build/src/_modules/peer-instance/_services/pei-event-relay.control-service.spec.d.ts.map +1 -0
  146. package/server/build/src/_modules/peer-instance/_services/pei-event-relay.control-service.spec.js +122 -0
  147. package/server/build/src/_modules/peer-instance/_services/pei-event-relay.control-service.spec.js.map +1 -0
  148. package/client-dist/chunk-3AG5X2MY.js +0 -2
  149. package/client-dist/chunk-3AG5X2MY.js.map +0 -7
  150. package/client-dist/chunk-CDNAFC73.js +0 -2
  151. package/client-dist/chunk-CDNAFC73.js.map +0 -7
  152. package/client-dist/err.module-GCKYDYCK.js +0 -6
  153. package/client-dist/err.module-GCKYDYCK.js.map +0 -7
  154. package/client-dist/orc.module-KZELL6XR.js +0 -2
  155. package/client-dist/orc.module-KZELL6XR.js.map +0 -7
  156. package/client-dist/project-source-routed.module-DP3RD454.js +0 -2
  157. package/client-dist/styles-MX7ZZMTH.css +0 -2
  158. /package/client-dist/{agent-instances.module-TPKOBI3N.js.map → agent-instances.module-4ADMPXCV.js.map} +0 -0
  159. /package/client-dist/{ca.module-I5N6QWSU.js.map → ca.module-RVGC3WQC.js.map} +0 -0
  160. /package/client-dist/{cc-usage-dashboard.component-7SPVADUQ.js.map → cc-usage-dashboard.component-OQS2BC4L.js.map} +0 -0
  161. /package/client-dist/{cc.module-7IL3QO5Q.js.map → cc.module-SPB35JNX.js.map} +0 -0
  162. /package/client-dist/{chunk-77YTUUCR.js.map → chunk-2ATSF4KC.js.map} +0 -0
  163. /package/client-dist/{chunk-RYD462IO.js.map → chunk-3HJWN4W6.js.map} +0 -0
  164. /package/client-dist/{chunk-GG2WP2KM.js.map → chunk-4EV32FFZ.js.map} +0 -0
  165. /package/client-dist/{chunk-UD4PV7CD.js.map → chunk-4H3E32UH.js.map} +0 -0
  166. /package/client-dist/{chunk-BH3GMEZZ.js.map → chunk-4LCJ4GNK.js.map} +0 -0
  167. /package/client-dist/{chunk-KX2KGHQZ.js.map → chunk-5NW5UGVZ.js.map} +0 -0
  168. /package/client-dist/{chunk-BJ4I73WC.js.map → chunk-AM5URSKV.js.map} +0 -0
  169. /package/client-dist/{chunk-U3Y5GO6O.js.map → chunk-AMROWQBM.js.map} +0 -0
  170. /package/client-dist/{chunk-LCKABD2M.js.map → chunk-AR6EOT63.js.map} +0 -0
  171. /package/client-dist/{chunk-U64N3LCA.js.map → chunk-B25EGDHU.js.map} +0 -0
  172. /package/client-dist/{chunk-44TWBJUK.js.map → chunk-BQTJHETS.js.map} +0 -0
  173. /package/client-dist/{chunk-657E66YR.js.map → chunk-COOWEMEW.js.map} +0 -0
  174. /package/client-dist/{chunk-E6WOJOGT.js.map → chunk-E3JXFFHE.js.map} +0 -0
  175. /package/client-dist/{chunk-LIGODF4I.js.map → chunk-ESIGVRCK.js.map} +0 -0
  176. /package/client-dist/{chunk-CAMM4S7P.js.map → chunk-EVMDNGBK.js.map} +0 -0
  177. /package/client-dist/{chunk-26YUXPZI.js.map → chunk-F6VMAVI5.js.map} +0 -0
  178. /package/client-dist/{chunk-W7HIS2QA.js.map → chunk-GBOES7QW.js.map} +0 -0
  179. /package/client-dist/{chunk-DXF2FJLD.js.map → chunk-GTERKRTR.js.map} +0 -0
  180. /package/client-dist/{chunk-SK3XGSYF.js.map → chunk-HD4CODAD.js.map} +0 -0
  181. /package/client-dist/{chunk-L2XJGYW4.js.map → chunk-I3FSMGMK.js.map} +0 -0
  182. /package/client-dist/{chunk-5YDHEFSD.js.map → chunk-IFYHOOVA.js.map} +0 -0
  183. /package/client-dist/{chunk-C4FOSX27.js.map → chunk-IUAZJ3PT.js.map} +0 -0
  184. /package/client-dist/{chunk-XFXMWTQS.js.map → chunk-IVLMVAVJ.js.map} +0 -0
  185. /package/client-dist/{chunk-3G2ZGV66.js.map → chunk-KBMXCICX.js.map} +0 -0
  186. /package/client-dist/{chunk-5RLDT3NY.js.map → chunk-KIKSSJKL.js.map} +0 -0
  187. /package/client-dist/{chunk-OLLHHMTV.js.map → chunk-LPNQ5PRN.js.map} +0 -0
  188. /package/client-dist/{chunk-OKUYYDGV.js.map → chunk-MO37SUK2.js.map} +0 -0
  189. /package/client-dist/{chunk-OCNDLQG5.js.map → chunk-MYVEHPA7.js.map} +0 -0
  190. /package/client-dist/{chunk-PW5BAINL.js.map → chunk-N55GOFVU.js.map} +0 -0
  191. /package/client-dist/{chunk-IHNAAEA2.js.map → chunk-NNUHTCXG.js.map} +0 -0
  192. /package/client-dist/{chunk-7VY64KMU.js.map → chunk-OKTAADTQ.js.map} +0 -0
  193. /package/client-dist/{chunk-4EOSKDXN.js.map → chunk-ONS7XQYD.js.map} +0 -0
  194. /package/client-dist/{chunk-4JL2Q6FO.js.map → chunk-OYB7GU43.js.map} +0 -0
  195. /package/client-dist/{chunk-TFB7ULAV.js.map → chunk-PZN2OI7U.js.map} +0 -0
  196. /package/client-dist/{chunk-VRG74DKK.js.map → chunk-QUD3BEHN.js.map} +0 -0
  197. /package/client-dist/{chunk-QQ2GRU2N.js.map → chunk-QUEYZI42.js.map} +0 -0
  198. /package/client-dist/{chunk-XWYXBY7S.js.map → chunk-R2IBKJ4K.js.map} +0 -0
  199. /package/client-dist/{chunk-4FK2D2PX.js.map → chunk-RAHCHCWR.js.map} +0 -0
  200. /package/client-dist/{chunk-J5INQQ5M.js.map → chunk-RCCUSGIN.js.map} +0 -0
  201. /package/client-dist/{chunk-CU5YQ2M4.js.map → chunk-RL5LPTPO.js.map} +0 -0
  202. /package/client-dist/{chunk-7CMPZXAO.js.map → chunk-SDVXPGB7.js.map} +0 -0
  203. /package/client-dist/{chunk-UVVGFHUG.js.map → chunk-TNLHQRL7.js.map} +0 -0
  204. /package/client-dist/{chunk-25KTNALK.js.map → chunk-TWK7BOB7.js.map} +0 -0
  205. /package/client-dist/{chunk-OS5KCUZD.js.map → chunk-U62YECNK.js.map} +0 -0
  206. /package/client-dist/{chunk-VOFDBT5T.js.map → chunk-UOC6UYZT.js.map} +0 -0
  207. /package/client-dist/{chunk-C2BQQRVH.js.map → chunk-VDQROW6J.js.map} +0 -0
  208. /package/client-dist/{chunk-UM7AS2IW.js.map → chunk-VMXIXZV2.js.map} +0 -0
  209. /package/client-dist/{chunk-6BYNIFJY.js.map → chunk-WRI37SX4.js.map} +0 -0
  210. /package/client-dist/{chunk-LMK3IOKN.js.map → chunk-XLSL262Q.js.map} +0 -0
  211. /package/client-dist/{chunk-PMJP2N4K.js.map → chunk-YN4H6MW2.js.map} +0 -0
  212. /package/client-dist/{chunk-EDMLVG72.js.map → chunk-Z5FUR5ZW.js.map} +0 -0
  213. /package/client-dist/{chunk-4PBNHSRW.js.map → chunk-ZCHMBEHT.js.map} +0 -0
  214. /package/client-dist/{chunk-L42Z7YNK.js.map → chunk-ZPJ6KYMA.js.map} +0 -0
  215. /package/client-dist/{consultant.module-HHTHUWRL.js.map → consultant.module-UWXLFLDS.js.map} +0 -0
  216. /package/client-dist/{crd.module-ER6AHSX5.js.map → crd.module-2I2BDC3A.js.map} +0 -0
  217. /package/client-dist/{dashboard.module-TSNGGBCI.js.map → dashboard.module-X2A6LOTA.js.map} +0 -0
  218. /package/client-dist/{do.module-NMZD5VSM.js.map → do.module-CJWEKZ4L.js.map} +0 -0
  219. /package/client-dist/{document-library.module-GHDNXP3T.js.map → document-library.module-WJSFZPA7.js.map} +0 -0
  220. /package/client-dist/{embedding-eval.module-XPXBOIP5.js.map → embedding-eval.module-FOALIAQW.js.map} +0 -0
  221. /package/client-dist/{embedding-registry.module-45TQGZI2.js.map → embedding-registry.module-SS646R4H.js.map} +0 -0
  222. /package/client-dist/{feedback.module-TLKZ4B4N.js.map → feedback.module-T3MZQKXV.js.map} +0 -0
  223. /package/client-dist/{host-runtime-mcp.module-HVJZN5R5.js.map → host-runtime-mcp.module-FBZZGQGD.js.map} +0 -0
  224. /package/client-dist/{live-dev-pipeline.module-5PE4ZFFW.js.map → live-dev-pipeline.module-OKQYFSJL.js.map} +0 -0
  225. /package/client-dist/{logs.module-335EXKCD.js.map → logs.module-SHHOD5XW.js.map} +0 -0
  226. /package/client-dist/{main-FRD6VXVH.js.map → main-L3WW2VTB.js.map} +0 -0
  227. /package/client-dist/{master-control-remote-poc.module-ORHRUCZH.js.map → master-control-remote-poc.module-ITXHYU5K.js.map} +0 -0
  228. /package/client-dist/{mobile-app.module-BYYNVKQR.js.map → mobile-app.module-Q3W3PU4O.js.map} +0 -0
  229. /package/client-dist/{model-registry.module-KIHIJ2Z6.js.map → model-registry.module-DGN55LTQ.js.map} +0 -0
  230. /package/client-dist/{oc.module-DAGIRW3Z.js.map → oc.module-DYSATWML.js.map} +0 -0
  231. /package/client-dist/{project-management.module-IJNPSUQZ.js.map → project-management.module-T7NBKKSR.js.map} +0 -0
  232. /package/client-dist/{project-source-routed.module-DP3RD454.js.map → project-source-routed.module-YO54LEGN.js.map} +0 -0
  233. /package/client-dist/{scheduler.module-S3IKZCLL.js.map → scheduler.module-4CMBOTGZ.js.map} +0 -0
  234. /package/client-dist/{set.module-Y2RHKW7A.js.map → set.module-32SVEWTG.js.map} +0 -0
  235. /package/client-dist/{setup.module-VTI5EZ3Q.js.map → setup.module-5T6MCMR4.js.map} +0 -0
  236. /package/client-dist/{terminals.module-KHEDY6QN.js.map → terminals.module-AQO2TVO2.js.map} +0 -0
  237. /package/client-dist/{voice-notes-poc.module-EMDLJJIT.js.map → voice-notes-poc.module-EI2HY7YJ.js.map} +0 -0
  238. /package/client-dist/{wfs.module-LUTFNQG5.js.map → wfs.module-AHRZE5WB.js.map} +0 -0
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["src/app/_modules/system/_modules/errors/_components/ccap-errors/errors.component.ts", "src/app/_modules/system/_modules/errors/_components/ccap-errors/errors.component.html", "src/app/_modules/system/_modules/errors/err.module.ts"],
4
- "sourcesContent": ["import { Component, OnInit, OnDestroy, inject, signal, computed } from '@angular/core';\n\nimport { second } from '@futdevpro/fsm-dynamo';\n\nimport { ObjectTypeGuards_Util } from '../../../../../../_collections/utils/object-type-guards.util';\nimport { CCAP_ErrorContextDetailEntry_Interface } from '../../../../../../_models/interfaces/feedback-errors/ccap-error-context-detail-entry.interface';\nimport { CCAP_ErrorListItem_Response } from '../../../../../../_models/interfaces/feedback-errors/ccap-error-list-item.interface';\nimport { Errors_DataService } from '../../_services/errors.data-service';\n\n/**\n * Hibák oldal: lista (message, source, CCAP/session/run, occurrenceCount, lastOccurrenceAt), route/URL;\n * kontextus részletek és stack kinyitható; Clear all, soronkénti Clear, Másolás.\n */\n@Component({\n selector: 'app-ccap-errors',\n templateUrl: './errors.component.html',\n})\n/** Errors_Component class. */\nexport class Errors_Component implements OnInit, OnDestroy {\n\n readonly errors_DS: Errors_DataService = inject(Errors_DataService);\n\n /** Tick signal — 10 másodpercenként frissül a relatív idő kijelzéshez. */\n private readonly refreshTick_$ = signal<number>(0);\n private refreshTickInterval: ReturnType<typeof setInterval> | null = null;\n\n /** Utolsó frissítés óta eltelt idő szövegesen (pl. \"most\", \"2 perce\"). */\n readonly lastRefreshedAgo_$ = computed((): string => {\n void this.refreshTick_$();\n const lastDate: Date | null = this.errors_DS.lastRefreshedAt_$();\n if (!lastDate) {\n return '';\n }\n const diffMs: number = Date.now() - lastDate.getTime();\n const seconds: number = Math.floor(diffMs / 1000);\n const minutes: number = Math.floor(seconds / 60);\n const hours: number = Math.floor(minutes / 60);\n\n if (seconds < 10) {\n return 'most';\n }\n if (seconds < 60) {\n return `${seconds} mp`;\n }\n if (minutes < 60) {\n return `${minutes} perce`;\n }\n return `${hours} órája`;\n });\n\n /** PM / user megjelölés POST folyamatban erre az `_id`-re (üres = nincs). */\n readonly pmUserMarkBusyErrorId_$ = signal<string>('');\n\n /**\n * Cycle 780 (REQ-SYS-EH-FIX-ANNOTATION-001) — szűrt lista a default\n * `hideStaleBuild_$` toggle figyelembevételével. Default: STALE-BUILD elrejtve.\n */\n readonly visibleErrors_$ = computed<CCAP_ErrorListItem_Response[]>((): CCAP_ErrorListItem_Response[] => {\n const all: CCAP_ErrorListItem_Response[] = this.errors_DS.errors_$();\n if (!this.errors_DS.hideStaleBuild_$()) {\n return all;\n }\n return all.filter((e: CCAP_ErrorListItem_Response): boolean =>\n e.fixAnnotation?.classification !== 'STALE-BUILD',\n );\n });\n\n /** A teljes és szűrt lista méretét egyben mutató szöveg (pl. „24 / 38\"). */\n readonly visibleVsTotalLabel_$ = computed<string>((): string => {\n const total: number = this.errors_DS.errors_$().length;\n const visible: number = this.visibleErrors_$().length;\n if (visible === total) {\n return `${total}`;\n }\n return `${visible} / ${total}`;\n });\n\n /** Soronként kinyitott stack (_id → true). */\n readonly expandedId_$ = signal<Record<string, boolean>>({});\n\n /** Soronként kinyitott surroundingState extra részlet (_id → true). */\n readonly contextExpandedId_$ = signal<Record<string, boolean>>({});\n\n /** Hiba id → route / URL sor (template; CCAP/session/run külön a HTML-ben). */\n readonly errorContextLineMap_$ = computed<Record<string, string>>(() => {\n const errs: CCAP_ErrorListItem_Response[] = this.errors_DS.errors_$();\n const m: Record<string, string> = {};\n for (const err of errs) {\n const id: string = err._id ?? '';\n m[id] = Errors_Component.buildRouteUrlLine(err.surroundingState);\n }\n return m;\n });\n\n /** Hiba id → surroundingState extra (userMessage, baseline, userAgent, additionalContext, stb.) a blokkba. */\n readonly contextDetailTextMap_$ = computed<Record<string, string>>(() => {\n const errs: CCAP_ErrorListItem_Response[] = this.errors_DS.errors_$();\n const m: Record<string, string> = {};\n for (const err of errs) {\n const id: string = err._id ?? '';\n m[id] = Errors_Component.buildSurroundingStateExtraDetail(err.surroundingState);\n }\n return m;\n });\n\n /** Hiba id → strukturált kontextus bejegyzések a formázott megjelenítéshez. */\n readonly contextDetailEntries_$ = computed<Partial<Record<string, CCAP_ErrorContextDetailEntry_Interface[]>>>(() => {\n const errs: CCAP_ErrorListItem_Response[] = this.errors_DS.errors_$();\n const m: Partial<Record<string, CCAP_ErrorContextDetailEntry_Interface[]>> = {};\n for (const err of errs) {\n const id: string = err._id ?? '';\n m[id] = Errors_Component.buildContextDetailEntries(err.surroundingState);\n }\n return m;\n });\n\n ngOnInit(): void {\n void this.errors_DS.loadErrors();\n this.refreshTickInterval = setInterval((): void => {\n this.refreshTick_$.update((v: number): number => v + 1);\n }, 10 * second);\n }\n\n ngOnDestroy(): void {\n if (this.refreshTickInterval) {\n clearInterval(this.refreshTickInterval);\n }\n }\n\n /** Lista újratöltése. */\n refresh(): void {\n void this.errors_DS.loadErrors();\n }\n\n /** Összes hiba törlése. */\n clearAll(): void {\n void this.errors_DS.clearAll();\n }\n\n /** Egy hiba törlése. */\n clearOne(id: string): void {\n void this.errors_DS.clearOne(id);\n }\n\n /**\n * PM / user manuális megjelölés vagy törlése.\n */\n handlePmUserMark(err: CCAP_ErrorListItem_Response, marked: boolean): void {\n const id: string = err._id ?? '';\n if (!id.length || this.pmUserMarkBusyErrorId_$() === id) {\n return;\n }\n this.pmUserMarkBusyErrorId_$.set(id);\n void this.errors_DS.setPmUserMark(id, marked).finally((): void => {\n this.pmUserMarkBusyErrorId_$.set('');\n });\n }\n\n /** Stack kinyitva van-e az adott id-hez (tesztekhez; template expandedId_$()[id]-t használ). */\n isExpanded(id: string): boolean {\n return this.expandedId_$()[id] === true;\n }\n\n /** Hiba azonosító (tesztekhez; template err._id-t használ). */\n getErrorId(err: CCAP_ErrorListItem_Response): string {\n return err._id ?? '';\n }\n\n /**\n * Route / URL a surroundingState-ből (meta sor; azonosítók külön a template-ben).\n */\n private static buildRouteUrlLine(\n state: Record<string, unknown> | undefined,\n ): string {\n if (!state || typeof state !== 'object') {\n return '';\n }\n const route: unknown = state.route;\n const url: unknown = state.url;\n const routeStr: string =\n typeof route === 'string' && route.trim().length > 0 ? route.trim() : '';\n const urlStr: string =\n typeof url === 'string' && url.trim().length > 0 ? url.trim() : '';\n if (routeStr && urlStr) {\n return `Route: ${routeStr} · URL: ${urlStr}`;\n }\n if (routeStr) {\n return `Route: ${routeStr}`;\n }\n if (urlStr) {\n return `URL: ${urlStr}`;\n }\n return '';\n }\n\n /**\n * Másolás / getErrorContextLine: azonosítók + route/URL egy blokkban.\n */\n private static buildContextLine(err: CCAP_ErrorListItem_Response): string {\n const parts: string[] = [];\n if (err.ccapId?.trim()) {\n parts.push(`CCAP: ${err.ccapId.trim()}`);\n }\n if (err.sessionId?.trim()) {\n parts.push(`Session: ${err.sessionId.trim()}`);\n }\n if (err.runId?.trim()) {\n parts.push(`Run: ${err.runId.trim()}`);\n }\n const routeUrl: string = Errors_Component.buildRouteUrlLine(err.surroundingState);\n if (routeUrl.length > 0) {\n parts.push(routeUrl);\n }\n return parts.join(' · ');\n }\n\n /**\n * SurroundingState-ből több sor: userMessage, session/run (ha csak itt vannak), szerver baseline, kliens mezők, additionalContext.\n */\n private static buildSurroundingStateExtraDetail(\n state: Record<string, unknown> | undefined,\n ): string {\n const flat: Record<string, unknown> =\n Errors_Component.flattenSurroundingStateForDisplay(state);\n if (Object.keys(flat).length === 0) {\n return '';\n }\n const lines: string[] = [];\n const pushStringLine = (label: string, value: unknown): void => {\n if (typeof value === 'string' && value.trim().length > 0) {\n lines.push(`${label}: ${value.trim()}`);\n }\n };\n pushStringLine('userMessage', flat.userMessage);\n pushStringLine('sessionId (surroundingState)', flat.sessionId);\n pushStringLine('runId (surroundingState)', flat.runId);\n pushStringLine('nodeVersion', flat.nodeVersion);\n pushStringLine('platform', flat.platform);\n pushStringLine('timestamp', flat.timestamp);\n pushStringLine('userAgent', flat.userAgent);\n const additionalContext: unknown = flat.additionalContext;\n if (ObjectTypeGuards_Util.isRecord(additionalContext)) {\n try {\n const json: string = JSON.stringify(additionalContext, null, 2);\n lines.push(`additionalContext:\\n${json}`);\n } catch {\n lines.push('additionalContext: [not serializable]');\n }\n }\n const printedKeys: Set<string> = new Set<string>([\n 'userMessage',\n 'sessionId',\n 'runId',\n 'nodeVersion',\n 'platform',\n 'timestamp',\n 'userAgent',\n 'additionalContext',\n 'route',\n 'url',\n ]);\n const restKeys: string[] = Object.keys(flat).filter(\n (k: string): boolean => !printedKeys.has(k),\n );\n restKeys.sort();\n for (const key of restKeys) {\n const v: unknown = flat[key];\n if (v === undefined || v === null) {\n continue;\n }\n if (typeof v === 'string' || typeof v === 'number' || typeof v === 'boolean') {\n lines.push(`${key}: ${String(v)}`);\n continue;\n }\n try {\n lines.push(`${key}:\\n${JSON.stringify(v, null, 2)}`);\n } catch {\n lines.push(`${key}: [not serializable]`);\n }\n }\n return lines.join('\\n');\n }\n\n /**\n * Strukturált kontextus bejegyzéseket épít a surroundingState-ből a formázott megjelenítéshez.\n */\n private static buildContextDetailEntries(\n state: Record<string, unknown> | undefined,\n ): CCAP_ErrorContextDetailEntry_Interface[] {\n const flat: Record<string, unknown> =\n Errors_Component.flattenSurroundingStateForDisplay(state);\n if (Object.keys(flat).length === 0) {\n return [];\n }\n const entries: CCAP_ErrorContextDetailEntry_Interface[] = [];\n\n /** Egyszerű string mezőt bejegyzéssé alakít, ha nem üres. */\n const pushIfString = (label: string, value: unknown): void => {\n if (typeof value === 'string' && value.trim().length > 0) {\n entries.push({ label: label, value: value.trim(), isMultiline: false });\n }\n };\n\n pushIfString('sessionId (surroundingState)', flat.sessionId);\n pushIfString('runId (surroundingState)', flat.runId);\n pushIfString('nodeVersion', flat.nodeVersion);\n pushIfString('platform', flat.platform);\n pushIfString('timestamp', flat.timestamp);\n pushIfString('userMessage', flat.userMessage);\n pushIfString('userAgent', flat.userAgent);\n\n // additionalContext — rekurzívan stringified JSON mezőket is kifejtjük\n const additionalContext: unknown = flat.additionalContext;\n if (ObjectTypeGuards_Util.isRecord(additionalContext)) {\n const formatted: string = Errors_Component.formatObjectDeep(additionalContext);\n entries.push({ label: 'additionalContext', value: formatted, isMultiline: true });\n }\n\n // Maradék mezők (route, url, stb. kihagyva, mert a meta sorban jelennek meg)\n const printedKeys: Set<string> = new Set<string>([\n 'userMessage', 'sessionId', 'runId', 'nodeVersion', 'platform',\n 'timestamp', 'userAgent', 'additionalContext', 'route', 'url',\n ]);\n const restKeys: string[] = Object.keys(flat).filter(\n (k: string): boolean => !printedKeys.has(k),\n );\n restKeys.sort();\n for (const key of restKeys) {\n const v: unknown = flat[key];\n if (v === undefined || v === null) {\n continue;\n }\n if (typeof v === 'string' || typeof v === 'number' || typeof v === 'boolean') {\n entries.push({ label: key, value: String(v), isMultiline: false });\n continue;\n }\n try {\n const json: string = JSON.stringify(v, null, 2);\n entries.push({ label: key, value: json, isMultiline: true });\n } catch {\n entries.push({ label: key, value: '[not serializable]', isMultiline: false });\n }\n }\n return entries;\n }\n\n /**\n * JSON objektumot formáz megjelenítéshez — stringified JSON értékeket is kifejtve.\n */\n private static formatObjectDeep(obj: Record<string, unknown>): string {\n const parsed: Record<string, unknown> = {};\n for (const key of Object.keys(obj)) {\n parsed[key] = Errors_Component.tryParseJsonString(obj[key]);\n }\n return JSON.stringify(parsed, null, 2);\n }\n\n /**\n * Ha az érték stringified JSON, parse-olja; egyébként visszaadja az eredetit.\n */\n private static tryParseJsonString(value: unknown): unknown {\n if (typeof value !== 'string') {\n return value;\n }\n const trimmed: string = value.trim();\n if (\n (trimmed.startsWith('{') && trimmed.endsWith('}')) ||\n (trimmed.startsWith('[') && trimmed.endsWith(']'))\n ) {\n try {\n return JSON.parse(trimmed);\n } catch {\n return value;\n }\n }\n return value;\n }\n\n /**\n * Egyszintű surroundingState a megjelenítéshez: beágyazott surroundingState egy szintre lapítása.\n */\n private static flattenSurroundingStateForDisplay(\n state: Record<string, unknown> | undefined,\n ): Record<string, unknown> {\n if (!state || typeof state !== 'object') {\n return {};\n }\n const nested: unknown = state.surroundingState;\n if (ObjectTypeGuards_Util.isRecord(nested)) {\n const { surroundingState: _drop, ...outerRest } = state;\n return {\n ...outerRest,\n ...nested,\n };\n }\n return { ...state };\n }\n\n /** Stack toggle. */\n toggleExpanded(id: string): void {\n this.expandedId_$.update((prev: Record<string, boolean>) => ({\n ...prev,\n [id]: !prev[id],\n }));\n }\n\n /**\n * SurroundingState extra részlet (userAgent, timestamp, additionalContext) kinyitása / bezárása.\n */\n toggleContextExpanded(id: string): void {\n this.contextExpandedId_$.update((prev: Record<string, boolean>) => ({\n ...prev,\n [id]: !prev[id],\n }));\n }\n\n /**\n * Van-e kinyitható kontextus részlet (userMessage, baseline, userAgent, additionalContext, egyéb) a map alapján.\n */\n hasContextDetailText(id: string | undefined): boolean {\n if (!id) {\n return false;\n }\n const entries: CCAP_ErrorContextDetailEntry_Interface[] | undefined = this.contextDetailEntries_$()[id];\n if (entries?.length) {\n return true;\n }\n return this.contextDetailTextMap_$()[id]?.trim().length > 0;\n }\n\n /**\n * Egy hiba teljes tartalmának szöveges összeállítása másoláshoz (message, source, stack, stb.).\n * Az s-copy-button komponens kezeli a vágólapra másolást és a visszajelzést.\n */\n getErrorCopyText(err: CCAP_ErrorListItem_Response): string {\n const parts: string[] = [];\n if (err.message?.trim()) {\n parts.push(err.message.trim());\n }\n const meta: string[] = [];\n if (err.source?.trim()) {\n meta.push(`Forrás: ${err.source.trim()}`);\n }\n if (err.occurrenceCount != null && err.occurrenceCount > 1) {\n meta.push(`Előfordulások: ${err.occurrenceCount}`);\n }\n const raw: string | undefined = err.lastOccurrenceAt ?? err.timestamp;\n const dateStr: string =\n !raw ? '–' : ((): string => {\n try {\n return new Date(raw).toLocaleString(undefined, { dateStyle: 'short', timeStyle: 'short' });\n } catch {\n return raw;\n }\n })();\n if (dateStr !== '–') {\n meta.push(`Utolsó: ${dateStr}`);\n }\n if (meta.length > 0) {\n parts.push(meta.join(' · '));\n }\n const contextSummary: string = Errors_Component.buildContextLine(err);\n if (contextSummary.trim().length > 0) {\n parts.push('');\n parts.push(contextSummary);\n }\n const contextExtra: string = Errors_Component.buildSurroundingStateExtraDetail(\n err.surroundingState,\n );\n if (contextExtra.trim().length > 0) {\n parts.push('');\n parts.push('Kontextus részletek:');\n parts.push(contextExtra.trim());\n }\n if (err.stack?.trim()) {\n parts.push('');\n parts.push('Stack:');\n parts.push(err.stack.trim());\n }\n return parts.join('\\n');\n }\n\n /** Kontextus sor (tesztekhez; template errorContextLineMap_$-t használ). */\n getErrorContextLine(err: CCAP_ErrorListItem_Response): string {\n return Errors_Component.buildContextLine(err);\n }\n}\n", "<div class=\"max-w-4xl mx-auto p-3 gt-xs:p-6 text-neutral-100\">\n <h1 class=\"text-xl gt-xs:text-2xl font-bold mb-4 gt-xs:mb-6\">Hibák</h1>\n <p class=\"text-neutral-400 text-sm gt-xs:text-base mb-4 gt-xs:mb-6\">\n A rendszerben rögzített hibák listája (szerver és kliens). Sorrend: legfelül a legfrissebb utolsó előfordulás\n (<code class=\"bg-neutral-800 px-1 rounded\">lastOccurrenceAt</code> / első rögzítés ideje). Azonos hiba többszöri\n előfordulása egy sorban jelenik meg (előfordulások száma). Törölheted egyenként vagy mindegyiket egyszerre.\n </p>\n\n <div class=\"flex flex-wrap gap-1.5 gt-xs:gap-2 items-center mb-3 gt-xs:mb-4\">\n <button type=\"button\"\n (click)=\"refresh()\"\n [disabled]=\"errors_DS.errorsLoading_$()\"\n class=\"px-3 py-1.5 gt-xs:px-4 gt-xs:py-2 text-sm gt-xs:text-base border border-neonCyan rounded\n text-neutral-300 hover:bg-neutral-700 disabled:opacity-50 transition-colors\">\n {{ errors_DS.errorsLoading_$() ? 'Betöltés…' : 'Frissítés' }}\n </button>\n @if (lastRefreshedAgo_$()) {\n <span class=\"text-neutral-500 text-xs gt-xs:text-sm\">\n {{ lastRefreshedAgo_$() }}\n </span>\n }\n <button type=\"button\"\n (click)=\"clearAll()\"\n [disabled]=\"errors_DS.errorsLoading_$() || errors_DS.errors_$().length === 0\"\n class=\"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\n rounded text-red-200 hover:bg-red-900/80 disabled:opacity-50 transition-colors\">\n Összes törlése\n </button>\n <!-- Cycle 780 (REQ-SYS-EH-FIX-ANNOTATION-001): STALE-BUILD szűrő toggle. -->\n <button type=\"button\"\n (click)=\"errors_DS.hideStaleBuild_$.set(!errors_DS.hideStaleBuild_$())\"\n class=\"ml-auto px-3 py-1.5 gt-xs:px-4 gt-xs:py-2 text-sm gt-xs:text-base border rounded\n transition-colors\"\n [class.bg-emerald-900]=\"errors_DS.hideStaleBuild_$()\"\n [class.border-emerald-500]=\"errors_DS.hideStaleBuild_$()\"\n [class.text-emerald-200]=\"errors_DS.hideStaleBuild_$()\"\n [class.border-neutral-600]=\"!errors_DS.hideStaleBuild_$()\"\n [class.text-neutral-300]=\"!errors_DS.hideStaleBuild_$()\"\n title=\"Régebbi server-build-ekből származó, már fixelt errorok elrejtése (cycle 780 fix-annotation registry)\">\n {{ errors_DS.hideStaleBuild_$() ? '✓ STALE elrejtve' : 'STALE mutatása' }}\n ({{ visibleVsTotalLabel_$() }})\n </button>\n </div>\n\n @if (errors_DS.errorsLoadError_$()) {\n <div class=\"mb-4\">\n <p class=\"text-neutral-300 mb-3\">A lista nem tölthető be.</p>\n <app-ccap-error-display\n [error]=\"errors_DS.errorsLoadErrorRaw_$() ?? errors_DS.errorsLoadError_$()\" />\n </div>\n }\n\n @if (errors_DS.errorsLoading_$() && errors_DS.errors_$().length === 0) {\n <p class=\"text-neutral-400\">Betöltés…</p>\n } @else if (errors_DS.errors_$().length === 0 && !errors_DS.errorsLoadError_$()) {\n <p class=\"text-neutral-500\">Nincs rögzített hiba.</p>\n } @else if (visibleErrors_$().length === 0 && errors_DS.hideStaleBuild_$()) {\n <p class=\"text-neutral-500\">\n Csak STALE-BUILD bejegyzések vannak (régebbi server-build-ekből, már fixelt). Kapcsold ki a szűrőt\n a megjelenítéshez vagy használd az\n <code class=\"bg-neutral-800 px-1 rounded\">errors-cleanup-stale.sh</code>-t a takarításhoz.\n </p>\n } @else if (errors_DS.errors_$().length > 0) {\n <div class=\"space-y-2 gt-xs:space-y-3\">\n @for (err of visibleErrors_$(); track err._id) {\n <div class=\"p-2.5 gt-xs:p-4 bg-neutral-800/50 border border-neonDefault rounded-lg\">\n <!-- xs: műveletek felül; gt-xs: jobb oszlop. Üzenet + meta alatta / balon. -->\n <div class=\"min-w-0 flex flex-col gap-2 gt-xs:flex-row gt-xs:items-start gt-xs:justify-between gt-xs:gap-2\">\n <div class=\"flex items-center gap-1.5 gt-xs:gap-2 flex-wrap justify-end gt-xs:justify-end order-1\n gt-xs:order-2 shrink-0 w-full gt-xs:w-auto\">\n <app-s-copy-button [content]=\"getErrorCopyText(err)\" />\n @if (err.pmUserMarkedAt?.trim()) {\n <button type=\"button\"\n (click)=\"handlePmUserMark(err, false)\"\n [disabled]=\"!err._id || pmUserMarkBusyErrorId_$() === err._id\"\n class=\"px-2 py-1 gt-xs:px-3 gt-xs:py-1.5 text-amber-300 hover:bg-amber-900/25 rounded\n border border-amber-600/50 text-xs gt-xs:text-sm disabled:opacity-50\n transition-colors shrink-0\">\n Jelölés törlése\n </button>\n } @else {\n <button type=\"button\"\n (click)=\"handlePmUserMark(err, true)\"\n [disabled]=\"!err._id || pmUserMarkBusyErrorId_$() === err._id\"\n class=\"px-2 py-1 gt-xs:px-3 gt-xs:py-1.5 text-neutral-300 hover:bg-neutral-700/50 rounded\n border border-neutral-600 text-xs gt-xs:text-sm disabled:opacity-50\n transition-colors shrink-0\">\n Megjelölés\n </button>\n }\n <button type=\"button\"\n (click)=\"clearOne(err._id ?? '')\"\n [disabled]=\"!err._id\"\n class=\"px-2 py-1 gt-xs:px-3 gt-xs:py-1.5 text-red-400 hover:bg-red-900/30 rounded\n text-xs gt-xs:text-sm disabled:opacity-50 transition-colors shrink-0\">\n Törlés\n </button>\n </div>\n <div class=\"min-w-0 flex-1 order-2 gt-xs:order-1 w-full gt-xs:w-auto\">\n <!-- Cycle 780 fix-annotation badge: a message FÖLÖTT, hogy jól látsszon. -->\n @if (err.fixAnnotation && err.fixAnnotation.classification !== 'UNFIXED') {\n <div class=\"mb-1 gt-xs:mb-1.5 flex flex-wrap items-center gap-1.5\">\n @if (err.fixAnnotation.classification === 'STALE-BUILD') {\n <span class=\"px-1.5 py-0.5 text-[10px] gt-xs:text-xs font-mono uppercase tracking-wider\n bg-emerald-900/60 border border-emerald-600 rounded text-emerald-200\"\n title=\"Régebbi server-build, már fixelt — biztonságosan mark-done-olható.\">\n STALE\n </span>\n } @else if (err.fixAnnotation.classification === 'REGRESSION') {\n <span class=\"px-1.5 py-0.5 text-[10px] gt-xs:text-xs font-mono uppercase tracking-wider\n bg-red-900/60 border border-red-600 rounded text-red-200\"\n title=\"A fix után újra előfordult — valódi regresszió, vissza implementre.\">\n REGRESSION\n </span>\n }\n <span class=\"text-[11px] gt-xs:text-xs text-neutral-400 font-mono\">\n Fixed in {{ err.fixAnnotation.fixedInVersion }} (cycle {{ err.fixAnnotation.fixedInCycle }})\n </span>\n @if (err.fixAnnotation.summary) {\n <span class=\"text-[11px] gt-xs:text-xs text-neutral-500 italic break-words\">\n — {{ err.fixAnnotation.summary }}\n </span>\n }\n </div>\n }\n <p class=\"font-medium text-neutral-200 text-sm gt-xs:text-base break-words\">{{\n err.message ?? '–' }}</p>\n <p class=\"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\">\n @if (err.pmUserMarkedAt?.trim()) {\n <span class=\"break-words text-amber-400/90 font-medium\">Megjelölve (PM)</span>\n }\n <span class=\"break-words\">Forrás: {{ err.source ?? '–' }}</span>\n @if (err.occurrenceCount != null && err.occurrenceCount > 1) {\n <span class=\"break-words\">· Előfordulások: {{ err.occurrenceCount }}</span>\n }\n <span class=\"break-words\">· Utolsó: {{ (err.lastOccurrenceAt ?? err.timestamp) ?\n ((err.lastOccurrenceAt ?? err.timestamp) | date:'short') : '–' }}</span>\n @if (err.ccapId?.trim()) {\n <span class=\"break-words\">· CCAP: {{ err.ccapId }}</span>\n }\n @if (err.sessionId?.trim()) {\n <span class=\"break-words\">· Session: {{ err.sessionId }}</span>\n }\n @if (err.runId?.trim()) {\n <span class=\"break-words\">· Run: {{ err.runId }}</span>\n }\n @if (errorContextLineMap_$()[err._id ?? '']) {\n <span class=\"break-words\">· {{ errorContextLineMap_$()[err._id ?? ''] }}</span>\n }\n </p>\n </div>\n </div>\n @if (hasContextDetailText(err._id)) {\n <div class=\"mt-1.5 gt-xs:mt-2\">\n <button type=\"button\"\n (click)=\"toggleContextExpanded(err._id ?? '')\"\n class=\"text-neutral-400 hover:text-neutral-200 text-xs gt-xs:text-sm flex items-center gap-1\">\n <svg class=\"w-3 h-3 shrink-0 transition-transform duration-150\"\n [class.-rotate-90]=\"!contextExpandedId_$()[err._id ?? '']\"\n viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\"\n stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <polyline points=\"6 9 12 15 18 9\"></polyline>\n </svg>\n {{ contextExpandedId_$()[err._id ?? ''] ? 'Kontextus részletek elrejtése' : 'Kontextus részletek' }}\n </button>\n @if (contextExpandedId_$()[err._id ?? '']) {\n <div class=\"mt-1.5 p-2 gt-xs:p-3 bg-neutral-900 rounded max-h-[70vh] overflow-y-auto\n space-y-1.5 gt-xs:space-y-2\">\n @for (entry of contextDetailEntries_$()[err._id ?? ''] ?? []; track entry.label) {\n <div class=\"text-xs\">\n @if (entry.isMultiline) {\n <div class=\"text-neutral-500 font-medium mb-0.5\">{{ entry.label }}</div>\n <pre class=\"p-1.5 gt-xs:p-2 bg-neutral-950/60 rounded text-neutral-300 font-mono\n whitespace-pre-wrap break-words overflow-x-auto\">{{ entry.value }}</pre>\n } @else {\n <div class=\"flex flex-wrap gap-x-1.5\">\n <span class=\"text-neutral-500 font-medium shrink-0\">{{ entry.label }}:</span>\n <span class=\"text-neutral-300 break-all font-mono\">{{ entry.value }}</span>\n </div>\n }\n </div>\n }\n </div>\n }\n </div>\n }\n @if (err.stack?.trim()) {\n <div class=\"mt-1.5 gt-xs:mt-2\">\n <button type=\"button\"\n (click)=\"toggleExpanded(err._id ?? '')\"\n class=\"text-neutral-400 hover:text-neutral-200 text-xs gt-xs:text-sm flex items-center gap-1\">\n <svg class=\"w-3 h-3 shrink-0 transition-transform duration-150\"\n [class.-rotate-90]=\"!expandedId_$()[err._id ?? '']\"\n viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\"\n stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <polyline points=\"6 9 12 15 18 9\"></polyline>\n </svg>\n {{ expandedId_$()[err._id ?? ''] ? 'Stack elrejtése' : 'Stack megjelenítése' }}\n </button>\n @if (expandedId_$()[err._id ?? '']) {\n <pre class=\"mt-1 p-1.5 gt-xs:p-2 bg-neutral-900 rounded text-xs text-neutral-300 font-mono\n whitespace-pre-wrap break-words overflow-x-auto max-h-[70vh] overflow-y-auto\">{{\n err.stack }}</pre>\n }\n </div>\n }\n </div>\n }\n </div>\n }\n\n <div class=\"pt-4 gt-xs:pt-6\">\n <a routerLink=\"/\"\n class=\"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\n text-neutral-300 hover:bg-neutral-700\">\n Vissza\n </a>\n </div>\n</div>\n", "import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule, Routes } from '@angular/router';\n\nimport { CCAP_ErrorDisplay_Component } from '../../../../_components/ccap-error-display/ccap-error-display.component';\nimport { S_CopyButton_Component } from '../../../shared/_components/s-copy-button/s-copy-button.component';\nimport { Errors_Component } from './_components/ccap-errors/errors.component';\n\n/** Errors modul route: errors path → hibák listája. */\nconst errorsRoutes: Routes = [\n { path: '', pathMatch: 'full', component: Errors_Component },\n];\n\n/**\n * Errors (Hibák) modul.\n * Rögzített hibák listázása, törlése (egyenként vagy mind).\n */\n@NgModule({\n declarations: [Errors_Component],\n imports: [\n CommonModule,\n RouterModule.forChild(error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A7M,UAAA2G,iBAAA,EAAA,wBAAA,oBAAA,KAAAkG,EAAA/F,sBAAA,EAAA,IAAA,EAKJrH,EAAA,EAAA4B,EAAAwL,EAAA7M,UAAAG,kBAAA,EAAA,GAAA,EAAA,EAQAV,EAAA,EAAA4B,EAAAwL,EAAA7M,UAAAoN,gBAAA,GAAAP,EAAA7M,UAAA0G,SAAA,EAAAM,SAAA,EAAA,GAAA6F,EAAA7M,UAAA0G,SAAA,EAAAM,SAAA,GAAA,CAAA6F,EAAA7M,UAAAG,kBAAA,EAAA,GAAA0M,EAAAvH,gBAAA,EAAA0B,SAAA,GAAA6F,EAAA7M,UAAA2G,iBAAA,EAAA,GAAAkG,EAAA7M,UAAA0G,SAAA,EAAAM,OAAA,EAAA,GAAA,EAAA,oDDlCWzB,CAAgB,GAAA,EET7B,IAAM8H,GAAuB,CAC3B,CAAEC,KAAM,GAAIC,UAAW,OAAQC,UAAWC,CAAgB,CAAE,EAiBjDC,IAAa,IAAA,CAApB,MAAOA,CAAa,4CAAbA,EAAa,2BAAbA,CAAa,CAAA,+BAPtBC,EACAC,EAAaC,SAASR,EAAY,EAClCS,EACAC,CAAsB,CAAA,CAAA,SAIbL,CAAa,GAAA",
6
- "names": ["import_fsm_dynamo", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "ctx_r0", "lastRefreshedAgo_$", "\u0275\u0275element", "\u0275\u0275property", "tmp_1_0", "errors_DS", "errorsLoadErrorRaw_$", "undefined", "errorsLoadError_$", "\u0275\u0275listener", "\u0275\u0275restoreView", "_r3", "err_r4", "\u0275\u0275nextContext", "$implicit", "\u0275\u0275resetView", "handlePmUserMark", "_id", "pmUserMarkBusyErrorId_$", "_r5", "fixAnnotation", "summary", "\u0275\u0275template", "Errors_Component_Conditional_20_For_2_Conditional_9_Conditional_1_Template", "Errors_Component_Conditional_20_For_2_Conditional_9_Conditional_2_Template", "Errors_Component_Conditional_20_For_2_Conditional_9_Conditional_5_Template", "\u0275\u0275conditional", "classification", "\u0275\u0275textInterpolate2", "fixedInVersion", "fixedInCycle", "occurrenceCount", "ccapId", "sessionId", "runId", "errorContextLineMap_$", "tmp_12_0", "\u0275\u0275textInterpolate", "entry_r7", "label", "value", "Errors_Component_Conditional_20_For_2_Conditional_24_Conditional_5_For_2_Conditional_1_Template", "Errors_Component_Conditional_20_For_2_Conditional_24_Conditional_5_For_2_Conditional_2_Template", "isMultiline", "\u0275\u0275repeaterCreate", "Errors_Component_Conditional_20_For_2_Conditional_24_Conditional_5_For_2_Template", "_forTrack1", "\u0275\u0275repeater", "tmp_13_0", "contextDetailEntries_$", "\u0275\u0275pureFunction0", "_c0", "_r6", "toggleContextExpanded", "Errors_Component_Conditional_20_For_2_Conditional_24_Conditional_5_Template", "\u0275\u0275classProp", "contextExpandedId_$", "tmp_14_0", "stack", "_r8", "toggleExpanded", "Errors_Component_Conditional_20_For_2_Conditional_25_Conditional_5_Template", "expandedId_$", "Errors_Component_Conditional_20_For_2_Conditional_4_Template", "Errors_Component_Conditional_20_For_2_Conditional_5_Template", "_r2", "clearOne", "Errors_Component_Conditional_20_For_2_Conditional_9_Template", "Errors_Component_Conditional_20_For_2_Conditional_13_Template", "Errors_Component_Conditional_20_For_2_Conditional_16_Template", "Errors_Component_Conditional_20_For_2_Conditional_20_Template", "Errors_Component_Conditional_20_For_2_Conditional_21_Template", "Errors_Component_Conditional_20_For_2_Conditional_22_Template", "Errors_Component_Conditional_20_For_2_Conditional_23_Template", "Errors_Component_Conditional_20_For_2_Conditional_24_Template", "Errors_Component_Conditional_20_For_2_Conditional_25_Template", "getErrorCopyText", "pmUserMarkedAt", "trim", "tmp_15_0", "message", "tmp_17_0", "source", "tmp_19_0", "lastOccurrenceAt", "timestamp", "\u0275\u0275pipeBind2", "tmp_23_0", "hasContextDetailText", "Errors_Component_Conditional_20_For_2_Template", "_forTrack0", "visibleErrors_$", "Errors_Component", "inject", "Errors_DataService", "refreshTick_$", "signal", "refreshTickInterval", "computed", "lastDate", "lastRefreshedAt_$", "diffMs", "Date", "now", "getTime", "seconds", "Math", "floor", "minutes", "hours", "all", "errors_$", "hideStaleBuild_$", "filter", "e", "visibleVsTotalLabel_$", "total", "length", "visible", "errs", "m", "err", "id", "buildRouteUrlLine", "surroundingState", "contextDetailTextMap_$", "buildSurroundingStateExtraDetail", "buildContextDetailEntries", "ngOnInit", "loadErrors", "setInterval", "update", "v", "second", "ngOnDestroy", "clearInterval", "refresh", "clearAll", "marked", "set", "setPmUserMark", "finally", "isExpanded", "getErrorId", "state", "route", "url", "routeStr", "urlStr", "buildContextLine", "parts", "push", "routeUrl", "join", "flat", "flattenSurroundingStateForDisplay", "Object", "keys", "lines", "pushStringLine", "userMessage", "nodeVersion", "platform", "userAgent", "additionalContext", "ObjectTypeGuards_Util", "isRecord", "json", "JSON", "stringify", "printedKeys", "Set", "restKeys", "k", "has", "sort", "key", "String", "entries", "pushIfString", "formatted", "formatObjectDeep", "obj", "parsed", "tryParseJsonString", "trimmed", "startsWith", "endsWith", "parse", "nested", "_drop", "outerRest", "__spreadValues", "prev", "__spreadProps", "meta", "raw", "dateStr", "toLocaleString", "dateStyle", "timeStyle", "contextSummary", "contextExtra", "getErrorContextLine", "selectors", "decls", "vars", "consts", "template", "rf", "ctx", "Errors_Component_Conditional_11_Template", "Errors_Component_Conditional_16_Template", "Errors_Component_Conditional_17_Template", "Errors_Component_Conditional_18_Template", "Errors_Component_Conditional_19_Template", "Errors_Component_Conditional_20_Template", "errorsLoading_$", "errorsRoutes", "path", "pathMatch", "component", "Errors_Component", "Errors_Module", "CommonModule", "RouterModule", "forChild", "CCAP_ErrorDisplay_Component", "S_CopyButton_Component"]
7
- }
@@ -1,2 +0,0 @@
1
- import{c as ne,d as Qe,e as V,f as oe,h as He}from"./chunk-LMK3IOKN.js";import{a as Ge}from"./chunk-E6WOJOGT.js";import"./chunk-3AG5X2MY.js";import"./chunk-VOFDBT5T.js";import"./chunk-COVCHZOZ.js";import"./chunk-UFBTR2BG.js";import"./chunk-7CMPZXAO.js";import"./chunk-U64N3LCA.js";import{a as qe}from"./chunk-7JUIBZEE.js";import{b as P,f as Be,g as Ue}from"./chunk-CAMM4S7P.js";import{a as ye}from"./chunk-QQ2GRU2N.js";import"./chunk-XWYXBY7S.js";import"./chunk-EDMLVG72.js";import"./chunk-OLLHHMTV.js";import"./chunk-U3Y5GO6O.js";import"./chunk-IHNAAEA2.js";import"./chunk-V3VQWJQL.js";import"./chunk-26YUXPZI.js";import{e as J}from"./chunk-25KTNALK.js";import{a as je}from"./chunk-FLAJXIYW.js";import{c as H,f as K,g as pe,h as _e,i as X,j as me,n as ue,o as he,p as fe,s as ze,v as Y}from"./chunk-EO4DNTT4.js";import"./chunk-5UPNU54P.js";import"./chunk-A33MCHYC.js";import{I as We,p as re}from"./chunk-RUSAMFGS.js";import{Aa as Le,Ba as Ve,C as x,D as O,E as $e,Eb as Ne,Fa as a,Ga as g,Ha as v,Hb as de,Ia as ce,J as m,K as u,Kb as Q,Ma as N,Na as z,Oa as W,P as Te,T as Ie,Ta as R,U as De,Va as Fe,Z as s,a as ee,aa as b,b as te,ca as Me,da as k,ga as C,h as ie,hb as q,ia as E,k as _,la as f,na as le,oa as D,p as w,pa as M,qa as n,ra as o,sa as A,t as G,ua as S,ub as $,va as p,wa as d,xb as Ae,y as j,z as Re,za as Pe}from"./chunk-TBMJSIBB.js";var B=ie(re());var T=ie(re());var Ke=(()=>{class r{http=x(Ae);baseUrl=`${We.api.baseUrl}/orchestrator`;createOrchestrator(e){return w(this.http.post(this.baseUrl,e))}listOrchestrators(e={}){let t=[];e.projectId&&t.push(`projectId=${encodeURIComponent(e.projectId)}`),e.scope&&t.push(`scope=${encodeURIComponent(e.scope)}`),e.status&&t.push(`status=${encodeURIComponent(e.status)}`);let i=t.length?`?${t.join("&")}`:"";return w(this.http.get(`${this.baseUrl}${i}`))}getOrchestrator(e){return w(this.http.get(`${this.baseUrl}/${e}`))}startOrchestrator(e){return w(this.http.post(`${this.baseUrl}/${e}/start`,{}))}pauseOrchestrator(e){return w(this.http.post(`${this.baseUrl}/${e}/pause`,{}))}resumeOrchestrator(e){return w(this.http.post(`${this.baseUrl}/${e}/resume`,{}))}stopOrchestrator(e){return w(this.http.post(`${this.baseUrl}/${e}/stop`,{}))}listTasks(e,t){let i=t?`?status=${encodeURIComponent(t)}`:"";return w(this.http.get(`${this.baseUrl}/${e}/tasks${i}`))}listMessages(e,t){let i=t?`?limit=${t}`:"";return w(this.http.get(`${this.baseUrl}/${e}/messages${i}`))}postUserMessage(e,t){return w(this.http.post(`${this.baseUrl}/${e}/messages`,{rawContent:t}))}listQuestions(e,t=!1){let i=t?"?openOnly=true":"";return w(this.http.get(`${this.baseUrl}/${e}/questions${i}`))}confirmBootstrap(e){return w(this.http.post(`${this.baseUrl}/${e}/bootstrap/confirm`,{}))}submitQuestionAnswer(e,t,i){return w(this.http.post(`${this.baseUrl}/${e}/questions/${t}/answer`,{answer:i}))}switchMode(e,t){return w(this.http.post(`${this.baseUrl}/${e}/mode`,{mode:t}))}getGlobalSummary(){return w(this.http.get(`${this.baseUrl}/summary`))}listWorkflows(e){return w(this.http.get(`${this.baseUrl}/${e}/workflows`))}getWorkflowById(e,t){return w(this.http.get(`${this.baseUrl}/${e}/workflows/${t}`))}listBatches(e){return w(this.http.get(`${this.baseUrl}/${e}/batches`))}listDecisions(e,t){let i=t?`?limit=${t}`:"";return w(this.http.get(`${this.baseUrl}/${e}/decisions${i}`))}static \u0275fac=function(t){return new(t||r)};static \u0275prov=j({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var I=(()=>{class r{orc_AS=x(Ke);orchestratorListRaw_$=b([]);currentOrchestratorRaw_$=b(null);currentTasksRaw_$=b([]);currentMessagesRaw_$=b([]);isResponseGeneratingRaw_$=b(!1);orchestratorList_$=this.orchestratorListRaw_$.asReadonly();currentOrchestrator_$=this.currentOrchestratorRaw_$.asReadonly();currentTasks_$=this.currentTasksRaw_$.asReadonly();currentMessages_$=this.currentMessagesRaw_$.asReadonly();isResponseGenerating_$=this.isResponseGeneratingRaw_$.asReadonly();activeCount_$=q(()=>this.orchestratorList_$().filter(e=>e.status==="active"||e.status==="bootstrap"||e.status==="waiting-for-user").length);refreshList(){return _(this,null,function*(){try{let e=yield this.orc_AS.listOrchestrators();this.orchestratorListRaw_$.set(e.orchestrators)}catch(e){T.DyFM_Log.error("Orchestrator_DataService | refreshList failed",e)}})}refreshCurrent(e){return _(this,null,function*(){try{let t=yield this.orc_AS.getOrchestrator(e);this.currentOrchestratorRaw_$.set(t.orchestrator)}catch(t){T.DyFM_Log.error("Orchestrator_DataService | refreshCurrent failed",t)}})}refreshCurrentTasks(e){return _(this,null,function*(){try{let t=yield this.orc_AS.listTasks(e);this.currentTasksRaw_$.set(t.tasks)}catch(t){T.DyFM_Log.error("Orchestrator_DataService | refreshCurrentTasks failed",t)}})}createOrchestrator(e){return _(this,null,function*(){let t=yield this.orc_AS.createOrchestrator(e);return yield this.refreshList(),t.orchestrator})}startOrchestrator(e){return _(this,null,function*(){yield this.orc_AS.startOrchestrator(e),yield Promise.all([this.refreshList(),this.refreshCurrent(e)])})}pauseOrchestrator(e){return _(this,null,function*(){yield this.orc_AS.pauseOrchestrator(e),yield Promise.all([this.refreshList(),this.refreshCurrent(e)])})}resumeOrchestrator(e){return _(this,null,function*(){yield this.orc_AS.resumeOrchestrator(e),yield Promise.all([this.refreshList(),this.refreshCurrent(e)])})}stopOrchestrator(e){return _(this,null,function*(){yield this.orc_AS.stopOrchestrator(e),yield Promise.all([this.refreshList(),this.refreshCurrent(e)])})}confirmBootstrap(e){return _(this,null,function*(){yield this.orc_AS.confirmBootstrap(e),yield Promise.all([this.refreshList(),this.refreshCurrent(e)])})}switchMode(e,t){return _(this,null,function*(){yield this.orc_AS.switchMode(e,t),yield this.refreshCurrent(e)})}refreshCurrentMessages(e){return _(this,null,function*(){try{let t=yield this.orc_AS.listMessages(e,100);this.currentMessagesRaw_$.set(t.messages)}catch(t){T.DyFM_Log.error("Orchestrator_DataService | refreshCurrentMessages failed",t)}})}setResponseGenerating(e){this.isResponseGeneratingRaw_$.set(e)}clearCurrent(){this.currentOrchestratorRaw_$.set(null),this.currentTasksRaw_$.set([]),this.currentMessagesRaw_$.set([]),this.isResponseGeneratingRaw_$.set(!1)}listWorkflows(e){return _(this,null,function*(){try{return(yield this.orc_AS.listWorkflows(e)).workflows}catch(t){return T.DyFM_Log.error("Orchestrator_DataService | listWorkflows failed",t),[]}})}getWorkflowById(e,t){return _(this,null,function*(){try{return(yield this.orc_AS.getWorkflowById(e,t)).workflow}catch(i){return T.DyFM_Log.error("Orchestrator_DataService | getWorkflowById failed",i),null}})}listMessages(e,t){return _(this,null,function*(){try{return(yield this.orc_AS.listMessages(e,t)).messages}catch(i){return T.DyFM_Log.error("Orchestrator_DataService | listMessages failed",i),[]}})}postUserMessage(e,t){return _(this,null,function*(){try{return(yield this.orc_AS.postUserMessage(e,t)).message}catch(i){return T.DyFM_Log.error("Orchestrator_DataService | postUserMessage failed",i),null}})}listQuestions(e,t){return _(this,null,function*(){try{return(yield this.orc_AS.listQuestions(e,t)).questions}catch(i){return T.DyFM_Log.error("Orchestrator_DataService | listQuestions failed",i),[]}})}submitQuestionAnswer(e,t,i){return _(this,null,function*(){try{return(yield this.orc_AS.submitQuestionAnswer(e,t,i)).question}catch(l){return T.DyFM_Log.error("Orchestrator_DataService | submitQuestionAnswer failed",l),null}})}getGlobalSummary(){return _(this,null,function*(){try{return(yield this.orc_AS.getGlobalSummary()).summary}catch(e){return T.DyFM_Log.error("Orchestrator_DataService | getGlobalSummary failed",e),null}})}static \u0275fac=function(t){return new(t||r)};static \u0275prov=j({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var nt=new Set(["orc:created","orc:statusChanged","orc:started","orc:paused","orc:resumed","orc:stopped","orc:waitingForUser"]),ot=new Set(["orc:statusChanged","orc:modeChanged","orc:iterationStarted","orc:iterationCompleted","orc:decisionAdded","orc:taskCreated","orc:taskStatusChanged","orc:taskCompleted","orc:batchStarted","orc:batchCompleted","orc:agentLaunched","orc:agentCompleted","orc:userQuestionAsked","orc:userQuestionAnswered","orc:messageAdded","orc:bootstrapCompleted","orc:responseStarted","orc:responseCompleted","orc:responseToolCall","orc:responseToolResult"]),at=new Set(["orc:messageAdded","orc:responseToolCall","orc:responseToolResult"]),xe=(()=>{class r{ccapSocket_CS=x(J);orchestrator_DS=x(I);globalSub=null;detailSub=null;responseSub=null;currentOrchestratorId=null;subscribeGlobal(){this.globalSub||(this.globalSub=this.ccapSocket_CS.event$.pipe(G(e=>nt.has(e.event))).subscribe(()=>_(this,null,function*(){yield this.orchestrator_DS.refreshList()})))}subscribeDetail(e){this.unsubscribeDetail(),this.currentOrchestratorId=e,this.detailSub=this.ccapSocket_CS.event$.pipe(G(t=>ot.has(t.event)&&this.isForCurrent(t.payload))).subscribe(t=>_(this,null,function*(){let i=this.currentOrchestratorId;i&&(t.event==="orc:responseStarted"&&this.orchestrator_DS.setResponseGenerating(!0),t.event==="orc:responseCompleted"&&this.orchestrator_DS.setResponseGenerating(!1),yield Promise.all([this.orchestrator_DS.refreshCurrent(i),this.orchestrator_DS.refreshCurrentTasks(i)]))})),this.responseSub=this.ccapSocket_CS.event$.pipe(G(t=>at.has(t.event)&&this.isForCurrent(t.payload))).subscribe(()=>_(this,null,function*(){let t=this.currentOrchestratorId;t&&(yield this.orchestrator_DS.refreshCurrentMessages(t))}))}unsubscribeDetail(){this.detailSub?.unsubscribe(),this.responseSub?.unsubscribe(),this.detailSub=null,this.responseSub=null,this.currentOrchestratorId=null}isForCurrent(e){return this.currentOrchestratorId?e?.orchestratorId===this.currentOrchestratorId:!1}ngOnDestroy(){this.globalSub?.unsubscribe(),this.detailSub?.unsubscribe(),this.responseSub?.unsubscribe(),this.globalSub=null,this.detailSub=null,this.responseSub=null}static \u0275fac=function(t){return new(t||r)};static \u0275prov=j({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var we=[{id:"orc-wake",label:"Wake",phase:"wake",category:V.milestone},{id:"orc-collect",label:"Collect",phase:"collect",category:V.phase},{id:"orc-analyze",label:"Analyze",phase:"analyze",category:V.llmCall},{id:"orc-sync-tasks",label:"Sync Tasks",phase:"sync-tasks",category:V.phase},{id:"orc-decide-next",label:"Decide Next",phase:"decide-next",category:V.llmCall},{id:"orc-execute",label:"Execute",phase:"execute",category:V.phase},{id:"orc-report",label:"Report",phase:"report",category:V.phase},{id:"orc-sleep",label:"Sleep",phase:"sleep",category:V.milestone}],ae=class{static buildSkeletonLayout(){let c=48+220/2,e=48,t=[],i=[];for(let y=0;y<we.length;y++){let F=we[y],Z=F.category===V.milestone,U=Z?200:220,Oe=Z?48:60,rt=oe.createNode({id:F.id,category:F.category,label:F.label,phase:F.phase,x:c-U/2,y:e,width:U,height:Oe});t.push(rt),y>0&&i.push(oe.createEdge(we[y-1].id,F.id,Qe.sequential)),e+=Oe+36}let l=i.map(y=>{let F=t.find(U=>U.id===y.sourceNodeId),Z=t.find(U=>U.id===y.targetNodeId);return!F||!Z?y:te(ee({},y),{pathD:oe.computeEdgePath(F,Z,y.category)})}),h=oe.recalculateViewBox(t,48);return{nodes:t,edges:l,viewBox:h,loopContainerBounds:null}}};var pt={wake:"orc-wake",collect:"orc-collect",analyze:"orc-analyze","sync-tasks":"orc-sync-tasks","decide-next":"orc-decide-next",execute:"orc-execute",report:"orc-report",sleep:"orc-sleep"},_t=["orc-wake","orc-collect","orc-analyze","orc-sync-tasks","orc-decide-next","orc-execute","orc-report","orc-sleep"],mt=new Set(["orc:iterationStarted","orc:iterationCompleted","orc:statusChanged","orc:started","orc:paused","orc:stopped"]),Ce=(()=>{class r{ccapSocket_CS=x(J);destroyRef=x(Te);graphLayout_$=b(null);activeNodeId_$=b("");selectedNodeId_$=b("");isGraphOpen_$=b(!1);graphOrchestratorId_$=b("");isLoading_$=b(!1);eventSubscription=null;constructor(){this.destroyRef.onDestroy(()=>{this.disposeSubscription()})}openGraph(e){this.disposeSubscription(),this.resetState(),this.graphOrchestratorId_$.set(e),this.isGraphOpen_$.set(!0);let t=ae.buildSkeletonLayout();this.graphLayout_$.set(t),this.eventSubscription=this.ccapSocket_CS.event$.pipe(G(i=>mt.has(i.event)&&i.payload?.orchestratorId===e)).subscribe(i=>{this.applyOrcEvent(i.event,i.payload)})}closeGraph(){this.disposeSubscription(),this.isGraphOpen_$.set(!1),this.selectedNodeId_$.set("")}selectNode(e){let t=this.selectedNodeId_$();this.selectedNodeId_$.set(t===e?"":e)}clearSelection(){this.selectedNodeId_$.set("")}applyOrcEvent(e,t){if(e==="orc:iterationStarted"){this.applyPhaseActive("wake");return}if(e==="orc:iterationCompleted"){this.markAllCompleted();return}if(e==="orc:statusChanged"){let i=t.status;i==="active"&&this.applyPhaseActive("wake"),(i==="paused"||i==="stopped"||i==="failed")&&this.markAllCompleted();return}if(e==="orc:started"){let i=ae.buildSkeletonLayout();this.graphLayout_$.set(i)}}applyPhaseActive(e){let t=pt[e];if(!t)return;let i=this.graphLayout_$();if(!i)return;let l=!1;for(let h of _t)h===t?(i=this.setNodeState(i,h,ne.active),l=!0):l||(i=this.setNodeState(i,h,ne.completed));this.activeNodeId_$.set(t),this.graphLayout_$.set(i)}markAllCompleted(){let e=this.graphLayout_$();if(e){for(let t of e.nodes)t.state!==ne.error&&(e=this.setNodeState(e,t.id,ne.completed));this.activeNodeId_$.set(""),this.graphLayout_$.set(e)}}setNodeState(e,t,i){let l=e.nodes.findIndex(y=>y.id===t);if(l<0)return e;let h=[...e.nodes];return h[l]=te(ee({},h[l]),{state:i}),te(ee({},e),{nodes:h})}resetState(){this.graphLayout_$.set(null),this.activeNodeId_$.set(""),this.selectedNodeId_$.set(""),this.isLoading_$.set(!1)}disposeSubscription(){this.eventSubscription&&(this.eventSubscription.unsubscribe(),this.eventSubscription=null)}static \u0275fac=function(t){return new(t||r)};static \u0275prov=j({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var be=ie(re());var ge=class r{static mapAll(c){return c.map(e=>r.mapSingle(e))}static mapSingle(c){let e=r.resolveKind(c),t=c.from==="user";return{listKey:c._id,kind:e,bodyText:c.rawContent,timestampIso:c.__created,toolName:c.toolName??void 0,isUserAligned:t,headerStatusDot:e===P.error?"error":void 0,flags:{showCopy:!0,showRawInfo:!1,useEditDiffForExpandable:!1},toolCallId:c.toolCallId??void 0}}static resolveKind(c){switch(c.messageType){case"user-message":return P.userPrompt;case"orchestrator-response":return P.assistant;case"orchestrator-thinking":return P.thinking;case"tool-call":return P.tool;case"tool-result":return P.toolResult;case"iteration-summary":return P.statusUpdate;case"status-message":return P.info;default:return c.from==="user"?P.userPrompt:P.assistant}}};var ut=["scrollAnchor"],ht=(r,c)=>c.listKey,ft=(r,c)=>c._id;function xt(r,c){if(r&1&&(n(0,"p",14),a(1),o()),r&2){let e=d().$implicit;s(),v("Kontext: ",e.context,"")}}function Ct(r,c){if(r&1){let e=S();n(0,"div",15)(1,"button",18),p("click",function(){m(e);let i=d().$implicit,l=d(2);return u(l.handleYesNoChoice(i._id,"yes"))}),a(2," Igen "),o(),n(3,"button",18),p("click",function(){m(e);let i=d().$implicit,l=d(2);return u(l.handleYesNoChoice(i._id,"no"))}),a(4," Nem "),o(),n(5,"button",19),p("click",function(){m(e);let i=d().$implicit,l=d(2);return u(l.handleSubmitAnswer(i._id,i.questionType))}),a(6," K\xFCld\xE9s "),o()()}if(r&2){let e=d().$implicit,t=d(2);s(),E("bg-green-700",t.selectedChoice[e._id]==="yes")("bg-slate-700",t.selectedChoice[e._id]!=="yes"),s(2),E("bg-red-700",t.selectedChoice[e._id]==="no")("bg-slate-700",t.selectedChoice[e._id]!=="no"),s(2),C("disabled",!t.selectedChoice[e._id])}}function gt(r,c){if(r&1){let e=S();n(0,"label",20)(1,"input",22),p("change",function(){let i=m(e).$implicit,l=d(2).$implicit,h=d(2);return u(h.handleMultipleChoice(l._id,i))}),o(),a(2),o()}if(r&2){let e=c.$implicit,t=d(2).$implicit,i=d(2);s(),C("name",t._id)("value",e)("checked",i.selectedChoice[t._id]===e),s(),v(" ",e," ")}}function bt(r,c){if(r&1){let e=S();n(0,"div",16),D(1,gt,3,4,"label",20,le),n(3,"button",21),p("click",function(){m(e);let i=d().$implicit,l=d(2);return u(l.handleSubmitAnswer(i._id,i.questionType))}),a(4," K\xFCld\xE9s "),o()()}if(r&2){let e=d().$implicit,t=d(2);s(),M(e.possibleAnswers),s(2),C("disabled",!t.selectedChoice[e._id])}}function yt(r,c){if(r&1){let e=S();n(0,"div",17)(1,"textarea",23),W("ngModelChange",function(i){m(e);let l=d().$implicit,h=d(2);return z(h.answerDrafts[l._id],i)||(h.answerDrafts[l._id]=i),u(i)}),o(),n(2,"button",24),p("click",function(){m(e);let i=d().$implicit,l=d(2);return u(l.handleSubmitAnswer(i._id,i.questionType))}),a(3," K\xFCld\xE9s "),o()()}if(r&2){let e=d().$implicit,t=d(2);s(),N("ngModel",t.answerDrafts[e._id]),C("name",e._id),s(),C("disabled",!t.answerDrafts[e._id])}}function St(r,c){if(r&1&&(n(0,"div",12)(1,"p",13),a(2),o(),k(3,xt,2,1,"p",14)(4,Ct,7,9,"div",15)(5,bt,5,1,"div",16)(6,yt,4,3,"div",17),o()),r&2){let e=c.$implicit;s(2),g(e.questionText),s(),f(e.context?3:-1),s(),f(e.questionType==="yes-no"?4:-1),s(),f(e.questionType==="multiple-choice"&&e.possibleAnswers?5:-1),s(),f(e.questionType==="open"||e.questionType==="task-priority"?6:-1)}}function wt(r,c){if(r&1&&(n(0,"div",2)(1,"h3",11),a(2),o(),D(3,St,7,5,"div",12,ft),o()),r&2){let e=d();s(2),v("V\xE1laszra v\xE1r\xF3 k\xE9rd\xE9sek (",e.openQuestions_$().length,")"),s(),M(e.openQuestions_$())}}function vt(r,c){if(r&1&&A(0,"app-s-agent-console-message-bubble",4),r&2){let e=c.$implicit;C("view",e)}}function kt(r,c){r&1&&(n(0,"p",5),a(1,"M\xE9g nincs \xFCzenet."),o())}function Et(r,c){r&1&&(n(0,"div",6)(1,"div",25)(2,"span",26),a(3,"ORCHESTRATOR"),o(),n(4,"span",27),a(5,"gondolkodik..."),o()()())}var Ot=new Set(["orc:messageAdded","orc:userQuestionAsked","orc:userQuestionAnswered"]),Je=(()=>{class r extends Ge{orchestrator_DS=x(I);ccapSocket_CS=x(J);orchestratorId;scrollAnchor;questionsRaw_$=b([]);bubbleViews_$=q(()=>ge.mapAll(this.orchestrator_DS.currentMessages_$()));openQuestions_$=this.questionsRaw_$.asReadonly();isResponseGenerating_$=this.orchestrator_DS.isResponseGenerating_$;userInput="";answerDrafts={};selectedChoice={};constructor(){super()}ngOnInit(){this.refresh(),this.addSubscription(this.ccapSocket_CS.event$.pipe(G(e=>Ot.has(e.event)&&e.payload?.orchestratorId===this.orchestratorId)).subscribe(()=>_(this,null,function*(){yield this.refresh(),this.scrollToBottom()})))}handleSendMessage(){return _(this,null,function*(){if(!this.userInput)return;let e=this.userInput;this.userInput="";try{yield this.orchestrator_DS.postUserMessage(this.orchestratorId,e),yield this.orchestrator_DS.refreshCurrentMessages(this.orchestratorId),this.scrollToBottom()}catch(t){be.DyFM_Log.error("ORC_Chat | sendMessage failed",t),this.userInput=e}})}handleSubmitAnswer(e,t){return _(this,null,function*(){let i=t==="multiple-choice"||t==="yes-no"?this.selectedChoice[e]??"":this.answerDrafts[e]??"";if(i)try{yield this.orchestrator_DS.submitQuestionAnswer(this.orchestratorId,e,i),delete this.answerDrafts[e],delete this.selectedChoice[e],yield this.refresh()}catch(l){be.DyFM_Log.error("ORC_Chat | submitAnswer failed",l)}})}handleYesNoChoice(e,t){this.selectedChoice[e]=t}handleMultipleChoice(e,t){this.selectedChoice[e]=t}refresh(){return _(this,null,function*(){try{let e=yield this.orchestrator_DS.listQuestions(this.orchestratorId,!0);this.questionsRaw_$.set(e)}catch(e){be.DyFM_Log.error("ORC_Chat | refresh failed",e)}})}scrollToBottom(){setTimeout(()=>{this.scrollAnchor?.nativeElement?.scrollIntoView({behavior:"smooth"})},50)}static \u0275fac=function(t){return new(t||r)};static \u0275cmp=O({type:r,selectors:[["app-orc-chat-panel"]],viewQuery:function(t,i){if(t&1&&Pe(ut,5),t&2){let l;Le(l=Ve())&&(i.scrollAnchor=l.first)}},hostAttrs:[1,"flex","flex-col","flex-1","min-h-0","overflow-hidden"],inputs:{orchestratorId:"orchestratorId"},standalone:!0,features:[Me,R],decls:15,vars:5,consts:[["scrollAnchor",""],["sChatColumnHeader",""],[1,"bg-cyan-950","border-b","border-cyan-500","p-3","space-y-3"],["sChatColumnScroll","",1,"p-3","space-y-2"],[3,"view"],[1,"text-sm","text-slate-500","italic","text-center","py-8"],[1,"flex","gap-2","py-2"],["sChatColumnComposer","",1,"border-t","border-slate-800","p-3"],[1,"flex","gap-2",3,"ngSubmit"],["rows","2","name","userInput","placeholder","\xDCzenet az Orchestrator-nak...",1,"flex-1","bg-slate-800","border","border-slate-700","rounded","px-3","py-2","text-white","text-sm","resize-none",3,"ngModelChange","ngModel"],["type","submit",1,"px-4","py-2","bg-cyan-600","hover:bg-cyan-500","text-white","rounded","text-sm","self-end","whitespace-nowrap",3,"disabled"],[1,"text-cyan-300","font-semibold","text-sm"],[1,"bg-cyan-900/50","border","border-cyan-700","rounded","p-3","space-y-2"],[1,"text-cyan-100","font-medium","text-sm"],[1,"text-xs","text-cyan-300","italic"],[1,"flex","gap-2"],[1,"space-y-1"],[1,"space-y-2"],[1,"px-3","py-1","rounded","text-sm","font-bold",3,"click"],[1,"ml-auto","px-4","py-1","bg-cyan-600","hover:bg-cyan-500","text-white","rounded","text-sm",3,"click","disabled"],[1,"flex","items-center","gap-2","text-sm","text-slate-200","cursor-pointer"],[1,"mt-2","px-4","py-1","bg-cyan-600","hover:bg-cyan-500","text-white","rounded","text-sm",3,"click","disabled"],["type","radio",3,"change","name","value","checked"],["rows","2","placeholder","V\xE1lasz...",1,"w-full","bg-slate-800","border","border-slate-700","rounded","px-2","py-1","text-white","text-sm",3,"ngModelChange","ngModel","name"],[1,"px-4","py-1","bg-cyan-600","hover:bg-cyan-500","text-white","rounded","text-sm",3,"click","disabled"],[1,"max-w-[80%]","rounded","px-3","py-2","bg-slate-800","text-slate-400","text-sm","animate-pulse"],[1,"font-mono","text-xs"],[1,"ml-2"]],template:function(t,i){if(t&1){let l=S();n(0,"app-s-session-chat-column-layout")(1,"div",1),k(2,wt,5,1,"div",2),o(),n(3,"div",3),D(4,vt,1,1,"app-s-agent-console-message-bubble",4,ht,!1,kt,2,0,"p",5),k(7,Et,6,0,"div",6),A(8,"div",null,0),o(),n(10,"div",7)(11,"form",8),p("ngSubmit",function(){return m(l),u(i.handleSendMessage())}),n(12,"textarea",9),W("ngModelChange",function(y){return m(l),z(i.userInput,y)||(i.userInput=y),u(y)}),o(),n(13,"button",10),a(14," K\xFCld\xE9s "),o()()()()}t&2&&(s(2),f(i.openQuestions_$().length>0?2:-1),s(2),M(i.bubbleViews_$()),s(3),f(i.isResponseGenerating_$()?7:-1),s(5),N("ngModel",i.userInput),s(),C("disabled",!i.userInput))},dependencies:[$,Y,me,H,K,pe,X,_e,Ue,Be],encapsulation:2})}return r})();var Ze=(()=>{class r{graph_DS=x(Ce);isOpen_$=this.graph_DS.isGraphOpen_$;layout_$=this.graph_DS.graphLayout_$;activeNodeId_$=this.graph_DS.activeNodeId_$;selectedNodeId_$=this.graph_DS.selectedNodeId_$;isLoading_$=this.graph_DS.isLoading_$;handleClose(){this.graph_DS.closeGraph()}handleNodeClick(e){this.graph_DS.selectNode(e)}handleDetailClose(){this.graph_DS.clearSelection()}static \u0275fac=function(t){return new(t||r)};static \u0275cmp=O({type:r,selectors:[["app-orc-graph-modal"]],standalone:!0,features:[R],decls:2,vars:6,consts:[["title","Orchestrator Flow Graph","maxWidth","7xl","headerBorderClass","border-cyan-600/30",3,"closed","isOpen","bodyFlexColumn"],[1,"flex-1","min-h-0",3,"nodeClicked","detailClosed","layout","activeNodeId","selectedNodeId","isLoading"]],template:function(t,i){t&1&&(n(0,"app-s-modal",0),p("closed",function(){return i.handleClose()}),n(1,"app-ses-graph-view",1),p("nodeClicked",function(h){return i.handleNodeClick(h)})("detailClosed",function(){return i.handleDetailClose()}),o()()),t&2&&(C("isOpen",i.isOpen_$())("bodyFlexColumn",!0),s(),C("layout",i.layout_$())("activeNodeId",i.activeNodeId_$())("selectedNodeId",i.selectedNodeId_$())("isLoading",i.isLoading_$()))},dependencies:[$,je,He],encapsulation:2})}return r})();var et=(()=>{class r{mode_$=De.required({alias:"mode_$"});modeChanged=Ie();handleToggle(){let t=this.mode_$()==="active"?"passive":"active";this.modeChanged.emit(t)}static \u0275fac=function(t){return new(t||r)};static \u0275cmp=O({type:r,selectors:[["app-orc-mode-switcher"]],inputs:{mode_$:[1,"mode_$"]},outputs:{modeChanged:"modeChanged"},standalone:!0,features:[R],decls:5,vars:18,consts:[[1,"inline-flex","rounded-full","border","border-slate-600","overflow-hidden","text-xs","font-semibold"],["title","Auton\xF3m loop m\xF3d \u2014 az orchestrator \xF6n\xE1ll\xF3an futtatja az iter\xE1ci\xF3kat",1,"px-3","py-1","transition-colors",3,"click","disabled"],["title","Chat m\xF3d \u2014 az orchestrator a user \xFCzenetekre v\xE1laszol",1,"px-3","py-1","transition-colors",3,"click","disabled"]],template:function(t,i){t&1&&(n(0,"div",0)(1,"button",1),p("click",function(){return i.handleToggle()}),a(2," Active Loop "),o(),n(3,"button",2),p("click",function(){return i.handleToggle()}),a(4," Chat Mode "),o()()),t&2&&(s(),E("bg-green-800",i.mode_$()==="active")("text-green-200",i.mode_$()==="active")("bg-transparent",i.mode_$()!=="active")("text-slate-400",i.mode_$()!=="active"),C("disabled",i.mode_$()==="active"),s(2),E("bg-cyan-800",i.mode_$()==="passive")("text-cyan-200",i.mode_$()==="passive")("bg-transparent",i.mode_$()!=="passive")("text-slate-400",i.mode_$()!=="passive"),C("disabled",i.mode_$()==="passive"))},encapsulation:2})}return r})();var Rt=(r,c)=>c._id;function $t(r,c){r&1&&(n(0,"p",31),a(1," Nincs a sz\u0171r\u0151knek megfelel\u0151 task. "),o())}function Tt(r,c){if(r&1&&(n(0,"tr",38)(1,"td",39),a(2),o(),n(3,"td",40),a(4),o(),n(5,"td",41),a(6),o(),n(7,"td",42)(8,"span"),a(9),o()(),n(10,"td",43),a(11),o(),n(12,"td",44),a(13),o()()),r&2){let e=c.$implicit;s(2),g(e.code),s(2),g(e.title),s(2),g(e.type),s(2),E("text-red-400",e.priority==="critical")("text-orange-400",e.priority==="high")("text-slate-400",e.priority==="normal")("text-slate-600",e.priority==="low"),s(),v(" ",e.priority," "),s(2),g(e.source),s(2),v(" ",e.assignedAgentType||"\u2014"," ")}}function It(r,c){if(r&1&&(n(0,"div",32)(1,"div",33),a(2),n(3,"span",34),a(4),o()(),n(5,"table",35)(6,"thead",36)(7,"tr")(8,"th",37),a(9,"Code"),o(),n(10,"th",37),a(11,"Title"),o(),n(12,"th",37),a(13,"Type"),o(),n(14,"th",37),a(15,"Priority"),o(),n(16,"th",37),a(17,"Source"),o(),n(18,"th",37),a(19,"Agent"),o()()(),n(20,"tbody"),D(21,Tt,14,14,"tr",38,Rt),o()()()),r&2){let e=c.$implicit,t=d();s(2),v(" ",e," "),s(2),v("(",t.groupedByStatus_$()[e].length,")"),s(17),M(t.groupedByStatus_$()[e])}}var tt=(()=>{class r{orchestrator_DS=x(I);tasks_$;filterStatus_$=b("all");filterType_$=b("all");filterPriority_$=b("all");searchText_$=b("");filteredTasks_$=q(()=>{let e=this.tasks_$(),t=this.filterStatus_$(),i=this.filterType_$(),l=this.filterPriority_$(),h=this.searchText_$();return e.filter(y=>!(t!=="all"&&y.status!==t||i!=="all"&&y.type!==i||l!=="all"&&y.priority!==l||h.trim()&&!ye.includesText(y.title,h)&&!ye.includesText(y.description,h)))});groupedByStatus_$=q(()=>{let e={};for(let t of this.filteredTasks_$()){let i=t.status;e[i]||(e[i]=[]),e[i].push(t)}return e});statusOrder=["in-progress","waiting-on-agent","waiting-on-user","scheduled","pending","completed","failed","cancelled"];orderedGroupKeys_$=q(()=>{let e=this.groupedByStatus_$();return this.statusOrder.filter(t=>(e[t]?.length??0)>0)});handleFilterStatus(e){this.filterStatus_$.set(e)}handleFilterType(e){this.filterType_$.set(e)}handleFilterPriority(e){this.filterPriority_$.set(e)}handleSearchText(e){this.searchText_$.set(e)}static \u0275fac=function(t){return new(t||r)};static \u0275cmp=O({type:r,selectors:[["app-orc-task-queue-panel"]],inputs:{tasks_$:"tasks_$"},standalone:!0,features:[R],decls:62,vars:7,consts:[[1,"bg-slate-900","border","border-slate-800","rounded","p-4","space-y-3"],[1,"flex","items-center","justify-between"],[1,"text-lg","font-semibold","text-cyan-300"],[1,"text-xs","text-slate-500","font-mono"],[1,"grid","grid-cols-2","md:grid-cols-4","gap-2"],["name","filterStatus",1,"bg-slate-800","border","border-slate-700","rounded","px-2","py-1","text-white","text-xs",3,"ngModelChange","ngModel"],["value","all"],["value","pending"],["value","scheduled"],["value","in-progress"],["value","waiting-on-user"],["value","waiting-on-agent"],["value","completed"],["value","failed"],["value","cancelled"],["name","filterType",1,"bg-slate-800","border","border-slate-700","rounded","px-2","py-1","text-white","text-xs",3,"ngModelChange","ngModel"],["value","implementation"],["value","bug-fix"],["value","review"],["value","documentation"],["value","refactor"],["value","research"],["value","spec-extension"],["value","maintenance"],["value","bootstrap-project-cleanup"],["name","filterPriority",1,"bg-slate-800","border","border-slate-700","rounded","px-2","py-1","text-white","text-xs",3,"ngModelChange","ngModel"],["value","critical"],["value","high"],["value","normal"],["value","low"],["name","searchText","placeholder","Keres\xE9s c\xEDm / le\xEDr\xE1s...",1,"bg-slate-800","border","border-slate-700","rounded","px-2","py-1","text-white","text-xs",3,"ngModelChange","ngModel"],[1,"text-sm","text-slate-500","italic","text-center","py-8"],[1,"bg-slate-950","border","border-slate-800","rounded","overflow-hidden"],[1,"bg-slate-800","px-3","py-1","text-xs","font-bold","text-slate-300","uppercase","tracking-wider"],[1,"text-slate-500","ml-2"],[1,"w-full","text-xs"],[1,"bg-slate-900"],[1,"text-left","px-2","py-1","text-slate-400","font-normal"],[1,"border-t","border-slate-800","hover:bg-slate-800/30"],[1,"px-2","py-1","font-mono","text-cyan-400"],[1,"px-2","py-1","text-slate-200"],[1,"px-2","py-1","text-slate-400"],[1,"px-2","py-1"],[1,"px-2","py-1","text-slate-500"],[1,"px-2","py-1","text-slate-400","text-xs"]],template:function(t,i){t&1&&(n(0,"div",0)(1,"div",1)(2,"h2",2),a(3,"Task Queue"),o(),n(4,"span",3),a(5),o()(),n(6,"div",4)(7,"select",5),p("ngModelChange",function(h){return i.handleFilterStatus(h)}),n(8,"option",6),a(9,"\xD6sszes st\xE1tusz"),o(),n(10,"option",7),a(11,"pending"),o(),n(12,"option",8),a(13,"scheduled"),o(),n(14,"option",9),a(15,"in-progress"),o(),n(16,"option",10),a(17,"waiting-on-user"),o(),n(18,"option",11),a(19,"waiting-on-agent"),o(),n(20,"option",12),a(21,"completed"),o(),n(22,"option",13),a(23,"failed"),o(),n(24,"option",14),a(25,"cancelled"),o()(),n(26,"select",15),p("ngModelChange",function(h){return i.handleFilterType(h)}),n(27,"option",6),a(28,"\xD6sszes t\xEDpus"),o(),n(29,"option",16),a(30,"implementation"),o(),n(31,"option",17),a(32,"bug-fix"),o(),n(33,"option",18),a(34,"review"),o(),n(35,"option",19),a(36,"documentation"),o(),n(37,"option",20),a(38,"refactor"),o(),n(39,"option",21),a(40,"research"),o(),n(41,"option",22),a(42,"spec-extension"),o(),n(43,"option",23),a(44,"maintenance"),o(),n(45,"option",24),a(46,"bootstrap"),o()(),n(47,"select",25),p("ngModelChange",function(h){return i.handleFilterPriority(h)}),n(48,"option",6),a(49,"\xD6sszes priorit\xE1s"),o(),n(50,"option",26),a(51,"critical"),o(),n(52,"option",27),a(53,"high"),o(),n(54,"option",28),a(55,"normal"),o(),n(56,"option",29),a(57,"low"),o()(),n(58,"input",30),p("ngModelChange",function(h){return i.handleSearchText(h)}),o()(),k(59,$t,2,0,"p",31),D(60,It,23,2,"div",32,le),o()),t&2&&(s(5),ce(" ",i.filteredTasks_$().length," / ",i.tasks_$().length," task "),s(2),C("ngModel",i.filterStatus_$()),s(19),C("ngModel",i.filterType_$()),s(21),C("ngModel",i.filterPriority_$()),s(11),C("ngModel",i.searchText_$()),s(),f(i.orderedGroupKeys_$().length===0?59:-1),s(),M(i.orderedGroupKeys_$()))},dependencies:[$,Y,he,fe,H,ue,K,X],encapsulation:2})}return r})();var ve=ie(re());var Dt=(r,c)=>c.id;function Mt(r,c){r&1&&(n(0,"p",4),a(1,"Nincs bet\xF6lt\xF6tt workflow."),o())}function Pt(r,c){if(r&1){let e=S();n(0,"div",8),p("click",function(){let i=m(e).$implicit,l=d();return u(l.handleOpenDetails(i.id))}),n(1,"h3",9),a(2),o(),n(3,"p",10),a(4),o()()}if(r&2){let e=c.$implicit;s(2),g(e.name),s(2),g(e.summary)}}function Lt(r,c){if(r&1){let e=S();n(0,"div",11),p("click",function(){m(e);let i=d();return u(i.handleCloseDetails())}),n(1,"div",12),p("click",function(i){return m(e),u(i.stopPropagation())}),n(2,"div",13)(3,"h3",14),a(4),o(),n(5,"button",15),p("click",function(){m(e);let i=d();return u(i.handleCloseDetails())}),a(6,"\u2715"),o()(),n(7,"pre",16),a(8),o()()()}if(r&2){let e=c;s(4),g(e.filename),s(4),g(e.rawText)}}var it=(()=>{class r{orchestrator_DS=x(I);orchestratorId;workflowsRaw_$=b([]);selectedRaw_$=b(null);loadingRaw_$=b(!1);workflows_$=this.workflowsRaw_$.asReadonly();selected_$=this.selectedRaw_$.asReadonly();loading_$=this.loadingRaw_$.asReadonly();ngOnInit(){this.loadList()}handleOpenDetails(e){return _(this,null,function*(){try{this.loadingRaw_$.set(!0);let t=yield this.orchestrator_DS.getWorkflowById(this.orchestratorId,e);this.selectedRaw_$.set(t)}catch(t){ve.DyFM_Log.error("WorkflowLibrary | getWorkflow failed",t)}finally{this.loadingRaw_$.set(!1)}})}handleCloseDetails(){this.selectedRaw_$.set(null)}loadList(){return _(this,null,function*(){try{let e=yield this.orchestrator_DS.listWorkflows(this.orchestratorId);this.workflowsRaw_$.set(e)}catch(e){ve.DyFM_Log.error("WorkflowLibrary | listWorkflows failed",e)}})}static \u0275fac=function(t){return new(t||r)};static \u0275cmp=O({type:r,selectors:[["app-orc-workflow-library-panel"]],inputs:{orchestratorId:"orchestratorId"},standalone:!0,features:[R],decls:11,vars:3,consts:[[1,"bg-slate-900","border","border-slate-800","rounded","p-4","space-y-3"],[1,"flex","items-center","justify-between"],[1,"text-lg","font-semibold","text-cyan-300"],[1,"text-xs","text-slate-500","font-mono"],[1,"text-sm","text-slate-500","italic"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-2"],[1,"bg-slate-950","border","border-slate-800","rounded","p-3","hover:border-cyan-700","cursor-pointer","transition"],[1,"fixed","inset-0","bg-black/70","flex","items-center","justify-center","p-4","z-50"],[1,"bg-slate-950","border","border-slate-800","rounded","p-3","hover:border-cyan-700","cursor-pointer","transition",3,"click"],[1,"text-cyan-400","font-mono","text-sm"],[1,"text-xs","text-slate-400","mt-1","line-clamp-3"],[1,"fixed","inset-0","bg-black/70","flex","items-center","justify-center","p-4","z-50",3,"click"],[1,"bg-slate-900","border","border-cyan-700","rounded","p-4","max-w-3xl","max-h-[80vh]","overflow-auto","w-full",2,"max-height","80dvh",3,"click"],[1,"flex","items-center","justify-between","mb-3"],[1,"text-cyan-300","font-bold"],[1,"text-slate-400","hover:text-white",3,"click"],[1,"text-xs","text-slate-200","whitespace-pre-wrap","font-mono"]],template:function(t,i){if(t&1&&(n(0,"div",0)(1,"div",1)(2,"h2",2),a(3,"Workflow Library"),o(),n(4,"span",3),a(5),o()(),k(6,Mt,2,0,"p",4),n(7,"div",5),D(8,Pt,5,2,"div",6,Dt),o(),k(10,Lt,9,2,"div",7),o()),t&2){let l;s(5),v("",i.workflows_$().length," workflow"),s(),f(i.workflows_$().length===0?6:-1),s(2),M(i.workflows_$()),s(2),f((l=i.selected_$())?10:-1,l)}},dependencies:[$],encapsulation:2})}return r})();function Ft(r,c){if(r&1){let e=S();n(0,"button",27),p("click",function(){m(e);let i=d(2);return u(i.handleStart())}),a(1,"Start"),o()}}function At(r,c){if(r&1){let e=S();n(0,"button",28),p("click",function(){m(e);let i=d(2);return u(i.handlePause())}),a(1,"Pause"),o()}}function Nt(r,c){if(r&1){let e=S();n(0,"button",27),p("click",function(){m(e);let i=d(2);return u(i.handleResume())}),a(1,"Resume"),o()}}function zt(r,c){if(r&1){let e=S();n(0,"button",29),p("click",function(){m(e);let i=d(2);return u(i.handleStop())}),a(1,"Stop"),o()}}function Wt(r,c){if(r&1){let e=S();n(0,"div",18)(1,"div")(2,"h3",30),a(3,"Bootstrap \u2014 user j\xF3v\xE1hagy\uFFFD\uFFFDs sz\xFCks\xE9ges"),o(),n(4,"p",31),a(5,"N\xE9zd \xE1t a task-list\xE1t, \xE9s kattints az Elfogadom gombra."),o()(),n(6,"button",32),p("click",function(){m(e);let i=d(2);return u(i.handleConfirmBootstrap())}),a(7," Elfogadom "),o()()}}function Gt(r,c){if(r&1&&A(0,"app-orc-task-queue-panel",24),r&2){let e=d(2);C("tasks_$",e.tasks_$)}}function jt(r,c){if(r&1&&A(0,"app-orc-workflow-library-panel",25),r&2){let e,t=d(2);C("orchestratorId",(e=t.orchestratorId)!==null&&e!==void 0?e:"")}}function qt(r,c){if(r&1&&(n(0,"div",26)(1,"div")(2,"span",33),a(3,"Scope"),o(),n(4,"span",34),a(5),o()(),n(6,"div")(7,"span",33),a(8,"Projekt"),o(),n(9,"span",35),a(10),o()(),n(11,"div")(12,"span",33),a(13,"LLM"),o(),n(14,"span",34),a(15),o()(),n(16,"div")(17,"span",33),a(18,"Iter\xE1ci\xF3"),o(),n(19,"span",36),a(20),o()(),n(21,"div")(22,"span",33),a(23,"Max parallel"),o(),n(24,"span",36),a(25),o()(),n(26,"div")(27,"span",33),a(28,"Poll (s)"),o(),n(29,"span",36),a(30),o()(),n(31,"div")(32,"span",33),a(33,"Mode"),o(),n(34,"span",34),a(35),o()()()),r&2){let e=d();s(5),g(e.scope),s(5),g(e.projectId||"\u2014"),s(5),ce("",e.providerName," / ",e.model,""),s(5),g(e.iterationCount),s(5),g(e.maxParallelism),s(5),g(e.pollIntervalSeconds),s(5),g(e.operationMode)}}function Bt(r,c){if(r&1){let e=S();n(0,"app-s-session-detail-three-column-layout",2),p("endResizeStart",function(i){m(e);let l=d();return u(l.handleSidebarResizeStart(i))}),n(1,"div",3)(2,"div",4)(3,"a",5),a(4,"\u2190"),o(),n(5,"div",6)(6,"h1",7),a(7),o(),n(8,"p",8),a(9),o()(),n(10,"span",9),a(11),o(),n(12,"app-orc-mode-switcher",10),p("modeChanged",function(i){m(e);let l=d();return u(l.handleModeSwitch(i))}),o(),A(13,"span",11),n(14,"div",12),k(15,Ft,2,0,"button",13)(16,At,2,0,"button",14)(17,Nt,2,0,"button",13)(18,zt,2,0,"button",15),o(),n(19,"button",16),p("click",function(){m(e);let i=d();return u(i.handleOpenGraph())}),a(20," Graph "),o(),n(21,"button",17),p("click",function(){m(e);let i=d();return u(i.handleToggleSidebar())}),a(22),o()(),k(23,Wt,8,0,"div",18),A(24,"app-orc-chat-panel",19),o(),n(25,"div",20)(26,"div",21)(27,"button",22),p("click",function(){m(e);let i=d();return u(i.sidebarTab="tasks")}),a(28),o(),n(29,"button",22),p("click",function(){m(e);let i=d();return u(i.sidebarTab="workflows")}),a(30," Workflows "),o(),n(31,"button",22),p("click",function(){m(e);let i=d();return u(i.sidebarTab="info")}),a(32," Info "),o()(),n(33,"div",23),k(34,Gt,1,1,"app-orc-task-queue-panel",24)(35,jt,1,1,"app-orc-workflow-library-panel",25)(36,qt,36,8,"div",26),o()()()}if(r&2){let e,t=c,i=d();C("isStartOpen",!1)("isEndOpen",i.isSidebarOpen)("endWidthPx",i.sidebarWidthPx)("isResizing",i.isResizing),s(7),g(t.name),s(2),g(t._id),s(),E("bg-green-900",t.status==="active")("text-green-300",t.status==="active")("bg-yellow-900",t.status==="paused")("text-yellow-300",t.status==="paused")("bg-cyan-900",t.status==="waiting-for-user"||t.status==="bootstrap")("text-cyan-300",t.status==="waiting-for-user"||t.status==="bootstrap")("bg-red-900",t.status==="failed")("text-red-300",t.status==="failed")("bg-slate-700",t.status==="stopped"||t.status==="initializing")("text-slate-300",t.status==="stopped"||t.status==="initializing"),s(),v(" ",t.status," "),s(),C("mode_$",t.operationMode),s(3),f(t.status==="initializing"||t.status==="paused"||t.status==="stopped"?15:-1),s(),f(t.status==="active"?16:-1),s(),f(t.status==="paused"?17:-1),s(),f(t.status!=="stopped"?18:-1),s(4),v(" ",i.isSidebarOpen?"\u25B6":"\u25C0"," "),s(),f(t.status==="waiting-for-user"?23:-1),s(),C("orchestratorId",(e=i.orchestratorId)!==null&&e!==void 0?e:""),s(3),E("text-cyan-300",i.sidebarTab==="tasks")("border-b-2",i.sidebarTab==="tasks")("border-cyan-400",i.sidebarTab==="tasks")("text-slate-500",i.sidebarTab!=="tasks"),s(),v(" Tasks (",i.tasks_$().length,") "),s(),E("text-cyan-300",i.sidebarTab==="workflows")("border-b-2",i.sidebarTab==="workflows")("border-cyan-400",i.sidebarTab==="workflows")("text-slate-500",i.sidebarTab!=="workflows"),s(2),E("text-cyan-300",i.sidebarTab==="info")("border-b-2",i.sidebarTab==="info")("border-cyan-400",i.sidebarTab==="info")("text-slate-500",i.sidebarTab!=="info"),s(3),f(i.sidebarTab==="tasks"?34:-1),s(),f(i.sidebarTab==="workflows"?35:-1),s(),f(i.sidebarTab==="info"?36:-1)}}function Ut(r,c){r&1&&(n(0,"div",1),a(1," T\xF6lt\u0151dik az orchestrator\u2026 "),o())}var ke=(()=>{class r{route=x(Ne);orchestrator_DS=x(I);realtime_CS=x(xe);graph_DS=x(Ce);current_$=this.orchestrator_DS.currentOrchestrator_$;tasks_$=this.orchestrator_DS.currentTasks_$;orchestratorId=null;isSidebarOpen=!0;sidebarWidthPx=320;isResizing=!1;sidebarTab="tasks";resizeStartX=0;resizeStartWidth=0;onResizeMove=e=>this.handleSidebarResizeMove(e);onResizeEnd=()=>this.handleSidebarResizeEnd();ngOnInit(){this.orchestratorId=this.route.snapshot.paramMap.get("id"),this.orchestratorId&&(this.orchestrator_DS.refreshCurrent(this.orchestratorId),this.orchestrator_DS.refreshCurrentTasks(this.orchestratorId),this.orchestrator_DS.refreshCurrentMessages(this.orchestratorId),this.realtime_CS.subscribeDetail(this.orchestratorId))}ngOnDestroy(){this.realtime_CS.unsubscribeDetail(),this.orchestrator_DS.clearCurrent(),document.removeEventListener("pointermove",this.onResizeMove),document.removeEventListener("pointerup",this.onResizeEnd)}handleStart(){return _(this,null,function*(){if(this.orchestratorId)try{yield this.orchestrator_DS.startOrchestrator(this.orchestratorId)}catch(e){B.DyFM_Log.error("ORC_Detail | start failed",e)}})}handlePause(){return _(this,null,function*(){if(this.orchestratorId)try{yield this.orchestrator_DS.pauseOrchestrator(this.orchestratorId)}catch(e){B.DyFM_Log.error("ORC_Detail | pause failed",e)}})}handleResume(){return _(this,null,function*(){if(this.orchestratorId)try{yield this.orchestrator_DS.resumeOrchestrator(this.orchestratorId)}catch(e){B.DyFM_Log.error("ORC_Detail | resume failed",e)}})}handleStop(){return _(this,null,function*(){if(this.orchestratorId)try{yield this.orchestrator_DS.stopOrchestrator(this.orchestratorId)}catch(e){B.DyFM_Log.error("ORC_Detail | stop failed",e)}})}handleConfirmBootstrap(){return _(this,null,function*(){if(this.orchestratorId)try{yield this.orchestrator_DS.confirmBootstrap(this.orchestratorId)}catch(e){B.DyFM_Log.error("ORC_Detail | confirmBootstrap failed",e)}})}handleModeSwitch(e){return _(this,null,function*(){if(this.orchestratorId)try{yield this.orchestrator_DS.switchMode(this.orchestratorId,e)}catch(t){B.DyFM_Log.error("ORC_Detail | switchMode failed",t)}})}handleOpenGraph(){this.orchestratorId&&this.graph_DS.openGraph(this.orchestratorId)}handleToggleSidebar(){this.isSidebarOpen=!this.isSidebarOpen}handleSidebarResizeStart(e){this.isResizing=!0,this.resizeStartX=e.clientX,this.resizeStartWidth=this.sidebarWidthPx,document.addEventListener("pointermove",this.onResizeMove),document.addEventListener("pointerup",this.onResizeEnd)}handleSidebarResizeMove(e){let t=this.resizeStartX-e.clientX;this.sidebarWidthPx=Math.max(200,Math.min(600,this.resizeStartWidth+t))}handleSidebarResizeEnd(){this.isResizing=!1,document.removeEventListener("pointermove",this.onResizeMove),document.removeEventListener("pointerup",this.onResizeEnd)}static \u0275fac=function(t){return new(t||r)};static \u0275cmp=O({type:r,selectors:[["app-orc-detail"]],hostAttrs:[1,"flex","flex-1","min-h-0","overflow-hidden"],standalone:!0,features:[R],decls:3,vars:1,consts:[[3,"isStartOpen","isEndOpen","endWidthPx","isResizing"],[1,"flex","items-center","justify-center","h-full","text-slate-500"],[3,"endResizeStart","isStartOpen","isEndOpen","endWidthPx","isResizing"],["sDetailColumnMain","",1,"flex","flex-col","flex-1","min-h-0","overflow-hidden"],[1,"flex","items-center","gap-3","px-4","py-3","border-b","border-slate-800","bg-slate-900","shrink-0"],["routerLink","/orchestrator",1,"text-cyan-400","hover:text-cyan-300","text-sm"],[1,"min-w-0"],[1,"text-lg","font-bold","text-cyan-300","truncate"],[1,"text-xs","text-slate-500","font-mono","truncate"],[1,"px-2","py-0.5","rounded","text-xs","font-bold","shrink-0"],[3,"modeChanged","mode_$"],[1,"flex-1"],[1,"flex","gap-1","shrink-0"],[1,"px-3","py-1","bg-green-700","hover:bg-green-600","text-white","rounded","text-xs"],[1,"px-3","py-1","bg-yellow-700","hover:bg-yellow-600","text-white","rounded","text-xs"],[1,"px-3","py-1","bg-red-800","hover:bg-red-700","text-white","rounded","text-xs"],["title","Flow Graph",1,"px-2","py-1","border","border-cyan-700","text-cyan-400","hover:bg-cyan-900/30","rounded","text-xs","transition-colors","shrink-0",3,"click"],["title","Task queue sidebar",1,"px-2","py-1","border","border-slate-600","text-slate-400","hover:bg-slate-700/50","rounded","text-xs","transition-colors","shrink-0",3,"click"],[1,"bg-cyan-950","border-b","border-cyan-500","px-4","py-3","flex","items-center","justify-between","animate-pulse","shrink-0"],[1,"flex-1","min-h-0",3,"orchestratorId"],["sDetailColumnEnd","",1,"flex","flex-col","min-h-0","overflow-hidden"],[1,"flex","border-b","border-slate-800","shrink-0"],[1,"flex-1","px-3","py-2","text-xs","font-semibold","transition-colors",3,"click"],[1,"flex-1","overflow-y-auto","min-h-0"],[3,"tasks_$"],[3,"orchestratorId"],[1,"p-3","space-y-2","text-sm"],[1,"px-3","py-1","bg-green-700","hover:bg-green-600","text-white","rounded","text-xs",3,"click"],[1,"px-3","py-1","bg-yellow-700","hover:bg-yellow-600","text-white","rounded","text-xs",3,"click"],[1,"px-3","py-1","bg-red-800","hover:bg-red-700","text-white","rounded","text-xs",3,"click"],[1,"text-cyan-300","font-semibold","text-sm"],[1,"text-xs","text-cyan-200","mt-1"],[1,"px-4","py-2","bg-cyan-600","hover:bg-cyan-500","text-white","font-bold","rounded","transition","whitespace-nowrap","text-sm",3,"click"],[1,"text-xs","text-slate-500","block"],[1,"text-slate-200"],[1,"text-slate-200","font-mono","text-xs"],[1,"text-slate-200","font-mono"]],template:function(t,i){if(t&1&&(k(0,Bt,37,63,"app-s-session-detail-three-column-layout",0)(1,Ut,2,0,"div",1),A(2,"app-orc-graph-modal")),t&2){let l;f((l=i.current_$())?0:1,l)}},dependencies:[$,Q,de,qe,Je,Ze,et,tt,it],encapsulation:2})}return r})();var se=ie(re());var Qt=(r,c)=>c._id,Ht=r=>["/orchestrator",r];function Kt(r,c){if(r&1){let e=S();n(0,"button",12),p("click",function(){m(e);let i=d();return u(i.openForm())}),a(1," + \xDAj Orchestrator "),o()}}function Xt(r,c){if(r&1&&(n(0,"div",27),a(1),o()),r&2){let e=d(2);s(),v(" ",e.formError," ")}}function Yt(r,c){if(r&1){let e=S();n(0,"form",13),p("ngSubmit",function(){m(e);let i=d();return u(i.handleSubmitForm())}),n(1,"h2",14),a(2,"\xDAj Orchestrator"),o(),n(3,"div",15)(4,"label",16)(5,"span",17),a(6,"N\xE9v *"),o(),n(7,"input",18),W("ngModelChange",function(i){m(e);let l=d();return z(l.formName,i)||(l.formName=i),u(i)}),o()(),n(8,"label",16)(9,"span",17),a(10,"Scope"),o(),n(11,"select",19),W("ngModelChange",function(i){m(e);let l=d();return z(l.formScope,i)||(l.formScope=i),u(i)}),n(12,"option",20),a(13,"single-project"),o(),n(14,"option",21),a(15,"cross-project"),o(),n(16,"option",22),a(17,"specialized"),o()()(),n(18,"label",16)(19,"span",17),a(20,"Projekt ID"),o(),n(21,"input",23),W("ngModelChange",function(i){m(e);let l=d();return z(l.formProjectId,i)||(l.formProjectId=i),u(i)}),o()(),n(22,"label",16)(23,"span",17),a(24,"LLM Provider"),o(),n(25,"input",24),W("ngModelChange",function(i){m(e);let l=d();return z(l.formProviderName,i)||(l.formProviderName=i),u(i)}),o()(),n(26,"label",25)(27,"span",17),a(28,"Modell"),o(),n(29,"input",26),W("ngModelChange",function(i){m(e);let l=d();return z(l.formModel,i)||(l.formModel=i),u(i)}),o()()(),k(30,Xt,2,1,"div",27),n(31,"div",28)(32,"button",29),p("click",function(){m(e);let i=d();return u(i.closeForm())}),a(33," M\xE9gse "),o(),n(34,"button",30),a(35," L\xE9trehoz\xE1s "),o()()()}if(r&2){let e=d();s(7),N("ngModel",e.formName),s(4),N("ngModel",e.formScope),s(10),N("ngModel",e.formProjectId),s(4),N("ngModel",e.formProviderName),s(4),N("ngModel",e.formModel),s(),f(e.formError?30:-1)}}function Jt(r,c){if(r&1){let e=S();n(0,"button",41),p("click",function(){m(e);let i=d().$implicit,l=d();return u(l.handleStart(i._id))}),a(1," start "),o()}}function Zt(r,c){if(r&1){let e=S();n(0,"button",42),p("click",function(){m(e);let i=d().$implicit,l=d();return u(l.handlePause(i._id))}),a(1," pause "),o()}}function ei(r,c){if(r&1){let e=S();n(0,"button",41),p("click",function(){m(e);let i=d().$implicit,l=d();return u(l.handleResume(i._id))}),a(1," resume "),o()}}function ti(r,c){if(r&1){let e=S();n(0,"button",43),p("click",function(){m(e);let i=d().$implicit,l=d();return u(l.handleStop(i._id))}),a(1," stop "),o()}}function ii(r,c){if(r&1&&(n(0,"tr",11)(1,"td",31)(2,"a",32),a(3),o()(),n(4,"td",33),a(5),o(),n(6,"td",34),a(7),o(),n(8,"td",31)(9,"span",35),a(10),o()(),n(11,"td",36),a(12),o(),n(13,"td",37),k(14,Jt,2,0,"button",38)(15,Zt,2,0,"button",39)(16,ei,2,0,"button",38)(17,ti,2,0,"button",40),o()()),r&2){let e=c.$implicit;s(2),C("routerLink",Fe(30,Ht,e._id)),s(),v(" ",e.name," "),s(2),g(e.scope),s(2),v(" ",e.projectId||e.projectIds.join(",")||"\u2014"," "),s(2),E("bg-green-900",e.status==="active")("text-green-300",e.status==="active")("bg-yellow-900",e.status==="paused")("text-yellow-300",e.status==="paused")("bg-cyan-900",e.status==="waiting-for-user"||e.status==="bootstrap")("text-cyan-300",e.status==="waiting-for-user"||e.status==="bootstrap")("bg-red-900",e.status==="failed")("text-red-300",e.status==="failed")("bg-slate-700",e.status==="stopped"||e.status==="initializing")("text-slate-300",e.status==="stopped"||e.status==="initializing"),s(),v(" ",e.status," "),s(2),g(e.iterationCount),s(2),f(e.status==="initializing"||e.status==="paused"||e.status==="stopped"?14:-1),s(),f(e.status==="active"?15:-1),s(),f(e.status==="paused"?16:-1),s(),f(e.status!=="stopped"?17:-1)}}function ri(r,c){r&1&&(n(0,"tr")(1,"td",44),a(2,' Nincs Orchestrator. Kattints a \u201E+ \xDAj Orchestrator" gombra. '),o()())}var Ee=(()=>{class r{orchestrator_DS=x(I);realtime_CS=x(xe);orchestratorList_$=this.orchestrator_DS.orchestratorList_$;activeCount_$=this.orchestrator_DS.activeCount_$;formName="";formScope="single-project";formProjectId="";formProviderName="";formModel="";formIsOpen=!1;formError=null;ngOnInit(){this.realtime_CS.subscribeGlobal(),this.orchestrator_DS.refreshList()}openForm(){this.formIsOpen=!0,this.formError=null}closeForm(){this.formIsOpen=!1,this.formName="",this.formProjectId="",this.formProviderName="",this.formModel="",this.formError=null}handleSubmitForm(){return _(this,null,function*(){try{if(!this.formName.trim()){this.formError="N\xE9v megad\xE1sa k\xF6telez\u0151.";return}yield this.orchestrator_DS.createOrchestrator({name:this.formName.trim(),scope:this.formScope,projectId:this.formProjectId.trim()||void 0,providerName:this.formProviderName.trim()||void 0,model:this.formModel.trim()||void 0}),this.closeForm()}catch(e){this.formError=this.extractErrorMessage(e)}})}handleStart(e){return _(this,null,function*(){try{yield this.orchestrator_DS.startOrchestrator(e)}catch(t){se.DyFM_Log.error("ORC_List | start failed",t)}})}handlePause(e){return _(this,null,function*(){try{yield this.orchestrator_DS.pauseOrchestrator(e)}catch(t){se.DyFM_Log.error("ORC_List | pause failed",t)}})}handleResume(e){return _(this,null,function*(){try{yield this.orchestrator_DS.resumeOrchestrator(e)}catch(t){se.DyFM_Log.error("ORC_List | resume failed",t)}})}handleStop(e){return _(this,null,function*(){try{yield this.orchestrator_DS.stopOrchestrator(e)}catch(t){se.DyFM_Log.error("ORC_List | stop failed",t)}})}extractErrorMessage(e){return typeof e=="object"&&e!==null&&"message"in e?String(e.message):String(e)}static \u0275fac=function(t){return new(t||r)};static \u0275cmp=O({type:r,selectors:[["app-orc-list"]],standalone:!0,features:[R],decls:31,vars:4,consts:[[1,"p-6","space-y-4"],[1,"flex","items-center","justify-between"],[1,"text-2xl","font-bold","text-cyan-300"],[1,"text-sm","text-slate-400"],[1,"text-green-400","font-mono"],[1,"px-4","py-2","bg-cyan-600","hover:bg-cyan-500","text-white","font-bold","rounded","transition"],[1,"bg-slate-900","border","border-cyan-800","rounded","p-4","space-y-3"],[1,"overflow-x-auto","bg-slate-900","border","border-slate-800","rounded"],[1,"w-full","text-sm"],[1,"bg-slate-800","text-slate-300"],[1,"text-left","px-3","py-2"],[1,"border-t","border-slate-800","hover:bg-slate-800/50"],[1,"px-4","py-2","bg-cyan-600","hover:bg-cyan-500","text-white","font-bold","rounded","transition",3,"click"],[1,"bg-slate-900","border","border-cyan-800","rounded","p-4","space-y-3",3,"ngSubmit"],[1,"text-lg","font-semibold","text-cyan-300"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-3"],[1,"flex","flex-col","gap-1"],[1,"text-xs","text-slate-400"],["name","name","required","",1,"bg-slate-800","border","border-slate-700","rounded","px-2","py-1","text-white",3,"ngModelChange","ngModel"],["name","scope",1,"bg-slate-800","border","border-slate-700","rounded","px-2","py-1","text-white",3,"ngModelChange","ngModel"],["value","single-project"],["value","cross-project"],["value","specialized"],["name","projectId",1,"bg-slate-800","border","border-slate-700","rounded","px-2","py-1","text-white",3,"ngModelChange","ngModel"],["name","providerName","placeholder","openai / anthropic / ...",1,"bg-slate-800","border","border-slate-700","rounded","px-2","py-1","text-white",3,"ngModelChange","ngModel"],[1,"flex","flex-col","gap-1","md:col-span-2"],["name","model",1,"bg-slate-800","border","border-slate-700","rounded","px-2","py-1","text-white",3,"ngModelChange","ngModel"],[1,"bg-red-900","border","border-red-700","rounded","px-3","py-2","text-red-200","text-sm"],[1,"flex","gap-2","justify-end"],["type","button",1,"px-3","py-1","text-slate-400","hover:text-white",3,"click"],["type","submit",1,"px-4","py-1","bg-cyan-600","hover:bg-cyan-500","text-white","rounded"],[1,"px-3","py-2"],[1,"text-cyan-400","hover:text-cyan-300","font-mono",3,"routerLink"],[1,"px-3","py-2","text-slate-400"],[1,"px-3","py-2","text-slate-400","font-mono","text-xs"],[1,"px-2","py-0.5","rounded","text-xs","font-bold"],[1,"px-3","py-2","text-slate-500","font-mono"],[1,"px-3","py-2","space-x-1"],[1,"px-2","py-0.5","bg-green-700","hover:bg-green-600","text-white","rounded","text-xs"],[1,"px-2","py-0.5","bg-yellow-700","hover:bg-yellow-600","text-white","rounded","text-xs"],[1,"px-2","py-0.5","bg-red-800","hover:bg-red-700","text-white","rounded","text-xs"],[1,"px-2","py-0.5","bg-green-700","hover:bg-green-600","text-white","rounded","text-xs",3,"click"],[1,"px-2","py-0.5","bg-yellow-700","hover:bg-yellow-600","text-white","rounded","text-xs",3,"click"],[1,"px-2","py-0.5","bg-red-800","hover:bg-red-700","text-white","rounded","text-xs",3,"click"],["colspan","6",1,"px-3","py-6","text-center","text-slate-500"]],template:function(t,i){t&1&&(n(0,"div",0)(1,"div",1)(2,"div")(3,"h1",2),a(4,"Orchestrator Agents"),o(),n(5,"p",3),a(6," Akt\xEDv: "),n(7,"span",4),a(8),o()()(),k(9,Kt,2,0,"button",5),o(),k(10,Yt,36,6,"form",6),n(11,"div",7)(12,"table",8)(13,"thead",9)(14,"tr")(15,"th",10),a(16,"N\xE9v"),o(),n(17,"th",10),a(18,"Scope"),o(),n(19,"th",10),a(20,"Projekt"),o(),n(21,"th",10),a(22,"St\xE1tusz"),o(),n(23,"th",10),a(24,"Iter#"),o(),n(25,"th",10),a(26,"M\u0171veletek"),o()()(),n(27,"tbody"),D(28,ii,18,32,"tr",11,Qt,!1,ri,3,0,"tr"),o()()()()),t&2&&(s(8),g(i.activeCount_$()),s(),f(i.formIsOpen?-1:9),s(),f(i.formIsOpen?10:-1),s(18),M(i.orchestratorList_$()))},dependencies:[$,Y,me,he,fe,H,ue,K,pe,ze,X,_e,Q,de],encapsulation:2})}return r})();var ni=[{path:"",pathMatch:"full",component:Ee},{path:":id",component:ke}],Zr=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275mod=$e({type:r});static \u0275inj=Re({imports:[$,Q.forChild(ni),Ee,ke]})}return r})();export{Zr as Orchestrator_Module};
2
- //# sourceMappingURL=orc.module-KZELL6XR.js.map