- Expose mcp_protocol from mcp-server for reuse in tests and callers. - In MessageProcessor, detect structured ToolCallRequestParams in tools/call and forward to a new handler. - Add handle_new_tool_calls scaffold (returns error for now). - Test helper: add send_send_user_message_tool_call to McpProcess to send ConversationSendMessage requests; This is the second PR in a stack. Stack: Final: #1686 Intermediate: #1751 First: #1750
26 lines
528 B
TOML
26 lines
528 B
TOML
[package]
|
|
name = "mcp_test_support"
|
|
version = { workspace = true }
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
assert_cmd = "2"
|
|
codex-mcp-server = { path = "../.." }
|
|
codex-core = { path = "../../../core" }
|
|
mcp-types = { path = "../../../mcp-types" }
|
|
pretty_assertions = "1.4.1"
|
|
serde_json = "1"
|
|
shlex = "1.3.0"
|
|
tempfile = "3"
|
|
tokio = { version = "1", features = [
|
|
"io-std",
|
|
"macros",
|
|
"process",
|
|
"rt-multi-thread",
|
|
] }
|
|
wiremock = "0.6"
|
|
uuid = { version = "1", features = ["serde", "v4"] } |