Claude Code can now detect when it's running nested inside another Claude Code session, plus faster process-start-time checks on Windows
New helper code detects whether the current Claude Code process is running nested inside another Claude Code session (a "child session"), so it can decide whether to skip loading prompt history in that case. Separately, on Windows, Claude Code now queries a process's real start time using direct bindings (via bun:ffi) to Windows system functions (OpenProcess/GetProcessTimes), falling back to the previous spawn-based detection method if those bindings aren't available.
Detecting nested sessions avoids unnecessary or incorrect prompt-history loading when Claude Code is run from within another Claude Code session. The Windows process-time change makes that particular check faster and more direct when the native bindings are available, with a safe fallback if not.