@futdevpro/ccap 1.1.3545 → 1.1.3557
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/build/_collections/npm-global/npm-global-paths.interface.d.ts +28 -0
- package/cli/build/_collections/npm-global/npm-global-paths.interface.d.ts.map +1 -0
- package/cli/build/_collections/npm-global/npm-global-paths.interface.js +3 -0
- package/cli/build/_collections/npm-global/npm-global-paths.interface.js.map +1 -0
- package/cli/build/_collections/npm-global/npm-global-paths.util.d.ts +30 -0
- package/cli/build/_collections/npm-global/npm-global-paths.util.d.ts.map +1 -0
- package/cli/build/_collections/npm-global/npm-global-paths.util.js +124 -0
- package/cli/build/_collections/npm-global/npm-global-paths.util.js.map +1 -0
- package/cli/build/_collections/npm-global/npm-global-paths.util.spec.d.ts +8 -0
- package/cli/build/_collections/npm-global/npm-global-paths.util.spec.d.ts.map +1 -0
- package/cli/build/_collections/npm-global/npm-global-paths.util.spec.js +107 -0
- package/cli/build/_collections/npm-global/npm-global-paths.util.spec.js.map +1 -0
- package/cli/build/_collections/staging/staging-cleanup.util.d.ts +5 -2
- package/cli/build/_collections/staging/staging-cleanup.util.d.ts.map +1 -1
- package/cli/build/_collections/staging/staging-cleanup.util.js +10 -18
- package/cli/build/_collections/staging/staging-cleanup.util.js.map +1 -1
- package/cli/build/_collections/update/update-verify-install.util.d.ts +13 -17
- package/cli/build/_collections/update/update-verify-install.util.d.ts.map +1 -1
- package/cli/build/_collections/update/update-verify-install.util.js +55 -83
- package/cli/build/_collections/update/update-verify-install.util.js.map +1 -1
- package/cli/build/_collections/update/update-verify-install.util.spec.d.ts +3 -0
- package/cli/build/_collections/update/update-verify-install.util.spec.d.ts.map +1 -1
- package/cli/build/_collections/update/update-verify-install.util.spec.js +82 -22
- package/cli/build/_collections/update/update-verify-install.util.spec.js.map +1 -1
- package/cli/build/_collections/update/update-version-check.util.d.ts +6 -4
- package/cli/build/_collections/update/update-version-check.util.d.ts.map +1 -1
- package/cli/build/_collections/update/update-version-check.util.js +10 -20
- package/cli/build/_collections/update/update-version-check.util.js.map +1 -1
- package/client-dist/{agent-instances.module-M37UL5ZS.js → agent-instances.module-NDNG4HC6.js} +2 -2
- package/client-dist/{ca.module-LQG6N5PN.js → ca.module-Y5FJIVDH.js} +2 -2
- package/client-dist/{cc-usage-dashboard.component-26DXWVRC.js → cc-usage-dashboard.component-DAJMNYQD.js} +2 -2
- package/client-dist/{cc.module-UPRIKRHQ.js → cc.module-IHZXPJ3G.js} +2 -2
- package/client-dist/{chunk-PGUTP7BT.js → chunk-2EGN5OIA.js} +2 -2
- package/client-dist/{chunk-2QXYE2FN.js → chunk-2P5XNKSU.js} +2 -2
- package/client-dist/{chunk-IJFDZQDF.js → chunk-2XSAWMFD.js} +2 -2
- package/client-dist/{chunk-ORKQJA72.js → chunk-3EQBM3NI.js} +2 -2
- package/client-dist/chunk-3KUKN53F.js +73 -0
- package/client-dist/chunk-3KUKN53F.js.map +1 -0
- package/client-dist/{chunk-INFA5WNP.js → chunk-3NI6EUGP.js} +2 -2
- package/client-dist/{chunk-BR3NTMK5.js → chunk-5F77NGYL.js} +2 -2
- package/client-dist/{chunk-JVMAUZVZ.js → chunk-5UV722GH.js} +2 -2
- package/client-dist/{chunk-K7HRLFLM.js → chunk-65R5RLWC.js} +2 -2
- package/client-dist/{chunk-OL6YRR73.js → chunk-73EAXEDI.js} +2 -2
- package/client-dist/{chunk-BOKJPFNS.js → chunk-7XUJIV75.js} +2 -2
- package/client-dist/{chunk-XWHBNOEF.js → chunk-ALKI4J2W.js} +2 -2
- package/client-dist/{chunk-IAZNXEV5.js → chunk-C7746ZDD.js} +2 -2
- package/client-dist/{chunk-H3QG3XIB.js → chunk-CEXJQIOB.js} +2 -2
- package/client-dist/{chunk-5SRB4WVQ.js → chunk-CVIA6GIV.js} +2 -2
- package/client-dist/{chunk-OVKQVCOI.js → chunk-CVSG4HQU.js} +2 -2
- package/client-dist/{chunk-QXZTZC7X.js → chunk-D4C3OD6J.js} +2 -2
- package/client-dist/{chunk-QNOKNRNK.js → chunk-EAFI4YMD.js} +2 -2
- package/client-dist/{chunk-JH7JGPFQ.js → chunk-EGAUOFDI.js} +2 -2
- package/client-dist/{chunk-PZQA4FCL.js → chunk-EHT2HQDT.js} +2 -2
- package/client-dist/{chunk-G6TB4WUF.js → chunk-ER7KIQXW.js} +2 -2
- package/client-dist/{chunk-EFN7DGQP.js → chunk-EZ2OC4CA.js} +2 -2
- package/client-dist/{chunk-RY33S66J.js → chunk-F3NE5SNS.js} +2 -2
- package/client-dist/{chunk-ZKLQIMQZ.js → chunk-FCYMPE2S.js} +2 -2
- package/client-dist/{chunk-KHPHT7M2.js → chunk-FHGZ3DH7.js} +2 -2
- package/client-dist/{chunk-NGKAIBKH.js → chunk-FHOK7MOR.js} +2 -2
- package/client-dist/{chunk-5AVCLDUF.js → chunk-GLY7XIEO.js} +2 -2
- package/client-dist/{chunk-5AVCLDUF.js.map → chunk-GLY7XIEO.js.map} +1 -1
- package/client-dist/{chunk-VCKPIPJZ.js → chunk-GWT4NLC6.js} +2 -2
- package/client-dist/{chunk-DEUH7G5Q.js → chunk-HBDXPQIC.js} +2 -2
- package/client-dist/{chunk-F45D4UGB.js → chunk-HIRPZSS5.js} +2 -2
- package/client-dist/{chunk-YHYAAVDM.js → chunk-HO6SWXO3.js} +2 -2
- package/client-dist/{chunk-ZOJX6LQ2.js → chunk-I5DLHGUT.js} +2 -2
- package/client-dist/{chunk-KNMJ3JEH.js → chunk-IB5B5H24.js} +2 -2
- package/client-dist/{chunk-LRNXI5PI.js → chunk-IMILT6U5.js} +2 -2
- package/client-dist/{chunk-XN7YOYCH.js → chunk-IN2UAFFX.js} +2 -2
- package/client-dist/{chunk-BYE5D2MY.js → chunk-IRITCLVX.js} +2 -2
- package/client-dist/{chunk-YOYVBN2F.js → chunk-J66SGQQK.js} +2 -2
- package/client-dist/{chunk-PBFFGCZP.js → chunk-KRSUKF3L.js} +2 -2
- package/client-dist/{chunk-BQI6NBXW.js → chunk-MN6YUX6R.js} +2 -2
- package/client-dist/{chunk-DN67NEP3.js → chunk-O2QGLI7P.js} +2 -2
- package/client-dist/{chunk-OFWL36K2.js → chunk-ODQXZPME.js} +2 -2
- package/client-dist/{chunk-GV2Y7K5T.js → chunk-PB5GJJMR.js} +2 -2
- package/client-dist/{chunk-QFI5KDQS.js → chunk-QBRVPAZB.js} +2 -2
- package/client-dist/{chunk-Y7WEET42.js → chunk-QZVMUDW7.js} +2 -2
- package/client-dist/{chunk-UIZMS7RF.js → chunk-R77S4JY5.js} +2 -2
- package/client-dist/{chunk-ZYNLISTI.js → chunk-RNENIOVE.js} +2 -2
- package/client-dist/{chunk-PMMQZ476.js → chunk-TGBNDSOS.js} +2 -2
- package/client-dist/{chunk-U7KCQYK3.js → chunk-UUJ5VF4E.js} +2 -2
- package/client-dist/{chunk-IPJWDV7N.js → chunk-UV7YDW6X.js} +2 -2
- package/client-dist/{chunk-LLMVHG5S.js → chunk-UXTS2HWD.js} +2 -2
- package/client-dist/{chunk-VHAC2WS6.js → chunk-VSY6ABSB.js} +2 -2
- package/client-dist/{chunk-C527FWS7.js → chunk-WB44FME2.js} +2 -2
- package/client-dist/{chunk-QEMMWIWJ.js → chunk-WHJDIPTM.js} +2 -2
- package/client-dist/{chunk-A747EWKG.js → chunk-YBKSPRVS.js} +2 -2
- package/client-dist/{chunk-N7CMLQRV.js → chunk-YD7R724R.js} +2 -2
- package/client-dist/{chunk-UHFX32HG.js → chunk-YD7T74SA.js} +2 -2
- package/client-dist/{chunk-NL6KS2PG.js → chunk-YTJ626F2.js} +2 -2
- package/client-dist/{consultant.module-5O4QS6MV.js → consultant.module-OCAX7KQT.js} +2 -2
- package/client-dist/{crd.module-JDDURK3D.js → crd.module-LO6GCSNU.js} +2 -2
- package/client-dist/{dashboard.module-CPX4AHDB.js → dashboard.module-SPGBUCMD.js} +2 -2
- package/client-dist/{do.module-GPVMSSUT.js → do.module-KALYZEB6.js} +2 -2
- package/client-dist/{document-library.module-FC5QOT5U.js → document-library.module-HX5BXVZ2.js} +2 -2
- package/client-dist/{embedding-eval.module-4E3DEQE2.js → embedding-eval.module-BZ7QMCT5.js} +2 -2
- package/client-dist/{embedding-registry.module-EVJW6GDG.js → embedding-registry.module-4KH7QGE5.js} +2 -2
- package/client-dist/{err.module-QCEQ4XHL.js → err.module-M4E27OWR.js} +2 -2
- package/client-dist/{feedback.module-7OY7EZAS.js → feedback.module-E7FYACM4.js} +2 -2
- package/client-dist/{host-runtime-mcp.module-WCA4GRIQ.js → host-runtime-mcp.module-AV3EO5I3.js} +2 -2
- package/client-dist/index.html +1 -1
- package/client-dist/{live-dev-pipeline.module-CWOXURFE.js → live-dev-pipeline.module-EAH5255G.js} +2 -2
- package/client-dist/{logs.module-LZA7HKW2.js → logs.module-KONMW55W.js} +2 -2
- package/client-dist/main-4IV3NJMV.js +7 -0
- package/client-dist/main-4IV3NJMV.js.map +7 -0
- package/client-dist/{master-control-remote-poc.module-ZXTIM7U2.js → master-control-remote-poc.module-3KAKM6EL.js} +2 -2
- package/client-dist/{mobile-app.module-GYANFQRM.js → mobile-app.module-C7IMUTOE.js} +2 -2
- package/client-dist/{model-registry.module-GFN6PSBG.js → model-registry.module-A35YFVEE.js} +2 -2
- package/client-dist/{oc.module-FLPI4WQK.js → oc.module-XT7VDCSU.js} +2 -2
- package/client-dist/{orc.module-GF3YPUTO.js → orc.module-4YGRTRV6.js} +2 -2
- package/client-dist/{project-management.module-JCP3QYMC.js → project-management.module-LI3L4WCD.js} +2 -2
- package/client-dist/project-source-routed.module-CJB4YJND.js +2 -0
- package/client-dist/{scheduler.module-SRO6H5K6.js → scheduler.module-HEG5JCVO.js} +2 -2
- package/client-dist/{session.module-VQ7PBBDQ.js → session.module-DEIGFE2V.js} +2 -2
- package/client-dist/{set.module-P76APIOK.js → set.module-DSD6PIYI.js} +2 -2
- package/client-dist/{setup.module-VTMU43WO.js → setup.module-WDIRWV32.js} +2 -2
- package/client-dist/{terminals.module-AAU3GPWE.js → terminals.module-4KEH5NED.js} +2 -2
- package/client-dist/{voice-notes-poc.module-IGR2R6XD.js → voice-notes-poc.module-UWGARHN5.js} +2 -2
- package/client-dist/{wfs.module-J34NQGDG.js → wfs.module-XAEMCUIF.js} +2 -2
- package/package.json +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/elevenlabs-tts.util.d.ts.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/elevenlabs-tts.util.js +17 -0
- package/server/build/src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/elevenlabs-tts.util.js.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/code-search/_collections/consts/code-search-tool-schema.const.d.ts.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/code-search/_collections/consts/code-search-tool-schema.const.js +3 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/code-search/_collections/consts/code-search-tool-schema.const.js.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/environment-readiness/_collections/consts/environment-readiness-tool-definition.const.d.ts.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/environment-readiness/_collections/consts/environment-readiness-tool-definition.const.js +3 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/environment-readiness/_collections/consts/environment-readiness-tool-definition.const.js.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/exec/_collections/consts/exec-tool-usage-rules.const.d.ts.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/exec/_collections/consts/exec-tool-usage-rules.const.js +5 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/exec/_collections/consts/exec-tool-usage-rules.const.js.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-explore/_collections/consts/ffe-explore-tool-usage-rules.const.d.ts.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-explore/_collections/consts/ffe-explore-tool-usage-rules.const.js +6 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-explore/_collections/consts/ffe-explore-tool-usage-rules.const.js.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-handling/_collections/consts/fh-handling-tool-usage-rules.const.d.ts.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-handling/_collections/consts/fh-handling-tool-usage-rules.const.js +6 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-handling/_collections/consts/fh-handling-tool-usage-rules.const.js.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-search/_collections/consts/fs-search-tool-usage-rules.const.d.ts.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-search/_collections/consts/fs-search-tool-usage-rules.const.js +6 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-search/_collections/consts/fs-search-tool-usage-rules.const.js.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/received-files/_collections/consts/save-received-files-tool-definition.const.d.ts.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/received-files/_collections/consts/save-received-files-tool-definition.const.js +3 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/received-files/_collections/consts/save-received-files-tool-definition.const.js.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/self/_collections/consts/self-tool-definition.const.d.ts.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/self/_collections/consts/self-tool-definition.const.js +14 -12
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/self/_collections/consts/self-tool-definition.const.js.map +1 -1
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/self/_collections/consts/self-tool-definition.const.spec.js +19 -15
- package/server/build/src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/self/_collections/consts/self-tool-definition.const.spec.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/ext-message/_collections/utils/cc-assembly.util.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/ext-message/_collections/utils/cc-assembly.util.js +20 -1
- package/server/build/src/_modules/external-sessions/_modules/ext-message/_collections/utils/cc-assembly.util.js.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/ext-message/_collections/utils/cc-assembly.util.spec.js +89 -0
- package/server/build/src/_modules/external-sessions/_modules/ext-message/_collections/utils/cc-assembly.util.spec.js.map +1 -1
- package/client-dist/chunk-SMSOT7W7.js +0 -73
- package/client-dist/chunk-SMSOT7W7.js.map +0 -1
- package/client-dist/main-7TNGY6HW.js +0 -7
- package/client-dist/main-7TNGY6HW.js.map +0 -7
- package/client-dist/project-source-routed.module-H7SKWQ5J.js +0 -2
- /package/client-dist/{agent-instances.module-M37UL5ZS.js.map → agent-instances.module-NDNG4HC6.js.map} +0 -0
- /package/client-dist/{ca.module-LQG6N5PN.js.map → ca.module-Y5FJIVDH.js.map} +0 -0
- /package/client-dist/{cc-usage-dashboard.component-26DXWVRC.js.map → cc-usage-dashboard.component-DAJMNYQD.js.map} +0 -0
- /package/client-dist/{cc.module-UPRIKRHQ.js.map → cc.module-IHZXPJ3G.js.map} +0 -0
- /package/client-dist/{chunk-PGUTP7BT.js.map → chunk-2EGN5OIA.js.map} +0 -0
- /package/client-dist/{chunk-2QXYE2FN.js.map → chunk-2P5XNKSU.js.map} +0 -0
- /package/client-dist/{chunk-IJFDZQDF.js.map → chunk-2XSAWMFD.js.map} +0 -0
- /package/client-dist/{chunk-ORKQJA72.js.map → chunk-3EQBM3NI.js.map} +0 -0
- /package/client-dist/{chunk-INFA5WNP.js.map → chunk-3NI6EUGP.js.map} +0 -0
- /package/client-dist/{chunk-BR3NTMK5.js.map → chunk-5F77NGYL.js.map} +0 -0
- /package/client-dist/{chunk-JVMAUZVZ.js.map → chunk-5UV722GH.js.map} +0 -0
- /package/client-dist/{chunk-K7HRLFLM.js.map → chunk-65R5RLWC.js.map} +0 -0
- /package/client-dist/{chunk-OL6YRR73.js.map → chunk-73EAXEDI.js.map} +0 -0
- /package/client-dist/{chunk-BOKJPFNS.js.map → chunk-7XUJIV75.js.map} +0 -0
- /package/client-dist/{chunk-XWHBNOEF.js.map → chunk-ALKI4J2W.js.map} +0 -0
- /package/client-dist/{chunk-IAZNXEV5.js.map → chunk-C7746ZDD.js.map} +0 -0
- /package/client-dist/{chunk-H3QG3XIB.js.map → chunk-CEXJQIOB.js.map} +0 -0
- /package/client-dist/{chunk-5SRB4WVQ.js.map → chunk-CVIA6GIV.js.map} +0 -0
- /package/client-dist/{chunk-OVKQVCOI.js.map → chunk-CVSG4HQU.js.map} +0 -0
- /package/client-dist/{chunk-QXZTZC7X.js.map → chunk-D4C3OD6J.js.map} +0 -0
- /package/client-dist/{chunk-QNOKNRNK.js.map → chunk-EAFI4YMD.js.map} +0 -0
- /package/client-dist/{chunk-JH7JGPFQ.js.map → chunk-EGAUOFDI.js.map} +0 -0
- /package/client-dist/{chunk-PZQA4FCL.js.map → chunk-EHT2HQDT.js.map} +0 -0
- /package/client-dist/{chunk-G6TB4WUF.js.map → chunk-ER7KIQXW.js.map} +0 -0
- /package/client-dist/{chunk-EFN7DGQP.js.map → chunk-EZ2OC4CA.js.map} +0 -0
- /package/client-dist/{chunk-RY33S66J.js.map → chunk-F3NE5SNS.js.map} +0 -0
- /package/client-dist/{chunk-ZKLQIMQZ.js.map → chunk-FCYMPE2S.js.map} +0 -0
- /package/client-dist/{chunk-KHPHT7M2.js.map → chunk-FHGZ3DH7.js.map} +0 -0
- /package/client-dist/{chunk-NGKAIBKH.js.map → chunk-FHOK7MOR.js.map} +0 -0
- /package/client-dist/{chunk-VCKPIPJZ.js.map → chunk-GWT4NLC6.js.map} +0 -0
- /package/client-dist/{chunk-DEUH7G5Q.js.map → chunk-HBDXPQIC.js.map} +0 -0
- /package/client-dist/{chunk-F45D4UGB.js.map → chunk-HIRPZSS5.js.map} +0 -0
- /package/client-dist/{chunk-YHYAAVDM.js.map → chunk-HO6SWXO3.js.map} +0 -0
- /package/client-dist/{chunk-ZOJX6LQ2.js.map → chunk-I5DLHGUT.js.map} +0 -0
- /package/client-dist/{chunk-KNMJ3JEH.js.map → chunk-IB5B5H24.js.map} +0 -0
- /package/client-dist/{chunk-LRNXI5PI.js.map → chunk-IMILT6U5.js.map} +0 -0
- /package/client-dist/{chunk-XN7YOYCH.js.map → chunk-IN2UAFFX.js.map} +0 -0
- /package/client-dist/{chunk-BYE5D2MY.js.map → chunk-IRITCLVX.js.map} +0 -0
- /package/client-dist/{chunk-YOYVBN2F.js.map → chunk-J66SGQQK.js.map} +0 -0
- /package/client-dist/{chunk-PBFFGCZP.js.map → chunk-KRSUKF3L.js.map} +0 -0
- /package/client-dist/{chunk-BQI6NBXW.js.map → chunk-MN6YUX6R.js.map} +0 -0
- /package/client-dist/{chunk-DN67NEP3.js.map → chunk-O2QGLI7P.js.map} +0 -0
- /package/client-dist/{chunk-OFWL36K2.js.map → chunk-ODQXZPME.js.map} +0 -0
- /package/client-dist/{chunk-GV2Y7K5T.js.map → chunk-PB5GJJMR.js.map} +0 -0
- /package/client-dist/{chunk-QFI5KDQS.js.map → chunk-QBRVPAZB.js.map} +0 -0
- /package/client-dist/{chunk-Y7WEET42.js.map → chunk-QZVMUDW7.js.map} +0 -0
- /package/client-dist/{chunk-UIZMS7RF.js.map → chunk-R77S4JY5.js.map} +0 -0
- /package/client-dist/{chunk-ZYNLISTI.js.map → chunk-RNENIOVE.js.map} +0 -0
- /package/client-dist/{chunk-PMMQZ476.js.map → chunk-TGBNDSOS.js.map} +0 -0
- /package/client-dist/{chunk-U7KCQYK3.js.map → chunk-UUJ5VF4E.js.map} +0 -0
- /package/client-dist/{chunk-IPJWDV7N.js.map → chunk-UV7YDW6X.js.map} +0 -0
- /package/client-dist/{chunk-LLMVHG5S.js.map → chunk-UXTS2HWD.js.map} +0 -0
- /package/client-dist/{chunk-VHAC2WS6.js.map → chunk-VSY6ABSB.js.map} +0 -0
- /package/client-dist/{chunk-C527FWS7.js.map → chunk-WB44FME2.js.map} +0 -0
- /package/client-dist/{chunk-QEMMWIWJ.js.map → chunk-WHJDIPTM.js.map} +0 -0
- /package/client-dist/{chunk-A747EWKG.js.map → chunk-YBKSPRVS.js.map} +0 -0
- /package/client-dist/{chunk-N7CMLQRV.js.map → chunk-YD7R724R.js.map} +0 -0
- /package/client-dist/{chunk-UHFX32HG.js.map → chunk-YD7T74SA.js.map} +0 -0
- /package/client-dist/{chunk-NL6KS2PG.js.map → chunk-YTJ626F2.js.map} +0 -0
- /package/client-dist/{consultant.module-5O4QS6MV.js.map → consultant.module-OCAX7KQT.js.map} +0 -0
- /package/client-dist/{crd.module-JDDURK3D.js.map → crd.module-LO6GCSNU.js.map} +0 -0
- /package/client-dist/{dashboard.module-CPX4AHDB.js.map → dashboard.module-SPGBUCMD.js.map} +0 -0
- /package/client-dist/{do.module-GPVMSSUT.js.map → do.module-KALYZEB6.js.map} +0 -0
- /package/client-dist/{document-library.module-FC5QOT5U.js.map → document-library.module-HX5BXVZ2.js.map} +0 -0
- /package/client-dist/{embedding-eval.module-4E3DEQE2.js.map → embedding-eval.module-BZ7QMCT5.js.map} +0 -0
- /package/client-dist/{embedding-registry.module-EVJW6GDG.js.map → embedding-registry.module-4KH7QGE5.js.map} +0 -0
- /package/client-dist/{err.module-QCEQ4XHL.js.map → err.module-M4E27OWR.js.map} +0 -0
- /package/client-dist/{feedback.module-7OY7EZAS.js.map → feedback.module-E7FYACM4.js.map} +0 -0
- /package/client-dist/{host-runtime-mcp.module-WCA4GRIQ.js.map → host-runtime-mcp.module-AV3EO5I3.js.map} +0 -0
- /package/client-dist/{live-dev-pipeline.module-CWOXURFE.js.map → live-dev-pipeline.module-EAH5255G.js.map} +0 -0
- /package/client-dist/{logs.module-LZA7HKW2.js.map → logs.module-KONMW55W.js.map} +0 -0
- /package/client-dist/{master-control-remote-poc.module-ZXTIM7U2.js.map → master-control-remote-poc.module-3KAKM6EL.js.map} +0 -0
- /package/client-dist/{mobile-app.module-GYANFQRM.js.map → mobile-app.module-C7IMUTOE.js.map} +0 -0
- /package/client-dist/{model-registry.module-GFN6PSBG.js.map → model-registry.module-A35YFVEE.js.map} +0 -0
- /package/client-dist/{oc.module-FLPI4WQK.js.map → oc.module-XT7VDCSU.js.map} +0 -0
- /package/client-dist/{orc.module-GF3YPUTO.js.map → orc.module-4YGRTRV6.js.map} +0 -0
- /package/client-dist/{project-management.module-JCP3QYMC.js.map → project-management.module-LI3L4WCD.js.map} +0 -0
- /package/client-dist/{project-source-routed.module-H7SKWQ5J.js.map → project-source-routed.module-CJB4YJND.js.map} +0 -0
- /package/client-dist/{scheduler.module-SRO6H5K6.js.map → scheduler.module-HEG5JCVO.js.map} +0 -0
- /package/client-dist/{session.module-VQ7PBBDQ.js.map → session.module-DEIGFE2V.js.map} +0 -0
- /package/client-dist/{set.module-P76APIOK.js.map → set.module-DSD6PIYI.js.map} +0 -0
- /package/client-dist/{setup.module-VTMU43WO.js.map → setup.module-WDIRWV32.js.map} +0 -0
- /package/client-dist/{terminals.module-AAU3GPWE.js.map → terminals.module-4KEH5NED.js.map} +0 -0
- /package/client-dist/{voice-notes-poc.module-IGR2R6XD.js.map → voice-notes-poc.module-UWGARHN5.js.map} +0 -0
- /package/client-dist/{wfs.module-J34NQGDG.js.map → wfs.module-XAEMCUIF.js.map} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{a as se}from"./chunk-IAZNXEV5.js";import"./chunk-NL6KS2PG.js";import"./chunk-PGUTP7BT.js";import"./chunk-H3QG3XIB.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-QEMMWIWJ.js";import{I as le}from"./chunk-5AVCLDUF.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-C7746ZDD.js";import"./chunk-YTJ626F2.js";import"./chunk-2EGN5OIA.js";import"./chunk-CEXJQIOB.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-WHJDIPTM.js";import{I as le}from"./chunk-GLY7XIEO.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-XAEMCUIF.js.map
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elevenlabs-tts.util.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/elevenlabs-tts.util.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"elevenlabs-tts.util.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/elevenlabs-tts.util.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EACL,6BAA6B,EAC7B,4CAA4C,EAC7C,MAAM,+DAA+D,CAAC;AAQvE,oCAAoC;AACpC,qBAAa,sBAAsB;IAEjC,2CAA2C;IAC3C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAuC;IAE9E,gCAAgC;IAChC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAkC;IAE1E,+DAA+D;IAC/D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAoC;IAE5E,qCAAqC;IACrC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAA2B;IAExE,8CAA8C;IAC9C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,oBAAoB,CAAwB;IAEpE;;;OAGG;WACU,wBAAwB,CACnC,MAAM,EAAE,4CAA4C,GACnD,OAAO,CAAC,6BAA6B,CAAC;CAwE1C"}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.Voc_ElevenLabsTts_Util = void 0;
|
|
8
|
+
const fsm_dynamo_1 = require("@futdevpro/fsm-dynamo");
|
|
8
9
|
/** Voc_ElevenLabsTts_Util class. */
|
|
9
10
|
class Voc_ElevenLabsTts_Util {
|
|
10
11
|
/** Alapértelmezett ElevenLabs API base. */
|
|
@@ -27,6 +28,9 @@ class Voc_ElevenLabsTts_Util {
|
|
|
27
28
|
const outputFormat = params.outputFormat ?? this.DEFAULT_OUTPUT_FORMAT;
|
|
28
29
|
const url = `${this.ELEVENLABS_BASE}/v1/text-to-speech/${encodeURIComponent(voiceId)}`
|
|
29
30
|
+ `?output_format=${encodeURIComponent(outputFormat)}`;
|
|
31
|
+
const fetchStartMs = Date.now();
|
|
32
|
+
fsm_dynamo_1.DyFM_Log.info(`[Voc_ElevenLabsTts] POST ${url.replace(this.ELEVENLABS_BASE, '<base>')} `
|
|
33
|
+
+ `voiceId=${voiceId} modelId=${modelId} outputFormat=${outputFormat} textLen=${params.text.length}`);
|
|
30
34
|
const res = await fetch(url, {
|
|
31
35
|
method: 'POST',
|
|
32
36
|
headers: {
|
|
@@ -53,11 +57,24 @@ class Voc_ElevenLabsTts_Util {
|
|
|
53
57
|
// ignore
|
|
54
58
|
}
|
|
55
59
|
}
|
|
60
|
+
fsm_dynamo_1.DyFM_Log.warn(`[Voc_ElevenLabsTts] NON-OK response — status=${res.status} contentType=${contentType} `
|
|
61
|
+
+ `elapsed=${Date.now() - fetchStartMs}ms message=${message}`);
|
|
56
62
|
throw new Error(message);
|
|
57
63
|
}
|
|
58
64
|
const arrayBuffer = await res.arrayBuffer();
|
|
59
65
|
const buffer = Buffer.from(arrayBuffer);
|
|
60
66
|
const contentType = res.headers.get('content-type') ?? this.DEFAULT_CONTENT_TYPE;
|
|
67
|
+
// Diagnostic: response headers + buffer head/tail magic — minden generálásra elérhető
|
|
68
|
+
// log-line, hogy a kliens-side hibákat azonnal párosítani lehessen a server-payload-dal.
|
|
69
|
+
const headHex = Array.from(buffer.subarray(0, 16))
|
|
70
|
+
.map((b) => b.toString(16).padStart(2, '0').toUpperCase()).join(' ');
|
|
71
|
+
const tailOffset = Math.max(0, buffer.length - 16);
|
|
72
|
+
const tailHex = Array.from(buffer.subarray(tailOffset))
|
|
73
|
+
.map((b) => b.toString(16).padStart(2, '0').toUpperCase()).join(' ');
|
|
74
|
+
const contentLengthHeader = res.headers.get('content-length');
|
|
75
|
+
fsm_dynamo_1.DyFM_Log.info(`[Voc_ElevenLabsTts] response OK — elapsed=${Date.now() - fetchStartMs}ms `
|
|
76
|
+
+ `contentType=${contentType} contentLength=${contentLengthHeader ?? '(unset)'} `
|
|
77
|
+
+ `bufferSize=${buffer.length} headHex="${headHex}" tailHex="${tailHex}"`);
|
|
61
78
|
return { buffer: buffer, contentType: contentType };
|
|
62
79
|
}
|
|
63
80
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elevenlabs-tts.util.js","sourceRoot":"","sources":["../../../../../../../../../../src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/elevenlabs-tts.util.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;
|
|
1
|
+
{"version":3,"file":"elevenlabs-tts.util.js","sourceRoot":"","sources":["../../../../../../../../../../src/_modules/ccap-agent/_modules/integrations/_modules/voice/_collections/utils/elevenlabs-tts.util.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,sDAAiD;AAajD,oCAAoC;AACpC,MAAa,sBAAsB;IAEjC,2CAA2C;IACnC,MAAM,CAAU,eAAe,GAAW,2BAA2B,CAAC;IAE9E,gCAAgC;IACxB,MAAM,CAAU,gBAAgB,GAAW,sBAAsB,CAAC;IAE1E,+DAA+D;IACvD,MAAM,CAAU,gBAAgB,GAAW,wBAAwB,CAAC;IAE5E,qCAAqC;IAC7B,MAAM,CAAU,qBAAqB,GAAW,eAAe,CAAC;IAExE,8CAA8C;IACtC,MAAM,CAAU,oBAAoB,GAAW,YAAY,CAAC;IAEpE;;;OAGG;IACH,MAAM,CAAC,KAAK,CAAC,wBAAwB,CACnC,MAAoD;QAEpD,MAAM,OAAO,GAAW,MAAM,CAAC,OAAO,IAAI,IAAI,CAAC,gBAAgB,CAAC;QAChE,MAAM,OAAO,GAAW,MAAM,CAAC,OAAO,IAAI,IAAI,CAAC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G,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACvF,MAAM,mBAAmB,GAAkB,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;QAC7E,qBAAQ,CAAC,IAAI,CACX,6CAA6C,IAAI,CAAC,GAAG,EAAE,GAAG,YAAY,KAAK;cACzE,eAAe,WAAW,kBAAkB,mBAAmB,IAAI,SAAS,GAAG;cAC/E,cAAc,MAAM,CAAC,MAAM,aAAa,OAAO,cAAc,OAAO,GAAG,CAC1E,CAAC;QAEF,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;IACtD,CAAC;;AA9FH,wDA+FC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-search-tool-schema.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/code-search/_collections/consts/code-search-tool-schema.const.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sGAAsG,CAAC;AAEhJ,2DAA2D;AAC3D,eAAO,MAAM,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"code-search-tool-schema.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/code-search/_collections/consts/code-search-tool-schema.const.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sGAAsG,CAAC;AAEhJ,2DAA2D;AAC3D,eAAO,MAAM,oBAAoB,EAAE,wBA8ClC,CAAC"}
|
|
@@ -7,7 +7,9 @@ exports.codeSearchToolSchema = {
|
|
|
7
7
|
properties: {
|
|
8
8
|
path: {
|
|
9
9
|
type: 'string',
|
|
10
|
-
description: 'Required.
|
|
10
|
+
description: 'Required. Path to search in (directory or single file). '
|
|
11
|
+
+ 'Accepts relative (resolved against the session workspace) or absolute filesystem paths. '
|
|
12
|
+
+ 'Path-traversal (`..` escaping the session workspace) is blocked.',
|
|
11
13
|
},
|
|
12
14
|
query: {
|
|
13
15
|
type: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-search-tool-schema.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/code-search/_collections/consts/code-search-tool-schema.const.ts"],"names":[],"mappings":";;;AAEA,2DAA2D;AAC9C,QAAA,oBAAoB,GAA6B;IAC5D,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"code-search-tool-schema.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/code-search/_collections/consts/code-search-tool-schema.const.ts"],"names":[],"mappings":";;;AAEA,2DAA2D;AAC9C,QAAA,oBAAoB,GAA6B;IAC5D,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,0DAA0D;kBACnE,0FAA0F;kBAC1F,kEAAkE;SACvE;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,mFAAmF;SACjG;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,4CAA4C;YACzD,OAAO,EAAE,CAAC;SACX;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,0CAA0C;YACvD,OAAO,EAAE,GAAG;SACb;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,uCAAuC;YACpD,OAAO,EAAE,GAAG;SACb;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,2CAA2C;SACzD;QACD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,4DAA4D;SAC1E;QACD,eAAe,EAAE;YACf,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,qDAAqD;SACnE;QACD,aAAa,EAAE;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,sDAAsD;SACpE;KACF;IACD,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;CAC5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment-readiness-tool-definition.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/environment-readiness/_collections/consts/environment-readiness-tool-definition.const.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAGnB,MAAM,+FAA+F,CAAC;AAIvG;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,
|
|
1
|
+
{"version":3,"file":"environment-readiness-tool-definition.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/environment-readiness/_collections/consts/environment-readiness-tool-definition.const.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAGnB,MAAM,+FAA+F,CAAC;AAIvG;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,kBA0EtC,CAAC"}
|
|
@@ -21,7 +21,9 @@ exports.environmentReadinessTool = {
|
|
|
21
21
|
properties: {
|
|
22
22
|
workspace: {
|
|
23
23
|
type: 'string',
|
|
24
|
-
description: 'Workspace path (default: default-path/workspace).'
|
|
24
|
+
description: 'Workspace path to scan (default: session workspace or global default-path/workspace). '
|
|
25
|
+
+ 'Accepts relative (resolved against the session workspace) or absolute filesystem paths. '
|
|
26
|
+
+ 'Path-traversal (`..` escaping the session workspace) is blocked.',
|
|
25
27
|
},
|
|
26
28
|
checkRuntime: { type: 'boolean', description: 'Check runtime (node, pnpm: pnpm, docker: docker, python).', default: true },
|
|
27
29
|
checkFiles: { type: 'boolean', description: 'Check project files.', default: true },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment-readiness-tool-definition.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/environment-readiness/_collections/consts/environment-readiness-tool-definition.const.ts"],"names":[],"mappings":";;;AAAA,+HAA0H;AAC1H,4FAAwF;AAMxF,iGAAsH;AACtH,oFAAmF;AAEnF;;;GAGG;AACU,QAAA,wBAAwB,GAAuB;IAC1D,EAAE,EAAE,iDAAmC;IACvC,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE,+DAA+D;UACxE,4FAA4F;UAC5F,gEAAgE;IACpE,QAAQ,EAAE,8CAAqB,CAAC,OAAO;IACvC,MAAM,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"environment-readiness-tool-definition.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/environment-readiness/_collections/consts/environment-readiness-tool-definition.const.ts"],"names":[],"mappings":";;;AAAA,+HAA0H;AAC1H,4FAAwF;AAMxF,iGAAsH;AACtH,oFAAmF;AAEnF;;;GAGG;AACU,QAAA,wBAAwB,GAAuB;IAC1D,EAAE,EAAE,iDAAmC;IACvC,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE,+DAA+D;UACxE,4FAA4F;UAC5F,gEAAgE;IACpE,QAAQ,EAAE,8CAAqB,CAAC,OAAO;IACvC,MAAM,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wFAAwF;sBACjG,0FAA0F;sBAC1F,kEAAkE;aACvE;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QAC1D,MAAM,aAAa,GAAY,IAAI,CAAC,aAAa,KAAK,KAAK,CAAC;QAC5D,MAAM,aAAa,GAAY,IAAI,CAAC,aAAa,KAAK,KAAK,CAAC;QAC5D,MAAM,mBAAmB,GAAY,IAAI,CAAC,mBAAmB,KAAK,KAAK,CAAC;QACxE,MAAM,yBAAyB,GAAY,IAAI,CAAC,yBAAyB,KAAK,KAAK,CAAC;QAEpF,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,yDAA4B,CAAC,GAAG,CAAC;gBACpD,SAAS,EAAE,SAAS;gBACpB,YAAY,EAAE,YAAY;gBAC1B,UAAU,EAAE,UAAU;gBACtB,YAAY,EAAE,YAAY;gBAC1B,YAAY,EAAE,YAAY;gBAC1B,aAAa,EAAE,aAAa;gBAC5B,aAAa,EAAE,aAAa;gBAC5B,mBAAmB,EAAE,mBAAmB;gBACxC,yBAAyB,EAAE,yBAAyB;gBACpD,iFAAiF;gBACjF,oBAAoB,EAAE,MAAM,CAAC,gBAAgB,EAAE,aAAa;aAC7D,CAAC,CAAC;YAEH,MAAM,OAAO,GAAW,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAErD,OAAO;gBACL,OAAO,EAAE,OAAO;gBAChB,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAAC,OAAO,GAAY,EAAE,CAAC;YACtB,MAAM,OAAO,GAAW,uDAAyB,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;YAElE,OAAO;gBACL,OAAO,EAAE,uCAAuC,OAAO,EAAE;gBACzD,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,OAAO;aACf,CAAC;QACJ,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exec-tool-usage-rules.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/exec/_collections/consts/exec-tool-usage-rules.const.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,8FAA8F;AAC9F,eAAO,MAAM,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"exec-tool-usage-rules.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/exec/_collections/consts/exec-tool-usage-rules.const.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,8FAA8F;AAC9F,eAAO,MAAM,qBAAqB,EAAE,MAiBe,CAAC"}
|
|
@@ -19,5 +19,9 @@ exports.EXEC_TOOL_USAGE_RULES = 'CRITICAL – path = shell cwd (working director
|
|
|
19
19
|
+ 'set path to that relative path.\n'
|
|
20
20
|
+ '- If the target directory may not exist, create it first with '
|
|
21
21
|
+ 'ccap_file_handling action createDirectory; then call ccap_exec with the same path.\n'
|
|
22
|
-
+ '- Omit path only when the user does not request a specific folder (workspace root).\n'
|
|
22
|
+
+ '- Omit path only when the user does not request a specific folder (workspace root).\n'
|
|
23
|
+
+ '- Path-paraméter formátum: elfogadott RELATÍV (a session workspace-hez képest) '
|
|
24
|
+
+ 'ÉS ABSZOLÚT (filesystem-szintű) is. Relatív → workspace alá feloldva; abszolút → '
|
|
25
|
+
+ 'változatlan. A session workspace per-session override (session-config) vagy globális '
|
|
26
|
+
+ 'default. Path-traversal `..`-rel blokkolva.\n';
|
|
23
27
|
//# sourceMappingURL=exec-tool-usage-rules.const.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exec-tool-usage-rules.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/exec/_collections/consts/exec-tool-usage-rules.const.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,8FAA8F;AACjF,QAAA,qBAAqB,GAChC,2EAA2E;MACzE,gGAAgG;MAChG,wEAAwE;MACxE,gFAAgF;MAChF,4FAA4F;MAC5F,4EAA4E;MAC5E,yFAAyF;MACzF,yEAAyE;MACzE,+FAA+F;MAC/F,mCAAmC;MACnC,gEAAgE;MAChE,sFAAsF;MACtF,uFAAuF,CAAC"}
|
|
1
|
+
{"version":3,"file":"exec-tool-usage-rules.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/exec/_collections/consts/exec-tool-usage-rules.const.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,8FAA8F;AACjF,QAAA,qBAAqB,GAChC,2EAA2E;MACzE,gGAAgG;MAChG,wEAAwE;MACxE,gFAAgF;MAChF,4FAA4F;MAC5F,4EAA4E;MAC5E,yFAAyF;MACzF,yEAAyE;MACzE,+FAA+F;MAC/F,mCAAmC;MACnC,gEAAgE;MAChE,sFAAsF;MACtF,uFAAuF;MACvF,iFAAiF;MACjF,mFAAmF;MACnF,uFAAuF;MACvF,+CAA+C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ffe-explore-tool-usage-rules.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-explore/_collections/consts/ffe-explore-tool-usage-rules.const.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,2FAA2F;AAC3F,eAAO,MAAM,4BAA4B,EAAE,
|
|
1
|
+
{"version":3,"file":"ffe-explore-tool-usage-rules.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-explore/_collections/consts/ffe-explore-tool-usage-rules.const.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,2FAA2F;AAC3F,eAAO,MAAM,4BAA4B,EAAE,MAegD,CAAC"}
|
|
@@ -16,5 +16,10 @@ exports.FFE_EXPLORE_TOOL_USAGE_RULES = 'PREFER this tool (ccap_file_explore) ove
|
|
|
16
16
|
+ 'foo_bar_baz.md. Prefer wider patterns: separator class [-_.] between tokens, or .* between stems, '
|
|
17
17
|
+ 'and optional extension alternation \\.(md|log|txt)$. You may use alternation to cover several spellings in '
|
|
18
18
|
+ 'one pattern. '
|
|
19
|
-
+ 'Use ccap_file_handling only when you need to read, edit, create, or delete a specific file or directory.'
|
|
19
|
+
+ 'Use ccap_file_handling only when you need to read, edit, create, or delete a specific file or directory. '
|
|
20
|
+
+ 'Path-paraméter formátum: a tool elfogadja a RELATÍV (a session workspace-hez képest) '
|
|
21
|
+
+ 'ÉS az ABSZOLÚT (filesystem-szintű) path-okat egyaránt. Relatív input → a session '
|
|
22
|
+
+ 'workspace alá feloldva; abszolút input → változatlan használat. A session workspace-ét '
|
|
23
|
+
+ 'a session-config határozza meg (per-session override) vagy a globális default. '
|
|
24
|
+
+ 'Path-traversal (`..`-rel kilépni a session workspace-ből) blokkolva — security guard.';
|
|
20
25
|
//# sourceMappingURL=ffe-explore-tool-usage-rules.const.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ffe-explore-tool-usage-rules.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-explore/_collections/consts/ffe-explore-tool-usage-rules.const.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,2FAA2F;AAC9E,QAAA,4BAA4B,GACvC,4GAA4G;MAC1G,0FAA0F;MAC1F,qEAAqE;MACrE,wFAAwF;MACxF,yGAAyG;MACzG,6GAA6G;MAC7G,oGAAoG;MACpG,6GAA6G;MAC7G,eAAe;MACf,
|
|
1
|
+
{"version":3,"file":"ffe-explore-tool-usage-rules.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-explore/_collections/consts/ffe-explore-tool-usage-rules.const.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,2FAA2F;AAC9E,QAAA,4BAA4B,GACvC,4GAA4G;MAC1G,0FAA0F;MAC1F,qEAAqE;MACrE,wFAAwF;MACxF,yGAAyG;MACzG,6GAA6G;MAC7G,oGAAoG;MACpG,6GAA6G;MAC7G,eAAe;MACf,2GAA2G;MAC3G,uFAAuF;MACvF,mFAAmF;MACnF,yFAAyF;MACzF,iFAAiF;MACjF,uFAAuF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fh-handling-tool-usage-rules.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-handling/_collections/consts/fh-handling-tool-usage-rules.const.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,wEAAwE;AACxE,eAAO,MAAM,4BAA4B,EAAE,
|
|
1
|
+
{"version":3,"file":"fh-handling-tool-usage-rules.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-handling/_collections/consts/fh-handling-tool-usage-rules.const.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,wEAAwE;AACxE,eAAO,MAAM,4BAA4B,EAAE,MAoCgD,CAAC"}
|
|
@@ -37,5 +37,10 @@ exports.FH_HANDLING_TOOL_USAGE_RULES = 'MANDATORY first field for every real cal
|
|
|
37
37
|
+ 'Zero matches: the tool text suggests increasing maxDepth and/or broadening path (or re-checking the pattern at root). '
|
|
38
38
|
+ 'read: one path (or paths with exactly one entry) on png/jpeg/webp/gif may attach vision for vision-capable models; '
|
|
39
39
|
+ 'batch read of multiple files never attaches images. '
|
|
40
|
-
+ 'Read the file first if unsure of its structure.'
|
|
40
|
+
+ 'Read the file first if unsure of its structure. '
|
|
41
|
+
+ 'Path-paraméter formátum: a tool elfogadja a RELATÍV (a session workspace-hez képest) '
|
|
42
|
+
+ 'ÉS az ABSZOLÚT (filesystem-szintű) path-okat egyaránt. Relatív input → a session '
|
|
43
|
+
+ 'workspace alá feloldva; abszolút input → változatlan használat. A session workspace-ét '
|
|
44
|
+
+ 'a session-config határozza meg (per-session override) vagy a globális default. '
|
|
45
|
+
+ 'Path-traversal (`..`-rel kilépni a session workspace-ből) blokkolva — security guard.';
|
|
41
46
|
//# sourceMappingURL=fh-handling-tool-usage-rules.const.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fh-handling-tool-usage-rules.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-handling/_collections/consts/fh-handling-tool-usage-rules.const.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,wEAAwE;AAC3D,QAAA,4BAA4B,GACvC,yGAAyG;MACvG,uEAAuE;MACvE,qHAAqH;MACrH,6DAA6D;MAC7D,sGAAsG;MACtG,0EAA0E;MAC1E,uGAAuG;MACvG,qEAAqE;MACrE,wDAAwD;MACxD,2DAA2D;MAC3D,2GAA2G;MAC3G,iHAAiH;MACjH,oFAAoF;MACpF,qDAAqD;MACrD,uFAAuF;MACvF,iEAAiE;MACjE,oEAAoE;MACpE,+GAA+G;MAC/G,qHAAqH;MACrH,qIAAqI;MACrI,oFAAoF;MACpF,gEAAgE;MAChE,2FAA2F;MAC3F,+FAA+F;MAC/F,+GAA+G;MAC/G,wCAAwC;MACxC,4GAA4G;MAC5G,wHAAwH;MACxH,qHAAqH;MACrH,sDAAsD;MACtD,
|
|
1
|
+
{"version":3,"file":"fh-handling-tool-usage-rules.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-handling/_collections/consts/fh-handling-tool-usage-rules.const.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,wEAAwE;AAC3D,QAAA,4BAA4B,GACvC,yGAAyG;MACvG,uEAAuE;MACvE,qHAAqH;MACrH,6DAA6D;MAC7D,sGAAsG;MACtG,0EAA0E;MAC1E,uGAAuG;MACvG,qEAAqE;MACrE,wDAAwD;MACxD,2DAA2D;MAC3D,2GAA2G;MAC3G,iHAAiH;MACjH,oFAAoF;MACpF,qDAAqD;MACrD,uFAAuF;MACvF,iEAAiE;MACjE,oEAAoE;MACpE,+GAA+G;MAC/G,qHAAqH;MACrH,qIAAqI;MACrI,oFAAoF;MACpF,gEAAgE;MAChE,2FAA2F;MAC3F,+FAA+F;MAC/F,+GAA+G;MAC/G,wCAAwC;MACxC,4GAA4G;MAC5G,wHAAwH;MACxH,qHAAqH;MACrH,sDAAsD;MACtD,kDAAkD;MAClD,uFAAuF;MACvF,mFAAmF;MACnF,yFAAyF;MACzF,iFAAiF;MACjF,uFAAuF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fs-search-tool-usage-rules.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-search/_collections/consts/fs-search-tool-usage-rules.const.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,+FAA+F;AAC/F,eAAO,MAAM,0BAA0B,EAAE,
|
|
1
|
+
{"version":3,"file":"fs-search-tool-usage-rules.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-search/_collections/consts/fs-search-tool-usage-rules.const.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,+FAA+F;AAC/F,eAAO,MAAM,0BAA0B,EAAE,MAgBkD,CAAC"}
|
|
@@ -16,5 +16,10 @@ exports.FS_SEARCH_TOOL_USAGE_RULES = 'This tool is NOT ccap_file_explore: never
|
|
|
16
16
|
+ 'relaxed/token-flex matching to run sooner when the exact substring might miss. '
|
|
17
17
|
+ 'If zero matches, follow the tool result hint: ccap_code_search, ccap_file_explore fileNameSearch '
|
|
18
18
|
+ 'with a wide basename regex (e.g. tools[-_.]test[-_.]log or tools.*test.*log), not a single '
|
|
19
|
-
+ 'over-escaped literal. `path` is a directory under the workspace; use "." for workspace root.'
|
|
19
|
+
+ 'over-escaped literal. `path` is a directory under the workspace; use "." for workspace root. '
|
|
20
|
+
+ 'Path-paraméter formátum: a tool elfogadja a RELATÍV (a session workspace-hez képest) '
|
|
21
|
+
+ 'ÉS az ABSZOLÚT (filesystem-szintű) path-okat egyaránt. Relatív input → a session '
|
|
22
|
+
+ 'workspace alá feloldva; abszolút input → változatlan használat. A session workspace-ét '
|
|
23
|
+
+ 'a session-config határozza meg (per-session override) vagy a globális default. '
|
|
24
|
+
+ 'Path-traversal (`..`-rel kilépni a session workspace-ből) blokkolva — security guard.';
|
|
20
25
|
//# sourceMappingURL=fs-search-tool-usage-rules.const.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fs-search-tool-usage-rules.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-search/_collections/consts/fs-search-tool-usage-rules.const.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,+FAA+F;AAClF,QAAA,0BAA0B,GACrC,mHAAmH;MACjH,6FAA6F;MAC7F,6FAA6F;MAC7F,0GAA0G;MAC1G,wFAAwF;MACxF,uFAAuF;MACvF,gGAAgG;MAChG,iFAAiF;MACjF,mGAAmG;MACnG,6FAA6F;MAC7F,
|
|
1
|
+
{"version":3,"file":"fs-search-tool-usage-rules.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/file-search/_collections/consts/fs-search-tool-usage-rules.const.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,+FAA+F;AAClF,QAAA,0BAA0B,GACrC,mHAAmH;MACjH,6FAA6F;MAC7F,6FAA6F;MAC7F,0GAA0G;MAC1G,wFAAwF;MACxF,uFAAuF;MACvF,gGAAgG;MAChG,iFAAiF;MACjF,mGAAmG;MACnG,6FAA6F;MAC7F,+FAA+F;MAC/F,uFAAuF;MACvF,mFAAmF;MACnF,yFAAyF;MACzF,iFAAiF;MACjF,uFAAuF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-received-files-tool-definition.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/received-files/_collections/consts/save-received-files-tool-definition.const.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,kBAAkB,EAGnB,MAAM,qGAAqG,CAAC;AAO7G;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"save-received-files-tool-definition.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/received-files/_collections/consts/save-received-files-tool-definition.const.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,kBAAkB,EAGnB,MAAM,qGAAqG,CAAC;AAO7G;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,kBA0FnC,CAAC"}
|
|
@@ -32,7 +32,9 @@ exports.saveReceivedFilesTool = {
|
|
|
32
32
|
},
|
|
33
33
|
copyTargetPath: {
|
|
34
34
|
type: 'string',
|
|
35
|
-
description: '
|
|
35
|
+
description: 'Destination folder for copy (e.g. "docs" or "uploads"). Required for copy. '
|
|
36
|
+
+ 'Accepts relative (resolved against the session workspace) or absolute filesystem paths; '
|
|
37
|
+
+ 'must resolve under the session workspace. Path-traversal (`..` escaping the workspace) is blocked.',
|
|
36
38
|
},
|
|
37
39
|
fileIndex: {
|
|
38
40
|
type: 'number',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-received-files-tool-definition.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/received-files/_collections/consts/save-received-files-tool-definition.const.ts"],"names":[],"mappings":";;;;AAAA,+CAAyB;AACzB,mDAA6B;AAE7B,qIAAgI;AAChI,kGAA8F;AAM9F,uGAA0H;AAC1H,kIAA8H;AAC9H,yHAAwH;AAExH,8HAA6H;AAE7H;;;;GAIG;AACU,QAAA,qBAAqB,GAAuB;IACvD,EAAE,EAAE,+CAAiC;IACrC,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,wEAAwE;UACjF,4DAA4D;UAC5D,gHAAgH;IACpH,QAAQ,EAAE,8CAAqB,CAAC,YAAY;IAC5C,MAAM,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wFAAwF;gBACrG,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;aACvB;YACD,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"save-received-files-tool-definition.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/file-tools/_modules/received-files/_collections/consts/save-received-files-tool-definition.const.ts"],"names":[],"mappings":";;;;AAAA,+CAAyB;AACzB,mDAA6B;AAE7B,qIAAgI;AAChI,kGAA8F;AAM9F,uGAA0H;AAC1H,kIAA8H;AAC9H,yHAAwH;AAExH,8HAA6H;AAE7H;;;;GAIG;AACU,QAAA,qBAAqB,GAAuB;IACvD,EAAE,EAAE,+CAAiC;IACrC,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,wEAAwE;UACjF,4DAA4D;UAC5D,gHAAgH;IACpH,QAAQ,EAAE,8CAAqB,CAAC,YAAY;IAC5C,MAAM,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE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C,CAAC;IAE7C,OAAO;QACL,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,cAAc,CAAC;QAC1E,OAAO,EAAE,OAAO;QAChB,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,aAAa;KAC3C,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"self-tool-definition.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/self/_collections/consts/self-tool-definition.const.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAGnB,MAAM,+FAA+F,CAAC;
|
|
1
|
+
{"version":3,"file":"self-tool-definition.const.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/self/_collections/consts/self-tool-definition.const.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAGnB,MAAM,+FAA+F,CAAC;AAoBvG;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,kBAmEtB,CAAC"}
|
|
@@ -6,6 +6,7 @@ const tls_tool_category_enum_1 = require("../../../../../../_enums/tls-tool-cate
|
|
|
6
6
|
const ctx_common_context_interface_1 = require("../../../../../../../context/_models/interfaces/ctx-common-context.interface");
|
|
7
7
|
const tools_const_1 = require("../../../../../../_collections/consts/tool-assembly/tools.const");
|
|
8
8
|
const self_util_1 = require("../utils/self.util");
|
|
9
|
+
const sc_spawn_ccap_update_util_1 = require("../../../../../../../../../setup-config/_collections/utils/spawn-ccap-update/sc-spawn-ccap-update.util");
|
|
9
10
|
/** Elválasztó a self result header és a body között. */
|
|
10
11
|
const SELF_RESULT_SEPARATOR = '---';
|
|
11
12
|
/**
|
|
@@ -185,26 +186,27 @@ function handleUpdate() {
|
|
|
185
186
|
success: true,
|
|
186
187
|
};
|
|
187
188
|
}
|
|
188
|
-
//
|
|
189
|
-
|
|
190
|
-
|
|
189
|
+
// REQ-SYS-UPDATE-SSOT-001: `ccap update` subprocess (SSOT) — NEM hívunk
|
|
190
|
+
// közvetlenül `performGlobalUpdate`-et + `scheduleRestart`-ot. A `ccap update`
|
|
191
|
+
// az egyetlen forrás a frissítési flow-ra: stop → pre-install staging cleanup
|
|
192
|
+
// → npm install → post-install verify → start.
|
|
193
|
+
const spawnResult = sc_spawn_ccap_update_util_1.SC_SpawnCcapUpdate_Util.spawnCcapUpdate('SLF_Self.agent-tool-update');
|
|
194
|
+
if (!spawnResult.spawned) {
|
|
191
195
|
return {
|
|
192
196
|
content: formatSelfResult({
|
|
193
197
|
action: 'update',
|
|
194
|
-
body: `Update failed: ${
|
|
198
|
+
body: `Update spawn failed: ${spawnResult.error}\nCurrent version remains: ${currentVersion}`,
|
|
195
199
|
}),
|
|
196
200
|
success: false,
|
|
197
|
-
error:
|
|
201
|
+
error: spawnResult.error,
|
|
198
202
|
};
|
|
199
203
|
}
|
|
200
|
-
// Update sikeres — restart ütemezése
|
|
201
|
-
const restartResult = self_util_1.SLF_Self_Util.scheduleRestart({
|
|
202
|
-
installationType: installationType,
|
|
203
|
-
});
|
|
204
204
|
const lines = [
|
|
205
|
-
`
|
|
206
|
-
`
|
|
207
|
-
`
|
|
205
|
+
`Update spawned: ${currentVersion} → ${latest.version}`,
|
|
206
|
+
`Subprocess PID: ${spawnResult.pid}`,
|
|
207
|
+
`Subprocess log: ${spawnResult.logFilePath}`,
|
|
208
|
+
'The ccap update subprocess will stop the server, install the new version, verify, '
|
|
209
|
+
+ 'and start the new server (~30-90s). The server will be unreachable during the install.',
|
|
208
210
|
];
|
|
209
211
|
return {
|
|
210
212
|
content: formatSelfResult({ action: 'update', body: lines.join('\n') }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"self-tool-definition.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/self/_collections/consts/self-tool-definition.const.ts"],"names":[],"mappings":";;;AAAA,+HAA0H;AAC1H,4FAAwF;AAMxF,+HAA6H;AAC7H,iGAAqG;AACrG,kDAAmD;
|
|
1
|
+
{"version":3,"file":"self-tool-definition.const.js","sourceRoot":"","sources":["../../../../../../../../../../../../src/_modules/ccap-agent/_modules/tools/_modules/fixed-tools/_modules/self/_collections/consts/self-tool-definition.const.ts"],"names":[],"mappings":";;;AAAA,+HAA0H;AAC1H,4FAAwF;AAMxF,+HAA6H;AAC7H,iGAAqG;AACrG,kDAAmD;AACnD,sJAAiJ;AAGjJ,wDAAwD;AACxD,MAAM,qBAAqB,GAAW,KAAK,CAAC;AAE5C;;GAEG;AACH,SAAS,gBAAgB,CAAC,MAGzB;IACC,OAAO,WAAW,MAAM,CAAC,MAAM,KAAK,qBAAqB,KAAK,MAAM,CAAC,IAAI,EAAE,CAAC;AAC9E,CAAC;AAED;;;GAGG;AACU,QAAA,QAAQ,GAAuB;IAC1C,EAAE,EAAE,gCAAkB;IACtB,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,iCAAiC;UAC1C,wDAAwD;UACxD,sDAAsD;UACtD,uDAAuD;UACvD,oCAAoC;IACxC,QAAQ,EAAE,8CAAqB,CAAC,IAAI;IACpC,MAAM,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kCAAkC;gBAC/C,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,CAAC;aACvD;SACF;QACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;KACrB;IAED,KAAK,CAAC,OAAO,CAAC,MAGb;QACC,MAAM,MAAM,GAAW,MAAM,CAAC,SAAS,CAAC,MAAgB,CAAC;QAEzD,IAAI,CAAC;YACH,QAAQ,MAAM,EAAE,CAAC;gBACf,K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