Skip to content

Suppress dynamic tool progress in stderr - #625

Open
LZong-tw wants to merge 1 commit into
openai:mainfrom
LZong-tw:agent/suppress-dynamic-tool-progress
Open

Suppress dynamic tool progress in stderr#625
LZong-tw wants to merge 1 commit into
openai:mainfrom
LZong-tw:agent/suppress-dynamic-tool-progress

Conversation

@LZong-tw

Copy link
Copy Markdown

Summary

Suppress high-frequency dynamicToolCall progress updates from foreground stderr while retaining them in each job's log file.

Why

The Claude Code host can retain stderr progress as transcript tool output. A task with many dynamic Read/Bash calls can therefore create a very large, repetitive JSONL assistant record and make session resume slow or unusable.

Change

  • add hideFromStderr to normalized progress events;
  • mark only dynamic tool start/completion progress as hidden from stderr;
  • retain every event in the job log and preserve all other foreground progress.

Validation

  • npm test
  • new regression fixture emits 100 dynamic tool start/completion pairs;
  • regression asserts zero such lines on stderr and 100 start + 100 completion entries in the job log.

@LZong-tw
LZong-tw marked this pull request as ready for review August 10, 2026 10:02
@LZong-tw
LZong-tw requested a review from a team August 10, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants