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.169 ·

/agents --json Gains --all Flag

Entry
JSON All of v2.1.169
EntryKind: in v2.1.169,
ChangesSection of the release
What

The claude agents --json scripting command now accepts an --all flag that includes completed (archived) sessions in the output, not just currently active ones.

Usage
claude agents --json --all
Details
  • Without --all, --json continues to show only active sessions (renamed from "live sessions" to "active sessions" in the help text)
  • With --all, the full agent view list — including completed sessions — is returned as JSON
  • Useful for post-run scripting or auditing completed cloud agent sessions
Evidence

CLI option addition (search for "With --json: include completed sessions") — --all option at line ~23293

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed claude agents --json omitting blocked and just-dispatched background sessions; added --all to include completed sessions, plus new id…

See this entry in the whole of v2.1.169 →

Feedback