{"name":"onProcessSpawned","slug":"onprocessspawned","family":"setting","title":"Settings keys","noun":"settings key","description":"Claude Code's per-turn timing adds steps for refreshing tools, model checks, building the request, and each kind of resent request","description_source":"entry","described_by":{"version":"2.1.286","anchor":"startupturn-timing-phases-expanded"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.318","builds":0,"mined_builds":158,"first_cited":{"version":"2.1.286","released_at":"2026-09-30 17:14:38","spans":2}},"aliases":[],"entries":[{"version":"2.1.318","anchor":"sdk-reports-spawn-time-to-onprocessspawned","heading":"The SDK's onProcessSpawned callback now reports how long the start took","line":"The SDK now passes `spawnSyncMs`, the time taken to start the Claude Code process, as a second argument to `onProcessSpawned`","released_at":"2026-11-03 21:55:17","reason":"named in this entry, found in this entry's text"},{"version":"2.1.286","anchor":"startupturn-timing-phases-expanded","heading":"Turn timing now measures tool refresh, request building and resent requests","line":"Claude Code's per-turn timing adds steps for refreshing tools, model checks, building the request, and each kind of resent request","released_at":"2026-09-30 17:14:38","reason":"found in this entry's text"}],"entries_total":2,"docs":[],"docs_total":0,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/onprocessspawned","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}