a2a

package
v1.168.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 51 Imported by: 1 module, 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, agentFilename, agentName, sessionDB string, runConfig *config.RuntimeConfig, ln net.Listener, options RunOptions) error

Types

type RunOptions added in v1.126.0

type RunOptions struct {
	CLISafety      session.SafetyPolicy
	OnSafetyPolicy func(servesafety.Resolved)
	AuthToken      string
	CORSOrigin     string
	// PushAllowPrivateNetworks disables the SSRF guard on the push-notification
	// sender so webhooks resolving to loopback/private addresses are allowed.
	// Off by default (guard on, environment proxies ignored) per A2A spec
	// §13.2; enable only for trusted internal deployments or local testing.
	PushAllowPrivateNetworks bool
	// ToolApproval opts the server into out-of-band tool confirmation: a tool
	// call that would otherwise be denied in the non-interactive A2A session
	// instead parks the task in TASK_STATE_INPUT_REQUIRED until the client
	// replies with an approve/reject decision. Off by default.
	ToolApproval bool
	// contains filtered or unexported fields
}

Directories

Path Synopsis
Package a2astore provides SQLite-backed implementations of the A2A SDK's push.ConfigStore and taskstore.Store, so tasks and the webhooks registered for them survive an agent restart (the SDK defaults are in-memory).
Package a2astore provides SQLite-backed implementations of the A2A SDK's push.ConfigStore and taskstore.Store, so tasks and the webhooks registered for them survive an agent restart (the SDK defaults are in-memory).
Package pushsender delivers A2A push notifications to client webhooks.
Package pushsender delivers A2A push notifications to client webhooks.

Jump to

Keyboard shortcuts

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