$ the-wire · showcase
Windows CLI lookup narrowed to native claude.exe, sandbox settings fail closed
By RepoJournal · Filed · About Anthropic · Composed from the cited sources · methodology
Claude Agent SDK Python tightened two transport paths: how it finds the CLI on Windows when none is bundled, and what happens when caller settings cannot be merged with sandbox settings.
fix(transport): look up claude.exe in absolute PATH entries on Windows anthropics/claude-agent-sdk-python
Without a bundled CLI, the Windows lookup now searches only the absolute entries of PATH and then the native installer's location for a genuine claude.exe, and the code that vetted npm's claude.cmd shim, extensionless wrappers, claude.exe.cmd and relative paths is deleted. Other platforms are unchanged.
fix(transport): fail closed on settings that can't be merged with sandbox (#1426) anthropics/claude-agent-sdk-python
With sandbox set, the SDK had been resolving a relative settings path against the process working directory instead of options.cwd, and only logging a missing settings file, so the CLI started with sandbox settings alone and without the caller's permission rules and hooks. It now loads settings in one place, relative to options.cwd, and fails closed rather than continuing.
refactor(transport): read the CLI version from its init message anthropics/claude-agent-sdk-python
connect() ran cli_path twice, once as cli_path -v for an old-CLI warning with options.user, options.cwd and options.env ignored. The version now comes from the init message, cli_path executes once with the caller's chosen options, and connecting no longer waits on that run.
security-guidance: set an environment variable for the launcher's interpreter probes anthropics/claude-plugins-official
security-guidance's sg-python.sh now runs its two interpreter probes (a version check and, for a packaged Windows alias, a real-path check with python -c) under PYTHONSAFEPATH=1, so Python will not add its usual first entry to the import path. The variable is set for those two calls alone, so the hook starts with the same environment as before, and Python older than 3.11 ignores it.
Enrol projects/doris (branch-4.2-oss) anthropics/oss-scanner
In oss-scanner, Apache Doris maintainer CalvinKirs enrolled branch-4.2-oss with a dedicated scan branch, source-built cache setup and a Doris threat model that preserves ASAN/UBSAN, full debug information and offline incremental builds. Opentelemetry-collector and nghttp3 were also added, and claude-code-base-action synced Claude Code 2.1.322 with Agent SDK 0.3.322.