agentic-qe 3.9.27 → 3.9.28
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 +25 -0
- package/assets/skills/skills-manifest.json +1 -1
- package/dist/cli/bundle.js +5 -5
- package/dist/cli/chunks/adapter-EZP2PBUO.js +2 -0
- package/dist/cli/chunks/{agent-booster-wasm-ITOX2PFK.js → agent-booster-wasm-V5PG6GFO.js} +2 -2
- package/dist/cli/chunks/{agent-handler-NGVDEBFM.js → agent-handler-7ZQNRIZC.js} +2 -2
- package/dist/cli/chunks/{agent-memory-branch-6WLQE4UP.js → agent-memory-branch-KGEYSKXW.js} +2 -2
- package/dist/cli/chunks/aqe-learning-engine-RM4YQPRF.js +2 -0
- package/dist/cli/chunks/{audit-KTNR6LYC.js → audit-5A4AC2NA.js} +2 -2
- package/dist/cli/chunks/base-2KYCMSPN.js +2 -0
- package/dist/cli/chunks/{hnswlib-node-X73LVNSE.js → better-sqlite3-RZZIAME7.js} +2 -2
- package/dist/cli/chunks/{brain-handler-ZFLB6Q37.js → brain-handler-KNERI5RC.js} +3 -3
- package/dist/cli/chunks/{branch-enumerator-SONBYE7U.js → branch-enumerator-DGR3U73T.js} +2 -2
- package/dist/cli/chunks/{browser-D6YYID5Y.js → browser-Y5DC6QCK.js} +2 -2
- package/dist/cli/chunks/browser-workflow-FZ2BRH4H.js +2 -0
- package/dist/cli/chunks/{chunk-IUUT6Q5I.js → chunk-2RKR6KT5.js} +2 -2
- package/dist/cli/chunks/{chunk-MSA7UH3M.js → chunk-33VVPBAK.js} +1 -1
- package/dist/cli/chunks/{chunk-ADU5MOQE.js → chunk-3ZPK7HCD.js} +1 -1
- package/dist/cli/chunks/{chunk-GXHMSIBM.js → chunk-4MYXPDXX.js} +1 -1
- package/dist/cli/chunks/chunk-4R6DN7IO.js +2 -0
- package/dist/cli/chunks/{chunk-WHI7FVTH.js → chunk-5KOR5ZMG.js} +2 -2
- package/dist/cli/chunks/{chunk-T46HLTI3.js → chunk-5RZ26J4J.js} +2 -2
- package/dist/cli/chunks/{chunk-JP7AOQZZ.js → chunk-5UHMNAK2.js} +1 -1
- package/dist/cli/chunks/{chunk-YHROZCDI.js → chunk-6BJ6O7JZ.js} +2 -2
- package/dist/cli/chunks/{chunk-DL6L4FGW.js → chunk-6WKX2O66.js} +2 -2
- package/dist/cli/chunks/{chunk-HYCRKKJN.js → chunk-7GLCWLZL.js} +2 -2
- package/dist/cli/chunks/{chunk-6BIHLI3A.js → chunk-7MLACLCT.js} +2 -2
- package/dist/cli/chunks/{chunk-XM3HKZ4U.js → chunk-7MVFQGFZ.js} +2 -2
- package/dist/cli/chunks/{chunk-WGYJD6DT.js → chunk-7NDBKLDK.js} +2 -2
- package/dist/cli/chunks/{chunk-S3QE2RBR.js → chunk-A77JCFFC.js} +3 -3
- package/dist/cli/chunks/{chunk-LXGVB3FK.js → chunk-AFSVRY7S.js} +1 -1
- package/dist/cli/chunks/{chunk-J24PEKZ5.js → chunk-AL7LMXTA.js} +2 -2
- package/dist/cli/chunks/{chunk-WLT5RGLK.js → chunk-B5KYS65U.js} +2 -2
- package/dist/cli/chunks/{chunk-PBP2TWV7.js → chunk-BRCWESMJ.js} +2 -2
- package/dist/cli/chunks/{chunk-VNC7ANGV.js → chunk-C5RA5PDV.js} +2 -2
- package/dist/cli/chunks/{chunk-NTTW3LSE.js → chunk-CAZ2CIU4.js} +2 -2
- package/dist/cli/chunks/{chunk-RAVTYXUD.js → chunk-CCZGT2HD.js} +1 -1
- package/dist/cli/chunks/{chunk-I3YJEVI2.js → chunk-CGQN4R76.js} +2 -2
- package/dist/cli/chunks/{chunk-CYNQW276.js → chunk-CKDW7YFV.js} +2 -2
- package/dist/cli/chunks/{chunk-NWSFGZKC.js → chunk-D4YJ3SDF.js} +1 -1
- package/dist/cli/chunks/{chunk-ITGHTWHH.js → chunk-DHLT7OCI.js} +2 -2
- package/dist/cli/chunks/{chunk-2SEXNZIJ.js → chunk-DMMFUB3Z.js} +2 -2
- package/dist/cli/chunks/{chunk-C7TMWGMN.js → chunk-DQ3FERVR.js} +3 -3
- package/dist/cli/chunks/{chunk-4AWB4BKC.js → chunk-DTS3ZD7P.js} +2 -2
- package/dist/cli/chunks/{chunk-4K7KTT4Q.js → chunk-FI2JQJYJ.js} +1 -1
- package/dist/cli/chunks/{chunk-4DTF53TE.js → chunk-FQJXLJ6G.js} +2 -2
- package/dist/cli/chunks/{chunk-YLSLQ2DT.js → chunk-FTQXXYHG.js} +2 -2
- package/dist/cli/chunks/{chunk-W5EOH4NH.js → chunk-FUKWABUF.js} +1 -1
- package/dist/cli/chunks/{chunk-7QXW6HLF.js → chunk-G4YZWVOV.js} +2 -2
- package/dist/cli/chunks/{chunk-UIKOUIGI.js → chunk-G6LGV6KD.js} +2 -2
- package/dist/cli/chunks/{chunk-2MO2U3NO.js → chunk-GECEU6U3.js} +2 -2
- package/dist/cli/chunks/{chunk-I73XKAOF.js → chunk-HEMQ4DEF.js} +3 -3
- package/dist/cli/chunks/{chunk-4SLL4YG2.js → chunk-HL26OBVJ.js} +2 -2
- package/dist/cli/chunks/{chunk-FY3TF4SA.js → chunk-HQFREWNC.js} +2 -2
- package/dist/cli/chunks/{chunk-2O6XVANK.js → chunk-I4TSLBEZ.js} +2 -2
- package/dist/cli/chunks/{chunk-OA5ZH3IH.js → chunk-IJNRJY2R.js} +2 -2
- package/dist/cli/chunks/{chunk-CNWWQYZ3.js → chunk-IVRBWQBU.js} +1 -1
- package/dist/cli/chunks/{chunk-WD5T5PE6.js → chunk-J62GSTYJ.js} +2 -2
- package/dist/cli/chunks/{chunk-HV7V34DZ.js → chunk-JOSEPQIU.js} +2 -2
- package/dist/cli/chunks/{chunk-2UPD2NX5.js → chunk-JZ5TPG5T.js} +1 -1
- package/dist/cli/chunks/{chunk-BZNIVIZE.js → chunk-KCP5CS4C.js} +1 -1
- package/dist/cli/chunks/{chunk-2IKQT3IF.js → chunk-KYPNHW4G.js} +1 -1
- package/dist/cli/chunks/{chunk-SCS3RUTT.js → chunk-LCSDE5DQ.js} +1 -1
- package/dist/cli/chunks/{chunk-SL5MAYYP.js → chunk-LE3V4QHG.js} +2 -2
- package/dist/cli/chunks/{chunk-RM7WNXRT.js → chunk-LG3F5F7B.js} +2 -2
- package/dist/cli/chunks/{chunk-F5PNA7J3.js → chunk-LKWJUZVH.js} +2 -2
- package/dist/cli/chunks/{chunk-YYGYN4RJ.js → chunk-LM624ZDD.js} +2 -2
- package/dist/cli/chunks/{chunk-QM2LHV7P.js → chunk-LQDKLJBO.js} +2 -2
- package/dist/cli/chunks/{chunk-HEZJOCD7.js → chunk-M3FFEZFJ.js} +2 -2
- package/dist/cli/chunks/{chunk-3BTSXIJ3.js → chunk-MDXIESNH.js} +2 -2
- package/dist/cli/chunks/{chunk-XS63BAQL.js → chunk-MFKVWTIY.js} +4 -4
- package/dist/cli/chunks/{chunk-EW2JQIYW.js → chunk-ML2XD4RS.js} +1 -1
- package/dist/cli/chunks/{chunk-MFRS4KFZ.js → chunk-MWVZTQOR.js} +2 -2
- package/dist/cli/chunks/{chunk-5W3XL5YW.js → chunk-NIWTQURH.js} +2 -2
- package/dist/cli/chunks/{chunk-PMP6QRTB.js → chunk-NNYRIYEZ.js} +4 -4
- package/dist/cli/chunks/{chunk-DURR7FQ2.js → chunk-NUN7N7MB.js} +9 -9
- package/dist/cli/chunks/{chunk-RPDLRKAT.js → chunk-O22BAOMU.js} +1 -1
- package/dist/cli/chunks/{chunk-A4QYEA22.js → chunk-O5AZETA7.js} +2 -2
- package/dist/cli/chunks/{chunk-XLY5LUNG.js → chunk-OE7U5SX2.js} +2 -2
- package/dist/cli/chunks/{chunk-GGIE7KUU.js → chunk-OQWTTKJU.js} +2 -2
- package/dist/cli/chunks/{chunk-U7S7A7LB.js → chunk-OVOXPXPC.js} +1 -1
- package/dist/cli/chunks/{chunk-6BGF3VZJ.js → chunk-PHPT6QTF.js} +2 -2
- package/dist/cli/chunks/{chunk-XFDOE4QW.js → chunk-PMWIZ7TC.js} +2 -2
- package/dist/cli/chunks/{chunk-A7D5532X.js → chunk-PNLEMDLY.js} +2 -2
- package/dist/cli/chunks/{chunk-OHT5NJXJ.js → chunk-POOFM7MT.js} +1 -1
- package/dist/cli/chunks/{chunk-VRPZU5KM.js → chunk-Q2GEEKE4.js} +1 -1
- package/dist/cli/chunks/{chunk-V7HMKS5S.js → chunk-QGQ6XWFK.js} +2 -2
- package/dist/cli/chunks/{chunk-ZC5WKTB5.js → chunk-QKODMLPS.js} +1 -1
- package/dist/cli/chunks/{chunk-6R2OTCWG.js → chunk-QMCRT3AX.js} +2 -2
- package/dist/cli/chunks/{chunk-AAYGZTW3.js → chunk-QY4NWJET.js} +3 -3
- package/dist/cli/chunks/{chunk-E3K7FQKW.js → chunk-RB5T2HNT.js} +2 -2
- package/dist/cli/chunks/{chunk-COTY53RT.js → chunk-RJGSHAHW.js} +2 -2
- package/dist/cli/chunks/{chunk-PGS2MYE7.js → chunk-ROXQZJ6J.js} +1 -1
- package/dist/cli/chunks/{chunk-RDJZLKU2.js → chunk-RPNBVYWZ.js} +1 -1
- package/dist/cli/chunks/{chunk-X6HOSOIT.js → chunk-RUOWR53U.js} +3 -3
- package/dist/cli/chunks/{chunk-4Z2KY7N3.js → chunk-RX3S6244.js} +1 -1
- package/dist/cli/chunks/{chunk-IQITE3HO.js → chunk-S5YTV4G3.js} +1 -1
- package/dist/cli/chunks/{chunk-WVRFTL46.js → chunk-S7RGN5OC.js} +1 -1
- package/dist/cli/chunks/{chunk-5DDRRXKR.js → chunk-SH7IVDWV.js} +2 -2
- package/dist/cli/chunks/{chunk-6IYCOEW7.js → chunk-SQHCTVEH.js} +2 -2
- package/dist/cli/chunks/{chunk-XLFWSEZ4.js → chunk-SVPX24HJ.js} +2 -2
- package/dist/cli/chunks/{chunk-PXFK5V2E.js → chunk-T5YDBTD6.js} +2 -2
- package/dist/cli/chunks/{chunk-FQZM3SVW.js → chunk-TYR7ZETY.js} +2 -2
- package/dist/cli/chunks/{chunk-MKDGVPE3.js → chunk-UCQ2AFAR.js} +8 -8
- package/dist/cli/chunks/{chunk-PFHUT2VE.js → chunk-UEADBMAA.js} +2 -2
- package/dist/cli/chunks/{chunk-WPN2NYZ3.js → chunk-UJRYZ6TO.js} +3 -3
- package/dist/cli/chunks/{chunk-RE5OY7WL.js → chunk-UYTAAWAO.js} +2 -2
- package/dist/cli/chunks/{chunk-G4KZCXZK.js → chunk-V6GKWUCS.js} +1 -1
- package/dist/cli/chunks/{chunk-MHPA6IWB.js → chunk-V7VCP42A.js} +2 -2
- package/dist/cli/chunks/{chunk-7EC2C5QP.js → chunk-VGQYRIQ2.js} +1 -1
- package/dist/cli/chunks/{chunk-KFDY5AD7.js → chunk-VJ7OJ7I3.js} +1 -1
- package/dist/cli/chunks/{chunk-J2ZH6IHM.js → chunk-VK3VXDNA.js} +2 -2
- package/dist/cli/chunks/{chunk-DPMCEGYQ.js → chunk-VPF2RECU.js} +2 -2
- package/dist/cli/chunks/{chunk-LU27B4M7.js → chunk-VQA6GDNN.js} +3 -3
- package/dist/cli/chunks/{chunk-5GBDMANM.js → chunk-VZEKUY3G.js} +2 -2
- package/dist/cli/chunks/{chunk-JZTMCQVH.js → chunk-WQIT7I46.js} +1 -1
- package/dist/cli/chunks/{chunk-T5HPBBVB.js → chunk-WT2IUWYG.js} +1 -1
- package/dist/cli/chunks/{chunk-PU7S6SEW.js → chunk-XCLG5FGQ.js} +4 -4
- package/dist/cli/chunks/{chunk-JBL5G5VJ.js → chunk-XCMM2NLF.js} +1 -1
- package/dist/cli/chunks/{chunk-ET5RCLBO.js → chunk-XLNWSI7Y.js} +2 -2
- package/dist/cli/chunks/{chunk-5WPQATT7.js → chunk-Y7EPJRQT.js} +2 -2
- package/dist/cli/chunks/{chunk-O7XW2BWN.js → chunk-YF5JCM45.js} +2 -2
- package/dist/cli/chunks/{chunk-J6EDIEZB.js → chunk-YG6ZRK5N.js} +1 -1
- package/dist/cli/chunks/{chunk-2Z2DD5YW.js → chunk-YJPNL6K4.js} +2 -2
- package/dist/cli/chunks/{chunk-HPB5MPJP.js → chunk-YLZZZRB7.js} +2 -2
- package/dist/cli/chunks/{chunk-Q5GQ267O.js → chunk-YUV4EMRT.js} +1 -1
- package/dist/cli/chunks/{chunk-2J3B4ONK.js → chunk-ZDM6AWU6.js} +2 -2
- package/dist/cli/chunks/{chunk-PIR3KN5M.js → chunk-ZH2WOQP3.js} +2 -2
- package/dist/cli/chunks/{chunk-BT5YOORE.js → chunk-ZJEPVWBV.js} +2 -2
- package/dist/cli/chunks/{chunk-JN7WVS57.js → chunk-ZKNO5AR4.js} +2 -2
- package/dist/cli/chunks/{ci-TNCEZMBI.js → ci-XTEXFMLT.js} +2 -2
- package/dist/cli/chunks/{ci-output-GXRUBE4X.js → ci-output-5NU5WEOG.js} +2 -2
- package/dist/cli/chunks/{circuit-breaker-UY3UVWZK.js → circuit-breaker-UBO4B3ER.js} +2 -2
- package/dist/cli/chunks/{claude-flow-setup-G4PJY2IE.js → claude-flow-setup-X7SVV2YA.js} +2 -2
- package/dist/cli/chunks/client-SRNILWCG.js +2 -0
- package/dist/cli/chunks/{cline-installer-VDCVZLLN.js → cline-installer-EBLJPYJW.js} +2 -2
- package/dist/cli/chunks/{code-2COXCETT.js → code-WO52OOGB.js} +2 -2
- package/dist/cli/chunks/{code-index-extractor-TBRSOYNZ.js → code-index-extractor-MVR5EQ4S.js} +2 -2
- package/dist/cli/chunks/{codex-installer-CNUIJ7RF.js → codex-installer-LR2NDWTK.js} +2 -2
- package/dist/cli/chunks/{completions-42LTVU5S.js → completions-J5OYMQCR.js} +2 -2
- package/dist/cli/chunks/{complexity-analyzer-2ECJ3OPO.js → complexity-analyzer-GUFXAK6I.js} +2 -2
- package/dist/cli/chunks/{continuedev-installer-FW2GFUG2.js → continuedev-installer-45ZDPPTK.js} +2 -2
- package/dist/cli/chunks/{copilot-installer-QSV6WUBZ.js → copilot-installer-FIKML2UD.js} +2 -2
- package/dist/cli/chunks/{cost-tracker-CH3CSBR5.js → cost-tracker-SSI3GZ5C.js} +2 -2
- package/dist/cli/chunks/{coverage-XNF65ZHG.js → coverage-GQSRYPVJ.js} +3 -3
- package/dist/cli/chunks/cross-domain-router-QCOROKUM.js +2 -0
- package/dist/cli/chunks/{cursor-installer-FP44QVKZ.js → cursor-installer-WRIQ2MXB.js} +2 -2
- package/dist/cli/chunks/{daemon-RCTFQOCN.js → daemon-TKQOU66X.js} +3 -3
- package/dist/cli/chunks/{dag-attention-scheduler-SRMUBFRY.js → dag-attention-scheduler-DZ4Y7G3P.js} +2 -2
- package/dist/cli/chunks/{detect-6N6E24MC.js → detect-DLXIZ3JQ.js} +2 -2
- package/dist/cli/chunks/{dist-node-T6UY6WUC.js → dist-node-3QZ37HLE.js} +2 -2
- package/dist/cli/chunks/{domain-handler-67FVCSTC.js → domain-handler-F2XFKJOG.js} +2 -2
- package/dist/cli/chunks/{domain-transfer-T6QVO7Q7.js → domain-transfer-NZNJ6O5Y.js} +2 -2
- package/dist/cli/chunks/dream-P5YCSXOG.js +2 -0
- package/dist/cli/chunks/{embed-and-insert-pattern-ZGTGPFKX.js → embed-and-insert-pattern-IXQSPD2Q.js} +2 -2
- package/dist/cli/chunks/{eval-KBCCSN2V.js → eval-5VQNSHMZ.js} +2 -2
- package/dist/cli/chunks/{experience-capture-middleware-QH2I2HCM.js → experience-capture-middleware-SQQVSGWT.js} +3 -3
- package/dist/cli/chunks/{fast-paths-ZP3R5NWJ.js → fast-paths-XZ4PMW4T.js} +2 -2
- package/dist/cli/chunks/{feature-flags-MGYWJNZ2.js → feature-flags-I3E33SWO.js} +2 -2
- package/dist/cli/chunks/{feature-flags-TTPWNBQU.js → feature-flags-VYNQQIWP.js} +2 -2
- package/dist/cli/chunks/{file-discovery-VUIFTAJQ.js → file-discovery-VBJYSQEB.js} +2 -2
- package/dist/cli/chunks/{fleet-RFCEBGRJ.js → fleet-R24REKY3.js} +4 -4
- package/dist/cli/chunks/{gnn-wrapper-JSEZQYAZ.js → gnn-wrapper-ZSS765OF.js} +2 -2
- package/dist/cli/chunks/{heartbeat-handler-ZRVNKBJK.js → heartbeat-handler-DXMMYI3L.js} +4 -4
- package/dist/cli/chunks/{heartbeat-scheduler-ZQTLT3DW.js → heartbeat-scheduler-CAXANO7U.js} +2 -2
- package/dist/cli/chunks/hnsw-adapter-CR22XKGP.js +2 -0
- package/dist/cli/chunks/hnsw-index-BTN322XC.js +2 -0
- package/dist/cli/chunks/{hnsw-legacy-bridge-Y6MPTDAI.js → hnsw-legacy-bridge-EU46A4HQ.js} +2 -2
- package/dist/cli/chunks/{better-sqlite3-ROUVYY3W.js → hnswlib-node-K5N5YEYS.js} +2 -2
- package/dist/cli/chunks/{hooks-RIKFUPBG.js → hooks-2AFKHPAH.js} +11 -11
- package/dist/cli/chunks/{hybrid-router-B35QFYSN.js → hybrid-router-TLHKB3V6.js} +2 -2
- package/dist/cli/chunks/{hypergraph-engine-GABHICVB.js → hypergraph-engine-QKIUFDJP.js} +2 -2
- package/dist/cli/chunks/{hypergraph-handler-NCMVBN4Q.js → hypergraph-handler-CT77BGUK.js} +3 -3
- package/dist/cli/chunks/impact-analyzer-ZYIZG4GS.js +2 -0
- package/dist/cli/chunks/{init-handler-7ROPCNFB.js → init-handler-L5Y4EZPZ.js} +8 -8
- package/dist/cli/chunks/init-wizard-2GJYCDEQ.js +2 -0
- package/dist/cli/chunks/kernel-GR44AXQ6.js +2 -0
- package/dist/cli/chunks/{kilocode-installer-JXHO4YK3.js → kilocode-installer-5XLS62BE.js} +2 -2
- package/dist/cli/chunks/{kiro-installer-7SUM4FLK.js → kiro-installer-YNGEFQJ6.js} +2 -2
- package/dist/cli/chunks/knowledge-graph-23VGRP7G.js +2 -0
- package/dist/cli/chunks/{learning-74DAUWK5.js → learning-H4PJXEZT.js} +3 -3
- package/dist/cli/chunks/{llm-router-LYQ3AJYV.js → llm-router-5V7S4RBP.js} +4 -4
- package/dist/cli/chunks/{load-EKML5ERV.js → load-MERCK5J7.js} +2 -2
- package/dist/cli/chunks/load-test-5O3AB7JK.js +2 -0
- package/dist/cli/chunks/{mcp-XBL5K2W4.js → mcp-AY3EW3M4.js} +2 -2
- package/dist/cli/chunks/{memory-FVYBB4DR.js → memory-L7QEPZ3O.js} +5 -5
- package/dist/cli/chunks/memory-backend-JMFE5AFK.js +2 -0
- package/dist/cli/chunks/{memory-handlers-LN7J33BW.js → memory-handlers-3MMKDYQH.js} +2 -2
- package/dist/cli/chunks/{multi-model-executor-5LK2OUJ7.js → multi-model-executor-MCYVGMYJ.js} +2 -2
- package/dist/cli/chunks/{opencode-installer-FY7QUQ3U.js → opencode-installer-NSJCDEG7.js} +2 -2
- package/dist/cli/chunks/{orchestrator-UYVNXY2H.js → orchestrator-PSFROJTM.js} +5 -5
- package/dist/cli/chunks/{pipeline-ZALCCJ2O.js → pipeline-TXZZCEOG.js} +2 -2
- package/dist/cli/chunks/{platform-J2VZO4PZ.js → platform-PUFZFG66.js} +2 -2
- package/dist/cli/chunks/{plugin-2J74277Q.js → plugin-ALNATTS7.js} +2 -2
- package/dist/cli/chunks/{prime-radiant-advanced-wasm-XUBMJ4Z5.js → prime-radiant-advanced-wasm-PZZRWJEK.js} +2 -2
- package/dist/cli/chunks/protocol-executor-J6KJRPXK.js +2 -0
- package/dist/cli/chunks/{protocol-handler-YGOAM45F.js → protocol-handler-WR4JQLSR.js} +2 -2
- package/dist/cli/chunks/{prove-7K3XVHHK.js → prove-AI7HVVJW.js} +2 -2
- package/dist/cli/chunks/{provider-manager-S7GYXNYK.js → provider-manager-XWDJJTRQ.js} +2 -2
- package/dist/cli/chunks/qe-reasoning-bank-A2Z7QLTV.js +2 -0
- package/dist/cli/chunks/{quality-7WK5BINE.js → quality-W5K6U7NU.js} +2 -2
- package/dist/cli/chunks/queen-coordinator-RSASVM4O.js +2 -0
- package/dist/cli/chunks/{real-embeddings-SE7AMRSP.js → real-embeddings-Y65TLGVT.js} +2 -2
- package/dist/cli/chunks/{roocode-installer-WAMTTOPL.js → roocode-installer-2INES4NP.js} +2 -2
- package/dist/cli/chunks/router-LIO2DAHL.js +2 -0
- package/dist/cli/chunks/routing-feedback-WQ4XI7TT.js +2 -0
- package/dist/cli/chunks/{routing-handler-PMHQRA32.js → routing-handler-IR4K3W3W.js} +2 -2
- package/dist/cli/chunks/{ruvector-commands-GFL76O4H.js → ruvector-commands-JGIJKLE5.js} +2 -2
- package/dist/cli/chunks/{rvf-dual-writer-GWBC6LPL.js → rvf-dual-writer-3RPYL6GB.js} +2 -2
- package/dist/cli/chunks/{rvf-migration-adapter-CXIG3BWR.js → rvf-migration-adapter-DZO5RSBU.js} +2 -2
- package/dist/cli/chunks/{rvf-migration-coordinator-EOQMTSCT.js → rvf-migration-coordinator-5OIXOLND.js} +2 -2
- package/dist/cli/chunks/rvf-native-adapter-E7ODRU4B.js +2 -0
- package/dist/cli/chunks/safe-db-BW2OSAL7.js +2 -0
- package/dist/cli/chunks/schedule-JF75BBFQ.js +2 -0
- package/dist/cli/chunks/scheduler-EYCKXDGY.js +2 -0
- package/dist/cli/chunks/{security-TUU4SO7E.js → security-6I65LIPS.js} +3 -3
- package/dist/cli/chunks/shared-rvf-adapter-4Z3AKN2H.js +2 -0
- package/dist/cli/chunks/{shared-rvf-dual-writer-REFYUOL6.js → shared-rvf-dual-writer-LEY65TEP.js} +2 -2
- package/dist/cli/chunks/sqlite-persistence-RUVPC4L5.js +2 -0
- package/dist/cli/chunks/{status-handler-V3FJKB72.js → status-handler-DOJ2JTXS.js} +2 -2
- package/dist/cli/chunks/{structural-health-YS2IIXLZ.js → structural-health-GSWBOWZR.js} +2 -2
- package/dist/cli/chunks/{sync-K5GEHWLO.js → sync-VJ7W4F4G.js} +2 -2
- package/dist/cli/chunks/{task-handler-XPCZ2JHK.js → task-handler-AETQISNK.js} +2 -2
- package/dist/cli/chunks/{task-handlers-JTL52AMR.js → task-handlers-OQSZGWCK.js} +3 -3
- package/dist/cli/chunks/{test-5FJNVFGF.js → test-G57YV5WH.js} +4 -4
- package/dist/cli/chunks/{test-scheduling-JPL25DXR.js → test-scheduling-ONWDZENP.js} +3 -3
- package/dist/cli/chunks/{token-bootstrap-QPFQ4UAT.js → token-bootstrap-CTG7NE77.js} +2 -2
- package/dist/cli/chunks/{token-usage-MVT2IZ5R.js → token-usage-YDHUAMJQ.js} +2 -2
- package/dist/cli/chunks/{transformers-ZXK7QT3Z.js → transformers-W7SFGSLI.js} +2 -2
- package/dist/cli/chunks/{tree-sitter-wasm-parser-VBZAQFTO.js → tree-sitter-wasm-parser-K7UHIIO2.js} +2 -2
- package/dist/cli/chunks/{types-UQCZMHTU.js → types-EIZ5IMMV.js} +2 -2
- package/dist/cli/chunks/unified-memory-XE5LJO5T.js +2 -0
- package/dist/cli/chunks/unified-memory-hnsw-DB6HGWEU.js +2 -0
- package/dist/cli/chunks/unified-persistence-XGXZG42H.js +2 -0
- package/dist/cli/chunks/{upgrade-TETHVGBS.js → upgrade-TIQBZYJ7.js} +2 -2
- package/dist/cli/chunks/{validate-7YJTPQC7.js → validate-IIN2ODDK.js} +2 -2
- package/dist/cli/chunks/{validate-swarm-QO32GODJ.js → validate-swarm-V6Y4I77Q.js} +2 -2
- package/dist/cli/chunks/{vibium-HDRQBZAY.js → vibium-NMIWAEGL.js} +2 -2
- package/dist/cli/chunks/visual-security-NF4MBB32.js +2 -0
- package/dist/cli/chunks/{web-tree-sitter-4QMH7RWP.js → web-tree-sitter-BGIECWPA.js} +2 -2
- package/dist/cli/chunks/{windsurf-installer-HMBCR4V3.js → windsurf-installer-WTZG4PZD.js} +2 -2
- package/dist/cli/chunks/{witness-chain-2SYYDES4.js → witness-chain-EQ2RE7CZ.js} +2 -2
- package/dist/cli/chunks/witness-chain-ZIE7GCJI.js +2 -0
- package/dist/cli/chunks/{workflow-CNFOBA7L.js → workflow-3ZDRY6TE.js} +4 -4
- package/dist/cli/chunks/workflow-orchestrator-Z4KE75MK.js +2 -0
- package/dist/cli/chunks/{wrappers-5KG5VXFG.js → wrappers-FOP76K6J.js} +2 -2
- package/dist/cli/commands/fleet.js +2 -0
- package/dist/cli/handlers/init-handler.js +2 -0
- package/dist/cli/index.js +3 -0
- package/dist/kernel/interfaces.d.ts +14 -0
- package/dist/kernel/kernel.js +32 -11
- package/dist/mcp/bundle.js +2 -2
- package/package.json +1 -1
- package/dist/cli/chunks/adapter-T3LXVVV6.js +0 -2
- package/dist/cli/chunks/aqe-learning-engine-NDMVUAJB.js +0 -2
- package/dist/cli/chunks/base-NQRD32GI.js +0 -2
- package/dist/cli/chunks/browser-workflow-WSAEHMFE.js +0 -2
- package/dist/cli/chunks/chunk-ZGJTIDFI.js +0 -2
- package/dist/cli/chunks/client-XZQV5LLD.js +0 -2
- package/dist/cli/chunks/cross-domain-router-FTKMTQQC.js +0 -2
- package/dist/cli/chunks/dream-RB4NFA6Z.js +0 -2
- package/dist/cli/chunks/hnsw-adapter-ZKM2ITVF.js +0 -2
- package/dist/cli/chunks/hnsw-index-CFYACM4M.js +0 -2
- package/dist/cli/chunks/impact-analyzer-DOLCGJKR.js +0 -2
- package/dist/cli/chunks/init-wizard-BMYBCQNH.js +0 -2
- package/dist/cli/chunks/kernel-FUWIWNAU.js +0 -2
- package/dist/cli/chunks/knowledge-graph-JFX7VTYG.js +0 -2
- package/dist/cli/chunks/load-test-5J6WURNM.js +0 -2
- package/dist/cli/chunks/memory-backend-SLFDDGZB.js +0 -2
- package/dist/cli/chunks/protocol-executor-3T2LU2YQ.js +0 -2
- package/dist/cli/chunks/qe-reasoning-bank-KPX2L7ZZ.js +0 -2
- package/dist/cli/chunks/queen-coordinator-G7ZZKP7M.js +0 -2
- package/dist/cli/chunks/router-UNMP4QIG.js +0 -2
- package/dist/cli/chunks/routing-feedback-OG5NUKZD.js +0 -2
- package/dist/cli/chunks/rvf-native-adapter-EPXU4UUM.js +0 -2
- package/dist/cli/chunks/safe-db-BYZRI4XX.js +0 -2
- package/dist/cli/chunks/schedule-Z4ICJMF6.js +0 -2
- package/dist/cli/chunks/scheduler-T4IIRLST.js +0 -2
- package/dist/cli/chunks/shared-rvf-adapter-FDAQL677.js +0 -2
- package/dist/cli/chunks/sqlite-persistence-SNTM6622.js +0 -2
- package/dist/cli/chunks/unified-memory-RL5XRRVQ.js +0 -2
- package/dist/cli/chunks/unified-memory-hnsw-FMHZ5TCH.js +0 -2
- package/dist/cli/chunks/unified-persistence-GI5NFSWC.js +0 -2
- package/dist/cli/chunks/visual-security-TARFNARP.js +0 -2
- package/dist/cli/chunks/witness-chain-U36QGK2S.js +0 -2
- package/dist/cli/chunks/workflow-orchestrator-WILFC5ES.js +0 -2
|
@@ -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.9.
|
|
2
|
-
import{a as N}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.9.28");process.exit(0)}
|
|
2
|
+
import{a as N}from"./chunk-QKODMLPS.js";import"./chunk-IVRBWQBU.js";import{Command as ae}from"commander";import s from"chalk";import{cpus as ne,freemem as ie,totalmem as re,loadavg as se}from"os";var f=class{queues={now:[],next:[],later:[]};_maxSize;constructor(e=1e3){this._maxSize=e}enqueue(e){return this.size>=this._maxSize?!1:(this.queues[e.priority].push(e),!0)}dequeue(){let e=Date.now();for(let t of["now","next","later"]){let o=this.queues[t];for(;o.length>0;){let n=o.shift();if(!(n.ttlMs&&e-n.createdAt>n.ttlMs))return n}}}peek(){let e=Date.now();for(let t of["now","next","later"]){let o=this.queues[t];for(let n of o)if(!n.ttlMs||e-n.createdAt<=n.ttlMs)return n}}drainPriority(e){let t=this.queues[e].splice(0),o=Date.now();return t.filter(n=>!n.ttlMs||o-n.createdAt<=n.ttlMs)}pruneExpired(){let e=0,t=Date.now();for(let o of["now","next","later"]){let n=this.queues[o].length;this.queues[o]=this.queues[o].filter(i=>!i.ttlMs||t-i.createdAt<=i.ttlMs),e+=n-this.queues[o].length}return e}get size(){return this.queues.now.length+this.queues.next.length+this.queues.later.length}get depths(){return{now:this.queues.now.length,next:this.queues.next.length,later:this.queues.later.length}}get isEmpty(){return this.size===0}clear(){this.queues.now=[],this.queues.next=[],this.queues.later=[]}};import{watch as E}from"fs";import{execFile as L}from"child_process";import{promisify as U}from"util";import{resolve as W,join as z}from"path";import{existsSync as j,readFileSync as B}from"fs";var M=U(L),J={repoRoot:process.cwd(),debounceMs:500,maxChangedFiles:200,pollIntervalMs:5e3},y=class{constructor(e,t){this.queue=e;this.options={...J,...t}}queue;watcher;pollTimer;options;lastKnownHeads=new Map;debounceTimer;_running=!1;_polling=!1;get running(){return this._running}async start(){if(this._running)return;let e=W(this.options.repoRoot,".git","refs","heads");if(!j(e))throw new Error(`Git refs directory not found: ${e}`);await this.snapshotHeads(),process.platform==="darwin"||process.platform==="win32"?this.watcher=E(e,{recursive:!0},(o,n)=>{n&&this.handleRefChange(n)}):this.pollTimer=setInterval(()=>{this.poll().catch(o=>{console.debug("[GitWatcher] Poll error:",o)})},this.options.pollIntervalMs),this._running=!0}stop(){this.debounceTimer&&(clearTimeout(this.debounceTimer),this.debounceTimer=void 0),this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=void 0),this.watcher&&(this.watcher.close(),this.watcher=void 0),this._running=!1}async poll(){if(this._polling)return[];this._polling=!0;let e=[];try{let{stdout:t}=await M("git",["for-each-ref","--format=%(refname:short) %(objectname:short)","refs/heads/"],{cwd:this.options.repoRoot});for(let o of t.trim().split(`
|
|
3
3
|
`)){if(!o)continue;let[n,i]=o.split(" "),r=this.lastKnownHeads.get(n);r&&r!==i&&(e.push(n),await this.enqueueCommitAnalysis(n,i)),this.lastKnownHeads.set(n,i)}}catch{}finally{this._polling=!1}return e}handleRefChange(e){this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout(()=>{this.processRefChange(e).catch(t=>{console.debug("[GitWatcher] Error processing ref change:",t)})},this.options.debounceMs)}async processRefChange(e){let t=e.replace(/\\/g,"/"),o=W(this.options.repoRoot,".git","refs","heads"),n=z(o,e),i;try{i=B(n,"utf-8").trim()}catch{return}this.lastKnownHeads.get(t)!==i&&(this.lastKnownHeads.set(t,i),await this.enqueueCommitAnalysis(t,i))}async enqueueCommitAnalysis(e,t){let o=[];try{let{stdout:r}=await M("git",["diff-tree","--no-commit-id","--name-only","-r",t],{cwd:this.options.repoRoot});o=r.trim().split(`
|
|
4
4
|
`).filter(Boolean).slice(0,this.options.maxChangedFiles)}catch{}let n={type:"git_commit",branch:e,commitHash:t,changedFiles:o},i={id:`git-${t}-${Date.now()}`,priority:"next",payload:n,createdAt:Date.now(),source:"git-watcher",ttlMs:300*1e3};this.queue.enqueue(i)}async snapshotHeads(){try{let{stdout:e}=await M("git",["for-each-ref","--format=%(refname:short) %(objectname:short)","refs/heads/"],{cwd:this.options.repoRoot});for(let t of e.trim().split(`
|
|
5
5
|
`)){if(!t)continue;let[o,n]=t.split(" ");this.lastKnownHeads.set(o,n)}}catch{}}};var V={regressionThreshold:2,gapThreshold:60,memoryPrefix:"quality-daemon:coverage"},v=class{constructor(e,t){this.queue=e;this.options={...V,...t}}queue;options;async analyze(e,t,o){let n=await t.get(`${this.options.memoryPrefix}:snapshot`);if(await t.set(`${this.options.memoryPrefix}:snapshot`,e),!n)return{regressionDetected:!1,overallDelta:{line:0,branch:0,function:0,statement:0},affectedFiles:[],newGaps:[]};let i=n,r={line:e.overall.line-i.overall.line,branch:e.overall.branch-i.overall.branch,function:e.overall.function-i.overall.function,statement:e.overall.statement-i.overall.statement},a=r.line<-this.options.regressionThreshold||r.branch<-this.options.regressionThreshold,c=o??Object.keys(e.files),d=[],h=[];for(let g of c){let m=e.files[g],p=i.files[g];if(!m)continue;let R=p?m.line-p.line:0,$=p?m.branch-p.branch:0,I=p?m.uncoveredLines.filter(_=>!p.uncoveredLines.includes(_)):m.uncoveredLines;if((R!==0||$!==0||I.length>0)&&d.push({file:g,lineDelta:R,branchDelta:$,newUncoveredLines:I}),m.line<this.options.gapThreshold){let _=this.computeRiskScore(m,I.length);h.push({file:g,uncoveredLines:m.uncoveredLines,currentCoverage:m.line,riskScore:_})}}return(a||h.length>0)&&this.enqueueTestSuggestion(e,i,h),await t.set(`${this.options.memoryPrefix}:delta`,{timestamp:Date.now(),overallDelta:r,regressionDetected:a,affectedFileCount:d.length,gapCount:h.length}),{regressionDetected:a,overallDelta:r,affectedFiles:d,newGaps:h}}async buildSnapshot(e){let t=await e.get("coverage:latest");if(t)return{timestamp:Date.now(),overall:{line:t.line,branch:t.branch,function:t.function,statement:t.statement},files:t.files??{}}}computeRiskScore(e,t){let n=1-Math.min(100,Math.max(0,e.line))/100,i=Math.min(t/50,1);return Math.min(1,n*.6+i*.4)}enqueueTestSuggestion(e,t,o){let n={type:"coverage_delta",previousSnapshot:`snapshot-${t.timestamp}`,currentSnapshot:`snapshot-${e.timestamp}`},i={id:`coverage-delta-${Date.now()}`,priority:o.some(r=>r.riskScore>.8)?"now":"next",payload:n,createdAt:Date.now(),source:"coverage-delta",ttlMs:600*1e3};this.queue.enqueue(i)}};import{execFile as K}from"child_process";import{promisify as Y}from"util";var X=Y(K),Z={runsPerWorkflow:10,flakyThreshold:3,repo:""},w=class{constructor(e,t){this.queue=e;this.options={...Z,...t}}queue;options;async check(){let e=await this.fetchRecentRuns(),t=this.groupByWorkflow(e),o=[],n=[],i=0;for(let[a,c]of Object.entries(t)){let d=c.filter(p=>p.conclusion==="failure").length,h=c.length>0?(c.length-d)/c.length*100:100,g=this.countConsecutiveFailures(c),m=c[0]?.conclusion??"unknown";m==="failure"&&i++,g>=this.options.flakyThreshold&&(n.push(a),this.enqueueFailureAlert(a,c[0])),o.push({name:a,recentRuns:c.length,failedRuns:d,successRate:Math.round(h*10)/10,lastConclusion:m,consecutiveFailures:g})}let r=this.calculateHealthScore(o);return{timestamp:Date.now(),workflows:o,failingWorkflows:i,flakyWorkflows:n,healthScore:r}}async fetchRecentRuns(){try{let e=["run","list","--limit",String(this.options.runsPerWorkflow*5),"--json","name,status,conclusion,headBranch,number,databaseId,createdAt"];this.options.repo&&e.push("--repo",this.options.repo);let{stdout:t}=await X("gh",e,{timeout:15e3});return JSON.parse(t).map(n=>({name:n.name,status:n.status,conclusion:n.conclusion??"pending",headBranch:n.headBranch,runNumber:n.number,databaseId:n.databaseId,createdAt:n.createdAt}))}catch{return[]}}groupByWorkflow(e){let t={};for(let o of e)t[o.name]||(t[o.name]=[]),t[o.name].push(o);for(let o of Object.keys(t))t[o]=t[o].slice(0,this.options.runsPerWorkflow);return t}countConsecutiveFailures(e){let t=0;for(let o of e)if(o.conclusion==="failure")t++;else break;return t}calculateHealthScore(e){if(e.length===0)return 100;let t=e.reduce((o,n)=>o+n.successRate,0)/e.length;return Math.round(t)}enqueueFailureAlert(e,t){let o={type:"ci_failure",workflowName:e,runId:t.databaseId,conclusion:t.conclusion},n={id:`ci-failure-${e}-${Date.now()}`,priority:"now",payload:o,createdAt:Date.now(),source:"ci-monitor",ttlMs:1800*1e3};this.queue.enqueue(n)}};var ee={memoryPrefix:"quality-daemon:suggestions",maxSuggestions:100,minRiskScore:.3},b=class{options;constructor(e){this.options={...ee,...e}}async suggest(e,t,o){let n=[],i=e.filter(a=>a.riskScore>=this.options.minRiskScore);for(let a of i){let c=t.includes(a.file),d=this.determinePriority(a,c),h=this.determineTestType(a.file),g=this.estimateEffort(a);n.push({id:`suggestion-${Date.now()}-${n.length}`,file:a.file,uncoveredLines:a.uncoveredLines.slice(0,50),suggestedTestType:h,description:this.generateDescription(a,h),priority:d,estimatedEffort:g,createdAt:Date.now(),status:"pending"})}n.sort((a,c)=>{let d={high:0,medium:1,low:2};return d[a.priority]-d[c.priority]});let r=n.slice(0,this.options.maxSuggestions);return await this.storeSuggestions(r,o),r}async getPending(e){return(await e.get(`${this.options.memoryPrefix}:list`)??[]).filter(o=>o.status==="pending")}async updateStatus(e,t,o){let n=await o.get(`${this.options.memoryPrefix}:list`);if(!n)return!1;let i=n.findIndex(a=>a.id===e);if(i===-1)return!1;let r=n.map((a,c)=>c===i?{...a,status:t}:a);return await o.set(`${this.options.memoryPrefix}:list`,r),!0}determinePriority(e,t){return e.riskScore>.8?"high":t||e.riskScore>.5?"medium":"low"}determineTestType(e){return e.includes("/api/")||e.includes("/routes/")||e.includes("/handlers/")?"integration":e.includes("/e2e/")||e.includes("/pages/")||e.includes("/views/")?"e2e":"unit"}estimateEffort(e){return e.uncoveredLines.length<=10?"small":e.uncoveredLines.length<=50?"medium":"large"}generateDescription(e,t){let o=e.uncoveredLines.length,n=Math.round(e.currentCoverage);return`Add ${t} tests for ${e.file} (${o} uncovered lines, ${n}% coverage, risk ${(e.riskScore*100).toFixed(0)}%)`}async storeSuggestions(e,t){let i=[...(await t.get(`${this.options.memoryPrefix}:list`)??[]).filter(r=>r.status!=="pending"),...e].slice(-this.options.maxSuggestions);await t.set(`${this.options.memoryPrefix}:list`,i),await t.set(`${this.options.memoryPrefix}:count`,{pending:e.length,total:i.length,lastUpdated:Date.now()})}};var te={memoryPrefix:"quality-daemon:nightly",maxEntryAge:6048e5,nightlyHour:2},k=class{constructor(e,t){this.queue=e;this.options={...te,...t}}queue;options;lastRunDate;shouldRun(){let e=new Date,t=e.toISOString().split("T")[0];return this.lastRunDate===t?!1:e.getHours()>=this.options.nightlyHour}scheduleIfDue(){if(!this.shouldRun())return!1;let e={type:"nightly",tasks:["consolidate_patterns","prune_expired","generate_report"]},t={id:`nightly-${Date.now()}`,priority:"later",payload:e,createdAt:Date.now(),source:"nightly-consolidation",ttlMs:720*60*1e3};return this.queue.enqueue(t)}async execute(e,t){let o=Date.now(),n=new Date().toISOString().split("T")[0],i=await this.consolidatePatterns(e),r=await this.pruneExpired(e),a=this.generateReport(n,t);await e.set(`${this.options.memoryPrefix}:report:${n}`,a),this.lastRunDate=n;let c={timestamp:Date.now(),patternsConsolidated:i,entriesPruned:r,reportGenerated:!0,durationMs:Date.now()-o};return await e.set(`${this.options.memoryPrefix}:last-result`,c),c}async getLastResult(e){return e.get(`${this.options.memoryPrefix}:last-result`)}async consolidatePatterns(e){let t=await e.search("quality-daemon:*"),o=0;return await e.get("quality-daemon:suggestions:count")&&o++,await e.get("quality-daemon:coverage:delta")&&o++,o}async pruneExpired(e){let t=await e.search("quality-daemon:*"),o=0,n=Date.now();for(let i of t){if(i.endsWith(":snapshot")||i.endsWith(":list"))continue;let r=await e.get(i);r&&typeof r.timestamp=="number"&&n-r.timestamp>this.options.maxEntryAge&&(await e.set(i,{pruned:!0,prunedAt:n}),o++)}return o}generateReport(e,t){return{date:e,coverageHealth:t.coverageHealth??0,ciHealth:t.ciHealth??0,commitsAnalyzed:t.commitsAnalyzed??0,suggestionsGenerated:t.suggestionsGenerated??0,notificationsSent:t.notificationsSent??0,queueDepthAvg:t.queueDepthAvg??0,daemonUptime:t.uptimeSeconds??0}}};import{writeFileSync as A,mkdirSync as Q,readdirSync as P,readFileSync as F,unlinkSync as G}from"fs";import{join as C,resolve as oe}from"path";var O={notificationsDir:oe(process.cwd(),".agentic-qe","notifications"),maxNotifications:200},S=class{notificationsDir;maxNotifications;webhookUrl;urlValidator;_sentCount=0;constructor(e){this.notificationsDir=e?.notificationsDir??O.notificationsDir,this.maxNotifications=e?.maxNotifications??O.maxNotifications,this.webhookUrl=e?.webhookUrl,this.urlValidator=e?.urlValidator}get sentCount(){return this._sentCount}initialize(){Q(this.notificationsDir,{recursive:!0})}async send(e){let t={...e,id:`notif-${Date.now()}-${Math.random().toString(36).slice(2,8)}`,timestamp:Date.now(),read:!1};return this.writeToFile(t),this.webhookUrl&&await this.sendWebhook(t),this._sentCount++,this.pruneOldNotifications(),t}list(e){let t=e?.limit??50;try{let o=P(this.notificationsDir).filter(i=>i.endsWith(".json")).sort().reverse(),n=[];for(let i of o){if(n.length>=t)break;try{let r=F(C(this.notificationsDir,i),"utf-8"),a=JSON.parse(r);if(e?.unreadOnly&&a.read||e?.type&&a.type!==e.type)continue;n.push(a)}catch{}}return n}catch{return[]}}markRead(e){try{let t=P(this.notificationsDir).filter(r=>r.endsWith(`-${e}.json`));if(t.length===0)return!1;let o=C(this.notificationsDir,t[0]),i={...JSON.parse(F(o,"utf-8")),read:!0};return A(o,JSON.stringify(i,null,2)),!0}catch{return!1}}clear(){try{let e=P(this.notificationsDir).filter(t=>t.endsWith(".json"));for(let t of e)G(C(this.notificationsDir,t));return e.length}catch{return 0}}writeToFile(e){try{Q(this.notificationsDir,{recursive:!0});let t=`${e.timestamp}-${e.id}.json`,o=C(this.notificationsDir,t);A(o,JSON.stringify(e,null,2))}catch(t){console.debug("[NotificationService] Failed to write notification:",t)}}async sendWebhook(e){if(this.webhookUrl){if(this.urlValidator&&!this.urlValidator(this.webhookUrl)){console.warn("[NotificationService] Webhook URL blocked by SSRF guard:",this.webhookUrl);return}try{let t=await fetch(this.webhookUrl,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e),signal:AbortSignal.timeout(5e3)});t.ok||console.debug(`[NotificationService] Webhook returned ${t.status}`)}catch(t){console.debug("[NotificationService] Webhook delivery failed:",t)}}}pruneOldNotifications(){try{let e=P(this.notificationsDir).filter(o=>o.endsWith(".json")).sort();if(e.length<=this.maxNotifications)return;let t=e.slice(0,e.length-this.maxNotifications);for(let o of t)G(C(this.notificationsDir,o))}catch{}}};var q="quality-daemon",D=class{constructor(e){this.backend=e}backend;async get(e){return this.backend.kvGet(e,q)}async set(e,t){await this.backend.kvSet(e,t,q)}async search(e){return this.backend.kvSearch(e,q)}};var T={tickIntervalMs:3e4,ciPollIntervalMs:5*6e4,coverageCheckIntervalMs:2*6e4,cpuThreshold:.7,memoryThreshold:.8},x=class{queue;gitWatcher;coverageDelta;ciMonitor;testSuggester;nightlyConsolidation;notificationService;tickTimer;_running=!1;_startedAt=0;_tickCount=0;_lastTickAt;_throttled=!1;_commitsAnalyzed=0;_suggestionsGenerated=0;_ciHealth=100;_coverageHealth=100;_lastCICheck;_lastCoverageCheck;_memory;config;constructor(e){this.config={tickIntervalMs:e?.tickIntervalMs??T.tickIntervalMs,ciPollIntervalMs:e?.ciPollIntervalMs??T.ciPollIntervalMs,coverageCheckIntervalMs:e?.coverageCheckIntervalMs??T.coverageCheckIntervalMs,cpuThreshold:e?.cpuThreshold??T.cpuThreshold,memoryThreshold:e?.memoryThreshold??T.memoryThreshold},this.queue=new f,this.gitWatcher=new y(this.queue,e?.git),this.coverageDelta=new v(this.queue,e?.coverage),this.ciMonitor=new w(this.queue,e?.ci),this.testSuggester=new b(e?.suggestions),this.nightlyConsolidation=new k(this.queue,e?.nightly),this.notificationService=new S(e?.notifications)}get running(){return this._running}async start(e){this._running||(this._memory=e,this._running=!0,this._startedAt=Date.now(),this.notificationService.initialize(),await this.gitWatcher.start().catch(t=>{console.debug("[QualityDaemon] Git watcher failed to start:",t)}),this.scheduleTick())}async stop(){this._running&&(this._running=!1,this.tickTimer&&(clearTimeout(this.tickTimer),this.tickTimer=void 0),this.gitWatcher.stop(),this._memory&&await this._memory.set("quality-daemon:state",{stoppedAt:Date.now(),tickCount:this._tickCount,commitsAnalyzed:this._commitsAnalyzed,suggestionsGenerated:this._suggestionsGenerated}))}getStatus(){return{running:this._running,uptimeSeconds:this._running?Math.floor((Date.now()-this._startedAt)/1e3):0,tickCount:this._tickCount,queueDepth:this.queue.depths,lastTickAt:this._lastTickAt,throttled:this._throttled,commitsAnalyzed:this._commitsAnalyzed,suggestionsGenerated:this._suggestionsGenerated,notificationsSent:this.notificationService.sentCount,ciHealth:this._ciHealth,coverageHealth:this._coverageHealth,lastCICheck:this._lastCICheck,lastCoverageCheck:this._lastCoverageCheck}}scheduleTick(){this._running&&(this.tickTimer=setTimeout(()=>this.tick(),this.config.tickIntervalMs))}async tick(){if(!(!this._running||!this._memory)){if(this._tickCount++,this._lastTickAt=Date.now(),this._throttled=this.isResourceConstrained(),this._throttled){await this.processNowItems(this._memory),this.scheduleTick();return}await this.processQueue(this._memory),await this.runPeriodicChecks(this._memory),this.nightlyConsolidation.scheduleIfDue(),this.queue.pruneExpired(),this.scheduleTick()}}async processQueue(e){let t=0,o=10;for(;t<o&&!this.queue.isEmpty;){let n=this.queue.dequeue();if(!n)break;await this.handleQueueItem(n,e),t++}}async processNowItems(e){let t=this.queue.drainPriority("now");for(let o of t)await this.handleQueueItem(o,e)}async handleQueueItem(e,t){let o=e.payload;switch(o.type){case"git_commit":this._commitsAnalyzed++;let n=await this.coverageDelta.buildSnapshot(t);if(n){let i=await this.coverageDelta.analyze(n,t,o.changedFiles);if(i.regressionDetected&&await this.notificationService.send({type:"coverage_drop",title:"Coverage Regression Detected",message:`Line coverage delta: ${i.overallDelta.line.toFixed(1)}% (${i.affectedFiles.length} files affected)`,severity:"high",metadata:{delta:i.overallDelta,commit:o.commitHash}}),i.newGaps.length>0){let r=await this.testSuggester.suggest(i.newGaps,o.changedFiles,t);this._suggestionsGenerated+=r.length,r.length>0&&await this.notificationService.send({type:"suggestion_available",title:"New Test Suggestions Available",message:`${r.length} test suggestions generated for uncovered code`,severity:"info",metadata:{count:r.length}})}}break;case"coverage_delta":{let i=await this.testSuggester.getPending(t);i.length>0&&await this.notificationService.send({type:"suggestion_available",title:"Test Suggestions Pending",message:`${i.length} test suggestions awaiting review`,severity:"info",metadata:{count:i.length}});break}case"gate_failure":await this.notificationService.send({type:"gate_failure",title:`Quality Gate Failed: ${o.gateName}`,message:`Score ${o.score} below threshold ${o.threshold}`,severity:"critical",metadata:{gate:o.gateName,score:o.score,threshold:o.threshold}});break;case"ci_failure":await this.notificationService.send({type:"ci_failure",title:`CI Failure: ${o.workflowName}`,message:`Workflow ${o.workflowName} run #${o.runId} concluded: ${o.conclusion}`,severity:"high",metadata:{workflow:o.workflowName,runId:o.runId}});break;case"nightly":{let i={coverageHealth:this._coverageHealth,ciHealth:this._ciHealth,commitsAnalyzed:this._commitsAnalyzed,suggestionsGenerated:this._suggestionsGenerated,notificationsSent:this.notificationService.sentCount,queueDepthAvg:this.queue.size,uptimeSeconds:Math.floor((Date.now()-this._startedAt)/1e3)};await this.nightlyConsolidation.execute(t,i);break}default:console.warn("[QualityDaemon] Unhandled payload type:",o.type)}}async runPeriodicChecks(e){let t=Date.now();if(!this._lastCICheck||t-this._lastCICheck>=this.config.ciPollIntervalMs)try{let o=await this.ciMonitor.check();this._ciHealth=o.healthScore,this._lastCICheck=t,o.flakyWorkflows.length>0&&await this.notificationService.send({type:"flaky_detected",title:"Flaky Workflows Detected",message:`${o.flakyWorkflows.length} workflows showing repeated failures: ${o.flakyWorkflows.join(", ")}`,severity:"medium",metadata:{workflows:o.flakyWorkflows}})}catch{}if(!this._lastCoverageCheck||t-this._lastCoverageCheck>=this.config.coverageCheckIntervalMs)try{let o=await this.coverageDelta.buildSnapshot(e);o&&(this._coverageHealth=Math.round((o.overall.line+o.overall.branch+o.overall.function+o.overall.statement)/4),this._lastCoverageCheck=t)}catch{}}isResourceConstrained(){if(1-ie()/re()>this.config.memoryThreshold)return!0;let t=ne().length;return(t>0?se()[0]/t:0)>this.config.cpuThreshold}};var u;function Ke(){let l=new ae("daemon").description("Manage the QE Quality Daemon").addHelpText("after",`
|
|
@@ -9,7 +9,7 @@ Examples:
|
|
|
9
9
|
aqe daemon status Show daemon health and queue depth
|
|
10
10
|
aqe daemon notifications List recent notifications
|
|
11
11
|
aqe daemon clear-notifications Clear all notifications
|
|
12
|
-
`);return l.command("start").description("Start the QE Quality Daemon").option("--tick-interval <ms>","Tick interval in milliseconds","30000").option("--ci-interval <ms>","CI poll interval in milliseconds","300000").action(async e=>{if(u?.running){console.log(s.yellow("Daemon is already running"));let r=u.getStatus();console.log(s.gray(` Uptime: ${r.uptimeSeconds}s, Ticks: ${r.tickCount}`));return}let t={tickIntervalMs:parseInt(e.tickInterval,10),ciPollIntervalMs:parseInt(e.ciInterval,10),notifications:{urlValidator:r=>{try{let c=new URL(r).hostname.replace(/^\[|\]$/g,"");return!N(c)}catch{return!1}}}};u=new x(t);let o;try{let{UnifiedMemoryManager:r}=await import("./unified-memory-
|
|
12
|
+
`);return l.command("start").description("Start the QE Quality Daemon").option("--tick-interval <ms>","Tick interval in milliseconds","30000").option("--ci-interval <ms>","CI poll interval in milliseconds","300000").action(async e=>{if(u?.running){console.log(s.yellow("Daemon is already running"));let r=u.getStatus();console.log(s.gray(` Uptime: ${r.uptimeSeconds}s, Ticks: ${r.tickCount}`));return}let t={tickIntervalMs:parseInt(e.tickInterval,10),ciPollIntervalMs:parseInt(e.ciInterval,10),notifications:{urlValidator:r=>{try{let c=new URL(r).hostname.replace(/^\[|\]$/g,"");return!N(c)}catch{return!1}}}};u=new x(t);let o;try{let{UnifiedMemoryManager:r}=await import("./unified-memory-XE5LJO5T.js"),a=await r.getInstanceAsync();o=new D(a),console.log(s.gray(" Storage: SQLite (persistent)"))}catch{let r=new Map;o={async get(a){return r.get(a)},async set(a,c){r.set(a,c)},async search(a){let c=a.replace(/[.+?^${}()|[\]\\]/g,"\\$&"),d=new RegExp(c.replace(/\*/g,".*"));return Array.from(r.keys()).filter(h=>d.test(h))}},console.log(s.yellow(" Storage: in-memory (no SQLite available, state will not persist)"))}console.log(s.green("Starting QE Quality Daemon...")),await u.start(o),console.log(s.green("QE Quality Daemon started")),console.log(s.gray(` Tick interval: ${t.tickIntervalMs}ms`)),console.log(s.gray(` CI poll interval: ${t.ciPollIntervalMs}ms`)),console.log(s.gray(` PID: ${process.pid}`)),console.log(s.gray(`
|
|
13
13
|
Press Ctrl+C to stop`));let n=setInterval(()=>{u?.running||clearInterval(n)},5e3),i=async()=>{console.log(s.yellow(`
|
|
14
14
|
Stopping QE Quality Daemon...`)),await u?.stop(),clearInterval(n),console.log(s.green("Daemon stopped")),process.exit(0)};process.once("SIGINT",i),process.once("SIGTERM",i)}),l.command("stop").description("Stop the QE Quality Daemon").action(async()=>{if(!u?.running){console.log(s.yellow("No running daemon found"));return}await u.stop(),console.log(s.green("Daemon stopped")),u=void 0}),l.command("status").description("Show daemon health and queue status").action(()=>{if(!u){console.log(s.yellow("No daemon instance (start with: aqe daemon start)"));return}let e=u.getStatus();console.log(s.bold(`
|
|
15
15
|
QE Quality Daemon Status`)),console.log(s.gray("\u2500".repeat(40))),console.log(` Running: ${e.running?s.green("yes"):s.red("no")}`),console.log(` Uptime: ${le(e.uptimeSeconds)}`),console.log(` Ticks: ${e.tickCount}`),console.log(` Throttled: ${e.throttled?s.yellow("yes"):s.green("no")}`),console.log(s.bold(`
|
package/dist/cli/chunks/{dag-attention-scheduler-SRMUBFRY.js → dag-attention-scheduler-DZ4Y7G3P.js}
RENAMED
|
@@ -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.9.
|
|
2
|
-
import{a,b}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.9.28");process.exit(0)}
|
|
2
|
+
import{a,b}from"./chunk-Q2GEEKE4.js";import"./chunk-IVRBWQBU.js";export{a as DAGAttentionScheduler,b as createDAGAttentionScheduler};
|
|
@@ -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.9.
|
|
2
|
-
import{a,b,c,d}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.9.28");process.exit(0)}
|
|
2
|
+
import{a,b,c,d}from"./chunk-QMCRT3AX.js";import"./chunk-ZH2WOQP3.js";import"./chunk-IVRBWQBU.js";export{a as clearDetectionCache,b as detectClaudeFlow,d as getClaudeFlowNotFoundMessage,c as resolveCliPackage};
|
|
@@ -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.9.
|
|
2
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n}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.9.28");process.exit(0)}
|
|
2
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n}from"./chunk-LCSDE5DQ.js";import"./chunk-IVRBWQBU.js";export{a as MAX,b as NIL,d as parse,e as stringify,f as v1,g as v1ToV6,h as v3,i as v4,j as v5,k as v6,l as v6ToV1,m as v7,c as validate,n as version};
|
|
@@ -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.9.
|
|
2
|
-
import{a as i}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.9.28");process.exit(0)}
|
|
2
|
+
import{a as i}from"./chunk-YG6ZRK5N.js";import{a as r}from"./chunk-33VVPBAK.js";import"./chunk-IVRBWQBU.js";import n from"chalk";var s=class{name="domain";description="Domain operations";cleanupAndExit;ensureInitialized;constructor(o,t){this.cleanupAndExit=o,this.ensureInitialized=t}register(o,t){let e=o.command("domain").description(this.description);e.command("list").description("List all domains").action(async()=>{await this.executeList(t)}),e.command("health <domain>").description("Get domain health").action(async a=>{await this.executeHealth(a,t)})}async executeList(o){if(await this.ensureInitialized())try{console.log(n.blue(`
|
|
3
3
|
Domains
|
|
4
4
|
`));for(let t of r){let e=o.queen.getDomainHealth(t),a=o.queen.getDomainLoad(t);console.log(` ${n.cyan(t)}`),console.log(` Status: ${i(e?.status||"unknown")}`),console.log(` Load: ${a} tasks`),e&&console.log(` Agents: ${e.agents.active}/${e.agents.total}`),console.log("")}}catch(t){console.error(n.red(`
|
|
5
5
|
Failed to list domains:`),t),await this.cleanupAndExit(1)}}async executeHealth(o,t){if(await this.ensureInitialized())try{let e=t.queen.getDomainHealth(o);if(!e){console.log(n.red(`
|
|
@@ -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.9.
|
|
2
|
-
import{a,c as b,d as c,e as d,f as e,g as f,h as g,i as h}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.9.28");process.exit(0)}
|
|
2
|
+
import{a,c as b,d as c,e as d,f as e,g as f,h as g,i as h}from"./chunk-LG3F5F7B.js";import"./chunk-4R6DN7IO.js";import"./chunk-PMWIZ7TC.js";import"./chunk-GECEU6U3.js";import"./chunk-IVRBWQBU.js";export{f as CuriosityBonus,b as DEFAULT_DOMAIN_TRANSFER_CONFIG,c as DecayingBeta,g as DomainTransferEngine,e as ParetoFront,d as PlateauDetector,a as ThompsonSampler,h as createDomainTransferEngine};
|
|
@@ -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.9.28");process.exit(0)}
|
|
2
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"./chunk-MFKVWTIY.js";import"./chunk-DTS3ZD7P.js";import"./chunk-HEMQ4DEF.js";import"./chunk-LKWJUZVH.js";import"./chunk-A77JCFFC.js";import"./chunk-NNYRIYEZ.js";import"./chunk-FUKWABUF.js";import"./chunk-CCZGT2HD.js";import"./chunk-O22BAOMU.js";import"./chunk-7MLACLCT.js";import"./chunk-QMCRT3AX.js";import"./chunk-PHPT6QTF.js";import"./chunk-JOSEPQIU.js";import"./chunk-YF5JCM45.js";import"./chunk-SH7IVDWV.js";import"./chunk-NIWTQURH.js";import"./chunk-5RZ26J4J.js";import"./chunk-ZKNO5AR4.js";import"./chunk-4R6DN7IO.js";import"./chunk-PMWIZ7TC.js";import"./chunk-ZH2WOQP3.js";import"./chunk-33VVPBAK.js";import"./chunk-5KOR5ZMG.js";import"./chunk-LCSDE5DQ.js";import"./chunk-YLZZZRB7.js";import"./chunk-UYTAAWAO.js";import"./chunk-7GLCWLZL.js";import"./chunk-ZDM6AWU6.js";import"./chunk-CKDW7YFV.js";import"./chunk-B5KYS65U.js";import"./chunk-M3FFEZFJ.js";import"./chunk-SVPX24HJ.js";import"./chunk-GECEU6U3.js";import"./chunk-IVRBWQBU.js";export{t as BUILT_IN_STRATEGIES,b as ConceptGraph,g as DEFAULT_ACTIVATION_CONFIG,a as DEFAULT_CONCEPT_GRAPH_CONFIG,m as DEFAULT_DREAM_CONFIG,q as DEFAULT_DREAM_SCHEDULER_CONFIG,i as DEFAULT_INSIGHT_CONFIG,k as DEFAULT_VALIDATION_THRESHOLDS,n as DreamEngine,r as DreamScheduler,f as HISTORY_TRIM_TARGET_RATIO,j as InsightGenerator,d as MAX_ACTIVATION_HISTORY_ENTRIES,e as MAX_COACTIVATION_ENTRIES,l as RVCOWBranchManager,u as SpeculativeDreamer,h as SpreadingActivation,c as createConceptGraph,o as createDreamEngine,s as createDreamScheduler,p as default};
|
|
@@ -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.9.
|
|
2
|
-
import{a as r,b as i}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.9.28");process.exit(0)}
|
|
2
|
+
import{a as r,b as i}from"./chunk-SH7IVDWV.js";import"./chunk-5KOR5ZMG.js";import"./chunk-B5KYS65U.js";import"./chunk-IVRBWQBU.js";async function u(a,o,d,s,m,t={}){try{let e=`${d??""} ${s??""} ${(m??[]).join(" ")}`.trim();if(!e)return;let n=await i(e,t);if(!n||n.length===0)return;let f=Buffer.from(new Float32Array(n).buffer),g={...r,...t};a.prepare(`INSERT OR REPLACE INTO qe_pattern_embeddings (pattern_id, embedding, dimension, model)
|
|
3
3
|
VALUES (?, ?, ?, ?)`).run(o,f,n.length,g.modelName)}catch(e){console.debug("[ensurePatternEmbedding] non-fatal:",e instanceof Error?e.message:String(e))}}export{u as ensurePatternEmbedding};
|
|
@@ -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.9.
|
|
2
|
-
import{a as T}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.9.28");process.exit(0)}
|
|
2
|
+
import{a as T}from"./chunk-YJPNL6K4.js";import{a as R,b as g,c as S,d as b}from"./chunk-G4YZWVOV.js";import{a as y}from"./chunk-XLNWSI7Y.js";import"./chunk-YUV4EMRT.js";import"./chunk-MDXIESNH.js";import"./chunk-FI2JQJYJ.js";import"./chunk-FUKWABUF.js";import"./chunk-O22BAOMU.js";import"./chunk-7MLACLCT.js";import"./chunk-SH7IVDWV.js";import"./chunk-5RZ26J4J.js";import"./chunk-ZKNO5AR4.js";import"./chunk-6WKX2O66.js";import"./chunk-4R6DN7IO.js";import"./chunk-PMWIZ7TC.js";import"./chunk-ZH2WOQP3.js";import"./chunk-33VVPBAK.js";import"./chunk-5KOR5ZMG.js";import"./chunk-LCSDE5DQ.js";import"./chunk-YLZZZRB7.js";import"./chunk-UYTAAWAO.js";import"./chunk-7GLCWLZL.js";import"./chunk-ZDM6AWU6.js";import"./chunk-CKDW7YFV.js";import"./chunk-B5KYS65U.js";import"./chunk-M3FFEZFJ.js";import"./chunk-SVPX24HJ.js";import"./chunk-GECEU6U3.js";import"./chunk-IVRBWQBU.js";import{Command as M}from"commander";import s from"chalk";import*as d from"fs";import*as p from"path";import*as x from"yaml";var f=["accessibility-testing","security-testing","performance-testing","chaos-engineering-resilience","contract-testing"],E=["risk-based-testing","test-design-techniques","regression-testing","test-data-management","localization-testing"],C=["quality-metrics","refactoring-patterns","iterative-loop","stream-chain"];function L(e){switch(e){case 3:return f;case 2:return[...f,...E];case 1:return[...f,...E,...C];default:return f}}var h="";function O(e){let t=Math.round(e.completedTasks/e.totalTasks*100),l=k(e.elapsedMs),o=k(e.estimatedRemainingMs),n=A(t,30),i=`${s.cyan("Progress:")} ${n} ${t}% | ${s.green(e.completedTasks)}/${e.totalTasks} tasks | ${s.yellow(e.failedTasks)} failed | ${s.blue(e.activeWorkers)} workers | ${l} elapsed, ~${o} remaining`;h&&process.stdout.write("\r"+" ".repeat(h.length)+"\r"),process.stdout.write(i),h=i}function A(e,t){let l=Math.round(e/100*t),o=t-l;return s.green("=".repeat(l))+s.gray("-".repeat(o))}function k(e){if(e<1e3)return`${e}ms`;if(e<6e4)return`${(e/1e3).toFixed(1)}s`;let t=Math.floor(e/6e4),l=Math.round(e%6e4/1e3);return`${t}m ${l}s`}function F(e){let t=[];t.push(""),t.push(s.bold(`Eval Results: ${e.skill}`)+s.dim(` (${e.model})`)),t.push("=".repeat(60));let l=e.passed?s.green("PASSED"):s.red("FAILED");t.push(`Status: ${l}`),t.push(""),t.push(s.bold("Metrics:")),t.push(` Total Tests: ${e.totalTests}`),t.push(` Passed: ${s.green(e.passedTests)}`),t.push(` Failed: ${s.red(e.failedTests)}`),t.push(` Skipped: ${s.yellow(e.skippedTests)}`),t.push(` Pass Rate: ${(e.passRate*100).toFixed(1)}%`),t.push(` Reasoning Avg: ${(e.avgReasoningQuality*100).toFixed(1)}%`),t.push(""),t.push(s.bold("Performance:")),t.push(` Duration: ${k(e.totalDurationMs)}`),t.push(` Workers Used: ${e.workersUsed}`),t.push(` Parallel Speedup: ${s.cyan(e.parallelSpeedup.toFixed(2)+"x")}`),t.push("");let o=e.testResults.filter(n=>!n.passed);if(o.length>0){t.push(s.bold.red("Failed Tests:"));for(let n of o.slice(0,5))t.push(` ${s.red("x")} ${n.testId}`),n.error&&t.push(` ${s.dim(n.error)}`);o.length>5&&t.push(` ... and ${o.length-5} more`),t.push("")}return t.join(`
|
|
3
3
|
`)}function D(e){let t=[];t.push("# Skill Evaluation Report"),t.push(""),t.push(`Generated: ${new Date().toISOString()}`),t.push(""),t.push("## Summary"),t.push(""),t.push("| Skill | Model | Pass Rate | Duration | Speedup | Status |"),t.push("|-------|-------|-----------|----------|---------|--------|");for(let l of e){let o=l.passed?"PASSED":"FAILED";t.push(`| ${l.skill} | ${l.model} | ${(l.passRate*100).toFixed(1)}% | ${k(l.totalDurationMs)} | ${l.parallelSpeedup.toFixed(2)}x | ${o} |`)}t.push(""),t.push("## Detailed Results"),t.push("");for(let l of e){t.push(`### ${l.skill} (${l.model})`),t.push(""),t.push(`- **Total Tests:** ${l.totalTests}`),t.push(`- **Passed:** ${l.passedTests}`),t.push(`- **Failed:** ${l.failedTests}`),t.push(`- **Pass Rate:** ${(l.passRate*100).toFixed(1)}%`),t.push(`- **Avg Reasoning Quality:** ${(l.avgReasoningQuality*100).toFixed(1)}%`),t.push("");let o=l.testResults.filter(n=>!n.passed);if(o.length>0){t.push("**Failed Tests:**"),t.push("");for(let n of o)t.push(`- \`${n.testId}\`: ${n.error||"No error message"}`);t.push("")}}return t.join(`
|
|
4
4
|
`)}var I=".claude/skills";function j(e){let t=p.join(process.cwd(),I,e,"evals",`${e}.yaml`);if(!d.existsSync(t))return null;try{let l=x.parse(d.readFileSync(t,"utf-8"));return S(l)?"command":"llm"}catch{return null}}function B(e,t){return{skill:e.skill,model:t,totalTests:e.totalTests,passedTests:e.passedTests,failedTests:e.failedTests,skippedTests:0,passRate:e.passRate,testResults:e.testResults.map(l=>q(l)),totalDurationMs:e.totalDurationMs,parallelSpeedup:1,avgReasoningQuality:0,passed:e.passed,workersUsed:1,timestamp:e.timestamp}}function q(e){let t=[];return e.setupFailure&&t.push(e.setupFailure),e.failures.length&&t.push(...e.failures),{testId:e.testId,passed:e.passed,expectedPatterns:[],actualPatterns:[],reasoningQuality:0,executionTimeMs:e.durationMs,category:e.category??"uncategorized",priority:e.priority??"medium",error:t.length?t.join("; "):void 0}}async function v(){let e=await T({sqlite:{dbPath:".agentic-qe/eval-runner.db"},hnsw:{M:16,efConstruction:100,efSearch:50}});await e.initialize();let t=y(e);return{runner:g(t),learner:t,reasoningBank:e}}async function V(e){if(console.log(s.bold(`
|
|
5
5
|
AQE Parallel Eval Runner`)),console.log(s.dim(`ADR-056 Phase 5: Worker Pool Pattern
|
|
@@ -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.9.
|
|
2
|
-
import{k as y,o as S}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.9.28");process.exit(0)}
|
|
2
|
+
import{k as y,o as S}from"./chunk-5RZ26J4J.js";import"./chunk-ZKNO5AR4.js";import"./chunk-4R6DN7IO.js";import{d as x,e as C}from"./chunk-PMWIZ7TC.js";import"./chunk-ZH2WOQP3.js";import{a as g,c as N}from"./chunk-5KOR5ZMG.js";import{i as f}from"./chunk-LCSDE5DQ.js";import"./chunk-YLZZZRB7.js";import"./chunk-UYTAAWAO.js";import"./chunk-7GLCWLZL.js";import"./chunk-ZDM6AWU6.js";import"./chunk-CKDW7YFV.js";import"./chunk-B5KYS65U.js";import"./chunk-M3FFEZFJ.js";import"./chunk-SVPX24HJ.js";import"./chunk-GECEU6U3.js";import"./chunk-IVRBWQBU.js";S();N();C();var D=x("ExperienceCapture"),R=600*1e3,O=120*1e3,M=1024*1024;function m(e,t=M){if(e==null)return null;try{let n=JSON.stringify(e);return n.length>t?(console.warn(`[ExperienceCaptureMiddleware] JSON payload exceeds size limit (${n.length} > ${t} bytes), truncating`),JSON.stringify({_truncated:!0,_originalSize:n.length,_preview:typeof e=="object"?Object.keys(e).slice(0,10):String(e).slice(0,100)})):n}catch(n){return console.warn("[ExperienceCaptureMiddleware] Failed to serialize JSON:",n),null}}var d=new Map,l=null;function U(){let e=Date.now(),t=0;for(let[n,a]of d){let i=e-a.context.startedAt.getTime();i>R&&(console.warn(`[ExperienceCaptureMiddleware] Cleaning up stale experience: ${n} (age=${Math.round(i/1e3)}s, domain=${a.context.domain})`),d.delete(n),t++)}return t>0&&console.log(`[ExperienceCaptureMiddleware] Cleaned ${t} stale experiences`),t}function I(){l||(l=setInterval(()=>{U()},O),l.unref())}function z(){l&&(clearInterval(l),l=null)}var c=null,E=null;async function A(){return E||(E=F(),E)}async function F(){try{c=y(),await c.initialize();let e=c.getDatabase();if(e){let t=!1;if(e.prepare("SELECT COUNT(*) as cnt FROM sqlite_master WHERE type='table' AND name='captured_experiences'").get().cnt>0){let s=e.prepare("PRAGMA table_info(captured_experiences)").all(),r=new Set(s.map(u=>u.name));!r.has("success")||!r.has("task")?(e.exec("ALTER TABLE captured_experiences RENAME TO captured_experiences_v2_backup"),t=!0):(r.has("domain")||e.exec("ALTER TABLE captured_experiences ADD COLUMN domain TEXT NOT NULL DEFAULT ''"),r.has("source")||e.exec("ALTER TABLE captured_experiences ADD COLUMN source TEXT DEFAULT 'middleware'"))}else t=!0;t&&e.exec(`
|
|
3
3
|
CREATE TABLE IF NOT EXISTS captured_experiences (
|
|
4
4
|
id TEXT PRIMARY KEY,
|
|
5
5
|
task TEXT NOT NULL,
|
|
@@ -27,7 +27,7 @@ import{k as y,o as S}from"./chunk-T46HLTI3.js";import"./chunk-JN7WVS57.js";impor
|
|
|
27
27
|
(id, task, agent, domain, success, quality, duration_ms, model_tier,
|
|
28
28
|
routing_json, steps_json, result_json, error, started_at, completed_at, source)
|
|
29
29
|
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, datetime('now'), ?)
|
|
30
|
-
`).run(t.id,e.task,e.agent,e.domain,t.success?1:0,t.quality,t.durationMs,e.modelTier||null,m(e.routing),m(t.steps),m(t.result),t.error||null,e.startedAt.toISOString(),"middleware"),X(n,t.id,e.task,e.domain).catch(i=>{D.warn("Embedding computation failed",{error:i instanceof Error?i.message:String(i),experienceId:t.id,domain:e.domain})})}catch(n){console.error("[ExperienceCaptureMiddleware] Failed to persist experience:",n)}}async function X(e,t,n,a){try{let{computeRealEmbedding:i}=await import("./real-embeddings-
|
|
30
|
+
`).run(t.id,e.task,e.agent,e.domain,t.success?1:0,t.quality,t.durationMs,e.modelTier||null,m(e.routing),m(t.steps),m(t.result),t.error||null,e.startedAt.toISOString(),"middleware"),X(n,t.id,e.task,e.domain).catch(i=>{D.warn("Embedding computation failed",{error:i instanceof Error?i.message:String(i),experienceId:t.id,domain:e.domain})})}catch(n){console.error("[ExperienceCaptureMiddleware] Failed to persist experience:",n)}}async function X(e,t,n,a){try{let{computeRealEmbedding:i}=await import("./real-embeddings-Y65TLGVT.js"),s=`${a}: ${n}`.slice(0,512),r=await i(s);if(!r||r.length===0)return;let u=Buffer.from(new Float32Array(r).buffer);e.prepare(`
|
|
31
31
|
UPDATE captured_experiences
|
|
32
32
|
SET embedding = ?, embedding_dimension = ?
|
|
33
33
|
WHERE id = ? AND embedding IS NULL
|
|
@@ -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.9.
|
|
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.9.28");process.exit(0)}
|
|
2
|
+
import"./chunk-IVRBWQBU.js";function n(e){return e.includes("--version")||e.includes("-v")?"cli-version":e[2]==="health"?"cli-health":process.env.AQE_MCP==="1"||process.env.AQE_MCP_MODE==="1"?"mcp":process.env.AQE_HTTP_PORT?"http":"cli-full"}function o(e){return process.env.AQE_FAST_PATHS==="false"?!1:e.includes("--version")||e.includes("-v")}function r(e){return e[2]==="health"}export{n as detectBootMode,r as isHealthFastPath,o as isVersionFastPath};
|
|
@@ -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.9.
|
|
2
|
-
import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,S as R,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}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.9.28");process.exit(0)}
|
|
2
|
+
import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,S as R,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"./chunk-GECEU6U3.js";import"./chunk-IVRBWQBU.js";R();export{a as DEFAULT_FEATURE_FLAGS,b as getRuVectorFeatureFlags,A as getRvfMigrationStage,Q as initFeatureFlagsFromEnv,y as isAgentMemoryBranchingEnabled,t as isCNNVisualRegressionEnabled,O as isCognitiveRoutingEnabled,v as isCoherenceActionGateEnabled,r as isCoherenceGateEnabled,H as isColdTierGNNEnabled,o as isCrossDomainTransferEnabled,C as isCusumDriftDetectionEnabled,u as isDAGAttentionEnabled,D as isDeltaEventSourcingEnabled,l as isDeterministicDitherEnabled,M as isEpropOnlineLearningEnabled,E as isEwcPlusPlusEnabled,f as isFlashAttentionEnabled,g as isGNNIndexEnabled,N as isGrangerCausalityEnabled,F as isGraphMAEEnabled,B as isHDCFingerprintingEnabled,p as isHnswHealthMonitorEnabled,G as isHopfieldMemoryEnabled,P as isHyperbolicHnswEnabled,I as isMetaLearningEnabled,k as isMetadataFilteringEnabled,i as isNativeHNSWEnabled,m as isNeuralRoutingEnabled,x as isRVFPatternStoreEnabled,w as isReasoningQECEnabled,q as isRegretTrackingEnabled,L as isReservoirReplayEnabled,e as isSONAEnabled,n as isSONAThreeLoopEnabled,K as isSpectralSparsificationEnabled,J as isSublinearSolverEnabled,j as isTemporalCompressionEnabled,z as isUnifiedHnswEnabled,s as isWitnessChainEnabled,d as resetRuVectorFeatureFlags,c as setRuVectorFeatureFlags,h as shouldLogMigrationMetrics};
|
|
@@ -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.9.
|
|
2
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q}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.9.28");process.exit(0)}
|
|
2
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q}from"./chunk-FTQXXYHG.js";import"./chunk-IVRBWQBU.js";q();export{a as DEFAULT_FEATURE_FLAGS,n as configureForCI,o as configureForDevelopment,p as configureForHeuristicMode,b as getVibiumFeatureFlags,m as initVibiumFeatureFlagsFromEnv,j as isAutoRetryEnabled,l as isAxeCoreEnabled,e as isBrowserModeEnabled,i as isDefaultHeadless,h as isE2EExecutionEnabled,f as isScreenshotCaptureEnabled,g as isVisualRegressionEnabled,d as resetVibiumFeatureFlags,c as setVibiumFeatureFlags,k as shouldLogPerformanceMetrics};
|
|
@@ -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.9.
|
|
2
|
-
import{a,b}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.9.28");process.exit(0)}
|
|
2
|
+
import{a,b}from"./chunk-5UHMNAK2.js";import"./chunk-IVRBWQBU.js";export{a as SOURCE_EXTENSIONS,b as walkSourceFiles};
|
|
@@ -1,8 +1,8 @@
|
|
|
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.9.
|
|
2
|
-
import{a as k,b as K,c as x,d as T,e as H,f as F,g as Q,j as _}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.9.28");process.exit(0)}
|
|
2
|
+
import{a as k,b as K,c as x,d as T,e as H,f as F,g as Q,j as _}from"./chunk-V6GKWUCS.js";import{a as v,b as V}from"./chunk-Y7EPJRQT.js";import{a as G}from"./chunk-XCLG5FGQ.js";import"./chunk-LQDKLJBO.js";import"./chunk-VJ7OJ7I3.js";import{c as C,d as S}from"./chunk-POOFM7MT.js";import"./chunk-S7RGN5OC.js";import{v as q}from"./chunk-UCQ2AFAR.js";import"./chunk-ML2XD4RS.js";import"./chunk-ROXQZJ6J.js";import"./chunk-DQ3FERVR.js";import"./chunk-RX3S6244.js";import"./chunk-HL26OBVJ.js";import{c as L}from"./chunk-VPF2RECU.js";import{a as W}from"./chunk-SQHCTVEH.js";import{a as E}from"./chunk-6BJ6O7JZ.js";import"./chunk-VGQYRIQ2.js";import"./chunk-UEADBMAA.js";import{f as j}from"./chunk-QY4NWJET.js";import"./chunk-QKODMLPS.js";import"./chunk-CGQN4R76.js";import"./chunk-AFSVRY7S.js";import"./chunk-7MVFQGFZ.js";import"./chunk-3ZPK7HCD.js";import"./chunk-MDXIESNH.js";import"./chunk-FI2JQJYJ.js";import{b as N}from"./chunk-T5YDBTD6.js";import"./chunk-TYR7ZETY.js";import"./chunk-RUOWR53U.js";import"./chunk-MFKVWTIY.js";import"./chunk-DTS3ZD7P.js";import"./chunk-HEMQ4DEF.js";import"./chunk-LKWJUZVH.js";import"./chunk-A77JCFFC.js";import"./chunk-NNYRIYEZ.js";import"./chunk-FUKWABUF.js";import"./chunk-CCZGT2HD.js";import"./chunk-O22BAOMU.js";import"./chunk-7MLACLCT.js";import"./chunk-QMCRT3AX.js";import"./chunk-G6LGV6KD.js";import"./chunk-PHPT6QTF.js";import"./chunk-V7VCP42A.js";import"./chunk-RJGSHAHW.js";import"./chunk-FTQXXYHG.js";import"./chunk-AL7LMXTA.js";import"./chunk-RB5T2HNT.js";import"./chunk-JOSEPQIU.js";import"./chunk-BRCWESMJ.js";import"./chunk-VQA6GDNN.js";import"./chunk-J62GSTYJ.js";import"./chunk-LG3F5F7B.js";import"./chunk-YF5JCM45.js";import"./chunk-SH7IVDWV.js";import"./chunk-NIWTQURH.js";import"./chunk-5RZ26J4J.js";import"./chunk-ZKNO5AR4.js";import"./chunk-6WKX2O66.js";import"./chunk-4R6DN7IO.js";import"./chunk-PMWIZ7TC.js";import"./chunk-PNLEMDLY.js";import"./chunk-ZH2WOQP3.js";import{a as I}from"./chunk-33VVPBAK.js";import{a as B,c as ee}from"./chunk-5KOR5ZMG.js";import"./chunk-LCSDE5DQ.js";import"./chunk-DMMFUB3Z.js";import{a as z,b as te}from"./chunk-YLZZZRB7.js";import"./chunk-UYTAAWAO.js";import"./chunk-7GLCWLZL.js";import{c as $,d as ne}from"./chunk-ZDM6AWU6.js";import"./chunk-CKDW7YFV.js";import"./chunk-B5KYS65U.js";import"./chunk-M3FFEZFJ.js";import"./chunk-SVPX24HJ.js";import"./chunk-GECEU6U3.js";import"./chunk-IVRBWQBU.js";ne();import{Command as ie}from"commander";import t from"chalk";ee();te();import h from"chalk";import{existsSync as oe}from"fs";import{join as P}from"path";var R=class{projectRoot;options;orchestrator;constructor(e){this.options=e,this.projectRoot=e.projectRoot}async checkCodeIntelligence(){if(this.options.skipCodeScan)return console.log(h.yellow(" Code intelligence scan skipped (--skip-code-scan flag)")),{codeIntelligence:{hasIndex:!1,entryCount:0,wasPrompted:!1,scanRequested:!1},shouldProceed:!0,skipReason:"skip-flag"};if(await this.hasCodeIntelligenceIndex()){let i=await this.getKGEntryCount();return console.log(h.green(` \u2713 Code intelligence index found (${i} entries)`)),{codeIntelligence:{hasIndex:!0,entryCount:i,wasPrompted:!1,scanRequested:!1},shouldProceed:!0}}return!this.options.nonInteractive&&(console.log(h.yellow(`
|
|
3
3
|
\u26A0 No code intelligence index found`)),console.log(h.gray(" Building a knowledge graph improves agent accuracy by 80%")),console.log(h.gray(" This is a one-time operation and can be run later with:")),console.log(h.cyan(` aqe code-intelligence index
|
|
4
4
|
`)),await this.promptScan())?{codeIntelligence:{hasIndex:!1,entryCount:0,wasPrompted:!0,scanRequested:!0},shouldProceed:!1,skipReason:"scan-requested"}:(console.log(h.gray(" Continuing without code intelligence index")),{codeIntelligence:{hasIndex:!1,entryCount:0,wasPrompted:!this.options.nonInteractive,scanRequested:!1},shouldProceed:!0})}async runCodeIntelligenceScan(){try{if(console.log(h.blue(`
|
|
5
|
-
Building code intelligence knowledge graph...`)),this.orchestrator||(this.orchestrator=new G({projectRoot:this.projectRoot,autoMode:!0,...this.options.initOptions})),await this.hasCodeIntelligenceIndex()){let s=await this.getKGEntryCount();return console.log(h.green(` \u2713 Index already exists (${s} entries)`)),{success:!0,entries:s}}let{KnowledgeGraphService:i}=await import("./knowledge-graph-
|
|
5
|
+
Building code intelligence knowledge graph...`)),this.orchestrator||(this.orchestrator=new G({projectRoot:this.projectRoot,autoMode:!0,...this.options.initOptions})),await this.hasCodeIntelligenceIndex()){let s=await this.getKGEntryCount();return console.log(h.green(` \u2713 Index already exists (${s} entries)`)),{success:!0,entries:s}}let{KnowledgeGraphService:i}=await import("./knowledge-graph-23VGRP7G.js"),{InMemoryBackend:c}=await import("./memory-backend-JMFE5AFK.js"),m=new c;await m.initialize();let n=new i(m,{namespace:"code-intelligence:kg",enableVectorEmbeddings:!0}),g=await(await import("fast-glob")).default(["**/*.ts","**/*.tsx","**/*.js","**/*.jsx","**/*.py"],{cwd:this.projectRoot,ignore:["node_modules/**","dist/**","coverage/**",".agentic-qe/**"]});console.log(h.gray(` Indexing ${g.length} files...`));let o=await n.index({paths:g.map(s=>P(this.projectRoot,s)),incremental:!1,includeTests:!0});if(n.destroy(),o.success){let s=o.value.nodesCreated+o.value.edgesCreated;return console.log(h.green(` \u2713 Indexed ${s} knowledge graph entries`)),{success:!0,entries:s}}return console.log(h.yellow(" \u26A0 Code intelligence scan completed with warnings")),{success:!1,entries:0}}catch(e){return console.error(h.red(" \u2717 Code intelligence scan failed:"),B(e)),{success:!1,entries:0}}}async getStatusForAgents(){let e=await this.hasCodeIntelligenceIndex(),i=e?await this.getKGEntryCount():0;return{codeIntelligenceAvailable:e,knowledgeGraphSize:i,recommendedCapabilities:e?["semantic-search","code-analysis","context-aware"]:["basic-analysis"]}}async hasCodeIntelligenceIndex(){let e=P(this.projectRoot,".agentic-qe","memory.db");if(!oe(e))return!1;try{let i=z(e),c=i.prepare(`
|
|
6
6
|
SELECT COUNT(*) as count FROM kv_store
|
|
7
7
|
WHERE namespace = 'code-intelligence:kg'
|
|
8
8
|
`).get();return i.close(),c.count>0}catch{return!1}}async getKGEntryCount(){let e=P(this.projectRoot,".agentic-qe","memory.db");try{let i=z(e),c=i.prepare(`
|
|
@@ -24,7 +24,7 @@ import{a as k,b as K,c as x,d as T,e as H,f as F,g as Q,j as _}from"./chunk-G4KZ
|
|
|
24
24
|
`))}let w=o==="all"?[...I]:o.split(",").filter(r=>I.includes(r));if(console.log(t.blue(`
|
|
25
25
|
Fleet Configuration
|
|
26
26
|
`)),console.log(t.gray(` Topology: ${l}`)),console.log(t.gray(` Max Agents: ${g}`)),console.log(t.gray(` Domains: ${w.length}`)),console.log(t.gray(` Memory: ${s}`)),console.log(t.gray(` Lazy Loading: ${d?"enabled":"disabled"}`)),console.log(t.gray(` Pre-trained Patterns: ${f?"load":"skip"}
|
|
27
|
-
`)),!a.initialized){a.kernel=new q({maxConcurrentAgents:g,memoryBackend:s,hnswEnabled:!0,lazyLoading:d,enabledDomains:w}),await a.kernel.initialize(),console.log(t.green(" * Kernel initialized")),a.router=new W(a.kernel.eventBus),await a.router.initialize(),console.log(t.green(" * Cross-domain router initialized")),a.workflowOrchestrator=new L(a.kernel.eventBus,a.kernel.memory,a.kernel.coordinator),await a.workflowOrchestrator.initialize(),c(a.kernel,a.workflowOrchestrator),console.log(t.green(" * Workflow orchestrator initialized")),a.persistentScheduler=N(),console.log(t.green(" * Persistent scheduler initialized"));let r=u=>a.kernel.getDomainAPI(u),b=new E(a.kernel.eventBus,a.kernel.memory,r);a.queen=j(a.kernel,a.router,b,void 0),await a.queen.initialize(),console.log(t.green(" * Queen coordinator initialized")),a.initialized=!0}(n.format||"text")==="json"?C(S({status:"initialized",topology:l,maxAgents:g,domains:w,memoryBackend:s,lazyLoading:d,loadPatterns:f}),n.output):(console.log(t.green(`
|
|
27
|
+
`)),!a.initialized){a.kernel=new q({maxConcurrentAgents:g,memoryBackend:s,hnswEnabled:!0,lazyLoading:d,enabledDomains:w,enableExperienceBridge:!1}),await a.kernel.initialize(),console.log(t.green(" * Kernel initialized")),a.router=new W(a.kernel.eventBus),await a.router.initialize(),console.log(t.green(" * Cross-domain router initialized")),a.workflowOrchestrator=new L(a.kernel.eventBus,a.kernel.memory,a.kernel.coordinator),await a.workflowOrchestrator.initialize(),c(a.kernel,a.workflowOrchestrator),console.log(t.green(" * Workflow orchestrator initialized")),a.persistentScheduler=N(),console.log(t.green(" * Persistent scheduler initialized"));let r=u=>a.kernel.getDomainAPI(u),b=new E(a.kernel.eventBus,a.kernel.memory,r);a.queen=j(a.kernel,a.router,b,void 0),await a.queen.initialize(),console.log(t.green(" * Queen coordinator initialized")),a.initialized=!0}(n.format||"text")==="json"?C(S({status:"initialized",topology:l,maxAgents:g,domains:w,memoryBackend:s,lazyLoading:d,loadPatterns:f}),n.output):(console.log(t.green(`
|
|
28
28
|
Fleet initialized successfully!
|
|
29
29
|
`)),console.log(t.white("Next steps:")),console.log(t.gray(" 1. Spawn agents: aqe fleet spawn --domains test-generation")),console.log(t.gray(" 2. Run operation: aqe fleet run test --target ./src")),console.log(t.gray(` 3. Check status: aqe fleet status
|
|
30
30
|
`))),await e(0)}catch(l){console.error(t.red(`
|
|
@@ -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.9.
|
|
2
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,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.9.28");process.exit(0)}
|
|
2
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p}from"./chunk-PNLEMDLY.js";import"./chunk-ZH2WOQP3.js";import"./chunk-SVPX24HJ.js";import"./chunk-GECEU6U3.js";import"./chunk-IVRBWQBU.js";export{e as GNNLayerFactory,c as QEGNNEmbeddingIndex,d as QEGNNIndexFactory,f as TensorCompressionFactory,p as batchDifferentiableSearch,i as getDifferentiableSearch,k as getGetCompressionLevel,j as getHierarchicalForward,l as getInit,g as getRuvectorLayer,h as getTensorCompress,b as initGNN,a as isGNNAvailable,m as toFloat32Array,o as toIEmbedding,n as toNumberArray};
|
|
@@ -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.9.
|
|
2
|
-
import{b as d}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.9.28");process.exit(0)}
|
|
2
|
+
import{b as d}from"./chunk-YG6ZRK5N.js";import{a as c,c as f}from"./chunk-5KOR5ZMG.js";import"./chunk-IVRBWQBU.js";import*as s from"fs";import*as l from"path";import e from"chalk";f();var h=class{name="heartbeat";description="Manage the token-free heartbeat scheduler";cleanupAndExit;worker;constructor(t){this.cleanupAndExit=t}async getWorker(){if(!this.worker){let{HeartbeatSchedulerWorker:t}=await import("./heartbeat-scheduler-CAXANO7U.js");this.worker=new t}return this.worker}register(t,o){let a=t.command("heartbeat").description(this.description);a.command("status").description("Show heartbeat worker status, health, and schedule").action(async()=>{await this.executeStatus()}),a.command("run-now").description("Trigger an immediate heartbeat cycle").option("-t, --timeout <ms>","Timeout in milliseconds (default: worker built-in 60s)").action(async n=>{let i=n.timeout?parseInt(n.timeout,10):void 0;await this.executeRunNow(i)}),a.command("history").description("Show recent heartbeat results").option("-n, --count <count>","Number of entries to show","10").action(async n=>{await this.executeHistory(parseInt(n.count,10)||10)}),a.command("log").description("Show today's daily log entries").option("-d, --date <date>","Show log for specific date (YYYY-MM-DD)").action(async n=>{await this.executeLog(n.date)}),a.command("pause").description("Pause the heartbeat worker").action(async()=>{await this.executePause()}),a.command("resume").description("Resume the heartbeat worker").action(async()=>{await this.executeResume()})}async executeStatus(){try{this.worker=await this.getWorker(),await this.worker.initialize();let t=this.worker.getHealth(),o=this.worker.lastResult;if(console.log(e.blue(`
|
|
3
3
|
Heartbeat Scheduler Status`)),console.log(e.gray(" "+"\u2500".repeat(35))),console.log(` Status: ${x(t.status)}`),console.log(` Health Score: ${y(t.healthScore)}${e.gray("/100")}`),this.worker.lastRunAt){let n=p(this.worker.lastRunAt);console.log(` Last Run: ${e.cyan(this.worker.lastRunAt.toISOString().replace("T"," ").slice(0,19))} ${e.gray(`(${n})`)}`)}else console.log(` Last Run: ${e.gray("never")}`);if(this.worker.nextRunAt){let n=p(this.worker.nextRunAt,!0);console.log(` Next Run: ${e.cyan(this.worker.nextRunAt.toISOString().replace("T"," ").slice(0,19))} ${e.gray(`(${n})`)}`)}console.log(` Total Runs: ${e.cyan(String(t.totalExecutions))}`);let a=t.totalExecutions>0?(t.successfulExecutions/t.totalExecutions*100).toFixed(1):"100.0";if(console.log(` Success Rate: ${e.cyan(a+"%")}`),o?.metrics?.domainMetrics){let n=o.metrics.domainMetrics;console.log(""),console.log(e.blue(" Last Result:")),console.log(` Promoted: ${e.cyan(String(n.promoted??0))} patterns`),console.log(` Deprecated: ${e.cyan(String(n.deprecated??0))} patterns`),console.log(` Decayed: ${e.cyan(String(n.decayed??0))} patterns`),console.log(` Pending Exp: ${e.cyan(String(n.pendingExperiences??0))}`),console.log(` Avg Conf: ${e.cyan(String(n.avgConfidence??0))}`)}console.log(""),await this.cleanupAndExit(0)}catch(t){console.error(e.red(`
|
|
4
4
|
Failed to get heartbeat status:`),c(t)),await this.cleanupAndExit(1)}}async executeRunNow(t){try{this.worker=await this.getWorker(),console.log(e.blue(`
|
|
5
5
|
Triggering heartbeat cycle...
|
|
@@ -8,7 +8,7 @@ import{b as d}from"./chunk-J6EDIEZB.js";import{a as c,c as f}from"./chunk-WHI7FV
|
|
|
8
8
|
Heartbeat History (last ${o.length})`)),console.log(e.gray(" "+"\u2500".repeat(60)));for(let a of o){let n=a.success?e.green("OK"):e.red("FAIL"),i=a.timestamp.slice(0,19).replace("T"," "),u=a.domainMetrics||{};console.log(` ${e.gray(i)} ${n} score:${e.cyan(String(a.healthScore))} +${u.promoted??0}/-${u.deprecated??0} ${e.gray(d(a.durationMs))}`)}console.log(""),await this.cleanupAndExit(0)}catch(o){console.error(e.red(`
|
|
9
9
|
Failed to load history:`),c(o)),await this.cleanupAndExit(1)}}async executeLog(t){try{let o=t||new Date().toISOString().split("T")[0];if(!/^\d{4}-\d{2}-\d{2}$/.test(o)){console.error(e.red(`
|
|
10
10
|
Invalid date format: "${o}". Use YYYY-MM-DD.
|
|
11
|
-
`)),await this.cleanupAndExit(1);return}let{findProjectRoot:a}=await import("./unified-memory-
|
|
11
|
+
`)),await this.cleanupAndExit(1);return}let{findProjectRoot:a}=await import("./unified-memory-XE5LJO5T.js"),n=l.join(a(),".agentic-qe","logs"),i=l.join(n,`${o}.md`);if(!s.existsSync(i)){console.log(e.yellow(`
|
|
12
12
|
No daily log found for ${o}.
|
|
13
13
|
`)),await this.cleanupAndExit(0);return}let u=s.readFileSync(i,"utf-8");console.log(e.blue(`
|
|
14
14
|
Daily Log \u2014 ${o}`)),console.log(e.gray(" "+"\u2500".repeat(40)));for(let g of u.split(`
|
|
@@ -45,4 +45,4 @@ Examples:
|
|
|
45
45
|
aqe heartbeat log --date 2026-03-25
|
|
46
46
|
aqe heartbeat pause
|
|
47
47
|
aqe heartbeat resume
|
|
48
|
-
`}},m=100;async function w(){let{findProjectRoot:r}=await import("./unified-memory-
|
|
48
|
+
`}},m=100;async function w(){let{findProjectRoot:r}=await import("./unified-memory-XE5LJO5T.js");return l.join(r(),".agentic-qe","heartbeat-history.json")}async function b(r){try{let t=await w(),o=l.dirname(t);s.existsSync(o)||s.mkdirSync(o,{recursive:!0});let a=[];if(s.existsSync(t))try{a=JSON.parse(s.readFileSync(t,"utf-8"))}catch{a=[]}a.unshift({timestamp:r.timestamp.toISOString(),success:r.success,durationMs:r.durationMs,healthScore:r.metrics.healthScore,domainMetrics:r.metrics.domainMetrics}),a.length>m&&(a=a.slice(0,m)),s.writeFileSync(t,JSON.stringify(a,null,2))}catch{}}async function S(r){try{let t=await w();return s.existsSync(t)?JSON.parse(s.readFileSync(t,"utf-8")).slice(0,r):[]}catch{return[]}}function x(r){switch(r){case"idle":return e.cyan(r);case"running":return e.yellow(r);case"paused":return e.yellow(r);case"stopped":return e.gray(r);case"error":return e.red(r);default:return e.white(r)}}function y(r){return r>=80?e.green(String(r)):r>=50?e.yellow(String(r)):e.red(String(r))}function k(r){switch(r){case"improving":return e.green(r);case"stable":return e.cyan(r);case"degrading":return e.red(r);default:return e.gray(r)}}function p(r,t=!1){let o=t?r.getTime()-Date.now():Date.now()-r.getTime();return o<0?t?"now":"just now":o<6e4?`${Math.floor(o/1e3)}s ${t?"from now":"ago"}`:o<36e5?`${Math.floor(o/6e4)}m ${t?"from now":"ago"}`:`${Math.floor(o/36e5)}h ${t?"from now":"ago"}`}function A(r){return new h(r)}export{h as HeartbeatHandler,A as createHeartbeatHandler};
|
|
@@ -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.9.
|
|
2
|
-
import{a as v,b as k}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.9.28");process.exit(0)}
|
|
2
|
+
import{a as v,b as k}from"./chunk-OE7U5SX2.js";import"./chunk-YUV4EMRT.js";import"./chunk-O22BAOMU.js";import{k as g,o as P}from"./chunk-5RZ26J4J.js";import"./chunk-ZKNO5AR4.js";import"./chunk-4R6DN7IO.js";import"./chunk-PMWIZ7TC.js";import"./chunk-ZH2WOQP3.js";import{a as d,b as y,c as R}from"./chunk-5KOR5ZMG.js";import"./chunk-YLZZZRB7.js";import"./chunk-UYTAAWAO.js";import"./chunk-7GLCWLZL.js";import"./chunk-ZDM6AWU6.js";import"./chunk-CKDW7YFV.js";import"./chunk-B5KYS65U.js";import"./chunk-M3FFEZFJ.js";import"./chunk-SVPX24HJ.js";import"./chunk-GECEU6U3.js";import"./chunk-IVRBWQBU.js";R();import{randomUUID as M}from"crypto";var p=class{constructor(e){this.config=e}config;_status="idle";_lastResult;_lastRunAt;_nextRunAt;_totalExecutions=0;_successfulExecutions=0;_failedExecutions=0;_executionDurations=[];_recentResults=[];get status(){return this._status}get lastResult(){return this._lastResult}get lastRunAt(){return this._lastRunAt}get nextRunAt(){return this._nextRunAt}async initialize(){this._status="idle",this._nextRunAt=new Date(Date.now()+this.config.intervalMs)}async execute(e){let r=Date.now();this._status="running",this._lastRunAt=new Date,this._totalExecutions++;let n,t;for(let a=0;a<=this.config.retryCount;a++)try{if(e.signal.aborted)throw new Error("Worker execution aborted");t=await this.executeWithTimeout(()=>this.doExecute(e),this.config.timeoutMs,e.signal);break}catch(u){n=y(u),e.logger.warn(`Worker ${this.config.id} attempt ${a+1} failed: ${n.message}`),a<this.config.retryCount&&await this.delay(this.config.retryDelayMs)}let o=Date.now()-r;return t?(this._successfulExecutions++,this._lastResult=t):(this._failedExecutions++,t=this.createErrorResult(n,o),this._lastResult=t),this._executionDurations.push(o),this._executionDurations.length>100&&this._executionDurations.shift(),this._recentResults.push({timestamp:new Date,success:t.success,durationMs:o}),this._recentResults.length>5&&this._recentResults.shift(),this._nextRunAt=new Date(Date.now()+this.config.intervalMs),this._status=t.success?"idle":"error",await e.eventBus.publish({type:"worker.executed",workerId:this.config.id,timestamp:new Date,payload:{success:t.success,durationMs:o,findingsCount:t.findings.length,healthScore:t.metrics.healthScore}}),t}pause(){this._status!=="stopped"&&(this._status="paused")}resume(){this._status==="paused"&&(this._status="idle")}async stop(){this._status="stopped"}getHealth(){let e=this._executionDurations.length>0?this._executionDurations.reduce((n,t)=>n+t,0)/this._executionDurations.length:0,r=this._totalExecutions>0?this._successfulExecutions/this._totalExecutions:1;return{status:this._status,healthScore:Math.round(r*100),totalExecutions:this._totalExecutions,successfulExecutions:this._successfulExecutions,failedExecutions:this._failedExecutions,avgDurationMs:Math.round(e),recentResults:[...this._recentResults]}}async executeWithTimeout(e,r,n){return new Promise((t,o)=>{let a=setTimeout(()=>{o(new Error(`Worker execution timed out after ${r}ms`))},r),u=()=>{clearTimeout(a),o(new Error("Worker execution aborted"))};n.addEventListener("abort",u,{once:!0}),e().then(c=>{clearTimeout(a),n.removeEventListener("abort",u),t(c)}).catch(c=>{clearTimeout(a),n.removeEventListener("abort",u),o(c)})})}createErrorResult(e,r){return{workerId:this.config.id,timestamp:new Date,durationMs:r,success:!1,error:e.message,metrics:{itemsAnalyzed:0,issuesFound:0,healthScore:0,trend:"degrading",domainMetrics:{}},findings:[],recommendations:[]}}createResult(e,r,n,t){return{workerId:this.config.id,timestamp:new Date,durationMs:e,success:!0,metrics:r,findings:n,recommendations:t}}delay(e){return new Promise(r=>setTimeout(r,e))}generateId(){return`${Date.now()}-${M().slice(0,9)}`}};P();R();var W={id:"heartbeat-scheduler",name:"Heartbeat Scheduler",description:"Token-free maintenance: pattern promotion, stale detection, experience buffer monitoring",intervalMs:1800*1e3,priority:"normal",targetDomains:["learning-optimization"],enabled:!0,timeoutMs:6e4,retryCount:1,retryDelayMs:5e3},b=class extends p{lifecycleManager=null;dailyLogger;lastRunTimestamp=0;constructor(){super(W),this.dailyLogger=new k}async getLifecycleManager(){if(this.lifecycleManager)return this.lifecycleManager;try{let e=g();await e.initialize();let r=e.getDatabase();return this.lifecycleManager=v(r,{promotionRewardThreshold:.7,promotionMinOccurrences:2,promotionMinSuccessRate:.7,deprecationFailureThreshold:3,staleDaysThreshold:30,confidenceDecayRate:.01,minActiveConfidence:.3}),this.lifecycleManager}catch{return null}}getPendingExperienceCount(){try{return g().getDatabase().prepare("SELECT COUNT(*) as pending FROM qe_pattern_usage WHERE created_at > datetime('now', '-1 day')").get()?.pending??0}catch{return 0}}async doExecute(e){let r=Date.now();e.logger.info("Heartbeat scheduler running (token-free maintenance)");let n=[],t=[],o=await this.getLifecycleManager();if(!o)return e.logger.warn("Unified memory unavailable \u2014 returning zero-metric heartbeat"),this.createResult(Date.now()-r,{itemsAnalyzed:0,issuesFound:0,healthScore:50,trend:"stable",domainMetrics:{promoted:0,deprecated:0,decayed:0,stalePatterns:0,pendingExperiences:0,avgConfidence:0,avgSuccessRate:0}},[],[]);let a=0,u=0;try{let s=o.promoteEligiblePatterns();a=s.promoted,u=s.checked,a>0&&n.push({type:"heartbeat-promotion",severity:"info",domain:"learning-optimization",title:"Patterns Promoted",description:`${a} of ${u} short-term patterns promoted to long-term`})}catch(s){e.logger.warn("Pattern promotion failed",{error:d(s)})}let c=0,h=0;try{let s=o.deprecateStalePatterns();c=s.deprecated,h=s.checked,c>0&&n.push({type:"heartbeat-deprecation",severity:"low",domain:"learning-optimization",title:"Stale Patterns Deprecated",description:`${c} of ${h} patterns deprecated (stale, failed, or low confidence)`})}catch(s){e.logger.warn("Stale pattern detection failed",{error:d(s)})}let l=0;try{let s=this.lastRunTimestamp>0?(Date.now()-this.lastRunTimestamp)/864e5:1;l=o.applyConfidenceDecay(Math.min(s,7)).decayed}catch(s){e.logger.warn("Confidence decay failed",{error:d(s)})}let m=this.getPendingExperienceCount(),i={totalPatterns:0,activePatterns:0,deprecatedPatterns:0,promotedPatterns:0,shortTermPatterns:0,longTermPatterns:0,avgConfidence:0,avgSuccessRate:0,patternsNearDeprecation:0};try{i=o.getStats()}catch(s){e.logger.warn("Stats retrieval failed",{error:d(s)})}try{this.dailyLogger.log({timestamp:new Date,type:"pattern-promoted",summary:`Heartbeat: ${a} promoted, ${c} deprecated, ${l} decayed, ${m} pending exp, ${i.activePatterns} active patterns (avg conf: ${i.avgConfidence.toFixed(2)})`,details:{promoted:a,deprecated:c,decayed:l,pendingExperiences:m,totalPatterns:i.totalPatterns,activePatterns:i.activePatterns,avgConfidence:i.avgConfidence,avgSuccessRate:i.avgSuccessRate}}),this.dailyLogger.flush()}catch(s){e.logger.warn("Daily log write failed",{error:d(s)})}this.lastRunTimestamp=Date.now(),i.activePatterns>0&&i.patternsNearDeprecation/i.activePatterns>.5&&t.push({priority:"p2",domain:"learning-optimization",action:"Review At-Risk Patterns",description:`${i.patternsNearDeprecation} of ${i.activePatterns} active patterns are near deprecation. Manual review recommended.`,estimatedImpact:"medium",effort:"low",autoFixable:!1});let f=this.calculateHealthScore(i,a,c),D=this.determineTrend(a,c,i.activePatterns),_=Math.max(u,h),x=a+c+i.patternsNearDeprecation;return e.logger.info("Heartbeat complete",{promoted:a,deprecated:c,decayed:l,pendingExperiences:m,healthScore:f}),this.createResult(Date.now()-r,{itemsAnalyzed:_,issuesFound:x,healthScore:f,trend:D,domainMetrics:{promoted:a,deprecated:c,decayed:l,stalePatterns:i.patternsNearDeprecation,pendingExperiences:m,avgConfidence:Number(i.avgConfidence.toFixed(3)),avgSuccessRate:Number(i.avgSuccessRate.toFixed(3))}},n,t)}calculateHealthScore(e,r,n){let t=70;if(t+=Math.min(15,r*5),e.avgConfidence>0&&(t+=Math.round((e.avgConfidence-.5)*30)),e.activePatterns>0){let o=n/e.activePatterns;t-=Math.round(o*20)}return e.activePatterns>0&&e.patternsNearDeprecation/e.activePatterns>.5&&(t-=10),Math.max(0,Math.min(100,Math.round(t)))}determineTrend(e,r,n){return n===0?"stable":e>r?"improving":r>e&&r/n>.1?"degrading":"stable"}};export{b as HeartbeatSchedulerWorker};
|
|
@@ -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.9.28");process.exit(0)}
|
|
2
|
+
import{a,c as b}from"./chunk-M3FFEZFJ.js";import"./chunk-SVPX24HJ.js";import"./chunk-GECEU6U3.js";import"./chunk-IVRBWQBU.js";b();export{a as HnswAdapter};
|
|
@@ -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.9.28");process.exit(0)}
|
|
2
|
+
import{a,b,c,d}from"./chunk-RB5T2HNT.js";import"./chunk-4R6DN7IO.js";import"./chunk-PMWIZ7TC.js";import"./chunk-ZDM6AWU6.js";import"./chunk-M3FFEZFJ.js";import"./chunk-SVPX24HJ.js";import"./chunk-GECEU6U3.js";import"./chunk-IVRBWQBU.js";export{a as DEFAULT_HNSW_CONFIG,b as HNSWIndex,d as benchmarkHNSW,c as createHNSWIndex};
|
|
@@ -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.9.
|
|
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.9.28");process.exit(0)}
|
|
2
|
+
import"./chunk-IVRBWQBU.js";var s=class{adapter;metadataMap=new Map;insertCount=0;constructor(e){this.adapter=e}async initialize(){}async insert(e,t,r){this.adapter.addByStringId(e,t),this.insertCount++,r&&this.metadataMap.set(e,r)}async search(e,t){return this.adapter.searchByArray(e,t).map(a=>({key:a.id,score:a.score,distance:1-a.score,metadata:this.metadataMap.get(a.id)}))}async batchInsert(e){for(let t of e)await this.insert(t.key,t.vector,t.metadata)}async delete(e){let t=this.adapter.removeByStringId(e);return t&&this.metadataMap.delete(e),t}async getStats(){return{nativeHNSW:!0,backendType:"ruvector-gnn",vectorCount:this.adapter.size(),indexSizeBytes:this.adapter.size()*this.adapter.dimensions()*4,avgSearchLatencyMs:this.adapter.lastSearchLatencyMs,p95SearchLatencyMs:0,p99SearchLatencyMs:0,searchOperations:0,insertOperations:this.insertCount}}async clear(){this.adapter.clear(),this.metadataMap.clear(),this.insertCount=0}isNativeAvailable(){return!0}};export{s as HnswLegacyBridge};
|
|
@@ -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.9.
|
|
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.9.28");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-VZEKUY3G.js";import"./chunk-IVRBWQBU.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};
|