AI Agent News/stories/cloudflare-think-0-22-0-removes-the-lazyworkspace-export.md

Frameworks

Cloudflare Think 0.22.0 removes the lazyWorkspace export

Cloudflare has released @cloudflare/think 0.22.0 on GitHub. The update removes the lazyWorkspace export and raises the required @cloudflare/computer peer to ^0.8.0.

Source: github.com/cloudflare/agents/releases/tag/%40cloudflare%2Fthink%400.22.0

Cloudflare's agents repository has published version 0.22.0 of @cloudflare/think. The minor change removes lazyWorkspace, which was exported by mistake in 0.21.0. Code that used it should call getWorkspace(() => stub) from @cloudflare/computer instead.

The release also moves the @cloudflare/computer peer dependency to ^0.8.0, so Computer should be upgraded to 0.8 together with Think. The release links to documentation on multi-session chat for context on the change.

A patch change fixes the ai peer dependency version listed in the Think README. No other changes are listed for this version.

Why it matters if you build agents

Agents that import lazyWorkspace will break after upgrading, so they need to switch to getWorkspace with a stub from @cloudflare/computer. Upgrading Think without also moving Computer to 0.8 will leave the peer requirement unmet.

Get stories like this every weekday

One short email with the day's agent tooling news.

Subscribe