Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LockFiles = []string{
"go.sum",
"package-lock.json",
"yarn.lock",
"pnpm-lock.yaml",
"Cargo.lock",
"poetry.lock",
"Gemfile.lock",
}
Functions ¶
func FetchGitCommits ¶
FetchGitCommits retrieves a list of commit messages between base and head.
func FetchGitDiff ¶
func IsLockFile ¶ added in v0.1.0
IsLockFile reports whether path names a known dependency lockfile — either at the repository root (path == name) or in any subdirectory (path ends in "/name"). Used by callers that operate on pre-computed paths (e.g. PR file lists) rather than via git pathspec excludes.
func RegisterLocalTools ¶
func RegisterLocalTools(r *Registry)
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry() *Registry
func (*Registry) HandleCall ¶
func (*Registry) RegisterTool ¶
func (r *Registry) RegisterTool(def llm.ToolDef, handler ToolHandler)
Click to show internal directories.
Click to hide internal directories.