{"version":"2.1.281","anchor":"sdk-a-process-started-with-await-claim-refuses-messages-t","canonical_anchor":"sdk-a-process-started-with-await-claim-refuses-messages-t","heading":"SDK: a process started with --await-claim refuses messages that arrive before it is claimed","tier":null,"area":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/sdk-a-process-started-with-await-claim-refuses-messages-t","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### SDK: a process started with --await-claim refuses messages that arrive before it is claimed\n\nAn SDK process started with `--await-claim` now rejects messages sent before it is claimed with a `not_claimed` error\n\n**What**\n\nIn print or SDK mode (Claude Code driven by another program), a process started with `--await-claim` waits to be claimed before it works. A message that arrives during that wait is now answered with a `not_claimed` error instead of being run. The error comes in two forms:\n\n- one for when the claim failed\n\n- one for when no claim has arrived yet, telling the sender to send `claim_session` before the first message\n\nThe first message added by the host program itself is tracked separately. If input ends before it is handled, it is closed with \"the input ended first\".\n\n**Why**\n\nA message sent too early is now refused with a clear reason instead of being run before the process has been claimed."}