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

Remote Session Bash Command Event

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

Adds a new bash_command event type that allows remote clients (e.g. Claude Code Remote) to dispatch shell commands directly to a session without going through the model.

Details
  • The event schema includes a command string and optional cwd for the working directory
  • Executed via a one-shot /bin/sh -c (or pwsh on Windows) subprocess, bypassing the model entirely
  • Output includes stdout, stderr, and exit code wrapped in XML tags
  • This allows CCR clients that surface a dedicated terminal UI to run shell commands natively
Evidence

New Zod schema with type: "bash_command" (search for "bash_command") and handler function sendBashCommand (search for "[RemoteSessionManager] Sending bash_command to session")

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.122 →

Feedback