agent-relay-codex 0.6.0 → 0.6.1

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/live-sidecar.ts CHANGED
@@ -198,12 +198,12 @@ class CodexLiveSidecar {
198
198
  });
199
199
  this.agentId = registration.agentId;
200
200
  this.agentEpoch = registration.session?.epoch ?? 0;
201
- this.lastSeenMessageId = await this.relay.getCursor();
201
+ this.lastSeenMessageId = this.agentEpoch > 1 ? 0 : await this.relay.getCursor();
202
202
  this.lastHeartbeatAt = 0;
203
203
  this.hasSuccessfulPoll = false;
204
204
  this.log(`registered agent ${this.agentId}`);
205
205
  this.log(`using thread ${this.threadId}`);
206
- this.log(`bootstrapped relay cursor ${this.lastSeenMessageId}`);
206
+ this.log(`bootstrapped relay cursor ${this.lastSeenMessageId}${this.agentEpoch > 1 ? " (resuming unread backlog)" : ""}`);
207
207
  this.writeState();
208
208
  await this.refreshRelayStatus();
209
209
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-relay-codex",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Codex integration for Agent Relay — auto-registers sessions as agents and enables inter-agent messaging",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-relay",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Agent Relay integration for Codex sessions",
5
5
  "author": {
6
6
  "name": "Edin Mujkanovic"