()
| 23 | * Returns null if not set or not a recognized value. |
| 24 | */ |
| 25 | export function getEnvironmentKind(): EnvironmentKind | null { |
| 26 | const kind = process.env.CLAUDE_CODE_ENVIRONMENT_KIND |
| 27 | if (kind === 'byoc' || kind === 'anthropic_cloud') { |
| 28 | return kind |
| 29 | } |
| 30 | return null |
| 31 | } |
| 32 | |
| 33 | function hasParentPath( |
| 34 | entry: object, |
no outgoing calls
no test coverage detected