@vibecodetown/mcp-server 1.3.1 → 1.4.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.
- package/CONTRIBUTING.md +0 -0
- package/LICENSE +21 -0
- package/README.md +0 -0
- package/THIRD_PARTY_NOTICES.md +106 -0
- package/bin/SHA256SUMS +9 -0
- package/bin/clinic_win_x64/clinic.exe +0 -0
- package/bin/spec-high_linux_x64/spec-high +0 -0
- package/bin/spec-high_win_x64/spec-high.exe +0 -0
- package/bin/vibecoding-helper_win_x64/vibecoding-helper.exe +0 -0
- package/bin/vpm-back_win_x64/vpm-back.exe +0 -0
- package/build/background-sync-worker.d.ts +1 -2
- package/build/background-sync-worker.js +0 -0
- package/build/bin/vibe-auth.d.ts +0 -0
- package/build/bin/vibe-auth.js +0 -0
- package/build/bin/vibe-bitnet-worker.d.ts +0 -0
- package/build/bin/vibe-bitnet-worker.js +5 -4
- package/build/bin/vibe-ci.d.ts +2 -10
- package/build/bin/vibe-ci.js +6 -1552
- package/build/bin/vibe-companion.d.ts +15 -0
- package/build/bin/vibe-companion.js +134 -0
- package/build/bin/vibe-dashboard.d.ts +0 -0
- package/build/bin/vibe-dashboard.js +11 -11
- package/build/bin/vibe-mapper-worker.d.ts +0 -0
- package/build/bin/vibe-mapper-worker.js +37 -15
- package/build/bitnet-worker/autostart.d.ts +0 -0
- package/build/bitnet-worker/autostart.js +4 -3
- package/build/bitnet-worker/client.d.ts +0 -0
- package/build/bitnet-worker/client.js +3 -2
- package/build/bitnet-worker/cpu_brake.d.ts +0 -0
- package/build/bitnet-worker/cpu_brake.js +4 -3
- package/build/bitnet-worker/embed_client.d.ts +0 -0
- package/build/bitnet-worker/embed_client.js +0 -0
- package/build/bitnet-worker/hw_slots.d.ts +0 -0
- package/build/bitnet-worker/hw_slots.js +3 -2
- package/build/bitnet-worker/index.d.ts +1 -1
- package/build/bitnet-worker/index.js +1 -1
- package/build/bitnet-worker/metrics.d.ts +0 -0
- package/build/bitnet-worker/metrics.js +0 -0
- package/build/bitnet-worker/native_inference.d.ts +1 -1
- package/build/bitnet-worker/native_inference.js +49 -43
- package/build/bitnet-worker/pool-autostart.d.ts +0 -0
- package/build/bitnet-worker/pool-autostart.js +5 -4
- package/build/bitnet-worker/request_cache.d.ts +0 -0
- package/build/bitnet-worker/request_cache.js +0 -0
- package/build/bitnet-worker/serial_queue.d.ts +0 -0
- package/build/bitnet-worker/serial_queue.js +0 -0
- package/build/bitnet-worker/server-autostart.d.ts +1 -1
- package/build/bitnet-worker/server-autostart.js +9 -9
- package/build/bitnet-worker/server.d.ts +4 -4
- package/build/bitnet-worker/server.js +131 -115
- package/build/bitnet-worker/server_manager.d.ts +28 -54
- package/build/bitnet-worker/server_manager.js +107 -238
- package/build/bitnet-worker/tiered_queue.d.ts +0 -0
- package/build/bitnet-worker/tiered_queue.js +3 -2
- package/build/bitnet-worker/types.d.ts +0 -0
- package/build/bitnet-worker/types.js +0 -0
- package/build/ci/args.d.ts +16 -0
- package/build/ci/args.js +103 -0
- package/build/ci/clinic_result.d.ts +22 -0
- package/build/ci/clinic_result.js +197 -0
- package/build/ci/cloud_sync.d.ts +2 -0
- package/build/ci/cloud_sync.js +29 -0
- package/build/ci/engine.d.ts +10 -0
- package/build/ci/engine.js +63 -0
- package/build/ci/file_changes.d.ts +10 -0
- package/build/ci/file_changes.js +127 -0
- package/build/ci/pipeline.d.ts +22 -0
- package/build/ci/pipeline.js +662 -0
- package/build/ci/pipeline_types.d.ts +134 -0
- package/build/ci/pipeline_types.js +5 -0
- package/build/ci/pipeline_violations.d.ts +44 -0
- package/build/ci/pipeline_violations.js +229 -0
- package/build/ci/rules/go.d.ts +8 -0
- package/build/ci/rules/go.js +22 -0
- package/build/ci/rules/index.d.ts +32 -0
- package/build/ci/rules/index.js +42 -0
- package/build/ci/rules/java.d.ts +8 -0
- package/build/ci/rules/java.js +22 -0
- package/build/ci/rules/javascript.d.ts +8 -0
- package/build/ci/rules/javascript.js +32 -0
- package/build/ci/rules/python.d.ts +8 -0
- package/build/ci/rules/python.js +27 -0
- package/build/ci/rules/rust.d.ts +8 -0
- package/build/ci/rules/rust.js +27 -0
- package/build/ci/spec_gate.d.ts +15 -0
- package/build/ci/spec_gate.js +143 -0
- package/build/ci/subcommands.d.ts +2 -0
- package/build/ci/subcommands.js +147 -0
- package/build/companion/autostart.d.ts +23 -0
- package/build/companion/autostart.js +105 -0
- package/build/companion/external_tools.d.ts +36 -0
- package/build/companion/external_tools.js +74 -0
- package/build/companion/index.d.ts +7 -0
- package/build/companion/index.js +6 -0
- package/build/companion/providers/bitnet_provider.d.ts +43 -0
- package/build/companion/providers/bitnet_provider.js +189 -0
- package/build/companion/providers/index.d.ts +1 -0
- package/build/companion/providers/index.js +1 -0
- package/build/companion/runtime.d.ts +9 -0
- package/build/companion/runtime.js +106 -0
- package/build/companion/server.d.ts +10 -0
- package/build/companion/server.js +143 -0
- package/build/companion/tools.d.ts +27 -0
- package/build/companion/tools.js +305 -0
- package/build/companion/types.d.ts +44 -0
- package/build/companion/types.js +10 -0
- package/build/companion/warden_runtime.d.ts +106 -0
- package/build/companion/warden_runtime.js +419 -0
- package/build/config/load-config.d.ts +0 -0
- package/build/config/load-config.js +2 -1
- package/build/coordinator/client.d.ts +0 -0
- package/build/coordinator/client.js +10 -19
- package/build/coordinator/index.d.ts +0 -0
- package/build/coordinator/index.js +0 -0
- package/build/correction-messages.d.ts +0 -0
- package/build/correction-messages.js +0 -0
- package/build/dashboard/index.d.ts +7 -17
- package/build/dashboard/index.js +9 -19
- package/build/dashboard/server.d.ts +4 -2
- package/build/dashboard/server.js +237 -83
- package/build/dashboard/signal_stream.d.ts +24 -0
- package/build/dashboard/signal_stream.js +252 -0
- package/build/db_sync/block_migration.d.ts +35 -0
- package/build/db_sync/block_migration.js +106 -0
- package/build/db_sync/block_reader.d.ts +38 -0
- package/build/db_sync/block_reader.js +97 -0
- package/build/db_sync/block_search_adapter.d.ts +26 -0
- package/build/db_sync/block_search_adapter.js +69 -0
- package/build/db_sync/block_sync.d.ts +26 -0
- package/build/db_sync/block_sync.js +95 -0
- package/build/db_sync/block_writer.d.ts +41 -0
- package/build/db_sync/block_writer.js +83 -0
- package/build/db_sync/config.d.ts +1 -7
- package/build/db_sync/config.js +7 -20
- package/build/db_sync/index.d.ts +20 -12
- package/build/db_sync/index.js +56 -56
- package/build/db_sync/parsers/bitnet.d.ts +0 -0
- package/build/db_sync/parsers/bitnet.js +0 -0
- package/build/db_sync/parsers/gate.d.ts +0 -0
- package/build/db_sync/parsers/gate.js +0 -0
- package/build/db_sync/parsers/index.d.ts +0 -0
- package/build/db_sync/parsers/index.js +0 -0
- package/build/db_sync/parsers/ingress.d.ts +0 -0
- package/build/db_sync/parsers/ingress.js +0 -0
- package/build/db_sync/parsers/mapping.d.ts +0 -0
- package/build/db_sync/parsers/mapping.js +0 -0
- package/build/db_sync/parsers/orchestrator.d.ts +0 -0
- package/build/db_sync/parsers/orchestrator.js +0 -0
- package/build/db_sync/pool.d.ts +2 -3
- package/build/db_sync/pool.js +10 -11
- package/build/db_sync/publish.d.ts +0 -0
- package/build/db_sync/publish.js +14 -14
- package/build/db_sync/read_model.d.ts +0 -0
- package/build/db_sync/read_model.js +7 -7
- package/build/db_sync/scanner.d.ts +4 -4
- package/build/db_sync/scanner.js +42 -30
- package/build/db_sync/types.d.ts +53 -7
- package/build/db_sync/types.js +11 -18
- package/build/db_sync/writer.d.ts +0 -0
- package/build/db_sync/writer.js +129 -129
- package/build/decision-log-reader.d.ts +33 -0
- package/build/decision-log-reader.js +129 -5
- package/build/deep-link.d.ts +0 -0
- package/build/deep-link.js +12 -11
- package/build/deps/deps-update.d.ts +0 -0
- package/build/deps/deps-update.js +0 -0
- package/build/deps/drift-check.d.ts +0 -0
- package/build/deps/drift-check.js +0 -0
- package/build/deps/env-check.d.ts +0 -0
- package/build/deps/env-check.js +0 -0
- package/build/deps/index.d.ts +0 -0
- package/build/deps/index.js +0 -0
- package/build/deps/pm-detect.d.ts +0 -0
- package/build/deps/pm-detect.js +0 -0
- package/build/deps/types.d.ts +0 -0
- package/build/deps/types.js +0 -0
- package/build/deps/ux-renderer.d.ts +0 -0
- package/build/deps/ux-renderer.js +0 -0
- package/build/{tier → domains/ant}/ant_lane.d.ts +2 -2
- package/build/{tier → domains/ant}/ant_lane.js +52 -50
- package/build/domains/ant/ant_lane_remediation.d.ts +50 -0
- package/build/domains/ant/ant_lane_remediation.js +157 -0
- package/build/domains/ant/ant_remediator.d.ts +48 -0
- package/build/domains/ant/ant_remediator.js +129 -0
- package/build/{tier → domains/ant}/checkpoint.d.ts +1 -1
- package/build/{tier → domains/ant}/checkpoint.js +66 -67
- package/build/{tier → domains/ant}/checkpoint_types.d.ts +17 -16
- package/build/{tier → domains/ant}/checkpoint_types.js +0 -0
- package/build/domains/ant/healing_loop.d.ts +42 -0
- package/build/domains/ant/healing_loop.js +196 -0
- package/build/domains/ant/index.d.ts +19 -0
- package/build/domains/ant/index.js +20 -0
- package/build/domains/ant/payload_builder.d.ts +51 -0
- package/build/domains/ant/payload_builder.js +137 -0
- package/build/domains/ant/remediation_log.d.ts +59 -0
- package/build/domains/ant/remediation_log.js +84 -0
- package/build/domains/bee/bee_chain_storage.d.ts +50 -0
- package/build/domains/bee/bee_chain_storage.js +155 -0
- package/build/domains/bee/bee_context_enricher.d.ts +76 -0
- package/build/domains/bee/bee_context_enricher.js +194 -0
- package/build/domains/bee/bee_import_parser.d.ts +68 -0
- package/build/domains/bee/bee_import_parser.js +359 -0
- package/build/domains/bee/bee_incremental_analyzer.d.ts +59 -0
- package/build/domains/bee/bee_incremental_analyzer.js +158 -0
- package/build/domains/bee/bee_ipc_server.d.ts +60 -0
- package/build/domains/bee/bee_ipc_server.js +146 -0
- package/build/domains/bee/bee_orchestrator.d.ts +35 -0
- package/build/domains/bee/bee_orchestrator.js +429 -0
- package/build/domains/bee/bee_rechunk.d.ts +41 -0
- package/build/domains/bee/bee_rechunk.js +128 -0
- package/build/domains/bee/bee_rechunk_incremental.d.ts +36 -0
- package/build/domains/bee/bee_rechunk_incremental.js +204 -0
- package/build/domains/bee/bee_stream_listener.d.ts +62 -0
- package/build/domains/bee/bee_stream_listener.js +161 -0
- package/build/domains/bee/bee_swarm_bridge.d.ts +32 -0
- package/build/domains/bee/bee_swarm_bridge.js +120 -0
- package/build/domains/bee/bee_triangulation.d.ts +66 -0
- package/build/domains/bee/bee_triangulation.js +186 -0
- package/build/domains/bee/bee_types.d.ts +142 -0
- package/build/domains/bee/bee_types.js +15 -0
- package/build/domains/bee/bee_watcher.d.ts +63 -0
- package/build/domains/bee/bee_watcher.js +267 -0
- package/build/{tier → domains/bee}/cooldown_store.d.ts +1 -1
- package/build/{tier → domains/bee}/cooldown_store.js +9 -8
- package/build/domains/bee/file_hash_registry.d.ts +69 -0
- package/build/domains/bee/file_hash_registry.js +189 -0
- package/build/domains/bee/index.d.ts +36 -0
- package/build/domains/bee/index.js +37 -0
- package/build/domains/bee/intent_tracker.d.ts +81 -0
- package/build/domains/bee/intent_tracker.js +185 -0
- package/build/domains/bee/log_pattern_registry.d.ts +91 -0
- package/build/domains/bee/log_pattern_registry.js +160 -0
- package/build/domains/bee/log_reasoning_bridge.d.ts +69 -0
- package/build/domains/bee/log_reasoning_bridge.js +182 -0
- package/build/domains/bee/scout_chain_storage.d.ts +27 -0
- package/build/domains/bee/scout_chain_storage.js +69 -0
- package/build/domains/bee/scout_heuristics.d.ts +30 -0
- package/build/domains/bee/scout_heuristics.js +446 -0
- package/build/{tier → domains/bee}/scout_runner.d.ts +5 -0
- package/build/{tier → domains/bee}/scout_runner.js +57 -2
- package/build/{tier → domains/bee}/trigger_evaluator.d.ts +4 -4
- package/build/{tier → domains/bee}/trigger_evaluator.js +63 -65
- package/build/{tier → domains/bee}/trigger_facts_collector.d.ts +3 -3
- package/build/domains/bee/trigger_facts_collector.js +280 -0
- package/build/{tier → domains/bee}/trigger_types.d.ts +3 -3
- package/build/{tier → domains/bee}/trigger_types.js +0 -0
- package/build/domains/prime/activity_sensor.d.ts +36 -0
- package/build/domains/prime/activity_sensor.js +64 -0
- package/build/domains/prime/context_assembly.d.ts +102 -0
- package/build/domains/prime/context_assembly.js +174 -0
- package/build/domains/prime/director.d.ts +38 -0
- package/build/domains/prime/director.js +136 -0
- package/build/domains/prime/goal_classifier.d.ts +11 -0
- package/build/domains/prime/goal_classifier.js +62 -0
- package/build/domains/prime/hive_mind.d.ts +48 -0
- package/build/domains/prime/hive_mind.js +249 -0
- package/build/domains/prime/hive_mind_prompts.d.ts +22 -0
- package/build/domains/prime/hive_mind_prompts.js +110 -0
- package/build/domains/prime/hive_mind_types.d.ts +43 -0
- package/build/domains/prime/hive_mind_types.js +4 -0
- package/build/domains/prime/holodeck.d.ts +33 -0
- package/build/domains/prime/holodeck.js +102 -0
- package/build/domains/prime/holodeck_types.d.ts +28 -0
- package/build/domains/prime/holodeck_types.js +4 -0
- package/build/domains/prime/hybrid_check.d.ts +23 -0
- package/build/domains/prime/hybrid_check.js +58 -0
- package/build/domains/prime/index.d.ts +20 -0
- package/build/domains/prime/index.js +15 -0
- package/build/domains/prime/mission_store.d.ts +27 -0
- package/build/domains/prime/mission_store.js +95 -0
- package/build/domains/prime/planner.d.ts +55 -0
- package/build/domains/prime/planner.js +307 -0
- package/build/domains/prime/planner_prompts.d.ts +18 -0
- package/build/domains/prime/planner_prompts.js +116 -0
- package/build/domains/prime/reviewer.d.ts +27 -0
- package/build/domains/prime/reviewer.js +83 -0
- package/build/domains/prime/stage_machine.d.ts +62 -0
- package/build/domains/prime/stage_machine.js +143 -0
- package/build/domains/prime/time_stone.d.ts +37 -0
- package/build/domains/prime/time_stone.js +212 -0
- package/build/domains/prime/time_stone_scorer.d.ts +17 -0
- package/build/domains/prime/time_stone_scorer.js +44 -0
- package/build/domains/prime/time_stone_types.d.ts +71 -0
- package/build/domains/prime/time_stone_types.js +4 -0
- package/build/domains/prime/types.d.ts +44 -0
- package/build/domains/prime/types.js +7 -0
- package/build/domains/rag/block_indexer.d.ts +39 -0
- package/build/domains/rag/block_indexer.js +61 -0
- package/build/domains/rag/context_builder.d.ts +11 -0
- package/build/domains/rag/context_builder.js +30 -0
- package/build/domains/rag/index.d.ts +6 -0
- package/build/domains/rag/index.js +6 -0
- package/build/domains/rag/rag_bridge.d.ts +29 -0
- package/build/domains/rag/rag_bridge.js +22 -0
- package/build/domains/rag/rag_client.d.ts +14 -0
- package/build/domains/rag/rag_client.js +77 -0
- package/build/domains/rag/retrieval.d.ts +18 -0
- package/build/domains/rag/retrieval.js +47 -0
- package/build/domains/rag/types.d.ts +57 -0
- package/build/domains/rag/types.js +3 -0
- package/build/domains/swarm/index.d.ts +19 -0
- package/build/domains/swarm/index.js +20 -0
- package/build/domains/swarm/reasoning_chain.d.ts +62 -0
- package/build/domains/swarm/reasoning_chain.js +121 -0
- package/build/domains/swarm/swarm_chain_dispatcher.d.ts +52 -0
- package/build/domains/swarm/swarm_chain_dispatcher.js +144 -0
- package/build/domains/swarm/swarm_consensus.d.ts +34 -0
- package/build/domains/swarm/swarm_consensus.js +87 -0
- package/build/domains/swarm/swarm_dispatcher.d.ts +34 -0
- package/build/domains/swarm/swarm_dispatcher.js +111 -0
- package/build/domains/swarm/swarm_prompt.d.ts +16 -0
- package/build/domains/swarm/swarm_prompt.js +70 -0
- package/build/domains/swarm/swarm_types.d.ts +55 -0
- package/build/domains/swarm/swarm_types.js +9 -0
- package/build/domains/swarm/swarm_verdict_router.d.ts +55 -0
- package/build/domains/swarm/swarm_verdict_router.js +129 -0
- package/build/evidence-report.d.ts +2 -2
- package/build/evidence-report.js +18 -153
- package/build/gateway/client.d.ts +35 -0
- package/build/gateway/client.js +98 -0
- package/build/gateway/config.d.ts +41 -0
- package/build/gateway/config.js +49 -0
- package/build/gateway/dispatch_handler.d.ts +17 -0
- package/build/gateway/dispatch_handler.js +95 -0
- package/build/gateway/heartbeat.d.ts +23 -0
- package/build/gateway/heartbeat.js +78 -0
- package/build/gateway/index.d.ts +18 -0
- package/build/gateway/index.js +14 -0
- package/build/gateway/prime_dispatch.d.ts +29 -0
- package/build/gateway/prime_dispatch.js +80 -0
- package/build/health/index.d.ts +0 -0
- package/build/health/index.js +0 -0
- package/build/health/liveness.d.ts +0 -0
- package/build/health/liveness.js +0 -0
- package/build/health/readiness.d.ts +5 -0
- package/build/health/readiness.js +28 -5
- package/build/health/types.d.ts +0 -0
- package/build/health/types.js +0 -0
- package/build/hub/autostart.d.ts +23 -0
- package/build/hub/autostart.js +137 -0
- package/build/hub/dashboard_routes.d.ts +17 -0
- package/build/hub/dashboard_routes.js +307 -0
- package/build/hub/index.d.ts +10 -0
- package/build/hub/index.js +8 -0
- package/build/hub/server.d.ts +10 -0
- package/build/hub/server.js +207 -0
- package/build/hub/types.d.ts +43 -0
- package/build/hub/types.js +8 -0
- package/build/index.d.ts +19 -19
- package/build/index.js +22 -47
- package/build/kernel/async-fs.d.ts +22 -0
- package/build/kernel/async-fs.js +50 -0
- package/build/kernel/atomic_writer.d.ts +22 -0
- package/build/kernel/atomic_writer.js +43 -0
- package/build/kernel/blocks/assembler.d.ts +101 -0
- package/build/kernel/blocks/assembler.js +254 -0
- package/build/kernel/blocks/chain.d.ts +148 -0
- package/build/kernel/blocks/chain.js +329 -0
- package/build/kernel/blocks/doubt.d.ts +141 -0
- package/build/kernel/blocks/doubt.js +288 -0
- package/build/kernel/blocks/events.d.ts +130 -0
- package/build/kernel/blocks/events.js +246 -0
- package/build/kernel/blocks/gc.d.ts +93 -0
- package/build/kernel/blocks/gc.js +320 -0
- package/build/kernel/blocks/hasher.d.ts +79 -0
- package/build/kernel/blocks/hasher.js +108 -0
- package/build/kernel/blocks/index.d.ts +29 -0
- package/build/kernel/blocks/index.js +44 -0
- package/build/kernel/blocks/inference_cache.d.ts +64 -0
- package/build/kernel/blocks/inference_cache.js +123 -0
- package/build/kernel/blocks/migration.d.ts +103 -0
- package/build/kernel/blocks/migration.js +273 -0
- package/build/kernel/blocks/policy.d.ts +41 -0
- package/build/kernel/blocks/policy.js +132 -0
- package/build/kernel/blocks/signal_bridge.d.ts +130 -0
- package/build/kernel/blocks/signal_bridge.js +324 -0
- package/build/kernel/blocks/signal_reader.d.ts +47 -0
- package/build/kernel/blocks/signal_reader.js +185 -0
- package/build/kernel/blocks/snapshot.d.ts +44 -0
- package/build/kernel/blocks/snapshot.js +258 -0
- package/build/kernel/blocks/store.d.ts +163 -0
- package/build/kernel/blocks/store.js +390 -0
- package/build/kernel/blocks/types.d.ts +340 -0
- package/build/kernel/blocks/types.js +31 -0
- package/build/kernel/blocks/vector.d.ts +90 -0
- package/build/kernel/blocks/vector.js +495 -0
- package/build/kernel/contracts.d.ts +53 -0
- package/build/kernel/contracts.js +1 -0
- package/build/kernel/deps.d.ts +22 -0
- package/build/kernel/deps.js +32 -0
- package/build/{mcp/events → kernel}/file_watcher.d.ts +1 -1
- package/build/{mcp/events → kernel}/file_watcher.js +5 -5
- package/build/kernel/index.d.ts +8 -0
- package/build/kernel/index.js +13 -0
- package/build/kernel/musu_adapter.d.ts +198 -0
- package/build/kernel/musu_adapter.js +836 -0
- package/build/kernel/musu_adapter_types.d.ts +212 -0
- package/build/kernel/musu_adapter_types.js +10 -0
- package/build/kernel/musu_endpoint.d.ts +15 -0
- package/build/kernel/musu_endpoint.js +62 -0
- package/build/kernel/paths.d.ts +90 -0
- package/build/kernel/paths.js +240 -0
- package/build/kernel/resolve_deps.d.ts +12 -0
- package/build/kernel/resolve_deps.js +14 -0
- package/build/kernel/smart_patcher.d.ts +52 -0
- package/build/kernel/smart_patcher.js +221 -0
- package/build/kernel/sys_admin_types.d.ts +34 -0
- package/build/kernel/sys_admin_types.js +7 -0
- package/build/license-manager.d.ts +0 -0
- package/build/license-manager.js +0 -0
- package/build/mapper-worker/client.d.ts +0 -0
- package/build/mapper-worker/client.js +5 -4
- package/build/mapper-worker/index.d.ts +0 -0
- package/build/mapper-worker/index.js +0 -0
- package/build/mapper-worker/pool.d.ts +1 -1
- package/build/mapper-worker/pool.js +46 -48
- package/build/mapper-worker/server.d.ts +0 -0
- package/build/mapper-worker/server.js +7 -8
- package/build/mapper-worker/types.d.ts +0 -0
- package/build/mapper-worker/types.js +2 -1
- package/build/mcp/a2a/envelope.d.ts +36 -0
- package/build/mcp/a2a/envelope.js +82 -0
- package/build/mcp/a2a/executor/actions.d.ts +39 -0
- package/build/mcp/a2a/executor/actions.js +218 -0
- package/build/mcp/a2a/executor/dry_run.d.ts +51 -0
- package/build/mcp/a2a/executor/dry_run.js +117 -0
- package/build/mcp/a2a/executor/handler.d.ts +23 -0
- package/build/mcp/a2a/executor/handler.js +125 -0
- package/build/mcp/a2a/executor/index.d.ts +3 -0
- package/build/mcp/a2a/executor/index.js +8 -0
- package/build/mcp/a2a/gate/index.d.ts +3 -0
- package/build/mcp/a2a/gate/index.js +15 -0
- package/build/mcp/a2a/gate/types.d.ts +106 -0
- package/build/mcp/a2a/gate/types.js +68 -0
- package/build/mcp/a2a/gate/verdict.d.ts +69 -0
- package/build/mcp/a2a/gate/verdict.js +286 -0
- package/build/mcp/a2a/history/builder.d.ts +78 -0
- package/build/mcp/a2a/history/builder.js +399 -0
- package/build/mcp/a2a/history/index.d.ts +6 -0
- package/build/mcp/a2a/history/index.js +6 -0
- package/build/mcp/a2a/history/types.d.ts +185 -0
- package/build/mcp/a2a/history/types.js +5 -0
- package/build/mcp/a2a/index.d.ts +7 -0
- package/build/mcp/a2a/index.js +13 -0
- package/build/mcp/a2a/intent/constitutional.d.ts +41 -0
- package/build/mcp/a2a/intent/constitutional.js +187 -0
- package/build/mcp/a2a/intent/converter.d.ts +23 -0
- package/build/mcp/a2a/intent/converter.js +32 -0
- package/build/mcp/a2a/intent/index.d.ts +13 -0
- package/build/mcp/a2a/intent/index.js +13 -0
- package/build/mcp/a2a/intent/interpreter.d.ts +51 -0
- package/build/mcp/a2a/intent/interpreter.js +341 -0
- package/build/mcp/a2a/intent/loader.d.ts +20 -0
- package/build/mcp/a2a/intent/loader.js +54 -0
- package/build/mcp/a2a/intent/project_intent.d.ts +54 -0
- package/build/mcp/a2a/intent/project_intent.js +221 -0
- package/build/mcp/a2a/intent/types.d.ts +156 -0
- package/build/mcp/a2a/intent/types.js +12 -0
- package/build/mcp/a2a/observer/hooks.d.ts +15 -0
- package/build/mcp/a2a/observer/hooks.js +35 -6
- package/build/mcp/a2a/observer/index.d.ts +5 -0
- package/build/mcp/a2a/observer/index.js +6 -0
- package/build/mcp/a2a/observer/logger.d.ts +0 -0
- package/build/mcp/a2a/observer/logger.js +2 -1
- package/build/mcp/a2a/observer/types.d.ts +1 -1
- package/build/mcp/a2a/observer/types.js +0 -0
- package/build/mcp/a2a/oracle/index.d.ts +3 -0
- package/build/mcp/a2a/oracle/index.js +5 -0
- package/build/mcp/a2a/oracle/oracle.d.ts +35 -0
- package/build/mcp/a2a/oracle/oracle.js +253 -0
- package/build/mcp/a2a/oracle/types.d.ts +108 -0
- package/build/mcp/a2a/oracle/types.js +10 -0
- package/build/mcp/a2a/orchestrator/index.d.ts +4 -0
- package/build/mcp/a2a/orchestrator/index.js +11 -0
- package/build/mcp/a2a/orchestrator/loop.d.ts +0 -0
- package/build/mcp/a2a/orchestrator/loop.js +2 -1
- package/build/mcp/a2a/orchestrator/ralph-audit.d.ts +0 -0
- package/build/mcp/a2a/orchestrator/ralph-audit.js +0 -0
- package/build/mcp/a2a/orchestrator/ralph-runner.d.ts +0 -0
- package/build/mcp/a2a/orchestrator/ralph-runner.js +0 -0
- package/build/mcp/a2a/orchestrator/rewind-actions.d.ts +2 -2
- package/build/mcp/a2a/orchestrator/rewind-actions.js +39 -27
- package/build/mcp/a2a/state/index.d.ts +6 -0
- package/build/mcp/a2a/state/index.js +6 -0
- package/build/mcp/a2a/state/manager.d.ts +105 -0
- package/build/mcp/a2a/state/manager.js +565 -0
- package/build/mcp/a2a/state/types.d.ts +179 -0
- package/build/mcp/a2a/state/types.js +46 -0
- package/build/mcp/a2a/types.d.ts +23 -1
- package/build/mcp/a2a/types.js +0 -0
- package/build/mcp/agents/catalog_loader.d.ts +23 -0
- package/build/mcp/agents/catalog_loader.js +168 -0
- package/build/mcp/agents/checksum.d.ts +30 -0
- package/build/mcp/agents/checksum.js +51 -0
- package/build/mcp/agents/dependency_resolver.d.ts +34 -0
- package/build/mcp/agents/dependency_resolver.js +109 -0
- package/build/mcp/agents/dispatcher.d.ts +33 -0
- package/build/mcp/agents/dispatcher.js +168 -0
- package/build/mcp/agents/feedback_loop.d.ts +84 -0
- package/build/mcp/agents/feedback_loop.js +241 -0
- package/build/mcp/agents/index.d.ts +13 -0
- package/build/mcp/agents/index.js +18 -0
- package/build/mcp/agents/lifecycle_monitor.d.ts +59 -0
- package/build/mcp/agents/lifecycle_monitor.js +189 -0
- package/build/mcp/agents/manifest_validator.d.ts +31 -0
- package/build/mcp/agents/manifest_validator.js +120 -0
- package/build/mcp/agents/oppa_router.d.ts +44 -0
- package/build/mcp/agents/oppa_router.js +134 -0
- package/build/mcp/agents/tool_executor.d.ts +22 -0
- package/build/mcp/agents/tool_executor.js +82 -0
- package/build/mcp/agents/types.d.ts +139 -0
- package/build/mcp/agents/types.js +7 -0
- package/build/mcp/agents/workflow_engine.d.ts +25 -0
- package/build/mcp/agents/workflow_engine.js +226 -0
- package/build/mcp/ai-native/discover.d.ts +41 -0
- package/build/mcp/ai-native/discover.js +69 -0
- package/build/mcp/ai-native/envelope.d.ts +47 -0
- package/build/mcp/ai-native/envelope.js +70 -0
- package/build/mcp/ai-native/health.d.ts +33 -0
- package/build/mcp/ai-native/health.js +97 -0
- package/build/mcp/ai-native/index.d.ts +7 -0
- package/build/mcp/ai-native/index.js +7 -0
- package/build/mcp/ai-native/next_action.d.ts +53 -0
- package/build/mcp/ai-native/next_action.js +133 -0
- package/build/mcp/airlock/airlock.d.ts +0 -0
- package/build/mcp/airlock/airlock.js +0 -0
- package/build/mcp/airlock/index.d.ts +0 -0
- package/build/mcp/airlock/index.js +0 -0
- package/build/mcp/airlock/policy.d.ts +2 -2
- package/build/mcp/airlock/policy.js +6 -6
- package/build/mcp/airlock/redact.d.ts +0 -0
- package/build/mcp/airlock/redact.js +0 -0
- package/build/mcp/airlock/report.d.ts +1 -1
- package/build/mcp/airlock/report.js +25 -25
- package/build/mcp/airlock/types.d.ts +0 -0
- package/build/mcp/airlock/types.js +0 -0
- package/build/mcp/auth/gate.d.ts +0 -0
- package/build/mcp/auth/gate.js +0 -0
- package/build/mcp/auth/index.d.ts +0 -0
- package/build/mcp/auth/index.js +0 -0
- package/build/mcp/auth/public_key.d.ts +0 -0
- package/build/mcp/auth/public_key.js +0 -0
- package/build/mcp/auth/token_cache.d.ts +0 -0
- package/build/mcp/auth/token_cache.js +2 -1
- package/build/mcp/auth/token_verifier.d.ts +0 -0
- package/build/mcp/auth/token_verifier.js +0 -0
- package/build/mcp/bootstrap/doctor.d.ts +0 -0
- package/build/mcp/bootstrap/doctor.js +3 -3
- package/build/mcp/bootstrap/installer.d.ts +12 -33
- package/build/mcp/bootstrap/installer.js +244 -674
- package/build/mcp/bootstrap/installer_env.d.ts +19 -0
- package/build/mcp/bootstrap/installer_env.js +128 -0
- package/build/mcp/bootstrap/installer_network.d.ts +24 -0
- package/build/mcp/bootstrap/installer_network.js +192 -0
- package/build/mcp/bootstrap/installer_version.d.ts +54 -0
- package/build/mcp/bootstrap/installer_version.js +163 -0
- package/build/mcp/bootstrap/lock.d.ts +0 -0
- package/build/mcp/bootstrap/lock.js +0 -0
- package/build/mcp/bootstrap/platform.d.ts +0 -0
- package/build/mcp/bootstrap/platform.js +0 -0
- package/build/mcp/bootstrap/registry.d.ts +12 -0
- package/build/mcp/bootstrap/registry.js +53 -4
- package/build/mcp/bootstrap/skills-installer.d.ts +15 -15
- package/build/mcp/bootstrap/skills-installer.js +115 -102
- package/build/mcp/cache/index.d.ts +0 -0
- package/build/mcp/cache/index.js +0 -0
- package/build/mcp/chunking/artifacts.d.ts +44 -4
- package/build/mcp/chunking/artifacts.js +120 -21
- package/build/mcp/chunking/chunking.d.ts +37 -1
- package/build/mcp/chunking/chunking.js +108 -24
- package/build/mcp/chunking/index.d.ts +0 -0
- package/build/mcp/chunking/index.js +0 -0
- package/build/mcp/chunking/policy.d.ts +3 -3
- package/build/mcp/chunking/policy.js +11 -11
- package/build/mcp/chunking/types.d.ts +0 -0
- package/build/mcp/chunking/types.js +0 -0
- package/build/mcp/cli.d.ts +0 -0
- package/build/mcp/cli.js +17 -1
- package/build/mcp/cockpit-bridge/client.d.ts +85 -2
- package/build/mcp/cockpit-bridge/client.js +170 -9
- package/build/mcp/cockpit-bridge/index.d.ts +0 -0
- package/build/mcp/cockpit-bridge/index.js +2 -1
- package/build/mcp/cockpit-bridge/tools/command.d.ts +25 -1
- package/build/mcp/cockpit-bridge/tools/command.js +26 -4
- package/build/mcp/cockpit-bridge/tools/decide.d.ts +0 -0
- package/build/mcp/cockpit-bridge/tools/decide.js +0 -0
- package/build/mcp/cockpit-bridge/tools/gate_result.d.ts +19 -0
- package/build/mcp/cockpit-bridge/tools/gate_result.js +64 -0
- package/build/mcp/cockpit-bridge/tools/index.d.ts +1 -0
- package/build/mcp/cockpit-bridge/tools/index.js +3 -0
- package/build/mcp/cockpit-bridge/tools/manual.d.ts +0 -0
- package/build/mcp/cockpit-bridge/tools/manual.js +2 -2
- package/build/mcp/cockpit-bridge/tools/prompt.d.ts +0 -0
- package/build/mcp/cockpit-bridge/tools/prompt.js +0 -0
- package/build/mcp/cockpit-bridge/tools/status.d.ts +0 -0
- package/build/mcp/cockpit-bridge/tools/status.js +0 -0
- package/build/mcp/contracts.d.ts +4 -4
- package/build/mcp/contracts.js +0 -0
- package/build/mcp/engine/deps.d.ts +12 -0
- package/build/mcp/engine/deps.js +19 -0
- package/build/mcp/engine/lazy.d.ts +5 -0
- package/build/mcp/engine/lazy.js +32 -0
- package/build/mcp/engine.d.ts +4 -3
- package/build/mcp/engine.js +79 -38
- package/build/mcp/errors.d.ts +21 -0
- package/build/mcp/errors.js +36 -0
- package/build/mcp/events/constants.d.ts +7 -0
- package/build/mcp/events/constants.js +8 -0
- package/build/mcp/events/dedup_cooldown.d.ts +0 -0
- package/build/mcp/events/dedup_cooldown.js +0 -0
- package/build/mcp/events/dedup_registry.d.ts +3 -0
- package/build/mcp/events/dedup_registry.js +25 -0
- package/build/mcp/events/emitter.d.ts +5 -2
- package/build/mcp/events/emitter.js +16 -10
- package/build/mcp/events/event_loop.d.ts +2 -1
- package/build/mcp/events/event_loop.js +94 -89
- package/build/mcp/events/index.d.ts +10 -11
- package/build/mcp/events/index.js +10 -11
- package/build/mcp/events/logger.d.ts +0 -0
- package/build/mcp/events/logger.js +0 -0
- package/build/mcp/events/mq.d.ts +2 -1
- package/build/mcp/events/mq.js +2 -2
- package/build/mcp/events/mq_nats.d.ts +0 -0
- package/build/mcp/events/mq_nats.js +3 -2
- package/build/mcp/events/mq_redis.d.ts +0 -0
- package/build/mcp/events/mq_redis.js +2 -1
- package/build/mcp/events/nav_refresh.d.ts +0 -0
- package/build/mcp/events/nav_refresh.js +15 -15
- package/build/mcp/events/processor.d.ts +2 -2
- package/build/mcp/events/processor.js +56 -24
- package/build/mcp/events/replay.d.ts +0 -0
- package/build/mcp/events/replay.js +0 -0
- package/build/mcp/events/types.d.ts +7 -4
- package/build/mcp/events/types.js +2 -2
- package/build/mcp/generated/activate_input.d.ts +0 -0
- package/build/mcp/generated/activate_input.js +0 -0
- package/build/mcp/generated/activate_output.d.ts +2 -2
- package/build/mcp/generated/activate_output.js +0 -0
- package/build/mcp/generated/advisory_review_input.d.ts +6 -6
- package/build/mcp/generated/advisory_review_input.js +0 -0
- package/build/mcp/generated/advisory_review_output.d.ts +0 -0
- package/build/mcp/generated/advisory_review_output.js +0 -0
- package/build/mcp/generated/auth_token_file.d.ts +0 -0
- package/build/mcp/generated/auth_token_file.js +0 -0
- package/build/mcp/generated/autopilot_policy.d.ts +0 -0
- package/build/mcp/generated/autopilot_policy.js +0 -0
- package/build/mcp/generated/bee_output.d.ts +59 -0
- package/build/mcp/generated/bee_output.js +36 -0
- package/build/mcp/generated/bitnet_signal.d.ts +18 -18
- package/build/mcp/generated/bitnet_signal.js +0 -0
- package/build/mcp/generated/bridge_build_seed_input.d.ts +0 -0
- package/build/mcp/generated/bridge_build_seed_input.js +0 -0
- package/build/mcp/generated/bridge_build_seed_output.d.ts +2 -2
- package/build/mcp/generated/bridge_build_seed_output.js +0 -0
- package/build/mcp/generated/bridge_confirm_reference_input.d.ts +0 -0
- package/build/mcp/generated/bridge_confirm_reference_input.js +0 -0
- package/build/mcp/generated/bridge_confirm_reference_output.d.ts +2 -2
- package/build/mcp/generated/bridge_confirm_reference_output.js +0 -0
- package/build/mcp/generated/bridge_confirmed_reference_file.d.ts +4 -4
- package/build/mcp/generated/bridge_confirmed_reference_file.js +0 -0
- package/build/mcp/generated/bridge_generate_references_input.d.ts +4 -4
- package/build/mcp/generated/bridge_generate_references_input.js +0 -0
- package/build/mcp/generated/bridge_generate_references_output.d.ts +2 -2
- package/build/mcp/generated/bridge_generate_references_output.js +0 -0
- package/build/mcp/generated/bridge_references_file.d.ts +10 -10
- package/build/mcp/generated/bridge_references_file.js +0 -0
- package/build/mcp/generated/bridge_work_order_seed_file.d.ts +2 -2
- package/build/mcp/generated/bridge_work_order_seed_file.js +0 -0
- package/build/mcp/generated/briefing_input.d.ts +0 -0
- package/build/mcp/generated/briefing_input.js +0 -0
- package/build/mcp/generated/briefing_output.d.ts +2 -2
- package/build/mcp/generated/briefing_output.js +0 -0
- package/build/mcp/generated/clinic_bridge_file.d.ts +0 -0
- package/build/mcp/generated/clinic_bridge_file.js +0 -0
- package/build/mcp/generated/contracts_bundle_info.d.ts +0 -0
- package/build/mcp/generated/contracts_bundle_info.js +0 -0
- package/build/mcp/generated/create_work_order_input.d.ts +0 -0
- package/build/mcp/generated/create_work_order_input.js +0 -0
- package/build/mcp/generated/create_work_order_output.d.ts +20 -20
- package/build/mcp/generated/create_work_order_output.js +0 -0
- package/build/mcp/generated/current_work_order_file.d.ts +0 -0
- package/build/mcp/generated/current_work_order_file.js +0 -0
- package/build/mcp/generated/deps_drift_report.d.ts +6 -6
- package/build/mcp/generated/deps_drift_report.js +0 -0
- package/build/mcp/generated/deps_scan.d.ts +24 -24
- package/build/mcp/generated/deps_scan.js +0 -0
- package/build/mcp/generated/doctor_input.d.ts +8 -2
- package/build/mcp/generated/doctor_input.js +1 -1
- package/build/mcp/generated/doctor_output.d.ts +14 -14
- package/build/mcp/generated/doctor_output.js +0 -0
- package/build/mcp/generated/execution_result.d.ts +12 -12
- package/build/mcp/generated/execution_result.js +0 -0
- package/build/mcp/generated/execution_task.d.ts +12 -12
- package/build/mcp/generated/execution_task.js +0 -0
- package/build/mcp/generated/export_output_input.d.ts +1 -1
- package/build/mcp/generated/export_output_input.js +0 -0
- package/build/mcp/generated/export_output_output.d.ts +6 -6
- package/build/mcp/generated/export_output_output.js +0 -0
- package/build/mcp/generated/finalize_work_input.d.ts +0 -0
- package/build/mcp/generated/finalize_work_input.js +0 -0
- package/build/mcp/generated/finalize_work_output.d.ts +0 -0
- package/build/mcp/generated/finalize_work_output.js +0 -0
- package/build/mcp/generated/gate_input.d.ts +0 -0
- package/build/mcp/generated/gate_input.js +0 -0
- package/build/mcp/generated/gate_output.d.ts +4 -4
- package/build/mcp/generated/gate_output.js +0 -0
- package/build/mcp/generated/gate_result_v1.d.ts +4 -4
- package/build/mcp/generated/gate_result_v1.js +0 -0
- package/build/mcp/generated/get_decision_input.d.ts +0 -0
- package/build/mcp/generated/get_decision_input.js +0 -0
- package/build/mcp/generated/get_decision_output.d.ts +24 -1
- package/build/mcp/generated/get_decision_output.js +45 -7
- package/build/mcp/generated/get_semantic_complexity_input.d.ts +0 -0
- package/build/mcp/generated/get_semantic_complexity_input.js +0 -0
- package/build/mcp/generated/get_semantic_complexity_output.d.ts +2 -2
- package/build/mcp/generated/get_semantic_complexity_output.js +0 -0
- package/build/mcp/generated/handoff_to_clinic.d.ts +0 -0
- package/build/mcp/generated/handoff_to_clinic.js +0 -0
- package/build/mcp/generated/index.d.ts +0 -0
- package/build/mcp/generated/index.js +0 -0
- package/build/mcp/generated/ingress_input.d.ts +0 -0
- package/build/mcp/generated/ingress_input.js +0 -0
- package/build/mcp/generated/ingress_output.d.ts +2 -2
- package/build/mcp/generated/ingress_output.js +0 -0
- package/build/mcp/generated/ingress_resolution_file.d.ts +0 -0
- package/build/mcp/generated/ingress_resolution_file.js +0 -0
- package/build/mcp/generated/ingress_summary_file.d.ts +0 -0
- package/build/mcp/generated/ingress_summary_file.js +0 -0
- package/build/mcp/generated/inspect_code_input.d.ts +5 -2
- package/build/mcp/generated/inspect_code_input.js +1 -1
- package/build/mcp/generated/inspect_code_output.d.ts +6 -6
- package/build/mcp/generated/inspect_code_output.js +0 -0
- package/build/mcp/generated/memory_retrieve_input.d.ts +0 -0
- package/build/mcp/generated/memory_retrieve_input.js +0 -0
- package/build/mcp/generated/memory_retrieve_output.d.ts +0 -0
- package/build/mcp/generated/memory_retrieve_output.js +0 -0
- package/build/mcp/generated/memory_state_file.d.ts +0 -0
- package/build/mcp/generated/memory_state_file.js +0 -0
- package/build/mcp/generated/memory_status_input.d.ts +0 -0
- package/build/mcp/generated/memory_status_input.js +0 -0
- package/build/mcp/generated/memory_status_output.d.ts +2 -2
- package/build/mcp/generated/memory_status_output.js +0 -0
- package/build/mcp/generated/memory_sync_input.d.ts +0 -0
- package/build/mcp/generated/memory_sync_input.js +0 -0
- package/build/mcp/generated/memory_sync_output.d.ts +8 -8
- package/build/mcp/generated/memory_sync_output.js +0 -0
- package/build/mcp/generated/message_template_id_mapping_file.d.ts +2 -2
- package/build/mcp/generated/message_template_id_mapping_file.js +0 -0
- package/build/mcp/generated/observer_event_map.d.ts +18 -18
- package/build/mcp/generated/observer_event_map.js +0 -0
- package/build/mcp/generated/ose_expand_input.d.ts +2 -2
- package/build/mcp/generated/ose_expand_input.js +0 -0
- package/build/mcp/generated/ose_expand_output.d.ts +0 -0
- package/build/mcp/generated/ose_expand_output.js +0 -0
- package/build/mcp/generated/oss_candidates_file.d.ts +12 -12
- package/build/mcp/generated/oss_candidates_file.js +0 -0
- package/build/mcp/generated/oss_decisions_file.d.ts +0 -0
- package/build/mcp/generated/oss_decisions_file.js +0 -0
- package/build/mcp/generated/oss_snippets_file.d.ts +16 -16
- package/build/mcp/generated/oss_snippets_file.js +0 -0
- package/build/mcp/generated/plugin_result.d.ts +0 -0
- package/build/mcp/generated/plugin_result.js +0 -0
- package/build/mcp/generated/react_perf_check_patterns_input.d.ts +2 -2
- package/build/mcp/generated/react_perf_check_patterns_input.js +0 -0
- package/build/mcp/generated/react_perf_check_patterns_output.d.ts +8 -8
- package/build/mcp/generated/react_perf_check_patterns_output.js +0 -0
- package/build/mcp/generated/react_perf_generate_report_input.d.ts +0 -0
- package/build/mcp/generated/react_perf_generate_report_input.js +0 -0
- package/build/mcp/generated/react_perf_generate_report_output.d.ts +6 -6
- package/build/mcp/generated/react_perf_generate_report_output.js +0 -0
- package/build/mcp/generated/read_file_input.d.ts +0 -0
- package/build/mcp/generated/read_file_input.js +0 -0
- package/build/mcp/generated/read_file_output.d.ts +8 -8
- package/build/mcp/generated/read_file_output.js +0 -0
- package/build/mcp/generated/repair_analysis_engine_input.d.ts +0 -0
- package/build/mcp/generated/repair_analysis_engine_input.js +0 -0
- package/build/mcp/generated/repair_analysis_engine_output.d.ts +2 -2
- package/build/mcp/generated/repair_analysis_engine_output.js +0 -0
- package/build/mcp/generated/repair_plan_input.d.ts +0 -0
- package/build/mcp/generated/repair_plan_input.js +0 -0
- package/build/mcp/generated/repair_plan_output.d.ts +2 -2
- package/build/mcp/generated/repair_plan_output.js +0 -0
- package/build/mcp/generated/run_app_input.d.ts +4 -4
- package/build/mcp/generated/run_app_input.js +0 -0
- package/build/mcp/generated/run_app_output.d.ts +4 -4
- package/build/mcp/generated/run_app_output.js +0 -0
- package/build/mcp/generated/run_state_file.d.ts +0 -0
- package/build/mcp/generated/run_state_file.js +0 -0
- package/build/mcp/generated/scaffold_input.d.ts +2 -2
- package/build/mcp/generated/scaffold_input.js +0 -0
- package/build/mcp/generated/scaffold_output.d.ts +0 -0
- package/build/mcp/generated/scaffold_output.js +0 -0
- package/build/mcp/generated/scout_input.d.ts +27 -0
- package/build/mcp/generated/scout_input.js +21 -0
- package/build/mcp/generated/scout_output.d.ts +33 -0
- package/build/mcp/generated/scout_output.js +20 -0
- package/build/mcp/generated/search_oss_input.d.ts +2 -2
- package/build/mcp/generated/search_oss_input.js +0 -0
- package/build/mcp/generated/search_oss_output.d.ts +12 -12
- package/build/mcp/generated/search_oss_output.js +0 -0
- package/build/mcp/generated/selection_validation_result.d.ts +4 -4
- package/build/mcp/generated/selection_validation_result.js +0 -0
- package/build/mcp/generated/signal_agent_input.d.ts +0 -0
- package/build/mcp/generated/signal_agent_input.js +0 -0
- package/build/mcp/generated/skillpack_file.d.ts +18 -18
- package/build/mcp/generated/skillpack_file.js +0 -0
- package/build/mcp/generated/skills_input.d.ts +2 -2
- package/build/mcp/generated/skills_input.js +0 -0
- package/build/mcp/generated/skills_output.d.ts +20 -20
- package/build/mcp/generated/skills_output.js +0 -0
- package/build/mcp/generated/spec_expansion_file.d.ts +12 -12
- package/build/mcp/generated/spec_expansion_file.js +0 -0
- package/build/mcp/generated/spec_high_ask_queue_items_file.d.ts +35 -35
- package/build/mcp/generated/spec_high_ask_queue_items_file.js +0 -0
- package/build/mcp/generated/spec_high_clinic_bridge_output.d.ts +0 -0
- package/build/mcp/generated/spec_high_clinic_bridge_output.js +0 -0
- package/build/mcp/generated/spec_high_decision_draft_output.d.ts +0 -0
- package/build/mcp/generated/spec_high_decision_draft_output.js +0 -0
- package/build/mcp/generated/spec_high_validate_output.d.ts +2 -2
- package/build/mcp/generated/spec_high_validate_output.js +0 -0
- package/build/mcp/generated/status_input.d.ts +0 -0
- package/build/mcp/generated/status_input.js +0 -0
- package/build/mcp/generated/status_output.d.ts +100 -67
- package/build/mcp/generated/status_output.js +142 -65
- package/build/mcp/generated/submit_decision_input.d.ts +9 -0
- package/build/mcp/generated/submit_decision_input.js +1 -1
- package/build/mcp/generated/submit_decision_output.d.ts +2 -2
- package/build/mcp/generated/submit_decision_output.js +0 -0
- package/build/mcp/generated/tool_error_output.d.ts +2 -2
- package/build/mcp/generated/tool_error_output.js +0 -0
- package/build/mcp/generated/undo_last_task_input.d.ts +0 -0
- package/build/mcp/generated/undo_last_task_input.js +0 -0
- package/build/mcp/generated/undo_last_task_output.d.ts +0 -0
- package/build/mcp/generated/undo_last_task_output.js +0 -0
- package/build/mcp/generated/update_input.d.ts +2 -2
- package/build/mcp/generated/update_input.js +0 -0
- package/build/mcp/generated/update_output.d.ts +8 -8
- package/build/mcp/generated/update_output.js +0 -0
- package/build/mcp/generated/verification_steps.d.ts +20 -20
- package/build/mcp/generated/verification_steps.js +0 -0
- package/build/mcp/generated/vibe_pm_inspection_result.d.ts +0 -0
- package/build/mcp/generated/vibe_pm_inspection_result.js +0 -0
- package/build/mcp/generated/vibe_pm_report_markdown.d.ts +0 -0
- package/build/mcp/generated/vibe_pm_report_markdown.js +0 -0
- package/build/mcp/generated/vibe_pm_verdict.d.ts +2 -2
- package/build/mcp/generated/vibe_pm_verdict.js +0 -0
- package/build/mcp/generated/vibe_repo_config.d.ts +22 -22
- package/build/mcp/generated/vibe_repo_config.js +0 -0
- package/build/mcp/generated/vibecoding_helper_answer_output.d.ts +0 -0
- package/build/mcp/generated/vibecoding_helper_answer_output.js +0 -0
- package/build/mcp/generated/vibecoding_helper_one_loop_selection_output.d.ts +10 -10
- package/build/mcp/generated/vibecoding_helper_one_loop_selection_output.js +0 -0
- package/build/mcp/generated/vibecoding_helper_show_ask_queue_output.d.ts +8 -8
- package/build/mcp/generated/vibecoding_helper_show_ask_queue_output.js +0 -0
- package/build/mcp/generated/work_order_v1.d.ts +0 -0
- package/build/mcp/generated/work_order_v1.js +0 -0
- package/build/mcp/generated/zoekt_evidence_input.d.ts +0 -0
- package/build/mcp/generated/zoekt_evidence_input.js +0 -0
- package/build/mcp/generated/zoekt_evidence_output.d.ts +2 -2
- package/build/mcp/generated/zoekt_evidence_output.js +0 -0
- package/build/mcp/hive-bridge/client.d.ts +19 -0
- package/build/mcp/hive-bridge/client.js +40 -0
- package/build/mcp/hive-bridge/index.d.ts +9 -0
- package/build/mcp/hive-bridge/index.js +9 -0
- package/build/mcp/hive-bridge/tools/file_list.d.ts +31 -0
- package/build/mcp/hive-bridge/tools/file_list.js +35 -0
- package/build/mcp/hive-bridge/tools/file_read.d.ts +31 -0
- package/build/mcp/hive-bridge/tools/file_read.js +35 -0
- package/build/mcp/hive-bridge/tools/index.d.ts +13 -0
- package/build/mcp/hive-bridge/tools/index.js +15 -0
- package/build/mcp/hive-bridge/tools/nodes.d.ts +19 -0
- package/build/mcp/hive-bridge/tools/nodes.js +30 -0
- package/build/mcp/hive-bridge/tools/run_command.d.ts +36 -0
- package/build/mcp/hive-bridge/tools/run_command.js +39 -0
- package/build/mcp/hive-bridge/tools/submit_job.d.ts +36 -0
- package/build/mcp/hive-bridge/tools/submit_job.js +40 -0
- package/build/mcp/index.d.ts +0 -0
- package/build/mcp/index.js +118 -55
- package/build/mcp/legacy_alias.d.ts +0 -0
- package/build/mcp/legacy_alias.js +0 -0
- package/build/mcp/mcp-logger.d.ts +13 -0
- package/build/mcp/mcp-logger.js +18 -0
- package/build/mcp/metrics/collector.d.ts +27 -0
- package/build/mcp/metrics/collector.js +19 -3
- package/build/mcp/metrics/index.d.ts +2 -1
- package/build/mcp/metrics/index.js +1 -1
- package/build/mcp/metrics/server.d.ts +0 -0
- package/build/mcp/metrics/server.js +8 -1
- package/build/mcp/metrics/types.d.ts +0 -0
- package/build/mcp/metrics/types.js +0 -0
- package/build/mcp/musu-bridge/client.d.ts +13 -0
- package/build/mcp/musu-bridge/client.js +53 -0
- package/build/mcp/musu-bridge/index.d.ts +9 -0
- package/build/mcp/musu-bridge/index.js +9 -0
- package/build/mcp/musu-bridge/tools/dispatch.d.ts +36 -0
- package/build/mcp/musu-bridge/tools/dispatch.js +38 -0
- package/build/mcp/musu-bridge/tools/fleet.d.ts +26 -0
- package/build/mcp/musu-bridge/tools/fleet.js +27 -0
- package/build/mcp/musu-bridge/tools/gateway.d.ts +19 -0
- package/build/mcp/musu-bridge/tools/gateway.js +21 -0
- package/build/mcp/musu-bridge/tools/index.d.ts +14 -0
- package/build/mcp/musu-bridge/tools/index.js +17 -0
- package/build/mcp/musu-bridge/tools/knowledge.d.ts +31 -0
- package/build/mcp/musu-bridge/tools/knowledge.js +33 -0
- package/build/mcp/musu-bridge/tools/run.d.ts +31 -0
- package/build/mcp/musu-bridge/tools/run.js +33 -0
- package/build/mcp/musu-bridge/tools/status.d.ts +19 -0
- package/build/mcp/musu-bridge/tools/status.js +21 -0
- package/build/mcp/packs/catalog.d.ts +23 -0
- package/build/mcp/packs/catalog.js +115 -0
- package/build/mcp/packs/index.d.ts +2 -0
- package/build/mcp/packs/index.js +2 -0
- package/build/mcp/packs/resolver.d.ts +9 -0
- package/build/mcp/packs/resolver.js +38 -0
- package/build/mcp/path-utils.d.ts +0 -0
- package/build/mcp/path-utils.js +0 -0
- package/build/mcp/policy/context.d.ts +7 -0
- package/build/mcp/policy/context.js +8 -0
- package/build/mcp/policy/index.d.ts +0 -0
- package/build/mcp/policy/index.js +0 -0
- package/build/mcp/policy/loader.d.ts +0 -0
- package/build/mcp/policy/loader.js +0 -0
- package/build/mcp/policy/requirements.d.ts +16 -0
- package/build/mcp/policy/requirements.js +19 -0
- package/build/mcp/policy/schema.d.ts +70 -70
- package/build/mcp/policy/schema.js +0 -0
- package/build/mcp/policy/unified.d.ts +14 -0
- package/build/mcp/policy/unified.js +148 -0
- package/build/mcp/preprocess.d.ts +0 -0
- package/build/mcp/preprocess.js +0 -0
- package/build/mcp/profile-config.d.ts +18 -3
- package/build/mcp/profile-config.js +107 -57
- package/build/mcp/progress.d.ts +14 -0
- package/build/mcp/progress.js +39 -0
- package/build/mcp/prompts/agent_personas.d.ts +9 -0
- package/build/mcp/prompts/agent_personas.js +140 -0
- package/build/mcp/prompts/prime_persona.d.ts +11 -0
- package/build/mcp/prompts/prime_persona.js +92 -0
- package/build/mcp/prompts/vibe.d.ts +2 -0
- package/build/mcp/prompts/vibe.js +62 -0
- package/build/mcp/recipe/catalog.d.ts +3 -0
- package/build/mcp/recipe/catalog.js +30 -0
- package/build/mcp/recipe/index.d.ts +4 -0
- package/build/mcp/recipe/index.js +3 -0
- package/build/mcp/recipe/renderer.d.ts +2 -0
- package/build/mcp/recipe/renderer.js +138 -0
- package/build/mcp/recipe/types.d.ts +98 -0
- package/build/mcp/recipe/types.js +42 -0
- package/build/mcp/resources/vibe.d.ts +2 -0
- package/build/mcp/resources/vibe.js +104 -0
- package/build/mcp/router/artifacts.d.ts +2 -2
- package/build/mcp/router/artifacts.js +11 -11
- package/build/mcp/router/decide.d.ts +0 -0
- package/build/mcp/router/decide.js +0 -0
- package/build/mcp/router/index.d.ts +0 -0
- package/build/mcp/router/index.js +0 -0
- package/build/mcp/router/rules.d.ts +2 -2
- package/build/mcp/router/rules.js +7 -7
- package/build/mcp/router/types.d.ts +0 -0
- package/build/mcp/router/types.js +0 -0
- package/build/mcp/run-retention.d.ts +0 -0
- package/build/mcp/run-retention.js +10 -10
- package/build/mcp/runtime/engine_http_client.d.ts +20 -0
- package/build/mcp/runtime/engine_http_client.js +66 -0
- package/build/mcp/runtime/helper_commands.d.ts +0 -0
- package/build/mcp/runtime/helper_commands.js +0 -0
- package/build/mcp/runtime/helper_invoker.d.ts +1 -1
- package/build/mcp/runtime/helper_invoker.js +168 -14
- package/build/mcp/runtime/helper_resolver.d.ts +10 -1
- package/build/mcp/runtime/helper_resolver.js +64 -16
- package/build/mcp/runtime/index.d.ts +3 -1
- package/build/mcp/runtime/index.js +3 -1
- package/build/mcp/runtime/vpm_back_client.d.ts +53 -0
- package/build/mcp/runtime/vpm_back_client.js +34 -0
- package/build/mcp/security/input-validator.d.ts +0 -0
- package/build/mcp/security/input-validator.js +0 -0
- package/build/mcp/security/path-policy.d.ts +0 -0
- package/build/mcp/security/path-policy.js +0 -0
- package/build/mcp/security/sandbox.d.ts +9 -6
- package/build/mcp/security/sandbox.js +72 -101
- package/build/mcp/skills/deps.d.ts +11 -0
- package/build/mcp/skills/deps.js +21 -0
- package/build/mcp/skills/lazy.d.ts +14 -0
- package/build/mcp/skills/lazy.js +48 -0
- package/build/mcp/tool-handler-registry.d.ts +28 -0
- package/build/mcp/tool-handler-registry.js +36 -0
- package/build/mcp/tool-registry.d.ts +4 -1
- package/build/mcp/tool-registry.js +323 -44
- package/build/mcp/tools/agents.d.ts +173 -0
- package/build/mcp/tools/agents.js +303 -0
- package/build/mcp/tools/bitnet/api.d.ts +166 -0
- package/build/mcp/tools/bitnet/api.js +519 -0
- package/build/mcp/tools/bitnet/context.d.ts +4 -0
- package/build/mcp/tools/bitnet/context.js +62 -0
- package/build/mcp/tools/bitnet/git.d.ts +1 -0
- package/build/mcp/tools/bitnet/git.js +10 -0
- package/build/mcp/tools/bitnet/index.d.ts +10 -491
- package/build/mcp/tools/bitnet/index.js +11 -746
- package/build/mcp/tools/bitnet/rules.d.ts +4 -0
- package/build/mcp/tools/bitnet/rules.js +175 -0
- package/build/mcp/tools/bitnet/schemas.d.ts +450 -0
- package/build/mcp/tools/bitnet/schemas.js +147 -0
- package/build/mcp/tools/bitnet/scout_diagnosis.d.ts +34 -0
- package/build/mcp/tools/bitnet/scout_diagnosis.js +82 -0
- package/build/mcp/tools/bitnet/trace_store.d.ts +9 -0
- package/build/mcp/tools/bitnet/trace_store.js +91 -0
- package/build/mcp/tools/bitnet/types.d.ts +44 -0
- package/build/mcp/tools/bitnet/types.js +15 -0
- package/build/mcp/tools/shared/boundary_errors.d.ts +33 -0
- package/build/mcp/tools/shared/boundary_errors.js +41 -0
- package/build/mcp/tools/shared/tier_facade.d.ts +55 -0
- package/build/mcp/tools/shared/tier_facade.js +91 -0
- package/build/mcp/tools/templates/apply.d.ts +122 -0
- package/build/mcp/tools/templates/apply.js +173 -0
- package/build/mcp/tools/templates/catalog.d.ts +12 -0
- package/build/mcp/tools/templates/catalog.js +132 -0
- package/build/mcp/tools/templates/detail.d.ts +51 -0
- package/build/mcp/tools/templates/detail.js +58 -0
- package/build/mcp/tools/templates/helpers.d.ts +52 -0
- package/build/mcp/tools/templates/helpers.js +247 -0
- package/build/mcp/tools/templates/index.d.ts +15 -0
- package/build/mcp/tools/templates/index.js +15 -0
- package/build/mcp/tools/templates/list.d.ts +41 -0
- package/build/mcp/tools/templates/list.js +69 -0
- package/build/mcp/tools/templates/run_maintenance.d.ts +68 -0
- package/build/mcp/tools/templates/run_maintenance.js +120 -0
- package/build/mcp/tools/templates/run_recover.d.ts +87 -0
- package/build/mcp/tools/templates/run_recover.js +261 -0
- package/build/mcp/tools/templates/run_start.d.ts +144 -0
- package/build/mcp/tools/templates/run_start.js +140 -0
- package/build/mcp/tools/templates/run_status.d.ts +103 -0
- package/build/mcp/tools/templates/run_status.js +120 -0
- package/build/mcp/tools/templates/screenshot.d.ts +10 -0
- package/build/mcp/tools/templates/screenshot.js +104 -0
- package/build/mcp/tools/templates/types.d.ts +163 -0
- package/build/mcp/tools/templates/types.js +5 -0
- package/build/mcp/tools/templates/validate.d.ts +5 -0
- package/build/mcp/tools/templates/validate.js +82 -0
- package/build/mcp/tools/templates/validate_tool.d.ts +49 -0
- package/build/mcp/tools/templates/validate_tool.js +77 -0
- package/build/mcp/tools/vibe_pm/agent.d.ts +60 -0
- package/build/mcp/tools/vibe_pm/agent.js +973 -0
- package/build/mcp/tools/vibe_pm/ask-queue/index.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/ask-queue/index.js +0 -0
- package/build/mcp/tools/vibe_pm/ask-queue/loader.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/ask-queue/loader.js +0 -0
- package/build/mcp/tools/vibe_pm/ask-queue/transformer.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/ask-queue/transformer.js +0 -0
- package/build/mcp/tools/vibe_pm/ask-queue/types.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/ask-queue/types.js +0 -0
- package/build/mcp/tools/vibe_pm/auto-init.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/auto-init.js +2 -1
- package/build/mcp/tools/vibe_pm/autopilot.d.ts +13 -2
- package/build/mcp/tools/vibe_pm/autopilot.js +72 -13
- package/build/mcp/tools/vibe_pm/bitnet-cache.d.ts +6 -7
- package/build/mcp/tools/vibe_pm/bitnet-cache.js +37 -37
- package/build/mcp/tools/vibe_pm/bitnet-ensure.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/bitnet-ensure.js +0 -0
- package/build/mcp/tools/vibe_pm/bitnet-hook-consumer.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/bitnet-hook-consumer.js +4 -3
- package/build/mcp/tools/vibe_pm/bitnet-runner.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/bitnet-runner.js +2 -5
- package/build/mcp/tools/vibe_pm/block_events.d.ts +37 -0
- package/build/mcp/tools/vibe_pm/block_events.js +86 -0
- package/build/mcp/tools/vibe_pm/block_search.d.ts +36 -0
- package/build/mcp/tools/vibe_pm/block_search.js +79 -0
- package/build/mcp/tools/vibe_pm/block_snapshot.d.ts +43 -0
- package/build/mcp/tools/vibe_pm/block_snapshot.js +167 -0
- package/build/mcp/tools/vibe_pm/briefing.d.ts +4 -2
- package/build/mcp/tools/vibe_pm/briefing.js +56 -33
- package/build/mcp/tools/vibe_pm/context.d.ts +1 -1
- package/build/mcp/tools/vibe_pm/context.js +60 -60
- package/build/mcp/tools/vibe_pm/create_work_order.d.ts +2 -2
- package/build/mcp/tools/vibe_pm/create_work_order.js +120 -69
- package/build/mcp/tools/vibe_pm/dashboard.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/dashboard.js +4 -4
- package/build/mcp/tools/vibe_pm/decision-history.d.ts +30 -0
- package/build/mcp/tools/vibe_pm/decision-history.js +58 -0
- package/build/mcp/tools/vibe_pm/decision-log.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/decision-log.js +0 -0
- package/build/mcp/tools/vibe_pm/diagrams/animator.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/diagrams/animator.js +0 -0
- package/build/mcp/tools/vibe_pm/diagrams/annotations.d.ts +6 -0
- package/build/mcp/tools/vibe_pm/diagrams/annotations.js +102 -0
- package/build/mcp/tools/vibe_pm/diagrams/constants.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/diagrams/constants.js +66 -66
- package/build/mcp/tools/vibe_pm/diagrams/gate_engine.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/diagrams/gate_engine.js +0 -0
- package/build/mcp/tools/vibe_pm/diagrams/generator.d.ts +8 -4
- package/build/mcp/tools/vibe_pm/diagrams/generator.js +53 -51
- package/build/mcp/tools/vibe_pm/diagrams/index.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/diagrams/index.js +0 -0
- package/build/mcp/tools/vibe_pm/diagrams/manifest.d.ts +5 -2
- package/build/mcp/tools/vibe_pm/diagrams/manifest.js +32 -22
- package/build/mcp/tools/vibe_pm/diagrams/mermaid_generator.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/diagrams/mermaid_generator.js +0 -0
- package/build/mcp/tools/vibe_pm/diagrams/renderer.d.ts +6 -2
- package/build/mcp/tools/vibe_pm/diagrams/renderer.js +127 -16
- package/build/mcp/tools/vibe_pm/diagrams/types.d.ts +35 -9
- package/build/mcp/tools/vibe_pm/diagrams/types.js +0 -0
- package/build/mcp/tools/vibe_pm/diagrams/unified_verdict.d.ts +24 -0
- package/build/mcp/tools/vibe_pm/diagrams/unified_verdict.js +61 -0
- package/build/mcp/tools/vibe_pm/dirty-scan.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/dirty-scan.js +0 -0
- package/build/mcp/tools/vibe_pm/docs_structure.d.ts +3 -3
- package/build/mcp/tools/vibe_pm/docs_structure.js +22 -20
- package/build/mcp/tools/vibe_pm/doctor.d.ts +26 -2
- package/build/mcp/tools/vibe_pm/doctor.js +290 -28
- package/build/mcp/tools/vibe_pm/engine-errors/index.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/engine-errors/index.js +0 -0
- package/build/mcp/tools/vibe_pm/engine-errors/normalizer.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/engine-errors/normalizer.js +0 -0
- package/build/mcp/tools/vibe_pm/engine-errors/patterns.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/engine-errors/patterns.js +0 -0
- package/build/mcp/tools/vibe_pm/engine-errors/types.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/engine-errors/types.js +0 -0
- package/build/mcp/tools/vibe_pm/facts/collector.d.ts +1 -1
- package/build/mcp/tools/vibe_pm/facts/collector.js +56 -56
- package/build/mcp/tools/vibe_pm/facts/index.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/facts/index.js +0 -0
- package/build/mcp/tools/vibe_pm/facts/types.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/facts/types.js +0 -0
- package/build/mcp/tools/vibe_pm/failure/classifier.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/failure/classifier.js +0 -0
- package/build/mcp/tools/vibe_pm/failure/index.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/failure/index.js +0 -0
- package/build/mcp/tools/vibe_pm/failure/loop_diagnose.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/failure/loop_diagnose.js +0 -0
- package/build/mcp/tools/vibe_pm/failure/tracker.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/failure/tracker.js +0 -0
- package/build/mcp/tools/vibe_pm/failure/types.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/failure/types.js +0 -0
- package/build/mcp/tools/vibe_pm/feature-flags.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/feature-flags.js +0 -0
- package/build/mcp/tools/vibe_pm/flow_policy.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/flow_policy.js +2 -0
- package/build/mcp/tools/vibe_pm/get_decision.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/get_decision.js +2 -1
- package/build/mcp/tools/vibe_pm/get_result.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/get_result.js +0 -0
- package/build/mcp/tools/vibe_pm/human_tools.d.ts +51 -0
- package/build/mcp/tools/vibe_pm/human_tools.js +280 -0
- package/build/mcp/tools/vibe_pm/index.d.ts +566 -245
- package/build/mcp/tools/vibe_pm/index.js +341 -727
- package/build/mcp/tools/vibe_pm/ingress.d.ts +4 -4
- package/build/mcp/tools/vibe_pm/ingress.js +73 -97
- package/build/mcp/tools/vibe_pm/init_docs.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/init_docs.js +2 -2
- package/build/mcp/tools/vibe_pm/inspect_code/cockpit.d.ts +12 -0
- package/build/mcp/tools/vibe_pm/inspect_code/cockpit.js +88 -0
- package/build/mcp/tools/vibe_pm/inspect_code/core.d.ts +16 -0
- package/build/mcp/tools/vibe_pm/inspect_code/core.js +612 -0
- package/build/mcp/tools/vibe_pm/inspect_code/helpers.d.ts +23 -0
- package/build/mcp/tools/vibe_pm/inspect_code/helpers.js +146 -0
- package/build/mcp/tools/vibe_pm/inspect_code/index.d.ts +4 -0
- package/build/mcp/tools/vibe_pm/inspect_code/index.js +4 -0
- package/build/mcp/tools/vibe_pm/inspect_code/tier.d.ts +38 -0
- package/build/mcp/tools/vibe_pm/inspect_code/tier.js +100 -0
- package/build/mcp/tools/vibe_pm/inspect_code/types.d.ts +30 -0
- package/build/mcp/tools/vibe_pm/inspect_code/types.js +4 -0
- package/build/mcp/tools/vibe_pm/intent_parser.d.ts +50 -0
- package/build/mcp/tools/vibe_pm/intent_parser.js +131 -0
- package/build/mcp/tools/vibe_pm/intent_status.d.ts +45 -0
- package/build/mcp/tools/vibe_pm/intent_status.js +64 -0
- package/build/mcp/tools/vibe_pm/knowledge_search.d.ts +22 -0
- package/build/mcp/tools/vibe_pm/knowledge_search.js +51 -0
- package/build/mcp/tools/vibe_pm/mapping/change_map.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/mapping/change_map.js +0 -0
- package/build/mcp/tools/vibe_pm/mapping/diff_scan.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/mapping/diff_scan.js +0 -0
- package/build/mcp/tools/vibe_pm/mapping/gate_judge.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/mapping/gate_judge.js +0 -0
- package/build/mcp/tools/vibe_pm/mapping/import_scan.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/mapping/import_scan.js +0 -0
- package/build/mcp/tools/vibe_pm/mapping/index.d.ts +1 -1
- package/build/mcp/tools/vibe_pm/mapping/index.js +1 -1
- package/build/mcp/tools/vibe_pm/mapping/orchestrator.d.ts +20 -7
- package/build/mcp/tools/vibe_pm/mapping/orchestrator.js +208 -61
- package/build/mcp/tools/vibe_pm/mapping/rebinder/evidence_collector.d.ts +35 -0
- package/build/mcp/tools/vibe_pm/mapping/rebinder/evidence_collector.js +214 -0
- package/build/mcp/tools/vibe_pm/mapping/rebinder/index.d.ts +10 -0
- package/build/mcp/tools/vibe_pm/mapping/rebinder/index.js +9 -0
- package/build/mcp/tools/vibe_pm/mapping/rebinder/pattern_detector.d.ts +38 -0
- package/build/mcp/tools/vibe_pm/mapping/rebinder/pattern_detector.js +226 -0
- package/build/mcp/tools/vibe_pm/mapping/rebinder/proposal_builder.d.ts +20 -0
- package/build/mcp/tools/vibe_pm/mapping/rebinder/proposal_builder.js +246 -0
- package/build/mcp/tools/vibe_pm/mapping/rebinder/rebinder.d.ts +24 -0
- package/build/mcp/tools/vibe_pm/mapping/rebinder/rebinder.js +65 -0
- package/build/mcp/tools/vibe_pm/mapping/rebinder/rebinder_types.d.ts +113 -0
- package/build/mcp/tools/vibe_pm/mapping/rebinder/rebinder_types.js +15 -0
- package/build/mcp/tools/vibe_pm/mapping/skeleton_patch.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/mapping/skeleton_patch.js +0 -0
- package/build/mcp/tools/vibe_pm/mapping/spec_map.d.ts +1 -1
- package/build/mcp/tools/vibe_pm/mapping/spec_map.js +10 -10
- package/build/mcp/tools/vibe_pm/mapping/types.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/mapping/types.js +0 -0
- package/build/mcp/tools/vibe_pm/memory.d.ts +2 -2
- package/build/mcp/tools/vibe_pm/memory.js +0 -0
- package/build/mcp/tools/vibe_pm/memory_backend.d.ts +6 -5
- package/build/mcp/tools/vibe_pm/memory_backend.js +62 -34
- package/build/mcp/tools/vibe_pm/memory_docs_root.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/memory_docs_root.js +0 -0
- package/build/mcp/tools/vibe_pm/memory_index.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/memory_index.js +0 -0
- package/build/mcp/tools/vibe_pm/memory_index_embeddings.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/memory_index_embeddings.js +0 -0
- package/build/mcp/tools/vibe_pm/memory_index_hashvec.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/memory_index_hashvec.js +0 -0
- package/build/mcp/tools/vibe_pm/memory_index_lancedb.d.ts +38 -0
- package/build/mcp/tools/vibe_pm/memory_index_lancedb.js +125 -0
- package/build/mcp/tools/vibe_pm/memory_rerank.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/memory_rerank.js +0 -0
- package/build/mcp/tools/vibe_pm/memory_retrieve.d.ts +3 -3
- package/build/mcp/tools/vibe_pm/memory_retrieve.js +60 -44
- package/build/mcp/tools/vibe_pm/memory_status.d.ts +2 -2
- package/build/mcp/tools/vibe_pm/memory_status.js +39 -31
- package/build/mcp/tools/vibe_pm/memory_sync.d.ts +2 -2
- package/build/mcp/tools/vibe_pm/memory_sync.js +64 -40
- package/build/mcp/tools/vibe_pm/modules/fix_dependencies.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/modules/fix_dependencies.js +0 -0
- package/build/mcp/tools/vibe_pm/modules/fix_imports.d.ts +1 -1
- package/build/mcp/tools/vibe_pm/modules/fix_imports.js +80 -81
- package/build/mcp/tools/vibe_pm/modules/fix_lint.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/modules/fix_lint.js +0 -0
- package/build/mcp/tools/vibe_pm/modules/one_loop.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/modules/one_loop.js +0 -0
- package/build/mcp/tools/vibe_pm/navigation/index.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/navigation/index.js +0 -0
- package/build/mcp/tools/vibe_pm/navigation/resolver.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/navigation/resolver.js +0 -0
- package/build/mcp/tools/vibe_pm/navigation/rules.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/navigation/rules.js +0 -0
- package/build/mcp/tools/vibe_pm/navigation/types.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/navigation/types.js +0 -0
- package/build/mcp/tools/vibe_pm/nudge.d.ts +31 -0
- package/build/mcp/tools/vibe_pm/nudge.js +163 -0
- package/build/mcp/tools/vibe_pm/observer.d.ts +22 -9
- package/build/mcp/tools/vibe_pm/observer.js +161 -48
- package/build/mcp/tools/vibe_pm/phase.d.ts +2 -2
- package/build/mcp/tools/vibe_pm/phase.js +69 -63
- package/build/mcp/tools/vibe_pm/pm_language.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/pm_language.js +0 -0
- package/build/mcp/tools/vibe_pm/policy/config.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/policy/config.js +0 -0
- package/build/mcp/tools/vibe_pm/policy/index.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/policy/index.js +0 -0
- package/build/mcp/tools/vibe_pm/policy/recommender.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/policy/recommender.js +0 -0
- package/build/mcp/tools/vibe_pm/policy/types.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/policy/types.js +0 -0
- package/build/mcp/tools/vibe_pm/prime_tools.d.ts +160 -0
- package/build/mcp/tools/vibe_pm/prime_tools.js +381 -0
- package/build/mcp/tools/vibe_pm/ralph-loop-tools.d.ts +3 -1
- package/build/mcp/tools/vibe_pm/ralph-loop-tools.js +3 -3
- package/build/mcp/tools/vibe_pm/reexports.d.ts +27 -0
- package/build/mcp/tools/vibe_pm/reexports.js +14 -0
- package/build/mcp/tools/vibe_pm/scaffold.d.ts +6 -6
- package/build/mcp/tools/vibe_pm/scaffold.js +0 -0
- package/build/mcp/tools/vibe_pm/schema-adapter.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/schema-adapter.js +0 -0
- package/build/mcp/tools/vibe_pm/scorecard/index.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/scorecard/index.js +0 -0
- package/build/mcp/tools/vibe_pm/scorecard/types.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/scorecard/types.js +0 -0
- package/build/mcp/tools/vibe_pm/scorecard/writer.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/scorecard/writer.js +2 -1
- package/build/mcp/tools/vibe_pm/scout.d.ts +23 -0
- package/build/mcp/tools/vibe_pm/scout.js +224 -0
- package/build/mcp/tools/vibe_pm/setup.d.ts +3 -0
- package/build/mcp/tools/vibe_pm/setup.js +184 -34
- package/build/mcp/tools/vibe_pm/signals/index.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/signals/index.js +0 -0
- package/build/mcp/tools/vibe_pm/signals/logger.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/signals/logger.js +2 -1
- package/build/mcp/tools/vibe_pm/signals/rotation.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/signals/rotation.js +3 -2
- package/build/mcp/tools/vibe_pm/signals/types.d.ts +1 -1
- package/build/mcp/tools/vibe_pm/signals/types.js +2 -0
- package/build/mcp/tools/vibe_pm/stage-computer.d.ts +40 -0
- package/build/mcp/tools/vibe_pm/stage-computer.js +246 -0
- package/build/mcp/tools/vibe_pm/state-guesser.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/state-guesser.js +0 -0
- package/build/mcp/tools/vibe_pm/state-schema.d.ts +114 -5
- package/build/mcp/tools/vibe_pm/state-schema.js +40 -0
- package/build/mcp/tools/vibe_pm/state-store.d.ts +4 -1
- package/build/mcp/tools/vibe_pm/state-store.js +41 -3
- package/build/mcp/tools/vibe_pm/status.d.ts +1 -1
- package/build/mcp/tools/vibe_pm/status.js +104 -513
- package/build/mcp/tools/vibe_pm/status_logic.d.ts +31 -0
- package/build/mcp/tools/vibe_pm/status_logic.js +138 -0
- package/build/mcp/tools/vibe_pm/status_readers.d.ts +114 -0
- package/build/mcp/tools/vibe_pm/status_readers.js +455 -0
- package/build/mcp/tools/vibe_pm/status_types.d.ts +21 -0
- package/build/mcp/tools/vibe_pm/status_types.js +5 -0
- package/build/mcp/tools/vibe_pm/submit_decision.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/submit_decision.js +11 -2
- package/build/mcp/tools/vibe_pm/submit_task.d.ts +6 -6
- package/build/mcp/tools/vibe_pm/submit_task.js +0 -0
- package/build/mcp/tools/vibe_pm/system_control.d.ts +39 -0
- package/build/mcp/tools/vibe_pm/system_control.js +225 -0
- package/build/mcp/tools/vibe_pm/tool_descriptions.d.ts +1 -0
- package/build/mcp/tools/vibe_pm/tool_descriptions.js +31 -0
- package/build/mcp/tools/vibe_pm/tool_handler_factory.d.ts +84 -0
- package/build/mcp/tools/vibe_pm/tool_handler_factory.js +355 -0
- package/build/mcp/tools/vibe_pm/types/analysis.d.ts +154 -0
- package/build/mcp/tools/vibe_pm/types/analysis.js +37 -0
- package/build/mcp/tools/vibe_pm/types/common.d.ts +70 -0
- package/build/mcp/tools/vibe_pm/types/common.js +90 -0
- package/build/mcp/tools/vibe_pm/types/runtime.d.ts +447 -0
- package/build/mcp/tools/vibe_pm/types/runtime.js +3 -0
- package/build/mcp/tools/vibe_pm/types/schemas.d.ts +4003 -0
- package/build/mcp/tools/vibe_pm/types/schemas.js +111 -0
- package/build/mcp/tools/vibe_pm/types/workflow.d.ts +125 -0
- package/build/mcp/tools/vibe_pm/types/workflow.js +32 -0
- package/build/mcp/tools/vibe_pm/types.d.ts +5 -4649
- package/build/mcp/tools/vibe_pm/types.js +10 -376
- package/build/mcp/tools/vibe_pm/ui/index.d.ts +7 -4
- package/build/mcp/tools/vibe_pm/ui/index.js +12 -9
- package/build/mcp/tools/vibe_pm/ui/manifest.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/ui/manifest.js +0 -0
- package/build/mcp/tools/vibe_pm/ui/realtime_contract.d.ts +15 -0
- package/build/mcp/tools/vibe_pm/ui/realtime_contract.js +28 -0
- package/build/mcp/tools/vibe_pm/ui/types.d.ts +28 -3
- package/build/mcp/tools/vibe_pm/ui/types.js +0 -0
- package/build/mcp/tools/vibe_pm/ui/viewer_bundle.d.ts +1 -1
- package/build/mcp/tools/vibe_pm/ui/viewer_bundle.js +178 -23
- package/build/mcp/tools/vibe_pm/ui/webview_poc.d.ts +7 -0
- package/build/mcp/tools/vibe_pm/ui/webview_poc.js +59 -0
- package/build/mcp/tools/vibe_pm/ui/webview_provider.d.ts +13 -0
- package/build/mcp/tools/vibe_pm/ui/webview_provider.js +33 -0
- package/build/mcp/tools/vibe_pm/ux_fsm.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/ux_fsm.js +0 -0
- package/build/mcp/tools/vibe_pm/verdict/index.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/verdict/index.js +0 -0
- package/build/mcp/tools/vibe_pm/verdict/types.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/verdict/types.js +0 -0
- package/build/mcp/tools/vibe_pm/verdict/writer.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/verdict/writer.js +0 -0
- package/build/mcp/tools/vibe_pm/watcher.d.ts +0 -0
- package/build/mcp/tools/vibe_pm/watcher.js +3 -2
- package/build/mcp/tools/vibe_pm/worker_status.d.ts +2 -2
- package/build/mcp/tools/vibe_pm/worker_status.js +0 -0
- package/build/mcp/tools/vibe_pm/workspace_recipe.d.ts +73 -0
- package/build/mcp/tools/vibe_pm/workspace_recipe.js +65 -0
- package/build/mcp/transport/cli.d.ts +0 -0
- package/build/mcp/transport/cli.js +0 -0
- package/build/mcp/transport/handlers.d.ts +3 -2
- package/build/mcp/transport/handlers.js +47 -25
- package/build/mcp/transport/http.d.ts +10 -6
- package/build/mcp/transport/http.js +137 -31
- package/build/mcp/transport/index.d.ts +0 -0
- package/build/mcp/transport/index.js +0 -0
- package/build/mcp/transport/types.d.ts +0 -0
- package/build/mcp/transport/types.js +0 -0
- package/build/mcp/workspace-root.d.ts +0 -0
- package/build/mcp/workspace-root.js +0 -0
- package/build/native/block-writer-wrapper.d.ts +48 -0
- package/build/native/block-writer-wrapper.js +58 -0
- package/build/native/bloom-wrapper.d.ts +39 -0
- package/build/native/bloom-wrapper.js +120 -0
- package/build/native/index.d.ts +11 -0
- package/build/native/index.js +17 -0
- package/build/native/loader.d.ts +139 -0
- package/build/native/loader.js +116 -0
- package/build/native/merkle-wrapper.d.ts +47 -0
- package/build/native/merkle-wrapper.js +203 -0
- package/build/native/scout-wrapper.d.ts +70 -0
- package/build/native/scout-wrapper.js +166 -0
- package/build/native/utils-wrapper.d.ts +46 -0
- package/build/native/utils-wrapper.js +100 -0
- package/build/observability/otel.d.ts +71 -0
- package/build/observability/otel.js +124 -0
- package/build/offline-queue.d.ts +0 -0
- package/build/offline-queue.js +2 -1
- package/build/pool-manager/adapter.d.ts +0 -0
- package/build/pool-manager/adapter.js +0 -0
- package/build/pool-manager/bitnet-adapter.d.ts +3 -3
- package/build/pool-manager/bitnet-adapter.js +17 -30
- package/build/pool-manager/index.d.ts +4 -0
- package/build/pool-manager/index.js +5 -0
- package/build/pool-manager/mapper-adapter.d.ts +3 -3
- package/build/pool-manager/mapper-adapter.js +17 -30
- package/build/pool-manager/remote-auth.d.ts +18 -0
- package/build/pool-manager/remote-auth.js +36 -0
- package/build/pool-manager/remote-registry.d.ts +81 -0
- package/build/pool-manager/remote-registry.js +130 -0
- package/build/pool-manager/resource-monitor.d.ts +0 -0
- package/build/pool-manager/resource-monitor.js +0 -0
- package/build/pool-manager/rust-engine-adapter.d.ts +56 -0
- package/build/pool-manager/rust-engine-adapter.js +122 -0
- package/build/pool-manager/types.d.ts +1 -1
- package/build/pool-manager/types.js +0 -0
- package/build/pool-manager/unified-pool.d.ts +0 -0
- package/build/pool-manager/unified-pool.js +2 -1
- package/build/profile-config.d.ts +0 -0
- package/build/profile-config.js +0 -0
- package/build/protocol/index.d.ts +1 -0
- package/build/protocol/index.js +1 -0
- package/build/protocol/minp.d.ts +97 -0
- package/build/protocol/minp.js +103 -0
- package/build/report-generator.d.ts +0 -0
- package/build/report-generator.js +8 -8
- package/build/reporting/run_artifacts.d.ts +14 -0
- package/build/reporting/run_artifacts.js +44 -0
- package/build/review-history.d.ts +0 -0
- package/build/review-history.js +0 -0
- package/build/reviewer-ux-types.d.ts +0 -0
- package/build/reviewer-ux-types.js +0 -0
- package/build/scout/client.d.ts +17 -0
- package/build/scout/client.js +33 -0
- package/build/scout/index.d.ts +6 -0
- package/build/scout/index.js +5 -0
- package/build/scout/types.d.ts +41 -0
- package/build/scout/types.js +12 -0
- package/build/shared/http_client.d.ts +12 -0
- package/build/shared/http_client.js +21 -0
- package/build/shared/logger.d.ts +18 -0
- package/build/shared/logger.js +24 -0
- package/build/shared/process-guard.d.ts +14 -0
- package/build/shared/process-guard.js +31 -0
- package/build/skeleton-types.d.ts +0 -0
- package/build/skeleton-types.js +0 -0
- package/build/skill-loader.d.ts +0 -0
- package/build/skill-loader.js +3 -2
- package/build/spec-map.d.ts +0 -0
- package/build/spec-map.js +0 -0
- package/build/startup/index.d.ts +0 -0
- package/build/startup/index.js +0 -0
- package/build/startup/manager.d.ts +4 -0
- package/build/startup/manager.js +157 -46
- package/build/sync-manager.d.ts +1 -2
- package/build/sync-manager.js +0 -0
- package/build/sync-packet-builder.d.ts +10 -10
- package/build/sync-packet-builder.js +41 -55
- package/build/tensor/core.d.ts +13 -0
- package/build/tensor/core.js +129 -0
- package/build/tensor/feature_extractor.d.ts +26 -0
- package/build/tensor/feature_extractor.js +141 -0
- package/build/tensor/index.d.ts +6 -0
- package/build/tensor/index.js +5 -0
- package/build/tensor/loader.d.ts +20 -0
- package/build/tensor/loader.js +120 -0
- package/build/tensor/types.d.ts +56 -0
- package/build/tensor/types.js +19 -0
- package/build/tier/feature_gate.d.ts +16 -14
- package/build/tier/feature_gate.js +139 -119
- package/build/tier/index.d.ts +12 -40
- package/build/tier/index.js +14 -55
- package/build/tier/inference_factory.d.ts +28 -0
- package/build/tier/inference_factory.js +54 -0
- package/build/tier/policy_analysis.d.ts +3 -7
- package/build/tier/policy_analysis.js +104 -155
- package/build/tier/production_bridge.d.ts +52 -0
- package/build/tier/production_bridge.js +127 -0
- package/build/tier/scorecard.d.ts +4 -8
- package/build/tier/scorecard.js +59 -90
- package/build/utils/with_timeout.d.ts +1 -0
- package/build/utils/with_timeout.js +16 -0
- package/build/workers/base/autoscaler.d.ts +0 -0
- package/build/workers/base/autoscaler.js +0 -0
- package/build/workers/base/dashboard.d.ts +0 -0
- package/build/workers/base/dashboard.js +0 -0
- package/build/workers/base/health.d.ts +1 -0
- package/build/workers/base/health.js +31 -35
- package/build/workers/base/index.d.ts +0 -0
- package/build/workers/base/index.js +0 -0
- package/build/workers/base/metrics.d.ts +0 -0
- package/build/workers/base/metrics.js +0 -0
- package/build/workers/base/pool.d.ts +0 -0
- package/build/workers/base/pool.js +2 -1
- package/build/workers/base/queue.d.ts +26 -4
- package/build/workers/base/queue.js +50 -29
- package/build/workers/base/types.d.ts +0 -0
- package/build/workers/base/types.js +0 -0
- package/build/workers/base/worker.d.ts +0 -0
- package/build/workers/base/worker.js +34 -16
- package/build/workers/browser/index.d.ts +0 -0
- package/build/workers/browser/index.js +1 -1
- package/build/workers/build/index.d.ts +0 -0
- package/build/workers/build/index.js +0 -0
- package/build/workers/fs/index.d.ts +0 -0
- package/build/workers/fs/index.js +0 -0
- package/build/workers/index.d.ts +0 -0
- package/build/workers/index.js +3 -2
- package/build/workers/manager.d.ts +1 -0
- package/build/workers/manager.js +19 -9
- package/build/workers/model/index.d.ts +0 -0
- package/build/workers/model/index.js +0 -0
- package/build/workers/search/index.d.ts +4 -0
- package/build/workers/search/index.js +3 -2
- package/package.json +58 -7
- package/schemas/agent-catalog.v1.schema.json +114 -0
- package/schemas/autopilot_policy.v1.schema.json +90 -90
- package/schemas/banned_question_rules.v1.schema.json +0 -0
- package/schemas/bitnet_signal.v1.schema.json +112 -112
- package/schemas/catalog_tree.v1.schema.json +0 -0
- package/schemas/choice_card.v1.schema.json +0 -0
- package/schemas/ci_summary.v1.schema.json +0 -0
- package/schemas/clinic_result.v1.2.schema.json +0 -0
- package/schemas/encrypted_packet.v1.schema.json +0 -0
- package/schemas/handoff_packet.v1.schema.json +0 -0
- package/schemas/observer_event_map.v1.schema.json +89 -89
- package/schemas/result.v1.schema.json +0 -0
- package/schemas/skeleton_map_summary.v1.schema.json +0 -0
- package/schemas/spec_gate_result.v1.schema.json +0 -0
- package/schemas/spec_map.v1.schema.json +0 -0
- package/schemas/sync_packet.v1.schema.json +0 -0
- package/schemas/task.v1.schema.json +0 -0
- package/schemas/template-catalog.v1.1.schema.json +193 -0
- package/schemas/template-catalog.v1.schema.json +169 -0
- package/schemas/template-run.session.v1.schema.json +117 -0
- package/schemas/vibe_tool_status.schema.json +0 -0
- package/schemas/workflow-registry.v1.schema.json +107 -0
- package/scripts/build-artifacts.mjs +124 -124
- package/scripts/build-musu.sh +0 -0
- package/scripts/bundle-native.mjs +393 -0
- package/scripts/check-hotpath-di.mjs +77 -0
- package/scripts/check-hotpath-sync-io.mjs +90 -0
- package/scripts/check-musu.mjs +0 -0
- package/scripts/check-pr-scope.mjs +120 -120
- package/scripts/check-template-runner-contract.mjs +66 -0
- package/scripts/check-template-ui-contract-sync.mjs +166 -0
- package/scripts/clean-build.mjs +20 -20
- package/scripts/diagram-render-metrics-report.mjs +162 -0
- package/scripts/e2e-k8s-test.sh +0 -0
- package/scripts/e2e-podman-test.sh +91 -0
- package/scripts/ensure-exec.mjs +0 -0
- package/scripts/generate-checksums.sh +29 -0
- package/scripts/publish.sh +20 -0
- package/scripts/setup_infra.sh +160 -0
- package/scripts/sync-third-party-notices.mjs +18 -0
- package/scripts/test-mq-integration.mjs +81 -0
- package/scripts/test-musu-smoke.sh +136 -0
- package/scripts/test-smoke.mjs +24 -0
- package/scripts/validate-agents.ts +60 -0
- package/scripts/validate-doc-links.mjs +0 -0
- package/scripts/verify-release-chain.mjs +68 -0
- package/skills/SKILL_openclaw_actions_audit.md +44 -0
- package/skills/SKILL_openclaw_release_hardening.md +37 -0
- package/skills/SKILL_openclaw_shift_left_ci.md +58 -0
- package/skills/index.json +30 -0
- package/skills/skillpack.json +40 -0
- package/skills/skillpack.schema.json +0 -0
- package/templates/agents/cli-agent/Cargo.toml +10 -0
- package/templates/agents/cli-agent/manifest.json +14 -0
- package/templates/agents/cli-agent/src/main.rs +84 -0
- package/templates/agents/http-service/manifest.json +15 -0
- package/templates/agents/http-service/package.json +16 -0
- package/templates/agents/http-service/src/server.ts +60 -0
- package/templates/agents/mcp-tool/manifest.json +15 -0
- package/templates/agents/mcp-tool/package.json +17 -0
- package/templates/agents/mcp-tool/src/index.ts +84 -0
- package/templates/agents/worker-agent/Cargo.toml +11 -0
- package/templates/agents/worker-agent/manifest.json +14 -0
- package/templates/agents/worker-agent/src/main.rs +120 -0
- package/templates/docs-structure/README.md +41 -41
- package/templates/docs-structure/active/.gitkeep +0 -0
- package/templates/docs-structure/archived/legacy/.gitkeep +0 -0
- package/templates/docs-structure/archived/topics/.gitkeep +0 -0
- package/templates/docs-structure/reference/contracts/.gitkeep +0 -0
- package/templates/docs-structure/reference/product-spec/.gitkeep +0 -0
- package/templates/docs-structure/reference/ssot/.gitkeep +0 -0
- package/templates/github-actions/vibe-ci.yml +0 -0
- package/build/dashboard/autostart.d.ts +0 -45
- package/build/dashboard/autostart.js +0 -121
- package/build/mcp/paths.d.ts +0 -29
- package/build/mcp/paths.js +0 -90
- package/build/mcp/runtime/musu_adapter.d.ts +0 -193
- package/build/mcp/runtime/musu_adapter.js +0 -373
- package/build/mcp/tools/vibe_pm/inspect_code.d.ts +0 -10
- package/build/mcp/tools/vibe_pm/inspect_code.js +0 -729
- package/build/mcp/tools.d.ts +0 -1
- package/build/mcp/tools.js +0 -11
- package/build/tier/trigger_facts_collector.js +0 -294
|
@@ -1,41 +1,140 @@
|
|
|
1
|
-
import * as fs from
|
|
2
|
-
import * as path from
|
|
3
|
-
import { ensureDirSync, getPmRunDir } from
|
|
4
|
-
import { emitEvent } from
|
|
5
|
-
|
|
1
|
+
import * as fs from 'node:fs';
|
|
2
|
+
import * as path from 'node:path';
|
|
3
|
+
import { ensureDirSync, getPmRunDir } from '../../kernel/paths.js';
|
|
4
|
+
import { emitEvent } from '../events/emitter.js';
|
|
5
|
+
import { chunksToBlockInputs } from './chunking.js';
|
|
6
|
+
import { computeBlockId } from '../../kernel/blocks/hasher.js';
|
|
7
|
+
import { resolveChainManager } from '../../kernel/resolve_deps.js';
|
|
8
|
+
/**
|
|
9
|
+
* Write chunk artifacts with optional Block Store dual-write.
|
|
10
|
+
*
|
|
11
|
+
* By default, writes to both legacy chunks AND Block Store for backward compatibility.
|
|
12
|
+
* Set options to control write behavior:
|
|
13
|
+
* - writeToBlockStore: false - Skip Block Store (legacy-only mode)
|
|
14
|
+
* - writeLegacyChunks: false - Skip legacy chunks (Block Store-only mode)
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```typescript
|
|
18
|
+
* // Default: dual-write (both legacy and Block Store)
|
|
19
|
+
* writeChunkArtifacts({ workspaceRoot, runId, chunks, manifest });
|
|
20
|
+
*
|
|
21
|
+
* // Legacy-only mode
|
|
22
|
+
* writeChunkArtifacts({ workspaceRoot, runId, chunks, manifest }, { writeToBlockStore: false });
|
|
23
|
+
*
|
|
24
|
+
* // Block Store-only mode (no legacy files)
|
|
25
|
+
* writeChunkArtifacts({ workspaceRoot, runId, chunks, manifest }, { writeLegacyChunks: false });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export function writeChunkArtifacts(params, options = {}, deps) {
|
|
29
|
+
const { writeToBlockStore = true, writeLegacyChunks = true } = options;
|
|
6
30
|
const runDir = getPmRunDir(params.workspaceRoot, params.runId);
|
|
7
|
-
const chunkDir = path.join(runDir,
|
|
31
|
+
const chunkDir = path.join(runDir, 'chunks');
|
|
32
|
+
// Legacy chunk write
|
|
33
|
+
if (writeLegacyChunks) {
|
|
34
|
+
writeLegacyChunkFiles(params, chunkDir);
|
|
35
|
+
}
|
|
36
|
+
// Block Store write
|
|
37
|
+
let chainResult;
|
|
38
|
+
if (writeToBlockStore && params.chunks.length > 0) {
|
|
39
|
+
chainResult = writeToBlockStoreChain(params, deps);
|
|
40
|
+
}
|
|
41
|
+
return { chunkDir, chainResult };
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Write legacy chunk files (backward compatibility).
|
|
45
|
+
*/
|
|
46
|
+
function writeLegacyChunkFiles(params, chunkDir) {
|
|
8
47
|
ensureDirSync(chunkDir);
|
|
9
48
|
for (const chunk of params.chunks) {
|
|
10
49
|
const filePath = path.join(chunkDir, `${chunk.chunk_id}.json`);
|
|
11
50
|
fs.writeFileSync(filePath, JSON.stringify(chunk, null, 2));
|
|
12
51
|
}
|
|
13
|
-
const manifestPath = path.join(chunkDir,
|
|
52
|
+
const manifestPath = path.join(chunkDir, 'chunk_manifest.v1.json');
|
|
14
53
|
fs.writeFileSync(manifestPath, JSON.stringify(params.manifest, null, 2));
|
|
15
|
-
const summaryPath = path.join(chunkDir,
|
|
54
|
+
const summaryPath = path.join(chunkDir, 'chunk_summary.md');
|
|
16
55
|
const summaryLines = [
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
...params.chunks.map(
|
|
56
|
+
'# Chunk Summary',
|
|
57
|
+
'',
|
|
58
|
+
...params.chunks.map(c => `- ${c.chunk_id} (${c.profile}) ${c.source.path}:${c.source.line_start}-${c.source.line_end} (${c.token_estimate} tokens)`),
|
|
20
59
|
];
|
|
21
|
-
fs.writeFileSync(summaryPath, summaryLines.join(
|
|
60
|
+
fs.writeFileSync(summaryPath, summaryLines.join('\n'));
|
|
22
61
|
emitEvent({
|
|
23
62
|
runId: params.manifest.run_id,
|
|
24
|
-
type:
|
|
25
|
-
reason:
|
|
63
|
+
type: 'artifact.chunk_manifest_written',
|
|
64
|
+
reason: 'chunk_manifest_written',
|
|
26
65
|
paths: [manifestPath],
|
|
27
|
-
component:
|
|
28
|
-
actor:
|
|
66
|
+
component: 'chunking',
|
|
67
|
+
actor: 'engine',
|
|
29
68
|
workspaceRoot: params.workspaceRoot,
|
|
30
69
|
});
|
|
31
70
|
emitEvent({
|
|
32
71
|
runId: params.manifest.run_id,
|
|
33
|
-
type:
|
|
34
|
-
reason:
|
|
72
|
+
type: 'artifact.chunk_summary_written',
|
|
73
|
+
reason: 'chunk_summary_written',
|
|
35
74
|
paths: [summaryPath],
|
|
36
|
-
component:
|
|
37
|
-
actor:
|
|
75
|
+
component: 'chunking',
|
|
76
|
+
actor: 'engine',
|
|
77
|
+
workspaceRoot: params.workspaceRoot,
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Write chunks to Block Store as a chain.
|
|
82
|
+
*/
|
|
83
|
+
function writeToBlockStoreChain(params, deps) {
|
|
84
|
+
const { blockStore: store, chainManager } = resolveChainManager(params.workspaceRoot, deps);
|
|
85
|
+
// Use source path from first chunk if not provided
|
|
86
|
+
const sourcePath = params.sourcePath ?? params.chunks[0]?.source.path ?? `run/${params.runId}`;
|
|
87
|
+
// Check for existing chain from same source path
|
|
88
|
+
const oldRootHash = store.getRootHashBySourcePath(sourcePath);
|
|
89
|
+
// Convert chunks to block inputs
|
|
90
|
+
const blockInputs = chunksToBlockInputs(params.chunks);
|
|
91
|
+
// Skip if content unchanged (compare first+last block IDs)
|
|
92
|
+
if (oldRootHash && blockInputs.length > 0) {
|
|
93
|
+
const oldChain = store.getChain(oldRootHash);
|
|
94
|
+
if (oldChain && oldChain.blocks.length === blockInputs.length) {
|
|
95
|
+
const newFirstId = computeBlockId({
|
|
96
|
+
content: blockInputs[0].content,
|
|
97
|
+
sourceRef: blockInputs[0].sourceRef,
|
|
98
|
+
});
|
|
99
|
+
const newLastId = computeBlockId({
|
|
100
|
+
content: blockInputs[blockInputs.length - 1].content,
|
|
101
|
+
sourceRef: blockInputs[blockInputs.length - 1].sourceRef,
|
|
102
|
+
});
|
|
103
|
+
if (oldChain.blocks[0]?.block_id === newFirstId &&
|
|
104
|
+
oldChain.blocks[oldChain.blocks.length - 1]?.block_id === newLastId) {
|
|
105
|
+
return {
|
|
106
|
+
chain: oldChain,
|
|
107
|
+
blocks: [],
|
|
108
|
+
storedCount: 0,
|
|
109
|
+
skippedCount: blockInputs.length,
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
// Create chain
|
|
115
|
+
const result = chainManager.createChain({
|
|
116
|
+
sourcePath,
|
|
117
|
+
blocks: blockInputs,
|
|
118
|
+
});
|
|
119
|
+
// Clean up old chain if root_hash changed (source file content changed)
|
|
120
|
+
if (oldRootHash && oldRootHash !== result.chain.root_hash) {
|
|
121
|
+
store.deleteChain(oldRootHash);
|
|
122
|
+
}
|
|
123
|
+
// Emit Block Store events
|
|
124
|
+
emitEvent({
|
|
125
|
+
runId: params.runId,
|
|
126
|
+
type: 'artifact.chain_created',
|
|
127
|
+
reason: 'block_chain_created',
|
|
128
|
+
paths: [],
|
|
129
|
+
component: 'blocks',
|
|
130
|
+
actor: 'engine',
|
|
38
131
|
workspaceRoot: params.workspaceRoot,
|
|
132
|
+
metadata: {
|
|
133
|
+
root_hash: result.chain.root_hash,
|
|
134
|
+
block_count: result.blocks.length,
|
|
135
|
+
stored_count: result.storedCount,
|
|
136
|
+
skipped_count: result.skippedCount,
|
|
137
|
+
},
|
|
39
138
|
});
|
|
40
|
-
return
|
|
139
|
+
return result;
|
|
41
140
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ChunkData, ChunkInput, ChunkManifest, ChunkPolicy } from
|
|
1
|
+
import { ChunkData, ChunkInput, ChunkManifest, ChunkProfile, ChunkPolicy } from './types.js';
|
|
2
|
+
import { SemanticBlock, BlockType, BlockInput } from '../../kernel/blocks/types.js';
|
|
2
3
|
export declare function buildChunks(input: ChunkInput, overridePolicy?: ChunkPolicy): {
|
|
3
4
|
chunks: ChunkData[];
|
|
4
5
|
manifest: ChunkManifest;
|
|
@@ -8,3 +9,38 @@ export declare function buildAndWriteChunks(input: ChunkInput, overridePolicy?:
|
|
|
8
9
|
manifest: ChunkManifest;
|
|
9
10
|
chunkDir: string;
|
|
10
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* Map ChunkProfile to BlockType.
|
|
14
|
+
*
|
|
15
|
+
* Profile mappings:
|
|
16
|
+
* - extraction → extraction (logs, data extraction)
|
|
17
|
+
* - reasoning → reasoning (code analysis, thought process)
|
|
18
|
+
* - reference → reference (documentation, specs)
|
|
19
|
+
*/
|
|
20
|
+
export declare function chunkProfileToBlockType(profile: ChunkProfile): BlockType;
|
|
21
|
+
/**
|
|
22
|
+
* Convert a ChunkData to a SemanticBlock.
|
|
23
|
+
*
|
|
24
|
+
* This adapter enables migration from run-scoped chunks to repo-wide Block Store.
|
|
25
|
+
*
|
|
26
|
+
* @param chunk - Legacy chunk data
|
|
27
|
+
* @param rootHash - Root hash for the block chain
|
|
28
|
+
* @param parentHash - Parent block's hash (null for first block)
|
|
29
|
+
* @returns SemanticBlock ready for Block Store
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```typescript
|
|
33
|
+
* const block = chunkToSemanticBlock(chunk, rootHash, parentHash);
|
|
34
|
+
* store.put(block);
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare function chunkToSemanticBlock(chunk: ChunkData, rootHash: string, parentHash: string | null): SemanticBlock;
|
|
38
|
+
/**
|
|
39
|
+
* Convert multiple chunks to BlockInputs for ChainManager.
|
|
40
|
+
*
|
|
41
|
+
* Useful for creating a new chain from existing chunks.
|
|
42
|
+
*
|
|
43
|
+
* @param chunks - Array of legacy chunks
|
|
44
|
+
* @returns Array of BlockInput ready for ChainManager.createChain()
|
|
45
|
+
*/
|
|
46
|
+
export declare function chunksToBlockInputs(chunks: ChunkData[]): BlockInput[];
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import * as crypto from
|
|
2
|
-
import * as path from
|
|
3
|
-
import { loadChunkPolicy } from
|
|
4
|
-
import { writeChunkArtifacts } from
|
|
1
|
+
import * as crypto from 'node:crypto';
|
|
2
|
+
import * as path from 'node:path';
|
|
3
|
+
import { loadChunkPolicy } from './policy.js';
|
|
4
|
+
import { writeChunkArtifacts } from './artifacts.js';
|
|
5
|
+
import { BLOCK_SCHEMA_VERSION, } from '../../kernel/blocks/types.js';
|
|
6
|
+
import { computeBlockId } from '../../kernel/blocks/hasher.js';
|
|
5
7
|
function estimateTokens(text) {
|
|
6
8
|
const trimmed = text.trim();
|
|
7
9
|
if (!trimmed)
|
|
@@ -9,7 +11,7 @@ function estimateTokens(text) {
|
|
|
9
11
|
return trimmed.split(/\s+/).length;
|
|
10
12
|
}
|
|
11
13
|
function hashText(text) {
|
|
12
|
-
return crypto.createHash(
|
|
14
|
+
return crypto.createHash('sha256').update(text).digest('hex');
|
|
13
15
|
}
|
|
14
16
|
function getFileExt(filePath) {
|
|
15
17
|
if (!filePath)
|
|
@@ -21,22 +23,22 @@ function selectProfile(input, policy) {
|
|
|
21
23
|
return input.profile;
|
|
22
24
|
const ext = getFileExt(input.filePath);
|
|
23
25
|
if (ext && policy.routing?.extensions?.extraction?.includes(ext))
|
|
24
|
-
return
|
|
26
|
+
return 'extraction';
|
|
25
27
|
if (ext && policy.routing?.extensions?.reasoning?.includes(ext))
|
|
26
|
-
return
|
|
28
|
+
return 'reasoning';
|
|
27
29
|
if (input.filePath) {
|
|
28
|
-
const normalized = input.filePath.replace(/\\/g,
|
|
30
|
+
const normalized = input.filePath.replace(/\\/g, '/');
|
|
29
31
|
const referencePaths = policy.routing?.extensions?.reference ?? [];
|
|
30
|
-
if (referencePaths.some(
|
|
31
|
-
return
|
|
32
|
+
if (referencePaths.some(p => normalized.includes(p)))
|
|
33
|
+
return 'reference';
|
|
32
34
|
}
|
|
33
|
-
return
|
|
35
|
+
return 'reasoning';
|
|
34
36
|
}
|
|
35
37
|
function findBoundaryLines(lines, profile, ext) {
|
|
36
38
|
const boundaries = [0];
|
|
37
|
-
const rust = /\.(rs)$/i.test(ext ??
|
|
38
|
-
const ts = /\.(ts|tsx|js|jsx)$/i.test(ext ??
|
|
39
|
-
const md = /\.(md|markdown)$/i.test(ext ??
|
|
39
|
+
const rust = /\.(rs)$/i.test(ext ?? '');
|
|
40
|
+
const ts = /\.(ts|tsx|js|jsx)$/i.test(ext ?? '');
|
|
41
|
+
const md = /\.(md|markdown)$/i.test(ext ?? '');
|
|
40
42
|
const headerRe = /^#{1,6}\s+/;
|
|
41
43
|
const tsFunc = /^\s*(export\s+)?(async\s+)?function\s+\w+/;
|
|
42
44
|
const tsClass = /^\s*(export\s+)?class\s+\w+/;
|
|
@@ -48,12 +50,12 @@ function findBoundaryLines(lines, profile, ext) {
|
|
|
48
50
|
const logStamp = /^\s*\d{4}-\d{2}-\d{2}[ T]\d{2}:\d{2}:\d{2}/;
|
|
49
51
|
for (let i = 0; i < lines.length; i += 1) {
|
|
50
52
|
const line = lines[i];
|
|
51
|
-
if (profile ===
|
|
53
|
+
if (profile === 'extraction') {
|
|
52
54
|
if (logStamp.test(line) || headerRe.test(line))
|
|
53
55
|
boundaries.push(i);
|
|
54
56
|
continue;
|
|
55
57
|
}
|
|
56
|
-
if (profile ===
|
|
58
|
+
if (profile === 'reference') {
|
|
57
59
|
if (headerRe.test(line))
|
|
58
60
|
boundaries.push(i);
|
|
59
61
|
continue;
|
|
@@ -67,7 +69,8 @@ function findBoundaryLines(lines, profile, ext) {
|
|
|
67
69
|
boundaries.push(i);
|
|
68
70
|
continue;
|
|
69
71
|
}
|
|
70
|
-
if (rust &&
|
|
72
|
+
if (rust &&
|
|
73
|
+
(rsFn.test(line) || rsStruct.test(line) || rsImpl.test(line) || rsEnum.test(line))) {
|
|
71
74
|
boundaries.push(i);
|
|
72
75
|
continue;
|
|
73
76
|
}
|
|
@@ -118,13 +121,13 @@ function mergeSmall(chunks, lines, minTokens, maxTokens) {
|
|
|
118
121
|
const merged = [];
|
|
119
122
|
for (let i = 0; i < chunks.length; i += 1) {
|
|
120
123
|
const cur = chunks[i];
|
|
121
|
-
const curTokens = estimateTokens(lines.slice(cur.start, cur.end).join(
|
|
124
|
+
const curTokens = estimateTokens(lines.slice(cur.start, cur.end).join('\n'));
|
|
122
125
|
if (curTokens >= minTokens || merged.length === 0) {
|
|
123
126
|
merged.push(cur);
|
|
124
127
|
continue;
|
|
125
128
|
}
|
|
126
129
|
const prev = merged[merged.length - 1];
|
|
127
|
-
const combinedTokens = estimateTokens(lines.slice(prev.start, cur.end).join(
|
|
130
|
+
const combinedTokens = estimateTokens(lines.slice(prev.start, cur.end).join('\n'));
|
|
128
131
|
if (combinedTokens <= maxTokens) {
|
|
129
132
|
merged[merged.length - 1] = { start: prev.start, end: cur.end };
|
|
130
133
|
}
|
|
@@ -144,7 +147,7 @@ export function buildChunks(input, overridePolicy) {
|
|
|
144
147
|
const segments = splitSegments(lines, boundaries);
|
|
145
148
|
let ranges = [];
|
|
146
149
|
for (const seg of segments) {
|
|
147
|
-
const segText = lines.slice(seg.start, seg.end).join(
|
|
150
|
+
const segText = lines.slice(seg.start, seg.end).join('\n');
|
|
148
151
|
const segTokens = estimateTokens(segText);
|
|
149
152
|
if (segTokens <= profileRule.max) {
|
|
150
153
|
ranges.push(seg);
|
|
@@ -155,7 +158,7 @@ export function buildChunks(input, overridePolicy) {
|
|
|
155
158
|
}
|
|
156
159
|
ranges = mergeSmall(ranges, lines, profileRule.min, profileRule.max);
|
|
157
160
|
const chunks = ranges.map((range, index) => {
|
|
158
|
-
const payload = lines.slice(range.start, range.end).join(
|
|
161
|
+
const payload = lines.slice(range.start, range.end).join('\n');
|
|
159
162
|
const tokenEstimate = estimateTokens(payload);
|
|
160
163
|
const hash = hashText(payload);
|
|
161
164
|
const chunkId = `chk_${hash.slice(0, 12)}_${index}`;
|
|
@@ -163,7 +166,7 @@ export function buildChunks(input, overridePolicy) {
|
|
|
163
166
|
chunk_id: chunkId,
|
|
164
167
|
profile,
|
|
165
168
|
source: {
|
|
166
|
-
path: input.filePath ??
|
|
169
|
+
path: input.filePath ?? '<inline>',
|
|
167
170
|
line_start: range.start + 1,
|
|
168
171
|
line_end: range.end,
|
|
169
172
|
},
|
|
@@ -174,10 +177,14 @@ export function buildChunks(input, overridePolicy) {
|
|
|
174
177
|
};
|
|
175
178
|
});
|
|
176
179
|
const manifest = {
|
|
177
|
-
schema_version:
|
|
180
|
+
schema_version: 'chunk_manifest.v1',
|
|
178
181
|
run_id: input.runId,
|
|
179
182
|
created_at: new Date().toISOString(),
|
|
180
|
-
chunks: chunks.map(
|
|
183
|
+
chunks: chunks.map(c => ({
|
|
184
|
+
chunk_id: c.chunk_id,
|
|
185
|
+
profile: c.profile,
|
|
186
|
+
token_estimate: c.token_estimate,
|
|
187
|
+
})),
|
|
181
188
|
};
|
|
182
189
|
return { chunks, manifest };
|
|
183
190
|
}
|
|
@@ -188,6 +195,83 @@ export function buildAndWriteChunks(input, overridePolicy) {
|
|
|
188
195
|
runId: input.runId,
|
|
189
196
|
chunks,
|
|
190
197
|
manifest,
|
|
198
|
+
sourcePath: input.filePath,
|
|
191
199
|
});
|
|
192
200
|
return { chunks, manifest, chunkDir };
|
|
193
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* Map ChunkProfile to BlockType.
|
|
204
|
+
*
|
|
205
|
+
* Profile mappings:
|
|
206
|
+
* - extraction → extraction (logs, data extraction)
|
|
207
|
+
* - reasoning → reasoning (code analysis, thought process)
|
|
208
|
+
* - reference → reference (documentation, specs)
|
|
209
|
+
*/
|
|
210
|
+
export function chunkProfileToBlockType(profile) {
|
|
211
|
+
const mapping = {
|
|
212
|
+
extraction: 'extraction',
|
|
213
|
+
reasoning: 'reasoning',
|
|
214
|
+
reference: 'reference',
|
|
215
|
+
};
|
|
216
|
+
return mapping[profile];
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Convert a ChunkData to a SemanticBlock.
|
|
220
|
+
*
|
|
221
|
+
* This adapter enables migration from run-scoped chunks to repo-wide Block Store.
|
|
222
|
+
*
|
|
223
|
+
* @param chunk - Legacy chunk data
|
|
224
|
+
* @param rootHash - Root hash for the block chain
|
|
225
|
+
* @param parentHash - Parent block's hash (null for first block)
|
|
226
|
+
* @returns SemanticBlock ready for Block Store
|
|
227
|
+
*
|
|
228
|
+
* @example
|
|
229
|
+
* ```typescript
|
|
230
|
+
* const block = chunkToSemanticBlock(chunk, rootHash, parentHash);
|
|
231
|
+
* store.put(block);
|
|
232
|
+
* ```
|
|
233
|
+
*/
|
|
234
|
+
export function chunkToSemanticBlock(chunk, rootHash, parentHash) {
|
|
235
|
+
// Build source_ref from chunk source
|
|
236
|
+
const sourceRef = `${chunk.source.path}:${chunk.source.line_start}-${chunk.source.line_end}`;
|
|
237
|
+
// Compute content-addressable block ID
|
|
238
|
+
const blockId = computeBlockId({
|
|
239
|
+
content: chunk.payload,
|
|
240
|
+
sourceRef,
|
|
241
|
+
});
|
|
242
|
+
return {
|
|
243
|
+
schema_version: BLOCK_SCHEMA_VERSION,
|
|
244
|
+
block_id: blockId,
|
|
245
|
+
parent_hash: parentHash,
|
|
246
|
+
root_hash: rootHash,
|
|
247
|
+
content: chunk.payload,
|
|
248
|
+
block_type: chunkProfileToBlockType(chunk.profile),
|
|
249
|
+
source_ref: sourceRef,
|
|
250
|
+
token_estimate: chunk.token_estimate,
|
|
251
|
+
created_at: Date.now(),
|
|
252
|
+
metadata: {
|
|
253
|
+
legacy_chunk_id: chunk.chunk_id,
|
|
254
|
+
legacy_hash: chunk.hash,
|
|
255
|
+
},
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Convert multiple chunks to BlockInputs for ChainManager.
|
|
260
|
+
*
|
|
261
|
+
* Useful for creating a new chain from existing chunks.
|
|
262
|
+
*
|
|
263
|
+
* @param chunks - Array of legacy chunks
|
|
264
|
+
* @returns Array of BlockInput ready for ChainManager.createChain()
|
|
265
|
+
*/
|
|
266
|
+
export function chunksToBlockInputs(chunks) {
|
|
267
|
+
return chunks.map(chunk => ({
|
|
268
|
+
content: chunk.payload,
|
|
269
|
+
sourceRef: `${chunk.source.path}:${chunk.source.line_start}-${chunk.source.line_end}`,
|
|
270
|
+
blockType: chunkProfileToBlockType(chunk.profile),
|
|
271
|
+
tokenEstimate: chunk.token_estimate,
|
|
272
|
+
metadata: {
|
|
273
|
+
legacy_chunk_id: chunk.chunk_id,
|
|
274
|
+
legacy_hash: chunk.hash,
|
|
275
|
+
},
|
|
276
|
+
}));
|
|
277
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ChunkPolicy, PackPolicy } from
|
|
1
|
+
import { ChunkPolicy, PackPolicy } from './types.js';
|
|
2
2
|
export declare function getChunkPolicyPath(workspaceRoot: string): string;
|
|
3
3
|
export declare function getPackPolicyPath(workspaceRoot: string): string;
|
|
4
4
|
export declare function loadChunkPolicy(workspaceRoot: string): {
|
|
5
5
|
policy: ChunkPolicy;
|
|
6
6
|
sha256: string;
|
|
7
7
|
absPath: string;
|
|
8
|
-
source:
|
|
8
|
+
source: 'file' | 'default';
|
|
9
9
|
validation: {
|
|
10
10
|
ok: true;
|
|
11
11
|
} | {
|
|
@@ -17,7 +17,7 @@ export declare function loadPackPolicy(workspaceRoot: string): {
|
|
|
17
17
|
policy: PackPolicy;
|
|
18
18
|
sha256: string;
|
|
19
19
|
absPath: string;
|
|
20
|
-
source:
|
|
20
|
+
source: 'file' | 'default';
|
|
21
21
|
validation: {
|
|
22
22
|
ok: true;
|
|
23
23
|
} | {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as path from
|
|
2
|
-
import { getVibeConfigDir } from
|
|
3
|
-
import { ChunkPolicySchema, PackPolicySchema } from
|
|
4
|
-
import { loadJsonPolicy } from
|
|
1
|
+
import * as path from 'node:path';
|
|
2
|
+
import { getVibeConfigDir } from '../../kernel/paths.js';
|
|
3
|
+
import { ChunkPolicySchema, PackPolicySchema } from '../policy/schema.js';
|
|
4
|
+
import { loadJsonPolicy } from '../policy/loader.js';
|
|
5
5
|
export function getChunkPolicyPath(workspaceRoot) {
|
|
6
6
|
const override = process.env.CHUNK_POLICY_PATH?.trim();
|
|
7
7
|
if (override) {
|
|
8
8
|
return path.isAbsolute(override) ? override : path.join(workspaceRoot, override);
|
|
9
9
|
}
|
|
10
|
-
return path.join(getVibeConfigDir(workspaceRoot),
|
|
10
|
+
return path.join(getVibeConfigDir(workspaceRoot), 'chunk_policy.v1.json');
|
|
11
11
|
}
|
|
12
12
|
export function getPackPolicyPath(workspaceRoot) {
|
|
13
13
|
const override = process.env.PACK_POLICY_PATH?.trim();
|
|
14
14
|
if (override) {
|
|
15
15
|
return path.isAbsolute(override) ? override : path.join(workspaceRoot, override);
|
|
16
16
|
}
|
|
17
|
-
return path.join(getVibeConfigDir(workspaceRoot),
|
|
17
|
+
return path.join(getVibeConfigDir(workspaceRoot), 'pack_policy.v1.json');
|
|
18
18
|
}
|
|
19
19
|
const DEFAULT_CHUNK_POLICY = {
|
|
20
|
-
schema_version:
|
|
20
|
+
schema_version: 'chunk_policy.v1',
|
|
21
21
|
profiles: {
|
|
22
22
|
extraction: { target: [450, 750], max: 900, min: 250, overlap: 0.07 },
|
|
23
23
|
reasoning: { target: [800, 1200], max: 1500, min: 400, overlap: 0.12 },
|
|
@@ -25,14 +25,14 @@ const DEFAULT_CHUNK_POLICY = {
|
|
|
25
25
|
},
|
|
26
26
|
routing: {
|
|
27
27
|
extensions: {
|
|
28
|
-
extraction: [
|
|
29
|
-
reasoning: [
|
|
30
|
-
reference: [
|
|
28
|
+
extraction: ['.log', '.jsonl', '.trace'],
|
|
29
|
+
reasoning: ['.rs', '.ts', '.tsx', '.js', '.py'],
|
|
30
|
+
reference: ['.vibe/', 'docs/specs/'],
|
|
31
31
|
},
|
|
32
32
|
},
|
|
33
33
|
};
|
|
34
34
|
const DEFAULT_PACK_POLICY = {
|
|
35
|
-
schema_version:
|
|
35
|
+
schema_version: 'pack_policy.v1',
|
|
36
36
|
main_input: { min: 1600, max: 2200, recommended: 1800 },
|
|
37
37
|
conclusion_lines: 3,
|
|
38
38
|
evidence_max: 5,
|
|
File without changes
|
|
File without changes
|
package/build/mcp/cli.d.ts
CHANGED
|
File without changes
|
package/build/mcp/cli.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { spawn, spawnSync } from "node:child_process";
|
|
2
|
+
import { getPolicyContext } from "./policy/context.js";
|
|
3
|
+
import { runInSandbox, DEFAULT_SANDBOX_CONFIG } from "./security/sandbox.js";
|
|
2
4
|
/**
|
|
3
5
|
* Environment variable whitelist for subprocess execution
|
|
4
6
|
* Only these variables are passed through to child processes
|
|
@@ -64,6 +66,18 @@ export function sanitizeEnv(additionalEnv) {
|
|
|
64
66
|
}
|
|
65
67
|
export async function runCmd(cmd, args, opts) {
|
|
66
68
|
const timeoutMs = opts?.timeoutMs ?? 120_000;
|
|
69
|
+
// P3: optional sandboxing (policy-driven, default "none").
|
|
70
|
+
const policy = getPolicyContext();
|
|
71
|
+
const sandbox = policy?.sandbox ?? DEFAULT_SANDBOX_CONFIG;
|
|
72
|
+
if (sandbox.mode !== "none") {
|
|
73
|
+
const result = await runInSandbox(cmd, args, sandbox, {
|
|
74
|
+
cwd: opts?.cwd,
|
|
75
|
+
env: sanitizeEnv(opts?.env),
|
|
76
|
+
stdin: opts?.stdin,
|
|
77
|
+
timeoutMs,
|
|
78
|
+
});
|
|
79
|
+
return result;
|
|
80
|
+
}
|
|
67
81
|
return await new Promise((resolve) => {
|
|
68
82
|
let resolved = false;
|
|
69
83
|
const p = spawn(cmd, args, {
|
|
@@ -89,7 +103,9 @@ export async function runCmd(cmd, args, opts) {
|
|
|
89
103
|
try {
|
|
90
104
|
p.kill("SIGKILL");
|
|
91
105
|
}
|
|
92
|
-
catch {
|
|
106
|
+
catch {
|
|
107
|
+
// ignore: process may already be dead or unkillable
|
|
108
|
+
}
|
|
93
109
|
finish(124, stdout, stderr + "\n[TIMEOUT]");
|
|
94
110
|
}, timeoutMs);
|
|
95
111
|
// stdout/stderr can be null in Node typings; guard for strict TS builds.
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
* Cockpitd HTTP Client
|
|
3
3
|
* Connects to the Rust cockpitd daemon
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* Validate cockpit auth configuration.
|
|
7
|
+
* Throws in production (NODE_ENV=production) if COCKPITD_SHARED_SECRET is empty.
|
|
8
|
+
*/
|
|
9
|
+
export declare function validateCockpitConfig(): void;
|
|
5
10
|
/**
|
|
6
11
|
* Status response from cockpitd
|
|
7
12
|
*/
|
|
@@ -25,6 +30,11 @@ export interface CockpitCommandResponse {
|
|
|
25
30
|
state: string;
|
|
26
31
|
message: string;
|
|
27
32
|
run_id: string | null;
|
|
33
|
+
status?: string | null;
|
|
34
|
+
reason?: string | null;
|
|
35
|
+
required_inputs?: string[] | null;
|
|
36
|
+
next_action?: string | null;
|
|
37
|
+
details?: Record<string, unknown> | null;
|
|
28
38
|
}
|
|
29
39
|
/**
|
|
30
40
|
* Prompt response from cockpitd
|
|
@@ -66,10 +76,83 @@ export declare function isCockpitdAvailable(): Promise<boolean>;
|
|
|
66
76
|
* Get cockpit status
|
|
67
77
|
*/
|
|
68
78
|
export declare function cockpitStatus(): Promise<CockpitStatus>;
|
|
79
|
+
/**
|
|
80
|
+
* Extended run options for cockpit.run
|
|
81
|
+
*/
|
|
82
|
+
export interface CockpitRunOptions {
|
|
83
|
+
run_id?: string;
|
|
84
|
+
target_paths?: string[];
|
|
85
|
+
spec_path?: string;
|
|
86
|
+
review_stage?: "full" | "spec_compliance" | "code_quality";
|
|
87
|
+
max_attempts?: number;
|
|
88
|
+
intent_scope?: {
|
|
89
|
+
include: string[];
|
|
90
|
+
exclude: string[];
|
|
91
|
+
do_not_touch: string[];
|
|
92
|
+
impact_area?: string;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Gate result response from cockpitd
|
|
97
|
+
*/
|
|
98
|
+
export interface CockpitGateResult {
|
|
99
|
+
has_result: boolean;
|
|
100
|
+
run_id: string | null;
|
|
101
|
+
signal: string | null;
|
|
102
|
+
violation_count: number;
|
|
103
|
+
violations: Array<{
|
|
104
|
+
violation_type: string;
|
|
105
|
+
message: string;
|
|
106
|
+
path: string | null;
|
|
107
|
+
evidence: string[];
|
|
108
|
+
}>;
|
|
109
|
+
path_zones: Array<{
|
|
110
|
+
path: string;
|
|
111
|
+
zone: string;
|
|
112
|
+
}>;
|
|
113
|
+
checked_at: string | null;
|
|
114
|
+
attempt_count: number;
|
|
115
|
+
max_attempts: number;
|
|
116
|
+
}
|
|
69
117
|
/**
|
|
70
118
|
* Execute a cockpit command
|
|
71
119
|
*/
|
|
72
|
-
export declare function cockpitCommand(cmd: string, runId?: string): Promise<CockpitCommandResponse>;
|
|
120
|
+
export declare function cockpitCommand(cmd: string, runId?: string, idempotencyKey?: string): Promise<CockpitCommandResponse>;
|
|
121
|
+
/**
|
|
122
|
+
* Execute a cockpit run with extended options (gate targets, review stage, etc.)
|
|
123
|
+
*/
|
|
124
|
+
export declare function cockpitRunWithOptions(options: CockpitRunOptions): Promise<CockpitCommandResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* Get the last gate check result
|
|
127
|
+
*/
|
|
128
|
+
export declare function cockpitGateResult(): Promise<CockpitGateResult>;
|
|
129
|
+
/**
|
|
130
|
+
* SSE event from cockpitd /v1/events
|
|
131
|
+
*/
|
|
132
|
+
export interface CockpitSSEEvent {
|
|
133
|
+
event_type: string;
|
|
134
|
+
run_id: string | null;
|
|
135
|
+
state: string;
|
|
136
|
+
phase: string | null;
|
|
137
|
+
verdict: string | null;
|
|
138
|
+
attempt_count: number;
|
|
139
|
+
max_attempts: number;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Subscribe to cockpitd SSE event stream.
|
|
143
|
+
* Yields parsed events as they arrive. Caller should break to stop.
|
|
144
|
+
*/
|
|
145
|
+
export declare function cockpitEventStream(signal?: AbortSignal): AsyncGenerator<{
|
|
146
|
+
type: string;
|
|
147
|
+
data: CockpitSSEEvent;
|
|
148
|
+
}>;
|
|
149
|
+
/**
|
|
150
|
+
* Wait for cockpitd to reach a terminal state.
|
|
151
|
+
* Tries SSE first, falls back to polling on failure.
|
|
152
|
+
*
|
|
153
|
+
* @returns Final status, or null if timed out
|
|
154
|
+
*/
|
|
155
|
+
export declare function waitForCompletion(pollIntervalMs?: number, timeoutMs?: number): Promise<CockpitStatus | null>;
|
|
73
156
|
/**
|
|
74
157
|
* Get current prompt (if any)
|
|
75
158
|
*/
|
|
@@ -77,7 +160,7 @@ export declare function cockpitPrompt(): Promise<CockpitPrompt>;
|
|
|
77
160
|
/**
|
|
78
161
|
* Submit a decision
|
|
79
162
|
*/
|
|
80
|
-
export declare function cockpitDecide(choice: "LOOP" | "DIAGNOSE"): Promise<CockpitDecideResponse>;
|
|
163
|
+
export declare function cockpitDecide(choice: "LOOP" | "DIAGNOSE", idempotencyKey?: string): Promise<CockpitDecideResponse>;
|
|
81
164
|
/**
|
|
82
165
|
* Get manual content
|
|
83
166
|
*/
|