Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.169 Home All releases olderv2.1.168 v2.1.170newer

/agents --json Gains --all Flag

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.

See this entry in the whole of v2.1.169 →