@vibecodetown/mcp-server 1.3.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +19 -4
- package/build/mcp/profile-config.js +115 -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 +342 -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/branch_pivot.d.ts +19 -0
- package/build/mcp/tools/vibe_pm/branch_pivot.js +85 -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/check_dormant.d.ts +13 -0
- package/build/mcp/tools/vibe_pm/check_dormant.js +67 -0
- package/build/mcp/tools/vibe_pm/check_resources.d.ts +10 -0
- package/build/mcp/tools/vibe_pm/check_resources.js +30 -0
- 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/finalize_work.d.ts +19 -0
- package/build/mcp/tools/vibe_pm/finalize_work.js +78 -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 +690 -245
- package/build/mcp/tools/vibe_pm/index.js +438 -728
- 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 +621 -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/repair_plan.d.ts +13 -0
- package/build/mcp/tools/vibe_pm/repair_plan.js +67 -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/skills_tool.d.ts +13 -0
- package/build/mcp/tools/vibe_pm/skills_tool.js +57 -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/suggest_roots.d.ts +21 -0
- package/build/mcp/tools/vibe_pm/suggest_roots.js +56 -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 +39 -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/undo_last_task.d.ts +13 -0
- package/build/mcp/tools/vibe_pm/undo_last_task.js +87 -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,753 +1,466 @@
|
|
|
1
1
|
// MVP Core - vibe_pm tools index
|
|
2
2
|
// MVP 7개 도구만 포함
|
|
3
|
-
import { McpError } from '@modelcontextprotocol/sdk/types.js';
|
|
4
3
|
import { briefingInputSchema, briefingOutputSchema, getDecisionInputSchema, getDecisionOutputSchema, submitDecisionInputSchema, submitDecisionOutputSchema, createWorkOrderInputSchema, createWorkOrderOutputSchema, inspectCodeInputSchema, inspectCodeOutputSchema, statusInputSchema, statusOutputSchema, } from './types.js';
|
|
5
4
|
import { briefing } from './briefing.js';
|
|
6
5
|
import { getDecision } from './get_decision.js';
|
|
7
6
|
import { submitDecision } from './submit_decision.js';
|
|
8
7
|
import { createWorkOrder } from './create_work_order.js';
|
|
9
8
|
import { doctor, DoctorInputSchema } from './doctor.js';
|
|
10
|
-
import { IngressInputSchema
|
|
9
|
+
import { IngressInputSchema } from './ingress.js';
|
|
11
10
|
import { IngressOutputSchema } from '../../generated/ingress_output.js';
|
|
12
11
|
import { MemoryStatusInputSchema } from '../../generated/memory_status_input.js';
|
|
13
|
-
import { MemoryStatusOutputSchema
|
|
12
|
+
import { MemoryStatusOutputSchema } from '../../generated/memory_status_output.js';
|
|
14
13
|
import { MemorySyncInputSchema } from '../../generated/memory_sync_input.js';
|
|
15
|
-
import { MemorySyncOutputSchema
|
|
14
|
+
import { MemorySyncOutputSchema } from '../../generated/memory_sync_output.js';
|
|
16
15
|
import { MemoryRetrieveInputSchema } from '../../generated/memory_retrieve_input.js';
|
|
17
|
-
import { MemoryRetrieveOutputSchema
|
|
18
|
-
import { SoftObserver, getObserver, startObserverIfEnabled, stopObserver, getObserverStatus as getObserverStatusFn, runDeltaScan, quickDirtyCheck, } from './observer.js';
|
|
19
|
-
import { ToolErrorOutputSchema } from '../../generated/tool_error_output.js';
|
|
20
|
-
import { checkToolAllowed } from './flow_policy.js';
|
|
21
|
-
import { readRunState, resolveRunId } from './context.js';
|
|
22
|
-
import { syncMcpToolResult, generateWorkspaceId, isDbSyncEnabled } from '../../../db_sync/index.js';
|
|
16
|
+
import { MemoryRetrieveOutputSchema } from '../../generated/memory_retrieve_output.js';
|
|
23
17
|
import { isRewindDirective } from './phase.js';
|
|
24
18
|
import { statusWithRalph, inspectCodeWithRalph, ingressWithRalph } from './ralph-loop-tools.js';
|
|
25
19
|
import { memoryStatus } from './memory_status.js';
|
|
26
20
|
import { memorySync } from './memory_sync.js';
|
|
27
21
|
import { memoryRetrieve } from './memory_retrieve.js';
|
|
28
22
|
import { memory, MemoryInputSchema } from './memory.js';
|
|
29
|
-
import { getFeatureFlags, isIngressRequired, isObserverEnabled, getObserverMode, isWatcherEnabled, getFeatureFlagsStatus, } from './feature-flags.js';
|
|
30
23
|
import { ensureDocsStructure } from './docs_structure.js';
|
|
31
24
|
import { initDocs, InitDocsInputSchema, } from './init_docs.js';
|
|
32
25
|
import { setup, SetupInputSchema } from './setup.js';
|
|
33
26
|
import { UIManifestInputSchema, UIResourceInputSchema, loadUIManifest, loadResource, } from './ui/index.js';
|
|
34
27
|
import { scaffold, ScaffoldInputSchema, } from './scaffold.js';
|
|
28
|
+
import { agent as agentTool, AgentInputSchema } from './agent.js';
|
|
29
|
+
import { workspaceRecipe, WorkspaceRecipeInputSchema, } from './workspace_recipe.js';
|
|
30
|
+
import { decisionHistory, DecisionHistoryInputSchema, } from './decision-history.js';
|
|
31
|
+
import { scout } from './scout.js';
|
|
32
|
+
import { ScoutInputSchema } from '../../generated/scout_input.js';
|
|
33
|
+
import { ScoutOutputSchema } from '../../generated/scout_output.js';
|
|
35
34
|
// Worker MCP tools (Phase 13)
|
|
36
35
|
import { submitTask, submitTaskInputSchema, } from './submit_task.js';
|
|
37
36
|
import { workerStatus, workerStatusInputSchema, } from './worker_status.js';
|
|
38
37
|
import { getResult, getResultInputSchema, } from './get_result.js';
|
|
39
38
|
import { dashboard, dashboardInputSchema, } from './dashboard.js';
|
|
39
|
+
import { blockSearch, blockSearchInputSchema, } from './block_search.js';
|
|
40
|
+
import { blockEvents, blockEventsInputSchema, } from './block_events.js';
|
|
41
|
+
import { blockSnapshot, blockSnapshotInputSchema, } from './block_snapshot.js';
|
|
42
|
+
import { skills, skillsInputSchema } from './skills_tool.js';
|
|
43
|
+
import { suggestRoots, suggestRootsInputSchema } from './suggest_roots.js';
|
|
44
|
+
import { checkResources, checkResourcesInputSchema } from './check_resources.js';
|
|
45
|
+
import { checkDormant, checkDormantInputSchema } from './check_dormant.js';
|
|
46
|
+
import { repairPlan, repairPlanInputSchema } from './repair_plan.js';
|
|
47
|
+
import { finalizeWork, finalizeWorkInputSchema } from './finalize_work.js';
|
|
48
|
+
import { undoLastTask, undoLastTaskInputSchema } from './undo_last_task.js';
|
|
49
|
+
import { branchPivot, branchPivotInputSchema } from './branch_pivot.js';
|
|
50
|
+
// Extracted modules
|
|
51
|
+
import { createToolHandler, setKernelDepsForTools, resolveRunDir, toolResult, toStructuredContent, formatStatusSummary, readNestedString, getProjectOrRunId, fsmTransition, } from './tool_handler_factory.js';
|
|
40
52
|
// ============================================================
|
|
41
|
-
//
|
|
42
|
-
// ============================================================
|
|
43
|
-
function toolResult(toolName, data) {
|
|
44
|
-
return {
|
|
45
|
-
content: [{ type: 'text', text: JSON.stringify(data, null, 2) }],
|
|
46
|
-
structuredContent: data,
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function formatStatusSummary(status) {
|
|
50
|
-
const parts = [
|
|
51
|
-
`상태: ${status.current_state.phase}`,
|
|
52
|
-
`다음: ${status.next_action.label}`,
|
|
53
|
-
];
|
|
54
|
-
if (status.preprocess?.summary) {
|
|
55
|
-
parts.push(`전처리: ${status.preprocess.summary}`);
|
|
56
|
-
}
|
|
57
|
-
return parts.join(' | ');
|
|
58
|
-
}
|
|
59
|
-
function redactInternalTerms(s) {
|
|
60
|
-
let out = s;
|
|
61
|
-
// Tool names (avoid leaking internal tool identifiers to users)
|
|
62
|
-
out = out.replace(/\b(vibe_pm|vibecode|spec_high|clinic|bitnet)\.[a-z0-9_]+\b/gi, '내부 도구');
|
|
63
|
-
out = out.replace(/\b(spec-high|vpm-back|clinic)\b/gi, '내부 엔진');
|
|
64
|
-
return out;
|
|
65
|
-
}
|
|
66
|
-
function err(toolName, reason, extra) {
|
|
67
|
-
const msg = redactInternalTerms(extra?.message ?? '요청을 처리하는 중 문제가 생겼습니다.');
|
|
68
|
-
const recovery = extra?.recovery ? redactInternalTerms(extra.recovery) : undefined;
|
|
69
|
-
const userTitle = extra?.user_message?.title
|
|
70
|
-
? redactInternalTerms(extra.user_message.title)
|
|
71
|
-
: '요청을 처리할 수 없습니다.';
|
|
72
|
-
const userMessage = extra?.user_message?.message
|
|
73
|
-
? redactInternalTerms(extra.user_message.message)
|
|
74
|
-
: msg;
|
|
75
|
-
const out = ToolErrorOutputSchema.parse({
|
|
76
|
-
status: 'ERROR',
|
|
77
|
-
reason,
|
|
78
|
-
schema_version: 'tool_error_output.v2',
|
|
79
|
-
tool: toolName,
|
|
80
|
-
error_code: reason,
|
|
81
|
-
user_message: { title: userTitle, message: userMessage },
|
|
82
|
-
agent_directive: extra?.agent_directive,
|
|
83
|
-
loop_policy: extra?.loop_policy,
|
|
84
|
-
message: msg,
|
|
85
|
-
recovery,
|
|
86
|
-
is_retryable: extra?.is_retryable,
|
|
87
|
-
details: extra?.details,
|
|
88
|
-
debug: extra?.debug,
|
|
89
|
-
});
|
|
90
|
-
return {
|
|
91
|
-
content: [{ type: 'text', text: JSON.stringify(out, null, 2) }],
|
|
92
|
-
structuredContent: out,
|
|
93
|
-
isError: true,
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
function errorResult(toolName, error) {
|
|
97
|
-
return err(toolName, 'mcp_error', {
|
|
98
|
-
message: error.message,
|
|
99
|
-
recovery: '입력 값을 확인한 뒤 다시 시도해 주세요.',
|
|
100
|
-
is_retryable: false,
|
|
101
|
-
});
|
|
102
|
-
}
|
|
53
|
+
// Tool Handlers
|
|
103
54
|
// ============================================================
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
55
|
+
const vibePmBriefing = createToolHandler({
|
|
56
|
+
toolName: 'vibe_pm.briefing',
|
|
57
|
+
inputSchema: briefingInputSchema,
|
|
58
|
+
outputSchema: briefingOutputSchema,
|
|
59
|
+
flowPolicyProjectId: input => input.project_id,
|
|
60
|
+
dbSync: { toolKind: 'briefing', projectId: input => input.project_id },
|
|
61
|
+
logNamespace: 'vibe-pm/engine',
|
|
62
|
+
before: (_input, ctx) => {
|
|
63
|
+
ctx.log.log('info', { tool: 'vibe_pm.briefing' }, 'briefing start');
|
|
64
|
+
},
|
|
65
|
+
after: (input, _validated, ctx) => {
|
|
66
|
+
ctx.log.log('info', { tool: 'vibe_pm.briefing' }, 'briefing done');
|
|
67
|
+
const runId = getProjectOrRunId(_validated) ?? getProjectOrRunId(input);
|
|
68
|
+
fsmTransition(runId, ctx.cwd, 'awaiting_action', 'tool_complete', 'briefing done');
|
|
69
|
+
},
|
|
70
|
+
handler: (input, ctx) => briefing(input, ctx.progress, ctx.log),
|
|
71
|
+
error: {
|
|
72
|
+
code: 'briefing_failed',
|
|
73
|
+
recovery: '프로젝트 아이디어를 더 구체적으로 설명해보세요.',
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
const vibePmGetDecision = createToolHandler({
|
|
77
|
+
toolName: 'vibe_pm.get_decision',
|
|
78
|
+
inputSchema: getDecisionInputSchema,
|
|
79
|
+
outputSchema: getDecisionOutputSchema,
|
|
80
|
+
flowPolicyProjectId: input => input.project_id,
|
|
81
|
+
handler: input => getDecision(input),
|
|
82
|
+
error: { code: 'get_decision_failed', recovery: '새 프로젝트입니다. 무엇을 만들까요?' },
|
|
83
|
+
});
|
|
84
|
+
const vibePmSubmitDecision = createToolHandler({
|
|
85
|
+
toolName: 'vibe_pm.submit_decision',
|
|
86
|
+
inputSchema: submitDecisionInputSchema,
|
|
87
|
+
outputSchema: submitDecisionOutputSchema,
|
|
88
|
+
flowPolicyProjectId: input => input.project_id,
|
|
89
|
+
dbSync: { toolKind: 'submit_decision', projectId: input => input.project_id },
|
|
90
|
+
after: (input, validated, ctx) => {
|
|
91
|
+
const runId = getProjectOrRunId(validated) ?? getProjectOrRunId(input);
|
|
92
|
+
const remaining = readNestedString(validated, 'remaining_decisions');
|
|
93
|
+
const choice = readNestedString(validated, 'result', 'chosen');
|
|
94
|
+
if (choice === 'BLOCK' || choice === 'U') {
|
|
95
|
+
fsmTransition(runId, ctx.cwd, 'blocked', 'decision_made', `submit_decision: ${choice}`);
|
|
139
96
|
}
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
// ============================================================
|
|
143
|
-
// Flow Policy Check
|
|
144
|
-
// ============================================================
|
|
145
|
-
/**
|
|
146
|
-
* Map run_state phase to UxState
|
|
147
|
-
*/
|
|
148
|
-
function phaseToUxState(phase, lastReviewStatus) {
|
|
149
|
-
if (!phase)
|
|
150
|
-
return 'S0_IDLE';
|
|
151
|
-
switch (phase) {
|
|
152
|
-
case 'init':
|
|
153
|
-
case 'briefing':
|
|
154
|
-
return 'S2_INTENT_CAPTURING';
|
|
155
|
-
case 'decision':
|
|
156
|
-
case 'decision_discovery':
|
|
157
|
-
case 'decision_cards':
|
|
158
|
-
return 'S3_DECISION_NEEDED';
|
|
159
|
-
case 'work_order':
|
|
160
|
-
case 'ssot':
|
|
161
|
-
case 'atomic':
|
|
162
|
-
return 'S4_PLAN_ISSUED';
|
|
163
|
-
case 'implementation':
|
|
164
|
-
return 'S5_IMPLEMENTING';
|
|
165
|
-
case 'review':
|
|
166
|
-
case 'validating':
|
|
167
|
-
// Check last review result
|
|
168
|
-
if (lastReviewStatus === 'GO')
|
|
169
|
-
return 'S7_GO';
|
|
170
|
-
if (lastReviewStatus === 'FIX')
|
|
171
|
-
return 'S8_FIX';
|
|
172
|
-
if (lastReviewStatus === 'BLOCK')
|
|
173
|
-
return 'S9_BLOCK';
|
|
174
|
-
return 'S6_VALIDATING';
|
|
175
|
-
case 'completed':
|
|
176
|
-
case 'done':
|
|
177
|
-
return 'S11_DONE';
|
|
178
|
-
default:
|
|
179
|
-
return 'S0_IDLE';
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* Check if tool is allowed based on current state
|
|
184
|
-
* Returns null if allowed, CallToolResult error if blocked
|
|
185
|
-
*/
|
|
186
|
-
function checkFlowPolicy(toolName, projectId) {
|
|
187
|
-
// Get current state
|
|
188
|
-
const basePath = process.cwd();
|
|
189
|
-
let currentState = 'S0_IDLE';
|
|
190
|
-
let runId;
|
|
191
|
-
let ingressState = 'missing';
|
|
192
|
-
let decisionsMade = 0;
|
|
193
|
-
let decisionsPending = 0;
|
|
194
|
-
try {
|
|
195
|
-
const { run_id, is_new } = resolveRunId(projectId, basePath);
|
|
196
|
-
runId = run_id;
|
|
197
|
-
ingressState = getIngressState(run_id, basePath);
|
|
198
|
-
if (!is_new) {
|
|
199
|
-
const runState = readRunState(run_id, basePath);
|
|
200
|
-
currentState = phaseToUxState(runState?.phase, runState?.last_review_status);
|
|
201
|
-
decisionsMade = runState?.decisions_made ?? 0;
|
|
202
|
-
decisionsPending = runState?.decisions_pending ?? 0;
|
|
97
|
+
else if (remaining && parseInt(remaining, 10) > 0) {
|
|
98
|
+
fsmTransition(runId, ctx.cwd, 'awaiting_action', 'decision_made', `submit_decision: ${choice}, remaining=${remaining}`);
|
|
203
99
|
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
// If we can't read state, assume IDLE
|
|
207
|
-
currentState = 'S0_IDLE';
|
|
208
|
-
ingressState = 'missing';
|
|
209
|
-
decisionsMade = 0;
|
|
210
|
-
decisionsPending = 0;
|
|
211
|
-
}
|
|
212
|
-
// Check policy
|
|
213
|
-
const result = checkToolAllowed(currentState, toolName, {
|
|
214
|
-
state: currentState,
|
|
215
|
-
run_id: runId,
|
|
216
|
-
project_id: projectId,
|
|
217
|
-
decisions_made: decisionsMade,
|
|
218
|
-
decisions_pending: decisionsPending,
|
|
219
|
-
ingressState,
|
|
220
|
-
runId,
|
|
221
|
-
});
|
|
222
|
-
if (!result.allowed) {
|
|
223
|
-
const agent_directive = result.reason === 'FLOW_BLOCKED_INGRESS_REQUIRED' && result.suggested_call
|
|
224
|
-
? {
|
|
225
|
-
intent: 'AUTO_RECOVER',
|
|
226
|
-
missing: [{ id: 'INGRESS', evidence: ['ingress_state!=ready'] }],
|
|
227
|
-
actions: [
|
|
228
|
-
{ type: 'RUN_INGRESS', priority: 10, call: result.suggested_call },
|
|
229
|
-
{ type: 'RETRY_ORIGINAL_TOOL', priority: 90 },
|
|
230
|
-
],
|
|
231
|
-
loop_policy: {
|
|
232
|
-
max_attempts: 2,
|
|
233
|
-
stop_on: ['FORBIDDEN_PATH', 'BUDGET_EXCEEDED', 'PERMISSION_DENIED'],
|
|
234
|
-
},
|
|
235
|
-
}
|
|
236
|
-
: undefined;
|
|
237
|
-
return err(toolName, 'flow_blocked', {
|
|
238
|
-
message: '지금 단계에서는 이 작업을 진행할 수 없습니다.',
|
|
239
|
-
recovery: '필요한 준비 단계를 먼저 완료한 뒤 다시 시도해 주세요.',
|
|
240
|
-
is_retryable: false,
|
|
241
|
-
agent_directive,
|
|
242
|
-
details: {
|
|
243
|
-
internal: {
|
|
244
|
-
tool: toolName,
|
|
245
|
-
state: currentState,
|
|
246
|
-
reason: result.reason,
|
|
247
|
-
suggested_tool: result.suggested_tool,
|
|
248
|
-
suggested_call: result.suggested_call,
|
|
249
|
-
recovery: result.recovery,
|
|
250
|
-
},
|
|
251
|
-
},
|
|
252
|
-
});
|
|
253
|
-
}
|
|
254
|
-
return null; // Allowed
|
|
255
|
-
}
|
|
256
|
-
// ============================================================
|
|
257
|
-
// Tool Handlers
|
|
258
|
-
// ============================================================
|
|
259
|
-
async function vibePmBriefing(input) {
|
|
260
|
-
// Flow policy check
|
|
261
|
-
const flowBlock = checkFlowPolicy('vibe_pm.briefing', input.project_id);
|
|
262
|
-
if (flowBlock)
|
|
263
|
-
return flowBlock;
|
|
264
|
-
try {
|
|
265
|
-
const result = await briefing(input);
|
|
266
|
-
const validated = briefingOutputSchema.parse(result);
|
|
267
|
-
// DB sync (best-effort, P0-1: rail='mcp')
|
|
268
|
-
await tryMcpDbSync('briefing', input.project_id, validated);
|
|
269
|
-
return toolResult('vibe_pm.briefing', validated);
|
|
270
|
-
}
|
|
271
|
-
catch (e) {
|
|
272
|
-
if (e instanceof McpError)
|
|
273
|
-
return errorResult('vibe_pm.briefing', e);
|
|
274
|
-
const msg = e instanceof Error ? e.message : String(e);
|
|
275
|
-
return err('vibe_pm.briefing', 'briefing_failed', {
|
|
276
|
-
message: msg,
|
|
277
|
-
recovery: '프로젝트 아이디어를 더 구체적으로 설명해보세요.',
|
|
278
|
-
});
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
async function vibePmGetDecision(input) {
|
|
282
|
-
// Flow policy check
|
|
283
|
-
const flowBlock = checkFlowPolicy('vibe_pm.get_decision', input.project_id);
|
|
284
|
-
if (flowBlock)
|
|
285
|
-
return flowBlock;
|
|
286
|
-
try {
|
|
287
|
-
const result = await getDecision(input);
|
|
288
|
-
const validated = getDecisionOutputSchema.parse(result);
|
|
289
|
-
return toolResult('vibe_pm.get_decision', validated);
|
|
290
|
-
}
|
|
291
|
-
catch (e) {
|
|
292
|
-
if (e instanceof McpError)
|
|
293
|
-
return errorResult('vibe_pm.get_decision', e);
|
|
294
|
-
const msg = e instanceof Error ? e.message : String(e);
|
|
295
|
-
return err('vibe_pm.get_decision', 'get_decision_failed', {
|
|
296
|
-
message: msg,
|
|
297
|
-
recovery: '새 프로젝트입니다. 무엇을 만들까요?',
|
|
298
|
-
});
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
async function vibePmSubmitDecision(input) {
|
|
302
|
-
// Flow policy check
|
|
303
|
-
const flowBlock = checkFlowPolicy('vibe_pm.submit_decision', input.project_id);
|
|
304
|
-
if (flowBlock)
|
|
305
|
-
return flowBlock;
|
|
306
|
-
try {
|
|
307
|
-
const result = await submitDecision(input);
|
|
308
|
-
const validated = submitDecisionOutputSchema.parse(result);
|
|
309
|
-
// DB sync (best-effort, P0-1: rail='mcp')
|
|
310
|
-
await tryMcpDbSync('submit_decision', input.project_id, validated);
|
|
311
|
-
return toolResult('vibe_pm.submit_decision', validated);
|
|
312
|
-
}
|
|
313
|
-
catch (e) {
|
|
314
|
-
if (e instanceof McpError)
|
|
315
|
-
return errorResult('vibe_pm.submit_decision', e);
|
|
316
|
-
const msg = e instanceof Error ? e.message : String(e);
|
|
317
|
-
return err('vibe_pm.submit_decision', 'submit_decision_failed', {
|
|
318
|
-
message: msg,
|
|
319
|
-
recovery: '유효한 결재 항목이 있는지 먼저 확인한 뒤 다시 시도해 주세요.',
|
|
320
|
-
});
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
async function vibePmCreateWorkOrder(input) {
|
|
324
|
-
// Flow policy check
|
|
325
|
-
const flowBlock = checkFlowPolicy('vibe_pm.create_work_order', input.project_id);
|
|
326
|
-
if (flowBlock)
|
|
327
|
-
return flowBlock;
|
|
328
|
-
try {
|
|
329
|
-
const result = await createWorkOrder(input);
|
|
330
|
-
const validated = createWorkOrderOutputSchema.parse(result);
|
|
331
|
-
// DB sync (best-effort, P0-1: rail='mcp')
|
|
332
|
-
await tryMcpDbSync('create_work_order', input.project_id, validated);
|
|
333
|
-
return toolResult('vibe_pm.create_work_order', validated);
|
|
334
|
-
}
|
|
335
|
-
catch (e) {
|
|
336
|
-
if (e instanceof McpError)
|
|
337
|
-
return errorResult('vibe_pm.create_work_order', e);
|
|
338
|
-
const msg = e instanceof Error ? e.message : String(e);
|
|
339
|
-
return err('vibe_pm.create_work_order', 'create_work_order_failed', {
|
|
340
|
-
message: msg,
|
|
341
|
-
recovery: '결재가 모두 완료되었는지 확인한 뒤 다시 시도해 주세요.',
|
|
342
|
-
});
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
async function vibePmInspectCode(input) {
|
|
346
|
-
// Flow policy check
|
|
347
|
-
const flowBlock = checkFlowPolicy('vibe_pm.inspect_code', input.project_id);
|
|
348
|
-
if (flowBlock)
|
|
349
|
-
return flowBlock;
|
|
350
|
-
try {
|
|
351
|
-
const result = await inspectCodeWithRalph(input, process.cwd());
|
|
352
|
-
if (isRewindDirective(result)) {
|
|
353
|
-
return toolResult('vibe_pm.inspect_code', result);
|
|
100
|
+
else {
|
|
101
|
+
fsmTransition(runId, ctx.cwd, 'awaiting_action', 'decision_made', `submit_decision: ${choice}, all done`);
|
|
354
102
|
}
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
103
|
+
},
|
|
104
|
+
handler: input => submitDecision(input),
|
|
105
|
+
error: {
|
|
106
|
+
code: 'submit_decision_failed',
|
|
107
|
+
recovery: '유효한 결재 항목이 있는지 먼저 확인한 뒤 다시 시도해 주세요.',
|
|
108
|
+
},
|
|
109
|
+
});
|
|
110
|
+
const vibePmCreateWorkOrder = createToolHandler({
|
|
111
|
+
toolName: 'vibe_pm.create_work_order',
|
|
112
|
+
inputSchema: createWorkOrderInputSchema,
|
|
113
|
+
outputSchema: createWorkOrderOutputSchema,
|
|
114
|
+
flowPolicyProjectId: input => input.project_id,
|
|
115
|
+
dbSync: { toolKind: 'create_work_order', projectId: input => input.project_id },
|
|
116
|
+
after: (input, validated, ctx) => {
|
|
117
|
+
const runId = getProjectOrRunId(validated) ?? getProjectOrRunId(input);
|
|
118
|
+
fsmTransition(runId, ctx.cwd, 'awaiting_action', 'tool_complete', 'work_order created');
|
|
119
|
+
},
|
|
120
|
+
handler: input => createWorkOrder(input),
|
|
121
|
+
error: {
|
|
122
|
+
code: 'create_work_order_failed',
|
|
123
|
+
recovery: '결재가 모두 완료되었는지 확인한 뒤 다시 시도해 주세요.',
|
|
124
|
+
},
|
|
125
|
+
});
|
|
126
|
+
const vibePmInspectCode = createToolHandler({
|
|
127
|
+
toolName: 'vibe_pm.inspect_code',
|
|
128
|
+
inputSchema: inspectCodeInputSchema,
|
|
129
|
+
outputSchema: inspectCodeOutputSchema,
|
|
130
|
+
flowPolicyProjectId: input => input.project_id,
|
|
131
|
+
dbSync: { toolKind: 'inspect_code', projectId: input => input.project_id },
|
|
132
|
+
logNamespace: 'vibe-pm/gate',
|
|
133
|
+
before: (_input, ctx) => {
|
|
134
|
+
ctx.log.log('info', { tool: 'vibe_pm.inspect_code' }, 'inspect_code start');
|
|
135
|
+
},
|
|
136
|
+
passThrough: result => isRewindDirective(result),
|
|
137
|
+
after: (input, validated, ctx) => {
|
|
138
|
+
const verdict = readNestedString(validated, 'review_summary', 'review_result');
|
|
139
|
+
ctx.log.log('info', { tool: 'vibe_pm.inspect_code', verdict }, 'inspect_code done');
|
|
140
|
+
const runId = getProjectOrRunId(validated) ?? getProjectOrRunId(input);
|
|
141
|
+
if (verdict === 'GO') {
|
|
142
|
+
fsmTransition(runId, ctx.cwd, 'awaiting_action', 'verdict_received', `inspect_code: GO`);
|
|
143
|
+
}
|
|
144
|
+
else if (verdict === 'FIX') {
|
|
145
|
+
fsmTransition(runId, ctx.cwd, 'in_retry', 'verdict_received', `inspect_code: FIX`);
|
|
377
146
|
}
|
|
378
|
-
|
|
147
|
+
else if (verdict === 'BLOCK') {
|
|
148
|
+
fsmTransition(runId, ctx.cwd, 'blocked', 'verdict_received', `inspect_code: BLOCK`);
|
|
149
|
+
}
|
|
150
|
+
else {
|
|
151
|
+
fsmTransition(runId, ctx.cwd, 'awaiting_gate', 'verdict_received', `inspect_code: ${verdict ?? 'unknown'}`);
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
handler: (input, ctx) => inspectCodeWithRalph(input, ctx.workspaceRoot, ctx.progress, ctx.log),
|
|
155
|
+
error: {
|
|
156
|
+
code: 'inspect_code_failed',
|
|
157
|
+
recovery: '작업 지시서를 먼저 생성한 뒤 검수를 다시 시도해 주세요.',
|
|
158
|
+
},
|
|
159
|
+
});
|
|
160
|
+
const vibePmStatus = createToolHandler({
|
|
161
|
+
toolName: 'vibe_pm.status',
|
|
162
|
+
inputSchema: statusInputSchema,
|
|
163
|
+
outputSchema: statusOutputSchema,
|
|
164
|
+
passThrough: result => isRewindDirective(result),
|
|
165
|
+
format: (input, validated, _ctx) => {
|
|
379
166
|
if (input.format === 'summary') {
|
|
380
167
|
return {
|
|
381
168
|
content: [{ type: 'text', text: formatStatusSummary(validated) }],
|
|
382
|
-
structuredContent: validated,
|
|
169
|
+
structuredContent: toStructuredContent(validated),
|
|
383
170
|
};
|
|
384
171
|
}
|
|
385
172
|
return toolResult('vibe_pm.status', validated);
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
async function vibePmMemorySync(input) {
|
|
448
|
-
try {
|
|
449
|
-
const parsed = MemorySyncInputSchema.parse(input);
|
|
450
|
-
const out = await memorySync({ workspaceRoot: process.cwd(), input: parsed });
|
|
451
|
-
const validated = MemorySyncOutputSchema.parse(out);
|
|
452
|
-
return toolResult('vibe_pm.memory_sync', validated);
|
|
453
|
-
}
|
|
454
|
-
catch (e) {
|
|
455
|
-
if (e instanceof McpError)
|
|
456
|
-
return errorResult('vibe_pm.memory_sync', e);
|
|
457
|
-
const msg = e instanceof Error ? e.message : String(e);
|
|
458
|
-
return err('vibe_pm.memory_sync', 'memory_sync_failed', {
|
|
459
|
-
message: msg,
|
|
460
|
-
recovery: 'docs_root 경로를 확인하거나, force_full=true로 재시도하세요.',
|
|
461
|
-
});
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
async function vibePmMemoryRetrieve(input) {
|
|
465
|
-
try {
|
|
466
|
-
const parsed = MemoryRetrieveInputSchema.parse(input);
|
|
467
|
-
const out = await memoryRetrieve({ workspaceRoot: process.cwd(), input: parsed });
|
|
468
|
-
const validated = MemoryRetrieveOutputSchema.parse(out);
|
|
469
|
-
return toolResult('vibe_pm.memory_retrieve', validated);
|
|
470
|
-
}
|
|
471
|
-
catch (e) {
|
|
472
|
-
if (e instanceof McpError)
|
|
473
|
-
return errorResult('vibe_pm.memory_retrieve', e);
|
|
474
|
-
const msg = e instanceof Error ? e.message : String(e);
|
|
475
|
-
return err('vibe_pm.memory_retrieve', 'memory_retrieve_failed', {
|
|
476
|
-
message: msg,
|
|
477
|
-
recovery: '문서 루트 경로를 확인하거나, 문서 인덱스를 먼저 생성/갱신한 뒤 다시 시도해 주세요.',
|
|
478
|
-
});
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
async function vibePmInitDocs(input) {
|
|
482
|
-
try {
|
|
483
|
-
const parsed = InitDocsInputSchema.parse(input);
|
|
484
|
-
const result = await initDocs(parsed);
|
|
485
|
-
return toolResult('vibe_pm.init_docs', result);
|
|
486
|
-
}
|
|
487
|
-
catch (e) {
|
|
488
|
-
if (e instanceof McpError)
|
|
489
|
-
return errorResult('vibe_pm.init_docs', e);
|
|
490
|
-
const msg = e instanceof Error ? e.message : String(e);
|
|
491
|
-
return err('vibe_pm.init_docs', 'init_docs_failed', {
|
|
492
|
-
message: msg,
|
|
493
|
-
recovery: 'workspace_path를 확인하세요.',
|
|
494
|
-
});
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
async function vibePmMemory(input) {
|
|
498
|
-
try {
|
|
499
|
-
const parsed = MemoryInputSchema.parse(input);
|
|
500
|
-
const out = await memory({ workspaceRoot: process.cwd(), input: parsed });
|
|
501
|
-
return toolResult('vibe_pm.memory', out);
|
|
502
|
-
}
|
|
503
|
-
catch (e) {
|
|
504
|
-
if (e instanceof McpError)
|
|
505
|
-
return errorResult('vibe_pm.memory', e);
|
|
506
|
-
const msg = e instanceof Error ? e.message : String(e);
|
|
507
|
-
return err('vibe_pm.memory', 'memory_failed', {
|
|
508
|
-
message: msg,
|
|
509
|
-
recovery: 'mode 파라미터를 확인하세요 (status/sync/retrieve).',
|
|
510
|
-
});
|
|
511
|
-
}
|
|
512
|
-
}
|
|
173
|
+
},
|
|
174
|
+
handler: (input, ctx) => statusWithRalph(input, ctx.workspaceRoot),
|
|
175
|
+
error: { code: 'status_failed', recovery: '새 프로젝트입니다. 무엇을 만들까요?' },
|
|
176
|
+
});
|
|
177
|
+
const vibePmDoctor = createToolHandler({
|
|
178
|
+
toolName: 'vibe_pm.doctor',
|
|
179
|
+
inputSchema: DoctorInputSchema,
|
|
180
|
+
handler: input => doctor(input),
|
|
181
|
+
error: { code: 'doctor_failed' },
|
|
182
|
+
});
|
|
183
|
+
const vibePmIngress = createToolHandler({
|
|
184
|
+
toolName: 'vibe_pm.ingress',
|
|
185
|
+
inputSchema: IngressInputSchema,
|
|
186
|
+
outputSchema: IngressOutputSchema,
|
|
187
|
+
passThrough: result => isRewindDirective(result),
|
|
188
|
+
dbSync: {
|
|
189
|
+
toolKind: 'ingress',
|
|
190
|
+
projectId: input => getProjectOrRunId(input),
|
|
191
|
+
},
|
|
192
|
+
handler: (input, ctx) => ingressWithRalph(input, ctx.cwd),
|
|
193
|
+
error: { code: 'ingress_failed', recovery: '다시 시도하거나 workspace_path를 확인하세요.' },
|
|
194
|
+
});
|
|
195
|
+
const vibePmMemoryStatus = createToolHandler({
|
|
196
|
+
toolName: 'vibe_pm.memory_status',
|
|
197
|
+
inputSchema: MemoryStatusInputSchema,
|
|
198
|
+
outputSchema: MemoryStatusOutputSchema,
|
|
199
|
+
handler: (input, ctx) => memoryStatus({ workspaceRoot: ctx.cwd, input }),
|
|
200
|
+
error: {
|
|
201
|
+
code: 'memory_status_failed',
|
|
202
|
+
recovery: '문서 루트 경로를 확인하거나, 문서 인덱스를 먼저 생성/갱신한 뒤 다시 시도해 주세요.',
|
|
203
|
+
},
|
|
204
|
+
});
|
|
205
|
+
const vibePmMemorySync = createToolHandler({
|
|
206
|
+
toolName: 'vibe_pm.memory_sync',
|
|
207
|
+
inputSchema: MemorySyncInputSchema,
|
|
208
|
+
outputSchema: MemorySyncOutputSchema,
|
|
209
|
+
handler: (input, ctx) => memorySync({ workspaceRoot: ctx.cwd, input }),
|
|
210
|
+
error: { code: 'memory_sync_failed', recovery: 'docs_root 경로를 확인하거나, force_full=true로 재시도하세요.' },
|
|
211
|
+
});
|
|
212
|
+
const vibePmMemoryRetrieve = createToolHandler({
|
|
213
|
+
toolName: 'vibe_pm.memory_retrieve',
|
|
214
|
+
inputSchema: MemoryRetrieveInputSchema,
|
|
215
|
+
outputSchema: MemoryRetrieveOutputSchema,
|
|
216
|
+
handler: (input, ctx) => memoryRetrieve({ workspaceRoot: ctx.cwd, input }),
|
|
217
|
+
error: {
|
|
218
|
+
code: 'memory_retrieve_failed',
|
|
219
|
+
recovery: '문서 루트 경로를 확인하거나, 문서 인덱스를 먼저 생성/갱신한 뒤 다시 시도해 주세요.',
|
|
220
|
+
},
|
|
221
|
+
});
|
|
222
|
+
const vibePmInitDocs = createToolHandler({
|
|
223
|
+
toolName: 'vibe_pm.init_docs',
|
|
224
|
+
inputSchema: InitDocsInputSchema,
|
|
225
|
+
handler: input => initDocs(input),
|
|
226
|
+
error: { code: 'init_docs_failed', recovery: 'workspace_path를 확인하세요.' },
|
|
227
|
+
});
|
|
228
|
+
const vibePmMemory = createToolHandler({
|
|
229
|
+
toolName: 'vibe_pm.memory',
|
|
230
|
+
inputSchema: MemoryInputSchema,
|
|
231
|
+
handler: (input, ctx) => memory({ workspaceRoot: ctx.cwd, input }),
|
|
232
|
+
error: { code: 'memory_failed', recovery: 'mode 파라미터를 확인하세요 (status/sync/retrieve).' },
|
|
233
|
+
});
|
|
513
234
|
// ============================================================
|
|
514
235
|
// Scaffold Tool
|
|
515
236
|
// ============================================================
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
237
|
+
const vibePmScaffold = createToolHandler({
|
|
238
|
+
toolName: 'vibe_pm.scaffold',
|
|
239
|
+
inputSchema: ScaffoldInputSchema,
|
|
240
|
+
handler: input => scaffold(input),
|
|
241
|
+
error: { code: 'scaffold_failed', recovery: 'target_dir와 template 파라미터를 확인하세요.' },
|
|
242
|
+
});
|
|
243
|
+
const vibePmAgent = createToolHandler({
|
|
244
|
+
toolName: 'vibe_pm.agent',
|
|
245
|
+
inputSchema: AgentInputSchema,
|
|
246
|
+
handler: input => agentTool(input),
|
|
247
|
+
error: { code: 'agent_failed', recovery: 'mode와 agent_id 파라미터를 확인하세요.' },
|
|
248
|
+
});
|
|
249
|
+
const vibePmWorkspaceRecipe = createToolHandler({
|
|
250
|
+
toolName: 'vibe_pm.workspace_recipe',
|
|
251
|
+
inputSchema: WorkspaceRecipeInputSchema,
|
|
252
|
+
handler: input => workspaceRecipe(input),
|
|
253
|
+
error: { code: 'workspace_recipe_failed', recovery: 'recipe_id와 target_dir를 확인하세요.' },
|
|
254
|
+
});
|
|
532
255
|
// ============================================================
|
|
533
256
|
// Setup Tool (One-click MCP configuration)
|
|
534
257
|
// ============================================================
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
const msg = e instanceof Error ? e.message : String(e);
|
|
545
|
-
return err('vibe_pm.setup', 'setup_failed', {
|
|
546
|
-
message: msg,
|
|
547
|
-
recovery: 'mode 파라미터를 확인하세요 (check/install/uninstall).',
|
|
548
|
-
});
|
|
549
|
-
}
|
|
550
|
-
}
|
|
258
|
+
const vibePmSetup = createToolHandler({
|
|
259
|
+
toolName: 'vibe_pm.setup',
|
|
260
|
+
inputSchema: SetupInputSchema,
|
|
261
|
+
handler: input => setup(input),
|
|
262
|
+
error: {
|
|
263
|
+
code: 'setup_failed',
|
|
264
|
+
recovery: 'mode 파라미터를 확인하세요 (check/install/uninstall).',
|
|
265
|
+
},
|
|
266
|
+
});
|
|
551
267
|
// ============================================================
|
|
552
268
|
// UI Tools (XT Apps)
|
|
553
269
|
// ============================================================
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
if (input.run_id) {
|
|
560
|
-
runDir = `${cwd}/.vibe/runs/${input.run_id}`;
|
|
561
|
-
}
|
|
562
|
-
else {
|
|
563
|
-
// Find latest run
|
|
564
|
-
const runsDir = `${cwd}/.vibe/runs`;
|
|
565
|
-
const fs = await import('node:fs/promises');
|
|
566
|
-
const path = await import('node:path');
|
|
567
|
-
try {
|
|
568
|
-
const runs = await fs.readdir(runsDir);
|
|
569
|
-
if (runs.length === 0) {
|
|
570
|
-
return err('vibe_pm.ui_manifest', 'no_runs', {
|
|
571
|
-
message: 'No runs found',
|
|
572
|
-
recovery: 'Run vibe_pm.briefing first to create a project.',
|
|
573
|
-
});
|
|
574
|
-
}
|
|
575
|
-
// Sort by modification time
|
|
576
|
-
const sorted = await Promise.all(runs.map(async (r) => ({
|
|
577
|
-
name: r,
|
|
578
|
-
mtime: (await fs.stat(path.join(runsDir, r))).mtime.getTime(),
|
|
579
|
-
})));
|
|
580
|
-
sorted.sort((a, b) => b.mtime - a.mtime);
|
|
581
|
-
runDir = path.join(runsDir, sorted[0].name);
|
|
582
|
-
}
|
|
583
|
-
catch {
|
|
584
|
-
return err('vibe_pm.ui_manifest', 'no_runs', {
|
|
585
|
-
message: 'No runs directory found',
|
|
586
|
-
recovery: 'Run vibe_pm.briefing first.',
|
|
587
|
-
});
|
|
588
|
-
}
|
|
589
|
-
}
|
|
270
|
+
const vibePmUIManifest = createToolHandler({
|
|
271
|
+
toolName: 'vibe_pm.ui_manifest',
|
|
272
|
+
inputSchema: UIManifestInputSchema,
|
|
273
|
+
handler: async (input) => {
|
|
274
|
+
const runDir = await resolveRunDir(input.run_id);
|
|
590
275
|
const manifest = await loadUIManifest(runDir);
|
|
591
276
|
if (!manifest) {
|
|
592
|
-
|
|
593
|
-
message: 'UI manifest not found',
|
|
594
|
-
recovery: 'Run vibe_pm.inspect_code with renderSvg=true to generate diagram viewer.',
|
|
595
|
-
});
|
|
596
|
-
}
|
|
597
|
-
return toolResult('vibe_pm.ui_manifest', {
|
|
598
|
-
manifest,
|
|
599
|
-
run_dir: runDir,
|
|
600
|
-
});
|
|
601
|
-
}
|
|
602
|
-
catch (e) {
|
|
603
|
-
if (e instanceof McpError)
|
|
604
|
-
return errorResult('vibe_pm.ui_manifest', e);
|
|
605
|
-
const msg = e instanceof Error ? e.message : String(e);
|
|
606
|
-
return err('vibe_pm.ui_manifest', 'manifest_failed', {
|
|
607
|
-
message: msg,
|
|
608
|
-
recovery: 'run_id를 확인하세요.',
|
|
609
|
-
});
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
async function vibePmUIResource(input) {
|
|
613
|
-
try {
|
|
614
|
-
const cwd = process.cwd();
|
|
615
|
-
// Resolve run directory (same logic as ui_manifest)
|
|
616
|
-
let runDir;
|
|
617
|
-
if (input.run_id) {
|
|
618
|
-
runDir = `${cwd}/.vibe/runs/${input.run_id}`;
|
|
619
|
-
}
|
|
620
|
-
else {
|
|
621
|
-
const runsDir = `${cwd}/.vibe/runs`;
|
|
622
|
-
const fs = await import('node:fs/promises');
|
|
623
|
-
const path = await import('node:path');
|
|
624
|
-
try {
|
|
625
|
-
const runs = await fs.readdir(runsDir);
|
|
626
|
-
if (runs.length === 0) {
|
|
627
|
-
return err('vibe_pm.ui_resource', 'no_runs', {
|
|
628
|
-
message: 'No runs found',
|
|
629
|
-
recovery: 'Run vibe_pm.briefing first.',
|
|
630
|
-
});
|
|
631
|
-
}
|
|
632
|
-
const sorted = await Promise.all(runs.map(async (r) => ({
|
|
633
|
-
name: r,
|
|
634
|
-
mtime: (await fs.stat(path.join(runsDir, r))).mtime.getTime(),
|
|
635
|
-
})));
|
|
636
|
-
sorted.sort((a, b) => b.mtime - a.mtime);
|
|
637
|
-
runDir = path.join(runsDir, sorted[0].name);
|
|
638
|
-
}
|
|
639
|
-
catch {
|
|
640
|
-
return err('vibe_pm.ui_resource', 'no_runs', {
|
|
641
|
-
message: 'No runs directory found',
|
|
642
|
-
recovery: 'Run vibe_pm.briefing first.',
|
|
643
|
-
});
|
|
644
|
-
}
|
|
277
|
+
throw new Error('UI manifest not found. Run inspect_code with renderSvg=true to generate.');
|
|
645
278
|
}
|
|
279
|
+
return { manifest, run_dir: runDir };
|
|
280
|
+
},
|
|
281
|
+
error: { code: 'manifest_failed', recovery: 'run_id를 확인하세요.' },
|
|
282
|
+
});
|
|
283
|
+
const vibePmUIResource = createToolHandler({
|
|
284
|
+
toolName: 'vibe_pm.ui_resource',
|
|
285
|
+
inputSchema: UIResourceInputSchema,
|
|
286
|
+
handler: async (input) => {
|
|
287
|
+
const runDir = await resolveRunDir(input.run_id);
|
|
646
288
|
const { resource, content } = await loadResource(runDir, input.resource_id);
|
|
647
|
-
if (!resource)
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
});
|
|
658
|
-
}
|
|
659
|
-
const contentType = {
|
|
660
|
-
html: 'text/html',
|
|
661
|
-
svg: 'image/svg+xml',
|
|
662
|
-
json: 'application/json',
|
|
663
|
-
}[resource.type] ?? 'text/plain';
|
|
664
|
-
return toolResult('vibe_pm.ui_resource', {
|
|
665
|
-
resource,
|
|
666
|
-
content,
|
|
667
|
-
content_type: contentType,
|
|
668
|
-
});
|
|
669
|
-
}
|
|
670
|
-
catch (e) {
|
|
671
|
-
if (e instanceof McpError)
|
|
672
|
-
return errorResult('vibe_pm.ui_resource', e);
|
|
673
|
-
const msg = e instanceof Error ? e.message : String(e);
|
|
674
|
-
return err('vibe_pm.ui_resource', 'resource_failed', {
|
|
675
|
-
message: msg,
|
|
676
|
-
recovery: 'resource_id를 확인하세요.',
|
|
677
|
-
});
|
|
678
|
-
}
|
|
679
|
-
}
|
|
289
|
+
if (!resource)
|
|
290
|
+
throw new Error(`Resource '${input.resource_id}' not found`);
|
|
291
|
+
if (content === null)
|
|
292
|
+
throw new Error('Failed to read resource content');
|
|
293
|
+
const contentType = { html: 'text/html', svg: 'image/svg+xml', json: 'application/json' }[resource.type] ??
|
|
294
|
+
'text/plain';
|
|
295
|
+
return { resource, content, content_type: contentType };
|
|
296
|
+
},
|
|
297
|
+
error: { code: 'resource_failed', recovery: 'resource_id를 확인하세요.' },
|
|
298
|
+
});
|
|
680
299
|
// ============================================================
|
|
681
300
|
// Worker MCP Tools (Phase 13)
|
|
682
301
|
// ============================================================
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
}
|
|
302
|
+
const vibePmSubmitTask = createToolHandler({
|
|
303
|
+
toolName: 'vibe_pm.submit_task',
|
|
304
|
+
inputSchema: submitTaskInputSchema,
|
|
305
|
+
handler: input => submitTask(input),
|
|
306
|
+
error: { code: 'submit_task_failed', recovery: 'worker_type과 inputs를 확인하세요.' },
|
|
307
|
+
});
|
|
308
|
+
const vibePmWorkerStatus = createToolHandler({
|
|
309
|
+
toolName: 'vibe_pm.worker_status',
|
|
310
|
+
inputSchema: workerStatusInputSchema,
|
|
311
|
+
handler: input => workerStatus(input),
|
|
312
|
+
error: { code: 'worker_status_failed', recovery: 'task_id 또는 worker_type을 확인하세요.' },
|
|
313
|
+
});
|
|
314
|
+
const vibePmGetResult = createToolHandler({
|
|
315
|
+
toolName: 'vibe_pm.get_result',
|
|
316
|
+
inputSchema: getResultInputSchema,
|
|
317
|
+
handler: input => getResult(input),
|
|
318
|
+
error: { code: 'get_result_failed', recovery: 'task_id를 확인하세요.' },
|
|
319
|
+
});
|
|
320
|
+
const vibePmDashboard = createToolHandler({
|
|
321
|
+
toolName: 'vibe_pm.dashboard',
|
|
322
|
+
inputSchema: dashboardInputSchema,
|
|
323
|
+
handler: input => dashboard(input),
|
|
324
|
+
error: { code: 'dashboard_failed', recovery: 'project_id를 확인하세요.' },
|
|
325
|
+
});
|
|
326
|
+
// ============================================================
|
|
327
|
+
// Scout Tool (BitNet trigger dispatch)
|
|
328
|
+
// ============================================================
|
|
329
|
+
const vibePmScout = createToolHandler({
|
|
330
|
+
toolName: 'vibe_pm.scout',
|
|
331
|
+
inputSchema: ScoutInputSchema,
|
|
332
|
+
outputSchema: ScoutOutputSchema,
|
|
333
|
+
logNamespace: 'vibe-pm/agent',
|
|
334
|
+
before: (_input, ctx) => {
|
|
335
|
+
ctx.log.log('info', { tool: 'vibe_pm.scout' }, 'scout start');
|
|
336
|
+
},
|
|
337
|
+
after: (_input, validated, ctx) => {
|
|
338
|
+
const triggered = typeof validated === 'object' && validated !== null
|
|
339
|
+
? validated.triggered
|
|
340
|
+
: undefined;
|
|
341
|
+
ctx.log.log('info', { tool: 'vibe_pm.scout', triggered }, 'scout done');
|
|
342
|
+
},
|
|
343
|
+
handler: (input, ctx) => scout(input, ctx.progress, ctx.log),
|
|
344
|
+
error: {
|
|
345
|
+
code: 'scout_failed',
|
|
346
|
+
recovery: 'trigger_id를 확인하거나 auto 모드로 다시 시도하세요.',
|
|
347
|
+
},
|
|
348
|
+
});
|
|
349
|
+
// ============================================================
|
|
350
|
+
// Decision History Tool (Maintain stage — permanent decision log)
|
|
351
|
+
// ============================================================
|
|
352
|
+
const vibePmDecisionHistory = createToolHandler({
|
|
353
|
+
toolName: 'vibe_pm.decision_history',
|
|
354
|
+
inputSchema: DecisionHistoryInputSchema,
|
|
355
|
+
handler: input => decisionHistory(input),
|
|
356
|
+
error: { code: 'decision_history_failed', recovery: 'action과 필터를 확인하세요 (query/compact).' },
|
|
357
|
+
});
|
|
358
|
+
// ============================================================
|
|
359
|
+
// Block Search Tool (P38 — DB FTS)
|
|
360
|
+
// ============================================================
|
|
361
|
+
const vibePmBlockSearch = createToolHandler({
|
|
362
|
+
toolName: 'vibe_pm.block_search',
|
|
363
|
+
inputSchema: blockSearchInputSchema,
|
|
364
|
+
handler: input => blockSearch(input),
|
|
365
|
+
error: { code: 'block_search_failed', recovery: 'query 또는 mode를 확인하세요.' },
|
|
366
|
+
});
|
|
367
|
+
// ============================================================
|
|
368
|
+
// Block Events Tool (Sprint 1 — Signal polling)
|
|
369
|
+
// ============================================================
|
|
370
|
+
const vibePmBlockEvents = createToolHandler({
|
|
371
|
+
toolName: 'vibe_pm.block_events',
|
|
372
|
+
inputSchema: blockEventsInputSchema,
|
|
373
|
+
handler: input => blockEvents(input),
|
|
374
|
+
error: { code: 'block_events_failed', recovery: 'mode 또는 cursor를 확인하세요.' },
|
|
375
|
+
});
|
|
376
|
+
// ============================================================
|
|
377
|
+
// Block Snapshot Tool (Sprint 4 — Snapshot/Restore)
|
|
378
|
+
// ============================================================
|
|
379
|
+
const vibePmBlockSnapshot = createToolHandler({
|
|
380
|
+
toolName: 'vibe_pm.block_snapshot',
|
|
381
|
+
inputSchema: blockSnapshotInputSchema,
|
|
382
|
+
handler: input => blockSnapshot(input),
|
|
383
|
+
error: { code: 'block_snapshot_failed', recovery: 'mode 또는 snapshot_id를 확인하세요.' },
|
|
384
|
+
});
|
|
385
|
+
// ============================================================
|
|
386
|
+
// Skills Tool
|
|
387
|
+
// ============================================================
|
|
388
|
+
const vibePmSkills = createToolHandler({
|
|
389
|
+
toolName: 'vibe_pm.skills',
|
|
390
|
+
inputSchema: skillsInputSchema,
|
|
391
|
+
handler: input => skills(input),
|
|
392
|
+
error: { code: 'skills_failed', recovery: 'mode를 확인하세요 (list/detail).' },
|
|
393
|
+
});
|
|
394
|
+
// ============================================================
|
|
395
|
+
// Suggest Roots Tool
|
|
396
|
+
// ============================================================
|
|
397
|
+
const vibePmSuggestRoots = createToolHandler({
|
|
398
|
+
toolName: 'vibe_pm.suggest_roots',
|
|
399
|
+
inputSchema: suggestRootsInputSchema,
|
|
400
|
+
handler: input => suggestRoots(input),
|
|
401
|
+
error: { code: 'suggest_roots_failed', recovery: 'scan_path를 확인하세요.' },
|
|
402
|
+
});
|
|
403
|
+
// ============================================================
|
|
404
|
+
// Check Resources Tool
|
|
405
|
+
// ============================================================
|
|
406
|
+
const vibePmCheckResources = createToolHandler({
|
|
407
|
+
toolName: 'vibe_pm.check_resources',
|
|
408
|
+
inputSchema: checkResourcesInputSchema,
|
|
409
|
+
handler: input => checkResources(input),
|
|
410
|
+
error: { code: 'check_resources_failed' },
|
|
411
|
+
});
|
|
412
|
+
// ============================================================
|
|
413
|
+
// Check Dormant Tool
|
|
414
|
+
// ============================================================
|
|
415
|
+
const vibePmCheckDormant = createToolHandler({
|
|
416
|
+
toolName: 'vibe_pm.check_dormant',
|
|
417
|
+
inputSchema: checkDormantInputSchema,
|
|
418
|
+
handler: input => checkDormant(input),
|
|
419
|
+
error: { code: 'check_dormant_failed', recovery: 'workspace_root를 확인하세요.' },
|
|
420
|
+
});
|
|
421
|
+
// ============================================================
|
|
422
|
+
// Repair Plan Tool
|
|
423
|
+
// ============================================================
|
|
424
|
+
const vibePmRepairPlan = createToolHandler({
|
|
425
|
+
toolName: 'vibe_pm.repair_plan',
|
|
426
|
+
inputSchema: repairPlanInputSchema,
|
|
427
|
+
handler: input => repairPlan(input),
|
|
428
|
+
error: { code: 'repair_plan_failed', recovery: 'inspect_code를 먼저 실행하세요.' },
|
|
429
|
+
});
|
|
430
|
+
// ============================================================
|
|
431
|
+
// Finalize Work Tool
|
|
432
|
+
// ============================================================
|
|
433
|
+
const vibePmFinalizeWork = createToolHandler({
|
|
434
|
+
toolName: 'vibe_pm.finalize_work',
|
|
435
|
+
inputSchema: finalizeWorkInputSchema,
|
|
436
|
+
handler: input => finalizeWork(input),
|
|
437
|
+
error: { code: 'finalize_work_failed', recovery: 'workspace_root를 확인하세요.' },
|
|
438
|
+
});
|
|
439
|
+
// ============================================================
|
|
440
|
+
// Undo Last Task Tool
|
|
441
|
+
// ============================================================
|
|
442
|
+
const vibePmUndoLastTask = createToolHandler({
|
|
443
|
+
toolName: 'vibe_pm.undo_last_task',
|
|
444
|
+
inputSchema: undoLastTaskInputSchema,
|
|
445
|
+
handler: input => undoLastTask(input),
|
|
446
|
+
error: { code: 'undo_last_task_failed', recovery: 'GO 판정 기록이 있는지 확인하세요.' },
|
|
447
|
+
});
|
|
448
|
+
// ============================================================
|
|
449
|
+
// Branch Pivot Tool
|
|
450
|
+
// ============================================================
|
|
451
|
+
const vibePmBranchPivot = createToolHandler({
|
|
452
|
+
toolName: 'vibe_pm.branch_pivot',
|
|
453
|
+
inputSchema: branchPivotInputSchema,
|
|
454
|
+
handler: input => branchPivot(input),
|
|
455
|
+
error: { code: 'branch_pivot_failed', recovery: 'target_branch를 확인하세요.' },
|
|
456
|
+
});
|
|
747
457
|
// ============================================================
|
|
748
458
|
// Export
|
|
749
459
|
// ============================================================
|
|
750
|
-
export function defineVibePmTools() {
|
|
460
|
+
export function defineVibePmTools(opts) {
|
|
461
|
+
// NOTE: defineVibePmTools can be called multiple times (tests/spawn). Keep it idempotent.
|
|
462
|
+
// The deps are optional and are used as a best-effort basePath SSOT for tools.
|
|
463
|
+
setKernelDepsForTools(opts?.kernelDeps);
|
|
751
464
|
return {
|
|
752
465
|
// Input schemas
|
|
753
466
|
briefingInputSchema,
|
|
@@ -766,11 +479,26 @@ export function defineVibePmTools() {
|
|
|
766
479
|
uiManifestInputSchema: UIManifestInputSchema,
|
|
767
480
|
uiResourceInputSchema: UIResourceInputSchema,
|
|
768
481
|
scaffoldInputSchema: ScaffoldInputSchema,
|
|
482
|
+
agentInputSchema: AgentInputSchema,
|
|
483
|
+
workspaceRecipeInputSchema: WorkspaceRecipeInputSchema,
|
|
769
484
|
setupInputSchema: SetupInputSchema,
|
|
770
485
|
submitTaskInputSchema,
|
|
771
486
|
workerStatusInputSchema,
|
|
772
487
|
getResultInputSchema,
|
|
773
488
|
dashboardInputSchema,
|
|
489
|
+
scoutInputSchema: ScoutInputSchema,
|
|
490
|
+
blockSearchInputSchema,
|
|
491
|
+
blockEventsInputSchema,
|
|
492
|
+
blockSnapshotInputSchema,
|
|
493
|
+
decisionHistoryInputSchema: DecisionHistoryInputSchema,
|
|
494
|
+
skillsInputSchema,
|
|
495
|
+
suggestRootsInputSchema,
|
|
496
|
+
checkResourcesInputSchema,
|
|
497
|
+
checkDormantInputSchema,
|
|
498
|
+
repairPlanInputSchema,
|
|
499
|
+
finalizeWorkInputSchema,
|
|
500
|
+
undoLastTaskInputSchema,
|
|
501
|
+
branchPivotInputSchema,
|
|
774
502
|
// Tool handlers
|
|
775
503
|
vibePmBriefing,
|
|
776
504
|
vibePmGetDecision,
|
|
@@ -788,50 +516,32 @@ export function defineVibePmTools() {
|
|
|
788
516
|
vibePmUIManifest,
|
|
789
517
|
vibePmUIResource,
|
|
790
518
|
vibePmScaffold,
|
|
519
|
+
vibePmAgent,
|
|
520
|
+
vibePmWorkspaceRecipe,
|
|
791
521
|
vibePmSetup,
|
|
792
522
|
vibePmSubmitTask,
|
|
793
523
|
vibePmWorkerStatus,
|
|
794
524
|
vibePmGetResult,
|
|
795
525
|
vibePmDashboard,
|
|
526
|
+
vibePmScout,
|
|
527
|
+
vibePmBlockSearch,
|
|
528
|
+
vibePmBlockEvents,
|
|
529
|
+
vibePmBlockSnapshot,
|
|
530
|
+
vibePmDecisionHistory,
|
|
531
|
+
vibePmSkills,
|
|
532
|
+
vibePmSuggestRoots,
|
|
533
|
+
vibePmCheckResources,
|
|
534
|
+
vibePmCheckDormant,
|
|
535
|
+
vibePmRepairPlan,
|
|
536
|
+
vibePmFinalizeWork,
|
|
537
|
+
vibePmUndoLastTask,
|
|
538
|
+
vibePmBranchPivot,
|
|
796
539
|
// Docs structure helper
|
|
797
540
|
ensureDocsStructure,
|
|
798
541
|
};
|
|
799
542
|
}
|
|
800
543
|
// ============================================================
|
|
801
|
-
// Tool Descriptions
|
|
802
|
-
// ============================================================
|
|
803
|
-
export
|
|
804
|
-
|
|
805
|
-
'vibe_pm.briefing': '프로젝트 시작/재개. 사용자 아이디어 구조화.',
|
|
806
|
-
'vibe_pm.get_decision': '결재 안건 조회. 구현 전 승인 필요 시.',
|
|
807
|
-
'vibe_pm.submit_decision': '결재 제출. 선택지(A/B/C/U) 선택 후.',
|
|
808
|
-
'vibe_pm.create_work_order': '작업 지시서 발행. 결재 완료 후 구현 전.',
|
|
809
|
-
'vibe_pm.inspect_code': '코드 검수. auto_fix로 의존성 자동 수정.',
|
|
810
|
-
'vibe_pm.doctor': '설치 점검 + 자동 수정.',
|
|
811
|
-
'vibe_pm.ingress': 'Ingress 산출물 생성/갱신. 컨텍스트 스캔.',
|
|
812
|
-
'vibe_pm.setup': 'Claude Code MCP 설정 자동화. mode: check(상태확인), install(설치), uninstall(제거).',
|
|
813
|
-
'vibe_pm.memory': '통합 메모리 도구. mode: status(상태조회), sync(인덱스생성), retrieve(문서검색).',
|
|
814
|
-
'vibe_pm.memory_status': '[Tier 3] 로컬 문서 인덱스(메모리) 상태 조회. vibe_pm.memory(mode=status) 권장.',
|
|
815
|
-
'vibe_pm.memory_sync': '[Tier 3] 로컬 문서 인덱스(메모리) 생성/갱신. vibe_pm.memory(mode=sync) 권장.',
|
|
816
|
-
'vibe_pm.memory_retrieve': '[Tier 3] 로컬 문서 인덱스(메모리)에서 관련 컨텍스트 추출. vibe_pm.memory(mode=retrieve) 권장.',
|
|
817
|
-
'vibe_pm.init_docs': '[Tier 3] docs/ 폴더 구조 초기화. active/reference/archived 구조 생성. 초기 1회 실행.',
|
|
818
|
-
'vibe_pm.scaffold': '프로젝트 구조 생성/동화/스캔. mode: scaffold(새 프로젝트), assimilate(기존 프로젝트 동화), scan(구조 스캔).',
|
|
819
|
-
'vibe_pm.ui_manifest': '[P2] UI 리소스 매니페스트 조회. 사용 가능한 UI 목록 반환.',
|
|
820
|
-
'vibe_pm.ui_resource': '[P2] UI 리소스 반환. resource_id로 HTML/SVG/JSON 콘텐츠 조회.',
|
|
821
|
-
'vibe_pm.submit_task': 'Worker에 비동기 작업 제출. worker_type: browser/search/fs/build/model.',
|
|
822
|
-
'vibe_pm.worker_status': 'Worker 또는 작업 상태 조회. task_id 또는 worker_type으로 조회.',
|
|
823
|
-
'vibe_pm.get_result': '완료된 작업 결과 조회. task_id로 결과 및 아티팩트 조회.',
|
|
824
|
-
'vibe_pm.dashboard': 'Worker 대시보드 조회. format: summary/json/html. 풀/오토스케일링 상태 포함.',
|
|
825
|
-
};
|
|
826
|
-
// Re-export ingress helpers
|
|
827
|
-
export { getIngressState, checkIngressArtifacts };
|
|
828
|
-
// Re-export feature flags
|
|
829
|
-
export { getFeatureFlags, isIngressRequired, isObserverEnabled, getObserverMode, isWatcherEnabled, getFeatureFlagsStatus, };
|
|
830
|
-
// Re-export observer
|
|
831
|
-
export { SoftObserver, getObserver, startObserverIfEnabled, stopObserver, getObserverStatusFn as getObserverStatus, runDeltaScan, quickDirtyCheck, };
|
|
832
|
-
// Re-export bitnet cache
|
|
833
|
-
export { readLastCheck, writeLastCheck, appendHistory, readHistory, validateSource, validateLastCheck, cacheExists, clearCache, getCacheStatus, getCacheDir, getLastCheckPath, getHistoryPath, } from './bitnet-cache.js';
|
|
834
|
-
// Re-export mapping guard
|
|
835
|
-
export { runMappingPipeline, hasSpecMap, hasChangeMap, loadChangeMap, loadSpecMap, scanChangedFiles, scanStagedFiles, scanImportHints, buildChangeMap, buildSkeletonMapPatch, mergeSkeletonMapPatch, judgeMappingGate, } from './mapping/index.js';
|
|
836
|
-
// Re-export bitnet hook consumer
|
|
837
|
-
export { consumeForHook, getShortMessage, getDetailedMessage, shouldBlockHook, getVerdict, preCheckHook, postCheckHook, ciGateHook, } from './bitnet-hook-consumer.js';
|
|
544
|
+
// Tool Descriptions (re-exported from extracted module)
|
|
545
|
+
// ============================================================
|
|
546
|
+
export { VIBE_PM_TOOL_DESCRIPTIONS } from './tool_descriptions.js';
|
|
547
|
+
export { getIngressState, checkIngressArtifacts, getFeatureFlags, isIngressRequired, isObserverEnabled, getObserverMode, isWatcherEnabled, getFeatureFlagsStatus, SoftObserver, getObserver, startObserverIfEnabled, stopObserver, getObserverStatus, runDeltaScan, quickDirtyCheck, readLastCheck, writeLastCheck, appendHistory, readHistory, validateSource, validateLastCheck, cacheExists, clearCache, getCacheStatus, getCacheDir, getLastCheckPath, getHistoryPath, hasSpecMap, hasChangeMap, loadChangeMap, loadSpecMap, scanChangedFiles, scanStagedFiles, scanImportHints, buildChangeMap, buildSkeletonMapPatch, mergeSkeletonMapPatch, judgeMappingGate, consumeForHook, getShortMessage, getDetailedMessage, shouldBlockHook, getVerdict, preCheckHook, postCheckHook, ciGateHook, } from './reexports.js';
|