What changed

Version 2.1.277 removes the deprecated TaskOutput tool; Claude now reads a background task’s output file with Read. The taskOutputMaxChars setting and the TASK_MAX_OUTPUT_LENGTH variable no longer have any effect, and claude -p runs started outside an SDK or IDE no longer send a background Haiku request to title the session.

Who it affects

Anyone with hooks, permission rules or scripts that mention TaskOutput or its settings.

What to do

Remove TaskOutput from allow and deny rules and hooks, and drop the dead settings from your config.

Source: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md