Commit Graph

6 Commits

Author SHA1 Message Date
Ahmed Ibrahim
3b90ca959b fmt 2025-08-11 00:11:30 -07:00
Ahmed Ibrahim
c6cfdf705c feedback 2025-08-11 00:10:08 -07:00
Ahmed Ibrahim
c1e9083cbd use arc instead of overusing mutex 2025-08-04 19:17:44 -07:00
Ahmed Ibrahim
95423b26d7 initialize struct for conversation 2025-08-04 13:07:26 -07:00
Ahmed Ibrahim
ab70497539 move running session inside the conversation loop 2025-08-03 13:51:16 -07:00
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