Help us shape the future of Go! Take the 2026 Go Developer Survey

toolenv

package
v0.17.6 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package toolenv is the environment of the processes Orb's tools start: bash, MCP servers, extension hosts and external agents.

Index

Constants

View Source
const Allow = "ORB_TOOL_ENV"

Allow names the ORB_TOOL_ENV variable: a comma-separated allowlist of the variables tool processes inherit. Unset, they inherit Orb's whole environment, as pi's do; a team agent sets it so its credentials stay with Orb.

Variables

This section is empty.

Functions

func Environ

func Environ() []string

Environ is os.Environ narrowed to the ORB_TOOL_ENV allowlist when one is set, plus the exported variables, which win over Orb's own.

func Export added in v0.17.6

func Export(name, value string)

Export adds name=value to every tool process's environment from now on, whatever the allowlist says and whenever it is set: how a component hands its tools something, such as a socket to call it back on, without widening what they inherit from Orb.

Types

This section is empty.

Jump to

Keyboard shortcuts

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