@futdevpro/ccap 1.1.3215 → 1.1.3371
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/build/_collections/update/update-verify-install.interface.d.ts +23 -0
- package/cli/build/_collections/update/update-verify-install.interface.d.ts.map +1 -0
- package/cli/build/_collections/update/update-verify-install.interface.js +3 -0
- package/cli/build/_collections/update/update-verify-install.interface.js.map +1 -0
- package/cli/build/_collections/update/update-verify-install.util.d.ts +50 -0
- package/cli/build/_collections/update/update-verify-install.util.d.ts.map +1 -0
- package/cli/build/_collections/update/update-verify-install.util.js +179 -0
- package/cli/build/_collections/update/update-verify-install.util.js.map +1 -0
- package/cli/build/_collections/update/update-verify-install.util.spec.d.ts +6 -0
- package/cli/build/_collections/update/update-verify-install.util.spec.d.ts.map +1 -0
- package/cli/build/_collections/update/update-verify-install.util.spec.js +117 -0
- package/cli/build/_collections/update/update-verify-install.util.spec.js.map +1 -0
- package/cli/build/_commands/cc-inspect-options.interface.d.ts +11 -0
- package/cli/build/_commands/cc-inspect-options.interface.d.ts.map +1 -0
- package/cli/build/_commands/cc-inspect-options.interface.js +3 -0
- package/cli/build/_commands/cc-inspect-options.interface.js.map +1 -0
- package/cli/build/_commands/cc-inspect.d.ts +33 -0
- package/cli/build/_commands/cc-inspect.d.ts.map +1 -0
- package/cli/build/_commands/cc-inspect.js +228 -0
- package/cli/build/_commands/cc-inspect.js.map +1 -0
- package/cli/build/_commands/input.d.ts +55 -0
- package/cli/build/_commands/input.d.ts.map +1 -0
- package/cli/build/_commands/input.interface.d.ts +21 -0
- package/cli/build/_commands/input.interface.d.ts.map +1 -0
- package/cli/build/_commands/input.interface.js +3 -0
- package/cli/build/_commands/input.interface.js.map +1 -0
- package/cli/build/_commands/input.js +183 -0
- package/cli/build/_commands/input.js.map +1 -0
- package/cli/build/_commands/input.spec.d.ts +8 -0
- package/cli/build/_commands/input.spec.d.ts.map +1 -0
- package/cli/build/_commands/input.spec.js +63 -0
- package/cli/build/_commands/input.spec.js.map +1 -0
- package/cli/build/_commands/skill-doc.d.ts +63 -0
- package/cli/build/_commands/skill-doc.d.ts.map +1 -0
- package/cli/build/_commands/skill-doc.interface.d.ts +19 -0
- package/cli/build/_commands/skill-doc.interface.d.ts.map +1 -0
- package/cli/build/_commands/skill-doc.interface.js +3 -0
- package/cli/build/_commands/skill-doc.interface.js.map +1 -0
- package/cli/build/_commands/skill-doc.js +421 -0
- package/cli/build/_commands/skill-doc.js.map +1 -0
- package/cli/build/_commands/skill-doc.spec.d.ts +10 -0
- package/cli/build/_commands/skill-doc.spec.d.ts.map +1 -0
- package/cli/build/_commands/skill-doc.spec.js +112 -0
- package/cli/build/_commands/skill-doc.spec.js.map +1 -0
- package/cli/build/_commands/update.d.ts.map +1 -1
- package/cli/build/_commands/update.js +59 -0
- package/cli/build/_commands/update.js.map +1 -1
- package/cli/build/_commands/update.spec.js +12 -0
- package/cli/build/_commands/update.spec.js.map +1 -1
- package/cli/build/program.js +51 -0
- package/cli/build/program.js.map +1 -1
- package/client-dist/{agent-instances.module-CPUH35EZ.js → agent-instances.module-TPKOBI3N.js} +2 -2
- package/client-dist/ca.module-I5N6QWSU.js +5 -0
- package/client-dist/{ca.module-U7YZDJ2S.js.map → ca.module-I5N6QWSU.js.map} +3 -3
- package/client-dist/cc-usage-dashboard.component-7SPVADUQ.js +2 -0
- package/client-dist/cc-usage-dashboard.component-7SPVADUQ.js.map +7 -0
- package/client-dist/cc.module-7IL3QO5Q.js +4 -0
- package/client-dist/cc.module-7IL3QO5Q.js.map +7 -0
- package/client-dist/{chunk-UL3CZNH7.js → chunk-25KTNALK.js} +2 -2
- package/client-dist/{chunk-OKI5V6YQ.js → chunk-26YUXPZI.js} +2 -2
- package/client-dist/{chunk-VYHAGBS4.js → chunk-3AG5X2MY.js} +2 -2
- package/client-dist/{chunk-VYHAGBS4.js.map → chunk-3AG5X2MY.js.map} +3 -3
- package/client-dist/chunk-3G2ZGV66.js +2 -0
- package/client-dist/chunk-3G2ZGV66.js.map +7 -0
- package/client-dist/{chunk-4ZFB25GK.js → chunk-44TWBJUK.js} +2 -2
- package/client-dist/{chunk-X3MZFTMO.js → chunk-4EOSKDXN.js} +2 -2
- package/client-dist/{chunk-4LLJ2OWZ.js → chunk-4FK2D2PX.js} +2 -2
- package/client-dist/chunk-4JL2Q6FO.js +2 -0
- package/client-dist/chunk-4JL2Q6FO.js.map +7 -0
- package/client-dist/{chunk-IAE5NGVM.js → chunk-4PBNHSRW.js} +2 -2
- package/client-dist/{chunk-MHOWIGRN.js → chunk-5RLDT3NY.js} +2 -2
- package/client-dist/{chunk-LHK7W77S.js → chunk-5YDHEFSD.js} +2 -2
- package/client-dist/{chunk-IZCGZPDO.js → chunk-657E66YR.js} +2 -2
- package/client-dist/{chunk-7NMJB7CI.js → chunk-6BYNIFJY.js} +2 -2
- package/client-dist/{chunk-4CLEKS5Z.js → chunk-77YTUUCR.js} +7 -3
- package/client-dist/{chunk-4CLEKS5Z.js.map → chunk-77YTUUCR.js.map} +2 -2
- package/client-dist/{chunk-CRSKI2X4.js → chunk-7CMPZXAO.js} +2 -2
- package/client-dist/{chunk-SARZNHM5.js → chunk-7VY64KMU.js} +2 -2
- package/client-dist/{chunk-QIGBGNDG.js → chunk-A33MCHYC.js} +2 -2
- package/client-dist/{chunk-U6C6SLYE.js → chunk-BH3GMEZZ.js} +19 -19
- package/client-dist/chunk-BH3GMEZZ.js.map +7 -0
- package/client-dist/{chunk-PIXU7VL6.js → chunk-BJ4I73WC.js} +2 -2
- package/client-dist/{chunk-SZ5YB5I5.js → chunk-C2BQQRVH.js} +2 -2
- package/client-dist/{chunk-2PQXI7I7.js → chunk-C4FOSX27.js} +2 -2
- package/client-dist/chunk-C4FOSX27.js.map +7 -0
- package/client-dist/{chunk-33VVBKU2.js → chunk-CAMM4S7P.js} +2 -2
- package/client-dist/{chunk-6BFD2NWY.js → chunk-CDNAFC73.js} +2 -2
- package/client-dist/{chunk-FWTMQSVZ.js → chunk-CU5YQ2M4.js} +2 -2
- package/client-dist/{chunk-ROQIRXTO.js → chunk-DXF2FJLD.js} +2 -2
- package/client-dist/{chunk-AYF66J6F.js → chunk-E6WOJOGT.js} +2 -2
- package/client-dist/{chunk-PTO335OR.js → chunk-EDMLVG72.js} +2 -2
- package/client-dist/chunk-G5SK3OBM.js +2 -0
- package/client-dist/chunk-G5SK3OBM.js.map +7 -0
- package/client-dist/{chunk-TTTWIDBQ.js → chunk-GG2WP2KM.js} +2 -2
- package/client-dist/{chunk-VSFMGBJ5.js → chunk-IHNAAEA2.js} +2 -2
- package/client-dist/{chunk-MC4INR7S.js → chunk-J5INQQ5M.js} +2 -2
- package/client-dist/{chunk-OHLE7T6H.js → chunk-KX2KGHQZ.js} +2 -2
- package/client-dist/{chunk-QRP3ANHZ.js → chunk-L2XJGYW4.js} +2 -2
- package/client-dist/{chunk-AWXOKP4G.js → chunk-L42Z7YNK.js} +2 -2
- package/client-dist/{chunk-OG3BXORU.js → chunk-LCKABD2M.js} +2 -2
- package/client-dist/{chunk-MW4XS5NJ.js → chunk-LIGODF4I.js} +2 -2
- package/client-dist/{chunk-MVVOW5DK.js → chunk-LMK3IOKN.js} +2 -2
- package/client-dist/{chunk-IDUC3D4V.js → chunk-OCNDLQG5.js} +2 -2
- package/client-dist/{chunk-BW23SNBJ.js → chunk-OKUYYDGV.js} +2 -2
- package/client-dist/{chunk-Q4JCVLZX.js → chunk-OLLHHMTV.js} +2 -2
- package/client-dist/{chunk-HL6WDI7B.js → chunk-OS5KCUZD.js} +2 -2
- package/client-dist/{chunk-S72KII3A.js → chunk-PMJP2N4K.js} +2 -2
- package/client-dist/{chunk-MHKJKJVA.js → chunk-PW5BAINL.js} +2 -2
- package/client-dist/{chunk-JZY65LIL.js → chunk-QQ2GRU2N.js} +2 -2
- package/client-dist/{chunk-CFK7FARI.js → chunk-RUSAMFGS.js} +2 -2
- package/client-dist/{chunk-CFK7FARI.js.map → chunk-RUSAMFGS.js.map} +1 -1
- package/client-dist/{chunk-GO5RFW3F.js → chunk-RYD462IO.js} +2 -2
- package/client-dist/{chunk-EEPAM5ZQ.js → chunk-SK3XGSYF.js} +2 -2
- package/client-dist/{chunk-5ZJE7DIO.js → chunk-TFB7ULAV.js} +2 -2
- package/client-dist/{chunk-6JOKYIHX.js → chunk-U3Y5GO6O.js} +2 -2
- package/client-dist/{chunk-S7U2FMEE.js → chunk-U64N3LCA.js} +2 -2
- package/client-dist/{chunk-QHOO5EGB.js → chunk-UD4PV7CD.js} +2 -2
- package/client-dist/{chunk-6C4DDRK2.js → chunk-UM7AS2IW.js} +2 -2
- package/client-dist/{chunk-PVZP6QNW.js → chunk-UVVGFHUG.js} +2 -2
- package/client-dist/{chunk-O4Z7O66B.js → chunk-VOFDBT5T.js} +2 -2
- package/client-dist/{chunk-YWMRQJRC.js → chunk-VRG74DKK.js} +2 -2
- package/client-dist/{chunk-LPDRQ6SN.js → chunk-W7HIS2QA.js} +2 -2
- package/client-dist/{chunk-XGSTC65N.js → chunk-XFXMWTQS.js} +2 -2
- package/client-dist/chunk-XWYXBY7S.js +2 -0
- package/client-dist/chunk-XWYXBY7S.js.map +7 -0
- package/client-dist/consultant.module-HHTHUWRL.js +3 -0
- package/client-dist/{consultant.module-4Z3WDA2D.js.map → consultant.module-HHTHUWRL.js.map} +3 -3
- package/client-dist/{crd.module-EVPCDOWY.js → crd.module-ER6AHSX5.js} +2 -2
- package/client-dist/{dashboard.module-XOGM4333.js → dashboard.module-TSNGGBCI.js} +2 -2
- package/client-dist/{do.module-2QODL2MZ.js → do.module-NMZD5VSM.js} +2 -2
- package/client-dist/{document-library.module-6W5KJ6EM.js → document-library.module-GHDNXP3T.js} +2 -2
- package/client-dist/{embedding-eval.module-VBH5UZ2A.js → embedding-eval.module-XPXBOIP5.js} +2 -2
- package/client-dist/{embedding-registry.module-4QXZMK6L.js → embedding-registry.module-45TQGZI2.js} +2 -2
- package/client-dist/{err.module-4WYVCGZK.js → err.module-GCKYDYCK.js} +2 -2
- package/client-dist/{feedback.module-O32WDW4G.js → feedback.module-TLKZ4B4N.js} +2 -2
- package/client-dist/{host-runtime-mcp.module-JNYMDS2F.js → host-runtime-mcp.module-HVJZN5R5.js} +2 -2
- package/client-dist/index.html +2 -2
- package/client-dist/{live-dev-pipeline.module-BAG7LJBJ.js → live-dev-pipeline.module-5PE4ZFFW.js} +2 -2
- package/client-dist/{logs.module-PZQTAXGV.js → logs.module-335EXKCD.js} +2 -2
- package/client-dist/{main-PYXFCW2K.js → main-FRD6VXVH.js} +4 -4
- package/client-dist/{main-PYXFCW2K.js.map → main-FRD6VXVH.js.map} +3 -3
- package/client-dist/{master-control-remote-poc.module-K2PT5FB2.js → master-control-remote-poc.module-ORHRUCZH.js} +2 -2
- package/client-dist/{mobile-app.module-TUVMDOPA.js → mobile-app.module-BYYNVKQR.js} +2 -2
- package/client-dist/{model-registry.module-E7NAPF2Y.js → model-registry.module-KIHIJ2Z6.js} +2 -2
- package/client-dist/oc.module-DAGIRW3Z.js +3 -0
- package/client-dist/{oc.module-HFDDW2XD.js.map → oc.module-DAGIRW3Z.js.map} +3 -3
- package/client-dist/{orc.module-K277LTLC.js → orc.module-KZELL6XR.js} +2 -2
- package/client-dist/{project-management.module-JZVMTKGP.js → project-management.module-IJNPSUQZ.js} +2 -2
- package/client-dist/project-source-routed.module-DP3RD454.js +2 -0
- package/client-dist/{scheduler.module-6NC3BKNE.js → scheduler.module-S3IKZCLL.js} +2 -2
- package/client-dist/session.module-FZC22UUN.js +12 -0
- package/client-dist/session.module-FZC22UUN.js.map +7 -0
- package/client-dist/{set.module-I3FJ3Q2M.js → set.module-Y2RHKW7A.js} +5 -5
- package/client-dist/{set.module-I3FJ3Q2M.js.map → set.module-Y2RHKW7A.js.map} +3 -3
- package/client-dist/{setup.module-JT7PN7FK.js → setup.module-VTI5EZ3Q.js} +2 -2
- package/client-dist/styles-MX7ZZMTH.css +2 -0
- package/client-dist/styles-MX7ZZMTH.css.map +7 -0
- package/client-dist/{terminals.module-EDF4WYNX.js → terminals.module-KHEDY6QN.js} +2 -2
- package/client-dist/{voice-notes-poc.module-CENJQVZI.js → voice-notes-poc.module-EMDLJJIT.js} +2 -2
- package/client-dist/{wfs.module-XGMD3EUF.js → wfs.module-LUTFNQG5.js} +2 -2
- package/package.json +1 -1
- package/server/build/src/_collections/core/ccap-post-services-bootstrap.util.d.ts.map +1 -1
- package/server/build/src/_collections/core/ccap-post-services-bootstrap.util.js +5 -0
- package/server/build/src/_collections/core/ccap-post-services-bootstrap.util.js.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_collections/error-handling-stats-range.const.d.ts +11 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_collections/error-handling-stats-range.const.d.ts.map +1 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_collections/error-handling-stats-range.const.js +20 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_collections/error-handling-stats-range.const.js.map +1 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_collections/utils/error-handling-stats.util.d.ts +65 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_collections/utils/error-handling-stats.util.d.ts.map +1 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_collections/utils/error-handling-stats.util.js +222 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_collections/utils/error-handling-stats.util.js.map +1 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_collections/utils/error-handling-stats.util.spec.d.ts +7 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_collections/utils/error-handling-stats.util.spec.d.ts.map +1 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_collections/utils/error-handling-stats.util.spec.js +213 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_collections/utils/error-handling-stats.util.spec.js.map +1 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_models/interfaces/error-handling-stats.interface.d.ts +58 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_models/interfaces/error-handling-stats.interface.d.ts.map +1 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_models/interfaces/error-handling-stats.interface.js +3 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_models/interfaces/error-handling-stats.interface.js.map +1 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_routes/error-handling.controller.d.ts.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_routes/error-handling.controller.js +14 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_routes/error-handling.controller.js.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_services/errorhandling-stats.control-service.d.ts +35 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_services/errorhandling-stats.control-service.d.ts.map +1 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_services/errorhandling-stats.control-service.js +80 -0
- package/server/build/src/_modules/ccap-agent/_modules/error-handling/_services/errorhandling-stats.control-service.js.map +1 -0
- package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_services/control-services/stt/voc-transcribe.control-service.d.ts +2 -0
- package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_services/control-services/stt/voc-transcribe.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_services/control-services/stt/voc-transcribe.control-service.js +16 -0
- package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_services/control-services/stt/voc-transcribe.control-service.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/consts/cc-kill-reasons.const.d.ts +58 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/consts/cc-kill-reasons.const.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/consts/cc-kill-reasons.const.js +64 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/consts/cc-kill-reasons.const.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/cc-list-item-serialize.util.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/cc-list-item-serialize.util.js +3 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/cc-list-item-serialize.util.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-exit-diagnostics.util.d.ts +47 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-exit-diagnostics.util.d.ts.map +1 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-exit-diagnostics.util.js +71 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-exit-diagnostics.util.js.map +1 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-process-exit.util.d.ts +36 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-process-exit.util.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-process-exit.util.js +93 -6
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-process-exit.util.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-process-exit.util.spec.js +85 -21
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-process-exit.util.spec.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-recovery.util.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-recovery.util.js +81 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/lifecycle/cc-recovery.util.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/terminal/cc-terminal-session-closed-guard.util.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/terminal/cc-terminal-session-closed-guard.util.js +14 -2
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_collections/utils/terminal/cc-terminal-session-closed-guard.util.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_routes/claude-code.controller.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_routes/claude-code.controller.js +19 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_routes/claude-code.controller.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/blocked-resume/cc-blocked-resume.control-service.d.ts +4 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/blocked-resume/cc-blocked-resume.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/blocked-resume/cc-blocked-resume.control-service.js +6 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/blocked-resume/cc-blocked-resume.control-service.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-adapter.control-service.d.ts +13 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-adapter.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-adapter.control-service.js +13 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-adapter.control-service.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-adapter.interface.d.ts +23 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-adapter.interface.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-event.data-service.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-event.data-service.js +10 -3
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-event.data-service.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-manager.control-service.d.ts +15 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-manager.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-manager.control-service.js +75 -75
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-manager.control-service.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-monitoring.control-service.d.ts +6 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-monitoring.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-monitoring.control-service.js +32 -9
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-monitoring.control-service.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-monitoring.control-service.spec.js +20 -2
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-monitoring.control-service.spec.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-route.control-service.d.ts +25 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-route.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-route.control-service.js +301 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/cc-route.control-service.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/status/cc-status-transition.control-service.d.ts +7 -3
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/status/cc-status-transition.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/status/cc-status-transition.control-service.js +23 -7
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/status/cc-status-transition.control-service.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/status/cc-status-transition.control-service.spec.js +10 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/status/cc-status-transition.control-service.spec.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.d.ts +11 -18
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.js +31 -48
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-terminal-lifecycle.control-service.d.ts +8 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-terminal-lifecycle.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-terminal-lifecycle.control-service.js +13 -2
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-terminal-lifecycle.control-service.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/openclaw/_services/core/oc-event.data-service.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/openclaw/_services/core/oc-event.data-service.js +8 -3
- package/server/build/src/_modules/external-sessions/_modules/openclaw/_services/core/oc-event.data-service.js.map +1 -1
- package/server/build/src/_modules/messaging/_services/control-services/providers/msg-client-socket-server.service.d.ts.map +1 -1
- package/server/build/src/_modules/messaging/_services/control-services/providers/msg-client-socket-server.service.js +12 -0
- package/server/build/src/_modules/messaging/_services/control-services/providers/msg-client-socket-server.service.js.map +1 -1
- package/server/build/src/_modules/peer-instance/_collections/utils/pei-error-recording.util.d.ts +42 -0
- package/server/build/src/_modules/peer-instance/_collections/utils/pei-error-recording.util.d.ts.map +1 -0
- package/server/build/src/_modules/peer-instance/_collections/utils/pei-error-recording.util.js +73 -0
- package/server/build/src/_modules/peer-instance/_collections/utils/pei-error-recording.util.js.map +1 -0
- package/server/build/src/_modules/peer-instance/_collections/utils/pei-error-recording.util.spec.d.ts +10 -0
- package/server/build/src/_modules/peer-instance/_collections/utils/pei-error-recording.util.spec.d.ts.map +1 -0
- package/server/build/src/_modules/peer-instance/_collections/utils/pei-error-recording.util.spec.js +89 -0
- package/server/build/src/_modules/peer-instance/_collections/utils/pei-error-recording.util.spec.js.map +1 -0
- package/server/build/src/_modules/peer-instance/_models/interfaces/pei-bootstrap-attempt.interface.d.ts +8 -1
- package/server/build/src/_modules/peer-instance/_models/interfaces/pei-bootstrap-attempt.interface.d.ts.map +1 -1
- package/server/build/src/_modules/peer-instance/_services/pei-bootstrap-watchdog.spec.d.ts +10 -0
- package/server/build/src/_modules/peer-instance/_services/pei-bootstrap-watchdog.spec.d.ts.map +1 -0
- package/server/build/src/_modules/peer-instance/_services/pei-bootstrap-watchdog.spec.js +74 -0
- package/server/build/src/_modules/peer-instance/_services/pei-bootstrap-watchdog.spec.js.map +1 -0
- package/server/build/src/_modules/peer-instance/_services/pei-bootstrap.control-service.d.ts +37 -0
- package/server/build/src/_modules/peer-instance/_services/pei-bootstrap.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/peer-instance/_services/pei-bootstrap.control-service.js +117 -0
- package/server/build/src/_modules/peer-instance/_services/pei-bootstrap.control-service.js.map +1 -1
- package/server/build/src/_modules/peer-instance/_services/pei-dispatch.control-service.d.ts +11 -0
- package/server/build/src/_modules/peer-instance/_services/pei-dispatch.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/peer-instance/_services/pei-dispatch.control-service.js +11 -1
- package/server/build/src/_modules/peer-instance/_services/pei-dispatch.control-service.js.map +1 -1
- package/server/build/src/_modules/peer-instance/_services/pei-dispatch.control-service.spec.js +65 -0
- package/server/build/src/_modules/peer-instance/_services/pei-dispatch.control-service.spec.js.map +1 -1
- package/server/build/src/_modules/peer-instance/_services/pei-heartbeat.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/peer-instance/_services/pei-heartbeat.control-service.js +24 -0
- package/server/build/src/_modules/peer-instance/_services/pei-heartbeat.control-service.js.map +1 -1
- package/server/build/src/_modules/peer-instance/_services/pei-ws-client.control-service.d.ts +30 -0
- package/server/build/src/_modules/peer-instance/_services/pei-ws-client.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/peer-instance/_services/pei-ws-client.control-service.js +91 -2
- package/server/build/src/_modules/peer-instance/_services/pei-ws-client.control-service.js.map +1 -1
- package/server/build/src/_modules/peer-instance/_services/pei-ws-server.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/peer-instance/_services/pei-ws-server.control-service.js +10 -0
- package/server/build/src/_modules/peer-instance/_services/pei-ws-server.control-service.js.map +1 -1
- package/server/build/src/_modules/scheduler/_collections/utils/sch-jitter.util.spec.js +4 -2
- package/server/build/src/_modules/scheduler/_collections/utils/sch-jitter.util.spec.js.map +1 -1
- package/server/build/src/_modules/setup-config/_models/interfaces/cluster/sc-cluster-diagnostics-result.interface.d.ts +9 -0
- package/server/build/src/_modules/setup-config/_models/interfaces/cluster/sc-cluster-diagnostics-result.interface.d.ts.map +1 -1
- package/server/build/src/_modules/setup-config/_services/control-services/sc-cluster.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/setup-config/_services/control-services/sc-cluster.control-service.js +1 -0
- package/server/build/src/_modules/setup-config/_services/control-services/sc-cluster.control-service.js.map +1 -1
- package/client-dist/ca.module-U7YZDJ2S.js +0 -5
- package/client-dist/cc-usage-dashboard.component-A3NQVGUQ.js +0 -2
- package/client-dist/cc-usage-dashboard.component-A3NQVGUQ.js.map +0 -7
- package/client-dist/cc.module-4FCJFHDX.js +0 -4
- package/client-dist/cc.module-4FCJFHDX.js.map +0 -7
- package/client-dist/chunk-2PQXI7I7.js.map +0 -7
- package/client-dist/chunk-AC2BVG34.js +0 -2
- package/client-dist/chunk-AC2BVG34.js.map +0 -7
- package/client-dist/chunk-EGRHWZRV.js +0 -1
- package/client-dist/chunk-EGRHWZRV.js.map +0 -7
- package/client-dist/chunk-EVTV632M.js +0 -2
- package/client-dist/chunk-EVTV632M.js.map +0 -7
- package/client-dist/chunk-U6C6SLYE.js.map +0 -7
- package/client-dist/consultant.module-4Z3WDA2D.js +0 -3
- package/client-dist/oc.module-HFDDW2XD.js +0 -3
- package/client-dist/project-source-routed.module-MD2ZFK3N.js +0 -2
- package/client-dist/session.module-DG7H2GJT.js +0 -12
- package/client-dist/session.module-DG7H2GJT.js.map +0 -7
- package/client-dist/styles-KHQAHCL5.css +0 -2
- package/client-dist/styles-KHQAHCL5.css.map +0 -7
- /package/client-dist/{agent-instances.module-CPUH35EZ.js.map → agent-instances.module-TPKOBI3N.js.map} +0 -0
- /package/client-dist/{chunk-UL3CZNH7.js.map → chunk-25KTNALK.js.map} +0 -0
- /package/client-dist/{chunk-OKI5V6YQ.js.map → chunk-26YUXPZI.js.map} +0 -0
- /package/client-dist/{chunk-4ZFB25GK.js.map → chunk-44TWBJUK.js.map} +0 -0
- /package/client-dist/{chunk-X3MZFTMO.js.map → chunk-4EOSKDXN.js.map} +0 -0
- /package/client-dist/{chunk-4LLJ2OWZ.js.map → chunk-4FK2D2PX.js.map} +0 -0
- /package/client-dist/{chunk-IAE5NGVM.js.map → chunk-4PBNHSRW.js.map} +0 -0
- /package/client-dist/{chunk-MHOWIGRN.js.map → chunk-5RLDT3NY.js.map} +0 -0
- /package/client-dist/{chunk-LHK7W77S.js.map → chunk-5YDHEFSD.js.map} +0 -0
- /package/client-dist/{chunk-IZCGZPDO.js.map → chunk-657E66YR.js.map} +0 -0
- /package/client-dist/{chunk-7NMJB7CI.js.map → chunk-6BYNIFJY.js.map} +0 -0
- /package/client-dist/{chunk-CRSKI2X4.js.map → chunk-7CMPZXAO.js.map} +0 -0
- /package/client-dist/{chunk-SARZNHM5.js.map → chunk-7VY64KMU.js.map} +0 -0
- /package/client-dist/{chunk-QIGBGNDG.js.map → chunk-A33MCHYC.js.map} +0 -0
- /package/client-dist/{chunk-PIXU7VL6.js.map → chunk-BJ4I73WC.js.map} +0 -0
- /package/client-dist/{chunk-SZ5YB5I5.js.map → chunk-C2BQQRVH.js.map} +0 -0
- /package/client-dist/{chunk-33VVBKU2.js.map → chunk-CAMM4S7P.js.map} +0 -0
- /package/client-dist/{chunk-6BFD2NWY.js.map → chunk-CDNAFC73.js.map} +0 -0
- /package/client-dist/{chunk-FWTMQSVZ.js.map → chunk-CU5YQ2M4.js.map} +0 -0
- /package/client-dist/{chunk-ROQIRXTO.js.map → chunk-DXF2FJLD.js.map} +0 -0
- /package/client-dist/{chunk-AYF66J6F.js.map → chunk-E6WOJOGT.js.map} +0 -0
- /package/client-dist/{chunk-PTO335OR.js.map → chunk-EDMLVG72.js.map} +0 -0
- /package/client-dist/{chunk-TTTWIDBQ.js.map → chunk-GG2WP2KM.js.map} +0 -0
- /package/client-dist/{chunk-VSFMGBJ5.js.map → chunk-IHNAAEA2.js.map} +0 -0
- /package/client-dist/{chunk-MC4INR7S.js.map → chunk-J5INQQ5M.js.map} +0 -0
- /package/client-dist/{chunk-OHLE7T6H.js.map → chunk-KX2KGHQZ.js.map} +0 -0
- /package/client-dist/{chunk-QRP3ANHZ.js.map → chunk-L2XJGYW4.js.map} +0 -0
- /package/client-dist/{chunk-AWXOKP4G.js.map → chunk-L42Z7YNK.js.map} +0 -0
- /package/client-dist/{chunk-OG3BXORU.js.map → chunk-LCKABD2M.js.map} +0 -0
- /package/client-dist/{chunk-MW4XS5NJ.js.map → chunk-LIGODF4I.js.map} +0 -0
- /package/client-dist/{chunk-MVVOW5DK.js.map → chunk-LMK3IOKN.js.map} +0 -0
- /package/client-dist/{chunk-IDUC3D4V.js.map → chunk-OCNDLQG5.js.map} +0 -0
- /package/client-dist/{chunk-BW23SNBJ.js.map → chunk-OKUYYDGV.js.map} +0 -0
- /package/client-dist/{chunk-Q4JCVLZX.js.map → chunk-OLLHHMTV.js.map} +0 -0
- /package/client-dist/{chunk-HL6WDI7B.js.map → chunk-OS5KCUZD.js.map} +0 -0
- /package/client-dist/{chunk-S72KII3A.js.map → chunk-PMJP2N4K.js.map} +0 -0
- /package/client-dist/{chunk-MHKJKJVA.js.map → chunk-PW5BAINL.js.map} +0 -0
- /package/client-dist/{chunk-JZY65LIL.js.map → chunk-QQ2GRU2N.js.map} +0 -0
- /package/client-dist/{chunk-GO5RFW3F.js.map → chunk-RYD462IO.js.map} +0 -0
- /package/client-dist/{chunk-EEPAM5ZQ.js.map → chunk-SK3XGSYF.js.map} +0 -0
- /package/client-dist/{chunk-5ZJE7DIO.js.map → chunk-TFB7ULAV.js.map} +0 -0
- /package/client-dist/{chunk-6JOKYIHX.js.map → chunk-U3Y5GO6O.js.map} +0 -0
- /package/client-dist/{chunk-S7U2FMEE.js.map → chunk-U64N3LCA.js.map} +0 -0
- /package/client-dist/{chunk-QHOO5EGB.js.map → chunk-UD4PV7CD.js.map} +0 -0
- /package/client-dist/{chunk-6C4DDRK2.js.map → chunk-UM7AS2IW.js.map} +0 -0
- /package/client-dist/{chunk-PVZP6QNW.js.map → chunk-UVVGFHUG.js.map} +0 -0
- /package/client-dist/{chunk-O4Z7O66B.js.map → chunk-VOFDBT5T.js.map} +0 -0
- /package/client-dist/{chunk-YWMRQJRC.js.map → chunk-VRG74DKK.js.map} +0 -0
- /package/client-dist/{chunk-LPDRQ6SN.js.map → chunk-W7HIS2QA.js.map} +0 -0
- /package/client-dist/{chunk-XGSTC65N.js.map → chunk-XFXMWTQS.js.map} +0 -0
- /package/client-dist/{crd.module-EVPCDOWY.js.map → crd.module-ER6AHSX5.js.map} +0 -0
- /package/client-dist/{dashboard.module-XOGM4333.js.map → dashboard.module-TSNGGBCI.js.map} +0 -0
- /package/client-dist/{do.module-2QODL2MZ.js.map → do.module-NMZD5VSM.js.map} +0 -0
- /package/client-dist/{document-library.module-6W5KJ6EM.js.map → document-library.module-GHDNXP3T.js.map} +0 -0
- /package/client-dist/{embedding-eval.module-VBH5UZ2A.js.map → embedding-eval.module-XPXBOIP5.js.map} +0 -0
- /package/client-dist/{embedding-registry.module-4QXZMK6L.js.map → embedding-registry.module-45TQGZI2.js.map} +0 -0
- /package/client-dist/{err.module-4WYVCGZK.js.map → err.module-GCKYDYCK.js.map} +0 -0
- /package/client-dist/{feedback.module-O32WDW4G.js.map → feedback.module-TLKZ4B4N.js.map} +0 -0
- /package/client-dist/{host-runtime-mcp.module-JNYMDS2F.js.map → host-runtime-mcp.module-HVJZN5R5.js.map} +0 -0
- /package/client-dist/{live-dev-pipeline.module-BAG7LJBJ.js.map → live-dev-pipeline.module-5PE4ZFFW.js.map} +0 -0
- /package/client-dist/{logs.module-PZQTAXGV.js.map → logs.module-335EXKCD.js.map} +0 -0
- /package/client-dist/{master-control-remote-poc.module-K2PT5FB2.js.map → master-control-remote-poc.module-ORHRUCZH.js.map} +0 -0
- /package/client-dist/{mobile-app.module-TUVMDOPA.js.map → mobile-app.module-BYYNVKQR.js.map} +0 -0
- /package/client-dist/{model-registry.module-E7NAPF2Y.js.map → model-registry.module-KIHIJ2Z6.js.map} +0 -0
- /package/client-dist/{orc.module-K277LTLC.js.map → orc.module-KZELL6XR.js.map} +0 -0
- /package/client-dist/{project-management.module-JZVMTKGP.js.map → project-management.module-IJNPSUQZ.js.map} +0 -0
- /package/client-dist/{project-source-routed.module-MD2ZFK3N.js.map → project-source-routed.module-DP3RD454.js.map} +0 -0
- /package/client-dist/{scheduler.module-6NC3BKNE.js.map → scheduler.module-S3IKZCLL.js.map} +0 -0
- /package/client-dist/{setup.module-JT7PN7FK.js.map → setup.module-VTI5EZ3Q.js.map} +0 -0
- /package/client-dist/{terminals.module-EDF4WYNX.js.map → terminals.module-KHEDY6QN.js.map} +0 -0
- /package/client-dist/{voice-notes-poc.module-CENJQVZI.js.map → voice-notes-poc.module-EMDLJJIT.js.map} +0 -0
- /package/client-dist/{wfs.module-XGMD3EUF.js.map → wfs.module-LUTFNQG5.js.map} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{a as se}from"./chunk-QHOO5EGB.js";import"./chunk-6JOKYIHX.js";import"./chunk-VSFMGBJ5.js";import"./chunk-UL3CZNH7.js";import{b as Z,c as ee,f as te,i as ne,n as ie,o as oe,p as re,v as j}from"./chunk-EO4DNTT4.js";import{a as A}from"./chunk-5UPNU54P.js";import{j as ae}from"./chunk-QIGBGNDG.js";import{I as le}from"./chunk-CFK7FARI.js";import{C,D as R,E as q,Fa as o,Ga as F,Ha as b,Ia as N,J as u,K as m,Kb as X,L as D,M as J,Ta as Y,Z as s,a as v,aa as w,b as S,d as B,da as k,ga as g,ia as I,k as x,la as h,na as K,oa as M,p as E,pa as z,qa as i,ra as n,sa as P,ua as y,ub as V,va as c,wa as p,xb as Q,y as T,z as U}from"./chunk-TBMJSIBB.js";var de=(()=>{class l{baseUrl=`${le.api.baseUrl}/workflow`;http=C(Q);listWorkflows(e){let t=[];e?.workflowType&&t.push(`type=${e.workflowType}`),e?.isTemplate!==void 0&&t.push(`isTemplate=${e.isTemplate}`);let r=t.length?`?${t.join("&")}`:"";return E(this.http.get(`${this.baseUrl}${r}`))}createWorkflow(e){return E(this.http.post(this.baseUrl,e))}getWorkflow(e){return E(this.http.get(`${this.baseUrl}/${e}`))}updateWorkflow(e){let a=e,{id:t}=a,r=B(a,["id"]);return E(this.http.put(`${this.baseUrl}/${t}`,r))}generateWorkflow(e){return E(this.http.post(`${this.baseUrl}/generate`,{description:e.description,provider:e.provider,model:e.model}))}modifyWorkflow(e){return E(this.http.post(`${this.baseUrl}/modify`,{currentWorkflow:e.currentWorkflow,modificationDescription:e.modificationDescription,provider:e.provider,model:e.model}))}deleteWorkflow(e){return E(this.http.delete(`${this.baseUrl}/${e}`))}static \u0275fac=function(t){return new(t||l)};static \u0275prov=T({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();var pe=(()=>{class l{workflow_AS=C(de);listWorkflows(e){return x(this,null,function*(){return(yield this.workflow_AS.listWorkflows(e)).workflows})}createWorkflow(e){return x(this,null,function*(){return(yield this.workflow_AS.createWorkflow(e)).workflow})}getWorkflow(e){return x(this,null,function*(){return(yield this.workflow_AS.getWorkflow(e)).workflow})}updateWorkflow(e){return x(this,null,function*(){return(yield this.workflow_AS.updateWorkflow(e)).workflow})}generateWorkflow(e){return x(this,null,function*(){return(yield this.workflow_AS.generateWorkflow(e)).workflow})}modifyWorkflow(e){return x(this,null,function*(){return(yield this.workflow_AS.modifyWorkflow(e)).workflow})}deleteWorkflow(e){return x(this,null,function*(){return this.workflow_AS.deleteWorkflow(e)})}static \u0275fac=function(t){return new(t||l)};static \u0275prov=T({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();var L="ccap-workflowSettingsDraft",$=class{static get(){let d=A.readJson(L,null);if(typeof d!="object"||d===null)return null;let e=d,t=typeof e.generationPrompt=="string"?e.generationPrompt:"",r=typeof e.modificationPrompt=="string"?e.modificationPrompt:"",a=typeof e.selectedProvider=="string"?e.selectedProvider:"",_=typeof e.selectedModel=="string"?e.selectedModel:"",W=typeof e.isCreating=="boolean"?e.isCreating:!1,f=e.editingWorkflow&&typeof e.editingWorkflow=="object"?e.editingWorkflow:null;return{generationPrompt:t,modificationPrompt:r,selectedProvider:a,selectedModel:_,isCreating:W,editingWorkflow:f}}static save(d){A.writeJson(L,d)}static clear(){A.remove(L)}};var me=(l,d)=>d._id,H=(l,d)=>d.id;function ce(l,d){if(l&1){let e=y();i(0,"button",5),c("click",function(){u(e);let r=p();return m(r.handleCreateNew())}),o(1," + \xDAj workflow "),n()}}function _e(l,d){l&1&&(i(0,"div",6),o(1,"Bet\xF6lt\xE9s..."),n())}function fe(l,d){l&1&&(i(0,"div",7),o(1," Nincs m\xE9g workflow. Hozz l\xE9tre egyet a gombbal. "),n())}function ge(l,d){l&1&&(i(0,"span",14),o(1," sablon "),n())}function xe(l,d){l&1&&(i(0,"span",15),o(1," Built-in "),n())}function we(l,d){if(l&1){let e=y();i(0,"button",20),c("click",function(){u(e);let r=p().$implicit,a=p(3);return m(a.handleEdit(r))}),o(1," Szerkeszt\xE9s "),n(),i(2,"button",21),c("click",function(){u(e);let r=p().$implicit,a=p(3);return m(a.handleDelete(r))}),o(3," T\xF6rl\xE9s "),n()}}function he(l,d){l&1&&(i(0,"span",19),o(1," Readonly "),n())}function ke(l,d){if(l&1&&(i(0,"div",9)(1,"div",10)(2,"div",11)(3,"span",12),o(4),n(),i(5,"span",13),o(6),n(),k(7,ge,2,0,"span",14)(8,xe,2,0,"span",15),n(),i(9,"p",16),o(10),n(),i(11,"div",17),o(12),n()(),i(13,"div",18),k(14,we,4,0)(15,he,2,0,"span",19),n()()),l&2){let e=d.$implicit;s(4),F(e.name),s(2),b(" ",e.workflowType," "),s(),h(e.isTemplate?7:-1),s(),h(e.isBuiltIn?8:-1),s(2),F(e.description),s(2),b(" ",e.phases.length," f\xE1zis "),s(2),h(e.isBuiltIn?15:14)}}function Ee(l,d){if(l&1&&(i(0,"div",8),M(1,ke,16,7,"div",9,me),n()),l&2){let e=p(2);s(),z(e.workflows_$())}}function Ce(l,d){if(l&1&&k(0,_e,2,0,"div",6)(1,fe,2,0,"div",7)(2,Ee,3,0,"div",8),l&2){let e=p();h(e.isLoading_$()?0:e.workflows_$().length===0?1:2)}}function be(l,d){l&1&&(D(),i(0,"svg",27),P(1,"polyline",52),n())}function ve(l,d){l&1&&(D(),i(0,"svg",27),P(1,"rect",53)(2,"path",54),n())}function Se(l,d){if(l&1&&(i(0,"option",41),o(1),n()),l&2){let e=d.$implicit;g("value",e.provider+":"+e.modelName),s(),N(" ",e.provider," / ",e.modelName," ")}}function ye(l,d){l&1&&(i(0,"span",56),o(1,"Az LLM dolgozik a workflow-n..."),n())}function $e(l,d){if(l&1){let e=y();i(0,"div",28)(1,"div",42)(2,"span",55),o(3,"Workflow gener\xE1l\xE1s"),n(),i(4,"span",56),o(5,"\u2014 \xEDrd le egyszer\u0171en, mit szeretn\xE9l"),n()(),i(6,"textarea",57),c("ngModelChange",function(r){u(e);let a=p(2);return m(a.handleGenerationPromptChange(r))}),o(7," "),n(),i(8,"div",58)(9,"div",42)(10,"label",56),o(11,"Modell:"),n(),i(12,"select",59),c("ngModelChange",function(r){u(e);let a=p(2);return m(a.handleModelSelectionChange(r))}),i(13,"option",60),o(14,"Alap\xE9rtelmezett"),n(),M(15,Se,2,3,"option",41,H),n()(),i(17,"button",61),c("click",function(){u(e);let r=p(2);return m(r.handleGenerate())}),o(18),n(),k(19,ye,2,0,"span",56),n()()}if(l&2){let e=p(2);s(6),g("ngModel",e.generationPrompt_$()),s(6),g("ngModel",e.selectedProvider_$()&&e.selectedModel_$()?e.selectedProvider_$()+":"+e.selectedModel_$():""),s(3),z(e.availableModels_$()),s(2),g("disabled",e.isGenerating_$()||!e.generationPrompt_$()),s(),b(" ",e.isGenerating_$()?"Gener\xE1l\xE1s...":"Gener\xE1l\xE1s"," "),s(),h(e.isGenerating_$()?19:-1)}}function We(l,d){if(l&1&&(i(0,"option",41),o(1),n()),l&2){let e=d.$implicit;g("value",e.provider+":"+e.modelName),s(),N(" ",e.provider," / ",e.modelName," ")}}function Me(l,d){l&1&&(i(0,"span",56),o(1,"Az LLM m\xF3dos\xEDtja a workflow-t..."),n())}function ze(l,d){if(l&1){let e=y();i(0,"div",29)(1,"div",42)(2,"span",62),o(3,"Workflow m\xF3dos\xEDt\xE1s"),n(),i(4,"span",56),o(5,"\u2014 \xEDrd le, mit szeretn\xE9l v\xE1ltoztatni"),n()(),i(6,"textarea",63),c("ngModelChange",function(r){u(e);let a=p(2);return m(a.handleModificationPromptChange(r))}),o(7," "),n(),i(8,"div",58)(9,"div",42)(10,"label",56),o(11,"Modell:"),n(),i(12,"select",64),c("ngModelChange",function(r){u(e);let a=p(2);return m(a.handleModelSelectionChange(r))}),i(13,"option",60),o(14,"Alap\xE9rtelmezett"),n(),M(15,We,2,3,"option",41,H),n()(),i(17,"button",65),c("click",function(){u(e);let r=p(2);return m(r.handleModify())}),o(18),n(),k(19,Me,2,0,"span",56),n()()}if(l&2){let e=p(2);s(6),g("ngModel",e.modificationPrompt_$()),s(6),g("ngModel",e.selectedProvider_$()&&e.selectedModel_$()?e.selectedProvider_$()+":"+e.selectedModel_$():""),s(3),z(e.availableModels_$()),s(2),g("disabled",e.isModifying_$()||!e.modificationPrompt_$()),s(),b(" ",e.isModifying_$()?"M\xF3dos\xEDt\xE1s...":"M\xF3dos\xEDt\xE1s"," "),s(),h(e.isModifying_$()?19:-1)}}function Te(l,d){l&1&&(i(0,"div",36)(1,"div")(2,"h3",66),o(3,"Fel\xE9p\xEDt\xE9s"),n(),i(4,"p"),o(5," Egy j\xF3 workflow "),i(6,"strong",67),o(7,"f\xE1zisokra"),n(),o(8," bontja a feladatot, ahol minden f\xE1zis egyetlen, j\xF3l meghat\xE1rozott c\xE9lt k\xF6vet. A "),i(9,"strong",67),o(10,"vez\xE9rprompt"),n(),o(11," (master prompt) az eg\xE9sz workflow-ra \xE9rv\xE9nyes alapszab\xE1lyokat \xE9s kontextust tartalmazza \u2014 ez minden f\xE1zisban automatikusan megjelenik. "),n()(),i(12,"div")(13,"h3",66),o(14,"Vez\xE9rprompt (master prompt)"),n(),i(15,"ul",68)(16,"li"),o(17,"Projekt kontextus: milyen repo, milyen stack, milyen nyelven dolgozunk"),n(),i(18,"li"),o(19,"Glob\xE1lis szab\xE1lyok: k\xF3dol\xE1si konvenci\xF3k, tiltott m\u0171veletek, commit policy"),n(),i(20,"li"),o(21,'Szerepk\xF6r: milyen "szaktud\xE1s\xFA" agent hajtja v\xE9gre a workflow-t'),n(),i(22,"li"),o(23,"Ne ism\xE9telj meg f\xE1zisonk\xE9nt olyat, ami ide tartozik \u2014 a master prompt mindig jelen van"),n()()(),i(24,"div")(25,"h3",66),o(26,"F\xE1zisok tervez\xE9se"),n(),i(27,"ul",68)(28,"li")(29,"strong",67),o(30,"C\xE9l (goal):"),n(),o(31," egyetlen mondat \u2014 a f\xE1zis sikeress\xE9g\xE9nek m\xE9rc\xE9je "),n(),i(32,"li")(33,"strong",67),o(34,"F\xE1zis prompt:"),n(),o(35,' konkr\xE9t, akci\xF3-orient\xE1lt utas\xEDt\xE1s. Ker\xFCld az \xE1ltal\xE1noss\xE1gokat ("n\xE9zd \xE1t a k\xF3dot") \u2014 \xEDrd le pontosan mit kell csin\xE1lni '),n(),i(36,"li")(37,"strong",67),o(38,"Ism\xE9tl\u0151d\u0151 f\xE1zis:"),n(),o(39,' ha a f\xE1zis nem egyl\xE9p\xE9ses (pl. iterat\xEDv fejleszt\xE9s), kapcsold be az "Ism\xE9tl\u0151d\u0151" opci\xF3t \u2014 a f\xE1zis addig fut, am\xEDg PHASE_DONE jelz\xE9s nem \xE9rkezik '),n()()(),i(40,"div")(41,"h3",66),o(42,"Tipikus f\xE1zis-sorrend"),n(),i(43,"div",69)(44,"span",70),o(45,"1. T\xE1j\xE9koz\xF3d\xE1s / Clarify"),n(),i(46,"span",24),o(47,"\u2192"),n(),i(48,"span",70),o(49,"2. Tervez\xE9s / Plan"),n(),i(50,"span",24),o(51,"\u2192"),n(),i(52,"span",70),o(53,"3. Megval\xF3s\xEDt\xE1s / Dev"),n(),i(54,"span",24),o(55,"\u2192"),n(),i(56,"span",70),o(57,"4. Tesztel\xE9s / Test"),n(),i(58,"span",24),o(59,"\u2192"),n(),i(60,"span",70),o(61,"5. Review / Doc"),n()(),i(62,"p",71),o(63," Nem minden workflow-nak kell minden f\xE1zist tartalmaznia \u2014 haszn\xE1ld azt, ami relev\xE1ns. "),n()(),i(64,"div")(65,"h3",66),o(66,"Tippek"),n(),i(67,"ul",68)(68,"li"),o(69,"A "),i(70,"strong",67),o(71,"sablon (template)"),n(),o(72," workflow-kat gener\xE1l\xE1shoz is haszn\xE1ljuk \u2014 jel\xF6ld be, ha m\xE1sok sz\xE1m\xE1ra is mintak\xE9nt szolg\xE1l"),n(),i(73,"li"),o(74,"A f\xE1zis prompt-ban hivatkozhatsz f\xE1jlokra, mapp\xE1kra, specifik\xE1ci\xF3kra \u2014 min\xE9l konkr\xE9tabb, ann\xE1l jobb"),n(),i(75,"li"),o(76,"T\xF6rekedj arra, hogy egy f\xE1zis "),i(77,"strong",67),o(78,"1 felel\u0151ss\xE9gi k\xF6rrel"),n(),o(79," rendelkezzen (single responsibility)"),n(),i(80,"li"),o(81,"Ha egy f\xE1zis t\xFAl hossz\xFA lenne, bontsd kett\xE9 \u2014 ink\xE1bb legyen t\xF6bb kis f\xE1zis, mint egy nagy"),n()()()())}function De(l,d){if(l&1&&(i(0,"option",41),o(1),n()),l&2){let e=d.$implicit;g("value",e),s(),F(e)}}function Pe(l,d){if(l&1){let e=y();i(0,"div",48)(1,"div",72)(2,"span",73),o(3),n(),i(4,"button",74),c("click",function(){let r=u(e).$index,a=p(2);return m(a.handleRemovePhase(r))}),o(5," Elt\xE1vol\xEDt\xE1s "),n()(),i(6,"div",75)(7,"div")(8,"label",76),o(9,"C\xEDm"),n(),i(10,"input",77),c("ngModelChange",function(r){let a=u(e).$index,_=p(2);return m(_.handlePhaseFieldChange({index:a,field:"title",value:r}))}),n()(),i(11,"div")(12,"label",76),o(13,"C\xE9l (goal)"),n(),i(14,"input",77),c("ngModelChange",function(r){let a=u(e).$index,_=p(2);return m(_.handlePhaseFieldChange({index:a,field:"goal",value:r}))}),n()()(),i(15,"div",78)(16,"label",76),o(17,"F\xE1zis prompt"),n(),i(18,"textarea",79),c("ngModelChange",function(r){let a=u(e).$index,_=p(2);return m(_.handlePhaseFieldChange({index:a,field:"phasePrompt",value:r}))}),o(19," "),n()(),i(20,"div",42)(21,"input",43),c("ngModelChange",function(r){let a=u(e).$index,_=p(2);return m(_.handlePhaseFieldChange({index:a,field:"repeatUntilDone",value:r}))}),n(),i(22,"label",80),o(23,"Ism\xE9tl\u0151d\u0151 (am\xEDg PHASE_DONE)"),n()()()}if(l&2){let e=d.$implicit,t=d.$index;s(3),b("F\xE1zis ",t+1,""),s(7),g("ngModel",e.title),s(4),g("ngModel",e.goal),s(4),g("ngModel",e.phasePrompt),s(3),g("ngModel",e.repeatUntilDone)}}function Fe(l,d){if(l&1){let e=y();i(0,"div",4)(1,"div",22)(2,"button",23),c("click",function(){u(e);let r=p();return m(r.handleCancel())}),o(3," \u2190 Vissza "),n(),i(4,"span",24),o(5,"|"),n(),i(6,"span",25),o(7),n(),i(8,"button",26),c("click",function(){u(e);let r=p();return m(r.handleCopyMarkdown())}),k(9,be,2,0,":svg:svg",27)(10,ve,3,0,":svg:svg",27),n()(),k(11,$e,20,5,"div",28)(12,ze,20,5,"div",29),i(13,"div",30)(14,"button",31),c("click",function(){u(e);let r=p();return m(r.handleToggleBestPractices())}),D(),i(15,"svg",32),P(16,"polyline",33),n(),J(),i(17,"span",34),o(18,"Workflow tervez\xE9si \xFAtmutat\xF3"),n(),i(19,"span",35),o(20,"best practices"),n()(),k(21,Te,82,0,"div",36),n(),i(22,"div",37)(23,"div")(24,"label",38),o(25,"N\xE9v"),n(),i(26,"input",39),c("ngModelChange",function(r){u(e);let a=p();return m(a.handleFieldChange("name",r))}),n()(),i(27,"div")(28,"label",38),o(29,"T\xEDpus"),n(),i(30,"select",40),c("ngModelChange",function(r){u(e);let a=p();return m(a.handleFieldChange("workflowType",r))}),M(31,De,2,2,"option",41,K),n()()(),i(33,"div")(34,"label",38),o(35,"Le\xEDr\xE1s"),n(),i(36,"input",39),c("ngModelChange",function(r){u(e);let a=p();return m(a.handleFieldChange("description",r))}),n()(),i(37,"div",42)(38,"input",43),c("ngModelChange",function(r){u(e);let a=p();return m(a.handleFieldChange("isTemplate",r))}),n(),i(39,"label",25),o(40,"Sablon (template)"),n()(),i(41,"div")(42,"label",38),o(43,"Vez\xE9rprompt (master prompt)"),n(),i(44,"textarea",44),c("ngModelChange",function(r){u(e);let a=p();return m(a.handleFieldChange("masterPrompt",r))}),o(45," "),n()(),i(46,"div")(47,"div",45)(48,"h2",46),o(49,"F\xE1zisok"),n(),i(50,"button",47),c("click",function(){u(e);let r=p();return m(r.handleAddPhase())}),o(51," + F\xE1zis "),n()(),M(52,Pe,24,5,"div",48,H),n(),i(54,"div",49)(55,"button",50),c("click",function(){u(e);let r=p();return m(r.handleSave())}),o(56),n(),i(57,"button",51),c("click",function(){u(e);let r=p();return m(r.handleCancel())}),o(58," M\xE9gse "),n()()()}if(l&2){let e,t,r,a,_,W,f=p();s(7),b(" ",f.isCreating_$()?"\xDAj workflow":"Szerkeszt\xE9s"," "),s(),I("text-neutral-500",!f.isCopied_$())("hover:text-neutral-200",!f.isCopied_$())("text-green-400",f.isCopied_$()),s(),h(f.isCopied_$()?9:10),s(2),h(f.isCreating_$()?11:-1),s(),h(f.isCreating_$()?-1:12),s(3),I("-rotate-90",!f.isBestPracticesOpen_$()),s(6),h(f.isBestPracticesOpen_$()?21:-1),s(5),g("ngModel",(e=f.editingWorkflow_$())==null?null:e.name),s(4),g("ngModel",(t=f.editingWorkflow_$())==null?null:t.workflowType),s(),z(f.workflowTypes),s(5),g("ngModel",(r=f.editingWorkflow_$())==null?null:r.description),s(2),g("ngModel",(a=f.editingWorkflow_$())==null?null:a.isTemplate),s(6),g("ngModel",(_=f.editingWorkflow_$())==null?null:_.masterPrompt),s(8),z((W=f.editingWorkflow_$())==null?null:W.phases),s(3),g("disabled",f.isLoading_$()),s(),b(" ",f.isCreating_$()?"L\xE9trehoz\xE1s":"Ment\xE9s"," ")}}function ue(l){return{id:`phase-${Date.now()}-${l}`,title:"",order:l,goal:"",phasePrompt:"",constraints:[],dod:[],repeatUntilDone:!1,subWorkflowTriggers:[]}}function Ve(){return{name:"",description:"",workflowType:"development",isTemplate:!1,masterPrompt:"",phases:[ue(0)]}}var O=(()=>{class l{workflow_DS=C(pe);globalError_CS=C(ae);modelRegistry_DS=C(se);workflows_$=w([]);editingWorkflow_$=w(null);isLoading_$=w(!1);isCreating_$=w(!1);isBestPracticesOpen_$=w(!1);generationPrompt_$=w("");modificationPrompt_$=w("");isGenerating_$=w(!1);isModifying_$=w(!1);isCopied_$=w(!1);availableModels_$=w([]);selectedProvider_$=w("");selectedModel_$=w("");workflowTypes=["development","research","testing","support","onboarding","review","poc","user-input","bug-report"];ngOnInit(){this.loadWorkflows(),this.loadAvailableModels(),this.restoreDraft()}loadWorkflows(){return x(this,null,function*(){try{this.isLoading_$.set(!0);let e=yield this.workflow_DS.listWorkflows();this.workflows_$.set(e)}catch(e){this.globalError_CS.showError(e,"workflow-settings")}finally{this.isLoading_$.set(!1)}})}handleCreateNew(){this.isCreating_$.set(!0),this.editingWorkflow_$.set(Ve()),this.persistDraft()}handleEdit(e){this.isCreating_$.set(!1),this.editingWorkflow_$.set(S(v({},e),{phases:[...e.phases]}))}handleCancel(){this.editingWorkflow_$.set(null),$.clear()}handleSave(){return x(this,null,function*(){let e=this.editingWorkflow_$();if(e)try{this.isLoading_$.set(!0),this.isCreating_$()?yield this.workflow_DS.createWorkflow({name:e.name,description:e.description,workflowType:e.workflowType,isTemplate:e.isTemplate,masterPrompt:e.masterPrompt,phases:e.phases,generationHistory:e.generationHistory}):e._id&&(yield this.workflow_DS.updateWorkflow({id:e._id,name:e.name,description:e.description,workflowType:e.workflowType,isTemplate:e.isTemplate,masterPrompt:e.masterPrompt,phases:e.phases,generationHistory:e.generationHistory})),this.editingWorkflow_$.set(null),$.clear(),yield this.loadWorkflows()}catch(t){this.globalError_CS.showError(t,"workflow-settings")}finally{this.isLoading_$.set(!1)}})}handleDelete(e){return x(this,null,function*(){if(e._id)try{this.isLoading_$.set(!0),yield this.workflow_DS.deleteWorkflow(e._id),yield this.loadWorkflows()}catch(t){this.globalError_CS.showError(t,"workflow-settings")}finally{this.isLoading_$.set(!1)}})}handleAddPhase(){let e=this.editingWorkflow_$();if(!e)return;let t=ue(e.phases.length);this.editingWorkflow_$.set(S(v({},e),{phases:[...e.phases,t]})),this.persistDraft()}handleRemovePhase(e){let t=this.editingWorkflow_$();if(!t)return;let r=t.phases.filter((a,_)=>_!==e);this.editingWorkflow_$.set(S(v({},t),{phases:r})),this.persistDraft()}handlePhaseFieldChange(e){let t=this.editingWorkflow_$();if(!t)return;let r=[...t.phases];r[e.index]=S(v({},r[e.index]),{[e.field]:e.value}),this.editingWorkflow_$.set(S(v({},t),{phases:r})),this.persistDraft()}handleGenerationPromptChange(e){this.generationPrompt_$.set(e),this.persistDraft()}handleGenerate(){return x(this,null,function*(){let e=this.generationPrompt_$().trim();if(e)try{this.isGenerating_$.set(!0);let t=this.selectedProvider_$(),r=this.selectedModel_$(),a=yield this.workflow_DS.generateWorkflow({description:e,provider:t||void 0,model:r||void 0}),_={type:"generation",prompt:e,timestamp:new Date().toISOString()};this.editingWorkflow_$.set({name:a.name??"",description:a.description??"",workflowType:a.workflowType??"development",isTemplate:a.isTemplate??!1,masterPrompt:a.masterPrompt??"",phases:Array.isArray(a.phases)?a.phases:[],generationHistory:[_]})}catch(t){this.globalError_CS.showError(t,"workflow-settings")}finally{this.isGenerating_$.set(!1)}})}handleModificationPromptChange(e){this.modificationPrompt_$.set(e),this.persistDraft()}handleModify(){return x(this,null,function*(){let e=this.modificationPrompt_$().trim(),t=this.editingWorkflow_$();if(!(!e||!t))try{this.isModifying_$.set(!0);let r=this.selectedProvider_$(),a=this.selectedModel_$(),_=yield this.workflow_DS.modifyWorkflow({currentWorkflow:t,modificationDescription:e,provider:r||void 0,model:a||void 0}),W={type:"modification",prompt:e,timestamp:new Date().toISOString()},f=t.generationHistory??[];this.editingWorkflow_$.set({_id:t._id,name:_.name??"",description:_.description??"",workflowType:_.workflowType??"development",isTemplate:_.isTemplate??!1,masterPrompt:_.masterPrompt??"",phases:Array.isArray(_.phases)?_.phases:[],generationHistory:[...f,W]}),this.persistDraft()}catch(r){this.globalError_CS.showError(r,"workflow-settings")}finally{this.isModifying_$.set(!1)}})}loadAvailableModels(){return x(this,null,function*(){try{let e=yield this.modelRegistry_DS.loadList({enabled:!0});this.availableModels_$.set(e)}catch(e){this.globalError_CS.showError(e,"workflow-settings")}})}handleModelSelectionChange(e){if(!e){this.selectedProvider_$.set(""),this.selectedModel_$.set("");return}let t=e.indexOf(":");t!==-1&&(this.selectedProvider_$.set(e.substring(0,t)),this.selectedModel_$.set(e.substring(t+1)),this.persistDraft())}handleToggleBestPractices(){this.isBestPracticesOpen_$.set(!this.isBestPracticesOpen_$())}handleFieldChange(e,t){let r=this.editingWorkflow_$();r&&(this.editingWorkflow_$.set(S(v({},r),{[e]:t})),this.persistDraft())}handleCopyMarkdown(){return x(this,null,function*(){let e=this.editingWorkflow_$();if(!e)return;let t=[];t.push(`# ${e.name||"N\xE9vtelen workflow"}`),t.push(""),e.description&&(t.push(`> ${e.description}`),t.push("")),t.push("| Mez\u0151 | \xC9rt\xE9k |"),t.push("|------|-------|"),t.push(`| T\xEDpus | ${e.workflowType} |`),t.push(`| Sablon | ${e.isTemplate?"igen":"nem"} |`),t.push(`| F\xE1zisok sz\xE1ma | ${e.phases.length} |`),t.push(""),e.masterPrompt&&(t.push("## Vez\xE9rprompt (master prompt)"),t.push(""),t.push(e.masterPrompt),t.push("")),t.push("## F\xE1zisok"),t.push("");for(let r of e.phases){if(t.push(`### ${r.order+1}. ${r.title||"N\xE9vtelen f\xE1zis"}`),t.push(""),r.goal&&(t.push(`**C\xE9l:** ${r.goal}`),t.push("")),r.phasePrompt&&(t.push("**F\xE1zis prompt:**"),t.push(""),t.push(r.phasePrompt),t.push("")),r.constraints.length){t.push("**Megk\xF6t\xE9sek:**");for(let a of r.constraints)t.push(`- ${a}`);t.push("")}if(r.dod.length){t.push("**Definition of Done:**");for(let a of r.dod)t.push(`- ${a}`);t.push("")}r.repeatUntilDone&&(t.push("*Ism\xE9tl\u0151d\u0151 f\xE1zis (am\xEDg PHASE_DONE)*"),t.push(""))}try{yield navigator.clipboard.writeText(t.join(`
|
|
1
|
+
import{a as se}from"./chunk-UD4PV7CD.js";import"./chunk-U3Y5GO6O.js";import"./chunk-IHNAAEA2.js";import"./chunk-25KTNALK.js";import{b as Z,c as ee,f as te,i as ne,n as ie,o as oe,p as re,v as j}from"./chunk-EO4DNTT4.js";import{a as A}from"./chunk-5UPNU54P.js";import{j as ae}from"./chunk-A33MCHYC.js";import{I as le}from"./chunk-RUSAMFGS.js";import{C,D as R,E as q,Fa as o,Ga as F,Ha as b,Ia as N,J as u,K as m,Kb as X,L as D,M as J,Ta as Y,Z as s,a as v,aa as w,b as S,d as B,da as k,ga as g,ia as I,k as x,la as h,na as K,oa as M,p as E,pa as z,qa as i,ra as n,sa as P,ua as y,ub as V,va as c,wa as p,xb as Q,y as T,z as U}from"./chunk-TBMJSIBB.js";var de=(()=>{class l{baseUrl=`${le.api.baseUrl}/workflow`;http=C(Q);listWorkflows(e){let t=[];e?.workflowType&&t.push(`type=${e.workflowType}`),e?.isTemplate!==void 0&&t.push(`isTemplate=${e.isTemplate}`);let r=t.length?`?${t.join("&")}`:"";return E(this.http.get(`${this.baseUrl}${r}`))}createWorkflow(e){return E(this.http.post(this.baseUrl,e))}getWorkflow(e){return E(this.http.get(`${this.baseUrl}/${e}`))}updateWorkflow(e){let a=e,{id:t}=a,r=B(a,["id"]);return E(this.http.put(`${this.baseUrl}/${t}`,r))}generateWorkflow(e){return E(this.http.post(`${this.baseUrl}/generate`,{description:e.description,provider:e.provider,model:e.model}))}modifyWorkflow(e){return E(this.http.post(`${this.baseUrl}/modify`,{currentWorkflow:e.currentWorkflow,modificationDescription:e.modificationDescription,provider:e.provider,model:e.model}))}deleteWorkflow(e){return E(this.http.delete(`${this.baseUrl}/${e}`))}static \u0275fac=function(t){return new(t||l)};static \u0275prov=T({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();var pe=(()=>{class l{workflow_AS=C(de);listWorkflows(e){return x(this,null,function*(){return(yield this.workflow_AS.listWorkflows(e)).workflows})}createWorkflow(e){return x(this,null,function*(){return(yield this.workflow_AS.createWorkflow(e)).workflow})}getWorkflow(e){return x(this,null,function*(){return(yield this.workflow_AS.getWorkflow(e)).workflow})}updateWorkflow(e){return x(this,null,function*(){return(yield this.workflow_AS.updateWorkflow(e)).workflow})}generateWorkflow(e){return x(this,null,function*(){return(yield this.workflow_AS.generateWorkflow(e)).workflow})}modifyWorkflow(e){return x(this,null,function*(){return(yield this.workflow_AS.modifyWorkflow(e)).workflow})}deleteWorkflow(e){return x(this,null,function*(){return this.workflow_AS.deleteWorkflow(e)})}static \u0275fac=function(t){return new(t||l)};static \u0275prov=T({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();var L="ccap-workflowSettingsDraft",$=class{static get(){let d=A.readJson(L,null);if(typeof d!="object"||d===null)return null;let e=d,t=typeof e.generationPrompt=="string"?e.generationPrompt:"",r=typeof e.modificationPrompt=="string"?e.modificationPrompt:"",a=typeof e.selectedProvider=="string"?e.selectedProvider:"",_=typeof e.selectedModel=="string"?e.selectedModel:"",W=typeof e.isCreating=="boolean"?e.isCreating:!1,f=e.editingWorkflow&&typeof e.editingWorkflow=="object"?e.editingWorkflow:null;return{generationPrompt:t,modificationPrompt:r,selectedProvider:a,selectedModel:_,isCreating:W,editingWorkflow:f}}static save(d){A.writeJson(L,d)}static clear(){A.remove(L)}};var me=(l,d)=>d._id,H=(l,d)=>d.id;function ce(l,d){if(l&1){let e=y();i(0,"button",5),c("click",function(){u(e);let r=p();return m(r.handleCreateNew())}),o(1," + \xDAj workflow "),n()}}function _e(l,d){l&1&&(i(0,"div",6),o(1,"Bet\xF6lt\xE9s..."),n())}function fe(l,d){l&1&&(i(0,"div",7),o(1," Nincs m\xE9g workflow. Hozz l\xE9tre egyet a gombbal. "),n())}function ge(l,d){l&1&&(i(0,"span",14),o(1," sablon "),n())}function xe(l,d){l&1&&(i(0,"span",15),o(1," Built-in "),n())}function we(l,d){if(l&1){let e=y();i(0,"button",20),c("click",function(){u(e);let r=p().$implicit,a=p(3);return m(a.handleEdit(r))}),o(1," Szerkeszt\xE9s "),n(),i(2,"button",21),c("click",function(){u(e);let r=p().$implicit,a=p(3);return m(a.handleDelete(r))}),o(3," T\xF6rl\xE9s "),n()}}function he(l,d){l&1&&(i(0,"span",19),o(1," Readonly "),n())}function ke(l,d){if(l&1&&(i(0,"div",9)(1,"div",10)(2,"div",11)(3,"span",12),o(4),n(),i(5,"span",13),o(6),n(),k(7,ge,2,0,"span",14)(8,xe,2,0,"span",15),n(),i(9,"p",16),o(10),n(),i(11,"div",17),o(12),n()(),i(13,"div",18),k(14,we,4,0)(15,he,2,0,"span",19),n()()),l&2){let e=d.$implicit;s(4),F(e.name),s(2),b(" ",e.workflowType," "),s(),h(e.isTemplate?7:-1),s(),h(e.isBuiltIn?8:-1),s(2),F(e.description),s(2),b(" ",e.phases.length," f\xE1zis "),s(2),h(e.isBuiltIn?15:14)}}function Ee(l,d){if(l&1&&(i(0,"div",8),M(1,ke,16,7,"div",9,me),n()),l&2){let e=p(2);s(),z(e.workflows_$())}}function Ce(l,d){if(l&1&&k(0,_e,2,0,"div",6)(1,fe,2,0,"div",7)(2,Ee,3,0,"div",8),l&2){let e=p();h(e.isLoading_$()?0:e.workflows_$().length===0?1:2)}}function be(l,d){l&1&&(D(),i(0,"svg",27),P(1,"polyline",52),n())}function ve(l,d){l&1&&(D(),i(0,"svg",27),P(1,"rect",53)(2,"path",54),n())}function Se(l,d){if(l&1&&(i(0,"option",41),o(1),n()),l&2){let e=d.$implicit;g("value",e.provider+":"+e.modelName),s(),N(" ",e.provider," / ",e.modelName," ")}}function ye(l,d){l&1&&(i(0,"span",56),o(1,"Az LLM dolgozik a workflow-n..."),n())}function $e(l,d){if(l&1){let e=y();i(0,"div",28)(1,"div",42)(2,"span",55),o(3,"Workflow gener\xE1l\xE1s"),n(),i(4,"span",56),o(5,"\u2014 \xEDrd le egyszer\u0171en, mit szeretn\xE9l"),n()(),i(6,"textarea",57),c("ngModelChange",function(r){u(e);let a=p(2);return m(a.handleGenerationPromptChange(r))}),o(7," "),n(),i(8,"div",58)(9,"div",42)(10,"label",56),o(11,"Modell:"),n(),i(12,"select",59),c("ngModelChange",function(r){u(e);let a=p(2);return m(a.handleModelSelectionChange(r))}),i(13,"option",60),o(14,"Alap\xE9rtelmezett"),n(),M(15,Se,2,3,"option",41,H),n()(),i(17,"button",61),c("click",function(){u(e);let r=p(2);return m(r.handleGenerate())}),o(18),n(),k(19,ye,2,0,"span",56),n()()}if(l&2){let e=p(2);s(6),g("ngModel",e.generationPrompt_$()),s(6),g("ngModel",e.selectedProvider_$()&&e.selectedModel_$()?e.selectedProvider_$()+":"+e.selectedModel_$():""),s(3),z(e.availableModels_$()),s(2),g("disabled",e.isGenerating_$()||!e.generationPrompt_$()),s(),b(" ",e.isGenerating_$()?"Gener\xE1l\xE1s...":"Gener\xE1l\xE1s"," "),s(),h(e.isGenerating_$()?19:-1)}}function We(l,d){if(l&1&&(i(0,"option",41),o(1),n()),l&2){let e=d.$implicit;g("value",e.provider+":"+e.modelName),s(),N(" ",e.provider," / ",e.modelName," ")}}function Me(l,d){l&1&&(i(0,"span",56),o(1,"Az LLM m\xF3dos\xEDtja a workflow-t..."),n())}function ze(l,d){if(l&1){let e=y();i(0,"div",29)(1,"div",42)(2,"span",62),o(3,"Workflow m\xF3dos\xEDt\xE1s"),n(),i(4,"span",56),o(5,"\u2014 \xEDrd le, mit szeretn\xE9l v\xE1ltoztatni"),n()(),i(6,"textarea",63),c("ngModelChange",function(r){u(e);let a=p(2);return m(a.handleModificationPromptChange(r))}),o(7," "),n(),i(8,"div",58)(9,"div",42)(10,"label",56),o(11,"Modell:"),n(),i(12,"select",64),c("ngModelChange",function(r){u(e);let a=p(2);return m(a.handleModelSelectionChange(r))}),i(13,"option",60),o(14,"Alap\xE9rtelmezett"),n(),M(15,We,2,3,"option",41,H),n()(),i(17,"button",65),c("click",function(){u(e);let r=p(2);return m(r.handleModify())}),o(18),n(),k(19,Me,2,0,"span",56),n()()}if(l&2){let e=p(2);s(6),g("ngModel",e.modificationPrompt_$()),s(6),g("ngModel",e.selectedProvider_$()&&e.selectedModel_$()?e.selectedProvider_$()+":"+e.selectedModel_$():""),s(3),z(e.availableModels_$()),s(2),g("disabled",e.isModifying_$()||!e.modificationPrompt_$()),s(),b(" ",e.isModifying_$()?"M\xF3dos\xEDt\xE1s...":"M\xF3dos\xEDt\xE1s"," "),s(),h(e.isModifying_$()?19:-1)}}function Te(l,d){l&1&&(i(0,"div",36)(1,"div")(2,"h3",66),o(3,"Fel\xE9p\xEDt\xE9s"),n(),i(4,"p"),o(5," Egy j\xF3 workflow "),i(6,"strong",67),o(7,"f\xE1zisokra"),n(),o(8," bontja a feladatot, ahol minden f\xE1zis egyetlen, j\xF3l meghat\xE1rozott c\xE9lt k\xF6vet. A "),i(9,"strong",67),o(10,"vez\xE9rprompt"),n(),o(11," (master prompt) az eg\xE9sz workflow-ra \xE9rv\xE9nyes alapszab\xE1lyokat \xE9s kontextust tartalmazza \u2014 ez minden f\xE1zisban automatikusan megjelenik. "),n()(),i(12,"div")(13,"h3",66),o(14,"Vez\xE9rprompt (master prompt)"),n(),i(15,"ul",68)(16,"li"),o(17,"Projekt kontextus: milyen repo, milyen stack, milyen nyelven dolgozunk"),n(),i(18,"li"),o(19,"Glob\xE1lis szab\xE1lyok: k\xF3dol\xE1si konvenci\xF3k, tiltott m\u0171veletek, commit policy"),n(),i(20,"li"),o(21,'Szerepk\xF6r: milyen "szaktud\xE1s\xFA" agent hajtja v\xE9gre a workflow-t'),n(),i(22,"li"),o(23,"Ne ism\xE9telj meg f\xE1zisonk\xE9nt olyat, ami ide tartozik \u2014 a master prompt mindig jelen van"),n()()(),i(24,"div")(25,"h3",66),o(26,"F\xE1zisok tervez\xE9se"),n(),i(27,"ul",68)(28,"li")(29,"strong",67),o(30,"C\xE9l (goal):"),n(),o(31," egyetlen mondat \u2014 a f\xE1zis sikeress\xE9g\xE9nek m\xE9rc\xE9je "),n(),i(32,"li")(33,"strong",67),o(34,"F\xE1zis prompt:"),n(),o(35,' konkr\xE9t, akci\xF3-orient\xE1lt utas\xEDt\xE1s. Ker\xFCld az \xE1ltal\xE1noss\xE1gokat ("n\xE9zd \xE1t a k\xF3dot") \u2014 \xEDrd le pontosan mit kell csin\xE1lni '),n(),i(36,"li")(37,"strong",67),o(38,"Ism\xE9tl\u0151d\u0151 f\xE1zis:"),n(),o(39,' ha a f\xE1zis nem egyl\xE9p\xE9ses (pl. iterat\xEDv fejleszt\xE9s), kapcsold be az "Ism\xE9tl\u0151d\u0151" opci\xF3t \u2014 a f\xE1zis addig fut, am\xEDg PHASE_DONE jelz\xE9s nem \xE9rkezik '),n()()(),i(40,"div")(41,"h3",66),o(42,"Tipikus f\xE1zis-sorrend"),n(),i(43,"div",69)(44,"span",70),o(45,"1. T\xE1j\xE9koz\xF3d\xE1s / Clarify"),n(),i(46,"span",24),o(47,"\u2192"),n(),i(48,"span",70),o(49,"2. Tervez\xE9s / Plan"),n(),i(50,"span",24),o(51,"\u2192"),n(),i(52,"span",70),o(53,"3. Megval\xF3s\xEDt\xE1s / Dev"),n(),i(54,"span",24),o(55,"\u2192"),n(),i(56,"span",70),o(57,"4. Tesztel\xE9s / Test"),n(),i(58,"span",24),o(59,"\u2192"),n(),i(60,"span",70),o(61,"5. Review / Doc"),n()(),i(62,"p",71),o(63," Nem minden workflow-nak kell minden f\xE1zist tartalmaznia \u2014 haszn\xE1ld azt, ami relev\xE1ns. "),n()(),i(64,"div")(65,"h3",66),o(66,"Tippek"),n(),i(67,"ul",68)(68,"li"),o(69,"A "),i(70,"strong",67),o(71,"sablon (template)"),n(),o(72," workflow-kat gener\xE1l\xE1shoz is haszn\xE1ljuk \u2014 jel\xF6ld be, ha m\xE1sok sz\xE1m\xE1ra is mintak\xE9nt szolg\xE1l"),n(),i(73,"li"),o(74,"A f\xE1zis prompt-ban hivatkozhatsz f\xE1jlokra, mapp\xE1kra, specifik\xE1ci\xF3kra \u2014 min\xE9l konkr\xE9tabb, ann\xE1l jobb"),n(),i(75,"li"),o(76,"T\xF6rekedj arra, hogy egy f\xE1zis "),i(77,"strong",67),o(78,"1 felel\u0151ss\xE9gi k\xF6rrel"),n(),o(79," rendelkezzen (single responsibility)"),n(),i(80,"li"),o(81,"Ha egy f\xE1zis t\xFAl hossz\xFA lenne, bontsd kett\xE9 \u2014 ink\xE1bb legyen t\xF6bb kis f\xE1zis, mint egy nagy"),n()()()())}function De(l,d){if(l&1&&(i(0,"option",41),o(1),n()),l&2){let e=d.$implicit;g("value",e),s(),F(e)}}function Pe(l,d){if(l&1){let e=y();i(0,"div",48)(1,"div",72)(2,"span",73),o(3),n(),i(4,"button",74),c("click",function(){let r=u(e).$index,a=p(2);return m(a.handleRemovePhase(r))}),o(5," Elt\xE1vol\xEDt\xE1s "),n()(),i(6,"div",75)(7,"div")(8,"label",76),o(9,"C\xEDm"),n(),i(10,"input",77),c("ngModelChange",function(r){let a=u(e).$index,_=p(2);return m(_.handlePhaseFieldChange({index:a,field:"title",value:r}))}),n()(),i(11,"div")(12,"label",76),o(13,"C\xE9l (goal)"),n(),i(14,"input",77),c("ngModelChange",function(r){let a=u(e).$index,_=p(2);return m(_.handlePhaseFieldChange({index:a,field:"goal",value:r}))}),n()()(),i(15,"div",78)(16,"label",76),o(17,"F\xE1zis prompt"),n(),i(18,"textarea",79),c("ngModelChange",function(r){let a=u(e).$index,_=p(2);return m(_.handlePhaseFieldChange({index:a,field:"phasePrompt",value:r}))}),o(19," "),n()(),i(20,"div",42)(21,"input",43),c("ngModelChange",function(r){let a=u(e).$index,_=p(2);return m(_.handlePhaseFieldChange({index:a,field:"repeatUntilDone",value:r}))}),n(),i(22,"label",80),o(23,"Ism\xE9tl\u0151d\u0151 (am\xEDg PHASE_DONE)"),n()()()}if(l&2){let e=d.$implicit,t=d.$index;s(3),b("F\xE1zis ",t+1,""),s(7),g("ngModel",e.title),s(4),g("ngModel",e.goal),s(4),g("ngModel",e.phasePrompt),s(3),g("ngModel",e.repeatUntilDone)}}function Fe(l,d){if(l&1){let e=y();i(0,"div",4)(1,"div",22)(2,"button",23),c("click",function(){u(e);let r=p();return m(r.handleCancel())}),o(3," \u2190 Vissza "),n(),i(4,"span",24),o(5,"|"),n(),i(6,"span",25),o(7),n(),i(8,"button",26),c("click",function(){u(e);let r=p();return m(r.handleCopyMarkdown())}),k(9,be,2,0,":svg:svg",27)(10,ve,3,0,":svg:svg",27),n()(),k(11,$e,20,5,"div",28)(12,ze,20,5,"div",29),i(13,"div",30)(14,"button",31),c("click",function(){u(e);let r=p();return m(r.handleToggleBestPractices())}),D(),i(15,"svg",32),P(16,"polyline",33),n(),J(),i(17,"span",34),o(18,"Workflow tervez\xE9si \xFAtmutat\xF3"),n(),i(19,"span",35),o(20,"best practices"),n()(),k(21,Te,82,0,"div",36),n(),i(22,"div",37)(23,"div")(24,"label",38),o(25,"N\xE9v"),n(),i(26,"input",39),c("ngModelChange",function(r){u(e);let a=p();return m(a.handleFieldChange("name",r))}),n()(),i(27,"div")(28,"label",38),o(29,"T\xEDpus"),n(),i(30,"select",40),c("ngModelChange",function(r){u(e);let a=p();return m(a.handleFieldChange("workflowType",r))}),M(31,De,2,2,"option",41,K),n()()(),i(33,"div")(34,"label",38),o(35,"Le\xEDr\xE1s"),n(),i(36,"input",39),c("ngModelChange",function(r){u(e);let a=p();return m(a.handleFieldChange("description",r))}),n()(),i(37,"div",42)(38,"input",43),c("ngModelChange",function(r){u(e);let a=p();return m(a.handleFieldChange("isTemplate",r))}),n(),i(39,"label",25),o(40,"Sablon (template)"),n()(),i(41,"div")(42,"label",38),o(43,"Vez\xE9rprompt (master prompt)"),n(),i(44,"textarea",44),c("ngModelChange",function(r){u(e);let a=p();return m(a.handleFieldChange("masterPrompt",r))}),o(45," "),n()(),i(46,"div")(47,"div",45)(48,"h2",46),o(49,"F\xE1zisok"),n(),i(50,"button",47),c("click",function(){u(e);let r=p();return m(r.handleAddPhase())}),o(51," + F\xE1zis "),n()(),M(52,Pe,24,5,"div",48,H),n(),i(54,"div",49)(55,"button",50),c("click",function(){u(e);let r=p();return m(r.handleSave())}),o(56),n(),i(57,"button",51),c("click",function(){u(e);let r=p();return m(r.handleCancel())}),o(58," M\xE9gse "),n()()()}if(l&2){let e,t,r,a,_,W,f=p();s(7),b(" ",f.isCreating_$()?"\xDAj workflow":"Szerkeszt\xE9s"," "),s(),I("text-neutral-500",!f.isCopied_$())("hover:text-neutral-200",!f.isCopied_$())("text-green-400",f.isCopied_$()),s(),h(f.isCopied_$()?9:10),s(2),h(f.isCreating_$()?11:-1),s(),h(f.isCreating_$()?-1:12),s(3),I("-rotate-90",!f.isBestPracticesOpen_$()),s(6),h(f.isBestPracticesOpen_$()?21:-1),s(5),g("ngModel",(e=f.editingWorkflow_$())==null?null:e.name),s(4),g("ngModel",(t=f.editingWorkflow_$())==null?null:t.workflowType),s(),z(f.workflowTypes),s(5),g("ngModel",(r=f.editingWorkflow_$())==null?null:r.description),s(2),g("ngModel",(a=f.editingWorkflow_$())==null?null:a.isTemplate),s(6),g("ngModel",(_=f.editingWorkflow_$())==null?null:_.masterPrompt),s(8),z((W=f.editingWorkflow_$())==null?null:W.phases),s(3),g("disabled",f.isLoading_$()),s(),b(" ",f.isCreating_$()?"L\xE9trehoz\xE1s":"Ment\xE9s"," ")}}function ue(l){return{id:`phase-${Date.now()}-${l}`,title:"",order:l,goal:"",phasePrompt:"",constraints:[],dod:[],repeatUntilDone:!1,subWorkflowTriggers:[]}}function Ve(){return{name:"",description:"",workflowType:"development",isTemplate:!1,masterPrompt:"",phases:[ue(0)]}}var O=(()=>{class l{workflow_DS=C(pe);globalError_CS=C(ae);modelRegistry_DS=C(se);workflows_$=w([]);editingWorkflow_$=w(null);isLoading_$=w(!1);isCreating_$=w(!1);isBestPracticesOpen_$=w(!1);generationPrompt_$=w("");modificationPrompt_$=w("");isGenerating_$=w(!1);isModifying_$=w(!1);isCopied_$=w(!1);availableModels_$=w([]);selectedProvider_$=w("");selectedModel_$=w("");workflowTypes=["development","research","testing","support","onboarding","review","poc","user-input","bug-report"];ngOnInit(){this.loadWorkflows(),this.loadAvailableModels(),this.restoreDraft()}loadWorkflows(){return x(this,null,function*(){try{this.isLoading_$.set(!0);let e=yield this.workflow_DS.listWorkflows();this.workflows_$.set(e)}catch(e){this.globalError_CS.showError(e,"workflow-settings")}finally{this.isLoading_$.set(!1)}})}handleCreateNew(){this.isCreating_$.set(!0),this.editingWorkflow_$.set(Ve()),this.persistDraft()}handleEdit(e){this.isCreating_$.set(!1),this.editingWorkflow_$.set(S(v({},e),{phases:[...e.phases]}))}handleCancel(){this.editingWorkflow_$.set(null),$.clear()}handleSave(){return x(this,null,function*(){let e=this.editingWorkflow_$();if(e)try{this.isLoading_$.set(!0),this.isCreating_$()?yield this.workflow_DS.createWorkflow({name:e.name,description:e.description,workflowType:e.workflowType,isTemplate:e.isTemplate,masterPrompt:e.masterPrompt,phases:e.phases,generationHistory:e.generationHistory}):e._id&&(yield this.workflow_DS.updateWorkflow({id:e._id,name:e.name,description:e.description,workflowType:e.workflowType,isTemplate:e.isTemplate,masterPrompt:e.masterPrompt,phases:e.phases,generationHistory:e.generationHistory})),this.editingWorkflow_$.set(null),$.clear(),yield this.loadWorkflows()}catch(t){this.globalError_CS.showError(t,"workflow-settings")}finally{this.isLoading_$.set(!1)}})}handleDelete(e){return x(this,null,function*(){if(e._id)try{this.isLoading_$.set(!0),yield this.workflow_DS.deleteWorkflow(e._id),yield this.loadWorkflows()}catch(t){this.globalError_CS.showError(t,"workflow-settings")}finally{this.isLoading_$.set(!1)}})}handleAddPhase(){let e=this.editingWorkflow_$();if(!e)return;let t=ue(e.phases.length);this.editingWorkflow_$.set(S(v({},e),{phases:[...e.phases,t]})),this.persistDraft()}handleRemovePhase(e){let t=this.editingWorkflow_$();if(!t)return;let r=t.phases.filter((a,_)=>_!==e);this.editingWorkflow_$.set(S(v({},t),{phases:r})),this.persistDraft()}handlePhaseFieldChange(e){let t=this.editingWorkflow_$();if(!t)return;let r=[...t.phases];r[e.index]=S(v({},r[e.index]),{[e.field]:e.value}),this.editingWorkflow_$.set(S(v({},t),{phases:r})),this.persistDraft()}handleGenerationPromptChange(e){this.generationPrompt_$.set(e),this.persistDraft()}handleGenerate(){return x(this,null,function*(){let e=this.generationPrompt_$().trim();if(e)try{this.isGenerating_$.set(!0);let t=this.selectedProvider_$(),r=this.selectedModel_$(),a=yield this.workflow_DS.generateWorkflow({description:e,provider:t||void 0,model:r||void 0}),_={type:"generation",prompt:e,timestamp:new Date().toISOString()};this.editingWorkflow_$.set({name:a.name??"",description:a.description??"",workflowType:a.workflowType??"development",isTemplate:a.isTemplate??!1,masterPrompt:a.masterPrompt??"",phases:Array.isArray(a.phases)?a.phases:[],generationHistory:[_]})}catch(t){this.globalError_CS.showError(t,"workflow-settings")}finally{this.isGenerating_$.set(!1)}})}handleModificationPromptChange(e){this.modificationPrompt_$.set(e),this.persistDraft()}handleModify(){return x(this,null,function*(){let e=this.modificationPrompt_$().trim(),t=this.editingWorkflow_$();if(!(!e||!t))try{this.isModifying_$.set(!0);let r=this.selectedProvider_$(),a=this.selectedModel_$(),_=yield this.workflow_DS.modifyWorkflow({currentWorkflow:t,modificationDescription:e,provider:r||void 0,model:a||void 0}),W={type:"modification",prompt:e,timestamp:new Date().toISOString()},f=t.generationHistory??[];this.editingWorkflow_$.set({_id:t._id,name:_.name??"",description:_.description??"",workflowType:_.workflowType??"development",isTemplate:_.isTemplate??!1,masterPrompt:_.masterPrompt??"",phases:Array.isArray(_.phases)?_.phases:[],generationHistory:[...f,W]}),this.persistDraft()}catch(r){this.globalError_CS.showError(r,"workflow-settings")}finally{this.isModifying_$.set(!1)}})}loadAvailableModels(){return x(this,null,function*(){try{let e=yield this.modelRegistry_DS.loadList({enabled:!0});this.availableModels_$.set(e)}catch(e){this.globalError_CS.showError(e,"workflow-settings")}})}handleModelSelectionChange(e){if(!e){this.selectedProvider_$.set(""),this.selectedModel_$.set("");return}let t=e.indexOf(":");t!==-1&&(this.selectedProvider_$.set(e.substring(0,t)),this.selectedModel_$.set(e.substring(t+1)),this.persistDraft())}handleToggleBestPractices(){this.isBestPracticesOpen_$.set(!this.isBestPracticesOpen_$())}handleFieldChange(e,t){let r=this.editingWorkflow_$();r&&(this.editingWorkflow_$.set(S(v({},r),{[e]:t})),this.persistDraft())}handleCopyMarkdown(){return x(this,null,function*(){let e=this.editingWorkflow_$();if(!e)return;let t=[];t.push(`# ${e.name||"N\xE9vtelen workflow"}`),t.push(""),e.description&&(t.push(`> ${e.description}`),t.push("")),t.push("| Mez\u0151 | \xC9rt\xE9k |"),t.push("|------|-------|"),t.push(`| T\xEDpus | ${e.workflowType} |`),t.push(`| Sablon | ${e.isTemplate?"igen":"nem"} |`),t.push(`| F\xE1zisok sz\xE1ma | ${e.phases.length} |`),t.push(""),e.masterPrompt&&(t.push("## Vez\xE9rprompt (master prompt)"),t.push(""),t.push(e.masterPrompt),t.push("")),t.push("## F\xE1zisok"),t.push("");for(let r of e.phases){if(t.push(`### ${r.order+1}. ${r.title||"N\xE9vtelen f\xE1zis"}`),t.push(""),r.goal&&(t.push(`**C\xE9l:** ${r.goal}`),t.push("")),r.phasePrompt&&(t.push("**F\xE1zis prompt:**"),t.push(""),t.push(r.phasePrompt),t.push("")),r.constraints.length){t.push("**Megk\xF6t\xE9sek:**");for(let a of r.constraints)t.push(`- ${a}`);t.push("")}if(r.dod.length){t.push("**Definition of Done:**");for(let a of r.dod)t.push(`- ${a}`);t.push("")}r.repeatUntilDone&&(t.push("*Ism\xE9tl\u0151d\u0151 f\xE1zis (am\xEDg PHASE_DONE)*"),t.push(""))}try{yield navigator.clipboard.writeText(t.join(`
|
|
2
2
|
`)),this.isCopied_$.set(!0),setTimeout(()=>this.isCopied_$.set(!1),2e3)}catch{}})}persistDraft(){$.save({generationPrompt:this.generationPrompt_$(),modificationPrompt:this.modificationPrompt_$(),selectedProvider:this.selectedProvider_$(),selectedModel:this.selectedModel_$(),isCreating:this.isCreating_$(),editingWorkflow:this.editingWorkflow_$()})}restoreDraft(){let e=$.get();e&&(this.generationPrompt_$.set(e.generationPrompt),this.modificationPrompt_$.set(e.modificationPrompt),this.selectedProvider_$.set(e.selectedProvider),this.selectedModel_$.set(e.selectedModel),e.editingWorkflow&&(this.isCreating_$.set(e.isCreating),this.editingWorkflow_$.set(e.editingWorkflow)))}static \u0275fac=function(t){return new(t||l)};static \u0275cmp=R({type:l,selectors:[["app-ccap-workflow-settings"]],standalone:!0,features:[Y],decls:7,vars:3,consts:[[1,"max-w-4xl","mx-auto","p-4","gt-xs:p-6","text-neutral-100"],[1,"flex","items-center","justify-between","mb-6"],[1,"text-2xl","font-bold"],[1,"px-4","py-2","border","border-neonDefault","text-neonDefault","rounded","hover:bg-neonDefault/10","transition-colors","text-sm"],[1,"space-y-4"],[1,"px-4","py-2","border","border-neonDefault","text-neonDefault","rounded","hover:bg-neonDefault/10","transition-colors","text-sm",3,"click"],[1,"text-neutral-500","text-sm"],[1,"rounded-lg","border","border-neutral-700","bg-ccapSurface/50","p-6","text-center","text-neutral-500"],[1,"space-y-3"],[1,"rounded-lg","border","border-neutral-700","bg-ccapSurface/50","p-4","flex","items-start","justify-between","gap-4"],[1,"flex-1","min-w-0"],[1,"flex","items-center","gap-2","mb-1"],[1,"font-semibold","text-neutral-100","truncate"],[1,"text-xs","px-2","py-0.5","rounded","bg-neutral-700","text-neutral-300"],[1,"text-xs","px-2","py-0.5","rounded","bg-neonDefault/20","text-neonDefault"],[1,"text-xs","px-2","py-0.5","rounded","bg-neonCyan/20","text-neonCyan"],[1,"text-neutral-400","text-sm","truncate"],[1,"text-neutral-500","text-xs","mt-1"],[1,"flex","gap-2","shrink-0"],[1,"px-3","py-1.5","text-xs","text-neutral-500","italic"],[1,"px-3","py-1.5","text-xs","border","border-neutral-600","rounded","hover:border-neonDefault","hover:text-neonDefault","transition-colors",3,"click"],[1,"px-3","py-1.5","text-xs","border","border-neutral-600","rounded","text-red-400","hover:border-red-400","transition-colors",3,"click"],[1,"flex","items-center","gap-2","mb-2"],[1,"text-sm","text-neutral-400","hover:text-neutral-200","transition-colors",3,"click"],[1,"text-neutral-600"],[1,"text-sm","text-neutral-300"],["title","Workflow markdown m\xE1sol\xE1sa v\xE1g\xF3lapra",1,"ml-auto","p-1.5","transition-colors","rounded","hover:bg-neutral-700/50",3,"click"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"w-4","h-4"],[1,"rounded-lg","border","border-neonDefault/30","bg-neonDefault/5","p-4","space-y-3"],[1,"rounded-lg","border","border-amber-500/30","bg-amber-500/5","p-4","space-y-3"],[1,"rounded-lg","border","border-neutral-700","bg-neutral-800/40"],[1,"w-full","flex","items-center","gap-2","px-4","py-3","text-left","text-sm","text-neutral-300","hover:text-neutral-100","transition-colors",3,"click"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"w-3","h-3","shrink-0","transition-transform","duration-150"],["points","6 9 12 15 18 9"],[1,"font-medium"],[1,"text-xs","text-neutral-500","ml-auto"],[1,"px-4","pb-4","text-sm","text-neutral-400","space-y-4","border-t","border-neutral-700","pt-3"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-4"],[1,"block","text-xs","text-neutral-400","mb-1"],["type","text",1,"w-full","bg-neutral-800","border","border-neutral-600","rounded","px-3","py-2","text-sm","text-neutral-100","focus:border-neonDefault","outline-none",3,"ngModelChange","ngModel"],[1,"w-full","bg-neutral-800","border","border-neutral-600","rounded","px-3","py-2","text-sm","text-neutral-100","focus:border-neonDefault","outline-none",3,"ngModelChange","ngModel"],[3,"value"],[1,"flex","items-center","gap-2"],["type","checkbox",1,"accent-neonDefault",3,"ngModelChange","ngModel"],["rows","4",1,"w-full","bg-neutral-800","border","border-neutral-600","rounded","px-3","py-2","text-sm","text-neutral-100","focus:border-neonDefault","outline-none","resize-y",3,"ngModelChange","ngModel"],[1,"flex","items-center","justify-between","mb-2"],[1,"text-lg","font-semibold"],[1,"px-3","py-1","text-xs","border","border-neonDefault","text-neonDefault","rounded","hover:bg-neonDefault/10","transition-colors",3,"click"],[1,"rounded-lg","border","border-neutral-700","bg-neutral-800/50","p-4","mb-3"],[1,"flex","gap-3","pt-2"],[1,"px-5","py-2","border","border-neonDefault","text-neonDefault","rounded","hover:bg-neonDefault/10","transition-colors","text-sm",3,"click","disabled"],[1,"px-5","py-2","border","border-neutral-600","text-neutral-400","rounded","hover:border-neutral-400","transition-colors","text-sm",3,"click"],["points","20 6 9 17 4 12"],["x","9","y","9","width","13","height","13","rx","2","ry","2"],["d","M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"],[1,"text-sm","font-medium","text-neonDefault"],[1,"text-xs","text-neutral-500"],["rows","3","placeholder","Pl.: Szeretn\xE9k egy workflow-t, ami el\u0151sz\xF6r \xE1tn\xE9zi a k\xF3dot, azt\xE1n meg\xEDrja a teszteket, v\xE9g\xFCl review-olja az eg\xE9szet...",1,"w-full","bg-neutral-800","border","border-neutral-600","rounded","px-3","py-2","text-sm","text-neutral-100","focus:border-neonDefault","outline-none","resize-y","placeholder:text-neutral-600",3,"ngModelChange","ngModel"],[1,"flex","items-center","gap-3"],[1,"bg-neutral-800","border","border-neutral-600","rounded","px-2","py-1.5","text-xs","text-neutral-100","focus:border-neonDefault","outline-none",3,"ngModelChange","ngModel"],["value",""],[1,"px-4","py-2","border","border-neonDefault","text-neonDefault","rounded","hover:bg-neonDefault/10","transition-colors","text-sm","disabled:opacity-40","disabled:cursor-not-allowed",3,"click","disabled"],[1,"text-sm","font-medium","text-amber-400"],["rows","3","placeholder","Pl.: Adj hozz\xE1 egy tesztel\xE9si f\xE1zist a megval\xF3s\xEDt\xE1s ut\xE1n, \xE9s tedd r\xE9szletesebb\xE9 a review f\xE1zis prompt-j\xE1t...",1,"w-full","bg-neutral-800","border","border-neutral-600","rounded","px-3","py-2","text-sm","text-neutral-100","focus:border-amber-400","outline-none","resize-y","placeholder:text-neutral-600",3,"ngModelChange","ngModel"],[1,"bg-neutral-800","border","border-neutral-600","rounded","px-2","py-1.5","text-xs","text-neutral-100","focus:border-amber-400","outline-none",3,"ngModelChange","ngModel"],[1,"px-4","py-2","border","border-amber-500","text-amber-400","rounded","hover:bg-amber-500/10","transition-colors","text-sm","disabled:opacity-40","disabled:cursor-not-allowed",3,"click","disabled"],[1,"text-neutral-200","font-semibold","mb-1"],[1,"text-neutral-300"],[1,"list-disc","list-inside","space-y-1"],[1,"flex","flex-wrap","gap-2","text-xs"],[1,"px-2","py-1","rounded","bg-neutral-700","text-neutral-300"],[1,"mt-2","text-xs","text-neutral-500"],[1,"flex","items-center","justify-between","mb-3"],[1,"text-sm","font-medium","text-neutral-300"],[1,"text-xs","text-red-400","hover:text-red-300","transition-colors",3,"click"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-3","mb-3"],[1,"block","text-xs","text-neutral-500","mb-1"],["type","text",1,"w-full","bg-neutral-900","border","border-neutral-600","rounded","px-2","py-1.5","text-sm","text-neutral-100","focus:border-neonDefault","outline-none",3,"ngModelChange","ngModel"],[1,"mb-3"],["rows","3",1,"w-full","bg-neutral-900","border","border-neutral-600","rounded","px-2","py-1.5","text-sm","text-neutral-100","focus:border-neonDefault","outline-none","resize-y",3,"ngModelChange","ngModel"],[1,"text-xs","text-neutral-400"]],template:function(t,r){t&1&&(i(0,"div",0)(1,"div",1)(2,"h1",2),o(3,"Workflow be\xE1ll\xEDt\xE1sok"),n(),k(4,ce,2,0,"button",3),n(),k(5,Ce,3,1)(6,Fe,59,20,"div",4),n()),t&2&&(s(4),h(r.editingWorkflow_$()?-1:4),s(),h(r.editingWorkflow_$()?-1:5),s(),h(r.editingWorkflow_$()?6:-1))},dependencies:[V,j,oe,re,ee,Z,ie,te,ne],encapsulation:2})}return l})();var je=[{path:"",pathMatch:"full",component:O}],mt=(()=>{class l{static \u0275fac=function(t){return new(t||l)};static \u0275mod=q({type:l});static \u0275inj=U({imports:[V,j,X.forChild(je),O]})}return l})();export{mt as WorkflowSettings_Module};
|
|
3
|
-
//# sourceMappingURL=wfs.module-
|
|
3
|
+
//# sourceMappingURL=wfs.module-LUTFNQG5.js.map
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ccap-post-services-bootstrap.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/core/ccap-post-services-bootstrap.util.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,uBAAuB,EAAE,MAAM,iFAAiF,CAAC;AAE1H;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,+BAA+B;IAE1C;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE;QAC1B,WAAW,EAAE,uBAAuB,CAAC;KACtC,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"ccap-post-services-bootstrap.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/core/ccap-post-services-bootstrap.util.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,uBAAuB,EAAE,MAAM,iFAAiF,CAAC;AAE1H;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,+BAA+B;IAE1C;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE;QAC1B,WAAW,EAAE,uBAAuB,CAAC;KACtC,GAAG,IAAI;CA+BT"}
|
|
@@ -52,8 +52,13 @@ class CCAP_PostServicesBootstrap_Util {
|
|
|
52
52
|
// NTF Notification rendszer — expiry checker indítása.
|
|
53
53
|
ntf_control_service_1.NTF_ControlService.getInstance().startExpiryChecker();
|
|
54
54
|
// PEI (Peer-Instance Communication) bootstrap — REQ-PEI-013.
|
|
55
|
+
// REQ-CLUSTER-DEBUG-WS-001 Slice G (cycle 823): a watchdog FÜGGETLENÜL elindul
|
|
56
|
+
// az első bootstrap eredményétől — ha az most bukik (DB-down, race-condition,
|
|
57
|
+
// sharedSecret cache még üres), a 60s-os watchdog tick automatikusan próbálja
|
|
58
|
+
// újra. A user-nek nem kell kézzel a Re-bootstrap-re kattintania.
|
|
55
59
|
pei_bootstrap_control_service_1.PEI_Bootstrap_ControlService.getInstance()
|
|
56
60
|
.bootstrapIfConfigured({ setupConfig: params.setupConfig, source: 'startup' });
|
|
61
|
+
pei_bootstrap_control_service_1.PEI_Bootstrap_ControlService.getInstance().startWatchdog();
|
|
57
62
|
// Default model pricing betöltés — fire-and-forget [REQ-CT-007].
|
|
58
63
|
void ct_price_scraper_control_service_1.CT_PriceScraper_ControlService.getInstance().loadDefaultPricing();
|
|
59
64
|
// Napi cost snapshot ütemezés — [REQ-CT-010].
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ccap-post-services-bootstrap.util.js","sourceRoot":"","sources":["../../../../src/_collections/core/ccap-post-services-bootstrap.util.ts"],"names":[],"mappings":";;;AAAA,wGAAwG;AACxG,mIAA+H;AAC/H,iJAA2I;AAC3I,iHAA6G;AAC7G,+GAA2G;AAC3G,oHAAgH;AAChH,wHAAoH;AACpH,qKAAiK;AACjK,+IAA0I;AAC1I,mHAA+G;AAG/G;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,+BAA+B;IAE1C;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CAAC,MAEnB;QACC,qGAAqG;QACrG,0DAA2B,CAAC,WAAW,EAAE,CAAC,gBAAgB,EAAE,CAAC;QAC7D,8CAAqB,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,GAAS,EAAE,GAAE,CAAC,CAAC,CAAC;QAC1D,wCAAkB,CAAC,WAAW,EAAE,CAAC,UAAU,EAAE,CAAC,KAAK,CAAC,GAAS,EAAE,GAAE,CAAC,CAAC,CAAC;QACpE,sEAAgC,CAAC,WAAW,EAAE,CAAC,UAAU,EAAE,CAAC;QAE5D,oFAAoF;QACpF,0DAA2B,CAAC,WAAW,EAAE;aACtC,mBAAmB,CAAC;YACnB,MAAM,EAAE,4CAAsB,CAAC,WAAW,EAAE,CAAC,aAAa,EAAE;SAAE,CAAC;aAChE,KAAK,CAAC,GAAS,EAAE,GAAE,CAAC,CAAC,CAAC;QAEzB,uDAAuD;QACvD,wCAAkB,CAAC,WAAW,EAAE,CAAC,kBAAkB,EAAE,CAAC;QAEtD,6DAA6D;QAC7D,4DAA4B,CAAC,WAAW,EAAE;aACvC,qBAAqB,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ccap-post-services-bootstrap.util.js","sourceRoot":"","sources":["../../../../src/_collections/core/ccap-post-services-bootstrap.util.ts"],"names":[],"mappings":";;;AAAA,wGAAwG;AACxG,mIAA+H;AAC/H,iJAA2I;AAC3I,iHAA6G;AAC7G,+GAA2G;AAC3G,oHAAgH;AAChH,wHAAoH;AACpH,qKAAiK;AACjK,+IAA0I;AAC1I,mHAA+G;AAG/G;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,+BAA+B;IAE1C;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CAAC,MAEnB;QACC,qGAAqG;QACrG,0DAA2B,CAAC,WAAW,EAAE,CAAC,gBAAgB,EAAE,CAAC;QAC7D,8CAAqB,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,GAAS,EAAE,GAAE,CAAC,CAAC,CAAC;QAC1D,wCAAkB,CAAC,WAAW,EAAE,CAAC,UAAU,EAAE,CAAC,KAAK,CAAC,GAAS,EAAE,GAAE,CAAC,CAAC,CAAC;QACpE,sEAAgC,CAAC,WAAW,EAAE,CAAC,UAAU,EAAE,CAAC;QAE5D,oFAAoF;QACpF,0DAA2B,CAAC,WAAW,EAAE;aACtC,mBAAmB,CAAC;YACnB,MAAM,EAAE,4CAAsB,CAAC,WAAW,EAAE,CAAC,aAAa,EAAE;SAAE,CAAC;aAChE,KAAK,CAAC,GAAS,EAAE,GAAE,CAAC,CAAC,CAAC;QAEzB,uDAAuD;QACvD,wCAAkB,CAAC,WAAW,EAAE,CAAC,kBAAkB,EAAE,CAAC;QAEtD,6DAA6D;QAC7D,+EAA+E;QAC/E,8EAA8E;QAC9E,8EAA8E;QAC9E,kEAAkE;QAClE,4DAA4B,CAAC,WAAW,EAAE;aACvC,qBAAqB,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;QACjF,4DAA4B,CAAC,WAAW,EAAE,CAAC,aAAa,EAAE,CAAC;QAE3D,iEAAiE;QACjE,KAAK,iEAA8B,CAAC,WAAW,EAAE,CAAC,kBAAkB,EAAE,CAAC;QAEvE,8CAA8C;QAC9C,sCAAiB,CAAC,WAAW,EAAE,CAAC,0BAA0B,EAAE,CAAC;IAC/D,CAAC;CACF;AAzCD,0EAyCC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* REQ-UI-ERR-STATISTICS-001 Slice 1 (cycle 968) — range-kulcs → ms map.
|
|
3
|
+
* Az endpoint `?range=<key>` paramétere ezekből választhat; `'all'` esetén
|
|
4
|
+
* `null` (nincs time-filter).
|
|
5
|
+
*/
|
|
6
|
+
export declare const EH_ERROR_STATS_RANGE_MS_MAP: Record<string, number | null>;
|
|
7
|
+
/** Engedélyezett `range` paraméter-kulcsok az endpoint-on. */
|
|
8
|
+
export declare const EH_ERROR_STATS_ALLOWED_RANGES: string[];
|
|
9
|
+
/** Default range, ha nincs / hibás paraméter érkezik. */
|
|
10
|
+
export declare const EH_ERROR_STATS_DEFAULT_RANGE: string;
|
|
11
|
+
//# sourceMappingURL=error-handling-stats-range.const.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-handling-stats-range.const.d.ts","sourceRoot":"","sources":["../../../../../../../src/_modules/ccap-agent/_modules/error-handling/_collections/error-handling-stats-range.const.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAKrE,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,6BAA6B,EAAE,MAAM,EAA+B,CAAC;AAElF,yDAAyD;AACzD,eAAO,MAAM,4BAA4B,EAAE,MAAc,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EH_ERROR_STATS_DEFAULT_RANGE = exports.EH_ERROR_STATS_ALLOWED_RANGES = exports.EH_ERROR_STATS_RANGE_MS_MAP = void 0;
|
|
4
|
+
const fsm_dynamo_1 = require("@futdevpro/fsm-dynamo");
|
|
5
|
+
/**
|
|
6
|
+
* REQ-UI-ERR-STATISTICS-001 Slice 1 (cycle 968) — range-kulcs → ms map.
|
|
7
|
+
* Az endpoint `?range=<key>` paramétere ezekből választhat; `'all'` esetén
|
|
8
|
+
* `null` (nincs time-filter).
|
|
9
|
+
*/
|
|
10
|
+
exports.EH_ERROR_STATS_RANGE_MS_MAP = {
|
|
11
|
+
'1h': 1 * fsm_dynamo_1.hour,
|
|
12
|
+
'24h': 24 * fsm_dynamo_1.hour,
|
|
13
|
+
'7d': 7 * 24 * fsm_dynamo_1.hour,
|
|
14
|
+
'all': null,
|
|
15
|
+
};
|
|
16
|
+
/** Engedélyezett `range` paraméter-kulcsok az endpoint-on. */
|
|
17
|
+
exports.EH_ERROR_STATS_ALLOWED_RANGES = ['1h', '24h', '7d', 'all'];
|
|
18
|
+
/** Default range, ha nincs / hibás paraméter érkezik. */
|
|
19
|
+
exports.EH_ERROR_STATS_DEFAULT_RANGE = '24h';
|
|
20
|
+
//# sourceMappingURL=error-handling-stats-range.const.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-handling-stats-range.const.js","sourceRoot":"","sources":["../../../../../../../src/_modules/ccap-agent/_modules/error-handling/_collections/error-handling-stats-range.const.ts"],"names":[],"mappings":";;;AAAA,sDAA6C;AAE7C;;;;GAIG;AACU,QAAA,2BAA2B,GAAkC;IACxE,IAAI,EAAE,CAAC,GAAG,iBAAI;IACd,KAAK,EAAE,EAAE,GAAG,iBAAI;IAChB,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,iBAAI;IACnB,KAAK,EAAE,IAAI;CACZ,CAAC;AAEF,8DAA8D;AACjD,QAAA,6BAA6B,GAAa,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;AAElF,yDAAyD;AAC5C,QAAA,4BAA4B,GAAW,KAAK,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Mon_Errors } from '../../../monitoring/_models/data-models/mon-errors.data-model';
|
|
2
|
+
import { ErrorHandling_Stats_Interface, ErrorHandling_StatsTopByCount_Interface, ErrorHandling_StatsTopBySource_Interface, ErrorHandling_StatsTrendBucket_Interface } from '../../_models/interfaces/error-handling-stats.interface';
|
|
3
|
+
/**
|
|
4
|
+
* REQ-UI-ERR-STATISTICS-001 Slice 1 (cycle 968) — pure-static aggregation
|
|
5
|
+
* a Mon_Errors rekordokból az `ErrorHandling_Stats_Interface` output-hoz.
|
|
6
|
+
*
|
|
7
|
+
* In-memory aggregáció (a record-szám jelenleg max ~100, jól bír memóriában);
|
|
8
|
+
* Slice 1.5 / 2 átírható lesz Mongo `$bucket` aggregate pipeline-ra ha
|
|
9
|
+
* a record-szám nő.
|
|
10
|
+
*
|
|
11
|
+
* Pure-static, side-effect-mentes, jól-unit-testelhető.
|
|
12
|
+
*/
|
|
13
|
+
export declare class ErrorHandling_Stats_Util {
|
|
14
|
+
/** Top-N entries count. UI: 5 db a fő stats-panelen. */
|
|
15
|
+
static readonly TOP_N: number;
|
|
16
|
+
/**
|
|
17
|
+
* Trend bucket-méret auto-skálázás: range-ms-ből bucket-szélességet ad.
|
|
18
|
+
* Cél: ~24 bucket / range (UI x-tengely olvashatóság).
|
|
19
|
+
*/
|
|
20
|
+
static computeBucketSizeMs(rangeMs: number | null): number;
|
|
21
|
+
/**
|
|
22
|
+
* Aggregálja a Mon_Errors rekordokat `ErrorHandling_Stats_Interface` output-tá.
|
|
23
|
+
* `rangeMs === null` → all-time (nincs filter). `computedAtMs` a hívó
|
|
24
|
+
* `Date.now()`-jét adja át a reproducibility kedvéért.
|
|
25
|
+
*/
|
|
26
|
+
static aggregate(params: {
|
|
27
|
+
records: Mon_Errors[];
|
|
28
|
+
rangeMs: number | null;
|
|
29
|
+
computedAtMs: number;
|
|
30
|
+
}): ErrorHandling_Stats_Interface;
|
|
31
|
+
/**
|
|
32
|
+
* Rekord legutolsó észlelési időpontja ms-ben — `__lastModified` ha van,
|
|
33
|
+
* különben `__created`. Date / string / number toleráns.
|
|
34
|
+
*/
|
|
35
|
+
static lastSeenAtMs(record: Mon_Errors): number;
|
|
36
|
+
/** Errrorcode kinyerése — `error._errorCode` ha van; különben `null`. */
|
|
37
|
+
static extractErrorCode(record: Mon_Errors): string | null;
|
|
38
|
+
/**
|
|
39
|
+
* PM-mark check: `___pmMarkedAt` field-et keresünk a record-ban (a server
|
|
40
|
+
* `pmUserMark` endpoint ezt írja be cycle 718 óta).
|
|
41
|
+
*/
|
|
42
|
+
static isPmMarked(record: Mon_Errors): boolean;
|
|
43
|
+
/** Handled flag — DyFM_Errors `___handled` true. */
|
|
44
|
+
static isHandled(record: Mon_Errors): boolean;
|
|
45
|
+
/** Top-N errorCode szerint, count desc-rendezve. */
|
|
46
|
+
static computeTopByCount(records: Mon_Errors[]): ErrorHandling_StatsTopByCount_Interface[];
|
|
47
|
+
/**
|
|
48
|
+
* Top-N source szerint. A `source` mező az issuer-ből vagy errorCode-prefix-ből
|
|
49
|
+
* származik. Csoportosítás: ha van `issuer` használjuk, különben errorCode
|
|
50
|
+
* első `-`-ig vágott prefix-ét (pl. `CCAP-PEI-HB-WRITE-FAIL` → `CCAP-PEI`).
|
|
51
|
+
*/
|
|
52
|
+
static computeTopBySource(records: Mon_Errors[]): ErrorHandling_StatsTopBySource_Interface[];
|
|
53
|
+
/** Source kinyerése: issuer ha van; különben errorCode 2-szegmens-prefix-e. */
|
|
54
|
+
static extractSource(record: Mon_Errors): string;
|
|
55
|
+
/**
|
|
56
|
+
* Trend bucket-ek: range-ms és bucket-méret alapján fix-osztású időablakok,
|
|
57
|
+
* mindegyikbe a record `lastSeenAtMs` szerint kategorizálva.
|
|
58
|
+
*/
|
|
59
|
+
static computeTrendBuckets(params: {
|
|
60
|
+
records: Mon_Errors[];
|
|
61
|
+
rangeMs: number | null;
|
|
62
|
+
computedAtMs: number;
|
|
63
|
+
}): ErrorHandling_StatsTrendBucket_Interface[];
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=error-handling-stats.util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-handling-stats.util.d.ts","sourceRoot":"","sources":["../../../../../../../../src/_modules/ccap-agent/_modules/error-handling/_collections/utils/error-handling-stats.util.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,+DAA+D,CAAC;AAC3F,OAAO,EACL,6BAA6B,EAC7B,uCAAuC,EACvC,wCAAwC,EACxC,wCAAwC,EACzC,MAAM,yDAAyD,CAAC;AAEjE;;;;;;;;;GASG;AACH,qBAAa,wBAAwB;IAEnC,wDAAwD;IACxD,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAK;IAElC;;;OAGG;IACH,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM;IAgB1D;;;;OAIG;IACH,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE;QACvB,OAAO,EAAE,UAAU,EAAE,CAAC;QACtB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,YAAY,EAAE,MAAM,CAAC;KACtB,GAAG,6BAA6B;IA4CjC;;;OAGG;IACH,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM;IAc/C,yEAAyE;IACzE,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI;IAW1D;;;OAGG;IACH,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO;IAK9C,oDAAoD;IACpD,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO;IAK7C,oDAAoD;IACpD,MAAM,CAAC,iBAAiB,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,uCAAuC,EAAE;IA6B1F;;;;OAIG;IACH,MAAM,CAAC,kBAAkB,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,wCAAwC,EAAE;IAgB5F,+EAA+E;IAC/E,MAAM,CAAC,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM;IAgBhD;;;OAGG;IACH,MAAM,CAAC,mBAAmB,CAAC,MAAM,EAAE;QACjC,OAAO,EAAE,UAAU,EAAE,CAAC;QACtB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,YAAY,EAAE,MAAM,CAAC;KACtB,GAAG,wCAAwC,EAAE;CAsC/C"}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ErrorHandling_Stats_Util = void 0;
|
|
4
|
+
const fsm_dynamo_1 = require("@futdevpro/fsm-dynamo");
|
|
5
|
+
/**
|
|
6
|
+
* REQ-UI-ERR-STATISTICS-001 Slice 1 (cycle 968) — pure-static aggregation
|
|
7
|
+
* a Mon_Errors rekordokból az `ErrorHandling_Stats_Interface` output-hoz.
|
|
8
|
+
*
|
|
9
|
+
* In-memory aggregáció (a record-szám jelenleg max ~100, jól bír memóriában);
|
|
10
|
+
* Slice 1.5 / 2 átírható lesz Mongo `$bucket` aggregate pipeline-ra ha
|
|
11
|
+
* a record-szám nő.
|
|
12
|
+
*
|
|
13
|
+
* Pure-static, side-effect-mentes, jól-unit-testelhető.
|
|
14
|
+
*/
|
|
15
|
+
class ErrorHandling_Stats_Util {
|
|
16
|
+
/** Top-N entries count. UI: 5 db a fő stats-panelen. */
|
|
17
|
+
static TOP_N = 5;
|
|
18
|
+
/**
|
|
19
|
+
* Trend bucket-méret auto-skálázás: range-ms-ből bucket-szélességet ad.
|
|
20
|
+
* Cél: ~24 bucket / range (UI x-tengely olvashatóság).
|
|
21
|
+
*/
|
|
22
|
+
static computeBucketSizeMs(rangeMs) {
|
|
23
|
+
if (rangeMs === null) {
|
|
24
|
+
return 24 * fsm_dynamo_1.hour;
|
|
25
|
+
}
|
|
26
|
+
if (rangeMs <= 1 * fsm_dynamo_1.hour) {
|
|
27
|
+
return Math.floor(2.5 * fsm_dynamo_1.minute);
|
|
28
|
+
}
|
|
29
|
+
if (rangeMs <= 24 * fsm_dynamo_1.hour) {
|
|
30
|
+
return 1 * fsm_dynamo_1.hour;
|
|
31
|
+
}
|
|
32
|
+
if (rangeMs <= 7 * 24 * fsm_dynamo_1.hour) {
|
|
33
|
+
return 6 * fsm_dynamo_1.hour;
|
|
34
|
+
}
|
|
35
|
+
return 24 * fsm_dynamo_1.hour;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Aggregálja a Mon_Errors rekordokat `ErrorHandling_Stats_Interface` output-tá.
|
|
39
|
+
* `rangeMs === null` → all-time (nincs filter). `computedAtMs` a hívó
|
|
40
|
+
* `Date.now()`-jét adja át a reproducibility kedvéért.
|
|
41
|
+
*/
|
|
42
|
+
static aggregate(params) {
|
|
43
|
+
const sinceMs = params.rangeMs === null
|
|
44
|
+
? 0
|
|
45
|
+
: params.computedAtMs - params.rangeMs;
|
|
46
|
+
const filtered = params.records.filter((r) => ErrorHandling_Stats_Util.lastSeenAtMs(r) >= sinceMs);
|
|
47
|
+
const total = filtered.reduce((sum, r) => sum + (r.count ?? 1), 0);
|
|
48
|
+
const uniqueSignatures = filtered.length;
|
|
49
|
+
const pmMarked = filtered.filter((r) => ErrorHandling_Stats_Util.isPmMarked(r)).length;
|
|
50
|
+
const handled = filtered.filter((r) => ErrorHandling_Stats_Util.isHandled(r)).length;
|
|
51
|
+
const topByCount = ErrorHandling_Stats_Util.computeTopByCount(filtered);
|
|
52
|
+
const topBySource = ErrorHandling_Stats_Util.computeTopBySource(filtered);
|
|
53
|
+
const trendBuckets = ErrorHandling_Stats_Util.computeTrendBuckets({
|
|
54
|
+
records: filtered,
|
|
55
|
+
rangeMs: params.rangeMs,
|
|
56
|
+
computedAtMs: params.computedAtMs,
|
|
57
|
+
});
|
|
58
|
+
return {
|
|
59
|
+
rangeMs: params.rangeMs,
|
|
60
|
+
computedAtMs: params.computedAtMs,
|
|
61
|
+
total: total,
|
|
62
|
+
uniqueSignatures: uniqueSignatures,
|
|
63
|
+
pmMarked: pmMarked,
|
|
64
|
+
handled: handled,
|
|
65
|
+
topByCount: topByCount,
|
|
66
|
+
topBySource: topBySource,
|
|
67
|
+
trendBuckets: trendBuckets,
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Rekord legutolsó észlelési időpontja ms-ben — `__lastModified` ha van,
|
|
72
|
+
* különben `__created`. Date / string / number toleráns.
|
|
73
|
+
*/
|
|
74
|
+
static lastSeenAtMs(record) {
|
|
75
|
+
const lastMod = record.__lastModified;
|
|
76
|
+
const created = record.__created;
|
|
77
|
+
const candidate = lastMod ?? created;
|
|
78
|
+
if (candidate == null) {
|
|
79
|
+
return 0;
|
|
80
|
+
}
|
|
81
|
+
if (candidate instanceof Date) {
|
|
82
|
+
return candidate.getTime();
|
|
83
|
+
}
|
|
84
|
+
const parsed = new Date(candidate).getTime();
|
|
85
|
+
return Number.isFinite(parsed) ? parsed : 0;
|
|
86
|
+
}
|
|
87
|
+
/** Errrorcode kinyerése — `error._errorCode` ha van; különben `null`. */
|
|
88
|
+
static extractErrorCode(record) {
|
|
89
|
+
const err = record.error;
|
|
90
|
+
if (err != null && typeof err === 'object') {
|
|
91
|
+
const code = err._errorCode;
|
|
92
|
+
if (typeof code === 'string' && code.length > 0) {
|
|
93
|
+
return code;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return null;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* PM-mark check: `___pmMarkedAt` field-et keresünk a record-ban (a server
|
|
100
|
+
* `pmUserMark` endpoint ezt írja be cycle 718 óta).
|
|
101
|
+
*/
|
|
102
|
+
static isPmMarked(record) {
|
|
103
|
+
const marked = record.___pmMarkedAt;
|
|
104
|
+
return marked != null;
|
|
105
|
+
}
|
|
106
|
+
/** Handled flag — DyFM_Errors `___handled` true. */
|
|
107
|
+
static isHandled(record) {
|
|
108
|
+
const flag = record.___handled;
|
|
109
|
+
return flag === true;
|
|
110
|
+
}
|
|
111
|
+
/** Top-N errorCode szerint, count desc-rendezve. */
|
|
112
|
+
static computeTopByCount(records) {
|
|
113
|
+
const byCode = new Map();
|
|
114
|
+
for (const r of records) {
|
|
115
|
+
const code = ErrorHandling_Stats_Util.extractErrorCode(r);
|
|
116
|
+
const key = code ?? '__no-code__';
|
|
117
|
+
const cnt = r.count ?? 1;
|
|
118
|
+
const lastMs = ErrorHandling_Stats_Util.lastSeenAtMs(r);
|
|
119
|
+
const msg = (r.message ?? '').slice(0, 200);
|
|
120
|
+
const existing = byCode.get(key);
|
|
121
|
+
if (existing === undefined) {
|
|
122
|
+
byCode.set(key, {
|
|
123
|
+
errorCode: code,
|
|
124
|
+
message: msg,
|
|
125
|
+
count: cnt,
|
|
126
|
+
lastSeenAtMs: lastMs,
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
existing.count += cnt;
|
|
131
|
+
if (lastMs > existing.lastSeenAtMs) {
|
|
132
|
+
existing.lastSeenAtMs = lastMs;
|
|
133
|
+
existing.message = msg;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
const list = Array.from(byCode.values());
|
|
138
|
+
list.sort((a, b) => b.count - a.count);
|
|
139
|
+
return list.slice(0, ErrorHandling_Stats_Util.TOP_N);
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Top-N source szerint. A `source` mező az issuer-ből vagy errorCode-prefix-ből
|
|
143
|
+
* származik. Csoportosítás: ha van `issuer` használjuk, különben errorCode
|
|
144
|
+
* első `-`-ig vágott prefix-ét (pl. `CCAP-PEI-HB-WRITE-FAIL` → `CCAP-PEI`).
|
|
145
|
+
*/
|
|
146
|
+
static computeTopBySource(records) {
|
|
147
|
+
const bySrc = new Map();
|
|
148
|
+
for (const r of records) {
|
|
149
|
+
const src = ErrorHandling_Stats_Util.extractSource(r);
|
|
150
|
+
const cnt = r.count ?? 1;
|
|
151
|
+
bySrc.set(src, (bySrc.get(src) ?? 0) + cnt);
|
|
152
|
+
}
|
|
153
|
+
const list = Array.from(bySrc.entries())
|
|
154
|
+
.map(([source, count]) => ({
|
|
155
|
+
source: source,
|
|
156
|
+
count: count,
|
|
157
|
+
}));
|
|
158
|
+
list.sort((a, b) => b.count - a.count);
|
|
159
|
+
return list.slice(0, ErrorHandling_Stats_Util.TOP_N);
|
|
160
|
+
}
|
|
161
|
+
/** Source kinyerése: issuer ha van; különben errorCode 2-szegmens-prefix-e. */
|
|
162
|
+
static extractSource(record) {
|
|
163
|
+
const issuer = record.issuer;
|
|
164
|
+
if (typeof issuer === 'string' && issuer.length > 0 && issuer !== 'MISSING-ISSUER' && issuer !== 'MISSING-ISSUER-SERVICE') {
|
|
165
|
+
return issuer;
|
|
166
|
+
}
|
|
167
|
+
const code = ErrorHandling_Stats_Util.extractErrorCode(record);
|
|
168
|
+
if (code !== null) {
|
|
169
|
+
const parts = code.split('-');
|
|
170
|
+
if (parts.length >= 2) {
|
|
171
|
+
return `${parts[0]}-${parts[1]}`;
|
|
172
|
+
}
|
|
173
|
+
return code;
|
|
174
|
+
}
|
|
175
|
+
return 'unknown';
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Trend bucket-ek: range-ms és bucket-méret alapján fix-osztású időablakok,
|
|
179
|
+
* mindegyikbe a record `lastSeenAtMs` szerint kategorizálva.
|
|
180
|
+
*/
|
|
181
|
+
static computeTrendBuckets(params) {
|
|
182
|
+
const bucketMs = ErrorHandling_Stats_Util.computeBucketSizeMs(params.rangeMs);
|
|
183
|
+
if (params.records.length === 0) {
|
|
184
|
+
return [];
|
|
185
|
+
}
|
|
186
|
+
let earliestMs = params.computedAtMs;
|
|
187
|
+
if (params.rangeMs !== null) {
|
|
188
|
+
earliestMs = params.computedAtMs - params.rangeMs;
|
|
189
|
+
}
|
|
190
|
+
else {
|
|
191
|
+
for (const r of params.records) {
|
|
192
|
+
const ms = ErrorHandling_Stats_Util.lastSeenAtMs(r);
|
|
193
|
+
if (ms > 0 && ms < earliestMs) {
|
|
194
|
+
earliestMs = ms;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
const alignedStart = Math.floor(earliestMs / bucketMs) * bucketMs;
|
|
199
|
+
const buckets = new Map();
|
|
200
|
+
for (let ts = alignedStart; ts < params.computedAtMs; ts += bucketMs) {
|
|
201
|
+
buckets.set(ts, 0);
|
|
202
|
+
}
|
|
203
|
+
for (const r of params.records) {
|
|
204
|
+
const ms = ErrorHandling_Stats_Util.lastSeenAtMs(r);
|
|
205
|
+
if (ms < alignedStart || ms > params.computedAtMs) {
|
|
206
|
+
continue;
|
|
207
|
+
}
|
|
208
|
+
const bucketStart = Math.floor(ms / bucketMs) * bucketMs;
|
|
209
|
+
buckets.set(bucketStart, (buckets.get(bucketStart) ?? 0) + (r.count ?? 1));
|
|
210
|
+
}
|
|
211
|
+
const result = Array.from(buckets.entries())
|
|
212
|
+
.map(([startMs, count]) => ({
|
|
213
|
+
bucketStartMs: startMs,
|
|
214
|
+
bucketEndMs: startMs + bucketMs,
|
|
215
|
+
count: count,
|
|
216
|
+
}));
|
|
217
|
+
result.sort((a, b) => a.bucketStartMs - b.bucketStartMs);
|
|
218
|
+
return result;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
exports.ErrorHandling_Stats_Util = ErrorHandling_Stats_Util;
|
|
222
|
+
//# sourceMappingURL=error-handling-stats.util.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-handling-stats.util.js","sourceRoot":"","sources":["../../../../../../../../src/_modules/ccap-agent/_modules/error-handling/_collections/utils/error-handling-stats.util.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* REQ-UI-ERR-STATISTICS-001 Slice 1 (cycle 968) — ErrorHandling_Stats_Util unit-spec.
|
|
3
|
+
* Edge-case-ek: üres lista, single-error, multi-bucket trend, top-N limit,
|
|
4
|
+
* source-csoportosítás (issuer vs errorCode-prefix), PM-mark / handled count.
|
|
5
|
+
*/
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=error-handling-stats.util.spec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-handling-stats.util.spec.d.ts","sourceRoot":"","sources":["../../../../../../../../src/_modules/ccap-agent/_modules/error-handling/_collections/utils/error-handling-stats.util.spec.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|