{"version":"2.1.321","anchor":"auto-mode-print-exit-gate-unchanged-auth-conflict-and-uploa","canonical_anchor":"auto-mode-print-exit-gate-unchanged-auth-conflict-and-uploa","heading":"Startup report adds auth_conflict and other_hook_ask_outranks_host","tier":"notice","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321\/e\/auto-mode-print-exit-gate-unchanged-auth-conflict-and-uploa","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321","markdown":"### Startup report adds auth_conflict and other_hook_ask_outranks_host\n\nClaude Code's startup report to SDK hosts now flags sign-in conflicts and hook-ask priority, and the upload approval prompt mentions .xlsx files\n\n**Unclear.** It is not clear whether .xlsx files are now covered by an earlier approval or still ask before every upload.\n\n**What**\n\nWhen Claude Code starts under a program that drives it through the SDK (software development kit), it sends an init message describing the session. That message, and the SDK's model-info description, gain new fields:\n\n- `auth_conflict`: added when Claude Code detects a conflict between ways of signing in. It names the `token_source` and the `api_key_source`, so you can see which login token and which API key were both found.\n\n- `other_hook_ask_outranks_host`: added for local sessions, not remote ones, when certain other conditions hold. A hook is a script you configure to run at set moments; this field tells the host that a hook asking for permission takes priority over the host's own prompt.\n\nThe artifact upload approval prompt also changed. It previously listed CSV, Markdown, JSON and plain-text files as covered when approving later uploads; it now says .xlsx files still ask.\n\nThe setting behind the exit check for headless auto-mode runs, `tengu_truthful_wren`, is unchanged here: v2.1.319 compiled it on by default, and no reading has been taken under this release.\n\n**Why**\n\nA program hosting Claude Code can now tell when two sign-in methods clash and which one is in play, and whether hook permission prompts outrank its own. Spreadsheet uploads keep asking for approval each time.\n\n- Flag `tengu_truthful_wren`: Not enough to say (read for one account on one subscription tier against v2.1.321; this account: no value returned, anonymous baseline: no value returned, compiled default: on) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: SDK\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}