MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / NewCodexProvider

Function NewCodexProvider

internal/agent/codex.go:18–23  ·  view source on GitHub ↗

NewCodexProvider returns a Provider for the Codex CLI. If cliPath is empty, "codex" is used.

(cliPath string)

Source from the content-addressed store, hash-verified

16// NewCodexProvider returns a Provider for the Codex CLI.
17// If cliPath is empty, "codex" is used.
18func NewCodexProvider(cliPath string) *CodexProvider {
19 if cliPath == "" {
20 cliPath = "codex"
21 }
22 return &CodexProvider{cliPath: cliPath}
23}
24
25// Name implements loop.Provider.
26func (p *CodexProvider) Name() string { return "Codex" }

Callers 8

TestCodexProvider_NameFunction · 0.85
ResolveFunction · 0.85

Calls

no outgoing calls