Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

dreams changedmanaged-agents/dreams

Nearest release: v2.1.310, published 11 hours after 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+2added
Lines−2removed
From line 154 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits17to this page, all time

The whole hunk

from line 154, old and new numbered
/
lines
from line 154
154154 
155155The response is the full `dream` resource with `status: "pending"`:
156156 
157```text
157```json
158158{
159159 "type": "dream",
160160 "id": "drm_01AbCDefGhIjKlMnOpQrStUv",
from line 215
215215 
216216 ```typescript TypeScript
217217 while (dream.status === "pending" || dream.status === "running") {
218 await sleep(10_000);
218 await new Promise((resolve) => setTimeout(resolve, 10_000));
219219 dream = await client.beta.dreams.retrieve(dream.id);
220220 console.log(`status=${dream.status} input_tokens=${dream.usage.input_tokens}`);
221221 }
Feedback