Documentation
¶
Index ¶
- Constants
- type CodexTask
- func ApplyPlanningFollowUp(task CodexTask, environment []runner.TaskEnvironmentVariable, ...) CodexTask
- func BuildBrokerTask(spec RunCodexSpec, usage string, setups []runner.IntegrationSetup) CodexTask
- func BuildDispatchedBrokerTask(spec RunCodexSpec, usage string, setups []runner.IntegrationSetup, ...) CodexTask
- type RunCodex
- func (c *RunCodex) Cancel(ctx core.ExecutionContext) error
- func (c *RunCodex) Cleanup(ctx core.SetupContext) error
- func (c *RunCodex) Color() string
- func (c *RunCodex) Configuration() []configuration.Field
- func (c *RunCodex) Description() string
- func (c *RunCodex) Documentation() string
- func (c *RunCodex) ExampleOutput() map[string]any
- func (c *RunCodex) Execute(ctx core.ExecutionContext) error
- func (c *RunCodex) HandleHook(ctx core.ActionHookContext) error
- func (c *RunCodex) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *RunCodex) Hooks() []core.Hook
- func (c *RunCodex) Icon() string
- func (c *RunCodex) Label() string
- func (c *RunCodex) Name() string
- func (c *RunCodex) OutputChannels(configuration any) []core.OutputChannel
- func (c *RunCodex) Setup(ctx core.SetupContext) error
- func (c *RunCodex) ValidateNodeConfiguration(config map[string]any) error
- type RunCodexSpec
Constants ¶
View Source
const ( ComponentName = "runnerCodex" FinishedEventType = "runnerCodex.finished" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodexTask ¶
type CodexTask struct {
Commands []runner.TaskCommand
Files []runner.TaskFile
}
CodexTask is the ordered runner commands and task files for a run.
func ApplyPlanningFollowUp ¶
func ApplyPlanningFollowUp(task CodexTask, environment []runner.TaskEnvironmentVariable, spec RunCodexSpec) CodexTask
func BuildBrokerTask ¶
func BuildBrokerTask(spec RunCodexSpec, usage string, setups []runner.IntegrationSetup) CodexTask
func BuildDispatchedBrokerTask ¶
func BuildDispatchedBrokerTask(spec RunCodexSpec, usage string, setups []runner.IntegrationSetup, dispatched []runner.AgentStep, attachments []runner.TaskAttachment, inspectImages bool) CodexTask
type RunCodex ¶
type RunCodex struct{}
func (*RunCodex) Configuration ¶
func (c *RunCodex) Configuration() []configuration.Field
func (*RunCodex) Description ¶
func (*RunCodex) Documentation ¶
func (*RunCodex) ExampleOutput ¶
func (*RunCodex) HandleHook ¶
func (c *RunCodex) HandleHook(ctx core.ActionHookContext) error
func (*RunCodex) HandleWebhook ¶
func (c *RunCodex) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*RunCodex) OutputChannels ¶
func (c *RunCodex) OutputChannels(configuration any) []core.OutputChannel
type RunCodexSpec ¶
type RunCodexSpec struct {
MachineType string `mapstructure:"machineType"`
Steps []runner.AgentStep `mapstructure:"steps"`
Credentials runner.AgentCredentials `mapstructure:"credentials"`
Model string `mapstructure:"model"`
ThinkingLevel string `mapstructure:"thinkingLevel"`
WorkingDirectory string `mapstructure:"workingDirectory"`
EnvironmentFrom []runner.EnvironmentFromEntry `mapstructure:"environmentFrom"`
Environment []runner.EnvironmentVariable `mapstructure:"environment"`
ExecutionTimeoutSeconds int `mapstructure:"executionTimeoutSeconds"`
IncludeVisualEvidence bool `mapstructure:"includeVisualEvidence"`
}
Click to show internal directories.
Click to hide internal directories.