env

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL