{"version":"2.1.295","anchor":"remote-workers-start-the-client-data-url-fetch-in-init","canonical_anchor":"remote-workers-start-the-client-data-url-fetch-in-init","heading":"Client-data URL document now loads earlier at startup and can mark the base URL as Anthropic's own","tier":"internal","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.295\/e\/remote-workers-start-the-client-data-url-fetch-in-init","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.295","markdown":"### Client-data URL document now loads earlier at startup and can mark the base URL as Anthropic's own\n\nClaude Code starts loading the client-data URL document during startup, and that document can now make a custom base URL count as Anthropic's own API\n\n**What**\n\nClaude Code can load a configuration document from a URL given with `--client-data-url` or the `CLAUDE_CODE_CLIENT_DATA_URL` environment variable (a setting passed in through your shell). This release changes when that document is loaded and what it can do:\n\n- Loading now starts early in startup (`startClientDataUrlFetch`), before the main load. The later load reuses this early copy if the URL has not changed, and it re-checks the `allow_model_catalog` policy.\n\n- A new `clientDataUrl` option feeds the early load, and how long it takes is now measured.\n\n- The early load is skipped for third-party providers, remote sessions, host-managed providers, an invalid URL, and when policy helpers are set.\n\n- An entry in the document with `assume_first_party_base_url` can now make the base URL (the address Claude Code sends its API requests to) be treated as Anthropic's own API. That setting is withdrawn if the launch does not use the document it came from.\n\n- Two internal checks of `_CLAUDE_CODE_ASSUME_FIRST_PARTY_BASE_URL` now go through helper functions instead of reading the environment variable directly.\n\n- For remote workers, startup also finds a fallback `toolContainerToken` through a new helper, so the agent proxy gets a token even when none is passed in.\n\n**Why**\n\nStarting the load early can shorten startup when you use a client-data URL. If you point Claude Code at a custom base URL, a client-data document can now decide whether that URL is treated as Anthropic's own API, which can change any behaviour that depends on talking to Anthropic directly.\n\n- Area: Sessions\n- Names: `CLAUDE_CODE_CLIENT_DATA_URL`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}