@@ -1875,6 +1875,9 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio
18751875 ...( queuedMessage . senderThreadId === undefined
18761876 ? { }
18771877 : { senderThreadId : queuedMessage . senderThreadId } ) ,
1878+ ...( queuedMessage . idleCompaction === undefined
1879+ ? { }
1880+ : { idleCompaction : queuedMessage . idleCompaction } ) ,
18781881 } ) ,
18791882 providerThreadId : queuedProviderThread . id ,
18801883 inputIntent : "queued_turn" ,
@@ -4131,6 +4134,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio
41314134 readonly creationSource : OrchestrationV2ConversationMessage [ "creationSource" ] ;
41324135 readonly scheduledTaskId ?: OrchestrationV2ConversationMessage [ "scheduledTaskId" ] ;
41334136 readonly senderThreadId ?: OrchestrationV2ConversationMessage [ "senderThreadId" ] ;
4137+ readonly idleCompaction ?: OrchestrationV2ConversationMessage [ "idleCompaction" ] ;
41344138 readonly delegatedCompletion ?: OrchestrationV2ConversationMessage [ "delegatedCompletion" ] ;
41354139 readonly forceRestart : boolean ;
41364140 } ) {
@@ -4288,6 +4292,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio
42884292 ? { }
42894293 : { scheduledTaskId : input . scheduledTaskId } ) ,
42904294 ...( input . senderThreadId === undefined ? { } : { senderThreadId : input . senderThreadId } ) ,
4295+ ...( input . idleCompaction === undefined ? { } : { idleCompaction : input . idleCompaction } ) ,
42914296 id : input . messageId ,
42924297 threadId : input . command . threadId ,
42934298 runId : messageInput . runId ,
@@ -4307,6 +4312,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio
43074312 ? { }
43084313 : { scheduledTaskId : input . scheduledTaskId } ) ,
43094314 ...( input . senderThreadId === undefined ? { } : { senderThreadId : input . senderThreadId } ) ,
4315+ ...( input . idleCompaction === undefined ? { } : { idleCompaction : input . idleCompaction } ) ,
43104316 id : idAllocator . derive . userTurnItem ( { messageId : input . messageId } ) ,
43114317 threadId : input . command . threadId ,
43124318 runId : messageInput . runId ,
@@ -5242,6 +5248,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio
52425248 ? { }
52435249 : { scheduledTaskId : command . scheduledTaskId } ) ,
52445250 ...( command . senderThreadId === undefined ? { } : { senderThreadId : command . senderThreadId } ) ,
5251+ ...( command . idleCompaction === undefined ? { } : { idleCompaction : command . idleCompaction } ) ,
52455252 forceRestart : dispatchMode . type === "restart_active" ,
52465253 } ) ;
52475254 return ;
@@ -5477,6 +5484,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio
54775484 ? { }
54785485 : { scheduledTaskId : command . scheduledTaskId } ) ,
54795486 ...( command . senderThreadId === undefined ? { } : { senderThreadId : command . senderThreadId } ) ,
5487+ ...( command . idleCompaction === undefined ? { } : { idleCompaction : command . idleCompaction } ) ,
54805488 id : command . messageId ,
54815489 threadId : command . threadId ,
54825490 runId,
@@ -5817,6 +5825,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio
58175825 ? { }
58185826 : { scheduledTaskId : command . scheduledTaskId } ) ,
58195827 ...( command . senderThreadId === undefined ? { } : { senderThreadId : command . senderThreadId } ) ,
5828+ ...( command . idleCompaction === undefined ? { } : { idleCompaction : command . idleCompaction } ) ,
58205829 id : command . messageId ,
58215830 threadId : command . threadId ,
58225831 runId,
@@ -5838,6 +5847,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio
58385847 ? { }
58395848 : { scheduledTaskId : command . scheduledTaskId } ) ,
58405849 ...( command . senderThreadId === undefined ? { } : { senderThreadId : command . senderThreadId } ) ,
5850+ ...( command . idleCompaction === undefined ? { } : { idleCompaction : command . idleCompaction } ) ,
58415851 id : idAllocator . derive . userTurnItem ( { messageId : command . messageId } ) ,
58425852 threadId : command . threadId ,
58435853 runId,
@@ -6504,6 +6514,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio
65046514 ? { }
65056515 : { scheduledTaskId : command . scheduledTaskId } ) ,
65066516 ...( command . senderThreadId === undefined ? { } : { senderThreadId : command . senderThreadId } ) ,
6517+ ...( command . idleCompaction === undefined ? { } : { idleCompaction : command . idleCompaction } ) ,
65076518 id : command . messageId ,
65086519 threadId : command . threadId ,
65096520 runId,
@@ -6525,6 +6536,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio
65256536 ? { }
65266537 : { scheduledTaskId : command . scheduledTaskId } ) ,
65276538 ...( command . senderThreadId === undefined ? { } : { senderThreadId : command . senderThreadId } ) ,
6539+ ...( command . idleCompaction === undefined ? { } : { idleCompaction : command . idleCompaction } ) ,
65286540 id : idAllocator . derive . userTurnItem ( { messageId : command . messageId } ) ,
65296541 threadId : command . threadId ,
65306542 runId,
@@ -8151,6 +8163,9 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio
81518163 ...( queuedMessage . senderThreadId === undefined
81528164 ? { }
81538165 : { senderThreadId : queuedMessage . senderThreadId } ) ,
8166+ ...( queuedMessage . idleCompaction === undefined
8167+ ? { }
8168+ : { idleCompaction : queuedMessage . idleCompaction } ) ,
81548169 forceRestart : false ,
81558170 } ) ;
81568171 } ) ;
0 commit comments