webagent

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2026 License: AGPL-3.0 Imports: 29 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, option *cfg.Option, logger telemetry.Logger) error

func RunConnection

func RunConnection(ctx context.Context, serverURL, name string, reg *commands.CommandRegistry, bus *eventbus.Bus[agent.Event]) error

func RunConnectionRuntime

func RunConnectionRuntime(ctx context.Context, serverURL, name string, rt *runner.AgentRuntime) error

func RunConnectionWithPath added in v0.3.0

func RunConnectionWithPath(ctx context.Context, serverURL, wsPath, name string, reg *commands.CommandRegistry, bus *eventbus.Bus[agent.Event]) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL