agentic-qe 3.15.11 → 3.15.13
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/hooks/aqe-hook.cjs +38 -2
- package/.claude/skills/skills-manifest.json +1 -1
- package/CHANGELOG.md +267 -0
- package/assets/skills/skills-manifest.json +1 -1
- package/dist/cli/bundle.js +6 -6
- package/dist/cli/chunks/adapter-KCQDVYY2.js +2 -0
- package/dist/cli/chunks/{agent-booster-wasm-TIDSQ3ZK.js → agent-booster-wasm-6RRQWMNE.js} +2 -2
- package/dist/cli/chunks/{agent-handler-G3EPBVA7.js → agent-handler-AOH6TV7W.js} +2 -2
- package/dist/cli/chunks/{agent-memory-branch-ARC5C7GW.js → agent-memory-branch-2P54SF5N.js} +2 -2
- package/dist/cli/chunks/aqe-learning-engine-SAQOHSGN.js +2 -0
- package/dist/cli/chunks/{arena-K4I4QDXB.js → arena-NSVFCAF5.js} +2 -2
- package/dist/cli/chunks/{arena-36DTATJV.js → arena-X6MOGQHA.js} +4 -4
- package/dist/cli/chunks/{audit-WQSJSJZF.js → audit-27DJLQNM.js} +3 -3
- package/dist/cli/chunks/base-WCACU3FN.js +2 -0
- package/dist/cli/chunks/{better-sqlite3-BB4K67MT.js → better-sqlite3-BU5GXILS.js} +2 -2
- package/dist/cli/chunks/{brain-handler-CU3GOIU3.js → brain-handler-GTQNHHZS.js} +3 -3
- package/dist/cli/chunks/{branch-enumerator-NJQX7ZNB.js → branch-enumerator-5CLULOCU.js} +2 -2
- package/dist/cli/chunks/{browser-6YJF4FQW.js → browser-R4DMU3LN.js} +2 -2
- package/dist/cli/chunks/browser-workflow-G6IASEAP.js +2 -0
- package/dist/cli/chunks/{chunk-G4FAPO57.js → chunk-2G7TVT6W.js} +2 -2
- package/dist/cli/chunks/{chunk-HDNWSKHA.js → chunk-32ZMWEP3.js} +2 -2
- package/dist/cli/chunks/{chunk-FWSGPE3V.js → chunk-3AN5TNGD.js} +3 -3
- package/dist/cli/chunks/{chunk-X4J73KP3.js → chunk-3LJ7LQMV.js} +1 -1
- package/dist/cli/chunks/{chunk-3RHOPP7A.js → chunk-3QZEGE67.js} +1 -1
- package/dist/cli/chunks/{chunk-RBZCA7SD.js → chunk-3RZV5DGO.js} +2 -2
- package/dist/cli/chunks/{chunk-DDEOZPWJ.js → chunk-3Y2ROSCL.js} +2 -2
- package/dist/cli/chunks/{chunk-LD5CFK53.js → chunk-3Y7TJFHU.js} +2 -2
- package/dist/cli/chunks/{chunk-I36CRDHF.js → chunk-3YNLWPBF.js} +2 -2
- package/dist/cli/chunks/{chunk-ZMC543GI.js → chunk-42J34YG4.js} +2 -2
- package/dist/cli/chunks/{chunk-YNOCQ2SL.js → chunk-4OVC4RIL.js} +1 -1
- package/dist/cli/chunks/{chunk-2KFFEKSI.js → chunk-526QYFJU.js} +2 -2
- package/dist/cli/chunks/{chunk-LBX7M4LW.js → chunk-5FKWCZNF.js} +2 -2
- package/dist/cli/chunks/{chunk-OH5V5EJW.js → chunk-5K26BEYB.js} +2 -2
- package/dist/cli/chunks/{chunk-TCYSBC7Y.js → chunk-5MDERQH3.js} +1 -1
- package/dist/cli/chunks/{chunk-V5AADCBC.js → chunk-5VMAV6T6.js} +1 -1
- package/dist/cli/chunks/{chunk-YBBT3YYG.js → chunk-5ZGM3RMH.js} +1 -1
- package/dist/cli/chunks/{chunk-RTY7VSZB.js → chunk-6KATY3KS.js} +2 -2
- package/dist/cli/chunks/{chunk-LPU6PAJE.js → chunk-6Z7PRBSG.js} +2 -2
- package/dist/cli/chunks/{chunk-6NA3KZZT.js → chunk-72ASBE35.js} +7 -7
- package/dist/cli/chunks/{chunk-GBFUANTC.js → chunk-756CGMEH.js} +1 -1
- package/dist/cli/chunks/{chunk-UTTSH4NH.js → chunk-75RDHBAX.js} +3 -3
- package/dist/cli/chunks/{chunk-XGPTZUKQ.js → chunk-7CMTY45A.js} +2 -2
- package/dist/cli/chunks/{chunk-NC6K7SCQ.js → chunk-7JUC2MVZ.js} +2 -2
- package/dist/cli/chunks/{chunk-RTFKTKSO.js → chunk-7NA7JXNB.js} +2 -2
- package/dist/cli/chunks/{chunk-GWJWSLDA.js → chunk-7PLIEBY7.js} +2 -2
- package/dist/cli/chunks/{chunk-OURITHFV.js → chunk-7YTGHGK4.js} +2 -2
- package/dist/cli/chunks/{chunk-ITL3IN2E.js → chunk-A64JFBWI.js} +2 -2
- package/dist/cli/chunks/{chunk-OHR7C777.js → chunk-AL6FBH3E.js} +2 -2
- package/dist/cli/chunks/{chunk-5N25I53C.js → chunk-AQSVJNEH.js} +2 -2
- package/dist/cli/chunks/{chunk-FL32MTKT.js → chunk-ARJW4I2O.js} +2 -2
- package/dist/cli/chunks/{chunk-ZQHDA4O7.js → chunk-ASQYASNV.js} +1 -1
- package/dist/cli/chunks/{chunk-4HJKQIX5.js → chunk-BEGR4D6N.js} +2 -2
- package/dist/cli/chunks/{chunk-G77MLBDF.js → chunk-BK577VL7.js} +2 -2
- package/dist/cli/chunks/{chunk-NPZOBSAN.js → chunk-BLSLEVDI.js} +2 -2
- package/dist/cli/chunks/{chunk-R5LGV6GZ.js → chunk-BTVEYBW2.js} +2 -2
- package/dist/cli/chunks/{chunk-2CW7VRPH.js → chunk-C6JTLKG7.js} +5 -5
- package/dist/cli/chunks/{chunk-EWPUQCN4.js → chunk-C7JM7CD3.js} +2 -2
- package/dist/cli/chunks/{chunk-325QCVDI.js → chunk-CCMKSHAT.js} +2 -2
- package/dist/cli/chunks/{chunk-V7DA4HAK.js → chunk-CE7B5LU7.js} +1 -1
- package/dist/cli/chunks/{chunk-4RAQ7PJA.js → chunk-CM4LSLKR.js} +2 -2
- package/dist/cli/chunks/chunk-CRWPZT74.js +62 -0
- package/dist/cli/chunks/{chunk-U3LJNNVJ.js → chunk-CT6SAVXQ.js} +2 -2
- package/dist/cli/chunks/chunk-CV77DMDQ.js +2 -0
- package/dist/cli/chunks/{chunk-UMVSWQNB.js → chunk-DFUASIKA.js} +2 -2
- package/dist/cli/chunks/{chunk-KSE5TDM5.js → chunk-DLD7RUZ4.js} +2 -2
- package/dist/cli/chunks/{chunk-4MUBW4RT.js → chunk-DNDL7SOS.js} +2 -2
- package/dist/cli/chunks/{chunk-EJPK7OTR.js → chunk-DVGRPK7A.js} +2 -2
- package/dist/cli/chunks/{chunk-WCVCOT4E.js → chunk-E56B6IDX.js} +2 -2
- package/dist/cli/chunks/{chunk-7HEMJHPP.js → chunk-E7CLYGS7.js} +1 -1
- package/dist/cli/chunks/{chunk-R5GRABPQ.js → chunk-EXGMJFAT.js} +1 -1
- package/dist/cli/chunks/chunk-F3YS57NF.js +21 -0
- package/dist/cli/chunks/{chunk-I4K2HTQU.js → chunk-FZ76G4QJ.js} +1 -1
- package/dist/cli/chunks/{chunk-4UX35V7P.js → chunk-G2Q66Z23.js} +2 -2
- package/dist/cli/chunks/{chunk-KJCIMNHS.js → chunk-G6WDYBLQ.js} +1 -1
- package/dist/cli/chunks/{chunk-VWUZSNVC.js → chunk-G77ERMUD.js} +1 -1
- package/dist/cli/chunks/{chunk-FZHSG75I.js → chunk-GB6HBNH2.js} +2 -2
- package/dist/cli/chunks/{chunk-KDI5JOYZ.js → chunk-GHM6MQNK.js} +2 -2
- package/dist/cli/chunks/{chunk-H7BLYMNU.js → chunk-GHY6Z6KO.js} +5 -5
- package/dist/cli/chunks/{chunk-TFW7CCKS.js → chunk-GII6UM3F.js} +1 -1
- package/dist/cli/chunks/{chunk-DOBZPSKE.js → chunk-GU5HNCWI.js} +1 -1
- package/dist/cli/chunks/{chunk-AFFN6E6Q.js → chunk-H4GG2NLO.js} +2 -2
- package/dist/cli/chunks/{chunk-7R5HC56U.js → chunk-H4H2YSFH.js} +1 -1
- package/dist/cli/chunks/{chunk-J4JMCZVA.js → chunk-HD7YIFOI.js} +2 -2
- package/dist/cli/chunks/{chunk-5MTWCCZJ.js → chunk-HOAJUIBQ.js} +2 -2
- package/dist/cli/chunks/{chunk-T5KHJ3J7.js → chunk-HQZGPJYG.js} +2 -2
- package/dist/cli/chunks/{chunk-VEEYL2CZ.js → chunk-HZ5NXFXH.js} +2 -2
- package/dist/cli/chunks/{chunk-LQ4NUC6Q.js → chunk-I3C7JOXC.js} +2 -2
- package/dist/cli/chunks/{chunk-Z2EA7A4Z.js → chunk-IC3TQEOA.js} +1 -1
- package/dist/cli/chunks/{chunk-E44NNCEU.js → chunk-IJUHSJ2U.js} +2 -2
- package/dist/cli/chunks/{chunk-EH2S6AOR.js → chunk-J2ZIFFM6.js} +2 -2
- package/dist/cli/chunks/{chunk-GVKVJJQX.js → chunk-JGZ722G3.js} +2 -2
- package/dist/cli/chunks/{chunk-EK5GMOSO.js → chunk-JQGMW45H.js} +1 -1
- package/dist/cli/chunks/{chunk-XGBU3KEM.js → chunk-JRRXCODW.js} +2 -2
- package/dist/cli/chunks/{chunk-5WYZHDIZ.js → chunk-K3TLLJMX.js} +1 -1
- package/dist/cli/chunks/{chunk-LXQ3B4RY.js → chunk-K4CZA77U.js} +2 -2
- package/dist/cli/chunks/chunk-K65CGKLD.js +8 -0
- package/dist/cli/chunks/{chunk-HFFPYC4G.js → chunk-KADFXPPN.js} +2 -2
- package/dist/cli/chunks/{chunk-APPZATXA.js → chunk-KB56CPU4.js} +2 -2
- package/dist/cli/chunks/{chunk-25P77WA5.js → chunk-KCW47QR5.js} +1 -1
- package/dist/cli/chunks/{chunk-WM3SRRA6.js → chunk-KDNJ4F3P.js} +2 -2
- package/dist/cli/chunks/{chunk-5ERFHEEE.js → chunk-KDVZND5Q.js} +1 -1
- package/dist/cli/chunks/{chunk-YOCULVHR.js → chunk-KUAKV3IW.js} +1 -1
- package/dist/cli/chunks/{chunk-M5XYIQYZ.js → chunk-KV4T4MXK.js} +2 -2
- package/dist/cli/chunks/{chunk-MIK4RBEH.js → chunk-KWYH3FI4.js} +1 -1
- package/dist/cli/chunks/{chunk-UKKYMW3S.js → chunk-LFJALJOA.js} +2 -2
- package/dist/cli/chunks/{chunk-K7V2WZNF.js → chunk-LL7LDPXS.js} +1 -1
- package/dist/cli/chunks/{chunk-55CH76ZO.js → chunk-LUZNKJE6.js} +3 -3
- package/dist/cli/chunks/{chunk-OV5RPLKV.js → chunk-LWR3FV3Y.js} +2 -2
- package/dist/cli/chunks/{chunk-SMVVAVN2.js → chunk-LZYQHVD4.js} +2 -2
- package/dist/cli/chunks/{chunk-672XOJDG.js → chunk-M6AAGIG7.js} +1 -1
- package/dist/cli/chunks/{chunk-WCAVIJ64.js → chunk-MAMQA43L.js} +1 -1
- package/dist/cli/chunks/chunk-MB46UBGY.js +3 -0
- package/dist/cli/chunks/{chunk-AP3ADWDK.js → chunk-MFW5HSG4.js} +2 -2
- package/dist/cli/chunks/{chunk-NKTWKYHB.js → chunk-MGZ5FJUW.js} +2 -2
- package/dist/cli/chunks/{chunk-ERN43HOX.js → chunk-MVVB7C2E.js} +410 -410
- package/dist/cli/chunks/{chunk-57LNKSW7.js → chunk-N4CYAKOX.js} +2 -2
- package/dist/cli/chunks/chunk-NT4DBXSX.js +2 -0
- package/dist/cli/chunks/{chunk-BZPE3LDO.js → chunk-NU3W5WFT.js} +2 -2
- package/dist/cli/chunks/chunk-NURIILUB.js +2 -0
- package/dist/cli/chunks/{chunk-ITPGWGQS.js → chunk-NW7IBHJA.js} +4 -4
- package/dist/cli/chunks/{chunk-OD5D4LSZ.js → chunk-NZ3GUMB2.js} +2 -2
- package/dist/cli/chunks/{chunk-35M2X3C5.js → chunk-NZD4DPSU.js} +2 -2
- package/dist/cli/chunks/{chunk-EIDJNT5C.js → chunk-O6FGXMHD.js} +1 -1
- package/dist/cli/chunks/{chunk-OYJC3YON.js → chunk-OCAEXYFA.js} +2 -2
- package/dist/cli/chunks/{chunk-Y7B5EUIJ.js → chunk-OFACHK5O.js} +2 -2
- package/dist/cli/chunks/{chunk-5MNASJOH.js → chunk-P7A4NKTZ.js} +2 -2
- package/dist/cli/chunks/{chunk-M7XFBSIK.js → chunk-PB6J6HAA.js} +2 -2
- package/dist/cli/chunks/{chunk-5HQP4SLM.js → chunk-PHP5UBT4.js} +2 -2
- package/dist/cli/chunks/{chunk-KXS3Y2AX.js → chunk-PIDQVU3L.js} +2 -2
- package/dist/cli/chunks/{chunk-4UBVAJFO.js → chunk-PSFSPGUD.js} +2 -2
- package/dist/cli/chunks/chunk-PT4FMJPQ.js +3 -0
- package/dist/cli/chunks/{chunk-HDJUYAZG.js → chunk-Q3UDLV5Z.js} +1 -1
- package/dist/cli/chunks/{chunk-CIAL4YRY.js → chunk-QDEJ4CI2.js} +2 -2
- package/dist/cli/chunks/{chunk-S6IYEBAI.js → chunk-QPNG5ZN2.js} +2 -2
- package/dist/cli/chunks/{chunk-YPX2TV3M.js → chunk-R7SYRCRP.js} +1 -1
- package/dist/cli/chunks/{chunk-XNLIWQYE.js → chunk-RF7HWBHN.js} +2 -2
- package/dist/cli/chunks/{chunk-5YLOLACR.js → chunk-RFNW2LGD.js} +2 -2
- package/dist/cli/chunks/{chunk-2VLYUF7U.js → chunk-S5AZCIZS.js} +2 -2
- package/dist/cli/chunks/{chunk-ETVAYGCB.js → chunk-SE4VNN4I.js} +3 -3
- package/dist/cli/chunks/{chunk-E6PF35JZ.js → chunk-SG3NX7QE.js} +2 -2
- package/dist/cli/chunks/{chunk-VYTILW4R.js → chunk-SSU73QAX.js} +2 -2
- package/dist/cli/chunks/{chunk-ZP75ASUU.js → chunk-SVLQRAMF.js} +1 -1
- package/dist/cli/chunks/{chunk-JGJXXAS6.js → chunk-SYV2V3PL.js} +4 -4
- package/dist/cli/chunks/{chunk-4RH5I24Q.js → chunk-T3PGQFDI.js} +2 -2
- package/dist/cli/chunks/{chunk-O4JAKWWM.js → chunk-TCBBNUBP.js} +17 -17
- package/dist/cli/chunks/{chunk-QDESWOZP.js → chunk-TOQWL2ZF.js} +2 -2
- package/dist/cli/chunks/{chunk-NTB342NJ.js → chunk-TSQC2KKZ.js} +4 -4
- package/dist/cli/chunks/{chunk-NQZNMCZU.js → chunk-TWDW32W2.js} +2 -2
- package/dist/cli/chunks/{chunk-CO3DX2AX.js → chunk-TWJTK4CC.js} +2 -2
- package/dist/cli/chunks/{chunk-FUYOOKTH.js → chunk-U2FUXDDJ.js} +3 -3
- package/dist/cli/chunks/{chunk-XDI5X3FR.js → chunk-UDQSYWVF.js} +1 -1
- package/dist/cli/chunks/chunk-UOC3O6RP.js +5 -0
- package/dist/cli/chunks/chunk-UT2VZ33P.js +2 -0
- package/dist/cli/chunks/{chunk-IOZRKXR5.js → chunk-UTRV7T2N.js} +2 -2
- package/dist/cli/chunks/{chunk-ZMHCMJ4J.js → chunk-UXZSUMEA.js} +2 -2
- package/dist/cli/chunks/{chunk-G4CKPWF6.js → chunk-VRHRBAEM.js} +1 -1
- package/dist/cli/chunks/{chunk-AUUJBXWX.js → chunk-VRVMIPTM.js} +2 -2
- package/dist/cli/chunks/{chunk-IENZSO3K.js → chunk-VTDFVFST.js} +2 -2
- package/dist/cli/chunks/{chunk-JFLU7L3W.js → chunk-VTOBUZL6.js} +2 -2
- package/dist/cli/chunks/{chunk-KKYO2NKV.js → chunk-VU5TBX2V.js} +2 -2
- package/dist/cli/chunks/{chunk-XS2XF3YG.js → chunk-W26B7ERY.js} +1 -1
- package/dist/cli/chunks/{chunk-DOFREOPQ.js → chunk-W2QWSQVE.js} +2 -2
- package/dist/cli/chunks/{chunk-KSLLHFVY.js → chunk-W3INMZZ6.js} +1 -1
- package/dist/cli/chunks/{chunk-FLU5FDSC.js → chunk-W3PPFHI5.js} +59 -59
- package/dist/cli/chunks/chunk-WKGTGOYS.js +13 -0
- package/dist/cli/chunks/{chunk-4X4MWMHB.js → chunk-WNQS4WTS.js} +2 -2
- package/dist/cli/chunks/{chunk-XJKZ7FTR.js → chunk-WO274FRI.js} +2 -2
- package/dist/cli/chunks/{chunk-76SNL7GU.js → chunk-WOCGL4QP.js} +2 -2
- package/dist/cli/chunks/{chunk-HYXUN7BW.js → chunk-WQL7WCIZ.js} +1 -1
- package/dist/cli/chunks/{chunk-BTVWA35P.js → chunk-X2Z7F4EU.js} +2 -2
- package/dist/cli/chunks/{chunk-VBK2YAYY.js → chunk-X7N2JF2X.js} +2 -2
- package/dist/cli/chunks/{chunk-NT7JRHMH.js → chunk-XEAEYC6Y.js} +1 -1
- package/dist/cli/chunks/{chunk-G2IJFNZS.js → chunk-XNBOGCF3.js} +2 -2
- package/dist/cli/chunks/{chunk-LCVEEII4.js → chunk-XPRVF4YE.js} +2 -2
- package/dist/cli/chunks/{chunk-AMZKAJLJ.js → chunk-YBQH2VOP.js} +2 -2
- package/dist/cli/chunks/{chunk-JUMICXM6.js → chunk-YQFLQE53.js} +2 -2
- package/dist/cli/chunks/{chunk-M5RQ6U3G.js → chunk-YSZ5OE3Z.js} +2 -2
- package/dist/cli/chunks/{chunk-RQMCZQN2.js → chunk-YXRASAPI.js} +2 -2
- package/dist/cli/chunks/{chunk-X3PZCXWG.js → chunk-YZEXYO4W.js} +1 -1
- package/dist/cli/chunks/{chunk-TL6OFMXF.js → chunk-YZWBNBTW.js} +2 -2
- package/dist/cli/chunks/{chunk-CFWGGRE7.js → chunk-ZAKQLAHT.js} +1 -1
- package/dist/cli/chunks/ci-ENOASTYB.js +81 -0
- package/dist/cli/chunks/{ci-config-J665XNOX.js → ci-config-B26OXHQM.js} +2 -2
- package/dist/cli/chunks/{ci-output-PEQQQWVD.js → ci-output-JTCLLNOQ.js} +2 -2
- package/dist/cli/chunks/{circuit-breaker-HHB2JSKH.js → circuit-breaker-23JMFNM5.js} +2 -2
- package/dist/cli/chunks/{claude-flow-setup-JKUJRWPN.js → claude-flow-setup-ON6L462G.js} +2 -2
- package/dist/cli/chunks/client-TV3V2YZ5.js +2 -0
- package/dist/cli/chunks/{cline-installer-Y77BWTAN.js → cline-installer-OWQ4D2FQ.js} +2 -2
- package/dist/cli/chunks/{code-LV2HAGJY.js → code-2ZRL7SEU.js} +19 -18
- package/dist/cli/chunks/{code-index-extractor-4GKKSETB.js → code-index-extractor-JXSQVM67.js} +2 -2
- package/dist/cli/chunks/{codex-installer-WMKBYE5Y.js → codex-installer-7LXZYBSQ.js} +2 -2
- package/dist/cli/chunks/{completions-SBGFAOIJ.js → completions-C2LR623C.js} +2 -2
- package/dist/cli/chunks/{complexity-analyzer-AQHFIJXC.js → complexity-analyzer-TGQLHCYJ.js} +2 -2
- package/dist/cli/chunks/{continuedev-installer-26AYFS2E.js → continuedev-installer-RUGD24D2.js} +2 -2
- package/dist/cli/chunks/{copilot-installer-4UD3DK55.js → copilot-installer-ZLFVLEJP.js} +2 -2
- package/dist/cli/chunks/core-handlers-PZT4OLWR.js +2 -0
- package/dist/cli/chunks/{cost-tracker-TP4NZCG4.js → cost-tracker-RT4QL745.js} +2 -2
- package/dist/cli/chunks/{coverage-B2KIXHAI.js → coverage-NV3C4IMM.js} +11 -10
- package/dist/cli/chunks/cross-domain-router-QOFCZ7G4.js +2 -0
- package/dist/cli/chunks/{cursor-installer-AVZEQZ4W.js → cursor-installer-LJKLNFF6.js} +2 -2
- package/dist/cli/chunks/{daemon-XM2A7LQU.js → daemon-BMDXCQT5.js} +3 -3
- package/dist/cli/chunks/{daemon-P574WWBW.js → daemon-FBH3IRYN.js} +4 -4
- package/dist/cli/chunks/{dag-attention-scheduler-MIWOZ6ET.js → dag-attention-scheduler-JGDED55I.js} +2 -2
- package/dist/cli/chunks/{detect-TYR7HT23.js → detect-SZIHIVCJ.js} +2 -2
- package/dist/cli/chunks/{dist-node-2DGVQGLS.js → dist-node-FV3KWXQ6.js} +2 -2
- package/dist/cli/chunks/{domain-handler-RRA4ZOMF.js → domain-handler-GI5JWQOV.js} +2 -2
- package/dist/cli/chunks/{domain-plugins-IVZEZ5RB.js → domain-plugins-BUWY36TL.js} +2 -2
- package/dist/cli/chunks/domain-transfer-GCY7W5DA.js +2 -0
- package/dist/cli/chunks/dream-TRFBGDSQ.js +2 -0
- package/dist/cli/chunks/{embed-and-insert-pattern-VNIEOVPO.js → embed-and-insert-pattern-GPRR3ZGD.js} +2 -2
- package/dist/cli/chunks/{eval-QV4LVPUF.js → eval-XPB3IGAP.js} +2 -2
- package/dist/cli/chunks/{experience-capture-middleware-DAPKT763.js → experience-capture-middleware-2E554UB3.js} +3 -3
- package/dist/cli/chunks/{fast-paths-WVRFPHX7.js → fast-paths-ZSMWZPUC.js} +2 -2
- package/dist/cli/chunks/{feature-flags-DEFTUIYT.js → feature-flags-GIWVDVVC.js} +2 -2
- package/dist/cli/chunks/{feature-flags-O7ZXDDCD.js → feature-flags-N7EOGE5P.js} +2 -2
- package/dist/cli/chunks/file-discovery-WCKGMSPZ.js +2 -0
- package/dist/cli/chunks/fleet-HCHDOUCX.js +44 -0
- package/dist/cli/chunks/{gnn-wrapper-LS4LZJDR.js → gnn-wrapper-CZNCNXXZ.js} +2 -2
- package/dist/cli/chunks/{heartbeat-handler-RFTERD4K.js → heartbeat-handler-6YUIF2YQ.js} +4 -4
- package/dist/cli/chunks/heartbeat-scheduler-P44A2OX3.js +2 -0
- package/dist/cli/chunks/hnsw-adapter-ZJQIQJKC.js +2 -0
- package/dist/cli/chunks/hnsw-index-HMG2GH3Z.js +2 -0
- package/dist/cli/chunks/{hnsw-legacy-bridge-GPKGFFHY.js → hnsw-legacy-bridge-J3M3IK24.js} +2 -2
- package/dist/cli/chunks/{hnswlib-node-PHL3F2PR.js → hnswlib-node-ULGTGDZW.js} +2 -2
- package/dist/cli/chunks/{hooks-GYJ6D4QM.js → hooks-C4BUGYUQ.js} +28 -28
- package/dist/cli/chunks/hybrid-backend-B7M74PZG.js +2 -0
- package/dist/cli/chunks/{hypergraph-engine-YGEQPCKJ.js → hypergraph-engine-WINGVMPG.js} +2 -2
- package/dist/cli/chunks/{hypergraph-handler-ZIMM647V.js → hypergraph-handler-GADMWKAU.js} +3 -3
- package/dist/cli/chunks/impact-analyzer-PZYOVKQO.js +2 -0
- package/dist/cli/chunks/{init-guard-VOMBXJXG.js → init-guard-K2T4QWAO.js} +2 -2
- package/dist/cli/chunks/{init-handler-PSMUBWK5.js → init-handler-PCZTDZYI.js} +6 -6
- package/dist/cli/chunks/init-wizard-TZDJQK3U.js +2 -0
- package/dist/cli/chunks/kernel-Y6RRIOKW.js +2 -0
- package/dist/cli/chunks/{kilocode-installer-2YNTFBWJ.js → kilocode-installer-XENXNEIU.js} +2 -2
- package/dist/cli/chunks/{kiro-installer-XHJDPVAZ.js → kiro-installer-3PG2TJ67.js} +2 -2
- package/dist/cli/chunks/knowledge-graph-BVD5Z66M.js +2 -0
- package/dist/cli/chunks/{learning-GNSIDRNG.js → learning-6KDH7FK4.js} +3 -3
- package/dist/cli/chunks/{llm-router-LQDM7IU2.js → llm-router-RKVDEWU2.js} +4 -4
- package/dist/cli/chunks/llm-router-service-KHCAMSUU.js +2 -0
- package/dist/cli/chunks/{load-YATHI72E.js → load-ITHC564X.js} +2 -2
- package/dist/cli/chunks/load-test-RUF7DZA5.js +2 -0
- package/dist/cli/chunks/{mcp-4Y6GDLYK.js → mcp-TCL5UW3N.js} +2 -2
- package/dist/cli/chunks/{memory-OUW3L7H2.js → memory-BKDAY2N2.js} +5 -5
- package/dist/cli/chunks/memory-backend-7ZLFOVGG.js +2 -0
- package/dist/cli/chunks/{memory-handlers-G3LFF53U.js → memory-handlers-WN4FXFOA.js} +2 -2
- package/dist/cli/chunks/{multi-model-executor-UBZJXAD2.js → multi-model-executor-VHAT7ZPF.js} +2 -2
- package/dist/cli/chunks/{opencode-installer-AMMNWVH5.js → opencode-installer-E3VM3EEY.js} +2 -2
- package/dist/cli/chunks/{orchestrator-Y44WDOER.js → orchestrator-BMQ6X762.js} +58 -20
- package/dist/cli/chunks/pattern-null-store-RY6CVYHP.js +2 -0
- package/dist/cli/chunks/{pattern-usage-recorder-ESR42RME.js → pattern-usage-recorder-GOOR2BV5.js} +2 -2
- package/dist/cli/chunks/{pipeline-EDTS6OSC.js → pipeline-5NSFQQIX.js} +2 -2
- package/dist/cli/chunks/{platform-5WONJSUX.js → platform-SQM34J5G.js} +2 -2
- package/dist/cli/chunks/{plugin-IJXPCLD4.js → plugin-UQJZRMZG.js} +2 -2
- package/dist/cli/chunks/{prime-radiant-advanced-wasm-5ECKGZK6.js → prime-radiant-advanced-wasm-WMDJOL4S.js} +2 -2
- package/dist/cli/chunks/project-root-IO5KRNGL.js +2 -0
- package/dist/cli/chunks/protocol-executor-U2CUDWDE.js +2 -0
- package/dist/cli/chunks/{protocol-handler-DRD3GVNW.js → protocol-handler-OBDCVY6X.js} +2 -2
- package/dist/cli/chunks/{prove-KTGW2HMJ.js → prove-XDC7I4XT.js} +2 -2
- package/dist/cli/chunks/qe-reasoning-bank-DQSSX2IP.js +2 -0
- package/dist/cli/chunks/{quality-DV2WPRRS.js → quality-L4GQ6WX4.js} +2 -2
- package/dist/cli/chunks/{quality-gate-HFUAFVZC.js → quality-gate-MJG66LKN.js} +3 -3
- package/dist/cli/chunks/queen-coordinator-6FN4BZIX.js +2 -0
- package/dist/cli/chunks/real-embeddings-HW4G2LWL.js +2 -0
- package/dist/cli/chunks/{ref-validation-QWSKS5OY.js → ref-validation-FC7JOJ2C.js} +2 -2
- package/dist/cli/chunks/{roocode-installer-RBAYRCHX.js → roocode-installer-KWS4CEIC.js} +2 -2
- package/dist/cli/chunks/router-YUO3I7RU.js +2 -0
- package/dist/cli/chunks/routing-feedback-36SLQGJE.js +2 -0
- package/dist/cli/chunks/{routing-handler-FMPP3XKO.js → routing-handler-QF4WVB2S.js} +2 -2
- package/dist/cli/chunks/{ruvector-commands-KZZT4HWF.js → ruvector-commands-2MTCOUK6.js} +2 -2
- package/dist/cli/chunks/rvf-dual-writer-FRYZH3WZ.js +2 -0
- package/dist/cli/chunks/rvf-migration-adapter-XXNITL5I.js +2 -0
- package/dist/cli/chunks/{rvf-migration-coordinator-7CHEV35N.js → rvf-migration-coordinator-BREJCXWN.js} +2 -2
- package/dist/cli/chunks/rvf-native-adapter-D2WWKJIV.js +2 -0
- package/dist/cli/chunks/{rvf-store-integrity-Q2TH52SN.js → rvf-store-integrity-KKC6HOJD.js} +2 -2
- package/dist/cli/chunks/safe-db-4RRIGRXD.js +2 -0
- package/dist/cli/chunks/schedule-25RTO4DQ.js +2 -0
- package/dist/cli/chunks/scheduler-BPIOJZ5P.js +2 -0
- package/dist/cli/chunks/{security-CUEA3UIM.js → security-OSAE7VAP.js} +3 -3
- package/dist/cli/chunks/{shared-rvf-adapter-DROMBRV2.js → shared-rvf-adapter-COUOS665.js} +2 -2
- package/dist/cli/chunks/{shared-rvf-dual-writer-DBNABOP7.js → shared-rvf-dual-writer-YXMPZKQE.js} +2 -2
- package/dist/cli/chunks/sqlite-persistence-EDF47DDX.js +2 -0
- package/dist/cli/chunks/{standalone-memory-IAHA3M6B.js → standalone-memory-E6JBMOIL.js} +2 -2
- package/dist/cli/chunks/{status-handler-AFUCASTX.js → status-handler-AFTCIYIX.js} +2 -2
- package/dist/cli/chunks/{structural-health-AQRV6JJ6.js → structural-health-2FROCEI4.js} +2 -2
- package/dist/cli/chunks/{sync-XW5TLZ7M.js → sync-VAYTOWDC.js} +2 -2
- package/dist/cli/chunks/{sync-GX7FMJHL.js → sync-YIQYOFGW.js} +2 -2
- package/dist/cli/chunks/task-handler-KVQHDEX3.js +62 -0
- package/dist/cli/chunks/task-handlers-MVVECQA6.js +9 -0
- package/dist/cli/chunks/{test-D2XDJNDX.js → test-5JSVTOMY.js} +4 -4
- package/dist/cli/chunks/test-runner-process-LEPF2OSS.js +2 -0
- package/dist/cli/chunks/{test-scheduling-TS6I2PR7.js → test-scheduling-HBOHVLI3.js} +3 -3
- package/dist/cli/chunks/{token-bootstrap-HBBLPCZ3.js → token-bootstrap-5VEPTPFA.js} +2 -2
- package/dist/cli/chunks/{token-usage-3MBUX4PR.js → token-usage-TBJHDLY6.js} +2 -2
- package/dist/cli/chunks/{transformers-ZWMQO3L2.js → transformers-VAWYMHMZ.js} +2 -2
- package/dist/cli/chunks/tree-sitter-wasm-parser-TSZTCMFV.js +2 -0
- package/dist/cli/chunks/{types-5YEMGPSQ.js → types-R5SDZU2E.js} +2 -2
- package/dist/cli/chunks/unified-memory-TLGSSLMI.js +2 -0
- package/dist/cli/chunks/unified-memory-hnsw-MSUR7ZOO.js +2 -0
- package/dist/cli/chunks/unified-persistence-VFFOTWK7.js +2 -0
- package/dist/cli/chunks/{upgrade-2TPBKIHI.js → upgrade-K5PIHXRB.js} +2 -2
- package/dist/cli/chunks/{validate-XRAXXFW6.js → validate-RPTS7RYJ.js} +2 -2
- package/dist/cli/chunks/{validate-swarm-IYSCS3BZ.js → validate-swarm-B2ZL556X.js} +2 -2
- package/dist/cli/chunks/visual-security-6Q44XNLB.js +2 -0
- package/dist/cli/chunks/{web-tree-sitter-PZQ3ZG2P.js → web-tree-sitter-K4DUJC32.js} +2 -2
- package/dist/cli/chunks/{windsurf-installer-U6XWFRVT.js → windsurf-installer-OK2AJN35.js} +2 -2
- package/dist/cli/chunks/witness-chain-KDOMXDQX.js +2 -0
- package/dist/cli/chunks/witness-chain-N3OY2RMH.js +2 -0
- package/dist/cli/chunks/{witness-chain-repair-K7YX2AO6.js → witness-chain-repair-L6Y5RFXR.js} +2 -2
- package/dist/cli/chunks/{witness-chain-verifier-GUTC3W7N.js → witness-chain-verifier-N4CW7FZX.js} +2 -2
- package/dist/cli/chunks/{witness-key-manager-YBNKMOP6.js → witness-key-manager-TDNPS3WD.js} +2 -2
- package/dist/cli/chunks/{workflow-UAJUILFQ.js → workflow-XRZA3YCY.js} +4 -4
- package/dist/cli/chunks/workflow-orchestrator-CVNNT2RJ.js +2 -0
- package/dist/cli/chunks/{wrappers-AVZ3GPAL.js → wrappers-5JIFWKN6.js} +2 -2
- package/dist/cli/commands/ci.js +7 -0
- package/dist/cli/commands/code.js +6 -0
- package/dist/cli/commands/coverage.js +7 -1
- package/dist/cli/commands/fleet-run.d.ts +12 -0
- package/dist/cli/commands/fleet-run.js +175 -0
- package/dist/cli/commands/fleet.js +2 -117
- package/dist/cli/commands/hooks-handlers/stats-hooks.d.ts +4 -3
- package/dist/cli/commands/hooks-handlers/stats-hooks.js +22 -4
- package/dist/cli/handlers/task-handler.d.ts +5 -0
- package/dist/cli/handlers/task-handler.js +26 -0
- package/dist/cli/utils/coverage-verdict.d.ts +11 -2
- package/dist/cli/utils/coverage-verdict.js +26 -6
- package/dist/cli/utils/fleet-operation.d.ts +10 -2
- package/dist/cli/utils/fleet-operation.js +20 -3
- package/dist/cli/utils/fleet-result.d.ts +20 -4
- package/dist/cli/utils/fleet-result.js +32 -21
- package/dist/cli/utils/fleet-shard.d.ts +36 -0
- package/dist/cli/utils/fleet-shard.js +110 -0
- package/dist/coordination/handlers/code-intelligence-handlers.js +21 -1
- package/dist/coordination/handlers/coverage-collection.d.ts +2 -0
- package/dist/coordination/handlers/coverage-collection.js +2 -1
- package/dist/coordination/handlers/coverage-evidence.d.ts +75 -0
- package/dist/coordination/handlers/coverage-evidence.js +159 -0
- package/dist/coordination/handlers/coverage-handlers.js +16 -3
- package/dist/coordination/handlers/coverage-scope.d.ts +40 -0
- package/dist/coordination/handlers/coverage-scope.js +321 -0
- package/dist/coordination/handlers/coverage-target.d.ts +9 -0
- package/dist/coordination/handlers/coverage-target.js +15 -5
- package/dist/coordination/handlers/handler-types.d.ts +2 -2
- package/dist/coordination/handlers/handler-utils.d.ts +11 -0
- package/dist/coordination/handlers/handler-utils.js +22 -8
- package/dist/coordination/handlers/misc-handlers.js +5 -2
- package/dist/coordination/handlers/quality-handlers.js +2 -2
- package/dist/coordination/handlers/security-handlers.js +12 -2
- package/dist/coordination/protocols/security-audit.js +11 -1
- package/dist/coordination/task-executor.js +7 -2
- package/dist/domains/code-intelligence/coordinator-gnn.d.ts +2 -16
- package/dist/domains/code-intelligence/coordinator-gnn.js +1 -62
- package/dist/domains/code-intelligence/coordinator.d.ts +12 -6
- package/dist/domains/code-intelligence/coordinator.js +24 -27
- package/dist/domains/code-intelligence/interfaces.d.ts +9 -0
- package/dist/domains/code-intelligence/services/metric-collector/listing-process-owner.js +4 -1
- package/dist/domains/code-intelligence/services/semantic-analyzer.d.ts +51 -5
- package/dist/domains/code-intelligence/services/semantic-analyzer.js +144 -78
- package/dist/domains/coverage-analysis/collected-metrics.d.ts +10 -0
- package/dist/domains/coverage-analysis/collected-metrics.js +29 -0
- package/dist/domains/coverage-analysis/services/coverage-analyzer.js +11 -3
- package/dist/domains/coverage-analysis/services/coverage-parser.d.ts +2 -0
- package/dist/domains/coverage-analysis/services/coverage-parser.js +18 -2
- package/dist/domains/quality-assessment/coherence/gate-controller.js +16 -4
- package/dist/domains/quality-assessment/coherence/lambda-calculator.d.ts +8 -0
- package/dist/domains/quality-assessment/coherence/lambda-calculator.js +57 -14
- package/dist/domains/quality-assessment/coherence/types.d.ts +12 -7
- package/dist/domains/quality-assessment/coordinator-gate-evaluation.js +3 -1
- package/dist/domains/quality-assessment/coordinator-reports.d.ts +30 -10
- package/dist/domains/quality-assessment/coordinator-reports.js +93 -57
- package/dist/domains/quality-assessment/coordinator.d.ts +14 -40
- package/dist/domains/quality-assessment/coordinator.js +10 -4
- package/dist/domains/quality-assessment/interfaces.d.ts +2 -0
- package/dist/domains/quality-assessment/services/coherence-gate.js +15 -2
- package/dist/domains/quality-assessment/services/quality-gate.js +6 -4
- package/dist/domains/security-compliance/index.d.ts +1 -1
- package/dist/domains/security-compliance/interfaces.d.ts +46 -5
- package/dist/domains/security-compliance/services/scanners/dast-auth-testing.d.ts +3 -3
- package/dist/domains/security-compliance/services/scanners/dast-auth-testing.js +15 -14
- package/dist/domains/security-compliance/services/scanners/dast-helpers.d.ts +8 -9
- package/dist/domains/security-compliance/services/scanners/dast-helpers.js +19 -44
- package/dist/domains/security-compliance/services/scanners/dast-injection-testing.d.ts +3 -3
- package/dist/domains/security-compliance/services/scanners/dast-injection-testing.js +13 -9
- package/dist/domains/security-compliance/services/scanners/dast-requests.d.ts +54 -0
- package/dist/domains/security-compliance/services/scanners/dast-requests.js +125 -0
- package/dist/domains/security-compliance/services/scanners/dast-scanner.d.ts +5 -1
- package/dist/domains/security-compliance/services/scanners/dast-scanner.js +125 -155
- package/dist/domains/security-compliance/services/scanners/index.d.ts +1 -1
- package/dist/domains/security-compliance/services/scanners/index.js +1 -1
- package/dist/domains/security-compliance/services/scanners/scanner-types.d.ts +2 -2
- package/dist/domains/security-compliance/services/security-auditor-dast.js +183 -212
- package/dist/domains/security-compliance/services/security-auditor-reports.js +5 -1
- package/dist/domains/security-compliance/services/security-auditor.d.ts +11 -3
- package/dist/domains/security-compliance/services/security-auditor.js +106 -65
- package/dist/domains/test-execution/coordinator.d.ts +2 -1
- package/dist/domains/test-execution/coordinator.js +33 -27
- package/dist/domains/test-execution/interfaces.d.ts +5 -0
- package/dist/domains/test-execution/services/test-executor.d.ts +6 -0
- package/dist/domains/test-execution/services/test-executor.js +16 -4
- package/dist/domains/visual-accessibility/coordinator.js +34 -9
- package/dist/domains/visual-accessibility/interfaces.d.ts +27 -0
- package/dist/domains/visual-accessibility/plugin.js +5 -0
- package/dist/domains/visual-accessibility/services/accessibility-tester-heuristics.d.ts +13 -21
- package/dist/domains/visual-accessibility/services/accessibility-tester-heuristics.js +13 -297
- package/dist/domains/visual-accessibility/services/accessibility-tester.d.ts +13 -5
- package/dist/domains/visual-accessibility/services/accessibility-tester.js +96 -73
- package/dist/init/phases/10-workers.js +42 -4
- package/dist/integrations/agentic-flow/reasoning-bank/experience-replay.d.ts +23 -1
- package/dist/integrations/agentic-flow/reasoning-bank/experience-replay.js +50 -15
- package/dist/integrations/agentic-flow/reasoning-bank/index.d.ts +7 -2
- package/dist/integrations/agentic-flow/reasoning-bank/index.js +8 -0
- package/dist/integrations/embeddings/index/HNSWIndex.js +8 -4
- package/dist/integrations/ruvector/transfer-coherence-stub.js +5 -10
- package/dist/learning/embedder-endpoint-client.d.ts +8 -0
- package/dist/learning/embedder-endpoint-client.js +20 -0
- package/dist/learning/embedder-recovery.d.ts +63 -0
- package/dist/learning/embedder-recovery.js +94 -0
- package/dist/learning/qe-reasoning-bank-types.d.ts +5 -0
- package/dist/learning/qe-reasoning-bank.d.ts +21 -0
- package/dist/learning/qe-reasoning-bank.js +54 -8
- package/dist/learning/real-embeddings.d.ts +23 -0
- package/dist/learning/real-embeddings.js +69 -2
- package/dist/learning/real-qe-reasoning-bank.d.ts +24 -4
- package/dist/learning/real-qe-reasoning-bank.js +58 -20
- package/dist/logging/redaction.js +142 -12
- package/dist/mcp/bundle.js +509 -497
- package/dist/mcp/daemon-mode.d.ts +126 -0
- package/dist/mcp/daemon-mode.js +257 -0
- package/dist/mcp/entry.d.ts +4 -0
- package/dist/mcp/entry.js +50 -2
- package/dist/mcp/handlers/domain-handler-configs.d.ts +8 -0
- package/dist/mcp/handlers/domain-handler-configs.js +14 -2
- package/dist/mcp/handlers/handler-factory.js +3 -0
- package/dist/mcp/handlers/model-route-handlers.d.ts +107 -0
- package/dist/mcp/handlers/model-route-handlers.js +139 -0
- package/dist/mcp/handlers/orchestrate-routes.d.ts +6 -1
- package/dist/mcp/handlers/orchestrate-routes.js +94 -3
- package/dist/mcp/handlers/task-handlers.d.ts +3 -242
- package/dist/mcp/handlers/task-handlers.js +11 -788
- package/dist/mcp/handlers/task-inference.d.ts +26 -0
- package/dist/mcp/handlers/task-inference.js +156 -0
- package/dist/mcp/handlers/task-learning-handlers.d.ts +92 -0
- package/dist/mcp/handlers/task-learning-handlers.js +230 -0
- package/dist/mcp/handlers/task-orchestrate-handler.d.ts +73 -0
- package/dist/mcp/handlers/task-orchestrate-handler.js +361 -0
- package/dist/mcp/protocol-server.js +15 -2
- package/dist/mcp/services/reasoning-bank-service.d.ts +6 -1
- package/dist/mcp/services/reasoning-bank-service.js +9 -0
- package/dist/mcp/tools/code-intelligence/analyze.js +3 -6
- package/dist/mcp/tools/coverage-analysis/index.d.ts +4 -0
- package/dist/mcp/tools/coverage-analysis/index.js +8 -2
- package/dist/mcp/tools/visual-accessibility/index.d.ts +7 -0
- package/dist/mcp/tools/visual-accessibility/index.js +29 -13
- package/dist/mcp/types.d.ts +14 -0
- package/dist/routing/advisor/redaction.js +22 -2
- package/dist/shared/events/domain-events.d.ts +2 -0
- package/dist/shared/llm/providers/response-deadline.js +16 -2
- package/dist/shared/metrics/code-metrics.js +21 -3
- package/dist/shared/parsers/typescript-parser.d.ts +6 -0
- package/dist/shared/parsers/typescript-parser.js +13 -1
- package/dist/shared/types/index.js +3 -1
- package/dist/strange-loop/infra-healing/infra-aware-agent-provider.js +8 -1
- package/package.json +3 -3
- package/dist/cli/chunks/adapter-V4GSGOOK.js +0 -2
- package/dist/cli/chunks/aqe-learning-engine-6WQTM5YR.js +0 -2
- package/dist/cli/chunks/base-AK7BXBX2.js +0 -2
- package/dist/cli/chunks/browser-workflow-VTDFBW7T.js +0 -2
- package/dist/cli/chunks/chunk-2DTX7YAZ.js +0 -6
- package/dist/cli/chunks/chunk-72ZBJD2E.js +0 -3
- package/dist/cli/chunks/chunk-EBPJY4DI.js +0 -3
- package/dist/cli/chunks/chunk-H43AFUKL.js +0 -2
- package/dist/cli/chunks/chunk-HJ3XNTTJ.js +0 -2
- package/dist/cli/chunks/chunk-IO5537OM.js +0 -2
- package/dist/cli/chunks/chunk-IW6WDGHM.js +0 -2
- package/dist/cli/chunks/chunk-K2HBNYAZ.js +0 -62
- package/dist/cli/chunks/chunk-LRL56ZYL.js +0 -21
- package/dist/cli/chunks/chunk-VLD7Z2ED.js +0 -13
- package/dist/cli/chunks/chunk-VO3DRK4P.js +0 -3
- package/dist/cli/chunks/ci-6GUFAZMJ.js +0 -81
- package/dist/cli/chunks/client-HL2COSFM.js +0 -2
- package/dist/cli/chunks/core-handlers-IX7ATLM6.js +0 -2
- package/dist/cli/chunks/cross-domain-router-YYKLAPJO.js +0 -2
- package/dist/cli/chunks/domain-transfer-DOBI67K6.js +0 -2
- package/dist/cli/chunks/dream-T6EP7B3F.js +0 -2
- package/dist/cli/chunks/file-discovery-JYMVTDMU.js +0 -2
- package/dist/cli/chunks/fleet-FVAUMKUT.js +0 -46
- package/dist/cli/chunks/heartbeat-scheduler-4N5MUJ7S.js +0 -2
- package/dist/cli/chunks/hnsw-adapter-ZPAJDSLR.js +0 -2
- package/dist/cli/chunks/hnsw-index-4CTH6RHB.js +0 -2
- package/dist/cli/chunks/hybrid-backend-AW6UTXQS.js +0 -2
- package/dist/cli/chunks/impact-analyzer-MZK3JMSV.js +0 -2
- package/dist/cli/chunks/init-wizard-FUC7KDVX.js +0 -2
- package/dist/cli/chunks/kernel-ZCPMCVMW.js +0 -2
- package/dist/cli/chunks/knowledge-graph-NUJKEDNF.js +0 -2
- package/dist/cli/chunks/llm-router-service-B2BFBQ76.js +0 -2
- package/dist/cli/chunks/load-test-ZHQ2MUGO.js +0 -2
- package/dist/cli/chunks/memory-backend-AAMQG6WH.js +0 -2
- package/dist/cli/chunks/pattern-null-store-RFNVA46O.js +0 -2
- package/dist/cli/chunks/project-root-7QL4KP5C.js +0 -2
- package/dist/cli/chunks/protocol-executor-2NW5BD4R.js +0 -2
- package/dist/cli/chunks/qe-reasoning-bank-G2JZOGKD.js +0 -2
- package/dist/cli/chunks/queen-coordinator-GRG5FT2A.js +0 -2
- package/dist/cli/chunks/real-embeddings-RQRVOKVM.js +0 -2
- package/dist/cli/chunks/router-LQB5SWAF.js +0 -2
- package/dist/cli/chunks/routing-feedback-OEEXA55N.js +0 -2
- package/dist/cli/chunks/rvf-dual-writer-BZK4M7BO.js +0 -2
- package/dist/cli/chunks/rvf-migration-adapter-EZZUJL2E.js +0 -2
- package/dist/cli/chunks/rvf-native-adapter-6COXTQZ3.js +0 -2
- package/dist/cli/chunks/safe-db-PE6G3L55.js +0 -2
- package/dist/cli/chunks/schedule-OLKQ6QYW.js +0 -2
- package/dist/cli/chunks/scheduler-LSGBDFAT.js +0 -2
- package/dist/cli/chunks/sqlite-persistence-HH4DNTYH.js +0 -2
- package/dist/cli/chunks/task-handler-TFKVUTNF.js +0 -60
- package/dist/cli/chunks/task-handlers-SS4ZDXNF.js +0 -9
- package/dist/cli/chunks/test-runner-process-PSSBNNGR.js +0 -2
- package/dist/cli/chunks/tree-sitter-wasm-parser-TYRQRJ2W.js +0 -2
- package/dist/cli/chunks/unified-memory-AGDZQ5XD.js +0 -2
- package/dist/cli/chunks/unified-memory-hnsw-X5TJ3JDE.js +0 -2
- package/dist/cli/chunks/unified-persistence-UCV7YETW.js +0 -2
- package/dist/cli/chunks/visual-security-ZLXRIQZV.js +0 -2
- package/dist/cli/chunks/witness-chain-CVIWYTD2.js +0 -2
- package/dist/cli/chunks/witness-chain-VBKORKOX.js +0 -2
- package/dist/cli/chunks/workflow-orchestrator-3ZN7MVCE.js +0 -2
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agentic QE v3 - Model routing MCP handlers (ADR-051)
|
|
3
|
+
* Routing decisions, routing metrics and routing economics.
|
|
4
|
+
*/
|
|
5
|
+
import { getTaskRouter, } from '../services/task-router.js';
|
|
6
|
+
import { toErrorMessage } from '../../shared/error-utils.js';
|
|
7
|
+
import { inferDomainFromDescription } from './task-inference.js';
|
|
8
|
+
/**
|
|
9
|
+
* Handle model routing query - returns routing decision without submitting task
|
|
10
|
+
*/
|
|
11
|
+
export async function handleModelRoute(params) {
|
|
12
|
+
try {
|
|
13
|
+
const router = await getTaskRouter();
|
|
14
|
+
// Enrich routing input: infer domain and metadata from task description
|
|
15
|
+
// when the caller doesn't provide them explicitly
|
|
16
|
+
const inferredDomain = params.domain || inferDomainFromDescription(params.task);
|
|
17
|
+
const inferredIsCritical = params.isCritical ??
|
|
18
|
+
/\b(security|vulnerability|cve|owasp|critical|production|exploit)\b/i.test(params.task);
|
|
19
|
+
const result = await router.routeTask({
|
|
20
|
+
task: params.task,
|
|
21
|
+
codeContext: params.codeContext,
|
|
22
|
+
filePaths: params.filePaths,
|
|
23
|
+
manualTier: params.manualTier,
|
|
24
|
+
isCritical: inferredIsCritical,
|
|
25
|
+
agentType: params.agentType || `qe-${inferredDomain}`,
|
|
26
|
+
domain: inferredDomain,
|
|
27
|
+
// Pass metadata to help the complexity analyzer
|
|
28
|
+
metadata: {
|
|
29
|
+
inferredDomain,
|
|
30
|
+
hasCodeContext: !!params.codeContext,
|
|
31
|
+
fileCount: params.filePaths?.length,
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
return {
|
|
35
|
+
success: true,
|
|
36
|
+
data: {
|
|
37
|
+
tier: result.decision.tier,
|
|
38
|
+
tierName: result.tierInfo.name,
|
|
39
|
+
modelId: result.modelId,
|
|
40
|
+
executionStrategy: result.executionStrategy,
|
|
41
|
+
useAgentBooster: result.useAgentBooster,
|
|
42
|
+
agentBoosterTransform: result.decision.agentBoosterTransform,
|
|
43
|
+
complexity: {
|
|
44
|
+
overall: result.decision.complexityAnalysis.overall,
|
|
45
|
+
code: result.decision.complexityAnalysis.codeComplexity,
|
|
46
|
+
reasoning: result.decision.complexityAnalysis.reasoningComplexity,
|
|
47
|
+
scope: result.decision.complexityAnalysis.scopeComplexity,
|
|
48
|
+
},
|
|
49
|
+
confidence: result.decision.confidence,
|
|
50
|
+
rationale: result.decision.rationale,
|
|
51
|
+
warnings: result.decision.warnings,
|
|
52
|
+
budget: {
|
|
53
|
+
allowed: result.decision.budgetDecision.allowed,
|
|
54
|
+
wasDowngraded: result.decision.budgetDecision.wasDowngraded,
|
|
55
|
+
estimatedCostUsd: result.decision.budgetDecision.estimatedCostUsd,
|
|
56
|
+
},
|
|
57
|
+
decisionTimeMs: result.decision.metadata.decisionTimeMs,
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
catch (error) {
|
|
62
|
+
return {
|
|
63
|
+
success: false,
|
|
64
|
+
error: `Failed to route task: ${toErrorMessage(error)}`,
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Handle routing metrics query
|
|
70
|
+
*/
|
|
71
|
+
export async function handleRoutingMetrics(params) {
|
|
72
|
+
try {
|
|
73
|
+
const router = await getTaskRouter();
|
|
74
|
+
const stats = router.getRoutingStats();
|
|
75
|
+
const metrics = router.getMetrics();
|
|
76
|
+
const result = {
|
|
77
|
+
stats,
|
|
78
|
+
modelRouterMetrics: {
|
|
79
|
+
totalDecisions: metrics.totalDecisions,
|
|
80
|
+
avgDecisionTimeMs: metrics.avgDecisionTimeMs,
|
|
81
|
+
agentBoosterStats: metrics.agentBoosterStats,
|
|
82
|
+
budgetStats: metrics.budgetStats,
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
if (params.includeLog) {
|
|
86
|
+
result.log = router.getRoutingLog(params.logLimit || 100);
|
|
87
|
+
}
|
|
88
|
+
return {
|
|
89
|
+
success: true,
|
|
90
|
+
data: result,
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
catch (error) {
|
|
94
|
+
return {
|
|
95
|
+
success: false,
|
|
96
|
+
error: `Failed to get routing metrics: ${toErrorMessage(error)}`,
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Handle economic routing report query
|
|
102
|
+
*/
|
|
103
|
+
export async function handleRoutingEconomics(params) {
|
|
104
|
+
try {
|
|
105
|
+
const { createRoutingFeedbackCollector } = await import('../../routing/routing-feedback.js');
|
|
106
|
+
const { getGlobalCostTracker } = await import('../../shared/llm/cost-tracker.js');
|
|
107
|
+
// Create collector, initialize to load persisted state from DB, then enable economic routing
|
|
108
|
+
const collector = createRoutingFeedbackCollector(100);
|
|
109
|
+
await collector.initialize();
|
|
110
|
+
collector.enableEconomicRouting({ ...(params.taskComplexity != null ? {} : {}) }, getGlobalCostTracker());
|
|
111
|
+
const report = collector.getEconomicReport();
|
|
112
|
+
if (!report) {
|
|
113
|
+
return { success: false, error: 'Economic routing is not available' };
|
|
114
|
+
}
|
|
115
|
+
// Convert Infinity to string for JSON serialization
|
|
116
|
+
const tierEfficiency = report.tierEfficiency.map(t => ({
|
|
117
|
+
...t,
|
|
118
|
+
qualityPerDollar: isFinite(t.qualityPerDollar) ? t.qualityPerDollar : 'Infinity',
|
|
119
|
+
}));
|
|
120
|
+
return {
|
|
121
|
+
success: true,
|
|
122
|
+
data: {
|
|
123
|
+
tierEfficiency,
|
|
124
|
+
currentHourlyCostUsd: report.currentHourlyCostUsd,
|
|
125
|
+
currentDailyCostUsd: report.currentDailyCostUsd,
|
|
126
|
+
budgetRemaining: report.budgetRemaining,
|
|
127
|
+
recommendation: report.recommendation,
|
|
128
|
+
savingsOpportunity: report.savingsOpportunity,
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
catch (error) {
|
|
133
|
+
return {
|
|
134
|
+
success: false,
|
|
135
|
+
error: `Failed to get economic routing report: ${toErrorMessage(error)}`,
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
//# sourceMappingURL=model-route-handlers.js.map
|
|
@@ -15,12 +15,17 @@ export interface OrchestrateRequest {
|
|
|
15
15
|
filePaths?: string[];
|
|
16
16
|
}
|
|
17
17
|
export type OrchestrateRoute =
|
|
18
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Submit `type` to `domain` with `payload`. `executionOwner: 'caller'` runs
|
|
20
|
+
* the task through the MCP task executor, as the domain's own tool does,
|
|
21
|
+
* instead of the domain plugin.
|
|
22
|
+
*/
|
|
19
23
|
{
|
|
20
24
|
kind: 'route';
|
|
21
25
|
type: string;
|
|
22
26
|
domain: DomainName;
|
|
23
27
|
payload: Record<string, unknown>;
|
|
28
|
+
executionOwner?: 'caller';
|
|
24
29
|
}
|
|
25
30
|
/** The request lacks what the handler needs; `error` says what to supply. */
|
|
26
31
|
| {
|
|
@@ -8,8 +8,12 @@
|
|
|
8
8
|
* supplied, or is refused with the input it needs. A payload is never filled
|
|
9
9
|
* with values the request did not contain.
|
|
10
10
|
*/
|
|
11
|
+
import { existsSync } from 'node:fs';
|
|
12
|
+
import { resolve } from 'node:path';
|
|
11
13
|
import { findProjectRoot } from '../../kernel/project-root.js';
|
|
12
14
|
import { confineIndexPaths } from '../../domains/code-intelligence/index-path-guard.js';
|
|
15
|
+
import { requirePayloadPath } from '../../shared/io/payload-path-guard.js';
|
|
16
|
+
import { isCodeSearch, namesTestGeneration } from './task-inference.js';
|
|
13
17
|
const needs = (type, what) => ({
|
|
14
18
|
kind: 'needs-input',
|
|
15
19
|
error: `task_orchestrate inferred '${type}' from the description, but ${what}`,
|
|
@@ -26,6 +30,77 @@ async function projectFiles(type, filePaths) {
|
|
|
26
30
|
}
|
|
27
31
|
return { files: accepted };
|
|
28
32
|
}
|
|
33
|
+
/** Source and report extensions that mark a bare word in a description as a file. */
|
|
34
|
+
const PATH_EXTENSION = /\.(?:[cm]?[jt]sx?|py|go|rs|java|kt|cs|rb|php|swift|info|lcov|json|xml)$/i;
|
|
35
|
+
/** Words after which a description names what to measure ("coverage for src"). */
|
|
36
|
+
const TARGET_PREPOSITION = /^(?:for|of|in|under|on)$/i;
|
|
37
|
+
/**
|
|
38
|
+
* The paths a description names: words with a path separator or a source /
|
|
39
|
+
* report extension, else a word after "for/of/in/under/on" that exists
|
|
40
|
+
* (`analyze coverage for src`). Anything else is prose.
|
|
41
|
+
*/
|
|
42
|
+
function pathsInDescription(task) {
|
|
43
|
+
const words = task.split(/\s+/).map(w => w.replace(/^[`'"(]+|[`'",;:!?)]+$|\.$/g, '')).filter(Boolean);
|
|
44
|
+
const pathLike = words.filter(w => !/^https?:/i.test(w) && (/[\\/]/.test(w) || PATH_EXTENSION.test(w)));
|
|
45
|
+
if (pathLike.length > 0)
|
|
46
|
+
return [...new Set(pathLike)];
|
|
47
|
+
// Resolved as the coverage handler resolves its target: from the cwd.
|
|
48
|
+
const named = words.filter((w, i) => i > 0 && TARGET_PREPOSITION.test(words[i - 1]) &&
|
|
49
|
+
/^[\w.-]+$/.test(w) && existsSync(resolve(w)));
|
|
50
|
+
return [...new Set(named)];
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* #1200: the one target an orchestrated coverage task measures — the single
|
|
54
|
+
* filePath, else the one path the description names, else '.' (the default
|
|
55
|
+
* of coverage_analyze_sublinear).
|
|
56
|
+
* The task then runs the handler coverage_analyze_sublinear runs, so it
|
|
57
|
+
* resolves the target, reads the report and judges its evidence the same way.
|
|
58
|
+
*/
|
|
59
|
+
async function coverageRoute(request) {
|
|
60
|
+
const type = 'analyze-coverage';
|
|
61
|
+
const given = request.filePaths ?? [];
|
|
62
|
+
const candidates = given.length > 0 ? given : pathsInDescription(request.task);
|
|
63
|
+
if (candidates.length > 1) {
|
|
64
|
+
return needs(type, `coverage is analyzed for one target, and ${given.length > 0 ? 'filePaths' : 'the description'} ` +
|
|
65
|
+
`names ${candidates.length} (${candidates.join(', ')}). Pass one file or directory, or use ` +
|
|
66
|
+
'coverage_analyze_sublinear with a target.');
|
|
67
|
+
}
|
|
68
|
+
const target = candidates[0] ?? '.';
|
|
69
|
+
if (target !== '.') {
|
|
70
|
+
const confined = await requirePayloadPath(type, 'target', target, { allowDirectory: true, allowMissing: true });
|
|
71
|
+
if (!confined.success)
|
|
72
|
+
return needs(type, `the ${confined.error.message.replace(/^Invalid [\w-]+ payload: /, '')}`);
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
kind: 'route', type, domain: 'coverage-analysis', executionOwner: 'caller',
|
|
76
|
+
payload: { target, detectGaps: true },
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* #1225: test generation reads source files. Without filePaths, the files the
|
|
81
|
+
* description names are used; with none, the task is refused up front instead
|
|
82
|
+
* of being accepted and failing with "missing sourceFiles". `generate-tests`
|
|
83
|
+
* is also the fallback for a description that names no task, which the
|
|
84
|
+
* refusal says.
|
|
85
|
+
*/
|
|
86
|
+
async function testGenerationRoute(request) {
|
|
87
|
+
const type = 'generate-tests';
|
|
88
|
+
if ((request.filePaths ?? []).length > 0)
|
|
89
|
+
return { kind: 'as-inferred' };
|
|
90
|
+
const named = pathsInDescription(request.task);
|
|
91
|
+
if (named.length === 0) {
|
|
92
|
+
const why = namesTestGeneration(request.task)
|
|
93
|
+
? 'no source files were given and the description names none.'
|
|
94
|
+
: 'no task type could be inferred from the description, and test generation (the fallback) needs ' +
|
|
95
|
+
'source files: none were given and the description names none.';
|
|
96
|
+
return needs(type, `${why} Pass filePaths with the source files to generate tests for, or use ` +
|
|
97
|
+
'test_generate_enhanced, or task_submit with a task type and its payload.');
|
|
98
|
+
}
|
|
99
|
+
const confined = await projectFiles(type, named);
|
|
100
|
+
if ('kind' in confined)
|
|
101
|
+
return confined;
|
|
102
|
+
return { kind: 'route', type, domain: 'test-generation', payload: { sourceFiles: confined.files } };
|
|
103
|
+
}
|
|
29
104
|
/** Decide how task_orchestrate runs an inferred task type. */
|
|
30
105
|
export async function routeInferredTask(type, request) {
|
|
31
106
|
const filePaths = request.filePaths ?? [];
|
|
@@ -40,7 +115,16 @@ export async function routeInferredTask(type, request) {
|
|
|
40
115
|
return confined;
|
|
41
116
|
return { kind: 'route', type: 'sast-scan', domain: 'security-compliance', payload: { files: confined.files } };
|
|
42
117
|
}
|
|
43
|
-
case 'index-code':
|
|
118
|
+
case 'index-code': {
|
|
119
|
+
// #1146: a search description ("semantic search for auth code") is not
|
|
120
|
+
// an index request. Running the domain's search could answer "no
|
|
121
|
+
// results" for code that exists (#1224), so it is refused with what to
|
|
122
|
+
// use instead of the misleading "no files to index".
|
|
123
|
+
if (isCodeSearch(request.task)) {
|
|
124
|
+
return needs(type, 'the description asks for a code search, which task_orchestrate does not run: the ' +
|
|
125
|
+
'code-intelligence search can report no results for code that exists (#1224). Search the source ' +
|
|
126
|
+
'directly (e.g. grep), or use code_index with a target for dependency and impact analysis.');
|
|
127
|
+
}
|
|
44
128
|
// #1134: indexing reads exactly the files it is given; without them the
|
|
45
129
|
// task could only fail after it was accepted. The indexer confines the
|
|
46
130
|
// paths to the project itself (#1096).
|
|
@@ -49,6 +133,7 @@ export async function routeInferredTask(type, request) {
|
|
|
49
133
|
'or use code_index with a target.');
|
|
50
134
|
}
|
|
51
135
|
return { kind: 'as-inferred' };
|
|
136
|
+
}
|
|
52
137
|
case 'assess-quality': {
|
|
53
138
|
if (filePaths.length === 0) {
|
|
54
139
|
return needs(type, 'no source files were given. Pass filePaths with the source files to assess, ' +
|
|
@@ -59,6 +144,10 @@ export async function routeInferredTask(type, request) {
|
|
|
59
144
|
return confined;
|
|
60
145
|
return { kind: 'route', type: 'analyze-quality', domain: 'quality-assessment', payload: { sourceFiles: confined.files } };
|
|
61
146
|
}
|
|
147
|
+
case 'analyze-coverage':
|
|
148
|
+
// #1200: the domain plugin's handler needs coverageData, which a
|
|
149
|
+
// description never carries; the coverage tool's handler finds it.
|
|
150
|
+
return coverageRoute(request);
|
|
62
151
|
case 'test-accessibility':
|
|
63
152
|
// run-accessibility-audit falls back to URL-pattern heuristics when no
|
|
64
153
|
// browser is available, which reports violations nobody measured.
|
|
@@ -66,8 +155,8 @@ export async function routeInferredTask(type, request) {
|
|
|
66
155
|
'Lighthouse), and the domain task handler cannot guarantee one. Use accessibility_test with the page URL.');
|
|
67
156
|
case 'optimize-learning':
|
|
68
157
|
// optimize-strategies overwrites the stored learned strategies
|
|
69
|
-
// (persist: true)
|
|
70
|
-
//
|
|
158
|
+
// (persist: true), so learning wording alone does not run it (#1146:
|
|
159
|
+
// "improve"/"optimize" alone no longer infer it at all).
|
|
71
160
|
return needs(type, 'learning optimization overwrites the stored learned strategies, so it is not run from ' +
|
|
72
161
|
'a description. Use task_submit with type optimize-strategies in domain learning-optimization.');
|
|
73
162
|
case 'run-chaos':
|
|
@@ -81,6 +170,8 @@ export async function routeInferredTask(type, request) {
|
|
|
81
170
|
return needs(type, 'requirement validation needs a structured requirement (title, description, ' +
|
|
82
171
|
'acceptance criteria). Use requirements_validate, or task_submit with type validate and ' +
|
|
83
172
|
'payload.requirement in domain requirements-validation.');
|
|
173
|
+
case 'generate-tests':
|
|
174
|
+
return testGenerationRoute(request);
|
|
84
175
|
default:
|
|
85
176
|
return { kind: 'as-inferred' };
|
|
86
177
|
}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* Issue #206: Workflow auto-execution for task types with associated workflows
|
|
7
7
|
*/
|
|
8
8
|
import { ToolResult, TaskSubmitParams, TaskSubmitResult, TaskListParams, TaskStatusParams, TaskStatusResult, TaskCancelParams } from '../types';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
export * from './task-orchestrate-handler.js';
|
|
10
|
+
export * from './model-route-handlers.js';
|
|
11
|
+
export * from './task-learning-handlers.js';
|
|
12
12
|
export declare function handleTaskSubmit(params: TaskSubmitParams): Promise<ToolResult<TaskSubmitResult>>;
|
|
13
13
|
export declare function handleTaskList(params: TaskListParams): Promise<ToolResult<TaskStatusResult[]>>;
|
|
14
14
|
export declare function handleTaskStatus(params: TaskStatusParams): Promise<ToolResult<TaskStatusResult>>;
|
|
@@ -17,243 +17,4 @@ export declare function handleTaskCancel(params: TaskCancelParams): Promise<Tool
|
|
|
17
17
|
cancelled: boolean;
|
|
18
18
|
cancellationResultPending: boolean;
|
|
19
19
|
}>>;
|
|
20
|
-
export interface TaskOrchestrateParams {
|
|
21
|
-
task: string;
|
|
22
|
-
strategy?: 'parallel' | 'sequential' | 'adaptive';
|
|
23
|
-
priority?: 'low' | 'medium' | 'high' | 'critical';
|
|
24
|
-
maxAgents?: number;
|
|
25
|
-
/** Manual tier override (0-4) */
|
|
26
|
-
manualTier?: ModelTier;
|
|
27
|
-
/** Code context for complexity analysis */
|
|
28
|
-
codeContext?: string;
|
|
29
|
-
/** File paths involved */
|
|
30
|
-
filePaths?: string[];
|
|
31
|
-
context?: {
|
|
32
|
-
project?: string;
|
|
33
|
-
branch?: string;
|
|
34
|
-
environment?: string;
|
|
35
|
-
requirements?: string[];
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* #1022: how learned patterns informed task_orchestrate.
|
|
40
|
-
* - 'vector': embedding similarity plus text matching
|
|
41
|
-
* - 'lexical-only': no embedding runtime; text matching only, no similarity
|
|
42
|
-
* scores, and experience guidance unavailable
|
|
43
|
-
* - 'unavailable': the ReasoningBank could not start; no learned guidance
|
|
44
|
-
*/
|
|
45
|
-
export interface OrchestrateLearningStatus {
|
|
46
|
-
patternSearch: 'vector' | 'lexical-only' | 'unavailable';
|
|
47
|
-
reason?: string;
|
|
48
|
-
}
|
|
49
|
-
export interface TaskOrchestrateResult {
|
|
50
|
-
taskId: string;
|
|
51
|
-
/** The task type submitted to the domain. */
|
|
52
|
-
type: TaskType;
|
|
53
|
-
/** #1125: the type inferred from the description, when another handler type runs it. */
|
|
54
|
-
inferredType?: TaskType;
|
|
55
|
-
priority: 'p0' | 'p1' | 'p2' | 'p3';
|
|
56
|
-
strategy: string;
|
|
57
|
-
status: string;
|
|
58
|
-
message: string;
|
|
59
|
-
/** ADR-051: Model routing decision */
|
|
60
|
-
routing: {
|
|
61
|
-
tier: ModelTier;
|
|
62
|
-
tierName: string;
|
|
63
|
-
modelId: string;
|
|
64
|
-
executionStrategy: string;
|
|
65
|
-
complexity: number;
|
|
66
|
-
confidence: number;
|
|
67
|
-
useAgentBooster: boolean;
|
|
68
|
-
rationale: string;
|
|
69
|
-
decisionTimeMs: number;
|
|
70
|
-
};
|
|
71
|
-
/** #1022: how learned patterns informed this orchestration */
|
|
72
|
-
learning: OrchestrateLearningStatus;
|
|
73
|
-
}
|
|
74
|
-
export declare function handleTaskOrchestrate(params: TaskOrchestrateParams): Promise<ToolResult<TaskOrchestrateResult>>;
|
|
75
|
-
export interface ModelRouteParams {
|
|
76
|
-
/** Task description to analyze */
|
|
77
|
-
task: string;
|
|
78
|
-
/** Optional code context for complexity analysis */
|
|
79
|
-
codeContext?: string;
|
|
80
|
-
/** Optional file paths */
|
|
81
|
-
filePaths?: string[];
|
|
82
|
-
/** Manual tier override */
|
|
83
|
-
manualTier?: ModelTier;
|
|
84
|
-
/** Mark as critical task */
|
|
85
|
-
isCritical?: boolean;
|
|
86
|
-
/** Agent type making the request */
|
|
87
|
-
agentType?: string;
|
|
88
|
-
/** Domain context */
|
|
89
|
-
domain?: string;
|
|
90
|
-
}
|
|
91
|
-
export interface ModelRouteResult {
|
|
92
|
-
tier: ModelTier;
|
|
93
|
-
tierName: string;
|
|
94
|
-
modelId: string;
|
|
95
|
-
executionStrategy: string;
|
|
96
|
-
useAgentBooster: boolean;
|
|
97
|
-
agentBoosterTransform?: string;
|
|
98
|
-
complexity: {
|
|
99
|
-
overall: number;
|
|
100
|
-
code: number;
|
|
101
|
-
reasoning: number;
|
|
102
|
-
scope: number;
|
|
103
|
-
};
|
|
104
|
-
confidence: number;
|
|
105
|
-
rationale: string;
|
|
106
|
-
warnings: string[];
|
|
107
|
-
budget: {
|
|
108
|
-
allowed: boolean;
|
|
109
|
-
wasDowngraded: boolean;
|
|
110
|
-
estimatedCostUsd: number;
|
|
111
|
-
};
|
|
112
|
-
decisionTimeMs: number;
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* Handle model routing query - returns routing decision without submitting task
|
|
116
|
-
*/
|
|
117
|
-
export declare function handleModelRoute(params: ModelRouteParams): Promise<ToolResult<ModelRouteResult>>;
|
|
118
|
-
export interface RoutingMetricsParams {
|
|
119
|
-
/** Include routing log entries */
|
|
120
|
-
includeLog?: boolean;
|
|
121
|
-
/** Max log entries to return */
|
|
122
|
-
logLimit?: number;
|
|
123
|
-
}
|
|
124
|
-
export interface RoutingMetricsResult {
|
|
125
|
-
stats: RoutingStats;
|
|
126
|
-
log?: RoutingLogEntry[];
|
|
127
|
-
modelRouterMetrics: {
|
|
128
|
-
totalDecisions: number;
|
|
129
|
-
avgDecisionTimeMs: number;
|
|
130
|
-
agentBoosterStats: {
|
|
131
|
-
eligible: number;
|
|
132
|
-
used: number;
|
|
133
|
-
successRate: number;
|
|
134
|
-
};
|
|
135
|
-
budgetStats: {
|
|
136
|
-
totalSpentUsd: number;
|
|
137
|
-
budgetUtilization: number;
|
|
138
|
-
downgradeCount: number;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Handle routing metrics query
|
|
144
|
-
*/
|
|
145
|
-
export declare function handleRoutingMetrics(params: RoutingMetricsParams): Promise<ToolResult<RoutingMetricsResult>>;
|
|
146
|
-
export interface RoutingEconomicsParams {
|
|
147
|
-
/** Task complexity score 0-1 for tier scoring (default: 0.5) */
|
|
148
|
-
taskComplexity?: number;
|
|
149
|
-
}
|
|
150
|
-
export interface RoutingEconomicsResult {
|
|
151
|
-
tierEfficiency: Array<{
|
|
152
|
-
tier: string;
|
|
153
|
-
qualityScore: number;
|
|
154
|
-
estimatedCostUsd: number;
|
|
155
|
-
qualityPerDollar: number | string;
|
|
156
|
-
economicScore: number;
|
|
157
|
-
}>;
|
|
158
|
-
currentHourlyCostUsd: number;
|
|
159
|
-
currentDailyCostUsd: number;
|
|
160
|
-
budgetRemaining: {
|
|
161
|
-
hourly: number | null;
|
|
162
|
-
daily: number | null;
|
|
163
|
-
};
|
|
164
|
-
recommendation: string;
|
|
165
|
-
savingsOpportunity: {
|
|
166
|
-
usd: number;
|
|
167
|
-
description: string;
|
|
168
|
-
} | null;
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* Handle economic routing report query
|
|
172
|
-
*/
|
|
173
|
-
export declare function handleRoutingEconomics(params: RoutingEconomicsParams): Promise<ToolResult<RoutingEconomicsResult>>;
|
|
174
|
-
export interface TaskOutcomeRecordParams {
|
|
175
|
-
/** Task ID */
|
|
176
|
-
taskId: string;
|
|
177
|
-
/** Task description */
|
|
178
|
-
task: string;
|
|
179
|
-
/** Task type */
|
|
180
|
-
taskType: string;
|
|
181
|
-
/** Whether the task succeeded */
|
|
182
|
-
success: boolean;
|
|
183
|
-
/** Execution time in ms */
|
|
184
|
-
executionTimeMs: number;
|
|
185
|
-
/** Agent that executed the task */
|
|
186
|
-
agentId?: string;
|
|
187
|
-
/** Domain */
|
|
188
|
-
domain?: string;
|
|
189
|
-
/** Model tier used */
|
|
190
|
-
modelTier?: number;
|
|
191
|
-
/** Quality score (0-1) */
|
|
192
|
-
qualityScore?: number;
|
|
193
|
-
/** Error message if failed */
|
|
194
|
-
error?: string;
|
|
195
|
-
/** Additional metrics */
|
|
196
|
-
metrics?: {
|
|
197
|
-
tokensUsed?: number;
|
|
198
|
-
testsGenerated?: number;
|
|
199
|
-
testsPassed?: number;
|
|
200
|
-
coverageImprovement?: number;
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
export interface TaskOutcomeRecordResult {
|
|
204
|
-
recorded: boolean;
|
|
205
|
-
patternStored: boolean;
|
|
206
|
-
message: string;
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* Record a task outcome for ReasoningBank learning
|
|
210
|
-
* ADR-051: Enables cross-session learning from task execution
|
|
211
|
-
*/
|
|
212
|
-
export declare function handleTaskOutcomeRecord(params: TaskOutcomeRecordParams): Promise<ToolResult<TaskOutcomeRecordResult>>;
|
|
213
|
-
export interface ReasoningBankStatsResult {
|
|
214
|
-
service: {
|
|
215
|
-
tasksRecorded: number;
|
|
216
|
-
successfulTasks: number;
|
|
217
|
-
failedTasks: number;
|
|
218
|
-
successRate: number;
|
|
219
|
-
patternsStored: number;
|
|
220
|
-
routingRequests: number;
|
|
221
|
-
};
|
|
222
|
-
patterns: {
|
|
223
|
-
totalPatterns: number;
|
|
224
|
-
byDomain: Record<string, number>;
|
|
225
|
-
byTier: Record<string, number>;
|
|
226
|
-
learningOutcomes: number;
|
|
227
|
-
patternSuccessRate: number;
|
|
228
|
-
};
|
|
229
|
-
embeddings: {
|
|
230
|
-
cacheSize: number;
|
|
231
|
-
dimension: number;
|
|
232
|
-
transformerAvailable: boolean;
|
|
233
|
-
};
|
|
234
|
-
performance: {
|
|
235
|
-
avgRoutingLatencyMs: number;
|
|
236
|
-
p95RoutingLatencyMs: number;
|
|
237
|
-
};
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* Get ReasoningBank statistics
|
|
241
|
-
* ADR-051: Provides visibility into learning system
|
|
242
|
-
*/
|
|
243
|
-
export declare function handleReasoningBankStats(): Promise<ToolResult<ReasoningBankStatsResult>>;
|
|
244
|
-
/**
|
|
245
|
-
* Enhanced task status that records outcomes for learning
|
|
246
|
-
* ADR-051: Automatically records completed task outcomes
|
|
247
|
-
* INTEGRATION FIX: Now synchronous to ensure learning occurs
|
|
248
|
-
*/
|
|
249
|
-
export declare function handleTaskStatusWithLearning(params: TaskStatusParams): Promise<ToolResult<TaskStatusResult>>;
|
|
250
|
-
/**
|
|
251
|
-
* Subscribe to task lifecycle events to auto-close trajectories.
|
|
252
|
-
* Must be called after the CrossDomainEventRouter is initialized.
|
|
253
|
-
*/
|
|
254
|
-
export declare function subscribeTrajectoryEvents(router: import('../../coordination/cross-domain-router').CrossDomainEventRouter): void;
|
|
255
|
-
/**
|
|
256
|
-
* Unsubscribe trajectory event listeners. Called during fleet dispose.
|
|
257
|
-
*/
|
|
258
|
-
export declare function unsubscribeTrajectoryEvents(router: import('../../coordination/cross-domain-router').CrossDomainEventRouter): void;
|
|
259
20
|
//# sourceMappingURL=task-handlers.d.ts.map
|