File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @posthog/agent" ,
3- "version" : " 1.26 .0" ,
3+ "version" : " 1.27 .0" ,
44 "repository" : " https://github.com/PostHog/array" ,
55 "description" : " TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog" ,
66 "main" : " ./dist/index.js" ,
Original file line number Diff line number Diff line change @@ -689,7 +689,6 @@ Generated by PostHog Agent`;
689689 stopReason : result . stopReason ,
690690 } ) ;
691691
692-
693692 const branchName = await this . gitManager . getCurrentBranch ( ) ;
694693 const hasChanges = await this . gitManager . hasChanges ( ) ;
695694 const shouldCreatePR = options . createPR ?? false ;
@@ -703,13 +702,11 @@ Generated by PostHog Agent`;
703702 ) ;
704703 }
705704
706-
707705 const defaultBranch = await this . gitManager . getDefaultBranch ( ) ;
708706 if ( branchName !== defaultBranch ) {
709707 this . logger . info ( "Pushing branch" , { branchName, taskId : task . id } ) ;
710708 await this . gitManager . pushBranch ( branchName ) ;
711709
712-
713710 if ( shouldCreatePR ) {
714711 this . logger . info ( "Creating PR" , { branchName, taskId : task . id } ) ;
715712
You can’t perform that action at this time.
0 commit comments