agents-relay 2.0.261 → 2.0.262

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.
@@ -30,6 +30,17 @@ export class ReconcilerReviewBase extends ReconcilerRuntimeBase {
30
30
  return job.headSha ?? job.review?.headSha ?? null;
31
31
  if (this.options.headShaProvider)
32
32
  return this.options.headShaProvider(job);
33
+ // Plan-free Coordinator Jobs execute in their explicitly bound project Git root.
34
+ // Local-only repository aliases (e.g. local/vlog) may not resolve through
35
+ // the managed repository inventory. Use the durable DAG start context.
36
+ if (job.graphStartContext?.projectPath && !job.localMerge?.sourceRef) {
37
+ try {
38
+ return localWorkingHead(job.graphStartContext.projectPath);
39
+ }
40
+ catch {
41
+ return job.headSha ?? job.review?.headSha ?? null;
42
+ }
43
+ }
33
44
  // GitHub PR head facts are audit-only. Source identity is local Git.
34
45
  if (!this.options.projectPathForJob)
35
46
  return job.headSha ?? job.review?.headSha ?? null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agents-relay",
3
- "version": "2.0.261",
3
+ "version": "2.0.262",
4
4
  "description": "Durable async agent jobs coordinated through GitHub pull requests",
5
5
  "repository": {
6
6
  "type": "git",