Documentation
¶
Index ¶
Constants ¶
const ( EnvGitAccessToken = "GIT_ACCESS_TOKEN" EnvGitUsername = "GIT_USERNAME" EnvGitAskpass = "GIT_ASKPASS" EnvNoProxy = "NO_PROXY" )
const (
EnvOverrideSystemPrompt = "PLRL_AGENT_SYSTEM_PROMPT_OVERRIDE"
)
Variables ¶
var Version = dev
Version of this binary
Functions ¶
func ConfigureGitSafeDirectory ¶ added in v0.6.48
ConfigureGitSafeDirectory marks the repository as trusted for git when the directory is owned by a different user than the current process (for example when agent-bootstrap clones into a shared volume and the harness runs later).
func ConfigurePrebakeGitSafeDirectories ¶ added in v0.6.64
func ConfigurePrebakeGitSafeDirectories() error
ConfigurePrebakeGitSafeDirectories marks every repository in the prebake manifest as a git safe.directory so the harness can inspect them.
Types ¶
type Option ¶
type Option func(*environment)
Option allows modifying Environment behavior.
func WithAgentRun ¶
WithAgentRun provides information about agent run used to initialize the Environment.
func WithConsoleTokenClient ¶
func WithFastPrebakeCopy ¶ added in v0.6.67
func WithFastPrebakeCopy() Option
WithFastPrebakeCopy enables the fcp-assisted cross-filesystem fallback used by agent-bootstrap. Other environment consumers retain polly/fs behavior.
func WithWorkingDir ¶
WithWorkingDir allows changing the default working directory of the Environment.