Keep role-board note rendering typed

This commit is contained in:
Meta Vens 2026-05-20 14:50:15 +01:00
commit 555c18cd0a
5 changed files with 6 additions and 5 deletions

View file

@ -4,7 +4,6 @@ use codex_app_server_protocol::ThreadEpiphanyCrrcAction;
use codex_app_server_protocol::ThreadEpiphanyCrrcRecommendation;
use codex_app_server_protocol::ThreadEpiphanyJob;
use codex_app_server_protocol::ThreadEpiphanyReorientAction;
use codex_app_server_protocol::ThreadEpiphanyReorientStateStatus;
use codex_app_server_protocol::ThreadEpiphanyRoleId;
use codex_app_server_protocol::ThreadEpiphanyRoleLane;
use codex_app_server_protocol::ThreadEpiphanyRoleStatus;
@ -695,7 +694,7 @@ fn map_protocol_coordinator_role_status(
pub fn render_epiphany_roles_note(
roles: &[EpiphanyRoleBoardLane],
state_status: ThreadEpiphanyReorientStateStatus,
state_status: CoreEpiphanyReorientStateStatus,
recommendation: CoreEpiphanyCrrcAction,
) -> String {
render_role_board_note(

View file

@ -334,7 +334,7 @@ pub async fn map_epiphany_view_response(
.as_ref()
.map(|role_board| role_board.roles.as_slice())
.unwrap_or(&[]),
reorient_state_status,
core_reorient_state_status,
recommendation
.as_ref()
.map(|recommendation| recommendation.action)