Unclear Only the description changed, and it is not clear whether how these hooks run changed too.
What
A hook is a command that runs automatically at certain moments, such as when Claude uses a tool. A cloud session can mark a hook device in its settings so it runs on your machine. This release changes how such hooks are described and treated:
- Description: the
author_opt_infield now reads "Runs at the hook author's explicit request (cloud: 'device' in its settings entry): it starts in the project folder, and its command may not be pinned to a script the session cannot change." Before, it said the hook was forwarded at the author's request although its command was not pinned to such a script. - Counted as opted in:
author_opt_inis now set for a hook withauthorOptIn, and also for acloudDevicehook of type command. Before, onlyauthorOptInset it. - Hooks listing: entries can now carry
optedIn, taken fromauthor_opt_in, andexceptAfterEdits, set from a check on the hook's event and matcher.
Why
If a cloud session runs hooks on your machine, those command hooks start in your project folder and are now treated as opted in by their author, and the hooks listing can show which ones are.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
* Background commands in a local session you work in from a terminal, the desktop app, or the VS Code extension have no time limit. In a session that runs unattended, such as a `-p` run or a cloud session, Claude Code stops a background co…interactive-mode see the edit
* Added a built-in `gh api` to cloud sessions whose image has no GitHub CLI, and fixed the built-in sending control characters from file names, jq filters or GitHub errors to the terminalchangelog see the edit
Only the description changed, and it is not clear whether how these hooks run changed too.
Anthropic's documentation has since written up cloud, on Claude Code changelog.