Documentation ¶ Overview ¶ Package git provides lightweight git metadata for the agent's system prompt. Index ¶ func Context(cwd string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Context ¶ func Context(cwd string) string Context returns a human-readable summary of the git state for cwd. Returns "" if cwd is not in a git repo or git is not available. Never returns an error — failures are silent. Types ¶ This section is empty. Source Files ¶ View all Source files context.go Click to show internal directories. Click to hide internal directories.