WIP: RequestUserInput tool

This commit is contained in:
shijie-openai
2026-01-18 15:39:25 -08:00
parent c6ce1c70fa
commit e3f7223f54
22 changed files with 594 additions and 14 deletions
@@ -137,8 +137,10 @@ impl McpProcess {
let initialized = self.read_jsonrpc_message().await?;
let os_info = os_info::get();
let build_version = env!("CARGO_PKG_VERSION");
let originator = codex_core::default_client::originator().value;
let user_agent = format!(
"codex_cli_rs/0.0.0 ({} {}; {}) {} (elicitation test; 0.0.0)",
"{originator}/{build_version} ({} {}; {}) {} (elicitation test; 0.0.0)",
os_info.os_type(),
os_info.version(),
os_info.architecture().unwrap_or("unknown"),