ultraworkers-claw-code/rust/crates/runtime/src
Yeachan-Heo b3fe057559 Close the MCP lifecycle gap from config to runtime tool execution
This wires configured MCP servers into the CLI/runtime path so discovered
MCP tools, resource wrappers, search visibility, shutdown handling, and
best-effort discovery all work together instead of living as isolated
runtime primitives.

Constraint: Keep non-MCP startup flows working without new required config
Constraint: Preserve partial availability when one configured MCP server fails discovery
Rejected: Fail runtime startup on any MCP discovery error | too brittle for mixed healthy/broken server configs
Rejected: Keep MCP support runtime-only without registry wiring | left discovery and invocation unreachable from the CLI tool lane
Confidence: high
Scope-risk: moderate
Reversibility: clean
Directive: Runtime MCP tools are registry-backed but executed through CliToolExecutor state; keep future tool-registry changes aligned with that split
Tested: cargo test -p runtime mcp -- --nocapture; cargo test -p tools -- --nocapture; cargo test -p rusty-claude-cli -- --nocapture; cargo test --workspace -- --nocapture
Not-tested: Live remote MCP transports (http/sse/ws/sdk) remain unsupported in the CLI execution path
2026-04-03 14:31:25 +00:00
..
bash.rs fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
bootstrap.rs feat(runtime): add tests and improve error handling across runtime crate 2026-04-02 18:10:12 +09:00
compact.rs fix: align session tests with jsonl persistence 2026-04-02 11:31:53 +09:00
config.rs Merge branch 'dori/mcp-parity' 2026-04-02 18:35:38 +09:00
conversation.rs Merge branch 'dori/hooks-parity' into main 2026-04-02 18:36:37 +09:00
file_ops.rs fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
hooks.rs feat(hooks): add PostToolUseFailure propagation, validation, and tests 2026-04-02 18:24:12 +09:00
json.rs fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
lib.rs Close the MCP lifecycle gap from config to runtime tool execution 2026-04-03 14:31:25 +00:00
mcp_client.rs feat(mcp): add toolCallTimeoutMs, timeout/reconnect/error handling 2026-04-02 18:24:30 +09:00
mcp_stdio.rs Close the MCP lifecycle gap from config to runtime tool execution 2026-04-03 14:31:25 +00:00
mcp.rs feat(mcp): add toolCallTimeoutMs, timeout/reconnect/error handling 2026-04-02 18:24:30 +09:00
oauth.rs fix: post-plugins-merge cleanroom fixes and workspace deps 2026-04-01 18:48:39 +09:00
permissions.rs wip: hook-pipeline progress 2026-04-01 04:30:25 +00:00
prompt.rs fix: stabilize merge fallout test fixtures 2026-04-02 11:31:53 +09:00
remote.rs fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
sandbox.rs fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
session.rs feat(runtime): add tests and improve error handling across runtime crate 2026-04-02 18:10:12 +09:00
sse.rs feat(runtime): add tests and improve error handling across runtime crate 2026-04-02 18:10:12 +09:00
usage.rs wip: jsonl-session progress 2026-04-01 04:30:27 +00:00