MCPcopy Index your code
hub / github.com/MiniCodeMonkey/chief / LoopCommand

Method LoopCommand

internal/loop/provider.go:13–13  ·  view source on GitHub ↗
(ctx context.Context, prompt, workDir string)

Source from the content-addressed store, hash-verified

11 Name() string
12 CLIPath() string
13 LoopCommand(ctx context.Context, prompt, workDir string) *exec.Cmd
14 InteractiveCommand(workDir, prompt string) *exec.Cmd
15 // CleanOutput extracts JSON from the provider's output format (e.g., NDJSON).
16 // Returns the original output if no cleaning needed.

Callers 1

runIterationMethod · 0.65

Implementers 5

mockProviderinternal/loop/loop_test.go
ClaudeProviderinternal/agent/claude.go
OpenCodeProviderinternal/agent/opencode.go
CodexProviderinternal/agent/codex.go
CursorProviderinternal/agent/cursor.go

Calls

no outgoing calls

Tested by

no test coverage detected