@runuai/host 0.9.151 → 0.9.153

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.
@@ -282,7 +282,12 @@ export function leasedMcpFor(taskId: string): TaskMcpLease | undefined {
282
282
  export function leasedMcpAclEntries(taskId: string): Array<{ id: string; slug: string }> {
283
283
  const served = tasks.get(taskId)?.served;
284
284
  if (!served) return [];
285
- return [...served.values()].filter(isLeased).map((connection) => ({ id: connection.credentialId, slug: connection.slug }));
285
+ // Membership follows the committed manifest, not whether its material was
286
+ // readable on this pass. A named-but-unreadable connection remains in agent
287
+ // config so the gateway can distinguish the temporary 503 from an absent
288
+ // connection's 404, and so a later material refresh needs no process
289
+ // restart just to make the tool visible again.
290
+ return [...served.values()].map((connection) => ({ id: connection.credentialId, slug: connection.slug }));
286
291
  }
287
292
 
288
293
  export function setMcpCredentialRefresher(next: McpCredentialRefresher | null): void {