revert: "read-to-open"

This reverts commit c48d2e6080.
This commit is contained in:
can1357
2026-04-24 22:36:44 +02:00
parent 99a21b95ba
commit d82377cda8
44 changed files with 442 additions and 300 deletions
+1 -1
View File
@@ -1189,7 +1189,7 @@ async function materializeReadUrlCacheEntry(
}
async function persistReadUrlArtifact(session: ToolSession, output: string): Promise<string | undefined> {
const { path: artifactPath, id } = (await session.allocateOutputArtifact?.("open")) ?? {};
const { path: artifactPath, id } = (await session.allocateOutputArtifact?.("read")) ?? {};
if (!artifactPath) return undefined;
await Bun.write(artifactPath, output);
return id;