Packages

@cloudflare/computer

0.6.0 · 20 Oct 2026MIT159.2k / weekRepositoryHomepagenpmAtom feed

13 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 0.6.x · latest line
  2. 0.6.0

    20 Oct 2026
    • deprecated

      Workspace, its filesystem, the worker-javascript backend, mounts, agent tools, Git, Assets, and Artifacts are now stable; LegacyContainerBackend is deprecated in favor of ContainerBackend; the container and worker-shell backends, ws:container, sync, and computerd stay experimental.

    • getWorkspace() now returns a lazy client immediately which resolves on the first call. useThink and the Think compatibility methods are removed; @cloudflare/think 0.21 and later take a Workspace as it is.

    • WorkerJavaScriptBackend keeps its Durable Object alive while executions run, and adds a maxCpuMs option.

  3. 0.5.x
  4. 0.5.1

    13 Oct 2026
    • Add forAISDKTools() in @cloudflare/computer/tools/ai-sdk to serve an AI SDK tool set to isolate JavaScript as ws:tools; see ws:tools documentation.

    • The edit tool bounds its diff with maxDiffLines and maxDiffBytes and reports diffTruncated; see edit tool documentation.

    • Fix issue when creating a host module with no functions in the JavaScriptWorkerBackend; see host module documentation.

  5. 0.5.0

    9 Oct 2026
  6. 0.4.x
  7. 0.4.1

    5 Oct 2026
    • Add ignore to ContainerBackend: glob patterns, such as **/node_modules and !/vendor/node_modules, for paths the container keeps on its own disk instead of syncing.

  8. 0.4.0

    2 Oct 2026
    • Rename the platform-scheduled container backend to LegacyContainerBackend; see container backend documentation.

    • Add Workspace tool sets for pi (createPiTools from @cloudflare/computer/tools/pi-ai) and TanStack AI (createTanStackTools from @cloudflare/computer/tools/tanstack-ai); see the tool interface docs.

    • Keep configured paths local to the container instead of syncing them with the Durable Object using ContainerBackend.ignore; see local-only path documentation.

  9. 0.3.x
  10. 0.3.2

    1 Oct 2026
    • Add an exclude option to fs.grep, matching fs.find.

  11. 0.3.1

    18 Sep 2026
    • Document the symbolic-link filesystem surface under docs/04_filesystem_interface.md.

    • Extend Workspace.fs to include rename(oldPath, newPath).

    • find now accepts exclude e.g. ws.fs.find("/workspace", "**/*.ts", { exclude: ["node_modules/**"], }).

  12. 0.3.0

    11 Sep 2026
    • The container's HTTP surface now requires a bearer token. The host generates a secret, passes it to the container as RPC_CLIENT_SECRET at launch, and sends it on /connect. Readiness at /health stays open, and leaving the variable unset disables the checks. Before opening a session the host checks that the container refuses an unauthenticated request and fails the connect if it does not, so a container or image predating this has to be recycled. The container's dial-back to the host carries the same secret, and the host refuses an upgrade that does not present it.

    • The /connect caller now provides both API & healthcheck endpoints. The container no longer builds either path itself, so a host is free to serve them wherever it likes.

    • IWorkspaceContainerAPI.start() and restart() now take a single ContainerLaunchSpec of { env, enableInternet } instead of two arguments, and return which of launched, adopted or relaunched happened. Each launch records its spec, and a container found already running is relaunched unless it matches, because neither the environment nor the internet flag can be changed on a live container. A container started outside this API has no record and is relaunched rather than trusted. setInactivityTimeout() joins the interface so a caller that pre-starts containers, such as a warm pool, does not need to reach past it.

  13. 0.2.x
  14. 0.2.1

    17 Aug 2026
    • Embed the configured byte limit directly in Worker JavaScript capability size errors.

    • Add support for short revision ids in the git module.

    • container-shell operations now reconnect after computerd restarts when retrying is safe, and process-local execution handles return EEXEC_LOST after container replacement. See container connection recovery.

  15. 0.2.0

    11 Aug 2026
    • Consolidate egress configuration across the existing backends. See ./examples/egress for details.

    • Expose bounded workspace byte reads through RPC and return paginated directory listings with file metadata.

    • Extend the read tool to support image and data formats.

  16. 0.1.x
  17. 0.1.0 – 0.1.12 releases without a noteShow each
    • 0.1.13 Aug 2026no note
    • 0.1.03 Aug 2026no note
  18. 0.0.x
  19. 0.0.0

    29 Jul 2026