command

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package command wraps any CLI that takes a prompt and prints a reply, configured as an argv template. It covers agents that don't speak ACP.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(spec agent.Spec) (agent.Agent, error)

Types

type Agent

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

func (*Agent) Caps

func (a *Agent) Caps() agent.Caps

func (*Agent) Run

func (a *Agent) Run(ctx context.Context, req agent.Request, h agent.Handler) (agent.Result, error)

Jump to

Keyboard shortcuts

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