@@ -70,7 +70,7 @@ pub struct ChannelState {
7070 pub conversation_logger : ConversationLogger ,
7171 pub process_run_logger : ProcessRunLogger ,
7272 /// Discord message ID to reply to for work spawned in the current turn.
73- pub reply_target_message_id : Arc < RwLock < Option < u64 > > > ,
73+ pub reply_target_message_id : Arc < RwLock < Option < String > > > ,
7474 pub channel_store : ChannelStore ,
7575 pub screenshot_dir : std:: path:: PathBuf ,
7676 pub logs_dir : std:: path:: PathBuf ,
@@ -155,7 +155,7 @@ pub struct Channel {
155155 /// Branch IDs for silent memory persistence branches (results not injected into history).
156156 memory_persistence_branches : HashSet < BranchId > ,
157157 /// Optional Discord reply target captured when each branch was started.
158- branch_reply_targets : HashMap < BranchId , u64 > ,
158+ branch_reply_targets : HashMap < BranchId , String > ,
159159 /// Buffer for coalescing rapid-fire messages.
160160 coalesce_buffer : Vec < InboundMessage > ,
161161 /// Deadline for flushing the coalesce buffer.
@@ -1437,7 +1437,8 @@ impl Channel {
14371437 } => {
14381438 run_logger. log_branch_started ( channel_id, * branch_id, description) ;
14391439 if let Some ( message_id) = reply_to_message_id {
1440- self . branch_reply_targets . insert ( * branch_id, * message_id) ;
1440+ self . branch_reply_targets
1441+ . insert ( * branch_id, message_id. clone ( ) ) ;
14411442 }
14421443 }
14431444 ProcessEvent :: BranchResult {
0 commit comments