agent-relay-server 0.99.0 → 0.99.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/docs/openapi.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "Agent Relay API",
5
- "version": "0.99.0",
5
+ "version": "0.99.1",
6
6
  "description": "Real-time message bus for inter-agent communication. Agent-first: this spec is designed for machine consumption — agents can self-discover the full API surface via GET /api/spec.",
7
7
  "license": {
8
8
  "name": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-relay-server",
3
- "version": "0.99.0",
3
+ "version": "0.99.1",
4
4
  "description": "Lightweight HTTP message relay for inter-agent communication across machines",
5
5
  "module": "src/index.ts",
6
6
  "type": "module",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "agent-relay-runner",
3
3
  "description": "Thin Agent Relay runner bridge for Claude Code",
4
- "version": "0.99.0",
4
+ "version": "0.99.1",
5
5
  "agentRelayContracts": {
6
6
  "providerPluginProtocol": 1
7
7
  }
@@ -403,11 +403,12 @@ function mergeQuotaWindows(existing: StoredQuotaState | undefined, incoming: Quo
403
403
  mergedTimes.set(key, incoming.updatedAt); mergedSources.set(key, incoming.source);
404
404
  return incomingWindow;
405
405
  }
406
- // Same-priority sources: prefer the newer reading and guard against an improbable regression.
406
+ // Same-priority sources: prefer the newer reading. Keep the regression guard for noisy
407
+ // self-reports, but let authoritative API ingest correct a stale/maxed WHAM sample (#750).
407
408
  if (incoming.updatedAt < existingUpdatedAt) {
408
409
  mergedTimes.set(key, existingUpdatedAt); mergedSources.set(key, existingSource); return window;
409
410
  }
410
- if (quotaWindowUtilizationRegressed(window, incomingWindow)) {
411
+ if (incoming.source !== "ingest" && quotaWindowUtilizationRegressed(window, incomingWindow)) {
411
412
  mergedTimes.set(key, existingUpdatedAt); mergedSources.set(key, existingSource); return window;
412
413
  }
413
414
  acceptedIncomingWindow = true;