What
Claude Code can run shell commands and workflows as tasks in the background. Their task state now includes an outputFile path, the file their output is written to:
- All three kinds of
local_bashtask storeoutputFile: background tasks, foreground tasks and adopted tasks. local_workflowtasks storeoutputFilewhen they are created.- Paused
local_workflowtasks also includeoutputFile.
Before, the output file appeared only as terminal.output_file once a task had finished.
Why
In practice, the location of a task's output is known while the task is still running or paused, not only after it ends.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
The finding does not say whether the stored path is shown to you or used anywhere else.