agents-relay 1.0.8 → 1.0.9

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.
Files changed (2) hide show
  1. package/dist/relayd.js +4 -3
  2. package/package.json +1 -1
package/dist/relayd.js CHANGED
@@ -113,7 +113,7 @@ export async function runDaemon(argv) {
113
113
  await persistCache();
114
114
  return refreshed;
115
115
  };
116
- const initial = await refreshAll();
116
+ const initial = cachedOverviews;
117
117
  const fallback = initial[0]?.job;
118
118
  const dashboardStore = fallback ? new GitHubStore(client, fallback.repository, fallback.prNumber, trusted) : new InMemoryStore();
119
119
  const secretFile = value(argv, '--github-webhook-secret-file');
@@ -170,8 +170,9 @@ export async function runDaemon(argv) {
170
170
  process.once('SIGINT', stop);
171
171
  process.once('SIGTERM', stop);
172
172
  console.log('Dashboard listening; repository worker pool active');
173
- if (!client.rateLimitStatus().limited)
174
- void pool.reconcileKnown(initial).catch(error => process.stderr.write(`warning: startup reconciliation unavailable: ${error instanceof Error ? error.message : String(error)}\n`));
173
+ void refreshAll()
174
+ .then(items => pool.reconcileKnown(items))
175
+ .catch(error => process.stderr.write(`warning: startup reconciliation unavailable: ${error instanceof Error ? error.message : String(error)}\n`));
175
176
  }
176
177
  if (isEntrypoint(import.meta.url))
177
178
  runDaemon(process.argv.slice(2)).catch(error => { console.error(error instanceof Error ? error.message : String(error)); process.exitCode = 1; });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agents-relay",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Durable async agent jobs coordinated through GitHub pull requests",
5
5
  "type": "module",
6
6
  "bin": {