{"version":"2.1.311","anchor":"new-sdk-telemetry-for-userpromptsubmit-hook-spinner-status","canonical_anchor":"new-sdk-telemetry-for-userpromptsubmit-hook-spinner-status","heading":"SDK clients report whether prompt-submit hook progress was shown","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311\/e\/new-sdk-telemetry-for-userpromptsubmit-hook-spinner-status","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311","markdown":"### SDK clients report whether prompt-submit hook progress was shown\n\nFor SDK clients, Claude Code now reports whether progress for UserPromptSubmit hooks was visible to the user\n\n**What**\n\nA `UserPromptSubmit` hook is a script that runs when you send a prompt, before Claude handles it. While it runs, Claude Code can show a spinner (a small progress indicator).\n\nFor SDK clients, which are programs built on Claude Code rather than the usual terminal app, Claude Code now records whether that hook progress was shown. When it was not shown, it records that there was no spinner.\n\n**Why**\n\nAnthropic is measuring whether hook progress is visible in IDE and SDK clients.\n\n- Area: Hooks\n- Names: `UserPromptSubmit`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}