@runuai/host 0.9.152 → 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.
- package/db/migrations/0029_task_shared_files_mode.sql +5 -0
- package/db/migrations/meta/_journal.json +7 -0
- package/db/schema.ts +10 -0
- package/lib/agent.ts +4 -0
- package/lib/browser-testing.ts +8 -3
- package/lib/cloud-credential-leases.ts +15 -4
- package/lib/cloud-credential-runtime.ts +142 -3
- package/lib/credential-cleanup-inventory.ts +2 -0
- package/lib/credential-consumers/files.ts +934 -0
- package/lib/credential-consumers/mcp.ts +6 -1
- package/lib/mcp-gateway.ts +576 -122
- package/lib/orchestrator.ts +91 -9
- package/lib/runtime-state.ts +88 -0
- package/lib/shared-files-s3.ts +743 -3
- package/lib/sidecar-resume.ts +9 -0
- package/lib/task-credential-cleanup.ts +36 -5
- package/lib/task-environment/machine-task-up.ts +35 -19
- package/lib/task-files-machine-retirement.ts +88 -0
- package/lib/task-files-readiness.ts +127 -0
- package/package.json +1 -1
- package/src/cloud-credentials.ts +10 -0
- package/src/index.ts +38 -2
- package/src/main.ts +47 -2
|
@@ -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
|
-
|
|
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 {
|