core-agent-ide/codex-rs/mcp-server/tests
aibrahim-oai f918198bbb
Introduce a new function to just send user message [Stack 3/3] (#1686)
- MCP server: add send-user-message tool to send user input to a running
Codex session
- Added an integration tests for the happy and sad paths

Changes:
•	Add tool definition and schema.
•	Expose tool in capabilities.
•	Route and handle tool requests with validation.
•	Tests for success, bad UUID, and missing session.


follow‑ups
• Listen path not implemented yet; the tool is present but marked “don’t
use yet” in code comments.
• Session run flag reset: clear running_session_id_set appropriately
after turn completion/errors.

This is the third PR in a stack.
Stack:
Final: #1686
Intermediate: #1751
First: #1750
2025-08-01 17:04:12 +00:00
..
common MCP server: route structured tool-call requests and expose mcp_protocol [Stack 2/3] (#1751) 2025-08-01 02:46:04 +00:00
codex_tool.rs chore: refactor exec.rs: create separate seatbelt.rs and spawn.rs files (#1762) 2025-07-31 13:11:47 -07:00
interrupt.rs chore: refactor exec.rs: create separate seatbelt.rs and spawn.rs files (#1762) 2025-07-31 13:11:47 -07:00
send_message.rs Introduce a new function to just send user message [Stack 3/3] (#1686) 2025-08-01 17:04:12 +00:00