Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
}
Source Files
¶
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. |
Click to show internal directories.
Click to hide internal directories.