agentic-qe 3.15.16 → 3.15.17
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 +78 -0
- package/assets/skills/skills-manifest.json +1 -1
- package/dist/cli/bundle.js +6 -6
- package/dist/cli/chunks/adapter-OMILP6KH.js +2 -0
- package/dist/cli/chunks/{agent-booster-wasm-45NWEKVS.js → agent-booster-wasm-6BUOFQZA.js} +2 -2
- package/dist/cli/chunks/{agent-handler-LVHMYFEF.js → agent-handler-HPDK3JI3.js} +2 -2
- package/dist/cli/chunks/{agent-memory-branch-YDWOJFEQ.js → agent-memory-branch-5QKUTWK5.js} +2 -2
- package/dist/cli/chunks/aqe-learning-engine-OXH5CCOS.js +2 -0
- package/dist/cli/chunks/{arena-CZKHXDDS.js → arena-7OKPMNHD.js} +2 -2
- package/dist/cli/chunks/{arena-ELDZH3CZ.js → arena-HZ35LESR.js} +4 -4
- package/dist/cli/chunks/{audit-5MT4T47Z.js → audit-XI575SVK.js} +3 -3
- package/dist/cli/chunks/base-MAK2BLTG.js +2 -0
- package/dist/cli/chunks/{better-sqlite3-6TGYPC2B.js → better-sqlite3-YO5X7ZJS.js} +2 -2
- package/dist/cli/chunks/{brain-handler-HQWZFO52.js → brain-handler-GCQZFZGQ.js} +3 -3
- package/dist/cli/chunks/{branch-enumerator-WVILM4SO.js → branch-enumerator-N6G44UU2.js} +2 -2
- package/dist/cli/chunks/{browser-RX5ALU3H.js → browser-EVKPTLOI.js} +2 -2
- package/dist/cli/chunks/browser-workflow-IR3VF2TL.js +2 -0
- package/dist/cli/chunks/{chunk-F742SZAX.js → chunk-2EQK7B5L.js} +2 -2
- package/dist/cli/chunks/{chunk-5NNNEWLS.js → chunk-2PCEMDIX.js} +67 -65
- package/dist/cli/chunks/{chunk-FBDVGRSC.js → chunk-2UUZCQSD.js} +7 -7
- package/dist/cli/chunks/{chunk-AG2EWGXS.js → chunk-2YWYW7NU.js} +2 -2
- package/dist/cli/chunks/{chunk-4LQFBY5L.js → chunk-45223KK6.js} +3 -3
- package/dist/cli/chunks/chunk-4EJLHNER.js +12 -0
- package/dist/cli/chunks/{chunk-KQYJ4VQ5.js → chunk-4L6WX5KC.js} +1 -1
- package/dist/cli/chunks/{chunk-KVF4NXGQ.js → chunk-4NKZU2JZ.js} +2 -2
- package/dist/cli/chunks/{chunk-YRAX7SFJ.js → chunk-4UKTIQDT.js} +2 -2
- package/dist/cli/chunks/{chunk-YTHTQPWR.js → chunk-4YM45Z5B.js} +1 -1
- package/dist/cli/chunks/{chunk-XIIQ5QTT.js → chunk-5FSPELOG.js} +2 -2
- package/dist/cli/chunks/{chunk-LKTTUHLF.js → chunk-5WATBVU6.js} +2 -2
- package/dist/cli/chunks/{chunk-SR52XP5F.js → chunk-5WYZVSL2.js} +1 -1
- package/dist/cli/chunks/{chunk-GQ6TUIKY.js → chunk-6LSZCEW2.js} +1 -1
- package/dist/cli/chunks/{chunk-NDJ7P2EP.js → chunk-6V6BD6PH.js} +1 -1
- package/dist/cli/chunks/{chunk-63GMRQ25.js → chunk-74MDUIAZ.js} +1 -1
- package/dist/cli/chunks/{chunk-4D4DENG6.js → chunk-776K4ZLE.js} +2 -2
- package/dist/cli/chunks/{chunk-ZJH5MU2I.js → chunk-7BSOO3CY.js} +2 -2
- package/dist/cli/chunks/{chunk-IOQ6ZQ5W.js → chunk-7SNSI4VY.js} +1 -1
- package/dist/cli/chunks/{chunk-LRSX2FJM.js → chunk-A4BVDYIL.js} +1 -1
- package/dist/cli/chunks/{chunk-SASBO5Y5.js → chunk-AGCS5GSO.js} +2 -2
- package/dist/cli/chunks/{chunk-GAHNO6JJ.js → chunk-AVHYJ3XP.js} +2 -2
- package/dist/cli/chunks/{chunk-CGGUM2YJ.js → chunk-BE7ZHM34.js} +2 -2
- package/dist/cli/chunks/{chunk-7TE5ONQQ.js → chunk-BHQ2DLJU.js} +1 -1
- package/dist/cli/chunks/{chunk-IESR7TNB.js → chunk-BKHEQIRZ.js} +2 -2
- package/dist/cli/chunks/{chunk-J4ELZNLY.js → chunk-BSIWI4ES.js} +2 -2
- package/dist/cli/chunks/{chunk-NVEWF4JV.js → chunk-C7QLLMYI.js} +1 -1
- package/dist/cli/chunks/{chunk-V5NHZV7S.js → chunk-CMN7PU2H.js} +2 -2
- package/dist/cli/chunks/{chunk-PPUZWYUG.js → chunk-COTQ44YO.js} +2 -2
- package/dist/cli/chunks/{chunk-5V3TI2LG.js → chunk-CQER6IJ5.js} +1 -1
- package/dist/cli/chunks/{chunk-SI6DPU5D.js → chunk-CVPXHDQU.js} +1 -1
- package/dist/cli/chunks/{chunk-6ZBXSOX6.js → chunk-CVYPMGUM.js} +2 -2
- package/dist/cli/chunks/{chunk-DXD6K2ZP.js → chunk-CXCMATZ6.js} +2 -2
- package/dist/cli/chunks/{chunk-PF7RBAYL.js → chunk-D75GLKEL.js} +2 -2
- package/dist/cli/chunks/chunk-DCDSN67A.js +2 -0
- package/dist/cli/chunks/{chunk-MAFQV4U4.js → chunk-DHKSPOUQ.js} +2 -2
- package/dist/cli/chunks/{chunk-RJIEG3NA.js → chunk-DJDVD6RM.js} +2 -2
- package/dist/cli/chunks/{chunk-GFWHUQSF.js → chunk-DNVRTJKB.js} +2 -2
- package/dist/cli/chunks/{chunk-G5RHFBAY.js → chunk-DS5IFRY6.js} +2 -2
- package/dist/cli/chunks/{chunk-BEKDKVQT.js → chunk-E7XIMOKW.js} +2 -2
- package/dist/cli/chunks/{chunk-5JZRZI4S.js → chunk-ECKHDHR2.js} +2 -2
- package/dist/cli/chunks/chunk-EPVPXHL7.js +2 -0
- package/dist/cli/chunks/{chunk-HVRRLYX6.js → chunk-ERYADKMZ.js} +2 -2
- package/dist/cli/chunks/{chunk-SUDMM5SO.js → chunk-EUWG2JG4.js} +2 -2
- package/dist/cli/chunks/{chunk-VSIKHWZ4.js → chunk-FAQ24UHB.js} +3 -3
- package/dist/cli/chunks/{chunk-YNMJEDN5.js → chunk-FBBPRVNF.js} +2 -2
- package/dist/cli/chunks/{chunk-72XSEQMW.js → chunk-FBSBXCZS.js} +2 -2
- package/dist/cli/chunks/{chunk-J7I6PABJ.js → chunk-G2X3OLMN.js} +2 -2
- package/dist/cli/chunks/{chunk-YU2BDRSD.js → chunk-GG7PMTHD.js} +1 -1
- package/dist/cli/chunks/{chunk-HLUXXCHF.js → chunk-GN6OE3JT.js} +1 -1
- package/dist/cli/chunks/{chunk-AGRV5B3T.js → chunk-GPPTRKEM.js} +2 -2
- package/dist/cli/chunks/{chunk-ZQ2XW3IP.js → chunk-H2LHWZRE.js} +2 -2
- package/dist/cli/chunks/{chunk-6DPYNAOK.js → chunk-HAQJFUAQ.js} +2 -2
- package/dist/cli/chunks/{chunk-SSUAAX3F.js → chunk-HD6W6PHV.js} +2 -2
- package/dist/cli/chunks/{chunk-L2DWPVNJ.js → chunk-HFZD5KLR.js} +1 -1
- package/dist/cli/chunks/{chunk-QVDCVD5D.js → chunk-HRUHHHVR.js} +2 -2
- package/dist/cli/chunks/{chunk-PINSJCM3.js → chunk-HVT7RMGV.js} +1 -1
- package/dist/cli/chunks/chunk-HWQPMUSN.js +2 -0
- package/dist/cli/chunks/{chunk-4NFQLP6R.js → chunk-HZ5O7G2P.js} +1 -1
- package/dist/cli/chunks/{chunk-C6D5AHBO.js → chunk-IHQGNDMX.js} +2 -2
- package/dist/cli/chunks/{chunk-QQWBWEJS.js → chunk-IJSROBM6.js} +3 -3
- package/dist/cli/chunks/{chunk-OCV2XEWQ.js → chunk-IJZFJPHS.js} +2 -2
- package/dist/cli/chunks/{chunk-N7HL5PHH.js → chunk-IKB3M7OF.js} +1 -1
- package/dist/cli/chunks/{chunk-24OX5TQJ.js → chunk-INI3Q4CN.js} +1 -1
- package/dist/cli/chunks/{chunk-SJ6Y4725.js → chunk-IOWEBPXJ.js} +2 -2
- package/dist/cli/chunks/{chunk-VXFLJNCA.js → chunk-IQL6XRF5.js} +2 -2
- package/dist/cli/chunks/{chunk-WP4RETKG.js → chunk-IRHXGCQR.js} +2 -2
- package/dist/cli/chunks/{chunk-63ZKI4PX.js → chunk-J3QFJI2Y.js} +2 -2
- package/dist/cli/chunks/{chunk-UHEOGZLX.js → chunk-J6QRNQJF.js} +5 -5
- package/dist/cli/chunks/{chunk-KNSRL6NO.js → chunk-J7Q5TXFZ.js} +2 -2
- package/dist/cli/chunks/{chunk-L6QSTQME.js → chunk-JHKKIJT2.js} +2 -2
- package/dist/cli/chunks/{chunk-VMDFFTCK.js → chunk-JI33PMPZ.js} +1 -1
- package/dist/cli/chunks/{chunk-E3D4GPLP.js → chunk-JRIJM4LE.js} +3 -3
- package/dist/cli/chunks/{chunk-XIQW7EFL.js → chunk-JVWZAE2H.js} +2 -2
- package/dist/cli/chunks/{chunk-YPBSUGMI.js → chunk-K7WAI662.js} +1 -1
- package/dist/cli/chunks/{chunk-RV74I3YO.js → chunk-KB34MTFZ.js} +2 -2
- package/dist/cli/chunks/{chunk-MI5MFHRA.js → chunk-KPIPVSIP.js} +2 -2
- package/dist/cli/chunks/{chunk-Y4PFUMOU.js → chunk-KR2TAAF6.js} +1 -1
- package/dist/cli/chunks/{chunk-W5HQUIML.js → chunk-KT2QCXO6.js} +2 -2
- package/dist/cli/chunks/{chunk-SSYAQZXA.js → chunk-KTORRIX3.js} +2 -2
- package/dist/cli/chunks/{chunk-CRPIYUTJ.js → chunk-LCWEQRZI.js} +2 -2
- package/dist/cli/chunks/{chunk-NO3IV5Q5.js → chunk-LG5PPJT7.js} +1 -1
- package/dist/cli/chunks/{chunk-5VZL4UVN.js → chunk-LIF6UWHV.js} +2 -2
- package/dist/cli/chunks/{chunk-32BPDLRZ.js → chunk-LN7NKE3N.js} +2 -2
- package/dist/cli/chunks/{chunk-ZB3LEFYG.js → chunk-LOLSZG5J.js} +2 -2
- package/dist/cli/chunks/{chunk-6XXZDV2C.js → chunk-LOMT4UC2.js} +2 -2
- package/dist/cli/chunks/{chunk-JDIYMZCQ.js → chunk-LRKLATSH.js} +2 -2
- package/dist/cli/chunks/{chunk-5SPCGMBB.js → chunk-LRY6UIRI.js} +2 -2
- package/dist/cli/chunks/{chunk-5PBLPQ5T.js → chunk-LV7UIK4Q.js} +2 -2
- package/dist/cli/chunks/{chunk-FDDC72IA.js → chunk-M2YI5YUR.js} +2 -2
- package/dist/cli/chunks/{chunk-D6COXLYE.js → chunk-MCXW3DKE.js} +2 -2
- package/dist/cli/chunks/{chunk-J442IZLE.js → chunk-MGZ6XZHU.js} +1 -1
- package/dist/cli/chunks/{chunk-TIUKLYAI.js → chunk-MLMD3I75.js} +1 -1
- package/dist/cli/chunks/{chunk-PHT5N7SC.js → chunk-MVVVGQJ6.js} +2 -2
- package/dist/cli/chunks/{chunk-525CFDUE.js → chunk-ND72UDVH.js} +2 -2
- package/dist/cli/chunks/{chunk-XWUWX7BV.js → chunk-NE3LRUNC.js} +4 -4
- package/dist/cli/chunks/{chunk-DTMAS2GB.js → chunk-NKUHMA4T.js} +2 -2
- package/dist/cli/chunks/{chunk-QPEOLAAS.js → chunk-NQFDJ6BT.js} +1 -1
- package/dist/cli/chunks/{chunk-MO55CVMT.js → chunk-NZJVDOUN.js} +14 -14
- package/dist/cli/chunks/{chunk-NZU4ACBZ.js → chunk-O7VJ3VKD.js} +2 -2
- package/dist/cli/chunks/{chunk-32GN3JKR.js → chunk-OJIUIEI4.js} +1 -1
- package/dist/cli/chunks/{chunk-UNGBRZDK.js → chunk-OO2M2QUV.js} +3 -3
- package/dist/cli/chunks/{chunk-CJSHWQXP.js → chunk-ORQ2YBRR.js} +2 -2
- package/dist/cli/chunks/chunk-OWIQR6N2.js +4 -0
- package/dist/cli/chunks/{chunk-NAEWCFQT.js → chunk-OWIZBZLN.js} +2 -2
- package/dist/cli/chunks/{chunk-24QHCVX6.js → chunk-P3D7SEHW.js} +1 -1
- package/dist/cli/chunks/{chunk-YLMNVLDK.js → chunk-P4OB6WDJ.js} +1 -1
- package/dist/cli/chunks/{chunk-PEQDY4BO.js → chunk-PCL5JRKN.js} +2 -2
- package/dist/cli/chunks/{chunk-IUBJVHNB.js → chunk-PIWGKGWP.js} +2 -2
- package/dist/cli/chunks/{chunk-GJYHWYXR.js → chunk-PK34KJH7.js} +2 -2
- package/dist/cli/chunks/{chunk-5B5QPCNU.js → chunk-POPSZDI2.js} +4 -4
- package/dist/cli/chunks/{chunk-HCH4Y6XX.js → chunk-Q6F3DYZN.js} +2 -2
- package/dist/cli/chunks/{chunk-SHKOCGNK.js → chunk-QJSSUBO3.js} +2 -2
- package/dist/cli/chunks/{chunk-DVYHMDFR.js → chunk-QN7HP2UW.js} +421 -418
- package/dist/cli/chunks/{chunk-ZFL436FN.js → chunk-QSQNXBD2.js} +2 -2
- package/dist/cli/chunks/{chunk-TVGI32MB.js → chunk-QTQDX4TZ.js} +3 -3
- package/dist/cli/chunks/{chunk-EK7OLYOZ.js → chunk-R3KBOQ3O.js} +2 -2
- package/dist/cli/chunks/{chunk-LE4QJREF.js → chunk-REY52O7J.js} +1 -1
- package/dist/cli/chunks/{chunk-LQLPB2T6.js → chunk-RKCN4B26.js} +2 -2
- package/dist/cli/chunks/{chunk-ZR2TKVXQ.js → chunk-S3DT5TPR.js} +2 -2
- package/dist/cli/chunks/{chunk-6ICX3FEG.js → chunk-S3TBOKAZ.js} +22 -22
- package/dist/cli/chunks/{chunk-JHQCRRJI.js → chunk-SAEECT23.js} +2 -2
- package/dist/cli/chunks/{chunk-VWPM27GU.js → chunk-SAZ4PJBR.js} +2 -2
- package/dist/cli/chunks/{chunk-KPRCB5LT.js → chunk-SFITYZLV.js} +2 -2
- package/dist/cli/chunks/{chunk-5LAVKGLH.js → chunk-SRBCBVSI.js} +2 -2
- package/dist/cli/chunks/{chunk-O5W3FIO6.js → chunk-SUAZ5Z47.js} +2 -2
- package/dist/cli/chunks/{chunk-KU2AUFGX.js → chunk-TDZ6N43D.js} +2 -2
- package/dist/cli/chunks/{chunk-YAPLJR7K.js → chunk-TIVKDIF7.js} +2 -2
- package/dist/cli/chunks/{chunk-U2A7NHZA.js → chunk-TM75GAXG.js} +2 -2
- package/dist/cli/chunks/{chunk-A5GBXCP5.js → chunk-TWBZONKT.js} +2 -2
- package/dist/cli/chunks/{chunk-I7MQIM2U.js → chunk-U4S74IIZ.js} +1 -1
- package/dist/cli/chunks/{chunk-3HD7E6HN.js → chunk-U5SMBJ6F.js} +2 -2
- package/dist/cli/chunks/{chunk-JQ3DYUMS.js → chunk-UHJVZEQA.js} +2 -2
- package/dist/cli/chunks/{chunk-C5FP5GW3.js → chunk-UOVCTK5L.js} +2 -2
- package/dist/cli/chunks/{chunk-HJ6ZGVTB.js → chunk-VDEKVIP5.js} +2 -2
- package/dist/cli/chunks/{chunk-KXCLACFG.js → chunk-VITV7AEC.js} +2 -2
- package/dist/cli/chunks/{chunk-P3EYRILV.js → chunk-VKREKVFI.js} +2 -2
- package/dist/cli/chunks/{chunk-2H4XH6FT.js → chunk-VLTDW7XJ.js} +2 -2
- package/dist/cli/chunks/{chunk-MD43XRX5.js → chunk-VQFV2IPV.js} +1 -1
- package/dist/cli/chunks/{chunk-67Z5R7RJ.js → chunk-VYPVU3JF.js} +2 -2
- package/dist/cli/chunks/{chunk-SDLWKRVL.js → chunk-WAOEQA3W.js} +2 -2
- package/dist/cli/chunks/{chunk-IOYG4VFL.js → chunk-WBDWHHKP.js} +2 -2
- package/dist/cli/chunks/{chunk-ASEOFRIG.js → chunk-WX4PO65Q.js} +2 -2
- package/dist/cli/chunks/chunk-X2DWHGCC.js +6 -0
- package/dist/cli/chunks/{chunk-CEYSYSK5.js → chunk-X5QD76IU.js} +2 -2
- package/dist/cli/chunks/{chunk-GSKMOPL7.js → chunk-XBTGEYED.js} +2 -2
- package/dist/cli/chunks/{chunk-FL64OUBA.js → chunk-XEMCHGAJ.js} +2 -2
- package/dist/cli/chunks/{chunk-2YZ4G6NW.js → chunk-XEYFZLIT.js} +1 -1
- package/dist/cli/chunks/{chunk-EA4YQVKS.js → chunk-XFTX3KLE.js} +1 -1
- package/dist/cli/chunks/{chunk-HGWXF45W.js → chunk-XPTCQKVE.js} +1 -1
- package/dist/cli/chunks/{chunk-CAKMOVZ6.js → chunk-YAJOBZE5.js} +2 -2
- package/dist/cli/chunks/{chunk-NQXXI77K.js → chunk-YCVLKU6H.js} +2 -2
- package/dist/cli/chunks/{chunk-AR67RJPY.js → chunk-YD2C6EPN.js} +2 -2
- package/dist/cli/chunks/{chunk-S75SOOZL.js → chunk-YKRLUTK7.js} +2 -2
- package/dist/cli/chunks/{chunk-IOKYCMTJ.js → chunk-YMUY3TES.js} +2 -2
- package/dist/cli/chunks/{chunk-5QO3R3TU.js → chunk-YR5QBUHZ.js} +2 -2
- package/dist/cli/chunks/{chunk-AJMJNQMP.js → chunk-Z7SKUC6P.js} +1 -1
- package/dist/cli/chunks/{chunk-KITOPKRG.js → chunk-ZAQMRFBB.js} +2 -2
- package/dist/cli/chunks/{chunk-AAMLQ2LF.js → chunk-ZC3KDNJW.js} +3 -3
- package/dist/cli/chunks/{chunk-VJCIEHEF.js → chunk-ZGV7L4MW.js} +1 -1
- package/dist/cli/chunks/{chunk-BY5OF7OH.js → chunk-ZN35XSKF.js} +2 -2
- package/dist/cli/chunks/{chunk-KKU2QGSJ.js → chunk-ZNXM6WVL.js} +2 -2
- package/dist/cli/chunks/{chunk-FLNAW7C4.js → chunk-ZP5AWQRO.js} +2 -2
- package/dist/cli/chunks/{chunk-IHRXZZQM.js → chunk-ZTP3DQ5M.js} +1 -1
- package/dist/cli/chunks/{chunk-OAEE6JWQ.js → chunk-ZVMSSCTH.js} +2 -2
- package/dist/cli/chunks/{chunk-M7WJCTG3.js → chunk-ZWUF27P4.js} +2 -2
- package/dist/cli/chunks/{ci-MFUR4CWV.js → ci-3RTTTS2D.js} +2 -2
- package/dist/cli/chunks/{ci-config-PNDLQ6XV.js → ci-config-XRUR3I4K.js} +2 -2
- package/dist/cli/chunks/{ci-output-PFZ4M7NC.js → ci-output-E5IAMU2U.js} +2 -2
- package/dist/cli/chunks/{circuit-breaker-5HH6NLZN.js → circuit-breaker-SHR2P44P.js} +2 -2
- package/dist/cli/chunks/{claude-flow-setup-QCKYLGLC.js → claude-flow-setup-ZDDILFMF.js} +2 -2
- package/dist/cli/chunks/client-NO5FOWT4.js +2 -0
- package/dist/cli/chunks/{cline-installer-EASVPFXR.js → cline-installer-BGYVUM6G.js} +2 -2
- package/dist/cli/chunks/{code-UJXDVYRK.js → code-PJ4MC3MC.js} +3 -3
- package/dist/cli/chunks/{code-index-extractor-BZJ3UDP4.js → code-index-extractor-IW2P22YG.js} +2 -2
- package/dist/cli/chunks/{codex-installer-XSQZUVOZ.js → codex-installer-A7WZ6OGL.js} +2 -2
- package/dist/cli/chunks/{completions-OWOOJFI2.js → completions-KS23WD5J.js} +2 -2
- package/dist/cli/chunks/{complexity-analyzer-KP5TOHDT.js → complexity-analyzer-Q7GLSR2E.js} +2 -2
- package/dist/cli/chunks/{continuedev-installer-IFKQXLHM.js → continuedev-installer-SK55BFW2.js} +2 -2
- package/dist/cli/chunks/copilot-installer-3N5J3WTM.js +3 -0
- package/dist/cli/chunks/core-handlers-JNAZPXE2.js +2 -0
- package/dist/cli/chunks/{cost-tracker-MMDDNKZB.js → cost-tracker-NENVSO4A.js} +2 -2
- package/dist/cli/chunks/{coverage-LUH2B7NT.js → coverage-5L7UQWDH.js} +3 -3
- package/dist/cli/chunks/cross-domain-router-HEBM767Z.js +2 -0
- package/dist/cli/chunks/{cursor-installer-4YLM5GWM.js → cursor-installer-XXBO2ZE6.js} +2 -2
- package/dist/cli/chunks/{daemon-MZKVM4CJ.js → daemon-CDCQU3LR.js} +3 -3
- package/dist/cli/chunks/{daemon-CAVZ7OFV.js → daemon-JEBJGEUK.js} +4 -4
- package/dist/cli/chunks/{dag-attention-scheduler-X4CYW665.js → dag-attention-scheduler-HOMMF7FA.js} +2 -2
- package/dist/cli/chunks/{detect-7BM2XINO.js → detect-FXCOUG6X.js} +2 -2
- package/dist/cli/chunks/{dist-node-Y5APLEYB.js → dist-node-GXQ7FMTY.js} +2 -2
- package/dist/cli/chunks/{domain-handler-X3ZRJNAH.js → domain-handler-TI3JBAPC.js} +2 -2
- package/dist/cli/chunks/{domain-plugins-2UW5KQJB.js → domain-plugins-R7LTUM32.js} +2 -2
- package/dist/cli/chunks/{domain-transfer-35W4CIBV.js → domain-transfer-LBIAFHIQ.js} +2 -2
- package/dist/cli/chunks/dream-GQDCEJMS.js +2 -0
- package/dist/cli/chunks/embed-and-insert-pattern-33KLHDD5.js +3 -0
- package/dist/cli/chunks/{embedding-space-SBM2MZD2.js → embedding-space-HHLWTBF5.js} +2 -2
- package/dist/cli/chunks/{eval-4QA2SROK.js → eval-KDOZMAXJ.js} +2 -2
- package/dist/cli/chunks/{experience-capture-middleware-Z6BF6KYM.js → experience-capture-middleware-X45PECQN.js} +3 -3
- package/dist/cli/chunks/{fast-paths-FIORX6GN.js → fast-paths-462V6UUB.js} +2 -2
- package/dist/cli/chunks/{feature-flags-ZOO7LMIC.js → feature-flags-G66OT3AS.js} +2 -2
- package/dist/cli/chunks/{feature-flags-6LYI2T4G.js → feature-flags-NIRQ4YDM.js} +2 -2
- package/dist/cli/chunks/file-discovery-33USPLB5.js +2 -0
- package/dist/cli/chunks/{fleet-7WF53H4F.js → fleet-PXWGB7CU.js} +3 -3
- package/dist/cli/chunks/{gnn-wrapper-KJ6B7BRM.js → gnn-wrapper-7MUW3M5M.js} +2 -2
- package/dist/cli/chunks/{heartbeat-handler-DEKKMOVW.js → heartbeat-handler-5237PB35.js} +4 -4
- package/dist/cli/chunks/heartbeat-scheduler-LIXLC5IH.js +2 -0
- package/dist/cli/chunks/hnsw-adapter-62D5UH27.js +2 -0
- package/dist/cli/chunks/hnsw-index-GSGUMQQC.js +2 -0
- package/dist/cli/chunks/{hnsw-legacy-bridge-L27WS27N.js → hnsw-legacy-bridge-OSQPW7JP.js} +2 -2
- package/dist/cli/chunks/{hnswlib-node-4YOQC6L4.js → hnswlib-node-GX6WG2GB.js} +2 -2
- package/dist/cli/chunks/{hooks-TAOKV4EJ.js → hooks-GUWHL7VC.js} +10 -10
- package/dist/cli/chunks/hybrid-backend-FRWP4BOY.js +2 -0
- package/dist/cli/chunks/{hypergraph-engine-BODRJLHL.js → hypergraph-engine-SRWLLCU3.js} +2 -2
- package/dist/cli/chunks/{hypergraph-handler-RKMYJNTU.js → hypergraph-handler-AVOPRHHO.js} +3 -3
- package/dist/cli/chunks/impact-analyzer-7KF3AQXV.js +2 -0
- package/dist/cli/chunks/{init-guard-MXHSLSB2.js → init-guard-P4N6EVZS.js} +2 -2
- package/dist/cli/chunks/{init-handler-HUE57IFW.js → init-handler-LRGWOJMD.js} +6 -6
- package/dist/cli/chunks/init-wizard-XWWAXY25.js +2 -0
- package/dist/cli/chunks/kernel-ZEJPNDBW.js +2 -0
- package/dist/cli/chunks/{kilocode-installer-S333IKYQ.js → kilocode-installer-7R2EPOQ6.js} +2 -2
- package/dist/cli/chunks/{kiro-installer-WM5DLQWC.js → kiro-installer-QNM7DPOB.js} +2 -2
- package/dist/cli/chunks/knowledge-graph-RRZQS7KY.js +2 -0
- package/dist/cli/chunks/{learning-LNHMQLH5.js → learning-7OIZBPXZ.js} +3 -3
- package/dist/cli/chunks/{llm-router-EWFXYZZR.js → llm-router-SIDXES23.js} +4 -4
- package/dist/cli/chunks/llm-router-service-3OSW67LC.js +2 -0
- package/dist/cli/chunks/{load-FGYGWVDK.js → load-EI2E2C3S.js} +2 -2
- package/dist/cli/chunks/load-test-7TRIH2WJ.js +2 -0
- package/dist/cli/chunks/{mcp-2FHNAAOM.js → mcp-IOE5WOCS.js} +2 -2
- package/dist/cli/chunks/{memory-DZMQ73AB.js → memory-DLYGJAP7.js} +5 -5
- package/dist/cli/chunks/memory-backend-G7ZW6Q2B.js +2 -0
- package/dist/cli/chunks/memory-handlers-TPF3KCO5.js +2 -0
- package/dist/cli/chunks/{multi-model-executor-6F2UAEUW.js → multi-model-executor-WHH4YCHM.js} +2 -2
- package/dist/cli/chunks/{opencode-installer-XY3BGOTZ.js → opencode-installer-63FDZAMS.js} +2 -2
- package/dist/cli/chunks/{orchestrator-B4CNKUOS.js → orchestrator-3LA776KK.js} +5 -5
- package/dist/cli/chunks/pattern-null-store-OU3ZC3NR.js +2 -0
- package/dist/cli/chunks/{pattern-usage-recorder-R4GUFNMD.js → pattern-usage-recorder-NW54QUGI.js} +2 -2
- package/dist/cli/chunks/{pipeline-FG5RKVRO.js → pipeline-P3TYX6J6.js} +2 -2
- package/dist/cli/chunks/{platform-3BT4KEVJ.js → platform-FNA2WLI6.js} +2 -2
- package/dist/cli/chunks/{plugin-WI4RIN7O.js → plugin-NJS7BC2S.js} +2 -2
- package/dist/cli/chunks/{prime-radiant-advanced-wasm-7ECDNQFS.js → prime-radiant-advanced-wasm-NIAVL2OT.js} +2 -2
- package/dist/cli/chunks/project-root-GMOFJEKD.js +2 -0
- package/dist/cli/chunks/protocol-executor-AD345XRO.js +2 -0
- package/dist/cli/chunks/{protocol-handler-WNODKPGW.js → protocol-handler-JU5C4JHY.js} +2 -2
- package/dist/cli/chunks/{prove-5RHAEPYZ.js → prove-35VOSLYP.js} +2 -2
- package/dist/cli/chunks/qe-reasoning-bank-NLTP26RC.js +2 -0
- package/dist/cli/chunks/{quality-WPHR7BGQ.js → quality-ET74X7HN.js} +2 -2
- package/dist/cli/chunks/{quality-gate-4RKTEZMX.js → quality-gate-FEDQISNB.js} +3 -3
- package/dist/cli/chunks/queen-coordinator-2TB4FWS6.js +2 -0
- package/dist/cli/chunks/real-embeddings-II6CXTCI.js +2 -0
- package/dist/cli/chunks/{ref-validation-TPAWHOHH.js → ref-validation-DTBPYCEB.js} +2 -2
- package/dist/cli/chunks/{roocode-installer-7AVHFNDI.js → roocode-installer-LYQEMR4J.js} +2 -2
- package/dist/cli/chunks/router-PLM3MWME.js +2 -0
- package/dist/cli/chunks/routing-feedback-I7VOX2HU.js +2 -0
- package/dist/cli/chunks/{routing-handler-YKEDVJSH.js → routing-handler-DJOJFPII.js} +2 -2
- package/dist/cli/chunks/{ruvector-commands-JUAMM354.js → ruvector-commands-VXYGJDPW.js} +2 -2
- package/dist/cli/chunks/rvf-dual-writer-GQZHFWO2.js +2 -0
- package/dist/cli/chunks/rvf-migration-adapter-3TVKBCAM.js +2 -0
- package/dist/cli/chunks/rvf-migration-coordinator-XUHKLMT6.js +2 -0
- package/dist/cli/chunks/rvf-native-adapter-5GUTYOWS.js +2 -0
- package/dist/cli/chunks/{rvf-store-integrity-VJDUIRTX.js → rvf-store-integrity-GA2ZYOEG.js} +2 -2
- package/dist/cli/chunks/safe-db-RZPQGLGQ.js +2 -0
- package/dist/cli/chunks/schedule-G7JMQDUX.js +2 -0
- package/dist/cli/chunks/scheduler-4SEGPCKD.js +2 -0
- package/dist/cli/chunks/{security-ORDN3RD2.js → security-MM6YOECX.js} +3 -3
- package/dist/cli/chunks/{shared-rvf-adapter-CF4BCIO7.js → shared-rvf-adapter-6AHPA3V5.js} +2 -2
- package/dist/cli/chunks/{shared-rvf-dual-writer-C32UBR6D.js → shared-rvf-dual-writer-EYAVY2GZ.js} +2 -2
- package/dist/cli/chunks/sqlite-persistence-IVE4SQXR.js +2 -0
- package/dist/cli/chunks/{standalone-memory-OXRJYZXN.js → standalone-memory-A3PLB4CZ.js} +2 -2
- package/dist/cli/chunks/{status-handler-BCX5D4HY.js → status-handler-OSSFAP4Z.js} +2 -2
- package/dist/cli/chunks/{structural-health-LFG7RUU6.js → structural-health-PGY5XUNO.js} +2 -2
- package/dist/cli/chunks/{sync-YJEE2K2L.js → sync-CWEHYGNN.js} +2 -2
- package/dist/cli/chunks/sync-PM6D7EQF.js +2 -0
- package/dist/cli/chunks/{task-handler-6LXKPTXJ.js → task-handler-LHMQ75W4.js} +2 -2
- package/dist/cli/chunks/{task-handlers-CILP36I7.js → task-handlers-S2TX5FTR.js} +3 -3
- package/dist/cli/chunks/test-4EGZZ6NJ.js +34 -0
- package/dist/cli/chunks/test-runner-process-72YACW6M.js +2 -0
- package/dist/cli/chunks/{test-scheduling-ISI2O4Q5.js → test-scheduling-YJQHH3XE.js} +3 -3
- package/dist/cli/chunks/{token-bootstrap-VUELSBOS.js → token-bootstrap-DJNETMVW.js} +2 -2
- package/dist/cli/chunks/{token-usage-XOC5KG7S.js → token-usage-WPNOJR6H.js} +2 -2
- package/dist/cli/chunks/{transformers-LSLQAARK.js → transformers-4MRPXCPU.js} +2 -2
- package/dist/cli/chunks/tree-sitter-wasm-parser-UVWSDXFR.js +2 -0
- package/dist/cli/chunks/{types-5BLCGLCR.js → types-6P5FB4EB.js} +2 -2
- package/dist/cli/chunks/unified-memory-2VMGSGQL.js +2 -0
- package/dist/cli/chunks/unified-memory-hnsw-3KULVD3N.js +2 -0
- package/dist/cli/chunks/unified-persistence-QCSLU2SV.js +2 -0
- package/dist/cli/chunks/{upgrade-RQJYLK3J.js → upgrade-4ICTN63Y.js} +2 -2
- package/dist/cli/chunks/{validate-QBHWXXCK.js → validate-HQF5GZ7L.js} +2 -2
- package/dist/cli/chunks/{validate-swarm-IKXBKFB5.js → validate-swarm-45JYG7VW.js} +2 -2
- package/dist/cli/chunks/visual-security-ZYP2KPH7.js +2 -0
- package/dist/cli/chunks/{web-tree-sitter-ZF6FIE5R.js → web-tree-sitter-UOTWZLNH.js} +2 -2
- package/dist/cli/chunks/{windsurf-installer-HQGDZT5D.js → windsurf-installer-WDWSBXGN.js} +2 -2
- package/dist/cli/chunks/witness-chain-5QRT7EMX.js +2 -0
- package/dist/cli/chunks/{witness-chain-DCHCAMSQ.js → witness-chain-DOYMNPC7.js} +2 -2
- package/dist/cli/chunks/{witness-chain-repair-PUX2NFDL.js → witness-chain-repair-CUF2AFQB.js} +2 -2
- package/dist/cli/chunks/{witness-chain-verifier-PX2OQ6XT.js → witness-chain-verifier-JB42X62J.js} +2 -2
- package/dist/cli/chunks/{witness-key-manager-RXYQNFJB.js → witness-key-manager-LXXO6L2G.js} +2 -2
- package/dist/cli/chunks/{workflow-FBKCA4H6.js → workflow-6ARK47NF.js} +4 -4
- package/dist/cli/chunks/workflow-orchestrator-RYDDWIXN.js +2 -0
- package/dist/cli/chunks/{wrappers-TWSKBTWD.js → wrappers-CYQBOMPL.js} +2 -2
- package/dist/cli/commands/test.js +26 -4
- package/dist/coordination/handlers/test-execution-handlers.js +64 -20
- package/dist/domains/code-intelligence/services/semantic-analyzer.d.ts +8 -3
- package/dist/domains/code-intelligence/services/semantic-analyzer.js +39 -25
- package/dist/domains/code-intelligence/services/text-relevance.d.ts +32 -0
- package/dist/domains/code-intelligence/services/text-relevance.js +63 -0
- package/dist/domains/test-execution/coordinator.d.ts +3 -1
- package/dist/domains/test-execution/coordinator.js +13 -4
- package/dist/domains/test-execution/interfaces.d.ts +5 -0
- package/dist/domains/test-execution/plugin.js +2 -0
- package/dist/domains/test-execution/services/flaky-detector.d.ts +9 -1
- package/dist/domains/test-execution/services/flaky-detector.js +26 -8
- package/dist/domains/test-execution/services/retry-handler.d.ts +7 -1
- package/dist/domains/test-execution/services/retry-handler.js +44 -5
- package/dist/domains/test-execution/services/runner-test-cases.d.ts +2 -0
- package/dist/domains/test-execution/services/runner-test-cases.js +7 -3
- package/dist/domains/test-execution/services/test-executor.d.ts +5 -1
- package/dist/domains/test-execution/services/test-executor.js +79 -15
- package/dist/init/copilot-installer.d.ts +6 -0
- package/dist/init/copilot-installer.js +37 -17
- package/dist/init/platform-config-generator.d.ts +10 -0
- package/dist/init/platform-config-generator.js +26 -1
- package/dist/kernel/unified-memory.d.ts +8 -0
- package/dist/kernel/unified-memory.js +13 -0
- package/dist/learning/embedder-endpoint-client.d.ts +45 -0
- package/dist/learning/embedder-endpoint-client.js +98 -3
- package/dist/learning/embedding-space-registry.d.ts +75 -0
- package/dist/learning/embedding-space-registry.js +142 -0
- package/dist/learning/real-embeddings.d.ts +3 -0
- package/dist/learning/real-embeddings.js +49 -11
- package/dist/mcp/bundle.js +564 -555
- package/dist/mcp/protocol-server.js +1 -1
- package/dist/shared/embeddings/index.d.ts +2 -2
- package/dist/shared/embeddings/index.js +1 -1
- package/dist/shared/embeddings/nomic-embedder.d.ts +8 -2
- package/dist/shared/embeddings/nomic-embedder.js +19 -11
- package/dist/shared/embeddings/ollama-client.d.ts +28 -2
- package/dist/shared/embeddings/ollama-client.js +84 -22
- package/dist/shared/embeddings/types.d.ts +15 -0
- package/dist/shared/embeddings/types.js +4 -0
- package/dist/shared/pytest-junit-report.d.ts +93 -0
- package/dist/shared/pytest-junit-report.js +241 -0
- package/dist/shared/test-runner-project.d.ts +51 -1
- package/dist/shared/test-runner-project.js +140 -25
- package/package.json +1 -1
- package/dist/cli/chunks/adapter-6CQ2PIP5.js +0 -2
- package/dist/cli/chunks/aqe-learning-engine-73RR52VS.js +0 -2
- package/dist/cli/chunks/base-SMCMMVGP.js +0 -2
- package/dist/cli/chunks/browser-workflow-A2MEZ66K.js +0 -2
- package/dist/cli/chunks/chunk-EGYE5UPQ.js +0 -2
- package/dist/cli/chunks/chunk-KL7OKSU2.js +0 -4
- package/dist/cli/chunks/chunk-M4FRQ4TE.js +0 -12
- package/dist/cli/chunks/chunk-UE5ZOZR2.js +0 -2
- package/dist/cli/chunks/client-MHQRTZM4.js +0 -2
- package/dist/cli/chunks/copilot-installer-IGJ6KGQY.js +0 -3
- package/dist/cli/chunks/core-handlers-UAK3LLJE.js +0 -2
- package/dist/cli/chunks/cross-domain-router-WTRZQPNQ.js +0 -2
- package/dist/cli/chunks/dream-EJY24JN6.js +0 -2
- package/dist/cli/chunks/embed-and-insert-pattern-COG4C7ZI.js +0 -3
- package/dist/cli/chunks/file-discovery-UZSFSS4V.js +0 -2
- package/dist/cli/chunks/heartbeat-scheduler-NVR356I7.js +0 -2
- package/dist/cli/chunks/hnsw-adapter-LFMPLUJU.js +0 -2
- package/dist/cli/chunks/hnsw-index-POCPMVJH.js +0 -2
- package/dist/cli/chunks/hybrid-backend-4STAO7CV.js +0 -2
- package/dist/cli/chunks/impact-analyzer-3VIIISBQ.js +0 -2
- package/dist/cli/chunks/init-wizard-PL6QN6RQ.js +0 -2
- package/dist/cli/chunks/kernel-CCDWT7KS.js +0 -2
- package/dist/cli/chunks/knowledge-graph-KFOMEN3H.js +0 -2
- package/dist/cli/chunks/llm-router-service-7NBE2EX6.js +0 -2
- package/dist/cli/chunks/load-test-UNZUWY3F.js +0 -2
- package/dist/cli/chunks/memory-backend-DFGKWA2Q.js +0 -2
- package/dist/cli/chunks/memory-handlers-MP426XRJ.js +0 -2
- package/dist/cli/chunks/pattern-null-store-SSVF5TE5.js +0 -2
- package/dist/cli/chunks/project-root-BEANNYWU.js +0 -2
- package/dist/cli/chunks/protocol-executor-FQVIHXZ7.js +0 -2
- package/dist/cli/chunks/qe-reasoning-bank-5TFYSE24.js +0 -2
- package/dist/cli/chunks/queen-coordinator-Y2OUL7IN.js +0 -2
- package/dist/cli/chunks/real-embeddings-OXLYU7JW.js +0 -2
- package/dist/cli/chunks/router-EP34O3KB.js +0 -2
- package/dist/cli/chunks/routing-feedback-FJCRKXNG.js +0 -2
- package/dist/cli/chunks/rvf-dual-writer-ILITJSFG.js +0 -2
- package/dist/cli/chunks/rvf-migration-adapter-XF6W4C2N.js +0 -2
- package/dist/cli/chunks/rvf-migration-coordinator-CMKG56AR.js +0 -2
- package/dist/cli/chunks/rvf-native-adapter-7YFW6S4Y.js +0 -2
- package/dist/cli/chunks/safe-db-TCAU4FUT.js +0 -2
- package/dist/cli/chunks/schedule-NB5KV435.js +0 -2
- package/dist/cli/chunks/scheduler-JKXGKVK6.js +0 -2
- package/dist/cli/chunks/sqlite-persistence-IXCNZRTW.js +0 -2
- package/dist/cli/chunks/sync-OSF7C2NL.js +0 -2
- package/dist/cli/chunks/test-SD457QJ6.js +0 -34
- package/dist/cli/chunks/test-runner-process-VKD65QQU.js +0 -2
- package/dist/cli/chunks/tree-sitter-wasm-parser-YAIPHRIL.js +0 -2
- package/dist/cli/chunks/unified-memory-GI76TXFV.js +0 -2
- package/dist/cli/chunks/unified-memory-hnsw-GXJ5BTZO.js +0 -2
- package/dist/cli/chunks/unified-persistence-OP7FDQPD.js +0 -2
- package/dist/cli/chunks/visual-security-GZ2MOKWB.js +0 -2
- package/dist/cli/chunks/witness-chain-P3XXXA62.js +0 -2
- package/dist/cli/chunks/workflow-orchestrator-P2APAJAA.js +0 -2
|
@@ -897,7 +897,7 @@ export class MCPProtocolServer {
|
|
|
897
897
|
parameters: [
|
|
898
898
|
{ name: 'testFiles', type: 'array', description: 'Nonempty list of concrete test file paths (relative to the project working directory or absolute). Expand glob patterns before calling; glob patterns are rejected.', items: { type: 'string' } },
|
|
899
899
|
{ name: 'parallel', type: 'boolean', description: 'Enable parallel execution', default: true },
|
|
900
|
-
{ name: 'projectRoot', type: 'string', description: 'Optional directory inside the project to run every test file from (for example a monorepo package with its own vitest/jest config); relative testFiles are then relative to it. When omitted, each test file runs from its nearest directory with a vitest/jest config, never above the project root. Paths outside the project, including through symlinks, are rejected.' },
|
|
900
|
+
{ name: 'projectRoot', type: 'string', description: 'Optional directory inside the project to run every test file from (for example a monorepo package with its own vitest/jest config); relative testFiles are then relative to it. When omitted, each test file runs from its nearest directory with a vitest/jest config, never above the project root, even when a root config also lists that package in its projects. Either way the runner (jest or vitest) is the one the config of that directory sets up. Python test files (*.py) run with pytest (`python -m pytest`, or the interpreter in AQE_PYTHON) from their nearest pytest config (pytest.ini, pyproject.toml, setup.cfg, tox.ini). Paths outside the project, including through symlinks, are rejected.' },
|
|
901
901
|
saveResultsParameter('test_execute_parallel'),
|
|
902
902
|
],
|
|
903
903
|
},
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
*/
|
|
29
29
|
export { NomicEmbedder, createNomicEmbedder } from './nomic-embedder';
|
|
30
30
|
export type { NomicEmbedderConfig } from './nomic-embedder';
|
|
31
|
-
export { OllamaClient } from './ollama-client';
|
|
31
|
+
export { OllamaClient, isConfiguredOllamaModel } from './ollama-client';
|
|
32
32
|
export { EmbeddingCache } from './embedding-cache';
|
|
33
|
-
export type { CodeChunk, EmbeddingResult, EmbeddingBatchResult, OllamaEmbeddingRequest, OllamaEmbeddingResponse, OllamaHealthResponse, CacheStats, EmbeddingCacheEntry, BatchProgress, ProgressCallback, IEmbeddingProvider, } from './types';
|
|
33
|
+
export type { CodeChunk, EmbeddingResult, EmbeddingBatchResult, OllamaEmbeddingRequest, OllamaEmbeddingResponse, OllamaHealthResponse, OllamaModelStatus, CacheStats, EmbeddingCacheEntry, BatchProgress, ProgressCallback, IEmbeddingProvider, } from './types';
|
|
34
34
|
export { EMBEDDING_CONFIG } from './types';
|
|
35
35
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
29
|
export { NomicEmbedder, createNomicEmbedder } from './nomic-embedder.js';
|
|
30
|
-
export { OllamaClient } from './ollama-client.js';
|
|
30
|
+
export { OllamaClient, isConfiguredOllamaModel } from './ollama-client.js';
|
|
31
31
|
export { EmbeddingCache } from './embedding-cache.js';
|
|
32
32
|
export { EMBEDDING_CONFIG } from './types.js';
|
|
33
33
|
//# sourceMappingURL=index.js.map
|
|
@@ -11,13 +11,15 @@
|
|
|
11
11
|
* - Error handling and retries
|
|
12
12
|
*/
|
|
13
13
|
import { EmbeddingCache } from './embedding-cache';
|
|
14
|
-
import { CodeChunk, EmbeddingBatchResult, ProgressCallback, CacheStats, IEmbeddingProvider } from './types';
|
|
14
|
+
import { CodeChunk, EmbeddingBatchResult, ProgressCallback, CacheStats, IEmbeddingProvider, OllamaModelStatus } from './types';
|
|
15
15
|
/**
|
|
16
16
|
* Configuration for NomicEmbedder
|
|
17
17
|
*/
|
|
18
18
|
export interface NomicEmbedderConfig {
|
|
19
19
|
/** Ollama base URL (default: http://localhost:11434) */
|
|
20
20
|
ollamaBaseUrl?: string;
|
|
21
|
+
/** #1229: installed Ollama model to use (default: AQE_OLLAMA_EMBEDDING_MODEL, else found by name) */
|
|
22
|
+
ollamaModel?: string;
|
|
21
23
|
/** Batch size for processing (default: 100) */
|
|
22
24
|
batchSize?: number;
|
|
23
25
|
/** Maximum cache size (default: 10000) */
|
|
@@ -100,6 +102,10 @@ export declare class NomicEmbedder implements IEmbeddingProvider {
|
|
|
100
102
|
* Verify Ollama connection and model availability
|
|
101
103
|
*/
|
|
102
104
|
healthCheck(): Promise<boolean>;
|
|
105
|
+
/** #1229: the installed Ollama model, or why there is none. */
|
|
106
|
+
checkModel(): Promise<OllamaModelStatus>;
|
|
107
|
+
/** Identifies the embedding space of this embedder's vectors (ADR-097). */
|
|
108
|
+
getModelId(): string;
|
|
103
109
|
/**
|
|
104
110
|
* Get Ollama server information
|
|
105
111
|
*/
|
|
@@ -112,7 +118,7 @@ export declare class NomicEmbedder implements IEmbeddingProvider {
|
|
|
112
118
|
* Get configuration info
|
|
113
119
|
*/
|
|
114
120
|
getConfig(): {
|
|
115
|
-
model:
|
|
121
|
+
model: string;
|
|
116
122
|
dimensions: 384;
|
|
117
123
|
contextWindow: 8192;
|
|
118
124
|
batchSize: number;
|
|
@@ -17,7 +17,7 @@ import { EMBEDDING_CONFIG, } from './types.js';
|
|
|
17
17
|
const PSEUDO_EMBEDDING_MODEL = 'pseudo-embedding';
|
|
18
18
|
// Unversioned real-model entries may predate fallback provenance separation.
|
|
19
19
|
const VERIFIED_MODEL_CACHE_NAMESPACE = 'verified-backend-v1';
|
|
20
|
-
const cacheNamespace = (model) => model ===
|
|
20
|
+
const cacheNamespace = (model) => model === PSEUDO_EMBEDDING_MODEL ? undefined : VERIFIED_MODEL_CACHE_NAMESPACE;
|
|
21
21
|
/**
|
|
22
22
|
* Nomic Embedder for generating code embeddings via Ollama
|
|
23
23
|
*/
|
|
@@ -45,7 +45,7 @@ export class NomicEmbedder {
|
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
47
|
constructor(config = {}) {
|
|
48
|
-
this.client = new OllamaClient(config.ollamaBaseUrl);
|
|
48
|
+
this.client = new OllamaClient(config.ollamaBaseUrl, undefined, undefined, undefined, config.ollamaModel);
|
|
49
49
|
this.cache = config.cache ?? new EmbeddingCache(config.maxCacheSize);
|
|
50
50
|
this.batchSize = config.batchSize ?? EMBEDDING_CONFIG.BATCH_SIZE;
|
|
51
51
|
this.enableFallback = config.enableFallback ?? true;
|
|
@@ -56,9 +56,9 @@ export class NomicEmbedder {
|
|
|
56
56
|
async embed(text) {
|
|
57
57
|
// Prefer genuine cached vectors, then select the active backend before a
|
|
58
58
|
// single counted lookup so alternate namespaces do not inflate misses.
|
|
59
|
-
let model = this.cache.has(text,
|
|
59
|
+
let model = this.cache.has(text, this.getModelId(), VERIFIED_MODEL_CACHE_NAMESPACE) ||
|
|
60
60
|
await this.isOllamaAvailable() || !this.enableFallback
|
|
61
|
-
?
|
|
61
|
+
? this.getModelId() : PSEUDO_EMBEDDING_MODEL;
|
|
62
62
|
const cached = this.cache.get(text, model, cacheNamespace(model));
|
|
63
63
|
if (cached) {
|
|
64
64
|
return cached;
|
|
@@ -66,7 +66,7 @@ export class NomicEmbedder {
|
|
|
66
66
|
// Try Ollama first, fall back to pseudo-embedding if unavailable
|
|
67
67
|
let embedding;
|
|
68
68
|
if (await this.isOllamaAvailable()) {
|
|
69
|
-
model =
|
|
69
|
+
model = this.getModelId();
|
|
70
70
|
embedding = await this.client.generateEmbedding(text);
|
|
71
71
|
}
|
|
72
72
|
else if (this.enableFallback) {
|
|
@@ -75,7 +75,7 @@ export class NomicEmbedder {
|
|
|
75
75
|
}
|
|
76
76
|
else {
|
|
77
77
|
throw new Error(`Ollama is not available and fallback is disabled. ` +
|
|
78
|
-
`Please run: ollama pull ${EMBEDDING_CONFIG.
|
|
78
|
+
`Please run: ollama pull ${EMBEDDING_CONFIG.OLLAMA_PULL_NAME}`);
|
|
79
79
|
}
|
|
80
80
|
// Cache result
|
|
81
81
|
this.cache.set(text, model, embedding, cacheNamespace(model));
|
|
@@ -137,7 +137,7 @@ export class NomicEmbedder {
|
|
|
137
137
|
}
|
|
138
138
|
else if (!this.enableFallback) {
|
|
139
139
|
throw new Error(`Ollama is not available and fallback is disabled. ` +
|
|
140
|
-
`Please run: ollama pull ${EMBEDDING_CONFIG.
|
|
140
|
+
`Please run: ollama pull ${EMBEDDING_CONFIG.OLLAMA_PULL_NAME}`);
|
|
141
141
|
}
|
|
142
142
|
// Process in batches
|
|
143
143
|
for (let i = 0; i < chunks.length; i += this.batchSize) {
|
|
@@ -191,8 +191,8 @@ export class NomicEmbedder {
|
|
|
191
191
|
const formattedText = this.formatForEmbedding(chunk);
|
|
192
192
|
const chunkStartTime = Date.now();
|
|
193
193
|
// Check cache
|
|
194
|
-
const cachedModel = useOllama || this.cache.has(formattedText,
|
|
195
|
-
?
|
|
194
|
+
const cachedModel = useOllama || this.cache.has(formattedText, this.getModelId(), VERIFIED_MODEL_CACHE_NAMESPACE)
|
|
195
|
+
? this.getModelId() : PSEUDO_EMBEDDING_MODEL;
|
|
196
196
|
const cachedEmbedding = this.cache.get(formattedText, cachedModel, cacheNamespace(cachedModel));
|
|
197
197
|
if (cachedEmbedding) {
|
|
198
198
|
return {
|
|
@@ -213,7 +213,7 @@ export class NomicEmbedder {
|
|
|
213
213
|
embedding = this.generatePseudoEmbedding(formattedText);
|
|
214
214
|
}
|
|
215
215
|
// Cache the result
|
|
216
|
-
const model = useOllama ?
|
|
216
|
+
const model = useOllama ? this.getModelId() : PSEUDO_EMBEDDING_MODEL;
|
|
217
217
|
this.cache.set(formattedText, model, embedding, cacheNamespace(model));
|
|
218
218
|
return {
|
|
219
219
|
chunkId: chunk.id,
|
|
@@ -300,6 +300,14 @@ export class NomicEmbedder {
|
|
|
300
300
|
async healthCheck() {
|
|
301
301
|
return await this.client.healthCheck();
|
|
302
302
|
}
|
|
303
|
+
/** #1229: the installed Ollama model, or why there is none. */
|
|
304
|
+
async checkModel() {
|
|
305
|
+
return await this.client.checkModel();
|
|
306
|
+
}
|
|
307
|
+
/** Identifies the embedding space of this embedder's vectors (ADR-097). */
|
|
308
|
+
getModelId() {
|
|
309
|
+
return this.client.getModelId();
|
|
310
|
+
}
|
|
303
311
|
/**
|
|
304
312
|
* Get Ollama server information
|
|
305
313
|
*/
|
|
@@ -317,7 +325,7 @@ export class NomicEmbedder {
|
|
|
317
325
|
*/
|
|
318
326
|
getConfig() {
|
|
319
327
|
return {
|
|
320
|
-
model:
|
|
328
|
+
model: this.getModelId(),
|
|
321
329
|
dimensions: EMBEDDING_CONFIG.DIMENSIONS,
|
|
322
330
|
contextWindow: EMBEDDING_CONFIG.CONTEXT_WINDOW,
|
|
323
331
|
batchSize: this.batchSize,
|
|
@@ -2,7 +2,16 @@
|
|
|
2
2
|
* Agentic QE v3 - Ollama API Client
|
|
3
3
|
* Client for Ollama embeddings API with retry logic
|
|
4
4
|
*/
|
|
5
|
-
import { OllamaHealthResponse } from './types';
|
|
5
|
+
import { OllamaHealthResponse, OllamaModelStatus } from './types';
|
|
6
|
+
/**
|
|
7
|
+
* #1229: whether an installed Ollama model is EMBEDDING_CONFIG.MODEL. Accepts
|
|
8
|
+
* the exact name with any namespace and tag (`Xenova/all-MiniLM-L6-v2:latest`)
|
|
9
|
+
* and Ollama's library name `all-minilm` with an L6 tag (`all-minilm:22m`).
|
|
10
|
+
* Other models are rejected, even 384-dimensional ones such as
|
|
11
|
+
* `all-minilm:33m` (all-MiniLM-L12-v2): their vectors are in another
|
|
12
|
+
* embedding space (ADR-097).
|
|
13
|
+
*/
|
|
14
|
+
export declare function isConfiguredOllamaModel(listed: string): boolean;
|
|
6
15
|
/**
|
|
7
16
|
* Client for Ollama API
|
|
8
17
|
*/
|
|
@@ -11,11 +20,28 @@ export declare class OllamaClient {
|
|
|
11
20
|
private maxRetries;
|
|
12
21
|
private retryDelayMs;
|
|
13
22
|
private timeoutMs;
|
|
14
|
-
|
|
23
|
+
/** #1229: the Ollama model named by the user (AQE_OLLAMA_EMBEDDING_MODEL), if any. */
|
|
24
|
+
private readonly requestedModel?;
|
|
25
|
+
/** The installed Ollama model found by the last successful check. */
|
|
26
|
+
private installedModel;
|
|
27
|
+
constructor(baseUrl?: string, maxRetries?: number, retryDelayMs?: number, timeoutMs?: number, ollamaModel?: string | undefined);
|
|
28
|
+
/** The Ollama server this client talks to. */
|
|
29
|
+
getBaseUrl(): string;
|
|
30
|
+
/**
|
|
31
|
+
* Identifies the embedding space of this client's vectors. A model named by
|
|
32
|
+
* AQE_OLLAMA_EMBEDDING_MODEL that is not EMBEDDING_CONFIG.MODEL gets its own
|
|
33
|
+
* id, so its vectors are never compared with stored MiniLM vectors (ADR-097).
|
|
34
|
+
*/
|
|
35
|
+
getModelId(): string;
|
|
15
36
|
/**
|
|
16
37
|
* Check if Ollama is running and the configured embedding model is available
|
|
17
38
|
*/
|
|
18
39
|
healthCheck(): Promise<boolean>;
|
|
40
|
+
/**
|
|
41
|
+
* #1229: find the installed Ollama model to embed with, or say why there is
|
|
42
|
+
* none (Ollama unreachable, or reachable without the model).
|
|
43
|
+
*/
|
|
44
|
+
checkModel(): Promise<OllamaModelStatus>;
|
|
19
45
|
/**
|
|
20
46
|
* Generate embedding for a single text prompt
|
|
21
47
|
*/
|
|
@@ -5,6 +5,30 @@
|
|
|
5
5
|
import { toError } from '../error-utils.js';
|
|
6
6
|
import { EMBEDDING_CONFIG, } from './types.js';
|
|
7
7
|
import { resolveOllamaBaseUrl } from '../llm/ollama-url.js';
|
|
8
|
+
/** Tags of Ollama's `all-minilm` that are all-MiniLM-L6-v2 (33m / l12-v2 is the L12 model). */
|
|
9
|
+
const ALL_MINILM_L6_TAG = /^(latest|22m(-.*)?|l6-v2(-.*)?)?$/i;
|
|
10
|
+
/** Splits `namespace/name:tag` into the name part and the tag ('' when untagged). */
|
|
11
|
+
function splitTag(listed) {
|
|
12
|
+
const colon = listed.lastIndexOf(':');
|
|
13
|
+
return colon > listed.lastIndexOf('/')
|
|
14
|
+
? { base: listed.slice(0, colon), tag: listed.slice(colon + 1) }
|
|
15
|
+
: { base: listed, tag: '' };
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* #1229: whether an installed Ollama model is EMBEDDING_CONFIG.MODEL. Accepts
|
|
19
|
+
* the exact name with any namespace and tag (`Xenova/all-MiniLM-L6-v2:latest`)
|
|
20
|
+
* and Ollama's library name `all-minilm` with an L6 tag (`all-minilm:22m`).
|
|
21
|
+
* Other models are rejected, even 384-dimensional ones such as
|
|
22
|
+
* `all-minilm:33m` (all-MiniLM-L12-v2): their vectors are in another
|
|
23
|
+
* embedding space (ADR-097).
|
|
24
|
+
*/
|
|
25
|
+
export function isConfiguredOllamaModel(listed) {
|
|
26
|
+
const { base, tag } = splitTag(listed);
|
|
27
|
+
const name = base.slice(base.lastIndexOf('/') + 1).toLowerCase();
|
|
28
|
+
if (name === EMBEDDING_CONFIG.MODEL.toLowerCase())
|
|
29
|
+
return true;
|
|
30
|
+
return base.toLowerCase() === 'all-minilm' && ALL_MINILM_L6_TAG.test(tag);
|
|
31
|
+
}
|
|
8
32
|
/**
|
|
9
33
|
* Client for Ollama API
|
|
10
34
|
*/
|
|
@@ -13,46 +37,85 @@ export class OllamaClient {
|
|
|
13
37
|
maxRetries;
|
|
14
38
|
retryDelayMs;
|
|
15
39
|
timeoutMs;
|
|
16
|
-
|
|
40
|
+
/** #1229: the Ollama model named by the user (AQE_OLLAMA_EMBEDDING_MODEL), if any. */
|
|
41
|
+
requestedModel;
|
|
42
|
+
/** The installed Ollama model found by the last successful check. */
|
|
43
|
+
installedModel = null;
|
|
44
|
+
constructor(baseUrl = resolveOllamaBaseUrl(EMBEDDING_CONFIG.DEFAULT_OLLAMA_URL), maxRetries = EMBEDDING_CONFIG.MAX_RETRIES, retryDelayMs = EMBEDDING_CONFIG.RETRY_DELAY_MS, timeoutMs = EMBEDDING_CONFIG.TIMEOUT_MS, ollamaModel = process.env[EMBEDDING_CONFIG.OLLAMA_MODEL_ENV]) {
|
|
17
45
|
this.baseUrl = baseUrl.replace(/\/$/, ''); // Remove trailing slash
|
|
18
46
|
this.maxRetries = maxRetries;
|
|
19
47
|
this.retryDelayMs = retryDelayMs;
|
|
20
48
|
this.timeoutMs = timeoutMs;
|
|
49
|
+
this.requestedModel = ollamaModel?.trim() || undefined;
|
|
50
|
+
}
|
|
51
|
+
/** The Ollama server this client talks to. */
|
|
52
|
+
getBaseUrl() {
|
|
53
|
+
return this.baseUrl;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Identifies the embedding space of this client's vectors. A model named by
|
|
57
|
+
* AQE_OLLAMA_EMBEDDING_MODEL that is not EMBEDDING_CONFIG.MODEL gets its own
|
|
58
|
+
* id, so its vectors are never compared with stored MiniLM vectors (ADR-097).
|
|
59
|
+
*/
|
|
60
|
+
getModelId() {
|
|
61
|
+
return !this.requestedModel || isConfiguredOllamaModel(this.requestedModel)
|
|
62
|
+
? EMBEDDING_CONFIG.MODEL
|
|
63
|
+
: `ollama:${this.requestedModel}`;
|
|
21
64
|
}
|
|
22
65
|
/**
|
|
23
66
|
* Check if Ollama is running and the configured embedding model is available
|
|
24
67
|
*/
|
|
25
68
|
async healthCheck() {
|
|
69
|
+
return (await this.checkModel()).status === 'available';
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* #1229: find the installed Ollama model to embed with, or say why there is
|
|
73
|
+
* none (Ollama unreachable, or reachable without the model).
|
|
74
|
+
*/
|
|
75
|
+
async checkModel() {
|
|
76
|
+
const wanted = this.requestedModel ?? EMBEDDING_CONFIG.MODEL;
|
|
77
|
+
let data;
|
|
26
78
|
try {
|
|
27
|
-
|
|
79
|
+
data = await this.fetchWithTimeout(`${this.baseUrl}/api/tags`, {
|
|
28
80
|
method: 'GET',
|
|
29
81
|
headers: { 'Content-Type': 'application/json' },
|
|
30
82
|
}, 5000, // Shorter timeout for health check
|
|
31
|
-
async (response) =>
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
const data = await response.json();
|
|
35
|
-
// Check if configured embedding model is available
|
|
36
|
-
// Match the configured model exactly, allowing its existing tag suffix.
|
|
37
|
-
if (data.models) {
|
|
38
|
-
return data.models.some((model) => model.name === EMBEDDING_CONFIG.MODEL ||
|
|
39
|
-
model.name?.startsWith(`${EMBEDDING_CONFIG.MODEL}:`) ||
|
|
40
|
-
model.model === EMBEDDING_CONFIG.MODEL ||
|
|
41
|
-
model.model?.startsWith(`${EMBEDDING_CONFIG.MODEL}:`));
|
|
42
|
-
}
|
|
43
|
-
return false;
|
|
44
|
-
});
|
|
83
|
+
async (response) => response.ok
|
|
84
|
+
? await response.json()
|
|
85
|
+
: { httpStatus: response.status });
|
|
45
86
|
}
|
|
46
87
|
catch {
|
|
47
|
-
return
|
|
88
|
+
return { status: 'unreachable', reason: `Ollama at ${this.baseUrl} is not reachable` };
|
|
48
89
|
}
|
|
90
|
+
if (data && 'httpStatus' in data) {
|
|
91
|
+
return {
|
|
92
|
+
status: 'unreachable',
|
|
93
|
+
reason: `Ollama at ${this.baseUrl} answered HTTP ${data.httpStatus} when listing models`,
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
const requested = this.requestedModel;
|
|
97
|
+
const matches = requested
|
|
98
|
+
? (listed) => listed === requested || (!splitTag(requested).tag && listed === `${requested}:latest`)
|
|
99
|
+
: isConfiguredOllamaModel;
|
|
100
|
+
for (const model of data?.models ?? []) {
|
|
101
|
+
const found = [model.name, model.model].find((listed) => !!listed && matches(listed));
|
|
102
|
+
if (found) {
|
|
103
|
+
this.installedModel = found;
|
|
104
|
+
return { status: 'available', model: found };
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return {
|
|
108
|
+
status: 'missing',
|
|
109
|
+
reason: `model '${wanted}' not installed in Ollama at ${this.baseUrl}; ` +
|
|
110
|
+
`install it with: ollama pull ${requested ?? EMBEDDING_CONFIG.OLLAMA_PULL_NAME}`,
|
|
111
|
+
};
|
|
49
112
|
}
|
|
50
113
|
/**
|
|
51
114
|
* Generate embedding for a single text prompt
|
|
52
115
|
*/
|
|
53
116
|
async generateEmbedding(prompt) {
|
|
54
117
|
const request = {
|
|
55
|
-
model: EMBEDDING_CONFIG.MODEL,
|
|
118
|
+
model: this.installedModel ?? this.requestedModel ?? EMBEDDING_CONFIG.MODEL,
|
|
56
119
|
prompt,
|
|
57
120
|
};
|
|
58
121
|
let lastError = null;
|
|
@@ -133,10 +196,9 @@ export class OllamaClient {
|
|
|
133
196
|
* Verify model is available and throw if not
|
|
134
197
|
*/
|
|
135
198
|
async ensureModelAvailable() {
|
|
136
|
-
const
|
|
137
|
-
if (
|
|
138
|
-
throw new Error(`Ollama model '${EMBEDDING_CONFIG.MODEL}' is not available.
|
|
139
|
-
`Please run: ollama pull ${EMBEDDING_CONFIG.MODEL}`);
|
|
199
|
+
const check = await this.checkModel();
|
|
200
|
+
if (check.status !== 'available') {
|
|
201
|
+
throw new Error(`Ollama model '${this.requestedModel ?? EMBEDDING_CONFIG.MODEL}' is not available: ${check.reason}`);
|
|
140
202
|
}
|
|
141
203
|
}
|
|
142
204
|
}
|
|
@@ -120,6 +120,21 @@ export declare const EMBEDDING_CONFIG: {
|
|
|
120
120
|
readonly TIMEOUT_MS: 30000;
|
|
121
121
|
/** Default Ollama URL */
|
|
122
122
|
readonly DEFAULT_OLLAMA_URL: "http://localhost:11434";
|
|
123
|
+
/** #1229: Ollama library name of MODEL, used in install hints */
|
|
124
|
+
readonly OLLAMA_PULL_NAME: "all-minilm:22m";
|
|
125
|
+
/** #1229: env var naming the installed Ollama model to use for MODEL */
|
|
126
|
+
readonly OLLAMA_MODEL_ENV: "AQE_OLLAMA_EMBEDDING_MODEL";
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* #1229: whether Ollama has the configured embedding model. `reason` says why
|
|
130
|
+
* not: Ollama did not answer, or it answered without the model.
|
|
131
|
+
*/
|
|
132
|
+
export type OllamaModelStatus = {
|
|
133
|
+
status: 'available';
|
|
134
|
+
model: string;
|
|
135
|
+
} | {
|
|
136
|
+
status: 'missing' | 'unreachable';
|
|
137
|
+
reason: string;
|
|
123
138
|
};
|
|
124
139
|
/**
|
|
125
140
|
* Interface for embedding providers
|
|
@@ -22,5 +22,9 @@ export const EMBEDDING_CONFIG = {
|
|
|
22
22
|
TIMEOUT_MS: 30000,
|
|
23
23
|
/** Default Ollama URL */
|
|
24
24
|
DEFAULT_OLLAMA_URL: 'http://localhost:11434',
|
|
25
|
+
/** #1229: Ollama library name of MODEL, used in install hints */
|
|
26
|
+
OLLAMA_PULL_NAME: 'all-minilm:22m',
|
|
27
|
+
/** #1229: env var naming the installed Ollama model to use for MODEL */
|
|
28
|
+
OLLAMA_MODEL_ENV: 'AQE_OLLAMA_EMBEDDING_MODEL',
|
|
25
29
|
};
|
|
26
30
|
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* #1248: running pytest and reading its JUnit XML report.
|
|
3
|
+
*
|
|
4
|
+
* pytest is started as `<python> -m pytest <files> --junitxml=<file>`, with
|
|
5
|
+
* the report in a temporary directory owned by the run, so the result never
|
|
6
|
+
* depends on the console summary. The interpreter is `AQE_PYTHON` when set,
|
|
7
|
+
* otherwise `python` when it is on PATH, otherwise `python3`.
|
|
8
|
+
*
|
|
9
|
+
* The report is read with a small parser for the XML pytest writes (one or
|
|
10
|
+
* more `<testsuite>` elements holding `<testcase>` elements, each with an
|
|
11
|
+
* optional `<failure>`, `<error>` or `<skipped>` child). Counts come from the
|
|
12
|
+
* test cases themselves, so they always match the per-test list. An expected
|
|
13
|
+
* failure (xfail) is reported by pytest as skipped and counted as skipped.
|
|
14
|
+
*
|
|
15
|
+
* A run is only a result when pytest finished its tests: exit code 5 (no
|
|
16
|
+
* tests collected), 2 (interrupted, for example by a collection error),
|
|
17
|
+
* 3 (internal error) and 4 (usage error), or a missing report (pytest not
|
|
18
|
+
* installed for the interpreter), are runner errors, never a pass.
|
|
19
|
+
*/
|
|
20
|
+
import { TestRunnerExecutionError } from './test-runner-verdict.js';
|
|
21
|
+
import { Result } from './types';
|
|
22
|
+
/** True for a Python test file, which only pytest can run. */
|
|
23
|
+
export declare function isPythonTestFile(file: string): boolean;
|
|
24
|
+
/** The Python interpreter that runs pytest. */
|
|
25
|
+
export declare function resolvePythonCommand(env?: NodeJS.ProcessEnv): string;
|
|
26
|
+
/** Environment for a pytest process: no ANSI colour in its output or report. */
|
|
27
|
+
export declare const PYTEST_ENV: Readonly<Record<string, string>>;
|
|
28
|
+
/** Command and arguments that run `targets` (paths or node ids) with pytest. */
|
|
29
|
+
export declare function pytestCommand(targets: readonly string[], reportPath: string, env?: NodeJS.ProcessEnv): {
|
|
30
|
+
command: string;
|
|
31
|
+
args: string[];
|
|
32
|
+
};
|
|
33
|
+
/** A per-run JUnit report location, read back after pytest exits. */
|
|
34
|
+
export interface PytestJunitReport {
|
|
35
|
+
/** Absolute path pytest writes the report to. */
|
|
36
|
+
readonly path: string;
|
|
37
|
+
/** Arguments that point pytest at the report (already in pytestCommand). */
|
|
38
|
+
readonly args: readonly string[];
|
|
39
|
+
/** The report text; undefined when pytest wrote none. Malformed reports throw. */
|
|
40
|
+
read(stdout?: string): string | undefined;
|
|
41
|
+
/** Remove the temporary report directory. Safe to call more than once. */
|
|
42
|
+
cleanup(): void;
|
|
43
|
+
}
|
|
44
|
+
export declare function createPytestJunitReport(): PytestJunitReport;
|
|
45
|
+
export type PytestCaseStatus = 'passed' | 'failed' | 'error' | 'skipped';
|
|
46
|
+
/** One `<testcase>` of a pytest JUnit report. */
|
|
47
|
+
export interface PytestJunitCase {
|
|
48
|
+
classname: string;
|
|
49
|
+
name: string;
|
|
50
|
+
status: PytestCaseStatus;
|
|
51
|
+
/** Duration in milliseconds, when reported. */
|
|
52
|
+
duration?: number;
|
|
53
|
+
/** The failure, error or skip message attribute. */
|
|
54
|
+
message?: string;
|
|
55
|
+
/** The failure or error body (traceback). */
|
|
56
|
+
details?: string;
|
|
57
|
+
}
|
|
58
|
+
/** The test cases of a pytest JUnit XML report, in report order. */
|
|
59
|
+
export declare function parsePytestJunitXml(xml: string): PytestJunitCase[];
|
|
60
|
+
/**
|
|
61
|
+
* The run file a test case belongs to, and its name inside that file
|
|
62
|
+
* (`TestClass::test_name[param]`, the node id without the file). The class
|
|
63
|
+
* name is the module's dotted path relative to pytest's rootdir followed by
|
|
64
|
+
* any classes, so the file is the one whose path ends with the longest
|
|
65
|
+
* leading part of it.
|
|
66
|
+
*/
|
|
67
|
+
export declare function locatePytestCase(testCase: Pick<PytestJunitCase, 'classname' | 'name'>, files: readonly string[]): {
|
|
68
|
+
file: string;
|
|
69
|
+
name: string;
|
|
70
|
+
};
|
|
71
|
+
/** One test of a finished pytest run. */
|
|
72
|
+
export interface PytestTest {
|
|
73
|
+
name: string;
|
|
74
|
+
file: string;
|
|
75
|
+
status: 'passed' | 'failed' | 'skipped';
|
|
76
|
+
duration?: number;
|
|
77
|
+
/** Failure or error text for a failed test. */
|
|
78
|
+
failureMessage?: string;
|
|
79
|
+
}
|
|
80
|
+
export interface PytestRun {
|
|
81
|
+
total: number;
|
|
82
|
+
passed: number;
|
|
83
|
+
failed: number;
|
|
84
|
+
skipped: number;
|
|
85
|
+
tests: PytestTest[];
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* The result of a finished pytest run, or the runner error that kept it from
|
|
89
|
+
* being one. `report` is the JUnit XML text, undefined when pytest wrote none.
|
|
90
|
+
* A test case that errored (in a fixture, say) counts as a failed test.
|
|
91
|
+
*/
|
|
92
|
+
export declare function pytestRunFromReport(report: string | undefined, files: readonly string[], exitCode: number | null, output: string, python?: string): Result<PytestRun, TestRunnerExecutionError>;
|
|
93
|
+
//# sourceMappingURL=pytest-junit-report.d.ts.map
|