{"version":"2.1.282","anchor":"two-more-message-types-in-the-stream-json-output-schema","canonical_anchor":"two-more-message-types-in-the-stream-json-output-schema","heading":"Stream-json output schema now accepts post-turn summary and active goal messages","tier":"notice","area":"SDK","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.282\/e\/two-more-message-types-in-the-stream-json-output-schema","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.282","markdown":"### Stream-json output schema now accepts post-turn summary and active goal messages\n\nThe schema for Claude Code's stream-json output now lists two more message types: a post-turn summary and an active goal message\n\n**Unclear.** It is not clear whether Claude Code was already sending these messages before the schema listed them.\n\n**What**\n\nWhen Claude Code runs with streaming JSON output, it prints a series of machine-readable messages. A published schema describes which message shapes are allowed. A schema is a formal description of a data format. Programs built on Claude Code, including SDK integrations, can check each message against it. The SDK is the toolkit for building programs on top of Claude Code.\n\nThe schema now includes two more message types:\n\n- A system message with the subtype `post_turn_summary`\n\n- An active goal message\n\nBoth were added to the list of messages that report on a session and to the full list of messages Claude Code can print.\n\n**Why**\n\nIf a program checks Claude Code's output against this schema, it now accepts these two messages instead of rejecting them as unknown.\n\n- Area: SDK\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5"}