agentic-qe 3.15.12 → 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/skills/skills-manifest.json +1 -1
- package/CHANGELOG.md +118 -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-5VZCKTIJ.js → agent-booster-wasm-6RRQWMNE.js} +2 -2
- package/dist/cli/chunks/{agent-handler-K3C6CQCD.js → agent-handler-AOH6TV7W.js} +2 -2
- package/dist/cli/chunks/{agent-memory-branch-NVFQ25WS.js → agent-memory-branch-2P54SF5N.js} +2 -2
- package/dist/cli/chunks/aqe-learning-engine-SAQOHSGN.js +2 -0
- package/dist/cli/chunks/{arena-QGWIJADQ.js → arena-NSVFCAF5.js} +2 -2
- package/dist/cli/chunks/{arena-TSZVDSXS.js → arena-X6MOGQHA.js} +4 -4
- package/dist/cli/chunks/{audit-KIEE2SHJ.js → audit-27DJLQNM.js} +3 -3
- package/dist/cli/chunks/base-WCACU3FN.js +2 -0
- package/dist/cli/chunks/{better-sqlite3-BNB32NW3.js → better-sqlite3-BU5GXILS.js} +2 -2
- package/dist/cli/chunks/{brain-handler-MPC5SPYI.js → brain-handler-GTQNHHZS.js} +3 -3
- package/dist/cli/chunks/{branch-enumerator-LZ7UXKAY.js → branch-enumerator-5CLULOCU.js} +2 -2
- package/dist/cli/chunks/{browser-VDHAW4RK.js → browser-R4DMU3LN.js} +2 -2
- package/dist/cli/chunks/browser-workflow-G6IASEAP.js +2 -0
- package/dist/cli/chunks/{chunk-QUJJYTJH.js → chunk-2G7TVT6W.js} +2 -2
- package/dist/cli/chunks/{chunk-FAGKBOX2.js → chunk-32ZMWEP3.js} +2 -2
- package/dist/cli/chunks/{chunk-FNUFTWEO.js → chunk-3AN5TNGD.js} +3 -3
- package/dist/cli/chunks/{chunk-JOWUS2X5.js → chunk-3LJ7LQMV.js} +1 -1
- package/dist/cli/chunks/{chunk-O4QJMANM.js → chunk-3QZEGE67.js} +1 -1
- package/dist/cli/chunks/{chunk-ICKUINKD.js → chunk-3RZV5DGO.js} +2 -2
- package/dist/cli/chunks/{chunk-W4II6SIH.js → chunk-3Y2ROSCL.js} +2 -2
- package/dist/cli/chunks/{chunk-L7NGKANW.js → chunk-3Y7TJFHU.js} +2 -2
- package/dist/cli/chunks/{chunk-UUZZXHUF.js → chunk-3YNLWPBF.js} +2 -2
- package/dist/cli/chunks/{chunk-JR6CUKAI.js → chunk-42J34YG4.js} +2 -2
- package/dist/cli/chunks/{chunk-65TH6RPD.js → chunk-4OVC4RIL.js} +1 -1
- package/dist/cli/chunks/{chunk-DRCBRUGN.js → chunk-526QYFJU.js} +2 -2
- package/dist/cli/chunks/{chunk-MCPXNUDK.js → chunk-5FKWCZNF.js} +2 -2
- package/dist/cli/chunks/{chunk-NX4BCSOZ.js → chunk-5K26BEYB.js} +2 -2
- package/dist/cli/chunks/{chunk-MCPEC6OO.js → chunk-5MDERQH3.js} +1 -1
- package/dist/cli/chunks/{chunk-7JFDLL2F.js → chunk-5VMAV6T6.js} +1 -1
- package/dist/cli/chunks/{chunk-5TAEW5OV.js → chunk-5ZGM3RMH.js} +1 -1
- package/dist/cli/chunks/{chunk-SG2TX72G.js → chunk-6KATY3KS.js} +2 -2
- package/dist/cli/chunks/{chunk-KA5SHLMW.js → chunk-6Z7PRBSG.js} +2 -2
- package/dist/cli/chunks/{chunk-LFBA735S.js → chunk-72ASBE35.js} +3 -3
- package/dist/cli/chunks/{chunk-TOWOJGEI.js → chunk-756CGMEH.js} +1 -1
- package/dist/cli/chunks/{chunk-IVTQF55W.js → chunk-75RDHBAX.js} +3 -3
- package/dist/cli/chunks/{chunk-66PXR3NI.js → chunk-7CMTY45A.js} +2 -2
- package/dist/cli/chunks/{chunk-WLRU6ESI.js → chunk-7JUC2MVZ.js} +2 -2
- package/dist/cli/chunks/{chunk-SBHM5X2S.js → chunk-7NA7JXNB.js} +2 -2
- package/dist/cli/chunks/{chunk-HZBXJFGN.js → chunk-7PLIEBY7.js} +2 -2
- package/dist/cli/chunks/{chunk-2ASQRBK2.js → chunk-7YTGHGK4.js} +2 -2
- package/dist/cli/chunks/{chunk-SQVZ3TRU.js → chunk-A64JFBWI.js} +2 -2
- package/dist/cli/chunks/{chunk-2PPSS4JD.js → chunk-AL6FBH3E.js} +2 -2
- package/dist/cli/chunks/{chunk-3IU4LDZR.js → chunk-AQSVJNEH.js} +2 -2
- package/dist/cli/chunks/{chunk-C74M4WUI.js → chunk-ARJW4I2O.js} +2 -2
- package/dist/cli/chunks/{chunk-VF7FTD64.js → chunk-ASQYASNV.js} +1 -1
- package/dist/cli/chunks/{chunk-HLGFHHWV.js → chunk-BEGR4D6N.js} +2 -2
- package/dist/cli/chunks/{chunk-EN7GRVEQ.js → chunk-BK577VL7.js} +2 -2
- package/dist/cli/chunks/{chunk-KGA7VAI4.js → chunk-BLSLEVDI.js} +2 -2
- package/dist/cli/chunks/{chunk-HM3LSFTY.js → chunk-BTVEYBW2.js} +2 -2
- package/dist/cli/chunks/{chunk-J7Y7ZBIT.js → chunk-C6JTLKG7.js} +5 -5
- package/dist/cli/chunks/{chunk-PTBOLBM4.js → chunk-C7JM7CD3.js} +2 -2
- package/dist/cli/chunks/{chunk-IL7GQNNE.js → chunk-CCMKSHAT.js} +2 -2
- package/dist/cli/chunks/{chunk-23PQF7NN.js → chunk-CE7B5LU7.js} +1 -1
- package/dist/cli/chunks/{chunk-BMG2JLSQ.js → chunk-CM4LSLKR.js} +2 -2
- package/dist/cli/chunks/chunk-CRWPZT74.js +62 -0
- package/dist/cli/chunks/{chunk-4HWUECVD.js → chunk-CT6SAVXQ.js} +2 -2
- package/dist/cli/chunks/chunk-CV77DMDQ.js +2 -0
- package/dist/cli/chunks/{chunk-CU36D7TN.js → chunk-DFUASIKA.js} +2 -2
- package/dist/cli/chunks/{chunk-T4EN5VVK.js → chunk-DLD7RUZ4.js} +2 -2
- package/dist/cli/chunks/{chunk-IA55PFLG.js → chunk-DNDL7SOS.js} +2 -2
- package/dist/cli/chunks/{chunk-6QRI3JVE.js → chunk-DVGRPK7A.js} +2 -2
- package/dist/cli/chunks/{chunk-UREDS662.js → chunk-E56B6IDX.js} +2 -2
- package/dist/cli/chunks/{chunk-ZGROHCOW.js → chunk-E7CLYGS7.js} +1 -1
- package/dist/cli/chunks/{chunk-YNVEDFPQ.js → chunk-EXGMJFAT.js} +1 -1
- package/dist/cli/chunks/{chunk-JRYWLOBD.js → chunk-F3YS57NF.js} +2 -2
- package/dist/cli/chunks/{chunk-ZYOYR3UR.js → chunk-FZ76G4QJ.js} +1 -1
- package/dist/cli/chunks/{chunk-UIKQPO4Y.js → chunk-G2Q66Z23.js} +2 -2
- package/dist/cli/chunks/{chunk-5S4UIDFK.js → chunk-G6WDYBLQ.js} +1 -1
- package/dist/cli/chunks/{chunk-4SA7M34P.js → chunk-G77ERMUD.js} +1 -1
- package/dist/cli/chunks/{chunk-ADUAJIAU.js → chunk-GB6HBNH2.js} +2 -2
- package/dist/cli/chunks/{chunk-IETBWYHW.js → chunk-GHM6MQNK.js} +2 -2
- package/dist/cli/chunks/{chunk-QWG3SILX.js → chunk-GHY6Z6KO.js} +5 -5
- package/dist/cli/chunks/{chunk-AJEXPFAB.js → chunk-GII6UM3F.js} +1 -1
- package/dist/cli/chunks/{chunk-SDRJJUPO.js → chunk-GU5HNCWI.js} +1 -1
- package/dist/cli/chunks/{chunk-ULCW6IVQ.js → chunk-H4GG2NLO.js} +2 -2
- package/dist/cli/chunks/{chunk-7TA5MUPW.js → chunk-H4H2YSFH.js} +1 -1
- package/dist/cli/chunks/{chunk-5A66EGEW.js → chunk-HD7YIFOI.js} +2 -2
- package/dist/cli/chunks/{chunk-CDA5Z74H.js → chunk-HOAJUIBQ.js} +2 -2
- package/dist/cli/chunks/{chunk-4KUOYDY2.js → chunk-HQZGPJYG.js} +2 -2
- package/dist/cli/chunks/{chunk-G3AABG4Q.js → chunk-HZ5NXFXH.js} +2 -2
- package/dist/cli/chunks/{chunk-U6IXYQO4.js → chunk-I3C7JOXC.js} +2 -2
- package/dist/cli/chunks/{chunk-MAJXZYGK.js → chunk-IC3TQEOA.js} +1 -1
- package/dist/cli/chunks/{chunk-RYHG3I7J.js → chunk-IJUHSJ2U.js} +2 -2
- package/dist/cli/chunks/{chunk-DZGPUGUG.js → chunk-J2ZIFFM6.js} +2 -2
- package/dist/cli/chunks/{chunk-NA3F6FEO.js → chunk-JGZ722G3.js} +2 -2
- package/dist/cli/chunks/{chunk-PX5OPXY6.js → chunk-JQGMW45H.js} +1 -1
- package/dist/cli/chunks/{chunk-WGTEZT7G.js → chunk-JRRXCODW.js} +2 -2
- package/dist/cli/chunks/{chunk-4Y6OEBJZ.js → chunk-K3TLLJMX.js} +1 -1
- package/dist/cli/chunks/{chunk-RCOLPF3B.js → chunk-K4CZA77U.js} +2 -2
- package/dist/cli/chunks/{chunk-YIDAXOUX.js → chunk-K65CGKLD.js} +2 -2
- package/dist/cli/chunks/{chunk-5ADXFUMO.js → chunk-KADFXPPN.js} +2 -2
- package/dist/cli/chunks/{chunk-P5E26N2X.js → chunk-KB56CPU4.js} +2 -2
- package/dist/cli/chunks/{chunk-YLKIXEPP.js → chunk-KCW47QR5.js} +1 -1
- package/dist/cli/chunks/{chunk-SPC4RBLF.js → chunk-KDNJ4F3P.js} +2 -2
- package/dist/cli/chunks/{chunk-P7UFJ6DO.js → chunk-KDVZND5Q.js} +1 -1
- package/dist/cli/chunks/{chunk-TLRHAMX5.js → chunk-KUAKV3IW.js} +1 -1
- package/dist/cli/chunks/{chunk-ZROAMFX2.js → chunk-KV4T4MXK.js} +2 -2
- package/dist/cli/chunks/{chunk-UZED4YZ5.js → chunk-KWYH3FI4.js} +1 -1
- package/dist/cli/chunks/{chunk-33I2ZP6E.js → chunk-LFJALJOA.js} +2 -2
- package/dist/cli/chunks/{chunk-TXEUVUMO.js → chunk-LL7LDPXS.js} +1 -1
- package/dist/cli/chunks/{chunk-W5HQIYQU.js → chunk-LUZNKJE6.js} +3 -3
- package/dist/cli/chunks/{chunk-GKFV6CUD.js → chunk-LWR3FV3Y.js} +2 -2
- package/dist/cli/chunks/{chunk-TVA5GRIU.js → chunk-LZYQHVD4.js} +2 -2
- package/dist/cli/chunks/{chunk-2JYUA27M.js → chunk-M6AAGIG7.js} +1 -1
- package/dist/cli/chunks/{chunk-PT2NXS43.js → chunk-MAMQA43L.js} +1 -1
- package/dist/cli/chunks/chunk-MB46UBGY.js +3 -0
- package/dist/cli/chunks/{chunk-ZPVGX4DI.js → chunk-MFW5HSG4.js} +2 -2
- package/dist/cli/chunks/{chunk-47RMGDG4.js → chunk-MGZ5FJUW.js} +2 -2
- package/dist/cli/chunks/{chunk-G24SWTAX.js → chunk-MVVB7C2E.js} +410 -410
- package/dist/cli/chunks/{chunk-XZOYKB22.js → chunk-N4CYAKOX.js} +2 -2
- package/dist/cli/chunks/{chunk-QCPVUNN3.js → chunk-NT4DBXSX.js} +2 -2
- package/dist/cli/chunks/{chunk-3EWQN37E.js → chunk-NU3W5WFT.js} +2 -2
- package/dist/cli/chunks/{chunk-VZBC6DP7.js → chunk-NURIILUB.js} +1 -1
- package/dist/cli/chunks/{chunk-6E6HB4N4.js → chunk-NW7IBHJA.js} +4 -4
- package/dist/cli/chunks/{chunk-K3A3NWT3.js → chunk-NZ3GUMB2.js} +2 -2
- package/dist/cli/chunks/{chunk-GJKZ7UQO.js → chunk-NZD4DPSU.js} +2 -2
- package/dist/cli/chunks/{chunk-7QEUHNKO.js → chunk-O6FGXMHD.js} +1 -1
- package/dist/cli/chunks/{chunk-YVJEUX3I.js → chunk-OCAEXYFA.js} +2 -2
- package/dist/cli/chunks/{chunk-BOSMELJX.js → chunk-OFACHK5O.js} +2 -2
- package/dist/cli/chunks/{chunk-PGSJBXTD.js → chunk-P7A4NKTZ.js} +2 -2
- package/dist/cli/chunks/{chunk-HSA5IGGW.js → chunk-PB6J6HAA.js} +2 -2
- package/dist/cli/chunks/{chunk-TGMXUZZC.js → chunk-PHP5UBT4.js} +2 -2
- package/dist/cli/chunks/{chunk-NV74SICL.js → chunk-PIDQVU3L.js} +2 -2
- package/dist/cli/chunks/{chunk-TSOQ2QLT.js → chunk-PSFSPGUD.js} +2 -2
- package/dist/cli/chunks/{chunk-4A76VPU4.js → chunk-PT4FMJPQ.js} +2 -2
- package/dist/cli/chunks/{chunk-U7ZHDGXG.js → chunk-Q3UDLV5Z.js} +1 -1
- package/dist/cli/chunks/{chunk-BYRCB5JT.js → chunk-QDEJ4CI2.js} +2 -2
- package/dist/cli/chunks/{chunk-CA5UNWQF.js → chunk-QPNG5ZN2.js} +2 -2
- package/dist/cli/chunks/{chunk-W7H55PY4.js → chunk-R7SYRCRP.js} +1 -1
- package/dist/cli/chunks/{chunk-4LWMAAWK.js → chunk-RF7HWBHN.js} +2 -2
- package/dist/cli/chunks/{chunk-MMEALJ4D.js → chunk-RFNW2LGD.js} +2 -2
- package/dist/cli/chunks/{chunk-UCSK2RMI.js → chunk-S5AZCIZS.js} +2 -2
- package/dist/cli/chunks/{chunk-JW5PDJ5O.js → chunk-SE4VNN4I.js} +3 -3
- package/dist/cli/chunks/{chunk-URSTP3WI.js → chunk-SG3NX7QE.js} +2 -2
- package/dist/cli/chunks/{chunk-N7O3PF6Y.js → chunk-SSU73QAX.js} +2 -2
- package/dist/cli/chunks/{chunk-7DNR4KKR.js → chunk-SVLQRAMF.js} +1 -1
- package/dist/cli/chunks/{chunk-BC4T6SCV.js → chunk-SYV2V3PL.js} +4 -4
- package/dist/cli/chunks/{chunk-4CB3QPZM.js → chunk-T3PGQFDI.js} +2 -2
- package/dist/cli/chunks/{chunk-OHVYINGM.js → chunk-TCBBNUBP.js} +3 -3
- package/dist/cli/chunks/{chunk-YWWMNTBF.js → chunk-TOQWL2ZF.js} +2 -2
- package/dist/cli/chunks/{chunk-SITL5YZV.js → chunk-TSQC2KKZ.js} +2 -2
- package/dist/cli/chunks/{chunk-YUA6ZKKY.js → chunk-TWDW32W2.js} +2 -2
- package/dist/cli/chunks/{chunk-SUX5XB2Z.js → chunk-TWJTK4CC.js} +2 -2
- package/dist/cli/chunks/{chunk-32UTHIY5.js → chunk-U2FUXDDJ.js} +3 -3
- package/dist/cli/chunks/{chunk-ENGL7FIJ.js → chunk-UDQSYWVF.js} +1 -1
- package/dist/cli/chunks/{chunk-7OEFBWAG.js → chunk-UOC3O6RP.js} +2 -2
- package/dist/cli/chunks/chunk-UT2VZ33P.js +2 -0
- package/dist/cli/chunks/{chunk-MYF5CNGV.js → chunk-UTRV7T2N.js} +2 -2
- package/dist/cli/chunks/{chunk-KJDI5CHX.js → chunk-UXZSUMEA.js} +2 -2
- package/dist/cli/chunks/{chunk-DAUEK66C.js → chunk-VRHRBAEM.js} +1 -1
- package/dist/cli/chunks/{chunk-FZJCBSN4.js → chunk-VRVMIPTM.js} +2 -2
- package/dist/cli/chunks/{chunk-26672ISV.js → chunk-VTDFVFST.js} +2 -2
- package/dist/cli/chunks/{chunk-WTAUF6O4.js → chunk-VTOBUZL6.js} +2 -2
- package/dist/cli/chunks/{chunk-4PU5GTZW.js → chunk-VU5TBX2V.js} +2 -2
- package/dist/cli/chunks/{chunk-C3YOVASQ.js → chunk-W26B7ERY.js} +1 -1
- package/dist/cli/chunks/{chunk-CPIBIR3X.js → chunk-W2QWSQVE.js} +2 -2
- package/dist/cli/chunks/{chunk-L3PV7VXK.js → chunk-W3INMZZ6.js} +1 -1
- package/dist/cli/chunks/{chunk-5Z23ZMXZ.js → chunk-W3PPFHI5.js} +54 -54
- package/dist/cli/chunks/{chunk-NVRYELCY.js → chunk-WKGTGOYS.js} +3 -3
- package/dist/cli/chunks/{chunk-35NW676P.js → chunk-WNQS4WTS.js} +2 -2
- package/dist/cli/chunks/{chunk-O3IM4WRZ.js → chunk-WO274FRI.js} +2 -2
- package/dist/cli/chunks/{chunk-35MIUSXQ.js → chunk-WOCGL4QP.js} +2 -2
- package/dist/cli/chunks/{chunk-EF6OERRR.js → chunk-WQL7WCIZ.js} +1 -1
- package/dist/cli/chunks/{chunk-INZARYUD.js → chunk-X2Z7F4EU.js} +2 -2
- package/dist/cli/chunks/{chunk-2E2QO44T.js → chunk-X7N2JF2X.js} +2 -2
- package/dist/cli/chunks/{chunk-2IVE5AR3.js → chunk-XEAEYC6Y.js} +1 -1
- package/dist/cli/chunks/{chunk-IPA7K556.js → chunk-XNBOGCF3.js} +2 -2
- package/dist/cli/chunks/{chunk-A2JCRXTK.js → chunk-XPRVF4YE.js} +2 -2
- package/dist/cli/chunks/{chunk-VUR5THML.js → chunk-YBQH2VOP.js} +2 -2
- package/dist/cli/chunks/{chunk-A5Y7DAVQ.js → chunk-YQFLQE53.js} +2 -2
- package/dist/cli/chunks/{chunk-JGIJPDGD.js → chunk-YSZ5OE3Z.js} +2 -2
- package/dist/cli/chunks/{chunk-JNXK47OL.js → chunk-YXRASAPI.js} +2 -2
- package/dist/cli/chunks/{chunk-MYUMJ2ZI.js → chunk-YZEXYO4W.js} +1 -1
- package/dist/cli/chunks/{chunk-NNBQZR73.js → chunk-YZWBNBTW.js} +2 -2
- package/dist/cli/chunks/{chunk-WDEXOLK2.js → chunk-ZAKQLAHT.js} +1 -1
- package/dist/cli/chunks/{ci-BZNWW3I3.js → ci-ENOASTYB.js} +2 -2
- package/dist/cli/chunks/{ci-config-LOHNXOKV.js → ci-config-B26OXHQM.js} +2 -2
- package/dist/cli/chunks/{ci-output-LCOQBSJL.js → ci-output-JTCLLNOQ.js} +2 -2
- package/dist/cli/chunks/{circuit-breaker-7LRXTLFE.js → circuit-breaker-23JMFNM5.js} +2 -2
- package/dist/cli/chunks/{claude-flow-setup-HBU4VWC3.js → claude-flow-setup-ON6L462G.js} +2 -2
- package/dist/cli/chunks/client-TV3V2YZ5.js +2 -0
- package/dist/cli/chunks/{cline-installer-CO6MLH6X.js → cline-installer-OWQ4D2FQ.js} +2 -2
- package/dist/cli/chunks/{code-SIXBS6JM.js → code-2ZRL7SEU.js} +19 -18
- package/dist/cli/chunks/{code-index-extractor-GWJKZ2IQ.js → code-index-extractor-JXSQVM67.js} +2 -2
- package/dist/cli/chunks/{codex-installer-6NINVWXJ.js → codex-installer-7LXZYBSQ.js} +2 -2
- package/dist/cli/chunks/{completions-7VIX3GML.js → completions-C2LR623C.js} +2 -2
- package/dist/cli/chunks/{complexity-analyzer-FBQR6ZP2.js → complexity-analyzer-TGQLHCYJ.js} +2 -2
- package/dist/cli/chunks/{continuedev-installer-VA7RIXW5.js → continuedev-installer-RUGD24D2.js} +2 -2
- package/dist/cli/chunks/{copilot-installer-4QEBC4MU.js → copilot-installer-ZLFVLEJP.js} +2 -2
- package/dist/cli/chunks/core-handlers-PZT4OLWR.js +2 -0
- package/dist/cli/chunks/{cost-tracker-GRYKHPWL.js → cost-tracker-RT4QL745.js} +2 -2
- package/dist/cli/chunks/{coverage-USPMNKOU.js → coverage-NV3C4IMM.js} +3 -3
- package/dist/cli/chunks/cross-domain-router-QOFCZ7G4.js +2 -0
- package/dist/cli/chunks/{cursor-installer-ZXIPSZVH.js → cursor-installer-LJKLNFF6.js} +2 -2
- package/dist/cli/chunks/{daemon-D7F3RGI5.js → daemon-BMDXCQT5.js} +3 -3
- package/dist/cli/chunks/{daemon-N2VRHPSJ.js → daemon-FBH3IRYN.js} +4 -4
- package/dist/cli/chunks/{dag-attention-scheduler-NL6BA7BY.js → dag-attention-scheduler-JGDED55I.js} +2 -2
- package/dist/cli/chunks/{detect-XC2HCIIT.js → detect-SZIHIVCJ.js} +2 -2
- package/dist/cli/chunks/{dist-node-A3Y26MEI.js → dist-node-FV3KWXQ6.js} +2 -2
- package/dist/cli/chunks/{domain-handler-WV6SFXRB.js → domain-handler-GI5JWQOV.js} +2 -2
- package/dist/cli/chunks/{domain-plugins-KJIF6Z2B.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-PA3Y4KGO.js → embed-and-insert-pattern-GPRR3ZGD.js} +2 -2
- package/dist/cli/chunks/{eval-YGEZNUVE.js → eval-XPB3IGAP.js} +2 -2
- package/dist/cli/chunks/{experience-capture-middleware-D4T7NW6B.js → experience-capture-middleware-2E554UB3.js} +3 -3
- package/dist/cli/chunks/{fast-paths-6JYK7RYQ.js → fast-paths-ZSMWZPUC.js} +2 -2
- package/dist/cli/chunks/{feature-flags-RBH2GDSR.js → feature-flags-GIWVDVVC.js} +2 -2
- package/dist/cli/chunks/{feature-flags-DKXMDVPE.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-MV54UC4C.js → gnn-wrapper-CZNCNXXZ.js} +2 -2
- package/dist/cli/chunks/{heartbeat-handler-7DKMVQQH.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-6IWREDQC.js → hnsw-legacy-bridge-J3M3IK24.js} +2 -2
- package/dist/cli/chunks/{hnswlib-node-5BIESSCK.js → hnswlib-node-ULGTGDZW.js} +2 -2
- package/dist/cli/chunks/{hooks-3EETRM62.js → hooks-C4BUGYUQ.js} +10 -10
- package/dist/cli/chunks/hybrid-backend-B7M74PZG.js +2 -0
- package/dist/cli/chunks/{hypergraph-engine-RSWCB2D3.js → hypergraph-engine-WINGVMPG.js} +2 -2
- package/dist/cli/chunks/{hypergraph-handler-552LXKL3.js → hypergraph-handler-GADMWKAU.js} +3 -3
- package/dist/cli/chunks/impact-analyzer-PZYOVKQO.js +2 -0
- package/dist/cli/chunks/{init-guard-OTDBJ5HD.js → init-guard-K2T4QWAO.js} +2 -2
- package/dist/cli/chunks/{init-handler-3FK3TKEA.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-KZ2O4LF3.js → kilocode-installer-XENXNEIU.js} +2 -2
- package/dist/cli/chunks/{kiro-installer-MLCCXRF7.js → kiro-installer-3PG2TJ67.js} +2 -2
- package/dist/cli/chunks/knowledge-graph-BVD5Z66M.js +2 -0
- package/dist/cli/chunks/{learning-QUCMBD77.js → learning-6KDH7FK4.js} +3 -3
- package/dist/cli/chunks/{llm-router-PDEV3UP2.js → llm-router-RKVDEWU2.js} +4 -4
- package/dist/cli/chunks/llm-router-service-KHCAMSUU.js +2 -0
- package/dist/cli/chunks/{load-XFVVLO7E.js → load-ITHC564X.js} +2 -2
- package/dist/cli/chunks/load-test-RUF7DZA5.js +2 -0
- package/dist/cli/chunks/{mcp-74G3CL2S.js → mcp-TCL5UW3N.js} +2 -2
- package/dist/cli/chunks/{memory-XIFM6JNX.js → memory-BKDAY2N2.js} +5 -5
- package/dist/cli/chunks/memory-backend-7ZLFOVGG.js +2 -0
- package/dist/cli/chunks/{memory-handlers-ZCKURV6S.js → memory-handlers-WN4FXFOA.js} +2 -2
- package/dist/cli/chunks/{multi-model-executor-7L4W3O2Q.js → multi-model-executor-VHAT7ZPF.js} +2 -2
- package/dist/cli/chunks/{opencode-installer-BPG422LF.js → opencode-installer-E3VM3EEY.js} +2 -2
- package/dist/cli/chunks/{orchestrator-OEAFLAEV.js → orchestrator-BMQ6X762.js} +5 -5
- package/dist/cli/chunks/pattern-null-store-RY6CVYHP.js +2 -0
- package/dist/cli/chunks/{pattern-usage-recorder-LOPNCULT.js → pattern-usage-recorder-GOOR2BV5.js} +2 -2
- package/dist/cli/chunks/{pipeline-VWTYUZB7.js → pipeline-5NSFQQIX.js} +2 -2
- package/dist/cli/chunks/{platform-WFJJ3X2E.js → platform-SQM34J5G.js} +2 -2
- package/dist/cli/chunks/{plugin-744TPUSG.js → plugin-UQJZRMZG.js} +2 -2
- package/dist/cli/chunks/{prime-radiant-advanced-wasm-BD5BLNDR.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-JIBILI74.js → protocol-handler-OBDCVY6X.js} +2 -2
- package/dist/cli/chunks/{prove-MNOL5FYW.js → prove-XDC7I4XT.js} +2 -2
- package/dist/cli/chunks/qe-reasoning-bank-DQSSX2IP.js +2 -0
- package/dist/cli/chunks/{quality-JEGBDGGX.js → quality-L4GQ6WX4.js} +2 -2
- package/dist/cli/chunks/{quality-gate-SYJ6ROMI.js → quality-gate-MJG66LKN.js} +3 -3
- package/dist/cli/chunks/queen-coordinator-6FN4BZIX.js +2 -0
- package/dist/cli/chunks/{real-embeddings-ZWXS5ZFV.js → real-embeddings-HW4G2LWL.js} +2 -2
- package/dist/cli/chunks/{ref-validation-RRHUFW2N.js → ref-validation-FC7JOJ2C.js} +2 -2
- package/dist/cli/chunks/{roocode-installer-XFO6JSVN.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-L2K3JASE.js → routing-handler-QF4WVB2S.js} +2 -2
- package/dist/cli/chunks/{ruvector-commands-A6CINHGM.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-T4RY7L53.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-IR33TGQS.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-Z5GDE2IH.js → security-OSAE7VAP.js} +3 -3
- package/dist/cli/chunks/{shared-rvf-adapter-SIZMEHPM.js → shared-rvf-adapter-COUOS665.js} +2 -2
- package/dist/cli/chunks/{shared-rvf-dual-writer-HLM65RDS.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-SKSZG7P5.js → standalone-memory-E6JBMOIL.js} +2 -2
- package/dist/cli/chunks/{status-handler-766YOOMJ.js → status-handler-AFTCIYIX.js} +2 -2
- package/dist/cli/chunks/{structural-health-M45FNOLT.js → structural-health-2FROCEI4.js} +2 -2
- package/dist/cli/chunks/{sync-B2U366I3.js → sync-VAYTOWDC.js} +2 -2
- package/dist/cli/chunks/{sync-6CJ24B5T.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-TODH7KRF.js → test-5JSVTOMY.js} +4 -4
- package/dist/cli/chunks/test-runner-process-LEPF2OSS.js +2 -0
- package/dist/cli/chunks/{test-scheduling-VMVMVRHT.js → test-scheduling-HBOHVLI3.js} +3 -3
- package/dist/cli/chunks/{token-bootstrap-XQW7BMCK.js → token-bootstrap-5VEPTPFA.js} +2 -2
- package/dist/cli/chunks/{token-usage-JCZEIRKO.js → token-usage-TBJHDLY6.js} +2 -2
- package/dist/cli/chunks/{transformers-U2ML3OHE.js → transformers-VAWYMHMZ.js} +2 -2
- package/dist/cli/chunks/tree-sitter-wasm-parser-TSZTCMFV.js +2 -0
- package/dist/cli/chunks/{types-GGEPCHP6.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-T5GRM7HS.js → upgrade-K5PIHXRB.js} +2 -2
- package/dist/cli/chunks/{validate-XMUJPLP3.js → validate-RPTS7RYJ.js} +2 -2
- package/dist/cli/chunks/{validate-swarm-KJLF7JEH.js → validate-swarm-B2ZL556X.js} +2 -2
- package/dist/cli/chunks/visual-security-6Q44XNLB.js +2 -0
- package/dist/cli/chunks/{web-tree-sitter-LOHVZ7G5.js → web-tree-sitter-K4DUJC32.js} +2 -2
- package/dist/cli/chunks/{windsurf-installer-33FBTXJU.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-VWBO4NXE.js → witness-chain-repair-L6Y5RFXR.js} +2 -2
- package/dist/cli/chunks/{witness-chain-verifier-BHJ3ZAEK.js → witness-chain-verifier-N4CW7FZX.js} +2 -2
- package/dist/cli/chunks/{witness-key-manager-WNVPH2Z3.js → witness-key-manager-TDNPS3WD.js} +2 -2
- package/dist/cli/chunks/{workflow-6QR5MQTO.js → workflow-XRZA3YCY.js} +4 -4
- package/dist/cli/chunks/workflow-orchestrator-CVNNT2RJ.js +2 -0
- package/dist/cli/chunks/{wrappers-EHOL62TS.js → wrappers-5JIFWKN6.js} +2 -2
- package/dist/cli/commands/code.js +6 -0
- 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/handlers/task-handler.d.ts +5 -0
- package/dist/cli/handlers/task-handler.js +20 -0
- package/dist/cli/utils/fleet-operation.d.ts +5 -2
- package/dist/cli/utils/fleet-operation.js +13 -2
- package/dist/cli/utils/fleet-result.d.ts +16 -2
- package/dist/cli/utils/fleet-result.js +26 -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/handler-types.d.ts +2 -2
- package/dist/coordination/handlers/handler-utils.d.ts +6 -0
- package/dist/coordination/handlers/handler-utils.js +14 -4
- 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/semantic-analyzer.d.ts +43 -5
- package/dist/domains/code-intelligence/services/semantic-analyzer.js +134 -71
- 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/integrations/embeddings/index/HNSWIndex.js +8 -4
- package/dist/integrations/ruvector/transfer-coherence-stub.js +5 -10
- package/dist/mcp/bundle.js +480 -480
- package/dist/mcp/handlers/domain-handler-configs.d.ts +8 -0
- package/dist/mcp/handlers/domain-handler-configs.js +9 -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.js +41 -3
- package/dist/mcp/handlers/task-handlers.d.ts +3 -251
- package/dist/mcp/handlers/task-handlers.js +6 -828
- 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 +12 -2
- 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/shared/events/domain-events.d.ts +2 -0
- 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/package.json +1 -1
- package/dist/cli/chunks/adapter-HL7MOCQN.js +0 -2
- package/dist/cli/chunks/aqe-learning-engine-OZ2DXB4G.js +0 -2
- package/dist/cli/chunks/base-WIM7G3HC.js +0 -2
- package/dist/cli/chunks/browser-workflow-QRKCFVR3.js +0 -2
- package/dist/cli/chunks/chunk-QSGEBCDB.js +0 -62
- package/dist/cli/chunks/chunk-UJNGGFGX.js +0 -2
- package/dist/cli/chunks/chunk-VXVTFKRA.js +0 -2
- package/dist/cli/chunks/chunk-XCNSGSKV.js +0 -3
- package/dist/cli/chunks/client-4PNYDFYS.js +0 -2
- package/dist/cli/chunks/core-handlers-ODO6LUWQ.js +0 -2
- package/dist/cli/chunks/cross-domain-router-DT4MHJKK.js +0 -2
- package/dist/cli/chunks/domain-transfer-L3F6AES2.js +0 -2
- package/dist/cli/chunks/dream-QOB3JCOM.js +0 -2
- package/dist/cli/chunks/file-discovery-BN76S2PR.js +0 -2
- package/dist/cli/chunks/fleet-43YMXACN.js +0 -46
- package/dist/cli/chunks/heartbeat-scheduler-3NNP4WCP.js +0 -2
- package/dist/cli/chunks/hnsw-adapter-MZR7Y4WF.js +0 -2
- package/dist/cli/chunks/hnsw-index-HE4AX22U.js +0 -2
- package/dist/cli/chunks/hybrid-backend-IHUHB3Y2.js +0 -2
- package/dist/cli/chunks/impact-analyzer-FI6GI6PD.js +0 -2
- package/dist/cli/chunks/init-wizard-WLQKH5Y5.js +0 -2
- package/dist/cli/chunks/kernel-2WZOQEZS.js +0 -2
- package/dist/cli/chunks/knowledge-graph-G3LVKK6P.js +0 -2
- package/dist/cli/chunks/llm-router-service-MM75HKWJ.js +0 -2
- package/dist/cli/chunks/load-test-BEWEE44J.js +0 -2
- package/dist/cli/chunks/memory-backend-NYKBBKZR.js +0 -2
- package/dist/cli/chunks/pattern-null-store-QGPUIV6M.js +0 -2
- package/dist/cli/chunks/project-root-C7ELXZRK.js +0 -2
- package/dist/cli/chunks/protocol-executor-SUVE33BM.js +0 -2
- package/dist/cli/chunks/qe-reasoning-bank-YWZMMGJB.js +0 -2
- package/dist/cli/chunks/queen-coordinator-ZFAKXRN7.js +0 -2
- package/dist/cli/chunks/router-4FTAVYLJ.js +0 -2
- package/dist/cli/chunks/routing-feedback-IO2KOWMJ.js +0 -2
- package/dist/cli/chunks/rvf-dual-writer-KCIRNE7C.js +0 -2
- package/dist/cli/chunks/rvf-migration-adapter-MFC5WTJU.js +0 -2
- package/dist/cli/chunks/rvf-native-adapter-I3KWHE7X.js +0 -2
- package/dist/cli/chunks/safe-db-QXDZ6QY3.js +0 -2
- package/dist/cli/chunks/schedule-CZKD6RIY.js +0 -2
- package/dist/cli/chunks/scheduler-BLA3Q4CH.js +0 -2
- package/dist/cli/chunks/sqlite-persistence-XIUYDJC4.js +0 -2
- package/dist/cli/chunks/task-handler-P6IFLCKP.js +0 -62
- package/dist/cli/chunks/task-handlers-DPWMUKFC.js +0 -9
- package/dist/cli/chunks/test-runner-process-46IPK3GH.js +0 -2
- package/dist/cli/chunks/tree-sitter-wasm-parser-MOI2WWNJ.js +0 -2
- package/dist/cli/chunks/unified-memory-FL26RTV3.js +0 -2
- package/dist/cli/chunks/unified-memory-hnsw-E2BPTH3U.js +0 -2
- package/dist/cli/chunks/unified-persistence-5ZOUPKHF.js +0 -2
- package/dist/cli/chunks/visual-security-IJVPO5FA.js +0 -2
- package/dist/cli/chunks/witness-chain-5FAFCQKP.js +0 -2
- package/dist/cli/chunks/witness-chain-V2M32W5D.js +0 -2
- package/dist/cli/chunks/workflow-orchestrator-3JLF3IX7.js +0 -2
|
@@ -148,6 +148,9 @@ export interface AccessibilityTestResult {
|
|
|
148
148
|
score: number;
|
|
149
149
|
violations: unknown[];
|
|
150
150
|
warnings: unknown[];
|
|
151
|
+
/** #1145: false when no page was audited; `passed` is then not a verdict and `score` is -1. */
|
|
152
|
+
measured?: boolean;
|
|
153
|
+
note?: string;
|
|
151
154
|
duration: number;
|
|
152
155
|
savedFiles?: string[];
|
|
153
156
|
/** #933: true when result files were written; see savedFiles for their paths. */
|
|
@@ -247,6 +250,11 @@ export interface CodeIndexResult {
|
|
|
247
250
|
tests: number;
|
|
248
251
|
toolsUsed: string[];
|
|
249
252
|
};
|
|
253
|
+
/**
|
|
254
|
+
* #1224: non-fatal indexing warnings, e.g. that code search does not cover
|
|
255
|
+
* every indexed file. Absent when there are none.
|
|
256
|
+
*/
|
|
257
|
+
warnings?: string[];
|
|
250
258
|
/**
|
|
251
259
|
* #1096: discovered paths that were not indexed (missing, not a regular
|
|
252
260
|
* file, outside the project root, filtered out), with the reason. Absent
|
|
@@ -687,11 +687,15 @@ export const accessibilityTestConfig = {
|
|
|
687
687
|
}),
|
|
688
688
|
mapToResult: (taskId, data, duration, savedFiles) => ({
|
|
689
689
|
taskId,
|
|
690
|
-
status: 'completed',
|
|
690
|
+
status: data.measured === true ? 'completed' : 'not-measured',
|
|
691
691
|
passed: data.passed || false,
|
|
692
|
-
|
|
692
|
+
// #1145: an unmeasured score is -1, never a 0/100 grade
|
|
693
|
+
score: data.measured === true && typeof data.score === 'number' ? data.score : -1,
|
|
693
694
|
violations: data.violations || [],
|
|
694
695
|
warnings: data.warnings || [],
|
|
696
|
+
// #1145: fail closed; only an explicit measurement counts as one
|
|
697
|
+
measured: data.measured === true,
|
|
698
|
+
...(typeof data.note === 'string' ? { note: data.note } : {}),
|
|
695
699
|
duration,
|
|
696
700
|
savedFiles,
|
|
697
701
|
}),
|
|
@@ -813,6 +817,9 @@ export const codeIndexConfig = {
|
|
|
813
817
|
symbolsExtracted: data.symbolsExtracted || 0,
|
|
814
818
|
relationsFound: data.relationsFound || 0,
|
|
815
819
|
...(data.projectMetrics ? { projectMetrics: data.projectMetrics } : {}),
|
|
820
|
+
...(Array.isArray(data.warnings) && data.warnings.length > 0
|
|
821
|
+
? { warnings: data.warnings }
|
|
822
|
+
: {}),
|
|
816
823
|
...(Array.isArray(data.skipped) && data.skipped.length > 0
|
|
817
824
|
? { skipped: data.skipped }
|
|
818
825
|
: {}),
|
|
@@ -224,6 +224,9 @@ async function recordDomainFeedback(domain, data, durationMs, params) {
|
|
|
224
224
|
coverageMethod: data.coverageMethod ?? 'instrumented-report',
|
|
225
225
|
branchDataCollected: data.branchCoverage !== null && data.branchCoverage !== undefined,
|
|
226
226
|
functionDataCollected: data.functionCoverage !== null && data.functionCoverage !== undefined,
|
|
227
|
+
// #1030: coverage from a run whose tests failed says so, as
|
|
228
|
+
// coverage:latest and the per-file records already do (#1027 N4).
|
|
229
|
+
...(data.runStatus === 'passed' || data.runStatus === 'failed' ? { runStatus: data.runStatus } : {}),
|
|
227
230
|
},
|
|
228
231
|
};
|
|
229
232
|
await loop.recordCoverageSession(session);
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agentic QE v3 - Model routing MCP handlers (ADR-051)
|
|
3
|
+
* Routing decisions, routing metrics and routing economics.
|
|
4
|
+
*/
|
|
5
|
+
import type { ToolResult } from '../types';
|
|
6
|
+
import { type RoutingLogEntry, type RoutingStats } from '../services/task-router';
|
|
7
|
+
import type { ModelTier } from '../../integrations/agentic-flow';
|
|
8
|
+
export interface ModelRouteParams {
|
|
9
|
+
/** Task description to analyze */
|
|
10
|
+
task: string;
|
|
11
|
+
/** Optional code context for complexity analysis */
|
|
12
|
+
codeContext?: string;
|
|
13
|
+
/** Optional file paths */
|
|
14
|
+
filePaths?: string[];
|
|
15
|
+
/** Manual tier override */
|
|
16
|
+
manualTier?: ModelTier;
|
|
17
|
+
/** Mark as critical task */
|
|
18
|
+
isCritical?: boolean;
|
|
19
|
+
/** Agent type making the request */
|
|
20
|
+
agentType?: string;
|
|
21
|
+
/** Domain context */
|
|
22
|
+
domain?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface ModelRouteResult {
|
|
25
|
+
tier: ModelTier;
|
|
26
|
+
tierName: string;
|
|
27
|
+
modelId: string;
|
|
28
|
+
executionStrategy: string;
|
|
29
|
+
useAgentBooster: boolean;
|
|
30
|
+
agentBoosterTransform?: string;
|
|
31
|
+
complexity: {
|
|
32
|
+
overall: number;
|
|
33
|
+
code: number;
|
|
34
|
+
reasoning: number;
|
|
35
|
+
scope: number;
|
|
36
|
+
};
|
|
37
|
+
confidence: number;
|
|
38
|
+
rationale: string;
|
|
39
|
+
warnings: string[];
|
|
40
|
+
budget: {
|
|
41
|
+
allowed: boolean;
|
|
42
|
+
wasDowngraded: boolean;
|
|
43
|
+
estimatedCostUsd: number;
|
|
44
|
+
};
|
|
45
|
+
decisionTimeMs: number;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Handle model routing query - returns routing decision without submitting task
|
|
49
|
+
*/
|
|
50
|
+
export declare function handleModelRoute(params: ModelRouteParams): Promise<ToolResult<ModelRouteResult>>;
|
|
51
|
+
export interface RoutingMetricsParams {
|
|
52
|
+
/** Include routing log entries */
|
|
53
|
+
includeLog?: boolean;
|
|
54
|
+
/** Max log entries to return */
|
|
55
|
+
logLimit?: number;
|
|
56
|
+
}
|
|
57
|
+
export interface RoutingMetricsResult {
|
|
58
|
+
stats: RoutingStats;
|
|
59
|
+
log?: RoutingLogEntry[];
|
|
60
|
+
modelRouterMetrics: {
|
|
61
|
+
totalDecisions: number;
|
|
62
|
+
avgDecisionTimeMs: number;
|
|
63
|
+
agentBoosterStats: {
|
|
64
|
+
eligible: number;
|
|
65
|
+
used: number;
|
|
66
|
+
successRate: number;
|
|
67
|
+
};
|
|
68
|
+
budgetStats: {
|
|
69
|
+
totalSpentUsd: number;
|
|
70
|
+
budgetUtilization: number;
|
|
71
|
+
downgradeCount: number;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Handle routing metrics query
|
|
77
|
+
*/
|
|
78
|
+
export declare function handleRoutingMetrics(params: RoutingMetricsParams): Promise<ToolResult<RoutingMetricsResult>>;
|
|
79
|
+
export interface RoutingEconomicsParams {
|
|
80
|
+
/** Task complexity score 0-1 for tier scoring (default: 0.5) */
|
|
81
|
+
taskComplexity?: number;
|
|
82
|
+
}
|
|
83
|
+
export interface RoutingEconomicsResult {
|
|
84
|
+
tierEfficiency: Array<{
|
|
85
|
+
tier: string;
|
|
86
|
+
qualityScore: number;
|
|
87
|
+
estimatedCostUsd: number;
|
|
88
|
+
qualityPerDollar: number | string;
|
|
89
|
+
economicScore: number;
|
|
90
|
+
}>;
|
|
91
|
+
currentHourlyCostUsd: number;
|
|
92
|
+
currentDailyCostUsd: number;
|
|
93
|
+
budgetRemaining: {
|
|
94
|
+
hourly: number | null;
|
|
95
|
+
daily: number | null;
|
|
96
|
+
};
|
|
97
|
+
recommendation: string;
|
|
98
|
+
savingsOpportunity: {
|
|
99
|
+
usd: number;
|
|
100
|
+
description: string;
|
|
101
|
+
} | null;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Handle economic routing report query
|
|
105
|
+
*/
|
|
106
|
+
export declare function handleRoutingEconomics(params: RoutingEconomicsParams): Promise<ToolResult<RoutingEconomicsResult>>;
|
|
107
|
+
//# sourceMappingURL=model-route-handlers.d.ts.map
|
|
@@ -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
|
|
@@ -13,6 +13,7 @@ import { resolve } from 'node:path';
|
|
|
13
13
|
import { findProjectRoot } from '../../kernel/project-root.js';
|
|
14
14
|
import { confineIndexPaths } from '../../domains/code-intelligence/index-path-guard.js';
|
|
15
15
|
import { requirePayloadPath } from '../../shared/io/payload-path-guard.js';
|
|
16
|
+
import { isCodeSearch, namesTestGeneration } from './task-inference.js';
|
|
16
17
|
const needs = (type, what) => ({
|
|
17
18
|
kind: 'needs-input',
|
|
18
19
|
error: `task_orchestrate inferred '${type}' from the description, but ${what}`,
|
|
@@ -75,6 +76,31 @@ async function coverageRoute(request) {
|
|
|
75
76
|
payload: { target, detectGaps: true },
|
|
76
77
|
};
|
|
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
|
+
}
|
|
78
104
|
/** Decide how task_orchestrate runs an inferred task type. */
|
|
79
105
|
export async function routeInferredTask(type, request) {
|
|
80
106
|
const filePaths = request.filePaths ?? [];
|
|
@@ -89,7 +115,16 @@ export async function routeInferredTask(type, request) {
|
|
|
89
115
|
return confined;
|
|
90
116
|
return { kind: 'route', type: 'sast-scan', domain: 'security-compliance', payload: { files: confined.files } };
|
|
91
117
|
}
|
|
92
|
-
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
|
+
}
|
|
93
128
|
// #1134: indexing reads exactly the files it is given; without them the
|
|
94
129
|
// task could only fail after it was accepted. The indexer confines the
|
|
95
130
|
// paths to the project itself (#1096).
|
|
@@ -98,6 +133,7 @@ export async function routeInferredTask(type, request) {
|
|
|
98
133
|
'or use code_index with a target.');
|
|
99
134
|
}
|
|
100
135
|
return { kind: 'as-inferred' };
|
|
136
|
+
}
|
|
101
137
|
case 'assess-quality': {
|
|
102
138
|
if (filePaths.length === 0) {
|
|
103
139
|
return needs(type, 'no source files were given. Pass filePaths with the source files to assess, ' +
|
|
@@ -119,8 +155,8 @@ export async function routeInferredTask(type, request) {
|
|
|
119
155
|
'Lighthouse), and the domain task handler cannot guarantee one. Use accessibility_test with the page URL.');
|
|
120
156
|
case 'optimize-learning':
|
|
121
157
|
// optimize-strategies overwrites the stored learned strategies
|
|
122
|
-
// (persist: true)
|
|
123
|
-
//
|
|
158
|
+
// (persist: true), so learning wording alone does not run it (#1146:
|
|
159
|
+
// "improve"/"optimize" alone no longer infer it at all).
|
|
124
160
|
return needs(type, 'learning optimization overwrites the stored learned strategies, so it is not run from ' +
|
|
125
161
|
'a description. Use task_submit with type optimize-strategies in domain learning-optimization.');
|
|
126
162
|
case 'run-chaos':
|
|
@@ -134,6 +170,8 @@ export async function routeInferredTask(type, request) {
|
|
|
134
170
|
return needs(type, 'requirement validation needs a structured requirement (title, description, ' +
|
|
135
171
|
'acceptance criteria). Use requirements_validate, or task_submit with type validate and ' +
|
|
136
172
|
'payload.requirement in domain requirements-validation.');
|
|
173
|
+
case 'generate-tests':
|
|
174
|
+
return testGenerationRoute(request);
|
|
137
175
|
default:
|
|
138
176
|
return { kind: 'as-inferred' };
|
|
139
177
|
}
|
|
@@ -6,11 +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
|
-
|
|
12
|
-
import type { ModelTier } from '../../integrations/agentic-flow';
|
|
13
|
-
import { type Priority } from '../../shared/types/index.js';
|
|
9
|
+
export * from './task-orchestrate-handler.js';
|
|
10
|
+
export * from './model-route-handlers.js';
|
|
11
|
+
export * from './task-learning-handlers.js';
|
|
14
12
|
export declare function handleTaskSubmit(params: TaskSubmitParams): Promise<ToolResult<TaskSubmitResult>>;
|
|
15
13
|
export declare function handleTaskList(params: TaskListParams): Promise<ToolResult<TaskStatusResult[]>>;
|
|
16
14
|
export declare function handleTaskStatus(params: TaskStatusParams): Promise<ToolResult<TaskStatusResult>>;
|
|
@@ -19,250 +17,4 @@ export declare function handleTaskCancel(params: TaskCancelParams): Promise<Tool
|
|
|
19
17
|
cancelled: boolean;
|
|
20
18
|
cancellationResultPending: boolean;
|
|
21
19
|
}>>;
|
|
22
|
-
export interface TaskOrchestrateParams {
|
|
23
|
-
task: string;
|
|
24
|
-
strategy?: 'parallel' | 'sequential' | 'adaptive';
|
|
25
|
-
/** Named levels, or a canonical p0-p3 priority (p0 stays p0). */
|
|
26
|
-
priority?: 'low' | 'medium' | 'high' | 'critical' | Priority;
|
|
27
|
-
maxAgents?: number;
|
|
28
|
-
/** Manual tier override (0-4) */
|
|
29
|
-
manualTier?: ModelTier;
|
|
30
|
-
/** Code context for complexity analysis */
|
|
31
|
-
codeContext?: string;
|
|
32
|
-
/** File paths involved */
|
|
33
|
-
filePaths?: string[];
|
|
34
|
-
context?: {
|
|
35
|
-
project?: string;
|
|
36
|
-
branch?: string;
|
|
37
|
-
environment?: string;
|
|
38
|
-
requirements?: string[];
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* #1022: how learned patterns informed task_orchestrate.
|
|
43
|
-
* - 'vector': embedding similarity plus text matching
|
|
44
|
-
* - 'lexical-only': no working embedder (absent, or failed at runtime, #1187);
|
|
45
|
-
* text matching only, no similarity
|
|
46
|
-
* scores, and experience guidance unavailable
|
|
47
|
-
* - 'unavailable': the ReasoningBank could not start; no learned guidance
|
|
48
|
-
*
|
|
49
|
-
* #1204: `experienceGuidance` says the same for similar-experience guidance:
|
|
50
|
-
* 'unavailable' (with the reason) when its embedder failed or is absent.
|
|
51
|
-
* Omitted when experience replay is disabled or the ReasoningBank is down.
|
|
52
|
-
*/
|
|
53
|
-
export interface OrchestrateLearningStatus {
|
|
54
|
-
patternSearch: 'vector' | 'lexical-only' | 'unavailable';
|
|
55
|
-
reason?: string;
|
|
56
|
-
experienceGuidance?: ExperienceGuidanceStatus;
|
|
57
|
-
}
|
|
58
|
-
export interface TaskOrchestrateResult {
|
|
59
|
-
taskId: string;
|
|
60
|
-
/** The task type submitted to the domain. */
|
|
61
|
-
type: TaskType;
|
|
62
|
-
/** #1125: the type inferred from the description, when another handler type runs it. */
|
|
63
|
-
inferredType?: TaskType;
|
|
64
|
-
priority: 'p0' | 'p1' | 'p2' | 'p3';
|
|
65
|
-
strategy: string;
|
|
66
|
-
status: string;
|
|
67
|
-
message: string;
|
|
68
|
-
/** ADR-051: Model routing decision */
|
|
69
|
-
routing: {
|
|
70
|
-
tier: ModelTier;
|
|
71
|
-
tierName: string;
|
|
72
|
-
modelId: string;
|
|
73
|
-
executionStrategy: string;
|
|
74
|
-
complexity: number;
|
|
75
|
-
confidence: number;
|
|
76
|
-
useAgentBooster: boolean;
|
|
77
|
-
rationale: string;
|
|
78
|
-
decisionTimeMs: number;
|
|
79
|
-
};
|
|
80
|
-
/** #1022: how learned patterns informed this orchestration */
|
|
81
|
-
learning: OrchestrateLearningStatus;
|
|
82
|
-
}
|
|
83
|
-
export declare function handleTaskOrchestrate(params: TaskOrchestrateParams): Promise<ToolResult<TaskOrchestrateResult>>;
|
|
84
|
-
export interface ModelRouteParams {
|
|
85
|
-
/** Task description to analyze */
|
|
86
|
-
task: string;
|
|
87
|
-
/** Optional code context for complexity analysis */
|
|
88
|
-
codeContext?: string;
|
|
89
|
-
/** Optional file paths */
|
|
90
|
-
filePaths?: string[];
|
|
91
|
-
/** Manual tier override */
|
|
92
|
-
manualTier?: ModelTier;
|
|
93
|
-
/** Mark as critical task */
|
|
94
|
-
isCritical?: boolean;
|
|
95
|
-
/** Agent type making the request */
|
|
96
|
-
agentType?: string;
|
|
97
|
-
/** Domain context */
|
|
98
|
-
domain?: string;
|
|
99
|
-
}
|
|
100
|
-
export interface ModelRouteResult {
|
|
101
|
-
tier: ModelTier;
|
|
102
|
-
tierName: string;
|
|
103
|
-
modelId: string;
|
|
104
|
-
executionStrategy: string;
|
|
105
|
-
useAgentBooster: boolean;
|
|
106
|
-
agentBoosterTransform?: string;
|
|
107
|
-
complexity: {
|
|
108
|
-
overall: number;
|
|
109
|
-
code: number;
|
|
110
|
-
reasoning: number;
|
|
111
|
-
scope: number;
|
|
112
|
-
};
|
|
113
|
-
confidence: number;
|
|
114
|
-
rationale: string;
|
|
115
|
-
warnings: string[];
|
|
116
|
-
budget: {
|
|
117
|
-
allowed: boolean;
|
|
118
|
-
wasDowngraded: boolean;
|
|
119
|
-
estimatedCostUsd: number;
|
|
120
|
-
};
|
|
121
|
-
decisionTimeMs: number;
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Handle model routing query - returns routing decision without submitting task
|
|
125
|
-
*/
|
|
126
|
-
export declare function handleModelRoute(params: ModelRouteParams): Promise<ToolResult<ModelRouteResult>>;
|
|
127
|
-
export interface RoutingMetricsParams {
|
|
128
|
-
/** Include routing log entries */
|
|
129
|
-
includeLog?: boolean;
|
|
130
|
-
/** Max log entries to return */
|
|
131
|
-
logLimit?: number;
|
|
132
|
-
}
|
|
133
|
-
export interface RoutingMetricsResult {
|
|
134
|
-
stats: RoutingStats;
|
|
135
|
-
log?: RoutingLogEntry[];
|
|
136
|
-
modelRouterMetrics: {
|
|
137
|
-
totalDecisions: number;
|
|
138
|
-
avgDecisionTimeMs: number;
|
|
139
|
-
agentBoosterStats: {
|
|
140
|
-
eligible: number;
|
|
141
|
-
used: number;
|
|
142
|
-
successRate: number;
|
|
143
|
-
};
|
|
144
|
-
budgetStats: {
|
|
145
|
-
totalSpentUsd: number;
|
|
146
|
-
budgetUtilization: number;
|
|
147
|
-
downgradeCount: number;
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Handle routing metrics query
|
|
153
|
-
*/
|
|
154
|
-
export declare function handleRoutingMetrics(params: RoutingMetricsParams): Promise<ToolResult<RoutingMetricsResult>>;
|
|
155
|
-
export interface RoutingEconomicsParams {
|
|
156
|
-
/** Task complexity score 0-1 for tier scoring (default: 0.5) */
|
|
157
|
-
taskComplexity?: number;
|
|
158
|
-
}
|
|
159
|
-
export interface RoutingEconomicsResult {
|
|
160
|
-
tierEfficiency: Array<{
|
|
161
|
-
tier: string;
|
|
162
|
-
qualityScore: number;
|
|
163
|
-
estimatedCostUsd: number;
|
|
164
|
-
qualityPerDollar: number | string;
|
|
165
|
-
economicScore: number;
|
|
166
|
-
}>;
|
|
167
|
-
currentHourlyCostUsd: number;
|
|
168
|
-
currentDailyCostUsd: number;
|
|
169
|
-
budgetRemaining: {
|
|
170
|
-
hourly: number | null;
|
|
171
|
-
daily: number | null;
|
|
172
|
-
};
|
|
173
|
-
recommendation: string;
|
|
174
|
-
savingsOpportunity: {
|
|
175
|
-
usd: number;
|
|
176
|
-
description: string;
|
|
177
|
-
} | null;
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* Handle economic routing report query
|
|
181
|
-
*/
|
|
182
|
-
export declare function handleRoutingEconomics(params: RoutingEconomicsParams): Promise<ToolResult<RoutingEconomicsResult>>;
|
|
183
|
-
export interface TaskOutcomeRecordParams {
|
|
184
|
-
/** Task ID */
|
|
185
|
-
taskId: string;
|
|
186
|
-
/** Task description */
|
|
187
|
-
task: string;
|
|
188
|
-
/** Task type */
|
|
189
|
-
taskType: string;
|
|
190
|
-
/** Whether the task succeeded */
|
|
191
|
-
success: boolean;
|
|
192
|
-
/** Execution time in ms */
|
|
193
|
-
executionTimeMs: number;
|
|
194
|
-
/** Agent that executed the task */
|
|
195
|
-
agentId?: string;
|
|
196
|
-
/** Domain */
|
|
197
|
-
domain?: string;
|
|
198
|
-
/** Model tier used */
|
|
199
|
-
modelTier?: number;
|
|
200
|
-
/** Quality score (0-1) */
|
|
201
|
-
qualityScore?: number;
|
|
202
|
-
/** Error message if failed */
|
|
203
|
-
error?: string;
|
|
204
|
-
/** Additional metrics */
|
|
205
|
-
metrics?: {
|
|
206
|
-
tokensUsed?: number;
|
|
207
|
-
testsGenerated?: number;
|
|
208
|
-
testsPassed?: number;
|
|
209
|
-
coverageImprovement?: number;
|
|
210
|
-
};
|
|
211
|
-
}
|
|
212
|
-
export interface TaskOutcomeRecordResult {
|
|
213
|
-
recorded: boolean;
|
|
214
|
-
patternStored: boolean;
|
|
215
|
-
message: string;
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* Record a task outcome for ReasoningBank learning
|
|
219
|
-
* ADR-051: Enables cross-session learning from task execution
|
|
220
|
-
*/
|
|
221
|
-
export declare function handleTaskOutcomeRecord(params: TaskOutcomeRecordParams): Promise<ToolResult<TaskOutcomeRecordResult>>;
|
|
222
|
-
export interface ReasoningBankStatsResult {
|
|
223
|
-
service: {
|
|
224
|
-
tasksRecorded: number;
|
|
225
|
-
successfulTasks: number;
|
|
226
|
-
failedTasks: number;
|
|
227
|
-
successRate: number;
|
|
228
|
-
patternsStored: number;
|
|
229
|
-
routingRequests: number;
|
|
230
|
-
};
|
|
231
|
-
patterns: {
|
|
232
|
-
totalPatterns: number;
|
|
233
|
-
byDomain: Record<string, number>;
|
|
234
|
-
byTier: Record<string, number>;
|
|
235
|
-
learningOutcomes: number;
|
|
236
|
-
patternSuccessRate: number;
|
|
237
|
-
};
|
|
238
|
-
embeddings: {
|
|
239
|
-
cacheSize: number;
|
|
240
|
-
dimension: number;
|
|
241
|
-
transformerAvailable: boolean;
|
|
242
|
-
};
|
|
243
|
-
performance: {
|
|
244
|
-
avgRoutingLatencyMs: number;
|
|
245
|
-
p95RoutingLatencyMs: number;
|
|
246
|
-
};
|
|
247
|
-
}
|
|
248
|
-
/**
|
|
249
|
-
* Get ReasoningBank statistics
|
|
250
|
-
* ADR-051: Provides visibility into learning system
|
|
251
|
-
*/
|
|
252
|
-
export declare function handleReasoningBankStats(): Promise<ToolResult<ReasoningBankStatsResult>>;
|
|
253
|
-
/**
|
|
254
|
-
* Enhanced task status that records outcomes for learning
|
|
255
|
-
* ADR-051: Automatically records completed task outcomes
|
|
256
|
-
* INTEGRATION FIX: Now synchronous to ensure learning occurs
|
|
257
|
-
*/
|
|
258
|
-
export declare function handleTaskStatusWithLearning(params: TaskStatusParams): Promise<ToolResult<TaskStatusResult>>;
|
|
259
|
-
/**
|
|
260
|
-
* Subscribe to task lifecycle events to auto-close trajectories.
|
|
261
|
-
* Must be called after the CrossDomainEventRouter is initialized.
|
|
262
|
-
*/
|
|
263
|
-
export declare function subscribeTrajectoryEvents(router: import('../../coordination/cross-domain-router').CrossDomainEventRouter): void;
|
|
264
|
-
/**
|
|
265
|
-
* Unsubscribe trajectory event listeners. Called during fleet dispose.
|
|
266
|
-
*/
|
|
267
|
-
export declare function unsubscribeTrajectoryEvents(router: import('../../coordination/cross-domain-router').CrossDomainEventRouter): void;
|
|
268
20
|
//# sourceMappingURL=task-handlers.d.ts.map
|