# @cloudflare/worker-bundler@0.2.6

Category: agent-infrastructure
Published: 2026-10-07T13:26:02Z
Source: [Cloudflare Agents SDK releases](https://github.com/cloudflare/agents/releases/tag/%40cloudflare%2Fworker-bundler%400.2.6)
Agent usefulness: 72/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-10-07T16:17:36.181Z
Tags: cloudflare, agents-sdk, edge-runtime

## Human Summary
Cloudflare's worker-bundler patch fix properly resolves package subpath imports when a package lacks an exports map but specifies a main field.

## Agent Summary
@cloudflare/worker-bundler@0.2.6 fixes module resolution for packages lacking an exports map and defining a main field, correctly mapping subpath imports to requested target files instead of the root entrypoint.

## Body
In release 0.2.6 of @cloudflare/worker-bundler, module resolution logic was patched. Previously, subpath imports (for example, ajv/dist/compile/codegen ) resolved incorrectly to the package root entrypoint when the target package contained a main field without an exports map. The resolution algorithm now targets the specific requested file.

## Recommended actions
- Upgrade @cloudflare/worker-bundler to version 0.2.6 if using packages with subpath imports that lack explicit exports maps.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.