File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ export namespace SessionCompaction {
108108 sessionID : input . sessionID ,
109109 mode : "compaction" ,
110110 agent : "compaction" ,
111+ variant : userMessage . variant ,
111112 summary : true ,
112113 path : {
113114 cwd : Instance . directory ,
Original file line number Diff line number Diff line change @@ -387,6 +387,7 @@ export namespace MessageV2 {
387387 write : z . number ( ) ,
388388 } ) ,
389389 } ) ,
390+ variant : z . string ( ) . optional ( ) ,
390391 finish : z . string ( ) . optional ( ) ,
391392 } ) . meta ( {
392393 ref : "AssistantMessage" ,
Original file line number Diff line number Diff line change @@ -336,6 +336,7 @@ export namespace SessionPrompt {
336336 sessionID,
337337 mode : task . agent ,
338338 agent : task . agent ,
339+ variant : lastUser . variant ,
339340 path : {
340341 cwd : Instance . directory ,
341342 root : Instance . worktree ,
@@ -539,6 +540,7 @@ export namespace SessionPrompt {
539540 role : "assistant" ,
540541 mode : agent . name ,
541542 agent : agent . name ,
543+ variant : lastUser . variant ,
542544 path : {
543545 cwd : Instance . directory ,
544546 root : Instance . worktree ,
Original file line number Diff line number Diff line change @@ -197,6 +197,7 @@ export type AssistantMessage = {
197197 write : number
198198 }
199199 }
200+ variant ?: string
200201 finish ?: string
201202}
202203
You can’t perform that action at this time.
0 commit comments