Documentation
¶
Overview ¶
Package agentrunner runs an optional agent process outside the relay daemon.
Index ¶
- Variables
- func RunProcess(ctx context.Context, opts ProcessOptions, prompt string) (string, error)
- func Serve(ctx context.Context, opts ServiceOptions) error
- type Handler
- type Mention
- type Options
- type Permission
- type PermissionOption
- type ProcessOptions
- type RelayClient
- type Runner
- type ServiceOptions
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RunProcess ¶
Types ¶
type Permission ¶
type Permission struct {
Title string
Details string
Options []PermissionOption
}
type PermissionOption ¶
type ProcessOptions ¶
type RelayClient ¶
type RelayClient struct {
URL, Secret, PubKey string
Rooms []string
OnEvent func(event.Event)
OnReady func()
OnError func(error)
// contains filtered or unexported fields
}
func (*RelayClient) ResolveRoot ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) CancelFrom ¶
type ServiceOptions ¶
Click to show internal directories.
Click to hide internal directories.