Expand description
Native git support: remote-repo reading (cached shallow clone) and a shadow history of agent changes.
repo_urlparses repository URLs into arepo_url::RepoRef.clonemaintains a bounded, SSRF-guarded local clone cache.shadowrecords agent edits in a git history kept outside the user’s own.git.
All git invocations go through run_git, which never uses a shell, always
disables interactive credential prompts (so a private/auth-required remote
fails fast instead of hanging), and enforces a wall-clock timeout.
Modules§
- clone
- Bounded, SSRF-guarded local clone cache for remote repositories.
- repo_
url - Repository URL detection & parsing.
- shadow
- Shadow git history of agent changes.
Structs§
- GitOutput
- Result of a single
gitinvocation.
Functions§
- git_
available trueif agitbinary is callable.- run_git
- Run
git <args>incwdwith extra env vars and a wall-clocktimeout.