Documentation
¶
Index ¶
- func ContentFromBlocks(blocks []acpsdk.ContentBlock) []agent.Content
- func ContentToBlocks(input []agent.Content) []acpsdk.ContentBlock
- func NormalizeSessionRoots(cwd string, additionalDirectories []string) (string, []string, error)
- func ValidateMCPServers(servers []acpsdk.McpServer, capabilities acpsdk.McpCapabilities) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContentFromBlocks ¶ added in v0.10.3
func ContentFromBlocks(blocks []acpsdk.ContentBlock) []agent.Content
ContentFromBlocks converts supported ACP prompt blocks to Wingman content.
func ContentToBlocks ¶ added in v0.10.3
func ContentToBlocks(input []agent.Content) []acpsdk.ContentBlock
ContentToBlocks converts Wingman prompt content to ACP wire blocks.
func NormalizeSessionRoots ¶ added in v0.10.9
NormalizeSessionRoots validates ACP's absolute-path contract and returns a cleaned, de-duplicated set of additional roots that excludes cwd itself.
func ValidateMCPServers ¶ added in v0.12.0
func ValidateMCPServers(servers []acpsdk.McpServer, capabilities acpsdk.McpCapabilities) error
ValidateMCPServers checks the transport union and the fields needed to hand an ACP-provided server to an underlying agent. Stdio is part of baseline ACP; optional transports must be advertised through capabilities.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.