lastlight-workflow-engine 0.1.2 → 0.1.3

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.
@@ -240,6 +240,15 @@ export interface GitSandboxAccess {
240
240
  * task's workspace before the sandbox container starts.
241
241
  */
242
242
  prePopulateBranch?: string;
243
+ /**
244
+ * The PR's base branch. When set (and different from the head branch), the
245
+ * pre-clone additionally fetches this branch and deepens both refs until they
246
+ * share a merge-base, so `git diff origin/<base>...HEAD` — the three-dot PR
247
+ * diff the review agent AND post-review anchor against — works in the
248
+ * workspace. A shallow `--depth 1 --single-branch` head clone otherwise omits
249
+ * the base entirely.
250
+ */
251
+ baseBranch?: string;
243
252
  /**
244
253
  * The owning workflow run id. Stamped into a `<workDir>/.lastlight-run`
245
254
  * marker by the pre-clone so a reused per-PR workspace can tell "next phase
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lastlight-workflow-engine",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nearform/lastlight.git",
@@ -32,7 +32,7 @@
32
32
  "zod": "^4.3.6"
33
33
  },
34
34
  "devDependencies": {
35
- "@types/node": "^22.0.0",
35
+ "@types/node": "^26.1.1",
36
36
  "dependency-cruiser": "^18.1.0",
37
37
  "typescript": "^5.7.0"
38
38
  },