@cydm/happy-elves 0.1.0-beta.301 → 0.1.0-beta.302

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.
@@ -167,6 +167,9 @@ function headMatchesTurn(session, turn) {
167
167
  if (Number.isFinite(eventId) && eventId >= turn.firstEventId && eventId <= turn.lastEventId)
168
168
  return true;
169
169
  }
170
+ if (session.headBasis?.eventId !== undefined && session.headBasis.eventId >= turn.firstEventId && session.headBasis.eventId <= turn.lastEventId) {
171
+ return true;
172
+ }
170
173
  return (session.currentHead !== undefined && turnHeads.has(session.currentHead)) ||
171
174
  (session.lastTurnId !== undefined && turnHeads.has(session.lastTurnId));
172
175
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cydm/happy-elves-cli",
3
- "version": "0.1.0-beta.301",
3
+ "version": "0.1.0-beta.302",
4
4
  "private": true,
5
5
  "type": "module"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cydm/happy-elves-daemon",
3
- "version": "0.1.0-beta.301",
3
+ "version": "0.1.0-beta.302",
4
4
  "private": true,
5
5
  "type": "module"
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cydm/happy-elves",
3
- "version": "0.1.0-beta.301",
3
+ "version": "0.1.0-beta.302",
4
4
  "description": "Remote controller for local coding agents with hosted or self-hosted relay support.",
5
5
  "type": "module",
6
6
  "bin": {