SIGN IN SIGN UP
zed-industries / zed UNCLAIMED

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

0 0 33 Rust

agent: Add terminal output head and tail options (#58257)

Adds optional terminal tool parameters that let agents receive only the
first lines, last lines, or both from a command's final output while
leaving the live terminal output visible to users. This is gated by the
terminal-tail feature flag and updates the tool descriptions to steer
agents away from piping through head, tail, or similar filters.

Closes AI-36

Release Notes:

- Let agents use the terminal tool with builtin "head/tail" so they
don't have to pipe to head/tail and lose incremental output
R
Richard Feldman committed
c0db923b2431f4c727ed26af365bf09fbefe6114
Parent: 799622d
Committed by GitHub <noreply@github.com> on 6/1/2026, 8:24:47 PM