Documentation
¶
Index ¶
- Constants
- type CodexBrokerTask
- func ApplyPlanningFollowUp(task CodexBrokerTask, environment []runner.BrokerEnvironmentVariable, ...) CodexBrokerTask
- func BuildBrokerTask(spec RunCodexSpec, usage string, setups []runner.IntegrationSetup) CodexBrokerTask
- func BuildDispatchedBrokerTask(spec RunCodexSpec, usage string, setups []runner.IntegrationSetup, ...) CodexBrokerTask
- 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
- type RunCodexSpec
Constants ¶
View Source
const ( ComponentName = "runnerCodex" FinishedEventType = "runnerCodex.finished" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodexBrokerTask ¶
type CodexBrokerTask struct {
Commands []runner.BrokerCommand
Files []runner.BrokerTaskFile
}
CodexBrokerTask is the ordered broker commands and task files for a run.
func ApplyPlanningFollowUp ¶
func ApplyPlanningFollowUp(task CodexBrokerTask, environment []runner.BrokerEnvironmentVariable, spec RunCodexSpec) CodexBrokerTask
func BuildBrokerTask ¶
func BuildBrokerTask(spec RunCodexSpec, usage string, setups []runner.IntegrationSetup) CodexBrokerTask
func BuildDispatchedBrokerTask ¶
func BuildDispatchedBrokerTask(spec RunCodexSpec, usage string, setups []runner.IntegrationSetup, dispatched []runner.AgentStep, attachments []runner.TaskAttachment, inspectImages bool) CodexBrokerTask
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.