Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.300 ·

Hooks get an empty transcript_path in more cases, and lose the 'ignore' instruction

Hook input now leaves transcript_path blank whenever a certain check holds, and agent hooks are no longer told to ignore that field

Group of 2 You'll notice Improvements
JSON All of v2.1.300
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.300,
ImprovementsSection of the release

Unclear Which kinds of session the condition covers is not known.

What

Hooks are commands or checks that Claude Code runs at set moments. Some hooks ask Claude to judge something using a prompt or an agent. Each hook receives some input, including transcript_path, the location of the file where the conversation is recorded.

  • transcript_path is now an empty string ("") whenever a particular internal check is true. Before, it was blank only when that check was true and the session also had no project.
  • When there is no transcript, the text given to prompt and agent hooks now says only "There is no conversation transcript file to read here." It no longer adds an instruction to ignore transcript_path in the hook input.

Why

If you write hooks that read transcript_path, it can now be empty in more situations than before, so check for an empty value rather than assuming a path is always there.

Read from
Names in the bundletranscript_path
Since it was published

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.

Confirmed since Anthropic's documentation has since written up transcript_path, on Intercept and control agent behavior with hooks. print(f" Transcript: {input_data['agent_transcript_path']}") agent-sdk/hooks see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich kinds of session the condition covers is not known.
Anthropic's documentation agreesAnthropic's documentation has since written up transcript_path, on Intercept and control agent behavior with hooks.

See this entry in the whole of v2.1.300 →

Feedback