agentic-qe 3.9.2 → 3.9.4

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.
Files changed (296) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/dist/cli/bundle.js +5 -5
  3. package/dist/cli/chunks/adapter-5ODIX6ZG.js +2 -0
  4. package/dist/cli/chunks/{agent-booster-wasm-AKAOHSCX.js → agent-booster-wasm-MGGEPROV.js} +2 -2
  5. package/dist/cli/chunks/{agent-handler-MTGPOUVP.js → agent-handler-AFHYFQXV.js} +2 -2
  6. package/dist/cli/chunks/{agent-memory-branch-UFPKWUFK.js → agent-memory-branch-SQ3KDIG6.js} +2 -2
  7. package/dist/cli/chunks/aqe-learning-engine-PWGRS6KK.js +2 -0
  8. package/dist/cli/chunks/{audit-VBEZHNHO.js → audit-SM5CK2K5.js} +2 -2
  9. package/dist/cli/chunks/base-TJGIYR7L.js +2 -0
  10. package/dist/cli/chunks/{better-sqlite3-IRPHIXRU.js → better-sqlite3-UGOYRNXI.js} +2 -2
  11. package/dist/cli/chunks/{brain-handler-7EO3FFRZ.js → brain-handler-SKXTB63O.js} +3 -3
  12. package/dist/cli/chunks/{branch-enumerator-MZRGP35N.js → branch-enumerator-77NSOLNK.js} +2 -2
  13. package/dist/cli/chunks/{browser-VSIWQE7J.js → browser-MCE5DWPV.js} +2 -2
  14. package/dist/cli/chunks/browser-workflow-GUR7RLFP.js +2 -0
  15. package/dist/cli/chunks/{chunk-5RL66XSH.js → chunk-27FNBMUC.js} +2 -2
  16. package/dist/cli/chunks/{chunk-FRJLP7IB.js → chunk-27P4VTCY.js} +2 -2
  17. package/dist/cli/chunks/{chunk-2VVV73PW.js → chunk-2JLKOGNU.js} +1 -1
  18. package/dist/cli/chunks/{chunk-PJFLO37I.js → chunk-2MQMXI7C.js} +2 -2
  19. package/dist/cli/chunks/{chunk-BKCTNRC5.js → chunk-3MN7E6HY.js} +2 -2
  20. package/dist/cli/chunks/{chunk-BY47GV4T.js → chunk-3MRFR534.js} +2 -2
  21. package/dist/cli/chunks/{chunk-563PJBDM.js → chunk-3RHIPCBG.js} +2 -2
  22. package/dist/cli/chunks/{chunk-WXWY2GAF.js → chunk-3SPYUOSS.js} +2 -2
  23. package/dist/cli/chunks/{chunk-5AUKULWO.js → chunk-4BQTEPAD.js} +2 -2
  24. package/dist/cli/chunks/{chunk-N3F3CX4V.js → chunk-4GJAYXB7.js} +2 -2
  25. package/dist/cli/chunks/{chunk-7NOIIC7G.js → chunk-4TZTGYBQ.js} +1 -1
  26. package/dist/cli/chunks/{chunk-VL7YOOC2.js → chunk-53M65YFH.js} +2 -2
  27. package/dist/cli/chunks/{chunk-QNBQBSAI.js → chunk-54OLXGXJ.js} +2 -2
  28. package/dist/cli/chunks/{chunk-HW4ISY5B.js → chunk-5UKAEBKC.js} +3 -3
  29. package/dist/cli/chunks/{chunk-CQP7ZFME.js → chunk-72EC26AS.js} +2 -2
  30. package/dist/cli/chunks/{chunk-J4BS6IWE.js → chunk-7EL65Y27.js} +1 -1
  31. package/dist/cli/chunks/{chunk-PFNFC43Q.js → chunk-7FJIIB4H.js} +1 -1
  32. package/dist/cli/chunks/{chunk-AKSJQ6B3.js → chunk-7ST2YENJ.js} +2 -2
  33. package/dist/cli/chunks/{chunk-SNVM4YJS.js → chunk-7ZXNJT4Q.js} +2 -2
  34. package/dist/cli/chunks/{chunk-BOH22AKC.js → chunk-A6ZBQCYB.js} +2 -2
  35. package/dist/cli/chunks/{chunk-VHVWAXCF.js → chunk-B252DDC5.js} +1 -1
  36. package/dist/cli/chunks/{chunk-2EC5Z2J4.js → chunk-B6HLXE3D.js} +9 -9
  37. package/dist/cli/chunks/{chunk-L5WZUPZF.js → chunk-BH5XPYA3.js} +2 -2
  38. package/dist/cli/chunks/{chunk-LMMEUVE5.js → chunk-BZ22GI4E.js} +1 -1
  39. package/dist/cli/chunks/{chunk-YXCU4CJX.js → chunk-C2HGOUEB.js} +1 -1
  40. package/dist/cli/chunks/{chunk-JV7LX6OT.js → chunk-C3BXT3ZC.js} +4 -4
  41. package/dist/cli/chunks/{chunk-3GZKAORV.js → chunk-C567IO5M.js} +2 -2
  42. package/dist/cli/chunks/{chunk-SCF7NRVE.js → chunk-COIRFVFO.js} +1 -1
  43. package/dist/cli/chunks/{chunk-RITN3XR4.js → chunk-DHJJJ24V.js} +2 -2
  44. package/dist/cli/chunks/{chunk-RC5CPXON.js → chunk-DLMEBVLF.js} +2 -2
  45. package/dist/cli/chunks/{chunk-XFMKJ3UD.js → chunk-DZHGYZJP.js} +1 -1
  46. package/dist/cli/chunks/{chunk-V6XBAZNH.js → chunk-EEARIB4C.js} +1 -1
  47. package/dist/cli/chunks/{chunk-NM6TIEJ3.js → chunk-EFD2J6GG.js} +3 -3
  48. package/dist/cli/chunks/{chunk-Z5HXGVXZ.js → chunk-EHGTXIT7.js} +1 -1
  49. package/dist/cli/chunks/{chunk-QODE4LM6.js → chunk-ENKPW6MA.js} +2 -2
  50. package/dist/cli/chunks/{chunk-4PKXIBX2.js → chunk-EZTUUOVI.js} +1 -1
  51. package/dist/cli/chunks/{chunk-SDTVHR63.js → chunk-F6AU2MAZ.js} +2 -2
  52. package/dist/cli/chunks/{chunk-GK72GUHA.js → chunk-G6RTCJFY.js} +2 -2
  53. package/dist/cli/chunks/{chunk-E25S5E2D.js → chunk-G72E5DL3.js} +1 -1
  54. package/dist/cli/chunks/{chunk-FUIHWBVF.js → chunk-GAG2P4I2.js} +1 -1
  55. package/dist/cli/chunks/{chunk-KDDZYXP4.js → chunk-GQ7DCSKS.js} +2 -2
  56. package/dist/cli/chunks/{chunk-WG4GHAML.js → chunk-GSKZL36U.js} +2 -2
  57. package/dist/cli/chunks/{chunk-Z2IKNC5M.js → chunk-GT35EJKR.js} +1 -1
  58. package/dist/cli/chunks/{chunk-56IWS2KY.js → chunk-GVFHRHXC.js} +2 -2
  59. package/dist/cli/chunks/{chunk-CCYMJKWX.js → chunk-GX7MEHQ2.js} +1 -1
  60. package/dist/cli/chunks/{chunk-4UH25U4O.js → chunk-HKTNFHWI.js} +1 -1
  61. package/dist/cli/chunks/{chunk-X6LCMOGC.js → chunk-IGJ472XJ.js} +2 -2
  62. package/dist/cli/chunks/{chunk-XH53ARZD.js → chunk-IQE6GOH6.js} +2 -2
  63. package/dist/cli/chunks/{chunk-RJROC5M3.js → chunk-J222JLZ6.js} +2 -2
  64. package/dist/cli/chunks/{chunk-DSE57A5N.js → chunk-J6KBI5NW.js} +1 -1
  65. package/dist/cli/chunks/{chunk-CQBSGYRA.js → chunk-J72Q6ERO.js} +2 -2
  66. package/dist/cli/chunks/{chunk-ICDXWIFZ.js → chunk-JMBUIVVE.js} +1 -1
  67. package/dist/cli/chunks/{chunk-6SOJVEU7.js → chunk-JVUNZBKX.js} +2 -2
  68. package/dist/cli/chunks/{chunk-MN742FIH.js → chunk-KELYPHMV.js} +2 -2
  69. package/dist/cli/chunks/{chunk-DHE66JRR.js → chunk-KSMQH2CV.js} +1 -1
  70. package/dist/cli/chunks/{chunk-GPLERTZU.js → chunk-LH3ZL2OK.js} +2 -2
  71. package/dist/cli/chunks/{chunk-GITD7SRQ.js → chunk-LW3DV23G.js} +2 -2
  72. package/dist/cli/chunks/chunk-MDFXPCBO.js +2 -0
  73. package/dist/cli/chunks/{chunk-KZUJBZ7B.js → chunk-MGRE767N.js} +2 -2
  74. package/dist/cli/chunks/{chunk-DBE34QES.js → chunk-MN2MYLVW.js} +2 -2
  75. package/dist/cli/chunks/{chunk-25LFUL2K.js → chunk-MR5I6UR2.js} +2 -2
  76. package/dist/cli/chunks/{chunk-S3RDH5CI.js → chunk-MS6LTE4L.js} +2 -2
  77. package/dist/cli/chunks/{chunk-QEQTC4WQ.js → chunk-MUX762XZ.js} +2 -2
  78. package/dist/cli/chunks/{chunk-4Z27TRQF.js → chunk-NEYZXYFH.js} +2 -2
  79. package/dist/cli/chunks/{chunk-7SLN2JGP.js → chunk-NRH2QE4X.js} +3 -3
  80. package/dist/cli/chunks/{chunk-CL3K5EJK.js → chunk-NS4CCCTZ.js} +2 -2
  81. package/dist/cli/chunks/{chunk-NJY7ZA77.js → chunk-NZ5LY2BT.js} +1 -1
  82. package/dist/cli/chunks/{chunk-UKDOMLBI.js → chunk-O6QAOPUA.js} +3 -3
  83. package/dist/cli/chunks/{chunk-QPRVX4H2.js → chunk-OHZ6RJLS.js} +2 -2
  84. package/dist/cli/chunks/{chunk-DNLMZTE2.js → chunk-ONOYANDX.js} +1 -1
  85. package/dist/cli/chunks/chunk-OZC42UMD.js +2 -0
  86. package/dist/cli/chunks/{chunk-34U7JDCN.js → chunk-P3EOWBME.js} +2 -2
  87. package/dist/cli/chunks/{chunk-4DAOZQ3V.js → chunk-Q2ZYUIS2.js} +2 -2
  88. package/dist/cli/chunks/{chunk-RQGYJK7H.js → chunk-Q6FSXNQP.js} +2 -2
  89. package/dist/cli/chunks/{chunk-X35GP7TR.js → chunk-QEYPK7KS.js} +1 -1
  90. package/dist/cli/chunks/{chunk-T5GV6UIO.js → chunk-QOU4R6AF.js} +2 -2
  91. package/dist/cli/chunks/{chunk-KZTO5EVM.js → chunk-QPC4STR6.js} +2 -2
  92. package/dist/cli/chunks/{chunk-4FT3PND7.js → chunk-QVZSIFSJ.js} +3 -3
  93. package/dist/cli/chunks/{chunk-GCMVJS5X.js → chunk-RAZ2PGZD.js} +2 -2
  94. package/dist/cli/chunks/{chunk-727BDQ3K.js → chunk-RE6XD6RI.js} +2 -2
  95. package/dist/cli/chunks/{chunk-STE42EMB.js → chunk-RGRYL4MG.js} +2 -2
  96. package/dist/cli/chunks/{chunk-XYJL6DKI.js → chunk-RN3SN4ZC.js} +2 -2
  97. package/dist/cli/chunks/{chunk-JOVINE23.js → chunk-RPYUKEAH.js} +2 -2
  98. package/dist/cli/chunks/{chunk-5L6AU3QK.js → chunk-RRQEIGLS.js} +2 -2
  99. package/dist/cli/chunks/{chunk-VUAO4VFC.js → chunk-RS7ZGWHV.js} +2 -2
  100. package/dist/cli/chunks/{chunk-KTYUCZEM.js → chunk-RTC3ZCPK.js} +5 -5
  101. package/dist/cli/chunks/{chunk-4LA7IW3V.js → chunk-RUJU5XEQ.js} +1 -1
  102. package/dist/cli/chunks/{chunk-SRRFWTNF.js → chunk-SHJZ3YNX.js} +2 -2
  103. package/dist/cli/chunks/{chunk-FAXVVLPL.js → chunk-SKWI5QBM.js} +2 -2
  104. package/dist/cli/chunks/{chunk-NRCKGXJJ.js → chunk-TNWTQWLL.js} +1 -1
  105. package/dist/cli/chunks/{chunk-KBA7FBK3.js → chunk-TT2TB6UF.js} +3 -3
  106. package/dist/cli/chunks/{chunk-Z54EO6E6.js → chunk-U7YC7VCM.js} +2 -2
  107. package/dist/cli/chunks/{chunk-TKF447CW.js → chunk-UJLSCJJS.js} +1 -1
  108. package/dist/cli/chunks/{chunk-MY4LMIG7.js → chunk-UPJZRDZK.js} +2 -2
  109. package/dist/cli/chunks/{chunk-KQTJ2YLI.js → chunk-UUL3D5HR.js} +4 -4
  110. package/dist/cli/chunks/{chunk-TTOE336G.js → chunk-V57PXZIK.js} +3 -3
  111. package/dist/cli/chunks/{chunk-SGAW2WLI.js → chunk-VBXJBXMG.js} +4 -4
  112. package/dist/cli/chunks/{chunk-BIVIPF4O.js → chunk-VBYREHZI.js} +1 -1
  113. package/dist/cli/chunks/{chunk-PNL5G6TE.js → chunk-VFXTZWNF.js} +2 -2
  114. package/dist/cli/chunks/{chunk-2WBCYSUN.js → chunk-VSNPI2NO.js} +8 -8
  115. package/dist/cli/chunks/{chunk-Y6O7CDLI.js → chunk-WHT46PJM.js} +2 -2
  116. package/dist/cli/chunks/{chunk-L5YEPSDU.js → chunk-XB5HXTL4.js} +2 -2
  117. package/dist/cli/chunks/{chunk-4FMHBBG5.js → chunk-XYVMKCSI.js} +1 -1
  118. package/dist/cli/chunks/{chunk-AA33R5U4.js → chunk-YDJKQKQH.js} +2 -2
  119. package/dist/cli/chunks/{chunk-4D2ZG2QO.js → chunk-YS6C2Q4F.js} +1 -1
  120. package/dist/cli/chunks/{chunk-65M7C6SH.js → chunk-Z75DMTMI.js} +1 -1
  121. package/dist/cli/chunks/{chunk-Q4A72ZTV.js → chunk-ZKWNZ3ZK.js} +2 -2
  122. package/dist/cli/chunks/{chunk-2Z2TFEOL.js → chunk-ZODUKKPC.js} +2 -2
  123. package/dist/cli/chunks/{chunk-KNVAAVHH.js → chunk-ZQSEPDIJ.js} +2 -2
  124. package/dist/cli/chunks/{chunk-QIH3E775.js → chunk-ZW5DRPZY.js} +2 -2
  125. package/dist/cli/chunks/{ci-2BCOBWFG.js → ci-THZEECIQ.js} +2 -2
  126. package/dist/cli/chunks/{ci-output-FB4OJHAC.js → ci-output-G6QLGL4S.js} +2 -2
  127. package/dist/cli/chunks/{claude-flow-setup-NEEFZTMB.js → claude-flow-setup-5MTYQM34.js} +2 -2
  128. package/dist/cli/chunks/client-IFMC3AYQ.js +2 -0
  129. package/dist/cli/chunks/{cline-installer-ODO2PS4K.js → cline-installer-E2LF2DQS.js} +2 -2
  130. package/dist/cli/chunks/{code-NSOF62VE.js → code-QRF7ZGXG.js} +2 -2
  131. package/dist/cli/chunks/{code-index-extractor-YQL5XN52.js → code-index-extractor-II6IRWU6.js} +2 -2
  132. package/dist/cli/chunks/{codex-installer-SPEY6VYT.js → codex-installer-LGOQ23ZS.js} +2 -2
  133. package/dist/cli/chunks/{completions-OWKBUMBE.js → completions-LB2RR2OQ.js} +2 -2
  134. package/dist/cli/chunks/{complexity-analyzer-PGTXKP73.js → complexity-analyzer-PUIPIRX3.js} +2 -2
  135. package/dist/cli/chunks/{continuedev-installer-KGOXAC7L.js → continuedev-installer-HQAEAQZU.js} +2 -2
  136. package/dist/cli/chunks/{copilot-installer-BF3UA3TG.js → copilot-installer-3PKCX5K5.js} +2 -2
  137. package/dist/cli/chunks/{cost-tracker-2HDJ66E2.js → cost-tracker-JG3SZ2Q3.js} +2 -2
  138. package/dist/cli/chunks/{coverage-KPA2PHIN.js → coverage-D3PZTOKT.js} +3 -3
  139. package/dist/cli/chunks/cross-domain-router-2LPBUUWY.js +2 -0
  140. package/dist/cli/chunks/{cursor-installer-7CDZFHTV.js → cursor-installer-UY6GWKTO.js} +2 -2
  141. package/dist/cli/chunks/{daemon-4BPGCKDJ.js → daemon-UNO3LRRN.js} +3 -3
  142. package/dist/cli/chunks/{dag-attention-scheduler-2MAVGSBB.js → dag-attention-scheduler-S2MXANYL.js} +2 -2
  143. package/dist/cli/chunks/{detect-WRPWTGP5.js → detect-DU2FTRKR.js} +2 -2
  144. package/dist/cli/chunks/{domain-handler-JZVSJ7AG.js → domain-handler-KPNO36LF.js} +2 -2
  145. package/dist/cli/chunks/{domain-transfer-XGIZOR2X.js → domain-transfer-6X3ZZF6A.js} +2 -2
  146. package/dist/cli/chunks/dream-NGRDMOTE.js +2 -0
  147. package/dist/cli/chunks/esm-node-3COTOSO3.js +2 -0
  148. package/dist/cli/chunks/{eval-T7YPAS4G.js → eval-6RXEDTBZ.js} +2 -2
  149. package/dist/cli/chunks/{fast-paths-QECJTKCQ.js → fast-paths-FYODFGZB.js} +2 -2
  150. package/dist/cli/chunks/{feature-flags-LIFURSFZ.js → feature-flags-YOULURDA.js} +2 -2
  151. package/dist/cli/chunks/{feature-flags-R4QZYTIW.js → feature-flags-ZJ42B4IL.js} +2 -2
  152. package/dist/cli/chunks/{file-discovery-4W3K3W4C.js → file-discovery-KOL7FSBQ.js} +2 -2
  153. package/dist/cli/chunks/{fleet-NLLQWCI5.js → fleet-22I74LGD.js} +3 -3
  154. package/dist/cli/chunks/{gnn-wrapper-XEII72LN.js → gnn-wrapper-DFHTHLIZ.js} +2 -2
  155. package/dist/cli/chunks/{heartbeat-handler-DJ65RE5D.js → heartbeat-handler-SQ6VYEAA.js} +4 -4
  156. package/dist/cli/chunks/{heartbeat-scheduler-H664265Q.js → heartbeat-scheduler-W6PQJ5SG.js} +2 -2
  157. package/dist/cli/chunks/hnsw-adapter-BASJNTEV.js +2 -0
  158. package/dist/cli/chunks/hnsw-index-NFN2AUIX.js +2 -0
  159. package/dist/cli/chunks/{hnsw-legacy-bridge-SQIDTWAA.js → hnsw-legacy-bridge-AYTRT54U.js} +2 -2
  160. package/dist/cli/chunks/{hnswlib-node-WICYCU5U.js → hnswlib-node-4IA56UH4.js} +2 -2
  161. package/dist/cli/chunks/{hooks-GZUHUD63.js → hooks-T6UMR72X.js} +6 -6
  162. package/dist/cli/chunks/{hypergraph-engine-MLCDZ6BL.js → hypergraph-engine-WVPYKMFY.js} +2 -2
  163. package/dist/cli/chunks/{hypergraph-handler-NNDDI4R3.js → hypergraph-handler-NB6GL4CR.js} +3 -3
  164. package/dist/cli/chunks/impact-analyzer-ZMQXHQDV.js +2 -0
  165. package/dist/cli/chunks/init-handler-UOFNBXEP.js +68 -0
  166. package/dist/cli/chunks/init-wizard-QHAA4GWF.js +2 -0
  167. package/dist/cli/chunks/kernel-SNJFYN3T.js +2 -0
  168. package/dist/cli/chunks/{kilocode-installer-EPZFFPFE.js → kilocode-installer-VWMNI4QX.js} +2 -2
  169. package/dist/cli/chunks/{kiro-installer-5VACG3HU.js → kiro-installer-RNM47FV5.js} +15 -15
  170. package/dist/cli/chunks/knowledge-graph-EP5UTODP.js +2 -0
  171. package/dist/cli/chunks/{learning-6FITK6XY.js → learning-L4RB5XYP.js} +3 -3
  172. package/dist/cli/chunks/{llm-router-4DDC6AKJ.js → llm-router-BZYZL3YI.js} +2 -2
  173. package/dist/cli/chunks/{load-KGDNVUBX.js → load-4UGEGRMO.js} +2 -2
  174. package/dist/cli/chunks/load-test-KMMRHABK.js +2 -0
  175. package/dist/cli/chunks/mcp-FWWZIWCI.js +2 -0
  176. package/dist/cli/chunks/{memory-II4I4QMO.js → memory-5OXPMXU6.js} +5 -5
  177. package/dist/cli/chunks/memory-backend-Q5MWPMDE.js +2 -0
  178. package/dist/cli/chunks/{memory-handlers-TQXTOJGQ.js → memory-handlers-JS7BTWJK.js} +2 -2
  179. package/dist/cli/chunks/{opencode-installer-EU6JCWBW.js → opencode-installer-BS5TQKHB.js} +2 -2
  180. package/dist/cli/chunks/orchestrator-G6BUZ6QE.js +370 -0
  181. package/dist/cli/chunks/{pipeline-MPZJWYKK.js → pipeline-3MZ5COPR.js} +2 -2
  182. package/dist/cli/chunks/{platform-YH35ZZFZ.js → platform-TKD4JCUG.js} +2 -2
  183. package/dist/cli/chunks/{plugin-B7JYZFNQ.js → plugin-XXJ7R6SY.js} +2 -2
  184. package/dist/cli/chunks/{prime-radiant-advanced-wasm-KTUK6UE2.js → prime-radiant-advanced-wasm-JLJ6NKIP.js} +2 -2
  185. package/dist/cli/chunks/protocol-executor-ORFR4WJ3.js +2 -0
  186. package/dist/cli/chunks/{protocol-handler-3NXMVU34.js → protocol-handler-ZLYGQPHG.js} +2 -2
  187. package/dist/cli/chunks/{prove-H5LMGSUC.js → prove-E2WZ335X.js} +2 -2
  188. package/dist/cli/chunks/qe-reasoning-bank-PLTOH4SG.js +2 -0
  189. package/dist/cli/chunks/{quality-RCWHY6GO.js → quality-6MHHBINU.js} +2 -2
  190. package/dist/cli/chunks/queen-coordinator-L3TRAX7H.js +2 -0
  191. package/dist/cli/chunks/{real-embeddings-NKH4VURF.js → real-embeddings-QN5BY3WS.js} +2 -2
  192. package/dist/cli/chunks/{roocode-installer-SB7QJYM3.js → roocode-installer-GTVII272.js} +2 -2
  193. package/dist/cli/chunks/router-3PBJJLRQ.js +2 -0
  194. package/dist/cli/chunks/routing-feedback-Q775MZ3Z.js +2 -0
  195. package/dist/cli/chunks/{routing-handler-SY7GKG2W.js → routing-handler-HYKZ3ISS.js} +2 -2
  196. package/dist/cli/chunks/{ruvector-commands-HATTO3UQ.js → ruvector-commands-LBWHPUTZ.js} +2 -2
  197. package/dist/cli/chunks/{rvf-dual-writer-D57EXQUD.js → rvf-dual-writer-TVCJ2Y6N.js} +2 -2
  198. package/dist/cli/chunks/{rvf-migration-adapter-OWDYN6KD.js → rvf-migration-adapter-34ITXLU3.js} +2 -2
  199. package/dist/cli/chunks/{rvf-migration-coordinator-SIQVJB5S.js → rvf-migration-coordinator-SX2C7777.js} +2 -2
  200. package/dist/cli/chunks/rvf-native-adapter-HLY2652E.js +2 -0
  201. package/dist/cli/chunks/safe-db-CCKCBZ5I.js +2 -0
  202. package/dist/cli/chunks/schedule-WZ5VV55N.js +2 -0
  203. package/dist/cli/chunks/scheduler-6PIKLCH7.js +2 -0
  204. package/dist/cli/chunks/{security-DS3XLZWN.js → security-7A4EW77M.js} +3 -3
  205. package/dist/cli/chunks/shared-rvf-adapter-VCJNSACZ.js +2 -0
  206. package/dist/cli/chunks/{shared-rvf-dual-writer-YB7AH6XJ.js → shared-rvf-dual-writer-27L4R5WK.js} +2 -2
  207. package/dist/cli/chunks/sqlite-persistence-HMXYD56G.js +2 -0
  208. package/dist/cli/chunks/{status-handler-TUYHE4FT.js → status-handler-JN6PRYLD.js} +2 -2
  209. package/dist/cli/chunks/{structural-health-XNGBNRRD.js → structural-health-JSY3DY7H.js} +2 -2
  210. package/dist/cli/chunks/{sync-K6CIRKBB.js → sync-ET3LYW2V.js} +10 -10
  211. package/dist/cli/chunks/{task-handler-7PJY67DR.js → task-handler-R24MR74L.js} +2 -2
  212. package/dist/cli/chunks/{task-handlers-WB5CDWUR.js → task-handlers-YNPEEPPZ.js} +2 -2
  213. package/dist/cli/chunks/{test-WV5ALEBB.js → test-7BZXFZCT.js} +4 -4
  214. package/dist/cli/chunks/{test-scheduling-N55ZGGA2.js → test-scheduling-EVIFD5EY.js} +3 -3
  215. package/dist/cli/chunks/{token-bootstrap-SINWHAKR.js → token-bootstrap-QYYQRXM5.js} +2 -2
  216. package/dist/cli/chunks/{token-usage-R7TGEVGL.js → token-usage-H4OZA77I.js} +2 -2
  217. package/dist/cli/chunks/{transformers-6DBLXPV7.js → transformers-ILQFO5HZ.js} +2 -2
  218. package/dist/cli/chunks/{tree-sitter-wasm-parser-7C7FKMQW.js → tree-sitter-wasm-parser-KTST5NWH.js} +2 -2
  219. package/dist/cli/chunks/{types-VNPMOKQT.js → types-4Z7XELU6.js} +2 -2
  220. package/dist/cli/chunks/unified-memory-RBHCTAWW.js +2 -0
  221. package/dist/cli/chunks/unified-memory-hnsw-UBF5PT6D.js +2 -0
  222. package/dist/cli/chunks/unified-persistence-ZIJDP6GW.js +2 -0
  223. package/dist/cli/chunks/{validate-53MNIRAF.js → validate-GSQCH6VN.js} +2 -2
  224. package/dist/cli/chunks/{validate-swarm-ZY4RGUFO.js → validate-swarm-SP2RPOYD.js} +2 -2
  225. package/dist/cli/chunks/{vibium-PBADBIV6.js → vibium-2SGOFYTF.js} +2 -2
  226. package/dist/cli/chunks/visual-security-WKIWOUTH.js +2 -0
  227. package/dist/cli/chunks/{web-tree-sitter-O7VI6RLB.js → web-tree-sitter-QSQ27UTH.js} +2 -2
  228. package/dist/cli/chunks/{windsurf-installer-HV3C3TAD.js → windsurf-installer-NIEH46E2.js} +2 -2
  229. package/dist/cli/chunks/witness-chain-4BRX3GGH.js +2 -0
  230. package/dist/cli/chunks/{witness-chain-4WIMYP4X.js → witness-chain-62GJTCT5.js} +2 -2
  231. package/dist/cli/chunks/{workflow-5RVAQ4TM.js → workflow-WZMV2MGW.js} +4 -4
  232. package/dist/cli/chunks/workflow-orchestrator-G6VU7QZ4.js +2 -0
  233. package/dist/cli/chunks/{wrappers-RRHCCA3E.js → wrappers-LNTV533I.js} +2 -2
  234. package/dist/cli/commands/init.js +2 -0
  235. package/dist/cli/commands/mcp.js +27 -17
  236. package/dist/cli/commands/sync.js +25 -8
  237. package/dist/cli/handlers/init-handler.d.ts +1 -0
  238. package/dist/cli/handlers/init-handler.js +2 -0
  239. package/dist/init/governance-installer.js +46 -14
  240. package/dist/init/kiro-installer.js +15 -2
  241. package/dist/init/orchestrator.js +1 -0
  242. package/dist/init/phases/06-code-intelligence.d.ts +46 -1
  243. package/dist/init/phases/06-code-intelligence.js +164 -10
  244. package/dist/init/phases/10-workers.d.ts +0 -14
  245. package/dist/init/phases/10-workers.js +19 -164
  246. package/dist/init/phases/phase-interface.d.ts +9 -0
  247. package/dist/kernel/hnsw-adapter.d.ts +14 -0
  248. package/dist/kernel/hnsw-adapter.js +25 -1
  249. package/dist/kernel/hnsw-index-provider.d.ts +16 -0
  250. package/dist/kernel/native-hnsw-backend.d.ts +11 -0
  251. package/dist/kernel/native-hnsw-backend.js +20 -0
  252. package/dist/kernel/progressive-hnsw-backend.d.ts +9 -0
  253. package/dist/kernel/progressive-hnsw-backend.js +41 -12
  254. package/dist/kernel/unified-memory.js +10 -0
  255. package/dist/mcp/bundle.js +216 -216
  256. package/dist/optimization/token-optimizer-service.d.ts +31 -2
  257. package/dist/optimization/token-optimizer-service.js +85 -23
  258. package/package.json +1 -1
  259. package/dist/cli/chunks/adapter-53WBPKXU.js +0 -2
  260. package/dist/cli/chunks/aqe-learning-engine-MV7NGY24.js +0 -2
  261. package/dist/cli/chunks/base-DZVGMQN2.js +0 -2
  262. package/dist/cli/chunks/browser-workflow-3J5YNMEI.js +0 -2
  263. package/dist/cli/chunks/chunk-LCAA6H4J.js +0 -2
  264. package/dist/cli/chunks/chunk-XIBVVZGB.js +0 -2
  265. package/dist/cli/chunks/client-EF555KYW.js +0 -2
  266. package/dist/cli/chunks/cross-domain-router-GXFNK5TS.js +0 -2
  267. package/dist/cli/chunks/dream-3IKF5XH4.js +0 -2
  268. package/dist/cli/chunks/esm-node-DHAE52OW.js +0 -2
  269. package/dist/cli/chunks/hnsw-adapter-DML5KXQR.js +0 -2
  270. package/dist/cli/chunks/hnsw-index-BUPPGVR6.js +0 -2
  271. package/dist/cli/chunks/impact-analyzer-DPTMJRYS.js +0 -2
  272. package/dist/cli/chunks/init-handler-IJ6BHE6A.js +0 -68
  273. package/dist/cli/chunks/init-wizard-35PUDJPW.js +0 -2
  274. package/dist/cli/chunks/kernel-2HZ44ZJ4.js +0 -2
  275. package/dist/cli/chunks/knowledge-graph-JL62G72U.js +0 -2
  276. package/dist/cli/chunks/load-test-LN245SSD.js +0 -2
  277. package/dist/cli/chunks/mcp-4LETGVIV.js +0 -2
  278. package/dist/cli/chunks/memory-backend-SVM7YRIE.js +0 -2
  279. package/dist/cli/chunks/orchestrator-YLMGJVSP.js +0 -371
  280. package/dist/cli/chunks/protocol-executor-IEN2XB4L.js +0 -2
  281. package/dist/cli/chunks/qe-reasoning-bank-Q3ZV3JRG.js +0 -2
  282. package/dist/cli/chunks/queen-coordinator-E6ON3JUR.js +0 -2
  283. package/dist/cli/chunks/router-WMC3LZ3C.js +0 -2
  284. package/dist/cli/chunks/routing-feedback-VKCZRCE3.js +0 -2
  285. package/dist/cli/chunks/rvf-native-adapter-C7NBH5UN.js +0 -2
  286. package/dist/cli/chunks/safe-db-5KLXCNXN.js +0 -2
  287. package/dist/cli/chunks/schedule-HAWWOXWB.js +0 -2
  288. package/dist/cli/chunks/scheduler-HTRDY5BC.js +0 -2
  289. package/dist/cli/chunks/shared-rvf-adapter-6I2Z5UGL.js +0 -2
  290. package/dist/cli/chunks/sqlite-persistence-WNNRGTGG.js +0 -2
  291. package/dist/cli/chunks/unified-memory-72SKVZ7Y.js +0 -2
  292. package/dist/cli/chunks/unified-memory-hnsw-TMN2L77W.js +0 -2
  293. package/dist/cli/chunks/unified-persistence-MDN3SRCR.js +0 -2
  294. package/dist/cli/chunks/visual-security-TRBCXPIB.js +0 -2
  295. package/dist/cli/chunks/witness-chain-JOI2YYGK.js +0 -2
  296. package/dist/cli/chunks/workflow-orchestrator-2NQ72S3C.js +0 -2
@@ -1,371 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a as ke}from"./chunk-GPLERTZU.js";import{c as Re}from"./chunk-WXWY2GAF.js";import{a as te,b as de,c as ye,d as ve,e as we,f as be,g as Ce,h as Pe,i as Ie,j as Se,k as Ee}from"./chunk-MY4LMIG7.js";import"./chunk-PFNFC43Q.js";import"./chunk-CCYMJKWX.js";import"./chunk-NRCKGXJJ.js";import"./chunk-3GZKAORV.js";import"./chunk-GK72GUHA.js";import"./chunk-SNVM4YJS.js";import"./chunk-XIBVVZGB.js";import"./chunk-JOVINE23.js";import{b as _,d as ee}from"./chunk-N3F3CX4V.js";import{a as x,b as he,c as le}from"./chunk-SDTVHR63.js";import"./chunk-VUAO4VFC.js";import{a as $,b as ce}from"./chunk-XYJL6DKI.js";import"./chunk-L5YEPSDU.js";import"./chunk-KNVAAVHH.js";import"./chunk-34U7JDCN.js";import"./chunk-MN742FIH.js";import"./chunk-4DAOZQ3V.js";import"./chunk-LCAA6H4J.js";import"./chunk-727BDQ3K.js";import"./chunk-DBE34QES.js";import{a as ae}from"./chunk-YXCU4CJX.js";le();le();var g=class{requiresPhases;requiresEnhancements;async shouldRun(e){return!0}async execute(e){let t=Date.now();try{return{success:!0,data:await this.run(e),durationMs:Date.now()-t,message:`${this.description} completed`}}catch(n){return{success:!1,error:he(n),durationMs:Date.now()-t,message:`${this.description} failed: ${x(n)}`}}}checkDependencies(e){if(!this.requiresPhases?.length)return!0;for(let t of this.requiresPhases)if(!e.results.get(t)?.success)return e.services.warn(`Phase ${this.name} requires ${t} which has not completed`),!1;return!0}checkEnhancements(e){if(!this.requiresEnhancements?.length)return!0;for(let t of this.requiresEnhancements)if(!(t==="claudeFlow"?e.enhancements.claudeFlow:t==="ruvector"?e.enhancements.ruvector:!1))return e.services.warn(`Phase ${this.name} requires ${t} which is not available`),!1;return!0}};ee();ce();import{existsSync as M}from"fs";import{join as T}from"path";var Q=class extends g{name="detection";description="Detect existing installations";order=10;critical=!0;async run(e){let{projectRoot:t}=e,n=await this.detectV2Installation(t),s=M(T(t,".agentic-qe","config.yaml")),o=n.version?.startsWith("3."),r=n.detected,i=s||o||!1,l=!r&&!i;return e.v2Detection=n,{v2Detected:r,v3Detected:i,freshInstall:l,v2Detection:n}}async detectV2Installation(e){let t=T(e,".agentic-qe","memory.db"),n=T(e,".agentic-qe","config"),s=T(e,".claude","agents"),o=T(e,".agentic-qe","config","learning.json"),r=M(t),i=M(n),l=M(s),c=M(o),u=M(T(e,".agentic-qe","config.yaml")),m,d=!1;return r&&(m=this.readVersionFromDb(t),m?d=m.startsWith("3."):m="2.x.x"),{detected:!d&&r&&(!m?.startsWith("3.")||c&&!u),memoryDbPath:r?t:void 0,configPath:i?n:void 0,agentsPath:l?s:void 0,hasMemoryDb:r,hasConfig:i,hasAgents:l,version:m}}readVersionFromDb(e){try{let t=$(e,{readonly:!0,fileMustExist:!0});try{if(!t.prepare(`
3
- SELECT name FROM sqlite_master
4
- WHERE type='table' AND name='kv_store'
5
- `).get()){t.close();return}let s=t.prepare(`
6
- SELECT value FROM kv_store
7
- WHERE key = 'aqe_version' AND namespace = '_system'
8
- `).get();return t.close(),s?_(s.value):void 0}catch{t.close();return}}catch{return}}};var L=class extends g{name="analysis";description="Analyze project structure";order=20;critical=!0;requiresPhases=["detection"];async run(e){let n=await ye(e.projectRoot).analyze();return e.analysis=n,e.services.log(` Project: ${n.projectName}`),e.services.log(` Languages: ${n.languages.map(s=>s.name).join(", ")}`),e.services.log(` Frameworks: ${n.frameworks.map(s=>s.name).join(", ")}`),n}};var V=class extends g{name="configuration";description="Generate configuration";order=30;critical=!0;requiresPhases=["analysis"];async run(e){if(!e.analysis)throw new Error("Analysis phase must complete before configuration");let n=ve({minimal:e.options.minimal}).recommend(e.analysis);return n=this.applyOptions(n,e),e.config=n,e.services.log(` Version: ${n.version}`),e.services.log(` Learning: ${n.learning.enabled?"enabled":"disabled"}`),e.services.log(` Workers: ${n.workers.enabled.length}`),n}applyOptions(e,t){let{options:n}=t;return n.minimal&&(e.skills.install=!1,e.learning.pretrainedPatterns=!1,e.workers.enabled=[],e.workers.daemonAutoStart=!1),n.skipPatterns&&(e.learning.pretrainedPatterns=!1),n.wizardAnswers&&(e=this.applyWizardAnswers(e,n.wizardAnswers)),e}applyWizardAnswers(e,t){switch(t["project-type"]&&t["project-type"]!=="auto"&&(e.project.type=t["project-type"]),t["learning-mode"]){case"full":e.learning.enabled=!0,e.learning.embeddingModel="transformer";break;case"basic":e.learning.enabled=!0,e.learning.embeddingModel="hash";break;case"disabled":e.learning.enabled=!1;break}return t["load-patterns"]===!1&&(e.learning.pretrainedPatterns=!1),t.hooks===!1&&(e.hooks.claudeCode=!1),t.workers===!1&&(e.workers.daemonAutoStart=!1),t.skills===!1&&(e.skills.install=!1),e}};import{existsSync as ne,mkdirSync as ue}from"fs";import{join as se}from"path";var W=class extends g{name="database";description="Initialize persistence database";order=40;critical=!0;requiresPhases=["configuration"];async run(e){let{projectRoot:t}=e,n=se(t,".agentic-qe");ne(n)||ue(n,{recursive:!0});let s=se(n,"workers");ne(s)||ue(s,{recursive:!0});let o=se(n,"data");ne(o)||ue(o,{recursive:!0});let r=se(n,"memory.db"),i=!ne(r);try{let{initializeUnifiedMemory:l,resetUnifiedMemory:c}=await import("./unified-memory-72SKVZ7Y.js"),u=await l({dbPath:r,walMode:!0,busyTimeout:5e3}),d=u.getStats().tables.map(y=>y.name);await u.kvSet("_init_marker",{initialized:new Date().toISOString(),projectRoot:t,version:te()},"_system");let k=u.getDatabase().prepare("SELECT version FROM schema_version WHERE id = 1").get()?.version??0;return c(),e.services.log(` Database: ${r}`),e.services.log(` Schema version: v${k}`),e.services.log(` Tables: ${d.length} (v3 full schema)`),{dbPath:r,created:i,tablesCreated:d,schemaVersion:k}}catch(l){throw new Error(`SQLite persistence initialization FAILED: ${l}
9
- Database path: ${r}
10
- Ensure the directory is writable and has sufficient disk space.`)}}};import{existsSync as re,mkdirSync as pe,writeFileSync as Ae}from"fs";import{join as q}from"path";var H=class extends g{name="learning";description="Initialize learning system";order=50;critical=!1;requiresPhases=["database","configuration"];async shouldRun(e){return e.config?.learning?.enabled??!0}async run(e){let t=e.config,{projectRoot:n,options:s}=e;if(!t.learning.enabled)return{enabled:!1,dataDir:"",hnswDir:"",patternsLoaded:0};let o=q(n,".agentic-qe","data");re(o)||pe(o,{recursive:!0});let r=q(o,"hnsw");re(r)||pe(r,{recursive:!0});let i=q(o,"learning-config.json"),l={embeddingModel:t.learning.embeddingModel,hnswConfig:t.learning.hnswConfig,qualityThreshold:t.learning.qualityThreshold,promotionThreshold:t.learning.promotionThreshold,databasePath:q(o,"memory.db"),hnswIndexPath:q(r,"index.bin"),initialized:new Date().toISOString()};Ae(i,JSON.stringify(l,null,2),"utf-8");let c=0;return t.learning.pretrainedPatterns&&!s.skipPatterns&&(c=await this.loadPretrainedPatterns(o,e)),e.services.log(` Data dir: ${o}`),e.services.log(` HNSW dir: ${r}`),e.services.log(` Patterns loaded: ${c}`),{enabled:!0,dataDir:o,hnswDir:r,patternsLoaded:c}}async loadPretrainedPatterns(e,t){try{let n=q(e,"patterns");re(n)||pe(n,{recursive:!0});let s=q(n,"index.json");return re(s)||Ae(s,JSON.stringify({version:te(),domains:[],loadedAt:new Date().toISOString()},null,2),"utf-8"),0}catch(n){return t.services.warn(`Could not load pre-trained patterns: ${n}`),0}}};ee();ce();import{existsSync as Ne,statSync as Qe}from"fs";import{join as oe}from"path";var xe=["**/node_modules/**","**/dist/**","**/build/**","**/out/**","**/coverage/**","**/.agentic-qe/**","**/.git/**","**/.next/**","**/.nuxt/**","**/.output/**","**/__pycache__/**","**/.pytest_cache/**","**/target/**","**/vendor/**","**/.venv/**","**/venv/**","**/.tox/**","**/*.min.js","**/*.min.css","**/*.bundle.js","**/*.map","**/package-lock.json","**/yarn.lock","**/pnpm-lock.yaml","**/Pipfile.lock","**/poetry.lock","**/.env","**/.env.*"],G=class extends g{name="code-intelligence";description="Code intelligence pre-scan";order=60;critical=!1;requiresPhases=["database"];async run(e){let{projectRoot:t}=e,n=oe(t,".agentic-qe","memory.db");if(!Ne(n))return e.services.log(" Building knowledge graph..."),await this.runCodeIntelligenceScan(t,e,!1);let s=$(n);try{if(!this.checkCodeIntelligenceIndex(s))return s.close(),e.services.log(" Building knowledge graph..."),await this.runCodeIntelligenceScan(t,e,!1);let r=this.getLastIndexedAt(s);if(!r){let c=this.getKGEntryCount(s);return s.close(),e.services.log(` Using existing index (${c} entries)`),{status:"existing",entries:c}}let i=this.getKGEntryCount(s);s.close();let l=await this.findChangedFiles(t,r);return l.length===0?(e.services.log(` Index up to date (${i} entries)`),{status:"existing",entries:i}):(e.services.log(` Delta scan: ${l.length} files changed since last index...`),await this.runCodeIntelligenceScan(t,e,!0,l))}catch(o){try{s.close()}catch{}throw o}}checkCodeIntelligenceIndex(e){try{return e.prepare(`
11
- SELECT COUNT(*) as count FROM kv_store
12
- WHERE namespace = 'code-intelligence:kg'
13
- `).get().count>0}catch{return!1}}getKGEntryCount(e){try{return e.prepare(`
14
- SELECT COUNT(*) as count FROM kv_store
15
- WHERE namespace LIKE 'code-intelligence:kg%'
16
- `).get().count}catch{return 0}}async runCodeIntelligenceScan(e,t,n,s){try{let{KnowledgeGraphService:o}=await import("./knowledge-graph-JL62G72U.js"),r=oe(e,".agentic-qe","memory.db"),i={type:"sqlite",sqlite:{path:r,walMode:!0}},{backend:l}=await ke(i,!0),c=new o(l,{namespace:"code-intelligence:kg",enableVectorEmbeddings:!0}),u;s?u=s:u=(await(await import("fast-glob")).default(["**/*.ts","**/*.tsx","**/*.js","**/*.jsx","**/*.py"],{cwd:e,ignore:xe})).map(h=>oe(e,h));let m=await c.index({paths:u,incremental:n,includeTests:!0});if(c.destroy(),await l.dispose(),m.success){let d=m.value.nodesCreated+m.value.edgesCreated,w=n?"Delta indexed":"Indexed";return t.services.log(` ${w} ${d} entries to ${r}`),await this.buildHypergraph(r,u,t),{status:"indexed",entries:d}}return{status:"error",entries:0}}catch(o){return t.services.warn(`Code intelligence scan warning: ${o}`),{status:"skipped",entries:0}}}async buildHypergraph(e,t,n){try{let{extractCodeIndex:s}=await import("./code-index-extractor-YQL5XN52.js"),{createHypergraphEngine:o}=await import("./hypergraph-engine-MLCDZ6BL.js"),r=$(e),i=await o({db:r,maxTraversalDepth:10,maxQueryResults:1e3,enableVectorSearch:!1}),l=await s(t),c=await i.buildFromIndexResult(l);r.close(),c.nodesCreated+c.edgesCreated>0&&n.services.log(` Hypergraph: ${c.nodesCreated} nodes, ${c.edgesCreated} edges`)}catch(s){n.services.warn?.(` Hypergraph build skipped: ${s}`)}}getLastIndexedAt(e){try{let t=e.prepare(`
17
- SELECT value FROM kv_store
18
- WHERE namespace = 'code-intelligence:kg'
19
- AND key = 'metadata:index'
20
- `).get();if(!t)return null;let n=_(t.value);if(!n.indexedAt)return null;let s=new Date(n.indexedAt);return isNaN(s.getTime())?null:s}catch{return null}}async findChangedFiles(e,t){let s=await(await import("fast-glob")).default(["**/*.ts","**/*.tsx","**/*.js","**/*.jsx","**/*.py"],{cwd:e,ignore:xe}),o=t.getTime(),r=[];for(let i of s){let l=oe(e,i);try{Qe(l).mtimeMs>o&&r.push(l)}catch{}}return r}};ee();import{existsSync as P,mkdirSync as ie,readFileSync as _e,writeFileSync as O}from"fs";import{join as b}from"path";var B=class extends g{name="hooks";description="Configure Claude Code hooks";order=70;critical=!1;requiresPhases=["configuration"];async shouldRun(e){return e.config?.hooks?.claudeCode??!0}async run(e){let t=e.config,{projectRoot:n}=e;if(!t.hooks.claudeCode)return{configured:!1,settingsPath:"",hookTypes:[],existingAqeDetected:!1};let s=b(n,".claude");P(s)||ie(s,{recursive:!0});let o=b(s,"hooks");P(o)||ie(o,{recursive:!0});let r=b(s,"settings.json"),i={};if(P(r))try{let k=_e(r,"utf-8");i=_(k)}catch{i={}}let l=this.generateHooksConfig(t,n),c=Object.keys(l),u=i.hooks||{},m=this.hasExistingAqeHooks(u);m&&e.services.log(" Detected existing AQE hooks \u2014 replacing with updated config"),i.hooks=be(u,l);let d=i.env||{};i.env={...d,...Ce(t)};let w=Pe(t,n);for(let[k,y]of Object.entries(w))if(k==="_aqePermissions"){let A=i.permissions||{},C=A.allow||[],f=y,v=[...new Set([...C,...f])];i.permissions={...A,allow:v}}else i[k]=y;let h=i.enabledMcpjsonServers||[];h=h.filter(k=>k!=="aqe"),h.includes("agentic-qe")||h.push("agentic-qe"),i.enabledMcpjsonServers=h,O(r,JSON.stringify(i,null,2),"utf-8"),this.writeHooksReadme(o,c),this.installHookAssets(o,e);try{let k=_e(r,"utf-8"),A=_(k).hooks;(!A||!this.hasExistingAqeHooks(A))&&e.services.log(" WARNING: settings.json written but AQE hooks not detected \u2014 check settings-merge logic")}catch{e.services.log(" WARNING: Could not verify settings.json after write")}return e.services.log(` Settings: ${r}`),e.services.log(` Hooks dir: ${o}`),e.services.log(` Hook types: ${c.join(", ")}`),{configured:!0,settingsPath:r,hookTypes:c,existingAqeDetected:m}}writeHooksReadme(e,t){let n=b(e,"README.txt");if(P(n))return;let s=["AQE Hooks Directory","====================","","Claude Code hooks are configured in .claude/settings.json (not as files here).","This directory contains supporting infrastructure for the learning system.","","Configured hook types: "+t.join(", "),"","Files:"," settings.json \u2014 Hook definitions (in parent .claude/ directory)"," helpers/brain-checkpoint.cjs \u2014 Auto-exports brain to aqe.rvf on session end"," cross-phase-memory.yaml \u2014 QCSD feedback loop configuration","","Manual testing:"," npx agentic-qe hooks session-start --session-id test --json",' npx agentic-qe hooks route --task "generate tests" --json'," npx agentic-qe hooks post-edit --file src/example.ts --success --json",""].join(`
21
- `);O(n,s,"utf-8")}installHookAssets(e,t){let{projectRoot:n}=t;this.installBrainCheckpoint(n,t),this.installStatusline(n,t);let s=b(e,"cross-phase-memory.yaml");if(!P(s)){let r=[b(n,"v3","assets","hooks","cross-phase-memory.yaml"),b(n,"assets","hooks","cross-phase-memory.yaml"),b(n,"node_modules","agentic-qe","v3","assets","hooks","cross-phase-memory.yaml")],i=!1;for(let l of r)if(P(l)){let{copyFileSync:c}=ae("fs");c(l,s),t.services.log(" Installed cross-phase memory config"),i=!0;break}i||O(s,["# Cross-Phase Memory Hooks Configuration","# Generated by aqe init",'version: "1.0"',"enabled: true",""].join(`
22
- `),"utf-8")}let o=b(e,"v3-domain-workers.json");P(o)||O(o,JSON.stringify({version:"3.0",workers:[{name:"pattern-consolidator",interval:"5m",enabled:!0},{name:"routing-accuracy-monitor",interval:"10m",enabled:!0},{name:"coverage-gap-scanner",interval:"15m",enabled:!0},{name:"flaky-test-detector",interval:"30m",enabled:!0}]},null,2),"utf-8")}hasExistingAqeHooks(e){for(let t of Object.values(e))if(Array.isArray(t)){for(let n of t)if(we(n))return!0}return!1}installBrainCheckpoint(e,t){let n=b(e,".claude","helpers");P(n)||ie(n,{recursive:!0});let s=b(n,"brain-checkpoint.cjs"),o=[b(e,".claude","helpers","brain-checkpoint.cjs"),b(e,"node_modules","agentic-qe",".claude","helpers","brain-checkpoint.cjs")];for(let r of o)if(P(r)&&r!==s){let{copyFileSync:i}=ae("fs");i(r,s),t.services.log(" Installed brain-checkpoint.cjs (copied)");return}P(s)||(O(s,this.generateBrainCheckpointScript(),"utf-8"),t.services.log(" Installed brain-checkpoint.cjs (generated)"))}installStatusline(e,t){let n=b(e,".claude","helpers");P(n)||ie(n,{recursive:!0});let s=b(n,"statusline-v3.cjs"),o=[b(e,"node_modules","agentic-qe","assets","helpers","statusline-v3.cjs"),b(e,"assets","helpers","statusline-v3.cjs")];for(let r of o)if(P(r)&&r!==s){let{copyFileSync:i}=ae("fs");i(r,s),t.services.log(" Installed statusline-v3.cjs (copied)");return}P(s)||(O(s,this.generateMinimalStatuslineScript(),"utf-8"),t.services.log(" Installed statusline-v3.cjs (generated)"))}generateMinimalStatuslineScript(){return`#!/usr/bin/env node
23
- /**
24
- * Agentic QE v3 Statusline (minimal fallback, generated by aqe init)
25
- * For the full statusline, reinstall: npx agentic-qe init --auto
26
- */
27
- const fs = require('fs');
28
- const path = require('path');
29
- const { execFileSync } = require('child_process');
30
-
31
- function q(bin, args, d) { try { return execFileSync(bin, args, { encoding: 'utf-8', timeout: 3000, stdio: ['pipe', 'pipe', 'pipe'] }).trim(); } catch { return d || ''; } }
32
-
33
- const dir = path.resolve(__dirname, '..', '..');
34
- const dbPath = path.join(dir, '.agentic-qe', 'memory.db');
35
- let patterns = 0;
36
- try {
37
- if (fs.existsSync(dbPath)) {
38
- const Database = require('better-sqlite3');
39
- const db = new Database(dbPath, { readonly: true, fileMustExist: true });
40
- db.pragma('busy_timeout = 5000');
41
- patterns = db.prepare("SELECT COUNT(*) AS c FROM qe_patterns WHERE usage_count > 0 OR quality_score > 0 OR name NOT LIKE 'bench-%'").get()?.c || 0;
42
- db.close();
43
- }
44
- } catch { /* ignore */ }
45
-
46
- const branch = q('git', ['branch', '--show-current']);
47
- const branchStr = branch ? \` \\x1b[34m\u2387 \${branch}\\x1b[0m\` : '';
48
- const patStr = patterns > 0 ? \` \\x1b[35m\u{1F393} \${patterns} patterns\\x1b[0m\` : '';
49
-
50
- console.log(\`\\x1b[1m\\x1b[35m\u258A Agentic QE v3\\x1b[0m\${branchStr}\${patStr}\`);
51
- `}generateBrainCheckpointScript(){return`#!/usr/bin/env node
52
- /**
53
- * Brain Checkpoint Helper (generated by aqe init)
54
- *
55
- * Usage:
56
- * node brain-checkpoint.cjs export # Export brain to aqe.rvf (session-end)
57
- * node brain-checkpoint.cjs verify # Verify aqe.rvf exists (session-start)
58
- */
59
- const { execFileSync } = require('child_process');
60
- const fs = require('fs');
61
- const path = require('path');
62
-
63
- const PROJECT_ROOT = path.resolve(__dirname, '..', '..');
64
- const AQE_DIR = path.join(PROJECT_ROOT, '.agentic-qe');
65
- const RVF_PATH = path.join(AQE_DIR, 'aqe.rvf');
66
- const DB_PATH = path.join(AQE_DIR, 'memory.db');
67
- const MAX_AGE_HOURS = 24;
68
-
69
- function log(msg) { process.stderr.write('[brain-checkpoint] ' + msg + '\\n'); }
70
-
71
- function exportBrain() {
72
- if (!fs.existsSync(DB_PATH)) { log('No memory.db, skipping'); return { exported: false }; }
73
- try {
74
- if (fs.existsSync(RVF_PATH)) fs.unlinkSync(RVF_PATH);
75
- const idmap = RVF_PATH + '.idmap.json';
76
- if (fs.existsSync(idmap)) fs.unlinkSync(idmap);
77
- const result = execFileSync(
78
- 'npx', ['agentic-qe', 'brain', 'export', '-o', RVF_PATH, '--format', 'rvf'],
79
- { timeout: 60000, encoding: 'utf-8' }
80
- );
81
- const m = result.match(/Patterns:\\s+(\\d+)/);
82
- const p = m ? m[1] : '0';
83
- log('Exported ' + p + ' patterns to aqe.rvf');
84
- return { exported: true, patterns: parseInt(p) };
85
- } catch (e) {
86
- log('Export failed: ' + e.message);
87
- return { exported: false, reason: e.message };
88
- }
89
- }
90
-
91
- function verifyBrain() {
92
- if (!fs.existsSync(RVF_PATH)) {
93
- log('No aqe.rvf found');
94
- return { valid: false, reason: 'missing' };
95
- }
96
- const stat = fs.statSync(RVF_PATH);
97
- const ageH = (Date.now() - stat.mtimeMs) / 3600000;
98
- if (stat.size < 1024) { log('aqe.rvf too small'); return { valid: false, reason: 'too-small' }; }
99
- if (ageH > MAX_AGE_HOURS) { log('aqe.rvf is ' + ageH.toFixed(1) + 'h old'); return { valid: true, stale: true }; }
100
- log('aqe.rvf OK (' + (stat.size/1048576).toFixed(1) + ' MB)');
101
- return { valid: true, stale: false };
102
- }
103
-
104
- const cmd = process.argv[2] || 'verify';
105
- const result = cmd === 'export' ? exportBrain() : verifyBrain();
106
- if (process.argv.includes('--json')) process.stdout.write(JSON.stringify(result));
107
- `}generateHooksConfig(e,t){return{PreToolUse:[{matcher:"^(Write|Edit|MultiEdit)$",hooks:[{type:"command",command:'npx agentic-qe hooks guard --file "$TOOL_INPUT_file_path" --json',timeout:3e3,continueOnError:!0}]},{matcher:"^(Write|Edit|MultiEdit)$",hooks:[{type:"command",command:'npx agentic-qe hooks pre-edit --file "$TOOL_INPUT_file_path" --json',timeout:5e3,continueOnError:!0}]},{matcher:"^Bash$",hooks:[{type:"command",command:'npx agentic-qe hooks pre-command --command "$TOOL_INPUT_command" --json',timeout:3e3,continueOnError:!0}]},{matcher:"^Task$",hooks:[{type:"command",command:'npx agentic-qe hooks pre-task --description "$TOOL_INPUT_prompt" --json',timeout:5e3,continueOnError:!0}]}],PostToolUse:[{matcher:"^(Write|Edit|MultiEdit)$",hooks:[{type:"command",command:'npx agentic-qe hooks post-edit --file "$TOOL_INPUT_file_path" --success --json',timeout:5e3,continueOnError:!0}]},{matcher:"^Bash$",hooks:[{type:"command",command:'npx agentic-qe hooks post-command --command "$TOOL_INPUT_command" --success --json',timeout:5e3,continueOnError:!0}]},{matcher:"^Task$",hooks:[{type:"command",command:'npx agentic-qe hooks post-task --task-id "$TOOL_RESULT_agent_id" --success --json',timeout:5e3,continueOnError:!0}]}],UserPromptSubmit:[{hooks:[{type:"command",command:'npx agentic-qe hooks route --task "$PROMPT" --json',timeout:5e3,continueOnError:!0}]}],SessionStart:[{hooks:[{type:"command",command:'npx agentic-qe hooks session-start --session-id "$SESSION_ID" --json',timeout:1e4,continueOnError:!0}]},{hooks:[{type:"command",command:`sh -c 'exec node "\${CLAUDE_PROJECT_DIR:-.}/.claude/helpers/brain-checkpoint.cjs" verify --json'`,timeout:5e3,continueOnError:!0}]}],Stop:[{hooks:[{type:"command",command:"npx agentic-qe hooks session-end --save-state --json",timeout:5e3,continueOnError:!0}]},{hooks:[{type:"command",command:`sh -c 'exec node "\${CLAUDE_PROJECT_DIR:-.}/.claude/helpers/brain-checkpoint.cjs" export --json'`,timeout:6e4,continueOnError:!0}]}]}}};ee();import{existsSync as Le,readFileSync as Ve,writeFileSync as We}from"fs";import{join as He}from"path";var U=class extends g{name="mcp";description="Configure MCP server";order=80;critical=!1;requiresPhases=["configuration","database"];async run(e){let{projectRoot:t}=e;if(e.options.noMcp)return e.services.log(" MCP: skipped (--no-mcp)"),e.services.log(" CLI commands available: aqe memory, aqe test, aqe coverage, etc."),{configured:!1,mcpPath:"",serverName:""};let n={command:"aqe-mcp",args:[],env:{AQE_LEARNING_ENABLED:"true",AQE_WORKERS_ENABLED:"true",NODE_ENV:"production"}},s=He(t,".mcp.json"),o={};if(Le(s))try{let i=Ve(s,"utf-8");o=_(i)}catch{o={}}o.mcpServers||(o.mcpServers={});let r=o.mcpServers;return r["agentic-qe"]=n,We(s,JSON.stringify(o,null,2),"utf-8"),e.services.log(` MCP config: ${s}`),e.services.log(" Server: agentic-qe"),e.services.log(" Learning: enabled"),e.services.log(" Workers: enabled"),{configured:!0,mcpPath:s,serverName:"agentic-qe"}}};import{existsSync as E,readFileSync as Ge}from"fs";import{join as R}from"path";var z=class extends g{name="assets";description="Install skills and agents";order=90;critical=!1;requiresPhases=["configuration"];async run(e){let t=e.config,{projectRoot:n,options:s}=e,o=this.detectVersionUpgrade(e),r=s.upgrade||t.skills.overwrite||s.autoMode&&o,i=0,l=0,c=0,u=0,m=0,d=0,w=0,h=0,k=0;if(s.upgrade?e.services.log(" Upgrade mode: overwriting existing files"):s.autoMode&&o&&e.services.log(" Version upgrade detected: updating skills and agents"),t.skills.install){let v=await Ie({projectRoot:n,installV2Skills:t.skills.installV2,installV3Skills:t.skills.installV3,overwrite:r}).install();i=v.installed.length,v.errors.length>0&&e.services.warn(`Skills warnings: ${v.errors.join(", ")}`)}try{let v=await Se({projectRoot:n,installQEAgents:!0,installSubagents:!0,overwrite:r}).install();l=v.installed.length,v.errors.length>0&&e.services.warn(`Agents warnings: ${v.errors.join(", ")}`)}catch(f){e.services.warn(`Agents install error: ${f instanceof Error?f.message:f}`)}if(Re(n),s.withN8n){let v=await Ee({projectRoot:n,installAgents:!0,installSkills:!0,overwrite:r,n8nApiConfig:s.n8nApiConfig}).install();c=v.agentsInstalled.length,u=v.skillsInstalled.length,v.errors.length>0&&e.services.warn(`N8n warnings: ${v.errors.join(", ")}`)}let y=s.autoMode&&E(R(n,"opencode.json"));if(s.withOpenCode||y){let{createOpenCodeInstaller:f}=await import("./opencode-installer-EU6JCWBW.js"),a=await f({projectRoot:n,installAgents:!0,installSkills:!0,installTools:!0,overwrite:r}).install();m=a.agentsInstalled.length,d=a.skillsInstalled.length,a.errors.length>0&&e.services.warn(`OpenCode warnings: ${a.errors.join(", ")}`)}e.services.log(` Skills: ${i}`),e.services.log(` Agents: ${l}`),s.withN8n&&(e.services.log(` N8n agents: ${c}`),e.services.log(` N8n skills: ${u}`)),(s.withOpenCode||y)&&(e.services.log(` OpenCode agents: ${m}`),e.services.log(` OpenCode skills: ${d}`));let A=s.autoMode&&E(R(n,".kiro"));if(s.withKiro||A){let{createKiroInstaller:f}=await import("./kiro-installer-5VACG3HU.js"),a=await f({projectRoot:n,installAgents:!0,installSkills:!0,installHooks:!0,installSteering:!0,overwrite:r}).install();w=a.agentsInstalled.length,h=a.skillsInstalled.length,k=a.hooksInstalled.length,a.errors.length>0&&e.services.warn(`Kiro warnings: ${a.errors.join(", ")}`),e.services.log(` Kiro agents: ${w}`),e.services.log(` Kiro skills: ${h}`),e.services.log(` Kiro hooks: ${k}`),e.services.log(` Kiro steering: ${a.steeringInstalled.length}`),a.mcpConfigured&&e.services.log(" Kiro MCP: .kiro/settings/mcp.json")}let C=[];if(s.withCopilot||s.autoMode&&E(R(n,".vscode"))){let{createCopilotInstaller:f}=await import("./copilot-installer-BF3UA3TG.js"),a=await f({projectRoot:n,overwrite:r}).install();a.mcpConfigured&&C.push("copilot"),a.errors.length>0&&e.services.warn(`Copilot warnings: ${a.errors.join(", ")}`),a.mcpConfigured&&e.services.log(` Copilot MCP: ${a.configPath}`),a.rulesInstalled&&e.services.log(` Copilot rules: ${a.rulesPath}`)}if(s.withCursor||s.autoMode&&E(R(n,".cursor"))){let{createCursorInstaller:f}=await import("./cursor-installer-7CDZFHTV.js"),a=await f({projectRoot:n,overwrite:r}).install();a.mcpConfigured&&C.push("cursor"),a.errors.length>0&&e.services.warn(`Cursor warnings: ${a.errors.join(", ")}`),a.mcpConfigured&&e.services.log(` Cursor MCP: ${a.configPath}`),a.rulesInstalled&&e.services.log(` Cursor rules: ${a.rulesPath}`)}if(s.withCline){let{createClineInstaller:f}=await import("./cline-installer-ODO2PS4K.js"),a=await f({projectRoot:n,overwrite:r}).install();a.mcpConfigured&&C.push("cline"),a.errors.length>0&&e.services.warn(`Cline warnings: ${a.errors.join(", ")}`),a.mcpConfigured&&e.services.log(` Cline MCP: ${a.configPath}`),a.modeInstalled&&e.services.log(` Cline mode: ${a.modePath}`)}if(s.withKiloCode||s.autoMode&&E(R(n,".kilocode"))){let{createKiloCodeInstaller:f}=await import("./kilocode-installer-EPZFFPFE.js"),a=await f({projectRoot:n,overwrite:r}).install();a.mcpConfigured&&C.push("kilocode"),a.errors.length>0&&e.services.warn(`Kilo Code warnings: ${a.errors.join(", ")}`),a.mcpConfigured&&e.services.log(` Kilo Code MCP: ${a.configPath}`),a.modeInstalled&&e.services.log(` Kilo Code mode: ${a.modePath}`)}if(s.withRooCode||s.autoMode&&E(R(n,".roo"))){let{createRooCodeInstaller:f}=await import("./roocode-installer-SB7QJYM3.js"),a=await f({projectRoot:n,overwrite:r}).install();a.mcpConfigured&&C.push("roocode"),a.errors.length>0&&e.services.warn(`Roo Code warnings: ${a.errors.join(", ")}`),a.mcpConfigured&&e.services.log(` Roo Code MCP: ${a.configPath}`),a.modeInstalled&&e.services.log(` Roo Code mode: ${a.modePath}`)}if(s.withCodex||s.autoMode&&E(R(n,".codex"))){let{createCodexInstaller:f}=await import("./codex-installer-SPEY6VYT.js"),a=await f({projectRoot:n,overwrite:r}).install();a.mcpConfigured&&C.push("codex"),a.errors.length>0&&e.services.warn(`Codex warnings: ${a.errors.join(", ")}`),a.mcpConfigured&&e.services.log(` Codex MCP: ${a.configPath}`),a.agentsMdInstalled&&e.services.log(` Codex AGENTS.md: ${a.agentsMdPath}`)}if(s.withWindsurf||s.autoMode&&E(R(n,".windsurf"))){let{createWindsurfInstaller:f}=await import("./windsurf-installer-HV3C3TAD.js"),a=await f({projectRoot:n,overwrite:r}).install();a.mcpConfigured&&C.push("windsurf"),a.errors.length>0&&e.services.warn(`Windsurf warnings: ${a.errors.join(", ")}`),a.mcpConfigured&&e.services.log(` Windsurf MCP: ${a.configPath}`),a.rulesInstalled&&e.services.log(` Windsurf rules: ${a.rulesPath}`)}if(s.withContinueDev||s.autoMode&&E(R(n,".continue"))){let{createContinueDevInstaller:f}=await import("./continuedev-installer-KGOXAC7L.js"),a=await f({projectRoot:n,overwrite:r}).install();a.mcpConfigured&&C.push("continuedev"),a.errors.length>0&&e.services.warn(`Continue.dev warnings: ${a.errors.join(", ")}`),a.mcpConfigured&&e.services.log(` Continue.dev MCP: ${a.configPath}`),a.rulesInstalled&&e.services.log(` Continue.dev rules: ${a.rulesPath}`)}return C.length>0&&e.services.log(` Platforms configured: ${C.join(", ")}`),{skillsInstalled:i,agentsInstalled:l,n8nAgents:c,n8nSkills:u,openCodeAgents:m,openCodeSkills:d,kiroAgents:w,kiroSkills:h,kiroHooks:k,platformsConfigured:C}}detectVersionUpgrade(e){let t=R(e.projectRoot,".agentic-qe","config.yaml");if(!E(t))return!1;try{let o=Ge(t,"utf-8").match(/version:\s*"?([^"\n]+)"?/)?.[1],r=e.config.version;return o!==void 0&&o!==r}catch{return!1}}};import{existsSync as K,mkdirSync as Be,writeFileSync as F,readFileSync as Ue}from"fs";import{join as S}from"path";import{spawn as ze}from"child_process";var Y=class extends g{name="workers";description="Configure background workers";order=100;critical=!1;requiresPhases=["configuration"];async shouldRun(e){let t=e.config;return t?.workers?.daemonAutoStart&&(t?.workers?.enabled?.length??0)>0}async run(e){let t=e.config,{projectRoot:n}=e;if(!t.workers.daemonAutoStart||t.workers.enabled.length===0)return{workersDir:"",workersConfigured:0,registryPath:"",daemonStarted:!1,daemonPid:null};let s=S(n,".agentic-qe","workers");K(s)||Be(s,{recursive:!0});let o={"learning-consolidation":18e5,"pattern-consolidator":18e5,"test-health":3e5,"coverage-tracker":6e5,"coverage-gap-scanner":6e5,"flaky-detector":9e5,"flaky-test-detector":9e5,"security-scan":18e5,"quality-gate":3e5,"compliance-checker":18e5,"defect-predictor":9e5,"regression-monitor":6e5,"routing-accuracy-monitor":9e5,"performance-baseline":36e5,"cloud-sync":3e5},r={};for(let y of t.workers.enabled)r[y]={name:y,enabled:!0,interval:t.workers.intervals[y]||o[y]||6e4,lastRun:null,status:"pending"};let i=S(s,"registry.json"),l={version:t.version,maxConcurrent:t.workers.maxConcurrent,workers:r,createdAt:new Date().toISOString(),daemonPid:null};F(i,JSON.stringify(l,null,2),"utf-8");for(let y of t.workers.enabled){let A=S(s,`${y}.json`),C={name:y,enabled:!0,interval:t.workers.intervals[y]||o[y]||6e4,projectRoot:n,dataDir:S(n,".agentic-qe","data"),createdAt:new Date().toISOString()};F(A,JSON.stringify(C,null,2),"utf-8")}let c=S(s,"start-daemon.cjs");F(c,`#!/usr/bin/env node
108
- // AQE v3 Worker Daemon Startup Script (cross-platform)
109
- // Generated by aqe init
110
- // Starts the MCP server with background workers enabled
111
-
112
- const { existsSync, readFileSync, writeFileSync, appendFileSync } = require('fs');
113
- const { join } = require('path');
114
- const { spawn } = require('child_process');
115
-
116
- const projectRoot = join(__dirname, '..', '..');
117
- const workersDir = join(projectRoot, '.agentic-qe', 'workers');
118
- const pidFile = join(workersDir, 'daemon.pid');
119
- const logFile = join(workersDir, 'daemon.log');
120
-
121
- // Check if already running
122
- if (existsSync(pidFile)) {
123
- const pid = parseInt(readFileSync(pidFile, 'utf-8').trim(), 10);
124
- try { process.kill(pid, 0); console.log('Daemon already running (PID: ' + pid + ')'); process.exit(0); } catch {}
125
- }
126
-
127
- const ts = new Date().toISOString();
128
- appendFileSync(logFile, '[' + ts + '] Starting AQE v3 Worker Daemon...\\n');
129
-
130
- // Find the best way to run aqe-mcp
131
- const candidates = [
132
- join(projectRoot, 'node_modules', '.bin', 'aqe-mcp'),
133
- join(projectRoot, 'node_modules', 'agentic-qe', 'dist', 'mcp', 'bundle.js'),
134
- ];
135
-
136
- let mcpCmd, mcpArgs;
137
- const binCandidate = candidates.find(c => existsSync(c));
138
-
139
- if (binCandidate && binCandidate.endsWith('bundle.js')) {
140
- mcpCmd = process.execPath;
141
- mcpArgs = [binCandidate];
142
- } else if (binCandidate) {
143
- mcpCmd = binCandidate;
144
- mcpArgs = [];
145
- } else {
146
- mcpCmd = process.platform === 'win32' ? 'npx.cmd' : 'npx';
147
- mcpArgs = ['--yes', 'agentic-qe', 'mcp'];
148
- }
149
-
150
- appendFileSync(logFile, '[' + ts + '] Using: ' + mcpCmd + ' ' + mcpArgs.join(' ') + '\\n');
151
-
152
- const env = { ...process.env, AQE_STORAGE_PATH: '.agentic-qe', AQE_LEARNING_ENABLED: 'true', AQE_WORKERS_ENABLED: 'true', AQE_HTTP_PORT: '0' };
153
- const child = spawn(mcpCmd, mcpArgs, { cwd: projectRoot, env, detached: true, stdio: ['ignore', 'pipe', 'pipe'] });
154
- child.stdout.on('data', d => appendFileSync(logFile, d));
155
- child.stderr.on('data', d => appendFileSync(logFile, d));
156
- child.unref();
157
-
158
- writeFileSync(pidFile, String(child.pid));
159
- appendFileSync(logFile, '[' + ts + '] Daemon started with PID: ' + child.pid + '\\n');
160
- console.log('AQE v3 Worker Daemon started (PID: ' + child.pid + ')');
161
- console.log('Log file: ' + logFile);
162
- console.log('To stop: node ' + join(workersDir, 'stop-daemon.cjs'));
163
- `);let m=S(s,"stop-daemon.cjs");F(m,`#!/usr/bin/env node
164
- // AQE v3 Worker Daemon Stop Script (cross-platform)
165
- // Generated by aqe init
166
-
167
- const { existsSync, readFileSync, unlinkSync } = require('fs');
168
- const { join } = require('path');
169
-
170
- const workersDir = join(__dirname);
171
- const pidFile = join(workersDir, 'daemon.pid');
172
-
173
- if (!existsSync(pidFile)) { console.log('No PID file found - daemon may not be running'); process.exit(0); }
174
-
175
- const pid = parseInt(readFileSync(pidFile, 'utf-8').trim(), 10);
176
- try {
177
- process.kill(pid, 0); // Check if alive
178
- console.log('Stopping daemon (PID: ' + pid + ')...');
179
- process.kill(pid, 'SIGTERM');
180
- try { unlinkSync(pidFile); } catch {}
181
- console.log('Daemon stopped');
182
- } catch {
183
- console.log('Daemon not running (stale PID file)');
184
- try { unlinkSync(pidFile); } catch {}
185
- }
186
- `),e.services.log(` Workers dir: ${s}`),e.services.log(` Workers: ${t.workers.enabled.join(", ")}`);let w=!1,h=null,k;if(t.workers.daemonAutoStart)try{let y=await this.startDaemon(s,n,e);w=y.started,h=y.pid,k=y.error,w?e.services.log(` MCP daemon started (PID: ${h})`):k&&(e.services.log(" MCP daemon: skipped (will start via Claude Code)"),e.services.log(` Note: ${k}`))}catch(y){k=y instanceof Error?y.message:"Unknown error",e.services.log(" MCP daemon: skipped (Claude Code will start it)")}return{workersDir:s,workersConfigured:t.workers.enabled.length,registryPath:i,daemonStarted:w,daemonPid:h,daemonError:k}}async startDaemon(e,t,n){let s=S(e,"daemon.pid"),o=S(e,"daemon.log");if(K(s))try{let i=parseInt(Ue(s,"utf-8").trim(),10);return process.kill(i,0),{started:!0,pid:i,error:"Already running"}}catch{}let r=await this.findMcpCommand(t);return r?new Promise(i=>{try{let l={...process.env,AQE_STORAGE_PATH:".agentic-qe",AQE_LEARNING_ENABLED:"true",AQE_WORKERS_ENABLED:"true",AQE_HTTP_PORT:"0"},c=ze(r.command,r.args,{cwd:t,env:l,detached:!0,stdio:["ignore","pipe","pipe"]}),u=!1,m="";c.stderr?.on("data",d=>{m+=d.toString()}),c.on("error",d=>{i({started:!1,pid:null,error:d.message})}),setTimeout(()=>{try{if(c.pid){process.kill(c.pid,0),F(s,c.pid.toString(),"utf-8");let d=`[${new Date().toISOString()}] MCP daemon started with PID: ${c.pid}
187
- `;F(o,d,{flag:"a"}),c.unref(),i({started:!0,pid:c.pid})}else i({started:!1,pid:null,error:m||"No PID assigned"})}catch{let d=m.includes("ERR_MODULE_NOT_FOUND")?"Missing dependencies. Run: npm install agentic-qe":m||"Process exited immediately";i({started:!1,pid:null,error:d})}},1500)}catch(l){i({started:!1,pid:null,error:l instanceof Error?l.message:"Spawn failed"})}}):{started:!1,pid:null,error:"aqe-mcp not found. Install globally with: npm install -g agentic-qe"}}async findMcpCommand(e){let t=S(e,"node_modules",".bin","aqe-mcp");if(K(t))return{command:t,args:[]};let n=S(e,"node_modules","agentic-qe","dist","mcp","bundle.js");if(K(n))return{command:"node",args:[n]};let s=S(e,"node_modules",".bin","aqe");return K(s)?{command:s,args:["mcp"]}:{command:"npx",args:["--yes","agentic-qe","mcp"]}}};import{existsSync as Ke,readFileSync as Ye,writeFileSync as me}from"fs";import{join as De}from"path";var J=class extends g{name="claude-md";description="Generate CLAUDE.md";order=110;critical=!1;requiresPhases=["configuration"];async run(e){let t=e.config,{projectRoot:n}=e,s=De(n,"CLAUDE.md"),o=this.generateContent(t),r=!1;if(Ke(s)){let i=Ye(s,"utf-8");if(i.includes("## Agentic QE v3"))return e.services.log(" CLAUDE.md already has AQE section"),{generated:!1,path:s,backupCreated:!1};let l=De(n,"CLAUDE.md.backup");me(l,i,"utf-8"),r=!0,me(s,i+`
188
-
189
- `+o,"utf-8")}else me(s,o,"utf-8");return e.services.log(` Path: ${s}`),r&&e.services.log(" Backup created"),{generated:!0,path:s,backupCreated:r}}generateContent(e){let t=e.domains.enabled.slice(0,6).join(", "),n=Math.max(0,e.domains.enabled.length-6);return`## Agentic QE v3
190
-
191
- This project uses **Agentic QE v3** - a Domain-Driven Quality Engineering platform with 13 bounded contexts, ReasoningBank learning, HNSW vector search, and Agent Teams coordination (ADR-064).
192
-
193
- ---
194
-
195
- ### CRITICAL POLICIES
196
-
197
- #### Integrity Rule (ABSOLUTE)
198
- - NO shortcuts, fake data, or false claims
199
- - ALWAYS implement properly, verify before claiming success
200
- - ALWAYS use real database queries for integration tests
201
- - ALWAYS run actual tests, not assume they pass
202
-
203
- **We value the quality we deliver to our users.**
204
-
205
- #### Test Execution
206
- - NEVER run \`npm test\` without \`--run\` flag (watch mode risk)
207
- - Use: \`npm test -- --run\`, \`npm run test:unit\`, \`npm run test:integration\` when available
208
-
209
- #### Data Protection
210
- - NEVER run \`rm -f\` on \`.agentic-qe/\` or \`*.db\` files without confirmation
211
- - ALWAYS backup before database operations
212
-
213
- #### Git Operations
214
- - NEVER auto-commit/push without explicit user request
215
- - ALWAYS wait for user confirmation before git operations
216
-
217
- ---
218
-
219
- ### Quick Reference
220
-
221
- \`\`\`bash
222
- # Run tests
223
- npm test -- --run
224
-
225
- # Check quality
226
- aqe quality assess
227
-
228
- # Generate tests
229
- aqe test generate <file>
230
-
231
- # Coverage analysis
232
- aqe coverage <path>
233
- \`\`\`
234
-
235
- ### Using AQE MCP Tools
236
-
237
- AQE exposes tools via MCP with the \`mcp__agentic-qe__\` prefix. You MUST call \`fleet_init\` before any other tool.
238
-
239
- #### 1. Initialize the Fleet (required first step)
240
-
241
- \`\`\`typescript
242
- mcp__agentic-qe__fleet_init({
243
- topology: "hierarchical",
244
- maxAgents: 15,
245
- memoryBackend: "hybrid"
246
- })
247
- \`\`\`
248
-
249
- #### 2. Generate Tests
250
-
251
- \`\`\`typescript
252
- mcp__agentic-qe__test_generate_enhanced({
253
- targetPath: "src/services/auth.ts",
254
- framework: "vitest",
255
- strategy: "boundary-value"
256
- })
257
- \`\`\`
258
-
259
- #### 3. Analyze Coverage
260
-
261
- \`\`\`typescript
262
- mcp__agentic-qe__coverage_analyze_sublinear({
263
- paths: ["src/"],
264
- threshold: 80
265
- })
266
- \`\`\`
267
-
268
- #### 4. Assess Quality
269
-
270
- \`\`\`typescript
271
- mcp__agentic-qe__quality_assess({
272
- scope: "full",
273
- includeMetrics: true
274
- })
275
- \`\`\`
276
-
277
- #### 5. Store and Query Patterns (with learning persistence)
278
-
279
- \`\`\`typescript
280
- // Store a learned pattern
281
- mcp__agentic-qe__memory_store({
282
- key: "patterns/coverage-gap/{timestamp}",
283
- namespace: "learning",
284
- value: {
285
- pattern: "...",
286
- confidence: 0.95,
287
- type: "coverage-gap",
288
- metadata: { /* domain-specific */ }
289
- },
290
- persist: true
291
- })
292
-
293
- // Query stored patterns
294
- mcp__agentic-qe__memory_query({
295
- pattern: "patterns/*",
296
- namespace: "learning",
297
- limit: 10
298
- })
299
- \`\`\`
300
-
301
- #### 6. Orchestrate Multi-Agent Tasks
302
-
303
- \`\`\`typescript
304
- mcp__agentic-qe__task_orchestrate({
305
- task: "Full quality assessment of auth module",
306
- domains: ["test-generation", "coverage-analysis", "security-compliance"],
307
- parallel: true
308
- })
309
- \`\`\`
310
-
311
- ### MCP Tool Reference
312
-
313
- | Tool | Description |
314
- |------|-------------|
315
- | \`fleet_init\` | Initialize QE fleet (MUST call first) |
316
- | \`fleet_status\` | Get fleet health and agent status |
317
- | \`agent_spawn\` | Spawn specialized QE agent |
318
- | \`test_generate_enhanced\` | AI-powered test generation |
319
- | \`test_execute_parallel\` | Parallel test execution with retry |
320
- | \`task_orchestrate\` | Orchestrate multi-agent QE tasks |
321
- | \`coverage_analyze_sublinear\` | O(log n) coverage analysis |
322
- | \`quality_assess\` | Quality gate evaluation |
323
- | \`memory_store\` | Store patterns with namespace + persist |
324
- | \`memory_query\` | Query patterns by namespace/pattern |
325
- | \`security_scan_comprehensive\` | SAST/DAST scanning |
326
-
327
- ### Configuration
328
-
329
- - **Enabled Domains**: ${t}${n>0?` (+${n} more)`:""}
330
- - **Learning**: ${e.learning.enabled?"Enabled":"Disabled"} (${e.learning.embeddingModel} embeddings)
331
- - **Max Concurrent Agents**: ${e.agents.maxConcurrent}
332
- - **Background Workers**: ${e.workers.enabled.length>0?e.workers.enabled.join(", "):"None"}
333
-
334
- ### V3 QE Agents
335
-
336
- QE agents are in \`.claude/agents/v3/\`. Use with Task tool:
337
-
338
- \`\`\`javascript
339
- Task({ prompt: "Generate tests", subagent_type: "qe-test-architect", run_in_background: true })
340
- Task({ prompt: "Find coverage gaps", subagent_type: "qe-coverage-specialist", run_in_background: true })
341
- Task({ prompt: "Security audit", subagent_type: "qe-security-scanner", run_in_background: true })
342
- \`\`\`
343
-
344
- ### Data Storage
345
-
346
- - **Memory Backend**: \`.agentic-qe/memory.db\` (SQLite)
347
- - **Configuration**: \`.agentic-qe/config.yaml\`
348
-
349
- ---
350
- *Generated by AQE v3 init - ${new Date().toISOString()}*
351
- `}};import{existsSync as j,readFileSync as Je}from"fs";import{join as N,dirname as Xe}from"path";import{mkdirSync as $e,writeFileSync as Ze}from"fs";ce();var X=class extends g{name="verification";description="Verify installation";order=120;critical=!0;requiresPhases=["database","configuration"];async run(e){let t=e.config,{projectRoot:n}=e,s=[],o=N(n,".agentic-qe","memory.db");s.push({name:"Database exists",passed:j(o)}),s.push({name:".agentic-qe directory",passed:j(N(n,".agentic-qe"))});let r=N(n,".agentic-qe","config.yaml");await this.saveConfig(t,n),s.push({name:"Config saved",passed:j(r)});let i=await this.writeVersionToDb(t.version,n);s.push({name:"Version marker",passed:i});let l=["Database exists",".agentic-qe directory","Config saved"],c=s.filter(u=>l.includes(u.name)).every(u=>u.passed);e.services.log(" Verification checks:");for(let u of s){let m=l.includes(u.name),d=u.passed?"\u2713":m?"\u2717":"\u26A0",w=!m&&!u.passed?" (optional)":"";e.services.log(` ${d} ${u.name}${w}`)}return{verified:c,versionWritten:i,configSaved:j(r),checks:s}}async writeVersionToDb(e,t){let n=N(t,".agentic-qe","memory.db");try{let s=Xe(n);j(s)||$e(s,{recursive:!0});let o=$(n);try{o.exec(`
352
- CREATE TABLE IF NOT EXISTS kv_store (
353
- key TEXT NOT NULL,
354
- namespace TEXT NOT NULL,
355
- value TEXT NOT NULL,
356
- expires_at INTEGER,
357
- created_at INTEGER DEFAULT (strftime('%s', 'now') * 1000),
358
- PRIMARY KEY (namespace, key)
359
- );
360
- `);let r=Date.now();return o.prepare(`
361
- INSERT OR REPLACE INTO kv_store (key, namespace, value, created_at)
362
- VALUES (?, '_system', ?, ?)
363
- `).run("aqe_version",JSON.stringify(e),r),o.prepare(`
364
- INSERT OR REPLACE INTO kv_store (key, namespace, value, created_at)
365
- VALUES (?, '_system', ?, ?)
366
- `).run("init_timestamp",JSON.stringify(new Date().toISOString()),r),o.close(),!0}catch{return o.close(),!1}}catch{return!1}}async saveConfig(e,t){let n=N(t,".agentic-qe");j(n)||$e(n,{recursive:!0});let s=N(n,"config.yaml");if(j(s)){let r=this.loadExistingConfig(s);r&&(e=this.mergeConfigs(e,r))}let o=this.configToYAML(e);Ze(s,o,"utf-8")}loadExistingConfig(e){try{let t=Je(e,"utf-8");return this.parseYAML(t)}catch{return null}}parseYAML(e){try{let t={},n=e.split(`
367
- `),s="",o="";for(let i of n){if(i.trim().startsWith("#")||i.trim()==="")continue;let l=i.match(/^(\w+):\s*(.*)$/);if(l){s=l[1],o="";let d=l[2].trim();d&&!d.startsWith('"')?t[s]=this.parseValue(d):d?t[s]=this.parseValue(d):t[s]={};continue}let c=i.match(/^ (\w+):\s*(.*)$/);if(c&&s){o=c[1];let d=c[2].trim();t[s]||(t[s]={}),d?t[s][o]=this.parseValue(d):t[s][o]={};continue}let u=i.match(/^ ([\w-]+):\s*(.*)$/);if(u&&s&&o){let d=u[1],w=u[2].trim(),h=t[s];h[o]||(h[o]={}),typeof h[o]=="object"&&!Array.isArray(h[o])&&(h[o][d]=this.parseValue(w));continue}let m=i.match(/^ - "?([^"]*)"?$/);if(m&&s&&o){let d=t[s];Array.isArray(d[o])||(d[o]=[]),d[o].push(m[1])}}let r=[["domains","enabled"],["domains","disabled"],["workers","enabled"]];for(let[i,l]of r){let c=t[i];c&&l in c&&!Array.isArray(c[l])&&(c[l]=[])}return t}catch{return null}}parseValue(e){return e==="true"?!0:e==="false"?!1:/^\d+$/.test(e)?parseInt(e,10):/^\d+\.\d+$/.test(e)?parseFloat(e):e.startsWith('"')&&e.endsWith('"')?e.slice(1,-1):e}mergeConfigs(e,t){if(t.domains?.enabled&&Array.isArray(t.domains.enabled)){let n=new Set(t.domains.enabled),s=new Set(e.domains.enabled);for(let r of s)n.add(r);let o=new Set(Array.isArray(t.domains?.disabled)?t.domains.disabled:[]);e.domains.enabled=Array.from(n).filter(r=>!o.has(r))}return t.domains?.disabled&&Array.isArray(t.domains.disabled)&&(e.domains.disabled=t.domains.disabled),t.learning?.enabled!==void 0&&(e.learning.enabled=t.learning.enabled),t.hooks?.claudeCode!==void 0&&(e.hooks.claudeCode=t.hooks.claudeCode),t.hooks?.preCommit!==void 0&&(e.hooks.preCommit=t.hooks.preCommit),t.hooks?.ciIntegration!==void 0&&(e.hooks.ciIntegration=t.hooks.ciIntegration),t.workers?.enabled&&Array.isArray(t.workers.enabled)&&(e.workers.enabled=t.workers.enabled),t.workers?.daemonAutoStart!==void 0&&(e.workers.daemonAutoStart=t.workers.daemonAutoStart),t.agents?.maxConcurrent!==void 0&&(e.agents.maxConcurrent=t.agents.maxConcurrent),t.agents?.defaultTimeout!==void 0&&(e.agents.defaultTimeout=t.agents.defaultTimeout),e}configToYAML(e){return["# Agentic QE v3 Configuration","# Generated by aqe init",`# ${new Date().toISOString()}`,"#",'# NOTE: Your customizations are PRESERVED when you run "aqe init" again.','# You do NOT need to re-run "aqe init" after editing this file - changes',"# take effect immediately. The following settings are merged on reinstall:","# - domains.enabled (custom domains like visual-accessibility)","# - domains.disabled","# - learning.enabled","# - hooks.* preferences","# - workers.enabled","# - agents.maxConcurrent and defaultTimeout","",`version: "${e.version}"`,"","project:",` name: "${e.project.name}"`,` root: "${e.project.root}"`,` type: "${e.project.type}"`,"","learning:",` enabled: ${e.learning.enabled}`,` embeddingModel: "${e.learning.embeddingModel}"`," hnswConfig:",` M: ${e.learning.hnswConfig.M}`,` efConstruction: ${e.learning.hnswConfig.efConstruction}`,` efSearch: ${e.learning.hnswConfig.efSearch}`,` qualityThreshold: ${e.learning.qualityThreshold}`,` promotionThreshold: ${e.learning.promotionThreshold}`,` pretrainedPatterns: ${e.learning.pretrainedPatterns}`,"","routing:",` mode: "${e.routing.mode}"`,` confidenceThreshold: ${e.routing.confidenceThreshold}`,` feedbackEnabled: ${e.routing.feedbackEnabled}`,"","workers:"," enabled:",...e.workers.enabled.map(n=>` - "${n}"`)," intervals:",...Object.entries(e.workers.intervals).map(([n,s])=>` ${n}: ${s}`),` maxConcurrent: ${e.workers.maxConcurrent}`,` daemonAutoStart: ${e.workers.daemonAutoStart}`,"","hooks:",` claudeCode: ${e.hooks.claudeCode}`,` preCommit: ${e.hooks.preCommit}`,` ciIntegration: ${e.hooks.ciIntegration}`,"","skills:",` install: ${e.skills.install}`,` installV2: ${e.skills.installV2}`,` installV3: ${e.skills.installV3}`,` overwrite: ${e.skills.overwrite}`,"","domains:"," enabled:",...e.domains.enabled.map(n=>` - "${n}"`)," disabled:",...e.domains.disabled.map(n=>` - "${n}"`),"","agents:",` maxConcurrent: ${e.agents.maxConcurrent}`,` defaultTimeout: ${e.agents.defaultTimeout}`,""].join(`
368
- `)}};le();import{existsSync as D,mkdirSync as qe,readdirSync as je,copyFileSync as Me}from"fs";import{join as I,dirname as et}from"path";import{fileURLToPath as tt}from"url";var nt=tt(import.meta.url),Te=et(nt);function st(){let p=I(Te,"../../assets/governance"),e=I(Te,"../assets/governance");if(D(p))return p;if(D(e))return e;let t=I(process.cwd(),"assets/governance");if(D(t))return t;throw new Error("Governance assets not found. Package may be corrupted.")}var ge=class{projectRoot;overwrite;skipShards;assetsPath;constructor(e){this.projectRoot=e.projectRoot,this.overwrite=e.overwrite??!1,this.skipShards=e.skipShards??!1,this.assetsPath=st()}async install(){let e=[],t=[],n=[],s=I(this.projectRoot,".claude","guidance"),o=I(s,"shards");try{qe(s,{recursive:!0}),this.skipShards||qe(o,{recursive:!0})}catch(u){return n.push(`Failed to create governance directory: ${x(u)}`),{installed:e,skipped:t,errors:n,governanceDir:s,constitutionInstalled:!1,shardsInstalled:0}}let r=!1,i=I(this.assetsPath,"constitution.md"),l=I(s,"constitution.md");if(D(i))try{!D(l)||this.overwrite?(Me(i,l),e.push("constitution.md"),r=!0):t.push("constitution.md")}catch(u){n.push(`Failed to install constitution.md: ${x(u)}`)}else n.push("constitution.md not found in assets");let c=0;if(!this.skipShards){let u=I(this.assetsPath,"shards");if(D(u))try{let m=je(u).filter(d=>d.endsWith(".shard.md"));for(let d of m){let w=I(u,d),h=I(o,d);try{!D(h)||this.overwrite?(Me(w,h),e.push(`shards/${d}`),c++):t.push(`shards/${d}`)}catch(k){n.push(`Failed to install ${d}: ${x(k)}`)}}}catch(m){n.push(`Failed to read shards directory: ${x(m)}`)}else n.push("Shards directory not found in assets")}return{installed:e,skipped:t,errors:n,governanceDir:s,constitutionInstalled:r,shardsInstalled:c}}isInstalled(){let e=I(this.projectRoot,".claude","guidance","constitution.md");return D(e)}getInstalledShards(){let e=I(this.projectRoot,".claude","guidance","shards");if(!D(e))return[];try{return je(e).filter(t=>t.endsWith(".shard.md"))}catch{return[]}}};function Oe(p){return new ge(p)}var Z=class extends g{name="governance";description="Install governance configuration";order=95;critical=!1;requiresPhases=["configuration"];async shouldRun(e){return e.options.noGovernance?(e.services.log(" Governance skipped (--no-governance flag)"),!1):e.options.minimal?(e.services.log(" Governance skipped (minimal mode)"),!1):!0}async run(e){let{projectRoot:t,options:n}=e,s=n.upgrade,o=Oe({projectRoot:t,overwrite:s});if(o.isInstalled()&&!s){let i=o.getInstalledShards();return e.services.log(` Governance already installed (${i.length} shards)`),e.services.log(" Use --upgrade to overwrite existing files"),{filesInstalled:0,filesSkipped:1+i.length,constitutionInstalled:!1,shardsInstalled:0,governanceDir:`${t}/.claude/guidance`,skippedByFlag:!1}}let r=await o.install();if(r.errors.length>0)for(let i of r.errors)e.services.warn(` ${i}`);return e.services.log(` Constitution: ${r.constitutionInstalled?"installed":"skipped"}`),e.services.log(` Shards: ${r.shardsInstalled} installed, ${r.skipped.filter(i=>i.startsWith("shards/")).length} skipped`),r.installed.length>0&&(e.services.log(" Governance enabled (non-strict mode by default)"),e.services.log(" Set GOVERNANCE_STRICT_MODE=true for strict enforcement")),{filesInstalled:r.installed.length,filesSkipped:r.skipped.length,constitutionInstalled:r.constitutionInstalled,shardsInstalled:r.shardsInstalled,governanceDir:r.governanceDir,skippedByFlag:!1}}};var rt=new Q,ot=new L,it=new V,at=new W,lt=new H,ct=new G,dt=new B,ut=new U,pt=new z,mt=new Y,gt=new J,ft=new X,ht=new Z;function Fe(){return[rt,ot,it,at,lt,ct,dt,ut,pt,ht,mt,gt,ft]}var fe=class{phases;context;constructor(e){this.context=this.createContext(e),this.phases=e.customPhases??Fe()}createContext(e){let t=e.withAllPlatforms;return{projectRoot:e.projectRoot,options:{autoMode:e.autoMode,upgrade:e.upgrade,skipPatterns:e.skipPatterns,minimal:e.minimal,withN8n:e.withN8n,withOpenCode:e.withOpenCode,withKiro:e.withKiro,withCopilot:e.withCopilot||t,withCursor:e.withCursor||t,withCline:e.withCline||t,withKiloCode:e.withKiloCode||t,withRooCode:e.withRooCode||t,withCodex:e.withCodex||t,withWindsurf:e.withWindsurf||t,withContinueDev:e.withContinueDev||t,withAllPlatforms:e.withAllPlatforms,n8nApiConfig:e.n8nApiConfig,wizardAnswers:e.wizardAnswers,noGovernance:e.noGovernance,noMcp:e.noMcp},config:{},enhancements:{claudeFlow:!1,ruvector:!1},results:new Map,services:{log:n=>console.log(n),warn:n=>console.warn(n),error:n=>console.error(n)}}}async initialize(){let e=Date.now(),t=[];try{let n=[...this.phases].sort((s,o)=>s.order-o.order);for(let s of n){if(!await s.shouldRun(this.context))continue;console.log(`
369
- \u{1F4CB} ${s.description}...`);let r=await s.execute(this.context);if(this.context.results.set(s.name,r),t.push({step:s.description,status:r.success?"success":"error",message:r.message||"",durationMs:r.durationMs}),!r.success&&s.critical){if(console.error(`
370
- \u274C Critical phase failed: ${s.name}`),s.rollback)try{await s.rollback(this.context)}catch(i){console.error(`Rollback failed: ${i}`)}return this.createFailureResult(t,e)}if(r.skipRemaining)break}return this.createSuccessResult(t,e)}catch(n){return t.push({step:"Initialization Failed",status:"error",message:x(n),durationMs:0}),this.createFailureResult(t,e)}}createSuccessResult(e,t){let n=this.context.config,s=this.context.results.get("learning"),o=this.context.results.get("code-intelligence"),r=this.context.results.get("assets"),i=this.context.results.get("hooks"),l=this.context.results.get("mcp"),c=this.context.results.get("claude-md"),u=this.context.results.get("workers");return{success:!0,config:n||de("unknown",this.context.projectRoot),steps:e,summary:{projectAnalyzed:this.context.results.has("analysis"),configGenerated:this.context.results.has("configuration"),codeIntelligenceIndexed:o?.data?.entries??0,patternsLoaded:s?.data?.patternsLoaded??0,skillsInstalled:r?.data?.skillsInstalled??0,agentsInstalled:r?.data?.agentsInstalled??0,hooksConfigured:i?.data?.configured??!1,mcpConfigured:l?.data?.configured??!1,claudeMdGenerated:c?.data?.generated??!1,workersStarted:u?.data?.workersConfigured??0},totalDurationMs:Date.now()-t,timestamp:new Date}}createFailureResult(e,t){return{success:!1,config:de("unknown",this.context.projectRoot),steps:e,summary:{projectAnalyzed:!1,configGenerated:!1,codeIntelligenceIndexed:0,patternsLoaded:0,skillsInstalled:0,agentsInstalled:0,hooksConfigured:!1,mcpConfigured:!1,claudeMdGenerated:!1,workersStarted:0},totalDurationMs:Date.now()-t,timestamp:new Date}}getPhase(e){return this.phases.find(t=>t.name===e)}getPhases(){return[...this.phases]}getContext(){return this.context}};function yt(p){return new fe(p)}async function ks(p){return await yt({projectRoot:p,autoMode:!0}).initialize()}function ws(p){let e=[];e.push(""),e.push("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),e.push("\u2502 AQE v3 Initialization \u2502"),e.push("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");for(let n of p.steps){let s=n.status==="success"?"\u2713":n.status==="error"?"\u2717":"\u25CB",o=n.step.substring(0,48).padEnd(48);e.push(`\u2502 ${s} ${o} ${String(n.durationMs).padStart(4)}ms \u2502`)}e.push("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524"),e.push(`\u2502 Project: ${p.config.project.name.substring(0,45).padEnd(45)} \u2502`),e.push(`\u2502 Type: ${p.config.project.type.padEnd(48)} \u2502`),e.push(`\u2502 Code Intel: ${String(p.summary.codeIntelligenceIndexed).padEnd(43)} \u2502`),e.push(`\u2502 Patterns: ${String(p.summary.patternsLoaded).padEnd(45)} \u2502`),e.push(`\u2502 Skills: ${String(p.summary.skillsInstalled).padEnd(47)} \u2502`),e.push(`\u2502 Agents: ${String(p.summary.agentsInstalled).padEnd(47)} \u2502`),e.push(`\u2502 Workers: ${String(p.summary.workersStarted).padEnd(46)} \u2502`),e.push(`\u2502 Hooks: ${p.summary.hooksConfigured?"Yes":"No".padEnd(48)} \u2502`),e.push(`\u2502 MCP: ${p.summary.mcpConfigured?"Yes":"No".padEnd(50)} \u2502`),e.push(`\u2502 CLAUDE.md: ${p.summary.claudeMdGenerated?"Yes":"No".padEnd(44)} \u2502`),e.push("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");let t=p.success?"\u2713 AQE v3 initialized successfully":"\u2717 Initialization failed";return e.push(`\u2502 ${t.padEnd(57)} \u2502`),e.push("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518"),e.push(""),e.join(`
371
- `)}export{fe as ModularInitOrchestrator,yt as createModularInitOrchestrator,ws as formatInitResultModular,ks as quickInitModular};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a,b}from"./chunk-QODE4LM6.js";import"./chunk-X35GP7TR.js";import"./chunk-VL7YOOC2.js";import"./chunk-BIVIPF4O.js";import"./chunk-SDTVHR63.js";import"./chunk-E25S5E2D.js";import"./chunk-YXCU4CJX.js";export{a as DefaultProtocolExecutor,b as createProtocolExecutor};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a as h,b as i,c as j,d as k,e as l,f as m,g as n}from"./chunk-7SLN2JGP.js";import"./chunk-SGAW2WLI.js";import{a as e,b as f,d as g}from"./chunk-4UH25U4O.js";import"./chunk-4PKXIBX2.js";import{a,b,c,h as d}from"./chunk-TKF447CW.js";import"./chunk-5L6AU3QK.js";import"./chunk-FRJLP7IB.js";import"./chunk-QEQTC4WQ.js";import"./chunk-RQGYJK7H.js";import"./chunk-563PJBDM.js";import"./chunk-GK72GUHA.js";import"./chunk-SNVM4YJS.js";import"./chunk-XIBVVZGB.js";import"./chunk-JOVINE23.js";import"./chunk-N3F3CX4V.js";import"./chunk-BIVIPF4O.js";import"./chunk-SDTVHR63.js";import"./chunk-E25S5E2D.js";import"./chunk-XYJL6DKI.js";import"./chunk-L5YEPSDU.js";import"./chunk-KNVAAVHH.js";import"./chunk-34U7JDCN.js";import"./chunk-MN742FIH.js";import"./chunk-4DAOZQ3V.js";import"./chunk-LCAA6H4J.js";import"./chunk-727BDQ3K.js";import"./chunk-DBE34QES.js";import"./chunk-YXCU4CJX.js";export{j as AGENT_CAPABILITIES,h as DEFAULT_QE_REASONING_BANK_CONFIG,i as PRETRAINED_PATTERNS,m as QEReasoningBank,l as RELATED_DOMAINS,d as applyPatternTemplate,k as calculateAgentScores,n as createQEReasoningBank,a as detectQEDomain,b as detectQEDomains,g as generateGuidanceContext,f as getCombinedGuidance,e as getGuidance,c as mapQEDomainToAQE};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{c as a,d as b,e as c,f as d}from"./chunk-HW4ISY5B.js";import"./chunk-VHVWAXCF.js";import"./chunk-RC5CPXON.js";import"./chunk-NRCKGXJJ.js";import"./chunk-KDDZYXP4.js";import"./chunk-Z5HXGVXZ.js";import"./chunk-Q4A72ZTV.js";import"./chunk-7NOIIC7G.js";import"./chunk-4PKXIBX2.js";import"./chunk-TKF447CW.js";import"./chunk-GK72GUHA.js";import"./chunk-SNVM4YJS.js";import"./chunk-Y6O7CDLI.js";import"./chunk-XIBVVZGB.js";import"./chunk-JOVINE23.js";import"./chunk-N3F3CX4V.js";import"./chunk-BIVIPF4O.js";import"./chunk-SDTVHR63.js";import"./chunk-E25S5E2D.js";import"./chunk-XYJL6DKI.js";import"./chunk-L5YEPSDU.js";import"./chunk-KNVAAVHH.js";import"./chunk-34U7JDCN.js";import"./chunk-MN742FIH.js";import"./chunk-4DAOZQ3V.js";import"./chunk-LCAA6H4J.js";import"./chunk-727BDQ3K.js";import"./chunk-DBE34QES.js";import"./chunk-YXCU4CJX.js";export{a as DOMAIN_GROUPS,c as QueenCoordinator,b as TASK_DOMAIN_MAP,d as createQueenCoordinator};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a,b,c}from"./chunk-CQBSGYRA.js";import"./chunk-BOH22AKC.js";import"./chunk-WG4GHAML.js";import"./chunk-4D2ZG2QO.js";import"./chunk-ICDXWIFZ.js";import"./chunk-N3F3CX4V.js";import"./chunk-SDTVHR63.js";import"./chunk-YXCU4CJX.js";export{a as ModelRouter,b as createModelRouter,c as createModelRouterWithAgentBooster};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a,b}from"./chunk-T5GV6UIO.js";import"./chunk-NJY7ZA77.js";import"./chunk-WXWY2GAF.js";import"./chunk-PFNFC43Q.js";import"./chunk-GK72GUHA.js";import"./chunk-SNVM4YJS.js";import"./chunk-XIBVVZGB.js";import"./chunk-JOVINE23.js";import"./chunk-N3F3CX4V.js";import"./chunk-SDTVHR63.js";import"./chunk-XYJL6DKI.js";import"./chunk-L5YEPSDU.js";import"./chunk-KNVAAVHH.js";import"./chunk-34U7JDCN.js";import"./chunk-MN742FIH.js";import"./chunk-4DAOZQ3V.js";import"./chunk-LCAA6H4J.js";import"./chunk-727BDQ3K.js";import"./chunk-DBE34QES.js";import"./chunk-YXCU4CJX.js";export{a as RoutingFeedbackCollector,b as createRoutingFeedbackCollector};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a,b,c,d,f as e}from"./chunk-RQGYJK7H.js";import"./chunk-YXCU4CJX.js";e();export{a as createRvfStore,d as isRvfNativeAvailable,b as openRvfStore,c as openRvfStoreReadonly};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a,b}from"./chunk-XYJL6DKI.js";import"./chunk-L5YEPSDU.js";import"./chunk-YXCU4CJX.js";b();export{a as openDatabase};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a}from"./chunk-CQP7ZFME.js";import"./chunk-AA33R5U4.js";import"./chunk-3GZKAORV.js";import"./chunk-GK72GUHA.js";import"./chunk-SNVM4YJS.js";import"./chunk-XIBVVZGB.js";import"./chunk-JOVINE23.js";import"./chunk-N3F3CX4V.js";import"./chunk-SDTVHR63.js";import"./chunk-E25S5E2D.js";import"./chunk-XYJL6DKI.js";import"./chunk-L5YEPSDU.js";import"./chunk-KNVAAVHH.js";import"./chunk-34U7JDCN.js";import"./chunk-MN742FIH.js";import"./chunk-4DAOZQ3V.js";import"./chunk-LCAA6H4J.js";import"./chunk-727BDQ3K.js";import"./chunk-DBE34QES.js";import"./chunk-YXCU4CJX.js";export{a as TestScheduleTool};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a,b,c,d}from"./chunk-Z54EO6E6.js";import"./chunk-KZTO5EVM.js";import"./chunk-N3F3CX4V.js";import"./chunk-BIVIPF4O.js";import"./chunk-SDTVHR63.js";import"./chunk-YXCU4CJX.js";export{a as PersistentScheduler,b as createPersistentScheduler,d as createScheduleEntry,c as generateScheduleId};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a,b,d as c}from"./chunk-FRJLP7IB.js";import"./chunk-RQGYJK7H.js";import"./chunk-YXCU4CJX.js";c();export{a as getSharedRvfAdapter,b as resetSharedRvfAdapter};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a,b,c,d}from"./chunk-5L6AU3QK.js";import"./chunk-563PJBDM.js";import"./chunk-GK72GUHA.js";import"./chunk-SNVM4YJS.js";import"./chunk-XIBVVZGB.js";import"./chunk-JOVINE23.js";import"./chunk-N3F3CX4V.js";import"./chunk-SDTVHR63.js";import"./chunk-E25S5E2D.js";import"./chunk-XYJL6DKI.js";import"./chunk-L5YEPSDU.js";import"./chunk-KNVAAVHH.js";import"./chunk-34U7JDCN.js";import"./chunk-MN742FIH.js";import"./chunk-4DAOZQ3V.js";import"./chunk-LCAA6H4J.js";import"./chunk-727BDQ3K.js";import"./chunk-DBE34QES.js";import"./chunk-YXCU4CJX.js";export{a as DEFAULT_SQLITE_CONFIG,c as SQLitePatternStore,d as createSQLitePatternStore,b as hashEmbedding};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a,b,e as f,f as g,g as h,h as i,i as j,j as k,k as l,l as m,m as n,o}from"./chunk-GK72GUHA.js";import"./chunk-SNVM4YJS.js";import"./chunk-XIBVVZGB.js";import"./chunk-JOVINE23.js";import"./chunk-N3F3CX4V.js";import"./chunk-SDTVHR63.js";import"./chunk-XYJL6DKI.js";import"./chunk-L5YEPSDU.js";import{a as c,d,e}from"./chunk-KNVAAVHH.js";import"./chunk-34U7JDCN.js";import"./chunk-MN742FIH.js";import"./chunk-4DAOZQ3V.js";import"./chunk-LCAA6H4J.js";import"./chunk-727BDQ3K.js";import"./chunk-DBE34QES.js";import"./chunk-YXCU4CJX.js";o();export{a as ALLOWED_TABLE_NAMES,c as BinaryHeap,i as DEFAULT_UNIFIED_MEMORY_CONFIG,d as UnifiedHnswIndex,k as UnifiedMemoryManager,f as clearProjectRootCache,e as createHnswIndex,g as findProjectRoot,h as getDefaultDbPath,j as getResolvedDefaultConfig,l as getUnifiedMemory,m as initializeUnifiedMemory,n as resetUnifiedMemory,b as validateTableName};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a,b,c,d,e,f}from"./chunk-KNVAAVHH.js";import"./chunk-34U7JDCN.js";import"./chunk-MN742FIH.js";import"./chunk-4DAOZQ3V.js";import"./chunk-LCAA6H4J.js";import"./chunk-727BDQ3K.js";import"./chunk-DBE34QES.js";import"./chunk-YXCU4CJX.js";f();export{a as BinaryHeap,b as InMemoryHNSWIndex,c as RuvectorFlatIndex,d as UnifiedHnswIndex,e as createHnswIndex};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a,b,c,d,e}from"./chunk-QNBQBSAI.js";import"./chunk-GK72GUHA.js";import"./chunk-SNVM4YJS.js";import"./chunk-XIBVVZGB.js";import"./chunk-JOVINE23.js";import"./chunk-N3F3CX4V.js";import"./chunk-SDTVHR63.js";import"./chunk-XYJL6DKI.js";import"./chunk-L5YEPSDU.js";import"./chunk-KNVAAVHH.js";import"./chunk-34U7JDCN.js";import"./chunk-MN742FIH.js";import"./chunk-4DAOZQ3V.js";import"./chunk-LCAA6H4J.js";import"./chunk-727BDQ3K.js";import"./chunk-DBE34QES.js";import"./chunk-YXCU4CJX.js";export{a as DEFAULT_UNIFIED_CONFIG,b as UnifiedPersistenceManager,c as getUnifiedPersistence,d as initializeUnifiedPersistence,e as resetUnifiedPersistence};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a}from"./chunk-4Z27TRQF.js";import"./chunk-AA33R5U4.js";import"./chunk-3GZKAORV.js";import"./chunk-GK72GUHA.js";import"./chunk-SNVM4YJS.js";import"./chunk-XIBVVZGB.js";import"./chunk-JOVINE23.js";import"./chunk-N3F3CX4V.js";import"./chunk-SDTVHR63.js";import"./chunk-E25S5E2D.js";import"./chunk-XYJL6DKI.js";import"./chunk-L5YEPSDU.js";import"./chunk-KNVAAVHH.js";import"./chunk-34U7JDCN.js";import"./chunk-MN742FIH.js";import"./chunk-4DAOZQ3V.js";import"./chunk-LCAA6H4J.js";import"./chunk-727BDQ3K.js";import"./chunk-DBE34QES.js";import"./chunk-YXCU4CJX.js";export{a as VisualSecurityTool};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a,b,c,d,e,f,g,h}from"./chunk-QEQTC4WQ.js";import"./chunk-GK72GUHA.js";import"./chunk-SNVM4YJS.js";import"./chunk-XIBVVZGB.js";import"./chunk-JOVINE23.js";import"./chunk-N3F3CX4V.js";import"./chunk-SDTVHR63.js";import"./chunk-XYJL6DKI.js";import"./chunk-L5YEPSDU.js";import"./chunk-KNVAAVHH.js";import"./chunk-34U7JDCN.js";import"./chunk-MN742FIH.js";import"./chunk-4DAOZQ3V.js";import"./chunk-LCAA6H4J.js";import"./chunk-727BDQ3K.js";import"./chunk-DBE34QES.js";import"./chunk-YXCU4CJX.js";export{a as GENESIS_PREV_HASH,f as WitnessChain,h as createWitnessChain,g as getWitnessChain,d as hashWith,e as serializeEntry,b as sha256,c as shake256};
@@ -1,2 +0,0 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.2");process.exit(0)}
2
- import{a,b,c,d}from"./chunk-STE42EMB.js";import"./chunk-VL7YOOC2.js";import"./chunk-GK72GUHA.js";import"./chunk-SNVM4YJS.js";import"./chunk-XIBVVZGB.js";import"./chunk-JOVINE23.js";import"./chunk-N3F3CX4V.js";import"./chunk-BIVIPF4O.js";import"./chunk-SDTVHR63.js";import"./chunk-E25S5E2D.js";import"./chunk-XYJL6DKI.js";import"./chunk-L5YEPSDU.js";import"./chunk-KNVAAVHH.js";import"./chunk-34U7JDCN.js";import"./chunk-MN742FIH.js";import"./chunk-4DAOZQ3V.js";import"./chunk-LCAA6H4J.js";import"./chunk-727BDQ3K.js";import"./chunk-DBE34QES.js";import"./chunk-YXCU4CJX.js";export{b as DEFAULT_WORKFLOW_CONFIG,a as WorkflowEvents,c as WorkflowOrchestrator,d as createWorkflowOrchestrator};