传递 DirectProject 回合用户标识

向 turn/start 发送稳定 clientUserMessageId

补充项目模式协议参数回归断言
This commit is contained in:
2026-09-07 11:28:21 +08:00
parent 330605e682
commit 3ef3e40383
@@ -3709,8 +3709,9 @@ mod tests {
"fixture-model",
&workspace,
CodexAppServerWorkspaceMode::DirectProject,
None,
Some("direct-turn-0001"),
);
assert_eq!(turn["clientUserMessageId"], "direct-turn-0001");
assert_eq!(
turn.pointer("/sandboxPolicy/writableRoots/0"),
Some(&serde_json::json!(workspace))