Documentation
¶
Overview ¶
Package executor wraps agent CLIs as subprocesses behind the Executor interface (§8.3, opción A). devclean does not implement its own tool loop: it inherits editing, context and tools from the CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor interface {
Name() string
Available() error // verifica binario y versión
Run(ctx context.Context, req Request) (Result, error)
}
Executor is the adapter contract of §8.3.
type Request ¶
type Request struct {
RoomPath string // cwd del agente, su cuarto
Prompt string // contrato + resultado del intento anterior
AllowedGlobs []string // tocar_solo
Model string
Timeout time.Duration
// Env carries the room's own variables (PORT, ...) — §6.2.
Env []string
}
Request is one agent invocation.
Click to show internal directories.
Click to hide internal directories.