{"version":"2.1.332","anchor":"result-message-documents-pending-user-send-count-including","canonical_anchor":"result-message-documents-pending-user-send-count-including","heading":"SDK result messages say how many of your sends are still waiting","tier":"use","area":"Agents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/result-message-documents-pending-user-send-count-including","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### SDK result messages say how many of your sends are still waiting\n\nThe SDK result message now describes a count of your sends still queued or held back, so a value above 0 means more results will follow\n\n**Unclear.** The field's name and whether it is sent by default are not clear.\n\n**What**\n\nThe SDK lets programs run Claude Code and read its output as messages. The result message, sent at the end of a turn, now describes a count of messages you sent that have not been handled yet. It includes:\n\n- sends still waiting in the command queue\n\n- in a hosted remote session (`CLAUDE_CODE_REMOTE`), sends held back before they reach the queue\n\nA value above 0 means at least one more turn and result is coming. The count is left out of results from a fatal startup failure.\n\n**Why**\n\nA program using the SDK can tell whether to wait for more results or treat the work as finished.\n\n- Area: Agents\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}