ReleaseCloudflare (Workers AI)Cloudflare (Workers AI)published Jun 12, 2026seen 1w

cloudflare/agents @cloudflare/shell@0.4.0

cloudflare/agents

Open original ↗

Captured source

source ↗
published Jun 12, 2026seen 1wcaptured 1whttp 200method plain

@cloudflare/shell@0.4.0

Repository: cloudflare/agents

Tag: @cloudflare/shell@0.4.0

Published: 2026-06-12T16:46:12Z

Prerelease: no

Release notes:

Minor Changes

  • #1656 `4c2d1a7` Thanks @cjol! - Add StateConnector — the state.* filesystem API as a codemode connector.

stateConnector(ctx, backend) (or new StateConnector(ctx, backend)) exposes every StateBackend method (readFile, writeFile, editFile, ls, find, grep, readJson, mergeJson, …) as connector tools for @cloudflare/codemode's durable runtime. Tools take a single object argument (state.writeFile({ path, content })), which the connector maps to the backend's positional parameters; pure reads are marked replay: "reexecute" so large file contents are never stored in the durable log. The legacy provider path (createStateToolProvider/stateTools) is unchanged and also accepts object-style arguments now, and the state.* type declarations and system prompt were updated to the object-argument convention.

Patch Changes

Notability

notability 2.0/10

routine minor version bump of shell agent tool