Help us shape the future of Go! Take the 2026 Go Developer Survey

acpplatform

package
v0.4.45 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config, deps Deps) (agentkit.Platform, error)

New registers platform/acp: stdio ACP agent for editors and ACP clients.

Types

type Config

type Config struct {
	// AgentName is reported in initialize (default "agentkit").
	AgentName string `json:"agentName"`
	// AgentVersion is reported in initialize (default "0.1.0").
	AgentVersion string `json:"agentVersion"`
}

Config configures the ACP agent platform (stdio JSON-RPC).

type Deps

type Deps struct {
	Workspace workspace.Service `json:"workspace,omitempty"`
}

type Platform

type Platform struct {
	// contains filtered or unexported fields
}

Platform exposes AgentKit as an ACP agent over stdin/stdout.

func (*Platform) PermissionCapability

func (p *Platform) PermissionCapability() permission.Capability

func (*Platform) PlatformID

func (p *Platform) PlatformID() string

func (*Platform) Receive

func (p *Platform) Receive(ctx context.Context) (agentkit.MessageEvent, error)

func (*Platform) Send

func (p *Platform) Send(ctx context.Context, event agentkit.OutboundEvent) error

Jump to

Keyboard shortcuts

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