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

Method CLIPath

internal/agent/opencode.go:25–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23func (p *OpenCodeProvider) Name() string { return "OpenCode" }
24
25func (p *OpenCodeProvider) CLIPath() string { return p.cliPath }
26
27func (p *OpenCodeProvider) LoopCommand(ctx context.Context, prompt, workDir string) *exec.Cmd {
28 cmd := exec.CommandContext(ctx, p.cliPath, "run", "--format", "json", prompt)

Callers 1

Calls

no outgoing calls

Tested by 1