{"version":"2.1.228","anchor":"host-auth-token-refresh-hands-back-the-full-response","canonical_anchor":"host-auth-token-refresh-hands-back-the-full-response","heading":"Host auth token refresh hands back the full response","tier":"soon","area":"Agents","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.228\/e\/host-auth-token-refresh-hands-back-the-full-response","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.228","markdown":"### Host auth token refresh hands back the full response\n\nHost auth token refresh now returns the whole response, but only registers when an environment variable is set.\n\n**What**\n\nThe SDK control request for a host auth token refresh now resolves the whole control response rather than pulling the token field out of it, leaving that to the callback. The refresh callback is only registered when `CLAUDE_CODE_SDK_HAS_HOST_AUTH_REFRESH` is set, so nothing happens here otherwise.\n\n**Evidence**\n\n`host_auth_token_refresh`\n\n- Area: Agents\n- Names: `CLAUDE_CODE_SDK_HAS_HOST_AUTH_REFRESH`\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 3\/5\n- Present in the build but not switched on"}