Skip to content

Commit a3fb9c8

Browse files
fix(cli): expose primary branch helper
1 parent e174d8d commit a3fb9c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import { normalizeRequestArgs, shellEscape } from "./utils.js";
1414
import {
1515
getCurrentBranch,
1616
getLastCommitMessage,
17+
getPrimaryBranch,
1718
getStagedChanges,
1819
hasStagedChanges,
1920
hasTestChanges,
@@ -72,6 +73,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
7273
hasStagedChanges,
7374
getStagedChanges,
7475
getCurrentBranch,
76+
getPrimaryBranch,
7577
getLastCommitMessage,
7678
workingTreeSummary,
7779
},
@@ -246,6 +248,7 @@ async function cliMain(argv) {
246248
hasStagedChanges,
247249
getStagedChanges,
248250
getCurrentBranch,
251+
getPrimaryBranch,
249252
getLastCommitMessage,
250253
workingTreeSummary,
251254
},

0 commit comments

Comments
 (0)