@futdevpro/ccap 1.1.2664 → 1.1.2678

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 (198) hide show
  1. package/client-dist/{agent-instances.module-5LMGBLHG.js → agent-instances.module-57SLDNGT.js} +2 -2
  2. package/client-dist/{ca.module-QNXPMMLR.js → ca.module-7YEQLFCE.js} +2 -2
  3. package/client-dist/{cc.module-GSUEARLP.js → cc.module-ZQRUJ2NA.js} +2 -2
  4. package/client-dist/{chunk-DITUHWM3.js → chunk-3HKZQ6QH.js} +2 -2
  5. package/client-dist/{chunk-I7TKC7IM.js → chunk-3O7GOMXE.js} +2 -2
  6. package/client-dist/{chunk-C5BM6C25.js → chunk-46TROZ73.js} +2 -2
  7. package/client-dist/{chunk-TR6UAFKZ.js → chunk-47OXWMO7.js} +2 -2
  8. package/client-dist/{chunk-Q6FBAX4H.js → chunk-4BLOQJUZ.js} +2 -2
  9. package/client-dist/{chunk-WOEH6WZ4.js → chunk-4EWKZ7VX.js} +2 -2
  10. package/client-dist/{chunk-RCM4LF75.js → chunk-55GMH22H.js} +2 -2
  11. package/client-dist/{chunk-HIV5KAHS.js → chunk-5BTF5S42.js} +2 -2
  12. package/client-dist/{chunk-FRAVJOQH.js → chunk-5PHMZ2PC.js} +2 -2
  13. package/client-dist/{chunk-7766TXZC.js → chunk-5UZMSDHX.js} +2 -2
  14. package/client-dist/{chunk-LJMVKVPV.js → chunk-5WVHNGPP.js} +2 -2
  15. package/client-dist/{chunk-MB5AQ7KN.js → chunk-7TB2WG7K.js} +2 -2
  16. package/client-dist/{chunk-K4ULXDTU.js → chunk-7XLL7NID.js} +2 -2
  17. package/client-dist/{chunk-ST45PTSW.js → chunk-AOLSZNC7.js} +2 -2
  18. package/client-dist/{chunk-4CHICIRY.js → chunk-B2FB57VV.js} +2 -2
  19. package/client-dist/{chunk-TIWRSO7F.js → chunk-B42T7WZA.js} +2 -2
  20. package/client-dist/{chunk-75ND5TDN.js → chunk-BF24ZE6G.js} +2 -2
  21. package/client-dist/{chunk-XNWK54SF.js → chunk-C4NA4HMD.js} +2 -2
  22. package/client-dist/{chunk-IF3VAHEE.js → chunk-CEOMFFZ6.js} +2 -2
  23. package/client-dist/{chunk-NXOUY2HD.js → chunk-CN4NGPWP.js} +2 -2
  24. package/client-dist/{chunk-Z3AVHATN.js → chunk-CYFJDAU7.js} +2 -2
  25. package/client-dist/{chunk-G6PIIKXR.js → chunk-D55TUAWH.js} +2 -2
  26. package/client-dist/{chunk-JUE2TJJX.js → chunk-FDETPIGK.js} +2 -2
  27. package/client-dist/{chunk-SHLAMFEV.js → chunk-FL2V7XCW.js} +2 -2
  28. package/client-dist/{chunk-SAPVYCII.js → chunk-FLBZDJPT.js} +2 -2
  29. package/client-dist/{chunk-L4GJGPJ4.js → chunk-GQV6D7YE.js} +2 -2
  30. package/client-dist/{chunk-2B2DT7H4.js → chunk-GZPA5HIL.js} +2 -2
  31. package/client-dist/{chunk-XBSMG2PH.js → chunk-HH2Y4XQ3.js} +2 -2
  32. package/client-dist/{chunk-H7RIE7ZH.js → chunk-I6Z5TNSY.js} +2 -2
  33. package/client-dist/{chunk-HXIYS25S.js → chunk-IP3XY3MI.js} +2 -2
  34. package/client-dist/{chunk-HXIYS25S.js.map → chunk-IP3XY3MI.js.map} +1 -1
  35. package/client-dist/{chunk-SZETQILG.js → chunk-K5XBE7SE.js} +2 -2
  36. package/client-dist/chunk-NKJRWTWR.js +18 -0
  37. package/client-dist/chunk-NKJRWTWR.js.map +7 -0
  38. package/client-dist/{chunk-MB2TSTPQ.js → chunk-NU7PEHG3.js} +2 -2
  39. package/client-dist/{chunk-TNNCAKLB.js → chunk-O3AIEHAX.js} +2 -2
  40. package/client-dist/{chunk-GGBLDITX.js → chunk-OCRY4GPS.js} +2 -2
  41. package/client-dist/{chunk-2TX25F5R.js → chunk-OQQ4QRSE.js} +2 -2
  42. package/client-dist/{chunk-PHY5TBOC.js → chunk-P2UDIE7N.js} +2 -2
  43. package/client-dist/{chunk-M55U7NQJ.js → chunk-PLOUSLDF.js} +2 -2
  44. package/client-dist/{chunk-UVAR2CXV.js → chunk-Q6XEN3YG.js} +2 -2
  45. package/client-dist/{chunk-5W2SNSR2.js → chunk-R3GWWEAD.js} +2 -2
  46. package/client-dist/{chunk-ZV5GBLRZ.js → chunk-RCDIEL4H.js} +2 -2
  47. package/client-dist/{chunk-KTML2SKB.js → chunk-RCVRN6Z2.js} +2 -2
  48. package/client-dist/{chunk-BH533MQ7.js → chunk-SKP32LN3.js} +2 -2
  49. package/client-dist/{chunk-XTPEUIXQ.js → chunk-SUKJ3JUX.js} +2 -2
  50. package/client-dist/{chunk-EPXVJ4SI.js → chunk-T253RW73.js} +2 -2
  51. package/client-dist/{chunk-KUT6G2Y5.js → chunk-TBLNL5EM.js} +2 -2
  52. package/client-dist/{chunk-L2UQVU7R.js → chunk-TUG3SWTI.js} +2 -2
  53. package/client-dist/{chunk-2LJ6P2AK.js → chunk-U7F772X5.js} +2 -2
  54. package/client-dist/{chunk-GYPGNFXA.js → chunk-UPSZTEUC.js} +2 -2
  55. package/client-dist/{chunk-T7FJMECA.js → chunk-UZAOBHKH.js} +2 -2
  56. package/client-dist/{chunk-JC7JAYRH.js → chunk-WHY6Q25D.js} +2 -2
  57. package/client-dist/{chunk-JTPE5RDY.js → chunk-YMGBYK2E.js} +2 -2
  58. package/client-dist/{chunk-M3A6NBDV.js → chunk-YSCAIGTV.js} +2 -2
  59. package/client-dist/{chunk-L3545XHT.js → chunk-Z52KW27H.js} +2 -2
  60. package/client-dist/{chunk-J2VVV53B.js → chunk-ZFIOMFSD.js} +2 -2
  61. package/client-dist/{chunk-OYNMBASX.js → chunk-ZG5SMVYD.js} +2 -2
  62. package/client-dist/{consultant.module-XKRH4HPW.js → consultant.module-POZHY2EP.js} +2 -2
  63. package/client-dist/{crd.module-Q45GQGSF.js → crd.module-Z4PJ7FDF.js} +2 -2
  64. package/client-dist/{dashboard.module-BZP52FGU.js → dashboard.module-VUSPPQCL.js} +2 -2
  65. package/client-dist/{do.module-Z77FFEIL.js → do.module-5I2LGJBB.js} +2 -2
  66. package/client-dist/{do.module-Z77FFEIL.js.map → do.module-5I2LGJBB.js.map} +2 -2
  67. package/client-dist/{document-library.module-HTSIVG6C.js → document-library.module-HLC4IW4I.js} +2 -2
  68. package/client-dist/{embedding-eval.module-MFWA6YFZ.js → embedding-eval.module-UHL5GVM5.js} +2 -2
  69. package/client-dist/{embedding-registry.module-XXMDVGBW.js → embedding-registry.module-6RFQC4DO.js} +2 -2
  70. package/client-dist/{err.module-ID4VHP5U.js → err.module-2LHZ2MNQ.js} +2 -2
  71. package/client-dist/{feedback.module-HVPPSW4Q.js → feedback.module-XF64MIM7.js} +2 -2
  72. package/client-dist/{host-runtime-mcp.module-NKFBTP5M.js → host-runtime-mcp.module-DC6ADXTG.js} +2 -2
  73. package/client-dist/index.html +1 -1
  74. package/client-dist/{live-dev-pipeline.module-CEFMGZC7.js → live-dev-pipeline.module-PRAVJPON.js} +2 -2
  75. package/client-dist/{logs.module-KCFNIUTW.js → logs.module-CR6DTVWV.js} +2 -2
  76. package/client-dist/{main-YY4XANLB.js → main-UD3ZVCT3.js} +3 -3
  77. package/client-dist/{master-control-remote-poc.module-7IYI22CZ.js → master-control-remote-poc.module-COTAN4DB.js} +2 -2
  78. package/client-dist/{mobile-app.module-6IS75ZHZ.js → mobile-app.module-QSFE2Y3Y.js} +2 -2
  79. package/client-dist/{model-registry.module-ZVFJS4MN.js → model-registry.module-BTTNZS2T.js} +2 -2
  80. package/client-dist/{oc.module-V7IUAZAL.js → oc.module-QNNKXRLV.js} +2 -2
  81. package/client-dist/{orc.module-74XB3A46.js → orc.module-APE7FQ3H.js} +2 -2
  82. package/client-dist/{project-management.module-MIBFP4RJ.js → project-management.module-YIUZJFDS.js} +2 -2
  83. package/client-dist/project-source-routed.module-Y32IKRPT.js +2 -0
  84. package/client-dist/{scheduler.module-TYLSCGVI.js → scheduler.module-EYT42PK7.js} +2 -2
  85. package/client-dist/{session.module-ZOLGV66Q.js → session.module-4VNLKOHD.js} +2 -2
  86. package/client-dist/{set.module-YWJIQ2QI.js → set.module-IRCVHVVQ.js} +2 -2
  87. package/client-dist/{setup.module-VWFCC6SN.js → setup.module-STQIEGFT.js} +2 -2
  88. package/client-dist/{terminals.module-BSQXFZLE.js → terminals.module-CD5W6CQ5.js} +2 -2
  89. package/client-dist/{voice-notes-poc.module-7ULLZYEB.js → voice-notes-poc.module-PWGOAH4P.js} +2 -2
  90. package/client-dist/{wfs.module-XWRAWS3G.js → wfs.module-NDDLOD2Q.js} +2 -2
  91. package/package.json +1 -1
  92. package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-recovery.util.d.ts.map +1 -1
  93. package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-recovery.util.js +24 -2
  94. package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-recovery.util.js.map +1 -1
  95. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-adapter.control-service.d.ts +5 -0
  96. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-adapter.control-service.d.ts.map +1 -1
  97. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-adapter.control-service.js +7 -0
  98. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-adapter.control-service.js.map +1 -1
  99. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-manager.control-service.d.ts +23 -0
  100. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-manager.control-service.d.ts.map +1 -1
  101. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-manager.control-service.js +63 -1
  102. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-manager.control-service.js.map +1 -1
  103. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal-grace-period.control-service.spec.js +33 -0
  104. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal-grace-period.control-service.spec.js.map +1 -1
  105. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.d.ts +11 -0
  106. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.d.ts.map +1 -1
  107. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.js +83 -102
  108. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.js.map +1 -1
  109. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-terminal-runner-spawn.util.d.ts +43 -0
  110. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-terminal-runner-spawn.util.d.ts.map +1 -0
  111. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-terminal-runner-spawn.util.js +126 -0
  112. package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-terminal-runner-spawn.util.js.map +1 -0
  113. package/client-dist/chunk-EJGY2JJ3.js +0 -18
  114. package/client-dist/chunk-EJGY2JJ3.js.map +0 -7
  115. package/client-dist/project-source-routed.module-KPWJRSEP.js +0 -2
  116. /package/client-dist/{agent-instances.module-5LMGBLHG.js.map → agent-instances.module-57SLDNGT.js.map} +0 -0
  117. /package/client-dist/{ca.module-QNXPMMLR.js.map → ca.module-7YEQLFCE.js.map} +0 -0
  118. /package/client-dist/{cc.module-GSUEARLP.js.map → cc.module-ZQRUJ2NA.js.map} +0 -0
  119. /package/client-dist/{chunk-DITUHWM3.js.map → chunk-3HKZQ6QH.js.map} +0 -0
  120. /package/client-dist/{chunk-I7TKC7IM.js.map → chunk-3O7GOMXE.js.map} +0 -0
  121. /package/client-dist/{chunk-C5BM6C25.js.map → chunk-46TROZ73.js.map} +0 -0
  122. /package/client-dist/{chunk-TR6UAFKZ.js.map → chunk-47OXWMO7.js.map} +0 -0
  123. /package/client-dist/{chunk-Q6FBAX4H.js.map → chunk-4BLOQJUZ.js.map} +0 -0
  124. /package/client-dist/{chunk-WOEH6WZ4.js.map → chunk-4EWKZ7VX.js.map} +0 -0
  125. /package/client-dist/{chunk-RCM4LF75.js.map → chunk-55GMH22H.js.map} +0 -0
  126. /package/client-dist/{chunk-HIV5KAHS.js.map → chunk-5BTF5S42.js.map} +0 -0
  127. /package/client-dist/{chunk-FRAVJOQH.js.map → chunk-5PHMZ2PC.js.map} +0 -0
  128. /package/client-dist/{chunk-7766TXZC.js.map → chunk-5UZMSDHX.js.map} +0 -0
  129. /package/client-dist/{chunk-LJMVKVPV.js.map → chunk-5WVHNGPP.js.map} +0 -0
  130. /package/client-dist/{chunk-MB5AQ7KN.js.map → chunk-7TB2WG7K.js.map} +0 -0
  131. /package/client-dist/{chunk-K4ULXDTU.js.map → chunk-7XLL7NID.js.map} +0 -0
  132. /package/client-dist/{chunk-ST45PTSW.js.map → chunk-AOLSZNC7.js.map} +0 -0
  133. /package/client-dist/{chunk-4CHICIRY.js.map → chunk-B2FB57VV.js.map} +0 -0
  134. /package/client-dist/{chunk-TIWRSO7F.js.map → chunk-B42T7WZA.js.map} +0 -0
  135. /package/client-dist/{chunk-75ND5TDN.js.map → chunk-BF24ZE6G.js.map} +0 -0
  136. /package/client-dist/{chunk-XNWK54SF.js.map → chunk-C4NA4HMD.js.map} +0 -0
  137. /package/client-dist/{chunk-IF3VAHEE.js.map → chunk-CEOMFFZ6.js.map} +0 -0
  138. /package/client-dist/{chunk-NXOUY2HD.js.map → chunk-CN4NGPWP.js.map} +0 -0
  139. /package/client-dist/{chunk-Z3AVHATN.js.map → chunk-CYFJDAU7.js.map} +0 -0
  140. /package/client-dist/{chunk-G6PIIKXR.js.map → chunk-D55TUAWH.js.map} +0 -0
  141. /package/client-dist/{chunk-JUE2TJJX.js.map → chunk-FDETPIGK.js.map} +0 -0
  142. /package/client-dist/{chunk-SHLAMFEV.js.map → chunk-FL2V7XCW.js.map} +0 -0
  143. /package/client-dist/{chunk-SAPVYCII.js.map → chunk-FLBZDJPT.js.map} +0 -0
  144. /package/client-dist/{chunk-L4GJGPJ4.js.map → chunk-GQV6D7YE.js.map} +0 -0
  145. /package/client-dist/{chunk-2B2DT7H4.js.map → chunk-GZPA5HIL.js.map} +0 -0
  146. /package/client-dist/{chunk-XBSMG2PH.js.map → chunk-HH2Y4XQ3.js.map} +0 -0
  147. /package/client-dist/{chunk-H7RIE7ZH.js.map → chunk-I6Z5TNSY.js.map} +0 -0
  148. /package/client-dist/{chunk-SZETQILG.js.map → chunk-K5XBE7SE.js.map} +0 -0
  149. /package/client-dist/{chunk-MB2TSTPQ.js.map → chunk-NU7PEHG3.js.map} +0 -0
  150. /package/client-dist/{chunk-TNNCAKLB.js.map → chunk-O3AIEHAX.js.map} +0 -0
  151. /package/client-dist/{chunk-GGBLDITX.js.map → chunk-OCRY4GPS.js.map} +0 -0
  152. /package/client-dist/{chunk-2TX25F5R.js.map → chunk-OQQ4QRSE.js.map} +0 -0
  153. /package/client-dist/{chunk-PHY5TBOC.js.map → chunk-P2UDIE7N.js.map} +0 -0
  154. /package/client-dist/{chunk-M55U7NQJ.js.map → chunk-PLOUSLDF.js.map} +0 -0
  155. /package/client-dist/{chunk-UVAR2CXV.js.map → chunk-Q6XEN3YG.js.map} +0 -0
  156. /package/client-dist/{chunk-5W2SNSR2.js.map → chunk-R3GWWEAD.js.map} +0 -0
  157. /package/client-dist/{chunk-ZV5GBLRZ.js.map → chunk-RCDIEL4H.js.map} +0 -0
  158. /package/client-dist/{chunk-KTML2SKB.js.map → chunk-RCVRN6Z2.js.map} +0 -0
  159. /package/client-dist/{chunk-BH533MQ7.js.map → chunk-SKP32LN3.js.map} +0 -0
  160. /package/client-dist/{chunk-XTPEUIXQ.js.map → chunk-SUKJ3JUX.js.map} +0 -0
  161. /package/client-dist/{chunk-EPXVJ4SI.js.map → chunk-T253RW73.js.map} +0 -0
  162. /package/client-dist/{chunk-KUT6G2Y5.js.map → chunk-TBLNL5EM.js.map} +0 -0
  163. /package/client-dist/{chunk-L2UQVU7R.js.map → chunk-TUG3SWTI.js.map} +0 -0
  164. /package/client-dist/{chunk-2LJ6P2AK.js.map → chunk-U7F772X5.js.map} +0 -0
  165. /package/client-dist/{chunk-GYPGNFXA.js.map → chunk-UPSZTEUC.js.map} +0 -0
  166. /package/client-dist/{chunk-T7FJMECA.js.map → chunk-UZAOBHKH.js.map} +0 -0
  167. /package/client-dist/{chunk-JC7JAYRH.js.map → chunk-WHY6Q25D.js.map} +0 -0
  168. /package/client-dist/{chunk-JTPE5RDY.js.map → chunk-YMGBYK2E.js.map} +0 -0
  169. /package/client-dist/{chunk-M3A6NBDV.js.map → chunk-YSCAIGTV.js.map} +0 -0
  170. /package/client-dist/{chunk-L3545XHT.js.map → chunk-Z52KW27H.js.map} +0 -0
  171. /package/client-dist/{chunk-J2VVV53B.js.map → chunk-ZFIOMFSD.js.map} +0 -0
  172. /package/client-dist/{chunk-OYNMBASX.js.map → chunk-ZG5SMVYD.js.map} +0 -0
  173. /package/client-dist/{consultant.module-XKRH4HPW.js.map → consultant.module-POZHY2EP.js.map} +0 -0
  174. /package/client-dist/{crd.module-Q45GQGSF.js.map → crd.module-Z4PJ7FDF.js.map} +0 -0
  175. /package/client-dist/{dashboard.module-BZP52FGU.js.map → dashboard.module-VUSPPQCL.js.map} +0 -0
  176. /package/client-dist/{document-library.module-HTSIVG6C.js.map → document-library.module-HLC4IW4I.js.map} +0 -0
  177. /package/client-dist/{embedding-eval.module-MFWA6YFZ.js.map → embedding-eval.module-UHL5GVM5.js.map} +0 -0
  178. /package/client-dist/{embedding-registry.module-XXMDVGBW.js.map → embedding-registry.module-6RFQC4DO.js.map} +0 -0
  179. /package/client-dist/{err.module-ID4VHP5U.js.map → err.module-2LHZ2MNQ.js.map} +0 -0
  180. /package/client-dist/{feedback.module-HVPPSW4Q.js.map → feedback.module-XF64MIM7.js.map} +0 -0
  181. /package/client-dist/{host-runtime-mcp.module-NKFBTP5M.js.map → host-runtime-mcp.module-DC6ADXTG.js.map} +0 -0
  182. /package/client-dist/{live-dev-pipeline.module-CEFMGZC7.js.map → live-dev-pipeline.module-PRAVJPON.js.map} +0 -0
  183. /package/client-dist/{logs.module-KCFNIUTW.js.map → logs.module-CR6DTVWV.js.map} +0 -0
  184. /package/client-dist/{main-YY4XANLB.js.map → main-UD3ZVCT3.js.map} +0 -0
  185. /package/client-dist/{master-control-remote-poc.module-7IYI22CZ.js.map → master-control-remote-poc.module-COTAN4DB.js.map} +0 -0
  186. /package/client-dist/{mobile-app.module-6IS75ZHZ.js.map → mobile-app.module-QSFE2Y3Y.js.map} +0 -0
  187. /package/client-dist/{model-registry.module-ZVFJS4MN.js.map → model-registry.module-BTTNZS2T.js.map} +0 -0
  188. /package/client-dist/{oc.module-V7IUAZAL.js.map → oc.module-QNNKXRLV.js.map} +0 -0
  189. /package/client-dist/{orc.module-74XB3A46.js.map → orc.module-APE7FQ3H.js.map} +0 -0
  190. /package/client-dist/{project-management.module-MIBFP4RJ.js.map → project-management.module-YIUZJFDS.js.map} +0 -0
  191. /package/client-dist/{project-source-routed.module-KPWJRSEP.js.map → project-source-routed.module-Y32IKRPT.js.map} +0 -0
  192. /package/client-dist/{scheduler.module-TYLSCGVI.js.map → scheduler.module-EYT42PK7.js.map} +0 -0
  193. /package/client-dist/{session.module-ZOLGV66Q.js.map → session.module-4VNLKOHD.js.map} +0 -0
  194. /package/client-dist/{set.module-YWJIQ2QI.js.map → set.module-IRCVHVVQ.js.map} +0 -0
  195. /package/client-dist/{setup.module-VWFCC6SN.js.map → setup.module-STQIEGFT.js.map} +0 -0
  196. /package/client-dist/{terminals.module-BSQXFZLE.js.map → terminals.module-CD5W6CQ5.js.map} +0 -0
  197. /package/client-dist/{voice-notes-poc.module-7ULLZYEB.js.map → voice-notes-poc.module-PWGOAH4P.js.map} +0 -0
  198. /package/client-dist/{wfs.module-XWRAWS3G.js.map → wfs.module-NDDLOD2Q.js.map} +0 -0
@@ -0,0 +1,126 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CC_TerminalRunnerSpawn_Util = void 0;
4
+ const child_process_1 = require("child_process");
5
+ const fsm_dynamo_1 = require("@futdevpro/fsm-dynamo");
6
+ const attach_mandatory_child_process_error_handler_util_1 = require("../../../../../../ccap-agent/_modules/tools/_collections/utils/exec/attach-mandatory-child-process-error-handler.util");
7
+ const get_windows_cmd_spawn_candidate_paths_util_1 = require("../../../../../../ccap-agent/_modules/tools/_collections/utils/exec/get-windows-cmd-spawn-candidate-paths.util");
8
+ const tls_linux_terminal_spawn_util_1 = require("../../../../../../ccap-agent/_modules/tools/_collections/utils/exec/tls-linux-terminal-spawn.util");
9
+ /** Platform-független terminal-runner spawn util. */
10
+ class CC_TerminalRunnerSpawn_Util {
11
+ /**
12
+ * Spawn-elj egy terminál-emulátor child process-t a platformra megfelelően
13
+ * (win32: cmd `start` candidate-loop, linux: Tls_LinuxTerminalSpawn_Util plan).
14
+ * NEM dob — minden hibát a return-struct `lastSpawnError`-jébe gyűjt; a hívó
15
+ * dönt a CCAP-CCS-TERMINAL-SPAWN-FAIL throw-ról.
16
+ */
17
+ static async spawnTerminalRunnerProcess(params) {
18
+ if (process.platform === 'win32') {
19
+ return CC_TerminalRunnerSpawn_Util.spawnOnWindows(params);
20
+ }
21
+ return CC_TerminalRunnerSpawn_Util.spawnOnLinux(params);
22
+ }
23
+ /** win32: cmd `start` + candidate-paths loop, mint az exec-terminal-manager. */
24
+ static async spawnOnWindows(params) {
25
+ const cmdArgs = [
26
+ '/c', 'start',
27
+ '/d', params.workspacePath,
28
+ params.title,
29
+ params.runnerCommand,
30
+ ...params.runnerArgs,
31
+ ];
32
+ const cmdCandidates = get_windows_cmd_spawn_candidate_paths_util_1.Tls_GetWindowsCmdSpawnCandidatePaths_Util.getWindowsCmdSpawnCandidatePaths();
33
+ let lastSpawnError = '';
34
+ for (const cmdPath of cmdCandidates) {
35
+ try {
36
+ const child = (0, child_process_1.spawn)(cmdPath, cmdArgs, {
37
+ detached: true,
38
+ stdio: 'ignore',
39
+ cwd: params.runnerCwd,
40
+ });
41
+ attach_mandatory_child_process_error_handler_util_1.Tls_AttachMandatoryChildProcessErrorHandler_Util.attachMandatoryChildProcessErrorHandler({
42
+ child: child,
43
+ context: `CC_AdapterTerminal | spawn terminal runner (win32) | cmd=${cmdPath}`,
44
+ onError: (err) => {
45
+ lastSpawnError = err.message;
46
+ },
47
+ });
48
+ child.unref();
49
+ fsm_dynamo_1.DyFM_Log.info(`CC_AdapterTerminal | terminal runner spawned (win32)`
50
+ + ` | session: ${params.sessionId}`
51
+ + ` | terminalId: ${params.terminalId}`
52
+ + ` | cmd: ${cmdPath}`);
53
+ return {
54
+ spawned: true,
55
+ spawnAttemptsCount: cmdCandidates.length,
56
+ chosenBinary: cmdPath,
57
+ lastSpawnError: lastSpawnError,
58
+ };
59
+ }
60
+ catch (err) {
61
+ lastSpawnError = fsm_dynamo_1.DyFM_Error.getErrorMessage(err);
62
+ }
63
+ }
64
+ return {
65
+ spawned: false,
66
+ spawnAttemptsCount: cmdCandidates.length,
67
+ chosenBinary: '',
68
+ lastSpawnError: lastSpawnError,
69
+ };
70
+ }
71
+ /** Linux: Tls_LinuxTerminalSpawn_Util plan + spawn (gnome-terminal / konsole / xterm / stb.). */
72
+ static async spawnOnLinux(params) {
73
+ const plan = tls_linux_terminal_spawn_util_1.Tls_LinuxTerminalSpawn_Util.planSpawn({
74
+ workspacePath: params.workspacePath,
75
+ title: params.title,
76
+ command: params.runnerCommand,
77
+ commandArgs: params.runnerArgs,
78
+ });
79
+ if (!plan) {
80
+ return {
81
+ spawned: false,
82
+ spawnAttemptsCount: 0,
83
+ chosenBinary: '',
84
+ lastSpawnError: 'No usable Linux terminal emulator found (no $DISPLAY / $WAYLAND_DISPLAY, or no known'
85
+ + ' emulator in PATH). Install gnome-terminal / konsole / xterm / etc. and ensure a graphical session.',
86
+ };
87
+ }
88
+ let lastSpawnError = '';
89
+ try {
90
+ const child = (0, child_process_1.spawn)(plan.binaryPath, plan.args, {
91
+ detached: true,
92
+ stdio: 'ignore',
93
+ cwd: plan.cwd,
94
+ });
95
+ attach_mandatory_child_process_error_handler_util_1.Tls_AttachMandatoryChildProcessErrorHandler_Util.attachMandatoryChildProcessErrorHandler({
96
+ child: child,
97
+ context: `CC_AdapterTerminal | spawn terminal runner (linux) | emulator=${plan.emulatorKind}`,
98
+ onError: (err) => {
99
+ lastSpawnError = err.message;
100
+ },
101
+ });
102
+ child.unref();
103
+ fsm_dynamo_1.DyFM_Log.info(`CC_AdapterTerminal | terminal runner spawned (linux)`
104
+ + ` | session: ${params.sessionId}`
105
+ + ` | terminalId: ${params.terminalId}`
106
+ + ` | emulator: ${plan.emulatorKind}`
107
+ + ` | binary: ${plan.binaryPath}`);
108
+ return {
109
+ spawned: true,
110
+ spawnAttemptsCount: 1,
111
+ chosenBinary: plan.binaryPath,
112
+ lastSpawnError: lastSpawnError,
113
+ };
114
+ }
115
+ catch (err) {
116
+ return {
117
+ spawned: false,
118
+ spawnAttemptsCount: 1,
119
+ chosenBinary: '',
120
+ lastSpawnError: fsm_dynamo_1.DyFM_Error.getErrorMessage(err),
121
+ };
122
+ }
123
+ }
124
+ }
125
+ exports.CC_TerminalRunnerSpawn_Util = CC_TerminalRunnerSpawn_Util;
126
+ //# sourceMappingURL=cc-terminal-runner-spawn.util.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cc-terminal-runner-spawn.util.js","sourceRoot":"","sources":["../../../../../../../../../src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-terminal-runner-spawn.util.ts"],"names":[],"mappings":"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"}
@@ -1,18 +0,0 @@
1
- import{a as fe}from"./chunk-MB2TSTPQ.js";import{a as _e,b as xe}from"./chunk-K4ULXDTU.js";import{a as de,b as ce}from"./chunk-MB5AQ7KN.js";import{a as me,b as Q}from"./chunk-L44637OO.js";import{a as le}from"./chunk-Z3AVHATN.js";import{b as se}from"./chunk-2B2DT7H4.js";import{d as pe}from"./chunk-4CHICIRY.js";import{d as q,h as ue}from"./chunk-BH533MQ7.js";import{a as re}from"./chunk-FLAJXIYW.js";import{f as ee,i as te,n as ne,o as ie,p as oe,v as ae}from"./chunk-EO4DNTT4.js";import{p as ke}from"./chunk-HXIYS25S.js";import{$a as V,C as T,D as v,Fa as s,Ga as k,Ha as f,Ia as Y,J as h,K as C,L as I,M as G,Q as W,T as H,Ta as y,U as D,Ua as $,Va as X,Z as r,aa as b,ab as Z,bb as z,da as m,fa as A,ga as p,h as Ee,hb as S,ia as M,k as N,la as u,mb as L,na as U,oa as R,pa as F,pb as B,qa as a,ra as o,sa as g,ua as E,ub as j,va as _,wa as c}from"./chunk-TBMJSIBB.js";var Se=Ee(ke());var J=(()=>{class i{static SESSION_LIMIT_TYPE="five_hour";static WEEKLY_LIMIT_TYPE="seven_day";static formatResetText(e){if(!e?.resetsAt)return"";let n=new Date(e.resetsAt*1e3),t=new Date,l=n.getTime()-t.getTime();if(l<=0)return"expired";let x=Math.floor(l/6e4),w=Math.floor(x/60),O=x%60;return w>0?`${w}h ${O}m`:`${O}m`}static formatResetTextPrecise(e){if(!e?.resetsAt)return"";let n=new Date(e.resetsAt*1e3),t=new Date,l=Math.floor((n.getTime()-t.getTime())/1e3);if(l<=0)return"expired";let x=Math.floor(l/86400),w=Math.floor(l%86400/3600),O=Math.floor(l%3600/60),we=l%60,K=[];return x&&K.push(`${x}d`),(x||w)&&K.push(`${w}h`),(x||w||O)&&K.push(`${O}m`),K.push(`${we}s`),K.join(" ")}static computeUtilizationPercent(e){if(!e)return 0;let n=typeof e.utilization=="number"?e.utilization:0,t=Math.max(0,Math.min(1,n));return Math.round(t*100)}static computeThresholdPercent(e){if(!e)return 0;let n=typeof e.surpassedThreshold=="number"?e.surpassedThreshold:0,t=Math.max(0,Math.min(1,n));return Math.round(t*100)}static isOverThreshold(e){if(!e)return!1;let n=typeof e.utilization=="number"?e.utilization:0,t=typeof e.surpassedThreshold=="number"?e.surpassedThreshold:1;return n>=t&&t>0}static formatLimitScopeLabel(e){return e?.rateLimitType?e.rateLimitType===i.SESSION_LIMIT_TYPE?"Session":e.rateLimitType===i.WEEKLY_LIMIT_TYPE?"Weekly":e.rateLimitType:""}}return i})();function Ie(i,d){if(i&1&&(a(0,"div",0)(1,"span",1),s(2," Rate limit "),o(),a(3,"span",2),s(4,"Scope"),o(),a(5,"span",3),s(6),o(),a(7,"span",2),s(8,"St\xE1tusz"),o(),a(9,"span",3),s(10),o(),a(11,"span",2),s(12,"Utilization"),o(),a(13,"span",4),s(14),o(),a(15,"span",2),s(16,"Reset"),o(),a(17,"span",4),s(18),o(),a(19,"span",2),s(20,"Utols\xF3 \xE9szlel\xE9s"),o(),a(21,"span",5),s(22),V(23,"date"),o()()),i&2){let e=d,n=c();r(6),k(n.limitScopeLabel_$()||"\u2014"),r(3),M("text-neonRed",e.status==="limited")("text-yellow-400",e.status==="allowed_warning")("text-neutral-300",e.status==="allowed"),r(),f(" ",e.status||"\u2014"," "),r(4),f("",n.utilizationPercent_$(),"%"),r(4),k(n.resetText_$()||"\u2014"),r(4),f(" ",z(23,11,e.receivedAt,"yyyy-MM-dd HH:mm:ss")||"\u2014"," ")}}var he=(()=>{class i{claudeCode_AS=T(de);_ccapId="";set ccapId(e){this._ccapId=e?.trim()??"",this.refreshRateLimitState()}get ccapId(){return this._ccapId}rateLimitInfo_$=b(null);utilizationPercent_$=S(()=>J.computeUtilizationPercent(this.rateLimitInfo_$()));resetText_$=S(()=>J.formatResetText(this.rateLimitInfo_$()));limitScopeLabel_$=S(()=>J.formatLimitScopeLabel(this.rateLimitInfo_$()));refreshRateLimitState(){if(!this._ccapId){this.rateLimitInfo_$.set(null);return}this.claudeCode_AS.getRateLimitState({ccapId:this._ccapId}).then(e=>{let n=ce.mapServerItemsToClientInfo(e.items);this.rateLimitInfo_$.set(n)}).catch(e=>{Se.DyFM_Log.warn(`s-cc-rate-limit-info | rate-limit fetch failed | ccapId: ${this._ccapId} | err: ${String(e)}`),this.rateLimitInfo_$.set(null)})}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=v({type:i,selectors:[["app-s-cc-rate-limit-info"]],inputs:{ccapId:"ccapId"},standalone:!0,features:[y],decls:1,vars:1,consts:[[1,"grid","grid-cols-[minmax(8rem,auto)_1fr]","gap-x-3","gap-y-2","text-xs","text-neutral-200"],[1,"col-span-2","text-[11px]","uppercase","tracking-wider","text-neutral-500"],[1,"text-neutral-500","shrink-0"],[1,"whitespace-nowrap"],[1,"whitespace-nowrap","font-mono"],[1,"font-mono","text-[11px]","whitespace-nowrap"]],template:function(n,t){if(n&1&&m(0,Ie,24,14,"div",0),n&2){let l;u((l=t.rateLimitInfo_$())?0:-1,l)}},dependencies:[j,B],encapsulation:2})}return i})();function $e(i,d){if(i&1&&(a(0,"span",1),s(1,"Instance presence"),o(),a(2,"span",4),g(3,"app-s-instance-presence-badge",8),o()),i&2){let e=d;r(3),p("presence",e.presence)("lastHeartbeatAt",e.lastHeartbeatAt)("wsConnected",e.wsConnected)}}function Te(i,d){if(i&1&&(a(0,"span",9),s(1,"Run / tev\xE9kenys\xE9g"),o(),a(2,"span",10)(3,"span",11),s(4),o(),a(5,"span",12),s(6),o()(),a(7,"span",1),s(8,"Utols\xF3 aktivit\xE1s"),o(),a(9,"span",13),s(10),V(11,"date"),o(),a(12,"span",1),s(13,"Utols\xF3 \xFCzenet"),o(),a(14,"span",14),s(15),o()),i&2){let e=d;r(4),k(e.activeRunPhase||"\u2014"),r(2),k(e.activitySummary||"\u2014"),r(4),f(" ",z(11,4,e.lastActivityAt,"yyyy-MM-dd HH:mm:ss")||"\u2014"," "),r(5),k(e.lastMessage||"\u2014")}}var Ce=(()=>{class i{row;presence=void 0;static \u0275fac=function(n){return new(n||i)};static \u0275cmp=v({type:i,selectors:[["app-s-instance-detail-view"]],inputs:{row:"row",presence:"presence"},standalone:!0,features:[y],decls:43,vars:18,consts:[[1,"grid","grid-cols-[minmax(8rem,auto)_1fr]","gap-x-3","gap-y-2","text-xs","text-neutral-200"],[1,"text-neutral-500","shrink-0"],[1,"font-mono","break-all"],[1,"break-all"],[1,"whitespace-nowrap"],[1,"font-mono","whitespace-nowrap"],[1,"mt-2","pt-2","border-t","border-neutral-800"],[3,"ccapId"],[3,"presence","lastHeartbeatAt","wsConnected"],[1,"text-neutral-500","shrink-0","self-start","pt-0.5"],[1,"break-words"],[1,"font-mono","text-[11px]","text-neutral-400","block"],[1,"text-neutral-300"],[1,"font-mono","text-[11px]","whitespace-nowrap"],[1,"break-words","text-neutral-300"]],template:function(n,t){if(n&1&&(a(0,"div",0)(1,"span",1),s(2,"instanceKey"),o(),a(3,"span",2),s(4),o(),a(5,"span",1),s(6,"N\xE9v"),o(),a(7,"span",3),s(8),o(),a(9,"span",1),s(10,"St\xE1tusz"),o(),a(11,"span",4),s(12),o(),m(13,$e,4,3),a(14,"span",1),s(15,"Session presence"),o(),a(16,"span",4),s(17),o(),m(18,Te,16,7),a(19,"span",1),s(20,"MAC"),o(),a(21,"span",2),s(22),o(),a(23,"span",1),s(24,"Install path"),o(),a(25,"span",2),s(26),o(),a(27,"span",1),s(28,"hostName"),o(),a(29,"span",3),s(30),o(),a(31,"span",1),s(32,"registry __created"),o(),a(33,"span",5),s(34),V(35,"date"),o(),a(36,"span",1),s(37,"registry __updated"),o(),a(38,"span",5),s(39),V(40,"date"),o()(),a(41,"div",6),g(42,"app-s-cc-rate-limit-info",7),o()),n&2){let l,x;r(4),k(t.row.registry.instanceKey||"\u2014"),r(4),k((t.row.instanceData==null||t.row.instanceData.name==null?null:t.row.instanceData.name.trim())||"\u2014"),r(4),k((t.row.instanceData==null?null:t.row.instanceData.status)||"\u2014"),r(),u((l=t.presence)?13:-1,l),r(4),f(" ",(t.row.instanceData==null||t.row.instanceData.sessionStatuses==null||t.row.instanceData.sessionStatuses[0]==null?null:t.row.instanceData.sessionStatuses[0].presence)||"\u2014"," "),r(),u((x=t.row.instanceData==null||t.row.instanceData.sessionStatuses==null?null:t.row.instanceData.sessionStatuses[0])?18:-1,x),r(4),k(t.row.registry.primaryMacAddress||"\u2014"),r(4),k(t.row.registry.installLocationPath||"\u2014"),r(4),k(t.row.registry.hostName||"\u2014"),r(4),f(" ",z(35,12,t.row.registry.__created,"yyyy-MM-dd HH:mm:ss")||"\u2014"," "),r(5),f(" ",z(40,15,t.row.registry.__updated,"yyyy-MM-dd HH:mm:ss")||"\u2014"," "),r(3),p("ccapId",t.row.registry.instanceKey||"")}},dependencies:[j,B,he,Q],encapsulation:2})}return i})();var Me=(i,d)=>d.instanceKey,De=i=>({"bg-ccapAccent/10":i});function Ae(i,d){if(i&1&&g(0,"app-s-instance-presence-badge",5),i&2){let e=d;p("presence",e.presence)("lastHeartbeatAt",e.lastHeartbeatAt)("wsConnected",e.wsConnected)("showLabel",!1)}}function Oe(i,d){i&1&&(a(0,"span",6),s(1,"(local)"),o())}function Re(i,d){i&1&&g(0,"span",7)}function Fe(i,d){if(i&1){let e=E();a(0,"div",2)(1,"button",4),_("click",function(){let t,l=h(e).$implicit,x=c();return C(x.handleSelectInstance((t=l.instanceKey)!==null&&t!==void 0?t:""))}),m(2,Ae,1,4,"app-s-instance-presence-badge",5),s(3),m(4,Oe,2,0,"span",6)(5,Re,1,0,"span",7),o(),a(6,"button",8),_("click",function(){let t,l=h(e).$implicit,x=c();return C(x.handleInfoClick((t=l.instanceKey)!==null&&t!==void 0?t:""))}),s(7," i "),o()()}if(i&2){let e,n=d.$implicit,t=c();r(),M("border-ccapAccent",t.isSelected(n))("text-ccapAccent",t.isSelected(n))("border-neonDefault",!t.isSelected(n))("text-neutral-400",!t.isSelected(n))("hover:text-neutral-200",!t.isSelected(n))("hover:border-neutral-500",!t.isSelected(n)),p("ngClass",X(17,De,t.isSelected(n))),r(),u((e=t.getPresenceForRow(n))?2:-1,e),r(),f(" ",t.getDisplayLabel(n)," "),r(),u(t.isLocal(n)?4:-1),r(),u(t.getActiveSessionForRow(n)?5:-1)}}function Ve(i,d){i&1&&(a(0,"span",3),s(1,"loading..."),o())}var ve=(()=>{class i{peiContext_DS=T(le);presenceMap=new Map;activeSessionMap=new Map;infoRequested=new W;instances_$=S(()=>this.peiContext_DS.instanceList_$());selectedCcapId_$=S(()=>this.peiContext_DS.activeCcapId_$());localKey_$=S(()=>this.peiContext_DS.localInstanceKey_$());ngOnInit(){this.peiContext_DS.initialize()}handleSelectInstance(e){this.peiContext_DS.selectInstance(e)}handleInfoClick(e){this.infoRequested.emit({instanceKey:e})}getDisplayLabel(e){let n=e.hostName??"",t=(e.instanceKey??"").slice(-6);return n?`${n} (${t})`:t||"?"}isSelected(e){return(e.instanceKey??"")===this.selectedCcapId_$()}isLocal(e){return(e.instanceKey??"")===this.localKey_$()}getPresenceForRow(e){let n=e.instanceKey??"";return n?this.presenceMap.get(n)??null:null}getActiveSessionForRow(e){let n=e.instanceKey??"";return n?this.activeSessionMap.get(n)===!0:!1}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=v({type:i,selectors:[["app-s-instance-selector"]],hostAttrs:[1,"block"],inputs:{presenceMap:"presenceMap",activeSessionMap:"activeSessionMap"},outputs:{infoRequested:"infoRequested"},standalone:!0,features:[y],decls:6,vars:1,consts:[[1,"flex","gap-1","flex-wrap","items-center"],[1,"text-[10px]","text-neutral-500","mr-1","uppercase","tracking-wider"],[1,"flex","items-center","gap-0.5","group"],[1,"text-[10px]","text-neutral-600","italic"],[1,"px-2","py-0.5","text-[11px]","rounded-full","border","transition-colors","flex","items-center","gap-1",3,"click","ngClass"],[3,"presence","lastHeartbeatAt","wsConnected","showLabel"],[1,"ml-0.5","text-[9px]","text-neutral-500"],["title","Akt\xEDv session fut ezen az instance-en","aria-label","Akt\xEDv session fut ezen az instance-en","data-testid","s-instance-active-session-dot",1,"inline-block","w-1.5","h-1.5","rounded-full","bg-yellow-400","animate-pulse","shrink-0"],["type","button","title","Instance details","aria-label","Show instance details","data-testid","s-instance-selector-info-btn",1,"text-[11px]","leading-none","w-4","h-4","rounded-full","border","border-neutral-700","text-neutral-500","hover:text-ccapAccent","hover:border-ccapAccent","transition-colors","flex","items-center","justify-center",3,"click"]],template:function(n,t){n&1&&(a(0,"div",0)(1,"span",1),s(2,"Instance:"),o(),R(3,Fe,8,19,"div",2,Me),m(5,Ve,2,0,"span",3),o()),n&2&&(r(3),F(t.instances_$()),r(2),u(t.instances_$().length?-1:5))},dependencies:[j,L,Q],encapsulation:2})}return i})();function ze(i,d){if(i&1&&g(0,"app-s-instance-detail-view",3),i&2){let e=c(2);p("row",d)("presence",e.getPresenceForSelectedRow())}}function Le(i,d){if(i&1){let e=E();a(0,"app-s-modal",2),_("closed",function(){h(e);let t=c();return C(t.handleModalClosed())}),m(1,ze,1,2,"app-s-instance-detail-view",3),o()}if(i&2){let e,n=c();p("isOpen",!0)("title",n.modalTitle_$())("maxWidth","lg"),r(),u((e=n.selectedRow_$())?1:-1,e)}}var qt=(()=>{class i{instanceRegistry_DS=T(se);runtimeInstances_DS=T(pe);presenceMap=new Map;activeSessionMap=new Map;selectedInstanceKey_$=b(null);viewRows_$=S(()=>me.buildViewRows(this.instanceRegistry_DS.list_$(),this.runtimeInstances_DS.ccapInstanceList_$()));selectedRow_$=S(()=>{let e=this.selectedInstanceKey_$();return e?this.viewRows_$().find(n=>(n.registry.instanceKey??"")===e)??null:null});isModalOpen_$=S(()=>this.selectedRow_$()!==null);modalTitle_$=S(()=>{let e=this.selectedRow_$();if(!e)return"";let n=e.registry.hostName??"",t=e.registry.instanceKey??"";return n?`Instance \u2014 ${n}`:`Instance \u2014 ${t.slice(-6)||"?"}`});handleInfoRequested(e){this.selectedInstanceKey_$.set(e.instanceKey)}getPresenceForSelectedRow(){let e=this.selectedRow_$();if(!e)return;let n=e.registry.instanceKey??"";if(n)return this.presenceMap.get(n)}handleModalClosed(){this.selectedInstanceKey_$.set(null)}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=v({type:i,selectors:[["app-s-instance-chip-row-with-info"]],hostAttrs:[1,"block"],inputs:{presenceMap:"presenceMap",activeSessionMap:"activeSessionMap"},standalone:!0,features:[y],decls:2,vars:3,consts:[[3,"infoRequested","presenceMap","activeSessionMap"],[3,"isOpen","title","maxWidth"],[3,"closed","isOpen","title","maxWidth"],[3,"row","presence"]],template:function(n,t){n&1&&(a(0,"app-s-instance-selector",0),_("infoRequested",function(x){return t.handleInfoRequested(x)}),o(),m(1,Le,2,4,"app-s-modal",1)),n&2&&(p("presenceMap",t.presenceMap)("activeSessionMap",t.activeSessionMap),r(),u(t.isModalOpen_$()?1:-1))},dependencies:[j,ve,re,Ce],encapsulation:2})}return i})();var be=(i,d)=>d._id,je=()=>["border-neonAmber/60","text-neonAmber","shadow-neon-glow-orange","hover:border-neonAmber","hover:bg-neonAmber/10"],Pe=()=>["border-neutral-700","text-neutral-600"];function Be(i,d){if(i&1&&(a(0,"span",4),s(1),o()),i&2){let e=c();r(),f(" ",e.sessionJobs_$().length>9?"9+":e.sessionJobs_$().length," ")}}function Ke(i,d){if(i&1&&(a(0,"span",17),s(1),V(2,"date"),o()),i&2){let e=c().$implicit;r(),f(" ",z(2,1,e.nextDueAt,"yyyy-MM-dd HH:mm")," ")}}function Ne(i,d){i&1&&(a(0,"span",18),s(1,"\u2014"),o())}function Ge(i,d){if(i&1&&(a(0,"span",21),s(1),o()),i&2){let e=d.$implicit,n=c(5);p("ngClass",n.getExecutionBadgeClass(e.status))("title",n.buildExecutionBadgeTooltip(e)),r(),f(" ",n.getExecutionBadgeLabel(e.status)," ")}}function He(i,d){if(i&1&&(a(0,"div",19)(1,"span",20),s(2,"Trigger-ek:"),o(),R(3,Ge,2,3,"span",21,be),o()),i&2){let e=c();r(3),F(e)}}function Qe(i,d){i&1&&m(0,He,5,0,"div",19),i&2&&u(d.length>0?0:-1)}function Je(i,d){if(i&1){let e=E();a(0,"div",9)(1,"div",6)(2,"div",10)(3,"span",11),s(4),o(),a(5,"span",12),s(6),V(7,"schSchedulePresetLabel"),o()(),a(8,"button",13),_("click",function(){let t=h(e).$implicit,l=c(2);return C(l.handleTriggerNow(t))}),I(),a(9,"svg",14),g(10,"path",15),o()()(),G(),a(11,"div",16)(12,"span"),s(13,"K\xF6vetkez\u0151:"),o(),m(14,Ke,3,4,"span",17)(15,Ne,2,0,"span",18),o(),m(16,Qe,1,1),o()}if(i&2){let e,n,t,l,x,w=d.$implicit,O=c(2);r(3),p("title",(e=w.name)!==null&&e!==void 0?e:""),r(),f(" ",((n=w.name)!==null&&n!==void 0?n:"").trim()||"Unnamed schedule"," "),r(2),f(" ",Z(7,7,w.schedule)," "),r(2),p("disabled",O.busyJobIds_$().has((t=w._id)!==null&&t!==void 0?t:""))("title",O.busyJobIds_$().has((l=w._id)!==null&&l!==void 0?l:"")?"Ind\xEDt\xE1s folyamatban\u2026":"Most futtatni (Trigger Now)"),r(6),u(w.nextDueAt?14:15),r(2),u((x=O.getRecentExecutions(w))?16:-1,x)}}function qe(i,d){if(i&1){let e=E();a(0,"div",5)(1,"div",6)(2,"span",7),s(3),o(),a(4,"button",8),_("click",function(){h(e);let t=c();return C(t.handleToggle())}),s(5," \xD7 "),o()(),R(6,Je,17,9,"div",9,be),o()}if(i&2){let e=c();r(3),f(" Schedule (",e.sessionJobs_$().length,") "),r(3),F(e.sessionJobs_$())}}var tn=(()=>{class i{sessionId=D.required();scheduledJobs_DS=T(_e);isOpen_$=b(!1);busyJobIds_$=b(new Set);sessionJobs_$=S(()=>{let e=(this.sessionId()??"").trim();return e?this.scheduledJobs_DS.jobs_$().filter(t=>t.enabled===!1?!1:(t.target?.payload?.sessionId??"").trim()===e):[]});hasSchedule_$=S(()=>this.sessionJobs_$().length>0);ngOnInit(){this.scheduledJobs_DS.jobs_$().length===0&&this.scheduledJobs_DS.loadAll()}handleToggle(){this.isOpen_$.update(e=>!e)}handleTriggerNow(e){return N(this,null,function*(){let n=(e._id??"").trim();if(n&&!this.busyJobIds_$().has(n)){this.busyJobIds_$.update(t=>{let l=new Set(t);return l.add(n),l});try{yield this.scheduledJobs_DS.triggerNow({jobId:n,reason:"session-overlay-manual"})}finally{this.busyJobIds_$.update(t=>{let l=new Set(t);return l.delete(n),l})}}})}getRecentExecutions(e){let n=e._id??"";return n?this.scheduledJobs_DS.recentExecutions_$().get(n)??[]:[]}getExecutionBadgeClass(e){switch(e){case"triggered":return"bg-emerald-500/20 text-emerald-400";case"completed":return"bg-sky-500/20 text-sky-400";case"skipped":return"bg-neutral-600/30 text-neutral-400";case"failed":return"bg-red-500/20 text-red-400";case"cancelled":return"bg-amber-500/20 text-amber-400";case"dry-run":return"bg-purple-500/20 text-purple-400";default:return"bg-neutral-700/40 text-neutral-500"}}getExecutionBadgeLabel(e){switch(e){case"triggered":return"OK";case"completed":return"Done";case"skipped":return"Skip";case"failed":return"Fail";case"cancelled":return"Cancel";case"dry-run":return"Dry";default:return"?"}}buildExecutionBadgeTooltip(e){let n=[];return e.scheduledAt&&(n.push(new Date(e.scheduledAt).toISOString().slice(0,16).replace("T"," ")),n.push(" \u2014 ")),n.push(e.status??"?"),e.skipReason&&n.push(` (${e.skipReason})`),e.status==="failed"&&e.errorDetails?.message&&n.push(`: ${e.errorDetails.message}`),n.join("")}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=v({type:i,selectors:[["app-s-session-schedule-overlay"]],hostAttrs:[1,"absolute","bottom-4","left-0","z-30","pointer-events-none"],inputs:{sessionId:[1,"sessionId"]},standalone:!0,features:[y],decls:6,vars:12,consts:[[1,"flex","items-end","gap-2","pointer-events-auto"],["type","button","aria-label","Schedule",1,"relative","flex","items-center","justify-center","h-8","w-7","bg-neutral-900","border-2","border-l-0","rounded-r-lg","transition-all","duration-200","ease-out","disabled:cursor-not-allowed",3,"click","disabled","title","ngClass"],["fill","none","stroke","currentColor","viewBox","0 0 24 24","aria-hidden","true",1,"w-4","h-4"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d",`M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5
2
- a2 2 0 00-2 2v12a2 2 0 002 2z`],["aria-hidden","true",1,"absolute","-top-1","-right-1","min-w-[14px]","h-[14px]","px-[2px]","bg-neonCyan","text-neutral-900","rounded-full","text-[9px]","font-mono","font-bold","leading-[14px]","text-center","shadow-neon-glow-cyan"],[1,"bg-neutral-900","border-2","border-neonAmber/60","rounded-lg","p-3","flex","flex-col","gap-2","min-w-[16rem]","max-w-xs","shadow-neon-glow-orange"],[1,"flex","items-center","justify-between","gap-2"],[1,"text-[10px]","uppercase","tracking-wider","text-neonAmber","font-mono"],["type","button","title","Bez\xE1r\xE1s","aria-label","Schedule panel bez\xE1r\xE1sa",1,"text-neutral-400","hover:text-neonAmber","leading-none","px-1","transition-colors",3,"click"],[1,"flex","flex-col","gap-1","border-t","border-neutral-800","pt-2","first:border-t-0","first:pt-0"],[1,"flex","flex-col","min-w-0"],[1,"text-sm","text-neutral-100","truncate",3,"title"],[1,"text-[10px]","text-neutral-500","font-mono"],["type","button","aria-label","Trigger now",1,"shrink-0","flex","items-center","justify-center","w-7","h-7","rounded-full","bg-neutral-900","border-2","border-neonAmber/60","text-neonAmber","hover:border-neonAmber","hover:bg-neonAmber/10","hover:shadow-neon-glow-orange","disabled:opacity-40","disabled:cursor-not-allowed","transition-all",3,"click","disabled","title"],["fill","currentColor","viewBox","0 0 24 24","aria-hidden","true",1,"w-3.5","h-3.5"],["d","M8 5v14l11-7z"],["title","K\xF6vetkez\u0151 \xFCtemezett fut\xE1s id\u0151pontja",1,"text-[10px]","text-neutral-500","flex","items-center","gap-1"],[1,"text-emerald-400","font-medium"],[1,"text-neutral-300"],[1,"flex","items-center","gap-1","flex-wrap"],[1,"text-[10px]","text-neutral-500"],[1,"inline-flex","items-center","px-1.5","py-0.5","text-[10px]","rounded",3,"ngClass","title"]],template:function(n,t){n&1&&(a(0,"div",0)(1,"button",1),_("click",function(){return t.handleToggle()}),I(),a(2,"svg",2),g(3,"path",3),o(),m(4,Be,2,1,"span",4),o(),m(5,qe,8,1,"div",5),o()),n&2&&(r(),M("-translate-x-2",!t.isOpen_$())("translate-x-2",t.isOpen_$()),p("disabled",!t.hasSchedule_$())("title",t.hasSchedule_$()?t.isOpen_$()?"Schedule panel bez\xE1r\xE1sa":"Schedule megjelen\xEDt\xE9se ("+t.sessionJobs_$().length+" job)":"Nincs schedule ehhez a sessionh\xF6z")("ngClass",t.hasSchedule_$()?$(10,je):$(11,Pe)),A("aria-expanded",t.isOpen_$()),r(3),u(t.hasSchedule_$()&&t.sessionJobs_$().length>1?4:-1),r(),u(t.isOpen_$()?5:-1))},dependencies:[L,B,xe],encapsulation:2})}return i})();function We(i,d){if(i&1){let e=E();a(0,"button",10),_("click",function(){let t=h(e).$implicit,l=c(2);return C(l.handleAction(t))}),s(1),o()}if(i&2){let e=d.$implicit,n=c(2);p("disabled",n.pendingAction_$()===e),r(),f(" ",n.pendingAction_$()===e?"Sending\u2026":e," ")}}function Ue(i,d){if(i&1){let e=E();a(0,"div",4)(1,"div",5)(2,"span",6),s(3," QuickCast "),o(),a(4,"button",7),_("click",function(){h(e);let t=c();return C(t.handleToggle())}),s(5," \xD7 "),o()(),a(6,"div",8),R(7,We,2,2,"button",9,U),o()()}if(i&2){let e=c();r(7),F(e.actions())}}var sn=(()=>{class i{actions=D(["Go","Continue","OK","Proceed","implement","Review Very Very Carefully","Ensure Documentations","tervezd meg nagyon alaposan \xE9s fejleszd le"]);actionSelected=H();isOpen_$=b(!1);pendingAction_$=b(null);handleToggle(){this.isOpen_$.update(e=>!e)}handleAction(e){this.pendingAction_$()===null&&(this.pendingAction_$.set(e),this.actionSelected.emit(e),setTimeout(()=>{this.pendingAction_$()===e&&this.pendingAction_$.set(null)},800))}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=v({type:i,selectors:[["app-s-session-quickcast-overlay"]],hostAttrs:[1,"absolute","bottom-16","left-0","z-30","pointer-events-none"],inputs:{actions:[1,"actions"]},outputs:{actionSelected:"actionSelected"},standalone:!0,features:[y],decls:5,vars:7,consts:[[1,"flex","items-end","gap-2","pointer-events-auto"],["type","button","aria-label","QuickCast",1,"flex","items-center","justify-center","h-8","w-7","bg-neutral-900","border-2","border-l-0","border-neonCyan/60","rounded-r-lg","text-neonCyan","shadow-neon-glow-cyan","hover:border-neonCyan","hover:bg-neonCyan/10","transition-all","duration-200","ease-out",3,"click","title"],["fill","none","stroke","currentColor","viewBox","0 0 24 24","aria-hidden","true",1,"w-4","h-4"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13 10V3L4 14h7v7l9-11h-7z"],[1,"bg-neutral-900","border-2","border-neonCyan/60","rounded-md","p-1.5","flex","flex-col","gap-1","min-w-[8rem]","max-w-[13rem]","shadow-neon-glow-cyan"],[1,"flex","items-center","justify-between","gap-1"],[1,"text-[10px]","uppercase","tracking-wider","text-neonCyan","font-mono","leading-none"],["type","button","title","Bez\xE1r\xE1s","aria-label","QuickCast panel bez\xE1r\xE1sa",1,"text-neutral-400","hover:text-neonCyan","leading-none","text-xs","px-1","transition-colors",3,"click"],[1,"flex","flex-col","gap-1"],["type","button",1,"px-1.5","py-0.5","rounded","border-2","border-neonCyan/60","text-neonCyan","text-[11px]","font-medium","hover:border-neonCyan","hover:bg-neonCyan/10","hover:shadow-neon-glow-cyan","disabled:opacity-40","disabled:cursor-not-allowed","transition-all","leading-tight",3,"disabled"],["type","button",1,"px-1.5","py-0.5","rounded","border-2","border-neonCyan/60","text-neonCyan","text-[11px]","font-medium","hover:border-neonCyan","hover:bg-neonCyan/10","hover:shadow-neon-glow-cyan","disabled:opacity-40","disabled:cursor-not-allowed","transition-all","leading-tight",3,"click","disabled"]],template:function(n,t){n&1&&(a(0,"div",0)(1,"button",1),_("click",function(){return t.handleToggle()}),I(),a(2,"svg",2),g(3,"path",3),o()(),m(4,Ue,9,0,"div",4),o()),n&2&&(r(),M("-translate-x-2",!t.isOpen_$())("translate-x-2",t.isOpen_$()),p("title",t.isOpen_$()?"QuickCast bez\xE1r\xE1sa":"QuickCast megnyit\xE1sa"),A("aria-expanded",t.isOpen_$()),r(3),u(t.isOpen_$()?4:-1))},encapsulation:2})}return i})();var Ye=(i,d)=>d.provider+":::"+d.modelName,Xe=()=>["border-neonPurple/60","text-neonPurple","shadow-[0_0_10px_rgba(168,85,247,0.4)]","hover:border-neonPurple","hover:bg-neonPurple/10"],Ze=()=>["border-neutral-700","text-neutral-500","hover:border-neutral-500","hover:bg-neutral-800/50"],et=()=>["border-neonPurple/60","shadow-[0_0_10px_rgba(168,85,247,0.4)]"],tt=()=>["border-neutral-700"],nt=()=>["text-neonPurple"],it=()=>["text-neutral-400"];function ot(i,d){if(i&1&&(a(0,"div",10)(1,"span",11),s(2,"provider"),o(),a(3,"span",14),s(4),o()()),i&2){let e=c();r(3),p("title",e.providerName),r(),f(" ",e.providerName," ")}}function at(i,d){if(i&1&&(a(0,"div",10)(1,"span",11),s(2,"model"),o(),a(3,"span",14),s(4),o()()),i&2){let e=c();r(3),p("title",e.model),r(),k(e.model)}}function rt(i,d){if(i&1&&(a(0,"div",10)(1,"span",11),s(2,"workflow"),o(),a(3,"span",14),s(4),o()()),i&2){let e=c();r(3),p("title",e.workflowId),r(),f(" ",e.workflowId," ")}}function st(i,d){if(i&1){let e=E();a(0,"div",9)(1,"div",10)(2,"span",11),s(3,"status"),o(),a(4,"span",12),s(5),o()(),m(6,ot,5,2,"div",10)(7,at,5,2,"div",10)(8,rt,5,2,"div",10),o(),a(9,"button",13),_("click",function(){h(e);let t=c(2);return C(t.handleStop())}),s(10),o()}if(i&2){let e=d,n=c(2);r(5),k(e.status),r(),u(e.providerName?6:-1),r(),u(e.model?7:-1),r(),u(e.workflowId?8:-1),r(),p("disabled",n.isBusy_$()),r(),f(" ",n.isBusy_$()?"Stopping\u2026":"Stop"," ")}}function lt(i,d){if(i&1&&(a(0,"option",18),s(1),o()),i&2){let e=d.$implicit;p("value",e.provider+":::"+e.modelName),r(),Y(" ",e.provider," / ",e.modelName," ")}}function dt(i,d){if(i&1){let e=E();a(0,"span",15),s(1," Nincs assigned coordinator \u2014 v\xE1lassz modellt \xE9s kattints az Assign-ra. "),o(),a(2,"select",16),_("ngModelChange",function(t){h(e);let l=c(2);return C(l.selectedModelKey_$.set(t))}),a(3,"option",17),s(4,"\u2014 v\xE1lassz modellt \u2014"),o(),R(5,lt,2,3,"option",18,Ye),o(),a(7,"button",13),_("click",function(){h(e);let t=c(2);return C(t.handleAssign())}),s(8),o()}if(i&2){let e=c(2);r(2),p("ngModel",e.selectedModelKey_$()),r(3),F(e.modelOptions_$()),r(2),p("disabled",!e.selectedModelKey_$()||e.isBusy_$()),r(),f(" ",e.isBusy_$()?"Assigning\u2026":"Assign"," ")}}function ct(i,d){if(i&1){let e=E();a(0,"div",5)(1,"div",6)(2,"span",7),s(3," Coordinator "),o(),a(4,"button",8),_("click",function(){h(e);let t=c();return C(t.handleToggle())}),s(5," \xD7 "),o()(),m(6,st,11,6)(7,dt,9,3),o()}if(i&2){let e,n=c();p("ngClass",n.isAssigned_$()?$(3,et):$(4,tt)),r(2),p("ngClass",n.isAssigned_$()?$(5,nt):$(6,it)),r(4),u((e=n.assignedCoordinator_$())?6:7,e)}}var xn=(()=>{class i{sessionId=D.required();coordinator_DS=T(fe);registrySsot_CS=T(ue);isOpen_$=b(!1);isBusy_$=b(!1);selectedModelKey_$=b("");modelOptions_$=S(()=>this.registrySsot_CS.enabledLlmModels_$());assignedCoordinator_$=S(()=>{let e=(this.sessionId()??"").trim();return!e||!this.coordinator_DS.coordinatedSessionIds_$().has(e)?null:this.coordinator_DS.globalCoordinatorsList_$().find(l=>{let x=(l.sessionId??"").trim(),w=(l.status??"").trim().toLowerCase();return x===e&&w!=="stopped"&&w!=="completed"})??null});isAssigned_$=S(()=>this.assignedCoordinator_$()!==null);ngOnInit(){this.coordinator_DS.globalCoordinatorsList_$().length===0&&this.coordinator_DS.loadAllCoordinatorsForManagementPage(),this.registrySsot_CS.ensureLoaded("llm")}handleToggle(){this.isOpen_$.update(e=>!e)}handleAssign(){return N(this,null,function*(){let e=(this.sessionId()??"").trim(),n=this.selectedModelKey_$().trim();if(!e||!n||this.isBusy_$())return;let t=n.split(":::");if(t.length!==2)return;let l=t[0],x=t[1];if(!(!l||!x)){this.isBusy_$.set(!0);try{yield this.coordinator_DS.startCoordinator({sessionId:e,providerName:l,model:x}),this.coordinator_DS.loadAllCoordinatorsForManagementPage()}finally{this.isBusy_$.set(!1)}}})}handleStop(){return N(this,null,function*(){let e=(this.sessionId()??"").trim();if(!(!e||this.isBusy_$())){this.isBusy_$.set(!0);try{yield this.coordinator_DS.stopCoordinator(e),this.coordinator_DS.loadAllCoordinatorsForManagementPage()}finally{this.isBusy_$.set(!1)}}})}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=v({type:i,selectors:[["app-s-session-coordinator-overlay"]],hostAttrs:[1,"absolute","bottom-28","left-0","z-30","pointer-events-none"],inputs:{sessionId:[1,"sessionId"]},standalone:!0,features:[y],decls:6,vars:10,consts:[[1,"flex","items-end","gap-2","pointer-events-auto"],["type","button","aria-label","Coordinator",1,"relative","flex","items-center","justify-center","h-8","w-7","bg-neutral-900","border-2","border-l-0","rounded-r-lg","transition-all","duration-200","ease-out",3,"click","title","ngClass"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"w-4","h-4"],["cx","12","cy","12","r","10"],["points","16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76"],[1,"bg-neutral-900","border-2","rounded-lg","p-3","flex","flex-col","gap-2","min-w-[16rem]","max-w-xs",3,"ngClass"],[1,"flex","items-center","justify-between","gap-2"],[1,"text-[10px]","uppercase","tracking-wider","font-mono",3,"ngClass"],["type","button","title","Bez\xE1r\xE1s","aria-label","Coordinator panel bez\xE1r\xE1sa",1,"text-neutral-400","hover:text-neonPurple","leading-none","px-1","transition-colors",3,"click"],[1,"flex","flex-col","gap-1","text-xs"],[1,"flex","justify-between","gap-2"],[1,"text-neutral-500","font-mono","text-[10px]"],[1,"text-neutral-100"],["type","button",1,"self-end","px-2","py-1","rounded","border-2","border-neonPurple/60","text-neonPurple","text-xs","font-medium","hover:bg-neonPurple/10","hover:shadow-[0_0_10px_rgba(168,85,247,0.4)]","disabled:opacity-40","disabled:cursor-not-allowed","transition-all",3,"click","disabled"],[1,"text-neutral-100","truncate",3,"title"],[1,"text-[11px]","text-neutral-400"],[1,"bg-neutral-900","border","border-neutral-700","rounded","px-2","py-1","text-xs","text-neutral-100","focus:outline-none","focus:border-neonPurple/60",3,"ngModelChange","ngModel"],["value","","disabled",""],[3,"value"]],template:function(n,t){if(n&1&&(a(0,"div",0)(1,"button",1),_("click",function(){return t.handleToggle()}),I(),a(2,"svg",2),g(3,"circle",3)(4,"polygon",4),o()(),m(5,ct,8,7,"div",5),o()),n&2){let l;r(),M("-translate-x-2",!t.isOpen_$())("translate-x-2",t.isOpen_$()),p("title",t.isAssigned_$()?t.isOpen_$()?"Coordinator panel bez\xE1r\xE1sa":"Coordinator: "+((l=(l=t.assignedCoordinator_$())==null?null:l.status)!==null&&l!==void 0?l:""):t.isOpen_$()?"Coordinator panel bez\xE1r\xE1sa":"Nincs coordinator \u2014 assign-ol\xE1shoz kattints")("ngClass",t.isAssigned_$()?$(8,Xe):$(9,Ze)),A("aria-expanded",t.isOpen_$()),r(4),u(t.isOpen_$()?5:-1)}},dependencies:[L,ae,ie,oe,ne,ee,te],encapsulation:2})}return i})();var pt=()=>["border-neonCyan/60","text-neonCyan","shadow-neon-glow-cyan","hover:border-neonCyan","hover:bg-neonCyan/10"],ut=()=>["border-neutral-700","text-neutral-500","hover:border-neutral-500","hover:text-neutral-300"];function mt(i,d){i&1&&(I(),a(0,"svg",1),g(1,"polygon",2)(2,"path",3)(3,"path",4),o())}function _t(i,d){i&1&&(I(),a(0,"svg",1),g(1,"polygon",2)(2,"line",5)(3,"line",6),o())}var ye=(()=>{class i{sessionId=D.required();isEnabled_$=b(!1);ngOnInit(){this.refreshEnabledFromStorage()}refreshEnabledFromStorage(){this.isEnabled_$.set(q.isEnabled(this.sessionId()))}handleToggle(){q.toggle(this.sessionId()),this.refreshEnabledFromStorage()}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=v({type:i,selectors:[["app-s-auto-read-tts-toggle"]],inputs:{sessionId:[1,"sessionId"]},standalone:!0,features:[y],decls:3,vars:6,consts:[["type","button",1,"relative","flex","items-center","justify-center","h-8","w-8","bg-neutral-900","border-2","rounded-md","transition-all","duration-200","ease-out",3,"click","title","ngClass"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"w-4","h-4"],["points","11 5 6 9 2 9 2 15 6 15 11 19 11 5"],["d","M15.54 8.46a5 5 0 0 1 0 7.07"],["d","M19.07 4.93a10 10 0 0 1 0 14.14"],["x1","23","y1","9","x2","17","y2","15"],["x1","17","y1","9","x2","23","y2","15"]],template:function(n,t){n&1&&(a(0,"button",0),_("click",function(){return t.handleToggle()}),m(1,mt,4,0,":svg:svg",1)(2,_t,4,0,":svg:svg",1),o()),n&2&&(p("title",t.isEnabled_$()?"Auto-read assistant: ON (\xFAj asszisztens \xFCzenetek automatikusan felolvas\xE1sra ker\xFClnek). Klikk: kikapcsol\xE1s.":"Auto-read assistant: OFF. Klikk: bekapcsol\xE1s (csak az ezut\xE1n \xE9rkez\u0151 \xFCzenetek olvas\xF3dnak fel).")("ngClass",t.isEnabled_$()?$(4,pt):$(5,ut)),A("aria-pressed",t.isEnabled_$()),r(),u(t.isEnabled_$()?1:2))},dependencies:[L],encapsulation:2})}return i})();function ft(i,d){if(i&1){let e=E();a(0,"button",26),_("click",function(){h(e);let t=c(2);return C(t.handleRestartRunnerClick())}),a(1,"span",13),I(),a(2,"svg",14),g(3,"path",27)(4,"path",28)(5,"path",29)(6,"path",30),o(),s(7," Restart Terminal Runner "),o()()}}function xt(i,d){if(i&1){let e=E();a(0,"div",5)(1,"div",6)(2,"span",7),s(3," Quick Settings "),o(),a(4,"button",8),_("click",function(){h(e);let t=c();return C(t.handleToggle())}),s(5," \xD7 "),o()(),a(6,"p",9),s(7," Plan-state v1 \u2014 minden funkci\xF3 "),a(8,"span",10),s(9,"disabled"),o(),s(10,"; bek\xF6t\xE9s Plans Feature Set keret\xE9ben k\xF6vetkezik (`2026-05-06-session-quick-settings-feature-set-plan.md`). "),o(),m(11,ft,8,0,"button",11),a(12,"div",12)(13,"span",13),I(),a(14,"svg",14),g(15,"path",15)(16,"path",16)(17,"path",17),o(),s(18," Auto-Read Assistant TTS "),o(),G(),g(19,"app-s-auto-read-tts-toggle",18),o(),a(20,"button",19)(21,"span",13),I(),a(22,"svg",20),g(23,"rect",21)(24,"path",22)(25,"path",23)(26,"path",24),o(),s(27," Always-On Intelligent Voice Input "),o(),G(),a(28,"span",25),s(29,"soon"),o()()()}if(i&2){let e=c();r(11),u(e.showRestartRunner()?11:-1),r(8),p("sessionId",e.sessionId())}}var In=(()=>{class i{sessionId=D.required();showRestartRunner=D(!1);restartRunnerClicked=H();isOpen_$=b(!1);handleToggle(){this.isOpen_$.update(e=>!e)}handleRestartRunnerClick(){this.restartRunnerClicked.emit(),this.isOpen_$.set(!1)}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=v({type:i,selectors:[["app-s-session-quick-settings-overlay"]],hostAttrs:[1,"absolute","bottom-40","left-0","z-30","pointer-events-none"],inputs:{sessionId:[1,"sessionId"],showRestartRunner:[1,"showRestartRunner"]},outputs:{restartRunnerClicked:"restartRunnerClicked"},standalone:!0,features:[y],decls:6,vars:7,consts:[[1,"flex","items-end","gap-2","pointer-events-auto"],["type","button","aria-label","Session Quick Settings",1,"relative","flex","items-center","justify-center","h-8","w-7","bg-neutral-900","border-2","border-l-0","border-neonGreen/60","rounded-r-lg","text-neonGreen","shadow-[0_0_10px_rgba(0,255,136,0.35)]","hover:border-neonGreen","hover:bg-neonGreen/10","transition-all","duration-200","ease-out",3,"click","title"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"w-4","h-4"],["cx","12","cy","12","r","3"],["d",`M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0
3
- l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2
4
- 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06
5
- a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82
6
- 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09
7
- A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83
8
- 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3
9
- a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33
10
- l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82
11
- V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09
12
- a1.65 1.65 0 0 0-1.51 1z`],[1,"bg-neutral-900","border-2","border-neonGreen/60","rounded-lg","p-3","flex","flex-col","gap-2","min-w-[18rem]","max-w-sm","shadow-[0_0_12px_rgba(0,255,136,0.3)]"],[1,"flex","items-center","justify-between","gap-2"],[1,"text-[10px]","uppercase","tracking-wider","text-neonGreen","font-mono"],["type","button","title","Bez\xE1r\xE1s","aria-label","Quick Settings panel bez\xE1r\xE1sa",1,"text-neutral-400","hover:text-neonGreen","leading-none","px-1","transition-colors",3,"click"],[1,"text-[10px]","text-neutral-400","leading-snug"],[1,"text-neonGreen"],["type","button","title","Aktu\xE1lis CC session terminal runner kill + respawn. \xDAj termin\xE1l ablak ny\xEDlik a friss npm-build-tel; runner version-mismatch vagy no-ACK-fire hib\xE1k gyors fixje a session-b\u0151l, dashboard-ra navig\xE1l\xE1s n\xE9lk\xFCl.",1,"flex","items-center","justify-between","gap-2","px-2","py-1.5","rounded","border-2","border-neonGreen/40","text-neutral-300","text-xs","bg-neutral-900/50","hover:bg-neonGreen/10","hover:border-neonGreen","cursor-pointer","transition-colors"],[1,"flex","items-center","justify-between","gap-2","px-2","py-1.5","rounded","border-2","border-neonGreen/40","text-neutral-300","text-xs","bg-neutral-900/50"],[1,"flex","items-center","gap-2"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"w-4","h-4","shrink-0","text-neonGreen/70"],["d","M11 5L6 9H2v6h4l5 4V5z"],["d","M15.54 8.46a5 5 0 0 1 0 7.07"],["d","M19.07 4.93a10 10 0 0 1 0 14.14"],[3,"sessionId"],["type","button","disabled","","title",`[Plan v1] Intelligens always-on hangbemenet \u2014 a r\xE9gi continuous-listening
13
- metodika alapj\xE1n: VAD (volume gate) + speech-boundary chunking, csendszakasz ut\xE1n
14
- auto-send egyetlen \xFCzenetk\xE9nt, opcion\xE1lis chime hangjelz\xE9s a trigger-n\xE9l.
15
- Spec: __specifications/poc/voice-input-continuous-and-mobile.md (REQ-VIM-CONT-002,
16
- REQ-VIM-SEND-001). Hi\xE1nyz\xF3 r\xE9szek: per-segment \u2192 cycle-akkumul\xE1ci\xF3, silence-detect
17
- \u2192 auto-send, cseng\u0151 hang. Nagyobb implement\xE1ci\xF3s csomag \u2014 Plan dokumentum r\xE9szletez.`,1,"flex","items-center","justify-between","gap-2","px-2","py-1.5","rounded","border-2","border-neutral-700","text-neutral-500","text-xs","bg-neutral-900/50","cursor-not-allowed","transition-colors"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"w-4","h-4","shrink-0"],["x","9","y","3","width","6","height","12","rx","3"],["d","M19 11a7 7 0 0 1-14 0"],["d","M12 18v3"],["d","M8 21h8"],[1,"text-[9px]","uppercase","tracking-wider","text-neutral-600","font-mono"],["type","button","title","Aktu\xE1lis CC session terminal runner kill + respawn. \xDAj termin\xE1l ablak ny\xEDlik a friss npm-build-tel; runner version-mismatch vagy no-ACK-fire hib\xE1k gyors fixje a session-b\u0151l, dashboard-ra navig\xE1l\xE1s n\xE9lk\xFCl.",1,"flex","items-center","justify-between","gap-2","px-2","py-1.5","rounded","border-2","border-neonGreen/40","text-neutral-300","text-xs","bg-neutral-900/50","hover:bg-neonGreen/10","hover:border-neonGreen","cursor-pointer","transition-colors",3,"click"],["d","M3 12a9 9 0 0 1 15.5-6.3L21 8"],["d","M21 3v5h-5"],["d","M21 12a9 9 0 0 1-15.5 6.3L3 16"],["d","M3 21v-5h5"]],template:function(n,t){n&1&&(a(0,"div",0)(1,"button",1),_("click",function(){return t.handleToggle()}),I(),a(2,"svg",2),g(3,"circle",3)(4,"path",4),o()(),m(5,xt,30,2,"div",5),o()),n&2&&(r(),M("-translate-x-2",!t.isOpen_$())("translate-x-2",t.isOpen_$()),p("title",t.isOpen_$()?"Session Quick Settings panel bez\xE1r\xE1sa":"Session Quick Settings \u2014 hamarosan: Restart Runner, Auto-Read TTS, Intelligent Voice Input. Plan dokumentum k\xE9szen, implement\xE1ci\xF3 folyamatban."),A("aria-expanded",t.isOpen_$()),r(4),u(t.isOpen_$()?5:-1))},dependencies:[ye],encapsulation:2})}return i})();export{J as a,qt as b,tn as c,sn as d,xn as e,In as f};
18
- //# sourceMappingURL=chunk-EJGY2JJ3.js.map