Documentation
¶
Index ¶
- func Run(ctx context.Context, option *cfg.Option, logger telemetry.Logger) error
- func RunConnection(ctx context.Context, serverURL, name string, reg *commands.CommandRegistry, ...) error
- func RunConnectionRuntime(ctx context.Context, serverURL, name string, rt *runner.AgentRuntime) error
- func RunConnectionWithPath(ctx context.Context, serverURL, wsPath, name string, ...) error
- func RunConnectionWithPathEx(ctx context.Context, cc ConnectionConfig) error
- type ConnectionConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunConnection ¶
func RunConnectionRuntime ¶
func RunConnectionWithPath ¶ added in v0.3.0
func RunConnectionWithPathEx ¶ added in v0.3.0
func RunConnectionWithPathEx(ctx context.Context, cc ConnectionConfig) error
RunConnectionWithPathEx connects with full data pipeline support — ToolDataEvents and SCO nodes are forwarded over the WebSocket as "tool.data" and "tool.sco" messages.
Types ¶
type ConnectionConfig ¶ added in v0.3.0
type ConnectionConfig struct {
ServerURL string
WSPath string
Name string
Registry *commands.CommandRegistry
AgentBus *eventbus.Bus[agent.Event]
DataBus *eventbus.Bus[output.ToolDataEvent]
SCO *output.SCOSidecar
}
ConnectionConfig provides extended options for RunConnectionWithPathEx.
Click to show internal directories.
Click to hide internal directories.