Skip to content

Commit 5bca865

Browse files
committed
bump version
1 parent 2828062 commit 5bca865

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/agent/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

packages/agent/src/agent.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)