agentic-qe 3.15.0 → 3.15.1
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/.claude/skills/skills-manifest.json +1 -1
- package/CHANGELOG.md +44 -0
- package/assets/skills/skills-manifest.json +1 -1
- package/dist/cli/bundle.js +5 -5
- package/dist/cli/chunks/adapter-Q6RPGMUE.js +2 -0
- package/dist/cli/chunks/{agent-booster-wasm-GDHJ6QUN.js → agent-booster-wasm-XUHRLKWP.js} +2 -2
- package/dist/cli/chunks/{agent-handler-MPYYQ2RZ.js → agent-handler-CL7MJP5W.js} +2 -2
- package/dist/cli/chunks/{agent-memory-branch-QBSHKLA2.js → agent-memory-branch-F7RV72FC.js} +2 -2
- package/dist/cli/chunks/aqe-learning-engine-JQPXIU7C.js +2 -0
- package/dist/cli/chunks/{arena-UJE2FROF.js → arena-GRRNK7IN.js} +4 -4
- package/dist/cli/chunks/{arena-WIGSL37B.js → arena-LHLVOQHW.js} +2 -2
- package/dist/cli/chunks/{audit-VT7Y2Z7V.js → audit-EOP2K34L.js} +3 -3
- package/dist/cli/chunks/base-5SK64NXB.js +2 -0
- package/dist/cli/chunks/{better-sqlite3-DSL7LFRK.js → better-sqlite3-YERQ5DOL.js} +2 -2
- package/dist/cli/chunks/{brain-handler-N3C2MDMK.js → brain-handler-FBXBM5XE.js} +3 -3
- package/dist/cli/chunks/{branch-enumerator-B6NSQ3PZ.js → branch-enumerator-NWO6LNHB.js} +2 -2
- package/dist/cli/chunks/{browser-KQ3YNRGW.js → browser-EDCG7TNF.js} +2 -2
- package/dist/cli/chunks/browser-workflow-WN7XNTCJ.js +2 -0
- package/dist/cli/chunks/{chunk-QRALXNNX.js → chunk-25IWHVMW.js} +2 -2
- package/dist/cli/chunks/{chunk-ROK5YQ5P.js → chunk-27S47AYK.js} +2 -2
- package/dist/cli/chunks/{chunk-H77AUJNW.js → chunk-2IPBCXTT.js} +2 -2
- package/dist/cli/chunks/chunk-2K3QFLX2.js +2 -0
- package/dist/cli/chunks/{chunk-XPUY3ZKD.js → chunk-35XRY6ZW.js} +2 -2
- package/dist/cli/chunks/{chunk-ILKMNDUM.js → chunk-3NOSMJS4.js} +2 -2
- package/dist/cli/chunks/{chunk-N5ZHIQAV.js → chunk-3TZRJ5QD.js} +3 -3
- package/dist/cli/chunks/{chunk-OBSX3I4Y.js → chunk-46DUU44C.js} +2 -2
- package/dist/cli/chunks/{chunk-32YSI6OT.js → chunk-4AEFJEZH.js} +1 -1
- package/dist/cli/chunks/{chunk-KUTMQBV4.js → chunk-4KHSWNFW.js} +4 -4
- package/dist/cli/chunks/{chunk-FCSETOWZ.js → chunk-4KSCJ462.js} +1 -1
- package/dist/cli/chunks/{chunk-WPSGMTI4.js → chunk-4P7CGSRL.js} +3 -3
- package/dist/cli/chunks/{chunk-AQZSF32Y.js → chunk-4THIRDBL.js} +2 -2
- package/dist/cli/chunks/{chunk-5KN4QL3G.js → chunk-4XEZ562Q.js} +2 -2
- package/dist/cli/chunks/{chunk-PPFW3H7E.js → chunk-53C7TGC4.js} +1 -1
- package/dist/cli/chunks/{chunk-7WUHVGGT.js → chunk-53HWWWFZ.js} +2 -2
- package/dist/cli/chunks/{chunk-EBK6CUBD.js → chunk-54JYUOSR.js} +1 -1
- package/dist/cli/chunks/{chunk-ZPH2YT3J.js → chunk-5B5TA3X4.js} +2 -2
- package/dist/cli/chunks/{chunk-ATXAMGVE.js → chunk-5C4UYXQL.js} +2 -2
- package/dist/cli/chunks/{chunk-LDJ5DZT5.js → chunk-5JJWVFUV.js} +1 -1
- package/dist/cli/chunks/{chunk-7JABIXP3.js → chunk-5QEXDXHQ.js} +2 -2
- package/dist/cli/chunks/{chunk-A37YYHUD.js → chunk-5TEDVUEB.js} +2 -2
- package/dist/cli/chunks/{chunk-KU4WLKDK.js → chunk-66HKJJFH.js} +2 -2
- package/dist/cli/chunks/{chunk-ZXIIB3QE.js → chunk-6AVVC7Y3.js} +1 -1
- package/dist/cli/chunks/{chunk-PJU5HVWV.js → chunk-6DF6X3SZ.js} +2 -2
- package/dist/cli/chunks/{chunk-AW5OWYQ4.js → chunk-6MGJMGAD.js} +2 -2
- package/dist/cli/chunks/{chunk-WQMXQO3O.js → chunk-6Q7PWKWV.js} +2 -2
- package/dist/cli/chunks/{chunk-W6H2SOIK.js → chunk-6U6JQS4Z.js} +2 -2
- package/dist/cli/chunks/{chunk-4EEY23JS.js → chunk-6WW6A6JM.js} +2 -2
- package/dist/cli/chunks/{chunk-62IEVKN3.js → chunk-7B3XVVYP.js} +2 -2
- package/dist/cli/chunks/{chunk-OYVDTD3A.js → chunk-7FGSX4UD.js} +2 -2
- package/dist/cli/chunks/{chunk-MEYSIVMP.js → chunk-A5LOELVV.js} +2 -2
- package/dist/cli/chunks/{chunk-HOPXHZA3.js → chunk-ADEYBXAS.js} +2 -2
- package/dist/cli/chunks/{chunk-L6PUBB6L.js → chunk-ALLABEUK.js} +2 -2
- package/dist/cli/chunks/{chunk-MM57SD2F.js → chunk-ARGMYSDY.js} +1 -1
- package/dist/cli/chunks/{chunk-X5RELRY7.js → chunk-ARWSPV2C.js} +2 -2
- package/dist/cli/chunks/{chunk-JSYNSJDQ.js → chunk-AVOYMVD6.js} +2 -2
- package/dist/cli/chunks/{chunk-MFGLRMO4.js → chunk-B3DWOR5R.js} +1 -1
- package/dist/cli/chunks/{chunk-O5AUOBGU.js → chunk-BW7S6LIJ.js} +2 -2
- package/dist/cli/chunks/{chunk-FPTZP7W5.js → chunk-C3BW3Q27.js} +1 -1
- package/dist/cli/chunks/{chunk-S644OORE.js → chunk-CFZJEOCD.js} +1 -1
- package/dist/cli/chunks/{chunk-KEZ4PXVF.js → chunk-CHX65QXY.js} +1 -1
- package/dist/cli/chunks/{chunk-AAQNRZKT.js → chunk-CTK7NMSJ.js} +2 -2
- package/dist/cli/chunks/{chunk-2ORTL5WG.js → chunk-CTLHNFPM.js} +1 -1
- package/dist/cli/chunks/{chunk-6GTIJNRO.js → chunk-D3LREV4P.js} +1 -1
- package/dist/cli/chunks/{chunk-F76SYOBT.js → chunk-DKWB4ERY.js} +1 -1
- package/dist/cli/chunks/{chunk-R6CZCMKD.js → chunk-DREYYJ7A.js} +2 -2
- package/dist/cli/chunks/{chunk-VY4557VF.js → chunk-DV7I6CRH.js} +2 -2
- package/dist/cli/chunks/{chunk-WPOYFV4X.js → chunk-EQ3BJS37.js} +1 -1
- package/dist/cli/chunks/{chunk-4YPL3OXS.js → chunk-FIIHSEXP.js} +2 -2
- package/dist/cli/chunks/{chunk-Z6CRROLU.js → chunk-FQYXPSWD.js} +2 -2
- package/dist/cli/chunks/{chunk-5DJGP4TA.js → chunk-FRGNM6SW.js} +2 -2
- package/dist/cli/chunks/{chunk-P7MNF2SK.js → chunk-FTHXV7N7.js} +2 -2
- package/dist/cli/chunks/{chunk-ISAMM7QA.js → chunk-GAKVCN3C.js} +1 -1
- package/dist/cli/chunks/{chunk-IRHBR56R.js → chunk-GDSYJHVB.js} +1 -1
- package/dist/cli/chunks/{chunk-AV3RX2L5.js → chunk-GUHJWBPN.js} +2 -2
- package/dist/cli/chunks/{chunk-XEABMIUH.js → chunk-GUKBN3BS.js} +2 -2
- package/dist/cli/chunks/{chunk-URUOTHPO.js → chunk-HU4QGCIJ.js} +2 -2
- package/dist/cli/chunks/{chunk-PN3FYSQ6.js → chunk-HVAYG54D.js} +2 -2
- package/dist/cli/chunks/{chunk-JYRBOSOF.js → chunk-IUGY6Z4Q.js} +2 -2
- package/dist/cli/chunks/{chunk-MRIZY6HB.js → chunk-J2WALRWR.js} +2 -2
- package/dist/cli/chunks/{chunk-WO7NPGUD.js → chunk-J4ULR4QR.js} +3 -3
- package/dist/cli/chunks/{chunk-FTS6NGBP.js → chunk-JEXPSOT2.js} +2 -2
- package/dist/cli/chunks/{chunk-LLS6JYPN.js → chunk-JHKMUY4W.js} +2 -2
- package/dist/cli/chunks/{chunk-Q4RCUCHD.js → chunk-JQVECGYL.js} +1 -1
- package/dist/cli/chunks/{chunk-EQ4SDE4L.js → chunk-JSHASVQ2.js} +3 -3
- package/dist/cli/chunks/{chunk-AGYPPPXR.js → chunk-JW2HNT3J.js} +2 -2
- package/dist/cli/chunks/{chunk-M5EKZA7Q.js → chunk-JY6HWYC4.js} +1 -1
- package/dist/cli/chunks/{chunk-YFRZVNE4.js → chunk-JYF3QF4C.js} +2 -2
- package/dist/cli/chunks/{chunk-QVX22EIM.js → chunk-K4NB3MYN.js} +2 -2
- package/dist/cli/chunks/{chunk-JIWMFLHV.js → chunk-KBK4GBJQ.js} +2 -2
- package/dist/cli/chunks/{chunk-JO2YLIZH.js → chunk-KHVWIUAF.js} +2 -2
- package/dist/cli/chunks/{chunk-P2PPJUGD.js → chunk-KP6LNSDO.js} +10 -10
- package/dist/cli/chunks/{chunk-J4XCBOPA.js → chunk-KTBA2HJC.js} +2 -2
- package/dist/cli/chunks/{chunk-VTGRGYY4.js → chunk-L5GEWKR3.js} +3 -3
- package/dist/cli/chunks/{chunk-7JC3LHA6.js → chunk-LDDIYDIP.js} +10 -10
- package/dist/cli/chunks/{chunk-J46XGXPS.js → chunk-LI7N45GM.js} +1 -1
- package/dist/cli/chunks/{chunk-MO3QXLF2.js → chunk-LQI5GVH7.js} +1 -1
- package/dist/cli/chunks/{chunk-HBIV7PQH.js → chunk-MEOAKMKF.js} +1 -1
- package/dist/cli/chunks/{chunk-S7QUHLXV.js → chunk-N4HQ6FE2.js} +1 -1
- package/dist/cli/chunks/{chunk-4DCDIKBX.js → chunk-N5OSH5JO.js} +2 -2
- package/dist/cli/chunks/{chunk-XZDPR6I2.js → chunk-NF6SLLE6.js} +2 -2
- package/dist/cli/chunks/{chunk-WR54SKKL.js → chunk-NGDRSF6Y.js} +2 -2
- package/dist/cli/chunks/{chunk-N2MDNEF7.js → chunk-NK2BR4QZ.js} +2 -2
- package/dist/cli/chunks/{chunk-2ZEV3O24.js → chunk-NS4RIZ4F.js} +1 -1
- package/dist/cli/chunks/{chunk-JLPNYHJJ.js → chunk-NTLWHLAY.js} +1 -1
- package/dist/cli/chunks/{chunk-LPCFIFZF.js → chunk-NWNZMXNO.js} +2 -2
- package/dist/cli/chunks/{chunk-NZ556KZN.js → chunk-OABFAREV.js} +2 -2
- package/dist/cli/chunks/{chunk-WDV6CBED.js → chunk-OH4SKOAM.js} +2 -2
- package/dist/cli/chunks/{chunk-XELFJC77.js → chunk-OKS25EGZ.js} +3 -3
- package/dist/cli/chunks/{chunk-4FOKHGP5.js → chunk-OPBPFNBO.js} +2 -2
- package/dist/cli/chunks/{chunk-6MN4L6BS.js → chunk-P24ZBDZY.js} +2 -2
- package/dist/cli/chunks/{chunk-5PNRUMRV.js → chunk-PBWR2SKH.js} +2 -2
- package/dist/cli/chunks/{chunk-S7CROKX4.js → chunk-PDLVO3ZR.js} +2 -2
- package/dist/cli/chunks/{chunk-I3BH3KIF.js → chunk-PGARKOE6.js} +1 -1
- package/dist/cli/chunks/{chunk-GX5RFGW2.js → chunk-PNK5KHSI.js} +1 -1
- package/dist/cli/chunks/{chunk-3Y24VTZ3.js → chunk-PZBYZV5M.js} +1 -1
- package/dist/cli/chunks/{chunk-BH2SQQ2N.js → chunk-PZDI7WQ3.js} +1 -1
- package/dist/cli/chunks/{chunk-VQVFGFYK.js → chunk-Q7ONRZBD.js} +1 -1
- package/dist/cli/chunks/{chunk-DGRE6ZAA.js → chunk-QMHWJBD3.js} +2 -2
- package/dist/cli/chunks/{chunk-Y63DADOR.js → chunk-QOOADAT7.js} +2 -2
- package/dist/cli/chunks/{chunk-GRN47ANK.js → chunk-QVTV47TM.js} +2 -2
- package/dist/cli/chunks/{chunk-F7JVDLOI.js → chunk-R2ICZKQA.js} +2 -2
- package/dist/cli/chunks/{chunk-GCHDMO5V.js → chunk-RDI3W4H6.js} +2 -2
- package/dist/cli/chunks/{chunk-S2GNFAOC.js → chunk-REGPCPEJ.js} +2 -2
- package/dist/cli/chunks/{chunk-DSGRXW6K.js → chunk-RXKOZ6VS.js} +3 -3
- package/dist/cli/chunks/{chunk-GV7P5JYF.js → chunk-SRXXPZVT.js} +2 -2
- package/dist/cli/chunks/{chunk-YIDZ3TEN.js → chunk-SUFXUM6W.js} +2 -2
- package/dist/cli/chunks/{chunk-FFE4XAQA.js → chunk-T5K6ZCA6.js} +1 -1
- package/dist/cli/chunks/{chunk-OLD2CIDI.js → chunk-TBCQWD5A.js} +1 -1
- package/dist/cli/chunks/{chunk-X7JEBPEW.js → chunk-TCJ65NPY.js} +1 -1
- package/dist/cli/chunks/{chunk-EZPWSS3B.js → chunk-TJCMG3QE.js} +2 -2
- package/dist/cli/chunks/{chunk-P4WE6VRR.js → chunk-TLUMENRZ.js} +2 -2
- package/dist/cli/chunks/{chunk-7D6NVIGP.js → chunk-TR37Q7A6.js} +2 -2
- package/dist/cli/chunks/{chunk-UGYXUPGN.js → chunk-UE33MZOC.js} +2 -2
- package/dist/cli/chunks/{chunk-5LN7FQZI.js → chunk-UGUZFUQG.js} +2 -2
- package/dist/cli/chunks/{chunk-CZWWC7GC.js → chunk-UOHZRR5C.js} +1 -1
- package/dist/cli/chunks/{chunk-VCYOFWMG.js → chunk-UTFNHITI.js} +2 -2
- package/dist/cli/chunks/{chunk-FTFIA4I5.js → chunk-V3ISBQ5Q.js} +2 -2
- package/dist/cli/chunks/{chunk-ISGFAMHZ.js → chunk-V5RP2SU3.js} +2 -2
- package/dist/cli/chunks/{chunk-ANUZGOLQ.js → chunk-VEKRK3R6.js} +2 -2
- package/dist/cli/chunks/{chunk-P4FRYNHL.js → chunk-VGYLV6VD.js} +1 -1
- package/dist/cli/chunks/{chunk-DZHIE5UW.js → chunk-VLL7ASGH.js} +2 -2
- package/dist/cli/chunks/{chunk-VT5SMBEM.js → chunk-W5HQQTVH.js} +1 -1
- package/dist/cli/chunks/{chunk-JJ7WAU4I.js → chunk-W5NHBYYS.js} +2 -2
- package/dist/cli/chunks/{chunk-URRPJ3M7.js → chunk-W6K77PQR.js} +1 -1
- package/dist/cli/chunks/{chunk-ZV7LJPSI.js → chunk-WFDDWRWY.js} +5 -5
- package/dist/cli/chunks/{chunk-OTJ22IO2.js → chunk-WHBDSJUE.js} +3 -3
- package/dist/cli/chunks/{chunk-VYERAOQL.js → chunk-WONHFDWF.js} +2 -2
- package/dist/cli/chunks/{chunk-WBR4VRQE.js → chunk-WPG6SW7C.js} +2 -2
- package/dist/cli/chunks/{chunk-B6QTNTCU.js → chunk-WQZR6DS6.js} +2 -2
- package/dist/cli/chunks/{chunk-4BWDCUZZ.js → chunk-WTFVYFRZ.js} +1 -1
- package/dist/cli/chunks/{chunk-DXA7RLYU.js → chunk-WYE3ICSL.js} +2 -2
- package/dist/cli/chunks/{chunk-KLGFEHEN.js → chunk-X4PGLEPQ.js} +2 -2
- package/dist/cli/chunks/{chunk-P725KXHX.js → chunk-X6W35QXO.js} +2 -2
- package/dist/cli/chunks/{chunk-BAPMEDWC.js → chunk-XCVD57GW.js} +1 -1
- package/dist/cli/chunks/{chunk-3DKYBHNA.js → chunk-XYZUBAR6.js} +4 -4
- package/dist/cli/chunks/{chunk-VWCFXCSV.js → chunk-XZGRHJGC.js} +2 -2
- package/dist/cli/chunks/{chunk-X4OESN7M.js → chunk-YDM2DPUU.js} +2 -2
- package/dist/cli/chunks/{chunk-4OQSAUKR.js → chunk-YDMPTCJ3.js} +2 -2
- package/dist/cli/chunks/{chunk-CMYZWIXS.js → chunk-YM3GAJMN.js} +2 -2
- package/dist/cli/chunks/{chunk-FZ3TQAPW.js → chunk-YTMWPGVR.js} +1 -1
- package/dist/cli/chunks/{chunk-D7NOHASX.js → chunk-YWX7KLNG.js} +3 -3
- package/dist/cli/chunks/{chunk-G35KP72N.js → chunk-ZE6WJDXM.js} +2 -2
- package/dist/cli/chunks/{chunk-C6M27NQE.js → chunk-ZX4I7IND.js} +2 -2
- package/dist/cli/chunks/{chunk-EPEKEUCF.js → chunk-ZZV6GR46.js} +1 -1
- package/dist/cli/chunks/{ci-63JINRNB.js → ci-K7DG4GSO.js} +3 -3
- package/dist/cli/chunks/{ci-output-CRFWLUAA.js → ci-output-EBSUG6HP.js} +2 -2
- package/dist/cli/chunks/{circuit-breaker-PJLG3WYL.js → circuit-breaker-P6N6YIRZ.js} +2 -2
- package/dist/cli/chunks/{claude-flow-setup-UKHSQMJU.js → claude-flow-setup-P6EZPQZT.js} +2 -2
- package/dist/cli/chunks/client-ZYH66YRI.js +2 -0
- package/dist/cli/chunks/{cline-installer-PYQ27AS3.js → cline-installer-EVZZ3EFY.js} +2 -2
- package/dist/cli/chunks/{code-K7VGLZ3W.js → code-3WLBG2XK.js} +3 -3
- package/dist/cli/chunks/{code-index-extractor-NNWAVWSL.js → code-index-extractor-ZP6D4WL2.js} +2 -2
- package/dist/cli/chunks/{codex-installer-U4VJIKRN.js → codex-installer-XAUI4SB7.js} +2 -2
- package/dist/cli/chunks/{completions-DOCI3P4W.js → completions-RHFNDDG3.js} +2 -2
- package/dist/cli/chunks/{complexity-analyzer-RFW2QRFR.js → complexity-analyzer-DCW7Q3OR.js} +2 -2
- package/dist/cli/chunks/{continuedev-installer-S5WXXOBU.js → continuedev-installer-53SQA5T6.js} +2 -2
- package/dist/cli/chunks/{copilot-installer-AAQ6YLVJ.js → copilot-installer-SXXMFB6T.js} +2 -2
- package/dist/cli/chunks/core-handlers-XKSPHEHE.js +2 -0
- package/dist/cli/chunks/{cost-tracker-R4VOHTWQ.js → cost-tracker-CKLDQ5AZ.js} +2 -2
- package/dist/cli/chunks/{coverage-P54HPCLV.js → coverage-AWCS2SP7.js} +3 -3
- package/dist/cli/chunks/cross-domain-router-6VYNFQZA.js +2 -0
- package/dist/cli/chunks/{cursor-installer-VHBWZE5A.js → cursor-installer-4TYF5V5J.js} +2 -2
- package/dist/cli/chunks/{daemon-JLH5TTWZ.js → daemon-CTZXGN5V.js} +4 -4
- package/dist/cli/chunks/{daemon-BTRSWNB4.js → daemon-OOY4H6RJ.js} +3 -3
- package/dist/cli/chunks/{dag-attention-scheduler-5Z6DCRFK.js → dag-attention-scheduler-3WG24Q33.js} +2 -2
- package/dist/cli/chunks/{detect-NWGASRJJ.js → detect-O7MUZ6NX.js} +2 -2
- package/dist/cli/chunks/{dist-node-XMNNSEFJ.js → dist-node-H4XI7BAF.js} +2 -2
- package/dist/cli/chunks/{domain-handler-BWVBZTNR.js → domain-handler-FU4WZ23B.js} +2 -2
- package/dist/cli/chunks/{domain-plugins-YAD4USA4.js → domain-plugins-XK26KYNJ.js} +2 -2
- package/dist/cli/chunks/{domain-transfer-Z3MRPZEZ.js → domain-transfer-6B5NOVH6.js} +2 -2
- package/dist/cli/chunks/dream-DRSSIHPP.js +2 -0
- package/dist/cli/chunks/{embed-and-insert-pattern-5CCO45WC.js → embed-and-insert-pattern-XNZXPZNL.js} +2 -2
- package/dist/cli/chunks/{eval-JEMLTGY4.js → eval-J3Q5TTI7.js} +2 -2
- package/dist/cli/chunks/{experience-capture-middleware-FKVYBBAN.js → experience-capture-middleware-COKIGMXW.js} +3 -3
- package/dist/cli/chunks/{fast-paths-TFL32H3C.js → fast-paths-IHWPJI6I.js} +2 -2
- package/dist/cli/chunks/{feature-flags-CNGAUUMT.js → feature-flags-G7ONDNTT.js} +2 -2
- package/dist/cli/chunks/{feature-flags-OHGD2NCW.js → feature-flags-WUXFWZLR.js} +2 -2
- package/dist/cli/chunks/{file-discovery-IHGDYW34.js → file-discovery-JN3YMBOJ.js} +2 -2
- package/dist/cli/chunks/{fleet-OGTSDGJ2.js → fleet-OUHUZJE4.js} +3 -3
- package/dist/cli/chunks/{gnn-wrapper-QYTTKNCE.js → gnn-wrapper-PRH55ZT6.js} +2 -2
- package/dist/cli/chunks/{heartbeat-handler-R5OD2SKN.js → heartbeat-handler-6YF35AQS.js} +4 -4
- package/dist/cli/chunks/heartbeat-scheduler-FMICCNWK.js +2 -0
- package/dist/cli/chunks/hnsw-adapter-4TGBNJEZ.js +2 -0
- package/dist/cli/chunks/hnsw-index-J4NSCPAZ.js +2 -0
- package/dist/cli/chunks/{hnsw-legacy-bridge-ULJWYXBQ.js → hnsw-legacy-bridge-7PAFSTJO.js} +2 -2
- package/dist/cli/chunks/{hnswlib-node-SYKJXGE2.js → hnswlib-node-UETDZNNN.js} +2 -2
- package/dist/cli/chunks/{hooks-XAJXPXTU.js → hooks-QQNUKQAS.js} +10 -10
- package/dist/cli/chunks/hybrid-backend-NKPA3QE7.js +2 -0
- package/dist/cli/chunks/{hypergraph-engine-GIBPGW4N.js → hypergraph-engine-5GDGE3ET.js} +2 -2
- package/dist/cli/chunks/{hypergraph-handler-ENFK6IDN.js → hypergraph-handler-C3F2OJYA.js} +3 -3
- package/dist/cli/chunks/impact-analyzer-MWX7XY7X.js +2 -0
- package/dist/cli/chunks/{init-handler-CSA62LGT.js → init-handler-C7ZBDAC5.js} +6 -6
- package/dist/cli/chunks/init-wizard-EX5N5Q7X.js +2 -0
- package/dist/cli/chunks/kernel-EQLZDHDD.js +2 -0
- package/dist/cli/chunks/{kilocode-installer-YXFIRTSA.js → kilocode-installer-VLJENC76.js} +2 -2
- package/dist/cli/chunks/{kiro-installer-JW3BG2MQ.js → kiro-installer-UYPYM6LA.js} +2 -2
- package/dist/cli/chunks/knowledge-graph-A3WSMQ6U.js +2 -0
- package/dist/cli/chunks/{learning-BDBZ7ZVG.js → learning-SFIWIG6Z.js} +3 -3
- package/dist/cli/chunks/{llm-router-CCX2DYTC.js → llm-router-V633KAS5.js} +4 -4
- package/dist/cli/chunks/llm-router-service-A6XYWTL6.js +2 -0
- package/dist/cli/chunks/{load-UJTTEOOK.js → load-UWZV4JRA.js} +2 -2
- package/dist/cli/chunks/load-test-WF2PCXLI.js +2 -0
- package/dist/cli/chunks/{mcp-2NAJYREC.js → mcp-XVFHUKCP.js} +2 -2
- package/dist/cli/chunks/{memory-C3UQSN5F.js → memory-BQ5652VK.js} +5 -5
- package/dist/cli/chunks/memory-backend-BKGLI2RF.js +2 -0
- package/dist/cli/chunks/{memory-handlers-ESFIJENU.js → memory-handlers-PWI3G4P4.js} +2 -2
- package/dist/cli/chunks/{multi-model-executor-SIHSHAD7.js → multi-model-executor-X6AQ7VVR.js} +2 -2
- package/dist/cli/chunks/{opencode-installer-KDYHUGPG.js → opencode-installer-N3V2Z4EF.js} +2 -2
- package/dist/cli/chunks/{orchestrator-MJHIQEHD.js → orchestrator-KNEKS4F7.js} +5 -5
- package/dist/cli/chunks/pattern-null-store-YTBLEH7D.js +2 -0
- package/dist/cli/chunks/{pattern-usage-recorder-OLBE4UIF.js → pattern-usage-recorder-MZIM6XWU.js} +2 -2
- package/dist/cli/chunks/{pipeline-IOK2CV3U.js → pipeline-LNLBKSXR.js} +2 -2
- package/dist/cli/chunks/{platform-53JQ7JXN.js → platform-OMUDXHD3.js} +2 -2
- package/dist/cli/chunks/{plugin-L5SDIWDI.js → plugin-HGY6KKZW.js} +2 -2
- package/dist/cli/chunks/{prime-radiant-advanced-wasm-2DS67JFS.js → prime-radiant-advanced-wasm-LZBHLQYN.js} +2 -2
- package/dist/cli/chunks/{project-root-LQMOFO2Z.js → project-root-VPSCDBMD.js} +2 -2
- package/dist/cli/chunks/protocol-executor-HFR2D54O.js +2 -0
- package/dist/cli/chunks/{protocol-handler-NXG2M43B.js → protocol-handler-LZXT3TXU.js} +2 -2
- package/dist/cli/chunks/{prove-7K7PFSSX.js → prove-I4VKQEYQ.js} +2 -2
- package/dist/cli/chunks/qe-reasoning-bank-MYFBQUYV.js +2 -0
- package/dist/cli/chunks/{quality-ATILUGMJ.js → quality-VVAWK2DD.js} +2 -2
- package/dist/cli/chunks/{quality-gate-MPZMDPIZ.js → quality-gate-RGXLWYT6.js} +3 -3
- package/dist/cli/chunks/queen-coordinator-CQQMOTIW.js +2 -0
- package/dist/cli/chunks/{real-embeddings-VZN3KIAI.js → real-embeddings-WM66PMQ6.js} +2 -2
- package/dist/cli/chunks/{ref-validation-EUATPVXX.js → ref-validation-ZIWJNI6M.js} +2 -2
- package/dist/cli/chunks/{roocode-installer-7M2GOUNZ.js → roocode-installer-QYSI3STC.js} +2 -2
- package/dist/cli/chunks/router-GKWLPA3N.js +2 -0
- package/dist/cli/chunks/routing-feedback-WA4D5JRF.js +2 -0
- package/dist/cli/chunks/{routing-handler-VWANE652.js → routing-handler-BID3EOLE.js} +2 -2
- package/dist/cli/chunks/{ruvector-commands-B2YIPGOV.js → ruvector-commands-DXIFMF4W.js} +2 -2
- package/dist/cli/chunks/rvf-dual-writer-H3ZXS5MA.js +2 -0
- package/dist/cli/chunks/rvf-migration-adapter-J7MTCOQA.js +2 -0
- package/dist/cli/chunks/{rvf-migration-coordinator-RQXOQJ5T.js → rvf-migration-coordinator-EV5E6SAO.js} +2 -2
- package/dist/cli/chunks/rvf-native-adapter-HXBY4VYI.js +2 -0
- package/dist/cli/chunks/{rvf-store-integrity-7P5YDXRH.js → rvf-store-integrity-IT6DCCJK.js} +2 -2
- package/dist/cli/chunks/safe-db-INVJ5LHR.js +2 -0
- package/dist/cli/chunks/schedule-XRIPPL52.js +2 -0
- package/dist/cli/chunks/scheduler-HBN3KPRW.js +2 -0
- package/dist/cli/chunks/{security-VJ7TVSQF.js → security-AAFAEATQ.js} +3 -3
- package/dist/cli/chunks/{shared-rvf-adapter-63NXQFBX.js → shared-rvf-adapter-QIHSYHAF.js} +2 -2
- package/dist/cli/chunks/{shared-rvf-dual-writer-JQRP7P5A.js → shared-rvf-dual-writer-V7OZ6TBR.js} +2 -2
- package/dist/cli/chunks/sqlite-persistence-6KNLT5Q2.js +2 -0
- package/dist/cli/chunks/{standalone-memory-WJ72PH5P.js → standalone-memory-ALZI6VPX.js} +2 -2
- package/dist/cli/chunks/{status-handler-G72ZSLAX.js → status-handler-DED5A3OW.js} +2 -2
- package/dist/cli/chunks/{structural-health-HYBGP4BD.js → structural-health-CB7L3NWH.js} +2 -2
- package/dist/cli/chunks/{sync-O5FQAHT7.js → sync-QNPGETIO.js} +2 -2
- package/dist/cli/chunks/{sync-5YMZZIF4.js → sync-S6Z2U46T.js} +2 -2
- package/dist/cli/chunks/{task-handler-E6IFNHZG.js → task-handler-CGHXYFIF.js} +2 -2
- package/dist/cli/chunks/{task-handlers-P3GC2L5L.js → task-handlers-A6BGQJIB.js} +3 -3
- package/dist/cli/chunks/{test-OU6ERW67.js → test-IISTF5W6.js} +4 -4
- package/dist/cli/chunks/{test-scheduling-3HY4I3HY.js → test-scheduling-FKYX4OLF.js} +3 -3
- package/dist/cli/chunks/{token-bootstrap-A5QA4CWK.js → token-bootstrap-OKO3JEKT.js} +2 -2
- package/dist/cli/chunks/{token-usage-MUNQVPFT.js → token-usage-25BRFKJ5.js} +2 -2
- package/dist/cli/chunks/{transformers-IEO25W5V.js → transformers-TBVVSZMF.js} +2 -2
- package/dist/cli/chunks/{tree-sitter-wasm-parser-T2EQHEAY.js → tree-sitter-wasm-parser-N7KCOQT4.js} +2 -2
- package/dist/cli/chunks/{types-ODCPGCID.js → types-TFHWJGRK.js} +2 -2
- package/dist/cli/chunks/unified-memory-WVELSL6T.js +2 -0
- package/dist/cli/chunks/unified-memory-hnsw-7P5MVKXD.js +2 -0
- package/dist/cli/chunks/unified-persistence-YLFCEWYY.js +2 -0
- package/dist/cli/chunks/{upgrade-4DN6EIW2.js → upgrade-4VWQU7RD.js} +2 -2
- package/dist/cli/chunks/{validate-TBNAPDE3.js → validate-FF7WVXMP.js} +2 -2
- package/dist/cli/chunks/{validate-swarm-ZN7XXUY4.js → validate-swarm-NRLH4EDC.js} +2 -2
- package/dist/cli/chunks/visual-security-T5OM742H.js +2 -0
- package/dist/cli/chunks/{web-tree-sitter-DWAWVD2X.js → web-tree-sitter-VVU3LULW.js} +2 -2
- package/dist/cli/chunks/{windsurf-installer-U6EROS5S.js → windsurf-installer-Q2ZNWG2D.js} +2 -2
- package/dist/cli/chunks/witness-chain-D6X4OZP5.js +2 -0
- package/dist/cli/chunks/{witness-chain-EQEJS2P4.js → witness-chain-FP3D4PQL.js} +2 -2
- package/dist/cli/chunks/{witness-chain-repair-KBXDRXS3.js → witness-chain-repair-3LG4BF7C.js} +2 -2
- package/dist/cli/chunks/{witness-chain-verifier-HSQGZ4R4.js → witness-chain-verifier-LACGL6BK.js} +2 -2
- package/dist/cli/chunks/{witness-key-manager-RAODG73T.js → witness-key-manager-GQZIB5ZE.js} +2 -2
- package/dist/cli/chunks/{workflow-KNFJNNKG.js → workflow-JPA5Y7L6.js} +4 -4
- package/dist/cli/chunks/workflow-orchestrator-OORDDKT3.js +2 -0
- package/dist/cli/chunks/{wrappers-NIJBA22T.js → wrappers-2B5NHICD.js} +2 -2
- package/dist/mcp/bundle.js +3 -3
- package/package.json +1 -1
- package/dist/cli/chunks/adapter-D7G5MIDQ.js +0 -2
- package/dist/cli/chunks/aqe-learning-engine-G6TUFGHC.js +0 -2
- package/dist/cli/chunks/base-B45BOC7E.js +0 -2
- package/dist/cli/chunks/browser-workflow-MIBU4XMV.js +0 -2
- package/dist/cli/chunks/chunk-AIE6OKCD.js +0 -2
- package/dist/cli/chunks/client-A4FTITK3.js +0 -2
- package/dist/cli/chunks/core-handlers-FO3QTNWI.js +0 -2
- package/dist/cli/chunks/cross-domain-router-LIV6SRWF.js +0 -2
- package/dist/cli/chunks/dream-DNLGHYXY.js +0 -2
- package/dist/cli/chunks/heartbeat-scheduler-DL4LXXJF.js +0 -2
- package/dist/cli/chunks/hnsw-adapter-Y64M43J4.js +0 -2
- package/dist/cli/chunks/hnsw-index-5V6DDMTA.js +0 -2
- package/dist/cli/chunks/hybrid-backend-JWT2V4FQ.js +0 -2
- package/dist/cli/chunks/impact-analyzer-XUZQSZZC.js +0 -2
- package/dist/cli/chunks/init-wizard-KDJKHEPN.js +0 -2
- package/dist/cli/chunks/kernel-MUDYPGFR.js +0 -2
- package/dist/cli/chunks/knowledge-graph-GR52N7PU.js +0 -2
- package/dist/cli/chunks/llm-router-service-QL6LVKZ4.js +0 -2
- package/dist/cli/chunks/load-test-76V75WZ5.js +0 -2
- package/dist/cli/chunks/memory-backend-SMQRS5QN.js +0 -2
- package/dist/cli/chunks/pattern-null-store-MWAJMOYU.js +0 -2
- package/dist/cli/chunks/protocol-executor-32X3GAJT.js +0 -2
- package/dist/cli/chunks/qe-reasoning-bank-KAFV3TGI.js +0 -2
- package/dist/cli/chunks/queen-coordinator-L3SODGRX.js +0 -2
- package/dist/cli/chunks/router-DDCSSXYQ.js +0 -2
- package/dist/cli/chunks/routing-feedback-RFASKYCD.js +0 -2
- package/dist/cli/chunks/rvf-dual-writer-HCIF2G56.js +0 -2
- package/dist/cli/chunks/rvf-migration-adapter-UVAHQ7SV.js +0 -2
- package/dist/cli/chunks/rvf-native-adapter-F2I5FFHK.js +0 -2
- package/dist/cli/chunks/safe-db-6ZAA4S23.js +0 -2
- package/dist/cli/chunks/schedule-SM5Q6UVP.js +0 -2
- package/dist/cli/chunks/scheduler-4EYP4EZ6.js +0 -2
- package/dist/cli/chunks/sqlite-persistence-KLN2K266.js +0 -2
- package/dist/cli/chunks/unified-memory-B5IA2KKQ.js +0 -2
- package/dist/cli/chunks/unified-memory-hnsw-YF74LL3Z.js +0 -2
- package/dist/cli/chunks/unified-persistence-VZMGNGWY.js +0 -2
- package/dist/cli/chunks/visual-security-ZV3BLLSH.js +0 -2
- package/dist/cli/chunks/witness-chain-OA24MQWX.js +0 -2
- package/dist/cli/chunks/workflow-orchestrator-IMX2LSVE.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,50 @@ All notable changes to the Agentic QE project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.15.1] - 2026-10-10
|
|
9
|
+
|
|
10
|
+
This patch hardens the aqe-mod guard that ships with the `agentic-qe-fleet`
|
|
11
|
+
plugin. After 3.15.0, adversarial reviews found many ordinary shell and
|
|
12
|
+
PowerShell commands that the guard let through, and that would delete or
|
|
13
|
+
overwrite your AQE learning data. The guard now refuses whenever it cannot
|
|
14
|
+
prove the learning store is untouched, and everyday dev commands still pass.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **The aqe-mod guard protects your learning data much more reliably.** It
|
|
19
|
+
now refuses commands that reach `.agentic-qe/*.db` indirectly, including:
|
|
20
|
+
- `rm` fed by `$(find …)`, `$(ls -A …)`, `$(git status …)`, variables,
|
|
21
|
+
arrays, `mapfile`, `while read` loops, here-strings or `xargs`;
|
|
22
|
+
- `find … -delete` and `find -exec`, unless an exclusion really protects
|
|
23
|
+
the store;
|
|
24
|
+
- `bash -c`/`sh -c`, `eval` and interpreter one-liners (Node, Python, Perl,
|
|
25
|
+
Ruby and others) that delete or overwrite the store;
|
|
26
|
+
- destructive SQL against the store (`DROP`, `DELETE`, `TRUNCATE`,
|
|
27
|
+
`UPDATE`, `ALTER … DROP`), SQL it cannot read, and other SQLite clients;
|
|
28
|
+
- PowerShell pipelines, variables, splatting, `foreach`, `.Delete()`,
|
|
29
|
+
`Invoke-Expression`, `Start-Process` and `pwsh -c`;
|
|
30
|
+
- more delete tools: `rimraf`, `shx rm`, `trash`, `sponge`,
|
|
31
|
+
`awk -i inplace`, and archives extracted into `.agentic-qe` ([#920]).
|
|
32
|
+
- **Everyday commands keep working.** For example, these pass:
|
|
33
|
+
- `rm -rf dist build`, `rm -rf "$OUT_DIR"`, `rm -rf "$(mktemp -d)"` and
|
|
34
|
+
`rm -rf "$(npm config get cache)"`;
|
|
35
|
+
- `git clean -fdx dist/`, `npm ci`, `aqe init --auto`, `sqlite3 -readonly`
|
|
36
|
+
and `find . -name '*.tmp' -delete`;
|
|
37
|
+
- `Get-ChildItem -Recurse | Where-Object Extension -eq '.tmp' | Remove-Item`,
|
|
38
|
+
and backups made with `cp` ([#920]).
|
|
39
|
+
- **The guard can't be made to hang.** Pathological inputs, such as huge
|
|
40
|
+
brace or variable expansions, many globs or very long pipelines, are judged
|
|
41
|
+
quickly or refused. Realistic commands take under 5 ms to judge ([#920]).
|
|
42
|
+
|
|
43
|
+
### Known limitations
|
|
44
|
+
|
|
45
|
+
- The guard reads commands as text, so it cannot catch everything.
|
|
46
|
+
Obfuscated or computed commands, shell functions, aliases and `make`/`npm run`
|
|
47
|
+
scripts are not judged. These are tracked in [#917].
|
|
48
|
+
|
|
49
|
+
[#917]: https://github.com/proffesor-for-testing/agentic-qe/issues/917
|
|
50
|
+
[#920]: https://github.com/proffesor-for-testing/agentic-qe/pull/920
|
|
51
|
+
|
|
8
52
|
## [3.15.0] - 2026-10-09
|
|
9
53
|
|
|
10
54
|
This release makes the `agentic-qe-fleet` Claude Code plugin ready for the
|
package/dist/cli/bundle.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.
|
|
3
|
-
import{b}from"./chunks/chunk-
|
|
2
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
3
|
+
import{b}from"./chunks/chunk-W5HQQTVH.js";import{b as v,c as E,e as A}from"./chunks/chunk-IUGY6Z4Q.js";import{d as P}from"./chunks/chunk-WONHFDWF.js";import{a as C}from"./chunks/chunk-PZDI7WQ3.js";import{b as L,c as y,d as I}from"./chunks/chunk-UGUZFUQG.js";import{a as W}from"./chunks/chunk-2K3QFLX2.js";import{b as k,c as F}from"./chunks/chunk-7FGSX4UD.js";import"./chunks/chunk-46DUU44C.js";import{a as g,e as T}from"./chunks/chunk-ARWSPV2C.js";import{Q as w,S as H}from"./chunks/chunk-HU4QGCIJ.js";import{h as S}from"./chunks/chunk-OABFAREV.js";import"./chunks/chunk-25IWHVMW.js";import"./chunks/chunk-TCJ65NPY.js";import"./chunks/chunk-YM3GAJMN.js";import"./chunks/chunk-PNK5KHSI.js";T();H();import{createRequire as G}from"node:module";import{Command as j}from"commander";import l from"chalk";W();F();I();var x=!1;function h(){if(!x){x=!0;try{P()}catch{}try{S()}catch{}try{L()}catch{}}}function D(e,a,c,i){let m=e.command(a).description(c);if(i)for(let u of i)m.alias(u);return m.helpOption(!1),m.allowUnknownOption(!0),m.allowExcessArguments(!0),m}function R(e,a){let c=e.commands,i=c.indexOf(a);i>=0&&c.splice(i,1)}function n(e,a){let c=D(e,a.name,a.description,a.aliases);c.action(async()=>{try{let i=await a.factory();R(e,c),e.addCommand(i),await e.parseAsync(process.argv)}catch(i){console.error(`Failed to load command '${a.name}':`,i instanceof Error?i.message:i),process.exit(1)}})}function d(e,a,c,i,m,u){let f=D(e,a,c,u);f.action(async()=>{try{let p=await i();R(e,f),p.register(e,m),await e.parseAsync(process.argv)}catch(p){console.error(`Failed to load command '${a}':`,p instanceof Error?p.message:p),process.exit(1)}})}I();A();process.on("exit",h);var t={kernel:null,queen:null,router:null,workflowOrchestrator:null,scheduledWorkflows:new Map,persistentScheduler:null,initialized:!1};function q(e,a){let c=e.getDomainAPI("visual-accessibility");if(c?.registerWorkflowActions)try{c.registerWorkflowActions(a)}catch(m){console.error(l.yellow(` Warning: Could not register visual-accessibility workflow actions: ${g(m)}`))}let i=e.getDomainAPI("requirements-validation");if(i?.registerWorkflowActions)try{i.registerWorkflowActions(a)}catch(m){console.error(l.yellow(` Warning: Could not register requirements-validation workflow actions: ${g(m)}`))}}async function B(){let{QEKernelImpl:e}=await import("./chunks/kernel-EQLZDHDD.js"),{CrossDomainEventRouter:a}=await import("./chunks/cross-domain-router-6VYNFQZA.js"),{DefaultProtocolExecutor:c}=await import("./chunks/protocol-executor-HFR2D54O.js"),{WorkflowOrchestrator:i}=await import("./chunks/workflow-orchestrator-OORDDKT3.js"),{createQueenCoordinator:m}=await import("./chunks/queen-coordinator-CQQMOTIW.js"),{createPersistentScheduler:u}=await import("./chunks/scheduler-HBN3KPRW.js"),{loadCLIDomainPlugins:f}=await import("./chunks/domain-plugins-XK26KYNJ.js");t.kernel=new e({maxConcurrentAgents:15,memoryBackend:"sqlite",hnswEnabled:!0,lazyLoading:!0,enabledDomains:[...C],enableExperienceBridge:!1}),await t.kernel.initialize();let p=await f(t.kernel.plugins);t.router=new a(t.kernel.eventBus),await t.router.initialize();let O=_=>t.kernel.getDomainAPI(_),V=new c(t.kernel.eventBus,t.kernel.memory,O);t.workflowOrchestrator=new i(t.kernel.eventBus,t.kernel.memory,t.kernel.coordinator),await t.workflowOrchestrator.initialize(),q(t.kernel,t.workflowOrchestrator),t.persistentScheduler=u(),t.queen=m(t.kernel,t.router,V,void 0,p),await t.queen.initialize();let{adoptExternalFleet:M}=await import("./chunks/core-handlers-XKSPHEHE.js");M({kernel:t.kernel,queen:t.queen,router:t.router,workflowOrchestrator:t.workflowOrchestrator}),t.initialized=!0}async function Q(){if(t.initialized&&t.kernel&&t.queen)return!0;let e=await import("fs"),a=await import("path"),{findProjectRoot:c}=await import("./chunks/project-root-VPSCDBMD.js"),i=a.join(c(),".agentic-qe");return e.existsSync(i)?s():(console.error(l.red(`
|
|
4
4
|
Error: AQE system not initialized in this directory.`)),console.log(l.yellow("Run `aqe init` first to set up this project.\n")),process.exitCode=1,!1)}async function s(){if(t.initialized&&t.kernel&&t.queen)return!0;let e=E(1);e&&process.stderr.write(l.gray("Auto-initializing v3 system...")+`
|
|
5
5
|
`);let a=3e4,c=new Promise((i,m)=>{setTimeout(()=>m(new Error("Initialization timeout after 30 seconds")),a)});try{return await Promise.race([B(),c]),e&&process.stderr.write(l.green("System ready")+`
|
|
6
6
|
|
|
7
|
-
`),!0}catch(i){return i.message.includes("timeout")?(console.error(l.red("Initialization timed out after 30 seconds.")),console.log(l.yellow("Try running `aqe init` manually."))):(console.error(l.red("Failed to auto-initialize:"),i),console.log(l.yellow("Try running `aqe init` manually."))),process.exitCode=1,!1}}async function o(e=0){try{t.workflowOrchestrator&&t.workflowOrchestrator.dispose().catch(()=>{}),t.queen&&t.queen.dispose().catch(()=>{}),t.router&&t.router.dispose().catch(()=>{}),t.kernel&&t.kernel.dispose().catch(()=>{})}catch{}h(),process.exit(e)}var r=new j,N=G(import.meta.url),de=N("../../package.json").version,z="3.15.
|
|
7
|
+
`),!0}catch(i){return i.message.includes("timeout")?(console.error(l.red("Initialization timed out after 30 seconds.")),console.log(l.yellow("Try running `aqe init` manually."))):(console.error(l.red("Failed to auto-initialize:"),i),console.log(l.yellow("Try running `aqe init` manually."))),process.exitCode=1,!1}}async function o(e=0){try{t.workflowOrchestrator&&t.workflowOrchestrator.dispose().catch(()=>{}),t.queen&&t.queen.dispose().catch(()=>{}),t.router&&t.router.dispose().catch(()=>{}),t.kernel&&t.kernel.dispose().catch(()=>{})}catch{}h(),process.exit(e)}var r=new j,N=G(import.meta.url),de=N("../../package.json").version,z="3.15.1";r.name("aqe").description("Agentic QE - Domain-Driven Quality Engineering").version(z).addHelpText("after",`
|
|
8
8
|
Environment:
|
|
9
9
|
AQE_LOG_LEVEL Internal log level: debug | info | warn | error | silent (default: warn)
|
|
10
10
|
LOG_LEVEL Same as AQE_LOG_LEVEL; AQE_LOG_LEVEL takes precedence
|
|
11
11
|
AQE_VERBOSE=1 Shorthand for info-level logging (full system-init output)
|
|
12
|
-
Diagnostics are written to stderr; stdout carries command output only.`);r.hook("preAction",(e,a)=>{v(a.opts())});d(r,"init","Initialize the AQE v3 system",()=>import("./chunks/init-handler-
|
|
12
|
+
Diagnostics are written to stderr; stdout carries command output only.`);r.hook("preAction",(e,a)=>{v(a.opts())});d(r,"init","Initialize the AQE v3 system",()=>import("./chunks/init-handler-C7ZBDAC5.js").then(e=>e.createInitHandler(o)),t);d(r,"status","Show system status",()=>import("./chunks/status-handler-DED5A3OW.js").then(e=>e.createStatusHandler(o,Q)),t);d(r,"health","Check system health",()=>import("./chunks/status-handler-DED5A3OW.js").then(e=>e.createHealthHandler(o,Q)),t);d(r,"task","Manage QE tasks",()=>import("./chunks/task-handler-CGHXYFIF.js").then(e=>e.createTaskHandler(o,s)),t);d(r,"agent","Manage QE agents",()=>import("./chunks/agent-handler-CL7MJP5W.js").then(e=>e.createAgentHandler(o,s)),t);d(r,"domain","Domain operations",()=>import("./chunks/domain-handler-FU4WZ23B.js").then(e=>e.createDomainHandler(o,s)),t);d(r,"protocol","Execute coordination protocols",()=>import("./chunks/protocol-handler-LZXT3TXU.js").then(e=>e.createProtocolHandler(o,s)),t);d(r,"brain","Export, import, and inspect QE brain state",()=>import("./chunks/brain-handler-FBXBM5XE.js").then(e=>e.createBrainHandler(o,s)),t);d(r,"hypergraph","Query the code knowledge hypergraph",()=>import("./chunks/hypergraph-handler-C3F2OJYA.js").then(e=>e.createHypergraphHandler(o,s)),t,["hg"]);d(r,"heartbeat","Manage the token-free heartbeat scheduler",()=>import("./chunks/heartbeat-handler-6YF35AQS.js").then(e=>e.createHeartbeatHandler(o)),t);d(r,"routing","View routing performance, economics, and accuracy",()=>import("./chunks/routing-handler-BID3EOLE.js").then(e=>e.createRoutingHandler(o)),t);n(r,{name:"workflow",description:"Manage QE workflows and pipelines (ADR-041)",factory:()=>import("./chunks/workflow-JPA5Y7L6.js").then(e=>e.createWorkflowCommand(t,o,s))});n(r,{name:"test",description:"Test generation, execution, scheduling, and load testing",factory:()=>import("./chunks/test-IISTF5W6.js").then(e=>e.createTestCommand(t,o,s))});n(r,{name:"coverage",description:"Coverage analysis shortcut",factory:()=>import("./chunks/coverage-AWCS2SP7.js").then(e=>e.createCoverageCommand(t,o,s))});n(r,{name:"quality",description:"Quality assessment shortcut",factory:()=>import("./chunks/quality-VVAWK2DD.js").then(e=>e.createQualityCommand(t,o,s))});n(r,{name:"quality-gate",description:"Two-gate, three-valued quality verdict against a pinned checklist (ADR-119)",factory:()=>import("./chunks/quality-gate-RGXLWYT6.js").then(e=>e.createQualityGateCommand(t,o,s))});n(r,{name:"security",description:"Security scanning and URL validation",factory:()=>import("./chunks/security-AAFAEATQ.js").then(e=>e.createSecurityCommand(t,o,s))});n(r,{name:"arena",description:"Competitive test-strategy tournaments (ADR-104)",factory:()=>import("./chunks/arena-GRRNK7IN.js").then(e=>e.createArenaCommand(t,o,s))});n(r,{name:"code",description:"Code intelligence analysis",factory:()=>import("./chunks/code-3WLBG2XK.js").then(e=>e.createCodeCommand(t,o,s))});n(r,{name:"completions",description:"Generate shell completions for aqe",factory:()=>import("./chunks/completions-RHFNDDG3.js").then(e=>e.createCompletionsCommand(o))});n(r,{name:"upgrade",description:"Detect optional native bindings and recommend install / flag changes",factory:()=>import("./chunks/upgrade-4VWQU7RD.js").then(e=>e.createUpgradeCommand(o))});n(r,{name:"fleet",description:"Fleet operations with multi-agent progress tracking",factory:()=>import("./chunks/fleet-OUHUZJE4.js").then(e=>e.createFleetCommand(t,o,s,q))});n(r,{name:"validate",description:"Validation commands for skills and agents",factory:()=>import("./chunks/validate-swarm-NRLH4EDC.js").then(e=>e.createValidateSwarmCommand(t,o,s))});n(r,{name:"skill",description:"Skill validation and reporting (ADR-056)",factory:()=>import("./chunks/validate-FF7WVXMP.js").then(e=>e.createValidateCommand(t,o,s))});n(r,{name:"eval",description:"Run skill evaluation suites in parallel",factory:()=>import("./chunks/eval-J3Q5TTI7.js").then(e=>e.createEvalCommand())});n(r,{name:"ci",description:"CI/CD pipeline orchestration",factory:()=>import("./chunks/ci-K7DG4GSO.js").then(e=>e.createCICommand(t,o,s))});n(r,{name:"token-usage",description:"View and analyze token consumption metrics (ADR-042)",factory:()=>import("./chunks/token-usage-25BRFKJ5.js").then(e=>e.createTokenUsageCommand())});n(r,{name:"llm",description:"LLM Router management (ADR-043)",factory:()=>import("./chunks/llm-router-V633KAS5.js").then(e=>e.createLLMRouterCommand())});n(r,{name:"sync",description:"Sync local learning data to cloud PostgreSQL",factory:()=>import("./chunks/sync-QNPGETIO.js").then(e=>e.createSyncCommands())});n(r,{name:"hooks",description:"Self-learning QE hooks for pattern recognition and guidance",factory:()=>import("./chunks/hooks-QQNUKQAS.js").then(e=>e.createHooksCommand())});n(r,{name:"learning",description:"AQE self-learning system management (standalone, no claude-flow required)",factory:()=>import("./chunks/learning-SFIWIG6Z.js").then(e=>e.createLearningCommand())});n(r,{name:"memory",description:"Memory store, retrieve, search, and delete operations",factory:()=>Promise.all([import("./chunks/memory-BQ5652VK.js"),import("./chunks/standalone-memory-ALZI6VPX.js")]).then(([e,a])=>e.createMemoryCommand(t,o,a.createEnsureMemoryBackend(t)))});n(r,{name:"mcp",description:"Start the MCP protocol server for Claude Code integration",factory:()=>import("./chunks/mcp-XVFHUKCP.js").then(e=>e.createMcpCommand())});n(r,{name:"platform",description:"Manage coding agent platform configurations",factory:()=>import("./chunks/platform-OMUDXHD3.js").then(e=>e.createPlatformCommand())});n(r,{name:"prove",description:"Generate a verifiable Proof-of-Quality attestation",factory:()=>import("./chunks/prove-I4VKQEYQ.js").then(e=>e.createProveCommand(t,o,s))});n(r,{name:"ruvector",description:"RuVector integration management",factory:()=>import("./chunks/ruvector-commands-DXIFMF4W.js").then(e=>e.createRuVectorCommand())});n(r,{name:"audit",description:"Witness chain audit trail management",factory:()=>import("./chunks/audit-EOP2K34L.js").then(e=>e.createAuditCommand(t,o,s))});n(r,{name:"pipeline",description:"Manage YAML deterministic pipelines (Imp-9)",factory:()=>import("./chunks/pipeline-LNLBKSXR.js").then(e=>e.createPipelineCommand(t,o,s))});n(r,{name:"plugin",description:"Manage external QE domain plugins",factory:()=>import("./chunks/plugin-HGY6KKZW.js").then(e=>e.createPluginCommand())});n(r,{name:"daemon",description:"Manage the QE Quality Daemon",factory:()=>import("./chunks/daemon-OOY4H6RJ.js").then(e=>e.createDaemonCommand())});process.on("SIGINT",async()=>{y("SIGINT")||(console.log(l.yellow(`
|
|
13
13
|
|
|
14
14
|
Shutting down...`)),console.log(l.green(`Shutdown complete
|
|
15
15
|
`)),await o(0))});process.on("SIGTERM",async()=>{y("SIGTERM")||(console.log(l.yellow(`
|
|
16
|
-
Received SIGTERM, shutting down gracefully...`)),await o(0))});async function U(){let{isVersionFastPath:e}=await import("./chunks/fast-paths-
|
|
16
|
+
Received SIGTERM, shutting down gracefully...`)),await o(0))});async function U(){let{isVersionFastPath:e}=await import("./chunks/fast-paths-IHWPJI6I.js");e(process.argv)&&(console.log(z),process.exit(0)),w();let a=process.argv.slice(2).filter(i=>i!=="--");if(!(a[0]==="learning"&&(a[1]==="backup"||a[1]==="restore"))){let{bootstrapTokenTracking:i}=await import("./chunks/token-bootstrap-OKO3JEKT.js");await i({enableOptimization:!0,enablePersistence:!0,verbose:process.env.AQE_VERBOSE==="true"})}await r.parseAsync(),!b()&&await o(process.exitCode??0)}U().catch(async e=>{console.error(l.red("Fatal error:"),k(e)),await o(1)});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import{a,b,c}from"./chunk-L5GEWKR3.js";import"./chunk-4XEZ562Q.js";import"./chunk-PZBYZV5M.js";import"./chunk-5C4UYXQL.js";import"./chunk-ARWSPV2C.js";import"./chunk-PNK5KHSI.js";export{a as AgentBoosterAdapter,b as createAgentBoosterAdapter,c as createAgentBoosterAdapterSync};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.
|
|
2
|
-
import{a as x}from"./chunk-
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import{a as x}from"./chunk-2K3QFLX2.js";import{e as f}from"./chunk-7FGSX4UD.js";import"./chunk-46DUU44C.js";import"./chunk-PNK5KHSI.js";x();import{createRequire as w}from"module";var S=f.create("agent-booster-wasm"),t={JavaScript:0,TypeScript:1,Python:2,Rust:3,Go:4,Java:5,C:6,Cpp:7},l={ExactReplace:0,FuzzyReplace:1,InsertAfter:2,InsertBefore:3,Append:4},v={0:"JavaScript",1:"TypeScript",2:"Python",3:"Rust",4:"Go",5:"Java",6:"C",7:"Cpp"},a=null,u=null,p=null;async function g(){if(a)return!0;if(p)return!1;try{if(a=w(import.meta.url)("./agent_booster_wasm.js"),!a)throw new Error("WASM module loaded but is null");return u=new a.AgentBoosterWasm,!0}catch(e){return p=e,console.warn("[AgentBoosterWASM] Failed to load WASM module:",e),!1}}function A(e){return{".js":t.JavaScript,".mjs":t.JavaScript,".cjs":t.JavaScript,".jsx":t.JavaScript,".ts":t.TypeScript,".tsx":t.TypeScript,".mts":t.TypeScript,".cts":t.TypeScript,".py":t.Python,".rs":t.Rust,".go":t.Go,".java":t.Java,".c":t.C,".h":t.C,".cpp":t.Cpp,".cc":t.Cpp,".cxx":t.Cpp,".hpp":t.Cpp}[e.toLowerCase()]??t.JavaScript}var M=[{name:"var-to-const",detect:(e,r)=>e.includes("var ")&&r.includes("const "),apply:(e,r)=>e.replace(/\bvar\s+/g,"const ")},{name:"var-to-let",detect:(e,r)=>e.includes("var ")&&r.includes("let "),apply:(e,r)=>e.replace(/\bvar\s+/g,"let ")},{name:"add-types-function",detect:(e,r)=>e.includes("function")&&!e.includes(":")&&r.includes(":"),apply:(e,r)=>r},{name:"async-wrapper",detect:(e,r)=>!e.includes("async")&&r.includes("async")&&r.includes("await"),apply:(e,r)=>r},{name:"try-catch-wrapper",detect:(e,r)=>!e.includes("try {")&&r.includes("try {"),apply:(e,r)=>r},{name:"null-check",detect:(e,r)=>!e.includes("if (!")&&!e.includes("if (!")&&(r.includes("if (!")||r.includes("?.")),apply:(e,r)=>r},{name:"test-assertion",detect:(e,r)=>e.includes("test(")&&!e.includes("expect(")&&r.includes("expect("),apply:(e,r)=>r}];function y(e,r){for(let n of M)if(n.detect(e,r))try{return{success:!0,code:n.apply(e,r),pattern:n.name}}catch(s){S.debug("Pattern transform failed, trying next",{pattern:n.name,error:s instanceof Error?s.message:String(s)});continue}return{success:!1,code:r}}async function b(e,r,n,s={}){let o=performance.now(),{confidenceThreshold:T=.5,allowFallback:d=!0}=s;if(!e.trim())return{success:!0,mergedCode:r,confidence:1,strategy:l.Append,syntaxValid:!0,source:"fallback",latencyMs:performance.now()-o};if(await g()&&u&&a)try{let c=a.WasmLanguage[v[n]],i=u.apply_edit(e,r,c);return{success:!0,mergedCode:i.merged_code,confidence:i.confidence,strategy:i.strategy,syntaxValid:i.syntax_valid,source:"wasm",latencyMs:performance.now()-o}}catch(c){let i=c;if(d){let m=y(e,r);if(m.success)return{success:!0,mergedCode:m.code,confidence:.7,strategy:l.FuzzyReplace,syntaxValid:!0,source:"pattern",latencyMs:performance.now()-o}}return{success:!1,mergedCode:r,confidence:0,strategy:l.Append,syntaxValid:!1,source:"fallback",latencyMs:performance.now()-o,error:i.message}}if(d){let c=y(e,r);return{success:c.success,mergedCode:c.code,confidence:c.success?.7:0,strategy:l.FuzzyReplace,syntaxValid:!0,source:"pattern",latencyMs:performance.now()-o}}return{success:!1,mergedCode:r,confidence:0,strategy:l.Append,syntaxValid:!1,source:"fallback",latencyMs:performance.now()-o,error:p?.message??"WASM not available"}}async function W(e,r={}){return Promise.all(e.map(({original:n,edit:s,language:o})=>b(n,s,o,r)))}async function C(){return g()}async function L(){return await g()&&a?a.AgentBoosterWasm.version():"unavailable"}async function R(){if(await g(),u&&a)try{u.apply_edit("function x() {}","function x() {}",a.WasmLanguage.JavaScript)}catch(e){console.debug("[AgentBoosterWASM] Warmup error:",e instanceof Error?e.message:e)}}var _={transform:b,batchTransform:W,isWasmAvailable:C,getVersion:L,warmup:R,Language:t,MergeStrategy:l,languageFromExtension:A};export{t as Language,l as MergeStrategy,W as batchTransform,_ as default,L as getVersion,C as isWasmAvailable,A as languageFromExtension,b as transform,R as warmup};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.
|
|
2
|
-
import{b as p}from"./chunk-
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import{b as p}from"./chunk-6MGJMGAD.js";import{a as g}from"./chunk-C3BW3Q27.js";import"./chunk-5C4UYXQL.js";import"./chunk-PNK5KHSI.js";import s from"chalk";var l=class{name="agent";description="Manage QE agents";cleanupAndExit;ensureInitialized;constructor(n,t){this.cleanupAndExit=n,this.ensureInitialized=t}register(n,t){let a=n.command("agent").description(this.description);a.command("list").description("List all agents").option("-d, --domain <domain>","Filter by domain").option("-s, --status <status>","Filter by status").action(async e=>{await this.executeList(e,t)}),a.command("spawn <domain>").description("Spawn an agent in a domain").option("-t, --type <type>","Agent type","worker").option("-c, --capabilities <caps>","Comma-separated capabilities","general").option("--no-progress","Disable progress indicator").action(async(e,o)=>{await this.executeSpawn(e,o,t)})}async executeList(n,t){if(await this.ensureInitialized())try{let a=n.domain?t.queen.getAgentsByDomain(n.domain):t.queen.listAllAgents();if(n.status&&(a=a.filter(e=>e.status===n.status)),console.log(s.blue(`
|
|
3
3
|
Agents (${a.length})
|
|
4
4
|
`)),a.length===0)console.log(s.gray(" No agents found"));else{let e=new Map;for(let i of a)e.has(i.domain)||e.set(i.domain,[]),e.get(i.domain).push(i);let o=Array.from(e.entries());for(let[i,m]of o){console.log(s.cyan(` ${i}:`));for(let r of m)console.log(` ${r.id}`),console.log(` Type: ${r.type}`),console.log(` Status: ${g(r.status)}`),r.startedAt&&console.log(s.gray(` Started: ${r.startedAt.toISOString()}`));console.log("")}}}catch(a){console.error(s.red(`
|
|
5
5
|
Failed to list agents:`),a),await this.cleanupAndExit(1)}}async executeSpawn(n,t,a){if(await this.ensureInitialized())try{let e=t.capabilities.split(",");console.log(s.blue(`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.
|
|
2
|
-
import"./chunk-
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import"./chunk-PNK5KHSI.js";import{existsSync as i,mkdirSync as d,unlinkSync as s,readdirSync as p,statSync as f}from"fs";import{join as o,basename as l}from"path";var v={branchDir:".agentic-qe/branches",defaultStrategy:"child-wins",orphanMaxAgeMs:36e5},g=class{config;parentAdapter;activeBranches=new Map;witnessChain=null;constructor(t,e){this.parentAdapter=t,this.config={...v,...e}}setWitnessChain(t){this.witnessChain=t}createBranch(t){if(this.activeBranches.has(t))throw new Error(`Branch already exists for agent ${t}`);i(this.config.branchDir)||d(this.config.branchDir,{recursive:!0});let e=o(this.config.branchDir,`${t}.rvf`),r=this.parentAdapter.path(),n=this.parentAdapter.derive(e),a={agentId:t,childPath:e,parentPath:r,childAdapter:n,createdAt:Date.now(),ingestLog:[]};return this.activeBranches.set(t,a),a}recordIngest(t,e){let r=this.activeBranches.get(t);if(r)for(let n of e)r.ingestLog.push({id:n.id,vector:n.vector})}async mergeBranch(t,e){let r=e??this.config.defaultStrategy,n=performance.now(),a=0;if(r==="child-wins"&&t.ingestLog.length>0)try{a=this.parentAdapter.ingest(t.ingestLog).accepted}catch(c){console.warn(`[AgentMemoryBranch] Merge replay failed for ${t.agentId}:`,c)}return this.witnessChain?.append("BRANCH_MERGE",{agentId:t.agentId,strategy:r,vectorsMerged:a,branchPath:t.childPath},`agent-${t.agentId}`),this.cleanupBranchFile(t),this.activeBranches.delete(t.agentId),{vectorsMerged:a,strategy:r,durationMs:performance.now()-n}}discardBranch(t){this.witnessChain?.append("BRANCH_DISCARD",{agentId:t.agentId,action:"discard",branchPath:t.childPath},`agent-${t.agentId}`),this.cleanupBranchFile(t),this.activeBranches.delete(t.agentId)}getBranch(t){return this.activeBranches.get(t)}getActiveBranches(){return Array.from(this.activeBranches.values())}listBranchFiles(){return i(this.config.branchDir)?p(this.config.branchDir).filter(e=>e.endsWith(".rvf")).map(e=>{let r=o(this.config.branchDir,e),n=f(r);return{agentId:l(e,".rvf"),path:r,sizeBytes:n.size,modifiedAt:n.mtime}}):[]}cleanupOrphans(t){let e=t??this.config.orphanMaxAgeMs,r=Date.now(),n=0;for(let a of this.listBranchFiles())if(r-a.modifiedAt.getTime()>e&&!this.activeBranches.has(a.agentId))try{s(a.path);let h=`${a.path}.idmap.json`;i(h)&&s(h),n++}catch{}return n}cleanupBranchFile(t){try{t.childAdapter.close()}catch{}try{i(t.childPath)&&s(t.childPath);let e=`${t.childPath}.idmap.json`;i(e)&&s(e)}catch{}}};export{g as AgentMemoryBranch};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import{a,b,c,d,e,f}from"./chunk-3TZRJ5QD.js";import"./chunk-SUFXUM6W.js";import"./chunk-OKS25EGZ.js";import"./chunk-CHX65QXY.js";import"./chunk-4KHSWNFW.js";import"./chunk-RDI3W4H6.js";import"./chunk-B3DWOR5R.js";import"./chunk-PGARKOE6.js";import"./chunk-XCVD57GW.js";import"./chunk-5QEXDXHQ.js";import"./chunk-N5OSH5JO.js";import"./chunk-EQ3BJS37.js";import"./chunk-HVAYG54D.js";import"./chunk-66HKJJFH.js";import"./chunk-W6K77PQR.js";import"./chunk-K4NB3MYN.js";import"./chunk-NF6SLLE6.js";import"./chunk-3NOSMJS4.js";import"./chunk-5C4UYXQL.js";import"./chunk-W5NHBYYS.js";import"./chunk-53HWWWFZ.js";import"./chunk-UE33MZOC.js";import"./chunk-ADEYBXAS.js";import"./chunk-WQZR6DS6.js";import"./chunk-WPG6SW7C.js";import"./chunk-4P7CGSRL.js";import"./chunk-SRXXPZVT.js";import"./chunk-LQI5GVH7.js";import"./chunk-PZDI7WQ3.js";import"./chunk-UGUZFUQG.js";import"./chunk-2K3QFLX2.js";import"./chunk-7FGSX4UD.js";import"./chunk-46DUU44C.js";import"./chunk-ARWSPV2C.js";import"./chunk-HU4QGCIJ.js";import"./chunk-OABFAREV.js";import"./chunk-25IWHVMW.js";import"./chunk-TCJ65NPY.js";import"./chunk-YM3GAJMN.js";import"./chunk-JW2HNT3J.js";import"./chunk-OH4SKOAM.js";import"./chunk-PNK5KHSI.js";export{b as AQELearningEngine,a as DEFAULT_ENGINE_CONFIG,c as DEFAULT_META_LEARNING_CONFIG,d as MetaLearningEngine,e as createAQELearningEngine,f as createDefaultLearningEngine};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.
|
|
2
|
-
import{a as c,e as f}from"./chunk-
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import{a as c,e as f}from"./chunk-ARWSPV2C.js";import"./chunk-PNK5KHSI.js";f();import{Command as $}from"commander";import r from"chalk";function x(v,g,p){let m=new $("arena").description("Competitive test-strategy tournaments (ADR-104)").addHelpText("after",`
|
|
3
3
|
Examples:
|
|
4
4
|
# Run a 4-strategy tournament against the demo fixture (reproducible under --seed)
|
|
5
5
|
aqe arena run --strategies 4 --target fixtures/arena-demo --seed 42
|
|
@@ -9,10 +9,10 @@ Examples:
|
|
|
9
9
|
|
|
10
10
|
# List persisted runs
|
|
11
11
|
aqe arena list
|
|
12
|
-
`);return m.command("run").description("Run a seeded strategy tournament against an arena fixture").requiredOption("--target <dir>","Arena fixture directory (src/*.mjs + tests/*.test.mjs)").option("--strategies <n>","Number of strategies","4").option("--seed <n>","RNG seed (same seed = same tournament)","42").option("--max-mutants <n>","Mutant sample cap","24").option("--evolve <steps>","Hill-climb steps from the winner","0").option("--json","Output the full arena-result@1 envelope as JSON").action(async a=>{try{let{runArena:i}=await import("./arena-
|
|
12
|
+
`);return m.command("run").description("Run a seeded strategy tournament against an arena fixture").requiredOption("--target <dir>","Arena fixture directory (src/*.mjs + tests/*.test.mjs)").option("--strategies <n>","Number of strategies","4").option("--seed <n>","RNG seed (same seed = same tournament)","42").option("--max-mutants <n>","Mutant sample cap","24").option("--evolve <steps>","Hill-climb steps from the winner","0").option("--json","Output the full arena-result@1 envelope as JSON").action(async a=>{try{let{runArena:i}=await import("./arena-LHLVOQHW.js"),t=i({target:a.target,strategies:parseInt(a.strategies,10),seed:parseInt(a.seed,10),maxMutants:parseInt(a.maxMutants,10),evolveSteps:parseInt(a.evolve,10),log:a.json?()=>{}:e=>console.error(r.dim(` ${e}`))});try{let{getUnifiedMemory:e}=await import("./unified-memory-WVELSL6T.js"),s=e();s.isInitialized()||await s.initialize(),s.getDatabase().prepare("INSERT OR REPLACE INTO kv_store (namespace, key, value) VALUES ('arena', ?, ?)").run(`run:${t.seed}:${t.target}`,JSON.stringify(t))}catch(e){console.error(r.dim(` note: run not persisted (${c(e)})`))}if(a.json){console.log(JSON.stringify(t,null,2));return}let d=new Map(t.strategies.map(e=>[e.id,e]));console.log(r.blue(`
|
|
13
13
|
Arena: ${t.target} \xB7 seed ${t.seed} \xB7 ${t.mutantsTotal} mutants
|
|
14
14
|
`)),console.log(" rank id kill-rate coverage cost fitness groups"),t.ranking.forEach((e,s)=>{let n=d.get(e),u=n.coveragePct===null?" n/a":`${n.coveragePct.toFixed(2)}%`.padStart(7);console.log(` ${String(s+1).padEnd(5)}${n.id.padEnd(5)}${(n.killRate*100).toFixed(1).padStart(6)}% ${u} ${n.suiteCostRatio.toFixed(2).padEnd(6)}${n.fitness.toFixed(4).padEnd(9)}${n.name}`+(n.baselinePassed?"":r.red(" [baseline FAILED]")))}),console.log(`
|
|
15
15
|
competitive array (row beats column = 1):`);let o=t.strategies.map(e=>e.id);if(console.log(` ${o.map(e=>e.padEnd(4)).join("")}`),t.competitiveArray.forEach((e,s)=>{console.log(` ${o[s].padEnd(4)}${e.map(n=>String(n).padStart(2).padEnd(4)).join("")}`)}),t.evolution.length>0){console.log(`
|
|
16
16
|
evolution:`);for(let e of t.evolution)console.log(` step ${e.step}: [${e.groups.join("+")}] fitness ${e.fitness.toFixed(4)} ${e.accepted?r.green("accepted"):"rejected"}`)}let l=d.get(t.ranking[0]);console.log(r.green(`
|
|
17
17
|
winner: ${l.id} [${l.name}] \u2014 kill ${(l.killRate*100).toFixed(1)}%, fitness ${l.fitness.toFixed(4)}
|
|
18
|
-
`))}catch(i){console.error(r.red(` \u2717 ${c(i)}`)),await g(1)}}),m.command("list").description("List persisted arena runs").option("--json","Output as JSON").action(async a=>{if(await p())try{let{getUnifiedMemory:i}=await import("./unified-memory-
|
|
18
|
+
`))}catch(i){console.error(r.red(` \u2717 ${c(i)}`)),await g(1)}}),m.command("list").description("List persisted arena runs").option("--json","Output as JSON").action(async a=>{if(await p())try{let{getUnifiedMemory:i}=await import("./unified-memory-WVELSL6T.js"),t=i();t.isInitialized()||await t.initialize();let d=t.getDatabase().prepare("SELECT key, value FROM kv_store WHERE namespace = 'arena' ORDER BY key").all();if(a.json){console.log(JSON.stringify(d.map(o=>({key:o.key,result:JSON.parse(o.value)})),null,2));return}if(d.length===0){console.log(r.yellow(" no persisted arena runs"));return}for(let o of d){let l=JSON.parse(o.value),e=l.strategies.find(s=>s.id===l.ranking[0]);console.log(` ${r.green(o.key)} \u2014 winner ${e?.id} [${e?.name}] fitness ${e?.fitness}`)}}catch(i){console.error(r.red(` \u2717 ${c(i)}`)),await g(1)}}),m}export{x as createArenaCommand};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.
|
|
2
|
-
import"./chunk-
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import"./chunk-PNK5KHSI.js";import*as K from"fs";import*as M from"path";function G(t){let r=t>>>0;return function(){r|=0,r=r+1831565813|0;let n=Math.imul(r^r>>>15,1|r);return n=n+Math.imul(n^n>>>7,61|n)^n,((n^n>>>14)>>>0)/4294967296}}function w(t,r){return Math.floor(t()*r)}var z=[["===","!=="],["!==","==="],["<=","<"],[">=",">"],["&&","||"],["||","&&"],["<","<="],[">",">="],["+","-"],["*","+"]];function H(t){let r=new Array(t.length).fill(!1),n=0,e="code";for(;n<t.length;){let s=t[n],i=t[n+1];e==="code"?(s==="'"?e="single":s==='"'?e="double":s==="`"?e="template":s==="/"&&i==="/"?e="line-comment":s==="/"&&i==="*"&&(e="block-comment"),e!=="code"&&(r[n]=!0)):(r[n]=!0,e==="single"&&s==="'"&&t[n-1]!=="\\"||e==="double"&&s==='"'&&t[n-1]!=="\\"||e==="template"&&s==="`"&&t[n-1]!=="\\"||e==="line-comment"&&s===`
|
|
3
3
|
`?e="code":e==="block-comment"&&s==="*"&&i==="/"&&(r[n+1]=!0,n++,e="code")),n++}return r}function E(t,r){let n=1;for(let e=0;e<r;e++)t[e]===`
|
|
4
4
|
`&&n++;return n}function A(t,r){let n=H(t),e=new Array(t.length).fill(!1),s=[];for(let[i,c]of z){let a=t.indexOf(i);for(;a!==-1;){let u=a+i.length,y=e.slice(a,u).some(Boolean),h=n.slice(a,u).some(Boolean),v=i===">"&&t[a-1]==="=",S=(i==="<"||i===">")&&(t[u]==="="||t[a-1]==="<"||t[a-1]===">");if(!y&&!h&&!v&&!S){for(let d=a;d<u;d++)e[d]=!0;s.push({id:`${r}:${E(t,a)}:${a}:${i}->${c}`,index:a,from:i,to:c,line:E(t,a)})}a=t.indexOf(i,a+1)}}return s.sort((i,c)=>i.index-c.index)}function W(t,r){return t.slice(0,r.index)+r.to+t.slice(r.index+r.from.length)}import*as m from"fs";import*as f from"path";import*as L from"os";import{spawnSync as J}from"child_process";function I(t){let r=f.resolve(t),n=f.join(r,"src"),e=f.join(r,"tests");if(!m.existsSync(n)||!m.existsSync(e))throw new Error(`not an arena fixture (expected src/ and tests/): ${r}`);let s=m.readdirSync(n).filter(c=>c.endsWith(".mjs")).sort().map(c=>f.join("src",c)),i={};for(let c of m.readdirSync(e).filter(a=>a.endsWith(".test.mjs")).sort())i[c.replace(".test.mjs","")]=f.join("tests",c);if(s.length===0||Object.keys(i).length===0)throw new Error(`fixture has no src/*.mjs or tests/*.test.mjs: ${r}`);return{root:r,sourceFiles:s,testGroups:i}}function T(t,r){let n=m.mkdtempSync(f.join(r,"arena-ws-"));m.mkdirSync(f.join(n,"src"),{recursive:!0}),m.mkdirSync(f.join(n,"tests"),{recursive:!0});for(let e of t.layout.sourceFiles){let s=t.mutatedFile&&t.mutatedFile.relPath===e?t.mutatedFile.content:m.readFileSync(f.join(t.layout.root,e),"utf8");m.writeFileSync(f.join(n,e),s)}for(let e of t.groups){let s=t.layout.testGroups[e];m.copyFileSync(f.join(t.layout.root,s),f.join(n,s))}return n}function $(t,r={}){let n=["--test"];r.coverage&&n.push("--experimental-test-coverage");let e=m.readdirSync(f.join(t,"tests")).filter(u=>u.endsWith(".test.mjs")).sort().map(u=>f.join("tests",u));n.push(...e);let s=process.hrtime.bigint(),i=J(process.execPath,n,{cwd:t,timeout:r.timeoutMs??12e4,encoding:"utf8"}),c=Number(process.hrtime.bigint()-s)/1e6,a=null;if(r.coverage){let u=/all files\s*\|\s*([\d.]+)/.exec(i.stdout??"");a=u?Number(u[1]):null}return{ok:i.status===0,durationMs:Math.round(c),coveragePct:a}}function N(){return m.mkdtempSync(f.join(L.tmpdir(),"qe-arena-"))}function B(t){m.rmSync(t,{recursive:!0,force:!0})}var k={kill:.6,coverage:.3,runtimePenalty:.1};function Q(t,r,n){let e=[...t].sort(),s=new Set([e.join("+")]),i=[{id:"s1",name:`all(${e.join("+")})`,groups:e}],c=0;for(;i.length<r&&c++<200;){let a=e.filter(()=>n()<.5);if(a.length===0)continue;let u=a.join("+");s.has(u)||(s.add(u),i.push({id:`s${i.length+1}`,name:u,groups:a}))}return i}function C(t,r,n){let e=r===null?0:r/100,s=k.kill*t+k.coverage*e-k.runtimePenalty*n;return Math.round(s*1e4)/1e4}function D(t,r,n,e){let s=T({layout:t,groups:r.groups},e),i=$(s,{coverage:!0});if(!i.ok)return{baselinePassed:!1,killed:0,total:0,coveragePct:i.coveragePct,runtimeMs:i.durationMs};let c=0,a=0;for(let u of n)for(let y of u.mutants){a++;let h=T({layout:t,groups:r.groups,mutatedFile:{relPath:u.relPath,content:W(u.source,y)}},e);$(h).ok||c++}return{baselinePassed:!0,killed:c,total:a,coveragePct:i.coveragePct,runtimeMs:i.durationMs}}function rt(t){let r=t.seed??42,n=t.log??(()=>{}),e=G(r),s=I(t.target),i=N();try{let c=t.maxMutants??24,a=s.sourceFiles.map(l=>{let o=K.readFileSync(M.join(s.root,l),"utf8");return{relPath:l,source:o,mutants:A(o,l)}}),u=a.flatMap(l=>l.mutants.map(o=>({file:l.relPath,m:o})));if(u.length>c){let l=new Set;for(;l.size<c;)l.add(u[w(e,u.length)].m.id);for(let o of a)o.mutants=o.mutants.filter(p=>l.has(p.id));u=a.flatMap(o=>o.mutants.map(p=>({file:o.relPath,m:p})))}n(`mutants: ${u.length} (of ${a.reduce((l,o)=>l+A(o.source,o.relPath).length,0)} enumerated)`);let y=Q(Object.keys(s.testGroups),t.strategies??4,e),h={},v=y.map(l=>{n(`evaluating ${l.id} [${l.name}] ...`);let o=D(s,l,a,i);return h[l.id]=o.runtimeMs,{s:l,e:o}}),S=Object.keys(s.testGroups).length,d=v.map(({s:l,e:o})=>{let p=o.total>0?Math.round(o.killed/o.total*1e4)/1e4:0,g=Math.round(l.groups.length/S*1e4)/1e4;return{...l,baselinePassed:o.baselinePassed,mutantsKilled:o.killed,mutantsTotal:o.total,killRate:p,coveragePct:o.coveragePct,suiteCostRatio:g,fitness:o.baselinePassed?C(p,o.coveragePct,g):0}}),P=[...d].sort((l,o)=>o.fitness-l.fitness||l.id.localeCompare(o.id)).map(l=>l.id),U=d.map(l=>d.map(o=>l.fitness>o.fitness?1:l.fitness<o.fitness?-1:0)),j=[];if(t.evolveSteps&&t.evolveSteps>0){let l=Object.keys(s.testGroups).sort(),o=d.find(g=>g.id===P[0]).groups,p=d.find(g=>g.id===P[0]).fitness;for(let g=1;g<=t.evolveSteps;g++){let R=l[w(e,l.length)],b=o.includes(R)?o.filter(q=>q!==R):[...o,R].sort();if(b.length===0){j.push({step:g,groups:b,fitness:0,accepted:!1});continue}let x=D(s,{id:`evo${g}`,name:b.join("+"),groups:b},a,i),_=x.total>0?x.killed/x.total:0,F=x.baselinePassed?C(_,x.coveragePct,b.length/l.length):0,O=F>p;j.push({step:g,groups:b,fitness:F,accepted:O}),O&&(o=b,p=F)}}return{contract:"arena-result@1",seed:r,target:M.relative(process.cwd(),s.root)||".",weights:{...k},mutantsTotal:u.length,strategies:d,ranking:P,competitiveArray:U,evolution:j,informational:{runtimesMs:h}}}finally{B(i)}}export{Q as buildStrategies,rt as runArena};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.
|
|
2
|
-
import{d as g,e as y,f as k,g as w}from"./chunk-
|
|
3
|
-
`)}function O(){try{let e=l(),a=p.join(e,".agentic-qe","memory.db");if(!f(a))return null;let n=(j(),v(F)),t=new n(a),r=g(t),o=k(r);return t.close(),o}catch{return null}}async function P(e){let a=w(),t=(O()??y()).verifyChain(),r={featureEnabled:a,chainLength:t.length,integrity:t.valid,brokenAt:t.brokenAt,lastHash:t.lastHash,message:t.message};return e.format==="json"?console.log(JSON.stringify(r,null,2)):console.log(b(t,a)),r}async function L(e){let{WitnessChain:a,hashWith:n,serializeEntry:t}=await import("./witness-chain-
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import{d as g,e as y,f as k,g as w}from"./chunk-VLL7ASGH.js";import{s as x}from"./chunk-NF6SLLE6.js";import"./chunk-3NOSMJS4.js";import"./chunk-5C4UYXQL.js";import"./chunk-W5NHBYYS.js";import"./chunk-53HWWWFZ.js";import"./chunk-UE33MZOC.js";import"./chunk-ADEYBXAS.js";import"./chunk-WQZR6DS6.js";import"./chunk-WPG6SW7C.js";import"./chunk-SRXXPZVT.js";import"./chunk-UGUZFUQG.js";import"./chunk-2K3QFLX2.js";import"./chunk-7FGSX4UD.js";import"./chunk-46DUU44C.js";import"./chunk-ARWSPV2C.js";import"./chunk-HU4QGCIJ.js";import{b as l}from"./chunk-25IWHVMW.js";import"./chunk-JW2HNT3J.js";import{p as F,q as j}from"./chunk-OH4SKOAM.js";import{f as v}from"./chunk-PNK5KHSI.js";import{Command as E}from"commander";import s from"chalk";x();import{existsSync as f}from"node:fs";import p from"node:path";function b(e,a,n){let t=[];t.push(s.bold("Witness Chain Audit Verification")),t.push("");let r=a?s.green("ENABLED"):s.yellow("DISABLED");t.push(` Feature Flag: ${r}`),t.push(` Chain Length: ${e.length} receipts`);let o=n?.status==="forked"?s.yellow("FORKED (no tampering detected)"):e.valid?s.green(n?.status==="valid-with-forks"?"VALID (forks re-anchored)":"VALID"):s.red(n?.status==="tampered"?"BROKEN (tampering detected)":"BROKEN");t.push(` Integrity: ${o}`),e.length>0&&t.push(` Last Hash: ${e.lastHash.slice(0,16)}...`);let i=n?.forks?.length??0;if(i>0){let d=n?.acknowledgedForks?.length??0;t.push(` Forks: ${i} accidental (pre-3.14.5 concurrent writes, #753), ${d} re-anchored`)}if(n?.status==="forked")t.push(""),t.push(s.yellow(` ${e.message}`));else if(!e.valid&&e.brokenAt>=0){t.push("");let d=n?.status==="tampered"&&n.tamperedAt!==void 0?n.tamperedAt:e.brokenAt;t.push(s.red(` Break detected at index ${d}${n?.tamperReason?` (${n.tamperReason})`:""}`)),t.push(s.red(` ${e.message}`))}else e.valid&&i>0&&(t.push(""),t.push(s.green(` ${e.message}`)));return t.push(""),t.join(`
|
|
3
|
+
`)}function O(){try{let e=l(),a=p.join(e,".agentic-qe","memory.db");if(!f(a))return null;let n=(j(),v(F)),t=new n(a),r=g(t),o=k(r);return t.close(),o}catch{return null}}async function P(e){let a=w(),t=(O()??y()).verifyChain(),r={featureEnabled:a,chainLength:t.length,integrity:t.valid,brokenAt:t.brokenAt,lastHash:t.lastHash,message:t.message};return e.format==="json"?console.log(JSON.stringify(r,null,2)):console.log(b(t,a)),r}async function L(e){let{WitnessChain:a,hashWith:n,serializeEntry:t}=await import("./witness-chain-D6X4OZP5.js"),{dbPath:r,keyDir:o}=R(),i;if(!f(r))i={featureEnabled:!0,chainLength:0,integrity:!0,brokenAt:-1,lastHash:"",message:`No database found at ${r} \u2014 nothing to verify`};else{let{default:d}=await import("./better-sqlite3-YERQ5DOL.js"),u=new d(r,{readonly:!0});try{let m=new a(u,await A(o)??void 0);await m.initialize();let c=m.verify({includeArchive:!0,checkSignatures:!1}),{tableExists:C}=await import("./witness-chain-verifier-LACGL6BK.js"),h=C(u,"witness_chain")?u.prepare("SELECT * FROM witness_chain ORDER BY id DESC LIMIT 1").get():void 0,$=h?n(h.hash_algo||"sha256",t(h)):"";i={featureEnabled:!0,chainLength:c.entriesChecked,integrity:c.valid,brokenAt:c.brokenAt??-1,lastHash:$,message:V(c),status:c.status,tampered:c.tampered,...c.tamperedAt!==void 0?{tamperedAt:c.tamperedAt}:{},...c.tamperReason?{tamperReason:c.tamperReason}:{},forks:c.forks,acknowledgedForks:c.acknowledgedForks}}finally{u.close()}}return e.format==="json"?console.log(JSON.stringify(i,null,2)):console.log(b({valid:i.integrity,length:i.chainLength,brokenAt:i.brokenAt,lastHash:i.lastHash,message:i.message},i.featureEnabled,i)),i}function R(){let e=l();return{dbPath:p.join(e,".agentic-qe","memory.db"),keyDir:p.join(e,".agentic-qe","witness-keys")}}async function A(e){if(!f(e))return null;let{WitnessKeyManager:a}=await import("./witness-key-manager-GQZIB5ZE.js");return new a({keyDir:e,autoGenerate:!1})}function V(e){let a=e.entriesChecked,n=e.forks.length,t=n-e.acknowledgedForks.length;switch(e.status){case"valid":return`Audit chain verified: ${a} entries checked, ${e.signatureFailures??0} signature failures`;case"valid-with-forks":return`Audit chain verified: ${a} entries checked; ${n} accidental fork(s) from pre-3.14.5 concurrent writes are re-anchored by CHAIN_REANCHOR, no tampering detected`;case"forked":return`${t} accidental fork(s) (pre-3.14.5 concurrent writes, #753), no tampering detected \u2014 ${a} entries checked, first fork at id=${e.brokenAt}. Run \`aqe audit repair --chain audit\` to back up the store and re-anchor.`;default:return`Audit chain BROKEN: tampering detected at id=${e.tamperedAt} (${e.tamperReason}); ${a} entries checked`+(n>0?`, ${n} accidental fork(s) found before it`:"")}}function W(e){return e.action==="refused"?!0:e.action==="reanchored"&&!(e.after?.status==="valid"||e.after?.status==="valid-with-forks")}async function D(e){let{repairWitnessChainForks:a}=await import("./witness-chain-repair-3LG4BF7C.js"),{dbPath:n,keyDir:t}=R(),r=e.dryRun===!0,o;if(f(n)){let{openDatabase:i}=await import("./safe-db-INVJ5LHR.js"),d=i(n,{readonly:r,fileMustExist:!0});try{let u=r?await A(t):(await import("./witness-key-manager-GQZIB5ZE.js")).getDefaultWitnessKeyManager();o=await a(d,{dbPath:n,dryRun:r,keyManager:u})}finally{d.close()}}else{let i={status:"valid",entriesChecked:0,forks:0,unacknowledgedForks:0};o={action:"none",dryRun:r,message:`No database found at ${n} \u2014 nothing to repair`,before:i,rowsBefore:{live:0,archive:0},rowsAfter:{live:0,archive:0},forksAcknowledged:[]}}return e.format==="json"?console.log(JSON.stringify(o,null,2)):console.log(S(o)),o}function S(e){let a=e.action==="refused"?s.red:e.action==="reanchored"?s.green:s.yellow,n=[s.bold("Witness Chain Audit Repair"),"",` Action: ${a(e.action.toUpperCase())}${e.dryRun?" (dry run)":""}`,` Before: ${e.before.status}, ${e.before.forks} fork(s), ${e.before.unacknowledgedForks} unacknowledged`,` Rows: live ${e.rowsBefore.live} -> ${e.rowsAfter.live}, archive ${e.rowsBefore.archive} -> ${e.rowsAfter.archive}`];return e.after&&n.push(` After: ${e.after.status}`),e.backupPath&&n.push(` Backup: ${e.backupPath}`),n.push("",` ${a(e.message)}`,""),n.join(`
|
|
4
4
|
`)}function q(e,a,n){let t=new E("audit").description("Witness chain audit trail management");return t.command("verify").description("Verify witness chain integrity").option("-F, --format <format>","Output format (json|text)","text").option("-C, --chain <chain>","Which chain to verify: governance (29 decision receipts) or audit (full QE audit trail)","governance").action(async r=>{try{let o=r.format,i=r.chain==="audit"?await L({format:o}):await P({format:o});await a(i.integrity?0:1)}catch(o){console.error("Failed to verify witness chain:",o),await a(1)}}),t.command("repair").description("Re-anchor accidental pre-3.14.5 forks in the audit chain (#753); backs up first, refuses on tampering").option("-C, --chain <chain>",'Chain to repair (only "audit" is supported)',"audit").option("--dry-run","Report what would be done without writing anything",!1).option("-F, --format <format>","Output format (json|text)","text").action(async r=>{try{if(r.chain!=="audit"){console.error(`aqe audit repair supports only --chain audit (got "${r.chain}")`),await a(1);return}let o=await D({format:r.format,dryRun:r.dryRun===!0});await a(W(o)?1:0)}catch(o){console.error("Failed to repair witness chain:",o),await a(1)}}),t}export{q as createAuditCommand,b as formatVerificationText,D as handleAuditChainRepair,L as handleAuditChainVerify,P as handleAuditVerify};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l}from"./chunk-PBWR2SKH.js";import"./chunk-6Q7PWKWV.js";import"./chunk-DREYYJ7A.js";import"./chunk-NF6SLLE6.js";import"./chunk-3NOSMJS4.js";import"./chunk-5C4UYXQL.js";import"./chunk-W5NHBYYS.js";import"./chunk-53HWWWFZ.js";import"./chunk-UE33MZOC.js";import"./chunk-ADEYBXAS.js";import"./chunk-WQZR6DS6.js";import"./chunk-WPG6SW7C.js";import"./chunk-SRXXPZVT.js";import"./chunk-LQI5GVH7.js";import"./chunk-UGUZFUQG.js";import"./chunk-2K3QFLX2.js";import"./chunk-7FGSX4UD.js";import"./chunk-46DUU44C.js";import"./chunk-ARWSPV2C.js";import"./chunk-HU4QGCIJ.js";import"./chunk-25IWHVMW.js";import"./chunk-JW2HNT3J.js";import"./chunk-OH4SKOAM.js";import"./chunk-PNK5KHSI.js";export{l as MCPToolBase,k as defaultToolLogger,j as getKernel,i as getLLMRouter,e as getMemoryBackend,g as getSharedLLMRouter,c as getSharedMemoryBackend,a as isMemoryOnlyMode,b as registerRvfResetFn,h as resetSharedLLMRouter,d as resetSharedMemoryBackend,f as setSharedLLMRouter};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.
|
|
2
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q as p}from"./chunk-
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q as p}from"./chunk-OH4SKOAM.js";import"./chunk-PNK5KHSI.js";p();export{i as DotProductAttention,h as FlashAttention,k as HyperbolicAttention,l as LinearAttention,m as MoEAttention,j as MultiHeadAttention,b as RuvectorLayer,n as SonaEngine,c as TensorCompress,a as default,d as differentiableSearch,f as getCompressionLevel,e as hierarchicalForward,g as init,o as pipeline};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.
|
|
2
|
-
import{a as L,b as z,c as K,d as _,e as ie,f as W,g as G,h as A,i as Ce,j as se,k as Q,l as xe,m as J,n as le,o as Ie,p as P,q as Y,r as X,s as Z,t as ee}from"./chunk-
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import{a as L,b as z,c as K,d as _,e as ie,f as W,g as G,h as A,i as Ce,j as se,k as Q,l as xe,m as J,n as le,o as Ie,p as P,q as Y,r as X,s as Z,t as ee}from"./chunk-5B5TA3X4.js";import{c as Ee}from"./chunk-5QEXDXHQ.js";import{b as ve}from"./chunk-N5OSH5JO.js";import{a as Se,d as ae,e as _e}from"./chunk-EQ3BJS37.js";import"./chunk-NF6SLLE6.js";import"./chunk-3NOSMJS4.js";import{b as k,d as oe}from"./chunk-5C4UYXQL.js";import"./chunk-W5NHBYYS.js";import"./chunk-53HWWWFZ.js";import"./chunk-UE33MZOC.js";import"./chunk-ADEYBXAS.js";import"./chunk-WQZR6DS6.js";import"./chunk-WPG6SW7C.js";import"./chunk-SRXXPZVT.js";import"./chunk-UGUZFUQG.js";import"./chunk-2K3QFLX2.js";import"./chunk-7FGSX4UD.js";import"./chunk-46DUU44C.js";import"./chunk-ARWSPV2C.js";import"./chunk-HU4QGCIJ.js";import"./chunk-25IWHVMW.js";import{a as we,b as Re,c as H,d as V,f as nn}from"./chunk-YM3GAJMN.js";import{a as F,b as tn}from"./chunk-JW2HNT3J.js";import"./chunk-OH4SKOAM.js";import"./chunk-PNK5KHSI.js";import $ from"path";import o from"chalk";tn();oe();import{existsSync as te,mkdirSync as rn,writeFileSync as on,readFileSync as ce}from"fs";import{join as D,resolve as de}from"path";function ne(e,n){let r="shake256",t=JSON.stringify(n),a=e.prepare("SELECT * FROM witness_chain ORDER BY id DESC LIMIT 1").get(),i=a?ae(r,_e(a)):Se;e.prepare(`
|
|
3
3
|
INSERT INTO witness_chain
|
|
4
4
|
(prev_hash, action_hash, action_type, action_data, timestamp, actor, hash_algo)
|
|
5
5
|
VALUES (?, ?, 'BRAIN_IMPORT', ?, ?, 'brain-import', ?)
|
|
@@ -79,7 +79,7 @@ Examples:
|
|
|
79
79
|
aqe brain diff ./brain-a ./brain-b --verbose
|
|
80
80
|
aqe brain search -i ./brain-export --query oauth --domain test-generation
|
|
81
81
|
aqe brain search -i ./brain-export --since 2026-03-01 --limit 50 --json
|
|
82
|
-
`}};async function ye(e){if(e)return e;let{findProjectRoot:n}=await import("./unified-memory-
|
|
82
|
+
`}};async function ye(e){if(e)return e;let{findProjectRoot:n}=await import("./unified-memory-WVELSL6T.js");return $.join(n(),".agentic-qe","memory.db")}function Ze(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function Wn(e){let n=Number.parseInt(e,10);return!Number.isFinite(n)||n<1?20:n}function Jn(e){if(e===void 0)return;let n=Array.isArray(e)?e:[e],r=[];for(let t of n)for(let a of t.split(",")){let i=a.trim();i&&r.push(i)}return r.length>0?r:void 0}function Un(e,n){console.log(o.blue(`
|
|
83
83
|
Brain Diff
|
|
84
84
|
`)),console.log(` A: ${o.cyan(e.pathA)} (${e.formatA})`),console.log(` B: ${o.cyan(e.pathB)} (${e.formatB})`),console.log(` Versions: ${o.cyan(e.manifestA.version)} \u2192 ${o.cyan(e.manifestB.version)}`+(e.versionMatch?o.gray(" (match)"):o.yellow(" (differ)"))),console.log(` Checksums: ${o.gray(e.manifestA.checksum.slice(0,12))}\u2026 \u2192 ${o.gray(e.manifestB.checksum.slice(0,12))}\u2026`+(e.checksumMatch?o.gray(" (match)"):o.yellow(" (differ)"))),console.log(` Exported: ${o.gray(e.manifestA.exportedAt)} \u2192 ${o.gray(e.manifestB.exportedAt)}`),console.log(` Records: ${o.cyan(e.manifestA.totalRecords)} \u2192 ${o.cyan(e.manifestB.totalRecords)} `+en(e.manifestB.totalRecords-e.manifestA.totalRecords)),(e.domainsOnlyInA.length>0||e.domainsOnlyInB.length>0)&&(console.log(o.blue(`
|
|
85
85
|
Domains:`)),e.domainsOnlyInA.length>0&&console.log(` Only in A: ${o.yellow(e.domainsOnlyInA.join(", "))}`),e.domainsOnlyInB.length>0&&console.log(` Only in B: ${o.yellow(e.domainsOnlyInB.join(", "))}`)),e.recordLevel||console.log(o.gray(`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.
|
|
2
|
-
import"./chunk-
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import"./chunk-PNK5KHSI.js";var f=class{language;constructor(e="typescript"){this.language=e}enumerate(e,s){let r=[],n=e.split(`
|
|
3
3
|
`),l=!1;for(let i=0;i<n.length;i++){let d=n[i],t=d.trim(),c=i+1,u=d.length-d.trimStart().length+1;if(l){t.includes("*/")&&(l=!1);continue}if(t.startsWith("/*")){l=!t.includes("*/");continue}if(t.startsWith("//"))continue;if(/^\s*if\s*\(/.test(d)&&(this.findMatchingElse(n,i)||r.push({file:s,line:c,column:u,language:this.language,construct:"if-without-else",triggerCondition:"when condition is false",currentHandling:"falls through \u2014 no else branch",suggestedGuard:"Add else branch or document why falsy path is safe",severity:"medium"})),/^\s*switch\s*\(/.test(d)){let a=this.extractBlock(n,i);if(a&&!a.includes("default:")&&!a.includes("default :")&&r.push({file:s,line:c,column:u,language:this.language,construct:"switch-no-default",triggerCondition:"when value matches no case",currentHandling:"falls through \u2014 no default case",suggestedGuard:"Add default case with error handling or exhaustive check",severity:"high"}),a){let g=a.match(/case\s+[^:]+:/g)||[],h=a.match(/\b(break|return|throw|continue)\b/g)||[];g.length>0&&h.length<g.length&&r.push({file:s,line:c,column:u,language:this.language,construct:"switch-missing-break",triggerCondition:"when case falls through to next case",currentHandling:"fall-through \u2014 may execute unintended cases",suggestedGuard:"Add break/return to each case or add explicit // falls through comment",severity:"medium"})}}if(/\bcatch\s*\(/.test(t)||/\bcatch\s*\{/.test(t)){let a=this.extractBlock(n,i);if(a!==null){let g=a.replace(/[{}]/g,"").trim();(g.length===0||/^\s*\/\//.test(g))&&r.push({file:s,line:c,column:u,language:this.language,construct:"try-empty-catch",triggerCondition:"when exception is thrown",currentHandling:"exception silently swallowed",suggestedGuard:"Log the error or rethrow with context",severity:"high"})}}if(/\btry\s*\{/.test(t)&&this.extractBlock(n,i)&&(n.slice(i,Math.min(i+30,n.length)).join(`
|
|
4
4
|
`).includes("finally")||r.push({file:s,line:c,column:u,language:this.language,construct:"try-no-finally",triggerCondition:"when cleanup is needed regardless of success/failure",currentHandling:"no finally block \u2014 cleanup may be skipped on exception",suggestedGuard:"Add finally block for resource cleanup if applicable",severity:"low"})),t.includes("?.")){let a=t.match(/(\w+(?:\.\w+)*)\?\./g)||[];for(let g of a)if(!t.includes("??")&&!t.includes("|| ")&&!t.includes("if")){r.push({file:s,line:c,column:u,language:this.language,construct:"optional-chaining-null-path",triggerCondition:`when ${g.replace("?.","")} is null/undefined`,currentHandling:"returns undefined \u2014 may propagate",suggestedGuard:"Add ?? fallback or explicit null check",severity:"low"});break}}if(t.includes("??")&&!t.includes("?.")&&r.push({file:s,line:c,column:u,language:this.language,construct:"nullish-coalescing-fallback",triggerCondition:"when left side is null/undefined",currentHandling:"uses fallback value",suggestedGuard:"Verify fallback value is appropriate for all null cases",severity:"low"}),/\.\s*then\s*\(/.test(t)&&!t.includes(".catch")&&!t.includes("await")){let a=n.slice(i,Math.min(i+5,n.length)).join(" ");!a.includes(".catch")&&!a.includes("try")&&r.push({file:s,line:c,column:u,language:this.language,construct:"promise-no-catch",triggerCondition:"when promise rejects",currentHandling:"unhandled rejection \u2014 may crash process",suggestedGuard:"Add .catch() handler or use try/catch with await",severity:"high"})}let p=["map","filter","reduce","forEach","find","some","every","flatMap"];for(let a of p)if(new RegExp(`\\.${a}\\s*\\(`).test(t)){let h=n.slice(Math.max(0,i-3),i).join(" ");if(!h.includes(".length")&&!h.includes("if (")&&!h.includes("?.")){r.push({file:s,line:c,column:u,language:this.language,construct:"array-callback-empty",triggerCondition:`when array is empty before .${a}()`,currentHandling:a==="reduce"?"may throw without initial value":"returns empty result \u2014 may cause downstream issues",suggestedGuard:a==="reduce"?"Provide initial value or check array length":"Check array length or handle empty result",severity:a==="reduce"?"high":"low"});break}}/\|\|\s*['"`\d]/.test(t)&&!t.includes("??")&&r.push({file:s,line:c,column:u,language:this.language,construct:"logical-or-falsy",triggerCondition:'when left side is falsy (0, "", false, null, undefined)',currentHandling:'uses fallback \u2014 may unintentionally override 0, "", or false',suggestedGuard:"Use ?? instead of || if only null/undefined should trigger fallback",severity:"medium"}),/&&\s*\w+\s*\(/.test(t)&&!t.includes("if")&&!t.includes("while")&&r.push({file:s,line:c,column:u,language:this.language,construct:"logical-and-short-circuit",triggerCondition:"when left side is falsy \u2014 right side never executes",currentHandling:"short-circuits \u2014 function call skipped silently",suggestedGuard:"Use explicit if-statement for clarity when side effects matter",severity:"low"}),(t.match(/\?/g)||[]).length>=2&&t.includes(":")&&r.push({file:s,line:c,column:u,language:this.language,construct:"ternary-complex",triggerCondition:"when nested ternary conditions interact",currentHandling:"nested ternary \u2014 hard to read and maintain",suggestedGuard:"Refactor to if/else or switch for readability",severity:"medium"}),(/\btypeof\s+\w+\s*===?\s*['"]/.test(t)||/\binstanceof\b/.test(t))&&!t.includes("else")&&!this.findMatchingElse(n,i)&&r.push({file:s,line:c,column:u,language:this.language,construct:"type-guard-unhandled",triggerCondition:"when value does not match the guarded type",currentHandling:"unguarded type path \u2014 may cause runtime type errors",suggestedGuard:"Add else branch or exhaustive type checking",severity:"medium"})}return r}findMatchingElse(e,s){let r={depth:0};for(let n=s;n<Math.min(s+30,e.length);n++){let l=e[n];for(let i of l)i==="{"&&r.depth++,i==="}"&&r.depth--;if(r.depth===0&&n>s){if((e[n+1]?.trim()||"").startsWith("else")||e[n].trim().endsWith("else")||e[n].trim().endsWith("else {")||e[n].includes("} else"))return!0;break}}return!1}extractBlock(e,s){let r=0,n=!1,l=[];for(let i=s;i<Math.min(s+50,e.length);i++){let d=e[i];for(let t of d)t==="{"&&(r++,n=!0),t==="}"&&r--;if(n&&(l.push(d),r===0))return l.join(`
|
|
5
5
|
`)}return null}};function y(o,e,s){let r=Date.now(),n=s||(e.endsWith(".ts")||e.endsWith(".tsx")?"typescript":"javascript"),i=new f(n).enumerate(o,e);return{file:e,language:n,branches:i,totalConstructs:i.length,unhandledCount:i.length,duration:Date.now()-r}}function b(o){let e=[];if(e.push(`# Branch Enumeration Report: ${o.file}`),e.push(""),e.push(`**Language**: ${o.language} | **Branches**: ${o.unhandledCount} | **Duration**: ${o.duration}ms`),e.push(""),o.branches.length===0)return e.push("No unhandled branches detected."),e.join(`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.
|
|
2
|
-
import{a as p}from"./chunk-
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import{a as p}from"./chunk-GAKVCN3C.js";import"./chunk-PNK5KHSI.js";import{readFile as m,readdir as k}from"fs/promises";import{join as c,basename as y,dirname as W}from"path";import{fileURLToPath as v}from"url";import{parse as d}from"yaml";var b=v(import.meta.url),E=W(b),l=class{templatesDir;cache=new Map;constructor(r){this.templatesDir=r||c(E,"templates")}async load(r){if(this.cache.has(r))return this.cache.get(r);try{let e=c(this.templatesDir,`${r}.yaml`),n=await m(e,"utf-8"),o=d(n),i=await this.validate(o);if(!i.valid)throw new Error(`Invalid workflow template ${r}:
|
|
3
3
|
${i.errors.join(`
|
|
4
4
|
`)}`);return this.cache.set(r,o),o}catch(e){throw e.code==="ENOENT"?new Error(`Workflow template not found: ${r}`):e}}async list(){try{return(await k(this.templatesDir)).filter(e=>e.endsWith(".yaml")||e.endsWith(".yml")).map(e=>y(e,e.endsWith(".yaml")?".yaml":".yml")).sort()}catch(r){if(r.code==="ENOENT")return[];throw r}}async validate(r){let e=[],n=[];if(r.name||e.push("Workflow must have a name"),r.version||e.push("Workflow must have a version"),r.description||n.push("Workflow should have a description"),Array.isArray(r.variables)?r.variables.forEach((o,i)=>{o.name||e.push(`Variable at index ${i} must have a name`),o.type||e.push(`Variable ${o.name} must have a type`),o.required===void 0&&n.push(`Variable ${o.name} should specify if it's required`)}):e.push("Workflow must have a variables array"),!Array.isArray(r.steps))e.push("Workflow must have a steps array");else if(r.steps.length===0)e.push("Workflow must have at least one step");else{r.steps.forEach((t,s)=>{t.name||e.push(`Step at index ${s} must have a name`),t.action||e.push(`Step ${t.name||s} must have an action`),(!t.config||typeof t.config!="object")&&e.push(`Step ${t.name||s} must have a config object`),t.assertions&&Array.isArray(t.assertions)&&t.assertions.forEach((f,u)=>{f.condition||e.push(`Assertion ${u} in step ${t.name||s} must have a condition`),f.message||n.push(`Assertion ${u} in step ${t.name||s} should have a message`)})});let o=r.steps.map(t=>t.name),i=o.filter((t,s)=>o.indexOf(t)!==s);i.length>0&&e.push(`Duplicate step names found: ${i.join(", ")}`)}return{valid:e.length===0,errors:e,warnings:n}}async createContext(r,e){let n=await this.load(r),o=n.variables.filter(t=>t.required&&!(t.name in e)).map(t=>t.name);if(o.length>0)throw new Error(`Missing required variables: ${o.join(", ")}`);let i={};return n.variables.forEach(t=>{t.name in e?i[t.name]=e[t.name]:"default"in t&&(i[t.name]=t.default)}),{variables:i,results:new Map,metadata:{startTime:Date.now(),workflow:n.name,templateName:r}}}async getMetadata(r){try{let e=c(this.templatesDir,`${r}.yaml`),n=await m(e,"utf-8"),o=d(n);return{name:o.name,version:o.version,description:o.description}}catch(e){throw e.code==="ENOENT"?new Error(`Workflow template not found: ${r}`):e}}clearCache(){this.cache.clear()}async reload(r){return this.cache.delete(r),this.load(r)}},x=new l;function w(a,r){return a.replace(/\{\{([^}]+)\}\}/g,(e,n)=>{let i=n.trim().split("."),t=r;for(let s of i)if(t&&typeof t=="object"&&s in t)t=t[s];else return e;return t!=null?String(t):e})}function T(a,r){let e={...r.variables,result:r.results.get("__last_result__")},n=w(a,e);return p(n,e,!1)}var g=["login-flow","oauth-flow","scraping-workflow","visual-regression","form-validation","navigation-flow","api-integration","performance-audit","accessibility-audit"],A={"login-flow":"Authentication testing workflow for login forms with credential validation","oauth-flow":"OAuth2/OIDC authentication testing workflow with provider integration","scraping-workflow":"Data extraction workflow for web scraping with pagination and structured output","visual-regression":"Screenshot comparison workflow for visual regression testing across breakpoints","form-validation":"Input validation testing workflow for form fields with error handling","navigation-flow":"Multi-page navigation workflow for testing user journeys and state persistence","api-integration":"Browser-API hybrid testing workflow for validating frontend-backend integration","performance-audit":"Lighthouse-style performance audit workflow with Core Web Vitals","accessibility-audit":"WCAG 2.1 Level AA compliance audit workflow with automated accessibility testing"},h={authentication:["login-flow","oauth-flow"],testing:["form-validation","navigation-flow","api-integration"],quality:["visual-regression","performance-audit","accessibility-audit"],automation:["scraping-workflow"]};function _(a){return h[a]}function P(a){return g.includes(a)}function L(){return g.map(a=>{let r=Object.entries(h).find(([e,n])=>n.includes(a))?.[0]||"other";return{name:a,description:A[a],category:r}})}export{h as WORKFLOW_CATEGORIES,A as WORKFLOW_DESCRIPTIONS,g as WORKFLOW_TEMPLATES,l as WorkflowLoader,x as defaultWorkflowLoader,T as evaluateCondition,L as getAllWorkflowTemplates,_ as getWorkflowsByCategory,w as interpolateVariables,P as isValidWorkflowTemplate};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import{a}from"./chunk-KHVWIUAF.js";import"./chunk-PBWR2SKH.js";import"./chunk-6Q7PWKWV.js";import"./chunk-DREYYJ7A.js";import"./chunk-NF6SLLE6.js";import"./chunk-3NOSMJS4.js";import"./chunk-5C4UYXQL.js";import"./chunk-W5NHBYYS.js";import"./chunk-53HWWWFZ.js";import"./chunk-UE33MZOC.js";import"./chunk-ADEYBXAS.js";import"./chunk-WQZR6DS6.js";import"./chunk-WPG6SW7C.js";import"./chunk-SRXXPZVT.js";import"./chunk-LQI5GVH7.js";import"./chunk-UGUZFUQG.js";import"./chunk-2K3QFLX2.js";import"./chunk-7FGSX4UD.js";import"./chunk-46DUU44C.js";import"./chunk-ARWSPV2C.js";import"./chunk-HU4QGCIJ.js";import"./chunk-25IWHVMW.js";import"./chunk-JW2HNT3J.js";import"./chunk-OH4SKOAM.js";import"./chunk-PNK5KHSI.js";export{a as BrowserWorkflowTool};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.
|
|
2
|
-
import{b as g}from"./chunk-
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import{b as g}from"./chunk-PNK5KHSI.js";import*as s from"fs";import*as f from"os";import*as t from"path";function j(){l=null,p=null}function m(a,n){let i=t.relative(n,a);return i===""||!i.startsWith("..")&&!t.isAbsolute(i)}function v(a=process.cwd()){if(process.env.AQE_PROJECT_ROOT)return process.env.AQE_PROJECT_ROOT;let n=t.resolve(a);if(l&&p===n)return l;p=n;let i=t.parse(n).root,c=null;try{c=t.resolve(f.homedir())}catch{c=null}let e=n,r=null,o=null,u=null;for(;e!==i;){let h=e===c&&e!==n&&!m(n,t.join(e,".agentic-qe"));o===null&&!h&&s.existsSync(t.join(e,".agentic-qe"))&&r===null&&(r=e),s.existsSync(t.join(e,".git"))&&o===null&&(o=e),s.existsSync(t.join(e,"package.json"))&&(u=e),e=t.dirname(e)}return r?l=r:o?l=o:u?l=u:l=n,l}var l,p,d=g(()=>{l=null,p=null});export{j as a,v as b,d as c};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.
|
|
2
|
-
import{b as F,d as j}from"./chunk-
|
|
1
|
+
import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.15.1");process.exit(0)}
|
|
2
|
+
import{b as F,d as j}from"./chunk-5C4UYXQL.js";import{a as T}from"./chunk-PZDI7WQ3.js";import{a as M,e as V}from"./chunk-ARWSPV2C.js";import{randomUUID as te}from"crypto";import*as u from"fs";import*as g from"path";import*as v from"os";import*as P from"fs";var K={"aqe test generate":{domain:"test-generation",action:"generateTests"},"aqe test execute":{domain:"test-execution",action:"execute"},"aqe coverage analyze":{domain:"coverage-analysis",action:"analyze"},"aqe coverage gaps":{domain:"coverage-analysis",action:"detectGaps"},"aqe quality gate":{domain:"quality-assessment",action:"evaluateGate"},"aqe quality assess":{domain:"quality-assessment",action:"analyzeQuality"},"aqe security scan":{domain:"security-compliance",action:"runSASTScan"},"aqe security audit":{domain:"security-compliance",action:"runAudit"},"aqe defect predict":{domain:"defect-intelligence",action:"predictDefects"},"aqe code index":{domain:"code-intelligence",action:"index"},"aqe code impact":{domain:"code-intelligence",action:"analyzeImpact"},"aqe contract validate":{domain:"contract-testing",action:"validateContract"},"aqe chaos test":{domain:"chaos-resilience",action:"runChaosTest"},"aqe requirements validate":{domain:"requirements-validation",action:"validateRequirements"},"aqe visual test":{domain:"visual-accessibility",action:"runVisualTest"},"aqe accessibility test":{domain:"visual-accessibility",action:"runAccessibilityTest"},"aqe learn optimize":{domain:"learning-optimization",action:"optimizeAllStrategies"}},x={daily:"0 0 * * *",weekly:"0 0 * * 0",hourly:"0 * * * *",minutely:"* * * * *"},C=1e4,R=20,I=1e4,G=["__proto__","constructor","prototype"];function _(n){return!G.includes(n)}function H(n){let e=n.split(`
|
|
3
3
|
`);if(e.length>C)throw new Error(`YAML content exceeds maximum allowed lines (${C}). File has ${e.length} lines.`);for(let s=0;s<e.length;s++)if(e[s].length>I)throw new Error(`YAML line ${s+1} exceeds maximum allowed length (${I} characters).`);let i={};for(let s=0;s<e.length;s++){let r=e[s];if(r.trim()===""||r.trim().startsWith("#")||r.search(/\S/)!==0)continue;let c=r.match(/^([\w_-]+):\s*(.+)$/);if(c){let[,a,d]=c;_(a)&&(i[a]=y(d))}}let t=["tags","stages","triggers"];for(let s of t){let r=new RegExp(`^${s}:\\s*$`),o=-1;for(let h=0;h<e.length;h++){let l=e[h];if(!(l.trim()===""||l.trim().startsWith("#"))&&r.test(l.trim())){o=h;break}}if(o===-1)continue;let c=[];i[s]=c;let a=e[o].search(/\S/),d=o+1;for(;d<e.length;){let h=e[d];if(h.trim()===""||h.trim().startsWith("#")){d++;continue}let l=h.search(/\S/),f=h.trim();if(l<=a&&!f.startsWith("-"))break;if(f.startsWith("- ")){let m=f.slice(2).trim();if(!m.includes(":")){c.push(y(m)),d++;continue}let p={},w=m.match(/^([\w_-]+):\s*(.*)$/);if(w){let[,S,k]=w;p[S]=y(k)}let z=l;for(d++;d<e.length;){let S=e[d];if(S.trim()===""||S.trim().startsWith("#")){d++;continue}let k=S.search(/\S/),U=S.trim();if(k<=z)break;let D=U.match(/^([\w_-]+):\s*(.*)$/);if(D){let[,A,L]=D;if(L===""){let E=B(e,d+1,k,1);p[A]=E.value,d=E.nextLine;continue}else p[A]=y(L)}d++}c.push(p)}else d++}}return i}function B(n,e,i,t=0){if(t>R)throw new Error(`YAML nesting exceeds maximum allowed depth (${R}).`);let s={},r=null,o=null,c=e;for(;c<n.length;){let d=n[c];if(d.trim()===""||d.trim().startsWith("#")){c++;continue}let h=d.search(/\S/),l=d.trim();if(h<=i)break;if(l.startsWith("- ")){let m=l.slice(2).trim();o&&!Array.isArray(s[o])&&(s[o]=[]),o?s[o].push(y(m)):(r||(r=[]),r.push(y(m))),c++;continue}let f=l.match(/^([\w_-]+):\s*(.*)$/);if(f){let[,m,p]=f;if(!_(m)){c++;continue}p===""?(o=m,s[m]=[]):(s[m]=y(p),o=null)}c++}if(r&&Object.keys(s).length===0)return{value:r,nextLine:c};let a=Object.keys(s);return a.length===1&&Array.isArray(s[a[0]])?{value:s[a[0]],nextLine:c}:{value:s,nextLine:c}}function y(n){if(n==="")return"";if(n.startsWith('"')&&n.endsWith('"')||n.startsWith("'")&&n.endsWith("'"))return n.slice(1,-1);if(n==="true")return!0;if(n==="false")return!1;if(n==="null"||n==="~")return null;let e=Number(n);return!isNaN(e)&&n!==""?e:n.startsWith("[")&&n.endsWith("]")?n.slice(1,-1).split(",").map(t=>y(t.trim())):n}function le(n){let e=[];if(!P.existsSync(n))return{success:!1,errors:[`File not found: ${n}`]};let i;try{i=P.readFileSync(n,"utf-8")}catch(t){return{success:!1,errors:[`Failed to read file: ${t}`]}}return X(i,n)}function X(n,e){let i=[],t;try{t=H(n)}catch(o){return{success:!1,errors:[`Invalid YAML syntax: ${o}`]}}if((!t.name||typeof t.name!="string")&&i.push('Pipeline must have a "name" field'),(!t.stages||!Array.isArray(t.stages))&&i.push('Pipeline must have a "stages" array'),i.length>0)return{success:!1,errors:i};let s={name:t.name,description:t.description,version:t.version||"1.0.0",schedule:t.schedule,stages:t.stages.map((o,c)=>{let a=o;return{name:a.name||`stage-${c}`,command:a.command,params:a.params,depends_on:a.depends_on,condition:a.condition,timeout:a.timeout,retry:a.retry,continue_on_failure:a.continue_on_failure}}),triggers:t.triggers,tags:t.tags,timeout:t.timeout};for(let o=0;o<s.stages.length;o++){let c=s.stages[o];c.command||i.push(`Stage ${o+1} (${c.name}) must have a "command" field`)}if(i.length>0)return{success:!1,pipeline:s,errors:i};let r=J(s,e);return{success:!0,pipeline:s,workflow:r,errors:[]}}function J(n,e){let i=`pipeline-${n.name.replace(/\s+/g,"-").toLowerCase()}`,t=n.stages.map((r,o)=>{let c=O(r.command),a={};if(r.params)for(let[h,l]of Object.entries(r.params))_(h)&&(a[h]=`input.${h}`);let d={id:`stage-${r.name.replace(/\s+/g,"-").toLowerCase()}`,name:r.name,domain:c.domain,action:c.action,inputMapping:Object.keys(a).length>0?a:void 0,dependsOn:r.depends_on?.map(h=>`stage-${h.replace(/\s+/g,"-").toLowerCase()}`),timeout:r.timeout?r.timeout*1e3:void 0,continueOnFailure:r.continue_on_failure};return r.condition&&(d.condition={path:r.condition.path,operator:r.condition.operator,value:r.condition.value}),r.retry&&(d.retry={maxAttempts:r.retry.max_attempts||3,backoffMs:(r.retry.backoff_seconds||1)*1e3}),d}),s=n.triggers?.map(r=>{let o={eventType:Q(r),sourceDomain:r.source_domain};return r.condition&&(o.condition={path:r.condition.path,operator:r.condition.operator,value:r.condition.value}),o});return{id:i,name:n.name,description:n.description||`Pipeline from ${e||"inline YAML"}`,version:n.version||"1.0.0",steps:t,triggers:s,tags:n.tags,timeout:n.timeout?n.timeout*1e3:void 0}}function O(n){let e=n.trim().replace(/\s+/g," ").toLowerCase();for(let[i,t]of Object.entries(K))if(e.startsWith(i.toLowerCase()))return t;return e.includes("test")&&e.includes("generate")?{domain:"test-generation",action:"generateTests"}:e.includes("test")&&(e.includes("execute")||e.includes("run"))?{domain:"test-execution",action:"execute"}:e.includes("coverage")?{domain:"coverage-analysis",action:"analyze"}:e.includes("quality")||e.includes("gate")?{domain:"quality-assessment",action:"evaluateGate"}:e.includes("security")||e.includes("scan")?{domain:"security-compliance",action:"runSASTScan"}:e.includes("defect")||e.includes("predict")?{domain:"defect-intelligence",action:"predictDefects"}:{domain:"learning-optimization",action:"runLearningCycle"}}function Q(n){let e=n.event.toLowerCase();return e==="push"?"code-intelligence.CodePushed":e==="pull_request"||e==="pr"?"code-intelligence.PullRequestOpened":e==="schedule"?"workflow.ScheduleTrigger":e==="quality_gate"?"quality-assessment.QualityGateEvaluated":e==="test_complete"?"test-execution.TestRunCompleted":e}function ue(n){let e=[],i=[];if(n.name||e.push({path:"name",message:"Pipeline name is required",severity:"error"}),!n.stages||n.stages.length===0)e.push({path:"stages",message:"Pipeline must have at least one stage",severity:"error"});else{let t=new Set;for(let r=0;r<n.stages.length;r++){let o=n.stages[r],c=`stages[${r}]`;if(t.has(o.name)&&e.push({path:`${c}.name`,message:`Duplicate stage name: ${o.name}`,severity:"error"}),t.add(o.name),o.command?O(o.command).domain==="learning-optimization"&&!o.command.toLowerCase().includes("learn")&&i.push({path:`${c}.command`,message:`Command "${o.command}" not recognized, will default to learning-optimization domain`,severity:"warning"}):e.push({path:`${c}.command`,message:"Stage must have a command",severity:"error"}),o.depends_on)for(let a of o.depends_on)n.stages.some(d=>d.name===a)||e.push({path:`${c}.depends_on`,message:`Unknown dependency: ${a}`,severity:"error"});o.timeout!==void 0&&o.timeout<=0&&e.push({path:`${c}.timeout`,message:"Timeout must be a positive number",severity:"error"}),o.retry&&o.retry.max_attempts!==void 0&&o.retry.max_attempts<1&&e.push({path:`${c}.retry.max_attempts`,message:"max_attempts must be at least 1",severity:"error"})}let s=Z(n.stages);s&&e.push({path:"stages",message:`Circular dependency detected: ${s}`,severity:"error"})}if(n.schedule&&(ee(n.schedule)||e.push({path:"schedule",message:`Invalid cron expression: ${n.schedule}`,severity:"error"})),n.triggers)for(let t=0;t<n.triggers.length;t++){let s=n.triggers[t],r=`triggers[${t}]`;s.event||e.push({path:`${r}.event`,message:"Trigger must have an event type",severity:"error"}),s.source_domain&&!T.includes(s.source_domain)&&i.push({path:`${r}.source_domain`,message:`Unknown domain: ${s.source_domain}`,severity:"warning"})}return{valid:e.length===0,errors:e,warnings:i}}function Z(n){let e=new Set,i=new Set,t=(s,r)=>{if(i.has(s))return[...r,s].join(" -> ");if(e.has(s))return null;e.add(s),i.add(s);let o=n.find(c=>c.name===s);if(o?.depends_on)for(let c of o.depends_on){let a=t(c,[...r,s]);if(a)return a}return i.delete(s),null};for(let s of n){let r=t(s.name,[]);if(r)return r}return null}function ee(n){return q(n)!==void 0}function q(n){let i=(Object.hasOwn(x,n)?x[n]:n).trim().split(/\s+/);if(i.length!==5)return;let t=[[0,59],[0,23],[1,31],[1,12],[0,7]],s=[/^(\*|[0-5]?\d)(-[0-5]?\d)?(\/\d+)?$/,/^(\*|1?\d|2[0-3])(-\d+)?(\/\d+)?$/,/^(\*|[1-9]|[12]\d|3[01])(-\d+)?(\/\d+)?$/,/^(\*|[1-9]|1[0-2])(-\d+)?(\/\d+)?$/,/^(\*|[0-7])(-[0-7])?(\/\d+)?$/],r=[];for(let o=0;o<i.length;o++){let[c,a]=t[o],d=new Set;for(let h of i[o].split(",")){if(!s[o].test(h))return;let l=/^(\*|\d+)(?:-(\d+))?(?:\/(\d+))?$/.exec(h);if(!l||l[1]==="*"&&l[2]!==void 0)return;let f=l[1]==="*"?c:Number(l[1]),m=l[2]!==void 0?Number(l[2]):l[1]==="*"||l[3]!==void 0?a:f,p=l[3]===void 0?1:Number(l[3]);if(!Number.isSafeInteger(f)||!Number.isSafeInteger(m)||!Number.isSafeInteger(p)||p<=0||f<c||m>a||f>m)return;for(let w=f;w<=m;w+=p)d.add(o===4&&w===7?0:w)}r.push(d)}return{fields:r,wildcardDay:i[2].startsWith("*")||i[4].startsWith("*")}}function he(n){let e={"@daily":"Daily at midnight","@weekly":"Weekly on Sunday at midnight","@hourly":"Every hour","@minutely":"Every minute"};if(e[n])return e[n];if(Object.keys(x).includes(n))return{daily:"Daily at midnight",weekly:"Weekly on Sunday at midnight",hourly:"Every hour",minutely:"Every minute"}[n]||n;let i=n.trim().split(/\s+/);if(i.length!==5)return n;let[t,s,r,o,c]=i;return t==="0"&&s==="0"&&r==="*"&&o==="*"&&c==="*"?"Daily at midnight":t==="0"&&r==="*"&&o==="*"&&c==="*"?`Daily at ${s}:00`:t!=="*"&&s!=="*"&&r==="*"&&o==="*"?`Daily at ${s}:${t.padStart(2,"0")}`:s==="*"&&t==="0"?"Every hour":t!=="*"&&s==="*"?`Every hour at minute ${t}`:n}function b(n,e=new Date){let i=q(n);if(!i)throw new Error(`Invalid cron expression: ${n}`);if(!Number.isFinite(e.getTime()))throw new Error("Invalid schedule start date");let[t,s,r,o,c]=i.fields,a=new Date(Math.floor(e.getTime()/6e4)*6e4+6e4),d=new Date(e);d.setFullYear(e.getFullYear()+400);let h=Number.isFinite(d.getTime())?d.getTime():864e13;for(;Number.isFinite(a.getTime())&&a.getTime()<=h;){let l=r.has(a.getDate()),f=c.has(a.getDay());if(!(o.has(a.getMonth()+1)&&(i.wildcardDay?l&&f:l||f))){a.setHours(24,0,0,0);continue}if(s.has(a.getHours())&&t.has(a.getMinutes()))return a;a=new Date(a.getTime()+6e4)}throw new Error(`No matching cron date within a 400-year Gregorian cycle and the supported Date range: ${n}`)}j();V();var ne=".aqe",ie="schedules.json",se="1.0.0",W=5e3,re=50,N=10*1024*1024,$=class{schedulesPath;debug;lockFile;initialized=!1;constructor(e={}){e.schedulesPath&&this.validateSchedulesPath(e.schedulesPath),this.schedulesPath=e.schedulesPath??this.getDefaultSchedulesPath(),this.lockFile=`${this.schedulesPath}.lock`,this.debug=e.debug??!1}validateSchedulesPath(e){let i=v.homedir(),t=g.resolve(e),s=g.resolve(i);if(t.startsWith(s+g.sep)||t===s)return;let r=process.cwd(),o=g.resolve(r);if(t.startsWith(o+g.sep)||t===o)return;let c=v.tmpdir(),a=g.resolve(c);if(!(t.startsWith(a+g.sep)||t===a))throw new Error(`Security: Custom schedulesPath must be within home directory (${i}), current working directory (${r}), or temp directory (${c}). Provided path: ${e}`)}getDefaultSchedulesPath(){let e=v.homedir();return g.join(e,ne,ie)}async initialize(){if(this.initialized)return;let e=g.dirname(this.schedulesPath);u.existsSync(e)||(u.mkdirSync(e,{recursive:!0}),this.log(`Created directory: ${e}`)),this.initialized=!0}async loadSchedules(){if(await this.initialize(),!u.existsSync(this.schedulesPath))return this.log("Schedules file does not exist, returning empty array"),[];try{let e=u.readFileSync(this.schedulesPath,"utf-8"),i=this.parseSchedulesFile(e);return this.log(`Loaded ${i.schedules.length} schedules`),i.schedules}catch(e){return await this.handleCorruptFile(e),[]}}async saveSchedule(e){await this.initialize(),await this.withFileLock(async()=>{let i=await this.loadSchedulesUnsafe(),t=i.findIndex(s=>s.id===e.id);t>=0?(i[t]=e,this.log(`Updated schedule: ${e.id}`)):(i.push(e),this.log(`Added schedule: ${e.id}`)),await this.writeSchedules(i)})}async removeSchedule(e){await this.initialize(),await this.withFileLock(async()=>{let i=await this.loadSchedulesUnsafe(),t=i.filter(s=>s.id!==e);if(t.length===i.length){this.log(`Schedule not found: ${e}`);return}await this.writeSchedules(t),this.log(`Removed schedule: ${e}`)})}async getSchedules(){return this.loadSchedules()}async getSchedule(e){return(await this.loadSchedules()).find(t=>t.id===e)}async getDueSchedules(){let e=await this.loadSchedules(),i=new Date;return e.filter(t=>t.enabled?new Date(t.nextRun)<=i:!1)}async markExecuted(e){await this.initialize(),await this.withFileLock(async()=>{let i=await this.loadSchedulesUnsafe(),t=i.find(r=>r.id===e);if(!t)throw new Error(`Schedule not found: ${e}`);let s=new Date;t.lastRun=s.toISOString(),t.nextRun=b(t.schedule,s).toISOString(),await this.writeSchedules(i),this.log(`Marked executed: ${e}, next run: ${t.nextRun}`)})}async setEnabled(e,i){await this.initialize(),await this.withFileLock(async()=>{let t=await this.loadSchedulesUnsafe(),s=t.find(r=>r.id===e);if(!s)throw new Error(`Schedule not found: ${e}`);s.enabled=i,i&&(s.nextRun=b(s.schedule,new Date).toISOString()),await this.writeSchedules(t),this.log(`Set enabled=${i}: ${e}`)})}async getEnabledSchedules(){return(await this.loadSchedules()).filter(i=>i.enabled)}async getSchedulesByWorkflow(e){return(await this.loadSchedules()).filter(t=>t.workflowId===e)}async clearAll(){await this.initialize(),await this.withFileLock(async()=>{await this.writeSchedules([]),this.log("Cleared all schedules")})}async getStats(){let e=await this.loadSchedules(),i=new Date;return{total:e.length,enabled:e.filter(t=>t.enabled).length,disabled:e.filter(t=>!t.enabled).length,due:e.filter(t=>t.enabled&&new Date(t.nextRun)<=i).length}}async loadSchedulesUnsafe(){if(!u.existsSync(this.schedulesPath))return[];try{let e=u.readFileSync(this.schedulesPath,"utf-8");return this.parseSchedulesFile(e).schedules}catch{return[]}}parseSchedulesFile(e){let i=Buffer.byteLength(e,"utf-8");if(i>N)throw new Error(`Schedules file exceeds maximum allowed size (${N/(1024*1024)}MB). File is ${(i/(1024*1024)).toFixed(2)}MB.`);let t=F(e);if(!t.schedules||!Array.isArray(t.schedules))throw new Error("Invalid schedules file: missing schedules array");for(let s of t.schedules)if(!s.id||!s.workflowId||!s.schedule)throw new Error("Invalid schedule entry: missing required fields");return t}async writeSchedules(e){let i={version:se,updatedAt:new Date().toISOString(),schedules:e},t=JSON.stringify(i,null,2);u.writeFileSync(this.schedulesPath,t,"utf-8"),this.log(`Wrote ${e.length} schedules to disk`)}async handleCorruptFile(e){let i=M(e);this.log(`Corrupt schedules file detected: ${i}`);let t=`${this.schedulesPath}.corrupt.${Date.now()}`;try{u.existsSync(this.schedulesPath)&&(u.copyFileSync(this.schedulesPath,t),this.log(`Backed up corrupt file to: ${t}`))}catch(s){this.log(`Failed to backup corrupt file: ${s}`)}try{u.existsSync(this.schedulesPath)&&(u.unlinkSync(this.schedulesPath),this.log("Removed corrupt schedules file"))}catch(s){this.log(`Failed to remove corrupt file: ${s}`)}}async withFileLock(e){await this.acquireLock();try{return await e()}finally{this.releaseLock()}}async acquireLock(){let e=Date.now();for(;u.existsSync(this.lockFile);){try{let i=u.statSync(this.lockFile);if(Date.now()-i.mtimeMs>W){u.unlinkSync(this.lockFile),this.log("Removed stale lock file");break}}catch{break}if(Date.now()-e>W)throw new Error("Timeout waiting for scheduler lock");await this.sleep(re)}try{u.writeFileSync(this.lockFile,`${process.pid}:${Date.now()}`,{flag:"wx"})}catch(i){if(i.code==="EEXIST")return this.acquireLock();throw i}}releaseLock(){try{u.existsSync(this.lockFile)&&u.unlinkSync(this.lockFile)}catch(e){console.debug("[PersistentScheduler] Lock release error:",e instanceof Error?e.message:e)}}sleep(e){return new Promise(i=>setTimeout(i,e))}log(e){this.debug&&console.log(`[PersistentScheduler] ${e}`)}};function oe(n={}){return new $(n)}function Y(){let n=Date.now().toString(36),e=te().slice(0,8);return`sched-${n}-${e}`}function ae(n){let e=new Date;return{id:Y(),workflowId:n.workflowId,pipelinePath:n.pipelinePath,schedule:n.schedule,scheduleDescription:n.scheduleDescription,nextRun:b(n.schedule,e).toISOString(),enabled:n.enabled??!0,createdAt:e.toISOString()}}export{le as a,ue as b,he as c,$ as d,oe as e,Y as f,ae as g};
|