Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.317 ·

Bash keeps the full output when a command pipes into tail

When a command pipes into tail, Bash keeps a saved copy of the full output and tells Claude where it is; background shells can also add an end note

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

What

Bash is the tool Claude uses to run shell commands. Commands often end with | tail, which keeps only the last lines of output. Claude Code now handles this:

  • When a command pipes into tail, a saved copy of the full output is kept. Bash results gain tailInputPath, the path to that copy, and tailInputNote, a note added to the result text Claude sees.
  • The shell runner gains a tailInput parameter, passed through to buildExecCommand, which can now also report takesTailInput and refusedBeforeBash. This applies on Unix only, outside the sandbox and not on Windows.
  • Background shells, commands left running while Claude works, gained an optional atEnd step. It can hold the task, ask something at the end with a time limit, and add the answer as an endNote to the notice Claude gets when the task finishes, including a final-response notice.
  • Completed background tasks can show a note and say "Output" rather than "Full output".
  • Separately, the ScheduleWakeup tool no longer requires a noop argument.

The stock descriptions of Bash and ScheduleWakeup, captured under this release, are unchanged.

Why

If a command cut its output short with tail, Claude can now go back to the saved copy instead of running the command again. What Claude is told when a background command ends may also include an extra note.

See this entry in the whole of v2.1.317 →

Feedback