agent-relay-orchestrator 0.24.0 → 0.25.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-relay-orchestrator",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "Agent Relay orchestrator — manages agent lifecycle across hosts",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,7 +16,7 @@
16
16
  "test": "bun test"
17
17
  },
18
18
  "dependencies": {
19
- "agent-relay-sdk": "0.2.13"
19
+ "agent-relay-sdk": "0.2.14"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/bun": "latest",
@@ -922,6 +922,9 @@ function mergeRebaseFf(
922
922
  }
923
923
  }
924
924
  const headSha = git(["rev-parse", "HEAD"], worktreePath).stdout;
925
+ // Subject of the landed commit for the relay's branch.landed notice (#239). Best-effort:
926
+ // an empty/failed read just omits it from the message body.
927
+ const landedSubject = git(["log", "-1", "--format=%s", headSha], worktreePath).stdout || undefined;
925
928
 
926
929
  // Advance base to the rebased branch. If base is checked out somewhere, do a
927
930
  // real ff-only merge there so its working tree stays consistent; otherwise
@@ -964,15 +967,15 @@ function mergeRebaseFf(
964
967
  // continues from a buildable state (issue #51). No-op when nothing is stale.
965
968
  const depsRefresh = refreshWorkspaceDeps(repoRoot, worktreePath);
966
969
  const reportDeps = depsRefresh.refreshed || depsRefresh.stale || depsRefresh.error;
967
- return head({ merged: true, status: "active", mergedSha: headSha, worktreeRemoved: false, branch: fresh, newBranch: fresh, branchDeleted: oldDeleted, pushed, ...(reportDeps ? { depsRefresh } : {}), error: undefined });
970
+ return head({ merged: true, status: "active", mergedSha: headSha, subject: landedSubject, worktreeRemoved: false, branch: fresh, newBranch: fresh, branchDeleted: oldDeleted, pushed, ...(reportDeps ? { depsRefresh } : {}), error: undefined });
968
971
  }
969
972
  // Recycle failed — keep the existing branch. Still landed, still active.
970
- return head({ merged: true, status: "active", mergedSha: headSha, worktreeRemoved: false, branchDeleted: false, pushed, error: undefined });
973
+ return head({ merged: true, status: "active", mergedSha: headSha, subject: landedSubject, worktreeRemoved: false, branchDeleted: false, pushed, error: undefined });
971
974
  }
972
975
  const removed = git(["worktree", "remove", "--force", worktreePath], repoRoot);
973
976
  const worktreeRemoved = removed.ok;
974
977
  const branchDeleted = worktreeRemoved ? git(["branch", "-D", branch], repoRoot).ok : false;
975
- return head({ merged: true, status: "merged", mergedSha: headSha, worktreeRemoved, branchDeleted, pushed, error: undefined });
978
+ return head({ merged: true, status: "merged", mergedSha: headSha, subject: landedSubject, worktreeRemoved, branchDeleted, pushed, error: undefined });
976
979
  }
977
980
 
978
981
  async function availableBranch(repoRoot: string, base: string): Promise<string> {