@locusai/cli 0.9.11 → 0.9.13

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.
@@ -30940,13 +30940,12 @@ class WorktreeManager {
30940
30940
  this.log("No changes to commit", "info");
30941
30941
  return null;
30942
30942
  }
30943
+ this.gitExec(["config", "user.name", "LocusAgent"], worktreePath);
30944
+ this.gitExec(["config", "user.email", "agent@locusai.team"], worktreePath);
30943
30945
  this.git("add -A", worktreePath);
30944
- try {
30945
- this.git("reset HEAD -- .locus/project/progress.md", worktreePath);
30946
- } catch {}
30947
30946
  const staged = this.git("diff --cached --name-only", worktreePath).trim();
30948
30947
  if (!staged) {
30949
- this.log("No changes to commit (only progress.md was modified)", "info");
30948
+ this.log("No changes to commit", "info");
30950
30949
  return null;
30951
30950
  }
30952
30951
  this.gitExec(["commit", "-m", message], worktreePath);
@@ -30971,8 +30970,8 @@ class WorktreeManager {
30971
30970
  } catch {}
30972
30971
  this.gitExec(["push", "--force-with-lease", "-u", remote, branch], worktreePath);
30973
30972
  this.log(`Pushed ${branch} to ${remote} with --force-with-lease`, "success");
30973
+ return branch;
30974
30974
  }
30975
- return branch;
30976
30975
  }
30977
30976
  getBranch(worktreePath) {
30978
30977
  return this.git("rev-parse --abbrev-ref HEAD", worktreePath).trim();
@@ -31539,7 +31538,7 @@ class AgentWorker {
31539
31538
  const trailers = [
31540
31539
  `Task-ID: ${task2.id}`,
31541
31540
  `Agent: ${this.config.agentId}`,
31542
- "Co-authored-by: LocusAI <noreply@locusai.dev>"
31541
+ "Co-authored-by: LocusAI <agent@locusai.team>"
31543
31542
  ];
31544
31543
  if (this.ghUsername) {
31545
31544
  trailers.push(`Co-authored-by: ${this.ghUsername} <${this.ghUsername}@users.noreply.github.com>`);
package/bin/locus.js CHANGED
@@ -6379,7 +6379,10 @@ var init_config = __esm(() => {
6379
6379
  ".locus/settings.json",
6380
6380
  "",
6381
6381
  "# Locus AI - Configuration (contains project context, progress, etc.)",
6382
- ".locus/config.json"
6382
+ ".locus/config.json",
6383
+ "",
6384
+ "# Locus AI - Project progress (contains project progress, etc.)",
6385
+ ".locus/project/progress.md"
6383
6386
  ];
6384
6387
  });
6385
6388
 
@@ -38630,13 +38633,12 @@ class WorktreeManager {
38630
38633
  this.log("No changes to commit", "info");
38631
38634
  return null;
38632
38635
  }
38636
+ this.gitExec(["config", "user.name", "LocusAgent"], worktreePath);
38637
+ this.gitExec(["config", "user.email", "agent@locusai.team"], worktreePath);
38633
38638
  this.git("add -A", worktreePath);
38634
- try {
38635
- this.git("reset HEAD -- .locus/project/progress.md", worktreePath);
38636
- } catch {}
38637
38639
  const staged = this.git("diff --cached --name-only", worktreePath).trim();
38638
38640
  if (!staged) {
38639
- this.log("No changes to commit (only progress.md was modified)", "info");
38641
+ this.log("No changes to commit", "info");
38640
38642
  return null;
38641
38643
  }
38642
38644
  this.gitExec(["commit", "-m", message], worktreePath);
@@ -38661,8 +38663,8 @@ class WorktreeManager {
38661
38663
  } catch {}
38662
38664
  this.gitExec(["push", "--force-with-lease", "-u", remote, branch], worktreePath);
38663
38665
  this.log(`Pushed ${branch} to ${remote} with --force-with-lease`, "success");
38666
+ return branch;
38664
38667
  }
38665
- return branch;
38666
38668
  }
38667
38669
  getBranch(worktreePath) {
38668
38670
  return this.git("rev-parse --abbrev-ref HEAD", worktreePath).trim();
@@ -38909,7 +38911,7 @@ class AgentWorker {
38909
38911
  const trailers = [
38910
38912
  `Task-ID: ${task2.id}`,
38911
38913
  `Agent: ${this.config.agentId}`,
38912
- "Co-authored-by: LocusAI <noreply@locusai.dev>"
38914
+ "Co-authored-by: LocusAI <agent@locusai.team>"
38913
38915
  ];
38914
38916
  if (this.ghUsername) {
38915
38917
  trailers.push(`Co-authored-by: ${this.ghUsername} <${this.ghUsername}@users.noreply.github.com>`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locusai/cli",
3
- "version": "0.9.11",
3
+ "version": "0.9.13",
4
4
  "description": "CLI for Locus - AI-native project management platform",
5
5
  "type": "module",
6
6
  "bin": {
@@ -32,7 +32,7 @@
32
32
  "author": "",
33
33
  "license": "MIT",
34
34
  "dependencies": {
35
- "@locusai/sdk": "^0.9.11"
35
+ "@locusai/sdk": "^0.9.13"
36
36
  },
37
37
  "devDependencies": {}
38
38
  }