The function that stages files for upload or output in a remote session now accepts a second, optional parameter. When it's set, file staging can proceed without the usual CLAUDE_CODE_REMOTE_SESSION_ID requirement, and the mount is marked as "vouched" instead of tied to an actual remote session ID. This path is refused for synced, filestore-backed documents, with the message "synced documents are not staged here."
This adds a way to stage files in remote-session contexts without a real session ID present, while still excluding documents that are synced through the filestore, which need to go through their normal path instead.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
By default, metrics and events from a cloud session carry the [standard attributes](#standard-attributes), including `session.id`, `ccr.session.id`, and `organization.id`, so you can filter by session or organization without extra configur…monitoring-usage see the edit
Anthropic's documentation has since written up CLAUDE_CODE_REMOTE_SESSION_ID, on Monitoring.