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

Method InteractiveCommand

internal/agent/codex.go:40–44  ·  view source on GitHub ↗

InteractiveCommand implements loop.Provider.

(workDir, prompt string)

Source from the content-addressed store, hash-verified

38
39// InteractiveCommand implements loop.Provider.
40func (p *CodexProvider) InteractiveCommand(workDir, prompt string) *exec.Cmd {
41 cmd := exec.Command(p.cliPath, prompt)
42 cmd.Dir = workDir
43 return cmd
44}
45
46// ParseLine implements loop.Provider.
47func (p *CodexProvider) ParseLine(line string) *loop.Event {

Callers 1

Calls

no outgoing calls

Tested by 1