Documentation
¶
Overview ¶
Package env provides environment variable helpers for spawning subprocesses.
ForSpawnCC strips Claude Code session markers (CLAUDECODE, CLAUDE_CODE_ENTRYPOINT) from the current process environment so that spawned Claude Code workers do not detect themselves as nested sessions and alter their behaviour accordingly.
Plane: shared
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForSpawnCC ¶
func ForSpawnCC() []string
ForSpawnCC returns the current environment with CC-specific vars removed, so spawned Claude Code subprocesses don't detect themselves as nested sessions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.