fix(sandbox): allow registry entries without agent scope

This commit is contained in:
Sebastian
2026-02-15 11:48:52 -05:00
parent 6277698f86
commit b567ba5dfc

View File

@@ -27,7 +27,7 @@ async function listSandboxRegistryItems<
TEntry extends { containerName: string; image: string; sessionKey: string },
>(params: {
read: () => Promise<{ entries: TEntry[] }>;
resolveConfiguredImage: (agentId: string) => string;
resolveConfiguredImage: (agentId?: string) => string;
}): Promise<Array<TEntry & { running: boolean; imageMatch: boolean }>> {
const registry = await params.read();
const results: Array<TEntry & { running: boolean; imageMatch: boolean }> = [];