{"version":"2.1.290","anchor":"directory-listing-error-messages-working-list-too-long","canonical_anchor":"directory-listing-error-messages-working-list-too-long","heading":"Anchored file layer adds a directory-listing size cap and new operations","tier":"notice","area":"File Paths","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.290\/e\/directory-listing-error-messages-working-list-too-long","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.290","markdown":"### Anchored file layer adds a directory-listing size cap and new operations\n\nDirectory listing in the anchored file layer now has a size cap with a WORKING_LIST_TOO_LONG error, plus createAndOpen, anchorBeneath and removeTree options\n\n**Unclear.** What sets the limit, and how large it is, is not established.\n\n**What**\n\nThe anchored filesystem layer is an internal part of Claude Code for working with files and folders. It gained several pieces:\n\n- Listing a directory now has a size cap. Going over it raises the new error code `WORKING_LIST_TOO_LONG`, with the message \"the directory holds more names than may be listed\".\n\n- The `WORKING_LIST_UNSUPPORTED` message grew from \"this backend cannot list a held directory\" to \"this backend cannot list a held directory, or cannot stop at the bound that was set\".\n\n- `createAndOpen` and `anchorBeneath` (a nested anchor) are new operations.\n\n- `removeTree` now accepts a `keep` entry and an `onDeleted` callback, which is code run as each item is deleted.\n\n- A path prefix is now passed through when creating and opening files.\n\n**Why**\n\nThese are internal changes with little direct effect on how you use Claude Code. The most visible one is that a directory with too many entries can now produce the \"more names than may be listed\" error instead of being listed in full.\n\n- Area: File Paths\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}