Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsStartupError ¶
IsStartupError reports whether Run failed before ACP initialization. CLI adapters use this to avoid appending an unstructured Cobra error after the machine-readable stderr line has already been emitted.
Types ¶
type RunOptions ¶
type RunOptions struct {
Version string
Provider string
Model string
Mode string
Thinking string
Sandbox bool
Verbose bool
Debug bool
MultiAgent bool
Delegate bool
Workflows bool
WebSearch bool
Browser bool
Artifact bool
// PermissionTimeout and QuestionTimeout configure the approval and
// question decision deadlines (Go duration, injected from CLI flags or
// MOTHX_ACP_PERMISSION_TIMEOUT / MOTHX_ACP_QUESTION_TIMEOUT). Zero values
// fall back to defaultPermissionTimeout / defaultQuestionTimeout.
PermissionTimeout time.Duration
QuestionTimeout time.Duration
}
Click to show internal directories.
Click to hide internal directories.