Documentation
¶
Overview ¶
Package customharness is a complete harness implementation compiled outside the deploy source tree.
Index ¶
- type Factory
- type Runtime
- func (runtime *Runtime) Abort(ctx context.Context) error
- func (runtime *Runtime) Activate(ctx context.Context) error
- func (runtime *Runtime) Close() error
- func (runtime *Runtime) Send(ctx context.Context, prompt *deployv1.HarnessPrompt) error
- func (runtime *Runtime) Start(ctx context.Context) (*deployv1.HarnessSession, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory constructs the external echo runtime around this repository's own steering service.
func NewFactory ¶
NewFactory returns the custom factory installed by the external binary. The steering service is a component this repository composes alongside Core, so the harness captures a value Core only ordered.
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime publishes an assistant echo and returns to idle for every prompt.
Click to show internal directories.
Click to hide internal directories.