File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed
apps/desktop/src/lib/codegen Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ function injectEndpoints(api: ClientState['backendApi']) {
185185 `project://${ arg . projectId } /claude/${ arg . stackId } /message_recieved` ,
186186 async ( event ) => {
187187 const { payload } = event . payload ;
188- if ( payload . source === 'system ' && payload . type === 'commitCreated' ) {
188+ if ( payload . source === 'gitButler ' && payload . type === 'commitCreated' ) {
189189 lifecycleApi . dispatch (
190190 api . util . invalidateTags ( [ invalidatesItem ( ReduxTag . StackDetails , arg . stackId ) ] )
191191 ) ;
Original file line number Diff line number Diff line change @@ -171,8 +171,7 @@ export function formatMessages(
171171 payload . type === 'userAbort' ||
172172 payload . type === 'unhandledException' ||
173173 payload . type === 'compactStart' ||
174- payload . type === 'compactFinished' ||
175- payload . type === 'commitCreated'
174+ payload . type === 'compactFinished'
176175 ) {
177176 wrapUpAgentSide ( ) ;
178177 }
Original file line number Diff line number Diff line change @@ -157,12 +157,6 @@ export type SystemMessage =
157157 | {
158158 type : 'compactFinished' ;
159159 summary : string ;
160- }
161- | {
162- type : 'commitCreated' ;
163- stackId : string ;
164- branchName : string ;
165- commitIds : string [ ] ;
166160 } ;
167161
168162/**
You can’t perform that action at this time.
0 commit comments