{"name":"fs.remove","slug":"fs-remove","family":"setting","title":"Settings keys","noun":"settings key","description":"Plugin hooks gain file remove, rename and copy functions, and file writes can take raw bytes and a version check","description_source":"entry","described_by":{"version":"2.1.333","anchor":"plugin-fswrite-hook-function-gains-base64ifversion-byte-ex"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.336","builds":0,"mined_builds":175,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.333","anchor":"plugin-fswrite-hook-function-gains-base64ifversion-byte-ex","heading":"Plugin hooks can write raw bytes and remove, rename or copy files","line":"Plugin hooks gain file remove, rename and copy functions, and file writes can take raw bytes and a version check","released_at":"2026-11-30 19:04:51","reason":"found in this entry's text"},{"version":"2.1.333","anchor":"plugin-hook-api-gains-store-fs-processrun-uikey-events","heading":"Mods can now react to more events, including session loading, key presses and file writes","line":"Mods get new events for stored data, files, running programs, key presses, the window title and sessions, including when a session is loaded","released_at":"2026-11-30 19:04:51","reason":"found in this entry's text"},{"version":"2.1.333","anchor":"sandboxconfig-check-for-fswrite-and-fsremove-now-requires","heading":"fs.write and fs.remove arguments are checked only when they carry ifVersion","line":"Argument checking and restoring for `fs.write` and `fs.remove` now applies only when the argument includes an `ifVersion` key","released_at":"2026-11-30 19:04:51","reason":"named in this entry, found in this entry's text"},{"version":"2.1.333","anchor":"plugin-runtime-gains-fsremove-fsrename-fscopy-and-uibr","heading":"Plugins can now remove, rename and copy files","line":"Plugins can now ask Claude Code to remove, rename or copy files, and to use a browse operation","released_at":"2026-11-30 19:04:51","reason":"found in this entry's text"},{"version":"2.1.333","anchor":"plugin-hooks-runtime-gains-many-apis","heading":"Plugins can move, copy and delete files, stream HTTP and control sessions","line":"The plugin programming interface gains file remove, rename and copy, streaming HTTP, new session calls and a feedback command set","released_at":"2026-11-30 19:04:51","reason":"found in this entry's text"}],"entries_total":5,"docs":[{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false}],"docs_total":1,"gates":[],"related":[{"name":"fs.ancestors","slug":"fs-ancestors","description":"Plugin file access is now checked against the session root too, and plugins can list files in parent directories."},{"name":"fs.exists","slug":"fs-exists","description":"Plugins can install code that intercepts tool calls and repaints parts of the terminal interface."},{"name":"fs.list","slug":"fs-list","description":"Claude Code's plugin API renames its file actions and adds settings.read, env.get and env.set"},{"name":"fs.read","slug":"fs-read","description":"Claude Code's plugin API renames its file actions and adds settings.read, env.get and env.set"},{"name":"fs.stat","slug":"fs-stat","description":"Plugins can install code that intercepts tool calls and repaints parts of the terminal interface."},{"name":"fs.write","slug":"fs-write","description":"Claude Code's plugin API renames its file actions and adds settings.read, env.get and env.set"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/fs-remove","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}