agentic-qe 3.9.16 → 3.9.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/.claude/skills/skills-manifest.json +1 -1
  2. package/CHANGELOG.md +12 -0
  3. package/assets/skills/skills-manifest.json +1 -1
  4. package/dist/cli/bundle.js +5 -5
  5. package/dist/cli/chunks/adapter-2BIT6BGH.js +2 -0
  6. package/dist/cli/chunks/{agent-booster-wasm-IECTFMRK.js → agent-booster-wasm-JN7W7O5X.js} +2 -2
  7. package/dist/cli/chunks/{agent-handler-HLLTKZ5G.js → agent-handler-F6Q75SJQ.js} +2 -2
  8. package/dist/cli/chunks/{agent-memory-branch-WJUD3DS4.js → agent-memory-branch-3GGTDVR4.js} +2 -2
  9. package/dist/cli/chunks/aqe-learning-engine-B5G3RG4W.js +2 -0
  10. package/dist/cli/chunks/{audit-3DLZNWHO.js → audit-R7KN45HM.js} +2 -2
  11. package/dist/cli/chunks/base-A3ZRMSIZ.js +2 -0
  12. package/dist/cli/chunks/{better-sqlite3-Q356NEQ6.js → better-sqlite3-2LTGEMYR.js} +2 -2
  13. package/dist/cli/chunks/{brain-handler-MX2HP7LO.js → brain-handler-PML5L6WQ.js} +3 -3
  14. package/dist/cli/chunks/{branch-enumerator-Z3TF3HVO.js → branch-enumerator-OKUPS2XC.js} +2 -2
  15. package/dist/cli/chunks/{browser-Z6PQ7FTO.js → browser-KOQOTSAT.js} +2 -2
  16. package/dist/cli/chunks/browser-workflow-C6Z53ZH6.js +2 -0
  17. package/dist/cli/chunks/chunk-2ARCG4XJ.js +2 -0
  18. package/dist/cli/chunks/{chunk-3CAPNE2H.js → chunk-2K7GRX5U.js} +2 -2
  19. package/dist/cli/chunks/{chunk-7PHYOV2X.js → chunk-2LXXYKAP.js} +2 -2
  20. package/dist/cli/chunks/{chunk-7MF6LVLH.js → chunk-32FWC6G3.js} +2 -2
  21. package/dist/cli/chunks/{chunk-HVAW64YW.js → chunk-3GYAIW2P.js} +2 -2
  22. package/dist/cli/chunks/{chunk-FLWIEPAT.js → chunk-3KIUCAVI.js} +1 -1
  23. package/dist/cli/chunks/{chunk-GP7IXB3E.js → chunk-3UGV2XWF.js} +2 -2
  24. package/dist/cli/chunks/{chunk-JCQ5PXVM.js → chunk-42HSEBOH.js} +2 -2
  25. package/dist/cli/chunks/{chunk-BEE5KXQT.js → chunk-42TUEMH7.js} +1 -1
  26. package/dist/cli/chunks/{chunk-OE7SGIX2.js → chunk-4TDIA2EN.js} +2 -2
  27. package/dist/cli/chunks/{chunk-FEQ5RDQL.js → chunk-5J444NJR.js} +2 -2
  28. package/dist/cli/chunks/{chunk-LWG7LKOK.js → chunk-63ERVKIO.js} +1 -1
  29. package/dist/cli/chunks/{chunk-VOAECU7B.js → chunk-63V33NAB.js} +2 -2
  30. package/dist/cli/chunks/{chunk-KR7S4IZZ.js → chunk-65Z6HMDA.js} +2 -2
  31. package/dist/cli/chunks/{chunk-DBCN7R63.js → chunk-6F6BNLVP.js} +1 -1
  32. package/dist/cli/chunks/{chunk-TUPFBZKO.js → chunk-6HGRJPD6.js} +1 -1
  33. package/dist/cli/chunks/{chunk-XKMMFQSJ.js → chunk-6MRUG5G2.js} +1 -1
  34. package/dist/cli/chunks/{chunk-LVA53A5R.js → chunk-6PCGUJCG.js} +4 -4
  35. package/dist/cli/chunks/{chunk-BNDK7JRW.js → chunk-6PRIY3HT.js} +2 -2
  36. package/dist/cli/chunks/{chunk-RVQXMMRO.js → chunk-6YCZDIGF.js} +2 -2
  37. package/dist/cli/chunks/{chunk-4PFHQH4B.js → chunk-6YFEWIL5.js} +2 -2
  38. package/dist/cli/chunks/{chunk-QEKZA2NJ.js → chunk-7PWW2OXP.js} +1 -1
  39. package/dist/cli/chunks/{chunk-JZOMOYHZ.js → chunk-7VGZDTY4.js} +1 -1
  40. package/dist/cli/chunks/{chunk-FQTUUZVK.js → chunk-A3WC5KTG.js} +1 -1
  41. package/dist/cli/chunks/{chunk-PPUEXTH2.js → chunk-A67FRRPJ.js} +3 -3
  42. package/dist/cli/chunks/{chunk-LVK2PDUW.js → chunk-AFLTMVMT.js} +1 -1
  43. package/dist/cli/chunks/{chunk-7NMLIJHL.js → chunk-APWO3FI3.js} +1 -1
  44. package/dist/cli/chunks/{chunk-HJUC2DE6.js → chunk-ARN2KDLJ.js} +2 -2
  45. package/dist/cli/chunks/{chunk-LSA4XGSE.js → chunk-AZQ476BM.js} +2 -2
  46. package/dist/cli/chunks/{chunk-QKQAQPXY.js → chunk-AZWCJFT6.js} +2 -2
  47. package/dist/cli/chunks/{chunk-H4BZJVKU.js → chunk-B36RPXAQ.js} +2 -2
  48. package/dist/cli/chunks/{chunk-NIXMFJJC.js → chunk-B3M3JEFD.js} +2 -2
  49. package/dist/cli/chunks/{chunk-IUQ6HE2J.js → chunk-BCBC3DVN.js} +2 -2
  50. package/dist/cli/chunks/{chunk-7IF4LRX2.js → chunk-BCIEQ4IP.js} +2 -2
  51. package/dist/cli/chunks/{chunk-3K4IX7L4.js → chunk-BGY4CHZA.js} +2 -2
  52. package/dist/cli/chunks/{chunk-BCT26J7X.js → chunk-BUWZOMC7.js} +1 -1
  53. package/dist/cli/chunks/{chunk-TPRYLARW.js → chunk-CPZUNBSQ.js} +2 -2
  54. package/dist/cli/chunks/{chunk-AA6IUBCM.js → chunk-CQSU7NTG.js} +2 -2
  55. package/dist/cli/chunks/{chunk-VNAAXZGF.js → chunk-CY73RJJJ.js} +1 -1
  56. package/dist/cli/chunks/{chunk-3SLFWPRE.js → chunk-CZXV3JAF.js} +3 -3
  57. package/dist/cli/chunks/{chunk-PQLT3X6X.js → chunk-DDJUVCKF.js} +3 -3
  58. package/dist/cli/chunks/{chunk-V2ELGHLG.js → chunk-DJXYFFGA.js} +2 -2
  59. package/dist/cli/chunks/{chunk-DF3DZP7H.js → chunk-DR6SJ6P3.js} +2 -2
  60. package/dist/cli/chunks/{chunk-6V5P2VMQ.js → chunk-DVEQOD74.js} +8 -8
  61. package/dist/cli/chunks/{chunk-W4ZV6LAJ.js → chunk-EGBRCXYT.js} +2 -2
  62. package/dist/cli/chunks/{chunk-OP7X434R.js → chunk-EVQYUUQ3.js} +2 -2
  63. package/dist/cli/chunks/{chunk-T7VIUEKI.js → chunk-F5X3U57Y.js} +2 -2
  64. package/dist/cli/chunks/{chunk-ZCZJYM42.js → chunk-FCWB2FJG.js} +1 -1
  65. package/dist/cli/chunks/{chunk-JNXIYHLI.js → chunk-FVVZWNLV.js} +1 -1
  66. package/dist/cli/chunks/{chunk-TFBEX7ED.js → chunk-FYNDV2NZ.js} +1 -1
  67. package/dist/cli/chunks/{chunk-XQ6WIPDC.js → chunk-G3G5QEHL.js} +1 -1
  68. package/dist/cli/chunks/{chunk-666L7MC2.js → chunk-G5DEPXD4.js} +2 -2
  69. package/dist/cli/chunks/{chunk-WVHH3OQ4.js → chunk-HMT6LKHH.js} +2 -2
  70. package/dist/cli/chunks/{chunk-L2GANTQN.js → chunk-HQXRCW7Z.js} +2 -2
  71. package/dist/cli/chunks/{chunk-PNZADZSI.js → chunk-I3NUJ6KJ.js} +3 -3
  72. package/dist/cli/chunks/{chunk-FKQV52TC.js → chunk-I5BLJ2QQ.js} +2 -2
  73. package/dist/cli/chunks/{chunk-HN6GVQ4Q.js → chunk-I64R2D4U.js} +4 -4
  74. package/dist/cli/chunks/{chunk-VK2GKQYI.js → chunk-JC4O47QG.js} +2 -2
  75. package/dist/cli/chunks/{chunk-66BUIFFH.js → chunk-JT2KLBDB.js} +2 -2
  76. package/dist/cli/chunks/{chunk-XAULPLOC.js → chunk-JVDYHVF2.js} +4 -4
  77. package/dist/cli/chunks/{chunk-77OVXVN2.js → chunk-K44EQV74.js} +2 -2
  78. package/dist/cli/chunks/{chunk-4CFQZHUC.js → chunk-K4FG3CRS.js} +3 -3
  79. package/dist/cli/chunks/{chunk-3ADFXSO2.js → chunk-KTJWRVFR.js} +2 -2
  80. package/dist/cli/chunks/{chunk-WVFLNGOK.js → chunk-KTUSZRS3.js} +2 -2
  81. package/dist/cli/chunks/{chunk-J2ERTUDX.js → chunk-KUEG6K4A.js} +1 -1
  82. package/dist/cli/chunks/{chunk-WKLSXJD4.js → chunk-L5JZIORJ.js} +2 -2
  83. package/dist/cli/chunks/{chunk-DJPS7H2M.js → chunk-L6ZJSFAA.js} +1 -1
  84. package/dist/cli/chunks/{chunk-RFLSJ7OL.js → chunk-LA565BGJ.js} +2 -2
  85. package/dist/cli/chunks/{chunk-7DP2IQ6F.js → chunk-LD4OYOX2.js} +2 -2
  86. package/dist/cli/chunks/{chunk-MJKFU6A6.js → chunk-MER7IHAZ.js} +2 -2
  87. package/dist/cli/chunks/{chunk-MQHP65QB.js → chunk-MNSF47HC.js} +3 -3
  88. package/dist/cli/chunks/{chunk-WSKASZYC.js → chunk-MPEQXXXR.js} +2 -2
  89. package/dist/cli/chunks/{chunk-UT4CXF6C.js → chunk-N64PBOR5.js} +2 -2
  90. package/dist/cli/chunks/{chunk-HXF4FUPY.js → chunk-ORNWQXEX.js} +2 -2
  91. package/dist/cli/chunks/{chunk-7JFSMXIA.js → chunk-OSBJWQZL.js} +2 -2
  92. package/dist/cli/chunks/{chunk-MTF6ABUH.js → chunk-OUSQ4KQN.js} +2 -2
  93. package/dist/cli/chunks/{chunk-UH7TV6BY.js → chunk-P2V5ZG3Q.js} +1 -1
  94. package/dist/cli/chunks/{chunk-CR7LLS26.js → chunk-PEHHOJE6.js} +2 -2
  95. package/dist/cli/chunks/{chunk-46K7ALFU.js → chunk-PGTMLW5K.js} +2 -2
  96. package/dist/cli/chunks/{chunk-MECDNFOJ.js → chunk-PJZHNAUT.js} +2 -2
  97. package/dist/cli/chunks/{chunk-P4IYRPCB.js → chunk-PMH52K5J.js} +1 -1
  98. package/dist/cli/chunks/{chunk-JUKCBZCZ.js → chunk-PMNZN4K7.js} +1 -1
  99. package/dist/cli/chunks/{chunk-N5ZTPAX7.js → chunk-PV6WBC2D.js} +2 -2
  100. package/dist/cli/chunks/{chunk-G5DMEEQQ.js → chunk-QFFSQWXP.js} +1 -1
  101. package/dist/cli/chunks/{chunk-MFRC267A.js → chunk-QMVGGG4B.js} +1 -1
  102. package/dist/cli/chunks/{chunk-TR4NPMRW.js → chunk-QVJQXRHU.js} +2 -2
  103. package/dist/cli/chunks/{chunk-NLU4XJBN.js → chunk-QW554DTP.js} +1 -1
  104. package/dist/cli/chunks/{chunk-W6TMZY5R.js → chunk-QXOAFWWK.js} +2 -2
  105. package/dist/cli/chunks/{chunk-NCXXXZGL.js → chunk-QYDBV5MD.js} +1 -1
  106. package/dist/cli/chunks/{chunk-2KCMS4UW.js → chunk-R3COBKOP.js} +3 -3
  107. package/dist/cli/chunks/{chunk-T36IXY5W.js → chunk-RP2RHB7H.js} +2 -2
  108. package/dist/cli/chunks/{chunk-RYCAVZSD.js → chunk-RYATPB5L.js} +2 -2
  109. package/dist/cli/chunks/{chunk-LJINNQNN.js → chunk-TATCL3AK.js} +2 -2
  110. package/dist/cli/chunks/{chunk-GB6D3SSY.js → chunk-USORP6QK.js} +2 -2
  111. package/dist/cli/chunks/{chunk-EFTK4ZVP.js → chunk-UTO2M76W.js} +1 -1
  112. package/dist/cli/chunks/{chunk-SMNOZEM7.js → chunk-V3VJNWOF.js} +2 -2
  113. package/dist/cli/chunks/{chunk-TWEBJWJI.js → chunk-V4DMYY6P.js} +2 -2
  114. package/dist/cli/chunks/{chunk-6XKZ62O7.js → chunk-VI2I5R6C.js} +2 -2
  115. package/dist/cli/chunks/{chunk-AFLQFUXA.js → chunk-VX6XHAG2.js} +2 -2
  116. package/dist/cli/chunks/{chunk-H3JEGAFC.js → chunk-VYCFMW64.js} +9 -9
  117. package/dist/cli/chunks/{chunk-HON4X4Z3.js → chunk-W5HTZ3VZ.js} +2 -2
  118. package/dist/cli/chunks/{chunk-KLVS6FT2.js → chunk-WGEJ646F.js} +2 -2
  119. package/dist/cli/chunks/{chunk-ZXLF3IKT.js → chunk-WP55YBB2.js} +1 -1
  120. package/dist/cli/chunks/{chunk-3ZGYB23S.js → chunk-X66N7E7D.js} +1 -1
  121. package/dist/cli/chunks/{chunk-NOJVROCD.js → chunk-XB4JRJU4.js} +1 -1
  122. package/dist/cli/chunks/{chunk-5A5XANSD.js → chunk-XMMKAV5R.js} +2 -2
  123. package/dist/cli/chunks/{chunk-HFGCLV56.js → chunk-XZOJWFLH.js} +1 -1
  124. package/dist/cli/chunks/{chunk-5E7FVOOG.js → chunk-Y47U7ICT.js} +1 -1
  125. package/dist/cli/chunks/{chunk-2MJEAEOW.js → chunk-YE5AYBHX.js} +2 -2
  126. package/dist/cli/chunks/{chunk-3H657FNU.js → chunk-YUCMGFHE.js} +2 -2
  127. package/dist/cli/chunks/chunk-Z5R46W6Q.js +2 -0
  128. package/dist/cli/chunks/{chunk-ZCE6JNRI.js → chunk-Z77BVREU.js} +2 -2
  129. package/dist/cli/chunks/{chunk-4ZN4GM7W.js → chunk-ZI3UBCIN.js} +1 -1
  130. package/dist/cli/chunks/{chunk-3EUA73H6.js → chunk-ZLOMFM25.js} +2 -2
  131. package/dist/cli/chunks/{chunk-7V2Z3PUJ.js → chunk-ZQKNVZPD.js} +2 -2
  132. package/dist/cli/chunks/{ci-TTP5HJSW.js → ci-TRWQ33L2.js} +2 -2
  133. package/dist/cli/chunks/{ci-output-TKESU45X.js → ci-output-TCFNHOTU.js} +2 -2
  134. package/dist/cli/chunks/{circuit-breaker-GFRV5R7E.js → circuit-breaker-GO2TIL7E.js} +2 -2
  135. package/dist/cli/chunks/{claude-flow-setup-LY6MADFA.js → claude-flow-setup-U77JVSVU.js} +2 -2
  136. package/dist/cli/chunks/client-B3QSCZSJ.js +2 -0
  137. package/dist/cli/chunks/{cline-installer-OSAILLDH.js → cline-installer-XFD3SMGS.js} +2 -2
  138. package/dist/cli/chunks/{code-ASRSOGYH.js → code-V3VE2TMW.js} +2 -2
  139. package/dist/cli/chunks/{code-index-extractor-AMLGVHB7.js → code-index-extractor-C6DHOOWA.js} +2 -2
  140. package/dist/cli/chunks/{codex-installer-3CKH3WV4.js → codex-installer-IUR7MVE6.js} +2 -2
  141. package/dist/cli/chunks/{completions-MXNPWLOE.js → completions-R7FZHNJJ.js} +2 -2
  142. package/dist/cli/chunks/{complexity-analyzer-2Z347PXF.js → complexity-analyzer-EP4QF5CS.js} +2 -2
  143. package/dist/cli/chunks/{continuedev-installer-LE7K745N.js → continuedev-installer-6DW2SBMQ.js} +2 -2
  144. package/dist/cli/chunks/{copilot-installer-CHJL3275.js → copilot-installer-U3UOX7D5.js} +2 -2
  145. package/dist/cli/chunks/{cost-tracker-C3ZWNNSV.js → cost-tracker-5QZ5A46I.js} +2 -2
  146. package/dist/cli/chunks/{coverage-6JOXBVDL.js → coverage-QOOOITLD.js} +3 -3
  147. package/dist/cli/chunks/cross-domain-router-OYBTXKCV.js +2 -0
  148. package/dist/cli/chunks/{cursor-installer-RKCNWO42.js → cursor-installer-SY3TRE2I.js} +2 -2
  149. package/dist/cli/chunks/{daemon-XXWOT6TM.js → daemon-HBSBIPUZ.js} +3 -3
  150. package/dist/cli/chunks/{dag-attention-scheduler-37MG6XR4.js → dag-attention-scheduler-ZNLUW2HL.js} +2 -2
  151. package/dist/cli/chunks/{detect-QOTL36CE.js → detect-DMUJPGNC.js} +2 -2
  152. package/dist/cli/chunks/dist-node-4RPPRXUH.js +2 -0
  153. package/dist/cli/chunks/{domain-handler-TJNLNJ7Z.js → domain-handler-XJFDML77.js} +2 -2
  154. package/dist/cli/chunks/{domain-transfer-FDHC2MGH.js → domain-transfer-MXPKJ2A2.js} +2 -2
  155. package/dist/cli/chunks/dream-R2F6L47W.js +2 -0
  156. package/dist/cli/chunks/{eval-JP7CLUTD.js → eval-DHBZ74RL.js} +2 -2
  157. package/dist/cli/chunks/{fast-paths-CWTVLIIC.js → fast-paths-WTNFCV2I.js} +2 -2
  158. package/dist/cli/chunks/{feature-flags-SKFBAHR3.js → feature-flags-264QUQ3E.js} +2 -2
  159. package/dist/cli/chunks/{feature-flags-H2UU53L4.js → feature-flags-VC7BQNHU.js} +2 -2
  160. package/dist/cli/chunks/{file-discovery-RWVGKIDB.js → file-discovery-LXQPIRKG.js} +2 -2
  161. package/dist/cli/chunks/{fleet-JOSUYRTZ.js → fleet-4OAZWNXG.js} +3 -3
  162. package/dist/cli/chunks/{gnn-wrapper-WNOZFTDD.js → gnn-wrapper-MAXAOMTP.js} +2 -2
  163. package/dist/cli/chunks/{heartbeat-handler-73YSR6K7.js → heartbeat-handler-ZTUI75EB.js} +4 -4
  164. package/dist/cli/chunks/{heartbeat-scheduler-EN52JZUX.js → heartbeat-scheduler-VWPA7XKA.js} +2 -2
  165. package/dist/cli/chunks/hnsw-adapter-TQPQE4OJ.js +2 -0
  166. package/dist/cli/chunks/hnsw-index-2X3NMTDU.js +2 -0
  167. package/dist/cli/chunks/{hnsw-legacy-bridge-PWD6DXS4.js → hnsw-legacy-bridge-EQDYPKGL.js} +2 -2
  168. package/dist/cli/chunks/{hnswlib-node-VAZOCNY7.js → hnswlib-node-G4QGTGIB.js} +2 -2
  169. package/dist/cli/chunks/hooks-RBVHAPBL.js +101 -0
  170. package/dist/cli/chunks/{hybrid-router-6W323WKW.js → hybrid-router-XODWORQ3.js} +2 -2
  171. package/dist/cli/chunks/{hypergraph-engine-R2N4C24I.js → hypergraph-engine-T73DH7N6.js} +2 -2
  172. package/dist/cli/chunks/{hypergraph-handler-AY4YZDOG.js → hypergraph-handler-OZJJJW5B.js} +3 -3
  173. package/dist/cli/chunks/impact-analyzer-B7GBDSA3.js +2 -0
  174. package/dist/cli/chunks/{init-handler-UDBW4P3Z.js → init-handler-YXXNCXM4.js} +6 -6
  175. package/dist/cli/chunks/init-wizard-7N6MCER4.js +2 -0
  176. package/dist/cli/chunks/kernel-6CJ4FP5Z.js +2 -0
  177. package/dist/cli/chunks/{kilocode-installer-J2NZUDEQ.js → kilocode-installer-3RCK2JPW.js} +2 -2
  178. package/dist/cli/chunks/{kiro-installer-AHOOKFQH.js → kiro-installer-LKC42QRS.js} +2 -2
  179. package/dist/cli/chunks/knowledge-graph-4XYLO6ZW.js +2 -0
  180. package/dist/cli/chunks/{learning-VC7X2HKA.js → learning-BIBRKCYL.js} +3 -3
  181. package/dist/cli/chunks/{llm-router-3PU7CH5P.js → llm-router-Z6Z7TTBI.js} +4 -4
  182. package/dist/cli/chunks/{load-WB4JD6X7.js → load-T2QUB663.js} +2 -2
  183. package/dist/cli/chunks/load-test-UODCPBYF.js +2 -0
  184. package/dist/cli/chunks/{mcp-QUU2DYYK.js → mcp-QBOL6TK4.js} +2 -2
  185. package/dist/cli/chunks/{memory-UAEWPG34.js → memory-7RQ2SF36.js} +5 -5
  186. package/dist/cli/chunks/memory-backend-PUPAE4QQ.js +2 -0
  187. package/dist/cli/chunks/{memory-handlers-3FBXIZG4.js → memory-handlers-5OHDUBJS.js} +2 -2
  188. package/dist/cli/chunks/{multi-model-executor-CIUHXR43.js → multi-model-executor-PGSNT3NO.js} +2 -2
  189. package/dist/cli/chunks/{opencode-installer-VV6RIHNR.js → opencode-installer-AEOXTTFG.js} +2 -2
  190. package/dist/cli/chunks/{orchestrator-WV27PZZM.js → orchestrator-6K2L36JA.js} +6 -6
  191. package/dist/cli/chunks/{pipeline-JRBCX2U3.js → pipeline-MFQCW7JD.js} +2 -2
  192. package/dist/cli/chunks/{platform-TUPMH4ND.js → platform-DM6RQ3FM.js} +2 -2
  193. package/dist/cli/chunks/{plugin-H757CYQK.js → plugin-CCTGDC55.js} +2 -2
  194. package/dist/cli/chunks/{prime-radiant-advanced-wasm-5BWO25RA.js → prime-radiant-advanced-wasm-J4FXB63L.js} +2 -2
  195. package/dist/cli/chunks/protocol-executor-X3EYJINP.js +2 -0
  196. package/dist/cli/chunks/{protocol-handler-Z6DCNTUU.js → protocol-handler-7UOBNLET.js} +2 -2
  197. package/dist/cli/chunks/{prove-4OGWFOUM.js → prove-VAPGITFF.js} +2 -2
  198. package/dist/cli/chunks/{provider-manager-K736L6LN.js → provider-manager-F6TLUJFW.js} +2 -2
  199. package/dist/cli/chunks/qe-reasoning-bank-3RDWPSYG.js +2 -0
  200. package/dist/cli/chunks/{quality-YFLEATGZ.js → quality-7LJQI3SB.js} +2 -2
  201. package/dist/cli/chunks/queen-coordinator-XIQZIYAZ.js +2 -0
  202. package/dist/cli/chunks/{real-embeddings-5QUSL7J4.js → real-embeddings-NHWAUSV3.js} +2 -2
  203. package/dist/cli/chunks/{roocode-installer-HDWE5XW3.js → roocode-installer-HQFQJJPU.js} +2 -2
  204. package/dist/cli/chunks/router-AFEFPU2A.js +2 -0
  205. package/dist/cli/chunks/routing-feedback-AGYMQFMV.js +2 -0
  206. package/dist/cli/chunks/{routing-handler-P6PP3FYW.js → routing-handler-VH66WSPU.js} +2 -2
  207. package/dist/cli/chunks/{ruvector-commands-VNMTRQML.js → ruvector-commands-IPUWLJFU.js} +2 -2
  208. package/dist/cli/chunks/{rvf-dual-writer-A7VW5CAT.js → rvf-dual-writer-KRFEM6JH.js} +2 -2
  209. package/dist/cli/chunks/{rvf-migration-adapter-QIPSNASM.js → rvf-migration-adapter-SVCZ72IU.js} +2 -2
  210. package/dist/cli/chunks/{rvf-migration-coordinator-XT4XDLRZ.js → rvf-migration-coordinator-FYBIF3SX.js} +2 -2
  211. package/dist/cli/chunks/rvf-native-adapter-AFOWXCZH.js +2 -0
  212. package/dist/cli/chunks/safe-db-NNF5DE5T.js +2 -0
  213. package/dist/cli/chunks/schedule-HJUZSHEA.js +2 -0
  214. package/dist/cli/chunks/scheduler-DZ53RPJQ.js +2 -0
  215. package/dist/cli/chunks/{security-E2XCP5CG.js → security-C2I6CG7B.js} +3 -3
  216. package/dist/cli/chunks/shared-rvf-adapter-5UQSTUSR.js +2 -0
  217. package/dist/cli/chunks/{shared-rvf-dual-writer-NPWTXHUI.js → shared-rvf-dual-writer-BPIFGN7I.js} +2 -2
  218. package/dist/cli/chunks/sqlite-persistence-27ESC5DX.js +2 -0
  219. package/dist/cli/chunks/{status-handler-MWVNDZSZ.js → status-handler-57UA6GNR.js} +2 -2
  220. package/dist/cli/chunks/{structural-health-2KZO43IF.js → structural-health-KMHBG6FO.js} +2 -2
  221. package/dist/cli/chunks/{sync-C5BOK3WU.js → sync-53YM6U4S.js} +2 -2
  222. package/dist/cli/chunks/{task-handler-KRVSHJGJ.js → task-handler-W2XPS5WW.js} +2 -2
  223. package/dist/cli/chunks/{task-handlers-CKOHD633.js → task-handlers-BG4IAMBJ.js} +2 -2
  224. package/dist/cli/chunks/{test-3B7FK6MJ.js → test-QJBBVPL2.js} +4 -4
  225. package/dist/cli/chunks/{test-scheduling-HZIMSTAX.js → test-scheduling-Y4J6EY2K.js} +3 -3
  226. package/dist/cli/chunks/{token-bootstrap-JJCANIHJ.js → token-bootstrap-3TKR3UIE.js} +2 -2
  227. package/dist/cli/chunks/{token-usage-5VCMBZU7.js → token-usage-5FUNHHVZ.js} +2 -2
  228. package/dist/cli/chunks/{transformers-ETUTMOTF.js → transformers-KVPA35SR.js} +2 -2
  229. package/dist/cli/chunks/{tree-sitter-wasm-parser-TMR44BKP.js → tree-sitter-wasm-parser-LTBBLY5U.js} +2 -2
  230. package/dist/cli/chunks/{types-GYT6373C.js → types-Y2BHPD6B.js} +2 -2
  231. package/dist/cli/chunks/unified-memory-O7GFUSD3.js +2 -0
  232. package/dist/cli/chunks/unified-memory-hnsw-XBLROJEN.js +2 -0
  233. package/dist/cli/chunks/unified-persistence-YBHEAL2S.js +2 -0
  234. package/dist/cli/chunks/{upgrade-534QLY7P.js → upgrade-E4VAQZQR.js} +2 -2
  235. package/dist/cli/chunks/{validate-UBVF3CSS.js → validate-4ICDQCKJ.js} +2 -2
  236. package/dist/cli/chunks/{validate-swarm-2XD45EVM.js → validate-swarm-AIEOQOUF.js} +2 -2
  237. package/dist/cli/chunks/{vibium-NMT6AQ4S.js → vibium-AF2K6YXR.js} +2 -2
  238. package/dist/cli/chunks/visual-security-4F7VYCAU.js +2 -0
  239. package/dist/cli/chunks/{web-tree-sitter-RNG6NRDD.js → web-tree-sitter-PM67K5SP.js} +2 -2
  240. package/dist/cli/chunks/{windsurf-installer-RVCDSJT3.js → windsurf-installer-4MKUQ2KT.js} +2 -2
  241. package/dist/cli/chunks/witness-chain-AXJ44BGW.js +2 -0
  242. package/dist/cli/chunks/{witness-chain-YDFB22MT.js → witness-chain-FLPF7CS6.js} +2 -2
  243. package/dist/cli/chunks/{workflow-MHW4KHNK.js → workflow-DHTCI6QD.js} +4 -4
  244. package/dist/cli/chunks/workflow-orchestrator-UAFUPHD3.js +2 -0
  245. package/dist/cli/chunks/{wrappers-SAZY3C2S.js → wrappers-5K6UGI3T.js} +2 -2
  246. package/dist/cli/commands/hooks-handlers/routing-hooks.d.ts +6 -0
  247. package/dist/cli/commands/hooks-handlers/routing-hooks.js +80 -4
  248. package/dist/init/init-wizard-hooks.js +4 -1
  249. package/dist/init/phases/07-hooks.js +4 -1
  250. package/dist/mcp/bundle.js +348 -348
  251. package/package.json +2 -2
  252. package/dist/cli/chunks/adapter-XFJIW42U.js +0 -2
  253. package/dist/cli/chunks/aqe-learning-engine-UD4SXENM.js +0 -2
  254. package/dist/cli/chunks/base-ETEN7L2V.js +0 -2
  255. package/dist/cli/chunks/browser-workflow-KVHPOIBA.js +0 -2
  256. package/dist/cli/chunks/chunk-5LDXAVDC.js +0 -2
  257. package/dist/cli/chunks/chunk-ED5OUSYZ.js +0 -2
  258. package/dist/cli/chunks/client-ZDVM5WFL.js +0 -2
  259. package/dist/cli/chunks/cross-domain-router-J5VK276J.js +0 -2
  260. package/dist/cli/chunks/dream-VCLN6RM4.js +0 -2
  261. package/dist/cli/chunks/esm-node-YZSRCH6T.js +0 -2
  262. package/dist/cli/chunks/hnsw-adapter-Y5HVTNJW.js +0 -2
  263. package/dist/cli/chunks/hnsw-index-NZTCPZA5.js +0 -2
  264. package/dist/cli/chunks/hooks-K7XGDF2Y.js +0 -101
  265. package/dist/cli/chunks/impact-analyzer-ROWLIS6H.js +0 -2
  266. package/dist/cli/chunks/init-wizard-MI76CUL5.js +0 -2
  267. package/dist/cli/chunks/kernel-5WVAV5RX.js +0 -2
  268. package/dist/cli/chunks/knowledge-graph-QXL3AWPV.js +0 -2
  269. package/dist/cli/chunks/load-test-2JOY7YH6.js +0 -2
  270. package/dist/cli/chunks/memory-backend-ZKGLAWQZ.js +0 -2
  271. package/dist/cli/chunks/protocol-executor-3Q4QY7G6.js +0 -2
  272. package/dist/cli/chunks/qe-reasoning-bank-SAMJF3NF.js +0 -2
  273. package/dist/cli/chunks/queen-coordinator-OFRH67Y2.js +0 -2
  274. package/dist/cli/chunks/router-UDHEENEY.js +0 -2
  275. package/dist/cli/chunks/routing-feedback-PBZRVFVL.js +0 -2
  276. package/dist/cli/chunks/rvf-native-adapter-CJFEDG74.js +0 -2
  277. package/dist/cli/chunks/safe-db-YMSZFHWP.js +0 -2
  278. package/dist/cli/chunks/schedule-B43N6CVB.js +0 -2
  279. package/dist/cli/chunks/scheduler-ITZH5YQM.js +0 -2
  280. package/dist/cli/chunks/shared-rvf-adapter-PV5ZBJ25.js +0 -2
  281. package/dist/cli/chunks/sqlite-persistence-RK5CKPHB.js +0 -2
  282. package/dist/cli/chunks/unified-memory-LIKELZVA.js +0 -2
  283. package/dist/cli/chunks/unified-memory-hnsw-VTN3MUB4.js +0 -2
  284. package/dist/cli/chunks/unified-persistence-MQVUY5WN.js +0 -2
  285. package/dist/cli/chunks/visual-security-HVJWGY7T.js +0 -2
  286. package/dist/cli/chunks/witness-chain-5R322YYF.js +0 -2
  287. package/dist/cli/chunks/workflow-orchestrator-637BCZI4.js +0 -2
@@ -1,2 +1,2 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.16");process.exit(0)}
2
- import{e as a}from"./chunk-3K4IX7L4.js";import{b as w,d as y}from"./chunk-4PFHQH4B.js";import{a as f,c as P}from"./chunk-V2ELGHLG.js";import{randomUUID as v}from"crypto";import*as i from"fs";import*as n from"path";import*as c from"os";y();P();var k=".aqe",b="schedules.json",F="1.0.0",g=5e3,x=50,p=10*1024*1024,d=class{schedulesPath;debug;lockFile;initialized=!1;constructor(e={}){e.schedulesPath&&this.validateSchedulesPath(e.schedulesPath),this.schedulesPath=e.schedulesPath??this.getDefaultSchedulesPath(),this.lockFile=`${this.schedulesPath}.lock`,this.debug=e.debug??!1}validateSchedulesPath(e){let s=c.homedir(),t=n.resolve(e),r=n.resolve(s);if(t.startsWith(r+n.sep)||t===r)return;let l=process.cwd(),h=n.resolve(l);if(t.startsWith(h+n.sep)||t===h)return;let u=c.tmpdir(),S=n.resolve(u);if(!(t.startsWith(S+n.sep)||t===S))throw new Error(`Security: Custom schedulesPath must be within home directory (${s}), current working directory (${l}), or temp directory (${u}). Provided path: ${e}`)}getDefaultSchedulesPath(){let e=c.homedir();return n.join(e,k,b)}async initialize(){if(this.initialized)return;let e=n.dirname(this.schedulesPath);i.existsSync(e)||(i.mkdirSync(e,{recursive:!0}),this.log(`Created directory: ${e}`)),this.initialized=!0}async loadSchedules(){if(await this.initialize(),!i.existsSync(this.schedulesPath))return this.log("Schedules file does not exist, returning empty array"),[];try{let e=i.readFileSync(this.schedulesPath,"utf-8"),s=this.parseSchedulesFile(e);return this.log(`Loaded ${s.schedules.length} schedules`),s.schedules}catch(e){return await this.handleCorruptFile(e),[]}}async saveSchedule(e){await this.initialize(),await this.withFileLock(async()=>{let s=await this.loadSchedulesUnsafe(),t=s.findIndex(r=>r.id===e.id);t>=0?(s[t]=e,this.log(`Updated schedule: ${e.id}`)):(s.push(e),this.log(`Added schedule: ${e.id}`)),await this.writeSchedules(s)})}async removeSchedule(e){await this.initialize(),await this.withFileLock(async()=>{let s=await this.loadSchedulesUnsafe(),t=s.filter(r=>r.id!==e);if(t.length===s.length){this.log(`Schedule not found: ${e}`);return}await this.writeSchedules(t),this.log(`Removed schedule: ${e}`)})}async getSchedules(){return this.loadSchedules()}async getSchedule(e){return(await this.loadSchedules()).find(t=>t.id===e)}async getDueSchedules(){let e=await this.loadSchedules(),s=new Date;return e.filter(t=>t.enabled?new Date(t.nextRun)<=s:!1)}async markExecuted(e){await this.initialize(),await this.withFileLock(async()=>{let s=await this.loadSchedulesUnsafe(),t=s.find(l=>l.id===e);if(!t)throw new Error(`Schedule not found: ${e}`);let r=new Date;t.lastRun=r.toISOString(),t.nextRun=a(t.schedule,r).toISOString(),await this.writeSchedules(s),this.log(`Marked executed: ${e}, next run: ${t.nextRun}`)})}async setEnabled(e,s){await this.initialize(),await this.withFileLock(async()=>{let t=await this.loadSchedulesUnsafe(),r=t.find(l=>l.id===e);if(!r)throw new Error(`Schedule not found: ${e}`);r.enabled=s,s&&(r.nextRun=a(r.schedule,new Date).toISOString()),await this.writeSchedules(t),this.log(`Set enabled=${s}: ${e}`)})}async getEnabledSchedules(){return(await this.loadSchedules()).filter(s=>s.enabled)}async getSchedulesByWorkflow(e){return(await this.loadSchedules()).filter(t=>t.workflowId===e)}async clearAll(){await this.initialize(),await this.withFileLock(async()=>{await this.writeSchedules([]),this.log("Cleared all schedules")})}async getStats(){let e=await this.loadSchedules(),s=new Date;return{total:e.length,enabled:e.filter(t=>t.enabled).length,disabled:e.filter(t=>!t.enabled).length,due:e.filter(t=>t.enabled&&new Date(t.nextRun)<=s).length}}async loadSchedulesUnsafe(){if(!i.existsSync(this.schedulesPath))return[];try{let e=i.readFileSync(this.schedulesPath,"utf-8");return this.parseSchedulesFile(e).schedules}catch{return[]}}parseSchedulesFile(e){let s=Buffer.byteLength(e,"utf-8");if(s>p)throw new Error(`Schedules file exceeds maximum allowed size (${p/(1024*1024)}MB). File is ${(s/(1024*1024)).toFixed(2)}MB.`);let t=w(e);if(!t.schedules||!Array.isArray(t.schedules))throw new Error("Invalid schedules file: missing schedules array");for(let r of t.schedules)if(!r.id||!r.workflowId||!r.schedule)throw new Error("Invalid schedule entry: missing required fields");return t}async writeSchedules(e){let s={version:F,updatedAt:new Date().toISOString(),schedules:e},t=JSON.stringify(s,null,2);i.writeFileSync(this.schedulesPath,t,"utf-8"),this.log(`Wrote ${e.length} schedules to disk`)}async handleCorruptFile(e){let s=f(e);this.log(`Corrupt schedules file detected: ${s}`);let t=`${this.schedulesPath}.corrupt.${Date.now()}`;try{i.existsSync(this.schedulesPath)&&(i.copyFileSync(this.schedulesPath,t),this.log(`Backed up corrupt file to: ${t}`))}catch(r){this.log(`Failed to backup corrupt file: ${r}`)}try{i.existsSync(this.schedulesPath)&&(i.unlinkSync(this.schedulesPath),this.log("Removed corrupt schedules file"))}catch(r){this.log(`Failed to remove corrupt file: ${r}`)}}async withFileLock(e){await this.acquireLock();try{return await e()}finally{this.releaseLock()}}async acquireLock(){let e=Date.now();for(;i.existsSync(this.lockFile);){try{let s=i.statSync(this.lockFile);if(Date.now()-s.mtimeMs>g){i.unlinkSync(this.lockFile),this.log("Removed stale lock file");break}}catch{break}if(Date.now()-e>g)throw new Error("Timeout waiting for scheduler lock");await this.sleep(x)}try{i.writeFileSync(this.lockFile,`${process.pid}:${Date.now()}`,{flag:"wx"})}catch(s){if(s.code==="EEXIST")return this.acquireLock();throw s}}releaseLock(){try{i.existsSync(this.lockFile)&&i.unlinkSync(this.lockFile)}catch(e){console.debug("[PersistentScheduler] Lock release error:",e instanceof Error?e.message:e)}}sleep(e){return new Promise(s=>setTimeout(s,e))}log(e){this.debug&&console.log(`[PersistentScheduler] ${e}`)}};function E(o={}){return new d(o)}function m(){let o=Date.now().toString(36),e=v().slice(0,8);return`sched-${o}-${e}`}function $(o){let e=new Date;return{id:m(),workflowId:o.workflowId,pipelinePath:o.pipelinePath,schedule:o.schedule,scheduleDescription:o.scheduleDescription,nextRun:a(o.schedule,e).toISOString(),enabled:o.enabled??!0,createdAt:e.toISOString()}}export{d as a,E as b,m as c,$ as d};
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.17");process.exit(0)}
2
+ import{e as a}from"./chunk-BGY4CHZA.js";import{b as w,d as y}from"./chunk-6YFEWIL5.js";import{a as f,c as P}from"./chunk-DJXYFFGA.js";import{randomUUID as v}from"crypto";import*as i from"fs";import*as n from"path";import*as c from"os";y();P();var k=".aqe",b="schedules.json",F="1.0.0",g=5e3,x=50,p=10*1024*1024,d=class{schedulesPath;debug;lockFile;initialized=!1;constructor(e={}){e.schedulesPath&&this.validateSchedulesPath(e.schedulesPath),this.schedulesPath=e.schedulesPath??this.getDefaultSchedulesPath(),this.lockFile=`${this.schedulesPath}.lock`,this.debug=e.debug??!1}validateSchedulesPath(e){let s=c.homedir(),t=n.resolve(e),r=n.resolve(s);if(t.startsWith(r+n.sep)||t===r)return;let l=process.cwd(),h=n.resolve(l);if(t.startsWith(h+n.sep)||t===h)return;let u=c.tmpdir(),S=n.resolve(u);if(!(t.startsWith(S+n.sep)||t===S))throw new Error(`Security: Custom schedulesPath must be within home directory (${s}), current working directory (${l}), or temp directory (${u}). Provided path: ${e}`)}getDefaultSchedulesPath(){let e=c.homedir();return n.join(e,k,b)}async initialize(){if(this.initialized)return;let e=n.dirname(this.schedulesPath);i.existsSync(e)||(i.mkdirSync(e,{recursive:!0}),this.log(`Created directory: ${e}`)),this.initialized=!0}async loadSchedules(){if(await this.initialize(),!i.existsSync(this.schedulesPath))return this.log("Schedules file does not exist, returning empty array"),[];try{let e=i.readFileSync(this.schedulesPath,"utf-8"),s=this.parseSchedulesFile(e);return this.log(`Loaded ${s.schedules.length} schedules`),s.schedules}catch(e){return await this.handleCorruptFile(e),[]}}async saveSchedule(e){await this.initialize(),await this.withFileLock(async()=>{let s=await this.loadSchedulesUnsafe(),t=s.findIndex(r=>r.id===e.id);t>=0?(s[t]=e,this.log(`Updated schedule: ${e.id}`)):(s.push(e),this.log(`Added schedule: ${e.id}`)),await this.writeSchedules(s)})}async removeSchedule(e){await this.initialize(),await this.withFileLock(async()=>{let s=await this.loadSchedulesUnsafe(),t=s.filter(r=>r.id!==e);if(t.length===s.length){this.log(`Schedule not found: ${e}`);return}await this.writeSchedules(t),this.log(`Removed schedule: ${e}`)})}async getSchedules(){return this.loadSchedules()}async getSchedule(e){return(await this.loadSchedules()).find(t=>t.id===e)}async getDueSchedules(){let e=await this.loadSchedules(),s=new Date;return e.filter(t=>t.enabled?new Date(t.nextRun)<=s:!1)}async markExecuted(e){await this.initialize(),await this.withFileLock(async()=>{let s=await this.loadSchedulesUnsafe(),t=s.find(l=>l.id===e);if(!t)throw new Error(`Schedule not found: ${e}`);let r=new Date;t.lastRun=r.toISOString(),t.nextRun=a(t.schedule,r).toISOString(),await this.writeSchedules(s),this.log(`Marked executed: ${e}, next run: ${t.nextRun}`)})}async setEnabled(e,s){await this.initialize(),await this.withFileLock(async()=>{let t=await this.loadSchedulesUnsafe(),r=t.find(l=>l.id===e);if(!r)throw new Error(`Schedule not found: ${e}`);r.enabled=s,s&&(r.nextRun=a(r.schedule,new Date).toISOString()),await this.writeSchedules(t),this.log(`Set enabled=${s}: ${e}`)})}async getEnabledSchedules(){return(await this.loadSchedules()).filter(s=>s.enabled)}async getSchedulesByWorkflow(e){return(await this.loadSchedules()).filter(t=>t.workflowId===e)}async clearAll(){await this.initialize(),await this.withFileLock(async()=>{await this.writeSchedules([]),this.log("Cleared all schedules")})}async getStats(){let e=await this.loadSchedules(),s=new Date;return{total:e.length,enabled:e.filter(t=>t.enabled).length,disabled:e.filter(t=>!t.enabled).length,due:e.filter(t=>t.enabled&&new Date(t.nextRun)<=s).length}}async loadSchedulesUnsafe(){if(!i.existsSync(this.schedulesPath))return[];try{let e=i.readFileSync(this.schedulesPath,"utf-8");return this.parseSchedulesFile(e).schedules}catch{return[]}}parseSchedulesFile(e){let s=Buffer.byteLength(e,"utf-8");if(s>p)throw new Error(`Schedules file exceeds maximum allowed size (${p/(1024*1024)}MB). File is ${(s/(1024*1024)).toFixed(2)}MB.`);let t=w(e);if(!t.schedules||!Array.isArray(t.schedules))throw new Error("Invalid schedules file: missing schedules array");for(let r of t.schedules)if(!r.id||!r.workflowId||!r.schedule)throw new Error("Invalid schedule entry: missing required fields");return t}async writeSchedules(e){let s={version:F,updatedAt:new Date().toISOString(),schedules:e},t=JSON.stringify(s,null,2);i.writeFileSync(this.schedulesPath,t,"utf-8"),this.log(`Wrote ${e.length} schedules to disk`)}async handleCorruptFile(e){let s=f(e);this.log(`Corrupt schedules file detected: ${s}`);let t=`${this.schedulesPath}.corrupt.${Date.now()}`;try{i.existsSync(this.schedulesPath)&&(i.copyFileSync(this.schedulesPath,t),this.log(`Backed up corrupt file to: ${t}`))}catch(r){this.log(`Failed to backup corrupt file: ${r}`)}try{i.existsSync(this.schedulesPath)&&(i.unlinkSync(this.schedulesPath),this.log("Removed corrupt schedules file"))}catch(r){this.log(`Failed to remove corrupt file: ${r}`)}}async withFileLock(e){await this.acquireLock();try{return await e()}finally{this.releaseLock()}}async acquireLock(){let e=Date.now();for(;i.existsSync(this.lockFile);){try{let s=i.statSync(this.lockFile);if(Date.now()-s.mtimeMs>g){i.unlinkSync(this.lockFile),this.log("Removed stale lock file");break}}catch{break}if(Date.now()-e>g)throw new Error("Timeout waiting for scheduler lock");await this.sleep(x)}try{i.writeFileSync(this.lockFile,`${process.pid}:${Date.now()}`,{flag:"wx"})}catch(s){if(s.code==="EEXIST")return this.acquireLock();throw s}}releaseLock(){try{i.existsSync(this.lockFile)&&i.unlinkSync(this.lockFile)}catch(e){console.debug("[PersistentScheduler] Lock release error:",e instanceof Error?e.message:e)}}sleep(e){return new Promise(s=>setTimeout(s,e))}log(e){this.debug&&console.log(`[PersistentScheduler] ${e}`)}};function E(o={}){return new d(o)}function m(){let o=Date.now().toString(36),e=v().slice(0,8);return`sched-${o}-${e}`}function $(o){let e=new Date;return{id:m(),workflowId:o.workflowId,pipelinePath:o.pipelinePath,schedule:o.schedule,scheduleDescription:o.scheduleDescription,nextRun:a(o.schedule,e).toISOString(),enabled:o.enabled??!0,createdAt:e.toISOString()}}export{d as a,E as b,m as c,$ as d};
@@ -1,5 +1,5 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.16");process.exit(0)}
2
- import{c as t}from"./chunk-NOJVROCD.js";function o(e){try{return e.prepare(`
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.17");process.exit(0)}
2
+ import{c as t}from"./chunk-XB4JRJU4.js";function o(e){try{return e.prepare(`
3
3
  SELECT COUNT(*) as count FROM sqlite_master
4
4
  WHERE type='table' AND name IN ('hypergraph_nodes', 'hypergraph_edges')
5
5
  `).get().count===2}catch{return!1}}var r,a,E,n,p=t(()=>{"use strict";r=`
@@ -1,2 +1,2 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.16");process.exit(0)}
2
- import{a as g}from"./chunk-7JFSMXIA.js";import{b as p,c}from"./chunk-EFTK4ZVP.js";import{a as x,b as f,c as w}from"./chunk-V2ELGHLG.js";import{f as v}from"./chunk-ED5OUSYZ.js";w();var l={ProtocolStarted:"coordination.ProtocolStarted",ProtocolCompleted:"coordination.ProtocolCompleted",ProtocolFailed:"coordination.ProtocolFailed",ProtocolCancelled:"coordination.ProtocolCancelled",ActionStarted:"coordination.ActionStarted",ActionCompleted:"coordination.ActionCompleted",ActionFailed:"coordination.ActionFailed"},E=class{constructor(e,t,o){this.eventBus=e;this.memory=t;this.getDomainAPI=o}eventBus;memory;getDomainAPI;protocols=new Map;executions=new Map;scheduledProtocols=new Map;schedulerRunning=!1;registerProtocol(e){this.protocols.set(e.id,e),e.schedule.type==="event"&&e.enabled&&this.setupEventTriggers(e),(e.schedule.type==="cron"||e.schedule.type==="interval")&&e.enabled&&this.scheduleProtocol(e)}unregisterProtocol(e){if(!this.protocols.get(e))return!1;let o=this.scheduledProtocols.get(e);return o?.intervalId&&clearInterval(o.intervalId),this.scheduledProtocols.delete(e),this.protocols.delete(e),!0}getProtocol(e){return this.protocols.get(e)}listProtocols(){return Array.from(this.protocols.values())}async execute(e,t){let o=this.protocols.get(e);return o?o.enabled?this.executeProtocol(o,t):c(new Error(`Protocol is disabled: ${e}`)):c(new Error(`Protocol not found: ${e}`))}async executeOnEvent(e,t){let o=this.protocols.get(e);return o?o.enabled?this.executeProtocol(o,void 0,t):c(new Error(`Protocol is disabled: ${e}`)):c(new Error(`Protocol not found: ${e}`))}getExecution(e){let t=this.executions.get(e);if(t)return this.toImmutableExecution(t.execution)}listActiveExecutions(){return Array.from(this.executions.values()).filter(e=>e.execution.status==="running"||e.execution.status==="paused").map(e=>this.toImmutableExecution(e.execution))}async cancelExecution(e){let t=this.executions.get(e);return t?t.execution.status!=="running"&&t.execution.status!=="paused"?c(new Error(`Cannot cancel execution in status: ${t.execution.status}`)):(t.cancelled=!0,t.execution.status="cancelled",t.execution.completedAt=new Date,await this.publishEvent(l.ProtocolCancelled,{executionId:e,protocolId:t.protocol.id}),p(void 0)):c(new Error(`Execution not found: ${e}`))}async pauseExecution(e){let t=this.executions.get(e);return t?t.execution.status!=="running"?c(new Error(`Cannot pause execution in status: ${t.execution.status}`)):(t.paused=!0,t.execution.status="paused",p(void 0)):c(new Error(`Execution not found: ${e}`))}async resumeExecution(e){let t=this.executions.get(e);return t?t.execution.status!=="paused"?c(new Error(`Cannot resume execution in status: ${t.execution.status}`)):(t.paused=!1,t.execution.status="running",p(void 0)):c(new Error(`Execution not found: ${e}`))}startScheduler(){if(!this.schedulerRunning){this.schedulerRunning=!0;for(let e of this.protocols.values())e.enabled&&(e.schedule.type==="interval"||e.schedule.type==="cron")&&this.scheduleProtocol(e)}}stopScheduler(){this.schedulerRunning=!1;for(let e of this.scheduledProtocols.values())e.intervalId&&(clearInterval(e.intervalId),e.intervalId=void 0)}async dispose(){this.stopScheduler(),this.protocols.clear(),this.executions.clear(),this.scheduledProtocols.clear()}async executeProtocol(e,t,o){let r=v(),a=o?.correlationId??r,n={executionId:r,protocolId:e.id,status:"running",participants:[...e.participants],results:new Map,startedAt:new Date,correlationId:a,triggeredBy:o},u={execution:n,protocol:e,params:t,actionResults:new Map,cancelled:!1,paused:!1};this.executions.set(r,u),await this.publishEvent(l.ProtocolStarted,{executionId:r,protocolId:e.id,participants:e.participants},a);try{await this.executeActions(u);let i=Array.from(u.actionResults.values()).some(s=>s.status==="failed");return u.cancelled?n.status="cancelled":i?(n.status="failed",await this.publishEvent(l.ProtocolFailed,{executionId:r,protocolId:e.id,failedActions:Array.from(u.actionResults.values()).filter(s=>s.status==="failed").map(s=>s.actionId)},a)):(n.status="completed",await this.publishEvent(l.ProtocolCompleted,{executionId:r,protocolId:e.id,duration:Date.now()-n.startedAt.getTime()},a)),n.completedAt=new Date,n.results=u.actionResults,await this.storeExecutionHistory(n),p(this.toImmutableExecution(n))}catch(i){return n.status="failed",n.completedAt=new Date,await this.publishEvent(l.ProtocolFailed,{executionId:r,protocolId:e.id,error:x(i)},a),c(f(i))}}async executeActions(e){let{protocol:t,actionResults:o}=e,r=new Set(t.actions.map(n=>n.id)),a=new Set;for(;r.size>0&&!e.cancelled;){for(;e.paused&&!e.cancelled;)await this.sleep(100);if(e.cancelled)break;let n=t.actions.filter(i=>r.has(i.id)&&this.dependenciesSatisfied(i,a));if(n.length===0&&r.size>0)throw new Error(`Deadlock detected: actions ${Array.from(r).join(", ")} cannot proceed`);let u=await Promise.allSettled(n.map(i=>this.executeAction(i,e)));for(let i=0;i<n.length;i++){let s=n[i],d=u[i],m;d.status==="fulfilled"?m=d.value:m={actionId:s.id,status:"failed",error:d.reason instanceof Error?d.reason.message:String(d.reason)},o.set(s.id,m),r.delete(s.id),m.status==="completed"&&a.add(s.id)}}for(let n of r)o.set(n,{actionId:n,status:e.cancelled?"cancelled":"skipped"})}async executeAction(e,t){let o=new Date;await this.publishEvent(l.ActionStarted,{executionId:t.execution.executionId,actionId:e.id,actionName:e.name,targetDomain:e.targetDomain},t.execution.correlationId);let r=0,a=e.retry?.maxAttempts??1,n;for(;r<a;){r++;try{let i=this.getDomainAPI(e.targetDomain);if(!i)throw new Error(`Domain API not available: ${e.targetDomain}`);let s=i[e.method];if(typeof s!="function")throw new Error(`Method ${e.method} not found on domain ${e.targetDomain}`);let d={...e.params,...t.params},m=await this.executeWithTimeout(s.bind(i)(d),e.timeout??3e4),h=new Date;return await this.publishEvent(l.ActionCompleted,{executionId:t.execution.executionId,actionId:e.id,duration:h.getTime()-o.getTime()},t.execution.correlationId),{actionId:e.id,status:"completed",startedAt:o,completedAt:h,duration:h.getTime()-o.getTime(),result:m,retryAttempts:r>1?r-1:void 0}}catch(i){if(n=f(i),r<a&&e.retry){let s=e.retry.backoffMs*Math.pow(e.retry.backoffMultiplier??2,r-1);await this.sleep(s)}}}let u=new Date;return await this.publishEvent(l.ActionFailed,{executionId:t.execution.executionId,actionId:e.id,error:n?.message??"Unknown error",attempts:r},t.execution.correlationId),{actionId:e.id,status:"failed",startedAt:o,completedAt:u,duration:u.getTime()-o.getTime(),error:n?.message??"Unknown error",retryAttempts:r>1?r-1:void 0}}dependenciesSatisfied(e,t){return!e.dependsOn||e.dependsOn.length===0?!0:e.dependsOn.every(o=>t.has(o))}async executeWithTimeout(e,t){return Promise.race([e,new Promise((o,r)=>setTimeout(()=>r(new Error("Action timeout")),t))])}setupEventTriggers(e){if(e.schedule.type==="event")for(let t of e.schedule.triggerEvents)this.eventBus.subscribe(t,async o=>{await this.executeOnEvent(e.id,o)})}scheduleProtocol(e){if(e.schedule.type==="interval"){let t={protocolId:e.id,schedule:e.schedule};t.intervalId=setInterval(async()=>{this.schedulerRunning&&await this.execute(e.id)},e.schedule.intervalMs),this.scheduledProtocols.set(e.id,t)}}async storeExecutionHistory(e){let t=`protocol-execution:${e.executionId}`;await this.memory.set(t,{...e,results:Object.fromEntries(e.results)},{namespace:"coordination",ttl:864e5})}toImmutableExecution(e){return{executionId:e.executionId,protocolId:e.protocolId,status:e.status,participants:[...e.participants],results:new Map(e.results),startedAt:e.startedAt,completedAt:e.completedAt,correlationId:e.correlationId,triggeredBy:e.triggeredBy}}async publishEvent(e,t,o){let r=g(e,"learning-optimization",t,o);await this.eventBus.publish(r)}sleep(e){return new Promise(t=>setTimeout(t,e))}};function S(P,e,t){return new E(P,e,t)}export{E as a,S as b};
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.17");process.exit(0)}
2
+ import{a as g}from"./chunk-OSBJWQZL.js";import{b as p,c}from"./chunk-UTO2M76W.js";import{a as x,b as f,c as w}from"./chunk-DJXYFFGA.js";import{i as v}from"./chunk-Z5R46W6Q.js";w();var l={ProtocolStarted:"coordination.ProtocolStarted",ProtocolCompleted:"coordination.ProtocolCompleted",ProtocolFailed:"coordination.ProtocolFailed",ProtocolCancelled:"coordination.ProtocolCancelled",ActionStarted:"coordination.ActionStarted",ActionCompleted:"coordination.ActionCompleted",ActionFailed:"coordination.ActionFailed"},E=class{constructor(e,t,o){this.eventBus=e;this.memory=t;this.getDomainAPI=o}eventBus;memory;getDomainAPI;protocols=new Map;executions=new Map;scheduledProtocols=new Map;schedulerRunning=!1;registerProtocol(e){this.protocols.set(e.id,e),e.schedule.type==="event"&&e.enabled&&this.setupEventTriggers(e),(e.schedule.type==="cron"||e.schedule.type==="interval")&&e.enabled&&this.scheduleProtocol(e)}unregisterProtocol(e){if(!this.protocols.get(e))return!1;let o=this.scheduledProtocols.get(e);return o?.intervalId&&clearInterval(o.intervalId),this.scheduledProtocols.delete(e),this.protocols.delete(e),!0}getProtocol(e){return this.protocols.get(e)}listProtocols(){return Array.from(this.protocols.values())}async execute(e,t){let o=this.protocols.get(e);return o?o.enabled?this.executeProtocol(o,t):c(new Error(`Protocol is disabled: ${e}`)):c(new Error(`Protocol not found: ${e}`))}async executeOnEvent(e,t){let o=this.protocols.get(e);return o?o.enabled?this.executeProtocol(o,void 0,t):c(new Error(`Protocol is disabled: ${e}`)):c(new Error(`Protocol not found: ${e}`))}getExecution(e){let t=this.executions.get(e);if(t)return this.toImmutableExecution(t.execution)}listActiveExecutions(){return Array.from(this.executions.values()).filter(e=>e.execution.status==="running"||e.execution.status==="paused").map(e=>this.toImmutableExecution(e.execution))}async cancelExecution(e){let t=this.executions.get(e);return t?t.execution.status!=="running"&&t.execution.status!=="paused"?c(new Error(`Cannot cancel execution in status: ${t.execution.status}`)):(t.cancelled=!0,t.execution.status="cancelled",t.execution.completedAt=new Date,await this.publishEvent(l.ProtocolCancelled,{executionId:e,protocolId:t.protocol.id}),p(void 0)):c(new Error(`Execution not found: ${e}`))}async pauseExecution(e){let t=this.executions.get(e);return t?t.execution.status!=="running"?c(new Error(`Cannot pause execution in status: ${t.execution.status}`)):(t.paused=!0,t.execution.status="paused",p(void 0)):c(new Error(`Execution not found: ${e}`))}async resumeExecution(e){let t=this.executions.get(e);return t?t.execution.status!=="paused"?c(new Error(`Cannot resume execution in status: ${t.execution.status}`)):(t.paused=!1,t.execution.status="running",p(void 0)):c(new Error(`Execution not found: ${e}`))}startScheduler(){if(!this.schedulerRunning){this.schedulerRunning=!0;for(let e of this.protocols.values())e.enabled&&(e.schedule.type==="interval"||e.schedule.type==="cron")&&this.scheduleProtocol(e)}}stopScheduler(){this.schedulerRunning=!1;for(let e of this.scheduledProtocols.values())e.intervalId&&(clearInterval(e.intervalId),e.intervalId=void 0)}async dispose(){this.stopScheduler(),this.protocols.clear(),this.executions.clear(),this.scheduledProtocols.clear()}async executeProtocol(e,t,o){let r=v(),a=o?.correlationId??r,n={executionId:r,protocolId:e.id,status:"running",participants:[...e.participants],results:new Map,startedAt:new Date,correlationId:a,triggeredBy:o},u={execution:n,protocol:e,params:t,actionResults:new Map,cancelled:!1,paused:!1};this.executions.set(r,u),await this.publishEvent(l.ProtocolStarted,{executionId:r,protocolId:e.id,participants:e.participants},a);try{await this.executeActions(u);let i=Array.from(u.actionResults.values()).some(s=>s.status==="failed");return u.cancelled?n.status="cancelled":i?(n.status="failed",await this.publishEvent(l.ProtocolFailed,{executionId:r,protocolId:e.id,failedActions:Array.from(u.actionResults.values()).filter(s=>s.status==="failed").map(s=>s.actionId)},a)):(n.status="completed",await this.publishEvent(l.ProtocolCompleted,{executionId:r,protocolId:e.id,duration:Date.now()-n.startedAt.getTime()},a)),n.completedAt=new Date,n.results=u.actionResults,await this.storeExecutionHistory(n),p(this.toImmutableExecution(n))}catch(i){return n.status="failed",n.completedAt=new Date,await this.publishEvent(l.ProtocolFailed,{executionId:r,protocolId:e.id,error:x(i)},a),c(f(i))}}async executeActions(e){let{protocol:t,actionResults:o}=e,r=new Set(t.actions.map(n=>n.id)),a=new Set;for(;r.size>0&&!e.cancelled;){for(;e.paused&&!e.cancelled;)await this.sleep(100);if(e.cancelled)break;let n=t.actions.filter(i=>r.has(i.id)&&this.dependenciesSatisfied(i,a));if(n.length===0&&r.size>0)throw new Error(`Deadlock detected: actions ${Array.from(r).join(", ")} cannot proceed`);let u=await Promise.allSettled(n.map(i=>this.executeAction(i,e)));for(let i=0;i<n.length;i++){let s=n[i],d=u[i],m;d.status==="fulfilled"?m=d.value:m={actionId:s.id,status:"failed",error:d.reason instanceof Error?d.reason.message:String(d.reason)},o.set(s.id,m),r.delete(s.id),m.status==="completed"&&a.add(s.id)}}for(let n of r)o.set(n,{actionId:n,status:e.cancelled?"cancelled":"skipped"})}async executeAction(e,t){let o=new Date;await this.publishEvent(l.ActionStarted,{executionId:t.execution.executionId,actionId:e.id,actionName:e.name,targetDomain:e.targetDomain},t.execution.correlationId);let r=0,a=e.retry?.maxAttempts??1,n;for(;r<a;){r++;try{let i=this.getDomainAPI(e.targetDomain);if(!i)throw new Error(`Domain API not available: ${e.targetDomain}`);let s=i[e.method];if(typeof s!="function")throw new Error(`Method ${e.method} not found on domain ${e.targetDomain}`);let d={...e.params,...t.params},m=await this.executeWithTimeout(s.bind(i)(d),e.timeout??3e4),h=new Date;return await this.publishEvent(l.ActionCompleted,{executionId:t.execution.executionId,actionId:e.id,duration:h.getTime()-o.getTime()},t.execution.correlationId),{actionId:e.id,status:"completed",startedAt:o,completedAt:h,duration:h.getTime()-o.getTime(),result:m,retryAttempts:r>1?r-1:void 0}}catch(i){if(n=f(i),r<a&&e.retry){let s=e.retry.backoffMs*Math.pow(e.retry.backoffMultiplier??2,r-1);await this.sleep(s)}}}let u=new Date;return await this.publishEvent(l.ActionFailed,{executionId:t.execution.executionId,actionId:e.id,error:n?.message??"Unknown error",attempts:r},t.execution.correlationId),{actionId:e.id,status:"failed",startedAt:o,completedAt:u,duration:u.getTime()-o.getTime(),error:n?.message??"Unknown error",retryAttempts:r>1?r-1:void 0}}dependenciesSatisfied(e,t){return!e.dependsOn||e.dependsOn.length===0?!0:e.dependsOn.every(o=>t.has(o))}async executeWithTimeout(e,t){return Promise.race([e,new Promise((o,r)=>setTimeout(()=>r(new Error("Action timeout")),t))])}setupEventTriggers(e){if(e.schedule.type==="event")for(let t of e.schedule.triggerEvents)this.eventBus.subscribe(t,async o=>{await this.executeOnEvent(e.id,o)})}scheduleProtocol(e){if(e.schedule.type==="interval"){let t={protocolId:e.id,schedule:e.schedule};t.intervalId=setInterval(async()=>{this.schedulerRunning&&await this.execute(e.id)},e.schedule.intervalMs),this.scheduledProtocols.set(e.id,t)}}async storeExecutionHistory(e){let t=`protocol-execution:${e.executionId}`;await this.memory.set(t,{...e,results:Object.fromEntries(e.results)},{namespace:"coordination",ttl:864e5})}toImmutableExecution(e){return{executionId:e.executionId,protocolId:e.protocolId,status:e.status,participants:[...e.participants],results:new Map(e.results),startedAt:e.startedAt,completedAt:e.completedAt,correlationId:e.correlationId,triggeredBy:e.triggeredBy}}async publishEvent(e,t,o){let r=g(e,"learning-optimization",t,o);await this.eventBus.publish(r)}sleep(e){return new Promise(t=>setTimeout(t,e))}};function S(P,e,t){return new E(P,e,t)}export{E as a,S as b};
@@ -1,2 +1,2 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.9.16");process.exit(0)}
2
- import{e as s,f as u}from"./chunk-TPRYLARW.js";import{a as o,c as d,e as f,g as v}from"./chunk-NOJVROCD.js";var R={};f(R,{getSharedRvfAdapter:()=>c,resetSharedRvfAdapter:()=>p});function c(a=".agentic-qe",n=384){if(r)return e;r=!0;try{let{isRvfNativeAvailable:t,createRvfStore:i}=(u(),v(s));if(!t())return console.warn("[RVF] Native bindings unavailable \u2014 agent branching and dream COW disabled. Install @ruvector/rvf-node to enable."),null;let l=o("path");return e=i(l.join(a,"patterns.rvf"),n),e}catch(t){return console.warn("[RVF] Shared adapter init failed:",t instanceof Error?t.message:t),null}}function p(){if(e){try{e.close()}catch{}e=null}r=!1}var e,r,h=d(()=>{e=null,r=!1});export{c as a,p as b,R as c,h as d};
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.17");process.exit(0)}
2
+ import{e as s,f as u}from"./chunk-CPZUNBSQ.js";import{a as o,c as d,e as f,g as v}from"./chunk-XB4JRJU4.js";var R={};f(R,{getSharedRvfAdapter:()=>c,resetSharedRvfAdapter:()=>p});function c(a=".agentic-qe",n=384){if(r)return e;r=!0;try{let{isRvfNativeAvailable:t,createRvfStore:i}=(u(),v(s));if(!t())return console.warn("[RVF] Native bindings unavailable \u2014 agent branching and dream COW disabled. Install @ruvector/rvf-node to enable."),null;let l=o("path");return e=i(l.join(a,"patterns.rvf"),n),e}catch(t){return console.warn("[RVF] Shared adapter init failed:",t instanceof Error?t.message:t),null}}function p(){if(e){try{e.close()}catch{}e=null}r=!1}var e,r,h=d(()=>{e=null,r=!1});export{c as a,p as b,R as c,h as d};