@saeed42/worktree-worker 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/main.js +2 -2
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1860,9 +1860,9 @@ git.post("/push", async (c) => {
1860
1860
  try {
1861
1861
  let pushArgs;
1862
1862
  if (upToCommit) {
1863
- pushArgs = ["push", "origin", `${upToCommit}:${branch}`];
1863
+ pushArgs = ["push", "origin", `${upToCommit}:refs/heads/${branch}`];
1864
1864
  } else {
1865
- pushArgs = ["push", "origin", branch];
1865
+ pushArgs = ["push", "-u", "origin", branch];
1866
1866
  }
1867
1867
  log.debug("Executing git push", { args: pushArgs });
1868
1868
  const result = await gitService.exec(pushArgs, cwd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saeed42/worktree-worker",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Git worktree management service for AI agent trials",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",