cmdagent

package
v0.182.6 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package cmdagent owns agent arguments and report presentation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(runtime shared.Runtime, deps Dependencies) *cobra.Command

func NewAwait

func NewAwait(runtime shared.Runtime, deps Dependencies) *cobra.Command

Types

type Dependencies

type Dependencies struct {
	agentrun.Operations
	ResolveRemote func(string) (agents.RemoteTarget, error)
	CallRemote    func(context.Context, agents.RemoteTarget, agents.RemoteRequest) (agents.RemoteResponse, error)
	ReadTaskFile  func(string) ([]byte, error)
	Discovery     func(*cobra.Command, string)
}

Jump to

Keyboard shortcuts

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