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 @@ -339,6 +339,7 @@ export namespace SessionPrompt {
339339 sessionID,
340340 mode : task . agent ,
341341 agent : task . agent ,
342+ variant : lastUser . variant ,
342343 path : {
343344 cwd : Instance . directory ,
344345 root : Instance . worktree ,
@@ -542,6 +543,7 @@ export namespace SessionPrompt {
542543 role : "assistant" ,
543544 mode : agent . name ,
544545 agent : agent . name ,
546+ variant : lastUser . variant ,
545547 path : {
546548 cwd : Instance . directory ,
547549 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