getmy-ruflo 3.5.46 → 3.5.47

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 (749) hide show
  1. package/package.json +1 -1
  2. package/v3/@claude-flow/cli/bin/cli.js +3 -10
  3. package/v3/@claude-flow/cli/bin/mcp-server.js +3 -10
  4. package/v3/@claude-flow/cli/bin/mcp-sse-server.js +6 -15
  5. package/v3/@claude-flow/cli/dist/src/appliance/gguf-engine.d.ts +0 -91
  6. package/v3/@claude-flow/cli/dist/src/appliance/gguf-engine.d.ts.map +0 -1
  7. package/v3/@claude-flow/cli/dist/src/appliance/gguf-engine.js +0 -425
  8. package/v3/@claude-flow/cli/dist/src/appliance/gguf-engine.js.map +0 -1
  9. package/v3/@claude-flow/cli/dist/src/appliance/ruvllm-bridge.d.ts +0 -102
  10. package/v3/@claude-flow/cli/dist/src/appliance/ruvllm-bridge.d.ts.map +0 -1
  11. package/v3/@claude-flow/cli/dist/src/appliance/ruvllm-bridge.js +0 -292
  12. package/v3/@claude-flow/cli/dist/src/appliance/ruvllm-bridge.js.map +0 -1
  13. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-builder.d.ts +0 -44
  14. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-builder.d.ts.map +0 -1
  15. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-builder.js +0 -329
  16. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-builder.js.map +0 -1
  17. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-distribution.d.ts +0 -97
  18. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-distribution.d.ts.map +0 -1
  19. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-distribution.js +0 -370
  20. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-distribution.js.map +0 -1
  21. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-format.d.ts +0 -111
  22. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-format.d.ts.map +0 -1
  23. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-format.js +0 -393
  24. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-format.js.map +0 -1
  25. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-runner.d.ts +0 -69
  26. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-runner.d.ts.map +0 -1
  27. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-runner.js +0 -237
  28. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-runner.js.map +0 -1
  29. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-signing.d.ts +0 -123
  30. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-signing.d.ts.map +0 -1
  31. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-signing.js +0 -347
  32. package/v3/@claude-flow/cli/dist/src/appliance/rvfa-signing.js.map +0 -1
  33. package/v3/@claude-flow/cli/dist/src/benchmarks/pretrain/index.d.ts +0 -58
  34. package/v3/@claude-flow/cli/dist/src/benchmarks/pretrain/index.d.ts.map +0 -1
  35. package/v3/@claude-flow/cli/dist/src/benchmarks/pretrain/index.js +0 -404
  36. package/v3/@claude-flow/cli/dist/src/benchmarks/pretrain/index.js.map +0 -1
  37. package/v3/@claude-flow/cli/dist/src/commands/agent.d.ts +0 -8
  38. package/v3/@claude-flow/cli/dist/src/commands/agent.d.ts.map +0 -1
  39. package/v3/@claude-flow/cli/dist/src/commands/agent.js +0 -919
  40. package/v3/@claude-flow/cli/dist/src/commands/agent.js.map +0 -1
  41. package/v3/@claude-flow/cli/dist/src/commands/analyze.d.ts +0 -19
  42. package/v3/@claude-flow/cli/dist/src/commands/analyze.d.ts.map +0 -1
  43. package/v3/@claude-flow/cli/dist/src/commands/analyze.js +0 -1823
  44. package/v3/@claude-flow/cli/dist/src/commands/analyze.js.map +0 -1
  45. package/v3/@claude-flow/cli/dist/src/commands/appliance-advanced.d.ts +0 -9
  46. package/v3/@claude-flow/cli/dist/src/commands/appliance-advanced.d.ts.map +0 -1
  47. package/v3/@claude-flow/cli/dist/src/commands/appliance-advanced.js +0 -215
  48. package/v3/@claude-flow/cli/dist/src/commands/appliance-advanced.js.map +0 -1
  49. package/v3/@claude-flow/cli/dist/src/commands/appliance.d.ts +0 -8
  50. package/v3/@claude-flow/cli/dist/src/commands/appliance.d.ts.map +0 -1
  51. package/v3/@claude-flow/cli/dist/src/commands/appliance.js +0 -406
  52. package/v3/@claude-flow/cli/dist/src/commands/appliance.js.map +0 -1
  53. package/v3/@claude-flow/cli/dist/src/commands/benchmark.d.ts +0 -10
  54. package/v3/@claude-flow/cli/dist/src/commands/benchmark.d.ts.map +0 -1
  55. package/v3/@claude-flow/cli/dist/src/commands/benchmark.js +0 -459
  56. package/v3/@claude-flow/cli/dist/src/commands/benchmark.js.map +0 -1
  57. package/v3/@claude-flow/cli/dist/src/commands/claims.d.ts +0 -10
  58. package/v3/@claude-flow/cli/dist/src/commands/claims.d.ts.map +0 -1
  59. package/v3/@claude-flow/cli/dist/src/commands/claims.js +0 -373
  60. package/v3/@claude-flow/cli/dist/src/commands/claims.js.map +0 -1
  61. package/v3/@claude-flow/cli/dist/src/commands/cleanup.d.ts +0 -13
  62. package/v3/@claude-flow/cli/dist/src/commands/cleanup.d.ts.map +0 -1
  63. package/v3/@claude-flow/cli/dist/src/commands/cleanup.js +0 -218
  64. package/v3/@claude-flow/cli/dist/src/commands/cleanup.js.map +0 -1
  65. package/v3/@claude-flow/cli/dist/src/commands/completions.d.ts +0 -10
  66. package/v3/@claude-flow/cli/dist/src/commands/completions.d.ts.map +0 -1
  67. package/v3/@claude-flow/cli/dist/src/commands/completions.js +0 -539
  68. package/v3/@claude-flow/cli/dist/src/commands/completions.js.map +0 -1
  69. package/v3/@claude-flow/cli/dist/src/commands/config.d.ts +0 -8
  70. package/v3/@claude-flow/cli/dist/src/commands/config.d.ts.map +0 -1
  71. package/v3/@claude-flow/cli/dist/src/commands/config.js +0 -406
  72. package/v3/@claude-flow/cli/dist/src/commands/config.js.map +0 -1
  73. package/v3/@claude-flow/cli/dist/src/commands/daemon.d.ts +0 -8
  74. package/v3/@claude-flow/cli/dist/src/commands/daemon.d.ts.map +0 -1
  75. package/v3/@claude-flow/cli/dist/src/commands/daemon.js +0 -656
  76. package/v3/@claude-flow/cli/dist/src/commands/daemon.js.map +0 -1
  77. package/v3/@claude-flow/cli/dist/src/commands/deployment.d.ts +0 -10
  78. package/v3/@claude-flow/cli/dist/src/commands/deployment.d.ts.map +0 -1
  79. package/v3/@claude-flow/cli/dist/src/commands/deployment.js +0 -289
  80. package/v3/@claude-flow/cli/dist/src/commands/deployment.js.map +0 -1
  81. package/v3/@claude-flow/cli/dist/src/commands/doctor.d.ts +0 -10
  82. package/v3/@claude-flow/cli/dist/src/commands/doctor.d.ts.map +0 -1
  83. package/v3/@claude-flow/cli/dist/src/commands/doctor.js +0 -619
  84. package/v3/@claude-flow/cli/dist/src/commands/doctor.js.map +0 -1
  85. package/v3/@claude-flow/cli/dist/src/commands/embeddings.d.ts +0 -18
  86. package/v3/@claude-flow/cli/dist/src/commands/embeddings.d.ts.map +0 -1
  87. package/v3/@claude-flow/cli/dist/src/commands/embeddings.js +0 -1576
  88. package/v3/@claude-flow/cli/dist/src/commands/embeddings.js.map +0 -1
  89. package/v3/@claude-flow/cli/dist/src/commands/guidance.d.ts +0 -8
  90. package/v3/@claude-flow/cli/dist/src/commands/guidance.d.ts.map +0 -1
  91. package/v3/@claude-flow/cli/dist/src/commands/guidance.js +0 -560
  92. package/v3/@claude-flow/cli/dist/src/commands/guidance.js.map +0 -1
  93. package/v3/@claude-flow/cli/dist/src/commands/hive-mind.d.ts +0 -11
  94. package/v3/@claude-flow/cli/dist/src/commands/hive-mind.d.ts.map +0 -1
  95. package/v3/@claude-flow/cli/dist/src/commands/hive-mind.js +0 -1230
  96. package/v3/@claude-flow/cli/dist/src/commands/hive-mind.js.map +0 -1
  97. package/v3/@claude-flow/cli/dist/src/commands/hooks.d.ts +0 -8
  98. package/v3/@claude-flow/cli/dist/src/commands/hooks.d.ts.map +0 -1
  99. package/v3/@claude-flow/cli/dist/src/commands/hooks.js +0 -4441
  100. package/v3/@claude-flow/cli/dist/src/commands/hooks.js.map +0 -1
  101. package/v3/@claude-flow/cli/dist/src/commands/index.d.ts +0 -115
  102. package/v3/@claude-flow/cli/dist/src/commands/index.d.ts.map +0 -1
  103. package/v3/@claude-flow/cli/dist/src/commands/index.js +0 -377
  104. package/v3/@claude-flow/cli/dist/src/commands/index.js.map +0 -1
  105. package/v3/@claude-flow/cli/dist/src/commands/init.d.ts +0 -8
  106. package/v3/@claude-flow/cli/dist/src/commands/init.d.ts.map +0 -1
  107. package/v3/@claude-flow/cli/dist/src/commands/init.js +0 -969
  108. package/v3/@claude-flow/cli/dist/src/commands/init.js.map +0 -1
  109. package/v3/@claude-flow/cli/dist/src/commands/issues.d.ts +0 -21
  110. package/v3/@claude-flow/cli/dist/src/commands/issues.d.ts.map +0 -1
  111. package/v3/@claude-flow/cli/dist/src/commands/issues.js +0 -567
  112. package/v3/@claude-flow/cli/dist/src/commands/issues.js.map +0 -1
  113. package/v3/@claude-flow/cli/dist/src/commands/mcp.d.ts +0 -11
  114. package/v3/@claude-flow/cli/dist/src/commands/mcp.d.ts.map +0 -1
  115. package/v3/@claude-flow/cli/dist/src/commands/mcp.js +0 -779
  116. package/v3/@claude-flow/cli/dist/src/commands/mcp.js.map +0 -1
  117. package/v3/@claude-flow/cli/dist/src/commands/memory.d.ts +0 -8
  118. package/v3/@claude-flow/cli/dist/src/commands/memory.d.ts.map +0 -1
  119. package/v3/@claude-flow/cli/dist/src/commands/memory.js +0 -1292
  120. package/v3/@claude-flow/cli/dist/src/commands/memory.js.map +0 -1
  121. package/v3/@claude-flow/cli/dist/src/commands/migrate.d.ts +0 -8
  122. package/v3/@claude-flow/cli/dist/src/commands/migrate.d.ts.map +0 -1
  123. package/v3/@claude-flow/cli/dist/src/commands/migrate.js +0 -410
  124. package/v3/@claude-flow/cli/dist/src/commands/migrate.js.map +0 -1
  125. package/v3/@claude-flow/cli/dist/src/commands/neural.d.ts +0 -10
  126. package/v3/@claude-flow/cli/dist/src/commands/neural.d.ts.map +0 -1
  127. package/v3/@claude-flow/cli/dist/src/commands/neural.js +0 -1454
  128. package/v3/@claude-flow/cli/dist/src/commands/neural.js.map +0 -1
  129. package/v3/@claude-flow/cli/dist/src/commands/performance.d.ts +0 -10
  130. package/v3/@claude-flow/cli/dist/src/commands/performance.d.ts.map +0 -1
  131. package/v3/@claude-flow/cli/dist/src/commands/performance.js +0 -579
  132. package/v3/@claude-flow/cli/dist/src/commands/performance.js.map +0 -1
  133. package/v3/@claude-flow/cli/dist/src/commands/plugins.d.ts +0 -11
  134. package/v3/@claude-flow/cli/dist/src/commands/plugins.d.ts.map +0 -1
  135. package/v3/@claude-flow/cli/dist/src/commands/plugins.js +0 -820
  136. package/v3/@claude-flow/cli/dist/src/commands/plugins.js.map +0 -1
  137. package/v3/@claude-flow/cli/dist/src/commands/process.d.ts +0 -10
  138. package/v3/@claude-flow/cli/dist/src/commands/process.d.ts.map +0 -1
  139. package/v3/@claude-flow/cli/dist/src/commands/process.js +0 -641
  140. package/v3/@claude-flow/cli/dist/src/commands/process.js.map +0 -1
  141. package/v3/@claude-flow/cli/dist/src/commands/progress.d.ts +0 -11
  142. package/v3/@claude-flow/cli/dist/src/commands/progress.d.ts.map +0 -1
  143. package/v3/@claude-flow/cli/dist/src/commands/progress.js +0 -259
  144. package/v3/@claude-flow/cli/dist/src/commands/progress.js.map +0 -1
  145. package/v3/@claude-flow/cli/dist/src/commands/providers.d.ts +0 -10
  146. package/v3/@claude-flow/cli/dist/src/commands/providers.d.ts.map +0 -1
  147. package/v3/@claude-flow/cli/dist/src/commands/providers.js +0 -232
  148. package/v3/@claude-flow/cli/dist/src/commands/providers.js.map +0 -1
  149. package/v3/@claude-flow/cli/dist/src/commands/route.d.ts +0 -16
  150. package/v3/@claude-flow/cli/dist/src/commands/route.d.ts.map +0 -1
  151. package/v3/@claude-flow/cli/dist/src/commands/route.js +0 -813
  152. package/v3/@claude-flow/cli/dist/src/commands/route.js.map +0 -1
  153. package/v3/@claude-flow/cli/dist/src/commands/ruvector/backup.d.ts +0 -11
  154. package/v3/@claude-flow/cli/dist/src/commands/ruvector/backup.d.ts.map +0 -1
  155. package/v3/@claude-flow/cli/dist/src/commands/ruvector/backup.js +0 -746
  156. package/v3/@claude-flow/cli/dist/src/commands/ruvector/backup.js.map +0 -1
  157. package/v3/@claude-flow/cli/dist/src/commands/ruvector/benchmark.d.ts +0 -11
  158. package/v3/@claude-flow/cli/dist/src/commands/ruvector/benchmark.d.ts.map +0 -1
  159. package/v3/@claude-flow/cli/dist/src/commands/ruvector/benchmark.js +0 -480
  160. package/v3/@claude-flow/cli/dist/src/commands/ruvector/benchmark.js.map +0 -1
  161. package/v3/@claude-flow/cli/dist/src/commands/ruvector/import.d.ts +0 -18
  162. package/v3/@claude-flow/cli/dist/src/commands/ruvector/import.d.ts.map +0 -1
  163. package/v3/@claude-flow/cli/dist/src/commands/ruvector/import.js +0 -349
  164. package/v3/@claude-flow/cli/dist/src/commands/ruvector/import.js.map +0 -1
  165. package/v3/@claude-flow/cli/dist/src/commands/ruvector/index.d.ts +0 -29
  166. package/v3/@claude-flow/cli/dist/src/commands/ruvector/index.d.ts.map +0 -1
  167. package/v3/@claude-flow/cli/dist/src/commands/ruvector/index.js +0 -129
  168. package/v3/@claude-flow/cli/dist/src/commands/ruvector/index.js.map +0 -1
  169. package/v3/@claude-flow/cli/dist/src/commands/ruvector/init.d.ts +0 -11
  170. package/v3/@claude-flow/cli/dist/src/commands/ruvector/init.d.ts.map +0 -1
  171. package/v3/@claude-flow/cli/dist/src/commands/ruvector/init.js +0 -431
  172. package/v3/@claude-flow/cli/dist/src/commands/ruvector/init.js.map +0 -1
  173. package/v3/@claude-flow/cli/dist/src/commands/ruvector/migrate.d.ts +0 -11
  174. package/v3/@claude-flow/cli/dist/src/commands/ruvector/migrate.d.ts.map +0 -1
  175. package/v3/@claude-flow/cli/dist/src/commands/ruvector/migrate.js +0 -481
  176. package/v3/@claude-flow/cli/dist/src/commands/ruvector/migrate.js.map +0 -1
  177. package/v3/@claude-flow/cli/dist/src/commands/ruvector/optimize.d.ts +0 -11
  178. package/v3/@claude-flow/cli/dist/src/commands/ruvector/optimize.d.ts.map +0 -1
  179. package/v3/@claude-flow/cli/dist/src/commands/ruvector/optimize.js +0 -503
  180. package/v3/@claude-flow/cli/dist/src/commands/ruvector/optimize.js.map +0 -1
  181. package/v3/@claude-flow/cli/dist/src/commands/ruvector/setup.d.ts +0 -18
  182. package/v3/@claude-flow/cli/dist/src/commands/ruvector/setup.d.ts.map +0 -1
  183. package/v3/@claude-flow/cli/dist/src/commands/ruvector/setup.js +0 -765
  184. package/v3/@claude-flow/cli/dist/src/commands/ruvector/setup.js.map +0 -1
  185. package/v3/@claude-flow/cli/dist/src/commands/ruvector/status.d.ts +0 -11
  186. package/v3/@claude-flow/cli/dist/src/commands/ruvector/status.d.ts.map +0 -1
  187. package/v3/@claude-flow/cli/dist/src/commands/ruvector/status.js +0 -456
  188. package/v3/@claude-flow/cli/dist/src/commands/ruvector/status.js.map +0 -1
  189. package/v3/@claude-flow/cli/dist/src/commands/security.d.ts +0 -10
  190. package/v3/@claude-flow/cli/dist/src/commands/security.d.ts.map +0 -1
  191. package/v3/@claude-flow/cli/dist/src/commands/security.js +0 -606
  192. package/v3/@claude-flow/cli/dist/src/commands/security.js.map +0 -1
  193. package/v3/@claude-flow/cli/dist/src/commands/session.d.ts +0 -8
  194. package/v3/@claude-flow/cli/dist/src/commands/session.d.ts.map +0 -1
  195. package/v3/@claude-flow/cli/dist/src/commands/session.js +0 -750
  196. package/v3/@claude-flow/cli/dist/src/commands/session.js.map +0 -1
  197. package/v3/@claude-flow/cli/dist/src/commands/start.d.ts +0 -8
  198. package/v3/@claude-flow/cli/dist/src/commands/start.d.ts.map +0 -1
  199. package/v3/@claude-flow/cli/dist/src/commands/start.js +0 -418
  200. package/v3/@claude-flow/cli/dist/src/commands/start.js.map +0 -1
  201. package/v3/@claude-flow/cli/dist/src/commands/status.d.ts +0 -8
  202. package/v3/@claude-flow/cli/dist/src/commands/status.d.ts.map +0 -1
  203. package/v3/@claude-flow/cli/dist/src/commands/status.js +0 -591
  204. package/v3/@claude-flow/cli/dist/src/commands/status.js.map +0 -1
  205. package/v3/@claude-flow/cli/dist/src/commands/swarm.d.ts +0 -8
  206. package/v3/@claude-flow/cli/dist/src/commands/swarm.d.ts.map +0 -1
  207. package/v3/@claude-flow/cli/dist/src/commands/swarm.js +0 -748
  208. package/v3/@claude-flow/cli/dist/src/commands/swarm.js.map +0 -1
  209. package/v3/@claude-flow/cli/dist/src/commands/task.d.ts +0 -8
  210. package/v3/@claude-flow/cli/dist/src/commands/task.d.ts.map +0 -1
  211. package/v3/@claude-flow/cli/dist/src/commands/task.js +0 -671
  212. package/v3/@claude-flow/cli/dist/src/commands/task.js.map +0 -1
  213. package/v3/@claude-flow/cli/dist/src/commands/transfer-store.d.ts +0 -13
  214. package/v3/@claude-flow/cli/dist/src/commands/transfer-store.d.ts.map +0 -1
  215. package/v3/@claude-flow/cli/dist/src/commands/transfer-store.js +0 -428
  216. package/v3/@claude-flow/cli/dist/src/commands/transfer-store.js.map +0 -1
  217. package/v3/@claude-flow/cli/dist/src/commands/update.d.ts +0 -8
  218. package/v3/@claude-flow/cli/dist/src/commands/update.d.ts.map +0 -1
  219. package/v3/@claude-flow/cli/dist/src/commands/update.js +0 -276
  220. package/v3/@claude-flow/cli/dist/src/commands/update.js.map +0 -1
  221. package/v3/@claude-flow/cli/dist/src/commands/workflow.d.ts +0 -8
  222. package/v3/@claude-flow/cli/dist/src/commands/workflow.d.ts.map +0 -1
  223. package/v3/@claude-flow/cli/dist/src/commands/workflow.js +0 -617
  224. package/v3/@claude-flow/cli/dist/src/commands/workflow.js.map +0 -1
  225. package/v3/@claude-flow/cli/dist/src/config-adapter.d.ts +0 -15
  226. package/v3/@claude-flow/cli/dist/src/config-adapter.d.ts.map +0 -1
  227. package/v3/@claude-flow/cli/dist/src/config-adapter.js +0 -186
  228. package/v3/@claude-flow/cli/dist/src/config-adapter.js.map +0 -1
  229. package/v3/@claude-flow/cli/dist/src/index.d.ts +0 -76
  230. package/v3/@claude-flow/cli/dist/src/index.d.ts.map +0 -1
  231. package/v3/@claude-flow/cli/dist/src/index.js +0 -472
  232. package/v3/@claude-flow/cli/dist/src/index.js.map +0 -1
  233. package/v3/@claude-flow/cli/dist/src/infrastructure/in-memory-repositories.d.ts +0 -68
  234. package/v3/@claude-flow/cli/dist/src/infrastructure/in-memory-repositories.d.ts.map +0 -1
  235. package/v3/@claude-flow/cli/dist/src/infrastructure/in-memory-repositories.js +0 -264
  236. package/v3/@claude-flow/cli/dist/src/infrastructure/in-memory-repositories.js.map +0 -1
  237. package/v3/@claude-flow/cli/dist/src/init/claudemd-generator.d.ts +0 -25
  238. package/v3/@claude-flow/cli/dist/src/init/claudemd-generator.d.ts.map +0 -1
  239. package/v3/@claude-flow/cli/dist/src/init/claudemd-generator.js +0 -486
  240. package/v3/@claude-flow/cli/dist/src/init/claudemd-generator.js.map +0 -1
  241. package/v3/@claude-flow/cli/dist/src/init/executor.d.ts +0 -41
  242. package/v3/@claude-flow/cli/dist/src/init/executor.d.ts.map +0 -1
  243. package/v3/@claude-flow/cli/dist/src/init/executor.js +0 -1738
  244. package/v3/@claude-flow/cli/dist/src/init/executor.js.map +0 -1
  245. package/v3/@claude-flow/cli/dist/src/init/helpers-generator.d.ts +0 -60
  246. package/v3/@claude-flow/cli/dist/src/init/helpers-generator.d.ts.map +0 -1
  247. package/v3/@claude-flow/cli/dist/src/init/helpers-generator.js +0 -1181
  248. package/v3/@claude-flow/cli/dist/src/init/helpers-generator.js.map +0 -1
  249. package/v3/@claude-flow/cli/dist/src/init/index.d.ts +0 -13
  250. package/v3/@claude-flow/cli/dist/src/init/index.d.ts.map +0 -1
  251. package/v3/@claude-flow/cli/dist/src/init/index.js +0 -15
  252. package/v3/@claude-flow/cli/dist/src/init/index.js.map +0 -1
  253. package/v3/@claude-flow/cli/dist/src/init/mcp-generator.d.ts +0 -26
  254. package/v3/@claude-flow/cli/dist/src/init/mcp-generator.d.ts.map +0 -1
  255. package/v3/@claude-flow/cli/dist/src/init/mcp-generator.js +0 -116
  256. package/v3/@claude-flow/cli/dist/src/init/mcp-generator.js.map +0 -1
  257. package/v3/@claude-flow/cli/dist/src/init/settings-generator.d.ts +0 -14
  258. package/v3/@claude-flow/cli/dist/src/init/settings-generator.d.ts.map +0 -1
  259. package/v3/@claude-flow/cli/dist/src/init/settings-generator.js +0 -403
  260. package/v3/@claude-flow/cli/dist/src/init/settings-generator.js.map +0 -1
  261. package/v3/@claude-flow/cli/dist/src/init/statusline-generator.d.ts +0 -28
  262. package/v3/@claude-flow/cli/dist/src/init/statusline-generator.d.ts.map +0 -1
  263. package/v3/@claude-flow/cli/dist/src/init/statusline-generator.js +0 -833
  264. package/v3/@claude-flow/cli/dist/src/init/statusline-generator.js.map +0 -1
  265. package/v3/@claude-flow/cli/dist/src/init/types.d.ts +0 -295
  266. package/v3/@claude-flow/cli/dist/src/init/types.d.ts.map +0 -1
  267. package/v3/@claude-flow/cli/dist/src/init/types.js +0 -263
  268. package/v3/@claude-flow/cli/dist/src/init/types.js.map +0 -1
  269. package/v3/@claude-flow/cli/dist/src/mcp-client.d.ts +0 -98
  270. package/v3/@claude-flow/cli/dist/src/mcp-client.d.ts.map +0 -1
  271. package/v3/@claude-flow/cli/dist/src/mcp-client.js +0 -291
  272. package/v3/@claude-flow/cli/dist/src/mcp-client.js.map +0 -1
  273. package/v3/@claude-flow/cli/dist/src/mcp-server.d.ts +0 -161
  274. package/v3/@claude-flow/cli/dist/src/mcp-server.d.ts.map +0 -1
  275. package/v3/@claude-flow/cli/dist/src/mcp-server.js +0 -635
  276. package/v3/@claude-flow/cli/dist/src/mcp-server.js.map +0 -1
  277. package/v3/@claude-flow/cli/dist/src/mcp-tools/adr-tools.d.ts +0 -13
  278. package/v3/@claude-flow/cli/dist/src/mcp-tools/adr-tools.d.ts.map +0 -1
  279. package/v3/@claude-flow/cli/dist/src/mcp-tools/adr-tools.js +0 -423
  280. package/v3/@claude-flow/cli/dist/src/mcp-tools/adr-tools.js.map +0 -1
  281. package/v3/@claude-flow/cli/dist/src/mcp-tools/agent-tools.d.ts +0 -49
  282. package/v3/@claude-flow/cli/dist/src/mcp-tools/agent-tools.d.ts.map +0 -1
  283. package/v3/@claude-flow/cli/dist/src/mcp-tools/agent-tools.js +0 -622
  284. package/v3/@claude-flow/cli/dist/src/mcp-tools/agent-tools.js.map +0 -1
  285. package/v3/@claude-flow/cli/dist/src/mcp-tools/agentdb-tools.d.ts +0 -30
  286. package/v3/@claude-flow/cli/dist/src/mcp-tools/agentdb-tools.d.ts.map +0 -1
  287. package/v3/@claude-flow/cli/dist/src/mcp-tools/agentdb-tools.js +0 -557
  288. package/v3/@claude-flow/cli/dist/src/mcp-tools/agentdb-tools.js.map +0 -1
  289. package/v3/@claude-flow/cli/dist/src/mcp-tools/analyze-tools.d.ts +0 -38
  290. package/v3/@claude-flow/cli/dist/src/mcp-tools/analyze-tools.d.ts.map +0 -1
  291. package/v3/@claude-flow/cli/dist/src/mcp-tools/analyze-tools.js +0 -317
  292. package/v3/@claude-flow/cli/dist/src/mcp-tools/analyze-tools.js.map +0 -1
  293. package/v3/@claude-flow/cli/dist/src/mcp-tools/auto-install.d.ts +0 -83
  294. package/v3/@claude-flow/cli/dist/src/mcp-tools/auto-install.d.ts.map +0 -1
  295. package/v3/@claude-flow/cli/dist/src/mcp-tools/auto-install.js +0 -131
  296. package/v3/@claude-flow/cli/dist/src/mcp-tools/auto-install.js.map +0 -1
  297. package/v3/@claude-flow/cli/dist/src/mcp-tools/browser-tools.d.ts +0 -10
  298. package/v3/@claude-flow/cli/dist/src/mcp-tools/browser-tools.d.ts.map +0 -1
  299. package/v3/@claude-flow/cli/dist/src/mcp-tools/browser-tools.js +0 -639
  300. package/v3/@claude-flow/cli/dist/src/mcp-tools/browser-tools.js.map +0 -1
  301. package/v3/@claude-flow/cli/dist/src/mcp-tools/claims-tools.d.ts +0 -12
  302. package/v3/@claude-flow/cli/dist/src/mcp-tools/claims-tools.d.ts.map +0 -1
  303. package/v3/@claude-flow/cli/dist/src/mcp-tools/claims-tools.js +0 -732
  304. package/v3/@claude-flow/cli/dist/src/mcp-tools/claims-tools.js.map +0 -1
  305. package/v3/@claude-flow/cli/dist/src/mcp-tools/codebase-tools.d.ts +0 -16
  306. package/v3/@claude-flow/cli/dist/src/mcp-tools/codebase-tools.d.ts.map +0 -1
  307. package/v3/@claude-flow/cli/dist/src/mcp-tools/codebase-tools.js +0 -1220
  308. package/v3/@claude-flow/cli/dist/src/mcp-tools/codebase-tools.js.map +0 -1
  309. package/v3/@claude-flow/cli/dist/src/mcp-tools/config-tools.d.ts +0 -8
  310. package/v3/@claude-flow/cli/dist/src/mcp-tools/config-tools.d.ts.map +0 -1
  311. package/v3/@claude-flow/cli/dist/src/mcp-tools/config-tools.js +0 -352
  312. package/v3/@claude-flow/cli/dist/src/mcp-tools/config-tools.js.map +0 -1
  313. package/v3/@claude-flow/cli/dist/src/mcp-tools/coordination-tools.d.ts +0 -13
  314. package/v3/@claude-flow/cli/dist/src/mcp-tools/coordination-tools.d.ts.map +0 -1
  315. package/v3/@claude-flow/cli/dist/src/mcp-tools/coordination-tools.js +0 -827
  316. package/v3/@claude-flow/cli/dist/src/mcp-tools/coordination-tools.js.map +0 -1
  317. package/v3/@claude-flow/cli/dist/src/mcp-tools/creative-tools.d.ts +0 -16
  318. package/v3/@claude-flow/cli/dist/src/mcp-tools/creative-tools.d.ts.map +0 -1
  319. package/v3/@claude-flow/cli/dist/src/mcp-tools/creative-tools.js +0 -423
  320. package/v3/@claude-flow/cli/dist/src/mcp-tools/creative-tools.js.map +0 -1
  321. package/v3/@claude-flow/cli/dist/src/mcp-tools/daa-tools.d.ts +0 -13
  322. package/v3/@claude-flow/cli/dist/src/mcp-tools/daa-tools.d.ts.map +0 -1
  323. package/v3/@claude-flow/cli/dist/src/mcp-tools/daa-tools.js +0 -426
  324. package/v3/@claude-flow/cli/dist/src/mcp-tools/daa-tools.js.map +0 -1
  325. package/v3/@claude-flow/cli/dist/src/mcp-tools/dev-tools.d.ts +0 -11
  326. package/v3/@claude-flow/cli/dist/src/mcp-tools/dev-tools.d.ts.map +0 -1
  327. package/v3/@claude-flow/cli/dist/src/mcp-tools/dev-tools.js +0 -713
  328. package/v3/@claude-flow/cli/dist/src/mcp-tools/dev-tools.js.map +0 -1
  329. package/v3/@claude-flow/cli/dist/src/mcp-tools/embeddings-tools.d.ts +0 -9
  330. package/v3/@claude-flow/cli/dist/src/mcp-tools/embeddings-tools.d.ts.map +0 -1
  331. package/v3/@claude-flow/cli/dist/src/mcp-tools/embeddings-tools.js +0 -782
  332. package/v3/@claude-flow/cli/dist/src/mcp-tools/embeddings-tools.js.map +0 -1
  333. package/v3/@claude-flow/cli/dist/src/mcp-tools/github-tools.d.ts +0 -13
  334. package/v3/@claude-flow/cli/dist/src/mcp-tools/github-tools.d.ts.map +0 -1
  335. package/v3/@claude-flow/cli/dist/src/mcp-tools/github-tools.js +0 -373
  336. package/v3/@claude-flow/cli/dist/src/mcp-tools/github-tools.js.map +0 -1
  337. package/v3/@claude-flow/cli/dist/src/mcp-tools/hive-mind-tools.d.ts +0 -8
  338. package/v3/@claude-flow/cli/dist/src/mcp-tools/hive-mind-tools.d.ts.map +0 -1
  339. package/v3/@claude-flow/cli/dist/src/mcp-tools/hive-mind-tools.js +0 -1037
  340. package/v3/@claude-flow/cli/dist/src/mcp-tools/hive-mind-tools.js.map +0 -1
  341. package/v3/@claude-flow/cli/dist/src/mcp-tools/hooks-tools.d.ts +0 -44
  342. package/v3/@claude-flow/cli/dist/src/mcp-tools/hooks-tools.d.ts.map +0 -1
  343. package/v3/@claude-flow/cli/dist/src/mcp-tools/hooks-tools.js +0 -3112
  344. package/v3/@claude-flow/cli/dist/src/mcp-tools/hooks-tools.js.map +0 -1
  345. package/v3/@claude-flow/cli/dist/src/mcp-tools/index.d.ts +0 -29
  346. package/v3/@claude-flow/cli/dist/src/mcp-tools/index.d.ts.map +0 -1
  347. package/v3/@claude-flow/cli/dist/src/mcp-tools/index.js +0 -28
  348. package/v3/@claude-flow/cli/dist/src/mcp-tools/index.js.map +0 -1
  349. package/v3/@claude-flow/cli/dist/src/mcp-tools/infrastructure-tools.d.ts +0 -10
  350. package/v3/@claude-flow/cli/dist/src/mcp-tools/infrastructure-tools.d.ts.map +0 -1
  351. package/v3/@claude-flow/cli/dist/src/mcp-tools/infrastructure-tools.js +0 -547
  352. package/v3/@claude-flow/cli/dist/src/mcp-tools/infrastructure-tools.js.map +0 -1
  353. package/v3/@claude-flow/cli/dist/src/mcp-tools/memory-tools.d.ts +0 -14
  354. package/v3/@claude-flow/cli/dist/src/mcp-tools/memory-tools.d.ts.map +0 -1
  355. package/v3/@claude-flow/cli/dist/src/mcp-tools/memory-tools.js +0 -512
  356. package/v3/@claude-flow/cli/dist/src/mcp-tools/memory-tools.js.map +0 -1
  357. package/v3/@claude-flow/cli/dist/src/mcp-tools/neural-tools.d.ts +0 -16
  358. package/v3/@claude-flow/cli/dist/src/mcp-tools/neural-tools.d.ts.map +0 -1
  359. package/v3/@claude-flow/cli/dist/src/mcp-tools/neural-tools.js +0 -461
  360. package/v3/@claude-flow/cli/dist/src/mcp-tools/neural-tools.js.map +0 -1
  361. package/v3/@claude-flow/cli/dist/src/mcp-tools/ollama-tools.d.ts +0 -9
  362. package/v3/@claude-flow/cli/dist/src/mcp-tools/ollama-tools.d.ts.map +0 -1
  363. package/v3/@claude-flow/cli/dist/src/mcp-tools/ollama-tools.js +0 -91
  364. package/v3/@claude-flow/cli/dist/src/mcp-tools/ollama-tools.js.map +0 -1
  365. package/v3/@claude-flow/cli/dist/src/mcp-tools/performance-tools.d.ts +0 -16
  366. package/v3/@claude-flow/cli/dist/src/mcp-tools/performance-tools.d.ts.map +0 -1
  367. package/v3/@claude-flow/cli/dist/src/mcp-tools/performance-tools.js +0 -534
  368. package/v3/@claude-flow/cli/dist/src/mcp-tools/performance-tools.js.map +0 -1
  369. package/v3/@claude-flow/cli/dist/src/mcp-tools/plugin-tools.d.ts +0 -19
  370. package/v3/@claude-flow/cli/dist/src/mcp-tools/plugin-tools.d.ts.map +0 -1
  371. package/v3/@claude-flow/cli/dist/src/mcp-tools/plugin-tools.js +0 -135
  372. package/v3/@claude-flow/cli/dist/src/mcp-tools/plugin-tools.js.map +0 -1
  373. package/v3/@claude-flow/cli/dist/src/mcp-tools/pr-fleet-tools.d.ts +0 -19
  374. package/v3/@claude-flow/cli/dist/src/mcp-tools/pr-fleet-tools.d.ts.map +0 -1
  375. package/v3/@claude-flow/cli/dist/src/mcp-tools/pr-fleet-tools.js +0 -512
  376. package/v3/@claude-flow/cli/dist/src/mcp-tools/pr-fleet-tools.js.map +0 -1
  377. package/v3/@claude-flow/cli/dist/src/mcp-tools/process-manager-tools.d.ts +0 -9
  378. package/v3/@claude-flow/cli/dist/src/mcp-tools/process-manager-tools.d.ts.map +0 -1
  379. package/v3/@claude-flow/cli/dist/src/mcp-tools/process-manager-tools.js +0 -631
  380. package/v3/@claude-flow/cli/dist/src/mcp-tools/process-manager-tools.js.map +0 -1
  381. package/v3/@claude-flow/cli/dist/src/mcp-tools/progress-tools.d.ts +0 -14
  382. package/v3/@claude-flow/cli/dist/src/mcp-tools/progress-tools.d.ts.map +0 -1
  383. package/v3/@claude-flow/cli/dist/src/mcp-tools/progress-tools.js +0 -348
  384. package/v3/@claude-flow/cli/dist/src/mcp-tools/progress-tools.js.map +0 -1
  385. package/v3/@claude-flow/cli/dist/src/mcp-tools/refactor-tools.d.ts +0 -10
  386. package/v3/@claude-flow/cli/dist/src/mcp-tools/refactor-tools.d.ts.map +0 -1
  387. package/v3/@claude-flow/cli/dist/src/mcp-tools/refactor-tools.js +0 -471
  388. package/v3/@claude-flow/cli/dist/src/mcp-tools/refactor-tools.js.map +0 -1
  389. package/v3/@claude-flow/cli/dist/src/mcp-tools/ruvllm-tools.d.ts +0 -9
  390. package/v3/@claude-flow/cli/dist/src/mcp-tools/ruvllm-tools.d.ts.map +0 -1
  391. package/v3/@claude-flow/cli/dist/src/mcp-tools/ruvllm-tools.js +0 -283
  392. package/v3/@claude-flow/cli/dist/src/mcp-tools/ruvllm-tools.js.map +0 -1
  393. package/v3/@claude-flow/cli/dist/src/mcp-tools/security-tools.d.ts +0 -18
  394. package/v3/@claude-flow/cli/dist/src/mcp-tools/security-tools.d.ts.map +0 -1
  395. package/v3/@claude-flow/cli/dist/src/mcp-tools/security-tools.js +0 -434
  396. package/v3/@claude-flow/cli/dist/src/mcp-tools/security-tools.js.map +0 -1
  397. package/v3/@claude-flow/cli/dist/src/mcp-tools/session-tools.d.ts +0 -8
  398. package/v3/@claude-flow/cli/dist/src/mcp-tools/session-tools.d.ts.map +0 -1
  399. package/v3/@claude-flow/cli/dist/src/mcp-tools/session-tools.js +0 -315
  400. package/v3/@claude-flow/cli/dist/src/mcp-tools/session-tools.js.map +0 -1
  401. package/v3/@claude-flow/cli/dist/src/mcp-tools/skill-dispatch-tools.d.ts +0 -17
  402. package/v3/@claude-flow/cli/dist/src/mcp-tools/skill-dispatch-tools.d.ts.map +0 -1
  403. package/v3/@claude-flow/cli/dist/src/mcp-tools/skill-dispatch-tools.js +0 -384
  404. package/v3/@claude-flow/cli/dist/src/mcp-tools/skill-dispatch-tools.js.map +0 -1
  405. package/v3/@claude-flow/cli/dist/src/mcp-tools/skills-tools.d.ts +0 -14
  406. package/v3/@claude-flow/cli/dist/src/mcp-tools/skills-tools.d.ts.map +0 -1
  407. package/v3/@claude-flow/cli/dist/src/mcp-tools/skills-tools.js +0 -295
  408. package/v3/@claude-flow/cli/dist/src/mcp-tools/skills-tools.js.map +0 -1
  409. package/v3/@claude-flow/cli/dist/src/mcp-tools/swarm-tools.d.ts +0 -9
  410. package/v3/@claude-flow/cli/dist/src/mcp-tools/swarm-tools.d.ts.map +0 -1
  411. package/v3/@claude-flow/cli/dist/src/mcp-tools/swarm-tools.js +0 -321
  412. package/v3/@claude-flow/cli/dist/src/mcp-tools/swarm-tools.js.map +0 -1
  413. package/v3/@claude-flow/cli/dist/src/mcp-tools/system-tools.d.ts +0 -13
  414. package/v3/@claude-flow/cli/dist/src/mcp-tools/system-tools.d.ts.map +0 -1
  415. package/v3/@claude-flow/cli/dist/src/mcp-tools/system-tools.js +0 -417
  416. package/v3/@claude-flow/cli/dist/src/mcp-tools/system-tools.js.map +0 -1
  417. package/v3/@claude-flow/cli/dist/src/mcp-tools/task-tools.d.ts +0 -8
  418. package/v3/@claude-flow/cli/dist/src/mcp-tools/task-tools.d.ts.map +0 -1
  419. package/v3/@claude-flow/cli/dist/src/mcp-tools/task-tools.js +0 -404
  420. package/v3/@claude-flow/cli/dist/src/mcp-tools/task-tools.js.map +0 -1
  421. package/v3/@claude-flow/cli/dist/src/mcp-tools/terminal-tools.d.ts +0 -15
  422. package/v3/@claude-flow/cli/dist/src/mcp-tools/terminal-tools.d.ts.map +0 -1
  423. package/v3/@claude-flow/cli/dist/src/mcp-tools/terminal-tools.js +0 -339
  424. package/v3/@claude-flow/cli/dist/src/mcp-tools/terminal-tools.js.map +0 -1
  425. package/v3/@claude-flow/cli/dist/src/mcp-tools/transfer-tools.d.ts +0 -14
  426. package/v3/@claude-flow/cli/dist/src/mcp-tools/transfer-tools.d.ts.map +0 -1
  427. package/v3/@claude-flow/cli/dist/src/mcp-tools/transfer-tools.js +0 -396
  428. package/v3/@claude-flow/cli/dist/src/mcp-tools/transfer-tools.js.map +0 -1
  429. package/v3/@claude-flow/cli/dist/src/mcp-tools/types.d.ts +0 -31
  430. package/v3/@claude-flow/cli/dist/src/mcp-tools/types.d.ts.map +0 -1
  431. package/v3/@claude-flow/cli/dist/src/mcp-tools/types.js +0 -7
  432. package/v3/@claude-flow/cli/dist/src/mcp-tools/types.js.map +0 -1
  433. package/v3/@claude-flow/cli/dist/src/mcp-tools/wasm-agent-tools.d.ts +0 -9
  434. package/v3/@claude-flow/cli/dist/src/mcp-tools/wasm-agent-tools.d.ts.map +0 -1
  435. package/v3/@claude-flow/cli/dist/src/mcp-tools/wasm-agent-tools.js +0 -230
  436. package/v3/@claude-flow/cli/dist/src/mcp-tools/wasm-agent-tools.js.map +0 -1
  437. package/v3/@claude-flow/cli/dist/src/mcp-tools/workflow-tools.d.ts +0 -8
  438. package/v3/@claude-flow/cli/dist/src/mcp-tools/workflow-tools.d.ts.map +0 -1
  439. package/v3/@claude-flow/cli/dist/src/mcp-tools/workflow-tools.js +0 -572
  440. package/v3/@claude-flow/cli/dist/src/mcp-tools/workflow-tools.js.map +0 -1
  441. package/v3/@claude-flow/cli/dist/src/memory/ewc-consolidation.d.ts +0 -295
  442. package/v3/@claude-flow/cli/dist/src/memory/ewc-consolidation.d.ts.map +0 -1
  443. package/v3/@claude-flow/cli/dist/src/memory/ewc-consolidation.js +0 -601
  444. package/v3/@claude-flow/cli/dist/src/memory/ewc-consolidation.js.map +0 -1
  445. package/v3/@claude-flow/cli/dist/src/memory/intelligence.d.ts +0 -338
  446. package/v3/@claude-flow/cli/dist/src/memory/intelligence.d.ts.map +0 -1
  447. package/v3/@claude-flow/cli/dist/src/memory/intelligence.js +0 -1023
  448. package/v3/@claude-flow/cli/dist/src/memory/intelligence.js.map +0 -1
  449. package/v3/@claude-flow/cli/dist/src/memory/memory-bridge.d.ts +0 -407
  450. package/v3/@claude-flow/cli/dist/src/memory/memory-bridge.d.ts.map +0 -1
  451. package/v3/@claude-flow/cli/dist/src/memory/memory-bridge.js +0 -1494
  452. package/v3/@claude-flow/cli/dist/src/memory/memory-bridge.js.map +0 -1
  453. package/v3/@claude-flow/cli/dist/src/memory/memory-initializer.d.ts +0 -434
  454. package/v3/@claude-flow/cli/dist/src/memory/memory-initializer.d.ts.map +0 -1
  455. package/v3/@claude-flow/cli/dist/src/memory/memory-initializer.js +0 -2243
  456. package/v3/@claude-flow/cli/dist/src/memory/memory-initializer.js.map +0 -1
  457. package/v3/@claude-flow/cli/dist/src/memory/sona-optimizer.d.ts +0 -227
  458. package/v3/@claude-flow/cli/dist/src/memory/sona-optimizer.d.ts.map +0 -1
  459. package/v3/@claude-flow/cli/dist/src/memory/sona-optimizer.js +0 -633
  460. package/v3/@claude-flow/cli/dist/src/memory/sona-optimizer.js.map +0 -1
  461. package/v3/@claude-flow/cli/dist/src/output.d.ts +0 -133
  462. package/v3/@claude-flow/cli/dist/src/output.d.ts.map +0 -1
  463. package/v3/@claude-flow/cli/dist/src/output.js +0 -514
  464. package/v3/@claude-flow/cli/dist/src/output.js.map +0 -1
  465. package/v3/@claude-flow/cli/dist/src/parser.d.ts +0 -51
  466. package/v3/@claude-flow/cli/dist/src/parser.d.ts.map +0 -1
  467. package/v3/@claude-flow/cli/dist/src/parser.js +0 -423
  468. package/v3/@claude-flow/cli/dist/src/parser.js.map +0 -1
  469. package/v3/@claude-flow/cli/dist/src/plugins/manager.d.ts +0 -133
  470. package/v3/@claude-flow/cli/dist/src/plugins/manager.d.ts.map +0 -1
  471. package/v3/@claude-flow/cli/dist/src/plugins/manager.js +0 -400
  472. package/v3/@claude-flow/cli/dist/src/plugins/manager.js.map +0 -1
  473. package/v3/@claude-flow/cli/dist/src/plugins/store/discovery.d.ts +0 -88
  474. package/v3/@claude-flow/cli/dist/src/plugins/store/discovery.d.ts.map +0 -1
  475. package/v3/@claude-flow/cli/dist/src/plugins/store/discovery.js +0 -1147
  476. package/v3/@claude-flow/cli/dist/src/plugins/store/discovery.js.map +0 -1
  477. package/v3/@claude-flow/cli/dist/src/plugins/store/index.d.ts +0 -76
  478. package/v3/@claude-flow/cli/dist/src/plugins/store/index.d.ts.map +0 -1
  479. package/v3/@claude-flow/cli/dist/src/plugins/store/index.js +0 -141
  480. package/v3/@claude-flow/cli/dist/src/plugins/store/index.js.map +0 -1
  481. package/v3/@claude-flow/cli/dist/src/plugins/store/search.d.ts +0 -46
  482. package/v3/@claude-flow/cli/dist/src/plugins/store/search.d.ts.map +0 -1
  483. package/v3/@claude-flow/cli/dist/src/plugins/store/search.js +0 -230
  484. package/v3/@claude-flow/cli/dist/src/plugins/store/search.js.map +0 -1
  485. package/v3/@claude-flow/cli/dist/src/plugins/store/types.d.ts +0 -274
  486. package/v3/@claude-flow/cli/dist/src/plugins/store/types.d.ts.map +0 -1
  487. package/v3/@claude-flow/cli/dist/src/plugins/store/types.js +0 -7
  488. package/v3/@claude-flow/cli/dist/src/plugins/store/types.js.map +0 -1
  489. package/v3/@claude-flow/cli/dist/src/plugins/tests/demo-plugin-store.d.ts +0 -7
  490. package/v3/@claude-flow/cli/dist/src/plugins/tests/demo-plugin-store.d.ts.map +0 -1
  491. package/v3/@claude-flow/cli/dist/src/plugins/tests/demo-plugin-store.js +0 -126
  492. package/v3/@claude-flow/cli/dist/src/plugins/tests/demo-plugin-store.js.map +0 -1
  493. package/v3/@claude-flow/cli/dist/src/plugins/tests/standalone-test.d.ts +0 -12
  494. package/v3/@claude-flow/cli/dist/src/plugins/tests/standalone-test.d.ts.map +0 -1
  495. package/v3/@claude-flow/cli/dist/src/plugins/tests/standalone-test.js +0 -188
  496. package/v3/@claude-flow/cli/dist/src/plugins/tests/standalone-test.js.map +0 -1
  497. package/v3/@claude-flow/cli/dist/src/plugins/tests/test-plugin-store.d.ts +0 -7
  498. package/v3/@claude-flow/cli/dist/src/plugins/tests/test-plugin-store.d.ts.map +0 -1
  499. package/v3/@claude-flow/cli/dist/src/plugins/tests/test-plugin-store.js +0 -206
  500. package/v3/@claude-flow/cli/dist/src/plugins/tests/test-plugin-store.js.map +0 -1
  501. package/v3/@claude-flow/cli/dist/src/process-supervisor.d.ts +0 -41
  502. package/v3/@claude-flow/cli/dist/src/process-supervisor.d.ts.map +0 -1
  503. package/v3/@claude-flow/cli/dist/src/process-supervisor.js +0 -214
  504. package/v3/@claude-flow/cli/dist/src/process-supervisor.js.map +0 -1
  505. package/v3/@claude-flow/cli/dist/src/production/circuit-breaker.d.ts +0 -101
  506. package/v3/@claude-flow/cli/dist/src/production/circuit-breaker.d.ts.map +0 -1
  507. package/v3/@claude-flow/cli/dist/src/production/circuit-breaker.js +0 -241
  508. package/v3/@claude-flow/cli/dist/src/production/circuit-breaker.js.map +0 -1
  509. package/v3/@claude-flow/cli/dist/src/production/error-handler.d.ts +0 -92
  510. package/v3/@claude-flow/cli/dist/src/production/error-handler.d.ts.map +0 -1
  511. package/v3/@claude-flow/cli/dist/src/production/error-handler.js +0 -299
  512. package/v3/@claude-flow/cli/dist/src/production/error-handler.js.map +0 -1
  513. package/v3/@claude-flow/cli/dist/src/production/index.d.ts +0 -23
  514. package/v3/@claude-flow/cli/dist/src/production/index.d.ts.map +0 -1
  515. package/v3/@claude-flow/cli/dist/src/production/index.js +0 -18
  516. package/v3/@claude-flow/cli/dist/src/production/index.js.map +0 -1
  517. package/v3/@claude-flow/cli/dist/src/production/monitoring.d.ts +0 -161
  518. package/v3/@claude-flow/cli/dist/src/production/monitoring.d.ts.map +0 -1
  519. package/v3/@claude-flow/cli/dist/src/production/monitoring.js +0 -356
  520. package/v3/@claude-flow/cli/dist/src/production/monitoring.js.map +0 -1
  521. package/v3/@claude-flow/cli/dist/src/production/rate-limiter.d.ts +0 -80
  522. package/v3/@claude-flow/cli/dist/src/production/rate-limiter.d.ts.map +0 -1
  523. package/v3/@claude-flow/cli/dist/src/production/rate-limiter.js +0 -201
  524. package/v3/@claude-flow/cli/dist/src/production/rate-limiter.js.map +0 -1
  525. package/v3/@claude-flow/cli/dist/src/production/retry.d.ts +0 -48
  526. package/v3/@claude-flow/cli/dist/src/production/retry.d.ts.map +0 -1
  527. package/v3/@claude-flow/cli/dist/src/production/retry.js +0 -179
  528. package/v3/@claude-flow/cli/dist/src/production/retry.js.map +0 -1
  529. package/v3/@claude-flow/cli/dist/src/prompt.d.ts +0 -44
  530. package/v3/@claude-flow/cli/dist/src/prompt.d.ts.map +0 -1
  531. package/v3/@claude-flow/cli/dist/src/prompt.js +0 -501
  532. package/v3/@claude-flow/cli/dist/src/prompt.js.map +0 -1
  533. package/v3/@claude-flow/cli/dist/src/runtime/headless.d.ts +0 -60
  534. package/v3/@claude-flow/cli/dist/src/runtime/headless.d.ts.map +0 -1
  535. package/v3/@claude-flow/cli/dist/src/runtime/headless.js +0 -284
  536. package/v3/@claude-flow/cli/dist/src/runtime/headless.js.map +0 -1
  537. package/v3/@claude-flow/cli/dist/src/ruvector/agent-wasm.d.ts +0 -182
  538. package/v3/@claude-flow/cli/dist/src/ruvector/agent-wasm.d.ts.map +0 -1
  539. package/v3/@claude-flow/cli/dist/src/ruvector/agent-wasm.js +0 -316
  540. package/v3/@claude-flow/cli/dist/src/ruvector/agent-wasm.js.map +0 -1
  541. package/v3/@claude-flow/cli/dist/src/ruvector/ast-analyzer.d.ts +0 -67
  542. package/v3/@claude-flow/cli/dist/src/ruvector/ast-analyzer.d.ts.map +0 -1
  543. package/v3/@claude-flow/cli/dist/src/ruvector/ast-analyzer.js +0 -277
  544. package/v3/@claude-flow/cli/dist/src/ruvector/ast-analyzer.js.map +0 -1
  545. package/v3/@claude-flow/cli/dist/src/ruvector/coverage-router.d.ts +0 -160
  546. package/v3/@claude-flow/cli/dist/src/ruvector/coverage-router.d.ts.map +0 -1
  547. package/v3/@claude-flow/cli/dist/src/ruvector/coverage-router.js +0 -529
  548. package/v3/@claude-flow/cli/dist/src/ruvector/coverage-router.js.map +0 -1
  549. package/v3/@claude-flow/cli/dist/src/ruvector/coverage-tools.d.ts +0 -33
  550. package/v3/@claude-flow/cli/dist/src/ruvector/coverage-tools.d.ts.map +0 -1
  551. package/v3/@claude-flow/cli/dist/src/ruvector/coverage-tools.js +0 -157
  552. package/v3/@claude-flow/cli/dist/src/ruvector/coverage-tools.js.map +0 -1
  553. package/v3/@claude-flow/cli/dist/src/ruvector/diff-classifier.d.ts +0 -175
  554. package/v3/@claude-flow/cli/dist/src/ruvector/diff-classifier.d.ts.map +0 -1
  555. package/v3/@claude-flow/cli/dist/src/ruvector/diff-classifier.js +0 -698
  556. package/v3/@claude-flow/cli/dist/src/ruvector/diff-classifier.js.map +0 -1
  557. package/v3/@claude-flow/cli/dist/src/ruvector/enhanced-model-router.d.ts +0 -146
  558. package/v3/@claude-flow/cli/dist/src/ruvector/enhanced-model-router.d.ts.map +0 -1
  559. package/v3/@claude-flow/cli/dist/src/ruvector/enhanced-model-router.js +0 -529
  560. package/v3/@claude-flow/cli/dist/src/ruvector/enhanced-model-router.js.map +0 -1
  561. package/v3/@claude-flow/cli/dist/src/ruvector/flash-attention.d.ts +0 -195
  562. package/v3/@claude-flow/cli/dist/src/ruvector/flash-attention.d.ts.map +0 -1
  563. package/v3/@claude-flow/cli/dist/src/ruvector/flash-attention.js +0 -643
  564. package/v3/@claude-flow/cli/dist/src/ruvector/flash-attention.js.map +0 -1
  565. package/v3/@claude-flow/cli/dist/src/ruvector/graph-analyzer.d.ts +0 -187
  566. package/v3/@claude-flow/cli/dist/src/ruvector/graph-analyzer.d.ts.map +0 -1
  567. package/v3/@claude-flow/cli/dist/src/ruvector/graph-analyzer.js +0 -929
  568. package/v3/@claude-flow/cli/dist/src/ruvector/graph-analyzer.js.map +0 -1
  569. package/v3/@claude-flow/cli/dist/src/ruvector/index.d.ts +0 -40
  570. package/v3/@claude-flow/cli/dist/src/ruvector/index.d.ts.map +0 -1
  571. package/v3/@claude-flow/cli/dist/src/ruvector/index.js +0 -76
  572. package/v3/@claude-flow/cli/dist/src/ruvector/index.js.map +0 -1
  573. package/v3/@claude-flow/cli/dist/src/ruvector/lora-adapter.d.ts +0 -218
  574. package/v3/@claude-flow/cli/dist/src/ruvector/lora-adapter.d.ts.map +0 -1
  575. package/v3/@claude-flow/cli/dist/src/ruvector/lora-adapter.js +0 -455
  576. package/v3/@claude-flow/cli/dist/src/ruvector/lora-adapter.js.map +0 -1
  577. package/v3/@claude-flow/cli/dist/src/ruvector/model-router.d.ts +0 -220
  578. package/v3/@claude-flow/cli/dist/src/ruvector/model-router.d.ts.map +0 -1
  579. package/v3/@claude-flow/cli/dist/src/ruvector/model-router.js +0 -488
  580. package/v3/@claude-flow/cli/dist/src/ruvector/model-router.js.map +0 -1
  581. package/v3/@claude-flow/cli/dist/src/ruvector/moe-router.d.ts +0 -206
  582. package/v3/@claude-flow/cli/dist/src/ruvector/moe-router.d.ts.map +0 -1
  583. package/v3/@claude-flow/cli/dist/src/ruvector/moe-router.js +0 -626
  584. package/v3/@claude-flow/cli/dist/src/ruvector/moe-router.js.map +0 -1
  585. package/v3/@claude-flow/cli/dist/src/ruvector/q-learning-router.d.ts +0 -211
  586. package/v3/@claude-flow/cli/dist/src/ruvector/q-learning-router.d.ts.map +0 -1
  587. package/v3/@claude-flow/cli/dist/src/ruvector/q-learning-router.js +0 -681
  588. package/v3/@claude-flow/cli/dist/src/ruvector/q-learning-router.js.map +0 -1
  589. package/v3/@claude-flow/cli/dist/src/ruvector/ruvllm-wasm.d.ts +0 -179
  590. package/v3/@claude-flow/cli/dist/src/ruvector/ruvllm-wasm.d.ts.map +0 -1
  591. package/v3/@claude-flow/cli/dist/src/ruvector/ruvllm-wasm.js +0 -363
  592. package/v3/@claude-flow/cli/dist/src/ruvector/ruvllm-wasm.js.map +0 -1
  593. package/v3/@claude-flow/cli/dist/src/ruvector/semantic-router.d.ts +0 -77
  594. package/v3/@claude-flow/cli/dist/src/ruvector/semantic-router.d.ts.map +0 -1
  595. package/v3/@claude-flow/cli/dist/src/ruvector/semantic-router.js +0 -178
  596. package/v3/@claude-flow/cli/dist/src/ruvector/semantic-router.js.map +0 -1
  597. package/v3/@claude-flow/cli/dist/src/ruvector/vector-db.d.ts +0 -69
  598. package/v3/@claude-flow/cli/dist/src/ruvector/vector-db.d.ts.map +0 -1
  599. package/v3/@claude-flow/cli/dist/src/ruvector/vector-db.js +0 -243
  600. package/v3/@claude-flow/cli/dist/src/ruvector/vector-db.js.map +0 -1
  601. package/v3/@claude-flow/cli/dist/src/services/agentic-flow-bridge.d.ts +0 -54
  602. package/v3/@claude-flow/cli/dist/src/services/agentic-flow-bridge.d.ts.map +0 -1
  603. package/v3/@claude-flow/cli/dist/src/services/agentic-flow-bridge.js +0 -100
  604. package/v3/@claude-flow/cli/dist/src/services/agentic-flow-bridge.js.map +0 -1
  605. package/v3/@claude-flow/cli/dist/src/services/claim-service.d.ts +0 -204
  606. package/v3/@claude-flow/cli/dist/src/services/claim-service.d.ts.map +0 -1
  607. package/v3/@claude-flow/cli/dist/src/services/claim-service.js +0 -818
  608. package/v3/@claude-flow/cli/dist/src/services/claim-service.js.map +0 -1
  609. package/v3/@claude-flow/cli/dist/src/services/container-worker-pool.d.ts +0 -197
  610. package/v3/@claude-flow/cli/dist/src/services/container-worker-pool.d.ts.map +0 -1
  611. package/v3/@claude-flow/cli/dist/src/services/container-worker-pool.js +0 -583
  612. package/v3/@claude-flow/cli/dist/src/services/container-worker-pool.js.map +0 -1
  613. package/v3/@claude-flow/cli/dist/src/services/headless-worker-executor.d.ts +0 -304
  614. package/v3/@claude-flow/cli/dist/src/services/headless-worker-executor.d.ts.map +0 -1
  615. package/v3/@claude-flow/cli/dist/src/services/headless-worker-executor.js +0 -1011
  616. package/v3/@claude-flow/cli/dist/src/services/headless-worker-executor.js.map +0 -1
  617. package/v3/@claude-flow/cli/dist/src/services/index.d.ts +0 -13
  618. package/v3/@claude-flow/cli/dist/src/services/index.d.ts.map +0 -1
  619. package/v3/@claude-flow/cli/dist/src/services/index.js +0 -11
  620. package/v3/@claude-flow/cli/dist/src/services/index.js.map +0 -1
  621. package/v3/@claude-flow/cli/dist/src/services/registry-api.d.ts +0 -58
  622. package/v3/@claude-flow/cli/dist/src/services/registry-api.d.ts.map +0 -1
  623. package/v3/@claude-flow/cli/dist/src/services/registry-api.js +0 -146
  624. package/v3/@claude-flow/cli/dist/src/services/registry-api.js.map +0 -1
  625. package/v3/@claude-flow/cli/dist/src/services/ruvector-training.d.ts +0 -222
  626. package/v3/@claude-flow/cli/dist/src/services/ruvector-training.d.ts.map +0 -1
  627. package/v3/@claude-flow/cli/dist/src/services/ruvector-training.js +0 -688
  628. package/v3/@claude-flow/cli/dist/src/services/ruvector-training.js.map +0 -1
  629. package/v3/@claude-flow/cli/dist/src/services/worker-daemon.d.ts +0 -237
  630. package/v3/@claude-flow/cli/dist/src/services/worker-daemon.d.ts.map +0 -1
  631. package/v3/@claude-flow/cli/dist/src/services/worker-daemon.js +0 -959
  632. package/v3/@claude-flow/cli/dist/src/services/worker-daemon.js.map +0 -1
  633. package/v3/@claude-flow/cli/dist/src/services/worker-queue.d.ts +0 -194
  634. package/v3/@claude-flow/cli/dist/src/services/worker-queue.d.ts.map +0 -1
  635. package/v3/@claude-flow/cli/dist/src/services/worker-queue.js +0 -513
  636. package/v3/@claude-flow/cli/dist/src/services/worker-queue.js.map +0 -1
  637. package/v3/@claude-flow/cli/dist/src/suggest.d.ts +0 -53
  638. package/v3/@claude-flow/cli/dist/src/suggest.d.ts.map +0 -1
  639. package/v3/@claude-flow/cli/dist/src/suggest.js +0 -200
  640. package/v3/@claude-flow/cli/dist/src/suggest.js.map +0 -1
  641. package/v3/@claude-flow/cli/dist/src/transfer/anonymization/index.d.ts +0 -25
  642. package/v3/@claude-flow/cli/dist/src/transfer/anonymization/index.d.ts.map +0 -1
  643. package/v3/@claude-flow/cli/dist/src/transfer/anonymization/index.js +0 -175
  644. package/v3/@claude-flow/cli/dist/src/transfer/anonymization/index.js.map +0 -1
  645. package/v3/@claude-flow/cli/dist/src/transfer/deploy-seraphine.d.ts +0 -13
  646. package/v3/@claude-flow/cli/dist/src/transfer/deploy-seraphine.d.ts.map +0 -1
  647. package/v3/@claude-flow/cli/dist/src/transfer/deploy-seraphine.js +0 -205
  648. package/v3/@claude-flow/cli/dist/src/transfer/deploy-seraphine.js.map +0 -1
  649. package/v3/@claude-flow/cli/dist/src/transfer/export.d.ts +0 -25
  650. package/v3/@claude-flow/cli/dist/src/transfer/export.d.ts.map +0 -1
  651. package/v3/@claude-flow/cli/dist/src/transfer/export.js +0 -113
  652. package/v3/@claude-flow/cli/dist/src/transfer/export.js.map +0 -1
  653. package/v3/@claude-flow/cli/dist/src/transfer/index.d.ts +0 -12
  654. package/v3/@claude-flow/cli/dist/src/transfer/index.d.ts.map +0 -1
  655. package/v3/@claude-flow/cli/dist/src/transfer/index.js +0 -31
  656. package/v3/@claude-flow/cli/dist/src/transfer/index.js.map +0 -1
  657. package/v3/@claude-flow/cli/dist/src/transfer/ipfs/client.d.ts +0 -109
  658. package/v3/@claude-flow/cli/dist/src/transfer/ipfs/client.d.ts.map +0 -1
  659. package/v3/@claude-flow/cli/dist/src/transfer/ipfs/client.js +0 -307
  660. package/v3/@claude-flow/cli/dist/src/transfer/ipfs/client.js.map +0 -1
  661. package/v3/@claude-flow/cli/dist/src/transfer/ipfs/upload.d.ts +0 -95
  662. package/v3/@claude-flow/cli/dist/src/transfer/ipfs/upload.d.ts.map +0 -1
  663. package/v3/@claude-flow/cli/dist/src/transfer/ipfs/upload.js +0 -411
  664. package/v3/@claude-flow/cli/dist/src/transfer/ipfs/upload.js.map +0 -1
  665. package/v3/@claude-flow/cli/dist/src/transfer/models/seraphine.d.ts +0 -72
  666. package/v3/@claude-flow/cli/dist/src/transfer/models/seraphine.d.ts.map +0 -1
  667. package/v3/@claude-flow/cli/dist/src/transfer/models/seraphine.js +0 -373
  668. package/v3/@claude-flow/cli/dist/src/transfer/models/seraphine.js.map +0 -1
  669. package/v3/@claude-flow/cli/dist/src/transfer/serialization/cfp.d.ts +0 -49
  670. package/v3/@claude-flow/cli/dist/src/transfer/serialization/cfp.d.ts.map +0 -1
  671. package/v3/@claude-flow/cli/dist/src/transfer/serialization/cfp.js +0 -183
  672. package/v3/@claude-flow/cli/dist/src/transfer/serialization/cfp.js.map +0 -1
  673. package/v3/@claude-flow/cli/dist/src/transfer/storage/gcs.d.ts +0 -82
  674. package/v3/@claude-flow/cli/dist/src/transfer/storage/gcs.d.ts.map +0 -1
  675. package/v3/@claude-flow/cli/dist/src/transfer/storage/gcs.js +0 -272
  676. package/v3/@claude-flow/cli/dist/src/transfer/storage/gcs.js.map +0 -1
  677. package/v3/@claude-flow/cli/dist/src/transfer/storage/index.d.ts +0 -6
  678. package/v3/@claude-flow/cli/dist/src/transfer/storage/index.d.ts.map +0 -1
  679. package/v3/@claude-flow/cli/dist/src/transfer/storage/index.js +0 -6
  680. package/v3/@claude-flow/cli/dist/src/transfer/storage/index.js.map +0 -1
  681. package/v3/@claude-flow/cli/dist/src/transfer/store/discovery.d.ts +0 -84
  682. package/v3/@claude-flow/cli/dist/src/transfer/store/discovery.d.ts.map +0 -1
  683. package/v3/@claude-flow/cli/dist/src/transfer/store/discovery.js +0 -382
  684. package/v3/@claude-flow/cli/dist/src/transfer/store/discovery.js.map +0 -1
  685. package/v3/@claude-flow/cli/dist/src/transfer/store/download.d.ts +0 -70
  686. package/v3/@claude-flow/cli/dist/src/transfer/store/download.d.ts.map +0 -1
  687. package/v3/@claude-flow/cli/dist/src/transfer/store/download.js +0 -334
  688. package/v3/@claude-flow/cli/dist/src/transfer/store/download.js.map +0 -1
  689. package/v3/@claude-flow/cli/dist/src/transfer/store/index.d.ts +0 -84
  690. package/v3/@claude-flow/cli/dist/src/transfer/store/index.d.ts.map +0 -1
  691. package/v3/@claude-flow/cli/dist/src/transfer/store/index.js +0 -153
  692. package/v3/@claude-flow/cli/dist/src/transfer/store/index.js.map +0 -1
  693. package/v3/@claude-flow/cli/dist/src/transfer/store/publish.d.ts +0 -76
  694. package/v3/@claude-flow/cli/dist/src/transfer/store/publish.d.ts.map +0 -1
  695. package/v3/@claude-flow/cli/dist/src/transfer/store/publish.js +0 -294
  696. package/v3/@claude-flow/cli/dist/src/transfer/store/publish.js.map +0 -1
  697. package/v3/@claude-flow/cli/dist/src/transfer/store/registry.d.ts +0 -58
  698. package/v3/@claude-flow/cli/dist/src/transfer/store/registry.d.ts.map +0 -1
  699. package/v3/@claude-flow/cli/dist/src/transfer/store/registry.js +0 -285
  700. package/v3/@claude-flow/cli/dist/src/transfer/store/registry.js.map +0 -1
  701. package/v3/@claude-flow/cli/dist/src/transfer/store/search.d.ts +0 -54
  702. package/v3/@claude-flow/cli/dist/src/transfer/store/search.d.ts.map +0 -1
  703. package/v3/@claude-flow/cli/dist/src/transfer/store/search.js +0 -232
  704. package/v3/@claude-flow/cli/dist/src/transfer/store/search.js.map +0 -1
  705. package/v3/@claude-flow/cli/dist/src/transfer/store/tests/standalone-test.d.ts +0 -12
  706. package/v3/@claude-flow/cli/dist/src/transfer/store/tests/standalone-test.d.ts.map +0 -1
  707. package/v3/@claude-flow/cli/dist/src/transfer/store/tests/standalone-test.js +0 -190
  708. package/v3/@claude-flow/cli/dist/src/transfer/store/tests/standalone-test.js.map +0 -1
  709. package/v3/@claude-flow/cli/dist/src/transfer/store/types.d.ts +0 -193
  710. package/v3/@claude-flow/cli/dist/src/transfer/store/types.d.ts.map +0 -1
  711. package/v3/@claude-flow/cli/dist/src/transfer/store/types.js +0 -6
  712. package/v3/@claude-flow/cli/dist/src/transfer/store/types.js.map +0 -1
  713. package/v3/@claude-flow/cli/dist/src/transfer/test-seraphine.d.ts +0 -6
  714. package/v3/@claude-flow/cli/dist/src/transfer/test-seraphine.d.ts.map +0 -1
  715. package/v3/@claude-flow/cli/dist/src/transfer/test-seraphine.js +0 -105
  716. package/v3/@claude-flow/cli/dist/src/transfer/test-seraphine.js.map +0 -1
  717. package/v3/@claude-flow/cli/dist/src/transfer/tests/test-store.d.ts +0 -7
  718. package/v3/@claude-flow/cli/dist/src/transfer/tests/test-store.d.ts.map +0 -1
  719. package/v3/@claude-flow/cli/dist/src/transfer/tests/test-store.js +0 -214
  720. package/v3/@claude-flow/cli/dist/src/transfer/tests/test-store.js.map +0 -1
  721. package/v3/@claude-flow/cli/dist/src/transfer/types.d.ts +0 -245
  722. package/v3/@claude-flow/cli/dist/src/transfer/types.d.ts.map +0 -1
  723. package/v3/@claude-flow/cli/dist/src/transfer/types.js +0 -6
  724. package/v3/@claude-flow/cli/dist/src/transfer/types.js.map +0 -1
  725. package/v3/@claude-flow/cli/dist/src/types.d.ts +0 -198
  726. package/v3/@claude-flow/cli/dist/src/types.d.ts.map +0 -1
  727. package/v3/@claude-flow/cli/dist/src/types.js +0 -38
  728. package/v3/@claude-flow/cli/dist/src/types.js.map +0 -1
  729. package/v3/@claude-flow/cli/dist/src/update/checker.d.ts +0 -34
  730. package/v3/@claude-flow/cli/dist/src/update/checker.d.ts.map +0 -1
  731. package/v3/@claude-flow/cli/dist/src/update/checker.js +0 -190
  732. package/v3/@claude-flow/cli/dist/src/update/checker.js.map +0 -1
  733. package/v3/@claude-flow/cli/dist/src/update/executor.d.ts +0 -32
  734. package/v3/@claude-flow/cli/dist/src/update/executor.d.ts.map +0 -1
  735. package/v3/@claude-flow/cli/dist/src/update/executor.js +0 -181
  736. package/v3/@claude-flow/cli/dist/src/update/executor.js.map +0 -1
  737. package/v3/@claude-flow/cli/dist/src/update/index.d.ts +0 -33
  738. package/v3/@claude-flow/cli/dist/src/update/index.d.ts.map +0 -1
  739. package/v3/@claude-flow/cli/dist/src/update/index.js +0 -64
  740. package/v3/@claude-flow/cli/dist/src/update/index.js.map +0 -1
  741. package/v3/@claude-flow/cli/dist/src/update/rate-limiter.d.ts +0 -20
  742. package/v3/@claude-flow/cli/dist/src/update/rate-limiter.d.ts.map +0 -1
  743. package/v3/@claude-flow/cli/dist/src/update/rate-limiter.js +0 -96
  744. package/v3/@claude-flow/cli/dist/src/update/rate-limiter.js.map +0 -1
  745. package/v3/@claude-flow/cli/dist/src/update/validator.d.ts +0 -17
  746. package/v3/@claude-flow/cli/dist/src/update/validator.d.ts.map +0 -1
  747. package/v3/@claude-flow/cli/dist/src/update/validator.js +0 -123
  748. package/v3/@claude-flow/cli/dist/src/update/validator.js.map +0 -1
  749. package/v3/@claude-flow/cli/dist/tsconfig.tsbuildinfo +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "getmy-ruflo",
3
- "version": "3.5.46",
3
+ "version": "3.5.47",
4
4
  "description": "GetMy Ruflo - AI agent orchestration platform with real terminal execution, 259 MCP tools, 60+ agents, and swarm coordination",
5
5
  "main": "bin/ruflo.js",
6
6
  "type": "module",
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  /**
3
3
  * @claude-flow/cli - CLI Entry Point
4
4
  *
@@ -71,18 +71,12 @@ if (isMCPMode) {
71
71
  const params = message.params || {};
72
72
 
73
73
  switch (message.method) {
74
- case 'initialize': {
75
- // Negotiate protocol version: echo client's version if supported,
76
- // otherwise fall back to the default version.
77
- const supportedVersions = ['2024-11-05', '2025-11-05'];
78
- const negotiatedVersion = supportedVersions.includes(params.protocolVersion)
79
- ? params.protocolVersion
80
- : '2024-11-05';
74
+ case 'initialize':
81
75
  return {
82
76
  jsonrpc: '2.0',
83
77
  id: message.id,
84
78
  result: {
85
- protocolVersion: negotiatedVersion,
79
+ protocolVersion: '2024-11-05',
86
80
  serverInfo: { name: 'claude-flow', version: VERSION },
87
81
  capabilities: {
88
82
  tools: { listChanged: true },
@@ -90,7 +84,6 @@ if (isMCPMode) {
90
84
  },
91
85
  },
92
86
  };
93
- }
94
87
 
95
88
  case 'tools/list': {
96
89
  const tools = listMCPTools();
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  /**
3
3
  * @claude-flow/cli - MCP Server Entry Point
4
4
  *
@@ -107,18 +107,12 @@ async function handleMessage(message) {
107
107
 
108
108
  try {
109
109
  switch (message.method) {
110
- case 'initialize': {
111
- // Negotiate protocol version: echo client's version if supported,
112
- // otherwise fall back to the default version.
113
- const supportedVersions = ['2024-11-05', '2025-11-05'];
114
- const negotiatedVersion = supportedVersions.includes(params.protocolVersion)
115
- ? params.protocolVersion
116
- : '2024-11-05';
110
+ case 'initialize':
117
111
  return {
118
112
  jsonrpc: '2.0',
119
113
  id: message.id,
120
114
  result: {
121
- protocolVersion: negotiatedVersion,
115
+ protocolVersion: '2024-11-05',
122
116
  serverInfo: { name: 'claude-flow', version: VERSION },
123
117
  capabilities: {
124
118
  tools: { listChanged: true },
@@ -126,7 +120,6 @@ async function handleMessage(message) {
126
120
  },
127
121
  },
128
122
  };
129
- }
130
123
 
131
124
  case 'tools/list': {
132
125
  const tools = listMCPTools();
@@ -15,8 +15,7 @@ import { randomUUID, timingSafeEqual } from 'crypto';
15
15
  import { listMCPTools, callMCPTool, hasTool, initializePluginTools } from '../dist/src/mcp-client.js';
16
16
 
17
17
  const VERSION = '3.0.0';
18
- const SUPPORTED_PROTOCOL_VERSIONS = ['2024-11-05', '2025-11-05'];
19
- const DEFAULT_PROTOCOL_VERSION = '2024-11-05';
18
+ const PROTOCOL_VERSION = '2025-11-05';
20
19
  const KEEPALIVE_INTERVAL_MS = 30_000;
21
20
 
22
21
  // ---------------------------------------------------------------------------
@@ -120,20 +119,12 @@ async function handleMessage(message, sessionId) {
120
119
  const sid = sessionId || `mcp-${Date.now()}-${randomUUID().slice(0, 8)}`;
121
120
  sessions.set(sid, { createdAt: Date.now() });
122
121
  metrics.sessionsCreated++;
123
-
124
- // Negotiate protocol version: echo client's version if supported,
125
- // otherwise fall back to the default version the client expects.
126
- const requestedVersion = params.protocolVersion;
127
- const negotiatedVersion = SUPPORTED_PROTOCOL_VERSIONS.includes(requestedVersion)
128
- ? requestedVersion
129
- : DEFAULT_PROTOCOL_VERSION;
130
-
131
122
  return {
132
123
  _sessionId: sid,
133
124
  jsonrpc: '2.0',
134
125
  id: message.id,
135
126
  result: {
136
- protocolVersion: negotiatedVersion,
127
+ protocolVersion: PROTOCOL_VERSION,
137
128
  serverInfo: { name: 'claude-flow', version: VERSION },
138
129
  capabilities: {
139
130
  tools: { listChanged: true },
@@ -238,7 +229,7 @@ async function handleMessage(message, sessionId) {
238
229
  function broadcastSSE(sessionId, data) {
239
230
  const conns = sseConnections.get(sessionId);
240
231
  if (!conns) return;
241
- const payload = `data: ${JSON.stringify(data)}\n\n`;
232
+ const payload = `event: message\ndata: ${JSON.stringify(data)}\n\n`;
242
233
  for (const conn of conns) {
243
234
  try {
244
235
  conn.write(payload);
@@ -381,7 +372,7 @@ const server = createServer(async (req, res) => {
381
372
  tools: tools.length,
382
373
  uptime: uptimeSeconds,
383
374
  sessions: sessions.size,
384
- protocolVersion: DEFAULT_PROTOCOL_VERSION,
375
+ protocolVersion: PROTOCOL_VERSION,
385
376
  }));
386
377
  return;
387
378
  }
@@ -502,7 +493,7 @@ const server = createServer(async (req, res) => {
502
493
  headers['Cache-Control'] = 'no-cache';
503
494
  headers['Connection'] = 'keep-alive';
504
495
  res.writeHead(200, headers);
505
- res.write(`data: ${JSON.stringify(response)}\n\n`);
496
+ res.write(`event: message\ndata: ${JSON.stringify(response)}\n\n`);
506
497
  res.end();
507
498
  } else {
508
499
  // Respond as plain JSON
@@ -602,7 +593,7 @@ server.listen(port, host, () => {
602
593
  platform: process.platform,
603
594
  port,
604
595
  protocol: 'streamable-http',
605
- protocolVersion: DEFAULT_PROTOCOL_VERSION,
596
+ protocolVersion: PROTOCOL_VERSION,
606
597
  tools: tools.length,
607
598
  version: VERSION,
608
599
  }));
@@ -1,91 +0,0 @@
1
- /**
2
- * ruvLLM GGUF Inference Engine -- Pure Node.js GGUF Model Interface
3
- *
4
- * Provides:
5
- * 1. GGUF binary header parsing (metadata without loading weights)
6
- * 2. Model loading abstraction (node-llama-cpp when available, metadata-only fallback)
7
- * 3. Token generation interface with async iterator streaming
8
- * 4. KV-cache persistence to RVF-compatible binary format
9
- *
10
- * Zero external dependencies. node-llama-cpp is an optional peer.
11
- *
12
- * @module @claude-flow/cli/appliance/gguf-engine
13
- */
14
- export interface GgufMetadata {
15
- magic: string;
16
- version: number;
17
- tensorCount: number;
18
- kvCount: number;
19
- architecture?: string;
20
- name?: string;
21
- contextLength?: number;
22
- embeddingLength?: number;
23
- blockCount?: number;
24
- vocabSize?: number;
25
- quantization?: string;
26
- fileSize: number;
27
- metadata: Record<string, unknown>;
28
- }
29
- export interface GgufEngineConfig {
30
- contextSize?: number;
31
- maxTokens?: number;
32
- temperature?: number;
33
- kvCachePath?: string;
34
- verbose?: boolean;
35
- }
36
- export interface GenerateRequest {
37
- prompt: string;
38
- model?: string;
39
- maxTokens?: number;
40
- temperature?: number;
41
- stream?: boolean;
42
- stopSequences?: string[];
43
- }
44
- export interface GenerateResponse {
45
- text: string;
46
- model: string;
47
- tokensUsed: number;
48
- latencyMs: number;
49
- metadataOnly: boolean;
50
- }
51
- /**
52
- * Parse the header and metadata from a GGUF file without loading tensors.
53
- * Reads only the first 256 KB of the file.
54
- */
55
- export declare function parseGgufHeader(path: string): Promise<GgufMetadata>;
56
- export declare class GgufEngine {
57
- private config;
58
- private llamaCpp;
59
- private llamaModel;
60
- private llamaContext;
61
- private loadedModels;
62
- private activeModelPath;
63
- private kvCache;
64
- constructor(config: GgufEngineConfig);
65
- /** Probe for node-llama-cpp availability. */
66
- initialize(): Promise<void>;
67
- /** Parse GGUF header and optionally load the model for inference. */
68
- loadModel(path: string): Promise<GgufMetadata>;
69
- /** Generate text. Delegates to node-llama-cpp or returns a metadata-only stub. */
70
- generate(request: GenerateRequest): Promise<GenerateResponse>;
71
- /** Stream tokens via async iterator. Falls back to yielding full response. */
72
- stream(request: GenerateRequest): AsyncGenerator<string>;
73
- /**
74
- * Persist the KV cache to an RVF-compatible binary file.
75
- * Format: RVKV magic | version u32 | model SHA-256 (32B) | entry count u32
76
- * entries: [key_len u32, key, val_len u32, val] | footer SHA-256 (32B)
77
- */
78
- persistKvCache(outputPath: string): Promise<void>;
79
- /** Restore KV cache from an RVF-compatible binary file. */
80
- loadKvCache(inputPath: string): Promise<void>;
81
- /** Return metadata for all loaded models. */
82
- getLoadedModels(): GgufMetadata[];
83
- /** Store a key-value pair in the in-memory KV cache. */
84
- setKvEntry(key: string, value: Buffer): void;
85
- /** Retrieve a key-value pair from the in-memory KV cache. */
86
- getKvEntry(key: string): Buffer | undefined;
87
- /** Release resources, unload models, and optionally persist the KV cache. */
88
- shutdown(): Promise<void>;
89
- private tryLoadLlamaCpp;
90
- }
91
- //# sourceMappingURL=gguf-engine.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gguf-engine.d.ts","sourceRoot":"","sources":["../../../src/appliance/gguf-engine.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAmBH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,gBAAgB;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;CACvB;AA6ED;;;GAGG;AACH,wBAAsB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAWzE;AAyED,qBAAa,UAAU;IACrB,OAAO,CAAC,MAAM,CAA6B;IAC3C,OAAO,CAAC,QAAQ,CAAa;IAC7B,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,YAAY,CAAa;IACjC,OAAO,CAAC,YAAY,CAAwC;IAC5D,OAAO,CAAC,eAAe,CAAuB;IAC9C,OAAO,CAAC,OAAO,CAAkC;gBAErC,MAAM,EAAE,gBAAgB;IAUpC,6CAA6C;IACvC,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAOjC,qEAAqE;IAC/D,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;IAqBpD,kFAAkF;IAC5E,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC;IA6CnE,8EAA8E;IACvE,MAAM,CAAC,OAAO,EAAE,eAAe,GAAG,cAAc,CAAC,MAAM,CAAC;IAuB/D;;;;OAIG;IACG,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA0BvD,2DAA2D;IACrD,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAmCnD,6CAA6C;IAC7C,eAAe,IAAI,YAAY,EAAE;IAEjC,wDAAwD;IACxD,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAE5C,6DAA6D;IAC7D,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAE3C,6EAA6E;IACvE,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;YAiBjB,eAAe;CAI9B"}
@@ -1,425 +0,0 @@
1
- /**
2
- * ruvLLM GGUF Inference Engine -- Pure Node.js GGUF Model Interface
3
- *
4
- * Provides:
5
- * 1. GGUF binary header parsing (metadata without loading weights)
6
- * 2. Model loading abstraction (node-llama-cpp when available, metadata-only fallback)
7
- * 3. Token generation interface with async iterator streaming
8
- * 4. KV-cache persistence to RVF-compatible binary format
9
- *
10
- * Zero external dependencies. node-llama-cpp is an optional peer.
11
- *
12
- * @module @claude-flow/cli/appliance/gguf-engine
13
- */
14
- import { open, readFile, writeFile, stat as fsStat } from 'node:fs/promises';
15
- import { createHash } from 'node:crypto';
16
- import { basename } from 'node:path';
17
- // ── GGUF Metadata Value Types ───────────────────────────────
18
- var GgufValueType;
19
- (function (GgufValueType) {
20
- GgufValueType[GgufValueType["UINT8"] = 0] = "UINT8";
21
- GgufValueType[GgufValueType["INT8"] = 1] = "INT8";
22
- GgufValueType[GgufValueType["UINT16"] = 2] = "UINT16";
23
- GgufValueType[GgufValueType["INT16"] = 3] = "INT16";
24
- GgufValueType[GgufValueType["UINT32"] = 4] = "UINT32";
25
- GgufValueType[GgufValueType["INT32"] = 5] = "INT32";
26
- GgufValueType[GgufValueType["FLOAT32"] = 6] = "FLOAT32";
27
- GgufValueType[GgufValueType["BOOL"] = 7] = "BOOL";
28
- GgufValueType[GgufValueType["STRING"] = 8] = "STRING";
29
- GgufValueType[GgufValueType["ARRAY"] = 9] = "ARRAY";
30
- GgufValueType[GgufValueType["UINT64"] = 10] = "UINT64";
31
- GgufValueType[GgufValueType["INT64"] = 11] = "INT64";
32
- GgufValueType[GgufValueType["FLOAT64"] = 12] = "FLOAT64";
33
- })(GgufValueType || (GgufValueType = {}));
34
- const GGUF_MAGIC = 0x46554747; // "GGUF" in little-endian
35
- const RVKV_MAGIC = 0x564B5652; // "RVKV" in little-endian
36
- const RVKV_VERSION = 1;
37
- // ── Internal Buffer Reader ──────────────────────────────────
38
- /** Stateful cursor over a Buffer for sequential binary reads. */
39
- class BufferReader {
40
- buf;
41
- offset = 0;
42
- constructor(buf) {
43
- this.buf = buf;
44
- }
45
- get remaining() { return this.buf.length - this.offset; }
46
- readU8() { const v = this.buf.readUInt8(this.offset); this.offset += 1; return v; }
47
- readI8() { const v = this.buf.readInt8(this.offset); this.offset += 1; return v; }
48
- readU16() { const v = this.buf.readUInt16LE(this.offset); this.offset += 2; return v; }
49
- readI16() { const v = this.buf.readInt16LE(this.offset); this.offset += 2; return v; }
50
- readU32() { const v = this.buf.readUInt32LE(this.offset); this.offset += 4; return v; }
51
- readI32() { const v = this.buf.readInt32LE(this.offset); this.offset += 4; return v; }
52
- readF32() { const v = this.buf.readFloatLE(this.offset); this.offset += 4; return v; }
53
- readF64() { const v = this.buf.readDoubleLE(this.offset); this.offset += 8; return v; }
54
- readU64() { const v = this.buf.readBigUInt64LE(this.offset); this.offset += 8; return v; }
55
- readI64() { const v = this.buf.readBigInt64LE(this.offset); this.offset += 8; return v; }
56
- /** Safe for values up to 2^53. Real GGUF files never exceed this for tensor/kv counts. */
57
- readU64AsNumber() { return Number(this.readU64()); }
58
- readBool() { return this.readU8() !== 0; }
59
- /** GGUF string: [length u64 LE][utf-8 bytes]. */
60
- readString() {
61
- const len = this.readU64AsNumber();
62
- if (len === 0)
63
- return '';
64
- if (len > this.remaining)
65
- throw new Error(`String length ${len} exceeds remaining buffer`);
66
- const s = this.buf.toString('utf-8', this.offset, this.offset + len);
67
- this.offset += len;
68
- return s;
69
- }
70
- }
71
- // ── GGUF Value Reading ──────────────────────────────────────
72
- /** Read a typed scalar from the buffer (shared by value and array-element readers). */
73
- function readScalar(reader, t) {
74
- switch (t) {
75
- case GgufValueType.UINT8: return reader.readU8();
76
- case GgufValueType.INT8: return reader.readI8();
77
- case GgufValueType.UINT16: return reader.readU16();
78
- case GgufValueType.INT16: return reader.readI16();
79
- case GgufValueType.UINT32: return reader.readU32();
80
- case GgufValueType.INT32: return reader.readI32();
81
- case GgufValueType.FLOAT32: return reader.readF32();
82
- case GgufValueType.BOOL: return reader.readBool();
83
- case GgufValueType.STRING: return reader.readString();
84
- case GgufValueType.UINT64: return Number(reader.readU64());
85
- case GgufValueType.INT64: return Number(reader.readI64());
86
- case GgufValueType.FLOAT64: return reader.readF64();
87
- default: return undefined;
88
- }
89
- }
90
- /** Read a single GGUF typed value (scalar or array) from the buffer. */
91
- function readGgufValue(reader) {
92
- const valueType = reader.readU32();
93
- if (valueType === GgufValueType.ARRAY) {
94
- const elemType = reader.readU32();
95
- const len = reader.readU64AsNumber();
96
- const arr = [];
97
- for (let i = 0; i < len; i++) {
98
- const v = readScalar(reader, elemType);
99
- if (v === undefined)
100
- throw new Error(`Unknown GGUF array element type: ${elemType}`);
101
- arr.push(v);
102
- }
103
- return arr;
104
- }
105
- const v = readScalar(reader, valueType);
106
- if (v === undefined)
107
- throw new Error(`Unknown GGUF value type: ${valueType}`);
108
- return v;
109
- }
110
- // ── GGUF Header Parsing ─────────────────────────────────────
111
- /**
112
- * Parse the header and metadata from a GGUF file without loading tensors.
113
- * Reads only the first 256 KB of the file.
114
- */
115
- export async function parseGgufHeader(path) {
116
- const fileInfo = await fsStat(path);
117
- const readSize = Math.min(fileInfo.size, 256 * 1024);
118
- const fh = await open(path, 'r');
119
- try {
120
- const buf = Buffer.alloc(readSize);
121
- await fh.read(buf, 0, readSize, 0);
122
- return parseGgufBuffer(buf, fileInfo.size, path);
123
- }
124
- finally {
125
- await fh.close();
126
- }
127
- }
128
- function parseGgufBuffer(buf, fileSize, filePath) {
129
- const reader = new BufferReader(buf);
130
- const magic = reader.readU32();
131
- if (magic !== GGUF_MAGIC) {
132
- throw new Error(`Invalid GGUF magic: 0x${magic.toString(16)} (expected 0x${GGUF_MAGIC.toString(16)})`);
133
- }
134
- const version = reader.readU32();
135
- if (version < 2 || version > 3) {
136
- throw new Error(`Unsupported GGUF version: ${version} (expected 2 or 3)`);
137
- }
138
- const tensorCount = reader.readU64AsNumber();
139
- const kvCount = reader.readU64AsNumber();
140
- const metadata = {};
141
- for (let i = 0; i < kvCount; i++) {
142
- if (reader.remaining < 12)
143
- break;
144
- try {
145
- const key = reader.readString();
146
- metadata[key] = readGgufValue(reader);
147
- }
148
- catch {
149
- break; // reached end of read window
150
- }
151
- }
152
- const arch = asString(metadata['general.architecture']);
153
- const pfx = arch || 'llama'; // fallback prefix for well-known keys
154
- return {
155
- magic: 'GGUF', version, tensorCount, kvCount,
156
- architecture: arch,
157
- name: asString(metadata['general.name']),
158
- contextLength: asNumber(metadata[`${pfx}.context_length`]),
159
- embeddingLength: asNumber(metadata[`${pfx}.embedding_length`]),
160
- blockCount: asNumber(metadata[`${pfx}.block_count`]),
161
- vocabSize: inferVocabSize(metadata),
162
- quantization: inferQuantFromMetadata(metadata, filePath),
163
- fileSize, metadata,
164
- };
165
- }
166
- // ── Metadata Helpers ────────────────────────────────────────
167
- function asString(v) { return typeof v === 'string' ? v : undefined; }
168
- function asNumber(v) { return typeof v === 'number' ? v : undefined; }
169
- const QUANT_RE = [
170
- [/q2_k/i, 'Q2_K'], [/q3_k_s/i, 'Q3_K_S'], [/q3_k_m/i, 'Q3_K_M'], [/q3_k_l/i, 'Q3_K_L'],
171
- [/q4_k_s/i, 'Q4_K_S'], [/q4_k_m/i, 'Q4_K_M'], [/q4_0/i, 'Q4_0'], [/q4_1/i, 'Q4_1'],
172
- [/q5_k_s/i, 'Q5_K_S'], [/q5_k_m/i, 'Q5_K_M'], [/q5_0/i, 'Q5_0'], [/q5_1/i, 'Q5_1'],
173
- [/q6_k/i, 'Q6_K'], [/q8_0/i, 'Q8_0'], [/f16/i, 'F16'], [/f32/i, 'F32'],
174
- ];
175
- function inferQuantFromMetadata(meta, filePath) {
176
- const ft = meta['general.file_type'];
177
- if (typeof ft === 'number')
178
- return `file_type_${ft}`;
179
- const name = basename(filePath);
180
- for (const [re, label] of QUANT_RE)
181
- if (re.test(name))
182
- return label;
183
- return 'unknown';
184
- }
185
- function inferVocabSize(meta) {
186
- const tokens = meta['tokenizer.ggml.tokens'];
187
- if (Array.isArray(tokens))
188
- return tokens.length;
189
- return asNumber(meta['tokenizer.ggml.vocab_size']);
190
- }
191
- // ── GGUF Engine ─────────────────────────────────────────────
192
- export class GgufEngine {
193
- config;
194
- llamaCpp = null;
195
- llamaModel = null;
196
- llamaContext = null;
197
- loadedModels = new Map();
198
- activeModelPath = null;
199
- kvCache = new Map();
200
- constructor(config) {
201
- this.config = {
202
- contextSize: config.contextSize ?? 4096,
203
- maxTokens: config.maxTokens ?? 512,
204
- temperature: config.temperature ?? 0.7,
205
- kvCachePath: config.kvCachePath ?? '',
206
- verbose: config.verbose ?? false,
207
- };
208
- }
209
- /** Probe for node-llama-cpp availability. */
210
- async initialize() {
211
- this.llamaCpp = await this.tryLoadLlamaCpp();
212
- if (this.config.verbose) {
213
- console.log(`[gguf-engine] node-llama-cpp: ${this.llamaCpp ? 'available' : 'not found (metadata-only mode)'}`);
214
- }
215
- }
216
- /** Parse GGUF header and optionally load the model for inference. */
217
- async loadModel(path) {
218
- const meta = await parseGgufHeader(path);
219
- this.loadedModels.set(path, meta);
220
- this.activeModelPath = path;
221
- if (this.llamaCpp) {
222
- try {
223
- const { getLlama } = this.llamaCpp;
224
- const llama = await getLlama();
225
- this.llamaModel = await llama.loadModel({ modelPath: path });
226
- this.llamaContext = await this.llamaModel.createContext({ contextSize: this.config.contextSize });
227
- if (this.config.verbose)
228
- console.log(`[gguf-engine] Model loaded: ${basename(path)}`);
229
- }
230
- catch (err) {
231
- if (this.config.verbose)
232
- console.warn('[gguf-engine] node-llama-cpp load failed:', err);
233
- this.llamaModel = null;
234
- this.llamaContext = null;
235
- }
236
- }
237
- return meta;
238
- }
239
- /** Generate text. Delegates to node-llama-cpp or returns a metadata-only stub. */
240
- async generate(request) {
241
- const start = performance.now();
242
- const modelPath = request.model ?? this.activeModelPath;
243
- const modelName = modelPath ? basename(modelPath) : 'none';
244
- if (this.llamaContext && this.llamaModel) {
245
- try {
246
- const session = new this.llamaCpp.LlamaChatSession({
247
- contextSequence: this.llamaContext.getSequence(),
248
- });
249
- const text = await session.prompt(request.prompt, {
250
- maxTokens: request.maxTokens ?? this.config.maxTokens,
251
- temperature: request.temperature ?? this.config.temperature,
252
- stopGenerationTrigger: request.stopSequences
253
- ? request.stopSequences.map((s) => new this.llamaCpp.LlamaText([s]))
254
- : undefined,
255
- });
256
- // Use llama.cpp tokenizer for accurate count when available, else estimate
257
- let tokensUsed;
258
- try {
259
- const seq = this.llamaContext.getSequence();
260
- tokensUsed = seq.tokenCount ?? Math.ceil(text.length / 4);
261
- }
262
- catch {
263
- tokensUsed = Math.ceil(text.length / 4); // ~4 chars per token heuristic
264
- }
265
- return {
266
- text, model: modelName, tokensUsed,
267
- latencyMs: performance.now() - start, metadataOnly: false,
268
- };
269
- }
270
- catch (err) {
271
- if (this.config.verbose)
272
- console.warn('[gguf-engine] Generation failed:', err);
273
- }
274
- }
275
- // Metadata-only fallback
276
- const meta = modelPath ? this.loadedModels.get(modelPath) : undefined;
277
- return {
278
- text: meta
279
- ? `[metadata-only] Model: ${meta.name ?? modelName}, arch: ${meta.architecture ?? 'unknown'}, ctx: ${meta.contextLength ?? 'unknown'}`
280
- : '[metadata-only] No model loaded',
281
- model: modelName, tokensUsed: 0,
282
- latencyMs: performance.now() - start, metadataOnly: true,
283
- };
284
- }
285
- /** Stream tokens via async iterator. Falls back to yielding full response. */
286
- async *stream(request) {
287
- if (this.llamaContext && this.llamaModel) {
288
- try {
289
- const session = new this.llamaCpp.LlamaChatSession({
290
- contextSequence: this.llamaContext.getSequence(),
291
- });
292
- const it = session.promptWithMeta(request.prompt, {
293
- maxTokens: request.maxTokens ?? this.config.maxTokens,
294
- temperature: request.temperature ?? this.config.temperature,
295
- });
296
- if (it && typeof it[Symbol.asyncIterator] === 'function') {
297
- for await (const chunk of it) {
298
- if (typeof chunk === 'string')
299
- yield chunk;
300
- else if (chunk?.text)
301
- yield chunk.text;
302
- }
303
- return;
304
- }
305
- }
306
- catch { /* fall through to single-chunk fallback */ }
307
- }
308
- const response = await this.generate(request);
309
- yield response.text;
310
- }
311
- /**
312
- * Persist the KV cache to an RVF-compatible binary file.
313
- * Format: RVKV magic | version u32 | model SHA-256 (32B) | entry count u32
314
- * entries: [key_len u32, key, val_len u32, val] | footer SHA-256 (32B)
315
- */
316
- async persistKvCache(outputPath) {
317
- const path = outputPath || this.config.kvCachePath;
318
- if (!path)
319
- throw new Error('No KV cache output path specified');
320
- const modelHash = createHash('sha256').update(this.activeModelPath ?? 'no-model').digest();
321
- const entryBufs = [];
322
- for (const [key, value] of this.kvCache) {
323
- const keyBuf = Buffer.from(key, 'utf-8');
324
- const hdr = Buffer.alloc(8);
325
- hdr.writeUInt32LE(keyBuf.length, 0);
326
- hdr.writeUInt32LE(value.length, 4);
327
- entryBufs.push(hdr, keyBuf, value);
328
- }
329
- const entryData = Buffer.concat(entryBufs);
330
- const footer = createHash('sha256').update(entryData).digest();
331
- const header = Buffer.alloc(44);
332
- header.writeUInt32LE(RVKV_MAGIC, 0);
333
- header.writeUInt32LE(RVKV_VERSION, 4);
334
- modelHash.copy(header, 8);
335
- header.writeUInt32LE(this.kvCache.size, 40);
336
- await writeFile(path, Buffer.concat([header, entryData, footer]));
337
- if (this.config.verbose)
338
- console.log(`[gguf-engine] KV cache persisted: ${this.kvCache.size} entries`);
339
- }
340
- /** Restore KV cache from an RVF-compatible binary file. */
341
- async loadKvCache(inputPath) {
342
- const data = await readFile(inputPath);
343
- if (data.length < 44)
344
- throw new Error('KV cache file too small');
345
- const magic = data.readUInt32LE(0);
346
- if (magic !== RVKV_MAGIC)
347
- throw new Error(`Invalid KV cache magic: 0x${magic.toString(16)}`);
348
- const version = data.readUInt32LE(4);
349
- if (version !== RVKV_VERSION)
350
- throw new Error(`Unsupported KV cache version: ${version}`);
351
- const entryCount = data.readUInt32LE(40);
352
- let offset = 44;
353
- const entries = new Map();
354
- for (let i = 0; i < entryCount; i++) {
355
- if (offset + 8 > data.length)
356
- throw new Error('KV cache file truncated');
357
- const keyLen = data.readUInt32LE(offset);
358
- const valLen = data.readUInt32LE(offset + 4);
359
- offset += 8;
360
- if (offset + keyLen + valLen > data.length)
361
- throw new Error('KV cache file truncated');
362
- entries.set(data.toString('utf-8', offset, offset + keyLen), Buffer.from(data.subarray(offset + keyLen, offset + keyLen + valLen)));
363
- offset += keyLen + valLen;
364
- }
365
- // Verify footer hash (mandatory)
366
- if (offset + 32 > data.length) {
367
- throw new Error('KV cache file missing SHA256 footer');
368
- }
369
- const stored = data.subarray(offset, offset + 32);
370
- const computed = createHash('sha256').update(data.subarray(44, offset)).digest();
371
- if (!stored.equals(computed))
372
- throw new Error('KV cache integrity check failed: hash mismatch');
373
- this.kvCache = entries;
374
- if (this.config.verbose)
375
- console.log(`[gguf-engine] KV cache loaded: ${entries.size} entries`);
376
- }
377
- /** Return metadata for all loaded models. */
378
- getLoadedModels() { return Array.from(this.loadedModels.values()); }
379
- /** Store a key-value pair in the in-memory KV cache. */
380
- setKvEntry(key, value) { this.kvCache.set(key, value); }
381
- /** Retrieve a key-value pair from the in-memory KV cache. */
382
- getKvEntry(key) { return this.kvCache.get(key); }
383
- /** Release resources, unload models, and optionally persist the KV cache. */
384
- async shutdown() {
385
- if (this.config.kvCachePath && this.kvCache.size > 0) {
386
- try {
387
- await this.persistKvCache(this.config.kvCachePath);
388
- }
389
- catch (err) {
390
- if (this.config.verbose)
391
- console.warn('[gguf-engine] KV persist failed:', err);
392
- }
393
- }
394
- if (this.llamaContext?.dispose) {
395
- try {
396
- await this.llamaContext.dispose();
397
- }
398
- catch { /* ignore */ }
399
- }
400
- if (this.llamaModel?.dispose) {
401
- try {
402
- await this.llamaModel.dispose();
403
- }
404
- catch { /* ignore */ }
405
- }
406
- this.llamaContext = null;
407
- this.llamaModel = null;
408
- this.activeModelPath = null;
409
- this.loadedModels.clear();
410
- this.kvCache.clear();
411
- if (this.config.verbose)
412
- console.log('[gguf-engine] Shutdown complete');
413
- }
414
- // ── Private ───────────────────────────────────────────────
415
- async tryLoadLlamaCpp() {
416
- // @ts-ignore -- optional peer dependency, may not be installed
417
- try {
418
- return await import('node-llama-cpp');
419
- }
420
- catch {
421
- return null;
422
- }
423
- }
424
- }
425
- //# sourceMappingURL=gguf-engine.js.map