files changedmanaged-agents/files
Nearest release: v2.1.304, published 6 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+6added
Lines−6removed
From line
36
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits18to this page, all time
The whole hunk
from line 36, old and new numbered
/
from line 36
3636
3737 ```typescript TypeScript
3838 const file = await client.files.upload({
39 file: await toFile(readFile("data.csv"), "data.csv", { type: "text/csv" }),
39 file: await toFile(readFile("data.csv"), "data.csv", { type: "text/csv" })
4040 });
4141 console.log(`File ID: ${file.id}`);
4242 ```
from line 144
144144 {
145145 type: "file",
146146 file_id: file.id,
147 mount_path: "/data.csv",
148 },
149 ],
147 mount_path: "/data.csv"
148 }
149 ]
150150 });
151151 ```
152152
from line 390
390390 ```typescript TypeScript
391391 const resource = await client.beta.sessions.resources.add(session.id, {
392392 type: "file",
393 file_id: file.id,
393 file_id: file.id
394394 });
395395 if (resource.type !== "file") {
396396 throw new Error(`Unexpected resource type: ${resource.type}`);
from line 494
494494 }
495495
496496 await client.beta.sessions.resources.delete(resource.id, {
497 session_id: session.id,
497 session_id: session.id
498498 });
499499 ```
500500
No line in this hunk matches that.