{"version":"2.1.330","anchor":"cloud-session-block-gains-rewinds-counter","canonical_anchor":"cloud-session-block-gains-rewinds-counter","heading":"Apps hosting Claude Code can see a count of rewinds in a cloud session","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/cloud-session-block-gains-rewinds-counter","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Apps hosting Claude Code can see a count of rewinds in a cloud session\n\nThe cloud session data apps receive now describes a `rewinds` count, and an app should re-read the conversation when it changes\n\n**Unclear.** Whether Claude Code actually sends the `rewinds` count yet, rather than only describing it, is not clear.\n\n**What**\n\nA rewind takes a conversation back to an earlier point. Apps that host Claude Code receive a block of data about a cloud session. That block's description now includes `rewinds`, a count of the rewinds the session has confirmed on this app's stream. It is sent in `cloud_session_delta` updates.\n\nWhen the count changes, the app should re-read the conversation.\n\n**Why**\n\nAn app can tell when someone rewound the session from another app and refresh what it shows.\n\n- Area: SDK\n- Names: `cloud_session_delta`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}