{"name":"--include-partial-messages","slug":"include-partial-messages","family":"cli","title":"CLI flags","noun":"CLI flag","description":"Include partial streaming events in output. Requires `--print` and `--output-format stream-json`","description_source":"docs","described_by":{"doc":"claude-code\/cli-reference","title":"CLI reference"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.269","anchor":"user-message-uuid-stamping-semantics-for-the-sdk-message-str","heading":"user_message_uuid stamping semantics for the SDK message stream clarified\/changed","line":"user_message_uuid now stamps the turn's first top-level assistant message, and partial-stream stamping is independent","released_at":"2026-09-11 18:12:49","reason":"found in this entry's text"},{"version":"2.1.246","anchor":"assistant-messages-tell-you-which-prompt-they-answer","heading":"Assistant messages tell you which prompt they answer","line":"SDK replies now carry the uuid of the prompt they answer, on the first frame.","released_at":"2026-08-25 19:17:34","reason":"found in this entry's text"},{"version":"2.1.234","anchor":"streaming-output-schema-explains-its-own-shape","heading":"Streaming output schema explains its own shape","line":"The streaming JSON schema now tells consumers to ignore unknown message types and explains partial-message events.","released_at":"2026-08-17 18:19:13","reason":"named in this entry, found in this entry's text"}],"entries_total":3,"docs":[{"source":"claude-code","path":"cli-reference","title":"CLI reference","documented":true},{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"headless","title":"Run Claude Code programmatically","documented":false}],"docs_total":3,"gates":[],"related":[{"name":"--include-hook-events","slug":"include-hook-events","description":"Include hook lifecycle events in the output stream. `SessionStart` and `Setup` hook events are always included and don't need this flag. Some hook events, such as `Notification`, `SessionEnd`, `PreCompact`, and `PostCompact`, never produce a `hook_started` event, even with this flag. For those events, Claude Code still emits `hook_progress` while a command hook that runs for more than a second produces output, and emits `hook_response` only when a [hook that runs in the background](\/docs\/en\/hooks#run-hooks-in-the-background) finishes. Requires `--output-format stream-json`"},{"name":"--includes","slug":"includes","description":"Agent worktrees now ignore repo-supplied filter programs, and refuse to build when git config looks risky."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/cli\/include-partial-messages","family_url":"https:\/\/changelogs.core-directive.com\/reference\/cli.json"}