Expose collaboration_mode_kind in turn.started / turn notifications

This commit is contained in:
Charles Cunningham
2026-01-24 21:39:51 -08:00
parent 279c9534a1
commit 87fbfcc61d
14 changed files with 77 additions and 5 deletions
@@ -44,6 +44,7 @@ use codex_exec::exec_events::TurnFailedEvent;
use codex_exec::exec_events::TurnStartedEvent;
use codex_exec::exec_events::Usage;
use codex_exec::exec_events::WebSearchItem;
use codex_protocol::config_types::ModeKind;
use codex_protocol::plan_tool::PlanItemArg;
use codex_protocol::plan_tool::StepStatus;
use codex_protocol::plan_tool::UpdatePlanArgs;
@@ -104,6 +105,7 @@ fn task_started_produces_turn_started_event() {
"t1",
EventMsg::TurnStarted(codex_core::protocol::TurnStartedEvent {
model_context_window: Some(32_000),
collaboration_mode_kind: ModeKind::Custom,
}),
));