@vibecodetown/mcp-server 1.3.1 → 1.5.0

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 (1590) hide show
  1. package/CONTRIBUTING.md +0 -0
  2. package/LICENSE +21 -0
  3. package/README.md +0 -0
  4. package/THIRD_PARTY_NOTICES.md +106 -0
  5. package/bin/SHA256SUMS +9 -0
  6. package/bin/clinic_win_x64/clinic.exe +0 -0
  7. package/bin/spec-high_linux_x64/spec-high +0 -0
  8. package/bin/spec-high_win_x64/spec-high.exe +0 -0
  9. package/bin/vibecoding-helper_win_x64/vibecoding-helper.exe +0 -0
  10. package/bin/vpm-back_win_x64/vpm-back.exe +0 -0
  11. package/build/background-sync-worker.d.ts +1 -2
  12. package/build/background-sync-worker.js +0 -0
  13. package/build/bin/vibe-auth.d.ts +0 -0
  14. package/build/bin/vibe-auth.js +0 -0
  15. package/build/bin/vibe-bitnet-worker.d.ts +0 -0
  16. package/build/bin/vibe-bitnet-worker.js +5 -4
  17. package/build/bin/vibe-ci.d.ts +2 -10
  18. package/build/bin/vibe-ci.js +6 -1552
  19. package/build/bin/vibe-companion.d.ts +15 -0
  20. package/build/bin/vibe-companion.js +134 -0
  21. package/build/bin/vibe-dashboard.d.ts +0 -0
  22. package/build/bin/vibe-dashboard.js +11 -11
  23. package/build/bin/vibe-mapper-worker.d.ts +0 -0
  24. package/build/bin/vibe-mapper-worker.js +37 -15
  25. package/build/bitnet-worker/autostart.d.ts +0 -0
  26. package/build/bitnet-worker/autostart.js +4 -3
  27. package/build/bitnet-worker/client.d.ts +0 -0
  28. package/build/bitnet-worker/client.js +3 -2
  29. package/build/bitnet-worker/cpu_brake.d.ts +0 -0
  30. package/build/bitnet-worker/cpu_brake.js +4 -3
  31. package/build/bitnet-worker/embed_client.d.ts +0 -0
  32. package/build/bitnet-worker/embed_client.js +0 -0
  33. package/build/bitnet-worker/hw_slots.d.ts +0 -0
  34. package/build/bitnet-worker/hw_slots.js +3 -2
  35. package/build/bitnet-worker/index.d.ts +1 -1
  36. package/build/bitnet-worker/index.js +1 -1
  37. package/build/bitnet-worker/metrics.d.ts +0 -0
  38. package/build/bitnet-worker/metrics.js +0 -0
  39. package/build/bitnet-worker/native_inference.d.ts +1 -1
  40. package/build/bitnet-worker/native_inference.js +49 -43
  41. package/build/bitnet-worker/pool-autostart.d.ts +0 -0
  42. package/build/bitnet-worker/pool-autostart.js +5 -4
  43. package/build/bitnet-worker/request_cache.d.ts +0 -0
  44. package/build/bitnet-worker/request_cache.js +0 -0
  45. package/build/bitnet-worker/serial_queue.d.ts +0 -0
  46. package/build/bitnet-worker/serial_queue.js +0 -0
  47. package/build/bitnet-worker/server-autostart.d.ts +1 -1
  48. package/build/bitnet-worker/server-autostart.js +9 -9
  49. package/build/bitnet-worker/server.d.ts +4 -4
  50. package/build/bitnet-worker/server.js +131 -115
  51. package/build/bitnet-worker/server_manager.d.ts +28 -54
  52. package/build/bitnet-worker/server_manager.js +107 -238
  53. package/build/bitnet-worker/tiered_queue.d.ts +0 -0
  54. package/build/bitnet-worker/tiered_queue.js +3 -2
  55. package/build/bitnet-worker/types.d.ts +0 -0
  56. package/build/bitnet-worker/types.js +0 -0
  57. package/build/ci/args.d.ts +16 -0
  58. package/build/ci/args.js +103 -0
  59. package/build/ci/clinic_result.d.ts +22 -0
  60. package/build/ci/clinic_result.js +197 -0
  61. package/build/ci/cloud_sync.d.ts +2 -0
  62. package/build/ci/cloud_sync.js +29 -0
  63. package/build/ci/engine.d.ts +10 -0
  64. package/build/ci/engine.js +63 -0
  65. package/build/ci/file_changes.d.ts +10 -0
  66. package/build/ci/file_changes.js +127 -0
  67. package/build/ci/pipeline.d.ts +22 -0
  68. package/build/ci/pipeline.js +662 -0
  69. package/build/ci/pipeline_types.d.ts +134 -0
  70. package/build/ci/pipeline_types.js +5 -0
  71. package/build/ci/pipeline_violations.d.ts +44 -0
  72. package/build/ci/pipeline_violations.js +229 -0
  73. package/build/ci/rules/go.d.ts +8 -0
  74. package/build/ci/rules/go.js +22 -0
  75. package/build/ci/rules/index.d.ts +32 -0
  76. package/build/ci/rules/index.js +42 -0
  77. package/build/ci/rules/java.d.ts +8 -0
  78. package/build/ci/rules/java.js +22 -0
  79. package/build/ci/rules/javascript.d.ts +8 -0
  80. package/build/ci/rules/javascript.js +32 -0
  81. package/build/ci/rules/python.d.ts +8 -0
  82. package/build/ci/rules/python.js +27 -0
  83. package/build/ci/rules/rust.d.ts +8 -0
  84. package/build/ci/rules/rust.js +27 -0
  85. package/build/ci/spec_gate.d.ts +15 -0
  86. package/build/ci/spec_gate.js +143 -0
  87. package/build/ci/subcommands.d.ts +2 -0
  88. package/build/ci/subcommands.js +147 -0
  89. package/build/companion/autostart.d.ts +23 -0
  90. package/build/companion/autostart.js +105 -0
  91. package/build/companion/external_tools.d.ts +36 -0
  92. package/build/companion/external_tools.js +74 -0
  93. package/build/companion/index.d.ts +7 -0
  94. package/build/companion/index.js +6 -0
  95. package/build/companion/providers/bitnet_provider.d.ts +43 -0
  96. package/build/companion/providers/bitnet_provider.js +189 -0
  97. package/build/companion/providers/index.d.ts +1 -0
  98. package/build/companion/providers/index.js +1 -0
  99. package/build/companion/runtime.d.ts +9 -0
  100. package/build/companion/runtime.js +106 -0
  101. package/build/companion/server.d.ts +10 -0
  102. package/build/companion/server.js +143 -0
  103. package/build/companion/tools.d.ts +27 -0
  104. package/build/companion/tools.js +305 -0
  105. package/build/companion/types.d.ts +44 -0
  106. package/build/companion/types.js +10 -0
  107. package/build/companion/warden_runtime.d.ts +106 -0
  108. package/build/companion/warden_runtime.js +419 -0
  109. package/build/config/load-config.d.ts +0 -0
  110. package/build/config/load-config.js +2 -1
  111. package/build/coordinator/client.d.ts +0 -0
  112. package/build/coordinator/client.js +10 -19
  113. package/build/coordinator/index.d.ts +0 -0
  114. package/build/coordinator/index.js +0 -0
  115. package/build/correction-messages.d.ts +0 -0
  116. package/build/correction-messages.js +0 -0
  117. package/build/dashboard/index.d.ts +7 -17
  118. package/build/dashboard/index.js +9 -19
  119. package/build/dashboard/server.d.ts +4 -2
  120. package/build/dashboard/server.js +237 -83
  121. package/build/dashboard/signal_stream.d.ts +24 -0
  122. package/build/dashboard/signal_stream.js +252 -0
  123. package/build/db_sync/block_migration.d.ts +35 -0
  124. package/build/db_sync/block_migration.js +106 -0
  125. package/build/db_sync/block_reader.d.ts +38 -0
  126. package/build/db_sync/block_reader.js +97 -0
  127. package/build/db_sync/block_search_adapter.d.ts +26 -0
  128. package/build/db_sync/block_search_adapter.js +69 -0
  129. package/build/db_sync/block_sync.d.ts +26 -0
  130. package/build/db_sync/block_sync.js +95 -0
  131. package/build/db_sync/block_writer.d.ts +41 -0
  132. package/build/db_sync/block_writer.js +83 -0
  133. package/build/db_sync/config.d.ts +1 -7
  134. package/build/db_sync/config.js +7 -20
  135. package/build/db_sync/index.d.ts +20 -12
  136. package/build/db_sync/index.js +56 -56
  137. package/build/db_sync/parsers/bitnet.d.ts +0 -0
  138. package/build/db_sync/parsers/bitnet.js +0 -0
  139. package/build/db_sync/parsers/gate.d.ts +0 -0
  140. package/build/db_sync/parsers/gate.js +0 -0
  141. package/build/db_sync/parsers/index.d.ts +0 -0
  142. package/build/db_sync/parsers/index.js +0 -0
  143. package/build/db_sync/parsers/ingress.d.ts +0 -0
  144. package/build/db_sync/parsers/ingress.js +0 -0
  145. package/build/db_sync/parsers/mapping.d.ts +0 -0
  146. package/build/db_sync/parsers/mapping.js +0 -0
  147. package/build/db_sync/parsers/orchestrator.d.ts +0 -0
  148. package/build/db_sync/parsers/orchestrator.js +0 -0
  149. package/build/db_sync/pool.d.ts +2 -3
  150. package/build/db_sync/pool.js +10 -11
  151. package/build/db_sync/publish.d.ts +0 -0
  152. package/build/db_sync/publish.js +14 -14
  153. package/build/db_sync/read_model.d.ts +0 -0
  154. package/build/db_sync/read_model.js +7 -7
  155. package/build/db_sync/scanner.d.ts +4 -4
  156. package/build/db_sync/scanner.js +42 -30
  157. package/build/db_sync/types.d.ts +53 -7
  158. package/build/db_sync/types.js +11 -18
  159. package/build/db_sync/writer.d.ts +0 -0
  160. package/build/db_sync/writer.js +129 -129
  161. package/build/decision-log-reader.d.ts +33 -0
  162. package/build/decision-log-reader.js +129 -5
  163. package/build/deep-link.d.ts +0 -0
  164. package/build/deep-link.js +12 -11
  165. package/build/deps/deps-update.d.ts +0 -0
  166. package/build/deps/deps-update.js +0 -0
  167. package/build/deps/drift-check.d.ts +0 -0
  168. package/build/deps/drift-check.js +0 -0
  169. package/build/deps/env-check.d.ts +0 -0
  170. package/build/deps/env-check.js +0 -0
  171. package/build/deps/index.d.ts +0 -0
  172. package/build/deps/index.js +0 -0
  173. package/build/deps/pm-detect.d.ts +0 -0
  174. package/build/deps/pm-detect.js +0 -0
  175. package/build/deps/types.d.ts +0 -0
  176. package/build/deps/types.js +0 -0
  177. package/build/deps/ux-renderer.d.ts +0 -0
  178. package/build/deps/ux-renderer.js +0 -0
  179. package/build/{tier → domains/ant}/ant_lane.d.ts +2 -2
  180. package/build/{tier → domains/ant}/ant_lane.js +52 -50
  181. package/build/domains/ant/ant_lane_remediation.d.ts +50 -0
  182. package/build/domains/ant/ant_lane_remediation.js +157 -0
  183. package/build/domains/ant/ant_remediator.d.ts +48 -0
  184. package/build/domains/ant/ant_remediator.js +129 -0
  185. package/build/{tier → domains/ant}/checkpoint.d.ts +1 -1
  186. package/build/{tier → domains/ant}/checkpoint.js +66 -67
  187. package/build/{tier → domains/ant}/checkpoint_types.d.ts +17 -16
  188. package/build/{tier → domains/ant}/checkpoint_types.js +0 -0
  189. package/build/domains/ant/healing_loop.d.ts +42 -0
  190. package/build/domains/ant/healing_loop.js +196 -0
  191. package/build/domains/ant/index.d.ts +19 -0
  192. package/build/domains/ant/index.js +20 -0
  193. package/build/domains/ant/payload_builder.d.ts +51 -0
  194. package/build/domains/ant/payload_builder.js +137 -0
  195. package/build/domains/ant/remediation_log.d.ts +59 -0
  196. package/build/domains/ant/remediation_log.js +84 -0
  197. package/build/domains/bee/bee_chain_storage.d.ts +50 -0
  198. package/build/domains/bee/bee_chain_storage.js +155 -0
  199. package/build/domains/bee/bee_context_enricher.d.ts +76 -0
  200. package/build/domains/bee/bee_context_enricher.js +194 -0
  201. package/build/domains/bee/bee_import_parser.d.ts +68 -0
  202. package/build/domains/bee/bee_import_parser.js +359 -0
  203. package/build/domains/bee/bee_incremental_analyzer.d.ts +59 -0
  204. package/build/domains/bee/bee_incremental_analyzer.js +158 -0
  205. package/build/domains/bee/bee_ipc_server.d.ts +60 -0
  206. package/build/domains/bee/bee_ipc_server.js +146 -0
  207. package/build/domains/bee/bee_orchestrator.d.ts +35 -0
  208. package/build/domains/bee/bee_orchestrator.js +429 -0
  209. package/build/domains/bee/bee_rechunk.d.ts +41 -0
  210. package/build/domains/bee/bee_rechunk.js +128 -0
  211. package/build/domains/bee/bee_rechunk_incremental.d.ts +36 -0
  212. package/build/domains/bee/bee_rechunk_incremental.js +204 -0
  213. package/build/domains/bee/bee_stream_listener.d.ts +62 -0
  214. package/build/domains/bee/bee_stream_listener.js +161 -0
  215. package/build/domains/bee/bee_swarm_bridge.d.ts +32 -0
  216. package/build/domains/bee/bee_swarm_bridge.js +120 -0
  217. package/build/domains/bee/bee_triangulation.d.ts +66 -0
  218. package/build/domains/bee/bee_triangulation.js +186 -0
  219. package/build/domains/bee/bee_types.d.ts +142 -0
  220. package/build/domains/bee/bee_types.js +15 -0
  221. package/build/domains/bee/bee_watcher.d.ts +63 -0
  222. package/build/domains/bee/bee_watcher.js +267 -0
  223. package/build/{tier → domains/bee}/cooldown_store.d.ts +1 -1
  224. package/build/{tier → domains/bee}/cooldown_store.js +9 -8
  225. package/build/domains/bee/file_hash_registry.d.ts +69 -0
  226. package/build/domains/bee/file_hash_registry.js +189 -0
  227. package/build/domains/bee/index.d.ts +36 -0
  228. package/build/domains/bee/index.js +37 -0
  229. package/build/domains/bee/intent_tracker.d.ts +81 -0
  230. package/build/domains/bee/intent_tracker.js +185 -0
  231. package/build/domains/bee/log_pattern_registry.d.ts +91 -0
  232. package/build/domains/bee/log_pattern_registry.js +160 -0
  233. package/build/domains/bee/log_reasoning_bridge.d.ts +69 -0
  234. package/build/domains/bee/log_reasoning_bridge.js +182 -0
  235. package/build/domains/bee/scout_chain_storage.d.ts +27 -0
  236. package/build/domains/bee/scout_chain_storage.js +69 -0
  237. package/build/domains/bee/scout_heuristics.d.ts +30 -0
  238. package/build/domains/bee/scout_heuristics.js +446 -0
  239. package/build/{tier → domains/bee}/scout_runner.d.ts +5 -0
  240. package/build/{tier → domains/bee}/scout_runner.js +57 -2
  241. package/build/{tier → domains/bee}/trigger_evaluator.d.ts +4 -4
  242. package/build/{tier → domains/bee}/trigger_evaluator.js +63 -65
  243. package/build/{tier → domains/bee}/trigger_facts_collector.d.ts +3 -3
  244. package/build/domains/bee/trigger_facts_collector.js +280 -0
  245. package/build/{tier → domains/bee}/trigger_types.d.ts +3 -3
  246. package/build/{tier → domains/bee}/trigger_types.js +0 -0
  247. package/build/domains/prime/activity_sensor.d.ts +36 -0
  248. package/build/domains/prime/activity_sensor.js +64 -0
  249. package/build/domains/prime/context_assembly.d.ts +102 -0
  250. package/build/domains/prime/context_assembly.js +174 -0
  251. package/build/domains/prime/director.d.ts +38 -0
  252. package/build/domains/prime/director.js +136 -0
  253. package/build/domains/prime/goal_classifier.d.ts +11 -0
  254. package/build/domains/prime/goal_classifier.js +62 -0
  255. package/build/domains/prime/hive_mind.d.ts +48 -0
  256. package/build/domains/prime/hive_mind.js +249 -0
  257. package/build/domains/prime/hive_mind_prompts.d.ts +22 -0
  258. package/build/domains/prime/hive_mind_prompts.js +110 -0
  259. package/build/domains/prime/hive_mind_types.d.ts +43 -0
  260. package/build/domains/prime/hive_mind_types.js +4 -0
  261. package/build/domains/prime/holodeck.d.ts +33 -0
  262. package/build/domains/prime/holodeck.js +102 -0
  263. package/build/domains/prime/holodeck_types.d.ts +28 -0
  264. package/build/domains/prime/holodeck_types.js +4 -0
  265. package/build/domains/prime/hybrid_check.d.ts +23 -0
  266. package/build/domains/prime/hybrid_check.js +58 -0
  267. package/build/domains/prime/index.d.ts +20 -0
  268. package/build/domains/prime/index.js +15 -0
  269. package/build/domains/prime/mission_store.d.ts +27 -0
  270. package/build/domains/prime/mission_store.js +95 -0
  271. package/build/domains/prime/planner.d.ts +55 -0
  272. package/build/domains/prime/planner.js +307 -0
  273. package/build/domains/prime/planner_prompts.d.ts +18 -0
  274. package/build/domains/prime/planner_prompts.js +116 -0
  275. package/build/domains/prime/reviewer.d.ts +27 -0
  276. package/build/domains/prime/reviewer.js +83 -0
  277. package/build/domains/prime/stage_machine.d.ts +62 -0
  278. package/build/domains/prime/stage_machine.js +143 -0
  279. package/build/domains/prime/time_stone.d.ts +37 -0
  280. package/build/domains/prime/time_stone.js +212 -0
  281. package/build/domains/prime/time_stone_scorer.d.ts +17 -0
  282. package/build/domains/prime/time_stone_scorer.js +44 -0
  283. package/build/domains/prime/time_stone_types.d.ts +71 -0
  284. package/build/domains/prime/time_stone_types.js +4 -0
  285. package/build/domains/prime/types.d.ts +44 -0
  286. package/build/domains/prime/types.js +7 -0
  287. package/build/domains/rag/block_indexer.d.ts +39 -0
  288. package/build/domains/rag/block_indexer.js +61 -0
  289. package/build/domains/rag/context_builder.d.ts +11 -0
  290. package/build/domains/rag/context_builder.js +30 -0
  291. package/build/domains/rag/index.d.ts +6 -0
  292. package/build/domains/rag/index.js +6 -0
  293. package/build/domains/rag/rag_bridge.d.ts +29 -0
  294. package/build/domains/rag/rag_bridge.js +22 -0
  295. package/build/domains/rag/rag_client.d.ts +14 -0
  296. package/build/domains/rag/rag_client.js +77 -0
  297. package/build/domains/rag/retrieval.d.ts +18 -0
  298. package/build/domains/rag/retrieval.js +47 -0
  299. package/build/domains/rag/types.d.ts +57 -0
  300. package/build/domains/rag/types.js +3 -0
  301. package/build/domains/swarm/index.d.ts +19 -0
  302. package/build/domains/swarm/index.js +20 -0
  303. package/build/domains/swarm/reasoning_chain.d.ts +62 -0
  304. package/build/domains/swarm/reasoning_chain.js +121 -0
  305. package/build/domains/swarm/swarm_chain_dispatcher.d.ts +52 -0
  306. package/build/domains/swarm/swarm_chain_dispatcher.js +144 -0
  307. package/build/domains/swarm/swarm_consensus.d.ts +34 -0
  308. package/build/domains/swarm/swarm_consensus.js +87 -0
  309. package/build/domains/swarm/swarm_dispatcher.d.ts +34 -0
  310. package/build/domains/swarm/swarm_dispatcher.js +111 -0
  311. package/build/domains/swarm/swarm_prompt.d.ts +16 -0
  312. package/build/domains/swarm/swarm_prompt.js +70 -0
  313. package/build/domains/swarm/swarm_types.d.ts +55 -0
  314. package/build/domains/swarm/swarm_types.js +9 -0
  315. package/build/domains/swarm/swarm_verdict_router.d.ts +55 -0
  316. package/build/domains/swarm/swarm_verdict_router.js +129 -0
  317. package/build/evidence-report.d.ts +2 -2
  318. package/build/evidence-report.js +18 -153
  319. package/build/gateway/client.d.ts +35 -0
  320. package/build/gateway/client.js +98 -0
  321. package/build/gateway/config.d.ts +41 -0
  322. package/build/gateway/config.js +49 -0
  323. package/build/gateway/dispatch_handler.d.ts +17 -0
  324. package/build/gateway/dispatch_handler.js +95 -0
  325. package/build/gateway/heartbeat.d.ts +23 -0
  326. package/build/gateway/heartbeat.js +78 -0
  327. package/build/gateway/index.d.ts +18 -0
  328. package/build/gateway/index.js +14 -0
  329. package/build/gateway/prime_dispatch.d.ts +29 -0
  330. package/build/gateway/prime_dispatch.js +80 -0
  331. package/build/health/index.d.ts +0 -0
  332. package/build/health/index.js +0 -0
  333. package/build/health/liveness.d.ts +0 -0
  334. package/build/health/liveness.js +0 -0
  335. package/build/health/readiness.d.ts +5 -0
  336. package/build/health/readiness.js +28 -5
  337. package/build/health/types.d.ts +0 -0
  338. package/build/health/types.js +0 -0
  339. package/build/hub/autostart.d.ts +23 -0
  340. package/build/hub/autostart.js +137 -0
  341. package/build/hub/dashboard_routes.d.ts +17 -0
  342. package/build/hub/dashboard_routes.js +307 -0
  343. package/build/hub/index.d.ts +10 -0
  344. package/build/hub/index.js +8 -0
  345. package/build/hub/server.d.ts +10 -0
  346. package/build/hub/server.js +207 -0
  347. package/build/hub/types.d.ts +43 -0
  348. package/build/hub/types.js +8 -0
  349. package/build/index.d.ts +19 -19
  350. package/build/index.js +22 -47
  351. package/build/kernel/async-fs.d.ts +22 -0
  352. package/build/kernel/async-fs.js +50 -0
  353. package/build/kernel/atomic_writer.d.ts +22 -0
  354. package/build/kernel/atomic_writer.js +43 -0
  355. package/build/kernel/blocks/assembler.d.ts +101 -0
  356. package/build/kernel/blocks/assembler.js +254 -0
  357. package/build/kernel/blocks/chain.d.ts +148 -0
  358. package/build/kernel/blocks/chain.js +329 -0
  359. package/build/kernel/blocks/doubt.d.ts +141 -0
  360. package/build/kernel/blocks/doubt.js +288 -0
  361. package/build/kernel/blocks/events.d.ts +130 -0
  362. package/build/kernel/blocks/events.js +246 -0
  363. package/build/kernel/blocks/gc.d.ts +93 -0
  364. package/build/kernel/blocks/gc.js +320 -0
  365. package/build/kernel/blocks/hasher.d.ts +79 -0
  366. package/build/kernel/blocks/hasher.js +108 -0
  367. package/build/kernel/blocks/index.d.ts +29 -0
  368. package/build/kernel/blocks/index.js +44 -0
  369. package/build/kernel/blocks/inference_cache.d.ts +64 -0
  370. package/build/kernel/blocks/inference_cache.js +123 -0
  371. package/build/kernel/blocks/migration.d.ts +103 -0
  372. package/build/kernel/blocks/migration.js +273 -0
  373. package/build/kernel/blocks/policy.d.ts +41 -0
  374. package/build/kernel/blocks/policy.js +132 -0
  375. package/build/kernel/blocks/signal_bridge.d.ts +130 -0
  376. package/build/kernel/blocks/signal_bridge.js +324 -0
  377. package/build/kernel/blocks/signal_reader.d.ts +47 -0
  378. package/build/kernel/blocks/signal_reader.js +185 -0
  379. package/build/kernel/blocks/snapshot.d.ts +44 -0
  380. package/build/kernel/blocks/snapshot.js +258 -0
  381. package/build/kernel/blocks/store.d.ts +163 -0
  382. package/build/kernel/blocks/store.js +390 -0
  383. package/build/kernel/blocks/types.d.ts +340 -0
  384. package/build/kernel/blocks/types.js +31 -0
  385. package/build/kernel/blocks/vector.d.ts +90 -0
  386. package/build/kernel/blocks/vector.js +495 -0
  387. package/build/kernel/contracts.d.ts +53 -0
  388. package/build/kernel/contracts.js +1 -0
  389. package/build/kernel/deps.d.ts +22 -0
  390. package/build/kernel/deps.js +32 -0
  391. package/build/{mcp/events → kernel}/file_watcher.d.ts +1 -1
  392. package/build/{mcp/events → kernel}/file_watcher.js +5 -5
  393. package/build/kernel/index.d.ts +8 -0
  394. package/build/kernel/index.js +13 -0
  395. package/build/kernel/musu_adapter.d.ts +198 -0
  396. package/build/kernel/musu_adapter.js +836 -0
  397. package/build/kernel/musu_adapter_types.d.ts +212 -0
  398. package/build/kernel/musu_adapter_types.js +10 -0
  399. package/build/kernel/musu_endpoint.d.ts +15 -0
  400. package/build/kernel/musu_endpoint.js +62 -0
  401. package/build/kernel/paths.d.ts +90 -0
  402. package/build/kernel/paths.js +240 -0
  403. package/build/kernel/resolve_deps.d.ts +12 -0
  404. package/build/kernel/resolve_deps.js +14 -0
  405. package/build/kernel/smart_patcher.d.ts +52 -0
  406. package/build/kernel/smart_patcher.js +221 -0
  407. package/build/kernel/sys_admin_types.d.ts +34 -0
  408. package/build/kernel/sys_admin_types.js +7 -0
  409. package/build/license-manager.d.ts +0 -0
  410. package/build/license-manager.js +0 -0
  411. package/build/mapper-worker/client.d.ts +0 -0
  412. package/build/mapper-worker/client.js +5 -4
  413. package/build/mapper-worker/index.d.ts +0 -0
  414. package/build/mapper-worker/index.js +0 -0
  415. package/build/mapper-worker/pool.d.ts +1 -1
  416. package/build/mapper-worker/pool.js +46 -48
  417. package/build/mapper-worker/server.d.ts +0 -0
  418. package/build/mapper-worker/server.js +7 -8
  419. package/build/mapper-worker/types.d.ts +0 -0
  420. package/build/mapper-worker/types.js +2 -1
  421. package/build/mcp/a2a/envelope.d.ts +36 -0
  422. package/build/mcp/a2a/envelope.js +82 -0
  423. package/build/mcp/a2a/executor/actions.d.ts +39 -0
  424. package/build/mcp/a2a/executor/actions.js +218 -0
  425. package/build/mcp/a2a/executor/dry_run.d.ts +51 -0
  426. package/build/mcp/a2a/executor/dry_run.js +117 -0
  427. package/build/mcp/a2a/executor/handler.d.ts +23 -0
  428. package/build/mcp/a2a/executor/handler.js +125 -0
  429. package/build/mcp/a2a/executor/index.d.ts +3 -0
  430. package/build/mcp/a2a/executor/index.js +8 -0
  431. package/build/mcp/a2a/gate/index.d.ts +3 -0
  432. package/build/mcp/a2a/gate/index.js +15 -0
  433. package/build/mcp/a2a/gate/types.d.ts +106 -0
  434. package/build/mcp/a2a/gate/types.js +68 -0
  435. package/build/mcp/a2a/gate/verdict.d.ts +69 -0
  436. package/build/mcp/a2a/gate/verdict.js +286 -0
  437. package/build/mcp/a2a/history/builder.d.ts +78 -0
  438. package/build/mcp/a2a/history/builder.js +399 -0
  439. package/build/mcp/a2a/history/index.d.ts +6 -0
  440. package/build/mcp/a2a/history/index.js +6 -0
  441. package/build/mcp/a2a/history/types.d.ts +185 -0
  442. package/build/mcp/a2a/history/types.js +5 -0
  443. package/build/mcp/a2a/index.d.ts +7 -0
  444. package/build/mcp/a2a/index.js +13 -0
  445. package/build/mcp/a2a/intent/constitutional.d.ts +41 -0
  446. package/build/mcp/a2a/intent/constitutional.js +187 -0
  447. package/build/mcp/a2a/intent/converter.d.ts +23 -0
  448. package/build/mcp/a2a/intent/converter.js +32 -0
  449. package/build/mcp/a2a/intent/index.d.ts +13 -0
  450. package/build/mcp/a2a/intent/index.js +13 -0
  451. package/build/mcp/a2a/intent/interpreter.d.ts +51 -0
  452. package/build/mcp/a2a/intent/interpreter.js +341 -0
  453. package/build/mcp/a2a/intent/loader.d.ts +20 -0
  454. package/build/mcp/a2a/intent/loader.js +54 -0
  455. package/build/mcp/a2a/intent/project_intent.d.ts +54 -0
  456. package/build/mcp/a2a/intent/project_intent.js +221 -0
  457. package/build/mcp/a2a/intent/types.d.ts +156 -0
  458. package/build/mcp/a2a/intent/types.js +12 -0
  459. package/build/mcp/a2a/observer/hooks.d.ts +15 -0
  460. package/build/mcp/a2a/observer/hooks.js +35 -6
  461. package/build/mcp/a2a/observer/index.d.ts +5 -0
  462. package/build/mcp/a2a/observer/index.js +6 -0
  463. package/build/mcp/a2a/observer/logger.d.ts +0 -0
  464. package/build/mcp/a2a/observer/logger.js +2 -1
  465. package/build/mcp/a2a/observer/types.d.ts +1 -1
  466. package/build/mcp/a2a/observer/types.js +0 -0
  467. package/build/mcp/a2a/oracle/index.d.ts +3 -0
  468. package/build/mcp/a2a/oracle/index.js +5 -0
  469. package/build/mcp/a2a/oracle/oracle.d.ts +35 -0
  470. package/build/mcp/a2a/oracle/oracle.js +253 -0
  471. package/build/mcp/a2a/oracle/types.d.ts +108 -0
  472. package/build/mcp/a2a/oracle/types.js +10 -0
  473. package/build/mcp/a2a/orchestrator/index.d.ts +4 -0
  474. package/build/mcp/a2a/orchestrator/index.js +11 -0
  475. package/build/mcp/a2a/orchestrator/loop.d.ts +0 -0
  476. package/build/mcp/a2a/orchestrator/loop.js +2 -1
  477. package/build/mcp/a2a/orchestrator/ralph-audit.d.ts +0 -0
  478. package/build/mcp/a2a/orchestrator/ralph-audit.js +0 -0
  479. package/build/mcp/a2a/orchestrator/ralph-runner.d.ts +0 -0
  480. package/build/mcp/a2a/orchestrator/ralph-runner.js +0 -0
  481. package/build/mcp/a2a/orchestrator/rewind-actions.d.ts +2 -2
  482. package/build/mcp/a2a/orchestrator/rewind-actions.js +39 -27
  483. package/build/mcp/a2a/state/index.d.ts +6 -0
  484. package/build/mcp/a2a/state/index.js +6 -0
  485. package/build/mcp/a2a/state/manager.d.ts +105 -0
  486. package/build/mcp/a2a/state/manager.js +565 -0
  487. package/build/mcp/a2a/state/types.d.ts +179 -0
  488. package/build/mcp/a2a/state/types.js +46 -0
  489. package/build/mcp/a2a/types.d.ts +23 -1
  490. package/build/mcp/a2a/types.js +0 -0
  491. package/build/mcp/agents/catalog_loader.d.ts +23 -0
  492. package/build/mcp/agents/catalog_loader.js +168 -0
  493. package/build/mcp/agents/checksum.d.ts +30 -0
  494. package/build/mcp/agents/checksum.js +51 -0
  495. package/build/mcp/agents/dependency_resolver.d.ts +34 -0
  496. package/build/mcp/agents/dependency_resolver.js +109 -0
  497. package/build/mcp/agents/dispatcher.d.ts +33 -0
  498. package/build/mcp/agents/dispatcher.js +168 -0
  499. package/build/mcp/agents/feedback_loop.d.ts +84 -0
  500. package/build/mcp/agents/feedback_loop.js +241 -0
  501. package/build/mcp/agents/index.d.ts +13 -0
  502. package/build/mcp/agents/index.js +18 -0
  503. package/build/mcp/agents/lifecycle_monitor.d.ts +59 -0
  504. package/build/mcp/agents/lifecycle_monitor.js +189 -0
  505. package/build/mcp/agents/manifest_validator.d.ts +31 -0
  506. package/build/mcp/agents/manifest_validator.js +120 -0
  507. package/build/mcp/agents/oppa_router.d.ts +44 -0
  508. package/build/mcp/agents/oppa_router.js +134 -0
  509. package/build/mcp/agents/tool_executor.d.ts +22 -0
  510. package/build/mcp/agents/tool_executor.js +82 -0
  511. package/build/mcp/agents/types.d.ts +139 -0
  512. package/build/mcp/agents/types.js +7 -0
  513. package/build/mcp/agents/workflow_engine.d.ts +25 -0
  514. package/build/mcp/agents/workflow_engine.js +226 -0
  515. package/build/mcp/ai-native/discover.d.ts +41 -0
  516. package/build/mcp/ai-native/discover.js +69 -0
  517. package/build/mcp/ai-native/envelope.d.ts +47 -0
  518. package/build/mcp/ai-native/envelope.js +70 -0
  519. package/build/mcp/ai-native/health.d.ts +33 -0
  520. package/build/mcp/ai-native/health.js +97 -0
  521. package/build/mcp/ai-native/index.d.ts +7 -0
  522. package/build/mcp/ai-native/index.js +7 -0
  523. package/build/mcp/ai-native/next_action.d.ts +53 -0
  524. package/build/mcp/ai-native/next_action.js +133 -0
  525. package/build/mcp/airlock/airlock.d.ts +0 -0
  526. package/build/mcp/airlock/airlock.js +0 -0
  527. package/build/mcp/airlock/index.d.ts +0 -0
  528. package/build/mcp/airlock/index.js +0 -0
  529. package/build/mcp/airlock/policy.d.ts +2 -2
  530. package/build/mcp/airlock/policy.js +6 -6
  531. package/build/mcp/airlock/redact.d.ts +0 -0
  532. package/build/mcp/airlock/redact.js +0 -0
  533. package/build/mcp/airlock/report.d.ts +1 -1
  534. package/build/mcp/airlock/report.js +25 -25
  535. package/build/mcp/airlock/types.d.ts +0 -0
  536. package/build/mcp/airlock/types.js +0 -0
  537. package/build/mcp/auth/gate.d.ts +0 -0
  538. package/build/mcp/auth/gate.js +0 -0
  539. package/build/mcp/auth/index.d.ts +0 -0
  540. package/build/mcp/auth/index.js +0 -0
  541. package/build/mcp/auth/public_key.d.ts +0 -0
  542. package/build/mcp/auth/public_key.js +0 -0
  543. package/build/mcp/auth/token_cache.d.ts +0 -0
  544. package/build/mcp/auth/token_cache.js +2 -1
  545. package/build/mcp/auth/token_verifier.d.ts +0 -0
  546. package/build/mcp/auth/token_verifier.js +0 -0
  547. package/build/mcp/bootstrap/doctor.d.ts +0 -0
  548. package/build/mcp/bootstrap/doctor.js +3 -3
  549. package/build/mcp/bootstrap/installer.d.ts +12 -33
  550. package/build/mcp/bootstrap/installer.js +244 -674
  551. package/build/mcp/bootstrap/installer_env.d.ts +19 -0
  552. package/build/mcp/bootstrap/installer_env.js +128 -0
  553. package/build/mcp/bootstrap/installer_network.d.ts +24 -0
  554. package/build/mcp/bootstrap/installer_network.js +192 -0
  555. package/build/mcp/bootstrap/installer_version.d.ts +54 -0
  556. package/build/mcp/bootstrap/installer_version.js +163 -0
  557. package/build/mcp/bootstrap/lock.d.ts +0 -0
  558. package/build/mcp/bootstrap/lock.js +0 -0
  559. package/build/mcp/bootstrap/platform.d.ts +0 -0
  560. package/build/mcp/bootstrap/platform.js +0 -0
  561. package/build/mcp/bootstrap/registry.d.ts +12 -0
  562. package/build/mcp/bootstrap/registry.js +53 -4
  563. package/build/mcp/bootstrap/skills-installer.d.ts +15 -15
  564. package/build/mcp/bootstrap/skills-installer.js +115 -102
  565. package/build/mcp/cache/index.d.ts +0 -0
  566. package/build/mcp/cache/index.js +0 -0
  567. package/build/mcp/chunking/artifacts.d.ts +44 -4
  568. package/build/mcp/chunking/artifacts.js +120 -21
  569. package/build/mcp/chunking/chunking.d.ts +37 -1
  570. package/build/mcp/chunking/chunking.js +108 -24
  571. package/build/mcp/chunking/index.d.ts +0 -0
  572. package/build/mcp/chunking/index.js +0 -0
  573. package/build/mcp/chunking/policy.d.ts +3 -3
  574. package/build/mcp/chunking/policy.js +11 -11
  575. package/build/mcp/chunking/types.d.ts +0 -0
  576. package/build/mcp/chunking/types.js +0 -0
  577. package/build/mcp/cli.d.ts +0 -0
  578. package/build/mcp/cli.js +17 -1
  579. package/build/mcp/cockpit-bridge/client.d.ts +85 -2
  580. package/build/mcp/cockpit-bridge/client.js +170 -9
  581. package/build/mcp/cockpit-bridge/index.d.ts +0 -0
  582. package/build/mcp/cockpit-bridge/index.js +2 -1
  583. package/build/mcp/cockpit-bridge/tools/command.d.ts +25 -1
  584. package/build/mcp/cockpit-bridge/tools/command.js +26 -4
  585. package/build/mcp/cockpit-bridge/tools/decide.d.ts +0 -0
  586. package/build/mcp/cockpit-bridge/tools/decide.js +0 -0
  587. package/build/mcp/cockpit-bridge/tools/gate_result.d.ts +19 -0
  588. package/build/mcp/cockpit-bridge/tools/gate_result.js +64 -0
  589. package/build/mcp/cockpit-bridge/tools/index.d.ts +1 -0
  590. package/build/mcp/cockpit-bridge/tools/index.js +3 -0
  591. package/build/mcp/cockpit-bridge/tools/manual.d.ts +0 -0
  592. package/build/mcp/cockpit-bridge/tools/manual.js +2 -2
  593. package/build/mcp/cockpit-bridge/tools/prompt.d.ts +0 -0
  594. package/build/mcp/cockpit-bridge/tools/prompt.js +0 -0
  595. package/build/mcp/cockpit-bridge/tools/status.d.ts +0 -0
  596. package/build/mcp/cockpit-bridge/tools/status.js +0 -0
  597. package/build/mcp/contracts.d.ts +4 -4
  598. package/build/mcp/contracts.js +0 -0
  599. package/build/mcp/engine/deps.d.ts +12 -0
  600. package/build/mcp/engine/deps.js +19 -0
  601. package/build/mcp/engine/lazy.d.ts +5 -0
  602. package/build/mcp/engine/lazy.js +32 -0
  603. package/build/mcp/engine.d.ts +4 -3
  604. package/build/mcp/engine.js +79 -38
  605. package/build/mcp/errors.d.ts +21 -0
  606. package/build/mcp/errors.js +36 -0
  607. package/build/mcp/events/constants.d.ts +7 -0
  608. package/build/mcp/events/constants.js +8 -0
  609. package/build/mcp/events/dedup_cooldown.d.ts +0 -0
  610. package/build/mcp/events/dedup_cooldown.js +0 -0
  611. package/build/mcp/events/dedup_registry.d.ts +3 -0
  612. package/build/mcp/events/dedup_registry.js +25 -0
  613. package/build/mcp/events/emitter.d.ts +5 -2
  614. package/build/mcp/events/emitter.js +16 -10
  615. package/build/mcp/events/event_loop.d.ts +2 -1
  616. package/build/mcp/events/event_loop.js +94 -89
  617. package/build/mcp/events/index.d.ts +10 -11
  618. package/build/mcp/events/index.js +10 -11
  619. package/build/mcp/events/logger.d.ts +0 -0
  620. package/build/mcp/events/logger.js +0 -0
  621. package/build/mcp/events/mq.d.ts +2 -1
  622. package/build/mcp/events/mq.js +2 -2
  623. package/build/mcp/events/mq_nats.d.ts +0 -0
  624. package/build/mcp/events/mq_nats.js +3 -2
  625. package/build/mcp/events/mq_redis.d.ts +0 -0
  626. package/build/mcp/events/mq_redis.js +2 -1
  627. package/build/mcp/events/nav_refresh.d.ts +0 -0
  628. package/build/mcp/events/nav_refresh.js +15 -15
  629. package/build/mcp/events/processor.d.ts +2 -2
  630. package/build/mcp/events/processor.js +56 -24
  631. package/build/mcp/events/replay.d.ts +0 -0
  632. package/build/mcp/events/replay.js +0 -0
  633. package/build/mcp/events/types.d.ts +7 -4
  634. package/build/mcp/events/types.js +2 -2
  635. package/build/mcp/generated/activate_input.d.ts +0 -0
  636. package/build/mcp/generated/activate_input.js +0 -0
  637. package/build/mcp/generated/activate_output.d.ts +2 -2
  638. package/build/mcp/generated/activate_output.js +0 -0
  639. package/build/mcp/generated/advisory_review_input.d.ts +6 -6
  640. package/build/mcp/generated/advisory_review_input.js +0 -0
  641. package/build/mcp/generated/advisory_review_output.d.ts +0 -0
  642. package/build/mcp/generated/advisory_review_output.js +0 -0
  643. package/build/mcp/generated/auth_token_file.d.ts +0 -0
  644. package/build/mcp/generated/auth_token_file.js +0 -0
  645. package/build/mcp/generated/autopilot_policy.d.ts +0 -0
  646. package/build/mcp/generated/autopilot_policy.js +0 -0
  647. package/build/mcp/generated/bee_output.d.ts +59 -0
  648. package/build/mcp/generated/bee_output.js +36 -0
  649. package/build/mcp/generated/bitnet_signal.d.ts +18 -18
  650. package/build/mcp/generated/bitnet_signal.js +0 -0
  651. package/build/mcp/generated/bridge_build_seed_input.d.ts +0 -0
  652. package/build/mcp/generated/bridge_build_seed_input.js +0 -0
  653. package/build/mcp/generated/bridge_build_seed_output.d.ts +2 -2
  654. package/build/mcp/generated/bridge_build_seed_output.js +0 -0
  655. package/build/mcp/generated/bridge_confirm_reference_input.d.ts +0 -0
  656. package/build/mcp/generated/bridge_confirm_reference_input.js +0 -0
  657. package/build/mcp/generated/bridge_confirm_reference_output.d.ts +2 -2
  658. package/build/mcp/generated/bridge_confirm_reference_output.js +0 -0
  659. package/build/mcp/generated/bridge_confirmed_reference_file.d.ts +4 -4
  660. package/build/mcp/generated/bridge_confirmed_reference_file.js +0 -0
  661. package/build/mcp/generated/bridge_generate_references_input.d.ts +4 -4
  662. package/build/mcp/generated/bridge_generate_references_input.js +0 -0
  663. package/build/mcp/generated/bridge_generate_references_output.d.ts +2 -2
  664. package/build/mcp/generated/bridge_generate_references_output.js +0 -0
  665. package/build/mcp/generated/bridge_references_file.d.ts +10 -10
  666. package/build/mcp/generated/bridge_references_file.js +0 -0
  667. package/build/mcp/generated/bridge_work_order_seed_file.d.ts +2 -2
  668. package/build/mcp/generated/bridge_work_order_seed_file.js +0 -0
  669. package/build/mcp/generated/briefing_input.d.ts +0 -0
  670. package/build/mcp/generated/briefing_input.js +0 -0
  671. package/build/mcp/generated/briefing_output.d.ts +2 -2
  672. package/build/mcp/generated/briefing_output.js +0 -0
  673. package/build/mcp/generated/clinic_bridge_file.d.ts +0 -0
  674. package/build/mcp/generated/clinic_bridge_file.js +0 -0
  675. package/build/mcp/generated/contracts_bundle_info.d.ts +0 -0
  676. package/build/mcp/generated/contracts_bundle_info.js +0 -0
  677. package/build/mcp/generated/create_work_order_input.d.ts +0 -0
  678. package/build/mcp/generated/create_work_order_input.js +0 -0
  679. package/build/mcp/generated/create_work_order_output.d.ts +20 -20
  680. package/build/mcp/generated/create_work_order_output.js +0 -0
  681. package/build/mcp/generated/current_work_order_file.d.ts +0 -0
  682. package/build/mcp/generated/current_work_order_file.js +0 -0
  683. package/build/mcp/generated/deps_drift_report.d.ts +6 -6
  684. package/build/mcp/generated/deps_drift_report.js +0 -0
  685. package/build/mcp/generated/deps_scan.d.ts +24 -24
  686. package/build/mcp/generated/deps_scan.js +0 -0
  687. package/build/mcp/generated/doctor_input.d.ts +8 -2
  688. package/build/mcp/generated/doctor_input.js +1 -1
  689. package/build/mcp/generated/doctor_output.d.ts +14 -14
  690. package/build/mcp/generated/doctor_output.js +0 -0
  691. package/build/mcp/generated/execution_result.d.ts +12 -12
  692. package/build/mcp/generated/execution_result.js +0 -0
  693. package/build/mcp/generated/execution_task.d.ts +12 -12
  694. package/build/mcp/generated/execution_task.js +0 -0
  695. package/build/mcp/generated/export_output_input.d.ts +1 -1
  696. package/build/mcp/generated/export_output_input.js +0 -0
  697. package/build/mcp/generated/export_output_output.d.ts +6 -6
  698. package/build/mcp/generated/export_output_output.js +0 -0
  699. package/build/mcp/generated/finalize_work_input.d.ts +0 -0
  700. package/build/mcp/generated/finalize_work_input.js +0 -0
  701. package/build/mcp/generated/finalize_work_output.d.ts +0 -0
  702. package/build/mcp/generated/finalize_work_output.js +0 -0
  703. package/build/mcp/generated/gate_input.d.ts +0 -0
  704. package/build/mcp/generated/gate_input.js +0 -0
  705. package/build/mcp/generated/gate_output.d.ts +4 -4
  706. package/build/mcp/generated/gate_output.js +0 -0
  707. package/build/mcp/generated/gate_result_v1.d.ts +4 -4
  708. package/build/mcp/generated/gate_result_v1.js +0 -0
  709. package/build/mcp/generated/get_decision_input.d.ts +0 -0
  710. package/build/mcp/generated/get_decision_input.js +0 -0
  711. package/build/mcp/generated/get_decision_output.d.ts +24 -1
  712. package/build/mcp/generated/get_decision_output.js +45 -7
  713. package/build/mcp/generated/get_semantic_complexity_input.d.ts +0 -0
  714. package/build/mcp/generated/get_semantic_complexity_input.js +0 -0
  715. package/build/mcp/generated/get_semantic_complexity_output.d.ts +2 -2
  716. package/build/mcp/generated/get_semantic_complexity_output.js +0 -0
  717. package/build/mcp/generated/handoff_to_clinic.d.ts +0 -0
  718. package/build/mcp/generated/handoff_to_clinic.js +0 -0
  719. package/build/mcp/generated/index.d.ts +0 -0
  720. package/build/mcp/generated/index.js +0 -0
  721. package/build/mcp/generated/ingress_input.d.ts +0 -0
  722. package/build/mcp/generated/ingress_input.js +0 -0
  723. package/build/mcp/generated/ingress_output.d.ts +2 -2
  724. package/build/mcp/generated/ingress_output.js +0 -0
  725. package/build/mcp/generated/ingress_resolution_file.d.ts +0 -0
  726. package/build/mcp/generated/ingress_resolution_file.js +0 -0
  727. package/build/mcp/generated/ingress_summary_file.d.ts +0 -0
  728. package/build/mcp/generated/ingress_summary_file.js +0 -0
  729. package/build/mcp/generated/inspect_code_input.d.ts +5 -2
  730. package/build/mcp/generated/inspect_code_input.js +1 -1
  731. package/build/mcp/generated/inspect_code_output.d.ts +6 -6
  732. package/build/mcp/generated/inspect_code_output.js +0 -0
  733. package/build/mcp/generated/memory_retrieve_input.d.ts +0 -0
  734. package/build/mcp/generated/memory_retrieve_input.js +0 -0
  735. package/build/mcp/generated/memory_retrieve_output.d.ts +0 -0
  736. package/build/mcp/generated/memory_retrieve_output.js +0 -0
  737. package/build/mcp/generated/memory_state_file.d.ts +0 -0
  738. package/build/mcp/generated/memory_state_file.js +0 -0
  739. package/build/mcp/generated/memory_status_input.d.ts +0 -0
  740. package/build/mcp/generated/memory_status_input.js +0 -0
  741. package/build/mcp/generated/memory_status_output.d.ts +2 -2
  742. package/build/mcp/generated/memory_status_output.js +0 -0
  743. package/build/mcp/generated/memory_sync_input.d.ts +0 -0
  744. package/build/mcp/generated/memory_sync_input.js +0 -0
  745. package/build/mcp/generated/memory_sync_output.d.ts +8 -8
  746. package/build/mcp/generated/memory_sync_output.js +0 -0
  747. package/build/mcp/generated/message_template_id_mapping_file.d.ts +2 -2
  748. package/build/mcp/generated/message_template_id_mapping_file.js +0 -0
  749. package/build/mcp/generated/observer_event_map.d.ts +18 -18
  750. package/build/mcp/generated/observer_event_map.js +0 -0
  751. package/build/mcp/generated/ose_expand_input.d.ts +2 -2
  752. package/build/mcp/generated/ose_expand_input.js +0 -0
  753. package/build/mcp/generated/ose_expand_output.d.ts +0 -0
  754. package/build/mcp/generated/ose_expand_output.js +0 -0
  755. package/build/mcp/generated/oss_candidates_file.d.ts +12 -12
  756. package/build/mcp/generated/oss_candidates_file.js +0 -0
  757. package/build/mcp/generated/oss_decisions_file.d.ts +0 -0
  758. package/build/mcp/generated/oss_decisions_file.js +0 -0
  759. package/build/mcp/generated/oss_snippets_file.d.ts +16 -16
  760. package/build/mcp/generated/oss_snippets_file.js +0 -0
  761. package/build/mcp/generated/plugin_result.d.ts +0 -0
  762. package/build/mcp/generated/plugin_result.js +0 -0
  763. package/build/mcp/generated/react_perf_check_patterns_input.d.ts +2 -2
  764. package/build/mcp/generated/react_perf_check_patterns_input.js +0 -0
  765. package/build/mcp/generated/react_perf_check_patterns_output.d.ts +8 -8
  766. package/build/mcp/generated/react_perf_check_patterns_output.js +0 -0
  767. package/build/mcp/generated/react_perf_generate_report_input.d.ts +0 -0
  768. package/build/mcp/generated/react_perf_generate_report_input.js +0 -0
  769. package/build/mcp/generated/react_perf_generate_report_output.d.ts +6 -6
  770. package/build/mcp/generated/react_perf_generate_report_output.js +0 -0
  771. package/build/mcp/generated/read_file_input.d.ts +0 -0
  772. package/build/mcp/generated/read_file_input.js +0 -0
  773. package/build/mcp/generated/read_file_output.d.ts +8 -8
  774. package/build/mcp/generated/read_file_output.js +0 -0
  775. package/build/mcp/generated/repair_analysis_engine_input.d.ts +0 -0
  776. package/build/mcp/generated/repair_analysis_engine_input.js +0 -0
  777. package/build/mcp/generated/repair_analysis_engine_output.d.ts +2 -2
  778. package/build/mcp/generated/repair_analysis_engine_output.js +0 -0
  779. package/build/mcp/generated/repair_plan_input.d.ts +0 -0
  780. package/build/mcp/generated/repair_plan_input.js +0 -0
  781. package/build/mcp/generated/repair_plan_output.d.ts +2 -2
  782. package/build/mcp/generated/repair_plan_output.js +0 -0
  783. package/build/mcp/generated/run_app_input.d.ts +4 -4
  784. package/build/mcp/generated/run_app_input.js +0 -0
  785. package/build/mcp/generated/run_app_output.d.ts +4 -4
  786. package/build/mcp/generated/run_app_output.js +0 -0
  787. package/build/mcp/generated/run_state_file.d.ts +0 -0
  788. package/build/mcp/generated/run_state_file.js +0 -0
  789. package/build/mcp/generated/scaffold_input.d.ts +2 -2
  790. package/build/mcp/generated/scaffold_input.js +0 -0
  791. package/build/mcp/generated/scaffold_output.d.ts +0 -0
  792. package/build/mcp/generated/scaffold_output.js +0 -0
  793. package/build/mcp/generated/scout_input.d.ts +27 -0
  794. package/build/mcp/generated/scout_input.js +21 -0
  795. package/build/mcp/generated/scout_output.d.ts +33 -0
  796. package/build/mcp/generated/scout_output.js +20 -0
  797. package/build/mcp/generated/search_oss_input.d.ts +2 -2
  798. package/build/mcp/generated/search_oss_input.js +0 -0
  799. package/build/mcp/generated/search_oss_output.d.ts +12 -12
  800. package/build/mcp/generated/search_oss_output.js +0 -0
  801. package/build/mcp/generated/selection_validation_result.d.ts +4 -4
  802. package/build/mcp/generated/selection_validation_result.js +0 -0
  803. package/build/mcp/generated/signal_agent_input.d.ts +0 -0
  804. package/build/mcp/generated/signal_agent_input.js +0 -0
  805. package/build/mcp/generated/skillpack_file.d.ts +18 -18
  806. package/build/mcp/generated/skillpack_file.js +0 -0
  807. package/build/mcp/generated/skills_input.d.ts +2 -2
  808. package/build/mcp/generated/skills_input.js +0 -0
  809. package/build/mcp/generated/skills_output.d.ts +20 -20
  810. package/build/mcp/generated/skills_output.js +0 -0
  811. package/build/mcp/generated/spec_expansion_file.d.ts +12 -12
  812. package/build/mcp/generated/spec_expansion_file.js +0 -0
  813. package/build/mcp/generated/spec_high_ask_queue_items_file.d.ts +35 -35
  814. package/build/mcp/generated/spec_high_ask_queue_items_file.js +0 -0
  815. package/build/mcp/generated/spec_high_clinic_bridge_output.d.ts +0 -0
  816. package/build/mcp/generated/spec_high_clinic_bridge_output.js +0 -0
  817. package/build/mcp/generated/spec_high_decision_draft_output.d.ts +0 -0
  818. package/build/mcp/generated/spec_high_decision_draft_output.js +0 -0
  819. package/build/mcp/generated/spec_high_validate_output.d.ts +2 -2
  820. package/build/mcp/generated/spec_high_validate_output.js +0 -0
  821. package/build/mcp/generated/status_input.d.ts +0 -0
  822. package/build/mcp/generated/status_input.js +0 -0
  823. package/build/mcp/generated/status_output.d.ts +100 -67
  824. package/build/mcp/generated/status_output.js +142 -65
  825. package/build/mcp/generated/submit_decision_input.d.ts +9 -0
  826. package/build/mcp/generated/submit_decision_input.js +1 -1
  827. package/build/mcp/generated/submit_decision_output.d.ts +2 -2
  828. package/build/mcp/generated/submit_decision_output.js +0 -0
  829. package/build/mcp/generated/tool_error_output.d.ts +2 -2
  830. package/build/mcp/generated/tool_error_output.js +0 -0
  831. package/build/mcp/generated/undo_last_task_input.d.ts +0 -0
  832. package/build/mcp/generated/undo_last_task_input.js +0 -0
  833. package/build/mcp/generated/undo_last_task_output.d.ts +0 -0
  834. package/build/mcp/generated/undo_last_task_output.js +0 -0
  835. package/build/mcp/generated/update_input.d.ts +2 -2
  836. package/build/mcp/generated/update_input.js +0 -0
  837. package/build/mcp/generated/update_output.d.ts +8 -8
  838. package/build/mcp/generated/update_output.js +0 -0
  839. package/build/mcp/generated/verification_steps.d.ts +20 -20
  840. package/build/mcp/generated/verification_steps.js +0 -0
  841. package/build/mcp/generated/vibe_pm_inspection_result.d.ts +0 -0
  842. package/build/mcp/generated/vibe_pm_inspection_result.js +0 -0
  843. package/build/mcp/generated/vibe_pm_report_markdown.d.ts +0 -0
  844. package/build/mcp/generated/vibe_pm_report_markdown.js +0 -0
  845. package/build/mcp/generated/vibe_pm_verdict.d.ts +2 -2
  846. package/build/mcp/generated/vibe_pm_verdict.js +0 -0
  847. package/build/mcp/generated/vibe_repo_config.d.ts +22 -22
  848. package/build/mcp/generated/vibe_repo_config.js +0 -0
  849. package/build/mcp/generated/vibecoding_helper_answer_output.d.ts +0 -0
  850. package/build/mcp/generated/vibecoding_helper_answer_output.js +0 -0
  851. package/build/mcp/generated/vibecoding_helper_one_loop_selection_output.d.ts +10 -10
  852. package/build/mcp/generated/vibecoding_helper_one_loop_selection_output.js +0 -0
  853. package/build/mcp/generated/vibecoding_helper_show_ask_queue_output.d.ts +8 -8
  854. package/build/mcp/generated/vibecoding_helper_show_ask_queue_output.js +0 -0
  855. package/build/mcp/generated/work_order_v1.d.ts +0 -0
  856. package/build/mcp/generated/work_order_v1.js +0 -0
  857. package/build/mcp/generated/zoekt_evidence_input.d.ts +0 -0
  858. package/build/mcp/generated/zoekt_evidence_input.js +0 -0
  859. package/build/mcp/generated/zoekt_evidence_output.d.ts +2 -2
  860. package/build/mcp/generated/zoekt_evidence_output.js +0 -0
  861. package/build/mcp/hive-bridge/client.d.ts +19 -0
  862. package/build/mcp/hive-bridge/client.js +40 -0
  863. package/build/mcp/hive-bridge/index.d.ts +9 -0
  864. package/build/mcp/hive-bridge/index.js +9 -0
  865. package/build/mcp/hive-bridge/tools/file_list.d.ts +31 -0
  866. package/build/mcp/hive-bridge/tools/file_list.js +35 -0
  867. package/build/mcp/hive-bridge/tools/file_read.d.ts +31 -0
  868. package/build/mcp/hive-bridge/tools/file_read.js +35 -0
  869. package/build/mcp/hive-bridge/tools/index.d.ts +13 -0
  870. package/build/mcp/hive-bridge/tools/index.js +15 -0
  871. package/build/mcp/hive-bridge/tools/nodes.d.ts +19 -0
  872. package/build/mcp/hive-bridge/tools/nodes.js +30 -0
  873. package/build/mcp/hive-bridge/tools/run_command.d.ts +36 -0
  874. package/build/mcp/hive-bridge/tools/run_command.js +39 -0
  875. package/build/mcp/hive-bridge/tools/submit_job.d.ts +36 -0
  876. package/build/mcp/hive-bridge/tools/submit_job.js +40 -0
  877. package/build/mcp/index.d.ts +0 -0
  878. package/build/mcp/index.js +118 -55
  879. package/build/mcp/legacy_alias.d.ts +0 -0
  880. package/build/mcp/legacy_alias.js +0 -0
  881. package/build/mcp/mcp-logger.d.ts +13 -0
  882. package/build/mcp/mcp-logger.js +18 -0
  883. package/build/mcp/metrics/collector.d.ts +27 -0
  884. package/build/mcp/metrics/collector.js +19 -3
  885. package/build/mcp/metrics/index.d.ts +2 -1
  886. package/build/mcp/metrics/index.js +1 -1
  887. package/build/mcp/metrics/server.d.ts +0 -0
  888. package/build/mcp/metrics/server.js +8 -1
  889. package/build/mcp/metrics/types.d.ts +0 -0
  890. package/build/mcp/metrics/types.js +0 -0
  891. package/build/mcp/musu-bridge/client.d.ts +13 -0
  892. package/build/mcp/musu-bridge/client.js +53 -0
  893. package/build/mcp/musu-bridge/index.d.ts +9 -0
  894. package/build/mcp/musu-bridge/index.js +9 -0
  895. package/build/mcp/musu-bridge/tools/dispatch.d.ts +36 -0
  896. package/build/mcp/musu-bridge/tools/dispatch.js +38 -0
  897. package/build/mcp/musu-bridge/tools/fleet.d.ts +26 -0
  898. package/build/mcp/musu-bridge/tools/fleet.js +27 -0
  899. package/build/mcp/musu-bridge/tools/gateway.d.ts +19 -0
  900. package/build/mcp/musu-bridge/tools/gateway.js +21 -0
  901. package/build/mcp/musu-bridge/tools/index.d.ts +14 -0
  902. package/build/mcp/musu-bridge/tools/index.js +17 -0
  903. package/build/mcp/musu-bridge/tools/knowledge.d.ts +31 -0
  904. package/build/mcp/musu-bridge/tools/knowledge.js +33 -0
  905. package/build/mcp/musu-bridge/tools/run.d.ts +31 -0
  906. package/build/mcp/musu-bridge/tools/run.js +33 -0
  907. package/build/mcp/musu-bridge/tools/status.d.ts +19 -0
  908. package/build/mcp/musu-bridge/tools/status.js +21 -0
  909. package/build/mcp/packs/catalog.d.ts +23 -0
  910. package/build/mcp/packs/catalog.js +115 -0
  911. package/build/mcp/packs/index.d.ts +2 -0
  912. package/build/mcp/packs/index.js +2 -0
  913. package/build/mcp/packs/resolver.d.ts +9 -0
  914. package/build/mcp/packs/resolver.js +38 -0
  915. package/build/mcp/path-utils.d.ts +0 -0
  916. package/build/mcp/path-utils.js +0 -0
  917. package/build/mcp/policy/context.d.ts +7 -0
  918. package/build/mcp/policy/context.js +8 -0
  919. package/build/mcp/policy/index.d.ts +0 -0
  920. package/build/mcp/policy/index.js +0 -0
  921. package/build/mcp/policy/loader.d.ts +0 -0
  922. package/build/mcp/policy/loader.js +0 -0
  923. package/build/mcp/policy/requirements.d.ts +16 -0
  924. package/build/mcp/policy/requirements.js +19 -0
  925. package/build/mcp/policy/schema.d.ts +70 -70
  926. package/build/mcp/policy/schema.js +0 -0
  927. package/build/mcp/policy/unified.d.ts +14 -0
  928. package/build/mcp/policy/unified.js +148 -0
  929. package/build/mcp/preprocess.d.ts +0 -0
  930. package/build/mcp/preprocess.js +0 -0
  931. package/build/mcp/profile-config.d.ts +19 -4
  932. package/build/mcp/profile-config.js +115 -57
  933. package/build/mcp/progress.d.ts +14 -0
  934. package/build/mcp/progress.js +39 -0
  935. package/build/mcp/prompts/agent_personas.d.ts +9 -0
  936. package/build/mcp/prompts/agent_personas.js +140 -0
  937. package/build/mcp/prompts/prime_persona.d.ts +11 -0
  938. package/build/mcp/prompts/prime_persona.js +92 -0
  939. package/build/mcp/prompts/vibe.d.ts +2 -0
  940. package/build/mcp/prompts/vibe.js +62 -0
  941. package/build/mcp/recipe/catalog.d.ts +3 -0
  942. package/build/mcp/recipe/catalog.js +30 -0
  943. package/build/mcp/recipe/index.d.ts +4 -0
  944. package/build/mcp/recipe/index.js +3 -0
  945. package/build/mcp/recipe/renderer.d.ts +2 -0
  946. package/build/mcp/recipe/renderer.js +138 -0
  947. package/build/mcp/recipe/types.d.ts +98 -0
  948. package/build/mcp/recipe/types.js +42 -0
  949. package/build/mcp/resources/vibe.d.ts +2 -0
  950. package/build/mcp/resources/vibe.js +104 -0
  951. package/build/mcp/router/artifacts.d.ts +2 -2
  952. package/build/mcp/router/artifacts.js +11 -11
  953. package/build/mcp/router/decide.d.ts +0 -0
  954. package/build/mcp/router/decide.js +0 -0
  955. package/build/mcp/router/index.d.ts +0 -0
  956. package/build/mcp/router/index.js +0 -0
  957. package/build/mcp/router/rules.d.ts +2 -2
  958. package/build/mcp/router/rules.js +7 -7
  959. package/build/mcp/router/types.d.ts +0 -0
  960. package/build/mcp/router/types.js +0 -0
  961. package/build/mcp/run-retention.d.ts +0 -0
  962. package/build/mcp/run-retention.js +10 -10
  963. package/build/mcp/runtime/engine_http_client.d.ts +20 -0
  964. package/build/mcp/runtime/engine_http_client.js +66 -0
  965. package/build/mcp/runtime/helper_commands.d.ts +0 -0
  966. package/build/mcp/runtime/helper_commands.js +0 -0
  967. package/build/mcp/runtime/helper_invoker.d.ts +1 -1
  968. package/build/mcp/runtime/helper_invoker.js +168 -14
  969. package/build/mcp/runtime/helper_resolver.d.ts +10 -1
  970. package/build/mcp/runtime/helper_resolver.js +64 -16
  971. package/build/mcp/runtime/index.d.ts +3 -1
  972. package/build/mcp/runtime/index.js +3 -1
  973. package/build/mcp/runtime/vpm_back_client.d.ts +53 -0
  974. package/build/mcp/runtime/vpm_back_client.js +34 -0
  975. package/build/mcp/security/input-validator.d.ts +0 -0
  976. package/build/mcp/security/input-validator.js +0 -0
  977. package/build/mcp/security/path-policy.d.ts +0 -0
  978. package/build/mcp/security/path-policy.js +0 -0
  979. package/build/mcp/security/sandbox.d.ts +9 -6
  980. package/build/mcp/security/sandbox.js +72 -101
  981. package/build/mcp/skills/deps.d.ts +11 -0
  982. package/build/mcp/skills/deps.js +21 -0
  983. package/build/mcp/skills/lazy.d.ts +14 -0
  984. package/build/mcp/skills/lazy.js +48 -0
  985. package/build/mcp/tool-handler-registry.d.ts +28 -0
  986. package/build/mcp/tool-handler-registry.js +36 -0
  987. package/build/mcp/tool-registry.d.ts +4 -1
  988. package/build/mcp/tool-registry.js +342 -44
  989. package/build/mcp/tools/agents.d.ts +173 -0
  990. package/build/mcp/tools/agents.js +303 -0
  991. package/build/mcp/tools/bitnet/api.d.ts +166 -0
  992. package/build/mcp/tools/bitnet/api.js +519 -0
  993. package/build/mcp/tools/bitnet/context.d.ts +4 -0
  994. package/build/mcp/tools/bitnet/context.js +62 -0
  995. package/build/mcp/tools/bitnet/git.d.ts +1 -0
  996. package/build/mcp/tools/bitnet/git.js +10 -0
  997. package/build/mcp/tools/bitnet/index.d.ts +10 -491
  998. package/build/mcp/tools/bitnet/index.js +11 -746
  999. package/build/mcp/tools/bitnet/rules.d.ts +4 -0
  1000. package/build/mcp/tools/bitnet/rules.js +175 -0
  1001. package/build/mcp/tools/bitnet/schemas.d.ts +450 -0
  1002. package/build/mcp/tools/bitnet/schemas.js +147 -0
  1003. package/build/mcp/tools/bitnet/scout_diagnosis.d.ts +34 -0
  1004. package/build/mcp/tools/bitnet/scout_diagnosis.js +82 -0
  1005. package/build/mcp/tools/bitnet/trace_store.d.ts +9 -0
  1006. package/build/mcp/tools/bitnet/trace_store.js +91 -0
  1007. package/build/mcp/tools/bitnet/types.d.ts +44 -0
  1008. package/build/mcp/tools/bitnet/types.js +15 -0
  1009. package/build/mcp/tools/shared/boundary_errors.d.ts +33 -0
  1010. package/build/mcp/tools/shared/boundary_errors.js +41 -0
  1011. package/build/mcp/tools/shared/tier_facade.d.ts +55 -0
  1012. package/build/mcp/tools/shared/tier_facade.js +91 -0
  1013. package/build/mcp/tools/templates/apply.d.ts +122 -0
  1014. package/build/mcp/tools/templates/apply.js +173 -0
  1015. package/build/mcp/tools/templates/catalog.d.ts +12 -0
  1016. package/build/mcp/tools/templates/catalog.js +132 -0
  1017. package/build/mcp/tools/templates/detail.d.ts +51 -0
  1018. package/build/mcp/tools/templates/detail.js +58 -0
  1019. package/build/mcp/tools/templates/helpers.d.ts +52 -0
  1020. package/build/mcp/tools/templates/helpers.js +247 -0
  1021. package/build/mcp/tools/templates/index.d.ts +15 -0
  1022. package/build/mcp/tools/templates/index.js +15 -0
  1023. package/build/mcp/tools/templates/list.d.ts +41 -0
  1024. package/build/mcp/tools/templates/list.js +69 -0
  1025. package/build/mcp/tools/templates/run_maintenance.d.ts +68 -0
  1026. package/build/mcp/tools/templates/run_maintenance.js +120 -0
  1027. package/build/mcp/tools/templates/run_recover.d.ts +87 -0
  1028. package/build/mcp/tools/templates/run_recover.js +261 -0
  1029. package/build/mcp/tools/templates/run_start.d.ts +144 -0
  1030. package/build/mcp/tools/templates/run_start.js +140 -0
  1031. package/build/mcp/tools/templates/run_status.d.ts +103 -0
  1032. package/build/mcp/tools/templates/run_status.js +120 -0
  1033. package/build/mcp/tools/templates/screenshot.d.ts +10 -0
  1034. package/build/mcp/tools/templates/screenshot.js +104 -0
  1035. package/build/mcp/tools/templates/types.d.ts +163 -0
  1036. package/build/mcp/tools/templates/types.js +5 -0
  1037. package/build/mcp/tools/templates/validate.d.ts +5 -0
  1038. package/build/mcp/tools/templates/validate.js +82 -0
  1039. package/build/mcp/tools/templates/validate_tool.d.ts +49 -0
  1040. package/build/mcp/tools/templates/validate_tool.js +77 -0
  1041. package/build/mcp/tools/vibe_pm/agent.d.ts +60 -0
  1042. package/build/mcp/tools/vibe_pm/agent.js +973 -0
  1043. package/build/mcp/tools/vibe_pm/ask-queue/index.d.ts +0 -0
  1044. package/build/mcp/tools/vibe_pm/ask-queue/index.js +0 -0
  1045. package/build/mcp/tools/vibe_pm/ask-queue/loader.d.ts +0 -0
  1046. package/build/mcp/tools/vibe_pm/ask-queue/loader.js +0 -0
  1047. package/build/mcp/tools/vibe_pm/ask-queue/transformer.d.ts +0 -0
  1048. package/build/mcp/tools/vibe_pm/ask-queue/transformer.js +0 -0
  1049. package/build/mcp/tools/vibe_pm/ask-queue/types.d.ts +0 -0
  1050. package/build/mcp/tools/vibe_pm/ask-queue/types.js +0 -0
  1051. package/build/mcp/tools/vibe_pm/auto-init.d.ts +0 -0
  1052. package/build/mcp/tools/vibe_pm/auto-init.js +2 -1
  1053. package/build/mcp/tools/vibe_pm/autopilot.d.ts +13 -2
  1054. package/build/mcp/tools/vibe_pm/autopilot.js +72 -13
  1055. package/build/mcp/tools/vibe_pm/bitnet-cache.d.ts +6 -7
  1056. package/build/mcp/tools/vibe_pm/bitnet-cache.js +37 -37
  1057. package/build/mcp/tools/vibe_pm/bitnet-ensure.d.ts +0 -0
  1058. package/build/mcp/tools/vibe_pm/bitnet-ensure.js +0 -0
  1059. package/build/mcp/tools/vibe_pm/bitnet-hook-consumer.d.ts +0 -0
  1060. package/build/mcp/tools/vibe_pm/bitnet-hook-consumer.js +4 -3
  1061. package/build/mcp/tools/vibe_pm/bitnet-runner.d.ts +0 -0
  1062. package/build/mcp/tools/vibe_pm/bitnet-runner.js +2 -5
  1063. package/build/mcp/tools/vibe_pm/block_events.d.ts +37 -0
  1064. package/build/mcp/tools/vibe_pm/block_events.js +86 -0
  1065. package/build/mcp/tools/vibe_pm/block_search.d.ts +36 -0
  1066. package/build/mcp/tools/vibe_pm/block_search.js +79 -0
  1067. package/build/mcp/tools/vibe_pm/block_snapshot.d.ts +43 -0
  1068. package/build/mcp/tools/vibe_pm/block_snapshot.js +167 -0
  1069. package/build/mcp/tools/vibe_pm/branch_pivot.d.ts +19 -0
  1070. package/build/mcp/tools/vibe_pm/branch_pivot.js +85 -0
  1071. package/build/mcp/tools/vibe_pm/briefing.d.ts +4 -2
  1072. package/build/mcp/tools/vibe_pm/briefing.js +56 -33
  1073. package/build/mcp/tools/vibe_pm/check_dormant.d.ts +13 -0
  1074. package/build/mcp/tools/vibe_pm/check_dormant.js +67 -0
  1075. package/build/mcp/tools/vibe_pm/check_resources.d.ts +10 -0
  1076. package/build/mcp/tools/vibe_pm/check_resources.js +30 -0
  1077. package/build/mcp/tools/vibe_pm/context.d.ts +1 -1
  1078. package/build/mcp/tools/vibe_pm/context.js +60 -60
  1079. package/build/mcp/tools/vibe_pm/create_work_order.d.ts +2 -2
  1080. package/build/mcp/tools/vibe_pm/create_work_order.js +120 -69
  1081. package/build/mcp/tools/vibe_pm/dashboard.d.ts +0 -0
  1082. package/build/mcp/tools/vibe_pm/dashboard.js +4 -4
  1083. package/build/mcp/tools/vibe_pm/decision-history.d.ts +30 -0
  1084. package/build/mcp/tools/vibe_pm/decision-history.js +58 -0
  1085. package/build/mcp/tools/vibe_pm/decision-log.d.ts +0 -0
  1086. package/build/mcp/tools/vibe_pm/decision-log.js +0 -0
  1087. package/build/mcp/tools/vibe_pm/diagrams/animator.d.ts +0 -0
  1088. package/build/mcp/tools/vibe_pm/diagrams/animator.js +0 -0
  1089. package/build/mcp/tools/vibe_pm/diagrams/annotations.d.ts +6 -0
  1090. package/build/mcp/tools/vibe_pm/diagrams/annotations.js +102 -0
  1091. package/build/mcp/tools/vibe_pm/diagrams/constants.d.ts +0 -0
  1092. package/build/mcp/tools/vibe_pm/diagrams/constants.js +66 -66
  1093. package/build/mcp/tools/vibe_pm/diagrams/gate_engine.d.ts +0 -0
  1094. package/build/mcp/tools/vibe_pm/diagrams/gate_engine.js +0 -0
  1095. package/build/mcp/tools/vibe_pm/diagrams/generator.d.ts +8 -4
  1096. package/build/mcp/tools/vibe_pm/diagrams/generator.js +53 -51
  1097. package/build/mcp/tools/vibe_pm/diagrams/index.d.ts +0 -0
  1098. package/build/mcp/tools/vibe_pm/diagrams/index.js +0 -0
  1099. package/build/mcp/tools/vibe_pm/diagrams/manifest.d.ts +5 -2
  1100. package/build/mcp/tools/vibe_pm/diagrams/manifest.js +32 -22
  1101. package/build/mcp/tools/vibe_pm/diagrams/mermaid_generator.d.ts +0 -0
  1102. package/build/mcp/tools/vibe_pm/diagrams/mermaid_generator.js +0 -0
  1103. package/build/mcp/tools/vibe_pm/diagrams/renderer.d.ts +6 -2
  1104. package/build/mcp/tools/vibe_pm/diagrams/renderer.js +127 -16
  1105. package/build/mcp/tools/vibe_pm/diagrams/types.d.ts +35 -9
  1106. package/build/mcp/tools/vibe_pm/diagrams/types.js +0 -0
  1107. package/build/mcp/tools/vibe_pm/diagrams/unified_verdict.d.ts +24 -0
  1108. package/build/mcp/tools/vibe_pm/diagrams/unified_verdict.js +61 -0
  1109. package/build/mcp/tools/vibe_pm/dirty-scan.d.ts +0 -0
  1110. package/build/mcp/tools/vibe_pm/dirty-scan.js +0 -0
  1111. package/build/mcp/tools/vibe_pm/docs_structure.d.ts +3 -3
  1112. package/build/mcp/tools/vibe_pm/docs_structure.js +22 -20
  1113. package/build/mcp/tools/vibe_pm/doctor.d.ts +26 -2
  1114. package/build/mcp/tools/vibe_pm/doctor.js +290 -28
  1115. package/build/mcp/tools/vibe_pm/engine-errors/index.d.ts +0 -0
  1116. package/build/mcp/tools/vibe_pm/engine-errors/index.js +0 -0
  1117. package/build/mcp/tools/vibe_pm/engine-errors/normalizer.d.ts +0 -0
  1118. package/build/mcp/tools/vibe_pm/engine-errors/normalizer.js +0 -0
  1119. package/build/mcp/tools/vibe_pm/engine-errors/patterns.d.ts +0 -0
  1120. package/build/mcp/tools/vibe_pm/engine-errors/patterns.js +0 -0
  1121. package/build/mcp/tools/vibe_pm/engine-errors/types.d.ts +0 -0
  1122. package/build/mcp/tools/vibe_pm/engine-errors/types.js +0 -0
  1123. package/build/mcp/tools/vibe_pm/facts/collector.d.ts +1 -1
  1124. package/build/mcp/tools/vibe_pm/facts/collector.js +56 -56
  1125. package/build/mcp/tools/vibe_pm/facts/index.d.ts +0 -0
  1126. package/build/mcp/tools/vibe_pm/facts/index.js +0 -0
  1127. package/build/mcp/tools/vibe_pm/facts/types.d.ts +0 -0
  1128. package/build/mcp/tools/vibe_pm/facts/types.js +0 -0
  1129. package/build/mcp/tools/vibe_pm/failure/classifier.d.ts +0 -0
  1130. package/build/mcp/tools/vibe_pm/failure/classifier.js +0 -0
  1131. package/build/mcp/tools/vibe_pm/failure/index.d.ts +0 -0
  1132. package/build/mcp/tools/vibe_pm/failure/index.js +0 -0
  1133. package/build/mcp/tools/vibe_pm/failure/loop_diagnose.d.ts +0 -0
  1134. package/build/mcp/tools/vibe_pm/failure/loop_diagnose.js +0 -0
  1135. package/build/mcp/tools/vibe_pm/failure/tracker.d.ts +0 -0
  1136. package/build/mcp/tools/vibe_pm/failure/tracker.js +0 -0
  1137. package/build/mcp/tools/vibe_pm/failure/types.d.ts +0 -0
  1138. package/build/mcp/tools/vibe_pm/failure/types.js +0 -0
  1139. package/build/mcp/tools/vibe_pm/feature-flags.d.ts +0 -0
  1140. package/build/mcp/tools/vibe_pm/feature-flags.js +0 -0
  1141. package/build/mcp/tools/vibe_pm/finalize_work.d.ts +19 -0
  1142. package/build/mcp/tools/vibe_pm/finalize_work.js +78 -0
  1143. package/build/mcp/tools/vibe_pm/flow_policy.d.ts +0 -0
  1144. package/build/mcp/tools/vibe_pm/flow_policy.js +2 -0
  1145. package/build/mcp/tools/vibe_pm/get_decision.d.ts +0 -0
  1146. package/build/mcp/tools/vibe_pm/get_decision.js +2 -1
  1147. package/build/mcp/tools/vibe_pm/get_result.d.ts +0 -0
  1148. package/build/mcp/tools/vibe_pm/get_result.js +0 -0
  1149. package/build/mcp/tools/vibe_pm/human_tools.d.ts +51 -0
  1150. package/build/mcp/tools/vibe_pm/human_tools.js +280 -0
  1151. package/build/mcp/tools/vibe_pm/index.d.ts +690 -245
  1152. package/build/mcp/tools/vibe_pm/index.js +438 -728
  1153. package/build/mcp/tools/vibe_pm/ingress.d.ts +4 -4
  1154. package/build/mcp/tools/vibe_pm/ingress.js +73 -97
  1155. package/build/mcp/tools/vibe_pm/init_docs.d.ts +0 -0
  1156. package/build/mcp/tools/vibe_pm/init_docs.js +2 -2
  1157. package/build/mcp/tools/vibe_pm/inspect_code/cockpit.d.ts +12 -0
  1158. package/build/mcp/tools/vibe_pm/inspect_code/cockpit.js +88 -0
  1159. package/build/mcp/tools/vibe_pm/inspect_code/core.d.ts +16 -0
  1160. package/build/mcp/tools/vibe_pm/inspect_code/core.js +621 -0
  1161. package/build/mcp/tools/vibe_pm/inspect_code/helpers.d.ts +23 -0
  1162. package/build/mcp/tools/vibe_pm/inspect_code/helpers.js +146 -0
  1163. package/build/mcp/tools/vibe_pm/inspect_code/index.d.ts +4 -0
  1164. package/build/mcp/tools/vibe_pm/inspect_code/index.js +4 -0
  1165. package/build/mcp/tools/vibe_pm/inspect_code/tier.d.ts +38 -0
  1166. package/build/mcp/tools/vibe_pm/inspect_code/tier.js +100 -0
  1167. package/build/mcp/tools/vibe_pm/inspect_code/types.d.ts +30 -0
  1168. package/build/mcp/tools/vibe_pm/inspect_code/types.js +4 -0
  1169. package/build/mcp/tools/vibe_pm/intent_parser.d.ts +50 -0
  1170. package/build/mcp/tools/vibe_pm/intent_parser.js +131 -0
  1171. package/build/mcp/tools/vibe_pm/intent_status.d.ts +45 -0
  1172. package/build/mcp/tools/vibe_pm/intent_status.js +64 -0
  1173. package/build/mcp/tools/vibe_pm/knowledge_search.d.ts +22 -0
  1174. package/build/mcp/tools/vibe_pm/knowledge_search.js +51 -0
  1175. package/build/mcp/tools/vibe_pm/mapping/change_map.d.ts +0 -0
  1176. package/build/mcp/tools/vibe_pm/mapping/change_map.js +0 -0
  1177. package/build/mcp/tools/vibe_pm/mapping/diff_scan.d.ts +0 -0
  1178. package/build/mcp/tools/vibe_pm/mapping/diff_scan.js +0 -0
  1179. package/build/mcp/tools/vibe_pm/mapping/gate_judge.d.ts +0 -0
  1180. package/build/mcp/tools/vibe_pm/mapping/gate_judge.js +0 -0
  1181. package/build/mcp/tools/vibe_pm/mapping/import_scan.d.ts +0 -0
  1182. package/build/mcp/tools/vibe_pm/mapping/import_scan.js +0 -0
  1183. package/build/mcp/tools/vibe_pm/mapping/index.d.ts +1 -1
  1184. package/build/mcp/tools/vibe_pm/mapping/index.js +1 -1
  1185. package/build/mcp/tools/vibe_pm/mapping/orchestrator.d.ts +20 -7
  1186. package/build/mcp/tools/vibe_pm/mapping/orchestrator.js +208 -61
  1187. package/build/mcp/tools/vibe_pm/mapping/rebinder/evidence_collector.d.ts +35 -0
  1188. package/build/mcp/tools/vibe_pm/mapping/rebinder/evidence_collector.js +214 -0
  1189. package/build/mcp/tools/vibe_pm/mapping/rebinder/index.d.ts +10 -0
  1190. package/build/mcp/tools/vibe_pm/mapping/rebinder/index.js +9 -0
  1191. package/build/mcp/tools/vibe_pm/mapping/rebinder/pattern_detector.d.ts +38 -0
  1192. package/build/mcp/tools/vibe_pm/mapping/rebinder/pattern_detector.js +226 -0
  1193. package/build/mcp/tools/vibe_pm/mapping/rebinder/proposal_builder.d.ts +20 -0
  1194. package/build/mcp/tools/vibe_pm/mapping/rebinder/proposal_builder.js +246 -0
  1195. package/build/mcp/tools/vibe_pm/mapping/rebinder/rebinder.d.ts +24 -0
  1196. package/build/mcp/tools/vibe_pm/mapping/rebinder/rebinder.js +65 -0
  1197. package/build/mcp/tools/vibe_pm/mapping/rebinder/rebinder_types.d.ts +113 -0
  1198. package/build/mcp/tools/vibe_pm/mapping/rebinder/rebinder_types.js +15 -0
  1199. package/build/mcp/tools/vibe_pm/mapping/skeleton_patch.d.ts +0 -0
  1200. package/build/mcp/tools/vibe_pm/mapping/skeleton_patch.js +0 -0
  1201. package/build/mcp/tools/vibe_pm/mapping/spec_map.d.ts +1 -1
  1202. package/build/mcp/tools/vibe_pm/mapping/spec_map.js +10 -10
  1203. package/build/mcp/tools/vibe_pm/mapping/types.d.ts +0 -0
  1204. package/build/mcp/tools/vibe_pm/mapping/types.js +0 -0
  1205. package/build/mcp/tools/vibe_pm/memory.d.ts +2 -2
  1206. package/build/mcp/tools/vibe_pm/memory.js +0 -0
  1207. package/build/mcp/tools/vibe_pm/memory_backend.d.ts +6 -5
  1208. package/build/mcp/tools/vibe_pm/memory_backend.js +62 -34
  1209. package/build/mcp/tools/vibe_pm/memory_docs_root.d.ts +0 -0
  1210. package/build/mcp/tools/vibe_pm/memory_docs_root.js +0 -0
  1211. package/build/mcp/tools/vibe_pm/memory_index.d.ts +0 -0
  1212. package/build/mcp/tools/vibe_pm/memory_index.js +0 -0
  1213. package/build/mcp/tools/vibe_pm/memory_index_embeddings.d.ts +0 -0
  1214. package/build/mcp/tools/vibe_pm/memory_index_embeddings.js +0 -0
  1215. package/build/mcp/tools/vibe_pm/memory_index_hashvec.d.ts +0 -0
  1216. package/build/mcp/tools/vibe_pm/memory_index_hashvec.js +0 -0
  1217. package/build/mcp/tools/vibe_pm/memory_index_lancedb.d.ts +38 -0
  1218. package/build/mcp/tools/vibe_pm/memory_index_lancedb.js +125 -0
  1219. package/build/mcp/tools/vibe_pm/memory_rerank.d.ts +0 -0
  1220. package/build/mcp/tools/vibe_pm/memory_rerank.js +0 -0
  1221. package/build/mcp/tools/vibe_pm/memory_retrieve.d.ts +3 -3
  1222. package/build/mcp/tools/vibe_pm/memory_retrieve.js +60 -44
  1223. package/build/mcp/tools/vibe_pm/memory_status.d.ts +2 -2
  1224. package/build/mcp/tools/vibe_pm/memory_status.js +39 -31
  1225. package/build/mcp/tools/vibe_pm/memory_sync.d.ts +2 -2
  1226. package/build/mcp/tools/vibe_pm/memory_sync.js +64 -40
  1227. package/build/mcp/tools/vibe_pm/modules/fix_dependencies.d.ts +0 -0
  1228. package/build/mcp/tools/vibe_pm/modules/fix_dependencies.js +0 -0
  1229. package/build/mcp/tools/vibe_pm/modules/fix_imports.d.ts +1 -1
  1230. package/build/mcp/tools/vibe_pm/modules/fix_imports.js +80 -81
  1231. package/build/mcp/tools/vibe_pm/modules/fix_lint.d.ts +0 -0
  1232. package/build/mcp/tools/vibe_pm/modules/fix_lint.js +0 -0
  1233. package/build/mcp/tools/vibe_pm/modules/one_loop.d.ts +0 -0
  1234. package/build/mcp/tools/vibe_pm/modules/one_loop.js +0 -0
  1235. package/build/mcp/tools/vibe_pm/navigation/index.d.ts +0 -0
  1236. package/build/mcp/tools/vibe_pm/navigation/index.js +0 -0
  1237. package/build/mcp/tools/vibe_pm/navigation/resolver.d.ts +0 -0
  1238. package/build/mcp/tools/vibe_pm/navigation/resolver.js +0 -0
  1239. package/build/mcp/tools/vibe_pm/navigation/rules.d.ts +0 -0
  1240. package/build/mcp/tools/vibe_pm/navigation/rules.js +0 -0
  1241. package/build/mcp/tools/vibe_pm/navigation/types.d.ts +0 -0
  1242. package/build/mcp/tools/vibe_pm/navigation/types.js +0 -0
  1243. package/build/mcp/tools/vibe_pm/nudge.d.ts +31 -0
  1244. package/build/mcp/tools/vibe_pm/nudge.js +163 -0
  1245. package/build/mcp/tools/vibe_pm/observer.d.ts +22 -9
  1246. package/build/mcp/tools/vibe_pm/observer.js +161 -48
  1247. package/build/mcp/tools/vibe_pm/phase.d.ts +2 -2
  1248. package/build/mcp/tools/vibe_pm/phase.js +69 -63
  1249. package/build/mcp/tools/vibe_pm/pm_language.d.ts +0 -0
  1250. package/build/mcp/tools/vibe_pm/pm_language.js +0 -0
  1251. package/build/mcp/tools/vibe_pm/policy/config.d.ts +0 -0
  1252. package/build/mcp/tools/vibe_pm/policy/config.js +0 -0
  1253. package/build/mcp/tools/vibe_pm/policy/index.d.ts +0 -0
  1254. package/build/mcp/tools/vibe_pm/policy/index.js +0 -0
  1255. package/build/mcp/tools/vibe_pm/policy/recommender.d.ts +0 -0
  1256. package/build/mcp/tools/vibe_pm/policy/recommender.js +0 -0
  1257. package/build/mcp/tools/vibe_pm/policy/types.d.ts +0 -0
  1258. package/build/mcp/tools/vibe_pm/policy/types.js +0 -0
  1259. package/build/mcp/tools/vibe_pm/prime_tools.d.ts +160 -0
  1260. package/build/mcp/tools/vibe_pm/prime_tools.js +381 -0
  1261. package/build/mcp/tools/vibe_pm/ralph-loop-tools.d.ts +3 -1
  1262. package/build/mcp/tools/vibe_pm/ralph-loop-tools.js +3 -3
  1263. package/build/mcp/tools/vibe_pm/reexports.d.ts +27 -0
  1264. package/build/mcp/tools/vibe_pm/reexports.js +14 -0
  1265. package/build/mcp/tools/vibe_pm/repair_plan.d.ts +13 -0
  1266. package/build/mcp/tools/vibe_pm/repair_plan.js +67 -0
  1267. package/build/mcp/tools/vibe_pm/scaffold.d.ts +6 -6
  1268. package/build/mcp/tools/vibe_pm/scaffold.js +0 -0
  1269. package/build/mcp/tools/vibe_pm/schema-adapter.d.ts +0 -0
  1270. package/build/mcp/tools/vibe_pm/schema-adapter.js +0 -0
  1271. package/build/mcp/tools/vibe_pm/scorecard/index.d.ts +0 -0
  1272. package/build/mcp/tools/vibe_pm/scorecard/index.js +0 -0
  1273. package/build/mcp/tools/vibe_pm/scorecard/types.d.ts +0 -0
  1274. package/build/mcp/tools/vibe_pm/scorecard/types.js +0 -0
  1275. package/build/mcp/tools/vibe_pm/scorecard/writer.d.ts +0 -0
  1276. package/build/mcp/tools/vibe_pm/scorecard/writer.js +2 -1
  1277. package/build/mcp/tools/vibe_pm/scout.d.ts +23 -0
  1278. package/build/mcp/tools/vibe_pm/scout.js +224 -0
  1279. package/build/mcp/tools/vibe_pm/setup.d.ts +3 -0
  1280. package/build/mcp/tools/vibe_pm/setup.js +184 -34
  1281. package/build/mcp/tools/vibe_pm/signals/index.d.ts +0 -0
  1282. package/build/mcp/tools/vibe_pm/signals/index.js +0 -0
  1283. package/build/mcp/tools/vibe_pm/signals/logger.d.ts +0 -0
  1284. package/build/mcp/tools/vibe_pm/signals/logger.js +2 -1
  1285. package/build/mcp/tools/vibe_pm/signals/rotation.d.ts +0 -0
  1286. package/build/mcp/tools/vibe_pm/signals/rotation.js +3 -2
  1287. package/build/mcp/tools/vibe_pm/signals/types.d.ts +1 -1
  1288. package/build/mcp/tools/vibe_pm/signals/types.js +2 -0
  1289. package/build/mcp/tools/vibe_pm/skills_tool.d.ts +13 -0
  1290. package/build/mcp/tools/vibe_pm/skills_tool.js +57 -0
  1291. package/build/mcp/tools/vibe_pm/stage-computer.d.ts +40 -0
  1292. package/build/mcp/tools/vibe_pm/stage-computer.js +246 -0
  1293. package/build/mcp/tools/vibe_pm/state-guesser.d.ts +0 -0
  1294. package/build/mcp/tools/vibe_pm/state-guesser.js +0 -0
  1295. package/build/mcp/tools/vibe_pm/state-schema.d.ts +114 -5
  1296. package/build/mcp/tools/vibe_pm/state-schema.js +40 -0
  1297. package/build/mcp/tools/vibe_pm/state-store.d.ts +4 -1
  1298. package/build/mcp/tools/vibe_pm/state-store.js +41 -3
  1299. package/build/mcp/tools/vibe_pm/status.d.ts +1 -1
  1300. package/build/mcp/tools/vibe_pm/status.js +104 -513
  1301. package/build/mcp/tools/vibe_pm/status_logic.d.ts +31 -0
  1302. package/build/mcp/tools/vibe_pm/status_logic.js +138 -0
  1303. package/build/mcp/tools/vibe_pm/status_readers.d.ts +114 -0
  1304. package/build/mcp/tools/vibe_pm/status_readers.js +455 -0
  1305. package/build/mcp/tools/vibe_pm/status_types.d.ts +21 -0
  1306. package/build/mcp/tools/vibe_pm/status_types.js +5 -0
  1307. package/build/mcp/tools/vibe_pm/submit_decision.d.ts +0 -0
  1308. package/build/mcp/tools/vibe_pm/submit_decision.js +11 -2
  1309. package/build/mcp/tools/vibe_pm/submit_task.d.ts +6 -6
  1310. package/build/mcp/tools/vibe_pm/submit_task.js +0 -0
  1311. package/build/mcp/tools/vibe_pm/suggest_roots.d.ts +21 -0
  1312. package/build/mcp/tools/vibe_pm/suggest_roots.js +56 -0
  1313. package/build/mcp/tools/vibe_pm/system_control.d.ts +39 -0
  1314. package/build/mcp/tools/vibe_pm/system_control.js +225 -0
  1315. package/build/mcp/tools/vibe_pm/tool_descriptions.d.ts +1 -0
  1316. package/build/mcp/tools/vibe_pm/tool_descriptions.js +39 -0
  1317. package/build/mcp/tools/vibe_pm/tool_handler_factory.d.ts +84 -0
  1318. package/build/mcp/tools/vibe_pm/tool_handler_factory.js +355 -0
  1319. package/build/mcp/tools/vibe_pm/types/analysis.d.ts +154 -0
  1320. package/build/mcp/tools/vibe_pm/types/analysis.js +37 -0
  1321. package/build/mcp/tools/vibe_pm/types/common.d.ts +70 -0
  1322. package/build/mcp/tools/vibe_pm/types/common.js +90 -0
  1323. package/build/mcp/tools/vibe_pm/types/runtime.d.ts +447 -0
  1324. package/build/mcp/tools/vibe_pm/types/runtime.js +3 -0
  1325. package/build/mcp/tools/vibe_pm/types/schemas.d.ts +4003 -0
  1326. package/build/mcp/tools/vibe_pm/types/schemas.js +111 -0
  1327. package/build/mcp/tools/vibe_pm/types/workflow.d.ts +125 -0
  1328. package/build/mcp/tools/vibe_pm/types/workflow.js +32 -0
  1329. package/build/mcp/tools/vibe_pm/types.d.ts +5 -4649
  1330. package/build/mcp/tools/vibe_pm/types.js +10 -376
  1331. package/build/mcp/tools/vibe_pm/ui/index.d.ts +7 -4
  1332. package/build/mcp/tools/vibe_pm/ui/index.js +12 -9
  1333. package/build/mcp/tools/vibe_pm/ui/manifest.d.ts +0 -0
  1334. package/build/mcp/tools/vibe_pm/ui/manifest.js +0 -0
  1335. package/build/mcp/tools/vibe_pm/ui/realtime_contract.d.ts +15 -0
  1336. package/build/mcp/tools/vibe_pm/ui/realtime_contract.js +28 -0
  1337. package/build/mcp/tools/vibe_pm/ui/types.d.ts +28 -3
  1338. package/build/mcp/tools/vibe_pm/ui/types.js +0 -0
  1339. package/build/mcp/tools/vibe_pm/ui/viewer_bundle.d.ts +1 -1
  1340. package/build/mcp/tools/vibe_pm/ui/viewer_bundle.js +178 -23
  1341. package/build/mcp/tools/vibe_pm/ui/webview_poc.d.ts +7 -0
  1342. package/build/mcp/tools/vibe_pm/ui/webview_poc.js +59 -0
  1343. package/build/mcp/tools/vibe_pm/ui/webview_provider.d.ts +13 -0
  1344. package/build/mcp/tools/vibe_pm/ui/webview_provider.js +33 -0
  1345. package/build/mcp/tools/vibe_pm/undo_last_task.d.ts +13 -0
  1346. package/build/mcp/tools/vibe_pm/undo_last_task.js +87 -0
  1347. package/build/mcp/tools/vibe_pm/ux_fsm.d.ts +0 -0
  1348. package/build/mcp/tools/vibe_pm/ux_fsm.js +0 -0
  1349. package/build/mcp/tools/vibe_pm/verdict/index.d.ts +0 -0
  1350. package/build/mcp/tools/vibe_pm/verdict/index.js +0 -0
  1351. package/build/mcp/tools/vibe_pm/verdict/types.d.ts +0 -0
  1352. package/build/mcp/tools/vibe_pm/verdict/types.js +0 -0
  1353. package/build/mcp/tools/vibe_pm/verdict/writer.d.ts +0 -0
  1354. package/build/mcp/tools/vibe_pm/verdict/writer.js +0 -0
  1355. package/build/mcp/tools/vibe_pm/watcher.d.ts +0 -0
  1356. package/build/mcp/tools/vibe_pm/watcher.js +3 -2
  1357. package/build/mcp/tools/vibe_pm/worker_status.d.ts +2 -2
  1358. package/build/mcp/tools/vibe_pm/worker_status.js +0 -0
  1359. package/build/mcp/tools/vibe_pm/workspace_recipe.d.ts +73 -0
  1360. package/build/mcp/tools/vibe_pm/workspace_recipe.js +65 -0
  1361. package/build/mcp/transport/cli.d.ts +0 -0
  1362. package/build/mcp/transport/cli.js +0 -0
  1363. package/build/mcp/transport/handlers.d.ts +3 -2
  1364. package/build/mcp/transport/handlers.js +47 -25
  1365. package/build/mcp/transport/http.d.ts +10 -6
  1366. package/build/mcp/transport/http.js +137 -31
  1367. package/build/mcp/transport/index.d.ts +0 -0
  1368. package/build/mcp/transport/index.js +0 -0
  1369. package/build/mcp/transport/types.d.ts +0 -0
  1370. package/build/mcp/transport/types.js +0 -0
  1371. package/build/mcp/workspace-root.d.ts +0 -0
  1372. package/build/mcp/workspace-root.js +0 -0
  1373. package/build/native/block-writer-wrapper.d.ts +48 -0
  1374. package/build/native/block-writer-wrapper.js +58 -0
  1375. package/build/native/bloom-wrapper.d.ts +39 -0
  1376. package/build/native/bloom-wrapper.js +120 -0
  1377. package/build/native/index.d.ts +11 -0
  1378. package/build/native/index.js +17 -0
  1379. package/build/native/loader.d.ts +139 -0
  1380. package/build/native/loader.js +116 -0
  1381. package/build/native/merkle-wrapper.d.ts +47 -0
  1382. package/build/native/merkle-wrapper.js +203 -0
  1383. package/build/native/scout-wrapper.d.ts +70 -0
  1384. package/build/native/scout-wrapper.js +166 -0
  1385. package/build/native/utils-wrapper.d.ts +46 -0
  1386. package/build/native/utils-wrapper.js +100 -0
  1387. package/build/observability/otel.d.ts +71 -0
  1388. package/build/observability/otel.js +124 -0
  1389. package/build/offline-queue.d.ts +0 -0
  1390. package/build/offline-queue.js +2 -1
  1391. package/build/pool-manager/adapter.d.ts +0 -0
  1392. package/build/pool-manager/adapter.js +0 -0
  1393. package/build/pool-manager/bitnet-adapter.d.ts +3 -3
  1394. package/build/pool-manager/bitnet-adapter.js +17 -30
  1395. package/build/pool-manager/index.d.ts +4 -0
  1396. package/build/pool-manager/index.js +5 -0
  1397. package/build/pool-manager/mapper-adapter.d.ts +3 -3
  1398. package/build/pool-manager/mapper-adapter.js +17 -30
  1399. package/build/pool-manager/remote-auth.d.ts +18 -0
  1400. package/build/pool-manager/remote-auth.js +36 -0
  1401. package/build/pool-manager/remote-registry.d.ts +81 -0
  1402. package/build/pool-manager/remote-registry.js +130 -0
  1403. package/build/pool-manager/resource-monitor.d.ts +0 -0
  1404. package/build/pool-manager/resource-monitor.js +0 -0
  1405. package/build/pool-manager/rust-engine-adapter.d.ts +56 -0
  1406. package/build/pool-manager/rust-engine-adapter.js +122 -0
  1407. package/build/pool-manager/types.d.ts +1 -1
  1408. package/build/pool-manager/types.js +0 -0
  1409. package/build/pool-manager/unified-pool.d.ts +0 -0
  1410. package/build/pool-manager/unified-pool.js +2 -1
  1411. package/build/profile-config.d.ts +0 -0
  1412. package/build/profile-config.js +0 -0
  1413. package/build/protocol/index.d.ts +1 -0
  1414. package/build/protocol/index.js +1 -0
  1415. package/build/protocol/minp.d.ts +97 -0
  1416. package/build/protocol/minp.js +103 -0
  1417. package/build/report-generator.d.ts +0 -0
  1418. package/build/report-generator.js +8 -8
  1419. package/build/reporting/run_artifacts.d.ts +14 -0
  1420. package/build/reporting/run_artifacts.js +44 -0
  1421. package/build/review-history.d.ts +0 -0
  1422. package/build/review-history.js +0 -0
  1423. package/build/reviewer-ux-types.d.ts +0 -0
  1424. package/build/reviewer-ux-types.js +0 -0
  1425. package/build/scout/client.d.ts +17 -0
  1426. package/build/scout/client.js +33 -0
  1427. package/build/scout/index.d.ts +6 -0
  1428. package/build/scout/index.js +5 -0
  1429. package/build/scout/types.d.ts +41 -0
  1430. package/build/scout/types.js +12 -0
  1431. package/build/shared/http_client.d.ts +12 -0
  1432. package/build/shared/http_client.js +21 -0
  1433. package/build/shared/logger.d.ts +18 -0
  1434. package/build/shared/logger.js +24 -0
  1435. package/build/shared/process-guard.d.ts +14 -0
  1436. package/build/shared/process-guard.js +31 -0
  1437. package/build/skeleton-types.d.ts +0 -0
  1438. package/build/skeleton-types.js +0 -0
  1439. package/build/skill-loader.d.ts +0 -0
  1440. package/build/skill-loader.js +3 -2
  1441. package/build/spec-map.d.ts +0 -0
  1442. package/build/spec-map.js +0 -0
  1443. package/build/startup/index.d.ts +0 -0
  1444. package/build/startup/index.js +0 -0
  1445. package/build/startup/manager.d.ts +4 -0
  1446. package/build/startup/manager.js +157 -46
  1447. package/build/sync-manager.d.ts +1 -2
  1448. package/build/sync-manager.js +0 -0
  1449. package/build/sync-packet-builder.d.ts +10 -10
  1450. package/build/sync-packet-builder.js +41 -55
  1451. package/build/tensor/core.d.ts +13 -0
  1452. package/build/tensor/core.js +129 -0
  1453. package/build/tensor/feature_extractor.d.ts +26 -0
  1454. package/build/tensor/feature_extractor.js +141 -0
  1455. package/build/tensor/index.d.ts +6 -0
  1456. package/build/tensor/index.js +5 -0
  1457. package/build/tensor/loader.d.ts +20 -0
  1458. package/build/tensor/loader.js +120 -0
  1459. package/build/tensor/types.d.ts +56 -0
  1460. package/build/tensor/types.js +19 -0
  1461. package/build/tier/feature_gate.d.ts +16 -14
  1462. package/build/tier/feature_gate.js +139 -119
  1463. package/build/tier/index.d.ts +12 -40
  1464. package/build/tier/index.js +14 -55
  1465. package/build/tier/inference_factory.d.ts +28 -0
  1466. package/build/tier/inference_factory.js +54 -0
  1467. package/build/tier/policy_analysis.d.ts +3 -7
  1468. package/build/tier/policy_analysis.js +104 -155
  1469. package/build/tier/production_bridge.d.ts +52 -0
  1470. package/build/tier/production_bridge.js +127 -0
  1471. package/build/tier/scorecard.d.ts +4 -8
  1472. package/build/tier/scorecard.js +59 -90
  1473. package/build/utils/with_timeout.d.ts +1 -0
  1474. package/build/utils/with_timeout.js +16 -0
  1475. package/build/workers/base/autoscaler.d.ts +0 -0
  1476. package/build/workers/base/autoscaler.js +0 -0
  1477. package/build/workers/base/dashboard.d.ts +0 -0
  1478. package/build/workers/base/dashboard.js +0 -0
  1479. package/build/workers/base/health.d.ts +1 -0
  1480. package/build/workers/base/health.js +31 -35
  1481. package/build/workers/base/index.d.ts +0 -0
  1482. package/build/workers/base/index.js +0 -0
  1483. package/build/workers/base/metrics.d.ts +0 -0
  1484. package/build/workers/base/metrics.js +0 -0
  1485. package/build/workers/base/pool.d.ts +0 -0
  1486. package/build/workers/base/pool.js +2 -1
  1487. package/build/workers/base/queue.d.ts +26 -4
  1488. package/build/workers/base/queue.js +50 -29
  1489. package/build/workers/base/types.d.ts +0 -0
  1490. package/build/workers/base/types.js +0 -0
  1491. package/build/workers/base/worker.d.ts +0 -0
  1492. package/build/workers/base/worker.js +34 -16
  1493. package/build/workers/browser/index.d.ts +0 -0
  1494. package/build/workers/browser/index.js +1 -1
  1495. package/build/workers/build/index.d.ts +0 -0
  1496. package/build/workers/build/index.js +0 -0
  1497. package/build/workers/fs/index.d.ts +0 -0
  1498. package/build/workers/fs/index.js +0 -0
  1499. package/build/workers/index.d.ts +0 -0
  1500. package/build/workers/index.js +3 -2
  1501. package/build/workers/manager.d.ts +1 -0
  1502. package/build/workers/manager.js +19 -9
  1503. package/build/workers/model/index.d.ts +0 -0
  1504. package/build/workers/model/index.js +0 -0
  1505. package/build/workers/search/index.d.ts +4 -0
  1506. package/build/workers/search/index.js +3 -2
  1507. package/package.json +58 -7
  1508. package/schemas/agent-catalog.v1.schema.json +114 -0
  1509. package/schemas/autopilot_policy.v1.schema.json +90 -90
  1510. package/schemas/banned_question_rules.v1.schema.json +0 -0
  1511. package/schemas/bitnet_signal.v1.schema.json +112 -112
  1512. package/schemas/catalog_tree.v1.schema.json +0 -0
  1513. package/schemas/choice_card.v1.schema.json +0 -0
  1514. package/schemas/ci_summary.v1.schema.json +0 -0
  1515. package/schemas/clinic_result.v1.2.schema.json +0 -0
  1516. package/schemas/encrypted_packet.v1.schema.json +0 -0
  1517. package/schemas/handoff_packet.v1.schema.json +0 -0
  1518. package/schemas/observer_event_map.v1.schema.json +89 -89
  1519. package/schemas/result.v1.schema.json +0 -0
  1520. package/schemas/skeleton_map_summary.v1.schema.json +0 -0
  1521. package/schemas/spec_gate_result.v1.schema.json +0 -0
  1522. package/schemas/spec_map.v1.schema.json +0 -0
  1523. package/schemas/sync_packet.v1.schema.json +0 -0
  1524. package/schemas/task.v1.schema.json +0 -0
  1525. package/schemas/template-catalog.v1.1.schema.json +193 -0
  1526. package/schemas/template-catalog.v1.schema.json +169 -0
  1527. package/schemas/template-run.session.v1.schema.json +117 -0
  1528. package/schemas/vibe_tool_status.schema.json +0 -0
  1529. package/schemas/workflow-registry.v1.schema.json +107 -0
  1530. package/scripts/build-artifacts.mjs +124 -124
  1531. package/scripts/build-musu.sh +0 -0
  1532. package/scripts/bundle-native.mjs +393 -0
  1533. package/scripts/check-hotpath-di.mjs +77 -0
  1534. package/scripts/check-hotpath-sync-io.mjs +90 -0
  1535. package/scripts/check-musu.mjs +0 -0
  1536. package/scripts/check-pr-scope.mjs +120 -120
  1537. package/scripts/check-template-runner-contract.mjs +66 -0
  1538. package/scripts/check-template-ui-contract-sync.mjs +166 -0
  1539. package/scripts/clean-build.mjs +20 -20
  1540. package/scripts/diagram-render-metrics-report.mjs +162 -0
  1541. package/scripts/e2e-k8s-test.sh +0 -0
  1542. package/scripts/e2e-podman-test.sh +91 -0
  1543. package/scripts/ensure-exec.mjs +0 -0
  1544. package/scripts/generate-checksums.sh +29 -0
  1545. package/scripts/publish.sh +20 -0
  1546. package/scripts/setup_infra.sh +160 -0
  1547. package/scripts/sync-third-party-notices.mjs +18 -0
  1548. package/scripts/test-mq-integration.mjs +81 -0
  1549. package/scripts/test-musu-smoke.sh +136 -0
  1550. package/scripts/test-smoke.mjs +24 -0
  1551. package/scripts/validate-agents.ts +60 -0
  1552. package/scripts/validate-doc-links.mjs +0 -0
  1553. package/scripts/verify-release-chain.mjs +68 -0
  1554. package/skills/SKILL_openclaw_actions_audit.md +44 -0
  1555. package/skills/SKILL_openclaw_release_hardening.md +37 -0
  1556. package/skills/SKILL_openclaw_shift_left_ci.md +58 -0
  1557. package/skills/index.json +30 -0
  1558. package/skills/skillpack.json +40 -0
  1559. package/skills/skillpack.schema.json +0 -0
  1560. package/templates/agents/cli-agent/Cargo.toml +10 -0
  1561. package/templates/agents/cli-agent/manifest.json +14 -0
  1562. package/templates/agents/cli-agent/src/main.rs +84 -0
  1563. package/templates/agents/http-service/manifest.json +15 -0
  1564. package/templates/agents/http-service/package.json +16 -0
  1565. package/templates/agents/http-service/src/server.ts +60 -0
  1566. package/templates/agents/mcp-tool/manifest.json +15 -0
  1567. package/templates/agents/mcp-tool/package.json +17 -0
  1568. package/templates/agents/mcp-tool/src/index.ts +84 -0
  1569. package/templates/agents/worker-agent/Cargo.toml +11 -0
  1570. package/templates/agents/worker-agent/manifest.json +14 -0
  1571. package/templates/agents/worker-agent/src/main.rs +120 -0
  1572. package/templates/docs-structure/README.md +41 -41
  1573. package/templates/docs-structure/active/.gitkeep +0 -0
  1574. package/templates/docs-structure/archived/legacy/.gitkeep +0 -0
  1575. package/templates/docs-structure/archived/topics/.gitkeep +0 -0
  1576. package/templates/docs-structure/reference/contracts/.gitkeep +0 -0
  1577. package/templates/docs-structure/reference/product-spec/.gitkeep +0 -0
  1578. package/templates/docs-structure/reference/ssot/.gitkeep +0 -0
  1579. package/templates/github-actions/vibe-ci.yml +0 -0
  1580. package/build/dashboard/autostart.d.ts +0 -45
  1581. package/build/dashboard/autostart.js +0 -121
  1582. package/build/mcp/paths.d.ts +0 -29
  1583. package/build/mcp/paths.js +0 -90
  1584. package/build/mcp/runtime/musu_adapter.d.ts +0 -193
  1585. package/build/mcp/runtime/musu_adapter.js +0 -373
  1586. package/build/mcp/tools/vibe_pm/inspect_code.d.ts +0 -10
  1587. package/build/mcp/tools/vibe_pm/inspect_code.js +0 -729
  1588. package/build/mcp/tools.d.ts +0 -1
  1589. package/build/mcp/tools.js +0 -11
  1590. package/build/tier/trigger_facts_collector.js +0 -294
@@ -10,28 +10,32 @@
10
10
  // - local_hashvec: FNV-1a hash-based dense vectors
11
11
  // - local_embeddings: N-gram feature hashing with TF-IDF
12
12
  // - bitnet_embeddings: Uses BitNet worker /embed endpoint (falls back to local_embeddings)
13
- import * as fsPromises from "node:fs/promises";
14
- import { buildMemoryIndex, memoryIndexPath, rankMemoryIndex } from "./memory_index.js";
15
- import { buildHashvecIndexFull, loadHashvecIndexFromPersistDir, rankHashvecIndex, updateHashvecIndexIncremental, persistHashvecIndex, memoryHashvecIndexPath, } from "./memory_index_hashvec.js";
16
- import { buildEmbeddingsIndexFull, loadEmbeddingsIndexFromPersistDir, rankEmbeddingsIndex, updateEmbeddingsIndexIncremental, persistEmbeddingsIndex, memoryEmbeddingsIndexPath, } from "./memory_index_embeddings.js";
17
- import { embedTexts, isWorkerHealthy } from "../../../bitnet-worker/embed_client.js";
13
+ // - local_lancedb: Embeddings + LanceDB manifest (relation/cluster metadata)
14
+ import * as fsPromises from 'node:fs/promises';
15
+ import { buildMemoryIndex, memoryIndexPath, rankMemoryIndex, } from './memory_index.js';
16
+ import { buildHashvecIndexFull, loadHashvecIndexFromPersistDir, rankHashvecIndex, updateHashvecIndexIncremental, persistHashvecIndex, memoryHashvecIndexPath, } from './memory_index_hashvec.js';
17
+ import { buildEmbeddingsIndexFull, loadEmbeddingsIndexFromPersistDir, rankEmbeddingsIndex, updateEmbeddingsIndexIncremental, persistEmbeddingsIndex, memoryEmbeddingsIndexPath, } from './memory_index_embeddings.js';
18
+ import { buildLanceDbManifest, persistLanceDbManifest, memoryLanceManifestPath, } from './memory_index_lancedb.js';
19
+ import { embedTexts, isWorkerHealthy } from '../../../bitnet-worker/embed_client.js';
18
20
  export function getMemoryBackendId() {
19
21
  // Future-proof: allow an env override, but keep deterministic default.
20
- const raw = (process.env.VIBE_MEMORY_BACKEND ?? "").trim().toLowerCase();
21
- if (raw === "local_tfidf")
22
- return "local_tfidf";
23
- if (raw === "local_hashvec")
24
- return "local_hashvec";
25
- if (raw === "local_embeddings")
26
- return "local_embeddings";
27
- if (raw === "bitnet_embeddings" || raw === "bitnet")
28
- return "bitnet_embeddings";
29
- return "local_tfidf";
22
+ const raw = (process.env.VIBE_MEMORY_BACKEND ?? '').trim().toLowerCase();
23
+ if (raw === 'local_tfidf')
24
+ return 'local_tfidf';
25
+ if (raw === 'local_hashvec')
26
+ return 'local_hashvec';
27
+ if (raw === 'local_embeddings')
28
+ return 'local_embeddings';
29
+ if (raw === 'bitnet_embeddings' || raw === 'bitnet')
30
+ return 'bitnet_embeddings';
31
+ if (raw === 'local_lancedb' || raw === 'lancedb')
32
+ return 'local_lancedb';
33
+ return 'local_tfidf';
30
34
  }
31
35
  export async function buildAndPersistMemoryIndex(args) {
32
- let backend = getMemoryBackendId();
36
+ const backend = getMemoryBackendId();
33
37
  // BitNet embeddings: try to use worker, fall back to local_embeddings if unavailable
34
- if (backend === "bitnet_embeddings") {
38
+ if (backend === 'bitnet_embeddings') {
35
39
  const workerAvailable = await isWorkerHealthy();
36
40
  if (!workerAvailable) {
37
41
  // Fall back to local_embeddings
@@ -42,9 +46,9 @@ export async function buildAndPersistMemoryIndex(args) {
42
46
  });
43
47
  await persistEmbeddingsIndex(args.persistDir, index);
44
48
  return {
45
- backend: "bitnet_embeddings",
49
+ backend: 'bitnet_embeddings',
46
50
  index,
47
- issues: ["bitnet_worker_unavailable_using_local_fallback", ...issues],
51
+ issues: ['bitnet_worker_unavailable_using_local_fallback', ...issues],
48
52
  };
49
53
  }
50
54
  // Use BitNet worker for embeddings
@@ -56,7 +60,7 @@ export async function buildAndPersistMemoryIndex(args) {
56
60
  });
57
61
  // Replace vectors with BitNet-generated ones (if chunks exist)
58
62
  if (index.chunks.length > 0) {
59
- const texts = index.chunks.map((c) => c.text.slice(0, 1000)); // Limit text length
63
+ const texts = index.chunks.map(c => c.text.slice(0, 1000)); // Limit text length
60
64
  const embedResult = await embedTexts({ texts, batchSize: 16 });
61
65
  if (embedResult && embedResult.embeddings.length === index.chunks.length) {
62
66
  for (let i = 0; i < index.chunks.length; i++) {
@@ -72,13 +76,13 @@ export async function buildAndPersistMemoryIndex(args) {
72
76
  issues.push(`bitnet_embeddings_generated_${embedResult.model}`);
73
77
  }
74
78
  else {
75
- issues.push("bitnet_embed_failed_using_local_vectors");
79
+ issues.push('bitnet_embed_failed_using_local_vectors');
76
80
  }
77
81
  }
78
82
  await persistEmbeddingsIndex(args.persistDir, index);
79
83
  return { backend, index, issues };
80
84
  }
81
- if (backend === "local_embeddings") {
85
+ if (backend === 'local_embeddings') {
82
86
  const { index, issues } = await buildEmbeddingsIndexFull({
83
87
  workspaceRoot: args.workspaceRoot,
84
88
  docsRoot: args.docsRoot,
@@ -87,7 +91,25 @@ export async function buildAndPersistMemoryIndex(args) {
87
91
  await persistEmbeddingsIndex(args.persistDir, index);
88
92
  return { backend, index, issues };
89
93
  }
90
- if (backend === "local_hashvec") {
94
+ if (backend === 'local_lancedb') {
95
+ const { index, issues } = await buildEmbeddingsIndexFull({
96
+ workspaceRoot: args.workspaceRoot,
97
+ docsRoot: args.docsRoot,
98
+ docsFilesAbs: args.docsFilesAbs,
99
+ });
100
+ await persistEmbeddingsIndex(args.persistDir, index);
101
+ const lance = await buildLanceDbManifest({
102
+ persistDir: args.persistDir,
103
+ index,
104
+ });
105
+ await persistLanceDbManifest(args.persistDir, lance.manifest);
106
+ return {
107
+ backend: 'local_lancedb',
108
+ index,
109
+ issues: [...issues, ...lance.issues],
110
+ };
111
+ }
112
+ if (backend === 'local_hashvec') {
91
113
  const { index, issues } = await buildHashvecIndexFull({
92
114
  workspaceRoot: args.workspaceRoot,
93
115
  docsRoot: args.docsRoot,
@@ -101,34 +123,39 @@ export async function buildAndPersistMemoryIndex(args) {
101
123
  docsRoot: args.docsRoot,
102
124
  docsFilesAbs: args.docsFilesAbs,
103
125
  });
104
- await fsPromises.writeFile(memoryIndexPath(args.persistDir), JSON.stringify(index, null, 2) + "\n", "utf-8");
126
+ await fsPromises.writeFile(memoryIndexPath(args.persistDir), JSON.stringify(index, null, 2) + '\n', 'utf-8');
105
127
  return { backend, index, issues };
106
128
  }
107
129
  export async function loadMemoryIndexFromPersistDir(persistDir) {
108
130
  const preferred = getMemoryBackendId();
109
131
  // Prefer the selected backend, but allow fallback to any available index file.
110
132
  // BitNet embeddings uses the same file format as local_embeddings
111
- if (preferred === "local_embeddings" || preferred === "bitnet_embeddings") {
133
+ if (preferred === 'local_embeddings' || preferred === 'bitnet_embeddings') {
134
+ const emb = await loadEmbeddingsIndexFromPersistDir(persistDir);
135
+ if (emb)
136
+ return emb;
137
+ }
138
+ if (preferred === 'local_lancedb') {
112
139
  const emb = await loadEmbeddingsIndexFromPersistDir(persistDir);
113
140
  if (emb)
114
141
  return emb;
115
142
  }
116
- if (preferred === "local_hashvec") {
143
+ if (preferred === 'local_hashvec') {
117
144
  const hv = await loadHashvecIndexFromPersistDir(persistDir);
118
145
  if (hv)
119
146
  return hv;
120
147
  }
121
148
  const p = memoryIndexPath(persistDir);
122
149
  try {
123
- const raw = await fsPromises.readFile(p, "utf-8");
150
+ const raw = await fsPromises.readFile(p, 'utf-8');
124
151
  const j = JSON.parse(raw);
125
- if (j.schema_version !== "memory.index.v1")
152
+ if (j.schema_version !== 'memory.index.v1')
126
153
  return null;
127
- if (j.backend !== "local_tfidf")
154
+ if (j.backend !== 'local_tfidf')
128
155
  return null;
129
156
  if (!Array.isArray(j.chunks))
130
157
  return null;
131
- if (!j.idf || typeof j.idf !== "object")
158
+ if (!j.idf || typeof j.idf !== 'object')
132
159
  return null;
133
160
  return j;
134
161
  }
@@ -142,10 +169,10 @@ export async function loadMemoryIndexFromPersistDir(persistDir) {
142
169
  return await loadEmbeddingsIndexFromPersistDir(persistDir);
143
170
  }
144
171
  export function queryMemoryIndex(args) {
145
- if (args.index.schema_version === "memory.embeddings.index.v1") {
172
+ if (args.index.schema_version === 'memory.embeddings.index.v1') {
146
173
  return rankEmbeddingsIndex({ index: args.index, query: args.query, topK: args.topK });
147
174
  }
148
- if (args.index.schema_version === "memory.hashvec.index.v1") {
175
+ if (args.index.schema_version === 'memory.hashvec.index.v1') {
149
176
  return rankHashvecIndex({ index: args.index, query: args.query, topK: args.topK });
150
177
  }
151
178
  return rankMemoryIndex({ index: args.index, query: args.query, topK: args.topK });
@@ -155,12 +182,13 @@ export function getIndexFilePaths(persistDir) {
155
182
  tfidf: memoryIndexPath(persistDir),
156
183
  hashvec: memoryHashvecIndexPath(persistDir),
157
184
  embeddings: memoryEmbeddingsIndexPath(persistDir),
185
+ lancedb: memoryLanceManifestPath(persistDir),
158
186
  };
159
187
  }
160
188
  export async function updateHashvecIndexBestEffort(args) {
161
189
  const existing = await loadHashvecIndexFromPersistDir(args.persistDir);
162
190
  if (!existing)
163
- return { index: null, issues: ["hashvec_index_missing"] };
191
+ return { index: null, issues: ['hashvec_index_missing'] };
164
192
  const res = await updateHashvecIndexIncremental({
165
193
  workspaceRoot: args.workspaceRoot,
166
194
  docsRoot: args.docsRoot,
@@ -174,7 +202,7 @@ export async function updateHashvecIndexBestEffort(args) {
174
202
  export async function updateEmbeddingsIndexBestEffort(args) {
175
203
  const existing = await loadEmbeddingsIndexFromPersistDir(args.persistDir);
176
204
  if (!existing)
177
- return { index: null, issues: ["embeddings_index_missing"] };
205
+ return { index: null, issues: ['embeddings_index_missing'] };
178
206
  const res = await updateEmbeddingsIndexIncremental({
179
207
  workspaceRoot: args.workspaceRoot,
180
208
  docsRoot: args.docsRoot,
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,38 @@
1
+ import type { EmbeddingsIndexFileV1 } from './memory_index_embeddings.js';
2
+ export type LanceDbRelationKind = 'same_directory' | 'shared_heading';
3
+ export type LanceDbRelation = {
4
+ from_file: string;
5
+ to_file: string;
6
+ kind: LanceDbRelationKind;
7
+ weight: number;
8
+ };
9
+ export type LanceDbCluster = {
10
+ cluster_id: string;
11
+ label: string;
12
+ file_count: number;
13
+ files: string[];
14
+ };
15
+ export type LanceDbMemoryManifestV1 = {
16
+ schema_version: 'memory.lancedb.v1';
17
+ backend: 'local_lancedb';
18
+ built_at: string;
19
+ chunk_count: number;
20
+ source_index_schema: 'memory.embeddings.index.v1';
21
+ lancedb_available: boolean;
22
+ db_uri: string;
23
+ tables: {
24
+ chunks: string;
25
+ relations: string;
26
+ };
27
+ relations: LanceDbRelation[];
28
+ clusters: LanceDbCluster[];
29
+ };
30
+ export declare function memoryLanceManifestPath(persistDir: string): string;
31
+ export declare function buildLanceDbManifest(args: {
32
+ persistDir: string;
33
+ index: EmbeddingsIndexFileV1;
34
+ }): Promise<{
35
+ manifest: LanceDbMemoryManifestV1;
36
+ issues: string[];
37
+ }>;
38
+ export declare function persistLanceDbManifest(persistDir: string, manifest: LanceDbMemoryManifestV1): Promise<void>;
@@ -0,0 +1,125 @@
1
+ // Optional LanceDB metadata manifest (local-first, fail-safe)
2
+ //
3
+ // This module does not require a hard runtime dependency on LanceDB.
4
+ // It writes a manifest that captures relation mappings and clustering hints,
5
+ // while the retrieval path keeps using the embeddings index as SSOT.
6
+ import * as fsPromises from 'node:fs/promises';
7
+ import * as path from 'node:path';
8
+ export function memoryLanceManifestPath(persistDir) {
9
+ return path.join(persistDir, 'memory_index.lancedb.v1.json');
10
+ }
11
+ function relationKey(a, b, kind) {
12
+ return `${a}::${b}::${kind}`;
13
+ }
14
+ function normalizePair(a, b) {
15
+ return a < b ? { left: a, right: b } : { left: b, right: a };
16
+ }
17
+ function buildRelations(index) {
18
+ const relations = new Map();
19
+ const files = Object.keys(index.files);
20
+ const dirToFiles = new Map();
21
+ for (const file of files) {
22
+ const dir = path.posix.dirname(file.replaceAll('\\', '/'));
23
+ const list = dirToFiles.get(dir) ?? [];
24
+ list.push(file);
25
+ dirToFiles.set(dir, list);
26
+ }
27
+ for (const groupedFiles of dirToFiles.values()) {
28
+ if (groupedFiles.length < 2)
29
+ continue;
30
+ for (let i = 0; i < groupedFiles.length; i++) {
31
+ for (let j = i + 1; j < groupedFiles.length; j++) {
32
+ const { left, right } = normalizePair(groupedFiles[i], groupedFiles[j]);
33
+ const key = relationKey(left, right, 'same_directory');
34
+ relations.set(key, {
35
+ from_file: left,
36
+ to_file: right,
37
+ kind: 'same_directory',
38
+ weight: 0.35,
39
+ });
40
+ }
41
+ }
42
+ }
43
+ const headingToFiles = new Map();
44
+ for (const chunk of index.chunks) {
45
+ const heading = (chunk.heading ?? '').trim().toLowerCase();
46
+ if (!heading)
47
+ continue;
48
+ if (!headingToFiles.has(heading)) {
49
+ headingToFiles.set(heading, new Set());
50
+ }
51
+ headingToFiles.get(heading).add(chunk.file_rel);
52
+ }
53
+ for (const fileSet of headingToFiles.values()) {
54
+ const groupedFiles = Array.from(fileSet.values());
55
+ if (groupedFiles.length < 2)
56
+ continue;
57
+ for (let i = 0; i < groupedFiles.length; i++) {
58
+ for (let j = i + 1; j < groupedFiles.length; j++) {
59
+ const { left, right } = normalizePair(groupedFiles[i], groupedFiles[j]);
60
+ const key = relationKey(left, right, 'shared_heading');
61
+ const existing = relations.get(key);
62
+ if (!existing || existing.weight < 0.55) {
63
+ relations.set(key, {
64
+ from_file: left,
65
+ to_file: right,
66
+ kind: 'shared_heading',
67
+ weight: 0.55,
68
+ });
69
+ }
70
+ }
71
+ }
72
+ }
73
+ return Array.from(relations.values()).sort((a, b) => `${a.from_file}:${a.to_file}`.localeCompare(`${b.from_file}:${b.to_file}`));
74
+ }
75
+ function buildClusters(index) {
76
+ const bucket = new Map();
77
+ for (const file of Object.keys(index.files)) {
78
+ const normalized = file.replaceAll('\\', '/');
79
+ const top = normalized.split('/')[0] ?? 'root';
80
+ const list = bucket.get(top) ?? [];
81
+ list.push(normalized);
82
+ bucket.set(top, list);
83
+ }
84
+ return Array.from(bucket.entries())
85
+ .map(([label, files], idx) => ({
86
+ cluster_id: `cluster_${idx + 1}`,
87
+ label,
88
+ file_count: files.length,
89
+ files: files.sort(),
90
+ }))
91
+ .sort((a, b) => b.file_count - a.file_count || a.label.localeCompare(b.label));
92
+ }
93
+ async function detectLanceDbAvailability() {
94
+ try {
95
+ const lazyImport = new Function('m', 'return import(m)');
96
+ await lazyImport('@lancedb/lancedb');
97
+ return true;
98
+ }
99
+ catch {
100
+ return false;
101
+ }
102
+ }
103
+ export async function buildLanceDbManifest(args) {
104
+ const available = await detectLanceDbAvailability();
105
+ const issues = available ? [] : ['lancedb_module_not_installed_using_manifest_only'];
106
+ const manifest = {
107
+ schema_version: 'memory.lancedb.v1',
108
+ backend: 'local_lancedb',
109
+ built_at: new Date().toISOString(),
110
+ chunk_count: args.index.chunk_count,
111
+ source_index_schema: 'memory.embeddings.index.v1',
112
+ lancedb_available: available,
113
+ db_uri: path.join(args.persistDir, 'lancedb'),
114
+ tables: {
115
+ chunks: 'chunks',
116
+ relations: 'relations',
117
+ },
118
+ relations: buildRelations(args.index),
119
+ clusters: buildClusters(args.index),
120
+ };
121
+ return { manifest, issues };
122
+ }
123
+ export async function persistLanceDbManifest(persistDir, manifest) {
124
+ await fsPromises.writeFile(memoryLanceManifestPath(persistDir), JSON.stringify(manifest, null, 2) + '\n', 'utf-8');
125
+ }
File without changes
File without changes
@@ -1,6 +1,6 @@
1
- import { type MemoryRetrieveOutputSSOT } from "../../generated/memory_retrieve_output.js";
2
- import type { MemoryRetrieveInput } from "../../generated/memory_retrieve_input.js";
3
- import { type RerankMode } from "./memory_rerank.js";
1
+ import { type MemoryRetrieveOutputSSOT } from '../../generated/memory_retrieve_output.js';
2
+ import type { MemoryRetrieveInput } from '../../generated/memory_retrieve_input.js';
3
+ import { type RerankMode } from './memory_rerank.js';
4
4
  /**
5
5
  * Extended input with rerank options
6
6
  */
@@ -7,24 +7,24 @@
7
7
  // When a real KCE/Chroma pipeline is wired in, this tool should be upgraded to:
8
8
  // - query embedding + vector search (persist_dir) and return top-k chunks with citations,
9
9
  // while keeping the output contract stable.
10
- import * as fs from "node:fs";
11
- import * as fsPromises from "node:fs/promises";
12
- import * as path from "node:path";
13
- import { MemoryRetrieveOutputSchema } from "../../generated/memory_retrieve_output.js";
14
- import { ensureDirSync, getVibeChromaCacheDir } from "../../paths.js";
15
- import { loadMemoryIndexFromPersistDir, queryMemoryIndex } from "./memory_backend.js";
16
- import { resolveEffectiveDocsRoot } from "./memory_docs_root.js";
17
- import { applyRerank } from "./memory_rerank.js";
10
+ import * as fs from 'node:fs';
11
+ import * as fsPromises from 'node:fs/promises';
12
+ import * as path from 'node:path';
13
+ import { MemoryRetrieveOutputSchema, } from '../../generated/memory_retrieve_output.js';
14
+ import { ensureDirSync, getVibeChromaCacheDir } from '../../../kernel/paths.js';
15
+ import { getMemoryBackendId, loadMemoryIndexFromPersistDir, queryMemoryIndex, } from './memory_backend.js';
16
+ import { resolveEffectiveDocsRoot } from './memory_docs_root.js';
17
+ import { applyRerank } from './memory_rerank.js';
18
18
  function isTruthyEnv(value) {
19
- const v = (value ?? "").trim().toLowerCase();
20
- return v === "1" || v === "true" || v === "yes" || v === "on";
19
+ const v = (value ?? '').trim().toLowerCase();
20
+ return v === '1' || v === 'true' || v === 'yes' || v === 'on';
21
21
  }
22
22
  async function walkDocs(root) {
23
23
  const out = [];
24
24
  async function visit(dir) {
25
25
  const entries = await fsPromises.readdir(dir, { withFileTypes: true });
26
26
  for (const e of entries) {
27
- if (e.name === "node_modules" || e.name === ".git" || e.name === ".vibe" || e.name === "runs")
27
+ if (e.name === 'node_modules' || e.name === '.git' || e.name === '.vibe' || e.name === 'runs')
28
28
  continue;
29
29
  const p = path.join(dir, e.name);
30
30
  if (e.isDirectory()) {
@@ -32,7 +32,7 @@ async function walkDocs(root) {
32
32
  continue;
33
33
  }
34
34
  const lower = e.name.toLowerCase();
35
- if (lower.endsWith(".md") || lower.endsWith(".mdx"))
35
+ if (lower.endsWith('.md') || lower.endsWith('.mdx'))
36
36
  out.push(p);
37
37
  }
38
38
  }
@@ -42,12 +42,12 @@ async function walkDocs(root) {
42
42
  function tokenizeQuery(query) {
43
43
  const q = query
44
44
  .toLowerCase()
45
- .replace(/[^\p{L}\p{N}_\s-]+/gu, " ")
45
+ .replace(/[^\p{L}\p{N}_\s-]+/gu, ' ')
46
46
  .split(/\s+/)
47
- .map((s) => s.trim())
47
+ .map(s => s.trim())
48
48
  .filter(Boolean);
49
- const stop = new Set(["the", "a", "an", "and", "or", "to", "of", "in", "on", "for", "with"]);
50
- return q.filter((t) => t.length >= 2 && !stop.has(t));
49
+ const stop = new Set(['the', 'a', 'an', 'and', 'or', 'to', 'of', 'in', 'on', 'for', 'with']);
50
+ return q.filter(t => t.length >= 2 && !stop.has(t));
51
51
  }
52
52
  function scoreDoc(contentLower, tokens) {
53
53
  let score = 0;
@@ -85,15 +85,18 @@ function buildSnippet(params) {
85
85
  return content.slice(start, end);
86
86
  }
87
87
  export async function memoryRetrieve(args) {
88
- const docsResolved = resolveEffectiveDocsRoot({ workspaceRoot: args.workspaceRoot, inputDocsRoot: args.input.docs_root });
89
- const requestedDocsRoot = (args.input.docs_root ?? "docs").trim();
90
- const docsRoot = docsResolved.ok ? docsResolved.docsRoot : (requestedDocsRoot || "docs");
91
- const query = String(args.input.query ?? "").trim();
88
+ const docsResolved = resolveEffectiveDocsRoot({
89
+ workspaceRoot: args.workspaceRoot,
90
+ inputDocsRoot: args.input.docs_root,
91
+ });
92
+ const requestedDocsRoot = (args.input.docs_root ?? 'docs').trim();
93
+ const docsRoot = docsResolved.ok ? docsResolved.docsRoot : requestedDocsRoot || 'docs';
94
+ const query = String(args.input.query ?? '').trim();
92
95
  const maxChars = args.input.max_chars ?? 6000;
93
96
  const offline = isTruthyEnv(process.env.VIBECODE_OFFLINE);
94
97
  const persistDir = getVibeChromaCacheDir(args.workspaceRoot);
95
98
  ensureDirSync(persistDir);
96
- const persistOverrideIgnored = (args.input.persist_dir ?? "").trim() && (args.input.persist_dir ?? "").trim() !== persistDir;
99
+ const persistOverrideIgnored = (args.input.persist_dir ?? '').trim() && (args.input.persist_dir ?? '').trim() !== persistDir;
97
100
  const docsAbs = docsResolved.ok ? docsResolved.docsAbs : path.join(args.workspaceRoot, docsRoot);
98
101
  const docsExists = fs.existsSync(docsAbs) && fs.statSync(docsAbs).isDirectory();
99
102
  if (!docsExists) {
@@ -101,7 +104,7 @@ export async function memoryRetrieve(args) {
101
104
  query,
102
105
  docs_root: docsRoot,
103
106
  persist_dir: persistDir,
104
- context_block: `NO_DOCS_ROOT: ${docsRoot}\n(회복) docs_root 경로를 확인한 뒤 문서 인덱스를 다시 준비해 주세요.${persistOverrideIgnored ? "\nNOTE: persist_dir override ignored (enforced .vibe/cache/chroma)" : ""}${docsResolved.issues.length ? `\nNOTE: ${docsResolved.issues.join(", ")}` : ""}`,
107
+ context_block: `NO_DOCS_ROOT: ${docsRoot}\n(회복) docs_root 경로를 확인한 뒤 문서 인덱스를 다시 준비해 주세요.${persistOverrideIgnored ? '\nNOTE: persist_dir override ignored (enforced .vibe/cache/chroma)' : ''}${docsResolved.issues.length ? `\nNOTE: ${docsResolved.issues.join(', ')}` : ''}`,
105
108
  });
106
109
  }
107
110
  const tokens = tokenizeQuery(query);
@@ -110,15 +113,15 @@ export async function memoryRetrieve(args) {
110
113
  query,
111
114
  docs_root: docsRoot,
112
115
  persist_dir: persistDir,
113
- context_block: `EMPTY_QUERY: 유효한 검색 토큰이 없습니다.${persistOverrideIgnored ? "\nNOTE: persist_dir override ignored (enforced .vibe/cache/chroma)" : ""}`,
116
+ context_block: `EMPTY_QUERY: 유효한 검색 토큰이 없습니다.${persistOverrideIgnored ? '\nNOTE: persist_dir override ignored (enforced .vibe/cache/chroma)' : ''}`,
114
117
  });
115
118
  }
116
119
  // Prefer index-based retrieval if present.
117
120
  const index = await loadMemoryIndexFromPersistDir(persistDir);
118
121
  if (index) {
119
122
  // Determine if reranking is enabled and configure options
120
- const rerankMode = args.input.rerank_mode ?? "none";
121
- const useRerank = rerankMode !== "none";
123
+ const rerankMode = args.input.rerank_mode ?? 'none';
124
+ const useRerank = rerankMode !== 'none';
122
125
  const initialTopK = useRerank ? 20 : 6; // Fetch more when reranking
123
126
  let ranked = queryMemoryIndex({ index, query, topK: initialTopK });
124
127
  // Apply rerank if enabled
@@ -133,24 +136,37 @@ export async function memoryRetrieve(args) {
133
136
  ranked = applyRerank(ranked, query, rerankOptions);
134
137
  ranked = ranked.slice(0, 6); // Limit to top 6 after reranking
135
138
  }
136
- const backendLabel = index.schema_version === "memory.hashvec.index.v1" ? "local_hashvec" : "local_tfidf";
137
- const rerankLabel = useRerank ? `, rerank=${rerankMode}` : "";
138
- let out = `MEMORY_RETRIEVE (${backendLabel}${rerankLabel}${offline ? ", offline" : ""})\nquery: ${query}\n\n`;
139
+ const backendLabel = index.schema_version === 'memory.hashvec.index.v1'
140
+ ? 'local_hashvec'
141
+ : index.schema_version === 'memory.embeddings.index.v1'
142
+ ? getMemoryBackendId() === 'local_lancedb'
143
+ ? 'local_lancedb'
144
+ : getMemoryBackendId() === 'bitnet_embeddings'
145
+ ? 'bitnet_embeddings'
146
+ : 'local_embeddings'
147
+ : 'local_tfidf';
148
+ const rerankLabel = useRerank ? `, rerank=${rerankMode}` : '';
149
+ let out = `MEMORY_RETRIEVE (${backendLabel}${rerankLabel}${offline ? ', offline' : ''})\nquery: ${query}\n\n`;
139
150
  if (docsResolved.issues.length) {
140
- out += `NOTE: ${docsResolved.issues.join(", ")}\n\n`;
151
+ out += `NOTE: ${docsResolved.issues.join(', ')}\n\n`;
141
152
  }
142
153
  if (persistOverrideIgnored) {
143
- out += "NOTE: persist_dir override ignored (enforced .vibe/cache/chroma)\n\n";
154
+ out += 'NOTE: persist_dir override ignored (enforced .vibe/cache/chroma)\n\n';
144
155
  }
145
156
  if (ranked.length === 0) {
146
- out += "NO_MATCH: 인덱스에서 유의미한 결과를 찾지 못했습니다.\n";
147
- return MemoryRetrieveOutputSchema.parse({ query, docs_root: docsRoot, persist_dir: persistDir, context_block: out });
157
+ out += 'NO_MATCH: 인덱스에서 유의미한 결과를 찾지 못했습니다.\n';
158
+ return MemoryRetrieveOutputSchema.parse({
159
+ query,
160
+ docs_root: docsRoot,
161
+ persist_dir: persistDir,
162
+ context_block: out,
163
+ });
148
164
  }
149
165
  let remaining = Math.max(500, Math.min(20000, maxChars)) - out.length;
150
166
  for (const r of ranked) {
151
167
  if (remaining <= 0)
152
168
  break;
153
- const header = `--- ${r.chunk.file_rel}${r.chunk.heading ? ` :: ${r.chunk.heading}` : ""} (score=${r.score.toFixed(4)}) ---\n`;
169
+ const header = `--- ${r.chunk.file_rel}${r.chunk.heading ? ` :: ${r.chunk.heading}` : ''} (score=${r.score.toFixed(4)}) ---\n`;
154
170
  if (header.length > remaining)
155
171
  break;
156
172
  out += header;
@@ -161,9 +177,9 @@ export async function memoryRetrieve(args) {
161
177
  tokens,
162
178
  maxChars: remaining,
163
179
  })
164
- .replace(/\r\n/g, "\n")
180
+ .replace(/\r\n/g, '\n')
165
181
  .trim();
166
- const body = snippet + "\n\n";
182
+ const body = snippet + '\n\n';
167
183
  out += body.slice(0, Math.max(0, remaining));
168
184
  remaining -= body.length;
169
185
  }
@@ -180,14 +196,14 @@ export async function memoryRetrieve(args) {
180
196
  query,
181
197
  docs_root: docsRoot,
182
198
  persist_dir: persistDir,
183
- context_block: `NO_DOCS: ${docsRoot} 아래에 .md/.mdx 문서가 없습니다.${persistOverrideIgnored ? "\nNOTE: persist_dir override ignored (enforced .vibe/cache/chroma)" : ""}`,
199
+ context_block: `NO_DOCS: ${docsRoot} 아래에 .md/.mdx 문서가 없습니다.${persistOverrideIgnored ? '\nNOTE: persist_dir override ignored (enforced .vibe/cache/chroma)' : ''}`,
184
200
  });
185
201
  }
186
202
  const scored = [];
187
203
  for (const f of files) {
188
204
  try {
189
- const rel = path.relative(args.workspaceRoot, f).replaceAll("\\", "/");
190
- const raw = await fsPromises.readFile(f, "utf-8");
205
+ const rel = path.relative(args.workspaceRoot, f).replaceAll('\\', '/');
206
+ const raw = await fsPromises.readFile(f, 'utf-8');
191
207
  const lower = raw.toLowerCase();
192
208
  const s = scoreDoc(lower, tokens);
193
209
  if (s <= 0)
@@ -201,16 +217,16 @@ export async function memoryRetrieve(args) {
201
217
  scored.sort((a, b) => b.score - a.score);
202
218
  const top = scored.slice(0, 5);
203
219
  // Build context block with a strict max length
204
- let out = `MEMORY_RETRIEVE (best-effort${offline ? ", offline" : ""})\nquery: ${query}\n\n`;
220
+ let out = `MEMORY_RETRIEVE (best-effort${offline ? ', offline' : ''})\nquery: ${query}\n\n`;
205
221
  if (docsResolved.issues.length) {
206
- out += `NOTE: ${docsResolved.issues.join(", ")}\n\n`;
222
+ out += `NOTE: ${docsResolved.issues.join(', ')}\n\n`;
207
223
  }
208
224
  if (persistOverrideIgnored) {
209
- out += "NOTE: persist_dir override ignored (enforced .vibe/cache/chroma)\n\n";
225
+ out += 'NOTE: persist_dir override ignored (enforced .vibe/cache/chroma)\n\n';
210
226
  }
211
227
  let remaining = Math.max(500, Math.min(20000, maxChars)) - out.length;
212
228
  if (top.length === 0) {
213
- out += "NO_MATCH: 문서에서 검색어를 찾지 못했습니다.\n";
229
+ out += 'NO_MATCH: 문서에서 검색어를 찾지 못했습니다.\n';
214
230
  return MemoryRetrieveOutputSchema.parse({
215
231
  query,
216
232
  docs_root: docsRoot,
@@ -232,9 +248,9 @@ export async function memoryRetrieve(args) {
232
248
  tokens,
233
249
  maxChars: remaining,
234
250
  })
235
- .replace(/\r\n/g, "\n")
251
+ .replace(/\r\n/g, '\n')
236
252
  .trim();
237
- const body = snippet + "\n\n";
253
+ const body = snippet + '\n\n';
238
254
  out += body.slice(0, Math.max(0, remaining));
239
255
  remaining -= body.length;
240
256
  }
@@ -1,5 +1,5 @@
1
- import { type MemoryStatusOutputSSOT } from "../../generated/memory_status_output.js";
2
- import type { MemoryStatusInput } from "../../generated/memory_status_input.js";
1
+ import { type MemoryStatusOutputSSOT } from '../../generated/memory_status_output.js';
2
+ import type { MemoryStatusInput } from '../../generated/memory_status_input.js';
3
3
  export declare function memoryStatus(args: {
4
4
  workspaceRoot: string;
5
5
  input: MemoryStatusInput;